@swirls/cli 0.0.2 → 0.0.4
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/bash-complete.js +579 -1
- package/dist/cli.js +596 -1
- package/package.json +10 -10
- package/dist/chunk-E7IYMBSD.js +0 -1
- package/dist/chunk-LIZAQE7K.js +0 -1
- package/dist/chunk-PL5KWBVQ.js +0 -2
- package/dist/chunk-WT3YKOQJ.js +0 -1
- package/dist/create-project-ELA4VHQG.js +0 -1
- package/dist/generate-code-2LPT3ZI6.js +0 -73
- package/dist/implementation-QPK3NH6Y.js +0 -40
- package/dist/initialize-config-CQ27WZUI.js +0 -1
package/dist/bash-complete.js
CHANGED
|
@@ -1,3 +1,581 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
var e$=Object.create;var FB=Object.defineProperty;var t$=Object.getOwnPropertyDescriptor;var n$=Object.getOwnPropertyNames;var i$=Object.getPrototypeOf,r$=Object.prototype.hasOwnProperty;var Wi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var L=(e,t)=>()=>(e&&(t=e(e=0)),t);var un=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Co=(e,t)=>{for(var a in t)FB(e,a,{get:t[a],enumerable:!0})},a$=(e,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of n$(t))!r$.call(e,i)&&i!==a&&FB(e,i,{get:()=>t[i],enumerable:!(s=t$(t,i))||s.enumerable});return e};var It=(e,t,a)=>(a=e!=null?e$(i$(e)):{},a$(t||!e||!e.__esModule?FB(a,"default",{value:e,enumerable:!0}):a,e));var Bh={};Co(Bh,{install:()=>Z$,uninstall:()=>Y$});import P$ from"os";import J$ from"fs";import K$ from"path";function hN(e){return`# @stricli/auto-complete START [${e}]`}async function EN(e){let{os:t=P$,fs:a=J$,path:s=K$}=e;if(!e.process.env.SHELL?.includes("bash")){e.process.stderr.write(`Skipping bash as shell was not detected.
|
|
3
|
+
`);return}let i=t.homedir(),c=s.join(i,".bashrc"),d;try{d=(await a.promises.readFile(c)).toString().split(/\n/)}catch{e.process.stderr.write(`Expected to edit ~/.bashrc but file was not found.
|
|
4
|
+
`);return}return{install:async(E,C)=>{let I=hN(E),S=d.indexOf(I),T=`__${E}_complete`,z=[I,`${T}() { export COMP_LINE; COMPREPLY=( $(${C} $COMP_LINE) ); return 0; }`,`complete -o default -o nospace -F ${T} ${E}`,KB];if(S>=0){let O=d.indexOf(KB,S);d.splice(S,O-S+1,...z)}else d.push(...z);await a.promises.writeFile(c,d.join(`
|
|
5
|
+
`)),e.process.stdout.write("Restart bash shell or run `source ~/.bashrc` to load changes.\n")},uninstall:async E=>{let C=hN(E),I=d.indexOf(C);if(I>=0){let S=d.indexOf(KB,I);d.splice(I,S-I+1)}await a.promises.writeFile(c,d.join(`
|
|
6
|
+
`)),e.process.stdout.write("Restart bash shell or run `source ~/.bashrc` to load changes.\n")}}}async function Z$(e,t){e.bash&&await(await EN(this))?.install(t,e.bash)}async function Y$(e,t){e.bash&&await(await EN(this))?.uninstall(t)}var KB,_h=L(()=>{"use strict";KB="# @stricli/auto-complete END"});function V$(e){return e instanceof Error?e:new Error("Something went wrong")}async function wi(e,t,a){try{return{data:await e()}}catch(s){let i=a?.onException?.(s)??V$(s);return{failure:t(i)}}}var Df=L(()=>{"use strict"});var UN=un(Yt=>{"use strict";var XB=Symbol.for("react.transitional.element"),q$=Symbol.for("react.portal"),X$=Symbol.for("react.fragment"),W$=Symbol.for("react.strict_mode"),e8=Symbol.for("react.profiler"),t8=Symbol.for("react.consumer"),n8=Symbol.for("react.context"),i8=Symbol.for("react.forward_ref"),r8=Symbol.for("react.suspense"),a8=Symbol.for("react.memo"),DN=Symbol.for("react.lazy"),o8=Symbol.for("react.activity"),CN=Symbol.iterator;function s8(e){return e===null||typeof e!="object"?null:(e=CN&&e[CN]||e["@@iterator"],typeof e=="function"?e:null)}var QN={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},SN=Object.assign,bN={};function Vp(e,t,a){this.props=e,this.context=t,this.refs=bN,this.updater=a||QN}Vp.prototype.isReactComponent={};Vp.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Vp.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wN(){}wN.prototype=Vp.prototype;function WB(e,t,a){this.props=e,this.context=t,this.refs=bN,this.updater=a||QN}var e_=WB.prototype=new wN;e_.constructor=WB;SN(e_,Vp.prototype);e_.isPureReactComponent=!0;var IN=Array.isArray;function qB(){}var xi={H:null,A:null,T:null,S:null},xN=Object.prototype.hasOwnProperty;function t_(e,t,a){var s=a.ref;return{$$typeof:XB,type:e,key:t,ref:s!==void 0?s:null,props:a}}function l8(e,t){return t_(e.type,t,e.props)}function n_(e){return typeof e=="object"&&e!==null&&e.$$typeof===XB}function u8(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var BN=/\/+/g;function VB(e,t){return typeof e=="object"&&e!==null&&e.key!=null?u8(""+e.key):t.toString(36)}function c8(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(qB,qB):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Yp(e,t,a,s,i){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var d=!1;if(e===null)d=!0;else switch(c){case"bigint":case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case XB:case q$:d=!0;break;case DN:return d=e._init,Yp(d(e._payload),t,a,s,i)}}if(d)return i=i(e),d=s===""?"."+VB(e,0):s,IN(i)?(a="",d!=null&&(a=d.replace(BN,"$&/")+"/"),Yp(i,t,a,"",function(I){return I})):i!=null&&(n_(i)&&(i=l8(i,a+(i.key==null||e&&e.key===i.key?"":(""+i.key).replace(BN,"$&/")+"/")+d)),t.push(i)),1;d=0;var E=s===""?".":s+":";if(IN(e))for(var C=0;C<e.length;C++)s=e[C],c=E+VB(s,C),d+=Yp(s,t,a,c,i);else if(C=s8(e),typeof C=="function")for(e=C.call(e),C=0;!(s=e.next()).done;)s=s.value,c=E+VB(s,C++),d+=Yp(s,t,a,c,i);else if(c==="object"){if(typeof e.then=="function")return Yp(c8(e),t,a,s,i);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return d}function fv(e,t,a){if(e==null)return e;var s=[],i=0;return Yp(e,s,"","",function(c){return t.call(a,c,i++)}),s}function A8(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var _N=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},d8={map:fv,forEach:function(e,t,a){fv(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return fv(e,function(){t++}),t},toArray:function(e){return fv(e,function(t){return t})||[]},only:function(e){if(!n_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Yt.Activity=o8;Yt.Children=d8;Yt.Component=Vp;Yt.Fragment=X$;Yt.Profiler=e8;Yt.PureComponent=WB;Yt.StrictMode=W$;Yt.Suspense=r8;Yt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=xi;Yt.__COMPILER_RUNTIME={__proto__:null,c:function(e){return xi.H.useMemoCache(e)}};Yt.cache=function(e){return function(){return e.apply(null,arguments)}};Yt.cacheSignal=function(){return null};Yt.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var s=SN({},e.props),i=e.key;if(t!=null)for(c in t.key!==void 0&&(i=""+t.key),t)!xN.call(t,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&t.ref===void 0||(s[c]=t[c]);var c=arguments.length-2;if(c===1)s.children=a;else if(1<c){for(var d=Array(c),E=0;E<c;E++)d[E]=arguments[E+2];s.children=d}return t_(e.type,i,s)};Yt.createContext=function(e){return e={$$typeof:n8,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:t8,_context:e},e};Yt.createElement=function(e,t,a){var s,i={},c=null;if(t!=null)for(s in t.key!==void 0&&(c=""+t.key),t)xN.call(t,s)&&s!=="key"&&s!=="__self"&&s!=="__source"&&(i[s]=t[s]);var d=arguments.length-2;if(d===1)i.children=a;else if(1<d){for(var E=Array(d),C=0;C<d;C++)E[C]=arguments[C+2];i.children=E}if(e&&e.defaultProps)for(s in d=e.defaultProps,d)i[s]===void 0&&(i[s]=d[s]);return t_(e,c,i)};Yt.createRef=function(){return{current:null}};Yt.forwardRef=function(e){return{$$typeof:i8,render:e}};Yt.isValidElement=n_;Yt.lazy=function(e){return{$$typeof:DN,_payload:{_status:-1,_result:e},_init:A8}};Yt.memo=function(e,t){return{$$typeof:a8,type:e,compare:t===void 0?null:t}};Yt.startTransition=function(e){var t=xi.T,a={};xi.T=a;try{var s=e(),i=xi.S;i!==null&&i(a,s),typeof s=="object"&&s!==null&&typeof s.then=="function"&&s.then(qB,_N)}catch(c){_N(c)}finally{t!==null&&a.types!==null&&(t.types=a.types),xi.T=t}};Yt.unstable_useCacheRefresh=function(){return xi.H.useCacheRefresh()};Yt.use=function(e){return xi.H.use(e)};Yt.useActionState=function(e,t,a){return xi.H.useActionState(e,t,a)};Yt.useCallback=function(e,t){return xi.H.useCallback(e,t)};Yt.useContext=function(e){return xi.H.useContext(e)};Yt.useDebugValue=function(){};Yt.useDeferredValue=function(e,t){return xi.H.useDeferredValue(e,t)};Yt.useEffect=function(e,t){return xi.H.useEffect(e,t)};Yt.useEffectEvent=function(e){return xi.H.useEffectEvent(e)};Yt.useId=function(){return xi.H.useId()};Yt.useImperativeHandle=function(e,t,a){return xi.H.useImperativeHandle(e,t,a)};Yt.useInsertionEffect=function(e,t){return xi.H.useInsertionEffect(e,t)};Yt.useLayoutEffect=function(e,t){return xi.H.useLayoutEffect(e,t)};Yt.useMemo=function(e,t){return xi.H.useMemo(e,t)};Yt.useOptimistic=function(e,t){return xi.H.useOptimistic(e,t)};Yt.useReducer=function(e,t,a){return xi.H.useReducer(e,t,a)};Yt.useRef=function(e){return xi.H.useRef(e)};Yt.useState=function(e){return xi.H.useState(e)};Yt.useSyncExternalStore=function(e,t,a){return xi.H.useSyncExternalStore(e,t,a)};Yt.useTransition=function(){return xi.H.useTransition()};Yt.version="19.2.1"});var NN=un((Lt,pv)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(x,V){Object.defineProperty(s.prototype,x,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",V[0],V[1])}})}function t(x){return x===null||typeof x!="object"?null:(x=Pn&&x[Pn]||x["@@iterator"],typeof x=="function"?x:null)}function a(x,V){x=(x=x.constructor)&&(x.displayName||x.name)||"ReactClass";var Qe=x+"."+V;Nt[Qe]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",V,x),Nt[Qe]=!0)}function s(x,V,Qe){this.props=x,this.context=V,this.refs=ft,this.updater=Qe||er}function i(){}function c(x,V,Qe){this.props=x,this.context=V,this.refs=ft,this.updater=Qe||er}function d(){}function E(x){return""+x}function C(x){try{E(x);var V=!1}catch{V=!0}if(V){V=console;var Qe=V.error,He=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return Qe.call(V,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",He),E(x)}}function I(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===Ji?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case xe:return"Fragment";case oe:return"Profiler";case ut:return"StrictMode";case Jt:return"Suspense";case Qn:return"SuspenseList";case yt:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case Ce:return"Portal";case dt:return x.displayName||"Context";case De:return(x._context.displayName||"Context")+".Consumer";case ct:var V=x.render;return x=x.displayName,x||(x=V.displayName||V.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Ht:return V=x.displayName||null,V!==null?V:I(x.type)||"Memo";case Fn:V=x._payload,x=x._init;try{return I(x(V))}catch{}}return null}function S(x){if(x===xe)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===Fn)return"<...>";try{var V=I(x);return V?"<"+V+">":"<...>"}catch{return"<...>"}}function T(){var x=We.A;return x===null?null:x.getOwner()}function z(){return Error("react-stack-top-frame")}function O(x){if(zr.call(x,"key")){var V=Object.getOwnPropertyDescriptor(x,"key").get;if(V&&V.isReactWarning)return!1}return x.key!==void 0}function j(x,V){function Qe(){di||(di=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",V))}Qe.isReactWarning=!0,Object.defineProperty(x,"key",{get:Qe,configurable:!0})}function q(){var x=I(this.type);return tr[x]||(tr[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function Y(x,V,Qe,He,nt,st){var vt=Qe.ref;return x={$$typeof:Ze,type:x,key:V,props:Qe,_owner:He},(vt!==void 0?vt:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:q}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:nt}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:st}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function re(x,V){return V=Y(x.type,V,x.props,x._owner,x._debugStack,x._debugTask),x._store&&(V._store.validated=x._store.validated),V}function ve(x){be(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===Fn&&(x._payload.status==="fulfilled"?be(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function be(x){return typeof x=="object"&&x!==null&&x.$$typeof===Ze}function ge(x){var V={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(Qe){return V[Qe]})}function $e(x,V){return typeof x=="object"&&x!==null&&x.key!=null?(C(x.key),ge(""+x.key)):V.toString(36)}function mt(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(d,d):(x.status="pending",x.then(function(V){x.status==="pending"&&(x.status="fulfilled",x.value=V)},function(V){x.status==="pending"&&(x.status="rejected",x.reason=V)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function at(x,V,Qe,He,nt){var st=typeof x;(st==="undefined"||st==="boolean")&&(x=null);var vt=!1;if(x===null)vt=!0;else switch(st){case"bigint":case"string":case"number":vt=!0;break;case"object":switch(x.$$typeof){case Ze:case Ce:vt=!0;break;case Fn:return vt=x._init,at(vt(x._payload),V,Qe,He,nt)}}if(vt){vt=x,nt=nt(vt);var Bt=He===""?"."+$e(vt,0):He;return Sr(nt)?(Qe="",Bt!=null&&(Qe=Bt.replace(Wr,"$&/")+"/"),at(nt,V,Qe,"",function(yi){return yi})):nt!=null&&(be(nt)&&(nt.key!=null&&(vt&&vt.key===nt.key||C(nt.key)),Qe=re(nt,Qe+(nt.key==null||vt&&vt.key===nt.key?"":(""+nt.key).replace(Wr,"$&/")+"/")+Bt),He!==""&&vt!=null&&be(vt)&&vt.key==null&&vt._store&&!vt._store.validated&&(Qe._store.validated=2),nt=Qe),V.push(nt)),1}if(vt=0,Bt=He===""?".":He+":",Sr(x))for(var Rt=0;Rt<x.length;Rt++)He=x[Rt],st=Bt+$e(He,Rt),vt+=at(He,V,Qe,st,nt);else if(Rt=t(x),typeof Rt=="function")for(Rt===x.entries&&(Ui||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ui=!0),x=Rt.call(x),Rt=0;!(He=x.next()).done;)He=He.value,st=Bt+$e(He,Rt++),vt+=at(He,V,Qe,st,nt);else if(st==="object"){if(typeof x.then=="function")return at(mt(x),V,Qe,He,nt);throw V=String(x),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return vt}function Re(x,V,Qe){if(x==null)return x;var He=[],nt=0;return at(x,He,"","",function(st){return V.call(Qe,st,nt++)}),He}function et(x){if(x._status===-1){var V=x._ioInfo;V!=null&&(V.start=V.end=performance.now()),V=x._result;var Qe=V();if(Qe.then(function(nt){if(x._status===0||x._status===-1){x._status=1,x._result=nt;var st=x._ioInfo;st!=null&&(st.end=performance.now()),Qe.status===void 0&&(Qe.status="fulfilled",Qe.value=nt)}},function(nt){if(x._status===0||x._status===-1){x._status=2,x._result=nt;var st=x._ioInfo;st!=null&&(st.end=performance.now()),Qe.status===void 0&&(Qe.status="rejected",Qe.reason=nt)}}),V=x._ioInfo,V!=null){V.value=Qe;var He=Qe.displayName;typeof He=="string"&&(V.name=He)}x._status===-1&&(x._status=0,x._result=Qe)}if(x._status===1)return V=x._result,V===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
10
|
+
|
|
11
|
+
Did you accidentally put curly braces around the import?`,V),"default"in V||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
12
|
+
|
|
13
|
+
Your code should look like:
|
|
14
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,V),V.default;throw x._result}function St(){var x=We.H;return x===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
15
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
16
|
+
2. You might be breaking the Rules of Hooks
|
|
17
|
+
3. You might have more than one copy of React in the same app
|
|
18
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function $t(){We.asyncTransitions--}function Ct(x){if(ha===null)try{var V=("require"+Math.random()).slice(0,7);ha=(pv&&pv[V]).call(pv,"timers").setImmediate}catch{ha=function(He){Mr===!1&&(Mr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var nt=new MessageChannel;nt.port1.onmessage=He,nt.port2.postMessage(void 0)}}return ha(x)}function In(x){return 1<x.length&&typeof AggregateError=="function"?new AggregateError(x):x[0]}function Qi(x,V){V!==ea-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ea=V}function ye(x,V,Qe){var He=We.actQueue;if(He!==null)if(He.length!==0)try{ht(He),Ct(function(){return ye(x,V,Qe)});return}catch(nt){We.thrownErrors.push(nt)}else We.actQueue=null;0<We.thrownErrors.length?(He=In(We.thrownErrors),We.thrownErrors.length=0,Qe(He)):V(x)}function ht(x){if(!mr){mr=!0;var V=0;try{for(;V<x.length;V++){var Qe=x[V];do{We.didUsePromise=!1;var He=Qe(!1);if(He!==null){if(We.didUsePromise){x[V]=Qe,x.splice(0,V);return}Qe=He}else break}while(!0)}x.length=0}catch(nt){x.splice(0,V+1),We.thrownErrors.push(nt)}finally{mr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ze=Symbol.for("react.transitional.element"),Ce=Symbol.for("react.portal"),xe=Symbol.for("react.fragment"),ut=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),De=Symbol.for("react.consumer"),dt=Symbol.for("react.context"),ct=Symbol.for("react.forward_ref"),Jt=Symbol.for("react.suspense"),Qn=Symbol.for("react.suspense_list"),Ht=Symbol.for("react.memo"),Fn=Symbol.for("react.lazy"),yt=Symbol.for("react.activity"),Pn=Symbol.iterator,Nt={},er={isMounted:function(){return!1},enqueueForceUpdate:function(x){a(x,"forceUpdate")},enqueueReplaceState:function(x){a(x,"replaceState")},enqueueSetState:function(x){a(x,"setState")}},Ai=Object.assign,ft={};Object.freeze(ft),s.prototype.isReactComponent={},s.prototype.setState=function(x,V){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,V,"setState")},s.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};var Vt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Er in Vt)Vt.hasOwnProperty(Er)&&e(Er,Vt[Er]);i.prototype=s.prototype,Vt=c.prototype=new i,Vt.constructor=c,Ai(Vt,s.prototype),Vt.isPureReactComponent=!0;var Sr=Array.isArray,Ji=Symbol.for("react.client.reference"),We={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},zr=Object.prototype.hasOwnProperty,Ki=console.createTask?console.createTask:function(){return null};Vt={react_stack_bottom_frame:function(x){return x()}};var di,Ei,tr={},to=Vt.react_stack_bottom_frame.bind(Vt,z)(),no=Ki(S(z)),Ui=!1,Wr=/\/+/g,Zi=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Mr=!1,ha=null,ea=0,br=!1,mr=!1,hr=typeof queueMicrotask=="function"?function(x){queueMicrotask(function(){return queueMicrotask(x)})}:Ct;Vt=Object.freeze({__proto__:null,c:function(x){return St().useMemoCache(x)}});var Er={map:Re,forEach:function(x,V,Qe){Re(x,function(){V.apply(this,arguments)},Qe)},count:function(x){var V=0;return Re(x,function(){V++}),V},toArray:function(x){return Re(x,function(V){return V})||[]},only:function(x){if(!be(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};Lt.Activity=yt,Lt.Children=Er,Lt.Component=s,Lt.Fragment=xe,Lt.Profiler=oe,Lt.PureComponent=c,Lt.StrictMode=ut,Lt.Suspense=Jt,Lt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=We,Lt.__COMPILER_RUNTIME=Vt,Lt.act=function(x){var V=We.actQueue,Qe=ea;ea++;var He=We.actQueue=V!==null?V:[],nt=!1;try{var st=x()}catch(Rt){We.thrownErrors.push(Rt)}if(0<We.thrownErrors.length)throw Qi(V,Qe),x=In(We.thrownErrors),We.thrownErrors.length=0,x;if(st!==null&&typeof st=="object"&&typeof st.then=="function"){var vt=st;return hr(function(){nt||br||(br=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(Rt,yi){nt=!0,vt.then(function(Yi){if(Qi(V,Qe),Qe===0){try{ht(He),Ct(function(){return ye(Yi,Rt,yi)})}catch(Gt){We.thrownErrors.push(Gt)}if(0<We.thrownErrors.length){var Qo=In(We.thrownErrors);We.thrownErrors.length=0,yi(Qo)}}else Rt(Yi)},function(Yi){Qi(V,Qe),0<We.thrownErrors.length&&(Yi=In(We.thrownErrors),We.thrownErrors.length=0),yi(Yi)})}}}var Bt=st;if(Qi(V,Qe),Qe===0&&(ht(He),He.length!==0&&hr(function(){nt||br||(br=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),We.actQueue=null),0<We.thrownErrors.length)throw x=In(We.thrownErrors),We.thrownErrors.length=0,x;return{then:function(Rt,yi){nt=!0,Qe===0?(We.actQueue=He,Ct(function(){return ye(Bt,Rt,yi)})):Rt(Bt)}}},Lt.cache=function(x){return function(){return x.apply(null,arguments)}},Lt.cacheSignal=function(){return null},Lt.captureOwnerStack=function(){var x=We.getCurrentStack;return x===null?null:x()},Lt.cloneElement=function(x,V,Qe){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var He=Ai({},x.props),nt=x.key,st=x._owner;if(V!=null){var vt;e:{if(zr.call(V,"ref")&&(vt=Object.getOwnPropertyDescriptor(V,"ref").get)&&vt.isReactWarning){vt=!1;break e}vt=V.ref!==void 0}vt&&(st=T()),O(V)&&(C(V.key),nt=""+V.key);for(Bt in V)!zr.call(V,Bt)||Bt==="key"||Bt==="__self"||Bt==="__source"||Bt==="ref"&&V.ref===void 0||(He[Bt]=V[Bt])}var Bt=arguments.length-2;if(Bt===1)He.children=Qe;else if(1<Bt){vt=Array(Bt);for(var Rt=0;Rt<Bt;Rt++)vt[Rt]=arguments[Rt+2];He.children=vt}for(He=Y(x.type,nt,He,st,x._debugStack,x._debugTask),nt=2;nt<arguments.length;nt++)ve(arguments[nt]);return He},Lt.createContext=function(x){return x={$$typeof:dt,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:De,_context:x},x._currentRenderer=null,x._currentRenderer2=null,x},Lt.createElement=function(x,V,Qe){for(var He=2;He<arguments.length;He++)ve(arguments[He]);He={};var nt=null;if(V!=null)for(Rt in Ei||!("__self"in V)||"key"in V||(Ei=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),O(V)&&(C(V.key),nt=""+V.key),V)zr.call(V,Rt)&&Rt!=="key"&&Rt!=="__self"&&Rt!=="__source"&&(He[Rt]=V[Rt]);var st=arguments.length-2;if(st===1)He.children=Qe;else if(1<st){for(var vt=Array(st),Bt=0;Bt<st;Bt++)vt[Bt]=arguments[Bt+2];Object.freeze&&Object.freeze(vt),He.children=vt}if(x&&x.defaultProps)for(Rt in st=x.defaultProps,st)He[Rt]===void 0&&(He[Rt]=st[Rt]);nt&&j(He,typeof x=="function"?x.displayName||x.name||"Unknown":x);var Rt=1e4>We.recentlyCreatedOwnerStacks++;return Y(x,nt,He,T(),Rt?Error("react-stack-top-frame"):to,Rt?Ki(S(x)):no)},Lt.createRef=function(){var x={current:null};return Object.seal(x),x},Lt.forwardRef=function(x){x!=null&&x.$$typeof===Ht?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?console.error("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&x.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var V={$$typeof:ct,render:x},Qe;return Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return Qe},set:function(He){Qe=He,x.name||x.displayName||(Object.defineProperty(x,"name",{value:He}),x.displayName=He)}}),V},Lt.isValidElement=be,Lt.lazy=function(x){x={_status:-1,_result:x};var V={$$typeof:Fn,_payload:x,_init:et},Qe={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return x._ioInfo=Qe,V._debugInfo=[{awaited:Qe}],V},Lt.memo=function(x,V){x==null&&console.error("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x),V={$$typeof:Ht,type:x,compare:V===void 0?null:V};var Qe;return Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return Qe},set:function(He){Qe=He,x.name||x.displayName||(Object.defineProperty(x,"name",{value:He}),x.displayName=He)}}),V},Lt.startTransition=function(x){var V=We.T,Qe={};Qe._updatedFibers=new Set,We.T=Qe;try{var He=x(),nt=We.S;nt!==null&&nt(Qe,He),typeof He=="object"&&He!==null&&typeof He.then=="function"&&(We.asyncTransitions++,He.then($t,$t),He.then(d,Zi))}catch(st){Zi(st)}finally{V===null&&Qe._updatedFibers&&(x=Qe._updatedFibers.size,Qe._updatedFibers.clear(),10<x&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),V!==null&&Qe.types!==null&&(V.types!==null&&V.types!==Qe.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),V.types=Qe.types),We.T=V}},Lt.unstable_useCacheRefresh=function(){return St().useCacheRefresh()},Lt.use=function(x){return St().use(x)},Lt.useActionState=function(x,V,Qe){return St().useActionState(x,V,Qe)},Lt.useCallback=function(x,V){return St().useCallback(x,V)},Lt.useContext=function(x){var V=St();return x.$$typeof===De&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),V.useContext(x)},Lt.useDebugValue=function(x,V){return St().useDebugValue(x,V)},Lt.useDeferredValue=function(x,V){return St().useDeferredValue(x,V)},Lt.useEffect=function(x,V){return x==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),St().useEffect(x,V)},Lt.useEffectEvent=function(x){return St().useEffectEvent(x)},Lt.useId=function(){return St().useId()},Lt.useImperativeHandle=function(x,V,Qe){return St().useImperativeHandle(x,V,Qe)},Lt.useInsertionEffect=function(x,V){return x==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),St().useInsertionEffect(x,V)},Lt.useLayoutEffect=function(x,V){return x==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),St().useLayoutEffect(x,V)},Lt.useMemo=function(x,V){return St().useMemo(x,V)},Lt.useOptimistic=function(x,V){return St().useOptimistic(x,V)},Lt.useReducer=function(x,V,Qe){return St().useReducer(x,V,Qe)},Lt.useRef=function(x){return St().useRef(x)},Lt.useState=function(x){return St().useState(x)},Lt.useSyncExternalStore=function(x,V,Qe){return St().useSyncExternalStore(x,V,Qe)},Lt.useTransition=function(){return St().useTransition()},Lt.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Mn=un((z9,i_)=>{"use strict";process.env.NODE_ENV==="production"?i_.exports=UN():i_.exports=NN()});function RN(e,t,{signal:a,edges:s}={}){let i,c=null,d=s!=null&&s.includes("leading"),E=s==null||s.includes("trailing"),C=()=>{c!==null&&(e.apply(i,c),i=void 0,c=null)},I=()=>{E&&C(),O()},S=null,T=()=>{S!=null&&clearTimeout(S),S=setTimeout(()=>{S=null,I()},t)},z=()=>{S!==null&&(clearTimeout(S),S=null)},O=()=>{z(),i=void 0,c=null},j=()=>{C()},q=function(...Y){if(a?.aborted)return;i=this,c=Y;let re=S==null;T(),d&&re&&C()};return q.schedule=T,q.cancel=O,q.flush=j,a?.addEventListener("abort",O,{once:!0}),q}var TN=L(()=>{"use strict"});function ON(e,t=0,a={}){typeof a!="object"&&(a={});let{leading:s=!1,trailing:i=!0,maxWait:c}=a,d=Array(2);s&&(d[0]="leading"),i&&(d[1]="trailing");let E,C=null,I=RN(function(...z){E=e.apply(this,z),C=null},t,{edges:d}),S=function(...z){return c!=null&&(C===null&&(C=Date.now()),Date.now()-C>=c)?(E=e.apply(this,z),C=Date.now(),I.cancel(),I.schedule(),E):(I.apply(this,z),E)},T=()=>(I.flush(),E);return S.cancel=I.cancel,S.flush=T,S}var kN=L(()=>{"use strict";TN()});function gv(e,t=0,a={}){let{leading:s=!0,trailing:i=!0}=a;return ON(e,t,{leading:s,maxWait:t,trailing:i})}var FN=L(()=>{"use strict";kN()});var zN=L(()=>{"use strict";FN()});var qp,J9,K9,Z9,Y9,V9,q9,X9,W9,e7,Dh,t7,n7,i7,r7,a7,MN=L(()=>{"use strict";qp=globalThis.window?.document!==void 0,J9=globalThis.process?.versions?.node!==void 0,K9=globalThis.process?.versions?.bun!==void 0,Z9=globalThis.Deno?.version?.deno!==void 0,Y9=globalThis.process?.versions?.electron!==void 0,V9=globalThis.navigator?.userAgent?.includes("jsdom")===!0,q9=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,X9=typeof DedicatedWorkerGlobalScope<"u"&&globalThis instanceof DedicatedWorkerGlobalScope,W9=typeof SharedWorkerGlobalScope<"u"&&globalThis instanceof SharedWorkerGlobalScope,e7=typeof ServiceWorkerGlobalScope<"u"&&globalThis instanceof ServiceWorkerGlobalScope,Dh=globalThis.navigator?.userAgentData?.platform,t7=Dh==="macOS"||globalThis.navigator?.platform==="MacIntel"||globalThis.navigator?.userAgent?.includes(" Mac ")===!0||globalThis.process?.platform==="darwin",n7=Dh==="Windows"||globalThis.navigator?.platform==="Win32"||globalThis.process?.platform==="win32",i7=Dh==="Linux"||globalThis.navigator?.platform?.startsWith("Linux")===!0||globalThis.navigator?.userAgent?.includes(" Linux ")===!0||globalThis.process?.platform==="linux",r7=Dh==="iOS"||globalThis.navigator?.platform==="MacIntel"&&globalThis.navigator?.maxTouchPoints>1||/iPad|iPhone|iPod/.test(globalThis.navigator?.platform),a7=Dh==="Android"||globalThis.navigator?.platform==="Android"||globalThis.navigator?.userAgent?.includes(" Android ")===!0||globalThis.process?.platform==="android"});var qc={};Co(qc,{ConEmu:()=>PN,beep:()=>$8,clearScreen:()=>O8,clearTerminal:()=>z8,clearViewport:()=>k8,cursorBackward:()=>v8,cursorDown:()=>E8,cursorForward:()=>y8,cursorGetPosition:()=>B8,cursorHide:()=>Q8,cursorLeft:()=>HN,cursorMove:()=>h8,cursorNextLine:()=>_8,cursorPrevLine:()=>D8,cursorRestorePosition:()=>I8,cursorSavePosition:()=>C8,cursorShow:()=>S8,cursorTo:()=>m8,cursorUp:()=>$N,enterAlternativeScreen:()=>M8,eraseDown:()=>U8,eraseEndLine:()=>w8,eraseLine:()=>GN,eraseLines:()=>b8,eraseScreen:()=>mv,eraseStartLine:()=>x8,eraseUp:()=>N8,exitAlternativeScreen:()=>L8,iTerm:()=>jN,image:()=>G8,link:()=>H8,scrollDown:()=>T8,scrollUp:()=>R8,setCwd:()=>j8});import Xp from"process";import f8 from"os";var Ln,Wp,Qf,Qh,LN,p8,g8,r_,eg,m8,h8,$N,E8,y8,v8,HN,C8,I8,B8,_8,D8,Q8,S8,b8,w8,x8,GN,U8,N8,mv,R8,T8,O8,k8,F8,z8,M8,L8,$8,H8,G8,jN,PN,j8,a_=L(()=>{"use strict";MN();Ln="\x1B[",Wp="\x1B]",Qf="\x07",Qh=";",LN=!qp&&Xp.env.TERM_PROGRAM==="Apple_Terminal",p8=!qp&&Xp.platform==="win32",g8=!qp&&(Xp.env.TERM?.startsWith("screen")||Xp.env.TERM?.startsWith("tmux")||Xp.env.TMUX!==void 0),r_=qp?()=>{throw new Error("`process.cwd()` only works in Node.js, not the browser.")}:Xp.cwd,eg=e=>g8?"\x1BPtmux;"+e.replaceAll("\x1B","\x1B\x1B")+"\x1B\\":e,m8=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");return typeof t!="number"?Ln+(e+1)+"G":Ln+(t+1)+Qh+(e+1)+"H"},h8=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");let a="";return e<0?a+=Ln+-e+"D":e>0&&(a+=Ln+e+"C"),t<0?a+=Ln+-t+"A":t>0&&(a+=Ln+t+"B"),a},$N=(e=1)=>Ln+e+"A",E8=(e=1)=>Ln+e+"B",y8=(e=1)=>Ln+e+"C",v8=(e=1)=>Ln+e+"D",HN=Ln+"G",C8=LN?"\x1B7":Ln+"s",I8=LN?"\x1B8":Ln+"u",B8=Ln+"6n",_8=Ln+"E",D8=Ln+"F",Q8=Ln+"?25l",S8=Ln+"?25h",b8=e=>{let t="";for(let a=0;a<e;a++)t+=GN+(a<e-1?$N():"");return e&&(t+=HN),t},w8=Ln+"K",x8=Ln+"1K",GN=Ln+"2K",U8=Ln+"J",N8=Ln+"1J",mv=Ln+"2J",R8=Ln+"S",T8=Ln+"T",O8="\x1Bc",k8=`${mv}${Ln}H`,F8=()=>{if(qp||!p8)return!1;let e=f8.release().split("."),t=Number(e[0]),a=Number(e[2]??0);return t<10||t===10&&a<10586},z8=F8()?`${mv}${Ln}0f`:`${mv}${Ln}3J${Ln}H`,M8=Ln+"?1049h",L8=Ln+"?1049l",$8=Qf,H8=(e,t)=>{let a=eg(`${Wp}8${Qh}${Qh}${t}${Qf}`),s=eg(`${Wp}8${Qh}${Qh}${Qf}`);return a+e+s},G8=(e,t={})=>{let a=`${Wp}1337;File=inline=1`;t.width&&(a+=`;width=${t.width}`),t.height&&(a+=`;height=${t.height}`),t.preserveAspectRatio===!1&&(a+=";preserveAspectRatio=0");let s=Buffer.from(e);return eg(a+`;size=${s.byteLength}:`+s.toString("base64")+Qf)},jN={setCwd:(e=r_())=>eg(`${Wp}50;CurrentDir=${e}${Qf}`),annotation(e,t={}){let a=`${Wp}1337;`,s=t.x!==void 0,i=t.y!==void 0;if((s||i)&&!(s&&i&&t.length!==void 0))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replaceAll("|",""),a+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?a+=(s?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):a+=e,eg(a+Qf)}},PN={setCwd:(e=r_())=>eg(`${Wp}9;9;${e}${Qf}`)},j8=(e=r_())=>jN.setCwd(e)+PN.setCwd(e)});var o_=L(()=>{"use strict";a_();a_()});import{env as s_}from"process";var JN,P8,Sf,KN=L(()=>{"use strict";JN=e=>e in s_&&s_[e]!=="0"&&s_[e]!=="false",P8=JN("CI")||JN("CONTINUOUS_INTEGRATION"),Sf=P8});function l_(e,{include:t,exclude:a}={}){let s=i=>{let c=d=>typeof d=="string"?i===d:d.test(i);return t?t.some(c):a?!a.some(c):!0};for(let[i,c]of J8(e.constructor.prototype)){if(c==="constructor"||!s(c))continue;let d=Reflect.getOwnPropertyDescriptor(i,c);d&&typeof d.value=="function"&&(e[c]=e[c].bind(e))}return e}var J8,ZN=L(()=>{"use strict";J8=e=>{let t=new Set;do for(let a of Reflect.ownKeys(e))t.add([e,a]);while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t}});var YN=un((g7,hv)=>{"use strict";hv.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&hv.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&hv.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var A_=un((m7,ig)=>{"use strict";var Mi=global.process,bf=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};bf(Mi)?(VN=Wi("assert"),tg=YN(),qN=/^win/i.test(Mi.platform),Sh=Wi("events"),typeof Sh!="function"&&(Sh=Sh.EventEmitter),Mi.__signal_exit_emitter__?ga=Mi.__signal_exit_emitter__:(ga=Mi.__signal_exit_emitter__=new Sh,ga.count=0,ga.emitted={}),ga.infinite||(ga.setMaxListeners(1/0),ga.infinite=!0),ig.exports=function(e,t){if(!bf(global.process))return function(){};VN.equal(typeof e,"function","a callback must be provided for exit handler"),ng===!1&&u_();var a="exit";t&&t.alwaysLast&&(a="afterexit");var s=function(){ga.removeListener(a,e),ga.listeners("exit").length===0&&ga.listeners("afterexit").length===0&&Ev()};return ga.on(a,e),s},Ev=function(){!ng||!bf(global.process)||(ng=!1,tg.forEach(function(t){try{Mi.removeListener(t,yv[t])}catch{}}),Mi.emit=vv,Mi.reallyExit=c_,ga.count-=1)},ig.exports.unload=Ev,wf=function(t,a,s){ga.emitted[t]||(ga.emitted[t]=!0,ga.emit(t,a,s))},yv={},tg.forEach(function(e){yv[e]=function(){if(bf(global.process)){var a=Mi.listeners(e);a.length===ga.count&&(Ev(),wf("exit",null,e),wf("afterexit",null,e),qN&&e==="SIGHUP"&&(e="SIGINT"),Mi.kill(Mi.pid,e))}}}),ig.exports.signals=function(){return tg},ng=!1,u_=function(){ng||!bf(global.process)||(ng=!0,ga.count+=1,tg=tg.filter(function(t){try{return Mi.on(t,yv[t]),!0}catch{return!1}}),Mi.emit=WN,Mi.reallyExit=XN)},ig.exports.load=u_,c_=Mi.reallyExit,XN=function(t){bf(global.process)&&(Mi.exitCode=t||0,wf("exit",Mi.exitCode,null),wf("afterexit",Mi.exitCode,null),c_.call(Mi,Mi.exitCode))},vv=Mi.emit,WN=function(t,a){if(t==="exit"&&bf(global.process)){a!==void 0&&(Mi.exitCode=a);var s=vv.apply(this,arguments);return wf("exit",Mi.exitCode,null),wf("afterexit",Mi.exitCode,null),s}else return vv.apply(this,arguments)}):ig.exports=function(){return function(){}};var VN,tg,qN,Sh,ga,Ev,wf,yv,ng,u_,c_,XN,vv,WN});import{PassThrough as eR}from"stream";var tR,d_,K8,nR,iR=L(()=>{"use strict";tR=["assert","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],d_={},K8=e=>{let t=new eR,a=new eR;t.write=i=>{e("stdout",i)},a.write=i=>{e("stderr",i)};let s=new console.Console(t,a);for(let i of tR)d_[i]=console[i],console[i]=s[i];return()=>{for(let i of tR)console[i]=d_[i];d_={}}},nR=K8});var rR=un(sd=>{"use strict";sd.ConcurrentRoot=1;sd.ContinuousEventPriority=8;sd.DefaultEventPriority=32;sd.DiscreteEventPriority=2;sd.IdleEventPriority=268435456;sd.LegacyRoot=0;sd.NoEventPriority=0});var aR=un(ld=>{"use strict";process.env.NODE_ENV!=="production"&&(ld.ConcurrentRoot=1,ld.ContinuousEventPriority=8,ld.DefaultEventPriority=32,ld.DiscreteEventPriority=2,ld.IdleEventPriority=268435456,ld.LegacyRoot=0,ld.NoEventPriority=0)});var p_=un((C7,f_)=>{"use strict";process.env.NODE_ENV==="production"?f_.exports=rR():f_.exports=aR()});var Z8,oR,sR=L(()=>{"use strict";Z8=(()=>{var e=import.meta.url;return(function(t){t=t||{};var a;a||(a=typeof t<"u"?t:{});var s,i;a.ready=new Promise(function(N,R){s=N,i=R});var c=Object.assign({},a),d="";typeof document<"u"&&document.currentScript&&(d=document.currentScript.src),e&&(d=e),d.indexOf("blob:")!==0?d=d.substr(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1):d="";var E=a.print||console.log.bind(console),C=a.printErr||console.warn.bind(console);Object.assign(a,c),c=null;var I;a.wasmBinary&&(I=a.wasmBinary);var S=a.noExitRuntime||!0;typeof WebAssembly!="object"&&ht("no native wasm support detected");var T,z=!1;function O(N,R,G){G=R+G;for(var J="";!(R>=G);){var ie=N[R++];if(!ie)break;if(ie&128){var me=N[R++]&63;if((ie&224)==192)J+=String.fromCharCode((ie&31)<<6|me);else{var we=N[R++]&63;ie=(ie&240)==224?(ie&15)<<12|me<<6|we:(ie&7)<<18|me<<12|we<<6|N[R++]&63,65536>ie?J+=String.fromCharCode(ie):(ie-=65536,J+=String.fromCharCode(55296|ie>>10,56320|ie&1023))}}else J+=String.fromCharCode(ie)}return J}var j,q,Y,re,ve,be,ge,$e,mt;function at(){var N=T.buffer;j=N,a.HEAP8=q=new Int8Array(N),a.HEAP16=re=new Int16Array(N),a.HEAP32=be=new Int32Array(N),a.HEAPU8=Y=new Uint8Array(N),a.HEAPU16=ve=new Uint16Array(N),a.HEAPU32=ge=new Uint32Array(N),a.HEAPF32=$e=new Float32Array(N),a.HEAPF64=mt=new Float64Array(N)}var Re,et=[],St=[],$t=[];function Ct(){var N=a.preRun.shift();et.unshift(N)}var In=0,Qi=null,ye=null;function ht(N){throw a.onAbort&&a.onAbort(N),N="Aborted("+N+")",C(N),z=!0,N=new WebAssembly.RuntimeError(N+". Build with -sASSERTIONS for more info."),i(N),N}function Ze(N){return N.startsWith("data:application/octet-stream;base64,")}var Ce;if(Ce="data:application/octet-stream;base64,AGFzbQEAAAABugM3YAF/AGACf38AYAF/AX9gA39/fwBgAn98AGACf38Bf2ADf39/AX9gBH9/f30BfWADf398AGAAAGAEf39/fwBgAX8BfGACf38BfGAFf39/f38Bf2AAAX9gA39/fwF9YAZ/f31/fX8AYAV/f39/fwBgAn9/AX1gBX9/f319AX1gAX8BfWADf35/AX5gB39/f39/f38AYAZ/f39/f38AYAR/f39/AX9gBn9/f319fQF9YAR/f31/AGADf399AX1gBn98f39/fwF/YAR/fHx/AGACf30AYAh/f39/f39/fwBgDX9/f39/f39/f39/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GokACAFC6EDAQh/AkAgACgC6AMiBSAAKALsAyIHRwRAA0AgACAFKAIAIgIoAuQDRwRAAkAgACgC9AMoAgAiAQRAIAIgACAGIAERBgAiAQ0BC0GIBBAeIgEgAigCEDYCECABIAIpAgg3AgggASACKQIANwIAIAFBFGogAkEUakHoABArGiABQgA3AoABIAFB/ABqIgNBADsBACABQgA3AogBIAFCADcCkAEgAyACQfwAahCgASABQZgBaiACQZgBakHQAhArGiABQQA2AvADIAFCADcC6AMgAigC7AMiAyACKALoAyIERwRAIAMgBGsiBEEASA0FIAEgBBAeIgM2AuwDIAEgAzYC6AMgASADIARqNgLwAyACKALoAyIEIAIoAuwDIghHBEADQCADIAQoAgA2AgAgA0EEaiEDIARBBGoiBCAIRw0ACwsgASADNgLsAwsgASACKQL0AzcC9AMgASACKAKEBDYChAQgASACKQL8AzcC/AMgAUEANgLkAwsgBSABNgIAIAEgADYC5AMLIAZBAWohBiAFQQRqIgUgB0cNAAsLDwsQAgALUAACQAJAAkACQAJAIAIOBAQAAQIDCyAAIAEgAUEwahBDDwsgACABIAFBMGogAxBEDwsgACABIAFBMGoQQg8LECQACyAAIAEgAUEwaiADEEULcAIBfwF9IwBBEGsiBCQAIARBCGogACABQQJ0QdwlaigCACACEDZDAADAfyEFAkACQAJAIAQtAAxBAWsOAgABAgsgBCoCCCEFDAELIAQqAgggA5RDCtcjPJQhBQsgBEEQaiQAIAVDAAAAACAFIAVbGwt5AgF/AX0jAEEQayIDJAAgA0EIaiAAIAFBAnRB7CVqKAIAIAIQU0MAAMB/IQQCQAJAAkAgAy0ADEEBaw4CAAECCyADKgIIIQQMAQsgAyoCCEMAAAAAlEMK1yM8lCEECyADQRBqJAAgBEMAAAAAl0MAAAAAIAQgBFsbC1QAAkACQAJAAkACQCACDgQEAAECAwsgACABIAFBwgBqEEMPCyAAIAEgAUHCAGogAxBEDwsgACABIAFBwgBqEEIPCxAkAAsgACABIAFBwgBqIAMQRQsvACAAIAJFQQF0IgIgASADEGAgACACI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CAAkcNBAsgASAEQQJ0QewlaigCAEECdGoiACoCvAMgCCAEIAMgBhBikiEGIAIoAvQDLQAUQQJxRQRAIAYgACoCzAOSIQYLAkACQCAEDgQBAQMAAgsgASoClAMgAioClAOTIQdBAiEDDAMLIAEqApgDIAIqApgDkyEHQQEhAwJAIAQOAgMAAQtBAyEDDAILECQACyABKgKUAyACKgKUA5MhB0EAIQMLIAIgA0ECdGogByAGkzgCnAMMAQsgBEECdEHcJWooAgAhACAIIAQgAyAGEEEgASAAQQJ0IgBqIgEqArwDkiEGIAAgAmogAigC9AMtABRBAnEEfSAGBSAGIAEqAswDkgs4ApwDCyAJQRBqJAALcAIBfwF9IwBBEGsiBCQAIARBCGogACABQQJ0QewlaigCACACEDZDAADAfyEFAkACQAJAIAQtAAxBAWsOAgABAgsgBCoCCCEFDAELIAQqAgggA5RDCtcjPJQhBQsgBEEQaiQAIAVDAAAAACAFIAVbGwscACAAIAFBCCACpyACQiCIpyADpyADQiCIpxAVCwUAEFgACzkAIABFBEBBAA8LAn8gAUGAf3FBgL8DRiABQf8ATXJFBEBB/DtBGTYCAEF/DAELIAAgAToAAEEBCwvEAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCABQQlrDhIACgsMCgsCAwQFDAsMDAoLBwgJCyACIAIoAgAiAUEEajYCACAAIAEoAgA2AgAPCwALIAIgAigCACIBQQRqNgIAIAAgATIBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATMBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATAAADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATEAADcDAA8LAAsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKwMAOQMADwsgACACIAMRAQALDwsgAiACKAIAIgFBBGo2AgAgACABNAIANwMADwsgAiACKAIAIgFBBGo2AgAgACABNQIANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKQMANwMAC84BAgN/An0jAEEQayIDJABBASEEIANBCGogAEH8AGoiBSAAIAFBAXRqQeg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CACCwQAQgALBABBAAuKBQIGfgJ/IAEgASgCAEEHakF4cSIBQRBqNgIAIAAhCSABKQMAIQMgASkDCCEGIwBBIGsiCCQAAkAgBkL///////////8AgyIEQoCAgICAgMCAPH0gBEKAgICAgIDA/8MAfVQEQCAGQgSGIANCPIiEIQQgA0L//////////w+DIgNCgYCAgICAgIAIWgRAIARCgYCAgICAgIDAAHwhAgwCCyAEQoCAgICAgICAQH0hAiADQoCAgICAgICACFINASACIARCAYN8IQIMAQsgA1AgBEKAgICAgIDA//8AVCAEQoCAgICAgMD//wBRG0UEQCAGQgSGIANCPIiEQv////////8Dg0KAgICAgICA/P8AhCECDAELQoCAgICAgID4/wAhAiAEQv///////7//wwBWDQBCACECIARCMIinIgBBkfcASQ0AIAMhAiAGQv///////z+DQoCAgICAgMAAhCIFIQcCQCAAQYH3AGsiAUHAAHEEQCACIAFBQGqthiEHQgAhAgwBCyABRQ0AIAcgAa0iBIYgAkHAACABa62IhCEHIAIgBIYhAgsgCCACNwMQIAggBzcDGAJAQYH4ACAAayIAQcAAcQRAIAUgAEFAaq2IIQNCACEFDAELIABFDQAgBUHAACAAa62GIAMgAK0iAoiEIQMgBSACiCEFCyAIIAM3AwAgCCAFNwMIIAgpAwhCBIYgCCkDACIDQjyIhCECIAgpAxAgCCkDGIRCAFKtIANC//////////8Pg4QiA0KBgICAgICAgAhaBEAgAkIBfCECDAELIANCgICAgICAgIAIUg0AIAJCAYMgAnwhAgsgCEEgaiQAIAkgAiAGQoCAgICAgICAgH+DhL85AwALmRgDEn8BfAN+IwBBsARrIgwkACAMQQA2AiwCQCABvSIZQgBTBEBBASERQZkJIRMgAZoiAb0hGQwBCyAEQYAQcQRAQQEhEUGcCSETDAELQZ8JQZoJIARBAXEiERshEyARRSEVCwJAIBlCgICAgICAgPj/AINCgICAgICAgPj/AFEEQCAAQSAgAiARQQNqIgMgBEH//3txECkgACATIBEQJiAAQe0VQdweIAVBIHEiBRtB4RpB4B4gBRsgASABYhtBAxAmIABBIC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8gASgCACAAaigCAAUgAAsRDAALNQEBfyABIAAoAgQiAkEBdWohASAAKAIAIQAgASACQQFxBH8gASgCACAAaigCAAUgAAsRCwALYQECfyMAQRBrIgIkACABIAAoAgQiA0EBdWohASAAKAIAIQAgAiABIANBAXEEfyABKAIAIABqKAIABSAACxEBAEEQEB4iACACKQMINwMIIAAgAikDADcDACACQRBqJAAgAAtjAQJ/IwBBEGsiAyQAIAEgACgCBCIEQQF1aiEBIAAoAgAhACADIAEgAiAEQQFxBH8gASgCACAAaigCAAUgAAsRAwBBEBAeIgAgAykDCDcDCCAAIAMpAwA3AwAgA0EQaiQAIAALNwEBfyABIAAoAgQiA0EBdWohASAAKAIAIQAgASACIANBAXEEfyABKAIAIABqKAIABSAACxEEAAs5AQF/IAEgACgCBCIEQQF1aiEBIAAoAgAhACABIAIgAyAEQQFxBH8gASgCACAAaigCAAUgAAsRCAALCQAgASAAEQIACwUAQcM7Cw8AIAEgACgCAGogAjYCAAsNACABIAAoAgBqKAIACxgBAX9BEBAeIgBCADcDCCAAQQA2AgAgAAsYAQF/QRAQHiIAQgA3AwAgAEIANwMIIAALDABBMBAeQQBBMBAqCzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRHgALBQBBvjsLIQAgACABKAIAIAEgASwAC0EASBtBuzsgAigCABAQNgIACyoBAX9BDBAeIgFBADoABCABIAAoAgA2AgggAEEANgIAIAFB2Cc2AgAgAQsFAEG7OwsFAEG4OwshACAAIAEoAgAgASABLAALQQBIG0GkOyACKAIAEBA2AgAL2AEBBH8jAEEgayIDJAAgASgCACIEQfD///8HSQRAAkACQCAEQQtPBEAgBEEPckEBaiIFEB4hBiADIAVBgICAgHhyNgIQIAMgBjYCCCADIAQ2AgwgBCAGaiEFDAELIAMgBDoAEyADQQhqIgYgBGohBSAERQ0BCyAGIAFBBGogBBArGgsgBUEAOgAAIAMgAjYCACADQRhqIANBCGogAyAAEQMAIAMoAhgQHSADKAIYIgAQBiADKAIAEAYgAywAE0EASARAIAMoAggQIwsgA0EgaiQAIAAPCxACAAsqAQF/QQwQHiIBQQA6AAQgASAAKAIANgIIIABBADYCACABQeAmNgIAIAELBQBBpDsLaQECfyMAQRBrIgYkACABIAAoAgQiB0EBdWohASAAKAIAIQAgBiABIAIgAyAEIAUgB0EBcQR/IAEoAgAgAGooAgAFIAALERAAQRAQHiIAIAYpAwg3AwggACAGKQMANwMAIAZBEGokACAACwUAQaA7Cx0AIAAoAgAiACAALQAAQfcBcUEIQQAgARtyOgAAC6oBAgJ/AX0jAEEQayICJAAgACgCACEAIAFB/wFxIgNBBkkEQAJ/AkACQAJAIANBBGsOAgABAgsgAEHUA2ogAC0AiANBA3FBAkYNAhogAEHMA2oMAgsgAEHMA2ogAC0AiANBA3FBAkYNARogAEHUA2oMAQsgACABQf8BcUECdGpBzANqCyoCACEEIAJBEGokACAEuw8LIAJB7hA2AgAgAEEFQdglIAIQLBAkAAuqAQICfwF9IwBBEGsiAiQAIAAoAgAhACABQf8BcSIDQQZJBEACfwJAAkACQCADQQRrDgIAAQILIABBxANqIAAtAIgDQQNxQQJGDQIaIABBvANqDAILIABBvANqIAAtAIgDQQNxQQJGDQEaIABBxANqDAELIAAgAUH/AXFBAnRqQbwDagsqAgAhBCACQRBqJAAgBLsPCyACQe4QNgIAIABBBUHYJSACECwQJAALqgECAn8BfSMAQRBrIgIkACAAKAIAIQAgAUH/AXEiA0EGSQRAAn8CQAJAAkAgA0EEaw4CAAECCyAAQbQDaiAALQCIA0EDcUECRg0CGiAAQawDagwCCyAAQawDaiAALQCIA0EDcUECRg0BGiAAQbQDagwBCyAAIAFB/wFxQQJ0akGsA2oLKgIAIQQgAkEQaiQAIAS7DwsgAkHuEDYCACAAQQVB2CUgAhAsECQAC08AIAAgASgCACIBKgKcA7s5AwAgACABKgKkA7s5AwggACABKgKgA7s5AxAgACABKgKoA7s5AxggACABKgKMA7s5AyAgACABKgKQA7s5AygLDAAgACgCACoCkA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ggiCiACKgIAIgtcBH8gCiAKWw0DIAsgC1wFIAMLRQ0CIAItAAwgAi0ABEcNAgsgAEECaiEAQQEhAyAEIQZBASEEIAZFDQALIAVB9gBqIQAgAUH2AGohCUEAIQRBACEDA0ACQCAJIANBAXRqLwAAIgZBB3FFBEAgAC0AAEEHcUUNAQsgAkEIaiAIIAYQHyACIAcgAC8AABAfQQEhAyACKgIIIgogAioCACILXAR/IAogClsNAyALIAtcBSADC0UNAiACLQAMIAItAARHDQILIABBAmohAEEBIQMgBCEGQQEhBCAGRQ0ACyABLwB6IgBBB3FFBEAgBS0AekEHcUUNAgsgCCAAECAiCiAHIAUvAHoQICILWw0BIAogClsNACALIAtcDQELIAFBFGogBUEUakHoABArGiABQfwAaiAFQfwAahCgAQNAIAEtAAAiAEEEcQ0BIAEgAEEEcjoAACABKAIQIgAEQCABIAARAAALIAFBgICA/gc2ApwBIAEoAuQDIgENAAsLIAJBEGokAAvGAwEEfyMAQaAEayICJAAgACgCBCEBIABBADYCBCABBEAgASABKAIAKAIEEQAACyAAKAIIIQEgAEEANgIIIAEEQCABIAEoAgAoAgQRAAALAkAgACgCACIAKALoAyAAKALsA0YEQCAAKALkAw0BIAAgAkEYaiAAKAL0AxBcIgEpAgA3AgAgACABKAIQNgIQIAAgASkCCDcCCCAAQRRqIAFBFGpB6AAQKxogACABKQKMATcCjAEgACABKQKEATcChAEgACABKQJ8NwJ8IAEoApQBIQQgAUEANgKUASAAKAKUASEDIAAgBDYClAEgAwRAIAMQWwsgAEGYAWogAUGYAWpB0AIQKxogACgC6AMiAwRAIAAgAzYC7AMgAxAjCyAAIAEoAugDNgLoAyAAIAEoAuwDNgLsAyAAIAEoAvADNgLwAyABQQA2AvADIAFCADcC6AMgACABKQL8AzcC/AMgACABKQL0AzcC9AMgACABKAKEBDYChAQgASgClAEhACABQQA2ApQBIAAEQCAAEFsLIAJBoARqJAAPCyACQfAcNgIQIABBBUHYJSACQRBqECwQJAALIAJB5hE2AgAgAEEFQdglIAI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AAAAANQdAADEHQAA4h0AAOIdAADbHQAAdmlpZGRpAADBHQAAxR0AQcArC0EZAAoAGRkZAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABkAEQoZGRkDCgcAAQAJCxgAAAkGCwAACwAGGQAAABkZGQBBkSwLIQ4AAAAAAAAAABkACg0ZGRkADQAAAgAJDgAAAAkADgAADgBByywLAQwAQdcsCxUTAAAAABMAAAAACQwAAAAAAAwAAAwAQYUtCwEQAEGRLQsVDwAAAAQPAAAAAAkQAAAAAAAQAAAQAEG/LQsBEgBByy0LHhEAAAAAEQAAAAAJEgAAAAAAEgAAEgAAGgAAABoaGgBBgi4LDhoAAAAaGhoAAAAAAAAJAEGzLgsBFABBvy4LFRcAAAAAFwAAAAAJFAAAAAAAFAAAFABB7S4LARYAQfkuCycVAAAAABUAAAAACRYAAAAAABYAABYAADAxMjM0NTY3ODlBQkNERUYAQcQvCwHSAEHsLwsI//////////8AQbAwCwkQIgEAAAAAAAUAQcQwCwHNAEHcMAsKzgAAAM8AAAD8HQBB9DALAQIAQYQxCwj//////////wBByDELAQUAQdQxCwHQAEHsMQsOzgAAANEAAAAIHgAAAAQAQYQyCwEBAEGUMgsF/////woAQdgyCwHT",!Ze(Ce)){var xe=Ce;Ce=a.locateFile?a.locateFile(xe,d):d+xe}function ut(){var N=Ce;try{if(N==Ce&&I)return new Uint8Array(I);if(Ze(N))try{var R=Wn(N.slice(37)),G=new Uint8Array(R.length);for(N=0;N<R.length;++N)G[N]=R.charCodeAt(N);var J=G}catch{throw Error("Converting base64 string to bytes failed.")}else J=void 0;var ie=J;if(ie)return ie;throw"both async and sync fetching of the wasm failed"}catch(me){ht(me)}}function oe(){return I||typeof fetch!="function"?Promise.resolve().then(function(){return ut()}):fetch(Ce,{credentials:"same-origin"}).then(function(N){if(!N.ok)throw"failed to load wasm binary file at '"+Ce+"'";return N.arrayBuffer()}).catch(function(){return ut()})}function De(N){for(;0<N.length;)N.shift()(a)}function dt(N){if(N===void 0)return"_unknown";N=N.replace(/[^a-zA-Z0-9_]/g,"$");var R=N.charCodeAt(0);return 48<=R&&57>=R?"_"+N:N}function ct(N,R){return N=dt(N),function(){return R.apply(this,arguments)}}var Jt=[{},{value:void 0},{value:null},{value:!0},{value:!1}],Qn=[];function Ht(N){var R=Error,G=ct(N,function(J){this.name=N,this.message=J,J=Error(J).stack,J!==void 0&&(this.stack=this.toString()+`
|
|
19
|
+
`+J.replace(/^Error(:[^\n]*)?\n/,""))});return G.prototype=Object.create(R.prototype),G.prototype.constructor=G,G.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},G}var Fn=void 0;function yt(N){throw new Fn(N)}var Pn=N=>(N||yt("Cannot use deleted val. handle = "+N),Jt[N].value),Nt=N=>{switch(N){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var R=Qn.length?Qn.pop():Jt.length;return Jt[R]={ga:1,value:N},R}},er=void 0,Ai=void 0;function ft(N){for(var R="";Y[N];)R+=Ai[Y[N++]];return R}var Vt=[];function Sr(){for(;Vt.length;){var N=Vt.pop();N.M.$=!1,N.delete()}}var Ji=void 0,We={};function zr(N,R){for(R===void 0&&yt("ptr should not be undefined");N.R;)R=N.ba(R),N=N.R;return R}var Ki={};function di(N){N=Bn(N);var R=ft(N);return Ri(N),R}function Ei(N,R){var G=Ki[N];return G===void 0&&yt(R+" has unknown type "+di(N)),G}function tr(){}var to=!1;function no(N){--N.count.value,N.count.value===0&&(N.T?N.U.W(N.T):N.P.N.W(N.O))}function Ui(N,R,G){return R===G?N:G.R===void 0?null:(N=Ui(N,R,G.R),N===null?null:G.na(N))}var Wr={};function Zi(N,R){return R=zr(N,R),We[R]}var Mr=void 0;function ha(N){throw new Mr(N)}function ea(N,R){return R.P&&R.O||ha("makeClassHandle requires ptr and ptrType"),!!R.U!=!!R.T&&ha("Both smartPtrType and smartPtr must be specified"),R.count={value:1},br(Object.create(N,{M:{value:R}}))}function br(N){return typeof FinalizationRegistry>"u"?(br=R=>R,N):(to=new FinalizationRegistry(R=>{no(R.M)}),br=R=>{var G=R.M;return G.T&&to.register(R,{M:G},R),R},tr=R=>{to.unregister(R)},br(N))}var mr={};function hr(N){for(;N.length;){var R=N.pop();N.pop()(R)}}function Er(N){return this.fromWireType(be[N>>2])}var x={},V={};function Qe(N,R,G){function J(_e){_e=G(_e),_e.length!==N.length&&ha("Mismatched type converter count");for(var Oe=0;Oe<N.length;++Oe)nt(N[Oe],_e[Oe])}N.forEach(function(_e){V[_e]=R});var ie=Array(R.length),me=[],we=0;R.forEach((_e,Oe)=>{Ki.hasOwnProperty(_e)?ie[Oe]=Ki[_e]:(me.push(_e),x.hasOwnProperty(_e)||(x[_e]=[]),x[_e].push(()=>{ie[Oe]=Ki[_e],++we,we===me.length&&J(ie)}))}),me.length===0&&J(ie)}function He(N){switch(N){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+N)}}function nt(N,R,G={}){if(!("argPackAdvance"in R))throw new TypeError("registerType registeredInstance requires argPackAdvance");var J=R.name;if(N||yt('type "'+J+'" must have a positive integer typeid pointer'),Ki.hasOwnProperty(N)){if(G.ua)return;yt("Cannot register type '"+J+"' twice")}Ki[N]=R,delete V[N],x.hasOwnProperty(N)&&(R=x[N],delete x[N],R.forEach(ie=>ie()))}function st(N){yt(N.M.P.N.name+" instance already deleted")}function vt(){}function Bt(N,R,G){if(N[R].S===void 0){var J=N[R];N[R]=function(){return N[R].S.hasOwnProperty(arguments.length)||yt("Function '"+G+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+N[R].S+")!"),N[R].S[arguments.length].apply(this,arguments)},N[R].S=[],N[R].S[J.Z]=J}}function Rt(N,R){a.hasOwnProperty(N)?(yt("Cannot register public name '"+N+"' twice"),Bt(a,N,N),a.hasOwnProperty(void 0)&&yt("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),a[N].S[void 0]=R):a[N]=R}function yi(N,R,G,J,ie,me,we,_e){this.name=N,this.constructor=R,this.X=G,this.W=J,this.R=ie,this.pa=me,this.ba=we,this.na=_e,this.ja=[]}function Yi(N,R,G){for(;R!==G;)R.ba||yt("Expected null or instance of "+G.name+", got an instance of "+R.name),N=R.ba(N),R=R.R;return N}function Qo(N,R){return R===null?(this.ea&&yt("null is not a valid "+this.name),0):(R.M||yt('Cannot pass "'+ii(R)+'" as a '+this.name),R.M.O||yt("Cannot pass deleted object as a pointer of type "+this.name),Yi(R.M.O,R.M.P.N,this.N))}function Gt(N,R){if(R===null){if(this.ea&&yt("null is not a valid "+this.name),this.da){var G=this.fa();return N!==null&&N.push(this.W,G),G}return 0}if(R.M||yt('Cannot pass "'+ii(R)+'" as a '+this.name),R.M.O||yt("Cannot pass deleted object as a pointer of type "+this.name),!this.ca&&R.M.P.ca&&yt("Cannot convert argument of type "+(R.M.U?R.M.U.name:R.M.P.name)+" to parameter type "+this.name),G=Yi(R.M.O,R.M.P.N,this.N),this.da)switch(R.M.T===void 0&&yt("Passing raw pointer to smart pointer is illegal"),this.Ba){case 0:R.M.U===this?G=R.M.T:yt("Cannot convert argument of type "+(R.M.U?R.M.U.name:R.M.P.name)+" to parameter type "+this.name);break;case 1:G=R.M.T;break;case 2:if(R.M.U===this)G=R.M.T;else{var J=R.clone();G=this.xa(G,Nt(function(){J.delete()})),N!==null&&N.push(this.W,G)}break;default:yt("Unsupporting sharing policy")}return G}function Ta(N,R){return R===null?(this.ea&&yt("null is not a valid "+this.name),0):(R.M||yt('Cannot pass "'+ii(R)+'" as a '+this.name),R.M.O||yt("Cannot pass deleted object as a pointer of type "+this.name),R.M.P.ca&&yt("Cannot convert argument of type "+R.M.P.name+" to parameter type "+this.name),Yi(R.M.O,R.M.P.N,this.N))}function nr(N,R,G,J){this.name=N,this.N=R,this.ea=G,this.ca=J,this.da=!1,this.W=this.xa=this.fa=this.ka=this.Ba=this.wa=void 0,R.R!==void 0?this.toWireType=Gt:(this.toWireType=J?Qo:Ta,this.V=null)}function Ko(N,R){a.hasOwnProperty(N)||ha("Replacing nonexistant public symbol"),a[N]=R,a[N].Z=void 0}function Al(N,R){var G=[];return function(){if(G.length=0,Object.assign(G,arguments),N.includes("j")){var J=a["dynCall_"+N];J=G&&G.length?J.apply(null,[R].concat(G)):J.call(null,R)}else J=Re.get(R).apply(null,G);return J}}function Un(N,R){N=ft(N);var G=N.includes("j")?Al(N,R):Re.get(R);return typeof G!="function"&&yt("unknown function pointer with signature "+N+": "+R),G}var Zo=void 0;function ir(N,R){function G(me){ie[me]||Ki[me]||(V[me]?V[me].forEach(G):(J.push(me),ie[me]=!0))}var J=[],ie={};throw R.forEach(G),new Zo(N+": "+J.map(di).join([", "]))}function Ea(N,R,G,J,ie){var me=R.length;2>me&&yt("argTypes array size mismatch! Must at least get return value and 'this' types!");var we=R[1]!==null&&G!==null,_e=!1;for(G=1;G<R.length;++G)if(R[G]!==null&&R[G].V===void 0){_e=!0;break}var Oe=R[0].name!=="void",ke=me-2,Je=Array(ke),Et=[],jt=[];return function(){if(arguments.length!==ke&&yt("function "+N+" called with "+arguments.length+" arguments, expected "+ke+" args!"),jt.length=0,Et.length=we?2:1,Et[0]=ie,we){var bn=R[1].toWireType(jt,this);Et[1]=bn}for(var en=0;en<ke;++en)Je[en]=R[en+2].toWireType(jt,arguments[en]),Et.push(Je[en]);if(en=J.apply(null,Et),_e)hr(jt);else for(var Si=we?1:2;Si<R.length;Si++){var wr=Si===1?bn:Je[Si-2];R[Si].V!==null&&R[Si].V(wr)}return bn=Oe?R[0].fromWireType(en):void 0,bn}}function it(N,R){for(var G=[],J=0;J<N;J++)G.push(ge[R+4*J>>2]);return G}function Yo(N){4<N&&--Jt[N].ga===0&&(Jt[N]=void 0,Qn.push(N))}function ii(N){if(N===null)return"null";var R=typeof N;return R==="object"||R==="array"||R==="function"?N.toString():""+N}function ta(N,R){switch(R){case 2:return function(G){return this.fromWireType($e[G>>2])};case 3:return function(G){return this.fromWireType(mt[G>>3])};default:throw new TypeError("Unknown float type: "+N)}}function Oa(N,R,G){switch(R){case 0:return G?function(J){return q[J]}:function(J){return Y[J]};case 1:return G?function(J){return re[J>>1]}:function(J){return ve[J>>1]};case 2:return G?function(J){return be[J>>2]}:function(J){return ge[J>>2]};default:throw new TypeError("Unknown integer type: "+N)}}function ql(N,R){for(var G="",J=0;!(J>=R/2);++J){var ie=re[N+2*J>>1];if(ie==0)break;G+=String.fromCharCode(ie)}return G}function io(N,R,G){if(G===void 0&&(G=2147483647),2>G)return 0;G-=2;var J=R;G=G<2*N.length?G/2:N.length;for(var ie=0;ie<G;++ie)re[R>>1]=N.charCodeAt(ie),R+=2;return re[R>>1]=0,R-J}function ro(N){return 2*N.length}function dl(N,R){for(var G=0,J="";!(G>=R/4);){var ie=be[N+4*G>>2];if(ie==0)break;++G,65536<=ie?(ie-=65536,J+=String.fromCharCode(55296|ie>>10,56320|ie&1023)):J+=String.fromCharCode(ie)}return J}function zn(N,R,G){if(G===void 0&&(G=2147483647),4>G)return 0;var J=R;G=J+G-4;for(var ie=0;ie<N.length;++ie){var me=N.charCodeAt(ie);if(55296<=me&&57343>=me){var we=N.charCodeAt(++ie);me=65536+((me&1023)<<10)|we&1023}if(be[R>>2]=me,R+=4,R+4>G)break}return be[R>>2]=0,R-J}function vs(N){for(var R=0,G=0;G<N.length;++G){var J=N.charCodeAt(G);55296<=J&&57343>=J&&++G,R+=4}return R}var ka={};function Xl(N){var R=ka[N];return R===void 0?ft(N):R}var fl=[];function pl(N){var R=fl.length;return fl.push(N),R}function Lr(N,R){for(var G=Array(N),J=0;J<N;++J)G[J]=Ei(ge[R+4*J>>2],"parameter "+J);return G}var na=[],gl=[null,[],[]];Fn=a.BindingError=Ht("BindingError"),a.count_emval_handles=function(){for(var N=0,R=5;R<Jt.length;++R)Jt[R]!==void 0&&++N;return N},a.get_first_emval=function(){for(var N=5;N<Jt.length;++N)if(Jt[N]!==void 0)return Jt[N];return null},er=a.PureVirtualError=Ht("PureVirtualError");for(var Ni=Array(256),Sn=0;256>Sn;++Sn)Ni[Sn]=String.fromCharCode(Sn);Ai=Ni,a.getInheritedInstanceCount=function(){return Object.keys(We).length},a.getLiveInheritedInstances=function(){var N=[],R;for(R in We)We.hasOwnProperty(R)&&N.push(We[R]);return N},a.flushPendingDeletes=Sr,a.setDelayFunction=function(N){Ji=N,Vt.length&&Ji&&Ji(Sr)},Mr=a.InternalError=Ht("InternalError"),vt.prototype.isAliasOf=function(N){if(!(this instanceof vt&&N instanceof vt))return!1;var R=this.M.P.N,G=this.M.O,J=N.M.P.N;for(N=N.M.O;R.R;)G=R.ba(G),R=R.R;for(;J.R;)N=J.ba(N),J=J.R;return R===J&&G===N},vt.prototype.clone=function(){if(this.M.O||st(this),this.M.aa)return this.M.count.value+=1,this;var N=br,R=Object,G=R.create,J=Object.getPrototypeOf(this),ie=this.M;return N=N(G.call(R,J,{M:{value:{count:ie.count,$:ie.$,aa:ie.aa,O:ie.O,P:ie.P,T:ie.T,U:ie.U}}})),N.M.count.value+=1,N.M.$=!1,N},vt.prototype.delete=function(){this.M.O||st(this),this.M.$&&!this.M.aa&&yt("Object already scheduled for deletion"),tr(this),no(this.M),this.M.aa||(this.M.T=void 0,this.M.O=void 0)},vt.prototype.isDeleted=function(){return!this.M.O},vt.prototype.deleteLater=function(){return this.M.O||st(this),this.M.$&&!this.M.aa&&yt("Object already scheduled for deletion"),Vt.push(this),Vt.length===1&&Ji&&Ji(Sr),this.M.$=!0,this},nr.prototype.qa=function(N){return this.ka&&(N=this.ka(N)),N},nr.prototype.ha=function(N){this.W&&this.W(N)},nr.prototype.argPackAdvance=8,nr.prototype.readValueFromPointer=Er,nr.prototype.deleteObject=function(N){N!==null&&N.delete()},nr.prototype.fromWireType=function(N){function R(){return this.da?ea(this.N.X,{P:this.wa,O:G,U:this,T:N}):ea(this.N.X,{P:this,O:N})}var G=this.qa(N);if(!G)return this.ha(N),null;var J=Zi(this.N,G);if(J!==void 0)return J.M.count.value===0?(J.M.O=G,J.M.T=N,J.clone()):(J=J.clone(),this.ha(N),J);if(J=this.N.pa(G),J=Wr[J],!J)return R.call(this);J=this.ca?J.la:J.pointerType;var ie=Ui(G,this.N,J.N);return ie===null?R.call(this):this.da?ea(J.N.X,{P:J,O:ie,U:this,T:N}):ea(J.N.X,{P:J,O:ie})},Zo=a.UnboundTypeError=Ht("UnboundTypeError");var Wn=typeof atob=="function"?atob:function(N){var R="",G=0;N=N.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(N.charAt(G++)),ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(N.charAt(G++)),me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(N.charAt(G++)),we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(N.charAt(G++));J=J<<2|ie>>4,ie=(ie&15)<<4|me>>2;var _e=(me&3)<<6|we;R+=String.fromCharCode(J),me!==64&&(R+=String.fromCharCode(ie)),we!==64&&(R+=String.fromCharCode(_e))}while(G<N.length);return R},$r={l:function(N,R,G,J){ht("Assertion failed: "+(N?O(Y,N):"")+", at: "+[R?R?O(Y,R):"":"unknown filename",G,J?J?O(Y,J):"":"unknown function"])},q:function(N,R,G){N=ft(N),R=Ei(R,"wrapper"),G=Pn(G);var J=[].slice,ie=R.N,me=ie.X,we=ie.R.X,_e=ie.R.constructor;N=ct(N,function(){ie.R.ja.forEach(function(ke){if(this[ke]===we[ke])throw new er("Pure virtual function "+ke+" must be implemented in JavaScript")}.bind(this)),Object.defineProperty(this,"__parent",{value:me}),this.__construct.apply(this,J.call(arguments))}),me.__construct=function(){this===me&&yt("Pass correct 'this' to __construct");var ke=_e.implement.apply(void 0,[this].concat(J.call(arguments)));tr(ke);var Je=ke.M;ke.notifyOnDestruction(),Je.aa=!0,Object.defineProperties(this,{M:{value:Je}}),br(this),ke=Je.O,ke=zr(ie,ke),We.hasOwnProperty(ke)?yt("Tried to register registered instance: "+ke):We[ke]=this},me.__destruct=function(){this===me&&yt("Pass correct 'this' to __destruct"),tr(this);var ke=this.M.O;ke=zr(ie,ke),We.hasOwnProperty(ke)?delete We[ke]:yt("Tried to unregister unregistered instance: "+ke)},N.prototype=Object.create(me);for(var Oe in G)N.prototype[Oe]=G[Oe];return Nt(N)},j:function(N){var R=mr[N];delete mr[N];var G=R.fa,J=R.W,ie=R.ia,me=ie.map(we=>we.ta).concat(ie.map(we=>we.za));Qe([N],me,we=>{var _e={};return ie.forEach((Oe,ke)=>{var Je=we[ke],Et=Oe.ra,jt=Oe.sa,bn=we[ke+ie.length],en=Oe.ya,Si=Oe.Aa;_e[Oe.oa]={read:wr=>Je.fromWireType(Et(jt,wr)),write:(wr,Ma)=>{var ia=[];en(Si,wr,bn.toWireType(ia,Ma)),hr(ia)}}}),[{name:R.name,fromWireType:function(Oe){var ke={},Je;for(Je in _e)ke[Je]=_e[Je].read(Oe);return J(Oe),ke},toWireType:function(Oe,ke){for(var Je in _e)if(!(Je in ke))throw new TypeError('Missing field: "'+Je+'"');var Et=G();for(Je in _e)_e[Je].write(Et,ke[Je]);return Oe!==null&&Oe.push(J,Et),Et},argPackAdvance:8,readValueFromPointer:Er,V:J}]})},v:function(){},B:function(N,R,G,J,ie){var me=He(G);R=ft(R),nt(N,{name:R,fromWireType:function(we){return!!we},toWireType:function(we,_e){return _e?J:ie},argPackAdvance:8,readValueFromPointer:function(we){if(G===1)var _e=q;else if(G===2)_e=re;else if(G===4)_e=be;else throw new TypeError("Unknown boolean type size: "+R);return this.fromWireType(_e[we>>me])},V:null})},f:function(N,R,G,J,ie,me,we,_e,Oe,ke,Je,Et,jt){Je=ft(Je),me=Un(ie,me),_e&&(_e=Un(we,_e)),ke&&(ke=Un(Oe,ke)),jt=Un(Et,jt);var bn=dt(Je);Rt(bn,function(){ir("Cannot construct "+Je+" due to unbound types",[J])}),Qe([N,R,G],J?[J]:[],function(en){if(en=en[0],J)var Si=en.N,wr=Si.X;else wr=vt.prototype;en=ct(bn,function(){if(Object.getPrototypeOf(this)!==Ma)throw new Fn("Use 'new' to construct "+Je);if(ia.Y===void 0)throw new Fn(Je+" has no accessible constructor");var qu=ia.Y[arguments.length];if(qu===void 0)throw new Fn("Tried to invoke ctor of "+Je+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(ia.Y).toString()+") parameters instead!");return qu.apply(this,arguments)});var Ma=Object.create(wr,{constructor:{value:en}});en.prototype=Ma;var ia=new yi(Je,en,Ma,jt,Si,me,_e,ke);Si=new nr(Je,ia,!0,!1),wr=new nr(Je+"*",ia,!1,!1);var Wl=new nr(Je+" const*",ia,!1,!0);return Wr[N]={pointerType:wr,la:Wl},Ko(bn,en),[Si,wr,Wl]})},d:function(N,R,G,J,ie,me,we){var _e=it(G,J);R=ft(R),me=Un(ie,me),Qe([],[N],function(Oe){function ke(){ir("Cannot call "+Je+" due to unbound types",_e)}Oe=Oe[0];var Je=Oe.name+"."+R;R.startsWith("@@")&&(R=Symbol[R.substring(2)]);var Et=Oe.N.constructor;return Et[R]===void 0?(ke.Z=G-1,Et[R]=ke):(Bt(Et,R,Je),Et[R].S[G-1]=ke),Qe([],_e,function(jt){return jt=Ea(Je,[jt[0],null].concat(jt.slice(1)),null,me,we),Et[R].S===void 0?(jt.Z=G-1,Et[R]=jt):Et[R].S[G-1]=jt,[]}),[]})},p:function(N,R,G,J,ie,me){0<R||ht();var we=it(R,G);ie=Un(J,ie),Qe([],[N],function(_e){_e=_e[0];var Oe="constructor "+_e.name;if(_e.N.Y===void 0&&(_e.N.Y=[]),_e.N.Y[R-1]!==void 0)throw new Fn("Cannot register multiple constructors with identical number of parameters ("+(R-1)+") for class '"+_e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return _e.N.Y[R-1]=()=>{ir("Cannot construct "+_e.name+" due to unbound types",we)},Qe([],we,function(ke){return ke.splice(1,0,null),_e.N.Y[R-1]=Ea(Oe,ke,null,ie,me),[]}),[]})},a:function(N,R,G,J,ie,me,we,_e){var Oe=it(G,J);R=ft(R),me=Un(ie,me),Qe([],[N],function(ke){function Je(){ir("Cannot call "+Et+" due to unbound types",Oe)}ke=ke[0];var Et=ke.name+"."+R;R.startsWith("@@")&&(R=Symbol[R.substring(2)]),_e&&ke.N.ja.push(R);var jt=ke.N.X,bn=jt[R];return bn===void 0||bn.S===void 0&&bn.className!==ke.name&&bn.Z===G-2?(Je.Z=G-2,Je.className=ke.name,jt[R]=Je):(Bt(jt,R,Et),jt[R].S[G-2]=Je),Qe([],Oe,function(en){return en=Ea(Et,en,ke,me,we),jt[R].S===void 0?(en.Z=G-2,jt[R]=en):jt[R].S[G-2]=en,[]}),[]})},A:function(N,R){R=ft(R),nt(N,{name:R,fromWireType:function(G){var J=Pn(G);return Yo(G),J},toWireType:function(G,J){return Nt(J)},argPackAdvance:8,readValueFromPointer:Er,V:null})},n:function(N,R,G){G=He(G),R=ft(R),nt(N,{name:R,fromWireType:function(J){return J},toWireType:function(J,ie){return ie},argPackAdvance:8,readValueFromPointer:ta(R,G),V:null})},e:function(N,R,G,J,ie){R=ft(R),ie===-1&&(ie=4294967295),ie=He(G);var me=_e=>_e;if(J===0){var we=32-8*G;me=_e=>_e<<we>>>we}G=R.includes("unsigned")?function(_e,Oe){return Oe>>>0}:function(_e,Oe){return Oe},nt(N,{name:R,fromWireType:me,toWireType:G,argPackAdvance:8,readValueFromPointer:Oa(R,ie,J!==0),V:null})},b:function(N,R,G){function J(me){me>>=2;var we=ge;return new ie(j,we[me+1],we[me])}var ie=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][R];G=ft(G),nt(N,{name:G,fromWireType:J,argPackAdvance:8,readValueFromPointer:J},{ua:!0})},o:function(N,R){R=ft(R);var G=R==="std::string";nt(N,{name:R,fromWireType:function(J){var ie=ge[J>>2],me=J+4;if(G)for(var we=me,_e=0;_e<=ie;++_e){var Oe=me+_e;if(_e==ie||Y[Oe]==0){if(we=we?O(Y,we,Oe-we):"",ke===void 0)var ke=we;else ke+="\0",ke+=we;we=Oe+1}}else{for(ke=Array(ie),_e=0;_e<ie;++_e)ke[_e]=String.fromCharCode(Y[me+_e]);ke=ke.join("")}return Ri(J),ke},toWireType:function(J,ie){ie instanceof ArrayBuffer&&(ie=new Uint8Array(ie));var me,we=typeof ie=="string";if(we||ie instanceof Uint8Array||ie instanceof Uint8ClampedArray||ie instanceof Int8Array||yt("Cannot pass non-string to std::string"),G&&we){var _e=0;for(me=0;me<ie.length;++me){var Oe=ie.charCodeAt(me);127>=Oe?_e++:2047>=Oe?_e+=2:55296<=Oe&&57343>=Oe?(_e+=4,++me):_e+=3}me=_e}else me=ie.length;if(_e=ao(4+me+1),Oe=_e+4,ge[_e>>2]=me,G&&we){if(we=Oe,Oe=me+1,me=Y,0<Oe){Oe=we+Oe-1;for(var ke=0;ke<ie.length;++ke){var Je=ie.charCodeAt(ke);if(55296<=Je&&57343>=Je){var Et=ie.charCodeAt(++ke);Je=65536+((Je&1023)<<10)|Et&1023}if(127>=Je){if(we>=Oe)break;me[we++]=Je}else{if(2047>=Je){if(we+1>=Oe)break;me[we++]=192|Je>>6}else{if(65535>=Je){if(we+2>=Oe)break;me[we++]=224|Je>>12}else{if(we+3>=Oe)break;me[we++]=240|Je>>18,me[we++]=128|Je>>12&63}me[we++]=128|Je>>6&63}me[we++]=128|Je&63}}me[we]=0}}else if(we)for(we=0;we<me;++we)ke=ie.charCodeAt(we),255<ke&&(Ri(Oe),yt("String has UTF-16 code units that do not fit in 8 bits")),Y[Oe+we]=ke;else for(we=0;we<me;++we)Y[Oe+we]=ie[we];return J!==null&&J.push(Ri,_e),_e},argPackAdvance:8,readValueFromPointer:Er,V:function(J){Ri(J)}})},i:function(N,R,G){if(G=ft(G),R===2)var J=ql,ie=io,me=ro,we=()=>ve,_e=1;else R===4&&(J=dl,ie=zn,me=vs,we=()=>ge,_e=2);nt(N,{name:G,fromWireType:function(Oe){for(var ke=ge[Oe>>2],Je=we(),Et,jt=Oe+4,bn=0;bn<=ke;++bn){var en=Oe+4+bn*R;(bn==ke||Je[en>>_e]==0)&&(jt=J(jt,en-jt),Et===void 0?Et=jt:(Et+="\0",Et+=jt),jt=en+R)}return Ri(Oe),Et},toWireType:function(Oe,ke){typeof ke!="string"&&yt("Cannot pass non-string to C++ string type "+G);var Je=me(ke),Et=ao(4+Je+R);return ge[Et>>2]=Je>>_e,ie(ke,Et+4,Je+R),Oe!==null&&Oe.push(Ri,Et),Et},argPackAdvance:8,readValueFromPointer:Er,V:function(Oe){Ri(Oe)}})},k:function(N,R,G,J,ie,me){mr[N]={name:ft(R),fa:Un(G,J),W:Un(ie,me),ia:[]}},h:function(N,R,G,J,ie,me,we,_e,Oe,ke){mr[N].ia.push({oa:ft(R),ta:G,ra:Un(J,ie),sa:me,za:we,ya:Un(_e,Oe),Aa:ke})},C:function(N,R){R=ft(R),nt(N,{va:!0,name:R,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},s:function(N,R,G,J,ie){N=fl[N],R=Pn(R),G=Xl(G);var me=[];return ge[J>>2]=Nt(me),N(R,G,me,ie)},t:function(N,R,G,J){N=fl[N],R=Pn(R),G=Xl(G),N(R,G,null,J)},g:Yo,m:function(N,R){var G=Lr(N,R),J=G[0];R=J.name+"_$"+G.slice(1).map(function(we){return we.name}).join("_")+"$";var ie=na[R];if(ie!==void 0)return ie;var me=Array(N-1);return ie=pl((we,_e,Oe,ke)=>{for(var Je=0,Et=0;Et<N-1;++Et)me[Et]=G[Et+1].readValueFromPointer(ke+Je),Je+=G[Et+1].argPackAdvance;for(we=we[_e].apply(we,me),Et=0;Et<N-1;++Et)G[Et+1].ma&&G[Et+1].ma(me[Et]);if(!J.va)return J.toWireType(Oe,we)}),na[R]=ie},D:function(N){4<N&&(Jt[N].ga+=1)},r:function(N){var R=Pn(N);hr(R),Yo(N)},c:function(){ht("")},x:function(N,R,G){Y.copyWithin(N,R,R+G)},w:function(N){var R=Y.length;if(N>>>=0,2147483648<N)return!1;for(var G=1;4>=G;G*=2){var J=R*(1+.2/G);J=Math.min(J,N+100663296);var ie=Math;J=Math.max(N,J),ie=ie.min.call(ie,2147483648,J+(65536-J%65536)%65536);e:{try{T.grow(ie-j.byteLength+65535>>>16),at();var me=1;break e}catch{}me=void 0}if(me)return!0}return!1},z:function(){return 52},u:function(){return 70},y:function(N,R,G,J){for(var ie=0,me=0;me<G;me++){var we=ge[R>>2],_e=ge[R+4>>2];R+=8;for(var Oe=0;Oe<_e;Oe++){var ke=Y[we+Oe],Je=gl[N];ke===0||ke===10?((N===1?E:C)(O(Je,0)),Je.length=0):Je.push(ke)}ie+=_e}return ge[J>>2]=ie,0}};(function(){function N(ie){a.asm=ie.exports,T=a.asm.E,at(),Re=a.asm.J,St.unshift(a.asm.F),In--,a.monitorRunDependencies&&a.monitorRunDependencies(In),In==0&&(Qi!==null&&(clearInterval(Qi),Qi=null),ye&&(ie=ye,ye=null,ie()))}function R(ie){N(ie.instance)}function G(ie){return oe().then(function(me){return WebAssembly.instantiate(me,J)}).then(function(me){return me}).then(ie,function(me){C("failed to asynchronously prepare wasm: "+me),ht(me)})}var J={a:$r};if(In++,a.monitorRunDependencies&&a.monitorRunDependencies(In),a.instantiateWasm)try{return a.instantiateWasm(J,N)}catch(ie){C("Module.instantiateWasm callback failed with error: "+ie),i(ie)}return(function(){return I||typeof WebAssembly.instantiateStreaming!="function"||Ze(Ce)||typeof fetch!="function"?G(R):fetch(Ce,{credentials:"same-origin"}).then(function(ie){return WebAssembly.instantiateStreaming(ie,J).then(R,function(me){return C("wasm streaming compile failed: "+me),C("falling back to ArrayBuffer instantiation"),G(R)})})})().catch(i),{}})(),a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.F).apply(null,arguments)};var Bn=a.___getTypeName=function(){return(Bn=a.___getTypeName=a.asm.G).apply(null,arguments)};a.__embind_initialize_bindings=function(){return(a.__embind_initialize_bindings=a.asm.H).apply(null,arguments)};var ao=a._malloc=function(){return(ao=a._malloc=a.asm.I).apply(null,arguments)},Ri=a._free=function(){return(Ri=a._free=a.asm.K).apply(null,arguments)};a.dynCall_jiji=function(){return(a.dynCall_jiji=a.asm.L).apply(null,arguments)};var Fa;ye=function N(){Fa||za(),Fa||(ye=N)};function za(){function N(){if(!Fa&&(Fa=!0,a.calledRun=!0,!z)){if(De(St),s(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),a.postRun)for(typeof a.postRun=="function"&&(a.postRun=[a.postRun]);a.postRun.length;){var R=a.postRun.shift();$t.unshift(R)}De($t)}}if(!(0<In)){if(a.preRun)for(typeof a.preRun=="function"&&(a.preRun=[a.preRun]);a.preRun.length;)Ct();De(et),0<In||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1),N()},1)):N())}}if(a.preInit)for(typeof a.preInit=="function"&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();return za(),t.ready})})(),oR=Z8});var Xc,lR,uR,bh,g_,Wc,rg,Y8,Cv,m_,ag,og,h_,cR,E_,y_,Pl,v_,V8,AR,Iv=L(()=>{"use strict";Xc=(function(e){return e[e.Auto=0]="Auto",e[e.FlexStart=1]="FlexStart",e[e.Center=2]="Center",e[e.FlexEnd=3]="FlexEnd",e[e.Stretch=4]="Stretch",e[e.Baseline=5]="Baseline",e[e.SpaceBetween=6]="SpaceBetween",e[e.SpaceAround=7]="SpaceAround",e[e.SpaceEvenly=8]="SpaceEvenly",e})({}),lR=(function(e){return e[e.BorderBox=0]="BorderBox",e[e.ContentBox=1]="ContentBox",e})({}),uR=(function(e){return e[e.Width=0]="Width",e[e.Height=1]="Height",e})({}),bh=(function(e){return e[e.Inherit=0]="Inherit",e[e.LTR=1]="LTR",e[e.RTL=2]="RTL",e})({}),g_=(function(e){return e[e.Flex=0]="Flex",e[e.None=1]="None",e[e.Contents=2]="Contents",e})({}),Wc=(function(e){return e[e.Left=0]="Left",e[e.Top=1]="Top",e[e.Right=2]="Right",e[e.Bottom=3]="Bottom",e[e.Start=4]="Start",e[e.End=5]="End",e[e.Horizontal=6]="Horizontal",e[e.Vertical=7]="Vertical",e[e.All=8]="All",e})({}),rg=(function(e){return e[e.None=0]="None",e[e.StretchFlexBasis=1]="StretchFlexBasis",e[e.AbsolutePositionWithoutInsetsExcludesPadding=2]="AbsolutePositionWithoutInsetsExcludesPadding",e[e.AbsolutePercentAgainstInnerSize=4]="AbsolutePercentAgainstInnerSize",e[e.All=2147483647]="All",e[e.Classic=2147483646]="Classic",e})({}),Y8=(function(e){return e[e.WebFlexBasis=0]="WebFlexBasis",e})({}),Cv=(function(e){return e[e.Column=0]="Column",e[e.ColumnReverse=1]="ColumnReverse",e[e.Row=2]="Row",e[e.RowReverse=3]="RowReverse",e})({}),m_=(function(e){return e[e.Column=0]="Column",e[e.Row=1]="Row",e[e.All=2]="All",e})({}),ag=(function(e){return e[e.FlexStart=0]="FlexStart",e[e.Center=1]="Center",e[e.FlexEnd=2]="FlexEnd",e[e.SpaceBetween=3]="SpaceBetween",e[e.SpaceAround=4]="SpaceAround",e[e.SpaceEvenly=5]="SpaceEvenly",e})({}),og=(function(e){return e[e.Error=0]="Error",e[e.Warn=1]="Warn",e[e.Info=2]="Info",e[e.Debug=3]="Debug",e[e.Verbose=4]="Verbose",e[e.Fatal=5]="Fatal",e})({}),h_=(function(e){return e[e.Undefined=0]="Undefined",e[e.Exactly=1]="Exactly",e[e.AtMost=2]="AtMost",e})({}),cR=(function(e){return e[e.Default=0]="Default",e[e.Text=1]="Text",e})({}),E_=(function(e){return e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.Scroll=2]="Scroll",e})({}),y_=(function(e){return e[e.Static=0]="Static",e[e.Relative=1]="Relative",e[e.Absolute=2]="Absolute",e})({}),Pl=(function(e){return e[e.Undefined=0]="Undefined",e[e.Point=1]="Point",e[e.Percent=2]="Percent",e[e.Auto=3]="Auto",e})({}),v_=(function(e){return e[e.NoWrap=0]="NoWrap",e[e.Wrap=1]="Wrap",e[e.WrapReverse=2]="WrapReverse",e})({}),V8={ALIGN_AUTO:Xc.Auto,ALIGN_FLEX_START:Xc.FlexStart,ALIGN_CENTER:Xc.Center,ALIGN_FLEX_END:Xc.FlexEnd,ALIGN_STRETCH:Xc.Stretch,ALIGN_BASELINE:Xc.Baseline,ALIGN_SPACE_BETWEEN:Xc.SpaceBetween,ALIGN_SPACE_AROUND:Xc.SpaceAround,ALIGN_SPACE_EVENLY:Xc.SpaceEvenly,BOX_SIZING_BORDER_BOX:lR.BorderBox,BOX_SIZING_CONTENT_BOX:lR.ContentBox,DIMENSION_WIDTH:uR.Width,DIMENSION_HEIGHT:uR.Height,DIRECTION_INHERIT:bh.Inherit,DIRECTION_LTR:bh.LTR,DIRECTION_RTL:bh.RTL,DISPLAY_FLEX:g_.Flex,DISPLAY_NONE:g_.None,DISPLAY_CONTENTS:g_.Contents,EDGE_LEFT:Wc.Left,EDGE_TOP:Wc.Top,EDGE_RIGHT:Wc.Right,EDGE_BOTTOM:Wc.Bottom,EDGE_START:Wc.Start,EDGE_END:Wc.End,EDGE_HORIZONTAL:Wc.Horizontal,EDGE_VERTICAL:Wc.Vertical,EDGE_ALL:Wc.All,ERRATA_NONE:rg.None,ERRATA_STRETCH_FLEX_BASIS:rg.StretchFlexBasis,ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING:rg.AbsolutePositionWithoutInsetsExcludesPadding,ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE:rg.AbsolutePercentAgainstInnerSize,ERRATA_ALL:rg.All,ERRATA_CLASSIC:rg.Classic,EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS:Y8.WebFlexBasis,FLEX_DIRECTION_COLUMN:Cv.Column,FLEX_DIRECTION_COLUMN_REVERSE:Cv.ColumnReverse,FLEX_DIRECTION_ROW:Cv.Row,FLEX_DIRECTION_ROW_REVERSE:Cv.RowReverse,GUTTER_COLUMN:m_.Column,GUTTER_ROW:m_.Row,GUTTER_ALL:m_.All,JUSTIFY_FLEX_START:ag.FlexStart,JUSTIFY_CENTER:ag.Center,JUSTIFY_FLEX_END:ag.FlexEnd,JUSTIFY_SPACE_BETWEEN:ag.SpaceBetween,JUSTIFY_SPACE_AROUND:ag.SpaceAround,JUSTIFY_SPACE_EVENLY:ag.SpaceEvenly,LOG_LEVEL_ERROR:og.Error,LOG_LEVEL_WARN:og.Warn,LOG_LEVEL_INFO:og.Info,LOG_LEVEL_DEBUG:og.Debug,LOG_LEVEL_VERBOSE:og.Verbose,LOG_LEVEL_FATAL:og.Fatal,MEASURE_MODE_UNDEFINED:h_.Undefined,MEASURE_MODE_EXACTLY:h_.Exactly,MEASURE_MODE_AT_MOST:h_.AtMost,NODE_TYPE_DEFAULT:cR.Default,NODE_TYPE_TEXT:cR.Text,OVERFLOW_VISIBLE:E_.Visible,OVERFLOW_HIDDEN:E_.Hidden,OVERFLOW_SCROLL:E_.Scroll,POSITION_TYPE_STATIC:y_.Static,POSITION_TYPE_RELATIVE:y_.Relative,POSITION_TYPE_ABSOLUTE:y_.Absolute,UNIT_UNDEFINED:Pl.Undefined,UNIT_POINT:Pl.Point,UNIT_PERCENT:Pl.Percent,UNIT_AUTO:Pl.Auto,WRAP_NO_WRAP:v_.NoWrap,WRAP_WRAP:v_.Wrap,WRAP_WRAP_REVERSE:v_.WrapReverse},AR=V8});function C_(e){function t(i,c,d){let E=i[c];i[c]=function(){for(var C=arguments.length,I=new Array(C),S=0;S<C;S++)I[S]=arguments[S];return d.call(this,E,...I)}}for(let i of["setPosition","setMargin","setFlexBasis","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setPadding","setGap"]){let c={[Pl.Point]:e.Node.prototype[i],[Pl.Percent]:e.Node.prototype[`${i}Percent`],[Pl.Auto]:e.Node.prototype[`${i}Auto`]};t(e.Node.prototype,i,function(d){for(var E=arguments.length,C=new Array(E>1?E-1:0),I=1;I<E;I++)C[I-1]=arguments[I];let S=C.pop(),T,z;if(S==="auto")T=Pl.Auto,z=void 0;else if(typeof S=="object")T=S.unit,z=S.valueOf();else if(T=typeof S=="string"&&S.endsWith("%")?Pl.Percent:Pl.Point,z=parseFloat(S),S!==void 0&&!Number.isNaN(S)&&Number.isNaN(z))throw new Error(`Invalid value ${S} for ${i}`);if(!c[T])throw new Error(`Failed to execute "${i}": Unsupported unit '${S}'`);return z!==void 0?c[T].call(this,...C,z):c[T].call(this,...C)})}function a(i){return e.MeasureCallback.implement({measure:function(){let{width:c,height:d}=i(...arguments);return{width:c??NaN,height:d??NaN}}})}t(e.Node.prototype,"setMeasureFunc",function(i,c){return c?i.call(this,a(c)):this.unsetMeasureFunc()});function s(i){return e.DirtiedCallback.implement({dirtied:i})}return t(e.Node.prototype,"setDirtiedFunc",function(i,c){i.call(this,s(c))}),t(e.Config.prototype,"free",function(){e.Config.destroy(this)}),t(e.Node,"create",(i,c)=>c?e.Node.createWithConfig(c):e.Node.createDefault()),t(e.Node.prototype,"free",function(){e.Node.destroy(this)}),t(e.Node.prototype,"freeRecursive",function(){for(let i=0,c=this.getChildCount();i<c;++i)this.getChild(0).freeRecursive();this.free()}),t(e.Node.prototype,"calculateLayout",function(i){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:bh.LTR;return i.call(this,c,d,E)}),{Config:e.Config,Node:e.Node,...AR}}var dR=L(()=>{"use strict";Iv();Iv()});var q8,gt,xf=L(async()=>{"use strict";sR();dR();Iv();q8=C_(await oR()),gt=q8});function I_({onlyFirst:e=!1}={}){let i="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(i,e?void 0:"g")}var fR=L(()=>{"use strict"});function wh(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(X8,"")}var X8,B_=L(()=>{"use strict";fR();X8=I_()});function pR(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function xh(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Uh(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var __=L(()=>{"use strict"});function W8(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function gR(e,{ambiguousAsWide:t=!1}={}){return W8(e),xh(e)||Uh(e)||t&&pR(e)?2:1}var D_=L(()=>{"use strict";__();__()});var mR,hR=L(()=>{"use strict";mR=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?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uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});function Na(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:a=!0,countAnsiEscapeCodes:s=!1}=t;if(s||(e=wh(e)),e.length===0)return 0;let i=0,c={ambiguousAsWide:!a};for(let{segment:d}of eH.segment(e)){let E=d.codePointAt(0);if(!(E<=31||E>=127&&E<=159)&&!(E>=8203&&E<=8207||E===65279)&&!(E>=768&&E<=879||E>=6832&&E<=6911||E>=7616&&E<=7679||E>=8400&&E<=8447||E>=65056&&E<=65071)&&!(E>=55296&&E<=57343)&&!(E>=65024&&E<=65039)&&!tH.test(d)){if(mR().test(d)){i+=2;continue}i+=gR(E,c)}}return i}var eH,tH,Nh=L(()=>{"use strict";B_();D_();hR();eH=new Intl.Segmenter,tH=/^\p{Default_Ignorable_Code_Point}$/u});function rH(){let e=new Map;for(let[t,a]of Object.entries(Li)){for(let[s,i]of Object.entries(a))Li[s]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},a[s]=Li[s],e.set(i[0],i[1]);Object.defineProperty(Li,t,{value:a,enumerable:!1})}return Object.defineProperty(Li,"codes",{value:e,enumerable:!1}),Li.color.close="\x1B[39m",Li.bgColor.close="\x1B[49m",Li.color.ansi=ER(),Li.color.ansi256=yR(),Li.color.ansi16m=vR(),Li.bgColor.ansi=ER(10),Li.bgColor.ansi256=yR(10),Li.bgColor.ansi16m=vR(10),Object.defineProperties(Li,{rgbToAnsi256:{value(t,a,s){return t===a&&a===s?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(a/255*5)+Math.round(s/255*5)},enumerable:!1},hexToRgb:{value(t){let a=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!a)return[0,0,0];let[s]=a;s.length===3&&(s=[...s].map(c=>c+c).join(""));let i=Number.parseInt(s,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>Li.rgbToAnsi256(...Li.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let a,s,i;if(t>=232)a=((t-232)*10+8)/255,s=a,i=a;else{t-=16;let E=t%36;a=Math.floor(t/36)/5,s=Math.floor(E/6)/5,i=E%6/5}let c=Math.max(a,s,i)*2;if(c===0)return 30;let d=30+(Math.round(i)<<2|Math.round(s)<<1|Math.round(a));return c===2&&(d+=60),d},enumerable:!1},rgbToAnsi:{value:(t,a,s)=>Li.ansi256ToAnsi(Li.rgbToAnsi256(t,a,s)),enumerable:!1},hexToAnsi:{value:t=>Li.ansi256ToAnsi(Li.hexToAnsi256(t)),enumerable:!1}}),Li}var ER,yR,vR,Li,j7,nH,iH,P7,aH,li,sg=L(()=>{"use strict";ER=(e=0)=>t=>`\x1B[${t+e}m`,yR=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,vR=(e=0)=>(t,a,s)=>`\x1B[${38+e};2;${t};${a};${s}m`,Li={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},j7=Object.keys(Li.modifier),nH=Object.keys(Li.color),iH=Object.keys(Li.bgColor),P7=[...nH,...iH];aH=rH(),li=aH});function Rh(e,t,a){return String(e).normalize().replaceAll(`\r
|
|
20
|
+
`,`
|
|
21
|
+
`).split(`
|
|
22
|
+
`).map(s=>cH(s,t,a)).join(`
|
|
23
|
+
`)}var _v,oH,S_,BR,sH,_R,Bv,CR,IR,lH,Q_,uH,cH,b_=L(()=>{"use strict";Nh();B_();sg();_v=new Set(["\x1B","\x9B"]),oH=39,S_="\x07",BR="[",sH="]",_R="m",Bv=`${sH}8;;`,CR=e=>`${_v.values().next().value}${BR}${e}${_R}`,IR=e=>`${_v.values().next().value}${Bv}${e}${S_}`,lH=e=>e.split(" ").map(t=>Na(t)),Q_=(e,t,a)=>{let s=[...t],i=!1,c=!1,d=Na(wh(e.at(-1)));for(let[E,C]of s.entries()){let I=Na(C);if(d+I<=a?e[e.length-1]+=C:(e.push(C),d=0),_v.has(C)&&(i=!0,c=s.slice(E+1,E+1+Bv.length).join("")===Bv),i){c?C===S_&&(i=!1,c=!1):C===_R&&(i=!1);continue}d+=I,d===a&&E<s.length-1&&(e.push(""),d=0)}!d&&e.at(-1).length>0&&e.length>1&&(e[e.length-2]+=e.pop())},uH=e=>{let t=e.split(" "),a=t.length;for(;a>0&&!(Na(t[a-1])>0);)a--;return a===t.length?e:t.slice(0,a).join(" ")+t.slice(a).join("")},cH=(e,t,a={})=>{if(a.trim!==!1&&e.trim()==="")return"";let s="",i,c,d=lH(e),E=[""];for(let[T,z]of e.split(" ").entries()){a.trim!==!1&&(E[E.length-1]=E.at(-1).trimStart());let O=Na(E.at(-1));if(T!==0&&(O>=t&&(a.wordWrap===!1||a.trim===!1)&&(E.push(""),O=0),(O>0||a.trim===!1)&&(E[E.length-1]+=" ",O++)),a.hard&&d[T]>t){let j=t-O,q=1+Math.floor((d[T]-j-1)/t);Math.floor((d[T]-1)/t)<q&&E.push(""),Q_(E,z,t);continue}if(O+d[T]>t&&O>0&&d[T]>0){if(a.wordWrap===!1&&O<t){Q_(E,z,t);continue}E.push("")}if(O+d[T]>t&&a.wordWrap===!1){Q_(E,z,t);continue}E[E.length-1]+=z}a.trim!==!1&&(E=E.map(T=>uH(T)));let C=E.join(`
|
|
24
|
+
`),I=[...C],S=0;for(let[T,z]of I.entries()){if(s+=z,_v.has(z)){let{groups:j}=new RegExp(`(?:\\${BR}(?<code>\\d+)m|\\${Bv}(?<uri>.*)${S_})`).exec(C.slice(S))||{groups:{}};if(j.code!==void 0){let q=Number.parseFloat(j.code);i=q===oH?void 0:q}else j.uri!==void 0&&(c=j.uri.length===0?void 0:j.uri)}let O=li.codes.get(Number(i));I[T+1]===`
|
|
25
|
+
`?(c&&(s+=IR("")),i&&O&&(s+=CR(O))):z===`
|
|
26
|
+
`&&(i&&O&&(s+=CR(i)),c&&(s+=IR(c))),S+=z.length}return s}});var TR=un($i=>{"use strict";function N_(e,t){var a=e.length;e.push(t);e:for(;0<a;){var s=a-1>>>1,i=e[s];if(0<Dv(i,t))e[s]=t,e[a]=i,a=s;else break e}}function $u(e){return e.length===0?null:e[0]}function Sv(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var s=0,i=e.length,c=i>>>1;s<c;){var d=2*(s+1)-1,E=e[d],C=d+1,I=e[C];if(0>Dv(E,a))C<i&&0>Dv(I,E)?(e[s]=I,e[C]=a,s=C):(e[s]=E,e[d]=a,s=d);else if(C<i&&0>Dv(I,a))e[s]=I,e[C]=a,s=C;else break e}}return t}function Dv(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}$i.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(DR=performance,$i.unstable_now=function(){return DR.now()}):(w_=Date,QR=w_.now(),$i.unstable_now=function(){return w_.now()-QR});var DR,w_,QR,eA=[],ud=[],AH=1,il=null,Xa=3,R_=!1,Th=!1,Oh=!1,T_=!1,wR=typeof setTimeout=="function"?setTimeout:null,xR=typeof clearTimeout=="function"?clearTimeout:null,SR=typeof setImmediate<"u"?setImmediate:null;function Qv(e){for(var t=$u(ud);t!==null;){if(t.callback===null)Sv(ud);else if(t.startTime<=e)Sv(ud),t.sortIndex=t.expirationTime,N_(eA,t);else break;t=$u(ud)}}function O_(e){if(Oh=!1,Qv(e),!Th)if($u(eA)!==null)Th=!0,ug||(ug=!0,lg());else{var t=$u(ud);t!==null&&k_(O_,t.startTime-e)}}var ug=!1,kh=-1,UR=5,NR=-1;function RR(){return T_?!0:!($i.unstable_now()-NR<UR)}function x_(){if(T_=!1,ug){var e=$i.unstable_now();NR=e;var t=!0;try{e:{Th=!1,Oh&&(Oh=!1,xR(kh),kh=-1),R_=!0;var a=Xa;try{t:{for(Qv(e),il=$u(eA);il!==null&&!(il.expirationTime>e&&RR());){var s=il.callback;if(typeof s=="function"){il.callback=null,Xa=il.priorityLevel;var i=s(il.expirationTime<=e);if(e=$i.unstable_now(),typeof i=="function"){il.callback=i,Qv(e),t=!0;break t}il===$u(eA)&&Sv(eA),Qv(e)}else Sv(eA);il=$u(eA)}if(il!==null)t=!0;else{var c=$u(ud);c!==null&&k_(O_,c.startTime-e),t=!1}}break e}finally{il=null,Xa=a,R_=!1}t=void 0}}finally{t?lg():ug=!1}}}var lg;typeof SR=="function"?lg=function(){SR(x_)}:typeof MessageChannel<"u"?(U_=new MessageChannel,bR=U_.port2,U_.port1.onmessage=x_,lg=function(){bR.postMessage(null)}):lg=function(){wR(x_,0)};var U_,bR;function k_(e,t){kh=wR(function(){e($i.unstable_now())},t)}$i.unstable_IdlePriority=5;$i.unstable_ImmediatePriority=1;$i.unstable_LowPriority=4;$i.unstable_NormalPriority=3;$i.unstable_Profiling=null;$i.unstable_UserBlockingPriority=2;$i.unstable_cancelCallback=function(e){e.callback=null};$i.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):UR=0<e?Math.floor(1e3/e):5};$i.unstable_getCurrentPriorityLevel=function(){return Xa};$i.unstable_next=function(e){switch(Xa){case 1:case 2:case 3:var t=3;break;default:t=Xa}var a=Xa;Xa=t;try{return e()}finally{Xa=a}};$i.unstable_requestPaint=function(){T_=!0};$i.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Xa;Xa=e;try{return t()}finally{Xa=a}};$i.unstable_scheduleCallback=function(e,t,a){var s=$i.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?s+a:s):a=s,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=a+i,e={id:AH++,callback:t,priorityLevel:e,startTime:a,expirationTime:i,sortIndex:-1},a>s?(e.sortIndex=a,N_(ud,e),$u(eA)===null&&e===$u(ud)&&(Oh?(xR(kh),kh=-1):Oh=!0,k_(O_,a-s))):(e.sortIndex=i,N_(eA,e),Th||R_||(Th=!0,ug||(ug=!0,lg()))),e};$i.unstable_shouldYield=RR;$i.unstable_wrapCallback=function(e){var t=Xa;return function(){var a=Xa;Xa=t;try{return e.apply(this,arguments)}finally{Xa=a}}}});var OR=un(Hi=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(){if(ge=!1,Re){var ye=Hi.unstable_now();$t=ye;var ht=!0;try{e:{ve=!1,be&&(be=!1,mt(et),et=-1),re=!0;var Ze=Y;try{t:{for(c(ye),q=a(z);q!==null&&!(q.expirationTime>ye&&E());){var Ce=q.callback;if(typeof Ce=="function"){q.callback=null,Y=q.priorityLevel;var xe=Ce(q.expirationTime<=ye);if(ye=Hi.unstable_now(),typeof xe=="function"){q.callback=xe,c(ye),ht=!0;break t}q===a(z)&&s(z),c(ye)}else s(z);q=a(z)}if(q!==null)ht=!0;else{var ut=a(O);ut!==null&&C(d,ut.startTime-ye),ht=!1}}break e}finally{q=null,Y=Ze,re=!1}ht=void 0}}finally{ht?Ct():Re=!1}}}function t(ye,ht){var Ze=ye.length;ye.push(ht);e:for(;0<Ze;){var Ce=Ze-1>>>1,xe=ye[Ce];if(0<i(xe,ht))ye[Ce]=ht,ye[Ze]=xe,Ze=Ce;else break e}}function a(ye){return ye.length===0?null:ye[0]}function s(ye){if(ye.length===0)return null;var ht=ye[0],Ze=ye.pop();if(Ze!==ht){ye[0]=Ze;e:for(var Ce=0,xe=ye.length,ut=xe>>>1;Ce<ut;){var oe=2*(Ce+1)-1,De=ye[oe],dt=oe+1,ct=ye[dt];if(0>i(De,Ze))dt<xe&&0>i(ct,De)?(ye[Ce]=ct,ye[dt]=Ze,Ce=dt):(ye[Ce]=De,ye[oe]=Ze,Ce=oe);else if(dt<xe&&0>i(ct,Ze))ye[Ce]=ct,ye[dt]=Ze,Ce=dt;else break e}}return ht}function i(ye,ht){var Ze=ye.sortIndex-ht.sortIndex;return Ze!==0?Ze:ye.id-ht.id}function c(ye){for(var ht=a(O);ht!==null;){if(ht.callback===null)s(O);else if(ht.startTime<=ye)s(O),ht.sortIndex=ht.expirationTime,t(z,ht);else break;ht=a(O)}}function d(ye){if(be=!1,c(ye),!ve)if(a(z)!==null)ve=!0,Re||(Re=!0,Ct());else{var ht=a(O);ht!==null&&C(d,ht.startTime-ye)}}function E(){return ge?!0:!(Hi.unstable_now()-$t<St)}function C(ye,ht){et=$e(function(){ye(Hi.unstable_now())},ht)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Hi.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var I=performance;Hi.unstable_now=function(){return I.now()}}else{var S=Date,T=S.now();Hi.unstable_now=function(){return S.now()-T}}var z=[],O=[],j=1,q=null,Y=3,re=!1,ve=!1,be=!1,ge=!1,$e=typeof setTimeout=="function"?setTimeout:null,mt=typeof clearTimeout=="function"?clearTimeout:null,at=typeof setImmediate<"u"?setImmediate:null,Re=!1,et=-1,St=5,$t=-1;if(typeof at=="function")var Ct=function(){at(e)};else if(typeof MessageChannel<"u"){var In=new MessageChannel,Qi=In.port2;In.port1.onmessage=e,Ct=function(){Qi.postMessage(null)}}else Ct=function(){$e(e,0)};Hi.unstable_IdlePriority=5,Hi.unstable_ImmediatePriority=1,Hi.unstable_LowPriority=4,Hi.unstable_NormalPriority=3,Hi.unstable_Profiling=null,Hi.unstable_UserBlockingPriority=2,Hi.unstable_cancelCallback=function(ye){ye.callback=null},Hi.unstable_forceFrameRate=function(ye){0>ye||125<ye?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):St=0<ye?Math.floor(1e3/ye):5},Hi.unstable_getCurrentPriorityLevel=function(){return Y},Hi.unstable_next=function(ye){switch(Y){case 1:case 2:case 3:var ht=3;break;default:ht=Y}var Ze=Y;Y=ht;try{return ye()}finally{Y=Ze}},Hi.unstable_requestPaint=function(){ge=!0},Hi.unstable_runWithPriority=function(ye,ht){switch(ye){case 1:case 2:case 3:case 4:case 5:break;default:ye=3}var Ze=Y;Y=ye;try{return ht()}finally{Y=Ze}},Hi.unstable_scheduleCallback=function(ye,ht,Ze){var Ce=Hi.unstable_now();switch(typeof Ze=="object"&&Ze!==null?(Ze=Ze.delay,Ze=typeof Ze=="number"&&0<Ze?Ce+Ze:Ce):Ze=Ce,ye){case 1:var xe=-1;break;case 2:xe=250;break;case 5:xe=1073741823;break;case 4:xe=1e4;break;default:xe=5e3}return xe=Ze+xe,ye={id:j++,callback:ht,priorityLevel:ye,startTime:Ze,expirationTime:xe,sortIndex:-1},Ze>Ce?(ye.sortIndex=Ze,t(O,ye),a(z)===null&&ye===a(O)&&(be?(mt(et),et=-1):be=!0,C(d,Ze-Ce))):(ye.sortIndex=xe,t(z,ye),ve||re||(ve=!0,Re||(Re=!0,Ct()))),ye},Hi.unstable_shouldYield=E,Hi.unstable_wrapCallback=function(ye){var ht=Y;return function(){var Ze=Y;Y=ht;try{return ye.apply(this,arguments)}finally{Y=Ze}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var z_=un((W7,F_)=>{"use strict";process.env.NODE_ENV==="production"?F_.exports=TR():F_.exports=OR()});var kR=un((eY,Fh)=>{"use strict";Fh.exports=function(e){function t(o,u,f,m){return new vu(o,u,f,m)}function a(){}function s(o){var u="https://react.dev/errors/"+o;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var f=2;f<arguments.length;f++)u+="&args[]="+encodeURIComponent(arguments[f])}return"Minified React error #"+o+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(o){var u=o,f=o;if(o.alternate)for(;u.return;)u=u.return;else{o=u;do u=o,(u.flags&4098)!==0&&(f=u.return),o=u.return;while(o)}return u.tag===3?f:null}function c(o){if(i(o)!==o)throw Error(s(188))}function d(o){var u=o.alternate;if(!u){if(u=i(o),u===null)throw Error(s(188));return u!==o?null:o}for(var f=o,m=u;;){var v=f.return;if(v===null)break;var D=v.alternate;if(D===null){if(m=v.return,m!==null){f=m;continue}break}if(v.child===D.child){for(D=v.child;D;){if(D===f)return c(v),o;if(D===m)return c(v),u;D=D.sibling}throw Error(s(188))}if(f.return!==m.return)f=v,m=D;else{for(var k=!1,P=v.child;P;){if(P===f){k=!0,f=v,m=D;break}if(P===m){k=!0,m=v,f=D;break}P=P.sibling}if(!k){for(P=D.child;P;){if(P===f){k=!0,f=D,m=v;break}if(P===m){k=!0,m=D,f=v;break}P=P.sibling}if(!k)throw Error(s(189))}}if(f.alternate!==m)throw Error(s(190))}if(f.tag!==3)throw Error(s(188));return f.stateNode.current===f?o:u}function E(o){var u=o.tag;if(u===5||u===26||u===27||u===6)return o;for(o=o.child;o!==null;){if(u=E(o),u!==null)return u;o=o.sibling}return null}function C(o){var u=o.tag;if(u===5||u===26||u===27||u===6)return o;for(o=o.child;o!==null;){if(o.tag!==4&&(u=C(o),u!==null))return u;o=o.sibling}return null}function I(o){return o===null||typeof o!="object"?null:(o=ja&&o[ja]||o["@@iterator"],typeof o=="function"?o:null)}function S(o){if(o==null)return null;if(typeof o=="function")return o.$$typeof===Ii?null:o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case Nl:return"Fragment";case Iu:return"Profiler";case RA:return"StrictMode";case Zn:return"Suspense";case Bu:return"SuspenseList";case Qc:return"Activity"}if(typeof o=="object")switch(o.$$typeof){case Ul:return"Portal";case No:return(o.displayName||"Context")+".Provider";case Dc:return(o._context.displayName||"Context")+".Consumer";case Ms:var u=o.render;return o=o.displayName,o||(o=u.displayName||u.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case Rl:return u=o.displayName||null,u!==null?u:S(o.type)||"Memo";case ca:u=o._payload,o=o._init;try{return S(o(u))}catch{}}return null}function T(o){return{current:o}}function z(o){0>wu||(o.current=Om[wu],Om[wu]=null,wu--)}function O(o,u){wu++,Om[wu]=o.current,o.current=u}function j(o){return o>>>=0,o===0?32:31-(km(o)/Fm|0)|0}function q(o){var u=o&42;if(u!==0)return u;switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return o&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return o}}function Y(o,u,f){var m=o.pendingLanes;if(m===0)return 0;var v=0,D=o.suspendedLanes,k=o.pingedLanes;o=o.warmLanes;var P=m&134217727;return P!==0?(m=P&~D,m!==0?v=q(m):(k&=P,k!==0?v=q(k):f||(f=P&~o,f!==0&&(v=q(f))))):(P=m&~D,P!==0?v=q(P):k!==0?v=q(k):f||(f=m&~o,f!==0&&(v=q(f)))),v===0?0:u!==0&&u!==v&&(u&D)===0&&(D=v&-v,f=u&-u,D>=f||D===32&&(f&4194048)!==0)?u:v}function re(o,u){return(o.pendingLanes&~(o.suspendedLanes&~o.pingedLanes)&u)===0}function ve(o,u){switch(o){case 1:case 2:case 4:case 8:case 64:return u+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function be(){var o=Nc;return Nc<<=1,(Nc&4194048)===0&&(Nc=256),o}function ge(){var o=Aa;return Aa<<=1,(Aa&62914560)===0&&(Aa=4194304),o}function $e(o){for(var u=[],f=0;31>f;f++)u.push(o);return u}function mt(o,u){o.pendingLanes|=u,u!==268435456&&(o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0)}function at(o,u,f,m,v,D){var k=o.pendingLanes;o.pendingLanes=f,o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0,o.expiredLanes&=f,o.entangledLanes&=f,o.errorRecoveryDisabledLanes&=f,o.shellSuspendCounter=0;var P=o.entanglements,le=o.expirationTimes,Ue=o.hiddenUpdates;for(f=k&~f;0<f;){var Ge=31-Jr(f),tt=1<<Ge;P[Ge]=0,le[Ge]=-1;var lt=Ue[Ge];if(lt!==null)for(Ue[Ge]=null,Ge=0;Ge<lt.length;Ge++){var Mt=lt[Ge];Mt!==null&&(Mt.lane&=-536870913)}f&=~tt}m!==0&&Re(o,m,0),D!==0&&v===0&&o.tag!==0&&(o.suspendedLanes|=D&~(k&~u))}function Re(o,u,f){o.pendingLanes|=u,o.suspendedLanes&=~u;var m=31-Jr(u);o.entangledLanes|=u,o.entanglements[m]=o.entanglements[m]|1073741824|f&4194090}function et(o,u){var f=o.entangledLanes|=u;for(o=o.entanglements;f;){var m=31-Jr(f),v=1<<m;v&u|o[m]&u&&(o[m]|=u),f&=~v}}function St(o){switch(o){case 2:o=1;break;case 8:o=4;break;case 32:o=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:o=128;break;case 268435456:o=134217728;break;default:o=0}return o}function $t(o){return o&=-o,2<o?8<o?(o&134217727)!==0?32:268435456:8:2}function Ct(o){if(typeof kA=="function"&&K0(o),go&&typeof go.setStrictMode=="function")try{go.setStrictMode(qd,o)}catch{}}function In(o){if(Lm===void 0)try{throw Error()}catch(f){var u=f.stack.trim().match(/\n( *(at )?)/);Lm=u&&u[1]||"",Sy=-1<f.stack.indexOf(`
|
|
27
|
+
at`)?" (<anonymous>)":-1<f.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
28
|
+
`+Lm+o+Sy}function Qi(o,u){if(!o||Xd)return"";Xd=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var m={DetermineComponentFrameRoot:function(){try{if(u){var tt=function(){throw Error()};if(Object.defineProperty(tt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(tt,[])}catch(Mt){var lt=Mt}Reflect.construct(o,[],tt)}else{try{tt.call()}catch(Mt){lt=Mt}o.call(tt.prototype)}}else{try{throw Error()}catch(Mt){lt=Mt}(tt=o())&&typeof tt.catch=="function"&&tt.catch(function(){})}}catch(Mt){if(Mt&<&&typeof Mt.stack=="string")return[Mt.stack,lt.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var D=m.DetermineComponentFrameRoot(),k=D[0],P=D[1];if(k&&P){var le=k.split(`
|
|
29
|
+
`),Ue=P.split(`
|
|
30
|
+
`);for(v=m=0;m<le.length&&!le[m].includes("DetermineComponentFrameRoot");)m++;for(;v<Ue.length&&!Ue[v].includes("DetermineComponentFrameRoot");)v++;if(m===le.length||v===Ue.length)for(m=le.length-1,v=Ue.length-1;1<=m&&0<=v&&le[m]!==Ue[v];)v--;for(;1<=m&&0<=v;m--,v--)if(le[m]!==Ue[v]){if(m!==1||v!==1)do if(m--,v--,0>v||le[m]!==Ue[v]){var Ge=`
|
|
31
|
+
`+le[m].replace(" at new "," at ");return o.displayName&&Ge.includes("<anonymous>")&&(Ge=Ge.replace("<anonymous>",o.displayName)),Ge}while(1<=m&&0<=v);break}}}finally{Xd=!1,Error.prepareStackTrace=f}return(f=o?o.displayName||o.name:"")?In(f):""}function ye(o){switch(o.tag){case 26:case 27:case 5:return In(o.type);case 16:return In("Lazy");case 13:return In("Suspense");case 19:return In("SuspenseList");case 0:case 15:return Qi(o.type,!1);case 11:return Qi(o.type.render,!1);case 1:return Qi(o.type,!0);case 31:return In("Activity");default:return""}}function ht(o){try{var u="";do u+=ye(o),o=o.return;while(o);return u}catch(f){return`
|
|
32
|
+
Error generating stack: `+f.message+`
|
|
33
|
+
`+f.stack}}function Ze(o,u){if(typeof o=="object"&&o!==null){var f=$m.get(o);return f!==void 0?f:(u={value:o,source:u,stack:ht(u)},$m.set(o,u),u)}return{value:o,source:u,stack:ht(u)}}function Ce(o,u){kl[Rc++]=lp,kl[Rc++]=sp,sp=o,lp=u}function xe(o,u,f){Ur[lr++]=da,Ur[lr++]=ur,Ur[lr++]=ki,ki=o;var m=da;o=ur;var v=32-Jr(m)-1;m&=~(1<<v),f+=1;var D=32-Jr(u)+v;if(30<D){var k=v-v%5;D=(m&(1<<k)-1).toString(32),m>>=k,v-=k,da=1<<32-Jr(u)+v|f<<v|m,ur=D+o}else da=1<<D|f<<v|m,ur=o}function ut(o){o.return!==null&&(Ce(o,1),xe(o,1,0))}function oe(o){for(;o===sp;)sp=kl[--Rc],kl[Rc]=null,lp=kl[--Rc],kl[Rc]=null;for(;o===ki;)ki=Ur[--lr],Ur[lr]=null,ur=Ur[--lr],Ur[lr]=null,da=Ur[--lr],Ur[lr]=null}function De(o,u){O(pi,u),O(Wd,o),O(Kr,null),o=U(u),z(Kr),O(Kr,o)}function dt(){z(Kr),z(Wd),z(pi)}function ct(o){o.memoizedState!==null&&O(Ro,o);var u=Kr.current,f=H(u,o.type);u!==f&&(O(Wd,o),O(Kr,f))}function Jt(o){Wd.current===o&&(z(Kr),z(Wd)),Ro.current===o&&(z(Ro),Ye?jr._currentValue=ri:jr._currentValue2=ri)}function Qn(o){var u=Error(s(418,""));throw er(Ze(u,o)),Hm}function Ht(o,u){if(!qt)throw Error(s(175));Cy(o.stateNode,o.type,o.memoizedProps,u,o)||Qn(o)}function Fn(o){for(Qa=o.return;Qa;)switch(Qa.tag){case 5:case 13:fs=!1;return;case 27:case 3:fs=!0;return;default:Qa=Qa.return}}function yt(o){if(!qt||o!==Qa)return!1;if(!On)return Fn(o),On=!0,!1;var u=o.tag;if(vr?u!==3&&u!==27&&(u!==5||Qu(o.type)&&!he(o.type,o.memoizedProps))&&Cr&&Qn(o):u!==3&&(u!==5||Qu(o.type)&&!he(o.type,o.memoizedProps))&&Cr&&Qn(o),Fn(o),u===13){if(!qt)throw Error(s(316));if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(s(317));Cr=Sm(o)}else Cr=vr&&u===27?Ey(o.type,Cr):Qa?_m(o.stateNode):null;return!0}function Pn(){qt&&(Cr=Qa=null,On=!1)}function Nt(){var o=Tc;return o!==null&&(Zr===null?Zr=o:Zr.push.apply(Zr,o),Tc=null),o}function er(o){Tc===null?Tc=[o]:Tc.push(o)}function Ai(o,u){return o===u&&(o!==0||1/o===1/u)||o!==o&&u!==u}function ft(o,u,f){Ye?(O(up,u._currentValue),u._currentValue=f):(O(up,u._currentValue2),u._currentValue2=f)}function Vt(o){var u=up.current;Ye?o._currentValue=u:o._currentValue2=u,z(up)}function Sr(o,u,f){for(;o!==null;){var m=o.alternate;if((o.childLanes&u)!==u?(o.childLanes|=u,m!==null&&(m.childLanes|=u)):m!==null&&(m.childLanes&u)!==u&&(m.childLanes|=u),o===f)break;o=o.return}}function Ji(o,u,f,m){var v=o.child;for(v!==null&&(v.return=o);v!==null;){var D=v.dependencies;if(D!==null){var k=v.child;D=D.firstContext;e:for(;D!==null;){var P=D;D=v;for(var le=0;le<u.length;le++)if(P.context===u[le]){D.lanes|=f,P=D.alternate,P!==null&&(P.lanes|=f),Sr(D.return,f,o),m||(k=null);break e}D=P.next}}else if(v.tag===18){if(k=v.return,k===null)throw Error(s(341));k.lanes|=f,D=k.alternate,D!==null&&(D.lanes|=f),Sr(k,f,o),k=null}else k=v.child;if(k!==null)k.return=v;else for(k=v;k!==null;){if(k===o){k=null;break}if(v=k.sibling,v!==null){v.return=k.return,k=v;break}k=k.return}v=k}}function We(o,u,f,m){o=null;for(var v=u,D=!1;v!==null;){if(!D){if((v.flags&524288)!==0)D=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var k=v.alternate;if(k===null)throw Error(s(387));if(k=k.memoizedProps,k!==null){var P=v.type;Ja(v.pendingProps.value,k.value)||(o!==null?o.push(P):o=[P])}}else if(v===Ro.current){if(k=v.alternate,k===null)throw Error(s(387));k.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(o!==null?o.push(jr):o=[jr])}v=v.return}o!==null&&Ji(u,o,f,m),u.flags|=262144}function zr(o){for(o=o.firstContext;o!==null;){var u=o.context;if(!Ja(Ye?u._currentValue:u._currentValue2,o.memoizedValue))return!0;o=o.next}return!1}function Ki(o){To=o,Sa=null,o=o.dependencies,o!==null&&(o.firstContext=null)}function di(o){return tr(To,o)}function Ei(o,u){return To===null&&Ki(o),tr(o,u)}function tr(o,u){var f=Ye?u._currentValue:u._currentValue2;if(u={context:u,memoizedValue:f,next:null},Sa===null){if(o===null)throw Error(s(308));Sa=u,o.dependencies={lanes:0,firstContext:u},o.flags|=524288}else Sa=Sa.next=u;return f}function to(){return{controller:new Z0,data:new Map,refCount:0}}function no(o){o.refCount--,o.refCount===0&&Y0(V0,function(){o.controller.abort()})}function Ui(o){o!==FA&&o.next===null&&(FA===null?Fl=FA=o:FA=FA.next=o),cp=!0,Gm||(Gm=!0,mr())}function Wr(o,u){if(!Oc&&cp){Oc=!0;do for(var f=!1,m=Fl;m!==null;){if(!u)if(o!==0){var v=m.pendingLanes;if(v===0)var D=0;else{var k=m.suspendedLanes,P=m.pingedLanes;D=(1<<31-Jr(42|o)+1)-1,D&=v&~(k&~P),D=D&201326741?D&201326741|1:D?D|2:0}D!==0&&(f=!0,br(m,D))}else D=yn,D=Y(m,m===ai?D:0,m.cancelPendingCommit!==null||m.timeoutHandle!==Se),(D&3)===0||re(m,D)||(f=!0,br(m,D));m=m.next}while(f);Oc=!1}}function Zi(){Mr()}function Mr(){cp=Gm=!1;var o=0;zA!==0&&(Hn()&&(o=zA),zA=0);for(var u=fi(),f=null,m=Fl;m!==null;){var v=m.next,D=ha(m,u);D===0?(m.next=null,f===null?Fl=v:f.next=v,v===null&&(FA=f)):(f=m,(o!==0||(D&3)!==0)&&(cp=!0)),m=v}Wr(o,!1)}function ha(o,u){for(var f=o.suspendedLanes,m=o.pingedLanes,v=o.expirationTimes,D=o.pendingLanes&-62914561;0<D;){var k=31-Jr(D),P=1<<k,le=v[k];le===-1?((P&f)===0||(P&m)!==0)&&(v[k]=ve(P,u)):le<=u&&(o.expiredLanes|=P),D&=~P}if(u=ai,f=yn,f=Y(o,o===u?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Se),m=o.callbackNode,f===0||o===u&&(Ut===2||Ut===9)||o.cancelPendingCommit!==null)return m!==null&&m!==null&&zm(m),o.callbackNode=null,o.callbackPriority=0;if((f&3)===0||re(o,f)){if(u=f&-f,u===o.callbackPriority)return u;switch(m!==null&&zm(m),$t(f)){case 2:case 8:f=J0;break;case 32:f=Mm;break;case 268435456:f=Qy;break;default:f=Mm}return m=ea.bind(null,o),f=OA(f,m),o.callbackPriority=u,o.callbackNode=f,u}return m!==null&&m!==null&&zm(m),o.callbackPriority=2,o.callbackNode=null,2}function ea(o,u){if(ni!==0&&ni!==5)return o.callbackNode=null,o.callbackPriority=0,null;var f=o.callbackNode;if(xl(!0)&&o.callbackNode!==f)return null;var m=yn;return m=Y(o,o===ai?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Se),m===0?null:(bl(o,m,u),ha(o,fi()),o.callbackNode!=null&&o.callbackNode===f?ea.bind(null,o):null)}function br(o,u){if(xl())return null;bl(o,u,!0)}function mr(){fo?tp(function(){(gn&6)!==0?OA(Ae,Zi):Mr()}):OA(Ae,Zi)}function hr(){return zA===0&&(zA=be()),zA}function Er(o,u){if(ef===null){var f=ef=[];jm=0,MA=hr(),LA={status:"pending",value:void 0,then:function(m){f.push(m)}}}return jm++,u.then(x,x),u}function x(){if(--jm===0&&ef!==null){LA!==null&&(LA.status="fulfilled");var o=ef;ef=null,MA=0,LA=null;for(var u=0;u<o.length;u++)(0,o[u])()}}function V(o,u){var f=[],m={status:"pending",value:null,reason:null,then:function(v){f.push(v)}};return o.then(function(){m.status="fulfilled",m.value=u;for(var v=0;v<f.length;v++)(0,f[v])(u)},function(v){for(m.status="rejected",m.reason=v,v=0;v<f.length;v++)(0,f[v])(void 0)}),m}function Qe(){var o=kc.current;return o!==null?o:ai.pooledCache}function He(o,u){u===null?O(kc,kc.current):O(kc,u.pool)}function nt(){var o=Qe();return o===null?null:{parent:Ye?Fi._currentValue:Fi._currentValue2,pool:o}}function st(o,u){if(Ja(o,u))return!0;if(typeof o!="object"||o===null||typeof u!="object"||u===null)return!1;var f=Object.keys(o),m=Object.keys(u);if(f.length!==m.length)return!1;for(m=0;m<f.length;m++){var v=f[m];if(!q0.call(u,v)||!Ja(o[v],u[v]))return!1}return!0}function vt(o){return o=o.status,o==="fulfilled"||o==="rejected"}function Bt(){}function Rt(o,u,f){switch(f=o[f],f===void 0?o.push(u):f!==u&&(u.then(Bt,Bt),u=f),u.status){case"fulfilled":return u.value;case"rejected":throw o=u.reason,Yi(o),o;default:if(typeof u.status=="string")u.then(Bt,Bt);else{if(o=ai,o!==null&&100<o.shellSuspendCounter)throw Error(s(482));o=u,o.status="pending",o.then(function(m){if(u.status==="pending"){var v=u;v.status="fulfilled",v.value=m}},function(m){if(u.status==="pending"){var v=u;v.status="rejected",v.reason=m}})}switch(u.status){case"fulfilled":return u.value;case"rejected":throw o=u.reason,Yi(o),o}throw Fc=u,tf}}function yi(){if(Fc===null)throw Error(s(459));var o=Fc;return Fc=null,o}function Yi(o){if(o===tf||o===Ap)throw Error(s(483))}function Qo(){for(var o=$A,u=Jm=$A=0;u<o;){var f=Oo[u];Oo[u++]=null;var m=Oo[u];Oo[u++]=null;var v=Oo[u];Oo[u++]=null;var D=Oo[u];if(Oo[u++]=null,m!==null&&v!==null){var k=m.pending;k===null?v.next=v:(v.next=k.next,k.next=v),m.pending=v}D!==0&&Ko(f,v,D)}}function Gt(o,u,f,m){Oo[$A++]=o,Oo[$A++]=u,Oo[$A++]=f,Oo[$A++]=m,Jm|=m,o.lanes|=m,o=o.alternate,o!==null&&(o.lanes|=m)}function Ta(o,u,f,m){return Gt(o,u,f,m),Al(o)}function nr(o,u){return Gt(o,null,null,u),Al(o)}function Ko(o,u,f){o.lanes|=f;var m=o.alternate;m!==null&&(m.lanes|=f);for(var v=!1,D=o.return;D!==null;)D.childLanes|=f,m=D.alternate,m!==null&&(m.childLanes|=f),D.tag===22&&(o=D.stateNode,o===null||o._visibility&1||(v=!0)),o=D,D=D.return;return o.tag===3?(D=o.stateNode,v&&u!==null&&(v=31-Jr(f),o=D.hiddenUpdates,m=o[v],m===null?o[v]=[u]:m.push(u),u.lane=f|536870912),D):null}function Al(o){if(50<Zs)throw Zs=0,Rr=null,Error(s(185));for(var u=o.return;u!==null;)o=u,u=o.return;return o.tag===3?o.stateNode:null}function Un(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zo(o,u){o=o.updateQueue,u.updateQueue===o&&(u.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,callbacks:null})}function ir(o){return{lane:o,tag:0,payload:null,callback:null,next:null}}function Ea(o,u,f){var m=o.updateQueue;if(m===null)return null;if(m=m.shared,(gn&2)!==0){var v=m.pending;return v===null?u.next=u:(u.next=v.next,v.next=u),m.pending=u,u=Al(o),Ko(o,null,f),u}return Gt(o,m,u,f),Al(o)}function it(o,u,f){if(u=u.updateQueue,u!==null&&(u=u.shared,(f&4194048)!==0)){var m=u.lanes;m&=o.pendingLanes,f|=m,u.lanes=f,et(o,f)}}function Yo(o,u){var f=o.updateQueue,m=o.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var v=null,D=null;if(f=f.firstBaseUpdate,f!==null){do{var k={lane:f.lane,tag:f.tag,payload:f.payload,callback:null,next:null};D===null?v=D=k:D=D.next=k,f=f.next}while(f!==null);D===null?v=D=u:D=D.next=u}else v=D=u;f={baseState:m.baseState,firstBaseUpdate:v,lastBaseUpdate:D,shared:m.shared,callbacks:m.callbacks},o.updateQueue=f;return}o=f.lastBaseUpdate,o===null?f.firstBaseUpdate=u:o.next=u,f.lastBaseUpdate=u}function ii(){if(Km){var o=LA;if(o!==null)throw o}}function ta(o,u,f,m){Km=!1;var v=o.updateQueue;xu=!1;var D=v.firstBaseUpdate,k=v.lastBaseUpdate,P=v.shared.pending;if(P!==null){v.shared.pending=null;var le=P,Ue=le.next;le.next=null,k===null?D=Ue:k.next=Ue,k=le;var Ge=o.alternate;Ge!==null&&(Ge=Ge.updateQueue,P=Ge.lastBaseUpdate,P!==k&&(P===null?Ge.firstBaseUpdate=Ue:P.next=Ue,Ge.lastBaseUpdate=le))}if(D!==null){var tt=v.baseState;k=0,Ge=Ue=le=null,P=D;do{var lt=P.lane&-536870913,Mt=lt!==P.lane;if(Mt?(yn<)===lt:(m<)===lt){lt!==0&<===MA&&(Km=!0),Ge!==null&&(Ge=Ge.next={lane:0,tag:P.tag,payload:P.payload,callback:null,next:null});e:{var Va=o,$c=P;lt=u;var Fo=f;switch($c.tag){case 1:if(Va=$c.payload,typeof Va=="function"){tt=Va.call(Fo,tt,lt);break e}tt=Va;break e;case 3:Va.flags=Va.flags&-65537|128;case 0:if(Va=$c.payload,lt=typeof Va=="function"?Va.call(Fo,tt,lt):Va,lt==null)break e;tt=NA({},tt,lt);break e;case 2:xu=!0}}lt=P.callback,lt!==null&&(o.flags|=64,Mt&&(o.flags|=8192),Mt=v.callbacks,Mt===null?v.callbacks=[lt]:Mt.push(lt))}else Mt={lane:lt,tag:P.tag,payload:P.payload,callback:P.callback,next:null},Ge===null?(Ue=Ge=Mt,le=tt):Ge=Ge.next=Mt,k|=lt;if(P=P.next,P===null){if(P=v.shared.pending,P===null)break;Mt=P,P=Mt.next,Mt.next=null,v.lastBaseUpdate=Mt,v.shared.pending=null}}while(!0);Ge===null&&(le=tt),v.baseState=le,v.firstBaseUpdate=Ue,v.lastBaseUpdate=Ge,D===null&&(v.shared.lanes=0),js|=k,o.lanes=k,o.memoizedState=tt}}function Oa(o,u){if(typeof o!="function")throw Error(s(191,o));o.call(u)}function ql(o,u){var f=o.callbacks;if(f!==null)for(o.callbacks=null,o=0;o<f.length;o++)Oa(f[o],u)}function io(o,u){o=Ya,O(nf,o),O(HA,u),Ya=o|u.baseLanes}function ro(){O(nf,Ya),O(HA,HA.current)}function dl(){Ya=nf.current,z(HA),z(nf)}function zn(){throw Error(s(321))}function vs(o,u){if(u===null)return!1;for(var f=0;f<u.length&&f<o.length;f++)if(!Ja(o[f],u[f]))return!1;return!0}function ka(o,u,f,m,v,D){return zl=D,rn=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,l.H=o===null||o.memoizedState===null?wy:xy,Ml=!1,D=f(m,v),Ml=!1,Uu&&(D=fl(u,f,m,v)),Xl(o),D}function Xl(o){l.H=jA;var u=Gn!==null&&Gn.next!==null;if(zl=0,qi=Gn=rn=null,rf=!1,af=0,GA=null,u)throw Error(s(300));o===null||Nr||(o=o.dependencies,o!==null&&zr(o)&&(Nr=!0))}function fl(o,u,f,m){rn=o;var v=0;do{if(Uu&&(GA=null),af=0,Uu=!1,25<=v)throw Error(s(301));if(v+=1,qi=Gn=null,o.updateQueue!=null){var D=o.updateQueue;D.lastEffect=null,D.events=null,D.stores=null,D.memoCache!=null&&(D.memoCache.index=0)}l.H=W0,D=u(f,m)}while(Uu);return D}function pl(){var o=l.H,u=o.useState()[0];return u=typeof u.then=="function"?$r(u):u,o=o.useState()[0],(Gn!==null?Gn.memoizedState:null)!==o&&(rn.flags|=1024),u}function Lr(){var o=fp!==0;return fp=0,o}function na(o,u,f){u.updateQueue=o.updateQueue,u.flags&=-2053,o.lanes&=~f}function gl(o){if(rf){for(o=o.memoizedState;o!==null;){var u=o.queue;u!==null&&(u.pending=null),o=o.next}rf=!1}zl=0,qi=Gn=rn=null,Uu=!1,af=fp=0,GA=null}function Ni(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qi===null?rn.memoizedState=qi=o:qi=qi.next=o,qi}function Sn(){if(Gn===null){var o=rn.alternate;o=o!==null?o.memoizedState:null}else o=Gn.next;var u=qi===null?rn.memoizedState:qi.next;if(u!==null)qi=u,Gn=o;else{if(o===null)throw rn.alternate===null?Error(s(467)):Error(s(310));Gn=o,o={memoizedState:Gn.memoizedState,baseState:Gn.baseState,baseQueue:Gn.baseQueue,queue:Gn.queue,next:null},qi===null?rn.memoizedState=qi=o:qi=qi.next=o}return qi}function Wn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $r(o){var u=af;return af+=1,GA===null&&(GA=[]),o=Rt(GA,o,u),u=rn,(qi===null?u.memoizedState:qi.next)===null&&(u=u.alternate,l.H=u===null||u.memoizedState===null?wy:xy),o}function Bn(o){if(o!==null&&typeof o=="object"){if(typeof o.then=="function")return $r(o);if(o.$$typeof===No)return di(o)}throw Error(s(438,String(o)))}function ao(o){var u=null,f=rn.updateQueue;if(f!==null&&(u=f.memoCache),u==null){var m=rn.alternate;m!==null&&(m=m.updateQueue,m!==null&&(m=m.memoCache,m!=null&&(u={data:m.data.map(function(v){return v.slice()}),index:0})))}if(u==null&&(u={data:[],index:0}),f===null&&(f=Wn(),rn.updateQueue=f),f.memoCache=u,f=u.data[u.index],f===void 0)for(f=u.data[u.index]=Array(o),m=0;m<o;m++)f[m]=Kd;return u.index++,f}function Ri(o,u){return typeof u=="function"?u(o):u}function Fa(o){var u=Sn();return za(u,Gn,o)}function za(o,u,f){var m=o.queue;if(m===null)throw Error(s(311));m.lastRenderedReducer=f;var v=o.baseQueue,D=m.pending;if(D!==null){if(v!==null){var k=v.next;v.next=D.next,D.next=k}u.baseQueue=v=D,m.pending=null}if(D=o.baseState,v===null)o.memoizedState=D;else{u=v.next;var P=k=null,le=null,Ue=u,Ge=!1;do{var tt=Ue.lane&-536870913;if(tt!==Ue.lane?(yn&tt)===tt:(zl&tt)===tt){var lt=Ue.revertLane;if(lt===0)le!==null&&(le=le.next={lane:0,revertLane:0,action:Ue.action,hasEagerState:Ue.hasEagerState,eagerState:Ue.eagerState,next:null}),tt===MA&&(Ge=!0);else if((zl<)===lt){Ue=Ue.next,lt===MA&&(Ge=!0);continue}else tt={lane:0,revertLane:Ue.revertLane,action:Ue.action,hasEagerState:Ue.hasEagerState,eagerState:Ue.eagerState,next:null},le===null?(P=le=tt,k=D):le=le.next=tt,rn.lanes|=lt,js|=lt;tt=Ue.action,Ml&&f(D,tt),D=Ue.hasEagerState?Ue.eagerState:f(D,tt)}else lt={lane:tt,revertLane:Ue.revertLane,action:Ue.action,hasEagerState:Ue.hasEagerState,eagerState:Ue.eagerState,next:null},le===null?(P=le=lt,k=D):le=le.next=lt,rn.lanes|=tt,js|=tt;Ue=Ue.next}while(Ue!==null&&Ue!==u);if(le===null?k=D:le.next=P,!Ja(D,o.memoizedState)&&(Nr=!0,Ge&&(f=LA,f!==null)))throw f;o.memoizedState=D,o.baseState=k,o.baseQueue=le,m.lastRenderedState=D}return v===null&&(m.lanes=0),[o.memoizedState,m.dispatch]}function N(o){var u=Sn(),f=u.queue;if(f===null)throw Error(s(311));f.lastRenderedReducer=o;var m=f.dispatch,v=f.pending,D=u.memoizedState;if(v!==null){f.pending=null;var k=v=v.next;do D=o(D,k.action),k=k.next;while(k!==v);Ja(D,u.memoizedState)||(Nr=!0),u.memoizedState=D,u.baseQueue===null&&(u.baseState=D),f.lastRenderedState=D}return[D,m]}function R(o,u,f){var m=rn,v=Sn(),D=On;if(D){if(f===void 0)throw Error(s(407));f=f()}else f=u();var k=!Ja((Gn||v).memoizedState,f);k&&(v.memoizedState=f,Nr=!0),v=v.queue;var P=ie.bind(null,m,v,o);if(ml(2048,8,P,[o]),v.getSnapshot!==u||k||qi!==null&&qi.memoizedState.tag&1){if(m.flags|=2048,Cs(9,vi(),J.bind(null,m,v,f,u),null),ai===null)throw Error(s(349));D||(zl&124)!==0||G(m,u,f)}return f}function G(o,u,f){o.flags|=16384,o={getSnapshot:u,value:f},u=rn.updateQueue,u===null?(u=Wn(),rn.updateQueue=u,u.stores=[o]):(f=u.stores,f===null?u.stores=[o]:f.push(o))}function J(o,u,f,m){u.value=f,u.getSnapshot=m,me(u)&&we(o)}function ie(o,u,f){return f(function(){me(u)&&we(o)})}function me(o){var u=o.getSnapshot;o=o.value;try{var f=u();return!Ja(o,f)}catch{return!0}}function we(o){var u=nr(o,2);u!==null&&xr(u,o,2)}function _e(o){var u=Ni();if(typeof o=="function"){var f=o;if(o=f(),Ml){Ct(!0);try{f()}finally{Ct(!1)}}}return u.memoizedState=u.baseState=o,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:o},u}function Oe(o,u,f,m){return o.baseState=f,za(o,Gn,typeof m=="function"?m:Ri)}function ke(o,u,f,m,v){if(La(o))throw Error(s(485));if(o=u.action,o!==null){var D={payload:v,action:o,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){D.listeners.push(k)}};l.T!==null?f(!0):D.isTransition=!1,m(D),f=u.pending,f===null?(D.next=u.pending=D,Je(u,D)):(D.next=f.next,u.pending=f.next=D)}}function Je(o,u){var f=u.action,m=u.payload,v=o.state;if(u.isTransition){var D=l.T,k={};l.T=k;try{var P=f(v,m),le=l.S;le!==null&&le(k,P),Et(o,u,P)}catch(Ue){bn(o,u,Ue)}finally{l.T=D}}else try{D=f(v,m),Et(o,u,D)}catch(Ue){bn(o,u,Ue)}}function Et(o,u,f){f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(function(m){jt(o,u,m)},function(m){return bn(o,u,m)}):jt(o,u,f)}function jt(o,u,f){u.status="fulfilled",u.value=f,en(u),o.state=f,u=o.pending,u!==null&&(f=u.next,f===u?o.pending=null:(f=f.next,u.next=f,Je(o,f)))}function bn(o,u,f){var m=o.pending;if(o.pending=null,m!==null){m=m.next;do u.status="rejected",u.reason=f,en(u),u=u.next;while(u!==m)}o.action=null}function en(o){o=o.listeners;for(var u=0;u<o.length;u++)(0,o[u])()}function Si(o,u){return u}function wr(o,u){if(On){var f=ai.formState;if(f!==null){e:{var m=rn;if(On){if(Cr){var v=M0(Cr,fs);if(v){Cr=_m(v),m=Bm(v);break e}}Qn(m)}m=!1}m&&(u=f[0])}}f=Ni(),f.memoizedState=f.baseState=u,m={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:u},f.queue=m,f=_s.bind(null,rn,m),m.dispatch=f,m=_e(!1);var D=fe.bind(null,rn,!1,m.queue);return m=Ni(),v={state:u,dispatch:null,action:o,pending:null},m.queue=v,f=ke.bind(null,rn,v,D,f),v.dispatch=f,m.memoizedState=o,[u,f,!1]}function Ma(o){var u=Sn();return ia(u,Gn,o)}function ia(o,u,f){if(u=za(o,u,Si)[0],o=Fa(Ri)[0],typeof u=="object"&&u!==null&&typeof u.then=="function")try{var m=$r(u)}catch(k){throw k===tf?Ap:k}else m=u;u=Sn();var v=u.queue,D=v.dispatch;return f!==u.memoizedState&&(rn.flags|=2048,Cs(9,vi(),Wl.bind(null,v,f),null)),[m,D,o]}function Wl(o,u){o.action=u}function qu(o){var u=Sn(),f=Gn;if(f!==null)return ia(u,f,o);Sn(),u=u.memoizedState,f=Sn();var m=f.queue.dispatch;return f.memoizedState=o,[u,m,!1]}function Cs(o,u,f,m){return o={tag:o,create:f,deps:m,inst:u,next:null},u=rn.updateQueue,u===null&&(u=Wn(),rn.updateQueue=u),f=u.lastEffect,f===null?u.lastEffect=o.next=o:(m=f.next,f.next=o,o.next=m,u.lastEffect=o),o}function vi(){return{destroy:void 0,resource:void 0}}function Xu(){return Sn().memoizedState}function Is(o,u,f,m){var v=Ni();m=m===void 0?null:m,rn.flags|=o,v.memoizedState=Cs(1|u,vi(),f,m)}function ml(o,u,f,m){var v=Sn();m=m===void 0?null:m;var D=v.memoizedState.inst;Gn!==null&&m!==null&&vs(m,Gn.memoizedState.deps)?v.memoizedState=Cs(u,D,f,m):(rn.flags|=o,v.memoizedState=Cs(1|u,D,f,m))}function eu(o,u){Is(8390656,8,o,u)}function tu(o,u){ml(2048,8,o,u)}function nu(o,u){return ml(4,2,o,u)}function iu(o,u){return ml(4,4,o,u)}function Wu(o,u){if(typeof u=="function"){o=o();var f=u(o);return function(){typeof f=="function"?f():u(null)}}if(u!=null)return o=o(),u.current=o,function(){u.current=null}}function xd(o,u,f){f=f!=null?f.concat([o]):null,ml(4,4,Wu.bind(null,u,o),f)}function ec(){}function ru(o,u){var f=Sn();u=u===void 0?null:u;var m=f.memoizedState;return u!==null&&vs(u,m[1])?m[0]:(f.memoizedState=[o,u],o)}function Bs(o,u){var f=Sn();u=u===void 0?null:u;var m=f.memoizedState;if(u!==null&&vs(u,m[1]))return m[0];if(m=o(),Ml){Ct(!0);try{o()}finally{Ct(!1)}}return f.memoizedState=[m,u],m}function tc(o,u,f){return f===void 0||(zl&1073741824)!==0?o.memoizedState=u:(o.memoizedState=f,o=gc(),rn.lanes|=o,js|=o,f)}function rr(o,u,f,m){return Ja(f,u)?f:HA.current!==null?(o=tc(o,f,m),Ja(o,u)||(Nr=!0),o):(zl&42)===0?(Nr=!0,o.memoizedState=f):(o=gc(),rn.lanes|=o,js|=o,u)}function nc(o,u,f,m,v){var D=kt();Qt(D!==0&&8>D?D:8);var k=l.T,P={};l.T=P,fe(o,!1,u,f);try{var le=v(),Ue=l.S;if(Ue!==null&&Ue(P,le),le!==null&&typeof le=="object"&&typeof le.then=="function"){var Ge=V(le,m);ra(o,u,Ge,sr(o))}else ra(o,u,m,sr(o))}catch(tt){ra(o,u,{then:function(){},status:"rejected",reason:tt},sr())}finally{Qt(D),l.T=k}}function ic(o){var u=o.memoizedState;if(u!==null)return u;u={memoizedState:ri,baseState:ri,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:ri},next:null};var f={};return u.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:f},next:null},o.memoizedState=u,o=o.alternate,o!==null&&(o.memoizedState=u),u}function rc(){return di(jr)}function ac(){return Sn().memoizedState}function Vo(){return Sn().memoizedState}function qo(o){for(var u=o.return;u!==null;){switch(u.tag){case 24:case 3:var f=sr();o=ir(f);var m=Ea(u,o,f);m!==null&&(xr(m,u,f),it(m,u,f)),u={cache:to()},o.payload=u;return}u=u.return}}function au(o,u,f){var m=sr();f={lane:m,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},La(o)?Ud(u,f):(f=Ta(o,u,f,m),f!==null&&(xr(f,o,m),mA(f,u,m)))}function _s(o,u,f){var m=sr();ra(o,u,f,m)}function ra(o,u,f,m){var v={lane:m,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(La(o))Ud(u,v);else{var D=o.alternate;if(o.lanes===0&&(D===null||D.lanes===0)&&(D=u.lastRenderedReducer,D!==null))try{var k=u.lastRenderedState,P=D(k,f);if(v.hasEagerState=!0,v.eagerState=P,Ja(P,k))return Gt(o,u,v,0),ai===null&&Qo(),!1}catch{}if(f=Ta(o,u,v,m),f!==null)return xr(f,o,m),mA(f,u,m),!0}return!1}function fe(o,u,f,m){if(m={lane:2,revertLane:hr(),action:m,hasEagerState:!1,eagerState:null,next:null},La(o)){if(u)throw Error(s(479))}else u=Ta(o,f,m,2),u!==null&&xr(u,o,2)}function La(o){var u=o.alternate;return o===rn||u!==null&&u===rn}function Ud(o,u){Uu=rf=!0;var f=o.pending;f===null?u.next=u:(u.next=f.next,f.next=u),o.pending=u}function mA(o,u,f){if((f&4194048)!==0){var m=u.lanes;m&=o.pendingLanes,f|=m,u.lanes=f,et(o,f)}}function Ve(o){var u=of;return of+=1,PA===null&&(PA=[]),Rt(PA,o,u)}function Ds(o,u){u=u.props.ref,o.ref=u!==void 0?u:null}function Xo(o,u){throw u.$$typeof===Cu?Error(s(525)):(o=Object.prototype.toString.call(u),Error(s(31,o==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":o)))}function Kt(o){var u=o._init;return u(o._payload)}function Te(o){function u(ae,ee){if(o){var ue=ae.deletions;ue===null?(ae.deletions=[ee],ae.flags|=16):ue.push(ee)}}function f(ae,ee){if(!o)return null;for(;ee!==null;)u(ae,ee),ee=ee.sibling;return null}function m(ae){for(var ee=new Map;ae!==null;)ae.key!==null?ee.set(ae.key,ae):ee.set(ae.index,ae),ae=ae.sibling;return ee}function v(ae,ee){return ae=_a(ae,ee),ae.index=0,ae.sibling=null,ae}function D(ae,ee,ue){return ae.index=ue,o?(ue=ae.alternate,ue!==null?(ue=ue.index,ue<ee?(ae.flags|=67108866,ee):ue):(ae.flags|=67108866,ee)):(ae.flags|=1048576,ee)}function k(ae){return o&&ae.alternate===null&&(ae.flags|=67108866),ae}function P(ae,ee,ue,Ne){return ee===null||ee.tag!==6?(ee=Ic(ue,ae.mode,Ne),ee.return=ae,ee):(ee=v(ee,ue),ee.return=ae,ee)}function le(ae,ee,ue,Ne){var pt=ue.type;return pt===Nl?Ge(ae,ee,ue.props.children,Ne,ue.key):ee!==null&&(ee.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===ca&&Kt(pt)===ee.type)?(ee=v(ee,ue.props),Ds(ee,ue),ee.return=ae,ee):(ee=Cc(ue.type,ue.key,ue.props,null,ae.mode,Ne),Ds(ee,ue),ee.return=ae,ee)}function Ue(ae,ee,ue,Ne){return ee===null||ee.tag!==4||ee.stateNode.containerInfo!==ue.containerInfo||ee.stateNode.implementation!==ue.implementation?(ee=Hr(ue,ae.mode,Ne),ee.return=ae,ee):(ee=v(ee,ue.children||[]),ee.return=ae,ee)}function Ge(ae,ee,ue,Ne,pt){return ee===null||ee.tag!==7?(ee=zs(ue,ae.mode,Ne,pt),ee.return=ae,ee):(ee=v(ee,ue),ee.return=ae,ee)}function tt(ae,ee,ue){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return ee=Ic(""+ee,ae.mode,ue),ee.return=ae,ee;if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case ua:return ue=Cc(ee.type,ee.key,ee.props,null,ae.mode,ue),Ds(ue,ee),ue.return=ae,ue;case Ul:return ee=Hr(ee,ae.mode,ue),ee.return=ae,ee;case ca:var Ne=ee._init;return ee=Ne(ee._payload),tt(ae,ee,ue)}if(_(ee)||I(ee))return ee=zs(ee,ae.mode,ue,null),ee.return=ae,ee;if(typeof ee.then=="function")return tt(ae,Ve(ee),ue);if(ee.$$typeof===No)return tt(ae,Ei(ae,ee),ue);Xo(ae,ee)}return null}function lt(ae,ee,ue,Ne){var pt=ee!==null?ee.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return pt!==null?null:P(ae,ee,""+ue,Ne);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case ua:return ue.key===pt?le(ae,ee,ue,Ne):null;case Ul:return ue.key===pt?Ue(ae,ee,ue,Ne):null;case ca:return pt=ue._init,ue=pt(ue._payload),lt(ae,ee,ue,Ne)}if(_(ue)||I(ue))return pt!==null?null:Ge(ae,ee,ue,Ne,null);if(typeof ue.then=="function")return lt(ae,ee,Ve(ue),Ne);if(ue.$$typeof===No)return lt(ae,ee,Ei(ae,ue),Ne);Xo(ae,ue)}return null}function Mt(ae,ee,ue,Ne,pt){if(typeof Ne=="string"&&Ne!==""||typeof Ne=="number"||typeof Ne=="bigint")return ae=ae.get(ue)||null,P(ee,ae,""+Ne,pt);if(typeof Ne=="object"&&Ne!==null){switch(Ne.$$typeof){case ua:return ae=ae.get(Ne.key===null?ue:Ne.key)||null,le(ee,ae,Ne,pt);case Ul:return ae=ae.get(Ne.key===null?ue:Ne.key)||null,Ue(ee,ae,Ne,pt);case ca:var kn=Ne._init;return Ne=kn(Ne._payload),Mt(ae,ee,ue,Ne,pt)}if(_(Ne)||I(Ne))return ae=ae.get(ue)||null,Ge(ee,ae,Ne,pt,null);if(typeof Ne.then=="function")return Mt(ae,ee,ue,Ve(Ne),pt);if(Ne.$$typeof===No)return Mt(ae,ee,ue,Ei(ee,Ne),pt);Xo(ee,Ne)}return null}function Va(ae,ee,ue,Ne){for(var pt=null,kn=null,_t=ee,Xt=ee=0,gi=null;_t!==null&&Xt<ue.length;Xt++){_t.index>Xt?(gi=_t,_t=null):gi=_t.sibling;var fn=lt(ae,_t,ue[Xt],Ne);if(fn===null){_t===null&&(_t=gi);break}o&&_t&&fn.alternate===null&&u(ae,_t),ee=D(fn,ee,Xt),kn===null?pt=fn:kn.sibling=fn,kn=fn,_t=gi}if(Xt===ue.length)return f(ae,_t),On&&Ce(ae,Xt),pt;if(_t===null){for(;Xt<ue.length;Xt++)_t=tt(ae,ue[Xt],Ne),_t!==null&&(ee=D(_t,ee,Xt),kn===null?pt=_t:kn.sibling=_t,kn=_t);return On&&Ce(ae,Xt),pt}for(_t=m(_t);Xt<ue.length;Xt++)gi=Mt(_t,ae,Xt,ue[Xt],Ne),gi!==null&&(o&&gi.alternate!==null&&_t.delete(gi.key===null?Xt:gi.key),ee=D(gi,ee,Xt),kn===null?pt=gi:kn.sibling=gi,kn=gi);return o&&_t.forEach(function(wa){return u(ae,wa)}),On&&Ce(ae,Xt),pt}function $c(ae,ee,ue,Ne){if(ue==null)throw Error(s(151));for(var pt=null,kn=null,_t=ee,Xt=ee=0,gi=null,fn=ue.next();_t!==null&&!fn.done;Xt++,fn=ue.next()){_t.index>Xt?(gi=_t,_t=null):gi=_t.sibling;var wa=lt(ae,_t,fn.value,Ne);if(wa===null){_t===null&&(_t=gi);break}o&&_t&&wa.alternate===null&&u(ae,_t),ee=D(wa,ee,Xt),kn===null?pt=wa:kn.sibling=wa,kn=wa,_t=gi}if(fn.done)return f(ae,_t),On&&Ce(ae,Xt),pt;if(_t===null){for(;!fn.done;Xt++,fn=ue.next())fn=tt(ae,fn.value,Ne),fn!==null&&(ee=D(fn,ee,Xt),kn===null?pt=fn:kn.sibling=fn,kn=fn);return On&&Ce(ae,Xt),pt}for(_t=m(_t);!fn.done;Xt++,fn=ue.next())fn=Mt(_t,ae,Xt,fn.value,Ne),fn!==null&&(o&&fn.alternate!==null&&_t.delete(fn.key===null?Xt:fn.key),ee=D(fn,ee,Xt),kn===null?pt=fn:kn.sibling=fn,kn=fn);return o&&_t.forEach(function(yp){return u(ae,yp)}),On&&Ce(ae,Xt),pt}function Fo(ae,ee,ue,Ne){if(typeof ue=="object"&&ue!==null&&ue.type===Nl&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case ua:e:{for(var pt=ue.key;ee!==null;){if(ee.key===pt){if(pt=ue.type,pt===Nl){if(ee.tag===7){f(ae,ee.sibling),Ne=v(ee,ue.props.children),Ne.return=ae,ae=Ne;break e}}else if(ee.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===ca&&Kt(pt)===ee.type){f(ae,ee.sibling),Ne=v(ee,ue.props),Ds(Ne,ue),Ne.return=ae,ae=Ne;break e}f(ae,ee);break}else u(ae,ee);ee=ee.sibling}ue.type===Nl?(Ne=zs(ue.props.children,ae.mode,Ne,ue.key),Ne.return=ae,ae=Ne):(Ne=Cc(ue.type,ue.key,ue.props,null,ae.mode,Ne),Ds(Ne,ue),Ne.return=ae,ae=Ne)}return k(ae);case Ul:e:{for(pt=ue.key;ee!==null;){if(ee.key===pt)if(ee.tag===4&&ee.stateNode.containerInfo===ue.containerInfo&&ee.stateNode.implementation===ue.implementation){f(ae,ee.sibling),Ne=v(ee,ue.children||[]),Ne.return=ae,ae=Ne;break e}else{f(ae,ee);break}else u(ae,ee);ee=ee.sibling}Ne=Hr(ue,ae.mode,Ne),Ne.return=ae,ae=Ne}return k(ae);case ca:return pt=ue._init,ue=pt(ue._payload),Fo(ae,ee,ue,Ne)}if(_(ue))return Va(ae,ee,ue,Ne);if(I(ue)){if(pt=I(ue),typeof pt!="function")throw Error(s(150));return ue=pt.call(ue),$c(ae,ee,ue,Ne)}if(typeof ue.then=="function")return Fo(ae,ee,Ve(ue),Ne);if(ue.$$typeof===No)return Fo(ae,ee,Ei(ae,ue),Ne);Xo(ae,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,ee!==null&&ee.tag===6?(f(ae,ee.sibling),Ne=v(ee,ue),Ne.return=ae,ae=Ne):(f(ae,ee),Ne=Ic(ue,ae.mode,Ne),Ne.return=ae,ae=Ne),k(ae)):f(ae,ee)}return function(ae,ee,ue,Ne){try{of=0;var pt=Fo(ae,ee,ue,Ne);return PA=null,pt}catch(_t){if(_t===tf||_t===Ap)throw _t;var kn=t(29,_t,null,ae.mode);return kn.lanes=Ne,kn.return=ae,kn}}}function aa(o){var u=o.alternate;O(Ir,Ir.current&1),O(ko,o),Gs===null&&(u===null||HA.current!==null||u.memoizedState!==null)&&(Gs=o)}function Qs(o){if(o.tag===22){if(O(Ir,Ir.current),O(ko,o),Gs===null){var u=o.alternate;u!==null&&u.memoizedState!==null&&(Gs=o)}}else on(o)}function on(){O(Ir,Ir.current),O(ko,ko.current)}function Nn(o){z(ko),Gs===o&&(Gs=null),z(Ir)}function ar(o){for(var u=o;u!==null;){if(u.tag===13){var f=u.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||Zd(f)||Im(f)))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===o)break;for(;u.sibling===null;){if(u.return===null||u.return===o)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}function bi(o,u,f,m){u=o.memoizedState,f=f(m,u),f=f==null?u:NA({},u,f),o.memoizedState=f,o.lanes===0&&(o.updateQueue.baseState=f)}function hA(o,u,f,m,v,D,k){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(m,D,k):u.prototype&&u.prototype.isPureReactComponent?!st(f,m)||!st(v,D):!0}function qf(o,u,f,m){o=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(f,m),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(f,m),u.state!==o&&Zm.enqueueReplaceState(u,u.state,null)}function Wo(o,u){var f=u;if("ref"in u){f={};for(var m in u)m!=="ref"&&(f[m]=u[m])}if(o=o.defaultProps){f===u&&(f=NA({},f));for(var v in o)f[v]===void 0&&(f[v]=o[v])}return f}function hl(o,u){try{var f=o.onUncaughtError;f(u.value,{componentStack:u.stack})}catch(m){setTimeout(function(){throw m})}}function EA(o,u,f){try{var m=o.onCaughtError;m(f.value,{componentStack:f.stack,errorBoundary:u.tag===1?u.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function or(o,u,f){return f=ir(f),f.tag=3,f.payload={element:null},f.callback=function(){hl(o,u)},f}function mn(o){return o=ir(o),o.tag=3,o}function oc(o,u,f,m){var v=f.type.getDerivedStateFromError;if(typeof v=="function"){var D=m.value;o.payload=function(){return v(D)},o.callback=function(){EA(u,f,m)}}var k=f.stateNode;k!==null&&typeof k.componentDidCatch=="function"&&(o.callback=function(){EA(u,f,m),typeof v!="function"&&(Ru===null?Ru=new Set([this]):Ru.add(this));var P=m.stack;this.componentDidCatch(m.value,{componentStack:P!==null?P:""})})}function ou(o,u,f,m,v){if(f.flags|=32768,m!==null&&typeof m=="object"&&typeof m.then=="function"){if(u=f.alternate,u!==null&&We(u,f,v,!0),f=ko.current,f!==null){switch(f.tag){case 13:return Gs===null?co():f.alternate===null&&Bi===0&&(Bi=3),f.flags&=-257,f.flags|=65536,f.lanes=v,m===dp?f.flags|=16384:(u=f.updateQueue,u===null?f.updateQueue=new Set([m]):u.add(m),yc(o,m,v)),!1;case 22:return f.flags|=65536,m===dp?f.flags|=16384:(u=f.updateQueue,u===null?(u={transitions:null,markerInstances:null,retryQueue:new Set([m])},f.updateQueue=u):(f=u.retryQueue,f===null?u.retryQueue=new Set([m]):f.add(m)),yc(o,m,v)),!1}throw Error(s(435,f.tag))}return yc(o,m,v),co(),!1}if(On)return u=ko.current,u!==null?((u.flags&65536)===0&&(u.flags|=256),u.flags|=65536,u.lanes=v,m!==Hm&&(o=Error(s(422),{cause:m}),er(Ze(o,f)))):(m!==Hm&&(u=Error(s(423),{cause:m}),er(Ze(u,f))),o=o.current.alternate,o.flags|=65536,v&=-v,o.lanes|=v,m=Ze(m,f),v=or(o.stateNode,m,v),Yo(o,v),Bi!==4&&(Bi=2)),!1;var D=Error(s(520),{cause:m});if(D=Ze(D,f),Af===null?Af=[D]:Af.push(D),Bi!==4&&(Bi=2),u===null)return!0;m=Ze(m,f),f=u;do{switch(f.tag){case 3:return f.flags|=65536,o=v&-v,f.lanes|=o,o=or(f.stateNode,m,o),Yo(f,o),!1;case 1:if(u=f.type,D=f.stateNode,(f.flags&128)===0&&(typeof u.getDerivedStateFromError=="function"||D!==null&&typeof D.componentDidCatch=="function"&&(Ru===null||!Ru.has(D))))return f.flags|=65536,v&=-v,f.lanes|=v,v=mn(v),oc(v,o,f,m),Yo(f,v),!1}f=f.return}while(f!==null);return!1}function ei(o,u,f,m){u.child=o===null?Uy(u,null,f,m):JA(u,o.child,f,m)}function oo(o,u,f,m,v){f=f.render;var D=u.ref;if("ref"in m){var k={};for(var P in m)P!=="ref"&&(k[P]=m[P])}else k=m;return Ki(u),m=ka(o,u,f,k,D,v),P=Lr(),o!==null&&!Nr?(na(o,u,v),Ti(o,u,v)):(On&&P&&ut(u),u.flags|=1,ei(o,u,m,v),u.child)}function $a(o,u,f,m,v){if(o===null){var D=f.type;return typeof D=="function"&&!Fs(D)&&D.defaultProps===void 0&&f.compare===null?(u.tag=15,u.type=D,El(o,u,D,m,v)):(o=Cc(f.type,null,m,u,u.mode,v),o.ref=u.ref,o.return=u,u.child=o)}if(D=o.child,!Cl(o,v)){var k=D.memoizedProps;if(f=f.compare,f=f!==null?f:st,f(k,m)&&o.ref===u.ref)return Ti(o,u,v)}return u.flags|=1,o=_a(D,m),o.ref=u.ref,o.return=u,u.child=o}function El(o,u,f,m,v){if(o!==null){var D=o.memoizedProps;if(st(D,m)&&o.ref===u.ref)if(Nr=!1,u.pendingProps=m=D,Cl(o,v))(o.flags&131072)!==0&&(Nr=!0);else return u.lanes=o.lanes,Ti(o,u,v)}return su(o,u,f,m,v)}function yl(o,u,f){var m=u.pendingProps,v=m.children,D=o!==null?o.memoizedState:null;if(m.mode==="hidden"){if((u.flags&128)!==0){if(m=D!==null?D.baseLanes|f:f,o!==null){for(v=u.child=o.child,D=0;v!==null;)D=D|v.lanes|v.childLanes,v=v.sibling;u.childLanes=D&~m}else u.childLanes=0,u.child=null;return sc(o,u,m,f)}if((f&536870912)!==0)u.memoizedState={baseLanes:0,cachePool:null},o!==null&&He(u,D!==null?D.cachePool:null),D!==null?io(u,D):ro(),Qs(u);else return u.lanes=u.childLanes=536870912,sc(o,u,D!==null?D.baseLanes|f:f,f)}else D!==null?(He(u,D.cachePool),io(u,D),on(u),u.memoizedState=null):(o!==null&&He(u,null),ro(),on(u));return ei(o,u,v,f),u.child}function sc(o,u,f,m){var v=Qe();return v=v===null?null:{parent:Ye?Fi._currentValue:Fi._currentValue2,pool:v},u.memoizedState={baseLanes:f,cachePool:v},o!==null&&He(u,null),ro(),Qs(u),o!==null&&We(o,u,m,!0),null}function Ha(o,u){var f=u.ref;if(f===null)o!==null&&o.ref!==null&&(u.flags|=4194816);else{if(typeof f!="function"&&typeof f!="object")throw Error(s(284));(o===null||o.ref!==f)&&(u.flags|=4194816)}}function su(o,u,f,m,v){return Ki(u),f=ka(o,u,f,m,void 0,v),m=Lr(),o!==null&&!Nr?(na(o,u,v),Ti(o,u,v)):(On&&m&&ut(u),u.flags|=1,ei(o,u,f,v),u.child)}function lu(o,u,f,m,v,D){return Ki(u),u.updateQueue=null,f=fl(u,m,f,v),Xl(o),m=Lr(),o!==null&&!Nr?(na(o,u,D),Ti(o,u,D)):(On&&m&&ut(u),u.flags|=1,ei(o,u,f,D),u.child)}function yA(o,u,f,m,v){if(Ki(u),u.stateNode===null){var D=Pa,k=f.contextType;typeof k=="object"&&k!==null&&(D=di(k)),D=new f(m,D),u.memoizedState=D.state!==null&&D.state!==void 0?D.state:null,D.updater=Zm,u.stateNode=D,D._reactInternals=u,D=u.stateNode,D.props=m,D.state=u.memoizedState,D.refs={},Un(u),k=f.contextType,D.context=typeof k=="object"&&k!==null?di(k):Pa,D.state=u.memoizedState,k=f.getDerivedStateFromProps,typeof k=="function"&&(bi(u,f,k,m),D.state=u.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof D.getSnapshotBeforeUpdate=="function"||typeof D.UNSAFE_componentWillMount!="function"&&typeof D.componentWillMount!="function"||(k=D.state,typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount(),k!==D.state&&Zm.enqueueReplaceState(D,D.state,null),ta(u,m,D,v),ii(),D.state=u.memoizedState),typeof D.componentDidMount=="function"&&(u.flags|=4194308),m=!0}else if(o===null){D=u.stateNode;var P=u.memoizedProps,le=Wo(f,P);D.props=le;var Ue=D.context,Ge=f.contextType;k=Pa,typeof Ge=="object"&&Ge!==null&&(k=di(Ge));var tt=f.getDerivedStateFromProps;Ge=typeof tt=="function"||typeof D.getSnapshotBeforeUpdate=="function",P=u.pendingProps!==P,Ge||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||(P||Ue!==k)&&qf(u,D,m,k),xu=!1;var lt=u.memoizedState;D.state=lt,ta(u,m,D,v),ii(),Ue=u.memoizedState,P||lt!==Ue||xu?(typeof tt=="function"&&(bi(u,f,tt,m),Ue=u.memoizedState),(le=xu||hA(u,f,le,m,lt,Ue,k))?(Ge||typeof D.UNSAFE_componentWillMount!="function"&&typeof D.componentWillMount!="function"||(typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount()),typeof D.componentDidMount=="function"&&(u.flags|=4194308)):(typeof D.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=m,u.memoizedState=Ue),D.props=m,D.state=Ue,D.context=k,m=le):(typeof D.componentDidMount=="function"&&(u.flags|=4194308),m=!1)}else{D=u.stateNode,Zo(o,u),k=u.memoizedProps,Ge=Wo(f,k),D.props=Ge,tt=u.pendingProps,lt=D.context,Ue=f.contextType,le=Pa,typeof Ue=="object"&&Ue!==null&&(le=di(Ue)),P=f.getDerivedStateFromProps,(Ue=typeof P=="function"||typeof D.getSnapshotBeforeUpdate=="function")||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||(k!==tt||lt!==le)&&qf(u,D,m,le),xu=!1,lt=u.memoizedState,D.state=lt,ta(u,m,D,v),ii();var Mt=u.memoizedState;k!==tt||lt!==Mt||xu||o!==null&&o.dependencies!==null&&zr(o.dependencies)?(typeof P=="function"&&(bi(u,f,P,m),Mt=u.memoizedState),(Ge=xu||hA(u,f,Ge,m,lt,Mt,le)||o!==null&&o.dependencies!==null&&zr(o.dependencies))?(Ue||typeof D.UNSAFE_componentWillUpdate!="function"&&typeof D.componentWillUpdate!="function"||(typeof D.componentWillUpdate=="function"&&D.componentWillUpdate(m,Mt,le),typeof D.UNSAFE_componentWillUpdate=="function"&&D.UNSAFE_componentWillUpdate(m,Mt,le)),typeof D.componentDidUpdate=="function"&&(u.flags|=4),typeof D.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof D.componentDidUpdate!="function"||k===o.memoizedProps&<===o.memoizedState||(u.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||k===o.memoizedProps&<===o.memoizedState||(u.flags|=1024),u.memoizedProps=m,u.memoizedState=Mt),D.props=m,D.state=Mt,D.context=le,m=Ge):(typeof D.componentDidUpdate!="function"||k===o.memoizedProps&<===o.memoizedState||(u.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||k===o.memoizedProps&<===o.memoizedState||(u.flags|=1024),m=!1)}return D=m,Ha(o,u),m=(u.flags&128)!==0,D||m?(D=u.stateNode,f=m&&typeof f.getDerivedStateFromError!="function"?null:D.render(),u.flags|=1,o!==null&&m?(u.child=JA(u,o.child,null,v),u.child=JA(u,null,f,v)):ei(o,u,f,v),u.memoizedState=D.state,o=u.child):o=Ti(o,u,v),o}function lc(o,u,f,m){return Pn(),u.flags|=256,ei(o,u,f,m),u.child}function Ss(o){return{baseLanes:o,cachePool:nt()}}function uu(o,u,f){return o=o!==null?o.childLanes&~f:0,u&&(o|=oi),o}function bs(o,u,f){var m=u.pendingProps,v=!1,D=(u.flags&128)!==0,k;if((k=D)||(k=o!==null&&o.memoizedState===null?!1:(Ir.current&2)!==0),k&&(v=!0,u.flags&=-129),k=(u.flags&32)!==0,u.flags&=-33,o===null){if(On){if(v?aa(u):on(u),On){var P=Cr,le;(le=P)&&(P=vy(P,fs),P!==null?(u.memoizedState={dehydrated:P,treeContext:ki!==null?{id:da,overflow:ur}:null,retryLane:536870912,hydrationErrors:null},le=t(18,null,null,0),le.stateNode=P,le.return=u,u.child=le,Qa=u,Cr=null,le=!0):le=!1),le||Qn(u)}if(P=u.memoizedState,P!==null&&(P=P.dehydrated,P!==null))return Im(P)?u.lanes=32:u.lanes=536870912,null;Nn(u)}return P=m.children,m=m.fallback,v?(on(u),v=u.mode,P=vl({mode:"hidden",children:P},v),m=zs(m,v,f,null),P.return=u,m.return=u,P.sibling=m,u.child=P,v=u.child,v.memoizedState=Ss(f),v.childLanes=uu(o,k,f),u.memoizedState=Vm,m):(aa(u),es(u,P))}if(le=o.memoizedState,le!==null&&(P=le.dehydrated,P!==null)){if(D)u.flags&256?(aa(u),u.flags&=-257,u=cu(o,u,f)):u.memoizedState!==null?(on(u),u.child=o.child,u.flags|=128,u=null):(on(u),v=m.fallback,P=u.mode,m=vl({mode:"visible",children:m.children},P),v=zs(v,P,f,null),v.flags|=2,m.return=u,v.return=u,m.sibling=v,u.child=m,JA(u,o.child,null,f),m=u.child,m.memoizedState=Ss(f),m.childLanes=uu(o,k,f),u.memoizedState=Vm,u=v);else if(aa(u),Im(P))k=hy(P).digest,m=Error(s(419)),m.stack="",m.digest=k,er({value:m,source:null,stack:null}),u=cu(o,u,f);else if(Nr||We(o,u,f,!1),k=(f&o.childLanes)!==0,Nr||k){if(k=ai,k!==null&&(m=f&-f,m=(m&42)!==0?1:St(m),m=(m&(k.suspendedLanes|f))!==0?0:m,m!==0&&m!==le.retryLane))throw le.retryLane=m,nr(o,m),xr(k,o,m),Ny;Zd(P)||co(),u=cu(o,u,f)}else Zd(P)?(u.flags|=192,u.child=o.child,u=null):(o=le.treeContext,qt&&(Cr=L0(P),Qa=u,On=!0,Tc=null,fs=!1,o!==null&&(Ur[lr++]=da,Ur[lr++]=ur,Ur[lr++]=ki,da=o.id,ur=o.overflow,ki=u)),u=es(u,m.children),u.flags|=4096);return u}return v?(on(u),v=m.fallback,P=u.mode,le=o.child,D=le.sibling,m=_a(le,{mode:"hidden",children:m.children}),m.subtreeFlags=le.subtreeFlags&65011712,D!==null?v=_a(D,v):(v=zs(v,P,f,null),v.flags|=2),v.return=u,m.return=u,m.sibling=v,u.child=m,m=v,v=u.child,P=o.child.memoizedState,P===null?P=Ss(f):(le=P.cachePool,le!==null?(D=Ye?Fi._currentValue:Fi._currentValue2,le=le.parent!==D?{parent:D,pool:D}:le):le=nt(),P={baseLanes:P.baseLanes|f,cachePool:le}),v.memoizedState=P,v.childLanes=uu(o,k,f),u.memoizedState=Vm,m):(aa(u),f=o.child,o=f.sibling,f=_a(f,{mode:"visible",children:m.children}),f.return=u,f.sibling=null,o!==null&&(k=u.deletions,k===null?(u.deletions=[o],u.flags|=16):k.push(o)),u.child=f,u.memoizedState=null,f)}function es(o,u){return u=vl({mode:"visible",children:u},o.mode),u.return=o,o.child=u}function vl(o,u){return o=t(22,o,null,u),o.lanes=0,o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},o}function cu(o,u,f){return JA(u,o.child,null,f),o=es(u,u.pendingProps.children),o.flags|=2,u.memoizedState=null,o}function Jn(o,u,f){o.lanes|=u;var m=o.alternate;m!==null&&(m.lanes|=u),Sr(o.return,u,f)}function uc(o,u,f,m,v){var D=o.memoizedState;D===null?o.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:v}:(D.isBackwards=u,D.rendering=null,D.renderingStartTime=0,D.last=m,D.tail=f,D.tailMode=v)}function vA(o,u,f){var m=u.pendingProps,v=m.revealOrder,D=m.tail;if(ei(o,u,m.children,f),m=Ir.current,(m&2)!==0)m=m&1|2,u.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=u.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&Jn(o,f,u);else if(o.tag===19)Jn(o,f,u);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===u)break e;for(;o.sibling===null;){if(o.return===null||o.return===u)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}m&=1}switch(O(Ir,m),v){case"forwards":for(f=u.child,v=null;f!==null;)o=f.alternate,o!==null&&ar(o)===null&&(v=f),f=f.sibling;f=v,f===null?(v=u.child,u.child=null):(v=f.sibling,f.sibling=null),uc(u,!1,v,f,D);break;case"backwards":for(f=null,v=u.child,u.child=null;v!==null;){if(o=v.alternate,o!==null&&ar(o)===null){u.child=v;break}o=v.sibling,v.sibling=f,f=v,v=o}uc(u,!0,f,null,D);break;case"together":uc(u,!1,null,null,void 0);break;default:u.memoizedState=null}return u.child}function Ti(o,u,f){if(o!==null&&(u.dependencies=o.dependencies),js|=u.lanes,(f&u.childLanes)===0)if(o!==null){if(We(o,u,f,!1),(f&u.childLanes)===0)return null}else return null;if(o!==null&&u.child!==o.child)throw Error(s(153));if(u.child!==null){for(o=u.child,f=_a(o,o.pendingProps),u.child=f,f.return=u;o.sibling!==null;)o=o.sibling,f=f.sibling=_a(o,o.pendingProps),f.return=u;f.sibling=null}return u.child}function Cl(o,u){return(o.lanes&u)!==0?!0:(o=o.dependencies,!!(o!==null&&zr(o)))}function Xf(o,u,f){switch(u.tag){case 3:De(u,u.stateNode.containerInfo),ft(u,Fi,o.memoizedState.cache),Pn();break;case 27:case 5:ct(u);break;case 4:De(u,u.stateNode.containerInfo);break;case 10:ft(u,u.type,u.memoizedProps.value);break;case 13:var m=u.memoizedState;if(m!==null)return m.dehydrated!==null?(aa(u),u.flags|=128,null):(f&u.child.childLanes)!==0?bs(o,u,f):(aa(u),o=Ti(o,u,f),o!==null?o.sibling:null);aa(u);break;case 19:var v=(o.flags&128)!==0;if(m=(f&u.childLanes)!==0,m||(We(o,u,f,!1),m=(f&u.childLanes)!==0),v){if(m)return vA(o,u,f);u.flags|=128}if(v=u.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),O(Ir,Ir.current),m)break;return null;case 22:case 23:return u.lanes=0,yl(o,u,f);case 24:ft(u,Fi,o.memoizedState.cache)}return Ti(o,u,f)}function Nd(o,u,f){if(o!==null)if(o.memoizedProps!==u.pendingProps)Nr=!0;else{if(!Cl(o,f)&&(u.flags&128)===0)return Nr=!1,Xf(o,u,f);Nr=(o.flags&131072)!==0}else Nr=!1,On&&(u.flags&1048576)!==0&&xe(u,lp,u.index);switch(u.lanes=0,u.tag){case 16:e:{o=u.pendingProps;var m=u.elementType,v=m._init;if(m=v(m._payload),u.type=m,typeof m=="function")Fs(m)?(o=Wo(m,o),u.tag=1,u=yA(null,u,m,o,f)):(u.tag=0,u=su(null,u,m,o,f));else{if(m!=null){if(v=m.$$typeof,v===Ms){u.tag=11,u=oo(null,u,m,o,f);break e}else if(v===Rl){u.tag=14,u=$a(null,u,m,o,f);break e}}throw u=S(m)||m,Error(s(306,u,""))}}return u;case 0:return su(o,u,u.type,u.pendingProps,f);case 1:return m=u.type,v=Wo(m,u.pendingProps),yA(o,u,m,v,f);case 3:e:{if(De(u,u.stateNode.containerInfo),o===null)throw Error(s(387));var D=u.pendingProps;v=u.memoizedState,m=v.element,Zo(o,u),ta(u,D,null,f);var k=u.memoizedState;if(D=k.cache,ft(u,Fi,D),D!==v.cache&&Ji(u,[Fi],f,!0),ii(),D=k.element,qt&&v.isDehydrated)if(v={element:D,isDehydrated:!1,cache:k.cache},u.updateQueue.baseState=v,u.memoizedState=v,u.flags&256){u=lc(o,u,D,f);break e}else if(D!==m){m=Ze(Error(s(424)),u),er(m),u=lc(o,u,D,f);break e}else for(qt&&(Cr=Yd(u.stateNode.containerInfo),Qa=u,On=!0,Tc=null,fs=!0),f=Uy(u,null,D,f),u.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Pn(),D===m){u=Ti(o,u,f);break e}ei(o,u,D,f)}u=u.child}return u;case 26:if(ds)return Ha(o,u),o===null?(f=Nm(u.type,null,u.pendingProps,null))?u.memoizedState=f:On||(u.stateNode=G0(u.type,u.pendingProps,pi.current,u)):u.memoizedState=Nm(u.type,o.memoizedProps,u.pendingProps,o.memoizedState),null;case 27:if(vr)return ct(u),o===null&&vr&&On&&(m=u.stateNode=Su(u.type,u.pendingProps,pi.current,Kr.current,!1),Qa=u,fs=!0,Cr=$0(u.type,m,Cr)),ei(o,u,u.pendingProps.children,f),Ha(o,u),o===null&&(u.flags|=4194304),u.child;case 5:return o===null&&On&&(wm(u.type,u.pendingProps,Kr.current),(v=m=Cr)&&(m=wc(m,u.type,u.pendingProps,fs),m!==null?(u.stateNode=m,Qa=u,Cr=yy(m),fs=!1,v=!0):v=!1),v||Qn(u)),ct(u),v=u.type,D=u.pendingProps,k=o!==null?o.memoizedProps:null,m=D.children,he(v,D)?m=null:k!==null&&he(v,k)&&(u.flags|=32),u.memoizedState!==null&&(v=ka(o,u,pl,null,null,f),Ye?jr._currentValue=v:jr._currentValue2=v),Ha(o,u),ei(o,u,m,f),u.child;case 6:return o===null&&On&&(xm(u.pendingProps,Kr.current),(o=f=Cr)&&(f=Dm(f,u.pendingProps,fs),f!==null?(u.stateNode=f,Qa=u,Cr=null,o=!0):o=!1),o||Qn(u)),null;case 13:return bs(o,u,f);case 4:return De(u,u.stateNode.containerInfo),m=u.pendingProps,o===null?u.child=JA(u,null,m,f):ei(o,u,m,f),u.child;case 11:return oo(o,u,u.type,u.pendingProps,f);case 7:return ei(o,u,u.pendingProps,f),u.child;case 8:return ei(o,u,u.pendingProps.children,f),u.child;case 12:return ei(o,u,u.pendingProps.children,f),u.child;case 10:return m=u.pendingProps,ft(u,u.type,m.value),ei(o,u,m.children,f),u.child;case 9:return v=u.type._context,m=u.pendingProps.children,Ki(u),v=di(v),m=m(v),u.flags|=1,ei(o,u,m,f),u.child;case 14:return $a(o,u,u.type,u.pendingProps,f);case 15:return El(o,u,u.type,u.pendingProps,f);case 19:return vA(o,u,f);case 31:return m=u.pendingProps,f=u.mode,m={mode:m.mode,children:m.children},o===null?(f=vl(m,f),f.ref=u.ref,u.child=f,f.return=u,u=f):(f=_a(o.child,m),f.ref=u.ref,u.child=f,f.return=u,u=f),u;case 22:return yl(o,u,f);case 24:return Ki(u),m=di(Fi),o===null?(v=Qe(),v===null&&(v=ai,D=to(),v.pooledCache=D,D.refCount++,D!==null&&(v.pooledCacheLanes|=f),v=D),u.memoizedState={parent:m,cache:v},Un(u),ft(u,Fi,v)):((o.lanes&f)!==0&&(Zo(o,u),ta(u,null,null,f),ii()),v=o.memoizedState,D=u.memoizedState,v.parent!==m?(v={parent:m,cache:m},u.memoizedState=v,u.lanes===0&&(u.memoizedState=u.updateQueue.baseState=v),ft(u,Fi,m)):(m=D.cache,ft(u,Fi,m),m!==v.cache&&Ji(u,[Fi],f,!0))),ei(o,u,u.pendingProps.children,f),u.child;case 29:throw u.pendingProps}throw Error(s(156,u.tag))}function yr(o){o.flags|=4}function CA(o,u){if(o!==null&&o.child===u.child)return!1;if((u.flags&16)!==0)return!0;for(o=u.child;o!==null;){if((o.flags&13878)!==0||(o.subtreeFlags&13878)!==0)return!0;o=o.sibling}return!1}function Au(o,u,f,m){if(Xe)for(f=u.child;f!==null;){if(f.tag===5||f.tag===6)se(o,f.stateNode);else if(!(f.tag===4||vr&&f.tag===27)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return;f=f.return}f.sibling.return=f.return,f=f.sibling}else if(xt)for(var v=u.child;v!==null;){if(v.tag===5){var D=v.stateNode;f&&m&&(D=Cm(D,v.type,v.memoizedProps)),se(o,D)}else if(v.tag===6)D=v.stateNode,f&&m&&(D=Tn(D,v.memoizedProps)),se(o,D);else if(v.tag!==4){if(v.tag===22&&v.memoizedState!==null)D=v.child,D!==null&&(D.return=v),Au(o,v,!0,!0);else if(v.child!==null){v.child.return=v,v=v.child;continue}}if(v===u)break;for(;v.sibling===null;){if(v.return===null||v.return===u)return;v=v.return}v.sibling.return=v.return,v=v.sibling}}function ws(o,u,f,m){var v=!1;if(xt)for(var D=u.child;D!==null;){if(D.tag===5){var k=D.stateNode;f&&m&&(k=Cm(k,D.type,D.memoizedProps)),ym(o,k)}else if(D.tag===6)k=D.stateNode,f&&m&&(k=Tn(k,D.memoizedProps)),ym(o,k);else if(D.tag!==4){if(D.tag===22&&D.memoizedState!==null)v=D.child,v!==null&&(v.return=D),ws(o,D,!0,!0),v=!0;else if(D.child!==null){D.child.return=D,D=D.child;continue}}if(D===u)break;for(;D.sibling===null;){if(D.return===null||D.return===u)return v;D=D.return}D.sibling.return=D.return,D=D.sibling}return v}function Il(o,u){if(xt&&CA(o,u)){o=u.stateNode;var f=o.containerInfo,m=my();ws(m,u,!1,!1),o.pendingChildren=m,yr(u),TA(f,m)}}function So(o,u,f,m){if(Xe)o.memoizedProps!==m&&yr(u);else if(xt){var v=o.stateNode,D=o.memoizedProps;if((o=CA(o,u))||D!==m){var k=Kr.current;D=gy(v,f,D,m,!o,null),D===v?u.stateNode=v:(ce(D,f,m,k)&&yr(u),u.stateNode=D,o?Au(D,u,!1,!1):yr(u))}else u.stateNode=v}}function Bl(o,u,f){if(_u(u,f)){if(o.flags|=16777216,!Du(u,f))if(zd())o.flags|=8192;else throw Fc=dp,Pm}else o.flags&=-16777217}function Ci(o,u){if(j0(u)){if(o.flags|=16777216,!Da(u))if(zd())o.flags|=8192;else throw Fc=dp,Pm}else o.flags&=-16777217}function ts(o,u){u!==null&&(o.flags|=4),o.flags&16384&&(u=o.tag!==22?ge():536870912,o.lanes|=u,ZA|=u)}function ns(o,u){if(!On)switch(o.tailMode){case"hidden":u=o.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?o.tail=null:f.sibling=null;break;case"collapsed":f=o.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?u||o.tail===null?o.tail=null:o.tail.sibling=null:m.sibling=null}}function wn(o){var u=o.alternate!==null&&o.alternate.child===o.child,f=0,m=0;if(u)for(var v=o.child;v!==null;)f|=v.lanes|v.childLanes,m|=v.subtreeFlags&65011712,m|=v.flags&65011712,v.return=o,v=v.sibling;else for(v=o.child;v!==null;)f|=v.lanes|v.childLanes,m|=v.subtreeFlags,m|=v.flags,v.return=o,v=v.sibling;return o.subtreeFlags|=m,o.childLanes=f,u}function xs(o,u,f){var m=u.pendingProps;switch(oe(u),u.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wn(u),null;case 1:return wn(u),null;case 3:return f=u.stateNode,m=null,o!==null&&(m=o.memoizedState.cache),u.memoizedState.cache!==m&&(u.flags|=2048),Vt(Fi),dt(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(o===null||o.child===null)&&(yt(u)?yr(u):o===null||o.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,Nt())),Il(o,u),wn(u),null;case 26:if(ds){f=u.type;var v=u.memoizedState;return o===null?(yr(u),v!==null?(wn(u),Ci(u,v)):(wn(u),Bl(u,f,m))):v?v!==o.memoizedState?(yr(u),wn(u),Ci(u,v)):(wn(u),u.flags&=-16777217):(Xe?o.memoizedProps!==m&&yr(u):So(o,u,f,m),wn(u),Bl(u,f,m)),null}case 27:if(vr){if(Jt(u),f=pi.current,v=u.type,o!==null&&u.stateNode!=null)Xe?o.memoizedProps!==m&&yr(u):So(o,u,v,m);else{if(!m){if(u.stateNode===null)throw Error(s(166));return wn(u),null}o=Kr.current,yt(u)?Ht(u,o):(o=Su(v,m,f,o,!0),u.stateNode=o,yr(u))}return wn(u),null}case 5:if(Jt(u),f=u.type,o!==null&&u.stateNode!=null)So(o,u,f,m);else{if(!m){if(u.stateNode===null)throw Error(s(166));return wn(u),null}o=Kr.current,yt(u)?Ht(u,o):(v=X(f,m,pi.current,o,u),Au(v,u,!1,!1),u.stateNode=v,ce(v,f,m,o)&&yr(u))}return wn(u),Bl(u,u.type,u.pendingProps),null;case 6:if(o&&u.stateNode!=null)f=o.memoizedProps,Xe?f!==m&&yr(u):xt&&(f!==m?(u.stateNode=Ie(m,pi.current,Kr.current,u),yr(u)):u.stateNode=o.stateNode);else{if(typeof m!="string"&&u.stateNode===null)throw Error(s(166));if(o=pi.current,f=Kr.current,yt(u)){if(!qt)throw Error(s(176));if(o=u.stateNode,f=u.memoizedProps,m=null,v=Qa,v!==null)switch(v.tag){case 27:case 5:m=v.memoizedProps}Qm(o,f,u,m)||Qn(u)}else u.stateNode=Ie(m,o,f,u)}return wn(u),null;case 13:if(m=u.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(v=yt(u),m!==null&&m.dehydrated!==null){if(o===null){if(!v)throw Error(s(318));if(!qt)throw Error(s(344));if(v=u.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(s(317));H0(v,u)}else Pn(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;wn(u),v=!1}else v=Nt(),o!==null&&o.memoizedState!==null&&(o.memoizedState.hydrationErrors=v),v=!0;if(!v)return u.flags&256?(Nn(u),u):(Nn(u),null)}if(Nn(u),(u.flags&128)!==0)return u.lanes=f,u;if(f=m!==null,o=o!==null&&o.memoizedState!==null,f){m=u.child,v=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(v=m.alternate.memoizedState.cachePool.pool);var D=null;m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(D=m.memoizedState.cachePool.pool),D!==v&&(m.flags|=2048)}return f!==o&&f&&(u.child.flags|=8192),ts(u,u.updateQueue),wn(u),null;case 4:return dt(),Il(o,u),o===null&&bt(u.stateNode.containerInfo),wn(u),null;case 10:return Vt(u.type),wn(u),null;case 19:if(z(Ir),v=u.memoizedState,v===null)return wn(u),null;if(m=(u.flags&128)!==0,D=v.rendering,D===null)if(m)ns(v,!1);else{if(Bi!==0||o!==null&&(o.flags&128)!==0)for(o=u.child;o!==null;){if(D=ar(o),D!==null){for(u.flags|=128,ns(v,!1),o=D.updateQueue,u.updateQueue=o,ts(u,o),u.subtreeFlags=0,o=f,f=u.child;f!==null;)Kn(f,o),f=f.sibling;return O(Ir,Ir.current&1|2),u.child}o=o.sibling}v.tail!==null&&fi()>df&&(u.flags|=128,m=!0,ns(v,!1),u.lanes=4194304)}else{if(!m)if(o=ar(D),o!==null){if(u.flags|=128,m=!0,o=o.updateQueue,u.updateQueue=o,ts(u,o),ns(v,!0),v.tail===null&&v.tailMode==="hidden"&&!D.alternate&&!On)return wn(u),null}else 2*fi()-v.renderingStartTime>df&&f!==536870912&&(u.flags|=128,m=!0,ns(v,!1),u.lanes=4194304);v.isBackwards?(D.sibling=u.child,u.child=D):(o=v.last,o!==null?o.sibling=D:u.child=D,v.last=D)}return v.tail!==null?(u=v.tail,v.rendering=u,v.tail=u.sibling,v.renderingStartTime=fi(),u.sibling=null,o=Ir.current,O(Ir,m?o&1|2:o&1),u):(wn(u),null);case 22:case 23:return Nn(u),dl(),m=u.memoizedState!==null,o!==null?o.memoizedState!==null!==m&&(u.flags|=8192):m&&(u.flags|=8192),m?(f&536870912)!==0&&(u.flags&128)===0&&(wn(u),u.subtreeFlags&6&&(u.flags|=8192)):wn(u),f=u.updateQueue,f!==null&&ts(u,f.retryQueue),f=null,o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),m=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),m!==f&&(u.flags|=2048),o!==null&&z(kc),null;case 24:return f=null,o!==null&&(f=o.memoizedState.cache),u.memoizedState.cache!==f&&(u.flags|=2048),Vt(Fi),wn(u),null;case 25:return null;case 30:return null}throw Error(s(156,u.tag))}function oa(o,u){switch(oe(u),u.tag){case 1:return o=u.flags,o&65536?(u.flags=o&-65537|128,u):null;case 3:return Vt(Fi),dt(),o=u.flags,(o&65536)!==0&&(o&128)===0?(u.flags=o&-65537|128,u):null;case 26:case 27:case 5:return Jt(u),null;case 13:if(Nn(u),o=u.memoizedState,o!==null&&o.dehydrated!==null){if(u.alternate===null)throw Error(s(340));Pn()}return o=u.flags,o&65536?(u.flags=o&-65537|128,u):null;case 19:return z(Ir),null;case 4:return dt(),null;case 10:return Vt(u.type),null;case 22:case 23:return Nn(u),dl(),o!==null&&z(kc),o=u.flags,o&65536?(u.flags=o&-65537|128,u):null;case 24:return Vt(Fi),null;case 25:return null;default:return null}}function cc(o,u){switch(oe(u),u.tag){case 3:Vt(Fi),dt();break;case 26:case 27:case 5:Jt(u);break;case 4:dt();break;case 13:Nn(u);break;case 19:z(Ir);break;case 10:Vt(u.type);break;case 22:case 23:Nn(u),dl(),o!==null&&z(kc);break;case 24:Vt(Fi)}}function Us(o,u){try{var f=u.updateQueue,m=f!==null?f.lastEffect:null;if(m!==null){var v=m.next;f=v;do{if((f.tag&o)===o){m=void 0;var D=f.create,k=f.inst;m=D(),k.destroy=m}f=f.next}while(f!==v)}}catch(P){Ot(u,u.return,P)}}function ya(o,u,f){try{var m=u.updateQueue,v=m!==null?m.lastEffect:null;if(v!==null){var D=v.next;m=D;do{if((m.tag&o)===o){var k=m.inst,P=k.destroy;if(P!==void 0){k.destroy=void 0,v=u;var le=f,Ue=P;try{Ue()}catch(Ge){Ot(v,le,Ge)}}}m=m.next}while(m!==D)}}catch(Ge){Ot(u,u.return,Ge)}}function du(o){var u=o.updateQueue;if(u!==null){var f=o.stateNode;try{ql(u,f)}catch(m){Ot(o,o.return,m)}}}function is(o,u,f){f.props=Wo(o.type,o.memoizedProps),f.state=o.memoizedState;try{f.componentWillUnmount()}catch(m){Ot(o,u,m)}}function _l(o,u){try{var f=o.ref;if(f!==null){switch(o.tag){case 26:case 27:case 5:var m=w(o.stateNode);break;case 30:m=o.stateNode;break;default:m=o.stateNode}typeof f=="function"?o.refCleanup=f(m):f.current=m}}catch(v){Ot(o,u,v)}}function va(o,u){var f=o.ref,m=o.refCleanup;if(f!==null)if(typeof m=="function")try{m()}catch(v){Ot(o,u,v)}finally{o.refCleanup=null,o=o.alternate,o!=null&&(o.refCleanup=null)}else if(typeof f=="function")try{f(null)}catch(v){Ot(o,u,v)}else f.current=null}function IA(o){var u=o.type,f=o.memoizedProps,m=o.stateNode;try{uy(m,u,f,o)}catch(v){Ot(o,o.return,v)}}function Ca(o,u,f){try{O0(o.stateNode,o.type,f,u,o)}catch(m){Ot(o,o.return,m)}}function rs(o){return o.tag===5||o.tag===3||(ds?o.tag===26:!1)||(vr?o.tag===27&&bu(o.type):!1)||o.tag===4}function so(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||rs(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(vr&&o.tag===27&&bu(o.type)||o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function fu(o,u,f){var m=o.tag;if(m===5||m===6)o=o.stateNode,u?cy(f,o,u):mm(f,o);else if(m!==4&&(vr&&m===27&&bu(o.type)&&(f=o.stateNode,u=null),o=o.child,o!==null))for(fu(o,u,f),o=o.sibling;o!==null;)fu(o,u,f),o=o.sibling}function pu(o,u,f){var m=o.tag;if(m===5||m===6)o=o.stateNode,u?k0(f,o,u):ly(f,o);else if(m!==4&&(vr&&m===27&&bu(o.type)&&(f=o.stateNode),o=o.child,o!==null))for(pu(o,u,f),o=o.sibling;o!==null;)pu(o,u,f),o=o.sibling}function Rd(o,u,f){o=o.containerInfo;try{vm(o,f)}catch(m){Ot(u,u.return,m)}}function Td(o){var u=o.stateNode,f=o.memoizedProps;try{xc(o.type,f,u,o)}catch(m){Ot(o,o.return,m)}}function Wf(o,u){for($(o.containerInfo),Br=u;Br!==null;)if(o=Br,u=o.child,(o.subtreeFlags&1024)!==0&&u!==null)u.return=o,Br=u;else for(;Br!==null;){o=Br;var f=o.alternate;switch(u=o.flags,o.tag){case 0:break;case 11:case 15:break;case 1:if((u&1024)!==0&&f!==null){u=void 0;var m=o,v=f.memoizedProps;f=f.memoizedState;var D=m.stateNode;try{var k=Wo(m.type,v,m.elementType===m.type);u=D.getSnapshotBeforeUpdate(k,f),D.__reactInternalSnapshotBeforeUpdate=u}catch(P){Ot(m,m.return,P)}}break;case 3:(u&1024)!==0&&Xe&&py(o.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((u&1024)!==0)throw Error(s(163))}if(u=o.sibling,u!==null){u.return=o.return,Br=u;break}Br=o.return}}function BA(o,u,f){var m=f.flags;switch(f.tag){case 0:case 11:case 15:Ba(o,f),m&4&&Us(5,f);break;case 1:if(Ba(o,f),m&4)if(o=f.stateNode,u===null)try{o.componentDidMount()}catch(k){Ot(f,f.return,k)}else{var v=Wo(f.type,u.memoizedProps);u=u.memoizedState;try{o.componentDidUpdate(v,u,o.__reactInternalSnapshotBeforeUpdate)}catch(k){Ot(f,f.return,k)}}m&64&&du(f),m&512&&_l(f,f.return);break;case 3:if(Ba(o,f),m&64&&(o=f.updateQueue,o!==null)){if(u=null,f.child!==null)switch(f.child.tag){case 27:case 5:u=w(f.child.stateNode);break;case 1:u=f.child.stateNode}try{ql(o,u)}catch(k){Ot(f,f.return,k)}}break;case 27:vr&&u===null&&m&4&&Td(f);case 26:case 5:Ba(o,f),u===null&&m&4&&IA(f),m&512&&_l(f,f.return);break;case 12:Ba(o,f);break;case 13:Ba(o,f),m&4&&Ns(o,f),m&64&&(o=f.memoizedState,o!==null&&(o=o.dehydrated,o!==null&&(f=Pd.bind(null,f),z0(o,f))));break;case 22:if(m=f.memoizedState!==null||Ll,!m){u=u!==null&&u.memoizedState!==null||zi,v=Ll;var D=zi;Ll=m,(zi=u)&&!D?lo(o,f,(f.subtreeFlags&8772)!==0):Ba(o,f),Ll=v,zi=D}break;case 30:break;default:Ba(o,f)}}function Ac(o){var u=o.alternate;u!==null&&(o.alternate=null,Ac(u)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(u=o.stateNode,u!==null&&Ls(u)),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Ia(o,u,f){for(f=f.child;f!==null;)bo(o,u,f),f=f.sibling}function bo(o,u,f){if(go&&typeof go.onCommitFiberUnmount=="function")try{go.onCommitFiberUnmount(qd,f)}catch{}switch(f.tag){case 26:if(ds){zi||va(f,u),Ia(o,u,f),f.memoizedState?Tm(f.memoizedState):f.stateNode&&_y(f.stateNode);break}case 27:if(vr){zi||va(f,u);var m=cr,v=Ka;bu(f.type)&&(cr=f.stateNode,Ka=!1),Ia(o,u,f),Uc(f.stateNode),cr=m,Ka=v;break}case 5:zi||va(f,u);case 6:if(Xe){if(m=cr,v=Ka,cr=null,Ia(o,u,f),cr=m,Ka=v,cr!==null)if(Ka)try{F0(cr,f.stateNode)}catch(D){Ot(f,u,D)}else try{Ay(cr,f.stateNode)}catch(D){Ot(f,u,D)}}else Ia(o,u,f);break;case 18:Xe&&cr!==null&&(Ka?rp(cr,f.stateNode):bm(cr,f.stateNode));break;case 4:Xe?(m=cr,v=Ka,cr=f.stateNode.containerInfo,Ka=!0,Ia(o,u,f),cr=m,Ka=v):(xt&&Rd(f.stateNode,f,my()),Ia(o,u,f));break;case 0:case 11:case 14:case 15:zi||ya(2,f,u),zi||ya(4,f,u),Ia(o,u,f);break;case 1:zi||(va(f,u),m=f.stateNode,typeof m.componentWillUnmount=="function"&&is(f,u,m)),Ia(o,u,f);break;case 21:Ia(o,u,f);break;case 22:zi=(m=zi)||f.memoizedState!==null,Ia(o,u,f),zi=m;break;default:Ia(o,u,f)}}function Ns(o,u){if(qt&&u.memoizedState===null&&(o=u.alternate,o!==null&&(o=o.memoizedState,o!==null&&(o=o.dehydrated,o!==null))))try{Iy(o)}catch(f){Ot(u,u.return,f)}}function _A(o){switch(o.tag){case 13:case 19:var u=o.stateNode;return u===null&&(u=o.stateNode=new qm),u;case 22:return o=o.stateNode,u=o._retryCache,u===null&&(u=o._retryCache=new qm),u;default:throw Error(s(435,o.tag))}}function Od(o,u){var f=_A(o);u.forEach(function(m){var v=xA.bind(null,o,m);f.has(m)||(f.add(m),m.then(v,v))})}function Vi(o,u){var f=u.deletions;if(f!==null)for(var m=0;m<f.length;m++){var v=f[m],D=o,k=u;if(Xe){var P=k;e:for(;P!==null;){switch(P.tag){case 27:if(vr){if(bu(P.type)){cr=P.stateNode,Ka=!1;break e}break}case 5:cr=P.stateNode,Ka=!1;break e;case 3:case 4:cr=P.stateNode.containerInfo,Ka=!0;break e}P=P.return}if(cr===null)throw Error(s(160));bo(D,k,v),cr=null,Ka=!1}else bo(D,k,v);D=v.alternate,D!==null&&(D.return=null),v.return=null}if(u.subtreeFlags&13878)for(u=u.child;u!==null;)as(u,o),u=u.sibling}function as(o,u){var f=o.alternate,m=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:Vi(u,o),ti(o),m&4&&(ya(3,o,o.return),Us(3,o),ya(5,o,o.return));break;case 1:Vi(u,o),ti(o),m&512&&(zi||f===null||va(f,f.return)),m&64&&Ll&&(o=o.updateQueue,o!==null&&(m=o.callbacks,m!==null&&(f=o.shared.hiddenCallbacks,o.shared.hiddenCallbacks=f===null?m:f.concat(m))));break;case 26:if(ds){var v=Xi;if(Vi(u,o),ti(o),m&512&&(zi||f===null||va(f,f.return)),m&4){m=f!==null?f.memoizedState:null;var D=o.memoizedState;f===null?D===null?o.stateNode===null?o.stateNode=By(v,o.type,o.memoizedProps,o):op(v,o.type,o.stateNode):o.stateNode=Rm(v,D,o.memoizedProps):m!==D?(m===null?f.stateNode!==null&&_y(f.stateNode):Tm(m),D===null?op(v,o.type,o.stateNode):Rm(v,D,o.memoizedProps)):D===null&&o.stateNode!==null&&Ca(o,o.memoizedProps,f.memoizedProps)}break}case 27:if(vr){Vi(u,o),ti(o),m&512&&(zi||f===null||va(f,f.return)),f!==null&&m&4&&Ca(o,o.memoizedProps,f.memoizedProps);break}case 5:if(Vi(u,o),ti(o),m&512&&(zi||f===null||va(f,f.return)),Xe){if(o.flags&32){v=o.stateNode;try{bc(v)}catch(Ge){Ot(o,o.return,Ge)}}m&4&&o.stateNode!=null&&(v=o.memoizedProps,Ca(o,v,f!==null?f.memoizedProps:v)),m&1024&&(pp=!0)}break;case 6:if(Vi(u,o),ti(o),m&4&&Xe){if(o.stateNode===null)throw Error(s(162));m=o.memoizedProps,f=f!==null?f.memoizedProps:m,v=o.stateNode;try{hm(v,f,m)}catch(Ge){Ot(o,o.return,Ge)}}break;case 3:if(ds?(An(),v=Xi,Xi=ap(u.containerInfo),Vi(u,o),Xi=v):Vi(u,o),ti(o),m&4){if(Xe&&qt&&f!==null&&f.memoizedState.isDehydrated)try{Ol(u.containerInfo)}catch(Ge){Ot(o,o.return,Ge)}if(xt){m=u.containerInfo,f=u.pendingChildren;try{vm(m,f)}catch(Ge){Ot(o,o.return,Ge)}}}pp&&(pp=!1,dc(o));break;case 4:ds?(f=Xi,Xi=ap(o.stateNode.containerInfo),Vi(u,o),ti(o),Xi=f):(Vi(u,o),ti(o)),m&4&&xt&&Rd(o.stateNode,o,o.stateNode.pendingChildren);break;case 12:Vi(u,o),ti(o);break;case 13:Vi(u,o),ti(o),o.child.flags&8192&&o.memoizedState!==null!=(f!==null&&f.memoizedState!==null)&&(VA=fi()),m&4&&(m=o.updateQueue,m!==null&&(o.updateQueue=null,Od(o,m)));break;case 22:v=o.memoizedState!==null;var k=f!==null&&f.memoizedState!==null,P=Ll,le=zi;if(Ll=P||v,zi=le||k,Vi(u,o),zi=le,Ll=P,ti(o),m&8192&&(u=o.stateNode,u._visibility=v?u._visibility&-2:u._visibility|1,v&&(f===null||k||Ll||zi||wo(o)),Xe)){e:if(f=null,Xe)for(u=o;;){if(u.tag===5||ds&&u.tag===26){if(f===null){k=f=u;try{D=k.stateNode,v?ip(D):Em(k.stateNode,k.memoizedProps)}catch(Ge){Ot(k,k.return,Ge)}}}else if(u.tag===6){if(f===null){k=u;try{var Ue=k.stateNode;v?dy(Ue):fy(Ue,k.memoizedProps)}catch(Ge){Ot(k,k.return,Ge)}}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===o)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===o)break e;for(;u.sibling===null;){if(u.return===null||u.return===o)break e;f===u&&(f=null),u=u.return}f===u&&(f=null),u.sibling.return=u.return,u=u.sibling}}m&4&&(m=o.updateQueue,m!==null&&(f=m.retryQueue,f!==null&&(m.retryQueue=null,Od(o,f))));break;case 19:Vi(u,o),ti(o),m&4&&(m=o.updateQueue,m!==null&&(o.updateQueue=null,Od(o,m)));break;case 30:break;case 21:break;default:Vi(u,o),ti(o)}}function ti(o){var u=o.flags;if(u&2){try{if(Xe){for(var f,m=o.return;m!==null;){if(rs(m)){f=m;break}m=m.return}if(f==null)throw Error(s(160));switch(f.tag){case 27:if(vr){var v=f.stateNode,D=so(o);pu(o,D,v);break}case 5:var k=f.stateNode;f.flags&32&&(bc(k),f.flags&=-33);var P=so(o);pu(o,P,k);break;case 3:case 4:var le=f.stateNode.containerInfo,Ue=so(o);fu(o,Ue,le);break;default:throw Error(s(161))}}}catch(Ge){Ot(o,o.return,Ge)}o.flags&=-3}u&4096&&(o.flags&=-4097)}function dc(o){if(o.subtreeFlags&1024)for(o=o.child;o!==null;){var u=o;dc(u),u.tag===5&&u.flags&1024&&En(u.stateNode),o=o.sibling}}function Ba(o,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)BA(o,u.alternate,u),u=u.sibling}function wo(o){for(o=o.child;o!==null;){var u=o;switch(u.tag){case 0:case 11:case 14:case 15:ya(4,u,u.return),wo(u);break;case 1:va(u,u.return);var f=u.stateNode;typeof f.componentWillUnmount=="function"&&is(u,u.return,f),wo(u);break;case 27:vr&&Uc(u.stateNode);case 26:case 5:va(u,u.return),wo(u);break;case 22:u.memoizedState===null&&wo(u);break;case 30:wo(u);break;default:wo(u)}o=o.sibling}}function lo(o,u,f){for(f=f&&(u.subtreeFlags&8772)!==0,u=u.child;u!==null;){var m=u.alternate,v=o,D=u,k=D.flags;switch(D.tag){case 0:case 11:case 15:lo(v,D,f),Us(4,D);break;case 1:if(lo(v,D,f),m=D,v=m.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(Ue){Ot(m,m.return,Ue)}if(m=D,v=m.updateQueue,v!==null){var P=m.stateNode;try{var le=v.shared.hiddenCallbacks;if(le!==null)for(v.shared.hiddenCallbacks=null,v=0;v<le.length;v++)Oa(le[v],P)}catch(Ue){Ot(m,m.return,Ue)}}f&&k&64&&du(D),_l(D,D.return);break;case 27:vr&&Td(D);case 26:case 5:lo(v,D,f),f&&m===null&&k&4&&IA(D),_l(D,D.return);break;case 12:lo(v,D,f);break;case 13:lo(v,D,f),f&&k&4&&Ns(v,D);break;case 22:D.memoizedState===null&&lo(v,D,f),_l(D,D.return);break;case 30:break;default:lo(v,D,f)}u=u.sibling}}function Oi(o,u){var f=null;o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),o=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(o=u.memoizedState.cachePool.pool),o!==f&&(o!=null&&o.refCount++,f!=null&&no(f))}function Dl(o,u){o=null,u.alternate!==null&&(o=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==o&&(u.refCount++,o!=null&&no(o))}function sa(o,u,f,m){if(u.subtreeFlags&10256)for(u=u.child;u!==null;)Ql(o,u,f,m),u=u.sibling}function Ql(o,u,f,m){var v=u.flags;switch(u.tag){case 0:case 11:case 15:sa(o,u,f,m),v&2048&&Us(9,u);break;case 1:sa(o,u,f,m);break;case 3:sa(o,u,f,m),v&2048&&(o=null,u.alternate!==null&&(o=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==o&&(u.refCount++,o!=null&&no(o)));break;case 12:if(v&2048){sa(o,u,f,m),o=u.stateNode;try{var D=u.memoizedProps,k=D.id,P=D.onPostCommit;typeof P=="function"&&P(k,u.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(le){Ot(u,u.return,le)}}else sa(o,u,f,m);break;case 13:sa(o,u,f,m);break;case 23:break;case 22:D=u.stateNode,k=u.alternate,u.memoizedState!==null?D._visibility&2?sa(o,u,f,m):hn(o,u):D._visibility&2?sa(o,u,f,m):(D._visibility|=2,tn(o,u,f,m,(u.subtreeFlags&10256)!==0)),v&2048&&Oi(k,u);break;case 24:sa(o,u,f,m),v&2048&&Dl(u.alternate,u);break;default:sa(o,u,f,m)}}function tn(o,u,f,m,v){for(v=v&&(u.subtreeFlags&10256)!==0,u=u.child;u!==null;){var D=o,k=u,P=f,le=m,Ue=k.flags;switch(k.tag){case 0:case 11:case 15:tn(D,k,P,le,v),Us(8,k);break;case 23:break;case 22:var Ge=k.stateNode;k.memoizedState!==null?Ge._visibility&2?tn(D,k,P,le,v):hn(D,k):(Ge._visibility|=2,tn(D,k,P,le,v)),v&&Ue&2048&&Oi(k.alternate,k);break;case 24:tn(D,k,P,le,v),v&&Ue&2048&&Dl(k.alternate,k);break;default:tn(D,k,P,le,v)}u=u.sibling}}function hn(o,u){if(u.subtreeFlags&10256)for(u=u.child;u!==null;){var f=o,m=u,v=m.flags;switch(m.tag){case 22:hn(f,m),v&2048&&Oi(m.alternate,m);break;case 24:hn(f,m),v&2048&&Dl(m.alternate,m);break;default:hn(f,m)}u=u.sibling}}function xo(o){if(o.subtreeFlags&zc)for(o=o.child;o!==null;)DA(o),o=o.sibling}function DA(o){switch(o.tag){case 26:xo(o),o.flags&zc&&(o.memoizedState!==null?Pr(Xi,o.memoizedState,o.memoizedProps):Sc(o.type,o.memoizedProps));break;case 5:xo(o),o.flags&zc&&Sc(o.type,o.memoizedProps);break;case 3:case 4:if(ds){var u=Xi;Xi=ap(o.stateNode.containerInfo),xo(o),Xi=u}else xo(o);break;case 22:o.memoizedState===null&&(u=o.alternate,u!==null&&u.memoizedState!==null?(u=zc,zc=16777216,xo(o),zc=u):xo(o));break;default:xo(o)}}function la(o){var u=o.alternate;if(u!==null&&(o=u.child,o!==null)){u.child=null;do u=o.sibling,o.sibling=null,o=u;while(o!==null)}}function Rn(o){var u=o.deletions;if((o.flags&16)!==0){if(u!==null)for(var f=0;f<u.length;f++){var m=u[f];Br=m,ss(m,o)}la(o)}if(o.subtreeFlags&10256)for(o=o.child;o!==null;)os(o),o=o.sibling}function os(o){switch(o.tag){case 0:case 11:case 15:Rn(o),o.flags&2048&&ya(9,o,o.return);break;case 3:Rn(o);break;case 12:Rn(o);break;case 22:var u=o.stateNode;o.memoizedState!==null&&u._visibility&2&&(o.return===null||o.return.tag!==13)?(u._visibility&=-3,Ga(o)):Rn(o);break;default:Rn(o)}}function Ga(o){var u=o.deletions;if((o.flags&16)!==0){if(u!==null)for(var f=0;f<u.length;f++){var m=u[f];Br=m,ss(m,o)}la(o)}for(o=o.child;o!==null;){switch(u=o,u.tag){case 0:case 11:case 15:ya(8,u,u.return),Ga(u);break;case 22:f=u.stateNode,f._visibility&2&&(f._visibility&=-3,Ga(u));break;default:Ga(u)}o=o.sibling}}function ss(o,u){for(;Br!==null;){var f=Br;switch(f.tag){case 0:case 11:case 15:ya(8,f,u);break;case 23:case 22:if(f.memoizedState!==null&&f.memoizedState.cachePool!==null){var m=f.memoizedState.cachePool.pool;m!=null&&m.refCount++}break;case 24:no(f.memoizedState.cache)}if(m=f.child,m!==null)m.return=f,Br=m;else e:for(f=o;Br!==null;){m=Br;var v=m.sibling,D=m.return;if(Ac(m),m===f){Br=null;break e}if(v!==null){v.return=D,Br=v;break e}Br=D}}}function gu(o){var u=wt(o);if(u!=null){if(typeof u.memoizedProps["data-testname"]!="string")throw Error(s(364));return u}if(o=po(o),o===null)throw Error(s(362));return o.stateNode.current}function fc(o,u){var f=o.tag;switch(u.$$typeof){case sf:if(o.type===u.value)return!0;break;case lf:e:{for(u=u.value,o=[o,0],f=0;f<o.length;){var m=o[f++],v=m.tag,D=o[f++],k=u[D];if(v!==5&&v!==26&&v!==27||!Hs(m)){for(;k!=null&&fc(m,k);)D++,k=u[D];if(D===u.length){u=!0;break e}else for(m=m.child;m!==null;)o.push(m,D),m=m.sibling}}u=!1}return u;case uf:if((f===5||f===26||f===27)&&ay(o.stateNode,u.value))return!0;break;case cf:if((f===5||f===6||f===26||f===27)&&(o=gm(o),o!==null&&0<=o.indexOf(u.value)))return!0;break;case gp:if((f===5||f===26||f===27)&&(o=o.memoizedProps["data-testname"],typeof o=="string"&&o.toLowerCase()===u.value.toLowerCase()))return!0;break;default:throw Error(s(365))}return!1}function Sl(o){switch(o.$$typeof){case sf:return"<"+(S(o.value)||"Unknown")+">";case lf:return":has("+(Sl(o)||"")+")";case uf:return'[role="'+o.value+'"]';case cf:return'"'+o.value+'"';case gp:return'[data-testname="'+o.value+'"]';default:throw Error(s(365))}}function pc(o,u){var f=[];o=[o,0];for(var m=0;m<o.length;){var v=o[m++],D=v.tag,k=o[m++],P=u[k];if(D!==5&&D!==26&&D!==27||!Hs(v)){for(;P!=null&&fc(v,P);)k++,P=u[k];if(k===u.length)f.push(v);else for(v=v.child;v!==null;)o.push(v,k),v=v.sibling}}return f}function uo(o,u){if(!Tl)throw Error(s(363));o=gu(o),o=pc(o,u),u=[],o=Array.from(o);for(var f=0;f<o.length;){var m=o[f++],v=m.tag;if(v===5||v===26||v===27)Hs(m)||u.push(m.stateNode);else for(m=m.child;m!==null;)o.push(m),m=m.sibling}return u}function sr(){if((gn&2)!==0&&yn!==0)return yn&-yn;if(l.T!==null){var o=MA;return o!==0?o:hr()}return sn()}function gc(){oi===0&&(oi=(yn&536870912)===0||On?be():536870912);var o=ko.current;return o!==null&&(o.flags|=32),oi}function xr(o,u,f){(o===ai&&(Ut===2||Ut===9)||o.cancelPendingCommit!==null)&&(Rs(o,0),_n(o,yn,oi,!1)),mt(o,f),((gn&2)===0||o!==ai)&&(o===ai&&((gn&2)===0&&(ba|=f),Bi===4&&_n(o,yn,oi,!1)),Ui(o))}function bl(o,u,f){if((gn&6)!==0)throw Error(s(327));var m=!f&&(u&124)===0&&(u&o.expiredLanes)===0||re(o,u),v=m?Md(o,u):wl(o,u,!0),D=m;do{if(v===0){Mc&&!m&&_n(o,u,0,!1);break}else{if(f=o.current.alternate,D&&!kd(f)){v=wl(o,u,!1),D=!1;continue}if(v===2){if(D=u,o.errorRecoveryDisabledLanes&D)var k=0;else k=o.pendingLanes&-536870913,k=k!==0?k:k&536870912?536870912:0;if(k!==0){u=k;e:{var P=o;v=Af;var le=qt&&P.current.memoizedState.isDehydrated;if(le&&(Rs(P,k).flags|=256),k=wl(P,k,!1),k!==2){if(mp&&!le){P.errorRecoveryDisabledLanes|=D,ba|=D,v=4;break e}D=Zr,Zr=v,D!==null&&(Zr===null?Zr=D:Zr.push.apply(Zr,D))}v=k}if(D=!1,v!==2)continue}}if(v===1){Rs(o,0),_n(o,u,0,!0);break}e:{switch(m=o,D=v,D){case 0:case 1:throw Error(s(345));case 4:if((u&4194048)!==u)break;case 6:_n(m,u,oi,!Nu);break e;case 2:Zr=null;break;case 3:case 5:break;default:throw Error(s(329))}if((u&62914560)===u&&(v=VA+300-fi(),10<v)){if(_n(m,u,oi,!Nu),Y(m,0,!0)!==0)break e;m.timeoutHandle=ze(mu.bind(null,m,f,Zr,hp,YA,u,oi,ba,ZA,Nu,D,2,-0,0),v);break e}mu(m,f,Zr,hp,YA,u,oi,ba,ZA,Nu,D,0,-0,0)}}break}while(!0);Ui(o)}function mu(o,u,f,m,v,D,k,P,le,Ue,Ge,tt,lt,Mt){if(o.timeoutHandle=Se,tt=u.subtreeFlags,(tt&8192||(tt&16785408)===16785408)&&($s(),DA(u),tt=As(),tt!==null)){o.cancelPendingCommit=tt(Ld.bind(null,o,u,D,f,m,v,k,P,le,Ge,1,lt,Mt)),_n(o,D,k,!Ue);return}Ld(o,u,D,f,m,v,k,P,le)}function kd(o){for(var u=o;;){var f=u.tag;if((f===0||f===11||f===15)&&u.flags&16384&&(f=u.updateQueue,f!==null&&(f=f.stores,f!==null)))for(var m=0;m<f.length;m++){var v=f[m],D=v.getSnapshot;v=v.value;try{if(!Ja(D(),v))return!1}catch{return!1}}if(f=u.child,u.subtreeFlags&16384&&f!==null)f.return=u,u=f;else{if(u===o)break;for(;u.sibling===null;){if(u.return===null||u.return===o)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function _n(o,u,f,m){u&=~Ps,u&=~ba,o.suspendedLanes|=u,o.pingedLanes&=~u,m&&(o.warmLanes|=u),m=o.expirationTimes;for(var v=u;0<v;){var D=31-Jr(v),k=1<<D;m[D]=-1,v&=~k}f!==0&&Re(o,f,u)}function ls(){return(gn&6)===0?(Wr(0,!1),!1):!0}function mc(){if(ln!==null){if(Ut===0)var o=ln.return;else o=ln,Sa=To=null,gl(o),PA=null,of=0,o=ln;for(;o!==null;)cc(o.alternate,o),o=o.return;ln=null}}function Rs(o,u){var f=o.timeoutHandle;f!==Se&&(o.timeoutHandle=Se,qe(f)),f=o.cancelPendingCommit,f!==null&&(o.cancelPendingCommit=null,f()),mc(),ai=o,ln=f=_a(o.current,null),yn=u,Ut=0,Za=null,Nu=!1,Mc=re(o,u),mp=!1,ZA=oi=Ps=ba=js=Bi=0,Zr=Af=null,YA=!1,(u&8)!==0&&(u|=u&32);var m=o.entangledLanes;if(m!==0)for(o=o.entanglements,m&=u;0<m;){var v=31-Jr(m),D=1<<v;u|=o[v],m&=~D}return Ya=u,Qo(),f}function Fd(o,u){rn=null,l.H=jA,u===tf||u===Ap?(u=yi(),Ut=3):u===Pm?(u=yi(),Ut=4):Ut=u===Ny?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,Za=u,ln===null&&(Bi=1,hl(o,Ze(u,o.current)))}function zd(){var o=ko.current;return o===null?!0:(yn&4194048)===yn?Gs===null:(yn&62914560)===yn||(yn&536870912)!==0?o===Gs:!1}function Ts(){var o=l.H;return l.H=jA,o===null?jA:o}function hu(){var o=l.A;return l.A=Xm,o}function co(){Bi=4,Nu||(yn&4194048)!==yn&&ko.current!==null||(Mc=!0),(js&134217727)===0&&(ba&134217727)===0||ai===null||_n(ai,yn,oi,!1)}function wl(o,u,f){var m=gn;gn|=2;var v=Ts(),D=hu();(ai!==o||yn!==u)&&(hp=null,Rs(o,u)),u=!1;var k=Bi;e:do try{if(Ut!==0&&ln!==null){var P=ln,le=Za;switch(Ut){case 8:mc(),k=6;break e;case 3:case 2:case 9:case 6:ko.current===null&&(u=!0);var Ue=Ut;if(Ut=0,Za=null,Os(o,P,le,Ue),f&&Mc){k=0;break e}break;default:Ue=Ut,Ut=0,Za=null,Os(o,P,le,Ue)}}QA(),k=Bi;break}catch(Ge){Fd(o,Ge)}while(!0);return u&&o.shellSuspendCounter++,Sa=To=null,gn=m,l.H=v,l.A=D,ln===null&&(ai=null,yn=0,Qo()),k}function QA(){for(;ln!==null;)hc(ln)}function Md(o,u){var f=gn;gn|=2;var m=Ts(),v=hu();ai!==o||yn!==u?(hp=null,df=fi()+500,Rs(o,u)):Mc=re(o,u);e:do try{if(Ut!==0&&ln!==null){u=ln;var D=Za;t:switch(Ut){case 1:Ut=0,Za=null,Os(o,u,D,1);break;case 2:case 9:if(vt(D)){Ut=0,Za=null,bA(u);break}u=function(){Ut!==2&&Ut!==9||ai!==o||(Ut=7),Ui(o)},D.then(u,u);break e;case 3:Ut=7;break e;case 4:Ut=5;break e;case 7:vt(D)?(Ut=0,Za=null,bA(u)):(Ut=0,Za=null,Os(o,u,D,7));break;case 5:var k=null;switch(ln.tag){case 26:k=ln.memoizedState;case 5:case 27:var P=ln,le=P.type,Ue=P.pendingProps;if(k?Da(k):Du(le,Ue)){Ut=0,Za=null;var Ge=P.sibling;if(Ge!==null)ln=Ge;else{var tt=P.return;tt!==null?(ln=tt,ks(tt)):ln=null}break t}}Ut=0,Za=null,Os(o,u,D,5);break;case 6:Ut=0,Za=null,Os(o,u,D,6);break;case 8:mc(),Bi=6;break e;default:throw Error(s(462))}}SA();break}catch(lt){Fd(o,lt)}while(!0);return Sa=To=null,l.H=m,l.A=v,gn=f,ln!==null?0:(ai=null,yn=0,Qo(),Bi)}function SA(){for(;ln!==null&&!Dy();)hc(ln)}function hc(o){var u=Nd(o.alternate,o,Ya);o.memoizedProps=o.pendingProps,u===null?ks(o):ln=u}function bA(o){var u=o,f=u.alternate;switch(u.tag){case 15:case 0:u=lu(f,u,u.pendingProps,u.type,void 0,yn);break;case 11:u=lu(f,u,u.pendingProps,u.type.render,u.ref,yn);break;case 5:gl(u);default:cc(f,u),u=ln=Kn(u,Ya),u=Nd(f,u,Ya)}o.memoizedProps=o.pendingProps,u===null?ks(o):ln=u}function Os(o,u,f,m){Sa=To=null,gl(u),PA=null,of=0;var v=u.return;try{if(ou(o,v,u,f,yn)){Bi=1,hl(o,Ze(f,o.current)),ln=null;return}}catch(D){if(v!==null)throw ln=v,D;Bi=1,hl(o,Ze(f,o.current)),ln=null;return}u.flags&32768?(On||m===1?o=!0:Mc||(yn&536870912)!==0?o=!1:(Nu=o=!0,(m===2||m===9||m===3||m===6)&&(m=ko.current,m!==null&&m.tag===13&&(m.flags|=16384))),wA(u,o)):ks(u)}function ks(o){var u=o;do{if((u.flags&32768)!==0){wA(u,Nu);return}o=u.return;var f=xs(u.alternate,u,Ya);if(f!==null){ln=f;return}if(u=u.sibling,u!==null){ln=u;return}ln=u=o}while(u!==null);Bi===0&&(Bi=5)}function wA(o,u){do{var f=oa(o.alternate,o);if(f!==null){f.flags&=32767,ln=f;return}if(f=o.return,f!==null&&(f.flags|=32768,f.subtreeFlags=0,f.deletions=null),!u&&(o=o.sibling,o!==null)){ln=o;return}ln=o=f}while(o!==null);Bi=6,ln=null}function Ld(o,u,f,m,v,D,k,P,le){o.cancelPendingCommit=null;do xl();while(ni!==0);if((gn&6)!==0)throw Error(s(327));if(u!==null){if(u===o.current)throw Error(s(177));if(D=u.lanes|u.childLanes,D|=Jm,at(o,f,D,k,P,le),o===ai&&(ln=ai=null,yn=0),Lc=u,Js=o,Ks=f,Ep=D,Wm=v,Ry=m,(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0?(o.callbackNode=null,o.callbackPriority=0,vc(Mm,function(){return yu(!0),null})):(o.callbackNode=null,o.callbackPriority=0),m=(u.flags&13878)!==0,(u.subtreeFlags&13878)!==0||m){m=l.T,l.T=null,v=kt(),Qt(2),k=gn,gn|=4;try{Wf(o,u,f)}finally{gn=k,Qt(v),l.T=m}}ni=1,$d(),Eu(),Hd()}}function $d(){if(ni===1){ni=0;var o=Js,u=Lc,f=(u.flags&13878)!==0;if((u.subtreeFlags&13878)!==0||f){f=l.T,l.T=null;var m=kt();Qt(2);var v=gn;gn|=4;try{as(u,o),M(o.containerInfo)}finally{gn=v,Qt(m),l.T=f}}o.current=u,ni=2}}function Eu(){if(ni===2){ni=0;var o=Js,u=Lc,f=(u.flags&8772)!==0;if((u.subtreeFlags&8772)!==0||f){f=l.T,l.T=null;var m=kt();Qt(2);var v=gn;gn|=4;try{BA(o,u.alternate,u)}finally{gn=v,Qt(m),l.T=f}}ni=3}}function Hd(){if(ni===4||ni===3){ni=0,P0();var o=Js,u=Lc,f=Ks,m=Ry;(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0?ni=5:(ni=0,Lc=Js=null,Uo(o,o.pendingLanes));var v=o.pendingLanes;if(v===0&&(Ru=null),$t(f),u=u.stateNode,go&&typeof go.onCommitFiberRoot=="function")try{go.onCommitFiberRoot(qd,u,void 0,(u.current.flags&128)===128)}catch{}if(m!==null){u=l.T,v=kt(),Qt(2),l.T=null;try{for(var D=o.onRecoverableError,k=0;k<m.length;k++){var P=m[k];D(P.value,{componentStack:P.stack})}}finally{l.T=u,Qt(v)}}(Ks&3)!==0&&xl(),Ui(o),v=o.pendingLanes,(f&4194090)!==0&&(v&42)!==0?o===Rr?Zs++:(Zs=0,Rr=o):Zs=0,Wr(0,!1)}}function Uo(o,u){(o.pooledCacheLanes&=u)===0&&(u=o.pooledCache,u!=null&&(o.pooledCache=null,no(u)))}function xl(o){return $d(),Eu(),Hd(),yu(o)}function yu(){if(ni!==5)return!1;var o=Js,u=Ep;Ep=0;var f=$t(Ks),m=32>f?32:f;f=l.T;var v=kt();try{Qt(m),l.T=null,m=Wm,Wm=null;var D=Js,k=Ks;if(ni=0,Lc=Js=null,Ks=0,(gn&6)!==0)throw Error(s(331));var P=gn;if(gn|=4,os(D.current),Ql(D,D.current,k,m),gn=P,Wr(0,!1),go&&typeof go.onPostCommitFiberRoot=="function")try{go.onPostCommitFiberRoot(qd,D)}catch{}return!0}finally{Qt(v),l.T=f,Uo(o,u)}}function Ec(o,u,f){u=Ze(f,u),u=or(o.stateNode,u,2),o=Ea(o,u,2),o!==null&&(mt(o,2),Ui(o))}function Ot(o,u,f){if(o.tag===3)Ec(o,o,f);else for(;u!==null;){if(u.tag===3){Ec(u,o,f);break}else if(u.tag===1){var m=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Ru===null||!Ru.has(m))){o=Ze(f,o),f=mn(2),m=Ea(u,f,2),m!==null&&(oc(f,m,u,o),mt(m,2),Ui(m));break}}u=u.return}}function yc(o,u,f){var m=o.pingCache;if(m===null){m=o.pingCache=new eB;var v=new Set;m.set(u,v)}else v=m.get(u),v===void 0&&(v=new Set,m.set(u,v));v.has(f)||(mp=!0,v.add(f),o=Gd.bind(null,o,u,f),u.then(o,o))}function Gd(o,u,f){var m=o.pingCache;m!==null&&m.delete(u),o.pingedLanes|=o.suspendedLanes&f,o.warmLanes&=~f,ai===o&&(yn&f)===f&&(Bi===4||Bi===3&&(yn&62914560)===yn&&300>fi()-VA?(gn&2)===0&&Rs(o,0):Ps|=f,ZA===yn&&(ZA=0)),Ui(o)}function jd(o,u){u===0&&(u=ge()),o=nr(o,u),o!==null&&(mt(o,u),Ui(o))}function Pd(o){var u=o.memoizedState,f=0;u!==null&&(f=u.retryLane),jd(o,f)}function xA(o,u){var f=0;switch(o.tag){case 13:var m=o.stateNode,v=o.memoizedState;v!==null&&(f=v.retryLane);break;case 19:m=o.stateNode;break;case 22:m=o.stateNode._retryCache;break;default:throw Error(s(314))}m!==null&&m.delete(u),jd(o,f)}function vc(o,u){return OA(o,u)}function vu(o,u,f,m){this.tag=o,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fs(o){return o=o.prototype,!(!o||!o.isReactComponent)}function _a(o,u){var f=o.alternate;return f===null?(f=t(o.tag,u,o.key,o.mode),f.elementType=o.elementType,f.type=o.type,f.stateNode=o.stateNode,f.alternate=o,o.alternate=f):(f.pendingProps=u,f.type=o.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=o.flags&65011712,f.childLanes=o.childLanes,f.lanes=o.lanes,f.child=o.child,f.memoizedProps=o.memoizedProps,f.memoizedState=o.memoizedState,f.updateQueue=o.updateQueue,u=o.dependencies,f.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},f.sibling=o.sibling,f.index=o.index,f.ref=o.ref,f.refCleanup=o.refCleanup,f}function Kn(o,u){o.flags&=65011714;var f=o.alternate;return f===null?(o.childLanes=0,o.lanes=u,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=f.childLanes,o.lanes=f.lanes,o.child=f.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=f.memoizedProps,o.memoizedState=f.memoizedState,o.updateQueue=f.updateQueue,o.type=f.type,u=f.dependencies,o.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),o}function Cc(o,u,f,m,v,D){var k=0;if(m=o,typeof o=="function")Fs(o)&&(k=1);else if(typeof o=="string")k=ds&&vr?Um(o,f,Kr.current)?26:Vd(o)?27:5:ds?Um(o,f,Kr.current)?26:5:vr&&Vd(o)?27:5;else e:switch(o){case Qc:return o=t(31,f,u,v),o.elementType=Qc,o.lanes=D,o;case Nl:return zs(f.children,v,D,u);case RA:k=8,v|=24;break;case Iu:return o=t(12,f,u,v|2),o.elementType=Iu,o.lanes=D,o;case Zn:return o=t(13,f,u,v),o.elementType=Zn,o.lanes=D,o;case Bu:return o=t(19,f,u,v),o.elementType=Bu,o.lanes=D,o;default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case ep:case No:k=10;break e;case Dc:k=9;break e;case Ms:k=11;break e;case Rl:k=14;break e;case ca:k=16,m=null;break e}k=29,f=Error(s(130,o===null?"null":typeof o,"")),m=null}return u=t(k,f,u,v),u.elementType=o,u.type=m,u.lanes=D,u}function zs(o,u,f,m){return o=t(7,o,m,u),o.lanes=f,o}function Ic(o,u,f){return o=t(6,o,null,u),o.lanes=f,o}function Hr(o,u,f){return u=t(4,o.children!==null?o.children:[],o.key,u),u.lanes=f,u.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},u}function UA(o,u,f,m,v,D,k,P){this.tag=1,this.containerInfo=o,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Se,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$e(0),this.hiddenUpdates=$e(null),this.identifierPrefix=m,this.onUncaughtError=v,this.onCaughtError=D,this.onRecoverableError=k,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function us(o,u,f,m,v,D,k,P,le,Ue,Ge,tt){return o=new UA(o,u,f,k,P,le,Ue,tt),u=1,D===!0&&(u|=24),D=t(3,null,null,u),o.current=D,D.stateNode=o,u=to(),u.refCount++,o.pooledCache=u,u.refCount++,D.memoizedState={element:m,isDehydrated:f,cache:u},Un(D),o}function Ao(o){return o?(o=Pa,o):Pa}function cs(o){var u=o._reactInternals;if(u===void 0)throw typeof o.render=="function"?Error(s(188)):(o=Object.keys(o).join(","),Error(s(268,o)));return o=d(u),o=o!==null?E(o):null,o===null?null:w(o.stateNode)}function Jd(o,u,f,m,v,D){v=Ao(v),m.context===null?m.context=v:m.pendingContext=v,m=ir(u),m.payload={element:f},D=D===void 0?null:D,D!==null&&(m.callback=D),f=Ea(o,m,u),f!==null&&(xr(f,o,u),it(f,o,u))}function Bc(o,u){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var f=o.retryLane;o.retryLane=f!==0&&f<u?f:u}}function _c(o,u){Bc(o,u),(o=o.alternate)&&Bc(o,u)}var nn={},pm=Mn(),Gr=z_(),NA=Object.assign,Cu=Symbol.for("react.element"),ua=Symbol.for("react.transitional.element"),Ul=Symbol.for("react.portal"),Nl=Symbol.for("react.fragment"),RA=Symbol.for("react.strict_mode"),Iu=Symbol.for("react.profiler"),ep=Symbol.for("react.provider"),Dc=Symbol.for("react.consumer"),No=Symbol.for("react.context"),Ms=Symbol.for("react.forward_ref"),Zn=Symbol.for("react.suspense"),Bu=Symbol.for("react.suspense_list"),Rl=Symbol.for("react.memo"),ca=Symbol.for("react.lazy"),Qc=Symbol.for("react.activity"),Kd=Symbol.for("react.memo_cache_sentinel"),ja=Symbol.iterator,Ii=Symbol.for("react.client.reference"),_=Array.isArray,l=pm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,g=e.rendererVersion,B=e.rendererPackageName,b=e.extraDevToolsConfig,w=e.getPublicInstance,U=e.getRootHostContext,H=e.getChildHostContext,$=e.prepareForCommit,M=e.resetAfterCommit,X=e.createInstance;e.cloneMutableInstance;var se=e.appendInitialChild,ce=e.finalizeInitialChildren,he=e.shouldSetTextContent,Ie=e.createTextInstance;e.cloneMutableTextInstance;var ze=e.scheduleTimeout,qe=e.cancelTimeout,Se=e.noTimeout,Ye=e.isPrimaryRenderer;e.warnsIfNotActing;var Xe=e.supportsMutation,xt=e.supportsPersistence,qt=e.supportsHydration,wt=e.getInstanceFromNode;e.beforeActiveInstanceBlur;var bt=e.preparePortalMount;e.prepareScopeUpdate,e.getInstanceFromScope;var Qt=e.setCurrentUpdatePriority,kt=e.getCurrentUpdatePriority,sn=e.resolveUpdatePriority;e.trackSchedulerEvent,e.resolveEventType,e.resolveEventTimeStamp;var Hn=e.shouldAttemptEagerTransition,Ls=e.detachDeletedInstance;e.requestPostPaintCallback;var _u=e.maySuspendCommit,Du=e.preloadInstance,$s=e.startSuspendingCommit,Sc=e.suspendInstance;e.suspendOnActiveViewTransition;var As=e.waitForCommitToBeReady,ri=e.NotPendingTransition,jr=e.HostTransitionContext,En=e.resetFormInstance;e.bindToConsole;var fo=e.supportsMicrotasks,tp=e.scheduleMicrotask,Tl=e.supportsTestSelectors,po=e.findFiberRoot,np=e.getBoundingRect,gm=e.getTextContent,Hs=e.isHiddenSubtree,ay=e.matchAccessibilityRole,oy=e.setFocusIfFocusable,sy=e.setupIntersectionObserver,ly=e.appendChild,mm=e.appendChildToContainer,hm=e.commitTextUpdate,uy=e.commitMount,O0=e.commitUpdate,k0=e.insertBefore,cy=e.insertInContainerBefore,Ay=e.removeChild,F0=e.removeChildFromContainer,bc=e.resetTextContent,ip=e.hideInstance,dy=e.hideTextInstance,Em=e.unhideInstance,fy=e.unhideTextInstance;e.cancelViewTransitionName,e.cancelRootViewTransitionName,e.restoreRootViewTransitionName,e.cloneRootViewTransitionContainer,e.removeRootViewTransitionClone,e.measureClonedInstance,e.hasInstanceChanged,e.hasInstanceAffectedParent,e.startViewTransition,e.startGestureTransition,e.stopGestureTransition,e.getCurrentGestureOffset,e.subscribeToGestureDirection,e.createViewTransitionInstance;var py=e.clearContainer;e.createFragmentInstance,e.updateFragmentInstanceFiber,e.commitNewChildToFragmentInstance,e.deleteChildFromFragmentInstance;var gy=e.cloneInstance,my=e.createContainerChildSet,ym=e.appendChildToContainerChildSet,TA=e.finalizeContainerChildren,vm=e.replaceContainerChildren,Cm=e.cloneHiddenInstance,Tn=e.cloneHiddenTextInstance,Zd=e.isSuspenseInstancePending,Im=e.isSuspenseInstanceFallback,hy=e.getSuspenseInstanceFallbackErrorDetails,z0=e.registerSuspenseInstanceRetry,M0=e.canHydrateFormStateMarker,Bm=e.isFormStateMarkerMatching,_m=e.getNextHydratableSibling,Ey=e.getNextHydratableSiblingAfterSingleton,yy=e.getFirstHydratableChild,Yd=e.getFirstHydratableChildWithinContainer,L0=e.getFirstHydratableChildWithinSuspenseInstance,$0=e.getFirstHydratableChildWithinSingleton,wc=e.canHydrateInstance,Dm=e.canHydrateTextInstance,vy=e.canHydrateSuspenseInstance,Cy=e.hydrateInstance,Qm=e.hydrateTextInstance,H0=e.hydrateSuspenseInstance,Sm=e.getNextHydratableInstanceAfterSuspenseInstance,Ol=e.commitHydratedContainer,Iy=e.commitHydratedSuspenseInstance,bm=e.clearSuspenseBoundary,rp=e.clearSuspenseBoundaryFromContainer,Qu=e.shouldDeleteUnhydratedTailInstances;e.diffHydratedPropsForDevWarnings,e.diffHydratedTextForDevWarnings,e.describeHydratableInstanceForDevWarnings;var wm=e.validateHydratableInstance,xm=e.validateHydratableTextInstance,ds=e.supportsResources,Um=e.isHostHoistableType,ap=e.getHoistableRoot,Nm=e.getResource,Rm=e.acquireResource,Tm=e.releaseResource,By=e.hydrateHoistable,op=e.mountHoistable,_y=e.unmountHoistable,G0=e.createHoistableInstance,An=e.prepareToCommitHoistables,j0=e.mayResourceSuspendCommit,Da=e.preloadResource,Pr=e.suspendResource,vr=e.supportsSingletons,Su=e.resolveSingletonInstance,xc=e.acquireSingletonInstance,Uc=e.releaseSingletonInstance,Vd=e.isHostSingletonType,bu=e.isSingletonScope,Om=[],wu=-1,Pa={},Jr=Math.clz32?Math.clz32:j,km=Math.log,Fm=Math.LN2,Nc=256,Aa=4194304,OA=Gr.unstable_scheduleCallback,zm=Gr.unstable_cancelCallback,Dy=Gr.unstable_shouldYield,P0=Gr.unstable_requestPaint,fi=Gr.unstable_now,Ae=Gr.unstable_ImmediatePriority,J0=Gr.unstable_UserBlockingPriority,Mm=Gr.unstable_NormalPriority,Qy=Gr.unstable_IdlePriority,kA=Gr.log,K0=Gr.unstable_setDisableYieldValue,qd=null,go=null,Lm,Sy,Xd=!1,$m=new WeakMap,kl=[],Rc=0,sp=null,lp=0,Ur=[],lr=0,ki=null,da=1,ur="",Kr=T(null),Wd=T(null),pi=T(null),Ro=T(null),Qa=null,Cr=null,On=!1,Tc=null,fs=!1,Hm=Error(s(519)),Ja=typeof Object.is=="function"?Object.is:Ai,up=T(null),To=null,Sa=null,Z0=typeof AbortController<"u"?AbortController:function(){var o=[],u=this.signal={aborted:!1,addEventListener:function(f,m){o.push(m)}};this.abort=function(){u.aborted=!0,o.forEach(function(f){return f()})}},Y0=Gr.unstable_scheduleCallback,V0=Gr.unstable_NormalPriority,Fi={$$typeof:No,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0},Fl=null,FA=null,Gm=!1,cp=!1,Oc=!1,zA=0,ef=null,jm=0,MA=0,LA=null,by=l.S;l.S=function(o,u){typeof u=="object"&&u!==null&&typeof u.then=="function"&&Er(o,u),by!==null&&by(o,u)};var kc=T(null),q0=Object.prototype.hasOwnProperty,tf=Error(s(460)),Pm=Error(s(474)),Ap=Error(s(542)),dp={then:function(){}},Fc=null,Oo=[],$A=0,Jm=0,xu=!1,Km=!1,HA=T(null),nf=T(0),zl=0,rn=null,Gn=null,qi=null,rf=!1,Uu=!1,Ml=!1,fp=0,af=0,GA=null,X0=0,jA={readContext:di,use:Bn,useCallback:zn,useContext:zn,useEffect:zn,useImperativeHandle:zn,useLayoutEffect:zn,useInsertionEffect:zn,useMemo:zn,useReducer:zn,useRef:zn,useState:zn,useDebugValue:zn,useDeferredValue:zn,useTransition:zn,useSyncExternalStore:zn,useId:zn,useHostTransitionStatus:zn,useFormState:zn,useActionState:zn,useOptimistic:zn,useMemoCache:zn,useCacheRefresh:zn},wy={readContext:di,use:Bn,useCallback:function(o,u){return Ni().memoizedState=[o,u===void 0?null:u],o},useContext:di,useEffect:eu,useImperativeHandle:function(o,u,f){f=f!=null?f.concat([o]):null,Is(4194308,4,Wu.bind(null,u,o),f)},useLayoutEffect:function(o,u){return Is(4194308,4,o,u)},useInsertionEffect:function(o,u){Is(4,2,o,u)},useMemo:function(o,u){var f=Ni();u=u===void 0?null:u;var m=o();if(Ml){Ct(!0);try{o()}finally{Ct(!1)}}return f.memoizedState=[m,u],m},useReducer:function(o,u,f){var m=Ni();if(f!==void 0){var v=f(u);if(Ml){Ct(!0);try{f(u)}finally{Ct(!1)}}}else v=u;return m.memoizedState=m.baseState=v,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:v},m.queue=o,o=o.dispatch=au.bind(null,rn,o),[m.memoizedState,o]},useRef:function(o){var u=Ni();return o={current:o},u.memoizedState=o},useState:function(o){o=_e(o);var u=o.queue,f=_s.bind(null,rn,u);return u.dispatch=f,[o.memoizedState,f]},useDebugValue:ec,useDeferredValue:function(o,u){var f=Ni();return tc(f,o,u)},useTransition:function(){var o=_e(!1);return o=nc.bind(null,rn,o.queue,!0,!1),Ni().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,u,f){var m=rn,v=Ni();if(On){if(f===void 0)throw Error(s(407));f=f()}else{if(f=u(),ai===null)throw Error(s(349));(yn&124)!==0||G(m,u,f)}v.memoizedState=f;var D={value:f,getSnapshot:u};return v.queue=D,eu(ie.bind(null,m,D,o),[o]),m.flags|=2048,Cs(9,vi(),J.bind(null,m,D,f,u),null),f},useId:function(){var o=Ni(),u=ai.identifierPrefix;if(On){var f=ur,m=da;f=(m&~(1<<32-Jr(m)-1)).toString(32)+f,u="\xAB"+u+"R"+f,f=fp++,0<f&&(u+="H"+f.toString(32)),u+="\xBB"}else f=X0++,u="\xAB"+u+"r"+f.toString(32)+"\xBB";return o.memoizedState=u},useHostTransitionStatus:rc,useFormState:wr,useActionState:wr,useOptimistic:function(o){var u=Ni();u.memoizedState=u.baseState=o;var f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return u.queue=f,u=fe.bind(null,rn,!0,f),f.dispatch=u,[o,u]},useMemoCache:ao,useCacheRefresh:function(){return Ni().memoizedState=qo.bind(null,rn)}},xy={readContext:di,use:Bn,useCallback:ru,useContext:di,useEffect:tu,useImperativeHandle:xd,useInsertionEffect:nu,useLayoutEffect:iu,useMemo:Bs,useReducer:Fa,useRef:Xu,useState:function(){return Fa(Ri)},useDebugValue:ec,useDeferredValue:function(o,u){var f=Sn();return rr(f,Gn.memoizedState,o,u)},useTransition:function(){var o=Fa(Ri)[0],u=Sn().memoizedState;return[typeof o=="boolean"?o:$r(o),u]},useSyncExternalStore:R,useId:ac,useHostTransitionStatus:rc,useFormState:Ma,useActionState:Ma,useOptimistic:function(o,u){var f=Sn();return Oe(f,Gn,o,u)},useMemoCache:ao,useCacheRefresh:Vo},W0={readContext:di,use:Bn,useCallback:ru,useContext:di,useEffect:tu,useImperativeHandle:xd,useInsertionEffect:nu,useLayoutEffect:iu,useMemo:Bs,useReducer:N,useRef:Xu,useState:function(){return N(Ri)},useDebugValue:ec,useDeferredValue:function(o,u){var f=Sn();return Gn===null?tc(f,o,u):rr(f,Gn.memoizedState,o,u)},useTransition:function(){var o=N(Ri)[0],u=Sn().memoizedState;return[typeof o=="boolean"?o:$r(o),u]},useSyncExternalStore:R,useId:ac,useHostTransitionStatus:rc,useFormState:qu,useActionState:qu,useOptimistic:function(o,u){var f=Sn();return Gn!==null?Oe(f,Gn,o,u):(f.baseState=o,[o,f.queue.dispatch])},useMemoCache:ao,useCacheRefresh:Vo},PA=null,of=0,JA=Te(!0),Uy=Te(!1),ko=T(null),Gs=null,Ir=T(0),Zm={enqueueSetState:function(o,u,f){o=o._reactInternals;var m=sr(),v=ir(m);v.payload=u,f!=null&&(v.callback=f),u=Ea(o,v,m),u!==null&&(xr(u,o,m),it(u,o,m))},enqueueReplaceState:function(o,u,f){o=o._reactInternals;var m=sr(),v=ir(m);v.tag=1,v.payload=u,f!=null&&(v.callback=f),u=Ea(o,v,m),u!==null&&(xr(u,o,m),it(u,o,m))},enqueueForceUpdate:function(o,u){o=o._reactInternals;var f=sr(),m=ir(f);m.tag=2,u!=null&&(m.callback=u),u=Ea(o,m,f),u!==null&&(xr(u,o,f),it(u,o,f))}},Ym=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)},Ny=Error(s(461)),Nr=!1,Vm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},Ll=!1,zi=!1,pp=!1,qm=typeof WeakSet=="function"?WeakSet:Set,Br=null,cr=null,Ka=!1,Xi=null,zc=8192,Xm={getCacheForType:function(o){var u=di(Fi),f=u.data.get(o);return f===void 0&&(f=o(),u.data.set(o,f)),f}},sf=0,lf=1,uf=2,gp=3,cf=4;if(typeof Symbol=="function"&&Symbol.for){var KA=Symbol.for;sf=KA("selector.component"),lf=KA("selector.has_pseudo_class"),uf=KA("selector.role"),gp=KA("selector.test_id"),cf=KA("selector.text")}var eB=typeof WeakMap=="function"?WeakMap:Map,gn=0,ai=null,ln=null,yn=0,Ut=0,Za=null,Nu=!1,Mc=!1,mp=!1,Ya=0,Bi=0,js=0,ba=0,Ps=0,oi=0,ZA=0,Af=null,Zr=null,YA=!1,VA=0,df=1/0,hp=null,Ru=null,ni=0,Js=null,Lc=null,Ks=0,Ep=0,Wm=null,Ry=null,Zs=0,Rr=null;return nn.attemptContinuousHydration=function(o){if(o.tag===13){var u=nr(o,67108864);u!==null&&xr(u,o,67108864),_c(o,67108864)}},nn.attemptHydrationAtCurrentPriority=function(o){if(o.tag===13){var u=sr();u=St(u);var f=nr(o,u);f!==null&&xr(f,o,u),_c(o,u)}},nn.attemptSynchronousHydration=function(o){switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var u=q(o.pendingLanes);if(u!==0){for(o.pendingLanes|=2,o.entangledLanes|=2;u;){var f=1<<31-Jr(u);o.entanglements[1]|=f,u&=~f}Ui(o),(gn&6)===0&&(df=fi()+500,Wr(0,!1))}}break;case 13:u=nr(o,2),u!==null&&xr(u,o,2),ls(),_c(o,2)}},nn.batchedUpdates=function(o,u){return o(u)},nn.createComponentSelector=function(o){return{$$typeof:sf,value:o}},nn.createContainer=function(o,u,f,m,v,D,k,P,le,Ue){return us(o,u,!1,null,f,m,D,k,P,le,Ue,null)},nn.createHasPseudoClassSelector=function(o){return{$$typeof:lf,value:o}},nn.createHydrationContainer=function(o,u,f,m,v,D,k,P,le,Ue,Ge,tt,lt){return o=us(f,m,!0,o,v,D,P,le,Ue,Ge,tt,lt),o.context=Ao(null),f=o.current,m=sr(),m=St(m),v=ir(m),v.callback=u??null,Ea(f,v,m),u=m,o.current.lanes=u,mt(o,u),Ui(o),o},nn.createPortal=function(o,u,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ul,key:m==null?null:""+m,children:o,containerInfo:u,implementation:f}},nn.createRoleSelector=function(o){return{$$typeof:uf,value:o}},nn.createTestNameSelector=function(o){return{$$typeof:gp,value:o}},nn.createTextSelector=function(o){return{$$typeof:cf,value:o}},nn.defaultOnCaughtError=function(o){console.error(o)},nn.defaultOnRecoverableError=function(o){Ym(o)},nn.defaultOnUncaughtError=function(o){Ym(o)},nn.deferredUpdates=function(o){var u=l.T,f=kt();try{return Qt(32),l.T=null,o()}finally{Qt(f),l.T=u}},nn.discreteUpdates=function(o,u,f,m,v){var D=l.T,k=kt();try{return Qt(2),l.T=null,o(u,f,m,v)}finally{Qt(k),l.T=D,gn===0&&(df=fi()+500)}},nn.findAllNodes=uo,nn.findBoundingRects=function(o,u){if(!Tl)throw Error(s(363));u=uo(o,u),o=[];for(var f=0;f<u.length;f++)o.push(np(u[f]));for(u=o.length-1;0<u;u--){f=o[u];for(var m=f.x,v=m+f.width,D=f.y,k=D+f.height,P=u-1;0<=P;P--)if(u!==P){var le=o[P],Ue=le.x,Ge=Ue+le.width,tt=le.y,lt=tt+le.height;if(m>=Ue&&D>=tt&&v<=Ge&&k<=lt){o.splice(u,1);break}else if(m!==Ue||f.width!==le.width||lt<D||tt>k){if(!(D!==tt||f.height!==le.height||Ge<m||Ue>v)){Ue>m&&(le.width+=Ue-m,le.x=m),Ge<v&&(le.width=v-Ue),o.splice(u,1);break}}else{tt>D&&(le.height+=tt-D,le.y=D),lt<k&&(le.height=k-tt),o.splice(u,1);break}}}return o},nn.findHostInstance=cs,nn.findHostInstanceWithNoPortals=function(o){return o=d(o),o=o!==null?C(o):null,o===null?null:w(o.stateNode)},nn.findHostInstanceWithWarning=function(o){return cs(o)},nn.flushPassiveEffects=xl,nn.flushSyncFromReconciler=function(o){var u=gn;gn|=1;var f=l.T,m=kt();try{if(Qt(2),l.T=null,o)return o()}finally{Qt(m),l.T=f,gn=u,(gn&6)===0&&Wr(0,!1)}},nn.flushSyncWork=ls,nn.focusWithin=function(o,u){if(!Tl)throw Error(s(363));for(o=gu(o),u=pc(o,u),u=Array.from(u),o=0;o<u.length;){var f=u[o++],m=f.tag;if(!Hs(f)){if((m===5||m===26||m===27)&&oy(f.stateNode))return!0;for(f=f.child;f!==null;)u.push(f),f=f.sibling}}return!1},nn.getFindAllNodesFailureDescription=function(o,u){if(!Tl)throw Error(s(363));var f=0,m=[];o=[gu(o),0];for(var v=0;v<o.length;){var D=o[v++],k=D.tag,P=o[v++],le=u[P];if((k!==5&&k!==26&&k!==27||!Hs(D))&&(fc(D,le)&&(m.push(Sl(le)),P++,P>f&&(f=P)),P<u.length))for(D=D.child;D!==null;)o.push(D,P),D=D.sibling}if(f<u.length){for(o=[];f<u.length;f++)o.push(Sl(u[f]));return`findAllNodes was able to match part of the selector:
|
|
34
|
+
`+(m.join(" > ")+`
|
|
35
|
+
|
|
36
|
+
No matching component was found for:
|
|
37
|
+
`)+o.join(" > ")}return null},nn.getPublicRootInstance=function(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 27:case 5:return w(o.child.stateNode);default:return o.child.stateNode}},nn.injectIntoDevTools=function(){var o={bundleType:0,version:g,rendererPackageName:B,currentDispatcherRef:l,reconcilerVersion:"19.1.0"};if(b!==null&&(o.rendererConfig=b),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")o=!1;else{var u=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(u.isDisabled||!u.supportsFiber)o=!0;else{try{qd=u.inject(o),go=u}catch{}o=!!u.checkDCE}}return o},nn.isAlreadyRendering=function(){return(gn&6)!==0},nn.observeVisibleRects=function(o,u,f,m){if(!Tl)throw Error(s(363));o=uo(o,u);var v=sy(o,f,m).disconnect;return{disconnect:function(){v()}}},nn.shouldError=function(){return null},nn.shouldSuspend=function(){return!1},nn.startHostTransition=function(o,u,f,m){if(o.tag!==5)throw Error(s(476));var v=ic(o).queue;nc(o,v,u,ri,f===null?a:function(){var D=ic(o).next.queue;return ra(o,D,{},sr()),f(m)})},nn.updateContainer=function(o,u,f,m){var v=u.current,D=sr();return Jd(v,D,o,u,f,m),D},nn.updateContainerSync=function(o,u,f,m){return Jd(u.current,2,o,u,f,m),2},nn};Fh.exports.default=Fh.exports;Object.defineProperty(Fh.exports,"__esModule",{value:!0})});var FR=un((tY,zh)=>{"use strict";process.env.NODE_ENV!=="production"&&(zh.exports=function(e){function t(n,r){for(n=n.memoizedState;n!==null&&0<r;)n=n.next,r--;return n}function a(n,r,A,p){if(A>=r.length)return p;var h=r[A],y=fi(n)?n.slice():Pr({},n);return y[h]=a(n[h],r,A+1,p),y}function s(n,r,A){if(r.length!==A.length)console.warn("copyWithRename() expects paths of the same length");else{for(var p=0;p<A.length-1;p++)if(r[p]!==A[p]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return i(n,r,A,0)}}function i(n,r,A,p){var h=r[p],y=fi(n)?n.slice():Pr({},n);return p+1===r.length?(y[A[p]]=y[h],fi(y)?y.splice(h,1):delete y[h]):y[h]=i(n[h],r,A,p+1),y}function c(n,r,A){var p=r[A],h=fi(n)?n.slice():Pr({},n);return A+1===r.length?(fi(h)?h.splice(p,1):delete h[p],h):(h[p]=c(n[p],r,A+1),h)}function d(){return!1}function E(){return null}function C(n,r,A,p){return new H0(n,r,A,p)}function I(n,r){n.context===Ps&&(Rm(r,n,null,null),np())}function S(n,r){if(nl!==null){var A=r.staleFamilies;r=r.updatedFamilies,TA(),Qm(n.current,r,A),np()}}function T(n){nl=n}function z(){}function O(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function j(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function q(){}function Y(n){var r=[];return n.forEach(function(A){r.push(A)}),r.sort().join(", ")}function re(n){var r=n,A=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(A=r.return),n=r.return;while(n)}return r.tag===3?A:null}function ve(n){if(re(n)!==n)throw Error("Unable to find node on an unmounted component.")}function be(n){var r=n.alternate;if(!r){if(r=re(n),r===null)throw Error("Unable to find node on an unmounted component.");return r!==n?null:n}for(var A=n,p=r;;){var h=A.return;if(h===null)break;var y=h.alternate;if(y===null){if(p=h.return,p!==null){A=p;continue}break}if(h.child===y.child){for(y=h.child;y;){if(y===A)return ve(h),n;if(y===p)return ve(h),r;y=y.sibling}throw Error("Unable to find node on an unmounted component.")}if(A.return!==p.return)A=h,p=y;else{for(var Q=!1,F=h.child;F;){if(F===A){Q=!0,A=h,p=y;break}if(F===p){Q=!0,p=h,A=y;break}F=F.sibling}if(!Q){for(F=y.child;F;){if(F===A){Q=!0,A=y,p=h;break}if(F===p){Q=!0,p=y,A=h;break}F=F.sibling}if(!Q)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(A.alternate!==p)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(A.tag!==3)throw Error("Unable to find node on an unmounted component.");return A.stateNode.current===A?n:r}function ge(n){return n=be(n),n!==null?$e(n):null}function $e(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=$e(n),r!==null)return r;n=n.sibling}return null}function mt(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(n.tag!==4&&(r=mt(n),r!==null))return r;n=n.sibling}return null}function at(n){return n===null||typeof n!="object"?null:(n=Dy&&n[Dy]||n["@@iterator"],typeof n=="function"?n:null)}function Re(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===P0?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Uc:return"Fragment";case bu:return"Profiler";case Vd:return"StrictMode";case km:return"Suspense";case Fm:return"SuspenseList";case OA:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case xc:return"Portal";case Pa:return(n.displayName||"Context")+".Provider";case wu:return(n._context.displayName||"Context")+".Consumer";case Jr:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Nc:return r=n.displayName||null,r!==null?r:Re(n.type)||"Memo";case Aa:r=n._payload,n=n._init;try{return Re(n(r))}catch{}}return null}function et(n){var r=n.type;switch(n.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(r._context.displayName||"Context")+".Consumer";case 10:return(r.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Re(r);case 8:return r===Vd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;break;case 29:if(r=n._debugInfo,r!=null){for(var A=r.length-1;0<=A;A--)if(typeof r[A].name=="string")return r[A].name}if(n.return!==null)return et(n.return)}return null}function St(n){return{current:n}}function $t(n,r){0>ba?console.error("Unexpected pop."):(r!==js[ba]&&console.error("Unexpected Fiber popped."),n.current=Bi[ba],Bi[ba]=null,js[ba]=null,ba--)}function Ct(n,r,A){ba++,Bi[ba]=n.current,js[ba]=A,n.current=r}function In(n){return n>>>=0,n===0?32:31-(ZA(n)/Af|0)|0}function Qi(n){if(n&1)return"SyncHydrationLane";if(n&2)return"Sync";if(n&4)return"InputContinuousHydration";if(n&8)return"InputContinuous";if(n&16)return"DefaultHydration";if(n&32)return"Default";if(n&128)return"TransitionHydration";if(n&4194048)return"Transition";if(n&62914560)return"Retry";if(n&67108864)return"SelectiveHydration";if(n&134217728)return"IdleHydration";if(n&268435456)return"Idle";if(n&536870912)return"Offscreen";if(n&1073741824)return"Deferred"}function ye(n){var r=n&42;if(r!==0)return r;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),n}}function ht(n,r,A){var p=n.pendingLanes;if(p===0)return 0;var h=0,y=n.suspendedLanes,Q=n.pingedLanes;n=n.warmLanes;var F=p&134217727;return F!==0?(p=F&~y,p!==0?h=ye(p):(Q&=F,Q!==0?h=ye(Q):A||(A=F&~n,A!==0&&(h=ye(A))))):(F=p&~y,F!==0?h=ye(F):Q!==0?h=ye(Q):A||(A=p&~n,A!==0&&(h=ye(A)))),h===0?0:r!==0&&r!==h&&(r&y)===0&&(y=h&-h,A=r&-r,y>=A||y===32&&(A&4194048)!==0)?r:h}function Ze(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function Ce(n,r){switch(n){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function xe(){var n=Zr;return Zr<<=1,(Zr&4194048)===0&&(Zr=256),n}function ut(){var n=YA;return YA<<=1,(YA&62914560)===0&&(YA=4194304),n}function oe(n){for(var r=[],A=0;31>A;A++)r.push(n);return r}function De(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function dt(n,r,A,p,h,y){var Q=n.pendingLanes;n.pendingLanes=A,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=A,n.entangledLanes&=A,n.errorRecoveryDisabledLanes&=A,n.shellSuspendCounter=0;var F=n.entanglements,ne=n.expirationTimes,Ee=n.hiddenUpdates;for(A=Q&~A;0<A;){var je=31-oi(A),Ke=1<<je;F[je]=0,ne[je]=-1;var ot=Ee[je];if(ot!==null)for(Ee[je]=null,je=0;je<ot.length;je++){var Cn=ot[je];Cn!==null&&(Cn.lane&=-536870913)}A&=~Ke}p!==0&&ct(n,p,0),y!==0&&h===0&&n.tag!==0&&(n.suspendedLanes|=y&~(Q&~r))}function ct(n,r,A){n.pendingLanes|=r,n.suspendedLanes&=~r;var p=31-oi(r);n.entangledLanes|=r,n.entanglements[p]=n.entanglements[p]|1073741824|A&4194090}function Jt(n,r){var A=n.entangledLanes|=r;for(n=n.entanglements;A;){var p=31-oi(A),h=1<<p;h&r|n[p]&r&&(n[p]|=r),A&=~h}}function Qn(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Ht(n,r,A){if(f)for(n=n.pendingUpdatersLaneMap;0<A;){var p=31-oi(A),h=1<<p;n[p].add(r),A&=~h}}function Fn(n,r){if(f)for(var A=n.pendingUpdatersLaneMap,p=n.memoizedUpdaters;0<r;){var h=31-oi(r);n=1<<h,h=A[h],0<h.size&&(h.forEach(function(y){var Q=y.alternate;Q!==null&&p.has(Q)||p.add(y)}),h.clear()),r&=~n}}function yt(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Pn(n){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var r=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(r.isDisabled)return!0;if(!r.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Zs=r.inject(n),Rr=r}catch(A){console.error("React instrumentation encountered an error: %s.",A)}return!!r.checkDCE}function Nt(n){if(typeof Wm=="function"&&Ry(n),Rr&&typeof Rr.setStrictMode=="function")try{Rr.setStrictMode(Zs,n)}catch(r){u||(u=!0,console.error("React instrumentation encountered an error: %s",r))}}function er(n){o=n}function Ai(){o!==null&&typeof o.markCommitStopped=="function"&&o.markCommitStopped()}function ft(n){o!==null&&typeof o.markComponentRenderStarted=="function"&&o.markComponentRenderStarted(n)}function Vt(){o!==null&&typeof o.markComponentRenderStopped=="function"&&o.markComponentRenderStopped()}function Sr(n){o!==null&&typeof o.markRenderStarted=="function"&&o.markRenderStarted(n)}function Ji(){o!==null&&typeof o.markRenderStopped=="function"&&o.markRenderStopped()}function We(n,r){o!==null&&typeof o.markStateUpdateScheduled=="function"&&o.markStateUpdateScheduled(n,r)}function zr(){}function Ki(){if(m===0){v=console.log,D=console.info,k=console.warn,P=console.error,le=console.group,Ue=console.groupCollapsed,Ge=console.groupEnd;var n={configurable:!0,enumerable:!0,value:zr,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}m++}function di(){if(m--,m===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pr({},n,{value:v}),info:Pr({},n,{value:D}),warn:Pr({},n,{value:k}),error:Pr({},n,{value:P}),group:Pr({},n,{value:le}),groupCollapsed:Pr({},n,{value:Ue}),groupEnd:Pr({},n,{value:Ge})})}0>m&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ei(n){if(tt===void 0)try{throw Error()}catch(A){var r=A.stack.trim().match(/\n( *(at )?)/);tt=r&&r[1]||"",lt=-1<A.stack.indexOf(`
|
|
38
|
+
at`)?" (<anonymous>)":-1<A.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
39
|
+
`+tt+n+lt}function tr(n,r){if(!n||Mt)return"";var A=Va.get(n);if(A!==void 0)return A;Mt=!0,A=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var p=null;p=Ae.H,Ae.H=null,Ki();try{var h={DetermineComponentFrameRoot:function(){try{if(r){var ot=function(){throw Error()};if(Object.defineProperty(ot.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ot,[])}catch(jn){var Cn=jn}Reflect.construct(n,[],ot)}else{try{ot.call()}catch(jn){Cn=jn}n.call(ot.prototype)}}else{try{throw Error()}catch(jn){Cn=jn}(ot=n())&&typeof ot.catch=="function"&&ot.catch(function(){})}}catch(jn){if(jn&&Cn&&typeof jn.stack=="string")return[jn.stack,Cn.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var Q=h.DetermineComponentFrameRoot(),F=Q[0],ne=Q[1];if(F&&ne){var Ee=F.split(`
|
|
40
|
+
`),je=ne.split(`
|
|
41
|
+
`);for(Q=y=0;y<Ee.length&&!Ee[y].includes("DetermineComponentFrameRoot");)y++;for(;Q<je.length&&!je[Q].includes("DetermineComponentFrameRoot");)Q++;if(y===Ee.length||Q===je.length)for(y=Ee.length-1,Q=je.length-1;1<=y&&0<=Q&&Ee[y]!==je[Q];)Q--;for(;1<=y&&0<=Q;y--,Q--)if(Ee[y]!==je[Q]){if(y!==1||Q!==1)do if(y--,Q--,0>Q||Ee[y]!==je[Q]){var Ke=`
|
|
42
|
+
`+Ee[y].replace(" at new "," at ");return n.displayName&&Ke.includes("<anonymous>")&&(Ke=Ke.replace("<anonymous>",n.displayName)),typeof n=="function"&&Va.set(n,Ke),Ke}while(1<=y&&0<=Q);break}}}finally{Mt=!1,Ae.H=p,di(),Error.prepareStackTrace=A}return Ee=(Ee=n?n.displayName||n.name:"")?Ei(Ee):"",typeof n=="function"&&Va.set(n,Ee),Ee}function to(n){var r=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,n=n.stack,Error.prepareStackTrace=r,n.startsWith(`Error: react-stack-top-frame
|
|
43
|
+
`)&&(n=n.slice(29)),r=n.indexOf(`
|
|
44
|
+
`),r!==-1&&(n=n.slice(r+1)),r=n.indexOf("react-stack-bottom-frame"),r!==-1&&(r=n.lastIndexOf(`
|
|
45
|
+
`,r)),r!==-1)n=n.slice(0,r);else return"";return n}function no(n){switch(n.tag){case 26:case 27:case 5:return Ei(n.type);case 16:return Ei("Lazy");case 13:return Ei("Suspense");case 19:return Ei("SuspenseList");case 0:case 15:return tr(n.type,!1);case 11:return tr(n.type.render,!1);case 1:return tr(n.type,!0);case 31:return Ei("Activity");default:return""}}function Ui(n){try{var r="";do{r+=no(n);var A=n._debugInfo;if(A)for(var p=A.length-1;0<=p;p--){var h=A[p];if(typeof h.name=="string"){var y=r,Q=h.env,F=Ei(h.name+(Q?" ["+Q+"]":""));r=y+F}}n=n.return}while(n);return r}catch(ne){return`
|
|
46
|
+
Error generating stack: `+ne.message+`
|
|
47
|
+
`+ne.stack}}function Wr(n){return(n=n?n.displayName||n.name:"")?Ei(n):""}function Zi(n,r){if(typeof n=="object"&&n!==null){var A=$c.get(n);return A!==void 0?A:(r={value:n,source:r,stack:Ui(r)},$c.set(n,r),r)}return{value:n,source:r,stack:Ui(r)}}function Mr(n,r){mr(),Fo[ae++]=ue,Fo[ae++]=ee,ee=n,ue=r}function ha(n,r,A){mr(),Ne[pt++]=_t,Ne[pt++]=Xt,Ne[pt++]=kn,kn=n;var p=_t;n=Xt;var h=32-oi(p)-1;p&=~(1<<h),A+=1;var y=32-oi(r)+h;if(30<y){var Q=h-h%5;y=(p&(1<<Q)-1).toString(32),p>>=Q,h-=Q,_t=1<<32-oi(r)+h|A<<h|p,Xt=y+n}else _t=1<<y|A<<h|p,Xt=n}function ea(n){mr(),n.return!==null&&(Mr(n,1),ha(n,1,0))}function br(n){for(;n===ee;)ee=Fo[--ae],Fo[ae]=null,ue=Fo[--ae],Fo[ae]=null;for(;n===kn;)kn=Ne[--pt],Ne[pt]=null,Xt=Ne[--pt],Ne[pt]=null,_t=Ne[--pt],Ne[pt]=null}function mr(){xn||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function hr(n){return n===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),n}function Er(n,r){Ct(wa,r,n),Ct(fn,n,n),Ct(gi,null,n),r=K0(r),$t(gi,n),Ct(gi,r,n)}function x(n){$t(gi,n),$t(fn,n),$t(wa,n)}function V(){return hr(gi.current)}function Qe(n){n.memoizedState!==null&&Ct(yp,n,n);var r=hr(gi.current),A=qd(r,n.type);r!==A&&(Ct(fn,n,n),Ct(gi,A,n))}function He(n){fn.current===n&&($t(gi,n),$t(fn,n)),yp.current===n&&($t(yp,n),lr?Sa._currentValue=To:Sa._currentValue2=To)}function nt(n,r){return n.serverProps===void 0&&n.serverTail.length===0&&n.children.length===1&&3<n.distanceFromLeaf&&n.distanceFromLeaf>15-r?nt(n.children[0],r):n}function st(n){return" "+" ".repeat(n)}function vt(n){return"+ "+" ".repeat(n)}function Bt(n){return"- "+" ".repeat(n)}function Rt(n){switch(n.tag){case 26:case 27:case 5:return n.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return n=n.type,n.displayName||n.name||null;case 11:return n=n.type.render,n.displayName||n.name||null;case 1:return n=n.type,n.displayName||n.name||null;default:return null}}function yi(n,r){return T2.test(n)?(n=JSON.stringify(n),n.length>r-2?8>r?'{"..."}':"{"+n.slice(0,r-7)+'..."}':"{"+n+"}"):n.length>r?5>r?'{"..."}':n.slice(0,r-3)+"...":n}function Yi(n,r,A){var p=120-2*A;if(r===null)return vt(A)+yi(n,p)+`
|
|
48
|
+
`;if(typeof r=="string"){for(var h=0;h<r.length&&h<n.length&&r.charCodeAt(h)===n.charCodeAt(h);h++);return h>p-8&&10<h&&(n="..."+n.slice(h-8),r="..."+r.slice(h-8)),vt(A)+yi(n,p)+`
|
|
49
|
+
`+Bt(A)+yi(r,p)+`
|
|
50
|
+
`}return st(A)+yi(n,p)+`
|
|
51
|
+
`}function Qo(n){return Object.prototype.toString.call(n).replace(/^\[object (.*)\]$/,function(r,A){return A})}function Gt(n,r){switch(typeof n){case"string":return n=JSON.stringify(n),n.length>r?5>r?'"..."':n.slice(0,r-4)+'..."':n;case"object":if(n===null)return"null";if(fi(n))return"[...]";if(n.$$typeof===Su)return(r=Re(n.type))?"<"+r+">":"<...>";var A=Qo(n);if(A==="Object"){A="",r-=2;for(var p in n)if(n.hasOwnProperty(p)){var h=JSON.stringify(p);if(h!=='"'+p+'"'&&(p=h),r-=p.length-2,h=Gt(n[p],15>r?r:15),r-=h.length,0>r){A+=A===""?"...":", ...";break}A+=(A===""?"":",")+p+":"+h}return"{"+A+"}"}return A;case"function":return(r=n.displayName||n.name)?"function "+r:"function";default:return String(n)}}function Ta(n,r){return typeof n!="string"||T2.test(n)?"{"+Gt(n,r-2)+"}":n.length>r-2?5>r?'"..."':'"'+n.slice(0,r-5)+'..."':'"'+n+'"'}function nr(n,r,A){var p=120-A.length-n.length,h=[],y;for(y in r)if(r.hasOwnProperty(y)&&y!=="children"){var Q=Ta(r[y],120-A.length-y.length-1);p-=y.length+Q.length+2,h.push(y+"="+Q)}return h.length===0?A+"<"+n+`>
|
|
52
|
+
`:0<p?A+"<"+n+" "+h.join(" ")+`>
|
|
53
|
+
`:A+"<"+n+`
|
|
54
|
+
`+A+" "+h.join(`
|
|
55
|
+
`+A+" ")+`
|
|
56
|
+
`+A+`>
|
|
57
|
+
`}function Ko(n,r,A){var p="",h=Pr({},r),y;for(y in n)if(n.hasOwnProperty(y)){delete h[y];var Q=120-2*A-y.length-2,F=Gt(n[y],Q);r.hasOwnProperty(y)?(Q=Gt(r[y],Q),p+=vt(A)+y+": "+F+`
|
|
58
|
+
`,p+=Bt(A)+y+": "+Q+`
|
|
59
|
+
`):p+=vt(A)+y+": "+F+`
|
|
60
|
+
`}for(var ne in h)h.hasOwnProperty(ne)&&(n=Gt(h[ne],120-2*A-ne.length-2),p+=Bt(A)+ne+": "+n+`
|
|
61
|
+
`);return p}function Al(n,r,A,p){var h="",y=new Map;for(Ee in A)A.hasOwnProperty(Ee)&&y.set(Ee.toLowerCase(),Ee);if(y.size===1&&y.has("children"))h+=nr(n,r,st(p));else{for(var Q in r)if(r.hasOwnProperty(Q)&&Q!=="children"){var F=120-2*(p+1)-Q.length-1,ne=y.get(Q.toLowerCase());if(ne!==void 0){y.delete(Q.toLowerCase());var Ee=r[Q];ne=A[ne];var je=Ta(Ee,F);F=Ta(ne,F),typeof Ee=="object"&&Ee!==null&&typeof ne=="object"&&ne!==null&&Qo(Ee)==="Object"&&Qo(ne)==="Object"&&(2<Object.keys(Ee).length||2<Object.keys(ne).length||-1<je.indexOf("...")||-1<F.indexOf("..."))?h+=st(p+1)+Q+`={{
|
|
62
|
+
`+Ko(Ee,ne,p+2)+st(p+1)+`}}
|
|
63
|
+
`:(h+=vt(p+1)+Q+"="+je+`
|
|
64
|
+
`,h+=Bt(p+1)+Q+"="+F+`
|
|
65
|
+
`)}else h+=st(p+1)+Q+"="+Ta(r[Q],F)+`
|
|
66
|
+
`}y.forEach(function(Ke){if(Ke!=="children"){var ot=120-2*(p+1)-Ke.length-1;h+=Bt(p+1)+Ke+"="+Ta(A[Ke],ot)+`
|
|
67
|
+
`}}),h=h===""?st(p)+"<"+n+`>
|
|
68
|
+
`:st(p)+"<"+n+`
|
|
69
|
+
`+h+st(p)+`>
|
|
70
|
+
`}return n=A.children,r=r.children,typeof n=="string"||typeof n=="number"||typeof n=="bigint"?(y="",(typeof r=="string"||typeof r=="number"||typeof r=="bigint")&&(y=""+r),h+=Yi(y,""+n,p+1)):(typeof r=="string"||typeof r=="number"||typeof r=="bigint")&&(h=n==null?h+Yi(""+r,null,p+1):h+Yi(""+r,void 0,p+1)),h}function Un(n,r){var A=Rt(n);if(A===null){for(A="",n=n.child;n;)A+=Un(n,r),n=n.sibling;return A}return st(r)+"<"+A+`>
|
|
71
|
+
`}function Zo(n,r){var A=nt(n,r);if(A!==n&&(n.children.length!==1||n.children[0]!==A))return st(r)+`...
|
|
72
|
+
`+Zo(A,r+1);A="";var p=n.fiber._debugInfo;if(p)for(var h=0;h<p.length;h++){var y=p[h].name;typeof y=="string"&&(A+=st(r)+"<"+y+`>
|
|
73
|
+
`,r++)}if(p="",h=n.fiber.pendingProps,n.fiber.tag===6)p=Yi(h,n.serverProps,r),r++;else if(y=Rt(n.fiber),y!==null)if(n.serverProps===void 0){p=r;var Q=120-2*p-y.length-2,F="";for(Ee in h)if(h.hasOwnProperty(Ee)&&Ee!=="children"){var ne=Ta(h[Ee],15);if(Q-=Ee.length+ne.length+2,0>Q){F+=" ...";break}F+=" "+Ee+"="+ne}p=st(p)+"<"+y+F+`>
|
|
74
|
+
`,r++}else n.serverProps===null?(p=nr(y,h,vt(r)),r++):typeof n.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(p=Al(y,h,n.serverProps,r),r++);var Ee="";for(h=n.fiber.child,y=0;h&&y<n.children.length;)Q=n.children[y],Q.fiber===h?(Ee+=Zo(Q,r),y++):Ee+=Un(h,r),h=h.sibling;for(h&&0<n.children.length&&(Ee+=st(r)+`...
|
|
75
|
+
`),h=n.serverTail,n.serverProps===null&&r--,n=0;n<h.length;n++)y=h[n],Ee=typeof y=="string"?Ee+(Bt(r)+yi(y,120-2*r)+`
|
|
76
|
+
`):Ee+nr(y.type,y.props,Bt(r));return A+p+Ee}function ir(n){try{return`
|
|
77
|
+
|
|
78
|
+
`+Zo(n,0)}catch{return""}}function Ea(){if(Hc===null)return"";var n=Hc;try{var r="";switch(n.tag===6&&(n=n.return),n.tag){case 26:case 27:case 5:r+=Ei(n.type);break;case 13:r+=Ei("Suspense");break;case 19:r+=Ei("SuspenseList");break;case 31:r+=Ei("Activity");break;case 30:case 0:case 15:case 1:n._debugOwner||r!==""||(r+=Wr(n.type));break;case 11:n._debugOwner||r!==""||(r+=Wr(n.type.render))}for(;n;)if(typeof n.tag=="number"){var A=n;n=A._debugOwner;var p=A._debugStack;n&&p&&(typeof p!="string"&&(A._debugStack=p=to(p)),p!==""&&(r+=`
|
|
79
|
+
`+p))}else if(n.debugStack!=null){var h=n.debugStack;(n=n.owner)&&h&&(r+=`
|
|
80
|
+
`+to(h))}else break;var y=r}catch(Q){y=`
|
|
81
|
+
Error generating stack: `+Q.message+`
|
|
82
|
+
`+Q.stack}return y}function it(n,r,A,p,h,y,Q){var F=Hc;Yo(n);try{return n!==null&&n._debugTask?n._debugTask.run(r.bind(null,A,p,h,y,Q)):r(A,p,h,y,Q)}finally{Yo(F)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Yo(n){Ae.getCurrentStack=n===null?null:Ea,Tu=!1,Hc=n}function ii(n,r){if(n.return===null){if(Ys===null)Ys={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:r};else{if(Ys.fiber!==n)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Ys.distanceFromLeaf>r&&(Ys.distanceFromLeaf=r)}return Ys}var A=ii(n.return,r+1).children;return 0<A.length&&A[A.length-1].fiber===n?(A=A[A.length-1],A.distanceFromLeaf>r&&(A.distanceFromLeaf=r),A):(r={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:r},A.push(r),r)}function ta(n,r){Gc||(n=ii(n,0),n.serverProps=null,r!==null&&(r=Br(r),n.serverTail.push(r)))}function Oa(n){var r="",A=Ys;throw A!==null&&(Ys=null,r=ir(A)),ka(Zi(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
83
|
+
|
|
84
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
85
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
86
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
87
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
88
|
+
- Invalid HTML tag nesting.
|
|
89
|
+
|
|
90
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
91
|
+
|
|
92
|
+
https://react.dev/link/hydration-mismatch`+r),n)),tB}function ql(n,r){if(!ur)throw Error("Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");Gs(n.stateNode,n.type,n.memoizedProps,r,n)||Oa(n)}function io(n){for(mo=n.return;mo;)switch(mo.tag){case 5:case 13:Ou=!1;return;case 27:case 3:Ou=!0;return;default:mo=mo.return}}function ro(n){if(!ur||n!==mo)return!1;if(!xn)return io(n),xn=!0,!1;var r=n.tag;if(Ut?r!==3&&r!==27&&(r!==5||zi(n.type)&&!kl(n.type,n.memoizedProps))&&Tr&&(dl(n),Oa(n)):r!==3&&(r!==5||zi(n.type)&&!kl(n.type,n.memoizedProps))&&Tr&&(dl(n),Oa(n)),io(n),r===13){if(!ur)throw Error("Expected skipPastDehydratedSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Tr=Ym(n)}else Tr=Ut&&r===27?wy(n.type,Tr):mo?jA(n.stateNode):null;return!0}function dl(n){for(var r=Tr;r;){var A=ii(n,0),p=Br(r);A.serverTail.push(p),r=p.type==="Suspense"?Ym(r):jA(r)}}function zn(){ur&&(Tr=mo=null,Gc=xn=!1)}function vs(){var n=ff;return n!==null&&(vo===null?vo=n:vo.push.apply(vo,n),ff=null),n}function ka(n){ff===null?ff=[n]:ff.push(n)}function Xl(){var n=Ys;if(n!==null){Ys=null;for(var r=ir(n);0<n.children.length;)n=n.children[0];it(n.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
93
|
+
|
|
94
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
95
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
96
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
97
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
98
|
+
- Invalid HTML tag nesting.
|
|
99
|
+
|
|
100
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
101
|
+
|
|
102
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",r)})}}function fl(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}function pl(){vp=ky=null,Cp=!1}function Lr(n,r,A){lr?(Ct(Ty,r._currentValue,n),r._currentValue=A,Ct(nB,r._currentRenderer,n),r._currentRenderer!==void 0&&r._currentRenderer!==null&&r._currentRenderer!==Oy&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer=Oy):(Ct(Ty,r._currentValue2,n),r._currentValue2=A,Ct(iB,r._currentRenderer2,n),r._currentRenderer2!==void 0&&r._currentRenderer2!==null&&r._currentRenderer2!==Oy&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer2=Oy)}function na(n,r){var A=Ty.current;lr?(n._currentValue=A,A=nB.current,$t(nB,r),n._currentRenderer=A):(n._currentValue2=A,A=iB.current,$t(iB,r),n._currentRenderer2=A),$t(Ty,r)}function gl(n,r,A){for(;n!==null;){var p=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,p!==null&&(p.childLanes|=r)):p!==null&&(p.childLanes&r)!==r&&(p.childLanes|=r),n===A)break;n=n.return}n!==A&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Ni(n,r,A,p){var h=n.child;for(h!==null&&(h.return=n);h!==null;){var y=h.dependencies;if(y!==null){var Q=h.child;y=y.firstContext;e:for(;y!==null;){var F=y;y=h;for(var ne=0;ne<r.length;ne++)if(F.context===r[ne]){y.lanes|=A,F=y.alternate,F!==null&&(F.lanes|=A),gl(y.return,A,n),p||(Q=null);break e}y=F.next}}else if(h.tag===18){if(Q=h.return,Q===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");Q.lanes|=A,y=Q.alternate,y!==null&&(y.lanes|=A),gl(Q,A,n),Q=null}else Q=h.child;if(Q!==null)Q.return=h;else for(Q=h;Q!==null;){if(Q===n){Q=null;break}if(h=Q.sibling,h!==null){h.return=Q.return,Q=h;break}Q=Q.return}h=Q}}function Sn(n,r,A,p){n=null;for(var h=r,y=!1;h!==null;){if(!y){if((h.flags&524288)!==0)y=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var Q=h.alternate;if(Q===null)throw Error("Should have a current fiber. This is a bug in React.");if(Q=Q.memoizedProps,Q!==null){var F=h.type;ho(h.pendingProps.value,Q.value)||(n!==null?n.push(F):n=[F])}}else if(h===yp.current){if(Q=h.alternate,Q===null)throw Error("Should have a current fiber. This is a bug in React.");Q.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(n!==null?n.push(Sa):n=[Sa])}h=h.return}n!==null&&Ni(r,n,A,p),r.flags|=262144}function Wn(n){for(n=n.firstContext;n!==null;){var r=n.context;if(!ho(lr?r._currentValue:r._currentValue2,n.memoizedValue))return!0;n=n.next}return!1}function $r(n){ky=n,vp=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Bn(n){return Cp&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Ri(ky,n)}function ao(n,r){return ky===null&&$r(n),Ri(n,r)}function Ri(n,r){var A=lr?r._currentValue:r._currentValue2;if(r={context:r,memoizedValue:A,next:null},vp===null){if(n===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");vp=r,n.dependencies={lanes:0,firstContext:r,_debugThenableState:null},n.flags|=524288}else vp=vp.next=r;return A}function Fa(){return{controller:new OL,data:new Map,refCount:0}}function za(n){n.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),n.refCount++}function N(n){n.refCount--,0>n.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),n.refCount===0&&kL(FL,function(){n.controller.abort()})}function R(){var n=pf;return pf=0,n}function G(n){var r=pf;return pf=n,r}function J(n){var r=pf;return pf+=n,r}function ie(n){zo=Ip(),0>n.actualStartTime&&(n.actualStartTime=zo)}function me(n){if(0<=zo){var r=Ip()-zo;n.actualDuration+=r,n.selfBaseDuration=r,zo=-1}}function we(n){if(0<=zo){var r=Ip()-zo;n.actualDuration+=r,zo=-1}}function _e(){if(0<=zo){var n=Ip()-zo;zo=-1,pf+=n}}function Oe(){zo=Ip()}function ke(n){for(var r=n.child;r;)n.actualDuration+=r.actualDuration,r=r.sibling}function Je(n){n!==Bp&&n.next===null&&(Bp===null?Ly=Bp=n:Bp=Bp.next=n),$y=!0,Ae.actQueue!==null?aB||(aB=!0,ia()):rB||(rB=!0,ia())}function Et(n,r){if(!oB&&$y){oB=!0;do for(var A=!1,p=Ly;p!==null;){if(!r)if(n!==0){var h=p.pendingLanes;if(h===0)var y=0;else{var Q=p.suspendedLanes,F=p.pingedLanes;y=(1<<31-oi(42|n)+1)-1,y&=h&~(Q&~F),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(A=!0,wr(p,y))}else y=pn,y=ht(p,p===mi?y:0,p.cancelPendingCommit!==null||p.timeoutHandle!==Ur),(y&3)===0||Ze(p,y)||(A=!0,wr(p,y));p=p.next}while(A);oB=!1}}function jt(){bn()}function bn(){$y=aB=rB=!1;var n=0;_p!==0&&(Cr()&&(n=_p),_p=0);for(var r=ni(),A=null,p=Ly;p!==null;){var h=p.next,y=en(p,r);y===0?(p.next=null,A===null?Ly=h:A.next=h,h===null&&(Bp=A)):(A=p,(n!==0||(y&3)!==0)&&($y=!0)),p=h}Et(n,!1)}function en(n,r){for(var A=n.suspendedLanes,p=n.pingedLanes,h=n.expirationTimes,y=n.pendingLanes&-62914561;0<y;){var Q=31-oi(y),F=1<<Q,ne=h[Q];ne===-1?((F&A)===0||(F&p)!==0)&&(h[Q]=Ce(F,r)):ne<=r&&(n.expiredLanes|=F),y&=~F}if(r=mi,A=pn,A=ht(n,n===r?A:0,n.cancelPendingCommit!==null||n.timeoutHandle!==Ur),p=n.callbackNode,A===0||n===r&&(Yn===vf||Yn===Cf)||n.cancelPendingCommit!==null)return p!==null&&Ma(p),n.callbackNode=null,n.callbackPriority=0;if((A&3)===0||Ze(n,A)){if(r=A&-A,r!==n.callbackPriority||Ae.actQueue!==null&&p!==sB)Ma(p);else return r;switch(yt(A)){case 2:case 8:A=Lc;break;case 32:A=Ks;break;case 268435456:A=Ep;break;default:A=Ks}return p=Si.bind(null,n),Ae.actQueue!==null?(Ae.actQueue.push(p),A=sB):A=VA(A,p),n.callbackPriority=r,n.callbackNode=A,r}return p!==null&&Ma(p),n.callbackPriority=2,n.callbackNode=null,2}function Si(n,r){if(My=zy=!1,Ua!==Bf&&Ua!==NB)return n.callbackNode=null,n.callbackPriority=0,null;var A=n.callbackNode;if(TA(!0)&&n.callbackNode!==A)return null;var p=pn;return p=ht(n,n===mi?p:0,n.cancelPendingCommit!==null||n.timeoutHandle!==Ur),p===0?null:(fo(n,p,r),en(n,ni()),n.callbackNode!=null&&n.callbackNode===A?Si.bind(null,n):null)}function wr(n,r){if(TA())return null;zy=My,My=!1,fo(n,r,!0)}function Ma(n){n!==sB&&n!==null&&df(n)}function ia(){Ae.actQueue!==null&&Ae.actQueue.push(function(){return bn(),null}),V0?Fi(function(){(vn&(qa|tl))!==yo?VA(Js,jt):bn()}):VA(Js,jt)}function Wl(){return _p===0&&(_p=xe()),_p}function qu(n,r){if(eh===null){var A=eh=[];lB=0,gf=Wl(),Dp={status:"pending",value:void 0,then:function(p){A.push(p)}}}return lB++,r.then(Cs,Cs),r}function Cs(){if(--lB===0&&eh!==null){Dp!==null&&(Dp.status="fulfilled");var n=eh;eh=null,gf=0,Dp=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function vi(n,r){var A=[],p={status:"pending",value:null,reason:null,then:function(h){A.push(h)}};return n.then(function(){p.status="fulfilled",p.value=r;for(var h=0;h<A.length;h++)(0,A[h])(r)},function(h){for(p.status="rejected",p.reason=h,h=0;h<A.length;h++)(0,A[h])(void 0)}),p}function Xu(){var n=mf.current;return n!==null?n:mi.pooledCache}function Is(n,r){r===null?Ct(mf,mf.current,n):Ct(mf,r.pool,n)}function ml(){var n=Xu();return n===null?null:{parent:lr?Ar._currentValue:Ar._currentValue2,pool:n}}function eu(n,r){if(ho(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var A=Object.keys(n),p=Object.keys(r);if(A.length!==p.length)return!1;for(p=0;p<A.length;p++){var h=A[p];if(!zL.call(r,h)||!ho(n[h],r[h]))return!1}return!0}function tu(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function nu(n){return n=n.status,n==="fulfilled"||n==="rejected"}function iu(){}function Wu(n,r,A){Ae.actQueue!==null&&(Ae.didUsePromise=!0);var p=n.thenables;switch(A=p[A],A===void 0?p.push(r):A!==r&&(n.didWarnAboutUncachedPromise||(n.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),r.then(iu,iu),r=A),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,ec(n),n;default:if(typeof r.status=="string")r.then(iu,iu);else{if(n=mi,n!==null&&100<n.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");n=r,n.status="pending",n.then(function(h){if(r.status==="pending"){var y=r;y.status="fulfilled",y.value=h}},function(h){if(r.status==="pending"){var y=r;y.status="rejected",y.reason=h}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,ec(n),n}throw Qp=r,Py=!0,sh}}function xd(){if(Qp===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var n=Qp;return Qp=null,Py=!1,n}function ec(n){if(n===sh||n===Gy)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function ru(){for(var n=Sp,r=cB=Sp=0;r<n;){var A=Xs[r];Xs[r++]=null;var p=Xs[r];Xs[r++]=null;var h=Xs[r];Xs[r++]=null;var y=Xs[r];if(Xs[r++]=null,p!==null&&h!==null){var Q=p.pending;Q===null?h.next=h:(h.next=Q.next,Q.next=h),p.pending=h}y!==0&&nc(A,h,y)}}function Bs(n,r,A,p){Xs[Sp++]=n,Xs[Sp++]=r,Xs[Sp++]=A,Xs[Sp++]=p,cB|=p,n.lanes|=p,n=n.alternate,n!==null&&(n.lanes|=p)}function tc(n,r,A,p){return Bs(n,r,A,p),ic(n)}function rr(n,r){return Bs(n,null,null,r),ic(n)}function nc(n,r,A){n.lanes|=A;var p=n.alternate;p!==null&&(p.lanes|=A);for(var h=!1,y=n.return;y!==null;)y.childLanes|=A,p=y.alternate,p!==null&&(p.childLanes|=A),y.tag===22&&(n=y.stateNode,n===null||n._visibility&1||(h=!0)),n=y,y=y.return;return n.tag===3?(y=n.stateNode,h&&r!==null&&(h=31-oi(A),n=y.hiddenUpdates,p=n[h],p===null?n[h]=[r]:p.push(r),r.lane=A|536870912),y):null}function ic(n){if(vh>VL)throw _f=vh=0,Ch=OB=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");_f>qL&&(_f=0,Ch=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),n.alternate===null&&(n.flags&4098)!==0&&yy(n);for(var r=n,A=r.return;A!==null;)r.alternate===null&&(r.flags&4098)!==0&&yy(n),r=A,A=r.return;return r.tag===3?r.stateNode:null}function rc(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ac(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Vo(n){return{lane:n,tag:M2,payload:null,callback:null,next:null}}function qo(n,r,A){var p=n.updateQueue;if(p===null)return null;if(p=p.shared,dB===p&&!H2){var h=et(n);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
103
|
+
|
|
104
|
+
Please update the following component: %s`,h),H2=!0}return(vn&qa)!==yo?(h=p.pending,h===null?r.next=r:(r.next=h.next,h.next=r),p.pending=r,r=ic(n),nc(n,null,A),r):(Bs(n,p,r,A),ic(n))}function au(n,r,A){if(r=r.updateQueue,r!==null&&(r=r.shared,(A&4194048)!==0)){var p=r.lanes;p&=n.pendingLanes,A|=p,r.lanes=A,Jt(n,A)}}function _s(n,r){var A=n.updateQueue,p=n.alternate;if(p!==null&&(p=p.updateQueue,A===p)){var h=null,y=null;if(A=A.firstBaseUpdate,A!==null){do{var Q={lane:A.lane,tag:A.tag,payload:A.payload,callback:null,next:null};y===null?h=y=Q:y=y.next=Q,A=A.next}while(A!==null);y===null?h=y=r:y=y.next=r}else h=y=r;A={baseState:p.baseState,firstBaseUpdate:h,lastBaseUpdate:y,shared:p.shared,callbacks:p.callbacks},n.updateQueue=A;return}n=A.lastBaseUpdate,n===null?A.firstBaseUpdate=r:n.next=r,A.lastBaseUpdate=r}function ra(){if(fB){var n=Dp;if(n!==null)throw n}}function fe(n,r,A,p){fB=!1;var h=n.updateQueue;qA=!1,dB=h.shared;var y=h.firstBaseUpdate,Q=h.lastBaseUpdate,F=h.shared.pending;if(F!==null){h.shared.pending=null;var ne=F,Ee=ne.next;ne.next=null,Q===null?y=Ee:Q.next=Ee,Q=ne;var je=n.alternate;je!==null&&(je=je.updateQueue,F=je.lastBaseUpdate,F!==Q&&(F===null?je.firstBaseUpdate=Ee:F.next=Ee,je.lastBaseUpdate=ne))}if(y!==null){var Ke=h.baseState;Q=0,je=Ee=ne=null,F=y;do{var ot=F.lane&-536870913,Cn=ot!==F.lane;if(Cn?(pn&ot)===ot:(p&ot)===ot){ot!==0&&ot===gf&&(fB=!0),je!==null&&(je=je.next={lane:0,tag:F.tag,payload:F.payload,callback:null,next:null});e:{ot=n;var jn=F,Pp=r,Jp=A;switch(jn.tag){case L2:if(jn=jn.payload,typeof jn=="function"){Cp=!0;var jl=jn.call(Jp,Ke,Pp);if(ot.mode&8){Nt(!0);try{jn.call(Jp,Ke,Pp)}finally{Nt(!1)}}Cp=!1,Ke=jl;break e}Ke=jn;break e;case AB:ot.flags=ot.flags&-65537|128;case M2:if(jl=jn.payload,typeof jl=="function"){if(Cp=!0,jn=jl.call(Jp,Ke,Pp),ot.mode&8){Nt(!0);try{jl.call(Jp,Ke,Pp)}finally{Nt(!1)}}Cp=!1}else jn=jl;if(jn==null)break e;Ke=Pr({},Ke,jn);break e;case $2:qA=!0}}ot=F.callback,ot!==null&&(n.flags|=64,Cn&&(n.flags|=8192),Cn=h.callbacks,Cn===null?h.callbacks=[ot]:Cn.push(ot))}else Cn={lane:ot,tag:F.tag,payload:F.payload,callback:F.callback,next:null},je===null?(Ee=je=Cn,ne=Ke):je=je.next=Cn,Q|=ot;if(F=F.next,F===null){if(F=h.shared.pending,F===null)break;Cn=F,F=Cn.next,Cn.next=null,h.lastBaseUpdate=Cn,h.shared.pending=null}}while(!0);je===null&&(ne=Ke),h.baseState=ne,h.firstBaseUpdate=Ee,h.lastBaseUpdate=je,y===null&&(h.shared.lanes=0),td|=Q,n.lanes=Q,n.memoizedState=Ke}dB=null}function La(n,r){if(typeof n!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+n);n.call(r)}function Ud(n,r){var A=n.shared.hiddenCallbacks;if(A!==null)for(n.shared.hiddenCallbacks=null,n=0;n<A.length;n++)La(A[n],r)}function mA(n,r){var A=n.callbacks;if(A!==null)for(n.callbacks=null,n=0;n<A.length;n++)La(A[n],r)}function Ve(n,r){var A=zu;Ct(Jy,A,n),Ct(bp,r,n),zu=A|r.baseLanes}function Ds(n){Ct(Jy,zu,n),Ct(bp,bp.current,n)}function Xo(n){zu=Jy.current,$t(bp,n),$t(Jy,n)}function Kt(){var n=pe;Ws===null?Ws=[n]:Ws.push(n)}function Te(){var n=pe;if(Ws!==null&&(Pc++,Ws[Pc]!==n)){var r=et(Ft);if(!G2.has(r)&&(G2.add(r),Ws!==null)){for(var A="",p=0;p<=Pc;p++){var h=Ws[p],y=p===Pc?n:h;for(h=p+1+". "+h;30>h.length;)h+=" ";h+=y+`
|
|
105
|
+
`,A+=h}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
106
|
+
|
|
107
|
+
Previous render Next render
|
|
108
|
+
------------------------------------------------------
|
|
109
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
110
|
+
`,r,A)}}}function aa(n){n==null||fi(n)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",pe,typeof n)}function Qs(){var n=et(Ft);P2.has(n)||(P2.add(n),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",n))}function on(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
111
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
112
|
+
2. You might be breaking the Rules of Hooks
|
|
113
|
+
3. You might have more than one copy of React in the same app
|
|
114
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Nn(n,r){if(uh)return!1;if(r===null)return console.error("%s 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.",pe),!1;n.length!==r.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
115
|
+
|
|
116
|
+
Previous: %s
|
|
117
|
+
Incoming: %s`,pe,"["+r.join(", ")+"]","["+n.join(", ")+"]");for(var A=0;A<r.length&&A<n.length;A++)if(!ho(n[A],r[A]))return!1;return!0}function ar(n,r,A,p,h,y){XA=y,Ft=r,Ws=n!==null?n._debugHookTypes:null,Pc=-1,uh=n!==null&&n.type!==r.type,(Object.prototype.toString.call(A)==="[object AsyncFunction]"||Object.prototype.toString.call(A)==="[object AsyncGeneratorFunction]")&&(y=et(Ft),pB.has(y)||(pB.add(y),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",y===null?"An unknown Component":"<"+y+">"))),r.memoizedState=null,r.updateQueue=null,r.lanes=0,Ae.H=n!==null&&n.memoizedState!==null?mB:Ws!==null?J2:gB,Ef=y=(r.mode&8)!==_i;var Q=hB(A,p,h);if(Ef=!1,xp&&(Q=hA(r,A,p,h)),y){Nt(!0);try{Q=hA(r,A,p,h)}finally{Nt(!1)}}return bi(n,r),Q}function bi(n,r){r._debugHookTypes=Ws,r.dependencies===null?jc!==null&&(r.dependencies={lanes:0,firstContext:null,_debugThenableState:jc}):r.dependencies._debugThenableState=jc,Ae.H=Yy;var A=si!==null&&si.next!==null;if(XA=0,Ws=pe=Or=si=Ft=null,Pc=-1,n!==null&&(n.flags&65011712)!==(r.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Ky=!1,lh=0,jc=null,A)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");n===null||fa||(n=n.dependencies,n!==null&&Wn(n)&&(fa=!0)),Py?(Py=!1,n=!0):n=!1,n&&(r=et(r)||"Unknown",j2.has(r)||pB.has(r)||(j2.add(r),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function hA(n,r,A,p){Ft=n;var h=0;do{if(xp&&(jc=null),lh=0,xp=!1,h>=LL)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(h+=1,uh=!1,Or=si=null,n.updateQueue!=null){var y=n.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}Pc=-1,Ae.H=K2,y=hB(r,A,p)}while(xp);return y}function qf(){var n=Ae.H,r=n.useState()[0];return r=typeof r.then=="function"?ou(r):r,n=n.useState()[0],(si!==null?si.memoizedState:null)!==n&&(Ft.flags|=1024),r}function Wo(){var n=Zy!==0;return Zy=0,n}function hl(n,r,A){r.updateQueue=n.updateQueue,r.flags=(r.mode&16)!==_i?r.flags&-402655237:r.flags&-2053,n.lanes&=~A}function EA(n){if(Ky){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}Ky=!1}XA=0,Ws=Or=si=Ft=null,Pc=-1,pe=null,xp=!1,lh=Zy=0,jc=null}function or(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Or===null?Ft.memoizedState=Or=n:Or=Or.next=n,Or}function mn(){if(si===null){var n=Ft.alternate;n=n!==null?n.memoizedState:null}else n=si.next;var r=Or===null?Ft.memoizedState:Or.next;if(r!==null)Or=r,si=n;else{if(n===null)throw Ft.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");si=n,n={memoizedState:si.memoizedState,baseState:si.baseState,baseQueue:si.baseQueue,queue:si.queue,next:null},Or===null?Ft.memoizedState=Or=n:Or=Or.next=n}return Or}function oc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ou(n){var r=lh;return lh+=1,jc===null&&(jc=tu()),n=Wu(jc,n,r),r=Ft,(Or===null?r.memoizedState:Or.next)===null&&(r=r.alternate,Ae.H=r!==null&&r.memoizedState!==null?mB:gB),n}function ei(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return ou(n);if(n.$$typeof===Pa)return Bn(n)}throw Error("An unsupported type was passed to use(): "+String(n))}function oo(n){var r=null,A=Ft.updateQueue;if(A!==null&&(r=A.memoCache),r==null){var p=Ft.alternate;p!==null&&(p=p.updateQueue,p!==null&&(p=p.memoCache,p!=null&&(r={data:p.data.map(function(h){return h.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),A===null&&(A=oc(),Ft.updateQueue=A),A.memoCache=r,A=r.data[r.index],A===void 0||uh)for(A=r.data[r.index]=Array(n),p=0;p<n;p++)A[p]=zm;else A.length!==n&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",A.length,n);return r.index++,A}function $a(n,r){return typeof r=="function"?r(n):r}function El(n,r,A){var p=or();if(A!==void 0){var h=A(r);if(Ef){Nt(!0);try{A(r)}finally{Nt(!1)}}}else h=r;return p.memoizedState=p.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},p.queue=n,n=n.dispatch=Vi.bind(null,Ft,n),[p.memoizedState,n]}function yl(n){var r=mn();return sc(r,si,n)}function sc(n,r,A){var p=n.queue;if(p===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");p.lastRenderedReducer=A;var h=n.baseQueue,y=p.pending;if(y!==null){if(h!==null){var Q=h.next;h.next=y.next,y.next=Q}r.baseQueue!==h&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),r.baseQueue=h=y,p.pending=null}if(y=n.baseState,h===null)n.memoizedState=y;else{r=h.next;var F=Q=null,ne=null,Ee=r,je=!1;do{var Ke=Ee.lane&-536870913;if(Ke!==Ee.lane?(pn&Ke)===Ke:(XA&Ke)===Ke){var ot=Ee.revertLane;if(ot===0)ne!==null&&(ne=ne.next={lane:0,revertLane:0,action:Ee.action,hasEagerState:Ee.hasEagerState,eagerState:Ee.eagerState,next:null}),Ke===gf&&(je=!0);else if((XA&ot)===ot){Ee=Ee.next,ot===gf&&(je=!0);continue}else Ke={lane:0,revertLane:Ee.revertLane,action:Ee.action,hasEagerState:Ee.hasEagerState,eagerState:Ee.eagerState,next:null},ne===null?(F=ne=Ke,Q=y):ne=ne.next=Ke,Ft.lanes|=ot,td|=ot;Ke=Ee.action,Ef&&A(y,Ke),y=Ee.hasEagerState?Ee.eagerState:A(y,Ke)}else ot={lane:Ke,revertLane:Ee.revertLane,action:Ee.action,hasEagerState:Ee.hasEagerState,eagerState:Ee.eagerState,next:null},ne===null?(F=ne=ot,Q=y):ne=ne.next=ot,Ft.lanes|=Ke,td|=Ke;Ee=Ee.next}while(Ee!==null&&Ee!==r);if(ne===null?Q=y:ne.next=F,!ho(y,n.memoizedState)&&(fa=!0,je&&(A=Dp,A!==null)))throw A;n.memoizedState=y,n.baseState=Q,n.baseQueue=ne,p.lastRenderedState=y}return h===null&&(p.lanes=0),[n.memoizedState,p.dispatch]}function Ha(n){var r=mn(),A=r.queue;if(A===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");A.lastRenderedReducer=n;var p=A.dispatch,h=A.pending,y=r.memoizedState;if(h!==null){A.pending=null;var Q=h=h.next;do y=n(y,Q.action),Q=Q.next;while(Q!==h);ho(y,r.memoizedState)||(fa=!0),r.memoizedState=y,r.baseQueue===null&&(r.baseState=y),A.lastRenderedState=y}return[y,p]}function su(n,r,A){var p=Ft,h=or();if(xn){if(A===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var y=A();wp||y===A()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),wp=!0)}else{if(y=r(),wp||(A=r(),ho(y,A)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),wp=!0)),mi===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(pn&124)!==0||yA(p,r,y)}return h.memoizedState=y,A={value:y,getSnapshot:r},h.queue=A,cc(Ss.bind(null,p,A,n),[n]),p.flags|=2048,ts(qs|Yr,ns(),lc.bind(null,p,A,y,r),null),y}function lu(n,r,A){var p=Ft,h=mn(),y=xn;if(y){if(A===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");A=A()}else if(A=r(),!wp){var Q=r();ho(A,Q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),wp=!0)}(Q=!ho((si||h).memoizedState,A))&&(h.memoizedState=A,fa=!0),h=h.queue;var F=Ss.bind(null,p,h,n);if(oa(2048,Yr,F,[n]),h.getSnapshot!==r||Q||Or!==null&&Or.memoizedState.tag&qs){if(p.flags|=2048,ts(qs|Yr,ns(),lc.bind(null,p,h,A,r),null),mi===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y||(XA&124)!==0||yA(p,r,A)}return A}function yA(n,r,A){n.flags|=16384,n={getSnapshot:r,value:A},r=Ft.updateQueue,r===null?(r=oc(),Ft.updateQueue=r,r.stores=[n]):(A=r.stores,A===null?r.stores=[n]:A.push(n))}function lc(n,r,A,p){r.value=A,r.getSnapshot=p,uu(r)&&bs(n)}function Ss(n,r,A){return A(function(){uu(r)&&bs(n)})}function uu(n){var r=n.getSnapshot;n=n.value;try{var A=r();return!ho(n,A)}catch{return!0}}function bs(n){var r=rr(n,2);r!==null&&En(r,n,2)}function es(n){var r=or();if(typeof n=="function"){var A=n;if(n=A(),Ef){Nt(!0);try{A()}finally{Nt(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:n},r}function vl(n){n=es(n);var r=n.queue,A=as.bind(null,Ft,r);return r.dispatch=A,[n.memoizedState,A]}function cu(n){var r=or();r.memoizedState=r.baseState=n;var A={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=A,r=dc.bind(null,Ft,!0,A),A.dispatch=r,[n,r]}function Jn(n,r){var A=mn();return uc(A,si,n,r)}function uc(n,r,A,p){return n.baseState=A,sc(n,si,typeof p=="function"?p:$a)}function vA(n,r){var A=mn();return si!==null?uc(A,si,n,r):(A.baseState=n,[n,A.queue.dispatch])}function Ti(n,r,A,p,h){if(Ba(n))throw Error("Cannot update form state while rendering.");if(n=r.action,n!==null){var y={payload:h,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(Q){y.listeners.push(Q)}};Ae.T!==null?A(!0):y.isTransition=!1,p(y),A=r.pending,A===null?(y.next=r.pending=y,Cl(r,y)):(y.next=A.next,r.pending=A.next=y)}}function Cl(n,r){var A=r.action,p=r.payload,h=n.state;if(r.isTransition){var y=Ae.T,Q={};Ae.T=Q,Ae.T._updatedFibers=new Set;try{var F=A(h,p),ne=Ae.S;ne!==null&&ne(Q,F),Xf(n,r,F)}catch(Ee){yr(n,r,Ee)}finally{Ae.T=y,y===null&&Q._updatedFibers&&(n=Q._updatedFibers.size,Q._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{Q=A(h,p),Xf(n,r,Q)}catch(Ee){yr(n,r,Ee)}}function Xf(n,r,A){A!==null&&typeof A=="object"&&typeof A.then=="function"?(A.then(function(p){Nd(n,r,p)},function(p){return yr(n,r,p)}),r.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Nd(n,r,A)}function Nd(n,r,A){r.status="fulfilled",r.value=A,CA(r),n.state=A,r=n.pending,r!==null&&(A=r.next,A===r?n.pending=null:(A=A.next,r.next=A,Cl(n,A)))}function yr(n,r,A){var p=n.pending;if(n.pending=null,p!==null){p=p.next;do r.status="rejected",r.reason=A,CA(r),r=r.next;while(r!==p)}n.action=null}function CA(n){n=n.listeners;for(var r=0;r<n.length;r++)(0,n[r])()}function Au(n,r){return r}function ws(n,r){if(xn){var A=mi.formState;if(A!==null){e:{var p=Ft;if(xn){if(Tr){var h=GA(Tr,Ou);if(h){Tr=jA(h),p=X0(h);break e}}Oa(p)}p=!1}p&&(r=A[0])}}A=or(),A.memoizedState=A.baseState=r,p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:r},A.queue=p,A=as.bind(null,Ft,p),p.dispatch=A,p=es(!1);var y=dc.bind(null,Ft,!1,p.queue);return p=or(),h={state:r,dispatch:null,action:n,pending:null},p.queue=h,A=Ti.bind(null,Ft,h,y,A),h.dispatch=A,p.memoizedState=n,[r,A,!1]}function Il(n){var r=mn();return So(r,si,n)}function So(n,r,A){if(r=sc(n,r,Au)[0],n=yl($a)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var p=ou(r)}catch(Q){throw Q===sh?Gy:Q}else p=r;r=mn();var h=r.queue,y=h.dispatch;return A!==r.memoizedState&&(Ft.flags|=2048,ts(qs|Yr,ns(),Bl.bind(null,h,A),null)),[p,y,n]}function Bl(n,r){n.action=r}function Ci(n){var r=mn(),A=si;if(A!==null)return So(r,A,n);mn(),r=r.memoizedState,A=mn();var p=A.queue.dispatch;return A.memoizedState=n,[r,p,!1]}function ts(n,r,A,p){return n={tag:n,create:A,deps:p,inst:r,next:null},r=Ft.updateQueue,r===null&&(r=oc(),Ft.updateQueue=r),A=r.lastEffect,A===null?r.lastEffect=n.next=n:(p=A.next,A.next=n,n.next=p,r.lastEffect=n),n}function ns(){return{destroy:void 0,resource:void 0}}function wn(n){var r=or();return n={current:n},r.memoizedState=n}function xs(n,r,A,p){var h=or();p=p===void 0?null:p,Ft.flags|=n,h.memoizedState=ts(qs|r,ns(),A,p)}function oa(n,r,A,p){var h=mn();p=p===void 0?null:p;var y=h.memoizedState.inst;si!==null&&p!==null&&Nn(p,si.memoizedState.deps)?h.memoizedState=ts(r,y,A,p):(Ft.flags|=n,h.memoizedState=ts(qs|r,y,A,p))}function cc(n,r){(Ft.mode&16)!==_i&&(Ft.mode&64)===_i?xs(276826112,Yr,n,r):xs(8390656,Yr,n,r)}function Us(n,r){var A=4194308;return(Ft.mode&16)!==_i&&(A|=134217728),xs(A,xa,n,r)}function ya(n,r){if(typeof r=="function"){n=n();var A=r(n);return function(){typeof A=="function"?A():r(null)}}if(r!=null)return r.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(r).join(", ")+"}"),n=n(),r.current=n,function(){r.current=null}}function du(n,r,A){typeof r!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",r!==null?typeof r:"null"),A=A!=null?A.concat([n]):null;var p=4194308;(Ft.mode&16)!==_i&&(p|=134217728),xs(p,xa,ya.bind(null,r,n),A)}function is(n,r,A){typeof r!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",r!==null?typeof r:"null"),A=A!=null?A.concat([n]):null,oa(4,xa,ya.bind(null,r,n),A)}function _l(n,r){return or().memoizedState=[n,r===void 0?null:r],n}function va(n,r){var A=mn();r=r===void 0?null:r;var p=A.memoizedState;return r!==null&&Nn(r,p[1])?p[0]:(A.memoizedState=[n,r],n)}function IA(n,r){var A=or();r=r===void 0?null:r;var p=n();if(Ef){Nt(!0);try{n()}finally{Nt(!1)}}return A.memoizedState=[p,r],p}function Ca(n,r){var A=mn();r=r===void 0?null:r;var p=A.memoizedState;if(r!==null&&Nn(r,p[1]))return p[0];if(p=n(),Ef){Nt(!0);try{n()}finally{Nt(!1)}}return A.memoizedState=[p,r],p}function rs(n,r){var A=or();return pu(A,n,r)}function so(n,r){var A=mn();return Rd(A,si.memoizedState,n,r)}function fu(n,r){var A=mn();return si===null?pu(A,n,r):Rd(A,si.memoizedState,n,r)}function pu(n,r,A){return A===void 0||(XA&1073741824)!==0?n.memoizedState=r:(n.memoizedState=A,n=jr(),Ft.lanes|=n,td|=n,A)}function Rd(n,r,A,p){return ho(A,r)?A:bp.current!==null?(n=pu(n,A,p),ho(n,r)||(fa=!0),n):(XA&42)===0?(fa=!0,n.memoizedState=A):(n=jr(),Ft.lanes|=n,td|=n,r)}function Td(n,r,A,p,h){var y=Ro();pi(y!==0&&8>y?y:8);var Q=Ae.T,F={};Ae.T=F,dc(n,!1,r,A),F._updatedFibers=new Set;try{var ne=h(),Ee=Ae.S;if(Ee!==null&&Ee(F,ne),ne!==null&&typeof ne=="object"&&typeof ne.then=="function"){var je=vi(ne,p);ti(n,r,je,ri(n))}else ti(n,r,p,ri(n))}catch(Ke){ti(n,r,{then:function(){},status:"rejected",reason:Ke},ri(n))}finally{pi(y),Ae.T=Q,Q===null&&F._updatedFibers&&(n=F._updatedFibers.size,F._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Wf(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:To,baseState:To,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:To},next:null};var A={};return r.next={memoizedState:A,baseState:A,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:A},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function BA(){var n=es(!1);return n=Td.bind(null,Ft,n.queue,!0,!1),or().memoizedState=n,[!1,n]}function Ac(){var n=yl($a)[0],r=mn().memoizedState;return[typeof n=="boolean"?n:ou(n),r]}function Ia(){var n=Ha($a)[0],r=mn().memoizedState;return[typeof n=="boolean"?n:ou(n),r]}function bo(){return Bn(Sa)}function Ns(){var n=or(),r=mi.identifierPrefix;if(xn){var A=Xt,p=_t;A=(p&~(1<<32-oi(p)-1)).toString(32)+A,r="\xAB"+r+"R"+A,A=Zy++,0<A&&(r+="H"+A.toString(32)),r+="\xBB"}else A=ML++,r="\xAB"+r+"r"+A.toString(32)+"\xBB";return n.memoizedState=r}function _A(){return or().memoizedState=Od.bind(null,Ft)}function Od(n,r){for(var A=n.return;A!==null;){switch(A.tag){case 24:case 3:var p=ri(A);n=Vo(p);var h=qo(A,n,p);h!==null&&(En(h,A,p),au(h,A,p)),A=Fa(),r!=null&&h!==null&&console.error("The seed argument is not enabled outside experimental channels."),n.payload={cache:A};return}A=A.return}}function Vi(n,r,A){var p=arguments;typeof p[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),p=ri(n);var h={lane:p,revertLane:0,action:A,hasEagerState:!1,eagerState:null,next:null};Ba(n)?wo(r,h):(h=tc(n,r,h,p),h!==null&&(En(h,n,p),lo(h,r,p))),We(n,p)}function as(n,r,A){var p=arguments;typeof p[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),p=ri(n),ti(n,r,A,p),We(n,p)}function ti(n,r,A,p){var h={lane:p,revertLane:0,action:A,hasEagerState:!1,eagerState:null,next:null};if(Ba(n))wo(r,h);else{var y=n.alternate;if(n.lanes===0&&(y===null||y.lanes===0)&&(y=r.lastRenderedReducer,y!==null)){var Q=Ae.H;Ae.H=Hl;try{var F=r.lastRenderedState,ne=y(F,A);if(h.hasEagerState=!0,h.eagerState=ne,ho(ne,F))return Bs(n,r,h,0),mi===null&&ru(),!1}catch{}finally{Ae.H=Q}}if(A=tc(n,r,h,p),A!==null)return En(A,n,p),lo(A,r,p),!0}return!1}function dc(n,r,A,p){if(Ae.T===null&&gf===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),p={lane:2,revertLane:Wl(),action:p,hasEagerState:!1,eagerState:null,next:null},Ba(n)){if(r)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else r=tc(n,A,p,2),r!==null&&En(r,n,2);We(n,2)}function Ba(n){var r=n.alternate;return n===Ft||r!==null&&r===Ft}function wo(n,r){xp=Ky=!0;var A=n.pending;A===null?r.next=r:(r.next=A.next,A.next=r),n.pending=r}function lo(n,r,A){if((A&4194048)!==0){var p=r.lanes;p&=n.pendingLanes,A|=p,r.lanes=A,Jt(n,A)}}function Oi(n){var r=an;return n!=null&&(an=r===null?n:r.concat(n)),r}function Dl(n,r,A){for(var p=Object.keys(n.props),h=0;h<p.length;h++){var y=p[h];if(y!=="children"&&y!=="key"){r===null&&(r=rp(n,A.mode,0),r._debugInfo=an,r.return=A),it(r,function(Q){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Q)},y);break}}}function sa(n){var r=ch;return ch+=1,Up===null&&(Up=tu()),Wu(Up,n,r)}function Ql(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function tn(n,r){throw r.$$typeof===vr?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
118
|
+
- Multiple copies of the "react" package is used.
|
|
119
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
120
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(n=Object.prototype.toString.call(r),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead."))}function hn(n,r){var A=et(n)||"Component";lU[A]||(lU[A]=!0,r=r.displayName||r.name||"Component",n.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
121
|
+
root.render(%s)`,r,r,r):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
122
|
+
<%s>{%s}</%s>`,r,r,A,r,A))}function xo(n,r){var A=et(n)||"Component";uU[A]||(uU[A]=!0,r=String(r),n.tag===3?console.error(`Symbols are not valid as a React child.
|
|
123
|
+
root.render(%s)`,r):console.error(`Symbols are not valid as a React child.
|
|
124
|
+
<%s>%s</%s>`,A,r,A))}function DA(n){function r(K,Z){if(n){var W=K.deletions;W===null?(K.deletions=[Z],K.flags|=16):W.push(Z)}}function A(K,Z){if(!n)return null;for(;Z!==null;)r(K,Z),Z=Z.sibling;return null}function p(K){for(var Z=new Map;K!==null;)K.key!==null?Z.set(K.key,K):Z.set(K.index,K),K=K.sibling;return Z}function h(K,Z){return K=Ol(K,Z),K.index=0,K.sibling=null,K}function y(K,Z,W){return K.index=W,n?(W=K.alternate,W!==null?(W=W.index,W<Z?(K.flags|=67108866,Z):W):(K.flags|=67108866,Z)):(K.flags|=1048576,Z)}function Q(K){return n&&K.alternate===null&&(K.flags|=67108866),K}function F(K,Z,W,Be){return Z===null||Z.tag!==6?(Z=wm(W,K.mode,Be),Z.return=K,Z._debugOwner=K,Z._debugTask=K._debugTask,Z._debugInfo=an,Z):(Z=h(Z,W),Z.return=K,Z._debugInfo=an,Z)}function ne(K,Z,W,Be){var At=W.type;return At===Uc?(Z=je(K,Z,W.props.children,Be,W.key),Dl(W,Z,K),Z):Z!==null&&(Z.elementType===At||vy(Z,W)||typeof At=="object"&&At!==null&&At.$$typeof===Aa&&WA(At)===Z.type)?(Z=h(Z,W.props),Ql(Z,W),Z.return=K,Z._debugOwner=W._owner,Z._debugInfo=an,Z):(Z=rp(W,K.mode,Be),Ql(Z,W),Z.return=K,Z._debugInfo=an,Z)}function Ee(K,Z,W,Be){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==W.containerInfo||Z.stateNode.implementation!==W.implementation?(Z=xm(W,K.mode,Be),Z.return=K,Z._debugInfo=an,Z):(Z=h(Z,W.children||[]),Z.return=K,Z._debugInfo=an,Z)}function je(K,Z,W,Be,At){return Z===null||Z.tag!==7?(Z=Qu(W,K.mode,Be,At),Z.return=K,Z._debugOwner=K,Z._debugTask=K._debugTask,Z._debugInfo=an,Z):(Z=h(Z,W),Z.return=K,Z._debugInfo=an,Z)}function Ke(K,Z,W){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Z=wm(""+Z,K.mode,W),Z.return=K,Z._debugOwner=K,Z._debugTask=K._debugTask,Z._debugInfo=an,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Su:return W=rp(Z,K.mode,W),Ql(W,Z),W.return=K,K=Oi(Z._debugInfo),W._debugInfo=an,an=K,W;case xc:return Z=xm(Z,K.mode,W),Z.return=K,Z._debugInfo=an,Z;case Aa:var Be=Oi(Z._debugInfo);return Z=WA(Z),K=Ke(K,Z,W),an=Be,K}if(fi(Z)||at(Z))return W=Qu(Z,K.mode,W,null),W.return=K,W._debugOwner=K,W._debugTask=K._debugTask,K=Oi(Z._debugInfo),W._debugInfo=an,an=K,W;if(typeof Z.then=="function")return Be=Oi(Z._debugInfo),K=Ke(K,sa(Z),W),an=Be,K;if(Z.$$typeof===Pa)return Ke(K,ao(K,Z),W);tn(K,Z)}return typeof Z=="function"&&hn(K,Z),typeof Z=="symbol"&&xo(K,Z),null}function ot(K,Z,W,Be){var At=Z!==null?Z.key:null;if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return At!==null?null:F(K,Z,""+W,Be);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case Su:return W.key===At?(At=Oi(W._debugInfo),K=ne(K,Z,W,Be),an=At,K):null;case xc:return W.key===At?Ee(K,Z,W,Be):null;case Aa:return At=Oi(W._debugInfo),W=WA(W),K=ot(K,Z,W,Be),an=At,K}if(fi(W)||at(W))return At!==null?null:(At=Oi(W._debugInfo),K=je(K,Z,W,Be,null),an=At,K);if(typeof W.then=="function")return At=Oi(W._debugInfo),K=ot(K,Z,sa(W),Be),an=At,K;if(W.$$typeof===Pa)return ot(K,Z,ao(K,W),Be);tn(K,W)}return typeof W=="function"&&hn(K,W),typeof W=="symbol"&&xo(K,W),null}function Cn(K,Z,W,Be,At){if(typeof Be=="string"&&Be!==""||typeof Be=="number"||typeof Be=="bigint")return K=K.get(W)||null,F(Z,K,""+Be,At);if(typeof Be=="object"&&Be!==null){switch(Be.$$typeof){case Su:return W=K.get(Be.key===null?W:Be.key)||null,K=Oi(Be._debugInfo),Z=ne(Z,W,Be,At),an=K,Z;case xc:return K=K.get(Be.key===null?W:Be.key)||null,Ee(Z,K,Be,At);case Aa:var Dn=Oi(Be._debugInfo);return Be=WA(Be),Z=Cn(K,Z,W,Be,At),an=Dn,Z}if(fi(Be)||at(Be))return W=K.get(W)||null,K=Oi(Be._debugInfo),Z=je(Z,W,Be,At,null),an=K,Z;if(typeof Be.then=="function")return Dn=Oi(Be._debugInfo),Z=Cn(K,Z,W,sa(Be),At),an=Dn,Z;if(Be.$$typeof===Pa)return Cn(K,Z,W,ao(Z,Be),At);tn(Z,Be)}return typeof Be=="function"&&hn(Z,Be),typeof Be=="symbol"&&xo(Z,Be),null}function jn(K,Z,W,Be){if(typeof W!="object"||W===null)return Be;switch(W.$$typeof){case Su:case xc:z(K,Z,W);var At=W.key;if(typeof At!="string")break;if(Be===null){Be=new Set,Be.add(At);break}if(!Be.has(At)){Be.add(At);break}it(Z,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",At)});break;case Aa:W=WA(W),jn(K,Z,W,Be)}return Be}function Pp(K,Z,W,Be){for(var At=null,Dn=null,Tt=null,Pt=Z,Zt=Z=0,Di=null;Pt!==null&&Zt<W.length;Zt++){Pt.index>Zt?(Di=Pt,Pt=null):Di=Pt.sibling;var Dr=ot(K,Pt,W[Zt],Be);if(Dr===null){Pt===null&&(Pt=Di);break}At=jn(K,Dr,W[Zt],At),n&&Pt&&Dr.alternate===null&&r(K,Pt),Z=y(Dr,Z,Zt),Tt===null?Dn=Dr:Tt.sibling=Dr,Tt=Dr,Pt=Di}if(Zt===W.length)return A(K,Pt),xn&&Mr(K,Zt),Dn;if(Pt===null){for(;Zt<W.length;Zt++)Pt=Ke(K,W[Zt],Be),Pt!==null&&(At=jn(K,Pt,W[Zt],At),Z=y(Pt,Z,Zt),Tt===null?Dn=Pt:Tt.sibling=Pt,Tt=Pt);return xn&&Mr(K,Zt),Dn}for(Pt=p(Pt);Zt<W.length;Zt++)Di=Cn(Pt,K,Zt,W[Zt],Be),Di!==null&&(At=jn(K,Di,W[Zt],At),n&&Di.alternate!==null&&Pt.delete(Di.key===null?Zt:Di.key),Z=y(Di,Z,Zt),Tt===null?Dn=Di:Tt.sibling=Di,Tt=Di);return n&&Pt.forEach(function(Zc){return r(K,Zc)}),xn&&Mr(K,Zt),Dn}function Jp(K,Z,W,Be){if(W==null)throw Error("An iterable object provided no iterator.");for(var At=null,Dn=null,Tt=Z,Pt=Z=0,Zt=null,Di=null,Dr=W.next();Tt!==null&&!Dr.done;Pt++,Dr=W.next()){Tt.index>Pt?(Zt=Tt,Tt=null):Zt=Tt.sibling;var Zc=ot(K,Tt,Dr.value,Be);if(Zc===null){Tt===null&&(Tt=Zt);break}Di=jn(K,Zc,Dr.value,Di),n&&Tt&&Zc.alternate===null&&r(K,Tt),Z=y(Zc,Z,Pt),Dn===null?At=Zc:Dn.sibling=Zc,Dn=Zc,Tt=Zt}if(Dr.done)return A(K,Tt),xn&&Mr(K,Pt),At;if(Tt===null){for(;!Dr.done;Pt++,Dr=W.next())Tt=Ke(K,Dr.value,Be),Tt!==null&&(Di=jn(K,Tt,Dr.value,Di),Z=y(Tt,Z,Pt),Dn===null?At=Tt:Dn.sibling=Tt,Dn=Tt);return xn&&Mr(K,Pt),At}for(Tt=p(Tt);!Dr.done;Pt++,Dr=W.next())Zt=Cn(Tt,K,Pt,Dr.value,Be),Zt!==null&&(Di=jn(K,Zt,Dr.value,Di),n&&Zt.alternate!==null&&Tt.delete(Zt.key===null?Pt:Zt.key),Z=y(Zt,Z,Pt),Dn===null?At=Zt:Dn.sibling=Zt,Dn=Zt);return n&&Tt.forEach(function(WL){return r(K,WL)}),xn&&Mr(K,Pt),At}function jl(K,Z,W,Be){if(typeof W=="object"&&W!==null&&W.type===Uc&&W.key===null&&(Dl(W,null,K),W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case Su:var At=Oi(W._debugInfo);e:{for(var Dn=W.key;Z!==null;){if(Z.key===Dn){if(Dn=W.type,Dn===Uc){if(Z.tag===7){A(K,Z.sibling),Be=h(Z,W.props.children),Be.return=K,Be._debugOwner=W._owner,Be._debugInfo=an,Dl(W,Be,K),K=Be;break e}}else if(Z.elementType===Dn||vy(Z,W)||typeof Dn=="object"&&Dn!==null&&Dn.$$typeof===Aa&&WA(Dn)===Z.type){A(K,Z.sibling),Be=h(Z,W.props),Ql(Be,W),Be.return=K,Be._debugOwner=W._owner,Be._debugInfo=an,K=Be;break e}A(K,Z);break}else r(K,Z);Z=Z.sibling}W.type===Uc?(Be=Qu(W.props.children,K.mode,Be,W.key),Be.return=K,Be._debugOwner=K,Be._debugTask=K._debugTask,Be._debugInfo=an,Dl(W,Be,K),K=Be):(Be=rp(W,K.mode,Be),Ql(Be,W),Be.return=K,Be._debugInfo=an,K=Be)}return K=Q(K),an=At,K;case xc:e:{for(At=W,W=At.key;Z!==null;){if(Z.key===W)if(Z.tag===4&&Z.stateNode.containerInfo===At.containerInfo&&Z.stateNode.implementation===At.implementation){A(K,Z.sibling),Be=h(Z,At.children||[]),Be.return=K,K=Be;break e}else{A(K,Z);break}else r(K,Z);Z=Z.sibling}Be=xm(At,K.mode,Be),Be.return=K,K=Be}return Q(K);case Aa:return At=Oi(W._debugInfo),W=WA(W),K=jl(K,Z,W,Be),an=At,K}if(fi(W))return At=Oi(W._debugInfo),K=Pp(K,Z,W,Be),an=At,K;if(at(W)){if(At=Oi(W._debugInfo),Dn=at(W),typeof Dn!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Tt=Dn.call(W);return Tt===W?(K.tag!==0||Object.prototype.toString.call(K.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Tt)!=="[object Generator]")&&(oU||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),oU=!0):W.entries!==Dn||yB||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),yB=!0),K=Jp(K,Z,Tt,Be),an=At,K}if(typeof W.then=="function")return At=Oi(W._debugInfo),K=jl(K,Z,sa(W),Be),an=At,K;if(W.$$typeof===Pa)return jl(K,Z,ao(K,W),Be);tn(K,W)}return typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint"?(At=""+W,Z!==null&&Z.tag===6?(A(K,Z.sibling),Be=h(Z,At),Be.return=K,K=Be):(A(K,Z),Be=wm(At,K.mode,Be),Be.return=K,Be._debugOwner=K,Be._debugTask=K._debugTask,Be._debugInfo=an,K=Be),Q(K)):(typeof W=="function"&&hn(K,W),typeof W=="symbol"&&xo(K,W),A(K,Z))}return function(K,Z,W,Be){var At=an;an=null;try{ch=0;var Dn=jl(K,Z,W,Be);return Up=null,Dn}catch(Di){if(Di===sh||Di===Gy)throw Di;var Tt=C(29,Di,null,K.mode);Tt.lanes=Be,Tt.return=K;var Pt=Tt._debugInfo=an;if(Tt._debugOwner=K._debugOwner,Tt._debugTask=K._debugTask,Pt!=null){for(var Zt=Pt.length-1;0<=Zt;Zt--)if(typeof Pt[Zt].stack=="string"){Tt._debugOwner=Pt[Zt],Tt._debugTask=Pt[Zt].debugTask;break}}return Tt}finally{an=At}}}function la(n){var r=n.alternate;Ct(Vr,Vr.current&Rp,n),Ct(el,n,n),Fu===null&&(r===null||bp.current!==null||r.memoizedState!==null)&&(Fu=n)}function Rn(n){if(n.tag===22){if(Ct(Vr,Vr.current,n),Ct(el,n,n),Fu===null){var r=n.alternate;r!==null&&r.memoizedState!==null&&(Fu=n)}}else os(n)}function os(n){Ct(Vr,Vr.current,n),Ct(el,el.current,n)}function Ga(n){$t(el,n),Fu===n&&(Fu=null),$t(Vr,n)}function ss(n){for(var r=n;r!==null;){if(r.tag===13){var A=r.memoizedState;if(A!==null&&(A=A.dehydrated,A===null||Uu(A)||Ml(A)))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}function gu(n){if(n!==null&&typeof n!="function"){var r=String(n);CU.has(r)||(CU.add(r),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",n))}}function fc(n,r,A,p){var h=n.memoizedState,y=A(p,h);if(n.mode&8){Nt(!0);try{y=A(p,h)}finally{Nt(!1)}}y===void 0&&(r=Re(r)||"Component",hU.has(r)||(hU.add(r),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",r))),h=y==null?h:Pr({},h,y),n.memoizedState=h,n.lanes===0&&(n.updateQueue.baseState=h)}function Sl(n,r,A,p,h,y,Q){var F=n.stateNode;if(typeof F.shouldComponentUpdate=="function"){if(A=F.shouldComponentUpdate(p,y,Q),n.mode&8){Nt(!0);try{A=F.shouldComponentUpdate(p,y,Q)}finally{Nt(!1)}}return A===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Re(r)||"Component"),A}return r.prototype&&r.prototype.isPureReactComponent?!eu(A,p)||!eu(h,y):!0}function pc(n,r,A,p){var h=r.state;typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(A,p),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(A,p),r.state!==h&&(n=et(n)||"Component",dU.has(n)||(dU.add(n),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n)),vB.enqueueReplaceState(r,r.state,null))}function uo(n,r){var A=r;if("ref"in r){A={};for(var p in r)p!=="ref"&&(A[p]=r[p])}if(n=n.defaultProps){A===r&&(A=Pr({},A));for(var h in n)A[h]===void 0&&(A[h]=n[h])}return A}function sr(n,r){try{Tp=r.source?et(r.source):null,CB=null;var A=r.value;if(Ae.actQueue!==null)Ae.thrownErrors.push(A);else{var p=n.onUncaughtError;p(A,{componentStack:r.stack})}}catch(h){setTimeout(function(){throw h})}}function gc(n,r,A){try{Tp=A.source?et(A.source):null,CB=et(r);var p=n.onCaughtError;p(A.value,{componentStack:A.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function xr(n,r,A){return A=Vo(A),A.tag=AB,A.payload={element:null},A.callback=function(){it(r.source,sr,n,r)},A}function bl(n){return n=Vo(n),n.tag=AB,n}function mu(n,r,A,p){var h=A.type.getDerivedStateFromError;if(typeof h=="function"){var y=p.value;n.payload=function(){return h(y)},n.callback=function(){Cy(A),it(p.source,gc,r,A,p)}}var Q=A.stateNode;Q!==null&&typeof Q.componentDidCatch=="function"&&(n.callback=function(){Cy(A),it(p.source,gc,r,A,p),typeof h!="function"&&(id===null?id=new Set([this]):id.add(this)),$L(this,p),typeof h=="function"||(A.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",et(A)||"Unknown")})}function kd(n,r,A,p,h){if(A.flags|=32768,f&&Yd(n,h),p!==null&&typeof p=="object"&&typeof p.then=="function"){if(r=A.alternate,r!==null&&Sn(r,A,h,!0),xn&&(Gc=!0),A=el.current,A!==null){switch(A.tag){case 13:return Fu===null?mm():A.alternate===null&&dr===Kc&&(dr=DB),A.flags&=-257,A.flags|=65536,A.lanes=h,p===jy?A.flags|=16384:(r=A.updateQueue,r===null?A.updateQueue=new Set([p]):r.add(p),Zd(n,p,h)),!1;case 22:return A.flags|=65536,p===jy?A.flags|=16384:(r=A.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([p])},A.updateQueue=r):(A=r.retryQueue,A===null?r.retryQueue=new Set([p]):A.add(p)),Zd(n,p,h)),!1}throw Error("Unexpected Suspense handler tag ("+A.tag+"). This is a bug in React.")}return Zd(n,p,h),mm(),!1}if(xn)return Gc=!0,r=el.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=h,p!==tB&&ka(Zi(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:p}),A))):(p!==tB&&ka(Zi(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:p}),A)),n=n.current.alternate,n.flags|=65536,h&=-h,n.lanes|=h,p=Zi(p,A),h=xr(n.stateNode,p,h),_s(n,h),dr!==yf&&(dr=Mp)),!1;var y=Zi(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:p}),A);if(hh===null?hh=[y]:hh.push(y),dr!==yf&&(dr=Mp),r===null)return!0;p=Zi(p,A),A=r;do{switch(A.tag){case 3:return A.flags|=65536,n=h&-h,A.lanes|=n,n=xr(A.stateNode,p,n),_s(A,n),!1;case 1:if(r=A.type,y=A.stateNode,(A.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(id===null||!id.has(y))))return A.flags|=65536,h&=-h,A.lanes|=h,h=bl(h),mu(h,n,A,p),_s(A,h),!1}A=A.return}while(A!==null);return!1}function _n(n,r,A,p){r.child=n===null?cU(r,null,A,p):Np(r,n.child,A,p)}function ls(n,r,A,p,h){A=A.render;var y=r.ref;if("ref"in p){var Q={};for(var F in p)F!=="ref"&&(Q[F]=p[F])}else Q=p;return $r(r),ft(r),p=ar(n,r,A,Q,y,h),F=Wo(),Vt(),n!==null&&!fa?(hl(n,r,h),Uo(n,r,h)):(xn&&F&&ea(r),r.flags|=1,_n(n,r,p,h),r.child)}function mc(n,r,A,p,h){if(n===null){var y=A.type;return typeof y=="function"&&!Sm(y)&&y.defaultProps===void 0&&A.compare===null?(A=wc(y),r.tag=15,r.type=A,Md(r,y),Rs(n,r,A,p,h)):(n=bm(A.type,null,p,r,r.mode,h),n.ref=r.ref,n.return=r,r.child=n)}if(y=n.child,!xl(n,h)){var Q=y.memoizedProps;if(A=A.compare,A=A!==null?A:eu,A(Q,p)&&n.ref===r.ref)return Uo(n,r,h)}return r.flags|=1,n=Ol(y,p),n.ref=r.ref,n.return=r,r.child=n}function Rs(n,r,A,p,h){if(n!==null){var y=n.memoizedProps;if(eu(y,p)&&n.ref===r.ref&&r.type===n.type)if(fa=!1,r.pendingProps=p=y,xl(n,h))(n.flags&131072)!==0&&(fa=!0);else return r.lanes=n.lanes,Uo(n,r,h)}return hu(n,r,A,p,h)}function Fd(n,r,A){var p=r.pendingProps,h=p.children,y=n!==null?n.memoizedState:null;if(p.mode==="hidden"){if((r.flags&128)!==0){if(p=y!==null?y.baseLanes|A:A,n!==null){for(h=r.child=n.child,y=0;h!==null;)y=y|h.lanes|h.childLanes,h=h.sibling;r.childLanes=y&~p}else r.childLanes=0,r.child=null;return zd(n,r,p,A)}if((A&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&Is(r,y!==null?y.cachePool:null),y!==null?Ve(r,y):Ds(r),Rn(r);else return r.lanes=r.childLanes=536870912,zd(n,r,y!==null?y.baseLanes|A:A,A)}else y!==null?(Is(r,y.cachePool),Ve(r,y),os(r),r.memoizedState=null):(n!==null&&Is(r,null),Ds(r),os(r));return _n(n,r,h,A),r.child}function zd(n,r,A,p){var h=Xu();return h=h===null?null:{parent:lr?Ar._currentValue:Ar._currentValue2,pool:h},r.memoizedState={baseLanes:A,cachePool:h},n!==null&&Is(r,null),Ds(r),Rn(r),n!==null&&Sn(n,r,p,!0),null}function Ts(n,r){var A=r.ref;if(A===null)n!==null&&n.ref!==null&&(r.flags|=4194816);else{if(typeof A!="function"&&typeof A!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(n===null||n.ref!==A)&&(r.flags|=4194816)}}function hu(n,r,A,p,h){if(A.prototype&&typeof A.prototype.render=="function"){var y=Re(A)||"Unknown";_U[y]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",y,y),_U[y]=!0)}return r.mode&8&&$l.recordLegacyContextWarning(r,null),n===null&&(Md(r,r.type),A.contextTypes&&(y=Re(A)||"Unknown",QU[y]||(QU[y]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",y)))),$r(r),ft(r),A=ar(n,r,A,p,void 0,h),p=Wo(),Vt(),n!==null&&!fa?(hl(n,r,h),Uo(n,r,h)):(xn&&p&&ea(r),r.flags|=1,_n(n,r,A,h),r.child)}function co(n,r,A,p,h,y){return $r(r),ft(r),Pc=-1,uh=n!==null&&n.type!==r.type,r.updateQueue=null,A=hA(r,p,A,h),bi(n,r),p=Wo(),Vt(),n!==null&&!fa?(hl(n,r,y),Uo(n,r,y)):(xn&&p&&ea(r),r.flags|=1,_n(n,r,A,y),r.child)}function wl(n,r,A,p,h){switch(E(r)){case!1:var y=r.stateNode,Q=new r.type(r.memoizedProps,y.context).state;y.updater.enqueueSetState(y,Q,null);break;case!0:r.flags|=128,r.flags|=65536,y=Error("Simulated error coming from DevTools");var F=h&-h;if(r.lanes|=F,Q=mi,Q===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");F=bl(F),mu(F,Q,r,Zi(y,r)),_s(r,F)}if($r(r),r.stateNode===null){if(Q=Ps,y=A.contextType,"contextType"in A&&y!==null&&(y===void 0||y.$$typeof!==Pa)&&!vU.has(A)&&(vU.add(A),F=y===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?" However, it is set to a "+typeof y+".":y.$$typeof===wu?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Re(A)||"Component",F)),typeof y=="object"&&y!==null&&(Q=Bn(y)),y=new A(p,Q),r.mode&8){Nt(!0);try{y=new A(p,Q)}finally{Nt(!1)}}if(Q=r.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=vB,r.stateNode=y,y._reactInternals=r,y._reactInternalInstance=AU,typeof A.getDerivedStateFromProps=="function"&&Q===null&&(Q=Re(A)||"Component",fU.has(Q)||(fU.add(Q),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Q,y.state===null?"null":"undefined",Q))),typeof A.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"){var ne=F=Q=null;if(typeof y.componentWillMount=="function"&&y.componentWillMount.__suppressDeprecationWarning!==!0?Q="componentWillMount":typeof y.UNSAFE_componentWillMount=="function"&&(Q="UNSAFE_componentWillMount"),typeof y.componentWillReceiveProps=="function"&&y.componentWillReceiveProps.__suppressDeprecationWarning!==!0?F="componentWillReceiveProps":typeof y.UNSAFE_componentWillReceiveProps=="function"&&(F="UNSAFE_componentWillReceiveProps"),typeof y.componentWillUpdate=="function"&&y.componentWillUpdate.__suppressDeprecationWarning!==!0?ne="componentWillUpdate":typeof y.UNSAFE_componentWillUpdate=="function"&&(ne="UNSAFE_componentWillUpdate"),Q!==null||F!==null||ne!==null){y=Re(A)||"Component";var Ee=typeof A.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";gU.has(y)||(gU.add(y),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
125
|
+
|
|
126
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
127
|
+
|
|
128
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
129
|
+
https://react.dev/link/unsafe-component-lifecycles`,y,Ee,Q!==null?`
|
|
130
|
+
`+Q:"",F!==null?`
|
|
131
|
+
`+F:"",ne!==null?`
|
|
132
|
+
`+ne:""))}}y=r.stateNode,Q=Re(A)||"Component",y.render||(A.prototype&&typeof A.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",Q):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",Q)),!y.getInitialState||y.getInitialState.isReactClassApproved||y.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",Q),y.getDefaultProps&&!y.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",Q),y.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",Q),A.childContextTypes&&!yU.has(A)&&(yU.add(A),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",Q)),A.contextTypes&&!EU.has(A)&&(EU.add(A),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",Q)),typeof y.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",Q),A.prototype&&A.prototype.isPureReactComponent&&typeof y.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Re(A)||"A pure component"),typeof y.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",Q),typeof y.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",Q),typeof y.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",Q),typeof y.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",Q),F=y.props!==p,y.props!==void 0&&F&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",Q),y.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",Q,Q),typeof y.getSnapshotBeforeUpdate!="function"||typeof y.componentDidUpdate=="function"||pU.has(A)||(pU.add(A),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Re(A))),typeof y.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Q),typeof y.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Q),typeof A.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",Q),(F=y.state)&&(typeof F!="object"||fi(F))&&console.error("%s.state: must be set to an object or null",Q),typeof y.getChildContext=="function"&&typeof A.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",Q),y=r.stateNode,y.props=p,y.state=r.memoizedState,y.refs={},rc(r),Q=A.contextType,y.context=typeof Q=="object"&&Q!==null?Bn(Q):Ps,y.state===p&&(Q=Re(A)||"Component",mU.has(Q)||(mU.add(Q),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",Q))),r.mode&8&&$l.recordLegacyContextWarning(r,y),$l.recordUnsafeLifecycleWarnings(r,y),y.state=r.memoizedState,Q=A.getDerivedStateFromProps,typeof Q=="function"&&(fc(r,A,Q,p),y.state=r.memoizedState),typeof A.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(Q=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),Q!==y.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",et(r)||"Component"),vB.enqueueReplaceState(y,y.state,null)),fe(r,p,y,h),ra(),y.state=r.memoizedState),typeof y.componentDidMount=="function"&&(r.flags|=4194308),(r.mode&16)!==_i&&(r.flags|=134217728),y=!0}else if(n===null){y=r.stateNode;var je=r.memoizedProps;F=uo(A,je),y.props=F;var Ke=y.context;ne=A.contextType,Q=Ps,typeof ne=="object"&&ne!==null&&(Q=Bn(ne)),Ee=A.getDerivedStateFromProps,ne=typeof Ee=="function"||typeof y.getSnapshotBeforeUpdate=="function",je=r.pendingProps!==je,ne||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(je||Ke!==Q)&&pc(r,y,p,Q),qA=!1;var ot=r.memoizedState;y.state=ot,fe(r,p,y,h),ra(),Ke=r.memoizedState,je||ot!==Ke||qA?(typeof Ee=="function"&&(fc(r,A,Ee,p),Ke=r.memoizedState),(F=qA||Sl(r,A,F,p,ot,Ke,Q))?(ne||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(r.flags|=4194308),(r.mode&16)!==_i&&(r.flags|=134217728)):(typeof y.componentDidMount=="function"&&(r.flags|=4194308),(r.mode&16)!==_i&&(r.flags|=134217728),r.memoizedProps=p,r.memoizedState=Ke),y.props=p,y.state=Ke,y.context=Q,y=F):(typeof y.componentDidMount=="function"&&(r.flags|=4194308),(r.mode&16)!==_i&&(r.flags|=134217728),y=!1)}else{y=r.stateNode,ac(n,r),Q=r.memoizedProps,ne=uo(A,Q),y.props=ne,Ee=r.pendingProps,ot=y.context,Ke=A.contextType,F=Ps,typeof Ke=="object"&&Ke!==null&&(F=Bn(Ke)),je=A.getDerivedStateFromProps,(Ke=typeof je=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(Q!==Ee||ot!==F)&&pc(r,y,p,F),qA=!1,ot=r.memoizedState,y.state=ot,fe(r,p,y,h),ra();var Cn=r.memoizedState;Q!==Ee||ot!==Cn||qA||n!==null&&n.dependencies!==null&&Wn(n.dependencies)?(typeof je=="function"&&(fc(r,A,je,p),Cn=r.memoizedState),(ne=qA||Sl(r,A,ne,p,ot,Cn,F)||n!==null&&n.dependencies!==null&&Wn(n.dependencies))?(Ke||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(p,Cn,F),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(p,Cn,F)),typeof y.componentDidUpdate=="function"&&(r.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof y.componentDidUpdate!="function"||Q===n.memoizedProps&&ot===n.memoizedState||(r.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||Q===n.memoizedProps&&ot===n.memoizedState||(r.flags|=1024),r.memoizedProps=p,r.memoizedState=Cn),y.props=p,y.state=Cn,y.context=F,y=ne):(typeof y.componentDidUpdate!="function"||Q===n.memoizedProps&&ot===n.memoizedState||(r.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||Q===n.memoizedProps&&ot===n.memoizedState||(r.flags|=1024),y=!1)}if(F=y,Ts(n,r),Q=(r.flags&128)!==0,F||Q){if(F=r.stateNode,Yo(r),Q&&typeof A.getDerivedStateFromError!="function")A=null,zo=-1;else{if(ft(r),A=V2(F),r.mode&8){Nt(!0);try{V2(F)}finally{Nt(!1)}}Vt()}r.flags|=1,n!==null&&Q?(r.child=Np(r,n.child,null,h),r.child=Np(r,null,A,h)):_n(n,r,A,h),r.memoizedState=F.state,n=r.child}else n=Uo(n,r,h);return h=r.stateNode,y&&h.props!==p&&(Op||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",et(r)||"a component"),Op=!0),n}function QA(n,r,A,p){return zn(),r.flags|=256,_n(n,r,A,p),r.child}function Md(n,r){r&&r.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
133
|
+
%s.childContextTypes = ...`,r.displayName||r.name||"Component"),typeof r.getDerivedStateFromProps=="function"&&(n=Re(r)||"Unknown",SU[n]||(console.error("%s: Function components do not support getDerivedStateFromProps.",n),SU[n]=!0)),typeof r.contextType=="object"&&r.contextType!==null&&(r=Re(r)||"Unknown",DU[r]||(console.error("%s: Function components do not support contextType.",r),DU[r]=!0))}function SA(n){return{baseLanes:n,cachePool:ml()}}function hc(n,r,A){return n=n!==null?n.childLanes&~A:0,r&&(n|=gs),n}function bA(n,r,A){var p=r.pendingProps;d(r)&&(r.flags|=128);var h=!1,y=(r.flags&128)!==0,Q;if((Q=y)||(Q=n!==null&&n.memoizedState===null?!1:(Vr.current&Ah)!==0),Q&&(h=!0,r.flags&=-129),Q=(r.flags&32)!==0,r.flags&=-33,n===null){if(xn){if(h?la(r):os(r),xn){var F=Tr,ne;(ne=!F)||(ne=ko(F,Ou),ne!==null?(mr(),r.memoizedState={dehydrated:ne,treeContext:kn!==null?{id:_t,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},y=C(18,null,null,_i),y.stateNode=ne,y.return=r,r.child=y,mo=r,Tr=null,ne=!0):ne=!1,ne=!ne),ne&&(ta(r,F),Oa(r))}if(F=r.memoizedState,F!==null&&(F=F.dehydrated,F!==null))return Ml(F)?r.lanes=32:r.lanes=536870912,null;Ga(r)}return F=p.children,p=p.fallback,h?(os(r),h=r.mode,F=ks({mode:"hidden",children:F},h),p=Qu(p,h,A,null),F.return=r,p.return=r,F.sibling=p,r.child=F,h=r.child,h.memoizedState=SA(A),h.childLanes=hc(n,Q,A),r.memoizedState=BB,p):(la(r),Os(r,F))}if(ne=n.memoizedState,ne!==null&&(F=ne.dehydrated,F!==null)){if(y)r.flags&256?(la(r),r.flags&=-257,r=wA(n,r,A)):r.memoizedState!==null?(os(r),r.child=n.child,r.flags|=128,r=null):(os(r),h=p.fallback,F=r.mode,p=ks({mode:"visible",children:p.children},F),h=Qu(h,F,A,null),h.flags|=2,p.return=r,h.return=r,p.sibling=h,r.child=p,Np(r,n.child,null,A),p=r.child,p.memoizedState=SA(A),p.childLanes=hc(n,Q,A),r.memoizedState=BB,r=h);else if(la(r),xn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Ml(F))F=fp(F),Q=F.digest,h=F.message,p=F.stack,F=F.componentStack,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=p||"",h.digest=Q,Q=F===void 0?null:F,p={value:h,source:null,stack:Q},typeof Q=="string"&&$c.set(h,p),ka(p),r=wA(n,r,A);else if(fa||Sn(n,r,A,!1),Q=(A&n.childLanes)!==0,fa||Q){if(Q=mi,Q!==null&&(p=A&-A,p=(p&42)!==0?1:Qn(p),p=(p&(Q.suspendedLanes|A))!==0?0:p,p!==0&&p!==ne.retryLane))throw ne.retryLane=p,rr(n,p),En(Q,n,p),BU;Uu(F)||mm(),r=wA(n,r,A)}else Uu(F)?(r.flags|=192,r.child=n.child,r=null):(n=ne.treeContext,ur&&(Tr=PA(F),mo=r,xn=!0,ff=null,Gc=!1,Ys=null,Ou=!1,n!==null&&(mr(),Ne[pt++]=_t,Ne[pt++]=Xt,Ne[pt++]=kn,_t=n.id,Xt=n.overflow,kn=r)),r=Os(r,p.children),r.flags|=4096);return r}return h?(os(r),h=p.fallback,F=r.mode,ne=n.child,y=ne.sibling,p=Ol(ne,{mode:"hidden",children:p.children}),p.subtreeFlags=ne.subtreeFlags&65011712,y!==null?h=Ol(y,h):(h=Qu(h,F,A,null),h.flags|=2),h.return=r,p.return=r,p.sibling=h,r.child=p,p=h,h=r.child,F=n.child.memoizedState,F===null?F=SA(A):(ne=F.cachePool,ne!==null?(y=lr?Ar._currentValue:Ar._currentValue2,ne=ne.parent!==y?{parent:y,pool:y}:ne):ne=ml(),F={baseLanes:F.baseLanes|A,cachePool:ne}),h.memoizedState=F,h.childLanes=hc(n,Q,A),r.memoizedState=BB,p):(la(r),A=n.child,n=A.sibling,A=Ol(A,{mode:"visible",children:p.children}),A.return=r,A.sibling=null,n!==null&&(Q=r.deletions,Q===null?(r.deletions=[n],r.flags|=16):Q.push(n)),r.child=A,r.memoizedState=null,A)}function Os(n,r){return r=ks({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function ks(n,r){return n=C(22,n,null,r),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function wA(n,r,A){return Np(r,n.child,null,A),n=Os(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Ld(n,r,A){n.lanes|=r;var p=n.alternate;p!==null&&(p.lanes|=r),gl(n.return,r,A)}function $d(n,r){var A=fi(n);return n=!A&&typeof at(n)=="function",A||n?(A=A?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",A,r,A),!1):!0}function Eu(n,r,A,p,h){var y=n.memoizedState;y===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:p,tail:A,tailMode:h}:(y.isBackwards=r,y.rendering=null,y.renderingStartTime=0,y.last=p,y.tail=A,y.tailMode=h)}function Hd(n,r,A){var p=r.pendingProps,h=p.revealOrder,y=p.tail;if(p=p.children,h!==void 0&&h!=="forwards"&&h!=="backwards"&&h!=="together"&&!bU[h])if(bU[h]=!0,typeof h=="string")switch(h.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',h,h.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',h,h.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',h)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',h);y===void 0||IB[y]||(y!=="collapsed"&&y!=="hidden"?(IB[y]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',y)):h!=="forwards"&&h!=="backwards"&&(IB[y]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',y)));e:if((h==="forwards"||h==="backwards")&&p!==void 0&&p!==null&&p!==!1)if(fi(p)){for(var Q=0;Q<p.length;Q++)if(!$d(p[Q],Q))break e}else if(Q=at(p),typeof Q=="function"){if(Q=Q.call(p))for(var F=Q.next(),ne=0;!F.done;F=Q.next()){if(!$d(F.value,ne))break e;ne++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',h);if(_n(n,r,p,A),p=Vr.current,(p&Ah)!==0)p=p&Rp|Ah,r.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ld(n,A,r);else if(n.tag===19)Ld(n,A,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}p&=Rp}switch(Ct(Vr,p,r),h){case"forwards":for(A=r.child,h=null;A!==null;)n=A.alternate,n!==null&&ss(n)===null&&(h=A),A=A.sibling;A=h,A===null?(h=r.child,r.child=null):(h=A.sibling,A.sibling=null),Eu(r,!1,h,A,y);break;case"backwards":for(A=null,h=r.child,r.child=null;h!==null;){if(n=h.alternate,n!==null&&ss(n)===null){r.child=h;break}n=h.sibling,h.sibling=A,A=h,h=n}Eu(r,!0,A,null,y);break;case"together":Eu(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Uo(n,r,A){if(n!==null&&(r.dependencies=n.dependencies),zo=-1,td|=r.lanes,(A&r.childLanes)===0)if(n!==null){if(Sn(n,r,A,!1),(A&r.childLanes)===0)return null}else return null;if(n!==null&&r.child!==n.child)throw Error("Resuming work not yet implemented.");if(r.child!==null){for(n=r.child,A=Ol(n,n.pendingProps),r.child=A,A.return=r;n.sibling!==null;)n=n.sibling,A=A.sibling=Ol(n,n.pendingProps),A.return=r;A.sibling=null}return r.child}function xl(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&Wn(n)))}function yu(n,r,A){switch(r.tag){case 3:Er(r,r.stateNode.containerInfo),Lr(r,Ar,n.memoizedState.cache),zn();break;case 27:case 5:Qe(r);break;case 4:Er(r,r.stateNode.containerInfo);break;case 10:Lr(r,r.type,r.memoizedProps.value);break;case 12:(A&r.childLanes)!==0&&(r.flags|=4),r.flags|=2048;var p=r.stateNode;p.effectDuration=-0,p.passiveEffectDuration=-0;break;case 13:if(p=r.memoizedState,p!==null)return p.dehydrated!==null?(la(r),r.flags|=128,null):(A&r.child.childLanes)!==0?bA(n,r,A):(la(r),n=Uo(n,r,A),n!==null?n.sibling:null);la(r);break;case 19:var h=(n.flags&128)!==0;if(p=(A&r.childLanes)!==0,p||(Sn(n,r,A,!1),p=(A&r.childLanes)!==0),h){if(p)return Hd(n,r,A);r.flags|=128}if(h=r.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),Ct(Vr,Vr.current,r),p)break;return null;case 22:case 23:return r.lanes=0,Fd(n,r,A);case 24:Lr(r,Ar,n.memoizedState.cache)}return Uo(n,r,A)}function Ec(n,r,A){if(r._debugNeedsRemount&&n!==null){A=bm(r.type,r.key,r.pendingProps,r._debugOwner||null,r.mode,r.lanes),A._debugStack=r._debugStack,A._debugTask=r._debugTask;var p=r.return;if(p===null)throw Error("Cannot swap the root fiber.");if(n.alternate=null,r.alternate=null,A.index=r.index,A.sibling=r.sibling,A.return=r.return,A.ref=r.ref,A._debugInfo=r._debugInfo,r===p.child)p.child=A;else{var h=p.child;if(h===null)throw Error("Expected parent to have a child.");for(;h.sibling!==r;)if(h=h.sibling,h===null)throw Error("Expected to find the previous sibling.");h.sibling=A}return r=p.deletions,r===null?(p.deletions=[n],p.flags|=16):r.push(n),A.flags|=2,A}if(n!==null)if(n.memoizedProps!==r.pendingProps||r.type!==n.type)fa=!0;else{if(!xl(n,A)&&(r.flags&128)===0)return fa=!1,yu(n,r,A);fa=(n.flags&131072)!==0}else fa=!1,(p=xn)&&(mr(),p=(r.flags&1048576)!==0),p&&(p=r.index,mr(),ha(r,ue,p));switch(r.lanes=0,r.tag){case 16:e:if(p=r.pendingProps,n=WA(r.elementType),r.type=n,typeof n=="function")Sm(n)?(p=uo(n,p),r.tag=1,r.type=n=wc(n),r=wl(null,r,n,p,A)):(r.tag=0,Md(r,n),r.type=n=wc(n),r=hu(null,r,n,p,A));else{if(n!=null){if(h=n.$$typeof,h===Jr){r.tag=11,r.type=n=Dm(n),r=ls(null,r,n,p,A);break e}else if(h===Nc){r.tag=14,r=mc(null,r,n,p,A);break e}}throw r="",n!==null&&typeof n=="object"&&n.$$typeof===Aa&&(r=" Did you wrap a component in React.lazy() more than once?"),n=Re(n)||n,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+r)}return r;case 0:return hu(n,r,r.type,r.pendingProps,A);case 1:return p=r.type,h=uo(p,r.pendingProps),wl(n,r,p,h,A);case 3:e:{if(Er(r,r.stateNode.containerInfo),n===null)throw Error("Should have a current fiber. This is a bug in React.");var y=r.pendingProps;h=r.memoizedState,p=h.element,ac(n,r),fe(r,y,null,A);var Q=r.memoizedState;if(y=Q.cache,Lr(r,Ar,y),y!==h.cache&&Ni(r,[Ar],A,!0),ra(),y=Q.element,ur&&h.isDehydrated)if(h={element:y,isDehydrated:!1,cache:Q.cache},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){r=QA(n,r,y,A);break e}else if(y!==p){p=Zi(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),r),ka(p),r=QA(n,r,y,A);break e}else for(ur&&(Tr=W0(r.stateNode.containerInfo),mo=r,xn=!0,ff=null,Gc=!1,Ys=null,Ou=!0),n=cU(r,null,y,A),r.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(zn(),y===p){r=Uo(n,r,A);break e}_n(n,r,y,A)}r=r.child}return r;case 26:if(Xi)return Ts(n,r),n===null?(n=sf(r.type,null,r.pendingProps,null))?r.memoizedState=n:xn||(r.stateNode=eB(r.type,r.pendingProps,hr(wa.current),r)):r.memoizedState=sf(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:if(Ut)return Qe(r),n===null&&Ut&&xn&&(h=hr(wa.current),p=V(),h=r.stateNode=Za(r.type,r.pendingProps,h,p,!1),Gc||(p=pp(h,r.type,r.pendingProps,p),p!==null&&(ii(r,0).serverProps=p)),mo=r,Ou=!0,Tr=of(r.type,h,Tr)),_n(n,r,r.pendingProps.children,A),Ts(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&xn&&(y=V(),p=cr(r.type,r.pendingProps,y),h=Tr,(Q=!h)||(Q=JA(h,r.type,r.pendingProps,Ou),Q!==null?(r.stateNode=Q,Gc||(y=pp(Q,r.type,r.pendingProps,y),y!==null&&(ii(r,0).serverProps=y)),mo=r,Tr=xy(Q),Ou=!1,y=!0):y=!1,Q=!y),Q&&(p&&ta(r,h),Oa(r))),Qe(r),h=r.type,y=r.pendingProps,Q=n!==null?n.memoizedProps:null,p=y.children,kl(h,y)?p=null:Q!==null&&kl(h,Q)&&(r.flags|=32),r.memoizedState!==null&&(h=ar(n,r,qf,null,null,A),lr?Sa._currentValue=h:Sa._currentValue2=h),Ts(n,r),_n(n,r,p,A),r.child;case 6:return n===null&&xn&&(n=r.pendingProps,A=V(),n=Ka(n,A),A=Tr,(p=!A)||(p=Uy(A,r.pendingProps,Ou),p!==null?(r.stateNode=p,mo=r,Tr=null,p=!0):p=!1,p=!p),p&&(n&&ta(r,A),Oa(r))),null;case 13:return bA(n,r,A);case 4:return Er(r,r.stateNode.containerInfo),p=r.pendingProps,n===null?r.child=Np(r,null,p,A):_n(n,r,p,A),r.child;case 11:return ls(n,r,r.type,r.pendingProps,A);case 7:return _n(n,r,r.pendingProps,A),r.child;case 8:return _n(n,r,r.pendingProps.children,A),r.child;case 12:return r.flags|=4,r.flags|=2048,p=r.stateNode,p.effectDuration=-0,p.passiveEffectDuration=-0,_n(n,r,r.pendingProps.children,A),r.child;case 10:return p=r.type,h=r.pendingProps,y=h.value,"value"in h||wU||(wU=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Lr(r,p,y),_n(n,r,h.children,A),r.child;case 9:return h=r.type._context,p=r.pendingProps.children,typeof p!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),$r(r),h=Bn(h),ft(r),p=hB(p,h,void 0),Vt(),r.flags|=1,_n(n,r,p,A),r.child;case 14:return mc(n,r,r.type,r.pendingProps,A);case 15:return Rs(n,r,r.type,r.pendingProps,A);case 19:return Hd(n,r,A);case 31:return p=r.pendingProps,A=r.mode,p={mode:p.mode,children:p.children},n===null?(n=ks(p,A),n.ref=r.ref,r.child=n,n.return=r,r=n):(n=Ol(n.child,p),n.ref=r.ref,r.child=n,n.return=r,r=n),r;case 22:return Fd(n,r,A);case 24:return $r(r),p=Bn(Ar),n===null?(h=Xu(),h===null&&(h=mi,y=Fa(),h.pooledCache=y,za(y),y!==null&&(h.pooledCacheLanes|=A),h=y),r.memoizedState={parent:p,cache:h},rc(r),Lr(r,Ar,h)):((n.lanes&A)!==0&&(ac(n,r),fe(r,null,null,A),ra()),h=n.memoizedState,y=r.memoizedState,h.parent!==p?(h={parent:p,cache:p},r.memoizedState=h,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=h),Lr(r,Ar,p)):(p=y.cache,Lr(r,Ar,p),p!==h.cache&&Ni(r,[Ar],A,!0))),_n(n,r,r.pendingProps.children,A),r.child;case 29:throw r.pendingProps}throw Error("Unknown unit of work tag ("+r.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ot(n){n.flags|=4}function yc(n,r){if(n!==null&&n.child===r.child)return!1;if((r.flags&16)!==0)return!0;for(n=r.child;n!==null;){if((n.flags&13878)!==0||(n.subtreeFlags&13878)!==0)return!0;n=n.sibling}return!1}function Gd(n,r,A,p){if(ki)for(A=r.child;A!==null;){if(A.tag===5||A.tag===6)Xd(n,A.stateNode);else if(!(A.tag===4||Ut&&A.tag===27)&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===r)break;for(;A.sibling===null;){if(A.return===null||A.return===r)return;A=A.return}A.sibling.return=A.return,A=A.sibling}else if(da)for(var h=r.child;h!==null;){if(h.tag===5){var y=h.stateNode;A&&p&&(y=qi(y,h.type,h.memoizedProps)),Xd(n,y)}else if(h.tag===6)y=h.stateNode,A&&p&&(y=rf(y,h.memoizedProps)),Xd(n,y);else if(h.tag!==4){if(h.tag===22&&h.memoizedState!==null)y=h.child,y!==null&&(y.return=h),Gd(n,h,!0,!0);else if(h.child!==null){h.child.return=h,h=h.child;continue}}if(h===r)break;for(;h.sibling===null;){if(h.return===null||h.return===r)return;h=h.return}h.sibling.return=h.return,h=h.sibling}}function jd(n,r,A,p){var h=!1;if(da)for(var y=r.child;y!==null;){if(y.tag===5){var Q=y.stateNode;A&&p&&(Q=qi(Q,y.type,y.memoizedProps)),zl(n,Q)}else if(y.tag===6)Q=y.stateNode,A&&p&&(Q=rf(Q,y.memoizedProps)),zl(n,Q);else if(y.tag!==4){if(y.tag===22&&y.memoizedState!==null)h=y.child,h!==null&&(h.return=y),jd(n,y,!0,!0),h=!0;else if(y.child!==null){y.child.return=y,y=y.child;continue}}if(y===r)break;for(;y.sibling===null;){if(y.return===null||y.return===r)return h;y=y.return}y.sibling.return=y.return,y=y.sibling}return h}function Pd(n,r){if(da&&yc(n,r)){n=r.stateNode;var A=n.containerInfo,p=nf();jd(p,r,!1,!1),n.pendingChildren=p,Ot(r),rn(A,p)}}function xA(n,r,A,p){if(ki)n.memoizedProps!==p&&Ot(r);else if(da){var h=n.stateNode,y=n.memoizedProps;if((n=yc(n,r))||y!==p){var Q=V();y=HA(h,A,y,p,!n,null),y===h?r.stateNode=h:($m(y,A,p,Q)&&Ot(r),r.stateNode=y,n?Gd(y,r,!1,!1):Ot(r))}else r.stateNode=h}}function vc(n,r,A){if(Tc(r,A)){if(n.flags|=16777216,!fs(r,A))if(oy())n.flags|=8192;else throw Qp=jy,uB}else n.flags&=-16777217}function vu(n,r){if(ai(r)){if(n.flags|=16777216,!ln(r))if(oy())n.flags|=8192;else throw Qp=jy,uB}else n.flags&=-16777217}function Fs(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?ut():536870912,n.lanes|=r,If|=r)}function _a(n,r){if(!xn)switch(n.tailMode){case"hidden":r=n.tail;for(var A=null;r!==null;)r.alternate!==null&&(A=r),r=r.sibling;A===null?n.tail=null:A.sibling=null;break;case"collapsed":A=n.tail;for(var p=null;A!==null;)A.alternate!==null&&(p=A),A=A.sibling;p===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:p.sibling=null}}function Kn(n){var r=n.alternate!==null&&n.alternate.child===n.child,A=0,p=0;if(r)if((n.mode&2)!==_i){for(var h=n.selfBaseDuration,y=n.child;y!==null;)A|=y.lanes|y.childLanes,p|=y.subtreeFlags&65011712,p|=y.flags&65011712,h+=y.treeBaseDuration,y=y.sibling;n.treeBaseDuration=h}else for(h=n.child;h!==null;)A|=h.lanes|h.childLanes,p|=h.subtreeFlags&65011712,p|=h.flags&65011712,h.return=n,h=h.sibling;else if((n.mode&2)!==_i){h=n.actualDuration,y=n.selfBaseDuration;for(var Q=n.child;Q!==null;)A|=Q.lanes|Q.childLanes,p|=Q.subtreeFlags,p|=Q.flags,h+=Q.actualDuration,y+=Q.treeBaseDuration,Q=Q.sibling;n.actualDuration=h,n.treeBaseDuration=y}else for(h=n.child;h!==null;)A|=h.lanes|h.childLanes,p|=h.subtreeFlags,p|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=p,n.childLanes=A,r}function Cc(n,r,A){var p=r.pendingProps;switch(br(r),r.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kn(r),null;case 1:return Kn(r),null;case 3:return A=r.stateNode,p=null,n!==null&&(p=n.memoizedState.cache),r.memoizedState.cache!==p&&(r.flags|=2048),na(Ar,r),x(r),A.pendingContext&&(A.context=A.pendingContext,A.pendingContext=null),(n===null||n.child===null)&&(ro(r)?(Xl(),Ot(r)):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,vs())),Pd(n,r),Kn(r),null;case 26:if(Xi){A=r.type;var h=r.memoizedState;return n===null?(Ot(r),h!==null?(Kn(r),vu(r,h)):(Kn(r),vc(r,A,p))):h?h!==n.memoizedState?(Ot(r),Kn(r),vu(r,h)):(Kn(r),r.flags&=-16777217):(ki?n.memoizedProps!==p&&Ot(r):xA(n,r,A,p),Kn(r),vc(r,A,p)),null}case 27:if(Ut){if(He(r),A=hr(wa.current),h=r.type,n!==null&&r.stateNode!=null)ki?n.memoizedProps!==p&&Ot(r):xA(n,r,h,p);else{if(!p){if(r.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Kn(r),null}n=V(),ro(r)?ql(r,n):(n=Za(h,p,A,n,!0),r.stateNode=n,Ot(r))}return Kn(r),null}case 5:if(He(r),A=r.type,n!==null&&r.stateNode!=null)xA(n,r,A,p);else{if(!p){if(r.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Kn(r),null}n=V(),ro(r)?ql(r,n):(h=hr(wa.current),h=Sy(A,p,h,n,r),Gd(h,r,!1,!1),r.stateNode=h,$m(h,A,p,n)&&Ot(r))}return Kn(r),vc(r,r.type,r.pendingProps),null;case 6:if(n&&r.stateNode!=null)A=n.memoizedProps,ki?A!==p&&Ot(r):da&&(A!==p?(n=hr(wa.current),A=V(),r.stateNode=Rc(p,n,A,r),Ot(r)):r.stateNode=n.stateNode);else{if(typeof p!="string"&&r.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(n=hr(wa.current),A=V(),ro(r)){if(!ur)throw Error("Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");n=r.stateNode,A=r.memoizedProps,h=!Gc,p=null;var y=mo;if(y!==null)switch(y.tag){case 3:h&&(h=qm(n,A,p),h!==null&&(ii(r,0).serverProps=h));break;case 27:case 5:p=y.memoizedProps,h&&(h=qm(n,A,p),h!==null&&(ii(r,0).serverProps=h))}Ir(n,A,r,p)||Oa(r)}else r.stateNode=Rc(p,n,A,r)}return Kn(r),null;case 13:if(p=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=ro(r),p!==null&&p.dehydrated!==null){if(n===null){if(!h)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!ur)throw Error("Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Zm(h,r),Kn(r),(r.mode&2)!==_i&&p!==null&&(h=r.child,h!==null&&(r.treeBaseDuration-=h.treeBaseDuration))}else Xl(),zn(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4,Kn(r),(r.mode&2)!==_i&&p!==null&&(h=r.child,h!==null&&(r.treeBaseDuration-=h.treeBaseDuration));h=!1}else h=vs(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return r.flags&256?(Ga(r),r):(Ga(r),null)}return Ga(r),(r.flags&128)!==0?(r.lanes=A,(r.mode&2)!==_i&&ke(r),r):(A=p!==null,n=n!==null&&n.memoizedState!==null,A&&(p=r.child,h=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(h=p.alternate.memoizedState.cachePool.pool),y=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(y=p.memoizedState.cachePool.pool),y!==h&&(p.flags|=2048)),A!==n&&A&&(r.child.flags|=8192),Fs(r,r.updateQueue),Kn(r),(r.mode&2)!==_i&&A&&(n=r.child,n!==null&&(r.treeBaseDuration-=n.treeBaseDuration)),null);case 4:return x(r),Pd(n,r),n===null&&Wd(r.stateNode.containerInfo),Kn(r),null;case 10:return na(r.type,r),Kn(r),null;case 19:if($t(Vr,r),h=r.memoizedState,h===null)return Kn(r),null;if(p=(r.flags&128)!==0,y=h.rendering,y===null)if(p)_a(h,!1);else{if(dr!==Kc||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(y=ss(n),y!==null){for(r.flags|=128,_a(h,!1),n=y.updateQueue,r.updateQueue=n,Fs(r,n),r.subtreeFlags=0,n=A,A=r.child;A!==null;)Iy(A,n),A=A.sibling;return Ct(Vr,Vr.current&Rp|Ah,r),r.child}n=n.sibling}h.tail!==null&&ni()>Eh&&(r.flags|=128,p=!0,_a(h,!1),r.lanes=4194304)}else{if(!p)if(n=ss(y),n!==null){if(r.flags|=128,p=!0,n=n.updateQueue,r.updateQueue=n,Fs(r,n),_a(h,!0),h.tail===null&&h.tailMode==="hidden"&&!y.alternate&&!xn)return Kn(r),null}else 2*ni()-h.renderingStartTime>Eh&&A!==536870912&&(r.flags|=128,p=!0,_a(h,!1),r.lanes=4194304);h.isBackwards?(y.sibling=r.child,r.child=y):(n=h.last,n!==null?n.sibling=y:r.child=y,h.last=y)}return h.tail!==null?(n=h.tail,h.rendering=n,h.tail=n.sibling,h.renderingStartTime=ni(),n.sibling=null,A=Vr.current,A=p?A&Rp|Ah:A&Rp,Ct(Vr,A,r),n):(Kn(r),null);case 22:case 23:return Ga(r),Xo(r),p=r.memoizedState!==null,n!==null?n.memoizedState!==null!==p&&(r.flags|=8192):p&&(r.flags|=8192),p?(A&536870912)!==0&&(r.flags&128)===0&&(Kn(r),r.subtreeFlags&6&&(r.flags|=8192)):Kn(r),A=r.updateQueue,A!==null&&Fs(r,A.retryQueue),A=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(A=n.memoizedState.cachePool.pool),p=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(p=r.memoizedState.cachePool.pool),p!==A&&(r.flags|=2048),n!==null&&$t(mf,r),null;case 24:return A=null,n!==null&&(A=n.memoizedState.cache),r.memoizedState.cache!==A&&(r.flags|=2048),na(Ar,r),Kn(r),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+r.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function zs(n,r){switch(br(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,(r.mode&2)!==_i&&ke(r),r):null;case 3:return na(Ar,r),x(r),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return He(r),null;case 13:if(Ga(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");zn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,(r.mode&2)!==_i&&ke(r),r):null;case 19:return $t(Vr,r),null;case 4:return x(r),null;case 10:return na(r.type,r),null;case 22:case 23:return Ga(r),Xo(r),n!==null&&$t(mf,r),n=r.flags,n&65536?(r.flags=n&-65537|128,(r.mode&2)!==_i&&ke(r),r):null;case 24:return na(Ar,r),null;case 25:return null;default:return null}}function Ic(n,r){switch(br(r),r.tag){case 3:na(Ar,r),x(r);break;case 26:case 27:case 5:He(r);break;case 4:x(r);break;case 13:Ga(r);break;case 19:$t(Vr,r);break;case 10:na(r.type,r);break;case 22:case 23:Ga(r),Xo(r),n!==null&&$t(mf,r);break;case 24:na(Ar,r)}}function Hr(n){return(n.mode&2)!==_i}function UA(n,r){Hr(n)?(Oe(),Ao(r,n),_e()):Ao(r,n)}function us(n,r,A){Hr(n)?(Oe(),cs(A,n,r),_e()):cs(A,n,r)}function Ao(n,r){try{var A=r.updateQueue,p=A!==null?A.lastEffect:null;if(p!==null){var h=p.next;A=h;do{if((A.tag&n)===n&&((n&Yr)!==Vs?o!==null&&typeof o.markComponentPassiveEffectMountStarted=="function"&&o.markComponentPassiveEffectMountStarted(r):(n&xa)!==Vs&&o!==null&&typeof o.markComponentLayoutEffectMountStarted=="function"&&o.markComponentLayoutEffectMountStarted(r),p=void 0,(n&Eo)!==Vs&&(Gp=!0),p=it(r,HL,A),(n&Eo)!==Vs&&(Gp=!1),(n&Yr)!==Vs?o!==null&&typeof o.markComponentPassiveEffectMountStopped=="function"&&o.markComponentPassiveEffectMountStopped():(n&xa)!==Vs&&o!==null&&typeof o.markComponentLayoutEffectMountStopped=="function"&&o.markComponentLayoutEffectMountStopped(),p!==void 0&&typeof p!="function")){var y=void 0;y=(A.tag&xa)!==0?"useLayoutEffect":(A.tag&Eo)!==0?"useInsertionEffect":"useEffect";var Q=void 0;Q=p===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof p.then=="function"?`
|
|
134
|
+
|
|
135
|
+
It looks like you wrote `+y+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
136
|
+
|
|
137
|
+
`+y+`(() => {
|
|
138
|
+
async function fetchData() {
|
|
139
|
+
// You can await here
|
|
140
|
+
const response = await MyAPI.getData(someId);
|
|
141
|
+
// ...
|
|
142
|
+
}
|
|
143
|
+
fetchData();
|
|
144
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
145
|
+
|
|
146
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+p,it(r,function(F,ne){console.error("%s must not return anything besides a function, which is used for clean-up.%s",F,ne)},y,Q)}A=A.next}while(A!==h)}}catch(F){Tn(r,r.return,F)}}function cs(n,r,A){try{var p=r.updateQueue,h=p!==null?p.lastEffect:null;if(h!==null){var y=h.next;p=y;do{if((p.tag&n)===n){var Q=p.inst,F=Q.destroy;F!==void 0&&(Q.destroy=void 0,(n&Yr)!==Vs?o!==null&&typeof o.markComponentPassiveEffectUnmountStarted=="function"&&o.markComponentPassiveEffectUnmountStarted(r):(n&xa)!==Vs&&o!==null&&typeof o.markComponentLayoutEffectUnmountStarted=="function"&&o.markComponentLayoutEffectUnmountStarted(r),(n&Eo)!==Vs&&(Gp=!0),h=r,it(h,GL,h,A,F),(n&Eo)!==Vs&&(Gp=!1),(n&Yr)!==Vs?o!==null&&typeof o.markComponentPassiveEffectUnmountStopped=="function"&&o.markComponentPassiveEffectUnmountStopped():(n&xa)!==Vs&&o!==null&&typeof o.markComponentLayoutEffectUnmountStopped=="function"&&o.markComponentLayoutEffectUnmountStopped())}p=p.next}while(p!==y)}}catch(ne){Tn(r,r.return,ne)}}function Jd(n,r){Hr(n)?(Oe(),Ao(r,n),_e()):Ao(r,n)}function Bc(n,r,A){Hr(n)?(Oe(),cs(A,n,r),_e()):cs(A,n,r)}function _c(n){var r=n.updateQueue;if(r!==null){var A=n.stateNode;n.type.defaultProps||"ref"in n.memoizedProps||Op||(A.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",et(n)||"instance"),A.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",et(n)||"instance"));try{it(n,mA,r,A)}catch(p){Tn(n,n.return,p)}}}function nn(n,r,A){return n.getSnapshotBeforeUpdate(r,A)}function pm(n,r){var A=r.memoizedProps,p=r.memoizedState;r=n.stateNode,n.type.defaultProps||"ref"in n.memoizedProps||Op||(r.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",et(n)||"instance"),r.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",et(n)||"instance"));try{var h=uo(n.type,A,n.elementType===n.type),y=it(n,nn,r,h,p);A=xU,y!==void 0||A.has(n.type)||(A.add(n.type),it(n,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",et(n))})),r.__reactInternalSnapshotBeforeUpdate=y}catch(Q){Tn(n,n.return,Q)}}function Gr(n,r,A){A.props=uo(n.type,n.memoizedProps),A.state=n.memoizedState,Hr(n)?(Oe(),it(n,nU,n,r,A),_e()):it(n,nU,n,r,A)}function NA(n){var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var A=kA(n.stateNode);break;case 30:A=n.stateNode;break;default:A=n.stateNode}if(typeof r=="function")if(Hr(n))try{Oe(),n.refCleanup=r(A)}finally{_e()}else n.refCleanup=r(A);else typeof r=="string"?console.error("String refs are no longer supported."):r.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",et(n)),r.current=A}}function Cu(n,r){try{it(n,NA,n)}catch(A){Tn(n,r,A)}}function ua(n,r){var A=n.ref,p=n.refCleanup;if(A!==null)if(typeof p=="function")try{if(Hr(n))try{Oe(),it(n,p)}finally{_e(n)}else it(n,p)}catch(h){Tn(n,r,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof A=="function")try{if(Hr(n))try{Oe(),it(n,A,null)}finally{_e(n)}else it(n,A,null)}catch(h){Tn(n,r,h)}else A.current=null}function Ul(n,r,A,p){var h=n.memoizedProps,y=h.id,Q=h.onCommit;h=h.onRender,r=r===null?"mount":"update",zy&&(r="nested-update"),typeof h=="function"&&h(y,r,n.actualDuration,n.treeBaseDuration,n.actualStartTime,A),typeof Q=="function"&&Q(n.memoizedProps.id,r,p,A)}function Nl(n,r,A,p){var h=n.memoizedProps;n=h.id,h=h.onPostCommit,r=r===null?"mount":"update",zy&&(r="nested-update"),typeof h=="function"&&h(n,r,p,A)}function RA(n){var r=n.type,A=n.memoizedProps,p=n.stateNode;try{it(n,kc,p,r,A,n)}catch(h){Tn(n,n.return,h)}}function Iu(n,r,A){try{it(n,q0,n.stateNode,n.type,A,r,n)}catch(p){Tn(n,n.return,p)}}function ep(n){return n.tag===5||n.tag===3||(Xi?n.tag===26:!1)||(Ut?n.tag===27&&Ya(n.type):!1)||n.tag===4}function Dc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||ep(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(Ut&&n.tag===27&&Ya(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function No(n,r,A){var p=n.tag;if(p===5||p===6)n=n.stateNode,r?Pm(A,n,r):LA(A,n);else if(p!==4&&(Ut&&p===27&&Ya(n.type)&&(A=n.stateNode,r=null),n=n.child,n!==null))for(No(n,r,A),n=n.sibling;n!==null;)No(n,r,A),n=n.sibling}function Ms(n,r,A){var p=n.tag;if(p===5||p===6)n=n.stateNode,r?tf(A,n,r):MA(A,n);else if(p!==4&&(Ut&&p===27&&Ya(n.type)&&(A=n.stateNode),n=n.child,n!==null))for(Ms(n,r,A),n=n.sibling;n!==null;)Ms(n,r,A),n=n.sibling}function Zn(n){if(ki){for(var r,A=n.return;A!==null;){if(ep(A)){r=A;break}A=A.return}if(r==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(r.tag){case 27:if(Ut){r=r.stateNode,A=Dc(n),Ms(n,A,r);break}case 5:A=r.stateNode,r.flags&32&&(Fc(A),r.flags&=-33),r=Dc(n),Ms(n,r,A);break;case 3:case 4:r=r.stateNode.containerInfo,A=Dc(n),No(n,A,r);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}}function Bu(n,r,A){n=n.containerInfo;try{it(r,Gn,n,A)}catch(p){Tn(r,r.return,p)}}function Rl(n){var r=n.stateNode,A=n.memoizedProps;try{it(n,Nu,n.type,A,r,n)}catch(p){Tn(n,n.return,p)}}function ca(n,r){for(go(n.containerInfo),pa=r;pa!==null;)if(n=pa,r=n.child,(n.subtreeFlags&1024)!==0&&r!==null)r.return=n,pa=r;else for(;pa!==null;){r=n=pa;var A=r.alternate,p=r.flags;switch(r.tag){case 0:break;case 11:case 15:break;case 1:(p&1024)!==0&&A!==null&&pm(r,A);break;case 3:(p&1024)!==0&&ki&&Km(r.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((p&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(r=n.sibling,r!==null){r.return=n.return,pa=r;break}pa=n.return}}function Qc(n,r,A){var p=A.flags;switch(A.tag){case 0:case 11:case 15:H(n,A),p&4&&UA(A,xa|qs);break;case 1:if(H(n,A),p&4)if(n=A.stateNode,r===null)A.type.defaultProps||"ref"in A.memoizedProps||Op||(n.props!==A.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",et(A)||"instance"),n.state!==A.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",et(A)||"instance")),Hr(A)?(Oe(),it(A,EB,A,n),_e()):it(A,EB,A,n);else{var h=uo(A.type,r.memoizedProps);r=r.memoizedState,A.type.defaultProps||"ref"in A.memoizedProps||Op||(n.props!==A.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",et(A)||"instance"),n.state!==A.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",et(A)||"instance")),Hr(A)?(Oe(),it(A,W2,A,n,h,r,n.__reactInternalSnapshotBeforeUpdate),_e()):it(A,W2,A,n,h,r,n.__reactInternalSnapshotBeforeUpdate)}p&64&&_c(A),p&512&&Cu(A,A.return);break;case 3:if(r=R(),H(n,A),p&64&&(p=A.updateQueue,p!==null)){if(h=null,A.child!==null)switch(A.child.tag){case 27:case 5:h=kA(A.child.stateNode);break;case 1:h=A.child.stateNode}try{it(A,mA,p,h)}catch(Q){Tn(A,A.return,Q)}}n.effectDuration+=G(r);break;case 27:Ut&&r===null&&p&4&&Rl(A);case 26:case 5:H(n,A),r===null&&p&4&&RA(A),p&512&&Cu(A,A.return);break;case 12:if(p&4){p=R(),H(n,A),n=A.stateNode,n.effectDuration+=J(p);try{it(A,Ul,A,r,Fy,n.effectDuration)}catch(Q){Tn(A,A.return,Q)}}else H(n,A);break;case 13:H(n,A),p&4&&_(n,A),p&64&&(n=A.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(A=z0.bind(null,A),af(n,A))));break;case 22:if(p=A.memoizedState!==null||Jc,!p){r=r!==null&&r.memoizedState!==null||_r,h=Jc;var y=_r;Jc=p,(_r=r)&&!y?se(n,A,(A.subtreeFlags&8772)!==0):H(n,A),Jc=h,_r=y}break;case 30:break;default:H(n,A)}}function Kd(n){var r=n.alternate;r!==null&&(n.alternate=null,Kd(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&On(r)),n.stateNode=null,n._debugOwner=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function ja(n,r,A){for(A=A.child;A!==null;)Ii(n,r,A),A=A.sibling}function Ii(n,r,A){if(Rr&&typeof Rr.onCommitFiberUnmount=="function")try{Rr.onCommitFiberUnmount(Zs,A)}catch(y){u||(u=!0,console.error("React instrumentation encountered an error: %s",y))}switch(A.tag){case 26:if(Xi){_r||ua(A,r),ja(n,r,A),A.memoizedState?uf(A.memoizedState):A.stateNode&&KA(A.stateNode);break}case 27:if(Ut){_r||ua(A,r);var p=kr,h=Mo;Ya(A.type)&&(kr=A.stateNode,Mo=!1),ja(n,r,A),it(A,Mc,A.stateNode),kr=p,Mo=h;break}case 5:_r||ua(A,r);case 6:if(ki){if(p=kr,h=Mo,kr=null,ja(n,r,A),kr=p,Mo=h,kr!==null)if(Mo)try{it(A,dp,kr,A.stateNode)}catch(y){Tn(A,r,y)}else try{it(A,Ap,kr,A.stateNode)}catch(y){Tn(A,r,y)}}else ja(n,r,A);break;case 18:ki&&kr!==null&&(Mo?Ll(kr,A.stateNode):Vm(kr,A.stateNode));break;case 4:ki?(p=kr,h=Mo,kr=A.stateNode.containerInfo,Mo=!0,ja(n,r,A),kr=p,Mo=h):(da&&Bu(A.stateNode,A,nf()),ja(n,r,A));break;case 0:case 11:case 14:case 15:_r||cs(Eo,A,r),_r||us(A,r,xa),ja(n,r,A);break;case 1:_r||(ua(A,r),p=A.stateNode,typeof p.componentWillUnmount=="function"&&Gr(A,r,p)),ja(n,r,A);break;case 21:ja(n,r,A);break;case 22:_r=(p=_r)||A.memoizedState!==null,ja(n,r,A),_r=p;break;default:ja(n,r,A)}}function _(n,r){if(ur&&r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{it(r,Nr,n)}catch(A){Tn(r,r.return,A)}}function l(n){switch(n.tag){case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new UU),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new UU),r;default:throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}}function g(n,r){var A=l(n);r.forEach(function(p){var h=M0.bind(null,n,p);if(!A.has(p)){if(A.add(p),f)if(kp!==null&&Fp!==null)Yd(Fp,kp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");p.then(h,h)}})}function B(n,r){var A=r.deletions;if(A!==null)for(var p=0;p<A.length;p++){var h=n,y=r,Q=A[p];if(ki){var F=y;e:for(;F!==null;){switch(F.tag){case 27:if(Ut){if(Ya(F.type)){kr=F.stateNode,Mo=!1;break e}break}case 5:kr=F.stateNode,Mo=!1;break e;case 3:case 4:kr=F.stateNode.containerInfo,Mo=!0;break e}F=F.return}if(kr===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Ii(h,y,Q),kr=null,Mo=!1}else Ii(h,y,Q);h=Q,y=h.alternate,y!==null&&(y.return=null),h.return=null}if(r.subtreeFlags&13878)for(r=r.child;r!==null;)b(r,n),r=r.sibling}function b(n,r){var A=n.alternate,p=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:B(r,n),w(n),p&4&&(cs(Eo|qs,n,n.return),Ao(Eo|qs,n),us(n,n.return,xa|qs));break;case 1:B(r,n),w(n),p&512&&(_r||A===null||ua(A,A.return)),p&64&&Jc&&(n=n.updateQueue,n!==null&&(p=n.callbacks,p!==null&&(A=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=A===null?p:A.concat(p))));break;case 26:if(Xi){var h=Gl;B(r,n),w(n),p&512&&(_r||A===null||ua(A,A.return)),p&4&&(p=A!==null?A.memoizedState:null,r=n.memoizedState,A===null?r===null?n.stateNode===null?n.stateNode=gp(h,n.type,n.memoizedProps,n):cf(h,n.type,n.stateNode):n.stateNode=lf(h,r,n.memoizedProps):p!==r?(p===null?A.stateNode!==null&&KA(A.stateNode):uf(p),r===null?cf(h,n.type,n.stateNode):lf(h,r,n.memoizedProps)):r===null&&n.stateNode!==null&&Iu(n,n.memoizedProps,A.memoizedProps));break}case 27:if(Ut){B(r,n),w(n),p&512&&(_r||A===null||ua(A,A.return)),A!==null&&p&4&&Iu(n,n.memoizedProps,A.memoizedProps);break}case 5:if(B(r,n),w(n),p&512&&(_r||A===null||ua(A,A.return)),ki){if(n.flags&32){r=n.stateNode;try{it(n,Fc,r)}catch(je){Tn(n,n.return,je)}}p&4&&n.stateNode!=null&&(r=n.memoizedProps,Iu(n,r,A!==null?A.memoizedProps:r)),p&1024&&(_B=!0,n.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."))}break;case 6:if(B(r,n),w(n),p&4&&ki){if(n.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");p=n.memoizedProps,A=A!==null?A.memoizedProps:p,r=n.stateNode;try{it(n,by,r,A,p)}catch(je){Tn(n,n.return,je)}}break;case 3:if(h=R(),Xi){gn();var y=Gl;Gl=Xm(r.containerInfo),B(r,n),Gl=y}else B(r,n);if(w(n),p&4){if(ki&&ur&&A!==null&&A.memoizedState.isDehydrated)try{it(n,Ny,r.containerInfo)}catch(je){Tn(n,n.return,je)}if(da){p=r.containerInfo,A=r.pendingChildren;try{it(n,Gn,p,A)}catch(je){Tn(n,n.return,je)}}}_B&&(_B=!1,U(n)),r.effectDuration+=G(h);break;case 4:Xi?(A=Gl,Gl=Xm(n.stateNode.containerInfo),B(r,n),w(n),Gl=A):(B(r,n),w(n)),p&4&&da&&Bu(n.stateNode,n,n.stateNode.pendingChildren);break;case 12:p=R(),B(r,n),w(n),n.stateNode.effectDuration+=J(p);break;case 13:B(r,n),w(n),n.child.flags&8192&&n.memoizedState!==null!=(A!==null&&A.memoizedState!==null)&&(xB=ni()),p&4&&(p=n.updateQueue,p!==null&&(n.updateQueue=null,g(n,p)));break;case 22:h=n.memoizedState!==null;var Q=A!==null&&A.memoizedState!==null,F=Jc,ne=_r;if(Jc=F||h,_r=ne||Q,B(r,n),_r=ne,Jc=F,w(n),p&8192&&(r=n.stateNode,r._visibility=h?r._visibility&-2:r._visibility|1,h&&(A===null||Q||Jc||_r||M(n)),ki)){e:if(A=null,ki)for(r=n;;){if(r.tag===5||Xi&&r.tag===26){if(A===null){Q=A=r;try{y=Q.stateNode,h?it(Q,Oo,y):it(Q,Jm,Q.stateNode,Q.memoizedProps)}catch(je){Tn(Q,Q.return,je)}}}else if(r.tag===6){if(A===null){Q=r;try{var Ee=Q.stateNode;h?it(Q,$A,Ee):it(Q,xu,Ee,Q.memoizedProps)}catch(je){Tn(Q,Q.return,je)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;A===r&&(A=null),r=r.return}A===r&&(A=null),r.sibling.return=r.return,r=r.sibling}}p&4&&(p=n.updateQueue,p!==null&&(A=p.retryQueue,A!==null&&(p.retryQueue=null,g(n,A))));break;case 19:B(r,n),w(n),p&4&&(p=n.updateQueue,p!==null&&(n.updateQueue=null,g(n,p)));break;case 30:break;case 21:break;default:B(r,n),w(n)}}function w(n){var r=n.flags;if(r&2){try{it(n,Zn,n)}catch(A){Tn(n,n.return,A)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function U(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;U(r),r.tag===5&&r.flags&1024&&Z0(r.stateNode),n=n.sibling}}function H(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)Qc(n,r.alternate,r),r=r.sibling}function $(n){switch(n.tag){case 0:case 11:case 14:case 15:us(n,n.return,xa),M(n);break;case 1:ua(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&Gr(n,n.return,r),M(n);break;case 27:Ut&&it(n,Mc,n.stateNode);case 26:case 5:ua(n,n.return),M(n);break;case 22:n.memoizedState===null&&M(n);break;case 30:M(n);break;default:M(n)}}function M(n){for(n=n.child;n!==null;)$(n),n=n.sibling}function X(n,r,A,p){var h=A.flags;switch(A.tag){case 0:case 11:case 15:se(n,A,p),UA(A,xa);break;case 1:if(se(n,A,p),r=A.stateNode,typeof r.componentDidMount=="function"&&it(A,EB,A,r),r=A.updateQueue,r!==null){n=A.stateNode;try{it(A,Ud,r,n)}catch(y){Tn(A,A.return,y)}}p&&h&64&&_c(A),Cu(A,A.return);break;case 27:Ut&&Rl(A);case 26:case 5:se(n,A,p),p&&r===null&&h&4&&RA(A),Cu(A,A.return);break;case 12:if(p&&h&4){h=R(),se(n,A,p),p=A.stateNode,p.effectDuration+=J(h);try{it(A,Ul,A,r,Fy,p.effectDuration)}catch(y){Tn(A,A.return,y)}}else se(n,A,p);break;case 13:se(n,A,p),p&&h&4&&_(n,A);break;case 22:A.memoizedState===null&&se(n,A,p),Cu(A,A.return);break;case 30:break;default:se(n,A,p)}}function se(n,r,A){for(A=A&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;)X(n,r.alternate,r,A),r=r.sibling}function ce(n,r){var A=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(A=n.memoizedState.cachePool.pool),n=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(n=r.memoizedState.cachePool.pool),n!==A&&(n!=null&&za(n),A!=null&&N(A))}function he(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(za(r),n!=null&&N(n))}function Ie(n,r,A,p){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)ze(n,r,A,p),r=r.sibling}function ze(n,r,A,p){var h=r.flags;switch(r.tag){case 0:case 11:case 15:Ie(n,r,A,p),h&2048&&Jd(r,Yr|qs);break;case 1:Ie(n,r,A,p);break;case 3:var y=R();Ie(n,r,A,p),h&2048&&(A=null,r.alternate!==null&&(A=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==A&&(za(r),A!=null&&N(A))),n.passiveEffectDuration+=G(y);break;case 12:if(h&2048){h=R(),Ie(n,r,A,p),n=r.stateNode,n.passiveEffectDuration+=J(h);try{it(r,Nl,r,r.alternate,Fy,n.passiveEffectDuration)}catch(F){Tn(r,r.return,F)}}else Ie(n,r,A,p);break;case 13:Ie(n,r,A,p);break;case 23:break;case 22:y=r.stateNode;var Q=r.alternate;r.memoizedState!==null?y._visibility&2?Ie(n,r,A,p):Ye(n,r):y._visibility&2?Ie(n,r,A,p):(y._visibility|=2,qe(n,r,A,p,(r.subtreeFlags&10256)!==0)),h&2048&&ce(Q,r);break;case 24:Ie(n,r,A,p),h&2048&&he(r.alternate,r);break;default:Ie(n,r,A,p)}}function qe(n,r,A,p,h){for(h=h&&(r.subtreeFlags&10256)!==0,r=r.child;r!==null;)Se(n,r,A,p,h),r=r.sibling}function Se(n,r,A,p,h){var y=r.flags;switch(r.tag){case 0:case 11:case 15:qe(n,r,A,p,h),Jd(r,Yr);break;case 23:break;case 22:var Q=r.stateNode;r.memoizedState!==null?Q._visibility&2?qe(n,r,A,p,h):Ye(n,r):(Q._visibility|=2,qe(n,r,A,p,h)),h&&y&2048&&ce(r.alternate,r);break;case 24:qe(n,r,A,p,h),h&&y&2048&&he(r.alternate,r);break;default:qe(n,r,A,p,h)}}function Ye(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var A=n,p=r,h=p.flags;switch(p.tag){case 22:Ye(A,p),h&2048&&ce(p.alternate,p);break;case 24:Ye(A,p),h&2048&&he(p.alternate,p);break;default:Ye(A,p)}r=r.sibling}}function Xe(n){if(n.subtreeFlags&zp)for(n=n.child;n!==null;)xt(n),n=n.sibling}function xt(n){switch(n.tag){case 26:Xe(n),n.flags&zp&&(n.memoizedState!==null?yn(Gl,n.memoizedState,n.memoizedProps):Ja(n.type,n.memoizedProps));break;case 5:Xe(n),n.flags&zp&&Ja(n.type,n.memoizedProps);break;case 3:case 4:if(Xi){var r=Gl;Gl=Xm(n.stateNode.containerInfo),Xe(n),Gl=r}else Xe(n);break;case 22:n.memoizedState===null&&(r=n.alternate,r!==null&&r.memoizedState!==null?(r=zp,zp=16777216,Xe(n),zp=r):Xe(n));break;default:Xe(n)}}function qt(n){var r=n.alternate;if(r!==null&&(n=r.child,n!==null)){r.child=null;do r=n.sibling,n.sibling=null,n=r;while(n!==null)}}function wt(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var A=0;A<r.length;A++){var p=r[A];pa=p,sn(p,n)}qt(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)bt(n),n=n.sibling}function bt(n){switch(n.tag){case 0:case 11:case 15:wt(n),n.flags&2048&&Bc(n,n.return,Yr|qs);break;case 3:var r=R();wt(n),n.stateNode.passiveEffectDuration+=G(r);break;case 12:r=R(),wt(n),n.stateNode.passiveEffectDuration+=J(r);break;case 22:r=n.stateNode,n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,Qt(n)):wt(n);break;default:wt(n)}}function Qt(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var A=0;A<r.length;A++){var p=r[A];pa=p,sn(p,n)}qt(n)}for(n=n.child;n!==null;)kt(n),n=n.sibling}function kt(n){switch(n.tag){case 0:case 11:case 15:Bc(n,n.return,Yr),Qt(n);break;case 22:var r=n.stateNode;r._visibility&2&&(r._visibility&=-3,Qt(n));break;default:Qt(n)}}function sn(n,r){for(;pa!==null;){var A=pa,p=A;switch(p.tag){case 0:case 11:case 15:Bc(p,r,Yr);break;case 23:case 22:p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(p=p.memoizedState.cachePool.pool,p!=null&&za(p));break;case 24:N(p.memoizedState.cache)}if(p=A.child,p!==null)p.return=A,pa=p;else e:for(A=n;pa!==null;){p=pa;var h=p.sibling,y=p.return;if(Kd(p),p===A){pa=null;break e}if(h!==null){h.return=y,pa=h;break e}pa=y}}}function Hn(n){var r=Kr(n);if(r!=null){if(typeof r.memoizedProps["data-testname"]!="string")throw Error("Invalid host root specified. Should be either a React container or a node with a testname attribute.");return r}if(n=FA(n),n===null)throw Error("Could not find React container within specified host subtree.");return n.stateNode.current}function Ls(n,r){var A=n.tag;switch(r.$$typeof){case qy:if(n.type===r.value)return!0;break;case Xy:e:{for(r=r.value,n=[n,0],A=0;A<n.length;){var p=n[A++],h=p.tag,y=n[A++],Q=r[y];if(h!==5&&h!==26&&h!==27||!Oc(p)){for(;Q!=null&&Ls(p,Q);)y++,Q=r[y];if(y===r.length){r=!0;break e}else for(p=p.child;p!==null;)n.push(p,y),p=p.sibling}}r=!1}return r;case Wy:if((A===5||A===26||A===27)&&zA(n.stateNode,r.value))return!0;break;case tv:if((A===5||A===6||A===26||A===27)&&(n=cp(n),n!==null&&0<=n.indexOf(r.value)))return!0;break;case ev:if((A===5||A===26||A===27)&&(n=n.memoizedProps["data-testname"],typeof n=="string"&&n.toLowerCase()===r.value.toLowerCase()))return!0;break;default:throw Error("Invalid selector type specified.")}return!1}function _u(n){switch(n.$$typeof){case qy:return"<"+(Re(n.value)||"Unknown")+">";case Xy:return":has("+(_u(n)||"")+")";case Wy:return'[role="'+n.value+'"]';case tv:return'"'+n.value+'"';case ev:return'[data-testname="'+n.value+'"]';default:throw Error("Invalid selector type specified.")}}function Du(n,r){var A=[];n=[n,0];for(var p=0;p<n.length;){var h=n[p++],y=h.tag,Q=n[p++],F=r[Q];if(y!==5&&y!==26&&y!==27||!Oc(h)){for(;F!=null&&Ls(h,F);)Q++,F=r[Q];if(Q===r.length)A.push(h);else for(h=h.child;h!==null;)n.push(h,Q),h=h.sibling}}return A}function $s(n,r){if(!Fl)throw Error("Test selector API is not supported by this renderer.");n=Hn(n),n=Du(n,r),r=[],n=Array.from(n);for(var A=0;A<n.length;){var p=n[A++],h=p.tag;if(h===5||h===26||h===27)Oc(p)||r.push(p.stateNode);else for(p=p.child;p!==null;)n.push(p),p=p.sibling}return r}function Sc(){Fl&&nv.forEach(function(n){return n()})}function As(){var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return n||Ae.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),n}function ri(n){if((vn&qa)!==yo&&pn!==0)return pn&-pn;var r=Ae.T;return r!==null?(r._updatedFibers||(r._updatedFibers=new Set),r._updatedFibers.add(n),n=gf,n!==0?n:Wl()):Qa()}function jr(){gs===0&&(gs=(pn&536870912)===0||xn?xe():536870912);var n=el.current;return n!==null&&(n.flags|=32),gs}function En(n,r,A){if(Gp&&console.error("useInsertionEffect must not schedule updates."),kB&&(av=!0),(n===mi&&(Yn===vf||Yn===Cf)||n.cancelPendingCommit!==null)&&(Hs(n,0),po(n,pn,gs,!1)),De(n,A),(vn&qa)!==0&&n===mi){if(Tu)switch(r.tag){case 0:case 11:case 15:n=dn&&et(dn)||"Unknown",LU.has(n)||(LU.add(n),r=et(r)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",r,n,n));break;case 1:MU||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),MU=!0)}}else f&&Ht(n,r,A),$0(r),n===mi&&((vn&qa)===yo&&(nd|=A),dr===yf&&po(n,pn,gs,!1)),Je(n)}function fo(n,r,A){if((vn&(qa|tl))!==yo)throw Error("Should not already be working.");var p=!A&&(r&124)===0&&(r&n.expiredLanes)===0||Ze(n,r),h=p?O0(n,r):hm(n,r,!0),y=p;do{if(h===Kc){$p&&!p&&po(n,r,0,!1);break}else{if(A=n.current.alternate,y&&!Tl(A)){h=hm(n,r,!1),y=!1;continue}if(h===Mp){if(y=r,n.errorRecoveryDisabledLanes&y)var Q=0;else Q=n.pendingLanes&-536870913,Q=Q!==0?Q:Q&536870912?536870912:0;if(Q!==0){r=Q;e:{h=n;var F=Q;Q=hh;var ne=ur&&h.current.memoizedState.isDehydrated;if(ne&&(Hs(h,F).flags|=256),F=hm(h,F,!1),F!==Mp){if(bB&&!ne){h.errorRecoveryDisabledLanes|=y,nd|=y,h=yf;break e}h=vo,vo=Q,h!==null&&(vo===null?vo=h:vo.push.apply(vo,h))}h=F}if(y=!1,h!==Mp)continue}}if(h===fh){Hs(n,0),po(n,r,0,!0);break}e:{switch(p=n,h){case Kc:case fh:throw Error("Root did not complete. This is a bug in React.");case yf:if((r&4194048)!==r)break;case iv:po(p,r,gs,!ed);break e;case Mp:vo=null;break;case DB:case NU:break;default:throw Error("Unknown root exit status.")}if(Ae.actQueue!==null)Em(p,A,r,vo,yh,rv,gs,nd,If);else{if((r&62914560)===r&&(y=xB+TU-ni(),10<y)){if(po(p,r,gs,!ed),ht(p,0,!0)!==0)break e;p.timeoutHandle=sp(tp.bind(null,p,A,vo,yh,rv,r,gs,nd,If,ed,h,ZL,-0,0),y);break e}tp(p,A,vo,yh,rv,r,gs,nd,If,ed,h,JL,-0,0)}}}break}while(!0);Je(n)}function tp(n,r,A,p,h,y,Q,F,ne,Ee,je,Ke,ot,Cn){if(n.timeoutHandle=Ur,Ke=r.subtreeFlags,(Ke&8192||(Ke&16785408)===16785408)&&(Hm(),xt(r),Ke=up(),Ke!==null)){n.cancelPendingCommit=Ke(Em.bind(null,n,r,y,A,p,h,Q,F,ne,je,KL,ot,Cn)),po(n,y,Q,!Ee);return}Em(n,r,y,A,p,h,Q,F,ne)}function Tl(n){for(var r=n;;){var A=r.tag;if((A===0||A===11||A===15)&&r.flags&16384&&(A=r.updateQueue,A!==null&&(A=A.stores,A!==null)))for(var p=0;p<A.length;p++){var h=A[p],y=h.getSnapshot;h=h.value;try{if(!ho(y(),h))return!1}catch{return!1}}if(A=r.child,r.subtreeFlags&16384&&A!==null)A.return=r,r=A;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function po(n,r,A,p){r&=~wB,r&=~nd,n.suspendedLanes|=r,n.pingedLanes&=~r,p&&(n.warmLanes|=r),p=n.expirationTimes;for(var h=r;0<h;){var y=31-oi(h),Q=1<<y;p[y]=-1,h&=~Q}A!==0&&ct(n,A,r)}function np(){return(vn&(qa|tl))===yo?(Et(0,!1),!1):!0}function gm(){if(dn!==null){if(Yn===Lo)var n=dn.return;else n=dn,pl(),EA(n),Up=null,ch=0,n=dn;for(;n!==null;)Ic(n.alternate,n),n=n.return;dn=null}}function Hs(n,r){var A=n.timeoutHandle;A!==Ur&&(n.timeoutHandle=Ur,lp(A)),A=n.cancelPendingCommit,A!==null&&(n.cancelPendingCommit=null,A()),gm(),mi=n,dn=A=Ol(n.current,null),pn=r,Yn=Lo,ps=null,ed=!1,$p=Ze(n,r),bB=!1,dr=Kc,If=gs=wB=nd=td=0,vo=hh=null,rv=!1,(r&8)!==0&&(r|=r&32);var p=n.entangledLanes;if(p!==0)for(n=n.entanglements,p&=r;0<p;){var h=31-oi(p),y=1<<h;r|=n[h],p&=~y}return zu=r,ru(),r=k2(),1e3<r-O2&&(Ae.recentlyCreatedOwnerStacks=0,O2=r),$l.discardPendingWarnings(),A}function ay(n,r){Ft=null,Ae.H=Yy,Ae.getCurrentStack=null,Tu=!1,Hc=null,r===sh||r===Gy?(r=xd(),Yn=gh):r===uB?(r=xd(),Yn=RU):Yn=r===BU?SB:r!==null&&typeof r=="object"&&typeof r.then=="function"?Lp:ph,ps=r;var A=dn;if(A===null)dr=fh,sr(n,Zi(r,n.current));else switch(A.mode&2&&me(A),Vt(),Yn){case ph:o!==null&&typeof o.markComponentErrored=="function"&&o.markComponentErrored(A,r,pn);break;case vf:case Cf:case gh:case Lp:case mh:o!==null&&typeof o.markComponentSuspended=="function"&&o.markComponentSuspended(A,r,pn)}}function oy(){var n=el.current;return n===null?!0:(pn&4194048)===pn?Fu===null:(pn&62914560)===pn||(pn&536870912)!==0?n===Fu:!1}function sy(){var n=Ae.H;return Ae.H=Yy,n===null?Yy:n}function ly(){var n=Ae.A;return Ae.A=jL,n}function mm(){dr=yf,ed||(pn&4194048)!==pn&&el.current!==null||($p=!0),(td&134217727)===0&&(nd&134217727)===0||mi===null||po(mi,pn,gs,!1)}function hm(n,r,A){var p=vn;vn|=qa;var h=sy(),y=ly();if(mi!==n||pn!==r){if(f){var Q=n.memoizedUpdaters;0<Q.size&&(Yd(n,pn),Q.clear()),Fn(n,r)}yh=null,Hs(n,r)}Sr(r),r=!1,Q=dr;e:do try{if(Yn!==Lo&&dn!==null){var F=dn,ne=ps;switch(Yn){case SB:gm(),Q=iv;break e;case gh:case vf:case Cf:case Lp:el.current===null&&(r=!0);var Ee=Yn;if(Yn=Lo,ps=null,bc(n,F,ne,Ee),A&&$p){Q=Kc;break e}break;default:Ee=Yn,Yn=Lo,ps=null,bc(n,F,ne,Ee)}}uy(),Q=dr;break}catch(je){ay(n,je)}while(!0);return r&&n.shellSuspendCounter++,pl(),vn=p,Ae.H=h,Ae.A=y,Ji(),dn===null&&(mi=null,pn=0,ru()),Q}function uy(){for(;dn!==null;)cy(dn)}function O0(n,r){var A=vn;vn|=qa;var p=sy(),h=ly();if(mi!==n||pn!==r){if(f){var y=n.memoizedUpdaters;0<y.size&&(Yd(n,pn),y.clear()),Fn(n,r)}yh=null,Eh=ni()+UB,Hs(n,r)}else $p=Ze(n,r);Sr(r);e:do try{if(Yn!==Lo&&dn!==null)t:switch(r=dn,y=ps,Yn){case ph:Yn=Lo,ps=null,bc(n,r,y,ph);break;case vf:case Cf:if(nu(y)){Yn=Lo,ps=null,Ay(r);break}r=function(){Yn!==vf&&Yn!==Cf||mi!==n||(Yn=mh),Je(n)},y.then(r,r);break e;case gh:Yn=mh;break e;case RU:Yn=QB;break e;case mh:nu(y)?(Yn=Lo,ps=null,Ay(r)):(Yn=Lo,ps=null,bc(n,r,y,mh));break;case QB:var Q=null;switch(dn.tag){case 26:Q=dn.memoizedState;case 5:case 27:var F=dn,ne=F.type,Ee=F.pendingProps;if(Q?ln(Q):fs(ne,Ee)){Yn=Lo,ps=null;var je=F.sibling;if(je!==null)dn=je;else{var Ke=F.return;Ke!==null?(dn=Ke,ip(Ke)):dn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Yn=Lo,ps=null,bc(n,r,y,QB);break;case Lp:Yn=Lo,ps=null,bc(n,r,y,Lp);break;case SB:gm(),dr=iv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Ae.actQueue!==null?uy():k0();break}catch(ot){ay(n,ot)}while(!0);return pl(),Ae.H=p,Ae.A=h,vn=A,dn!==null?(o!==null&&typeof o.markRenderYielded=="function"&&o.markRenderYielded(),Kc):(Ji(),mi=null,pn=0,ru(),dr)}function k0(){for(;dn!==null&&!hp();)cy(dn)}function cy(n){var r=n.alternate;(n.mode&2)!==_i?(ie(n),r=it(n,Ec,r,n,zu),me(n)):r=it(n,Ec,r,n,zu),n.memoizedProps=n.pendingProps,r===null?ip(n):dn=r}function Ay(n){var r=it(n,F0,n);n.memoizedProps=n.pendingProps,r===null?ip(n):dn=r}function F0(n){var r=n.alternate,A=(n.mode&2)!==_i;switch(A&&ie(n),n.tag){case 15:case 0:r=co(r,n,n.pendingProps,n.type,void 0,pn);break;case 11:r=co(r,n,n.pendingProps,n.type.render,n.ref,pn);break;case 5:EA(n);default:Ic(r,n),n=dn=Iy(n,zu),r=Ec(r,n,zu)}return A&&me(n),r}function bc(n,r,A,p){pl(),EA(r),Up=null,ch=0;var h=r.return;try{if(kd(n,h,r,A,pn)){dr=fh,sr(n,Zi(A,n.current)),dn=null;return}}catch(y){if(h!==null)throw dn=h,y;dr=fh,sr(n,Zi(A,n.current)),dn=null;return}r.flags&32768?(xn||p===ph?n=!0:$p||(pn&536870912)!==0?n=!1:(ed=n=!0,(p===vf||p===Cf||p===gh||p===Lp)&&(p=el.current,p!==null&&p.tag===13&&(p.flags|=16384))),dy(r,n)):ip(r)}function ip(n){var r=n;do{if((r.flags&32768)!==0){dy(r,ed);return}var A=r.alternate;if(n=r.return,ie(r),A=it(r,Cc,A,r,zu),(r.mode&2)!==_i&&we(r),A!==null){dn=A;return}if(r=r.sibling,r!==null){dn=r;return}dn=r=n}while(r!==null);dr===Kc&&(dr=NU)}function dy(n,r){do{var A=zs(n.alternate,n);if(A!==null){A.flags&=32767,dn=A;return}if((n.mode&2)!==_i){we(n),A=n.actualDuration;for(var p=n.child;p!==null;)A+=p.actualDuration,p=p.sibling;n.actualDuration=A}if(A=n.return,A!==null&&(A.flags|=32768,A.subtreeFlags=0,A.deletions=null),!r&&(n=n.sibling,n!==null)){dn=n;return}dn=n=A}while(n!==null);dr=iv,dn=null}function Em(n,r,A,p,h,y,Q,F,ne){n.cancelPendingCommit=null;do TA();while(Ua!==Bf);if($l.flushLegacyContextWarning(),$l.flushPendingUnsafeLifecycleWarnings(),(vn&(qa|tl))!==yo)throw Error("Should not already be working.");if(o!==null&&typeof o.markCommitStarted=="function"&&o.markCommitStarted(A),r===null)Ai();else{if(A===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),r===n.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(y=r.lanes|r.childLanes,y|=cB,dt(n,A,y,Q,F,ne),n===mi&&(dn=mi=null,pn=0),Hp=r,rd=n,ad=A,RB=y,TB=h,zU=p,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,L0(Ks,function(){return vm(!0),null})):(n.callbackNode=null,n.callbackPriority=0),Fy=Ip(),p=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||p){p=Ae.T,Ae.T=null,h=Ro(),pi(2),Q=vn,vn|=tl;try{ca(n,r,A)}finally{vn=Q,pi(h),Ae.T=p}}Ua=OU,fy(),py(),gy()}}function fy(){if(Ua===OU){Ua=Bf;var n=rd,r=Hp,A=ad,p=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||p){p=Ae.T,Ae.T=null;var h=Ro();pi(2);var y=vn;vn|=tl;try{kp=A,Fp=n,b(r,n),Fp=kp=null,Lm(n.containerInfo)}finally{vn=y,pi(h),Ae.T=p}}n.current=r,Ua=kU}}function py(){if(Ua===kU){Ua=Bf;var n=rd,r=Hp,A=ad,p=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||p){p=Ae.T,Ae.T=null;var h=Ro();pi(2);var y=vn;vn|=tl;try{o!==null&&typeof o.markLayoutEffectsStarted=="function"&&o.markLayoutEffectsStarted(A),kp=A,Fp=n,Qc(n,r.alternate,r),Fp=kp=null,o!==null&&typeof o.markLayoutEffectsStopped=="function"&&o.markLayoutEffectsStopped()}finally{vn=y,pi(h),Ae.T=p}}Ua=FU}}function gy(){if(Ua===YL||Ua===FU){Ua=Bf,Ru();var n=rd,r=Hp,A=ad,p=zU,h=(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0;h?Ua=NB:(Ua=Bf,Hp=rd=null,ym(n,n.pendingLanes),_f=0,Ch=null);var y=n.pendingLanes;if(y===0&&(id=null),h||Ey(n),h=yt(A),r=r.stateNode,Rr&&typeof Rr.onCommitFiberRoot=="function")try{var Q=(r.current.flags&128)===128;switch(h){case 2:var F=Js;break;case 8:F=Lc;break;case 32:F=Ks;break;case 268435456:F=Ep;break;default:F=Ks}Rr.onCommitFiberRoot(Zs,r,F,Q)}catch(Ke){u||(u=!0,console.error("React instrumentation encountered an error: %s",Ke))}if(f&&n.memoizedUpdaters.clear(),Sc(),p!==null){Q=Ae.T,F=Ro(),pi(2),Ae.T=null;try{var ne=n.onRecoverableError;for(r=0;r<p.length;r++){var Ee=p[r],je=my(Ee.stack);it(Ee.source,ne,Ee.value,je)}}finally{Ae.T=Q,pi(F)}}(ad&3)!==0&&TA(),Je(n),y=n.pendingLanes,(A&4194090)!==0&&(y&42)!==0?(My=!0,n===OB?vh++:(vh=0,OB=n)):vh=0,Et(0,!1),Ai()}}function my(n){return n={componentStack:n},Object.defineProperty(n,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),n}function ym(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,N(r)))}function TA(n){return fy(),py(),gy(),vm(n)}function vm(){if(Ua!==NB)return!1;var n=rd,r=RB;RB=0;var A=yt(ad),p=32>A?32:A;A=Ae.T;var h=Ro();try{pi(p),Ae.T=null,p=TB,TB=null;var y=rd,Q=ad;if(Ua=Bf,Hp=rd=null,ad=0,(vn&(qa|tl))!==yo)throw Error("Cannot flush passive effects while already rendering.");kB=!0,av=!1,o!==null&&typeof o.markPassiveEffectsStarted=="function"&&o.markPassiveEffectsStarted(Q);var F=vn;if(vn|=tl,bt(y.current),ze(y,y.current,Q,p),o!==null&&typeof o.markPassiveEffectsStopped=="function"&&o.markPassiveEffectsStopped(),Ey(y),vn=F,Et(0,!1),av?y===Ch?_f++:(_f=0,Ch=y):_f=0,av=kB=!1,Rr&&typeof Rr.onPostCommitFiberRoot=="function")try{Rr.onPostCommitFiberRoot(Zs,y)}catch(Ee){u||(u=!0,console.error("React instrumentation encountered an error: %s",Ee))}var ne=y.current.stateNode;return ne.effectDuration=0,ne.passiveEffectDuration=0,!0}finally{pi(h),Ae.T=A,ym(n,r)}}function Cm(n,r,A){r=Zi(A,r),r=xr(n.stateNode,r,2),n=qo(n,r,2),n!==null&&(De(n,2),Je(n))}function Tn(n,r,A){if(Gp=!1,n.tag===3)Cm(n,n,A);else{for(;r!==null;){if(r.tag===3){Cm(r,n,A);return}if(r.tag===1){var p=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(id===null||!id.has(p))){n=Zi(A,n),A=bl(2),p=qo(r,A,2),p!==null&&(mu(A,p,r,n),De(p,2),Je(p));return}}r=r.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
147
|
+
|
|
148
|
+
Error message:
|
|
149
|
+
|
|
150
|
+
%s`,A)}}function Zd(n,r,A){var p=n.pingCache;if(p===null){p=n.pingCache=new PL;var h=new Set;p.set(r,h)}else h=p.get(r),h===void 0&&(h=new Set,p.set(r,h));h.has(A)||(bB=!0,h.add(A),p=Im.bind(null,n,r,A),f&&Yd(n,A),r.then(p,p))}function Im(n,r,A){var p=n.pingCache;p!==null&&p.delete(r),n.pingedLanes|=n.suspendedLanes&A,n.warmLanes&=~A,As()&&Ae.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
151
|
+
|
|
152
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
153
|
+
|
|
154
|
+
act(() => {
|
|
155
|
+
/* finish loading suspended data */
|
|
156
|
+
});
|
|
157
|
+
/* assert on the output */
|
|
158
|
+
|
|
159
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),mi===n&&(pn&A)===A&&(dr===yf||dr===DB&&(pn&62914560)===pn&&ni()-xB<TU?(vn&qa)===yo&&Hs(n,0):wB|=A,If===pn&&(If=0)),Je(n)}function hy(n,r){r===0&&(r=ut()),n=rr(n,r),n!==null&&(De(n,r),Je(n))}function z0(n){var r=n.memoizedState,A=0;r!==null&&(A=r.retryLane),hy(n,A)}function M0(n,r){var A=0;switch(n.tag){case 13:var p=n.stateNode,h=n.memoizedState;h!==null&&(A=h.retryLane);break;case 19:p=n.stateNode;break;case 22:p=n.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}p!==null&&p.delete(r),hy(n,A)}function Bm(n,r,A){if((r.subtreeFlags&67117056)!==0)for(r=r.child;r!==null;){var p=n,h=r,y=h.type===Vd;y=A||y,h.tag!==22?h.flags&67108864?y&&it(h,_m,p,h,(h.mode&64)===_i):Bm(p,h,y):h.memoizedState===null&&(y&&h.flags&8192?it(h,_m,p,h):h.subtreeFlags&67108864&&it(h,Bm,p,h,y)),r=r.sibling}}function _m(n,r){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Nt(!0);try{$(r),A&&kt(r),X(n,r.alternate,r,!1),A&&Se(n,r,0,null,!1,0)}finally{Nt(!1)}}function Ey(n){var r=!0;n.current.mode&24||(r=!1),Bm(n,n.current,r)}function yy(n){if((vn&qa)===yo){var r=n.tag;if(r===3||r===1||r===0||r===11||r===14||r===15){if(r=et(n)||"ReactComponent",ov!==null){if(ov.has(r))return;ov.add(r)}else ov=new Set([r]);it(n,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function Yd(n,r){f&&n.memoizedUpdaters.forEach(function(A){Ht(n,A,r)})}function L0(n,r){var A=Ae.actQueue;return A!==null?(A.push(r),XL):VA(n,r)}function $0(n){As()&&Ae.actQueue===null&&it(n,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
160
|
+
|
|
161
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
162
|
+
|
|
163
|
+
act(() => {
|
|
164
|
+
/* fire events that update state */
|
|
165
|
+
});
|
|
166
|
+
/* assert on the output */
|
|
167
|
+
|
|
168
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,et(n))})}function wc(n){if(nl===null)return n;var r=nl(n);return r===void 0?n:r.current}function Dm(n){if(nl===null)return n;var r=nl(n);return r===void 0?n!=null&&typeof n.render=="function"&&(r=wc(n.render),n.render!==r)?(r={$$typeof:Jr,render:r},n.displayName!==void 0&&(r.displayName=n.displayName),r):n:r.current}function vy(n,r){if(nl===null)return!1;var A=n.elementType;r=r.type;var p=!1,h=typeof r=="object"&&r!==null?r.$$typeof:null;switch(n.tag){case 1:typeof r=="function"&&(p=!0);break;case 0:(typeof r=="function"||h===Aa)&&(p=!0);break;case 11:(h===Jr||h===Aa)&&(p=!0);break;case 14:case 15:(h===Nc||h===Aa)&&(p=!0);break;default:return!1}return!!(p&&(n=nl(A),n!==void 0&&n===nl(r)))}function Cy(n){nl!==null&&typeof WeakSet=="function"&&(jp===null&&(jp=new WeakSet),jp.add(n))}function Qm(n,r,A){var p=n.alternate,h=n.child,y=n.sibling,Q=n.tag,F=n.type,ne=null;switch(Q){case 0:case 15:case 1:ne=F;break;case 11:ne=F.render}if(nl===null)throw Error("Expected resolveFamily to be set during hot reload.");var Ee=!1;F=!1,ne!==null&&(ne=nl(ne),ne!==void 0&&(A.has(ne)?F=!0:r.has(ne)&&(Q===1?F=!0:Ee=!0))),jp!==null&&(jp.has(n)||p!==null&&jp.has(p))&&(F=!0),F&&(n._debugNeedsRemount=!0),(F||Ee)&&(p=rr(n,2),p!==null&&En(p,n,2)),h===null||F||Qm(h,r,A),y!==null&&Qm(y,r,A)}function H0(n,r,A,p){this.tag=n,this.key=A,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,$U||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Sm(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Ol(n,r){var A=n.alternate;switch(A===null?(A=C(n.tag,r,n.key,n.mode),A.elementType=n.elementType,A.type=n.type,A.stateNode=n.stateNode,A._debugOwner=n._debugOwner,A._debugStack=n._debugStack,A._debugTask=n._debugTask,A._debugHookTypes=n._debugHookTypes,A.alternate=n,n.alternate=A):(A.pendingProps=r,A.type=n.type,A.flags=0,A.subtreeFlags=0,A.deletions=null,A.actualDuration=-0,A.actualStartTime=-1.1),A.flags=n.flags&65011712,A.childLanes=n.childLanes,A.lanes=n.lanes,A.child=n.child,A.memoizedProps=n.memoizedProps,A.memoizedState=n.memoizedState,A.updateQueue=n.updateQueue,r=n.dependencies,A.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext,_debugThenableState:r._debugThenableState},A.sibling=n.sibling,A.index=n.index,A.ref=n.ref,A.refCleanup=n.refCleanup,A.selfBaseDuration=n.selfBaseDuration,A.treeBaseDuration=n.treeBaseDuration,A._debugInfo=n._debugInfo,A._debugNeedsRemount=n._debugNeedsRemount,A.tag){case 0:case 15:A.type=wc(n.type);break;case 1:A.type=wc(n.type);break;case 11:A.type=Dm(n.type)}return A}function Iy(n,r){n.flags&=65011714;var A=n.alternate;return A===null?(n.childLanes=0,n.lanes=r,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null,n.selfBaseDuration=0,n.treeBaseDuration=0):(n.childLanes=A.childLanes,n.lanes=A.lanes,n.child=A.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=A.memoizedProps,n.memoizedState=A.memoizedState,n.updateQueue=A.updateQueue,n.type=A.type,r=A.dependencies,n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext,_debugThenableState:r._debugThenableState},n.selfBaseDuration=A.selfBaseDuration,n.treeBaseDuration=A.treeBaseDuration),n}function bm(n,r,A,p,h,y){var Q=0,F=n;if(typeof n=="function")Sm(n)&&(Q=1),F=wc(F);else if(typeof n=="string")Xi&&Ut?(Q=V(),Q=zc(n,A,Q)?26:mp(n)?27:5):Xi?(Q=V(),Q=zc(n,A,Q)?26:5):Q=Ut&&mp(n)?27:5;else e:switch(n){case OA:return r=C(31,A,r,h),r.elementType=OA,r.lanes=y,r;case Uc:return Qu(A.children,h,y,r);case Vd:Q=8,h|=24;break;case bu:return n=A,p=h,typeof n.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof n.id),r=C(12,n,r,p|2),r.elementType=bu,r.lanes=y,r.stateNode={effectDuration:0,passiveEffectDuration:0},r;case km:return r=C(13,A,r,h),r.elementType=km,r.lanes=y,r;case Fm:return r=C(19,A,r,h),r.elementType=Fm,r.lanes=y,r;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Om:case Pa:Q=10;break e;case wu:Q=9;break e;case Jr:Q=11,F=Dm(F);break e;case Nc:Q=14;break e;case Aa:Q=16,F=null;break e}F="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),n===null?A="null":fi(n)?A="array":n!==void 0&&n.$$typeof===Su?(A="<"+(Re(n.type)||"Unknown")+" />",F=" Did you accidentally export a JSX literal instead of a component?"):A=typeof n,Q=p?typeof p.tag=="number"?et(p):typeof p.name=="string"?p.name:null:null,Q&&(F+=`
|
|
169
|
+
|
|
170
|
+
Check the render method of \``+Q+"`."),Q=29,A=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(A+"."+F)),F=null}return r=C(Q,A,r,h),r.elementType=n,r.type=F,r.lanes=y,r._debugOwner=p,r}function rp(n,r,A){return r=bm(n.type,n.key,n.props,n._owner,r,A),r._debugOwner=n._owner,r._debugStack=n._debugStack,r._debugTask=n._debugTask,r}function Qu(n,r,A,p){return n=C(7,n,p,r),n.lanes=A,n}function wm(n,r,A){return n=C(6,n,null,r),n.lanes=A,n}function xm(n,r,A){return r=C(4,n.children!==null?n.children:[],n.key,r),r.lanes=A,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function ds(n,r,A,p,h,y,Q,F){for(this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Ur,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=oe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oe(0),this.hiddenUpdates=oe(null),this.identifierPrefix=p,this.onUncaughtError=h,this.onCaughtError=y,this.onRecoverableError=Q,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,n=this.pendingUpdatersLaneMap=[],r=0;31>r;r++)n.push(new Set);this._debugRootType=A?"hydrateRoot()":"createRoot()"}function Um(n,r,A,p,h,y,Q,F,ne,Ee,je,Ke){return n=new ds(n,r,A,Q,F,ne,Ee,Ke),r=1,y===!0&&(r|=24),f&&(r|=2),y=C(3,null,null,r),n.current=y,y.stateNode=n,r=Fa(),za(r),n.pooledCache=r,za(r),y.memoizedState={element:p,isDehydrated:A,cache:r},rc(y),n}function ap(n){return""+n}function Nm(n){return n?(n=Ps,n):Ps}function Rm(n,r,A,p){return Tm(r.current,2,n,r,A,p),2}function Tm(n,r,A,p,h,y){if(Rr&&typeof Rr.onScheduleFiberRoot=="function")try{Rr.onScheduleFiberRoot(Zs,p,A)}catch(Q){u||(u=!0,console.error("React instrumentation encountered an error: %s",Q))}o!==null&&typeof o.markRenderScheduled=="function"&&o.markRenderScheduled(r),h=Nm(h),p.context===null?p.context=h:p.pendingContext=h,Tu&&Hc!==null&&!GU&&(GU=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
171
|
+
|
|
172
|
+
Check the render method of %s.`,et(Hc)||"Unknown")),p=Vo(r),p.payload={element:A},y=y===void 0?null:y,y!==null&&(typeof y!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",y),p.callback=y),A=qo(n,p,r),A!==null&&(En(A,n,r),au(A,n,r))}function By(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var A=n.retryLane;n.retryLane=A!==0&&A<r?A:r}}function op(n,r){By(n,r),(n=n.alternate)&&By(n,r)}function _y(){return Hc}function G0(){for(var n=new Map,r=1,A=0;31>A;A++){var p=Qi(r);n.set(r,p),r*=2}return n}var An={},j0=Mn(),Da=z_(),Pr=Object.assign,vr=Symbol.for("react.element"),Su=Symbol.for("react.transitional.element"),xc=Symbol.for("react.portal"),Uc=Symbol.for("react.fragment"),Vd=Symbol.for("react.strict_mode"),bu=Symbol.for("react.profiler"),Om=Symbol.for("react.provider"),wu=Symbol.for("react.consumer"),Pa=Symbol.for("react.context"),Jr=Symbol.for("react.forward_ref"),km=Symbol.for("react.suspense"),Fm=Symbol.for("react.suspense_list"),Nc=Symbol.for("react.memo"),Aa=Symbol.for("react.lazy"),OA=Symbol.for("react.activity"),zm=Symbol.for("react.memo_cache_sentinel"),Dy=Symbol.iterator,P0=Symbol.for("react.client.reference"),fi=Array.isArray,Ae=j0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J0=e.rendererVersion,Mm=e.rendererPackageName,Qy=e.extraDevToolsConfig,kA=e.getPublicInstance,K0=e.getRootHostContext,qd=e.getChildHostContext,go=e.prepareForCommit,Lm=e.resetAfterCommit,Sy=e.createInstance;e.cloneMutableInstance;var Xd=e.appendInitialChild,$m=e.finalizeInitialChildren,kl=e.shouldSetTextContent,Rc=e.createTextInstance;e.cloneMutableTextInstance;var sp=e.scheduleTimeout,lp=e.cancelTimeout,Ur=e.noTimeout,lr=e.isPrimaryRenderer;e.warnsIfNotActing;var ki=e.supportsMutation,da=e.supportsPersistence,ur=e.supportsHydration,Kr=e.getInstanceFromNode;e.beforeActiveInstanceBlur;var Wd=e.preparePortalMount;e.prepareScopeUpdate,e.getInstanceFromScope;var pi=e.setCurrentUpdatePriority,Ro=e.getCurrentUpdatePriority,Qa=e.resolveUpdatePriority;e.trackSchedulerEvent,e.resolveEventType,e.resolveEventTimeStamp;var Cr=e.shouldAttemptEagerTransition,On=e.detachDeletedInstance;e.requestPostPaintCallback;var Tc=e.maySuspendCommit,fs=e.preloadInstance,Hm=e.startSuspendingCommit,Ja=e.suspendInstance;e.suspendOnActiveViewTransition;var up=e.waitForCommitToBeReady,To=e.NotPendingTransition,Sa=e.HostTransitionContext,Z0=e.resetFormInstance,Y0=e.bindToConsole,V0=e.supportsMicrotasks,Fi=e.scheduleMicrotask,Fl=e.supportsTestSelectors,FA=e.findFiberRoot,Gm=e.getBoundingRect,cp=e.getTextContent,Oc=e.isHiddenSubtree,zA=e.matchAccessibilityRole,ef=e.setFocusIfFocusable,jm=e.setupIntersectionObserver,MA=e.appendChild,LA=e.appendChildToContainer,by=e.commitTextUpdate,kc=e.commitMount,q0=e.commitUpdate,tf=e.insertBefore,Pm=e.insertInContainerBefore,Ap=e.removeChild,dp=e.removeChildFromContainer,Fc=e.resetTextContent,Oo=e.hideInstance,$A=e.hideTextInstance,Jm=e.unhideInstance,xu=e.unhideTextInstance;e.cancelViewTransitionName,e.cancelRootViewTransitionName,e.restoreRootViewTransitionName,e.cloneRootViewTransitionContainer,e.removeRootViewTransitionClone,e.measureClonedInstance,e.hasInstanceChanged,e.hasInstanceAffectedParent,e.startViewTransition,e.startGestureTransition,e.stopGestureTransition,e.getCurrentGestureOffset,e.subscribeToGestureDirection,e.createViewTransitionInstance;var Km=e.clearContainer;e.createFragmentInstance,e.updateFragmentInstanceFiber,e.commitNewChildToFragmentInstance,e.deleteChildFromFragmentInstance;var HA=e.cloneInstance,nf=e.createContainerChildSet,zl=e.appendChildToContainerChildSet,rn=e.finalizeContainerChildren,Gn=e.replaceContainerChildren,qi=e.cloneHiddenInstance,rf=e.cloneHiddenTextInstance,Uu=e.isSuspenseInstancePending,Ml=e.isSuspenseInstanceFallback,fp=e.getSuspenseInstanceFallbackErrorDetails,af=e.registerSuspenseInstanceRetry,GA=e.canHydrateFormStateMarker,X0=e.isFormStateMarkerMatching,jA=e.getNextHydratableSibling,wy=e.getNextHydratableSiblingAfterSingleton,xy=e.getFirstHydratableChild,W0=e.getFirstHydratableChildWithinContainer,PA=e.getFirstHydratableChildWithinSuspenseInstance,of=e.getFirstHydratableChildWithinSingleton,JA=e.canHydrateInstance,Uy=e.canHydrateTextInstance,ko=e.canHydrateSuspenseInstance,Gs=e.hydrateInstance,Ir=e.hydrateTextInstance,Zm=e.hydrateSuspenseInstance,Ym=e.getNextHydratableInstanceAfterSuspenseInstance,Ny=e.commitHydratedContainer,Nr=e.commitHydratedSuspenseInstance,Vm=e.clearSuspenseBoundary,Ll=e.clearSuspenseBoundaryFromContainer,zi=e.shouldDeleteUnhydratedTailInstances,pp=e.diffHydratedPropsForDevWarnings,qm=e.diffHydratedTextForDevWarnings,Br=e.describeHydratableInstanceForDevWarnings,cr=e.validateHydratableInstance,Ka=e.validateHydratableTextInstance,Xi=e.supportsResources,zc=e.isHostHoistableType,Xm=e.getHoistableRoot,sf=e.getResource,lf=e.acquireResource,uf=e.releaseResource,gp=e.hydrateHoistable,cf=e.mountHoistable,KA=e.unmountHoistable,eB=e.createHoistableInstance,gn=e.prepareToCommitHoistables,ai=e.mayResourceSuspendCommit,ln=e.preloadResource,yn=e.suspendResource,Ut=e.supportsSingletons,Za=e.resolveSingletonInstance,Nu=e.acquireSingletonInstance,Mc=e.releaseSingletonInstance,mp=e.isHostSingletonType,Ya=e.isSingletonScope,Bi=[],js=[],ba=-1,Ps={};Object.freeze(Ps);var oi=Math.clz32?Math.clz32:In,ZA=Math.log,Af=Math.LN2,Zr=256,YA=4194304,VA=Da.unstable_scheduleCallback,df=Da.unstable_cancelCallback,hp=Da.unstable_shouldYield,Ru=Da.unstable_requestPaint,ni=Da.unstable_now,Js=Da.unstable_ImmediatePriority,Lc=Da.unstable_UserBlockingPriority,Ks=Da.unstable_NormalPriority,Ep=Da.unstable_IdlePriority,Wm=Da.log,Ry=Da.unstable_setDisableYieldValue,Zs=null,Rr=null,o=null,u=!1,f=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",m=0,v,D,k,P,le,Ue,Ge;zr.__reactDisabledLog=!0;var tt,lt,Mt=!1,Va=new(typeof WeakMap=="function"?WeakMap:Map),$c=new WeakMap,Fo=[],ae=0,ee=null,ue=0,Ne=[],pt=0,kn=null,_t=1,Xt="",gi=St(null),fn=St(null),wa=St(null),yp=St(null),T2=/["'&<>\n\t]|^\s|\s$/,Hc=null,Tu=!1,mo=null,Tr=null,xn=!1,Gc=!1,Ys=null,ff=null,Ou=!1,tB=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),O2=0;if(typeof performance=="object"&&typeof performance.now=="function")var RL=performance,k2=function(){return RL.now()};else{var TL=Date;k2=function(){return TL.now()}}var ho=typeof Object.is=="function"?Object.is:fl,_i=0,Ty=St(null),nB=St(null),iB=St(null),Oy={},ky=null,vp=null,Cp=!1,OL=typeof AbortController<"u"?AbortController:function(){var n=[],r=this.signal={aborted:!1,addEventListener:function(A,p){n.push(p)}};this.abort=function(){r.aborted=!0,n.forEach(function(A){return A()})}},kL=Da.unstable_scheduleCallback,FL=Da.unstable_NormalPriority,Ar={$$typeof:Pa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ip=Da.unstable_now,Fy=-0,zo=-1.1,pf=-0,zy=!1,My=!1,Ly=null,Bp=null,rB=!1,aB=!1,$y=!1,oB=!1,_p=0,sB={},eh=null,lB=0,gf=0,Dp=null,F2=Ae.S;Ae.S=function(n,r){typeof r=="object"&&r!==null&&typeof r.then=="function"&&qu(n,r),F2!==null&&F2(n,r)};var mf=St(null),zL=Object.prototype.hasOwnProperty,$l={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},th=[],nh=[],ih=[],rh=[],ah=[],oh=[],hf=new Set;$l.recordUnsafeLifecycleWarnings=function(n,r){hf.has(n.type)||(typeof r.componentWillMount=="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0&&th.push(n),n.mode&8&&typeof r.UNSAFE_componentWillMount=="function"&&nh.push(n),typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(n),n.mode&8&&typeof r.UNSAFE_componentWillReceiveProps=="function"&&rh.push(n),typeof r.componentWillUpdate=="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0&&ah.push(n),n.mode&8&&typeof r.UNSAFE_componentWillUpdate=="function"&&oh.push(n))},$l.flushPendingUnsafeLifecycleWarnings=function(){var n=new Set;0<th.length&&(th.forEach(function(F){n.add(et(F)||"Component"),hf.add(F.type)}),th=[]);var r=new Set;0<nh.length&&(nh.forEach(function(F){r.add(et(F)||"Component"),hf.add(F.type)}),nh=[]);var A=new Set;0<ih.length&&(ih.forEach(function(F){A.add(et(F)||"Component"),hf.add(F.type)}),ih=[]);var p=new Set;0<rh.length&&(rh.forEach(function(F){p.add(et(F)||"Component"),hf.add(F.type)}),rh=[]);var h=new Set;0<ah.length&&(ah.forEach(function(F){h.add(et(F)||"Component"),hf.add(F.type)}),ah=[]);var y=new Set;if(0<oh.length&&(oh.forEach(function(F){y.add(et(F)||"Component"),hf.add(F.type)}),oh=[]),0<r.size){var Q=Y(r);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
173
|
+
|
|
174
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
175
|
+
|
|
176
|
+
Please update the following components: %s`,Q)}0<p.size&&(Q=Y(p),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
177
|
+
|
|
178
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
179
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
180
|
+
|
|
181
|
+
Please update the following components: %s`,Q)),0<y.size&&(Q=Y(y),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
182
|
+
|
|
183
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
184
|
+
|
|
185
|
+
Please update the following components: %s`,Q)),0<n.size&&(Q=Y(n),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
186
|
+
|
|
187
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
188
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
189
|
+
|
|
190
|
+
Please update the following components: %s`,Q)),0<A.size&&(Q=Y(A),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
191
|
+
|
|
192
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
193
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
194
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
195
|
+
|
|
196
|
+
Please update the following components: %s`,Q)),0<h.size&&(Q=Y(h),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
197
|
+
|
|
198
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
199
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
200
|
+
|
|
201
|
+
Please update the following components: %s`,Q))};var Hy=new Map,z2=new Set;$l.recordLegacyContextWarning=function(n,r){for(var A=null,p=n;p!==null;)p.mode&8&&(A=p),p=p.return;A===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!z2.has(n.type)&&(p=Hy.get(A),n.type.contextTypes!=null||n.type.childContextTypes!=null||r!==null&&typeof r.getChildContext=="function")&&(p===void 0&&(p=[],Hy.set(A,p)),p.push(n))},$l.flushLegacyContextWarning=function(){Hy.forEach(function(n){if(n.length!==0){var r=n[0],A=new Set;n.forEach(function(h){A.add(et(h)||"Component"),z2.add(h.type)});var p=Y(A);it(r,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
202
|
+
|
|
203
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
204
|
+
|
|
205
|
+
Please update the following components: %s
|
|
206
|
+
|
|
207
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,p)})}})},$l.discardPendingWarnings=function(){th=[],nh=[],ih=[],rh=[],ah=[],oh=[],Hy=new Map};var sh=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),uB=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Gy=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),jy={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Qp=null,Py=!1,Vs=0,qs=1,Eo=2,xa=4,Yr=8,Xs=[],Sp=0,cB=0,M2=0,L2=1,$2=2,AB=3,qA=!1,H2=!1,dB=null,fB=!1,bp=St(null),Jy=St(0),wp,G2=new Set,j2=new Set,pB=new Set,P2=new Set,XA=0,Ft=null,si=null,Or=null,Ky=!1,xp=!1,Ef=!1,Zy=0,lh=0,jc=null,ML=0,LL=25,pe=null,Ws=null,Pc=-1,uh=!1,Yy={readContext:Bn,use:ei,useCallback:on,useContext:on,useEffect:on,useImperativeHandle:on,useLayoutEffect:on,useInsertionEffect:on,useMemo:on,useReducer:on,useRef:on,useState:on,useDebugValue:on,useDeferredValue:on,useTransition:on,useSyncExternalStore:on,useId:on,useHostTransitionStatus:on,useFormState:on,useActionState:on,useOptimistic:on,useMemoCache:on,useCacheRefresh:on},gB=null,J2=null,mB=null,K2=null,ku=null,Hl=null,Vy=null;gB={readContext:function(n){return Bn(n)},use:ei,useCallback:function(n,r){return pe="useCallback",Kt(),aa(r),_l(n,r)},useContext:function(n){return pe="useContext",Kt(),Bn(n)},useEffect:function(n,r){return pe="useEffect",Kt(),aa(r),cc(n,r)},useImperativeHandle:function(n,r,A){return pe="useImperativeHandle",Kt(),aa(A),du(n,r,A)},useInsertionEffect:function(n,r){pe="useInsertionEffect",Kt(),aa(r),xs(4,Eo,n,r)},useLayoutEffect:function(n,r){return pe="useLayoutEffect",Kt(),aa(r),Us(n,r)},useMemo:function(n,r){pe="useMemo",Kt(),aa(r);var A=Ae.H;Ae.H=ku;try{return IA(n,r)}finally{Ae.H=A}},useReducer:function(n,r,A){pe="useReducer",Kt();var p=Ae.H;Ae.H=ku;try{return El(n,r,A)}finally{Ae.H=p}},useRef:function(n){return pe="useRef",Kt(),wn(n)},useState:function(n){pe="useState",Kt();var r=Ae.H;Ae.H=ku;try{return vl(n)}finally{Ae.H=r}},useDebugValue:function(){pe="useDebugValue",Kt()},useDeferredValue:function(n,r){return pe="useDeferredValue",Kt(),rs(n,r)},useTransition:function(){return pe="useTransition",Kt(),BA()},useSyncExternalStore:function(n,r,A){return pe="useSyncExternalStore",Kt(),su(n,r,A)},useId:function(){return pe="useId",Kt(),Ns()},useFormState:function(n,r){return pe="useFormState",Kt(),Qs(),ws(n,r)},useActionState:function(n,r){return pe="useActionState",Kt(),ws(n,r)},useOptimistic:function(n){return pe="useOptimistic",Kt(),cu(n)},useHostTransitionStatus:bo,useMemoCache:oo,useCacheRefresh:function(){return pe="useCacheRefresh",Kt(),_A()}},J2={readContext:function(n){return Bn(n)},use:ei,useCallback:function(n,r){return pe="useCallback",Te(),_l(n,r)},useContext:function(n){return pe="useContext",Te(),Bn(n)},useEffect:function(n,r){return pe="useEffect",Te(),cc(n,r)},useImperativeHandle:function(n,r,A){return pe="useImperativeHandle",Te(),du(n,r,A)},useInsertionEffect:function(n,r){pe="useInsertionEffect",Te(),xs(4,Eo,n,r)},useLayoutEffect:function(n,r){return pe="useLayoutEffect",Te(),Us(n,r)},useMemo:function(n,r){pe="useMemo",Te();var A=Ae.H;Ae.H=ku;try{return IA(n,r)}finally{Ae.H=A}},useReducer:function(n,r,A){pe="useReducer",Te();var p=Ae.H;Ae.H=ku;try{return El(n,r,A)}finally{Ae.H=p}},useRef:function(n){return pe="useRef",Te(),wn(n)},useState:function(n){pe="useState",Te();var r=Ae.H;Ae.H=ku;try{return vl(n)}finally{Ae.H=r}},useDebugValue:function(){pe="useDebugValue",Te()},useDeferredValue:function(n,r){return pe="useDeferredValue",Te(),rs(n,r)},useTransition:function(){return pe="useTransition",Te(),BA()},useSyncExternalStore:function(n,r,A){return pe="useSyncExternalStore",Te(),su(n,r,A)},useId:function(){return pe="useId",Te(),Ns()},useActionState:function(n,r){return pe="useActionState",Te(),ws(n,r)},useFormState:function(n,r){return pe="useFormState",Te(),Qs(),ws(n,r)},useOptimistic:function(n){return pe="useOptimistic",Te(),cu(n)},useHostTransitionStatus:bo,useMemoCache:oo,useCacheRefresh:function(){return pe="useCacheRefresh",Te(),_A()}},mB={readContext:function(n){return Bn(n)},use:ei,useCallback:function(n,r){return pe="useCallback",Te(),va(n,r)},useContext:function(n){return pe="useContext",Te(),Bn(n)},useEffect:function(n,r){pe="useEffect",Te(),oa(2048,Yr,n,r)},useImperativeHandle:function(n,r,A){return pe="useImperativeHandle",Te(),is(n,r,A)},useInsertionEffect:function(n,r){return pe="useInsertionEffect",Te(),oa(4,Eo,n,r)},useLayoutEffect:function(n,r){return pe="useLayoutEffect",Te(),oa(4,xa,n,r)},useMemo:function(n,r){pe="useMemo",Te();var A=Ae.H;Ae.H=Hl;try{return Ca(n,r)}finally{Ae.H=A}},useReducer:function(n,r,A){pe="useReducer",Te();var p=Ae.H;Ae.H=Hl;try{return yl(n,r,A)}finally{Ae.H=p}},useRef:function(){return pe="useRef",Te(),mn().memoizedState},useState:function(){pe="useState",Te();var n=Ae.H;Ae.H=Hl;try{return yl($a)}finally{Ae.H=n}},useDebugValue:function(){pe="useDebugValue",Te()},useDeferredValue:function(n,r){return pe="useDeferredValue",Te(),so(n,r)},useTransition:function(){return pe="useTransition",Te(),Ac()},useSyncExternalStore:function(n,r,A){return pe="useSyncExternalStore",Te(),lu(n,r,A)},useId:function(){return pe="useId",Te(),mn().memoizedState},useFormState:function(n){return pe="useFormState",Te(),Qs(),Il(n)},useActionState:function(n){return pe="useActionState",Te(),Il(n)},useOptimistic:function(n,r){return pe="useOptimistic",Te(),Jn(n,r)},useHostTransitionStatus:bo,useMemoCache:oo,useCacheRefresh:function(){return pe="useCacheRefresh",Te(),mn().memoizedState}},K2={readContext:function(n){return Bn(n)},use:ei,useCallback:function(n,r){return pe="useCallback",Te(),va(n,r)},useContext:function(n){return pe="useContext",Te(),Bn(n)},useEffect:function(n,r){pe="useEffect",Te(),oa(2048,Yr,n,r)},useImperativeHandle:function(n,r,A){return pe="useImperativeHandle",Te(),is(n,r,A)},useInsertionEffect:function(n,r){return pe="useInsertionEffect",Te(),oa(4,Eo,n,r)},useLayoutEffect:function(n,r){return pe="useLayoutEffect",Te(),oa(4,xa,n,r)},useMemo:function(n,r){pe="useMemo",Te();var A=Ae.H;Ae.H=Vy;try{return Ca(n,r)}finally{Ae.H=A}},useReducer:function(n,r,A){pe="useReducer",Te();var p=Ae.H;Ae.H=Vy;try{return Ha(n,r,A)}finally{Ae.H=p}},useRef:function(){return pe="useRef",Te(),mn().memoizedState},useState:function(){pe="useState",Te();var n=Ae.H;Ae.H=Vy;try{return Ha($a)}finally{Ae.H=n}},useDebugValue:function(){pe="useDebugValue",Te()},useDeferredValue:function(n,r){return pe="useDeferredValue",Te(),fu(n,r)},useTransition:function(){return pe="useTransition",Te(),Ia()},useSyncExternalStore:function(n,r,A){return pe="useSyncExternalStore",Te(),lu(n,r,A)},useId:function(){return pe="useId",Te(),mn().memoizedState},useFormState:function(n){return pe="useFormState",Te(),Qs(),Ci(n)},useActionState:function(n){return pe="useActionState",Te(),Ci(n)},useOptimistic:function(n,r){return pe="useOptimistic",Te(),vA(n,r)},useHostTransitionStatus:bo,useMemoCache:oo,useCacheRefresh:function(){return pe="useCacheRefresh",Te(),mn().memoizedState}},ku={readContext:function(n){return j(),Bn(n)},use:function(n){return O(),ei(n)},useCallback:function(n,r){return pe="useCallback",O(),Kt(),_l(n,r)},useContext:function(n){return pe="useContext",O(),Kt(),Bn(n)},useEffect:function(n,r){return pe="useEffect",O(),Kt(),cc(n,r)},useImperativeHandle:function(n,r,A){return pe="useImperativeHandle",O(),Kt(),du(n,r,A)},useInsertionEffect:function(n,r){pe="useInsertionEffect",O(),Kt(),xs(4,Eo,n,r)},useLayoutEffect:function(n,r){return pe="useLayoutEffect",O(),Kt(),Us(n,r)},useMemo:function(n,r){pe="useMemo",O(),Kt();var A=Ae.H;Ae.H=ku;try{return IA(n,r)}finally{Ae.H=A}},useReducer:function(n,r,A){pe="useReducer",O(),Kt();var p=Ae.H;Ae.H=ku;try{return El(n,r,A)}finally{Ae.H=p}},useRef:function(n){return pe="useRef",O(),Kt(),wn(n)},useState:function(n){pe="useState",O(),Kt();var r=Ae.H;Ae.H=ku;try{return vl(n)}finally{Ae.H=r}},useDebugValue:function(){pe="useDebugValue",O(),Kt()},useDeferredValue:function(n,r){return pe="useDeferredValue",O(),Kt(),rs(n,r)},useTransition:function(){return pe="useTransition",O(),Kt(),BA()},useSyncExternalStore:function(n,r,A){return pe="useSyncExternalStore",O(),Kt(),su(n,r,A)},useId:function(){return pe="useId",O(),Kt(),Ns()},useFormState:function(n,r){return pe="useFormState",O(),Kt(),ws(n,r)},useActionState:function(n,r){return pe="useActionState",O(),Kt(),ws(n,r)},useOptimistic:function(n){return pe="useOptimistic",O(),Kt(),cu(n)},useMemoCache:function(n){return O(),oo(n)},useHostTransitionStatus:bo,useCacheRefresh:function(){return pe="useCacheRefresh",Kt(),_A()}},Hl={readContext:function(n){return j(),Bn(n)},use:function(n){return O(),ei(n)},useCallback:function(n,r){return pe="useCallback",O(),Te(),va(n,r)},useContext:function(n){return pe="useContext",O(),Te(),Bn(n)},useEffect:function(n,r){pe="useEffect",O(),Te(),oa(2048,Yr,n,r)},useImperativeHandle:function(n,r,A){return pe="useImperativeHandle",O(),Te(),is(n,r,A)},useInsertionEffect:function(n,r){return pe="useInsertionEffect",O(),Te(),oa(4,Eo,n,r)},useLayoutEffect:function(n,r){return pe="useLayoutEffect",O(),Te(),oa(4,xa,n,r)},useMemo:function(n,r){pe="useMemo",O(),Te();var A=Ae.H;Ae.H=Hl;try{return Ca(n,r)}finally{Ae.H=A}},useReducer:function(n,r,A){pe="useReducer",O(),Te();var p=Ae.H;Ae.H=Hl;try{return yl(n,r,A)}finally{Ae.H=p}},useRef:function(){return pe="useRef",O(),Te(),mn().memoizedState},useState:function(){pe="useState",O(),Te();var n=Ae.H;Ae.H=Hl;try{return yl($a)}finally{Ae.H=n}},useDebugValue:function(){pe="useDebugValue",O(),Te()},useDeferredValue:function(n,r){return pe="useDeferredValue",O(),Te(),so(n,r)},useTransition:function(){return pe="useTransition",O(),Te(),Ac()},useSyncExternalStore:function(n,r,A){return pe="useSyncExternalStore",O(),Te(),lu(n,r,A)},useId:function(){return pe="useId",O(),Te(),mn().memoizedState},useFormState:function(n){return pe="useFormState",O(),Te(),Il(n)},useActionState:function(n){return pe="useActionState",O(),Te(),Il(n)},useOptimistic:function(n,r){return pe="useOptimistic",O(),Te(),Jn(n,r)},useMemoCache:function(n){return O(),oo(n)},useHostTransitionStatus:bo,useCacheRefresh:function(){return pe="useCacheRefresh",Te(),mn().memoizedState}},Vy={readContext:function(n){return j(),Bn(n)},use:function(n){return O(),ei(n)},useCallback:function(n,r){return pe="useCallback",O(),Te(),va(n,r)},useContext:function(n){return pe="useContext",O(),Te(),Bn(n)},useEffect:function(n,r){pe="useEffect",O(),Te(),oa(2048,Yr,n,r)},useImperativeHandle:function(n,r,A){return pe="useImperativeHandle",O(),Te(),is(n,r,A)},useInsertionEffect:function(n,r){return pe="useInsertionEffect",O(),Te(),oa(4,Eo,n,r)},useLayoutEffect:function(n,r){return pe="useLayoutEffect",O(),Te(),oa(4,xa,n,r)},useMemo:function(n,r){pe="useMemo",O(),Te();var A=Ae.H;Ae.H=Hl;try{return Ca(n,r)}finally{Ae.H=A}},useReducer:function(n,r,A){pe="useReducer",O(),Te();var p=Ae.H;Ae.H=Hl;try{return Ha(n,r,A)}finally{Ae.H=p}},useRef:function(){return pe="useRef",O(),Te(),mn().memoizedState},useState:function(){pe="useState",O(),Te();var n=Ae.H;Ae.H=Hl;try{return Ha($a)}finally{Ae.H=n}},useDebugValue:function(){pe="useDebugValue",O(),Te()},useDeferredValue:function(n,r){return pe="useDeferredValue",O(),Te(),fu(n,r)},useTransition:function(){return pe="useTransition",O(),Te(),Ia()},useSyncExternalStore:function(n,r,A){return pe="useSyncExternalStore",O(),Te(),lu(n,r,A)},useId:function(){return pe="useId",O(),Te(),mn().memoizedState},useFormState:function(n){return pe="useFormState",O(),Te(),Ci(n)},useActionState:function(n){return pe="useActionState",O(),Te(),Ci(n)},useOptimistic:function(n,r){return pe="useOptimistic",O(),Te(),vA(n,r)},useMemoCache:function(n){return O(),oo(n)},useHostTransitionStatus:bo,useCacheRefresh:function(){return pe="useCacheRefresh",Te(),mn().memoizedState}};var Z2={"react-stack-bottom-frame":function(n,r,A){var p=Tu;Tu=!0;try{return n(r,A)}finally{Tu=p}}},hB=Z2["react-stack-bottom-frame"].bind(Z2),Y2={"react-stack-bottom-frame":function(n){var r=Tu;Tu=!0;try{return n.render()}finally{Tu=r}}},V2=Y2["react-stack-bottom-frame"].bind(Y2),q2={"react-stack-bottom-frame":function(n,r){try{r.componentDidMount()}catch(A){Tn(n,n.return,A)}}},EB=q2["react-stack-bottom-frame"].bind(q2),X2={"react-stack-bottom-frame":function(n,r,A,p,h){try{r.componentDidUpdate(A,p,h)}catch(y){Tn(n,n.return,y)}}},W2=X2["react-stack-bottom-frame"].bind(X2),eU={"react-stack-bottom-frame":function(n,r){var A=r.stack;n.componentDidCatch(r.value,{componentStack:A!==null?A:""})}},$L=eU["react-stack-bottom-frame"].bind(eU),tU={"react-stack-bottom-frame":function(n,r,A){try{A.componentWillUnmount()}catch(p){Tn(n,r,p)}}},nU=tU["react-stack-bottom-frame"].bind(tU),iU={"react-stack-bottom-frame":function(n){n.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",n.resourceKind);var r=n.create;return n=n.inst,r=r(),n.destroy=r}},HL=iU["react-stack-bottom-frame"].bind(iU),rU={"react-stack-bottom-frame":function(n,r,A){try{A()}catch(p){Tn(n,r,p)}}},GL=rU["react-stack-bottom-frame"].bind(rU),aU={"react-stack-bottom-frame":function(n){var r=n._init;return r(n._payload)}},WA=aU["react-stack-bottom-frame"].bind(aU),Up=null,ch=0,an=null,yB,oU=yB=!1,sU={},lU={},uU={};z=function(n,r,A){if(A!==null&&typeof A=="object"&&A._store&&(!A._store.validated&&A.key==null||A._store.validated===2)){if(typeof A._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");A._store.validated=1;var p=et(n),h=p||"null";if(!sU[h]){sU[h]=!0,A=A._owner,n=n._debugOwner;var y="";n&&typeof n.tag=="number"&&(h=et(n))&&(y=`
|
|
208
|
+
|
|
209
|
+
Check the render method of \``+h+"`."),y||p&&(y=`
|
|
210
|
+
|
|
211
|
+
Check the top-level render call using <`+p+">.");var Q="";A!=null&&n!==A&&(p=null,typeof A.tag=="number"?p=et(A):typeof A.name=="string"&&(p=A.name),p&&(Q=" It was passed a child from "+p+".")),it(r,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',y,Q)})}}};var Np=DA(!0),cU=DA(!1),el=St(null),Fu=null,Rp=1,Ah=2,Vr=St(0),AU={},dU=new Set,fU=new Set,pU=new Set,gU=new Set,mU=new Set,hU=new Set,EU=new Set,yU=new Set,vU=new Set,CU=new Set;Object.freeze(AU);var vB={enqueueSetState:function(n,r,A){n=n._reactInternals;var p=ri(n),h=Vo(p);h.payload=r,A!=null&&(gu(A),h.callback=A),r=qo(n,h,p),r!==null&&(En(r,n,p),au(r,n,p)),We(n,p)},enqueueReplaceState:function(n,r,A){n=n._reactInternals;var p=ri(n),h=Vo(p);h.tag=L2,h.payload=r,A!=null&&(gu(A),h.callback=A),r=qo(n,h,p),r!==null&&(En(r,n,p),au(r,n,p)),We(n,p)},enqueueForceUpdate:function(n,r){n=n._reactInternals;var A=ri(n),p=Vo(A);p.tag=$2,r!=null&&(gu(r),p.callback=r),r=qo(n,p,A),r!==null&&(En(r,n,A),au(r,n,A)),o!==null&&typeof o.markForceUpdateScheduled=="function"&&o.markForceUpdateScheduled(n,A)}},IU=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Tp=null,CB=null,BU=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),fa=!1,_U={},DU={},QU={},SU={},Op=!1,bU={},IB={},BB={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},wU=!1,xU=null;xU=new Set;var Jc=!1,_r=!1,_B=!1,UU=typeof WeakSet=="function"?WeakSet:Set,pa=null,kp=null,Fp=null,kr=null,Mo=!1,Gl=null,zp=8192,jL={getCacheForType:function(n){var r=Bn(Ar),A=r.data.get(n);return A===void 0&&(A=n(),r.data.set(n,A)),A},getOwner:function(){return Hc}},qy=0,Xy=1,Wy=2,ev=3,tv=4;if(typeof Symbol=="function"&&Symbol.for){var dh=Symbol.for;qy=dh("selector.component"),Xy=dh("selector.has_pseudo_class"),Wy=dh("selector.role"),ev=dh("selector.test_id"),tv=dh("selector.text")}var nv=[],PL=typeof WeakMap=="function"?WeakMap:Map,yo=0,qa=2,tl=4,Kc=0,fh=1,Mp=2,DB=3,yf=4,iv=6,NU=5,vn=yo,mi=null,dn=null,pn=0,Lo=0,ph=1,vf=2,gh=3,RU=4,QB=5,Lp=6,mh=7,SB=8,Cf=9,Yn=Lo,ps=null,ed=!1,$p=!1,bB=!1,zu=0,dr=Kc,td=0,nd=0,wB=0,gs=0,If=0,hh=null,vo=null,rv=!1,xB=0,TU=300,Eh=1/0,UB=500,yh=null,id=null,JL=0,KL=1,ZL=2,Bf=0,OU=1,kU=2,FU=3,YL=4,NB=5,Ua=0,rd=null,Hp=null,ad=0,RB=0,TB=null,zU=null,VL=50,vh=0,OB=null,kB=!1,av=!1,qL=50,_f=0,Ch=null,Gp=!1,ov=null,MU=!1,LU=new Set,XL={},nl=null,jp=null,$U=!1;try{var HU=Object.preventExtensions({})}catch{$U=!0}var GU=!1,jU={},PU=null,JU=null,KU=null,ZU=null,YU=null,VU=null,qU=null,XU=null,WU=null;return PU=function(n,r,A,p){r=t(n,r),r!==null&&(A=a(r.memoizedState,A,0,p),r.memoizedState=A,r.baseState=A,n.memoizedProps=Pr({},n.memoizedProps),A=rr(n,2),A!==null&&En(A,n,2))},JU=function(n,r,A){r=t(n,r),r!==null&&(A=c(r.memoizedState,A,0),r.memoizedState=A,r.baseState=A,n.memoizedProps=Pr({},n.memoizedProps),A=rr(n,2),A!==null&&En(A,n,2))},KU=function(n,r,A,p){r=t(n,r),r!==null&&(A=s(r.memoizedState,A,p),r.memoizedState=A,r.baseState=A,n.memoizedProps=Pr({},n.memoizedProps),A=rr(n,2),A!==null&&En(A,n,2))},ZU=function(n,r,A){n.pendingProps=a(n.memoizedProps,r,0,A),n.alternate&&(n.alternate.pendingProps=n.pendingProps),r=rr(n,2),r!==null&&En(r,n,2)},YU=function(n,r){n.pendingProps=c(n.memoizedProps,r,0),n.alternate&&(n.alternate.pendingProps=n.pendingProps),r=rr(n,2),r!==null&&En(r,n,2)},VU=function(n,r,A){n.pendingProps=s(n.memoizedProps,r,A),n.alternate&&(n.alternate.pendingProps=n.pendingProps),r=rr(n,2),r!==null&&En(r,n,2)},qU=function(n){var r=rr(n,2);r!==null&&En(r,n,2)},XU=function(n){E=n},WU=function(n){d=n},An.attemptContinuousHydration=function(n){if(n.tag===13){var r=rr(n,67108864);r!==null&&En(r,n,67108864),op(n,67108864)}},An.attemptHydrationAtCurrentPriority=function(n){if(n.tag===13){var r=ri(n);r=Qn(r);var A=rr(n,r);A!==null&&En(A,n,r),op(n,r)}},An.attemptSynchronousHydration=function(n){switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var r=ye(n.pendingLanes);if(r!==0){for(n.pendingLanes|=2,n.entangledLanes|=2;r;){var A=1<<31-oi(r);n.entanglements[1]|=A,r&=~A}Je(n),(vn&(qa|tl))===yo&&(Eh=ni()+UB,Et(0,!1))}}break;case 13:r=rr(n,2),r!==null&&En(r,n,2),np(),op(n,2)}},An.batchedUpdates=function(n,r){return n(r)},An.createComponentSelector=function(n){return{$$typeof:qy,value:n}},An.createContainer=function(n,r,A,p,h,y,Q,F,ne,Ee){return Um(n,r,!1,null,A,p,y,Q,F,ne,Ee,null)},An.createHasPseudoClassSelector=function(n){return{$$typeof:Xy,value:n}},An.createHydrationContainer=function(n,r,A,p,h,y,Q,F,ne,Ee,je,Ke,ot){return n=Um(A,p,!0,n,h,y,F,ne,Ee,je,Ke,ot),n.context=Nm(null),A=n.current,p=ri(A),p=Qn(p),h=Vo(p),h.callback=r??null,qo(A,h,p),r=p,n.current.lanes=r,De(n,r),Je(n),n},An.createPortal=function(n,r,A){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{ap(p);var h=!1}catch{h=!0}return h&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object"),ap(p)),{$$typeof:xc,key:p==null?null:""+p,children:n,containerInfo:r,implementation:A}},An.createRoleSelector=function(n){return{$$typeof:Wy,value:n}},An.createTestNameSelector=function(n){return{$$typeof:ev,value:n}},An.createTextSelector=function(n){return{$$typeof:tv,value:n}},An.defaultOnCaughtError=function(n){var r=Tp?"The above error occurred in the <"+Tp+"> component.":"The above error occurred in one of your React components.",A="React will try to recreate this component tree from scratch using the error boundary you provided, "+((CB||"Anonymous")+".");typeof n=="object"&&n!==null&&typeof n.environmentName=="string"?Y0("error",[`%o
|
|
212
|
+
|
|
213
|
+
%s
|
|
214
|
+
|
|
215
|
+
%s
|
|
216
|
+
`,n,r,A],n.environmentName)():console.error(`%o
|
|
217
|
+
|
|
218
|
+
%s
|
|
219
|
+
|
|
220
|
+
%s
|
|
221
|
+
`,n,r,A)},An.defaultOnRecoverableError=function(n){IU(n)},An.defaultOnUncaughtError=function(n){IU(n),console.warn(`%s
|
|
222
|
+
|
|
223
|
+
%s
|
|
224
|
+
`,Tp?"An error occurred in the <"+Tp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
225
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)},An.deferredUpdates=function(n){var r=Ae.T,A=Ro();try{return pi(32),Ae.T=null,n()}finally{pi(A),Ae.T=r}},An.discreteUpdates=function(n,r,A,p,h){var y=Ae.T,Q=Ro();try{return pi(2),Ae.T=null,n(r,A,p,h)}finally{pi(Q),Ae.T=y,vn===yo&&(Eh=ni()+UB)}},An.findAllNodes=$s,An.findBoundingRects=function(n,r){if(!Fl)throw Error("Test selector API is not supported by this renderer.");r=$s(n,r),n=[];for(var A=0;A<r.length;A++)n.push(Gm(r[A]));for(r=n.length-1;0<r;r--){A=n[r];for(var p=A.x,h=p+A.width,y=A.y,Q=y+A.height,F=r-1;0<=F;F--)if(r!==F){var ne=n[F],Ee=ne.x,je=Ee+ne.width,Ke=ne.y,ot=Ke+ne.height;if(p>=Ee&&y>=Ke&&h<=je&&Q<=ot){n.splice(r,1);break}else if(p!==Ee||A.width!==ne.width||ot<y||Ke>Q){if(!(y!==Ke||A.height!==ne.height||je<p||Ee>h)){Ee>p&&(ne.width+=Ee-p,ne.x=p),je<h&&(ne.width=h-Ee),n.splice(r,1);break}}else{Ke>y&&(ne.height+=Ke-y,ne.y=y),ot<Q&&(ne.height=Q-Ke),n.splice(r,1);break}}}return n},An.findHostInstance=function(n){var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error("Unable to find node on an unmounted component."):(n=Object.keys(n).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+n));return n=ge(r),n===null?null:kA(n.stateNode)},An.findHostInstanceWithNoPortals=function(n){return n=be(n),n=n!==null?mt(n):null,n===null?null:kA(n.stateNode)},An.findHostInstanceWithWarning=function(n,r){var A=n._reactInternals;if(A===void 0)throw typeof n.render=="function"?Error("Unable to find node on an unmounted component."):(n=Object.keys(n).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+n));if(n=ge(A),n===null)return null;if(n.mode&8){var p=et(A)||"Component";jU[p]||(jU[p]=!0,it(n,function(){A.mode&8?console.error("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://react.dev/link/strict-mode-find-node",r,r,p):console.error("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://react.dev/link/strict-mode-find-node",r,r,p)}))}return kA(n.stateNode)},An.flushPassiveEffects=TA,An.flushSyncFromReconciler=function(n){var r=vn;vn|=1;var A=Ae.T,p=Ro();try{if(pi(2),Ae.T=null,n)return n()}finally{pi(p),Ae.T=A,vn=r,(vn&(qa|tl))===yo&&Et(0,!1)}},An.flushSyncWork=np,An.focusWithin=function(n,r){if(!Fl)throw Error("Test selector API is not supported by this renderer.");for(n=Hn(n),r=Du(n,r),r=Array.from(r),n=0;n<r.length;){var A=r[n++],p=A.tag;if(!Oc(A)){if((p===5||p===26||p===27)&&ef(A.stateNode))return!0;for(A=A.child;A!==null;)r.push(A),A=A.sibling}}return!1},An.getFindAllNodesFailureDescription=function(n,r){if(!Fl)throw Error("Test selector API is not supported by this renderer.");var A=0,p=[];n=[Hn(n),0];for(var h=0;h<n.length;){var y=n[h++],Q=y.tag,F=n[h++],ne=r[F];if((Q!==5&&Q!==26&&Q!==27||!Oc(y))&&(Ls(y,ne)&&(p.push(_u(ne)),F++,F>A&&(A=F)),F<r.length))for(y=y.child;y!==null;)n.push(y,F),y=y.sibling}if(A<r.length){for(n=[];A<r.length;A++)n.push(_u(r[A]));return`findAllNodes was able to match part of the selector:
|
|
226
|
+
`+(p.join(" > ")+`
|
|
227
|
+
|
|
228
|
+
No matching component was found for:
|
|
229
|
+
`)+n.join(" > ")}return null},An.getPublicRootInstance=function(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 27:case 5:return kA(n.child.stateNode);default:return n.child.stateNode}},An.injectIntoDevTools=function(){var n={bundleType:1,version:J0,rendererPackageName:Mm,currentDispatcherRef:Ae,reconcilerVersion:"19.1.0"};return Qy!==null&&(n.rendererConfig=Qy),n.overrideHookState=PU,n.overrideHookStateDeletePath=JU,n.overrideHookStateRenamePath=KU,n.overrideProps=ZU,n.overridePropsDeletePath=YU,n.overridePropsRenamePath=VU,n.scheduleUpdate=qU,n.setErrorHandler=XU,n.setSuspenseHandler=WU,n.scheduleRefresh=S,n.scheduleRoot=I,n.setRefreshHandler=T,n.getCurrentFiber=_y,n.getLaneLabelMap=G0,n.injectProfilingHooks=er,Pn(n)},An.isAlreadyRendering=function(){return(vn&(qa|tl))!==yo},An.observeVisibleRects=function(n,r,A,p){function h(){var Ee=$s(n,r);y.forEach(function(je){0>Ee.indexOf(je)&&ne(je)}),Ee.forEach(function(je){0>y.indexOf(je)&&F(je)})}if(!Fl)throw Error("Test selector API is not supported by this renderer.");var y=$s(n,r);A=jm(y,A,p);var Q=A.disconnect,F=A.observe,ne=A.unobserve;return nv.push(h),{disconnect:function(){var Ee=nv.indexOf(h);0<=Ee&&nv.splice(Ee,1),Q()}}},An.shouldError=function(n){return E(n)},An.shouldSuspend=function(n){return d(n)},An.startHostTransition=function(n,r,A,p){if(n.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var h=Wf(n).queue;Td(n,h,r,To,A===null?q:function(){Ae.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var y=Wf(n).next.queue;return ti(n,y,{},ri(n)),A(p)})},An.updateContainer=function(n,r,A,p){var h=r.current,y=ri(h);return Tm(h,y,n,r,A,p),y},An.updateContainerSync=Rm,An},zh.exports.default=zh.exports,Object.defineProperty(zh.exports,"__esModule",{value:!0}))});var zR=un((nY,M_)=>{"use strict";process.env.NODE_ENV==="production"?M_.exports=kR():M_.exports=FR()});function Uf(e){let t=0;for(let a of e.split(`
|
|
230
|
+
`))t=Math.max(t,Na(a));return t}var bv=L(()=>{"use strict";Nh()});var MR,dH,L_,LR=L(()=>{"use strict";bv();MR=new Map,dH=e=>{if(e.length===0)return{width:0,height:0};let t=MR.get(e);if(t)return t;let a=Uf(e),s=e.split(`
|
|
231
|
+
`).length,i={width:a,height:s};return MR.set(e,i),i},L_=dH});function $_(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var $R=L(()=>{"use strict"});function Hu(e,t,a){let s=[...e],i=[],c=typeof a=="number"?a:s.length,d=!1,E,C=0,I="";for(let[S,T]of s.entries()){let z=!1;if(GR.includes(T)){let O=/\d[^m]*/.exec(e.slice(S,S+18));E=O&&O.length>0?O[0]:void 0,C<c&&(d=!0,E!==void 0&&i.push(E))}else d&&T==="m"&&(d=!1,z=!0);if(!d&&!z&&C++,!fH.test(T)&&$_(T.codePointAt())&&(C++,typeof a!="number"&&c++),C>t&&C<=c)I+=T;else if(C===t&&!d&&E!==void 0)I=HR(i);else if(C>=c){I+=HR(i,!0,E);break}}return I}var fH,GR,wv,HR,jR=L(()=>{"use strict";$R();sg();fH=/^[\uD800-\uDBFF][\uDC00-\uDFFF]$/,GR=["\x1B","\x9B"],wv=e=>`${GR[0]}[${e}m`,HR=(e,t,a)=>{let s=[];e=[...e];for(let i of e){let c=i;i.includes(";")&&(i=i.split(";")[0][0]+"0");let d=li.codes.get(Number.parseInt(i,10));if(d){let E=e.indexOf(d.toString());E===-1?s.push(wv(t?d:c)):e.splice(E,1)}else if(t){s.push(wv(0));break}else s.push(wv(c))}if(t&&(s=s.filter((i,c)=>s.indexOf(i)===c),a!==void 0)){let i=wv(li.codes.get(Number.parseInt(a,10)));s=s.reduce((c,d)=>d===i?[d,...c]:[...c,d],[])}return s.join("")}});function xv(e,t,a){if(e.charAt(t)===" ")return t;let s=a?1:-1;for(let i=0;i<=3;i++){let c=t+i*s;if(e.charAt(c)===" ")return c}return t}function H_(e,t,a={}){let{position:s="end",space:i=!1,preferTruncationOnSpace:c=!1}=a,{truncationCharacter:d="\u2026"}=a;if(typeof e!="string")throw new TypeError(`Expected \`input\` to be a string, got ${typeof e}`);if(typeof t!="number")throw new TypeError(`Expected \`columns\` to be a number, got ${typeof t}`);if(t<1)return"";if(t===1)return d;let E=Na(e);if(E<=t)return e;if(s==="start"){if(c){let C=xv(e,E-t+1,!0);return d+Hu(e,C,E).trim()}return i===!0&&(d+=" "),d+Hu(e,E-t+Na(d),E)}if(s==="middle"){i===!0&&(d=` ${d} `);let C=Math.floor(t/2);if(c){let I=xv(e,C),S=xv(e,E-(t-C)+1,!0);return Hu(e,0,I)+d+Hu(e,S,E).trim()}return Hu(e,0,C)+d+Hu(e,E-(t-C)+Na(d),E)}if(s==="end"){if(c){let C=xv(e,t-1);return Hu(e,0,C)+d}return i===!0&&(d=` ${d}`),Hu(e,0,t-Na(d))+d}throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${s}`)}var PR=L(()=>{"use strict";jR();Nh()});var JR,pH,Uv,G_=L(()=>{"use strict";b_();PR();JR={},pH=(e,t,a)=>{let s=e+String(t)+String(a),i=JR[s];if(i)return i;let c=e;if(a==="wrap"&&(c=Rh(e,t,{trim:!1,hard:!0})),a.startsWith("truncate")){let d="end";a==="truncate-middle"&&(d="middle"),a==="truncate-start"&&(d="start"),c=H_(e,t,{position:d})}return JR[s]=c,c},Uv=pH});var KR,Mh,j_=L(()=>{"use strict";KR=e=>{let t="";for(let a=0;a<e.childNodes.length;a++){let s=e.childNodes[a];if(s===void 0)continue;let i="";s.nodeName==="#text"?i=s.nodeValue:((s.nodeName==="ink-text"||s.nodeName==="ink-virtual-text")&&(i=KR(s)),i.length>0&&typeof s.internal_transform=="function"&&(i=s.internal_transform(i,a))),t+=i}return t},Mh=KR});var Nv,Rv,P_,Lh,J_,K_,ZR,gH,YR,Tv,$h,Z_=L(async()=>{"use strict";await xf();LR();G_();j_();Nv=e=>{let t={nodeName:e,style:{},attributes:{},childNodes:[],parentNode:void 0,yogaNode:e==="ink-virtual-text"?void 0:gt.Node.create(),internal_accessibility:{}};return e==="ink-text"&&t.yogaNode?.setMeasureFunc(gH.bind(null,t)),t},Rv=(e,t)=>{t.parentNode&&Lh(t.parentNode,t),t.parentNode=e,e.childNodes.push(t),t.yogaNode&&e.yogaNode?.insertChild(t.yogaNode,e.yogaNode.getChildCount()),(e.nodeName==="ink-text"||e.nodeName==="ink-virtual-text")&&Tv(e)},P_=(e,t,a)=>{t.parentNode&&Lh(t.parentNode,t),t.parentNode=e;let s=e.childNodes.indexOf(a);if(s>=0){e.childNodes.splice(s,0,t),t.yogaNode&&e.yogaNode?.insertChild(t.yogaNode,s);return}e.childNodes.push(t),t.yogaNode&&e.yogaNode?.insertChild(t.yogaNode,e.yogaNode.getChildCount()),(e.nodeName==="ink-text"||e.nodeName==="ink-virtual-text")&&Tv(e)},Lh=(e,t)=>{t.yogaNode&&t.parentNode?.yogaNode?.removeChild(t.yogaNode),t.parentNode=void 0;let a=e.childNodes.indexOf(t);a>=0&&e.childNodes.splice(a,1),(e.nodeName==="ink-text"||e.nodeName==="ink-virtual-text")&&Tv(e)},J_=(e,t,a)=>{if(t==="internal_accessibility"){e.internal_accessibility=a;return}e.attributes[t]=a},K_=(e,t)=>{e.style=t},ZR=e=>{let t={nodeName:"#text",nodeValue:e,yogaNode:void 0,parentNode:void 0,style:{}};return $h(t,e),t},gH=function(e,t){let a=e.nodeName==="#text"?e.nodeValue:Mh(e),s=L_(a);if(s.width<=t||s.width>=1&&t>0&&t<1)return s;let i=e.style?.textWrap??"wrap",c=Uv(a,t,i);return L_(c)},YR=e=>{if(e?.parentNode)return e.yogaNode??YR(e.parentNode)},Tv=e=>{YR(e)?.markDirty()},$h=(e,t)=>{typeof t!="string"&&(t=String(t)),e.nodeValue=t,Tv(e)}});var hH,EH,yH,vH,CH,IH,BH,_H,DH,Y_,VR=L(async()=>{"use strict";await xf();hH=(e,t)=>{"position"in t&&e.setPositionType(t.position==="absolute"?gt.POSITION_TYPE_ABSOLUTE:gt.POSITION_TYPE_RELATIVE)},EH=(e,t)=>{"margin"in t&&e.setMargin(gt.EDGE_ALL,t.margin??0),"marginX"in t&&e.setMargin(gt.EDGE_HORIZONTAL,t.marginX??0),"marginY"in t&&e.setMargin(gt.EDGE_VERTICAL,t.marginY??0),"marginLeft"in t&&e.setMargin(gt.EDGE_START,t.marginLeft||0),"marginRight"in t&&e.setMargin(gt.EDGE_END,t.marginRight||0),"marginTop"in t&&e.setMargin(gt.EDGE_TOP,t.marginTop||0),"marginBottom"in t&&e.setMargin(gt.EDGE_BOTTOM,t.marginBottom||0)},yH=(e,t)=>{"padding"in t&&e.setPadding(gt.EDGE_ALL,t.padding??0),"paddingX"in t&&e.setPadding(gt.EDGE_HORIZONTAL,t.paddingX??0),"paddingY"in t&&e.setPadding(gt.EDGE_VERTICAL,t.paddingY??0),"paddingLeft"in t&&e.setPadding(gt.EDGE_LEFT,t.paddingLeft||0),"paddingRight"in t&&e.setPadding(gt.EDGE_RIGHT,t.paddingRight||0),"paddingTop"in t&&e.setPadding(gt.EDGE_TOP,t.paddingTop||0),"paddingBottom"in t&&e.setPadding(gt.EDGE_BOTTOM,t.paddingBottom||0)},vH=(e,t)=>{"flexGrow"in t&&e.setFlexGrow(t.flexGrow??0),"flexShrink"in t&&e.setFlexShrink(typeof t.flexShrink=="number"?t.flexShrink:1),"flexWrap"in t&&(t.flexWrap==="nowrap"&&e.setFlexWrap(gt.WRAP_NO_WRAP),t.flexWrap==="wrap"&&e.setFlexWrap(gt.WRAP_WRAP),t.flexWrap==="wrap-reverse"&&e.setFlexWrap(gt.WRAP_WRAP_REVERSE)),"flexDirection"in t&&(t.flexDirection==="row"&&e.setFlexDirection(gt.FLEX_DIRECTION_ROW),t.flexDirection==="row-reverse"&&e.setFlexDirection(gt.FLEX_DIRECTION_ROW_REVERSE),t.flexDirection==="column"&&e.setFlexDirection(gt.FLEX_DIRECTION_COLUMN),t.flexDirection==="column-reverse"&&e.setFlexDirection(gt.FLEX_DIRECTION_COLUMN_REVERSE)),"flexBasis"in t&&(typeof t.flexBasis=="number"?e.setFlexBasis(t.flexBasis):typeof t.flexBasis=="string"?e.setFlexBasisPercent(Number.parseInt(t.flexBasis,10)):e.setFlexBasis(Number.NaN)),"alignItems"in t&&((t.alignItems==="stretch"||!t.alignItems)&&e.setAlignItems(gt.ALIGN_STRETCH),t.alignItems==="flex-start"&&e.setAlignItems(gt.ALIGN_FLEX_START),t.alignItems==="center"&&e.setAlignItems(gt.ALIGN_CENTER),t.alignItems==="flex-end"&&e.setAlignItems(gt.ALIGN_FLEX_END)),"alignSelf"in t&&((t.alignSelf==="auto"||!t.alignSelf)&&e.setAlignSelf(gt.ALIGN_AUTO),t.alignSelf==="flex-start"&&e.setAlignSelf(gt.ALIGN_FLEX_START),t.alignSelf==="center"&&e.setAlignSelf(gt.ALIGN_CENTER),t.alignSelf==="flex-end"&&e.setAlignSelf(gt.ALIGN_FLEX_END)),"justifyContent"in t&&((t.justifyContent==="flex-start"||!t.justifyContent)&&e.setJustifyContent(gt.JUSTIFY_FLEX_START),t.justifyContent==="center"&&e.setJustifyContent(gt.JUSTIFY_CENTER),t.justifyContent==="flex-end"&&e.setJustifyContent(gt.JUSTIFY_FLEX_END),t.justifyContent==="space-between"&&e.setJustifyContent(gt.JUSTIFY_SPACE_BETWEEN),t.justifyContent==="space-around"&&e.setJustifyContent(gt.JUSTIFY_SPACE_AROUND),t.justifyContent==="space-evenly"&&e.setJustifyContent(gt.JUSTIFY_SPACE_EVENLY))},CH=(e,t)=>{"width"in t&&(typeof t.width=="number"?e.setWidth(t.width):typeof t.width=="string"?e.setWidthPercent(Number.parseInt(t.width,10)):e.setWidthAuto()),"height"in t&&(typeof t.height=="number"?e.setHeight(t.height):typeof t.height=="string"?e.setHeightPercent(Number.parseInt(t.height,10)):e.setHeightAuto()),"minWidth"in t&&(typeof t.minWidth=="string"?e.setMinWidthPercent(Number.parseInt(t.minWidth,10)):e.setMinWidth(t.minWidth??0)),"minHeight"in t&&(typeof t.minHeight=="string"?e.setMinHeightPercent(Number.parseInt(t.minHeight,10)):e.setMinHeight(t.minHeight??0))},IH=(e,t)=>{"display"in t&&e.setDisplay(t.display==="flex"?gt.DISPLAY_FLEX:gt.DISPLAY_NONE)},BH=(e,t)=>{if("borderStyle"in t){let a=t.borderStyle?1:0;t.borderTop!==!1&&e.setBorder(gt.EDGE_TOP,a),t.borderBottom!==!1&&e.setBorder(gt.EDGE_BOTTOM,a),t.borderLeft!==!1&&e.setBorder(gt.EDGE_LEFT,a),t.borderRight!==!1&&e.setBorder(gt.EDGE_RIGHT,a)}},_H=(e,t)=>{"gap"in t&&e.setGap(gt.GUTTER_ALL,t.gap??0),"columnGap"in t&&e.setGap(gt.GUTTER_COLUMN,t.columnGap??0),"rowGap"in t&&e.setGap(gt.GUTTER_ROW,t.rowGap??0)},DH=(e,t={})=>{hH(e,t),EH(e,t),yH(e,t),vH(e,t),CH(e,t),IH(e,t),BH(e,t),_H(e,t)},Y_=DH});var tA=un((_Y,WR)=>{"use strict";var qR=["nodebuffer","arraybuffer","fragments"],XR=typeof Blob<"u";XR&&qR.push("blob");WR.exports={BINARY_TYPES:qR,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:XR,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var Hh=un((DY,Ov)=>{"use strict";var{EMPTY_BUFFER:QH}=tA(),V_=Buffer[Symbol.species];function SH(e,t){if(e.length===0)return QH;if(e.length===1)return e[0];let a=Buffer.allocUnsafe(t),s=0;for(let i=0;i<e.length;i++){let c=e[i];a.set(c,s),s+=c.length}return s<t?new V_(a.buffer,a.byteOffset,s):a}function eT(e,t,a,s,i){for(let c=0;c<i;c++)a[s+c]=e[c]^t[c&3]}function tT(e,t){for(let a=0;a<e.length;a++)e[a]^=t[a&3]}function bH(e){return e.length===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.length)}function q_(e){if(q_.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=new V_(e):ArrayBuffer.isView(e)?t=new V_(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),q_.readOnly=!1),t}Ov.exports={concat:SH,mask:eT,toArrayBuffer:bH,toBuffer:q_,unmask:tT};if(!process.env.WS_NO_BUFFER_UTIL)try{let e=Wi("bufferutil");Ov.exports.mask=function(t,a,s,i,c){c<48?eT(t,a,s,i,c):e.mask(t,a,s,i,c)},Ov.exports.unmask=function(t,a){t.length<32?tT(t,a):e.unmask(t,a)}}catch{}});var rT=un((QY,iT)=>{"use strict";var nT=Symbol("kDone"),X_=Symbol("kRun"),W_=class{constructor(t){this[nT]=()=>{this.pending--,this[X_]()},this.concurrency=t||1/0,this.jobs=[],this.pending=0}add(t){this.jobs.push(t),this[X_]()}[X_](){if(this.pending!==this.concurrency&&this.jobs.length){let t=this.jobs.shift();this.pending++,t(this[nT])}}};iT.exports=W_});var jh=un((SY,lT)=>{"use strict";var Gh=Wi("zlib"),aT=Hh(),wH=rT(),{kStatusCode:oT}=tA(),xH=Buffer[Symbol.species],UH=Buffer.from([0,0,255,255]),Fv=Symbol("permessage-deflate"),nA=Symbol("total-length"),cg=Symbol("callback"),cd=Symbol("buffers"),Ag=Symbol("error"),kv,eD=class{constructor(t,a,s){if(this._maxPayload=s|0,this._options=t||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._isServer=!!a,this._deflate=null,this._inflate=null,this.params=null,!kv){let i=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;kv=new wH(i)}}static get extensionName(){return"permessage-deflate"}offer(){let t={};return this._options.serverNoContextTakeover&&(t.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(t.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(t.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?t.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(t.client_max_window_bits=!0),t}accept(t){return t=this.normalizeParams(t),this.params=this._isServer?this.acceptAsServer(t):this.acceptAsClient(t),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let t=this._deflate[cg];this._deflate.close(),this._deflate=null,t&&t(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(t){let a=this._options,s=t.find(i=>!(a.serverNoContextTakeover===!1&&i.server_no_context_takeover||i.server_max_window_bits&&(a.serverMaxWindowBits===!1||typeof a.serverMaxWindowBits=="number"&&a.serverMaxWindowBits>i.server_max_window_bits)||typeof a.clientMaxWindowBits=="number"&&!i.client_max_window_bits));if(!s)throw new Error("None of the extension offers can be accepted");return a.serverNoContextTakeover&&(s.server_no_context_takeover=!0),a.clientNoContextTakeover&&(s.client_no_context_takeover=!0),typeof a.serverMaxWindowBits=="number"&&(s.server_max_window_bits=a.serverMaxWindowBits),typeof a.clientMaxWindowBits=="number"?s.client_max_window_bits=a.clientMaxWindowBits:(s.client_max_window_bits===!0||a.clientMaxWindowBits===!1)&&delete s.client_max_window_bits,s}acceptAsClient(t){let a=t[0];if(this._options.clientNoContextTakeover===!1&&a.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!a.client_max_window_bits)typeof this._options.clientMaxWindowBits=="number"&&(a.client_max_window_bits=this._options.clientMaxWindowBits);else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits=="number"&&a.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return a}normalizeParams(t){return t.forEach(a=>{Object.keys(a).forEach(s=>{let i=a[s];if(i.length>1)throw new Error(`Parameter "${s}" must have only a single value`);if(i=i[0],s==="client_max_window_bits"){if(i!==!0){let c=+i;if(!Number.isInteger(c)||c<8||c>15)throw new TypeError(`Invalid value for parameter "${s}": ${i}`);i=c}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${s}": ${i}`)}else if(s==="server_max_window_bits"){let c=+i;if(!Number.isInteger(c)||c<8||c>15)throw new TypeError(`Invalid value for parameter "${s}": ${i}`);i=c}else if(s==="client_no_context_takeover"||s==="server_no_context_takeover"){if(i!==!0)throw new TypeError(`Invalid value for parameter "${s}": ${i}`)}else throw new Error(`Unknown parameter "${s}"`);a[s]=i})}),t}decompress(t,a,s){kv.add(i=>{this._decompress(t,a,(c,d)=>{i(),s(c,d)})})}compress(t,a,s){kv.add(i=>{this._compress(t,a,(c,d)=>{i(),s(c,d)})})}_decompress(t,a,s){let i=this._isServer?"client":"server";if(!this._inflate){let c=`${i}_max_window_bits`,d=typeof this.params[c]!="number"?Gh.Z_DEFAULT_WINDOWBITS:this.params[c];this._inflate=Gh.createInflateRaw({...this._options.zlibInflateOptions,windowBits:d}),this._inflate[Fv]=this,this._inflate[nA]=0,this._inflate[cd]=[],this._inflate.on("error",RH),this._inflate.on("data",sT)}this._inflate[cg]=s,this._inflate.write(t),a&&this._inflate.write(UH),this._inflate.flush(()=>{let c=this._inflate[Ag];if(c){this._inflate.close(),this._inflate=null,s(c);return}let d=aT.concat(this._inflate[cd],this._inflate[nA]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[nA]=0,this._inflate[cd]=[],a&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),s(null,d)})}_compress(t,a,s){let i=this._isServer?"server":"client";if(!this._deflate){let c=`${i}_max_window_bits`,d=typeof this.params[c]!="number"?Gh.Z_DEFAULT_WINDOWBITS:this.params[c];this._deflate=Gh.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:d}),this._deflate[nA]=0,this._deflate[cd]=[],this._deflate.on("data",NH)}this._deflate[cg]=s,this._deflate.write(t),this._deflate.flush(Gh.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let c=aT.concat(this._deflate[cd],this._deflate[nA]);a&&(c=new xH(c.buffer,c.byteOffset,c.length-4)),this._deflate[cg]=null,this._deflate[nA]=0,this._deflate[cd]=[],a&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),s(null,c)})}};lT.exports=eD;function NH(e){this[cd].push(e),this[nA]+=e.length}function sT(e){if(this[nA]+=e.length,this[Fv]._maxPayload<1||this[nA]<=this[Fv]._maxPayload){this[cd].push(e);return}this[Ag]=new RangeError("Max payload size exceeded"),this[Ag].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[Ag][oT]=1009,this.removeListener("data",sT),this.reset()}function RH(e){if(this[Fv]._inflate=null,this[Ag]){this[cg](this[Ag]);return}e[oT]=1007,this[cg](e)}});var dg=un((bY,zv)=>{"use strict";var{isUtf8:uT}=Wi("buffer"),{hasBlob:TH}=tA(),OH=[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,1,1,1,1,1,0,0,1,1,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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function kH(e){return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999}function tD(e){let t=e.length,a=0;for(;a<t;)if((e[a]&128)===0)a++;else if((e[a]&224)===192){if(a+1===t||(e[a+1]&192)!==128||(e[a]&254)===192)return!1;a+=2}else if((e[a]&240)===224){if(a+2>=t||(e[a+1]&192)!==128||(e[a+2]&192)!==128||e[a]===224&&(e[a+1]&224)===128||e[a]===237&&(e[a+1]&224)===160)return!1;a+=3}else if((e[a]&248)===240){if(a+3>=t||(e[a+1]&192)!==128||(e[a+2]&192)!==128||(e[a+3]&192)!==128||e[a]===240&&(e[a+1]&240)===128||e[a]===244&&e[a+1]>143||e[a]>244)return!1;a+=4}else return!1;return!0}function FH(e){return TH&&typeof e=="object"&&typeof e.arrayBuffer=="function"&&typeof e.type=="string"&&typeof e.stream=="function"&&(e[Symbol.toStringTag]==="Blob"||e[Symbol.toStringTag]==="File")}zv.exports={isBlob:FH,isValidStatusCode:kH,isValidUTF8:tD,tokenChars:OH};if(uT)zv.exports.isValidUTF8=function(e){return e.length<24?tD(e):uT(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=Wi("utf-8-validate");zv.exports.isValidUTF8=function(t){return t.length<32?tD(t):e(t)}}catch{}});var oD=un((wY,mT)=>{"use strict";var{Writable:zH}=Wi("stream"),cT=jh(),{BINARY_TYPES:MH,EMPTY_BUFFER:AT,kStatusCode:LH,kWebSocket:$H}=tA(),{concat:nD,toArrayBuffer:HH,unmask:GH}=Hh(),{isValidStatusCode:jH,isValidUTF8:dT}=dg(),Mv=Buffer[Symbol.species],rl=0,fT=1,pT=2,gT=3,iD=4,rD=5,Lv=6,aD=class extends zH{constructor(t={}){super(),this._allowSynchronousEvents=t.allowSynchronousEvents!==void 0?t.allowSynchronousEvents:!0,this._binaryType=t.binaryType||MH[0],this._extensions=t.extensions||{},this._isServer=!!t.isServer,this._maxPayload=t.maxPayload|0,this._skipUTF8Validation=!!t.skipUTF8Validation,this[$H]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=rl}_write(t,a,s){if(this._opcode===8&&this._state==rl)return s();this._bufferedBytes+=t.length,this._buffers.push(t),this.startLoop(s)}consume(t){if(this._bufferedBytes-=t,t===this._buffers[0].length)return this._buffers.shift();if(t<this._buffers[0].length){let s=this._buffers[0];return this._buffers[0]=new Mv(s.buffer,s.byteOffset+t,s.length-t),new Mv(s.buffer,s.byteOffset,t)}let a=Buffer.allocUnsafe(t);do{let s=this._buffers[0],i=a.length-t;t>=s.length?a.set(this._buffers.shift(),i):(a.set(new Uint8Array(s.buffer,s.byteOffset,t),i),this._buffers[0]=new Mv(s.buffer,s.byteOffset+t,s.length-t)),t-=s.length}while(t>0);return a}startLoop(t){this._loop=!0;do switch(this._state){case rl:this.getInfo(t);break;case fT:this.getPayloadLength16(t);break;case pT:this.getPayloadLength64(t);break;case gT:this.getMask();break;case iD:this.getData(t);break;case rD:case Lv:this._loop=!1;return}while(this._loop);this._errored||t()}getInfo(t){if(this._bufferedBytes<2){this._loop=!1;return}let a=this.consume(2);if((a[0]&48)!==0){let i=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");t(i);return}let s=(a[0]&64)===64;if(s&&!this._extensions[cT.extensionName]){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(this._fin=(a[0]&128)===128,this._opcode=a[0]&15,this._payloadLength=a[1]&127,this._opcode===0){if(s){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(!this._fragmented){let i=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}this._compressed=s}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let i=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");t(i);return}if(s){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let i=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");t(i);return}}else{let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(a[1]&128)===128,this._isServer){if(!this._masked){let i=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");t(i);return}}else if(this._masked){let i=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");t(i);return}this._payloadLength===126?this._state=fT:this._payloadLength===127?this._state=pT:this.haveLength(t)}getPayloadLength16(t){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(t)}getPayloadLength64(t){if(this._bufferedBytes<8){this._loop=!1;return}let a=this.consume(8),s=a.readUInt32BE(0);if(s>Math.pow(2,21)-1){let i=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");t(i);return}this._payloadLength=s*Math.pow(2,32)+a.readUInt32BE(4),this.haveLength(t)}haveLength(t){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){let a=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");t(a);return}this._masked?this._state=gT:this._state=iD}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=iD}getData(t){let a=AT;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}a=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0&&GH(a,this._mask)}if(this._opcode>7){this.controlMessage(a,t);return}if(this._compressed){this._state=rD,this.decompress(a,t);return}a.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(a)),this.dataMessage(t)}decompress(t,a){this._extensions[cT.extensionName].decompress(t,this._fin,(i,c)=>{if(i)return a(i);if(c.length){if(this._messageLength+=c.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let d=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");a(d);return}this._fragments.push(c)}this.dataMessage(a),this._state===rl&&this.startLoop(a)})}dataMessage(t){if(!this._fin){this._state=rl;return}let a=this._messageLength,s=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let i;this._binaryType==="nodebuffer"?i=nD(s,a):this._binaryType==="arraybuffer"?i=HH(nD(s,a)):this._binaryType==="blob"?i=new Blob(s):i=s,this._allowSynchronousEvents?(this.emit("message",i,!0),this._state=rl):(this._state=Lv,setImmediate(()=>{this.emit("message",i,!0),this._state=rl,this.startLoop(t)}))}else{let i=nD(s,a);if(!this._skipUTF8Validation&&!dT(i)){let c=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");t(c);return}this._state===rD||this._allowSynchronousEvents?(this.emit("message",i,!1),this._state=rl):(this._state=Lv,setImmediate(()=>{this.emit("message",i,!1),this._state=rl,this.startLoop(t)}))}}controlMessage(t,a){if(this._opcode===8){if(t.length===0)this._loop=!1,this.emit("conclude",1005,AT),this.end();else{let s=t.readUInt16BE(0);if(!jH(s)){let c=this.createError(RangeError,`invalid status code ${s}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");a(c);return}let i=new Mv(t.buffer,t.byteOffset+2,t.length-2);if(!this._skipUTF8Validation&&!dT(i)){let c=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");a(c);return}this._loop=!1,this.emit("conclude",s,i),this.end()}this._state=rl;return}this._allowSynchronousEvents?(this.emit(this._opcode===9?"ping":"pong",t),this._state=rl):(this._state=Lv,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",t),this._state=rl,this.startLoop(a)}))}createError(t,a,s,i,c){this._loop=!1,this._errored=!0;let d=new t(s?`Invalid WebSocket frame: ${a}`:a);return Error.captureStackTrace(d,this.createError),d.code=c,d[LH]=i,d}};mT.exports=aD});var uD=un((UY,yT)=>{"use strict";var{Duplex:xY}=Wi("stream"),{randomFillSync:PH}=Wi("crypto"),hT=jh(),{EMPTY_BUFFER:JH,kWebSocket:KH,NOOP:ZH}=tA(),{isBlob:fg,isValidStatusCode:YH}=dg(),{mask:ET,toBuffer:Nf}=Hh(),al=Symbol("kByteLength"),VH=Buffer.alloc(4),$v=8*1024,Rf,pg=$v,Jl=0,qH=1,XH=2,sD=class e{constructor(t,a,s){this._extensions=a||{},s&&(this._generateMask=s,this._maskBuffer=Buffer.alloc(4)),this._socket=t,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=Jl,this.onerror=ZH,this[KH]=void 0}static frame(t,a){let s,i=!1,c=2,d=!1;a.mask&&(s=a.maskBuffer||VH,a.generateMask?a.generateMask(s):(pg===$v&&(Rf===void 0&&(Rf=Buffer.alloc($v)),PH(Rf,0,$v),pg=0),s[0]=Rf[pg++],s[1]=Rf[pg++],s[2]=Rf[pg++],s[3]=Rf[pg++]),d=(s[0]|s[1]|s[2]|s[3])===0,c=6);let E;typeof t=="string"?(!a.mask||d)&&a[al]!==void 0?E=a[al]:(t=Buffer.from(t),E=t.length):(E=t.length,i=a.mask&&a.readOnly&&!d);let C=E;E>=65536?(c+=8,C=127):E>125&&(c+=2,C=126);let I=Buffer.allocUnsafe(i?E+c:c);return I[0]=a.fin?a.opcode|128:a.opcode,a.rsv1&&(I[0]|=64),I[1]=C,C===126?I.writeUInt16BE(E,2):C===127&&(I[2]=I[3]=0,I.writeUIntBE(E,4,6)),a.mask?(I[1]|=128,I[c-4]=s[0],I[c-3]=s[1],I[c-2]=s[2],I[c-1]=s[3],d?[I,t]:i?(ET(t,s,I,c,E),[I]):(ET(t,s,t,0,E),[I,t])):[I,t]}close(t,a,s,i){let c;if(t===void 0)c=JH;else{if(typeof t!="number"||!YH(t))throw new TypeError("First argument must be a valid error code number");if(a===void 0||!a.length)c=Buffer.allocUnsafe(2),c.writeUInt16BE(t,0);else{let E=Buffer.byteLength(a);if(E>123)throw new RangeError("The message must not be greater than 123 bytes");c=Buffer.allocUnsafe(2+E),c.writeUInt16BE(t,0),typeof a=="string"?c.write(a,2):c.set(a,2)}}let d={[al]:c.length,fin:!0,generateMask:this._generateMask,mask:s,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._state!==Jl?this.enqueue([this.dispatch,c,!1,d,i]):this.sendFrame(e.frame(c,d),i)}ping(t,a,s){let i,c;if(typeof t=="string"?(i=Buffer.byteLength(t),c=!1):fg(t)?(i=t.size,c=!1):(t=Nf(t),i=t.length,c=Nf.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let d={[al]:i,fin:!0,generateMask:this._generateMask,mask:a,maskBuffer:this._maskBuffer,opcode:9,readOnly:c,rsv1:!1};fg(t)?this._state!==Jl?this.enqueue([this.getBlobData,t,!1,d,s]):this.getBlobData(t,!1,d,s):this._state!==Jl?this.enqueue([this.dispatch,t,!1,d,s]):this.sendFrame(e.frame(t,d),s)}pong(t,a,s){let i,c;if(typeof t=="string"?(i=Buffer.byteLength(t),c=!1):fg(t)?(i=t.size,c=!1):(t=Nf(t),i=t.length,c=Nf.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let d={[al]:i,fin:!0,generateMask:this._generateMask,mask:a,maskBuffer:this._maskBuffer,opcode:10,readOnly:c,rsv1:!1};fg(t)?this._state!==Jl?this.enqueue([this.getBlobData,t,!1,d,s]):this.getBlobData(t,!1,d,s):this._state!==Jl?this.enqueue([this.dispatch,t,!1,d,s]):this.sendFrame(e.frame(t,d),s)}send(t,a,s){let i=this._extensions[hT.extensionName],c=a.binary?2:1,d=a.compress,E,C;typeof t=="string"?(E=Buffer.byteLength(t),C=!1):fg(t)?(E=t.size,C=!1):(t=Nf(t),E=t.length,C=Nf.readOnly),this._firstFragment?(this._firstFragment=!1,d&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(d=E>=i._threshold),this._compress=d):(d=!1,c=0),a.fin&&(this._firstFragment=!0);let I={[al]:E,fin:a.fin,generateMask:this._generateMask,mask:a.mask,maskBuffer:this._maskBuffer,opcode:c,readOnly:C,rsv1:d};fg(t)?this._state!==Jl?this.enqueue([this.getBlobData,t,this._compress,I,s]):this.getBlobData(t,this._compress,I,s):this._state!==Jl?this.enqueue([this.dispatch,t,this._compress,I,s]):this.dispatch(t,this._compress,I,s)}getBlobData(t,a,s,i){this._bufferedBytes+=s[al],this._state=XH,t.arrayBuffer().then(c=>{if(this._socket.destroyed){let E=new Error("The socket was closed while the blob was being read");process.nextTick(lD,this,E,i);return}this._bufferedBytes-=s[al];let d=Nf(c);a?this.dispatch(d,a,s,i):(this._state=Jl,this.sendFrame(e.frame(d,s),i),this.dequeue())}).catch(c=>{process.nextTick(WH,this,c,i)})}dispatch(t,a,s,i){if(!a){this.sendFrame(e.frame(t,s),i);return}let c=this._extensions[hT.extensionName];this._bufferedBytes+=s[al],this._state=qH,c.compress(t,s.fin,(d,E)=>{if(this._socket.destroyed){let C=new Error("The socket was closed while data was being compressed");lD(this,C,i);return}this._bufferedBytes-=s[al],this._state=Jl,s.readOnly=!1,this.sendFrame(e.frame(E,s),i),this.dequeue()})}dequeue(){for(;this._state===Jl&&this._queue.length;){let t=this._queue.shift();this._bufferedBytes-=t[3][al],Reflect.apply(t[0],this,t.slice(1))}}enqueue(t){this._bufferedBytes+=t[3][al],this._queue.push(t)}sendFrame(t,a){t.length===2?(this._socket.cork(),this._socket.write(t[0]),this._socket.write(t[1],a),this._socket.uncork()):this._socket.write(t[0],a)}};yT.exports=sD;function lD(e,t,a){typeof a=="function"&&a(t);for(let s=0;s<e._queue.length;s++){let i=e._queue[s],c=i[i.length-1];typeof c=="function"&&c(t)}}function WH(e,t,a){lD(e,t,a),e.onerror(t)}});var bT=un((NY,ST)=>{"use strict";var{kForOnEventAttribute:Ph,kListener:cD}=tA(),vT=Symbol("kCode"),CT=Symbol("kData"),IT=Symbol("kError"),BT=Symbol("kMessage"),_T=Symbol("kReason"),gg=Symbol("kTarget"),DT=Symbol("kType"),QT=Symbol("kWasClean"),iA=class{constructor(t){this[gg]=null,this[DT]=t}get target(){return this[gg]}get type(){return this[DT]}};Object.defineProperty(iA.prototype,"target",{enumerable:!0});Object.defineProperty(iA.prototype,"type",{enumerable:!0});var Tf=class extends iA{constructor(t,a={}){super(t),this[vT]=a.code===void 0?0:a.code,this[_T]=a.reason===void 0?"":a.reason,this[QT]=a.wasClean===void 0?!1:a.wasClean}get code(){return this[vT]}get reason(){return this[_T]}get wasClean(){return this[QT]}};Object.defineProperty(Tf.prototype,"code",{enumerable:!0});Object.defineProperty(Tf.prototype,"reason",{enumerable:!0});Object.defineProperty(Tf.prototype,"wasClean",{enumerable:!0});var mg=class extends iA{constructor(t,a={}){super(t),this[IT]=a.error===void 0?null:a.error,this[BT]=a.message===void 0?"":a.message}get error(){return this[IT]}get message(){return this[BT]}};Object.defineProperty(mg.prototype,"error",{enumerable:!0});Object.defineProperty(mg.prototype,"message",{enumerable:!0});var Jh=class extends iA{constructor(t,a={}){super(t),this[CT]=a.data===void 0?null:a.data}get data(){return this[CT]}};Object.defineProperty(Jh.prototype,"data",{enumerable:!0});var eG={addEventListener(e,t,a={}){for(let i of this.listeners(e))if(!a[Ph]&&i[cD]===t&&!i[Ph])return;let s;if(e==="message")s=function(c,d){let E=new Jh("message",{data:d?c:c.toString()});E[gg]=this,Hv(t,this,E)};else if(e==="close")s=function(c,d){let E=new Tf("close",{code:c,reason:d.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});E[gg]=this,Hv(t,this,E)};else if(e==="error")s=function(c){let d=new mg("error",{error:c,message:c.message});d[gg]=this,Hv(t,this,d)};else if(e==="open")s=function(){let c=new iA("open");c[gg]=this,Hv(t,this,c)};else return;s[Ph]=!!a[Ph],s[cD]=t,a.once?this.once(e,s):this.on(e,s)},removeEventListener(e,t){for(let a of this.listeners(e))if(a[cD]===t&&!a[Ph]){this.removeListener(e,a);break}}};ST.exports={CloseEvent:Tf,ErrorEvent:mg,Event:iA,EventTarget:eG,MessageEvent:Jh};function Hv(e,t,a){typeof e=="object"&&e.handleEvent?e.handleEvent.call(e,a):e.call(t,a)}});var AD=un((RY,wT)=>{"use strict";var{tokenChars:Kh}=dg();function Gu(e,t,a){e[t]===void 0?e[t]=[a]:e[t].push(a)}function tG(e){let t=Object.create(null),a=Object.create(null),s=!1,i=!1,c=!1,d,E,C=-1,I=-1,S=-1,T=0;for(;T<e.length;T++)if(I=e.charCodeAt(T),d===void 0)if(S===-1&&Kh[I]===1)C===-1&&(C=T);else if(T!==0&&(I===32||I===9))S===-1&&C!==-1&&(S=T);else if(I===59||I===44){if(C===-1)throw new SyntaxError(`Unexpected character at index ${T}`);S===-1&&(S=T);let O=e.slice(C,S);I===44?(Gu(t,O,a),a=Object.create(null)):d=O,C=S=-1}else throw new SyntaxError(`Unexpected character at index ${T}`);else if(E===void 0)if(S===-1&&Kh[I]===1)C===-1&&(C=T);else if(I===32||I===9)S===-1&&C!==-1&&(S=T);else if(I===59||I===44){if(C===-1)throw new SyntaxError(`Unexpected character at index ${T}`);S===-1&&(S=T),Gu(a,e.slice(C,S),!0),I===44&&(Gu(t,d,a),a=Object.create(null),d=void 0),C=S=-1}else if(I===61&&C!==-1&&S===-1)E=e.slice(C,T),C=S=-1;else throw new SyntaxError(`Unexpected character at index ${T}`);else if(i){if(Kh[I]!==1)throw new SyntaxError(`Unexpected character at index ${T}`);C===-1?C=T:s||(s=!0),i=!1}else if(c)if(Kh[I]===1)C===-1&&(C=T);else if(I===34&&C!==-1)c=!1,S=T;else if(I===92)i=!0;else throw new SyntaxError(`Unexpected character at index ${T}`);else if(I===34&&e.charCodeAt(T-1)===61)c=!0;else if(S===-1&&Kh[I]===1)C===-1&&(C=T);else if(C!==-1&&(I===32||I===9))S===-1&&(S=T);else if(I===59||I===44){if(C===-1)throw new SyntaxError(`Unexpected character at index ${T}`);S===-1&&(S=T);let O=e.slice(C,S);s&&(O=O.replace(/\\/g,""),s=!1),Gu(a,E,O),I===44&&(Gu(t,d,a),a=Object.create(null),d=void 0),E=void 0,C=S=-1}else throw new SyntaxError(`Unexpected character at index ${T}`);if(C===-1||c||I===32||I===9)throw new SyntaxError("Unexpected end of input");S===-1&&(S=T);let z=e.slice(C,S);return d===void 0?Gu(t,z,a):(E===void 0?Gu(a,z,!0):s?Gu(a,E,z.replace(/\\/g,"")):Gu(a,E,z),Gu(t,d,a)),t}function nG(e){return Object.keys(e).map(t=>{let a=e[t];return Array.isArray(a)||(a=[a]),a.map(s=>[t].concat(Object.keys(s).map(i=>{let c=s[i];return Array.isArray(c)||(c=[c]),c.map(d=>d===!0?i:`${i}=${d}`).join("; ")})).join("; ")).join(", ")}).join(", ")}wT.exports={format:nG,parse:tG}});var Jv=un((kY,$T)=>{"use strict";var iG=Wi("events"),rG=Wi("https"),aG=Wi("http"),NT=Wi("net"),oG=Wi("tls"),{randomBytes:sG,createHash:lG}=Wi("crypto"),{Duplex:TY,Readable:OY}=Wi("stream"),{URL:dD}=Wi("url"),Ad=jh(),uG=oD(),cG=uD(),{isBlob:AG}=dg(),{BINARY_TYPES:xT,CLOSE_TIMEOUT:dG,EMPTY_BUFFER:Gv,GUID:fG,kForOnEventAttribute:fD,kListener:pG,kStatusCode:gG,kWebSocket:ma,NOOP:RT}=tA(),{EventTarget:{addEventListener:mG,removeEventListener:hG}}=bT(),{format:EG,parse:yG}=AD(),{toBuffer:vG}=Hh(),TT=Symbol("kAborted"),pD=[8,13],rA=["CONNECTING","OPEN","CLOSING","CLOSED"],CG=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,Gi=class e extends iG{constructor(t,a,s){super(),this._binaryType=xT[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Gv,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=e.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,t!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,a===void 0?a=[]:Array.isArray(a)||(typeof a=="object"&&a!==null?(s=a,a=[]):a=[a]),OT(this,t,a,s)):(this._autoPong=s.autoPong,this._closeTimeout=s.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(t){xT.includes(t)&&(this._binaryType=t,this._receiver&&(this._receiver._binaryType=t))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(t,a,s){let i=new uG({allowSynchronousEvents:s.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:s.maxPayload,skipUTF8Validation:s.skipUTF8Validation}),c=new cG(t,this._extensions,s.generateMask);this._receiver=i,this._sender=c,this._socket=t,i[ma]=this,c[ma]=this,t[ma]=this,i.on("conclude",_G),i.on("drain",DG),i.on("error",QG),i.on("message",SG),i.on("ping",bG),i.on("pong",wG),c.onerror=xG,t.setTimeout&&t.setTimeout(0),t.setNoDelay&&t.setNoDelay(),a.length>0&&t.unshift(a),t.on("close",zT),t.on("data",Pv),t.on("end",MT),t.on("error",LT),this._readyState=e.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=e.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[Ad.extensionName]&&this._extensions[Ad.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=e.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(t,a){if(this.readyState!==e.CLOSED){if(this.readyState===e.CONNECTING){hs(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===e.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=e.CLOSING,this._sender.close(t,a,!this._isServer,s=>{s||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),FT(this)}}pause(){this.readyState===e.CONNECTING||this.readyState===e.CLOSED||(this._paused=!0,this._socket.pause())}ping(t,a,s){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t=="function"?(s=t,t=a=void 0):typeof a=="function"&&(s=a,a=void 0),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){gD(this,t,s);return}a===void 0&&(a=!this._isServer),this._sender.ping(t||Gv,a,s)}pong(t,a,s){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t=="function"?(s=t,t=a=void 0):typeof a=="function"&&(s=a,a=void 0),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){gD(this,t,s);return}a===void 0&&(a=!this._isServer),this._sender.pong(t||Gv,a,s)}resume(){this.readyState===e.CONNECTING||this.readyState===e.CLOSED||(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(t,a,s){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof a=="function"&&(s=a,a={}),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){gD(this,t,s);return}let i={binary:typeof t!="string",mask:!this._isServer,compress:!0,fin:!0,...a};this._extensions[Ad.extensionName]||(i.compress=!1),this._sender.send(t||Gv,i,s)}terminate(){if(this.readyState!==e.CLOSED){if(this.readyState===e.CONNECTING){hs(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=e.CLOSING,this._socket.destroy())}}};Object.defineProperty(Gi,"CONNECTING",{enumerable:!0,value:rA.indexOf("CONNECTING")});Object.defineProperty(Gi.prototype,"CONNECTING",{enumerable:!0,value:rA.indexOf("CONNECTING")});Object.defineProperty(Gi,"OPEN",{enumerable:!0,value:rA.indexOf("OPEN")});Object.defineProperty(Gi.prototype,"OPEN",{enumerable:!0,value:rA.indexOf("OPEN")});Object.defineProperty(Gi,"CLOSING",{enumerable:!0,value:rA.indexOf("CLOSING")});Object.defineProperty(Gi.prototype,"CLOSING",{enumerable:!0,value:rA.indexOf("CLOSING")});Object.defineProperty(Gi,"CLOSED",{enumerable:!0,value:rA.indexOf("CLOSED")});Object.defineProperty(Gi.prototype,"CLOSED",{enumerable:!0,value:rA.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(Gi.prototype,e,{enumerable:!0})});["open","error","close","message"].forEach(e=>{Object.defineProperty(Gi.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[fD])return t[pG];return null},set(t){for(let a of this.listeners(e))if(a[fD]){this.removeListener(e,a);break}typeof t=="function"&&this.addEventListener(e,t,{[fD]:!0})}})});Gi.prototype.addEventListener=mG;Gi.prototype.removeEventListener=hG;$T.exports=Gi;function OT(e,t,a,s){let i={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:dG,protocolVersion:pD[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(e._autoPong=i.autoPong,e._closeTimeout=i.closeTimeout,!pD.includes(i.protocolVersion))throw new RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${pD.join(", ")})`);let c;if(t instanceof dD)c=t;else try{c=new dD(t)}catch{throw new SyntaxError(`Invalid URL: ${t}`)}c.protocol==="http:"?c.protocol="ws:":c.protocol==="https:"&&(c.protocol="wss:"),e._url=c.href;let d=c.protocol==="wss:",E=c.protocol==="ws+unix:",C;if(c.protocol!=="ws:"&&!d&&!E?C=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`:E&&!c.pathname?C="The URL's pathname is empty":c.hash&&(C="The URL contains a fragment identifier"),C){let q=new SyntaxError(C);if(e._redirects===0)throw q;jv(e,q);return}let I=d?443:80,S=sG(16).toString("base64"),T=d?rG.request:aG.request,z=new Set,O;if(i.createConnection=i.createConnection||(d?BG:IG),i.defaultPort=i.defaultPort||I,i.port=c.port||I,i.host=c.hostname.startsWith("[")?c.hostname.slice(1,-1):c.hostname,i.headers={...i.headers,"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":S,Connection:"Upgrade",Upgrade:"websocket"},i.path=c.pathname+c.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate&&(O=new Ad(i.perMessageDeflate!==!0?i.perMessageDeflate:{},!1,i.maxPayload),i.headers["Sec-WebSocket-Extensions"]=EG({[Ad.extensionName]:O.offer()})),a.length){for(let q of a){if(typeof q!="string"||!CG.test(q)||z.has(q))throw new SyntaxError("An invalid or duplicated subprotocol was specified");z.add(q)}i.headers["Sec-WebSocket-Protocol"]=a.join(",")}if(i.origin&&(i.protocolVersion<13?i.headers["Sec-WebSocket-Origin"]=i.origin:i.headers.Origin=i.origin),(c.username||c.password)&&(i.auth=`${c.username}:${c.password}`),E){let q=i.path.split(":");i.socketPath=q[0],i.path=q[1]}let j;if(i.followRedirects){if(e._redirects===0){e._originalIpc=E,e._originalSecure=d,e._originalHostOrSocketPath=E?i.socketPath:c.host;let q=s&&s.headers;if(s={...s,headers:{}},q)for(let[Y,re]of Object.entries(q))s.headers[Y.toLowerCase()]=re}else if(e.listenerCount("redirect")===0){let q=E?e._originalIpc?i.socketPath===e._originalHostOrSocketPath:!1:e._originalIpc?!1:c.host===e._originalHostOrSocketPath;(!q||e._originalSecure&&!d)&&(delete i.headers.authorization,delete i.headers.cookie,q||delete i.headers.host,i.auth=void 0)}i.auth&&!s.headers.authorization&&(s.headers.authorization="Basic "+Buffer.from(i.auth).toString("base64")),j=e._req=T(i),e._redirects&&e.emit("redirect",e.url,j)}else j=e._req=T(i);i.timeout&&j.on("timeout",()=>{hs(e,j,"Opening handshake has timed out")}),j.on("error",q=>{j===null||j[TT]||(j=e._req=null,jv(e,q))}),j.on("response",q=>{let Y=q.headers.location,re=q.statusCode;if(Y&&i.followRedirects&&re>=300&&re<400){if(++e._redirects>i.maxRedirects){hs(e,j,"Maximum redirects exceeded");return}j.abort();let ve;try{ve=new dD(Y,t)}catch{let ge=new SyntaxError(`Invalid URL: ${Y}`);jv(e,ge);return}OT(e,ve,a,s)}else e.emit("unexpected-response",j,q)||hs(e,j,`Unexpected server response: ${q.statusCode}`)}),j.on("upgrade",(q,Y,re)=>{if(e.emit("upgrade",q),e.readyState!==Gi.CONNECTING)return;j=e._req=null;let ve=q.headers.upgrade;if(ve===void 0||ve.toLowerCase()!=="websocket"){hs(e,Y,"Invalid Upgrade header");return}let be=lG("sha1").update(S+fG).digest("base64");if(q.headers["sec-websocket-accept"]!==be){hs(e,Y,"Invalid Sec-WebSocket-Accept header");return}let ge=q.headers["sec-websocket-protocol"],$e;if(ge!==void 0?z.size?z.has(ge)||($e="Server sent an invalid subprotocol"):$e="Server sent a subprotocol but none was requested":z.size&&($e="Server sent no subprotocol"),$e){hs(e,Y,$e);return}ge&&(e._protocol=ge);let mt=q.headers["sec-websocket-extensions"];if(mt!==void 0){if(!O){hs(e,Y,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let at;try{at=yG(mt)}catch{hs(e,Y,"Invalid Sec-WebSocket-Extensions header");return}let Re=Object.keys(at);if(Re.length!==1||Re[0]!==Ad.extensionName){hs(e,Y,"Server indicated an extension that was not requested");return}try{O.accept(at[Ad.extensionName])}catch{hs(e,Y,"Invalid Sec-WebSocket-Extensions header");return}e._extensions[Ad.extensionName]=O}e.setSocket(Y,re,{allowSynchronousEvents:i.allowSynchronousEvents,generateMask:i.generateMask,maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}),i.finishRequest?i.finishRequest(j,e):j.end()}function jv(e,t){e._readyState=Gi.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function IG(e){return e.path=e.socketPath,NT.connect(e)}function BG(e){return e.path=void 0,!e.servername&&e.servername!==""&&(e.servername=NT.isIP(e.host)?"":e.host),oG.connect(e)}function hs(e,t,a){e._readyState=Gi.CLOSING;let s=new Error(a);Error.captureStackTrace(s,hs),t.setHeader?(t[TT]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(jv,e,s)):(t.destroy(s),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function gD(e,t,a){if(t){let s=AG(t)?t.size:vG(t).length;e._socket?e._sender._bufferedBytes+=s:e._bufferedAmount+=s}if(a){let s=new Error(`WebSocket is not open: readyState ${e.readyState} (${rA[e.readyState]})`);process.nextTick(a,s)}}function _G(e,t){let a=this[ma];a._closeFrameReceived=!0,a._closeMessage=t,a._closeCode=e,a._socket[ma]!==void 0&&(a._socket.removeListener("data",Pv),process.nextTick(kT,a._socket),e===1005?a.close():a.close(e,t))}function DG(){let e=this[ma];e.isPaused||e._socket.resume()}function QG(e){let t=this[ma];t._socket[ma]!==void 0&&(t._socket.removeListener("data",Pv),process.nextTick(kT,t._socket),t.close(e[gG])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function UT(){this[ma].emitClose()}function SG(e,t){this[ma].emit("message",e,t)}function bG(e){let t=this[ma];t._autoPong&&t.pong(e,!this._isServer,RT),t.emit("ping",e)}function wG(e){this[ma].emit("pong",e)}function kT(e){e.resume()}function xG(e){let t=this[ma];t.readyState!==Gi.CLOSED&&(t.readyState===Gi.OPEN&&(t._readyState=Gi.CLOSING,FT(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function FT(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function zT(){let e=this[ma];if(this.removeListener("close",zT),this.removeListener("data",Pv),this.removeListener("end",MT),e._readyState=Gi.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&this._readableState.length!==0){let t=this.read(this._readableState.length);e._receiver.write(t)}e._receiver.end(),this[ma]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",UT),e._receiver.on("finish",UT))}function Pv(e){this[ma]._receiver.write(e)||this.pause()}function MT(){let e=this[ma];e._readyState=Gi.CLOSING,e._receiver.end(),this.end()}function LT(){let e=this[ma];this.removeListener("error",LT),this.on("error",RT),e&&(e._readyState=Gi.CLOSING,this.destroy())}});var PT=un((zY,jT)=>{"use strict";var FY=Jv(),{Duplex:UG}=Wi("stream");function HT(e){e.emit("close")}function NG(){!this.destroyed&&this._writableState.finished&&this.destroy()}function GT(e){this.removeListener("error",GT),this.destroy(),this.listenerCount("error")===0&&this.emit("error",e)}function RG(e,t){let a=!0,s=new UG({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(c,d){let E=!d&&s._readableState.objectMode?c.toString():c;s.push(E)||e.pause()}),e.once("error",function(c){s.destroyed||(a=!1,s.destroy(c))}),e.once("close",function(){s.destroyed||s.push(null)}),s._destroy=function(i,c){if(e.readyState===e.CLOSED){c(i),process.nextTick(HT,s);return}let d=!1;e.once("error",function(C){d=!0,c(C)}),e.once("close",function(){d||c(i),process.nextTick(HT,s)}),a&&e.terminate()},s._final=function(i){if(e.readyState===e.CONNECTING){e.once("open",function(){s._final(i)});return}e._socket!==null&&(e._socket._writableState.finished?(i(),s._readableState.endEmitted&&s.destroy()):(e._socket.once("finish",function(){i()}),e.close()))},s._read=function(){e.isPaused&&e.resume()},s._write=function(i,c,d){if(e.readyState===e.CONNECTING){e.once("open",function(){s._write(i,c,d)});return}e.send(i,d)},s.on("end",NG),s.on("error",GT),s}jT.exports=RG});var KT=un((MY,JT)=>{"use strict";var{tokenChars:TG}=dg();function OG(e){let t=new Set,a=-1,s=-1,i=0;for(i;i<e.length;i++){let d=e.charCodeAt(i);if(s===-1&&TG[d]===1)a===-1&&(a=i);else if(i!==0&&(d===32||d===9))s===-1&&a!==-1&&(s=i);else if(d===44){if(a===-1)throw new SyntaxError(`Unexpected character at index ${i}`);s===-1&&(s=i);let E=e.slice(a,s);if(t.has(E))throw new SyntaxError(`The "${E}" subprotocol is duplicated`);t.add(E),a=s=-1}else throw new SyntaxError(`Unexpected character at index ${i}`)}if(a===-1||s!==-1)throw new SyntaxError("Unexpected end of input");let c=e.slice(a,i);if(t.has(c))throw new SyntaxError(`The "${c}" subprotocol is duplicated`);return t.add(c),t}JT.exports={parse:OG}});var eO=un(($Y,WT)=>{"use strict";var kG=Wi("events"),Kv=Wi("http"),{Duplex:LY}=Wi("stream"),{createHash:FG}=Wi("crypto"),ZT=AD(),Of=jh(),zG=KT(),MG=Jv(),{CLOSE_TIMEOUT:LG,GUID:$G,kWebSocket:HG}=tA(),GG=/^[+/0-9A-Za-z]{22}==$/,YT=0,VT=1,XT=2,mD=class extends kG{constructor(t,a){if(super(),t={allowSynchronousEvents:!0,autoPong:!0,maxPayload:100*1024*1024,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:LG,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:MG,...t},t.port==null&&!t.server&&!t.noServer||t.port!=null&&(t.server||t.noServer)||t.server&&t.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(t.port!=null?(this._server=Kv.createServer((s,i)=>{let c=Kv.STATUS_CODES[426];i.writeHead(426,{"Content-Length":c.length,"Content-Type":"text/plain"}),i.end(c)}),this._server.listen(t.port,t.host,t.backlog,a)):t.server&&(this._server=t.server),this._server){let s=this.emit.bind(this,"connection");this._removeListeners=jG(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(i,c,d)=>{this.handleUpgrade(i,c,d,s)}})}t.perMessageDeflate===!0&&(t.perMessageDeflate={}),t.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=t,this._state=YT}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(t){if(this._state===XT){t&&this.once("close",()=>{t(new Error("The server is not running"))}),process.nextTick(Zh,this);return}if(t&&this.once("close",t),this._state!==VT)if(this._state=VT,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients?this.clients.size?this._shouldEmitClose=!0:process.nextTick(Zh,this):process.nextTick(Zh,this);else{let a=this._server;this._removeListeners(),this._removeListeners=this._server=null,a.close(()=>{Zh(this)})}}shouldHandle(t){if(this.options.path){let a=t.url.indexOf("?");if((a!==-1?t.url.slice(0,a):t.url)!==this.options.path)return!1}return!0}handleUpgrade(t,a,s,i){a.on("error",qT);let c=t.headers["sec-websocket-key"],d=t.headers.upgrade,E=+t.headers["sec-websocket-version"];if(t.method!=="GET"){kf(this,t,a,405,"Invalid HTTP method");return}if(d===void 0||d.toLowerCase()!=="websocket"){kf(this,t,a,400,"Invalid Upgrade header");return}if(c===void 0||!GG.test(c)){kf(this,t,a,400,"Missing or invalid Sec-WebSocket-Key header");return}if(E!==13&&E!==8){kf(this,t,a,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(t)){Yh(a,400);return}let C=t.headers["sec-websocket-protocol"],I=new Set;if(C!==void 0)try{I=zG.parse(C)}catch{kf(this,t,a,400,"Invalid Sec-WebSocket-Protocol header");return}let S=t.headers["sec-websocket-extensions"],T={};if(this.options.perMessageDeflate&&S!==void 0){let z=new Of(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let O=ZT.parse(S);O[Of.extensionName]&&(z.accept(O[Of.extensionName]),T[Of.extensionName]=z)}catch{kf(this,t,a,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let z={origin:t.headers[`${E===8?"sec-websocket-origin":"origin"}`],secure:!!(t.socket.authorized||t.socket.encrypted),req:t};if(this.options.verifyClient.length===2){this.options.verifyClient(z,(O,j,q,Y)=>{if(!O)return Yh(a,j||401,q,Y);this.completeUpgrade(T,c,I,t,a,s,i)});return}if(!this.options.verifyClient(z))return Yh(a,401)}this.completeUpgrade(T,c,I,t,a,s,i)}completeUpgrade(t,a,s,i,c,d,E){if(!c.readable||!c.writable)return c.destroy();if(c[HG])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>YT)return Yh(c,503);let I=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${FG("sha1").update(a+$G).digest("base64")}`],S=new this.options.WebSocket(null,void 0,this.options);if(s.size){let T=this.options.handleProtocols?this.options.handleProtocols(s,i):s.values().next().value;T&&(I.push(`Sec-WebSocket-Protocol: ${T}`),S._protocol=T)}if(t[Of.extensionName]){let T=t[Of.extensionName].params,z=ZT.format({[Of.extensionName]:[T]});I.push(`Sec-WebSocket-Extensions: ${z}`),S._extensions=t}this.emit("headers",I,i),c.write(I.concat(`\r
|
|
232
|
+
`).join(`\r
|
|
233
|
+
`)),c.removeListener("error",qT),S.setSocket(c,d,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(S),S.on("close",()=>{this.clients.delete(S),this._shouldEmitClose&&!this.clients.size&&process.nextTick(Zh,this)})),E(S,i)}};WT.exports=mD;function jG(e,t){for(let a of Object.keys(t))e.on(a,t[a]);return function(){for(let s of Object.keys(t))e.removeListener(s,t[s])}}function Zh(e){e._state=XT,e.emit("close")}function qT(){this.destroy()}function Yh(e,t,a,s){a=a||Kv.STATUS_CODES[t],s={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(a),...s},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${Kv.STATUS_CODES[t]}\r
|
|
234
|
+
`+Object.keys(s).map(i=>`${i}: ${s[i]}`).join(`\r
|
|
235
|
+
`)+`\r
|
|
236
|
+
\r
|
|
237
|
+
`+a)}function kf(e,t,a,s,i,c){if(e.listenerCount("wsClientError")){let d=new Error(i);Error.captureStackTrace(d,kf),e.emit("wsClientError",d,a,t)}else Yh(a,s,i,c)}});var PG,JG,KG,tO,ZG,nO,iO=L(()=>{"use strict";PG=It(PT(),1),JG=It(oD(),1),KG=It(uD(),1),tO=It(Jv(),1),ZG=It(eO(),1),nO=tO.default});var Zv,rO=L(()=>{"use strict";iO();Zv=global;Zv.WebSocket||=nO;Zv.window||=global;Zv.self||=global;Zv.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:"InternalApp",isEnabled:!0,isValid:!0},{type:2,value:"InternalAppContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdoutContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStderrContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdinContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalFocusContext",isEnabled:!0,isValid:!0}]});var YG={};import aO from"react-devtools-core";var oO=L(()=>{"use strict";rO();aO.initialize();aO.connectToDevTools()});import VG from"process";var uO,Vh,cO,sO,lO,Yv,hD,aA,ED=L(async()=>{"use strict";uO=It(zR(),1),Vh=It(p_(),1);await xf();cO=It(Mn(),1);await Z_();await VR();if(VG.env.DEV==="true")try{await Promise.resolve().then(()=>(oO(),YG))}catch(e){if(e.code==="ERR_MODULE_NOT_FOUND")console.warn(`
|
|
238
|
+
The environment variable DEV is set to true, so Ink tried to import \`react-devtools-core\`,
|
|
239
|
+
but this failed as it was not installed. Debugging with React Devtools requires it.
|
|
240
|
+
|
|
241
|
+
To install use this command:
|
|
242
|
+
|
|
243
|
+
$ npm install --save-dev react-devtools-core
|
|
244
|
+
`.trim()+`
|
|
245
|
+
`);else throw e}sO=(e,t)=>{if(e===t)return;if(!e)return t;let a={},s=!1;for(let i of Object.keys(e))(!t||!Object.hasOwn(t,i))&&(a[i]=void 0,s=!0);if(t)for(let i of Object.keys(t))t[i]!==e[i]&&(a[i]=t[i],s=!0);return s?a:void 0},lO=e=>{e?.unsetMeasureFunc(),e?.freeRecursive()},Yv=Vh.NoEventPriority,aA=(0,uO.default)({getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>null,preparePortalMount:()=>null,clearContainer:()=>!1,resetAfterCommit(e){if(typeof e.onComputeLayout=="function"&&e.onComputeLayout(),e.isStaticDirty){e.isStaticDirty=!1,typeof e.onImmediateRender=="function"&&e.onImmediateRender();return}typeof e.onRender=="function"&&e.onRender()},getChildHostContext(e,t){let a=e.isInsideText,s=t==="ink-text"||t==="ink-virtual-text";return a===s?e:{isInsideText:s}},shouldSetTextContent:()=>!1,createInstance(e,t,a,s){if(s.isInsideText&&e==="ink-box")throw new Error("<Box> can\u2019t be nested inside <Text> component");let i=e==="ink-text"&&s.isInsideText?"ink-virtual-text":e,c=Nv(i);for(let[d,E]of Object.entries(t))if(d!=="children"){if(d==="style"){K_(c,E),c.yogaNode&&Y_(c.yogaNode,E);continue}if(d==="internal_transform"){c.internal_transform=E;continue}if(d==="internal_static"){hD=a,c.internal_static=!0,a.isStaticDirty=!0,a.staticNode=c;continue}J_(c,d,E)}return c},createTextInstance(e,t,a){if(!a.isInsideText)throw new Error(`Text string "${e}" must be rendered inside <Text> component`);return ZR(e)},resetTextContent(){},hideTextInstance(e){$h(e,"")},unhideTextInstance(e,t){$h(e,t)},getPublicInstance:e=>e,hideInstance(e){e.yogaNode?.setDisplay(gt.DISPLAY_NONE)},unhideInstance(e){e.yogaNode?.setDisplay(gt.DISPLAY_FLEX)},appendInitialChild:Rv,appendChild:Rv,insertBefore:P_,finalizeInitialChildren(){return!1},isPrimaryRenderer:!0,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,scheduleTimeout:setTimeout,cancelTimeout:clearTimeout,noTimeout:-1,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},getInstanceFromNode:()=>null,prepareScopeUpdate(){},getInstanceFromScope:()=>null,appendChildToContainer:Rv,insertInContainerBefore:P_,removeChildFromContainer(e,t){Lh(e,t),lO(t.yogaNode)},commitUpdate(e,t,a,s){hD&&e.internal_static&&(hD.isStaticDirty=!0);let i=sO(a,s),c=sO(a.style,s.style);if(!(!i&&!c)){if(i)for(let[d,E]of Object.entries(i)){if(d==="style"){K_(e,E);continue}if(d==="internal_transform"){e.internal_transform=E;continue}if(d==="internal_static"){e.internal_static=!0;continue}J_(e,d,E)}c&&e.yogaNode&&Y_(e.yogaNode,c)}},commitTextUpdate(e,t,a){$h(e,a)},removeChild(e,t){Lh(e,t),lO(t.yogaNode)},setCurrentUpdatePriority(e){Yv=e},getCurrentUpdatePriority:()=>Yv,resolveUpdatePriority(){return Yv!==Vh.NoEventPriority?Yv:Vh.DefaultEventPriority},maySuspendCommit(){return!1},NotPendingTransition:void 0,HostTransitionContext:(0,cO.createContext)(null),resetFormInstance(){},requestPostPaintCallback(){},shouldAttemptEagerTransition(){return!1},trackSchedulerEvent(){},resolveEventType(){return null},resolveEventTimeStamp(){return-1.1},preloadInstance(){return!0},startSuspendingCommit(){},suspendInstance(){},waitForCommitToBeReady(){return null}})});function yD(e,t=1,a={}){let{indent:s=" ",includeEmptyLines:i=!1}=a;if(typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(t<0)throw new RangeError(`Expected \`count\` to be at least 0, got \`${t}\``);if(typeof s!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof s}\``);if(t===0)return e;let c=i?/^/gm:/^(?!\s*$)/gm;return e.replace(c,s.repeat(t))}var AO=L(()=>{"use strict"});var qG,dO,fO=L(async()=>{"use strict";await xf();qG=e=>e.getComputedWidth()-e.getComputedPadding(gt.EDGE_LEFT)-e.getComputedPadding(gt.EDGE_RIGHT)-e.getComputedBorder(gt.EDGE_LEFT)-e.getComputedBorder(gt.EDGE_RIGHT),dO=qG});var pO=un((eV,XG)=>{XG.exports={single:{topLeft:"\u250C",top:"\u2500",topRight:"\u2510",right:"\u2502",bottomRight:"\u2518",bottom:"\u2500",bottomLeft:"\u2514",left:"\u2502"},double:{topLeft:"\u2554",top:"\u2550",topRight:"\u2557",right:"\u2551",bottomRight:"\u255D",bottom:"\u2550",bottomLeft:"\u255A",left:"\u2551"},round:{topLeft:"\u256D",top:"\u2500",topRight:"\u256E",right:"\u2502",bottomRight:"\u256F",bottom:"\u2500",bottomLeft:"\u2570",left:"\u2502"},bold:{topLeft:"\u250F",top:"\u2501",topRight:"\u2513",right:"\u2503",bottomRight:"\u251B",bottom:"\u2501",bottomLeft:"\u2517",left:"\u2503"},singleDouble:{topLeft:"\u2553",top:"\u2500",topRight:"\u2556",right:"\u2551",bottomRight:"\u255C",bottom:"\u2500",bottomLeft:"\u2559",left:"\u2551"},doubleSingle:{topLeft:"\u2552",top:"\u2550",topRight:"\u2555",right:"\u2502",bottomRight:"\u255B",bottom:"\u2550",bottomLeft:"\u2558",left:"\u2502"},classic:{topLeft:"+",top:"-",topRight:"+",right:"|",bottomRight:"+",bottom:"-",bottomLeft:"+",left:"|"},arrow:{topLeft:"\u2198",top:"\u2193",topRight:"\u2199",right:"\u2190",bottomRight:"\u2196",bottom:"\u2191",bottomLeft:"\u2197",left:"\u2192"}}});var mO=un((tV,vD)=>{"use strict";var gO=pO();vD.exports=gO;vD.exports.default=gO});function tj(){let e=new Map;for(let[t,a]of Object.entries(ji)){for(let[s,i]of Object.entries(a))ji[s]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},a[s]=ji[s],e.set(i[0],i[1]);Object.defineProperty(ji,t,{value:a,enumerable:!1})}return Object.defineProperty(ji,"codes",{value:e,enumerable:!1}),ji.color.close="\x1B[39m",ji.bgColor.close="\x1B[49m",ji.color.ansi=hO(),ji.color.ansi256=EO(),ji.color.ansi16m=yO(),ji.bgColor.ansi=hO(10),ji.bgColor.ansi256=EO(10),ji.bgColor.ansi16m=yO(10),Object.defineProperties(ji,{rgbToAnsi256:{value(t,a,s){return t===a&&a===s?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(a/255*5)+Math.round(s/255*5)},enumerable:!1},hexToRgb:{value(t){let a=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!a)return[0,0,0];let[s]=a;s.length===3&&(s=[...s].map(c=>c+c).join(""));let i=Number.parseInt(s,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>ji.rgbToAnsi256(...ji.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let a,s,i;if(t>=232)a=((t-232)*10+8)/255,s=a,i=a;else{t-=16;let E=t%36;a=Math.floor(t/36)/5,s=Math.floor(E/6)/5,i=E%6/5}let c=Math.max(a,s,i)*2;if(c===0)return 30;let d=30+(Math.round(i)<<2|Math.round(s)<<1|Math.round(a));return c===2&&(d+=60),d},enumerable:!1},rgbToAnsi:{value:(t,a,s)=>ji.ansi256ToAnsi(ji.rgbToAnsi256(t,a,s)),enumerable:!1},hexToAnsi:{value:t=>ji.ansi256ToAnsi(ji.hexToAnsi256(t)),enumerable:!1}}),ji}var hO,EO,yO,ji,nV,WG,ej,iV,nj,Kl,vO=L(()=>{"use strict";hO=(e=0)=>t=>`\x1B[${t+e}m`,EO=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,yO=(e=0)=>(t,a,s)=>`\x1B[${38+e};2;${t};${a};${s}m`,ji={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},nV=Object.keys(ji.modifier),WG=Object.keys(ji.color),ej=Object.keys(ji.bgColor),iV=[...WG,...ej];nj=tj(),Kl=nj});import CD from"process";import ij from"os";import CO from"tty";function ol(e,t=globalThis.Deno?globalThis.Deno.args:CD.argv){let a=e.startsWith("-")?"":e.length===1?"-":"--",s=t.indexOf(a+e),i=t.indexOf("--");return s!==-1&&(i===-1||s<i)}function rj(){if("FORCE_COLOR"in Pi)return Pi.FORCE_COLOR==="true"?1:Pi.FORCE_COLOR==="false"?0:Pi.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Pi.FORCE_COLOR,10),3)}function aj(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function oj(e,{streamIsTTY:t,sniffFlags:a=!0}={}){let s=rj();s!==void 0&&(Vv=s);let i=a?Vv:s;if(i===0)return 0;if(a){if(ol("color=16m")||ol("color=full")||ol("color=truecolor"))return 3;if(ol("color=256"))return 2}if("TF_BUILD"in Pi&&"AGENT_NAME"in Pi)return 1;if(e&&!t&&i===void 0)return 0;let c=i||0;if(Pi.TERM==="dumb")return c;if(CD.platform==="win32"){let d=ij.release().split(".");return Number(d[0])>=10&&Number(d[2])>=10586?Number(d[2])>=14931?3:2:1}if("CI"in Pi)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(d=>d in Pi)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(d=>d in Pi)||Pi.CI_NAME==="codeship"?1:c;if("TEAMCITY_VERSION"in Pi)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Pi.TEAMCITY_VERSION)?1:0;if(Pi.COLORTERM==="truecolor"||Pi.TERM==="xterm-kitty"||Pi.TERM==="xterm-ghostty"||Pi.TERM==="wezterm")return 3;if("TERM_PROGRAM"in Pi){let d=Number.parseInt((Pi.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Pi.TERM_PROGRAM){case"iTerm.app":return d>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Pi.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Pi.TERM)||"COLORTERM"in Pi?1:c}function IO(e,t={}){let a=oj(e,{streamIsTTY:e&&e.isTTY,...t});return aj(a)}var Pi,Vv,sj,BO,_O=L(()=>{"use strict";({env:Pi}=CD);ol("no-color")||ol("no-colors")||ol("color=false")||ol("color=never")?Vv=0:(ol("color")||ol("colors")||ol("color=true")||ol("color=always"))&&(Vv=1);sj={stdout:IO({isTTY:CO.isatty(1)}),stderr:IO({isTTY:CO.isatty(2)})},BO=sj});function DO(e,t,a){let s=e.indexOf(t);if(s===-1)return e;let i=t.length,c=0,d="";do d+=e.slice(c,s)+t+a,c=s+i,s=e.indexOf(t,c);while(s!==-1);return d+=e.slice(c),d}function QO(e,t,a,s){let i=0,c="";do{let d=e[s-1]==="\r";c+=e.slice(i,d?s-1:s)+t+(d?`\r
|
|
246
|
+
`:`
|
|
247
|
+
`)+a,i=s+1,s=e.indexOf(`
|
|
248
|
+
`,i)}while(s!==-1);return c+=e.slice(i),c}var SO=L(()=>{"use strict"});function Xh(e){return uj(e)}var bO,wO,ID,hg,qh,xO,Eg,lj,uj,BD,cj,Aj,_D,qv,dj,fj,fV,Vn,Wh=L(()=>{"use strict";vO();_O();SO();({stdout:bO,stderr:wO}=BO),ID=Symbol("GENERATOR"),hg=Symbol("STYLER"),qh=Symbol("IS_EMPTY"),xO=["ansi","ansi","ansi256","ansi16m"],Eg=Object.create(null),lj=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let a=bO?bO.level:0;e.level=t.level===void 0?a:t.level},uj=e=>{let t=(...a)=>a.join(" ");return lj(t,e),Object.setPrototypeOf(t,Xh.prototype),t};Object.setPrototypeOf(Xh.prototype,Function.prototype);for(let[e,t]of Object.entries(Kl))Eg[e]={get(){let a=qv(this,_D(t.open,t.close,this[hg]),this[qh]);return Object.defineProperty(this,e,{value:a}),a}};Eg.visible={get(){let e=qv(this,this[hg],!0);return Object.defineProperty(this,"visible",{value:e}),e}};BD=(e,t,a,...s)=>e==="rgb"?t==="ansi16m"?Kl[a].ansi16m(...s):t==="ansi256"?Kl[a].ansi256(Kl.rgbToAnsi256(...s)):Kl[a].ansi(Kl.rgbToAnsi(...s)):e==="hex"?BD("rgb",t,a,...Kl.hexToRgb(...s)):Kl[a][e](...s),cj=["rgb","hex","ansi256"];for(let e of cj){Eg[e]={get(){let{level:a}=this;return function(...s){let i=_D(BD(e,xO[a],"color",...s),Kl.color.close,this[hg]);return qv(this,i,this[qh])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);Eg[t]={get(){let{level:a}=this;return function(...s){let i=_D(BD(e,xO[a],"bgColor",...s),Kl.bgColor.close,this[hg]);return qv(this,i,this[qh])}}}}Aj=Object.defineProperties(()=>{},{...Eg,level:{enumerable:!0,get(){return this[ID].level},set(e){this[ID].level=e}}}),_D=(e,t,a)=>{let s,i;return a===void 0?(s=e,i=t):(s=a.openAll+e,i=t+a.closeAll),{open:e,close:t,openAll:s,closeAll:i,parent:a}},qv=(e,t,a)=>{let s=(...i)=>dj(s,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(s,Aj),s[ID]=e,s[hg]=t,s[qh]=a,s},dj=(e,t)=>{if(e.level<=0||!t)return e[qh]?"":t;let a=e[hg];if(a===void 0)return t;let{openAll:s,closeAll:i}=a;if(t.includes("\x1B"))for(;a!==void 0;)t=DO(t,a.close,a.open),a=a.parent;let c=t.indexOf(`
|
|
249
|
+
`);return c!==-1&&(t=QO(t,i,s,c)),s+t+i};Object.defineProperties(Xh.prototype,Eg);fj=Xh(),fV=Xh({level:wO?wO.level:0}),Vn=fj});var pj,gj,mj,hj,ju,Xv=L(()=>{"use strict";Wh();pj=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,gj=/^ansi256\(\s?(\d+)\s?\)$/,mj=e=>e in Vn,hj=(e,t,a)=>{if(!t)return e;if(mj(t)){if(a==="foreground")return Vn[t](e);let s=`bg${t[0].toUpperCase()+t.slice(1)}`;return Vn[s](e)}if(t.startsWith("#"))return a==="foreground"?Vn.hex(t)(e):Vn.bgHex(t)(e);if(t.startsWith("ansi256")){let s=gj.exec(t);if(!s)return e;let i=Number(s[1]);return a==="foreground"?Vn.ansi256(i)(e):Vn.bgAnsi256(i)(e)}if(t.startsWith("rgb")){let s=pj.exec(t);if(!s)return e;let i=Number(s[1]),c=Number(s[2]),d=Number(s[3]);return a==="foreground"?Vn.rgb(i,c,d)(e):Vn.bgRgb(i,c,d)(e)}return e},ju=hj});var UO,Ej,NO,RO=L(()=>{"use strict";UO=It(mO(),1);Wh();Xv();Ej=(e,t,a,s)=>{if(a.style.borderStyle){let i=a.yogaNode.getComputedWidth(),c=a.yogaNode.getComputedHeight(),d=typeof a.style.borderStyle=="string"?UO.default[a.style.borderStyle]:a.style.borderStyle,E=a.style.borderTopColor??a.style.borderColor,C=a.style.borderBottomColor??a.style.borderColor,I=a.style.borderLeftColor??a.style.borderColor,S=a.style.borderRightColor??a.style.borderColor,T=a.style.borderTopDimColor??a.style.borderDimColor,z=a.style.borderBottomDimColor??a.style.borderDimColor,O=a.style.borderLeftDimColor??a.style.borderDimColor,j=a.style.borderRightDimColor??a.style.borderDimColor,q=a.style.borderTop!==!1,Y=a.style.borderBottom!==!1,re=a.style.borderLeft!==!1,ve=a.style.borderRight!==!1,be=i-(re?1:0)-(ve?1:0),ge=q?ju((re?d.topLeft:"")+d.top.repeat(be)+(ve?d.topRight:""),E,"foreground"):void 0;q&&T&&(ge=Vn.dim(ge));let $e=c;q&&($e-=1),Y&&($e-=1);let mt=(ju(d.left,I,"foreground")+`
|
|
250
|
+
`).repeat($e);O&&(mt=Vn.dim(mt));let at=(ju(d.right,S,"foreground")+`
|
|
251
|
+
`).repeat($e);j&&(at=Vn.dim(at));let Re=Y?ju((re?d.bottomLeft:"")+d.bottom.repeat(be)+(ve?d.bottomRight:""),C,"foreground"):void 0;Y&&z&&(Re=Vn.dim(Re));let et=q?1:0;ge&&s.write(e,t,ge,{transformers:[]}),re&&s.write(e,t+et,mt,{transformers:[]}),ve&&s.write(e+i-1,t+et,at,{transformers:[]}),Re&&s.write(e,t+c-1,Re,{transformers:[]})}},NO=Ej});var yj,TO,OO=L(()=>{"use strict";Xv();yj=(e,t,a,s)=>{if(!a.style.backgroundColor)return;let i=a.yogaNode.getComputedWidth(),c=a.yogaNode.getComputedHeight(),d=a.style.borderStyle&&a.style.borderLeft!==!1?1:0,E=a.style.borderStyle&&a.style.borderRight!==!1?1:0,C=a.style.borderStyle&&a.style.borderTop!==!1?1:0,I=a.style.borderStyle&&a.style.borderBottom!==!1?1:0,S=i-d-E,T=c-C-I;if(!(S>0&&T>0))return;let z=ju(" ".repeat(S),a.style.backgroundColor,"background");for(let O=0;O<T;O++)s.write(e+d,t+C+O,z,{transformers:[]})},TO=yj});var vj,Wv,kO,DD,FO=L(async()=>{"use strict";bv();AO();await xf();G_();await fO();j_();RO();OO();vj=(e,t)=>{let a=e.childNodes[0]?.yogaNode;if(a){let s=a.getComputedLeft(),i=a.getComputedTop();t=`
|
|
252
|
+
`.repeat(i)+yD(t,s)}return t},Wv=(e,t={})=>{if(t.skipStaticElements&&e.internal_static||e.yogaNode?.getDisplay()===gt.DISPLAY_NONE)return"";let a="";if(e.nodeName==="ink-text")a=Mh(e);else if(e.nodeName==="ink-box"||e.nodeName==="ink-root"){let s=e.style.flexDirection==="row"||e.style.flexDirection==="row-reverse"?" ":`
|
|
253
|
+
`;a=(e.style.flexDirection==="row-reverse"||e.style.flexDirection==="column-reverse"?[...e.childNodes].reverse():[...e.childNodes]).map(c=>Wv(c,{parentRole:e.internal_accessibility?.role,skipStaticElements:t.skipStaticElements})).filter(Boolean).join(s)}if(e.internal_accessibility){let{role:s,state:i}=e.internal_accessibility;if(i){let d=Object.keys(i).filter(E=>i[E]).join(", ");d&&(a=`(${d}) ${a}`)}s&&s!==t.parentRole&&(a=`${s}: ${a}`)}return a},kO=(e,t,a)=>{let{offsetX:s=0,offsetY:i=0,transformers:c=[],skipStaticElements:d}=a;if(d&&e.internal_static)return;let{yogaNode:E}=e;if(E){if(E.getDisplay()===gt.DISPLAY_NONE)return;let C=s+E.getComputedLeft(),I=i+E.getComputedTop(),S=c;if(typeof e.internal_transform=="function"&&(S=[e.internal_transform,...c]),e.nodeName==="ink-text"){let z=Mh(e);if(z.length>0){let O=Uf(z),j=dO(E);if(O>j){let q=e.style.textWrap??"wrap";z=Uv(z,j,q)}z=vj(e,z),t.write(C,I,z,{transformers:S})}return}let T=!1;if(e.nodeName==="ink-box"){TO(C,I,e,t),NO(C,I,e,t);let z=e.style.overflowX==="hidden"||e.style.overflow==="hidden",O=e.style.overflowY==="hidden"||e.style.overflow==="hidden";if(z||O){let j=z?C+E.getComputedBorder(gt.EDGE_LEFT):void 0,q=z?C+E.getComputedWidth()-E.getComputedBorder(gt.EDGE_RIGHT):void 0,Y=O?I+E.getComputedBorder(gt.EDGE_TOP):void 0,re=O?I+E.getComputedHeight()-E.getComputedBorder(gt.EDGE_BOTTOM):void 0;t.clip({x1:j,x2:q,y1:Y,y2:re}),T=!0}}if(e.nodeName==="ink-root"||e.nodeName==="ink-box"){for(let z of e.childNodes)kO(z,t,{offsetX:C,offsetY:I,transformers:S,skipStaticElements:d});T&&t.unclip()}}},DD=kO});function eE(e){return Number.isInteger(e)?xh(e)||Uh(e):!1}var QD=L(()=>{"use strict";D_()});function Dj(e){if(bD.has(e))return e;if(SD.has(e))return SD.get(e);e=e.slice(2),e.includes(";")&&(e=e[0]+"0");let t=li.codes.get(Number.parseInt(e,10));return t?li.color.ansi(t):li.reset.open}function Qj(e){for(let t=0;t<e.length;t++){let a=e.codePointAt(t);if(a>=Ij&&a<=Bj)return t}return-1}function Sj(e,t){e=e.slice(t,t+_j);let a=Qj(e);if(a!==-1){let s=e.indexOf("m",a);return s===-1&&(s=e.length),e.slice(0,s+1)}}function bj(e,t=Number.POSITIVE_INFINITY){let a=[],s=0,i=0;for(;s<e.length;){let c=e.codePointAt(s);if(Cj.has(c)){let C=Sj(e,s);if(C){a.push({type:"ansi",code:C,endCode:Dj(C)}),s+=C.length;continue}}let d=eE(c),E=String.fromCodePoint(c);if(a.push({type:"character",value:E,isFullWidth:d}),s+=E.length,i+=d?2:E.length,i>=t)break}return a}function zO(e){let t=[];for(let a of e)a.code===li.reset.open?t=[]:bD.has(a.code)?t=t.filter(s=>s.endCode!==a.code):(t=t.filter(s=>s.endCode!==a.endCode),t.push(a));return t}function wj(e){return zO(e).map(({endCode:s})=>s).reverse().join("")}function wD(e,t,a){let s=bj(e,a),i=[],c=0,d="",E=!1;for(let C of s){if(a!==void 0&&c>=a)break;C.type==="ansi"?(i.push(C),E&&(d+=C.code)):(!E&&c>=t&&(E=!0,i=zO(i),d=i.map(({code:I})=>I).join("")),E&&(d+=C.value),c+=C.isFullWidth?2:C.value.length)}return d+=wj(i),d}var Cj,Ij,Bj,_j,bD,SD,MO=L(()=>{"use strict";sg();QD();Cj=new Set([27,155]),Ij="0".codePointAt(0),Bj="9".codePointAt(0),_j=19,bD=new Set,SD=new Map;for(let[e,t]of li.codes)bD.add(li.color.ansi(t)),SD.set(li.color.ansi(e),li.color.ansi(t))});function ND(e){if(eC.has(e))return e;if(xD.has(e))return xD.get(e);if(e.startsWith(tC))return xj;if(e=e.slice(2),e.startsWith("38"))return li.color.close;if(e.startsWith("48"))return li.bgColor.close;let t=li.codes.get(parseInt(e,10));return t?li.color.ansi(t):li.reset.open}function tE(e){return[...new Set(e.map(a=>a.code))].join("")}function nC(e){return e.code===li.bold.open||e.code===li.dim.open}var LO,$O,HO,eC,xD,tC,UD,GO,FV,xj,yg=L(()=>{"use strict";sg();LO=new Set([27,155]),$O="[".codePointAt(0),HO="]".codePointAt(0),eC=new Set,xD=new Map;for(let[e,t]of li.codes)eC.add(li.color.ansi(t)),xD.set(li.color.ansi(e),li.color.ansi(t));tC="\x1B]8;;",UD=tC.split("").map(e=>e.charCodeAt(0)),GO="\x07",FV=GO.charCodeAt(0),xj=`\x1B]8;;${GO}`});function RD(e){return iC([],e)}function iC(e,t){let a=[...e];for(let s of t)s.code===li.reset.open?a=[]:eC.has(s.code)?a=a.filter(i=>i.endCode!==s.code):nC(s)?a.find(i=>i.code===s.code&&i.endCode===s.endCode)||a.push(s):(a=a.filter(i=>i.endCode!==s.endCode),a.push(s));return a}var rC=L(()=>{"use strict";sg();yg()});function TD(e){return RD(e).reverse().map(t=>({...t,code:t.endCode}))}var OD=L(()=>{"use strict";rC()});function aC(e,t){let a=new Set(t.map(c=>c.endCode)),s=new Set(t.map(c=>c.code)),i=new Set(e.map(c=>c.code));return[...TD(e.filter(c=>nC(c)?!s.has(c.code):!a.has(c.endCode))),...t.filter(c=>!i.has(c.code))]}var kD=L(()=>{"use strict";yg();OD()});function jO(e){let t=[],a=[];for(let s of e)s.type==="ansi"?t=iC(t,[s]):s.type==="char"&&a.push({...s,styles:[...t]});return a}function PO(e){let t="";for(let a=0;a<e.length;a++){let s=e[a];a===0?t+=tE(s.styles):t+=tE(aC(e[a-1].styles,s.styles)),t+=s.value,a===e.length-1&&(t+=tE(aC(s.styles,[])))}return t}var JO=L(()=>{"use strict";yg();kD();rC()});function Uj(e,t){e=e.slice(t);for(let s=1;s<UD.length;s++)if(e.charCodeAt(s)!==UD[s])return;let a=e.indexOf("\x07",tC.length);if(a!==-1)return e.slice(0,a+1)}function kj(e){for(let t=2;t<e.length;t++){let a=e.charCodeAt(t);if(a===Oj)return t;if(a!==Tj&&!(a>=Nj&&a<=Rj))break}return-1}function Fj(e,t){e=e.slice(t);let a=kj(e);if(a!==-1)return e.slice(0,a+1)}function zj(e){if(!e.includes(";"))return[e];let t=e.slice(2,-1).split(";"),a=[];for(let s=0;s<t.length;s++){let i=t[s];if(i==="38"||i==="48"){if(s+2<t.length&&t[s+1]==="5"){a.push(t.slice(s,s+3).join(";")),s+=2;continue}else if(s+4<t.length&&t[s+1]==="2"){a.push(t.slice(s,s+5).join(";")),s+=4;continue}}a.push(i)}return a.map(s=>`\x1B[${s}m`)}function KO(e,t=Number.POSITIVE_INFINITY){let a=[],s=0,i=0;for(;s<e.length;){let c=e.codePointAt(s);if(LO.has(c)){let C,I=e.codePointAt(s+1);if(I===HO)C=Uj(e,s),C&&a.push({type:"ansi",code:C,endCode:ND(C)});else if(I===$O&&(C=Fj(e,s),C)){let S=zj(C);for(let T of S)a.push({type:"ansi",code:T,endCode:ND(T)})}if(C){s+=C.length;continue}}let d=eE(c),E=String.fromCodePoint(c);if(a.push({type:"char",value:E,fullWidth:d}),s+=E.length,i+=d?2:E.length,i>=t)break}return a}var Nj,Rj,Tj,Oj,ZO=L(()=>{"use strict";QD();yg();Nj=48,Rj=57,Tj=59,Oj=109});var YO=L(()=>{"use strict";yg();kD();rC();JO();ZO();OD()});var vg,VO=L(()=>{"use strict";MO();Nh();bv();YO();vg=class{width;height;operations=[];constructor(t){let{width:a,height:s}=t;this.width=a,this.height=s}write(t,a,s,i){let{transformers:c}=i;s&&this.operations.push({type:"write",x:t,y:a,text:s,transformers:c})}clip(t){this.operations.push({type:"clip",clip:t})}unclip(){this.operations.push({type:"unclip"})}get(){let t=[];for(let i=0;i<this.height;i++){let c=[];for(let d=0;d<this.width;d++)c.push({type:"char",value:" ",fullWidth:!1,styles:[]});t.push(c)}let a=[];for(let i of this.operations)if(i.type==="clip"&&a.push(i.clip),i.type==="unclip"&&a.pop(),i.type==="write"){let{text:c,transformers:d}=i,{x:E,y:C}=i,I=c.split(`
|
|
254
|
+
`),S=a.at(-1);if(S){let z=typeof S?.x1=="number"&&typeof S?.x2=="number",O=typeof S?.y1=="number"&&typeof S?.y2=="number";if(z){let j=Uf(c);if(E+j<S.x1||E>S.x2)continue}if(O){let j=I.length;if(C+j<S.y1||C>S.y2)continue}if(z&&(I=I.map(j=>{let q=E<S.x1?S.x1-E:0,Y=Na(j),re=E+Y>S.x2?S.x2-E:Y;return wD(j,q,re)}),E<S.x1&&(E=S.x1)),O){let j=C<S.y1?S.y1-C:0,q=I.length,Y=C+q>S.y2?S.y2-C:q;I=I.slice(j,Y),C<S.y1&&(C=S.y1)}}let T=0;for(let[z,O]of I.entries()){let j=t[C+T];if(!j)continue;for(let re of d)O=re(O,z);let q=jO(KO(O)),Y=E;for(let re of q){j[Y]=re;let ve=Math.max(1,Na(re.value));if(ve>1)for(let be=1;be<ve;be++)j[Y+be]={type:"char",value:"",fullWidth:!1,styles:re.styles};Y+=ve}T++}}return{output:t.map(i=>{let c=i.filter(d=>d!==void 0);return PO(c).trimEnd()}).join(`
|
|
255
|
+
`),height:t.length}}}});var Mj,qO,XO=L(async()=>{"use strict";await FO();VO();Mj=(e,t)=>{if(e.yogaNode){if(t){let d=Wv(e,{skipStaticElements:!0}),E=d===""?0:d.split(`
|
|
256
|
+
`).length,C="";return e.staticNode&&(C=Wv(e.staticNode,{skipStaticElements:!1})),{output:d,outputHeight:E,staticOutput:C?`${C}
|
|
257
|
+
`:""}}let a=new vg({width:e.yogaNode.getComputedWidth(),height:e.yogaNode.getComputedHeight()});DD(e,a,{skipStaticElements:!0});let s;e.staticNode?.yogaNode&&(s=new vg({width:e.staticNode.yogaNode.getComputedWidth(),height:e.staticNode.yogaNode.getComputedHeight()}),DD(e.staticNode,s,{skipStaticElements:!1}));let{output:i,height:c}=a.get();return{output:i,outputHeight:c,staticOutput:s?`${s.get().output}
|
|
258
|
+
`:""}}return{output:"",outputHeight:0,staticOutput:""}},qO=Mj});var ek=un((gq,FD)=>{"use strict";var WO=(e,t)=>{for(let a of Reflect.ownKeys(t))Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a));return e};FD.exports=WO;FD.exports.default=WO});var nk=un((mq,sC)=>{"use strict";var Lj=ek(),oC=new WeakMap,tk=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let a,s=0,i=e.displayName||e.name||"<anonymous>",c=function(...d){if(oC.set(c,++s),s===1)a=e.apply(this,d),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return a};return Lj(c,e),oC.set(c,s),c};sC.exports=tk;sC.exports.default=tk;sC.exports.callCount=e=>{if(!oC.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return oC.get(e)}});import $j from"process";var ik,rk,Hj,ak,ok=L(()=>{"use strict";ik=It(nk(),1),rk=It(A_(),1),Hj=(0,ik.default)(()=>{(0,rk.default)(()=>{$j.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),ak=Hj});import sk from"process";var lC,Cg,Ig,zD=L(()=>{"use strict";ok();lC=!1,Cg={};Cg.show=(e=sk.stderr)=>{e.isTTY&&(lC=!1,e.write("\x1B[?25h"))};Cg.hide=(e=sk.stderr)=>{e.isTTY&&(ak(),lC=!0,e.write("\x1B[?25l"))};Cg.toggle=(e,t)=>{e!==void 0&&(lC=e),lC?Cg.show(t):Cg.hide(t)};Ig=Cg});var Gj,jj,lk,uk=L(()=>{"use strict";o_();zD();Gj=(e,{showCursor:t=!1}={})=>{let a=0,s="",i=!1,c=d=>{!t&&!i&&(Ig.hide(),i=!0);let E=d+`
|
|
259
|
+
`;E!==s&&(s=E,e.write(qc.eraseLines(a)+E),a=E.split(`
|
|
260
|
+
`).length)};return c.clear=()=>{e.write(qc.eraseLines(a)),s="",a=0},c.done=()=>{s="",a=0,t||(Ig.show(),i=!1)},c.sync=d=>{let E=d+`
|
|
261
|
+
`;s=E,a=E.split(`
|
|
262
|
+
`).length},c},jj={create:Gj},lk=jj});var Pj,Bg,MD=L(()=>{"use strict";Pj=new WeakMap,Bg=Pj});var ck,Ak,LD,$D=L(()=>{"use strict";ck=It(Mn(),1),Ak=(0,ck.createContext)({exit(){}});Ak.displayName="InternalAppContext";LD=Ak});import{EventEmitter as Jj}from"events";import Kj from"process";var dk,fk,uC,HD=L(()=>{"use strict";dk=It(Mn(),1),fk=(0,dk.createContext)({stdin:Kj.stdin,internal_eventEmitter:new Jj,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0});fk.displayName="InternalStdinContext";uC=fk});import Zj from"process";var pk,gk,GD,jD=L(()=>{"use strict";pk=It(Mn(),1),gk=(0,pk.createContext)({stdout:Zj.stdout,write(){}});gk.displayName="InternalStdoutContext";GD=gk});import Yj from"process";var mk,hk,PD,JD=L(()=>{"use strict";mk=It(Mn(),1),hk=(0,mk.createContext)({stderr:Yj.stderr,write(){}});hk.displayName="InternalStderrContext";PD=hk});var Ek,yk,cC,AC=L(()=>{"use strict";Ek=It(Mn(),1),yk=(0,Ek.createContext)({activeId:void 0,add(){},remove(){},activate(){},deactivate(){},enableFocus(){},disableFocus(){},focusNext(){},focusPrevious(){},focus(){}});yk.displayName="InternalFocusContext";cC=yk});var Ck=un((Oq,vk)=>{"use strict";var Vj=/[|\\{}()[\]^$+*?.-]/g;vk.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(Vj,"\\$&")}});var Dk=un((kq,_k)=>{"use strict";var qj=Ck(),Xj=typeof process=="object"&&process&&typeof process.cwd=="function"?process.cwd():".",Bk=[].concat(Wi("module").builtinModules,"bootstrap_node","node").map(e=>new RegExp(`(?:\\((?:node:)?${e}(?:\\.js)?:\\d+:\\d+\\)$|^\\s*at (?:node:)?${e}(?:\\.js)?:\\d+:\\d+$)`));Bk.push(/\((?:node:)?internal\/[^:]+:\d+:\d+\)$/,/\s*at (?:node:)?internal\/[^:]+:\d+:\d+$/,/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/);var KD=class e{constructor(t){t={ignoredPackages:[],...t},"internals"in t||(t.internals=e.nodeInternals()),"cwd"in t||(t.cwd=Xj),this._cwd=t.cwd.replace(/\\/g,"/"),this._internals=[].concat(t.internals,Wj(t.ignoredPackages)),this._wrapCallSite=t.wrapCallSite||!1}static nodeInternals(){return[...Bk]}clean(t,a=0){a=" ".repeat(a),Array.isArray(t)||(t=t.split(`
|
|
263
|
+
`)),!/^\s*at /.test(t[0])&&/^\s*at /.test(t[1])&&(t=t.slice(1));let s=!1,i=null,c=[];return t.forEach(d=>{if(d=d.replace(/\\/g,"/"),this._internals.some(C=>C.test(d)))return;let E=/^\s*at /.test(d);s?d=d.trimEnd().replace(/^(\s+)at /,"$1"):(d=d.trim(),E&&(d=d.slice(3))),d=d.replace(`${this._cwd}/`,""),d&&(E?(i&&(c.push(i),i=null),c.push(d)):(s=!0,i=d))}),c.map(d=>`${a}${d}
|
|
264
|
+
`).join("")}captureString(t,a=this.captureString){typeof t=="function"&&(a=t,t=1/0);let{stackTraceLimit:s}=Error;t&&(Error.stackTraceLimit=t);let i={};Error.captureStackTrace(i,a);let{stack:c}=i;return Error.stackTraceLimit=s,this.clean(c)}capture(t,a=this.capture){typeof t=="function"&&(a=t,t=1/0);let{prepareStackTrace:s,stackTraceLimit:i}=Error;Error.prepareStackTrace=(E,C)=>this._wrapCallSite?C.map(this._wrapCallSite):C,t&&(Error.stackTraceLimit=t);let c={};Error.captureStackTrace(c,a);let{stack:d}=c;return Object.assign(Error,{prepareStackTrace:s,stackTraceLimit:i}),d}at(t=this.at){let[a]=this.capture(1,t);if(!a)return{};let s={line:a.getLineNumber(),column:a.getColumnNumber()};Ik(s,a.getFileName(),this._cwd),a.isConstructor()&&Object.defineProperty(s,"constructor",{value:!0,configurable:!0}),a.isEval()&&(s.evalOrigin=a.getEvalOrigin()),a.isNative()&&(s.native=!0);let i;try{i=a.getTypeName()}catch{}i&&i!=="Object"&&i!=="[object Object]"&&(s.type=i);let c=a.getFunctionName();c&&(s.function=c);let d=a.getMethodName();return d&&c!==d&&(s.method=d),s}parseLine(t){let a=t&&t.match(eP);if(!a)return null;let s=a[1]==="new",i=a[2],c=a[3],d=a[4],E=Number(a[5]),C=Number(a[6]),I=a[7],S=a[8],T=a[9],z=a[10]==="native",O=a[11]===")",j,q={};if(S&&(q.line=Number(S)),T&&(q.column=Number(T)),O&&I){let Y=0;for(let re=I.length-1;re>0;re--)if(I.charAt(re)===")")Y++;else if(I.charAt(re)==="("&&I.charAt(re-1)===" "&&(Y--,Y===-1&&I.charAt(re-1)===" ")){let ve=I.slice(0,re-1);I=I.slice(re+1),i+=` (${ve}`;break}}if(i){let Y=i.match(tP);Y&&(i=Y[1],j=Y[2])}return Ik(q,I,this._cwd),s&&Object.defineProperty(q,"constructor",{value:!0,configurable:!0}),c&&(q.evalOrigin=c,q.evalLine=E,q.evalColumn=C,q.evalFile=d&&d.replace(/\\/g,"/")),z&&(q.native=!0),i&&(q.function=i),j&&i!==j&&(q.method=j),q}};function Ik(e,t,a){t&&(t=t.replace(/\\/g,"/"),t.startsWith(`${a}/`)&&(t=t.slice(a.length+1)),e.file=t)}function Wj(e){if(e.length===0)return[];let t=e.map(a=>qj(a));return new RegExp(`[/\\\\]node_modules[/\\\\](?:${t.join("|")})[/\\\\][^:]+:\\d+:\\d+`)}var eP=new RegExp("^(?:\\s*at )?(?:(new) )?(?:(.*?) \\()?(?:eval at ([^ ]+) \\((.+?):(\\d+):(\\d+)\\), )?(?:(.+?):(\\d+):(\\d+)|(native))(\\)?)$"),tP=/^(.*?) \[as (.*?)\]$/;_k.exports=KD});var nP,Qk,Sk=L(()=>{"use strict";nP=(e,t=2)=>e.replace(/^\t+/gm,a=>" ".repeat(a.length*t)),Qk=nP});var iP,rP,bk,wk=L(()=>{"use strict";Sk();iP=(e,t)=>{let a=[],s=e-t,i=e+t;for(let c=s;c<=i;c++)a.push(c);return a},rP=(e,t,a={})=>{var s;if(typeof e!="string")throw new TypeError("Source code is missing.");if(!t||t<1)throw new TypeError("Line number must start from `1`.");let i=Qk(e).split(/\r?\n/);if(!(t>i.length))return iP(t,(s=a.around)!==null&&s!==void 0?s:3).filter(c=>i[c-1]!==void 0).map(c=>({line:c,value:i[c-1]}))},bk=rP});var xk,dd,_g=L(()=>{"use strict";xk=It(Mn(),1),dd=(0,xk.createContext)({isScreenReaderEnabled:!1})});var Uk,dC,ZD=L(()=>{"use strict";Uk=It(Mn(),1),dC=(0,Uk.createContext)(void 0)});var fd,Nk,qr,fC=L(()=>{"use strict";fd=It(Mn(),1);_g();ZD();Nk=(0,fd.forwardRef)(({children:e,backgroundColor:t,"aria-label":a,"aria-hidden":s,"aria-role":i,"aria-state":c,...d},E)=>{let{isScreenReaderEnabled:C}=(0,fd.useContext)(dd),I=a?fd.default.createElement("ink-text",null,a):void 0;if(C&&s)return null;let S=fd.default.createElement("ink-box",{ref:E,style:{flexWrap:"nowrap",flexDirection:"row",flexGrow:0,flexShrink:1,...d,backgroundColor:t,overflowX:d.overflowX??d.overflow??"visible",overflowY:d.overflowY??d.overflow??"visible"},internal_accessibility:{role:i,state:c}},C&&I?I:e);return t?fd.default.createElement(dC.Provider,{value:t},S):S});Nk.displayName="Box";qr=Nk});function qn({color:e,backgroundColor:t,dimColor:a=!1,bold:s=!1,italic:i=!1,underline:c=!1,strikethrough:d=!1,inverse:E=!1,wrap:C="wrap",children:I,"aria-label":S,"aria-hidden":T=!1}){let{isScreenReaderEnabled:z}=(0,nE.useContext)(dd),O=(0,nE.useContext)(dC),j=z&&S?S:I;if(j==null)return null;let q=Y=>{a&&(Y=Vn.dim(Y)),e&&(Y=ju(Y,e,"foreground"));let re=t??O;return re&&(Y=ju(Y,re,"background")),s&&(Y=Vn.bold(Y)),i&&(Y=Vn.italic(Y)),c&&(Y=Vn.underline(Y)),d&&(Y=Vn.strikethrough(Y)),E&&(Y=Vn.inverse(Y)),Y};return z&&T?null:nE.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:C},internal_transform:q},z&&S?S:I)}var nE,YD=L(()=>{"use strict";nE=It(Mn(),1);Wh();Xv();_g();ZD()});import*as pC from"fs";import{cwd as Tk}from"process";function XD({error:e}){let t=e.stack?e.stack.split(`
|
|
265
|
+
`).slice(1):void 0,a=t?Rk.parseLine(t[0]):void 0,s=VD(a?.file),i,c=0;if(s&&a?.line&&pC.existsSync(s)){let d=pC.readFileSync(s,"utf8");if(i=bk(d,a.line),i)for(let{line:E}of i)c=Math.max(c,String(E).length)}return Fr.default.createElement(qr,{flexDirection:"column",padding:1},Fr.default.createElement(qr,null,Fr.default.createElement(qn,{backgroundColor:"red",color:"white"}," ","ERROR"," "),Fr.default.createElement(qn,null," ",e.message)),a&&s&&Fr.default.createElement(qr,{marginTop:1},Fr.default.createElement(qn,{dimColor:!0},s,":",a.line,":",a.column)),a&&i&&Fr.default.createElement(qr,{marginTop:1,flexDirection:"column"},i.map(({line:d,value:E})=>Fr.default.createElement(qr,{key:d},Fr.default.createElement(qr,{width:c+1},Fr.default.createElement(qn,{dimColor:d!==a.line,backgroundColor:d===a.line?"red":void 0,color:d===a.line?"white":void 0,"aria-label":d===a.line?`Line ${d}, error`:`Line ${d}`},String(d).padStart(c," "),":")),Fr.default.createElement(qn,{key:d,backgroundColor:d===a.line?"red":void 0,color:d===a.line?"white":void 0}," "+E)))),e.stack&&Fr.default.createElement(qr,{marginTop:1,flexDirection:"column"},e.stack.split(`
|
|
266
|
+
`).slice(1).map(d=>{let E=Rk.parseLine(d);return E?Fr.default.createElement(qr,{key:d},Fr.default.createElement(qn,{dimColor:!0},"- "),Fr.default.createElement(qn,{dimColor:!0,bold:!0},E.function),Fr.default.createElement(qn,{dimColor:!0,color:"gray","aria-label":`at ${VD(E.file)??""} line ${E.line} column ${E.column}`}," ","(",VD(E.file)??"",":",E.line,":",E.column,")")):Fr.default.createElement(qr,{key:d},Fr.default.createElement(qn,{dimColor:!0},"- "),Fr.default.createElement(qn,{dimColor:!0,bold:!0},d,"\\t"," "))})))}var Fr,qD,VD,Rk,Ok=L(()=>{"use strict";Fr=It(Mn(),1),qD=It(Dk(),1);wk();fC();YD();VD=e=>e?.replace(`file://${Tk()}/`,""),Rk=new qD.default({cwd:Tk(),internals:qD.default.nodeInternals()})});import{EventEmitter as aP}from"events";import oP from"process";var oA,sP,lP,uP,iE,kk=L(()=>{"use strict";oA=It(Mn(),1);zD();$D();HD();jD();JD();AC();Ok();sP=" ",lP="\x1B[Z",uP="\x1B",iE=class extends oA.PureComponent{static displayName="InternalApp";static getDerivedStateFromError(t){return{error:t}}state={isFocusEnabled:!0,activeFocusId:void 0,focusables:[],error:void 0};rawModeEnabledCount=0;internal_eventEmitter=new aP;isRawModeSupported(){return this.props.stdin.isTTY}render(){return oA.default.createElement(LD.Provider,{value:{exit:this.handleExit}},oA.default.createElement(uC.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported(),internal_exitOnCtrlC:this.props.exitOnCtrlC,internal_eventEmitter:this.internal_eventEmitter}},oA.default.createElement(GD.Provider,{value:{stdout:this.props.stdout,write:this.props.writeToStdout}},oA.default.createElement(PD.Provider,{value:{stderr:this.props.stderr,write:this.props.writeToStderr}},oA.default.createElement(cC.Provider,{value:{activeId:this.state.activeFocusId,add:this.addFocusable,remove:this.removeFocusable,activate:this.activateFocusable,deactivate:this.deactivateFocusable,enableFocus:this.enableFocus,disableFocus:this.disableFocus,focusNext:this.focusNext,focusPrevious:this.focusPrevious,focus:this.focus}},this.state.error?oA.default.createElement(XD,{error:this.state.error}):this.props.children)))))}componentDidMount(){Ig.hide(this.props.stdout)}componentWillUnmount(){Ig.show(this.props.stdout),this.isRawModeSupported()&&this.handleSetRawMode(!1)}componentDidCatch(t){this.handleExit(t)}handleSetRawMode=t=>{let{stdin:a}=this.props;if(!this.isRawModeSupported())throw a===oP.stdin?new Error(`Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
|
|
267
|
+
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`):new Error(`Raw mode is not supported on the stdin provided to Ink.
|
|
268
|
+
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);if(a.setEncoding("utf8"),t){this.rawModeEnabledCount===0&&(a.ref(),a.setRawMode(!0),a.addListener("readable",this.handleReadable)),this.rawModeEnabledCount++;return}--this.rawModeEnabledCount===0&&(a.setRawMode(!1),a.removeListener("readable",this.handleReadable),a.unref())};handleReadable=()=>{let t;for(;(t=this.props.stdin.read())!==null;)this.handleInput(t),this.internal_eventEmitter.emit("input",t)};handleInput=t=>{t===""&&this.props.exitOnCtrlC&&this.handleExit(),t===uP&&this.state.activeFocusId&&this.setState({activeFocusId:void 0}),this.state.isFocusEnabled&&this.state.focusables.length>0&&(t===sP&&this.focusNext(),t===lP&&this.focusPrevious())};handleExit=t=>{this.isRawModeSupported()&&this.handleSetRawMode(!1),this.props.onExit(t)};enableFocus=()=>{this.setState({isFocusEnabled:!0})};disableFocus=()=>{this.setState({isFocusEnabled:!1})};focus=t=>{this.setState(a=>a.focusables.some(i=>i?.id===t)?{activeFocusId:t}:a)};focusNext=()=>{this.setState(t=>{let a=t.focusables.find(i=>i.isActive)?.id;return{activeFocusId:this.findNextFocusable(t)??a}})};focusPrevious=()=>{this.setState(t=>{let a=t.focusables.findLast(i=>i.isActive)?.id;return{activeFocusId:this.findPreviousFocusable(t)??a}})};addFocusable=(t,{autoFocus:a})=>{this.setState(s=>{let i=s.activeFocusId;return!i&&a&&(i=t),{activeFocusId:i,focusables:[...s.focusables,{id:t,isActive:!0}]}})};removeFocusable=t=>{this.setState(a=>({activeFocusId:a.activeFocusId===t?void 0:a.activeFocusId,focusables:a.focusables.filter(s=>s.id!==t)}))};activateFocusable=t=>{this.setState(a=>({focusables:a.focusables.map(s=>s.id!==t?s:{id:t,isActive:!0})}))};deactivateFocusable=t=>{this.setState(a=>({activeFocusId:a.activeFocusId===t?void 0:a.activeFocusId,focusables:a.focusables.map(s=>s.id!==t?s:{id:t,isActive:!1})}))};findNextFocusable=t=>{let a=t.focusables.findIndex(s=>s.id===t.activeFocusId);for(let s=a+1;s<t.focusables.length;s++){let i=t.focusables[s];if(i?.isActive)return i.id}};findPreviousFocusable=t=>{let a=t.focusables.findIndex(s=>s.id===t.activeFocusId);for(let s=a-1;s>=0;s--){let i=t.focusables[s];if(i?.isActive)return i.id}}}});import Fk from"process";var WD,Mk,Lk,zk,rE,$k=L(async()=>{"use strict";WD=It(Mn(),1);zN();o_();KN();ZN();Mk=It(A_(),1);iR();Lk=It(p_(),1);await xf();b_();await ED();await XO();await Z_();uk();MD();kk();_g();zk=()=>{},rE=class{options;log;throttledLog;isScreenReaderEnabled;isUnmounted;lastOutput;lastOutputHeight;container;rootNode;fullStaticOutput;exitPromise;restoreConsole;unsubscribeResize;constructor(t){l_(this),this.options=t,this.rootNode=Nv("ink-root"),this.rootNode.onComputeLayout=this.calculateLayout,this.isScreenReaderEnabled=t.isScreenReaderEnabled??Fk.env.INK_SCREEN_READER==="true";let a=t.debug||this.isScreenReaderEnabled,s=t.maxFps??30,i=s>0?Math.max(1,Math.ceil(1e3/s)):0;this.rootNode.onRender=a?this.onRender:gv(this.onRender,i,{leading:!0,trailing:!0}),this.rootNode.onImmediateRender=this.onRender,this.log=lk.create(t.stdout),this.throttledLog=a?this.log:gv(this.log,void 0,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.lastOutput="",this.lastOutputHeight=0,this.fullStaticOutput="",this.container=aA.createContainer(this.rootNode,Lk.LegacyRoot,null,!1,null,"id",()=>{},()=>{},()=>{},()=>{},null),this.unsubscribeExit=(0,Mk.default)(this.unmount,{alwaysLast:!1}),Fk.env.DEV==="true"&&aA.injectIntoDevTools({bundleType:0,version:"16.13.1",rendererPackageName:"ink"}),t.patchConsole&&this.patchConsole(),Sf||(t.stdout.on("resize",this.resized),this.unsubscribeResize=()=>{t.stdout.off("resize",this.resized)})}resized=()=>{this.calculateLayout(),this.onRender()};resolveExitPromise=()=>{};rejectExitPromise=()=>{};unsubscribeExit=()=>{};calculateLayout=()=>{let t=this.options.stdout.columns||80;this.rootNode.yogaNode.setWidth(t),this.rootNode.yogaNode.calculateLayout(void 0,void 0,gt.DIRECTION_LTR)};onRender=()=>{if(this.isUnmounted)return;let t=performance.now(),{output:a,outputHeight:s,staticOutput:i}=qO(this.rootNode,this.isScreenReaderEnabled);this.options.onRender?.({renderTime:performance.now()-t});let c=i&&i!==`
|
|
269
|
+
`;if(this.options.debug){c&&(this.fullStaticOutput+=i),this.options.stdout.write(this.fullStaticOutput+a);return}if(Sf){c&&this.options.stdout.write(i),this.lastOutput=a,this.lastOutputHeight=s;return}if(this.isScreenReaderEnabled){if(c){let C=this.lastOutputHeight>0?qc.eraseLines(this.lastOutputHeight):"";this.options.stdout.write(C+i),this.lastOutputHeight=0}if(a===this.lastOutput&&!c)return;let d=this.options.stdout.columns||80,E=Rh(a,d,{trim:!1,hard:!0});if(c)this.options.stdout.write(E);else{let C=this.lastOutputHeight>0?qc.eraseLines(this.lastOutputHeight):"";this.options.stdout.write(C+E)}this.lastOutput=a,this.lastOutputHeight=E===""?0:E.split(`
|
|
270
|
+
`).length;return}if(c&&(this.fullStaticOutput+=i),this.lastOutputHeight>=this.options.stdout.rows){this.options.stdout.write(qc.clearTerminal+this.fullStaticOutput+a),this.lastOutput=a,this.lastOutputHeight=s,this.log.sync(a);return}c&&(this.log.clear(),this.options.stdout.write(i),this.log(a)),!c&&a!==this.lastOutput&&this.throttledLog(a),this.lastOutput=a,this.lastOutputHeight=s};render(t){let a=WD.default.createElement(dd.Provider,{value:{isScreenReaderEnabled:this.isScreenReaderEnabled}},WD.default.createElement(iE,{stdin:this.options.stdin,stdout:this.options.stdout,stderr:this.options.stderr,writeToStdout:this.writeToStdout,writeToStderr:this.writeToStderr,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount},t));aA.updateContainerSync(a,this.container,null,zk),aA.flushSyncWork()}writeToStdout(t){if(!this.isUnmounted){if(this.options.debug){this.options.stdout.write(t+this.fullStaticOutput+this.lastOutput);return}if(Sf){this.options.stdout.write(t);return}this.log.clear(),this.options.stdout.write(t),this.log(this.lastOutput)}}writeToStderr(t){if(!this.isUnmounted){if(this.options.debug){this.options.stderr.write(t),this.options.stdout.write(this.fullStaticOutput+this.lastOutput);return}if(Sf){this.options.stderr.write(t);return}this.log.clear(),this.options.stderr.write(t),this.log(this.lastOutput)}}unmount(t){this.isUnmounted||(this.calculateLayout(),this.onRender(),this.unsubscribeExit(),typeof this.restoreConsole=="function"&&this.restoreConsole(),typeof this.unsubscribeResize=="function"&&this.unsubscribeResize(),Sf?this.options.stdout.write(this.lastOutput+`
|
|
271
|
+
`):this.options.debug||this.log.done(),this.isUnmounted=!0,aA.updateContainerSync(null,this.container,null,zk),aA.flushSyncWork(),Bg.delete(this.options.stdout),t instanceof Error?this.rejectExitPromise(t):this.resolveExitPromise())}async waitUntilExit(){return this.exitPromise||=new Promise((t,a)=>{this.resolveExitPromise=t,this.rejectExitPromise=a}),this.exitPromise}clear(){!Sf&&!this.options.debug&&this.log.clear()}patchConsole(){this.options.debug||(this.restoreConsole=nR((t,a)=>{t==="stdout"&&this.writeToStdout(a),t==="stderr"&&(a.startsWith("The above error occurred")||this.writeToStderr(a))}))}}});import{Stream as cP}from"stream";import gC from"process";var AP,fr,dP,fP,Hk=L(async()=>{"use strict";await $k();MD();AP=(e,t)=>{let a={stdout:gC.stdout,stdin:gC.stdin,stderr:gC.stderr,debug:!1,exitOnCtrlC:!0,patchConsole:!0,maxFps:30,...dP(t)},s=fP(a.stdout,()=>new rE(a));return s.render(e),{rerender:s.render,unmount(){s.unmount()},waitUntilExit:s.waitUntilExit,cleanup:()=>Bg.delete(a.stdout),clear:s.clear}},fr=AP,dP=(e={})=>e instanceof cP?{stdout:e,stdin:gC.stdin}:e,fP=(e,t)=>{let a=Bg.get(e);return a||(a=t(),Bg.set(e,a)),a}});var mC,Gk=L(()=>{"use strict";mC=It(Mn(),1)});var jk,Pk=L(()=>{"use strict";jk=It(Mn(),1);_g()});var pP,Jk=L(()=>{"use strict";pP=It(Mn(),1)});var gP,Kk=L(()=>{"use strict";gP=It(Mn(),1);fC()});import{Buffer as mP}from"buffer";var hP,EP,Zk,Yk,yP,vP,CP,Vk,qk=L(()=>{"use strict";hP=/^(?:\x1b)([a-zA-Z0-9])$/,EP=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,Zk={OP:"f1",OQ:"f2",OR:"f3",OS:"f4","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"},Yk=[...Object.values(Zk),"backspace"],yP=e=>["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(e),vP=e=>["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(e),CP=(e="")=>{let t;mP.isBuffer(e)?e[0]>127&&e[1]===void 0?(e[0]-=128,e="\x1B"+String(e)):e=String(e):e!==void 0&&typeof e!="string"?e=String(e):e||(e="");let a={name:"",ctrl:!1,meta:!1,shift:!1,option:!1,sequence:e,raw:e};if(a.sequence=a.sequence||e||a.name,e==="\r")a.raw=void 0,a.name="return";else if(e===`
|
|
272
|
+
`)a.name="enter";else if(e===" ")a.name="tab";else if(e==="\b"||e==="\x1B\b")a.name="backspace",a.meta=e.charAt(0)==="\x1B";else if(e==="\x7F"||e==="\x1B\x7F")a.name="delete",a.meta=e.charAt(0)==="\x1B";else if(e==="\x1B"||e==="\x1B\x1B")a.name="escape",a.meta=e.length===2;else if(e===" "||e==="\x1B ")a.name="space",a.meta=e.length===2;else if(e.length===1&&e<="")a.name=String.fromCharCode(e.charCodeAt(0)+97-1),a.ctrl=!0;else if(e.length===1&&e>="0"&&e<="9")a.name="number";else if(e.length===1&&e>="a"&&e<="z")a.name=e;else if(e.length===1&&e>="A"&&e<="Z")a.name=e.toLowerCase(),a.shift=!0;else if(t=hP.exec(e))a.meta=!0,a.shift=/^[A-Z]$/.test(t[1]);else if(t=EP.exec(e)){let s=[...e];s[0]==="\x1B"&&s[1]==="\x1B"&&(a.option=!0);let i=[t[1],t[2],t[4],t[6]].filter(Boolean).join(""),c=(t[3]||t[5]||1)-1;a.ctrl=!!(c&4),a.meta=!!(c&10),a.shift=!!(c&1),a.code=i,a.name=Zk[i],a.shift=yP(i)||a.shift,a.ctrl=vP(i)||a.ctrl}return a},Vk=CP});var Xk,IP,hC,EC=L(()=>{"use strict";Xk=It(Mn(),1);HD();IP=()=>(0,Xk.useContext)(uC),hC=IP});var eQ,BP,tQ,Wk=L(async()=>{"use strict";eQ=It(Mn(),1);qk();await ED();EC();BP=(e,t={})=>{let{stdin:a,setRawMode:s,internal_exitOnCtrlC:i,internal_eventEmitter:c}=hC();(0,eQ.useEffect)(()=>{if(t.isActive!==!1)return s(!0),()=>{s(!1)}},[t.isActive,s]),(0,eQ.useEffect)(()=>{if(t.isActive===!1)return;let d=E=>{let C=Vk(E),I={upArrow:C.name==="up",downArrow:C.name==="down",leftArrow:C.name==="left",rightArrow:C.name==="right",pageDown:C.name==="pagedown",pageUp:C.name==="pageup",return:C.name==="return",escape:C.name==="escape",ctrl:C.ctrl,shift:C.shift,tab:C.name==="tab",backspace:C.name==="backspace",delete:C.name==="delete",meta:C.meta||C.name==="escape"||C.option},S=C.ctrl?C.name:C.sequence;Yk.includes(C.name)&&(S=""),S.startsWith("\x1B")&&(S=S.slice(1)),S.length===1&&typeof S[0]=="string"&&/[A-Z]/.test(S[0])&&(I.shift=!0),(!(S==="c"&&I.ctrl)||!i)&&aA.batchedUpdates(()=>{e(S,I)})};return c?.on("input",d),()=>{c?.removeListener("input",d)}},[t.isActive,a,i,e])},tQ=BP});var _P,eF=L(()=>{"use strict";_P=It(Mn(),1);$D()});var DP,tF=L(()=>{"use strict";DP=It(Mn(),1);jD()});var QP,nF=L(()=>{"use strict";QP=It(Mn(),1);JD()});var nQ,iF=L(()=>{"use strict";nQ=It(Mn(),1);AC();EC()});var SP,rF=L(()=>{"use strict";SP=It(Mn(),1);AC()});var bP,aF=L(()=>{"use strict";bP=It(Mn(),1);_g()});var oF=L(()=>{"use strict"});var sl=L(async()=>{"use strict";await Hk();fC();YD();Gk();Pk();Jk();Kk();await Wk();eF();EC();tF();nF();iF();rF();aF();oF()});function te(e,t,a){function s(E,C){if(E._zod||Object.defineProperty(E,"_zod",{value:{def:C,constr:d,traits:new Set},enumerable:!1}),E._zod.traits.has(e))return;E._zod.traits.add(e),t(E,C);let I=d.prototype,S=Object.keys(I);for(let T=0;T<S.length;T++){let z=S[T];z in E||(E[z]=I[z].bind(E))}}let i=a?.Parent??Object;class c extends i{}Object.defineProperty(c,"name",{value:e});function d(E){var C;let I=a?.Parent?new c:this;s(I,E),(C=I._zod).deferred??(C.deferred=[]);for(let S of I._zod.deferred)S();return I}return Object.defineProperty(d,"init",{value:s}),Object.defineProperty(d,Symbol.hasInstance,{value:E=>a?.Parent&&E instanceof a.Parent?!0:E?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}function pr(e){return e&&Object.assign(aE,e),aE}var iQ,yC,Zl,pd,aE,Dg=L(()=>{"use strict";iQ=Object.freeze({status:"aborted"});yC=Symbol("zod_brand"),Zl=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},pd=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},aE={}});var Le={};Co(Le,{BIGINT_FORMAT_RANGES:()=>fQ,Class:()=>aQ,NUMBER_FORMAT_RANGES:()=>dQ,aborted:()=>Ed,allowsEval:()=>lQ,assert:()=>RP,assertEqual:()=>wP,assertIs:()=>UP,assertNever:()=>NP,assertNotEqual:()=>xP,assignProp:()=>md,base64ToUint8Array:()=>lF,base64urlToUint8Array:()=>VP,cached:()=>Sg,captureStackTrace:()=>CC,cleanEnum:()=>YP,cleanRegex:()=>lE,clone:()=>Bo,cloneDef:()=>OP,createTransparentProxy:()=>$P,defineLazy:()=>cn,esc:()=>vC,escapeRegex:()=>ll,extend:()=>jP,finalizeIssue:()=>$o,floatSafeRemainder:()=>oQ,getElementAtPath:()=>kP,getEnumValues:()=>sE,getLengthableOrigin:()=>AE,getParsedType:()=>LP,getSizableOrigin:()=>cE,hexToUint8Array:()=>XP,isObject:()=>Ff,isPlainObject:()=>hd,issue:()=>bg,joinValues:()=>de,jsonStringifyReplacer:()=>Qg,merge:()=>JP,mergeDefs:()=>sA,normalizeParams:()=>Pe,nullish:()=>gd,numKeys:()=>MP,objectClone:()=>TP,omit:()=>GP,optionalKeys:()=>AQ,parsedType:()=>Me,partial:()=>KP,pick:()=>HP,prefixIssues:()=>Es,primitiveTypes:()=>cQ,promiseAllObject:()=>FP,propertyKeyTypes:()=>uE,randomString:()=>zP,required:()=>ZP,safeExtend:()=>PP,shallowClone:()=>uQ,slugify:()=>sQ,stringifyPrimitive:()=>Fe,uint8ArrayToBase64:()=>uF,uint8ArrayToBase64url:()=>qP,uint8ArrayToHex:()=>WP,unwrapMessage:()=>oE});function wP(e){return e}function xP(e){return e}function UP(e){}function NP(e){throw new Error("Unexpected value in exhaustive check")}function RP(e){}function sE(e){let t=Object.values(e).filter(s=>typeof s=="number");return Object.entries(e).filter(([s,i])=>t.indexOf(+s)===-1).map(([s,i])=>i)}function de(e,t="|"){return e.map(a=>Fe(a)).join(t)}function Qg(e,t){return typeof t=="bigint"?t.toString():t}function Sg(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw new Error("cached value already set")}}}function gd(e){return e==null}function lE(e){let t=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(t,a)}function oQ(e,t){let a=(e.toString().split(".")[1]||"").length,s=t.toString(),i=(s.split(".")[1]||"").length;if(i===0&&/\d?e-\d?/.test(s)){let C=s.match(/\d?e-(\d?)/);C?.[1]&&(i=Number.parseInt(C[1]))}let c=a>i?a:i,d=Number.parseInt(e.toFixed(c).replace(".","")),E=Number.parseInt(t.toFixed(c).replace(".",""));return d%E/10**c}function cn(e,t,a){let s;Object.defineProperty(e,t,{get(){if(s!==sF)return s===void 0&&(s=sF,s=a()),s},set(i){Object.defineProperty(e,t,{value:i})},configurable:!0})}function TP(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function md(e,t,a){Object.defineProperty(e,t,{value:a,writable:!0,enumerable:!0,configurable:!0})}function sA(...e){let t={};for(let a of e){let s=Object.getOwnPropertyDescriptors(a);Object.assign(t,s)}return Object.defineProperties({},t)}function OP(e){return sA(e._zod.def)}function kP(e,t){return t?t.reduce((a,s)=>a?.[s],e):e}function FP(e){let t=Object.keys(e),a=t.map(s=>e[s]);return Promise.all(a).then(s=>{let i={};for(let c=0;c<t.length;c++)i[t[c]]=s[c];return i})}function zP(e=10){let t="abcdefghijklmnopqrstuvwxyz",a="";for(let s=0;s<e;s++)a+=t[Math.floor(Math.random()*t.length)];return a}function vC(e){return JSON.stringify(e)}function sQ(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}function Ff(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function hd(e){if(Ff(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let a=t.prototype;return!(Ff(a)===!1||Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)}function uQ(e){return hd(e)?{...e}:Array.isArray(e)?[...e]:e}function MP(e){let t=0;for(let a in e)Object.prototype.hasOwnProperty.call(e,a)&&t++;return t}function ll(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Bo(e,t,a){let s=new e._zod.constr(t??e._zod.def);return(!t||a?.parent)&&(s._zod.parent=e),s}function Pe(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function $P(e){let t;return new Proxy({},{get(a,s,i){return t??(t=e()),Reflect.get(t,s,i)},set(a,s,i,c){return t??(t=e()),Reflect.set(t,s,i,c)},has(a,s){return t??(t=e()),Reflect.has(t,s)},deleteProperty(a,s){return t??(t=e()),Reflect.deleteProperty(t,s)},ownKeys(a){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(a,s){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,s)},defineProperty(a,s,i){return t??(t=e()),Reflect.defineProperty(t,s,i)}})}function Fe(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function AQ(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}function HP(e,t){let a=e._zod.def,s=a.checks;if(s&&s.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let c=sA(e._zod.def,{get shape(){let d={};for(let E in t){if(!(E in a.shape))throw new Error(`Unrecognized key: "${E}"`);t[E]&&(d[E]=a.shape[E])}return md(this,"shape",d),d},checks:[]});return Bo(e,c)}function GP(e,t){let a=e._zod.def,s=a.checks;if(s&&s.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let c=sA(e._zod.def,{get shape(){let d={...e._zod.def.shape};for(let E in t){if(!(E in a.shape))throw new Error(`Unrecognized key: "${E}"`);t[E]&&delete d[E]}return md(this,"shape",d),d},checks:[]});return Bo(e,c)}function jP(e,t){if(!hd(t))throw new Error("Invalid input to extend: expected a plain object");let a=e._zod.def.checks;if(a&&a.length>0){let c=e._zod.def.shape;for(let d in t)if(Object.getOwnPropertyDescriptor(c,d)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let i=sA(e._zod.def,{get shape(){let c={...e._zod.def.shape,...t};return md(this,"shape",c),c}});return Bo(e,i)}function PP(e,t){if(!hd(t))throw new Error("Invalid input to safeExtend: expected a plain object");let a=sA(e._zod.def,{get shape(){let s={...e._zod.def.shape,...t};return md(this,"shape",s),s}});return Bo(e,a)}function JP(e,t){let a=sA(e._zod.def,{get shape(){let s={...e._zod.def.shape,...t._zod.def.shape};return md(this,"shape",s),s},get catchall(){return t._zod.def.catchall},checks:[]});return Bo(e,a)}function KP(e,t,a){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let d=sA(t._zod.def,{get shape(){let E=t._zod.def.shape,C={...E};if(a)for(let I in a){if(!(I in E))throw new Error(`Unrecognized key: "${I}"`);a[I]&&(C[I]=e?new e({type:"optional",innerType:E[I]}):E[I])}else for(let I in E)C[I]=e?new e({type:"optional",innerType:E[I]}):E[I];return md(this,"shape",C),C},checks:[]});return Bo(t,d)}function ZP(e,t,a){let s=sA(t._zod.def,{get shape(){let i=t._zod.def.shape,c={...i};if(a)for(let d in a){if(!(d in c))throw new Error(`Unrecognized key: "${d}"`);a[d]&&(c[d]=new e({type:"nonoptional",innerType:i[d]}))}else for(let d in i)c[d]=new e({type:"nonoptional",innerType:i[d]});return md(this,"shape",c),c}});return Bo(t,s)}function Ed(e,t=0){if(e.aborted===!0)return!0;for(let a=t;a<e.issues.length;a++)if(e.issues[a]?.continue!==!0)return!0;return!1}function Es(e,t){return t.map(a=>{var s;return(s=a).path??(s.path=[]),a.path.unshift(e),a})}function oE(e){return typeof e=="string"?e:e?.message}function $o(e,t,a){let s={...e,path:e.path??[]};if(!e.message){let i=oE(e.inst?._zod.def?.error?.(e))??oE(t?.error?.(e))??oE(a.customError?.(e))??oE(a.localeError?.(e))??"Invalid input";s.message=i}return delete s.inst,delete s.continue,t?.reportInput||delete s.input,s}function cE(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function AE(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Me(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let a=e;if(a&&Object.getPrototypeOf(a)!==Object.prototype&&"constructor"in a&&a.constructor)return a.constructor.name}}return t}function bg(...e){let[t,a,s]=e;return typeof t=="string"?{message:t,code:"custom",input:a,inst:s}:{...t}}function YP(e){return Object.entries(e).filter(([t,a])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function lF(e){let t=atob(e),a=new Uint8Array(t.length);for(let s=0;s<t.length;s++)a[s]=t.charCodeAt(s);return a}function uF(e){let t="";for(let a=0;a<e.length;a++)t+=String.fromCharCode(e[a]);return btoa(t)}function VP(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),a="=".repeat((4-t.length%4)%4);return lF(t+a)}function qP(e){return uF(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function XP(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let a=new Uint8Array(t.length/2);for(let s=0;s<t.length;s+=2)a[s/2]=Number.parseInt(t.slice(s,s+2),16);return a}function WP(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var sF,CC,lQ,LP,uE,cQ,dQ,fQ,aQ,Dt=L(()=>{"use strict";sF=Symbol("evaluating");CC="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};lQ=Sg(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});LP=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},uE=new Set(["string","number","symbol"]),cQ=new Set(["string","number","bigint","boolean","symbol","undefined"]);dQ={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},fQ={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};aQ=class{constructor(...t){}}});function fE(e,t=a=>a.message){let a={},s=[];for(let i of e.issues)i.path.length>0?(a[i.path[0]]=a[i.path[0]]||[],a[i.path[0]].push(t(i))):s.push(t(i));return{formErrors:s,fieldErrors:a}}function pE(e,t=a=>a.message){let a={_errors:[]},s=i=>{for(let c of i.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map(d=>s({issues:d}));else if(c.code==="invalid_key")s({issues:c.issues});else if(c.code==="invalid_element")s({issues:c.issues});else if(c.path.length===0)a._errors.push(t(c));else{let d=a,E=0;for(;E<c.path.length;){let C=c.path[E];E===c.path.length-1?(d[C]=d[C]||{_errors:[]},d[C]._errors.push(t(c))):d[C]=d[C]||{_errors:[]},d=d[C],E++}}};return s(e),a}function pQ(e,t=a=>a.message){let a={errors:[]},s=(i,c=[])=>{var d,E;for(let C of i.issues)if(C.code==="invalid_union"&&C.errors.length)C.errors.map(I=>s({issues:I},C.path));else if(C.code==="invalid_key")s({issues:C.issues},C.path);else if(C.code==="invalid_element")s({issues:C.issues},C.path);else{let I=[...c,...C.path];if(I.length===0){a.errors.push(t(C));continue}let S=a,T=0;for(;T<I.length;){let z=I[T],O=T===I.length-1;typeof z=="string"?(S.properties??(S.properties={}),(d=S.properties)[z]??(d[z]={errors:[]}),S=S.properties[z]):(S.items??(S.items=[]),(E=S.items)[z]??(E[z]={errors:[]}),S=S.items[z]),O&&S.errors.push(t(C)),T++}}};return s(e),a}function AF(e){let t=[],a=e.map(s=>typeof s=="object"?s.key:s);for(let s of a)typeof s=="number"?t.push(`[${s}]`):typeof s=="symbol"?t.push(`[${JSON.stringify(String(s))}]`):/[^\w$]/.test(s)?t.push(`[${JSON.stringify(s)}]`):(t.length&&t.push("."),t.push(s));return t.join("")}function gQ(e){let t=[],a=[...e.issues].sort((s,i)=>(s.path??[]).length-(i.path??[]).length);for(let s of a)t.push(`\u2716 ${s.message}`),s.path?.length&&t.push(` \u2192 at ${AF(s.path)}`);return t.join(`
|
|
273
|
+
`)}var cF,dE,Ho,mQ=L(()=>{"use strict";Dg();Dt();cF=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Qg,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},dE=te("$ZodError",cF),Ho=te("$ZodError",cF,{Parent:Error})});var wg,IC,xg,BC,Ug,hQ,Ng,EQ,_C,tJ,DC,nJ,QC,iJ,SC,rJ,bC,aJ,wC,oJ,xC,sJ,UC,lJ,yQ=L(()=>{"use strict";Dg();mQ();Dt();wg=e=>(t,a,s,i)=>{let c=s?Object.assign(s,{async:!1}):{async:!1},d=t._zod.run({value:a,issues:[]},c);if(d instanceof Promise)throw new Zl;if(d.issues.length){let E=new(i?.Err??e)(d.issues.map(C=>$o(C,c,pr())));throw CC(E,i?.callee),E}return d.value},IC=wg(Ho),xg=e=>async(t,a,s,i)=>{let c=s?Object.assign(s,{async:!0}):{async:!0},d=t._zod.run({value:a,issues:[]},c);if(d instanceof Promise&&(d=await d),d.issues.length){let E=new(i?.Err??e)(d.issues.map(C=>$o(C,c,pr())));throw CC(E,i?.callee),E}return d.value},BC=xg(Ho),Ug=e=>(t,a,s)=>{let i=s?{...s,async:!1}:{async:!1},c=t._zod.run({value:a,issues:[]},i);if(c instanceof Promise)throw new Zl;return c.issues.length?{success:!1,error:new(e??dE)(c.issues.map(d=>$o(d,i,pr())))}:{success:!0,data:c.value}},hQ=Ug(Ho),Ng=e=>async(t,a,s)=>{let i=s?Object.assign(s,{async:!0}):{async:!0},c=t._zod.run({value:a,issues:[]},i);return c instanceof Promise&&(c=await c),c.issues.length?{success:!1,error:new e(c.issues.map(d=>$o(d,i,pr())))}:{success:!0,data:c.value}},EQ=Ng(Ho),_C=e=>(t,a,s)=>{let i=s?Object.assign(s,{direction:"backward"}):{direction:"backward"};return wg(e)(t,a,i)},tJ=_C(Ho),DC=e=>(t,a,s)=>wg(e)(t,a,s),nJ=DC(Ho),QC=e=>async(t,a,s)=>{let i=s?Object.assign(s,{direction:"backward"}):{direction:"backward"};return xg(e)(t,a,i)},iJ=QC(Ho),SC=e=>async(t,a,s)=>xg(e)(t,a,s),rJ=SC(Ho),bC=e=>(t,a,s)=>{let i=s?Object.assign(s,{direction:"backward"}):{direction:"backward"};return Ug(e)(t,a,i)},aJ=bC(Ho),wC=e=>(t,a,s)=>Ug(e)(t,a,s),oJ=wC(Ho),xC=e=>async(t,a,s)=>{let i=s?Object.assign(s,{direction:"backward"}):{direction:"backward"};return Ng(e)(t,a,i)},sJ=xC(Ho),UC=e=>async(t,a,s)=>Ng(e)(t,a,s),lJ=UC(Ho)});var ul={};Co(ul,{base64:()=>OQ,base64url:()=>NC,bigint:()=>$Q,boolean:()=>GQ,browserEmail:()=>mJ,cidrv4:()=>RQ,cidrv6:()=>TQ,cuid:()=>vQ,cuid2:()=>CQ,date:()=>FQ,datetime:()=>MQ,domain:()=>yJ,duration:()=>QQ,e164:()=>kQ,email:()=>bQ,emoji:()=>wQ,extendedDuration:()=>uJ,guid:()=>SQ,hex:()=>vJ,hostname:()=>EJ,html5Email:()=>fJ,idnEmail:()=>gJ,integer:()=>HQ,ipv4:()=>xQ,ipv6:()=>UQ,ksuid:()=>_Q,lowercase:()=>JQ,mac:()=>NQ,md5_base64:()=>IJ,md5_base64url:()=>BJ,md5_hex:()=>CJ,nanoid:()=>DQ,null:()=>jQ,number:()=>RC,rfc5322Email:()=>pJ,sha1_base64:()=>DJ,sha1_base64url:()=>QJ,sha1_hex:()=>_J,sha256_base64:()=>bJ,sha256_base64url:()=>wJ,sha256_hex:()=>SJ,sha384_base64:()=>UJ,sha384_base64url:()=>NJ,sha384_hex:()=>xJ,sha512_base64:()=>TJ,sha512_base64url:()=>OJ,sha512_hex:()=>RJ,string:()=>LQ,time:()=>zQ,ulid:()=>IQ,undefined:()=>PQ,unicodeEmail:()=>dF,uppercase:()=>KQ,uuid:()=>zf,uuid4:()=>cJ,uuid6:()=>AJ,uuid7:()=>dJ,xid:()=>BQ});function wQ(){return new RegExp(hJ,"u")}function pF(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function zQ(e){return new RegExp(`^${pF(e)}$`)}function MQ(e){let t=pF({precision:e.precision}),a=["Z"];e.local&&a.push(""),e.offset&&a.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let s=`${t}(?:${a.join("|")})`;return new RegExp(`^${fF}T(?:${s})$`)}function gE(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function mE(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var vQ,CQ,IQ,BQ,_Q,DQ,QQ,uJ,SQ,zf,cJ,AJ,dJ,bQ,fJ,pJ,dF,gJ,mJ,hJ,xQ,UQ,NQ,RQ,TQ,OQ,NC,EJ,yJ,kQ,fF,FQ,LQ,$Q,HQ,RC,GQ,jQ,PQ,JQ,KQ,vJ,CJ,IJ,BJ,_J,DJ,QJ,SJ,bJ,wJ,xJ,UJ,NJ,RJ,TJ,OJ,TC=L(()=>{"use strict";Dt();vQ=/^[cC][^\s-]{8,}$/,CQ=/^[0-9a-z]+$/,IQ=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,BQ=/^[0-9a-vA-V]{20}$/,_Q=/^[A-Za-z0-9]{27}$/,DQ=/^[a-zA-Z0-9_-]{21}$/,QQ=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,uJ=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)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]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,hJ="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";xQ=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,UQ=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,NQ=e=>{let t=ll(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},RQ=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,TQ=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,OQ=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,NC=/^[A-Za-z0-9_-]*$/,EJ=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,yJ=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,kQ=/^\+[1-9]\d{6,14}$/,fF="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",FQ=new RegExp(`^${fF}$`);LQ=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},$Q=/^-?\d+n?$/,HQ=/^-?\d+$/,RC=/^-?\d+(?:\.\d+)?$/,GQ=/^(?:true|false)$/i,jQ=/^null$/i,PQ=/^undefined$/i,JQ=/^[^A-Z]*$/,KQ=/^[^a-z]*$/,vJ=/^[0-9a-fA-F]*$/;CJ=/^[0-9a-fA-F]{32}$/,IJ=gE(22,"=="),BJ=mE(22),_J=/^[0-9a-fA-F]{40}$/,DJ=gE(27,"="),QJ=mE(27),SJ=/^[0-9a-fA-F]{64}$/,bJ=gE(43,"="),wJ=mE(43),xJ=/^[0-9a-fA-F]{96}$/,UJ=gE(64,""),NJ=mE(64),RJ=/^[0-9a-fA-F]{128}$/,TJ=gE(86,"=="),OJ=mE(86)});function gF(e,t,a){e.issues.length&&t.issues.push(...Es(a,e.issues))}var hi,mF,OC,kC,ZQ,YQ,VQ,qQ,XQ,WQ,eS,tS,nS,Rg,iS,rS,aS,oS,sS,lS,uS,cS,AS,FC=L(()=>{"use strict";Dg();TC();Dt();hi=te("$ZodCheck",(e,t)=>{var a;e._zod??(e._zod={}),e._zod.def=t,(a=e._zod).onattach??(a.onattach=[])}),mF={number:"number",bigint:"bigint",object:"date"},OC=te("$ZodCheckLessThan",(e,t)=>{hi.init(e,t);let a=mF[typeof t.value];e._zod.onattach.push(s=>{let i=s._zod.bag,c=(t.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<c&&(t.inclusive?i.maximum=t.value:i.exclusiveMaximum=t.value)}),e._zod.check=s=>{(t.inclusive?s.value<=t.value:s.value<t.value)||s.issues.push({origin:a,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:s.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),kC=te("$ZodCheckGreaterThan",(e,t)=>{hi.init(e,t);let a=mF[typeof t.value];e._zod.onattach.push(s=>{let i=s._zod.bag,c=(t.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>c&&(t.inclusive?i.minimum=t.value:i.exclusiveMinimum=t.value)}),e._zod.check=s=>{(t.inclusive?s.value>=t.value:s.value>t.value)||s.issues.push({origin:a,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:s.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ZQ=te("$ZodCheckMultipleOf",(e,t)=>{hi.init(e,t),e._zod.onattach.push(a=>{var s;(s=a._zod.bag).multipleOf??(s.multipleOf=t.value)}),e._zod.check=a=>{if(typeof a.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof a.value=="bigint"?a.value%t.value===BigInt(0):oQ(a.value,t.value)===0)||a.issues.push({origin:typeof a.value,code:"not_multiple_of",divisor:t.value,input:a.value,inst:e,continue:!t.abort})}}),YQ=te("$ZodCheckNumberFormat",(e,t)=>{hi.init(e,t),t.format=t.format||"float64";let a=t.format?.includes("int"),s=a?"int":"number",[i,c]=dQ[t.format];e._zod.onattach.push(d=>{let E=d._zod.bag;E.format=t.format,E.minimum=i,E.maximum=c,a&&(E.pattern=HQ)}),e._zod.check=d=>{let E=d.value;if(a){if(!Number.isInteger(E)){d.issues.push({expected:s,format:t.format,code:"invalid_type",continue:!1,input:E,inst:e});return}if(!Number.isSafeInteger(E)){E>0?d.issues.push({input:E,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:s,inclusive:!0,continue:!t.abort}):d.issues.push({input:E,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:s,inclusive:!0,continue:!t.abort});return}}E<i&&d.issues.push({origin:"number",input:E,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),E>c&&d.issues.push({origin:"number",input:E,code:"too_big",maximum:c,inclusive:!0,inst:e,continue:!t.abort})}}),VQ=te("$ZodCheckBigIntFormat",(e,t)=>{hi.init(e,t);let[a,s]=fQ[t.format];e._zod.onattach.push(i=>{let c=i._zod.bag;c.format=t.format,c.minimum=a,c.maximum=s}),e._zod.check=i=>{let c=i.value;c<a&&i.issues.push({origin:"bigint",input:c,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),c>s&&i.issues.push({origin:"bigint",input:c,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!t.abort})}}),qQ=te("$ZodCheckMaxSize",(e,t)=>{var a;hi.init(e,t),(a=e._zod.def).when??(a.when=s=>{let i=s.value;return!gd(i)&&i.size!==void 0}),e._zod.onattach.push(s=>{let i=s._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(s._zod.bag.maximum=t.maximum)}),e._zod.check=s=>{let i=s.value;i.size<=t.maximum||s.issues.push({origin:cE(i),code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),XQ=te("$ZodCheckMinSize",(e,t)=>{var a;hi.init(e,t),(a=e._zod.def).when??(a.when=s=>{let i=s.value;return!gd(i)&&i.size!==void 0}),e._zod.onattach.push(s=>{let i=s._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(s._zod.bag.minimum=t.minimum)}),e._zod.check=s=>{let i=s.value;i.size>=t.minimum||s.issues.push({origin:cE(i),code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),WQ=te("$ZodCheckSizeEquals",(e,t)=>{var a;hi.init(e,t),(a=e._zod.def).when??(a.when=s=>{let i=s.value;return!gd(i)&&i.size!==void 0}),e._zod.onattach.push(s=>{let i=s._zod.bag;i.minimum=t.size,i.maximum=t.size,i.size=t.size}),e._zod.check=s=>{let i=s.value,c=i.size;if(c===t.size)return;let d=c>t.size;s.issues.push({origin:cE(i),...d?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:s.value,inst:e,continue:!t.abort})}}),eS=te("$ZodCheckMaxLength",(e,t)=>{var a;hi.init(e,t),(a=e._zod.def).when??(a.when=s=>{let i=s.value;return!gd(i)&&i.length!==void 0}),e._zod.onattach.push(s=>{let i=s._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(s._zod.bag.maximum=t.maximum)}),e._zod.check=s=>{let i=s.value;if(i.length<=t.maximum)return;let d=AE(i);s.issues.push({origin:d,code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),tS=te("$ZodCheckMinLength",(e,t)=>{var a;hi.init(e,t),(a=e._zod.def).when??(a.when=s=>{let i=s.value;return!gd(i)&&i.length!==void 0}),e._zod.onattach.push(s=>{let i=s._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(s._zod.bag.minimum=t.minimum)}),e._zod.check=s=>{let i=s.value;if(i.length>=t.minimum)return;let d=AE(i);s.issues.push({origin:d,code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),nS=te("$ZodCheckLengthEquals",(e,t)=>{var a;hi.init(e,t),(a=e._zod.def).when??(a.when=s=>{let i=s.value;return!gd(i)&&i.length!==void 0}),e._zod.onattach.push(s=>{let i=s._zod.bag;i.minimum=t.length,i.maximum=t.length,i.length=t.length}),e._zod.check=s=>{let i=s.value,c=i.length;if(c===t.length)return;let d=AE(i),E=c>t.length;s.issues.push({origin:d,...E?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:s.value,inst:e,continue:!t.abort})}}),Rg=te("$ZodCheckStringFormat",(e,t)=>{var a,s;hi.init(e,t),e._zod.onattach.push(i=>{let c=i._zod.bag;c.format=t.format,t.pattern&&(c.patterns??(c.patterns=new Set),c.patterns.add(t.pattern))}),t.pattern?(a=e._zod).check??(a.check=i=>{t.pattern.lastIndex=0,!t.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(s=e._zod).check??(s.check=()=>{})}),iS=te("$ZodCheckRegex",(e,t)=>{Rg.init(e,t),e._zod.check=a=>{t.pattern.lastIndex=0,!t.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:"regex",input:a.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),rS=te("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=JQ),Rg.init(e,t)}),aS=te("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=KQ),Rg.init(e,t)}),oS=te("$ZodCheckIncludes",(e,t)=>{hi.init(e,t);let a=ll(t.includes),s=new RegExp(typeof t.position=="number"?`^.{${t.position}}${a}`:a);t.pattern=s,e._zod.onattach.push(i=>{let c=i._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(s)}),e._zod.check=i=>{i.value.includes(t.includes,t.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:i.value,inst:e,continue:!t.abort})}}),sS=te("$ZodCheckStartsWith",(e,t)=>{hi.init(e,t);let a=new RegExp(`^${ll(t.prefix)}.*`);t.pattern??(t.pattern=a),e._zod.onattach.push(s=>{let i=s._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(a)}),e._zod.check=s=>{s.value.startsWith(t.prefix)||s.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:s.value,inst:e,continue:!t.abort})}}),lS=te("$ZodCheckEndsWith",(e,t)=>{hi.init(e,t);let a=new RegExp(`.*${ll(t.suffix)}$`);t.pattern??(t.pattern=a),e._zod.onattach.push(s=>{let i=s._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(a)}),e._zod.check=s=>{s.value.endsWith(t.suffix)||s.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:s.value,inst:e,continue:!t.abort})}});uS=te("$ZodCheckProperty",(e,t)=>{hi.init(e,t),e._zod.check=a=>{let s=t.schema._zod.run({value:a.value[t.property],issues:[]},{});if(s instanceof Promise)return s.then(i=>gF(i,a,t.property));gF(s,a,t.property)}}),cS=te("$ZodCheckMimeType",(e,t)=>{hi.init(e,t);let a=new Set(t.mime);e._zod.onattach.push(s=>{s._zod.bag.mime=t.mime}),e._zod.check=s=>{a.has(s.value.type)||s.issues.push({code:"invalid_value",values:t.mime,input:s.value.type,inst:e,continue:!t.abort})}}),AS=te("$ZodCheckOverwrite",(e,t)=>{hi.init(e,t),e._zod.check=a=>{a.value=t.tx(a.value)}})});var hE,dS=L(()=>{"use strict";hE=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let s=t.split(`
|
|
274
|
+
`).filter(d=>d),i=Math.min(...s.map(d=>d.length-d.trimStart().length)),c=s.map(d=>d.slice(i)).map(d=>" ".repeat(this.indent*2)+d);for(let d of c)this.content.push(d)}compile(){let t=Function,a=this?.args,i=[...(this?.content??[""]).map(c=>` ${c}`)];return new t(...a,i.join(`
|
|
275
|
+
`))}}});var fS,pS=L(()=>{"use strict";fS={major:4,minor:3,patch:5}});function kS(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}function wF(e){if(!NC.test(e))return!1;let t=e.replace(/[-_]/g,s=>s==="-"?"+":"/"),a=t.padEnd(Math.ceil(t.length/4)*4,"=");return kS(a)}function xF(e,t=null){try{let a=e.split(".");if(a.length!==3)return!1;let[s]=a;if(!s)return!1;let i=JSON.parse(atob(s));return!("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))}catch{return!1}}function EF(e,t,a){e.issues.length&&t.issues.push(...Es(a,e.issues)),t.value[a]=e.value}function HC(e,t,a,s,i){if(e.issues.length){if(i&&!(a in s))return;t.issues.push(...Es(a,e.issues))}e.value===void 0?a in s&&(t.value[a]=void 0):t.value[a]=e.value}function UF(e){let t=Object.keys(e.shape);for(let s of t)if(!e.shape?.[s]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${s}": expected a Zod schema`);let a=AQ(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(a)}}function NF(e,t,a,s,i,c){let d=[],E=i.keySet,C=i.catchall._zod,I=C.def.type,S=C.optout==="optional";for(let T in t){if(E.has(T))continue;if(I==="never"){d.push(T);continue}let z=C.run({value:t[T],issues:[]},s);z instanceof Promise?e.push(z.then(O=>HC(O,a,T,t,S))):HC(z,a,T,t,S)}return d.length&&a.issues.push({code:"unrecognized_keys",keys:d,input:t,inst:c}),e.length?Promise.all(e).then(()=>a):a}function yF(e,t,a,s){for(let c of e)if(c.issues.length===0)return t.value=c.value,t;let i=e.filter(c=>!Ed(c));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:a,errors:e.map(c=>c.issues.map(d=>$o(d,s,pr())))}),t)}function vF(e,t,a,s){let i=e.filter(c=>c.issues.length===0);return i.length===1?(t.value=i[0].value,t):(i.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:a,errors:e.map(c=>c.issues.map(d=>$o(d,s,pr())))}):t.issues.push({code:"invalid_union",input:t.value,inst:a,errors:[],inclusive:!1}),t)}function gS(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(hd(e)&&hd(t)){let a=Object.keys(t),s=Object.keys(e).filter(c=>a.indexOf(c)!==-1),i={...e,...t};for(let c of s){let d=gS(e[c],t[c]);if(!d.valid)return{valid:!1,mergeErrorPath:[c,...d.mergeErrorPath]};i[c]=d.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let a=[];for(let s=0;s<e.length;s++){let i=e[s],c=t[s],d=gS(i,c);if(!d.valid)return{valid:!1,mergeErrorPath:[s,...d.mergeErrorPath]};a.push(d.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function CF(e,t,a){let s=new Map,i;for(let E of t.issues)if(E.code==="unrecognized_keys"){i??(i=E);for(let C of E.keys)s.has(C)||s.set(C,{}),s.get(C).l=!0}else e.issues.push(E);for(let E of a.issues)if(E.code==="unrecognized_keys")for(let C of E.keys)s.has(C)||s.set(C,{}),s.get(C).r=!0;else e.issues.push(E);let c=[...s].filter(([,E])=>E.l&&E.r).map(([E])=>E);if(c.length&&i&&e.issues.push({...i,keys:c}),Ed(e))return e;let d=gS(t.value,a.value);if(!d.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(d.mergeErrorPath)}`);return e.value=d.data,e}function zC(e,t,a){e.issues.length&&t.issues.push(...Es(a,e.issues)),t.value[a]=e.value}function IF(e,t,a,s,i,c,d){e.issues.length&&(uE.has(typeof s)?a.issues.push(...Es(s,e.issues)):a.issues.push({code:"invalid_key",origin:"map",input:i,inst:c,issues:e.issues.map(E=>$o(E,d,pr()))})),t.issues.length&&(uE.has(typeof s)?a.issues.push(...Es(s,t.issues)):a.issues.push({origin:"map",code:"invalid_element",input:i,inst:c,key:s,issues:t.issues.map(E=>$o(E,d,pr()))})),a.value.set(e.value,t.value)}function BF(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function _F(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}function DF(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function QF(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function MC(e,t,a){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},a)}function LC(e,t,a){if(e.issues.length)return e.aborted=!0,e;if((a.direction||"forward")==="forward"){let i=t.transform(e.value,e);return i instanceof Promise?i.then(c=>$C(e,c,t.out,a)):$C(e,i,t.out,a)}else{let i=t.reverseTransform(e.value,e);return i instanceof Promise?i.then(c=>$C(e,c,t.in,a)):$C(e,i,t.in,a)}}function $C(e,t,a,s){return e.issues.length?(e.aborted=!0,e):a._zod.run({value:t,issues:e.issues},s)}function SF(e){return e.value=Object.freeze(e.value),e}function bF(e,t,a,s){if(!e){let i={code:"custom",input:a,inst:s,path:[...s._zod.def.path??[]],continue:!s._zod.def.abort};s._zod.def.params&&(i.params=s._zod.def.params),t.issues.push(bg(i))}}var zt,Mf,ui,mS,hS,ES,yS,vS,CS,IS,BS,_S,DS,QS,SS,bS,wS,xS,US,NS,RS,TS,OS,FS,zS,MS,LS,$S,GC,HS,EE,jC,GS,jS,PS,JS,KS,ZS,YS,VS,qS,XS,RF,WS,yE,eb,tb,nb,PC,ib,rb,ab,ob,sb,lb,ub,JC,cb,Ab,db,fb,pb,gb,mb,hb,Eb,vE,yb,vb,Cb,Ib,Bb,_b,Db=L(()=>{"use strict";FC();Dg();dS();yQ();TC();Dt();pS();Dt();zt=te("$ZodType",(e,t)=>{var a;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=fS;let s=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&s.unshift(e);for(let i of s)for(let c of i._zod.onattach)c(e);if(s.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(d,E,C)=>{let I=Ed(d),S;for(let T of E){if(T._zod.def.when){if(!T._zod.def.when(d))continue}else if(I)continue;let z=d.issues.length,O=T._zod.check(d);if(O instanceof Promise&&C?.async===!1)throw new Zl;if(S||O instanceof Promise)S=(S??Promise.resolve()).then(async()=>{await O,d.issues.length!==z&&(I||(I=Ed(d,z)))});else{if(d.issues.length===z)continue;I||(I=Ed(d,z))}}return S?S.then(()=>d):d},c=(d,E,C)=>{if(Ed(d))return d.aborted=!0,d;let I=i(E,s,C);if(I instanceof Promise){if(C.async===!1)throw new Zl;return I.then(S=>e._zod.parse(S,C))}return e._zod.parse(I,C)};e._zod.run=(d,E)=>{if(E.skipChecks)return e._zod.parse(d,E);if(E.direction==="backward"){let I=e._zod.parse({value:d.value,issues:[]},{...E,skipChecks:!0});return I instanceof Promise?I.then(S=>c(S,d,E)):c(I,d,E)}let C=e._zod.parse(d,E);if(C instanceof Promise){if(E.async===!1)throw new Zl;return C.then(I=>i(I,s,E))}return i(C,s,E)}}cn(e,"~standard",()=>({validate:i=>{try{let c=hQ(e,i);return c.success?{value:c.data}:{issues:c.error?.issues}}catch{return EQ(e,i).then(d=>d.success?{value:d.data}:{issues:d.error?.issues})}},vendor:"zod",version:1}))}),Mf=te("$ZodString",(e,t)=>{zt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??LQ(e._zod.bag),e._zod.parse=(a,s)=>{if(t.coerce)try{a.value=String(a.value)}catch{}return typeof a.value=="string"||a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),ui=te("$ZodStringFormat",(e,t)=>{Rg.init(e,t),Mf.init(e,t)}),mS=te("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=SQ),ui.init(e,t)}),hS=te("$ZodUUID",(e,t)=>{if(t.version){let s={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(s===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=zf(s))}else t.pattern??(t.pattern=zf());ui.init(e,t)}),ES=te("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=bQ),ui.init(e,t)}),yS=te("$ZodURL",(e,t)=>{ui.init(e,t),e._zod.check=a=>{try{let s=a.value.trim(),i=new URL(s);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:a.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:a.value,inst:e,continue:!t.abort})),t.normalize?a.value=i.href:a.value=s;return}catch{a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!t.abort})}}}),vS=te("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=wQ()),ui.init(e,t)}),CS=te("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=DQ),ui.init(e,t)}),IS=te("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=vQ),ui.init(e,t)}),BS=te("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=CQ),ui.init(e,t)}),_S=te("$ZodULID",(e,t)=>{t.pattern??(t.pattern=IQ),ui.init(e,t)}),DS=te("$ZodXID",(e,t)=>{t.pattern??(t.pattern=BQ),ui.init(e,t)}),QS=te("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=_Q),ui.init(e,t)}),SS=te("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=MQ(t)),ui.init(e,t)}),bS=te("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=FQ),ui.init(e,t)}),wS=te("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=zQ(t)),ui.init(e,t)}),xS=te("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=QQ),ui.init(e,t)}),US=te("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=xQ),ui.init(e,t),e._zod.bag.format="ipv4"}),NS=te("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=UQ),ui.init(e,t),e._zod.bag.format="ipv6",e._zod.check=a=>{try{new URL(`http://[${a.value}]`)}catch{a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!t.abort})}}}),RS=te("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=NQ(t.delimiter)),ui.init(e,t),e._zod.bag.format="mac"}),TS=te("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=RQ),ui.init(e,t)}),OS=te("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=TQ),ui.init(e,t),e._zod.check=a=>{let s=a.value.split("/");try{if(s.length!==2)throw new Error;let[i,c]=s;if(!c)throw new Error;let d=Number(c);if(`${d}`!==c)throw new Error;if(d<0||d>128)throw new Error;new URL(`http://[${i}]`)}catch{a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!t.abort})}}});FS=te("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=OQ),ui.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=a=>{kS(a.value)||a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!t.abort})}});zS=te("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=NC),ui.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=a=>{wF(a.value)||a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!t.abort})}}),MS=te("$ZodE164",(e,t)=>{t.pattern??(t.pattern=kQ),ui.init(e,t)});LS=te("$ZodJWT",(e,t)=>{ui.init(e,t),e._zod.check=a=>{xF(a.value,t.alg)||a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!t.abort})}}),$S=te("$ZodCustomStringFormat",(e,t)=>{ui.init(e,t),e._zod.check=a=>{t.fn(a.value)||a.issues.push({code:"invalid_format",format:t.format,input:a.value,inst:e,continue:!t.abort})}}),GC=te("$ZodNumber",(e,t)=>{zt.init(e,t),e._zod.pattern=e._zod.bag.pattern??RC,e._zod.parse=(a,s)=>{if(t.coerce)try{a.value=Number(a.value)}catch{}let i=a.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return a;let c=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return a.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...c?{received:c}:{}}),a}}),HS=te("$ZodNumberFormat",(e,t)=>{YQ.init(e,t),GC.init(e,t)}),EE=te("$ZodBoolean",(e,t)=>{zt.init(e,t),e._zod.pattern=GQ,e._zod.parse=(a,s)=>{if(t.coerce)try{a.value=!!a.value}catch{}let i=a.value;return typeof i=="boolean"||a.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),a}}),jC=te("$ZodBigInt",(e,t)=>{zt.init(e,t),e._zod.pattern=$Q,e._zod.parse=(a,s)=>{if(t.coerce)try{a.value=BigInt(a.value)}catch{}return typeof a.value=="bigint"||a.issues.push({expected:"bigint",code:"invalid_type",input:a.value,inst:e}),a}}),GS=te("$ZodBigIntFormat",(e,t)=>{VQ.init(e,t),jC.init(e,t)}),jS=te("$ZodSymbol",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value;return typeof i=="symbol"||a.issues.push({expected:"symbol",code:"invalid_type",input:i,inst:e}),a}}),PS=te("$ZodUndefined",(e,t)=>{zt.init(e,t),e._zod.pattern=PQ,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(a,s)=>{let i=a.value;return typeof i>"u"||a.issues.push({expected:"undefined",code:"invalid_type",input:i,inst:e}),a}}),JS=te("$ZodNull",(e,t)=>{zt.init(e,t),e._zod.pattern=jQ,e._zod.values=new Set([null]),e._zod.parse=(a,s)=>{let i=a.value;return i===null||a.issues.push({expected:"null",code:"invalid_type",input:i,inst:e}),a}}),KS=te("$ZodAny",(e,t)=>{zt.init(e,t),e._zod.parse=a=>a}),ZS=te("$ZodUnknown",(e,t)=>{zt.init(e,t),e._zod.parse=a=>a}),YS=te("$ZodNever",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)}),VS=te("$ZodVoid",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value;return typeof i>"u"||a.issues.push({expected:"void",code:"invalid_type",input:i,inst:e}),a}}),qS=te("$ZodDate",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{if(t.coerce)try{a.value=new Date(a.value)}catch{}let i=a.value,c=i instanceof Date;return c&&!Number.isNaN(i.getTime())||a.issues.push({expected:"date",code:"invalid_type",input:i,...c?{received:"Invalid Date"}:{},inst:e}),a}});XS=te("$ZodArray",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value;if(!Array.isArray(i))return a.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),a;a.value=Array(i.length);let c=[];for(let d=0;d<i.length;d++){let E=i[d],C=t.element._zod.run({value:E,issues:[]},s);C instanceof Promise?c.push(C.then(I=>EF(I,a,d))):EF(C,a,d)}return c.length?Promise.all(c).then(()=>a):a}});RF=te("$ZodObject",(e,t)=>{if(zt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let E=t.shape;Object.defineProperty(t,"shape",{get:()=>{let C={...E};return Object.defineProperty(t,"shape",{value:C}),C}})}let s=Sg(()=>UF(t));cn(e._zod,"propValues",()=>{let E=t.shape,C={};for(let I in E){let S=E[I]._zod;if(S.values){C[I]??(C[I]=new Set);for(let T of S.values)C[I].add(T)}}return C});let i=Ff,c=t.catchall,d;e._zod.parse=(E,C)=>{d??(d=s.value);let I=E.value;if(!i(I))return E.issues.push({expected:"object",code:"invalid_type",input:I,inst:e}),E;E.value={};let S=[],T=d.shape;for(let z of d.keys){let O=T[z],j=O._zod.optout==="optional",q=O._zod.run({value:I[z],issues:[]},C);q instanceof Promise?S.push(q.then(Y=>HC(Y,E,z,I,j))):HC(q,E,z,I,j)}return c?NF(S,I,E,C,s.value,e):S.length?Promise.all(S).then(()=>E):E}}),WS=te("$ZodObjectJIT",(e,t)=>{RF.init(e,t);let a=e._zod.parse,s=Sg(()=>UF(t)),i=z=>{let O=new hE(["shape","payload","ctx"]),j=s.value,q=be=>{let ge=vC(be);return`shape[${ge}]._zod.run({ value: input[${ge}], issues: [] }, ctx)`};O.write("const input = payload.value;");let Y=Object.create(null),re=0;for(let be of j.keys)Y[be]=`key_${re++}`;O.write("const newResult = {};");for(let be of j.keys){let ge=Y[be],$e=vC(be),at=z[be]?._zod?.optout==="optional";O.write(`const ${ge} = ${q(be)};`),at?O.write(`
|
|
276
|
+
if (${ge}.issues.length) {
|
|
277
|
+
if (${$e} in input) {
|
|
278
|
+
payload.issues = payload.issues.concat(${ge}.issues.map(iss => ({
|
|
279
|
+
...iss,
|
|
280
|
+
path: iss.path ? [${$e}, ...iss.path] : [${$e}]
|
|
281
|
+
})));
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
if (${ge}.value === undefined) {
|
|
286
|
+
if (${$e} in input) {
|
|
287
|
+
newResult[${$e}] = undefined;
|
|
288
|
+
}
|
|
289
|
+
} else {
|
|
290
|
+
newResult[${$e}] = ${ge}.value;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
`):O.write(`
|
|
294
|
+
if (${ge}.issues.length) {
|
|
295
|
+
payload.issues = payload.issues.concat(${ge}.issues.map(iss => ({
|
|
296
|
+
...iss,
|
|
297
|
+
path: iss.path ? [${$e}, ...iss.path] : [${$e}]
|
|
298
|
+
})));
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
if (${ge}.value === undefined) {
|
|
302
|
+
if (${$e} in input) {
|
|
303
|
+
newResult[${$e}] = undefined;
|
|
304
|
+
}
|
|
305
|
+
} else {
|
|
306
|
+
newResult[${$e}] = ${ge}.value;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
`)}O.write("payload.value = newResult;"),O.write("return payload;");let ve=O.compile();return(be,ge)=>ve(z,be,ge)},c,d=Ff,E=!aE.jitless,I=E&&lQ.value,S=t.catchall,T;e._zod.parse=(z,O)=>{T??(T=s.value);let j=z.value;return d(j)?E&&I&&O?.async===!1&&O.jitless!==!0?(c||(c=i(t.shape)),z=c(z,O),S?NF([],j,z,O,T,e):z):a(z,O):(z.issues.push({expected:"object",code:"invalid_type",input:j,inst:e}),z)}});yE=te("$ZodUnion",(e,t)=>{zt.init(e,t),cn(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),cn(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),cn(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),cn(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){let i=t.options.map(c=>c._zod.pattern);return new RegExp(`^(${i.map(c=>lE(c.source)).join("|")})$`)}});let a=t.options.length===1,s=t.options[0]._zod.run;e._zod.parse=(i,c)=>{if(a)return s(i,c);let d=!1,E=[];for(let C of t.options){let I=C._zod.run({value:i.value,issues:[]},c);if(I instanceof Promise)E.push(I),d=!0;else{if(I.issues.length===0)return I;E.push(I)}}return d?Promise.all(E).then(C=>yF(C,i,e,c)):yF(E,i,e,c)}});eb=te("$ZodXor",(e,t)=>{yE.init(e,t),t.inclusive=!1;let a=t.options.length===1,s=t.options[0]._zod.run;e._zod.parse=(i,c)=>{if(a)return s(i,c);let d=!1,E=[];for(let C of t.options){let I=C._zod.run({value:i.value,issues:[]},c);I instanceof Promise?(E.push(I),d=!0):E.push(I)}return d?Promise.all(E).then(C=>vF(C,i,e,c)):vF(E,i,e,c)}}),tb=te("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,yE.init(e,t);let a=e._zod.parse;cn(e._zod,"propValues",()=>{let i={};for(let c of t.options){let d=c._zod.propValues;if(!d||Object.keys(d).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(c)}"`);for(let[E,C]of Object.entries(d)){i[E]||(i[E]=new Set);for(let I of C)i[E].add(I)}}return i});let s=Sg(()=>{let i=t.options,c=new Map;for(let d of i){let E=d._zod.propValues?.[t.discriminator];if(!E||E.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(d)}"`);for(let C of E){if(c.has(C))throw new Error(`Duplicate discriminator value "${String(C)}"`);c.set(C,d)}}return c});e._zod.parse=(i,c)=>{let d=i.value;if(!Ff(d))return i.issues.push({code:"invalid_type",expected:"object",input:d,inst:e}),i;let E=s.value.get(d?.[t.discriminator]);return E?E._zod.run(i,c):t.unionFallback?a(i,c):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:d,path:[t.discriminator],inst:e}),i)}}),nb=te("$ZodIntersection",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value,c=t.left._zod.run({value:i,issues:[]},s),d=t.right._zod.run({value:i,issues:[]},s);return c instanceof Promise||d instanceof Promise?Promise.all([c,d]).then(([C,I])=>CF(a,C,I)):CF(a,c,d)}});PC=te("$ZodTuple",(e,t)=>{zt.init(e,t);let a=t.items;e._zod.parse=(s,i)=>{let c=s.value;if(!Array.isArray(c))return s.issues.push({input:c,inst:e,expected:"tuple",code:"invalid_type"}),s;s.value=[];let d=[],E=[...a].reverse().findIndex(S=>S._zod.optin!=="optional"),C=E===-1?0:a.length-E;if(!t.rest){let S=c.length>a.length,T=c.length<C-1;if(S||T)return s.issues.push({...S?{code:"too_big",maximum:a.length,inclusive:!0}:{code:"too_small",minimum:a.length},input:c,inst:e,origin:"array"}),s}let I=-1;for(let S of a){if(I++,I>=c.length&&I>=C)continue;let T=S._zod.run({value:c[I],issues:[]},i);T instanceof Promise?d.push(T.then(z=>zC(z,s,I))):zC(T,s,I)}if(t.rest){let S=c.slice(a.length);for(let T of S){I++;let z=t.rest._zod.run({value:T,issues:[]},i);z instanceof Promise?d.push(z.then(O=>zC(O,s,I))):zC(z,s,I)}}return d.length?Promise.all(d).then(()=>s):s}});ib=te("$ZodRecord",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value;if(!hd(i))return a.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),a;let c=[],d=t.keyType._zod.values;if(d){a.value={};let E=new Set;for(let I of d)if(typeof I=="string"||typeof I=="number"||typeof I=="symbol"){E.add(typeof I=="number"?I.toString():I);let S=t.valueType._zod.run({value:i[I],issues:[]},s);S instanceof Promise?c.push(S.then(T=>{T.issues.length&&a.issues.push(...Es(I,T.issues)),a.value[I]=T.value})):(S.issues.length&&a.issues.push(...Es(I,S.issues)),a.value[I]=S.value)}let C;for(let I in i)E.has(I)||(C=C??[],C.push(I));C&&C.length>0&&a.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:C})}else{a.value={};for(let E of Reflect.ownKeys(i)){if(E==="__proto__")continue;let C=t.keyType._zod.run({value:E,issues:[]},s);if(C instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof E=="string"&&RC.test(E)&&C.issues.length&&C.issues.some(T=>T.code==="invalid_type"&&T.expected==="number")){let T=t.keyType._zod.run({value:Number(E),issues:[]},s);if(T instanceof Promise)throw new Error("Async schemas not supported in object keys currently");T.issues.length===0&&(C=T)}if(C.issues.length){t.mode==="loose"?a.value[E]=i[E]:a.issues.push({code:"invalid_key",origin:"record",issues:C.issues.map(T=>$o(T,s,pr())),input:E,path:[E],inst:e});continue}let S=t.valueType._zod.run({value:i[E],issues:[]},s);S instanceof Promise?c.push(S.then(T=>{T.issues.length&&a.issues.push(...Es(E,T.issues)),a.value[C.value]=T.value})):(S.issues.length&&a.issues.push(...Es(E,S.issues)),a.value[C.value]=S.value)}}return c.length?Promise.all(c).then(()=>a):a}}),rb=te("$ZodMap",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value;if(!(i instanceof Map))return a.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),a;let c=[];a.value=new Map;for(let[d,E]of i){let C=t.keyType._zod.run({value:d,issues:[]},s),I=t.valueType._zod.run({value:E,issues:[]},s);C instanceof Promise||I instanceof Promise?c.push(Promise.all([C,I]).then(([S,T])=>{IF(S,T,a,d,i,e,s)})):IF(C,I,a,d,i,e,s)}return c.length?Promise.all(c).then(()=>a):a}});ab=te("$ZodSet",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value;if(!(i instanceof Set))return a.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),a;let c=[];a.value=new Set;for(let d of i){let E=t.valueType._zod.run({value:d,issues:[]},s);E instanceof Promise?c.push(E.then(C=>BF(C,a))):BF(E,a)}return c.length?Promise.all(c).then(()=>a):a}});ob=te("$ZodEnum",(e,t)=>{zt.init(e,t);let a=sE(t.entries),s=new Set(a);e._zod.values=s,e._zod.pattern=new RegExp(`^(${a.filter(i=>uE.has(typeof i)).map(i=>typeof i=="string"?ll(i):i.toString()).join("|")})$`),e._zod.parse=(i,c)=>{let d=i.value;return s.has(d)||i.issues.push({code:"invalid_value",values:a,input:d,inst:e}),i}}),sb=te("$ZodLiteral",(e,t)=>{if(zt.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let a=new Set(t.values);e._zod.values=a,e._zod.pattern=new RegExp(`^(${t.values.map(s=>typeof s=="string"?ll(s):s?ll(s.toString()):String(s)).join("|")})$`),e._zod.parse=(s,i)=>{let c=s.value;return a.has(c)||s.issues.push({code:"invalid_value",values:t.values,input:c,inst:e}),s}}),lb=te("$ZodFile",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{let i=a.value;return i instanceof File||a.issues.push({expected:"file",code:"invalid_type",input:i,inst:e}),a}}),ub=te("$ZodTransform",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{if(s.direction==="backward")throw new pd(e.constructor.name);let i=t.transform(a.value,a);if(s.async)return(i instanceof Promise?i:Promise.resolve(i)).then(d=>(a.value=d,a));if(i instanceof Promise)throw new Zl;return a.value=i,a}});JC=te("$ZodOptional",(e,t)=>{zt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",cn(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),cn(e._zod,"pattern",()=>{let a=t.innerType._zod.pattern;return a?new RegExp(`^(${lE(a.source)})?$`):void 0}),e._zod.parse=(a,s)=>{if(t.innerType._zod.optin==="optional"){let i=t.innerType._zod.run(a,s);return i instanceof Promise?i.then(c=>_F(c,a.value)):_F(i,a.value)}return a.value===void 0?a:t.innerType._zod.run(a,s)}}),cb=te("$ZodExactOptional",(e,t)=>{JC.init(e,t),cn(e._zod,"values",()=>t.innerType._zod.values),cn(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(a,s)=>t.innerType._zod.run(a,s)}),Ab=te("$ZodNullable",(e,t)=>{zt.init(e,t),cn(e._zod,"optin",()=>t.innerType._zod.optin),cn(e._zod,"optout",()=>t.innerType._zod.optout),cn(e._zod,"pattern",()=>{let a=t.innerType._zod.pattern;return a?new RegExp(`^(${lE(a.source)}|null)$`):void 0}),cn(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(a,s)=>a.value===null?a:t.innerType._zod.run(a,s)}),db=te("$ZodDefault",(e,t)=>{zt.init(e,t),e._zod.optin="optional",cn(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(a,s)=>{if(s.direction==="backward")return t.innerType._zod.run(a,s);if(a.value===void 0)return a.value=t.defaultValue,a;let i=t.innerType._zod.run(a,s);return i instanceof Promise?i.then(c=>DF(c,t)):DF(i,t)}});fb=te("$ZodPrefault",(e,t)=>{zt.init(e,t),e._zod.optin="optional",cn(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(a,s)=>(s.direction==="backward"||a.value===void 0&&(a.value=t.defaultValue),t.innerType._zod.run(a,s))}),pb=te("$ZodNonOptional",(e,t)=>{zt.init(e,t),cn(e._zod,"values",()=>{let a=t.innerType._zod.values;return a?new Set([...a].filter(s=>s!==void 0)):void 0}),e._zod.parse=(a,s)=>{let i=t.innerType._zod.run(a,s);return i instanceof Promise?i.then(c=>QF(c,e)):QF(i,e)}});gb=te("$ZodSuccess",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>{if(s.direction==="backward")throw new pd("ZodSuccess");let i=t.innerType._zod.run(a,s);return i instanceof Promise?i.then(c=>(a.value=c.issues.length===0,a)):(a.value=i.issues.length===0,a)}}),mb=te("$ZodCatch",(e,t)=>{zt.init(e,t),cn(e._zod,"optin",()=>t.innerType._zod.optin),cn(e._zod,"optout",()=>t.innerType._zod.optout),cn(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(a,s)=>{if(s.direction==="backward")return t.innerType._zod.run(a,s);let i=t.innerType._zod.run(a,s);return i instanceof Promise?i.then(c=>(a.value=c.value,c.issues.length&&(a.value=t.catchValue({...a,error:{issues:c.issues.map(d=>$o(d,s,pr()))},input:a.value}),a.issues=[]),a)):(a.value=i.value,i.issues.length&&(a.value=t.catchValue({...a,error:{issues:i.issues.map(c=>$o(c,s,pr()))},input:a.value}),a.issues=[]),a)}}),hb=te("$ZodNaN",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>((typeof a.value!="number"||!Number.isNaN(a.value))&&a.issues.push({input:a.value,inst:e,expected:"nan",code:"invalid_type"}),a)}),Eb=te("$ZodPipe",(e,t)=>{zt.init(e,t),cn(e._zod,"values",()=>t.in._zod.values),cn(e._zod,"optin",()=>t.in._zod.optin),cn(e._zod,"optout",()=>t.out._zod.optout),cn(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(a,s)=>{if(s.direction==="backward"){let c=t.out._zod.run(a,s);return c instanceof Promise?c.then(d=>MC(d,t.in,s)):MC(c,t.in,s)}let i=t.in._zod.run(a,s);return i instanceof Promise?i.then(c=>MC(c,t.out,s)):MC(i,t.out,s)}});vE=te("$ZodCodec",(e,t)=>{zt.init(e,t),cn(e._zod,"values",()=>t.in._zod.values),cn(e._zod,"optin",()=>t.in._zod.optin),cn(e._zod,"optout",()=>t.out._zod.optout),cn(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(a,s)=>{if((s.direction||"forward")==="forward"){let c=t.in._zod.run(a,s);return c instanceof Promise?c.then(d=>LC(d,t,s)):LC(c,t,s)}else{let c=t.out._zod.run(a,s);return c instanceof Promise?c.then(d=>LC(d,t,s)):LC(c,t,s)}}});yb=te("$ZodReadonly",(e,t)=>{zt.init(e,t),cn(e._zod,"propValues",()=>t.innerType._zod.propValues),cn(e._zod,"values",()=>t.innerType._zod.values),cn(e._zod,"optin",()=>t.innerType?._zod?.optin),cn(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(a,s)=>{if(s.direction==="backward")return t.innerType._zod.run(a,s);let i=t.innerType._zod.run(a,s);return i instanceof Promise?i.then(SF):SF(i)}});vb=te("$ZodTemplateLiteral",(e,t)=>{zt.init(e,t);let a=[];for(let s of t.parts)if(typeof s=="object"&&s!==null){if(!s._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...s._zod.traits].shift()}`);let i=s._zod.pattern instanceof RegExp?s._zod.pattern.source:s._zod.pattern;if(!i)throw new Error(`Invalid template literal part: ${s._zod.traits}`);let c=i.startsWith("^")?1:0,d=i.endsWith("$")?i.length-1:i.length;a.push(i.slice(c,d))}else if(s===null||cQ.has(typeof s))a.push(ll(`${s}`));else throw new Error(`Invalid template literal part: ${s}`);e._zod.pattern=new RegExp(`^${a.join("")}$`),e._zod.parse=(s,i)=>typeof s.value!="string"?(s.issues.push({input:s.value,inst:e,expected:"string",code:"invalid_type"}),s):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(s.value)||s.issues.push({input:s.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),s)}),Cb=te("$ZodFunction",(e,t)=>(zt.init(e,t),e._def=t,e._zod.def=t,e.implement=a=>{if(typeof a!="function")throw new Error("implement() must be called with a function");return function(...s){let i=e._def.input?IC(e._def.input,s):s,c=Reflect.apply(a,this,i);return e._def.output?IC(e._def.output,c):c}},e.implementAsync=a=>{if(typeof a!="function")throw new Error("implementAsync() must be called with a function");return async function(...s){let i=e._def.input?await BC(e._def.input,s):s,c=await Reflect.apply(a,this,i);return e._def.output?await BC(e._def.output,c):c}},e._zod.parse=(a,s)=>typeof a.value!="function"?(a.issues.push({code:"invalid_type",expected:"function",input:a.value,inst:e}),a):(e._def.output&&e._def.output._zod.def.type==="promise"?a.value=e.implementAsync(a.value):a.value=e.implement(a.value),a),e.input=(...a)=>{let s=e.constructor;return Array.isArray(a[0])?new s({type:"function",input:new PC({type:"tuple",items:a[0],rest:a[1]}),output:e._def.output}):new s({type:"function",input:a[0],output:e._def.output})},e.output=a=>{let s=e.constructor;return new s({type:"function",input:e._def.input,output:a})},e)),Ib=te("$ZodPromise",(e,t)=>{zt.init(e,t),e._zod.parse=(a,s)=>Promise.resolve(a.value).then(i=>t.innerType._zod.run({value:i,issues:[]},s))}),Bb=te("$ZodLazy",(e,t)=>{zt.init(e,t),cn(e._zod,"innerType",()=>t.getter()),cn(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),cn(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),cn(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),cn(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(a,s)=>e._zod.innerType._zod.run(a,s)}),_b=te("$ZodCustom",(e,t)=>{hi.init(e,t),zt.init(e,t),e._zod.parse=(a,s)=>a,e._zod.check=a=>{let s=a.value,i=t.fn(s);if(i instanceof Promise)return i.then(c=>bF(c,a,s,e));bF(i,a,s,e)}})});function TF(){return{localeError:FJ()}}var FJ,OF=L(()=>{"use strict";Dt();FJ=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(i){return e[i]??null}let a={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${i.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${E}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${c}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${E}`}case"invalid_value":return i.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${Fe(i.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${i.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${c} ${i.maximum.toString()} ${d.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${i.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${c} ${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${i.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${c} ${i.minimum.toString()} ${d.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${i.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${c} ${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${i.prefix}"`:c.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${c.suffix}"`:c.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${c.includes}"`:c.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${c.pattern}`:`${a[c.format]??i.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${i.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${i.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${i.keys.length>1?"\u0629":""}: ${de(i.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${i.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${i.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}}});function kF(){return{localeError:zJ()}}var zJ,FF=L(()=>{"use strict";Dt();zJ=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(i){return e[i]??null}let a={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${i.expected}, daxil olan ${E}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${c}, daxil olan ${E}`}case"invalid_value":return i.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${Fe(i.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${i.origin??"d\u0259y\u0259r"} ${c}${i.maximum.toString()} ${d.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${i.origin??"d\u0259y\u0259r"} ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${i.origin} ${c}${i.minimum.toString()} ${d.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${i.origin} ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${c.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:c.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${c.suffix}" il\u0259 bitm\u0259lidir`:c.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${c.includes}" daxil olmal\u0131d\u0131r`:c.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${c.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${a[c.format]??i.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${i.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${i.keys.length>1?"lar":""}: ${de(i.keys,", ")}`;case"invalid_key":return`${i.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${i.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}}});function zF(e,t,a,s){let i=Math.abs(e),c=i%10,d=i%100;return d>=11&&d<=19?s:c===1?t:c>=2&&c<=4?a:s}function MF(){return{localeError:MJ()}}var MJ,LF=L(()=>{"use strict";Dt();MJ=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(i){return e[i]??null}let a={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},s={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${i.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${E}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${c}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${E}`}case"invalid_value":return i.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${Fe(i.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);if(d){let E=Number(i.maximum),C=zF(E,d.unit.one,d.unit.few,d.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${d.verb} ${c}${i.maximum.toString()} ${C}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);if(d){let E=Number(i.minimum),C=zF(E,d.unit.one,d.unit.few,d.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${d.verb} ${c}${i.minimum.toString()} ${C}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${c.prefix}"`:c.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${c.suffix}"`:c.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${c.includes}"`:c.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${c.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${a[c.format]??i.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${i.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${de(i.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${i.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${i.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}}});function $F(){return{localeError:LJ()}}var LJ,HF=L(()=>{"use strict";Dt();LJ=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(i){return e[i]??null}let a={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},s={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${i.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${E}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${c}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${E}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${Fe(i.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${c}${i.maximum.toString()} ${d.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${c}${i.minimum.toString()} ${d.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;if(c.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${c.prefix}"`;if(c.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${c.suffix}"`;if(c.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${c.includes}"`;if(c.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${c.pattern}`;let d="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return c.format==="emoji"&&(d="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),c.format==="datetime"&&(d="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),c.format==="date"&&(d="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),c.format==="time"&&(d="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),c.format==="duration"&&(d="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${d} ${a[c.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${i.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${i.keys.length>1?"\u043E\u0432\u0435":""}: ${de(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${i.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}}});function GF(){return{localeError:$J()}}var $J,jF=L(()=>{"use strict";Dt();$J=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(i){return e[i]??null}let a={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${i.expected}, s'ha rebut ${E}`:`Tipus inv\xE0lid: s'esperava ${c}, s'ha rebut ${E}`}case"invalid_value":return i.values.length===1?`Valor inv\xE0lid: s'esperava ${Fe(i.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${de(i.values," o ")}`;case"too_big":{let c=i.inclusive?"com a m\xE0xim":"menys de",d=t(i.origin);return d?`Massa gran: s'esperava que ${i.origin??"el valor"} contingu\xE9s ${c} ${i.maximum.toString()} ${d.unit??"elements"}`:`Massa gran: s'esperava que ${i.origin??"el valor"} fos ${c} ${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?"com a m\xEDnim":"m\xE9s de",d=t(i.origin);return d?`Massa petit: s'esperava que ${i.origin} contingu\xE9s ${c} ${i.minimum.toString()} ${d.unit}`:`Massa petit: s'esperava que ${i.origin} fos ${c} ${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${c.prefix}"`:c.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${c.suffix}"`:c.format==="includes"?`Format inv\xE0lid: ha d'incloure "${c.includes}"`:c.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${c.pattern}`:`Format inv\xE0lid per a ${a[c.format]??i.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${i.divisor}`;case"unrecognized_keys":return`Clau${i.keys.length>1?"s":""} no reconeguda${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${i.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${i.origin}`;default:return"Entrada inv\xE0lida"}}}});function PF(){return{localeError:HJ()}}var HJ,JF=L(()=>{"use strict";Dt();HJ=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(i){return e[i]??null}let a={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},s={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${i.expected}, obdr\u017Eeno ${E}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${c}, obdr\u017Eeno ${E}`}case"invalid_value":return i.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${Fe(i.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${i.origin??"hodnota"} mus\xED m\xEDt ${c}${i.maximum.toString()} ${d.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${i.origin??"hodnota"} mus\xED b\xFDt ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${i.origin??"hodnota"} mus\xED m\xEDt ${c}${i.minimum.toString()} ${d.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${i.origin??"hodnota"} mus\xED b\xFDt ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${c.prefix}"`:c.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${c.suffix}"`:c.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${c.includes}"`:c.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${c.pattern}`:`Neplatn\xFD form\xE1t ${a[c.format]??i.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${i.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${de(i.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${i.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${i.origin}`;default:return"Neplatn\xFD vstup"}}}});function KF(){return{localeError:GJ()}}var GJ,ZF=L(()=>{"use strict";Dt();GJ=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(i){return e[i]??null}let a={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},s={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Ugyldigt input: forventede instanceof ${i.expected}, fik ${E}`:`Ugyldigt input: forventede ${c}, fik ${E}`}case"invalid_value":return i.values.length===1?`Ugyldig v\xE6rdi: forventede ${Fe(i.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin),E=s[i.origin]??i.origin;return d?`For stor: forventede ${E??"value"} ${d.verb} ${c} ${i.maximum.toString()} ${d.unit??"elementer"}`:`For stor: forventede ${E??"value"} havde ${c} ${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin),E=s[i.origin]??i.origin;return d?`For lille: forventede ${E} ${d.verb} ${c} ${i.minimum.toString()} ${d.unit}`:`For lille: forventede ${E} havde ${c} ${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Ugyldig streng: skal starte med "${c.prefix}"`:c.format==="ends_with"?`Ugyldig streng: skal ende med "${c.suffix}"`:c.format==="includes"?`Ugyldig streng: skal indeholde "${c.includes}"`:c.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${c.pattern}`:`Ugyldig ${a[c.format]??i.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${de(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${i.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${i.origin}`;default:return"Ugyldigt input"}}}});function YF(){return{localeError:jJ()}}var jJ,VF=L(()=>{"use strict";Dt();jJ=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(i){return e[i]??null}let a={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},s={nan:"NaN",number:"Zahl",array:"Array"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${i.expected}, erhalten ${E}`:`Ung\xFCltige Eingabe: erwartet ${c}, erhalten ${E}`}case"invalid_value":return i.values.length===1?`Ung\xFCltige Eingabe: erwartet ${Fe(i.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Zu gro\xDF: erwartet, dass ${i.origin??"Wert"} ${c}${i.maximum.toString()} ${d.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${i.origin??"Wert"} ${c}${i.maximum.toString()} ist`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Zu klein: erwartet, dass ${i.origin} ${c}${i.minimum.toString()} ${d.unit} hat`:`Zu klein: erwartet, dass ${i.origin} ${c}${i.minimum.toString()} ist`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Ung\xFCltiger String: muss mit "${c.prefix}" beginnen`:c.format==="ends_with"?`Ung\xFCltiger String: muss mit "${c.suffix}" enden`:c.format==="includes"?`Ung\xFCltiger String: muss "${c.includes}" enthalten`:c.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${c.pattern} entsprechen`:`Ung\xFCltig: ${a[c.format]??i.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${i.divisor} sein`;case"unrecognized_keys":return`${i.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${de(i.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${i.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${i.origin}`;default:return"Ung\xFCltige Eingabe"}}}});function KC(){return{localeError:PJ()}}var PJ,Qb=L(()=>{"use strict";Dt();PJ=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(i){return e[i]??null}let a={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return`Invalid input: expected ${c}, received ${E}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${Fe(i.values[0])}`:`Invalid option: expected one of ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Too big: expected ${i.origin??"value"} to have ${c}${i.maximum.toString()} ${d.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Too small: expected ${i.origin} to have ${c}${i.minimum.toString()} ${d.unit}`:`Too small: expected ${i.origin} to be ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Invalid string: must start with "${c.prefix}"`:c.format==="ends_with"?`Invalid string: must end with "${c.suffix}"`:c.format==="includes"?`Invalid string: must include "${c.includes}"`:c.format==="regex"?`Invalid string: must match pattern ${c.pattern}`:`Invalid ${a[c.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}}});function qF(){return{localeError:JJ()}}var JJ,XF=L(()=>{"use strict";Dt();JJ=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(i){return e[i]??null}let a={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},s={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${i.expected}, ricevi\u011Dis ${E}`:`Nevalida enigo: atendi\u011Dis ${c}, ricevi\u011Dis ${E}`}case"invalid_value":return i.values.length===1?`Nevalida enigo: atendi\u011Dis ${Fe(i.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${c}${i.maximum.toString()} ${d.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Tro malgranda: atendi\u011Dis ke ${i.origin} havu ${c}${i.minimum.toString()} ${d.unit}`:`Tro malgranda: atendi\u011Dis ke ${i.origin} estu ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${c.prefix}"`:c.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${c.suffix}"`:c.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${c.includes}"`:c.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${c.pattern}`:`Nevalida ${a[c.format]??i.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${i.divisor}`;case"unrecognized_keys":return`Nekonata${i.keys.length>1?"j":""} \u015Dlosilo${i.keys.length>1?"j":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${i.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${i.origin}`;default:return"Nevalida enigo"}}}});function WF(){return{localeError:KJ()}}var KJ,ez=L(()=>{"use strict";Dt();KJ=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(i){return e[i]??null}let a={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},s={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${i.expected}, recibido ${E}`:`Entrada inv\xE1lida: se esperaba ${c}, recibido ${E}`}case"invalid_value":return i.values.length===1?`Entrada inv\xE1lida: se esperaba ${Fe(i.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin),E=s[i.origin]??i.origin;return d?`Demasiado grande: se esperaba que ${E??"valor"} tuviera ${c}${i.maximum.toString()} ${d.unit??"elementos"}`:`Demasiado grande: se esperaba que ${E??"valor"} fuera ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin),E=s[i.origin]??i.origin;return d?`Demasiado peque\xF1o: se esperaba que ${E} tuviera ${c}${i.minimum.toString()} ${d.unit}`:`Demasiado peque\xF1o: se esperaba que ${E} fuera ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${c.prefix}"`:c.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${c.suffix}"`:c.format==="includes"?`Cadena inv\xE1lida: debe incluir "${c.includes}"`:c.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${c.pattern}`:`Inv\xE1lido ${a[c.format]??i.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${i.divisor}`;case"unrecognized_keys":return`Llave${i.keys.length>1?"s":""} desconocida${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${s[i.origin]??i.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${s[i.origin]??i.origin}`;default:return"Entrada inv\xE1lida"}}}});function tz(){return{localeError:ZJ()}}var ZJ,nz=L(()=>{"use strict";Dt();ZJ=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(i){return e[i]??null}let a={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},s={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${i.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${E} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${c} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${E} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return i.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${Fe(i.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${de(i.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${i.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${c}${i.maximum.toString()} ${d.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${i.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${c}${i.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${i.origin} \u0628\u0627\u06CC\u062F ${c}${i.minimum.toString()} ${d.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${i.origin} \u0628\u0627\u06CC\u062F ${c}${i.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${c.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:c.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${c.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:c.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${c.includes}" \u0628\u0627\u0634\u062F`:c.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${c.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${a[c.format]??i.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${i.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${i.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${de(i.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${i.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${i.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}}});function iz(){return{localeError:YJ()}}var YJ,rz=L(()=>{"use strict";Dt();YJ=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(i){return e[i]??null}let a={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Virheellinen tyyppi: odotettiin instanceof ${i.expected}, oli ${E}`:`Virheellinen tyyppi: odotettiin ${c}, oli ${E}`}case"invalid_value":return i.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${Fe(i.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Liian suuri: ${d.subject} t\xE4ytyy olla ${c}${i.maximum.toString()} ${d.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Liian pieni: ${d.subject} t\xE4ytyy olla ${c}${i.minimum.toString()} ${d.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${c.prefix}"`:c.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${c.suffix}"`:c.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${c.includes}"`:c.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${c.pattern}`:`Virheellinen ${a[c.format]??i.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${i.divisor} monikerta`;case"unrecognized_keys":return`${i.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${de(i.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}}});function az(){return{localeError:VJ()}}var VJ,oz=L(()=>{"use strict";Dt();VJ=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(i){return e[i]??null}let a={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},s={nan:"NaN",number:"nombre",array:"tableau"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Entr\xE9e invalide : instanceof ${i.expected} attendu, ${E} re\xE7u`:`Entr\xE9e invalide : ${c} attendu, ${E} re\xE7u`}case"invalid_value":return i.values.length===1?`Entr\xE9e invalide : ${Fe(i.values[0])} attendu`:`Option invalide : une valeur parmi ${de(i.values,"|")} attendue`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Trop grand : ${i.origin??"valeur"} doit ${d.verb} ${c}${i.maximum.toString()} ${d.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${i.origin??"valeur"} doit \xEAtre ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Trop petit : ${i.origin} doit ${d.verb} ${c}${i.minimum.toString()} ${d.unit}`:`Trop petit : ${i.origin} doit \xEAtre ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${c.prefix}"`:c.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${c.suffix}"`:c.format==="includes"?`Cha\xEEne invalide : doit inclure "${c.includes}"`:c.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${c.pattern}`:`${a[c.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xE9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${de(i.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${i.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entr\xE9e invalide"}}}});function sz(){return{localeError:qJ()}}var qJ,lz=L(()=>{"use strict";Dt();qJ=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(i){return e[i]??null}let a={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Entr\xE9e invalide : attendu instanceof ${i.expected}, re\xE7u ${E}`:`Entr\xE9e invalide : attendu ${c}, re\xE7u ${E}`}case"invalid_value":return i.values.length===1?`Entr\xE9e invalide : attendu ${Fe(i.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"\u2264":"<",d=t(i.origin);return d?`Trop grand : attendu que ${i.origin??"la valeur"} ait ${c}${i.maximum.toString()} ${d.unit}`:`Trop grand : attendu que ${i.origin??"la valeur"} soit ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?"\u2265":">",d=t(i.origin);return d?`Trop petit : attendu que ${i.origin} ait ${c}${i.minimum.toString()} ${d.unit}`:`Trop petit : attendu que ${i.origin} soit ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${c.prefix}"`:c.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${c.suffix}"`:c.format==="includes"?`Cha\xEEne invalide : doit inclure "${c.includes}"`:c.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${c.pattern}`:`${a[c.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xE9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${de(i.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${i.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entr\xE9e invalide"}}}});function uz(){return{localeError:XJ()}}var XJ,cz=L(()=>{"use strict";Dt();XJ=()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},a=I=>I?e[I]:void 0,s=I=>{let S=a(I);return S?S.label:I??e.unknown.label},i=I=>`\u05D4${s(I)}`,c=I=>(a(I)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA",d=I=>I?t[I]??null:null,E={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},C={nan:"NaN"};return I=>{switch(I.code){case"invalid_type":{let S=I.expected,T=C[S??""]??s(S),z=Me(I.input),O=C[z]??e[z]?.label??z;return/^[A-Z]/.test(I.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${I.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${O}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${T}, \u05D4\u05EA\u05E7\u05D1\u05DC ${O}`}case"invalid_value":{if(I.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${Fe(I.values[0])}`;let S=I.values.map(O=>Fe(O));if(I.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${S[0]} \u05D0\u05D5 ${S[1]}`;let T=S[S.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${S.slice(0,-1).join(", ")} \u05D0\u05D5 ${T}`}case"too_big":{let S=d(I.origin),T=i(I.origin??"value");if(I.origin==="string")return`${S?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${T} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${I.maximum.toString()} ${S?.unit??""} ${I.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(I.origin==="number"){let j=I.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${I.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${I.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${T} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${j}`}if(I.origin==="array"||I.origin==="set"){let j=I.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",q=I.inclusive?`${I.maximum} ${S?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${I.maximum} ${S?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${T} ${j} \u05DC\u05D4\u05DB\u05D9\u05DC ${q}`.trim()}let z=I.inclusive?"<=":"<",O=c(I.origin??"value");return S?.unit?`${S.longLabel} \u05DE\u05D3\u05D9: ${T} ${O} ${z}${I.maximum.toString()} ${S.unit}`:`${S?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${T} ${O} ${z}${I.maximum.toString()}`}case"too_small":{let S=d(I.origin),T=i(I.origin??"value");if(I.origin==="string")return`${S?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${T} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${I.minimum.toString()} ${S?.unit??""} ${I.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(I.origin==="number"){let j=I.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${I.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${I.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${T} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${j}`}if(I.origin==="array"||I.origin==="set"){let j=I.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(I.minimum===1&&I.inclusive){let Y=(I.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${T} ${j} \u05DC\u05D4\u05DB\u05D9\u05DC ${Y}`}let q=I.inclusive?`${I.minimum} ${S?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${I.minimum} ${S?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${T} ${j} \u05DC\u05D4\u05DB\u05D9\u05DC ${q}`.trim()}let z=I.inclusive?">=":">",O=c(I.origin??"value");return S?.unit?`${S.shortLabel} \u05DE\u05D3\u05D9: ${T} ${O} ${z}${I.minimum.toString()} ${S.unit}`:`${S?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${T} ${O} ${z}${I.minimum.toString()}`}case"invalid_format":{let S=I;if(S.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${S.prefix}"`;if(S.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${S.suffix}"`;if(S.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${S.includes}"`;if(S.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${S.pattern}`;let T=E[S.format],z=T?.label??S.format,j=(T?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${z} \u05DC\u05D0 ${j}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${I.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${I.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${I.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${de(I.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${i(I.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}}});function Az(){return{localeError:WJ()}}var WJ,dz=L(()=>{"use strict";Dt();WJ=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(i){return e[i]??null}let a={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},s={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${i.expected}, a kapott \xE9rt\xE9k ${E}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${c}, a kapott \xE9rt\xE9k ${E}`}case"invalid_value":return i.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${Fe(i.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`T\xFAl nagy: ${i.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${c}${i.maximum.toString()} ${d.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${i.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${i.origin} m\xE9rete t\xFAl kicsi ${c}${i.minimum.toString()} ${d.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${i.origin} t\xFAl kicsi ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\xC9rv\xE9nytelen string: "${c.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:c.format==="ends_with"?`\xC9rv\xE9nytelen string: "${c.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:c.format==="includes"?`\xC9rv\xE9nytelen string: "${c.includes}" \xE9rt\xE9ket kell tartalmaznia`:c.format==="regex"?`\xC9rv\xE9nytelen string: ${c.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${a[c.format]??i.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${i.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${i.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${i.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}}});function fz(e,t,a){return Math.abs(e)===1?t:a}function Tg(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],a=e[e.length-1];return e+(t.includes(a)?"\u0576":"\u0568")}function pz(){return{localeError:e5()}}var e5,gz=L(()=>{"use strict";Dt();e5=()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(i){return e[i]??null}let a={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},s={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${i.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${E}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${c}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${E}`}case"invalid_value":return i.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${Fe(i.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);if(d){let E=Number(i.maximum),C=fz(E,d.unit.one,d.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Tg(i.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${c}${i.maximum.toString()} ${C}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Tg(i.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);if(d){let E=Number(i.minimum),C=fz(E,d.unit.one,d.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Tg(i.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${c}${i.minimum.toString()} ${C}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Tg(i.origin)} \u056C\u056B\u0576\u056B ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${c.prefix}"-\u0578\u057E`:c.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${c.suffix}"-\u0578\u057E`:c.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${c.includes}"`:c.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${c.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${a[c.format]??i.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${i.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${i.keys.length>1?"\u0576\u0565\u0580":""}. ${de(i.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${Tg(i.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${Tg(i.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}}});function mz(){return{localeError:t5()}}var t5,hz=L(()=>{"use strict";Dt();t5=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(i){return e[i]??null}let a={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Input tidak valid: diharapkan instanceof ${i.expected}, diterima ${E}`:`Input tidak valid: diharapkan ${c}, diterima ${E}`}case"invalid_value":return i.values.length===1?`Input tidak valid: diharapkan ${Fe(i.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Terlalu besar: diharapkan ${i.origin??"value"} memiliki ${c}${i.maximum.toString()} ${d.unit??"elemen"}`:`Terlalu besar: diharapkan ${i.origin??"value"} menjadi ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Terlalu kecil: diharapkan ${i.origin} memiliki ${c}${i.minimum.toString()} ${d.unit}`:`Terlalu kecil: diharapkan ${i.origin} menjadi ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`String tidak valid: harus dimulai dengan "${c.prefix}"`:c.format==="ends_with"?`String tidak valid: harus berakhir dengan "${c.suffix}"`:c.format==="includes"?`String tidak valid: harus menyertakan "${c.includes}"`:c.format==="regex"?`String tidak valid: harus sesuai pola ${c.pattern}`:`${a[c.format]??i.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${i.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${i.origin}`;default:return"Input tidak valid"}}}});function Ez(){return{localeError:n5()}}var n5,yz=L(()=>{"use strict";Dt();n5=()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(i){return e[i]??null}let a={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},s={nan:"NaN",number:"n\xFAmer",array:"fylki"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${E} \xFEar sem \xE1 a\xF0 vera instanceof ${i.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${E} \xFEar sem \xE1 a\xF0 vera ${c}`}case"invalid_value":return i.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${Fe(i.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} hafi ${c}${i.maximum.toString()} ${d.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} s\xE9 ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} hafi ${c}${i.minimum.toString()} ${d.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} s\xE9 ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${c.prefix}"`:c.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${c.suffix}"`:c.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${c.includes}"`:c.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${c.pattern}`:`Rangt ${a[c.format]??i.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${i.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${i.keys.length>1?"ir lyklar":"ur lykill"}: ${de(i.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${i.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${i.origin}`;default:return"Rangt gildi"}}}});function vz(){return{localeError:i5()}}var i5,Cz=L(()=>{"use strict";Dt();i5=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(i){return e[i]??null}let a={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},s={nan:"NaN",number:"numero",array:"vettore"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Input non valido: atteso instanceof ${i.expected}, ricevuto ${E}`:`Input non valido: atteso ${c}, ricevuto ${E}`}case"invalid_value":return i.values.length===1?`Input non valido: atteso ${Fe(i.values[0])}`:`Opzione non valida: atteso uno tra ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Troppo grande: ${i.origin??"valore"} deve avere ${c}${i.maximum.toString()} ${d.unit??"elementi"}`:`Troppo grande: ${i.origin??"valore"} deve essere ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Troppo piccolo: ${i.origin} deve avere ${c}${i.minimum.toString()} ${d.unit}`:`Troppo piccolo: ${i.origin} deve essere ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Stringa non valida: deve iniziare con "${c.prefix}"`:c.format==="ends_with"?`Stringa non valida: deve terminare con "${c.suffix}"`:c.format==="includes"?`Stringa non valida: deve includere "${c.includes}"`:c.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${c.pattern}`:`Invalid ${a[c.format]??i.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${i.divisor}`;case"unrecognized_keys":return`Chiav${i.keys.length>1?"i":"e"} non riconosciut${i.keys.length>1?"e":"a"}: ${de(i.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${i.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${i.origin}`;default:return"Input non valido"}}}});function Iz(){return{localeError:r5()}}var r5,Bz=L(()=>{"use strict";Dt();r5=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(i){return e[i]??null}let a={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},s={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${i.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${E}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${c}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${E}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return i.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${Fe(i.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${de(i.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let c=i.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",d=t(i.origin);return d?`\u5927\u304D\u3059\u304E\u308B\u5024: ${i.origin??"\u5024"}\u306F${i.maximum.toString()}${d.unit??"\u8981\u7D20"}${c}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${i.origin??"\u5024"}\u306F${i.maximum.toString()}${c}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let c=i.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",d=t(i.origin);return d?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${i.origin}\u306F${i.minimum.toString()}${d.unit}${c}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${i.origin}\u306F${i.minimum.toString()}${c}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${c.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:c.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${c.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:c.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${c.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:c.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${c.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${a[c.format]??i.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${i.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${i.keys.length>1?"\u7FA4":""}: ${de(i.keys,"\u3001")}`;case"invalid_key":return`${i.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${i.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}}});function _z(){return{localeError:a5()}}var a5,Dz=L(()=>{"use strict";Dt();a5=()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(i){return e[i]??null}let a={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},s={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${i.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${E}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${c}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${E}`}case"invalid_value":return i.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${Fe(i.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${de(i.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${d.verb} ${c}${i.maximum.toString()} ${d.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin} ${d.verb} ${c}${i.minimum.toString()} ${d.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin} \u10D8\u10E7\u10DD\u10E1 ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${c.prefix}"-\u10D8\u10D7`:c.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${c.suffix}"-\u10D8\u10D7`:c.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${c.includes}"-\u10E1`:c.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${c.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${a[c.format]??i.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${i.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${i.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${de(i.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${i.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${i.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}}});function ZC(){return{localeError:o5()}}var o5,Sb=L(()=>{"use strict";Dt();o5=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(i){return e[i]??null}let a={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},s={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${i.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${E}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${c} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${E}`}case"invalid_value":return i.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${Fe(i.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${c} ${i.maximum.toString()} ${d.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${c} ${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin} ${c} ${i.minimum.toString()} ${d.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin} ${c} ${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${c.prefix}"`:c.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${c.suffix}"`:c.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${c.includes}"`:c.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${c.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${a[c.format]??i.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${i.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${de(i.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${i.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${i.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}}});function Qz(){return ZC()}var Sz=L(()=>{"use strict";Sb()});function bz(){return{localeError:s5()}}var s5,wz=L(()=>{"use strict";Dt();s5=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(i){return e[i]??null}let a={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${i.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${E}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${c}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${E}\uC785\uB2C8\uB2E4`}case"invalid_value":return i.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${Fe(i.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${de(i.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let c=i.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",d=c==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",E=t(i.origin),C=E?.unit??"\uC694\uC18C";return E?`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${i.maximum.toString()}${C} ${c}${d}`:`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${i.maximum.toString()} ${c}${d}`}case"too_small":{let c=i.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",d=c==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",E=t(i.origin),C=E?.unit??"\uC694\uC18C";return E?`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${i.minimum.toString()}${C} ${c}${d}`:`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${i.minimum.toString()} ${c}${d}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${c.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:c.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${c.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:c.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${c.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:c.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${c.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${a[c.format]??i.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${i.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${de(i.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${i.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${i.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}}});function xz(e){let t=Math.abs(e),a=t%10,s=t%100;return s>=11&&s<=19||a===0?"many":a===1?"one":"few"}function Uz(){return{localeError:l5()}}var CE,l5,Nz=L(()=>{"use strict";Dt();CE=e=>e.charAt(0).toUpperCase()+e.slice(1);l5=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(i,c,d,E){let C=e[i]??null;return C===null?C:{unit:C.unit[c],verb:C.verb[E][d?"inclusive":"notInclusive"]}}let a={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},s={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Gautas tipas ${E}, o tik\u0117tasi - instanceof ${i.expected}`:`Gautas tipas ${E}, o tik\u0117tasi - ${c}`}case"invalid_value":return i.values.length===1?`Privalo b\u016Bti ${Fe(i.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${de(i.values,"|")} pasirinkim\u0173`;case"too_big":{let c=s[i.origin]??i.origin,d=t(i.origin,xz(Number(i.maximum)),i.inclusive??!1,"smaller");if(d?.verb)return`${CE(c??i.origin??"reik\u0161m\u0117")} ${d.verb} ${i.maximum.toString()} ${d.unit??"element\u0173"}`;let E=i.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${CE(c??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${E} ${i.maximum.toString()} ${d?.unit}`}case"too_small":{let c=s[i.origin]??i.origin,d=t(i.origin,xz(Number(i.minimum)),i.inclusive??!1,"bigger");if(d?.verb)return`${CE(c??i.origin??"reik\u0161m\u0117")} ${d.verb} ${i.minimum.toString()} ${d.unit??"element\u0173"}`;let E=i.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${CE(c??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${E} ${i.minimum.toString()} ${d?.unit}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${c.prefix}"`:c.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${c.suffix}"`:c.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${c.includes}"`:c.format==="regex"?`Eilut\u0117 privalo atitikti ${c.pattern}`:`Neteisingas ${a[c.format]??i.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${i.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${i.keys.length>1?"i":"as"} rakt${i.keys.length>1?"ai":"as"}: ${de(i.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let c=s[i.origin]??i.origin;return`${CE(c??i.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}}});function Rz(){return{localeError:u5()}}var u5,Tz=L(()=>{"use strict";Dt();u5=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(i){return e[i]??null}let a={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},s={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${i.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${E}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${c}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${E}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${Fe(i.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${c}${i.maximum.toString()} ${d.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin} \u0434\u0430 \u0438\u043C\u0430 ${c}${i.minimum.toString()} ${d.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${c.prefix}"`:c.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${c.suffix}"`:c.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${c.includes}"`:c.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${c.pattern}`:`Invalid ${a[c.format]??i.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${de(i.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${i.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${i.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}}});function Oz(){return{localeError:c5()}}var c5,kz=L(()=>{"use strict";Dt();c5=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(i){return e[i]??null}let a={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},s={nan:"NaN",number:"nombor"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Input tidak sah: dijangka instanceof ${i.expected}, diterima ${E}`:`Input tidak sah: dijangka ${c}, diterima ${E}`}case"invalid_value":return i.values.length===1?`Input tidak sah: dijangka ${Fe(i.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Terlalu besar: dijangka ${i.origin??"nilai"} ${d.verb} ${c}${i.maximum.toString()} ${d.unit??"elemen"}`:`Terlalu besar: dijangka ${i.origin??"nilai"} adalah ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Terlalu kecil: dijangka ${i.origin} ${d.verb} ${c}${i.minimum.toString()} ${d.unit}`:`Terlalu kecil: dijangka ${i.origin} adalah ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`String tidak sah: mesti bermula dengan "${c.prefix}"`:c.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${c.suffix}"`:c.format==="includes"?`String tidak sah: mesti mengandungi "${c.includes}"`:c.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${c.pattern}`:`${a[c.format]??i.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${de(i.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${i.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${i.origin}`;default:return"Input tidak sah"}}}});function Fz(){return{localeError:A5()}}var A5,zz=L(()=>{"use strict";Dt();A5=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(i){return e[i]??null}let a={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},s={nan:"NaN",number:"getal"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Ongeldige invoer: verwacht instanceof ${i.expected}, ontving ${E}`:`Ongeldige invoer: verwacht ${c}, ontving ${E}`}case"invalid_value":return i.values.length===1?`Ongeldige invoer: verwacht ${Fe(i.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin),E=i.origin==="date"?"laat":i.origin==="string"?"lang":"groot";return d?`Te ${E}: verwacht dat ${i.origin??"waarde"} ${c}${i.maximum.toString()} ${d.unit??"elementen"} ${d.verb}`:`Te ${E}: verwacht dat ${i.origin??"waarde"} ${c}${i.maximum.toString()} is`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin),E=i.origin==="date"?"vroeg":i.origin==="string"?"kort":"klein";return d?`Te ${E}: verwacht dat ${i.origin} ${c}${i.minimum.toString()} ${d.unit} ${d.verb}`:`Te ${E}: verwacht dat ${i.origin} ${c}${i.minimum.toString()} is`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Ongeldige tekst: moet met "${c.prefix}" beginnen`:c.format==="ends_with"?`Ongeldige tekst: moet op "${c.suffix}" eindigen`:c.format==="includes"?`Ongeldige tekst: moet "${c.includes}" bevatten`:c.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${c.pattern}`:`Ongeldig: ${a[c.format]??i.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${i.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${i.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${i.origin}`;default:return"Ongeldige invoer"}}}});function Mz(){return{localeError:d5()}}var d5,Lz=L(()=>{"use strict";Dt();d5=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(i){return e[i]??null}let a={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},s={nan:"NaN",number:"tall",array:"liste"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Ugyldig input: forventet instanceof ${i.expected}, fikk ${E}`:`Ugyldig input: forventet ${c}, fikk ${E}`}case"invalid_value":return i.values.length===1?`Ugyldig verdi: forventet ${Fe(i.values[0])}`:`Ugyldig valg: forventet en av ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`For stor(t): forventet ${i.origin??"value"} til \xE5 ha ${c}${i.maximum.toString()} ${d.unit??"elementer"}`:`For stor(t): forventet ${i.origin??"value"} til \xE5 ha ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`For lite(n): forventet ${i.origin} til \xE5 ha ${c}${i.minimum.toString()} ${d.unit}`:`For lite(n): forventet ${i.origin} til \xE5 ha ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${c.prefix}"`:c.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${c.suffix}"`:c.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${c.includes}"`:c.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${c.pattern}`:`Ugyldig ${a[c.format]??i.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${de(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${i.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${i.origin}`;default:return"Ugyldig input"}}}});function $z(){return{localeError:f5()}}var f5,Hz=L(()=>{"use strict";Dt();f5=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(i){return e[i]??null}let a={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},s={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`F\xE2sit giren: umulan instanceof ${i.expected}, al\u0131nan ${E}`:`F\xE2sit giren: umulan ${c}, al\u0131nan ${E}`}case"invalid_value":return i.values.length===1?`F\xE2sit giren: umulan ${Fe(i.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Fazla b\xFCy\xFCk: ${i.origin??"value"}, ${c}${i.maximum.toString()} ${d.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${i.origin??"value"}, ${c}${i.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Fazla k\xFC\xE7\xFCk: ${i.origin}, ${c}${i.minimum.toString()} ${d.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${i.origin}, ${c}${i.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let c=i;return c.format==="starts_with"?`F\xE2sit metin: "${c.prefix}" ile ba\u015Flamal\u0131.`:c.format==="ends_with"?`F\xE2sit metin: "${c.suffix}" ile bitmeli.`:c.format==="includes"?`F\xE2sit metin: "${c.includes}" ihtiv\xE2 etmeli.`:c.format==="regex"?`F\xE2sit metin: ${c.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${a[c.format]??i.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${i.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${i.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}}});function Gz(){return{localeError:p5()}}var p5,jz=L(()=>{"use strict";Dt();p5=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(i){return e[i]??null}let a={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},s={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${i.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${E} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${c} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${E} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return i.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${Fe(i.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${de(i.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${i.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${c}${i.maximum.toString()} ${d.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${i.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${c}${i.maximum.toString()} \u0648\u064A`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${i.origin} \u0628\u0627\u06CC\u062F ${c}${i.minimum.toString()} ${d.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${i.origin} \u0628\u0627\u06CC\u062F ${c}${i.minimum.toString()} \u0648\u064A`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${c.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:c.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${c.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:c.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${c.includes}" \u0648\u0644\u0631\u064A`:c.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${c.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${a[c.format]??i.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${i.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${i.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${de(i.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${i.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${i.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}}});function Pz(){return{localeError:g5()}}var g5,Jz=L(()=>{"use strict";Dt();g5=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(i){return e[i]??null}let a={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},s={nan:"NaN",number:"liczba",array:"tablica"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${i.expected}, otrzymano ${E}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${c}, otrzymano ${E}`}case"invalid_value":return i.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${Fe(i.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${c}${i.maximum.toString()} ${d.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${c}${i.minimum.toString()} ${d.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${c.prefix}"`:c.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${c.suffix}"`:c.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${c.includes}"`:c.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${c.pattern}`:`Nieprawid\u0142ow(y/a/e) ${a[c.format]??i.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${i.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${i.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${i.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}}});function Kz(){return{localeError:m5()}}var m5,Zz=L(()=>{"use strict";Dt();m5=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(i){return e[i]??null}let a={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},s={nan:"NaN",number:"n\xFAmero",null:"nulo"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Tipo inv\xE1lido: esperado instanceof ${i.expected}, recebido ${E}`:`Tipo inv\xE1lido: esperado ${c}, recebido ${E}`}case"invalid_value":return i.values.length===1?`Entrada inv\xE1lida: esperado ${Fe(i.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Muito grande: esperado que ${i.origin??"valor"} tivesse ${c}${i.maximum.toString()} ${d.unit??"elementos"}`:`Muito grande: esperado que ${i.origin??"valor"} fosse ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Muito pequeno: esperado que ${i.origin} tivesse ${c}${i.minimum.toString()} ${d.unit}`:`Muito pequeno: esperado que ${i.origin} fosse ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${c.prefix}"`:c.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${c.suffix}"`:c.format==="includes"?`Texto inv\xE1lido: deve incluir "${c.includes}"`:c.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${c.pattern}`:`${a[c.format]??i.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${i.divisor}`;case"unrecognized_keys":return`Chave${i.keys.length>1?"s":""} desconhecida${i.keys.length>1?"s":""}: ${de(i.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${i.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${i.origin}`;default:return"Campo inv\xE1lido"}}}});function Yz(e,t,a,s){let i=Math.abs(e),c=i%10,d=i%100;return d>=11&&d<=19?s:c===1?t:c>=2&&c<=4?a:s}function Vz(){return{localeError:h5()}}var h5,qz=L(()=>{"use strict";Dt();h5=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(i){return e[i]??null}let a={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},s={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${i.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${E}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${c}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${E}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${Fe(i.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);if(d){let E=Number(i.maximum),C=Yz(E,d.unit.one,d.unit.few,d.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${c}${i.maximum.toString()} ${C}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);if(d){let E=Number(i.minimum),C=Yz(E,d.unit.one,d.unit.few,d.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${c}${i.minimum.toString()} ${C}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin} \u0431\u0443\u0434\u0435\u0442 ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${c.prefix}"`:c.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${c.suffix}"`:c.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${c.includes}"`:c.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${c.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${a[c.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${i.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${i.keys.length>1?"\u0438":""}: ${de(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${i.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}}});function Xz(){return{localeError:E5()}}var E5,Wz=L(()=>{"use strict";Dt();E5=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(i){return e[i]??null}let a={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},s={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${i.expected}, prejeto ${E}`:`Neveljaven vnos: pri\u010Dakovano ${c}, prejeto ${E}`}case"invalid_value":return i.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${Fe(i.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Preveliko: pri\u010Dakovano, da bo ${i.origin??"vrednost"} imelo ${c}${i.maximum.toString()} ${d.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${i.origin??"vrednost"} ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Premajhno: pri\u010Dakovano, da bo ${i.origin} imelo ${c}${i.minimum.toString()} ${d.unit}`:`Premajhno: pri\u010Dakovano, da bo ${i.origin} ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${c.prefix}"`:c.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${c.suffix}"`:c.format==="includes"?`Neveljaven niz: mora vsebovati "${c.includes}"`:c.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${c.pattern}`:`Neveljaven ${a[c.format]??i.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${i.divisor}`;case"unrecognized_keys":return`Neprepoznan${i.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${de(i.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${i.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${i.origin}`;default:return"Neveljaven vnos"}}}});function e4(){return{localeError:y5()}}var y5,t4=L(()=>{"use strict";Dt();y5=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(i){return e[i]??null}let a={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},s={nan:"NaN",number:"antal",array:"lista"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${i.expected}, fick ${E}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${c}, fick ${E}`}case"invalid_value":return i.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${Fe(i.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`F\xF6r stor(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${c}${i.maximum.toString()} ${d.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${i.origin??"v\xE4rdet"} att ha ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`F\xF6r lite(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${c}${i.minimum.toString()} ${d.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${c.prefix}"`:c.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${c.suffix}"`:c.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${c.includes}"`:c.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${c.pattern}"`:`Ogiltig(t) ${a[c.format]??i.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${de(i.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${i.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${i.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}}});function n4(){return{localeError:v5()}}var v5,i4=L(()=>{"use strict";Dt();v5=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(i){return e[i]??null}let a={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},s={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${i.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${E}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${E}`}case"invalid_value":return i.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${Fe(i.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${de(i.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${c}${i.maximum.toString()} ${d.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${c}${i.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin} ${c}${i.minimum.toString()} ${d.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin} ${c}${i.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${c.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:c.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${c.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:c.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${c.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:c.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${c.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${a[c.format]??i.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${i.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${i.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${de(i.keys,", ")}`;case"invalid_key":return`${i.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${i.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}}});function r4(){return{localeError:C5()}}var C5,a4=L(()=>{"use strict";Dt();C5=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(i){return e[i]??null}let a={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},s={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${i.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${E}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${c} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${E}`}case"invalid_value":return i.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${Fe(i.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",d=t(i.origin);return d?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${c} ${i.maximum.toString()} ${d.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${c} ${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",d=t(i.origin);return d?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${c} ${i.minimum.toString()} ${d.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${c} ${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${c.prefix}"`:c.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${c.suffix}"`:c.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${c.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:c.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${c.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${a[c.format]??i.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${i.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${de(i.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${i.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${i.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}}});function o4(){return{localeError:I5()}}var I5,s4=L(()=>{"use strict";Dt();I5=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(i){return e[i]??null}let a={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${i.expected}, al\u0131nan ${E}`:`Ge\xE7ersiz de\u011Fer: beklenen ${c}, al\u0131nan ${E}`}case"invalid_value":return i.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${Fe(i.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${c}${i.maximum.toString()} ${d.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${c}${i.minimum.toString()} ${d.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Ge\xE7ersiz metin: "${c.prefix}" ile ba\u015Flamal\u0131`:c.format==="ends_with"?`Ge\xE7ersiz metin: "${c.suffix}" ile bitmeli`:c.format==="includes"?`Ge\xE7ersiz metin: "${c.includes}" i\xE7ermeli`:c.format==="regex"?`Ge\xE7ersiz metin: ${c.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${a[c.format]??i.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${i.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${i.keys.length>1?"lar":""}: ${de(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${i.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}}});function YC(){return{localeError:B5()}}var B5,bb=L(()=>{"use strict";Dt();B5=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(i){return e[i]??null}let a={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},s={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${i.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${E}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${c}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${E}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${Fe(i.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${d.verb} ${c}${i.maximum.toString()} ${d.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin} ${d.verb} ${c}${i.minimum.toString()} ${d.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin} \u0431\u0443\u0434\u0435 ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${c.prefix}"`:c.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${c.suffix}"`:c.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${c.includes}"`:c.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${c.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${a[c.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${i.keys.length>1?"\u0456":""}: ${de(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${i.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}}});function l4(){return YC()}var u4=L(()=>{"use strict";bb()});function c4(){return{localeError:_5()}}var _5,A4=L(()=>{"use strict";Dt();_5=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(i){return e[i]??null}let a={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},s={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${i.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${E} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${c} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${E} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return i.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${Fe(i.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${de(i.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${i.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${c}${i.maximum.toString()} ${d.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${i.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${c}${i.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${i.origin} \u06A9\u06D2 ${c}${i.minimum.toString()} ${d.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${i.origin} \u06A9\u0627 ${c}${i.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${c.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:c.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${c.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:c.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${c.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:c.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${c.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${a[c.format]??i.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${i.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${i.keys.length>1?"\u0632":""}: ${de(i.keys,"\u060C ")}`;case"invalid_key":return`${i.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${i.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}}});function d4(){return{localeError:D5()}}var D5,f4=L(()=>{"use strict";Dt();D5=()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"}};function t(i){return e[i]??null}let a={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},s={nan:"NaN",number:"raqam",array:"massiv"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${i.expected}, qabul qilingan ${E}`:`Noto\u2018g\u2018ri kirish: kutilgan ${c}, qabul qilingan ${E}`}case"invalid_value":return i.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${Fe(i.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Juda katta: kutilgan ${i.origin??"qiymat"} ${c}${i.maximum.toString()} ${d.unit} ${d.verb}`:`Juda katta: kutilgan ${i.origin??"qiymat"} ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Juda kichik: kutilgan ${i.origin} ${c}${i.minimum.toString()} ${d.unit} ${d.verb}`:`Juda kichik: kutilgan ${i.origin} ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${c.prefix}" bilan boshlanishi kerak`:c.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${c.suffix}" bilan tugashi kerak`:c.format==="includes"?`Noto\u2018g\u2018ri satr: "${c.includes}" ni o\u2018z ichiga olishi kerak`:c.format==="regex"?`Noto\u2018g\u2018ri satr: ${c.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${a[c.format]??i.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${i.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${i.keys.length>1?"lar":""}: ${de(i.keys,", ")}`;case"invalid_key":return`${i.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${i.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}}});function p4(){return{localeError:Q5()}}var Q5,g4=L(()=>{"use strict";Dt();Q5=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(i){return e[i]??null}let a={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},s={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${i.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${E}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${c}, nh\u1EADn \u0111\u01B0\u1EE3c ${E}`}case"invalid_value":return i.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${Fe(i.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${i.origin??"gi\xE1 tr\u1ECB"} ${d.verb} ${c}${i.maximum.toString()} ${d.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${i.origin??"gi\xE1 tr\u1ECB"} ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${i.origin} ${d.verb} ${c}${i.minimum.toString()} ${d.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${i.origin} ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${c.prefix}"`:c.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${c.suffix}"`:c.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${c.includes}"`:c.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${c.pattern}`:`${a[c.format]??i.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${i.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${de(i.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${i.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${i.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}}});function m4(){return{localeError:S5()}}var S5,h4=L(()=>{"use strict";Dt();S5=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(i){return e[i]??null}let a={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},s={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${i.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${E}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${c}\uFF0C\u5B9E\u9645\u63A5\u6536 ${E}`}case"invalid_value":return i.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${Fe(i.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${i.origin??"\u503C"} ${c}${i.maximum.toString()} ${d.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${i.origin??"\u503C"} ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${i.origin} ${c}${i.minimum.toString()} ${d.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${i.origin} ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${c.prefix}" \u5F00\u5934`:c.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${c.suffix}" \u7ED3\u5C3E`:c.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${c.includes}"`:c.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${c.pattern}`:`\u65E0\u6548${a[c.format]??i.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${i.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${de(i.keys,", ")}`;case"invalid_key":return`${i.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${i.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}}});function E4(){return{localeError:b5()}}var b5,y4=L(()=>{"use strict";Dt();b5=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(i){return e[i]??null}let a={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},s={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${i.expected}\uFF0C\u4F46\u6536\u5230 ${E}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${c}\uFF0C\u4F46\u6536\u5230 ${E}`}case"invalid_value":return i.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${Fe(i.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${i.origin??"\u503C"} \u61C9\u70BA ${c}${i.maximum.toString()} ${d.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${i.origin??"\u503C"} \u61C9\u70BA ${c}${i.maximum.toString()}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${i.origin} \u61C9\u70BA ${c}${i.minimum.toString()} ${d.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${i.origin} \u61C9\u70BA ${c}${i.minimum.toString()}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${c.prefix}" \u958B\u982D`:c.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${c.suffix}" \u7D50\u5C3E`:c.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${c.includes}"`:c.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${c.pattern}`:`\u7121\u6548\u7684 ${a[c.format]??i.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${i.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${i.keys.length>1?"\u5011":""}\uFF1A${de(i.keys,"\u3001")}`;case"invalid_key":return`${i.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${i.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}}});function v4(){return{localeError:w5()}}var w5,C4=L(()=>{"use strict";Dt();w5=()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(i){return e[i]??null}let a={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},s={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return i=>{switch(i.code){case"invalid_type":{let c=s[i.expected]??i.expected,d=Me(i.input),E=s[d]??d;return/^[A-Z]/.test(i.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${i.expected}, \xE0m\u1ECD\u0300 a r\xED ${E}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${c}, \xE0m\u1ECD\u0300 a r\xED ${E}`}case"invalid_value":return i.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${Fe(i.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${de(i.values,"|")}`;case"too_big":{let c=i.inclusive?"<=":"<",d=t(i.origin);return d?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${i.origin??"iye"} ${d.verb} ${c}${i.maximum} ${d.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${c}${i.maximum}`}case"too_small":{let c=i.inclusive?">=":">",d=t(i.origin);return d?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${i.origin} ${d.verb} ${c}${i.minimum} ${d.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${c}${i.minimum}`}case"invalid_format":{let c=i;return c.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${c.prefix}"`:c.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${c.suffix}"`:c.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${c.includes}"`:c.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${c.pattern}`:`A\u1E63\xEC\u1E63e: ${a[c.format]??i.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${i.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${de(i.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${i.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${i.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}}});var IE={};Co(IE,{ar:()=>TF,az:()=>kF,be:()=>MF,bg:()=>$F,ca:()=>GF,cs:()=>PF,da:()=>KF,de:()=>YF,en:()=>KC,eo:()=>qF,es:()=>WF,fa:()=>tz,fi:()=>iz,fr:()=>az,frCA:()=>sz,he:()=>uz,hu:()=>Az,hy:()=>pz,id:()=>mz,is:()=>Ez,it:()=>vz,ja:()=>Iz,ka:()=>_z,kh:()=>Qz,km:()=>ZC,ko:()=>bz,lt:()=>Uz,mk:()=>Rz,ms:()=>Oz,nl:()=>Fz,no:()=>Mz,ota:()=>$z,pl:()=>Pz,ps:()=>Gz,pt:()=>Kz,ru:()=>Vz,sl:()=>Xz,sv:()=>e4,ta:()=>n4,th:()=>r4,tr:()=>o4,ua:()=>l4,uk:()=>YC,ur:()=>c4,uz:()=>d4,vi:()=>p4,yo:()=>v4,zhCN:()=>m4,zhTW:()=>E4});var wb=L(()=>{"use strict";OF();FF();LF();HF();jF();JF();ZF();VF();Qb();XF();ez();nz();rz();oz();lz();cz();dz();gz();hz();yz();Cz();Bz();Dz();Sz();Sb();wz();Nz();Tz();kz();zz();Lz();Hz();jz();Jz();Zz();qz();Wz();t4();i4();a4();s4();u4();bb();A4();f4();g4();h4();y4();C4()});function qC(){return new VC}var I4,xb,Ub,VC,Ra,BE=L(()=>{"use strict";xb=Symbol("ZodOutput"),Ub=Symbol("ZodInput"),VC=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...a){let s=a[0];return this._map.set(t,s),s&&typeof s=="object"&&"id"in s&&this._idmap.set(s.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let a=this._map.get(t);return a&&typeof a=="object"&&"id"in a&&this._idmap.delete(a.id),this._map.delete(t),this}get(t){let a=t._zod.parent;if(a){let s={...this.get(a)??{}};delete s.id;let i={...s,...this._map.get(t)};return Object.keys(i).length?i:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};(I4=globalThis).__zod_globalRegistry??(I4.__zod_globalRegistry=qC());Ra=globalThis.__zod_globalRegistry});function Nb(e,t){return new e({type:"string",...Pe(t)})}function Rb(e,t){return new e({type:"string",coerce:!0,...Pe(t)})}function XC(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Pe(t)})}function _E(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Pe(t)})}function WC(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Pe(t)})}function eI(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Pe(t)})}function tI(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Pe(t)})}function nI(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Pe(t)})}function DE(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Pe(t)})}function iI(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Pe(t)})}function rI(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Pe(t)})}function aI(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Pe(t)})}function oI(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Pe(t)})}function sI(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Pe(t)})}function lI(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Pe(t)})}function uI(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Pe(t)})}function cI(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Pe(t)})}function AI(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Pe(t)})}function Tb(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...Pe(t)})}function dI(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Pe(t)})}function fI(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Pe(t)})}function pI(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Pe(t)})}function gI(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Pe(t)})}function mI(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Pe(t)})}function hI(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Pe(t)})}function kb(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Pe(t)})}function Fb(e,t){return new e({type:"string",format:"date",check:"string_format",...Pe(t)})}function zb(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Pe(t)})}function Mb(e,t){return new e({type:"string",format:"duration",check:"string_format",...Pe(t)})}function Lb(e,t){return new e({type:"number",checks:[],...Pe(t)})}function $b(e,t){return new e({type:"number",coerce:!0,checks:[],...Pe(t)})}function Hb(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Pe(t)})}function Gb(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...Pe(t)})}function jb(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...Pe(t)})}function Pb(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...Pe(t)})}function Jb(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...Pe(t)})}function Kb(e,t){return new e({type:"boolean",...Pe(t)})}function Zb(e,t){return new e({type:"boolean",coerce:!0,...Pe(t)})}function Yb(e,t){return new e({type:"bigint",...Pe(t)})}function Vb(e,t){return new e({type:"bigint",coerce:!0,...Pe(t)})}function qb(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...Pe(t)})}function Xb(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...Pe(t)})}function Wb(e,t){return new e({type:"symbol",...Pe(t)})}function ew(e,t){return new e({type:"undefined",...Pe(t)})}function tw(e,t){return new e({type:"null",...Pe(t)})}function nw(e){return new e({type:"any"})}function iw(e){return new e({type:"unknown"})}function rw(e,t){return new e({type:"never",...Pe(t)})}function aw(e,t){return new e({type:"void",...Pe(t)})}function ow(e,t){return new e({type:"date",...Pe(t)})}function sw(e,t){return new e({type:"date",coerce:!0,...Pe(t)})}function lw(e,t){return new e({type:"nan",...Pe(t)})}function Pu(e,t){return new OC({check:"less_than",...Pe(t),value:e,inclusive:!1})}function ys(e,t){return new OC({check:"less_than",...Pe(t),value:e,inclusive:!0})}function Ju(e,t){return new kC({check:"greater_than",...Pe(t),value:e,inclusive:!1})}function _o(e,t){return new kC({check:"greater_than",...Pe(t),value:e,inclusive:!0})}function EI(e){return Ju(0,e)}function yI(e){return Pu(0,e)}function vI(e){return ys(0,e)}function CI(e){return _o(0,e)}function yd(e,t){return new ZQ({check:"multiple_of",...Pe(t),value:e})}function vd(e,t){return new qQ({check:"max_size",...Pe(t),maximum:e})}function Ku(e,t){return new XQ({check:"min_size",...Pe(t),minimum:e})}function Lf(e,t){return new WQ({check:"size_equals",...Pe(t),size:e})}function $f(e,t){return new eS({check:"max_length",...Pe(t),maximum:e})}function lA(e,t){return new tS({check:"min_length",...Pe(t),minimum:e})}function Hf(e,t){return new nS({check:"length_equals",...Pe(t),length:e})}function Og(e,t){return new iS({check:"string_format",format:"regex",...Pe(t),pattern:e})}function kg(e){return new rS({check:"string_format",format:"lowercase",...Pe(e)})}function Fg(e){return new aS({check:"string_format",format:"uppercase",...Pe(e)})}function zg(e,t){return new oS({check:"string_format",format:"includes",...Pe(t),includes:e})}function Mg(e,t){return new sS({check:"string_format",format:"starts_with",...Pe(t),prefix:e})}function Lg(e,t){return new lS({check:"string_format",format:"ends_with",...Pe(t),suffix:e})}function II(e,t,a){return new uS({check:"property",property:e,schema:t,...Pe(a)})}function $g(e,t){return new cS({check:"mime_type",mime:e,...Pe(t)})}function Yl(e){return new AS({check:"overwrite",tx:e})}function Hg(e){return Yl(t=>t.normalize(e))}function Gg(){return Yl(e=>e.trim())}function jg(){return Yl(e=>e.toLowerCase())}function Pg(){return Yl(e=>e.toUpperCase())}function Jg(){return Yl(e=>sQ(e))}function uw(e,t,a){return new e({type:"array",element:t,...Pe(a)})}function U5(e,t,a){return new e({type:"union",options:t,...Pe(a)})}function N5(e,t,a){return new e({type:"union",options:t,inclusive:!1,...Pe(a)})}function R5(e,t,a,s){return new e({type:"union",options:a,discriminator:t,...Pe(s)})}function T5(e,t,a){return new e({type:"intersection",left:t,right:a})}function O5(e,t,a,s){let i=a instanceof zt,c=i?s:a,d=i?a:null;return new e({type:"tuple",items:t,rest:d,...Pe(c)})}function k5(e,t,a,s){return new e({type:"record",keyType:t,valueType:a,...Pe(s)})}function F5(e,t,a,s){return new e({type:"map",keyType:t,valueType:a,...Pe(s)})}function z5(e,t,a){return new e({type:"set",valueType:t,...Pe(a)})}function M5(e,t,a){let s=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new e({type:"enum",entries:s,...Pe(a)})}function L5(e,t,a){return new e({type:"enum",entries:t,...Pe(a)})}function $5(e,t,a){return new e({type:"literal",values:Array.isArray(t)?t:[t],...Pe(a)})}function cw(e,t){return new e({type:"file",...Pe(t)})}function H5(e,t){return new e({type:"transform",transform:t})}function G5(e,t){return new e({type:"optional",innerType:t})}function j5(e,t){return new e({type:"nullable",innerType:t})}function P5(e,t,a){return new e({type:"default",innerType:t,get defaultValue(){return typeof a=="function"?a():uQ(a)}})}function J5(e,t,a){return new e({type:"nonoptional",innerType:t,...Pe(a)})}function K5(e,t){return new e({type:"success",innerType:t})}function Z5(e,t,a){return new e({type:"catch",innerType:t,catchValue:typeof a=="function"?a:()=>a})}function Y5(e,t,a){return new e({type:"pipe",in:t,out:a})}function V5(e,t){return new e({type:"readonly",innerType:t})}function q5(e,t,a){return new e({type:"template_literal",parts:t,...Pe(a)})}function X5(e,t){return new e({type:"lazy",getter:t})}function W5(e,t){return new e({type:"promise",innerType:t})}function Aw(e,t,a){let s=Pe(a);return s.abort??(s.abort=!0),new e({type:"custom",check:"custom",fn:t,...s})}function dw(e,t,a){return new e({type:"custom",check:"custom",fn:t,...Pe(a)})}function fw(e){let t=B4(a=>(a.addIssue=s=>{if(typeof s=="string")a.issues.push(bg(s,a.value,t._zod.def));else{let i=s;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=a.value),i.inst??(i.inst=t),i.continue??(i.continue=!t._zod.def.abort),a.issues.push(bg(i))}},e(a.value,a)));return t}function B4(e,t){let a=new hi({check:"custom",...Pe(t)});return a._zod.check=e,a}function pw(e){let t=new hi({check:"describe"});return t._zod.onattach=[a=>{let s=Ra.get(a)??{};Ra.add(a,{...s,description:e})}],t._zod.check=()=>{},t}function gw(e){let t=new hi({check:"meta"});return t._zod.onattach=[a=>{let s=Ra.get(a)??{};Ra.add(a,{...s,...e})}],t._zod.check=()=>{},t}function mw(e,t){let a=Pe(t),s=a.truthy??["true","1","yes","on","y","enabled"],i=a.falsy??["false","0","no","off","n","disabled"];a.case!=="sensitive"&&(s=s.map(O=>typeof O=="string"?O.toLowerCase():O),i=i.map(O=>typeof O=="string"?O.toLowerCase():O));let c=new Set(s),d=new Set(i),E=e.Codec??vE,C=e.Boolean??EE,I=e.String??Mf,S=new I({type:"string",error:a.error}),T=new C({type:"boolean",error:a.error}),z=new E({type:"pipe",in:S,out:T,transform:((O,j)=>{let q=O;return a.case!=="sensitive"&&(q=q.toLowerCase()),c.has(q)?!0:d.has(q)?!1:(j.issues.push({code:"invalid_value",expected:"stringbool",values:[...c,...d],input:j.value,inst:z,continue:!1}),{})}),reverseTransform:((O,j)=>O===!0?s[0]||"true":i[0]||"false"),error:a.error});return z}function Kg(e,t,a,s={}){let i=Pe(s),c={...Pe(s),check:"string_format",type:"string",format:t,fn:typeof a=="function"?a:E=>a.test(E),...i};return a instanceof RegExp&&(c.pattern=a),new e(c)}var Ob,_4=L(()=>{"use strict";FC();BE();Db();Dt();Ob={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function Cd(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Ra,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function Xn(e,t,a={path:[],schemaPath:[]}){var s;let i=e._zod.def,c=t.seen.get(e);if(c)return c.count++,a.schemaPath.includes(e)&&(c.cycle=a.path),c.schema;let d={schema:{},count:1,cycle:void 0,path:a.path};t.seen.set(e,d);let E=e._zod.toJSONSchema?.();if(E)d.schema=E;else{let S={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,d.schema,S);else{let z=d.schema,O=t.processors[i.type];if(!O)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);O(e,t,z,S)}let T=e._zod.parent;T&&(d.ref||(d.ref=T),Xn(T,t,S),t.seen.get(T).isParent=!0)}let C=t.metadataRegistry.get(e);return C&&Object.assign(d.schema,C),t.io==="input"&&Do(e)&&(delete d.schema.examples,delete d.schema.default),t.io==="input"&&d.schema._prefault&&((s=d.schema).default??(s.default=d.schema._prefault)),delete d.schema._prefault,t.seen.get(e).schema}function Id(e,t){let a=e.seen.get(t);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");let s=new Map;for(let d of e.seen.entries()){let E=e.metadataRegistry.get(d[0])?.id;if(E){let C=s.get(E);if(C&&C!==d[0])throw new Error(`Duplicate schema id "${E}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);s.set(E,d[0])}}let i=d=>{let E=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let T=e.external.registry.get(d[0])?.id,z=e.external.uri??(j=>j);if(T)return{ref:z(T)};let O=d[1].defId??d[1].schema.id??`schema${e.counter++}`;return d[1].defId=O,{defId:O,ref:`${z("__shared")}#/${E}/${O}`}}if(d[1]===a)return{ref:"#"};let I=`#/${E}/`,S=d[1].schema.id??`__schema${e.counter++}`;return{defId:S,ref:I+S}},c=d=>{if(d[1].schema.$ref)return;let E=d[1],{ref:C,defId:I}=i(d);E.def={...E.schema},I&&(E.defId=I);let S=E.schema;for(let T in S)delete S[T];S.$ref=C};if(e.cycles==="throw")for(let d of e.seen.entries()){let E=d[1];if(E.cycle)throw new Error(`Cycle detected: #/${E.cycle?.join("/")}/<root>
|
|
310
|
+
|
|
311
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let d of e.seen.entries()){let E=d[1];if(t===d[0]){c(d);continue}if(e.external){let I=e.external.registry.get(d[0])?.id;if(t!==d[0]&&I){c(d);continue}}if(e.metadataRegistry.get(d[0])?.id){c(d);continue}if(E.cycle){c(d);continue}if(E.count>1&&e.reused==="ref"){c(d);continue}}}function Bd(e,t){let a=e.seen.get(t);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");let s=d=>{let E=e.seen.get(d);if(E.ref===null)return;let C=E.def??E.schema,I={...C},S=E.ref;if(E.ref=null,S){s(S);let z=e.seen.get(S),O=z.schema;if(O.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(C.allOf=C.allOf??[],C.allOf.push(O)):Object.assign(C,O),Object.assign(C,I),d._zod.parent===S)for(let q in C)q==="$ref"||q==="allOf"||q in I||delete C[q];if(O.$ref)for(let q in C)q==="$ref"||q==="allOf"||q in z.def&&JSON.stringify(C[q])===JSON.stringify(z.def[q])&&delete C[q]}let T=d._zod.parent;if(T&&T!==S){s(T);let z=e.seen.get(T);if(z?.schema.$ref&&(C.$ref=z.schema.$ref,z.def))for(let O in C)O==="$ref"||O==="allOf"||O in z.def&&JSON.stringify(C[O])===JSON.stringify(z.def[O])&&delete C[O]}e.override({zodSchema:d,jsonSchema:C,path:E.path??[]})};for(let d of[...e.seen.entries()].reverse())s(d[0]);let i={};if(e.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let d=e.external.registry.get(t)?.id;if(!d)throw new Error("Schema is missing an `id` property");i.$id=e.external.uri(d)}Object.assign(i,a.def??a.schema);let c=e.external?.defs??{};for(let d of e.seen.entries()){let E=d[1];E.def&&E.defId&&(c[E.defId]=E.def)}e.external||Object.keys(c).length>0&&(e.target==="draft-2020-12"?i.$defs=c:i.definitions=c);try{let d=JSON.parse(JSON.stringify(i));return Object.defineProperty(d,"~standard",{value:{...t["~standard"],jsonSchema:{input:Zg(t,"input",e.processors),output:Zg(t,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch{throw new Error("Error converting schema to JSON.")}}function Do(e,t){let a=t??{seen:new Set};if(a.seen.has(e))return!1;a.seen.add(e);let s=e._zod.def;if(s.type==="transform")return!0;if(s.type==="array")return Do(s.element,a);if(s.type==="set")return Do(s.valueType,a);if(s.type==="lazy")return Do(s.getter(),a);if(s.type==="promise"||s.type==="optional"||s.type==="nonoptional"||s.type==="nullable"||s.type==="readonly"||s.type==="default"||s.type==="prefault")return Do(s.innerType,a);if(s.type==="intersection")return Do(s.left,a)||Do(s.right,a);if(s.type==="record"||s.type==="map")return Do(s.keyType,a)||Do(s.valueType,a);if(s.type==="pipe")return Do(s.in,a)||Do(s.out,a);if(s.type==="object"){for(let i in s.shape)if(Do(s.shape[i],a))return!0;return!1}if(s.type==="union"){for(let i of s.options)if(Do(i,a))return!0;return!1}if(s.type==="tuple"){for(let i of s.items)if(Do(i,a))return!0;return!!(s.rest&&Do(s.rest,a))}return!1}var hw,Zg,QE=L(()=>{"use strict";BE();hw=(e,t={})=>a=>{let s=Cd({...a,processors:t});return Xn(e,s),Id(s,e),Bd(s,e)},Zg=(e,t,a={})=>s=>{let{libraryOptions:i,target:c}=s??{},d=Cd({...i??{},target:c,io:t,processors:a});return Xn(e,d),Id(d,e),Bd(d,e)}});function QI(e,t){if("_idmap"in e){let s=e,i=Cd({...t,processors:BI}),c={};for(let C of s._idmap.entries()){let[I,S]=C;Xn(S,i)}let d={},E={registry:s,uri:t?.uri,defs:c};i.external=E;for(let C of s._idmap.entries()){let[I,S]=C;Id(i,S),d[I]=Bd(i,S)}if(Object.keys(c).length>0){let C=i.target==="draft-2020-12"?"$defs":"definitions";d.__shared={[C]:c}}return{schemas:d}}let a=Cd({...t,processors:BI});return Xn(e,a),Id(a,e),Bd(a,e)}var eK,Ew,yw,vw,Cw,Iw,Bw,_w,Dw,Qw,Sw,bw,ww,xw,Uw,Nw,Rw,Tw,Ow,kw,Fw,zw,Mw,Lw,$w,Hw,_I,Gw,jw,Pw,Jw,Kw,Zw,Yw,Vw,qw,Xw,Ww,DI,ex,BI,SE=L(()=>{"use strict";QE();Dt();eK={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Ew=(e,t,a,s)=>{let i=a;i.type="string";let{minimum:c,maximum:d,format:E,patterns:C,contentEncoding:I}=e._zod.bag;if(typeof c=="number"&&(i.minLength=c),typeof d=="number"&&(i.maxLength=d),E&&(i.format=eK[E]??E,i.format===""&&delete i.format,E==="time"&&delete i.format),I&&(i.contentEncoding=I),C&&C.size>0){let S=[...C];S.length===1?i.pattern=S[0].source:S.length>1&&(i.allOf=[...S.map(T=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:T.source}))])}},yw=(e,t,a,s)=>{let i=a,{minimum:c,maximum:d,format:E,multipleOf:C,exclusiveMaximum:I,exclusiveMinimum:S}=e._zod.bag;typeof E=="string"&&E.includes("int")?i.type="integer":i.type="number",typeof S=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(i.minimum=S,i.exclusiveMinimum=!0):i.exclusiveMinimum=S),typeof c=="number"&&(i.minimum=c,typeof S=="number"&&t.target!=="draft-04"&&(S>=c?delete i.minimum:delete i.exclusiveMinimum)),typeof I=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(i.maximum=I,i.exclusiveMaximum=!0):i.exclusiveMaximum=I),typeof d=="number"&&(i.maximum=d,typeof I=="number"&&t.target!=="draft-04"&&(I<=d?delete i.maximum:delete i.exclusiveMaximum)),typeof C=="number"&&(i.multipleOf=C)},vw=(e,t,a,s)=>{a.type="boolean"},Cw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},Iw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Bw=(e,t,a,s)=>{t.target==="openapi-3.0"?(a.type="string",a.nullable=!0,a.enum=[null]):a.type="null"},_w=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},Dw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},Qw=(e,t,a,s)=>{a.not={}},Sw=(e,t,a,s)=>{},bw=(e,t,a,s)=>{},ww=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},xw=(e,t,a,s)=>{let i=e._zod.def,c=sE(i.entries);c.every(d=>typeof d=="number")&&(a.type="number"),c.every(d=>typeof d=="string")&&(a.type="string"),a.enum=c},Uw=(e,t,a,s)=>{let i=e._zod.def,c=[];for(let d of i.values)if(d===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof d=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");c.push(Number(d))}else c.push(d);if(c.length!==0)if(c.length===1){let d=c[0];a.type=d===null?"null":typeof d,t.target==="draft-04"||t.target==="openapi-3.0"?a.enum=[d]:a.const=d}else c.every(d=>typeof d=="number")&&(a.type="number"),c.every(d=>typeof d=="string")&&(a.type="string"),c.every(d=>typeof d=="boolean")&&(a.type="boolean"),c.every(d=>d===null)&&(a.type="null"),a.enum=c},Nw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},Rw=(e,t,a,s)=>{let i=a,c=e._zod.pattern;if(!c)throw new Error("Pattern not found in template literal");i.type="string",i.pattern=c.source},Tw=(e,t,a,s)=>{let i=a,c={type:"string",format:"binary",contentEncoding:"binary"},{minimum:d,maximum:E,mime:C}=e._zod.bag;d!==void 0&&(c.minLength=d),E!==void 0&&(c.maxLength=E),C?C.length===1?(c.contentMediaType=C[0],Object.assign(i,c)):(Object.assign(i,c),i.anyOf=C.map(I=>({contentMediaType:I}))):Object.assign(i,c)},Ow=(e,t,a,s)=>{a.type="boolean"},kw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Fw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},zw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Mw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},Lw=(e,t,a,s)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},$w=(e,t,a,s)=>{let i=a,c=e._zod.def,{minimum:d,maximum:E}=e._zod.bag;typeof d=="number"&&(i.minItems=d),typeof E=="number"&&(i.maxItems=E),i.type="array",i.items=Xn(c.element,t,{...s,path:[...s.path,"items"]})},Hw=(e,t,a,s)=>{let i=a,c=e._zod.def;i.type="object",i.properties={};let d=c.shape;for(let I in d)i.properties[I]=Xn(d[I],t,{...s,path:[...s.path,"properties",I]});let E=new Set(Object.keys(d)),C=new Set([...E].filter(I=>{let S=c.shape[I]._zod;return t.io==="input"?S.optin===void 0:S.optout===void 0}));C.size>0&&(i.required=Array.from(C)),c.catchall?._zod.def.type==="never"?i.additionalProperties=!1:c.catchall?c.catchall&&(i.additionalProperties=Xn(c.catchall,t,{...s,path:[...s.path,"additionalProperties"]})):t.io==="output"&&(i.additionalProperties=!1)},_I=(e,t,a,s)=>{let i=e._zod.def,c=i.inclusive===!1,d=i.options.map((E,C)=>Xn(E,t,{...s,path:[...s.path,c?"oneOf":"anyOf",C]}));c?a.oneOf=d:a.anyOf=d},Gw=(e,t,a,s)=>{let i=e._zod.def,c=Xn(i.left,t,{...s,path:[...s.path,"allOf",0]}),d=Xn(i.right,t,{...s,path:[...s.path,"allOf",1]}),E=I=>"allOf"in I&&Object.keys(I).length===1,C=[...E(c)?c.allOf:[c],...E(d)?d.allOf:[d]];a.allOf=C},jw=(e,t,a,s)=>{let i=a,c=e._zod.def;i.type="array";let d=t.target==="draft-2020-12"?"prefixItems":"items",E=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",C=c.items.map((z,O)=>Xn(z,t,{...s,path:[...s.path,d,O]})),I=c.rest?Xn(c.rest,t,{...s,path:[...s.path,E,...t.target==="openapi-3.0"?[c.items.length]:[]]}):null;t.target==="draft-2020-12"?(i.prefixItems=C,I&&(i.items=I)):t.target==="openapi-3.0"?(i.items={anyOf:C},I&&i.items.anyOf.push(I),i.minItems=C.length,I||(i.maxItems=C.length)):(i.items=C,I&&(i.additionalItems=I));let{minimum:S,maximum:T}=e._zod.bag;typeof S=="number"&&(i.minItems=S),typeof T=="number"&&(i.maxItems=T)},Pw=(e,t,a,s)=>{let i=a,c=e._zod.def;i.type="object";let d=c.keyType,C=d._zod.bag?.patterns;if(c.mode==="loose"&&C&&C.size>0){let S=Xn(c.valueType,t,{...s,path:[...s.path,"patternProperties","*"]});i.patternProperties={};for(let T of C)i.patternProperties[T.source]=S}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(i.propertyNames=Xn(c.keyType,t,{...s,path:[...s.path,"propertyNames"]})),i.additionalProperties=Xn(c.valueType,t,{...s,path:[...s.path,"additionalProperties"]});let I=d._zod.values;if(I){let S=[...I].filter(T=>typeof T=="string"||typeof T=="number");S.length>0&&(i.required=S)}},Jw=(e,t,a,s)=>{let i=e._zod.def,c=Xn(i.innerType,t,s),d=t.seen.get(e);t.target==="openapi-3.0"?(d.ref=i.innerType,a.nullable=!0):a.anyOf=[c,{type:"null"}]},Kw=(e,t,a,s)=>{let i=e._zod.def;Xn(i.innerType,t,s);let c=t.seen.get(e);c.ref=i.innerType},Zw=(e,t,a,s)=>{let i=e._zod.def;Xn(i.innerType,t,s);let c=t.seen.get(e);c.ref=i.innerType,a.default=JSON.parse(JSON.stringify(i.defaultValue))},Yw=(e,t,a,s)=>{let i=e._zod.def;Xn(i.innerType,t,s);let c=t.seen.get(e);c.ref=i.innerType,t.io==="input"&&(a._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Vw=(e,t,a,s)=>{let i=e._zod.def;Xn(i.innerType,t,s);let c=t.seen.get(e);c.ref=i.innerType;let d;try{d=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}a.default=d},qw=(e,t,a,s)=>{let i=e._zod.def,c=t.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;Xn(c,t,s);let d=t.seen.get(e);d.ref=c},Xw=(e,t,a,s)=>{let i=e._zod.def;Xn(i.innerType,t,s);let c=t.seen.get(e);c.ref=i.innerType,a.readOnly=!0},Ww=(e,t,a,s)=>{let i=e._zod.def;Xn(i.innerType,t,s);let c=t.seen.get(e);c.ref=i.innerType},DI=(e,t,a,s)=>{let i=e._zod.def;Xn(i.innerType,t,s);let c=t.seen.get(e);c.ref=i.innerType},ex=(e,t,a,s)=>{let i=e._zod.innerType;Xn(i,t,s);let c=t.seen.get(e);c.ref=i},BI={string:Ew,number:yw,boolean:vw,bigint:Cw,symbol:Iw,null:Bw,undefined:_w,void:Dw,never:Qw,any:Sw,unknown:bw,date:ww,enum:xw,literal:Uw,nan:Nw,template_literal:Rw,file:Tw,success:Ow,custom:kw,function:Fw,transform:zw,map:Mw,set:Lw,array:$w,object:Hw,union:_I,intersection:Gw,tuple:jw,record:Pw,nullable:Jw,nonoptional:Kw,default:Zw,prefault:Yw,catch:Vw,pipe:qw,readonly:Xw,promise:Ww,optional:DI,lazy:ex}});var SI,D4=L(()=>{"use strict";SE();QE();SI=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let a=t?.target??"draft-2020-12";a==="draft-4"&&(a="draft-04"),a==="draft-7"&&(a="draft-07"),this.ctx=Cd({processors:BI,target:a,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,a={path:[],schemaPath:[]}){return Xn(t,this.ctx,a)}emit(t,a){a&&(a.cycles&&(this.ctx.cycles=a.cycles),a.reused&&(this.ctx.reused=a.reused),a.external&&(this.ctx.external=a.external)),Id(this.ctx,t);let s=Bd(this.ctx,t),{"~standard":i,...c}=s;return c}}});var Q4={};var S4=L(()=>{"use strict"});var uA={};Co(uA,{$ZodAny:()=>KS,$ZodArray:()=>XS,$ZodAsyncError:()=>Zl,$ZodBase64:()=>FS,$ZodBase64URL:()=>zS,$ZodBigInt:()=>jC,$ZodBigIntFormat:()=>GS,$ZodBoolean:()=>EE,$ZodCIDRv4:()=>TS,$ZodCIDRv6:()=>OS,$ZodCUID:()=>IS,$ZodCUID2:()=>BS,$ZodCatch:()=>mb,$ZodCheck:()=>hi,$ZodCheckBigIntFormat:()=>VQ,$ZodCheckEndsWith:()=>lS,$ZodCheckGreaterThan:()=>kC,$ZodCheckIncludes:()=>oS,$ZodCheckLengthEquals:()=>nS,$ZodCheckLessThan:()=>OC,$ZodCheckLowerCase:()=>rS,$ZodCheckMaxLength:()=>eS,$ZodCheckMaxSize:()=>qQ,$ZodCheckMimeType:()=>cS,$ZodCheckMinLength:()=>tS,$ZodCheckMinSize:()=>XQ,$ZodCheckMultipleOf:()=>ZQ,$ZodCheckNumberFormat:()=>YQ,$ZodCheckOverwrite:()=>AS,$ZodCheckProperty:()=>uS,$ZodCheckRegex:()=>iS,$ZodCheckSizeEquals:()=>WQ,$ZodCheckStartsWith:()=>sS,$ZodCheckStringFormat:()=>Rg,$ZodCheckUpperCase:()=>aS,$ZodCodec:()=>vE,$ZodCustom:()=>_b,$ZodCustomStringFormat:()=>$S,$ZodDate:()=>qS,$ZodDefault:()=>db,$ZodDiscriminatedUnion:()=>tb,$ZodE164:()=>MS,$ZodEmail:()=>ES,$ZodEmoji:()=>vS,$ZodEncodeError:()=>pd,$ZodEnum:()=>ob,$ZodError:()=>dE,$ZodExactOptional:()=>cb,$ZodFile:()=>lb,$ZodFunction:()=>Cb,$ZodGUID:()=>mS,$ZodIPv4:()=>US,$ZodIPv6:()=>NS,$ZodISODate:()=>bS,$ZodISODateTime:()=>SS,$ZodISODuration:()=>xS,$ZodISOTime:()=>wS,$ZodIntersection:()=>nb,$ZodJWT:()=>LS,$ZodKSUID:()=>QS,$ZodLazy:()=>Bb,$ZodLiteral:()=>sb,$ZodMAC:()=>RS,$ZodMap:()=>rb,$ZodNaN:()=>hb,$ZodNanoID:()=>CS,$ZodNever:()=>YS,$ZodNonOptional:()=>pb,$ZodNull:()=>JS,$ZodNullable:()=>Ab,$ZodNumber:()=>GC,$ZodNumberFormat:()=>HS,$ZodObject:()=>RF,$ZodObjectJIT:()=>WS,$ZodOptional:()=>JC,$ZodPipe:()=>Eb,$ZodPrefault:()=>fb,$ZodPromise:()=>Ib,$ZodReadonly:()=>yb,$ZodRealError:()=>Ho,$ZodRecord:()=>ib,$ZodRegistry:()=>VC,$ZodSet:()=>ab,$ZodString:()=>Mf,$ZodStringFormat:()=>ui,$ZodSuccess:()=>gb,$ZodSymbol:()=>jS,$ZodTemplateLiteral:()=>vb,$ZodTransform:()=>ub,$ZodTuple:()=>PC,$ZodType:()=>zt,$ZodULID:()=>_S,$ZodURL:()=>yS,$ZodUUID:()=>hS,$ZodUndefined:()=>PS,$ZodUnion:()=>yE,$ZodUnknown:()=>ZS,$ZodVoid:()=>VS,$ZodXID:()=>DS,$ZodXor:()=>eb,$brand:()=>yC,$constructor:()=>te,$input:()=>Ub,$output:()=>xb,Doc:()=>hE,JSONSchema:()=>Q4,JSONSchemaGenerator:()=>SI,NEVER:()=>iQ,TimePrecision:()=>Ob,_any:()=>nw,_array:()=>uw,_base64:()=>pI,_base64url:()=>gI,_bigint:()=>Yb,_boolean:()=>Kb,_catch:()=>Z5,_check:()=>B4,_cidrv4:()=>dI,_cidrv6:()=>fI,_coercedBigint:()=>Vb,_coercedBoolean:()=>Zb,_coercedDate:()=>sw,_coercedNumber:()=>$b,_coercedString:()=>Rb,_cuid:()=>aI,_cuid2:()=>oI,_custom:()=>Aw,_date:()=>ow,_decode:()=>DC,_decodeAsync:()=>SC,_default:()=>P5,_discriminatedUnion:()=>R5,_e164:()=>mI,_email:()=>XC,_emoji:()=>iI,_encode:()=>_C,_encodeAsync:()=>QC,_endsWith:()=>Lg,_enum:()=>M5,_file:()=>cw,_float32:()=>Gb,_float64:()=>jb,_gt:()=>Ju,_gte:()=>_o,_guid:()=>_E,_includes:()=>zg,_int:()=>Hb,_int32:()=>Pb,_int64:()=>qb,_intersection:()=>T5,_ipv4:()=>cI,_ipv6:()=>AI,_isoDate:()=>Fb,_isoDateTime:()=>kb,_isoDuration:()=>Mb,_isoTime:()=>zb,_jwt:()=>hI,_ksuid:()=>uI,_lazy:()=>X5,_length:()=>Hf,_literal:()=>$5,_lowercase:()=>kg,_lt:()=>Pu,_lte:()=>ys,_mac:()=>Tb,_map:()=>F5,_max:()=>ys,_maxLength:()=>$f,_maxSize:()=>vd,_mime:()=>$g,_min:()=>_o,_minLength:()=>lA,_minSize:()=>Ku,_multipleOf:()=>yd,_nan:()=>lw,_nanoid:()=>rI,_nativeEnum:()=>L5,_negative:()=>yI,_never:()=>rw,_nonnegative:()=>CI,_nonoptional:()=>J5,_nonpositive:()=>vI,_normalize:()=>Hg,_null:()=>tw,_nullable:()=>j5,_number:()=>Lb,_optional:()=>G5,_overwrite:()=>Yl,_parse:()=>wg,_parseAsync:()=>xg,_pipe:()=>Y5,_positive:()=>EI,_promise:()=>W5,_property:()=>II,_readonly:()=>V5,_record:()=>k5,_refine:()=>dw,_regex:()=>Og,_safeDecode:()=>wC,_safeDecodeAsync:()=>UC,_safeEncode:()=>bC,_safeEncodeAsync:()=>xC,_safeParse:()=>Ug,_safeParseAsync:()=>Ng,_set:()=>z5,_size:()=>Lf,_slugify:()=>Jg,_startsWith:()=>Mg,_string:()=>Nb,_stringFormat:()=>Kg,_stringbool:()=>mw,_success:()=>K5,_superRefine:()=>fw,_symbol:()=>Wb,_templateLiteral:()=>q5,_toLowerCase:()=>jg,_toUpperCase:()=>Pg,_transform:()=>H5,_trim:()=>Gg,_tuple:()=>O5,_uint32:()=>Jb,_uint64:()=>Xb,_ulid:()=>sI,_undefined:()=>ew,_union:()=>U5,_unknown:()=>iw,_uppercase:()=>Fg,_url:()=>DE,_uuid:()=>WC,_uuidv4:()=>eI,_uuidv6:()=>tI,_uuidv7:()=>nI,_void:()=>aw,_xid:()=>lI,_xor:()=>N5,clone:()=>Bo,config:()=>pr,createStandardJSONSchemaMethod:()=>Zg,createToJSONSchemaMethod:()=>hw,decode:()=>nJ,decodeAsync:()=>rJ,describe:()=>pw,encode:()=>tJ,encodeAsync:()=>iJ,extractDefs:()=>Id,finalize:()=>Bd,flattenError:()=>fE,formatError:()=>pE,globalConfig:()=>aE,globalRegistry:()=>Ra,initializeContext:()=>Cd,isValidBase64:()=>kS,isValidBase64URL:()=>wF,isValidJWT:()=>xF,locales:()=>IE,meta:()=>gw,parse:()=>IC,parseAsync:()=>BC,prettifyError:()=>gQ,process:()=>Xn,regexes:()=>ul,registry:()=>qC,safeDecode:()=>oJ,safeDecodeAsync:()=>lJ,safeEncode:()=>aJ,safeEncodeAsync:()=>sJ,safeParse:()=>hQ,safeParseAsync:()=>EQ,toDotPath:()=>AF,toJSONSchema:()=>QI,treeifyError:()=>pQ,util:()=>Le,version:()=>fS});var Go=L(()=>{"use strict";Dg();yQ();mQ();Db();FC();pS();Dt();TC();wb();BE();dS();_4();QE();SE();D4();S4()});var bI={};Co(bI,{endsWith:()=>Lg,gt:()=>Ju,gte:()=>_o,includes:()=>zg,length:()=>Hf,lowercase:()=>kg,lt:()=>Pu,lte:()=>ys,maxLength:()=>$f,maxSize:()=>vd,mime:()=>$g,minLength:()=>lA,minSize:()=>Ku,multipleOf:()=>yd,negative:()=>yI,nonnegative:()=>CI,nonpositive:()=>vI,normalize:()=>Hg,overwrite:()=>Yl,positive:()=>EI,property:()=>II,regex:()=>Og,size:()=>Lf,slugify:()=>Jg,startsWith:()=>Mg,toLowerCase:()=>jg,toUpperCase:()=>Pg,trim:()=>Gg,uppercase:()=>Fg});var wI=L(()=>{"use strict";Go()});var Yg={};Co(Yg,{ZodISODate:()=>UI,ZodISODateTime:()=>xI,ZodISODuration:()=>RI,ZodISOTime:()=>NI,date:()=>nx,datetime:()=>tx,duration:()=>rx,time:()=>ix});function tx(e){return kb(xI,e)}function nx(e){return Fb(UI,e)}function ix(e){return zb(NI,e)}function rx(e){return Mb(RI,e)}var xI,UI,NI,RI,bE=L(()=>{"use strict";Go();xE();xI=te("ZodISODateTime",(e,t)=>{SS.init(e,t),ci.init(e,t)});UI=te("ZodISODate",(e,t)=>{bS.init(e,t),ci.init(e,t)});NI=te("ZodISOTime",(e,t)=>{wS.init(e,t),ci.init(e,t)});RI=te("ZodISODuration",(e,t)=>{xS.init(e,t),ci.init(e,t)})});var b4,nK,jo,ax=L(()=>{"use strict";Go();Go();Dt();b4=(e,t)=>{dE.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:a=>pE(e,a)},flatten:{value:a=>fE(e,a)},addIssue:{value:a=>{e.issues.push(a),e.message=JSON.stringify(e.issues,Qg,2)}},addIssues:{value:a=>{e.issues.push(...a),e.message=JSON.stringify(e.issues,Qg,2)}},isEmpty:{get(){return e.issues.length===0}}})},nK=te("ZodError",b4),jo=te("ZodError",b4,{Parent:Error})});var cA,ox,sx,lx,ux,cx,Ax,dx,fx,px,gx,mx,hx=L(()=>{"use strict";Go();ax();cA=wg(jo),ox=xg(jo),sx=Ug(jo),lx=Ng(jo),ux=_C(jo),cx=DC(jo),Ax=QC(jo),dx=SC(jo),fx=bC(jo),px=wC(jo),gx=xC(jo),mx=UC(jo)});var wE={};Co(wE,{ZodAny:()=>Dx,ZodArray:()=>wx,ZodBase64:()=>ZI,ZodBase64URL:()=>YI,ZodBigInt:()=>tm,ZodBigIntFormat:()=>XI,ZodBoolean:()=>em,ZodCIDRv4:()=>JI,ZodCIDRv6:()=>KI,ZodCUID:()=>MI,ZodCUID2:()=>LI,ZodCatch:()=>qx,ZodCodec:()=>o0,ZodCustom:()=>$E,ZodCustomStringFormat:()=>Xg,ZodDate:()=>kE,ZodDefault:()=>Px,ZodDiscriminatedUnion:()=>Ux,ZodE164:()=>VI,ZodEmail:()=>kI,ZodEmoji:()=>FI,ZodEnum:()=>Vg,ZodExactOptional:()=>Hx,ZodFile:()=>Lx,ZodFunction:()=>o1,ZodGUID:()=>UE,ZodIPv4:()=>jI,ZodIPv6:()=>PI,ZodIntersection:()=>Nx,ZodJWT:()=>qI,ZodKSUID:()=>GI,ZodLazy:()=>i1,ZodLiteral:()=>Mx,ZodMAC:()=>Ex,ZodMap:()=>Fx,ZodNaN:()=>Wx,ZodNanoID:()=>zI,ZodNever:()=>Sx,ZodNonOptional:()=>r0,ZodNull:()=>Bx,ZodNullable:()=>jx,ZodNumber:()=>Wg,ZodNumberFormat:()=>jf,ZodObject:()=>zE,ZodOptional:()=>i0,ZodPipe:()=>a0,ZodPrefault:()=>Kx,ZodPromise:()=>a1,ZodReadonly:()=>e1,ZodRecord:()=>LE,ZodSet:()=>zx,ZodString:()=>qg,ZodStringFormat:()=>ci,ZodSuccess:()=>Vx,ZodSymbol:()=>Cx,ZodTemplateLiteral:()=>n1,ZodTransform:()=>$x,ZodTuple:()=>Tx,ZodType:()=>Wt,ZodULID:()=>$I,ZodURL:()=>OE,ZodUUID:()=>Zu,ZodUndefined:()=>Ix,ZodUnion:()=>ME,ZodUnknown:()=>Qx,ZodVoid:()=>bx,ZodXID:()=>HI,ZodXor:()=>xx,_ZodString:()=>OI,_default:()=>Jx,_function:()=>RM,any:()=>dM,array:()=>FE,base64:()=>Y4,base64url:()=>V4,bigint:()=>sM,boolean:()=>vx,catch:()=>Xx,check:()=>TM,cidrv4:()=>K4,cidrv6:()=>Z4,codec:()=>xM,cuid:()=>M4,cuid2:()=>L4,custom:()=>OM,date:()=>pM,describe:()=>kM,discriminatedUnion:()=>yM,e164:()=>q4,email:()=>w4,emoji:()=>F4,enum:()=>t0,exactOptional:()=>Gx,file:()=>QM,float32:()=>iM,float64:()=>rM,function:()=>RM,guid:()=>x4,hash:()=>nM,hex:()=>tM,hostname:()=>eM,httpUrl:()=>k4,instanceof:()=>zM,int:()=>TI,int32:()=>aM,int64:()=>lM,intersection:()=>Rx,ipv4:()=>j4,ipv6:()=>J4,json:()=>LM,jwt:()=>X4,keyof:()=>gM,ksuid:()=>G4,lazy:()=>r1,literal:()=>DM,looseObject:()=>hM,looseRecord:()=>CM,mac:()=>P4,map:()=>IM,meta:()=>FM,nan:()=>wM,nanoid:()=>z4,nativeEnum:()=>_M,never:()=>WI,nonoptional:()=>Yx,null:()=>_x,nullable:()=>RE,nullish:()=>SM,number:()=>yx,object:()=>_d,optional:()=>NE,partialRecord:()=>vM,pipe:()=>TE,prefault:()=>Zx,preprocess:()=>$M,promise:()=>NM,readonly:()=>t1,record:()=>kx,refine:()=>s1,set:()=>BM,strictObject:()=>mM,string:()=>Po,stringFormat:()=>W4,stringbool:()=>MM,success:()=>bM,superRefine:()=>l1,symbol:()=>cM,templateLiteral:()=>UM,transform:()=>n0,tuple:()=>Ox,uint32:()=>oM,uint64:()=>uM,ulid:()=>$4,undefined:()=>AM,union:()=>e0,unknown:()=>Gf,url:()=>O4,uuid:()=>U4,uuidv4:()=>N4,uuidv6:()=>R4,uuidv7:()=>T4,void:()=>fM,xid:()=>H4,xor:()=>EM});function Po(e){return Nb(qg,e)}function w4(e){return XC(kI,e)}function x4(e){return _E(UE,e)}function U4(e){return WC(Zu,e)}function N4(e){return eI(Zu,e)}function R4(e){return tI(Zu,e)}function T4(e){return nI(Zu,e)}function O4(e){return DE(OE,e)}function k4(e){return DE(OE,{protocol:/^https?$/,hostname:ul.domain,...Le.normalizeParams(e)})}function F4(e){return iI(FI,e)}function z4(e){return rI(zI,e)}function M4(e){return aI(MI,e)}function L4(e){return oI(LI,e)}function $4(e){return sI($I,e)}function H4(e){return lI(HI,e)}function G4(e){return uI(GI,e)}function j4(e){return cI(jI,e)}function P4(e){return Tb(Ex,e)}function J4(e){return AI(PI,e)}function K4(e){return dI(JI,e)}function Z4(e){return fI(KI,e)}function Y4(e){return pI(ZI,e)}function V4(e){return gI(YI,e)}function q4(e){return mI(VI,e)}function X4(e){return hI(qI,e)}function W4(e,t,a={}){return Kg(Xg,e,t,a)}function eM(e){return Kg(Xg,"hostname",ul.hostname,e)}function tM(e){return Kg(Xg,"hex",ul.hex,e)}function nM(e,t){let a=t?.enc??"hex",s=`${e}_${a}`,i=ul[s];if(!i)throw new Error(`Unrecognized hash format: ${s}`);return Kg(Xg,s,i,t)}function yx(e){return Lb(Wg,e)}function TI(e){return Hb(jf,e)}function iM(e){return Gb(jf,e)}function rM(e){return jb(jf,e)}function aM(e){return Pb(jf,e)}function oM(e){return Jb(jf,e)}function vx(e){return Kb(em,e)}function sM(e){return Yb(tm,e)}function lM(e){return qb(XI,e)}function uM(e){return Xb(XI,e)}function cM(e){return Wb(Cx,e)}function AM(e){return ew(Ix,e)}function _x(e){return tw(Bx,e)}function dM(){return nw(Dx)}function Gf(){return iw(Qx)}function WI(e){return rw(Sx,e)}function fM(e){return aw(bx,e)}function pM(e){return ow(kE,e)}function FE(e,t){return uw(wx,e,t)}function gM(e){let t=e._zod.def.shape;return t0(Object.keys(t))}function _d(e,t){let a={type:"object",shape:e??{},...Le.normalizeParams(t)};return new zE(a)}function mM(e,t){return new zE({type:"object",shape:e,catchall:WI(),...Le.normalizeParams(t)})}function hM(e,t){return new zE({type:"object",shape:e,catchall:Gf(),...Le.normalizeParams(t)})}function e0(e,t){return new ME({type:"union",options:e,...Le.normalizeParams(t)})}function EM(e,t){return new xx({type:"union",options:e,inclusive:!1,...Le.normalizeParams(t)})}function yM(e,t,a){return new Ux({type:"union",options:t,discriminator:e,...Le.normalizeParams(a)})}function Rx(e,t){return new Nx({type:"intersection",left:e,right:t})}function Ox(e,t,a){let s=t instanceof zt,i=s?a:t,c=s?t:null;return new Tx({type:"tuple",items:e,rest:c,...Le.normalizeParams(i)})}function kx(e,t,a){return new LE({type:"record",keyType:e,valueType:t,...Le.normalizeParams(a)})}function vM(e,t,a){let s=Bo(e);return s._zod.values=void 0,new LE({type:"record",keyType:s,valueType:t,...Le.normalizeParams(a)})}function CM(e,t,a){return new LE({type:"record",keyType:e,valueType:t,mode:"loose",...Le.normalizeParams(a)})}function IM(e,t,a){return new Fx({type:"map",keyType:e,valueType:t,...Le.normalizeParams(a)})}function BM(e,t){return new zx({type:"set",valueType:e,...Le.normalizeParams(t)})}function t0(e,t){let a=Array.isArray(e)?Object.fromEntries(e.map(s=>[s,s])):e;return new Vg({type:"enum",entries:a,...Le.normalizeParams(t)})}function _M(e,t){return new Vg({type:"enum",entries:e,...Le.normalizeParams(t)})}function DM(e,t){return new Mx({type:"literal",values:Array.isArray(e)?e:[e],...Le.normalizeParams(t)})}function QM(e){return cw(Lx,e)}function n0(e){return new $x({type:"transform",transform:e})}function NE(e){return new i0({type:"optional",innerType:e})}function Gx(e){return new Hx({type:"optional",innerType:e})}function RE(e){return new jx({type:"nullable",innerType:e})}function SM(e){return NE(RE(e))}function Jx(e,t){return new Px({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():Le.shallowClone(t)}})}function Zx(e,t){return new Kx({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():Le.shallowClone(t)}})}function Yx(e,t){return new r0({type:"nonoptional",innerType:e,...Le.normalizeParams(t)})}function bM(e){return new Vx({type:"success",innerType:e})}function Xx(e,t){return new qx({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}function wM(e){return lw(Wx,e)}function TE(e,t){return new a0({type:"pipe",in:e,out:t})}function xM(e,t,a){return new o0({type:"pipe",in:e,out:t,transform:a.decode,reverseTransform:a.encode})}function t1(e){return new e1({type:"readonly",innerType:e})}function UM(e,t){return new n1({type:"template_literal",parts:e,...Le.normalizeParams(t)})}function r1(e){return new i1({type:"lazy",getter:e})}function NM(e){return new a1({type:"promise",innerType:e})}function RM(e){return new o1({type:"function",input:Array.isArray(e?.input)?Ox(e?.input):e?.input??FE(Gf()),output:e?.output??Gf()})}function TM(e){let t=new hi({check:"custom"});return t._zod.check=e,t}function OM(e,t){return Aw($E,e??(()=>!0),t)}function s1(e,t={}){return dw($E,e,t)}function l1(e){return fw(e)}function zM(e,t={}){let a=new $E({type:"custom",check:"custom",fn:s=>s instanceof e,abort:!0,...Le.normalizeParams(t)});return a._zod.bag.Class=e,a._zod.check=s=>{s.value instanceof e||s.issues.push({code:"invalid_type",expected:e.name,input:s.value,inst:a,path:[...a._zod.def.path??[]]})},a}function LM(e){let t=r1(()=>e0([Po(e),yx(),vx(),_x(),FE(t),kx(Po(),t)]));return t}function $M(e,t){return TE(n0(e),t)}var Wt,OI,qg,ci,kI,UE,Zu,OE,FI,zI,MI,LI,$I,HI,GI,jI,Ex,PI,JI,KI,ZI,YI,VI,qI,Xg,Wg,jf,em,tm,XI,Cx,Ix,Bx,Dx,Qx,Sx,bx,kE,wx,zE,ME,xx,Ux,Nx,Tx,LE,Fx,zx,Vg,Mx,Lx,$x,i0,Hx,jx,Px,Kx,r0,Vx,qx,Wx,a0,o0,e1,n1,i1,a1,o1,$E,kM,FM,MM,xE=L(()=>{"use strict";Go();Go();SE();QE();wI();bE();hx();Wt=te("ZodType",(e,t)=>(zt.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Zg(e,"input"),output:Zg(e,"output")}}),e.toJSONSchema=hw(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...a)=>e.clone(Le.mergeDefs(t,{checks:[...t.checks??[],...a.map(s=>typeof s=="function"?{_zod:{check:s,def:{check:"custom"},onattach:[]}}:s)]}),{parent:!0}),e.with=e.check,e.clone=(a,s)=>Bo(e,a,s),e.brand=()=>e,e.register=((a,s)=>(a.add(e,s),e)),e.parse=(a,s)=>cA(e,a,s,{callee:e.parse}),e.safeParse=(a,s)=>sx(e,a,s),e.parseAsync=async(a,s)=>ox(e,a,s,{callee:e.parseAsync}),e.safeParseAsync=async(a,s)=>lx(e,a,s),e.spa=e.safeParseAsync,e.encode=(a,s)=>ux(e,a,s),e.decode=(a,s)=>cx(e,a,s),e.encodeAsync=async(a,s)=>Ax(e,a,s),e.decodeAsync=async(a,s)=>dx(e,a,s),e.safeEncode=(a,s)=>fx(e,a,s),e.safeDecode=(a,s)=>px(e,a,s),e.safeEncodeAsync=async(a,s)=>gx(e,a,s),e.safeDecodeAsync=async(a,s)=>mx(e,a,s),e.refine=(a,s)=>e.check(s1(a,s)),e.superRefine=a=>e.check(l1(a)),e.overwrite=a=>e.check(Yl(a)),e.optional=()=>NE(e),e.exactOptional=()=>Gx(e),e.nullable=()=>RE(e),e.nullish=()=>NE(RE(e)),e.nonoptional=a=>Yx(e,a),e.array=()=>FE(e),e.or=a=>e0([e,a]),e.and=a=>Rx(e,a),e.transform=a=>TE(e,n0(a)),e.default=a=>Jx(e,a),e.prefault=a=>Zx(e,a),e.catch=a=>Xx(e,a),e.pipe=a=>TE(e,a),e.readonly=()=>t1(e),e.describe=a=>{let s=e.clone();return Ra.add(s,{description:a}),s},Object.defineProperty(e,"description",{get(){return Ra.get(e)?.description},configurable:!0}),e.meta=(...a)=>{if(a.length===0)return Ra.get(e);let s=e.clone();return Ra.add(s,a[0]),s},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=a=>a(e),e)),OI=te("_ZodString",(e,t)=>{Mf.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(s,i,c)=>Ew(e,s,i,c);let a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null,e.regex=(...s)=>e.check(Og(...s)),e.includes=(...s)=>e.check(zg(...s)),e.startsWith=(...s)=>e.check(Mg(...s)),e.endsWith=(...s)=>e.check(Lg(...s)),e.min=(...s)=>e.check(lA(...s)),e.max=(...s)=>e.check($f(...s)),e.length=(...s)=>e.check(Hf(...s)),e.nonempty=(...s)=>e.check(lA(1,...s)),e.lowercase=s=>e.check(kg(s)),e.uppercase=s=>e.check(Fg(s)),e.trim=()=>e.check(Gg()),e.normalize=(...s)=>e.check(Hg(...s)),e.toLowerCase=()=>e.check(jg()),e.toUpperCase=()=>e.check(Pg()),e.slugify=()=>e.check(Jg())}),qg=te("ZodString",(e,t)=>{Mf.init(e,t),OI.init(e,t),e.email=a=>e.check(XC(kI,a)),e.url=a=>e.check(DE(OE,a)),e.jwt=a=>e.check(hI(qI,a)),e.emoji=a=>e.check(iI(FI,a)),e.guid=a=>e.check(_E(UE,a)),e.uuid=a=>e.check(WC(Zu,a)),e.uuidv4=a=>e.check(eI(Zu,a)),e.uuidv6=a=>e.check(tI(Zu,a)),e.uuidv7=a=>e.check(nI(Zu,a)),e.nanoid=a=>e.check(rI(zI,a)),e.guid=a=>e.check(_E(UE,a)),e.cuid=a=>e.check(aI(MI,a)),e.cuid2=a=>e.check(oI(LI,a)),e.ulid=a=>e.check(sI($I,a)),e.base64=a=>e.check(pI(ZI,a)),e.base64url=a=>e.check(gI(YI,a)),e.xid=a=>e.check(lI(HI,a)),e.ksuid=a=>e.check(uI(GI,a)),e.ipv4=a=>e.check(cI(jI,a)),e.ipv6=a=>e.check(AI(PI,a)),e.cidrv4=a=>e.check(dI(JI,a)),e.cidrv6=a=>e.check(fI(KI,a)),e.e164=a=>e.check(mI(VI,a)),e.datetime=a=>e.check(tx(a)),e.date=a=>e.check(nx(a)),e.time=a=>e.check(ix(a)),e.duration=a=>e.check(rx(a))});ci=te("ZodStringFormat",(e,t)=>{ui.init(e,t),OI.init(e,t)}),kI=te("ZodEmail",(e,t)=>{ES.init(e,t),ci.init(e,t)});UE=te("ZodGUID",(e,t)=>{mS.init(e,t),ci.init(e,t)});Zu=te("ZodUUID",(e,t)=>{hS.init(e,t),ci.init(e,t)});OE=te("ZodURL",(e,t)=>{yS.init(e,t),ci.init(e,t)});FI=te("ZodEmoji",(e,t)=>{vS.init(e,t),ci.init(e,t)});zI=te("ZodNanoID",(e,t)=>{CS.init(e,t),ci.init(e,t)});MI=te("ZodCUID",(e,t)=>{IS.init(e,t),ci.init(e,t)});LI=te("ZodCUID2",(e,t)=>{BS.init(e,t),ci.init(e,t)});$I=te("ZodULID",(e,t)=>{_S.init(e,t),ci.init(e,t)});HI=te("ZodXID",(e,t)=>{DS.init(e,t),ci.init(e,t)});GI=te("ZodKSUID",(e,t)=>{QS.init(e,t),ci.init(e,t)});jI=te("ZodIPv4",(e,t)=>{US.init(e,t),ci.init(e,t)});Ex=te("ZodMAC",(e,t)=>{RS.init(e,t),ci.init(e,t)});PI=te("ZodIPv6",(e,t)=>{NS.init(e,t),ci.init(e,t)});JI=te("ZodCIDRv4",(e,t)=>{TS.init(e,t),ci.init(e,t)});KI=te("ZodCIDRv6",(e,t)=>{OS.init(e,t),ci.init(e,t)});ZI=te("ZodBase64",(e,t)=>{FS.init(e,t),ci.init(e,t)});YI=te("ZodBase64URL",(e,t)=>{zS.init(e,t),ci.init(e,t)});VI=te("ZodE164",(e,t)=>{MS.init(e,t),ci.init(e,t)});qI=te("ZodJWT",(e,t)=>{LS.init(e,t),ci.init(e,t)});Xg=te("ZodCustomStringFormat",(e,t)=>{$S.init(e,t),ci.init(e,t)});Wg=te("ZodNumber",(e,t)=>{GC.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(s,i,c)=>yw(e,s,i,c),e.gt=(s,i)=>e.check(Ju(s,i)),e.gte=(s,i)=>e.check(_o(s,i)),e.min=(s,i)=>e.check(_o(s,i)),e.lt=(s,i)=>e.check(Pu(s,i)),e.lte=(s,i)=>e.check(ys(s,i)),e.max=(s,i)=>e.check(ys(s,i)),e.int=s=>e.check(TI(s)),e.safe=s=>e.check(TI(s)),e.positive=s=>e.check(Ju(0,s)),e.nonnegative=s=>e.check(_o(0,s)),e.negative=s=>e.check(Pu(0,s)),e.nonpositive=s=>e.check(ys(0,s)),e.multipleOf=(s,i)=>e.check(yd(s,i)),e.step=(s,i)=>e.check(yd(s,i)),e.finite=()=>e;let a=e._zod.bag;e.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??.5),e.isFinite=!0,e.format=a.format??null});jf=te("ZodNumberFormat",(e,t)=>{HS.init(e,t),Wg.init(e,t)});em=te("ZodBoolean",(e,t)=>{EE.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>vw(e,a,s,i)});tm=te("ZodBigInt",(e,t)=>{jC.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(s,i,c)=>Cw(e,s,i,c),e.gte=(s,i)=>e.check(_o(s,i)),e.min=(s,i)=>e.check(_o(s,i)),e.gt=(s,i)=>e.check(Ju(s,i)),e.gte=(s,i)=>e.check(_o(s,i)),e.min=(s,i)=>e.check(_o(s,i)),e.lt=(s,i)=>e.check(Pu(s,i)),e.lte=(s,i)=>e.check(ys(s,i)),e.max=(s,i)=>e.check(ys(s,i)),e.positive=s=>e.check(Ju(BigInt(0),s)),e.negative=s=>e.check(Pu(BigInt(0),s)),e.nonpositive=s=>e.check(ys(BigInt(0),s)),e.nonnegative=s=>e.check(_o(BigInt(0),s)),e.multipleOf=(s,i)=>e.check(yd(s,i));let a=e._zod.bag;e.minValue=a.minimum??null,e.maxValue=a.maximum??null,e.format=a.format??null});XI=te("ZodBigIntFormat",(e,t)=>{GS.init(e,t),tm.init(e,t)});Cx=te("ZodSymbol",(e,t)=>{jS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Iw(e,a,s,i)});Ix=te("ZodUndefined",(e,t)=>{PS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>_w(e,a,s,i)});Bx=te("ZodNull",(e,t)=>{JS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Bw(e,a,s,i)});Dx=te("ZodAny",(e,t)=>{KS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Sw(e,a,s,i)});Qx=te("ZodUnknown",(e,t)=>{ZS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>bw(e,a,s,i)});Sx=te("ZodNever",(e,t)=>{YS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Qw(e,a,s,i)});bx=te("ZodVoid",(e,t)=>{VS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Dw(e,a,s,i)});kE=te("ZodDate",(e,t)=>{qS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(s,i,c)=>ww(e,s,i,c),e.min=(s,i)=>e.check(_o(s,i)),e.max=(s,i)=>e.check(ys(s,i));let a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});wx=te("ZodArray",(e,t)=>{XS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>$w(e,a,s,i),e.element=t.element,e.min=(a,s)=>e.check(lA(a,s)),e.nonempty=a=>e.check(lA(1,a)),e.max=(a,s)=>e.check($f(a,s)),e.length=(a,s)=>e.check(Hf(a,s)),e.unwrap=()=>e.element});zE=te("ZodObject",(e,t)=>{WS.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Hw(e,a,s,i),Le.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>t0(Object.keys(e._zod.def.shape)),e.catchall=a=>e.clone({...e._zod.def,catchall:a}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Gf()}),e.loose=()=>e.clone({...e._zod.def,catchall:Gf()}),e.strict=()=>e.clone({...e._zod.def,catchall:WI()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=a=>Le.extend(e,a),e.safeExtend=a=>Le.safeExtend(e,a),e.merge=a=>Le.merge(e,a),e.pick=a=>Le.pick(e,a),e.omit=a=>Le.omit(e,a),e.partial=(...a)=>Le.partial(i0,e,a[0]),e.required=(...a)=>Le.required(r0,e,a[0])});ME=te("ZodUnion",(e,t)=>{yE.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>_I(e,a,s,i),e.options=t.options});xx=te("ZodXor",(e,t)=>{ME.init(e,t),eb.init(e,t),e._zod.processJSONSchema=(a,s,i)=>_I(e,a,s,i),e.options=t.options});Ux=te("ZodDiscriminatedUnion",(e,t)=>{ME.init(e,t),tb.init(e,t)});Nx=te("ZodIntersection",(e,t)=>{nb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Gw(e,a,s,i)});Tx=te("ZodTuple",(e,t)=>{PC.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>jw(e,a,s,i),e.rest=a=>e.clone({...e._zod.def,rest:a})});LE=te("ZodRecord",(e,t)=>{ib.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Pw(e,a,s,i),e.keyType=t.keyType,e.valueType=t.valueType});Fx=te("ZodMap",(e,t)=>{rb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Mw(e,a,s,i),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...a)=>e.check(Ku(...a)),e.nonempty=a=>e.check(Ku(1,a)),e.max=(...a)=>e.check(vd(...a)),e.size=(...a)=>e.check(Lf(...a))});zx=te("ZodSet",(e,t)=>{ab.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Lw(e,a,s,i),e.min=(...a)=>e.check(Ku(...a)),e.nonempty=a=>e.check(Ku(1,a)),e.max=(...a)=>e.check(vd(...a)),e.size=(...a)=>e.check(Lf(...a))});Vg=te("ZodEnum",(e,t)=>{ob.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(s,i,c)=>xw(e,s,i,c),e.enum=t.entries,e.options=Object.values(t.entries);let a=new Set(Object.keys(t.entries));e.extract=(s,i)=>{let c={};for(let d of s)if(a.has(d))c[d]=t.entries[d];else throw new Error(`Key ${d} not found in enum`);return new Vg({...t,checks:[],...Le.normalizeParams(i),entries:c})},e.exclude=(s,i)=>{let c={...t.entries};for(let d of s)if(a.has(d))delete c[d];else throw new Error(`Key ${d} not found in enum`);return new Vg({...t,checks:[],...Le.normalizeParams(i),entries:c})}});Mx=te("ZodLiteral",(e,t)=>{sb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Uw(e,a,s,i),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});Lx=te("ZodFile",(e,t)=>{lb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Tw(e,a,s,i),e.min=(a,s)=>e.check(Ku(a,s)),e.max=(a,s)=>e.check(vd(a,s)),e.mime=(a,s)=>e.check($g(Array.isArray(a)?a:[a],s))});$x=te("ZodTransform",(e,t)=>{ub.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>zw(e,a,s,i),e._zod.parse=(a,s)=>{if(s.direction==="backward")throw new pd(e.constructor.name);a.addIssue=c=>{if(typeof c=="string")a.issues.push(Le.issue(c,a.value,t));else{let d=c;d.fatal&&(d.continue=!1),d.code??(d.code="custom"),d.input??(d.input=a.value),d.inst??(d.inst=e),a.issues.push(Le.issue(d))}};let i=t.transform(a.value,a);return i instanceof Promise?i.then(c=>(a.value=c,a)):(a.value=i,a)}});i0=te("ZodOptional",(e,t)=>{JC.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>DI(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});Hx=te("ZodExactOptional",(e,t)=>{cb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>DI(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});jx=te("ZodNullable",(e,t)=>{Ab.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Jw(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});Px=te("ZodDefault",(e,t)=>{db.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Zw(e,a,s,i),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});Kx=te("ZodPrefault",(e,t)=>{fb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Yw(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});r0=te("ZodNonOptional",(e,t)=>{pb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Kw(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});Vx=te("ZodSuccess",(e,t)=>{gb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Ow(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});qx=te("ZodCatch",(e,t)=>{mb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Vw(e,a,s,i),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});Wx=te("ZodNaN",(e,t)=>{hb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Nw(e,a,s,i)});a0=te("ZodPipe",(e,t)=>{Eb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>qw(e,a,s,i),e.in=t.in,e.out=t.out});o0=te("ZodCodec",(e,t)=>{a0.init(e,t),vE.init(e,t)});e1=te("ZodReadonly",(e,t)=>{yb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Xw(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});n1=te("ZodTemplateLiteral",(e,t)=>{vb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Rw(e,a,s,i)});i1=te("ZodLazy",(e,t)=>{Bb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>ex(e,a,s,i),e.unwrap=()=>e._zod.def.getter()});a1=te("ZodPromise",(e,t)=>{Ib.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Ww(e,a,s,i),e.unwrap=()=>e._zod.def.innerType});o1=te("ZodFunction",(e,t)=>{Cb.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>Fw(e,a,s,i)});$E=te("ZodCustom",(e,t)=>{_b.init(e,t),Wt.init(e,t),e._zod.processJSONSchema=(a,s,i)=>kw(e,a,s,i)});kM=pw,FM=gw;MM=(...e)=>mw({Codec:o0,Boolean:em,String:qg},...e)});function aK(e){pr({customError:e})}function oK(){return pr().customError}var rK,u1,HM=L(()=>{"use strict";Go();Go();rK={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};u1||(u1={})});function lK(e,t){let a=e.$schema;return a==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":a==="http://json-schema.org/draft-07/schema#"?"draft-7":a==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function uK(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let a=e.slice(1).split("/").filter(Boolean);if(a.length===0)return t.rootSchema;let s=t.version==="draft-2020-12"?"$defs":"definitions";if(a[0]===s){let i=a[1];if(!i||!t.defs[i])throw new Error(`Reference not found: ${e}`);return t.defs[i]}throw new Error(`Reference not found: ${e}`)}function GM(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return rt.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let i=e.$ref;if(t.refs.has(i))return t.refs.get(i);if(t.processing.has(i))return rt.lazy(()=>{if(!t.refs.has(i))throw new Error(`Circular reference not resolved: ${i}`);return t.refs.get(i)});t.processing.add(i);let c=uK(i,t),d=Wa(c,t);return t.refs.set(i,d),t.processing.delete(i),d}if(e.enum!==void 0){let i=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&i.length===1&&i[0]===null)return rt.null();if(i.length===0)return rt.never();if(i.length===1)return rt.literal(i[0]);if(i.every(d=>typeof d=="string"))return rt.enum(i);let c=i.map(d=>rt.literal(d));return c.length<2?c[0]:rt.union([c[0],c[1],...c.slice(2)])}if(e.const!==void 0)return rt.literal(e.const);let a=e.type;if(Array.isArray(a)){let i=a.map(c=>{let d={...e,type:c};return GM(d,t)});return i.length===0?rt.never():i.length===1?i[0]:rt.union(i)}if(!a)return rt.any();let s;switch(a){case"string":{let i=rt.string();if(e.format){let c=e.format;c==="email"?i=i.check(rt.email()):c==="uri"||c==="uri-reference"?i=i.check(rt.url()):c==="uuid"||c==="guid"?i=i.check(rt.uuid()):c==="date-time"?i=i.check(rt.iso.datetime()):c==="date"?i=i.check(rt.iso.date()):c==="time"?i=i.check(rt.iso.time()):c==="duration"?i=i.check(rt.iso.duration()):c==="ipv4"?i=i.check(rt.ipv4()):c==="ipv6"?i=i.check(rt.ipv6()):c==="mac"?i=i.check(rt.mac()):c==="cidr"?i=i.check(rt.cidrv4()):c==="cidr-v6"?i=i.check(rt.cidrv6()):c==="base64"?i=i.check(rt.base64()):c==="base64url"?i=i.check(rt.base64url()):c==="e164"?i=i.check(rt.e164()):c==="jwt"?i=i.check(rt.jwt()):c==="emoji"?i=i.check(rt.emoji()):c==="nanoid"?i=i.check(rt.nanoid()):c==="cuid"?i=i.check(rt.cuid()):c==="cuid2"?i=i.check(rt.cuid2()):c==="ulid"?i=i.check(rt.ulid()):c==="xid"?i=i.check(rt.xid()):c==="ksuid"&&(i=i.check(rt.ksuid()))}typeof e.minLength=="number"&&(i=i.min(e.minLength)),typeof e.maxLength=="number"&&(i=i.max(e.maxLength)),e.pattern&&(i=i.regex(new RegExp(e.pattern))),s=i;break}case"number":case"integer":{let i=a==="integer"?rt.number().int():rt.number();typeof e.minimum=="number"&&(i=i.min(e.minimum)),typeof e.maximum=="number"&&(i=i.max(e.maximum)),typeof e.exclusiveMinimum=="number"?i=i.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(i=i.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?i=i.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(i=i.lt(e.maximum)),typeof e.multipleOf=="number"&&(i=i.multipleOf(e.multipleOf)),s=i;break}case"boolean":{s=rt.boolean();break}case"null":{s=rt.null();break}case"object":{let i={},c=e.properties||{},d=new Set(e.required||[]);for(let[C,I]of Object.entries(c)){let S=Wa(I,t);i[C]=d.has(C)?S:S.optional()}if(e.propertyNames){let C=Wa(e.propertyNames,t),I=e.additionalProperties&&typeof e.additionalProperties=="object"?Wa(e.additionalProperties,t):rt.any();if(Object.keys(i).length===0){s=rt.record(C,I);break}let S=rt.object(i).passthrough(),T=rt.looseRecord(C,I);s=rt.intersection(S,T);break}if(e.patternProperties){let C=e.patternProperties,I=Object.keys(C),S=[];for(let z of I){let O=Wa(C[z],t),j=rt.string().regex(new RegExp(z));S.push(rt.looseRecord(j,O))}let T=[];if(Object.keys(i).length>0&&T.push(rt.object(i).passthrough()),T.push(...S),T.length===0)s=rt.object({}).passthrough();else if(T.length===1)s=T[0];else{let z=rt.intersection(T[0],T[1]);for(let O=2;O<T.length;O++)z=rt.intersection(z,T[O]);s=z}break}let E=rt.object(i);e.additionalProperties===!1?s=E.strict():typeof e.additionalProperties=="object"?s=E.catchall(Wa(e.additionalProperties,t)):s=E.passthrough();break}case"array":{let i=e.prefixItems,c=e.items;if(i&&Array.isArray(i)){let d=i.map(C=>Wa(C,t)),E=c&&typeof c=="object"&&!Array.isArray(c)?Wa(c,t):void 0;E?s=rt.tuple(d).rest(E):s=rt.tuple(d),typeof e.minItems=="number"&&(s=s.check(rt.minLength(e.minItems))),typeof e.maxItems=="number"&&(s=s.check(rt.maxLength(e.maxItems)))}else if(Array.isArray(c)){let d=c.map(C=>Wa(C,t)),E=e.additionalItems&&typeof e.additionalItems=="object"?Wa(e.additionalItems,t):void 0;E?s=rt.tuple(d).rest(E):s=rt.tuple(d),typeof e.minItems=="number"&&(s=s.check(rt.minLength(e.minItems))),typeof e.maxItems=="number"&&(s=s.check(rt.maxLength(e.maxItems)))}else if(c!==void 0){let d=Wa(c,t),E=rt.array(d);typeof e.minItems=="number"&&(E=E.min(e.minItems)),typeof e.maxItems=="number"&&(E=E.max(e.maxItems)),s=E}else s=rt.array(rt.any());break}default:throw new Error(`Unsupported type: ${a}`)}return e.description&&(s=s.describe(e.description)),e.default!==void 0&&(s=s.default(e.default)),s}function Wa(e,t){if(typeof e=="boolean")return e?rt.any():rt.never();let a=GM(e,t),s=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let E=e.anyOf.map(I=>Wa(I,t)),C=rt.union(E);a=s?rt.intersection(a,C):C}if(e.oneOf&&Array.isArray(e.oneOf)){let E=e.oneOf.map(I=>Wa(I,t)),C=rt.xor(E);a=s?rt.intersection(a,C):C}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)a=s?a:rt.any();else{let E=s?a:Wa(e.allOf[0],t),C=s?0:1;for(let I=C;I<e.allOf.length;I++)E=rt.intersection(E,Wa(e.allOf[I],t));a=E}e.nullable===!0&&t.version==="openapi-3.0"&&(a=rt.nullable(a)),e.readOnly===!0&&(a=rt.readonly(a));let i={},c=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let E of c)E in e&&(i[E]=e[E]);let d=["contentEncoding","contentMediaType","contentSchema"];for(let E of d)E in e&&(i[E]=e[E]);for(let E of Object.keys(e))sK.has(E)||(i[E]=e[E]);return Object.keys(i).length>0&&t.registry.add(a,i),a}function jM(e,t){if(typeof e=="boolean")return e?rt.any():rt.never();let a=lK(e,t?.defaultTarget),s=e.$defs||e.definitions||{},i={version:a,defs:s,refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??Ra};return Wa(e,i)}var rt,sK,PM=L(()=>{"use strict";BE();wI();bE();xE();rt={...wE,...bI,iso:Yg},sK=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"])});var c1={};Co(c1,{bigint:()=>fK,boolean:()=>dK,date:()=>pK,number:()=>AK,string:()=>cK});function cK(e){return Rb(qg,e)}function AK(e){return $b(Wg,e)}function dK(e){return Zb(em,e)}function fK(e){return Vb(tm,e)}function pK(e){return sw(kE,e)}var JM=L(()=>{"use strict";Go();xE()});var Dd={};Co(Dd,{$brand:()=>yC,$input:()=>Ub,$output:()=>xb,NEVER:()=>iQ,TimePrecision:()=>Ob,ZodAny:()=>Dx,ZodArray:()=>wx,ZodBase64:()=>ZI,ZodBase64URL:()=>YI,ZodBigInt:()=>tm,ZodBigIntFormat:()=>XI,ZodBoolean:()=>em,ZodCIDRv4:()=>JI,ZodCIDRv6:()=>KI,ZodCUID:()=>MI,ZodCUID2:()=>LI,ZodCatch:()=>qx,ZodCodec:()=>o0,ZodCustom:()=>$E,ZodCustomStringFormat:()=>Xg,ZodDate:()=>kE,ZodDefault:()=>Px,ZodDiscriminatedUnion:()=>Ux,ZodE164:()=>VI,ZodEmail:()=>kI,ZodEmoji:()=>FI,ZodEnum:()=>Vg,ZodError:()=>nK,ZodExactOptional:()=>Hx,ZodFile:()=>Lx,ZodFirstPartyTypeKind:()=>u1,ZodFunction:()=>o1,ZodGUID:()=>UE,ZodIPv4:()=>jI,ZodIPv6:()=>PI,ZodISODate:()=>UI,ZodISODateTime:()=>xI,ZodISODuration:()=>RI,ZodISOTime:()=>NI,ZodIntersection:()=>Nx,ZodIssueCode:()=>rK,ZodJWT:()=>qI,ZodKSUID:()=>GI,ZodLazy:()=>i1,ZodLiteral:()=>Mx,ZodMAC:()=>Ex,ZodMap:()=>Fx,ZodNaN:()=>Wx,ZodNanoID:()=>zI,ZodNever:()=>Sx,ZodNonOptional:()=>r0,ZodNull:()=>Bx,ZodNullable:()=>jx,ZodNumber:()=>Wg,ZodNumberFormat:()=>jf,ZodObject:()=>zE,ZodOptional:()=>i0,ZodPipe:()=>a0,ZodPrefault:()=>Kx,ZodPromise:()=>a1,ZodReadonly:()=>e1,ZodRealError:()=>jo,ZodRecord:()=>LE,ZodSet:()=>zx,ZodString:()=>qg,ZodStringFormat:()=>ci,ZodSuccess:()=>Vx,ZodSymbol:()=>Cx,ZodTemplateLiteral:()=>n1,ZodTransform:()=>$x,ZodTuple:()=>Tx,ZodType:()=>Wt,ZodULID:()=>$I,ZodURL:()=>OE,ZodUUID:()=>Zu,ZodUndefined:()=>Ix,ZodUnion:()=>ME,ZodUnknown:()=>Qx,ZodVoid:()=>bx,ZodXID:()=>HI,ZodXor:()=>xx,_ZodString:()=>OI,_default:()=>Jx,_function:()=>RM,any:()=>dM,array:()=>FE,base64:()=>Y4,base64url:()=>V4,bigint:()=>sM,boolean:()=>vx,catch:()=>Xx,check:()=>TM,cidrv4:()=>K4,cidrv6:()=>Z4,clone:()=>Bo,codec:()=>xM,coerce:()=>c1,config:()=>pr,core:()=>uA,cuid:()=>M4,cuid2:()=>L4,custom:()=>OM,date:()=>pM,decode:()=>cx,decodeAsync:()=>dx,describe:()=>kM,discriminatedUnion:()=>yM,e164:()=>q4,email:()=>w4,emoji:()=>F4,encode:()=>ux,encodeAsync:()=>Ax,endsWith:()=>Lg,enum:()=>t0,exactOptional:()=>Gx,file:()=>QM,flattenError:()=>fE,float32:()=>iM,float64:()=>rM,formatError:()=>pE,fromJSONSchema:()=>jM,function:()=>RM,getErrorMap:()=>oK,globalRegistry:()=>Ra,gt:()=>Ju,gte:()=>_o,guid:()=>x4,hash:()=>nM,hex:()=>tM,hostname:()=>eM,httpUrl:()=>k4,includes:()=>zg,instanceof:()=>zM,int:()=>TI,int32:()=>aM,int64:()=>lM,intersection:()=>Rx,ipv4:()=>j4,ipv6:()=>J4,iso:()=>Yg,json:()=>LM,jwt:()=>X4,keyof:()=>gM,ksuid:()=>G4,lazy:()=>r1,length:()=>Hf,literal:()=>DM,locales:()=>IE,looseObject:()=>hM,looseRecord:()=>CM,lowercase:()=>kg,lt:()=>Pu,lte:()=>ys,mac:()=>P4,map:()=>IM,maxLength:()=>$f,maxSize:()=>vd,meta:()=>FM,mime:()=>$g,minLength:()=>lA,minSize:()=>Ku,multipleOf:()=>yd,nan:()=>wM,nanoid:()=>z4,nativeEnum:()=>_M,negative:()=>yI,never:()=>WI,nonnegative:()=>CI,nonoptional:()=>Yx,nonpositive:()=>vI,normalize:()=>Hg,null:()=>_x,nullable:()=>RE,nullish:()=>SM,number:()=>yx,object:()=>_d,optional:()=>NE,overwrite:()=>Yl,parse:()=>cA,parseAsync:()=>ox,partialRecord:()=>vM,pipe:()=>TE,positive:()=>EI,prefault:()=>Zx,preprocess:()=>$M,prettifyError:()=>gQ,promise:()=>NM,property:()=>II,readonly:()=>t1,record:()=>kx,refine:()=>s1,regex:()=>Og,regexes:()=>ul,registry:()=>qC,safeDecode:()=>px,safeDecodeAsync:()=>mx,safeEncode:()=>fx,safeEncodeAsync:()=>gx,safeParse:()=>sx,safeParseAsync:()=>lx,set:()=>BM,setErrorMap:()=>aK,size:()=>Lf,slugify:()=>Jg,startsWith:()=>Mg,strictObject:()=>mM,string:()=>Po,stringFormat:()=>W4,stringbool:()=>MM,success:()=>bM,superRefine:()=>l1,symbol:()=>cM,templateLiteral:()=>UM,toJSONSchema:()=>QI,toLowerCase:()=>jg,toUpperCase:()=>Pg,transform:()=>n0,treeifyError:()=>pQ,trim:()=>Gg,tuple:()=>Ox,uint32:()=>oM,uint64:()=>uM,ulid:()=>$4,undefined:()=>AM,union:()=>e0,unknown:()=>Gf,uppercase:()=>Fg,url:()=>O4,util:()=>Le,uuid:()=>U4,uuidv4:()=>N4,uuidv6:()=>R4,uuidv7:()=>T4,void:()=>fM,xid:()=>H4,xor:()=>EM});var A1=L(()=>{"use strict";Go();xE();wI();ax();hx();HM();Go();Qb();Go();SE();PM();wb();bE();bE();JM();pr(KC())});var nm=L(()=>{"use strict";A1();A1()});import gK from"http";function yK(e){if(!e.url)throw new Error("No URL found in callback response.");let t=new URL(e.url,f1);return cA(mK,Object.fromEntries(t.searchParams.entries()))}function KM(e){e.writeHead(400,{"Content-Type":"text/html"}),e.end(EK)}function vK(e){e.writeHead(200,{"Content-Type":"text/html"}),e.end(hK)}function YM(e){return new Promise((t,a)=>{let s=gK.createServer(async(i,c)=>{let d=await wi(()=>yK(i),C=>C);if(d.failure){KM(c),a(d.failure);return}let E=await wi(()=>e(d.data),C=>C);if(E.failure){KM(c),a(E.failure);return}vK(c),s.close(()=>{t()})});s.listen(ZM)})}var ZM,f1,mK,hK,EK,VM=L(()=>{"use strict";Df();nm();ZM=8765,f1=`http://localhost:${ZM}`,mK=_d({code:Po(),state:Po()}),hK=`
|
|
312
|
+
<!DOCTYPE html>
|
|
313
|
+
<html lang="en">
|
|
314
|
+
<head>
|
|
315
|
+
<meta charset="UTF-8">
|
|
316
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
317
|
+
<title>Authentication Successful</title>
|
|
318
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
319
|
+
</head>
|
|
320
|
+
<body class="bg-gray-100 flex items-center justify-center min-h-screen">
|
|
321
|
+
<div class="bg-white p-8 rounded-2xl shadow-lg text-center max-w-md">
|
|
322
|
+
<svg class="w-16 h-16 text-green-500 mx-auto" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
|
323
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
|
|
324
|
+
</svg>
|
|
325
|
+
<h1 class="text-2xl font-semibold mt-4">Authentication Successful</h1>
|
|
326
|
+
<p class="text-gray-600 mt-2">You can now return to your terminal and close this browser.</p>
|
|
327
|
+
</div>
|
|
328
|
+
</body>
|
|
329
|
+
</html>
|
|
330
|
+
`,EK=`
|
|
331
|
+
<!DOCTYPE html>
|
|
332
|
+
<html lang="en">
|
|
333
|
+
<head>
|
|
334
|
+
<meta charset="UTF-8">
|
|
335
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
336
|
+
<title>Authentication Failed</title>
|
|
337
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
338
|
+
</head>
|
|
339
|
+
<body class="bg-gray-100 flex items-center justify-center min-h-screen">
|
|
340
|
+
<div class="bg-white p-8 rounded-2xl shadow-lg text-center max-w-md">
|
|
341
|
+
<svg class="w-16 h-16 text-red-500 mx-auto" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
|
342
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
|
|
343
|
+
</svg>
|
|
344
|
+
<h1 class="text-2xl font-semibold mt-4">Authentication Failed</h1>
|
|
345
|
+
<p class="text-gray-600 mt-2">Something bad happened while trying to authenticate you. Please try again.</p>
|
|
346
|
+
<p class="text-gray-600 mt-2">If the problem persists, <a href="mailto:help@byteslice.co" target="_blank" class="text-amber-500 hover:text-amber-600">please let us know</a>.</p>
|
|
347
|
+
</div>
|
|
348
|
+
</body>
|
|
349
|
+
</html>
|
|
350
|
+
`});var t6=un((HE,p1)=>{"use strict";(function(e,t){if(typeof HE=="object"&&typeof p1=="object")p1.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var a=t();for(var s in a)(typeof HE=="object"?HE:e)[s]=a[s]}})(globalThis,()=>(()=>{var e={3822:function(s,i,c){"use strict";let d,E,C;function I(){return typeof window<"u"}c.r(i),c.d(i,{EmailLinkErrorCode:()=>In,EmailLinkErrorCodeStatus:()=>Qi,ClerkRuntimeError:()=>ye,isEmailLinkError:()=>Jt,Clerk:()=>Ii,isClerkAPIResponseError:()=>oe,EmailLinkError:()=>Ct,isClerkRuntimeError:()=>De,ClerkAPIResponseError:()=>et,isMetamaskError:()=>dt,isUserLockedError:()=>ct,isKnownError:()=>ut}),c(4096);let S=RegExp("bot|spider|crawl|APIs-Google|AdsBot|Googlebot|mediapartners|Google Favicon|FeedFetcher|Google-Read-Aloud|DuplexWeb-Google|googleweblight|bing|yandex|baidu|duckduck|yahoo|ecosia|ia_archiver|facebook|instagram|pinterest|reddit|slack|twitter|whatsapp|youtube|semrush","i");function T(){var _;let l=I()?window?.navigator:null;return!!l&&!((_=l?.userAgent)&&S.test(_))&&!l?.webdriver}function z(){let _=I()?window?.navigator:null;if(!_)return!1;let l=_?.onLine;return _?.connection?.rtt!==0&&_?.connection?.downlink!==0&&l}function O(){return z()&&T()}let j=(_,l,g,B,b)=>{let{notify:w}=b||{},U=_.get(g);U||(U=[],_.set(g,U)),U.push(B),w&&l.has(g)&&B(l.get(g))},q=(_,l,g)=>(_.get(l)||[]).map(B=>B(g)),Y=(_,l,g)=>{let B=_.get(l);B&&(g?B.splice(B.indexOf(g)>>>0,1):_.set(l,[]))},re=()=>{let _=new Map,l=new Map,g=new Map;return{on:(...B)=>j(_,l,...B),prioritizedOn:(...B)=>j(g,l,...B),emit:(B,b)=>{l.set(B,b),q(g,B,b),q(_,B,b)},off:(...B)=>Y(_,...B),prioritizedOff:(...B)=>Y(g,...B),internal:{retrieveListeners:B=>_.get(B)||[]}}},ve="status",be=new Set;function ge(_){return function(l){let g=l??this;if(!g)throw TypeError(`${_.kind||_.name} type guard requires an error object`);return g instanceof _}}var $e,mt,at=class{static kind="ClerkApiError";code;message;longMessage;meta;constructor(_){let l={code:_.code,message:_.message,longMessage:_.long_message,meta:{paramName:_.meta?.param_name,sessionId:_.meta?.session_id,emailAddresses:_.meta?.email_addresses,identifiers:_.meta?.identifiers,zxcvbn:_.meta?.zxcvbn,plan:_.meta?.plan,isPlanUpgradePossible:_.meta?.is_plan_upgrade_possible}};this.code=l.code,this.message=l.message,this.longMessage=l.longMessage,this.meta=l.meta}};ge(at);var Re=class qM extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(l){super(new.target.formatMessage(new.target.kind,l.message,l.code,l.docsUrl),{cause:l.cause}),Object.setPrototypeOf(this,qM.prototype),this.code=l.code,this.docsUrl=l.docsUrl,this.longMessage=l.longMessage,this.cause=l.cause}toString(){return`[${this.name}]
|
|
351
|
+
Message:${this.message}`}static formatMessage(l,g,B,b){let w="Clerk:",U=RegExp(w.replace(" ","\\s*"),"i");return g=g.replace(U,""),g=`${w} ${g.trim()}
|
|
352
|
+
|
|
353
|
+
(code="${B}")
|
|
354
|
+
|
|
355
|
+
`,b&&(g+=`
|
|
356
|
+
|
|
357
|
+
Docs: ${b}`),g}},et=class XM extends Re{static kind="ClerkAPIResponseError";status;clerkTraceId;retryAfter;errors;constructor(l,g){let{data:B,status:b,clerkTraceId:w,retryAfter:U}=g;super({...g,message:l,code:"api_response_error"}),Object.setPrototypeOf(this,XM.prototype),this.status=b,this.clerkTraceId=w,this.retryAfter=U,this.errors=(B||[]).map(H=>new at(H))}toString(){let l=`[${this.name}]
|
|
358
|
+
Message:${this.message}
|
|
359
|
+
Status:${this.status}
|
|
360
|
+
Serialized errors: ${this.errors.map(g=>JSON.stringify(g))}`;return this.clerkTraceId&&(l+=`
|
|
361
|
+
Clerk Trace ID: ${this.clerkTraceId}`),l}static formatMessage(l,g,B,b){return g}};let St=ge(et),$t=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});var Ct=class WM extends Error{code;constructor(l){super(l),this.code=l,this.name="EmailLinkError",Object.setPrototypeOf(this,WM.prototype)}};let In={Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"},Qi={Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"};var ye=class e6 extends Re{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(l,g){super({...g,message:l}),Object.setPrototypeOf(this,e6.prototype)}};let ht=ge(ye);var Ze=class extends ye{code;constructor(_,{code:l}){super(_,{code:l}),this.code=l}};function Ce(_){return["captcha_invalid","captcha_not_enabled","captcha_missing_token"].includes(_.errors[0].code)}function xe(_){let l=_?.status;return!!l&&l>=400&&l<500}function ut(_){return oe(_)||dt(_)||De(_)}function oe(_){return _&&"clerkError"in _}function De(_){return"clerkRuntimeError"in _}function dt(_){return"code"in _&&[4001,32602,32603].includes(_.code)&&"message"in _}function ct(_){return oe(_)&&_.errors?.[0]?.code==="user_locked"}function Jt(_){return _.name==="EmailLinkError"}function Qn(_){for(let[l,g]of Object.entries({isClerkApiResponseError:St,isClerkRuntimeError:ht}))Object.assign(_,{[l]:g});return _}let Ht=[".lcl.dev",".lclstage.dev",".lclclerk.com"],Fn=[".accounts.dev",".accountsstage.dev",".accounts.lclclerk.com"],yt=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],Pn=_=>typeof atob<"u"&&typeof atob=="function"?atob(_):typeof global<"u"&&global.Buffer?new global.Buffer(_,"base64").toString():_,Nt="pk_live_";function er(_){if(!_.endsWith("$"))return!1;let l=_.slice(0,-1);return!l.includes("$")&&l.includes(".")}function Ai(_,l={}){let g;if(!(_=_||"")||!ft(_)){if(l.fatal&&!_)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(l.fatal&&!ft(_))throw Error("Publishable key not valid.");return null}let B=_.startsWith(Nt)?"production":"development";try{g=Pn(_.split("_")[2])}catch{if(l.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!er(g)){if(l.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let b=g.slice(0,-1);return l.proxyUrl?b=l.proxyUrl:B!=="development"&&l.domain&&l.isSatellite&&(b=`clerk.${l.domain}`),{instanceType:B,frontendApi:b}}function ft(_=""){try{if(!(_.startsWith(Nt)||_.startsWith("pk_test_")))return!1;let l=_.split("_");if(l.length!==3)return!1;let g=l[2];return g?er(Pn(g)):!1}catch{return!1}}async function Vt(_,l=globalThis.crypto.subtle){var g;let B=new TextEncoder().encode(_);return(g=String.fromCharCode(...new Uint8Array(await l.digest("sha-1",B))),typeof btoa<"u"&&typeof btoa=="function"?btoa(g):typeof global<"u"&&global.Buffer?new global.Buffer(g).toString("base64"):g).replace(/\+/gi,"-").replace(/\//gi,"_").substring(0,8)}let Sr=(_,l)=>`${_}_${l}`,Ji=new Set,We=_=>{Ji.has(_)||(Ji.add(_),console.warn(_))},zr="__clerk_netlify_cache_bust";function Ki(_){return/^http(s)?:\/\//.test(_||"")}function di(_){return _.startsWith("/")}function Ei(_){return _?_.replace(/([-_][a-z])/g,l=>l.toUpperCase().replace(/-|_/,"")):""}function tr(_){return _?_.replace(/[A-Z]/g,l=>`_${l.toLowerCase()}`):""}let to=_=>{let l=g=>{if(!g)return g;if(Array.isArray(g))return g.map(b=>typeof b=="object"||Array.isArray(b)?l(b):b);let B={...g};for(let b of Object.keys(B)){let w=_(b.toString());w!==b&&(B[w]=B[b],delete B[b]),typeof B[w]=="object"&&(B[w]=l(B[w]))}return B};return l},no=to(tr),Ui=to(Ei);function Wr(_){if(typeof _=="boolean")return _;if(_==null)return!1;if(typeof _=="string"){if(_.toLowerCase()==="true")return!0;if(_.toLowerCase()==="false")return!1}let l=parseInt(_,10);return!isNaN(l)&&l>0}var Zi=class{#n;#r=864e5;constructor(_){this.#n=_}isEventThrottled(_){let l=Date.now(),g=this.#i(_),B=this.#n.getItem(g);return!!B&&!(l-B>this.#r)||(this.#n.setItem(g,l),!1)}#i(_){let{sk:l,pk:g,payload:B,...b}=_,w={...B,...b};return JSON.stringify(Object.keys({...B,...b}).sort().map(U=>w[U]))}},Mr=class{#n="clerk_telemetry_throttler";getItem(_){return this.#r()[_]}setItem(_,l){try{let g=this.#r();g[_]=l,localStorage.setItem(this.#n,JSON.stringify(g))}catch(g){g instanceof DOMException&&(g.name==="QuotaExceededError"||g.name==="NS_ERROR_DOM_QUOTA_REACHED")&&localStorage.length>0&&localStorage.removeItem(this.#n)}}removeItem(_){try{let l=this.#r();delete l[_],localStorage.setItem(this.#n,JSON.stringify(l))}catch{}}#r(){try{let _=localStorage.getItem(this.#n);return _?JSON.parse(_):{}}catch{return{}}}static isSupported(){return typeof window<"u"&&!!window.localStorage}},ha=class{#n=new Map;#r=1e4;getItem(_){return this.#n.size>this.#r?void this.#n.clear():this.#n.get(_)}setItem(_,l){this.#n.set(_,l)}removeItem(_){this.#n.delete(_)}};let ea=new Set(["error","warn","info","debug","trace"]);var br=class{#n;#r;#i={};#s=[];#o=null;constructor(_){this.#n={maxBufferSize:_.maxBufferSize??5,samplingRate:_.samplingRate??1,perEventSampling:_.perEventSampling??!0,disabled:_.disabled??!1,debug:_.debug??!1,endpoint:"https://clerk-telemetry.com"},_.clerkVersion||typeof window<"u"?this.#i.clerkVersion=_.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=_.sdk,this.#i.sdkVersion=_.sdkVersion,this.#i.publishableKey=_.publishableKey??"";let l=Ai(_.publishableKey);l&&(this.#i.instanceType=l.instanceType),_.secretKey&&(this.#i.secretKey=_.secretKey.substring(0,16)),this.#r=new Zi(Mr.isSupported()?new Mr:new ha)}get isEnabled(){return!(this.#i.instanceType!=="development"||this.#n.disabled||typeof process<"u"&&process.env&&Wr(process.env.CLERK_TELEMETRY_DISABLED)||typeof window<"u"&&window?.navigator?.webdriver)}get isDebug(){return this.#n.debug||typeof process<"u"&&process.env&&Wr(process.env.CLERK_TELEMETRY_DEBUG)}record(_){try{let l=this.#f(_.event,_.payload);if(this.#a(l.event,l),!this.#d(l,_.eventSamplingRate))return;this.#s.push({kind:"event",value:l}),this.#e()}catch(l){console.error("[clerk/telemetry] Error recording telemetry event",l)}}recordLog(_){try{if(!this.#A(_))return;let l=typeof _?.level=="string"&&ea.has(_.level),g=typeof _?.message=="string"&&_.message.trim().length>0,B=null,b=_?.timestamp;if(typeof b=="number"||typeof b=="string"){let H=new Date(b);Number.isNaN(H.getTime())||(B=H)}if(!l||!g||B===null){this.isDebug&&typeof console<"u"&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:l,messageIsValid:g,timestampIsValid:B!==null});return}let w=this.#m(),U={sdk:w.name,sdkv:w.version,cv:this.#i.clerkVersion??"",lvl:_.level,msg:_.message,ts:B.toISOString(),pk:this.#i.publishableKey||null,payload:this.#p(_.context)};this.#s.push({kind:"log",value:U}),this.#e()}catch(l){console.error("[clerk/telemetry] Error recording telemetry log entry",l)}}#d(_,l){return this.isEnabled&&!this.isDebug&&this.#c(_,l)}#A(_){return!0}#c(_,l){let g=Math.random();return g<=this.#n.samplingRate&&(this.#n.perEventSampling===!1||l===void 0||g<=l)&&!this.#r.isEventThrottled(_)}#e(){if(typeof window>"u")return void this.#l();if(this.#s.length>=this.#n.maxBufferSize){this.#o&&(typeof cancelIdleCallback<"u"?cancelIdleCallback(Number(this.#o)):clearTimeout(Number(this.#o))),this.#l();return}this.#o||("requestIdleCallback"in window?this.#o=requestIdleCallback(()=>{this.#l(),this.#o=null}):this.#o=setTimeout(()=>{this.#l(),this.#o=null},0))}#l(){let _=[...this.#s];if(this.#s=[],this.#o=null,_.length===0)return;let l=_.filter(B=>B.kind==="event").map(B=>B.value),g=_.filter(B=>B.kind==="log").map(B=>B.value);l.length>0&&fetch(new URL("/v1/event",this.#n.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:l})}).catch(()=>{}),g.length>0&&fetch(new URL("/v1/logs",this.#n.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:g})}).catch(()=>{})}#a(_,l){this.isDebug&&(console.groupCollapsed!==void 0?(console.groupCollapsed("[clerk/telemetry]",_),console.log(l),console.groupEnd()):console.log("[clerk/telemetry]",_,l))}#m(){let _={name:this.#i.sdk,version:this.#i.sdkVersion};if(typeof window<"u"){let l=window;if(l.Clerk){let g=l.Clerk;if(typeof g=="object"&&g!==null&&"constructor"in g&&typeof g.constructor=="function"&&g.constructor.sdkMetadata){let{name:B,version:b}=g.constructor.sdkMetadata;B!==void 0&&(_.name=B),b!==void 0&&(_.version=b)}}}return _}#f(_,l){let g=this.#m();return{event:_,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:g.name,sdkv:g.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:l}}#p(_){if(_==null||typeof _!="object")return null;try{let l=JSON.parse(JSON.stringify(_));return l&&typeof l=="object"&&!Array.isArray(l)?l:null}catch{return null}}};let mr="COMPONENT_MOUNTED",hr=new Set(["SignIn","SignUp"]);function Er(_){return function(l,g,B){return{event:_,eventSamplingRate:_===mr&&hr.has(l)?1:.1,payload:{component:l,appearanceProp:!!g?.appearance,baseTheme:!!g?.appearance?.baseTheme,elements:!!g?.appearance?.elements,variables:!!g?.appearance?.variables,...B}}}}function x(_,l,g){return Er(mr)(_,l,g)}function V(_,l,g){return Er("COMPONENT_OPENED")(_,l,g)}function Qe(_){return typeof _=="string"?_:typeof _=="object"&&_!==null&&"name"in _&&typeof _.name=="string"?_.name:void 0}let He=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;function nt(_,l,g){return typeof _=="function"?_(l):_!==void 0?_:g!==void 0?g:void 0}let st=(..._)=>{},vt=!1,Bt=null,Rt=!1,yi=[];function Yi(_,l,g,B){vt&&(yi.push({level:_,message:l,context:g,source:B,ts:Date.now()}),yi.length>200&&yi.shift())}async function Qo(_){try{if(!vt||Bt)return;let{getDebugLogger:l}=await c.e("785").then(c.bind(c,3656)),g=await l({logLevel:_?.logLevel,telemetryCollector:_?.telemetryCollector});if(g&&(Bt=g)&&yi.length!==0){for(let B of yi){let b={...B.context||{},__preInit:!0,__preInitTs:B.ts};switch(B.level){case"error":Bt.error(B.message,b,B.source);break;case"warn":Bt.warn(B.message,b,B.source);break;case"info":Bt.info(B.message,b,B.source);break;case"debug":Bt.debug(B.message,b,B.source)}}yi.length=0}}catch(l){try{console.debug?.("Debug logger initialization failed",l)}catch{}return}}let Gt={debug(_,l,g){if(!Bt)return void Yi("debug",_,l,g);Bt.debug(_,l,g)},error(_,l,g){if(!Bt)return void Yi("error",_,l,g);Bt.error(_,l,g)},info(_,l,g){if(!Bt)return void Yi("info",_,l,g);Bt.info(_,l,g)},warn(_,l,g){if(!Bt)return void Yi("warn",_,l,g);Bt.warn(_,l,g)}},Ta="clerk:beforeunload",nr=["http:","https:","wails:","chrome-extension:"];function Ko(_){let l=new URL(_,window.location.href);window.dispatchEvent(new CustomEvent(Ta)),window.location.href=l.href}let Al=(_=!1)=>{if(!_)return{track:async g=>{await g()},isUnloading:()=>!1};let l=(()=>{let g=!1,B=()=>g=!0;return{startListening:()=>{window.addEventListener("beforeunload",B),window.addEventListener(Ta,B)},stopListening:()=>{window.removeEventListener("beforeunload",B),window.removeEventListener(Ta,B)},isUnloading:()=>g}})();return{track:async g=>{l.startListening(),await g(),l.stopListening()},isUnloading:l.isUnloading}},Un=_=>({amount:_.amount,amountFormatted:_.amount_formatted,currency:_.currency,currencySymbol:_.currency_symbol}),Zo=_=>{let l={grandTotal:Un(_.grand_total),subtotal:Un(_.subtotal),taxTotal:Un(_.tax_total)};return"past_due"in _&&(l.pastDue=_.past_due?Un(_.past_due):null),"credit"in _&&(l.credit=_.credit?Un(_.credit):null),"total_due_now"in _&&(l.totalDueNow=Un(_.total_due_now)),"total_due_after_free_trial"in _&&(l.totalDueAfterFreeTrial=_.total_due_after_free_trial?Un(_.total_due_after_free_trial):null),l},ir="__clerk_satellite_url",Ea="suffixed_cookies",it="__clerk_synced",Yo=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help",zr,it,ir,Ea];function ii(_){return new URL(window.location.href).searchParams.get(_)||null}function ta(_){let l=new URL(window.location.href);l.searchParams.has(_)&&(l.searchParams.delete(_),window.history.replaceState(window.history.state,"",l))}function Oa(_){let l=new URLSearchParams(window.location.search),g=_||new URLSearchParams;for(let B of Yo){let b=l.get(B);b&&g.set(B,b)}return g}let ql=(_,l)=>!!(_.isSignedIn&&l?.authConfig.singleSessionMode),io=(_,l)=>!l?.organizationSettings.enabled,ro=(_,l)=>!l?.commerceSettings.billing.user.enabled&&!l?.commerceSettings.billing.organization.enabled,dl=(_,l)=>!l?.apiKeysSettings?.user_api_keys_enabled,zn=(_,l)=>!l?.apiKeysSettings?.orgs_api_keys_enabled;function vs(_,l=""){return _.errors&&!!_.errors.find(g=>g.code===l)}let ka=(function({packageName:_,customMessages:l}){let g=_;function B(w,U){if(!U)return`${g}: ${w}`;let H=w;for(let $ of w.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let M=(U[$[1]]||"").toString();H=H.replace(`{{${$[1]}}}`,M)}return`${g}: ${H}`}let b={...$t,...l};return{setPackageName({packageName:w}){return typeof w=="string"&&(g=w),this},setMessages({customMessages:w}){return Object.assign(b,w||{}),this},throwInvalidPublishableKeyError(w){throw Error(B(b.InvalidPublishableKeyErrorMessage,w))},throwInvalidProxyUrl(w){throw Error(B(b.InvalidProxyUrlErrorMessage,w))},throwMissingPublishableKeyError(){throw Error(B(b.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(B(b.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(w){throw Error(B(b.MissingClerkProvider,w))},throw(w){throw Error(B(w))}}})({packageName:"@clerk/clerk-js"});var Xl=c(4763);let fl=RegExp("/{1,}","g"),pl=(_,l={})=>{if(_==null||!_||typeof _!="object")return"";let g=new URLSearchParams;return Object.keys(_).forEach(B=>{let b=l.keyEncoder?l.keyEncoder(B):B,w=_[B];if(Array.isArray(w))w.forEach(U=>U!==void 0&&g.append(b,U||""));else{if(w===void 0)return;typeof w=="object"&&w!==null?g.append(b,JSON.stringify(w)):g.append(b,String(w??""))}}),g.toString()},Lr="http://clerk-dummy",na=["javascript:"],{isDevOrStagingUrl:gl}=(function(){let _=new Map;return{isDevOrStagingUrl:l=>{if(!l)return!1;let g=typeof l=="string"?l:l.hostname,B=_.get(g);return B===void 0&&(B=yt.some(b=>g.endsWith(b)),_.set(g,B)),B}}})(),Ni=new Map;function Sn(_){return _.replace("clerk.","")}function Wn(_,l={}){let{base:g,hashPath:B,hashSearch:b,searchParams:w,hashSearchParams:U,...H}=_,$=new URL(g||"",typeof window<"u"&&window.location?window.location.href:"http://react-native-fake-base-url");if(w instanceof URLSearchParams&&w.forEach((ce,he)=>{ce!=null&&$.searchParams.set(tr(he),ce)}),Object.assign($,H),B||b||U){var M;let ce=new URL(Lr+$.hash.substring(1));for(let[Ie,ze]of(M=ce.pathname,ce.pathname=[M,B||""].filter(qe=>qe).join("/").replace(fl,"/"),Object.entries((qe=>{let Se={};return new URLSearchParams(qe).forEach((Ye,Xe)=>{if(Xe in Se){let xt=Se[Xe];Array.isArray(xt)?xt.push(Ye):Se[Xe]=[xt,Ye]}else Se[Xe]=Ye}),Se})(b||""))))ce.searchParams.append(Ie,ze);if(U)for(let Ie of Array.isArray(U)?U:[U])(Ie instanceof URLSearchParams||typeof Ie=="object")&&new URLSearchParams(Ie).forEach((ze,qe)=>{ze!=null&&ce.searchParams.set(tr(qe),ze)});let he=ce.href.replace(Lr,"");he!=="/"&&($.hash=he)}let{stringify:X,skipOrigin:se}=l;return X?se?$.href.replace($.origin,""):$.href:$}function $r(_){return window.location===void 0&&typeof _=="string"?_:(_=new URL(_.toString(),window.location.origin)).href.replace(_.origin,"")}let Bn=_=>(_||"").replace(/\/+$/,"");function ao(_,l){try{return new URL(_)}catch{return new URL(_,l)}}let Ri=[/\0/,/^\/\//,/[\x00-\x1F]/],Fa=["/oauth/authorize"],za=["/v1/verify","/v1/tickets/accept","/oauth/authorize-with-immediate-redirect","/oauth/end_session"];function N(_){var l;return l=_.replace(/_/g,"/").replace(/-/g,"+"),decodeURIComponent(c.g.atob(l).split("").map(g=>"%"+("00"+g.charCodeAt(0).toString(16)).slice(-2)).join(""))}function R(_){let l=(_||"").split("."),[g,B,b]=l;if(l.length!==3||!g||!B||!b)throw Error("JWT could not be decoded");let w=JSON.parse(N(B)),U={__raw:_};return Object.keys(w).forEach(H=>{U[H]=w[H]}),{encoded:{header:g,payload:B,signature:b},header:JSON.parse(N(g)),claims:U}}function G(){if(!I())return null;try{let _=navigator?.language;return!_||typeof _!="string"||_.trim()===""?null:_}catch{return null}}function J(){return globalThis.document!==void 0}function ie(){if(!(function(){if(!J())return!1;try{return window.self!==window.top}catch{return!0}})())return!1;try{return window.top?.location.href,!1}catch{return!0}}class me{#n=[];#r={metamask:"MetaMask",okx_wallet:"OKX Wallet"};static#i=null;constructor(){typeof window>"u"||(window.addEventListener("eip6963:announceProvider",this.#s),window.dispatchEvent(new Event("eip6963:requestProvider")))}static getInstance(){return me.#i||(me.#i=new me),me.#i}get=l=>{let g=this.#n.find(B=>B.info.name===this.#r[l])?.provider;return g!==void 0?g:window.ethereum};#s=l=>{this.#n.some(g=>g.info.uuid===l.detail.info.uuid)||this.#n.push(l.detail)}}async function we(_){let{provider:l}=_,g=await wr(l);if(!g)return"";let B=await g.request({method:"eth_requestAccounts"});return B&&B[0]||""}async function _e(_){let{identifier:l,nonce:g,provider:B}=_,b=await wr(B);return b?await b.request({method:"personal_sign",params:[`0x${g.split("").map(w=>w.charCodeAt(0).toString(16).padStart(2,"0")).join("")}`,l]}):""}async function Oe(){return await we({provider:"metamask"})}async function ke(){return await we({provider:"coinbase_wallet"})}async function Je(){return await we({provider:"okx_wallet"})}async function Et(){return await we({provider:"base"})}async function jt(_){return await _e({..._,provider:"metamask"})}async function bn(_){return await _e({..._,provider:"coinbase_wallet"})}async function en(_){return await _e({..._,provider:"okx_wallet"})}async function Si(_){return await _e({..._,provider:"base"})}async function wr(_){if(_==="coinbase_wallet")return(await c.e("368").then(c.bind(c,9373)).then(l=>l.createCoinbaseWalletSDK))({preference:{options:"all"}}).getProvider();if(_==="base")try{return(await c.e("692").then(c.bind(c,8692)).then(l=>l.createBaseAccountSDK))({appName:typeof window<"u"&&window.Clerk?.__unstable__environment?.displayConfig?.applicationName||typeof document<"u"&&document.title||"Web3 Application"}).getProvider()}catch{return null}return me.getInstance().get(_)}function Ma(_){let l=["redirectUrl","afterSignInUrl","afterSignUpUrl","after_sign_in_url","after_sign_up_url"],g=Object.keys(_).find(B=>l.includes(B));g&&_[g]&&We(`Clerk: The prop "${g}" is deprecated and should be replaced with the new "fallbackRedirectUrl" or "forceRedirectUrl" props instead. Learn more: https://clerk.com/docs/guides/custom-redirects#redirect-url-props`)}let ia="environment",Wl=JSON.stringify,qu=JSON.parse;class Cs{static _key(l){return`__clerk_${l}`}static isExpired(l){return!!l.exp&&Date.now()>l.exp}static setItem(l,g,B){try{let b={value:g,...B&&{exp:Date.now()+B}};window.localStorage.setItem(this._key(l),Wl(b))}catch{}}static getItem(l,g){try{let B=window.localStorage.getItem(this._key(l));if(!B)return g;let b=qu(B);return b?this.isExpired(b)?(this.removeItem(l),g):b?.value??g:g}catch{return g}}static removeItem(l){try{window.localStorage.removeItem(this._key(l))}catch{}}}let vi="ClerkJS:";function Xu(_=""){throw Error(`${vi} Something went wrong initializing Clerk in development mode.${_&&` ${_}`}`)}function Is(_){throw Error(`${vi} Something went wrong initializing Clerk during the ${_} flow. Please contact support.`)}function ml(_){throw Error(`${vi} You need to start a ${_} flow by calling ${_}.create() first.`)}function eu(_,l){throw Error(`${vi} Strategy "${l}" is not a valid strategy for ${_}.`)}function tu(_){throw Error(`${vi} You need to start a ${_} flow by calling ${_}.create({ identifier: 'your web3 wallet address' }) first`)}function nu(_=""){throw Error(`${vi} Missing '${_}' option`)}function iu(_,l){throw Error(`${vi} Response: ${_||0} not supported yet.
|
|
362
|
+
For more information contact us at ${l}`)}function Wu(_){throw Error(`${vi} Missing publicKey. When calling 'navigator.credentials.${_}()' it is required to pass a publicKey object.`)}let xd={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(_,l)=>l<5,retryImmediately:!1,jitter:!0},ec=async _=>new Promise(l=>setTimeout(l,_)),ru=(_,l)=>l?_*(1+Math.random()):_,Bs=async(_,l={})=>{var g;let B,b=0,{shouldRetry:w,initialDelay:U,maxDelayBetweenRetries:H,factor:$,retryImmediately:M,jitter:X,onBeforeRetry:se}={...xd,...l},ce=(g={initialDelay:U,maxDelayBetweenRetries:H,factor:$,jitter:X},B=0,async()=>{let he;await ec((he=ru(he=g.initialDelay*Math.pow(g.factor,B),g.jitter),Math.min(g.maxDelayBetweenRetries||he,he))),B++});for(;;)try{return await _()}catch(he){if(!w(he,++b))throw he;se&&await se(b),M&&b===1?await ec(ru(100,X)):await ce()}};async function tc(_="",l){let{async:g,defer:B,beforeLoad:b,crossOrigin:w,nonce:U}=l||{};return Bs(()=>new Promise((H,$)=>{_||$(Error("loadScript cannot be called without a src")),document&&document.body||$(Error("loadScript cannot be called when document does not exist"));let M=document.createElement("script");w&&M.setAttribute("crossorigin",w),M.async=g||!1,M.defer=B||!1,M.addEventListener("load",()=>{M.remove(),H(M)}),M.addEventListener("error",X=>{M.remove(),$(X.error??Error(`failed to load script: ${_}`))}),M.src=_,M.nonce=U,b?.(M),document.body.appendChild(M)}),{shouldRetry:(H,$)=>$<=5})}let rr="clerk-captcha",nc="clerk-invisible-captcha";async function ic(_){return window.turnstile||await rc(_).catch(()=>{throw{captchaError:"captcha_script_failed_to_load"}}),window.turnstile}async function rc(_){try{return await tc("https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",{defer:!0,nonce:_})}catch(l){throw console.warn("Clerk: Failed to load the CAPTCHA script from Cloudflare. If you see a CSP error in your browser, please add the necessary CSP rules to your app. Visit https://clerk.com/docs/security/clerk-csp for more information."),l}}function ac(_){try{let l=_.getAttribute("data-cl-theme")||void 0,g=_.getAttribute("data-cl-language")||void 0,B=_.getAttribute("data-cl-size")||void 0;return{theme:l,language:g,size:B}}catch{return{theme:void 0,language:void 0,size:void 0}}}let Vo=async _=>{let l,g,B,b,{siteKey:w,widgetType:U,invisibleSiteKey:H,nonce:$}=_,{modalContainerQuerySelector:M,modalWrapperQuerySelector:X,closeModal:se,openModal:ce}=_,he=await ic($),Ie=[],ze="",qe="",Se=w,Ye=0,Xe=null,xt="invisible";if(M&&X){Xe=U,b=M,xt="modal";try{await ce?.()}catch{throw{captchaError:"modal_component_not_ready"}}let wt=await new Promise(bt=>{if(document.querySelector(M))return bt(document.querySelector(M));let Qt=new MutationObserver(()=>{document.querySelector(M)&&(Qt.disconnect(),bt(document.querySelector(M)))});Qt.observe(document.body,{childList:!0,subtree:!0})});if(wt){let{theme:bt,language:Qt,size:kt}=ac(wt);l=bt,B=Qt,g=kt}}if(!b&&U==="smart"){let wt=document.getElementById(rr);if(wt){xt="smart",Xe="smart",b=`#${rr}`,wt.style.maxHeight="0";let{theme:bt,language:Qt,size:kt}=ac(wt);l=bt,B=Qt,g=kt}else console.error("Cannot initialize Smart CAPTCHA widget because the `clerk-captcha` DOM element was not found; falling back to Invisible CAPTCHA widget. If you are using a custom flow, visit https://clerk.com/docs/guides/development/custom-flows/bot-sign-up-protection for instructions")}if(!b){xt="invisible",Se=H,Xe="invisible",b=`.${nc}`;let wt=document.createElement("div");wt.classList.add(nc),wt.style.display="none",document.body.appendChild(wt)}let qt=async()=>new Promise((wt,bt)=>{try{let Qt=he.render(b,{sitekey:Se,appearance:"interaction-only",theme:l||"auto",size:g||"normal",language:B||"auto",action:_.action,retry:"never","refresh-expired":"auto",callback:function(kt){se?.(),wt([kt,Qt])},"before-interactive-callback":()=>{if(X){let kt=document.querySelector(X);kt?.style.setProperty("visibility","visible"),kt?.style.setProperty("pointer-events","all")}else{let kt=document.getElementById(rr);kt&&(kt.style.maxHeight="unset",kt.style.minHeight=g==="compact"?"140px":"68px",kt.style.marginBottom="1.5rem")}},"error-callback":function(kt){var sn;if(Ie.push(kt),Ye<2&&(sn=kt.toString(),["crashed","undefined_error","102","103","104","106","110600","300","600"].find(Hn=>sn.startsWith(Hn))))return void setTimeout(()=>{he.reset(Qt),Ye++},250);bt([Ie.join(","),Qt])},"unsupported-callback":function(){return bt(["This browser is not supported by the CAPTCHA.",Qt]),!0}})}catch(Qt){bt([Qt,void 0])}});try{[ze,qe]=await qt(),he.remove(qe)}catch([wt,bt]){throw bt&&he.remove(bt),{captchaError:wt}}finally{if(xt==="modal"&&se?.(),xt==="invisible"){let wt=document.querySelector(`.${nc}`);wt&&document.body.removeChild(wt)}if(xt==="smart"){let wt=document.getElementById(rr);wt&&(wt.style.maxHeight="0",wt.style.minHeight="unset",wt.style.marginBottom="unset")}}return{captchaToken:ze,captchaWidgetType:Xe}},qo=_=>Vo(_),au=_=>{let l=_.__unstable__environment,g=l?l.displayConfig.captchaProvider:"turnstile",B=_.__internal_getOption?.("nonce");return{captchaSiteKey:l?l.displayConfig.captchaPublicKey:null,captchaWidgetType:l?l.displayConfig.captchaWidgetType:null,captchaProvider:g,captchaPublicKeyInvisible:l?l.displayConfig.captchaPublicKeyInvisible:null,canUseCaptcha:l?l.userSettings.signUp.captcha_enabled&&_.isStandardBrowser:null,nonce:B||void 0}};class _s{clerk;constructor(l){this.clerk=l}async invisible(l){let{captchaSiteKey:g,canUseCaptcha:B,captchaPublicKeyInvisible:b,nonce:w}=au(this.clerk);return B&&g&&b?{...await qo({action:l?.action,captchaProvider:"turnstile",invisibleSiteKey:b,nonce:l?.nonce||w||void 0,siteKey:b,widgetType:"invisible"}).catch(U=>U.captchaError?{captchaError:U.captchaError}:{captchaError:U?.message||U||"unexpected_captcha_error"}),captchaAction:l?.action}:{captchaError:"captcha_unavailable",captchaAction:l?.action}}async managedOrInvisible(l){let{captchaSiteKey:g,canUseCaptcha:B,captchaWidgetType:b,captchaProvider:w,captchaPublicKeyInvisible:U,nonce:H}=au(this.clerk);if(B&&g&&U){let $=await qo({captchaProvider:w,invisibleSiteKey:U,nonce:H||void 0,siteKey:g,widgetType:b,...l}).catch(M=>M.captchaError?{captchaError:M.captchaError}:l?.action==="verify"?{captchaError:M?.message||M||"unexpected_captcha_error"}:void 0);return l?.action==="verify"?{...$,captchaAction:"verify"}:$}return l?.action==="verify"?{captchaError:"captcha_unavailable",captchaAction:l?.action}:{}}async managedInModal(l){return this.managedOrInvisible({modalWrapperQuerySelector:"#cl-modal-captcha-wrapper",modalContainerQuerySelector:"#cl-modal-captcha-container",openModal:()=>this.clerk.__internal_openBlankCaptchaModal(),closeModal:()=>this.clerk.__internal_closeBlankCaptchaModal(),action:l?.action})}}class ra{client;CaptchaChallengeImpl;static instance;inflightException=null;captchaRetryCount=0;MAX_RETRY_ATTEMPTS=3;static getInstance(){return ra.instance||(ra.instance=new ra(Nn,_s)),ra.instance}constructor(l,g){this.client=l,this.CaptchaChallengeImpl=g}async execute(l,g){if(this.captchaAttemptsExceeded())throw new ye("Security verification failed. Please try again by refreshing the page, clearing your browser cookies, or using a different web browser.",{code:"captcha_client_attempts_exceeded"});try{return this.inflightException&&await this.inflightException,await g()}catch(B){let b;if(!oe(B)||De(B)&&B.code==="network_error"||B.errors[0]?.code!=="requires_captcha")throw B;if(this.inflightException)return await this.inflightException,await g();this.inflightException=new Promise(w=>b=w);try{let w=await this.managedChallenge(l);w?.captchaError!=="modal_component_not_ready"&&(await this.client.getOrCreateInstance().__internal_sendCaptchaToken(w),this.captchaRetryCount=0)}catch(w){throw this.captchaRetryCount++,w}finally{b(),this.inflightException=null}return await g()}}managedChallenge(l){return new this.CaptchaChallengeImpl(l).managedInModal({action:"verify"})}captchaAttemptsExceeded=()=>this.captchaRetryCount>=this.MAX_RETRY_ATTEMPTS}class fe{static clerk;id;pathRoot="";static get fapiClient(){return fe.clerk.getFapiClient()}async reload(l){let{rotatingTokenNonce:g}=l||{};return this._baseGet({forceUpdateClient:!0,rotatingTokenNonce:g})}isNew(){return!this.id}static async _fetch(l,g={}){return ra.getInstance().execute(this.clerk,()=>this._baseFetch(l,g))}static async _baseFetch(l,g={}){let B;fe.fapiClient||(function(){throw Error(`${vi} Missing FAPI client in resources.`)})();let{fetchMaxTries:b}=g;try{B=await fe.fapiClient.request(l,{fetchMaxTries:b})}catch(M){if(this.shouldRethrowOfflineNetworkErrors())throw new ye(M?.message||M,{code:"network_error"});if(!O())return Gt.warn("Network request failed while offline, returning null",{method:l.method,path:l.path},"baseResource"),null;throw M}let{payload:w,status:U,statusText:H,headers:$}=B;if($){let M=$.get("x-country");this.clerk.__internal_setCountry(M?M.toLowerCase():null)}if((l.method!=="GET"||g.forceUpdateClient)&&this._updateClient(w),U>=200&&U<=299)return w;if(U>=400){let M=w?.errors,X=M?.[0]?.long_message,se=M?.[0]?.code;U===401&&se!=="requires_captcha"&&await fe.clerk.handleUnauthenticated(),(function(he,Ie){var ze;if(!Ie||!Ie[0])return;let qe=Ie[0],Se=qe.long_message;if(qe.code==="origin_invalid"&&((ze=fe.clerk.publishableKey).startsWith("live_")||ze.startsWith("pk_live_"))){let Ye=fe.clerk.frontendApi.replace("clerk.","");throw new et(`Clerk: Production Keys are only allowed for domain "${Ye}".
|
|
363
|
+
API Error: ${Se}`,{data:Ie,status:he})}})(U,M);let ce={data:M,status:U};if(U===429&&$){let he=$.get("retry-after");if(he){let Ie=parseInt(he,10);isNaN(Ie)||(ce.retryAfter=Ie)}}throw new et(X||H,ce)}return null}static _updateClient(l){if(!l)return;let g=l.client||l.meta?.client;g&&fe.clerk&&fe.clerk.updateClient(Nn.getOrCreateInstance().fromJSON(g))}path(l){let g=this.pathRoot;if(this.isNew())return g;let B=g.replace(/[^/]$/,"$&/")+encodeURIComponent(this.id);return l?B.replace(/[^/]$/,"$&/")+encodeURIComponent(l):B}withDefault(l,g){return l??g}async _baseGet(l={}){let g=await fe._fetch({method:"GET",path:this.path(),rotatingTokenNonce:l.rotatingTokenNonce},l);return this.fromJSON(g?.response||g)}async _baseMutate(l){let{action:g,body:B,method:b,path:w}=l,U=await fe._fetch({method:b,path:w||this.path(g),body:B});return this.fromJSON(U?.response||U)}async _baseMutateBypass(l){let{action:g,body:B,method:b,path:w}=l,U=await fe._baseFetch({method:b,path:w||this.path(g),body:B});return this.fromJSON(U?.response||U)}async _basePost(l={}){return this._baseMutate({...l,method:"POST"})}async _basePostBypass(l={}){return this._baseMutateBypass({...l,method:"POST"})}async _basePut(l={}){return this._baseMutate({...l,method:"PUT"})}async _basePatch(l={}){return this._baseMutate({...l,method:"PATCH"})}async _baseDelete(l={}){await this._baseMutate({...l,method:"DELETE"})}static shouldRethrowOfflineNetworkErrors(){return fe.clerk?.__internal_getOption?.("experimental")?.rethrowOfflineNetworkErrors||!1}}let La={enabled:!1,first_factors:[],name:"phone_number",required:!1,second_factors:[],used_for_first_factor:!1,used_for_second_factor:!1,verifications:[],verify_at_sign_up:!1};class Ud extends fe{id=void 0;actions={create_organization:!1,delete_self:!1};attributes={email_address:{enabled:!0,first_factors:["email_code"],name:"email_address",required:!0,second_factors:[],used_for_first_factor:!0,used_for_second_factor:!1,verifications:["email_code"],verify_at_sign_up:!0},phone_number:{...La,name:"phone_number"},username:{...La,name:"username"},web3_wallet:{...La,name:"web3_wallet"},first_name:{...La,name:"first_name"},last_name:{...La,name:"last_name"},password:{enabled:!0,first_factors:[],name:"password",required:!0,second_factors:[],used_for_first_factor:!1,used_for_second_factor:!1,verifications:[],verify_at_sign_up:!1},authenticator_app:{...La,name:"authenticator_app"},backup_code:{...La,name:"backup_code"},passkey:{...La,name:"passkey"}};enterpriseSSO={enabled:!1};passkeySettings={allow_autofill:!1,show_sign_in_button:!1};passwordSettings={};saml={enabled:!1};signIn={second_factor:{required:!1,enabled:!1}};signUp={allowlist_only:!1,captcha_enabled:!1,legal_consent_enabled:!1,mode:"public",progressive:!0};social={};usernameSettings={};get authenticatableSocialStrategies(){return this.social?Object.entries(this.social).filter(([,l])=>l.enabled&&l.authenticatable).map(([,l])=>l.strategy).sort():[]}get enabledFirstFactorIdentifiers(){return this.attributes?Object.entries(this.attributes).filter(([l,g])=>g.used_for_first_factor&&!l.startsWith("web3")).map(([l])=>l):[]}get socialProviderStrategies(){return this.social?Object.entries(this.social).filter(([,l])=>l.enabled).map(([,l])=>l.strategy).sort():[]}get web3FirstFactors(){return this.attributes?Object.entries(this.attributes).filter(([l,g])=>g.used_for_first_factor&&l.startsWith("web3")).map(([,l])=>l.first_factors).flat():[]}get alternativePhoneCodeChannels(){return this.attributes?Object.entries(this.attributes).filter(([l,g])=>g.used_for_first_factor&&l==="phone_number").map(([,l])=>l?.channels?.filter(g=>g!=="sms")||[]).flat():[]}constructor(l=null){super(),this.fromJSON(l)}get instanceIsPasswordBased(){return!!(this.attributes?.password?.enabled&&this.attributes.password?.required)}get hasValidAuthFactor(){return!!(this.attributes?.email_address?.enabled||this.attributes?.phone_number?.enabled||this.attributes.password?.required&&this.attributes.username?.required)}fromJSON(l){return l&&(this.attributes=this.withDefault(l.attributes?Object.fromEntries(Object.entries(l.attributes).map(g=>[g[0],{...g[1],name:g[0]}])):null,this.attributes),this.actions=this.withDefault(l.actions,this.actions),this.enterpriseSSO=this.withDefault(l.enterprise_sso,this.enterpriseSSO),this.passkeySettings=this.withDefault(l.passkey_settings,this.passkeySettings),this.passwordSettings=l.password_settings?{...l.password_settings,min_length:Math.max(l.password_settings?.min_length??8,8),max_length:l.password_settings?.max_length===0?72:Math.min(l.password_settings?.max_length??72,72)}:this.passwordSettings,this.saml=this.withDefault(l.saml,this.saml),this.signIn=this.withDefault(l.sign_in,this.signIn),this.signUp=this.withDefault(l.sign_up,this.signUp),this.social=this.withDefault(l.social,this.social),this.usernameSettings=l.username_settings?{...l.username_settings,min_length:Math.max(l.username_settings?.min_length??4,4),max_length:Math.min(l.username_settings?.max_length??64,64)}:this.usernameSettings),this}__internal_toSnapshot(){return{actions:this.actions,attributes:this.attributes,passkey_settings:this.passkeySettings,password_settings:this.passwordSettings,saml:this.saml,sign_in:this.signIn,sign_up:this.signUp,social:this.social}}}class mA extends fe{billing={stripePublishableKey:null,organization:{enabled:!1,hasPaidPlans:!1},user:{enabled:!1,hasPaidPlans:!1}};constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.billing.stripePublishableKey=l.billing.stripe_publishable_key,this.billing.organization.enabled=l.billing.organization.enabled,this.billing.organization.hasPaidPlans=l.billing.organization.has_paid_plans,this.billing.user.enabled=l.billing.user.enabled,this.billing.user.hasPaidPlans=l.billing.user.has_paid_plans),this}__internal_toSnapshot(){return{billing:{stripe_publishable_key:this.billing.stripePublishableKey,organization:{enabled:this.billing.organization.enabled,has_paid_plans:this.billing.organization.hasPaidPlans},user:{enabled:this.billing.user.enabled,has_paid_plans:this.billing.user.hasPaidPlans}}}}}function Ve(_){let l=new Date(_||new Date);return l instanceof Date&&!isNaN(l.getTime())?l:new Date}class Ds extends fe{claimedAt=null;reverification=!1;singleSessionMode=!1;preferredChannels=null;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.claimedAt=this.withDefault(l.claimed_at?Ve(l.claimed_at):null,this.claimedAt),this.reverification=this.withDefault(l.reverification,this.reverification),this.singleSessionMode=this.withDefault(l.single_session_mode,this.singleSessionMode),this.preferredChannels=this.withDefault(l.preferred_channels,this.preferredChannels)),this}__internal_toSnapshot(){return{claimed_at:this.claimedAt?this.claimedAt.getTime():null,id:this.id??"",object:"auth_config",reverification:this.reverification,single_session_mode:this.singleSessionMode}}}let Xo={build:(_,l,g)=>[_,l,g].filter(Boolean).join("-"),parse:(_,l,g)=>{let B=Xo.extractTemplate(_,l,g);return{organizationId:g,sessionId:l,template:B}},extractTemplate:(_,l,g)=>{if(_===l||g&&_===`${l}-${g}`)return;let B=_.slice(l.length+1);return g&&B.endsWith(`-${g}`)&&(B=B.slice(0,-(g.length+1))),B||void 0}},Kt="clerk",Te=10,aa={broadcast:!0};class Qs{prefix;data;static fromKey(l){let[g,B,b=""]=l.split("::");return new Qs(g,{audience:b,tokenId:B})}constructor(l,g){this.prefix=l,this.data=g,this.prefix=l,this.data=g}toKey(){let{tokenId:l,audience:g}=this.data;return[this.prefix,l,g||""].join("::")}}let on=((_=Kt)=>{let l=new Map,g=Math.random().toString(36).slice(2),B=null;return{clear:()=>{l.forEach(b=>{b.timeoutId!==void 0&&clearTimeout(b.timeoutId)}),l.clear()},close:()=>{B&&(B.close(),B=null)},get:(b,w=Te)=>{let U=new Qs(_,b),H=l.get(U.toKey());if(!H)return;let $=Math.floor(Date.now()/1e3)-H.createdAt;if(H.expiresIn-$<(w||1)+5){H.timeoutId!==void 0&&clearTimeout(H.timeoutId),l.delete(U.toKey());return}return H.entry},set:b=>{((w,U=aa)=>{let H=new Qs(_,{audience:w.audience,tokenId:w.tokenId}).toKey(),$=Math.floor(Date.now()/1e3),M={createdAt:w.createdAt??$,entry:w,expiresIn:void 0},X=()=>{let se=l.get(H);se===M&&(se.timeoutId!==void 0&&clearTimeout(se.timeoutId),l.delete(H))};w.tokenResolver.then(se=>{let ce=se.jwt?.claims;if(!ce||typeof ce.exp!="number"||typeof ce.iat!="number")return X();let he=ce.exp-ce.iat;M.expiresIn=he;let Ie=setTimeout(X,1e3*he);M.timeoutId=Ie,typeof Ie.unref=="function"&&Ie.unref();let ze=B;if(ze&&U.broadcast){let qe=se.getRawString();if(qe&&ce.sid){let Se=ce.sid,Ye=ce.org_id||ce.o?.id,Xe=Xo.extractTemplate(w.tokenId,Se,Ye),xt=Xo.build(Se,Xe,Ye);if(w.tokenId===xt){let qt=`bc_${Date.now()}_${Math.random().toString(36).substring(2,11)}`;Gt.info("Broadcasting token update to other tabs",{organizationId:Ye,sessionId:Se,tabId:g,template:Xe,tokenId:w.tokenId,traceId:qt},"tokenCache");let wt={organizationId:Ye,sessionId:Se,template:Xe,tokenId:w.tokenId,tokenRaw:qe,traceId:qt};ze.postMessage(wt)}}}}).catch(()=>{X()}),l.set(H,M)})(b,aa)},size:()=>l.size}})();class Nn extends fe{static instance;pathRoot="/client";sessions=[];signUp=new Rn;signIn=new hn;lastActiveSessionId=null;captchaBypass=!1;cookieExpiresAt=null;lastAuthenticationStrategy=null;createdAt=null;updatedAt=null;static getOrCreateInstance(l=null){return Nn.instance||(Nn.instance=new Nn(l)),Nn.instance}static clearInstance(){Nn.instance=null}static isClientResource(l){return!!l&&l instanceof Nn}constructor(l=null){super(),this.fromJSON(l)}get signUpAttempt(){return this.signUp}get signInAttempt(){return this.signIn}get activeSessions(){return this.sessions.filter(l=>l.status==="active")}get signedInSessions(){return this.sessions.filter(l=>l.status==="active"||l.status==="pending")}create(){return this._basePut()}fetch({fetchMaxTries:l}={}){return this._baseGet({fetchMaxTries:l})}async destroy(){return this._baseDelete({path:"/client"}).then(()=>{on.clear(),this.id="",this.sessions=[],this.signUp=new Rn(null),this.signIn=new hn(null),this.lastActiveSessionId=null,this.lastAuthenticationStrategy=null,this.cookieExpiresAt=null,this.createdAt=null,this.updatedAt=null})}removeSessions(){return this._baseDelete({path:this.path()+"/sessions"}).then(l=>(on.clear(),l))}clearCache(){return this.sessions.forEach(l=>l.clearCache())}isEligibleForTouch(){return!!this.cookieExpiresAt&&this.cookieExpiresAt.getTime()-Date.now()<=6912e5}buildTouchUrl({redirectUrl:l}){return fe.fapiClient.buildUrl({method:"GET",path:"/client/touch",pathPrefix:"v1",search:{redirect_url:l.toString()}}).toString()}__internal_sendCaptchaToken(l){return this._basePostBypass({body:l,path:this.path()+"/verify"})}fromJSON(l){return l&&(this.id=l.id,this.sessions=(l.sessions||[]).map(g=>new as(g)),this.signUp=new Rn(l.sign_up),this.signIn=new hn(l.sign_in),this.lastActiveSessionId=l.last_active_session_id,this.captchaBypass=l.captcha_bypass||!1,this.cookieExpiresAt=l.cookie_expires_at?Ve(l.cookie_expires_at):null,this.lastAuthenticationStrategy=l.last_authentication_strategy||null,this.createdAt=Ve(l.created_at||void 0),this.updatedAt=Ve(l.updated_at||void 0)),this}__internal_toSnapshot(){return{object:"client",id:this.id||"",sessions:this.sessions.map(l=>l.__internal_toSnapshot()),sign_up:this.signUp.__internal_toSnapshot(),sign_in:this.signIn.__internal_toSnapshot(),last_active_session_id:this.lastActiveSessionId,captcha_bypass:this.captchaBypass,cookie_expires_at:this.cookieExpiresAt?this.cookieExpiresAt.getTime():null,last_authentication_strategy:this.lastAuthenticationStrategy??null,created_at:this.createdAt?.getTime()??null,updated_at:this.updatedAt?.getTime()??null}}path(){return this.pathRoot}}function ar(_){let{pageSize:l,initialPage:g,...B}=_||{},b=l??10;return new URLSearchParams({...Object.entries(B).reduce((w,[U,H])=>(H!==void 0&&(w[U]=H),w),{}),limit:b+"",offset:((g??1)-1)*b+""})}class bi{static#n="/billing";static path(l,g){let{orgId:B}=g||{};return`${B?`/organizations/${B}`:"/me"}${bi.#n}${l}`}getPlans=async l=>{let{for:g,...B}=l||{},b={...B,payer_type:g==="organization"?"org":"user"};return await fe._fetch({path:`${bi.#n}/plans`,method:"GET",search:ar(b)}).then(w=>{let{data:U,total_count:H}=w;return{total_count:H,data:U.map($=>new El($))}})};getPlan=async l=>new El(await fe._fetch({path:`${bi.#n}/plans/${l.id}`,method:"GET"}));getSubscription=async l=>await fe._fetch({path:bi.path("/subscription",{orgId:l.orgId}),method:"GET"}).then(g=>new yl(g?.response));getStatements=async l=>{let{orgId:g,...B}=l;return await fe._fetch({path:bi.path("/statements",{orgId:g}),method:"GET",search:ar(B)}).then(b=>{let{data:w,total_count:U}=b?.response;return{total_count:U,data:w.map(H=>new hl(H))}})};getStatement=async l=>new hl((await fe._fetch({path:bi.path(`/statements/${l.id}`,{orgId:l.orgId}),method:"GET"}))?.response);getPaymentAttempts=async l=>{let{orgId:g,...B}=l;return await fe._fetch({path:bi.path("/payment_attempts",{orgId:g}),method:"GET",search:ar(B)}).then(b=>{let{data:w,total_count:U}=b;return{total_count:U,data:w.map(H=>new or(H))}})};getPaymentAttempt=async l=>new or(await fe._fetch({path:bi.path(`/payment_attempts/${l.id}`,{orgId:l.orgId}),method:"GET"}));startCheckout=async l=>{let{orgId:g,...B}=l;return new qf((await fe._fetch({path:bi.path("/checkouts",{orgId:g}),method:"POST",body:B}))?.response)}}class hA extends fe{id;createdAt;updatedAt;imageUrl;userId=null;email;firstName;lastName;organizationId=null;organizationName;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,l.created_at&&(this.createdAt=Ve(l.created_at)),l.updated_at&&(this.updatedAt=Ve(l.updated_at)),this.imageUrl=l.image_url,this.userId=l.user_id,this.email=l.email,this.firstName=l.first_name,this.lastName=l.last_name,this.organizationId=l.organization_id,this.organizationName=l.organization_name),this}}class qf extends fe{id;externalClientSecret;externalGatewayId;paymentMethod;plan;planPeriod;planPeriodStart;status;totals;isImmediatePlanChange;freeTrialEndsAt;payer;needsPaymentMethod;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.externalClientSecret=l.external_client_secret,this.externalGatewayId=l.external_gateway_id,this.paymentMethod=l.payment_method?new oo(l.payment_method):void 0,this.plan=new El(l.plan),this.planPeriod=l.plan_period,this.planPeriodStart=l.plan_period_start,this.status=l.status,this.totals=Zo(l.totals),this.isImmediatePlanChange=l.is_immediate_plan_change,l.free_trial_ends_at&&(this.freeTrialEndsAt=Ve(l.free_trial_ends_at)),this.payer=new hA(l.payer),this.needsPaymentMethod=l.needs_payment_method),this}confirm=l=>Bs(()=>this._basePatch({path:bi.path(`/checkouts/${this.id}/confirm`,{orgId:this.payer.organizationId}),body:l}),{factor:1.1,maxDelayBetweenRetries:2e3,initialDelay:2e3,jitter:!1,shouldRetry(g,B){if(!oe(g)||B>=4)return!1;let b=g?.status,w=b===409&&g.errors?.[0]?.code==="checkout_already_in_progress";return b>=500||w}})}class Wo extends fe{id;name;description=null;slug;avatarUrl=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.description=l.description,this.slug=l.slug,this.avatarUrl=l.avatar_url),this}}class hl extends fe{id;status;timestamp;totals;groups;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.timestamp=Ve(l.timestamp),this.totals=Zo(l.totals),this.groups=l.groups.map(g=>new EA(g))),this}}class EA{id;timestamp;items;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.timestamp=Ve(l.timestamp),this.items=l.items.map(g=>new or(g))),this}}class or extends fe{id;amount;failedAt=null;paidAt=null;updatedAt;paymentMethod=null;subscriptionItem;chargeType;status;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.amount=Un(l.amount),this.paidAt=l.paid_at?Ve(l.paid_at):null,this.failedAt=l.failed_at?Ve(l.failed_at):null,this.updatedAt=Ve(l.updated_at),this.paymentMethod=l.payment_method?new oo(l.payment_method):null,this.subscriptionItem=new sc(l.subscription_item),this.chargeType=l.charge_type,this.status=l.status),this}}let mn="/payment_methods",oc=async _=>{let{orgId:l,...g}=_;return new $a((await fe._fetch({path:bi.path(`${mn}/initialize`,{orgId:l}),method:"POST",body:g}))?.response)},ou=async _=>{let{orgId:l,...g}=_;return new oo((await fe._fetch({path:bi.path(mn,{orgId:l}),method:"POST",body:g}))?.response)},ei=async _=>{let{orgId:l,...g}=_??{};return await fe._fetch({path:bi.path(mn,{orgId:l}),method:"GET",search:ar(g)}).then(B=>{let{data:b,total_count:w}=B?.response;return{total_count:w,data:b.map(U=>new oo(U))}})};class oo extends fe{id;last4=null;paymentType;cardType=null;isDefault;isRemovable;status;walletType;expiryYear;expiryMonth;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.last4=l.last4,this.paymentType=l.payment_type,this.cardType=l.card_type,this.isDefault=l.is_default,this.isRemovable=l.is_removable,this.status=l.status,this.walletType=l.wallet_type,this.expiryYear=l.expiry_year,this.expiryMonth=l.expiry_month,this.createdAt=l.created_at==null?l.created_at:Ve(l.created_at),this.updatedAt=l.updated_at==null?l.updated_at:Ve(l.updated_at)),this}async remove(l){let{orgId:g}=l??{};return new Ha((await fe._fetch({path:bi.path(`/payment_methods/${this.id}`,{orgId:g}),method:"DELETE"}))?.response)}async makeDefault(l){let{orgId:g}=l??{};return await fe._fetch({path:bi.path("/payers/default_payment_method",{orgId:g}),method:"PUT",body:{payment_method_id:this.id}}),null}}class $a extends fe{externalClientSecret;externalGatewayId;paymentMethodOrder;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.externalClientSecret=l.external_client_secret,this.externalGatewayId=l.external_gateway_id,this.paymentMethodOrder=l.payment_method_order??["card"]),this}}class El extends fe{id;name;fee;annualFee=null;annualMonthlyFee=null;description=null;isDefault;isRecurring;hasBaseFee;forPayerType;publiclyVisible;slug;avatarUrl=null;features;freeTrialDays;freeTrialEnabled;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.fee=Un(l.fee),this.annualFee=l.annual_fee?Un(l.annual_fee):null,this.annualMonthlyFee=l.annual_monthly_fee?Un(l.annual_monthly_fee):null,this.description=l.description,this.isDefault=l.is_default,this.isRecurring=l.is_recurring,this.hasBaseFee=l.has_base_fee,this.forPayerType=l.for_payer_type,this.publiclyVisible=l.publicly_visible,this.slug=l.slug,this.avatarUrl=l.avatar_url,this.freeTrialDays=this.withDefault(l.free_trial_days,null),this.freeTrialEnabled=this.withDefault(l.free_trial_enabled,!1),this.features=(l.features||[]).map(g=>new Wo(g))),this}}class yl extends fe{id;status;activeAt;createdAt;pastDueAt;updatedAt;nextPayment;subscriptionItems;eligibleForFreeTrial;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.createdAt=Ve(l.created_at),this.updatedAt=l.updated_at?Ve(l.updated_at):null,this.activeAt=Ve(l.active_at),this.pastDueAt=l.past_due_at?Ve(l.past_due_at):null,l.next_payment&&(this.nextPayment={amount:Un(l.next_payment.amount),date:Ve(l.next_payment.date)}),this.subscriptionItems=(l.subscription_items||[]).map(g=>new sc(g)),this.eligibleForFreeTrial=this.withDefault(l.eligible_for_free_trial,!1)),this}}class sc extends fe{id;plan;planPeriod;status;createdAt;periodStart;periodEnd;canceledAt;pastDueAt;amount;credit;isFreeTrial;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.plan=new El(l.plan),this.planPeriod=l.plan_period,this.status=l.status,this.createdAt=Ve(l.created_at),this.pastDueAt=l.past_due_at?Ve(l.past_due_at):null,this.periodStart=Ve(l.period_start),this.periodEnd=l.period_end?Ve(l.period_end):null,this.canceledAt=l.canceled_at?Ve(l.canceled_at):null,this.amount=l.amount?Un(l.amount):void 0,this.credit=l.credit&&l.credit.amount?{amount:Un(l.credit.amount)}:void 0,this.isFreeTrial=this.withDefault(l.is_free_trial,!1)),this}async cancel(l){let{orgId:g}=l;return new Ha((await fe._fetch({path:bi.path(`/subscription_items/${this.id}`,{orgId:g}),method:"DELETE"}))?.response)}}class Ha{object="";id;slug;deleted=!1;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.object=l.object,this.id=l.id,this.slug=l.slug,this.deleted=l.deleted),this}}class su extends fe{afterCreateOrganizationUrl="";afterJoinWaitlistUrl="";afterLeaveOrganizationUrl="";afterSignInUrl="";afterSignOutAllUrl="";afterSignOutOneUrl="";afterSignOutUrl="";afterSignUpUrl="";afterSwitchSessionUrl="";applicationName="";backendHost="";branded=!1;captchaHeartbeat=!1;captchaHeartbeatIntervalMs;captchaOauthBypass=["oauth_google","oauth_microsoft","oauth_apple"];captchaProvider="turnstile";captchaPublicKey=null;captchaPublicKeyInvisible=null;captchaWidgetType=null;clerkJSVersion;createOrganizationUrl="";experimental__forceOauthFirst;faviconImageUrl="";googleOneTapClientId;homeUrl="";id="";instanceEnvironmentType="";logoImageUrl="";organizationProfileUrl="";preferredSignInStrategy="password";privacyPolicyUrl="";showDevModeWarning=!1;signInUrl="";signUpUrl="";supportEmail="";termsUrl="";theme={};userProfileUrl="";waitlistUrl="";constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.afterCreateOrganizationUrl=this.withDefault(l.after_create_organization_url,this.afterCreateOrganizationUrl),this.afterJoinWaitlistUrl=this.withDefault(l.after_join_waitlist_url,this.afterJoinWaitlistUrl),this.afterLeaveOrganizationUrl=this.withDefault(l.after_leave_organization_url,this.afterLeaveOrganizationUrl),this.afterSignInUrl=this.withDefault(l.after_sign_in_url,this.afterSignInUrl),this.afterSignOutAllUrl=this.withDefault(l.after_sign_out_all_url,this.afterSignOutAllUrl),this.afterSignOutOneUrl=this.withDefault(l.after_sign_out_one_url,this.afterSignOutOneUrl),this.afterSignUpUrl=this.withDefault(l.after_sign_up_url,this.afterSignUpUrl),this.afterSwitchSessionUrl=this.withDefault(l.after_switch_session_url,this.afterSwitchSessionUrl),this.applicationName=this.withDefault(l.application_name,this.applicationName),this.branded=this.withDefault(l.branded,this.branded),this.captchaHeartbeat=this.withDefault(l.captcha_heartbeat,this.captchaHeartbeat),this.captchaHeartbeatIntervalMs=this.withDefault(l.captcha_heartbeat_interval_ms,this.captchaHeartbeatIntervalMs),this.captchaOauthBypass=this.withDefault(l.captcha_oauth_bypass,this.captchaOauthBypass),this.captchaProvider=this.withDefault(l.captcha_provider,this.captchaProvider),this.captchaPublicKey=this.withDefault(l.captcha_public_key,this.captchaPublicKey),this.captchaPublicKeyInvisible=this.withDefault(l.captcha_public_key_invisible,this.captchaPublicKeyInvisible),this.captchaWidgetType=this.withDefault(l.captcha_widget_type,this.captchaWidgetType),this.clerkJSVersion=this.withDefault(l.clerk_js_version,this.clerkJSVersion),this.createOrganizationUrl=this.withDefault(l.create_organization_url,this.createOrganizationUrl),this.faviconImageUrl=this.withDefault(l.favicon_image_url,this.faviconImageUrl),this.googleOneTapClientId=this.withDefault(l.google_one_tap_client_id,this.googleOneTapClientId),this.homeUrl=this.withDefault(l.home_url,this.homeUrl),this.id=this.withDefault(l.id,this.id),this.instanceEnvironmentType=this.withDefault(l.instance_environment_type,this.instanceEnvironmentType),this.logoImageUrl=this.withDefault(l.logo_image_url,this.logoImageUrl),this.organizationProfileUrl=this.withDefault(l.organization_profile_url,this.organizationProfileUrl),this.preferredSignInStrategy=this.withDefault(l.preferred_sign_in_strategy,this.preferredSignInStrategy),this.privacyPolicyUrl=this.withDefault(l.privacy_policy_url,this.privacyPolicyUrl),this.showDevModeWarning=this.withDefault(l.show_devmode_warning,this.showDevModeWarning),this.signInUrl=this.withDefault(l.sign_in_url,this.signInUrl),this.signUpUrl=this.withDefault(l.sign_up_url,this.signUpUrl),this.supportEmail=this.withDefault(l.support_email,this.supportEmail),this.termsUrl=this.withDefault(l.terms_url,this.termsUrl),this.theme=this.withDefault(l.theme,this.theme),this.userProfileUrl=this.withDefault(l.user_profile_url,this.userProfileUrl),this.waitlistUrl=this.withDefault(l.waitlist_url,this.waitlistUrl)),this}__internal_toSnapshot(){return{object:"display_config",after_create_organization_url:this.afterCreateOrganizationUrl,after_join_waitlist_url:this.afterJoinWaitlistUrl,after_leave_organization_url:this.afterLeaveOrganizationUrl,after_sign_in_url:this.afterSignInUrl,after_sign_out_all_url:this.afterSignOutAllUrl,after_sign_out_one_url:this.afterSignOutOneUrl,after_sign_up_url:this.afterSignUpUrl,after_switch_session_url:this.afterSwitchSessionUrl,application_name:this.applicationName,branded:this.branded,captcha_heartbeat_interval_ms:this.captchaHeartbeatIntervalMs,captcha_heartbeat:this.captchaHeartbeat,captcha_oauth_bypass:this.captchaOauthBypass,captcha_provider:this.captchaProvider,captcha_public_key_invisible:this.captchaPublicKeyInvisible,captcha_public_key:this.captchaPublicKey,captcha_widget_type:this.captchaWidgetType,clerk_js_version:this.clerkJSVersion,create_organization_url:this.createOrganizationUrl,favicon_image_url:this.faviconImageUrl,google_one_tap_client_id:this.googleOneTapClientId,home_url:this.homeUrl,id:this.id,instance_environment_type:this.instanceEnvironmentType,logo_image_url:this.logoImageUrl,organization_profile_url:this.organizationProfileUrl,preferred_sign_in_strategy:this.preferredSignInStrategy,privacy_policy_url:this.privacyPolicyUrl,show_devmode_warning:this.showDevModeWarning,sign_in_url:this.signInUrl,sign_up_url:this.signUpUrl,support_email:this.supportEmail,terms_url:this.termsUrl,theme:this.theme,user_profile_url:this.userProfileUrl,waitlist_url:this.waitlistUrl}}}var lu=`const respond=r=>{self.postMessage(r)},workerToTabIds={};self.addEventListener("message",r=>{const e=r.data;switch(e.type){case"setTimeout":workerToTabIds[e.id]=setTimeout(()=>{respond({id:e.id}),delete workerToTabIds[e.id]},e.ms);break;case"clearTimeout":workerToTabIds[e.id]&&(clearTimeout(workerToTabIds[e.id]),delete workerToTabIds[e.id]);break;case"setInterval":workerToTabIds[e.id]=setInterval(()=>{respond({id:e.id})},e.ms);break;case"clearInterval":workerToTabIds[e.id]&&(clearInterval(workerToTabIds[e.id]),delete workerToTabIds[e.id]);break}});
|
|
364
|
+
`;let yA=(_,l={})=>{if(typeof Worker>"u")return null;try{let g=new Blob([_],{type:"application/javascript; charset=utf-8"}),B=globalThis.URL.createObjectURL(g);return new Worker(B,l)}catch{return console.warn("Clerk: Cannot create worker from blob. Consider adding worker-src blob:; to your CSP"),null}},lc=()=>{let _=0,l=()=>_++,g=new Map,B=(H,$)=>H?.postMessage($),b=H=>{g.get(H.data.id)?.()},w=yA(lu,{name:"clerk-timers"});if(w?.addEventListener("message",b),!w)return{setTimeout:globalThis.setTimeout.bind(globalThis),setInterval:globalThis.setInterval.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),clearInterval:globalThis.clearInterval.bind(globalThis),cleanup:st};let U=()=>{w||(w=yA(lu,{name:"clerk-timers"}),w?.addEventListener("message",b))};return{setTimeout:(H,$)=>{U();let M=l();return g.set(M,()=>{H(),g.delete(M)}),B(w,{type:"setTimeout",id:M,ms:$}),M},setInterval:(H,$)=>{U();let M=l();return g.set(M,H),B(w,{type:"setInterval",id:M,ms:$}),M},clearTimeout:H=>{U(),g.delete(H),B(w,{type:"clearTimeout",id:H})},clearInterval:H=>{U(),g.delete(H),B(w,{type:"clearInterval",id:H})},cleanup:()=>{w&&(w.terminate(),w=null,g.clear())}}};function Ss({delayInMs:_}={delayInMs:1e3}){let l,g=lc(),B=!1,b=()=>{l&&(g.clearTimeout(l),g.cleanup()),B=!0},w=async U=>{B=!1,await U(b),B||(l=g.setTimeout(()=>{w(U)},_))};return{run:w,stop:b}}class uu extends fe{id;emailAddress="";matchesSsoConnection=!1;linkedTo=[];verification;constructor(l,g){super(),this.pathRoot=g,this.fromJSON(l)}create(){return this._basePost({body:{email_address:this.emailAddress}})}prepareVerification=l=>this._basePost({action:"prepare_verification",body:{...l}});attemptVerification=l=>{let{code:g}=l||{};return this._basePost({action:"attempt_verification",body:{code:g}})};createEmailLinkFlow=()=>{let{run:l,stop:g}=Ss();return{startEmailLinkFlow:async({redirectUrl:B})=>(await this.prepareVerification({strategy:"email_link",redirectUrl:B}),new Promise((b,w)=>{l(()=>this.reload().then(U=>{U.verification.status==="verified"&&(g(),b(U))}).catch(U=>{g(),w(U)}))})),cancelEmailLinkFlow:g}};createEnterpriseSSOLinkFlow=()=>{let{run:l,stop:g}=Ss();return{startEnterpriseSSOLinkFlow:async({redirectUrl:B})=>{if(!(await this.prepareVerification({strategy:"enterprise_sso",redirectUrl:B})).verification.externalVerificationRedirectURL)throw Error("Unexpected: External verification redirect URL is missing");return new Promise((b,w)=>{l(()=>this.reload().then(U=>{U.verification.status==="verified"&&(g(),b(U))}).catch(U=>{g(),w(U)}))})},cancelEnterpriseSSOLinkFlow:g}};destroy=()=>this._baseDelete();toString=()=>this.emailAddress;fromJSON(l){return l&&(this.id=l.id,this.emailAddress=l.email_address,this.verification=new Ci(l.verification),this.matchesSsoConnection=l.matches_sso_connection,this.linkedTo=(l.linked_to||[]).map(g=>new Us(g))),this}__internal_toSnapshot(){return{object:"email_address",id:this.id,email_address:this.emailAddress,verification:this.verification.__internal_toSnapshot(),linked_to:this.linkedTo.map(l=>l.__internal_toSnapshot()),matches_sso_connection:this.matchesSsoConnection}}}let bs="token:update",es="user:signOut",vl="environment:update",cu="session:tokenResolved",Jn=re();class uc extends fe{user_api_keys_enabled=!1;orgs_api_keys_enabled=!1;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.user_api_keys_enabled=l.user_api_keys_enabled,this.orgs_api_keys_enabled=l.orgs_api_keys_enabled),this}__internal_toSnapshot(){return{user_api_keys_enabled:this.user_api_keys_enabled,orgs_api_keys_enabled:this.orgs_api_keys_enabled}}}class vA extends fe{actions={adminDelete:!1};domains={enabled:!1,enrollmentModes:[],defaultRole:null};slug={disabled:!1};enabled=!1;maxAllowedMemberships=1;forceOrganizationSelection;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(l.actions&&(this.actions.adminDelete=this.withDefault(l.actions.admin_delete,this.actions.adminDelete)),l.domains&&(this.domains.enabled=this.withDefault(l.domains.enabled,this.domains.enabled),this.domains.enrollmentModes=this.withDefault(l.domains.enrollment_modes,this.domains.enrollmentModes),this.domains.defaultRole=this.withDefault(l.domains.default_role,this.domains.defaultRole)),l.slug&&(this.slug.disabled=this.withDefault(l.slug.disabled,this.slug.disabled)),this.enabled=this.withDefault(l.enabled,this.enabled),this.maxAllowedMemberships=this.withDefault(l.max_allowed_memberships,this.maxAllowedMemberships),this.forceOrganizationSelection=this.withDefault(l.force_organization_selection,this.forceOrganizationSelection)),this}__internal_toSnapshot(){return{actions:{admin_delete:this.actions.adminDelete},domains:{enabled:this.domains.enabled,enrollment_modes:this.domains.enrollmentModes,default_role:this.domains.defaultRole},enabled:this.enabled,max_allowed_memberships:this.maxAllowedMemberships}}}class Ti extends fe{static instance;authConfig=new Ds;displayConfig=new su;maintenanceMode=!1;clientDebugMode=!1;pathRoot="/environment";userSettings=new Ud;organizationSettings=new vA;commerceSettings=new mA;apiKeysSettings=new uc;protectConfig=new dc;static getInstance(){return Ti.instance||(Ti.instance=new Ti),Ti.instance}constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.authConfig=new Ds(l.auth_config),this.displayConfig=new su(l.display_config),this.maintenanceMode=this.withDefault(l.maintenance_mode,this.maintenanceMode),this.clientDebugMode=this.withDefault(l.client_debug_mode,this.clientDebugMode),this.organizationSettings=new vA(l.organization_settings),this.userSettings=new Ud(l.user_settings),this.commerceSettings=new mA(l.commerce_settings),this.apiKeysSettings=new uc(l.api_keys_settings),this.protectConfig=new dc(l.protect_config)),this}fetch({touch:l,fetchMaxTries:g}={touch:!1}){return(l?this._basePatch({}):this._baseGet({fetchMaxTries:g})).then(B=>(Jn.emit(vl,null),B))}isDevelopmentOrStaging=()=>!this.isProduction();isProduction=()=>this.displayConfig.instanceEnvironmentType==="production";isSingleSession=()=>this.authConfig.singleSessionMode;onWindowLocationHost=()=>this.displayConfig.backendHost===window.location.host;__internal_toSnapshot(){return{object:"environment",auth_config:this.authConfig.__internal_toSnapshot(),display_config:this.displayConfig.__internal_toSnapshot(),id:this.id??"",maintenance_mode:this.maintenanceMode,client_debug_mode:this.clientDebugMode,organization_settings:this.organizationSettings.__internal_toSnapshot(),user_settings:this.userSettings.__internal_toSnapshot(),commerce_settings:this.commerceSettings.__internal_toSnapshot(),api_keys_settings:this.apiKeysSettings.__internal_toSnapshot(),protect_config:this.protectConfig.__internal_toSnapshot()}}}class Cl{static encode(l){return btoa(String.fromCharCode(...new Uint8Array(l))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}static decode(l){let g=atob(l.replace(/-/g,"+").replace(/_/g,"/")),B=g.length,b=new Uint8Array(B);for(let w=0;w<B;w++)b[w]=g.charCodeAt(w);return b.buffer}}async function Xf(_){try{let g=await navigator.credentials.create({publicKey:_});return g?{publicKeyCredential:g,error:null}:{error:new Ze("Browser failed to create credential",{code:"passkey_registration_failed"}),publicKeyCredential:null}}catch(g){var l;return{error:(l=g).name==="InvalidStateError"?new Ze(l.message,{code:"passkey_already_exists"}):l.name==="NotAllowedError"?new Ze(l.message,{code:"passkey_registration_cancelled"}):CA(l),publicKeyCredential:null}}}let Nd=new class{controller;__abort(){if(!this.controller)return;let _=Error();_.name="AbortError",this.controller.abort(_)}createAbortSignal(){this.__abort();let _=new AbortController;return this.controller=_,_.signal}abort(){this.__abort(),this.controller=void 0}};async function yr({publicKeyOptions:_,conditionalUI:l}){try{let B=await navigator.credentials.get({publicKey:_,mediation:l?"conditional":"optional",signal:Nd.createAbortSignal()});return B?{publicKeyCredential:B,error:null}:{error:new Ze("Browser failed to get credential",{code:"passkey_retrieval_failed"}),publicKeyCredential:null}}catch(B){var g;return{error:(g=B).name==="NotAllowedError"?new Ze(g.message,{code:"passkey_retrieval_cancelled"}):CA(g),publicKeyCredential:null}}}function CA(_){return _.name==="AbortError"?new Ze(_.message,{code:"passkey_operation_aborted"}):_.name==="SecurityError"?new Ze(_.message,{code:"passkey_invalid_rpID_or_domain"}):_}function Au(_){let l=Bl(_.challenge),g=(_.allowCredentials||[]).map(B=>({...B,id:Bl(B.id)}));return{..._,allowCredentials:g,challenge:l}}function ws(_){return{type:_.type,id:_.id,rawId:So(_.rawId),authenticatorAttachment:_.authenticatorAttachment}}function Il(_){let l=_.response;return{...ws(_),response:{clientDataJSON:So(l.clientDataJSON),authenticatorData:So(l.authenticatorData),signature:So(l.signature),userHandle:l.userHandle?So(l.userHandle):null}}}let So=Cl.encode.bind(Cl),Bl=Cl.decode.bind(Cl);class Ci extends fe{pathRoot="";status=null;strategy=null;nonce=null;message=null;externalVerificationRedirectURL=null;attempts=null;expireAt=null;error=null;verifiedAtClient=null;channel;constructor(l){super(),this.fromJSON(l)}verifiedFromTheSameClient=()=>this.verifiedAtClient===fe.clerk?.client?.id;fromJSON(l){return l&&(this.status=l.status,this.verifiedAtClient=l.verified_at_client,this.strategy=l.strategy,this.nonce=l.nonce||null,this.message=l.message||null,l.external_verification_redirect_url?this.externalVerificationRedirectURL=new URL(l.external_verification_redirect_url):this.externalVerificationRedirectURL=null,this.attempts=l.attempts,this.expireAt=Ve(l.expire_at||void 0),this.error=l.error?new at(l.error):null,this.channel=l.channel||void 0),this}__internal_toSnapshot(){var l;return{object:"verification",id:this.id||"",status:this.status,strategy:this.strategy,nonce:this.nonce,message:this.message,external_verification_redirect_url:this.externalVerificationRedirectURL?.toString()||null,attempts:this.attempts,expire_at:this.expireAt?.getTime()||null,error:(l=this.error,{code:l?.code||"",message:l?.message||"",long_message:l?.longMessage,meta:{param_name:l?.meta?.paramName,session_id:l?.meta?.sessionId,email_addresses:l?.meta?.emailAddresses,identifiers:l?.meta?.identifiers,zxcvbn:l?.meta?.zxcvbn,plan:l?.meta?.plan,is_plan_upgrade_possible:l?.meta?.isPlanUpgradePossible}}),verified_at_client:this.verifiedAtClient}}}class ts extends Ci{publicKey=null;constructor(l){super(l),this.fromJSON(l)}fromJSON(l){return super.fromJSON(l),l?.nonce&&(this.publicKey=(function(g){let B=Bl(g.user.id),b=Bl(g.challenge),w=(g.excludeCredentials||[]).map(U=>({...U,id:Bl(U.id)}));return{...g,excludeCredentials:w,challenge:b,user:{...g.user,id:B}}})(JSON.parse(l.nonce))),this}}class ns{emailAddress;phoneNumber;web3Wallet;externalAccount;constructor(l){l?(this.emailAddress=new wn(l.email_address),this.phoneNumber=new wn(l.phone_number),this.web3Wallet=new wn(l.web3_wallet),this.externalAccount=new Ci(l.external_account)):(this.emailAddress=new wn(null),this.phoneNumber=new wn(null),this.web3Wallet=new wn(null),this.externalAccount=new Ci(null))}__internal_toSnapshot(){return{email_address:this.emailAddress.__internal_toSnapshot(),phone_number:this.phoneNumber.__internal_toSnapshot(),web3_wallet:this.web3Wallet.__internal_toSnapshot(),external_account:this.externalAccount.__internal_toSnapshot()}}}class wn extends Ci{nextAction;supportedStrategies;constructor(l){super(l),l?(this.nextAction=l.next_action,this.supportedStrategies=l.supported_strategies):(this.nextAction="",this.supportedStrategies=[])}__internal_toSnapshot(){return{...super.__internal_toSnapshot(),next_action:this.nextAction,supported_strategies:this.supportedStrategies}}}class xs extends fe{id;identificationId;provider;providerUserId="";emailAddress="";approvedScopes="";firstName="";lastName="";imageUrl="";username="";phoneNumber="";publicMetadata={};label="";verification=null;constructor(l,g){super(),this.pathRoot=g,this.fromJSON(l)}reauthorize=l=>{let{additionalScopes:g,redirectUrl:B}=l||{};return this._basePatch({action:"reauthorize",body:{additional_scope:g,redirect_url:B}})};destroy=()=>this._baseDelete();fromJSON(l){return l&&(this.id=l.id,this.identificationId=l.identification_id,this.providerUserId=l.provider_user_id,this.approvedScopes=l.approved_scopes,this.imageUrl=l.image_url,this.emailAddress=l.email_address,this.firstName=l.first_name,this.lastName=l.last_name,this.provider=(l.provider||"").replace("oauth_",""),this.username=l.username,this.phoneNumber=l.phone_number,this.publicMetadata=l.public_metadata,this.label=l.label,l.verification&&(this.verification=new Ci(l.verification))),this}__internal_toSnapshot(){return{object:"external_account",id:this.id,identification_id:this.identificationId,provider:this.provider,provider_user_id:this.providerUserId,email_address:this.emailAddress,approved_scopes:this.approvedScopes,first_name:this.firstName,last_name:this.lastName,image_url:this.imageUrl,username:this.username,phone_number:this.phoneNumber,public_metadata:this.publicMetadata,label:this.label,verification:this.verification?.__internal_toSnapshot()||null}}providerSlug(){return this.provider}providerTitle(){return[(function(l){let g=l||"";return g.charAt(0).toUpperCase()+g.slice(1)})(this.providerSlug()),"Account"].join(" ")}accountIdentifier(){return this.username||this.emailAddress||this.label}}class oa extends fe{id;protocol;provider;providerUserId=null;active;emailAddress="";firstName="";lastName="";publicMetadata={};verification=null;enterpriseConnection=null;lastAuthenticatedAt=null;enterpriseConnectionId=null;constructor(l,g){super(),this.pathRoot=g,this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.provider=l.provider,this.protocol=l.protocol,this.providerUserId=l.provider_user_id,this.active=l.active,this.emailAddress=l.email_address,this.firstName=l.first_name,this.lastName=l.last_name,this.publicMetadata=l.public_metadata,this.lastAuthenticatedAt=l.last_authenticated_at?Ve(l.last_authenticated_at):null,this.enterpriseConnectionId=l.enterprise_connection_id,l.verification&&(this.verification=new Ci(l.verification)),l.enterprise_connection&&(this.enterpriseConnection=new cc(l.enterprise_connection))),this}__internal_toSnapshot(){return{object:"enterprise_account",id:this.id,provider:this.provider,protocol:this.protocol,provider_user_id:this.providerUserId,active:this.active,email_address:this.emailAddress,first_name:this.firstName,last_name:this.lastName,public_metadata:this.publicMetadata,verification:this.verification?.__internal_toSnapshot()||null,enterprise_connection:this.enterpriseConnection?.__internal_toSnapshot()||null,last_authenticated_at:this.lastAuthenticatedAt?this.lastAuthenticatedAt.getTime():null,enterprise_connection_id:this.enterpriseConnectionId}}}class cc extends fe{id;active;allowIdpInitiated;allowSubdomains;disableAdditionalIdentifications;domain;logoPublicUrl="";name;protocol;provider;syncUserAttributes;createdAt;updatedAt;enterpriseConnectionId="";constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.domain=l.domain,this.active=l.active,this.provider=l.provider,this.logoPublicUrl=l.logo_public_url,this.syncUserAttributes=l.sync_user_attributes,this.allowSubdomains=l.allow_subdomains,this.allowIdpInitiated=l.allow_idp_initiated,this.disableAdditionalIdentifications=l.disable_additional_identifications,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at),this.enterpriseConnectionId=l.enterprise_connection_id),this}__internal_toSnapshot(){return{object:"enterprise_account_connection",id:this.id,name:this.name,domain:this.domain,active:this.active,protocol:this.protocol,provider:this.provider,logo_public_url:this.logoPublicUrl,sync_user_attributes:this.syncUserAttributes,allow_subdomains:this.allowSubdomains,allow_idp_initiated:this.allowIdpInitiated,disable_additional_identifications:this.disableAdditionalIdentifications,enterprise_connection_id:this.enterpriseConnectionId,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}class Us extends fe{id;type;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.type=l.type),this}__internal_toSnapshot(){return{object:"identification_link",id:this.id,type:this.type}}}class ya extends fe{id;name=null;publicUrl=null;static async create(l,g={}){let B,b=g;return typeof g.file=="string"?(b=g.file,B=new Headers({"Content-Type":"application/octet-stream"})):g.file&&(b=new FormData).append("file",g.file),new ya((await fe._fetch({path:l,method:"POST",body:b,headers:B}))?.response)}static async delete(l){return new ya((await fe._fetch({path:l,method:"DELETE"}))?.response)}constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.publicUrl=l.public_url),this}}class du extends fe{id;phoneNumber="";reservedForSecondFactor=!1;defaultSecondFactor=!1;linkedTo=[];verification;backupCodes;constructor(l,g){super(),this.pathRoot=g,this.fromJSON(l)}create=()=>this._basePost({body:{phone_number:this.phoneNumber}});prepareVerification=()=>this._basePost({action:"prepare_verification",body:{strategy:"phone_code"}});attemptVerification=l=>{let{code:g}=l||{};return this._basePost({action:"attempt_verification",body:{code:g}})};setReservedForSecondFactor=l=>{let{reserved:g}=l||{};return this._basePatch({body:{reserved_for_second_factor:g}})};makeDefaultSecondFactor=()=>this._basePatch({body:{default_second_factor:!0}});destroy=()=>this._baseDelete();toString=()=>{let l=this.phoneNumber.match(/^(\d{3})(\d{3})(\d{4})$/);return l?"("+l[1]+") "+l[2]+"-"+l[3]:this.phoneNumber};fromJSON(l){return l&&(this.id=l.id,this.phoneNumber=l.phone_number,this.reservedForSecondFactor=l.reserved_for_second_factor,this.defaultSecondFactor=l.default_second_factor,this.verification=new Ci(l.verification),this.linkedTo=(l.linked_to||[]).map(g=>new Us(g)),this.backupCodes=l.backup_codes),this}__internal_toSnapshot(){return{object:"phone_number",id:this.id||"",phone_number:this.phoneNumber,reserved_for_second_factor:this.reservedForSecondFactor,default_second_factor:this.defaultSecondFactor,verification:this.verification.__internal_toSnapshot(),linked_to:this.linkedTo.map(l=>l.__internal_toSnapshot()),backup_codes:this.backupCodes}}}class is extends fe{id;name;organizationId;enrollmentMode;verification;affiliationEmailAddress;createdAt;updatedAt;totalPendingInvitations;totalPendingSuggestions;constructor(l){super(),this.fromJSON(l)}static async create(l,{name:g}){return new is((await fe._fetch({path:`/organizations/${l}/domains`,method:"POST",body:{name:g}}))?.response)}prepareAffiliationVerification=async l=>this._basePost({path:`/organizations/${this.organizationId}/domains/${this.id}/prepare_affiliation_verification`,method:"POST",body:l});attemptAffiliationVerification=async l=>this._basePost({path:`/organizations/${this.organizationId}/domains/${this.id}/attempt_affiliation_verification`,method:"POST",body:l});updateEnrollmentMode=l=>this._basePost({path:`/organizations/${this.organizationId}/domains/${this.id}/update_enrollment_mode`,body:l});delete=()=>this._baseDelete({path:`/organizations/${this.organizationId}/domains/${this.id}`});fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.organizationId=l.organization_id,this.enrollmentMode=l.enrollment_mode,this.affiliationEmailAddress=l.affiliation_email_address,this.totalPendingSuggestions=l.total_pending_suggestions,this.totalPendingInvitations=l.total_pending_invitations,l.verification?this.verification={status:l.verification.status,strategy:l.verification.strategy,attempts:l.verification.attempts,expiresAt:Ve(l.verification.expires_at)}:this.verification=null),this}}class _l extends fe{id;organizationId;status;publicUserData;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}accept=async()=>await this._basePost({path:`/organizations/${this.organizationId}/membership_requests/${this.id}/accept`});reject=async()=>await this._basePost({path:`/organizations/${this.organizationId}/membership_requests/${this.id}/reject`});fromJSON(l){return l&&(this.id=l.id,this.organizationId=l.organization_id,this.status=l.status,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at),l.public_user_data&&(this.publicUserData=new Ba(l.public_user_data))),this}}class va extends fe{id;key;name;description;type;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.key=l.key,this.name=l.name,this.description=l.description,this.type=l.type,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}}class IA extends fe{id;key;name;description;permissions=[];createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.key=l.key,this.name=l.name,this.description=l.description,this.permissions=l.permissions.map(g=>new va(g)),this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}}class Ca extends fe{pathRoot="/organizations";id;name;slug;imageUrl;hasImage;publicMetadata={};adminDeleteEnabled;createdAt;updatedAt;membersCount=0;pendingInvitationsCount=0;maxAllowedMemberships;constructor(l){super(),this.fromJSON(l)}static async create(l){return new Ca((await fe._fetch({path:"/organizations",method:"POST",body:l}))?.response)}static async get(l){return new Ca((await fe._fetch({path:`/organizations/${l}`,method:"GET"}))?.response)}update=async l=>this._basePatch({body:l});getRoles=async l=>await fe._fetch({path:`/organizations/${this.id}/roles`,method:"GET",search:ar(l)},{forceUpdateClient:!0}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new IA(w))}});getDomains=async l=>await fe._fetch({path:`/organizations/${this.id}/domains`,method:"GET",search:ar(l)},{forceUpdateClient:!0}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new is(w))}});getDomain=async({domainId:l})=>new is((await fe._fetch({path:`/organizations/${this.id}/domains/${l}`,method:"GET"}))?.response);getMembershipRequests=async l=>await fe._fetch({path:`/organizations/${this.id}/membership_requests`,method:"GET",search:ar(l)}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new _l(w))}});createDomain=async l=>is.create(this.id,{name:l});getMemberships=async l=>await fe._fetch({path:`/organizations/${this.id}/memberships`,method:"GET",search:ar({...l,paginated:!0})}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new so(w))}});getInvitations=async l=>await fe._fetch({path:`/organizations/${this.id}/invitations`,method:"GET",search:ar(l)},{forceUpdateClient:!0}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new rs(w))}});addMember=async({userId:l,role:g})=>await fe._fetch({method:"POST",path:`/organizations/${this.id}/memberships`,body:{userId:l,role:g}}).then(B=>new so(B?.response));inviteMember=async l=>rs.create(this.id,l);inviteMembers=async l=>rs.createBulk(this.id,l);updateMember=async({userId:l,role:g})=>await fe._fetch({method:"PATCH",path:`/organizations/${this.id}/memberships/${l}`,body:{role:g}}).then(B=>new so(B?.response));removeMember=async l=>await fe._fetch({method:"DELETE",path:`/organizations/${this.id}/memberships/${l}`}).then(g=>new so(g?.response));destroy=async()=>this._baseDelete();setLogo=async({file:l})=>{let g,B;return l===null?await fe._fetch({path:`/organizations/${this.id}/logo`,method:"DELETE"}).then(b=>new Ca(b?.response)):(typeof l=="string"?(g=l,B=new Headers({"Content-Type":"application/octet-stream"})):(g=new FormData).append("file",l),await fe._fetch({path:`/organizations/${this.id}/logo`,method:"PUT",body:g,headers:B}).then(b=>new Ca(b?.response)))};initializePaymentMethod=l=>oc({...l,orgId:this.id});addPaymentMethod=l=>ou({...l,orgId:this.id});getPaymentMethods=l=>ei({...l,orgId:this.id});fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.slug=l.slug,this.imageUrl=l.image_url||"",this.hasImage=l.has_image||!1,this.publicMetadata=l.public_metadata||{},this.membersCount=l.members_count||0,this.pendingInvitationsCount=l.pending_invitations_count||0,this.maxAllowedMemberships=l.max_allowed_memberships||0,this.adminDeleteEnabled=l.admin_delete_enabled||!1,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}__internal_toSnapshot(){return{object:"organization",id:this.id,name:this.name,slug:this.slug,image_url:this.imageUrl,has_image:this.hasImage,public_metadata:this.publicMetadata,members_count:this.membersCount,pending_invitations_count:this.pendingInvitationsCount,max_allowed_memberships:this.maxAllowedMemberships,admin_delete_enabled:this.adminDeleteEnabled,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}async reload(l){let{rotatingTokenNonce:g}=l||{},B=(await fe._fetch({path:`/organizations/${this.id}`,method:"GET",rotatingTokenNonce:g},{forceUpdateClient:!0}))?.response;return this.fromJSON(B)}}class rs extends fe{id;emailAddress;organizationId;publicMetadata={};status;role;roleName;createdAt;updatedAt;static async create(l,{emailAddress:g,role:B}){return new rs((await fe._fetch({path:`/organizations/${l}/invitations`,method:"POST",body:{email_address:g,role:B}}))?.response)}static async createBulk(l,g){let{emailAddresses:B,role:b}=g;return((await fe._fetch({path:`/organizations/${l}/invitations/bulk`,method:"POST",body:{email_address:B,role:b}}))?.response).map(w=>new rs(w))}constructor(l){super(),this.fromJSON(l)}revoke=async()=>await this._basePost({path:`/organizations/${this.organizationId}/invitations/${this.id}/revoke`});fromJSON(l){return l&&(this.id=l.id,this.emailAddress=l.email_address,this.organizationId=l.organization_id,this.publicMetadata=l.public_metadata,this.role=l.role,this.roleName=l.role_name,this.status=l.status,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}}class so extends fe{id;publicMetadata={};publicUserData;organization;permissions=[];role;roleName;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}static retrieve=async l=>await fe._fetch({path:"/me/organization_memberships",method:"GET",search:ar({...l,paginated:!0})}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new so(w))}});destroy=async()=>await this._baseDelete({path:`/organizations/${this.organization.id}/memberships/${this.publicUserData?.userId}`});update=async({role:l})=>await this._basePatch({path:`/organizations/${this.organization.id}/memberships/${this.publicUserData?.userId}`,body:{role:l}});fromJSON(l){return l&&(this.id=l.id,this.organization=new Ca(l.organization),this.publicMetadata=l.public_metadata||{},l.public_user_data&&(this.publicUserData=new Ba(l.public_user_data)),this.permissions=Array.isArray(l.permissions)?[...l.permissions]:[],this.role=l.role,this.roleName=l.role_name,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}__internal_toSnapshot(){return{object:"organization_membership",id:this.id,organization:this.organization.__internal_toSnapshot(),public_metadata:this.publicMetadata,public_user_data:this.publicUserData?.__internal_toSnapshot(),permissions:this.permissions,role:this.role,role_name:this.roleName,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}reload(l){throw Error(`${vi} Calling OrganizationMembership.reload is not currently supported. Please contact support.`)}}class fu extends fe{id;publicOrganizationData;status;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}static async retrieve(l){return await fe._fetch({path:"/me/organization_suggestions",method:"GET",search:ar(l)}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new fu(w))}})}accept=async()=>await this._basePost({path:`/me/organization_suggestions/${this.id}/accept`});fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.publicOrganizationData={hasImage:l.public_organization_data.has_image,imageUrl:l.public_organization_data.image_url,name:l.public_organization_data.name,id:l.public_organization_data.id,slug:l.public_organization_data.slug},this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}}class pu extends fe{id;provider="saml_custom";providerUserId=null;active=!1;emailAddress="";firstName="";lastName="";verification=null;samlConnection=null;lastAuthenticatedAt=null;enterpriseConnectionId=null;constructor(l,g){super(),this.pathRoot=g,this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.provider=l.provider,this.providerUserId=l.provider_user_id,this.active=l.active,this.emailAddress=l.email_address,this.firstName=l.first_name,this.lastName=l.last_name,this.enterpriseConnectionId=l.enterprise_connection_id,l.verification&&(this.verification=new Ci(l.verification)),l.saml_connection&&(this.samlConnection=new Rd(l.saml_connection)),this.lastAuthenticatedAt=l.last_authenticated_at?Ve(l.last_authenticated_at):null),this}__internal_toSnapshot(){return{object:"saml_account",id:this.id,provider:this.provider,provider_user_id:this.providerUserId,active:this.active,email_address:this.emailAddress,first_name:this.firstName,last_name:this.lastName,verification:this.verification?.__internal_toSnapshot()||null,saml_connection:this.samlConnection?.__internal_toSnapshot(),enterprise_connection_id:this.enterpriseConnectionId,last_authenticated_at:this.lastAuthenticatedAt?this.lastAuthenticatedAt.getTime():null}}}class Rd extends fe{id;name;domain;active;provider;syncUserAttributes;allowSubdomains;allowIdpInitiated;disableAdditionalIdentifications;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.domain=l.domain,this.active=l.active,this.provider=l.provider,this.syncUserAttributes=l.sync_user_attributes,this.allowSubdomains=l.allow_subdomains,this.allowIdpInitiated=l.allow_idp_initiated,this.disableAdditionalIdentifications=l.disable_additional_identifications,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}__internal_toSnapshot(){return{object:"saml_account_connection",id:this.id,name:this.name,domain:this.domain,active:this.active,provider:this.provider,sync_user_attributes:this.syncUserAttributes,allow_subdomains:this.allowSubdomains,allow_idp_initiated:this.allowIdpInitiated,disable_additional_identifications:this.disableAdditionalIdentifications,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}let Td={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},Wf=new Set(["first_factor","second_factor","multi_factor"]),BA=new Set(["strict_mfa","strict","moderate","lax"]),Ac=_=>_.replace(/^(org:)*/,"org:"),Ia=(_,l)=>{let{org:g,user:B}=bo(_),[b,w]=l.split(":"),U=w||b;return b==="org"?g.includes(U):b==="user"?B.includes(U):[...g,...B].includes(U)},bo=_=>{let l=_?_.split(",").map(g=>g.trim()):[];return{org:l.filter(g=>g.split(":")[0].includes("o")).map(g=>g.split(":")[1]),user:l.filter(g=>g.split(":")[0].includes("u")).map(g=>g.split(":")[1])}};function Ns(){return T()&&typeof window.PublicKeyCredential=="function"}async function _A(){try{return Ns()&&await window.PublicKeyCredential.isConditionalMediationAvailable()}catch{return!1}}async function Od(){try{return typeof window<"u"&&await window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()}catch{return!1}}class Vi extends fe{status;level;session;supportedFirstFactors=[];supportedSecondFactors=[];firstFactorVerification=new Ci(null);secondFactorVerification=new Ci(null);constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.session=new as(l.session),this.level=l.level,this.supportedFirstFactors=Ui(l.supported_first_factors),this.supportedSecondFactors=Ui(l.supported_second_factors),this.firstFactorVerification=new Ci(l.first_factor_verification),this.secondFactorVerification=new Ci(l.second_factor_verification)),this}}class as extends fe{pathRoot="/client/sessions";id;status;lastActiveAt;lastActiveToken;lastActiveOrganizationId;actor;user;publicUserData;factorVerificationAge=null;tasks=null;expireAt;abandonAt;createdAt;updatedAt;static isSessionResource(l){return!!l&&l instanceof as}constructor(l){super(),this.fromJSON(l),this.#n(this.lastActiveToken)}end=()=>(on.clear(),this._basePost({action:"end"}));remove=()=>(on.clear(),this._basePost({action:"remove"}));touch=()=>this._basePost({action:"touch",body:{active_organization_id:this.lastActiveOrganizationId}}).then(l=>(l.lastActiveToken&&Jn.emit(bs,{token:l.lastActiveToken}),l));clearCache=()=>on.clear();getToken=async l=>Bs(()=>this._getToken(l),{factor:1.55,initialDelay:3e3,maxDelayBetweenRetries:5e4,jitter:!1,shouldRetry:(g,B)=>!xe(g)&&B<=8});checkAuthorization=l=>{let g=(this.user?.organizationMemberships||[]).find(B=>B.organization.id===this.lastActiveOrganizationId);return(B=>b=>{if(!B.userId)return!1;let w=(($,M)=>{let{features:X,plans:se}=M;return $.feature&&X?Ia(X,$.feature):$.plan&&se?Ia(se,$.plan):null})(b,B),U=(($,M)=>{let{orgId:X,orgRole:se,orgPermissions:ce}=M;return($.role||$.permission)&&X&&se&&ce?$.permission?ce.includes(Ac($.permission)):$.role?Ac(se)===Ac($.role):null:null})(b,B),H=(($,{factorVerificationAge:M})=>{if(!$.reverification||!M)return null;let X=(Se=>{let Ye,Xe;if(!Se)return!1;let xt=typeof Se=="string"&&BA.has(Se),qt=typeof Se=="object"&&(Ye=Se.level,Wf.has(Ye))&&typeof(Xe=Se.afterMinutes)=="number"&&Xe>0;return(!!xt||!!qt)&&(wt=>typeof wt=="string"?Td[wt]:wt).bind(null,Se)})($.reverification);if(!X)return null;let{level:se,afterMinutes:ce}=X(),[he,Ie]=M,ze=he!==-1?ce>he:null,qe=Ie!==-1?ce>Ie:null;switch(se){case"first_factor":return ze;case"second_factor":return Ie!==-1?qe:ze;case"multi_factor":return Ie===-1?ze:ze&&qe}})(b,B);return[w||U,H].some($=>$===null)?[w||U,H].some($=>$===!0):[w||U,H].every($=>$===!0)})({userId:this.user?.id,factorVerificationAge:this.factorVerificationAge,orgId:g?.id,orgRole:g?.role,orgPermissions:g?.permissions,features:this.lastActiveToken?.jwt?.claims.fea||"",plans:this.lastActiveToken?.jwt?.claims.pla||""})(l)};#n=l=>{if(!l)return;let g=this.#r();on.get({tokenId:g})||on.set({tokenId:g,tokenResolver:Promise.resolve(l)})};#r(l,g){let B=g===void 0?this.lastActiveOrganizationId:g;return Xo.build(this.id,l,B)}startVerification=async({level:l})=>new Vi((await fe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify`,body:{level:l}}))?.response);prepareFirstFactorVerification=async l=>{let g;switch(l.strategy){case"email_code":g={emailAddressId:l.emailAddressId};break;case"phone_code":g={phoneNumberId:l.phoneNumberId,default:l.default};break;case"passkey":g={};break;case"enterprise_sso":g={emailAddressId:l.emailAddressId,enterpriseConnectionId:l.enterpriseConnectionId,redirectUrl:l.redirectUrl};break;default:eu("Session.prepareFirstFactorVerification",l.strategy)}return new Vi((await fe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/prepare_first_factor`,body:{...g,strategy:l.strategy}}))?.response)};attemptFirstFactorVerification=async l=>{let g;return g=l.strategy==="passkey"?{publicKeyCredential:JSON.stringify(Il(l.publicKeyCredential))}:{...l},new Vi((await fe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/attempt_first_factor`,body:{...g,strategy:l.strategy}}))?.response)};verifyWithPasskey=async()=>{let{nonce:l=null}=(await this.prepareFirstFactorVerification({strategy:"passkey"})).firstFactorVerification,g=as.clerk.__internal_isWebAuthnSupported||Ns,B=as.clerk.__internal_getPublicCredentials||yr;if(!g())throw new Ze("Passkeys are not supported",{code:"passkey_not_supported"});let b=l?Au(JSON.parse(l)):null;b||Wu("get");let{publicKeyCredential:w,error:U}=await B({publicKeyOptions:b,conditionalUI:!1});if(!w)throw U;return this.attemptFirstFactorVerification({strategy:"passkey",publicKeyCredential:w})};prepareSecondFactorVerification=async l=>new Vi((await fe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/prepare_second_factor`,body:l}))?.response);attemptSecondFactorVerification=async l=>new Vi((await fe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/attempt_second_factor`,body:l}))?.response);fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.expireAt=Ve(l.expire_at),this.abandonAt=Ve(l.abandon_at),this.factorVerificationAge=l.factor_verification_age,this.lastActiveAt=Ve(l.last_active_at||void 0),this.lastActiveOrganizationId=l.last_active_organization_id,this.actor=l.actor||null,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at),this.user=new Sl(l.user),this.tasks=l.tasks||null,l.public_user_data&&(this.publicUserData=new Ba(l.public_user_data)),this.lastActiveToken=l.last_active_token?new ss(l.last_active_token):null),this}__internal_toSnapshot(){return{object:"session",id:this.id,status:this.status,expire_at:this.expireAt.getTime(),abandon_at:this.abandonAt.getTime(),factor_verification_age:this.factorVerificationAge,last_active_at:this.lastActiveAt.getTime(),last_active_organization_id:this.lastActiveOrganizationId,actor:this.actor,tasks:this.tasks,user:this.user?.__internal_toSnapshot()||null,public_user_data:this.publicUserData.__internal_toSnapshot(),last_active_token:this.lastActiveToken?.__internal_toSnapshot()||null,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}async _getToken(l){if(!this.user)return null;let{leewayInSeconds:g,template:B,skipCache:b=!1}=l||{},w=l?.organizationId===void 0?this.lastActiveOrganizationId:l?.organizationId;if(!B&&Number(g)>=60)throw Error("Leeway can not exceed the token lifespan (60 seconds)");let U=this.#r(B,w),H=b?void 0:on.get({tokenId:U},g),$=!B&&w===this.lastActiveOrganizationId;if(H){Gt.debug("Using cached token (no fetch needed)",{tokenId:U},"session");let ce=await H.tokenResolver;return $&&Jn.emit(bs,{token:ce}),ce.getRawString()||null}Gt.info("Fetching new token from API",{organizationId:w,template:B,tokenId:U},"session");let M=B?`${this.path()}/tokens/${B}`:`${this.path()}/tokens`,X=B?{}:{organizationId:w},se=ss.create(M,X,b);return on.set({tokenId:U,tokenResolver:se}),se.then(ce=>($&&(Jn.emit(bs,{token:ce}),ce.jwt&&(this.lastActiveToken=ce,Jn.emit(cu,null))),ce.getRawString()||null))}get currentTask(){let[l]=this.tasks??[];return l}}class ti extends fe{id;pathRoot="/me/passkeys";verification=null;name=null;lastUsedAt=null;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}static async create(){return fe._fetch({path:"/me/passkeys",method:"POST"}).then(l=>new ti(l?.response))}static async attemptVerification(l,g){let B=(function(b){let w=b.response;return{...ws(b),response:{clientDataJSON:So(w.clientDataJSON),attestationObject:So(w.attestationObject),transports:w.getTransports()}}})(g);return fe._fetch({path:`/me/passkeys/${l}/attempt_verification`,method:"POST",body:{strategy:"passkey",publicKeyCredential:JSON.stringify(B)}}).then(b=>new ti(b?.response))}static async registerPasskey(){let l=ti.clerk.__internal_isWebAuthnSupported||Ns,g=ti.clerk.__internal_createPublicCredentials||Xf,B=ti.clerk.__internal_isWebAuthnPlatformAuthenticatorSupported||Od;if(!l())throw new Ze("Passkeys are not supported on this device.",{code:"passkey_not_supported"});let b=await this.create(),{verification:w}=b,U=w?.publicKey;if(U||Wu("create"),U.authenticatorSelection?.authenticatorAttachment==="platform"&&!await B())throw new Ze("Registration requires a platform authenticator but the device does not support it.",{code:"passkey_pa_not_supported"});let{publicKeyCredential:H,error:$}=await g(U);if(!H)throw $;return this.attemptVerification(b.id,H)}update=l=>this._basePatch({body:l});delete=async()=>new Ha((await fe._fetch({path:this.path(),method:"DELETE"}))?.response);fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.lastUsedAt=l.last_used_at?Ve(l.last_used_at):null,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at),l.verification&&(this.verification=new ts(l.verification))),this}__internal_toSnapshot(){return{object:"passkey",id:this.id,name:this.name,verification:this.verification?.__internal_toSnapshot()||null,last_used_at:this.lastUsedAt?.getTime()||null,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}class dc extends fe{id="";loaders;rollout;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=this.withDefault(l.id,this.id),this.loaders=this.withDefault(l.loaders,this.loaders)),this}__internal_toSnapshot(){return{object:"protect_config",id:this.id,loaders:this.loaders}}}class Ba{firstName;lastName;imageUrl;hasImage;identifier;userId;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.firstName=l.first_name||null,this.lastName=l.last_name||null,this.imageUrl=l.image_url||"",this.hasImage=l.has_image||!1,this.identifier=l.identifier||"",this.userId=l.user_id),this}__internal_toSnapshot(){return{first_name:this.firstName,last_name:this.lastName,image_url:this.imageUrl,has_image:this.hasImage,identifier:this.identifier,user_id:this.userId}}}class wo extends fe{pathRoot="";id;status;abandonAt;expireAt;lastActiveAt;latestActivity;actor;constructor(l,g){super(),this.pathRoot=g,this.fromJSON(l)}static retrieve(){let l=fe.clerk.session?.id;return this.clerk.getFapiClient().request({method:"GET",path:"/me/sessions/active",sessionId:l}).then(g=>g.payload.map(B=>new wo(B,"/me/sessions"))).catch(()=>[])}revoke(){return this._basePost({action:"revoke",body:{}})}fromJSON(l){let g;return l?(this.id=l.id,this.status=l.status,this.expireAt=Ve(l.expire_at),this.abandonAt=Ve(l.abandon_at),this.lastActiveAt=Ve(l.last_active_at||void 0),this.latestActivity={id:(g=l.latest_activity??{}).id,deviceType:g.device_type,browserName:g.browser_name,browserVersion:g.browser_version,country:g.country,city:g.city,isMobile:g.is_mobile,ipAddress:g.ip_address},this.actor=l.actor,this):this}}function lo(_){return _?`https://${_.replace(/clerk\.accountsstage\./,"accountsstage.").replace(/clerk\.accounts\.|clerk\./,"accounts.")}`:""}async function Oi(_,l,g,B,b){if(!_.client||!B.popup)return;let w=lo(_.frontendApi),{redirectUrl:U}=B,H=new URL(U);H.searchParams.set("sign_in_force_redirect_url",B.redirectUrlComplete),H.searchParams.set("sign_up_force_redirect_url",B.redirectUrlComplete),H.searchParams.set("intent",l);let $=_.buildUrlWithAuth(H.toString()),M=_.buildUrlWithAuth(`${w}/popup-callback`),X=_.buildUrlWithAuth(`${w}/popup-callback?return_url=${encodeURIComponent($)}`),se=async ce=>{if(ce.origin!==w)return;let he=!1;if(ce.data.session){if(!_.client?.sessions.find(Ie=>Ie.id===ce.data.session))try{await _.client?.reload()}catch(Ie){console.error(Ie)}await _.setActive({session:ce.data.session,redirectUrl:B.redirectUrlComplete}),he=!0}else ce.data.return_url&&(_.navigate(ce.data.return_url),he=!0);he&&window.removeEventListener("message",se)};window.addEventListener("message",se),await g({...B,redirectUrlComplete:M,redirectUrl:X},b)}function Dl(_,{redirectCallbackUrl:l,redirectUrl:g}){let B=lo(_.frontendApi),b=new URL(l);b.searchParams.set("sign_in_force_redirect_url",g),b.searchParams.set("sign_up_force_redirect_url",g);let w=_.buildUrlWithAuth(b.toString()),U=_.buildUrlWithAuth(`${B}/popup-callback`);return{redirectCallbackUrl:_.buildUrlWithAuth(`${B}/popup-callback?return_url=${encodeURIComponent(w)}`),redirectUrl:U}}function sa(_,l){return new Promise((g,B)=>{if(!_.client||!l.popup)return void B();let b=async w=>{w.origin===lo(_.frontendApi)&&(w.data.session||w.data.return_url?(window.removeEventListener("message",b),g()):B())};window.addEventListener("message",b),l.popup.location.href=l.externalVerificationRedirectURL.toString()})}let Ql=(_,l)=>{let{onValidation:g=st,onValidationComplexity:B=st}=l||{},{show_zxcvbn:b,validatePassword:w}=_,U=M=>((X,se)=>{let{max_length:ce,min_length:he,require_special_char:Ie,require_lowercase:ze,require_numbers:qe,require_uppercase:Se}=se,Ye=(qt=>{let wt;if(qt.allowed_special_characters){let bt=qt.allowed_special_characters.replace("[","\\[");bt=bt.replace("]","\\]"),wt=RegExp(`[${bt}]`)}else wt=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/;return(bt,{minLength:Qt,maxLength:kt})=>({max_length:bt.length<kt,min_length:bt.length>=Qt,require_numbers:/\d/.test(bt),require_lowercase:/[a-z]/.test(bt),require_uppercase:/[A-Z]/.test(bt),require_special_char:wt.test(bt)})})(se)(X,{maxLength:se.max_length,minLength:se.min_length}),Xe={max_length:ce,min_length:he,require_special_char:Ie,require_lowercase:ze,require_numbers:qe,require_uppercase:Se},xt=new Map;for(let qt in Xe)Xe[qt]&&!Ye[qt]&&xt.set(qt,!0);return Object.freeze(Object.fromEntries(xt))})(M,_),H=(({min_zxcvbn_strength:M,onResult:X})=>se=>ce=>{let he=se(ce);return X?.(he),he.score>=M&&he.score<3?{state:"pass",keys:["unstable__errors.zxcvbn.couldBeStronger"],result:he}:he.score>=M?{state:"excellent",result:he}:{state:"fail",keys:["unstable__errors.zxcvbn.notEnough",...he.feedback.suggestions.map(Ie=>`unstable__errors.zxcvbn.suggestions.${Ie}`)],result:he}})(_),$={};return(M,X)=>{let{onValidation:se=g,onValidationComplexity:ce=B}=X||{};if(!w)return;let he=U(M);ce(Object.keys(he).length===0),$={...$,complexity:he},b&&Promise.all([c.e("890").then(c.bind(c,384)),c.e("377").then(c.bind(c,7706))]).then(([Ie,ze])=>{let{zxcvbnOptions:qe,zxcvbn:Se}=Ie,{dictionary:Ye,adjacencyGraphs:Xe}=ze;return qe.setOptions({dictionary:{...Ye},graphs:Xe}),Se}).then(Ie=>{let ze=H(Ie)(M);se({...$={...$,strength:ze},strength:ze})}),$.complexity&&Object.keys($.complexity).length===0&&b||se($)}};async function tn(_,l){Jn.emit("resource:error",{resource:_,error:null}),Jn.emit("resource:fetch",{resource:_,status:"fetching"});try{return{result:await l(),error:null}}catch(g){return Jn.emit("resource:error",{resource:_,error:g}),{error:g}}finally{Jn.emit("resource:fetch",{resource:_,status:"idle"})}}class hn extends fe{pathRoot="/client/sign_ins";id;_status=null;supportedIdentifiers=[];supportedFirstFactors=[];supportedSecondFactors=null;firstFactorVerification=new Ci(null);secondFactorVerification=new Ci(null);identifier=null;createdSessionId=null;userData=new DA(null);clientTrustState;get status(){return this._status}set status(l){let g=this._status;this._status=l,l&&g!==l&&Gt.debug("SignIn.status",{id:this.id,from:g,to:l})}__internal_future=new xo(this);__internal_basePost=this._basePost.bind(this);__internal_baseGet=this._baseGet.bind(this);constructor(l=null){super(),this.fromJSON(l)}create=l=>{Gt.debug("SignIn.create",{id:this.id,strategy:"strategy"in l?l.strategy:void 0});let g=G();return this._basePost({path:this.pathRoot,body:g?{locale:g,...l}:l})};resetPassword=l=>this._basePost({body:l,action:"reset_password"});prepareFirstFactor=l=>{let g;switch(Gt.debug("SignIn.prepareFirstFactor",{id:this.id,strategy:l.strategy}),l.strategy){case"passkey":g={};break;case"email_link":g={emailAddressId:l.emailAddressId,redirectUrl:l.redirectUrl};break;case"email_code":case"reset_password_email_code":g={emailAddressId:l.emailAddressId};break;case"phone_code":g={phoneNumberId:l.phoneNumberId,default:l.default,channel:l.channel};break;case"web3_metamask_signature":case"web3_base_signature":case"web3_coinbase_wallet_signature":case"web3_okx_wallet_signature":g={web3WalletId:l.web3WalletId};break;case"reset_password_phone_code":g={phoneNumberId:l.phoneNumberId};break;case"saml":g={redirectUrl:l.redirectUrl,actionCompleteRedirectUrl:l.actionCompleteRedirectUrl};break;case"enterprise_sso":g={redirectUrl:l.redirectUrl,actionCompleteRedirectUrl:l.actionCompleteRedirectUrl,oidcPrompt:l.oidcPrompt,enterpriseConnectionId:l.enterpriseConnectionId};break;default:eu("SignIn.prepareFirstFactor",l.strategy)}return this._basePost({body:{...g,strategy:l.strategy},action:"prepare_first_factor"})};attemptFirstFactor=l=>{let g;return Gt.debug("SignIn.attemptFirstFactor",{id:this.id,strategy:l.strategy}),g=l.strategy==="passkey"?{publicKeyCredential:JSON.stringify(Il(l.publicKeyCredential))}:{...l},this._basePost({body:{...g,strategy:l.strategy},action:"attempt_first_factor"})};createEmailLinkFlow=()=>{let{run:l,stop:g}=Ss();return{startEmailLinkFlow:async({emailAddressId:B,redirectUrl:b})=>{this.id||ml("SignIn");let w={strategy:"email_link",emailAddressId:B,redirectUrl:b},U=this.status==="needs_second_factor",H=U?"secondFactorVerification":"firstFactorVerification";return U?await this.prepareSecondFactor(w):await this.prepareFirstFactor(w),new Promise(($,M)=>{l(()=>this.reload().then(X=>{let se=X[H].status;(se==="verified"||se==="expired")&&(g(),$(X))}).catch(X=>{g(),M(X)}))})},cancelEmailLinkFlow:g}};prepareSecondFactor=l=>(Gt.debug("SignIn.prepareSecondFactor",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"prepare_second_factor"}));attemptSecondFactor=l=>(Gt.debug("SignIn.attemptSecondFactor",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"attempt_second_factor"}));authenticateWithRedirectOrPopup=async(l,g)=>{let{strategy:B,redirectUrlComplete:b,identifier:w,oidcPrompt:U,continueSignIn:H,enterpriseConnectionId:$}=l||{},M=hn.clerk.buildUrlWithAuth(l.redirectUrl);this.id&&H||await this.create({strategy:B,identifier:w,redirectUrl:M,actionCompleteRedirectUrl:b}),(B==="saml"||B==="enterprise_sso")&&await this.prepareFirstFactor({strategy:B,redirectUrl:M,actionCompleteRedirectUrl:b,oidcPrompt:U,enterpriseConnectionId:$});let{status:X,externalVerificationRedirectURL:se}=this.firstFactorVerification;X==="unverified"&&se?g(se):iu(X,hn.fapiClient.buildEmailAddress("support"))};authenticateWithRedirect=async l=>this.authenticateWithRedirectOrPopup(l,Ko);authenticateWithPopup=async l=>{let{popup:g}=l||{};return g||nu("popup"),Oi(hn.clerk,"signIn",this.authenticateWithRedirectOrPopup,l,B=>{g.location.href=B.toString()})};authenticateWithWeb3=async l=>{let g,{identifier:B,generateSignature:b,strategy:w="web3_metamask_signature"}=l||{},U=w.replace("web3_","").replace("_signature","");typeof b!="function"&&nu("generateSignature"),await this.create({identifier:B});let H=this.supportedFirstFactors?.find(M=>M.strategy===w);H||tu("SignIn"),await this.prepareFirstFactor(H);let{message:$}=this.firstFactorVerification;$||tu("SignIn");try{g=await b({identifier:B,nonce:$,provider:U})}catch(M){if(U==="coinbase_wallet"&&M.code===4001)g=await b({identifier:B,nonce:$,provider:U});else throw M}return this.attemptFirstFactor({signature:g,strategy:w})};authenticateWithMetamask=async()=>{let l=await Oe();return this.authenticateWithWeb3({identifier:l,generateSignature:jt,strategy:"web3_metamask_signature"})};authenticateWithCoinbaseWallet=async()=>{let l=await ke();return this.authenticateWithWeb3({identifier:l,generateSignature:bn,strategy:"web3_coinbase_wallet_signature"})};authenticateWithBase=async()=>{let l=await Et();return this.authenticateWithWeb3({identifier:l,generateSignature:Si,strategy:"web3_base_signature"})};authenticateWithOKXWallet=async()=>{let l=await Je();return this.authenticateWithWeb3({identifier:l,generateSignature:en,strategy:"web3_okx_wallet_signature"})};authenticateWithPasskey=async l=>{let{flow:g}=l||{},B=hn.clerk.__internal_isWebAuthnSupported||Ns,b=hn.clerk.__internal_getPublicCredentials||yr,w=hn.clerk.__internal_isWebAuthnAutofillSupported||_A;if(!B())throw new Ze("Passkeys are not supported",{code:"passkey_not_supported"});if(g==="autofill"||g==="discoverable")await this.create({strategy:"passkey"});else{let se=this.supportedFirstFactors.find(ce=>ce.strategy==="passkey");se||(function(){throw Error(`${vi} You need to start a SignIn flow by calling SignIn.create({ strategy: 'passkey' }) first`)})(),await this.prepareFirstFactor(se)}let{nonce:U}=this.firstFactorVerification,H=U?Au(JSON.parse(U)):null;H||Wu("get");let $=!1;g==="autofill"&&($=await w());let{publicKeyCredential:M,error:X}=await b({publicKeyOptions:H,conditionalUI:$});if(!M)throw X;return this.attemptFirstFactor({publicKeyCredential:M,strategy:"passkey"})};validatePassword=(l,g)=>{if(hn.clerk.__unstable__environment?.userSettings.passwordSettings)return Ql({...hn.clerk.__unstable__environment?.userSettings.passwordSettings,validatePassword:!0})(l,g)};fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.supportedIdentifiers=l.supported_identifiers,this.identifier=l.identifier,this.supportedFirstFactors=Ui(l.supported_first_factors),this.supportedSecondFactors=Ui(l.supported_second_factors),this.firstFactorVerification=new Ci(l.first_factor_verification),this.secondFactorVerification=new Ci(l.second_factor_verification),this.createdSessionId=l.created_session_id,this.userData=new DA(l.user_data),this.clientTrustState=l.client_trust_state??void 0),Jn.emit("resource:update",{resource:this}),this}__internal_toSnapshot(){return{object:"sign_in",id:this.id||"",status:this.status||null,supported_identifiers:this.supportedIdentifiers,supported_first_factors:no(this.supportedFirstFactors),supported_second_factors:no(this.supportedSecondFactors),first_factor_verification:this.firstFactorVerification.__internal_toSnapshot(),second_factor_verification:this.secondFactorVerification.__internal_toSnapshot(),identifier:this.identifier,created_session_id:this.createdSessionId,user_data:this.userData.__internal_toSnapshot()}}}class xo{resource;emailCode={sendCode:this.sendEmailCode.bind(this),verifyCode:this.verifyEmailCode.bind(this)};emailLink={sendLink:this.sendEmailLink.bind(this),waitForVerification:this.waitForEmailLinkVerification.bind(this),get verification(){if(!I())return null;let l=ii("__clerk_status"),g=ii("__clerk_created_session");if(!l||!g)return null;let B=l==="verified"&&hn.clerk.client!==void 0&&hn.clerk.client.sessions.some(b=>b.id===g);return{status:l,createdSessionId:g,verifiedFromTheSameClient:B}}};resetPasswordEmailCode={sendCode:this.sendResetPasswordEmailCode.bind(this),verifyCode:this.verifyResetPasswordEmailCode.bind(this),submitPassword:this.submitResetPassword.bind(this)};phoneCode={sendCode:this.sendPhoneCode.bind(this),verifyCode:this.verifyPhoneCode.bind(this)};mfa={sendPhoneCode:this.sendMFAPhoneCode.bind(this),verifyPhoneCode:this.verifyMFAPhoneCode.bind(this),verifyTOTP:this.verifyTOTP.bind(this),verifyBackupCode:this.verifyBackupCode.bind(this)};constructor(l){this.resource=l}get id(){return this.resource.id}get identifier(){return this.resource.identifier}get createdSessionId(){return this.resource.createdSessionId}get userData(){return this.resource.userData}get status(){return this.resource.status||"needs_identifier"}get supportedFirstFactors(){return this.resource.supportedFirstFactors??[]}get supportedSecondFactors(){return this.resource.supportedSecondFactors??[]}get isTransferable(){return this.resource.firstFactorVerification.status==="transferable"}get existingSession(){if(this.resource.firstFactorVerification.status==="failed"&&this.resource.firstFactorVerification.error?.code==="identifier_already_signed_in"&&this.resource.firstFactorVerification.error?.meta?.sessionId)return{sessionId:this.resource.firstFactorVerification.error?.meta?.sessionId}}get firstFactorVerification(){return this.resource.firstFactorVerification}get secondFactorVerification(){return this.resource.secondFactorVerification}async sendResetPasswordEmailCode(){if(!this.resource.id)throw Error("Cannot reset password without a sign in.");return tn(this.resource,async()=>{let l=this.resource.supportedFirstFactors?.find(B=>B.strategy==="reset_password_email_code");if(!l)throw new ye("Reset password email code factor not found",{code:"factor_not_found"});let{emailAddressId:g}=l;await this.resource.__internal_basePost({body:{emailAddressId:g,strategy:"reset_password_email_code"},action:"prepare_first_factor"})})}async verifyResetPasswordEmailCode(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:g,strategy:"reset_password_email_code"},action:"attempt_first_factor"})})}async submitResetPassword(l){let{password:g,signOutOfOtherSessions:B=!0}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{password:g,signOutOfOtherSessions:B},action:"reset_password"})})}async _create(l){let g=G();await this.resource.__internal_basePost({path:this.resource.pathRoot,body:g?{locale:g,...l}:l})}async create(l){return tn(this.resource,async()=>{await this._create(l)})}async password(l){if([l.identifier,l.emailAddress,l.phoneNumber].filter(Boolean).length>1)throw Error("Only one of identifier, emailAddress, or phoneNumber can be provided");return tn(this.resource,async()=>{let g=l.identifier||l.emailAddress||l.phoneNumber,B=this.resource.identifier,b=G();await this.resource.__internal_basePost({path:this.resource.pathRoot,body:{identifier:g||B,password:l.password,...b?{locale:b}:{}}})})}async sendEmailCode(l={}){let{emailAddress:g,emailAddressId:B}=l;if(!this.resource.id&&B)throw Error("signIn.emailCode.sendCode() cannot be called with an emailAddressId if an existing signIn does not exist.");if(!this.resource.id&&!g)throw Error("signIn.emailCode.sendCode() cannot be called without an emailAddress if an existing signIn does not exist.");return tn(this.resource,async()=>{g&&await this._create({identifier:g});let b=this.selectFirstFactor({strategy:"email_code",emailAddressId:B});if(!b)throw new ye("Email code factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{emailAddressId:b.emailAddressId,strategy:"email_code"},action:"prepare_first_factor"})})}async verifyEmailCode(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:g,strategy:"email_code"},action:"attempt_first_factor"})})}async sendEmailLink(l){let{emailAddress:g,verificationUrl:B,emailAddressId:b}=l;if(!this.resource.id&&b)throw Error("signIn.emailLink.sendLink() cannot be called with an emailAddressId if an existing signIn does not exist.");if(!this.resource.id&&!g)throw Error("signIn.emailLink.sendLink() cannot be called without an emailAddress if an existing signIn does not exist.");return tn(this.resource,async()=>{g&&await this._create({identifier:g});let w=this.selectFirstFactor({strategy:"email_link",emailAddressId:b});if(!w)throw new ye("Email link factor not found",{code:"factor_not_found"});let U=B;try{new URL(B)}catch{U=window.location.origin+B}await this.resource.__internal_basePost({body:{emailAddressId:w.emailAddressId,redirectUrl:U,strategy:"email_link"},action:"prepare_first_factor"})})}async waitForEmailLinkVerification(){return tn(this.resource,async()=>{let{run:l,stop:g}=Ss();await new Promise((B,b)=>{l(async()=>{try{let w=await this.resource.__internal_baseGet(),U=w.firstFactorVerification.status;(U==="verified"||U==="expired")&&(g(),B(w))}catch(w){g(),b(w)}})})})}async sendPhoneCode(l={}){let{phoneNumber:g,phoneNumberId:B,channel:b="sms"}=l;if(!this.resource.id&&B)throw Error("signIn.phoneCode.sendCode() cannot be called with an phoneNumberId if an existing signIn does not exist.");if(!this.resource.id&&!g)throw Error("signIn.phoneCode.sendCode() cannot be called without an phoneNumber if an existing signIn does not exist.");return tn(this.resource,async()=>{g&&await this._create({identifier:g});let w=this.selectFirstFactor({strategy:"phone_code",phoneNumberId:B});if(!w)throw new ye("Phone code factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{phoneNumberId:w.phoneNumberId,strategy:"phone_code",channel:b},action:"prepare_first_factor"})})}async verifyPhoneCode(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:g,strategy:"phone_code"},action:"attempt_first_factor"})})}async sso(l){let{strategy:g,redirectUrl:B,redirectCallbackUrl:b,popup:w,oidcPrompt:U,enterpriseConnectionId:H,identifier:$}=l;return tn(this.resource,async()=>{let M=B;try{new URL(B)}catch{M=window.location.origin+B}let X={redirectUrl:hn.clerk.buildUrlWithAuth(b),actionCompleteRedirectUrl:M};if(w){let he=Dl(hn.clerk,{redirectCallbackUrl:X.redirectUrl,redirectUrl:M});X.redirectUrl=he.redirectCallbackUrl,X.actionCompleteRedirectUrl=he.redirectUrl}await this._create({strategy:g,...X,identifier:$}),g==="enterprise_sso"&&await this.resource.__internal_basePost({body:{...X,oidcPrompt:U,enterpriseConnectionId:H,strategy:"enterprise_sso"},action:"prepare_first_factor"});let{status:se,externalVerificationRedirectURL:ce}=this.resource.firstFactorVerification;se==="unverified"&&ce&&(w?(await sa(hn.clerk,{popup:w,externalVerificationRedirectURL:ce}),await this.resource.reload()):Ko(ce))})}async web3(l){let{strategy:g}=l,B=g.replace("web3_","").replace("_signature","");return tn(this.resource,async()=>{let b,w,U;switch(B){case"metamask":b=await Oe(),w=jt;break;case"coinbase_wallet":b=await ke(),w=bn;break;case"base":b=await Et(),w=Si;break;case"okx_wallet":b=await Je(),w=en;break;default:throw Error(`Unsupported Web3 provider: ${B}`)}await this._create({identifier:b});let H=this.resource.supportedFirstFactors?.find(M=>M.strategy===g);if(!H)throw new ye("Web3 first factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{web3WalletId:H.web3WalletId,strategy:g},action:"prepare_first_factor"});let{message:$}=this.firstFactorVerification;if(!$)throw new ye("Web3 nonce not found",{code:"web3_nonce_not_found"});try{U=await w({identifier:b,nonce:$})}catch(M){if(B==="coinbase_wallet"&&M.code===4001)U=await w({identifier:b,nonce:$});else throw M}await this.resource.__internal_basePost({body:{signature:U,strategy:g},action:"attempt_first_factor"})})}async passkey(l){let{flow:g}=l||{},B=hn.clerk.__internal_isWebAuthnSupported||Ns,b=hn.clerk.__internal_getPublicCredentials||yr,w=hn.clerk.__internal_isWebAuthnAutofillSupported||_A;if(!B())throw new Ze("Passkeys are not supported",{code:"passkey_not_supported"});return tn(this.resource,async()=>{if(g==="autofill"||g==="discoverable")await this._create({strategy:"passkey"});else{if(!this.supportedFirstFactors.find(se=>se.strategy==="passkey"))throw new ye("Passkey factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{strategy:"passkey"},action:"prepare_first_factor"})}let{nonce:U}=this.firstFactorVerification,H=U?Au(JSON.parse(U)):null;if(!H)throw new ye("Missing public key options",{code:"missing_public_key_options"});let $=!1;g==="autofill"&&($=await w());let{publicKeyCredential:M,error:X}=await b({publicKeyOptions:H,conditionalUI:$});if(!M)throw new Ze(X.message,{code:"passkey_retrieval_failed"});await this.resource.__internal_basePost({body:{publicKeyCredential:JSON.stringify(Il(M)),strategy:"passkey"},action:"attempt_first_factor"})})}async sendMFAPhoneCode(){return tn(this.resource,async()=>{let l=this.resource.supportedSecondFactors?.find(B=>B.strategy==="phone_code");if(!l)throw new ye("Phone code factor not found",{code:"factor_not_found"});let{phoneNumberId:g}=l;await this.resource.__internal_basePost({body:{phoneNumberId:g,strategy:"phone_code"},action:"prepare_second_factor"})})}async verifyMFAPhoneCode(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:g,strategy:"phone_code"},action:"attempt_second_factor"})})}async verifyTOTP(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:g,strategy:"totp"},action:"attempt_second_factor"})})}async verifyBackupCode(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:g,strategy:"backup_code"},action:"attempt_second_factor"})})}async ticket(l){let g=l?.ticket??ii("__clerk_ticket");return this.create({ticket:g??void 0})}async finalize(l){let{navigate:g}=l||{};if(!this.resource.createdSessionId)throw Error("Cannot finalize sign-in without a created session.");return tn(this.resource,async()=>{await hn.clerk.client?.reload(),await hn.clerk.setActive({session:this.resource.createdSessionId,navigate:g})})}selectFirstFactor({strategy:l,emailAddressId:g,phoneNumberId:B}){if(!this.resource.supportedFirstFactors)return null;if(g){let U=this.resource.supportedFirstFactors.find(H=>H.strategy===l&&H.emailAddressId===g);if(U)return U}if(B){let U=this.resource.supportedFirstFactors.find(H=>H.strategy===l&&H.phoneNumberId===B);if(U)return U}let b=this.resource.supportedFirstFactors.find(U=>U.strategy===l&&U.safeIdentifier===this.resource.identifier);return b||this.resource.supportedFirstFactors.find(U=>U.strategy===l)||null}}class DA{firstName;lastName;imageUrl;hasImage;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.firstName=l.first_name,this.lastName=l.last_name,this.imageUrl=l.image_url??void 0,this.hasImage=l.has_image??void 0),this}__internal_toSnapshot(){return{first_name:this.firstName,last_name:this.lastName,image_url:this.imageUrl||null,has_image:this.hasImage||null}}}function la(_){let{unsafeMetadata:l}={..._},g=l?typeof l=="object"?JSON.stringify(l):l:"";return{..._,...l?{unsafeMetadata:g}:{}}}class Rn extends fe{pathRoot="/client/sign_ups";id;_status=null;requiredFields=[];missingFields=[];optionalFields=[];unverifiedFields=[];verifications=new ns(null);username=null;firstName=null;lastName=null;emailAddress=null;phoneNumber=null;web3wallet=null;externalAccount;hasPassword=!1;unsafeMetadata={};createdSessionId=null;createdUserId=null;abandonAt=null;legalAcceptedAt=null;locale=null;get status(){return this._status}set status(l){let g=this._status;this._status=l,l&&g!==l&&Gt.debug("SignUp.status",{id:this.id,from:g,to:l})}__internal_future=new os(this);__internal_basePost=this._basePost.bind(this);__internal_basePatch=this._basePatch.bind(this);constructor(l=null){super(),this.fromJSON(l)}create=async l=>{Gt.debug("SignUp.create",{id:this.id,strategy:l.strategy});let g={...l};if(!g.locale){let B=G();B&&(g.locale=B)}if(!this.clientBypass()&&!this.shouldBypassCaptchaForAttempt(l)){let B=new _s(Rn.clerk),b=await B.managedOrInvisible({action:"signup"});if(!b)throw new ye("",{code:"captcha_unavailable"});g={...g,...b}}if(g.transfer&&this.shouldBypassCaptchaForAttempt(g)){let B=Rn.clerk.client?.signIn.firstFactorVerification.strategy;B&&(g={...g,strategy:B})}return this._basePost({path:this.pathRoot,body:la(g)})};prepareVerification=l=>(Gt.debug("SignUp.prepareVerification",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"prepare_verification"}));attemptVerification=l=>(Gt.debug("SignUp.attemptVerification",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"attempt_verification"}));prepareEmailAddressVerification=l=>this.prepareVerification(l||{strategy:"email_code"});attemptEmailAddressVerification=l=>this.attemptVerification({...l,strategy:"email_code"});createEmailLinkFlow=()=>{let{run:l,stop:g}=Ss();return{startEmailLinkFlow:async({redirectUrl:B})=>(this.id||ml("SignUp"),await this.prepareEmailAddressVerification({strategy:"email_link",redirectUrl:B}),new Promise((b,w)=>{l(()=>this.reload().then(U=>{let H=U.verifications.emailAddress.status;(H==="verified"||H==="expired")&&(g(),b(U))}).catch(U=>{g(),w(U)}))})),cancelEmailLinkFlow:g}};preparePhoneNumberVerification=l=>this.prepareVerification(l||{strategy:"phone_code"});attemptPhoneNumberVerification=l=>this.attemptVerification({...l,strategy:"phone_code"});prepareWeb3WalletVerification=l=>this.prepareVerification({strategy:"web3_metamask_signature",...l});attemptWeb3WalletVerification=async l=>{let{signature:g,strategy:B="web3_metamask_signature"}=l;return this.attemptVerification({signature:g,strategy:B})};authenticateWithWeb3=async l=>{let g,{generateSignature:B,identifier:b,unsafeMetadata:w,strategy:U="web3_metamask_signature",legalAccepted:H}=l||{},$=U.replace("web3_","").replace("_signature","");typeof B!="function"&&nu("generateSignature");let M=b||this.web3wallet;await this.create({web3Wallet:M,unsafeMetadata:w,legalAccepted:H}),await this.prepareWeb3WalletVerification({strategy:U});let{message:X}=this.verifications.web3Wallet;X||tu("SignUp");try{g=await B({identifier:b,nonce:X,provider:$})}catch(se){if($==="coinbase_wallet"&&se.code===4001)g=await B({identifier:b,nonce:X,provider:$});else throw se}return this.attemptWeb3WalletVerification({signature:g,strategy:U})};authenticateWithMetamask=async l=>{let g=await Oe();return this.authenticateWithWeb3({identifier:g,generateSignature:jt,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_metamask_signature",legalAccepted:l?.legalAccepted})};authenticateWithCoinbaseWallet=async l=>{let g=await ke();return this.authenticateWithWeb3({identifier:g,generateSignature:bn,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_coinbase_wallet_signature",legalAccepted:l?.legalAccepted})};authenticateWithBase=async l=>{let g=await Et();return this.authenticateWithWeb3({identifier:g,generateSignature:Si,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_base_signature",legalAccepted:l?.legalAccepted})};authenticateWithOKXWallet=async l=>{let g=await Je();return this.authenticateWithWeb3({identifier:g,generateSignature:en,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_okx_wallet_signature",legalAccepted:l?.legalAccepted})};authenticateWithRedirectOrPopup=async(l,g)=>{let{redirectUrl:B,redirectUrlComplete:b,strategy:w,continueSignUp:U=!1,unsafeMetadata:H,emailAddress:$,legalAccepted:M,oidcPrompt:X,enterpriseConnectionId:se}=l,ce=Rn.clerk.buildUrlWithAuth(B),he=()=>{let Ye={strategy:w,redirectUrl:ce,actionCompleteRedirectUrl:b,unsafeMetadata:H,emailAddress:$,legalAccepted:M,oidcPrompt:X,enterpriseConnectionId:se};return U&&this.id?this.update(Ye):this.create(Ye)},{verifications:Ie}=await he().catch(async Ye=>{if(oe(Ye)&&Ce(Ye))return await Rn.clerk.__unstable__environment.reload(),he();throw Ye}),{externalAccount:ze}=Ie,{status:qe,externalVerificationRedirectURL:Se}=ze;qe==="unverified"&&Se?g(Se):iu(qe,Rn.fapiClient.buildEmailAddress("support"))};authenticateWithRedirect=async l=>this.authenticateWithRedirectOrPopup(l,Ko);authenticateWithPopup=async l=>{let{popup:g}=l||{};return g||nu("popup"),Oi(Rn.clerk,"signUp",this.authenticateWithRedirectOrPopup,l,B=>{g.location.href=B instanceof URL?B.toString():B})};update=l=>this._basePatch({body:la(l)});upsert=l=>this.id?this.update(l):this.create(l);validatePassword=(l,g)=>{if(Rn.clerk.__unstable__environment?.userSettings.passwordSettings)return Ql({...Rn.clerk.__unstable__environment?.userSettings.passwordSettings,validatePassword:!0})(l,g)};fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.requiredFields=l.required_fields,this.optionalFields=l.optional_fields,this.missingFields=l.missing_fields,this.unverifiedFields=l.unverified_fields,this.verifications=new ns(l.verifications),this.username=l.username,this.firstName=l.first_name,this.lastName=l.last_name,this.emailAddress=l.email_address,this.phoneNumber=l.phone_number,this.hasPassword=l.has_password,this.unsafeMetadata=l.unsafe_metadata,this.createdSessionId=l.created_session_id,this.createdUserId=l.created_user_id,this.abandonAt=l.abandon_at,this.web3wallet=l.web3_wallet,this.legalAcceptedAt=l.legal_accepted_at,this.locale=l.locale),Jn.emit("resource:update",{resource:this}),this}__internal_toSnapshot(){return{object:"sign_up",id:this.id||"",status:this.status||null,required_fields:this.requiredFields,optional_fields:this.optionalFields,missing_fields:this.missingFields,unverified_fields:this.unverifiedFields,verifications:this.verifications.__internal_toSnapshot(),username:this.username,first_name:this.firstName,last_name:this.lastName,email_address:this.emailAddress,phone_number:this.phoneNumber,has_password:this.hasPassword,unsafe_metadata:this.unsafeMetadata,created_session_id:this.createdSessionId,created_user_id:this.createdUserId,abandon_at:this.abandonAt,web3_wallet:this.web3wallet,legal_accepted_at:this.legalAcceptedAt,locale:this.locale,external_account:this.externalAccount,external_account_strategy:this.externalAccount?.strategy}}clientBypass(){return Rn.clerk.client?.captchaBypass}shouldBypassCaptchaForAttempt(l){if(!l.strategy)return!1;let g=Rn.clerk.__unstable__environment.displayConfig.captchaOauthBypass;return!!(g.some(B=>B===l.strategy)||l.transfer&&g.some(B=>B===Rn.clerk.client.signIn.firstFactorVerification.strategy))}__experimental_getEnterpriseConnections=()=>fe._fetch({path:`/client/sign_ups/${this.id}/enterprise_connections`,method:"GET"}).then(l=>(l?.response).map(g=>new Ga(g)))}class os{resource;verifications={sendEmailCode:this.sendEmailCode.bind(this),verifyEmailCode:this.verifyEmailCode.bind(this),sendPhoneCode:this.sendPhoneCode.bind(this),verifyPhoneCode:this.verifyPhoneCode.bind(this)};constructor(l){this.resource=l}get id(){return this.resource.id}get requiredFields(){return this.resource.requiredFields}get optionalFields(){return this.resource.optionalFields}get missingFields(){return this.resource.missingFields}get status(){return this.resource.status||"missing_requirements"}get username(){return this.resource.username}get firstName(){return this.resource.firstName}get lastName(){return this.resource.lastName}get emailAddress(){return this.resource.emailAddress}get phoneNumber(){return this.resource.phoneNumber}get web3Wallet(){return this.resource.web3wallet}get hasPassword(){return this.resource.hasPassword}get unsafeMetadata(){return this.resource.unsafeMetadata}get createdSessionId(){return this.resource.createdSessionId}get createdUserId(){return this.resource.createdUserId}get abandonAt(){return this.resource.abandonAt}get legalAcceptedAt(){return this.resource.legalAcceptedAt}get locale(){return this.resource.locale}get unverifiedFields(){return this.resource.unverifiedFields}get isTransferable(){return this.resource.verifications.externalAccount.status==="transferable"&&this.resource.verifications.externalAccount.error?.code==="external_account_exists"}get existingSession(){if((this.resource.verifications.externalAccount.status==="failed"||this.resource.verifications.externalAccount.status==="unverified")&&this.resource.verifications.externalAccount.error?.code==="identifier_already_signed_in"&&this.resource.verifications.externalAccount.error?.meta?.sessionId)return{sessionId:this.resource.verifications.externalAccount.error?.meta?.sessionId}}async getCaptchaToken(){let l=new _s(Rn.clerk),g=await l.managedOrInvisible({action:"signup"});if(!g)throw Error("Captcha challenge failed");let{captchaError:B,captchaToken:b,captchaWidgetType:w}=g;return{captchaToken:b,captchaWidgetType:w,captchaError:B}}async _create(l){let{captchaToken:g,captchaWidgetType:B,captchaError:b}=await this.getCaptchaToken(),w={transfer:l.transfer,captchaToken:g,captchaWidgetType:B,captchaError:b,...l,unsafeMetadata:l.unsafeMetadata?la(l.unsafeMetadata):void 0,locale:l.locale??G()};await this.resource.__internal_basePost({path:this.resource.pathRoot,body:w})}async create(l){return tn(this.resource,async()=>{await this._create(l)})}async update(l){return tn(this.resource,async()=>{let g={...l,unsafeMetadata:l.unsafeMetadata?la(l.unsafeMetadata):void 0};await this.resource.__internal_basePatch({path:this.resource.pathRoot,body:g})})}async password(l){return tn(this.resource,async()=>{let{captchaToken:g,captchaWidgetType:B,captchaError:b}=await this.getCaptchaToken(),w={strategy:"password",captchaToken:g,captchaWidgetType:B,captchaError:b,...l,unsafeMetadata:l.unsafeMetadata?la(l.unsafeMetadata):void 0};await this.resource.__internal_basePost({path:this.resource.pathRoot,body:w})})}async sendEmailCode(){return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{strategy:"email_code"},action:"prepare_verification"})})}async verifyEmailCode(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{strategy:"email_code",code:g},action:"attempt_verification"})})}async sendPhoneCode(l){let{phoneNumber:g,channel:B="sms"}=l;return tn(this.resource,async()=>{if(!this.resource.id){let{captchaToken:b,captchaWidgetType:w,captchaError:U}=await this.getCaptchaToken();await this.resource.__internal_basePost({path:this.resource.pathRoot,body:{phoneNumber:g,captchaToken:b,captchaWidgetType:w,captchaError:U}})}await this.resource.__internal_basePost({body:{strategy:"phone_code",channel:B},action:"prepare_verification"})})}async verifyPhoneCode(l){let{code:g}=l;return tn(this.resource,async()=>{await this.resource.__internal_basePost({body:{strategy:"phone_code",code:g},action:"attempt_verification"})})}async sso(l){let{strategy:g,redirectUrl:B,redirectCallbackUrl:b,unsafeMetadata:w,legalAccepted:U,oidcPrompt:H,enterpriseConnectionId:$,emailAddress:M,popup:X}=l;return tn(this.resource,async()=>{let{captchaToken:se,captchaWidgetType:ce,captchaError:he}=await this.getCaptchaToken(),Ie=B;try{new URL(B)}catch{Ie=window.location.origin+B}let ze={redirectUrl:Rn.clerk.buildUrlWithAuth(b),actionCompleteRedirectUrl:Ie};if(X){let Xe=Dl(Rn.clerk,{redirectCallbackUrl:ze.redirectUrl,redirectUrl:Ie});ze.redirectUrl=Xe.redirectCallbackUrl,ze.actionCompleteRedirectUrl=Xe.redirectUrl}let qe=()=>this.resource.__internal_basePost({path:this.resource.pathRoot,body:{strategy:g,...ze,unsafeMetadata:w,legalAccepted:U,oidcPrompt:H,enterpriseConnectionId:$,emailAddress:M,captchaToken:se,captchaWidgetType:ce,captchaError:he}});await qe().catch(async Xe=>{if(oe(Xe)&&Ce(Xe))return await Rn.clerk.__unstable__environment.reload(),qe();throw Xe});let{status:Se,externalVerificationRedirectURL:Ye}=this.resource.verifications.externalAccount;Se==="unverified"&&Ye&&(X?(await sa(Rn.clerk,{popup:X,externalVerificationRedirectURL:Ye}),await this.resource.reload()):Ko(Ye))})}async web3(l){let{strategy:g,unsafeMetadata:B,legalAccepted:b}=l,w=g.replace("web3_","").replace("_signature","");return tn(this.resource,async()=>{let U,H,$;switch(w){case"metamask":U=await Oe(),H=jt;break;case"coinbase_wallet":U=await ke(),H=bn;break;case"base":U=await Et(),H=Si;break;case"okx_wallet":U=await Je(),H=en;break;default:throw Error(`Unsupported Web3 provider: ${w}`)}let M=U||this.resource.web3wallet;await this._create({web3Wallet:M,unsafeMetadata:B,legalAccepted:b}),await this.resource.__internal_basePost({body:{strategy:g},action:"prepare_verification"});let{message:X}=this.resource.verifications.web3Wallet;X||tu("SignUp");try{$=await H({identifier:U,nonce:X})}catch(se){if(w==="coinbase_wallet"&&se.code===4001)$=await H({identifier:U,nonce:X});else throw se}await this.resource.__internal_basePost({body:{signature:$,strategy:g},action:"attempt_verification"})})}async ticket(l){let g=l?.ticket??ii("__clerk_ticket");return this.create({...l,ticket:g??void 0})}async finalize(l){let{navigate:g}=l||{};return tn(this.resource,async()=>{if(!this.resource.createdSessionId)throw Error("Cannot finalize sign-up without a created session.");await Rn.clerk.setActive({session:this.resource.createdSessionId,navigate:g})})}}class Ga extends fe{id;name;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name),this}}class ss extends fe{pathRoot="tokens";jwt;static async create(l,g={},B=!1){return new ss(await fe._fetch({body:g,method:"POST",path:l,search:B?"debug=skip_cache":void 0}),l)}constructor(l,g){super(),g&&(this.pathRoot=g),l?.jwt&&(this.jwt=R(l.jwt))}getRawString=()=>this.jwt?.claims.__raw||"";fromJSON(l){return l&&(this.jwt=R(l.jwt)),this}__internal_toSnapshot(){return{object:"token",id:this.id||"",jwt:this.getRawString()}}}class gu extends fe{pathRoot="/me";id="";secret;uri;verified=!1;backupCodes;updatedAt=null;createdAt=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.secret=l.secret,this.uri=l.uri,this.verified=l.verified,this.backupCodes=l.backup_codes,this.updatedAt=Ve(l.updated_at),this.createdAt=Ve(l.created_at)),this}}class fc extends fe{pathRoot="/me";id;codes=[];updatedAt=null;createdAt=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.codes=l.codes,this.updatedAt=Ve(l.updated_at),this.createdAt=Ve(l.created_at)),this}}class Sl extends fe{pathRoot="/me";id="";externalId=null;username=null;emailAddresses=[];phoneNumbers=[];web3Wallets=[];externalAccounts=[];enterpriseAccounts=[];passkeys=[];samlAccounts=[];organizationMemberships=[];passwordEnabled=!1;firstName=null;lastName=null;fullName=null;primaryEmailAddressId=null;primaryEmailAddress=null;primaryPhoneNumberId=null;primaryPhoneNumber=null;primaryWeb3WalletId=null;primaryWeb3Wallet=null;imageUrl="";hasImage=!1;twoFactorEnabled=!1;totpEnabled=!1;backupCodeEnabled=!1;publicMetadata={};unsafeMetadata={};createOrganizationEnabled=!1;createOrganizationsLimit=null;deleteSelfEnabled=!1;lastSignInAt=null;legalAcceptedAt=null;updatedAt=null;createdAt=null;cachedSessionsWithActivities=null;static isUserResource(l){return!!l&&l instanceof Sl}constructor(l){super(),this.fromJSON(l)}path(){return this.pathRoot}isPrimaryIdentification=l=>{switch(l.constructor){case uu:return this.primaryEmailAddressId===l.id;case du:return this.primaryPhoneNumberId===l.id;case uo:return this.primaryWeb3WalletId===l.id;default:return!1}};createEmailAddress=l=>{let{email:g}=l||{};return new uu({email_address:g},this.path()+"/email_addresses/").create()};createPasskey=()=>ti.registerPasskey();createPhoneNumber=l=>{let{phoneNumber:g}=l||{};return new du({phone_number:g},this.path()+"/phone_numbers/").create()};createWeb3Wallet=l=>{let{web3Wallet:g}=l||{};return new uo({web3_wallet:g},this.path()+"/web3_wallets/").create()};createExternalAccount=async l=>{let{strategy:g,redirectUrl:B,additionalScopes:b}=l||{};return new xs((await fe._fetch({path:"/me/external_accounts",method:"POST",body:{strategy:g,redirect_url:B,additional_scope:b}}))?.response,this.path()+"/external_accounts")};createTOTP=async()=>new gu((await fe._fetch({path:"/me/totp",method:"POST"}))?.response);verifyTOTP=async({code:l})=>new gu((await fe._fetch({path:"/me/totp/attempt_verification",method:"POST",body:{code:l}}))?.response);disableTOTP=async()=>new Ha((await fe._fetch({path:"/me/totp",method:"DELETE"}))?.response);createBackupCode=async()=>new fc((await fe._fetch({path:this.path()+"/backup_codes/",method:"POST"}))?.response);update=l=>this._basePatch({body:la(l)});updatePassword=l=>this._basePost({body:l,path:`${this.path()}/change_password`});removePassword=l=>this._basePost({body:l,path:`${this.path()}/remove_password`});delete=()=>this._baseDelete({path:"/me"}).then(l=>(Jn.emit(es,null),l));getSessions=async()=>{if(this.cachedSessionsWithActivities)return this.cachedSessionsWithActivities;let l=await wo.retrieve();return this.cachedSessionsWithActivities=l,l};setProfileImage=l=>{let{file:g}=l||{};return g===null?ya.delete(`${this.path()}/profile_image`):ya.create(`${this.path()}/profile_image`,{file:g})};getOrganizationInvitations=l=>pc.retrieve(l);getOrganizationSuggestions=l=>fu.retrieve(l);getOrganizationMemberships=l=>so.retrieve(l);leaveOrganization=async l=>new Ha((await fe._fetch({path:`${this.path()}/organization_memberships/${l}`,method:"DELETE"}))?.response);initializePaymentMethod=l=>oc(l);addPaymentMethod=l=>ou(l);getPaymentMethods=l=>ei(l);get verifiedExternalAccounts(){return this.externalAccounts.filter(l=>l.verification?.status=="verified")}get unverifiedExternalAccounts(){return this.externalAccounts.filter(l=>l.verification?.status!="verified")}get verifiedWeb3Wallets(){return this.web3Wallets.filter(l=>l.verification?.status=="verified")}get hasVerifiedEmailAddress(){return this.emailAddresses.filter(l=>l.verification.status==="verified").length>0}get hasVerifiedPhoneNumber(){return this.phoneNumbers.filter(l=>l.verification.status==="verified").length>0}fromJSON(l){return l&&(this.id=l.id,this.externalId=l.external_id||null,this.firstName=l.first_name||null,this.lastName=l.last_name||null,(this.firstName||this.lastName)&&(this.fullName=(({firstName:g,lastName:B,name:b})=>b||[g,B].join(" ").trim()||"")({firstName:this.firstName,lastName:this.lastName})),this.imageUrl=l.image_url||"",this.hasImage=l.has_image||!1,this.username=l.username||null,this.passwordEnabled=l.password_enabled||!1,this.emailAddresses=(l.email_addresses||[]).map(g=>new uu(g,this.path()+"/email_addresses")),this.primaryEmailAddressId=l.primary_email_address_id||null,this.primaryEmailAddress=this.emailAddresses.find(({id:g})=>g===this.primaryEmailAddressId)||null,this.phoneNumbers=(l.phone_numbers||[]).map(g=>new du(g,this.path()+"/phone_numbers")),this.primaryPhoneNumberId=l.primary_phone_number_id||null,this.primaryPhoneNumber=this.phoneNumbers.find(({id:g})=>g===this.primaryPhoneNumberId)||null,this.web3Wallets=(l.web3_wallets||[]).map(g=>new uo(g,this.path()+"/web3_wallets")),this.primaryWeb3WalletId=l.primary_web3_wallet_id||null,this.primaryWeb3Wallet=this.web3Wallets.find(({id:g})=>g===this.primaryWeb3WalletId)||null,this.externalAccounts=(l.external_accounts||[]).map(g=>new xs(g,this.path()+"/external_accounts")),this.passkeys=(l.passkeys||[]).map(g=>new ti(g)),this.organizationMemberships=(l.organization_memberships||[]).map(g=>new so(g)),this.samlAccounts=(l.saml_accounts||[]).map(g=>new pu(g,this.path()+"/saml_accounts")),this.enterpriseAccounts=(l.enterprise_accounts||[]).map(g=>new oa(g,this.path()+"/enterprise_accounts")),this.publicMetadata=l.public_metadata||{},this.unsafeMetadata=l.unsafe_metadata||{},this.totpEnabled=l.totp_enabled||!1,this.backupCodeEnabled=l.backup_code_enabled||!1,this.twoFactorEnabled=l.two_factor_enabled||!1,this.createOrganizationEnabled=l.create_organization_enabled||!1,this.createOrganizationsLimit=l.create_organizations_limit||null,this.deleteSelfEnabled=l.delete_self_enabled||!1,l.last_sign_in_at&&(this.lastSignInAt=Ve(l.last_sign_in_at)),l.legal_accepted_at&&(this.legalAcceptedAt=Ve(l.legal_accepted_at)),this.updatedAt=Ve(l.updated_at||void 0),this.createdAt=Ve(l.created_at||void 0)),this}__internal_toSnapshot(){return{object:"user",id:this.id,external_id:this.externalId,first_name:this.firstName,last_name:this.lastName,username:this.username,public_metadata:this.publicMetadata,unsafe_metadata:this.unsafeMetadata,image_url:this.imageUrl,has_image:this.hasImage,email_addresses:this.emailAddresses.map(l=>l.__internal_toSnapshot()),phone_numbers:this.phoneNumbers.map(l=>l.__internal_toSnapshot()),web3_wallets:this.web3Wallets.map(l=>l.__internal_toSnapshot()),external_accounts:this.externalAccounts.map(l=>l.__internal_toSnapshot()),passkeys:this.passkeys.map(l=>l.__internal_toSnapshot()),organization_memberships:this.organizationMemberships.map(l=>l.__internal_toSnapshot()),saml_accounts:this.samlAccounts.map(l=>l.__internal_toSnapshot()),enterprise_accounts:this.enterpriseAccounts.map(l=>l.__internal_toSnapshot()),totp_enabled:this.totpEnabled,backup_code_enabled:this.backupCodeEnabled,two_factor_enabled:this.twoFactorEnabled,create_organization_enabled:this.createOrganizationEnabled,create_organizations_limit:this.createOrganizationsLimit,delete_self_enabled:this.deleteSelfEnabled,primary_email_address_id:this.primaryEmailAddressId,primary_phone_number_id:this.primaryPhoneNumberId,primary_web3_wallet_id:this.primaryWeb3WalletId,password_enabled:this.passwordEnabled,profile_image_id:this.imageUrl,last_sign_in_at:this.lastSignInAt?.getTime()||null,legal_accepted_at:this.legalAcceptedAt?.getTime()||null,updated_at:this.updatedAt?.getTime()||null,created_at:this.createdAt?.getTime()||null}}}class pc extends fe{id;emailAddress;publicOrganizationData;publicMetadata={};status;role;createdAt;updatedAt;static async retrieve(l){return await fe._fetch({path:"/me/organization_invitations",method:"GET",search:ar(l)}).then(g=>{let{data:B,total_count:b}=g?.response;return{total_count:b,data:B.map(w=>new pc(w))}})}constructor(l){super(),this.fromJSON(l)}accept=async()=>await this._basePost({path:`/me/organization_invitations/${this.id}/accept`});fromJSON(l){return l&&(this.id=l.id,this.emailAddress=l.email_address,this.publicOrganizationData={hasImage:l.public_organization_data.has_image,imageUrl:l.public_organization_data.image_url,name:l.public_organization_data.name,id:l.public_organization_data.id,slug:l.public_organization_data.slug},this.publicMetadata=l.public_metadata,this.role=l.role,this.status=l.status,this.createdAt=Ve(l.created_at),this.updatedAt=Ve(l.updated_at)),this}}class uo extends fe{id;web3Wallet="";verification;constructor(l,g){super(),this.pathRoot=g,this.fromJSON(l)}create(){return this._basePost({body:{web3_wallet:this.web3Wallet}})}prepareVerification=l=>this._basePost({action:"prepare_verification",body:{...l}});attemptVerification=l=>{let{signature:g}=l;return this._basePost({action:"attempt_verification",body:{signature:g}})};destroy(){return this._baseDelete()}toString(){return this.web3Wallet}fromJSON(l){return l&&(this.id=l.id,this.web3Wallet=l.web3_wallet,this.verification=new Ci(l.verification)),this}__internal_toSnapshot(){return{object:"web3_wallet",id:this.id,web3_wallet:this.web3Wallet,verification:this.verification.__internal_toSnapshot()}}}class sr extends fe{pathRoot="/waitlist";id="";updatedAt=null;createdAt=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.updatedAt=Ve(l.updated_at),this.createdAt=Ve(l.created_at)),this}static async join(l){return new sr((await fe._fetch({path:"/waitlist",method:"POST",body:l}))?.response)}}class gc extends fe{pathRoot="/api_keys";id;type;name;subject;scopes;claims;revoked;revocationReason;expired;expiration;createdBy;description;secret;lastUsedAt;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.type=l.type,this.name=l.name,this.subject=l.subject,this.scopes=l.scopes,this.claims=l.claims,this.revoked=l.revoked,this.revocationReason=l.revocation_reason,this.expired=l.expired,this.expiration=l.expiration?Ve(l.expiration):null,this.createdBy=l.created_by,this.description=l.description,this.secret=l.secret,this.lastUsedAt=l.last_used_at?Ve(l.last_used_at):null,this.updatedAt=Ve(l.updated_at),this.createdAt=Ve(l.created_at)),this}__internal_toSnapshot(){return{object:"api_key",id:this.id,type:this.type,name:this.name,subject:this.subject,scopes:this.scopes,claims:this.claims,revoked:this.revoked,revocation_reason:this.revocationReason,expired:this.expired,expiration:this.expiration?this.expiration.getTime():null,created_by:this.createdBy,description:this.description,last_used_at:this.lastUsedAt?this.lastUsedAt.getTime():null,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}function xr(_,l){var g,B;return _.id!==l.id||_.updatedAt.getTime()<l.updatedAt.getTime()||(g=l,B=_,g.organizationMemberships.length!==B.organizationMemberships.length||g.organizationMemberships[0]?.updatedAt!==B.organizationMemberships[0]?.updatedAt)}function bl(_,l){return(function(g,B){if(!g&&B||g&&!B)return!0;if(!g&&g===B)return!1;if(!g||!B)return!0;try{if(Nn.isClientResource(g))return g.id!==B.id||g.updatedAt.getTime()<B.updatedAt.getTime()||g.sessions.length!==B.sessions.length;if(as.isSessionResource(g)){var b,w;return g.id!==B.id||g.updatedAt.getTime()<B.updatedAt.getTime()||g.lastActiveToken?.jwt?.claims?.__raw!==B.lastActiveToken?.jwt?.claims?.__raw||(function(U,H){if(U.lastActiveOrganizationId!==H.lastActiveOrganizationId)return!0;let $=U.user?.organizationMemberships?.find(X=>X.organization.id===U.lastActiveOrganizationId),M=H.user?.organizationMemberships?.find(X=>X.organization.id===U.lastActiveOrganizationId);return $?.permissions?.length!==M?.permissions?.length})(g,B)||(b=g,w=B,!!b.user!=!!w.user||!!b.user&&!!w.user&&xr(b.user,w.user))}if(Sl.isUserResource(g))return xr(g,B)}catch{}return!0})(_,l)?l:_}let mu=(_,l)=>{let g={};for(let B in _)g[B]=l(_[B],B);return g},kd=(_,l)=>{let g={};for(let B in _)_[B]&&l(_[B])&&(g[B]=_[B]);return g};class _n{static keys=["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"];static preserved=["redirectUrl"];options;fromOptions;fromProps;fromSearchParams;mode;constructor(l,g={},B={},b){this.options=l,this.fromOptions=this.#o(l||{}),this.fromProps=this.#o(g||{}),this.fromSearchParams=this.#d(B||{}),this.mode=b}getAfterSignInUrl(){return this.#s("signIn")}getAfterSignUpUrl(){return this.#s("signUp")}getPreservedSearchParams(){return this.#n(this.#r())}toSearchParams(){return this.#n(this.#i())}#n(l){return new URLSearchParams(Object.entries(Object.fromEntries(Object.entries(l).map(([g,B])=>[tr(g),B]))).reduce((g,[B,b])=>(b!=null&&(g[B]=b),g),{}))}#r(){return Object.fromEntries(Object.entries({...this.fromSearchParams}).filter(([l])=>_n.preserved.includes(l)))}#i(){let l=this.fromSearchParams.signUpForceRedirectUrl||this.fromProps.signUpForceRedirectUrl||this.fromOptions.signUpForceRedirectUrl,g=this.fromSearchParams.signUpFallbackRedirectUrl||this.fromProps.signUpFallbackRedirectUrl||this.fromOptions.signUpFallbackRedirectUrl,B=this.fromSearchParams.signInForceRedirectUrl||this.fromProps.signInForceRedirectUrl||this.fromOptions.signInForceRedirectUrl,b=this.fromSearchParams.signInFallbackRedirectUrl||this.fromProps.signInFallbackRedirectUrl||this.fromOptions.signInFallbackRedirectUrl,w=this.fromSearchParams.afterSignInUrl||this.fromProps.afterSignInUrl||this.fromOptions.afterSignInUrl,U={signUpForceRedirectUrl:l,signUpFallbackRedirectUrl:g,signInFallbackRedirectUrl:b,signInForceRedirectUrl:B,afterSignInUrl:w,afterSignUpUrl:this.fromSearchParams.afterSignUpUrl||this.fromProps.afterSignUpUrl||this.fromOptions.afterSignUpUrl,redirectUrl:this.fromSearchParams.redirectUrl||this.fromProps.redirectUrl||this.fromOptions.redirectUrl};return l&&delete U.signUpFallbackRedirectUrl,B&&delete U.signInFallbackRedirectUrl,U}#s(l){var g,B;let b,w,U=`${l}ForceRedirectUrl`,H=`${l}FallbackRedirectUrl`,$=`after${l[0].toUpperCase()}${l.slice(1)}Url`;(w=this.fromSearchParams[U]||this.fromProps[U]||this.fromOptions[U])&&(b=U),(w||=this.fromSearchParams.redirectUrl)&&(b="redirectUrl"),(w||=this.fromSearchParams[H]||this.fromProps[H]||this.fromOptions[H])&&(b=H);let M=this.fromSearchParams[$]||this.fromProps[$]||this.fromProps.redirectUrl||this.fromOptions[$];return g=b,(B=w)&&M&&We(`Clerk: The "${g}" prop ("${B}") has priority over the legacy "${$}" (or "redirectUrl") ("${M}"), which will be completely ignored in this case. "${$}" (or "redirectUrl" prop) should be replaced with the new "fallbackRedirectUrl" or "forceRedirectUrl" props instead. Learn more: https://clerk.com/docs/guides/custom-redirects#redirect-url-props`),(w||=M)||this.mode!=="modal"?w||"/":window.location.href}#o(l){Ma(l);let g={};return _n.keys.forEach(B=>{g[B]=l[B]}),mu(this.#c(this.#A(kd(g,Boolean))),B=>B.toString())}#d(l){Ma(l);let g={};return _n.keys.forEach(B=>{l instanceof URLSearchParams?g[B]=l.get(tr(B)):g[B]=l[tr(B)]}),mu(this.#c(this.#A(kd(g,Boolean))),B=>B.toString())}#A(l){return mu(l,g=>ao(g,window.location.origin))}#c=l=>kd(l,((g,B)=>b=>{let w=b;if(typeof w=="string"&&(w=ao(w,B)),!g)return!0;let U=B===w.origin,H=!(function($){if((function(M){if(!(function(se){if(!se)return!1;try{return new URL(se),!0}catch{return!1}})(M))return!1;let X=new URL(M).protocol;return na.some(se=>se===X)})($))return!0;for(let M of Ri)if(M.test($.pathname))return!0;return!1})(w)&&(U||g.map($=>typeof $=="string"?(M=>{try{return Xl(M)}catch(X){throw Error(`Invalid pattern: ${M}.
|
|
365
|
+
Consult the documentation of glob-to-regexp here: https://www.npmjs.com/package/glob-to-regexp.
|
|
366
|
+
${X.message}`)}})(Bn($)):$).some($=>$.test(Bn(w.origin))));return H||We(`Clerk: Redirect URL ${w} is not on one of the allowedRedirectOrigins, falling back to the default redirect URL.`),H})(this.options?.allowedRedirectOrigins,window.location.origin))}let ls="__clerk_db_jwt";function mc(_,l){let g=new URL(_),B=g.searchParams.get(ls);g.searchParams.delete(ls);let b=B||l;return b&&g.searchParams.set(ls,b),g}let Rs=_=>Fd(zd(_)),Fd=_=>{let l=new URL(_);return l.searchParams.delete(ls),l},zd=_=>{let l=new URL(_);return l.searchParams.delete("__dev_session"),l.hash=decodeURI(l.hash).replace(/__clerk_db_jwt\[(.*)\]/,""),l.href.endsWith("#")&&(l.hash=""),l};function Ts(_){for(var l=1;l<arguments.length;l++){var g=arguments[l];for(var B in g)_[B]=g[B]}return _}var hu=(function _(l,g){function B(b,w,U){if(typeof document<"u"){typeof(U=Ts({},g,U)).expires=="number"&&(U.expires=new Date(Date.now()+864e5*U.expires)),U.expires&&(U.expires=U.expires.toUTCString()),b=encodeURIComponent(b).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var H="";for(var $ in U)U[$]&&(H+="; "+$,U[$]!==!0&&(H+="="+U[$].split(";")[0]));return document.cookie=b+"="+l.write(w,b)+H}}return Object.create({set:B,get:function(b){if(typeof document<"u"&&(!arguments.length||b)){for(var w=document.cookie?document.cookie.split("; "):[],U={},H=0;H<w.length;H++){var $=w[H].split("="),M=$.slice(1).join("=");try{var X=decodeURIComponent($[0]);if(U[X]=l.read(M,X),b===X)break}catch{}}return b?U[b]:U}},remove:function(b,w){B(b,"",Ts({},w,{expires:-1}))},withAttributes:function(b){return _(this.converter,Ts({},this.attributes,b))},withConverter:function(b){return _(Ts({},this.converter,b),this.attributes)}},{attributes:{value:Object.freeze(g)},converter:{value:Object.freeze(l)}})})({read:function(_){return _[0]==='"'&&(_=_.slice(1,-1)),_.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(_){return encodeURIComponent(_).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function co(_){return{get:()=>hu.get(_),set(l,g={}){hu.set(_,l,g)},remove(l){hu.remove(_,l)}}}let wl=_=>window.location.protocol==="https:"||_==="None"&&window.safari===void 0&&(window.isSecureContext!==void 0?window.isSecureContext:window.location.hostname==="localhost");function QA(_,l){let g=(function(B){try{return new Date(B||new Date)}catch{return new Date}})(_);return g.setFullYear(g.getFullYear()+l),g}let Md=co("__clerk_test_etld"),SA="__client_uat",hc="__session",bA=()=>{let _=ie()?"None":"Lax",l=wl(_);return{sameSite:_,secure:l,partitioned:!1}};async function Os(_){let l;try{l=await Vt(_)}catch(B){var g;g=`Suffixed cookie failed due to ${B.message} (secure-context: ${window.isSecureContext}, url: ${window.location.href})`,Ji.has(g)||(console.log(g),Ji.add(g));let{default:b}=await c.e("199").then(c.t.bind(c,394,23)),{default:w}=await c.e("199").then(c.t.bind(c,7202,23)),U=b(_);l=w.stringify(U).replace(/\+/gi,"-").replace(/\//gi,"_").substring(0,8)}return l}let ks=()=>{let _=ie()?"None":"Lax",l=wl(_);return{sameSite:_,secure:l}};var wA=c(2788),Ld=c.n(wA);class $d{lock=(function(l){let g=new(Ld());return window.addEventListener("beforeunload",async()=>{await g.releaseLock(l)}),{acquireLockAndRun:async B=>{if("locks"in navigator&&isSecureContext){let b=new AbortController,w=setTimeout(()=>b.abort(),4999);return await navigator.locks.request(l,{signal:b.signal},async()=>(clearTimeout(w),await B())).catch(()=>!1)}if(await g.acquireLock(l,5e3))try{return await B()}finally{await g.releaseLock(l)}}}})("clerk.lock.refreshSessionToken");workerTimers=lc();timerId=null;initiated=!1;startPollingForSessionToken(l){if(this.timerId||this.initiated)return;let g=async()=>{this.initiated=!0,await this.lock.acquireLockAndRun(l),this.timerId=this.workerTimers.setTimeout(g,5e3)};g()}stopPollingForSessionToken(){this.timerId!=null&&(this.workerTimers.clearTimeout(this.timerId),this.timerId=null),this.initiated=!1}}class Eu{clerk;instanceType;clerkEventBus;poller=null;clientUat;sessionCookie;activeCookie;devBrowser;static async create(l,g,B,b){let w=await Os(l.publishableKey),U=new Eu(l,g,w,B,b);return await U.setup(),U}constructor(l,g,B,b,w){this.clerk=l,this.instanceType=b,this.clerkEventBus=w,Jn.on(bs,({token:U})=>{this.updateSessionCookie(U&&U.getRawString()),this.setClientUatCookieForDevelopmentInstances()}),Jn.on(es,()=>this.handleSignOut()),this.refreshTokenOnFocus(),this.startPollingForToken(),this.clientUat=(U=>{let H=co(SA),$=co(Sr(SA,U));return{set:M=>{let X=QA(Date.now(),1),se=ie()?"None":"Strict",ce=wl(se),he=(function(ze=window.location.hostname,qe=Md){if(d)return d;if(["localhost","127.0.0.1","0.0.0.0"].includes(ze))return ze;let Se=ze.split(".");if(Se.length===1)return ze;for(let Ye=Se.length-2;Ye>=0;Ye--){let Xe=Se.slice(Ye).join(".");if(qe.set("1",{domain:Xe}),qe.get()==="1")return qe.remove({domain:Xe}),d=Xe,Xe;qe.remove({domain:Xe})}})(),Ie="0";M&&M.updatedAt&&M.signedInSessions.length>0&&(Ie=Math.floor(M.updatedAt.getTime()/1e3).toString()),$.remove(),H.remove(),$.set(Ie,{domain:he,expires:X,partitioned:!1,sameSite:se,secure:ce}),H.set(Ie,{domain:he,expires:X,partitioned:!1,sameSite:se,secure:ce})},get:()=>parseInt($.get()||H.get()||"0",10)}})(B),this.sessionCookie=(U=>{let H=co(hc),$=co(Sr(hc,U)),M=()=>{let X=bA();H.remove(X),$.remove(X)};return{set:X=>{let se=QA(Date.now(),1),{sameSite:ce,secure:he,partitioned:Ie}=bA();Ie&&M(),H.set(X,{expires:se,sameSite:ce,secure:he,partitioned:Ie}),$.set(X,{expires:se,sameSite:ce,secure:he,partitioned:Ie})},remove:M,get:()=>$.get()||H.get()}})(B),this.activeCookie=(()=>{let U=co("clerk_active_context"),H={secure:wl("None")};return{set:$=>{U.set($,H)},get:()=>U.get(),remove:()=>U.remove(H)}})(),this.devBrowser=(function({cookieSuffix:U,frontendApi:H,fapiClient:$}){let M=(he=>{let Ie=co(ls),ze=co(Sr(ls,he));return{get:()=>ze.get()||Ie.get(),set:qe=>{let Se=QA(Date.now(),1),{sameSite:Ye,secure:Xe}=ks();ze.set(qe,{expires:Se,sameSite:Ye,secure:Xe}),Ie.set(qe,{expires:Se,sameSite:Ye,secure:Xe})},remove:()=>{let qe=ks();ze.remove(qe),Ie.remove(qe)}}})(U);function X(){return M.get()}function se(he){M.set(he)}function ce(){M.remove()}return{clear:function(){ce()},setup:async function(){if(!gl(H))return;$.onBeforeRequest(Se=>{let Ye=X();Ye&&Se?.url&&(Se.url=mc(Se.url,Ye))}),$.onAfterResponse((Se,Ye)=>{let Xe=Ye?.headers?.get("Clerk-Db-Jwt");Xe&&se(Xe)});let he=(function(Se){let Ye=Se.searchParams.get(ls)||"";return Rs(Se).href!==Se.href&&globalThis.history!==void 0&&globalThis.history.replaceState(null,"",Rs(Se)),Ye})(new URL(window.location.href));if(he)return void se(he);if(M.get())return;let Ie=$.buildUrl({path:"/dev_browser"}),ze=await fetch(Ie.toString(),{method:"POST"});if(!ze.ok){let Se=(function(Ye=[]){return Ye.length>0?Ye.map(Xe=>new at(Xe)):[]})((await ze.json()).errors);Se[0]?Xu(Se[0].longMessage):Xu()}let qe=await ze.json();se(qe?.id)},getDevBrowserJWT:X,setDevBrowserJWT:se,removeDevBrowserJWT:ce}})({frontendApi:l.frontendApi,fapiClient:g,cookieSuffix:B})}async setup(){return this.instanceType==="production"?this.setupProduction():this.setupDevelopment()}isSignedOut(){return this.clerk.loaded?!!this.clerk.user:0>=this.clientUat.get()}async handleUnauthenticatedDevBrowser(){this.devBrowser.clear(),await this.devBrowser.setup()}decorateUrlWithDevBrowserToken(l){let g=this.devBrowser.getDevBrowserJWT();if(!g)throw Error(`${vi} Missing dev browser jwt. Please contact support.`);return mc(l,g)}async setupDevelopment(){await this.devBrowser.setup()}setupProduction(){this.devBrowser.clear()}startPollingForToken(){this.poller||(this.poller=new $d,this.poller.startPollingForSessionToken(()=>this.refreshSessionToken()))}stopPollingForToken(){this.poller&&(this.poller.stopPollingForSessionToken(),this.poller=null)}refreshTokenOnFocus(){window.addEventListener("focus",()=>{document.visibilityState==="visible"&&this.refreshSessionToken({updateCookieImmediately:!0})})}async refreshSessionToken({updateCookieImmediately:l=!1}={}){if(this.clerk.session)try{let g=await this.clerk.session.getToken();l&&this.updateSessionCookie(g)}catch(g){return this.handleGetTokenError(g)}}updateSessionCookie(l){if(document.hasFocus()||this.isCurrentContextActive())return l||O()||Gt.warn("Removing session cookie (offline)",{sessionId:this.clerk.session?.id},"authCookieService"),this.setActiveContextInStorage(),l?this.sessionCookie.set(l):this.sessionCookie.remove()}setClientUatCookieForDevelopmentInstances(){this.instanceType!=="production"&&this.inCustomDevelopmentDomain()&&this.clientUat.set(this.clerk.client)}inCustomDevelopmentDomain(){let l=this.clerk.frontendApi.replace("clerk.","");return!window.location.host.endsWith(l)}handleGetTokenError(l){if(oe(l)||De(l)||(`${l.message}${l.name}`||"").toLowerCase().replace(/\s+/g,"").includes("networkerror")){if(xe(l))return void this.clerk.handleUnauthenticated().catch(st);this.clerkEventBus.emit(ve,"degraded")}}handleSignOut(){this.activeCookie.remove(),this.sessionCookie.remove(),this.setClientUatCookieForDevelopmentInstances()}setActiveContextInStorage(){let l=this.clerk.session?.id||"",g=this.clerk.organization?.id||"",B=`${l}:${g}`;B!==":"?this.activeCookie.set(B):this.activeCookie.remove()}isCurrentContextActive(){let l=this.activeCookie.get();if(!l)return!0;let[g,B]=l.split(":"),b=this.clerk.session?.id||"",w=this.clerk.organization?.id||"";return g===b&&B===w}getSessionCookie(){return this.sessionCookie.get()}}class Hd{clerk;captchaChallenge;timers;constructor(l,g=new _s(l),B=lc()){this.clerk=l,this.captchaChallenge=g,this.timers=B}async start(){this.isEnabled()&&(await this.challengeAndSend(),this.timers.setInterval(()=>{this.challengeAndSend()},this.intervalInMs()))}async challengeAndSend(){if(!(!this.clerk.client||this.clientBypass()))try{let l=await this.captchaChallenge.invisible({action:"heartbeat"});await this.clerk.client.__internal_sendCaptchaToken(l)}catch{}}isEnabled(){return!!this.clerk.__unstable__environment?.displayConfig?.captchaHeartbeat}clientBypass(){return this.clerk.client?.captchaBypass}intervalInMs(){return this.clerk.__unstable__environment?.displayConfig?.captchaHeartbeatIntervalMs??6e5}}let Uo=["/client","/waitlist"];class xl{async getBaseFapiProxyOptions(){let l=await fe.clerk.session?.getToken();if(!l)throw new ye("No valid session token available",{code:"no_session_token"});return{pathPrefix:"",headers:{Authorization:`Bearer ${l}`,"Content-Type":"application/json"},credentials:"same-origin"}}async getAll(l){return fe._fetch({...await this.getBaseFapiProxyOptions(),method:"GET",path:"/api_keys",search:ar({...l,subject:l?.subject??fe.clerk.organization?.id??fe.clerk.user?.id??"",query:l?.query??""})}).then(g=>{let{data:B,total_count:b}=g;return{total_count:b,data:B.map(w=>new gc(w))}})}async create(l){return new gc(await fe._fetch({...await this.getBaseFapiProxyOptions(),path:"/api_keys",method:"POST",body:JSON.stringify({type:"api_key",name:l.name,subject:l.subject??fe.clerk.organization?.id??fe.clerk.user?.id??"",description:l.description,seconds_until_expiration:l.secondsUntilExpiration})}))}async revoke(l){return new gc(await fe._fetch({...await this.getBaseFapiProxyOptions(),method:"POST",path:`/api_keys/${l.apiKeyID}/revoke`,body:JSON.stringify({revocation_reason:l.revocationReason})}))}}let yu={cache:new Map,listeners:new Map,pendingOperations:new Map,safeGet:(l,g)=>(g.has(l)||g.set(l,new Set),g.get(l)),safeGetOperations(l){return this.pendingOperations.has(l)||this.pendingOperations.set(l,new Map),this.pendingOperations.get(l)}},Ec="completed";function Ot(_){let l=_.isStarting||_.isConfirming?"fetching":_.error?"error":"idle",g=_.checkout?.status===Ec?Ec:_.checkout?"needs_confirmation":"needs_initialization";return{..._,fetchStatus:l,status:g}}let yc=Object.freeze(Ot({isStarting:!1,isConfirming:!1,error:null,checkout:null}));class Gd{#n=!1;load(l){let g=l?.protectConfig;if(g?.loaders&&Array.isArray(g.loaders)&&g.loaders.length!==0&&!this.#n&&I())for(let B of(this.#n=!0,g.loaders))try{this.applyLoader(B)}catch(b){We(`[protect] failed to apply loader: ${b}`)}}applyLoader(l){if(l.rollout!==void 0){let w=l.rollout;if(typeof w!="number"||w<0)return void We(`[protect] loader rollout value is invalid: ${w}`);if(w===0||Math.random()>w)return}let g=l.type||"script",B=l.target||"body",b=document.createElement(g);if(l.attributes)for(let[w,U]of Object.entries(l.attributes))switch(typeof U){case"string":case"number":case"boolean":b.setAttribute(w,String(U));break;default:We(`[protect] loader attribute is invalid type: ${w}=${U}`)}switch(l.textContent&&typeof l.textContent=="string"&&(b.textContent=l.textContent),B){case"head":document.head.appendChild(b);break;case"body":document.body.appendChild(b);break;default:if(B?.startsWith("#")){let w=document.getElementById(B.substring(1));if(!w)return void We(`[protect] loader target element not found: ${B}`);w.appendChild(b);return}We(`[protect] loader target is invalid: ${B}`)}}}let jd={"choose-organization":"choose-organization"},Pd=_=>`/tasks/${jd[_.key]}`;function xA(_,{navigate:l,baseUrl:g}){let B=_.currentTask;if(B)return l((function(b,w){let U=Oa();return Wn({base:w.base,hashPath:Pd(b),searchParams:U},{stringify:!0})})(B,{base:g}))}($e=mt||(mt={}))[$e.None=0]="None",$e[$e.Mutable=1]="Mutable",$e[$e.Watching=2]="Watching",$e[$e.RecursedCheck=4]="RecursedCheck",$e[$e.Recursed=8]="Recursed",$e[$e.Dirty=16]="Dirty",$e[$e.Pending=32]="Pending";let vc=[],{link:vu,unlink:Fs,propagate:_a,checkDirty:Kn,endTracking:Cc,startTracking:zs,shallowPropagate:Ic}=(function({update:_,notify:l,unwatched:g}){let B=0;return{link:function(U,H){let $,M=H.depsTail;if(M!==void 0&&M.dep===U)return;if(4&H.flags&&($=M!==void 0?M.nextDep:H.deps)!==void 0&&$.dep===U){$.version=B,H.depsTail=$;return}let X=U.subsTail;if(X!==void 0&&X.version===B&&X.sub===H)return;let se=H.depsTail=U.subsTail={version:B,dep:U,sub:H,prevDep:M,nextDep:$,prevSub:X,nextSub:void 0};$!==void 0&&($.prevDep=se),M!==void 0?M.nextDep=se:H.deps=se,X!==void 0?X.nextSub=se:U.subs=se},unlink:b,propagate:function(U){let H,$=U.nextSub;e:for(;;){let M=U.sub,X=M.flags;if(3&X&&(60&X?12&X?4&X?!(48&X)&&(function(se,ce){let he=ce.depsTail;if(he!==void 0){let Ie=ce.deps;do{if(Ie===se)return!0;if(Ie===he)break;Ie=Ie.nextDep}while(Ie!==void 0)}return!1})(U,M)?(M.flags=40|X,X&=1):X=0:M.flags=-9&X|32:X=0:M.flags=32|X,2&X&&l(M),1&X)){let se=M.subs;if(se!==void 0){U=se,se.nextSub!==void 0&&(H={value:$,prev:H},$=U.nextSub);continue}}if((U=$)!==void 0){$=U.nextSub;continue}for(;H!==void 0;)if(U=H.value,H=H.prev,U!==void 0){$=U.nextSub;continue e}break}},checkDirty:function(U,H){let $,M=0;e:for(;;){let X=U.dep,se=X.flags,ce=!1;if(16&H.flags)ce=!0;else if((17&se)==17){if(_(X)){let he=X.subs;he.nextSub!==void 0&&w(he),ce=!0}}else if((33&se)==33){(U.nextSub!==void 0||U.prevSub!==void 0)&&($={value:U,prev:$}),U=X.deps,H=X,++M;continue}if(!ce&&U.nextDep!==void 0){U=U.nextDep;continue}for(;M;){--M;let he=H.subs,Ie=he.nextSub!==void 0;if(Ie?(U=$.value,$=$.prev):U=he,ce){if(_(H)){Ie&&w(he),H=U.sub;continue}}else H.flags&=-33;if(H=U.sub,U.nextDep!==void 0){U=U.nextDep;continue e}ce=!1}return ce}},endTracking:function(U){let H=U.depsTail,$=H!==void 0?H.nextDep:U.deps;for(;$!==void 0;)$=b($,U);U.flags&=-5},startTracking:function(U){++B,U.depsTail=void 0,U.flags=-57&U.flags|4},shallowPropagate:w};function b(U,H=U.sub){let $=U.dep,M=U.prevDep,X=U.nextDep,se=U.nextSub,ce=U.prevSub;return X!==void 0?X.prevDep=M:H.depsTail=M,M!==void 0?M.nextDep=X:H.deps=X,se!==void 0?se.prevSub=ce:$.subsTail=ce,ce!==void 0?ce.nextSub=se:($.subs=se)===void 0&&g($),X}function w(U){do{let H=U.sub,$=U.nextSub,M=H.flags;(48&M)==32&&(H.flags=16|M,2&M&&l(H)),U=$}while(U!==void 0)}})({update:_=>"getter"in _?Bc(_):_c(_,_.value),notify:function _(l){let g=l.flags;if(!(64&g)){l.flags=64|g;let B=l.subs;B!==void 0?_(B.sub):vc[UA++]=l}},unwatched(_){if("getter"in _){let l=_.deps;if(l!==void 0){_.flags=17;do l=Fs(l,_);while(l!==void 0)}}else"previousValue"in _||Gr.call(_)}}),Hr=0,UA=0;function us(_){let l=E;return E=_,l}function Ao(_){return pm.bind({previousValue:_,value:_,subs:void 0,subsTail:void 0,flags:1})}function cs(_){return nn.bind({value:void 0,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:17,getter:_})}function Jd(_){let l={fn:_,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:2};E!==void 0?vu(l,E):C!==void 0&&vu(l,C);let g=us(l);try{l.fn()}finally{us(g)}return Gr.bind(l)}function Bc(_){let l=us(_);zs(_);try{let g=_.value;return g!==(_.value=_.getter(g))}finally{us(l),Cc(_)}}function _c(_,l){return _.flags=1,_.previousValue!==(_.previousValue=l)}function nn(){let _=this.flags;if(16&_||32&_&&Kn(this.deps,this)){if(Bc(this)){let l=this.subs;l!==void 0&&Ic(l)}}else 32&_&&(this.flags=-33&_);return E!==void 0?vu(this,E):C!==void 0&&vu(this,C),this.value}function pm(..._){if(_.length){let l=_[0];if(this.value!==(this.value=l)){this.flags=17;let g=this.subs;g!==void 0&&(_a(g),(function(){for(;Hr<UA;){let B=vc[Hr];vc[Hr++]=void 0,(function b(w,U){if(16&U||32&U&&Kn(w.deps,w)){let $=us(w);zs(w);try{w.fn()}finally{us($),Cc(w)}return}32&U&&(w.flags=-33&U);let H=w.deps;for(;H!==void 0;){let $=H.dep,M=$.flags;64&M&&b($,$.flags=-65&M),H=H.nextDep}})(B,B.flags&=-65)}Hr=0,UA=0})())}}else{let l=this.value;if(16&this.flags&&_c(this,l)){let g=this.subs;g!==void 0&&Ic(g)}return E!==void 0&&vu(this,E),l}}function Gr(){let _=this.deps;for(;_!==void 0;)_=Fs(_,this);let l=this.subs;l!==void 0&&Fs(l),this.flags=0}let NA=Ao({resource:null}),Cu=Ao({error:null}),ua=Ao({status:"idle"}),Ul=cs(()=>{let _=NA().resource,l=Cu().error,g=ua().status;return{errors:Dc(l,{identifier:null,password:null,code:null}),fetchStatus:g,signIn:_?_.__internal_future:null}}),Nl=Ao({resource:null}),RA=Ao({error:null}),Iu=Ao({status:"idle"}),ep=cs(()=>{let _=Nl().resource,l=RA().error,g=Iu().status;return{errors:Dc(l,{firstName:null,lastName:null,emailAddress:null,phoneNumber:null,password:null,username:null,code:null,captcha:null,legalAccepted:null}),fetchStatus:g,signUp:_?_.__internal_future:null}});function Dc(_,l){let g={fields:{...l},raw:null,global:null};return _&&(oe(_)?_.errors.some(B=>"meta"in B&&B.meta&&"paramName"in B.meta)?_.errors.forEach(B=>{if(g.raw?g.raw.push(B):g.raw=[B],"meta"in B&&B.meta&&"paramName"in B.meta){let b=Ei(B.meta.paramName);b in g.fields&&(g.fields[b]=B)}}):(g.raw=[_],g.global=[Qn(_)]):(g.raw=[_],g.global=[Qn(_)])),g}class No{signInResourceSignal=NA;signInErrorSignal=Cu;signInFetchSignal=ua;signInSignal=Ul;signUpResourceSignal=Nl;signUpErrorSignal=RA;signUpFetchSignal=Iu;signUpSignal=ep;__internal_effect=Jd;__internal_computed=cs;constructor(){Jn.on("resource:update",this.onResourceUpdated),Jn.on("resource:error",this.onResourceError),Jn.on("resource:fetch",this.onResourceFetch)}onResourceError=l=>{l.resource instanceof hn&&this.signInErrorSignal({error:l.error}),l.resource instanceof Rn&&this.signUpErrorSignal({error:l.error})};onResourceUpdated=l=>{l.resource instanceof hn&&this.signInResourceSignal({resource:l.resource}),l.resource instanceof Rn&&this.signUpResourceSignal({resource:l.resource})};onResourceFetch=l=>{l.resource instanceof hn&&this.signInFetchSignal({status:l.status}),l.resource instanceof Rn&&this.signUpFetchSignal({status:l.status})}}let Ms=_=>`\u{1F512} Clerk:
|
|
367
|
+
${_.trim()}
|
|
368
|
+
(This notice only appears in development)`,Zn={cannotRenderComponentWhenSessionExists:"The <SignUp/> and <SignIn/> components cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the Home URL instead.",cannotRenderSignUpComponentWhenSessionExists:"The <SignUp/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the value set in `afterSignUp` URL instead.",cannotRenderSignUpComponentWhenTaskExists:"The <SignUp/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenTaskDoesNotExist:"<TaskChooseOrganization/> cannot render unless a session task is pending. Clerk is redirecting to the value set in `redirectUrlComplete` instead.",cannotRenderSignInComponentWhenSessionExists:"The <SignIn/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the `afterSignIn` URL instead.",cannotRenderSignInComponentWhenTaskExists:"The <SignIn/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenUserDoesNotExist:"<UserProfile/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotRenderComponentWhenOrgDoesNotExist:"<OrganizationProfile/> cannot render unless an organization is active. Since no organization is currently active, this is no-op.",cannotRenderAnyOrganizationComponent:_=>Ms(`The <${_}/> cannot be rendered when the feature is turned off. Visit 'dashboard.clerk.com' to enable the feature. Since the feature is turned off, this is no-op.`),cannotRenderAnyBillingComponent:_=>Ms(`The <${_}/> component cannot be rendered when billing is disabled. Visit 'https://dashboard.clerk.com/last-active?path=billing/settings' to follow the necessary steps to enable billing. Since billing is disabled, this is no-op.`),cannotOpenUserProfile:"The UserProfile modal cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenCheckout:"The Checkout drawer cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenSignInOrSignUp:"The SignIn or SignUp modals do not render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, this is no-op.",cannotRenderAPIKeysComponent:"The <APIKeys/> component cannot be rendered when API keys are disabled. Since API keys are disabled, this is no-op.",cannotRenderAPIKeysComponentForUserWhenDisabled:"The <APIKeys/> component cannot be rendered when user API keys are disabled. Since user API keys are disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenDisabled:"The <APIKeys/> component cannot be rendered when organization API keys are disabled. Since organization API keys are disabled, this is no-op."};for(let _ of Object.keys(Zn)){let l=Zn[_];typeof l!="function"&&(Zn[_]=Ms(l))}let Bu="cannot_render_billing_disabled",Rl="cannot_render_user_missing",ca="cannot_render_organizations_disabled",Qc="cannot_render_organization_missing",Kd="cannot_render_single_session_enabled",ja={polling:!0,standardBrowser:!0,touchSession:!0,isSatellite:!1,signInUrl:void 0,signUpUrl:void 0,afterSignOutUrl:void 0,signInFallbackRedirectUrl:void 0,signUpFallbackRedirectUrl:void 0,signInForceRedirectUrl:void 0,signUpForceRedirectUrl:void 0,newSubscriptionRedirectUrl:void 0};class Ii{static mountComponentRenderer;static version="5.109.2";static sdkMetadata={name:"@clerk/clerk-js",version:"5.109.2"};static _billing;static _apiKeys;_checkout;client;session;organization;user;__internal_country;telemetry;__internal_state=new No;internal_last_error=null;environment;#n;#r="";#i;#s;#o;#d;#A;#c=null;#e;#l;#a;#m="loading";#f=[];#p=[];#t={};#v=null;#C=0;#u=re();get __internal_queryClient(){return this.#n||c.e("437").then(c.bind(c,1522)).then(l=>l.QueryClient).then(l=>{this.#n||(this.#n=new l,this.#u.emit("queryClientStatus","ready"))}),this.#n?{__tag:"clerk-rq-client",client:this.#n}:void 0}__internal_getCachedResources;__internal_createPublicCredentials;__internal_getPublicCredentials;__internal_isWebAuthnSupported;__internal_isWebAuthnAutofillSupported;__internal_isWebAuthnPlatformAuthenticatorSupported;__internal_setActiveInProgress=!1;get publishableKey(){return this.#r}get version(){return Ii.version}set sdkMetadata(l){Ii.sdkMetadata=l}get sdkMetadata(){return Ii.sdkMetadata}get loaded(){return this.status==="degraded"||this.status==="ready"}get status(){return this.#m}get isSatellite(){return!!J()&&nt(this.#t.isSatellite,new URL(window.location.href),!1)}get domain(){if(J()){let l=(function(g=""){return(g||"").replace(/^.+:\/\//,"")})(nt(this.#i,new URL(window.location.href)));if(this.#a==="production"){let g;if(!l)return"";if(l.match(/^(clerk\.)+\w*$/))g=/(clerk\.)*(?=clerk\.)/;else{if(l.match(/\.clerk.accounts/))return l;g=/^(clerk\.)*/gi}return`clerk.${l.replace(g,"")}`}return l}return""}get proxyUrl(){if(J()){let l=nt(this.#s,new URL(window.location.href));return!l||Ki(l)||di(l)||ka.throwInvalidProxyUrl({url:l}),l?di(l)?new URL(l,window.location.origin).toString():l:""}return""}get frontendApi(){let l=Ai(this.publishableKey);return l?l.frontendApi:ka.throwInvalidPublishableKeyError({key:this.publishableKey})}get instanceType(){return this.#a}get isStandardBrowser(){return this.#t.standardBrowser||!1}get billing(){return Ii._billing||(Ii._billing=new bi),Ii._billing}get apiKeys(){return Ii._apiKeys||(Ii._apiKeys=new xl),Ii._apiKeys}__experimental_checkout(l){return this._checkout||(this._checkout=g=>(function(B,b){let{for:w,planId:U,planPeriod:H}=b;if(!B.isSignedIn||!B.user)throw Error("Clerk: User is not authenticated");if(w==="organization"&&!B.organization)throw Error("Clerk: Use `setActive` to set the organization");let $=(function(M){let X=yu.safeGet(M,yu.listeners),se=yu.safeGetOperations(M),ce=()=>yu.cache.get(M)||yc,he=Ie=>{let ze=Ot({...ce(),...Ie});yu.cache.set(M,Object.freeze(ze)),X.forEach(qe=>qe(ce()))};return{subscribe:Ie=>(X.add(Ie),()=>{X.delete(Ie)}),getCacheState:ce,async executeOperation(Ie,ze){let qe=`${M}-${Ie}`,Se=Ie==="start"?"isStarting":"isConfirming",Ye=se.get(qe);if(Ye)return await Ye;let Xe=(async()=>{let xt=null,qt=null;try{he({[Se]:!0,error:null,...Ie==="start"?{checkout:null}:{}});let wt=await ze();he({[Se]:!1,error:null,checkout:wt}),xt=wt}catch(wt){qt=wt,he({[Se]:!1,error:wt})}finally{se.delete(qe)}return{data:xt,error:qt}})();return se.set(qe,Xe),Xe},clearCheckout(){se.size===0&&he(yc)}}})((function(M){let{userId:X,orgId:se,planId:ce,planPeriod:he}=M;return`${X}-${se||"user"}-${ce}-${he}`})({userId:B.user.id,orgId:w==="organization"?B.organization?.id:void 0,planId:U,planPeriod:H}));return{start:async()=>$.executeOperation("start",async()=>await B.billing?.startCheckout({...w==="organization"?{orgId:B.organization?.id}:{},planId:U,planPeriod:H})),confirm:async M=>$.executeOperation("confirm",async()=>{let X=$.getCacheState().checkout;if(!X)throw Error("Clerk: Call `start` before `confirm`");return X.confirm(M)}),finalize:M=>{let{navigate:X}=M||{};return B.setActive({session:B.session?.id,navigate:X})},clear:()=>$.clearCheckout(),subscribe:M=>$.subscribe(M),getState:$.getCacheState}})(this,g)),this._checkout(l)}__internal_getOption(l){return this.#t[l]}get isSignedIn(){return this?.session?.status!=="pending"&&!!this.session}constructor(l,g){if(!(l=(l||"").trim()))return ka.throwMissingPublishableKeyError();let B=Ai(l);if(!B)return ka.throwInvalidPublishableKeyError({key:l});this.#i=g?.domain,this.#s=g?.proxyUrl,this.environment=Ti.getInstance(),this.#a=B.instanceType,this.#r=l,this.#l=(function(b){let w=[],U=[];async function H(ce){for await(let he of[typeof window<"u"&&window.__unstable__onBeforeRequest,...w].filter(Ie=>Ie))if(await he(ce)===!1)return!1;return!0}async function $(ce,he){for await(let Ie of[typeof window<"u"&&window.__unstable__onAfterResponse,...U].filter(ze=>ze))if(await Ie(ce,he)===!1)return!1;return!0}function M({method:ce,path:he,sessionId:Ie,search:ze,rotatingTokenNonce:qe}){let Se=new URLSearchParams(ze);return Se.append("__clerk_api_version","2025-11-10"),Se.append("_clerk_js_version","5.109.2"),qe&&Se.append("rotating_token_nonce",qe),b.domain&&b.instanceType==="development"&&b.isSatellite&&Se.append("__domain",b.domain),ce&&ce!=="GET"&&ce!=="POST"&&Se.append("_method",ce),he&&!Uo.some(Ye=>he.startsWith(Ye))&&Ie&&Se.append("_clerk_session_id",Ie),pl([...Se.entries()].reduce((Ye,[Xe,xt])=>(Ye[Xe]=xt.includes(",")?xt.split(","):xt,Ye),{}))}function X(ce){let{path:he,pathPrefix:Ie="v1"}=ce;if(b.proxyUrl){let qe=new URL(b.proxyUrl),Se=qe.pathname.slice(1);return Se.endsWith("/")&&(Se=Se.slice(0,-1)),Wn({base:qe.origin,pathname:`${Se}/${Ie}${he}`,search:M(ce)},{stringify:!1})}let ze=b.instanceType==="production"?b.domain:"";return Wn({base:`https://${ze||b.frontendApi}`,pathname:`${Ie}${he}`,search:M(ce)},{stringify:!1})}async function se(ce,he){let Ie,ze={...ce},{method:qe="GET",body:Se}=ze;!Se||typeof Se!="object"||Se instanceof FormData||(ze.body=(function(Qt){if(!Qt||typeof Qt!="object"||Object.getPrototypeOf(Qt)!==Object.prototype)return Qt;let kt={};for(let[sn,Hn]of Object.entries(Qt))Hn!==void 0&&(kt[sn]=Hn);return kt})(Se)),ze.url=X({...ze,sessionId:b.getSessionId()}),ze.headers=new Headers(ze.headers),qe==="GET"||Se instanceof FormData||ze.headers.has("content-type")||ze.headers.set("content-type","application/x-www-form-urlencoded"),ze.headers.get("content-type")==="application/x-www-form-urlencoded"&&(ze.body=Se&&pl(Se,{keyEncoder:tr}));let Ye=await H(ze),Xe=qe==="GET"?"GET":"POST",xt=ze.url,qt={...ze,method:Xe,credentials:ze.credentials||"include"};try{if(Ye){let Qt=he?.fetchMaxTries??(z()?4:11);Ie=await Bs(()=>fetch(xt,qt),{retryImmediately:!0,initialDelay:700,maxDelayBetweenRetries:5e3,shouldRetry:(kt,sn)=>Xe==="GET"&&sn<Qt,onBeforeRetry:kt=>{xt.searchParams.set("_clerk_retry_attempt",kt.toString())}})}else Ie=new Response("{}",ze)}catch(Qt){let kt=xt.toString();throw Gt.error("network error",{error:Qt,url:kt,method:qe},"fapiClient"),Error(`${vi} Network error at "${kt}" - ${Qt}. Please try again.`)}let wt=Ie.status!==204?await Ie.json():null,bt=Object.assign(Ie,{payload:wt});return Ie.ok||Gt.error("request failed",{method:qe,path:ze.path,status:Ie.status},"fapiClient"),await $(ze,bt),bt}return{buildEmailAddress:function(ce){return(function({localPart:he,frontendApi:Ie}){let ze=Ie?Ie.replace("clerk.",""):"clerk.com";return`${he}@${ze}`})({localPart:ce,frontendApi:b.frontendApi})},buildUrl:X,onAfterResponse:function(ce){U.push(ce)},onBeforeRequest:function(ce){w.push(ce)},request:se}})({domain:this.domain,frontendApi:this.frontendApi,instanceType:this.instanceType,isSatellite:this.isSatellite,getSessionId:()=>this.session?.id,proxyUrl:this.proxyUrl}),this.#u.emit(ve,"loading"),this.#u.prioritizedOn(ve,b=>this.#m=b),fe.clerk=this,this.#d=new Gd}getFapiClient=()=>this.#l;load=async l=>{if(Gt.info("load() start",{},"clerk"),!this.loaded){if(this.#a==="development"&&We("Clerk: Clerk has been loaded with development keys. Development instances have strict usage limits and should not be used when deploying your application to production. Learn more: https://clerk.com/docs/deployments/overview"),this.#t=this.#D(l),this.#a==="development"&&(this.#t.routerPush||this.#t.routerReplace)&&(!this.#t.routerPush||!this.#t.routerReplace)){let g=this.#t.routerPush?"routerReplace":"routerPush";We(`Clerk: Both \`routerPush\` and \`routerReplace\` need to be defined, but \`${g}\` is not defined. This may cause issues with navigation in your application.`)}Jn.on(cu,()=>{this.#h(this.session),this.#g()}),Ma(this.#t),this.#t.sdkMetadata&&(Ii.sdkMetadata=this.#t.sdkMetadata),this.#t.telemetry!==!1&&(this.telemetry=new br({clerkVersion:Ii.version,samplingRate:1,perEventSampling:!this.#t.__internal_keyless_claimKeylessApplicationUrl&&void 0,publishableKey:this.publishableKey,...this.#t.telemetry}),this.#t.appearance&&this.telemetry.record({event:"THEME_USAGE",eventSamplingRate:1,payload:(function(g){let B;if(!g||typeof g!="object")return{};let b=g.theme||g.baseTheme;if(!b)return{};if(Array.isArray(b))for(let w of b){let U=Qe(w);if(U){B=U;break}}else B=Qe(b);return{themeName:B}})(this.#t.appearance)}));try{this.#t.standardBrowser?await this.#T():await this.#O();let g=this.#t.telemetry,B=g!==!1&&!g?.disabled,b=!!this.#t.__internal_keyless_claimKeylessApplicationUrl,w=!!this.environment?.clientDebugMode,U=this.environment?.isProduction?.()??!1,H=w||b&&!U,$=b&&!w?"error":void 0;H&&(function(M={}){if(Rt)return;let{enabled:X=!1,...se}=M;X&&(vt=!0,Rt=!0,Qo(se))})({enabled:!0,...$?{logLevel:$}:{},...B&&this.telemetry?{telemetryCollector:this.telemetry}:{}}),this.#d?.load(this.environment),Gt.info("load() complete",{},"clerk")}catch(g){throw this.#u.emit(ve,"error"),Gt.error("load() failed",{error:g},"clerk"),g}}};#E(){let l;return!!(!this.#t.signUpUrl&&this.#t.signInUrl&&(l=this.#t.signInUrl,!He.test(l)))}signOut=async(l,g)=>{if(!this.client||this.client.sessions.length===0)return;let B=typeof window<"u"&&typeof window.__unstable__onBeforeSetActive=="function"?window.__unstable__onBeforeSetActive:st,b=typeof window<"u"&&typeof window.__unstable__onAfterSetActive=="function"?window.__unstable__onAfterSetActive:st,w=l&&typeof l=="object"?l:g||{},U=w?.redirectUrl||this.buildAfterSignOutUrl();Gt.debug("signOut() start",{hasClient:!!this.client,multiSessionCount:this.client?.signedInSessions.length??0,redirectUrl:U,sessionTarget:w?.sessionId??null},"clerk");let H=typeof l=="function"?l:void 0,$=async()=>{let se=Al(this.#t.standardBrowser);Jn.emit(es,null),this.#y(),await se.track(async()=>{H?await H():await this.navigate(U)}),se.isUnloading()||(this.#h(),this.#g(),await b())};if(await B(),!w.sessionId||this.client.signedInSessions.length===1){this.#t.experimental?.persistClient??!0?await this.client.removeSessions():await this.client.destroy(),await $(),Gt.info("signOut() complete",{redirectUrl:$r(U)},"clerk");return}let M=this.client.signedInSessions.find(se=>se.id===w.sessionId),X=M?.id&&this.session?.id===M.id;await M?.remove(),X&&(await $(),Gt.info("signOut() complete",{redirectUrl:$r(U)},"clerk"))};openGoogleOneTap=l=>{let g="GoogleOneTap";this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:g}).then(B=>B.openModal("googleOneTap",l||{})),this.telemetry?.record(V(g,l))};closeGoogleOneTap=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("googleOneTap"))};openSignIn=l=>{if(this.assertComponentsReady(this.#e),ql(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotOpenSignInOrSignUp,{code:Kd});return}let g="SignIn";this.#e.ensureMounted({preloadHint:g}).then(b=>b.openModal("signIn",l||{}));let B={withSignUp:l?.withSignUp??this.#E()};this.telemetry?.record(V(g,l,B))};closeSignIn=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("signIn"))};__internal_openCheckout=l=>{if(this.assertComponentsReady(this.#e),ro(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyBillingComponent("Checkout"),{code:Bu});return}if(!this.user){if(this.#a==="development")throw new ye(Zn.cannotOpenCheckout,{code:Rl});return}this.#e.ensureMounted({preloadHint:"Checkout"}).then(g=>g.openDrawer("checkout",l||{}))};__internal_closeCheckout=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeDrawer("checkout"))};__internal_openPlanDetails=l=>{if(this.assertComponentsReady(this.#e),ro(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyBillingComponent("PlanDetails"),{code:Bu});return}let g="PlanDetails";this.#e.ensureMounted({preloadHint:g}).then(B=>B.openDrawer("planDetails",l||{})),this.telemetry?.record(V(g,l))};__internal_closePlanDetails=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeDrawer("planDetails"))};__internal_openSubscriptionDetails=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"SubscriptionDetails"}).then(g=>g.openDrawer("subscriptionDetails",l||{}))};__internal_closeSubscriptionDetails=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeDrawer("subscriptionDetails"))};__internal_openReverification=l=>{if(this.assertComponentsReady(this.#e),!this.user){if(this.#a==="development")throw new ye(Zn.cannotOpenUserProfile,{code:Rl});return}this.#e.ensureMounted({preloadHint:"UserVerification"}).then(g=>g.openModal("userVerification",l||{})),this.telemetry?.record(V("UserVerification",l))};__internal_closeReverification=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("userVerification"))};__internal_openBlankCaptchaModal=()=>(this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"BlankCaptchaModal"}).then(l=>l.openModal("blankCaptcha",{})));__internal_closeBlankCaptchaModal=()=>(this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"BlankCaptchaModal"}).then(l=>l.closeModal("blankCaptcha")));__internal_loadStripeJs=async()=>{let{loadStripe:l}=await c.e("553").then(c.bind(c,8823));return l};openSignUp=l=>{if(this.assertComponentsReady(this.#e),ql(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotOpenSignInOrSignUp,{code:Kd});return}this.#e.ensureMounted({preloadHint:"SignUp"}).then(g=>g.openModal("signUp",l||{})),this.telemetry?.record(V("SignUp",l))};closeSignUp=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("signUp"))};openUserProfile=l=>{if(this.assertComponentsReady(this.#e),!this.user){if(this.#a==="development")throw new ye(Zn.cannotOpenUserProfile,{code:Rl});return}this.#e.ensureMounted({preloadHint:"UserProfile"}).then(B=>B.openModal("userProfile",l||{}));let g=(l?.customPages?.length||0)>0?{customPages:!0}:void 0;this.telemetry?.record(V("UserProfile",l,g))};closeUserProfile=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("userProfile"))};openOrganizationProfile=l=>{if(this.assertComponentsReady(this.#e),io(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyOrganizationComponent("OrganizationProfile"),{code:ca});return}if(!this.organization){if(this.#a==="development")throw new ye(Zn.cannotRenderComponentWhenOrgDoesNotExist,{code:Qc});return}this.#e.ensureMounted({preloadHint:"OrganizationProfile"}).then(g=>g.openModal("organizationProfile",l||{})),this.telemetry?.record(V("OrganizationProfile",l))};closeOrganizationProfile=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("organizationProfile"))};openCreateOrganization=l=>{if(this.assertComponentsReady(this.#e),io(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyOrganizationComponent("CreateOrganization"),{code:ca});return}this.#e.ensureMounted({preloadHint:"CreateOrganization"}).then(g=>g.openModal("createOrganization",l||{})),this.telemetry?.record(V("CreateOrganization",l))};closeCreateOrganization=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("createOrganization"))};openWaitlist=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"Waitlist"}).then(g=>g.openModal("waitlist",l||{})),this.telemetry?.record(V("Waitlist",l))};closeWaitlist=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("waitlist"))};mountSignIn=(l,g)=>{this.assertComponentsReady(this.#e);let B="SignIn";this.#e.ensureMounted({preloadHint:B}).then(w=>w.mountComponent({name:B,appearanceKey:"signIn",node:l,props:g}));let b={withSignUp:g?.withSignUp??this.#E()};this.telemetry?.record(x(B,g,b))};unmountSignIn=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountUserAvatar=(l,g)=>{this.assertComponentsReady(this.#e);let B="UserAvatar";this.#e.ensureMounted({preloadHint:B}).then(b=>b.mountComponent({name:B,appearanceKey:"userAvatar",node:l,props:g})),this.telemetry?.record(x(B,g))};unmountUserAvatar=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountSignUp=(l,g)=>{this.assertComponentsReady(this.#e);let B="SignUp";this.#e.ensureMounted({preloadHint:B}).then(b=>b.mountComponent({name:B,appearanceKey:"signUp",node:l,props:g})),this.telemetry?.record(x(B,g))};unmountSignUp=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountUserProfile=(l,g)=>{if(this.assertComponentsReady(this.#e),!this.user){if(this.#a==="development")throw new ye(Zn.cannotRenderComponentWhenUserDoesNotExist,{code:Rl});return}let B="UserProfile";this.#e.ensureMounted({preloadHint:B}).then(w=>w.mountComponent({name:B,appearanceKey:"userProfile",node:l,props:g}));let b=(g?.customPages?.length||0)>0?{customPages:!0}:void 0;this.telemetry?.record(x(B,g,b))};unmountUserProfile=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountOrganizationProfile=(l,g)=>{if(this.assertComponentsReady(this.#e),io(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyOrganizationComponent("OrganizationProfile"),{code:ca});return}let B=!!this.user;if(!this.organization&&B){if(this.#a==="development")throw new ye(Zn.cannotRenderComponentWhenOrgDoesNotExist,{code:Qc});return}this.#e.ensureMounted({preloadHint:"OrganizationProfile"}).then(b=>b.mountComponent({name:"OrganizationProfile",appearanceKey:"userProfile",node:l,props:g})),this.telemetry?.record(x("OrganizationProfile",g))};unmountOrganizationProfile=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountCreateOrganization=(l,g)=>{if(this.assertComponentsReady(this.#e),io(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyOrganizationComponent("CreateOrganization"),{code:ca});return}this.#e?.ensureMounted({preloadHint:"CreateOrganization"}).then(B=>B.mountComponent({name:"CreateOrganization",appearanceKey:"createOrganization",node:l,props:g})),this.telemetry?.record(x("CreateOrganization",g))};unmountCreateOrganization=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountOrganizationSwitcher=(l,g)=>{if(this.assertComponentsReady(this.#e),io(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyOrganizationComponent("OrganizationSwitcher"),{code:ca});return}this.#e?.ensureMounted({preloadHint:"OrganizationSwitcher"}).then(B=>B.mountComponent({name:"OrganizationSwitcher",appearanceKey:"organizationSwitcher",node:l,props:g})),this.telemetry?.record(x("OrganizationSwitcher",{...g,forceOrganizationSelection:this.environment?.organizationSettings.forceOrganizationSelection}))};unmountOrganizationSwitcher=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(g=>g.unmountComponent({node:l}))};__experimental_prefetchOrganizationSwitcher=()=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted({preloadHint:"OrganizationSwitcher"}).then(l=>l.prefetch("organizationSwitcher"))};mountOrganizationList=(l,g)=>{if(this.assertComponentsReady(this.#e),io(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyOrganizationComponent("OrganizationList"),{code:ca});return}this.#e?.ensureMounted({preloadHint:"OrganizationList"}).then(B=>B.mountComponent({name:"OrganizationList",appearanceKey:"organizationList",node:l,props:g})),this.telemetry?.record(x("OrganizationList",{...g,forceOrganizationSelection:this.environment?.organizationSettings.forceOrganizationSelection}))};unmountOrganizationList=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountUserButton=(l,g)=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted({preloadHint:"UserButton"}).then(b=>b.mountComponent({name:"UserButton",appearanceKey:"userButton",node:l,props:g}));let B={...g?.customMenuItems?.length?{customItems:!0}:void 0,...g?.__experimental_asStandalone?{standalone:!0}:void 0};this.telemetry?.record(x("UserButton",g,B))};unmountUserButton=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountWaitlist=(l,g)=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted({preloadHint:"Waitlist"}).then(B=>B.mountComponent({name:"Waitlist",appearanceKey:"waitlist",node:l,props:g})),this.telemetry?.record(x("Waitlist",g))};unmountWaitlist=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountPricingTable=(l,g)=>{if(this.assertComponentsReady(this.#e),ro(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyBillingComponent("PricingTable"),{code:Bu});return}let B={...g};g?.forOrganizations!==void 0&&We('Clerk: [IMPORTANT] <PricingTable /> prop `forOrganizations` is deprecated and will be removed in the coming minors. Use `for="organization"` instead.'),this.#e.ensureMounted({preloadHint:"PricingTable"}).then(b=>b.mountComponent({name:"PricingTable",appearanceKey:"pricingTable",node:l,props:B})),this.telemetry?.record(x("PricingTable",B))};unmountPricingTable=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};__internal_mountOAuthConsent=(l,g)=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"OAuthConsent"}).then(B=>B.mountComponent({name:"OAuthConsent",appearanceKey:"__internal_oauthConsent",node:l,props:g}))};__internal_unmountOAuthConsent=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountAPIKeys=(l,g)=>{if(this.assertComponentsReady(this.#e),We("Clerk: <APIKeys /> component is in early access and not yet recommended for production use."),((B,b)=>dl(B,b)&&zn(B,b))(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAPIKeysComponent,{code:"cannot_render_api_keys_disabled"});return}if(this.organization&&zn(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAPIKeysComponentForOrgWhenDisabled,{code:"cannot_render_api_keys_org_disabled"});return}if(dl(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAPIKeysComponentForUserWhenDisabled,{code:"cannot_render_api_keys_user_disabled"});return}this.#e.ensureMounted({preloadHint:"APIKeys"}).then(B=>B.mountComponent({name:"APIKeys",appearanceKey:"apiKeys",node:l,props:g})),this.telemetry?.record(x("APIKeys",g))};unmountAPIKeys=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};mountTaskChooseOrganization=(l,g)=>{if(this.assertComponentsReady(this.#e),io(this,this.environment)){if(this.#a==="development")throw new ye(Zn.cannotRenderAnyOrganizationComponent("TaskChooseOrganization"),{code:ca});return}this.#e.ensureMounted({preloadHint:"TaskChooseOrganization"}).then(B=>B.mountComponent({name:"TaskChooseOrganization",appearanceKey:"taskChooseOrganization",node:l,props:g})),this.telemetry?.record(x("TaskChooseOrganization",g))};unmountTaskChooseOrganization=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(g=>g.unmountComponent({node:l}))};setActive=async l=>{let{organization:g,beforeEmit:B,redirectUrl:b,navigate:w}=l,{session:U}=l;this.__internal_setActiveInProgress=!0,Gt.debug("setActive() start",{hasClient:!!this.client,sessionTarget:typeof U=="string"?U:U?.id??U??null,organizationTarget:typeof g=="string"?g:g?.id??g??null,redirectUrl:b??null},"clerk");try{if(!this.client)throw Gt.warn("Clerk setActive called before client is loaded",{},"clerk"),Error("setActive is being called before the client is loaded. Wait for init.");if(U===void 0&&!this.session)throw Gt.warn("Clerk setActive precondition not met: no target session and no active session",{},"clerk"),Error("setActive should either be called with a session param or there should be already an active session.");typeof U=="string"&&(U=this.client.sessions.find(he=>he.id===U)||null);let H=typeof window<"u"&&typeof window.__unstable__onBeforeSetActive=="function"?window.__unstable__onBeforeSetActive:st,$=typeof window<"u"&&typeof window.__unstable__onAfterSetActive=="function"?window.__unstable__onAfterSetActive:st,M=U===void 0?this.session:U;if(M?.status==="pending"&&(function(he){let Ie=["taskUrls","navigate"];Object.keys(he).some(ze=>Ie.includes(ze))||We('Clerk: Session has pending tasks but no handling is configured. To handle pending tasks, provide either "taskUrls" for navigation to custom URLs or "navigate" for programmatic navigation. Without these options, users may get stuck on incomplete flows.')})({...this.#t,...l}),M&&g!==void 0){let he=typeof g=="string"?g:g?.id;if((function(Ie){return typeof Ie=="string"&&Ie.startsWith("org_")})(he))M.lastActiveOrganizationId=he||null;else{let Ie=M.user.organizationMemberships.find(Se=>Se.organization.slug===he),ze=Ie?.organization.id||null,qe=ze===null;if(this.environment?.organizationSettings?.forceOrganizationSelection&&qe)return;M.lastActiveOrganizationId=ze}}M?.status!=="pending"&&await H(M===null?"sign-out":void 0),(J()&&globalThis.document.hasFocus()||!this.#t.standardBrowser)&&(await this.#I(M),M=this.#B(M?.id)),await M?.getToken()||(O()||Gt.warn("Token is null when setting active session (offline)",{sessionId:M?.id},"clerk"),Jn.emit(bs,{token:null}));let se=Al(this.#t.standardBrowser);B&&(((he,Ie,ze)=>{let qe=(()=>{try{return!0}catch{}return!1})(),Se=ze??he;be.has(Se)||qe||(be.add(Se),console.warn(`Clerk - DEPRECATION WARNING: "${he}" is deprecated and will be removed in the next major release.
|
|
369
|
+
${Ie}`))})("Clerk.setActive({beforeEmit})",'Use the `redirectUrl` property instead. Example `Clerk.setActive({redirectUrl:"/"})`'),await se.track(async()=>{this.#y(),await B(M)}));let ce=M?.status==="pending"&&M?.currentTask&&this.#t.taskUrls?.[M?.currentTask.key];if(!B&&(b||ce||w)&&await se.track(async()=>{if(this.client){if(M?.status!=="pending"&&this.#y(),ce){let he=b?Wn({base:ce,hashSearchParams:{redirectUrl:b}},{stringify:!0}):ce;await this.navigate(he)}else if(w&&M)await w({session:M});else if(b){if(this.client.isEligibleForTouch()){let he=new URL(b,window.location.href),Ie=this.buildUrlWithAuth(this.client.buildTouchUrl({redirectUrl:he}));await this.navigate(Ie)}await this.navigate(b)}}}),se.isUnloading())return;this.#h(M),this.#g(),M?.status!=="pending"&&await $()}finally{this.__internal_setActiveInProgress=!1}};addListener=l=>(l=(function(g){let B;return b=>{var w;B||={...b},g(B={client:bl((w=B).client,b.client),session:bl(w.session,b.session),user:bl(w.user,b.user),organization:bl(w.organization,b.organization)})}})(l),this.#f.push(l),this.client&&l({client:this.client,session:this.session,user:this.user,organization:this.organization}),()=>{this.#f=this.#f.filter(g=>g!==l)});on=(...l)=>{this.#u.on(...l)};off=(...l)=>{this.#u.off(...l)};__internal_addNavigationListener=l=>(this.#p.push(l),()=>{this.#p=this.#p.filter(g=>g!==l)});navigate=async(l,g)=>{if(!l||!J())return;setTimeout(()=>{this.#z()},0);let B=new URL(l,window.location.href);this.#j.includes(B.protocol)||(console.warn(`Clerk: "${B.protocol}" is not a valid protocol. Redirecting to "/" instead. If you think this is a mistake, please open an issue.`),B=new URL("/",window.location.href));let b=g?.replace&&this.#t.routerReplace?this.#t.routerReplace:this.#t.routerPush;if(Gt.info(`Clerk is navigating to: ${B}`),this.#t.routerDebug&&console.log(`Clerk is navigating to: ${B}`),B.origin!=="null"&&B.origin!==window.location.origin||!b)return void Ko(B);let w={...g?.metadata?{__internal_metadata:g?.metadata}:{},windowNavigate:Ko};return await b($r(B),w)};buildUrlWithAuth(l){if(this.#a==="production")return l;let g=new URL(l,window.location.origin);return g.origin!==window.location.origin&&this.#o?this.#o.decorateUrlWithDevBrowserToken(g).href:g.href}buildSignInUrl(l){return this.#_("signInUrl",{...l,redirectUrl:l?.redirectUrl||window.location.href},l?.initialValues)}buildSignUpUrl(l){return this.#_("signUpUrl",{...l,redirectUrl:l?.redirectUrl||window.location.href},l?.initialValues)}buildUserProfileUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.userProfileUrl):""}buildHomeUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.homeUrl):""}buildAfterSignInUrl({params:l}={}){return this.buildUrlWithAuth(new _n(this.#t,{},l).getAfterSignInUrl())}buildAfterSignUpUrl({params:l}={}){return this.buildUrlWithAuth(new _n(this.#t,{},l).getAfterSignUpUrl())}buildAfterSignOutUrl(){return this.#t.afterSignOutUrl?this.buildUrlWithAuth(this.#t.afterSignOutUrl):"/"}buildNewSubscriptionRedirectUrl(){return this.#t.newSubscriptionRedirectUrl?this.#t.newSubscriptionRedirectUrl:this.buildAfterSignInUrl()}buildWaitlistUrl(l){return this.environment&&this.environment.displayConfig?Wn({base:this.#t.waitlistUrl||this.environment.displayConfig.waitlistUrl,hashSearchParams:[new URLSearchParams(l?.initialValues||{})]},{stringify:!0}):""}buildAfterMultiSessionSingleSignOutUrl(){return this.environment?this.#t.afterMultiSessionSingleSignOutUrl?this.buildUrlWithAuth(this.#t.afterMultiSessionSingleSignOutUrl):this.#t.signInUrl?this.buildUrlWithAuth(Wn({base:this.#t.signInUrl,hashPath:"choose"},{stringify:!0})):this.buildUrlWithAuth(this.environment.displayConfig.afterSignOutOneUrl):""}buildCreateOrganizationUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.createOrganizationUrl):""}buildOrganizationProfileUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.organizationProfileUrl):""}buildTasksUrl(l){let g=this.session?.currentTask;return g?this.#t.taskUrls?.[g.key]||Wn({base:this.buildSignInUrl(l),hashPath:Pd(g)},{stringify:!0}):""}#Q=async()=>{if(!J())return;let l=new URLSearchParams({[it]:"true"}),g=ii(ir);g&&Ki(g)||(function(){throw Error(`${vi} Invalid redirect_url. A valid http or https url should be used for the redirection.`)})();let B=Wn({base:ii(ir),searchParams:l},{stringify:!0});return this.navigate(this.buildUrlWithAuth(B))};redirectWithAuth=async l=>{if(J())return this.navigate(this.buildUrlWithAuth(l))};redirectToSignIn=async l=>{if(J())return this.navigate(this.buildSignInUrl(l))};redirectToSignUp=async l=>{if(J())return this.navigate(this.buildSignUpUrl(l))};redirectToUserProfile=async()=>{if(J())return this.navigate(this.buildUserProfileUrl())};redirectToCreateOrganization=async()=>{if(J())return this.navigate(this.buildCreateOrganizationUrl())};redirectToOrganizationProfile=async()=>{if(J())return this.navigate(this.buildOrganizationProfileUrl())};redirectToAfterSignIn=async()=>{if(J())return this.navigate(this.buildAfterSignInUrl())};redirectToAfterSignUp=async()=>{if(J())return this.navigate(this.buildAfterSignUpUrl())};redirectToAfterSignOut=async()=>{if(J())return this.navigate(this.buildAfterSignOutUrl())};redirectToWaitlist=async()=>{if(J())return this.navigate(this.buildWaitlistUrl())};redirectToTasks=async l=>{if(J())return this.navigate(this.buildTasksUrl(l))};handleEmailLinkVerification=async(l,g)=>{if(!this.client)return;let B=ii("__clerk_status");if(B==="expired")throw new Ct(Qi.Expired);if(B==="client_mismatch")throw new Ct(Qi.ClientMismatch);if(B!=="verified")throw new Ct(Qi.Failed);let b=ii("__clerk_created_session"),{signIn:w,signUp:U,sessions:H}=this.client,$=H.some(ce=>ce.id===b),M=w.status==="needs_second_factor"||U.status==="missing_requirements",X=ce=>g&&typeof g=="function"?g(ce):this.navigate(ce),se=l.redirectUrl?()=>X(l.redirectUrl):st;return $?this.setActive({session:b,redirectUrl:l.redirectUrlComplete}):M?se():(typeof l.onVerifiedOnOtherDevice=="function"&&l.onVerifiedOnOtherDevice(),null)};handleGoogleOneTapCallback=async(l,g,B)=>{if(!this.loaded||!this.environment||!this.client)return;let{signIn:b,signUp:w}=this.client,U="identifier"in(l||{})?l:b,H="missingFields"in(l||{})?l:w,$=M=>B&&typeof B=="function"?B(this.buildUrlWithAuth(M)):this.navigate(this.buildUrlWithAuth(M));return this._handleRedirectCallback(g,{signUp:H,signIn:U,navigate:$})};_handleRedirectCallback=async(l,{signIn:g,signUp:B,navigate:b})=>{if(!this.loaded||!this.environment||!this.client)return;if(!window.opener&&l.reloadResource)try{l.reloadResource==="signIn"?await g.reload():l.reloadResource==="signUp"&&await B.reload()}catch{}let{displayConfig:w}=this.environment,{firstFactorVerification:U}=g,{externalAccount:H}=B.verifications,$={status:B.status,missingFields:B.missingFields,externalAccountStatus:H.status,externalAccountErrorCode:H.error?.code,externalAccountSessionId:H.error?.meta?.sessionId,sessionId:B.createdSessionId},M={status:g.status,firstFactorVerificationStatus:U.status,firstFactorVerificationErrorCode:U.error?.code,firstFactorVerificationSessionId:U.error?.meta?.sessionId,sessionId:g.createdSessionId},X=sn=>()=>b(sn),se=X(l.signInUrl||w.signInUrl),ce=X(l.signUpUrl||w.signUpUrl),he=X(l.firstFactorUrl||Wn({base:w.signInUrl,hashPath:"/factor-one"},{stringify:!0})),Ie=X(l.secondFactorUrl||Wn({base:w.signInUrl,hashPath:"/factor-two"},{stringify:!0})),ze=X(l.resetPasswordUrl||Wn({base:w.signInUrl,hashPath:"/reset-password"},{stringify:!0})),qe=new _n(this.#t,l),Se=X(l.continueSignUpUrl||Wn({base:w.signUpUrl,hashPath:"/continue"},{stringify:!0})),Ye=({missingFields:sn})=>sn.length?Se():(({signUp:Hn,verifyEmailPath:Ls,verifyPhonePath:_u,continuePath:Du,navigate:$s,handleComplete:Sc,redirectUrl:As="",redirectUrlComplete:ri="",oidcPrompt:jr})=>{if(Hn.status==="complete")return Sc&&Sc();if(Hn.status==="missing_requirements"){if(Hn.missingFields.some(fo=>fo==="saml"||fo==="enterprise_sso"))return Hn.authenticateWithRedirect({strategy:"enterprise_sso",redirectUrl:As,redirectUrlComplete:ri,continueSignUp:!0,oidcPrompt:jr});let En=Oa();if(Hn.unverifiedFields?.includes("email_address")&&Ls)return $s(Ls,{searchParams:En});if(Hn.unverifiedFields?.includes("phone_number")&&_u)return $s(_u,{searchParams:En});if(Du)return $s(Du,{searchParams:En})}})({signUp:B,verifyEmailPath:l.verifyEmailAddressUrl||Wn({base:w.signUpUrl,hashPath:"/verify-email-address"},{stringify:!0}),verifyPhonePath:l.verifyPhoneNumberUrl||Wn({base:w.signUpUrl,hashPath:"/verify-phone-number"},{stringify:!0}),navigate:b}),Xe=l.signInUrl||w.signInUrl,xt=l.signUpUrl||w.signUpUrl,qt=async({session:sn,baseUrl:Hn,redirectUrl:Ls})=>{if(!sn.currentTask)return void await this.navigate(Ls);await xA(sn,{baseUrl:Hn,navigate:this.navigate})};if(M.status==="complete")return this.setActive({session:M.sessionId,navigate:async({session:sn})=>{await qt({session:sn,baseUrl:Xe,redirectUrl:qe.getAfterSignInUrl()})}});if($.externalAccountStatus==="transferable"&&$.externalAccountErrorCode==="external_account_exists"){let sn=await g.create({transfer:!0});switch(sn.status){case"complete":return this.setActive({session:sn.createdSessionId,navigate:async({session:Hn})=>{await qt({session:Hn,baseUrl:xt,redirectUrl:qe.getAfterSignInUrl()})}});case"needs_first_factor":return he();case"needs_second_factor":return Ie();case"needs_new_password":return ze();default:Is("sign in")}}let wt=$.externalAccountErrorCode==="user_locked",bt=M.firstFactorVerificationErrorCode==="user_locked";if(wt)return ce();if(bt)return se();if(M.status==="needs_first_factor"&&!g.supportedFirstFactors?.every(sn=>sn.strategy==="enterprise_sso"))return he();if(M.status==="needs_new_password")return ze();if(M.firstFactorVerificationStatus==="transferable"){if(l.transferable===!1)return se();let sn=await B.create({transfer:!0});switch(sn.status){case"complete":return this.setActive({session:sn.createdSessionId,navigate:async({session:Hn})=>{await qt({session:Hn,baseUrl:xt,redirectUrl:qe.getAfterSignUpUrl()})}});case"missing_requirements":return Ye({missingFields:sn.missingFields});default:Is("sign in")}}if($.status==="complete")return this.setActive({session:$.sessionId,navigate:async({session:sn})=>{await qt({session:sn,baseUrl:xt,redirectUrl:qe.getAfterSignUpUrl()})}});if(M.status==="needs_second_factor")return Ie();let Qt=($.externalAccountStatus==="failed"||$.externalAccountStatus==="unverified")&&$.externalAccountErrorCode==="identifier_already_signed_in"&&$.externalAccountSessionId,kt=M.firstFactorVerificationStatus==="failed"&&M.firstFactorVerificationErrorCode==="identifier_already_signed_in"&&M.firstFactorVerificationSessionId;if(Qt||kt){let sn=M.firstFactorVerificationSessionId||$.externalAccountSessionId;if(sn)return this.setActive({session:sn,navigate:async({session:Hn})=>{await qt({session:Hn,baseUrl:Qt?xt:Xe,redirectUrl:qe.getAfterSignInUrl()})}})}return(sn=>{let{externalAccount:Hn}=sn.verifications;return!!Hn.error})(B)?ce():$.externalAccountStatus==="verified"&&$.status==="missing_requirements"?Ye({missingFields:B.missingFields}):this.session?.currentTask?void await this.redirectToTasks({redirectUrl:this.buildAfterSignInUrl()}):se()};handleRedirectCallback=async(l={},g)=>{if(!this.loaded||!this.environment||!this.client)return;let{signIn:B,signUp:b}=this.client,w=U=>g&&typeof g=="function"?g(U):this.navigate(U);return this._handleRedirectCallback(l,{signUp:b,signIn:B,navigate:w})};handleUnauthenticated=async(l={broadcast:!0})=>{if(this.client&&this.session)try{let g=await Nn.getOrCreateInstance().fetch();return this.updateClient(g),this.session?void 0:(l.broadcast&&Jn.emit(es,null),this.setActive({session:null}))}catch(g){if(oe(g)&&[403,500].includes(g.status))return this.setActive({session:null});throw g}};authenticateWithGoogleOneTap=async l=>this.client?.signIn.create({strategy:"google_one_tap",token:l.token}).catch(g=>{if(oe(g)&&g.errors[0].code==="external_account_not_found")return this.client?.signUp.create({strategy:"google_one_tap",token:l.token,legalAccepted:l.legalAccepted});throw g});authenticateWithMetamask=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_metamask_signature"})};authenticateWithCoinbaseWallet=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_coinbase_wallet_signature"})};authenticateWithBase=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_base_signature"})};authenticateWithOKXWallet=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_okx_wallet_signature"})};authenticateWithWeb3=async({redirectUrl:l,signUpContinueUrl:g,customNavigate:B,unsafeMetadata:b,strategy:w,legalAccepted:U,secondFactorUrl:H})=>{let $,M;if(!this.client||!this.environment)return;let{displayConfig:X}=this.environment,se=w.replace("web3_","").replace("_signature",""),ce=await we({provider:se});switch(se){case"metamask":$=jt;break;case"base":$=Si;break;case"coinbase_wallet":$=bn;break;default:$=en}let he=Se=>()=>B&&typeof B=="function"?B(Se):this.navigate(Se),Ie=he(H||Wn({base:X.signInUrl,hashPath:"/factor-two"},{stringify:!0})),ze=he(g||Wn({base:X.signUpUrl,hashPath:"/continue"},{stringify:!0}));try{M=await this.client.signIn.authenticateWithWeb3({identifier:ce,generateSignature:$,strategy:w})}catch(Se){if(vs(Se,"form_identifier_not_found"))M=await this.client.signUp.authenticateWithWeb3({identifier:ce,generateSignature:$,unsafeMetadata:b,strategy:w,legalAccepted:U}),g&&M.status==="missing_requirements"&&M.verifications.web3Wallet.status==="verified"&&await ze();else throw Se}let qe=async({session:Se,redirectUrl:Ye})=>{if(!Se.currentTask)return void await this.navigate(Ye);await xA(Se,{baseUrl:X.signInUrl,navigate:this.navigate})};switch(M.status){case"needs_second_factor":await Ie();break;case"complete":M.createdSessionId&&await this.setActive({session:M.createdSessionId,navigate:async({session:Se})=>{await qe({session:Se,redirectUrl:l??this.buildAfterSignInUrl()})}});break;default:return}};createOrganization=async({name:l,slug:g})=>Ca.create({name:l,slug:g});getOrganization=async l=>Ca.get(l);joinWaitlist=async({emailAddress:l})=>sr.join({emailAddress:l});updateEnvironment(l){this.environment=l}__internal_setCountry=l=>{this.__internal_country||(this.__internal_country=l)};get __internal_last_error(){let l=this.internal_last_error;return this.internal_last_error=null,l}set __internal_last_error(l){this.internal_last_error=l}updateClient=l=>{if(!this.client){let g=this.#t.selectInitialSession?this.#t.selectInitialSession(l):this.#k(l);this.#h(g)}if(this.client=l,this.session){let g=this.#B(this.session.id);this.session.status==="active"&&g?.status==="pending"&&(typeof window<"u"&&typeof window.__unstable__onAfterSetActive=="function"?window.__unstable__onAfterSetActive:st)(),this.#h(g),this.session?.lastActiveToken||O()||Gt.warn("No last active token when updating client (offline)",{sessionId:this.session?.id},"clerk"),Jn.emit(bs,{token:this.session?.lastActiveToken})}this.#g()};get __unstable__environment(){return this.environment}__unstable__setEnvironment=async l=>{this.environment=new Ti(l),Ii.mountComponentRenderer&&(this.#e=Ii.mountComponentRenderer(this,this.environment,this.#t))};__unstable__onBeforeRequest=l=>{this.#l.onBeforeRequest(l)};__unstable__onAfterResponse=l=>{this.#l.onAfterResponse(l)};__unstable__updateProps=l=>{let g={...l,options:this.#D({...this.#t,...l.options})};return this.#e?.ensureMounted().then(B=>B.updateProps(g))};__internal_navigateWithError(l,g){return this.__internal_last_error=g,this.navigate(l)}#S=()=>{let l=new URLSearchParams({[ir]:window.location.href});return Wn({base:this.#t.signInUrl,searchParams:l},{stringify:!0})};#b=()=>{let l;if(this.proxyUrl){let g=new URL(this.proxyUrl);l=new URL(`${g.pathname}/v1/client/sync`,g.origin)}else this.domain&&(l=new URL("/v1/client/sync",`https://${this.domain}`));return l?.searchParams.append("redirect_url",window.location.href),l?.toString()||""};#w=()=>ii(it)!=="true"&&!!this.isSatellite&&!!this.#o?.isSignedOut();#x=()=>this.#a!=="production"&&!this.isSatellite&&!!ii(ir);#U=async()=>{this.instanceType==="development"?await this.navigate(this.#S()):this.instanceType==="production"&&await this.navigate(this.#b())};#N=(l,g)=>{let B;try{B=new URL(l)}catch{throw Error(`${vi} The signInUrl needs to have a absolute url format.`)}B.origin===g&&(function(){throw Error(`${vi} The signInUrl needs to be on a different origin than your satellite application.`)})()};#R=()=>{this.isSatellite&&(this.#a!=="development"||this.#t.signInUrl||(function(){throw Error(`${vi} Missing signInUrl. A satellite application needs to specify the signInUrl for development instances.`)})(),this.proxyUrl||this.domain||(function(){throw Error(`${vi} Missing domain and proxyUrl. A satellite application needs to specify a domain or a proxyUrl.`)})(),this.#t.signInUrl&&this.#N(this.#t.signInUrl,window.location.origin))};#T=async()=>{if(this.#o=await Eu.create(this,this.#l,this.#a,this.#u),this.#R(),this.#w())return void await this.#U();if(this.#x())return void await this.#Q();this.#v=(()=>{if(!I())return{onPageFocus:st};let U=[];return window.addEventListener("focus",()=>{document.visibilityState==="visible"&&U.forEach(H=>H())}),{onPageFocus:H=>{U.push(H)}}})(),typeof BroadcastChannel<"u"&&(this.#c=new BroadcastChannel("clerk")),this.#F();let l=(function(U=window.location.hostname){if(!U)return!1;let H=Ni.get(U);return H===void 0&&(H=Ht.some($=>U.startsWith("accounts.")&&U.endsWith($))||Fn.some($=>U.endsWith($)&&!U.endsWith(".clerk"+$)),Ni.set(U,H)),H})(window?.location.hostname),g=this.#a==="development"&&!l,B=0,b=0;for(;b<2;){b++;try{var w;let U=Ti.getInstance().fetch({touch:g}).then(X=>this.updateEnvironment(X)).catch(()=>{++B;let X=Cs.getItem(ia,null);X&&this.updateEnvironment(new Ti(X))}),H=async()=>Nn.getOrCreateInstance().fetch().then(X=>this.updateClient(X)).catch(async X=>{if(xe(X))throw X;++B;let se=this.#o?.getSessionCookie(),ce=(function(he){let Ie;try{Ie=new ss({jwt:he||"",object:"token",id:void 0})}catch{Ie=null}if(Nn.clearInstance(),!Ie?.jwt)return Nn.getOrCreateInstance({object:"client",last_active_session_id:null,id:"client_init",sessions:[]});let{sessionId:ze,userId:qe,orgId:Se,orgRole:Ye,orgPermissions:Xe,orgSlug:xt,factorVerificationAge:qt}=(bt=>{let Qt,kt,sn,Hn,Ls=bt.fva??null,_u=bt.sts??null;if(bt.v===2){if(bt.o){Qt=bt.o?.id,sn=bt.o?.slg,bt.o?.rol&&(kt=`org:${bt.o?.rol}`);let{org:Du}=bo(bt.fea),{permissions:$s,featurePermissionMap:Sc}=(({per:As,fpm:ri})=>{if(!As||!ri)return{permissions:[],featurePermissionMap:[]};let jr=As.split(",").map(En=>En.trim());return{permissions:jr,featurePermissionMap:ri.split(",").map(En=>Number.parseInt(En.trim(),10)).map(En=>En.toString(2).padStart(jr.length,"0").split("").map(fo=>Number.parseInt(fo,10)).reverse()).filter(Boolean)}})({per:bt.o?.per,fpm:bt.o?.fpm});Hn=(function({features:As,permissions:ri,featurePermissionMap:jr}){if(!As||!ri||!jr)return[];let En=[];for(let fo=0;fo<As.length;fo++){let tp=As[fo];if(fo>=jr.length)continue;let Tl=jr[fo];if(Tl)for(let po=0;po<Tl.length;po++)Tl[po]===1&&En.push(`org:${tp}:${ri[po]}`)}return En})({features:Du,featurePermissionMap:Sc,permissions:$s})}}else Qt=bt.org_id,kt=bt.org_role,sn=bt.org_slug,Hn=bt.org_permissions;return{sessionClaims:bt,sessionId:bt.sid,sessionStatus:_u,actor:bt.act,userId:bt.sub,orgId:Qt,orgRole:kt,orgSlug:sn,orgPermissions:Hn,factorVerificationAge:Ls}})(Ie.jwt.claims),wt={object:"client",last_active_session_id:ze,id:"client_init",sessions:[{object:"session",id:ze,status:"active",last_active_organization_id:Se||null,last_active_token:{id:void 0,object:"token",jwt:he},factor_verification_age:qt||null,public_user_data:{user_id:qe},user:{object:"user",id:qe,organization_memberships:Se&&xt&&Ye?[{object:"organization_membership",id:Se,role:Ye,permissions:Xe||[],organization:{object:"organization",id:Se,name:xt,slug:xt,members_count:1,max_allowed_memberships:1}}]:[]}}]};return Nn.getOrCreateInstance(wt)})(se);return this.updateClient(ce),this.#o?.stopPollingForToken(),await this.session?.getToken({skipCache:!0}).catch(()=>null).finally(()=>{this.#o?.startPollingForToken()}),null}),$=()=>{Ii.mountComponentRenderer&&!this.#e&&(this.#e=Ii.mountComponentRenderer(this,this.environment,this.#t))},[,M]=await(w=[U,H()],Promise.all(Array.from(w).map(X=>X.then(se=>({status:"fulfilled",value:se}),se=>({status:"rejected",reason:se})))));if(M.status==="rejected"){let X=M.reason;if(vs(X,"requires_captcha"))$(),await H();else throw X}if(this.#o?.setClientUatCookieForDevelopmentInstances(),await this.#H())return;$();break}catch(U){if(vs(U,"dev_browser_unauthenticated"))await this.#o.handleUnauthenticatedDevBrowser();else{if(O())throw U;return void console.warn(U)}}b>=2&&(function(){throw Error(`${vi} Something went wrong initializing Clerk.`)})()}this.#A=new Hd(this),this.#A.start(),this.#G(),this.#L(),this.#$(),this.#u.emit(ve,B>0?"degraded":"ready")};shouldFallbackToCachedResources=()=>!!this.__internal_getCachedResources;#O=async()=>{let l,g,B=this.shouldFallbackToCachedResources()?1:void 0,b=0;try{[l,g]=await Promise.all([Ti.getInstance().fetch({touch:!1,fetchMaxTries:B}),Nn.getOrCreateInstance().fetch({fetchMaxTries:B})])}catch(w){if(De(w)&&w.code==="network_error"&&this.shouldFallbackToCachedResources()){let U=await this.__internal_getCachedResources?.();l=new Ti(U?.environment),Nn.clearInstance(),g=Nn.getOrCreateInstance(U?.client),++b}else throw w}this.updateClient(g),this.updateEnvironment(l),Ii.mountComponentRenderer&&(this.#e=Ii.mountComponentRenderer(this,this.environment,this.#t)),this.#u.emit(ve,b>0?"degraded":"ready")};__internal_reloadInitialResources=async()=>{let[l,g]=await Promise.all([Ti.getInstance().fetch({touch:!1,fetchMaxTries:1}),Nn.getOrCreateInstance().fetch({fetchMaxTries:1})]);this.updateClient(g),this.updateEnvironment(l),this.#g()};#k=l=>{if(l.lastActiveSessionId){let g=l.signedInSessions.find(B=>B.id===l.lastActiveSessionId);if(g)return g}return l.signedInSessions[0]||null};#F=()=>{I()&&(this.#v?.onPageFocus(()=>{this.session&&!(!(this.environment&&!this.environment.authConfig.singleSessionMode)&&this.#C>Date.now())&&(this.#C=Date.now()+5e3,this.#t.touchSession&&this.#I(this.session))}),this.#c?.addEventListener("message",l=>{l.data?.type==="signout"&&this.handleUnauthenticated({broadcast:!1})}),Jn.on(es,()=>{this.#c?.postMessage({type:"signout"})}),Jn.on(vl,()=>{Cs.setItem(ia,this.environment?.__internal_toSnapshot(),864e5)}))};#I=async l=>{if(!l)return Promise.resolve();await l.touch().catch(g=>{xe(g)&&this.handleUnauthenticated()})};#g=()=>{if(this.client)for(let l of this.#f)l({client:this.client,session:this.session,user:this.user,organization:this.organization})};#z=()=>{for(let l of this.#p)l()};#y=()=>{this.session=void 0,this.organization=void 0,this.user=void 0,this.#g()};#M=()=>(this.session?.user.organizationMemberships||[]).map(l=>l.organization).find(l=>l.id===this.session?.lastActiveOrganizationId)||null;#h=l=>{this.session=l||null,this.organization=this.#M(),this.user=this.session?this.session.user:null};#B=l=>this.client?.signedInSessions.find(g=>g.id===l)||null;#L=()=>{this.addListener(({session:l})=>{l?.actor&&this.#e?.ensureMounted().then(g=>g.mountImpersonationFab())})};#$=()=>{this.#t.__internal_keyless_claimKeylessApplicationUrl&&this.#e?.ensureMounted().then(l=>{l.updateProps({options:{__internal_keyless_claimKeylessApplicationUrl:this.#t.__internal_keyless_claimKeylessApplicationUrl,__internal_keyless_copyInstanceKeysUrl:this.#t.__internal_keyless_copyInstanceKeysUrl,__internal_keyless_dismissPrompt:this.#t.__internal_keyless_dismissPrompt}})})};#_=(l,g,B)=>{if(!l||!this.loaded||!this.environment||!this.environment.displayConfig)return"";let b=this.#t[l]||this.environment.displayConfig[l];this.#E()&&(b=this.#t.signInUrl);let w=new _n(this.#t,g).toSearchParams(),U=new URLSearchParams(B||{}),H=Wn({base:b,hashPath:this.#E()&&l==="signUpUrl"?"/create":"",hashSearchParams:[U,w]},{stringify:!0});return this.buildUrlWithAuth(H)};assertComponentsReady(l){if(!Ii.mountComponentRenderer)throw Error("ClerkJS was loaded without UI components.");if(!l)throw Error("ClerkJS components are not ready yet.")}#H=async()=>{let l=new URLSearchParams(window.location.search).get("redirect_url"),g=this.instanceType==="production",B=l!==null&&(function(M,X){let se=new URL(X,Lr),ce=se.pathname,he=Fa.includes(ce)||za.includes(ce);return M===se.host&&he})(this.frontendApi,l);if(g||!B)return!1;let b=this.session,w=this.#t.signInUrl||this.environment?.displayConfig.signInUrl,U=w&&window.location.href.startsWith(w),H=this.#t.signUpUrl||this.environment?.displayConfig.signUpUrl,$=H&&window.location.href.startsWith(H);return(!(function(M){let X=new URL(M,Lr);return Fa.includes(X.pathname)})(l)||!!b||!U&&!$)&&(await this.navigate(this.buildUrlWithAuth(l)),!0)};#D=l=>{let g=l?{...l}:{};return g.appearance&&(g.appearance=(function(B){let b;if(!B||typeof B!="object")return B;let w=B.theme!==void 0?B.theme:B.baseTheme,U=B.theme!==void 0;if(!w)return B;if(Array.isArray(w)){w.forEach(X=>{!b&&typeof X=="object"&&X.cssLayerName&&(b=X.cssLayerName)});let H=w.map(X=>{if(typeof X=="string")return X;let{cssLayerName:se,...ce}=X;return ce}),$=B.cssLayerName||b,M={...B,[U?"theme":"baseTheme"]:H};return $&&(M.cssLayerName=$),M}{let H;typeof w=="object"&&w.cssLayerName&&(H=w.cssLayerName);let $=typeof w=="string"?w:(()=>{let{cssLayerName:se,...ce}=w;return ce})(),M=B.cssLayerName||H,X={...B,[U?"theme":"baseTheme"]:$};return M&&(X.cssLayerName=M),X}})(g.appearance)),{...ja,...g,allowedRedirectOrigins:(function(B,b,w){if(Array.isArray(B)&&B.length)return B;let U=[];return typeof window<"u"&&window.location&&U.push(window.location.origin),U.push(`https://${Sn(b)}`),U.push(`https://*.${Sn(b)}`),w==="development"&&U.push(`https://${b}`),U})(l?.allowedRedirectOrigins,this.frontendApi,this.instanceType)}};#G=()=>{try{ta(it),ta(zr),ta(Ea),ta("__clerk_handshake"),ta("__clerk_handshake_nonce"),ta("__clerk_help")}catch{}};get#j(){let l=nr;return this.#t.allowedRedirectProtocols&&(l=l.concat(this.#t.allowedRedirectProtocols)),l}}(s=c.hmd(s)).hot&&s.hot.accept()},2788:function(s,i,c){"use strict";var d=this&&this.__awaiter||function(j,q,Y,re){return new(Y||(Y=Promise))(function(ve,be){function ge(at){try{mt(re.next(at))}catch(Re){be(Re)}}function $e(at){try{mt(re.throw(at))}catch(Re){be(Re)}}function mt(at){at.done?ve(at.value):new Y(function(Re){Re(at.value)}).then(ge,$e)}mt((re=re.apply(j,q||[])).next())})},E=this&&this.__generator||function(j,q){var Y,re,ve,be,ge={label:0,sent:function(){if(1&ve[0])throw ve[1];return ve[1]},trys:[],ops:[]};return be={next:$e(0),throw:$e(1),return:$e(2)},typeof Symbol=="function"&&(be[Symbol.iterator]=function(){return this}),be;function $e(mt){return function(at){var Re=[mt,at];if(Y)throw TypeError("Generator is already executing.");for(;ge;)try{if(Y=1,re&&(ve=2&Re[0]?re.return:Re[0]?re.throw||((ve=re.return)&&ve.call(re),0):re.next)&&!(ve=ve.call(re,Re[1])).done)return ve;switch(re=0,ve&&(Re=[2&Re[0],ve.value]),Re[0]){case 0:case 1:ve=Re;break;case 4:return ge.label++,{value:Re[1],done:!1};case 5:ge.label++,re=Re[1],Re=[0];continue;case 7:Re=ge.ops.pop(),ge.trys.pop();continue;default:if(!(ve=(ve=ge.trys).length>0&&ve[ve.length-1])&&(Re[0]===6||Re[0]===2)){ge=0;continue}if(Re[0]===3&&(!ve||Re[1]>ve[0]&&Re[1]<ve[3])){ge.label=Re[1];break}if(Re[0]===6&&ge.label<ve[1]){ge.label=ve[1],ve=Re;break}if(ve&&ge.label<ve[2]){ge.label=ve[2],ge.ops.push(Re);break}ve[2]&&ge.ops.pop(),ge.trys.pop();continue}Re=q.call(j,ge)}catch(et){Re=[6,et],re=0}finally{Y=ve=0}if(5&Re[0])throw Re[1];return{value:Re[0]?Re[1]:void 0,done:!0}}}},C=this;Object.defineProperty(i,"__esModule",{value:!0});var I=c(6119),S="browser-tabs-lock-key",T={key:function(j){return d(C,void 0,void 0,function(){return E(this,function(q){throw Error("Unsupported")})})},getItem:function(j){return d(C,void 0,void 0,function(){return E(this,function(q){throw Error("Unsupported")})})},clear:function(){return d(C,void 0,void 0,function(){return E(this,function(j){return[2,window.localStorage.clear()]})})},removeItem:function(j){return d(C,void 0,void 0,function(){return E(this,function(q){throw Error("Unsupported")})})},setItem:function(j,q){return d(C,void 0,void 0,function(){return E(this,function(Y){throw Error("Unsupported")})})},keySync:function(j){return window.localStorage.key(j)},getItemSync:function(j){return window.localStorage.getItem(j)},clearSync:function(){return window.localStorage.clear()},removeItemSync:function(j){return window.localStorage.removeItem(j)},setItemSync:function(j,q){return window.localStorage.setItem(j,q)}};function z(j){return new Promise(function(q){return setTimeout(q,j)})}function O(j){for(var q="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",Y="",re=0;re<j;re++){var ve=Math.floor(Math.random()*q.length);Y+=q[ve]}return Y}i.default=(function(){function j(q){this.acquiredIatSet=new Set,this.storageHandler=void 0,this.id=Date.now().toString()+O(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),this.storageHandler=q,j.waiters===void 0&&(j.waiters=[])}return j.prototype.acquireLock=function(q,Y){return Y===void 0&&(Y=5e3),d(this,void 0,void 0,function(){var re,ve,be,ge,$e,mt,at;return E(this,function(Re){switch(Re.label){case 0:re=Date.now()+O(4),ve=Date.now()+Y,be=S+"-"+q,ge=this.storageHandler===void 0?T:this.storageHandler,Re.label=1;case 1:return Date.now()<ve?[4,z(30)]:[3,8];case 2:return Re.sent(),ge.getItemSync(be)!==null?[3,5]:($e=this.id+"-"+q+"-"+re,[4,z(Math.floor(25*Math.random()))]);case 3:return Re.sent(),ge.setItemSync(be,JSON.stringify({id:this.id,iat:re,timeoutKey:$e,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,z(30)];case 4:return Re.sent(),(mt=ge.getItemSync(be))!==null&&(at=JSON.parse(mt)).id===this.id&&at.iat===re?(this.acquiredIatSet.add(re),this.refreshLockWhileAcquired(be,re),[2,!0]):[3,7];case 5:return j.lockCorrector(this.storageHandler===void 0?T:this.storageHandler),[4,this.waitForSomethingToChange(ve)];case 6:Re.sent(),Re.label=7;case 7:return re=Date.now()+O(4),[3,1];case 8:return[2,!1]}})})},j.prototype.refreshLockWhileAcquired=function(q,Y){return d(this,void 0,void 0,function(){var re=this;return E(this,function(ve){return setTimeout(function(){return d(re,void 0,void 0,function(){var be,ge,$e;return E(this,function(mt){switch(mt.label){case 0:return[4,I.default().lock(Y)];case 1:return mt.sent(),!this.acquiredIatSet.has(Y)||(ge=(be=this.storageHandler===void 0?T:this.storageHandler).getItemSync(q))===null?(I.default().unlock(Y),[2]):(($e=JSON.parse(ge)).timeRefreshed=Date.now(),be.setItemSync(q,JSON.stringify($e)),I.default().unlock(Y),this.refreshLockWhileAcquired(q,Y),[2])}})})},1e3),[2]})})},j.prototype.waitForSomethingToChange=function(q){return d(this,void 0,void 0,function(){return E(this,function(Y){switch(Y.label){case 0:return[4,new Promise(function(re){var ve=!1,be=Date.now(),ge=!1;function $e(){if(ge||(window.removeEventListener("storage",$e),j.removeFromWaiting($e),clearTimeout(mt),ge=!0),!ve){ve=!0;var at=50-(Date.now()-be);at>0?setTimeout(re,at):re(null)}}window.addEventListener("storage",$e),j.addToWaiting($e);var mt=setTimeout($e,Math.max(0,q-Date.now()))})];case 1:return Y.sent(),[2]}})})},j.addToWaiting=function(q){this.removeFromWaiting(q),j.waiters!==void 0&&j.waiters.push(q)},j.removeFromWaiting=function(q){j.waiters!==void 0&&(j.waiters=j.waiters.filter(function(Y){return Y!==q}))},j.notifyWaiters=function(){j.waiters!==void 0&&j.waiters.slice().forEach(function(q){return q()})},j.prototype.releaseLock=function(q){return d(this,void 0,void 0,function(){return E(this,function(Y){switch(Y.label){case 0:return[4,this.releaseLock__private__(q)];case 1:return[2,Y.sent()]}})})},j.prototype.releaseLock__private__=function(q){return d(this,void 0,void 0,function(){var Y,re,ve,be;return E(this,function(ge){switch(ge.label){case 0:return Y=this.storageHandler===void 0?T:this.storageHandler,re=S+"-"+q,(ve=Y.getItemSync(re))===null?[2]:(be=JSON.parse(ve)).id!==this.id?[3,2]:[4,I.default().lock(be.iat)];case 1:ge.sent(),this.acquiredIatSet.delete(be.iat),Y.removeItemSync(re),I.default().unlock(be.iat),j.notifyWaiters(),ge.label=2;case 2:return[2]}})})},j.lockCorrector=function(q){for(var Y=Date.now()-5e3,re=[],ve=0;;){var be=q.keySync(ve);if(be===null)break;re.push(be),ve++}for(var ge=!1,$e=0;$e<re.length;$e++){var mt=re[$e];if(mt.includes(S)){var at=q.getItemSync(mt);if(at!==null){var Re=JSON.parse(at);(Re.timeRefreshed===void 0&&Re.timeAcquired<Y||Re.timeRefreshed!==void 0&&Re.timeRefreshed<Y)&&(q.removeItemSync(mt),ge=!0)}}}ge&&j.notifyWaiters()},j.waiters=void 0,j})()},6119:function(s,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var c=(function(){function d(){var E=this;this.locked=new Map,this.addToLocked=function(C,I){var S=E.locked.get(C);S===void 0?I===void 0?E.locked.set(C,[]):E.locked.set(C,[I]):I!==void 0&&(S.unshift(I),E.locked.set(C,S))},this.isLocked=function(C){return E.locked.has(C)},this.lock=function(C){return new Promise(function(I,S){E.isLocked(C)?E.addToLocked(C,I):(E.addToLocked(C),I())})},this.unlock=function(C){var I=E.locked.get(C);if(I===void 0||I.length===0)return void E.locked.delete(C);var S=I.pop();E.locked.set(C,I),S!==void 0&&setTimeout(S,0)}}return d.getInstance=function(){return d.instance===void 0&&(d.instance=new d),d.instance},d})();i.default=function(){return c.getInstance()}},4763:function(s){s.exports=function(i,c){if(typeof i!="string")throw TypeError("Expected a string");for(var d,E=String(i),C="",I=!!c&&!!c.extended,S=!!c&&!!c.globstar,T=!1,z=c&&typeof c.flags=="string"?c.flags:"",O=0,j=E.length;O<j;O++)switch(d=E[O]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":C+="\\"+d;break;case"?":if(I){C+=".";break}case"[":case"]":if(I){C+=d;break}case"{":if(I){T=!0,C+="(";break}case"}":if(I){T=!1,C+=")";break}case",":if(T){C+="|";break}C+="\\"+d;break;case"*":for(var q=E[O-1],Y=1;E[O+1]==="*";)Y++,O++;var re=E[O+1];S?Y>1&&(q==="/"||q===void 0)&&(re==="/"||re===void 0)?(C+="((?:[^/]*(?:/|$))*)",O++):C+="([^/]*)":C+=".*";break;default:C+=d}return z&&~z.indexOf("g")||(C="^"+C+"$"),new RegExp(C,z)}},4096:function(s){var i=(function(c){"use strict";var d,E=Object.prototype,C=E.hasOwnProperty,I=Object.defineProperty||function(Ce,xe,ut){Ce[xe]=ut.value},S=typeof Symbol=="function"?Symbol:{},T=S.iterator||"@@iterator",z=S.asyncIterator||"@@asyncIterator",O=S.toStringTag||"@@toStringTag";function j(Ce,xe,ut){return Object.defineProperty(Ce,xe,{value:ut,enumerable:!0,configurable:!0,writable:!0}),Ce[xe]}try{j({},"")}catch{j=function(xe,ut,oe){return xe[ut]=oe}}function q(Ce,xe,ut,oe){var De,dt,ct,Jt,Qn=Object.create((xe&&xe.prototype instanceof $e?xe:$e).prototype);return I(Qn,"_invoke",{value:(De=Ce,dt=ut,ct=new ht(oe||[]),Jt=re,function(Ht,Fn){if(Jt===ve)throw Error("Generator is already running");if(Jt===be){if(Ht==="throw")throw Fn;return{value:d,done:!0}}for(ct.method=Ht,ct.arg=Fn;;){var yt=ct.delegate;if(yt){var Pn=(function er(Ai,ft){var Vt=ft.method,Sr=Ai.iterator[Vt];if(d===Sr)return ft.delegate=null,Vt==="throw"&&Ai.iterator.return&&(ft.method="return",ft.arg=d,er(Ai,ft),ft.method==="throw")||Vt!=="return"&&(ft.method="throw",ft.arg=TypeError("The iterator does not provide a '"+Vt+"' method")),ge;var Ji=Y(Sr,Ai.iterator,ft.arg);if(Ji.type==="throw")return ft.method="throw",ft.arg=Ji.arg,ft.delegate=null,ge;var We=Ji.arg;return We?We.done?(ft[Ai.resultName]=We.value,ft.next=Ai.nextLoc,ft.method!=="return"&&(ft.method="next",ft.arg=d),ft.delegate=null,ge):We:(ft.method="throw",ft.arg=TypeError("iterator result is not an object"),ft.delegate=null,ge)})(yt,ct);if(Pn){if(Pn===ge)continue;return Pn}}if(ct.method==="next")ct.sent=ct._sent=ct.arg;else if(ct.method==="throw"){if(Jt===re)throw Jt=be,ct.arg;ct.dispatchException(ct.arg)}else ct.method==="return"&&ct.abrupt("return",ct.arg);Jt=ve;var Nt=Y(De,dt,ct);if(Nt.type==="normal"){if(Jt=ct.done?be:"suspendedYield",Nt.arg===ge)continue;return{value:Nt.arg,done:ct.done}}Nt.type==="throw"&&(Jt=be,ct.method="throw",ct.arg=Nt.arg)}})}),Qn}function Y(Ce,xe,ut){try{return{type:"normal",arg:Ce.call(xe,ut)}}catch(oe){return{type:"throw",arg:oe}}}c.wrap=q;var re="suspendedStart",ve="executing",be="completed",ge={};function $e(){}function mt(){}function at(){}var Re={};j(Re,T,function(){return this});var et=Object.getPrototypeOf,St=et&&et(et(Ze([])));St&&St!==E&&C.call(St,T)&&(Re=St);var $t=at.prototype=$e.prototype=Object.create(Re);function Ct(Ce){["next","throw","return"].forEach(function(xe){j(Ce,xe,function(ut){return this._invoke(xe,ut)})})}function In(Ce,xe){var ut;I(this,"_invoke",{value:function(oe,De){function dt(){return new xe(function(ct,Jt){(function Qn(Ht,Fn,yt,Pn){var Nt=Y(Ce[Ht],Ce,Fn);if(Nt.type==="throw")Pn(Nt.arg);else{var er=Nt.arg,Ai=er.value;return Ai&&typeof Ai=="object"&&C.call(Ai,"__await")?xe.resolve(Ai.__await).then(function(ft){Qn("next",ft,yt,Pn)},function(ft){Qn("throw",ft,yt,Pn)}):xe.resolve(Ai).then(function(ft){er.value=ft,yt(er)},function(ft){return Qn("throw",ft,yt,Pn)})}})(oe,De,ct,Jt)})}return ut=ut?ut.then(dt,dt):dt()}})}function Qi(Ce){var xe={tryLoc:Ce[0]};1 in Ce&&(xe.catchLoc=Ce[1]),2 in Ce&&(xe.finallyLoc=Ce[2],xe.afterLoc=Ce[3]),this.tryEntries.push(xe)}function ye(Ce){var xe=Ce.completion||{};xe.type="normal",delete xe.arg,Ce.completion=xe}function ht(Ce){this.tryEntries=[{tryLoc:"root"}],Ce.forEach(Qi,this),this.reset(!0)}function Ze(Ce){if(Ce!=null){var xe=Ce[T];if(xe)return xe.call(Ce);if(typeof Ce.next=="function")return Ce;if(!isNaN(Ce.length)){var ut=-1,oe=function De(){for(;++ut<Ce.length;)if(C.call(Ce,ut))return De.value=Ce[ut],De.done=!1,De;return De.value=d,De.done=!0,De};return oe.next=oe}}throw TypeError(typeof Ce+" is not iterable")}return mt.prototype=at,I($t,"constructor",{value:at,configurable:!0}),I(at,"constructor",{value:mt,configurable:!0}),mt.displayName=j(at,O,"GeneratorFunction"),c.isGeneratorFunction=function(Ce){var xe=typeof Ce=="function"&&Ce.constructor;return!!xe&&(xe===mt||(xe.displayName||xe.name)==="GeneratorFunction")},c.mark=function(Ce){return Object.setPrototypeOf?Object.setPrototypeOf(Ce,at):(Ce.__proto__=at,j(Ce,O,"GeneratorFunction")),Ce.prototype=Object.create($t),Ce},c.awrap=function(Ce){return{__await:Ce}},Ct(In.prototype),j(In.prototype,z,function(){return this}),c.AsyncIterator=In,c.async=function(Ce,xe,ut,oe,De){De===void 0&&(De=Promise);var dt=new In(q(Ce,xe,ut,oe),De);return c.isGeneratorFunction(xe)?dt:dt.next().then(function(ct){return ct.done?ct.value:dt.next()})},Ct($t),j($t,O,"Generator"),j($t,T,function(){return this}),j($t,"toString",function(){return"[object Generator]"}),c.keys=function(Ce){var xe=Object(Ce),ut=[];for(var oe in xe)ut.push(oe);return ut.reverse(),function De(){for(;ut.length;){var dt=ut.pop();if(dt in xe)return De.value=dt,De.done=!1,De}return De.done=!0,De}},c.values=Ze,ht.prototype={constructor:ht,reset:function(Ce){if(this.prev=0,this.next=0,this.sent=this._sent=d,this.done=!1,this.delegate=null,this.method="next",this.arg=d,this.tryEntries.forEach(ye),!Ce)for(var xe in this)xe.charAt(0)==="t"&&C.call(this,xe)&&!isNaN(+xe.slice(1))&&(this[xe]=d)},stop:function(){this.done=!0;var Ce=this.tryEntries[0].completion;if(Ce.type==="throw")throw Ce.arg;return this.rval},dispatchException:function(Ce){if(this.done)throw Ce;var xe=this;function ut(Qn,Ht){return dt.type="throw",dt.arg=Ce,xe.next=Qn,Ht&&(xe.method="next",xe.arg=d),!!Ht}for(var oe=this.tryEntries.length-1;oe>=0;--oe){var De=this.tryEntries[oe],dt=De.completion;if(De.tryLoc==="root")return ut("end");if(De.tryLoc<=this.prev){var ct=C.call(De,"catchLoc"),Jt=C.call(De,"finallyLoc");if(ct&&Jt){if(this.prev<De.catchLoc)return ut(De.catchLoc,!0);if(this.prev<De.finallyLoc)return ut(De.finallyLoc)}else if(ct){if(this.prev<De.catchLoc)return ut(De.catchLoc,!0)}else if(Jt){if(this.prev<De.finallyLoc)return ut(De.finallyLoc)}else throw Error("try statement without catch or finally")}}},abrupt:function(Ce,xe){for(var ut=this.tryEntries.length-1;ut>=0;--ut){var oe=this.tryEntries[ut];if(oe.tryLoc<=this.prev&&C.call(oe,"finallyLoc")&&this.prev<oe.finallyLoc){var De=oe;break}}De&&(Ce==="break"||Ce==="continue")&&De.tryLoc<=xe&&xe<=De.finallyLoc&&(De=null);var dt=De?De.completion:{};return dt.type=Ce,dt.arg=xe,De?(this.method="next",this.next=De.finallyLoc,ge):this.complete(dt)},complete:function(Ce,xe){if(Ce.type==="throw")throw Ce.arg;return Ce.type==="break"||Ce.type==="continue"?this.next=Ce.arg:Ce.type==="return"?(this.rval=this.arg=Ce.arg,this.method="return",this.next="end"):Ce.type==="normal"&&xe&&(this.next=xe),ge},finish:function(Ce){for(var xe=this.tryEntries.length-1;xe>=0;--xe){var ut=this.tryEntries[xe];if(ut.finallyLoc===Ce)return this.complete(ut.completion,ut.afterLoc),ye(ut),ge}},catch:function(Ce){for(var xe=this.tryEntries.length-1;xe>=0;--xe){var ut=this.tryEntries[xe];if(ut.tryLoc===Ce){var oe=ut.completion;if(oe.type==="throw"){var De=oe.arg;ye(ut)}return De}}throw Error("illegal catch attempt")},delegateYield:function(Ce,xe,ut){return this.delegate={iterator:Ze(Ce),resultName:xe,nextLoc:ut},this.method==="next"&&(this.arg=d),ge}},c})(s.exports);try{regeneratorRuntime=i}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}}},t={};function a(s){var i=t[s];if(i!==void 0)return i.exports;var c=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(c.exports,c,c.exports,a),c.loaded=!0,c.exports}return a.m=e,a.n=s=>{var i=s&&s.__esModule?()=>s.default:()=>s;return a.d(i,{a:i}),i},(()=>{var s,i=Object.getPrototypeOf?c=>Object.getPrototypeOf(c):c=>c.__proto__;a.t=function(c,d){if(1&d&&(c=this(c)),8&d||typeof c=="object"&&c&&(4&d&&c.__esModule||16&d&&typeof c.then=="function"))return c;var E=Object.create(null);a.r(E);var C={};s=s||[null,i({}),i([]),i(i)];for(var I=2&d&&c;typeof I=="object"&&!~s.indexOf(I);I=i(I))Object.getOwnPropertyNames(I).forEach(S=>{C[S]=()=>c[S]});return C.default=()=>c,a.d(E,C),E}})(),a.d=(s,i)=>{for(var c in i)a.o(i,c)&&!a.o(s,c)&&Object.defineProperty(s,c,{enumerable:!0,get:i[c]})},a.f={},a.e=s=>Promise.all(Object.keys(a.f).reduce((i,c)=>(a.f[c](s,i),i),[])),a.hmd=s=>((s=Object.create(s)).children||(s.children=[]),Object.defineProperty(s,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+s.id)}}),s),a.u=s=>""+(s==="199"?"cookieSuffix":s)+"_clerk.headless_"+a.h().slice(0,6)+"_5.109.2.js",a.h=()=>"15b4b7b8a54edb47",a.g=(()=>{if(typeof globalThis=="object")return globalThis;try{return HE||Function("return this")()}catch{if(typeof window=="object")return window}})(),a.o=(s,i)=>Object.prototype.hasOwnProperty.call(s,i),(()=>{var s={},i="@clerk/clerk-js:";a.l=function(c,d,E,C){if(s[c])return void s[c].push(d);if(E!==void 0)for(var I,S,T=document.getElementsByTagName("script"),z=0;z<T.length;z++){var O=T[z];if(O.getAttribute("src")==c||O.getAttribute("data-webpack")==i+E){I=O;break}}I||(S=!0,(I=document.createElement("script")).charset="utf-8",I.timeout=120,a.nc&&I.setAttribute("nonce",a.nc),I.setAttribute("data-webpack",i+E),I.src=c),s[c]=[d];var j=function(Y,re){I.onerror=I.onload=null,clearTimeout(q);var ve=s[c];if(delete s[c],I.parentNode&&I.parentNode.removeChild(I),ve&&ve.forEach(function(be){return be(re)}),Y)return Y(re)},q=setTimeout(j.bind(null,void 0,{type:"timeout",target:I}),12e4);I.onerror=j.bind(null,I.onerror),I.onload=j.bind(null,I.onload),S&&document.head.appendChild(I)}})(),a.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.p="",(()=>{var s={994:0};a.f.j=function(d,E){var C=a.o(s,d)?s[d]:void 0;if(C!==0)if(C)E.push(C[2]);else{var I=new Promise((z,O)=>C=s[d]=[z,O]);E.push(C[2]=I);var S=a.p+a.u(d),T=Error();a.l(S,function(z){if(a.o(s,d)&&((C=s[d])!==0&&(s[d]=void 0),C)){var O=z&&(z.type==="load"?"missing":z.type),j=z&&z.target&&z.target.src;T.message="Loading chunk "+d+` failed.
|
|
370
|
+
(`+O+": "+j+")",T.name="ChunkLoadError",T.type=O,T.request=j,C[1](T)}},"chunk-"+d,d)}};var i=(d,E)=>{var C,I,S=E[0],T=E[1],z=E[2],O=0;if(S.some(j=>s[j]!==0)){for(C in T)a.o(T,C)&&(a.m[C]=T[C]);z&&z(a)}for(d&&d(E);O<S.length;O++)I=S[O],a.o(s,I)&&s[I]&&s[I][0](),s[I]=0},c=globalThis.webpackChunk_clerk_clerk_js=globalThis.webpackChunk_clerk_clerk_js||[];c.forEach(i.bind(null,0)),c.push=i.bind(null,c.push.bind(c))})(),a(3822)})())});var i6=un((Une,n6)=>{"use strict";n6.exports=t6()});async function a6(e){let t=new CK(e);return await t.load({standardBrowser:!1}),t}async function o6(e,t){let a=await e.client?.signIn.create({ticket:t,strategy:"ticket"});if(!a||!a.createdSessionId)throw new Error("Failed to sign in.");return{createdSessionId:a.createdSessionId}}var r6,CK,s6=L(()=>{"use strict";r6=It(i6(),1),CK=r6.default.Clerk});async function g1(e,t){await e.fsPromise.stat(t).then(()=>!0).catch(()=>!1)||await e.fsPromise.mkdir(t,{recursive:!0})}function GE(e){if(!e.path)throw new Error("No `path` found in context.");if(!e.os)throw new Error("No `os` found in context.");let t=e.os.homedir();return e.path.join(t,".swirls")}var m1=L(()=>{"use strict"});function h1(e){return`${GE(e)}/credentials`}async function l6(e){let t=h1(e);await e.fsPromise.stat(t).then(()=>!0).catch(()=>!1)&&await e.fsPromise.unlink(t)}async function s0(e){let t=h1(e),a=await e.fsPromise.readFile(t,"utf8");return cA(IK,JSON.parse(a))}async function E1(e,t,a,s){let i=h1(e);await g1(e,GE(e)),await e.fsPromise.writeFile(i,JSON.stringify({idToken:t,jwt:a,sessionId:s}))}var IK,y1=L(()=>{"use strict";nm();m1();IK=_d({idToken:Po(),jwt:Po(),sessionId:Po()})});import u6 from"fs";function BK(){try{return u6.statSync("/.dockerenv"),!0}catch{return!1}}function _K(){try{return u6.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function C1(){return v1===void 0&&(v1=BK()||_K()),v1}var v1,c6=L(()=>{"use strict"});import DK from"fs";function im(){return I1===void 0&&(I1=QK()||C1()),I1}var I1,QK,B1=L(()=>{"use strict";c6();QK=()=>{try{return DK.statSync("/run/.containerenv"),!0}catch{return!1}}});import d6 from"process";import SK from"os";import bK from"fs";var A6,Qd,_1=L(()=>{"use strict";B1();A6=()=>{if(d6.platform!=="linux")return!1;if(SK.release().toLowerCase().includes("microsoft"))return!im();try{return bK.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!im():!1}catch{return!1}},Qd=d6.env.__IS_WSL_TEST__?A6:A6()});import f6 from"process";import p6,{constants as wK}from"fs/promises";var xK,UK,D1,g6=L(()=>{"use strict";_1();_1();xK=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let a="/etc/wsl.conf",s=!1;try{await p6.access(a,wK.F_OK),s=!0}catch{}if(!s)return e;let i=await p6.readFile(a,{encoding:"utf8"}),c=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(i);return c?(t=c.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),UK=async()=>`${await xK()}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`,D1=async()=>Qd?UK():`${f6.env.SYSTEMROOT||f6.env.windir||String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`});function Sd(e,t,a){let s=i=>Object.defineProperty(e,t,{value:i,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let i=a();return s(i),i},set(i){s(i)}}),e}var m6=L(()=>{"use strict"});import{promisify as NK}from"util";import RK from"process";import{execFile as TK}from"child_process";async function Q1(){if(RK.platform!=="darwin")throw new Error("macOS only");let{stdout:e}=await OK("defaults",["read","com.apple.LaunchServices/com.apple.launchservices.secure","LSHandlers"]),a=/LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(e)?.groups.id??"com.apple.Safari";return a==="com.apple.safari"?"com.apple.Safari":a}var OK,h6=L(()=>{"use strict";OK=NK(TK)});import kK from"process";import{promisify as FK}from"util";import{execFile as zK,execFileSync as aie}from"child_process";async function E6(e,{humanReadableOutput:t=!0,signal:a}={}){if(kK.platform!=="darwin")throw new Error("macOS only");let s=t?[]:["-ss"],i={};a&&(i.signal=a);let{stdout:c}=await MK("osascript",["-e",e,s],i);return c.trim()}var MK,y6=L(()=>{"use strict";MK=FK(zK)});async function S1(e){return E6(`tell application "Finder" to set app_path to application file id "${e}" as string
|
|
371
|
+
tell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`)}var v6=L(()=>{"use strict";y6()});import{promisify as LK}from"util";import{execFile as $K}from"child_process";async function b1(e=HK){let{stdout:t}=await e("reg",["QUERY"," HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice","/v","ProgId"]),a=/ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(t);if(!a)throw new l0(`Cannot find Windows browser in stdout: ${JSON.stringify(t)}`);let{id:s}=a.groups,i=C6[s];if(!i)throw new l0(`Unknown browser ID: ${s}`);return i}var HK,C6,Aie,l0,I6=L(()=>{"use strict";HK=LK($K),C6={MSEdgeHTM:{name:"Edge",id:"com.microsoft.edge"},MSEdgeBHTML:{name:"Edge Beta",id:"com.microsoft.edge.beta"},MSEdgeDHTML:{name:"Edge Dev",id:"com.microsoft.edge.dev"},AppXq0fevzme2pys62n3e0fbqa7peapykr8v:{name:"Edge",id:"com.microsoft.edge.old"},ChromeHTML:{name:"Chrome",id:"com.google.chrome"},ChromeBHTML:{name:"Chrome Beta",id:"com.google.chrome.beta"},ChromeDHTML:{name:"Chrome Dev",id:"com.google.chrome.dev"},ChromiumHTM:{name:"Chromium",id:"org.chromium.Chromium"},BraveHTML:{name:"Brave",id:"com.brave.Browser"},BraveBHTML:{name:"Brave Beta",id:"com.brave.Browser.beta"},BraveDHTML:{name:"Brave Dev",id:"com.brave.Browser.dev"},BraveSSHTM:{name:"Brave Nightly",id:"com.brave.Browser.nightly"},FirefoxURL:{name:"Firefox",id:"org.mozilla.firefox"},OperaStable:{name:"Opera",id:"com.operasoftware.Opera"},VivaldiHTM:{name:"Vivaldi",id:"com.vivaldi.Vivaldi"},"IE.HTTP":{name:"Internet Explorer",id:"com.microsoft.ie"}},Aie=new Map(Object.entries(C6)),l0=class extends Error{}});import{promisify as GK}from"util";import w1 from"process";import{execFile as jK}from"child_process";async function x1(){if(w1.platform==="darwin"){let e=await Q1();return{name:await S1(e),id:e}}if(w1.platform==="linux"){let{stdout:e}=await PK("xdg-mime",["query","default","x-scheme-handler/http"]),t=e.trim();return{name:JK(t.replace(/.desktop$/,"").replace("-"," ")),id:t}}if(w1.platform==="win32")return b1();throw new Error("Only macOS, Linux, and Windows are supported")}var PK,JK,B6=L(()=>{"use strict";h6();v6();I6();PK=GK(jK),JK=e=>e.toLowerCase().replaceAll(/(?:^|\s|-)\S/g,t=>t.toUpperCase())});import b6 from"process";import{Buffer as w6}from"buffer";import x6 from"path";import{fileURLToPath as KK}from"url";import{promisify as ZK}from"util";import U6 from"child_process";import YK,{constants as VK}from"fs/promises";async function XK(){let e=await D1(),t=String.raw`(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice").ProgId`,a=w6.from(t,"utf16le").toString("base64"),{stdout:s}=await qK(e,["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand",a],{encoding:"utf8"}),i=s.trim(),c={ChromeHTML:"com.google.chrome",BraveHTML:"com.brave.Browser",MSEdgeHTM:"com.microsoft.edge",FirefoxURL:"org.mozilla.firefox"};return c[i]?{id:c[i]}:{}}function S6(e){if(typeof e=="string"||Array.isArray(e))return e;let{[D6]:t}=e;if(!t)throw new Error(`${D6} is not supported`);return t}function c0({[rm]:e},{wsl:t}){if(t&&Qd)return S6(t);if(!e)throw new Error(`${rm} is not supported`);return S6(e)}var qK,U1,_6,rm,D6,Q6,u0,WK,Pf,N6,R6=L(()=>{"use strict";g6();m6();B6();B1();qK=ZK(U6.execFile),U1=x6.dirname(KK(import.meta.url)),_6=x6.join(U1,"xdg-open"),{platform:rm,arch:D6}=b6;Q6=async(e,t)=>{let a;for(let s of e)try{return await t(s)}catch(i){a=i}throw a},u0=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return Q6(e.app,E=>u0({...e,app:E}));let{name:t,arguments:a=[]}=e.app??{};if(a=[...a],Array.isArray(t))return Q6(t,E=>u0({...e,app:{name:E,arguments:a}}));if(t==="browser"||t==="browserPrivate"){let E={"com.google.chrome":"chrome","google-chrome.desktop":"chrome","com.brave.Browser":"brave","org.mozilla.firefox":"firefox","firefox.desktop":"firefox","com.microsoft.msedge":"edge","com.microsoft.edge":"edge","com.microsoft.edgemac":"edge","microsoft-edge.desktop":"edge"},C={chrome:"--incognito",brave:"--incognito",firefox:"--private-window",edge:"--inPrivate"},I=Qd?await XK():await x1();if(I.id in E){let S=E[I.id];return t==="browserPrivate"&&a.push(C[S]),u0({...e,app:{name:Pf[S],arguments:a}})}throw new Error(`${I.name} is not supported as a default browser`)}let s,i=[],c={};if(rm==="darwin")s="open",e.wait&&i.push("--wait-apps"),e.background&&i.push("--background"),e.newInstance&&i.push("--new"),t&&i.push("-a",t);else if(rm==="win32"||Qd&&!im()&&!t){s=await D1(),i.push("-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand"),Qd||(c.windowsVerbatimArguments=!0);let E=["Start"];e.wait&&E.push("-Wait"),t?(E.push(`"\`"${t}\`""`),e.target&&a.push(e.target)):e.target&&E.push(`"${e.target}"`),a.length>0&&(a=a.map(C=>`"\`"${C}\`""`),E.push("-ArgumentList",a.join(","))),e.target=w6.from(E.join(" "),"utf16le").toString("base64")}else{if(t)s=t;else{let E=!U1||U1==="/",C=!1;try{await YK.access(_6,VK.X_OK),C=!0}catch{}s=b6.versions.electron??(rm==="android"||E||!C)?"xdg-open":_6}a.length>0&&i.push(...a),e.wait||(c.stdio="ignore",c.detached=!0)}rm==="darwin"&&a.length>0&&i.push("--args",...a),e.target&&i.push(e.target);let d=U6.spawn(s,i,c);return e.wait?new Promise((E,C)=>{d.once("error",C),d.once("close",I=>{if(!e.allowNonzeroExitCode&&I>0){C(new Error(`Exited with code ${I}`));return}E(d)})}):(d.unref(),d)},WK=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return u0({...t,target:e})};Pf={};Sd(Pf,"chrome",()=>c0({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));Sd(Pf,"brave",()=>c0({darwin:"brave browser",win32:"brave",linux:["brave-browser","brave"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe",x64:["/mnt/c/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe","/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe"]}}));Sd(Pf,"firefox",()=>c0({darwin:"firefox",win32:String.raw`C:\Program Files\Mozilla Firefox\firefox.exe`,linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));Sd(Pf,"edge",()=>c0({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));Sd(Pf,"browser",()=>"browser");Sd(Pf,"browserPrivate",()=>"browserPrivate");N6=WK});function T6(e=32){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=new Uint8Array(e);crypto.getRandomValues(a);let s="";for(let i of a)s+=t[i%t.length];return s}function O6(e){let t=new URLSearchParams({client_id:e.clientId,redirect_uri:e.redirectUri,response_type:"code",scope:"openid profile email",state:e.state});N6(`${e.authorizeUri}?${t}`)}var k6=L(()=>{"use strict";R6()});function F6(e){return e[0]??{}}function Kf(e){return Array.isArray(e)?e:e==null?[]:[e]}function R1(e){let t;return()=>{if(t)return t.result;let a=e();return t={result:a},a}}function nZ(e){let t=Promise.resolve();return(...a)=>t=t.catch(()=>{}).then(()=>e(...a))}function jE(){return globalThis[rZ]}function d0(e,t={},a){return jE()?.tracer?.startSpan(e,t,a)}function bd(e,t,a={}){if(!e)return;let s=aZ(t);e.recordException(s),(!a.signal?.aborted||a.signal.reason!==t)&&e.setStatus({code:iZ,message:s.message})}function aZ(e){if(e instanceof Error){let t={message:e.message,name:e.name,stack:e.stack};return"code"in e&&(typeof e.code=="string"||typeof e.code=="number")&&(t.code=e.code),t}return{message:String(e)}}async function Zf({name:e,context:t,...a},s){let i=jE()?.tracer;if(!i)return s();let c=async d=>{try{return await s(d)}catch(E){throw bd(d,E,a),E}finally{d.end()}};return t?i.startActiveSpan(e,a,t,c):i.startActiveSpan(e,a,c)}async function Jf(e,t){let a=jE();if(!e||!a)return t();let s=a.trace.setSpan(a.context.active(),e);return a.context.with(s,t)}function dA(e){return!e||typeof e!="object"?!1:"next"in e&&typeof e.next=="function"&&Symbol.asyncIterator in e&&typeof e[Symbol.asyncIterator]=="function"}function T1({name:e,...t},a){let s;return new AA(async()=>{s??=d0(e);try{let i=await Jf(s,()=>a.next());return s?.addEvent(i.done?"completed":"yielded"),i}catch(i){throw bd(s,i,t),i}},async i=>{try{i!=="next"&&await Jf(s,()=>a.return?.())}catch(c){throw bd(s,c,t),c}finally{s?.end()}})}function O1(e){return async(t,...a)=>{try{return await t.next()}catch(s){throw await e(s,t,...a),s}}}function PE(e,t,a){let s=(i,c)=>{let d=e[c];return d?d({...i,next:(E=i)=>s(E,c+1)}):a(i)};return s(t,0)}function JE(e){if(e)return JSON.parse(e)}function Yf(e){return JSON.stringify(e)}function z6(e){return Yu(e)?Object.getPrototypeOf(e)?.constructor:null}function f0(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||!t||!t.constructor}function Yu(e){return!!e&&(typeof e=="object"||typeof e=="function")}function KE(e,...t){return typeof e=="function"?e(...t):e}function k1(e){return new Proxy(e,{get(t,a,s){let i=Reflect.get(t,a,s);return a!=="then"||typeof i!="function"?i:new Proxy(i,{apply(c,d,E){if(E.length!==2||E.some(I=>!uZ(I)))return Reflect.apply(c,d,E);let C=!0;E[0].call(d,k1(new Proxy(t,{get:(I,S,T)=>{if(C&&S==="then"){C=!1;return}return Reflect.get(I,S,T)}})))}})}})}function uZ(e){return typeof e=="function"&&lZ.test(e.toString())}function M6(e){try{return decodeURIComponent(e)}catch{return e}}var N1,eZ,tZ,A0,iZ,rZ,oZ,sZ,AA,lZ,fA=L(()=>{"use strict";N1="orpc",eZ="@orpc/shared",tZ="1.12.2",A0=class extends Error{constructor(...t){super(...t),this.name="AbortError"}};iZ=2,rZ=`__${eZ}@${tZ}/otel/config__`;oZ=Symbol.for("asyncDispose"),sZ=Symbol.asyncDispose??oZ,AA=class{#n=!1;#r=!1;#i;#s;constructor(t,a){this.#i=a,this.#s=nZ(async()=>{if(this.#n)return{done:!0,value:void 0};try{let s=await t();return s.done&&(this.#n=!0),s}catch(s){throw this.#n=!0,s}finally{this.#n&&!this.#r&&(this.#r=!0,await this.#i("next"))}})}next(){return this.#s()}async return(t){return this.#n=!0,this.#r||(this.#r=!0,await this.#i("return")),{done:!0,value:t}}async throw(t){throw this.#n=!0,this.#r||(this.#r=!0,await this.#i("throw")),t}async[sZ](){this.#n=!0,this.#r||(this.#r=!0,await this.#i("dispose"))}[Symbol.asyncIterator](){return this}};lZ=/^\s*function\s*\(\)\s*\{\s*\[native code\]\s*\}\s*$/});function H6(e,t){return t??ZE[e]?.status??500}function G6(e,t){return t||ZE[e]?.message||e}function z1(e){return e instanceof pA?e:new pA("INTERNAL_SERVER_ERROR",{message:"Internal server error",cause:e})}function YE(e){return e<200||e>=400}function p0(e){if(!f0(e))return!1;let t=["defined","code","status","message","data"];return Object.keys(e).some(a=>!t.includes(a))?!1:"defined"in e&&typeof e.defined=="boolean"&&"code"in e&&typeof e.code=="string"&&"status"in e&&typeof e.status=="number"&&YE(e.status)&&"message"in e&&typeof e.message=="string"}function g0(e,t={}){return new pA(e.code,{...t,...e})}var L6,$6,ZE,j6,F1,pA,VE=L(()=>{"use strict";fA();L6="@orpc/client",$6="1.12.2",ZE={BAD_REQUEST:{status:400,message:"Bad Request"},UNAUTHORIZED:{status:401,message:"Unauthorized"},FORBIDDEN:{status:403,message:"Forbidden"},NOT_FOUND:{status:404,message:"Not Found"},METHOD_NOT_SUPPORTED:{status:405,message:"Method Not Supported"},NOT_ACCEPTABLE:{status:406,message:"Not Acceptable"},TIMEOUT:{status:408,message:"Request Timeout"},CONFLICT:{status:409,message:"Conflict"},PRECONDITION_FAILED:{status:412,message:"Precondition Failed"},PAYLOAD_TOO_LARGE:{status:413,message:"Payload Too Large"},UNSUPPORTED_MEDIA_TYPE:{status:415,message:"Unsupported Media Type"},UNPROCESSABLE_CONTENT:{status:422,message:"Unprocessable Content"},TOO_MANY_REQUESTS:{status:429,message:"Too Many Requests"},CLIENT_CLOSED_REQUEST:{status:499,message:"Client Closed Request"},INTERNAL_SERVER_ERROR:{status:500,message:"Internal Server Error"},NOT_IMPLEMENTED:{status:501,message:"Not Implemented"},BAD_GATEWAY:{status:502,message:"Bad Gateway"},SERVICE_UNAVAILABLE:{status:503,message:"Service Unavailable"},GATEWAY_TIMEOUT:{status:504,message:"Gateway Timeout"}};j6=Symbol.for(`__${L6}@${$6}/error/ORPC_ERROR_CONSTRUCTORS__`);globalThis[j6]??=new WeakSet;F1=globalThis[j6],pA=class extends Error{defined;code;status;data;constructor(t,...a){let s=F6(a);if(s.status!==void 0&&!YE(s.status))throw new Error("[ORPCError] Invalid error status code.");let i=G6(t,s.message);super(i,s),this.code=t,this.status=H6(t,s.status),this.defined=s.defined??!1,this.data=s.data}toJSON(){return{defined:this.defined,code:this.code,status:this.status,message:this.message,data:this.data}}static[Symbol.hasInstance](t){if(F1.has(this)){let a=z6(t);if(a&&F1.has(a))return!0}return super[Symbol.hasInstance](t)}};F1.add(pA)});function cZ(e){let t=e.replace(/\n+$/,"").split(/\n/),a={data:void 0,event:void 0,id:void 0,retry:void 0,comments:[]};for(let s of t){let i=s.indexOf(":"),c=i===-1?s:s.slice(0,i),d=i===-1?"":s.slice(i+1).replace(/^\s/,"");if(i===0)a.comments.push(d);else if(c==="data")a.data??="",a.data+=`${d}
|
|
372
|
+
`;else if(c==="event")a.event=d;else if(c==="id")a.id=d;else if(c==="retry"){let E=Number.parseInt(d);Number.isInteger(E)&&E>=0&&E.toString()===d&&(a.retry=E)}}return a.data=a.data?.replace(/\n$/,""),a}function P6(e){if(e.includes(`
|
|
373
|
+
`))throw new am("Event's id must not contain a newline character")}function AZ(e){if(e.includes(`
|
|
374
|
+
`))throw new am("Event's event must not contain a newline character")}function J6(e){if(!Number.isInteger(e)||e<0)throw new am("Event's retry must be a integer and >= 0")}function K6(e){if(e.includes(`
|
|
375
|
+
`))throw new am("Event's comment must not contain a newline character")}function dZ(e){let t=e?.split(/\n/)??[],a="";for(let s of t)a+=`data: ${s}
|
|
376
|
+
`;return a}function fZ(e){let t="";for(let a of e??[])K6(a),t+=`: ${a}
|
|
377
|
+
`;return t}function qE(e){let t="";return t+=fZ(e.comments),e.event!==void 0&&(AZ(e.event),t+=`event: ${e.event}
|
|
378
|
+
`),e.retry!==void 0&&(J6(e.retry),t+=`retry: ${e.retry}
|
|
379
|
+
`),e.id!==void 0&&(P6(e.id),t+=`id: ${e.id}
|
|
380
|
+
`),t+=dZ(e.data),t+=`
|
|
381
|
+
`,t}function Vf(e,t){if(t.id===void 0&&t.retry===void 0&&!t.comments?.length)return e;if(t.id!==void 0&&P6(t.id),t.retry!==void 0&&J6(t.retry),t.comments!==void 0)for(let a of t.comments)K6(a);return new Proxy(e,{get(a,s,i){return s===Z6?t:Reflect.get(a,s,i)}})}function om(e){return Yu(e)?Reflect.get(e,Z6):void 0}function Y6(e){let t=e.replace(/"/g,'\\"'),a=encodeURIComponent(e).replace(/['()*]/g,s=>`%${s.charCodeAt(0).toString(16).toUpperCase()}`).replace(/%(7C|60|5E)/g,(s,i)=>String.fromCharCode(Number.parseInt(i,16)));return`inline; filename="${t}"; filename*=utf-8''${a}`}function V6(e){let t=e.match(/filename\*=(UTF-8'')?([^;]*)/i);if(t&&typeof t[2]=="string")return M6(t[2]);let a=e.match(/filename="((?:\\"|[^"])*)"/i);if(a&&typeof a[1]=="string")return a[1].replace(/\\"/g,'"')}function q6(e,t){let a={...e};for(let s in t)Array.isArray(t[s])?a[s]=[...Kf(a[s]),...t[s]]:t[s]!==void 0&&(Array.isArray(a[s])?a[s]=[...a[s],t[s]]:a[s]!==void 0?a[s]=[a[s],t[s]]:a[s]=t[s]);return a}var am,M1,Vl,L1,m0,Z6,sm=L(()=>{"use strict";fA();am=class extends TypeError{},M1=class extends TypeError{},Vl=class extends Error{data;constructor(t){super(t?.message??"An error event was received",t),this.data=t?.data}};L1=class{constructor(t={}){this.options=t}incomplete="";feed(t){this.incomplete+=t;let a=this.incomplete.lastIndexOf(`
|
|
382
|
+
|
|
383
|
+
`);if(a===-1)return;let s=this.incomplete.slice(0,a).split(/\n\n/);this.incomplete=this.incomplete.slice(a+2);for(let i of s){let c=cZ(`${i}
|
|
384
|
+
|
|
385
|
+
`);this.options.onEvent&&this.options.onEvent(c)}this.incomplete=""}end(){if(this.incomplete)throw new M1("Event Iterator ended before complete")}},m0=class extends TransformStream{constructor(){let t;super({start(a){t=new L1({onEvent:s=>{a.enqueue(s)}})},transform(a){t.feed(a)},flush(){t.end()}})}};Z6=Symbol("ORPC_EVENT_SOURCE_META")});function h0(e,t){let a=async s=>{let i=await t.error(s);if(i!==s){let c=om(s);c&&Yu(i)&&(i=Vf(i,c))}return i};return new AA(async()=>{let{done:s,value:i}=await(async()=>{try{return await e.next()}catch(d){throw await a(d)}})(),c=await t.value(i,s);if(c!==i){let d=om(i);d&&Yu(c)&&(c=Vf(c,d))}return{done:s,value:c}},async()=>{try{await e.return?.()}catch(s){throw await a(s)}})}var E0=L(()=>{"use strict";fA();sm()});function pZ(e){return{...e,context:e.context??{}}}function $1(e,t={}){let a=t.path??[],s=async(...[c,d={}])=>await e.call(a,c,pZ(d)),i=new Proxy(s,{get(c,d){return typeof d!="string"?Reflect.get(c,d):$1(e,{...t,path:[...a,d]})}});return k1(i)}var X6=L(()=>{"use strict";fA();fA();VE();VE();E0();sm()});function gZ(e,t={}){let s=e?.pipeThrough(new TextDecoderStream).pipeThrough(new m0)?.getReader(),i,c=!1;return new AA(async()=>{i??=d0("consume_event_iterator_stream");try{for(;;){if(s===void 0)return{done:!0,value:void 0};let{done:d,value:E}=await Jf(i,()=>s.read());if(d){if(c)throw new A0("Stream was cancelled");return{done:!0,value:void 0}}switch(E.event){case"message":{let C=JE(E.data);return Yu(C)&&(C=Vf(C,E)),i?.addEvent("message"),{done:!1,value:C}}case"error":{let C=new Vl({data:JE(E.data)});throw C=Vf(C,E),i?.addEvent("error"),C}case"done":{let C=JE(E.data);return Yu(C)&&(C=Vf(C,E)),i?.addEvent("done"),{done:!0,value:C}}default:i?.addEvent("maybe_keepalive")}}}catch(d){throw d instanceof Vl||bd(i,d,t),d}},async d=>{try{d!=="next"&&(c=!0,i?.addEvent("cancelled")),await Jf(i,()=>s?.cancel())}catch(E){throw bd(i,E,t),E}finally{i?.end()}})}function mZ(e,t={}){let a=t.eventIteratorKeepAliveEnabled??!0,s=t.eventIteratorKeepAliveInterval??5e3,i=t.eventIteratorKeepAliveComment??"",c=t.eventIteratorInitialCommentEnabled??!0,d=t.eventIteratorInitialComment??"",E=!1,C,I;return new ReadableStream({start(T){I=d0("stream_event_iterator"),c&&T.enqueue(qE({comments:[d]}))},async pull(T){try{a&&(C=setInterval(()=>{T.enqueue(qE({comments:[i]})),I?.addEvent("keepalive")},s));let z=await Jf(I,()=>e.next());if(clearInterval(C),E)return;let O=om(z.value);if(!z.done||z.value!==void 0||O!==void 0){let j=z.done?"done":"message";T.enqueue(qE({...O,event:j,data:Yf(z.value)})),I?.addEvent(j)}z.done&&(T.close(),I?.end())}catch(z){if(clearInterval(C),E)return;z instanceof Vl?(T.enqueue(qE({...om(z),event:"error",data:Yf(z.data)})),I?.addEvent("error"),T.close()):(bd(I,z),T.error(z)),I?.end()}},async cancel(){try{E=!0,clearInterval(C),I?.addEvent("cancelled"),await Jf(I,()=>e.return?.())}catch(T){throw bd(I,T),T}finally{I?.end()}}}).pipeThrough(new TextEncoderStream)}function hZ(e,t={}){return Zf({name:"parse_standard_body",signal:t.signal},async()=>{let a=e.headers.get("content-disposition");if(typeof a=="string"){let c=V6(a)??"blob",d=await e.blob();return new File([d],c,{type:d.type})}let s=e.headers.get("content-type");if(!s||s.startsWith("application/json")){let c=await e.text();return JE(c)}if(s.startsWith("multipart/form-data"))return await e.formData();if(s.startsWith("application/x-www-form-urlencoded")){let c=await e.text();return new URLSearchParams(c)}if(s.startsWith("text/event-stream"))return gZ(e.body,t);if(s.startsWith("text/plain"))return await e.text();let i=await e.blob();return new File([i],"blob",{type:i.type})})}function EZ(e,t,a={}){let s=t.get("content-disposition");if(t.delete("content-type"),t.delete("content-disposition"),e!==void 0)return e instanceof Blob?(t.set("content-type",e.type),t.set("content-length",e.size.toString()),t.set("content-disposition",s??Y6(e instanceof File?e.name:"blob")),e):e instanceof FormData||e instanceof URLSearchParams?e:dA(e)?(t.set("content-type","text/event-stream"),mZ(e,a)):(t.set("content-type","application/json"),Yf(e))}function H1(e,t={}){return e.forEach((a,s)=>{Array.isArray(t[s])?t[s].push(a):t[s]!==void 0?t[s]=[t[s],a]:t[s]=a}),t}function yZ(e,t=new Headers){for(let[a,s]of Object.entries(e))if(Array.isArray(s))for(let i of s)t.append(a,i);else s!==void 0&&t.append(a,s);return t}function W6(e,t={}){let a=yZ(e.headers),s=EZ(e.body,a,t);return new Request(e.url,{signal:e.signal,method:e.method,headers:a,body:s})}function e3(e,t={}){return{body:R1(()=>hZ(e,t)),status:e.status,get headers(){let a=H1(e.headers);return Object.defineProperty(this,"headers",{value:a,writable:!0}),a},set headers(a){Object.defineProperty(this,"headers",{value:a,writable:!0})}}}var G1=L(()=>{"use strict";fA();sm()});function vZ(e){return`/${e.map(encodeURIComponent).join("/")}`}function CZ(e){return typeof e.forEach=="function"?H1(e):e}function IZ(e){return Object.entries(ZE).find(([,t])=>t.status===e)?.[0]??"MALFORMED_ORPC_ERROR_RESPONSE"}var XE,j1,eo,P1,J1,K1,y0,t3=L(()=>{"use strict";fA();sm();VE();G1();E0();XE=class{plugins;constructor(t=[]){this.plugins=[...t].sort((a,s)=>(a.order??0)-(s.order??0))}init(t){for(let a of this.plugins)a.init?.(t)}},j1=class{constructor(t,a,s={}){this.codec=t,this.sender=a,new XE(s.plugins).init(s),this.interceptors=Kf(s.interceptors),this.clientInterceptors=Kf(s.clientInterceptors)}interceptors;clientInterceptors;call(t,a,s){return Zf({name:`${N1}.${t.join("/")}`,signal:s.signal},i=>(i?.setAttribute("rpc.system",N1),i?.setAttribute("rpc.method",t.join(".")),dA(a)&&(a=T1({name:"consume_event_iterator_input",signal:s.signal},a)),PE(this.interceptors,{...s,path:t,input:a},async({path:c,input:d,...E})=>{let C=jE(),I,S=C?.trace.getActiveSpan()??i;S&&C&&(I=C?.trace.setSpan(C.context.active(),S));let T=await Zf({name:"encode_request",context:I},()=>this.codec.encode(c,d,E)),z=await PE(this.clientInterceptors,{...E,input:d,path:c,request:T},({input:j,path:q,request:Y,...re})=>Zf({name:"send_request",signal:re.signal,context:I},()=>this.sender.call(Y,re,q,j))),O=await Zf({name:"decode_response",context:I},()=>this.codec.decode(z,E,c,d));return dA(O)?T1({name:"consume_event_iterator_output",signal:E.signal},O):O})))}},eo={BIGINT:0,DATE:1,NAN:2,UNDEFINED:3,URL:4,REGEXP:5,SET:6,MAP:7},P1=class{customSerializers;constructor(t={}){if(this.customSerializers=t.customJsonSerializers??[],this.customSerializers.length!==new Set(this.customSerializers.map(a=>a.type)).size)throw new Error("Custom serializer type must be unique.")}serialize(t,a=[],s=[],i=[],c=[]){for(let d of this.customSerializers)if(d.condition(t)){let E=this.serialize(d.serialize(t),a,s,i,c);return s.push([d.type,...a]),E}if(t instanceof Blob)return i.push(a),c.push(t),[t,s,i,c];if(typeof t=="bigint")return s.push([eo.BIGINT,...a]),[t.toString(),s,i,c];if(t instanceof Date)return s.push([eo.DATE,...a]),Number.isNaN(t.getTime())?[null,s,i,c]:[t.toISOString(),s,i,c];if(Number.isNaN(t))return s.push([eo.NAN,...a]),[null,s,i,c];if(t instanceof URL)return s.push([eo.URL,...a]),[t.toString(),s,i,c];if(t instanceof RegExp)return s.push([eo.REGEXP,...a]),[t.toString(),s,i,c];if(t instanceof Set){let d=this.serialize(Array.from(t),a,s,i,c);return s.push([eo.SET,...a]),d}if(t instanceof Map){let d=this.serialize(Array.from(t.entries()),a,s,i,c);return s.push([eo.MAP,...a]),d}if(Array.isArray(t))return[t.map((E,C)=>E===void 0?(s.push([eo.UNDEFINED,...a,C]),E):this.serialize(E,[...a,C],s,i,c)[0]),s,i,c];if(f0(t)){let d={};for(let E in t)E==="toJSON"&&typeof t[E]=="function"||(d[E]=this.serialize(t[E],[...a,E],s,i,c)[0]);return[d,s,i,c]}return[t,s,i,c]}deserialize(t,a,s,i){let c={data:t};s&&i&&s.forEach((d,E)=>{let C=c,I="data";d.forEach(S=>{C=C[I],I=S}),C[I]=i(E)});for(let d of a){let E=d[0],C=c,I="data";for(let S=1;S<d.length;S++)C=C[I],I=d[S];for(let S of this.customSerializers)if(S.type===E){C[I]=S.deserialize(C[I]);break}switch(E){case eo.BIGINT:C[I]=BigInt(C[I]);break;case eo.DATE:C[I]=new Date(C[I]??"Invalid Date");break;case eo.NAN:C[I]=Number.NaN;break;case eo.UNDEFINED:C[I]=void 0;break;case eo.URL:C[I]=new URL(C[I]);break;case eo.REGEXP:{let[,S,T]=C[I].match(/^\/(.*)\/([a-z]*)$/);C[I]=new RegExp(S,T);break}case eo.SET:C[I]=new Set(C[I]);break;case eo.MAP:C[I]=new Map(C[I]);break}}return c.data}};J1=class{constructor(t,a){this.serializer=t,this.baseUrl=a.url,this.maxUrlLength=a.maxUrlLength??2083,this.fallbackMethod=a.fallbackMethod??"POST",this.expectedMethod=a.method??this.fallbackMethod,this.headers=a.headers??{}}baseUrl;maxUrlLength;fallbackMethod;expectedMethod;headers;async encode(t,a,s){let i=CZ(await KE(this.headers,s,t,a));s.lastEventId!==void 0&&(i=q6(i,{"last-event-id":s.lastEventId}));let c=await KE(this.expectedMethod,s,t,a),d=await KE(this.baseUrl,s,t,a),E=new URL(d);E.pathname=`${E.pathname.replace(/\/$/,"")}${vZ(t)}`;let C=this.serializer.serialize(a);if(c==="GET"&&!(C instanceof FormData)&&!dA(C)){let I=await KE(this.maxUrlLength,s,t,a),S=new URL(E);if(S.searchParams.append("data",Yf(C)),S.toString().length<=I)return{body:void 0,method:c,headers:i,url:S,signal:s.signal}}return{url:E,method:c==="GET"?this.fallbackMethod:c,headers:i,body:C,signal:s.signal}}async decode(t){let a=!YE(t.status),s=await(async()=>{let i=!1;try{let c=await t.body();return i=!0,this.serializer.deserialize(c)}catch(c){throw i?new Error("Invalid RPC response format.",{cause:c}):new Error("Cannot parse response body, please check the response body and content-type.",{cause:c})}})();if(!a)throw p0(s)?g0(s):new pA(IZ(t.status),{status:t.status,data:{...t,body:s}});return s}},K1=class{constructor(t){this.jsonSerializer=t}serialize(t){return dA(t)?h0(t,{value:async a=>this.#n(a,!1),error:async a=>new Vl({data:this.#n(z1(a).toJSON(),!1),cause:a})}):this.#n(t,!0)}#n(t,a){let[s,i,c,d]=this.jsonSerializer.serialize(t),E=i.length===0?void 0:i;if(!a||d.length===0)return{json:s,meta:E};let C=new FormData;return C.set("data",Yf({json:s,meta:E,maps:c})),d.forEach((I,S)=>{C.set(S.toString(),I)}),C}deserialize(t){return dA(t)?h0(t,{value:async a=>this.#r(a),error:async a=>{if(!(a instanceof Vl))return a;let s=this.#r(a.data);return p0(s)?g0(s,{cause:a}):new Vl({data:s,cause:a})}}):this.#r(t)}#r(t){if(t===void 0)return;if(!(t instanceof FormData))return this.jsonSerializer.deserialize(t.json,t.meta??[]);let a=JSON.parse(t.get("data"));return this.jsonSerializer.deserialize(a.json,a.meta??[],a.maps,s=>t.get(s.toString()))}},y0=class extends j1{constructor(t,a){let s=new P1(a),i=new K1(s),c=new J1(i,a);super(c,t,a)}}});var Z1,Y1,v0,n3=L(()=>{"use strict";fA();G1();t3();sm();VE();E0();Z1=class extends XE{initRuntimeAdapter(t){for(let a of this.plugins)a.initRuntimeAdapter?.(t)}},Y1=class{fetch;toFetchRequestOptions;adapterInterceptors;constructor(t){new Z1(t.plugins).initRuntimeAdapter(t),this.fetch=t.fetch??globalThis.fetch.bind(globalThis),this.toFetchRequestOptions=t,this.adapterInterceptors=Kf(t.adapterInterceptors)}async call(t,a,s,i){let c=W6(t,this.toFetchRequestOptions),d=await PE(this.adapterInterceptors,{...a,request:c,path:s,input:i,init:{redirect:"manual"}},({request:C,path:I,input:S,init:T,...z})=>this.fetch(C,T,z,I,S));return e3(d,{signal:c.signal})}},v0=class extends y0{constructor(t){let a=new Y1(t);super(a,t)}}});var BZ,_Z,C0,V1=L(()=>{"use strict";nm();BZ=_d({API_URL:Po(),OAUTH_AUTHORIZE_URL:Po()}),_Z={API_URL:"https://api.swirls.local",OAUTH_AUTHORIZE_URL:"https://cool-haddock-93.clerk.accounts.dev/oauth/authorize"},C0=cA(BZ,_Z)});async function Vu(e){let t=new v0({url:`${C0.API_URL}/rpc`,headers:async()=>{let s=await wi(()=>s0(e),d=>new Error("Failed to read credentials file",{cause:d.message}));if(s.failure)return{};let{idToken:i,jwt:c}=s.data;return{Authorization:`Bearer ${c||i}`}},interceptors:[O1(s=>{s instanceof Error&&s.name==="AbortError"||console.error(s)})]});return $1(t)}var I0=L(()=>{"use strict";Df();X6();n3();y1();V1()});var r3=un(B0=>{"use strict";var DZ=Symbol.for("react.transitional.element"),QZ=Symbol.for("react.fragment");function i3(e,t,a){var s=null;if(a!==void 0&&(s=""+a),t.key!==void 0&&(s=""+t.key),"key"in t){a={};for(var i in t)i!=="key"&&(a[i]=t[i])}else a=t;return t=a.ref,{$$typeof:DZ,type:e,key:s,ref:t!==void 0?t:null,props:a}}B0.Fragment=QZ;B0.jsx=i3;B0.jsxs=i3});var a3=un(_0=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(oe){if(oe==null)return null;if(typeof oe=="function")return oe.$$typeof===$t?null:oe.displayName||oe.name||null;if(typeof oe=="string")return oe;switch(oe){case Y:return"Fragment";case ve:return"Profiler";case re:return"StrictMode";case mt:return"Suspense";case at:return"SuspenseList";case St:return"Activity"}if(typeof oe=="object")switch(typeof oe.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),oe.$$typeof){case q:return"Portal";case ge:return oe.displayName||"Context";case be:return(oe._context.displayName||"Context")+".Consumer";case $e:var De=oe.render;return oe=oe.displayName,oe||(oe=De.displayName||De.name||"",oe=oe!==""?"ForwardRef("+oe+")":"ForwardRef"),oe;case Re:return De=oe.displayName||null,De!==null?De:e(oe.type)||"Memo";case et:De=oe._payload,oe=oe._init;try{return e(oe(De))}catch{}}return null}function t(oe){return""+oe}function a(oe){try{t(oe);var De=!1}catch{De=!0}if(De){De=console;var dt=De.error,ct=typeof Symbol=="function"&&Symbol.toStringTag&&oe[Symbol.toStringTag]||oe.constructor.name||"Object";return dt.call(De,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ct),t(oe)}}function s(oe){if(oe===Y)return"<>";if(typeof oe=="object"&&oe!==null&&oe.$$typeof===et)return"<...>";try{var De=e(oe);return De?"<"+De+">":"<...>"}catch{return"<...>"}}function i(){var oe=Ct.A;return oe===null?null:oe.getOwner()}function c(){return Error("react-stack-top-frame")}function d(oe){if(In.call(oe,"key")){var De=Object.getOwnPropertyDescriptor(oe,"key").get;if(De&&De.isReactWarning)return!1}return oe.key!==void 0}function E(oe,De){function dt(){ht||(ht=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",De))}dt.isReactWarning=!0,Object.defineProperty(oe,"key",{get:dt,configurable:!0})}function C(){var oe=e(this.type);return Ze[oe]||(Ze[oe]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),oe=this.props.ref,oe!==void 0?oe:null}function I(oe,De,dt,ct,Jt,Qn){var Ht=dt.ref;return oe={$$typeof:j,type:oe,key:De,props:dt,_owner:ct},(Ht!==void 0?Ht:null)!==null?Object.defineProperty(oe,"ref",{enumerable:!1,get:C}):Object.defineProperty(oe,"ref",{enumerable:!1,value:null}),oe._store={},Object.defineProperty(oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(oe,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(oe,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Jt}),Object.defineProperty(oe,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Qn}),Object.freeze&&(Object.freeze(oe.props),Object.freeze(oe)),oe}function S(oe,De,dt,ct,Jt,Qn){var Ht=De.children;if(Ht!==void 0)if(ct)if(Qi(Ht)){for(ct=0;ct<Ht.length;ct++)T(Ht[ct]);Object.freeze&&Object.freeze(Ht)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else T(Ht);if(In.call(De,"key")){Ht=e(oe);var Fn=Object.keys(De).filter(function(Pn){return Pn!=="key"});ct=0<Fn.length?"{key: someKey, "+Fn.join(": ..., ")+": ...}":"{key: someKey}",ut[Ht+ct]||(Fn=0<Fn.length?"{"+Fn.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
386
|
+
let props = %s;
|
|
387
|
+
<%s {...props} />
|
|
388
|
+
React keys must be passed directly to JSX without using spread:
|
|
389
|
+
let props = %s;
|
|
390
|
+
<%s key={someKey} {...props} />`,ct,Ht,Fn,Ht),ut[Ht+ct]=!0)}if(Ht=null,dt!==void 0&&(a(dt),Ht=""+dt),d(De)&&(a(De.key),Ht=""+De.key),"key"in De){dt={};for(var yt in De)yt!=="key"&&(dt[yt]=De[yt])}else dt=De;return Ht&&E(dt,typeof oe=="function"?oe.displayName||oe.name||"Unknown":oe),I(oe,Ht,dt,i(),Jt,Qn)}function T(oe){z(oe)?oe._store&&(oe._store.validated=1):typeof oe=="object"&&oe!==null&&oe.$$typeof===et&&(oe._payload.status==="fulfilled"?z(oe._payload.value)&&oe._payload.value._store&&(oe._payload.value._store.validated=1):oe._store&&(oe._store.validated=1))}function z(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===j}var O=Mn(),j=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),be=Symbol.for("react.consumer"),ge=Symbol.for("react.context"),$e=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),at=Symbol.for("react.suspense_list"),Re=Symbol.for("react.memo"),et=Symbol.for("react.lazy"),St=Symbol.for("react.activity"),$t=Symbol.for("react.client.reference"),Ct=O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,In=Object.prototype.hasOwnProperty,Qi=Array.isArray,ye=console.createTask?console.createTask:function(){return null};O={react_stack_bottom_frame:function(oe){return oe()}};var ht,Ze={},Ce=O.react_stack_bottom_frame.bind(O,c)(),xe=ye(s(c)),ut={};_0.Fragment=Y,_0.jsx=function(oe,De,dt){var ct=1e4>Ct.recentlyCreatedOwnerStacks++;return S(oe,De,dt,!1,ct?Error("react-stack-top-frame"):Ce,ct?ye(s(oe)):xe)},_0.jsxs=function(oe,De,dt){var ct=1e4>Ct.recentlyCreatedOwnerStacks++;return S(oe,De,dt,!0,ct?Error("react-stack-top-frame"):Ce,ct?ye(s(oe)):xe)}})()});var Xr=un((wre,q1)=>{"use strict";process.env.NODE_ENV==="production"?q1.exports=r3():q1.exports=a3()});function cl(e){return(0,WE.jsxs)(qr,{flexDirection:"column",children:[(0,WE.jsx)(qn,{color:"red",children:e.message}),(0,WE.jsx)(qn,{children:"If this issue persists, send us an email at help@byteslice.co, and we can help you out."})]})}var WE,ey=L(async()=>{"use strict";await sl();WE=It(Xr(),1)});function gA(e){return(0,o3.jsx)(qn,{color:"green",children:e.message})}var o3,ty=L(async()=>{"use strict";await sl();o3=It(Xr(),1)});function s3(e){return(0,l3.jsx)(qn,{color:"yellow",children:e.message})}var l3,u3=L(async()=>{"use strict";await sl();l3=It(Xr(),1)});function SZ(e){return`${GE(e)}/project`}async function c3(e){let t=SZ(e);await e.fsPromise.stat(t).then(()=>!0).catch(()=>!1)&&await e.fsPromise.unlink(t)}var A3=L(()=>{"use strict";m1()});var X1={};Co(X1,{login:()=>wZ,logout:()=>xZ});async function bZ(e,t,a){let s=await wi(async()=>await(await Vu(e)).cli.exchangeToken({code:a.code}),I=>new Error("Failed to exchange callback code for token",{cause:I.message}));if(s.failure)throw s.failure;await E1(e,s.data.idToken,"","");let i=await wi(async()=>await(await Vu(e)).cli.createSignInTicket(),I=>new Error("Failed to exchange ID token code for a sign-in ticket",{cause:I.message}));if(i.failure)throw i.failure;let c=await a6(t.clerkPublishableKey),d=await wi(()=>o6(c,i.data.token),I=>new Error("Failed to create a new sign-in for this device",{cause:I.message}));if(d.failure)throw d.failure;let E=await wi(async()=>await(await Vu(e)).cli.createJwt({sessionId:d.data.createdSessionId}),I=>new Error("Failed to create a session JWT",{cause:I.message}));if(E.failure)throw E.failure;let C=await wi(()=>E1(e,s.data.idToken,E.data,d.data.createdSessionId),I=>new Error("Failed to save your credentials to disk",{cause:I.message}));if(C.failure)throw C.failure}async function wZ(){let e=await Vu(this),t=T6(),a=await wi(()=>e.cli.getConfig(),i=>i);if(a.failure)throw a.failure;O6({authorizeUri:C0.OAUTH_AUTHORIZE_URL,clientId:a.data.clientId,redirectUri:f1,state:t});let s=await wi(()=>YM(async i=>{if(i.state!==t)throw new Error("Invalid state.");await bZ(this,a.data,i)}),i=>i);s.failure&&(fr((0,lm.jsx)(cl,{message:s.failure.message})),process.exit(1)),fr((0,lm.jsx)(gA,{message:"Success! You are now logged in."}))}async function xZ(){let e=await wi(()=>s0(this),c=>c);e.failure&&(fr((0,lm.jsx)(cl,{message:"There was an issue reading your credentials. You are probably already logged out."})),process.exit(1));let t=await Vu(this),a=await wi(()=>t.cli.getConfig(),c=>c);if(a.failure)throw a.failure;(await wi(async()=>t.cli.revokeSession({sessionId:e.data.sessionId}),c=>c)).failure&&fr((0,lm.jsx)(s3,{message:"There was an issue revoking your session. You are probably already logged out. Purging credentials file..."}));let i=await wi(async()=>{await l6(this),await c3(this)},c=>c);if(i.failure)throw i.failure;fr((0,lm.jsx)(gA,{message:"Success! You are now logged out."}))}var lm,W1=L(async()=>{"use strict";Df();await sl();VM();s6();y1();k6();I0();await ey();await ty();await u3();V1();A3();lm=It(Xr(),1)});var f3=L(()=>{"use strict"});var D0,Q0=L(()=>{"use strict";Jo();D0=(e,t)=>e.anyOf.length?e.anyOf.length===1?$n(e.anyOf[0],{...t,path:[...t.path,"anyOf",0]}):`z.union([${e.anyOf.map((a,s)=>$n(a,{...t,path:[...t.path,"anyOf",s]})).join(", ")}])`:"z.any()"});var p3,e2=L(()=>{"use strict";p3=e=>"z.boolean()"});var g3,t2=L(()=>{"use strict";g3=e=>"z.any()"});var m3,n2=L(()=>{"use strict";Jo();m3=(e,t)=>`z.union([${e.type.map(a=>$n({...e,type:a},{...t,withoutDefaults:!0})).join(", ")}])`});var h3,i2=L(()=>{"use strict";Jo();h3=(e,t)=>`z.any().refine((value) => !${$n(e.not,{...t,path:[...t.path,"not"]})}.safeParse(value).success, "Invalid input: Should NOT be valid against schema")`});var E3,r2=L(()=>{"use strict";E3=e=>"z.null()"});var y3,a2=L(()=>{"use strict";y3=e=>[e.slice(0,e.length/2),e.slice(e.length/2)]});function um(e,t){if(e.allOf.length===0)return"z.never()";if(e.allOf.length===1){let a=e.allOf[0];return $n(a,{...t,path:[...t.path,"allOf",a[ny]]})}else{let[a,s]=y3(RZ(e.allOf));return`z.intersection(${um({allOf:a},t)}, ${um({allOf:s},t)})`}}var ny,RZ,S0=L(()=>{"use strict";Jo();a2();ny=Symbol("Original index"),RZ=e=>{let t=[];for(let a=0;a<e.length;a++){let s=e[a];if(typeof s=="boolean")t.push(s?{[ny]:a}:{[ny]:a,not:{}});else{if(ny in s)return e;t.push({...s,[ny]:a})}}return t}});function gr(e,t,a){let s=e[t],i="";if(s!==void 0){let c=a({value:s,json:JSON.stringify(s)});if(c){let d=c[0],E=c.length===3?c[1]:"",C=c.length===3?c[2]:c[1];i+=d,e.errorMessage?.[t]!==void 0&&(i+=E+JSON.stringify(e.errorMessage[t])),i+=C}}return i}var iy=L(()=>{"use strict"});var v3,o2=L(()=>{"use strict";iy();Jo();v3=(e,t)=>{if(Array.isArray(e.items))return`z.tuple([${e.items.map((s,i)=>$n(s,{...t,path:[...t.path,"items",i]}))}])`;let a=e.items?`z.array(${$n(e.items,{...t,path:[...t.path,"items"]})})`:"z.array(z.any())";return a+=gr(e,"minItems",({json:s})=>[`.min(${s}`,", ",")"]),a+=gr(e,"maxItems",({json:s})=>[`.max(${s}`,", ",")"]),e.uniqueItems===!0&&(a+=gr(e,"uniqueItems",()=>[".unique(","",")"])),a}});var C3,s2=L(()=>{"use strict";C3=e=>`z.literal(${JSON.stringify(e.const)})`});var I3,l2=L(()=>{"use strict";I3=e=>e.enum.length===0?"z.never()":e.enum.length===1?`z.literal(${JSON.stringify(e.enum[0])})`:e.enum.every(t=>typeof t=="string")?`z.enum([${e.enum.map(t=>JSON.stringify(t))}])`:`z.union([${e.enum.map(t=>`z.literal(${JSON.stringify(t)})`).join(", ")}])`});var B3,u2=L(()=>{"use strict";Jo();B3=(e,t)=>{let a=$n(e.if,{...t,path:[...t.path,"if"]}),s=$n(e.then,{...t,path:[...t.path,"then"]}),i=$n(e.else,{...t,path:[...t.path,"else"]});return`z.union([${s}, ${i}]).superRefine((value,ctx) => {
|
|
391
|
+
const result = ${a}.safeParse(value).success
|
|
392
|
+
? ${s}.safeParse(value)
|
|
393
|
+
: ${i}.safeParse(value);
|
|
394
|
+
if (!result.success) {
|
|
395
|
+
result.error.errors.forEach((error) => ctx.addIssue(error))
|
|
396
|
+
}
|
|
397
|
+
})`}});var _3,c2=L(()=>{"use strict";iy();_3=e=>{let t="z.number()";return e.type==="integer"?t+=gr(e,"type",()=>[".int(",")"]):t+=gr(e,"format",({value:a})=>{if(a==="int64")return[".int(",")"]}),t+=gr(e,"multipleOf",({value:a,json:s})=>a===1?t.startsWith("z.number().int(")?void 0:[".int(",")"]:[`.multipleOf(${s}`,", ",")"]),typeof e.minimum=="number"?e.exclusiveMinimum===!0?t+=gr(e,"minimum",({json:a})=>[`.gt(${a}`,", ",")"]):t+=gr(e,"minimum",({json:a})=>[`.gte(${a}`,", ",")"]):typeof e.exclusiveMinimum=="number"&&(t+=gr(e,"exclusiveMinimum",({json:a})=>[`.gt(${a}`,", ",")"])),typeof e.maximum=="number"?e.exclusiveMaximum===!0?t+=gr(e,"maximum",({json:a})=>[`.lt(${a}`,", ",")"]):t+=gr(e,"maximum",({json:a})=>[`.lte(${a}`,", ",")"]):typeof e.exclusiveMaximum=="number"&&(t+=gr(e,"exclusiveMaximum",({json:a})=>[`.lt(${a}`,", ",")"])),t}});var b0,w0=L(()=>{"use strict";Jo();b0=(e,t)=>e.oneOf.length?e.oneOf.length===1?$n(e.oneOf[0],{...t,path:[...t.path,"oneOf",0]}):`z.any().superRefine((x, ctx) => {
|
|
398
|
+
const schemas = [${e.oneOf.map((a,s)=>$n(a,{...t,path:[...t.path,"oneOf",s]})).join(", ")}];
|
|
399
|
+
const errors = schemas.reduce<z.ZodError[]>(
|
|
400
|
+
(errors, schema) =>
|
|
401
|
+
((result) =>
|
|
402
|
+
result.error ? [...errors, result.error] : errors)(
|
|
403
|
+
schema.safeParse(x),
|
|
404
|
+
),
|
|
405
|
+
[],
|
|
406
|
+
);
|
|
407
|
+
if (schemas.length - errors.length !== 1) {
|
|
408
|
+
ctx.addIssue({
|
|
409
|
+
path: ctx.path,
|
|
410
|
+
code: "invalid_union",
|
|
411
|
+
unionErrors: errors,
|
|
412
|
+
message: "Invalid input: Should pass single schema",
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
})`:"z.any()"});var A2,D3,x0=L(()=>{"use strict";A2=e=>{let t=e.split(`
|
|
416
|
+
`);return`/**${t.length===1?t[0]:`
|
|
417
|
+
${t.map(s=>`* ${s}`).join(`
|
|
418
|
+
`)}
|
|
419
|
+
`}*/
|
|
420
|
+
`},D3=(e,t)=>{let a=e.description;return a?`
|
|
421
|
+
${A2(a)}${t}`:t}});function Q3(e,t){let a;e.properties&&(Object.keys(e.properties).length?(a="z.object({ ",a+=Object.keys(e.properties).map(d=>{let E=e.properties[d],C=`${JSON.stringify(d)}: ${$n(E,{...t,path:[...t.path,"properties",d]})}`;t.withJsdocs&&typeof E=="object"&&(C=D3(E,C));let I=typeof E=="object"&&E.default!==void 0,S=Array.isArray(e.required)?e.required.includes(d):typeof E=="object"&&E.required===!0;return!I&&!S?`${C}.optional()`:C}).join(", "),a+=" })"):a="z.object({})");let s=e.additionalProperties!==void 0?$n(e.additionalProperties,{...t,path:[...t.path,"additionalProperties"]}):void 0,i;if(e.patternProperties){let d=Object.fromEntries(Object.entries(e.patternProperties).map(([E,C])=>[E,$n(C,{...t,path:[...t.path,"patternProperties",E]})],{}));i="",a?s?i+=`.catchall(z.union([${[...Object.values(d),s].join(", ")}]))`:Object.keys(d).length>1?i+=`.catchall(z.union([${Object.values(d).join(", ")}]))`:i+=`.catchall(${Object.values(d)})`:s?i+=`z.record(z.union([${[...Object.values(d),s].join(", ")}]))`:Object.keys(d).length>1?i+=`z.record(z.union([${Object.values(d).join(", ")}]))`:i+=`z.record(${Object.values(d)})`,i+=`.superRefine((value, ctx) => {
|
|
422
|
+
`,i+=`for (const key in value) {
|
|
423
|
+
`,s&&(e.properties?i+=`let evaluated = [${Object.keys(e.properties).map(E=>JSON.stringify(E)).join(", ")}].includes(key)
|
|
424
|
+
`:i+=`let evaluated = false
|
|
425
|
+
`);for(let E in e.patternProperties)i+="if (key.match(new RegExp("+JSON.stringify(E)+`))) {
|
|
426
|
+
`,s&&(i+=`evaluated = true
|
|
427
|
+
`),i+="const result = "+d[E]+`.safeParse(value[key])
|
|
428
|
+
`,i+=`if (!result.success) {
|
|
429
|
+
`,i+=`ctx.addIssue({
|
|
430
|
+
path: [...ctx.path, key],
|
|
431
|
+
code: 'custom',
|
|
432
|
+
message: \`Invalid input: Key matching regex /\${key}/ must match schema\`,
|
|
433
|
+
params: {
|
|
434
|
+
issues: result.error.issues
|
|
435
|
+
}
|
|
436
|
+
})
|
|
437
|
+
`,i+=`}
|
|
438
|
+
`,i+=`}
|
|
439
|
+
`;s&&(i+=`if (!evaluated) {
|
|
440
|
+
`,i+="const result = "+s+`.safeParse(value[key])
|
|
441
|
+
`,i+=`if (!result.success) {
|
|
442
|
+
`,i+=`ctx.addIssue({
|
|
443
|
+
path: [...ctx.path, key],
|
|
444
|
+
code: 'custom',
|
|
445
|
+
message: \`Invalid input: must match catchall schema\`,
|
|
446
|
+
params: {
|
|
447
|
+
issues: result.error.issues
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
`,i+=`}
|
|
451
|
+
`,i+=`}
|
|
452
|
+
`),i+=`}
|
|
453
|
+
`,i+="})"}let c=a?i?a+i:s?s==="z.never()"?a+".strict()":a+`.catchall(${s})`:a:i||(s?`z.record(${s})`:"z.record(z.any())");return Qr.an.anyOf(e)&&(c+=`.and(${D0({...e,anyOf:e.anyOf.map(d=>typeof d=="object"&&!d.type&&(d.properties||d.additionalProperties||d.patternProperties)?{...d,type:"object"}:d)},t)})`),Qr.a.oneOf(e)&&(c+=`.and(${b0({...e,oneOf:e.oneOf.map(d=>typeof d=="object"&&!d.type&&(d.properties||d.additionalProperties||d.patternProperties)?{...d,type:"object"}:d)},t)})`),Qr.an.allOf(e)&&(c+=`.and(${um({...e,allOf:e.allOf.map(d=>typeof d=="object"&&!d.type&&(d.properties||d.additionalProperties||d.patternProperties)?{...d,type:"object"}:d)},t)})`),c}var d2=L(()=>{"use strict";Q0();w0();Jo();S0();x0()});var S3,f2=L(()=>{"use strict";iy();Jo();S3=e=>{let t="z.string()";t+=gr(e,"format",({value:s})=>{switch(s){case"email":return[".email(",")"];case"ip":return[".ip(",")"];case"ipv4":return['.ip({ version: "v4"',", message: "," })"];case"ipv6":return['.ip({ version: "v6"',", message: "," })"];case"uri":return[".url(",")"];case"uuid":return[".uuid(",")"];case"date-time":return[".datetime({ offset: true",", message: "," })"];case"time":return[".time(",")"];case"date":return[".date(",")"];case"binary":return[".base64(",")"];case"duration":return[".duration(",")"]}}),t+=gr(e,"pattern",({json:s})=>[`.regex(new RegExp(${s})`,", ",")"]),t+=gr(e,"minLength",({json:s})=>[`.min(${s}`,", ",")"]),t+=gr(e,"maxLength",({json:s})=>[`.max(${s}`,", ",")"]),t+=gr(e,"contentEncoding",({value:s})=>{if(s==="base64")return[".base64(",")"]});let a=gr(e,"contentMediaType",({value:s})=>{if(s==="application/json")return['.transform((str, ctx) => { try { return JSON.parse(str); } catch (err) { ctx.addIssue({ code: "custom", message: "Invalid JSON" }); }}',", ",")"]});return a!=""&&(t+=a,t+=gr(e,"contentSchema",({value:s})=>{if(s&&s instanceof Object)return[`.pipe(${$n(s)}`,", ",")"]})),t}});var b3,p2=L(()=>{"use strict";Jo();b3=(e,t)=>e.oneOf.length?e.oneOf.length===1?$n(e.oneOf[0],{...t,path:[...t.path,"oneOf",0]}):`z.discriminatedUnion("${e.discriminator.propertyName}", [${e.oneOf.map((a,s)=>$n(a,{...t,path:[...t.path,"oneOf",s]})).join(", ")}])`:"z.any()"});var w3,g2=L(()=>{"use strict";w3=(e,...t)=>Object.keys(e).reduce((a,s)=>(t.includes(s)||(a[s]=e[s]),a),{})});var x3,m2=L(()=>{"use strict";g2();Jo();x3=(e,t)=>`${$n(w3(e,"nullable"),t,!0)}.nullable()`});var $n,TZ,OZ,kZ,FZ,Qr,Jo=L(()=>{"use strict";Q0();e2();t2();n2();i2();r2();S0();o2();s2();l2();u2();c2();d2();f2();w0();p2();m2();$n=(e,t={seen:new Map,path:[]},a)=>{if(typeof e!="object")return e?"z.any()":"z.never()";if(t.parserOverride){let c=t.parserOverride(e,t);if(typeof c=="string")return c}let s=t.seen.get(e);if(s){if(s.r!==void 0)return s.r;if(t.depth===void 0||s.n>=t.depth)return"z.any()";s.n+=1}else s={r:void 0,n:0},t.seen.set(e,s);let i=FZ(e,t);return a||(t.withoutDescribes||(i=TZ(e,i)),t.withoutDefaults||(i=OZ(e,i)),i=kZ(e,i)),s.r=i,i},TZ=(e,t)=>(e.description&&(t+=`.describe(${JSON.stringify(e.description)})`),t),OZ=(e,t)=>(e.default!==void 0&&(t+=`.default(${JSON.stringify(e.default)})`),t),kZ=(e,t)=>(e.readOnly&&(t+=".readonly()"),t),FZ=(e,t)=>Qr.a.nullable(e)?x3(e,t):Qr.an.object(e)?Q3(e,t):Qr.an.array(e)?v3(e,t):Qr.an.anyOf(e)?D0(e,t):Qr.an.allOf(e)?um(e,t):Qr.a.simpleDiscriminatedOneOf(e)?b3(e,t):Qr.a.oneOf(e)?b0(e,t):Qr.a.not(e)?h3(e,t):Qr.an.enum(e)?I3(e):Qr.a.const(e)?C3(e):Qr.a.multipleType(e)?m3(e,t):Qr.a.primitive(e,"string")?S3(e):Qr.a.primitive(e,"number")||Qr.a.primitive(e,"integer")?_3(e):Qr.a.primitive(e,"boolean")?p3(e):Qr.a.primitive(e,"null")?E3(e):Qr.a.conditional(e)?B3(e,t):g3(e),Qr={an:{object:e=>e.type==="object",array:e=>e.type==="array",anyOf:e=>e.anyOf!==void 0,allOf:e=>e.allOf!==void 0,enum:e=>e.enum!==void 0},a:{nullable:e=>e.nullable===!0,multipleType:e=>Array.isArray(e.type),not:e=>e.not!==void 0,const:e=>e.const!==void 0,primitive:(e,t)=>e.type===t,conditional:e=>!!("if"in e&&e.if&&"then"in e&&"else"in e&&e.then&&e.else),simpleDiscriminatedOneOf:e=>{if(!e.oneOf||!Array.isArray(e.oneOf)||e.oneOf.length===0||!e.discriminator||typeof e.discriminator!="object"||!("propertyName"in e.discriminator)||typeof e.discriminator.propertyName!="string")return!1;let t=e.discriminator.propertyName;return e.oneOf.every(a=>{if(!a||typeof a!="object"||a.type!=="object"||!a.properties||typeof a.properties!="object"||!(t in a.properties))return!1;let s=a.properties[t];return s&&typeof s=="object"&&s.type==="string"&&(s.const!==void 0||s.enum&&Array.isArray(s.enum)&&s.enum.length===1)&&Array.isArray(a.required)&&a.required.includes(t)})},oneOf:e=>e.oneOf!==void 0}}});var h2,E2=L(()=>{"use strict";Jo();x0();h2=(e,{module:t,name:a,type:s,noImport:i,...c}={})=>{if(s&&(!a||t!=="esm"))throw new Error("Option `type` requires `name` to be set and `module` to be `esm`");let d=$n(e,{module:t,name:a,path:[],seen:new Map,...c}),E=c.withJsdocs&&typeof e!="boolean"&&e.description?A2(e.description):"";if(t==="cjs"?(d=`${E}module.exports = ${a?`{ ${JSON.stringify(a)}: ${d} }`:d}
|
|
454
|
+
`,i||(d=`${E}const { z } = require("zod")
|
|
455
|
+
|
|
456
|
+
${d}`)):t==="esm"?(d=`${E}export ${a?`const ${a} =`:"default"} ${d}
|
|
457
|
+
`,i||(d=`import { z } from "zod"
|
|
458
|
+
|
|
459
|
+
${d}`)):a&&(d=`${E}const ${a} = ${d}`),s&&a){let C=typeof s=="string"?s:`${a[0].toUpperCase()}${a.substring(1)}`;d+=`export type ${C} = z.infer<typeof ${a}>
|
|
460
|
+
`}return d}});var U3=L(()=>{"use strict";f3();E2();S0();Q0();o2();e2();s2();t2();l2();u2();n2();i2();r2();m2();c2();d2();w0();Jo();p2();f2();a2();x0();g2();iy();E2()});function N3(e){return e?e.toLowerCase():""}var y2=L(()=>{"use strict"});function T3(e,t={}){if(!e)return"";let{splitRegexp:a=zZ,stripRegexp:s=MZ,transform:i=N3,delimiter:c=" "}=t,d=R3(R3(e,a,"$1\0$2"),s,"\0"),E=0,C=d.length;for(;d.charAt(E)==="\0";)E++;for(;d.charAt(C-1)==="\0";)C--;return d.slice(E,C).split("\0").map(i).join(c)}function R3(e,t,a){return t instanceof RegExp?e.replace(t,a):t.reduce((s,i)=>s.replace(i,a),e)}var zZ,MZ,v2=L(()=>{"use strict";y2();zZ=[/(\p{Ll}|\p{N})(\p{Lu})/gu,/(\p{Lu})(\p{Lu}\p{Ll})/gu],MZ=/[^\p{L}\p{N}]+/gu});function C2(e,t){let a=e.charAt(0),s=e.slice(1).toLowerCase();return t>0&&a>="0"&&a<="9"?`_${a}${s}`:`${a.toUpperCase()}${s}`}function U0(e,t={}){return e?T3(e,{delimiter:"",transform:C2,...t}):""}var I2=L(()=>{"use strict";v2()});function LZ(e,t){return t===0?e.toLowerCase():C2(e,t)}function O3(e,t={}){return e?U0(e,{transform:LZ,...t}):""}var k3=L(()=>{"use strict";I2()});var F3=L(()=>{"use strict"});var z3=L(()=>{"use strict"});var M3=L(()=>{"use strict"});var L3=L(()=>{"use strict"});var $3=L(()=>{"use strict"});var H3=L(()=>{"use strict"});var G3=L(()=>{"use strict"});var j3=L(()=>{"use strict"});var P3=L(()=>{"use strict"});var J3=L(()=>{"use strict"});var K3=L(()=>{"use strict"});var Z3=L(()=>{"use strict"});var Y3=L(()=>{"use strict"});var V3=L(()=>{"use strict"});var q3=L(()=>{"use strict"});var X3=L(()=>{"use strict"});var W3=L(()=>{"use strict";k3();z3();L3();$3();H3();G3();j3();P3();y2();J3();v2();K3();I2();Z3();Y3();V3();q3();X3();M3();F3()});function eL(e,t){let a=["import { registerForm } from '@swirls/sdk/form'","import { z } from 'zod'",""],s=e.flatMap(({name:i,schema:c})=>$Z(i,c));return[...t,...a,...s,...HZ(e),...GZ(e),...jZ(e)].join(`
|
|
461
|
+
`)}function $Z(e,t){let a=h2(t,{module:"esm",name:B2(e).camel,noImport:!0,type:!0}),[s,i]=a.split(`
|
|
462
|
+
`);if(!s||!i)throw new Error("Failed to generate standard schema");return[`// Form schema: ${e}`,s,"",i,""]}function HZ(e){return["// Form registry","export const registry = {",...e.flatMap(({name:t,id:a})=>[` '${t}': {`,` id: '${a}',`,` name: '${t}',`,` schema: ${B2(t).camel},`," },"]),"} as const",""]}function GZ(e){return["// Form registration","export function registerForms() {",...e.map(({name:t})=>` registerForm('${t}', registry['${t}'])`),"}",""]}function jZ(e){let t="@swirls/sdk/form";return[`// Module augmentation for ${t}`,`declare module '${t}' {`," interface FormRegistry {",...e.flatMap(({name:a,id:s})=>[` '${a}': {`,` id: '${s}'`,` name: '${a}'`,` schema: typeof ${B2(a).camel}`," }"])," }","}",""]}function B2(e){return{camel:`${O3(e)}Schema`,pascal:`${U0(e)}Schema`}}var tL=L(()=>{"use strict";U3();W3()});var nL=un((Qse,PZ)=>{PZ.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var aL=un((Sse,rL)=>{"use strict";var N0=Object.assign({},nL()),iL=Object.keys(N0);Object.defineProperty(N0,"random",{get(){let e=Math.floor(Math.random()*iL.length),t=iL[e];return N0[t]}});rL.exports=N0});function JZ({type:e="dots"}){let[t,a]=(0,cm.useState)(0),s=oL.default[e];return(0,cm.useEffect)(()=>{let i=setInterval(()=>{a(c=>c===s.frames.length-1?0:c+1)},s.interval);return()=>{clearInterval(i)}},[s]),cm.default.createElement(qn,null,s.frames[t])}var cm,oL,sL,lL=L(async()=>{"use strict";cm=It(Mn(),1);await sl();oL=It(aL(),1);sL=JZ});function uL(e){return(0,Am.jsxs)(qr,{children:[(0,Am.jsx)(qn,{color:"cyan",children:(0,Am.jsx)(sL,{type:"dots"})}),(0,Am.jsxs)(qn,{children:[" ",e.message]})]})}var Am,cL=L(async()=>{"use strict";await sl();await lL();Am=It(Xr(),1)});import Tse from"path";function dL(e){return[`import { defineConfig } from '${KZ}'`,"","export default defineConfig({"," // swirls project identifier",` projectId: '${e||""}',`," // path to generated code",` genPath: 'src/${ZZ}',`,"})",""].join(`
|
|
463
|
+
`)}var ry,KZ,ZZ,AL,_2=L(()=>{"use strict";nm();ry="swirls.config.ts",KZ="@swirls/sdk/config",ZZ="swirls.gen.ts",AL=Dd.object({projectId:Dd.uuid(),genPath:Dd.string().min(1)})});import{existsSync as YZ}from"fs";import{resolve as VZ}from"path";import{createJiti as qZ}from"jiti";async function fL(){let e=VZ(process.cwd(),ry);if(!YZ(e))throw new Error(`Config file not found in project root: ${ry}`);let a=await qZ(import.meta.url).import(e,{default:!0});return AL.parse(a)}var pL=L(()=>{"use strict";_2()});async function gL(e,t){let a=await Vu(e),{results:s}=await a.forms.listForms({projectId:t});function i(d){return d.schema!=null}return s.filter(i).map(d=>({id:d.id,name:d.name,schema:d.schema}))}var mL=L(()=>{"use strict";I0()});import hL from"fs/promises";import XZ from"path";async function R0(e,t){let a=XZ.dirname(e);await hL.mkdir(a,{recursive:!0}),await hL.writeFile(e,t,"utf-8")}var D2=L(()=>{"use strict"});var EL={};Co(EL,{generateCode:()=>WZ});import Q2 from"process";async function WZ(){let e=await wi(()=>fL(),c=>new Error("Failed to load configuration",{cause:c}));e.failure&&(fr((0,dm.jsx)(cl,{message:e.failure.message})),Q2.exit(1));let{projectId:t,genPath:a}=e.data;fr((0,dm.jsx)(uL,{message:"Generating form code..."}));let s=await wi(async()=>{let c=['// This file was generated by "@swirls/cli dev generate"',"// Do not edit this file manually",""],d=await gL(this,t);return eL(d,c)},c=>new Error(`Failed to generate form code: ${c.message}`,{cause:c}));s.failure&&(fr((0,dm.jsx)(cl,{message:s.failure.message})),Q2.exit(1));let i=await wi(()=>R0(a,s.data),c=>new Error("Failed to write code file",{cause:c}));i.failure&&(fr((0,dm.jsx)(cl,{message:i.failure.message})),Q2.exit(1)),fr((0,dm.jsx)(gA,{message:`Success! Generated code at ${a}`}))}var dm,yL=L(async()=>{"use strict";Df();tL();await sl();await ey();await cL();await ty();pL();mL();D2();dm=It(Xr(),1)});function e9({value:e,placeholder:t="",focus:a=!0,mask:s,highlightPastedText:i=!1,showCursor:c=!0,onChange:d,onSubmit:E}){let[C,I]=(0,fm.useState)({cursorOffset:(e||"").length,cursorWidth:0}),{cursorOffset:S,cursorWidth:T}=C;(0,fm.useEffect)(()=>{I(Y=>{if(!a||!c)return Y;let re=e||"";return Y.cursorOffset>re.length-1?{cursorOffset:re.length,cursorWidth:0}:Y})},[e,a,c]);let z=i?T:0,O=s?s.repeat(e.length):e,j=O,q=t?Vn.grey(t):void 0;if(c&&a){q=t.length>0?Vn.inverse(t[0])+Vn.grey(t.slice(1)):Vn.inverse(" "),j=O.length>0?"":Vn.inverse(" ");let Y=0;for(let re of O)j+=Y>=S-z&&Y<=S?Vn.inverse(re):re,Y++;O.length>0&&S===O.length&&(j+=Vn.inverse(" "))}return tQ((Y,re)=>{if(re.upArrow||re.downArrow||re.ctrl&&Y==="c"||re.tab||re.shift&&re.tab)return;if(re.return){E&&E(e);return}let ve=S,be=e,ge=0;re.leftArrow?c&&ve--:re.rightArrow?c&&ve++:re.backspace||re.delete?S>0&&(be=e.slice(0,S-1)+e.slice(S,e.length),ve--):(be=e.slice(0,S)+Y+e.slice(S,e.length),ve+=Y.length,Y.length>1&&(ge=Y.length)),S<0&&(ve=0),S>e.length&&(ve=e.length),I({cursorOffset:ve,cursorWidth:ge}),be!==e&&d(be)},{isActive:a}),fm.default.createElement(qn,null,t?O.length>0?j:q:j)}var fm,vL,CL=L(async()=>{"use strict";fm=It(Mn(),1);await sl();Wh();vL=e9});function t9(e){let[t,a]=(0,S2.useState)(""),[s,i]=(0,S2.useState)(null);return(0,wd.jsxs)(qr,{flexDirection:"column",children:[(0,wd.jsxs)(qr,{children:[(0,wd.jsx)(qn,{children:"Enter project ID (UUID): "}),(0,wd.jsx)(vL,{value:t,onChange:E=>{i(null),a(E)},onSubmit:E=>{if(i(null),E.trim()===""){setImmediate(()=>e.onInput());return}let C=Dd.uuid().safeParse(E);if(!C.success){i("Invalid UUID. Please try again."),a("");return}setImmediate(()=>e.onInput(C.data))}})]}),s&&(0,wd.jsx)(qn,{color:"red",children:s})]})}async function IL(){return new Promise(e=>{let t=fr((0,wd.jsx)(t9,{onInput:a=>{t.unmount(),e(a)}}))})}var S2,wd,BL=L(async()=>{"use strict";await sl();await CL();S2=It(Mn(),1);nm();wd=It(Xr(),1)});var _L={};Co(_L,{initializeConfig:()=>r9});import{existsSync as n9}from"fs";import{resolve as i9}from"path";import b2 from"process";async function r9(){let e=i9(b2.cwd(),ry);n9(e)&&(fr((0,T0.jsx)(cl,{message:`Configuration already exists at ${e}.`})),b2.exit(1));let t=await IL(),a=await wi(async()=>{let s=dL(t);await R0(e,s)},s=>new Error("Failed to create configuration",{cause:s}));a.failure&&(fr((0,T0.jsx)(cl,{message:a.failure.message})),b2.exit(1)),fr((0,T0.jsx)(gA,{message:`Success! Created configuration at ${e}`}))}var T0,DL=L(async()=>{"use strict";Df();_2();await sl();await ey();await ty();await BL();D2();T0=It(Xr(),1)});var SL={};Co(SL,{createProject:()=>s9});async function s9(e,t){let a=await Vu(this),s=await wi(()=>a.projects.createProject({name:t}),i=>new Error(`Failed to create project: ${i.message}`,{cause:i}));s.failure&&(fr((0,w2.jsx)(cl,{message:s.failure.message})),process.exit(1)),fr((0,w2.jsx)(gA,{message:`Success! Created "${t}" project: ${s.data.id}`}))}var w2,bL=L(async()=>{"use strict";Df();await sl();I0();await ey();await ty();w2=It(Xr(),1)});function GB(e){return e.replace(/-./g,t=>t[1].toUpperCase())}function Mu(e){return Array.from(e).map((t,a)=>{let s=t.toUpperCase(),i=t.toLowerCase();return a===0||s!==t||s===i?t:`-${i}`}).join("")}function o$(e){let t=new Map;return{get:(...a)=>t.get(a.join(","))??e,set:(a,...s)=>{t.set(s.join(","),a)}}}function s$(e,t,a){let{threshold:s,weights:i}=a;if(e===t)return 0;let c=Math.abs(e.length-t.length);if(typeof s=="number"&&c>s)return 1/0;let d=o$(1/0);d.set(0,-1,-1);for(let I=0;I<t.length;++I)d.set((I+1)*i.insertion,-1,I);for(let I=0;I<e.length;++I)d.set((I+1)*i.deletion,I,-1);let E=-1/0;for(let I=0;I<e.length;++I){let S=1/0;for(let T=0;T<=t.length-1;++T){let z=e[I]===t[T]?0:1,O=[d.get(I-1,T)+i.deletion,d.get(I,T-1)+i.insertion,d.get(I-1,T-1)+z*i.substitution];e[I]===t[T-1]&&e[I-1]===t[T]&&O.push(d.get(I-2,T-2)+z*i.transposition);let j=Math.min(...O);d.set(j,I,T),j<S&&(S=j)}if(S>s){if(E>s)return 1/0;E=S}else E=-1/0}let C=d.get(e.length-1,t.length-1);return C>s?1/0:C}function l$(e,t,a){let s=e[1]-t[1];if(s!==0)return s;let i=e[0].startsWith(a),c=t[0].startsWith(a);return i&&!c?-1:!i&&c?1:e[0].localeCompare(t[0])}function $B(e,t,a){let s=t.map(c=>[c,s$(e,c,a)]).filter(([,c])=>c<=a.threshold),i=Math.min(...s.map(([,c])=>c));return s.filter(([,c])=>c===i).sort((c,d)=>l$(c,d,e)).map(([c])=>c)}var Io=class extends Error{};function sv(e){return e instanceof Error?e.stack??String(e):String(e)}function u$(e,t){let a=[],s=Math.max(e.length,t.length);for(let i=0;i<s;++i)a[i]=Math.max(e[i],t[i]);return a}function uv(e,t){if(e.length===0)return[];let a=Array(Math.max(...e.map(i=>i.length))).fill(0,0),s=e.reduce((i,c)=>{let d=c.map(E=>E.length);return u$(i,d)},a);return e.map(i=>{let c=(i[0]??"").padEnd(s[0]);return i.slice(1).reduce((d,E,C,I)=>{let S=I.length===C+1?E:E.padEnd(s[C+1]);return[...d,t?.[C]??" ",S]},[c]).join("").trimEnd()})}function jB(e,t){if(e.length<=1)return e[0]??"";if(e.length===2)return e.join(` ${t.conjunction} `);let a=e.slice(0,e.length-1).join(", ");return t.serialComma&&(a+=","),[a,t.conjunction,e[e.length-1]].join(" ")}function c$(e,t){return e.reduce((a,s)=>{let i=t(s),c=a[i]??[];return c.push(s),a[i]=c,a},{})}function A$(e,t){return c$(e,a=>a[t])}async function zB(e){let t=await Promise.allSettled(e),a=A$(t,"status");return a.rejected&&a.rejected.length>0?{status:"rejected",reasons:a.rejected.map(s=>s.reason)}:{status:"fulfilled",value:a.fulfilled?.map(s=>s.value)??[]}}var d$=new Set(["true","t","yes","y","on","1"]),f$=new Set(["false","f","no","n","off","0"]),p$=e=>{let t=e.toLowerCase();if(d$.has(t))return!0;if(f$.has(t))return!1;throw new SyntaxError(`Cannot convert ${e} to a boolean`)},g$=e=>{let t=Number(e);if(Number.isNaN(t))throw new SyntaxError(`Cannot convert ${e} to a number`);return t},Lu=class extends Io{_brand};function m$(e,t){let a=e.constructor.name,s=t[a];return s?s(e):e.message}function h$(e,t,a){return Object.fromEntries(Object.entries(t).map(([s,i])=>{let c=i,d=e[c];if(!d){let E=Vc(c,a);throw new lv(E,[],s)}return[s,[c,d]]}))}var lv=class extends Lu{input;corrections;aliasName;constructor(e,t,a){let s=`No flag registered for --${e}`;if(a)s+=` (aliased from -${a})`;else if(t.length>0){let i=jB(t.map(c=>`--${c}`),{kind:"conjunctive",conjunction:"or",serialComma:!0});s+=`, did you mean ${i}?`}super(s),this.input=e,this.corrections=t,this.aliasName=a}},PB=class extends Lu{input;constructor(e){super(`No alias registered for -${e}`),this.input=e}};function MB(e,t){return e.placeholder?e.placeholder:typeof t=="number"?`arg${t}`:"args"}function Vc(e,t){return t==="allow-kebab-for-camel"?Mu(e):e}var HB=class extends Lu{externalFlagNameOrPlaceholder;input;exception;constructor(e,t,a){super(`Failed to parse "${t}" for ${e}: ${a instanceof Error?a.message:String(a)}`),this.externalFlagNameOrPlaceholder=e,this.input=t,this.exception=a}};function Zp(e,t,a,s){try{return t.parse.call(s,a)}catch(i){throw new HB(e,a,i)}}var eN=class extends Lu{externalFlagName;input;values;constructor(e,t,a,s){let i=`Expected "${t}" to be one of (${a.join("|")})`;if(s.length>0){let c=jB(s.map(d=>`"${d}"`),{kind:"conjunctive",conjunction:"or",serialComma:!0});i+=`, did you mean ${c}?`}super(i),this.externalFlagName=e,this.input=t,this.values=a}},Kp=class extends Lu{externalFlagName;nextFlagName;constructor(e,t){let a=`Expected input for flag --${e}`;t&&(a+=` but encountered --${t} instead`),super(a),this.externalFlagName=e,this.nextFlagName=t}},tN=class extends Lu{expectedCount;input;constructor(e,t){super(`Too many arguments, expected ${e} but encountered "${t}"`),this.expectedCount=e,this.input=t}},nN=class extends Lu{placeholder;limit;constructor(e,t){let a;t?(a=`Expected at least ${t[0]} argument(s) for ${e}`,t[1]===0?a+=" but found none":a+=` but only found ${t[1]}`):a=`Expected argument for ${e}`,super(a),this.placeholder=e,this.limit=t}};function iN(e){if(e.startsWith("no")&&e.length>2){if(e[2]==="-")return e.slice(4);let t=e[2],a=t.toUpperCase();return t!==a?void 0:t.toLowerCase()+e.slice(3)}}function lN(e,t,a){let s=e,i=t[s];if(!i){let d=iN(s);if(d&&(i=t[d],i&&i.kind=="boolean"))return{namedFlag:[d,i],negated:!0}}let c=GB(e);if(a.caseStyle==="allow-kebab-for-camel"&&!i){if(i=t[c],i)return{namedFlag:[c,i]};let d=iN(c);if(d&&(i=t[d],i&&i.kind=="boolean"))return{namedFlag:[d,i],negated:!0}}if(!i){if(c in t)throw new lv(e,[c]);let d=Mu(e);if(d in t)throw new lv(e,[d]);let E=$B(s,Object.keys(t),a.distanceOptions);throw new lv(e,E)}return{namedFlag:[s,i]}}function rN(e){return e.namedFlag[1].kind==="boolean"||e.namedFlag[1].kind==="counter"}var uN=/^-([a-z]+)$/i,E$=/^--([a-z][a-z-.\d_]+)$/i;function y$(e,t,a,s){let i=uN.exec(e);if(i){let d=i[1];return Array.from(d).map(E=>{let C=E,I=a[C];if(!I)throw new PB(C);return{namedFlag:I}})}let c=E$.exec(e);if(c){let d=c[1];return[lN(d,t,s)]}return[]}var v$=/^--([a-z][a-z-.\d_]+)=(.+)$/i,C$=/^-([a-z])=(.+)$/i,I$=class extends Lu{externalFlagName;valueText;constructor(e,t){super(`Cannot negate flag --${e} and pass "${t}" as value`),this.externalFlagName=e,this.valueText=t}};function B$(e,t,a,s){let i=v$.exec(e);if(i){let d=i[1],{namedFlag:E,negated:C}=lN(d,t,s),I=i[2];if(C)throw new I$(d,I);return[E,I]}let c=C$.exec(e);if(c){let d=c[1],E=a[d];if(!E)throw new PB(d);let C=c[2];return[E,C]}}async function _$(e,t,a,s,i){if(!a){if("default"in t&&typeof t.default<"u")return t.kind==="boolean"||t.kind==="enum"?t.default:Zp(e,t,t.default,i);if(t.optional)return;if(t.kind==="boolean")return!1;if(t.kind==="counter")return 0;throw new Kp(e)}if(t.kind==="counter")return a.reduce((d,E)=>{try{return d+g$.call(i,E)}catch(C){throw new HB(e,E,C)}},0);if("variadic"in t&&t.variadic){if(t.kind==="enum"){for(let d of a)if(!t.values.includes(d)){let E=$B(d,t.values,s.distanceOptions);throw new eN(e,d,t.values,E)}return a}return Promise.all(a.map(d=>Zp(e,t,d,i)))}let c=a[0];if(t.kind==="boolean")try{return p$.call(i,c)}catch(d){throw new HB(e,c,d)}if(t.kind==="enum"){if(!t.values.includes(c)){let d=$B(c,t.values,s.distanceOptions);throw new eN(e,c,t.values,d)}return c}return Zp(e,t,c,i)}var D$=class extends Lu{externalFlagName;previousInput;input;constructor(e,t,a){super(`Too many arguments for --${e}, encountered "${a}" after "${t}"`),this.externalFlagName=e,this.previousInput=t,this.input=a}};function cN(e){return e.kind==="counter"?!0:"variadic"in e?!!e.variadic:!1}function Yc(e,t,[a,s],i){let c=e.get(a)??[];if(c.length>0&&!cN(s)){let d=Vc(a,t);throw new D$(d,c[0],i)}if("variadic"in s&&typeof s.variadic=="string"){let d=i.split(s.variadic);e.set(a,[...c,...d])}else e.set(a,[...c,i])}function LB(e,t,a){if(t.get(a)){let s=e[a];return!cN(s)}return!1}function Q$(e,t){let{flags:a={},aliases:s={},positional:i={kind:"tuple",parameters:[]}}=e,c=h$(a,s,t.caseStyle),d=[],E=new Map,C=0,I,S=!1;return{next:T=>{if(!S&&t.allowArgumentEscapeSequence&&T==="--"){if(I)if(I[1].kind==="parsed"&&I[1].inferEmpty)Yc(E,t.caseStyle,I,""),I=void 0;else{let z=Vc(I[0],t.caseStyle);throw new Kp(z)}S=!0;return}if(!S){let z=B$(T,a,c,t);if(z){if(I)if(I[1].kind==="parsed"&&I[1].inferEmpty)Yc(E,t.caseStyle,I,""),I=void 0;else{let j=Vc(I[0],t.caseStyle),q=Vc(z[0][0],t.caseStyle);throw new Kp(j,q)}Yc(E,t.caseStyle,...z);return}let O=y$(T,a,c,t);if(O.length>0){if(I)if(I[1].kind==="parsed"&&I[1].inferEmpty)Yc(E,t.caseStyle,I,""),I=void 0;else{let j=Vc(I[0],t.caseStyle),q=Vc(O[0].namedFlag[0],t.caseStyle);throw new Kp(j,q)}if(O.every(rN))for(let j of O)j.namedFlag[1].kind==="boolean"?Yc(E,t.caseStyle,j.namedFlag,j.negated?"false":"true"):Yc(E,t.caseStyle,j.namedFlag,"1");else if(O.length>1){let j=O.find(Y=>!rN(Y)),q=Vc(j.namedFlag[0],t.caseStyle);throw new Kp(q)}else I=O[0].namedFlag;return}}if(I)Yc(E,t.caseStyle,I,T),I=void 0;else{if(i.kind==="tuple"){if(C>=i.parameters.length)throw new tN(i.parameters.length,T)}else if(typeof i.maximum=="number"&&C>=i.maximum)throw new tN(i.maximum,T);d[C]=T,++C}},parseArguments:async T=>{let z=[],O;i.kind==="array"?(typeof i.minimum=="number"&&C<i.minimum&&z.push(new nN(MB(i.parameter),[i.minimum,C])),O=zB(d.map(async(re,ve)=>{let be=MB(i.parameter,ve+1);return Zp(be,i.parameter,re,T)}))):O=zB(i.parameters.map(async(re,ve)=>{let be=MB(re,ve+1),ge=d[ve];if(typeof ge!="string"){if(typeof re.default=="string")return Zp(be,re,re.default,T);if(re.optional)return;throw new nN(be)}return Zp(be,re,ge,T)})),I&&I[1].kind==="parsed"&&I[1].inferEmpty&&(Yc(E,t.caseStyle,I,""),I=void 0);let j=zB(Object.entries(a).map(async re=>{let[ve,be]=re,ge=Vc(ve,t.caseStyle);if(I&&I[0]===ve)throw new Kp(ge);let $e=E.get(ve),mt=await _$(ge,be,$e,t,T);return[ve,mt]})),[q,Y]=await Promise.all([O,j]);if(q.status==="rejected")for(let re of q.reasons)z.push(re);if(Y.status==="rejected")for(let re of Y.reasons)z.push(re);if(z.length>0)return{success:!1,errors:z};if(q.status==="rejected")throw new Io("Unknown failure while scanning positional arguments");if(Y.status==="rejected")throw new Io("Unknown failure while scanning flag arguments");return{success:!0,arguments:[Object.fromEntries(Y.value),...q.value]}},proposeCompletions:async({partial:T,completionConfig:z,text:O,context:j,includeVersionFlag:q})=>{if(I)return AN(I[1],j,T);let Y=[];if(!S){let re=uN.exec(T);if(z.includeAliases){if(T===""||T==="-"){let ve=Object.entries(s).filter(be=>!LB(a,E,be[1]));for(let[be]of ve){let ge=c[be];ge&&Y.push({kind:"argument:flag",completion:`-${be}`,brief:ge[1].brief})}}else if(re){let ve=Array.from(re[1]);if(ve.includes("h"))return[];if(q&&ve.includes("v"))return[];let be=new Map(E);for(let mt of ve){let at=c[mt];if(!at)throw new PB(mt);Yc(be,t.caseStyle,at,at[1].kind==="boolean"?"true":"1")}let ge=ve[ve.length-1];if(ge){let mt=c[ge];mt&&Y.push({kind:"argument:flag",completion:T,brief:mt[1].brief})}let $e=Object.entries(s).filter(mt=>!LB(a,be,mt[1]));for(let[mt]of $e){let at=c[mt];at&&Y.push({kind:"argument:flag",completion:`${T}${mt}`,brief:at[1].brief})}}}if(T===""||T==="-"||T.startsWith("--")){t.allowArgumentEscapeSequence&&Y.push({kind:"argument:flag",completion:"--",brief:O.briefs.argumentEscapeSequence});let ve=Object.entries(a).filter(([ge])=>!LB(a,E,ge));t.caseStyle==="allow-kebab-for-camel"&&(ve=ve.map(([ge,$e])=>[Mu(ge),$e]));let be=ve.map(([ge,$e])=>[`--${ge}`,$e]).filter(([ge])=>ge.startsWith(T));Y.push(...be.map(([ge,$e])=>({kind:"argument:flag",completion:ge,brief:$e.brief})))}}if(i.kind==="array"){if(i.parameter.proposeCompletions&&(typeof i.maximum!="number"||C<i.maximum)){let re=await i.parameter.proposeCompletions.call(j,T);Y.push(...re.map(ve=>({kind:"argument:value",completion:ve,brief:i.parameter.brief})))}}else{let re=i.parameters[C];if(re?.proposeCompletions){let ve=await re.proposeCompletions.call(j,T);Y.push(...ve.map(be=>({kind:"argument:value",completion:be,brief:re.brief})))}}return Y.filter(({completion:re})=>re.startsWith(T))}}}async function AN(e,t,a){if(typeof e.variadic=="string"&&a.endsWith(e.variadic))return AN(e,t,"");let s;return e.kind==="enum"?s=e.values:e.proposeCompletions?s=await e.proposeCompletions.call(t,a):s=[],s.map(i=>({kind:"argument:value",completion:i,brief:e.brief})).filter(({completion:i})=>i.startsWith(a))}var S$={headers:{usage:"USAGE",aliases:"ALIASES",commands:"COMMANDS",flags:"FLAGS",arguments:"ARGUMENTS"},keywords:{default:"default =",separator:"separator ="},briefs:{help:"Print help information and exit",helpAll:"Print help information (including hidden commands/flags) and exit",version:"Print version information and exit",argumentEscapeSequence:"All subsequent inputs should be interpreted as arguments"},noCommandRegisteredForInput:({input:e,corrections:t})=>{let a=`No command registered for \`${e}\``;if(t.length>0){let s=jB(t,{kind:"conjunctive",conjunction:"or",serialComma:!0});return`${a}, did you mean ${s}?`}else return a},noTextAvailableForLocale:({requestedLocale:e,defaultLocale:t})=>`Application does not support "${e}" locale, defaulting to "${t}"`,exceptionWhileParsingArguments:e=>e instanceof Lu?m$(e,{}):`Unable to parse arguments, ${sv(e)}`,exceptionWhileLoadingCommandFunction:e=>`Unable to load command function, ${sv(e)}`,exceptionWhileLoadingCommandContext:e=>`Unable to load command context, ${sv(e)}`,exceptionWhileRunningCommand:e=>`Command failed, ${sv(e)}`,commandErrorResult:e=>e.message,currentVersionIsNotLatest:({currentVersion:e,latestVersion:t,upgradeCommand:a})=>a?`Latest available version is ${t} (currently running ${e}), upgrade with "${a}"`:`Latest available version is ${t} (currently running ${e})`};function b$(e){if(e.startsWith("en"))return S$}var cv=Symbol("RouteMap"),dv=Symbol("Command");function w$(e,t,a){let s=[...a],i=[],c,d=e,E,C=!0,I=!1;return{next:S=>{if(S==="--help"||S==="-h"){I=!0,E||(E=d);return}else if(S==="--helpAll"||S==="--help-all"||S==="-H"){I="all",E||(E=d);return}if(E){i.push(S);return}if(d.kind===dv){E=d,i.push(S);return}let T=GB(S),z=S,O=d.getRoutingTargetForInput(z);if(t.caseStyle==="allow-kebab-for-camel"&&!O&&(O=d.getRoutingTargetForInput(T),O&&(z=T)),!O){let j=d.getDefaultCommand();if(j){C=!1,c=[d,""],i.push(S),d=j;return}return{input:S,routeMap:d}}C=!1,c=[d,S],d=O,s.push(S)},finish:()=>{if(E=E??d,E.kind===cv&&!I){let T=E.getDefaultCommand();T&&(c=[E,""],E=T,C=!1)}let S=c?c[0].getOtherAliasesForInput(c[1],t.caseStyle):{original:[],"convert-camel-to-kebab":[]};return{target:E,unprocessedInputs:i,helpRequested:I,prefix:s,rootLevel:C,aliases:S}}}}function Av(e,t){return t==="convert-camel-to-kebab"?Mu(e):e}function x$(e,t){return t==="convert-camel-to-kebab"?`no-${Mu(e)}`:`no${e[0].toUpperCase()}${e.slice(1)}`}function U$(e){let t=e.scanner?.caseStyle??"original",a;if(e.documentation?.caseStyle){if(t==="original"&&e.documentation.caseStyle==="convert-camel-to-kebab")throw new Io("Cannot convert route and flag names on display but scan as original");a=e.documentation.caseStyle}else t==="allow-kebab-for-camel"?a="convert-camel-to-kebab":a=t;let s={caseStyle:t,allowArgumentEscapeSequence:e.scanner?.allowArgumentEscapeSequence??!1,distanceOptions:e.scanner?.distanceOptions??{threshold:7,weights:{insertion:1,deletion:3,substitution:2,transposition:0}}},i={alwaysShowHelpAllFlag:e.documentation?.alwaysShowHelpAllFlag??!1,useAliasInUsageLine:e.documentation?.useAliasInUsageLine??!1,onlyRequiredInUsageLine:e.documentation?.onlyRequiredInUsageLine??!1,caseStyle:a,disableAnsiColor:e.documentation?.disableAnsiColor??!1},c={includeAliases:e.completion?.includeAliases??i.useAliasInUsageLine,includeHiddenRoutes:e.completion?.includeHiddenRoutes??!1,...e.completion};return{...e,scanner:s,completion:c,documentation:i,localization:{defaultLocale:"en",loadText:b$,...e.localization}}}function dN(e,t){let a=U$(t);if(e.kind===dv&&a.versionInfo){if(e.usesFlag("version"))throw new Io("Unable to use command with flag --version as root when version info is supplied");if(e.usesFlag("v"))throw new Io("Unable to use command with alias -v as root when version info is supplied")}let s=a.localization.loadText(a.localization.defaultLocale);if(!s)throw new Io(`No text available for the default locale "${a.localization.defaultLocale}"`);return{root:e,config:a,defaultText:s}}async function N$({parameters:e},t){try{let a=Q$(e,t.scannerConfig);for(let s of t.inputs)a.next(s);return await a.proposeCompletions(t)}catch{return[]}}async function R$(e,{partial:t,scannerConfig:a,completionConfig:s}){let i=e.getAllEntries();s.includeHiddenRoutes||(i=i.filter(d=>!d.hidden));let c=a.caseStyle==="allow-kebab-for-camel"?"convert-camel-to-kebab":a.caseStyle;return i.flatMap(d=>{let E=d.target.kind===dv?"routing-target:command":"routing-target:route-map",C=d.target.brief,I={kind:E,completion:d.name[c],brief:C};return s.includeAliases?[I,...d.aliases.map(S=>({kind:E,completion:S,brief:C}))]:[I]}).filter(({completion:d})=>d.startsWith(t))}async function JB({root:e,config:t,defaultText:a},s,i){if(s.length===0)return[];let c=w$(e,t.scanner,[]),d=s.slice(0,-1),E;for(;d.length>0&&!E;){let T=d.shift();E=c.next(T)}if(E)return[];let C=c.finish();if(C.helpRequested)return[];let I;if("forCommand"in i)try{I=await i.forCommand({prefix:C.prefix})}catch{return[]}else I=i;let S=s[s.length-1];return C.target.kind===cv?R$(C.target,{context:I,partial:S,scannerConfig:t.scanner,completionConfig:t.completion}):N$(C.target,{context:I,inputs:C.unprocessedInputs,partial:S,scannerConfig:t.scanner,completionConfig:t.completion,text:a,includeVersionFlag:!!t.versionInfo&&C.rootLevel})}function fN(e){return"default"in e&&typeof e.default<"u"}function Ih(e){return e.optional??fN(e)}function aN(e){return`(${e})`}function oN(e){return`[${e}]`}function sN(e){return`${e}...`}function T$(e){return`<${e}>`}function O$(e){return`[<${e}>]`}function k$(e){return`<${e}>...`}function pN(e,t){let a=Object.entries(e.flags??{}).filter(([,c])=>!(c.hidden||t.config.onlyRequiredInUsageLine&&Ih(c))).map(([c,d])=>{let E=t.config.caseStyle==="convert-camel-to-kebab"?`--${Mu(c)}`:`--${c}`;if(e.aliases&&t.config.useAliasInUsageLine){let I=Object.entries(e.aliases).filter(S=>S[1]===c);I.length===1&&I[0]&&(E=`-${I[0][0]}`)}if(d.kind==="boolean")return[d,E];if(d.kind==="enum"&&typeof d.placeholder!="string")return[d,`${E} ${d.values.join("|")}`];let C=d.placeholder??"value";return[d,`${E} ${C}`]}).map(([c,d])=>c.kind==="parsed"&&c.variadic?Ih(c)?sN(oN(d)):sN(aN(d)):Ih(c)?oN(d):aN(d)),s=[],i=e.positional;if(i)if(i.kind==="array")s=[k$(i.parameter.placeholder??"args")];else{let c=i.parameters;t.config.onlyRequiredInUsageLine&&(c=c.filter(d=>!d.optional&&typeof d.default>"u")),s=c.map((d,E)=>{let C=d.placeholder??`arg${E+1}`;return d.optional||typeof d.default<"u"?O$(C):T$(C)})}return[...t.prefix,...a,...s].join(" ")}function gN(e,t,a){let{keywords:s,briefs:i}=a.text,c=Object.entries(e).filter(([,C])=>!(C.hidden&&!a.includeHidden)),d=c.some(([,C])=>Ih(C)),E=c.map(([C,I])=>{let S=Object.entries(t).filter(j=>j[1]===C).map(([j])=>`-${j}`),T="--"+Av(C,a.config.caseStyle);if(I.kind==="boolean"&&I.default!==!1){let j=x$(C,a.config.caseStyle);T=`${T}/--${j}`}Ih(I)?T=`[${T}]`:d&&(T=` ${T}`),I.kind==="parsed"&&I.variadic&&(T=`${T}...`);let z=[];if(I.kind==="enum"){let j=I.values.join("|");z.push(j)}if(fN(I)){let j=a.ansiColor?`\x1B[90m${s.default}\x1B[39m`:s.default;z.push(`${j} ${I.default===""?'""':String(I.default)}`)}if("variadic"in I&&typeof I.variadic=="string"){let j=a.ansiColor?`\x1B[90m${s.separator}\x1B[39m`:s.separator;z.push(`${j} ${I.variadic}`)}let O=z.length>0?`[${z.join(", ")}]`:void 0;return{aliases:S.join(" "),flagName:T,brief:I.brief,suffix:O,hidden:I.hidden}});if(E.push({aliases:"-h",flagName:d?" --help":"--help",brief:i.help}),a.includeHelpAllFlag){let C=Av("helpAll",a.config.caseStyle);E.push({aliases:"-H",flagName:d?` --${C}`:`--${C}`,brief:i.helpAll,hidden:!a.config.alwaysShowHelpAllFlag})}return a.includeVersionFlag&&E.push({aliases:"-v",flagName:d?" --version":"--version",brief:i.version}),a.includeArgumentEscapeSequenceFlag&&E.push({aliases:"",flagName:d?" --":"--",brief:i.argumentEscapeSequence}),uv(E.map(C=>a.ansiColor?[C.hidden?`\x1B[90m${C.aliases}\x1B[39m`:`\x1B[97m${C.aliases}\x1B[39m`,C.hidden?`\x1B[90m${C.flagName}\x1B[39m`:`\x1B[97m${C.flagName}\x1B[39m`,C.hidden?`\x1B[90m${C.brief}\x1B[39m`:`\x1B[03m${C.brief}\x1B[23m`,C.suffix??""]:[C.aliases,C.flagName,C.brief,C.suffix??""]),[" "," "," "])}function*mN(e){if(yield e.config.useAliasInUsageLine?"-h":"--help",e.includeHelpAllFlag){let t=Av("helpAll",e.config.caseStyle);yield e.config.useAliasInUsageLine?"-H":`--${t}`}e.includeVersionFlag&&(yield e.config.useAliasInUsageLine?"-v":"--version")}function F$(e,t){if(e.kind==="array"){let i=e.parameter.placeholder??"args",c=t.ansiColor?`\x1B[97m${i}...\x1B[39m`:`${i}...`,d=t.ansiColor?`\x1B[3m${e.parameter.brief}\x1B[23m`:e.parameter.brief;return uv([[c,d]],[" "])}let{keywords:a}=t.text,s=e.parameters.some(i=>i.optional);return uv(e.parameters.map((i,c)=>{let d=i.placeholder??`arg${c+1}`,E;return i.optional?d=`[${d}]`:s&&(d=` ${d}`),i.default&&(E=`[${t.ansiColor?`\x1B[90m${a.default}\x1B[39m`:a.default} ${i.default}]`),[t.ansiColor?`\x1B[97m${d}\x1B[39m`:d,t.ansiColor?`\x1B[3m${i.brief}\x1B[23m`:i.brief,E??""]}),[" "," "])}function*z$(e,t,a){let{brief:s,fullDescription:i,customUsage:c}=t,{headers:d}=a.text,E=a.prefix.join(" ");if(yield a.ansiColor?`\x1B[1m${d.usage}\x1B[22m`:d.usage,c)for(let I of c)if(typeof I=="string")yield` ${E} ${I}`;else{let S=a.ansiColor?`\x1B[3m${I.brief}\x1B[23m`:I.brief;yield` ${E} ${I.input}
|
|
464
|
+
${S}`}else yield` ${pN(e,a)}`;for(let I of mN(a))yield` ${E} ${I}`;if(yield"",yield i??s,a.aliases&&a.aliases.length>0){let I=a.prefix.slice(0,-1).join(" ");yield"",yield a.ansiColor?`\x1B[1m${d.aliases}\x1B[22m`:d.aliases;for(let S of a.aliases)yield` ${I} ${S}`}yield"",yield a.ansiColor?`\x1B[1m${d.flags}\x1B[22m`:d.flags;for(let I of gN(e.flags??{},e.aliases??{},a))yield` ${I}`;let C=e.positional??{kind:"tuple",parameters:[]};if(C.kind==="array"||C.parameters.length>0){yield"",yield a.ansiColor?`\x1B[1m${d.arguments}\x1B[22m`:d.arguments;for(let I of F$(C,a))yield` ${I}`}}function M$(e,t){for(let a of t)if(a in e)throw new Io(`Unable to use reserved flag --${a}`)}function L$(e,t){for(let a of t)if(a in e)throw new Io(`Unable to use reserved alias -${a}`)}function*$$(e){yield`no-${Mu(e)}`,yield`no${e[0].toUpperCase()}${e.slice(1)}`}function H$(e){let t=Object.entries(e).filter(([,a])=>a.kind==="boolean"&&!a.optional);for(let[a]of t)for(let s of $$(a))if(s in e)throw new Io(`Unable to allow negation for --${a} as it conflicts with --${s}`)}function G$(e){for(let[t,a]of Object.entries(e))if("variadic"in a&&typeof a.variadic=="string"){if(a.variadic.length<1)throw new Io(`Unable to use "" as variadic separator for --${t} as it is empty`);if(/\s/.test(a.variadic))throw new Io(`Unable to use "${a.variadic}" as variadic separator for --${t} as it contains whitespace`)}}function ms(e){let{flags:t={},aliases:a={}}=e.parameters;M$(t,["help","helpAll","help-all"]),L$(a,["h","H"]),H$(t),G$(t);let s;return"func"in e?s=async()=>e.func:s=e.loader,{kind:dv,loader:s,parameters:e.parameters,get brief(){return e.docs.brief},formatUsageLine:i=>pN(e.parameters,i),formatHelp:i=>[...z$(e.parameters,e.docs,i)].join(`
|
|
465
|
+
`)+`
|
|
466
|
+
`,usesFlag:i=>i in t||i in a}}function*j$(e,t,a){let{brief:s,fullDescription:i,hideRoute:c}=t,{headers:d}=a.text;yield a.ansiColor?`\x1B[1m${d.usage}\x1B[22m`:d.usage;for(let[S,T]of Object.entries(e))if(!c||!c[S]||a.includeHidden){let z=a.config.caseStyle==="convert-camel-to-kebab"?Mu(S):S;yield` ${T.formatUsageLine({...a,prefix:[...a.prefix,z]})}`}let E=a.prefix.join(" ");for(let S of mN(a))yield` ${E} ${S}`;if(yield"",yield i??s,a.aliases&&a.aliases.length>0){let S=a.prefix.slice(0,-1).join(" ");yield"",yield a.ansiColor?`\x1B[1m${d.aliases}\x1B[22m`:d.aliases;for(let T of a.aliases)yield` ${S} ${T}`}yield"",yield a.ansiColor?`\x1B[1m${d.flags}\x1B[22m`:d.flags;for(let S of gN({},{},a))yield` ${S}`;yield"",yield a.ansiColor?`\x1B[1m${d.commands}\x1B[22m`:d.commands;let C=Object.entries(e).filter(([S])=>!c||!c[S]||a.includeHidden).map(([S,T])=>({routeName:Av(S,a.config.caseStyle),brief:T.brief,hidden:c&&c[S]})),I=uv(C.map(S=>a.ansiColor?[S.hidden?`\x1B[90m${S.routeName}\x1B[39m`:`\x1B[97m${S.routeName}\x1B[39m`,S.hidden?`\x1B[90m${S.brief}\x1B[39m`:`\x1B[03m${S.brief}\x1B[23m`]:[S.routeName,S.brief]),[" "]);for(let S of I)yield` ${S}`}function od({routes:e,defaultCommand:t,docs:a,aliases:s}){if(Object.entries(e).length===0)throw new Io("Route map must contain at least one route");let i=s??{},c=new Map;for(let[C,I]of Object.entries(i)){if(C in e)throw new Io(`Cannot use "${C}" as an alias when a route with that name already exists`);let S=c.get(I)??[];c.set(I,[...S,C])}let d=t?e[t]:void 0;if(d&&d.kind===cv)throw new Io(`Cannot use "${t}" as the default command because it is not a Command`);let E=C=>{if(C in i)return i[C];if(C in e)return C};return{kind:cv,get brief(){return a.brief},formatUsageLine(C){let I=this.getAllEntries().filter(S=>!S.hidden).map(S=>S.name[C.config.caseStyle]);return`${C.prefix.join(" ")} ${I.join("|")} ...`},formatHelp:C=>[...j$(e,a,C)].join(`
|
|
467
|
+
`)+`
|
|
468
|
+
`,getDefaultCommand:()=>d,getOtherAliasesForInput:(C,I)=>{if(t){if(C===t)return{original:[""],"convert-camel-to-kebab":[""]};if(C==="")return{original:[t],"convert-camel-to-kebab":[t]}}let S=GB(C),T=E(C);if(!T&&I==="allow-kebab-for-camel"&&(T=E(S)),!T)return{original:[],"convert-camel-to-kebab":[]};let z=[T,...c.get(T)??[]].filter(O=>O!==C&&O!==S);return{original:z,"convert-camel-to-kebab":z.map(Mu)}},getRoutingTargetForInput:C=>{let I=C in i?i[C]:C;return e[I]},getAllEntries(){let C=a.hideRoute;return Object.entries(e).map(([I,S])=>({name:{original:I,"convert-camel-to-kebab":Mu(I)},target:S,aliases:c.get(I)??[],hidden:C?.[I]??!1}))}}}function yN(e,t){if(e.length<=1)return e[0]??"";if(e.length===2)return e.join(` ${t.conjunction} `);let a=e.slice(0,e.length-1).join(", ");return t.serialComma&&(a+=","),[a,t.conjunction,e[e.length-1]].join(" ")}var vN={parse:String,brief:"Target command run by user",placeholder:"targetCommand"},U9=ms({loader:async()=>{let{install:e}=await Promise.resolve().then(()=>(_h(),Bh));return e},parameters:{flags:{bash:{kind:"parsed",brief:"Command executed by bash to generate completion proposals",parse:String,optional:!0,placeholder:"command"}},positional:{kind:"tuple",parameters:[vN]}},docs:{brief:"Installs autocomplete support for target command on all provided shell types"}});function ZB(e,t){let a=yN(Object.keys(t),{conjunction:"and",serialComma:!0});return ms({loader:async()=>{let{install:s}=await Promise.resolve().then(()=>(_h(),Bh));return function(){return s.call(this,t,e)}},parameters:{},docs:{brief:`Installs ${a} autocomplete support for ${e}`}})}var N9=ms({loader:async()=>{let{uninstall:e}=await Promise.resolve().then(()=>(_h(),Bh));return e},parameters:{flags:{bash:{kind:"boolean",brief:"Uninstall autocompletion for bash",optional:!0}},positional:{kind:"tuple",parameters:[vN]}},docs:{brief:"Uninstalls autocomplete support for target command on all selected shell types"}});function YB(e,t){let a=Object.entries(t).filter(([,i])=>i).map(([i])=>i),s=yN(a,{conjunction:"and",serialComma:!0});return ms({loader:async()=>{let{uninstall:i}=await Promise.resolve().then(()=>(_h(),Bh));return function(){return i.call(this,t,e)}},parameters:{},docs:{brief:`Uninstalls ${s} autocomplete support for ${e}`}})}var UZ=ms({loader:async()=>{let{login:e}=await W1().then(()=>X1);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log in with an existing account"}}),NZ=ms({loader:async()=>{let{logout:e}=await W1().then(()=>X1);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log out of an existing account"}}),d3=od({routes:{login:UZ,logout:NZ},docs:{brief:"Auth commands"}});var a9=ms({loader:async()=>{let{generateCode:e}=await yL().then(()=>EL);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Generate application code and types"}}),o9=ms({loader:async()=>{let{initializeConfig:e}=await DL().then(()=>_L);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Initialize Swirls configuration file"}}),QL=od({routes:{gen:a9,init:o9},docs:{brief:"Developer commands"}});var l9=ms({loader:async()=>{let{createProject:e}=await bL().then(()=>SL);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Project name",parse:String,placeholder:"name"}]}},docs:{brief:"Create a new project"}}),wL=od({routes:{create:l9},docs:{brief:"Project commands"}});var xL="@swirls/cli",UL="0.0.4",NL="Swirls command line application";var u9=od({routes:{auth:d3,dev:QL,project:wL,install:ZB("cli",{bash:"__cli_bash_complete"}),uninstall:YB("cli",{bash:!0})},docs:{brief:NL,hideRoute:{install:!0,uninstall:!0}}}),U2=dN(u9,{name:xL,versionInfo:{currentVersion:UL}});import c9 from"fs";import A9 from"fs/promises";import d9 from"os";import f9 from"path";function N2(e){return{fs:c9,fsPromise:A9,os:d9,path:f9,process:e}}var R2=process.argv.slice(3);process.env.COMP_LINE?.endsWith(" ")&&R2.push("");await JB(U2,R2,N2(process));try{for(let{completion:e}of await JB(U2,R2,N2(process)))process.stdout.write(`${e}
|
|
3
469
|
`)}catch{}
|
|
470
|
+
/*! Bundled license information:
|
|
471
|
+
|
|
472
|
+
react/cjs/react.production.js:
|
|
473
|
+
(**
|
|
474
|
+
* @license React
|
|
475
|
+
* react.production.js
|
|
476
|
+
*
|
|
477
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
478
|
+
*
|
|
479
|
+
* This source code is licensed under the MIT license found in the
|
|
480
|
+
* LICENSE file in the root directory of this source tree.
|
|
481
|
+
*)
|
|
482
|
+
|
|
483
|
+
react/cjs/react.development.js:
|
|
484
|
+
(**
|
|
485
|
+
* @license React
|
|
486
|
+
* react.development.js
|
|
487
|
+
*
|
|
488
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
489
|
+
*
|
|
490
|
+
* This source code is licensed under the MIT license found in the
|
|
491
|
+
* LICENSE file in the root directory of this source tree.
|
|
492
|
+
*)
|
|
493
|
+
|
|
494
|
+
react-reconciler/cjs/react-reconciler-constants.production.js:
|
|
495
|
+
(**
|
|
496
|
+
* @license React
|
|
497
|
+
* react-reconciler-constants.production.js
|
|
498
|
+
*
|
|
499
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
500
|
+
*
|
|
501
|
+
* This source code is licensed under the MIT license found in the
|
|
502
|
+
* LICENSE file in the root directory of this source tree.
|
|
503
|
+
*)
|
|
504
|
+
|
|
505
|
+
react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
506
|
+
(**
|
|
507
|
+
* @license React
|
|
508
|
+
* react-reconciler-constants.development.js
|
|
509
|
+
*
|
|
510
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
511
|
+
*
|
|
512
|
+
* This source code is licensed under the MIT license found in the
|
|
513
|
+
* LICENSE file in the root directory of this source tree.
|
|
514
|
+
*)
|
|
515
|
+
|
|
516
|
+
scheduler/cjs/scheduler.production.js:
|
|
517
|
+
(**
|
|
518
|
+
* @license React
|
|
519
|
+
* scheduler.production.js
|
|
520
|
+
*
|
|
521
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
522
|
+
*
|
|
523
|
+
* This source code is licensed under the MIT license found in the
|
|
524
|
+
* LICENSE file in the root directory of this source tree.
|
|
525
|
+
*)
|
|
526
|
+
|
|
527
|
+
scheduler/cjs/scheduler.development.js:
|
|
528
|
+
(**
|
|
529
|
+
* @license React
|
|
530
|
+
* scheduler.development.js
|
|
531
|
+
*
|
|
532
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
533
|
+
*
|
|
534
|
+
* This source code is licensed under the MIT license found in the
|
|
535
|
+
* LICENSE file in the root directory of this source tree.
|
|
536
|
+
*)
|
|
537
|
+
|
|
538
|
+
react-reconciler/cjs/react-reconciler.production.js:
|
|
539
|
+
(**
|
|
540
|
+
* @license React
|
|
541
|
+
* react-reconciler.production.js
|
|
542
|
+
*
|
|
543
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
544
|
+
*
|
|
545
|
+
* This source code is licensed under the MIT license found in the
|
|
546
|
+
* LICENSE file in the root directory of this source tree.
|
|
547
|
+
*)
|
|
548
|
+
|
|
549
|
+
react-reconciler/cjs/react-reconciler.development.js:
|
|
550
|
+
(**
|
|
551
|
+
* @license React
|
|
552
|
+
* react-reconciler.development.js
|
|
553
|
+
*
|
|
554
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
555
|
+
*
|
|
556
|
+
* This source code is licensed under the MIT license found in the
|
|
557
|
+
* LICENSE file in the root directory of this source tree.
|
|
558
|
+
*)
|
|
559
|
+
|
|
560
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
561
|
+
(**
|
|
562
|
+
* @license React
|
|
563
|
+
* react-jsx-runtime.production.js
|
|
564
|
+
*
|
|
565
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
566
|
+
*
|
|
567
|
+
* This source code is licensed under the MIT license found in the
|
|
568
|
+
* LICENSE file in the root directory of this source tree.
|
|
569
|
+
*)
|
|
570
|
+
|
|
571
|
+
react/cjs/react-jsx-runtime.development.js:
|
|
572
|
+
(**
|
|
573
|
+
* @license React
|
|
574
|
+
* react-jsx-runtime.development.js
|
|
575
|
+
*
|
|
576
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
577
|
+
*
|
|
578
|
+
* This source code is licensed under the MIT license found in the
|
|
579
|
+
* LICENSE file in the root directory of this source tree.
|
|
580
|
+
*)
|
|
581
|
+
*/
|