@volter/twin-sentry 0.1.0
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/LICENSE +202 -0
- package/README.md +142 -0
- package/client/sentry-mirror.css +99 -0
- package/client/sentry-mirror.tsx +352 -0
- package/dist/client/sentry-mirror.bundle.js +321 -0
- package/dist/client/sentry-mirror.css +99 -0
- package/dist/client/sentry-mirror.d.ts +17 -0
- package/dist/client/sentry-mirror.js +156 -0
- package/dist/client/sentry-mirror.tsx +352 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +36 -0
- package/dist/src/index.d.ts +15 -0
- package/dist/src/index.js +75 -0
- package/dist/src/sentry-budget.d.ts +50 -0
- package/dist/src/sentry-budget.js +145 -0
- package/dist/src/sentry-capabilities.d.ts +3 -0
- package/dist/src/sentry-capabilities.js +1180 -0
- package/dist/src/sentry-conformance.d.ts +22 -0
- package/dist/src/sentry-conformance.js +97 -0
- package/dist/src/sentry-connector.d.ts +77 -0
- package/dist/src/sentry-connector.js +226 -0
- package/dist/src/sentry-events.d.ts +54 -0
- package/dist/src/sentry-events.js +131 -0
- package/dist/src/sentry-ingest.d.ts +137 -0
- package/dist/src/sentry-ingest.js +387 -0
- package/dist/src/sentry-mirror-ui.d.ts +38 -0
- package/dist/src/sentry-mirror-ui.js +162 -0
- package/dist/src/sentry-perform-harness.d.ts +9 -0
- package/dist/src/sentry-perform-harness.js +20 -0
- package/dist/src/sentry-server.d.ts +14 -0
- package/dist/src/sentry-server.js +27 -0
- package/dist/src/sentry-twin.d.ts +17 -0
- package/dist/src/sentry-twin.js +1739 -0
- package/dist/test-fixtures/sentry-openapi-operations.SOURCE.md +24 -0
- package/dist/test-fixtures/sentry-openapi-operations.json +1837 -0
- package/package.json +75 -0
- package/src/cli.ts +34 -0
- package/src/index.ts +145 -0
- package/src/sentry-budget.ts +171 -0
- package/src/sentry-capabilities.ts +1222 -0
- package/src/sentry-conformance.ts +110 -0
- package/src/sentry-connector.ts +260 -0
- package/src/sentry-events.ts +171 -0
- package/src/sentry-ingest.ts +471 -0
- package/src/sentry-mirror-ui.ts +162 -0
- package/src/sentry-perform-harness.ts +19 -0
- package/src/sentry-server.ts +35 -0
- package/src/sentry-twin.ts +1615 -0
- package/test-fixtures/sentry-openapi-operations.SOURCE.md +24 -0
- package/test-fixtures/sentry-openapi-operations.json +1837 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
var _x=Object.create;var{getPrototypeOf:qx,defineProperty:dG,getOwnPropertyNames:Tq,getOwnPropertyDescriptor:Ex}=Object,Pq=Object.prototype.hasOwnProperty;function Rq(I){return this[I]}var Sx,jx,w4=(I,J,Y)=>{var K=I!=null&&typeof I==="object";if(K){var X=J?Sx??=new WeakMap:jx??=new WeakMap,O=X.get(I);if(O)return O}Y=I!=null?_x(qx(I)):{};let Z=J||!I||!I.__esModule?dG(Y,"default",{value:I,enumerable:!0}):Y;for(let M of Tq(I))if(!Pq.call(Z,M))dG(Z,M,{get:Rq.bind(I,M),enumerable:!0});if(K)X.set(I,Z);return Z},j$=(I)=>{var J=(Cq??=new WeakMap).get(I),Y;if(J)return J;if(J=dG({},"__esModule",{value:!0}),I&&typeof I==="object"||typeof I==="function"){for(var K of Tq(I))if(!Pq.call(J,K))dG(J,K,{get:Rq.bind(I,K),enumerable:!(Y=Ex(I,K))||Y.enumerable})}return Cq.set(I,J),J},Cq,ZI=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports);var Bx=(I)=>I;function Nx(I,J){this[I]=Bx.bind(null,J)}var g6=(I,J)=>{for(var Y in J)dG(I,Y,{get:J[Y],enumerable:!0,configurable:!0,set:Nx.bind(J,Y)})};var CQ=(I,J)=>()=>(I&&(J=I(I=0)),J);var vx=((I)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(I,{get:(J,Y)=>(typeof require<"u"?require:J)[Y]}):I)(function(I){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+I+'" is not supported')});var nG=ZI((kx,QO)=>{(function(){function I(m,X0){Object.defineProperty(K.prototype,m,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",X0[0],X0[1])}})}function J(m){if(m===null||typeof m!=="object")return null;return m=e&&m[e]||m["@@iterator"],typeof m==="function"?m:null}function Y(m,X0){m=(m=m.constructor)&&(m.displayName||m.name)||"ReactClass";var e0=m+"."+X0;J0[e0]||(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.",X0,m),J0[e0]=!0)}function K(m,X0,e0){this.props=m,this.context=X0,this.refs=$0,this.updater=e0||Z0}function X(){}function O(m,X0,e0){this.props=m,this.context=X0,this.refs=$0,this.updater=e0||Z0}function Z(){}function M(m){return""+m}function j(m){try{M(m);var X0=!1}catch(N0){X0=!0}if(X0){X0=console;var e0=X0.error,S0=typeof Symbol==="function"&&Symbol.toStringTag&&m[Symbol.toStringTag]||m.constructor.name||"Object";return e0.call(X0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",S0),M(m)}}function q(m){if(m==null)return null;if(typeof m==="function")return m.$$typeof===F0?null:m.displayName||m.name||null;if(typeof m==="string")return m;switch(m){case A:return"Fragment";case T:return"Profiler";case z:return"StrictMode";case r:return"Suspense";case U0:return"SuspenseList";case s:return"Activity"}if(typeof m==="object")switch(typeof m.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),m.$$typeof){case S:return"Portal";case N:return m.displayName||"Context";case g:return(m._context.displayName||"Context")+".Consumer";case c:var X0=m.render;return m=m.displayName,m||(m=X0.displayName||X0.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case O0:return X0=m.displayName||null,X0!==null?X0:q(m.type)||"Memo";case Q0:X0=m._payload,m=m._init;try{return q(m(X0))}catch(e0){}}return null}function E(m){if(m===A)return"<>";if(typeof m==="object"&&m!==null&&m.$$typeof===Q0)return"<...>";try{var X0=q(m);return X0?"<"+X0+">":"<...>"}catch(e0){return"<...>"}}function C(){var m=Y0.A;return m===null?null:m.getOwner()}function _(){return Error("react-stack-top-frame")}function B(m){if(W0.call(m,"key")){var X0=Object.getOwnPropertyDescriptor(m,"key").get;if(X0&&X0.isReactWarning)return!1}return m.key!==void 0}function v(m,X0){function e0(){I0||(I0=!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)",X0))}e0.isReactWarning=!0,Object.defineProperty(m,"key",{get:e0,configurable:!0})}function y(){var m=q(this.type);return I$[m]||(I$[m]=!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.")),m=this.props.ref,m!==void 0?m:null}function w(m,X0,e0,S0,N0,F$){var x0=e0.ref;return m={$$typeof:P,type:m,key:X0,props:e0,_owner:S0},(x0!==void 0?x0:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:y}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(m,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:N0}),Object.defineProperty(m,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:F$}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}function b(m,X0){return X0=w(m.type,X0,m.props,m._owner,m._debugStack,m._debugTask),m._store&&(X0._store.validated=m._store.validated),X0}function x(m){u(m)?m._store&&(m._store.validated=1):typeof m==="object"&&m!==null&&m.$$typeof===Q0&&(m._payload.status==="fulfilled"?u(m._payload.value)&&m._payload.value._store&&(m._payload.value._store.validated=1):m._store&&(m._store.validated=1))}function u(m){return typeof m==="object"&&m!==null&&m.$$typeof===P}function p(m){var X0={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(e0){return X0[e0]})}function d(m,X0){return typeof m==="object"&&m!==null&&m.key!=null?(j(m.key),p(""+m.key)):X0.toString(36)}function a(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status==="string"?m.then(Z,Z):(m.status="pending",m.then(function(X0){m.status==="pending"&&(m.status="fulfilled",m.value=X0)},function(X0){m.status==="pending"&&(m.status="rejected",m.reason=X0)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function H0(m,X0,e0,S0,N0){var F$=typeof m;if(F$==="undefined"||F$==="boolean")m=null;var x0=!1;if(m===null)x0=!0;else switch(F$){case"bigint":case"string":case"number":x0=!0;break;case"object":switch(m.$$typeof){case P:case S:x0=!0;break;case Q0:return x0=m._init,H0(x0(m._payload),X0,e0,S0,N0)}}if(x0){x0=m,N0=N0(x0);var y0=S0===""?"."+d(x0,0):S0;return n(N0)?(e0="",y0!=null&&(e0=y0.replace(m0,"$&/")+"/"),H0(N0,X0,e0,"",function(o0){return o0})):N0!=null&&(u(N0)&&(N0.key!=null&&(x0&&x0.key===N0.key||j(N0.key)),e0=b(N0,e0+(N0.key==null||x0&&x0.key===N0.key?"":(""+N0.key).replace(m0,"$&/")+"/")+y0),S0!==""&&x0!=null&&u(x0)&&x0.key==null&&x0._store&&!x0._store.validated&&(e0._store.validated=2),N0=e0),X0.push(N0)),1}if(x0=0,y0=S0===""?".":S0+":",n(m))for(var V$=0;V$<m.length;V$++)S0=m[V$],F$=y0+d(S0,V$),x0+=H0(S0,X0,e0,F$,N0);else if(V$=J(m),typeof V$==="function")for(V$===m.entries&&(L$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),L$=!0),m=V$.call(m),V$=0;!(S0=m.next()).done;)S0=S0.value,F$=y0+d(S0,V$++),x0+=H0(S0,X0,e0,F$,N0);else if(F$==="object"){if(typeof m.then==="function")return H0(a(m),X0,e0,S0,N0);throw X0=String(m),Error("Objects are not valid as a React child (found: "+(X0==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":X0)+"). If you meant to render a collection of children, use an array instead.")}return x0}function M0(m,X0,e0){if(m==null)return m;var S0=[],N0=0;return H0(m,S0,"","",function(F$){return X0.call(e0,F$,N0++)}),S0}function q0(m){if(m._status===-1){var X0=m._ioInfo;X0!=null&&(X0.start=X0.end=performance.now()),X0=m._result;var e0=X0();if(e0.then(function(N0){if(m._status===0||m._status===-1){m._status=1,m._result=N0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),e0.status===void 0&&(e0.status="fulfilled",e0.value=N0)}},function(N0){if(m._status===0||m._status===-1){m._status=2,m._result=N0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),e0.status===void 0&&(e0.status="rejected",e0.reason=N0)}}),X0=m._ioInfo,X0!=null){X0.value=e0;var S0=e0.displayName;typeof S0==="string"&&(X0.name=S0)}m._status===-1&&(m._status=0,m._result=e0)}if(m._status===1)return X0=m._result,X0===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,X0),"default"in X0||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'))`,X0),X0.default;throw m._result}function t(){var m=Y0.H;return m===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:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}function T0(){Y0.asyncTransitions--}function G(m){if(c0===null)try{var X0=("require"+Math.random()).slice(0,7);c0=(QO&&QO[X0]).call(QO,"timers").setImmediate}catch(e0){c0=function(S0){i$===!1&&(i$=!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 N0=new MessageChannel;N0.port1.onmessage=S0,N0.port2.postMessage(void 0)}}return c0(m)}function V(m){return 1<m.length&&typeof AggregateError==="function"?AggregateError(m):m[0]}function F(m,X0){X0!==h0-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. "),h0=X0}function W(m,X0,e0){var S0=Y0.actQueue;if(S0!==null)if(S0.length!==0)try{H(S0),G(function(){return W(m,X0,e0)});return}catch(N0){Y0.thrownErrors.push(N0)}else Y0.actQueue=null;0<Y0.thrownErrors.length?(S0=V(Y0.thrownErrors),Y0.thrownErrors.length=0,e0(S0)):X0(m)}function H(m){if(!t0){t0=!0;var X0=0;try{for(;X0<m.length;X0++){var e0=m[X0];do{Y0.didUsePromise=!1;var S0=e0(!1);if(S0!==null){if(Y0.didUsePromise){m[X0]=e0,m.splice(0,X0);return}e0=S0}else break}while(1)}m.length=0}catch(N0){m.splice(0,X0+1),Y0.thrownErrors.push(N0)}finally{t0=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var P=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),N=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),U0=Symbol.for("react.suspense_list"),O0=Symbol.for("react.memo"),Q0=Symbol.for("react.lazy"),s=Symbol.for("react.activity"),e=Symbol.iterator,J0={},Z0={isMounted:function(){return!1},enqueueForceUpdate:function(m){Y(m,"forceUpdate")},enqueueReplaceState:function(m){Y(m,"replaceState")},enqueueSetState:function(m){Y(m,"setState")}},A0=Object.assign,$0={};Object.freeze($0),K.prototype.isReactComponent={},K.prototype.setState=function(m,X0){if(typeof m!=="object"&&typeof m!=="function"&&m!=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,m,X0,"setState")},K.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};var h={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(RU in h)h.hasOwnProperty(RU)&&I(RU,h[RU]);X.prototype=K.prototype,h=O.prototype=new X,h.constructor=O,A0(h,K.prototype),h.isPureReactComponent=!0;var n=Array.isArray,F0=Symbol.for("react.client.reference"),Y0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},W0=Object.prototype.hasOwnProperty,v0=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(m){return m()}};var I0,K0,I$={},L0=h.react_stack_bottom_frame.bind(h,_)(),B0=v0(E(_)),L$=!1,m0=/\/+/g,p0=typeof reportError==="function"?reportError:function(m){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X0=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m==="object"&&m!==null&&typeof m.message==="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(X0))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",m);return}console.error(m)},i$=!1,c0=null,h0=0,QU=!1,t0=!1,i0=typeof queueMicrotask==="function"?function(m){queueMicrotask(function(){return queueMicrotask(m)})}:G;h=Object.freeze({__proto__:null,c:function(m){return t().useMemoCache(m)}});var RU={map:M0,forEach:function(m,X0,e0){M0(m,function(){X0.apply(this,arguments)},e0)},count:function(m){var X0=0;return M0(m,function(){X0++}),X0},toArray:function(m){return M0(m,function(X0){return X0})||[]},only:function(m){if(!u(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};kx.Activity=s,kx.Children=RU,kx.Component=K,kx.Fragment=A,kx.Profiler=T,kx.PureComponent=O,kx.StrictMode=z,kx.Suspense=r,kx.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y0,kx.__COMPILER_RUNTIME=h,kx.act=function(m){var X0=Y0.actQueue,e0=h0;h0++;var S0=Y0.actQueue=X0!==null?X0:[],N0=!1;try{var F$=m()}catch(V$){Y0.thrownErrors.push(V$)}if(0<Y0.thrownErrors.length)throw F(X0,e0),m=V(Y0.thrownErrors),Y0.thrownErrors.length=0,m;if(F$!==null&&typeof F$==="object"&&typeof F$.then==="function"){var x0=F$;return i0(function(){N0||QU||(QU=!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(V$,o0){N0=!0,x0.then(function(r0){if(F(X0,e0),e0===0){try{H(S0),G(function(){return W(r0,V$,o0)})}catch(s0){Y0.thrownErrors.push(s0)}if(0<Y0.thrownErrors.length){var WU=V(Y0.thrownErrors);Y0.thrownErrors.length=0,o0(WU)}}else V$(r0)},function(r0){F(X0,e0),0<Y0.thrownErrors.length?(r0=V(Y0.thrownErrors),Y0.thrownErrors.length=0,o0(r0)):o0(r0)})}}}var y0=F$;if(F(X0,e0),e0===0&&(H(S0),S0.length!==0&&i0(function(){N0||QU||(QU=!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(() => ...)"))}),Y0.actQueue=null),0<Y0.thrownErrors.length)throw m=V(Y0.thrownErrors),Y0.thrownErrors.length=0,m;return{then:function(V$,o0){N0=!0,e0===0?(Y0.actQueue=S0,G(function(){return W(y0,V$,o0)})):V$(y0)}}},kx.cache=function(m){return function(){return m.apply(null,arguments)}},kx.cacheSignal=function(){return null},kx.captureOwnerStack=function(){var m=Y0.getCurrentStack;return m===null?null:m()},kx.cloneElement=function(m,X0,e0){if(m===null||m===void 0)throw Error("The argument must be a React element, but you passed "+m+".");var S0=A0({},m.props),N0=m.key,F$=m._owner;if(X0!=null){var x0;$:{if(W0.call(X0,"ref")&&(x0=Object.getOwnPropertyDescriptor(X0,"ref").get)&&x0.isReactWarning){x0=!1;break $}x0=X0.ref!==void 0}x0&&(F$=C()),B(X0)&&(j(X0.key),N0=""+X0.key);for(y0 in X0)!W0.call(X0,y0)||y0==="key"||y0==="__self"||y0==="__source"||y0==="ref"&&X0.ref===void 0||(S0[y0]=X0[y0])}var y0=arguments.length-2;if(y0===1)S0.children=e0;else if(1<y0){x0=Array(y0);for(var V$=0;V$<y0;V$++)x0[V$]=arguments[V$+2];S0.children=x0}S0=w(m.type,N0,S0,F$,m._debugStack,m._debugTask);for(N0=2;N0<arguments.length;N0++)x(arguments[N0]);return S0},kx.createContext=function(m){return m={$$typeof:N,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:g,_context:m},m._currentRenderer=null,m._currentRenderer2=null,m},kx.createElement=function(m,X0,e0){for(var S0=2;S0<arguments.length;S0++)x(arguments[S0]);S0={};var N0=null;if(X0!=null)for(V$ in K0||!("__self"in X0)||"key"in X0||(K0=!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")),B(X0)&&(j(X0.key),N0=""+X0.key),X0)W0.call(X0,V$)&&V$!=="key"&&V$!=="__self"&&V$!=="__source"&&(S0[V$]=X0[V$]);var F$=arguments.length-2;if(F$===1)S0.children=e0;else if(1<F$){for(var x0=Array(F$),y0=0;y0<F$;y0++)x0[y0]=arguments[y0+2];Object.freeze&&Object.freeze(x0),S0.children=x0}if(m&&m.defaultProps)for(V$ in F$=m.defaultProps,F$)S0[V$]===void 0&&(S0[V$]=F$[V$]);N0&&v(S0,typeof m==="function"?m.displayName||m.name||"Unknown":m);var V$=1e4>Y0.recentlyCreatedOwnerStacks++;return w(m,N0,S0,C(),V$?Error("react-stack-top-frame"):L0,V$?v0(E(m)):B0)},kx.createRef=function(){var m={current:null};return Object.seal(m),m},kx.forwardRef=function(m){m!=null&&m.$$typeof===O0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!=="function"?console.error("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",m.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),m!=null&&m.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var X0={$$typeof:c,render:m},e0;return Object.defineProperty(X0,"displayName",{enumerable:!1,configurable:!0,get:function(){return e0},set:function(S0){e0=S0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:S0}),m.displayName=S0)}}),X0},kx.isValidElement=u,kx.lazy=function(m){m={_status:-1,_result:m};var X0={$$typeof:Q0,_payload:m,_init:q0},e0={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return m._ioInfo=e0,X0._debugInfo=[{awaited:e0}],X0},kx.memo=function(m,X0){m==null&&console.error("memo: The first argument must be a component. Instead received: %s",m===null?"null":typeof m),X0={$$typeof:O0,type:m,compare:X0===void 0?null:X0};var e0;return Object.defineProperty(X0,"displayName",{enumerable:!1,configurable:!0,get:function(){return e0},set:function(S0){e0=S0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:S0}),m.displayName=S0)}}),X0},kx.startTransition=function(m){var X0=Y0.T,e0={};e0._updatedFibers=new Set,Y0.T=e0;try{var S0=m(),N0=Y0.S;N0!==null&&N0(e0,S0),typeof S0==="object"&&S0!==null&&typeof S0.then==="function"&&(Y0.asyncTransitions++,S0.then(T0,T0),S0.then(Z,p0))}catch(F$){p0(F$)}finally{X0===null&&e0._updatedFibers&&(m=e0._updatedFibers.size,e0._updatedFibers.clear(),10<m&&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.")),X0!==null&&e0.types!==null&&(X0.types!==null&&X0.types!==e0.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."),X0.types=e0.types),Y0.T=X0}},kx.unstable_useCacheRefresh=function(){return t().useCacheRefresh()},kx.use=function(m){return t().use(m)},kx.useActionState=function(m,X0,e0){return t().useActionState(m,X0,e0)},kx.useCallback=function(m,X0){return t().useCallback(m,X0)},kx.useContext=function(m){var X0=t();return m.$$typeof===g&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),X0.useContext(m)},kx.useDebugValue=function(m,X0){return t().useDebugValue(m,X0)},kx.useDeferredValue=function(m,X0){return t().useDeferredValue(m,X0)},kx.useEffect=function(m,X0){return m==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useEffect(m,X0)},kx.useEffectEvent=function(m){return t().useEffectEvent(m)},kx.useId=function(){return t().useId()},kx.useImperativeHandle=function(m,X0,e0){return t().useImperativeHandle(m,X0,e0)},kx.useInsertionEffect=function(m,X0){return m==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useInsertionEffect(m,X0)},kx.useLayoutEffect=function(m,X0){return m==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useLayoutEffect(m,X0)},kx.useMemo=function(m,X0){return t().useMemo(m,X0)},kx.useOptimistic=function(m,X0){return t().useOptimistic(m,X0)},kx.useReducer=function(m,X0,e0){return t().useReducer(m,X0,e0)},kx.useRef=function(m){return t().useRef(m)},kx.useState=function(m){return t().useState(m)},kx.useSyncExternalStore=function(m,X0,e0){return t().useSyncExternalStore(m,X0,e0)},kx.useTransition=function(){return t().useTransition()},kx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var _q=ZI((xx)=>{(function(){function I(){if(p=!1,M0){var W=xx.unstable_now();T0=W;var H=!0;try{$:{x=!1,u&&(u=!1,a(q0),q0=-1),b=!0;var P=w;try{U:{O(W);for(y=Y(_);y!==null&&!(y.expirationTime>W&&M());){var S=y.callback;if(typeof S==="function"){y.callback=null,w=y.priorityLevel;var A=S(y.expirationTime<=W);if(W=xx.unstable_now(),typeof A==="function"){y.callback=A,O(W),H=!0;break U}y===Y(_)&&K(_),O(W)}else K(_);y=Y(_)}if(y!==null)H=!0;else{var z=Y(B);z!==null&&j(Z,z.startTime-W),H=!1}}break $}finally{y=null,w=P,b=!1}H=void 0}}finally{H?G():M0=!1}}}function J(W,H){var P=W.length;W.push(H);$:for(;0<P;){var S=P-1>>>1,A=W[S];if(0<X(A,H))W[S]=H,W[P]=A,P=S;else break $}}function Y(W){return W.length===0?null:W[0]}function K(W){if(W.length===0)return null;var H=W[0],P=W.pop();if(P!==H){W[0]=P;$:for(var S=0,A=W.length,z=A>>>1;S<z;){var T=2*(S+1)-1,g=W[T],N=T+1,c=W[N];if(0>X(g,P))N<A&&0>X(c,g)?(W[S]=c,W[N]=P,S=N):(W[S]=g,W[T]=P,S=T);else if(N<A&&0>X(c,P))W[S]=c,W[N]=P,S=N;else break $}}return H}function X(W,H){var P=W.sortIndex-H.sortIndex;return P!==0?P:W.id-H.id}function O(W){for(var H=Y(B);H!==null;){if(H.callback===null)K(B);else if(H.startTime<=W)K(B),H.sortIndex=H.expirationTime,J(_,H);else break;H=Y(B)}}function Z(W){if(u=!1,O(W),!x)if(Y(_)!==null)x=!0,M0||(M0=!0,G());else{var H=Y(B);H!==null&&j(Z,H.startTime-W)}}function M(){return p?!0:xx.unstable_now()-T0<t?!1:!0}function j(W,H){q0=d(function(){W(xx.unstable_now())},H)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),xx.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var q=performance;xx.unstable_now=function(){return q.now()}}else{var E=Date,C=E.now();xx.unstable_now=function(){return E.now()-C}}var _=[],B=[],v=1,y=null,w=3,b=!1,x=!1,u=!1,p=!1,d=typeof setTimeout==="function"?setTimeout:null,a=typeof clearTimeout==="function"?clearTimeout:null,H0=typeof setImmediate<"u"?setImmediate:null,M0=!1,q0=-1,t=5,T0=-1;if(typeof H0==="function")var G=function(){H0(I)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,F=V.port2;V.port1.onmessage=I,G=function(){F.postMessage(null)}}else G=function(){d(I,0)};xx.unstable_IdlePriority=5,xx.unstable_ImmediatePriority=1,xx.unstable_LowPriority=4,xx.unstable_NormalPriority=3,xx.unstable_Profiling=null,xx.unstable_UserBlockingPriority=2,xx.unstable_cancelCallback=function(W){W.callback=null},xx.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):t=0<W?Math.floor(1000/W):5},xx.unstable_getCurrentPriorityLevel=function(){return w},xx.unstable_next=function(W){switch(w){case 1:case 2:case 3:var H=3;break;default:H=w}var P=w;w=H;try{return W()}finally{w=P}},xx.unstable_requestPaint=function(){p=!0},xx.unstable_runWithPriority=function(W,H){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var P=w;w=W;try{return H()}finally{w=P}},xx.unstable_scheduleCallback=function(W,H,P){var S=xx.unstable_now();switch(typeof P==="object"&&P!==null?(P=P.delay,P=typeof P==="number"&&0<P?S+P:S):P=S,W){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5000}return A=P+A,W={id:v++,callback:H,priorityLevel:W,startTime:P,expirationTime:A,sortIndex:-1},P>S?(W.sortIndex=P,J(B,W),Y(_)===null&&W===Y(B)&&(u?(a(q0),q0=-1):u=!0,j(Z,P-S))):(W.sortIndex=A,J(_,W),x||b||(x=!0,M0||(M0=!0,G()))),W},xx.unstable_shouldYield=M,xx.unstable_wrapCallback=function(W){var H=w;return function(){var P=w;w=H;try{return W.apply(this,arguments)}finally{w=P}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var qq=ZI((gx)=>{var fV=w4(nG());(function(){function I(){}function J(E){return""+E}function Y(E,C,_){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(B);var v=!1}catch(y){v=!0}return v&&(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&&B[Symbol.toStringTag]||B.constructor.name||"Object"),J(B)),{$$typeof:j,key:B==null?null:""+B,children:E,containerInfo:C,implementation:_}}function K(E,C){if(E==="font")return"";if(typeof C==="string")return C==="use-credentials"?C:""}function X(E){return E===null?"`null`":E===void 0?"`undefined`":E===""?"an empty string":'something with type "'+typeof E+'"'}function O(E){return E===null?"`null`":E===void 0?"`undefined`":E===""?"an empty string":typeof E==="string"?JSON.stringify(E):typeof E==="number"?"`"+E+"`":'something with type "'+typeof E+'"'}function Z(){var E=q.H;return E===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:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),E}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var M={d:{f:I,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:I,C:I,L:I,m:I,X:I,S:I,M:I},p:0,findDOMNode:null},j=Symbol.for("react.portal"),q=fV.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),gx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,gx.createPortal=function(E,C){var _=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error("Target container is not a DOM element.");return Y(E,C,null,_)},gx.flushSync=function(E){var C=q.T,_=M.p;try{if(q.T=null,M.p=2,E)return E()}finally{q.T=C,M.p=_,M.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},gx.preconnect=function(E,C){typeof E==="string"&&E?C!=null&&typeof C!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",O(C)):C!=null&&typeof C.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",X(C.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(E)),typeof E==="string"&&(C?(C=C.crossOrigin,C=typeof C==="string"?C==="use-credentials"?C:"":void 0):C=null,M.d.C(E,C))},gx.prefetchDNS=function(E){if(typeof E!=="string"||!E)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(E));else if(1<arguments.length){var C=arguments[1];typeof C==="object"&&C.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",O(C)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",O(C))}typeof E==="string"&&M.d.D(E)},gx.preinit=function(E,C){if(typeof E==="string"&&E?C==null||typeof C!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",O(C)):C.as!=="style"&&C.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',O(C.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(E)),typeof E==="string"&&C&&typeof C.as==="string"){var _=C.as,B=K(_,C.crossOrigin),v=typeof C.integrity==="string"?C.integrity:void 0,y=typeof C.fetchPriority==="string"?C.fetchPriority:void 0;_==="style"?M.d.S(E,typeof C.precedence==="string"?C.precedence:void 0,{crossOrigin:B,integrity:v,fetchPriority:y}):_==="script"&&M.d.X(E,{crossOrigin:B,integrity:v,fetchPriority:y,nonce:typeof C.nonce==="string"?C.nonce:void 0})}},gx.preinitModule=function(E,C){var _="";if(typeof E==="string"&&E||(_+=" The `href` argument encountered was "+X(E)+"."),C!==void 0&&typeof C!=="object"?_+=" The `options` argument encountered was "+X(C)+".":C&&("as"in C)&&C.as!=="script"&&(_+=" The `as` option encountered was "+O(C.as)+"."),_)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",_);else switch(_=C&&typeof C.as==="string"?C.as:"script",_){case"script":break;default:_=O(_),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',_,E)}if(typeof E==="string")if(typeof C==="object"&&C!==null){if(C.as==null||C.as==="script")_=K(C.as,C.crossOrigin),M.d.M(E,{crossOrigin:_,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0})}else C==null&&M.d.M(E)},gx.preload=function(E,C){var _="";if(typeof E==="string"&&E||(_+=" The `href` argument encountered was "+X(E)+"."),C==null||typeof C!=="object"?_+=" The `options` argument encountered was "+X(C)+".":typeof C.as==="string"&&C.as||(_+=" The `as` option encountered was "+X(C.as)+"."),_&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',_),typeof E==="string"&&typeof C==="object"&&C!==null&&typeof C.as==="string"){_=C.as;var B=K(_,C.crossOrigin);M.d.L(E,_,{crossOrigin:B,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0,type:typeof C.type==="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority==="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy==="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet==="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes==="string"?C.imageSizes:void 0,media:typeof C.media==="string"?C.media:void 0})}},gx.preloadModule=function(E,C){var _="";typeof E==="string"&&E||(_+=" The `href` argument encountered was "+X(E)+"."),C!==void 0&&typeof C!=="object"?_+=" The `options` argument encountered was "+X(C)+".":C&&("as"in C)&&typeof C.as!=="string"&&(_+=" The `as` option encountered was "+X(C.as)+"."),_&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',_),typeof E==="string"&&(C?(_=K(C.as,C.crossOrigin),M.d.m(E,{as:typeof C.as==="string"&&C.as!=="script"?C.as:void 0,crossOrigin:_,integrity:typeof C.integrity==="string"?C.integrity:void 0})):M.d.m(E))},gx.requestFormReset=function(E){M.d.r(E)},gx.unstable_batchedUpdates=function(E,C){return E(C)},gx.useFormState=function(E,C,_){return Z().useFormState(E,C,_)},gx.useFormStatus=function(){return Z().useHostTransitionStatus()},gx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Sq=ZI((dl,Eq)=>{var wx=w4(qq());Eq.exports=wx});var jq=ZI((fx)=>{var o$=w4(_q()),TQ=w4(nG()),yV=w4(Sq());(function(){function I($,U){for($=$.memoizedState;$!==null&&0<U;)$=$.next,U--;return $}function J($,U,Q,D){if(Q>=U.length)return D;var L=U[Q],R=Y6($)?$.slice():y$({},$);return R[L]=J($[L],U,Q+1,D),R}function Y($,U,Q){if(U.length!==Q.length)console.warn("copyWithRename() expects paths of the same length");else{for(var D=0;D<Q.length-1;D++)if(U[D]!==Q[D]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return K($,U,Q,0)}}function K($,U,Q,D){var L=U[D],R=Y6($)?$.slice():y$({},$);return D+1===U.length?(R[Q[D]]=R[L],Y6(R)?R.splice(L,1):delete R[L]):R[L]=K($[L],U,Q,D+1),R}function X($,U,Q){var D=U[Q],L=Y6($)?$.slice():y$({},$);if(Q+1===U.length)return Y6(L)?L.splice(D,1):delete L[D],L;return L[D]=X($[D],U,Q+1),L}function O(){return!1}function Z(){return null}function M(){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 E(){}function C($){var U=[];return $.forEach(function(Q){U.push(Q)}),U.sort().join(", ")}function _($,U,Q,D){return new Vv($,U,Q,D)}function B($,U){$.context===wI&&(I9($.current,2,U,$,null,null),vJ())}function v($,U){if(q4!==null){var Q=U.staleFamilies;U=U.updatedFamilies,cY(),EA($.current,U,Q),vJ()}}function y($){q4=$}function w($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function b($){var U=$,Q=$;if($.alternate)for(;U.return;)U=U.return;else{$=U;do U=$,(U.flags&4098)!==0&&(Q=U.return),$=U.return;while($)}return U.tag===3?Q:null}function x($){if($.tag===13){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function u($){if($.tag===31){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function p($){if(b($)!==$)throw Error("Unable to find node on an unmounted component.")}function d($){var U=$.alternate;if(!U){if(U=b($),U===null)throw Error("Unable to find node on an unmounted component.");return U!==$?null:$}for(var Q=$,D=U;;){var L=Q.return;if(L===null)break;var R=L.alternate;if(R===null){if(D=L.return,D!==null){Q=D;continue}break}if(L.child===R.child){for(R=L.child;R;){if(R===Q)return p(L),$;if(R===D)return p(L),U;R=R.sibling}throw Error("Unable to find node on an unmounted component.")}if(Q.return!==D.return)Q=L,D=R;else{for(var k=!1,f=L.child;f;){if(f===Q){k=!0,Q=L,D=R;break}if(f===D){k=!0,D=L,Q=R;break}f=f.sibling}if(!k){for(f=R.child;f;){if(f===Q){k=!0,Q=R,D=L;break}if(f===D){k=!0,D=R,Q=L;break}f=f.sibling}if(!k)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(Q.alternate!==D)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(Q.tag!==3)throw Error("Unable to find node on an unmounted component.");return Q.stateNode.current===Q?$:U}function a($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $;for($=$.child;$!==null;){if(U=a($),U!==null)return U;$=$.sibling}return null}function H0($){if($===null||typeof $!=="object")return null;return $=xP&&$[xP]||$["@@iterator"],typeof $==="function"?$:null}function M0($){if($==null)return null;if(typeof $==="function")return $.$$typeof===g3?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case uJ:return"Fragment";case Z9:return"Profiler";case eZ:return"StrictMode";case O9:return"Suspense";case K9:return"SuspenseList";case W9:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case yJ:return"Portal";case F1:return $.displayName||"Context";case z9:return($._context.displayName||"Context")+".Consumer";case tY:var U=$.render;return $=$.displayName,$||($=U.displayName||U.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case $z:return U=$.displayName||null,U!==null?U:M0($.type)||"Memo";case G4:U=$._payload,$=$._init;try{return M0($(U))}catch(Q){}}return null}function q0($){return typeof $.tag==="number"?t($):typeof $.name==="string"?$.name:null}function t($){var U=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(U._context.displayName||"Context")+".Consumer";case 10:return U.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=U.render,$=$.displayName||$.name||"",U.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return U;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return M0(U);case 8:return U===eZ?"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 U==="function")return U.displayName||U.name||null;if(typeof U==="string")return U;break;case 29:if(U=$._debugInfo,U!=null){for(var Q=U.length-1;0<=Q;Q--)if(typeof U[Q].name==="string")return U[Q].name}if($.return!==null)return t($.return)}return null}function T0($){return{current:$}}function G($,U){0>d1?console.error("Unexpected pop."):(U!==D9[d1]&&console.error("Unexpected Fiber popped."),$.current=V9[d1],V9[d1]=null,D9[d1]=null,d1--)}function V($,U,Q){d1++,V9[d1]=$.current,D9[d1]=Q,$.current=U}function F($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function W($,U){V(BI,U,$),V(aY,$,$),V(jI,null,$);var Q=U.nodeType;switch(Q){case 9:case 11:Q=Q===9?"#document":"#fragment",U=(U=U.documentElement)?(U=U.namespaceURI)?XP(U):QI:QI;break;default:if(Q=U.tagName,U=U.namespaceURI)U=XP(U),U=JP(U,Q);else switch(Q){case"svg":U=LQ;break;case"math":U=sz;break;default:U=QI}}Q=Q.toLowerCase(),Q=a7(null,Q),Q={context:U,ancestorInfo:Q},G(jI,$),V(jI,Q,$)}function H($){G(jI,$),G(aY,$),G(BI,$)}function P(){return F(jI.current)}function S($){$.memoizedState!==null&&V(Uz,$,$);var U=F(jI.current),Q=$.type,D=JP(U.context,Q);Q=a7(U.ancestorInfo,Q),D={context:D,ancestorInfo:Q},U!==D&&(V(aY,$,$),V(jI,D,$))}function A($){aY.current===$&&(G(jI,$),G(aY,$)),Uz.current===$&&(G(Uz,$),pG._currentValue=sX)}function z(){}function T(){if(sY===0){gP=console.log,wP=console.info,fP=console.warn,yP=console.error,uP=console.group,bP=console.groupCollapsed,cP=console.groupEnd;var $={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}sY++}function g(){if(sY--,sY===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y$({},$,{value:gP}),info:y$({},$,{value:wP}),warn:y$({},$,{value:fP}),error:y$({},$,{value:yP}),group:y$({},$,{value:uP}),groupCollapsed:y$({},$,{value:bP}),groupEnd:y$({},$,{value:cP})})}0>sY&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function N($){var U=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=U,$.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&($=$.slice(29)),U=$.indexOf(`
|
|
19
|
+
`),U!==-1&&($=$.slice(U+1)),U=$.indexOf("react_stack_bottom_frame"),U!==-1&&(U=$.lastIndexOf(`
|
|
20
|
+
`,U)),U!==-1)$=$.slice(0,U);else return"";return $}function c($){if(H9===void 0)try{throw Error()}catch(Q){var U=Q.stack.trim().match(/\n( *(at )?)/);H9=U&&U[1]||"",hP=-1<Q.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<Q.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+H9+$+hP}function r($,U){if(!$||F9)return"";var Q=M9.get($);if(Q!==void 0)return Q;F9=!0,Q=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var D=null;D=u0.H,u0.H=null,T();try{var L={DetermineComponentFrameRoot:function(){try{if(U){var V0=function(){throw Error()};if(Object.defineProperty(V0.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(V0,[])}catch(K$){var k0=K$}Reflect.construct($,[],V0)}else{try{V0.call()}catch(K$){k0=K$}$.call(V0.prototype)}}else{try{throw Error()}catch(K$){k0=K$}(V0=$())&&typeof V0.catch==="function"&&V0.catch(function(){})}}catch(K$){if(K$&&k0&&typeof K$.stack==="string")return[K$.stack,k0.stack]}return[null,null]}};L.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var R=Object.getOwnPropertyDescriptor(L.DetermineComponentFrameRoot,"name");R&&R.configurable&&Object.defineProperty(L.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var k=L.DetermineComponentFrameRoot(),f=k[0],l=k[1];if(f&&l){var o=f.split(`
|
|
23
|
+
`),P0=l.split(`
|
|
24
|
+
`);for(k=R=0;R<o.length&&!o[R].includes("DetermineComponentFrameRoot");)R++;for(;k<P0.length&&!P0[k].includes("DetermineComponentFrameRoot");)k++;if(R===o.length||k===P0.length)for(R=o.length-1,k=P0.length-1;1<=R&&0<=k&&o[R]!==P0[k];)k--;for(;1<=R&&0<=k;R--,k--)if(o[R]!==P0[k]){if(R!==1||k!==1)do if(R--,k--,0>k||o[R]!==P0[k]){var R0=`
|
|
25
|
+
`+o[R].replace(" at new "," at ");return $.displayName&&R0.includes("<anonymous>")&&(R0=R0.replace("<anonymous>",$.displayName)),typeof $==="function"&&M9.set($,R0),R0}while(1<=R&&0<=k);break}}}finally{F9=!1,u0.H=D,g(),Error.prepareStackTrace=Q}return o=(o=$?$.displayName||$.name:"")?c(o):"",typeof $==="function"&&M9.set($,o),o}function U0($,U){switch($.tag){case 26:case 27:case 5:return c($.type);case 16:return c("Lazy");case 13:return $.child!==U&&U!==null?c("Suspense Fallback"):c("Suspense");case 19:return c("SuspenseList");case 0:case 15:return r($.type,!1);case 11:return r($.type.render,!1);case 1:return r($.type,!0);case 31:return c("Activity");default:return""}}function O0($){try{var U="",Q=null;do{U+=U0($,Q);var D=$._debugInfo;if(D)for(var L=D.length-1;0<=L;L--){var R=D[L];if(typeof R.name==="string"){var k=U;$:{var{name:f,env:l,debugLocation:o}=R;if(o!=null){var P0=N(o),R0=P0.lastIndexOf(`
|
|
26
|
+
`),V0=R0===-1?P0:P0.slice(R0+1);if(V0.indexOf(f)!==-1){var k0=`
|
|
27
|
+
`+V0;break $}}k0=c(f+(l?" ["+l+"]":""))}U=k+k0}}Q=$,$=$.return}while($);return U}catch(K$){return`
|
|
28
|
+
Error generating stack: `+K$.message+`
|
|
29
|
+
`+K$.stack}}function Q0($){return($=$?$.displayName||$.name:"")?c($):""}function s(){if(Z4===null)return null;var $=Z4._debugOwner;return $!=null?q0($):null}function e(){if(Z4===null)return"";var $=Z4;try{var U="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:U+=c($.type);break;case 13:U+=c("Suspense");break;case 19:U+=c("SuspenseList");break;case 31:U+=c("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||U!==""||(U+=Q0($.type));break;case 11:$._debugOwner||U!==""||(U+=Q0($.type.render))}for(;$;)if(typeof $.tag==="number"){var Q=$;$=Q._debugOwner;var D=Q._debugStack;if($&&D){var L=N(D);L!==""&&(U+=`
|
|
30
|
+
`+L)}}else if($.debugStack!=null){var R=$.debugStack;($=$.owner)&&R&&(U+=`
|
|
31
|
+
`+N(R))}else break;var k=U}catch(f){k=`
|
|
32
|
+
Error generating stack: `+f.message+`
|
|
33
|
+
`+f.stack}return k}function J0($,U,Q,D,L,R,k){var f=Z4;Z0($);try{return $!==null&&$._debugTask?$._debugTask.run(U.bind(null,Q,D,L,R,k)):U(Q,D,L,R,k)}finally{Z0(f)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Z0($){u0.getCurrentStack=$===null?null:e,M1=!1,Z4=$}function A0($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function $0($){try{return h($),!1}catch(U){return!0}}function h($){return""+$}function n($,U){if($0($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),h($)}function F0($,U){if($0($))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),h($)}function Y0($){if($0($))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",A0($)),h($)}function W0($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var U=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(U.isDisabled)return!0;if(!U.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{cJ=U.inject($),P6=U}catch(Q){console.error("React instrumentation encountered an error: %o.",Q)}return U.checkDCE?!0:!1}function v0($){if(typeof h3==="function"&&p3($),P6&&typeof P6.setStrictMode==="function")try{P6.setStrictMode(cJ,$)}catch(U){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",U))}}function I0($){return $>>>=0,$===0?32:31-(m3($)/l3|0)|0}function K0($){var U=$&42;if(U!==0)return U;switch($&-$){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:return $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&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."),$}}function I$($,U,Q){var D=$.pendingLanes;if(D===0)return 0;var L=0,R=$.suspendedLanes,k=$.pingedLanes;$=$.warmLanes;var f=D&134217727;return f!==0?(D=f&~R,D!==0?L=K0(D):(k&=f,k!==0?L=K0(k):Q||(Q=f&~$,Q!==0&&(L=K0(Q))))):(f=D&~R,f!==0?L=K0(f):k!==0?L=K0(k):Q||(Q=D&~$,Q!==0&&(L=K0(Q)))),L===0?0:U!==0&&U!==L&&(U&R)===0&&(R=L&-L,Q=U&-U,R>=Q||R===32&&(Q&4194048)!==0)?U:L}function L0($,U){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&U)===0}function B0($,U){switch($){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+5000;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 L$(){var $=Jz;return Jz<<=1,(Jz&62914560)===0&&(Jz=4194304),$}function m0($){for(var U=[],Q=0;31>Q;Q++)U.push($);return U}function p0($,U){$.pendingLanes|=U,U!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function i$($,U,Q,D,L,R){var k=$.pendingLanes;$.pendingLanes=Q,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=Q,$.entangledLanes&=Q,$.errorRecoveryDisabledLanes&=Q,$.shellSuspendCounter=0;var{entanglements:f,expirationTimes:l,hiddenUpdates:o}=$;for(Q=k&~Q;0<Q;){var P0=31-E6(Q),R0=1<<P0;f[P0]=0,l[P0]=-1;var V0=o[P0];if(V0!==null)for(o[P0]=null,P0=0;P0<V0.length;P0++){var k0=V0[P0];k0!==null&&(k0.lane&=-536870913)}Q&=~R0}D!==0&&c0($,D,0),R!==0&&L===0&&$.tag!==0&&($.suspendedLanes|=R&~(k&~U))}function c0($,U,Q){$.pendingLanes|=U,$.suspendedLanes&=~U;var D=31-E6(U);$.entangledLanes|=U,$.entanglements[D]=$.entanglements[D]|1073741824|Q&261930}function h0($,U){var Q=$.entangledLanes|=U;for($=$.entanglements;Q;){var D=31-E6(Q),L=1<<D;L&U|$[D]&U&&($[D]|=U),Q&=~L}}function QU($,U){var Q=U&-U;return Q=(Q&42)!==0?1:t0(Q),(Q&($.suspendedLanes|U))!==0?0:Q}function t0($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=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:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function i0($,U,Q){if(A1)for($=$.pendingUpdatersLaneMap;0<Q;){var D=31-E6(Q),L=1<<D;$[D].add(U),Q&=~L}}function RU($,U){if(A1)for(var{pendingUpdatersLaneMap:Q,memoizedUpdaters:D}=$;0<U;){var L=31-E6(U);$=1<<L,L=Q[L],0<L.size&&(L.forEach(function(R){var k=R.alternate;k!==null&&D.has(k)||D.add(R)}),L.clear()),U&=~$}}function m($){return $&=-$,z4!==0&&z4<$?m4!==0&&m4<$?($&134217727)!==0?C1:Qz:m4:z4}function X0(){var $=s$.p;if($!==0)return $;return $=window.event,$===void 0?C1:EP($.type)}function e0($,U){var Q=s$.p;try{return s$.p=$,U()}finally{s$.p=Q}}function S0($){delete $[L6],delete $[S6],delete $[P9],delete $[d3],delete $[n3]}function N0($){var U=$[L6];if(U)return U;for(var Q=$.parentNode;Q;){if(U=Q[vI]||Q[L6]){if(Q=U.alternate,U.child!==null||Q!==null&&Q.child!==null)for($=WP($);$!==null;){if(Q=$[L6])return Q;$=WP($)}return U}$=Q,Q=$.parentNode}return null}function F$($){if($=$[L6]||$[vI]){var U=$.tag;if(U===5||U===6||U===13||U===31||U===26||U===27||U===3)return $}return null}function x0($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function y0($){var U=$[pP];return U||(U=$[pP]={hoistableStyles:new Map,hoistableScripts:new Map}),U}function V$($){$[eY]=!0}function o0($,U){r0($,U),r0($+"Capture",U)}function r0($,U){NX[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),NX[$]=U;var Q=$.toLowerCase();R9[Q]=$,$==="onDoubleClick"&&(R9.ondblclick=$);for($=0;$<U.length;$++)mP.add(U[$])}function WU($,U){o3[U.type]||U.onChange||U.onInput||U.readOnly||U.disabled||U.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),U.onChange||U.readOnly||U.disabled||U.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function s0($){if(p4.call(dP,$))return!0;if(p4.call(lP,$))return!1;if(i3.test($))return dP[$]=!0;return lP[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function i($,U,Q){if(s0(U)){if(!$.hasAttribute(U)){switch(typeof Q){case"symbol":case"object":return Q;case"function":return Q;case"boolean":if(Q===!1)return Q}return Q===void 0?void 0:null}if($=$.getAttribute(U),$===""&&Q===!0)return!0;return n(Q,U),$===""+Q?Q:$}}function G0($,U,Q){if(s0(U))if(Q===null)$.removeAttribute(U);else{switch(typeof Q){case"undefined":case"function":case"symbol":$.removeAttribute(U);return;case"boolean":var D=U.toLowerCase().slice(0,5);if(D!=="data-"&&D!=="aria-"){$.removeAttribute(U);return}}n(Q,U),$.setAttribute(U,""+Q)}}function _0($,U,Q){if(Q===null)$.removeAttribute(U);else{switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(U);return}n(Q,U),$.setAttribute(U,""+Q)}}function E0($,U,Q,D){if(D===null)$.removeAttribute(Q);else{switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Q);return}n(D,Q),$.setAttributeNS(U,Q,""+D)}}function O$($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return Y0($),$;default:return""}}function n0($){var U=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(U==="checkbox"||U==="radio")}function a0($,U,Q){var D=Object.getOwnPropertyDescriptor($.constructor.prototype,U);if(!$.hasOwnProperty(U)&&typeof D<"u"&&typeof D.get==="function"&&typeof D.set==="function"){var{get:L,set:R}=D;return Object.defineProperty($,U,{configurable:!0,get:function(){return L.call(this)},set:function(k){Y0(k),Q=""+k,R.call(this,k)}}),Object.defineProperty($,U,{enumerable:D.enumerable}),{getValue:function(){return Q},setValue:function(k){Y0(k),Q=""+k},stopTracking:function(){$._valueTracker=null,delete $[U]}}}}function MU($){if(!$._valueTracker){var U=n0($)?"checked":"value";$._valueTracker=a0($,U,""+$[U])}}function X$($){if(!$)return!1;var U=$._valueTracker;if(!U)return!0;var Q=U.getValue(),D="";return $&&(D=n0($)?$.checked?"true":"false":$.value),$=D,$!==Q?(U.setValue($),!0):!1}function U$($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(U){return $.body}}function e$($){return $.replace(r3,function(U){return"\\"+U.charCodeAt(0).toString(16)+" "})}function J$($,U){U.checked===void 0||U.defaultChecked===void 0||oP||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),oP=!0),U.value===void 0||U.defaultValue===void 0||nP||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),nP=!0)}function $$($,U,Q,D,L,R,k,f){if($.name="",k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"?(n(k,"type"),$.type=k):$.removeAttribute("type"),U!=null)if(k==="number"){if(U===0&&$.value===""||$.value!=U)$.value=""+O$(U)}else $.value!==""+O$(U)&&($.value=""+O$(U));else k!=="submit"&&k!=="reset"||$.removeAttribute("value");U!=null?B$($,k,O$(U)):Q!=null?B$($,k,O$(Q)):D!=null&&$.removeAttribute("value"),L==null&&R!=null&&($.defaultChecked=!!R),L!=null&&($.checked=L&&typeof L!=="function"&&typeof L!=="symbol"),f!=null&&typeof f!=="function"&&typeof f!=="symbol"&&typeof f!=="boolean"?(n(f,"name"),$.name=""+O$(f)):$.removeAttribute("name")}function _U($,U,Q,D,L,R,k,f){if(R!=null&&typeof R!=="function"&&typeof R!=="symbol"&&typeof R!=="boolean"&&(n(R,"type"),$.type=R),U!=null||Q!=null){if(!(R!=="submit"&&R!=="reset"||U!==void 0&&U!==null)){MU($);return}Q=Q!=null?""+O$(Q):"",U=U!=null?""+O$(U):Q,f||U===$.value||($.value=U),$.defaultValue=U}D=D!=null?D:L,D=typeof D!=="function"&&typeof D!=="symbol"&&!!D,$.checked=f?$.checked:!!D,$.defaultChecked=!!D,k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"&&(n(k,"name"),$.name=k),MU($)}function B$($,U,Q){U==="number"&&U$($.ownerDocument)===$||$.defaultValue===""+Q||($.defaultValue=""+Q)}function S$($,U){U.value==null&&(typeof U.children==="object"&&U.children!==null?TQ.Children.forEach(U.children,function(Q){Q==null||typeof Q==="string"||typeof Q==="number"||typeof Q==="bigint"||rP||(rP=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):U.dangerouslySetInnerHTML==null||tP||(tP=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),U.selected==null||iP||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),iP=!0)}function $U(){var $=s();return $?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+$+"`.":""}function d$($,U,Q,D){if($=$.options,U){U={};for(var L=0;L<Q.length;L++)U["$"+Q[L]]=!0;for(Q=0;Q<$.length;Q++)L=U.hasOwnProperty("$"+$[Q].value),$[Q].selected!==L&&($[Q].selected=L),L&&D&&($[Q].defaultSelected=!0)}else{Q=""+O$(Q),U=null;for(L=0;L<$.length;L++){if($[L].value===Q){$[L].selected=!0,D&&($[L].defaultSelected=!0);return}U!==null||$[L].disabled||(U=$[L])}U!==null&&(U.selected=!0)}}function bU($,U){for($=0;$<sP.length;$++){var Q=sP[$];if(U[Q]!=null){var D=Y6(U[Q]);U.multiple&&!D?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Q,$U()):!U.multiple&&D&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Q,$U())}}U.value===void 0||U.defaultValue===void 0||aP||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),aP=!0)}function cU($,U){U.value===void 0||U.defaultValue===void 0||eP||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component"),eP=!0),U.children!=null&&U.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function hU($,U,Q){if(U!=null&&(U=""+O$(U),U!==$.value&&($.value=U),Q==null)){$.defaultValue!==U&&($.defaultValue=U);return}$.defaultValue=Q!=null?""+O$(Q):""}function pU($,U,Q,D){if(U==null){if(D!=null){if(Q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Y6(D)){if(1<D.length)throw Error("<textarea> can only have at most one child.");D=D[0]}Q=D}Q==null&&(Q=""),U=Q}Q=O$(U),$.defaultValue=Q,D=$.textContent,D===Q&&D!==""&&D!==null&&($.value=D),MU($)}function mU($,U){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-U?mU($.children[0],U):$}function r$($){return" "+" ".repeat($)}function LU($){return"+ "+" ".repeat($)}function VU($){return"- "+" ".repeat($)}function lU($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function qU($,U){return $R.test($)?($=JSON.stringify($),$.length>U-2?8>U?'{"..."}':"{"+$.slice(0,U-7)+'..."}':"{"+$+"}"):$.length>U?5>U?'{"..."}':$.slice(0,U-3)+"...":$}function vU($,U,Q){var D=120-2*Q;if(U===null)return LU(Q)+qU($,D)+`
|
|
36
|
+
`;if(typeof U==="string"){for(var L=0;L<U.length&&L<$.length&&U.charCodeAt(L)===$.charCodeAt(L);L++);return L>D-8&&10<L&&($="..."+$.slice(L-8),U="..."+U.slice(L-8)),LU(Q)+qU($,D)+`
|
|
37
|
+
`+VU(Q)+qU(U,D)+`
|
|
38
|
+
`}return r$(Q)+qU($,D)+`
|
|
39
|
+
`}function gU($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(U,Q){return Q})}function EU($,U){switch(typeof $){case"string":return $=JSON.stringify($),$.length>U?5>U?'"..."':$.slice(0,U-4)+'..."':$;case"object":if($===null)return"null";if(Y6($))return"[...]";if($.$$typeof===H1)return(U=M0($.type))?"<"+U+">":"<...>";var Q=gU($);if(Q==="Object"){Q="",U-=2;for(var D in $)if($.hasOwnProperty(D)){var L=JSON.stringify(D);if(L!=='"'+D+'"'&&(D=L),U-=D.length-2,L=EU($[D],15>U?U:15),U-=L.length,0>U){Q+=Q===""?"...":", ...";break}Q+=(Q===""?"":",")+D+":"+L}return"{"+Q+"}"}return Q;case"function":return(U=$.displayName||$.name)?"function "+U:"function";default:return String($)}}function AU($,U){return typeof $!=="string"||$R.test($)?"{"+EU($,U-2)+"}":$.length>U-2?5>U?'"..."':'"'+$.slice(0,U-5)+'..."':'"'+$+'"'}function HX($,U,Q){var D=120-Q.length-$.length,L=[],R;for(R in U)if(U.hasOwnProperty(R)&&R!=="children"){var k=AU(U[R],120-Q.length-R.length-1);D-=R.length+k.length+2,L.push(R+"="+k)}return L.length===0?Q+"<"+$+`>
|
|
40
|
+
`:0<D?Q+"<"+$+" "+L.join(" ")+`>
|
|
41
|
+
`:Q+"<"+$+`
|
|
42
|
+
`+Q+" "+L.join(`
|
|
43
|
+
`+Q+" ")+`
|
|
44
|
+
`+Q+`>
|
|
45
|
+
`}function HY($,U,Q){var D="",L=y$({},U),R;for(R in $)if($.hasOwnProperty(R)){delete L[R];var k=120-2*Q-R.length-2,f=EU($[R],k);U.hasOwnProperty(R)?(k=EU(U[R],k),D+=LU(Q)+R+": "+f+`
|
|
46
|
+
`,D+=VU(Q)+R+": "+k+`
|
|
47
|
+
`):D+=LU(Q)+R+": "+f+`
|
|
48
|
+
`}for(var l in L)L.hasOwnProperty(l)&&($=EU(L[l],120-2*Q-l.length-2),D+=VU(Q)+l+": "+$+`
|
|
49
|
+
`);return D}function FY($,U,Q,D){var L="",R=new Map;for(o in Q)Q.hasOwnProperty(o)&&R.set(o.toLowerCase(),o);if(R.size===1&&R.has("children"))L+=HX($,U,r$(D));else{for(var k in U)if(U.hasOwnProperty(k)&&k!=="children"){var f=120-2*(D+1)-k.length-1,l=R.get(k.toLowerCase());if(l!==void 0){R.delete(k.toLowerCase());var o=U[k];l=Q[l];var P0=AU(o,f);f=AU(l,f),typeof o==="object"&&o!==null&&typeof l==="object"&&l!==null&&gU(o)==="Object"&&gU(l)==="Object"&&(2<Object.keys(o).length||2<Object.keys(l).length||-1<P0.indexOf("...")||-1<f.indexOf("..."))?L+=r$(D+1)+k+`={{
|
|
50
|
+
`+HY(o,l,D+2)+r$(D+1)+`}}
|
|
51
|
+
`:(L+=LU(D+1)+k+"="+P0+`
|
|
52
|
+
`,L+=VU(D+1)+k+"="+f+`
|
|
53
|
+
`)}else L+=r$(D+1)+k+"="+AU(U[k],f)+`
|
|
54
|
+
`}R.forEach(function(R0){if(R0!=="children"){var V0=120-2*(D+1)-R0.length-1;L+=VU(D+1)+R0+"="+AU(Q[R0],V0)+`
|
|
55
|
+
`}}),L=L===""?r$(D)+"<"+$+`>
|
|
56
|
+
`:r$(D)+"<"+$+`
|
|
57
|
+
`+L+r$(D)+`>
|
|
58
|
+
`}if($=Q.children,U=U.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(R="",typeof U==="string"||typeof U==="number"||typeof U==="bigint")R=""+U;L+=vU(R,""+$,D+1)}else if(typeof U==="string"||typeof U==="number"||typeof U==="bigint")L=$==null?L+vU(""+U,null,D+1):L+vU(""+U,void 0,D+1);return L}function r7($,U){var Q=lU($);if(Q===null){Q="";for($=$.child;$;)Q+=r7($,U),$=$.sibling;return Q}return r$(U)+"<"+Q+`>
|
|
59
|
+
`}function Z8($,U){var Q=mU($,U);if(Q!==$&&($.children.length!==1||$.children[0]!==Q))return r$(U)+`...
|
|
60
|
+
`+Z8(Q,U+1);Q="";var D=$.fiber._debugInfo;if(D)for(var L=0;L<D.length;L++){var R=D[L].name;typeof R==="string"&&(Q+=r$(U)+"<"+R+`>
|
|
61
|
+
`,U++)}if(D="",L=$.fiber.pendingProps,$.fiber.tag===6)D=vU(L,$.serverProps,U),U++;else if(R=lU($.fiber),R!==null)if($.serverProps===void 0){D=U;var k=120-2*D-R.length-2,f="";for(o in L)if(L.hasOwnProperty(o)&&o!=="children"){var l=AU(L[o],15);if(k-=o.length+l.length+2,0>k){f+=" ...";break}f+=" "+o+"="+l}D=r$(D)+"<"+R+f+`>
|
|
62
|
+
`,U++}else $.serverProps===null?(D=HX(R,L,LU(U)),U++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(D=FY(R,L,$.serverProps,U),U++);var o="";L=$.fiber.child;for(R=0;L&&R<$.children.length;)k=$.children[R],k.fiber===L?(o+=Z8(k,U),R++):o+=r7(L,U),L=L.sibling;L&&0<$.children.length&&(o+=r$(U)+`...
|
|
63
|
+
`),L=$.serverTail,$.serverProps===null&&U--;for($=0;$<L.length;$++)R=L[$],o=typeof R==="string"?o+(VU(U)+qU(R,120-2*U)+`
|
|
64
|
+
`):o+HX(R.type,R.props,VU(U));return Q+D+o}function z8($){try{return`
|
|
65
|
+
|
|
66
|
+
`+Z8($,0)}catch(U){return""}}function t7($,U,Q){for(var D=U,L=null,R=0;D;)D===$&&(R=0),L={fiber:D,children:L!==null?[L]:[],serverProps:D===U?Q:D===$?null:void 0,serverTail:[],distanceFromLeaf:R},R++,D=D.return;return L!==null?z8(L).replaceAll(/^[+-]/gm,">"):""}function a7($,U){var Q=y$({},$||IR),D={tag:U};if(UR.indexOf(U)!==-1&&(Q.aTagInScope=null,Q.buttonTagInScope=null,Q.nobrTagInScope=null),a3.indexOf(U)!==-1&&(Q.pTagInButtonScope=null),t3.indexOf(U)!==-1&&U!=="address"&&U!=="div"&&U!=="p"&&(Q.listItemTagAutoclosing=null,Q.dlItemTagAutoclosing=null),Q.current=D,U==="form"&&(Q.formTag=D),U==="a"&&(Q.aTagInScope=D),U==="button"&&(Q.buttonTagInScope=D),U==="nobr"&&(Q.nobrTagInScope=D),U==="p"&&(Q.pTagInButtonScope=D),U==="li"&&(Q.listItemTagAutoclosing=D),U==="dd"||U==="dt")Q.dlItemTagAutoclosing=D;return U==="#document"||U==="html"?Q.containerTagInScope=null:Q.containerTagInScope||(Q.containerTagInScope=D),$!==null||U!=="#document"&&U!=="html"&&U!=="body"?Q.implicitRootScope===!0&&(Q.implicitRootScope=!1):Q.implicitRootScope=!0,Q}function s7($,U,Q){switch(U){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(Q)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!Q)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U!=="h1"&&U!=="h2"&&U!=="h3"&&U!=="h4"&&U!=="h5"&&U!=="h6";case"rp":case"rt":return s3.indexOf(U)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return U==null;case"head":return Q||U===null;case"html":return Q&&U==="#document"||U===null;case"body":return Q&&(U==="#document"||U==="html")||U===null}return!0}function oN($,U){switch($){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U.pTagInButtonScope;case"form":return U.formTag||U.pTagInButtonScope;case"li":return U.listItemTagAutoclosing;case"dd":case"dt":return U.dlItemTagAutoclosing;case"button":return U.buttonTagInScope;case"a":return U.aTagInScope;case"nobr":return U.nobrTagInScope}return null}function e7($,U){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===U)return $}$=$.return}return null}function O8($,U){U=U||IR;var Q=U.current;if(U=(Q=s7($,Q&&Q.tag,U.implicitRootScope)?null:Q)?null:oN($,U),U=Q||U,!U)return!0;var D=U.tag;if(U=String(!!Q)+"|"+$+"|"+D,Yz[U])return!1;Yz[U]=!0;var L=(U=Z4)?e7(U.return,D):null,R=U!==null&&L!==null?t7(L,U,null):"",k="<"+$+">";return Q?(Q="",D==="table"&&$==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
+
This will cause a hydration error.%s`,k,D,Q,R)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,k,D,R),U&&($=U.return,L===null||$===null||L===$&&$._debugOwner===U._debugOwner||J0(L,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,D,k)})),!1}function r2($,U,Q){if(Q||s7("#text",U,!1))return!0;if(Q="#text|"+U,Yz[Q])return!1;Yz[Q]=!0;var D=(Q=Z4)?e7(Q,U):null;return Q=Q!==null&&D!==null?t7(D,Q,Q.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,U,Q):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
+
This will cause a hydration error.%s`,U,Q),!1}function MY($,U){if(U){var Q=$.firstChild;if(Q&&Q===$.lastChild&&Q.nodeType===3){Q.nodeValue=U;return}}$.textContent=U}function iN($){return $.replace(Uk,function(U,Q){return Q.toUpperCase()})}function $A($,U,Q){var D=U.indexOf("--")===0;D||(-1<U.indexOf("-")?hJ.hasOwnProperty(U)&&hJ[U]||(hJ[U]=!0,console.error("Unsupported style property %s. Did you mean %s?",U,iN(U.replace($k,"ms-")))):e3.test(U)?hJ.hasOwnProperty(U)&&hJ[U]||(hJ[U]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",U,U.charAt(0).toUpperCase()+U.slice(1))):!QR.test(Q)||q9.hasOwnProperty(Q)&&q9[Q]||(q9[Q]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,U,Q.replace(QR,""))),typeof Q==="number"&&(isNaN(Q)?YR||(YR=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",U)):isFinite(Q)||GR||(GR=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",U)))),Q==null||typeof Q==="boolean"||Q===""?D?$.setProperty(U,""):U==="float"?$.cssFloat="":$[U]="":D?$.setProperty(U,Q):typeof Q!=="number"||Q===0||ZR.has(U)?U==="float"?$.cssFloat=Q:(F0(Q,U),$[U]=(""+Q).trim()):$[U]=Q+"px"}function UA($,U,Q){if(U!=null&&typeof U!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(U&&Object.freeze(U),$=$.style,Q!=null){if(U){var D={};if(Q){for(var L in Q)if(Q.hasOwnProperty(L)&&!U.hasOwnProperty(L))for(var R=_9[L]||[L],k=0;k<R.length;k++)D[R[k]]=L}for(var f in U)if(U.hasOwnProperty(f)&&(!Q||Q[f]!==U[f]))for(L=_9[f]||[f],R=0;R<L.length;R++)D[L[R]]=f;f={};for(var l in U)for(L=_9[l]||[l],R=0;R<L.length;R++)f[L[R]]=l;l={};for(var o in D)if(L=D[o],(R=f[o])&&L!==R&&(k=L+","+R,!l[k])){l[k]=!0,k=console;var P0=U[L];k.error.call(k,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",P0==null||typeof P0==="boolean"||P0===""?"Removing":"Updating",L,R)}}for(var R0 in Q)!Q.hasOwnProperty(R0)||U!=null&&U.hasOwnProperty(R0)||(R0.indexOf("--")===0?$.setProperty(R0,""):R0==="float"?$.cssFloat="":$[R0]="");for(var V0 in U)o=U[V0],U.hasOwnProperty(V0)&&Q[V0]!==o&&$A($,V0,o)}else for(D in U)U.hasOwnProperty(D)&&$A($,D,U[D])}function LY($){if($.indexOf("-")===-1)return!1;switch($){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function IA($){return Ik.get($)||$}function rN($,U){if(p4.call(mJ,U)&&mJ[U])return!0;if(Jk.test(U)){if($="aria-"+U.slice(4).toLowerCase(),$=zR.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",U),mJ[U]=!0;if(U!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",U,$),mJ[U]=!0}if(Xk.test(U)){if($=U.toLowerCase(),$=zR.hasOwnProperty($)?$:null,$==null)return mJ[U]=!0,!1;U!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",U,$),mJ[U]=!0)}return!0}function tN($,U){var Q=[],D;for(D in U)rN($,D)||Q.push(D);U=Q.map(function(L){return"`"+L+"`"}).join(", "),Q.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$):1<Q.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$)}function aN($,U,Q,D){if(p4.call(j6,U)&&j6[U])return!0;var L=U.toLowerCase();if(L==="onfocusin"||L==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),j6[U]=!0;if(typeof Q==="function"&&($==="form"&&U==="action"||$==="input"&&U==="formAction"||$==="button"&&U==="formAction"))return!0;if(D!=null){if($=D.possibleRegistrationNames,D.registrationNameDependencies.hasOwnProperty(U))return!0;if(D=$.hasOwnProperty(L)?$[L]:null,D!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",U,D),j6[U]=!0;if(KR.test(U))return console.error("Unknown event handler property `%s`. It will be ignored.",U),j6[U]=!0}else if(KR.test(U))return Qk.test(U)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",U),j6[U]=!0;if(Yk.test(U)||Gk.test(U))return!0;if(L==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),j6[U]=!0;if(L==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),j6[U]=!0;if(L==="is"&&Q!==null&&Q!==void 0&&typeof Q!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Q),j6[U]=!0;if(typeof Q==="number"&&isNaN(Q))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",U),j6[U]=!0;if(Zz.hasOwnProperty(L)){if(L=Zz[L],L!==U)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",U,L),j6[U]=!0}else if(U!==L)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",U,L),j6[U]=!0;switch(U){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof Q){case"boolean":switch(U){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(L=U.toLowerCase().slice(0,5),L==="data-"||L==="aria-")return!0;return Q?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',Q,U,U,Q,U):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Q,U,U,Q,U,U,U),j6[U]=!0}case"function":case"symbol":return j6[U]=!0,!1;case"string":if(Q==="false"||Q==="true"){switch(U){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Q,U,Q==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',U,Q),j6[U]=!0}}return!0}function sN($,U,Q){var D=[],L;for(L in U)aN($,L,U[L],Q)||D.push(L);U=D.map(function(R){return"`"+R+"`"}).join(", "),D.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$):1<D.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$)}function AY($){return Zk.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function y1(){}function K8($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function XA($){var U=F$($);if(U&&($=U.stateNode)){var Q=$[S6]||null;$:switch($=U.stateNode,U.type){case"input":if($$($,Q.value,Q.defaultValue,Q.defaultValue,Q.checked,Q.defaultChecked,Q.type,Q.name),U=Q.name,Q.type==="radio"&&U!=null){for(Q=$;Q.parentNode;)Q=Q.parentNode;n(U,"name"),Q=Q.querySelectorAll('input[name="'+e$(""+U)+'"][type="radio"]');for(U=0;U<Q.length;U++){var D=Q[U];if(D!==$&&D.form===$.form){var L=D[S6]||null;if(!L)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");$$(D,L.value,L.defaultValue,L.defaultValue,L.checked,L.defaultChecked,L.type,L.name)}}for(U=0;U<Q.length;U++)D=Q[U],D.form===$.form&&X$(D)}break $;case"textarea":hU($,Q.value,Q.defaultValue);break $;case"select":U=Q.value,U!=null&&d$($,!!Q.multiple,U,!1)}}}function JA($,U,Q){if(E9)return $(U,Q);E9=!0;try{var D=$(U);return D}finally{if(E9=!1,lJ!==null||dJ!==null){if(vJ(),lJ&&(U=lJ,$=dJ,dJ=lJ=null,XA(U),$))for(U=0;U<$.length;U++)XA($[U])}}}function CY($,U){var Q=$.stateNode;if(Q===null)return null;var D=Q[S6]||null;if(D===null)return null;Q=D[U];$:switch(U){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(D=!D.disabled)||($=$.type,D=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!D;break $;default:$=!1}if($)return null;if(Q&&typeof Q!=="function")throw Error("Expected `"+U+"` listener to be a function, instead got a value of `"+typeof Q+"` type.");return Q}function QA(){if(zz)return zz;var $,U=j9,Q=U.length,D,L="value"in kI?kI.value:kI.textContent,R=L.length;for($=0;$<Q&&U[$]===L[$];$++);var k=Q-$;for(D=1;D<=k&&U[Q-D]===L[R-D];D++);return zz=L.slice($,1<D?1-D:void 0)}function t2($){var U=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&U===13&&($=13)):$=U,$===10&&($=13),32<=$||$===13?$:0}function a2(){return!0}function YA(){return!1}function p6($){function U(Q,D,L,R,k){this._reactName=Q,this._targetInst=L,this.type=D,this.nativeEvent=R,this.target=k,this.currentTarget=null;for(var f in $)$.hasOwnProperty(f)&&(Q=$[f],this[f]=Q?Q(R):R[f]);return this.isDefaultPrevented=(R.defaultPrevented!=null?R.defaultPrevented:R.returnValue===!1)?a2:YA,this.isPropagationStopped=YA,this}return y$(U.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Q=this.nativeEvent;Q&&(Q.preventDefault?Q.preventDefault():typeof Q.returnValue!=="unknown"&&(Q.returnValue=!1),this.isDefaultPrevented=a2)},stopPropagation:function(){var Q=this.nativeEvent;Q&&(Q.stopPropagation?Q.stopPropagation():typeof Q.cancelBubble!=="unknown"&&(Q.cancelBubble=!0),this.isPropagationStopped=a2)},persist:function(){},isPersistent:a2}),U}function eN($){var U=this.nativeEvent;return U.getModifierState?U.getModifierState($):($=Tk[$])?!!U[$]:!1}function W8(){return eN}function GA($,U){switch($){case"keyup":return xk.indexOf(U.keyCode)!==-1;case"keydown":return U.keyCode!==HR;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ZA($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function $v($,U){switch($){case"compositionend":return ZA(U);case"keypress":if(U.which!==MR)return null;return AR=!0,LR;case"textInput":return $=U.data,$===LR&&AR?null:$;default:return null}}function Uv($,U){if(nJ)return $==="compositionend"||!k9&&GA($,U)?($=QA(),zz=j9=kI=null,nJ=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(U.ctrlKey||U.altKey||U.metaKey)||U.ctrlKey&&U.altKey){if(U.char&&1<U.char.length)return U.char;if(U.which)return String.fromCharCode(U.which)}return null;case"compositionend":return FR&&U.locale!=="ko"?null:U.data;default:return null}}function zA($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U==="input"?!!wk[$.type]:U==="textarea"?!0:!1}function Iv($){if(!T1)return!1;$="on"+$;var U=$ in document;return U||(U=document.createElement("div"),U.setAttribute($,"return;"),U=typeof U[$]==="function"),U}function OA($,U,Q,D){lJ?dJ?dJ.push(D):dJ=[D]:lJ=D,U=mZ(U,"onChange"),0<U.length&&(Q=new Oz("onChange","change",null,Q,D),$.push({event:Q,listeners:U}))}function Xv($){nT($,0)}function s2($){var U=x0($);if(X$(U))return $}function KA($,U){if($==="change")return U}function WA(){QG&&(QG.detachEvent("onpropertychange",VA),YG=QG=null)}function VA($){if($.propertyName==="value"&&s2(YG)){var U=[];OA(U,YG,$,K8($)),JA(Xv,U)}}function Jv($,U,Q){$==="focusin"?(WA(),QG=U,YG=Q,QG.attachEvent("onpropertychange",VA)):$==="focusout"&&WA()}function Qv($){if($==="selectionchange"||$==="keyup"||$==="keydown")return s2(YG)}function Yv($,U){if($==="click")return s2(U)}function Gv($,U){if($==="input"||$==="change")return s2(U)}function Zv($,U){return $===U&&($!==0||1/$===1/U)||$!==$&&U!==U}function TY($,U){if(B6($,U))return!0;if(typeof $!=="object"||$===null||typeof U!=="object"||U===null)return!1;var Q=Object.keys($),D=Object.keys(U);if(Q.length!==D.length)return!1;for(D=0;D<Q.length;D++){var L=Q[D];if(!p4.call(U,L)||!B6($[L],U[L]))return!1}return!0}function DA($){for(;$&&$.firstChild;)$=$.firstChild;return $}function HA($,U){var Q=DA($);$=0;for(var D;Q;){if(Q.nodeType===3){if(D=$+Q.textContent.length,$<=U&&D>=U)return{node:Q,offset:U-$};$=D}$:{for(;Q;){if(Q.nextSibling){Q=Q.nextSibling;break $}Q=Q.parentNode}Q=void 0}Q=DA(Q)}}function FA($,U){return $&&U?$===U?!0:$&&$.nodeType===3?!1:U&&U.nodeType===3?FA($,U.parentNode):("contains"in $)?$.contains(U):$.compareDocumentPosition?!!($.compareDocumentPosition(U)&16):!1:!1}function MA($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var U=U$($.document);U instanceof $.HTMLIFrameElement;){try{var Q=typeof U.contentWindow.location.href==="string"}catch(D){Q=!1}if(Q)$=U.contentWindow;else break;U=U$($.document)}return U}function V8($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U&&(U==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||U==="textarea"||$.contentEditable==="true")}function LA($,U,Q){var D=Q.window===Q?Q.document:Q.nodeType===9?Q:Q.ownerDocument;g9||oJ==null||oJ!==U$(D)||(D=oJ,("selectionStart"in D)&&V8(D)?D={start:D.selectionStart,end:D.selectionEnd}:(D=(D.ownerDocument&&D.ownerDocument.defaultView||window).getSelection(),D={anchorNode:D.anchorNode,anchorOffset:D.anchorOffset,focusNode:D.focusNode,focusOffset:D.focusOffset}),GG&&TY(GG,D)||(GG=D,D=mZ(x9,"onSelect"),0<D.length&&(U=new Oz("onSelect","select",null,U,Q),$.push({event:U,listeners:D}),U.target=oJ)))}function FX($,U){var Q={};return Q[$.toLowerCase()]=U.toLowerCase(),Q["Webkit"+$]="webkit"+U,Q["Moz"+$]="moz"+U,Q}function MX($){if(w9[$])return w9[$];if(!iJ[$])return $;var U=iJ[$],Q;for(Q in U)if(U.hasOwnProperty(Q)&&Q in TR)return w9[$]=U[Q];return $}function b4($,U){ER.set($,U),o0(U,[$])}function zv($){for(var U=Wz,Q=0;Q<$.length;Q++){var D=$[Q];if(typeof D==="object"&&D!==null)if(Y6(D)&&D.length===2&&typeof D[0]==="string"){if(U!==Wz&&U!==c9)return u9;U=c9}else return u9;else{if(typeof D==="function"||typeof D==="string"&&50<D.length||U!==Wz&&U!==b9)return u9;U=b9}}return U}function D8($,U,Q,D){for(var L in $)p4.call($,L)&&L[0]!=="_"&&e4(L,$[L],U,Q,D)}function e4($,U,Q,D,L){switch(typeof U){case"object":if(U===null){U="null";break}else{if(U.$$typeof===H1){var R=M0(U.type)||"…",k=U.key;U=U.props;var f=Object.keys(U),l=f.length;if(k==null&&l===0){U="<"+R+" />";break}if(3>D||l===1&&f[0]==="children"&&k==null){U="<"+R+" … />";break}Q.push([L+" ".repeat(D)+$,"<"+R]),k!==null&&e4("key",k,Q,D+1,L),$=!1;for(var o in U)o==="children"?U.children!=null&&(!Y6(U.children)||0<U.children.length)&&($=!0):p4.call(U,o)&&o[0]!=="_"&&e4(o,U[o],Q,D+1,L);Q.push(["",$?">…</"+R+">":"/>"]);return}if(R=Object.prototype.toString.call(U),R=R.slice(8,R.length-1),R==="Array"){if(o=zv(U),o===b9||o===Wz){U=JSON.stringify(U);break}else if(o===c9){Q.push([L+" ".repeat(D)+$,""]);for($=0;$<U.length;$++)R=U[$],e4(R[0],R[1],Q,D+1,L);return}}if(R==="Promise"){if(U.status==="fulfilled"){if(R=Q.length,e4($,U.value,Q,D,L),Q.length>R){Q=Q[R],Q[1]="Promise<"+(Q[1]||"Object")+">";return}}else if(U.status==="rejected"&&(R=Q.length,e4($,U.reason,Q,D,L),Q.length>R)){Q=Q[R],Q[1]="Rejected Promise<"+Q[1]+">";return}Q.push([" ".repeat(D)+$,"Promise"]);return}R==="Object"&&(o=Object.getPrototypeOf(U))&&typeof o.constructor==="function"&&(R=o.constructor.name),Q.push([L+" ".repeat(D)+$,R==="Object"?3>D?"":"…":R]),3>D&&D8(U,Q,D+1,L);return}case"function":U=U.name===""?"() => {}":U.name+"() {}";break;case"string":U=U===pk?"…":JSON.stringify(U);break;case"undefined":U="undefined";break;case"boolean":U=U?"true":"false";break;default:U=String(U)}Q.push([L+" ".repeat(D)+$,U])}function AA($,U,Q,D){var L=!0;for(k in $)k in U||(Q.push([Vz+" ".repeat(D)+k,"…"]),L=!1);for(var R in U)if(R in $){var k=$[R],f=U[R];if(k!==f){if(D===0&&R==="children")L=" ".repeat(D)+R,Q.push([Vz+L,"…"],[Dz+L,"…"]);else{if(!(3<=D)){if(typeof k==="object"&&typeof f==="object"&&k!==null&&f!==null&&k.$$typeof===f.$$typeof)if(f.$$typeof===H1){if(k.type===f.type&&k.key===f.key){k=M0(f.type)||"…",L=" ".repeat(D)+R,k="<"+k+" … />",Q.push([Vz+L,k],[Dz+L,k]),L=!1;continue}}else{var l=Object.prototype.toString.call(k),o=Object.prototype.toString.call(f);if(l===o&&(o==="[object Object]"||o==="[object Array]")){l=[BR+" ".repeat(D)+R,o==="[object Array]"?"Array":""],Q.push(l),o=Q.length,AA(k,f,Q,D+1)?o===Q.length&&(l[1]="Referentially unequal but deeply equal objects. Consider memoization."):L=!1;continue}}else if(typeof k==="function"&&typeof f==="function"&&k.name===f.name&&k.length===f.length&&(l=Function.prototype.toString.call(k),o=Function.prototype.toString.call(f),l===o)){k=f.name===""?"() => {}":f.name+"() {}",Q.push([BR+" ".repeat(D)+R,k+" Referentially unequal function closure. Consider memoization."]);continue}}e4(R,k,Q,D,Vz),e4(R,f,Q,D,Dz)}L=!1}}else Q.push([Dz+" ".repeat(D)+R,"…"]),L=!1;return L}function $4($){b$=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function $1($,U,Q,D){CU&&(gI.start=U,gI.end=Q,n1.color="warning",n1.tooltipText=D,n1.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,D,gI)):performance.measure(D,gI))}function e2($,U,Q){$1($,U,Q,"Reconnect")}function $Z($,U,Q,D,L){var R=t($);if(R!==null&&CU){var{alternate:k,actualDuration:f}=$;if(k===null||k.child!==$.child)for(var l=$.child;l!==null;l=l.sibling)f-=l.actualDuration;D=0.5>f?D?"tertiary-light":"primary-light":10>f?D?"tertiary":"primary":100>f?D?"tertiary-dark":"primary-dark":"error";var o=$.memoizedProps;f=$._debugTask,o!==null&&k!==null&&k.memoizedProps!==o?(l=[mk],o=AA(k.memoizedProps,o,l,0),1<l.length&&(o&&!xI&&(k.lanes&L)===0&&100<$.actualDuration?(xI=!0,l[0]=lk,n1.color="warning",n1.tooltipText=NR):(n1.color=D,n1.tooltipText=R),n1.properties=l,gI.start=U,gI.end=Q,f!=null?f.run(performance.measure.bind(performance,""+R,gI)):performance.measure(""+R,gI))):f!=null?f.run(console.timeStamp.bind(console,R,U,Q,R4,void 0,D)):console.timeStamp(R,U,Q,R4,void 0,D)}}function H8($,U,Q,D){if(CU){var L=t($);if(L!==null){for(var R=null,k=[],f=0;f<D.length;f++){var l=D[f];R==null&&l.source!==null&&(R=l.source._debugTask),l=l.value,k.push(["Error",typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l)])}$.key!==null&&e4("key",$.key,k,0,""),$.memoizedProps!==null&&D8($.memoizedProps,k,0,""),R==null&&(R=$._debugTask),$={start:U,end:Q,detail:{devtools:{color:"error",track:R4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:k}}},R?R.run(performance.measure.bind(performance,""+L,$)):performance.measure(""+L,$)}}}function U1($,U,Q,D,L){if(L!==null){if(CU){var R=t($);if(R!==null){D=[];for(var k=0;k<L.length;k++){var f=L[k].value;D.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$.key!==null&&e4("key",$.key,D,0,""),$.memoizedProps!==null&&D8($.memoizedProps,D,0,""),U={start:U,end:Q,detail:{devtools:{color:"error",track:R4,tooltipText:"A lifecycle or effect errored",properties:D}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+R,U)):performance.measure(""+R,U)}}}else R=t($),R!==null&&CU&&(L=1>D?"secondary-light":100>D?"secondary":500>D?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,R,U,Q,R4,void 0,L)):console.timeStamp(R,U,Q,R4,void 0,L))}function Ov($,U,Q,D){if(CU&&!(U<=$)){var L=(Q&738197653)===Q?"tertiary-dark":"primary-dark";Q=(Q&536870912)===Q?"Prepared":(Q&201326741)===Q?"Hydrated":"Render",D?D.run(console.timeStamp.bind(console,Q,$,U,b$,u$,L)):console.timeStamp(Q,$,U,b$,u$,L)}}function CA($,U,Q,D){!CU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",D?D.run(console.timeStamp.bind(console,"Prewarm",$,U,b$,u$,Q)):console.timeStamp("Prewarm",$,U,b$,u$,Q))}function TA($,U,Q,D){!CU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",D?D.run(console.timeStamp.bind(console,"Suspended",$,U,b$,u$,Q)):console.timeStamp("Suspended",$,U,b$,u$,Q))}function Kv($,U,Q,D,L,R){if(CU&&!(U<=$)){Q=[];for(var k=0;k<D.length;k++){var f=D[k].value;Q.push(["Recoverable Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"primary-dark",track:b$,trackGroup:u$,tooltipText:L?"Hydration Failed":"Recovered after Error",properties:Q}}},R?R.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function F8($,U,Q,D){!CU||U<=$||(D?D.run(console.timeStamp.bind(console,"Errored",$,U,b$,u$,"error")):console.timeStamp("Errored",$,U,b$,u$,"error"))}function Wv($,U,Q,D){!CU||U<=$||(D?D.run(console.timeStamp.bind(console,Q,$,U,b$,u$,"secondary-light")):console.timeStamp(Q,$,U,b$,u$,"secondary-light"))}function PA($,U,Q,D,L){if(CU&&!(U<=$)){for(var R=[],k=0;k<Q.length;k++){var f=Q[k].value;R.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"error",track:b$,trackGroup:u$,tooltipText:D?"Remaining Effects Errored":"Commit Errored",properties:R}}},L?L.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function PY($,U,Q){!CU||U<=$||(Q?Q.run(console.timeStamp.bind(console,"Animating",$,U,b$,u$,"secondary-dark")):console.timeStamp("Animating",$,U,b$,u$,"secondary-dark"))}function UZ(){for(var $=rJ,U=h9=rJ=0;U<$;){var Q=_4[U];_4[U++]=null;var D=_4[U];_4[U++]=null;var L=_4[U];_4[U++]=null;var R=_4[U];if(_4[U++]=null,D!==null&&L!==null){var k=D.pending;k===null?L.next=L:(L.next=k.next,k.next=L),D.pending=L}R!==0&&RA(Q,L,R)}}function IZ($,U,Q,D){_4[rJ++]=$,_4[rJ++]=U,_4[rJ++]=Q,_4[rJ++]=D,h9|=D,$.lanes|=D,$=$.alternate,$!==null&&($.lanes|=D)}function M8($,U,Q,D){return IZ($,U,Q,D),XZ($)}function T6($,U){return IZ($,null,null,U),XZ($)}function RA($,U,Q){$.lanes|=Q;var D=$.alternate;D!==null&&(D.lanes|=Q);for(var L=!1,R=$.return;R!==null;)R.childLanes|=Q,D=R.alternate,D!==null&&(D.childLanes|=Q),R.tag===22&&($=R.stateNode,$===null||$._visibility&ZG||(L=!0)),$=R,R=R.return;return $.tag===3?(R=$.stateNode,L&&U!==null&&(L=31-E6(Q),$=R.hiddenUpdates,D=$[L],D===null?$[L]=[U]:D.push(U),U.lane=Q|536870912),R):null}function XZ($){if(wG>Qx)throw nX=wG=0,fG=CV=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.");nX>Yx&&(nX=0,fG=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.")),$.alternate===null&&($.flags&4098)!==0&&bT($);for(var U=$,Q=U.return;Q!==null;)U.alternate===null&&(U.flags&4098)!==0&&bT($),U=Q,Q=U.return;return U.tag===3?U.stateNode:null}function LX($){if(q4===null)return $;var U=q4($);return U===void 0?$:U.current}function L8($){if(q4===null)return $;var U=q4($);return U===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(U=LX($.render),$.render!==U)?(U={$$typeof:tY,render:U},$.displayName!==void 0&&(U.displayName=$.displayName),U):$:U.current}function _A($,U){if(q4===null)return!1;var Q=$.elementType;U=U.type;var D=!1,L=typeof U==="object"&&U!==null?U.$$typeof:null;switch($.tag){case 1:typeof U==="function"&&(D=!0);break;case 0:typeof U==="function"?D=!0:L===G4&&(D=!0);break;case 11:L===tY?D=!0:L===G4&&(D=!0);break;case 14:case 15:L===$z?D=!0:L===G4&&(D=!0);break;default:return!1}return D&&($=q4(Q),$!==void 0&&$===q4(U))?!0:!1}function qA($){q4!==null&&typeof WeakSet==="function"&&(tJ===null&&(tJ=new WeakSet),tJ.add($))}function EA($,U,Q){do{var D=$,L=D.alternate,R=D.child,k=D.sibling,f=D.tag;D=D.type;var l=null;switch(f){case 0:case 15:case 1:l=D;break;case 11:l=D.render}if(q4===null)throw Error("Expected resolveFamily to be set during hot reload.");var o=!1;if(D=!1,l!==null&&(l=q4(l),l!==void 0&&(Q.has(l)?D=!0:U.has(l)&&(f===1?D=!0:o=!0))),tJ!==null&&(tJ.has($)||L!==null&&tJ.has(L))&&(D=!0),D&&($._debugNeedsRemount=!0),D||o)L=T6($,2),L!==null&&wU(L,$,2);if(R===null||D||EA(R,U,Q),k===null)break;$=k}while(1)}function Vv($,U,Q,D){this.tag=$,this.key=Q,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=D,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,vR||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function A8($){return $=$.prototype,!(!$||!$.isReactComponent)}function u1($,U){var Q=$.alternate;switch(Q===null?(Q=_($.tag,U,$.key,$.mode),Q.elementType=$.elementType,Q.type=$.type,Q.stateNode=$.stateNode,Q._debugOwner=$._debugOwner,Q._debugStack=$._debugStack,Q._debugTask=$._debugTask,Q._debugHookTypes=$._debugHookTypes,Q.alternate=$,$.alternate=Q):(Q.pendingProps=U,Q.type=$.type,Q.flags=0,Q.subtreeFlags=0,Q.deletions=null,Q.actualDuration=-0,Q.actualStartTime=-1.1),Q.flags=$.flags&65011712,Q.childLanes=$.childLanes,Q.lanes=$.lanes,Q.child=$.child,Q.memoizedProps=$.memoizedProps,Q.memoizedState=$.memoizedState,Q.updateQueue=$.updateQueue,U=$.dependencies,Q.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},Q.sibling=$.sibling,Q.index=$.index,Q.ref=$.ref,Q.refCleanup=$.refCleanup,Q.selfBaseDuration=$.selfBaseDuration,Q.treeBaseDuration=$.treeBaseDuration,Q._debugInfo=$._debugInfo,Q._debugNeedsRemount=$._debugNeedsRemount,Q.tag){case 0:case 15:Q.type=LX($.type);break;case 1:Q.type=LX($.type);break;case 11:Q.type=L8($.type)}return Q}function SA($,U){$.flags&=65011714;var Q=$.alternate;return Q===null?($.childLanes=0,$.lanes=U,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=Q.childLanes,$.lanes=Q.lanes,$.child=Q.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=Q.memoizedProps,$.memoizedState=Q.memoizedState,$.updateQueue=Q.updateQueue,$.type=Q.type,U=Q.dependencies,$.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},$.selfBaseDuration=Q.selfBaseDuration,$.treeBaseDuration=Q.treeBaseDuration),$}function C8($,U,Q,D,L,R){var k=0,f=$;if(typeof $==="function")A8($)&&(k=1),f=LX(f);else if(typeof $==="string")k=P(),k=P3($,Q,k)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case W9:return U=_(31,Q,U,L),U.elementType=W9,U.lanes=R,U;case uJ:return AX(Q.children,L,R,U);case eZ:k=8,L|=R6,L|=l4;break;case Z9:return $=Q,D=L,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),U=_(12,$,U,D|v$),U.elementType=Z9,U.lanes=R,U.stateNode={effectDuration:0,passiveEffectDuration:0},U;case O9:return U=_(13,Q,U,L),U.elementType=O9,U.lanes=R,U;case K9:return U=_(19,Q,U,L),U.elementType=K9,U.lanes=R,U;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case F1:k=10;break $;case z9:k=9;break $;case tY:k=11,f=L8(f);break $;case $z:k=14;break $;case G4:k=16,f=null;break $}if(f="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).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.";$===null?Q="null":Y6($)?Q="array":$!==void 0&&$.$$typeof===H1?(Q="<"+(M0($.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof $,(k=D?q0(D):null)&&(f+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+k+"`."),k=29,Q=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Q+"."+f)),f=null}return U=_(k,Q,U,L),U.elementType=$,U.type=f,U.lanes=R,U._debugOwner=D,U}function JZ($,U,Q){return U=C8($.type,$.key,$.props,$._owner,U,Q),U._debugOwner=$._owner,U._debugStack=$._debugStack,U._debugTask=$._debugTask,U}function AX($,U,Q,D){return $=_(7,$,D,U),$.lanes=Q,$}function T8($,U,Q){return $=_(6,$,null,U),$.lanes=Q,$}function jA($){var U=_(18,null,null,P$);return U.stateNode=$,U}function P8($,U,Q){return U=_(4,$.children!==null?$.children:[],$.key,U),U.lanes=Q,U.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},U}function U4($,U){if(typeof $==="object"&&$!==null){var Q=p9.get($);if(Q!==void 0)return Q;return U={value:$,source:U,stack:O0(U)},p9.set($,U),U}return{value:$,source:U,stack:O0(U)}}function b1($,U){FI(),aJ[sJ++]=zG,aJ[sJ++]=Hz,Hz=$,zG=U}function BA($,U,Q){FI(),E4[S4++]=i1,E4[S4++]=r1,E4[S4++]=kX,kX=$;var D=i1;$=r1;var L=32-E6(D)-1;D&=~(1<<L),Q+=1;var R=32-E6(U)+L;if(30<R){var k=L-L%5;R=(D&(1<<k)-1).toString(32),D>>=k,L-=k,i1=1<<32-E6(U)+L|Q<<L|D,r1=R+$}else i1=1<<R|Q<<L|D,r1=$}function R8($){FI(),$.return!==null&&(b1($,1),BA($,1,0))}function _8($){for(;$===Hz;)Hz=aJ[--sJ],aJ[sJ]=null,zG=aJ[--sJ],aJ[sJ]=null;for(;$===kX;)kX=E4[--S4],E4[S4]=null,r1=E4[--S4],E4[S4]=null,i1=E4[--S4],E4[S4]=null}function NA(){return FI(),kX!==null?{id:i1,overflow:r1}:null}function vA($,U){FI(),E4[S4++]=i1,E4[S4++]=r1,E4[S4++]=kX,i1=U.id,r1=U.overflow,kX=$}function FI(){p$||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function CX($,U){if($.return===null){if(O4===null)O4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U};else{if(O4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");O4.distanceFromLeaf>U&&(O4.distanceFromLeaf=U)}return O4}var Q=CX($.return,U+1).children;if(0<Q.length&&Q[Q.length-1].fiber===$)return Q=Q[Q.length-1],Q.distanceFromLeaf>U&&(Q.distanceFromLeaf=U),Q;return U={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U},Q.push(U),U}function kA(){p$&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function QZ($,U){P1||($=CX($,0),$.serverProps=null,U!==null&&(U=OP(U),$.serverTail.push(U)))}function MI($){var U=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Q="",D=O4;throw D!==null&&(O4=null,Q=z8(D)),RY(U4(Error("Hydration failed because the server rendered "+(U?"text":"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:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+Q),$)),m9}function xA($){var{stateNode:U,type:Q,memoizedProps:D}=$;switch(U[L6]=$,U[S6]=D,lW(Q,D),Q){case"dialog":m$("cancel",U),m$("close",U);break;case"iframe":case"object":case"embed":m$("load",U);break;case"video":case"audio":for(Q=0;Q<yG.length;Q++)m$(yG[Q],U);break;case"source":m$("error",U);break;case"img":case"image":case"link":m$("error",U),m$("load",U);break;case"details":m$("toggle",U);break;case"input":WU("input",D),m$("invalid",U),J$(U,D),_U(U,D.value,D.defaultValue,D.checked,D.defaultChecked,D.type,D.name,!0);break;case"option":S$(U,D);break;case"select":WU("select",D),m$("invalid",U),bU(U,D);break;case"textarea":WU("textarea",D),m$("invalid",U),cU(U,D),pU(U,D.value,D.defaultValue,D.children)}Q=D.children,typeof Q!=="string"&&typeof Q!=="number"&&typeof Q!=="bigint"||U.textContent===""+Q||D.suppressHydrationWarning===!0||tT(U.textContent,Q)?(D.popover!=null&&(m$("beforetoggle",U),m$("toggle",U)),D.onScroll!=null&&m$("scroll",U),D.onScrollEnd!=null&&m$("scrollend",U),D.onClick!=null&&(U.onclick=y1),U=!0):U=!1,U||MI($,!0)}function gA($){for(A6=$.return;A6;)switch(A6.tag){case 5:case 31:case 13:j4=!1;return;case 27:case 3:j4=!0;return;default:A6=A6.return}}function PJ($){if($!==A6)return!1;if(!p$)return gA($),p$=!0,!1;var U=$.tag,Q;if(Q=U!==3&&U!==27){if(Q=U===5)Q=$.type,Q=!(Q!=="form"&&Q!=="button")||rW($.type,$.memoizedProps);Q=!Q}if(Q&&TU){for(Q=TU;Q;){var D=CX($,0),L=OP(Q);D.serverTail.push(L),Q=L.type==="Suspense"?eW(Q):Y4(Q.nextSibling)}MI($)}if(gA($),U===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");TU=eW($)}else if(U===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");TU=eW($)}else U===27?(U=TU,SI($.type)?($=kV,kV=null,TU=$):TU=U):TU=A6?Y4($.stateNode.nextSibling):null;return!0}function TX(){TU=A6=null,P1=p$=!1}function q8(){var $=fI;return $!==null&&(x6===null?x6=$:x6.push.apply(x6,$),fI=null),$}function RY($){fI===null?fI=[$]:fI.push($)}function E8(){var $=O4;if($!==null){O4=null;for(var U=z8($);0<$.children.length;)$=$.children[0];J0($.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:
|
|
84
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",U)})}}function YZ(){eJ=Fz=null,$Q=!1}function LI($,U,Q){V(l9,U._currentValue,$),U._currentValue=Q,V(d9,U._currentRenderer,$),U._currentRenderer!==void 0&&U._currentRenderer!==null&&U._currentRenderer!==xR&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),U._currentRenderer=xR}function c1($,U){$._currentValue=l9.current;var Q=d9.current;G(d9,U),$._currentRenderer=Q,G(l9,U)}function S8($,U,Q){for(;$!==null;){var D=$.alternate;if(($.childLanes&U)!==U?($.childLanes|=U,D!==null&&(D.childLanes|=U)):D!==null&&(D.childLanes&U)!==U&&(D.childLanes|=U),$===Q)break;$=$.return}$!==Q&&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 j8($,U,Q,D){var L=$.child;L!==null&&(L.return=$);for(;L!==null;){var R=L.dependencies;if(R!==null){var k=L.child;R=R.firstContext;$:for(;R!==null;){var f=R;R=L;for(var l=0;l<U.length;l++)if(f.context===U[l]){R.lanes|=Q,f=R.alternate,f!==null&&(f.lanes|=Q),S8(R.return,Q,$),D||(k=null);break $}R=f.next}}else if(L.tag===18){if(k=L.return,k===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");k.lanes|=Q,R=k.alternate,R!==null&&(R.lanes|=Q),S8(k,Q,$),k=null}else k=L.child;if(k!==null)k.return=L;else for(k=L;k!==null;){if(k===$){k=null;break}if(L=k.sibling,L!==null){L.return=k.return,k=L;break}k=k.return}L=k}}function RJ($,U,Q,D){$=null;for(var L=U,R=!1;L!==null;){if(!R){if((L.flags&524288)!==0)R=!0;else if((L.flags&262144)!==0)break}if(L.tag===10){var k=L.alternate;if(k===null)throw Error("Should have a current fiber. This is a bug in React.");if(k=k.memoizedProps,k!==null){var f=L.type;B6(L.pendingProps.value,k.value)||($!==null?$.push(f):$=[f])}}else if(L===Uz.current){if(k=L.alternate,k===null)throw Error("Should have a current fiber. This is a bug in React.");k.memoizedState.memoizedState!==L.memoizedState.memoizedState&&($!==null?$.push(pG):$=[pG])}L=L.return}$!==null&&j8(U,$,Q,D),U.flags|=262144}function GZ($){for($=$.firstContext;$!==null;){if(!B6($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function PX($){Fz=$,eJ=null,$=$.dependencies,$!==null&&($.firstContext=null)}function SU($){return $Q&&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()."),wA(Fz,$)}function ZZ($,U){return Fz===null&&PX($),wA($,U)}function wA($,U){var Q=U._currentValue;if(U={context:U,memoizedValue:Q,next:null},eJ===null){if($===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().");eJ=U,$.dependencies={lanes:0,firstContext:U,_debugThenableState:null},$.flags|=524288}else eJ=eJ.next=U;return Q}function B8(){return{controller:new ok,data:new Map,refCount:0}}function RX($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function _Y($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&ik(rk,function(){$.controller.abort()})}function I1($,U,Q){if(($&127)!==0)0>R1&&(R1=$6(),KG=Mz(U),n9=U,Q!=null&&(o9=t(Q)),(n$&(Z6|V4))!==V6&&(fU=!0,bI=OG),$=dY(),U=lY(),$!==UQ||U!==WG?UQ=-1.1:U!==null&&(bI=OG),gX=$,WG=U);else if(($&4194048)!==0&&0>B4&&(B4=$6(),VG=Mz(U),gR=U,Q!=null&&(wR=t(Q)),0>s1)){if($=dY(),U=lY(),$!==hI||U!==wX)hI=-1.1;cI=$,wX=U}}function Dv($){if(0>R1){R1=$6(),KG=$._debugTask!=null?$._debugTask:null,(n$&(Z6|V4))!==V6&&(bI=OG);var U=dY(),Q=lY();U!==UQ||Q!==WG?UQ=-1.1:Q!==null&&(bI=OG),gX=U,WG=Q}if(0>B4&&(B4=$6(),VG=$._debugTask!=null?$._debugTask:null,0>s1)){if($=dY(),U=lY(),$!==hI||U!==wX)hI=-1.1;cI=$,wX=U}}function h1(){var $=xX;return xX=0,$}function zZ($){var U=xX;return xX=$,U}function qY($){var U=xX;return xX+=$,U}function OZ(){T$=C$=-1.1}function I4(){var $=C$;return C$=-1.1,$}function X4($){0<=$&&(C$=$)}function X1(){var $=kU;return kU=-0,$}function J1($){0<=$&&(kU=$)}function Q1(){var $=jU;return jU=null,$}function Y1(){var $=fU;return fU=!1,$}function N8($){N6=$6(),0>$.actualStartTime&&($.actualStartTime=N6)}function v8($){if(0<=N6){var U=$6()-N6;$.actualDuration+=U,$.selfBaseDuration=U,N6=-1}}function fA($){if(0<=N6){var U=$6()-N6;$.actualDuration+=U,N6=-1}}function G1(){if(0<=N6){var $=$6(),U=$-N6;N6=-1,xX+=U,kU+=U,T$=$}}function yA($){jU===null&&(jU=[]),jU.push($),a1===null&&(a1=[]),a1.push($)}function Z1(){N6=$6(),0>C$&&(C$=N6)}function EY($){for(var U=$.child;U;)$.actualDuration+=U.actualDuration,U=U.sibling}function Hv($,U){if(HG===null){var Q=HG=[];r9=0,fX=cW(),IQ={status:"pending",value:void 0,then:function(D){Q.push(D)}}}return r9++,U.then(uA,uA),U}function uA(){if(--r9===0&&(-1<B4||(s1=-1.1),HG!==null)){IQ!==null&&(IQ.status="fulfilled");var $=HG;HG=null,fX=0,IQ=null;for(var U=0;U<$.length;U++)(0,$[U])()}}function Fv($,U){var Q=[],D={status:"pending",value:null,reason:null,then:function(L){Q.push(L)}};return $.then(function(){D.status="fulfilled",D.value=U;for(var L=0;L<Q.length;L++)(0,Q[L])(U)},function(L){D.status="rejected",D.reason=L;for(L=0;L<Q.length;L++)(0,Q[L])(void 0)}),D}function k8(){var $=yX.current;return $!==null?$:ZU.pooledCache}function KZ($,U){U===null?V(yX,yX.current,$):V(yX,U.pool,$)}function bA(){var $=k8();return $===null?null:{parent:eU._currentValue,pool:$}}function cA(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function hA($){return $=$.status,$==="fulfilled"||$==="rejected"}function pA($,U,Q){u0.actQueue!==null&&(u0.didUsePromise=!0);var D=$.thenables;if(Q=D[Q],Q===void 0?D.push(U):Q!==U&&($.didWarnAboutUncachedPromise||($.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.")),U.then(y1,y1),U=Q),U._debugInfo===void 0){$=performance.now(),D=U.displayName;var L={name:typeof D==="string"?D:"Promise",start:$,end:$,value:U};U._debugInfo=[{awaited:L}],U.status!=="fulfilled"&&U.status!=="rejected"&&($=function(){L.end=performance.now()},U.then($,$))}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,lA($),$;default:if(typeof U.status==="string")U.then(y1,y1);else{if($=ZU,$!==null&&100<$.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.");$=U,$.status="pending",$.then(function(R){if(U.status==="pending"){var k=U;k.status="fulfilled",k.value=R}},function(R){if(U.status==="pending"){var k=U;k.status="rejected",k.reason=R}})}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,lA($),$}throw bX=U,PG=!0,XQ}}function AI($){try{return ek($)}catch(U){if(U!==null&&typeof U==="object"&&typeof U.then==="function")throw bX=U,PG=!0,XQ;throw U}}function mA(){if(bX===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=bX;return bX=null,PG=!1,$}function lA($){if($===XQ||$===qz)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 H6($){var U=k$;return $!=null&&(k$=U===null?$:U.concat($)),U}function x8(){var $=k$;if($!=null){for(var U=$.length-1;0<=U;U--)if($[U].name!=null){var Q=$[U].debugTask;if(Q!=null)return Q}}return null}function WZ($,U,Q){for(var D=Object.keys($.props),L=0;L<D.length;L++){var R=D[L];if(R!=="children"&&R!=="key"){U===null&&(U=JZ($,Q.mode,0),U._debugInfo=k$,U.return=Q),J0(U,function(k){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k)},R);break}}}function VZ($){var U=RG;return RG+=1,JQ===null&&(JQ=cA()),pA(JQ,$,U)}function SY($,U){U=U.props.ref,$.ref=U!==void 0?U:null}function dA($,U){if(U.$$typeof===k3)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(U),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function DZ($,U){var Q=x8();Q!==null?Q.run(dA.bind(null,$,U)):dA($,U)}function nA($,U){var Q=t($)||"Component";U_[Q]||(U_[Q]=!0,U=U.displayName||U.name||"Component",$.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.
|
|
97
|
+
root.render(%s)`,U,U,U):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.
|
|
98
|
+
<%s>{%s}</%s>`,U,U,Q,U,Q))}function HZ($,U){var Q=x8();Q!==null?Q.run(nA.bind(null,$,U)):nA($,U)}function oA($,U){var Q=t($)||"Component";I_[Q]||(I_[Q]=!0,U=String(U),$.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,U):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,Q,U,Q))}function FZ($,U){var Q=x8();Q!==null?Q.run(oA.bind(null,$,U)):oA($,U)}function iA($){function U(z0,D0){if($){var C0=z0.deletions;C0===null?(z0.deletions=[D0],z0.flags|=16):C0.push(D0)}}function Q(z0,D0){if(!$)return null;for(;D0!==null;)U(z0,D0),D0=D0.sibling;return null}function D(z0){for(var D0=new Map;z0!==null;)z0.key!==null?D0.set(z0.key,z0):D0.set(z0.index,z0),z0=z0.sibling;return D0}function L(z0,D0){return z0=u1(z0,D0),z0.index=0,z0.sibling=null,z0}function R(z0,D0,C0){if(z0.index=C0,!$)return z0.flags|=1048576,D0;if(C0=z0.alternate,C0!==null)return C0=C0.index,C0<D0?(z0.flags|=67108866,D0):C0;return z0.flags|=67108866,D0}function k(z0){return $&&z0.alternate===null&&(z0.flags|=67108866),z0}function f(z0,D0,C0,l0){if(D0===null||D0.tag!==6)return D0=T8(C0,z0.mode,l0),D0.return=z0,D0._debugOwner=z0,D0._debugTask=z0._debugTask,D0._debugInfo=k$,D0;return D0=L(D0,C0),D0.return=z0,D0._debugInfo=k$,D0}function l(z0,D0,C0,l0){var W$=C0.type;if(W$===uJ)return D0=P0(z0,D0,C0.props.children,l0,C0.key),WZ(C0,D0,z0),D0;if(D0!==null&&(D0.elementType===W$||_A(D0,C0)||typeof W$==="object"&&W$!==null&&W$.$$typeof===G4&&AI(W$)===D0.type))return D0=L(D0,C0.props),SY(D0,C0),D0.return=z0,D0._debugOwner=C0._owner,D0._debugInfo=k$,D0;return D0=JZ(C0,z0.mode,l0),SY(D0,C0),D0.return=z0,D0._debugInfo=k$,D0}function o(z0,D0,C0,l0){if(D0===null||D0.tag!==4||D0.stateNode.containerInfo!==C0.containerInfo||D0.stateNode.implementation!==C0.implementation)return D0=P8(C0,z0.mode,l0),D0.return=z0,D0._debugInfo=k$,D0;return D0=L(D0,C0.children||[]),D0.return=z0,D0._debugInfo=k$,D0}function P0(z0,D0,C0,l0,W$){if(D0===null||D0.tag!==7)return D0=AX(C0,z0.mode,l0,W$),D0.return=z0,D0._debugOwner=z0,D0._debugTask=z0._debugTask,D0._debugInfo=k$,D0;return D0=L(D0,C0),D0.return=z0,D0._debugInfo=k$,D0}function R0(z0,D0,C0){if(typeof D0==="string"&&D0!==""||typeof D0==="number"||typeof D0==="bigint")return D0=T8(""+D0,z0.mode,C0),D0.return=z0,D0._debugOwner=z0,D0._debugTask=z0._debugTask,D0._debugInfo=k$,D0;if(typeof D0==="object"&&D0!==null){switch(D0.$$typeof){case H1:return C0=JZ(D0,z0.mode,C0),SY(C0,D0),C0.return=z0,z0=H6(D0._debugInfo),C0._debugInfo=k$,k$=z0,C0;case yJ:return D0=P8(D0,z0.mode,C0),D0.return=z0,D0._debugInfo=k$,D0;case G4:var l0=H6(D0._debugInfo);return D0=AI(D0),z0=R0(z0,D0,C0),k$=l0,z0}if(Y6(D0)||H0(D0))return C0=AX(D0,z0.mode,C0,null),C0.return=z0,C0._debugOwner=z0,C0._debugTask=z0._debugTask,z0=H6(D0._debugInfo),C0._debugInfo=k$,k$=z0,C0;if(typeof D0.then==="function")return l0=H6(D0._debugInfo),z0=R0(z0,VZ(D0),C0),k$=l0,z0;if(D0.$$typeof===F1)return R0(z0,ZZ(z0,D0),C0);DZ(z0,D0)}return typeof D0==="function"&&HZ(z0,D0),typeof D0==="symbol"&&FZ(z0,D0),null}function V0(z0,D0,C0,l0){var W$=D0!==null?D0.key:null;if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return W$!==null?null:f(z0,D0,""+C0,l0);if(typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case H1:return C0.key===W$?(W$=H6(C0._debugInfo),z0=l(z0,D0,C0,l0),k$=W$,z0):null;case yJ:return C0.key===W$?o(z0,D0,C0,l0):null;case G4:return W$=H6(C0._debugInfo),C0=AI(C0),z0=V0(z0,D0,C0,l0),k$=W$,z0}if(Y6(C0)||H0(C0)){if(W$!==null)return null;return W$=H6(C0._debugInfo),z0=P0(z0,D0,C0,l0,null),k$=W$,z0}if(typeof C0.then==="function")return W$=H6(C0._debugInfo),z0=V0(z0,D0,VZ(C0),l0),k$=W$,z0;if(C0.$$typeof===F1)return V0(z0,D0,ZZ(z0,C0),l0);DZ(z0,C0)}return typeof C0==="function"&&HZ(z0,C0),typeof C0==="symbol"&&FZ(z0,C0),null}function k0(z0,D0,C0,l0,W$){if(typeof l0==="string"&&l0!==""||typeof l0==="number"||typeof l0==="bigint")return z0=z0.get(C0)||null,f(D0,z0,""+l0,W$);if(typeof l0==="object"&&l0!==null){switch(l0.$$typeof){case H1:return C0=z0.get(l0.key===null?C0:l0.key)||null,z0=H6(l0._debugInfo),D0=l(D0,C0,l0,W$),k$=z0,D0;case yJ:return z0=z0.get(l0.key===null?C0:l0.key)||null,o(D0,z0,l0,W$);case G4:var _$=H6(l0._debugInfo);return l0=AI(l0),D0=k0(z0,D0,C0,l0,W$),k$=_$,D0}if(Y6(l0)||H0(l0))return C0=z0.get(C0)||null,z0=H6(l0._debugInfo),D0=P0(D0,C0,l0,W$,null),k$=z0,D0;if(typeof l0.then==="function")return _$=H6(l0._debugInfo),D0=k0(z0,D0,C0,VZ(l0),W$),k$=_$,D0;if(l0.$$typeof===F1)return k0(z0,D0,C0,ZZ(D0,l0),W$);DZ(D0,l0)}return typeof l0==="function"&&HZ(D0,l0),typeof l0==="symbol"&&FZ(D0,l0),null}function K$(z0,D0,C0,l0){if(typeof C0!=="object"||C0===null)return l0;switch(C0.$$typeof){case H1:case yJ:E(z0,D0,C0);var W$=C0.key;if(typeof W$!=="string")break;if(l0===null){l0=new Set,l0.add(W$);break}if(!l0.has(W$)){l0.add(W$);break}J0(D0,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 — the behavior is unsupported and could change in a future version.",W$)});break;case G4:C0=AI(C0),K$(z0,D0,C0,l0)}return l0}function H$(z0,D0,C0,l0){for(var W$=null,_$=null,A$=null,M$=D0,N$=D0=0,PU=null;M$!==null&&N$<C0.length;N$++){M$.index>N$?(PU=M$,M$=null):PU=M$.sibling;var sU=V0(z0,M$,C0[N$],l0);if(sU===null){M$===null&&(M$=PU);break}W$=K$(z0,sU,C0[N$],W$),$&&M$&&sU.alternate===null&&U(z0,M$),D0=R(sU,D0,N$),A$===null?_$=sU:A$.sibling=sU,A$=sU,M$=PU}if(N$===C0.length)return Q(z0,M$),p$&&b1(z0,N$),_$;if(M$===null){for(;N$<C0.length;N$++)M$=R0(z0,C0[N$],l0),M$!==null&&(W$=K$(z0,M$,C0[N$],W$),D0=R(M$,D0,N$),A$===null?_$=M$:A$.sibling=M$,A$=M$);return p$&&b1(z0,N$),_$}for(M$=D(M$);N$<C0.length;N$++)PU=k0(M$,z0,N$,C0[N$],l0),PU!==null&&(W$=K$(z0,PU,C0[N$],W$),$&&PU.alternate!==null&&M$.delete(PU.key===null?N$:PU.key),D0=R(PU,D0,N$),A$===null?_$=PU:A$.sibling=PU,A$=PU);return $&&M$.forEach(function(GI){return U(z0,GI)}),p$&&b1(z0,N$),_$}function HU(z0,D0,C0,l0){if(C0==null)throw Error("An iterable object provided no iterator.");for(var W$=null,_$=null,A$=D0,M$=D0=0,N$=null,PU=null,sU=C0.next();A$!==null&&!sU.done;M$++,sU=C0.next()){A$.index>M$?(N$=A$,A$=null):N$=A$.sibling;var GI=V0(z0,A$,sU.value,l0);if(GI===null){A$===null&&(A$=N$);break}PU=K$(z0,GI,sU.value,PU),$&&A$&&GI.alternate===null&&U(z0,A$),D0=R(GI,D0,M$),_$===null?W$=GI:_$.sibling=GI,_$=GI,A$=N$}if(sU.done)return Q(z0,A$),p$&&b1(z0,M$),W$;if(A$===null){for(;!sU.done;M$++,sU=C0.next())A$=R0(z0,sU.value,l0),A$!==null&&(PU=K$(z0,A$,sU.value,PU),D0=R(A$,D0,M$),_$===null?W$=A$:_$.sibling=A$,_$=A$);return p$&&b1(z0,M$),W$}for(A$=D(A$);!sU.done;M$++,sU=C0.next())N$=k0(A$,z0,M$,sU.value,l0),N$!==null&&(PU=K$(z0,N$,sU.value,PU),$&&N$.alternate!==null&&A$.delete(N$.key===null?M$:N$.key),D0=R(N$,D0,M$),_$===null?W$=N$:_$.sibling=N$,_$=N$);return $&&A$.forEach(function(Rx){return U(z0,Rx)}),p$&&b1(z0,M$),W$}function l$(z0,D0,C0,l0){if(typeof C0==="object"&&C0!==null&&C0.type===uJ&&C0.key===null&&(WZ(C0,null,z0),C0=C0.props.children),typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case H1:var W$=H6(C0._debugInfo);$:{for(var _$=C0.key;D0!==null;){if(D0.key===_$){if(_$=C0.type,_$===uJ){if(D0.tag===7){Q(z0,D0.sibling),l0=L(D0,C0.props.children),l0.return=z0,l0._debugOwner=C0._owner,l0._debugInfo=k$,WZ(C0,l0,z0),z0=l0;break $}}else if(D0.elementType===_$||_A(D0,C0)||typeof _$==="object"&&_$!==null&&_$.$$typeof===G4&&AI(_$)===D0.type){Q(z0,D0.sibling),l0=L(D0,C0.props),SY(l0,C0),l0.return=z0,l0._debugOwner=C0._owner,l0._debugInfo=k$,z0=l0;break $}Q(z0,D0);break}else U(z0,D0);D0=D0.sibling}C0.type===uJ?(l0=AX(C0.props.children,z0.mode,l0,C0.key),l0.return=z0,l0._debugOwner=z0,l0._debugTask=z0._debugTask,l0._debugInfo=k$,WZ(C0,l0,z0),z0=l0):(l0=JZ(C0,z0.mode,l0),SY(l0,C0),l0.return=z0,l0._debugInfo=k$,z0=l0)}return z0=k(z0),k$=W$,z0;case yJ:$:{W$=C0;for(C0=W$.key;D0!==null;){if(D0.key===C0)if(D0.tag===4&&D0.stateNode.containerInfo===W$.containerInfo&&D0.stateNode.implementation===W$.implementation){Q(z0,D0.sibling),l0=L(D0,W$.children||[]),l0.return=z0,z0=l0;break $}else{Q(z0,D0);break}else U(z0,D0);D0=D0.sibling}l0=P8(W$,z0.mode,l0),l0.return=z0,z0=l0}return k(z0);case G4:return W$=H6(C0._debugInfo),C0=AI(C0),z0=l$(z0,D0,C0,l0),k$=W$,z0}if(Y6(C0))return W$=H6(C0._debugInfo),z0=H$(z0,D0,C0,l0),k$=W$,z0;if(H0(C0)){if(W$=H6(C0._debugInfo),_$=H0(C0),typeof _$!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var A$=_$.call(C0);if(A$===C0){if(z0.tag!==0||Object.prototype.toString.call(z0.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(A$)!=="[object Generator]")eR||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."),eR=!0}else C0.entries!==_$||e9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),e9=!0);return z0=HU(z0,D0,A$,l0),k$=W$,z0}if(typeof C0.then==="function")return W$=H6(C0._debugInfo),z0=l$(z0,D0,VZ(C0),l0),k$=W$,z0;if(C0.$$typeof===F1)return l$(z0,D0,ZZ(z0,C0),l0);DZ(z0,C0)}if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return W$=""+C0,D0!==null&&D0.tag===6?(Q(z0,D0.sibling),l0=L(D0,W$),l0.return=z0,z0=l0):(Q(z0,D0),l0=T8(W$,z0.mode,l0),l0.return=z0,l0._debugOwner=z0,l0._debugTask=z0._debugTask,l0._debugInfo=k$,z0=l0),k(z0);return typeof C0==="function"&&HZ(z0,C0),typeof C0==="symbol"&&FZ(z0,C0),Q(z0,D0)}return function(z0,D0,C0,l0){var W$=k$;k$=null;try{RG=0;var _$=l$(z0,D0,C0,l0);return JQ=null,_$}catch(PU){if(PU===XQ||PU===qz)throw PU;var A$=_(29,PU,null,z0.mode);A$.lanes=l0,A$.return=z0;var M$=A$._debugInfo=k$;if(A$._debugOwner=z0._debugOwner,A$._debugTask=z0._debugTask,M$!=null){for(var N$=M$.length-1;0<=N$;N$--)if(typeof M$[N$].stack==="string"){A$._debugOwner=M$[N$],A$._debugTask=M$[N$].debugTask;break}}return A$}finally{k$=W$}}}function rA($,U){var Q=Y6($);return $=!Q&&typeof H0($)==="function",Q||$?(Q=Q?"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>",Q,U,Q),!1):!0}function g8($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function w8($,U){$=$.updateQueue,U.updateQueue===$&&(U.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function CI($){return{lane:$,tag:J_,payload:null,callback:null,next:null}}function TI($,U,Q){var D=$.updateQueue;if(D===null)return null;if(D=D.shared,UV===D&&!G_){var L=t($);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.
|
|
101
|
+
|
|
102
|
+
Please update the following component: %s`,L),G_=!0}if((n$&Z6)!==V6)return L=D.pending,L===null?U.next=U:(U.next=L.next,L.next=U),D.pending=U,U=XZ($),RA($,null,Q),U;return IZ($,D,U,Q),XZ($)}function jY($,U,Q){if(U=U.updateQueue,U!==null&&(U=U.shared,(Q&4194048)!==0)){var D=U.lanes;D&=$.pendingLanes,Q|=D,U.lanes=Q,h0($,Q)}}function MZ($,U){var{updateQueue:Q,alternate:D}=$;if(D!==null&&(D=D.updateQueue,Q===D)){var L=null,R=null;if(Q=Q.firstBaseUpdate,Q!==null){do{var k={lane:Q.lane,tag:Q.tag,payload:Q.payload,callback:null,next:null};R===null?L=R=k:R=R.next=k,Q=Q.next}while(Q!==null);R===null?L=R=U:R=R.next=U}else L=R=U;Q={baseState:D.baseState,firstBaseUpdate:L,lastBaseUpdate:R,shared:D.shared,callbacks:D.callbacks},$.updateQueue=Q;return}$=Q.lastBaseUpdate,$===null?Q.firstBaseUpdate=U:$.next=U,Q.lastBaseUpdate=U}function BY(){if(IV){var $=IQ;if($!==null)throw $}}function NY($,U,Q,D){IV=!1;var L=$.updateQueue;pI=!1,UV=L.shared;var{firstBaseUpdate:R,lastBaseUpdate:k}=L,f=L.shared.pending;if(f!==null){L.shared.pending=null;var l=f,o=l.next;l.next=null,k===null?R=o:k.next=o,k=l;var P0=$.alternate;P0!==null&&(P0=P0.updateQueue,f=P0.lastBaseUpdate,f!==k&&(f===null?P0.firstBaseUpdate=o:f.next=o,P0.lastBaseUpdate=l))}if(R!==null){var R0=L.baseState;k=0,P0=o=l=null,f=R;do{var V0=f.lane&-536870913,k0=V0!==f.lane;if(k0?(x$&V0)===V0:(D&V0)===V0){V0!==0&&V0===fX&&(IV=!0),P0!==null&&(P0=P0.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});$:{V0=$;var K$=f,H$=U,HU=Q;switch(K$.tag){case Q_:if(K$=K$.payload,typeof K$==="function"){$Q=!0;var l$=K$.call(HU,R0,H$);if(V0.mode&R6){v0(!0);try{K$.call(HU,R0,H$)}finally{v0(!1)}}$Q=!1,R0=l$;break $}R0=K$;break $;case $V:V0.flags=V0.flags&-65537|128;case J_:if(l$=K$.payload,typeof l$==="function"){if($Q=!0,K$=l$.call(HU,R0,H$),V0.mode&R6){v0(!0);try{l$.call(HU,R0,H$)}finally{v0(!1)}}$Q=!1}else K$=l$;if(K$===null||K$===void 0)break $;R0=y$({},R0,K$);break $;case Y_:pI=!0}}V0=f.callback,V0!==null&&($.flags|=64,k0&&($.flags|=8192),k0=L.callbacks,k0===null?L.callbacks=[V0]:k0.push(V0))}else k0={lane:V0,tag:f.tag,payload:f.payload,callback:f.callback,next:null},P0===null?(o=P0=k0,l=R0):P0=P0.next=k0,k|=V0;if(f=f.next,f===null)if(f=L.shared.pending,f===null)break;else k0=f,f=k0.next,k0.next=null,L.lastBaseUpdate=k0,L.shared.pending=null}while(1);P0===null&&(l=R0),L.baseState=l,L.firstBaseUpdate=o,L.lastBaseUpdate=P0,R===null&&(L.shared.lanes=0),dI|=k,$.lanes=k,$.memoizedState=R0}UV=null}function tA($,U){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(U)}function Mv($,U){var Q=$.shared.hiddenCallbacks;if(Q!==null)for($.shared.hiddenCallbacks=null,$=0;$<Q.length;$++)tA(Q[$],U)}function aA($,U){var Q=$.callbacks;if(Q!==null)for($.callbacks=null,$=0;$<Q.length;$++)tA(Q[$],U)}function sA($,U){var Q=E1;V(Sz,Q,$),V(QQ,U,$),E1=Q|U.baseLanes}function f8($){V(Sz,E1,$),V(QQ,QQ.current,$)}function y8($){E1=Sz.current,G(QQ,$),G(Sz,$)}function PI($){var U=$.alternate;V(aU,aU.current&YQ,$),V(K4,$,$),N4===null&&(U===null||QQ.current!==null?N4=$:U.memoizedState!==null&&(N4=$))}function u8($){V(aU,aU.current,$),V(K4,$,$),N4===null&&(N4=$)}function eA($){$.tag===22?(V(aU,aU.current,$),V(K4,$,$),N4===null&&(N4=$)):RI($)}function RI($){V(aU,aU.current,$),V(K4,K4.current,$)}function J4($){G(K4,$),N4===$&&(N4=null),G(aU,$)}function LZ($){for(var U=$;U!==null;){if(U.tag===13){var Q=U.memoizedState;if(Q!==null&&(Q=Q.dehydrated,Q===null||aW(Q)||sW(Q)))return U}else if(U.tag===19&&(U.memoizedProps.revealOrder==="forwards"||U.memoizedProps.revealOrder==="backwards"||U.memoizedProps.revealOrder==="unstable_legacy-backwards"||U.memoizedProps.revealOrder==="together")){if((U.flags&128)!==0)return U}else if(U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return null;U=U.return}U.sibling.return=U.return,U=U.sibling}return null}function f$(){var $=w0;k4===null?k4=[$]:k4.push($)}function G$(){var $=w0;if(k4!==null&&(II++,k4[II]!==$)){var U=t(R$);if(!Z_.has(U)&&(Z_.add(U),k4!==null)){for(var Q="",D=0;D<=II;D++){var L=k4[D],R=D===II?$:L;for(L=D+1+". "+L;30>L.length;)L+=" ";L+=R+`
|
|
103
|
+
`,Q+=L}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
|
|
104
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,U,Q)}}}function _J($){$===void 0||$===null||Y6($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",w0,typeof $)}function AZ(){var $=t(R$);O_.has($)||(O_.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function dU(){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:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function b8($,U){if(EG)return!1;if(U===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.",w0),!1;$.length!==U.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,w0,"["+U.join(", ")+"]","["+$.join(", ")+"]");for(var Q=0;Q<U.length&&Q<$.length;Q++)if(!B6($[Q],U[Q]))return!1;return!0}function c8($,U,Q,D,L,R){if($I=R,R$=U,k4=$!==null?$._debugHookTypes:null,II=-1,EG=$!==null&&$.type!==U.type,Object.prototype.toString.call(Q)==="[object AsyncFunction]"||Object.prototype.toString.call(Q)==="[object AsyncGeneratorFunction]")R=t(R$),XV.has(R)||(XV.add(R),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.",R===null?"An unknown Component":"<"+R+">"));U.memoizedState=null,U.updateQueue=null,U.lanes=0,u0.H=$!==null&&$.memoizedState!==null?QV:k4!==null?K_:JV,hX=R=(U.mode&R6)!==P$;var k=t9(Q,D,L);if(hX=!1,ZQ&&(k=h8(U,Q,D,L)),R){v0(!0);try{k=h8(U,Q,D,L)}finally{v0(!1)}}return $C($,U),k}function $C($,U){U._debugHookTypes=k4,U.dependencies===null?UI!==null&&(U.dependencies={lanes:0,firstContext:null,_debugThenableState:UI}):U.dependencies._debugThenableState=UI,u0.H=SG;var Q=GU!==null&&GU.next!==null;if($I=0,k4=w0=U6=GU=R$=null,II=-1,$!==null&&($.flags&65011712)!==(U.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Bz=!1,qG=0,UI=null,Q)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||I6||($=$.dependencies,$!==null&&GZ($)&&(I6=!0)),PG?(PG=!1,$=!0):$=!1,$&&(U=t(U)||"Unknown",z_.has(U)||XV.has(U)||(z_.add(U),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 h8($,U,Q,D){R$=$;var L=0;do{if(ZQ&&(UI=null),qG=0,ZQ=!1,L>=Ux)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(L+=1,EG=!1,U6=GU=null,$.updateQueue!=null){var R=$.updateQueue;R.lastEffect=null,R.events=null,R.stores=null,R.memoCache!=null&&(R.memoCache.index=0)}II=-1,u0.H=W_,R=t9(U,Q,D)}while(ZQ);return R}function Lv(){var $=u0.H,U=$.useState()[0];return U=typeof U.then==="function"?vY(U):U,$=$.useState()[0],(GU!==null?GU.memoizedState:null)!==$&&(R$.flags|=1024),U}function p8(){var $=Nz!==0;return Nz=0,$}function m8($,U,Q){U.updateQueue=$.updateQueue,U.flags=(U.mode&l4)!==P$?U.flags&-402655237:U.flags&-2053,$.lanes&=~Q}function l8($){if(Bz){for($=$.memoizedState;$!==null;){var U=$.queue;U!==null&&(U.pending=null),$=$.next}Bz=!1}$I=0,k4=U6=GU=R$=null,II=-1,w0=null,ZQ=!1,qG=Nz=0,UI=null}function q6(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return U6===null?R$.memoizedState=U6=$:U6=U6.next=$,U6}function UU(){if(GU===null){var $=R$.alternate;$=$!==null?$.memoizedState:null}else $=GU.next;var U=U6===null?R$.memoizedState:U6.next;if(U!==null)U6=U,GU=$;else{if($===null){if(R$.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}GU=$,$={memoizedState:GU.memoizedState,baseState:GU.baseState,baseQueue:GU.baseQueue,queue:GU.queue,next:null},U6===null?R$.memoizedState=U6=$:U6=U6.next=$}return U6}function CZ(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vY($){var U=qG;return qG+=1,UI===null&&(UI=cA()),$=pA(UI,$,U),U=R$,(U6===null?U.memoizedState:U6.next)===null&&(U=U.alternate,u0.H=U!==null&&U.memoizedState!==null?QV:JV),$}function _I($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return vY($);if($.$$typeof===F1)return SU($)}throw Error("An unsupported type was passed to use(): "+String($))}function _X($){var U=null,Q=R$.updateQueue;if(Q!==null&&(U=Q.memoCache),U==null){var D=R$.alternate;D!==null&&(D=D.updateQueue,D!==null&&(D=D.memoCache,D!=null&&(U={data:D.data.map(function(L){return L.slice()}),index:0})))}if(U==null&&(U={data:[],index:0}),Q===null&&(Q=CZ(),R$.updateQueue=Q),Q.memoCache=U,Q=U.data[U.index],Q===void 0||EG)for(Q=U.data[U.index]=Array($),D=0;D<$;D++)Q[D]=x3;else Q.length!==$&&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.",Q.length,$);return U.index++,Q}function c4($,U){return typeof U==="function"?U($):U}function d8($,U,Q){var D=q6();if(Q!==void 0){var L=Q(U);if(hX){v0(!0);try{Q(U)}finally{v0(!1)}}}else L=U;return D.memoizedState=D.baseState=L,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:L},D.queue=$,$=$.dispatch=Rv.bind(null,R$,$),[D.memoizedState,$]}function qJ($){var U=UU();return n8(U,GU,$)}function n8($,U,Q){var D=$.queue;if(D===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");D.lastRenderedReducer=Q;var L=$.baseQueue,R=D.pending;if(R!==null){if(L!==null){var k=L.next;L.next=R.next,R.next=k}U.baseQueue!==L&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),U.baseQueue=L=R,D.pending=null}if(R=$.baseState,L===null)$.memoizedState=R;else{U=L.next;var f=k=null,l=null,o=U,P0=!1;do{var R0=o.lane&-536870913;if(R0!==o.lane?(x$&R0)===R0:($I&R0)===R0){var V0=o.revertLane;if(V0===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null}),R0===fX&&(P0=!0);else if(($I&V0)===V0){o=o.next,V0===fX&&(P0=!0);continue}else R0={lane:0,revertLane:o.revertLane,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=R0,k=R):l=l.next=R0,R$.lanes|=V0,dI|=V0;R0=o.action,hX&&Q(R,R0),R=o.hasEagerState?o.eagerState:Q(R,R0)}else V0={lane:R0,revertLane:o.revertLane,gesture:o.gesture,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=V0,k=R):l=l.next=V0,R$.lanes|=R0,dI|=R0;o=o.next}while(o!==null&&o!==U);if(l===null?k=R:l.next=f,!B6(R,$.memoizedState)&&(I6=!0,P0&&(Q=IQ,Q!==null)))throw Q;$.memoizedState=R,$.baseState=k,$.baseQueue=l,D.lastRenderedState=R}return L===null&&(D.lanes=0),[$.memoizedState,D.dispatch]}function kY($){var U=UU(),Q=U.queue;if(Q===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Q.lastRenderedReducer=$;var{dispatch:D,pending:L}=Q,R=U.memoizedState;if(L!==null){Q.pending=null;var k=L=L.next;do R=$(R,k.action),k=k.next;while(k!==L);B6(R,U.memoizedState)||(I6=!0),U.memoizedState=R,U.baseQueue===null&&(U.baseState=R),Q.lastRenderedState=R}return[R,D]}function o8($,U,Q){var D=R$,L=q6();if(p$){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var R=Q();GQ||R===Q()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),GQ=!0)}else{if(R=U(),GQ||(Q=U(),B6(R,Q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),GQ=!0)),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(x$&127)!==0||UC(D,U,R)}return L.memoizedState=R,Q={value:R,getSnapshot:U},L.queue=Q,_Z(XC.bind(null,D,Q,$),[$]),D.flags|=2048,SJ(v4|k6,{destroy:void 0},IC.bind(null,D,Q,R,U),null),R}function TZ($,U,Q){var D=R$,L=UU(),R=p$;if(R){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Q=Q()}else if(Q=U(),!GQ){var k=U();B6(Q,k)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),GQ=!0)}if(k=!B6((GU||L).memoizedState,Q))L.memoizedState=Q,I6=!0;L=L.queue;var f=XC.bind(null,D,L,$);if(m6(2048,k6,f,[$]),L.getSnapshot!==U||k||U6!==null&&U6.memoizedState.tag&v4){if(D.flags|=2048,SJ(v4|k6,{destroy:void 0},IC.bind(null,D,L,Q,U),null),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");R||($I&127)!==0||UC(D,U,Q)}return Q}function UC($,U,Q){$.flags|=16384,$={getSnapshot:U,value:Q},U=R$.updateQueue,U===null?(U=CZ(),R$.updateQueue=U,U.stores=[$]):(Q=U.stores,Q===null?U.stores=[$]:Q.push($))}function IC($,U,Q,D){U.value=Q,U.getSnapshot=D,JC(U)&&QC($)}function XC($,U,Q){return Q(function(){JC(U)&&(I1(2,"updateSyncExternalStore()",$),QC($))})}function JC($){var U=$.getSnapshot;$=$.value;try{var Q=U();return!B6($,Q)}catch(D){return!0}}function QC($){var U=T6($,2);U!==null&&wU(U,$,2)}function i8($){var U=q6();if(typeof $==="function"){var Q=$;if($=Q(),hX){v0(!0);try{Q()}finally{v0(!1)}}}return U.memoizedState=U.baseState=$,U.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:c4,lastRenderedState:$},U}function r8($){$=i8($);var U=$.queue,Q=_C.bind(null,R$,U);return U.dispatch=Q,[$.memoizedState,Q]}function t8($){var U=q6();U.memoizedState=U.baseState=$;var Q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return U.queue=Q,U=OW.bind(null,R$,!0,Q),Q.dispatch=U,[$,U]}function YC($,U){var Q=UU();return GC(Q,GU,$,U)}function GC($,U,Q,D){return $.baseState=Q,n8($,GU,typeof D==="function"?D:c4)}function ZC($,U){var Q=UU();if(GU!==null)return GC(Q,GU,$,U);return Q.baseState=$,[$,Q.queue.dispatch]}function Av($,U,Q,D,L){if(NZ($))throw Error("Cannot update form state while rendering.");if($=U.action,$!==null){var R={payload:L,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){R.listeners.push(k)}};u0.T!==null?Q(!0):R.isTransition=!1,D(R),Q=U.pending,Q===null?(R.next=U.pending=R,zC(U,R)):(R.next=Q.next,U.pending=Q.next=R)}}function zC($,U){var{action:Q,payload:D}=U,L=$.state;if(U.isTransition){var R=u0.T,k={};k._updatedFibers=new Set,u0.T=k;try{var f=Q(L,D),l=u0.S;l!==null&&l(k,f),OC($,U,f)}catch(o){a8($,U,o)}finally{R!==null&&k.types!==null&&(R.types!==null&&R.types!==k.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."),R.types=k.types),u0.T=R,R===null&&k._updatedFibers&&($=k._updatedFibers.size,k._updatedFibers.clear(),10<$&&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{k=Q(L,D),OC($,U,k)}catch(o){a8($,U,o)}}function OC($,U,Q){Q!==null&&typeof Q==="object"&&typeof Q.then==="function"?(u0.asyncTransitions++,Q.then(BZ,BZ),Q.then(function(D){KC($,U,D)},function(D){return a8($,U,D)}),U.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.")):KC($,U,Q)}function KC($,U,Q){U.status="fulfilled",U.value=Q,WC(U),$.state=Q,U=$.pending,U!==null&&(Q=U.next,Q===U?$.pending=null:(Q=Q.next,U.next=Q,zC($,Q)))}function a8($,U,Q){var D=$.pending;if($.pending=null,D!==null){D=D.next;do U.status="rejected",U.reason=Q,WC(U),U=U.next;while(U!==D)}$.action=null}function WC($){$=$.listeners;for(var U=0;U<$.length;U++)(0,$[U])()}function VC($,U){return U}function EJ($,U){if(p$){var Q=ZU.formState;if(Q!==null){$:{var D=R$;if(p$){if(TU){U:{var L=TU;for(var R=j4;L.nodeType!==8;){if(!R){L=null;break U}if(L=Y4(L.nextSibling),L===null){L=null;break U}}R=L.data,L=R===jV||R===a_?L:null}if(L){TU=Y4(L.nextSibling),D=L.data===jV;break $}}MI(D)}D=!1}D&&(U=Q[0])}}return Q=q6(),Q.memoizedState=Q.baseState=U,D={pending:null,lanes:0,dispatch:null,lastRenderedReducer:VC,lastRenderedState:U},Q.queue=D,Q=_C.bind(null,R$,D),D.dispatch=Q,D=i8(!1),R=OW.bind(null,R$,!1,D.queue),D=q6(),L={state:U,dispatch:null,action:$,pending:null},D.queue=L,Q=Av.bind(null,R$,L,R,Q),L.dispatch=Q,D.memoizedState=$,[U,Q,!1]}function PZ($){var U=UU();return DC(U,GU,$)}function DC($,U,Q){if(U=n8($,U,VC)[0],$=qJ(c4)[0],typeof U==="object"&&U!==null&&typeof U.then==="function")try{var D=vY(U)}catch(k){if(k===XQ)throw qz;throw k}else D=U;U=UU();var L=U.queue,R=L.dispatch;return Q!==U.memoizedState&&(R$.flags|=2048,SJ(v4|k6,{destroy:void 0},Cv.bind(null,L,Q),null)),[D,R,$]}function Cv($,U){$.action=U}function RZ($){var U=UU(),Q=GU;if(Q!==null)return DC(U,Q,$);UU(),U=U.memoizedState,Q=UU();var D=Q.queue.dispatch;return Q.memoizedState=$,[U,D,!1]}function SJ($,U,Q,D){return $={tag:$,create:Q,deps:D,inst:U,next:null},U=R$.updateQueue,U===null&&(U=CZ(),R$.updateQueue=U),Q=U.lastEffect,Q===null?U.lastEffect=$.next=$:(D=Q.next,Q.next=$,$.next=D,U.lastEffect=$),$}function s8($){var U=q6();return $={current:$},U.memoizedState=$}function qX($,U,Q,D){var L=q6();R$.flags|=$,L.memoizedState=SJ(v4|U,{destroy:void 0},Q,D===void 0?null:D)}function m6($,U,Q,D){var L=UU();D=D===void 0?null:D;var R=L.memoizedState.inst;GU!==null&&D!==null&&b8(D,GU.memoizedState.deps)?L.memoizedState=SJ(U,R,Q,D):(R$.flags|=$,L.memoizedState=SJ(v4|U,R,Q,D))}function _Z($,U){(R$.mode&l4)!==P$?qX(276826112,k6,$,U):qX(8390656,k6,$,U)}function Tv($){R$.flags|=4;var U=R$.updateQueue;if(U===null)U=CZ(),R$.updateQueue=U,U.events=[$];else{var Q=U.events;Q===null?U.events=[$]:Q.push($)}}function e8($){var U=q6(),Q={impl:$};return U.memoizedState=Q,function(){if((n$&Z6)!==V6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Q.impl.apply(void 0,arguments)}}function qZ($){var U=UU().memoizedState;return Tv({ref:U,nextImpl:$}),function(){if((n$&Z6)!==V6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return U.impl.apply(void 0,arguments)}}function $W($,U){var Q=4194308;return(R$.mode&l4)!==P$&&(Q|=134217728),qX(Q,W4,$,U)}function HC($,U){if(typeof U==="function"){$=$();var Q=U($);return function(){typeof Q==="function"?Q():U(null)}}if(U!==null&&U!==void 0)return U.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(U).join(", ")+"}"),$=$(),U.current=$,function(){U.current=null}}function UW($,U,Q){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Q=Q!==null&&Q!==void 0?Q.concat([$]):null;var D=4194308;(R$.mode&l4)!==P$&&(D|=134217728),qX(D,W4,HC.bind(null,U,$),Q)}function EZ($,U,Q){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Q=Q!==null&&Q!==void 0?Q.concat([$]):null,m6(4,W4,HC.bind(null,U,$),Q)}function IW($,U){return q6().memoizedState=[$,U===void 0?null:U],$}function SZ($,U){var Q=UU();U=U===void 0?null:U;var D=Q.memoizedState;if(U!==null&&b8(U,D[1]))return D[0];return Q.memoizedState=[$,U],$}function XW($,U){var Q=q6();U=U===void 0?null:U;var D=$();if(hX){v0(!0);try{$()}finally{v0(!1)}}return Q.memoizedState=[D,U],D}function jZ($,U){var Q=UU();U=U===void 0?null:U;var D=Q.memoizedState;if(U!==null&&b8(U,D[1]))return D[0];if(D=$(),hX){v0(!0);try{$()}finally{v0(!1)}}return Q.memoizedState=[D,U],D}function JW($,U){var Q=q6();return QW(Q,$,U)}function FC($,U){var Q=UU();return LC(Q,GU.memoizedState,$,U)}function MC($,U){var Q=UU();return GU===null?QW(Q,$,U):LC(Q,GU.memoizedState,$,U)}function QW($,U,Q){if(Q===void 0||($I&1073741824)!==0&&(x$&261930)===0)return $.memoizedState=U;return $.memoizedState=Q,$=AT(),R$.lanes|=$,dI|=$,Q}function LC($,U,Q,D){if(B6(Q,U))return Q;if(QQ.current!==null)return $=QW($,Q,D),B6($,U)||(I6=!0),$;if(($I&42)===0||($I&1073741824)!==0&&(x$&261930)===0)return I6=!0,$.memoizedState=Q;return $=AT(),R$.lanes|=$,dI|=$,U}function BZ(){u0.asyncTransitions--}function AC($,U,Q,D,L){var R=s$.p;s$.p=R!==0&&R<m4?R:m4;var k=u0.T,f={};f._updatedFibers=new Set,u0.T=f,OW($,!1,U,Q);try{var l=L(),o=u0.S;if(o!==null&&o(f,l),l!==null&&typeof l==="object"&&typeof l.then==="function"){u0.asyncTransitions++,l.then(BZ,BZ);var P0=Fv(l,D);xY($,U,P0,Q4($))}else xY($,U,D,Q4($))}catch(R0){xY($,U,{then:function(){},status:"rejected",reason:R0},Q4($))}finally{s$.p=R,k!==null&&f.types!==null&&(k.types!==null&&k.types!==f.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."),k.types=f.types),u0.T=k,k===null&&f._updatedFibers&&($=f._updatedFibers.size,f._updatedFibers.clear(),10<$&&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 YW($,U,Q,D){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var L=CC($).queue;Dv($),AC($,L,U,sX,Q===null?q:function(){return TC($),Q(D)})}function CC($){var U=$.memoizedState;if(U!==null)return U;U={memoizedState:sX,baseState:sX,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:c4,lastRenderedState:sX},next:null};var Q={};return U.next={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:c4,lastRenderedState:Q},next:null},$.memoizedState=U,$=$.alternate,$!==null&&($.memoizedState=U),U}function TC($){u0.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var U=CC($);U.next===null&&(U=$.alternate.memoizedState),xY($,U.next.queue,{},Q4($))}function GW(){var $=i8(!1);return $=AC.bind(null,R$,$.queue,!0,!1),q6().memoizedState=$,[!1,$]}function PC(){var $=qJ(c4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:vY($),U]}function RC(){var $=kY(c4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:vY($),U]}function EX(){return SU(pG)}function ZW(){var $=q6(),U=ZU.identifierPrefix;if(p$){var Q=r1,D=i1;Q=(D&~(1<<32-E6(D)-1)).toString(32)+Q,U="_"+U+"R_"+Q,Q=Nz++,0<Q&&(U+="H"+Q.toString(32)),U+="_"}else Q=$x++,U="_"+U+"r_"+Q.toString(32)+"_";return $.memoizedState=U}function zW(){return q6().memoizedState=Pv.bind(null,R$)}function Pv($,U){for(var Q=$.return;Q!==null;){switch(Q.tag){case 24:case 3:var D=Q4(Q),L=CI(D),R=TI(Q,L,D);R!==null&&(I1(D,"refresh()",$),wU(R,Q,D),jY(R,Q,D)),$=B8(),U!==null&&U!==void 0&&R!==null&&console.error("The seed argument is not enabled outside experimental channels."),L.payload={cache:$};return}Q=Q.return}}function Rv($,U,Q){var D=arguments;typeof D[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()."),D=Q4($);var L={lane:D,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};NZ($)?qC(U,L):(L=M8($,U,L,D),L!==null&&(I1(D,"dispatch()",$),wU(L,$,D),EC(L,U,D)))}function _C($,U,Q){var D=arguments;typeof D[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()."),D=Q4($),xY($,U,Q,D)&&I1(D,"setState()",$)}function xY($,U,Q,D){var L={lane:D,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};if(NZ($))qC(U,L);else{var R=$.alternate;if($.lanes===0&&(R===null||R.lanes===0)&&(R=U.lastRenderedReducer,R!==null)){var k=u0.H;u0.H=n4;try{var f=U.lastRenderedState,l=R(f,Q);if(L.hasEagerState=!0,L.eagerState=l,B6(l,f))return IZ($,U,L,0),ZU===null&&UZ(),!1}catch(o){}finally{u0.H=k}}if(Q=M8($,U,L,D),Q!==null)return wU(Q,$,D),EC(Q,U,D),!0}return!1}function OW($,U,Q,D){if(u0.T===null&&fX===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."),D={lane:2,revertLane:cW(),gesture:null,action:D,hasEagerState:!1,eagerState:null,next:null},NZ($)){if(U)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else U=M8($,Q,D,2),U!==null&&(I1(2,"setOptimistic()",$),wU(U,$,2))}function NZ($){var U=$.alternate;return $===R$||U!==null&&U===R$}function qC($,U){ZQ=Bz=!0;var Q=$.pending;Q===null?U.next=U:(U.next=Q.next,Q.next=U),$.pending=U}function EC($,U,Q){if((Q&4194048)!==0){var D=U.lanes;D&=$.pendingLanes,Q|=D,U.lanes=Q,h0($,Q)}}function KW($){if($!==null&&typeof $!=="function"){var U=String($);R_.has(U)||(R_.add(U),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function WW($,U,Q,D){var L=$.memoizedState,R=Q(D,L);if($.mode&R6){v0(!0);try{R=Q(D,L)}finally{v0(!1)}}R===void 0&&(U=M0(U)||"Component",A_.has(U)||(A_.add(U),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",U))),L=R===null||R===void 0?L:y$({},L,R),$.memoizedState=L,$.lanes===0&&($.updateQueue.baseState=L)}function SC($,U,Q,D,L,R,k){var f=$.stateNode;if(typeof f.shouldComponentUpdate==="function"){if(Q=f.shouldComponentUpdate(D,R,k),$.mode&R6){v0(!0);try{Q=f.shouldComponentUpdate(D,R,k)}finally{v0(!1)}}return Q===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",M0(U)||"Component"),Q}return U.prototype&&U.prototype.isPureReactComponent?!TY(Q,D)||!TY(L,R):!0}function jC($,U,Q,D){var L=U.state;typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps(Q,D),typeof U.UNSAFE_componentWillReceiveProps==="function"&&U.UNSAFE_componentWillReceiveProps(Q,D),U.state!==L&&($=t($)||"Component",D_.has($)||(D_.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),YV.enqueueReplaceState(U,U.state,null))}function SX($,U){var Q=U;if("ref"in U){Q={};for(var D in U)D!=="ref"&&(Q[D]=U[D])}if($=$.defaultProps){Q===U&&(Q=y$({},Q));for(var L in $)Q[L]===void 0&&(Q[L]=$[L])}return Q}function BC($){y9($),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,zQ?"An error occurred in the <"+zQ+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function NC($){var U=zQ?"The above error occurred in the <"+zQ+"> component.":"The above error occurred in one of your React components.",Q="React will try to recreate this component tree from scratch using the error boundary you provided, "+((GV||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var D=$.environmentName;$=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,$,U,Q].slice(0),typeof $[0]==="string"?$.splice(0,1,Qq+" "+$[0],Yq,UO+D+UO,Gq):$.splice(0,0,Qq,Yq,UO+D+UO,Gq),$.unshift(console),D=Tx.apply(console.error,$),D()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,$,U,Q)}function vC($){y9($)}function vZ($,U){try{zQ=U.source?t(U.source):null,GV=null;var Q=U.value;if(u0.actQueue!==null)u0.thrownErrors.push(Q);else{var D=$.onUncaughtError;D(Q,{componentStack:U.stack})}}catch(L){setTimeout(function(){throw L})}}function kC($,U,Q){try{zQ=Q.source?t(Q.source):null,GV=t(U);var D=$.onCaughtError;D(Q.value,{componentStack:Q.stack,errorBoundary:U.tag===1?U.stateNode:null})}catch(L){setTimeout(function(){throw L})}}function VW($,U,Q){return Q=CI(Q),Q.tag=$V,Q.payload={element:null},Q.callback=function(){J0(U.source,vZ,$,U)},Q}function DW($){return $=CI($),$.tag=$V,$}function HW($,U,Q,D){var L=Q.type.getDerivedStateFromError;if(typeof L==="function"){var R=D.value;$.payload=function(){return L(R)},$.callback=function(){qA(Q),J0(D.source,kC,U,Q,D)}}var k=Q.stateNode;k!==null&&typeof k.componentDidCatch==="function"&&($.callback=function(){qA(Q),J0(D.source,kC,U,Q,D),typeof L!=="function"&&(oI===null?oI=new Set([this]):oI.add(this)),tk(this,D),typeof L==="function"||(Q.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.",t(Q)||"Unknown")})}function _v($,U,Q,D,L){if(Q.flags|=32768,A1&&hY($,L),D!==null&&typeof D==="object"&&typeof D.then==="function"){if(U=Q.alternate,U!==null&&RJ(U,Q,L,!0),p$&&(P1=!0),Q=K4.current,Q!==null){switch(Q.tag){case 31:case 13:return N4===null?cZ():Q.alternate===null&&xU===JI&&(xU=xz),Q.flags&=-257,Q.flags|=65536,Q.lanes=L,D===Ez?Q.flags|=16384:(U=Q.updateQueue,U===null?Q.updateQueue=new Set([D]):U.add(D),fW($,D,L)),!1;case 22:return Q.flags|=65536,D===Ez?Q.flags|=16384:(U=Q.updateQueue,U===null?(U={transitions:null,markerInstances:null,retryQueue:new Set([D])},Q.updateQueue=U):(Q=U.retryQueue,Q===null?U.retryQueue=new Set([D]):Q.add(D)),fW($,D,L)),!1}throw Error("Unexpected Suspense handler tag ("+Q.tag+"). This is a bug in React.")}return fW($,D,L),cZ(),!1}if(p$)return P1=!0,U=K4.current,U!==null?((U.flags&65536)===0&&(U.flags|=256),U.flags|=65536,U.lanes=L,D!==m9&&RY(U4(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:D}),Q))):(D!==m9&&RY(U4(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:D}),Q)),$=$.current.alternate,$.flags|=65536,L&=-L,$.lanes|=L,D=U4(D,Q),L=VW($.stateNode,D,L),MZ($,L),xU!==mI&&(xU=pX)),!1;var R=U4(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:D}),Q);if(xG===null?xG=[R]:xG.push(R),xU!==mI&&(xU=pX),U===null)return!0;D=U4(D,Q),Q=U;do{switch(Q.tag){case 3:return Q.flags|=65536,$=L&-L,Q.lanes|=$,$=VW(Q.stateNode,D,$),MZ(Q,$),!1;case 1:if(U=Q.type,R=Q.stateNode,(Q.flags&128)===0&&(typeof U.getDerivedStateFromError==="function"||R!==null&&typeof R.componentDidCatch==="function"&&(oI===null||!oI.has(R))))return Q.flags|=65536,L&=-L,Q.lanes|=L,L=DW(L),HW(L,$,Q,D),MZ(Q,L),!1}Q=Q.return}while(Q!==null);return!1}function F6($,U,Q,D){U.child=$===null?X_(U,null,Q,D):cX(U,$.child,Q,D)}function xC($,U,Q,D,L){Q=Q.render;var R=U.ref;if("ref"in D){var k={};for(var f in D)f!=="ref"&&(k[f]=D[f])}else k=D;if(PX(U),D=c8($,U,Q,k,R,L),f=p8(),$!==null&&!I6)return m8($,U,L),p1($,U,L);return p$&&f&&R8(U),U.flags|=1,F6($,U,D,L),U.child}function gC($,U,Q,D,L){if($===null){var R=Q.type;if(typeof R==="function"&&!A8(R)&&R.defaultProps===void 0&&Q.compare===null)return Q=LX(R),U.tag=15,U.type=Q,MW(U,R),wC($,U,Q,D,L);return $=C8(Q.type,null,D,U,U.mode,L),$.ref=U.ref,$.return=U,U.child=$}if(R=$.child,!RW($,L)){var k=R.memoizedProps;if(Q=Q.compare,Q=Q!==null?Q:TY,Q(k,D)&&$.ref===U.ref)return p1($,U,L)}return U.flags|=1,$=u1(R,D),$.ref=U.ref,$.return=U,U.child=$}function wC($,U,Q,D,L){if($!==null){var R=$.memoizedProps;if(TY(R,D)&&$.ref===U.ref&&U.type===$.type)if(I6=!1,U.pendingProps=D=R,RW($,L))($.flags&131072)!==0&&(I6=!0);else return U.lanes=$.lanes,p1($,U,L)}return FW($,U,Q,D,L)}function fC($,U,Q,D){var L=D.children,R=$!==null?$.memoizedState:null;if($===null&&U.stateNode===null&&(U.stateNode={_visibility:ZG,_pendingMarkers:null,_retryCache:null,_transitions:null}),D.mode==="hidden"){if((U.flags&128)!==0){if(R=R!==null?R.baseLanes|Q:Q,$!==null){D=U.child=$.child;for(L=0;D!==null;)L=L|D.lanes|D.childLanes,D=D.sibling;D=L&~R}else D=0,U.child=null;return yC($,U,R,Q,D)}if((Q&536870912)!==0)U.memoizedState={baseLanes:0,cachePool:null},$!==null&&KZ(U,R!==null?R.cachePool:null),R!==null?sA(U,R):f8(U),eA(U);else return D=U.lanes=536870912,yC($,U,R!==null?R.baseLanes|Q:Q,Q,D)}else R!==null?(KZ(U,R.cachePool),sA(U,R),RI(U),U.memoizedState=null):($!==null&&KZ(U,null),f8(U),RI(U));return F6($,U,L,Q),U.child}function gY($,U){return $!==null&&$.tag===22||U.stateNode!==null||(U.stateNode={_visibility:ZG,_pendingMarkers:null,_retryCache:null,_transitions:null}),U.sibling}function yC($,U,Q,D,L){var R=k8();return R=R===null?null:{parent:eU._currentValue,pool:R},U.memoizedState={baseLanes:Q,cachePool:R},$!==null&&KZ(U,null),f8(U),eA(U),$!==null&&RJ($,U,D,!0),U.childLanes=L,null}function kZ($,U){var Q=U.hidden;return Q!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,Q===!0?"hidden":Q===!1?"hidden={false}":"hidden={...}",Q?'mode="hidden"':'mode="visible"'),U=gZ({mode:U.mode,children:U.children},$.mode),U.ref=$.ref,$.child=U,U.return=$,U}function uC($,U,Q){return cX(U,$.child,null,Q),$=kZ(U,U.pendingProps),$.flags|=2,J4(U),U.memoizedState=null,$}function qv($,U,Q){var D=U.pendingProps,L=(U.flags&128)!==0;if(U.flags&=-129,$===null){if(p$){if(D.mode==="hidden")return $=kZ(U,D),U.lanes=536870912,gY(null,$);if(u8(U),($=TU)?(Q=zP($,j4),Q=Q!==null&&Q.data===iX?Q:null,Q!==null&&(D={dehydrated:Q,treeContext:NA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=D,D=jA(Q),D.return=U,U.child=D,A6=U,TU=null)):Q=null,Q===null)throw QZ(U,$),MI(U);return U.lanes=536870912,null}return kZ(U,D)}var R=$.memoizedState;if(R!==null){var k=R.dehydrated;if(u8(U),L)if(U.flags&256)U.flags&=-257,U=uC($,U,Q);else if(U.memoizedState!==null)U.child=$.child,U.flags|=128,U=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(kA(),(Q&536870912)!==0&&bZ(U),I6||RJ($,U,Q,!1),L=(Q&$.childLanes)!==0,I6||L){if(D=ZU,D!==null&&(k=QU(D,Q),k!==0&&k!==R.retryLane))throw R.retryLane=k,T6($,k),wU(D,$,k),ZV;cZ(),U=uC($,U,Q)}else $=R.treeContext,TU=Y4(k.nextSibling),A6=U,p$=!0,fI=null,P1=!1,O4=null,j4=!1,$!==null&&vA(U,$),U=kZ(U,D),U.flags|=4096;return U}return R=$.child,D={mode:D.mode,children:D.children},(Q&536870912)!==0&&(Q&$.lanes)!==0&&bZ(U),$=u1(R,D),$.ref=U.ref,U.child=$,$.return=U,$}function xZ($,U){var Q=U.ref;if(Q===null)$!==null&&$.ref!==null&&(U.flags|=4194816);else{if(typeof Q!=="function"&&typeof Q!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==Q)U.flags|=4194816}}function FW($,U,Q,D,L){if(Q.prototype&&typeof Q.prototype.render==="function"){var R=M0(Q)||"Unknown";__[R]||(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.",R,R),__[R]=!0)}if(U.mode&R6&&d4.recordLegacyContextWarning(U,null),$===null&&(MW(U,U.type),Q.contextTypes&&(R=M0(Q)||"Unknown",E_[R]||(E_[R]=!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)",R)))),PX(U),Q=c8($,U,Q,D,void 0,L),D=p8(),$!==null&&!I6)return m8($,U,L),p1($,U,L);return p$&&D&&R8(U),U.flags|=1,F6($,U,Q,L),U.child}function bC($,U,Q,D,L,R){if(PX(U),II=-1,EG=$!==null&&$.type!==U.type,U.updateQueue=null,Q=h8(U,D,Q,L),$C($,U),D=p8(),$!==null&&!I6)return m8($,U,R),p1($,U,R);return p$&&D&&R8(U),U.flags|=1,F6($,U,Q,R),U.child}function cC($,U,Q,D,L){switch(Z(U)){case!1:var R=U.stateNode,k=new U.type(U.memoizedProps,R.context).state;R.updater.enqueueSetState(R,k,null);break;case!0:U.flags|=128,U.flags|=65536,R=Error("Simulated error coming from DevTools");var f=L&-L;if(U.lanes|=f,k=ZU,k===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f=DW(f),HW(f,k,U,U4(R,U)),MZ(U,f)}if(PX(U),U.stateNode===null){if(k=wI,R=Q.contextType,"contextType"in Q&&R!==null&&(R===void 0||R.$$typeof!==F1)&&!P_.has(Q)&&(P_.add(Q),f=R===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 R!=="object"?" However, it is set to a "+typeof R+".":R.$$typeof===z9?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(R).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",M0(Q)||"Component",f)),typeof R==="object"&&R!==null&&(k=SU(R)),R=new Q(D,k),U.mode&R6){v0(!0);try{R=new Q(D,k)}finally{v0(!1)}}if(k=U.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,R.updater=YV,U.stateNode=R,R._reactInternals=U,R._reactInternalInstance=V_,typeof Q.getDerivedStateFromProps==="function"&&k===null&&(k=M0(Q)||"Component",H_.has(k)||(H_.add(k),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.",k,R.state===null?"null":"undefined",k))),typeof Q.getDerivedStateFromProps==="function"||typeof R.getSnapshotBeforeUpdate==="function"){var l=f=k=null;if(typeof R.componentWillMount==="function"&&R.componentWillMount.__suppressDeprecationWarning!==!0?k="componentWillMount":typeof R.UNSAFE_componentWillMount==="function"&&(k="UNSAFE_componentWillMount"),typeof R.componentWillReceiveProps==="function"&&R.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof R.UNSAFE_componentWillReceiveProps==="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof R.componentWillUpdate==="function"&&R.componentWillUpdate.__suppressDeprecationWarning!==!0?l="componentWillUpdate":typeof R.UNSAFE_componentWillUpdate==="function"&&(l="UNSAFE_componentWillUpdate"),k!==null||f!==null||l!==null){R=M0(Q)||"Component";var o=typeof Q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";M_.has(R)||(M_.add(R),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,R,o,k!==null?`
|
|
137
|
+
`+k:"",f!==null?`
|
|
138
|
+
`+f:"",l!==null?`
|
|
139
|
+
`+l:""))}}R=U.stateNode,k=M0(Q)||"Component",R.render||(Q.prototype&&typeof Q.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",k):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",k)),!R.getInitialState||R.getInitialState.isReactClassApproved||R.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?",k),R.getDefaultProps&&!R.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.",k),R.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",k),Q.childContextTypes&&!T_.has(Q)&&(T_.add(Q),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",k)),Q.contextTypes&&!C_.has(Q)&&(C_.add(Q),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)",k)),typeof R.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.",k),Q.prototype&&Q.prototype.isPureReactComponent&&typeof R.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.",M0(Q)||"A pure component"),typeof R.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",k),typeof R.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().",k),typeof R.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",k),typeof R.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",k),f=R.props!==D,R.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.",k),R.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.",k,k),typeof R.getSnapshotBeforeUpdate!=="function"||typeof R.componentDidUpdate==="function"||F_.has(Q)||(F_.add(Q),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",M0(Q))),typeof R.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof R.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof Q.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",k),(f=R.state)&&(typeof f!=="object"||Y6(f))&&console.error("%s.state: must be set to an object or null",k),typeof R.getChildContext==="function"&&typeof Q.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",k),R=U.stateNode,R.props=D,R.state=U.memoizedState,R.refs={},g8(U),k=Q.contextType,R.context=typeof k==="object"&&k!==null?SU(k):wI,R.state===D&&(k=M0(Q)||"Component",L_.has(k)||(L_.add(k),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.",k))),U.mode&R6&&d4.recordLegacyContextWarning(U,R),d4.recordUnsafeLifecycleWarnings(U,R),R.state=U.memoizedState,k=Q.getDerivedStateFromProps,typeof k==="function"&&(WW(U,Q,k,D),R.state=U.memoizedState),typeof Q.getDerivedStateFromProps==="function"||typeof R.getSnapshotBeforeUpdate==="function"||typeof R.UNSAFE_componentWillMount!=="function"&&typeof R.componentWillMount!=="function"||(k=R.state,typeof R.componentWillMount==="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount==="function"&&R.UNSAFE_componentWillMount(),k!==R.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t(U)||"Component"),YV.enqueueReplaceState(R,R.state,null)),NY(U,D,R,L),BY(),R.state=U.memoizedState),typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l4)!==P$&&(U.flags|=134217728),R=!0}else if($===null){R=U.stateNode;var P0=U.memoizedProps;f=SX(Q,P0),R.props=f;var R0=R.context;l=Q.contextType,k=wI,typeof l==="object"&&l!==null&&(k=SU(l)),o=Q.getDerivedStateFromProps,l=typeof o==="function"||typeof R.getSnapshotBeforeUpdate==="function",P0=U.pendingProps!==P0,l||typeof R.UNSAFE_componentWillReceiveProps!=="function"&&typeof R.componentWillReceiveProps!=="function"||(P0||R0!==k)&&jC(U,R,D,k),pI=!1;var V0=U.memoizedState;R.state=V0,NY(U,D,R,L),BY(),R0=U.memoizedState,P0||V0!==R0||pI?(typeof o==="function"&&(WW(U,Q,o,D),R0=U.memoizedState),(f=pI||SC(U,Q,f,D,V0,R0,k))?(l||typeof R.UNSAFE_componentWillMount!=="function"&&typeof R.componentWillMount!=="function"||(typeof R.componentWillMount==="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount==="function"&&R.UNSAFE_componentWillMount()),typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l4)!==P$&&(U.flags|=134217728)):(typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l4)!==P$&&(U.flags|=134217728),U.memoizedProps=D,U.memoizedState=R0),R.props=D,R.state=R0,R.context=k,R=f):(typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l4)!==P$&&(U.flags|=134217728),R=!1)}else{R=U.stateNode,w8($,U),k=U.memoizedProps,l=SX(Q,k),R.props=l,o=U.pendingProps,V0=R.context,R0=Q.contextType,f=wI,typeof R0==="object"&&R0!==null&&(f=SU(R0)),P0=Q.getDerivedStateFromProps,(R0=typeof P0==="function"||typeof R.getSnapshotBeforeUpdate==="function")||typeof R.UNSAFE_componentWillReceiveProps!=="function"&&typeof R.componentWillReceiveProps!=="function"||(k!==o||V0!==f)&&jC(U,R,D,f),pI=!1,V0=U.memoizedState,R.state=V0,NY(U,D,R,L),BY();var k0=U.memoizedState;k!==o||V0!==k0||pI||$!==null&&$.dependencies!==null&&GZ($.dependencies)?(typeof P0==="function"&&(WW(U,Q,P0,D),k0=U.memoizedState),(l=pI||SC(U,Q,l,D,V0,k0,f)||$!==null&&$.dependencies!==null&&GZ($.dependencies))?(R0||typeof R.UNSAFE_componentWillUpdate!=="function"&&typeof R.componentWillUpdate!=="function"||(typeof R.componentWillUpdate==="function"&&R.componentWillUpdate(D,k0,f),typeof R.UNSAFE_componentWillUpdate==="function"&&R.UNSAFE_componentWillUpdate(D,k0,f)),typeof R.componentDidUpdate==="function"&&(U.flags|=4),typeof R.getSnapshotBeforeUpdate==="function"&&(U.flags|=1024)):(typeof R.componentDidUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=4),typeof R.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=1024),U.memoizedProps=D,U.memoizedState=k0),R.props=D,R.state=k0,R.context=f,R=l):(typeof R.componentDidUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=4),typeof R.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=1024),R=!1)}if(f=R,xZ($,U),k=(U.flags&128)!==0,f||k){if(f=U.stateNode,Z0(U),k&&typeof Q.getDerivedStateFromError!=="function")Q=null,N6=-1;else if(Q=mR(f),U.mode&R6){v0(!0);try{mR(f)}finally{v0(!1)}}U.flags|=1,$!==null&&k?(U.child=cX(U,$.child,null,L),U.child=cX(U,null,Q,L)):F6($,U,Q,L),U.memoizedState=f.state,$=U.child}else $=p1($,U,L);return L=U.stateNode,R&&L.props!==D&&(OQ||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",t(U)||"a component"),OQ=!0),$}function hC($,U,Q,D){return TX(),U.flags|=256,F6($,U,Q,D),U.child}function MW($,U){U&&U.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,U.displayName||U.name||"Component"),typeof U.getDerivedStateFromProps==="function"&&($=M0(U)||"Unknown",S_[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),S_[$]=!0)),typeof U.contextType==="object"&&U.contextType!==null&&(U=M0(U)||"Unknown",q_[U]||(console.error("%s: Function components do not support contextType.",U),q_[U]=!0))}function LW($){return{baseLanes:$,cachePool:bA()}}function AW($,U,Q){return $=$!==null?$.childLanes&~Q:0,U&&($|=i6),$}function pC($,U,Q){var D,L=U.pendingProps;O(U)&&(U.flags|=128);var R=!1,k=(U.flags&128)!==0;if((D=k)||(D=$!==null&&$.memoizedState===null?!1:(aU.current&_G)!==0),D&&(R=!0,U.flags&=-129),D=(U.flags&32)!==0,U.flags&=-33,$===null){if(p$){if(R?PI(U):RI(U),($=TU)?(Q=zP($,j4),Q=Q!==null&&Q.data!==iX?Q:null,Q!==null&&(D={dehydrated:Q,treeContext:NA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=D,D=jA(Q),D.return=U,U.child=D,A6=U,TU=null)):Q=null,Q===null)throw QZ(U,$),MI(U);return sW(Q)?U.lanes=32:U.lanes=536870912,null}var f=L.children;if(L=L.fallback,R){RI(U);var l=U.mode;return f=gZ({mode:"hidden",children:f},l),L=AX(L,l,Q,null),f.return=U,L.return=U,f.sibling=L,U.child=f,L=U.child,L.memoizedState=LW(Q),L.childLanes=AW($,D,Q),U.memoizedState=zV,gY(null,L)}return PI(U),CW(U,f)}var o=$.memoizedState;if(o!==null){var P0=o.dehydrated;if(P0!==null){if(k)U.flags&256?(PI(U),U.flags&=-257,U=TW($,U,Q)):U.memoizedState!==null?(RI(U),U.child=$.child,U.flags|=128,U=null):(RI(U),f=L.fallback,l=U.mode,L=gZ({mode:"visible",children:L.children},l),f=AX(f,l,Q,null),f.flags|=2,L.return=U,f.return=U,L.sibling=f,U.child=L,cX(U,$.child,null,Q),L=U.child,L.memoizedState=LW(Q),L.childLanes=AW($,D,Q),U.memoizedState=zV,U=gY(null,L));else if(PI(U),kA(),(Q&536870912)!==0&&bZ(U),sW(P0)){if(D=P0.nextSibling&&P0.nextSibling.dataset,D){f=D.dgst;var R0=D.msg;l=D.stck;var V0=D.cstck}R=R0,D=f,L=l,P0=V0,f=R,l=P0,f=f?Error(f):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),f.stack=L||"",f.digest=D,D=l===void 0?null:l,L={value:f,source:null,stack:D},typeof D==="string"&&p9.set(f,L),RY(L),U=TW($,U,Q)}else if(I6||RJ($,U,Q,!1),D=(Q&$.childLanes)!==0,I6||D){if(D=ZU,D!==null&&(L=QU(D,Q),L!==0&&L!==o.retryLane))throw o.retryLane=L,T6($,L),wU(D,$,L),ZV;aW(P0)||cZ(),U=TW($,U,Q)}else aW(P0)?(U.flags|=192,U.child=$.child,U=null):($=o.treeContext,TU=Y4(P0.nextSibling),A6=U,p$=!0,fI=null,P1=!1,O4=null,j4=!1,$!==null&&vA(U,$),U=CW(U,L.children),U.flags|=4096);return U}}if(R)return RI(U),f=L.fallback,l=U.mode,V0=$.child,P0=V0.sibling,L=u1(V0,{mode:"hidden",children:L.children}),L.subtreeFlags=V0.subtreeFlags&65011712,P0!==null?f=u1(P0,f):(f=AX(f,l,Q,null),f.flags|=2),f.return=U,L.return=U,L.sibling=f,U.child=L,gY(null,L),L=U.child,f=$.child.memoizedState,f===null?f=LW(Q):(l=f.cachePool,l!==null?(V0=eU._currentValue,l=l.parent!==V0?{parent:V0,pool:V0}:l):l=bA(),f={baseLanes:f.baseLanes|Q,cachePool:l}),L.memoizedState=f,L.childLanes=AW($,D,Q),U.memoizedState=zV,gY($.child,L);return o!==null&&(Q&62914560)===Q&&(Q&$.lanes)!==0&&bZ(U),PI(U),Q=$.child,$=Q.sibling,Q=u1(Q,{mode:"visible",children:L.children}),Q.return=U,Q.sibling=null,$!==null&&(D=U.deletions,D===null?(U.deletions=[$],U.flags|=16):D.push($)),U.child=Q,U.memoizedState=null,Q}function CW($,U){return U=gZ({mode:"visible",children:U},$.mode),U.return=$,$.child=U}function gZ($,U){return $=_(22,$,null,U),$.lanes=0,$}function TW($,U,Q){return cX(U,$.child,null,Q),$=CW(U,U.pendingProps.children),$.flags|=2,U.memoizedState=null,$}function mC($,U,Q){$.lanes|=U;var D=$.alternate;D!==null&&(D.lanes|=U),S8($.return,U,Q)}function PW($,U,Q,D,L,R){var k=$.memoizedState;k===null?$.memoizedState={isBackwards:U,rendering:null,renderingStartTime:0,last:D,tail:Q,tailMode:L,treeForkCount:R}:(k.isBackwards=U,k.rendering=null,k.renderingStartTime=0,k.last=D,k.tail=Q,k.tailMode=L,k.treeForkCount=R)}function lC($,U,Q){var D=U.pendingProps,L=D.revealOrder,R=D.tail,k=D.children,f=aU.current;if((D=(f&_G)!==0)?(f=f&YQ|_G,U.flags|=128):f&=YQ,V(aU,f,U),f=L==null?"null":L,L!=="forwards"&&L!=="unstable_legacy-backwards"&&L!=="together"&&L!=="independent"&&!j_[f])if(j_[f]=!0,L==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(L==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof L==="string")switch(L.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',L,L.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.',L,L.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',L)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',L);if(f=R==null?"null":R,!kz[f])if(R==null){if(L==="forwards"||L==="backwards"||L==="unstable_legacy-backwards")kz[f]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else R!=="visible"&&R!=="collapsed"&&R!=="hidden"?(kz[f]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',R)):L!=="forwards"&&L!=="backwards"&&L!=="unstable_legacy-backwards"&&(kz[f]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',R));$:if((L==="forwards"||L==="backwards"||L==="unstable_legacy-backwards")&&k!==void 0&&k!==null&&k!==!1)if(Y6(k)){for(f=0;f<k.length;f++)if(!rA(k[f],f))break $}else if(f=H0(k),typeof f==="function"){if(f=f.call(k))for(var l=f.next(),o=0;!l.done;l=f.next()){if(!rA(l.value,o))break $;o++}}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?',L);if(F6($,U,k,Q),p$?(FI(),k=zG):k=0,!D&&$!==null&&($.flags&128)!==0)$:for($=U.child;$!==null;){if($.tag===13)$.memoizedState!==null&&mC($,Q,U);else if($.tag===19)mC($,Q,U);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===U)break $;for(;$.sibling===null;){if($.return===null||$.return===U)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(L){case"forwards":Q=U.child;for(L=null;Q!==null;)$=Q.alternate,$!==null&&LZ($)===null&&(L=Q),Q=Q.sibling;Q=L,Q===null?(L=U.child,U.child=null):(L=Q.sibling,Q.sibling=null),PW(U,!1,L,Q,R,k);break;case"backwards":case"unstable_legacy-backwards":Q=null,L=U.child;for(U.child=null;L!==null;){if($=L.alternate,$!==null&&LZ($)===null){U.child=L;break}$=L.sibling,L.sibling=Q,Q=L,L=$}PW(U,!0,Q,null,R,k);break;case"together":PW(U,!1,null,null,void 0,k);break;default:U.memoizedState=null}return U.child}function p1($,U,Q){if($!==null&&(U.dependencies=$.dependencies),N6=-1,dI|=U.lanes,(Q&U.childLanes)===0)if($!==null){if(RJ($,U,Q,!1),(Q&U.childLanes)===0)return null}else return null;if($!==null&&U.child!==$.child)throw Error("Resuming work not yet implemented.");if(U.child!==null){$=U.child,Q=u1($,$.pendingProps),U.child=Q;for(Q.return=U;$.sibling!==null;)$=$.sibling,Q=Q.sibling=u1($,$.pendingProps),Q.return=U;Q.sibling=null}return U.child}function RW($,U){if(($.lanes&U)!==0)return!0;return $=$.dependencies,$!==null&&GZ($)?!0:!1}function Ev($,U,Q){switch(U.tag){case 3:W(U,U.stateNode.containerInfo),LI(U,eU,$.memoizedState.cache),TX();break;case 27:case 5:S(U);break;case 4:W(U,U.stateNode.containerInfo);break;case 10:LI(U,U.type,U.memoizedProps.value);break;case 12:(Q&U.childLanes)!==0&&(U.flags|=4),U.flags|=2048;var D=U.stateNode;D.effectDuration=-0,D.passiveEffectDuration=-0;break;case 31:if(U.memoizedState!==null)return U.flags|=128,u8(U),null;break;case 13:if(D=U.memoizedState,D!==null){if(D.dehydrated!==null)return PI(U),U.flags|=128,null;if((Q&U.child.childLanes)!==0)return pC($,U,Q);return PI(U),$=p1($,U,Q),$!==null?$.sibling:null}PI(U);break;case 19:var L=($.flags&128)!==0;if(D=(Q&U.childLanes)!==0,D||(RJ($,U,Q,!1),D=(Q&U.childLanes)!==0),L){if(D)return lC($,U,Q);U.flags|=128}if(L=U.memoizedState,L!==null&&(L.rendering=null,L.tail=null,L.lastEffect=null),V(aU,aU.current,U),D)break;else return null;case 22:return U.lanes=0,fC($,U,Q,U.pendingProps);case 24:LI(U,eU,$.memoizedState.cache)}return p1($,U,Q)}function _W($,U,Q){if(U._debugNeedsRemount&&$!==null){Q=C8(U.type,U.key,U.pendingProps,U._debugOwner||null,U.mode,U.lanes),Q._debugStack=U._debugStack,Q._debugTask=U._debugTask;var D=U.return;if(D===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,U.alternate=null,Q.index=U.index,Q.sibling=U.sibling,Q.return=U.return,Q.ref=U.ref,Q._debugInfo=U._debugInfo,U===D.child)D.child=Q;else{var L=D.child;if(L===null)throw Error("Expected parent to have a child.");for(;L.sibling!==U;)if(L=L.sibling,L===null)throw Error("Expected to find the previous sibling.");L.sibling=Q}return U=D.deletions,U===null?(D.deletions=[$],D.flags|=16):U.push($),Q.flags|=2,Q}if($!==null)if($.memoizedProps!==U.pendingProps||U.type!==$.type)I6=!0;else{if(!RW($,Q)&&(U.flags&128)===0)return I6=!1,Ev($,U,Q);I6=($.flags&131072)!==0?!0:!1}else{if(I6=!1,D=p$)FI(),D=(U.flags&1048576)!==0;D&&(D=U.index,FI(),BA(U,zG,D))}switch(U.lanes=0,U.tag){case 16:$:if(D=U.pendingProps,$=AI(U.elementType),U.type=$,typeof $==="function")A8($)?(D=SX($,D),U.tag=1,U.type=$=LX($),U=cC(null,U,$,D,Q)):(U.tag=0,MW(U,$),U.type=$=LX($),U=FW(null,U,$,D,Q));else{if($!==void 0&&$!==null){if(L=$.$$typeof,L===tY){U.tag=11,U.type=$=L8($),U=xC(null,U,$,D,Q);break $}else if(L===$z){U.tag=14,U=gC(null,U,$,D,Q);break $}}throw U="",$!==null&&typeof $==="object"&&$.$$typeof===G4&&(U=" Did you wrap a component in React.lazy() more than once?"),Q=M0($)||$,Error("Element type is invalid. Received a promise that resolves to: "+Q+". Lazy element type must resolve to a class or function."+U)}return U;case 0:return FW($,U,U.type,U.pendingProps,Q);case 1:return D=U.type,L=SX(D,U.pendingProps),cC($,U,D,L,Q);case 3:$:{if(W(U,U.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");D=U.pendingProps;var R=U.memoizedState;L=R.element,w8($,U),NY(U,D,null,Q);var k=U.memoizedState;if(D=k.cache,LI(U,eU,D),D!==R.cache&&j8(U,[eU],Q,!0),BY(),D=k.element,R.isDehydrated)if(R={element:D,isDehydrated:!1,cache:k.cache},U.updateQueue.baseState=R,U.memoizedState=R,U.flags&256){U=hC($,U,D,Q);break $}else if(D!==L){L=U4(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),U),RY(L),U=hC($,U,D,Q);break $}else{switch($=U.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}TU=Y4($.firstChild),A6=U,p$=!0,fI=null,P1=!1,O4=null,j4=!0,Q=X_(U,null,D,Q);for(U.child=Q;Q;)Q.flags=Q.flags&-3|4096,Q=Q.sibling}else{if(TX(),D===L){U=p1($,U,Q);break $}F6($,U,D,Q)}U=U.child}return U;case 26:return xZ($,U),$===null?(Q=HP(U.type,null,U.pendingProps,null))?U.memoizedState=Q:p$||(Q=U.type,$=U.pendingProps,D=F(BI.current),D=lZ(D).createElement(Q),D[L6]=U,D[S6]=$,M6(D,Q,$),V$(D),U.stateNode=D):U.memoizedState=HP(U.type,$.memoizedProps,U.pendingProps,$.memoizedState),null;case 27:return S(U),$===null&&p$&&(D=F(BI.current),L=P(),D=U.stateNode=VP(U.type,U.pendingProps,D,L,!1),P1||(L=UP(D,U.type,U.pendingProps,L),L!==null&&(CX(U,0).serverProps=L)),A6=U,j4=!0,L=TU,SI(U.type)?(kV=L,TU=Y4(D.firstChild)):TU=L),F6($,U,U.pendingProps.children,Q),xZ($,U),$===null&&(U.flags|=4194304),U.child;case 5:return $===null&&p$&&(R=P(),D=O8(U.type,R.ancestorInfo),L=TU,(k=!L)||(k=D3(L,U.type,U.pendingProps,j4),k!==null?(U.stateNode=k,P1||(R=UP(k,U.type,U.pendingProps,R),R!==null&&(CX(U,0).serverProps=R)),A6=U,TU=Y4(k.firstChild),j4=!1,R=!0):R=!1,k=!R),k&&(D&&QZ(U,L),MI(U))),S(U),L=U.type,R=U.pendingProps,k=$!==null?$.memoizedProps:null,D=R.children,rW(L,R)?D=null:k!==null&&rW(L,k)&&(U.flags|=32),U.memoizedState!==null&&(L=c8($,U,Lv,null,null,Q),pG._currentValue=L),xZ($,U),F6($,U,D,Q),U.child;case 6:return $===null&&p$&&(Q=U.pendingProps,$=P(),D=$.ancestorInfo.current,Q=D!=null?r2(Q,D.tag,$.ancestorInfo.implicitRootScope):!0,$=TU,(D=!$)||(D=H3($,U.pendingProps,j4),D!==null?(U.stateNode=D,A6=U,TU=null,D=!0):D=!1,D=!D),D&&(Q&&QZ(U,$),MI(U))),null;case 13:return pC($,U,Q);case 4:return W(U,U.stateNode.containerInfo),D=U.pendingProps,$===null?U.child=cX(U,null,D,Q):F6($,U,D,Q),U.child;case 11:return xC($,U,U.type,U.pendingProps,Q);case 7:return F6($,U,U.pendingProps,Q),U.child;case 8:return F6($,U,U.pendingProps.children,Q),U.child;case 12:return U.flags|=4,U.flags|=2048,D=U.stateNode,D.effectDuration=-0,D.passiveEffectDuration=-0,F6($,U,U.pendingProps.children,Q),U.child;case 10:return D=U.type,L=U.pendingProps,R=L.value,"value"in L||B_||(B_=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),LI(U,D,R),F6($,U,L.children,Q),U.child;case 9:return L=U.type._context,D=U.pendingProps.children,typeof D!=="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."),PX(U),L=SU(L),D=t9(D,L,void 0),U.flags|=1,F6($,U,D,Q),U.child;case 14:return gC($,U,U.type,U.pendingProps,Q);case 15:return wC($,U,U.type,U.pendingProps,Q);case 19:return lC($,U,Q);case 31:return qv($,U,Q);case 22:return fC($,U,Q,U.pendingProps);case 24:return PX(U),D=SU(eU),$===null?(L=k8(),L===null&&(L=ZU,R=B8(),L.pooledCache=R,RX(R),R!==null&&(L.pooledCacheLanes|=Q),L=R),U.memoizedState={parent:D,cache:L},g8(U),LI(U,eU,L)):(($.lanes&Q)!==0&&(w8($,U),NY(U,null,null,Q),BY()),L=$.memoizedState,R=U.memoizedState,L.parent!==D?(L={parent:D,cache:D},U.memoizedState=L,U.lanes===0&&(U.memoizedState=U.updateQueue.baseState=L),LI(U,eU,D)):(D=R.cache,LI(U,eU,D),D!==L.cache&&j8(U,[eU],Q,!0))),F6($,U,U.pendingProps.children,Q),U.child;case 29:throw U.pendingProps}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function m1($){$.flags|=4}function qW($,U,Q,D,L){if(U=($.mode&nk)!==P$)U=!1;if(U){if($.flags|=16777216,(L&335544128)===L)if($.stateNode.complete)$.flags|=8192;else if(RT())$.flags|=8192;else throw bX=Ez,s9}else $.flags&=-16777217}function dC($,U){if(U.type!=="stylesheet"||(U.state.loading&x4)!==aX)$.flags&=-16777217;else if($.flags|=16777216,!CP(U))if(RT())$.flags|=8192;else throw bX=Ez,s9}function wZ($,U){U!==null&&($.flags|=4),$.flags&16384&&(U=$.tag!==22?L$():536870912,$.lanes|=U,dX|=U)}function wY($,U){if(!p$)switch($.tailMode){case"hidden":U=$.tail;for(var Q=null;U!==null;)U.alternate!==null&&(Q=U),U=U.sibling;Q===null?$.tail=null:Q.sibling=null;break;case"collapsed":Q=$.tail;for(var D=null;Q!==null;)Q.alternate!==null&&(D=Q),Q=Q.sibling;D===null?U||$.tail===null?$.tail=null:$.tail.sibling=null:D.sibling=null}}function DU($){var U=$.alternate!==null&&$.alternate.child===$.child,Q=0,D=0;if(U)if(($.mode&v$)!==P$){for(var{selfBaseDuration:L,child:R}=$;R!==null;)Q|=R.lanes|R.childLanes,D|=R.subtreeFlags&65011712,D|=R.flags&65011712,L+=R.treeBaseDuration,R=R.sibling;$.treeBaseDuration=L}else for(L=$.child;L!==null;)Q|=L.lanes|L.childLanes,D|=L.subtreeFlags&65011712,D|=L.flags&65011712,L.return=$,L=L.sibling;else if(($.mode&v$)!==P$){L=$.actualDuration,R=$.selfBaseDuration;for(var k=$.child;k!==null;)Q|=k.lanes|k.childLanes,D|=k.subtreeFlags,D|=k.flags,L+=k.actualDuration,R+=k.treeBaseDuration,k=k.sibling;$.actualDuration=L,$.treeBaseDuration=R}else for(L=$.child;L!==null;)Q|=L.lanes|L.childLanes,D|=L.subtreeFlags,D|=L.flags,L.return=$,L=L.sibling;return $.subtreeFlags|=D,$.childLanes=Q,U}function Sv($,U,Q){var D=U.pendingProps;switch(_8(U),U.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return DU(U),null;case 1:return DU(U),null;case 3:if(Q=U.stateNode,D=null,$!==null&&(D=$.memoizedState.cache),U.memoizedState.cache!==D&&(U.flags|=2048),c1(eU,U),H(U),Q.pendingContext&&(Q.context=Q.pendingContext,Q.pendingContext=null),$===null||$.child===null)PJ(U)?(E8(),m1(U)):$===null||$.memoizedState.isDehydrated&&(U.flags&256)===0||(U.flags|=1024,q8());return DU(U),null;case 26:var{type:L,memoizedState:R}=U;return $===null?(m1(U),R!==null?(DU(U),dC(U,R)):(DU(U),qW(U,L,null,D,Q))):R?R!==$.memoizedState?(m1(U),DU(U),dC(U,R)):(DU(U),U.flags&=-16777217):($=$.memoizedProps,$!==D&&m1(U),DU(U),qW(U,L,$,D,Q)),null;case 27:if(A(U),Q=F(BI.current),L=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==D&&m1(U);else{if(!D){if(U.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 DU(U),null}$=P(),PJ(U)?xA(U,$):($=VP(L,D,Q,$,!0),U.stateNode=$,m1(U))}return DU(U),null;case 5:if(A(U),L=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==D&&m1(U);else{if(!D){if(U.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 DU(U),null}var k=P();if(PJ(U))xA(U,k);else{switch(R=F(BI.current),O8(L,k.ancestorInfo),k=k.context,R=lZ(R),k){case LQ:R=R.createElementNS(pJ,L);break;case sz:R=R.createElementNS(Gz,L);break;default:switch(L){case"svg":R=R.createElementNS(pJ,L);break;case"math":R=R.createElementNS(Gz,L);break;case"script":R=R.createElement("div"),R.innerHTML="<script></script>",R=R.removeChild(R.firstChild);break;case"select":R=typeof D.is==="string"?R.createElement("select",{is:D.is}):R.createElement("select"),D.multiple?R.multiple=!0:D.size&&(R.size=D.size);break;default:R=typeof D.is==="string"?R.createElement(L,{is:D.is}):R.createElement(L),L.indexOf("-")===-1&&(L!==L.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",L),Object.prototype.toString.call(R)!=="[object HTMLUnknownElement]"||p4.call(e_,L)||(e_[L]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",L)))}}R[L6]=U,R[S6]=D;$:for(k=U.child;k!==null;){if(k.tag===5||k.tag===6)R.appendChild(k.stateNode);else if(k.tag!==4&&k.tag!==27&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===U)break $;for(;k.sibling===null;){if(k.return===null||k.return===U)break $;k=k.return}k.sibling.return=k.return,k=k.sibling}U.stateNode=R;$:switch(M6(R,L,D),L){case"button":case"input":case"select":case"textarea":D=!!D.autoFocus;break $;case"img":D=!0;break $;default:D=!1}D&&m1(U)}}return DU(U),qW(U,U.type,$===null?null:$.memoizedProps,U.pendingProps,Q),null;case 6:if($&&U.stateNode!=null)$.memoizedProps!==D&&m1(U);else{if(typeof D!=="string"&&U.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($=F(BI.current),Q=P(),PJ(U)){if($=U.stateNode,Q=U.memoizedProps,L=!P1,D=null,R=A6,R!==null)switch(R.tag){case 3:L&&(L=KP($,Q,D),L!==null&&(CX(U,0).serverProps=L));break;case 27:case 5:D=R.memoizedProps,L&&(L=KP($,Q,D),L!==null&&(CX(U,0).serverProps=L))}$[L6]=U,$=$.nodeValue===Q||D!==null&&D.suppressHydrationWarning===!0||tT($.nodeValue,Q)?!0:!1,$||MI(U,!0)}else L=Q.ancestorInfo.current,L!=null&&r2(D,L.tag,Q.ancestorInfo.implicitRootScope),$=lZ($).createTextNode(D),$[L6]=U,U.stateNode=$}return DU(U),null;case 31:if(Q=U.memoizedState,$===null||$.memoizedState!==null){if(D=PJ(U),Q!==null){if($===null){if(!D)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=U.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[L6]=U,DU(U),(U.mode&v$)!==P$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration))}else E8(),TX(),(U.flags&128)===0&&(Q=U.memoizedState=null),U.flags|=4,DU(U),(U.mode&v$)!==P$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration));$=!1}else Q=q8(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Q),$=!0;if(!$){if(U.flags&256)return J4(U),U;return J4(U),null}if((U.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return DU(U),null;case 13:if(D=U.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(L=D,R=PJ(U),L!==null&&L.dehydrated!==null){if($===null){if(!R)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(R=U.memoizedState,R=R!==null?R.dehydrated:null,!R)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R[L6]=U,DU(U),(U.mode&v$)!==P$&&L!==null&&(L=U.child,L!==null&&(U.treeBaseDuration-=L.treeBaseDuration))}else E8(),TX(),(U.flags&128)===0&&(L=U.memoizedState=null),U.flags|=4,DU(U),(U.mode&v$)!==P$&&L!==null&&(L=U.child,L!==null&&(U.treeBaseDuration-=L.treeBaseDuration));L=!1}else L=q8(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=L),L=!0;if(!L){if(U.flags&256)return J4(U),U;return J4(U),null}}if(J4(U),(U.flags&128)!==0)return U.lanes=Q,(U.mode&v$)!==P$&&EY(U),U;return Q=D!==null,$=$!==null&&$.memoizedState!==null,Q&&(D=U.child,L=null,D.alternate!==null&&D.alternate.memoizedState!==null&&D.alternate.memoizedState.cachePool!==null&&(L=D.alternate.memoizedState.cachePool.pool),R=null,D.memoizedState!==null&&D.memoizedState.cachePool!==null&&(R=D.memoizedState.cachePool.pool),R!==L&&(D.flags|=2048)),Q!==$&&Q&&(U.child.flags|=8192),wZ(U,U.updateQueue),DU(U),(U.mode&v$)!==P$&&Q&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return H(U),$===null&&pW(U.stateNode.containerInfo),DU(U),null;case 10:return c1(U.type,U),DU(U),null;case 19:if(G(aU,U),D=U.memoizedState,D===null)return DU(U),null;if(L=(U.flags&128)!==0,R=D.rendering,R===null)if(L)wY(D,!1);else{if(xU!==JI||$!==null&&($.flags&128)!==0)for($=U.child;$!==null;){if(R=LZ($),R!==null){U.flags|=128,wY(D,!1),$=R.updateQueue,U.updateQueue=$,wZ(U,$),U.subtreeFlags=0,$=Q;for(Q=U.child;Q!==null;)SA(Q,$),Q=Q.sibling;return V(aU,aU.current&YQ|_G,U),p$&&b1(U,D.treeForkCount),U.child}$=$.sibling}D.tail!==null&&O6()>bz&&(U.flags|=128,L=!0,wY(D,!1),U.lanes=4194304)}else{if(!L)if($=LZ(R),$!==null){if(U.flags|=128,L=!0,$=$.updateQueue,U.updateQueue=$,wZ(U,$),wY(D,!0),D.tail===null&&D.tailMode==="hidden"&&!R.alternate&&!p$)return DU(U),null}else 2*O6()-D.renderingStartTime>bz&&Q!==536870912&&(U.flags|=128,L=!0,wY(D,!1),U.lanes=4194304);D.isBackwards?(R.sibling=U.child,U.child=R):($=D.last,$!==null?$.sibling=R:U.child=R,D.last=R)}if(D.tail!==null)return $=D.tail,D.rendering=$,D.tail=$.sibling,D.renderingStartTime=O6(),$.sibling=null,Q=aU.current,Q=L?Q&YQ|_G:Q&YQ,V(aU,Q,U),p$&&b1(U,D.treeForkCount),$;return DU(U),null;case 22:case 23:return J4(U),y8(U),D=U.memoizedState!==null,$!==null?$.memoizedState!==null!==D&&(U.flags|=8192):D&&(U.flags|=8192),D?(Q&536870912)!==0&&(U.flags&128)===0&&(DU(U),U.subtreeFlags&6&&(U.flags|=8192)):DU(U),Q=U.updateQueue,Q!==null&&wZ(U,Q.retryQueue),Q=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),D=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(D=U.memoizedState.cachePool.pool),D!==Q&&(U.flags|=2048),$!==null&&G(yX,U),null;case 24:return Q=null,$!==null&&(Q=$.memoizedState.cache),U.memoizedState.cache!==Q&&(U.flags|=2048),c1(eU,U),DU(U),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function jv($,U){switch(_8(U),U.tag){case 1:return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&v$)!==P$&&EY(U),U):null;case 3:return c1(eU,U),H(U),$=U.flags,($&65536)!==0&&($&128)===0?(U.flags=$&-65537|128,U):null;case 26:case 27:case 5:return A(U),null;case 31:if(U.memoizedState!==null){if(J4(U),U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");TX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&v$)!==P$&&EY(U),U):null;case 13:if(J4(U),$=U.memoizedState,$!==null&&$.dehydrated!==null){if(U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");TX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&v$)!==P$&&EY(U),U):null;case 19:return G(aU,U),null;case 4:return H(U),null;case 10:return c1(U.type,U),null;case 22:case 23:return J4(U),y8(U),$!==null&&G(yX,U),$=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&v$)!==P$&&EY(U),U):null;case 24:return c1(eU,U),null;case 25:return null;default:return null}}function nC($,U){switch(_8(U),U.tag){case 3:c1(eU,U),H(U);break;case 26:case 27:case 5:A(U);break;case 4:H(U);break;case 31:U.memoizedState!==null&&J4(U);break;case 13:J4(U);break;case 19:G(aU,U);break;case 10:c1(U.type,U);break;case 22:case 23:J4(U),y8(U),$!==null&&G(yX,U);break;case 24:c1(eU,U)}}function z1($){return($.mode&v$)!==P$}function oC($,U){z1($)?(Z1(),fY(U,$),G1()):fY(U,$)}function EW($,U,Q){z1($)?(Z1(),jJ(Q,$,U),G1()):jJ(Q,$,U)}function fY($,U){try{var Q=U.updateQueue,D=Q!==null?Q.lastEffect:null;if(D!==null){var L=D.next;Q=L;do{if((Q.tag&$)===$&&(D=void 0,($&v6)!==jz&&(HQ=!0),D=J0(U,ak,Q),($&v6)!==jz&&(HQ=!1),D!==void 0&&typeof D!=="function")){var R=void 0;R=(Q.tag&W4)!==0?"useLayoutEffect":(Q.tag&v6)!==0?"useInsertionEffect":"useEffect";var k=void 0;k=D===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof D.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+R+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+R+`(() => {
|
|
145
|
+
async function fetchData() {
|
|
146
|
+
// You can await here
|
|
147
|
+
const response = await MyAPI.getData(someId);
|
|
148
|
+
// ...
|
|
149
|
+
}
|
|
150
|
+
fetchData();
|
|
151
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
+
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+D,J0(U,function(f,l){console.error("%s must not return anything besides a function, which is used for clean-up.%s",f,l)},R,k)}Q=Q.next}while(Q!==L)}}catch(f){a$(U,U.return,f)}}function jJ($,U,Q){try{var D=U.updateQueue,L=D!==null?D.lastEffect:null;if(L!==null){var R=L.next;D=R;do{if((D.tag&$)===$){var k=D.inst,f=k.destroy;f!==void 0&&(k.destroy=void 0,($&v6)!==jz&&(HQ=!0),L=U,J0(L,sk,L,Q,f),($&v6)!==jz&&(HQ=!1))}D=D.next}while(D!==R)}}catch(l){a$(U,U.return,l)}}function iC($,U){z1($)?(Z1(),fY(U,$),G1()):fY(U,$)}function SW($,U,Q){z1($)?(Z1(),jJ(Q,$,U),G1()):jJ(Q,$,U)}function rC($){var U=$.updateQueue;if(U!==null){var Q=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||OQ||(Q.props!==$.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.",t($)||"instance"),Q.state!==$.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.",t($)||"instance"));try{J0($,aA,U,Q)}catch(D){a$($,$.return,D)}}}function Bv($,U,Q){return $.getSnapshotBeforeUpdate(U,Q)}function Nv($,U){var{memoizedProps:Q,memoizedState:D}=U;U=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||OQ||(U.props!==$.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.",t($)||"instance"),U.state!==$.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.",t($)||"instance"));try{var L=SX($.type,Q),R=J0($,Bv,U,L,D);Q=N_,R!==void 0||Q.has($.type)||(Q.add($.type),J0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",t($))})),U.__reactInternalSnapshotBeforeUpdate=R}catch(k){a$($,$.return,k)}}function tC($,U,Q){Q.props=SX($.type,$.memoizedProps),Q.state=$.memoizedState,z1($)?(Z1(),J0($,rR,$,U,Q),G1()):J0($,rR,$,U,Q)}function vv($){var U=$.ref;if(U!==null){switch($.tag){case 26:case 27:case 5:var Q=$.stateNode;break;case 30:Q=$.stateNode;break;default:Q=$.stateNode}if(typeof U==="function")if(z1($))try{Z1(),$.refCleanup=U(Q)}finally{G1()}else $.refCleanup=U(Q);else typeof U==="string"?console.error("String refs are no longer supported."):U.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",t($)),U.current=Q}}function yY($,U){try{J0($,vv,$)}catch(Q){a$($,U,Q)}}function O1($,U){var{ref:Q,refCleanup:D}=$;if(Q!==null)if(typeof D==="function")try{if(z1($))try{Z1(),J0($,D)}finally{G1($)}else J0($,D)}catch(L){a$($,U,L)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof Q==="function")try{if(z1($))try{Z1(),J0($,Q,null)}finally{G1($)}else J0($,Q,null)}catch(L){a$($,U,L)}else Q.current=null}function aC($,U,Q,D){var L=$.memoizedProps,R=L.id,k=L.onCommit;L=L.onRender,U=U===null?"mount":"update",Pz&&(U="nested-update"),typeof L==="function"&&L(R,U,$.actualDuration,$.treeBaseDuration,$.actualStartTime,Q),typeof k==="function"&&k(R,U,D,Q)}function kv($,U,Q,D){var L=$.memoizedProps;$=L.id,L=L.onPostCommit,U=U===null?"mount":"update",Pz&&(U="nested-update"),typeof L==="function"&&L($,U,D,Q)}function sC($){var{type:U,memoizedProps:Q,stateNode:D}=$;try{J0($,I3,D,U,Q,$)}catch(L){a$($,$.return,L)}}function jW($,U,Q){try{J0($,J3,$.stateNode,$.type,Q,U,$)}catch(D){a$($,$.return,D)}}function eC($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&SI($.type)||$.tag===4}function BW($){$:for(;;){for(;$.sibling===null;){if($.return===null||eC($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&SI($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function NW($,U,Q){var D=$.tag;if(D===5||D===6)$=$.stateNode,U?(YP(Q),(Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q).insertBefore($,U)):(YP(Q),U=Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q,U.appendChild($),Q=Q._reactRootContainer,Q!==null&&Q!==void 0||U.onclick!==null||(U.onclick=y1));else if(D!==4&&(D===27&&SI($.type)&&(Q=$.stateNode,U=null),$=$.child,$!==null))for(NW($,U,Q),$=$.sibling;$!==null;)NW($,U,Q),$=$.sibling}function fZ($,U,Q){var D=$.tag;if(D===5||D===6)$=$.stateNode,U?Q.insertBefore($,U):Q.appendChild($);else if(D!==4&&(D===27&&SI($.type)&&(Q=$.stateNode),$=$.child,$!==null))for(fZ($,U,Q),$=$.sibling;$!==null;)fZ($,U,Q),$=$.sibling}function xv($){for(var U,Q=$.return;Q!==null;){if(eC(Q)){U=Q;break}Q=Q.return}if(U==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(U.tag){case 27:U=U.stateNode,Q=BW($),fZ($,Q,U);break;case 5:Q=U.stateNode,U.flags&32&&(QP(Q),U.flags&=-33),U=BW($),fZ($,U,Q);break;case 3:case 4:U=U.stateNode.containerInfo,Q=BW($),NW($,Q,U);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function $T($){var{stateNode:U,memoizedProps:Q}=$;try{J0($,C3,$.type,Q,U,$)}catch(D){a$($,$.return,D)}}function UT($,U){return U.tag===31?(U=U.memoizedState,$.memoizedState!==null&&U===null):U.tag===13?($=$.memoizedState,U=U.memoizedState,$!==null&&$.dehydrated!==null&&(U===null||U.dehydrated===null)):U.tag===3?$.memoizedState.isDehydrated&&(U.flags&256)===0:!1}function gv($,U){if($=$.containerInfo,BV=IO,$=MA($),V8($)){if("selectionStart"in $)var Q={start:$.selectionStart,end:$.selectionEnd};else $:{Q=(Q=$.ownerDocument)&&Q.defaultView||window;var D=Q.getSelection&&Q.getSelection();if(D&&D.rangeCount!==0){Q=D.anchorNode;var{anchorOffset:L,focusNode:R}=D;D=D.focusOffset;try{Q.nodeType,R.nodeType}catch(K$){Q=null;break $}var k=0,f=-1,l=-1,o=0,P0=0,R0=$,V0=null;U:for(;;){for(var k0;;){if(R0!==Q||L!==0&&R0.nodeType!==3||(f=k+L),R0!==R||D!==0&&R0.nodeType!==3||(l=k+D),R0.nodeType===3&&(k+=R0.nodeValue.length),(k0=R0.firstChild)===null)break;V0=R0,R0=k0}for(;;){if(R0===$)break U;if(V0===Q&&++o===L&&(f=k),V0===R&&++P0===D&&(l=k),(k0=R0.nextSibling)!==null)break;R0=V0,V0=R0.parentNode}R0=k0}Q=f===-1||l===-1?null:{start:f,end:l}}else Q=null}Q=Q||{start:0,end:0}}else Q=null;NV={focusedElem:$,selectionRange:Q},IO=!1;for(W6=U;W6!==null;)if(U=W6,$=U.child,(U.subtreeFlags&1028)!==0&&$!==null)$.return=U,W6=$;else for(;W6!==null;){switch($=U=W6,Q=$.alternate,L=$.flags,$.tag){case 0:if((L&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(Q=0;Q<$.length;Q++)L=$[Q],L.ref.impl=L.nextImpl;break;case 11:case 15:break;case 1:(L&1024)!==0&&Q!==null&&Nv($,Q);break;case 3:if((L&1024)!==0){if($=$.stateNode.containerInfo,Q=$.nodeType,Q===9)tW($);else if(Q===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":tW($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((L&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($=U.sibling,$!==null){$.return=U.return,W6=$;break}W6=U.return}}function IT($,U,Q){var D=I4(),L=X1(),R=Q1(),k=Y1(),f=Q.flags;switch(Q.tag){case 0:case 11:case 15:K1($,Q),f&4&&oC(Q,W4|v4);break;case 1:if(K1($,Q),f&4)if($=Q.stateNode,U===null)Q.type.defaultProps||"ref"in Q.memoizedProps||OQ||($.props!==Q.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.",t(Q)||"instance"),$.state!==Q.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.",t(Q)||"instance")),z1(Q)?(Z1(),J0(Q,a9,Q,$),G1()):J0(Q,a9,Q,$);else{var l=SX(Q.type,U.memoizedProps);U=U.memoizedState,Q.type.defaultProps||"ref"in Q.memoizedProps||OQ||($.props!==Q.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.",t(Q)||"instance"),$.state!==Q.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.",t(Q)||"instance")),z1(Q)?(Z1(),J0(Q,nR,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate),G1()):J0(Q,nR,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate)}f&64&&rC(Q),f&512&&yY(Q,Q.return);break;case 3:if(U=h1(),K1($,Q),f&64&&(f=Q.updateQueue,f!==null)){if(l=null,Q.child!==null)switch(Q.child.tag){case 27:case 5:l=Q.child.stateNode;break;case 1:l=Q.child.stateNode}try{J0(Q,aA,f,l)}catch(P0){a$(Q,Q.return,P0)}}$.effectDuration+=zZ(U);break;case 27:U===null&&f&4&&$T(Q);case 26:case 5:if(K1($,Q),U===null){if(f&4)sC(Q);else if(f&64){$=Q.type,U=Q.memoizedProps,l=Q.stateNode;try{J0(Q,X3,l,$,U,Q)}catch(P0){a$(Q,Q.return,P0)}}}f&512&&yY(Q,Q.return);break;case 12:if(f&4){f=h1(),K1($,Q),$=Q.stateNode,$.effectDuration+=qY(f);try{J0(Q,aC,Q,U,yI,$.effectDuration)}catch(P0){a$(Q,Q.return,P0)}}else K1($,Q);break;case 31:K1($,Q),f&4&&QT($,Q);break;case 13:K1($,Q),f&4&&YT($,Q),f&64&&($=Q.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(f=mv.bind(null,Q),F3($,f))));break;case 22:if(f=Q.memoizedState!==null||XI,!f){U=U!==null&&U.memoizedState!==null||X6,l=XI;var o=X6;XI=f,(X6=U)&&!o?(W1($,Q,(Q.subtreeFlags&8772)!==0),(Q.mode&v$)!==P$&&0<=C$&&0<=T$&&0.05<T$-C$&&e2(Q,C$,T$)):K1($,Q),XI=l,X6=o}break;case 30:break;default:K1($,Q)}(Q.mode&v$)!==P$&&0<=C$&&0<=T$&&((fU||0.05<kU)&&U1(Q,C$,T$,kU,jU),Q.alternate===null&&Q.return!==null&&Q.return.alternate!==null&&0.05<T$-C$&&(UT(Q.return.alternate,Q.return)||$1(Q,C$,T$,"Mount"))),X4(D),J1(L),jU=R,fU=k}function XT($){var U=$.alternate;U!==null&&($.alternate=null,XT(U)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(U=$.stateNode,U!==null&&S0(U)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function l1($,U,Q){for(Q=Q.child;Q!==null;)JT($,U,Q),Q=Q.sibling}function JT($,U,Q){if(P6&&typeof P6.onCommitFiberUnmount==="function")try{P6.onCommitFiberUnmount(cJ,Q)}catch(o){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",o))}var D=I4(),L=X1(),R=Q1(),k=Y1();switch(Q.tag){case 26:X6||O1(Q,U),l1($,U,Q),Q.memoizedState?Q.memoizedState.count--:Q.stateNode&&($=Q.stateNode,$.parentNode.removeChild($));break;case 27:X6||O1(Q,U);var f=J6,l=n6;SI(Q.type)&&(J6=Q.stateNode,n6=!1),l1($,U,Q),J0(Q,nY,Q.stateNode),J6=f,n6=l;break;case 5:X6||O1(Q,U);case 6:if(f=J6,l=n6,J6=null,l1($,U,Q),J6=f,n6=l,J6!==null)if(n6)try{J0(Q,G3,J6,Q.stateNode)}catch(o){a$(Q,U,o)}else try{J0(Q,Y3,J6,Q.stateNode)}catch(o){a$(Q,U,o)}break;case 18:J6!==null&&(n6?($=J6,GP($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,Q.stateNode),fJ($)):GP(J6,Q.stateNode));break;case 4:f=J6,l=n6,J6=Q.stateNode.containerInfo,n6=!0,l1($,U,Q),J6=f,n6=l;break;case 0:case 11:case 14:case 15:jJ(v6,Q,U),X6||EW(Q,U,W4),l1($,U,Q);break;case 1:X6||(O1(Q,U),f=Q.stateNode,typeof f.componentWillUnmount==="function"&&tC(Q,U,f)),l1($,U,Q);break;case 21:l1($,U,Q);break;case 22:X6=(f=X6)||Q.memoizedState!==null,l1($,U,Q),X6=f;break;default:l1($,U,Q)}(Q.mode&v$)!==P$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U1(Q,C$,T$,kU,jU),X4(D),J1(L),jU=R,fU=k}function QT($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{J0(U,L3,$)}catch(Q){a$(U,U.return,Q)}}}function YT($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{J0(U,A3,$)}catch(Q){a$(U,U.return,Q)}}function wv($){switch($.tag){case 31:case 13:case 19:var U=$.stateNode;return U===null&&(U=$.stateNode=new v_),U;case 22:return $=$.stateNode,U=$._retryCache,U===null&&(U=$._retryCache=new v_),U;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function yZ($,U){var Q=wv($);U.forEach(function(D){if(!Q.has(D)){if(Q.add(D),A1)if(KQ!==null&&WQ!==null)hY(WQ,KQ);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var L=lv.bind(null,$,D);D.then(L,L)}})}function l6($,U){var Q=U.deletions;if(Q!==null)for(var D=0;D<Q.length;D++){var L=$,R=U,k=Q[D],f=I4(),l=R;$:for(;l!==null;){switch(l.tag){case 27:if(SI(l.type)){J6=l.stateNode,n6=!1;break $}break;case 5:J6=l.stateNode,n6=!1;break $;case 3:case 4:J6=l.stateNode.containerInfo,n6=!0;break $}l=l.return}if(J6===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");JT(L,R,k),J6=null,n6=!1,(k.mode&v$)!==P$&&0<=C$&&0<=T$&&0.05<T$-C$&&$1(k,C$,T$,"Unmount"),X4(f),L=k,R=L.alternate,R!==null&&(R.return=null),L.return=null}if(U.subtreeFlags&13886)for(U=U.child;U!==null;)GT(U,$),U=U.sibling}function GT($,U){var Q=I4(),D=X1(),L=Q1(),R=Y1(),k=$.alternate,f=$.flags;switch($.tag){case 0:case 11:case 14:case 15:l6(U,$),d6($),f&4&&(jJ(v6|v4,$,$.return),fY(v6|v4,$),EW($,$.return,W4|v4));break;case 1:if(l6(U,$),d6($),f&512&&(X6||k===null||O1(k,k.return)),f&64&&XI&&(f=$.updateQueue,f!==null&&(k=f.callbacks,k!==null))){var l=f.shared.hiddenCallbacks;f.shared.hiddenCallbacks=l===null?k:l.concat(k)}break;case 26:if(l=o4,l6(U,$),d6($),f&512&&(X6||k===null||O1(k,k.return)),f&4){var o=k!==null?k.memoizedState:null;if(f=$.memoizedState,k===null)if(f===null)if($.stateNode===null){$:{f=$.type,k=$.memoizedProps,l=l.ownerDocument||l;U:switch(f){case"title":if(o=l.getElementsByTagName("title")[0],!o||o[eY]||o[L6]||o.namespaceURI===pJ||o.hasAttribute("itemprop"))o=l.createElement(f),l.head.insertBefore(o,l.querySelector("head > title"));M6(o,f,k),o[L6]=$,V$(o),f=o;break $;case"link":var P0=LP("link","href",l).get(f+(k.href||""));if(P0){for(var R0=0;R0<P0.length;R0++)if(o=P0[R0],o.getAttribute("href")===(k.href==null||k.href===""?null:k.href)&&o.getAttribute("rel")===(k.rel==null?null:k.rel)&&o.getAttribute("title")===(k.title==null?null:k.title)&&o.getAttribute("crossorigin")===(k.crossOrigin==null?null:k.crossOrigin)){P0.splice(R0,1);break U}}o=l.createElement(f),M6(o,f,k),l.head.appendChild(o);break;case"meta":if(P0=LP("meta","content",l).get(f+(k.content||""))){for(R0=0;R0<P0.length;R0++)if(o=P0[R0],n(k.content,"content"),o.getAttribute("content")===(k.content==null?null:""+k.content)&&o.getAttribute("name")===(k.name==null?null:k.name)&&o.getAttribute("property")===(k.property==null?null:k.property)&&o.getAttribute("http-equiv")===(k.httpEquiv==null?null:k.httpEquiv)&&o.getAttribute("charset")===(k.charSet==null?null:k.charSet)){P0.splice(R0,1);break U}}o=l.createElement(f),M6(o,f,k),l.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+f+'". This is a bug in React.')}o[L6]=$,V$(o),f=o}$.stateNode=f}else AP(l,$.type,$.stateNode);else $.stateNode=MP(l,f,$.memoizedProps);else o!==f?(o===null?k.stateNode!==null&&(k=k.stateNode,k.parentNode.removeChild(k)):o.count--,f===null?AP(l,$.type,$.stateNode):MP(l,f,$.memoizedProps)):f===null&&$.stateNode!==null&&jW($,$.memoizedProps,k.memoizedProps)}break;case 27:l6(U,$),d6($),f&512&&(X6||k===null||O1(k,k.return)),k!==null&&f&4&&jW($,$.memoizedProps,k.memoizedProps);break;case 5:if(l6(U,$),d6($),f&512&&(X6||k===null||O1(k,k.return)),$.flags&32){l=$.stateNode;try{J0($,QP,l)}catch(H$){a$($,$.return,H$)}}f&4&&$.stateNode!=null&&(l=$.memoizedProps,jW($,l,k!==null?k.memoizedProps:l)),f&1024&&(OV=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(l6(U,$),d6($),f&4){if($.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.");f=$.memoizedProps,k=k!==null?k.memoizedProps:f,l=$.stateNode;try{J0($,Q3,l,k,f)}catch(H$){a$($,$.return,H$)}}break;case 3:if(l=h1(),ez=null,o=o4,o4=dZ(U.containerInfo),l6(U,$),o4=o,d6($),f&4&&k!==null&&k.memoizedState.isDehydrated)try{J0($,M3,U.containerInfo)}catch(H$){a$($,$.return,H$)}OV&&(OV=!1,ZT($)),U.effectDuration+=zZ(l);break;case 4:f=o4,o4=dZ($.stateNode.containerInfo),l6(U,$),d6($),o4=f;break;case 12:f=h1(),l6(U,$),d6($),$.stateNode.effectDuration+=qY(f);break;case 31:l6(U,$),d6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,yZ($,f)));break;case 13:l6(U,$),d6($),$.child.flags&8192&&$.memoizedState!==null!==(k!==null&&k.memoizedState!==null)&&(uz=O6()),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,yZ($,f)));break;case 22:l=$.memoizedState!==null;var V0=k!==null&&k.memoizedState!==null,k0=XI,K$=X6;if(XI=k0||l,X6=K$||V0,l6(U,$),X6=K$,XI=k0,V0&&!l&&!k0&&!K$&&($.mode&v$)!==P$&&0<=C$&&0<=T$&&0.05<T$-C$&&e2($,C$,T$),d6($),f&8192)$:for(U=$.stateNode,U._visibility=l?U._visibility&~ZG:U._visibility|ZG,!l||k===null||V0||XI||X6||(jX($),($.mode&v$)!==P$&&0<=C$&&0<=T$&&0.05<T$-C$&&$1($,C$,T$,"Disconnect")),k=null,U=$;;){if(U.tag===5||U.tag===26){if(k===null){V0=k=U;try{o=V0.stateNode,l?J0(V0,z3,o):J0(V0,W3,V0.stateNode,V0.memoizedProps)}catch(H$){a$(V0,V0.return,H$)}}}else if(U.tag===6){if(k===null){V0=U;try{P0=V0.stateNode,l?J0(V0,O3,P0):J0(V0,V3,P0,V0.memoizedProps)}catch(H$){a$(V0,V0.return,H$)}}}else if(U.tag===18){if(k===null){V0=U;try{R0=V0.stateNode,l?J0(V0,Z3,R0):J0(V0,K3,V0.stateNode)}catch(H$){a$(V0,V0.return,H$)}}}else if((U.tag!==22&&U.tag!==23||U.memoizedState===null||U===$)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break $;for(;U.sibling===null;){if(U.return===null||U.return===$)break $;k===U&&(k=null),U=U.return}k===U&&(k=null),U.sibling.return=U.return,U=U.sibling}f&4&&(f=$.updateQueue,f!==null&&(k=f.retryQueue,k!==null&&(f.retryQueue=null,yZ($,k))));break;case 19:l6(U,$),d6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,yZ($,f)));break;case 30:break;case 21:break;default:l6(U,$),d6($)}($.mode&v$)!==P$&&0<=C$&&0<=T$&&((fU||0.05<kU)&&U1($,C$,T$,kU,jU),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<T$-C$&&(UT($.return.alternate,$.return)||$1($,C$,T$,"Mount"))),X4(Q),J1(D),jU=L,fU=R}function d6($){var U=$.flags;if(U&2){try{J0($,xv,$)}catch(Q){a$($,$.return,Q)}$.flags&=-3}U&4096&&($.flags&=-4097)}function ZT($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var U=$;ZT(U),U.tag===5&&U.flags&1024&&U.stateNode.reset(),$=$.sibling}}function K1($,U){if(U.subtreeFlags&8772)for(U=U.child;U!==null;)IT($,U.alternate,U),U=U.sibling}function zT($){var U=I4(),Q=X1(),D=Q1(),L=Y1();switch($.tag){case 0:case 11:case 14:case 15:EW($,$.return,W4),jX($);break;case 1:O1($,$.return);var R=$.stateNode;typeof R.componentWillUnmount==="function"&&tC($,$.return,R),jX($);break;case 27:J0($,nY,$.stateNode);case 26:case 5:O1($,$.return),jX($);break;case 22:$.memoizedState===null&&jX($);break;case 30:jX($);break;default:jX($)}($.mode&v$)!==P$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U1($,C$,T$,kU,jU),X4(U),J1(Q),jU=D,fU=L}function jX($){for($=$.child;$!==null;)zT($),$=$.sibling}function OT($,U,Q,D){var L=I4(),R=X1(),k=Q1(),f=Y1(),l=Q.flags;switch(Q.tag){case 0:case 11:case 15:W1($,Q,D),oC(Q,W4);break;case 1:if(W1($,Q,D),U=Q.stateNode,typeof U.componentDidMount==="function"&&J0(Q,a9,Q,U),U=Q.updateQueue,U!==null){$=Q.stateNode;try{J0(Q,Mv,U,$)}catch(o){a$(Q,Q.return,o)}}D&&l&64&&rC(Q),yY(Q,Q.return);break;case 27:$T(Q);case 26:case 5:W1($,Q,D),D&&U===null&&l&4&&sC(Q),yY(Q,Q.return);break;case 12:if(D&&l&4){l=h1(),W1($,Q,D),D=Q.stateNode,D.effectDuration+=qY(l);try{J0(Q,aC,Q,U,yI,D.effectDuration)}catch(o){a$(Q,Q.return,o)}}else W1($,Q,D);break;case 31:W1($,Q,D),D&&l&4&&QT($,Q);break;case 13:W1($,Q,D),D&&l&4&&YT($,Q);break;case 22:Q.memoizedState===null&&W1($,Q,D),yY(Q,Q.return);break;case 30:break;default:W1($,Q,D)}(Q.mode&v$)!==P$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U1(Q,C$,T$,kU,jU),X4(L),J1(R),jU=k,fU=f}function W1($,U,Q){Q=Q&&(U.subtreeFlags&8772)!==0;for(U=U.child;U!==null;)OT($,U.alternate,U,Q),U=U.sibling}function vW($,U){var Q=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),$=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&($=U.memoizedState.cachePool.pool),$!==Q&&($!=null&&RX($),Q!=null&&_Y(Q))}function kW($,U){$=null,U.alternate!==null&&($=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==$&&(RX(U),$!=null&&_Y($))}function h4($,U,Q,D,L){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(U=U.child;U!==null;){var R=U.sibling;KT($,U,Q,D,R!==null?R.actualStartTime:L),U=R}}function KT($,U,Q,D,L){var R=I4(),k=X1(),f=Q1(),l=Y1(),o=xI,P0=U.flags;switch(U.tag){case 0:case 11:case 15:(U.mode&v$)!==P$&&0<U.actualStartTime&&(U.flags&1)!==0&&$Z(U,U.actualStartTime,L,G6,Q),h4($,U,Q,D,L),P0&2048&&iC(U,k6|v4);break;case 1:(U.mode&v$)!==P$&&0<U.actualStartTime&&((U.flags&128)!==0?H8(U,U.actualStartTime,L,[]):(U.flags&1)!==0&&$Z(U,U.actualStartTime,L,G6,Q)),h4($,U,Q,D,L);break;case 3:var R0=h1(),V0=G6;G6=U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)===0,h4($,U,Q,D,L),G6=V0,P0&2048&&(Q=null,U.alternate!==null&&(Q=U.alternate.memoizedState.cache),D=U.memoizedState.cache,D!==Q&&(RX(D),Q!=null&&_Y(Q))),$.passiveEffectDuration+=zZ(R0);break;case 12:if(P0&2048){P0=h1(),h4($,U,Q,D,L),$=U.stateNode,$.passiveEffectDuration+=qY(P0);try{J0(U,kv,U,U.alternate,yI,$.passiveEffectDuration)}catch(k0){a$(U,U.return,k0)}}else h4($,U,Q,D,L);break;case 31:P0=G6,R0=U.alternate!==null?U.alternate.memoizedState:null,V0=U.memoizedState,R0!==null&&V0===null?(V0=U.deletions,V0!==null&&0<V0.length&&V0[0].tag===18?(G6=!1,R0=R0.hydrationErrors,R0!==null&&H8(U,U.actualStartTime,L,R0)):G6=!0):G6=!1,h4($,U,Q,D,L),G6=P0;break;case 13:P0=G6,R0=U.alternate!==null?U.alternate.memoizedState:null,V0=U.memoizedState,R0===null||R0.dehydrated===null||V0!==null&&V0.dehydrated!==null?G6=!1:(V0=U.deletions,V0!==null&&0<V0.length&&V0[0].tag===18?(G6=!1,R0=R0.hydrationErrors,R0!==null&&H8(U,U.actualStartTime,L,R0)):G6=!0),h4($,U,Q,D,L),G6=P0;break;case 23:break;case 22:V0=U.stateNode,R0=U.alternate,U.memoizedState!==null?V0._visibility&o1?h4($,U,Q,D,L):uY($,U,Q,D,L):V0._visibility&o1?h4($,U,Q,D,L):(V0._visibility|=o1,BJ($,U,Q,D,(U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child),L),(U.mode&v$)===P$||G6||($=U.actualStartTime,0<=$&&0.05<L-$&&e2(U,$,L),0<=C$&&0<=T$&&0.05<T$-C$&&e2(U,C$,T$))),P0&2048&&vW(R0,U);break;case 24:h4($,U,Q,D,L),P0&2048&&kW(U.alternate,U);break;default:h4($,U,Q,D,L)}if((U.mode&v$)!==P$){if($=!G6&&U.alternate===null&&U.return!==null&&U.return.alternate!==null)Q=U.actualStartTime,0<=Q&&0.05<L-Q&&$1(U,Q,L,"Mount");0<=C$&&0<=T$&&((fU||0.05<kU)&&U1(U,C$,T$,kU,jU),$&&0.05<T$-C$&&$1(U,C$,T$,"Mount"))}X4(R),J1(k),jU=f,fU=l,xI=o}function BJ($,U,Q,D,L,R){L=L&&((U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child));for(U=U.child;U!==null;){var k=U.sibling;WT($,U,Q,D,L,k!==null?k.actualStartTime:R),U=k}}function WT($,U,Q,D,L,R){var k=I4(),f=X1(),l=Q1(),o=Y1(),P0=xI;L&&(U.mode&v$)!==P$&&0<U.actualStartTime&&(U.flags&1)!==0&&$Z(U,U.actualStartTime,R,G6,Q);var R0=U.flags;switch(U.tag){case 0:case 11:case 15:BJ($,U,Q,D,L,R),iC(U,k6);break;case 23:break;case 22:var V0=U.stateNode;U.memoizedState!==null?V0._visibility&o1?BJ($,U,Q,D,L,R):uY($,U,Q,D,R):(V0._visibility|=o1,BJ($,U,Q,D,L,R)),L&&R0&2048&&vW(U.alternate,U);break;case 24:BJ($,U,Q,D,L,R),L&&R0&2048&&kW(U.alternate,U);break;default:BJ($,U,Q,D,L,R)}(U.mode&v$)!==P$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U1(U,C$,T$,kU,jU),X4(k),J1(f),jU=l,fU=o,xI=P0}function uY($,U,Q,D,L){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(var R=U.child;R!==null;){U=R.sibling;var k=$,f=Q,l=D,o=U!==null?U.actualStartTime:L,P0=xI;(R.mode&v$)!==P$&&0<R.actualStartTime&&(R.flags&1)!==0&&$Z(R,R.actualStartTime,o,G6,f);var R0=R.flags;switch(R.tag){case 22:uY(k,R,f,l,o),R0&2048&&vW(R.alternate,R);break;case 24:uY(k,R,f,l,o),R0&2048&&kW(R.alternate,R);break;default:uY(k,R,f,l,o)}xI=P0,R=U}}function NJ($,U,Q){if($.subtreeFlags&jG)for($=$.child;$!==null;)VT($,U,Q),$=$.sibling}function VT($,U,Q){switch($.tag){case 26:NJ($,U,Q),$.flags&jG&&$.memoizedState!==null&&R3(Q,o4,$.memoizedState,$.memoizedProps);break;case 5:NJ($,U,Q);break;case 3:case 4:var D=o4;o4=dZ($.stateNode.containerInfo),NJ($,U,Q),o4=D;break;case 22:$.memoizedState===null&&(D=$.alternate,D!==null&&D.memoizedState!==null?(D=jG,jG=16777216,NJ($,U,Q),jG=D):NJ($,U,Q));break;default:NJ($,U,Q)}}function DT($){var U=$.alternate;if(U!==null&&($=U.child,$!==null)){U.child=null;do U=$.sibling,$.sibling=null,$=U;while($!==null)}}function bY($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var D=U[Q],L=I4();W6=D,MT(D,$),(D.mode&v$)!==P$&&0<=C$&&0<=T$&&0.05<T$-C$&&$1(D,C$,T$,"Unmount"),X4(L)}DT($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)HT($),$=$.sibling}function HT($){var U=I4(),Q=X1(),D=Q1(),L=Y1();switch($.tag){case 0:case 11:case 15:bY($),$.flags&2048&&SW($,$.return,k6|v4);break;case 3:var R=h1();bY($),$.stateNode.passiveEffectDuration+=zZ(R);break;case 12:R=h1(),bY($),$.stateNode.passiveEffectDuration+=qY(R);break;case 22:R=$.stateNode,$.memoizedState!==null&&R._visibility&o1&&($.return===null||$.return.tag!==13)?(R._visibility&=~o1,uZ($),($.mode&v$)!==P$&&0<=C$&&0<=T$&&0.05<T$-C$&&$1($,C$,T$,"Disconnect")):bY($);break;default:bY($)}($.mode&v$)!==P$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U1($,C$,T$,kU,jU),X4(U),J1(Q),fU=L,jU=D}function uZ($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var D=U[Q],L=I4();W6=D,MT(D,$),(D.mode&v$)!==P$&&0<=C$&&0<=T$&&0.05<T$-C$&&$1(D,C$,T$,"Unmount"),X4(L)}DT($)}for($=$.child;$!==null;)FT($),$=$.sibling}function FT($){var U=I4(),Q=X1(),D=Q1(),L=Y1();switch($.tag){case 0:case 11:case 15:SW($,$.return,k6),uZ($);break;case 22:var R=$.stateNode;R._visibility&o1&&(R._visibility&=~o1,uZ($));break;default:uZ($)}($.mode&v$)!==P$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U1($,C$,T$,kU,jU),X4(U),J1(Q),fU=L,jU=D}function MT($,U){for(;W6!==null;){var Q=W6,D=Q,L=U,R=I4(),k=X1(),f=Q1(),l=Y1();switch(D.tag){case 0:case 11:case 15:SW(D,L,k6);break;case 23:case 22:D.memoizedState!==null&&D.memoizedState.cachePool!==null&&(L=D.memoizedState.cachePool.pool,L!=null&&RX(L));break;case 24:_Y(D.memoizedState.cache)}if((D.mode&v$)!==P$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U1(D,C$,T$,kU,jU),X4(R),J1(k),fU=l,jU=f,D=Q.child,D!==null)D.return=Q,W6=D;else $:for(Q=$;W6!==null;){if(D=W6,R=D.sibling,k=D.return,XT(D),D===Q){W6=null;break $}if(R!==null){R.return=k,W6=R;break $}W6=k}}}function fv(){Xx.forEach(function($){return $()})}function LT(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||u0.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function Q4($){if((n$&Z6)!==V6&&x$!==0)return x$&-x$;var U=u0.T;return U!==null?(U._updatedFibers||(U._updatedFibers=new Set),U._updatedFibers.add($),cW()):X0()}function AT(){if(i6===0)if((x$&536870912)===0||p$){var $=Xz;Xz<<=1,(Xz&3932160)===0&&(Xz=262144),i6=$}else i6=536870912;return $=K4.current,$!==null&&($.flags|=32),i6}function wU($,U,Q){if(HQ&&console.error("useInsertionEffect must not schedule updates."),TV&&(pz=!0),$===ZU&&(IU===mX||IU===lX)||$.cancelPendingCommit!==null)kJ($,0),qI($,x$,i6,!1);if(p0($,Q),(n$&Z6)!==V6&&$===ZU){if(M1)switch(U.tag){case 0:case 11:case 15:$=w$&&t(w$)||"Unknown",n_.has($)||(n_.add($),U=t(U)||"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",U,$,$));break;case 1:d_||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),d_=!0)}}else A1&&i0($,U,Q),nv(U),$===ZU&&((n$&Z6)===V6&&(nI|=Q),xU===mI&&qI($,x$,i6,!1)),V1($)}function CT($,U,Q){if((n$&(Z6|V4))!==V6)throw Error("Should not already be working.");if(x$!==0&&w$!==null){var D=w$,L=O6();switch(uR){case vG:case mX:var R=DG;CU&&((D=D._debugTask)?D.run(console.timeStamp.bind(console,"Suspended",R,L,R4,void 0,"primary-light")):console.timeStamp("Suspended",R,L,R4,void 0,"primary-light"));break;case lX:R=DG,CU&&((D=D._debugTask)?D.run(console.timeStamp.bind(console,"Action",R,L,R4,void 0,"primary-light")):console.timeStamp("Action",R,L,R4,void 0,"primary-light"));break;default:CU&&(D=L-DG,3>D||console.timeStamp("Blocked",DG,L,R4,void 0,5>D?"primary-light":10>D?"primary":100>D?"primary-dark":"error"))}}R=(Q=!Q&&(U&127)===0&&(U&$.expiredLanes)===0||L0($,U))?uv($,U):gW($,U,!0);var k=Q;do{if(R===JI){VQ&&!Q&&qI($,U,0,!1),U=IU,DG=$6(),uR=U;break}else{if(D=O6(),L=$.current.alternate,k&&!yv(L)){$4(U),L=K6,R=D,!CU||R<=L||(nU?nU.run(console.timeStamp.bind(console,"Teared Render",L,R,b$,u$,"error")):console.timeStamp("Teared Render",L,R,b$,u$,"error")),BX(U,D),R=gW($,U,!1),k=!1;continue}if(R===pX){if(k=U,$.errorRecoveryDisabledLanes&k)var f=0;else f=$.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){$4(U),F8(K6,D,U,nU),BX(U,D),U=f;$:{D=$,R=k,k=xG;var l=D.current.memoizedState.isDehydrated;if(l&&(kJ(D,f).flags|=256),f=gW(D,f,!1),f!==pX){if(VV&&!l){D.errorRecoveryDisabledLanes|=R,nI|=R,R=mI;break $}D=x6,x6=k,D!==null&&(x6===null?x6=D:x6.push.apply(x6,D))}R=f}if(k=!1,R!==pX)continue;else D=O6()}}if(R===NG){$4(U),F8(K6,D,U,nU),BX(U,D),kJ($,0),qI($,U,0,!0);break}$:{switch(Q=$,R){case JI:case NG:throw Error("Root did not complete. This is a bug in React.");case mI:if((U&4194048)!==U)break;case gz:$4(U),CA(K6,D,U,nU),BX(U,D),L=U,(L&127)!==0?Az=D:(L&4194048)!==0&&(Cz=D),qI(Q,U,i6,!lI);break $;case pX:x6=null;break;case xz:case k_:break;default:throw Error("Unknown root exit status.")}if(u0.actQueue!==null)wW(Q,L,U,x6,gG,yz,i6,nI,dX,R,null,null,K6,D);else{if((U&62914560)===U&&(k=uz+w_-O6(),10<k)){if(qI(Q,U,i6,!lI),I$(Q,0,!0)!==0)break $;i4=U,Q.timeoutHandle=$q(TT.bind(null,Q,L,x6,gG,yz,U,i6,nI,dX,lI,R,"Throttled",K6,D),k);break $}TT(Q,L,x6,gG,yz,U,i6,nI,dX,lI,R,null,K6,D)}}}break}while(1);V1($)}function TT($,U,Q,D,L,R,k,f,l,o,P0,R0,V0,k0){$.timeoutHandle=tX;var K$=U.subtreeFlags,H$=null;if(K$&8192||(K$&16785408)===16785408){if(H$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:y1},VT(U,R,H$),K$=(R&62914560)===R?uz-O6():(R&4194048)===R?g_-O6():0,K$=_3(H$,K$),K$!==null){i4=R,$.cancelPendingCommit=K$(wW.bind(null,$,U,R,Q,D,L,k,f,l,P0,H$,H$.waitingForViewTransition?"Waiting for the previous Animation":0<H$.count?0<H$.imgCount?"Suspended on CSS and Images":"Suspended on CSS":H$.imgCount===1?"Suspended on an Image":0<H$.imgCount?"Suspended on Images":null,V0,k0)),qI($,R,k,!o);return}}wW($,U,R,Q,D,L,k,f,l,P0,H$,R0,V0,k0)}function yv($){for(var U=$;;){var Q=U.tag;if((Q===0||Q===11||Q===15)&&U.flags&16384&&(Q=U.updateQueue,Q!==null&&(Q=Q.stores,Q!==null)))for(var D=0;D<Q.length;D++){var L=Q[D],R=L.getSnapshot;L=L.value;try{if(!B6(R(),L))return!1}catch(k){return!1}}if(Q=U.child,U.subtreeFlags&16384&&Q!==null)Q.return=U,U=Q;else{if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return!0;U=U.return}U.sibling.return=U.return,U=U.sibling}}return!0}function qI($,U,Q,D){U&=~DV,U&=~nI,$.suspendedLanes|=U,$.pingedLanes&=~U,D&&($.warmLanes|=U),D=$.expirationTimes;for(var L=U;0<L;){var R=31-E6(L),k=1<<R;D[R]=-1,L&=~k}Q!==0&&c0($,Q,U)}function vJ(){return(n$&(Z6|V4))===V6?(pY(0,!1),!1):!0}function xW(){if(w$!==null){if(IU===o6)var $=w$.return;else $=w$,YZ(),l8($),JQ=null,RG=0,$=w$;for(;$!==null;)nC($.alternate,$),$=$.return;w$=null}}function BX($,U){($&127)!==0&&(uI=U),($&4194048)!==0&&(_1=U),($&62914560)!==0&&(fR=U),($&2080374784)!==0&&(yR=U)}function kJ($,U){CU&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",u$,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",u$,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",u$,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",u$,"primary-light"));var Q=K6;if(K6=$6(),x$!==0&&0<Q){if($4(x$),xU===xz||xU===mI)CA(Q,K6,U,nU);else{var D=K6,L=nU;if(CU&&!(D<=Q)){var R=(U&738197653)===U?"tertiary-dark":"primary-dark",k=(U&536870912)===U?"Prewarm":(U&201326741)===U?"Interrupted Hydration":"Interrupted Render";L?L.run(console.timeStamp.bind(console,k,Q,D,b$,u$,R)):console.timeStamp(k,Q,D,b$,u$,R)}}BX(x$,K6)}if(Q=nU,nU=null,(U&127)!==0){nU=KG,L=0<=R1&&R1<uI?uI:R1,D=0<=gX&&gX<uI?uI:gX,R=0<=D?D:0<=L?L:K6,0<=Az?($4(2),TA(Az,R,U,Q)):(Tz&127)!==0&&($4(2),PY(uI,R,e1)),Q=L;var f=D,l=WG,o=0<UQ,P0=bI===OG,R0=bI===Lz;if(L=K6,D=KG,R=n9,k=o9,CU){if(b$="Blocking",0<Q?Q>L&&(Q=L):Q=L,0<f?f>Q&&(f=Q):f=Q,l!==null&&Q>f){var V0=o?"secondary-light":"warning";D?D.run(console.timeStamp.bind(console,o?"Consecutive":"Event: "+l,f,Q,b$,u$,V0)):console.timeStamp(o?"Consecutive":"Event: "+l,f,Q,b$,u$,V0)}L>Q&&(f=P0?"error":(U&738197653)===U?"tertiary-light":"primary-light",P0=R0?"Promise Resolved":P0?"Cascading Update":5<L-Q?"Update Blocked":"Update",R0=[],k!=null&&R0.push(["Component name",k]),R!=null&&R0.push(["Method name",R]),Q={start:Q,end:L,detail:{devtools:{properties:R0,track:b$,trackGroup:u$,color:f}}},D?D.run(performance.measure.bind(performance,P0,Q)):performance.measure(P0,Q))}R1=-1.1,bI=0,o9=n9=null,Az=-1.1,UQ=gX,gX=-1.1,uI=$6()}if((U&4194048)!==0&&(nU=VG,L=0<=s1&&s1<_1?_1:s1,Q=0<=B4&&B4<_1?_1:B4,D=0<=cI&&cI<_1?_1:cI,R=0<=D?D:0<=Q?Q:K6,0<=Cz?($4(256),TA(Cz,R,U,nU)):(Tz&4194048)!==0&&($4(256),PY(_1,R,e1)),R0=D,f=wX,l=0<hI,o=i9===Lz,R=K6,D=VG,k=gR,P0=wR,CU&&(b$="Transition",0<Q?Q>R&&(Q=R):Q=R,0<L?L>Q&&(L=Q):L=Q,0<R0?R0>L&&(R0=L):R0=L,L>R0&&f!==null&&(V0=l?"secondary-light":"warning",D?D.run(console.timeStamp.bind(console,l?"Consecutive":"Event: "+f,R0,L,b$,u$,V0)):console.timeStamp(l?"Consecutive":"Event: "+f,R0,L,b$,u$,V0)),Q>L&&(D?D.run(console.timeStamp.bind(console,"Action",L,Q,b$,u$,"primary-dark")):console.timeStamp("Action",L,Q,b$,u$,"primary-dark")),R>Q&&(L=o?"Promise Resolved":5<R-Q?"Update Blocked":"Update",R0=[],P0!=null&&R0.push(["Component name",P0]),k!=null&&R0.push(["Method name",k]),Q={start:Q,end:R,detail:{devtools:{properties:R0,track:b$,trackGroup:u$,color:"primary-light"}}},D?D.run(performance.measure.bind(performance,L,Q)):performance.measure(L,Q))),B4=s1=-1.1,i9=0,Cz=-1.1,hI=cI,cI=-1.1,_1=$6()),(U&62914560)!==0&&(Tz&62914560)!==0&&($4(4194304),PY(fR,K6,e1)),(U&2080374784)!==0&&(Tz&2080374784)!==0&&($4(268435456),PY(yR,K6,e1)),Q=$.timeoutHandle,Q!==tX&&($.timeoutHandle=tX,Fx(Q)),Q=$.cancelPendingCommit,Q!==null&&($.cancelPendingCommit=null,Q()),i4=0,xW(),ZU=$,w$=Q=u1($.current,null),x$=U,IU=o6,D4=null,lI=!1,VQ=L0($,U),VV=!1,xU=JI,dX=i6=DV=nI=dI=0,x6=xG=null,yz=!1,(U&8)!==0&&(U|=U&32),D=$.entangledLanes,D!==0)for($=$.entanglements,D&=U;0<D;)L=31-E6(D),R=1<<L,U|=$[L],D&=~R;return E1=U,UZ(),$=jR(),1000<$-SR&&(u0.recentlyCreatedOwnerStacks=0,SR=$),d4.discardPendingWarnings(),Q}function PT($,U){R$=null,u0.H=SG,u0.getCurrentStack=null,M1=!1,Z4=null,U===XQ||U===qz?(U=mA(),IU=vG):U===s9?(U=mA(),IU=x_):IU=U===ZV?WV:U!==null&&typeof U==="object"&&typeof U.then==="function"?kG:wz,D4=U;var Q=w$;Q===null?(xU=NG,vZ($,U4(U,$.current))):Q.mode&v$&&v8(Q)}function RT(){var $=K4.current;return $===null?!0:(x$&4194048)===x$?N4===null?!0:!1:(x$&62914560)===x$||(x$&536870912)!==0?$===N4:!1}function _T(){var $=u0.H;return u0.H=SG,$===null?SG:$}function qT(){var $=u0.A;return u0.A=Ix,$}function bZ($){nU===null&&(nU=$._debugTask==null?null:$._debugTask)}function cZ(){xU=mI,lI||(x$&4194048)!==x$&&K4.current!==null||(VQ=!0),(dI&134217727)===0&&(nI&134217727)===0||ZU===null||qI(ZU,x$,i6,!1)}function gW($,U,Q){var D=n$;n$|=Z6;var L=_T(),R=qT();if(ZU!==$||x$!==U){if(A1){var k=$.memoizedUpdaters;0<k.size&&(hY($,x$),k.clear()),RU($,U)}gG=null,kJ($,U)}U=!1,k=xU;$:do try{if(IU!==o6&&w$!==null){var f=w$,l=D4;switch(IU){case WV:xW(),k=gz;break $;case vG:case mX:case lX:case kG:K4.current===null&&(U=!0);var o=IU;if(IU=o6,D4=null,xJ($,f,l,o),Q&&VQ){k=JI;break $}break;default:o=IU,IU=o6,D4=null,xJ($,f,l,o)}}ET(),k=xU;break}catch(P0){PT($,P0)}while(1);return U&&$.shellSuspendCounter++,YZ(),n$=D,u0.H=L,u0.A=R,w$===null&&(ZU=null,x$=0,UZ()),k}function ET(){for(;w$!==null;)ST(w$)}function uv($,U){var Q=n$;n$|=Z6;var D=_T(),L=qT();if(ZU!==$||x$!==U){if(A1){var R=$.memoizedUpdaters;0<R.size&&(hY($,x$),R.clear()),RU($,U)}gG=null,bz=O6()+f_,kJ($,U)}else VQ=L0($,U);$:do try{if(IU!==o6&&w$!==null)U:switch(U=w$,R=D4,IU){case wz:IU=o6,D4=null,xJ($,U,R,wz);break;case mX:case lX:if(hA(R)){IU=o6,D4=null,jT(U);break}U=function(){IU!==mX&&IU!==lX||ZU!==$||(IU=fz),V1($)},R.then(U,U);break $;case vG:IU=fz;break $;case x_:IU=KV;break $;case fz:hA(R)?(IU=o6,D4=null,jT(U)):(IU=o6,D4=null,xJ($,U,R,fz));break;case KV:var k=null;switch(w$.tag){case 26:k=w$.memoizedState;case 5:case 27:var f=w$;if(k?CP(k):f.stateNode.complete){IU=o6,D4=null;var l=f.sibling;if(l!==null)w$=l;else{var o=f.return;o!==null?(w$=o,hZ(o)):w$=null}break U}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}IU=o6,D4=null,xJ($,U,R,KV);break;case kG:IU=o6,D4=null,xJ($,U,R,kG);break;case WV:xW(),xU=gz;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}u0.actQueue!==null?ET():bv();break}catch(P0){PT($,P0)}while(1);if(YZ(),u0.H=D,u0.A=L,n$=Q,w$!==null)return JI;return ZU=null,x$=0,UZ(),xU}function bv(){for(;w$!==null&&!y3();)ST(w$)}function ST($){var U=$.alternate;($.mode&v$)!==P$?(N8($),U=J0($,_W,U,$,E1),v8($)):U=J0($,_W,U,$,E1),$.memoizedProps=$.pendingProps,U===null?hZ($):w$=U}function jT($){var U=J0($,cv,$);$.memoizedProps=$.pendingProps,U===null?hZ($):w$=U}function cv($){var U=$.alternate,Q=($.mode&v$)!==P$;switch(Q&&N8($),$.tag){case 15:case 0:U=bC(U,$,$.pendingProps,$.type,void 0,x$);break;case 11:U=bC(U,$,$.pendingProps,$.type.render,$.ref,x$);break;case 5:l8($);default:nC(U,$),$=w$=SA($,E1),U=_W(U,$,E1)}return Q&&v8($),U}function xJ($,U,Q,D){YZ(),l8(U),JQ=null,RG=0;var L=U.return;try{if(_v($,L,U,Q,x$)){xU=NG,vZ($,U4(Q,$.current)),w$=null;return}}catch(R){if(L!==null)throw w$=L,R;xU=NG,vZ($,U4(Q,$.current)),w$=null;return}if(U.flags&32768){if(p$||D===wz)$=!0;else if(VQ||(x$&536870912)!==0)$=!1;else if(lI=$=!0,D===mX||D===lX||D===vG||D===kG)D=K4.current,D!==null&&D.tag===13&&(D.flags|=16384);BT(U,$)}else hZ(U)}function hZ($){var U=$;do{if((U.flags&32768)!==0){BT(U,lI);return}var Q=U.alternate;if($=U.return,N8(U),Q=J0(U,Sv,Q,U,E1),(U.mode&v$)!==P$&&fA(U),Q!==null){w$=Q;return}if(U=U.sibling,U!==null){w$=U;return}w$=U=$}while(U!==null);xU===JI&&(xU=k_)}function BT($,U){do{var Q=jv($.alternate,$);if(Q!==null){Q.flags&=32767,w$=Q;return}if(($.mode&v$)!==P$){fA($),Q=$.actualDuration;for(var D=$.child;D!==null;)Q+=D.actualDuration,D=D.sibling;$.actualDuration=Q}if(Q=$.return,Q!==null&&(Q.flags|=32768,Q.subtreeFlags=0,Q.deletions=null),!U&&($=$.sibling,$!==null)){w$=$;return}w$=$=Q}while($!==null);xU=gz,w$=null}function wW($,U,Q,D,L,R,k,f,l,o,P0,R0,V0,k0){$.cancelPendingCommit=null;do cY();while(Q6!==iI);if(d4.flushLegacyContextWarning(),d4.flushPendingUnsafeLifecycleWarnings(),(n$&(Z6|V4))!==V6)throw Error("Should not already be working.");if($4(Q),o===pX?F8(V0,k0,Q,nU):D!==null?Kv(V0,k0,Q,D,U!==null&&U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)!==0,nU):Ov(V0,k0,Q,nU),U!==null){if(Q===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),U===$.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(R=U.lanes|U.childLanes,R|=h9,i$($,Q,R,k,f,l),$===ZU&&(w$=ZU=null,x$=0),DQ=U,rI=$,i4=Q,MV=R,AV=L,p_=D,LV=k0,m_=R0,r4=cz,l_=null,U.actualDuration!==0||(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,dv(bJ,function(){return cG=window.event,r4===cz&&(r4=FV),gT(),null})):($.callbackNode=null,$.callbackPriority=0),a1=null,yI=$6(),R0!==null&&Wv(k0,yI,R0,nU),D=(U.flags&13878)!==0,(U.subtreeFlags&13878)!==0||D){D=u0.T,u0.T=null,L=s$.p,s$.p=z4,k=n$,n$|=V4;try{gv($,U,Q)}finally{n$=k,s$.p=L,u0.T=D}}Q6=u_,NT(),vT(),kT()}}function NT(){if(Q6===u_){Q6=iI;var $=rI,U=DQ,Q=i4,D=(U.flags&13878)!==0;if((U.subtreeFlags&13878)!==0||D){D=u0.T,u0.T=null;var L=s$.p;s$.p=z4;var R=n$;n$|=V4;try{KQ=Q,WQ=$,OZ(),GT(U,$),WQ=KQ=null,Q=NV;var k=MA($.containerInfo),f=Q.focusedElem,l=Q.selectionRange;if(k!==f&&f&&f.ownerDocument&&FA(f.ownerDocument.documentElement,f)){if(l!==null&&V8(f)){var{start:o,end:P0}=l;if(P0===void 0&&(P0=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(P0,f.value.length);else{var R0=f.ownerDocument||document,V0=R0&&R0.defaultView||window;if(V0.getSelection){var k0=V0.getSelection(),K$=f.textContent.length,H$=Math.min(l.start,K$),HU=l.end===void 0?H$:Math.min(l.end,K$);!k0.extend&&H$>HU&&(k=HU,HU=H$,H$=k);var l$=HA(f,H$),z0=HA(f,HU);if(l$&&z0&&(k0.rangeCount!==1||k0.anchorNode!==l$.node||k0.anchorOffset!==l$.offset||k0.focusNode!==z0.node||k0.focusOffset!==z0.offset)){var D0=R0.createRange();D0.setStart(l$.node,l$.offset),k0.removeAllRanges(),H$>HU?(k0.addRange(D0),k0.extend(z0.node,z0.offset)):(D0.setEnd(z0.node,z0.offset),k0.addRange(D0))}}}}R0=[];for(k0=f;k0=k0.parentNode;)k0.nodeType===1&&R0.push({element:k0,left:k0.scrollLeft,top:k0.scrollTop});typeof f.focus==="function"&&f.focus();for(f=0;f<R0.length;f++){var C0=R0[f];C0.element.scrollLeft=C0.left,C0.element.scrollTop=C0.top}}IO=!!BV,NV=BV=null}finally{n$=R,s$.p=L,u0.T=D}}$.current=U,Q6=b_}}function vT(){if(Q6===b_){Q6=iI;var $=l_;if($!==null){yI=$6();var U=t1,Q=yI;!CU||Q<=U||(e1?e1.run(console.timeStamp.bind(console,$,U,Q,b$,u$,"secondary-light")):console.timeStamp($,U,Q,b$,u$,"secondary-light"))}$=rI,U=DQ,Q=i4;var D=(U.flags&8772)!==0;if((U.subtreeFlags&8772)!==0||D){D=u0.T,u0.T=null;var L=s$.p;s$.p=z4;var R=n$;n$|=V4;try{KQ=Q,WQ=$,OZ(),IT($,U.alternate,U),WQ=KQ=null}finally{n$=R,s$.p=L,u0.T=D}}$=LV,U=m_,t1=$6(),$=U===null?$:yI,U=t1,Q=r4===HV,D=nU,a1!==null?PA($,U,a1,!1,D):!CU||U<=$||(D?D.run(console.timeStamp.bind(console,Q?"Commit Interrupted View Transition":"Commit",$,U,b$,u$,Q?"error":"secondary-dark")):console.timeStamp(Q?"Commit Interrupted View Transition":"Commit",$,U,b$,u$,Q?"error":"secondary-dark")),Q6=c_}}function kT(){if(Q6===h_||Q6===c_){if(Q6===h_){var $=t1;t1=$6();var U=t1,Q=r4===HV;!CU||U<=$||(e1?e1.run(console.timeStamp.bind(console,Q?"Interrupted View Transition":"Starting Animation",$,U,b$,u$,Q?"error":"secondary-light")):console.timeStamp(Q?"Interrupted View Transition":"Starting Animation",$,U,b$,u$,Q?" error":"secondary-light")),r4!==HV&&(r4=y_)}Q6=iI,u3(),$=rI;var D=DQ;U=i4,Q=p_;var L=D.actualDuration!==0||(D.subtreeFlags&10256)!==0||(D.flags&10256)!==0;L?Q6=hz:(Q6=iI,DQ=rI=null,xT($,$.pendingLanes),nX=0,fG=null);var R=$.pendingLanes;if(R===0&&(oI=null),L||uT($),R=m(U),D=D.stateNode,P6&&typeof P6.onCommitFiberRoot==="function")try{var k=(D.current.flags&128)===128;switch(R){case z4:var f=A9;break;case m4:f=C9;break;case C1:f=bJ;break;case Qz:f=T9;break;default:f=bJ}P6.onCommitFiberRoot(cJ,D,f,k)}catch(R0){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",R0))}if(A1&&$.memoizedUpdaters.clear(),fv(),Q!==null){k=u0.T,f=s$.p,s$.p=z4,u0.T=null;try{var l=$.onRecoverableError;for(D=0;D<Q.length;D++){var o=Q[D],P0=hv(o.stack);J0(o.source,l,o.value,P0)}}finally{u0.T=k,s$.p=f}}(i4&3)!==0&&cY(),V1($),R=$.pendingLanes,(U&261930)!==0&&(R&42)!==0?(Rz=!0,$===CV?wG++:(wG=0,CV=$)):wG=0,L||BX(U,t1),pY(0,!1)}}function hv($){return $={componentStack:$},Object.defineProperty($,"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.')}}),$}function xT($,U){($.pooledCacheLanes&=U)===0&&(U=$.pooledCache,U!=null&&($.pooledCache=null,_Y(U)))}function cY(){return NT(),vT(),kT(),gT()}function gT(){if(Q6!==hz)return!1;var $=rI,U=MV;MV=0;var Q=m(i4),D=C1===0||C1>Q?C1:Q;Q=u0.T;var L=s$.p;try{s$.p=D,u0.T=null;var R=AV;AV=null,D=rI;var k=i4;if(Q6=iI,DQ=rI=null,i4=0,(n$&(Z6|V4))!==V6)throw Error("Cannot flush passive effects while already rendering.");$4(k),TV=!0,pz=!1;var f=0;if(a1=null,f=O6(),r4===y_)PY(t1,f,e1);else{var l=t1,o=f,P0=r4===FV;!CU||o<=l||(nU?nU.run(console.timeStamp.bind(console,P0?"Waiting for Paint":"Waiting",l,o,b$,u$,"secondary-light")):console.timeStamp(P0?"Waiting for Paint":"Waiting",l,o,b$,u$,"secondary-light"))}l=n$,n$|=V4;var R0=D.current;OZ(),HT(R0);var V0=D.current;R0=LV,OZ(),KT(D,V0,k,R,R0),uT(D),n$=l;var k0=O6();if(V0=f,R0=nU,a1!==null?PA(V0,k0,a1,!0,R0):!CU||k0<=V0||(R0?R0.run(console.timeStamp.bind(console,"Remaining Effects",V0,k0,b$,u$,"secondary-dark")):console.timeStamp("Remaining Effects",V0,k0,b$,u$,"secondary-dark")),BX(k,k0),pY(0,!1),pz?D===fG?nX++:(nX=0,fG=D):nX=0,pz=TV=!1,P6&&typeof P6.onPostCommitFiberRoot==="function")try{P6.onPostCommitFiberRoot(cJ,D)}catch(H$){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",H$))}var K$=D.current.stateNode;return K$.effectDuration=0,K$.passiveEffectDuration=0,!0}finally{s$.p=L,u0.T=Q,xT($,U)}}function wT($,U,Q){U=U4(Q,U),yA(U),U=VW($.stateNode,U,2),$=TI($,U,2),$!==null&&(p0($,2),V1($))}function a$($,U,Q){if(HQ=!1,$.tag===3)wT($,$,Q);else{for(;U!==null;){if(U.tag===3){wT(U,$,Q);return}if(U.tag===1){var D=U.stateNode;if(typeof U.type.getDerivedStateFromError==="function"||typeof D.componentDidCatch==="function"&&(oI===null||!oI.has(D))){$=U4(Q,$),yA($),Q=DW(2),D=TI(U,Q,2),D!==null&&(HW(Q,D,U,$),p0(D,2),V1(D));return}}U=U.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.
|
|
154
|
+
|
|
155
|
+
Error message:
|
|
156
|
+
|
|
157
|
+
%s`,Q)}}function fW($,U,Q){var D=$.pingCache;if(D===null){D=$.pingCache=new Jx;var L=new Set;D.set(U,L)}else L=D.get(U),L===void 0&&(L=new Set,D.set(U,L));L.has(Q)||(VV=!0,L.add(Q),D=pv.bind(null,$,U,Q),A1&&hY($,Q),U.then(D,D))}function pv($,U,Q){var D=$.pingCache;D!==null&&D.delete(U),$.pingedLanes|=$.suspendedLanes&Q,$.warmLanes&=~Q,(Q&127)!==0?0>R1&&(uI=R1=$6(),KG=Mz("Promise Resolved"),bI=Lz):(Q&4194048)!==0&&0>B4&&(_1=B4=$6(),VG=Mz("Promise Resolved"),i9=Lz),LT()&&u0.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
+
|
|
159
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
+
|
|
161
|
+
act(() => {
|
|
162
|
+
/* finish loading suspended data */
|
|
163
|
+
});
|
|
164
|
+
/* assert on the output */
|
|
165
|
+
|
|
166
|
+
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`),ZU===$&&(x$&Q)===Q&&(xU===mI||xU===xz&&(x$&62914560)===x$&&O6()-uz<w_?(n$&Z6)===V6&&kJ($,0):DV|=Q,dX===x$&&(dX=0)),V1($)}function fT($,U){U===0&&(U=L$()),$=T6($,U),$!==null&&(p0($,U),V1($))}function mv($){var U=$.memoizedState,Q=0;U!==null&&(Q=U.retryLane),fT($,Q)}function lv($,U){var Q=0;switch($.tag){case 31:case 13:var{stateNode:D,memoizedState:L}=$;L!==null&&(Q=L.retryLane);break;case 19:D=$.stateNode;break;case 22:D=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}D!==null&&D.delete(U),fT($,Q)}function yW($,U,Q){if((U.subtreeFlags&67117056)!==0)for(U=U.child;U!==null;){var D=$,L=U,R=L.type===eZ;R=Q||R,L.tag!==22?L.flags&67108864?R&&J0(L,yT,D,L):yW(D,L,R):L.memoizedState===null&&(R&&L.flags&8192?J0(L,yT,D,L):L.subtreeFlags&67108864&&J0(L,yW,D,L,R)),U=U.sibling}}function yT($,U){v0(!0);try{zT(U),FT(U),OT($,U.alternate,U,!1),WT($,U,0,null,!1,0)}finally{v0(!1)}}function uT($){var U=!0;$.current.mode&(R6|l4)||(U=!1),yW($,$.current,U)}function bT($){if((n$&Z6)===V6){var U=$.tag;if(U===3||U===1||U===0||U===11||U===14||U===15){if(U=t($)||"ReactComponent",mz!==null){if(mz.has(U))return;mz.add(U)}else mz=new Set([U]);J0($,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 tries to update the component. Move this work to useEffect instead.")})}}}function hY($,U){A1&&$.memoizedUpdaters.forEach(function(Q){i0($,Q,U)})}function dv($,U){var Q=u0.actQueue;return Q!==null?(Q.push(U),Gx):L9($,U)}function nv($){LT()&&u0.actQueue===null&&J0($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
+
|
|
168
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
+
|
|
170
|
+
act(() => {
|
|
171
|
+
/* fire events that update state */
|
|
172
|
+
});
|
|
173
|
+
/* assert on the output */
|
|
174
|
+
|
|
175
|
+
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`,t($))})}function V1($){$!==FQ&&$.next===null&&(FQ===null?lz=FQ=$:FQ=FQ.next=$),dz=!0,u0.actQueue!==null?RV||(RV=!0,mT()):PV||(PV=!0,mT())}function pY($,U){if(!_V&&dz){_V=!0;do{var Q=!1;for(var D=lz;D!==null;){if(!U)if($!==0){var L=D.pendingLanes;if(L===0)var R=0;else{var{suspendedLanes:k,pingedLanes:f}=D;R=(1<<31-E6(42|$)+1)-1,R&=L&~(k&~f),R=R&201326741?R&201326741|1:R?R|2:0}R!==0&&(Q=!0,pT(D,R))}else R=x$,R=I$(D,D===ZU?R:0,D.cancelPendingCommit!==null||D.timeoutHandle!==tX),(R&3)===0||L0(D,R)||(Q=!0,pT(D,R));D=D.next}}while(Q);_V=!1}}function ov(){cG=window.event,uW()}function uW(){dz=RV=PV=!1;var $=0;tI!==0&&$3()&&($=tI);for(var U=O6(),Q=null,D=lz;D!==null;){var L=D.next,R=cT(D,U);if(R===0)D.next=null,Q===null?lz=L:Q.next=L,L===null&&(FQ=Q);else if(Q=D,$!==0||(R&3)!==0)dz=!0;D=L}Q6!==iI&&Q6!==hz||pY($,!1),tI!==0&&(tI=0)}function cT($,U){for(var{suspendedLanes:Q,pingedLanes:D,expirationTimes:L}=$,R=$.pendingLanes&-62914561;0<R;){var k=31-E6(R),f=1<<k,l=L[k];if(l===-1){if((f&Q)===0||(f&D)!==0)L[k]=B0(f,U)}else l<=U&&($.expiredLanes|=f);R&=~f}if(U=ZU,Q=x$,Q=I$($,$===U?Q:0,$.cancelPendingCommit!==null||$.timeoutHandle!==tX),D=$.callbackNode,Q===0||$===U&&(IU===mX||IU===lX)||$.cancelPendingCommit!==null)return D!==null&&bW(D),$.callbackNode=null,$.callbackPriority=0;if((Q&3)===0||L0($,Q)){if(U=Q&-Q,U!==$.callbackPriority||u0.actQueue!==null&&D!==qV)bW(D);else return U;switch(m(Q)){case z4:case m4:Q=C9;break;case C1:Q=bJ;break;case Qz:Q=T9;break;default:Q=bJ}return D=hT.bind(null,$),u0.actQueue!==null?(u0.actQueue.push(D),Q=qV):Q=L9(Q,D),$.callbackPriority=U,$.callbackNode=Q,U}return D!==null&&bW(D),$.callbackPriority=2,$.callbackNode=null,2}function hT($,U){if(Rz=Pz=!1,cG=window.event,Q6!==iI&&Q6!==hz)return $.callbackNode=null,$.callbackPriority=0,null;var Q=$.callbackNode;if(r4===cz&&(r4=FV),cY()&&$.callbackNode!==Q)return null;var D=x$;if(D=I$($,$===ZU?D:0,$.cancelPendingCommit!==null||$.timeoutHandle!==tX),D===0)return null;return CT($,D,U),cT($,O6()),$.callbackNode!=null&&$.callbackNode===Q?hT.bind(null,$):null}function pT($,U){if(cY())return null;Pz=Rz,Rz=!1,CT($,U,!0)}function bW($){$!==qV&&$!==null&&f3($)}function mT(){u0.actQueue!==null&&u0.actQueue.push(function(){return uW(),null}),Mx(function(){(n$&(Z6|V4))!==V6?L9(A9,ov):uW()})}function cW(){if(tI===0){var $=fX;$===0&&($=Iz,Iz<<=1,(Iz&261888)===0&&(Iz=256)),tI=$}return tI}function lT($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return n($,"action"),AY(""+$)}function dT($,U){var Q=U.ownerDocument.createElement("input");return Q.name=U.name,Q.value=U.value,$.id&&Q.setAttribute("form",$.id),U.parentNode.insertBefore(Q,U),$=new FormData($),Q.parentNode.removeChild(Q),$}function iv($,U,Q,D,L){if(U==="submit"&&Q&&Q.stateNode===L){var R=lT((L[S6]||null).action),k=D.submitter;k&&(U=(U=k[S6]||null)?lT(U.formAction):k.getAttribute("formAction"),U!==null&&(R=U,k=null));var f=new Oz("action","action",null,D,L);$.push({event:f,listeners:[{instance:null,listener:function(){if(D.defaultPrevented){if(tI!==0){var l=k?dT(L,k):new FormData(L),o={pending:!0,data:l,method:L.method,action:R};Object.freeze(o),YW(Q,o,null,l)}}else typeof R==="function"&&(f.preventDefault(),l=k?dT(L,k):new FormData(L),o={pending:!0,data:l,method:L.method,action:R},Object.freeze(o),YW(Q,o,R,l))},currentTarget:L}]})}}function pZ($,U,Q){$.currentTarget=Q;try{U($)}catch(D){y9(D)}$.currentTarget=null}function nT($,U){U=(U&4)!==0;for(var Q=0;Q<$.length;Q++){var D=$[Q];$:{var L=void 0,R=D.event;if(D=D.listeners,U)for(var k=D.length-1;0<=k;k--){var f=D[k],l=f.instance,o=f.currentTarget;if(f=f.listener,l!==L&&R.isPropagationStopped())break $;l!==null?J0(l,pZ,R,f,o):pZ(R,f,o),L=l}else for(k=0;k<D.length;k++){if(f=D[k],l=f.instance,o=f.currentTarget,f=f.listener,l!==L&&R.isPropagationStopped())break $;l!==null?J0(l,pZ,R,f,o):pZ(R,f,o),L=l}}}}function m$($,U){EV.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var Q=U[P9];Q===void 0&&(Q=U[P9]=new Set);var D=$+"__bubble";Q.has(D)||(oT(U,$,2,!1),Q.add(D))}function hW($,U,Q){EV.has($)&&!U&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var D=0;U&&(D|=4),oT(Q,$,D,U)}function pW($){if(!$[nz]){$[nz]=!0,mP.forEach(function(Q){Q!=="selectionchange"&&(EV.has(Q)||hW(Q,!1,$),hW(Q,!0,$))});var U=$.nodeType===9?$:$.ownerDocument;U===null||U[nz]||(U[nz]=!0,hW("selectionchange",!1,U))}}function oT($,U,Q,D){switch(EP(U)){case z4:var L=j3;break;case m4:L=B3;break;default:L=J9}Q=L.bind(null,U,Q,$),L=void 0,!S9||U!=="touchstart"&&U!=="touchmove"&&U!=="wheel"||(L=!0),D?L!==void 0?$.addEventListener(U,Q,{capture:!0,passive:L}):$.addEventListener(U,Q,!0):L!==void 0?$.addEventListener(U,Q,{passive:L}):$.addEventListener(U,Q,!1)}function mW($,U,Q,D,L){var R=D;if((U&1)===0&&(U&2)===0&&D!==null)$:for(;;){if(D===null)return;var k=D.tag;if(k===3||k===4){var f=D.stateNode.containerInfo;if(f===L)break;if(k===4)for(k=D.return;k!==null;){var l=k.tag;if((l===3||l===4)&&k.stateNode.containerInfo===L)return;k=k.return}for(;f!==null;){if(k=N0(f),k===null)return;if(l=k.tag,l===5||l===6||l===26||l===27){D=R=k;continue $}f=f.parentNode}}D=D.return}JA(function(){var o=R,P0=K8(Q),R0=[];$:{var V0=ER.get($);if(V0!==void 0){var k0=Oz,K$=$;switch($){case"keypress":if(t2(Q)===0)break $;case"keydown":case"keyup":k0=Rk;break;case"focusin":K$="focus",k0=v9;break;case"focusout":K$="blur",k0=v9;break;case"beforeblur":case"afterblur":k0=v9;break;case"click":if(Q.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k0=WR;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k0=Kk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k0=Ek;break;case PR:case RR:case _R:k0=Dk;break;case qR:k0=jk;break;case"scroll":case"scrollend":k0=zk;break;case"wheel":k0=Nk;break;case"copy":case"cut":case"paste":k0=Fk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k0=DR;break;case"toggle":case"beforetoggle":k0=kk}var H$=(U&4)!==0,HU=!H$&&($==="scroll"||$==="scrollend"),l$=H$?V0!==null?V0+"Capture":null:V0;H$=[];for(var z0=o,D0;z0!==null;){var C0=z0;if(D0=C0.stateNode,C0=C0.tag,C0!==5&&C0!==26&&C0!==27||D0===null||l$===null||(C0=CY(z0,l$),C0!=null&&H$.push(mY(z0,C0,D0))),HU)break;z0=z0.return}0<H$.length&&(V0=new k0(V0,K$,null,Q,P0),R0.push({event:V0,listeners:H$}))}}if((U&7)===0){$:{if(V0=$==="mouseover"||$==="pointerover",k0=$==="mouseout"||$==="pointerout",V0&&Q!==$G&&(K$=Q.relatedTarget||Q.fromElement)&&(N0(K$)||K$[vI]))break $;if(k0||V0){if(V0=P0.window===P0?P0:(V0=P0.ownerDocument)?V0.defaultView||V0.parentWindow:window,k0){if(K$=Q.relatedTarget||Q.toElement,k0=o,K$=K$?N0(K$):null,K$!==null&&(HU=b(K$),H$=K$.tag,K$!==HU||H$!==5&&H$!==27&&H$!==6))K$=null}else k0=null,K$=o;if(k0!==K$){if(H$=WR,C0="onMouseLeave",l$="onMouseEnter",z0="mouse",$==="pointerout"||$==="pointerover")H$=DR,C0="onPointerLeave",l$="onPointerEnter",z0="pointer";if(HU=k0==null?V0:x0(k0),D0=K$==null?V0:x0(K$),V0=new H$(C0,z0+"leave",k0,Q,P0),V0.target=HU,V0.relatedTarget=D0,C0=null,N0(P0)===o&&(H$=new H$(l$,z0+"enter",K$,Q,P0),H$.target=D0,H$.relatedTarget=HU,C0=H$),HU=C0,k0&&K$)U:{H$=rv,l$=k0,z0=K$,D0=0;for(C0=l$;C0;C0=H$(C0))D0++;C0=0;for(var l0=z0;l0;l0=H$(l0))C0++;for(;0<D0-C0;)l$=H$(l$),D0--;for(;0<C0-D0;)z0=H$(z0),C0--;for(;D0--;){if(l$===z0||z0!==null&&l$===z0.alternate){H$=l$;break U}l$=H$(l$),z0=H$(z0)}H$=null}else H$=null;k0!==null&&iT(R0,V0,k0,H$,!1),K$!==null&&HU!==null&&iT(R0,HU,K$,H$,!0)}}}$:{if(V0=o?x0(o):window,k0=V0.nodeName&&V0.nodeName.toLowerCase(),k0==="select"||k0==="input"&&V0.type==="file")var W$=KA;else if(zA(V0))if(CR)W$=Gv;else{W$=Qv;var _$=Jv}else k0=V0.nodeName,!k0||k0.toLowerCase()!=="input"||V0.type!=="checkbox"&&V0.type!=="radio"?o&&LY(o.elementType)&&(W$=KA):W$=Yv;if(W$&&(W$=W$($,o))){OA(R0,W$,Q,P0);break $}_$&&_$($,V0,o),$==="focusout"&&o&&V0.type==="number"&&o.memoizedProps.value!=null&&B$(V0,"number",V0.value)}switch(_$=o?x0(o):window,$){case"focusin":if(zA(_$)||_$.contentEditable==="true")oJ=_$,x9=o,GG=null;break;case"focusout":GG=x9=oJ=null;break;case"mousedown":g9=!0;break;case"contextmenu":case"mouseup":case"dragend":g9=!1,LA(R0,Q,P0);break;case"selectionchange":if(fk)break;case"keydown":case"keyup":LA(R0,Q,P0)}var A$;if(k9)$:{switch($){case"compositionstart":var M$="onCompositionStart";break $;case"compositionend":M$="onCompositionEnd";break $;case"compositionupdate":M$="onCompositionUpdate";break $}M$=void 0}else nJ?GA($,Q)&&(M$="onCompositionEnd"):$==="keydown"&&Q.keyCode===HR&&(M$="onCompositionStart");if(M$&&(FR&&Q.locale!=="ko"&&(nJ||M$!=="onCompositionStart"?M$==="onCompositionEnd"&&nJ&&(A$=QA()):(kI=P0,j9=("value"in kI)?kI.value:kI.textContent,nJ=!0)),_$=mZ(o,M$),0<_$.length&&(M$=new VR(M$,$,null,Q,P0),R0.push({event:M$,listeners:_$}),A$?M$.data=A$:(A$=ZA(Q),A$!==null&&(M$.data=A$)))),A$=gk?$v($,Q):Uv($,Q))M$=mZ(o,"onBeforeInput"),0<M$.length&&(_$=new Lk("onBeforeInput","beforeinput",null,Q,P0),R0.push({event:_$,listeners:M$}),_$.data=A$);iv(R0,$,o,Q,P0)}nT(R0,U)})}function mY($,U,Q){return{instance:$,listener:U,currentTarget:Q}}function mZ($,U){for(var Q=U+"Capture",D=[];$!==null;){var L=$,R=L.stateNode;if(L=L.tag,L!==5&&L!==26&&L!==27||R===null||(L=CY($,Q),L!=null&&D.unshift(mY($,L,R)),L=CY($,U),L!=null&&D.push(mY($,L,R))),$.tag===3)return D;$=$.return}return[]}function rv($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function iT($,U,Q,D,L){for(var R=U._reactName,k=[];Q!==null&&Q!==D;){var f=Q,l=f.alternate,o=f.stateNode;if(f=f.tag,l!==null&&l===D)break;f!==5&&f!==26&&f!==27||o===null||(l=o,L?(o=CY(Q,R),o!=null&&k.unshift(mY(Q,o,l))):L||(o=CY(Q,R),o!=null&&k.push(mY(Q,o,l)))),Q=Q.return}k.length!==0&&$.push({event:U,listeners:k})}function lW($,U){tN($,U),$!=="input"&&$!=="textarea"&&$!=="select"||U==null||U.value!==null||OR||(OR=!0,$==="select"&&U.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var Q={registrationNameDependencies:NX,possibleRegistrationNames:R9};LY($)||typeof U.is==="string"||sN($,U,Q),U.contentEditable&&!U.suppressContentEditableWarning&&U.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function z6($,U,Q,D){U!==Q&&(Q=EI(Q),EI(U)!==Q&&(D[$]=U))}function tv($,U,Q){U.forEach(function(D){Q[aT(D)]=D==="style"?nW($):$.getAttribute(D)})}function D1($,U){U===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof U)}function rT($,U){return $=$.namespaceURI===Gz||$.namespaceURI===pJ?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=U,$.innerHTML}function EI($){return $0($)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",A0($)),h($)),(typeof $==="string"?$:""+$).replace(Zx,`
|
|
176
|
+
`).replace(zx,"")}function tT($,U){return U=EI(U),EI($)===U?!0:!1}function YU($,U,Q,D,L,R){switch(Q){case"children":if(typeof D==="string")r2(D,U,!1),U==="body"||U==="textarea"&&D===""||MY($,D);else if(typeof D==="number"||typeof D==="bigint")r2(""+D,U,!1),U!=="body"&&MY($,""+D);break;case"className":_0($,"class",D);break;case"tabIndex":_0($,"tabindex",D);break;case"dir":case"role":case"viewBox":case"width":case"height":_0($,Q,D);break;case"style":UA($,D,R);break;case"data":if(U!=="object"){_0($,"data",D);break}case"src":case"href":if(D===""&&(U!=="a"||Q!=="href")){Q==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Q,Q):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Q,Q),$.removeAttribute(Q);break}if(D==null||typeof D==="function"||typeof D==="symbol"||typeof D==="boolean"){$.removeAttribute(Q);break}n(D,Q),D=AY(""+D),$.setAttribute(Q,D);break;case"action":case"formAction":if(D!=null&&(U==="form"?Q==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof D==="function"&&(L.encType==null&&L.method==null||rz||(rz=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),L.target==null||iz||(iz=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):U==="input"||U==="button"?Q==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):U!=="input"||L.type==="submit"||L.type==="image"||oz?U!=="button"||L.type==null||L.type==="submit"||oz?typeof D==="function"&&(L.name==null||r_||(r_=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),L.formEncType==null&&L.formMethod==null||rz||(rz=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),L.formTarget==null||iz||(iz=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(oz=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(oz=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Q==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof D==="function"){$.setAttribute(Q,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof R==="function"&&(Q==="formAction"?(U!=="input"&&YU($,U,"name",L.name,L,null),YU($,U,"formEncType",L.formEncType,L,null),YU($,U,"formMethod",L.formMethod,L,null),YU($,U,"formTarget",L.formTarget,L,null)):(YU($,U,"encType",L.encType,L,null),YU($,U,"method",L.method,L,null),YU($,U,"target",L.target,L,null)));if(D==null||typeof D==="symbol"||typeof D==="boolean"){$.removeAttribute(Q);break}n(D,Q),D=AY(""+D),$.setAttribute(Q,D);break;case"onClick":D!=null&&(typeof D!=="function"&&D1(Q,D),$.onclick=y1);break;case"onScroll":D!=null&&(typeof D!=="function"&&D1(Q,D),m$("scroll",$));break;case"onScrollEnd":D!=null&&(typeof D!=="function"&&D1(Q,D),m$("scrollend",$));break;case"dangerouslySetInnerHTML":if(D!=null){if(typeof D!=="object"||!("__html"in D))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Q=D.__html,Q!=null){if(L.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"multiple":$.multiple=D&&typeof D!=="function"&&typeof D!=="symbol";break;case"muted":$.muted=D&&typeof D!=="function"&&typeof D!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(D==null||typeof D==="function"||typeof D==="boolean"||typeof D==="symbol"){$.removeAttribute("xlink:href");break}n(D,Q),Q=AY(""+D),$.setAttributeNS(oX,"xlink:href",Q);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":D!=null&&typeof D!=="function"&&typeof D!=="symbol"?(n(D,Q),$.setAttribute(Q,""+D)):$.removeAttribute(Q);break;case"inert":D!==""||tz[Q]||(tz[Q]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",Q));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":D&&typeof D!=="function"&&typeof D!=="symbol"?$.setAttribute(Q,""):$.removeAttribute(Q);break;case"capture":case"download":D===!0?$.setAttribute(Q,""):D!==!1&&D!=null&&typeof D!=="function"&&typeof D!=="symbol"?(n(D,Q),$.setAttribute(Q,D)):$.removeAttribute(Q);break;case"cols":case"rows":case"size":case"span":D!=null&&typeof D!=="function"&&typeof D!=="symbol"&&!isNaN(D)&&1<=D?(n(D,Q),$.setAttribute(Q,D)):$.removeAttribute(Q);break;case"rowSpan":case"start":D==null||typeof D==="function"||typeof D==="symbol"||isNaN(D)?$.removeAttribute(Q):(n(D,Q),$.setAttribute(Q,D));break;case"popover":m$("beforetoggle",$),m$("toggle",$),G0($,"popover",D);break;case"xlinkActuate":E0($,oX,"xlink:actuate",D);break;case"xlinkArcrole":E0($,oX,"xlink:arcrole",D);break;case"xlinkRole":E0($,oX,"xlink:role",D);break;case"xlinkShow":E0($,oX,"xlink:show",D);break;case"xlinkTitle":E0($,oX,"xlink:title",D);break;case"xlinkType":E0($,oX,"xlink:type",D);break;case"xmlBase":E0($,SV,"xml:base",D);break;case"xmlLang":E0($,SV,"xml:lang",D);break;case"xmlSpace":E0($,SV,"xml:space",D);break;case"is":R!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),G0($,"is",D);break;case"innerText":case"textContent":break;case"popoverTarget":t_||D==null||typeof D!=="object"||(t_=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",D));default:!(2<Q.length)||Q[0]!=="o"&&Q[0]!=="O"||Q[1]!=="n"&&Q[1]!=="N"?(Q=IA(Q),G0($,Q,D)):NX.hasOwnProperty(Q)&&D!=null&&typeof D!=="function"&&D1(Q,D)}}function dW($,U,Q,D,L,R){switch(Q){case"style":UA($,D,R);break;case"dangerouslySetInnerHTML":if(D!=null){if(typeof D!=="object"||!("__html"in D))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Q=D.__html,Q!=null){if(L.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"children":typeof D==="string"?MY($,D):(typeof D==="number"||typeof D==="bigint")&&MY($,""+D);break;case"onScroll":D!=null&&(typeof D!=="function"&&D1(Q,D),m$("scroll",$));break;case"onScrollEnd":D!=null&&(typeof D!=="function"&&D1(Q,D),m$("scrollend",$));break;case"onClick":D!=null&&(typeof D!=="function"&&D1(Q,D),$.onclick=y1);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(NX.hasOwnProperty(Q))D!=null&&typeof D!=="function"&&D1(Q,D);else $:{if(Q[0]==="o"&&Q[1]==="n"&&(L=Q.endsWith("Capture"),U=Q.slice(2,L?Q.length-7:void 0),R=$[S6]||null,R=R!=null?R[Q]:null,typeof R==="function"&&$.removeEventListener(U,R,L),typeof D==="function")){typeof R!=="function"&&R!==null&&(Q in $?$[Q]=null:$.hasAttribute(Q)&&$.removeAttribute(Q)),$.addEventListener(U,D,L);break $}Q in $?$[Q]=D:D===!0?$.setAttribute(Q,""):G0($,Q,D)}}}function M6($,U,Q){switch(lW(U,Q),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":m$("error",$),m$("load",$);var D=!1,L=!1,R;for(R in Q)if(Q.hasOwnProperty(R)){var k=Q[R];if(k!=null)switch(R){case"src":D=!0;break;case"srcSet":L=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:YU($,U,R,k,Q,null)}}L&&YU($,U,"srcSet",Q.srcSet,Q,null),D&&YU($,U,"src",Q.src,Q,null);return;case"input":WU("input",Q),m$("invalid",$);var f=R=k=L=null,l=null,o=null;for(D in Q)if(Q.hasOwnProperty(D)){var P0=Q[D];if(P0!=null)switch(D){case"name":L=P0;break;case"type":k=P0;break;case"checked":l=P0;break;case"defaultChecked":o=P0;break;case"value":R=P0;break;case"defaultValue":f=P0;break;case"children":case"dangerouslySetInnerHTML":if(P0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:YU($,U,D,P0,Q,null)}}J$($,Q),_U($,R,f,l,o,k,L,!1);return;case"select":WU("select",Q),m$("invalid",$),D=k=R=null;for(L in Q)if(Q.hasOwnProperty(L)&&(f=Q[L],f!=null))switch(L){case"value":R=f;break;case"defaultValue":k=f;break;case"multiple":D=f;default:YU($,U,L,f,Q,null)}bU($,Q),U=R,Q=k,$.multiple=!!D,U!=null?d$($,!!D,U,!1):Q!=null&&d$($,!!D,Q,!0);return;case"textarea":WU("textarea",Q),m$("invalid",$),R=L=D=null;for(k in Q)if(Q.hasOwnProperty(k)&&(f=Q[k],f!=null))switch(k){case"value":D=f;break;case"defaultValue":L=f;break;case"children":R=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:YU($,U,k,f,Q,null)}cU($,Q),pU($,D,L,R);return;case"option":S$($,Q);for(l in Q)if(Q.hasOwnProperty(l)&&(D=Q[l],D!=null))switch(l){case"selected":$.selected=D&&typeof D!=="function"&&typeof D!=="symbol";break;default:YU($,U,l,D,Q,null)}return;case"dialog":m$("beforetoggle",$),m$("toggle",$),m$("cancel",$),m$("close",$);break;case"iframe":case"object":m$("load",$);break;case"video":case"audio":for(D=0;D<yG.length;D++)m$(yG[D],$);break;case"image":m$("error",$),m$("load",$);break;case"details":m$("toggle",$);break;case"embed":case"source":case"link":m$("error",$),m$("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(o in Q)if(Q.hasOwnProperty(o)&&(D=Q[o],D!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:YU($,U,o,D,Q,null)}return;default:if(LY(U)){for(P0 in Q)Q.hasOwnProperty(P0)&&(D=Q[P0],D!==void 0&&dW($,U,P0,D,Q,void 0));return}}for(f in Q)Q.hasOwnProperty(f)&&(D=Q[f],D!=null&&YU($,U,f,D,Q,null))}function av($,U,Q,D){switch(lW(U,D),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var L=null,R=null,k=null,f=null,l=null,o=null,P0=null;for(k0 in Q){var R0=Q[k0];if(Q.hasOwnProperty(k0)&&R0!=null)switch(k0){case"checked":break;case"value":break;case"defaultValue":l=R0;default:D.hasOwnProperty(k0)||YU($,U,k0,null,D,R0)}}for(var V0 in D){var k0=D[V0];if(R0=Q[V0],D.hasOwnProperty(V0)&&(k0!=null||R0!=null))switch(V0){case"type":R=k0;break;case"name":L=k0;break;case"checked":o=k0;break;case"defaultChecked":P0=k0;break;case"value":k=k0;break;case"defaultValue":f=k0;break;case"children":case"dangerouslySetInnerHTML":if(k0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:k0!==R0&&YU($,U,V0,k0,D,R0)}}U=Q.type==="checkbox"||Q.type==="radio"?Q.checked!=null:Q.value!=null,D=D.type==="checkbox"||D.type==="radio"?D.checked!=null:D.value!=null,U||!D||i_||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),i_=!0),!U||D||o_||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),o_=!0),$$($,k,f,l,o,P0,R,L);return;case"select":k0=k=f=V0=null;for(R in Q)if(l=Q[R],Q.hasOwnProperty(R)&&l!=null)switch(R){case"value":break;case"multiple":k0=l;default:D.hasOwnProperty(R)||YU($,U,R,null,D,l)}for(L in D)if(R=D[L],l=Q[L],D.hasOwnProperty(L)&&(R!=null||l!=null))switch(L){case"value":V0=R;break;case"defaultValue":f=R;break;case"multiple":k=R;default:R!==l&&YU($,U,L,R,D,l)}D=f,U=k,Q=k0,V0!=null?d$($,!!U,V0,!1):!!Q!==!!U&&(D!=null?d$($,!!U,D,!0):d$($,!!U,U?[]:"",!1));return;case"textarea":k0=V0=null;for(f in Q)if(L=Q[f],Q.hasOwnProperty(f)&&L!=null&&!D.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:YU($,U,f,null,D,L)}for(k in D)if(L=D[k],R=Q[k],D.hasOwnProperty(k)&&(L!=null||R!=null))switch(k){case"value":V0=L;break;case"defaultValue":k0=L;break;case"children":break;case"dangerouslySetInnerHTML":if(L!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:L!==R&&YU($,U,k,L,D,R)}hU($,V0,k0);return;case"option":for(var K$ in Q)if(V0=Q[K$],Q.hasOwnProperty(K$)&&V0!=null&&!D.hasOwnProperty(K$))switch(K$){case"selected":$.selected=!1;break;default:YU($,U,K$,null,D,V0)}for(l in D)if(V0=D[l],k0=Q[l],D.hasOwnProperty(l)&&V0!==k0&&(V0!=null||k0!=null))switch(l){case"selected":$.selected=V0&&typeof V0!=="function"&&typeof V0!=="symbol";break;default:YU($,U,l,V0,D,k0)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var H$ in Q)V0=Q[H$],Q.hasOwnProperty(H$)&&V0!=null&&!D.hasOwnProperty(H$)&&YU($,U,H$,null,D,V0);for(o in D)if(V0=D[o],k0=Q[o],D.hasOwnProperty(o)&&V0!==k0&&(V0!=null||k0!=null))switch(o){case"children":case"dangerouslySetInnerHTML":if(V0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:YU($,U,o,V0,D,k0)}return;default:if(LY(U)){for(var HU in Q)V0=Q[HU],Q.hasOwnProperty(HU)&&V0!==void 0&&!D.hasOwnProperty(HU)&&dW($,U,HU,void 0,D,V0);for(P0 in D)V0=D[P0],k0=Q[P0],!D.hasOwnProperty(P0)||V0===k0||V0===void 0&&k0===void 0||dW($,U,P0,V0,D,k0);return}}for(var l$ in Q)V0=Q[l$],Q.hasOwnProperty(l$)&&V0!=null&&!D.hasOwnProperty(l$)&&YU($,U,l$,null,D,V0);for(R0 in D)V0=D[R0],k0=Q[R0],!D.hasOwnProperty(R0)||V0===k0||V0==null&&k0==null||YU($,U,R0,V0,D,k0)}function aT($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function nW($){var U={};$=$.style;for(var Q=0;Q<$.length;Q++){var D=$[Q];U[D]=$.getPropertyValue(D)}return U}function sT($,U,Q){if(U!=null&&typeof U!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var D,L=D="",R;for(R in U)if(U.hasOwnProperty(R)){var k=U[R];k!=null&&typeof k!=="boolean"&&k!==""&&(R.indexOf("--")===0?(F0(k,R),D+=L+R+":"+(""+k).trim()):typeof k!=="number"||k===0||ZR.has(R)?(F0(k,R),D+=L+R.replace(XR,"-$1").toLowerCase().replace(JR,"-ms-")+":"+(""+k).trim()):D+=L+R.replace(XR,"-$1").toLowerCase().replace(JR,"-ms-")+":"+k+"px",L=";")}D=D||null,U=$.getAttribute("style"),U!==D&&(D=EI(D),EI(U)!==D&&(Q.style=nW($)))}}function P4($,U,Q,D,L,R){if(L.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":return}else if(D!=null)switch(typeof D){case"function":case"symbol":case"boolean":break;default:if(n(D,U),$===""+D)return}z6(U,$,D,R)}function eT($,U,Q,D,L,R){if(L.delete(Q),$=$.getAttribute(Q),$===null){switch(typeof D){case"function":case"symbol":return}if(!D)return}else switch(typeof D){case"function":case"symbol":break;default:if(D)return}z6(U,$,D,R)}function oW($,U,Q,D,L,R){if(L.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof D){case"undefined":case"function":case"symbol":return}else if(D!=null)switch(typeof D){case"function":case"symbol":break;default:if(n(D,Q),$===""+D)return}z6(U,$,D,R)}function $P($,U,Q,D,L,R){if(L.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(D))return}else if(D!=null)switch(typeof D){case"function":case"symbol":case"boolean":break;default:if(!isNaN(D)&&(n(D,U),$===""+D))return}z6(U,$,D,R)}function iW($,U,Q,D,L,R){if(L.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":return}else if(D!=null)switch(typeof D){case"function":case"symbol":case"boolean":break;default:if(n(D,U),Q=AY(""+D),$===Q)return}z6(U,$,D,R)}function UP($,U,Q,D){for(var L={},R=new Set,k=$.attributes,f=0;f<k.length;f++)switch(k[f].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:R.add(k[f].name)}if(LY(U)){for(var l in Q)if(Q.hasOwnProperty(l)){var o=Q[l];if(o!=null){if(NX.hasOwnProperty(l))typeof o!=="function"&&D1(l,o);else if(Q.suppressHydrationWarning!==!0)switch(l){case"children":typeof o!=="string"&&typeof o!=="number"||z6("children",$.textContent,o,L);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,o=o?o.__html:void 0,o!=null&&(o=rT($,o),z6(l,k,o,L));continue;case"style":R.delete(l),sT($,o,L);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":R.delete(l.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",l);continue;case"className":R.delete("class"),k=i($,"class",o),z6("className",k,o,L);continue;default:D.context===QI&&U!=="svg"&&U!=="math"?R.delete(l.toLowerCase()):R.delete(l),k=i($,l,o),z6(l,k,o,L)}}}}else for(o in Q)if(Q.hasOwnProperty(o)&&(l=Q[o],l!=null)){if(NX.hasOwnProperty(o))typeof l!=="function"&&D1(o,l);else if(Q.suppressHydrationWarning!==!0)switch(o){case"children":typeof l!=="string"&&typeof l!=="number"||z6("children",$.textContent,l,L);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,l=l?l.__html:void 0,l!=null&&(l=rT($,l),k!==l&&(L[o]={__html:k}));continue;case"className":P4($,o,"class",l,R,L);continue;case"tabIndex":P4($,o,"tabindex",l,R,L);continue;case"style":R.delete(o),sT($,l,L);continue;case"multiple":R.delete(o),z6(o,$.multiple,l,L);continue;case"muted":R.delete(o),z6(o,$.muted,l,L);continue;case"autoFocus":R.delete("autofocus"),z6(o,$.autofocus,l,L);continue;case"data":if(U!=="object"){R.delete(o),k=$.getAttribute("data"),z6(o,k,l,L);continue}case"src":case"href":if(!(l!==""||U==="a"&&o==="href"||U==="object"&&o==="data")){o==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o);continue}iW($,o,o,l,R,L);continue;case"action":case"formAction":if(k=$.getAttribute(o),typeof l==="function"){R.delete(o.toLowerCase()),o==="formAction"?(R.delete("name"),R.delete("formenctype"),R.delete("formmethod"),R.delete("formtarget")):(R.delete("enctype"),R.delete("method"),R.delete("target"));continue}else if(k===Ox){R.delete(o.toLowerCase()),z6(o,"function",l,L);continue}iW($,o,o.toLowerCase(),l,R,L);continue;case"xlinkHref":iW($,o,"xlink:href",l,R,L);continue;case"contentEditable":oW($,o,"contenteditable",l,R,L);continue;case"spellCheck":oW($,o,"spellcheck",l,R,L);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":oW($,o,o,l,R,L);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":eT($,o,o.toLowerCase(),l,R,L);continue;case"capture":case"download":$:{f=$;var P0=k=o,R0=L;if(R.delete(P0),f=f.getAttribute(P0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":break $;default:if(l===!1)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":break;case"boolean":if(l===!0&&f==="")break $;break;default:if(n(l,k),f===""+l)break $}z6(k,f,l,R0)}continue;case"cols":case"rows":case"size":case"span":$:{if(f=$,P0=k=o,R0=L,R.delete(P0),f=f.getAttribute(P0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(l)||1>l)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(l)||1>l)&&(n(l,k),f===""+l))break $}z6(k,f,l,R0)}continue;case"rowSpan":$P($,o,"rowspan",l,R,L);continue;case"start":$P($,o,o,l,R,L);continue;case"xHeight":P4($,o,"x-height",l,R,L);continue;case"xlinkActuate":P4($,o,"xlink:actuate",l,R,L);continue;case"xlinkArcrole":P4($,o,"xlink:arcrole",l,R,L);continue;case"xlinkRole":P4($,o,"xlink:role",l,R,L);continue;case"xlinkShow":P4($,o,"xlink:show",l,R,L);continue;case"xlinkTitle":P4($,o,"xlink:title",l,R,L);continue;case"xlinkType":P4($,o,"xlink:type",l,R,L);continue;case"xmlBase":P4($,o,"xml:base",l,R,L);continue;case"xmlLang":P4($,o,"xml:lang",l,R,L);continue;case"xmlSpace":P4($,o,"xml:space",l,R,L);continue;case"inert":l!==""||tz[o]||(tz[o]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",o)),eT($,o,o,l,R,L);continue;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){f=IA(o),k=!1,D.context===QI&&U!=="svg"&&U!=="math"?R.delete(f.toLowerCase()):(P0=o.toLowerCase(),P0=Zz.hasOwnProperty(P0)?Zz[P0]||null:null,P0!==null&&P0!==o&&(k=!0,R.delete(P0)),R.delete(f));$:if(P0=$,R0=f,f=l,s0(R0))if(P0.hasAttribute(R0))P0=P0.getAttribute(R0),n(f,R0),f=P0===""+f?f:P0;else{switch(typeof f){case"function":case"symbol":break $;case"boolean":if(P0=R0.toLowerCase().slice(0,5),P0!=="data-"&&P0!=="aria-")break $}f=f===void 0?void 0:null}else f=void 0;k||z6(o,f,l,L)}}}return 0<R.size&&Q.suppressHydrationWarning!==!0&&tv($,R,L),Object.keys(L).length===0?null:L}function sv($,U){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+U+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+U+" "+$[$.length-1]}}function IP($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ev(){if(typeof performance.getEntriesByType==="function"){for(var $=0,U=0,Q=performance.getEntriesByType("resource"),D=0;D<Q.length;D++){var L=Q[D],R=L.transferSize,k=L.initiatorType,f=L.duration;if(R&&f&&IP(k)){k=0,f=L.responseEnd;for(D+=1;D<Q.length;D++){var l=Q[D],o=l.startTime;if(o>f)break;var{transferSize:P0,initiatorType:R0}=l;P0&&IP(R0)&&(l=l.responseEnd,k+=P0*(l<f?1:(f-o)/(l-o)))}if(--D,U+=8*(R+k)/(L.duration/1000),$++,10<$)break}}if(0<$)return U/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function lZ($){return $.nodeType===9?$:$.ownerDocument}function XP($){switch($){case pJ:return LQ;case Gz:return sz;default:return QI}}function JP($,U){if($===QI)switch(U){case"svg":return LQ;case"math":return sz;default:return QI}return $===LQ&&U==="foreignObject"?QI:$}function rW($,U){return $==="textarea"||$==="noscript"||typeof U.children==="string"||typeof U.children==="number"||typeof U.children==="bigint"||typeof U.dangerouslySetInnerHTML==="object"&&U.dangerouslySetInnerHTML!==null&&U.dangerouslySetInnerHTML.__html!=null}function $3(){var $=window.event;if($&&$.type==="popstate"){if($===vV)return!1;return vV=$,!0}return vV=null,!1}function lY(){var $=window.event;return $&&$!==cG?$.type:null}function dY(){var $=window.event;return $&&$!==cG?$.timeStamp:-1.1}function U3($){setTimeout(function(){throw $})}function I3($,U,Q){switch(U){case"button":case"input":case"select":case"textarea":Q.autoFocus&&$.focus();break;case"img":Q.src?$.src=Q.src:Q.srcSet&&($.srcset=Q.srcSet)}}function X3(){}function J3($,U,Q,D){av($,U,Q,D),$[S6]=D}function QP($){MY($,"")}function Q3($,U,Q){$.nodeValue=Q}function YP($){if(!$.__reactWarnedAboutChildrenConflict){var U=$[S6]||null;if(U!==null){var Q=F$($);Q!==null&&(typeof U.children==="string"||typeof U.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,J0(Q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):U.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,J0(Q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function SI($){return $==="head"}function Y3($,U){$.removeChild(U)}function G3($,U){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(U)}function GP($,U){var Q=U,D=0;do{var L=Q.nextSibling;if($.removeChild(Q),L&&L.nodeType===8)if(Q=L.data,Q===bG||Q===az){if(D===0){$.removeChild(L),fJ(U);return}D--}else if(Q===uG||Q===aI||Q===rX||Q===MQ||Q===iX)D++;else if(Q===Wx)nY($.ownerDocument.documentElement);else if(Q===Dx){Q=$.ownerDocument.head,nY(Q);for(var R=Q.firstChild;R;){var{nextSibling:k,nodeName:f}=R;R[eY]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&R.rel.toLowerCase()==="stylesheet"||Q.removeChild(R),R=k}}else Q===Vx&&nY($.ownerDocument.body);Q=L}while(Q);fJ(U)}function ZP($,U){var Q=$;$=0;do{var D=Q.nextSibling;if(Q.nodeType===1?U?(Q._stashedDisplay=Q.style.display,Q.style.display="none"):(Q.style.display=Q._stashedDisplay||"",Q.getAttribute("style")===""&&Q.removeAttribute("style")):Q.nodeType===3&&(U?(Q._stashedText=Q.nodeValue,Q.nodeValue=""):Q.nodeValue=Q._stashedText||""),D&&D.nodeType===8)if(Q=D.data,Q===bG)if($===0)break;else $--;else Q!==uG&&Q!==aI&&Q!==rX&&Q!==MQ||$++;Q=D}while(Q)}function Z3($){ZP($,!0)}function z3($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function O3($){$.nodeValue=""}function K3($){ZP($,!1)}function W3($,U){U=U[Hx],U=U!==void 0&&U!==null&&U.hasOwnProperty("display")?U.display:null,$.style.display=U==null||typeof U==="boolean"?"":(""+U).trim()}function V3($,U){$.nodeValue=U}function tW($){var U=$.firstChild;U&&U.nodeType===10&&(U=U.nextSibling);for(;U;){var Q=U;switch(U=U.nextSibling,Q.nodeName){case"HTML":case"HEAD":case"BODY":tW(Q),S0(Q);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Q.rel.toLowerCase()==="stylesheet")continue}$.removeChild(Q)}}function D3($,U,Q,D){for(;$.nodeType===1;){var L=Q;if($.nodeName.toLowerCase()!==U.toLowerCase()){if(!D&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!D)if(U==="input"&&$.type==="hidden"){n(L.name,"name");var R=L.name==null?null:""+L.name;if(L.type==="hidden"&&$.getAttribute("name")===R)return $}else return $;else if(!$[eY])switch(U){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(R=$.getAttribute("rel"),R==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(R!==L.rel||$.getAttribute("href")!==(L.href==null||L.href===""?null:L.href)||$.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin)||$.getAttribute("title")!==(L.title==null?null:L.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(R=$.getAttribute("src"),(R!==(L.src==null?null:L.src)||$.getAttribute("type")!==(L.type==null?null:L.type)||$.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin))&&R&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=Y4($.nextSibling),$===null)break}return null}function H3($,U,Q){if(U==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Q)return null;if($=Y4($.nextSibling),$===null)return null}return $}function zP($,U){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!U)return null;if($=Y4($.nextSibling),$===null)return null}return $}function aW($){return $.data===aI||$.data===rX}function sW($){return $.data===MQ||$.data===aI&&$.ownerDocument.readyState!==s_}function F3($,U){var Q=$.ownerDocument;if($.data===rX)$._reactRetry=U;else if($.data!==aI||Q.readyState!==s_)U();else{var D=function(){U(),Q.removeEventListener("DOMContentLoaded",D)};Q.addEventListener("DOMContentLoaded",D),$._reactRetry=D}}function Y4($){for(;$!=null;$=$.nextSibling){var U=$.nodeType;if(U===1||U===3)break;if(U===8){if(U=$.data,U===uG||U===MQ||U===aI||U===rX||U===iX||U===jV||U===a_)break;if(U===bG||U===az)return null}}return $}function OP($){if($.nodeType===1){for(var U=$.nodeName.toLowerCase(),Q={},D=$.attributes,L=0;L<D.length;L++){var R=D[L];Q[aT(R.name)]=R.name.toLowerCase()==="style"?nW($):R.value}return{type:U,props:Q}}return $.nodeType===8?$.data===iX?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function KP($,U,Q){return Q===null||Q[Kx]!==!0?($.nodeValue===U?$=null:(U=EI(U),$=EI($.nodeValue)===U?null:$.nodeValue),$):null}function eW($){$=$.nextSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===bG||Q===az){if(U===0)return Y4($.nextSibling);U--}else Q!==uG&&Q!==MQ&&Q!==aI&&Q!==rX&&Q!==iX||U++}$=$.nextSibling}return null}function WP($){$=$.previousSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===uG||Q===MQ||Q===aI||Q===rX||Q===iX){if(U===0)return $;U--}else Q!==bG&&Q!==az||U++}$=$.previousSibling}return null}function M3($){fJ($)}function L3($){fJ($)}function A3($){fJ($)}function VP($,U,Q,D,L){switch(L&&O8($,D.ancestorInfo),U=lZ(Q),$){case"html":if($=U.documentElement,!$)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"head":if($=U.head,!$)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"body":if($=U.body,!$)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function C3($,U,Q,D){if(!Q[vI]&&F$(Q)){var L=Q.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",L,L,L)}switch($){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(L=Q.attributes;L.length;)Q.removeAttributeNode(L[0]);M6(Q,$,U),Q[L6]=D,Q[S6]=U}function nY($){for(var U=$.attributes;U.length;)$.removeAttributeNode(U[0]);S0($)}function dZ($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function DP($,U,Q){var D=AQ;if(D&&typeof U==="string"&&U){var L=e$(U);L='link[rel="'+$+'"][href="'+L+'"]',typeof Q==="string"&&(L+='[crossorigin="'+Q+'"]'),Jq.has(L)||(Jq.add(L),$={rel:$,crossOrigin:Q,href:U},D.querySelector(L)===null&&(U=D.createElement("link"),M6(U,"link",$),V$(U),D.head.appendChild(U)))}}function HP($,U,Q,D){var L=(L=BI.current)?dZ(L):null;if(!L)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof Q.precedence==="string"&&typeof Q.href==="string"?(Q=gJ(Q.href),U=y0(L).hoistableStyles,D=U.get(Q),D||(D={type:"style",instance:null,count:0,state:null},U.set(Q,D)),D):{type:"void",instance:null,count:0,state:null};case"link":if(Q.rel==="stylesheet"&&typeof Q.href==="string"&&typeof Q.precedence==="string"){$=gJ(Q.href);var R=y0(L).hoistableStyles,k=R.get($);if(!k&&(L=L.ownerDocument||L,k={type:"stylesheet",instance:null,count:0,state:{loading:aX,preload:null}},R.set($,k),(R=L.querySelector(oY($)))&&!R._p&&(k.instance=R,k.state.loading=hG|x4),!g4.has($))){var f={rel:"preload",as:"style",href:Q.href,crossOrigin:Q.crossOrigin,integrity:Q.integrity,media:Q.media,hrefLang:Q.hrefLang,referrerPolicy:Q.referrerPolicy};g4.set($,f),R||T3(L,$,f,k.state)}if(U&&D===null)throw Q=`
|
|
177
|
+
|
|
178
|
+
- `+nZ(U)+`
|
|
179
|
+
+ `+nZ(Q),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Q);return k}if(U&&D!==null)throw Q=`
|
|
180
|
+
|
|
181
|
+
- `+nZ(U)+`
|
|
182
|
+
+ `+nZ(Q),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Q);return null;case"script":return U=Q.async,Q=Q.src,typeof Q==="string"&&U&&typeof U!=="function"&&typeof U!=="symbol"?(Q=wJ(Q),U=y0(L).hoistableScripts,D=U.get(Q),D||(D={type:"script",instance:null,count:0,state:null},U.set(Q,D)),D):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function nZ($){var U=0,Q="<link";return typeof $.rel==="string"?(U++,Q+=' rel="'+$.rel+'"'):p4.call($,"rel")&&(U++,Q+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(U++,Q+=' href="'+$.href+'"'):p4.call($,"href")&&(U++,Q+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(U++,Q+=' precedence="'+$.precedence+'"'):p4.call($,"precedence")&&(U++,Q+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>U&&(Q+=" ..."),Q+" />"}function gJ($){return'href="'+e$($)+'"'}function oY($){return'link[rel="stylesheet"]['+$+"]"}function FP($){return y$({},$,{"data-precedence":$.precedence,precedence:null})}function T3($,U,Q,D){$.querySelector('link[rel="preload"][as="style"]['+U+"]")?D.loading=hG:(U=$.createElement("link"),D.preload=U,U.addEventListener("load",function(){return D.loading|=hG}),U.addEventListener("error",function(){return D.loading|=Iq}),M6(U,"link",Q),V$(U),$.head.appendChild(U))}function wJ($){return'[src="'+e$($)+'"]'}function iY($){return"script[async]"+$}function MP($,U,Q){if(U.count++,U.instance===null)switch(U.type){case"style":var D=$.querySelector('style[data-href~="'+e$(Q.href)+'"]');if(D)return U.instance=D,V$(D),D;var L=y$({},Q,{"data-href":Q.href,"data-precedence":Q.precedence,href:null,precedence:null});return D=($.ownerDocument||$).createElement("style"),V$(D),M6(D,"style",L),oZ(D,Q.precedence,$),U.instance=D;case"stylesheet":L=gJ(Q.href);var R=$.querySelector(oY(L));if(R)return U.state.loading|=x4,U.instance=R,V$(R),R;D=FP(Q),(L=g4.get(L))&&$9(D,L),R=($.ownerDocument||$).createElement("link"),V$(R);var k=R;return k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),M6(R,"link",D),U.state.loading|=x4,oZ(R,Q.precedence,$),U.instance=R;case"script":if(R=wJ(Q.src),L=$.querySelector(iY(R)))return U.instance=L,V$(L),L;if(D=Q,L=g4.get(R))D=y$({},Q),U9(D,L);return $=$.ownerDocument||$,L=$.createElement("script"),V$(L),M6(L,"link",D),$.head.appendChild(L),U.instance=L;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+U.type+'". this is a bug in React.')}else U.type==="stylesheet"&&(U.state.loading&x4)===aX&&(D=U.instance,U.state.loading|=x4,oZ(D,Q.precedence,$));return U.instance}function oZ($,U,Q){for(var D=Q.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),L=D.length?D[D.length-1]:null,R=L,k=0;k<D.length;k++){var f=D[k];if(f.dataset.precedence===U)R=f;else if(R!==L)break}R?R.parentNode.insertBefore($,R.nextSibling):(U=Q.nodeType===9?Q.head:Q,U.insertBefore($,U.firstChild))}function $9($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.title==null&&($.title=U.title)}function U9($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.integrity==null&&($.integrity=U.integrity)}function LP($,U,Q){if(ez===null){var D=new Map,L=ez=new Map;L.set(Q,D)}else L=ez,D=L.get(Q),D||(D=new Map,L.set(Q,D));if(D.has($))return D;D.set($,null),Q=Q.getElementsByTagName($);for(L=0;L<Q.length;L++){var R=Q[L];if(!(R[eY]||R[L6]||$==="link"&&R.getAttribute("rel")==="stylesheet")&&R.namespaceURI!==pJ){var k=R.getAttribute(U)||"";k=$+k;var f=D.get(k);f?f.push(R):D.set(k,[R])}}return D}function AP($,U,Q){$=$.ownerDocument||$,$.head.insertBefore(Q,U==="title"?$.querySelector("head > title"):null)}function P3($,U,Q){var D=!Q.ancestorInfo.containerTagInScope;if(Q.context===LQ||U.itemProp!=null)return!D||U.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof U.precedence!=="string"||typeof U.href!=="string"||U.href===""){D&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""||U.onLoad||U.onError){if(U.rel==="stylesheet"&&typeof U.precedence==="string"){$=U.href;var{onError:L,disabled:R}=U;Q=[],U.onLoad&&Q.push("`onLoad`"),L&&Q.push("`onError`"),R!=null&&Q.push("`disabled`"),L=sv(Q,"and"),L+=Q.length===1?" prop":" props",R=Q.length===1?"an "+L:"the "+L,Q.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',$,R,L)}D&&(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(U.onError||U.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(U.rel){case"stylesheet":return $=U.precedence,U=U.disabled,typeof $!=="string"&&D&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof $==="string"&&U==null;default:return!0}case"script":if($=U.async&&typeof U.async!=="function"&&typeof U.async!=="symbol",!$||U.onLoad||U.onError||!U.src||typeof U.src!=="string"){D&&($?U.onLoad||U.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":D&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function CP($){return $.type==="stylesheet"&&($.state.loading&Xq)===aX?!1:!0}function R3($,U,Q,D){if(Q.type==="stylesheet"&&(typeof D.media!=="string"||matchMedia(D.media).matches!==!1)&&(Q.state.loading&x4)===aX){if(Q.instance===null){var L=gJ(D.href),R=U.querySelector(oY(L));if(R){U=R._p,U!==null&&typeof U==="object"&&typeof U.then==="function"&&($.count++,$=iZ.bind($),U.then($,$)),Q.state.loading|=x4,Q.instance=R,V$(R);return}R=U.ownerDocument||U,D=FP(D),(L=g4.get(L))&&$9(D,L),R=R.createElement("link"),V$(R);var k=R;k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),M6(R,"link",D),Q.instance=R}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(Q,U),(U=Q.state.preload)&&(Q.state.loading&Xq)===aX&&($.count++,Q=iZ.bind($),U.addEventListener("load",Q),U.addEventListener("error",Q))}}function _3($,U){return $.stylesheets&&$.count===0&&rZ($,$.stylesheets),0<$.count||0<$.imgCount?function(Q){var D=setTimeout(function(){if($.stylesheets&&rZ($,$.stylesheets),$.unsuspend){var R=$.unsuspend;$.unsuspend=null,R()}},Lx+U);0<$.imgBytes&&xV===0&&(xV=125*ev()*Cx);var L=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&rZ($,$.stylesheets),$.unsuspend)){var R=$.unsuspend;$.unsuspend=null,R()}},($.imgBytes>xV?50:Ax)+U);return $.unsuspend=Q,function(){$.unsuspend=null,clearTimeout(D),clearTimeout(L)}}:null}function iZ(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)rZ(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function rZ($,U){$.stylesheets=null,$.unsuspend!==null&&($.count++,$O=new Map,U.forEach(q3,$),$O=null,iZ.call($))}function q3($,U){if(!(U.state.loading&x4)){var Q=$O.get($);if(Q)var D=Q.get(gV);else{Q=new Map,$O.set($,Q);for(var L=$.querySelectorAll("link[data-precedence],style[data-precedence]"),R=0;R<L.length;R++){var k=L[R];if(k.nodeName==="LINK"||k.getAttribute("media")!=="not all")Q.set(k.dataset.precedence,k),D=k}D&&Q.set(gV,D)}L=U.instance,k=L.getAttribute("data-precedence"),R=Q.get(k)||D,R===D&&Q.set(gV,L),Q.set(k,L),this.count++,D=iZ.bind(this),L.addEventListener("load",D),L.addEventListener("error",D),R?R.parentNode.insertBefore(L,R.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(L,$.firstChild)),U.state.loading|=x4}}function E3($,U,Q,D,L,R,k,f,l){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=tX,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=m0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=m0(0),this.hiddenUpdates=m0(null),this.identifierPrefix=D,this.onUncaughtError=L,this.onCaughtError=R,this.onRecoverableError=k,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(U=0;31>U;U++)$.push(new Set);this._debugRootType=Q?"hydrateRoot()":"createRoot()"}function TP($,U,Q,D,L,R,k,f,l,o,P0,R0){return $=new E3($,U,Q,k,l,o,P0,R0,f),U=dk,R===!0&&(U|=R6|l4),U|=v$,R=_(3,null,null,U),$.current=R,R.stateNode=$,U=B8(),RX(U),$.pooledCache=U,RX(U),R.memoizedState={element:D,isDehydrated:Q,cache:U},g8(R),$}function PP($){if(!$)return wI;return $=wI,$}function I9($,U,Q,D,L,R){if(P6&&typeof P6.onScheduleFiberRoot==="function")try{P6.onScheduleFiberRoot(cJ,D,Q)}catch(k){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",k))}L=PP(L),D.context===null?D.context=L:D.pendingContext=L,M1&&Z4!==null&&!Zq&&(Zq=!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.
|
|
183
|
+
|
|
184
|
+
Check the render method of %s.`,t(Z4)||"Unknown")),D=CI(U),D.payload={element:Q},R=R===void 0?null:R,R!==null&&(typeof R!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",R),D.callback=R),Q=TI($,D,U),Q!==null&&(I1(U,"root.render()",null),wU(Q,$,U),jY(Q,$,U))}function RP($,U){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var Q=$.retryLane;$.retryLane=Q!==0&&Q<U?Q:U}}function X9($,U){RP($,U),($=$.alternate)&&RP($,U)}function _P($){if($.tag===13||$.tag===31){var U=T6($,67108864);U!==null&&wU(U,$,67108864),X9($,67108864)}}function qP($){if($.tag===13||$.tag===31){var U=Q4($);U=t0(U);var Q=T6($,U);Q!==null&&wU(Q,$,U),X9($,U)}}function S3(){return Z4}function j3($,U,Q,D){var L=u0.T;u0.T=null;var R=s$.p;try{s$.p=z4,J9($,U,Q,D)}finally{s$.p=R,u0.T=L}}function B3($,U,Q,D){var L=u0.T;u0.T=null;var R=s$.p;try{s$.p=m4,J9($,U,Q,D)}finally{s$.p=R,u0.T=L}}function J9($,U,Q,D){if(IO){var L=Q9(D);if(L===null)mW($,U,D,XO,Q),SP($,D);else if(N3(L,$,U,Q,D))D.stopPropagation();else if(SP($,D),U&4&&-1<Px.indexOf($)){for(;L!==null;){var R=F$(L);if(R!==null)switch(R.tag){case 3:if(R=R.stateNode,R.current.memoizedState.isDehydrated){var k=K0(R.pendingLanes);if(k!==0){var f=R;f.pendingLanes|=2;for(f.entangledLanes|=2;k;){var l=1<<31-E6(k);f.entanglements[1]|=l,k&=~l}V1(R),(n$&(Z6|V4))===V6&&(bz=O6()+f_,pY(0,!1))}}break;case 31:case 13:f=T6(R,2),f!==null&&wU(f,R,2),vJ(),X9(R,2)}if(R=Q9(D),R===null&&mW($,U,D,XO,Q),R===L)break;L=R}L!==null&&D.stopPropagation()}else mW($,U,D,null,Q)}}function Q9($){return $=K8($),Y9($)}function Y9($){if(XO=null,$=N0($),$!==null){var U=b($);if(U===null)$=null;else{var Q=U.tag;if(Q===13){if($=x(U),$!==null)return $;$=null}else if(Q===31){if($=u(U),$!==null)return $;$=null}else if(Q===3){if(U.stateNode.current.memoizedState.isDehydrated)return U.tag===3?U.stateNode.containerInfo:null;$=null}else U!==$&&($=null)}}return XO=$,null}function EP($){switch($){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return z4;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return m4;case"message":switch(b3()){case A9:return z4;case C9:return m4;case bJ:case c3:return C1;case T9:return Qz;default:return C1}default:return C1}}function SP($,U){switch($){case"focusin":case"focusout":sI=null;break;case"dragenter":case"dragleave":eI=null;break;case"mouseover":case"mouseout":$X=null;break;case"pointerover":case"pointerout":mG.delete(U.pointerId);break;case"gotpointercapture":case"lostpointercapture":lG.delete(U.pointerId)}}function rY($,U,Q,D,L,R){if($===null||$.nativeEvent!==R)return $={blockedOn:U,domEventName:Q,eventSystemFlags:D,nativeEvent:R,targetContainers:[L]},U!==null&&(U=F$(U),U!==null&&_P(U)),$;return $.eventSystemFlags|=D,U=$.targetContainers,L!==null&&U.indexOf(L)===-1&&U.push(L),$}function N3($,U,Q,D,L){switch(U){case"focusin":return sI=rY(sI,$,U,Q,D,L),!0;case"dragenter":return eI=rY(eI,$,U,Q,D,L),!0;case"mouseover":return $X=rY($X,$,U,Q,D,L),!0;case"pointerover":var R=L.pointerId;return mG.set(R,rY(mG.get(R)||null,$,U,Q,D,L)),!0;case"gotpointercapture":return R=L.pointerId,lG.set(R,rY(lG.get(R)||null,$,U,Q,D,L)),!0}return!1}function jP($){var U=N0($.target);if(U!==null){var Q=b(U);if(Q!==null){if(U=Q.tag,U===13){if(U=x(Q),U!==null){$.blockedOn=U,e0($.priority,function(){qP(Q)});return}}else if(U===31){if(U=u(Q),U!==null){$.blockedOn=U,e0($.priority,function(){qP(Q)});return}}else if(U===3&&Q.stateNode.current.memoizedState.isDehydrated){$.blockedOn=Q.tag===3?Q.stateNode.containerInfo:null;return}}}$.blockedOn=null}function tZ($){if($.blockedOn!==null)return!1;for(var U=$.targetContainers;0<U.length;){var Q=Q9($.nativeEvent);if(Q===null){Q=$.nativeEvent;var D=new Q.constructor(Q.type,Q),L=D;$G!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),$G=L,Q.target.dispatchEvent(D),$G===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),$G=null}else return U=F$(Q),U!==null&&_P(U),$.blockedOn=Q,!1;U.shift()}return!0}function BP($,U,Q){tZ($)&&Q.delete(U)}function v3(){wV=!1,sI!==null&&tZ(sI)&&(sI=null),eI!==null&&tZ(eI)&&(eI=null),$X!==null&&tZ($X)&&($X=null),mG.forEach(BP),lG.forEach(BP)}function aZ($,U){$.blockedOn===U&&($.blockedOn=null,wV||(wV=!0,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,v3)))}function NP($){JO!==$&&(JO=$,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,function(){JO===$&&(JO=null);for(var U=0;U<$.length;U+=3){var Q=$[U],D=$[U+1],L=$[U+2];if(typeof D!=="function")if(Y9(D||Q)===null)continue;else break;var R=F$(Q);R!==null&&($.splice(U,3),U-=3,Q={pending:!0,data:L,method:Q.method,action:D},Object.freeze(Q),YW(R,Q,D,L))}}))}function fJ($){function U(l){return aZ(l,$)}sI!==null&&aZ(sI,$),eI!==null&&aZ(eI,$),$X!==null&&aZ($X,$),mG.forEach(U),lG.forEach(U);for(var Q=0;Q<UX.length;Q++){var D=UX[Q];D.blockedOn===$&&(D.blockedOn=null)}for(;0<UX.length&&(Q=UX[0],Q.blockedOn===null);)jP(Q),Q.blockedOn===null&&UX.shift();if(Q=($.ownerDocument||$).$$reactFormReplay,Q!=null)for(D=0;D<Q.length;D+=3){var L=Q[D],R=Q[D+1],k=L[S6]||null;if(typeof R==="function")k||NP(Q);else if(k){var f=null;if(R&&R.hasAttribute("formAction")){if(L=R,k=R[S6]||null)f=k.formAction;else if(Y9(L)!==null)continue}else f=k.action;typeof f==="function"?Q[D+1]=f:(Q.splice(D,3),D-=3),NP(Q)}}}function vP(){function $(R){R.canIntercept&&R.info==="react-transition"&&R.intercept({handler:function(){return new Promise(function(k){return L=k})},focusReset:"manual",scroll:"manual"})}function U(){L!==null&&(L(),L=null),D||setTimeout(Q,20)}function Q(){if(!D&&!navigation.transition){var R=navigation.currentEntry;R&&R.url!=null&&navigation.navigate(R.url,{state:R.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var D=!1,L=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",U),navigation.addEventListener("navigateerror",U),setTimeout(Q,100),function(){D=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",U),navigation.removeEventListener("navigateerror",U),L!==null&&(L(),L=null)}}}function G9($){this._internalRoot=$}function sZ($){this._internalRoot=$}function kP($){$[vI]&&($._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var y$=Object.assign,k3=Symbol.for("react.element"),H1=Symbol.for("react.transitional.element"),yJ=Symbol.for("react.portal"),uJ=Symbol.for("react.fragment"),eZ=Symbol.for("react.strict_mode"),Z9=Symbol.for("react.profiler"),z9=Symbol.for("react.consumer"),F1=Symbol.for("react.context"),tY=Symbol.for("react.forward_ref"),O9=Symbol.for("react.suspense"),K9=Symbol.for("react.suspense_list"),$z=Symbol.for("react.memo"),G4=Symbol.for("react.lazy"),W9=Symbol.for("react.activity"),x3=Symbol.for("react.memo_cache_sentinel"),xP=Symbol.iterator,g3=Symbol.for("react.client.reference"),Y6=Array.isArray,u0=TQ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s$=yV.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w3=Object.freeze({pending:!1,data:null,method:null,action:null}),V9=[],D9=[],d1=-1,jI=T0(null),aY=T0(null),BI=T0(null),Uz=T0(null),sY=0,gP,wP,fP,yP,uP,bP,cP;z.__reactDisabledLog=!0;var H9,hP,F9=!1,M9=new(typeof WeakMap==="function"?WeakMap:Map),Z4=null,M1=!1,p4=Object.prototype.hasOwnProperty,L9=o$.unstable_scheduleCallback,f3=o$.unstable_cancelCallback,y3=o$.unstable_shouldYield,u3=o$.unstable_requestPaint,O6=o$.unstable_now,b3=o$.unstable_getCurrentPriorityLevel,A9=o$.unstable_ImmediatePriority,C9=o$.unstable_UserBlockingPriority,bJ=o$.unstable_NormalPriority,c3=o$.unstable_LowPriority,T9=o$.unstable_IdlePriority,h3=o$.log,p3=o$.unstable_setDisableYieldValue,cJ=null,P6=null,L1=!1,A1=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",E6=Math.clz32?Math.clz32:I0,m3=Math.log,l3=Math.LN2,Iz=256,Xz=262144,Jz=4194304,z4=2,m4=8,C1=32,Qz=268435456,NI=Math.random().toString(36).slice(2),L6="__reactFiber$"+NI,S6="__reactProps$"+NI,vI="__reactContainer$"+NI,P9="__reactEvents$"+NI,d3="__reactListeners$"+NI,n3="__reactHandles$"+NI,pP="__reactResources$"+NI,eY="__reactMarker$"+NI,mP=new Set,NX={},R9={},o3={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},i3=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),lP={},dP={},r3=/[\n"\\]/g,nP=!1,oP=!1,iP=!1,rP=!1,tP=!1,aP=!1,sP=["value","defaultValue"],eP=!1,$R=/["'&<>\n\t]|^\s|\s$/,t3="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),UR="applet caption html table td th marquee object template foreignObject desc title".split(" "),a3=UR.concat(["button"]),s3="dd dt li option optgroup p rp rt".split(" "),IR={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Yz={},_9={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},XR=/([A-Z])/g,JR=/^ms-/,e3=/^(?:webkit|moz|o)[A-Z]/,$k=/^-ms-/,Uk=/-(.)/g,QR=/;\s*$/,hJ={},q9={},YR=!1,GR=!1,ZR=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Gz="http://www.w3.org/1998/Math/MathML",pJ="http://www.w3.org/2000/svg",Ik=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Zz={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},zR={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},mJ={},Xk=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Jk=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),OR=!1,j6={},KR=/^on./,Qk=/^on[^A-Z]/,Yk=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Gk=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Zk=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,$G=null,lJ=null,dJ=null,E9=!1,T1=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),S9=!1;if(T1)try{var UG={};Object.defineProperty(UG,"passive",{get:function(){S9=!0}}),window.addEventListener("test",UG,UG),window.removeEventListener("test",UG,UG)}catch($){S9=!1}var kI=null,j9=null,zz=null,vX={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Oz=p6(vX),IG=y$({},vX,{view:0,detail:0}),zk=p6(IG),B9,N9,XG,Kz=y$({},IG,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:W8,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==XG&&(XG&&$.type==="mousemove"?(B9=$.screenX-XG.screenX,N9=$.screenY-XG.screenY):N9=B9=0,XG=$),B9},movementY:function($){return"movementY"in $?$.movementY:N9}}),WR=p6(Kz),Ok=y$({},Kz,{dataTransfer:0}),Kk=p6(Ok),Wk=y$({},IG,{relatedTarget:0}),v9=p6(Wk),Vk=y$({},vX,{animationName:0,elapsedTime:0,pseudoElement:0}),Dk=p6(Vk),Hk=y$({},vX,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),Fk=p6(Hk),Mk=y$({},vX,{data:0}),VR=p6(Mk),Lk=VR,Ak={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ck={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Tk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Pk=y$({},IG,{key:function($){if($.key){var U=Ak[$.key]||$.key;if(U!=="Unidentified")return U}return $.type==="keypress"?($=t2($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?Ck[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:W8,charCode:function($){return $.type==="keypress"?t2($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?t2($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),Rk=p6(Pk),_k=y$({},Kz,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),DR=p6(_k),qk=y$({},IG,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:W8}),Ek=p6(qk),Sk=y$({},vX,{propertyName:0,elapsedTime:0,pseudoElement:0}),jk=p6(Sk),Bk=y$({},Kz,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),Nk=p6(Bk),vk=y$({},vX,{newState:0,oldState:0}),kk=p6(vk),xk=[9,13,27,32],HR=229,k9=T1&&"CompositionEvent"in window,JG=null;T1&&"documentMode"in document&&(JG=document.documentMode);var gk=T1&&"TextEvent"in window&&!JG,FR=T1&&(!k9||JG&&8<JG&&11>=JG),MR=32,LR=String.fromCharCode(MR),AR=!1,nJ=!1,wk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},QG=null,YG=null,CR=!1;T1&&(CR=Iv("input")&&(!document.documentMode||9<document.documentMode));var B6=typeof Object.is==="function"?Object.is:Zv,fk=T1&&"documentMode"in document&&11>=document.documentMode,oJ=null,x9=null,GG=null,g9=!1,iJ={animationend:FX("Animation","AnimationEnd"),animationiteration:FX("Animation","AnimationIteration"),animationstart:FX("Animation","AnimationStart"),transitionrun:FX("Transition","TransitionRun"),transitionstart:FX("Transition","TransitionStart"),transitioncancel:FX("Transition","TransitionCancel"),transitionend:FX("Transition","TransitionEnd")},w9={},TR={};T1&&(TR=document.createElement("div").style,("AnimationEvent"in window)||(delete iJ.animationend.animation,delete iJ.animationiteration.animation,delete iJ.animationstart.animation),("TransitionEvent"in window)||delete iJ.transitionend.transition);var PR=MX("animationend"),RR=MX("animationiteration"),_R=MX("animationstart"),yk=MX("transitionrun"),uk=MX("transitionstart"),bk=MX("transitioncancel"),qR=MX("transitionend"),ER=new Map,f9="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");f9.push("scrollEnd");var SR=0;if(typeof performance==="object"&&typeof performance.now==="function")var ck=performance,jR=function(){return ck.now()};else{var hk=Date;jR=function(){return hk.now()}}var y9=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(U))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},pk="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Wz=0,u9=1,b9=2,c9=3,Vz="– ",Dz="+ ",BR=" ",CU=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",R4="Components ⚛",u$="Scheduler ⚛",b$="Blocking",xI=!1,n1={color:"primary",properties:null,tooltipText:"",track:R4},gI={start:-0,end:-0,detail:{devtools:n1}},mk=["Changed Props",""],NR="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",lk=["Changed Props",NR],ZG=1,o1=2,_4=[],rJ=0,h9=0,wI={};Object.freeze(wI);var q4=null,tJ=null,P$=0,dk=1,v$=2,R6=8,l4=16,nk=32,vR=!1;try{var kR=Object.preventExtensions({})}catch($){vR=!0}var p9=new WeakMap,aJ=[],sJ=0,Hz=null,zG=0,E4=[],S4=0,kX=null,i1=1,r1="",A6=null,TU=null,p$=!1,P1=!1,O4=null,fI=null,j4=!1,m9=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."),l9=T0(null),d9=T0(null),xR={},Fz=null,eJ=null,$Q=!1,ok=typeof AbortController<"u"?AbortController:function(){var $=[],U=this.signal={aborted:!1,addEventListener:function(Q,D){$.push(D)}};this.abort=function(){U.aborted=!0,$.forEach(function(Q){return Q()})}},ik=o$.unstable_scheduleCallback,rk=o$.unstable_NormalPriority,eU={$$typeof:F1,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},$6=o$.unstable_now,Mz=console.createTask?console.createTask:function(){return null},OG=1,Lz=2,K6=-0,yI=-0,t1=-0,a1=null,N6=-1.1,xX=-0,kU=-0,C$=-1.1,T$=-1.1,jU=null,fU=!1,uI=-0,R1=-1.1,KG=null,bI=0,n9=null,o9=null,gX=-1.1,WG=null,UQ=-1.1,Az=-1.1,_1=-0,s1=-1.1,B4=-1.1,i9=0,VG=null,gR=null,wR=null,cI=-1.1,wX=null,hI=-1.1,Cz=-1.1,fR=-0,yR=-0,Tz=0,e1=null,uR=0,DG=-1.1,Pz=!1,Rz=!1,HG=null,r9=0,fX=0,IQ=null,bR=u0.S;u0.S=function($,U){if(g_=O6(),typeof U==="object"&&U!==null&&typeof U.then==="function"){if(0>s1&&0>B4){s1=$6();var Q=dY(),D=lY();if(Q!==hI||D!==wX)hI=-1.1;cI=Q,wX=D}Hv($,U)}bR!==null&&bR($,U)};var yX=T0(null),d4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},FG=[],MG=[],LG=[],AG=[],CG=[],TG=[],uX=new Set;d4.recordUnsafeLifecycleWarnings=function($,U){uX.has($.type)||(typeof U.componentWillMount==="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0&&FG.push($),$.mode&R6&&typeof U.UNSAFE_componentWillMount==="function"&&MG.push($),typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&LG.push($),$.mode&R6&&typeof U.UNSAFE_componentWillReceiveProps==="function"&&AG.push($),typeof U.componentWillUpdate==="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0&&CG.push($),$.mode&R6&&typeof U.UNSAFE_componentWillUpdate==="function"&&TG.push($))},d4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<FG.length&&(FG.forEach(function(f){$.add(t(f)||"Component"),uX.add(f.type)}),FG=[]);var U=new Set;0<MG.length&&(MG.forEach(function(f){U.add(t(f)||"Component"),uX.add(f.type)}),MG=[]);var Q=new Set;0<LG.length&&(LG.forEach(function(f){Q.add(t(f)||"Component"),uX.add(f.type)}),LG=[]);var D=new Set;0<AG.length&&(AG.forEach(function(f){D.add(t(f)||"Component"),uX.add(f.type)}),AG=[]);var L=new Set;0<CG.length&&(CG.forEach(function(f){L.add(t(f)||"Component"),uX.add(f.type)}),CG=[]);var R=new Set;if(0<TG.length&&(TG.forEach(function(f){R.add(t(f)||"Component"),uX.add(f.type)}),TG=[]),0<U.size){var k=C(U);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.
|
|
185
|
+
|
|
186
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
+
|
|
188
|
+
Please update the following components: %s`,k)}0<D.size&&(k=C(D),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.
|
|
189
|
+
|
|
190
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
+
* 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
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,k)),0<R.size&&(k=C(R),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.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,k)),0<$.size&&(k=C($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
* 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.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,k)),0<Q.size&&(k=C(Q),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* 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
|
|
206
|
+
* 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.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,k)),0<L.size&&(k=C(L),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* 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.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,k))};var _z=new Map,cR=new Set;d4.recordLegacyContextWarning=function($,U){var Q=null;for(var D=$;D!==null;)D.mode&R6&&(Q=D),D=D.return;Q===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."):!cR.has($.type)&&(D=_z.get(Q),$.type.contextTypes!=null||$.type.childContextTypes!=null||U!==null&&typeof U.getChildContext==="function")&&(D===void 0&&(D=[],_z.set(Q,D)),D.push($))},d4.flushLegacyContextWarning=function(){_z.forEach(function($){if($.length!==0){var U=$[0],Q=new Set;$.forEach(function(L){Q.add(t(L)||"Component"),cR.add(L.type)});var D=C(Q);J0(U,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
+
|
|
215
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s
|
|
218
|
+
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,D)})}})},d4.discardPendingWarnings=function(){FG=[],MG=[],LG=[],AG=[],CG=[],TG=[],_z=new Map};var hR={react_stack_bottom_frame:function($,U,Q){var D=M1;M1=!0;try{return $(U,Q)}finally{M1=D}}},t9=hR.react_stack_bottom_frame.bind(hR),pR={react_stack_bottom_frame:function($){var U=M1;M1=!0;try{return $.render()}finally{M1=U}}},mR=pR.react_stack_bottom_frame.bind(pR),lR={react_stack_bottom_frame:function($,U){try{U.componentDidMount()}catch(Q){a$($,$.return,Q)}}},a9=lR.react_stack_bottom_frame.bind(lR),dR={react_stack_bottom_frame:function($,U,Q,D,L){try{U.componentDidUpdate(Q,D,L)}catch(R){a$($,$.return,R)}}},nR=dR.react_stack_bottom_frame.bind(dR),oR={react_stack_bottom_frame:function($,U){var Q=U.stack;$.componentDidCatch(U.value,{componentStack:Q!==null?Q:""})}},tk=oR.react_stack_bottom_frame.bind(oR),iR={react_stack_bottom_frame:function($,U,Q){try{Q.componentWillUnmount()}catch(D){a$($,U,D)}}},rR=iR.react_stack_bottom_frame.bind(iR),tR={react_stack_bottom_frame:function($){var U=$.create;return $=$.inst,U=U(),$.destroy=U}},ak=tR.react_stack_bottom_frame.bind(tR),aR={react_stack_bottom_frame:function($,U,Q){try{Q()}catch(D){a$($,U,D)}}},sk=aR.react_stack_bottom_frame.bind(aR),sR={react_stack_bottom_frame:function($){var U=$._init;return U($._payload)}},ek=sR.react_stack_bottom_frame.bind(sR),XQ=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`."),s9=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."),qz=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."),Ez={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.')}},bX=null,PG=!1,JQ=null,RG=0,k$=null,e9,eR=e9=!1,$_={},U_={},I_={};E=function($,U,Q){if(Q!==null&&typeof Q==="object"&&Q._store&&(!Q._store.validated&&Q.key==null||Q._store.validated===2)){if(typeof Q._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.");Q._store.validated=1;var D=t($),L=D||"null";if(!$_[L]){$_[L]=!0,Q=Q._owner,$=$._debugOwner;var R="";$&&typeof $.tag==="number"&&(L=t($))&&(R=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+L+"`."),R||D&&(R=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+D+">.");var k="";Q!=null&&$!==Q&&(D=null,typeof Q.tag==="number"?D=t(Q):typeof Q.name==="string"&&(D=Q.name),D&&(k=" It was passed a child from "+D+".")),J0(U,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.',R,k)})}}};var cX=iA(!0),X_=iA(!1),J_=0,Q_=1,Y_=2,$V=3,pI=!1,G_=!1,UV=null,IV=!1,QQ=T0(null),Sz=T0(0),K4=T0(null),N4=null,YQ=1,_G=2,aU=T0(0),jz=0,v4=1,v6=2,W4=4,k6=8,GQ,Z_=new Set,z_=new Set,XV=new Set,O_=new Set,$I=0,R$=null,GU=null,U6=null,Bz=!1,ZQ=!1,hX=!1,Nz=0,qG=0,UI=null,$x=0,Ux=25,w0=null,k4=null,II=-1,EG=!1,SG={readContext:SU,use:_I,useCallback:dU,useContext:dU,useEffect:dU,useImperativeHandle:dU,useLayoutEffect:dU,useInsertionEffect:dU,useMemo:dU,useReducer:dU,useRef:dU,useState:dU,useDebugValue:dU,useDeferredValue:dU,useTransition:dU,useSyncExternalStore:dU,useId:dU,useHostTransitionStatus:dU,useFormState:dU,useActionState:dU,useOptimistic:dU,useMemoCache:dU,useCacheRefresh:dU};SG.useEffectEvent=dU;var JV=null,K_=null,QV=null,W_=null,q1=null,n4=null,vz=null;JV={readContext:function($){return SU($)},use:_I,useCallback:function($,U){return w0="useCallback",f$(),_J(U),IW($,U)},useContext:function($){return w0="useContext",f$(),SU($)},useEffect:function($,U){return w0="useEffect",f$(),_J(U),_Z($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",f$(),_J(Q),UW($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",f$(),_J(U),qX(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",f$(),_J(U),$W($,U)},useMemo:function($,U){w0="useMemo",f$(),_J(U);var Q=u0.H;u0.H=q1;try{return XW($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){w0="useReducer",f$();var D=u0.H;u0.H=q1;try{return d8($,U,Q)}finally{u0.H=D}},useRef:function($){return w0="useRef",f$(),s8($)},useState:function($){w0="useState",f$();var U=u0.H;u0.H=q1;try{return r8($)}finally{u0.H=U}},useDebugValue:function(){w0="useDebugValue",f$()},useDeferredValue:function($,U){return w0="useDeferredValue",f$(),JW($,U)},useTransition:function(){return w0="useTransition",f$(),GW()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",f$(),o8($,U,Q)},useId:function(){return w0="useId",f$(),ZW()},useFormState:function($,U){return w0="useFormState",f$(),AZ(),EJ($,U)},useActionState:function($,U){return w0="useActionState",f$(),EJ($,U)},useOptimistic:function($){return w0="useOptimistic",f$(),t8($)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),zW()},useEffectEvent:function($){return w0="useEffectEvent",f$(),e8($)}},K_={readContext:function($){return SU($)},use:_I,useCallback:function($,U){return w0="useCallback",G$(),IW($,U)},useContext:function($){return w0="useContext",G$(),SU($)},useEffect:function($,U){return w0="useEffect",G$(),_Z($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",G$(),UW($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",G$(),qX(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",G$(),$W($,U)},useMemo:function($,U){w0="useMemo",G$();var Q=u0.H;u0.H=q1;try{return XW($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){w0="useReducer",G$();var D=u0.H;u0.H=q1;try{return d8($,U,Q)}finally{u0.H=D}},useRef:function($){return w0="useRef",G$(),s8($)},useState:function($){w0="useState",G$();var U=u0.H;u0.H=q1;try{return r8($)}finally{u0.H=U}},useDebugValue:function(){w0="useDebugValue",G$()},useDeferredValue:function($,U){return w0="useDeferredValue",G$(),JW($,U)},useTransition:function(){return w0="useTransition",G$(),GW()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",G$(),o8($,U,Q)},useId:function(){return w0="useId",G$(),ZW()},useActionState:function($,U){return w0="useActionState",G$(),EJ($,U)},useFormState:function($,U){return w0="useFormState",G$(),AZ(),EJ($,U)},useOptimistic:function($){return w0="useOptimistic",G$(),t8($)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return w0="useCacheRefresh",G$(),zW()},useEffectEvent:function($){return w0="useEffectEvent",G$(),e8($)}},QV={readContext:function($){return SU($)},use:_I,useCallback:function($,U){return w0="useCallback",G$(),SZ($,U)},useContext:function($){return w0="useContext",G$(),SU($)},useEffect:function($,U){w0="useEffect",G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",G$(),EZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",G$(),m6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",G$(),m6(4,W4,$,U)},useMemo:function($,U){w0="useMemo",G$();var Q=u0.H;u0.H=n4;try{return jZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){w0="useReducer",G$();var D=u0.H;u0.H=n4;try{return qJ($,U,Q)}finally{u0.H=D}},useRef:function(){return w0="useRef",G$(),UU().memoizedState},useState:function(){w0="useState",G$();var $=u0.H;u0.H=n4;try{return qJ(c4)}finally{u0.H=$}},useDebugValue:function(){w0="useDebugValue",G$()},useDeferredValue:function($,U){return w0="useDeferredValue",G$(),FC($,U)},useTransition:function(){return w0="useTransition",G$(),PC()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",G$(),TZ($,U,Q)},useId:function(){return w0="useId",G$(),UU().memoizedState},useFormState:function($){return w0="useFormState",G$(),AZ(),PZ($)},useActionState:function($){return w0="useActionState",G$(),PZ($)},useOptimistic:function($,U){return w0="useOptimistic",G$(),YC($,U)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return w0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",G$(),qZ($)}},W_={readContext:function($){return SU($)},use:_I,useCallback:function($,U){return w0="useCallback",G$(),SZ($,U)},useContext:function($){return w0="useContext",G$(),SU($)},useEffect:function($,U){w0="useEffect",G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",G$(),EZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",G$(),m6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",G$(),m6(4,W4,$,U)},useMemo:function($,U){w0="useMemo",G$();var Q=u0.H;u0.H=vz;try{return jZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){w0="useReducer",G$();var D=u0.H;u0.H=vz;try{return kY($,U,Q)}finally{u0.H=D}},useRef:function(){return w0="useRef",G$(),UU().memoizedState},useState:function(){w0="useState",G$();var $=u0.H;u0.H=vz;try{return kY(c4)}finally{u0.H=$}},useDebugValue:function(){w0="useDebugValue",G$()},useDeferredValue:function($,U){return w0="useDeferredValue",G$(),MC($,U)},useTransition:function(){return w0="useTransition",G$(),RC()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",G$(),TZ($,U,Q)},useId:function(){return w0="useId",G$(),UU().memoizedState},useFormState:function($){return w0="useFormState",G$(),AZ(),RZ($)},useActionState:function($){return w0="useActionState",G$(),RZ($)},useOptimistic:function($,U){return w0="useOptimistic",G$(),ZC($,U)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return w0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",G$(),qZ($)}},q1={readContext:function($){return j(),SU($)},use:function($){return M(),_I($)},useCallback:function($,U){return w0="useCallback",M(),f$(),IW($,U)},useContext:function($){return w0="useContext",M(),f$(),SU($)},useEffect:function($,U){return w0="useEffect",M(),f$(),_Z($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",M(),f$(),UW($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",M(),f$(),qX(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",M(),f$(),$W($,U)},useMemo:function($,U){w0="useMemo",M(),f$();var Q=u0.H;u0.H=q1;try{return XW($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){w0="useReducer",M(),f$();var D=u0.H;u0.H=q1;try{return d8($,U,Q)}finally{u0.H=D}},useRef:function($){return w0="useRef",M(),f$(),s8($)},useState:function($){w0="useState",M(),f$();var U=u0.H;u0.H=q1;try{return r8($)}finally{u0.H=U}},useDebugValue:function(){w0="useDebugValue",M(),f$()},useDeferredValue:function($,U){return w0="useDeferredValue",M(),f$(),JW($,U)},useTransition:function(){return w0="useTransition",M(),f$(),GW()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",M(),f$(),o8($,U,Q)},useId:function(){return w0="useId",M(),f$(),ZW()},useFormState:function($,U){return w0="useFormState",M(),f$(),EJ($,U)},useActionState:function($,U){return w0="useActionState",M(),f$(),EJ($,U)},useOptimistic:function($){return w0="useOptimistic",M(),f$(),t8($)},useMemoCache:function($){return M(),_X($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),zW()},useEffectEvent:function($){return w0="useEffectEvent",M(),f$(),e8($)}},n4={readContext:function($){return j(),SU($)},use:function($){return M(),_I($)},useCallback:function($,U){return w0="useCallback",M(),G$(),SZ($,U)},useContext:function($){return w0="useContext",M(),G$(),SU($)},useEffect:function($,U){w0="useEffect",M(),G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",M(),G$(),EZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",M(),G$(),m6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",M(),G$(),m6(4,W4,$,U)},useMemo:function($,U){w0="useMemo",M(),G$();var Q=u0.H;u0.H=n4;try{return jZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){w0="useReducer",M(),G$();var D=u0.H;u0.H=n4;try{return qJ($,U,Q)}finally{u0.H=D}},useRef:function(){return w0="useRef",M(),G$(),UU().memoizedState},useState:function(){w0="useState",M(),G$();var $=u0.H;u0.H=n4;try{return qJ(c4)}finally{u0.H=$}},useDebugValue:function(){w0="useDebugValue",M(),G$()},useDeferredValue:function($,U){return w0="useDeferredValue",M(),G$(),FC($,U)},useTransition:function(){return w0="useTransition",M(),G$(),PC()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",M(),G$(),TZ($,U,Q)},useId:function(){return w0="useId",M(),G$(),UU().memoizedState},useFormState:function($){return w0="useFormState",M(),G$(),PZ($)},useActionState:function($){return w0="useActionState",M(),G$(),PZ($)},useOptimistic:function($,U){return w0="useOptimistic",M(),G$(),YC($,U)},useMemoCache:function($){return M(),_X($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return w0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",M(),G$(),qZ($)}},vz={readContext:function($){return j(),SU($)},use:function($){return M(),_I($)},useCallback:function($,U){return w0="useCallback",M(),G$(),SZ($,U)},useContext:function($){return w0="useContext",M(),G$(),SU($)},useEffect:function($,U){w0="useEffect",M(),G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",M(),G$(),EZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",M(),G$(),m6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",M(),G$(),m6(4,W4,$,U)},useMemo:function($,U){w0="useMemo",M(),G$();var Q=u0.H;u0.H=n4;try{return jZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){w0="useReducer",M(),G$();var D=u0.H;u0.H=n4;try{return kY($,U,Q)}finally{u0.H=D}},useRef:function(){return w0="useRef",M(),G$(),UU().memoizedState},useState:function(){w0="useState",M(),G$();var $=u0.H;u0.H=n4;try{return kY(c4)}finally{u0.H=$}},useDebugValue:function(){w0="useDebugValue",M(),G$()},useDeferredValue:function($,U){return w0="useDeferredValue",M(),G$(),MC($,U)},useTransition:function(){return w0="useTransition",M(),G$(),RC()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",M(),G$(),TZ($,U,Q)},useId:function(){return w0="useId",M(),G$(),UU().memoizedState},useFormState:function($){return w0="useFormState",M(),G$(),RZ($)},useActionState:function($){return w0="useActionState",M(),G$(),RZ($)},useOptimistic:function($,U){return w0="useOptimistic",M(),G$(),ZC($,U)},useMemoCache:function($){return M(),_X($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return w0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",M(),G$(),qZ($)}};var V_={},D_=new Set,H_=new Set,F_=new Set,M_=new Set,L_=new Set,A_=new Set,C_=new Set,T_=new Set,P_=new Set,R_=new Set;Object.freeze(V_);var YV={enqueueSetState:function($,U,Q){$=$._reactInternals;var D=Q4($),L=CI(D);L.payload=U,Q!==void 0&&Q!==null&&(KW(Q),L.callback=Q),U=TI($,L,D),U!==null&&(I1(D,"this.setState()",$),wU(U,$,D),jY(U,$,D))},enqueueReplaceState:function($,U,Q){$=$._reactInternals;var D=Q4($),L=CI(D);L.tag=Q_,L.payload=U,Q!==void 0&&Q!==null&&(KW(Q),L.callback=Q),U=TI($,L,D),U!==null&&(I1(D,"this.replaceState()",$),wU(U,$,D),jY(U,$,D))},enqueueForceUpdate:function($,U){$=$._reactInternals;var Q=Q4($),D=CI(Q);D.tag=Y_,U!==void 0&&U!==null&&(KW(U),D.callback=U),U=TI($,D,Q),U!==null&&(I1(Q,"this.forceUpdate()",$),wU(U,$,Q),jY(U,$,Q))}},zQ=null,GV=null,ZV=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."),I6=!1,__={},q_={},E_={},S_={},OQ=!1,j_={},kz={},zV={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},B_=!1,N_=null;N_=new Set;var XI=!1,X6=!1,OV=!1,v_=typeof WeakSet==="function"?WeakSet:Set,W6=null,KQ=null,WQ=null,J6=null,n6=!1,o4=null,G6=!1,jG=8192,Ix={getCacheForType:function($){var U=SU(eU),Q=U.data.get($);return Q===void 0&&(Q=$(),U.data.set($,Q)),Q},cacheSignal:function(){return SU(eU).controller.signal},getOwner:function(){return Z4}};if(typeof Symbol==="function"&&Symbol.for){var BG=Symbol.for;BG("selector.component"),BG("selector.has_pseudo_class"),BG("selector.role"),BG("selector.test_id"),BG("selector.text")}var Xx=[],Jx=typeof WeakMap==="function"?WeakMap:Map,V6=0,Z6=2,V4=4,JI=0,NG=1,pX=2,xz=3,mI=4,gz=6,k_=5,n$=V6,ZU=null,w$=null,x$=0,o6=0,wz=1,mX=2,vG=3,x_=4,KV=5,kG=6,fz=7,WV=8,lX=9,IU=o6,D4=null,lI=!1,VQ=!1,VV=!1,E1=0,xU=JI,dI=0,nI=0,DV=0,i6=0,dX=0,xG=null,x6=null,yz=!1,uz=0,g_=0,w_=300,bz=1/0,f_=500,gG=null,nU=null,oI=null,cz=0,HV=1,FV=2,y_=3,iI=0,u_=1,b_=2,c_=3,h_=4,hz=5,Q6=0,rI=null,DQ=null,i4=0,MV=0,LV=-0,AV=null,p_=null,m_=null,r4=cz,l_=null,Qx=50,wG=0,CV=null,TV=!1,pz=!1,Yx=50,nX=0,fG=null,HQ=!1,mz=null,d_=!1,n_=new Set,Gx={},lz=null,FQ=null,PV=!1,RV=!1,dz=!1,_V=!1,tI=0,qV={};(function(){for(var $=0;$<f9.length;$++){var U=f9[$],Q=U.toLowerCase();U=U[0].toUpperCase()+U.slice(1),b4(Q,"on"+U)}b4(PR,"onAnimationEnd"),b4(RR,"onAnimationIteration"),b4(_R,"onAnimationStart"),b4("dblclick","onDoubleClick"),b4("focusin","onFocus"),b4("focusout","onBlur"),b4(yk,"onTransitionRun"),b4(uk,"onTransitionStart"),b4(bk,"onTransitionCancel"),b4(qR,"onTransitionEnd")})(),r0("onMouseEnter",["mouseout","mouseover"]),r0("onMouseLeave",["mouseout","mouseover"]),r0("onPointerEnter",["pointerout","pointerover"]),r0("onPointerLeave",["pointerout","pointerover"]),o0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o0("onBeforeInput",["compositionend","keypress","textInput","paste"]),o0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yG="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),EV=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yG)),nz="_reactListening"+Math.random().toString(36).slice(2),o_=!1,i_=!1,oz=!1,r_=!1,iz=!1,rz=!1,t_=!1,tz={},Zx=/\r\n?/g,zx=/\u0000|\uFFFD/g,oX="http://www.w3.org/1999/xlink",SV="http://www.w3.org/XML/1998/namespace",Ox="javascript:throw new Error('React form unexpectedly submitted.')",Kx="suppressHydrationWarning",iX="&",az="/&",uG="$",bG="/$",aI="$?",rX="$~",MQ="$!",Wx="html",Vx="body",Dx="head",jV="F!",a_="F",s_="loading",Hx="style",QI=0,LQ=1,sz=2,BV=null,NV=null,e_={dialog:!0,webview:!0},vV=null,cG=void 0,$q=typeof setTimeout==="function"?setTimeout:void 0,Fx=typeof clearTimeout==="function"?clearTimeout:void 0,tX=-1,Uq=typeof Promise==="function"?Promise:void 0,Mx=typeof queueMicrotask==="function"?queueMicrotask:typeof Uq<"u"?function($){return Uq.resolve(null).then($).catch(U3)}:$q,kV=null,aX=0,hG=1,Iq=2,Xq=3,x4=4,g4=new Map,Jq=new Set,YI=s$.d;s$.d={f:function(){var $=YI.f(),U=vJ();return $||U},r:function($){var U=F$($);U!==null&&U.tag===5&&U.type==="form"?TC(U):YI.r($)},D:function($){YI.D($),DP("dns-prefetch",$,null)},C:function($,U){YI.C($,U),DP("preconnect",$,U)},L:function($,U,Q){YI.L($,U,Q);var D=AQ;if(D&&$&&U){var L='link[rel="preload"][as="'+e$(U)+'"]';U==="image"?Q&&Q.imageSrcSet?(L+='[imagesrcset="'+e$(Q.imageSrcSet)+'"]',typeof Q.imageSizes==="string"&&(L+='[imagesizes="'+e$(Q.imageSizes)+'"]')):L+='[href="'+e$($)+'"]':L+='[href="'+e$($)+'"]';var R=L;switch(U){case"style":R=gJ($);break;case"script":R=wJ($)}g4.has(R)||($=y$({rel:"preload",href:U==="image"&&Q&&Q.imageSrcSet?void 0:$,as:U},Q),g4.set(R,$),D.querySelector(L)!==null||U==="style"&&D.querySelector(oY(R))||U==="script"&&D.querySelector(iY(R))||(U=D.createElement("link"),M6(U,"link",$),V$(U),D.head.appendChild(U)))}},m:function($,U){YI.m($,U);var Q=AQ;if(Q&&$){var D=U&&typeof U.as==="string"?U.as:"script",L='link[rel="modulepreload"][as="'+e$(D)+'"][href="'+e$($)+'"]',R=L;switch(D){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":R=wJ($)}if(!g4.has(R)&&($=y$({rel:"modulepreload",href:$},U),g4.set(R,$),Q.querySelector(L)===null)){switch(D){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Q.querySelector(iY(R)))return}D=Q.createElement("link"),M6(D,"link",$),V$(D),Q.head.appendChild(D)}}},X:function($,U){YI.X($,U);var Q=AQ;if(Q&&$){var D=y0(Q).hoistableScripts,L=wJ($),R=D.get(L);R||(R=Q.querySelector(iY(L)),R||($=y$({src:$,async:!0},U),(U=g4.get(L))&&U9($,U),R=Q.createElement("script"),V$(R),M6(R,"link",$),Q.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},D.set(L,R))}},S:function($,U,Q){YI.S($,U,Q);var D=AQ;if(D&&$){var L=y0(D).hoistableStyles,R=gJ($);U=U||"default";var k=L.get(R);if(!k){var f={loading:aX,preload:null};if(k=D.querySelector(oY(R)))f.loading=hG|x4;else{$=y$({rel:"stylesheet",href:$,"data-precedence":U},Q),(Q=g4.get(R))&&$9($,Q);var l=k=D.createElement("link");V$(l),M6(l,"link",$),l._p=new Promise(function(o,P0){l.onload=o,l.onerror=P0}),l.addEventListener("load",function(){f.loading|=hG}),l.addEventListener("error",function(){f.loading|=Iq}),f.loading|=x4,oZ(k,U,D)}k={type:"stylesheet",instance:k,count:1,state:f},L.set(R,k)}}},M:function($,U){YI.M($,U);var Q=AQ;if(Q&&$){var D=y0(Q).hoistableScripts,L=wJ($),R=D.get(L);R||(R=Q.querySelector(iY(L)),R||($=y$({src:$,async:!0,type:"module"},U),(U=g4.get(L))&&U9($,U),R=Q.createElement("script"),V$(R),M6(R,"link",$),Q.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},D.set(L,R))}}};var AQ=typeof document>"u"?null:document,ez=null,Lx=60000,Ax=800,Cx=500,xV=0,gV=null,$O=null,sX=w3,pG={$$typeof:F1,Provider:null,Consumer:null,_currentValue:sX,_currentValue2:sX,_threadCount:0},Qq="%c%s%c",Yq="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",Gq="",UO=" ",Tx=Function.prototype.bind,Zq=!1,zq=null,Oq=null,Kq=null,Wq=null,Vq=null,Dq=null,Hq=null,Fq=null,Mq=null,Lq=null;zq=function($,U,Q,D){U=I($,U),U!==null&&(Q=J(U.memoizedState,Q,0,D),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=T6($,2),Q!==null&&wU(Q,$,2))},Oq=function($,U,Q){U=I($,U),U!==null&&(Q=X(U.memoizedState,Q,0),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=T6($,2),Q!==null&&wU(Q,$,2))},Kq=function($,U,Q,D){U=I($,U),U!==null&&(Q=Y(U.memoizedState,Q,D),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=T6($,2),Q!==null&&wU(Q,$,2))},Wq=function($,U,Q){$.pendingProps=J($.memoizedProps,U,0,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=T6($,2),U!==null&&wU(U,$,2)},Vq=function($,U){$.pendingProps=X($.memoizedProps,U,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=T6($,2),U!==null&&wU(U,$,2)},Dq=function($,U,Q){$.pendingProps=Y($.memoizedProps,U,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=T6($,2),U!==null&&wU(U,$,2)},Hq=function($){var U=T6($,2);U!==null&&wU(U,$,2)},Fq=function($){var U=L$(),Q=T6($,U);Q!==null&&wU(Q,$,U)},Mq=function($){Z=$},Lq=function($){O=$};var IO=!0,XO=null,wV=!1,sI=null,eI=null,$X=null,mG=new Map,lG=new Map,UX=[],Px="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),JO=null;if(sZ.prototype.render=G9.prototype.render=function($){var U=this._internalRoot;if(U===null)throw Error("Cannot update an unmounted root.");var Q=arguments;typeof Q[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):w(Q[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof Q[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Q=$;var D=U.current,L=Q4(D);I9(D,L,Q,U,null,null)},sZ.prototype.unmount=G9.prototype.unmount=function(){var $=arguments;if(typeof $[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),$=this._internalRoot,$!==null){this._internalRoot=null;var U=$.containerInfo;(n$&(Z6|V4))!==V6&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),I9($.current,2,null,$,null,null),vJ(),U[vI]=null}},sZ.prototype.unstable_scheduleHydration=function($){if($){var U=X0();$={blockedOn:null,target:$,priority:U};for(var Q=0;Q<UX.length&&U!==0&&U<UX[Q].priority;Q++);UX.splice(Q,0,$),Q===0&&jP($)}},function(){var $=TQ.version;if($!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
+
- react: `+($+`
|
|
225
|
+
- react-dom: 19.2.7
|
|
226
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),s$.findDOMNode=function($){var U=$._reactInternals;if(U===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=d(U),$=$!==null?a($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:u0,reconcilerVersion:"19.2.7"};return $.overrideHookState=zq,$.overrideHookStateDeletePath=Oq,$.overrideHookStateRenamePath=Kq,$.overrideProps=Wq,$.overridePropsDeletePath=Vq,$.overridePropsRenamePath=Dq,$.scheduleUpdate=Hq,$.scheduleRetry=Fq,$.setErrorHandler=Mq,$.setSuspenseHandler=Lq,$.scheduleRefresh=v,$.scheduleRoot=B,$.setRefreshHandler=y,$.getCurrentFiber=S3,W0($)}()&&T1&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Aq=window.location.protocol;/^(https?|file):$/.test(Aq)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Aq==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}fx.createRoot=function($,U){if(!w($))throw Error("Target container is not a DOM element.");kP($);var Q=!1,D="",L=BC,R=NC,k=vC;return U!==null&&U!==void 0&&(U.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof U==="object"&&U!==null&&U.$$typeof===H1&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
+
|
|
229
|
+
let root = createRoot(domContainer);
|
|
230
|
+
root.render(<App />);`),U.unstable_strictMode===!0&&(Q=!0),U.identifierPrefix!==void 0&&(D=U.identifierPrefix),U.onUncaughtError!==void 0&&(L=U.onUncaughtError),U.onCaughtError!==void 0&&(R=U.onCaughtError),U.onRecoverableError!==void 0&&(k=U.onRecoverableError)),U=TP($,1,!1,null,null,Q,D,null,L,R,k,vP),$[vI]=U.current,pW($),new G9(U)},fx.hydrateRoot=function($,U,Q){if(!w($))throw Error("Target container is not a DOM element.");kP($),U===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var D=!1,L="",R=BC,k=NC,f=vC,l=null;return Q!==null&&Q!==void 0&&(Q.unstable_strictMode===!0&&(D=!0),Q.identifierPrefix!==void 0&&(L=Q.identifierPrefix),Q.onUncaughtError!==void 0&&(R=Q.onUncaughtError),Q.onCaughtError!==void 0&&(k=Q.onCaughtError),Q.onRecoverableError!==void 0&&(f=Q.onRecoverableError),Q.formState!==void 0&&(l=Q.formState)),U=TP($,1,!0,U,Q!=null?Q:null,D,L,l,R,k,f,vP),U.context=PP(null),Q=U.current,D=Q4(Q),D=t0(D),L=CI(D),L.callback=null,TI(Q,L,D),I1(D,"hydrateRoot()",null),Q=D,U.current.lanes=Q,p0(U,Q),V1(U),$[vI]=U.current,pW($),new sZ(U)},fx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Nq=ZI((el,Bq)=>{var yx=w4(jq());Bq.exports=yx});var oU={};g6(oU,{transcode:()=>Pg,resolveObjectURL:()=>Ag,kStringMaxLength:()=>bq,kMaxLength:()=>oG,isUtf8:()=>Cg,isAscii:()=>Tg,default:()=>Rg,constants:()=>ox,btoa:()=>mx,atob:()=>lx,INSPECT_MAX_BYTES:()=>uq,File:()=>dx,Buffer:()=>d0,Blob:()=>nx});function ux(I){var J=I.length;if(J%4>0)throw Error("Invalid string. Length must be a multiple of 4");var Y=I.indexOf("=");if(Y===-1)Y=J;var K=Y===J?0:4-Y%4;return[Y,K]}function bx(I,J){return(I+J)*3/4-J}function cx(I){var J,Y=ux(I),K=Y[0],X=Y[1],O=new Uint8Array(bx(K,X)),Z=0,M=X>0?K-4:K,j;for(j=0;j<M;j+=4)J=f4[I.charCodeAt(j)]<<18|f4[I.charCodeAt(j+1)]<<12|f4[I.charCodeAt(j+2)]<<6|f4[I.charCodeAt(j+3)],O[Z++]=J>>16&255,O[Z++]=J>>8&255,O[Z++]=J&255;if(X===2)J=f4[I.charCodeAt(j)]<<2|f4[I.charCodeAt(j+1)]>>4,O[Z++]=J&255;if(X===1)J=f4[I.charCodeAt(j)]<<10|f4[I.charCodeAt(j+1)]<<4|f4[I.charCodeAt(j+2)]>>2,O[Z++]=J>>8&255,O[Z++]=J&255;return O}function hx(I){return S1[I>>18&63]+S1[I>>12&63]+S1[I>>6&63]+S1[I&63]}function px(I,J,Y){var K,X=[];for(var O=J;O<Y;O+=3)K=(I[O]<<16&16711680)+(I[O+1]<<8&65280)+(I[O+2]&255),X.push(hx(K));return X.join("")}function kq(I){var J,Y=I.length,K=Y%3,X=[],O=16383;for(var Z=0,M=Y-K;Z<M;Z+=O)X.push(px(I,Z,Z+O>M?M:Z+O));if(K===1)J=I[Y-1],X.push(S1[J>>2]+S1[J<<4&63]+"==");else if(K===2)J=(I[Y-2]<<8)+I[Y-1],X.push(S1[J>>10]+S1[J>>4&63]+S1[J<<2&63]+"=");return X.join("")}function YO(I,J,Y,K,X){var O,Z,M=X*8-K-1,j=(1<<M)-1,q=j>>1,E=-7,C=Y?X-1:0,_=Y?-1:1,B=I[J+C];C+=_,O=B&(1<<-E)-1,B>>=-E,E+=M;for(;E>0;O=O*256+I[J+C],C+=_,E-=8);Z=O&(1<<-E)-1,O>>=-E,E+=K;for(;E>0;Z=Z*256+I[J+C],C+=_,E-=8);if(O===0)O=1-q;else if(O===j)return Z?NaN:(B?-1:1)*(1/0);else Z=Z+Math.pow(2,K),O=O-q;return(B?-1:1)*Z*Math.pow(2,O-K)}function yq(I,J,Y,K,X,O){var Z,M,j,q=O*8-X-1,E=(1<<q)-1,C=E>>1,_=X===23?Math.pow(2,-24)-Math.pow(2,-77):0,B=K?0:O-1,v=K?1:-1,y=J<0||J===0&&1/J<0?1:0;if(J=Math.abs(J),isNaN(J)||J===1/0)M=isNaN(J)?1:0,Z=E;else{if(Z=Math.floor(Math.log(J)/Math.LN2),J*(j=Math.pow(2,-Z))<1)Z--,j*=2;if(Z+C>=1)J+=_/j;else J+=_*Math.pow(2,1-C);if(J*j>=2)Z++,j/=2;if(Z+C>=E)M=0,Z=E;else if(Z+C>=1)M=(J*j-1)*Math.pow(2,X),Z=Z+C;else M=J*Math.pow(2,C-1)*Math.pow(2,X),Z=0}for(;X>=8;I[Y+B]=M&255,B+=v,M/=256,X-=8);Z=Z<<X|M,q+=X;for(;q>0;I[Y+B]=Z&255,B+=v,Z/=256,q-=8);I[Y+B-v]|=y*128}function zI(I){if(I>oG)throw RangeError('The value "'+I+'" is invalid for option "size"');let J=new Uint8Array(I);return Object.setPrototypeOf(J,d0.prototype),J}function mV(I,J,Y){return class extends Y{constructor(){super();Object.defineProperty(this,"message",{value:J.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${I}]`,this.stack,delete this.name}get code(){return I}set code(K){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:K,writable:!0})}toString(){return`${this.name} [${I}]: ${this.message}`}}}function d0(I,J,Y){if(typeof I==="number"){if(typeof J==="string")throw TypeError('The "string" argument must be of type string. Received type number');return lV(I)}return cq(I,J,Y)}function cq(I,J,Y){if(typeof I==="string")return ax(I,J);if(ArrayBuffer.isView(I))return sx(I);if(I==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I);if(j1(I,ArrayBuffer)||I&&j1(I.buffer,ArrayBuffer))return hV(I,J,Y);if(typeof SharedArrayBuffer<"u"&&(j1(I,SharedArrayBuffer)||I&&j1(I.buffer,SharedArrayBuffer)))return hV(I,J,Y);if(typeof I==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let K=I.valueOf&&I.valueOf();if(K!=null&&K!==I)return d0.from(K,J,Y);let X=ex(I);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]==="function")return d0.from(I[Symbol.toPrimitive]("string"),J,Y);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}function hq(I){if(typeof I!=="number")throw TypeError('"size" argument must be of type number');else if(I<0)throw RangeError('The value "'+I+'" is invalid for option "size"')}function tx(I,J,Y){if(hq(I),I<=0)return zI(I);if(J!==void 0)return typeof Y==="string"?zI(I).fill(J,Y):zI(I).fill(J);return zI(I)}function lV(I){return hq(I),zI(I<0?0:dV(I)|0)}function ax(I,J){if(typeof J!=="string"||J==="")J="utf8";if(!d0.isEncoding(J))throw TypeError("Unknown encoding: "+J);let Y=pq(I,J)|0,K=zI(Y),X=K.write(I,J);if(X!==Y)K=K.slice(0,X);return K}function cV(I){let J=I.length<0?0:dV(I.length)|0,Y=zI(J);for(let K=0;K<J;K+=1)Y[K]=I[K]&255;return Y}function sx(I){if(j1(I,Uint8Array)){let J=new Uint8Array(I);return hV(J.buffer,J.byteOffset,J.byteLength)}return cV(I)}function hV(I,J,Y){if(J<0||I.byteLength<J)throw RangeError('"offset" is outside of buffer bounds');if(I.byteLength<J+(Y||0))throw RangeError('"length" is outside of buffer bounds');let K;if(J===void 0&&Y===void 0)K=new Uint8Array(I);else if(Y===void 0)K=new Uint8Array(I,J);else K=new Uint8Array(I,J,Y);return Object.setPrototypeOf(K,d0.prototype),K}function ex(I){if(d0.isBuffer(I)){let J=dV(I.length)|0,Y=zI(J);if(Y.length===0)return Y;return I.copy(Y,0,0,J),Y}if(I.length!==void 0){if(typeof I.length!=="number"||Number.isNaN(I.length))return zI(0);return cV(I)}if(I.type==="Buffer"&&Array.isArray(I.data))return cV(I.data)}function dV(I){if(I>=oG)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oG.toString(16)+" bytes");return I|0}function pq(I,J){if(d0.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||j1(I,ArrayBuffer))return I.byteLength;if(typeof I!=="string")throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof I);let Y=I.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&Y===0)return 0;let X=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return Y;case"utf8":case"utf-8":return pV(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y*2;case"hex":return Y>>>1;case"base64":return aq(I).length;default:if(X)return K?-1:pV(I).length;J=(""+J).toLowerCase(),X=!0}}function $g(I,J,Y){let K=!1;if(J===void 0||J<0)J=0;if(J>this.length)return"";if(Y===void 0||Y>this.length)Y=this.length;if(Y<=0)return"";if(Y>>>=0,J>>>=0,Y<=J)return"";if(!I)I="utf8";while(!0)switch(I){case"hex":return Og(this,J,Y);case"utf8":case"utf-8":return lq(this,J,Y);case"ascii":return Zg(this,J,Y);case"latin1":case"binary":return zg(this,J,Y);case"base64":return Yg(this,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kg(this,J,Y);default:if(K)throw TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),K=!0}}function UJ(I,J,Y){let K=I[J];I[J]=I[Y],I[Y]=K}function mq(I,J,Y,K,X){if(I.length===0)return-1;if(typeof Y==="string")K=Y,Y=0;else if(Y>2147483647)Y=2147483647;else if(Y<-2147483648)Y=-2147483648;if(Y=+Y,Number.isNaN(Y))Y=X?0:I.length-1;if(Y<0)Y=I.length+Y;if(Y>=I.length)if(X)return-1;else Y=I.length-1;else if(Y<0)if(X)Y=0;else return-1;if(typeof J==="string")J=d0.from(J,K);if(d0.isBuffer(J)){if(J.length===0)return-1;return gq(I,J,Y,K,X)}else if(typeof J==="number"){if(J=J&255,typeof Uint8Array.prototype.indexOf==="function")if(X)return Uint8Array.prototype.indexOf.call(I,J,Y);else return Uint8Array.prototype.lastIndexOf.call(I,J,Y);return gq(I,[J],Y,K,X)}throw TypeError("val must be string, number or Buffer")}function gq(I,J,Y,K,X){let O=1,Z=I.length,M=J.length;if(K!==void 0){if(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le"){if(I.length<2||J.length<2)return-1;O=2,Z/=2,M/=2,Y/=2}}function j(E,C){if(O===1)return E[C];else return E.readUInt16BE(C*O)}let q;if(X){let E=-1;for(q=Y;q<Z;q++)if(j(I,q)===j(J,E===-1?0:q-E)){if(E===-1)E=q;if(q-E+1===M)return E*O}else{if(E!==-1)q-=q-E;E=-1}}else{if(Y+M>Z)Y=Z-M;for(q=Y;q>=0;q--){let E=!0;for(let C=0;C<M;C++)if(j(I,q+C)!==j(J,C)){E=!1;break}if(E)return q}}return-1}function Ug(I,J,Y,K){Y=Number(Y)||0;let X=I.length-Y;if(!K)K=X;else if(K=Number(K),K>X)K=X;let O=J.length;if(K>O/2)K=O/2;let Z;for(Z=0;Z<K;++Z){let M=parseInt(J.substr(Z*2,2),16);if(Number.isNaN(M))return Z;I[Y+Z]=M}return Z}function Ig(I,J,Y,K){return GO(pV(J,I.length-Y),I,Y,K)}function Xg(I,J,Y,K){return GO(Hg(J),I,Y,K)}function Jg(I,J,Y,K){return GO(aq(J),I,Y,K)}function Qg(I,J,Y,K){return GO(Fg(J,I.length-Y),I,Y,K)}function Yg(I,J,Y){if(J===0&&Y===I.length)return kq(I);else return kq(I.slice(J,Y))}function lq(I,J,Y){Y=Math.min(I.length,Y);let K=[],X=J;while(X<Y){let O=I[X],Z=null,M=O>239?4:O>223?3:O>191?2:1;if(X+M<=Y){let j,q,E,C;switch(M){case 1:if(O<128)Z=O;break;case 2:if(j=I[X+1],(j&192)===128){if(C=(O&31)<<6|j&63,C>127)Z=C}break;case 3:if(j=I[X+1],q=I[X+2],(j&192)===128&&(q&192)===128){if(C=(O&15)<<12|(j&63)<<6|q&63,C>2047&&(C<55296||C>57343))Z=C}break;case 4:if(j=I[X+1],q=I[X+2],E=I[X+3],(j&192)===128&&(q&192)===128&&(E&192)===128){if(C=(O&15)<<18|(j&63)<<12|(q&63)<<6|E&63,C>65535&&C<1114112)Z=C}}}if(Z===null)Z=65533,M=1;else if(Z>65535)Z-=65536,K.push(Z>>>10&1023|55296),Z=56320|Z&1023;K.push(Z),X+=M}return Gg(K)}function Gg(I){let J=I.length;if(J<=wq)return String.fromCharCode.apply(String,I);let Y="",K=0;while(K<J)Y+=String.fromCharCode.apply(String,I.slice(K,K+=wq));return Y}function Zg(I,J,Y){let K="";Y=Math.min(I.length,Y);for(let X=J;X<Y;++X)K+=String.fromCharCode(I[X]&127);return K}function zg(I,J,Y){let K="";Y=Math.min(I.length,Y);for(let X=J;X<Y;++X)K+=String.fromCharCode(I[X]);return K}function Og(I,J,Y){let K=I.length;if(!J||J<0)J=0;if(!Y||Y<0||Y>K)Y=K;let X="";for(let O=J;O<Y;++O)X+=Mg[I[O]];return X}function Kg(I,J,Y){let K=I.slice(J,Y),X="";for(let O=0;O<K.length-1;O+=2)X+=String.fromCharCode(K[O]+K[O+1]*256);return X}function D6(I,J,Y){if(I%1!==0||I<0)throw RangeError("offset is not uint");if(I+J>Y)throw RangeError("Trying to access beyond buffer length")}function r6(I,J,Y,K,X,O){if(!d0.isBuffer(I))throw TypeError('"buffer" argument must be a Buffer instance');if(J>X||J<O)throw RangeError('"value" argument is out of bounds');if(Y+K>I.length)throw RangeError("Index out of range")}function dq(I,J,Y,K,X){tq(J,K,X,I,Y,7);let O=Number(J&BigInt(4294967295));I[Y++]=O,O=O>>8,I[Y++]=O,O=O>>8,I[Y++]=O,O=O>>8,I[Y++]=O;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return I[Y++]=Z,Z=Z>>8,I[Y++]=Z,Z=Z>>8,I[Y++]=Z,Z=Z>>8,I[Y++]=Z,Y}function nq(I,J,Y,K,X){tq(J,K,X,I,Y,7);let O=Number(J&BigInt(4294967295));I[Y+7]=O,O=O>>8,I[Y+6]=O,O=O>>8,I[Y+5]=O,O=O>>8,I[Y+4]=O;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return I[Y+3]=Z,Z=Z>>8,I[Y+2]=Z,Z=Z>>8,I[Y+1]=Z,Z=Z>>8,I[Y]=Z,Y+8}function oq(I,J,Y,K,X,O){if(Y+K>I.length)throw RangeError("Index out of range");if(Y<0)throw RangeError("Index out of range")}function iq(I,J,Y,K,X){if(J=+J,Y=Y>>>0,!X)oq(I,J,Y,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return yq(I,J,Y,K,23,4),Y+4}function rq(I,J,Y,K,X){if(J=+J,Y=Y>>>0,!X)oq(I,J,Y,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return yq(I,J,Y,K,52,8),Y+8}function fq(I){let J="",Y=I.length,K=I[0]==="-"?1:0;for(;Y>=K+4;Y-=3)J=`_${I.slice(Y-3,Y)}${J}`;return`${I.slice(0,Y)}${J}`}function Wg(I,J,Y){if(PQ(J,"offset"),I[J]===void 0||I[J+Y]===void 0)iG(J,I.length-(Y+1))}function tq(I,J,Y,K,X,O){if(I>Y||I<J){let Z=typeof J==="bigint"?"n":"",M;if(O>3)if(J===0||J===BigInt(0))M=`>= 0${Z} and < 2${Z} ** ${(O+1)*8}${Z}`;else M=`>= -(2${Z} ** ${(O+1)*8-1}${Z}) and < 2 ** ${(O+1)*8-1}${Z}`;else M=`>= ${J}${Z} and <= ${Y}${Z}`;throw new bV("value",M,I)}Wg(K,X,O)}function PQ(I,J){if(typeof I!=="number")throw new rx(J,"number",I)}function iG(I,J,Y){if(Math.floor(I)!==I)throw PQ(I,Y),new bV(Y||"offset","an integer",I);if(J<0)throw new ix;throw new bV(Y||"offset",`>= ${Y?1:0} and <= ${J}`,I)}function Dg(I){if(I=I.split("=")[0],I=I.trim().replace(Vg,""),I.length<2)return"";while(I.length%4!==0)I=I+"=";return I}function pV(I,J){J=J||1/0;let Y,K=I.length,X=null,O=[];for(let Z=0;Z<K;++Z){if(Y=I.charCodeAt(Z),Y>55295&&Y<57344){if(!X){if(Y>56319){if((J-=3)>-1)O.push(239,191,189);continue}else if(Z+1===K){if((J-=3)>-1)O.push(239,191,189);continue}X=Y;continue}if(Y<56320){if((J-=3)>-1)O.push(239,191,189);X=Y;continue}Y=(X-55296<<10|Y-56320)+65536}else if(X){if((J-=3)>-1)O.push(239,191,189)}if(X=null,Y<128){if((J-=1)<0)break;O.push(Y)}else if(Y<2048){if((J-=2)<0)break;O.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((J-=3)<0)break;O.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((J-=4)<0)break;O.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw Error("Invalid code point")}return O}function Hg(I){let J=[];for(let Y=0;Y<I.length;++Y)J.push(I.charCodeAt(Y)&255);return J}function Fg(I,J){let Y,K,X,O=[];for(let Z=0;Z<I.length;++Z){if((J-=2)<0)break;Y=I.charCodeAt(Z),K=Y>>8,X=Y%256,O.push(X),O.push(K)}return O}function aq(I){return cx(Dg(I))}function GO(I,J,Y,K){let X;for(X=0;X<K;++X){if(X+Y>=J.length||X>=I.length)break;J[X+Y]=I[X]}return X}function j1(I,J){return I instanceof J||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===J.name}function IX(I){return typeof BigInt>"u"?Lg:I}function Lg(){throw Error("BigInt not supported")}function nV(I){return()=>{throw Error(I+" is not implemented for node:buffer browser polyfill")}}var S1,f4,uV="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$J,vq,xq,uq=50,oG=2147483647,bq=536870888,mx,lx,dx,nx,ox,ix,rx,bV,wq=4096,Vg,Mg,Ag,Cg,Tg=(I)=>{for(let J of I)if(J.charCodeAt(0)>127)return!1;return!0},Pg,Rg;var iU=CQ(()=>{S1=[],f4=[];for($J=0,vq=uV.length;$J<vq;++$J)S1[$J]=uV[$J],f4[uV.charCodeAt($J)]=$J;f4[45]=62;f4[95]=63;xq=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,mx=globalThis.btoa,lx=globalThis.atob,dx=globalThis.File,nx=globalThis.Blob,ox={MAX_LENGTH:oG,MAX_STRING_LENGTH:bq};ix=mV("ERR_BUFFER_OUT_OF_BOUNDS",function(I){if(I)return`${I} is outside of buffer bounds`;return"Attempt to access memory outside buffer bounds"},RangeError),rx=mV("ERR_INVALID_ARG_TYPE",function(I,J){return`The "${I}" argument must be of type number. Received type ${typeof J}`},TypeError),bV=mV("ERR_OUT_OF_RANGE",function(I,J,Y){let K=`The value of "${I}" is out of range.`,X=Y;if(Number.isInteger(Y)&&Math.abs(Y)>4294967296)X=fq(String(Y));else if(typeof Y==="bigint"){if(X=String(Y),Y>BigInt(2)**BigInt(32)||Y<-(BigInt(2)**BigInt(32)))X=fq(X);X+="n"}return K+=` It must be ${J}. Received ${X}`,K},RangeError);Object.defineProperty(d0.prototype,"parent",{enumerable:!0,get:function(){if(!d0.isBuffer(this))return;return this.buffer}});Object.defineProperty(d0.prototype,"offset",{enumerable:!0,get:function(){if(!d0.isBuffer(this))return;return this.byteOffset}});d0.poolSize=8192;d0.from=function(I,J,Y){return cq(I,J,Y)};Object.setPrototypeOf(d0.prototype,Uint8Array.prototype);Object.setPrototypeOf(d0,Uint8Array);d0.alloc=function(I,J,Y){return tx(I,J,Y)};d0.allocUnsafe=function(I){return lV(I)};d0.allocUnsafeSlow=function(I){return lV(I)};d0.isBuffer=function(I){return I!=null&&I._isBuffer===!0&&I!==d0.prototype};d0.compare=function(I,J){if(j1(I,Uint8Array))I=d0.from(I,I.offset,I.byteLength);if(j1(J,Uint8Array))J=d0.from(J,J.offset,J.byteLength);if(!d0.isBuffer(I)||!d0.isBuffer(J))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(I===J)return 0;let Y=I.length,K=J.length;for(let X=0,O=Math.min(Y,K);X<O;++X)if(I[X]!==J[X]){Y=I[X],K=J[X];break}if(Y<K)return-1;if(K<Y)return 1;return 0};d0.isEncoding=function(I){switch(String(I).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};d0.concat=function(I,J){if(!Array.isArray(I))throw TypeError('"list" argument must be an Array of Buffers');if(I.length===0)return d0.alloc(0);let Y;if(J===void 0){J=0;for(Y=0;Y<I.length;++Y)J+=I[Y].length}let K=d0.allocUnsafe(J),X=0;for(Y=0;Y<I.length;++Y){let O=I[Y];if(j1(O,Uint8Array))if(X+O.length>K.length){if(!d0.isBuffer(O))O=d0.from(O);O.copy(K,X)}else Uint8Array.prototype.set.call(K,O,X);else if(!d0.isBuffer(O))throw TypeError('"list" argument must be an Array of Buffers');else O.copy(K,X);X+=O.length}return K};d0.byteLength=pq;d0.prototype._isBuffer=!0;d0.prototype.swap16=function(){let I=this.length;if(I%2!==0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;J<I;J+=2)UJ(this,J,J+1);return this};d0.prototype.swap32=function(){let I=this.length;if(I%4!==0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let J=0;J<I;J+=4)UJ(this,J,J+3),UJ(this,J+1,J+2);return this};d0.prototype.swap64=function(){let I=this.length;if(I%8!==0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let J=0;J<I;J+=8)UJ(this,J,J+7),UJ(this,J+1,J+6),UJ(this,J+2,J+5),UJ(this,J+3,J+4);return this};d0.prototype.toString=function(){let I=this.length;if(I===0)return"";if(arguments.length===0)return lq(this,0,I);return $g.apply(this,arguments)};d0.prototype.toLocaleString=d0.prototype.toString;d0.prototype.equals=function(I){if(!d0.isBuffer(I))throw TypeError("Argument must be a Buffer");if(this===I)return!0;return d0.compare(this,I)===0};d0.prototype.inspect=function(){let I="",J=uq;if(I=this.toString("hex",0,J).replace(/(.{2})/g,"$1 ").trim(),this.length>J)I+=" ... ";return"<Buffer "+I+">"};if(xq)d0.prototype[xq]=d0.prototype.inspect;d0.prototype.compare=function(I,J,Y,K,X){if(j1(I,Uint8Array))I=d0.from(I,I.offset,I.byteLength);if(!d0.isBuffer(I))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof I);if(J===void 0)J=0;if(Y===void 0)Y=I?I.length:0;if(K===void 0)K=0;if(X===void 0)X=this.length;if(J<0||Y>I.length||K<0||X>this.length)throw RangeError("out of range index");if(K>=X&&J>=Y)return 0;if(K>=X)return-1;if(J>=Y)return 1;if(J>>>=0,Y>>>=0,K>>>=0,X>>>=0,this===I)return 0;let O=X-K,Z=Y-J,M=Math.min(O,Z),j=this.slice(K,X),q=I.slice(J,Y);for(let E=0;E<M;++E)if(j[E]!==q[E]){O=j[E],Z=q[E];break}if(O<Z)return-1;if(Z<O)return 1;return 0};d0.prototype.includes=function(I,J,Y){return this.indexOf(I,J,Y)!==-1};d0.prototype.indexOf=function(I,J,Y){return mq(this,I,J,Y,!0)};d0.prototype.lastIndexOf=function(I,J,Y){return mq(this,I,J,Y,!1)};d0.prototype.write=function(I,J,Y,K){if(J===void 0)K="utf8",Y=this.length,J=0;else if(Y===void 0&&typeof J==="string")K=J,Y=this.length,J=0;else if(isFinite(J))if(J=J>>>0,isFinite(Y)){if(Y=Y>>>0,K===void 0)K="utf8"}else K=Y,Y=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let X=this.length-J;if(Y===void 0||Y>X)Y=X;if(I.length>0&&(Y<0||J<0)||J>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!K)K="utf8";let O=!1;for(;;)switch(K){case"hex":return Ug(this,I,J,Y);case"utf8":case"utf-8":return Ig(this,I,J,Y);case"ascii":case"latin1":case"binary":return Xg(this,I,J,Y);case"base64":return Jg(this,I,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qg(this,I,J,Y);default:if(O)throw TypeError("Unknown encoding: "+K);K=(""+K).toLowerCase(),O=!0}};d0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};d0.prototype.slice=function(I,J){let Y=this.length;if(I=~~I,J=J===void 0?Y:~~J,I<0){if(I+=Y,I<0)I=0}else if(I>Y)I=Y;if(J<0){if(J+=Y,J<0)J=0}else if(J>Y)J=Y;if(J<I)J=I;let K=this.subarray(I,J);return Object.setPrototypeOf(K,d0.prototype),K};d0.prototype.readUintLE=d0.prototype.readUIntLE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)D6(I,J,this.length);let K=this[I],X=1,O=0;while(++O<J&&(X*=256))K+=this[I+O]*X;return K};d0.prototype.readUintBE=d0.prototype.readUIntBE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)D6(I,J,this.length);let K=this[I+--J],X=1;while(J>0&&(X*=256))K+=this[I+--J]*X;return K};d0.prototype.readUint8=d0.prototype.readUInt8=function(I,J){if(I=I>>>0,!J)D6(I,1,this.length);return this[I]};d0.prototype.readUint16LE=d0.prototype.readUInt16LE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);return this[I]|this[I+1]<<8};d0.prototype.readUint16BE=d0.prototype.readUInt16BE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);return this[I]<<8|this[I+1]};d0.prototype.readUint32LE=d0.prototype.readUInt32LE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return(this[I]|this[I+1]<<8|this[I+2]<<16)+this[I+3]*16777216};d0.prototype.readUint32BE=d0.prototype.readUInt32BE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return this[I]*16777216+(this[I+1]<<16|this[I+2]<<8|this[I+3])};d0.prototype.readBigUInt64LE=IX(function(I){I=I>>>0,PQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let K=J+this[++I]*256+this[++I]*65536+this[++I]*16777216,X=this[++I]+this[++I]*256+this[++I]*65536+Y*16777216;return BigInt(K)+(BigInt(X)<<BigInt(32))});d0.prototype.readBigUInt64BE=IX(function(I){I=I>>>0,PQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let K=J*16777216+this[++I]*65536+this[++I]*256+this[++I],X=this[++I]*16777216+this[++I]*65536+this[++I]*256+Y;return(BigInt(K)<<BigInt(32))+BigInt(X)});d0.prototype.readIntLE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)D6(I,J,this.length);let K=this[I],X=1,O=0;while(++O<J&&(X*=256))K+=this[I+O]*X;if(X*=128,K>=X)K-=Math.pow(2,8*J);return K};d0.prototype.readIntBE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)D6(I,J,this.length);let K=J,X=1,O=this[I+--K];while(K>0&&(X*=256))O+=this[I+--K]*X;if(X*=128,O>=X)O-=Math.pow(2,8*J);return O};d0.prototype.readInt8=function(I,J){if(I=I>>>0,!J)D6(I,1,this.length);if(!(this[I]&128))return this[I];return(255-this[I]+1)*-1};d0.prototype.readInt16LE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);let Y=this[I]|this[I+1]<<8;return Y&32768?Y|4294901760:Y};d0.prototype.readInt16BE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);let Y=this[I+1]|this[I]<<8;return Y&32768?Y|4294901760:Y};d0.prototype.readInt32LE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return this[I]|this[I+1]<<8|this[I+2]<<16|this[I+3]<<24};d0.prototype.readInt32BE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return this[I]<<24|this[I+1]<<16|this[I+2]<<8|this[I+3]};d0.prototype.readBigInt64LE=IX(function(I){I=I>>>0,PQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let K=this[I+4]+this[I+5]*256+this[I+6]*65536+(Y<<24);return(BigInt(K)<<BigInt(32))+BigInt(J+this[++I]*256+this[++I]*65536+this[++I]*16777216)});d0.prototype.readBigInt64BE=IX(function(I){I=I>>>0,PQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let K=(J<<24)+this[++I]*65536+this[++I]*256+this[++I];return(BigInt(K)<<BigInt(32))+BigInt(this[++I]*16777216+this[++I]*65536+this[++I]*256+Y)});d0.prototype.readFloatLE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return YO(this,I,!0,23,4)};d0.prototype.readFloatBE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return YO(this,I,!1,23,4)};d0.prototype.readDoubleLE=function(I,J){if(I=I>>>0,!J)D6(I,8,this.length);return YO(this,I,!0,52,8)};d0.prototype.readDoubleBE=function(I,J){if(I=I>>>0,!J)D6(I,8,this.length);return YO(this,I,!1,52,8)};d0.prototype.writeUintLE=d0.prototype.writeUIntLE=function(I,J,Y,K){if(I=+I,J=J>>>0,Y=Y>>>0,!K){let Z=Math.pow(2,8*Y)-1;r6(this,I,J,Y,Z,0)}let X=1,O=0;this[J]=I&255;while(++O<Y&&(X*=256))this[J+O]=I/X&255;return J+Y};d0.prototype.writeUintBE=d0.prototype.writeUIntBE=function(I,J,Y,K){if(I=+I,J=J>>>0,Y=Y>>>0,!K){let Z=Math.pow(2,8*Y)-1;r6(this,I,J,Y,Z,0)}let X=Y-1,O=1;this[J+X]=I&255;while(--X>=0&&(O*=256))this[J+X]=I/O&255;return J+Y};d0.prototype.writeUint8=d0.prototype.writeUInt8=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,1,255,0);return this[J]=I&255,J+1};d0.prototype.writeUint16LE=d0.prototype.writeUInt16LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,2,65535,0);return this[J]=I&255,this[J+1]=I>>>8,J+2};d0.prototype.writeUint16BE=d0.prototype.writeUInt16BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,2,65535,0);return this[J]=I>>>8,this[J+1]=I&255,J+2};d0.prototype.writeUint32LE=d0.prototype.writeUInt32LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,4,4294967295,0);return this[J+3]=I>>>24,this[J+2]=I>>>16,this[J+1]=I>>>8,this[J]=I&255,J+4};d0.prototype.writeUint32BE=d0.prototype.writeUInt32BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,4,4294967295,0);return this[J]=I>>>24,this[J+1]=I>>>16,this[J+2]=I>>>8,this[J+3]=I&255,J+4};d0.prototype.writeBigUInt64LE=IX(function(I,J=0){return dq(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});d0.prototype.writeBigUInt64BE=IX(function(I,J=0){return nq(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});d0.prototype.writeIntLE=function(I,J,Y,K){if(I=+I,J=J>>>0,!K){let M=Math.pow(2,8*Y-1);r6(this,I,J,Y,M-1,-M)}let X=0,O=1,Z=0;this[J]=I&255;while(++X<Y&&(O*=256)){if(I<0&&Z===0&&this[J+X-1]!==0)Z=1;this[J+X]=(I/O>>0)-Z&255}return J+Y};d0.prototype.writeIntBE=function(I,J,Y,K){if(I=+I,J=J>>>0,!K){let M=Math.pow(2,8*Y-1);r6(this,I,J,Y,M-1,-M)}let X=Y-1,O=1,Z=0;this[J+X]=I&255;while(--X>=0&&(O*=256)){if(I<0&&Z===0&&this[J+X+1]!==0)Z=1;this[J+X]=(I/O>>0)-Z&255}return J+Y};d0.prototype.writeInt8=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,1,127,-128);if(I<0)I=255+I+1;return this[J]=I&255,J+1};d0.prototype.writeInt16LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,2,32767,-32768);return this[J]=I&255,this[J+1]=I>>>8,J+2};d0.prototype.writeInt16BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,2,32767,-32768);return this[J]=I>>>8,this[J+1]=I&255,J+2};d0.prototype.writeInt32LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,4,2147483647,-2147483648);return this[J]=I&255,this[J+1]=I>>>8,this[J+2]=I>>>16,this[J+3]=I>>>24,J+4};d0.prototype.writeInt32BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)r6(this,I,J,4,2147483647,-2147483648);if(I<0)I=4294967295+I+1;return this[J]=I>>>24,this[J+1]=I>>>16,this[J+2]=I>>>8,this[J+3]=I&255,J+4};d0.prototype.writeBigInt64LE=IX(function(I,J=0){return dq(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});d0.prototype.writeBigInt64BE=IX(function(I,J=0){return nq(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});d0.prototype.writeFloatLE=function(I,J,Y){return iq(this,I,J,!0,Y)};d0.prototype.writeFloatBE=function(I,J,Y){return iq(this,I,J,!1,Y)};d0.prototype.writeDoubleLE=function(I,J,Y){return rq(this,I,J,!0,Y)};d0.prototype.writeDoubleBE=function(I,J,Y){return rq(this,I,J,!1,Y)};d0.prototype.copy=function(I,J,Y,K){if(!d0.isBuffer(I))throw TypeError("argument should be a Buffer");if(!Y)Y=0;if(!K&&K!==0)K=this.length;if(J>=I.length)J=I.length;if(!J)J=0;if(K>0&&K<Y)K=Y;if(K===Y)return 0;if(I.length===0||this.length===0)return 0;if(J<0)throw RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw RangeError("Index out of range");if(K<0)throw RangeError("sourceEnd out of bounds");if(K>this.length)K=this.length;if(I.length-J<K-Y)K=I.length-J+Y;let X=K-Y;if(this===I&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(J,Y,K);else Uint8Array.prototype.set.call(I,this.subarray(Y,K),J);return X};d0.prototype.fill=function(I,J,Y,K){if(typeof I==="string"){if(typeof J==="string")K=J,J=0,Y=this.length;else if(typeof Y==="string")K=Y,Y=this.length;if(K!==void 0&&typeof K!=="string")throw TypeError("encoding must be a string");if(typeof K==="string"&&!d0.isEncoding(K))throw TypeError("Unknown encoding: "+K);if(I.length===1){let O=I.charCodeAt(0);if(K==="utf8"&&O<128||K==="latin1")I=O}}else if(typeof I==="number")I=I&255;else if(typeof I==="boolean")I=Number(I);if(J<0||this.length<J||this.length<Y)throw RangeError("Out of range index");if(Y<=J)return this;if(J=J>>>0,Y=Y===void 0?this.length:Y>>>0,!I)I=0;let X;if(typeof I==="number")for(X=J;X<Y;++X)this[X]=I;else{let O=d0.isBuffer(I)?I:d0.from(I,K),Z=O.length;if(Z===0)throw TypeError('The value "'+I+'" is invalid for argument "value"');for(X=0;X<Y-J;++X)this[X+J]=O[X%Z]}return this};Vg=/[^+/0-9A-Za-z-_]/g;Mg=function(){let I=Array(256);for(let J=0;J<16;++J){let Y=J*16;for(let K=0;K<16;++K)I[Y+K]="0123456789abcdef"[J]+"0123456789abcdef"[K]}return I}();Ag=nV("resolveObjectURL"),Cg=nV("isUtf8"),Pg=nV("transcode"),Rg=d0});var qQ={};g6(qQ,{types:()=>xg,promisify:()=>XE,log:()=>$E,isUndefined:()=>RQ,isSymbol:()=>wg,isString:()=>VO,isRegExp:()=>ZO,isPrimitive:()=>fg,isObject:()=>_Q,isNumber:()=>eq,isNullOrUndefined:()=>gg,isNull:()=>WO,isFunction:()=>OO,isError:()=>zO,isDate:()=>tV,isBuffer:()=>yg,isBoolean:()=>sV,isArray:()=>sq,inspect:()=>IJ,inherits:()=>UE,format:()=>aV,deprecate:()=>qg,default:()=>cg,debuglog:()=>Eg,callbackifyOnRejected:()=>UD,callbackify:()=>JE,_extend:()=>$D,TextEncoder:()=>QE,TextDecoder:()=>YE});function aV(I,...J){if(!VO(I)){var Y=[I];for(var K=0;K<J.length;K++)Y.push(IJ(J[K]));return Y.join(" ")}var K=0,X=J.length,O=String(I).replace(_g,function(M){if(M==="%%")return"%";if(K>=X)return M;switch(M){case"%s":return String(J[K++]);case"%d":return Number(J[K++]);case"%j":try{return JSON.stringify(J[K++])}catch(j){return"[Circular]"}default:return M}});for(var Z=J[K];K<X;Z=J[++K])if(WO(Z)||!_Q(Z))O+=" "+Z;else O+=" "+IJ(Z);return O}function qg(I,J){if(typeof process>"u"||process?.noDeprecation===!0)return I;var Y=!1;function K(...X){if(!Y){if(process.throwDeprecation)throw Error(J);else if(process.traceDeprecation)console.trace(J);else console.error(J);Y=!0}return I.apply(this,...X)}return K}function Sg(I,J){var Y=IJ.styles[J];if(Y)return"\x1B["+IJ.colors[Y][0]+"m"+I+"\x1B["+IJ.colors[Y][1]+"m";else return I}function jg(I,J){return I}function Bg(I){var J={};return I.forEach(function(Y,K){J[Y]=!0}),J}function KO(I,J,Y){if(I.customInspect&&J&&OO(J.inspect)&&J.inspect!==IJ&&!(J.constructor&&J.constructor.prototype===J)){var K=J.inspect(Y,I);if(!VO(K))K=KO(I,K,Y);return K}var X=Ng(I,J);if(X)return X;var O=Object.keys(J),Z=Bg(O);if(I.showHidden)O=Object.getOwnPropertyNames(J);if(zO(J)&&(O.indexOf("message")>=0||O.indexOf("description")>=0))return oV(J);if(O.length===0){if(OO(J)){var M=J.name?": "+J.name:"";return I.stylize("[Function"+M+"]","special")}if(ZO(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");if(tV(J))return I.stylize(Date.prototype.toString.call(J),"date");if(zO(J))return oV(J)}var j="",q=!1,E=["{","}"];if(sq(J))q=!0,E=["[","]"];if(OO(J)){var C=J.name?": "+J.name:"";j=" [Function"+C+"]"}if(ZO(J))j=" "+RegExp.prototype.toString.call(J);if(tV(J))j=" "+Date.prototype.toUTCString.call(J);if(zO(J))j=" "+oV(J);if(O.length===0&&(!q||J.length==0))return E[0]+j+E[1];if(Y<0)if(ZO(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");else return I.stylize("[Object]","special");I.seen.push(J);var _;if(q)_=vg(I,J,Y,Z,O);else _=O.map(function(B){return rV(I,J,Y,Z,B,q)});return I.seen.pop(),kg(_,j,E)}function Ng(I,J){if(RQ(J))return I.stylize("undefined","undefined");if(VO(J)){var Y="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(Y,"string")}if(eq(J))return I.stylize(""+J,"number");if(sV(J))return I.stylize(""+J,"boolean");if(WO(J))return I.stylize("null","null")}function oV(I){return"["+Error.prototype.toString.call(I)+"]"}function vg(I,J,Y,K,X){var O=[];for(var Z=0,M=J.length;Z<M;++Z)if(IE(J,String(Z)))O.push(rV(I,J,Y,K,String(Z),!0));else O.push("");return X.forEach(function(j){if(!j.match(/^\d+$/))O.push(rV(I,J,Y,K,j,!0))}),O}function rV(I,J,Y,K,X,O){var Z,M,j;if(j=Object.getOwnPropertyDescriptor(J,X)||{value:J[X]},j.get)if(j.set)M=I.stylize("[Getter/Setter]","special");else M=I.stylize("[Getter]","special");else if(j.set)M=I.stylize("[Setter]","special");if(!IE(K,X))Z="["+X+"]";if(!M)if(I.seen.indexOf(j.value)<0){if(WO(Y))M=KO(I,j.value,null);else M=KO(I,j.value,Y-1);if(M.indexOf(`
|
|
231
|
+
`)>-1)if(O)M=M.split(`
|
|
232
|
+
`).map(function(q){return" "+q}).join(`
|
|
233
|
+
`).slice(2);else M=`
|
|
234
|
+
`+M.split(`
|
|
235
|
+
`).map(function(q){return" "+q}).join(`
|
|
236
|
+
`)}else M=I.stylize("[Circular]","special");if(RQ(Z)){if(O&&X.match(/^\d+$/))return M;if(Z=JSON.stringify(""+X),Z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/))Z=Z.slice(1,-1),Z=I.stylize(Z,"name");else Z=Z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Z=I.stylize(Z,"string")}return Z+": "+M}function kg(I,J,Y){var K=0,X=I.reduce(function(O,Z){if(K++,Z.indexOf(`
|
|
237
|
+
`)>=0)K++;return O+Z.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(X>60)return Y[0]+(J===""?"":J+`
|
|
238
|
+
`)+" "+I.join(`,
|
|
239
|
+
`)+" "+Y[1];return Y[0]+J+" "+I.join(", ")+" "+Y[1]}function sq(I){return Array.isArray(I)}function sV(I){return typeof I==="boolean"}function WO(I){return I===null}function gg(I){return I==null}function eq(I){return typeof I==="number"}function VO(I){return typeof I==="string"}function wg(I){return typeof I==="symbol"}function RQ(I){return I===void 0}function ZO(I){return _Q(I)&&eV(I)==="[object RegExp]"}function _Q(I){return typeof I==="object"&&I!==null}function tV(I){return _Q(I)&&eV(I)==="[object Date]"}function zO(I){return _Q(I)&&(eV(I)==="[object Error]"||I instanceof Error)}function OO(I){return typeof I==="function"}function fg(I){return I===null||typeof I==="boolean"||typeof I==="number"||typeof I==="string"||typeof I==="symbol"||typeof I>"u"}function yg(I){return I instanceof Buffer}function eV(I){return Object.prototype.toString.call(I)}function iV(I){return I<10?"0"+I.toString(10):I.toString(10)}function bg(){var I=new Date,J=[iV(I.getHours()),iV(I.getMinutes()),iV(I.getSeconds())].join(":");return[I.getDate(),ug[I.getMonth()],J].join(" ")}function $E(...I){console.log("%s - %s",bg(),aV.apply(null,I))}function UE(I,J){if(J)I.super_=J,I.prototype=Object.create(J.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})}function $D(I,J){if(!J||!_Q(J))return I;var Y=Object.keys(J),K=Y.length;while(K--)I[Y[K]]=J[Y[K]];return I}function IE(I,J){return Object.prototype.hasOwnProperty.call(I,J)}function UD(I,J){if(!I){var Y=Error("Promise was rejected with a falsy value");Y.reason=I,I=Y}return J(I)}function JE(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');function J(...Y){var K=Y.pop();if(typeof K!=="function")throw TypeError("The last argument must be of type Function");var X=this,O=function(...Z){return K.apply(X,...Z)};I.apply(this,Y).then(function(Z){process.nextTick(O.bind(null,null,Z))},function(Z){process.nextTick(UD.bind(null,Z,O))})}return Object.setPrototypeOf(J,Object.getPrototypeOf(I)),Object.defineProperties(J,Object.getOwnPropertyDescriptors(I)),J}var _g,Eg,IJ,xg=()=>{},ug,XE,QE,YE,cg;var EQ=CQ(()=>{_g=/%[sdj%]/g;Eg=((I={},J={},Y)=>((Y=typeof process<"u"&&!1)&&(Y=Y.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()),J=new RegExp("^"+Y+"$","i"),(K)=>{if(K=K.toUpperCase(),!I[K])if(J.test(K))I[K]=function(...X){console.error("%s: %s",K,pid,aV.apply(null,...X))};else I[K]=function(){};return I[K]}))(),IJ=((I)=>(I.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},I.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},I.custom=Symbol.for("nodejs.util.inspect.custom"),I))(function(I,J,...Y){var K={seen:[],stylize:jg};if(Y.length>=1)K.depth=Y[0];if(Y.length>=2)K.colors=Y[1];if(sV(J))K.showHidden=J;else if(J)$D(K,J);if(RQ(K.showHidden))K.showHidden=!1;if(RQ(K.depth))K.depth=2;if(RQ(K.colors))K.colors=!1;if(K.colors)K.stylize=Sg;return KO(K,I,K.depth)});ug=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];XE=((I)=>(I.custom=Symbol.for("nodejs.util.promisify.custom"),I))(function(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&I[kCustomPromisifiedSymbol]){var J=I[kCustomPromisifiedSymbol];if(typeof J!=="function")throw TypeError('The "nodejs.util.promisify.custom" argument must be of type Function');return Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0}),J}function J(...Y){var K,X,O=new Promise(function(Z,M){K=Z,X=M});Y.push(function(Z,M){if(Z)X(Z);else K(M)});try{I.apply(this,Y)}catch(Z){X(Z)}return O}if(Object.setPrototypeOf(J,Object.getPrototypeOf(I)),kCustomPromisifiedSymbol)Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0});return Object.defineProperties(J,Object.getOwnPropertyDescriptors(I))});({TextEncoder:QE,TextDecoder:YE}=globalThis),cg={TextEncoder:QE,TextDecoder:YE,promisify:XE,log:$E,inherits:UE,_extend:$D,callbackifyOnRejected:UD,callbackify:JE}});var jQ={};g6(jQ,{setMaxListeners:()=>ME,once:()=>HE,listenerCount:()=>LE,init:()=>XX,getMaxListeners:()=>CE,getEventListeners:()=>FE,default:()=>rg,captureRejectionSymbol:()=>KE,addAbortListener:()=>TE,EventEmitter:()=>XX});function WE(I,J){var{_events:Y}=I;if(J[0]??=Error("Unhandled error."),!Y)throw J[0];var K=Y[OE];if(K)for(var X of ZE.call(K))X.apply(I,J);var O=Y.error;if(!O)throw J[0];for(var X of ZE.call(O))X.apply(I,J);return!0}function mg(I,J,Y,K){J.then(void 0,function(X){queueMicrotask(()=>lg(I,X,Y,K))})}function lg(I,J,Y,K){if(typeof I[GE]==="function")I[GE](J,Y,...K);else try{I[XJ]=!1,I.emit("error",J)}finally{I[XJ]=!0}}function VE(I,J,Y){Y.warned=!0;let K=Error(`Possible EventEmitter memory leak detected. ${Y.length} ${String(J)} listeners added to [${I.constructor.name}]. Use emitter.setMaxListeners() to increase limit`);K.name="MaxListenersExceededWarning",K.emitter=I,K.type=J,K.count=Y.length,console.warn(K)}function DE(I,J,...Y){this.removeListener(I,J),J.apply(this,Y)}function HE(I,J,Y){var K=Y?.signal;if(AE(K,"options.signal"),K?.aborted)throw new ID(void 0,{cause:K?.reason});let{resolve:X,reject:O,promise:Z}=$newPromiseCapability(Promise),M=(E)=>{if(I.removeListener(J,j),K!=null)DO(K,"abort",q);O(E)},j=(...E)=>{if(typeof I.removeListener==="function")I.removeListener("error",M);if(K!=null)DO(K,"abort",q);X(E)};if(zE(I,J,j,{once:!0}),J!=="error"&&typeof I.once==="function")I.once("error",M);function q(){DO(I,J,j),DO(I,"error",M),O(new ID(void 0,{cause:K?.reason}))}if(K!=null)zE(K,"abort",q,{once:!0});return Z}function FE(I,J){return I.listeners(J)}function ME(I,...J){JD(I,"setMaxListeners",0);var Y;if(J&&(Y=J.length))for(let K=0;K<Y;K++)J[K].setMaxListeners(I);else JJ=I}function LE(I,J){return I.listenerCount(J)}function DO(I,J,Y,K){if(typeof I.removeListener==="function")I.removeListener(J,Y);else I.removeEventListener(J,Y,K)}function zE(I,J,Y,K){if(typeof I.on==="function")if(K.once)I.once(J,Y);else I.on(J,Y);else I.addEventListener(J,Y,K)}function SQ(I,J,Y){let K=TypeError(`The "${I}" argument must be of type ${J}. Received ${Y}`);return K.code="ERR_INVALID_ARG_TYPE",K}function og(I,J,Y){let K=RangeError(`The "${I}" argument is out of range. It must be ${J}. Received ${Y}`);return K.code="ERR_OUT_OF_RANGE",K}function AE(I,J){if(I!==void 0&&(I===null||typeof I!=="object"||!("aborted"in I)))throw SQ(J,"AbortSignal",I)}function JD(I,J,Y,K){if(typeof I!=="number")throw SQ(J,"number",I);if(Y!=null&&I<Y||K!=null&&I>K||(Y!=null||K!=null)&&Number.isNaN(I))throw og(J,`${Y!=null?`>= ${Y}`:""}${Y!=null&&K!=null?" && ":""}${K!=null?`<= ${K}`:""}`,I)}function rG(I){if(typeof I!=="function")throw TypeError("The listener must be a function")}function ig(I,J){if(typeof I!=="boolean")throw SQ(J,"boolean",I)}function CE(I){return I?._maxListeners??JJ}function TE(I,J){if(I===void 0)throw SQ("signal","AbortSignal",I);if(AE(I,"signal"),typeof J!=="function")throw SQ("listener","function",J);let Y;if(I.aborted)queueMicrotask(()=>J());else I.addEventListener("abort",J,{__proto__:null,once:!0}),Y=()=>{I.removeEventListener("abort",J)};return{__proto__:null,[Symbol.dispose](){Y?.()}}}var XD,XJ,OE,hg,pg,GE,KE,ZE,JJ=10,XX=function(I){if(this._events===void 0||this._events===this.__proto__._events)this._events={__proto__:null},this._eventsCount=0;if(this._maxListeners??=void 0,this[XJ]=I?.captureRejections?Boolean(I?.captureRejections):BU[XJ])this.emit=ng},BU,dg=function(I,...J){if(I==="error")return WE(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var K=Y[I];if(K===void 0)return!1;let X=K.length>1?K.slice():K;for(let O=0,{length:Z}=X;O<Z;O++){let M=X[O];switch(J.length){case 0:M.call(this);break;case 1:M.call(this,J[0]);break;case 2:M.call(this,J[0],J[1]);break;case 3:M.call(this,J[0],J[1],J[2]);break;default:M.apply(this,J);break}}return!0},ng=function(I,...J){if(I==="error")return WE(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var K=Y[I];if(K===void 0)return!1;let X=K.length>1?K.slice():K;for(let O=0,{length:Z}=X;O<Z;O++){let M=X[O],j;switch(J.length){case 0:j=M.call(this);break;case 1:j=M.call(this,J[0]);break;case 2:j=M.call(this,J[0],J[1]);break;case 3:j=M.call(this,J[0],J[1],J[2]);break;default:j=M.apply(this,J);break}if(j!==void 0&&typeof j?.then==="function"&&j.then===Promise.prototype.then)mg(this,j,I,J)}return!0},ID,rg;var BQ=CQ(()=>{XD=Symbol.for,XJ=Symbol("kCapture"),OE=XD("events.errorMonitor"),hg=Symbol("events.maxEventTargetListeners"),pg=Symbol("events.maxEventTargetListenersWarned"),GE=XD("nodejs.rejection"),KE=XD("nodejs.rejection"),ZE=Array.prototype.slice,BU=XX.prototype={};BU._events=void 0;BU._eventsCount=0;BU._maxListeners=void 0;BU.setMaxListeners=function(I){return JD(I,"setMaxListeners",0),this._maxListeners=I,this};BU.constructor=XX;BU.getMaxListeners=function(){return this?._maxListeners??JJ};BU.emit=dg;BU.addListener=function(I,J){rG(J);var Y=this._events;if(!Y)Y=this._events={__proto__:null},this._eventsCount=0;else if(Y.newListener)this.emit("newListener",I,J.listener??J);var K=Y[I];if(!K)Y[I]=[J],this._eventsCount++;else{K.push(J);var X=this._maxListeners??JJ;if(X>0&&K.length>X&&!K.warned)VE(this,I,K)}return this};BU.on=BU.addListener;BU.prependListener=function(I,J){rG(J);var Y=this._events;if(!Y)Y=this._events={__proto__:null},this._eventsCount=0;else if(Y.newListener)this.emit("newListener",I,J.listener??J);var K=Y[I];if(!K)Y[I]=[J],this._eventsCount++;else{K.unshift(J);var X=this._maxListeners??JJ;if(X>0&&K.length>X&&!K.warned)VE(this,I,K)}return this};BU.once=function(I,J){rG(J);let Y=DE.bind(this,I,J);return Y.listener=J,this.addListener(I,Y),this};BU.prependOnceListener=function(I,J){rG(J);let Y=DE.bind(this,I,J);return Y.listener=J,this.prependListener(I,Y),this};BU.removeListener=function(I,J){rG(J);var{_events:Y}=this;if(!Y)return this;var K=Y[I];if(!K)return this;var X=K.length;let O=-1;for(let Z=X-1;Z>=0;Z--)if(K[Z]===J||K[Z].listener===J){O=Z;break}if(O<0)return this;if(O===0)K.shift();else K.splice(O,1);if(K.length===0)delete Y[I],this._eventsCount--;return this};BU.off=BU.removeListener;BU.removeAllListeners=function(I){var{_events:J}=this;if(I&&J){if(J[I])delete J[I],this._eventsCount--}else this._events={__proto__:null};return this};BU.listeners=function(I){var{_events:J}=this;if(!J)return[];var Y=J[I];if(!Y)return[];return Y.map((K)=>K.listener??K)};BU.rawListeners=function(I){var{_events:J}=this;if(!J)return[];var Y=J[I];if(!Y)return[];return Y.slice()};BU.listenerCount=function(I){var{_events:J}=this;if(!J)return 0;return J[I]?.length??0};BU.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};BU[XJ]=!1;ID=class ID extends Error{constructor(I="The operation was aborted",J=void 0){if(J!==void 0&&typeof J!=="object")throw SQ("options","Object",J);super(I,J);this.code="ABORT_ERR",this.name="AbortError"}};Object.defineProperties(XX,{captureRejections:{get(){return BU[XJ]},set(I){ig(I,"EventEmitter.captureRejections"),BU[XJ]=I},enumerable:!0},defaultMaxListeners:{enumerable:!0,get:()=>{return JJ},set:(I)=>{JD(I,"defaultMaxListeners",0),JJ=I}},kMaxEventTargetListeners:{value:hg,enumerable:!1,configurable:!1,writable:!1},kMaxEventTargetListenersWarned:{value:pg,enumerable:!1,configurable:!1,writable:!1}});Object.assign(XX,{once:HE,getEventListeners:FE,getMaxListeners:CE,setMaxListeners:ME,EventEmitter:XX,usingDomains:!1,captureRejectionSymbol:KE,errorMonitor:OE,addAbortListener:TE,init:XX,listenerCount:LE});rg=XX});var vQ=ZI((Ud,BE)=>{var XU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),yU=XU((I,J)=>{class Y extends Error{constructor(K){if(!Array.isArray(K))throw TypeError(`Expected input to be an Array, got ${typeof K}`);let X="";for(let O=0;O<K.length;O++)X+=` ${K[O].stack}
|
|
240
|
+
`;super(X);this.name="AggregateError",this.errors=K}}J.exports={AggregateError:Y,ArrayIsArray(K){return Array.isArray(K)},ArrayPrototypeIncludes(K,X){return K.includes(X)},ArrayPrototypeIndexOf(K,X){return K.indexOf(X)},ArrayPrototypeJoin(K,X){return K.join(X)},ArrayPrototypeMap(K,X){return K.map(X)},ArrayPrototypePop(K,X){return K.pop(X)},ArrayPrototypePush(K,X){return K.push(X)},ArrayPrototypeSlice(K,X,O){return K.slice(X,O)},Error,FunctionPrototypeCall(K,X,...O){return K.call(X,...O)},FunctionPrototypeSymbolHasInstance(K,X){return Function.prototype[Symbol.hasInstance].call(K,X)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(K,X){return Object.defineProperties(K,X)},ObjectDefineProperty(K,X,O){return Object.defineProperty(K,X,O)},ObjectGetOwnPropertyDescriptor(K,X){return Object.getOwnPropertyDescriptor(K,X)},ObjectKeys(K){return Object.keys(K)},ObjectSetPrototypeOf(K,X){return Object.setPrototypeOf(K,X)},Promise,PromisePrototypeCatch(K,X){return K.catch(X)},PromisePrototypeThen(K,X,O){return K.then(X,O)},PromiseReject(K){return Promise.reject(K)},PromiseResolve(K){return Promise.resolve(K)},ReflectApply:Reflect.apply,RegExpPrototypeTest(K,X){return K.test(X)},SafeSet:Set,String,StringPrototypeSlice(K,X,O){return K.slice(X,O)},StringPrototypeToLowerCase(K){return K.toLowerCase()},StringPrototypeToUpperCase(K){return K.toUpperCase()},StringPrototypeTrim(K){return K.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(K,X,O){return K.set(X,O)},Boolean,Uint8Array}}),PE=XU((I,J)=>{J.exports={format(Y,...K){return Y.replace(/%([sdifj])/g,function(...[X,O]){let Z=K.shift();if(O==="f")return Z.toFixed(6);else if(O==="j")return JSON.stringify(Z);else if(O==="s"&&typeof Z==="object")return`${Z.constructor!==Object?Z.constructor.name:""} {}`.trim();else return Z.toString()})},inspect(Y){switch(typeof Y){case"string":if(Y.includes("'")){if(!Y.includes('"'))return`"${Y}"`;else if(!Y.includes("`")&&!Y.includes("${"))return`\`${Y}\``}return`'${Y}'`;case"number":if(isNaN(Y))return"NaN";else if(Object.is(Y,-0))return String(Y);return Y;case"bigint":return`${String(Y)}n`;case"boolean":case"undefined":return String(Y);case"object":return"{}"}}}}),w6=XU((I,J)=>{var{format:Y,inspect:K}=PE(),{AggregateError:X}=yU(),O=globalThis.AggregateError||X,Z=Symbol("kIsNodeError"),M=["string","function","number","object","Function","Object","boolean","bigint","symbol"],j=/^([A-Z][a-z0-9]*)+$/,q={};function E(b,x){if(!b)throw new q.ERR_INTERNAL_ASSERTION(x)}function C(b){let x="",u=b.length,p=b[0]==="-"?1:0;for(;u>=p+4;u-=3)x=`_${b.slice(u-3,u)}${x}`;return`${b.slice(0,u)}${x}`}function _(b,x,u){if(typeof x==="function")return E(x.length<=u.length,`Code: ${b}; The provided arguments length (${u.length}) does not match the required ones (${x.length}).`),x(...u);let p=(x.match(/%[dfijoOs]/g)||[]).length;if(E(p===u.length,`Code: ${b}; The provided arguments length (${u.length}) does not match the required ones (${p}).`),u.length===0)return x;return Y(x,...u)}function B(b,x,u){if(!u)u=Error;class p extends u{constructor(...d){super(_(b,x,d))}toString(){return`${this.name} [${b}]: ${this.message}`}}Object.defineProperties(p.prototype,{name:{value:u.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${b}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),p.prototype.code=b,p.prototype[Z]=!0,q[b]=p}function v(b){let x="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:x}),b}function y(b,x){if(b&&x&&b!==x){if(Array.isArray(x.errors))return x.errors.push(b),x;let u=new O([x,b],x.message);return u.code=x.code,u}return b||x}class w extends Error{constructor(b="The operation was aborted",x=void 0){if(x!==void 0&&typeof x!=="object")throw new q.ERR_INVALID_ARG_TYPE("options","Object",x);super(b,x);this.code="ABORT_ERR",this.name="AbortError"}}B("ERR_ASSERTION","%s",Error),B("ERR_INVALID_ARG_TYPE",(b,x,u)=>{if(E(typeof b==="string","'name' must be a string"),!Array.isArray(x))x=[x];let p="The ";if(b.endsWith(" argument"))p+=`${b} `;else p+=`"${b}" ${b.includes(".")?"property":"argument"} `;p+="must be ";let d=[],a=[],H0=[];for(let q0 of x)if(E(typeof q0==="string","All expected entries have to be of type string"),M.includes(q0))d.push(q0.toLowerCase());else if(j.test(q0))a.push(q0);else E(q0!=="object",'The value "object" should be written as "Object"'),H0.push(q0);if(a.length>0){let q0=d.indexOf("object");if(q0!==-1)d.splice(d,q0,1),a.push("Object")}if(d.length>0){switch(d.length){case 1:p+=`of type ${d[0]}`;break;case 2:p+=`one of type ${d[0]} or ${d[1]}`;break;default:{let q0=d.pop();p+=`one of type ${d.join(", ")}, or ${q0}`}}if(a.length>0||H0.length>0)p+=" or "}if(a.length>0){switch(a.length){case 1:p+=`an instance of ${a[0]}`;break;case 2:p+=`an instance of ${a[0]} or ${a[1]}`;break;default:{let q0=a.pop();p+=`an instance of ${a.join(", ")}, or ${q0}`}}if(H0.length>0)p+=" or "}switch(H0.length){case 0:break;case 1:if(H0[0].toLowerCase()!==H0[0])p+="an ";p+=`${H0[0]}`;break;case 2:p+=`one of ${H0[0]} or ${H0[1]}`;break;default:{let q0=H0.pop();p+=`one of ${H0.join(", ")}, or ${q0}`}}if(u==null)p+=`. Received ${u}`;else if(typeof u==="function"&&u.name)p+=`. Received function ${u.name}`;else if(typeof u==="object"){var M0;if((M0=u.constructor)!==null&&M0!==void 0&&M0.name)p+=`. Received an instance of ${u.constructor.name}`;else{let q0=K(u,{depth:-1});p+=`. Received ${q0}`}}else{let q0=K(u,{colors:!1});if(q0.length>25)q0=`${q0.slice(0,25)}...`;p+=`. Received type ${typeof u} (${q0})`}return p},TypeError),B("ERR_INVALID_ARG_VALUE",(b,x,u="is invalid")=>{let p=K(x);if(p.length>128)p=p.slice(0,128)+"...";return`The ${b.includes(".")?"property":"argument"} '${b}' ${u}. Received ${p}`},TypeError),B("ERR_INVALID_RETURN_VALUE",(b,x,u)=>{var p;let d=u!==null&&u!==void 0&&(p=u.constructor)!==null&&p!==void 0&&p.name?`instance of ${u.constructor.name}`:`type ${typeof u}`;return`Expected ${b} to be returned from the "${x}" function but got ${d}.`},TypeError),B("ERR_MISSING_ARGS",(...b)=>{E(b.length>0,"At least one arg needs to be specified");let x,u=b.length;switch(b=(Array.isArray(b)?b:[b]).map((p)=>`"${p}"`).join(" or "),u){case 1:x+=`The ${b[0]} argument`;break;case 2:x+=`The ${b[0]} and ${b[1]} arguments`;break;default:{let p=b.pop();x+=`The ${b.join(", ")}, and ${p} arguments`}break}return`${x} must be specified`},TypeError),B("ERR_OUT_OF_RANGE",(b,x,u)=>{E(x,'Missing "range" argument');let p;if(Number.isInteger(u)&&Math.abs(u)>4294967296)p=C(String(u));else if(typeof u==="bigint"){p=String(u);let d=BigInt(2)**BigInt(32);if(u>d||u<-d)p=C(p);p+="n"}else p=K(u);return`The value of "${b}" is out of range. It must be ${x}. Received ${p}`},RangeError),B("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),B("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),B("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),B("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),B("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),B("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),B("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),B("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),B("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),B("ERR_STREAM_WRITE_AFTER_END","write after end",Error),B("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),J.exports={AbortError:w,aggregateTwoErrors:v(y),hideStackFrames:v,codes:q}}),tg=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Y=new WeakMap,K=new WeakMap;function X(t){let T0=Y.get(t);return console.assert(T0!=null,"'this' is expected an Event object, but got",t),T0}function O(t){if(t.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}if(!t.event.cancelable)return;if(t.canceled=!0,typeof t.event.preventDefault==="function")t.event.preventDefault()}function Z(t,T0){Y.set(this,{eventTarget:t,event:T0,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:T0.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let G=Object.keys(T0);for(let V=0;V<G.length;++V){let F=G[V];if(!(F in this))Object.defineProperty(this,F,M(F))}}if(Z.prototype={get type(){return X(this).event.type},get target(){return X(this).eventTarget},get currentTarget(){return X(this).currentTarget},composedPath(){let t=X(this).currentTarget;if(t==null)return[];return[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return X(this).eventPhase},stopPropagation(){let t=X(this);if(t.stopped=!0,typeof t.event.stopPropagation==="function")t.event.stopPropagation()},stopImmediatePropagation(){let t=X(this);if(t.stopped=!0,t.immediateStopped=!0,typeof t.event.stopImmediatePropagation==="function")t.event.stopImmediatePropagation()},get bubbles(){return Boolean(X(this).event.bubbles)},get cancelable(){return Boolean(X(this).event.cancelable)},preventDefault(){O(X(this))},get defaultPrevented(){return X(this).canceled},get composed(){return Boolean(X(this).event.composed)},get timeStamp(){return X(this).timeStamp},get srcElement(){return X(this).eventTarget},get cancelBubble(){return X(this).stopped},set cancelBubble(t){if(!t)return;let T0=X(this);if(T0.stopped=!0,typeof T0.event.cancelBubble==="boolean")T0.event.cancelBubble=!0},get returnValue(){return!X(this).canceled},set returnValue(t){if(!t)O(X(this))},initEvent(){}},Object.defineProperty(Z.prototype,"constructor",{value:Z,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.Event<"u")Object.setPrototypeOf(Z.prototype,window.Event.prototype),K.set(window.Event.prototype,Z);function M(t){return{get(){return X(this).event[t]},set(T0){X(this).event[t]=T0},configurable:!0,enumerable:!0}}function j(t){return{value(){let T0=X(this).event;return T0[t].apply(T0,arguments)},configurable:!0,enumerable:!0}}function q(t,T0){let G=Object.keys(T0);if(G.length===0)return t;function V(F,W){t.call(this,F,W)}V.prototype=Object.create(t.prototype,{constructor:{value:V,configurable:!0,writable:!0}});for(let F=0;F<G.length;++F){let W=G[F];if(!(W in t.prototype)){let H=typeof Object.getOwnPropertyDescriptor(T0,W).value==="function";Object.defineProperty(V.prototype,W,H?j(W):M(W))}}return V}function E(t){if(t==null||t===Object.prototype)return Z;let T0=K.get(t);if(T0==null)T0=q(E(Object.getPrototypeOf(t)),t),K.set(t,T0);return T0}function C(t,T0){return new(E(Object.getPrototypeOf(T0)))(t,T0)}function _(t){return X(t).immediateStopped}function B(t,T0){X(t).eventPhase=T0}function v(t,T0){X(t).currentTarget=T0}function y(t,T0){X(t).passiveListener=T0}var w=new WeakMap,b=1,x=2,u=3;function p(t){return t!==null&&typeof t==="object"}function d(t){let T0=w.get(t);if(T0==null)throw TypeError("'this' is expected an EventTarget object, but got another value.");return T0}function a(t){return{get(){let T0=d(this).get(t);while(T0!=null){if(T0.listenerType===u)return T0.listener;T0=T0.next}return null},set(T0){if(typeof T0!=="function"&&!p(T0))T0=null;let G=d(this),V=null,F=G.get(t);while(F!=null){if(F.listenerType===u)if(V!==null)V.next=F.next;else if(F.next!==null)G.set(t,F.next);else G.delete(t);else V=F;F=F.next}if(T0!==null){let W={listener:T0,listenerType:u,passive:!1,once:!1,next:null};if(V===null)G.set(t,W);else V.next=W}},configurable:!0,enumerable:!0}}function H0(t,T0){Object.defineProperty(t,`on${T0}`,a(T0))}function M0(t){function T0(){q0.call(this)}T0.prototype=Object.create(q0.prototype,{constructor:{value:T0,configurable:!0,writable:!0}});for(let G=0;G<t.length;++G)H0(T0.prototype,t[G]);return T0}function q0(){if(this instanceof q0){w.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return M0(arguments[0]);if(arguments.length>0){let t=Array(arguments.length);for(let T0=0;T0<arguments.length;++T0)t[T0]=arguments[T0];return M0(t)}throw TypeError("Cannot call a class as a function")}if(q0.prototype={addEventListener(t,T0,G){if(T0==null)return;if(typeof T0!=="function"&&!p(T0))throw TypeError("'listener' should be a function or an object.");let V=d(this),F=p(G),W=(F?Boolean(G.capture):Boolean(G))?b:x,H={listener:T0,listenerType:W,passive:F&&Boolean(G.passive),once:F&&Boolean(G.once),next:null},P=V.get(t);if(P===void 0){V.set(t,H);return}let S=null;while(P!=null){if(P.listener===T0&&P.listenerType===W)return;S=P,P=P.next}S.next=H},removeEventListener(t,T0,G){if(T0==null)return;let V=d(this),F=(p(G)?Boolean(G.capture):Boolean(G))?b:x,W=null,H=V.get(t);while(H!=null){if(H.listener===T0&&H.listenerType===F){if(W!==null)W.next=H.next;else if(H.next!==null)V.set(t,H.next);else V.delete(t);return}W=H,H=H.next}},dispatchEvent(t){if(t==null||typeof t.type!=="string")throw TypeError('"event.type" should be a string.');let T0=d(this),G=t.type,V=T0.get(G);if(V==null)return!0;let F=C(this,t),W=null;while(V!=null){if(V.once)if(W!==null)W.next=V.next;else if(V.next!==null)T0.set(G,V.next);else T0.delete(G);else W=V;if(y(F,V.passive?V.listener:null),typeof V.listener==="function")try{V.listener.call(this,F)}catch(H){if(typeof console<"u"&&typeof console.error==="function")console.error(H)}else if(V.listenerType!==u&&typeof V.listener.handleEvent==="function")V.listener.handleEvent(F);if(_(F))break;V=V.next}return y(F,null),B(F,0),v(F,null),!F.defaultPrevented}},Object.defineProperty(q0.prototype,"constructor",{value:q0,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(q0.prototype,window.EventTarget.prototype);I.defineEventAttribute=H0,I.EventTarget=q0,I.default=q0,J.exports=q0,J.exports.EventTarget=J.exports.default=q0,J.exports.defineEventAttribute=H0}),tG=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Y=tg();class K extends Y.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let E=Z.get(this);if(typeof E!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return E}}Y.defineEventAttribute(K.prototype,"abort");function X(){let E=Object.create(K.prototype);return Y.EventTarget.call(E),Z.set(E,!1),E}function O(E){if(Z.get(E)!==!1)return;Z.set(E,!0),E.dispatchEvent({type:"abort"})}var Z=new WeakMap;if(Object.defineProperties(K.prototype,{aborted:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(K.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class M{constructor(){j.set(this,X())}get signal(){return q(this)}abort(){O(q(this))}}var j=new WeakMap;function q(E){let C=j.get(E);if(C==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${E===null?"null":typeof E}`);return C}if(Object.defineProperties(M.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(M.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});I.AbortController=M,I.AbortSignal=K,I.default=M,J.exports=M,J.exports.AbortController=J.exports.default=M,J.exports.AbortSignal=K}),t6=XU((I,J)=>{var Y=(iU(),j$(oU)),{format:K,inspect:X}=PE(),{codes:{ERR_INVALID_ARG_TYPE:O}}=w6(),{kResistStopPropagation:Z,AggregateError:M,SymbolDispose:j}=yU(),q=globalThis.AbortSignal||tG().AbortSignal,E=globalThis.AbortController||tG().AbortController,C=Object.getPrototypeOf(async function(){}).constructor,_=globalThis.Blob||Y.Blob,B=typeof _<"u"?function(w){return w instanceof _}:function(w){return!1},v=(w,b)=>{if(w!==void 0&&(w===null||typeof w!=="object"||!("aborted"in w)))throw new O(b,"AbortSignal",w)},y=(w,b)=>{if(typeof w!=="function")throw new O(b,"Function",w)};J.exports={AggregateError:M,kEmptyObject:Object.freeze({}),once(w){let b=!1;return function(...x){if(b)return;b=!0,w.apply(this,x)}},createDeferredPromise:function(){let w,b;return{promise:new Promise((x,u)=>{w=x,b=u}),resolve:w,reject:b}},promisify(w){return new Promise((b,x)=>{w((u,...p)=>{if(u)return x(u);return b(...p)})})},debuglog(){return function(){}},format:K,inspect:X,types:{isAsyncFunction(w){return w instanceof C},isArrayBufferView(w){return ArrayBuffer.isView(w)}},isBlob:B,deprecate(w,b){return w},addAbortListener:(BQ(),j$(jQ)).addAbortListener||function(w,b){if(w===void 0)throw new O("signal","AbortSignal",w);v(w,"signal"),y(b,"listener");let x;if(w.aborted)queueMicrotask(()=>b());else w.addEventListener("abort",b,{__proto__:null,once:!0,[Z]:!0}),x=()=>{w.removeEventListener("abort",b)};return{__proto__:null,[j](){var u;(u=x)===null||u===void 0||u()}}},AbortSignalAny:q.any||function(w){if(w.length===1)return w[0];let b=new E,x=()=>b.abort();return w.forEach((u)=>{v(u,"signals"),u.addEventListener("abort",x,{once:!0})}),b.signal.addEventListener("abort",()=>{w.forEach((u)=>u.removeEventListener("abort",x))},{once:!0}),b.signal}},J.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),aG=XU((I,J)=>{var{ArrayIsArray:Y,ArrayPrototypeIncludes:K,ArrayPrototypeJoin:X,ArrayPrototypeMap:O,NumberIsInteger:Z,NumberIsNaN:M,NumberMAX_SAFE_INTEGER:j,NumberMIN_SAFE_INTEGER:q,NumberParseInt:E,ObjectPrototypeHasOwnProperty:C,RegExpPrototypeExec:_,String:B,StringPrototypeToUpperCase:v,StringPrototypeTrim:y}=yU(),{hideStackFrames:w,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:x,ERR_INVALID_ARG_VALUE:u,ERR_OUT_OF_RANGE:p,ERR_UNKNOWN_SIGNAL:d}}=w6(),{normalizeEncoding:a}=t6(),{isAsyncFunction:H0,isArrayBufferView:M0}=t6().types,q0={};function t(I0){return I0===(I0|0)}function T0(I0){return I0===I0>>>0}var G=/^[0-7]+$/,V="must be a 32-bit unsigned integer or an octal string";function F(I0,K0,I$){if(typeof I0>"u")I0=I$;if(typeof I0==="string"){if(_(G,I0)===null)throw new u(K0,I0,V);I0=E(I0,8)}return P(I0,K0),I0}var W=w((I0,K0,I$=q,L0=j)=>{if(typeof I0!=="number")throw new x(K0,"number",I0);if(!Z(I0))throw new p(K0,"an integer",I0);if(I0<I$||I0>L0)throw new p(K0,`>= ${I$} && <= ${L0}`,I0)}),H=w((I0,K0,I$=-2147483648,L0=2147483647)=>{if(typeof I0!=="number")throw new x(K0,"number",I0);if(!Z(I0))throw new p(K0,"an integer",I0);if(I0<I$||I0>L0)throw new p(K0,`>= ${I$} && <= ${L0}`,I0)}),P=w((I0,K0,I$=!1)=>{if(typeof I0!=="number")throw new x(K0,"number",I0);if(!Z(I0))throw new p(K0,"an integer",I0);let L0=I$?1:0,B0=4294967295;if(I0<L0||I0>B0)throw new p(K0,`>= ${L0} && <= ${B0}`,I0)});function S(I0,K0){if(typeof I0!=="string")throw new x(K0,"string",I0)}function A(I0,K0,I$=void 0,L0){if(typeof I0!=="number")throw new x(K0,"number",I0);if(I$!=null&&I0<I$||L0!=null&&I0>L0||(I$!=null||L0!=null)&&M(I0))throw new p(K0,`${I$!=null?`>= ${I$}`:""}${I$!=null&&L0!=null?" && ":""}${L0!=null?`<= ${L0}`:""}`,I0)}var z=w((I0,K0,I$)=>{if(!K(I$,I0)){let L0="must be one of: "+X(O(I$,(B0)=>typeof B0==="string"?`'${B0}'`:B(B0)),", ");throw new u(K0,I0,L0)}});function T(I0,K0){if(typeof I0!=="boolean")throw new x(K0,"boolean",I0)}function g(I0,K0,I$){return I0==null||!C(I0,K0)?I$:I0[K0]}var N=w((I0,K0,I$=null)=>{let L0=g(I$,"allowArray",!1),B0=g(I$,"allowFunction",!1);if(!g(I$,"nullable",!1)&&I0===null||!L0&&Y(I0)||typeof I0!=="object"&&(!B0||typeof I0!=="function"))throw new x(K0,"Object",I0)}),c=w((I0,K0)=>{if(I0!=null&&typeof I0!=="object"&&typeof I0!=="function")throw new x(K0,"a dictionary",I0)}),r=w((I0,K0,I$=0)=>{if(!Y(I0))throw new x(K0,"Array",I0);if(I0.length<I$){let L0=`must be longer than ${I$}`;throw new u(K0,I0,L0)}});function U0(I0,K0){r(I0,K0);for(let I$=0;I$<I0.length;I$++)S(I0[I$],`${K0}[${I$}]`)}function O0(I0,K0){r(I0,K0);for(let I$=0;I$<I0.length;I$++)T(I0[I$],`${K0}[${I$}]`)}function Q0(I0,K0){r(I0,K0);for(let I$=0;I$<I0.length;I$++){let L0=I0[I$],B0=`${K0}[${I$}]`;if(L0==null)throw new x(B0,"AbortSignal",L0);A0(L0,B0)}}function s(I0,K0="signal"){if(S(I0,K0),q0[I0]===void 0){if(q0[v(I0)]!==void 0)throw new d(I0+" (signals must use all capital letters)");throw new d(I0)}}var e=w((I0,K0="buffer")=>{if(!M0(I0))throw new x(K0,["Buffer","TypedArray","DataView"],I0)});function J0(I0,K0){let I$=a(K0),L0=I0.length;if(I$==="hex"&&L0%2!==0)throw new u("encoding",K0,`is invalid for data of length ${L0}`)}function Z0(I0,K0="Port",I$=!0){if(typeof I0!=="number"&&typeof I0!=="string"||typeof I0==="string"&&y(I0).length===0||+I0!==+I0>>>0||I0>65535||I0===0&&!I$)throw new b(K0,I0,I$);return I0|0}var A0=w((I0,K0)=>{if(I0!==void 0&&(I0===null||typeof I0!=="object"||!("aborted"in I0)))throw new x(K0,"AbortSignal",I0)}),$0=w((I0,K0)=>{if(typeof I0!=="function")throw new x(K0,"Function",I0)}),h=w((I0,K0)=>{if(typeof I0!=="function"||H0(I0))throw new x(K0,"Function",I0)}),n=w((I0,K0)=>{if(I0!==void 0)throw new x(K0,"undefined",I0)});function F0(I0,K0,I$){if(!K(I$,I0))throw new x(K0,`('${X(I$,"|")}')`,I0)}var Y0=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W0(I0,K0){if(typeof I0>"u"||!_(Y0,I0))throw new u(K0,I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function v0(I0){if(typeof I0==="string")return W0(I0,"hints"),I0;else if(Y(I0)){let K0=I0.length,I$="";if(K0===0)return I$;for(let L0=0;L0<K0;L0++){let B0=I0[L0];if(W0(B0,"hints"),I$+=B0,L0!==K0-1)I$+=", "}return I$}throw new u("hints",I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}J.exports={isInt32:t,isUint32:T0,parseFileMode:F,validateArray:r,validateStringArray:U0,validateBooleanArray:O0,validateAbortSignalArray:Q0,validateBoolean:T,validateBuffer:e,validateDictionary:c,validateEncoding:J0,validateFunction:$0,validateInt32:H,validateInteger:W,validateNumber:A,validateObject:N,validateOneOf:z,validatePlainFunction:h,validatePort:Z0,validateSignalName:s,validateString:S,validateUint32:P,validateUndefined:n,validateUnion:F0,validateAbortSignal:A0,validateLinkHeaderValue:v0}}),QJ=XU((I,J)=>{J.exports=globalThis.process}),KI=XU((I,J)=>{var{SymbolAsyncIterator:Y,SymbolIterator:K,SymbolFor:X}=yU(),O=X("nodejs.stream.destroyed"),Z=X("nodejs.stream.errored"),M=X("nodejs.stream.readable"),j=X("nodejs.stream.writable"),q=X("nodejs.stream.disturbed"),E=X("nodejs.webstream.isClosedPromise"),C=X("nodejs.webstream.controllerErrorFunction");function _(g,N=!1){var c;return!!(g&&typeof g.pipe==="function"&&typeof g.on==="function"&&(!N||typeof g.pause==="function"&&typeof g.resume==="function")&&(!g._writableState||((c=g._readableState)===null||c===void 0?void 0:c.readable)!==!1)&&(!g._writableState||g._readableState))}function B(g){var N;return!!(g&&typeof g.write==="function"&&typeof g.on==="function"&&(!g._readableState||((N=g._writableState)===null||N===void 0?void 0:N.writable)!==!1))}function v(g){return!!(g&&typeof g.pipe==="function"&&g._readableState&&typeof g.on==="function"&&typeof g.write==="function")}function y(g){return g&&(g._readableState||g._writableState||typeof g.write==="function"&&typeof g.on==="function"||typeof g.pipe==="function"&&typeof g.on==="function")}function w(g){return!!(g&&!y(g)&&typeof g.pipeThrough==="function"&&typeof g.getReader==="function"&&typeof g.cancel==="function")}function b(g){return!!(g&&!y(g)&&typeof g.getWriter==="function"&&typeof g.abort==="function")}function x(g){return!!(g&&!y(g)&&typeof g.readable==="object"&&typeof g.writable==="object")}function u(g){return w(g)||b(g)||x(g)}function p(g,N){if(g==null)return!1;if(N===!0)return typeof g[Y]==="function";if(N===!1)return typeof g[K]==="function";return typeof g[Y]==="function"||typeof g[K]==="function"}function d(g){if(!y(g))return null;let{_writableState:N,_readableState:c}=g,r=N||c;return!!(g.destroyed||g[O]||r!==null&&r!==void 0&&r.destroyed)}function a(g){if(!B(g))return null;if(g.writableEnded===!0)return!0;let N=g._writableState;if(N!==null&&N!==void 0&&N.errored)return!1;if(typeof(N===null||N===void 0?void 0:N.ended)!=="boolean")return null;return N.ended}function H0(g,N){if(!B(g))return null;if(g.writableFinished===!0)return!0;let c=g._writableState;if(c!==null&&c!==void 0&&c.errored)return!1;if(typeof(c===null||c===void 0?void 0:c.finished)!=="boolean")return null;return!!(c.finished||N===!1&&c.ended===!0&&c.length===0)}function M0(g){if(!_(g))return null;if(g.readableEnded===!0)return!0;let N=g._readableState;if(!N||N.errored)return!1;if(typeof(N===null||N===void 0?void 0:N.ended)!=="boolean")return null;return N.ended}function q0(g,N){if(!_(g))return null;let c=g._readableState;if(c!==null&&c!==void 0&&c.errored)return!1;if(typeof(c===null||c===void 0?void 0:c.endEmitted)!=="boolean")return null;return!!(c.endEmitted||N===!1&&c.ended===!0&&c.length===0)}function t(g){if(g&&g[M]!=null)return g[M];if(typeof(g===null||g===void 0?void 0:g.readable)!=="boolean")return null;if(d(g))return!1;return _(g)&&g.readable&&!q0(g)}function T0(g){if(g&&g[j]!=null)return g[j];if(typeof(g===null||g===void 0?void 0:g.writable)!=="boolean")return null;if(d(g))return!1;return B(g)&&g.writable&&!a(g)}function G(g,N){if(!y(g))return null;if(d(g))return!0;if((N===null||N===void 0?void 0:N.readable)!==!1&&t(g))return!1;if((N===null||N===void 0?void 0:N.writable)!==!1&&T0(g))return!1;return!0}function V(g){var N,c;if(!y(g))return null;if(g.writableErrored)return g.writableErrored;return(N=(c=g._writableState)===null||c===void 0?void 0:c.errored)!==null&&N!==void 0?N:null}function F(g){var N,c;if(!y(g))return null;if(g.readableErrored)return g.readableErrored;return(N=(c=g._readableState)===null||c===void 0?void 0:c.errored)!==null&&N!==void 0?N:null}function W(g){if(!y(g))return null;if(typeof g.closed==="boolean")return g.closed;let{_writableState:N,_readableState:c}=g;if(typeof(N===null||N===void 0?void 0:N.closed)==="boolean"||typeof(c===null||c===void 0?void 0:c.closed)==="boolean")return(N===null||N===void 0?void 0:N.closed)||(c===null||c===void 0?void 0:c.closed);if(typeof g._closed==="boolean"&&H(g))return g._closed;return null}function H(g){return typeof g._closed==="boolean"&&typeof g._defaultKeepAlive==="boolean"&&typeof g._removedConnection==="boolean"&&typeof g._removedContLen==="boolean"}function P(g){return typeof g._sent100==="boolean"&&H(g)}function S(g){var N;return typeof g._consuming==="boolean"&&typeof g._dumped==="boolean"&&((N=g.req)===null||N===void 0?void 0:N.upgradeOrConnect)===void 0}function A(g){if(!y(g))return null;let{_writableState:N,_readableState:c}=g,r=N||c;return!r&&P(g)||!!(r&&r.autoDestroy&&r.emitClose&&r.closed===!1)}function z(g){var N;return!!(g&&((N=g[q])!==null&&N!==void 0?N:g.readableDidRead||g.readableAborted))}function T(g){var N,c,r,U0,O0,Q0,s,e,J0,Z0;return!!(g&&((N=(c=(r=(U0=(O0=(Q0=g[Z])!==null&&Q0!==void 0?Q0:g.readableErrored)!==null&&O0!==void 0?O0:g.writableErrored)!==null&&U0!==void 0?U0:(s=g._readableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&r!==void 0?r:(e=g._writableState)===null||e===void 0?void 0:e.errorEmitted)!==null&&c!==void 0?c:(J0=g._readableState)===null||J0===void 0?void 0:J0.errored)!==null&&N!==void 0?N:(Z0=g._writableState)===null||Z0===void 0?void 0:Z0.errored))}J.exports={isDestroyed:d,kIsDestroyed:O,isDisturbed:z,kIsDisturbed:q,isErrored:T,kIsErrored:Z,isReadable:t,kIsReadable:M,kIsClosedPromise:E,kControllerErrorFunction:C,kIsWritable:j,isClosed:W,isDuplexNodeStream:v,isFinished:G,isIterable:p,isReadableNodeStream:_,isReadableStream:w,isReadableEnded:M0,isReadableFinished:q0,isReadableErrored:F,isNodeStream:y,isWebStream:u,isWritable:T0,isWritableNodeStream:B,isWritableStream:b,isWritableEnded:a,isWritableFinished:H0,isWritableErrored:V,isServerRequest:S,isServerResponse:P,willEmitClose:A,isTransformStream:x}}),JX=XU((I,J)=>{var Y=QJ(),{AbortError:K,codes:X}=w6(),{ERR_INVALID_ARG_TYPE:O,ERR_STREAM_PREMATURE_CLOSE:Z}=X,{kEmptyObject:M,once:j}=t6(),{validateAbortSignal:q,validateFunction:E,validateObject:C,validateBoolean:_}=aG(),{Promise:B,PromisePrototypeThen:v,SymbolDispose:y}=yU(),{isClosed:w,isReadable:b,isReadableNodeStream:x,isReadableStream:u,isReadableFinished:p,isReadableErrored:d,isWritable:a,isWritableNodeStream:H0,isWritableStream:M0,isWritableFinished:q0,isWritableErrored:t,isNodeStream:T0,willEmitClose:G,kIsClosedPromise:V}=KI(),F;function W(z){return z.setHeader&&typeof z.abort==="function"}var H=()=>{};function P(z,T,g){var N,c;if(arguments.length===2)g=T,T=M;else if(T==null)T=M;else C(T,"options");if(E(g,"callback"),q(T.signal,"options.signal"),g=j(g),u(z)||M0(z))return S(z,T,g);if(!T0(z))throw new O("stream",["ReadableStream","WritableStream","Stream"],z);let r=(N=T.readable)!==null&&N!==void 0?N:x(z),U0=(c=T.writable)!==null&&c!==void 0?c:H0(z),O0=z._writableState,Q0=z._readableState,s=()=>{if(!z.writable)Z0()},e=G(z)&&x(z)===r&&H0(z)===U0,J0=q0(z,!1),Z0=()=>{if(J0=!0,z.destroyed)e=!1;if(e&&(!z.readable||r))return;if(!r||A0)g.call(z)},A0=p(z,!1),$0=()=>{if(A0=!0,z.destroyed)e=!1;if(e&&(!z.writable||U0))return;if(!U0||J0)g.call(z)},h=(I0)=>{g.call(z,I0)},n=w(z),F0=()=>{n=!0;let I0=t(z)||d(z);if(I0&&typeof I0!=="boolean")return g.call(z,I0);if(r&&!A0&&x(z,!0)){if(!p(z,!1))return g.call(z,new Z)}if(U0&&!J0){if(!q0(z,!1))return g.call(z,new Z)}g.call(z)},Y0=()=>{n=!0;let I0=t(z)||d(z);if(I0&&typeof I0!=="boolean")return g.call(z,I0);g.call(z)},W0=()=>{z.req.on("finish",Z0)};if(W(z)){if(z.on("complete",Z0),!e)z.on("abort",F0);if(z.req)W0();else z.on("request",W0)}else if(U0&&!O0)z.on("end",s),z.on("close",s);if(!e&&typeof z.aborted==="boolean")z.on("aborted",F0);if(z.on("end",$0),z.on("finish",Z0),T.error!==!1)z.on("error",h);if(z.on("close",F0),n)Y.nextTick(F0);else if(O0!==null&&O0!==void 0&&O0.errorEmitted||Q0!==null&&Q0!==void 0&&Q0.errorEmitted){if(!e)Y.nextTick(Y0)}else if(!r&&(!e||b(z))&&(J0||a(z)===!1))Y.nextTick(Y0);else if(!U0&&(!e||a(z))&&(A0||b(z)===!1))Y.nextTick(Y0);else if(Q0&&z.req&&z.aborted)Y.nextTick(Y0);let v0=()=>{if(g=H,z.removeListener("aborted",F0),z.removeListener("complete",Z0),z.removeListener("abort",F0),z.removeListener("request",W0),z.req)z.req.removeListener("finish",Z0);z.removeListener("end",s),z.removeListener("close",s),z.removeListener("finish",Z0),z.removeListener("end",$0),z.removeListener("error",h),z.removeListener("close",F0)};if(T.signal&&!n){let I0=()=>{let K0=g;v0(),K0.call(z,new K(void 0,{cause:T.signal.reason}))};if(T.signal.aborted)Y.nextTick(I0);else{F=F||t6().addAbortListener;let K0=F(T.signal,I0),I$=g;g=j((...L0)=>{K0[y](),I$.apply(z,L0)})}}return v0}function S(z,T,g){let N=!1,c=H;if(T.signal)if(c=()=>{N=!0,g.call(z,new K(void 0,{cause:T.signal.reason}))},T.signal.aborted)Y.nextTick(c);else{F=F||t6().addAbortListener;let U0=F(T.signal,c),O0=g;g=j((...Q0)=>{U0[y](),O0.apply(z,Q0)})}let r=(...U0)=>{if(!N)Y.nextTick(()=>g.apply(z,U0))};return v(z[V].promise,r,r),H}function A(z,T){var g;let N=!1;if(T===null)T=M;if((g=T)!==null&&g!==void 0&&g.cleanup)_(T.cleanup,"cleanup"),N=T.cleanup;return new B((c,r)=>{let U0=P(z,T,(O0)=>{if(N)U0();if(O0)r(O0);else c()})})}J.exports=P,J.exports.finished=A}),NQ=XU((I,J)=>{var Y=QJ(),{aggregateTwoErrors:K,codes:{ERR_MULTIPLE_CALLBACK:X},AbortError:O}=w6(),{Symbol:Z}=yU(),{kIsDestroyed:M,isDestroyed:j,isFinished:q,isServerRequest:E}=KI(),C=Z("kDestroy"),_=Z("kConstruct");function B(G,V,F){if(G){if(G.stack,V&&!V.errored)V.errored=G;if(F&&!F.errored)F.errored=G}}function v(G,V){let F=this._readableState,W=this._writableState,H=W||F;if(W!==null&&W!==void 0&&W.destroyed||F!==null&&F!==void 0&&F.destroyed){if(typeof V==="function")V();return this}if(B(G,W,F),W)W.destroyed=!0;if(F)F.destroyed=!0;if(!H.constructed)this.once(C,function(P){y(this,K(P,G),V)});else y(this,G,V);return this}function y(G,V,F){let W=!1;function H(P){if(W)return;W=!0;let{_readableState:S,_writableState:A}=G;if(B(P,A,S),A)A.closed=!0;if(S)S.closed=!0;if(typeof F==="function")F(P);if(P)Y.nextTick(w,G,P);else Y.nextTick(b,G)}try{G._destroy(V||null,H)}catch(P){H(P)}}function w(G,V){x(G,V),b(G)}function b(G){let{_readableState:V,_writableState:F}=G;if(F)F.closeEmitted=!0;if(V)V.closeEmitted=!0;if(F!==null&&F!==void 0&&F.emitClose||V!==null&&V!==void 0&&V.emitClose)G.emit("close")}function x(G,V){let{_readableState:F,_writableState:W}=G;if(W!==null&&W!==void 0&&W.errorEmitted||F!==null&&F!==void 0&&F.errorEmitted)return;if(W)W.errorEmitted=!0;if(F)F.errorEmitted=!0;G.emit("error",V)}function u(){let G=this._readableState,V=this._writableState;if(G)G.constructed=!0,G.closed=!1,G.closeEmitted=!1,G.destroyed=!1,G.errored=null,G.errorEmitted=!1,G.reading=!1,G.ended=G.readable===!1,G.endEmitted=G.readable===!1;if(V)V.constructed=!0,V.destroyed=!1,V.closed=!1,V.closeEmitted=!1,V.errored=null,V.errorEmitted=!1,V.finalCalled=!1,V.prefinished=!1,V.ended=V.writable===!1,V.ending=V.writable===!1,V.finished=V.writable===!1}function p(G,V,F){let{_readableState:W,_writableState:H}=G;if(H!==null&&H!==void 0&&H.destroyed||W!==null&&W!==void 0&&W.destroyed)return this;if(W!==null&&W!==void 0&&W.autoDestroy||H!==null&&H!==void 0&&H.autoDestroy)G.destroy(V);else if(V){if(V.stack,H&&!H.errored)H.errored=V;if(W&&!W.errored)W.errored=V;if(F)Y.nextTick(x,G,V);else x(G,V)}}function d(G,V){if(typeof G._construct!=="function")return;let{_readableState:F,_writableState:W}=G;if(F)F.constructed=!1;if(W)W.constructed=!1;if(G.once(_,V),G.listenerCount(_)>1)return;Y.nextTick(a,G)}function a(G){let V=!1;function F(W){if(V){p(G,W!==null&&W!==void 0?W:new X);return}V=!0;let{_readableState:H,_writableState:P}=G,S=P||H;if(H)H.constructed=!0;if(P)P.constructed=!0;if(S.destroyed)G.emit(C,W);else if(W)p(G,W,!0);else Y.nextTick(H0,G)}try{G._construct((W)=>{Y.nextTick(F,W)})}catch(W){Y.nextTick(F,W)}}function H0(G){G.emit(_)}function M0(G){return(G===null||G===void 0?void 0:G.setHeader)&&typeof G.abort==="function"}function q0(G){G.emit("close")}function t(G,V){G.emit("error",V),Y.nextTick(q0,G)}function T0(G,V){if(!G||j(G))return;if(!V&&!q(G))V=new O;if(E(G))G.socket=null,G.destroy(V);else if(M0(G))G.abort();else if(M0(G.req))G.req.abort();else if(typeof G.destroy==="function")G.destroy(V);else if(typeof G.close==="function")G.close();else if(V)Y.nextTick(t,G,V);else Y.nextTick(q0,G);if(!G.destroyed)G[M]=!0}J.exports={construct:d,destroyer:T0,destroy:v,undestroy:u,errorOrDestroy:p}}),QD=XU((I,J)=>{var{ArrayIsArray:Y,ObjectSetPrototypeOf:K}=yU(),{EventEmitter:X}=(BQ(),j$(jQ));function O(M){X.call(this,M)}K(O.prototype,X.prototype),K(O,X),O.prototype.pipe=function(M,j){let q=this;function E(b){if(M.writable&&M.write(b)===!1&&q.pause)q.pause()}q.on("data",E);function C(){if(q.readable&&q.resume)q.resume()}if(M.on("drain",C),!M._isStdio&&(!j||j.end!==!1))q.on("end",B),q.on("close",v);let _=!1;function B(){if(_)return;_=!0,M.end()}function v(){if(_)return;if(_=!0,typeof M.destroy==="function")M.destroy()}function y(b){if(w(),X.listenerCount(this,"error")===0)this.emit("error",b)}Z(q,"error",y),Z(M,"error",y);function w(){q.removeListener("data",E),M.removeListener("drain",C),q.removeListener("end",B),q.removeListener("close",v),q.removeListener("error",y),M.removeListener("error",y),q.removeListener("end",w),q.removeListener("close",w),M.removeListener("close",w)}return q.on("end",w),q.on("close",w),M.on("close",w),M.emit("pipe",q),M};function Z(M,j,q){if(typeof M.prependListener==="function")return M.prependListener(j,q);if(!M._events||!M._events[j])M.on(j,q);else if(Y(M._events[j]))M._events[j].unshift(q);else M._events[j]=[q,M._events[j]]}J.exports={Stream:O,prependListener:Z}}),HO=XU((I,J)=>{var{SymbolDispose:Y}=yU(),{AbortError:K,codes:X}=w6(),{isNodeStream:O,isWebStream:Z,kControllerErrorFunction:M}=KI(),j=JX(),{ERR_INVALID_ARG_TYPE:q}=X,E,C=(_,B)=>{if(typeof _!=="object"||!("aborted"in _))throw new q(B,"AbortSignal",_)};J.exports.addAbortSignal=function(_,B){if(C(_,"signal"),!O(B)&&!Z(B))throw new q("stream",["ReadableStream","WritableStream","Stream"],B);return J.exports.addAbortSignalNoValidate(_,B)},J.exports.addAbortSignalNoValidate=function(_,B){if(typeof _!=="object"||!("aborted"in _))return B;let v=O(B)?()=>{B.destroy(new K(void 0,{cause:_.reason}))}:()=>{B[M](new K(void 0,{cause:_.reason}))};if(_.aborted)v();else{E=E||t6().addAbortListener;let y=E(_,v);j(B,y[Y])}return B}}),ag=XU((I,J)=>{var{StringPrototypeSlice:Y,SymbolIterator:K,TypedArrayPrototypeSet:X,Uint8Array:O}=yU(),{Buffer:Z}=(iU(),j$(oU)),{inspect:M}=t6();J.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(j){let q={data:j,next:null};if(this.length>0)this.tail.next=q;else this.head=q;this.tail=q,++this.length}unshift(j){let q={data:j,next:this.head};if(this.length===0)this.tail=q;this.head=q,++this.length}shift(){if(this.length===0)return;let j=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,j}clear(){this.head=this.tail=null,this.length=0}join(j){if(this.length===0)return"";let q=this.head,E=""+q.data;while((q=q.next)!==null)E+=j+q.data;return E}concat(j){if(this.length===0)return Z.alloc(0);let q=Z.allocUnsafe(j>>>0),E=this.head,C=0;while(E)X(q,E.data,C),C+=E.data.length,E=E.next;return q}consume(j,q){let E=this.head.data;if(j<E.length){let C=E.slice(0,j);return this.head.data=E.slice(j),C}if(j===E.length)return this.shift();return q?this._getString(j):this._getBuffer(j)}first(){return this.head.data}*[K](){for(let j=this.head;j;j=j.next)yield j.data}_getString(j){let q="",E=this.head,C=0;do{let _=E.data;if(j>_.length)q+=_,j-=_.length;else{if(j===_.length)if(q+=_,++C,E.next)this.head=E.next;else this.head=this.tail=null;else q+=Y(_,0,j),this.head=E,E.data=Y(_,j);break}++C}while((E=E.next)!==null);return this.length-=C,q}_getBuffer(j){let q=Z.allocUnsafe(j),E=j,C=this.head,_=0;do{let B=C.data;if(j>B.length)X(q,B,E-j),j-=B.length;else{if(j===B.length)if(X(q,B,E-j),++_,C.next)this.head=C.next;else this.head=this.tail=null;else X(q,new O(B.buffer,B.byteOffset,j),E-j),this.head=C,C.data=B.slice(j);break}++_}while((C=C.next)!==null);return this.length-=_,q}[Symbol.for("nodejs.util.inspect.custom")](j,q){return M(this,{...q,depth:0,customInspect:!1})}}}),FO=XU((I,J)=>{var{MathFloor:Y,NumberIsInteger:K}=yU(),{validateInteger:X}=aG(),{ERR_INVALID_ARG_VALUE:O}=w6().codes,Z=16384,M=16;function j(_,B,v){return _.highWaterMark!=null?_.highWaterMark:B?_[v]:null}function q(_){return _?M:Z}function E(_,B){if(X(B,"value",0),_)M=B;else Z=B}function C(_,B,v,y){let w=j(B,y,v);if(w!=null){if(!K(w)||w<0){let b=y?`options.${v}`:"options.highWaterMark";throw new O(b,w)}return Y(w)}return q(_.objectMode)}J.exports={getHighWaterMark:C,getDefaultHighWaterMark:q,setDefaultHighWaterMark:E}}),sg=XU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(iU(),j$(oU)),K=Y.Buffer;function X(Z,M){for(var j in Z)M[j]=Z[j]}if(K.from&&K.alloc&&K.allocUnsafe&&K.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=O;function O(Z,M,j){return K(Z,M,j)}O.prototype=Object.create(K.prototype),X(K,O),O.from=function(Z,M,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return K(Z,M,j)},O.alloc=function(Z,M,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var q=K(Z);if(M!==void 0)if(typeof j==="string")q.fill(M,j);else q.fill(M);else q.fill(0);return q},O.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return K(Z)},O.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),eg=XU((I)=>{var J=sg().Buffer,Y=J.isEncoding||function(x){switch(x=""+x,x&&x.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function K(x){if(!x)return"utf8";var u;while(!0)switch(x){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return x;default:if(u)return;x=(""+x).toLowerCase(),u=!0}}function X(x){var u=K(x);if(typeof u!=="string"&&(J.isEncoding===Y||!Y(x)))throw Error("Unknown encoding: "+x);return u||x}I.StringDecoder=O;function O(x){this.encoding=X(x);var u;switch(this.encoding){case"utf16le":this.text=_,this.end=B,u=4;break;case"utf8":this.fillLast=q,u=4;break;case"base64":this.text=v,this.end=y,u=3;break;default:this.write=w,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(u)}O.prototype.write=function(x){if(x.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(x),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<x.length)return u?u+this.text(x,p):this.text(x,p);return u||""},O.prototype.end=C,O.prototype.text=E,O.prototype.fillLast=function(x){if(this.lastNeed<=x.length)return x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,x.length),this.lastNeed-=x.length};function Z(x){if(x<=127)return 0;else if(x>>5===6)return 2;else if(x>>4===14)return 3;else if(x>>3===30)return 4;return x>>6===2?-1:-2}function M(x,u,p){var d=u.length-1;if(d<p)return 0;var a=Z(u[d]);if(a>=0){if(a>0)x.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)x.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)if(a===2)a=0;else x.lastNeed=a-3;return a}return 0}function j(x,u,p){if((u[0]&192)!==128)return x.lastNeed=0,"�";if(x.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return x.lastNeed=1,"�";if(x.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return x.lastNeed=2,"�"}}}function q(x){var u=this.lastTotal-this.lastNeed,p=j(this,x,u);if(p!==void 0)return p;if(this.lastNeed<=x.length)return x.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,u,0,x.length),this.lastNeed-=x.length}function E(x,u){var p=M(this,x,u);if(!this.lastNeed)return x.toString("utf8",u);this.lastTotal=p;var d=x.length-(p-this.lastNeed);return x.copy(this.lastChar,0,d),x.toString("utf8",u,d)}function C(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+"�";return u}function _(x,u){if((x.length-u)%2===0){var p=x.toString("utf16le",u);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=x[x.length-1],x.toString("utf16le",u,x.length-1)}function B(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function v(x,u){var p=(x.length-u)%3;if(p===0)return x.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=x[x.length-1];else this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1];return x.toString("base64",u,x.length-p)}function y(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(x){return x.toString(this.encoding)}function b(x){return x&&x.length?this.write(x):""}}),RE=XU((I,J)=>{var Y=QJ(),{PromisePrototypeThen:K,SymbolAsyncIterator:X,SymbolIterator:O}=yU(),{Buffer:Z}=(iU(),j$(oU)),{ERR_INVALID_ARG_TYPE:M,ERR_STREAM_NULL_VALUES:j}=w6().codes;function q(E,C,_){let B;if(typeof C==="string"||C instanceof Z)return new E({objectMode:!0,..._,read(){this.push(C),this.push(null)}});let v;if(C&&C[X])v=!0,B=C[X]();else if(C&&C[O])v=!1,B=C[O]();else throw new M("iterable",["Iterable"],C);let y=new E({objectMode:!0,highWaterMark:1,..._}),w=!1;y._read=function(){if(!w)w=!0,x()},y._destroy=function(u,p){K(b(u),()=>Y.nextTick(p,u),(d)=>Y.nextTick(p,d||u))};async function b(u){let p=u!==void 0&&u!==null,d=typeof B.throw==="function";if(p&&d){let{value:a,done:H0}=await B.throw(u);if(await a,H0)return}if(typeof B.return==="function"){let{value:a}=await B.return();await a}}async function x(){for(;;){try{let{value:u,done:p}=v?await B.next():B.next();if(p)y.push(null);else{let d=u&&typeof u.then==="function"?await u:u;if(d===null)throw w=!1,new j;else if(y.push(d))continue;else w=!1}}catch(u){y.destroy(u)}break}}return y}J.exports=q}),MO=XU((I,J)=>{var Y=QJ(),{ArrayPrototypeIndexOf:K,NumberIsInteger:X,NumberIsNaN:O,NumberParseInt:Z,ObjectDefineProperties:M,ObjectKeys:j,ObjectSetPrototypeOf:q,Promise:E,SafeSet:C,SymbolAsyncDispose:_,SymbolAsyncIterator:B,Symbol:v}=yU();J.exports=L0,L0.ReadableState=I$;var{EventEmitter:y}=(BQ(),j$(jQ)),{Stream:w,prependListener:b}=QD(),{Buffer:x}=(iU(),j$(oU)),{addAbortSignal:u}=HO(),p=JX(),d=t6().debuglog("stream",(i)=>{d=i}),a=ag(),H0=NQ(),{getHighWaterMark:M0,getDefaultHighWaterMark:q0}=FO(),{aggregateTwoErrors:t,codes:{ERR_INVALID_ARG_TYPE:T0,ERR_METHOD_NOT_IMPLEMENTED:G,ERR_OUT_OF_RANGE:V,ERR_STREAM_PUSH_AFTER_EOF:F,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:W},AbortError:H}=w6(),{validateObject:P}=aG(),S=v("kPaused"),{StringDecoder:A}=eg(),z=RE();q(L0.prototype,w.prototype),q(L0,w);var T=()=>{},{errorOrDestroy:g}=H0,N=1,c=2,r=4,U0=8,O0=16,Q0=32,s=64,e=128,J0=256,Z0=512,A0=1024,$0=2048,h=4096,n=8192,F0=16384,Y0=32768,W0=65536,v0=131072,I0=262144;function K0(i){return{enumerable:!1,get(){return(this.state&i)!==0},set(G0){if(G0)this.state|=i;else this.state&=~i}}}M(I$.prototype,{objectMode:K0(N),ended:K0(c),endEmitted:K0(r),reading:K0(U0),constructed:K0(O0),sync:K0(Q0),needReadable:K0(s),emittedReadable:K0(e),readableListening:K0(J0),resumeScheduled:K0(Z0),errorEmitted:K0(A0),emitClose:K0($0),autoDestroy:K0(h),destroyed:K0(n),closed:K0(F0),closeEmitted:K0(Y0),multiAwaitDrain:K0(W0),readingMore:K0(v0),dataEmitted:K0(I0)});function I$(i,G0,_0){if(typeof _0!=="boolean")_0=G0 instanceof OI();if(this.state=$0|h|O0|Q0,i&&i.objectMode)this.state|=N;if(_0&&i&&i.readableObjectMode)this.state|=N;if(this.highWaterMark=i?M0(this,i,"readableHighWaterMark",_0):q0(!1),this.buffer=new a,this.length=0,this.pipes=[],this.flowing=null,this[S]=null,i&&i.emitClose===!1)this.state&=~$0;if(i&&i.autoDestroy===!1)this.state&=~h;if(this.errored=null,this.defaultEncoding=i&&i.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,i&&i.encoding)this.decoder=new A(i.encoding),this.encoding=i.encoding}function L0(i){if(!(this instanceof L0))return new L0(i);let G0=this instanceof OI();if(this._readableState=new I$(i,this,G0),i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!G0)u(i.signal,this)}w.call(this,i),H0.construct(this,()=>{if(this._readableState.needReadable)t0(this,this._readableState)})}L0.prototype.destroy=H0.destroy,L0.prototype._undestroy=H0.undestroy,L0.prototype._destroy=function(i,G0){G0(i)},L0.prototype[y.captureRejectionSymbol]=function(i){this.destroy(i)},L0.prototype[_]=function(){let i;if(!this.destroyed)i=this.readableEnded?null:new H,this.destroy(i);return new E((G0,_0)=>p(this,(E0)=>E0&&E0!==i?_0(E0):G0(null)))},L0.prototype.push=function(i,G0){return B0(this,i,G0,!1)},L0.prototype.unshift=function(i,G0){return B0(this,i,G0,!0)};function B0(i,G0,_0,E0){d("readableAddChunk",G0);let O$=i._readableState,n0;if((O$.state&N)===0){if(typeof G0==="string"){if(_0=_0||O$.defaultEncoding,O$.encoding!==_0)if(E0&&O$.encoding)G0=x.from(G0,_0).toString(O$.encoding);else G0=x.from(G0,_0),_0=""}else if(G0 instanceof x)_0="";else if(w._isUint8Array(G0))G0=w._uint8ArrayToBuffer(G0),_0="";else if(G0!=null)n0=new T0("chunk",["string","Buffer","Uint8Array"],G0)}if(n0)g(i,n0);else if(G0===null)O$.state&=~U0,c0(i,O$);else if((O$.state&N)!==0||G0&&G0.length>0)if(E0)if((O$.state&r)!==0)g(i,new W);else if(O$.destroyed||O$.errored)return!1;else L$(i,O$,G0,!0);else if(O$.ended)g(i,new F);else if(O$.destroyed||O$.errored)return!1;else if(O$.state&=~U0,O$.decoder&&!_0)if(G0=O$.decoder.write(G0),O$.objectMode||G0.length!==0)L$(i,O$,G0,!1);else t0(i,O$);else L$(i,O$,G0,!1);else if(!E0)O$.state&=~U0,t0(i,O$);return!O$.ended&&(O$.length<O$.highWaterMark||O$.length===0)}function L$(i,G0,_0,E0){if(G0.flowing&&G0.length===0&&!G0.sync&&i.listenerCount("data")>0){if((G0.state&W0)!==0)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;G0.dataEmitted=!0,i.emit("data",_0)}else{if(G0.length+=G0.objectMode?1:_0.length,E0)G0.buffer.unshift(_0);else G0.buffer.push(_0);if((G0.state&s)!==0)h0(i)}t0(i,G0)}L0.prototype.isPaused=function(){let i=this._readableState;return i[S]===!0||i.flowing===!1},L0.prototype.setEncoding=function(i){let G0=new A(i);this._readableState.decoder=G0,this._readableState.encoding=this._readableState.decoder.encoding;let _0=this._readableState.buffer,E0="";for(let O$ of _0)E0+=G0.write(O$);if(_0.clear(),E0!=="")_0.push(E0);return this._readableState.length=E0.length,this};var m0=1073741824;function p0(i){if(i>m0)throw new V("size","<= 1GiB",i);else i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++;return i}function i$(i,G0){if(i<=0||G0.length===0&&G0.ended)return 0;if((G0.state&N)!==0)return 1;if(O(i)){if(G0.flowing&&G0.length)return G0.buffer.first().length;return G0.length}if(i<=G0.length)return i;return G0.ended?G0.length:0}L0.prototype.read=function(i){if(d("read",i),i===void 0)i=NaN;else if(!X(i))i=Z(i,10);let G0=this._readableState,_0=i;if(i>G0.highWaterMark)G0.highWaterMark=p0(i);if(i!==0)G0.state&=~e;if(i===0&&G0.needReadable&&((G0.highWaterMark!==0?G0.length>=G0.highWaterMark:G0.length>0)||G0.ended)){if(d("read: emitReadable",G0.length,G0.ended),G0.length===0&&G0.ended)V$(this);else h0(this);return null}if(i=i$(i,G0),i===0&&G0.ended){if(G0.length===0)V$(this);return null}let E0=(G0.state&s)!==0;if(d("need readable",E0),G0.length===0||G0.length-i<G0.highWaterMark)E0=!0,d("length less than watermark",E0);if(G0.ended||G0.reading||G0.destroyed||G0.errored||!G0.constructed)E0=!1,d("reading, ended or constructing",E0);else if(E0){if(d("do read"),G0.state|=U0|Q0,G0.length===0)G0.state|=s;try{this._read(G0.highWaterMark)}catch(n0){g(this,n0)}if(G0.state&=~Q0,!G0.reading)i=i$(_0,G0)}let O$;if(i>0)O$=y0(i,G0);else O$=null;if(O$===null)G0.needReadable=G0.length<=G0.highWaterMark,i=0;else if(G0.length-=i,G0.multiAwaitDrain)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;if(G0.length===0){if(!G0.ended)G0.needReadable=!0;if(_0!==i&&G0.ended)V$(this)}if(O$!==null&&!G0.errorEmitted&&!G0.closeEmitted)G0.dataEmitted=!0,this.emit("data",O$);return O$};function c0(i,G0){if(d("onEofChunk"),G0.ended)return;if(G0.decoder){let _0=G0.decoder.end();if(_0&&_0.length)G0.buffer.push(_0),G0.length+=G0.objectMode?1:_0.length}if(G0.ended=!0,G0.sync)h0(i);else G0.needReadable=!1,G0.emittedReadable=!0,QU(i)}function h0(i){let G0=i._readableState;if(d("emitReadable",G0.needReadable,G0.emittedReadable),G0.needReadable=!1,!G0.emittedReadable)d("emitReadable",G0.flowing),G0.emittedReadable=!0,Y.nextTick(QU,i)}function QU(i){let G0=i._readableState;if(d("emitReadable_",G0.destroyed,G0.length,G0.ended),!G0.destroyed&&!G0.errored&&(G0.length||G0.ended))i.emit("readable"),G0.emittedReadable=!1;G0.needReadable=!G0.flowing&&!G0.ended&&G0.length<=G0.highWaterMark,N0(i)}function t0(i,G0){if(!G0.readingMore&&G0.constructed)G0.readingMore=!0,Y.nextTick(i0,i,G0)}function i0(i,G0){while(!G0.reading&&!G0.ended&&(G0.length<G0.highWaterMark||G0.flowing&&G0.length===0)){let _0=G0.length;if(d("maybeReadMore read 0"),i.read(0),_0===G0.length)break}G0.readingMore=!1}L0.prototype._read=function(i){throw new G("_read()")},L0.prototype.pipe=function(i,G0){let _0=this,E0=this._readableState;if(E0.pipes.length===1){if(!E0.multiAwaitDrain)E0.multiAwaitDrain=!0,E0.awaitDrainWriters=new C(E0.awaitDrainWriters?[E0.awaitDrainWriters]:[])}E0.pipes.push(i),d("pipe count=%d opts=%j",E0.pipes.length,G0);let O$=(!G0||G0.end!==!1)&&i!==Y.stdout&&i!==Y.stderr?a0:S$;if(E0.endEmitted)Y.nextTick(O$);else _0.once("end",O$);i.on("unpipe",n0);function n0($U,d$){if(d("onunpipe"),$U===_0){if(d$&&d$.hasUnpiped===!1)d$.hasUnpiped=!0,U$()}}function a0(){d("onend"),i.end()}let MU,X$=!1;function U$(){if(d("cleanup"),i.removeListener("close",_U),i.removeListener("finish",B$),MU)i.removeListener("drain",MU);if(i.removeListener("error",$$),i.removeListener("unpipe",n0),_0.removeListener("end",a0),_0.removeListener("end",S$),_0.removeListener("data",J$),X$=!0,MU&&E0.awaitDrainWriters&&(!i._writableState||i._writableState.needDrain))MU()}function e$(){if(!X$){if(E0.pipes.length===1&&E0.pipes[0]===i)d("false write response, pause",0),E0.awaitDrainWriters=i,E0.multiAwaitDrain=!1;else if(E0.pipes.length>1&&E0.pipes.includes(i))d("false write response, pause",E0.awaitDrainWriters.size),E0.awaitDrainWriters.add(i);_0.pause()}if(!MU)MU=RU(_0,i),i.on("drain",MU)}_0.on("data",J$);function J$($U){d("ondata");let d$=i.write($U);if(d("dest.write",d$),d$===!1)e$()}function $$($U){if(d("onerror",$U),S$(),i.removeListener("error",$$),i.listenerCount("error")===0){let d$=i._writableState||i._readableState;if(d$&&!d$.errorEmitted)g(i,$U);else i.emit("error",$U)}}b(i,"error",$$);function _U(){i.removeListener("finish",B$),S$()}i.once("close",_U);function B$(){d("onfinish"),i.removeListener("close",_U),S$()}i.once("finish",B$);function S$(){d("unpipe"),_0.unpipe(i)}if(i.emit("pipe",_0),i.writableNeedDrain===!0)e$();else if(!E0.flowing)d("pipe resume"),_0.resume();return i};function RU(i,G0){return function(){let _0=i._readableState;if(_0.awaitDrainWriters===G0)d("pipeOnDrain",1),_0.awaitDrainWriters=null;else if(_0.multiAwaitDrain)d("pipeOnDrain",_0.awaitDrainWriters.size),_0.awaitDrainWriters.delete(G0);if((!_0.awaitDrainWriters||_0.awaitDrainWriters.size===0)&&i.listenerCount("data"))i.resume()}}L0.prototype.unpipe=function(i){let G0=this._readableState,_0={hasUnpiped:!1};if(G0.pipes.length===0)return this;if(!i){let O$=G0.pipes;G0.pipes=[],this.pause();for(let n0=0;n0<O$.length;n0++)O$[n0].emit("unpipe",this,{hasUnpiped:!1});return this}let E0=K(G0.pipes,i);if(E0===-1)return this;if(G0.pipes.splice(E0,1),G0.pipes.length===0)this.pause();return i.emit("unpipe",this,_0),this},L0.prototype.on=function(i,G0){let _0=w.prototype.on.call(this,i,G0),E0=this._readableState;if(i==="data"){if(E0.readableListening=this.listenerCount("readable")>0,E0.flowing!==!1)this.resume()}else if(i==="readable"){if(!E0.endEmitted&&!E0.readableListening){if(E0.readableListening=E0.needReadable=!0,E0.flowing=!1,E0.emittedReadable=!1,d("on readable",E0.length,E0.reading),E0.length)h0(this);else if(!E0.reading)Y.nextTick(X0,this)}}return _0},L0.prototype.addListener=L0.prototype.on,L0.prototype.removeListener=function(i,G0){let _0=w.prototype.removeListener.call(this,i,G0);if(i==="readable")Y.nextTick(m,this);return _0},L0.prototype.off=L0.prototype.removeListener,L0.prototype.removeAllListeners=function(i){let G0=w.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===void 0)Y.nextTick(m,this);return G0};function m(i){let G0=i._readableState;if(G0.readableListening=i.listenerCount("readable")>0,G0.resumeScheduled&&G0[S]===!1)G0.flowing=!0;else if(i.listenerCount("data")>0)i.resume();else if(!G0.readableListening)G0.flowing=null}function X0(i){d("readable nexttick read 0"),i.read(0)}L0.prototype.resume=function(){let i=this._readableState;if(!i.flowing)d("resume"),i.flowing=!i.readableListening,e0(this,i);return i[S]=!1,this};function e0(i,G0){if(!G0.resumeScheduled)G0.resumeScheduled=!0,Y.nextTick(S0,i,G0)}function S0(i,G0){if(d("resume",G0.reading),!G0.reading)i.read(0);if(G0.resumeScheduled=!1,i.emit("resume"),N0(i),G0.flowing&&!G0.reading)i.read(0)}L0.prototype.pause=function(){if(d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)d("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[S]=!0,this};function N0(i){let G0=i._readableState;d("flow",G0.flowing);while(G0.flowing&&i.read()!==null);}L0.prototype.wrap=function(i){let G0=!1;i.on("data",(E0)=>{if(!this.push(E0)&&i.pause)G0=!0,i.pause()}),i.on("end",()=>{this.push(null)}),i.on("error",(E0)=>{g(this,E0)}),i.on("close",()=>{this.destroy()}),i.on("destroy",()=>{this.destroy()}),this._read=()=>{if(G0&&i.resume)G0=!1,i.resume()};let _0=j(i);for(let E0=1;E0<_0.length;E0++){let O$=_0[E0];if(this[O$]===void 0&&typeof i[O$]==="function")this[O$]=i[O$].bind(i)}return this},L0.prototype[B]=function(){return F$(this)},L0.prototype.iterator=function(i){if(i!==void 0)P(i,"options");return F$(this,i)};function F$(i,G0){if(typeof i.read!=="function")i=L0.wrap(i,{objectMode:!0});let _0=x0(i,G0);return _0.stream=i,_0}async function*x0(i,G0){let _0=T;function E0(a0){if(this===i)_0(),_0=T;else _0=a0}i.on("readable",E0);let O$,n0=p(i,{writable:!1},(a0)=>{O$=a0?t(O$,a0):null,_0(),_0=T});try{while(!0){let a0=i.destroyed?null:i.read();if(a0!==null)yield a0;else if(O$)throw O$;else if(O$===null)return;else await new E(E0)}}catch(a0){throw O$=t(O$,a0),O$}finally{if((O$||(G0===null||G0===void 0?void 0:G0.destroyOnReturn)!==!1)&&(O$===void 0||i._readableState.autoDestroy))H0.destroyer(i,null);else i.off("readable",E0),n0()}}M(L0.prototype,{readable:{__proto__:null,get(){let i=this._readableState;return!!i&&i.readable!==!1&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState)this._readableState.readable=!!i}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState)this._readableState.flowing=i}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(i){if(!this._readableState)return;this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),M(I$.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[S]!==!1},set(i){this[S]=!!i}}}),L0._fromList=y0;function y0(i,G0){if(G0.length===0)return null;let _0;if(G0.objectMode)_0=G0.buffer.shift();else if(!i||i>=G0.length){if(G0.decoder)_0=G0.buffer.join("");else if(G0.buffer.length===1)_0=G0.buffer.first();else _0=G0.buffer.concat(G0.length);G0.buffer.clear()}else _0=G0.buffer.consume(i,G0.decoder);return _0}function V$(i){let G0=i._readableState;if(d("endReadable",G0.endEmitted),!G0.endEmitted)G0.ended=!0,Y.nextTick(o0,G0,i)}function o0(i,G0){if(d("endReadableNT",i.endEmitted,i.length),!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){if(i.endEmitted=!0,G0.emit("end"),G0.writable&&G0.allowHalfOpen===!1)Y.nextTick(r0,G0);else if(i.autoDestroy){let _0=G0._writableState;if(!_0||_0.autoDestroy&&(_0.finished||_0.writable===!1))G0.destroy()}}}function r0(i){if(i.writable&&!i.writableEnded&&!i.destroyed)i.end()}L0.from=function(i,G0){return z(L0,i,G0)};var WU;function s0(){if(WU===void 0)WU={};return WU}L0.fromWeb=function(i,G0){return s0().newStreamReadableFromReadableStream(i,G0)},L0.toWeb=function(i,G0){return s0().newReadableStreamFromStreamReadable(i,G0)},L0.wrap=function(i,G0){var _0,E0;return new L0({objectMode:(_0=(E0=i.readableObjectMode)!==null&&E0!==void 0?E0:i.objectMode)!==null&&_0!==void 0?_0:!0,...G0,destroy(O$,n0){H0.destroyer(i,O$),n0(O$)}}).wrap(i)}}),YD=XU((I,J)=>{var Y=QJ(),{ArrayPrototypeSlice:K,Error:X,FunctionPrototypeSymbolHasInstance:O,ObjectDefineProperty:Z,ObjectDefineProperties:M,ObjectSetPrototypeOf:j,StringPrototypeToLowerCase:q,Symbol:E,SymbolHasInstance:C}=yU();J.exports=P,P.WritableState=W;var{EventEmitter:_}=(BQ(),j$(jQ)),B=QD().Stream,{Buffer:v}=(iU(),j$(oU)),y=NQ(),{addAbortSignal:w}=HO(),{getHighWaterMark:b,getDefaultHighWaterMark:x}=FO(),{ERR_INVALID_ARG_TYPE:u,ERR_METHOD_NOT_IMPLEMENTED:p,ERR_MULTIPLE_CALLBACK:d,ERR_STREAM_CANNOT_PIPE:a,ERR_STREAM_DESTROYED:H0,ERR_STREAM_ALREADY_FINISHED:M0,ERR_STREAM_NULL_VALUES:q0,ERR_STREAM_WRITE_AFTER_END:t,ERR_UNKNOWN_ENCODING:T0}=w6().codes,{errorOrDestroy:G}=y;j(P.prototype,B.prototype),j(P,B);function V(){}var F=E("kOnFinished");function W(h,n,F0){if(typeof F0!=="boolean")F0=n instanceof OI();if(this.objectMode=!!(h&&h.objectMode),F0)this.objectMode=this.objectMode||!!(h&&h.writableObjectMode);this.highWaterMark=h?b(this,h,"writableHighWaterMark",F0):x(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let Y0=!!(h&&h.decodeStrings===!1);this.decodeStrings=!Y0,this.defaultEncoding=h&&h.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=g.bind(void 0,n),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,H(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!h||h.emitClose!==!1,this.autoDestroy=!h||h.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[F]=[]}function H(h){h.buffered=[],h.bufferedIndex=0,h.allBuffers=!0,h.allNoop=!0}W.prototype.getBuffer=function(){return K(this.buffered,this.bufferedIndex)},Z(W.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function P(h){let n=this instanceof OI();if(!n&&!O(P,this))return new P(h);if(this._writableState=new W(h,this,n),h){if(typeof h.write==="function")this._write=h.write;if(typeof h.writev==="function")this._writev=h.writev;if(typeof h.destroy==="function")this._destroy=h.destroy;if(typeof h.final==="function")this._final=h.final;if(typeof h.construct==="function")this._construct=h.construct;if(h.signal)w(h.signal,this)}B.call(this,h),y.construct(this,()=>{let F0=this._writableState;if(!F0.writing)U0(this,F0);e(this,F0)})}Z(P,C,{__proto__:null,value:function(h){if(O(this,h))return!0;if(this!==P)return!1;return h&&h._writableState instanceof W}}),P.prototype.pipe=function(){G(this,new a)};function S(h,n,F0,Y0){let W0=h._writableState;if(typeof F0==="function")Y0=F0,F0=W0.defaultEncoding;else{if(!F0)F0=W0.defaultEncoding;else if(F0!=="buffer"&&!v.isEncoding(F0))throw new T0(F0);if(typeof Y0!=="function")Y0=V}if(n===null)throw new q0;else if(!W0.objectMode)if(typeof n==="string"){if(W0.decodeStrings!==!1)n=v.from(n,F0),F0="buffer"}else if(n instanceof v)F0="buffer";else if(B._isUint8Array(n))n=B._uint8ArrayToBuffer(n),F0="buffer";else throw new u("chunk",["string","Buffer","Uint8Array"],n);let v0;if(W0.ending)v0=new t;else if(W0.destroyed)v0=new H0("write");if(v0)return Y.nextTick(Y0,v0),G(h,v0,!0),v0;return W0.pendingcb++,A(h,W0,n,F0,Y0)}P.prototype.write=function(h,n,F0){return S(this,h,n,F0)===!0},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){let h=this._writableState;if(h.corked){if(h.corked--,!h.writing)U0(this,h)}},P.prototype.setDefaultEncoding=function(h){if(typeof h==="string")h=q(h);if(!v.isEncoding(h))throw new T0(h);return this._writableState.defaultEncoding=h,this};function A(h,n,F0,Y0,W0){let v0=n.objectMode?1:F0.length;n.length+=v0;let I0=n.length<n.highWaterMark;if(!I0)n.needDrain=!0;if(n.writing||n.corked||n.errored||!n.constructed){if(n.buffered.push({chunk:F0,encoding:Y0,callback:W0}),n.allBuffers&&Y0!=="buffer")n.allBuffers=!1;if(n.allNoop&&W0!==V)n.allNoop=!1}else n.writelen=v0,n.writecb=W0,n.writing=!0,n.sync=!0,h._write(F0,Y0,n.onwrite),n.sync=!1;return I0&&!n.errored&&!n.destroyed}function z(h,n,F0,Y0,W0,v0,I0){if(n.writelen=Y0,n.writecb=I0,n.writing=!0,n.sync=!0,n.destroyed)n.onwrite(new H0("write"));else if(F0)h._writev(W0,n.onwrite);else h._write(W0,v0,n.onwrite);n.sync=!1}function T(h,n,F0,Y0){--n.pendingcb,Y0(F0),r(n),G(h,F0)}function g(h,n){let F0=h._writableState,Y0=F0.sync,W0=F0.writecb;if(typeof W0!=="function"){G(h,new d);return}if(F0.writing=!1,F0.writecb=null,F0.length-=F0.writelen,F0.writelen=0,n){if(n.stack,!F0.errored)F0.errored=n;if(h._readableState&&!h._readableState.errored)h._readableState.errored=n;if(Y0)Y.nextTick(T,h,F0,n,W0);else T(h,F0,n,W0)}else{if(F0.buffered.length>F0.bufferedIndex)U0(h,F0);if(Y0)if(F0.afterWriteTickInfo!==null&&F0.afterWriteTickInfo.cb===W0)F0.afterWriteTickInfo.count++;else F0.afterWriteTickInfo={count:1,cb:W0,stream:h,state:F0},Y.nextTick(N,F0.afterWriteTickInfo);else c(h,F0,1,W0)}}function N({stream:h,state:n,count:F0,cb:Y0}){return n.afterWriteTickInfo=null,c(h,n,F0,Y0)}function c(h,n,F0,Y0){if(!n.ending&&!h.destroyed&&n.length===0&&n.needDrain)n.needDrain=!1,h.emit("drain");while(F0-- >0)n.pendingcb--,Y0();if(n.destroyed)r(n);e(h,n)}function r(h){if(h.writing)return;for(let W0=h.bufferedIndex;W0<h.buffered.length;++W0){var n;let{chunk:v0,callback:I0}=h.buffered[W0],K0=h.objectMode?1:v0.length;h.length-=K0,I0((n=h.errored)!==null&&n!==void 0?n:new H0("write"))}let F0=h[F].splice(0);for(let W0=0;W0<F0.length;W0++){var Y0;F0[W0]((Y0=h.errored)!==null&&Y0!==void 0?Y0:new H0("end"))}H(h)}function U0(h,n){if(n.corked||n.bufferProcessing||n.destroyed||!n.constructed)return;let{buffered:F0,bufferedIndex:Y0,objectMode:W0}=n,v0=F0.length-Y0;if(!v0)return;let I0=Y0;if(n.bufferProcessing=!0,v0>1&&h._writev){n.pendingcb-=v0-1;let K0=n.allNoop?V:(L0)=>{for(let B0=I0;B0<F0.length;++B0)F0[B0].callback(L0)},I$=n.allNoop&&I0===0?F0:K(F0,I0);I$.allBuffers=n.allBuffers,z(h,n,!0,n.length,I$,"",K0),H(n)}else{do{let{chunk:K0,encoding:I$,callback:L0}=F0[I0];F0[I0++]=null;let B0=W0?1:K0.length;z(h,n,!1,B0,K0,I$,L0)}while(I0<F0.length&&!n.writing);if(I0===F0.length)H(n);else if(I0>256)F0.splice(0,I0),n.bufferedIndex=0;else n.bufferedIndex=I0}n.bufferProcessing=!1}P.prototype._write=function(h,n,F0){if(this._writev)this._writev([{chunk:h,encoding:n}],F0);else throw new p("_write()")},P.prototype._writev=null,P.prototype.end=function(h,n,F0){let Y0=this._writableState;if(typeof h==="function")F0=h,h=null,n=null;else if(typeof n==="function")F0=n,n=null;let W0;if(h!==null&&h!==void 0){let v0=S(this,h,n);if(v0 instanceof X)W0=v0}if(Y0.corked)Y0.corked=1,this.uncork();if(W0);else if(!Y0.errored&&!Y0.ending)Y0.ending=!0,e(this,Y0,!0),Y0.ended=!0;else if(Y0.finished)W0=new M0("end");else if(Y0.destroyed)W0=new H0("end");if(typeof F0==="function")if(W0||Y0.finished)Y.nextTick(F0,W0);else Y0[F].push(F0);return this};function O0(h){return h.ending&&!h.destroyed&&h.constructed&&h.length===0&&!h.errored&&h.buffered.length===0&&!h.finished&&!h.writing&&!h.errorEmitted&&!h.closeEmitted}function Q0(h,n){let F0=!1;function Y0(W0){if(F0){G(h,W0!==null&&W0!==void 0?W0:d());return}if(F0=!0,n.pendingcb--,W0){let v0=n[F].splice(0);for(let I0=0;I0<v0.length;I0++)v0[I0](W0);G(h,W0,n.sync)}else if(O0(n))n.prefinished=!0,h.emit("prefinish"),n.pendingcb++,Y.nextTick(J0,h,n)}n.sync=!0,n.pendingcb++;try{h._final(Y0)}catch(W0){Y0(W0)}n.sync=!1}function s(h,n){if(!n.prefinished&&!n.finalCalled)if(typeof h._final==="function"&&!n.destroyed)n.finalCalled=!0,Q0(h,n);else n.prefinished=!0,h.emit("prefinish")}function e(h,n,F0){if(O0(n)){if(s(h,n),n.pendingcb===0){if(F0)n.pendingcb++,Y.nextTick((Y0,W0)=>{if(O0(W0))J0(Y0,W0);else W0.pendingcb--},h,n);else if(O0(n))n.pendingcb++,J0(h,n)}}}function J0(h,n){n.pendingcb--,n.finished=!0;let F0=n[F].splice(0);for(let Y0=0;Y0<F0.length;Y0++)F0[Y0]();if(h.emit("finish"),n.autoDestroy){let Y0=h._readableState;if(!Y0||Y0.autoDestroy&&(Y0.endEmitted||Y0.readable===!1))h.destroy()}}M(P.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(h){if(this._writableState)this._writableState.destroyed=h}},writable:{__proto__:null,get(){let h=this._writableState;return!!h&&h.writable!==!1&&!h.destroyed&&!h.errored&&!h.ending&&!h.ended},set(h){if(this._writableState)this._writableState.writable=!!h}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){let h=this._writableState;if(!h)return!1;return!h.destroyed&&!h.ending&&h.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var Z0=y.destroy;P.prototype.destroy=function(h,n){let F0=this._writableState;if(!F0.destroyed&&(F0.bufferedIndex<F0.buffered.length||F0[F].length))Y.nextTick(r,F0);return Z0.call(this,h,n),this},P.prototype._undestroy=y.undestroy,P.prototype._destroy=function(h,n){n(h)},P.prototype[_.captureRejectionSymbol]=function(h){this.destroy(h)};var A0;function $0(){if(A0===void 0)A0={};return A0}P.fromWeb=function(h,n){return $0().newStreamWritableFromWritableStream(h,n)},P.toWeb=function(h){return $0().newWritableStreamFromStreamWritable(h)}}),$w=XU((I,J)=>{var Y=QJ(),K=(iU(),j$(oU)),{isReadable:X,isWritable:O,isIterable:Z,isNodeStream:M,isReadableNodeStream:j,isWritableNodeStream:q,isDuplexNodeStream:E,isReadableStream:C,isWritableStream:_}=KI(),B=JX(),{AbortError:v,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:w}}=w6(),{destroyer:b}=NQ(),x=OI(),u=MO(),p=YD(),{createDeferredPromise:d}=t6(),a=RE(),H0=globalThis.Blob||K.Blob,M0=typeof H0<"u"?function(F){return F instanceof H0}:function(F){return!1},q0=globalThis.AbortController||tG().AbortController,{FunctionPrototypeCall:t}=yU();class T0 extends x{constructor(F){super(F);if((F===null||F===void 0?void 0:F.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if((F===null||F===void 0?void 0:F.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}J.exports=function F(W,H){if(E(W))return W;if(j(W))return V({readable:W});if(q(W))return V({writable:W});if(M(W))return V({writable:!1,readable:!1});if(C(W))return V({readable:u.fromWeb(W)});if(_(W))return V({writable:p.fromWeb(W)});if(typeof W==="function"){let{value:S,write:A,final:z,destroy:T}=G(W);if(Z(S))return a(T0,S,{objectMode:!0,write:A,final:z,destroy:T});let g=S===null||S===void 0?void 0:S.then;if(typeof g==="function"){let N,c=t(g,S,(r)=>{if(r!=null)throw new w("nully","body",r)},(r)=>{b(N,r)});return N=new T0({objectMode:!0,readable:!1,write:A,final(r){z(async()=>{try{await c,Y.nextTick(r,null)}catch(U0){Y.nextTick(r,U0)}})},destroy:T})}throw new w("Iterable, AsyncIterable or AsyncFunction",H,S)}if(M0(W))return F(W.arrayBuffer());if(Z(W))return a(T0,W,{objectMode:!0,writable:!1});if(C(W===null||W===void 0?void 0:W.readable)&&_(W===null||W===void 0?void 0:W.writable))return T0.fromWeb(W);if(typeof(W===null||W===void 0?void 0:W.writable)==="object"||typeof(W===null||W===void 0?void 0:W.readable)==="object"){let S=W!==null&&W!==void 0&&W.readable?j(W===null||W===void 0?void 0:W.readable)?W===null||W===void 0?void 0:W.readable:F(W.readable):void 0,A=W!==null&&W!==void 0&&W.writable?q(W===null||W===void 0?void 0:W.writable)?W===null||W===void 0?void 0:W.writable:F(W.writable):void 0;return V({readable:S,writable:A})}let P=W===null||W===void 0?void 0:W.then;if(typeof P==="function"){let S;return t(P,W,(A)=>{if(A!=null)S.push(A);S.push(null)},(A)=>{b(S,A)}),S=new T0({objectMode:!0,writable:!1,read(){}})}throw new y(H,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],W)};function G(F){let{promise:W,resolve:H}=d(),P=new q0,S=P.signal;return{value:F(async function*(){while(!0){let A=W;W=null;let{chunk:z,done:T,cb:g}=await A;if(Y.nextTick(g),T)return;if(S.aborted)throw new v(void 0,{cause:S.reason});({promise:W,resolve:H}=d()),yield z}}(),{signal:S}),write(A,z,T){let g=H;H=null,g({chunk:A,done:!1,cb:T})},final(A){let z=H;H=null,z({done:!0,cb:A})},destroy(A,z){P.abort(),z(A)}}}function V(F){let W=F.readable&&typeof F.readable.read!=="function"?u.wrap(F.readable):F.readable,H=F.writable,P=!!X(W),S=!!O(H),A,z,T,g,N;function c(r){let U0=g;if(g=null,U0)U0(r);else if(r)N.destroy(r)}if(N=new T0({readableObjectMode:!!(W!==null&&W!==void 0&&W.readableObjectMode),writableObjectMode:!!(H!==null&&H!==void 0&&H.writableObjectMode),readable:P,writable:S}),S)B(H,(r)=>{if(S=!1,r)b(W,r);c(r)}),N._write=function(r,U0,O0){if(H.write(r,U0))O0();else A=O0},N._final=function(r){H.end(),z=r},H.on("drain",function(){if(A){let r=A;A=null,r()}}),H.on("finish",function(){if(z){let r=z;z=null,r()}});if(P)B(W,(r)=>{if(P=!1,r)b(W,r);c(r)}),W.on("readable",function(){if(T){let r=T;T=null,r()}}),W.on("end",function(){N.push(null)}),N._read=function(){while(!0){let r=W.read();if(r===null){T=N._read;return}if(!N.push(r))return}};return N._destroy=function(r,U0){if(!r&&g!==null)r=new v;if(T=null,A=null,z=null,g===null)U0(r);else g=U0,b(H,r),b(W,r)},N}}),OI=XU((I,J)=>{var{ObjectDefineProperties:Y,ObjectGetOwnPropertyDescriptor:K,ObjectKeys:X,ObjectSetPrototypeOf:O}=yU();J.exports=j;var Z=MO(),M=YD();O(j.prototype,Z.prototype),O(j,Z);{let _=X(M.prototype);for(let B=0;B<_.length;B++){let v=_[B];if(!j.prototype[v])j.prototype[v]=M.prototype[v]}}function j(_){if(!(this instanceof j))return new j(_);if(Z.call(this,_),M.call(this,_),_){if(this.allowHalfOpen=_.allowHalfOpen!==!1,_.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(_.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}Y(j.prototype,{writable:{__proto__:null,...K(M.prototype,"writable")},writableHighWaterMark:{__proto__:null,...K(M.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...K(M.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...K(M.prototype,"writableBuffer")},writableLength:{__proto__:null,...K(M.prototype,"writableLength")},writableFinished:{__proto__:null,...K(M.prototype,"writableFinished")},writableCorked:{__proto__:null,...K(M.prototype,"writableCorked")},writableEnded:{__proto__:null,...K(M.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...K(M.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set(_){if(this._readableState&&this._writableState)this._readableState.destroyed=_,this._writableState.destroyed=_}}});var q;function E(){if(q===void 0)q={};return q}j.fromWeb=function(_,B){return E().newStreamDuplexFromReadableWritablePair(_,B)},j.toWeb=function(_){return E().newReadableWritablePairFromDuplex(_)};var C;j.from=function(_){if(!C)C=$w();return C(_,"body")}}),_E=XU((I,J)=>{var{ObjectSetPrototypeOf:Y,Symbol:K}=yU();J.exports=j;var{ERR_METHOD_NOT_IMPLEMENTED:X}=w6().codes,O=OI(),{getHighWaterMark:Z}=FO();Y(j.prototype,O.prototype),Y(j,O);var M=K("kCallback");function j(C){if(!(this instanceof j))return new j(C);let _=C?Z(this,C,"readableHighWaterMark",!0):null;if(_===0)C={...C,highWaterMark:null,readableHighWaterMark:_,writableHighWaterMark:C.writableHighWaterMark||0};if(O.call(this,C),this._readableState.sync=!1,this[M]=null,C){if(typeof C.transform==="function")this._transform=C.transform;if(typeof C.flush==="function")this._flush=C.flush}this.on("prefinish",E)}function q(C){if(typeof this._flush==="function"&&!this.destroyed)this._flush((_,B)=>{if(_){if(C)C(_);else this.destroy(_);return}if(B!=null)this.push(B);if(this.push(null),C)C()});else if(this.push(null),C)C()}function E(){if(this._final!==q)q.call(this)}j.prototype._final=q,j.prototype._transform=function(C,_,B){throw new X("_transform()")},j.prototype._write=function(C,_,B){let v=this._readableState,y=this._writableState,w=v.length;this._transform(C,_,(b,x)=>{if(b){B(b);return}if(x!=null)this.push(x);if(y.ended||w===v.length||v.length<v.highWaterMark)B();else this[M]=B})},j.prototype._read=function(){if(this[M]){let C=this[M];this[M]=null,C()}}}),qE=XU((I,J)=>{var{ObjectSetPrototypeOf:Y}=yU();J.exports=X;var K=_E();Y(X.prototype,K.prototype),Y(X,K);function X(O){if(!(this instanceof X))return new X(O);K.call(this,O)}X.prototype._transform=function(O,Z,M){M(null,O)}}),GD=XU((I,J)=>{var Y=QJ(),{ArrayIsArray:K,Promise:X,SymbolAsyncIterator:O,SymbolDispose:Z}=yU(),M=JX(),{once:j}=t6(),q=NQ(),E=OI(),{aggregateTwoErrors:C,codes:{ERR_INVALID_ARG_TYPE:_,ERR_INVALID_RETURN_VALUE:B,ERR_MISSING_ARGS:v,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:w},AbortError:b}=w6(),{validateFunction:x,validateAbortSignal:u}=aG(),{isIterable:p,isReadable:d,isReadableNodeStream:a,isNodeStream:H0,isTransformStream:M0,isWebStream:q0,isReadableStream:t,isReadableFinished:T0}=KI(),G=globalThis.AbortController||tG().AbortController,V,F,W;function H(r,U0,O0){let Q0=!1;r.on("close",()=>{Q0=!0});let s=M(r,{readable:U0,writable:O0},(e)=>{Q0=!e});return{destroy:(e)=>{if(Q0)return;Q0=!0,q.destroyer(r,e||new y("pipe"))},cleanup:s}}function P(r){return x(r[r.length-1],"streams[stream.length - 1]"),r.pop()}function S(r){if(p(r))return r;else if(a(r))return A(r);throw new _("val",["Readable","Iterable","AsyncIterable"],r)}async function*A(r){if(!F)F=MO();yield*F.prototype[O].call(r)}async function z(r,U0,O0,{end:Q0}){let s,e=null,J0=($0)=>{if($0)s=$0;if(e){let h=e;e=null,h()}},Z0=()=>new X(($0,h)=>{if(s)h(s);else e=()=>{if(s)h(s);else $0()}});U0.on("drain",J0);let A0=M(U0,{readable:!1},J0);try{if(U0.writableNeedDrain)await Z0();for await(let $0 of r)if(!U0.write($0))await Z0();if(Q0)U0.end(),await Z0();O0()}catch($0){O0(s!==$0?C(s,$0):$0)}finally{A0(),U0.off("drain",J0)}}async function T(r,U0,O0,{end:Q0}){if(M0(U0))U0=U0.writable;let s=U0.getWriter();try{for await(let e of r)await s.ready,s.write(e).catch(()=>{});if(await s.ready,Q0)await s.close();O0()}catch(e){try{await s.abort(e),O0(e)}catch(J0){O0(J0)}}}function g(...r){return N(r,j(P(r)))}function N(r,U0,O0){if(r.length===1&&K(r[0]))r=r[0];if(r.length<2)throw new v("streams");let Q0=new G,s=Q0.signal,e=O0===null||O0===void 0?void 0:O0.signal,J0=[];u(e,"options.signal");function Z0(){W0(new b)}W=W||t6().addAbortListener;let A0;if(e)A0=W(e,Z0);let $0,h,n=[],F0=0;function Y0(L0){W0(L0,--F0===0)}function W0(L0,B0){var L$;if(L0&&(!$0||$0.code==="ERR_STREAM_PREMATURE_CLOSE"))$0=L0;if(!$0&&!B0)return;while(n.length)n.shift()($0);if((L$=A0)===null||L$===void 0||L$[Z](),Q0.abort(),B0){if(!$0)J0.forEach((m0)=>m0());Y.nextTick(U0,$0,h)}}let v0;for(let L0=0;L0<r.length;L0++){let B0=r[L0],L$=L0<r.length-1,m0=L0>0,p0=L$||(O0===null||O0===void 0?void 0:O0.end)!==!1,i$=L0===r.length-1;if(H0(B0)){let c0=function(h0){if(h0&&h0.name!=="AbortError"&&h0.code!=="ERR_STREAM_PREMATURE_CLOSE")Y0(h0)};var I0=c0;if(p0){let{destroy:h0,cleanup:QU}=H(B0,L$,m0);if(n.push(h0),d(B0)&&i$)J0.push(QU)}if(B0.on("error",c0),d(B0)&&i$)J0.push(()=>{B0.removeListener("error",c0)})}if(L0===0)if(typeof B0==="function"){if(v0=B0({signal:s}),!p(v0))throw new B("Iterable, AsyncIterable or Stream","source",v0)}else if(p(B0)||a(B0)||M0(B0))v0=B0;else v0=E.from(B0);else if(typeof B0==="function"){if(M0(v0)){var K0;v0=S((K0=v0)===null||K0===void 0?void 0:K0.readable)}else v0=S(v0);if(v0=B0(v0,{signal:s}),L$){if(!p(v0,!0))throw new B("AsyncIterable",`transform[${L0-1}]`,v0)}else{var I$;if(!V)V=qE();let c0=new V({objectMode:!0}),h0=(I$=v0)===null||I$===void 0?void 0:I$.then;if(typeof h0==="function")F0++,h0.call(v0,(i0)=>{if(h=i0,i0!=null)c0.write(i0);if(p0)c0.end();Y.nextTick(Y0)},(i0)=>{c0.destroy(i0),Y.nextTick(Y0,i0)});else if(p(v0,!0))F0++,z(v0,c0,Y0,{end:p0});else if(t(v0)||M0(v0)){let i0=v0.readable||v0;F0++,z(i0,c0,Y0,{end:p0})}else throw new B("AsyncIterable or Promise","destination",v0);v0=c0;let{destroy:QU,cleanup:t0}=H(v0,!1,!0);if(n.push(QU),i$)J0.push(t0)}}else if(H0(B0)){if(a(v0)){F0+=2;let c0=c(v0,B0,Y0,{end:p0});if(d(B0)&&i$)J0.push(c0)}else if(M0(v0)||t(v0)){let c0=v0.readable||v0;F0++,z(c0,B0,Y0,{end:p0})}else if(p(v0))F0++,z(v0,B0,Y0,{end:p0});else throw new _("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v0);v0=B0}else if(q0(B0)){if(a(v0))F0++,T(S(v0),B0,Y0,{end:p0});else if(t(v0)||p(v0))F0++,T(v0,B0,Y0,{end:p0});else if(M0(v0))F0++,T(v0.readable,B0,Y0,{end:p0});else throw new _("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v0);v0=B0}else v0=E.from(B0)}if(s!==null&&s!==void 0&&s.aborted||e!==null&&e!==void 0&&e.aborted)Y.nextTick(Z0);return v0}function c(r,U0,O0,{end:Q0}){let s=!1;if(U0.on("close",()=>{if(!s)O0(new w)}),r.pipe(U0,{end:!1}),Q0){let J0=function(){s=!0,U0.end()};var e=J0;if(T0(r))Y.nextTick(J0);else r.once("end",J0)}else O0();return M(r,{readable:!0,writable:!1},(J0)=>{let Z0=r._readableState;if(J0&&J0.code==="ERR_STREAM_PREMATURE_CLOSE"&&Z0&&Z0.ended&&!Z0.errored&&!Z0.errorEmitted)r.once("end",O0).once("error",O0);else O0(J0)}),M(U0,{readable:!1,writable:!0},O0)}J.exports={pipelineImpl:N,pipeline:g}}),EE=XU((I,J)=>{var{pipeline:Y}=GD(),K=OI(),{destroyer:X}=NQ(),{isNodeStream:O,isReadable:Z,isWritable:M,isWebStream:j,isTransformStream:q,isWritableStream:E,isReadableStream:C}=KI(),{AbortError:_,codes:{ERR_INVALID_ARG_VALUE:B,ERR_MISSING_ARGS:v}}=w6(),y=JX();J.exports=function(...w){if(w.length===0)throw new v("streams");if(w.length===1)return K.from(w[0]);let b=[...w];if(typeof w[0]==="function")w[0]=K.from(w[0]);if(typeof w[w.length-1]==="function"){let G=w.length-1;w[G]=K.from(w[G])}for(let G=0;G<w.length;++G){if(!O(w[G])&&!j(w[G]))continue;if(G<w.length-1&&!(Z(w[G])||C(w[G])||q(w[G])))throw new B(`streams[${G}]`,b[G],"must be readable");if(G>0&&!(M(w[G])||E(w[G])||q(w[G])))throw new B(`streams[${G}]`,b[G],"must be writable")}let x,u,p,d,a;function H0(G){let V=d;if(d=null,V)V(G);else if(G)a.destroy(G);else if(!T0&&!t)a.destroy()}let M0=w[0],q0=Y(w,H0),t=!!(M(M0)||E(M0)||q(M0)),T0=!!(Z(q0)||C(q0)||q(q0));if(a=new K({writableObjectMode:!!(M0!==null&&M0!==void 0&&M0.writableObjectMode),readableObjectMode:!!(q0!==null&&q0!==void 0&&q0.readableObjectMode),writable:t,readable:T0}),t){if(O(M0))a._write=function(V,F,W){if(M0.write(V,F))W();else x=W},a._final=function(V){M0.end(),u=V},M0.on("drain",function(){if(x){let V=x;x=null,V()}});else if(j(M0)){let V=(q(M0)?M0.writable:M0).getWriter();a._write=async function(F,W,H){try{await V.ready,V.write(F).catch(()=>{}),H()}catch(P){H(P)}},a._final=async function(F){try{await V.ready,V.close().catch(()=>{}),u=F}catch(W){F(W)}}}let G=q(q0)?q0.readable:q0;y(G,()=>{if(u){let V=u;u=null,V()}})}if(T0){if(O(q0))q0.on("readable",function(){if(p){let G=p;p=null,G()}}),q0.on("end",function(){a.push(null)}),a._read=function(){while(!0){let G=q0.read();if(G===null){p=a._read;return}if(!a.push(G))return}};else if(j(q0)){let G=(q(q0)?q0.readable:q0).getReader();a._read=async function(){while(!0)try{let{value:V,done:F}=await G.read();if(!a.push(V))return;if(F){a.push(null);return}}catch{return}}}}return a._destroy=function(G,V){if(!G&&d!==null)G=new _;if(p=null,x=null,u=null,d===null)V(G);else if(d=V,O(q0))X(q0,G)},a}}),Uw=XU((I,J)=>{var Y=globalThis.AbortController||tG().AbortController,{codes:{ERR_INVALID_ARG_VALUE:K,ERR_INVALID_ARG_TYPE:X,ERR_MISSING_ARGS:O,ERR_OUT_OF_RANGE:Z},AbortError:M}=w6(),{validateAbortSignal:j,validateInteger:q,validateObject:E}=aG(),C=yU().Symbol("kWeak"),_=yU().Symbol("kResistStopPropagation"),{finished:B}=JX(),v=EE(),{addAbortSignalNoValidate:y}=HO(),{isWritable:w,isNodeStream:b}=KI(),{deprecate:x}=t6(),{ArrayPrototypePush:u,Boolean:p,MathFloor:d,Number:a,NumberIsNaN:H0,Promise:M0,PromiseReject:q0,PromiseResolve:t,PromisePrototypeThen:T0,Symbol:G}=yU(),V=G("kEmpty"),F=G("kEof");function W(e,J0){if(J0!=null)E(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");if(b(e)&&!w(e))throw new K("stream",e,"must be writable");let Z0=v(this,e);if(J0!==null&&J0!==void 0&&J0.signal)y(J0.signal,Z0);return Z0}function H(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);if(J0!=null)E(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");let Z0=1;if((J0===null||J0===void 0?void 0:J0.concurrency)!=null)Z0=d(J0.concurrency);let A0=Z0-1;if((J0===null||J0===void 0?void 0:J0.highWaterMark)!=null)A0=d(J0.highWaterMark);return q(Z0,"options.concurrency",1),q(A0,"options.highWaterMark",0),A0+=Z0,async function*(){let $0=t6().AbortSignalAny([J0===null||J0===void 0?void 0:J0.signal].filter(p)),h=this,n=[],F0={signal:$0},Y0,W0,v0=!1,I0=0;function K0(){v0=!0,I$()}function I$(){I0-=1,L0()}function L0(){if(W0&&!v0&&I0<Z0&&n.length<A0)W0(),W0=null}async function B0(){try{for await(let L$ of h){if(v0)return;if($0.aborted)throw new M;try{if(L$=e(L$,F0),L$===V)continue;L$=t(L$)}catch(m0){L$=q0(m0)}if(I0+=1,T0(L$,I$,K0),n.push(L$),Y0)Y0(),Y0=null;if(!v0&&(n.length>=A0||I0>=Z0))await new M0((m0)=>{W0=m0})}n.push(F)}catch(L$){let m0=q0(L$);T0(m0,I$,K0),n.push(m0)}finally{if(v0=!0,Y0)Y0(),Y0=null}}B0();try{while(!0){while(n.length>0){let L$=await n[0];if(L$===F)return;if($0.aborted)throw new M;if(L$!==V)yield L$;n.shift(),L0()}await new M0((L$)=>{Y0=L$})}}finally{if(v0=!0,W0)W0(),W0=null}}.call(this)}function P(e=void 0){if(e!=null)E(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)j(e.signal,"options.signal");return async function*(){let J0=0;for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new M({cause:e.signal.reason});yield[J0++,A0]}}.call(this)}async function S(e,J0=void 0){for await(let Z0 of g.call(this,e,J0))return!0;return!1}async function A(e,J0=void 0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);return!await S.call(this,async(...Z0)=>{return!await e(...Z0)},J0)}async function z(e,J0){for await(let Z0 of g.call(this,e,J0))return Z0;return}async function T(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){return await e(A0,$0),V}for await(let A0 of H.call(this,Z0,J0));}function g(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){if(await e(A0,$0))return A0;return V}return H.call(this,Z0,J0)}class N extends O{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function c(e,J0,Z0){var A0;if(typeof e!=="function")throw new X("reducer",["Function","AsyncFunction"],e);if(Z0!=null)E(Z0,"options");if((Z0===null||Z0===void 0?void 0:Z0.signal)!=null)j(Z0.signal,"options.signal");let $0=arguments.length>1;if(Z0!==null&&Z0!==void 0&&(A0=Z0.signal)!==null&&A0!==void 0&&A0.aborted){let W0=new M(void 0,{cause:Z0.signal.reason});throw this.once("error",()=>{}),await B(this.destroy(W0)),W0}let h=new Y,n=h.signal;if(Z0!==null&&Z0!==void 0&&Z0.signal){let W0={once:!0,[C]:this,[_]:!0};Z0.signal.addEventListener("abort",()=>h.abort(),W0)}let F0=!1;try{for await(let W0 of this){var Y0;if(F0=!0,Z0!==null&&Z0!==void 0&&(Y0=Z0.signal)!==null&&Y0!==void 0&&Y0.aborted)throw new M;if(!$0)J0=W0,$0=!0;else J0=await e(J0,W0,{signal:n})}if(!F0&&!$0)throw new N}finally{h.abort()}return J0}async function r(e){if(e!=null)E(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)j(e.signal,"options.signal");let J0=[];for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new M(void 0,{cause:e.signal.reason});u(J0,A0)}return J0}function U0(e,J0){let Z0=H.call(this,e,J0);return async function*(){for await(let A0 of Z0)yield*A0}.call(this)}function O0(e){if(e=a(e),H0(e))return 0;if(e<0)throw new Z("number",">= 0",e);return e}function Q0(e,J0=void 0){if(J0!=null)E(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");return e=O0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new M;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new M;if(e--<=0)yield $0}}.call(this)}function s(e,J0=void 0){if(J0!=null)E(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");return e=O0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new M;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new M;if(e-- >0)yield $0;if(e<=0)return}}.call(this)}J.exports.streamReturningOperators={asIndexedPairs:x(P,"readable.asIndexedPairs will be removed in a future version."),drop:Q0,filter:g,flatMap:U0,map:H,take:s,compose:W},J.exports.promiseReturningOperators={every:A,forEach:T,reduce:c,toArray:r,some:S,find:z}}),SE=XU((I,J)=>{var{ArrayPrototypePop:Y,Promise:K}=yU(),{isIterable:X,isNodeStream:O,isWebStream:Z}=KI(),{pipelineImpl:M}=GD(),{finished:j}=JX();jE();function q(...E){return new K((C,_)=>{let B,v,y=E[E.length-1];if(y&&typeof y==="object"&&!O(y)&&!X(y)&&!Z(y)){let w=Y(E);B=w.signal,v=w.end}M(E,(w,b)=>{if(w)_(w);else C(b)},{signal:B,end:v})})}J.exports={finished:j,pipeline:q}}),jE=XU((I,J)=>{var{Buffer:Y}=(iU(),j$(oU)),{ObjectDefineProperty:K,ObjectKeys:X,ReflectApply:O}=yU(),{promisify:{custom:Z}}=t6(),{streamReturningOperators:M,promiseReturningOperators:j}=Uw(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:q}}=w6(),E=EE(),{setDefaultHighWaterMark:C,getDefaultHighWaterMark:_}=FO(),{pipeline:B}=GD(),{destroyer:v}=NQ(),y=JX(),w=SE(),b=KI(),x=J.exports=QD().Stream;x.isDestroyed=b.isDestroyed,x.isDisturbed=b.isDisturbed,x.isErrored=b.isErrored,x.isReadable=b.isReadable,x.isWritable=b.isWritable,x.Readable=MO();for(let p of X(M)){let d=function(...H0){if(new.target)throw q();return x.Readable.from(O(a,this,H0))},a=M[p];K(d,"name",{__proto__:null,value:a.name}),K(d,"length",{__proto__:null,value:a.length}),K(x.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}for(let p of X(j)){let d=function(...H0){if(new.target)throw q();return O(a,this,H0)},a=j[p];K(d,"name",{__proto__:null,value:a.name}),K(d,"length",{__proto__:null,value:a.length}),K(x.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}x.Writable=YD(),x.Duplex=OI(),x.Transform=_E(),x.PassThrough=qE(),x.pipeline=B;var{addAbortSignal:u}=HO();x.addAbortSignal=u,x.finished=y,x.destroy=v,x.compose=E,x.setDefaultHighWaterMark=C,x.getDefaultHighWaterMark=_,K(x,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return w}}),K(B,Z,{__proto__:null,enumerable:!0,get(){return w.pipeline}}),K(y,Z,{__proto__:null,enumerable:!0,get(){return w.finished}}),x.Stream=x,x._isUint8Array=function(p){return p instanceof Uint8Array},x._uint8ArrayToBuffer=function(p){return Y.from(p.buffer,p.byteOffset,p.byteLength)}}),Iw=XU((I,J)=>{var Y=vQ();{let K=jE(),X=SE(),O=K.Readable.destroy;J.exports=K.Readable,J.exports._uint8ArrayToBuffer=K._uint8ArrayToBuffer,J.exports._isUint8Array=K._isUint8Array,J.exports.isDisturbed=K.isDisturbed,J.exports.isErrored=K.isErrored,J.exports.isReadable=K.isReadable,J.exports.Readable=K.Readable,J.exports.Writable=K.Writable,J.exports.Duplex=K.Duplex,J.exports.Transform=K.Transform,J.exports.PassThrough=K.PassThrough,J.exports.addAbortSignal=K.addAbortSignal,J.exports.finished=K.finished,J.exports.destroy=K.destroy,J.exports.destroy=O,J.exports.pipeline=K.pipeline,J.exports.compose=K.compose,Object.defineProperty(K,"promises",{configurable:!0,enumerable:!0,get(){return X}}),J.exports.Stream=K.Stream}J.exports.default=J.exports});BE.exports=Iw()});var M4={};g6(M4,{webcrypto:()=>jy,rng:()=>hf,randomUUID:()=>kQ,randomFillSync:()=>Ty,randomFill:()=>Cy,randomBytes:()=>pf,publicEncrypt:()=>Fy,publicDecrypt:()=>Ly,pseudoRandomBytes:()=>cf,prng:()=>bf,privateEncrypt:()=>My,privateDecrypt:()=>Ay,pbkdf2Sync:()=>rf,pbkdf2:()=>of,listCiphers:()=>Qy,getRandomValues:()=>qy,getHashes:()=>nf,getDiffieHellman:()=>Zy,getCurves:()=>Sy,getCiphers:()=>Jy,default:()=>By,createVerify:()=>Vy,createSign:()=>Ky,createHmac:()=>df,createHash:()=>F4,createECDH:()=>Hy,createDiffieHellmanGroup:()=>Gy,createDiffieHellman:()=>zy,createDecipheriv:()=>Xy,createDecipher:()=>Uy,createCredentials:()=>Py,createCipheriv:()=>ef,createCipher:()=>af,constants:()=>Ry,Verify:()=>Dy,Sign:()=>Wy,Hmac:()=>lf,Hash:()=>mf,DiffieHellmanGroup:()=>Yy,DiffieHellman:()=>Oy,Decipheriv:()=>Iy,Decipher:()=>$y,DEFAULT_ENCODING:()=>_y,Cipheriv:()=>sf,Cipher:()=>tf});function Sy(){return Ey}var Xw,Jw,NE,Qw,Yw,Gw=(I,J,Y)=>{Y=I!=null?Xw(Jw(I)):{};let K=J||!I||!I.__esModule?NE(Y,"default",{value:I,enumerable:!0}):Y;for(let X of Qw(I))if(!Yw.call(K,X))NE(K,X,{get:()=>I[X],enumerable:!0});return K},b0=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),LO,AO,kE,Zw,zD,OD,f6,zw,eG,xE,Ow,Kw,Ww,Vw,gE,Dw,Hw,Fw,Mw,Lw,Aw,Cw,Tw,Pw,Rw,$2,CO,wE,_w,fE,yE,qw,U2,KD,WD,Ew,uE,VD,Sw,bE,jw,cE,hE,Bw,Nw,vw,kw,xw,gw,ww,fw,yw,uw,bw,cw,hw,pw,DD,pE,mw,mE,lw,dw,nw,ow,WI,QX,lE,y4,dE,TO,iw,H4,rw,tw,aw,nE,B1,I2,oE,sw,iE,ew,rE,$f,Uf,If,Xf,HD,Jf,FD,Qf,Yf,Gf,Zf,zf,Of,Kf,Wf,Vf,Df,Hf,Ff,Mf,Lf,vE,Af,sG,Cf,tE,aE,Tf,Pf,sE,Rf,_f,X2,qf,Ef,Sf,jf,Bf,Nf,eE,vf,$S,US,IS,MD,XS,kf,JS,xf,gf,ZD,wf,ff,yf,uf,c$,bf,cf,hf,pf,mf,F4,lf,df,nf,of,rf,tf,af,sf,ef,$y,Uy,Iy,Xy,Jy,Qy,Yy,Gy,Zy,zy,Oy,Ky,Wy,Vy,Dy,Hy,Fy,My,Ly,Ay,Cy,Ty,Py,Ry,_y="buffer",qy=(I)=>{return crypto.getRandomValues(I)},kQ=()=>{return crypto.randomUUID()},Ey,jy,By;var uU=CQ(()=>{Xw=Object.create,{getPrototypeOf:Jw,defineProperty:NE,getOwnPropertyNames:Qw}=Object,Yw=Object.prototype.hasOwnProperty,LO=b0((I,J)=>{J.exports=(uU(),j$(M4)).randomBytes}),AO=b0((I,J)=>{J.exports=(uU(),j$(M4)).createHash}),kE=b0((I,J)=>{J.exports=(uU(),j$(M4)).createHmac}),Zw=b0((I,J)=>{J.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}),zD=b0((I,J)=>{var Y=isFinite,K=Math.pow(2,30)-1;J.exports=function(X,O){if(typeof X!=="number")throw TypeError("Iterations not a number");if(X<0||!Y(X))throw TypeError("Bad iterations");if(typeof O!=="number")throw TypeError("Key length not a number");if(O<0||O>K||O!==O)throw TypeError("Bad key length")}}),OD=b0((I,J)=>{var Y;if(globalThis.process&&globalThis.process.browser)Y="utf-8";else if(globalThis.process&&globalThis.process.version)K=parseInt(process.version.split(".")[0].slice(1),10),Y=K>=6?"utf-8":"binary";else Y="utf-8";var K;J.exports=Y}),f6=b0((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(iU(),j$(oU)),K=Y.Buffer;function X(Z,M){for(var j in Z)M[j]=Z[j]}if(K.from&&K.alloc&&K.allocUnsafe&&K.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=O;function O(Z,M,j){return K(Z,M,j)}O.prototype=Object.create(K.prototype),X(K,O),O.from=function(Z,M,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return K(Z,M,j)},O.alloc=function(Z,M,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var q=K(Z);if(M!==void 0)if(typeof j==="string")q.fill(M,j);else q.fill(M);else q.fill(0);return q},O.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return K(Z)},O.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),zw=b0((I,J)=>{var Y={}.toString;J.exports=Array.isArray||function(K){return Y.call(K)=="[object Array]"}}),eG=b0((I,J)=>{J.exports=TypeError}),xE=b0((I,J)=>{J.exports=Object}),Ow=b0((I,J)=>{J.exports=Error}),Kw=b0((I,J)=>{J.exports=EvalError}),Ww=b0((I,J)=>{J.exports=RangeError}),Vw=b0((I,J)=>{J.exports=ReferenceError}),gE=b0((I,J)=>{J.exports=SyntaxError}),Dw=b0((I,J)=>{J.exports=URIError}),Hw=b0((I,J)=>{J.exports=Math.abs}),Fw=b0((I,J)=>{J.exports=Math.floor}),Mw=b0((I,J)=>{J.exports=Math.max}),Lw=b0((I,J)=>{J.exports=Math.min}),Aw=b0((I,J)=>{J.exports=Math.pow}),Cw=b0((I,J)=>{J.exports=Math.round}),Tw=b0((I,J)=>{J.exports=Number.isNaN||function(Y){return Y!==Y}}),Pw=b0((I,J)=>{var Y=Tw();J.exports=function(K){if(Y(K)||K===0)return K;return K<0?-1:1}}),Rw=b0((I,J)=>{J.exports=Object.getOwnPropertyDescriptor}),$2=b0((I,J)=>{var Y=Rw();if(Y)try{Y([],"length")}catch(K){Y=null}J.exports=Y}),CO=b0((I,J)=>{var Y=Object.defineProperty||!1;if(Y)try{Y({},"a",{value:1})}catch(K){Y=!1}J.exports=Y}),wE=b0((I,J)=>{J.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var Y={},K=Symbol("test"),X=Object(K);if(typeof K==="string")return!1;if(Object.prototype.toString.call(K)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(X)!=="[object Symbol]")return!1;var O=42;Y[K]=O;for(var Z in Y)return!1;if(typeof Object.keys==="function"&&Object.keys(Y).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(Y).length!==0)return!1;var M=Object.getOwnPropertySymbols(Y);if(M.length!==1||M[0]!==K)return!1;if(!Object.prototype.propertyIsEnumerable.call(Y,K))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var j=Object.getOwnPropertyDescriptor(Y,K);if(j.value!==O||j.enumerable!==!0)return!1}return!0}}),_w=b0((I,J)=>{var Y=typeof Symbol<"u"&&Symbol,K=wE();J.exports=function(){if(typeof Y!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof Y("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return K()}}),fE=b0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),yE=b0((I,J)=>{var Y=xE();J.exports=Y.getPrototypeOf||null}),qw=b0((I,J)=>{var Y="Function.prototype.bind called on incompatible ",K=Object.prototype.toString,X=Math.max,O="[object Function]",Z=function(q,E){var C=[];for(var _=0;_<q.length;_+=1)C[_]=q[_];for(var B=0;B<E.length;B+=1)C[B+q.length]=E[B];return C},M=function(q,E){var C=[];for(var _=E||0,B=0;_<q.length;_+=1,B+=1)C[B]=q[_];return C},j=function(q,E){var C="";for(var _=0;_<q.length;_+=1)if(C+=q[_],_+1<q.length)C+=E;return C};J.exports=function(q){var E=this;if(typeof E!=="function"||K.apply(E)!==O)throw TypeError(Y+E);var C=M(arguments,1),_,B=function(){if(this instanceof _){var x=E.apply(this,Z(C,arguments));if(Object(x)===x)return x;return this}return E.apply(q,Z(C,arguments))},v=X(0,E.length-C.length),y=[];for(var w=0;w<v;w++)y[w]="$"+w;if(_=Function("binder","return function ("+j(y,",")+"){ return binder.apply(this,arguments); }")(B),E.prototype){var b=function(){};b.prototype=E.prototype,_.prototype=new b,b.prototype=null}return _}}),U2=b0((I,J)=>{var Y=qw();J.exports=Function.prototype.bind||Y}),KD=b0((I,J)=>{J.exports=Function.prototype.call}),WD=b0((I,J)=>{J.exports=Function.prototype.apply}),Ew=b0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),uE=b0((I,J)=>{var Y=U2(),K=WD(),X=KD(),O=Ew();J.exports=O||Y.call(X,K)}),VD=b0((I,J)=>{var Y=U2(),K=eG(),X=KD(),O=uE();J.exports=function(Z){if(Z.length<1||typeof Z[0]!=="function")throw new K("a function is required");return O(Y,X,Z)}}),Sw=b0((I,J)=>{var Y=VD(),K=$2(),X;try{X=[].__proto__===Array.prototype}catch(j){if(!j||typeof j!=="object"||!("code"in j)||j.code!=="ERR_PROTO_ACCESS")throw j}var O=!!X&&K&&K(Object.prototype,"__proto__"),Z=Object,M=Z.getPrototypeOf;J.exports=O&&typeof O.get==="function"?Y([O.get]):typeof M==="function"?function(j){return M(j==null?j:Z(j))}:!1}),bE=b0((I,J)=>{var Y=fE(),K=yE(),X=Sw();J.exports=Y?function(O){return Y(O)}:K?function(O){if(!O||typeof O!=="object"&&typeof O!=="function")throw TypeError("getProto: not an object");return K(O)}:X?function(O){return X(O)}:null}),jw=b0((I,J)=>{var Y=Function.prototype.call,K=Object.prototype.hasOwnProperty,X=U2();J.exports=X.call(Y,K)}),cE=b0((I,J)=>{var Y,K=xE(),X=Ow(),O=Kw(),Z=Ww(),M=Vw(),j=gE(),q=eG(),E=Dw(),C=Hw(),_=Fw(),B=Mw(),v=Lw(),y=Aw(),w=Cw(),b=Pw(),x=Function,u=function(J0){try{return x('"use strict"; return ('+J0+").constructor;")()}catch(Z0){}},p=$2(),d=CO(),a=function(){throw new q},H0=p?function(){try{return arguments.callee,a}catch(J0){try{return p(arguments,"callee").get}catch(Z0){return a}}}():a,M0=_w()(),q0=bE(),t=yE(),T0=fE(),G=WD(),V=KD(),F={},W=typeof Uint8Array>"u"||!q0?Y:q0(Uint8Array),H={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Y:ArrayBuffer,"%ArrayIteratorPrototype%":M0&&q0?q0([][Symbol.iterator]()):Y,"%AsyncFromSyncIteratorPrototype%":Y,"%AsyncFunction%":F,"%AsyncGenerator%":F,"%AsyncGeneratorFunction%":F,"%AsyncIteratorPrototype%":F,"%Atomics%":typeof Atomics>"u"?Y:Atomics,"%BigInt%":typeof BigInt>"u"?Y:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Y:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Y:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Y:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":X,"%eval%":eval,"%EvalError%":O,"%Float16Array%":typeof Float16Array>"u"?Y:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Y:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Y:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Y:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":F,"%Int8Array%":typeof Int8Array>"u"?Y:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Y:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Y:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":M0&&q0?q0(q0([][Symbol.iterator]())):Y,"%JSON%":typeof JSON==="object"?JSON:Y,"%Map%":typeof Map>"u"?Y:Map,"%MapIteratorPrototype%":typeof Map>"u"||!M0||!q0?Y:q0(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":K,"%Object.getOwnPropertyDescriptor%":p,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Y:Promise,"%Proxy%":typeof Proxy>"u"?Y:Proxy,"%RangeError%":Z,"%ReferenceError%":M,"%Reflect%":typeof Reflect>"u"?Y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Y:Set,"%SetIteratorPrototype%":typeof Set>"u"||!M0||!q0?Y:q0(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M0&&q0?q0(""[Symbol.iterator]()):Y,"%Symbol%":M0?Symbol:Y,"%SyntaxError%":j,"%ThrowTypeError%":H0,"%TypedArray%":W,"%TypeError%":q,"%Uint8Array%":typeof Uint8Array>"u"?Y:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Y:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Y:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Y:Uint32Array,"%URIError%":E,"%WeakMap%":typeof WeakMap>"u"?Y:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Y:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Y:WeakSet,"%Function.prototype.call%":V,"%Function.prototype.apply%":G,"%Object.defineProperty%":d,"%Object.getPrototypeOf%":t,"%Math.abs%":C,"%Math.floor%":_,"%Math.max%":B,"%Math.min%":v,"%Math.pow%":y,"%Math.round%":w,"%Math.sign%":b,"%Reflect.getPrototypeOf%":T0};if(q0)try{null.error}catch(J0){P=q0(q0(J0)),H["%Error.prototype%"]=P}var P,S=function J0(Z0){var A0;if(Z0==="%AsyncFunction%")A0=u("async function () {}");else if(Z0==="%GeneratorFunction%")A0=u("function* () {}");else if(Z0==="%AsyncGeneratorFunction%")A0=u("async function* () {}");else if(Z0==="%AsyncGenerator%"){var $0=J0("%AsyncGeneratorFunction%");if($0)A0=$0.prototype}else if(Z0==="%AsyncIteratorPrototype%"){var h=J0("%AsyncGenerator%");if(h&&q0)A0=q0(h.prototype)}return H[Z0]=A0,A0},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},z=U2(),T=jw(),g=z.call(V,Array.prototype.concat),N=z.call(G,Array.prototype.splice),c=z.call(V,String.prototype.replace),r=z.call(V,String.prototype.slice),U0=z.call(V,RegExp.prototype.exec),O0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Q0=/\\(\\)?/g,s=function(J0){var Z0=r(J0,0,1),A0=r(J0,-1);if(Z0==="%"&&A0!=="%")throw new j("invalid intrinsic syntax, expected closing `%`");else if(A0==="%"&&Z0!=="%")throw new j("invalid intrinsic syntax, expected opening `%`");var $0=[];return c(J0,O0,function(h,n,F0,Y0){$0[$0.length]=F0?c(Y0,Q0,"$1"):n||h}),$0},e=function(J0,Z0){var A0=J0,$0;if(T(A,A0))$0=A[A0],A0="%"+$0[0]+"%";if(T(H,A0)){var h=H[A0];if(h===F)h=S(A0);if(typeof h>"u"&&!Z0)throw new q("intrinsic "+J0+" exists, but is not available. Please file an issue!");return{alias:$0,name:A0,value:h}}throw new j("intrinsic "+J0+" does not exist!")};J.exports=function(J0,Z0){if(typeof J0!=="string"||J0.length===0)throw new q("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Z0!=="boolean")throw new q('"allowMissing" argument must be a boolean');if(U0(/^%?[^%]*%?$/,J0)===null)throw new j("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A0=s(J0),$0=A0.length>0?A0[0]:"",h=e("%"+$0+"%",Z0),n=h.name,F0=h.value,Y0=!1,W0=h.alias;if(W0)$0=W0[0],N(A0,g([0,1],W0));for(var v0=1,I0=!0;v0<A0.length;v0+=1){var K0=A0[v0],I$=r(K0,0,1),L0=r(K0,-1);if((I$==='"'||I$==="'"||I$==="`"||(L0==='"'||L0==="'"||L0==="`"))&&I$!==L0)throw new j("property names with quotes must have matching quotes");if(K0==="constructor"||!I0)Y0=!0;if($0+="."+K0,n="%"+$0+"%",T(H,n))F0=H[n];else if(F0!=null){if(!(K0 in F0)){if(!Z0)throw new q("base intrinsic for "+J0+" exists, but the property is not available.");return}if(p&&v0+1>=A0.length){var B0=p(F0,K0);if(I0=!!B0,I0&&"get"in B0&&!("originalValue"in B0.get))F0=B0.get;else F0=F0[K0]}else I0=T(F0,K0),F0=F0[K0];if(I0&&!Y0)H[n]=F0}}return F0}}),hE=b0((I,J)=>{var Y=cE(),K=VD(),X=K([Y("%String.prototype.indexOf%")]);J.exports=function(O,Z){var M=Y(O,!!Z);if(typeof M==="function"&&X(O,".prototype.")>-1)return K([M]);return M}}),Bw=b0((I,J)=>{var Y=Function.prototype.toString,K=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply,X,O;if(typeof K==="function"&&typeof Object.defineProperty==="function")try{X=Object.defineProperty({},"length",{get:function(){throw O}}),O={},K(function(){throw 42},null,X)}catch(p){if(p!==O)K=null}else K=null;var Z=/^\s*class\b/,M=function(p){try{var d=Y.call(p);return Z.test(d)}catch(a){return!1}},j=function(p){try{if(M(p))return!1;return Y.call(p),!0}catch(d){return!1}},q=Object.prototype.toString,E="[object Object]",C="[object Function]",_="[object GeneratorFunction]",B="[object HTMLAllCollection]",v="[object HTML document.all class]",y="[object HTMLCollection]",w=typeof Symbol==="function"&&!!Symbol.toStringTag,b=!(0 in[,]),x=function(){return!1};if(typeof document==="object"){if(u=document.all,q.call(u)===q.call(document.all))x=function(p){if((b||!p)&&(typeof p>"u"||typeof p==="object"))try{var d=q.call(p);return(d===B||d===v||d===y||d===E)&&p("")==null}catch(a){}return!1}}var u;J.exports=K?function(p){if(x(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;try{K(p,null,X)}catch(d){if(d!==O)return!1}return!M(p)&&j(p)}:function(p){if(x(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;if(w)return j(p);if(M(p))return!1;var d=q.call(p);if(d!==C&&d!==_&&!/^\[object HTML/.test(d))return!1;return j(p)}}),Nw=b0((I,J)=>{var Y=Bw(),K=Object.prototype.toString,X=Object.prototype.hasOwnProperty,O=function(q,E,C){for(var _=0,B=q.length;_<B;_++)if(X.call(q,_))if(C==null)E(q[_],_,q);else E.call(C,q[_],_,q)},Z=function(q,E,C){for(var _=0,B=q.length;_<B;_++)if(C==null)E(q.charAt(_),_,q);else E.call(C,q.charAt(_),_,q)},M=function(q,E,C){for(var _ in q)if(X.call(q,_))if(C==null)E(q[_],_,q);else E.call(C,q[_],_,q)};function j(q){return K.call(q)==="[object Array]"}J.exports=function(q,E,C){if(!Y(E))throw TypeError("iterator must be a function");var _;if(arguments.length>=3)_=C;if(j(q))O(q,E,_);else if(typeof q==="string")Z(q,E,_);else M(q,E,_)}}),vw=b0((I,J)=>{J.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),kw=b0((I,J)=>{var Y=vw(),K=typeof globalThis>"u"?globalThis:globalThis;J.exports=function(){var X=[];for(var O=0;O<Y.length;O++)if(typeof K[Y[O]]==="function")X[X.length]=Y[O];return X}}),xw=b0((I,J)=>{var Y=CO(),K=gE(),X=eG(),O=$2();J.exports=function(Z,M,j){if(!Z||typeof Z!=="object"&&typeof Z!=="function")throw new X("`obj` must be an object or a function`");if(typeof M!=="string"&&typeof M!=="symbol")throw new X("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null)throw new X("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null)throw new X("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null)throw new X("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=="boolean")throw new X("`loose`, if provided, must be a boolean");var q=arguments.length>3?arguments[3]:null,E=arguments.length>4?arguments[4]:null,C=arguments.length>5?arguments[5]:null,_=arguments.length>6?arguments[6]:!1,B=!!O&&O(Z,M);if(Y)Y(Z,M,{configurable:C===null&&B?B.configurable:!C,enumerable:q===null&&B?B.enumerable:!q,value:j,writable:E===null&&B?B.writable:!E});else if(_||!q&&!E&&!C)Z[M]=j;else throw new K("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),gw=b0((I,J)=>{var Y=CO(),K=function(){return!!Y};K.hasArrayLengthDefineBug=function(){if(!Y)return null;try{return Y([],"length",{value:1}).length!==1}catch(X){return!0}},J.exports=K}),ww=b0((I,J)=>{var Y=cE(),K=xw(),X=gw()(),O=$2(),Z=eG(),M=Y("%Math.floor%");J.exports=function(j,q){if(typeof j!=="function")throw new Z("`fn` is not a function");if(typeof q!=="number"||q<0||q>4294967295||M(q)!==q)throw new Z("`length` must be a positive 32-bit integer");var E=arguments.length>2&&!!arguments[2],C=!0,_=!0;if("length"in j&&O){var B=O(j,"length");if(B&&!B.configurable)C=!1;if(B&&!B.writable)_=!1}if(C||_||!E)if(X)K(j,"length",q,!0,!0);else K(j,"length",q);return j}}),fw=b0((I,J)=>{var Y=U2(),K=WD(),X=uE();J.exports=function(){return X(Y,K,arguments)}}),yw=b0((I,J)=>{var Y=ww(),K=CO(),X=VD(),O=fw();if(J.exports=function(Z){var M=X(arguments),j=Z.length-(arguments.length-1);return Y(M,1+(j>0?j:0),!0)},K)K(J.exports,"apply",{value:O});else J.exports.apply=O}),uw=b0((I,J)=>{var Y=wE();J.exports=function(){return Y()&&!!Symbol.toStringTag}}),bw=b0((I,J)=>{var Y=Nw(),K=kw(),X=yw(),O=hE(),Z=$2(),M=bE(),j=O("Object.prototype.toString"),q=uw()(),E=typeof globalThis>"u"?globalThis:globalThis,C=K(),_=O("String.prototype.slice"),B=O("Array.prototype.indexOf",!0)||function(b,x){for(var u=0;u<b.length;u+=1)if(b[u]===x)return u;return-1},v={__proto__:null};if(q&&Z&&M)Y(C,function(b){var x=new E[b];if(Symbol.toStringTag in x&&M){var u=M(x),p=Z(u,Symbol.toStringTag);if(!p&&u){var d=M(u);p=Z(d,Symbol.toStringTag)}v["$"+b]=X(p.get)}});else Y(C,function(b){var x=new E[b],u=x.slice||x.set;if(u)v["$"+b]=X(u)});var y=function(b){var x=!1;return Y(v,function(u,p){if(!x)try{if("$"+u(b)===p)x=_(p,1)}catch(d){}}),x},w=function(b){var x=!1;return Y(v,function(u,p){if(!x)try{u(b),x=_(p,1)}catch(d){}}),x};J.exports=function(b){if(!b||typeof b!=="object")return!1;if(!q){var x=_(j(b),8,-1);if(B(C,x)>-1)return x;if(x!=="Object")return!1;return w(b)}if(!Z)return null;return y(b)}}),cw=b0((I,J)=>{var Y=bw();J.exports=function(K){return!!Y(K)}}),hw=b0((I,J)=>{var Y=eG(),K=hE(),X=K("TypedArray.prototype.buffer",!0),O=cw();J.exports=X||function(Z){if(!O(Z))throw new Y("Not a Typed Array");return Z.buffer}}),pw=b0((I,J)=>{var Y=f6().Buffer,K=zw(),X=hw(),O=ArrayBuffer.isView||function(q){try{return X(q),!0}catch(E){return!1}},Z=typeof Uint8Array<"u",M=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",j=M&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);J.exports=function(q,E){if(Y.isBuffer(q)){if(q.constructor&&!("isBuffer"in q))return Y.from(q);return q}if(typeof q==="string")return Y.from(q,E);if(M&&O(q)){if(q.byteLength===0)return Y.alloc(0);if(j){var C=Y.from(q.buffer,q.byteOffset,q.byteLength);if(C.byteLength===q.byteLength)return C}var _=q instanceof Uint8Array?q:new Uint8Array(q.buffer,q.byteOffset,q.byteLength),B=Y.from(_);if(B.length===q.byteLength)return B}if(Z&&q instanceof Uint8Array)return Y.from(q);var v=K(q);if(v)for(var y=0;y<q.length;y+=1){var w=q[y];if(typeof w!=="number"||w<0||w>255||~~w!==w)throw RangeError("Array items must be numbers in the range 0-255.")}if(v||Y.isBuffer(q)&&q.constructor&&typeof q.constructor.isBuffer==="function"&&q.constructor.isBuffer(q))return Y.from(q);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}),DD=b0((I,J)=>{var Y=f6().Buffer,K=pw(),X=typeof Uint8Array<"u",O=X&&typeof ArrayBuffer<"u",Z=O&&ArrayBuffer.isView;J.exports=function(M,j,q){if(typeof M==="string"||Y.isBuffer(M)||X&&M instanceof Uint8Array||Z&&Z(M))return K(M,j);throw TypeError(q+" must be a string, a Buffer, a Uint8Array, or a DataView")}}),pE=b0((I,J)=>{var Y={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,rmd160:20,ripemd160:20},K={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"},X=kE(),O=f6().Buffer,Z=zD(),M=OD(),j=DD();function q(E,C,_,B,v){Z(_,B),E=j(E,M,"Password"),C=j(C,M,"Salt");var y=(v||"sha1").toLowerCase(),w=K[y]||y,b=Y[w];if(typeof b!=="number"||!b)throw TypeError("Digest algorithm not supported: "+v);var x=O.allocUnsafe(B),u=O.allocUnsafe(C.length+4);C.copy(u,0,0,C.length);var p=0,d=b,a=Math.ceil(B/d);for(var H0=1;H0<=a;H0++){u.writeUInt32BE(H0,C.length);var M0=X(w,E).update(u).digest(),q0=M0;for(var t=1;t<_;t++){q0=X(w,E).update(q0).digest();for(var T0=0;T0<d;T0++)M0[T0]^=q0[T0]}M0.copy(x,p),p+=d}return x}J.exports=q}),mw=b0((I,J)=>{var Y=f6().Buffer,K=zD(),X=OD(),O=pE(),Z=DD(),M,j=globalThis.crypto&&globalThis.crypto.subtle,q={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},E=[],C;function _(){if(C)return C;if(globalThis.process&&globalThis.process.nextTick)C=globalThis.process.nextTick;else if(globalThis.queueMicrotask)C=globalThis.queueMicrotask;else if(globalThis.setImmediate)C=globalThis.setImmediate;else C=globalThis.setTimeout;return C}function B(w,b,x,u,p){return j.importKey("raw",w,{name:"PBKDF2"},!1,["deriveBits"]).then(function(d){return j.deriveBits({name:"PBKDF2",salt:b,iterations:x,hash:{name:p}},d,u<<3)}).then(function(d){return Y.from(d)})}function v(w){if(globalThis.process&&!globalThis.process.browser)return Promise.resolve(!1);if(!j||!j.importKey||!j.deriveBits)return Promise.resolve(!1);if(E[w]!==void 0)return E[w];M=M||Y.alloc(8);var b=B(M,M,10,128,w).then(function(){return!0},function(){return!1});return E[w]=b,b}function y(w,b){w.then(function(x){_()(function(){b(null,x)})},function(x){_()(function(){b(x)})})}J.exports=function(w,b,x,u,p,d){if(typeof p==="function")d=p,p=void 0;if(K(x,u),w=Z(w,X,"Password"),b=Z(b,X,"Salt"),typeof d!=="function")throw Error("No callback provided to pbkdf2");p=p||"sha1";var a=q[p.toLowerCase()];if(!a||typeof globalThis.Promise!=="function"){_()(function(){var H0;try{H0=O(w,b,x,u,p)}catch(M0){d(M0);return}d(null,H0)});return}y(v(a).then(function(H0){if(H0)return B(w,b,x,u,a);return O(w,b,x,u,p)}),d)}}),mE=b0((I)=>{var J=(uU(),j$(M4)),Y=zD(),K=OD(),X=DD();function O(M,j,q,E,C,_){if(Y(q,E),M=X(M,K,"Password"),j=X(j,K,"Salt"),typeof C==="function")_=C,C="sha1";if(typeof _!=="function")throw Error("No callback provided to pbkdf2");return J.pbkdf2(M,j,q,E,C,_)}function Z(M,j,q,E,C){return Y(q,E),M=X(M,K,"Password"),j=X(j,K,"Salt"),C=C||"sha1",J.pbkdf2Sync(M,j,q,E,C)}if(!J.pbkdf2Sync||J.pbkdf2Sync.toString().indexOf("keylen, digest")===-1)I.pbkdf2Sync=pE(),I.pbkdf2=mw();else I.pbkdf2Sync=Z,I.pbkdf2=O}),lw=b0((I)=>{var J=(uU(),j$(M4));I.createCipher=I.Cipher=J.createCipher,I.createCipheriv=I.Cipheriv=J.createCipheriv,I.createDecipher=I.Decipher=J.createDecipher,I.createDecipheriv=I.Decipheriv=J.createDecipheriv,I.listCiphers=I.getCiphers=J.getCiphers}),dw=b0((I)=>{var J=(uU(),j$(M4));I.DiffieHellmanGroup=J.DiffieHellmanGroup,I.createDiffieHellmanGroup=J.createDiffieHellmanGroup,I.getDiffieHellman=J.getDiffieHellman,I.createDiffieHellman=J.createDiffieHellman,I.DiffieHellman=J.DiffieHellman}),nw=b0((I)=>{var J=(uU(),j$(M4));I.createSign=J.createSign,I.Sign=J.Sign,I.createVerify=J.createVerify,I.Verify=J.Verify}),ow=b0((I,J)=>{J.exports={name:"elliptic",version:"6.6.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}),WI=b0((I,J)=>{(function(Y,K){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function O(G,V){G.super_=V;var F=function(){};F.prototype=V.prototype,G.prototype=new F,G.prototype.constructor=G}function Z(G,V,F){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")F=V,V=10;this._init(G||0,V||10,F||"be")}}if(typeof Y==="object")Y.exports=Z;else K.BN=Z;Z.BN=Z,Z.wordSize=26;var M;try{if(typeof window<"u"&&typeof window.Buffer<"u")M=window.Buffer;else M=(iU(),j$(oU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,F){if(typeof G==="number")return this._initNumber(G,V,F);if(typeof G==="object")return this._initArray(G,V,F);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(V===16)this._parseHex(G,W,F);else if(this._parseBase(G,V,W),F==="le")this._initArray(this.toArray(),V,F)}},Z.prototype._initNumber=function(G,V,F){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(F!=="le")return;this._initArray(this.toArray(),V,F)},Z.prototype._initArray=function(G,V,F){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H,P,S=0;if(F==="be"){for(W=G.length-1,H=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}else if(F==="le"){for(W=0,H=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}return this.strip()};function j(G,V){var F=G.charCodeAt(V);if(F>=65&&F<=70)return F-55;else if(F>=97&&F<=102)return F-87;else return F-48&15}function q(G,V,F){var W=j(G,F);if(F-1>=V)W|=j(G,F-1)<<4;return W}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H=0,P=0,S;if(F==="be")for(W=G.length-1;W>=V;W-=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8;else{var A=G.length-V;for(W=A%2===0?V+1:V;W<G.length;W+=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8}this.strip()};function E(G,V,F,W){var H=0,P=Math.min(G.length,F);for(var S=V;S<P;S++){var A=G.charCodeAt(S)-48;if(H*=W,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var W=0,H=1;H<=67108863;H*=V)W++;W--,H=H/V|0;var P=G.length-F,S=P%W,A=Math.min(P,P-S)+F,z=0;for(var T=F;T<A;T+=W)if(z=E(G,T,T+W,V),this.imuln(H),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(S!==0){var g=1;z=E(G,T,G.length,V);for(T=0;T<S;T++)g*=V;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var F;if(G===16||G==="hex"){F="";var W=0,H=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|H)&16777215).toString(16);if(H=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(H!==0||P!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(H!==0)F=H.toString(16)+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}if(G===(G|0)&&G>=2&&G<=36){var z=_[G],T=B[G];F="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())F=C[z-N.length]+N+F;else F=N+F}if(this.isZero())F="0"+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof M<"u"),this.toArrayLike(M,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var W=this.byteLength(),H=F||Math.max(1,W);X(W<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var P=V==="le",S=new G(H),A,z,T=this.clone();if(!P){for(z=0;z<H-W;z++)S[z]=0;for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[H-z-1]=A}else{for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[z]=A;for(;z<H;z++)S[z]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,F=0;if(V>=4096)F+=13,V>>>=13;if(V>=64)F+=7,V>>>=7;if(V>=8)F+=4,V>>>=4;if(V>=2)F+=2,V>>>=2;return F+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,F=0;if((V&8191)===0)F+=13,V>>>=13;if((V&127)===0)F+=7,V>>>=7;if((V&15)===0)F+=4,V>>>=4;if((V&3)===0)F+=2,V>>>=2;if((V&1)===0)F++;return F},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function v(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var W=F/26|0,H=F%26;V[F]=(G.words[W]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var F=this._zeroBits(this.words[V]);if(G+=F,F!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var F=0;F<V.length;F++)this.words[F]=this.words[F]&G.words[F];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,F;if(this.length>G.length)V=this,F=G;else V=G,F=this;for(var W=0;W<F.length;W++)this.words[W]=V.words[W]^F.words[W];if(this!==V)for(;W<V.length;W++)this.words[W]=V.words[W];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,F=G%26;if(this._expand(V),F>0)V--;for(var W=0;W<V;W++)this.words[W]=~this.words[W]&67108863;if(F>0)this.words[W]=~this.words[W]&67108863>>26-F;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var F=G/26|0,W=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<W;else this.words[F]=this.words[F]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var F,W;if(this.length>G.length)F=this,W=G;else F=G,W=this;var H=0;for(var P=0;P<W.length;P++)V=(F.words[P]|0)+(W.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;for(;H!==0&&P<F.length;P++)V=(F.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;if(this.length=F.length,H!==0)this.words[this.length]=H,this.length++;else if(F!==this)for(;P<F.length;P++)this.words[P]=F.words[P];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var F=this.cmp(G);if(F===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,H;if(F>0)W=this,H=G;else W=G,H=this;var P=0;for(var S=0;S<H.length;S++)V=(W.words[S]|0)-(H.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;for(;P!==0&&S<W.length;S++)V=(W.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,F){F.negative=V.negative^G.negative;var W=G.length+V.length|0;F.length=W,W=W-1|0;var H=G.words[0]|0,P=V.words[0]|0,S=H*P,A=S&67108863,z=S/67108864|0;F.words[0]=A;for(var T=1;T<W;T++){var g=z>>>26,N=z&67108863,c=Math.min(T,V.length-1);for(var r=Math.max(0,T-G.length+1);r<=c;r++){var U0=T-r|0;H=G.words[U0]|0,P=V.words[r]|0,S=H*P+N,g+=S/67108864|0,N=S&67108863}F.words[T]=N|0,z=g|0}if(z!==0)F.words[T]=z|0;else F.length--;return F.strip()}var w=function(G,V,F){var W=G.words,H=V.words,P=F.words,S=0,A,z,T,g=W[0]|0,N=g&8191,c=g>>>13,r=W[1]|0,U0=r&8191,O0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,h=$0&8191,n=$0>>>13,F0=W[5]|0,Y0=F0&8191,W0=F0>>>13,v0=W[6]|0,I0=v0&8191,K0=v0>>>13,I$=W[7]|0,L0=I$&8191,B0=I$>>>13,L$=W[8]|0,m0=L$&8191,p0=L$>>>13,i$=W[9]|0,c0=i$&8191,h0=i$>>>13,QU=H[0]|0,t0=QU&8191,i0=QU>>>13,RU=H[1]|0,m=RU&8191,X0=RU>>>13,e0=H[2]|0,S0=e0&8191,N0=e0>>>13,F$=H[3]|0,x0=F$&8191,y0=F$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,WU=H[5]|0,s0=WU&8191,i=WU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,O$=H[7]|0,n0=O$&8191,a0=O$>>>13,MU=H[8]|0,X$=MU&8191,U$=MU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(N,t0),z=Math.imul(N,i0),z=z+Math.imul(c,t0)|0,T=Math.imul(c,i0);var _U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,t0),z=Math.imul(U0,i0),z=z+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,X0)|0,z=z+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),z=Math.imul(s,i0),z=z+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,X0)|0,z=z+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(N,S0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(c,S0)|0,T=T+Math.imul(c,N0)|0;var S$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),z=Math.imul(Z0,i0),z=z+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,X0)|0,z=z+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,S0)|0,T=T+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,y0)|0,z=z+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var $U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(h,t0),z=Math.imul(h,i0),z=z+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,X0)|0,z=z+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,S0)|0,T=T+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,y0)|0,z=z+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(N,o0)|0,z=z+Math.imul(N,r0)|0,z=z+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),z=Math.imul(Y0,i0),z=z+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(h,m)|0,z=z+Math.imul(h,X0)|0,z=z+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,S0)|0,T=T+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,y0)|0,z=z+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,z=z+Math.imul(U0,r0)|0,z=z+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(N,s0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),z=Math.imul(I0,i0),z=z+Math.imul(K0,t0)|0,T=Math.imul(K0,i0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,X0)|0,z=z+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(h,S0)|0,z=z+Math.imul(h,N0)|0,z=z+Math.imul(n,S0)|0,T=T+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,y0)|0,z=z+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,z=z+Math.imul(s,r0)|0,z=z+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(N,_0)|0,z=z+Math.imul(N,E0)|0,z=z+Math.imul(c,_0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(L0,t0),z=Math.imul(L0,i0),z=z+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,z=z+Math.imul(I0,X0)|0,z=z+Math.imul(K0,m)|0,T=T+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(W0,S0)|0,T=T+Math.imul(W0,N0)|0,A=A+Math.imul(h,x0)|0,z=z+Math.imul(h,y0)|0,z=z+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,z=z+Math.imul(Z0,r0)|0,z=z+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,z=z+Math.imul(U0,E0)|0,z=z+Math.imul(O0,_0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,a0)|0,z=z+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),z=Math.imul(m0,i0),z=z+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(L0,m)|0,z=z+Math.imul(L0,X0)|0,z=z+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,z=z+Math.imul(I0,N0)|0,z=z+Math.imul(K0,S0)|0,T=T+Math.imul(K0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,y0)|0,z=z+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(h,o0)|0,z=z+Math.imul(h,r0)|0,z=z+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,z=z+Math.imul(s,E0)|0,z=z+Math.imul(e,_0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,a0)|0,z=z+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,U$)|0,z=z+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),z=Math.imul(c0,i0),z=z+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,z=z+Math.imul(m0,X0)|0,z=z+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(L0,S0)|0,z=z+Math.imul(L0,N0)|0,z=z+Math.imul(B0,S0)|0,T=T+Math.imul(B0,N0)|0,A=A+Math.imul(I0,x0)|0,z=z+Math.imul(I0,y0)|0,z=z+Math.imul(K0,x0)|0,T=T+Math.imul(K0,y0)|0,A=A+Math.imul(Y0,o0)|0,z=z+Math.imul(Y0,r0)|0,z=z+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(h,s0)|0,z=z+Math.imul(h,i)|0,z=z+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,z=z+Math.imul(Z0,E0)|0,z=z+Math.imul(A0,_0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,a0)|0,z=z+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,U$)|0,z=z+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(N,J$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),z=Math.imul(c0,X0),z=z+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,z=z+Math.imul(m0,N0)|0,z=z+Math.imul(p0,S0)|0,T=T+Math.imul(p0,N0)|0,A=A+Math.imul(L0,x0)|0,z=z+Math.imul(L0,y0)|0,z=z+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,z=z+Math.imul(I0,r0)|0,z=z+Math.imul(K0,o0)|0,T=T+Math.imul(K0,r0)|0,A=A+Math.imul(Y0,s0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(h,_0)|0,z=z+Math.imul(h,E0)|0,z=z+Math.imul(n,_0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,a0)|0,z=z+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,U$)|0,z=z+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var r$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(c0,S0),z=Math.imul(c0,N0),z=z+Math.imul(h0,S0)|0,T=Math.imul(h0,N0),A=A+Math.imul(m0,x0)|0,z=z+Math.imul(m0,y0)|0,z=z+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(L0,o0)|0,z=z+Math.imul(L0,r0)|0,z=z+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,z=z+Math.imul(I0,i)|0,z=z+Math.imul(K0,s0)|0,T=T+Math.imul(K0,i)|0,A=A+Math.imul(Y0,_0)|0,z=z+Math.imul(Y0,E0)|0,z=z+Math.imul(W0,_0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(h,n0)|0,z=z+Math.imul(h,a0)|0,z=z+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,U$)|0,z=z+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var LU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(c0,x0),z=Math.imul(c0,y0),z=z+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,z=z+Math.imul(m0,r0)|0,z=z+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(L0,s0)|0,z=z+Math.imul(L0,i)|0,z=z+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,_0)|0,z=z+Math.imul(I0,E0)|0,z=z+Math.imul(K0,_0)|0,T=T+Math.imul(K0,E0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,a0)|0,z=z+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(h,X$)|0,z=z+Math.imul(h,U$)|0,z=z+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),z=Math.imul(c0,r0),z=z+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,z=z+Math.imul(m0,i)|0,z=z+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(L0,_0)|0,z=z+Math.imul(L0,E0)|0,z=z+Math.imul(B0,_0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,z=z+Math.imul(I0,a0)|0,z=z+Math.imul(K0,n0)|0,T=T+Math.imul(K0,a0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,U$)|0,z=z+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(h,J$)|0,z=z+Math.imul(h,$$)|0,z=z+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),z=Math.imul(c0,i),z=z+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,_0)|0,z=z+Math.imul(m0,E0)|0,z=z+Math.imul(p0,_0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(L0,n0)|0,z=z+Math.imul(L0,a0)|0,z=z+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,z=z+Math.imul(I0,U$)|0,z=z+Math.imul(K0,X$)|0,T=T+Math.imul(K0,U$)|0,A=A+Math.imul(Y0,J$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var qU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(c0,_0),z=Math.imul(c0,E0),z=z+Math.imul(h0,_0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,z=z+Math.imul(m0,a0)|0,z=z+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(L0,X$)|0,z=z+Math.imul(L0,U$)|0,z=z+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,z=z+Math.imul(I0,$$)|0,z=z+Math.imul(K0,J$)|0,T=T+Math.imul(K0,$$)|0;var vU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(c0,n0),z=Math.imul(c0,a0),z=z+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,z=z+Math.imul(m0,U$)|0,z=z+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(L0,J$)|0,z=z+Math.imul(L0,$$)|0,z=z+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var gU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(c0,X$),z=Math.imul(c0,U$),z=z+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,z=z+Math.imul(m0,$$)|0,z=z+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),z=Math.imul(c0,$$),z=z+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((z&8191)<<13)|0;if(S=(T+(z>>>13)|0)+(AU>>>26)|0,AU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=cU,P[7]=hU,P[8]=pU,P[9]=mU,P[10]=r$,P[11]=LU,P[12]=VU,P[13]=lU,P[14]=qU,P[15]=vU,P[16]=gU,P[17]=EU,P[18]=AU,S!==0)P[19]=S,F.length++;return F};if(!Math.imul)w=y;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var W=0,H=0;for(var P=0;P<F.length-1;P++){var S=H;H=0;var A=W&67108863,z=Math.min(P,V.length-1);for(var T=Math.max(0,P-G.length+1);T<=z;T++){var g=P-T,N=G.words[g]|0,c=V.words[T]|0,r=N*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,H+=S>>>26,S&=67108863}F.words[P]=A,W=S,S=H}if(W!==0)F.words[P]=W;else F.length--;return F.strip()}function x(G,V,F){var W=new u;return W.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,W=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(W<63)F=y(this,G,V);else if(W<1024)F=b(this,G,V);else F=x(this,G,V);return F};function u(G,V){this.x=G,this.y=V}u.prototype.makeRBT=function(G){var V=Array(G),F=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)V[W]=this.revBin(W,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var W=0;for(var H=0;H<V;H++)W|=(G&1)<<V-H-1,G>>=1;return W},u.prototype.permute=function(G,V,F,W,H,P){for(var S=0;S<P;S++)W[S]=V[G[S]],H[S]=F[G[S]]},u.prototype.transform=function(G,V,F,W,H,P){this.permute(P,G,V,F,W,H);for(var S=1;S<H;S<<=1){var A=S<<1,z=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<H;g+=A){var N=z,c=T;for(var r=0;r<S;r++){var U0=F[g+r],O0=W[g+r],Q0=F[g+r+S],s=W[g+r+S],e=N*Q0-c*s;if(s=N*s+c*Q0,Q0=e,F[g+r]=U0+Q0,W[g+r]=O0+s,F[g+r+S]=U0-Q0,W[g+r+S]=O0-s,r!==A)e=z*N-T*c,c=z*c+T*N,N=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,W=F&1,H=0;for(F=F/2|0;F;F=F>>>1)H++;return 1<<H+1+W},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var W=0;W<F/2;W++){var H=G[W];G[W]=G[F-W-1],G[F-W-1]=H,H=V[W],V[W]=-V[F-W-1],V[F-W-1]=-H}},u.prototype.normalize13b=function(G,V){var F=0;for(var W=0;W<V/2;W++){var H=Math.round(G[2*W+1]/V)*8192+Math.round(G[2*W]/V)+F;if(G[W]=H&67108863,H<67108864)F=0;else F=H/67108864|0}return G},u.prototype.convert13b=function(G,V,F,W){var H=0;for(var P=0;P<V;P++)H=H+(G[P]|0),F[2*P]=H&8191,H=H>>>13,F[2*P+1]=H&8191,H=H>>>13;for(P=2*V;P<W;++P)F[P]=0;X(H===0),X((H&-8192)===0)},u.prototype.stub=function(G){var V=Array(G);for(var F=0;F<G;F++)V[F]=0;return V},u.prototype.mulp=function(G,V,F){var W=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),z=Array(W),T=Array(W),g=Array(W),N=Array(W),c=F.words;c.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(V.words,V.length,T,W),this.transform(S,P,A,z,W,H),this.transform(T,P,g,N,W,H);for(var r=0;r<W;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,W),this.transform(A,z,c,P,W,H),this.conjugate(c,P,W),this.normalize13b(c,W),F.negative=G.negative^V.negative,F.length=G.length+V.length,F.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),x(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var F=0;F<this.length;F++){var W=(this.words[F]|0)*G,H=(W&67108863)+(V&67108863);V>>=26,V+=W/67108864|0,V+=H>>>26,this.words[F]=H&67108863}if(V!==0)this.words[F]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=v(G);if(V.length===0)return new Z(1);var F=this;for(var W=0;W<V.length;W++,F=F.sqr())if(V[W]!==0)break;if(++W<V.length)for(var H=F.sqr();W<V.length;W++,H=H.sqr()){if(V[W]===0)continue;F=F.mul(H)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=67108863>>>26-V<<26-V,H;if(V!==0){var P=0;for(H=0;H<this.length;H++){var S=this.words[H]&W,A=(this.words[H]|0)-S<<V;this.words[H]=A|P,P=S>>>26-V}if(P)this.words[H]=P,this.length++}if(F!==0){for(H=this.length-1;H>=0;H--)this.words[H+F]=this.words[H];for(H=0;H<F;H++)this.words[H]=0;this.length+=F}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,F){X(typeof G==="number"&&G>=0);var W;if(V)W=(V-V%26)/26;else W=0;var H=G%26,P=Math.min((G-H)/26,this.length),S=67108863^67108863>>>H<<H,A=F;if(W-=P,W=Math.max(0,W),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var T=0;for(z=this.length-1;z>=0&&(T!==0||z>=W);z--){var g=this.words[z]|0;this.words[z]=T<<26-H|g>>>H,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,F){return X(this.negative===0),this.iushrn(G,V,F)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return!1;var H=this.words[F];return!!(H&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=F)return this;if(V!==0)F++;if(this.length=Math.min(F,this.length),V!==0){var W=67108863^67108863>>>V<<V;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var V=0;V<this.length&&this.words[V]>=67108864;V++)if(this.words[V]-=67108864,V===this.length-1)this.words[V+1]=1;else this.words[V+1]++;return this.length=Math.max(this.length,V+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,F){var W=G.length+F,H;this._expand(W);var P,S=0;for(H=0;H<G.length;H++){P=(this.words[H+F]|0)+S;var A=(G.words[H]|0)*V;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[H+F]=P&67108863}for(;H<this.length-F;H++)P=(this.words[H+F]|0)+S,S=P>>26,this.words[H+F]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(H=0;H<this.length;H++)P=-(this.words[H]|0)+S,S=P>>26,this.words[H]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,W=this.clone(),H=G,P=H.words[H.length-1]|0,S=this._countBits(P);if(F=26-S,F!==0)H=H.ushln(F),W.iushln(F),P=H.words[H.length-1]|0;var A=W.length-H.length,z;if(V!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var T=0;T<z.length;T++)z.words[T]=0}var g=W.clone()._ishlnsubmul(H,1,A);if(g.negative===0){if(W=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var c=(W.words[H.length+N]|0)*67108864+(W.words[H.length+N-1]|0);c=Math.min(c/P|0,67108863),W._ishlnsubmul(H,c,N);while(W.negative!==0)if(c--,W.negative=0,W._ishlnsubmul(H,1,N),!W.isZero())W.negative^=1;if(z)z.words[N]=c}if(z)z.strip();if(W.strip(),V!=="div"&&F!==0)W.iushrn(F);return{div:z||null,mod:W}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,H,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,V),V!=="mod")W=P.div.neg();if(V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.iadd(G)}return{div:W,mod:H}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),V),V!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),V),V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.isub(G)}return{div:P.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var F=V.div.negative!==0?V.mod.isub(G):V.mod,W=G.ushrn(1),H=G.andln(1),P=F.cmp(W);if(P<0||H===1&&P===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,F=0;for(var W=this.length-1;W>=0;W--)F=(V*F+(this.words[W]|0))%G;return F},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var F=this.length-1;F>=0;F--){var W=(this.words[F]|0)+V*67108864;this.words[F]=W/G|0,V=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var z=F.clone(),T=V.clone();while(!V.isZero()){for(var g=0,N=1;(V.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){V.iushrn(g);while(g-- >0){if(W.isOdd()||H.isOdd())W.iadd(z),H.isub(T);W.iushrn(1),H.iushrn(1)}}for(var c=0,r=1;(F.words[0]&r)===0&&c<26;++c,r<<=1);if(c>0){F.iushrn(c);while(c-- >0){if(P.isOdd()||S.isOdd())P.iadd(z),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(P),H.isub(S);else F.isub(V),P.isub(W),S.isub(H)}return{a:P,b:S,gcd:F.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=F.clone();while(V.cmpn(1)>0&&F.cmpn(1)>0){for(var S=0,A=1;(V.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){V.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var z=0,T=1;(F.words[0]&T)===0&&z<26;++z,T<<=1);if(z>0){F.iushrn(z);while(z-- >0){if(H.isOdd())H.iadd(P);H.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(H);else F.isub(V),H.isub(W)}var g;if(V.cmpn(1)===0)g=W;else g=H;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),F=G.clone();V.negative=0,F.negative=0;for(var W=0;V.isEven()&&F.isEven();W++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var H=V.cmp(F);if(H<0){var P=V;V=F,F=P}else if(H===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=W,this;var H=W;for(var P=F;H!==0&&P<this.length;P++){var S=this.words[P]|0;S+=H,H=S>>>26,S&=67108863,this.words[P]=S}if(H!==0)this.words[P]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var F;if(this.length>1)F=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;F=W===G?0:W<G?-1:1}if(this.negative!==0)return-F|0;return F},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var F=this.length-1;F>=0;F--){var W=this.words[F]|0,H=G.words[F]|0;if(W===H)continue;if(W<H)V=-1;else if(W>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,F;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),F=V.bitLength();while(F>this.n);var W=F<this.n?-1:V.ucmp(this.p);if(W===0)V.words[0]=0,V.length=1;else if(W>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,V){var F=4194303,W=Math.min(G.length,9);for(var H=0;H<W;H++)V.words[H]=G.words[H];if(V.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];V.words[V.length++]=P&F;for(H=10;H<G.length;H++){var S=G.words[H]|0;G.words[H-10]=(S&F)<<4|P>>>22,P=S}if(P>>>=22,G.words[H-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var F=0;F<G.length;F++){var W=G.words[F]|0;V+=W*977,G.words[F]=V&67108863,V=W*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(H0,d);function M0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(M0,d);function q0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(q0,d),q0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var W=(G.words[F]|0)*19+V,H=W&67108863;W>>>=26,G.words[F]=H,V=W}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new M0;else if(G==="p25519")V=new q0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var F=G.add(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var F=G.iadd(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F},t.prototype.sub=function(G,V){this._verify2(G,V);var F=G.sub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var F=G.isub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var F=this.m.add(new Z(1)).iushrn(2);return this.pow(G,F)}var W=this.m.subn(1),H=0;while(!W.isZero()&&W.andln(1)===0)H++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(S)!==0)z.redIAdd(S);var T=this.pow(z,W),g=this.pow(G,W.addn(1).iushrn(1)),N=this.pow(G,W),c=H;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<c);var O0=this.pow(T,new Z(1).iushln(c-U0-1));g=g.redMul(O0),T=O0.redSqr(),N=N.redMul(T),c=U0}return g},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var F=4,W=Array(1<<F);W[0]=new Z(1).toRed(this),W[1]=G;for(var H=2;H<W.length;H++)W[H]=this.mul(W[H-1],G);var P=W[0],S=0,A=0,z=V.bitLength()%26;if(z===0)z=26;for(H=V.length-1;H>=0;H--){var T=V.words[H];for(var g=z-1;g>=0;g--){var N=T>>g&1;if(P!==W[0])P=this.sqr(P);if(N===0&&S===0){A=0;continue}if(S<<=1,S|=N,A++,A!==F&&(H!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}z=26}return P},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},T0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var F=G.imul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),QX=b0((I,J)=>{J.exports=Y;function Y(K,X){if(!K)throw Error(X||"Assertion failed")}Y.equal=function(K,X,O){if(K!=X)throw Error(O||"Assertion failed: "+K+" != "+X)}}),lE=b0((I)=>{var J=I;function Y(O,Z){if(Array.isArray(O))return O.slice();if(!O)return[];var M=[];if(typeof O!=="string"){for(var j=0;j<O.length;j++)M[j]=O[j]|0;return M}if(Z==="hex"){if(O=O.replace(/[^a-z0-9]+/ig,""),O.length%2!==0)O="0"+O;for(var j=0;j<O.length;j+=2)M.push(parseInt(O[j]+O[j+1],16))}else for(var j=0;j<O.length;j++){var q=O.charCodeAt(j),E=q>>8,C=q&255;if(E)M.push(E,C);else M.push(C)}return M}J.toArray=Y;function K(O){if(O.length===1)return"0"+O;else return O}J.zero2=K;function X(O){var Z="";for(var M=0;M<O.length;M++)Z+=K(O[M].toString(16));return Z}J.toHex=X,J.encode=function(O,Z){if(Z==="hex")return X(O);else return O}}),y4=b0((I)=>{var J=I,Y=WI(),K=QX(),X=lE();J.assert=K,J.toArray=X.toArray,J.zero2=X.zero2,J.toHex=X.toHex,J.encode=X.encode;function O(E,C,_){var B=Array(Math.max(E.bitLength(),_)+1),v;for(v=0;v<B.length;v+=1)B[v]=0;var y=1<<C+1,w=E.clone();for(v=0;v<B.length;v++){var b,x=w.andln(y-1);if(w.isOdd()){if(x>(y>>1)-1)b=(y>>1)-x;else b=x;w.isubn(b)}else b=0;B[v]=b,w.iushrn(1)}return B}J.getNAF=O;function Z(E,C){var _=[[],[]];E=E.clone(),C=C.clone();var B=0,v=0,y;while(E.cmpn(-B)>0||C.cmpn(-v)>0){var w=E.andln(3)+B&3,b=C.andln(3)+v&3;if(w===3)w=-1;if(b===3)b=-1;var x;if((w&1)===0)x=0;else if(y=E.andln(7)+B&7,(y===3||y===5)&&b===2)x=-w;else x=w;_[0].push(x);var u;if((b&1)===0)u=0;else if(y=C.andln(7)+v&7,(y===3||y===5)&&w===2)u=-b;else u=b;if(_[1].push(u),2*B===x+1)B=1-B;if(2*v===u+1)v=1-v;E.iushrn(1),C.iushrn(1)}return _}J.getJSF=Z;function M(E,C,_){var B="_"+C;E.prototype[C]=function(){return this[B]!==void 0?this[B]:this[B]=_.call(this)}}J.cachedProperty=M;function j(E){return typeof E==="string"?J.toArray(E,"hex"):E}J.parseBytes=j;function q(E){return new Y(E,"hex","le")}J.intFromLE=q}),dE=b0((I,J)=>{var Y;J.exports=function(O){if(!Y)Y=new K(null);return Y.generate(O)};function K(O){this.rand=O}if(J.exports.Rand=K,K.prototype.generate=function(O){return this._rand(O)},K.prototype._rand=function(O){if(this.rand.getBytes)return this.rand.getBytes(O);var Z=new Uint8Array(O);for(var M=0;M<Z.length;M++)Z[M]=this.rand.getByte();return Z},typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues)K.prototype._rand=function(O){var Z=new Uint8Array(O);return self.crypto.getRandomValues(Z),Z};else if(self.msCrypto&&self.msCrypto.getRandomValues)K.prototype._rand=function(O){var Z=new Uint8Array(O);return self.msCrypto.getRandomValues(Z),Z};else if(typeof window==="object")K.prototype._rand=function(){throw Error("Not implemented yet")}}else try{if(X=(uU(),j$(M4)),typeof X.randomBytes!=="function")throw Error("Not supported");K.prototype._rand=function(O){return X.randomBytes(O)}}catch(O){}var X}),TO=b0((I,J)=>{var Y=WI(),K=y4(),X=K.getNAF,O=K.getJSF,Z=K.assert;function M(q,E){this.type=q,this.p=new Y(E.p,16),this.red=E.prime?Y.red(E.prime):Y.mont(this.p),this.zero=new Y(0).toRed(this.red),this.one=new Y(1).toRed(this.red),this.two=new Y(2).toRed(this.red),this.n=E.n&&new Y(E.n,16),this.g=E.g&&this.pointFromJSON(E.g,E.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var C=this.n&&this.p.div(this.n);if(!C||C.cmpn(100)>0)this.redN=null;else this._maxwellTrick=!0,this.redN=this.n.toRed(this.red)}J.exports=M,M.prototype.point=function(){throw Error("Not implemented")},M.prototype.validate=function(){throw Error("Not implemented")},M.prototype._fixedNafMul=function(q,E){Z(q.precomputed);var C=q._getDoubles(),_=X(E,1,this._bitLength),B=(1<<C.step+1)-(C.step%2===0?2:1);B/=3;var v=[],y,w;for(y=0;y<_.length;y+=C.step){w=0;for(var b=y+C.step-1;b>=y;b--)w=(w<<1)+_[b];v.push(w)}var x=this.jpoint(null,null,null),u=this.jpoint(null,null,null);for(var p=B;p>0;p--){for(y=0;y<v.length;y++)if(w=v[y],w===p)u=u.mixedAdd(C.points[y]);else if(w===-p)u=u.mixedAdd(C.points[y].neg());x=x.add(u)}return x.toP()},M.prototype._wnafMul=function(q,E){var C=4,_=q._getNAFPoints(C);C=_.wnd;var B=_.points,v=X(E,C,this._bitLength),y=this.jpoint(null,null,null);for(var w=v.length-1;w>=0;w--){for(var b=0;w>=0&&v[w]===0;w--)b++;if(w>=0)b++;if(y=y.dblp(b),w<0)break;var x=v[w];if(Z(x!==0),q.type==="affine")if(x>0)y=y.mixedAdd(B[x-1>>1]);else y=y.mixedAdd(B[-x-1>>1].neg());else if(x>0)y=y.add(B[x-1>>1]);else y=y.add(B[-x-1>>1].neg())}return q.type==="affine"?y.toP():y},M.prototype._wnafMulAdd=function(q,E,C,_,B){var v=this._wnafT1,y=this._wnafT2,w=this._wnafT3,b=0,x,u,p;for(x=0;x<_;x++){p=E[x];var d=p._getNAFPoints(q);v[x]=d.wnd,y[x]=d.points}for(x=_-1;x>=1;x-=2){var a=x-1,H0=x;if(v[a]!==1||v[H0]!==1){w[a]=X(C[a],v[a],this._bitLength),w[H0]=X(C[H0],v[H0],this._bitLength),b=Math.max(w[a].length,b),b=Math.max(w[H0].length,b);continue}var M0=[E[a],null,null,E[H0]];if(E[a].y.cmp(E[H0].y)===0)M0[1]=E[a].add(E[H0]),M0[2]=E[a].toJ().mixedAdd(E[H0].neg());else if(E[a].y.cmp(E[H0].y.redNeg())===0)M0[1]=E[a].toJ().mixedAdd(E[H0]),M0[2]=E[a].add(E[H0].neg());else M0[1]=E[a].toJ().mixedAdd(E[H0]),M0[2]=E[a].toJ().mixedAdd(E[H0].neg());var q0=[-3,-1,-5,-7,0,7,5,1,3],t=O(C[a],C[H0]);b=Math.max(t[0].length,b),w[a]=Array(b),w[H0]=Array(b);for(u=0;u<b;u++){var T0=t[0][u]|0,G=t[1][u]|0;w[a][u]=q0[(T0+1)*3+(G+1)],w[H0][u]=0,y[a]=M0}}var V=this.jpoint(null,null,null),F=this._wnafT4;for(x=b;x>=0;x--){var W=0;while(x>=0){var H=!0;for(u=0;u<_;u++)if(F[u]=w[u][x]|0,F[u]!==0)H=!1;if(!H)break;W++,x--}if(x>=0)W++;if(V=V.dblp(W),x<0)break;for(u=0;u<_;u++){var P=F[u];if(P===0)continue;else if(P>0)p=y[u][P-1>>1];else if(P<0)p=y[u][-P-1>>1].neg();if(p.type==="affine")V=V.mixedAdd(p);else V=V.add(p)}}for(x=0;x<_;x++)y[x]=null;if(B)return V;else return V.toP()};function j(q,E){this.curve=q,this.type=E,this.precomputed=null}M.BasePoint=j,j.prototype.eq=function(){throw Error("Not implemented")},j.prototype.validate=function(){return this.curve.validate(this)},M.prototype.decodePoint=function(q,E){q=K.toArray(q,E);var C=this.p.byteLength();if((q[0]===4||q[0]===6||q[0]===7)&&q.length-1===2*C){if(q[0]===6)Z(q[q.length-1]%2===0);else if(q[0]===7)Z(q[q.length-1]%2===1);var _=this.point(q.slice(1,1+C),q.slice(1+C,1+2*C));return _}else if((q[0]===2||q[0]===3)&&q.length-1===C)return this.pointFromX(q.slice(1,1+C),q[0]===3);throw Error("Unknown point format")},j.prototype.encodeCompressed=function(q){return this.encode(q,!0)},j.prototype._encode=function(q){var E=this.curve.p.byteLength(),C=this.getX().toArray("be",E);if(q)return[this.getY().isEven()?2:3].concat(C);return[4].concat(C,this.getY().toArray("be",E))},j.prototype.encode=function(q,E){return K.encode(this._encode(E),q)},j.prototype.precompute=function(q){if(this.precomputed)return this;var E={doubles:null,naf:null,beta:null};return E.naf=this._getNAFPoints(8),E.doubles=this._getDoubles(4,q),E.beta=this._getBeta(),this.precomputed=E,this},j.prototype._hasDoubles=function(q){if(!this.precomputed)return!1;var E=this.precomputed.doubles;if(!E)return!1;return E.points.length>=Math.ceil((q.bitLength()+1)/E.step)},j.prototype._getDoubles=function(q,E){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var C=[this],_=this;for(var B=0;B<E;B+=q){for(var v=0;v<q;v++)_=_.dbl();C.push(_)}return{step:q,points:C}},j.prototype._getNAFPoints=function(q){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var E=[this],C=(1<<q)-1,_=C===1?null:this.dbl();for(var B=1;B<C;B++)E[B]=E[B-1].add(_);return{wnd:q,points:E}},j.prototype._getBeta=function(){return null},j.prototype.dblp=function(q){var E=this;for(var C=0;C<q;C++)E=E.dbl();return E}}),iw=b0((I,J)=>{if(typeof Object.create==="function")J.exports=function(Y,K){if(K)Y.super_=K,Y.prototype=Object.create(K.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,K){if(K){Y.super_=K;var X=function(){};X.prototype=K.prototype,Y.prototype=new X,Y.prototype.constructor=Y}}}),H4=b0((I,J)=>{try{if(Y=(EQ(),j$(qQ)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(K){J.exports=iw()}var Y}),rw=b0((I,J)=>{var Y=y4(),K=WI(),X=H4(),O=TO(),Z=Y.assert;function M(E){O.call(this,"short",E),this.a=new K(E.a,16).toRed(this.red),this.b=new K(E.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(E),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}X(M,O),J.exports=M,M.prototype._getEndomorphism=function(E){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var C,_;if(E.beta)C=new K(E.beta,16).toRed(this.red);else{var B=this._getEndoRoots(this.p);C=B[0].cmp(B[1])<0?B[0]:B[1],C=C.toRed(this.red)}if(E.lambda)_=new K(E.lambda,16);else{var v=this._getEndoRoots(this.n);if(this.g.mul(v[0]).x.cmp(this.g.x.redMul(C))===0)_=v[0];else _=v[1],Z(this.g.mul(_).x.cmp(this.g.x.redMul(C))===0)}var y;if(E.basis)y=E.basis.map(function(w){return{a:new K(w.a,16),b:new K(w.b,16)}});else y=this._getEndoBasis(_);return{beta:C,lambda:_,basis:y}},M.prototype._getEndoRoots=function(E){var C=E===this.p?this.red:K.mont(E),_=new K(2).toRed(C).redInvm(),B=_.redNeg(),v=new K(3).toRed(C).redNeg().redSqrt().redMul(_),y=B.redAdd(v).fromRed(),w=B.redSub(v).fromRed();return[y,w]},M.prototype._getEndoBasis=function(E){var C=this.n.ushrn(Math.floor(this.n.bitLength()/2)),_=E,B=this.n.clone(),v=new K(1),y=new K(0),w=new K(0),b=new K(1),x,u,p,d,a,H0,M0,q0=0,t,T0;while(_.cmpn(0)!==0){var G=B.div(_);t=B.sub(G.mul(_)),T0=w.sub(G.mul(v));var V=b.sub(G.mul(y));if(!p&&t.cmp(C)<0)x=M0.neg(),u=v,p=t.neg(),d=T0;else if(p&&++q0===2)break;M0=t,B=_,_=t,w=v,v=T0,b=y,y=V}a=t.neg(),H0=T0;var F=p.sqr().add(d.sqr()),W=a.sqr().add(H0.sqr());if(W.cmp(F)>=0)a=x,H0=u;if(p.negative)p=p.neg(),d=d.neg();if(a.negative)a=a.neg(),H0=H0.neg();return[{a:p,b:d},{a,b:H0}]},M.prototype._endoSplit=function(E){var C=this.endo.basis,_=C[0],B=C[1],v=B.b.mul(E).divRound(this.n),y=_.b.neg().mul(E).divRound(this.n),w=v.mul(_.a),b=y.mul(B.a),x=v.mul(_.b),u=y.mul(B.b),p=E.sub(w).sub(b),d=x.add(u).neg();return{k1:p,k2:d}},M.prototype.pointFromX=function(E,C){if(E=new K(E,16),!E.red)E=E.toRed(this.red);var _=E.redSqr().redMul(E).redIAdd(E.redMul(this.a)).redIAdd(this.b),B=_.redSqrt();if(B.redSqr().redSub(_).cmp(this.zero)!==0)throw Error("invalid point");var v=B.fromRed().isOdd();if(C&&!v||!C&&v)B=B.redNeg();return this.point(E,B)},M.prototype.validate=function(E){if(E.inf)return!0;var{x:C,y:_}=E,B=this.a.redMul(C),v=C.redSqr().redMul(C).redIAdd(B).redIAdd(this.b);return _.redSqr().redISub(v).cmpn(0)===0},M.prototype._endoWnafMulAdd=function(E,C,_){var B=this._endoWnafT1,v=this._endoWnafT2;for(var y=0;y<E.length;y++){var w=this._endoSplit(C[y]),b=E[y],x=b._getBeta();if(w.k1.negative)w.k1.ineg(),b=b.neg(!0);if(w.k2.negative)w.k2.ineg(),x=x.neg(!0);B[y*2]=b,B[y*2+1]=x,v[y*2]=w.k1,v[y*2+1]=w.k2}var u=this._wnafMulAdd(1,B,v,y*2,_);for(var p=0;p<y*2;p++)B[p]=null,v[p]=null;return u};function j(E,C,_,B){if(O.BasePoint.call(this,E,"affine"),C===null&&_===null)this.x=null,this.y=null,this.inf=!0;else{if(this.x=new K(C,16),this.y=new K(_,16),B)this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);this.inf=!1}}X(j,O.BasePoint),M.prototype.point=function(E,C,_){return new j(this,E,C,_)},M.prototype.pointFromJSON=function(E,C){return j.fromJSON(this,E,C)},j.prototype._getBeta=function(){if(!this.curve.endo)return;var E=this.precomputed;if(E&&E.beta)return E.beta;var C=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(E){var _=this.curve,B=function(v){return _.point(v.x.redMul(_.endo.beta),v.y)};E.beta=C,C.precomputed={beta:null,naf:E.naf&&{wnd:E.naf.wnd,points:E.naf.points.map(B)},doubles:E.doubles&&{step:E.doubles.step,points:E.doubles.points.map(B)}}}return C},j.prototype.toJSON=function(){if(!this.precomputed)return[this.x,this.y];return[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]},j.fromJSON=function(E,C,_){if(typeof C==="string")C=JSON.parse(C);var B=E.point(C[0],C[1],_);if(!C[2])return B;function v(w){return E.point(w[0],w[1],_)}var y=C[2];return B.precomputed={beta:null,doubles:y.doubles&&{step:y.doubles.step,points:[B].concat(y.doubles.points.map(v))},naf:y.naf&&{wnd:y.naf.wnd,points:[B].concat(y.naf.points.map(v))}},B},j.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},j.prototype.isInfinity=function(){return this.inf},j.prototype.add=function(E){if(this.inf)return E;if(E.inf)return this;if(this.eq(E))return this.dbl();if(this.neg().eq(E))return this.curve.point(null,null);if(this.x.cmp(E.x)===0)return this.curve.point(null,null);var C=this.y.redSub(E.y);if(C.cmpn(0)!==0)C=C.redMul(this.x.redSub(E.x).redInvm());var _=C.redSqr().redISub(this.x).redISub(E.x),B=C.redMul(this.x.redSub(_)).redISub(this.y);return this.curve.point(_,B)},j.prototype.dbl=function(){if(this.inf)return this;var E=this.y.redAdd(this.y);if(E.cmpn(0)===0)return this.curve.point(null,null);var C=this.curve.a,_=this.x.redSqr(),B=E.redInvm(),v=_.redAdd(_).redIAdd(_).redIAdd(C).redMul(B),y=v.redSqr().redISub(this.x.redAdd(this.x)),w=v.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,w)},j.prototype.getX=function(){return this.x.fromRed()},j.prototype.getY=function(){return this.y.fromRed()},j.prototype.mul=function(E){if(E=new K(E,16),this.isInfinity())return this;else if(this._hasDoubles(E))return this.curve._fixedNafMul(this,E);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[E]);else return this.curve._wnafMul(this,E)},j.prototype.mulAdd=function(E,C,_){var B=[this,C],v=[E,_];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,v);else return this.curve._wnafMulAdd(1,B,v,2)},j.prototype.jmulAdd=function(E,C,_){var B=[this,C],v=[E,_];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,v,!0);else return this.curve._wnafMulAdd(1,B,v,2,!0)},j.prototype.eq=function(E){return this===E||this.inf===E.inf&&(this.inf||this.x.cmp(E.x)===0&&this.y.cmp(E.y)===0)},j.prototype.neg=function(E){if(this.inf)return this;var C=this.curve.point(this.x,this.y.redNeg());if(E&&this.precomputed){var _=this.precomputed,B=function(v){return v.neg()};C.precomputed={naf:_.naf&&{wnd:_.naf.wnd,points:_.naf.points.map(B)},doubles:_.doubles&&{step:_.doubles.step,points:_.doubles.points.map(B)}}}return C},j.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var E=this.curve.jpoint(this.x,this.y,this.curve.one);return E};function q(E,C,_,B){if(O.BasePoint.call(this,E,"jacobian"),C===null&&_===null&&B===null)this.x=this.curve.one,this.y=this.curve.one,this.z=new K(0);else this.x=new K(C,16),this.y=new K(_,16),this.z=new K(B,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);this.zOne=this.z===this.curve.one}X(q,O.BasePoint),M.prototype.jpoint=function(E,C,_){return new q(this,E,C,_)},q.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var E=this.z.redInvm(),C=E.redSqr(),_=this.x.redMul(C),B=this.y.redMul(C).redMul(E);return this.curve.point(_,B)},q.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},q.prototype.add=function(E){if(this.isInfinity())return E;if(E.isInfinity())return this;var C=E.z.redSqr(),_=this.z.redSqr(),B=this.x.redMul(C),v=E.x.redMul(_),y=this.y.redMul(C.redMul(E.z)),w=E.y.redMul(_.redMul(this.z)),b=B.redSub(v),x=y.redSub(w);if(b.cmpn(0)===0)if(x.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var u=b.redSqr(),p=u.redMul(b),d=B.redMul(u),a=x.redSqr().redIAdd(p).redISub(d).redISub(d),H0=x.redMul(d.redISub(a)).redISub(y.redMul(p)),M0=this.z.redMul(E.z).redMul(b);return this.curve.jpoint(a,H0,M0)},q.prototype.mixedAdd=function(E){if(this.isInfinity())return E.toJ();if(E.isInfinity())return this;var C=this.z.redSqr(),_=this.x,B=E.x.redMul(C),v=this.y,y=E.y.redMul(C).redMul(this.z),w=_.redSub(B),b=v.redSub(y);if(w.cmpn(0)===0)if(b.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var x=w.redSqr(),u=x.redMul(w),p=_.redMul(x),d=b.redSqr().redIAdd(u).redISub(p).redISub(p),a=b.redMul(p.redISub(d)).redISub(v.redMul(u)),H0=this.z.redMul(w);return this.curve.jpoint(d,a,H0)},q.prototype.dblp=function(E){if(E===0)return this;if(this.isInfinity())return this;if(!E)return this.dbl();var C;if(this.curve.zeroA||this.curve.threeA){var _=this;for(C=0;C<E;C++)_=_.dbl();return _}var B=this.curve.a,v=this.curve.tinv,y=this.x,w=this.y,b=this.z,x=b.redSqr().redSqr(),u=w.redAdd(w);for(C=0;C<E;C++){var p=y.redSqr(),d=u.redSqr(),a=d.redSqr(),H0=p.redAdd(p).redIAdd(p).redIAdd(B.redMul(x)),M0=y.redMul(d),q0=H0.redSqr().redISub(M0.redAdd(M0)),t=M0.redISub(q0),T0=H0.redMul(t);T0=T0.redIAdd(T0).redISub(a);var G=u.redMul(b);if(C+1<E)x=x.redMul(a);y=q0,b=G,u=T0}return this.curve.jpoint(y,u.redMul(v),b)},q.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.zeroA)return this._zeroDbl();else if(this.curve.threeA)return this._threeDbl();else return this._dbl()},q.prototype._zeroDbl=function(){var E,C,_;if(this.zOne){var B=this.x.redSqr(),v=this.y.redSqr(),y=v.redSqr(),w=this.x.redAdd(v).redSqr().redISub(B).redISub(y);w=w.redIAdd(w);var b=B.redAdd(B).redIAdd(B),x=b.redSqr().redISub(w).redISub(w),u=y.redIAdd(y);u=u.redIAdd(u),u=u.redIAdd(u),E=x,C=b.redMul(w.redISub(x)).redISub(u),_=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),d=this.y.redSqr(),a=d.redSqr(),H0=this.x.redAdd(d).redSqr().redISub(p).redISub(a);H0=H0.redIAdd(H0);var M0=p.redAdd(p).redIAdd(p),q0=M0.redSqr(),t=a.redIAdd(a);t=t.redIAdd(t),t=t.redIAdd(t),E=q0.redISub(H0).redISub(H0),C=M0.redMul(H0.redISub(E)).redISub(t),_=this.y.redMul(this.z),_=_.redIAdd(_)}return this.curve.jpoint(E,C,_)},q.prototype._threeDbl=function(){var E,C,_;if(this.zOne){var B=this.x.redSqr(),v=this.y.redSqr(),y=v.redSqr(),w=this.x.redAdd(v).redSqr().redISub(B).redISub(y);w=w.redIAdd(w);var b=B.redAdd(B).redIAdd(B).redIAdd(this.curve.a),x=b.redSqr().redISub(w).redISub(w);E=x;var u=y.redIAdd(y);u=u.redIAdd(u),u=u.redIAdd(u),C=b.redMul(w.redISub(x)).redISub(u),_=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),d=this.y.redSqr(),a=this.x.redMul(d),H0=this.x.redSub(p).redMul(this.x.redAdd(p));H0=H0.redAdd(H0).redIAdd(H0);var M0=a.redIAdd(a);M0=M0.redIAdd(M0);var q0=M0.redAdd(M0);E=H0.redSqr().redISub(q0),_=this.y.redAdd(this.z).redSqr().redISub(d).redISub(p);var t=d.redSqr();t=t.redIAdd(t),t=t.redIAdd(t),t=t.redIAdd(t),C=H0.redMul(M0.redISub(E)).redISub(t)}return this.curve.jpoint(E,C,_)},q.prototype._dbl=function(){var E=this.curve.a,C=this.x,_=this.y,B=this.z,v=B.redSqr().redSqr(),y=C.redSqr(),w=_.redSqr(),b=y.redAdd(y).redIAdd(y).redIAdd(E.redMul(v)),x=C.redAdd(C);x=x.redIAdd(x);var u=x.redMul(w),p=b.redSqr().redISub(u.redAdd(u)),d=u.redISub(p),a=w.redSqr();a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var H0=b.redMul(d).redISub(a),M0=_.redAdd(_).redMul(B);return this.curve.jpoint(p,H0,M0)},q.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var E=this.x.redSqr(),C=this.y.redSqr(),_=this.z.redSqr(),B=C.redSqr(),v=E.redAdd(E).redIAdd(E),y=v.redSqr(),w=this.x.redAdd(C).redSqr().redISub(E).redISub(B);w=w.redIAdd(w),w=w.redAdd(w).redIAdd(w),w=w.redISub(y);var b=w.redSqr(),x=B.redIAdd(B);x=x.redIAdd(x),x=x.redIAdd(x),x=x.redIAdd(x);var u=v.redIAdd(w).redSqr().redISub(y).redISub(b).redISub(x),p=C.redMul(u);p=p.redIAdd(p),p=p.redIAdd(p);var d=this.x.redMul(b).redISub(p);d=d.redIAdd(d),d=d.redIAdd(d);var a=this.y.redMul(u.redMul(x.redISub(u)).redISub(w.redMul(b)));a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var H0=this.z.redAdd(w).redSqr().redISub(_).redISub(b);return this.curve.jpoint(d,a,H0)},q.prototype.mul=function(E,C){return E=new K(E,C),this.curve._wnafMul(this,E)},q.prototype.eq=function(E){if(E.type==="affine")return this.eq(E.toJ());if(this===E)return!0;var C=this.z.redSqr(),_=E.z.redSqr();if(this.x.redMul(_).redISub(E.x.redMul(C)).cmpn(0)!==0)return!1;var B=C.redMul(this.z),v=_.redMul(E.z);return this.y.redMul(v).redISub(E.y.redMul(B)).cmpn(0)===0},q.prototype.eqXToP=function(E){var C=this.z.redSqr(),_=E.toRed(this.curve.red).redMul(C);if(this.x.cmp(_)===0)return!0;var B=E.clone(),v=this.curve.redN.redMul(C);for(;;){if(B.iadd(this.curve.n),B.cmp(this.curve.p)>=0)return!1;if(_.redIAdd(v),this.x.cmp(_)===0)return!0}},q.prototype.inspect=function(){if(this.isInfinity())return"<EC JPoint Infinity>";return"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},q.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),tw=b0((I,J)=>{var Y=WI(),K=H4(),X=TO(),O=y4();function Z(j){X.call(this,"mont",j),this.a=new Y(j.a,16).toRed(this.red),this.b=new Y(j.b,16).toRed(this.red),this.i4=new Y(4).toRed(this.red).redInvm(),this.two=new Y(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}K(Z,X),J.exports=Z,Z.prototype.validate=function(j){var q=j.normalize().x,E=q.redSqr(),C=E.redMul(q).redAdd(E.redMul(this.a)).redAdd(q),_=C.redSqrt();return _.redSqr().cmp(C)===0};function M(j,q,E){if(X.BasePoint.call(this,j,"projective"),q===null&&E===null)this.x=this.curve.one,this.z=this.curve.zero;else{if(this.x=new Y(q,16),this.z=new Y(E,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red)}}K(M,X.BasePoint),Z.prototype.decodePoint=function(j,q){return this.point(O.toArray(j,q),1)},Z.prototype.point=function(j,q){return new M(this,j,q)},Z.prototype.pointFromJSON=function(j){return M.fromJSON(this,j)},M.prototype.precompute=function(){},M.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},M.fromJSON=function(j,q){return new M(j,q[0],q[1]||j.one)},M.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},M.prototype.isInfinity=function(){return this.z.cmpn(0)===0},M.prototype.dbl=function(){var j=this.x.redAdd(this.z),q=j.redSqr(),E=this.x.redSub(this.z),C=E.redSqr(),_=q.redSub(C),B=q.redMul(C),v=_.redMul(C.redAdd(this.curve.a24.redMul(_)));return this.curve.point(B,v)},M.prototype.add=function(){throw Error("Not supported on Montgomery curve")},M.prototype.diffAdd=function(j,q){var E=this.x.redAdd(this.z),C=this.x.redSub(this.z),_=j.x.redAdd(j.z),B=j.x.redSub(j.z),v=B.redMul(E),y=_.redMul(C),w=q.z.redMul(v.redAdd(y).redSqr()),b=q.x.redMul(v.redISub(y).redSqr());return this.curve.point(w,b)},M.prototype.mul=function(j){var q=j.clone(),E=this,C=this.curve.point(null,null),_=this;for(var B=[];q.cmpn(0)!==0;q.iushrn(1))B.push(q.andln(1));for(var v=B.length-1;v>=0;v--)if(B[v]===0)E=E.diffAdd(C,_),C=C.dbl();else C=E.diffAdd(C,_),E=E.dbl();return C},M.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},M.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},M.prototype.eq=function(j){return this.getX().cmp(j.getX())===0},M.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},M.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}),aw=b0((I,J)=>{var Y=y4(),K=WI(),X=H4(),O=TO(),Z=Y.assert;function M(q){this.twisted=(q.a|0)!==1,this.mOneA=this.twisted&&(q.a|0)===-1,this.extended=this.mOneA,O.call(this,"edwards",q),this.a=new K(q.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new K(q.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new K(q.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Z(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(q.c|0)===1}X(M,O),J.exports=M,M.prototype._mulA=function(q){if(this.mOneA)return q.redNeg();else return this.a.redMul(q)},M.prototype._mulC=function(q){if(this.oneC)return q;else return this.c.redMul(q)},M.prototype.jpoint=function(q,E,C,_){return this.point(q,E,C,_)},M.prototype.pointFromX=function(q,E){if(q=new K(q,16),!q.red)q=q.toRed(this.red);var C=q.redSqr(),_=this.c2.redSub(this.a.redMul(C)),B=this.one.redSub(this.c2.redMul(this.d).redMul(C)),v=_.redMul(B.redInvm()),y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw Error("invalid point");var w=y.fromRed().isOdd();if(E&&!w||!E&&w)y=y.redNeg();return this.point(q,y)},M.prototype.pointFromY=function(q,E){if(q=new K(q,16),!q.red)q=q.toRed(this.red);var C=q.redSqr(),_=C.redSub(this.c2),B=C.redMul(this.d).redMul(this.c2).redSub(this.a),v=_.redMul(B.redInvm());if(v.cmp(this.zero)===0)if(E)throw Error("invalid point");else return this.point(this.zero,q);var y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw Error("invalid point");if(y.fromRed().isOdd()!==E)y=y.redNeg();return this.point(y,q)},M.prototype.validate=function(q){if(q.isInfinity())return!0;q.normalize();var E=q.x.redSqr(),C=q.y.redSqr(),_=E.redMul(this.a).redAdd(C),B=this.c2.redMul(this.one.redAdd(this.d.redMul(E).redMul(C)));return _.cmp(B)===0};function j(q,E,C,_,B){if(O.BasePoint.call(this,q,"projective"),E===null&&C===null&&_===null)this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0;else{if(this.x=new K(E,16),this.y=new K(C,16),this.z=_?new K(_,16):this.curve.one,this.t=B&&new K(B,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);if(this.t&&!this.t.red)this.t=this.t.toRed(this.curve.red);if(this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t){if(this.t=this.x.redMul(this.y),!this.zOne)this.t=this.t.redMul(this.z.redInvm())}}}X(j,O.BasePoint),M.prototype.pointFromJSON=function(q){return j.fromJSON(this,q)},M.prototype.point=function(q,E,C,_){return new j(this,q,E,C,_)},j.fromJSON=function(q,E){return new j(q,E[0],E[1],E[2])},j.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},j.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},j.prototype._extDbl=function(){var q=this.x.redSqr(),E=this.y.redSqr(),C=this.z.redSqr();C=C.redIAdd(C);var _=this.curve._mulA(q),B=this.x.redAdd(this.y).redSqr().redISub(q).redISub(E),v=_.redAdd(E),y=v.redSub(C),w=_.redSub(E),b=B.redMul(y),x=v.redMul(w),u=B.redMul(w),p=y.redMul(v);return this.curve.point(b,x,p,u)},j.prototype._projDbl=function(){var q=this.x.redAdd(this.y).redSqr(),E=this.x.redSqr(),C=this.y.redSqr(),_,B,v,y,w,b;if(this.curve.twisted){y=this.curve._mulA(E);var x=y.redAdd(C);if(this.zOne)_=q.redSub(E).redSub(C).redMul(x.redSub(this.curve.two)),B=x.redMul(y.redSub(C)),v=x.redSqr().redSub(x).redSub(x);else w=this.z.redSqr(),b=x.redSub(w).redISub(w),_=q.redSub(E).redISub(C).redMul(b),B=x.redMul(y.redSub(C)),v=x.redMul(b)}else y=E.redAdd(C),w=this.curve._mulC(this.z).redSqr(),b=y.redSub(w).redSub(w),_=this.curve._mulC(q.redISub(y)).redMul(b),B=this.curve._mulC(y).redMul(E.redISub(C)),v=y.redMul(b);return this.curve.point(_,B,v)},j.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()},j.prototype._extAdd=function(q){var E=this.y.redSub(this.x).redMul(q.y.redSub(q.x)),C=this.y.redAdd(this.x).redMul(q.y.redAdd(q.x)),_=this.t.redMul(this.curve.dd).redMul(q.t),B=this.z.redMul(q.z.redAdd(q.z)),v=C.redSub(E),y=B.redSub(_),w=B.redAdd(_),b=C.redAdd(E),x=v.redMul(y),u=w.redMul(b),p=v.redMul(b),d=y.redMul(w);return this.curve.point(x,u,d,p)},j.prototype._projAdd=function(q){var E=this.z.redMul(q.z),C=E.redSqr(),_=this.x.redMul(q.x),B=this.y.redMul(q.y),v=this.curve.d.redMul(_).redMul(B),y=C.redSub(v),w=C.redAdd(v),b=this.x.redAdd(this.y).redMul(q.x.redAdd(q.y)).redISub(_).redISub(B),x=E.redMul(y).redMul(b),u,p;if(this.curve.twisted)u=E.redMul(w).redMul(B.redSub(this.curve._mulA(_))),p=y.redMul(w);else u=E.redMul(w).redMul(B.redSub(_)),p=this.curve._mulC(y).redMul(w);return this.curve.point(x,u,p)},j.prototype.add=function(q){if(this.isInfinity())return q;if(q.isInfinity())return this;if(this.curve.extended)return this._extAdd(q);else return this._projAdd(q)},j.prototype.mul=function(q){if(this._hasDoubles(q))return this.curve._fixedNafMul(this,q);else return this.curve._wnafMul(this,q)},j.prototype.mulAdd=function(q,E,C){return this.curve._wnafMulAdd(1,[this,E],[q,C],2,!1)},j.prototype.jmulAdd=function(q,E,C){return this.curve._wnafMulAdd(1,[this,E],[q,C],2,!0)},j.prototype.normalize=function(){if(this.zOne)return this;var q=this.z.redInvm();if(this.x=this.x.redMul(q),this.y=this.y.redMul(q),this.t)this.t=this.t.redMul(q);return this.z=this.curve.one,this.zOne=!0,this},j.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},j.prototype.getX=function(){return this.normalize(),this.x.fromRed()},j.prototype.getY=function(){return this.normalize(),this.y.fromRed()},j.prototype.eq=function(q){return this===q||this.getX().cmp(q.getX())===0&&this.getY().cmp(q.getY())===0},j.prototype.eqXToP=function(q){var E=q.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(E)===0)return!0;var C=q.clone(),_=this.curve.redN.redMul(this.z);for(;;){if(C.iadd(this.curve.n),C.cmp(this.curve.p)>=0)return!1;if(E.redIAdd(_),this.x.cmp(E)===0)return!0}},j.prototype.toP=j.prototype.normalize,j.prototype.mixedAdd=j.prototype.add}),nE=b0((I)=>{var J=I;J.base=TO(),J.short=rw(),J.mont=tw(),J.edwards=aw()}),B1=b0((I)=>{var J=QX(),Y=H4();I.inherits=Y;function K(V,F){if((V.charCodeAt(F)&64512)!==55296)return!1;if(F<0||F+1>=V.length)return!1;return(V.charCodeAt(F+1)&64512)===56320}function X(V,F){if(Array.isArray(V))return V.slice();if(!V)return[];var W=[];if(typeof V==="string"){if(!F){var H=0;for(var P=0;P<V.length;P++){var S=V.charCodeAt(P);if(S<128)W[H++]=S;else if(S<2048)W[H++]=S>>6|192,W[H++]=S&63|128;else if(K(V,P))S=65536+((S&1023)<<10)+(V.charCodeAt(++P)&1023),W[H++]=S>>18|240,W[H++]=S>>12&63|128,W[H++]=S>>6&63|128,W[H++]=S&63|128;else W[H++]=S>>12|224,W[H++]=S>>6&63|128,W[H++]=S&63|128}}else if(F==="hex"){if(V=V.replace(/[^a-z0-9]+/ig,""),V.length%2!==0)V="0"+V;for(P=0;P<V.length;P+=2)W.push(parseInt(V[P]+V[P+1],16))}}else for(P=0;P<V.length;P++)W[P]=V[P]|0;return W}I.toArray=X;function O(V){var F="";for(var W=0;W<V.length;W++)F+=j(V[W].toString(16));return F}I.toHex=O;function Z(V){var F=V>>>24|V>>>8&65280|V<<8&16711680|(V&255)<<24;return F>>>0}I.htonl=Z;function M(V,F){var W="";for(var H=0;H<V.length;H++){var P=V[H];if(F==="little")P=Z(P);W+=q(P.toString(16))}return W}I.toHex32=M;function j(V){if(V.length===1)return"0"+V;else return V}I.zero2=j;function q(V){if(V.length===7)return"0"+V;else if(V.length===6)return"00"+V;else if(V.length===5)return"000"+V;else if(V.length===4)return"0000"+V;else if(V.length===3)return"00000"+V;else if(V.length===2)return"000000"+V;else if(V.length===1)return"0000000"+V;else return V}I.zero8=q;function E(V,F,W,H){var P=W-F;J(P%4===0);var S=Array(P/4);for(var A=0,z=F;A<S.length;A++,z+=4){var T;if(H==="big")T=V[z]<<24|V[z+1]<<16|V[z+2]<<8|V[z+3];else T=V[z+3]<<24|V[z+2]<<16|V[z+1]<<8|V[z];S[A]=T>>>0}return S}I.join32=E;function C(V,F){var W=Array(V.length*4);for(var H=0,P=0;H<V.length;H++,P+=4){var S=V[H];if(F==="big")W[P]=S>>>24,W[P+1]=S>>>16&255,W[P+2]=S>>>8&255,W[P+3]=S&255;else W[P+3]=S>>>24,W[P+2]=S>>>16&255,W[P+1]=S>>>8&255,W[P]=S&255}return W}I.split32=C;function _(V,F){return V>>>F|V<<32-F}I.rotr32=_;function B(V,F){return V<<F|V>>>32-F}I.rotl32=B;function v(V,F){return V+F>>>0}I.sum32=v;function y(V,F,W){return V+F+W>>>0}I.sum32_3=y;function w(V,F,W,H){return V+F+W+H>>>0}I.sum32_4=w;function b(V,F,W,H,P){return V+F+W+H+P>>>0}I.sum32_5=b;function x(V,F,W,H){var P=V[F],S=V[F+1],A=H+S>>>0,z=(A<H?1:0)+W+P;V[F]=z>>>0,V[F+1]=A}I.sum64=x;function u(V,F,W,H){var P=F+H>>>0,S=(P<F?1:0)+V+W;return S>>>0}I.sum64_hi=u;function p(V,F,W,H){var P=F+H;return P>>>0}I.sum64_lo=p;function d(V,F,W,H,P,S,A,z){var T=0,g=F;g=g+H>>>0,T+=g<F?1:0,g=g+S>>>0,T+=g<S?1:0,g=g+z>>>0,T+=g<z?1:0;var N=V+W+P+A+T;return N>>>0}I.sum64_4_hi=d;function a(V,F,W,H,P,S,A,z){var T=F+H+S+z;return T>>>0}I.sum64_4_lo=a;function H0(V,F,W,H,P,S,A,z,T,g){var N=0,c=F;c=c+H>>>0,N+=c<F?1:0,c=c+S>>>0,N+=c<S?1:0,c=c+z>>>0,N+=c<z?1:0,c=c+g>>>0,N+=c<g?1:0;var r=V+W+P+A+T+N;return r>>>0}I.sum64_5_hi=H0;function M0(V,F,W,H,P,S,A,z,T,g){var N=F+H+S+z+g;return N>>>0}I.sum64_5_lo=M0;function q0(V,F,W){var H=F<<32-W|V>>>W;return H>>>0}I.rotr64_hi=q0;function t(V,F,W){var H=V<<32-W|F>>>W;return H>>>0}I.rotr64_lo=t;function T0(V,F,W){return V>>>W}I.shr64_hi=T0;function G(V,F,W){var H=V<<32-W|F>>>W;return H>>>0}I.shr64_lo=G}),I2=b0((I)=>{var J=B1(),Y=QX();function K(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}I.BlockHash=K,K.prototype.update=function(X,O){if(X=J.toArray(X,O),!this.pending)this.pending=X;else this.pending=this.pending.concat(X);if(this.pendingTotal+=X.length,this.pending.length>=this._delta8){X=this.pending;var Z=X.length%this._delta8;if(this.pending=X.slice(X.length-Z,X.length),this.pending.length===0)this.pending=null;X=J.join32(X,0,X.length-Z,this.endian);for(var M=0;M<X.length;M+=this._delta32)this._update(X,M,M+this._delta32)}return this},K.prototype.digest=function(X){return this.update(this._pad()),Y(this.pending===null),this._digest(X)},K.prototype._pad=function(){var X=this.pendingTotal,O=this._delta8,Z=O-(X+this.padLength)%O,M=Array(Z+this.padLength);M[0]=128;for(var j=1;j<Z;j++)M[j]=0;if(X<<=3,this.endian==="big"){for(var q=8;q<this.padLength;q++)M[j++]=0;M[j++]=0,M[j++]=0,M[j++]=0,M[j++]=0,M[j++]=X>>>24&255,M[j++]=X>>>16&255,M[j++]=X>>>8&255,M[j++]=X&255}else{M[j++]=X&255,M[j++]=X>>>8&255,M[j++]=X>>>16&255,M[j++]=X>>>24&255,M[j++]=0,M[j++]=0,M[j++]=0,M[j++]=0;for(q=8;q<this.padLength;q++)M[j++]=0}return M}}),oE=b0((I)=>{var J=B1(),Y=J.rotr32;function K(C,_,B,v){if(C===0)return X(_,B,v);if(C===1||C===3)return Z(_,B,v);if(C===2)return O(_,B,v)}I.ft_1=K;function X(C,_,B){return C&_^~C&B}I.ch32=X;function O(C,_,B){return C&_^C&B^_&B}I.maj32=O;function Z(C,_,B){return C^_^B}I.p32=Z;function M(C){return Y(C,2)^Y(C,13)^Y(C,22)}I.s0_256=M;function j(C){return Y(C,6)^Y(C,11)^Y(C,25)}I.s1_256=j;function q(C){return Y(C,7)^Y(C,18)^C>>>3}I.g0_256=q;function E(C){return Y(C,17)^Y(C,19)^C>>>10}I.g1_256=E}),sw=b0((I,J)=>{var Y=B1(),K=I2(),X=oE(),O=Y.rotl32,Z=Y.sum32,M=Y.sum32_5,j=X.ft_1,q=K.BlockHash,E=[1518500249,1859775393,2400959708,3395469782];function C(){if(!(this instanceof C))return new C;q.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}Y.inherits(C,q),J.exports=C,C.blockSize=512,C.outSize=160,C.hmacStrength=80,C.padLength=64,C.prototype._update=function(_,B){var v=this.W;for(var y=0;y<16;y++)v[y]=_[B+y];for(;y<v.length;y++)v[y]=O(v[y-3]^v[y-8]^v[y-14]^v[y-16],1);var w=this.h[0],b=this.h[1],x=this.h[2],u=this.h[3],p=this.h[4];for(y=0;y<v.length;y++){var d=~~(y/20),a=M(O(w,5),j(d,b,x,u),p,v[y],E[d]);p=u,u=x,x=O(b,30),b=w,w=a}this.h[0]=Z(this.h[0],w),this.h[1]=Z(this.h[1],b),this.h[2]=Z(this.h[2],x),this.h[3]=Z(this.h[3],u),this.h[4]=Z(this.h[4],p)},C.prototype._digest=function(_){if(_==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),iE=b0((I,J)=>{var Y=B1(),K=I2(),X=oE(),O=QX(),Z=Y.sum32,M=Y.sum32_4,j=Y.sum32_5,q=X.ch32,E=X.maj32,C=X.s0_256,_=X.s1_256,B=X.g0_256,v=X.g1_256,y=K.BlockHash,w=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=w,this.W=Array(64)}Y.inherits(b,y),J.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(x,u){var p=this.W;for(var d=0;d<16;d++)p[d]=x[u+d];for(;d<p.length;d++)p[d]=M(v(p[d-2]),p[d-7],B(p[d-15]),p[d-16]);var a=this.h[0],H0=this.h[1],M0=this.h[2],q0=this.h[3],t=this.h[4],T0=this.h[5],G=this.h[6],V=this.h[7];O(this.k.length===p.length);for(d=0;d<p.length;d++){var F=j(V,_(t),q(t,T0,G),this.k[d],p[d]),W=Z(C(a),E(a,H0,M0));V=G,G=T0,T0=t,t=Z(q0,F),q0=M0,M0=H0,H0=a,a=Z(F,W)}this.h[0]=Z(this.h[0],a),this.h[1]=Z(this.h[1],H0),this.h[2]=Z(this.h[2],M0),this.h[3]=Z(this.h[3],q0),this.h[4]=Z(this.h[4],t),this.h[5]=Z(this.h[5],T0),this.h[6]=Z(this.h[6],G),this.h[7]=Z(this.h[7],V)},b.prototype._digest=function(x){if(x==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),ew=b0((I,J)=>{var Y=B1(),K=iE();function X(){if(!(this instanceof X))return new X;K.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Y.inherits(X,K),J.exports=X,X.blockSize=512,X.outSize=224,X.hmacStrength=192,X.padLength=64,X.prototype._digest=function(O){if(O==="hex")return Y.toHex32(this.h.slice(0,7),"big");else return Y.split32(this.h.slice(0,7),"big")}}),rE=b0((I,J)=>{var Y=B1(),K=I2(),X=QX(),O=Y.rotr64_hi,Z=Y.rotr64_lo,M=Y.shr64_hi,j=Y.shr64_lo,q=Y.sum64,E=Y.sum64_hi,C=Y.sum64_lo,_=Y.sum64_4_hi,B=Y.sum64_4_lo,v=Y.sum64_5_hi,y=Y.sum64_5_lo,w=K.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function x(){if(!(this instanceof x))return new x;w.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=Array(160)}Y.inherits(x,w),J.exports=x,x.blockSize=1024,x.outSize=512,x.hmacStrength=192,x.padLength=128,x.prototype._prepareBlock=function(W,H){var P=this.W;for(var S=0;S<32;S++)P[S]=W[H+S];for(;S<P.length;S+=2){var A=V(P[S-4],P[S-3]),z=F(P[S-4],P[S-3]),T=P[S-14],g=P[S-13],N=T0(P[S-30],P[S-29]),c=G(P[S-30],P[S-29]),r=P[S-32],U0=P[S-31];P[S]=_(A,z,T,g,N,c,r,U0),P[S+1]=B(A,z,T,g,N,c,r,U0)}},x.prototype._update=function(W,H){this._prepareBlock(W,H);var P=this.W,S=this.h[0],A=this.h[1],z=this.h[2],T=this.h[3],g=this.h[4],N=this.h[5],c=this.h[6],r=this.h[7],U0=this.h[8],O0=this.h[9],Q0=this.h[10],s=this.h[11],e=this.h[12],J0=this.h[13],Z0=this.h[14],A0=this.h[15];X(this.k.length===P.length);for(var $0=0;$0<P.length;$0+=2){var h=Z0,n=A0,F0=q0(U0,O0),Y0=t(U0,O0),W0=u(U0,O0,Q0,s,e,J0),v0=p(U0,O0,Q0,s,e,J0),I0=this.k[$0],K0=this.k[$0+1],I$=P[$0],L0=P[$0+1],B0=v(h,n,F0,Y0,W0,v0,I0,K0,I$,L0),L$=y(h,n,F0,Y0,W0,v0,I0,K0,I$,L0);h=H0(S,A),n=M0(S,A),F0=d(S,A,z,T,g,N),Y0=a(S,A,z,T,g,N);var m0=E(h,n,F0,Y0),p0=C(h,n,F0,Y0);Z0=e,A0=J0,e=Q0,J0=s,Q0=U0,s=O0,U0=E(c,r,B0,L$),O0=C(r,r,B0,L$),c=g,r=N,g=z,N=T,z=S,T=A,S=E(B0,L$,m0,p0),A=C(B0,L$,m0,p0)}q(this.h,0,S,A),q(this.h,2,z,T),q(this.h,4,g,N),q(this.h,6,c,r),q(this.h,8,U0,O0),q(this.h,10,Q0,s),q(this.h,12,e,J0),q(this.h,14,Z0,A0)},x.prototype._digest=function(W){if(W==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")};function u(W,H,P,S,A){var z=W&P^~W&A;if(z<0)z+=4294967296;return z}function p(W,H,P,S,A,z){var T=H&S^~H&z;if(T<0)T+=4294967296;return T}function d(W,H,P,S,A){var z=W&P^W&A^P&A;if(z<0)z+=4294967296;return z}function a(W,H,P,S,A,z){var T=H&S^H&z^S&z;if(T<0)T+=4294967296;return T}function H0(W,H){var P=O(W,H,28),S=O(H,W,2),A=O(H,W,7),z=P^S^A;if(z<0)z+=4294967296;return z}function M0(W,H){var P=Z(W,H,28),S=Z(H,W,2),A=Z(H,W,7),z=P^S^A;if(z<0)z+=4294967296;return z}function q0(W,H){var P=O(W,H,14),S=O(W,H,18),A=O(H,W,9),z=P^S^A;if(z<0)z+=4294967296;return z}function t(W,H){var P=Z(W,H,14),S=Z(W,H,18),A=Z(H,W,9),z=P^S^A;if(z<0)z+=4294967296;return z}function T0(W,H){var P=O(W,H,1),S=O(W,H,8),A=M(W,H,7),z=P^S^A;if(z<0)z+=4294967296;return z}function G(W,H){var P=Z(W,H,1),S=Z(W,H,8),A=j(W,H,7),z=P^S^A;if(z<0)z+=4294967296;return z}function V(W,H){var P=O(W,H,19),S=O(H,W,29),A=M(W,H,6),z=P^S^A;if(z<0)z+=4294967296;return z}function F(W,H){var P=Z(W,H,19),S=Z(H,W,29),A=j(W,H,6),z=P^S^A;if(z<0)z+=4294967296;return z}}),$f=b0((I,J)=>{var Y=B1(),K=rE();function X(){if(!(this instanceof X))return new X;K.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Y.inherits(X,K),J.exports=X,X.blockSize=1024,X.outSize=384,X.hmacStrength=192,X.padLength=128,X.prototype._digest=function(O){if(O==="hex")return Y.toHex32(this.h.slice(0,12),"big");else return Y.split32(this.h.slice(0,12),"big")}}),Uf=b0((I)=>{I.sha1=sw(),I.sha224=ew(),I.sha256=iE(),I.sha384=$f(),I.sha512=rE()}),If=b0((I)=>{var J=B1(),Y=I2(),K=J.rotl32,X=J.sum32,O=J.sum32_3,Z=J.sum32_4,M=Y.BlockHash;function j(){if(!(this instanceof j))return new j;M.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}J.inherits(j,M),I.ripemd160=j,j.blockSize=512,j.outSize=160,j.hmacStrength=192,j.padLength=64,j.prototype._update=function(w,b){var x=this.h[0],u=this.h[1],p=this.h[2],d=this.h[3],a=this.h[4],H0=x,M0=u,q0=p,t=d,T0=a;for(var G=0;G<80;G++){var V=X(K(Z(x,q(G,u,p,d),w[_[G]+b],E(G)),v[G]),a);x=a,a=d,d=K(p,10),p=u,u=V,V=X(K(Z(H0,q(79-G,M0,q0,t),w[B[G]+b],C(G)),y[G]),T0),H0=T0,T0=t,t=K(q0,10),q0=M0,M0=V}V=O(this.h[1],p,t),this.h[1]=O(this.h[2],d,T0),this.h[2]=O(this.h[3],a,H0),this.h[3]=O(this.h[4],x,M0),this.h[4]=O(this.h[0],u,q0),this.h[0]=V},j.prototype._digest=function(w){if(w==="hex")return J.toHex32(this.h,"little");else return J.split32(this.h,"little")};function q(w,b,x,u){if(w<=15)return b^x^u;else if(w<=31)return b&x|~b&u;else if(w<=47)return(b|~x)^u;else if(w<=63)return b&u|x&~u;else return b^(x|~u)}function E(w){if(w<=15)return 0;else if(w<=31)return 1518500249;else if(w<=47)return 1859775393;else if(w<=63)return 2400959708;else return 2840853838}function C(w){if(w<=15)return 1352829926;else if(w<=31)return 1548603684;else if(w<=47)return 1836072691;else if(w<=63)return 2053994217;else return 0}var _=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],B=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],v=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}),Xf=b0((I,J)=>{var Y=B1(),K=QX();function X(O,Z,M){if(!(this instanceof X))return new X(O,Z,M);this.Hash=O,this.blockSize=O.blockSize/8,this.outSize=O.outSize/8,this.inner=null,this.outer=null,this._init(Y.toArray(Z,M))}J.exports=X,X.prototype._init=function(O){if(O.length>this.blockSize)O=new this.Hash().update(O).digest();K(O.length<=this.blockSize);for(var Z=O.length;Z<this.blockSize;Z++)O.push(0);for(Z=0;Z<O.length;Z++)O[Z]^=54;this.inner=new this.Hash().update(O);for(Z=0;Z<O.length;Z++)O[Z]^=106;this.outer=new this.Hash().update(O)},X.prototype.update=function(O,Z){return this.inner.update(O,Z),this},X.prototype.digest=function(O){return this.outer.update(this.inner.digest()),this.outer.digest(O)}}),HD=b0((I)=>{var J=I;J.utils=B1(),J.common=I2(),J.sha=Uf(),J.ripemd=If(),J.hmac=Xf(),J.sha1=J.sha.sha1,J.sha256=J.sha.sha256,J.sha224=J.sha.sha224,J.sha384=J.sha.sha384,J.sha512=J.sha.sha512,J.ripemd160=J.ripemd.ripemd160}),Jf=b0((I,J)=>{J.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}),FD=b0((I)=>{var J=I,Y=HD(),K=nE(),X=y4(),O=X.assert;function Z(q){if(q.type==="short")this.curve=new K.short(q);else if(q.type==="edwards")this.curve=new K.edwards(q);else this.curve=new K.mont(q);this.g=this.curve.g,this.n=this.curve.n,this.hash=q.hash,O(this.g.validate(),"Invalid curve"),O(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}J.PresetCurve=Z;function M(q,E){Object.defineProperty(J,q,{configurable:!0,enumerable:!0,get:function(){var C=new Z(E);return Object.defineProperty(J,q,{configurable:!0,enumerable:!0,value:C}),C}})}M("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Y.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),M("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Y.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),M("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Y.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),M("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Y.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),M("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Y.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),M("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Y.sha256,gRed:!1,g:["9"]}),M("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Y.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var j;try{j=Jf()}catch(q){j=void 0}M("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Y.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",j]})}),Qf=b0((I,J)=>{var Y=HD(),K=lE(),X=QX();function O(Z){if(!(this instanceof O))return new O(Z);this.hash=Z.hash,this.predResist=!!Z.predResist,this.outLen=this.hash.outSize,this.minEntropy=Z.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var M=K.toArray(Z.entropy,Z.entropyEnc||"hex"),j=K.toArray(Z.nonce,Z.nonceEnc||"hex"),q=K.toArray(Z.pers,Z.persEnc||"hex");X(M.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(M,j,q)}J.exports=O,O.prototype._init=function(Z,M,j){var q=Z.concat(M).concat(j);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var E=0;E<this.V.length;E++)this.K[E]=0,this.V[E]=1;this._update(q),this._reseed=1,this.reseedInterval=281474976710656},O.prototype._hmac=function(){return new Y.hmac(this.hash,this.K)},O.prototype._update=function(Z){var M=this._hmac().update(this.V).update([0]);if(Z)M=M.update(Z);if(this.K=M.digest(),this.V=this._hmac().update(this.V).digest(),!Z)return;this.K=this._hmac().update(this.V).update([1]).update(Z).digest(),this.V=this._hmac().update(this.V).digest()},O.prototype.reseed=function(Z,M,j,q){if(typeof M!=="string")q=j,j=M,M=null;Z=K.toArray(Z,M),j=K.toArray(j,q),X(Z.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(Z.concat(j||[])),this._reseed=1},O.prototype.generate=function(Z,M,j,q){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");if(typeof M!=="string")q=j,j=M,M=null;if(j)j=K.toArray(j,q||"hex"),this._update(j);var E=[];while(E.length<Z)this.V=this._hmac().update(this.V).digest(),E=E.concat(this.V);var C=E.slice(0,Z);return this._update(j),this._reseed++,K.encode(C,M)}}),Yf=b0((I,J)=>{var Y=WI(),K=y4(),X=K.assert;function O(Z,M){if(this.ec=Z,this.priv=null,this.pub=null,M.priv)this._importPrivate(M.priv,M.privEnc);if(M.pub)this._importPublic(M.pub,M.pubEnc)}J.exports=O,O.fromPublic=function(Z,M,j){if(M instanceof O)return M;return new O(Z,{pub:M,pubEnc:j})},O.fromPrivate=function(Z,M,j){if(M instanceof O)return M;return new O(Z,{priv:M,privEnc:j})},O.prototype.validate=function(){var Z=this.getPublic();if(Z.isInfinity())return{result:!1,reason:"Invalid public key"};if(!Z.validate())return{result:!1,reason:"Public key is not a point"};if(!Z.mul(this.ec.curve.n).isInfinity())return{result:!1,reason:"Public key * N != O"};return{result:!0,reason:null}},O.prototype.getPublic=function(Z,M){if(typeof Z==="string")M=Z,Z=null;if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!M)return this.pub;return this.pub.encode(M,Z)},O.prototype.getPrivate=function(Z){if(Z==="hex")return this.priv.toString(16,2);else return this.priv},O.prototype._importPrivate=function(Z,M){this.priv=new Y(Z,M||16),this.priv=this.priv.umod(this.ec.curve.n)},O.prototype._importPublic=function(Z,M){if(Z.x||Z.y){if(this.ec.curve.type==="mont")X(Z.x,"Need x coordinate");else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")X(Z.x&&Z.y,"Need both x and y coordinate");this.pub=this.ec.curve.point(Z.x,Z.y);return}this.pub=this.ec.curve.decodePoint(Z,M)},O.prototype.derive=function(Z){if(!Z.validate())X(Z.validate(),"public point not validated");return Z.mul(this.priv).getX()},O.prototype.sign=function(Z,M,j){return this.ec.sign(Z,this,M,j)},O.prototype.verify=function(Z,M,j){return this.ec.verify(Z,M,this,void 0,j)},O.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),Gf=b0((I,J)=>{var Y=WI(),K=y4(),X=K.assert;function O(E,C){if(E instanceof O)return E;if(this._importDER(E,C))return;if(X(E.r&&E.s,"Signature without r or s"),this.r=new Y(E.r,16),this.s=new Y(E.s,16),E.recoveryParam===void 0)this.recoveryParam=null;else this.recoveryParam=E.recoveryParam}J.exports=O;function Z(){this.place=0}function M(E,C){var _=E[C.place++];if(!(_&128))return _;var B=_&15;if(B===0||B>4)return!1;if(E[C.place]===0)return!1;var v=0;for(var y=0,w=C.place;y<B;y++,w++)v<<=8,v|=E[w],v>>>=0;if(v<=127)return!1;return C.place=w,v}function j(E){var C=0,_=E.length-1;while(!E[C]&&!(E[C+1]&128)&&C<_)C++;if(C===0)return E;return E.slice(C)}O.prototype._importDER=function(E,C){E=K.toArray(E,C);var _=new Z;if(E[_.place++]!==48)return!1;var B=M(E,_);if(B===!1)return!1;if(B+_.place!==E.length)return!1;if(E[_.place++]!==2)return!1;var v=M(E,_);if(v===!1)return!1;if((E[_.place]&128)!==0)return!1;var y=E.slice(_.place,v+_.place);if(_.place+=v,E[_.place++]!==2)return!1;var w=M(E,_);if(w===!1)return!1;if(E.length!==w+_.place)return!1;if((E[_.place]&128)!==0)return!1;var b=E.slice(_.place,w+_.place);if(y[0]===0)if(y[1]&128)y=y.slice(1);else return!1;if(b[0]===0)if(b[1]&128)b=b.slice(1);else return!1;return this.r=new Y(y),this.s=new Y(b),this.recoveryParam=null,!0};function q(E,C){if(C<128){E.push(C);return}var _=1+(Math.log(C)/Math.LN2>>>3);E.push(_|128);while(--_)E.push(C>>>(_<<3)&255);E.push(C)}O.prototype.toDER=function(E){var C=this.r.toArray(),_=this.s.toArray();if(C[0]&128)C=[0].concat(C);if(_[0]&128)_=[0].concat(_);C=j(C),_=j(_);while(!_[0]&&!(_[1]&128))_=_.slice(1);var B=[2];q(B,C.length),B=B.concat(C),B.push(2),q(B,_.length);var v=B.concat(_),y=[48];return q(y,v.length),y=y.concat(v),K.encode(y,E)}}),Zf=b0((I,J)=>{var Y=WI(),K=Qf(),X=y4(),O=FD(),Z=dE(),M=X.assert,j=Yf(),q=Gf();function E(C){if(!(this instanceof E))return new E(C);if(typeof C==="string")M(Object.prototype.hasOwnProperty.call(O,C),"Unknown curve "+C),C=O[C];if(C instanceof O.PresetCurve)C={curve:C};this.curve=C.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=C.curve.g,this.g.precompute(C.curve.n.bitLength()+1),this.hash=C.hash||C.curve.hash}J.exports=E,E.prototype.keyPair=function(C){return new j(this,C)},E.prototype.keyFromPrivate=function(C,_){return j.fromPrivate(this,C,_)},E.prototype.keyFromPublic=function(C,_){return j.fromPublic(this,C,_)},E.prototype.genKeyPair=function(C){if(!C)C={};var _=new K({hash:this.hash,pers:C.pers,persEnc:C.persEnc||"utf8",entropy:C.entropy||Z(this.hash.hmacStrength),entropyEnc:C.entropy&&C.entropyEnc||"utf8",nonce:this.n.toArray()}),B=this.n.byteLength(),v=this.n.sub(new Y(2));for(;;){var y=new Y(_.generate(B));if(y.cmp(v)>0)continue;return y.iaddn(1),this.keyFromPrivate(y)}},E.prototype._truncateToN=function(C,_,B){var v;if(Y.isBN(C)||typeof C==="number")C=new Y(C,16),v=C.byteLength();else if(typeof C==="object")v=C.length,C=new Y(C,16);else{var y=C.toString();v=y.length+1>>>1,C=new Y(y,16)}if(typeof B!=="number")B=v*8;var w=B-this.n.bitLength();if(w>0)C=C.ushrn(w);if(!_&&C.cmp(this.n)>=0)return C.sub(this.n);else return C},E.prototype.sign=function(C,_,B,v){if(typeof B==="object")v=B,B=null;if(!v)v={};if(typeof C!=="string"&&typeof C!=="number"&&!Y.isBN(C)){M(typeof C==="object"&&C&&typeof C.length==="number","Expected message to be an array-like, a hex string, or a BN instance"),M(C.length>>>0===C.length);for(var y=0;y<C.length;y++)M((C[y]&255)===C[y])}_=this.keyFromPrivate(_,B),C=this._truncateToN(C,!1,v.msgBitLength),M(!C.isNeg(),"Can not sign a negative message");var w=this.n.byteLength(),b=_.getPrivate().toArray("be",w),x=C.toArray("be",w);M(new Y(x).eq(C),"Can not sign message");var u=new K({hash:this.hash,entropy:b,nonce:x,pers:v.pers,persEnc:v.persEnc||"utf8"}),p=this.n.sub(new Y(1));for(var d=0;;d++){var a=v.k?v.k(d):new Y(u.generate(this.n.byteLength()));if(a=this._truncateToN(a,!0),a.cmpn(1)<=0||a.cmp(p)>=0)continue;var H0=this.g.mul(a);if(H0.isInfinity())continue;var M0=H0.getX(),q0=M0.umod(this.n);if(q0.cmpn(0)===0)continue;var t=a.invm(this.n).mul(q0.mul(_.getPrivate()).iadd(C));if(t=t.umod(this.n),t.cmpn(0)===0)continue;var T0=(H0.getY().isOdd()?1:0)|(M0.cmp(q0)!==0?2:0);if(v.canonical&&t.cmp(this.nh)>0)t=this.n.sub(t),T0^=1;return new q({r:q0,s:t,recoveryParam:T0})}},E.prototype.verify=function(C,_,B,v,y){if(!y)y={};C=this._truncateToN(C,!1,y.msgBitLength),B=this.keyFromPublic(B,v),_=new q(_,"hex");var{r:w,s:b}=_;if(w.cmpn(1)<0||w.cmp(this.n)>=0)return!1;if(b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var x=b.invm(this.n),u=x.mul(C).umod(this.n),p=x.mul(w).umod(this.n),d;if(!this.curve._maxwellTrick){if(d=this.g.mulAdd(u,B.getPublic(),p),d.isInfinity())return!1;return d.getX().umod(this.n).cmp(w)===0}if(d=this.g.jmulAdd(u,B.getPublic(),p),d.isInfinity())return!1;return d.eqXToP(w)},E.prototype.recoverPubKey=function(C,_,B,v){M((3&B)===B,"The recovery param is more than two bits"),_=new q(_,v);var y=this.n,w=new Y(C),b=_.r,x=_.s,u=B&1,p=B>>1;if(b.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw Error("Unable to find sencond key candinate");if(p)b=this.curve.pointFromX(b.add(this.curve.n),u);else b=this.curve.pointFromX(b,u);var d=_.r.invm(y),a=y.sub(w).mul(d).umod(y),H0=x.mul(d).umod(y);return this.g.mulAdd(a,b,H0)},E.prototype.getKeyRecoveryParam=function(C,_,B,v){if(_=new q(_,v),_.recoveryParam!==null)return _.recoveryParam;for(var y=0;y<4;y++){var w;try{w=this.recoverPubKey(C,_,y)}catch(b){continue}if(w.eq(B))return y}throw Error("Unable to find valid recovery factor")}}),zf=b0((I,J)=>{var Y=y4(),K=Y.assert,X=Y.parseBytes,O=Y.cachedProperty;function Z(M,j){if(this.eddsa=M,this._secret=X(j.secret),M.isPoint(j.pub))this._pub=j.pub;else this._pubBytes=X(j.pub)}Z.fromPublic=function(M,j){if(j instanceof Z)return j;return new Z(M,{pub:j})},Z.fromSecret=function(M,j){if(j instanceof Z)return j;return new Z(M,{secret:j})},Z.prototype.secret=function(){return this._secret},O(Z,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),O(Z,"pub",function(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}),O(Z,"privBytes",function(){var M=this.eddsa,j=this.hash(),q=M.encodingLength-1,E=j.slice(0,M.encodingLength);return E[0]&=248,E[q]&=127,E[q]|=64,E}),O(Z,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),O(Z,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),O(Z,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),Z.prototype.sign=function(M){return K(this._secret,"KeyPair can only verify"),this.eddsa.sign(M,this)},Z.prototype.verify=function(M,j){return this.eddsa.verify(M,j,this)},Z.prototype.getSecret=function(M){return K(this._secret,"KeyPair is public only"),Y.encode(this.secret(),M)},Z.prototype.getPublic=function(M){return Y.encode(this.pubBytes(),M)},J.exports=Z}),Of=b0((I,J)=>{var Y=WI(),K=y4(),X=K.assert,O=K.cachedProperty,Z=K.parseBytes;function M(j,q){if(this.eddsa=j,typeof q!=="object")q=Z(q);if(Array.isArray(q))X(q.length===j.encodingLength*2,"Signature has invalid size"),q={R:q.slice(0,j.encodingLength),S:q.slice(j.encodingLength)};if(X(q.R&&q.S,"Signature without R or S"),j.isPoint(q.R))this._R=q.R;if(q.S instanceof Y)this._S=q.S;this._Rencoded=Array.isArray(q.R)?q.R:q.Rencoded,this._Sencoded=Array.isArray(q.S)?q.S:q.Sencoded}O(M,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),O(M,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),O(M,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),O(M,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),M.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},M.prototype.toHex=function(){return K.encode(this.toBytes(),"hex").toUpperCase()},J.exports=M}),Kf=b0((I,J)=>{var Y=HD(),K=FD(),X=y4(),O=X.assert,Z=X.parseBytes,M=zf(),j=Of();function q(E){if(O(E==="ed25519","only tested with ed25519 so far"),!(this instanceof q))return new q(E);E=K[E].curve,this.curve=E,this.g=E.g,this.g.precompute(E.n.bitLength()+1),this.pointClass=E.point().constructor,this.encodingLength=Math.ceil(E.n.bitLength()/8),this.hash=Y.sha512}J.exports=q,q.prototype.sign=function(E,C){E=Z(E);var _=this.keyFromSecret(C),B=this.hashInt(_.messagePrefix(),E),v=this.g.mul(B),y=this.encodePoint(v),w=this.hashInt(y,_.pubBytes(),E).mul(_.priv()),b=B.add(w).umod(this.curve.n);return this.makeSignature({R:v,S:b,Rencoded:y})},q.prototype.verify=function(E,C,_){if(E=Z(E),C=this.makeSignature(C),C.S().gte(C.eddsa.curve.n)||C.S().isNeg())return!1;var B=this.keyFromPublic(_),v=this.hashInt(C.Rencoded(),B.pubBytes(),E),y=this.g.mul(C.S()),w=C.R().add(B.pub().mul(v));return w.eq(y)},q.prototype.hashInt=function(){var E=this.hash();for(var C=0;C<arguments.length;C++)E.update(arguments[C]);return X.intFromLE(E.digest()).umod(this.curve.n)},q.prototype.keyFromPublic=function(E){return M.fromPublic(this,E)},q.prototype.keyFromSecret=function(E){return M.fromSecret(this,E)},q.prototype.makeSignature=function(E){if(E instanceof j)return E;return new j(this,E)},q.prototype.encodePoint=function(E){var C=E.getY().toArray("le",this.encodingLength);return C[this.encodingLength-1]|=E.getX().isOdd()?128:0,C},q.prototype.decodePoint=function(E){E=X.parseBytes(E);var C=E.length-1,_=E.slice(0,C).concat(E[C]&-129),B=(E[C]&128)!==0,v=X.intFromLE(_);return this.curve.pointFromY(v,B)},q.prototype.encodeInt=function(E){return E.toArray("le",this.encodingLength)},q.prototype.decodeInt=function(E){return X.intFromLE(E)},q.prototype.isPoint=function(E){return E instanceof this.pointClass}}),Wf=b0((I)=>{var J=I;J.version=ow().version,J.utils=y4(),J.rand=dE(),J.curve=nE(),J.curves=FD(),J.ec=Zf(),J.eddsa=Kf()}),Vf=b0((I,J)=>{(function(Y,K){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function O(G,V){G.super_=V;var F=function(){};F.prototype=V.prototype,G.prototype=new F,G.prototype.constructor=G}function Z(G,V,F){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")F=V,V=10;this._init(G||0,V||10,F||"be")}}if(typeof Y==="object")Y.exports=Z;else K.BN=Z;Z.BN=Z,Z.wordSize=26;var M;try{if(typeof window<"u"&&typeof window.Buffer<"u")M=window.Buffer;else M=(iU(),j$(oU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,F){if(typeof G==="number")return this._initNumber(G,V,F);if(typeof G==="object")return this._initArray(G,V,F);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(V===16)this._parseHex(G,W,F);else if(this._parseBase(G,V,W),F==="le")this._initArray(this.toArray(),V,F)}},Z.prototype._initNumber=function(G,V,F){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(F!=="le")return;this._initArray(this.toArray(),V,F)},Z.prototype._initArray=function(G,V,F){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H,P,S=0;if(F==="be"){for(W=G.length-1,H=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}else if(F==="le"){for(W=0,H=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}return this.strip()};function j(G,V){var F=G.charCodeAt(V);if(F>=65&&F<=70)return F-55;else if(F>=97&&F<=102)return F-87;else return F-48&15}function q(G,V,F){var W=j(G,F);if(F-1>=V)W|=j(G,F-1)<<4;return W}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H=0,P=0,S;if(F==="be")for(W=G.length-1;W>=V;W-=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8;else{var A=G.length-V;for(W=A%2===0?V+1:V;W<G.length;W+=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8}this.strip()};function E(G,V,F,W){var H=0,P=Math.min(G.length,F);for(var S=V;S<P;S++){var A=G.charCodeAt(S)-48;if(H*=W,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var W=0,H=1;H<=67108863;H*=V)W++;W--,H=H/V|0;var P=G.length-F,S=P%W,A=Math.min(P,P-S)+F,z=0;for(var T=F;T<A;T+=W)if(z=E(G,T,T+W,V),this.imuln(H),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(S!==0){var g=1;z=E(G,T,G.length,V);for(T=0;T<S;T++)g*=V;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var F;if(G===16||G==="hex"){F="";var W=0,H=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|H)&16777215).toString(16);if(H=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(H!==0||P!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(H!==0)F=H.toString(16)+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}if(G===(G|0)&&G>=2&&G<=36){var z=_[G],T=B[G];F="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())F=C[z-N.length]+N+F;else F=N+F}if(this.isZero())F="0"+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof M<"u"),this.toArrayLike(M,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var W=this.byteLength(),H=F||Math.max(1,W);X(W<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var P=V==="le",S=new G(H),A,z,T=this.clone();if(!P){for(z=0;z<H-W;z++)S[z]=0;for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[H-z-1]=A}else{for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[z]=A;for(;z<H;z++)S[z]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,F=0;if(V>=4096)F+=13,V>>>=13;if(V>=64)F+=7,V>>>=7;if(V>=8)F+=4,V>>>=4;if(V>=2)F+=2,V>>>=2;return F+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,F=0;if((V&8191)===0)F+=13,V>>>=13;if((V&127)===0)F+=7,V>>>=7;if((V&15)===0)F+=4,V>>>=4;if((V&3)===0)F+=2,V>>>=2;if((V&1)===0)F++;return F},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function v(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var W=F/26|0,H=F%26;V[F]=(G.words[W]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var F=this._zeroBits(this.words[V]);if(G+=F,F!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var F=0;F<V.length;F++)this.words[F]=this.words[F]&G.words[F];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,F;if(this.length>G.length)V=this,F=G;else V=G,F=this;for(var W=0;W<F.length;W++)this.words[W]=V.words[W]^F.words[W];if(this!==V)for(;W<V.length;W++)this.words[W]=V.words[W];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,F=G%26;if(this._expand(V),F>0)V--;for(var W=0;W<V;W++)this.words[W]=~this.words[W]&67108863;if(F>0)this.words[W]=~this.words[W]&67108863>>26-F;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var F=G/26|0,W=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<W;else this.words[F]=this.words[F]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var F,W;if(this.length>G.length)F=this,W=G;else F=G,W=this;var H=0;for(var P=0;P<W.length;P++)V=(F.words[P]|0)+(W.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;for(;H!==0&&P<F.length;P++)V=(F.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;if(this.length=F.length,H!==0)this.words[this.length]=H,this.length++;else if(F!==this)for(;P<F.length;P++)this.words[P]=F.words[P];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var F=this.cmp(G);if(F===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,H;if(F>0)W=this,H=G;else W=G,H=this;var P=0;for(var S=0;S<H.length;S++)V=(W.words[S]|0)-(H.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;for(;P!==0&&S<W.length;S++)V=(W.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,F){F.negative=V.negative^G.negative;var W=G.length+V.length|0;F.length=W,W=W-1|0;var H=G.words[0]|0,P=V.words[0]|0,S=H*P,A=S&67108863,z=S/67108864|0;F.words[0]=A;for(var T=1;T<W;T++){var g=z>>>26,N=z&67108863,c=Math.min(T,V.length-1);for(var r=Math.max(0,T-G.length+1);r<=c;r++){var U0=T-r|0;H=G.words[U0]|0,P=V.words[r]|0,S=H*P+N,g+=S/67108864|0,N=S&67108863}F.words[T]=N|0,z=g|0}if(z!==0)F.words[T]=z|0;else F.length--;return F.strip()}var w=function(G,V,F){var W=G.words,H=V.words,P=F.words,S=0,A,z,T,g=W[0]|0,N=g&8191,c=g>>>13,r=W[1]|0,U0=r&8191,O0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,h=$0&8191,n=$0>>>13,F0=W[5]|0,Y0=F0&8191,W0=F0>>>13,v0=W[6]|0,I0=v0&8191,K0=v0>>>13,I$=W[7]|0,L0=I$&8191,B0=I$>>>13,L$=W[8]|0,m0=L$&8191,p0=L$>>>13,i$=W[9]|0,c0=i$&8191,h0=i$>>>13,QU=H[0]|0,t0=QU&8191,i0=QU>>>13,RU=H[1]|0,m=RU&8191,X0=RU>>>13,e0=H[2]|0,S0=e0&8191,N0=e0>>>13,F$=H[3]|0,x0=F$&8191,y0=F$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,WU=H[5]|0,s0=WU&8191,i=WU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,O$=H[7]|0,n0=O$&8191,a0=O$>>>13,MU=H[8]|0,X$=MU&8191,U$=MU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(N,t0),z=Math.imul(N,i0),z=z+Math.imul(c,t0)|0,T=Math.imul(c,i0);var _U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,t0),z=Math.imul(U0,i0),z=z+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,X0)|0,z=z+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),z=Math.imul(s,i0),z=z+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,X0)|0,z=z+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(N,S0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(c,S0)|0,T=T+Math.imul(c,N0)|0;var S$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),z=Math.imul(Z0,i0),z=z+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,X0)|0,z=z+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,S0)|0,T=T+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,y0)|0,z=z+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var $U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(h,t0),z=Math.imul(h,i0),z=z+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,X0)|0,z=z+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,S0)|0,T=T+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,y0)|0,z=z+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(N,o0)|0,z=z+Math.imul(N,r0)|0,z=z+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),z=Math.imul(Y0,i0),z=z+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(h,m)|0,z=z+Math.imul(h,X0)|0,z=z+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,S0)|0,T=T+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,y0)|0,z=z+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,z=z+Math.imul(U0,r0)|0,z=z+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(N,s0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),z=Math.imul(I0,i0),z=z+Math.imul(K0,t0)|0,T=Math.imul(K0,i0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,X0)|0,z=z+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(h,S0)|0,z=z+Math.imul(h,N0)|0,z=z+Math.imul(n,S0)|0,T=T+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,y0)|0,z=z+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,z=z+Math.imul(s,r0)|0,z=z+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(N,_0)|0,z=z+Math.imul(N,E0)|0,z=z+Math.imul(c,_0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(L0,t0),z=Math.imul(L0,i0),z=z+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,z=z+Math.imul(I0,X0)|0,z=z+Math.imul(K0,m)|0,T=T+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(W0,S0)|0,T=T+Math.imul(W0,N0)|0,A=A+Math.imul(h,x0)|0,z=z+Math.imul(h,y0)|0,z=z+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,z=z+Math.imul(Z0,r0)|0,z=z+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,z=z+Math.imul(U0,E0)|0,z=z+Math.imul(O0,_0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,a0)|0,z=z+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),z=Math.imul(m0,i0),z=z+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(L0,m)|0,z=z+Math.imul(L0,X0)|0,z=z+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,z=z+Math.imul(I0,N0)|0,z=z+Math.imul(K0,S0)|0,T=T+Math.imul(K0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,y0)|0,z=z+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(h,o0)|0,z=z+Math.imul(h,r0)|0,z=z+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,z=z+Math.imul(s,E0)|0,z=z+Math.imul(e,_0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,a0)|0,z=z+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,U$)|0,z=z+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),z=Math.imul(c0,i0),z=z+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,z=z+Math.imul(m0,X0)|0,z=z+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(L0,S0)|0,z=z+Math.imul(L0,N0)|0,z=z+Math.imul(B0,S0)|0,T=T+Math.imul(B0,N0)|0,A=A+Math.imul(I0,x0)|0,z=z+Math.imul(I0,y0)|0,z=z+Math.imul(K0,x0)|0,T=T+Math.imul(K0,y0)|0,A=A+Math.imul(Y0,o0)|0,z=z+Math.imul(Y0,r0)|0,z=z+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(h,s0)|0,z=z+Math.imul(h,i)|0,z=z+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,z=z+Math.imul(Z0,E0)|0,z=z+Math.imul(A0,_0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,a0)|0,z=z+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,U$)|0,z=z+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(N,J$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),z=Math.imul(c0,X0),z=z+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,z=z+Math.imul(m0,N0)|0,z=z+Math.imul(p0,S0)|0,T=T+Math.imul(p0,N0)|0,A=A+Math.imul(L0,x0)|0,z=z+Math.imul(L0,y0)|0,z=z+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,z=z+Math.imul(I0,r0)|0,z=z+Math.imul(K0,o0)|0,T=T+Math.imul(K0,r0)|0,A=A+Math.imul(Y0,s0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(h,_0)|0,z=z+Math.imul(h,E0)|0,z=z+Math.imul(n,_0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,a0)|0,z=z+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,U$)|0,z=z+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var r$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(c0,S0),z=Math.imul(c0,N0),z=z+Math.imul(h0,S0)|0,T=Math.imul(h0,N0),A=A+Math.imul(m0,x0)|0,z=z+Math.imul(m0,y0)|0,z=z+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(L0,o0)|0,z=z+Math.imul(L0,r0)|0,z=z+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,z=z+Math.imul(I0,i)|0,z=z+Math.imul(K0,s0)|0,T=T+Math.imul(K0,i)|0,A=A+Math.imul(Y0,_0)|0,z=z+Math.imul(Y0,E0)|0,z=z+Math.imul(W0,_0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(h,n0)|0,z=z+Math.imul(h,a0)|0,z=z+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,U$)|0,z=z+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var LU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(c0,x0),z=Math.imul(c0,y0),z=z+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,z=z+Math.imul(m0,r0)|0,z=z+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(L0,s0)|0,z=z+Math.imul(L0,i)|0,z=z+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,_0)|0,z=z+Math.imul(I0,E0)|0,z=z+Math.imul(K0,_0)|0,T=T+Math.imul(K0,E0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,a0)|0,z=z+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(h,X$)|0,z=z+Math.imul(h,U$)|0,z=z+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),z=Math.imul(c0,r0),z=z+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,z=z+Math.imul(m0,i)|0,z=z+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(L0,_0)|0,z=z+Math.imul(L0,E0)|0,z=z+Math.imul(B0,_0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,z=z+Math.imul(I0,a0)|0,z=z+Math.imul(K0,n0)|0,T=T+Math.imul(K0,a0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,U$)|0,z=z+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(h,J$)|0,z=z+Math.imul(h,$$)|0,z=z+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),z=Math.imul(c0,i),z=z+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,_0)|0,z=z+Math.imul(m0,E0)|0,z=z+Math.imul(p0,_0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(L0,n0)|0,z=z+Math.imul(L0,a0)|0,z=z+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,z=z+Math.imul(I0,U$)|0,z=z+Math.imul(K0,X$)|0,T=T+Math.imul(K0,U$)|0,A=A+Math.imul(Y0,J$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var qU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(c0,_0),z=Math.imul(c0,E0),z=z+Math.imul(h0,_0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,z=z+Math.imul(m0,a0)|0,z=z+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(L0,X$)|0,z=z+Math.imul(L0,U$)|0,z=z+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,z=z+Math.imul(I0,$$)|0,z=z+Math.imul(K0,J$)|0,T=T+Math.imul(K0,$$)|0;var vU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(c0,n0),z=Math.imul(c0,a0),z=z+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,z=z+Math.imul(m0,U$)|0,z=z+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(L0,J$)|0,z=z+Math.imul(L0,$$)|0,z=z+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var gU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(c0,X$),z=Math.imul(c0,U$),z=z+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,z=z+Math.imul(m0,$$)|0,z=z+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),z=Math.imul(c0,$$),z=z+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((z&8191)<<13)|0;if(S=(T+(z>>>13)|0)+(AU>>>26)|0,AU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=cU,P[7]=hU,P[8]=pU,P[9]=mU,P[10]=r$,P[11]=LU,P[12]=VU,P[13]=lU,P[14]=qU,P[15]=vU,P[16]=gU,P[17]=EU,P[18]=AU,S!==0)P[19]=S,F.length++;return F};if(!Math.imul)w=y;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var W=0,H=0;for(var P=0;P<F.length-1;P++){var S=H;H=0;var A=W&67108863,z=Math.min(P,V.length-1);for(var T=Math.max(0,P-G.length+1);T<=z;T++){var g=P-T,N=G.words[g]|0,c=V.words[T]|0,r=N*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,H+=S>>>26,S&=67108863}F.words[P]=A,W=S,S=H}if(W!==0)F.words[P]=W;else F.length--;return F.strip()}function x(G,V,F){var W=new u;return W.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,W=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(W<63)F=y(this,G,V);else if(W<1024)F=b(this,G,V);else F=x(this,G,V);return F};function u(G,V){this.x=G,this.y=V}u.prototype.makeRBT=function(G){var V=Array(G),F=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)V[W]=this.revBin(W,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var W=0;for(var H=0;H<V;H++)W|=(G&1)<<V-H-1,G>>=1;return W},u.prototype.permute=function(G,V,F,W,H,P){for(var S=0;S<P;S++)W[S]=V[G[S]],H[S]=F[G[S]]},u.prototype.transform=function(G,V,F,W,H,P){this.permute(P,G,V,F,W,H);for(var S=1;S<H;S<<=1){var A=S<<1,z=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<H;g+=A){var N=z,c=T;for(var r=0;r<S;r++){var U0=F[g+r],O0=W[g+r],Q0=F[g+r+S],s=W[g+r+S],e=N*Q0-c*s;if(s=N*s+c*Q0,Q0=e,F[g+r]=U0+Q0,W[g+r]=O0+s,F[g+r+S]=U0-Q0,W[g+r+S]=O0-s,r!==A)e=z*N-T*c,c=z*c+T*N,N=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,W=F&1,H=0;for(F=F/2|0;F;F=F>>>1)H++;return 1<<H+1+W},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var W=0;W<F/2;W++){var H=G[W];G[W]=G[F-W-1],G[F-W-1]=H,H=V[W],V[W]=-V[F-W-1],V[F-W-1]=-H}},u.prototype.normalize13b=function(G,V){var F=0;for(var W=0;W<V/2;W++){var H=Math.round(G[2*W+1]/V)*8192+Math.round(G[2*W]/V)+F;if(G[W]=H&67108863,H<67108864)F=0;else F=H/67108864|0}return G},u.prototype.convert13b=function(G,V,F,W){var H=0;for(var P=0;P<V;P++)H=H+(G[P]|0),F[2*P]=H&8191,H=H>>>13,F[2*P+1]=H&8191,H=H>>>13;for(P=2*V;P<W;++P)F[P]=0;X(H===0),X((H&-8192)===0)},u.prototype.stub=function(G){var V=Array(G);for(var F=0;F<G;F++)V[F]=0;return V},u.prototype.mulp=function(G,V,F){var W=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),z=Array(W),T=Array(W),g=Array(W),N=Array(W),c=F.words;c.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(V.words,V.length,T,W),this.transform(S,P,A,z,W,H),this.transform(T,P,g,N,W,H);for(var r=0;r<W;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,W),this.transform(A,z,c,P,W,H),this.conjugate(c,P,W),this.normalize13b(c,W),F.negative=G.negative^V.negative,F.length=G.length+V.length,F.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),x(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var F=0;F<this.length;F++){var W=(this.words[F]|0)*G,H=(W&67108863)+(V&67108863);V>>=26,V+=W/67108864|0,V+=H>>>26,this.words[F]=H&67108863}if(V!==0)this.words[F]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=v(G);if(V.length===0)return new Z(1);var F=this;for(var W=0;W<V.length;W++,F=F.sqr())if(V[W]!==0)break;if(++W<V.length)for(var H=F.sqr();W<V.length;W++,H=H.sqr()){if(V[W]===0)continue;F=F.mul(H)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=67108863>>>26-V<<26-V,H;if(V!==0){var P=0;for(H=0;H<this.length;H++){var S=this.words[H]&W,A=(this.words[H]|0)-S<<V;this.words[H]=A|P,P=S>>>26-V}if(P)this.words[H]=P,this.length++}if(F!==0){for(H=this.length-1;H>=0;H--)this.words[H+F]=this.words[H];for(H=0;H<F;H++)this.words[H]=0;this.length+=F}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,F){X(typeof G==="number"&&G>=0);var W;if(V)W=(V-V%26)/26;else W=0;var H=G%26,P=Math.min((G-H)/26,this.length),S=67108863^67108863>>>H<<H,A=F;if(W-=P,W=Math.max(0,W),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var T=0;for(z=this.length-1;z>=0&&(T!==0||z>=W);z--){var g=this.words[z]|0;this.words[z]=T<<26-H|g>>>H,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,F){return X(this.negative===0),this.iushrn(G,V,F)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return!1;var H=this.words[F];return!!(H&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=F)return this;if(V!==0)F++;if(this.length=Math.min(F,this.length),V!==0){var W=67108863^67108863>>>V<<V;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var V=0;V<this.length&&this.words[V]>=67108864;V++)if(this.words[V]-=67108864,V===this.length-1)this.words[V+1]=1;else this.words[V+1]++;return this.length=Math.max(this.length,V+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,F){var W=G.length+F,H;this._expand(W);var P,S=0;for(H=0;H<G.length;H++){P=(this.words[H+F]|0)+S;var A=(G.words[H]|0)*V;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[H+F]=P&67108863}for(;H<this.length-F;H++)P=(this.words[H+F]|0)+S,S=P>>26,this.words[H+F]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(H=0;H<this.length;H++)P=-(this.words[H]|0)+S,S=P>>26,this.words[H]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,W=this.clone(),H=G,P=H.words[H.length-1]|0,S=this._countBits(P);if(F=26-S,F!==0)H=H.ushln(F),W.iushln(F),P=H.words[H.length-1]|0;var A=W.length-H.length,z;if(V!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var T=0;T<z.length;T++)z.words[T]=0}var g=W.clone()._ishlnsubmul(H,1,A);if(g.negative===0){if(W=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var c=(W.words[H.length+N]|0)*67108864+(W.words[H.length+N-1]|0);c=Math.min(c/P|0,67108863),W._ishlnsubmul(H,c,N);while(W.negative!==0)if(c--,W.negative=0,W._ishlnsubmul(H,1,N),!W.isZero())W.negative^=1;if(z)z.words[N]=c}if(z)z.strip();if(W.strip(),V!=="div"&&F!==0)W.iushrn(F);return{div:z||null,mod:W}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,H,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,V),V!=="mod")W=P.div.neg();if(V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.iadd(G)}return{div:W,mod:H}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),V),V!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),V),V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.isub(G)}return{div:P.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var F=V.div.negative!==0?V.mod.isub(G):V.mod,W=G.ushrn(1),H=G.andln(1),P=F.cmp(W);if(P<0||H===1&&P===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,F=0;for(var W=this.length-1;W>=0;W--)F=(V*F+(this.words[W]|0))%G;return F},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var F=this.length-1;F>=0;F--){var W=(this.words[F]|0)+V*67108864;this.words[F]=W/G|0,V=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var z=F.clone(),T=V.clone();while(!V.isZero()){for(var g=0,N=1;(V.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){V.iushrn(g);while(g-- >0){if(W.isOdd()||H.isOdd())W.iadd(z),H.isub(T);W.iushrn(1),H.iushrn(1)}}for(var c=0,r=1;(F.words[0]&r)===0&&c<26;++c,r<<=1);if(c>0){F.iushrn(c);while(c-- >0){if(P.isOdd()||S.isOdd())P.iadd(z),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(P),H.isub(S);else F.isub(V),P.isub(W),S.isub(H)}return{a:P,b:S,gcd:F.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=F.clone();while(V.cmpn(1)>0&&F.cmpn(1)>0){for(var S=0,A=1;(V.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){V.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var z=0,T=1;(F.words[0]&T)===0&&z<26;++z,T<<=1);if(z>0){F.iushrn(z);while(z-- >0){if(H.isOdd())H.iadd(P);H.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(H);else F.isub(V),H.isub(W)}var g;if(V.cmpn(1)===0)g=W;else g=H;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),F=G.clone();V.negative=0,F.negative=0;for(var W=0;V.isEven()&&F.isEven();W++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var H=V.cmp(F);if(H<0){var P=V;V=F,F=P}else if(H===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=W,this;var H=W;for(var P=F;H!==0&&P<this.length;P++){var S=this.words[P]|0;S+=H,H=S>>>26,S&=67108863,this.words[P]=S}if(H!==0)this.words[P]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var F;if(this.length>1)F=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;F=W===G?0:W<G?-1:1}if(this.negative!==0)return-F|0;return F},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var F=this.length-1;F>=0;F--){var W=this.words[F]|0,H=G.words[F]|0;if(W===H)continue;if(W<H)V=-1;else if(W>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,F;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),F=V.bitLength();while(F>this.n);var W=F<this.n?-1:V.ucmp(this.p);if(W===0)V.words[0]=0,V.length=1;else if(W>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,V){var F=4194303,W=Math.min(G.length,9);for(var H=0;H<W;H++)V.words[H]=G.words[H];if(V.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];V.words[V.length++]=P&F;for(H=10;H<G.length;H++){var S=G.words[H]|0;G.words[H-10]=(S&F)<<4|P>>>22,P=S}if(P>>>=22,G.words[H-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var F=0;F<G.length;F++){var W=G.words[F]|0;V+=W*977,G.words[F]=V&67108863,V=W*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(H0,d);function M0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(M0,d);function q0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(q0,d),q0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var W=(G.words[F]|0)*19+V,H=W&67108863;W>>>=26,G.words[F]=H,V=W}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new M0;else if(G==="p25519")V=new q0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var F=G.add(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var F=G.iadd(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F},t.prototype.sub=function(G,V){this._verify2(G,V);var F=G.sub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var F=G.isub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var F=this.m.add(new Z(1)).iushrn(2);return this.pow(G,F)}var W=this.m.subn(1),H=0;while(!W.isZero()&&W.andln(1)===0)H++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(S)!==0)z.redIAdd(S);var T=this.pow(z,W),g=this.pow(G,W.addn(1).iushrn(1)),N=this.pow(G,W),c=H;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<c);var O0=this.pow(T,new Z(1).iushln(c-U0-1));g=g.redMul(O0),T=O0.redSqr(),N=N.redMul(T),c=U0}return g},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var F=4,W=Array(1<<F);W[0]=new Z(1).toRed(this),W[1]=G;for(var H=2;H<W.length;H++)W[H]=this.mul(W[H-1],G);var P=W[0],S=0,A=0,z=V.bitLength()%26;if(z===0)z=26;for(H=V.length-1;H>=0;H--){var T=V.words[H];for(var g=z-1;g>=0;g--){var N=T>>g&1;if(P!==W[0])P=this.sqr(P);if(N===0&&S===0){A=0;continue}if(S<<=1,S|=N,A++,A!==F&&(H!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}z=26}return P},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},T0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var F=G.imul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),Df=b0((I,J)=>{var Y=Wf(),K=Vf();J.exports=function(M){return new O(M)};var X={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};X.p224=X.secp224r1,X.p256=X.secp256r1=X.prime256v1,X.p192=X.secp192r1=X.prime192v1,X.p384=X.secp384r1,X.p521=X.secp521r1;function O(M){if(this.curveType=X[M],!this.curveType)this.curveType={name:M};this.curve=new Y.ec(this.curveType.name),this.keys=void 0}O.prototype.generateKeys=function(M,j){return this.keys=this.curve.genKeyPair(),this.getPublicKey(M,j)},O.prototype.computeSecret=function(M,j,q){if(j=j||"utf8",!Buffer.isBuffer(M))M=new Buffer(M,j);var E=this.curve.keyFromPublic(M).getPublic(),C=E.mul(this.keys.getPrivate()).getX();return Z(C,q,this.curveType.byteLength)},O.prototype.getPublicKey=function(M,j){var q=this.keys.getPublic(j==="compressed",!0);if(j==="hybrid")if(q[q.length-1]%2)q[0]=7;else q[0]=6;return Z(q,M)},O.prototype.getPrivateKey=function(M){return Z(this.keys.getPrivate(),M)},O.prototype.setPublicKey=function(M,j){if(j=j||"utf8",!Buffer.isBuffer(M))M=new Buffer(M,j);return this.keys._importPublic(M),this},O.prototype.setPrivateKey=function(M,j){if(j=j||"utf8",!Buffer.isBuffer(M))M=new Buffer(M,j);var q=new K(M);return q=q.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(q),this};function Z(M,j,q){if(!Array.isArray(M))M=M.toArray();var E=new Buffer(M);if(q&&E.length<q){var C=new Buffer(q-E.length);C.fill(0),E=Buffer.concat([C,E])}if(!j)return E;else return E.toString(j)}}),Hf=b0((I,J)=>{var Y=(uU(),j$(M4)).createECDH;J.exports=Y||Df()}),Ff=b0((I,J)=>{(function(Y,K){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function O(G,V){G.super_=V;var F=function(){};F.prototype=V.prototype,G.prototype=new F,G.prototype.constructor=G}function Z(G,V,F){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")F=V,V=10;this._init(G||0,V||10,F||"be")}}if(typeof Y==="object")Y.exports=Z;else K.BN=Z;Z.BN=Z,Z.wordSize=26;var M;try{if(typeof window<"u"&&typeof window.Buffer<"u")M=window.Buffer;else M=(iU(),j$(oU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,F){if(typeof G==="number")return this._initNumber(G,V,F);if(typeof G==="object")return this._initArray(G,V,F);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(V===16)this._parseHex(G,W,F);else if(this._parseBase(G,V,W),F==="le")this._initArray(this.toArray(),V,F)}},Z.prototype._initNumber=function(G,V,F){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(F!=="le")return;this._initArray(this.toArray(),V,F)},Z.prototype._initArray=function(G,V,F){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H,P,S=0;if(F==="be"){for(W=G.length-1,H=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}else if(F==="le"){for(W=0,H=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}return this.strip()};function j(G,V){var F=G.charCodeAt(V);if(F>=65&&F<=70)return F-55;else if(F>=97&&F<=102)return F-87;else return F-48&15}function q(G,V,F){var W=j(G,F);if(F-1>=V)W|=j(G,F-1)<<4;return W}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H=0,P=0,S;if(F==="be")for(W=G.length-1;W>=V;W-=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8;else{var A=G.length-V;for(W=A%2===0?V+1:V;W<G.length;W+=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8}this.strip()};function E(G,V,F,W){var H=0,P=Math.min(G.length,F);for(var S=V;S<P;S++){var A=G.charCodeAt(S)-48;if(H*=W,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var W=0,H=1;H<=67108863;H*=V)W++;W--,H=H/V|0;var P=G.length-F,S=P%W,A=Math.min(P,P-S)+F,z=0;for(var T=F;T<A;T+=W)if(z=E(G,T,T+W,V),this.imuln(H),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(S!==0){var g=1;z=E(G,T,G.length,V);for(T=0;T<S;T++)g*=V;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var F;if(G===16||G==="hex"){F="";var W=0,H=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|H)&16777215).toString(16);if(H=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(H!==0||P!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(H!==0)F=H.toString(16)+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}if(G===(G|0)&&G>=2&&G<=36){var z=_[G],T=B[G];F="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())F=C[z-N.length]+N+F;else F=N+F}if(this.isZero())F="0"+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof M<"u"),this.toArrayLike(M,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var W=this.byteLength(),H=F||Math.max(1,W);X(W<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var P=V==="le",S=new G(H),A,z,T=this.clone();if(!P){for(z=0;z<H-W;z++)S[z]=0;for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[H-z-1]=A}else{for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[z]=A;for(;z<H;z++)S[z]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,F=0;if(V>=4096)F+=13,V>>>=13;if(V>=64)F+=7,V>>>=7;if(V>=8)F+=4,V>>>=4;if(V>=2)F+=2,V>>>=2;return F+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,F=0;if((V&8191)===0)F+=13,V>>>=13;if((V&127)===0)F+=7,V>>>=7;if((V&15)===0)F+=4,V>>>=4;if((V&3)===0)F+=2,V>>>=2;if((V&1)===0)F++;return F},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function v(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var W=F/26|0,H=F%26;V[F]=(G.words[W]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var F=this._zeroBits(this.words[V]);if(G+=F,F!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var F=0;F<V.length;F++)this.words[F]=this.words[F]&G.words[F];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,F;if(this.length>G.length)V=this,F=G;else V=G,F=this;for(var W=0;W<F.length;W++)this.words[W]=V.words[W]^F.words[W];if(this!==V)for(;W<V.length;W++)this.words[W]=V.words[W];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,F=G%26;if(this._expand(V),F>0)V--;for(var W=0;W<V;W++)this.words[W]=~this.words[W]&67108863;if(F>0)this.words[W]=~this.words[W]&67108863>>26-F;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var F=G/26|0,W=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<W;else this.words[F]=this.words[F]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var F,W;if(this.length>G.length)F=this,W=G;else F=G,W=this;var H=0;for(var P=0;P<W.length;P++)V=(F.words[P]|0)+(W.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;for(;H!==0&&P<F.length;P++)V=(F.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;if(this.length=F.length,H!==0)this.words[this.length]=H,this.length++;else if(F!==this)for(;P<F.length;P++)this.words[P]=F.words[P];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var F=this.cmp(G);if(F===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,H;if(F>0)W=this,H=G;else W=G,H=this;var P=0;for(var S=0;S<H.length;S++)V=(W.words[S]|0)-(H.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;for(;P!==0&&S<W.length;S++)V=(W.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,F){F.negative=V.negative^G.negative;var W=G.length+V.length|0;F.length=W,W=W-1|0;var H=G.words[0]|0,P=V.words[0]|0,S=H*P,A=S&67108863,z=S/67108864|0;F.words[0]=A;for(var T=1;T<W;T++){var g=z>>>26,N=z&67108863,c=Math.min(T,V.length-1);for(var r=Math.max(0,T-G.length+1);r<=c;r++){var U0=T-r|0;H=G.words[U0]|0,P=V.words[r]|0,S=H*P+N,g+=S/67108864|0,N=S&67108863}F.words[T]=N|0,z=g|0}if(z!==0)F.words[T]=z|0;else F.length--;return F.strip()}var w=function(G,V,F){var W=G.words,H=V.words,P=F.words,S=0,A,z,T,g=W[0]|0,N=g&8191,c=g>>>13,r=W[1]|0,U0=r&8191,O0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,h=$0&8191,n=$0>>>13,F0=W[5]|0,Y0=F0&8191,W0=F0>>>13,v0=W[6]|0,I0=v0&8191,K0=v0>>>13,I$=W[7]|0,L0=I$&8191,B0=I$>>>13,L$=W[8]|0,m0=L$&8191,p0=L$>>>13,i$=W[9]|0,c0=i$&8191,h0=i$>>>13,QU=H[0]|0,t0=QU&8191,i0=QU>>>13,RU=H[1]|0,m=RU&8191,X0=RU>>>13,e0=H[2]|0,S0=e0&8191,N0=e0>>>13,F$=H[3]|0,x0=F$&8191,y0=F$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,WU=H[5]|0,s0=WU&8191,i=WU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,O$=H[7]|0,n0=O$&8191,a0=O$>>>13,MU=H[8]|0,X$=MU&8191,U$=MU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(N,t0),z=Math.imul(N,i0),z=z+Math.imul(c,t0)|0,T=Math.imul(c,i0);var _U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,t0),z=Math.imul(U0,i0),z=z+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,X0)|0,z=z+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),z=Math.imul(s,i0),z=z+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,X0)|0,z=z+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(N,S0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(c,S0)|0,T=T+Math.imul(c,N0)|0;var S$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),z=Math.imul(Z0,i0),z=z+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,X0)|0,z=z+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,S0)|0,T=T+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,y0)|0,z=z+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var $U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(h,t0),z=Math.imul(h,i0),z=z+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,X0)|0,z=z+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,S0)|0,T=T+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,y0)|0,z=z+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(N,o0)|0,z=z+Math.imul(N,r0)|0,z=z+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),z=Math.imul(Y0,i0),z=z+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(h,m)|0,z=z+Math.imul(h,X0)|0,z=z+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,S0)|0,T=T+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,y0)|0,z=z+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,z=z+Math.imul(U0,r0)|0,z=z+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(N,s0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),z=Math.imul(I0,i0),z=z+Math.imul(K0,t0)|0,T=Math.imul(K0,i0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,X0)|0,z=z+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(h,S0)|0,z=z+Math.imul(h,N0)|0,z=z+Math.imul(n,S0)|0,T=T+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,y0)|0,z=z+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,z=z+Math.imul(s,r0)|0,z=z+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(N,_0)|0,z=z+Math.imul(N,E0)|0,z=z+Math.imul(c,_0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(L0,t0),z=Math.imul(L0,i0),z=z+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,z=z+Math.imul(I0,X0)|0,z=z+Math.imul(K0,m)|0,T=T+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(W0,S0)|0,T=T+Math.imul(W0,N0)|0,A=A+Math.imul(h,x0)|0,z=z+Math.imul(h,y0)|0,z=z+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,z=z+Math.imul(Z0,r0)|0,z=z+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,z=z+Math.imul(U0,E0)|0,z=z+Math.imul(O0,_0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,a0)|0,z=z+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),z=Math.imul(m0,i0),z=z+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(L0,m)|0,z=z+Math.imul(L0,X0)|0,z=z+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,z=z+Math.imul(I0,N0)|0,z=z+Math.imul(K0,S0)|0,T=T+Math.imul(K0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,y0)|0,z=z+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(h,o0)|0,z=z+Math.imul(h,r0)|0,z=z+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,z=z+Math.imul(s,E0)|0,z=z+Math.imul(e,_0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,a0)|0,z=z+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,U$)|0,z=z+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),z=Math.imul(c0,i0),z=z+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,z=z+Math.imul(m0,X0)|0,z=z+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(L0,S0)|0,z=z+Math.imul(L0,N0)|0,z=z+Math.imul(B0,S0)|0,T=T+Math.imul(B0,N0)|0,A=A+Math.imul(I0,x0)|0,z=z+Math.imul(I0,y0)|0,z=z+Math.imul(K0,x0)|0,T=T+Math.imul(K0,y0)|0,A=A+Math.imul(Y0,o0)|0,z=z+Math.imul(Y0,r0)|0,z=z+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(h,s0)|0,z=z+Math.imul(h,i)|0,z=z+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,z=z+Math.imul(Z0,E0)|0,z=z+Math.imul(A0,_0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,a0)|0,z=z+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,U$)|0,z=z+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(N,J$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),z=Math.imul(c0,X0),z=z+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,z=z+Math.imul(m0,N0)|0,z=z+Math.imul(p0,S0)|0,T=T+Math.imul(p0,N0)|0,A=A+Math.imul(L0,x0)|0,z=z+Math.imul(L0,y0)|0,z=z+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,z=z+Math.imul(I0,r0)|0,z=z+Math.imul(K0,o0)|0,T=T+Math.imul(K0,r0)|0,A=A+Math.imul(Y0,s0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(h,_0)|0,z=z+Math.imul(h,E0)|0,z=z+Math.imul(n,_0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,a0)|0,z=z+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,U$)|0,z=z+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var r$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(c0,S0),z=Math.imul(c0,N0),z=z+Math.imul(h0,S0)|0,T=Math.imul(h0,N0),A=A+Math.imul(m0,x0)|0,z=z+Math.imul(m0,y0)|0,z=z+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(L0,o0)|0,z=z+Math.imul(L0,r0)|0,z=z+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,z=z+Math.imul(I0,i)|0,z=z+Math.imul(K0,s0)|0,T=T+Math.imul(K0,i)|0,A=A+Math.imul(Y0,_0)|0,z=z+Math.imul(Y0,E0)|0,z=z+Math.imul(W0,_0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(h,n0)|0,z=z+Math.imul(h,a0)|0,z=z+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,U$)|0,z=z+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var LU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(c0,x0),z=Math.imul(c0,y0),z=z+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,z=z+Math.imul(m0,r0)|0,z=z+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(L0,s0)|0,z=z+Math.imul(L0,i)|0,z=z+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,_0)|0,z=z+Math.imul(I0,E0)|0,z=z+Math.imul(K0,_0)|0,T=T+Math.imul(K0,E0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,a0)|0,z=z+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(h,X$)|0,z=z+Math.imul(h,U$)|0,z=z+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),z=Math.imul(c0,r0),z=z+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,z=z+Math.imul(m0,i)|0,z=z+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(L0,_0)|0,z=z+Math.imul(L0,E0)|0,z=z+Math.imul(B0,_0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,z=z+Math.imul(I0,a0)|0,z=z+Math.imul(K0,n0)|0,T=T+Math.imul(K0,a0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,U$)|0,z=z+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(h,J$)|0,z=z+Math.imul(h,$$)|0,z=z+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),z=Math.imul(c0,i),z=z+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,_0)|0,z=z+Math.imul(m0,E0)|0,z=z+Math.imul(p0,_0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(L0,n0)|0,z=z+Math.imul(L0,a0)|0,z=z+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,z=z+Math.imul(I0,U$)|0,z=z+Math.imul(K0,X$)|0,T=T+Math.imul(K0,U$)|0,A=A+Math.imul(Y0,J$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var qU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(c0,_0),z=Math.imul(c0,E0),z=z+Math.imul(h0,_0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,z=z+Math.imul(m0,a0)|0,z=z+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(L0,X$)|0,z=z+Math.imul(L0,U$)|0,z=z+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,z=z+Math.imul(I0,$$)|0,z=z+Math.imul(K0,J$)|0,T=T+Math.imul(K0,$$)|0;var vU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(c0,n0),z=Math.imul(c0,a0),z=z+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,z=z+Math.imul(m0,U$)|0,z=z+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(L0,J$)|0,z=z+Math.imul(L0,$$)|0,z=z+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var gU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(c0,X$),z=Math.imul(c0,U$),z=z+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,z=z+Math.imul(m0,$$)|0,z=z+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),z=Math.imul(c0,$$),z=z+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((z&8191)<<13)|0;if(S=(T+(z>>>13)|0)+(AU>>>26)|0,AU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=cU,P[7]=hU,P[8]=pU,P[9]=mU,P[10]=r$,P[11]=LU,P[12]=VU,P[13]=lU,P[14]=qU,P[15]=vU,P[16]=gU,P[17]=EU,P[18]=AU,S!==0)P[19]=S,F.length++;return F};if(!Math.imul)w=y;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var W=0,H=0;for(var P=0;P<F.length-1;P++){var S=H;H=0;var A=W&67108863,z=Math.min(P,V.length-1);for(var T=Math.max(0,P-G.length+1);T<=z;T++){var g=P-T,N=G.words[g]|0,c=V.words[T]|0,r=N*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,H+=S>>>26,S&=67108863}F.words[P]=A,W=S,S=H}if(W!==0)F.words[P]=W;else F.length--;return F.strip()}function x(G,V,F){var W=new u;return W.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,W=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(W<63)F=y(this,G,V);else if(W<1024)F=b(this,G,V);else F=x(this,G,V);return F};function u(G,V){this.x=G,this.y=V}u.prototype.makeRBT=function(G){var V=Array(G),F=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)V[W]=this.revBin(W,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var W=0;for(var H=0;H<V;H++)W|=(G&1)<<V-H-1,G>>=1;return W},u.prototype.permute=function(G,V,F,W,H,P){for(var S=0;S<P;S++)W[S]=V[G[S]],H[S]=F[G[S]]},u.prototype.transform=function(G,V,F,W,H,P){this.permute(P,G,V,F,W,H);for(var S=1;S<H;S<<=1){var A=S<<1,z=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<H;g+=A){var N=z,c=T;for(var r=0;r<S;r++){var U0=F[g+r],O0=W[g+r],Q0=F[g+r+S],s=W[g+r+S],e=N*Q0-c*s;if(s=N*s+c*Q0,Q0=e,F[g+r]=U0+Q0,W[g+r]=O0+s,F[g+r+S]=U0-Q0,W[g+r+S]=O0-s,r!==A)e=z*N-T*c,c=z*c+T*N,N=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,W=F&1,H=0;for(F=F/2|0;F;F=F>>>1)H++;return 1<<H+1+W},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var W=0;W<F/2;W++){var H=G[W];G[W]=G[F-W-1],G[F-W-1]=H,H=V[W],V[W]=-V[F-W-1],V[F-W-1]=-H}},u.prototype.normalize13b=function(G,V){var F=0;for(var W=0;W<V/2;W++){var H=Math.round(G[2*W+1]/V)*8192+Math.round(G[2*W]/V)+F;if(G[W]=H&67108863,H<67108864)F=0;else F=H/67108864|0}return G},u.prototype.convert13b=function(G,V,F,W){var H=0;for(var P=0;P<V;P++)H=H+(G[P]|0),F[2*P]=H&8191,H=H>>>13,F[2*P+1]=H&8191,H=H>>>13;for(P=2*V;P<W;++P)F[P]=0;X(H===0),X((H&-8192)===0)},u.prototype.stub=function(G){var V=Array(G);for(var F=0;F<G;F++)V[F]=0;return V},u.prototype.mulp=function(G,V,F){var W=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),z=Array(W),T=Array(W),g=Array(W),N=Array(W),c=F.words;c.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(V.words,V.length,T,W),this.transform(S,P,A,z,W,H),this.transform(T,P,g,N,W,H);for(var r=0;r<W;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,W),this.transform(A,z,c,P,W,H),this.conjugate(c,P,W),this.normalize13b(c,W),F.negative=G.negative^V.negative,F.length=G.length+V.length,F.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),x(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var F=0;F<this.length;F++){var W=(this.words[F]|0)*G,H=(W&67108863)+(V&67108863);V>>=26,V+=W/67108864|0,V+=H>>>26,this.words[F]=H&67108863}if(V!==0)this.words[F]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=v(G);if(V.length===0)return new Z(1);var F=this;for(var W=0;W<V.length;W++,F=F.sqr())if(V[W]!==0)break;if(++W<V.length)for(var H=F.sqr();W<V.length;W++,H=H.sqr()){if(V[W]===0)continue;F=F.mul(H)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=67108863>>>26-V<<26-V,H;if(V!==0){var P=0;for(H=0;H<this.length;H++){var S=this.words[H]&W,A=(this.words[H]|0)-S<<V;this.words[H]=A|P,P=S>>>26-V}if(P)this.words[H]=P,this.length++}if(F!==0){for(H=this.length-1;H>=0;H--)this.words[H+F]=this.words[H];for(H=0;H<F;H++)this.words[H]=0;this.length+=F}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,F){X(typeof G==="number"&&G>=0);var W;if(V)W=(V-V%26)/26;else W=0;var H=G%26,P=Math.min((G-H)/26,this.length),S=67108863^67108863>>>H<<H,A=F;if(W-=P,W=Math.max(0,W),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var T=0;for(z=this.length-1;z>=0&&(T!==0||z>=W);z--){var g=this.words[z]|0;this.words[z]=T<<26-H|g>>>H,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,F){return X(this.negative===0),this.iushrn(G,V,F)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return!1;var H=this.words[F];return!!(H&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=F)return this;if(V!==0)F++;if(this.length=Math.min(F,this.length),V!==0){var W=67108863^67108863>>>V<<V;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var V=0;V<this.length&&this.words[V]>=67108864;V++)if(this.words[V]-=67108864,V===this.length-1)this.words[V+1]=1;else this.words[V+1]++;return this.length=Math.max(this.length,V+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,F){var W=G.length+F,H;this._expand(W);var P,S=0;for(H=0;H<G.length;H++){P=(this.words[H+F]|0)+S;var A=(G.words[H]|0)*V;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[H+F]=P&67108863}for(;H<this.length-F;H++)P=(this.words[H+F]|0)+S,S=P>>26,this.words[H+F]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(H=0;H<this.length;H++)P=-(this.words[H]|0)+S,S=P>>26,this.words[H]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,W=this.clone(),H=G,P=H.words[H.length-1]|0,S=this._countBits(P);if(F=26-S,F!==0)H=H.ushln(F),W.iushln(F),P=H.words[H.length-1]|0;var A=W.length-H.length,z;if(V!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var T=0;T<z.length;T++)z.words[T]=0}var g=W.clone()._ishlnsubmul(H,1,A);if(g.negative===0){if(W=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var c=(W.words[H.length+N]|0)*67108864+(W.words[H.length+N-1]|0);c=Math.min(c/P|0,67108863),W._ishlnsubmul(H,c,N);while(W.negative!==0)if(c--,W.negative=0,W._ishlnsubmul(H,1,N),!W.isZero())W.negative^=1;if(z)z.words[N]=c}if(z)z.strip();if(W.strip(),V!=="div"&&F!==0)W.iushrn(F);return{div:z||null,mod:W}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,H,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,V),V!=="mod")W=P.div.neg();if(V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.iadd(G)}return{div:W,mod:H}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),V),V!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),V),V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.isub(G)}return{div:P.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var F=V.div.negative!==0?V.mod.isub(G):V.mod,W=G.ushrn(1),H=G.andln(1),P=F.cmp(W);if(P<0||H===1&&P===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,F=0;for(var W=this.length-1;W>=0;W--)F=(V*F+(this.words[W]|0))%G;return F},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var F=this.length-1;F>=0;F--){var W=(this.words[F]|0)+V*67108864;this.words[F]=W/G|0,V=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var z=F.clone(),T=V.clone();while(!V.isZero()){for(var g=0,N=1;(V.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){V.iushrn(g);while(g-- >0){if(W.isOdd()||H.isOdd())W.iadd(z),H.isub(T);W.iushrn(1),H.iushrn(1)}}for(var c=0,r=1;(F.words[0]&r)===0&&c<26;++c,r<<=1);if(c>0){F.iushrn(c);while(c-- >0){if(P.isOdd()||S.isOdd())P.iadd(z),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(P),H.isub(S);else F.isub(V),P.isub(W),S.isub(H)}return{a:P,b:S,gcd:F.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=F.clone();while(V.cmpn(1)>0&&F.cmpn(1)>0){for(var S=0,A=1;(V.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){V.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var z=0,T=1;(F.words[0]&T)===0&&z<26;++z,T<<=1);if(z>0){F.iushrn(z);while(z-- >0){if(H.isOdd())H.iadd(P);H.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(H);else F.isub(V),H.isub(W)}var g;if(V.cmpn(1)===0)g=W;else g=H;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),F=G.clone();V.negative=0,F.negative=0;for(var W=0;V.isEven()&&F.isEven();W++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var H=V.cmp(F);if(H<0){var P=V;V=F,F=P}else if(H===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=W,this;var H=W;for(var P=F;H!==0&&P<this.length;P++){var S=this.words[P]|0;S+=H,H=S>>>26,S&=67108863,this.words[P]=S}if(H!==0)this.words[P]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var F;if(this.length>1)F=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;F=W===G?0:W<G?-1:1}if(this.negative!==0)return-F|0;return F},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var F=this.length-1;F>=0;F--){var W=this.words[F]|0,H=G.words[F]|0;if(W===H)continue;if(W<H)V=-1;else if(W>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,F;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),F=V.bitLength();while(F>this.n);var W=F<this.n?-1:V.ucmp(this.p);if(W===0)V.words[0]=0,V.length=1;else if(W>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,V){var F=4194303,W=Math.min(G.length,9);for(var H=0;H<W;H++)V.words[H]=G.words[H];if(V.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];V.words[V.length++]=P&F;for(H=10;H<G.length;H++){var S=G.words[H]|0;G.words[H-10]=(S&F)<<4|P>>>22,P=S}if(P>>>=22,G.words[H-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var F=0;F<G.length;F++){var W=G.words[F]|0;V+=W*977,G.words[F]=V&67108863,V=W*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(H0,d);function M0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(M0,d);function q0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(q0,d),q0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var W=(G.words[F]|0)*19+V,H=W&67108863;W>>>=26,G.words[F]=H,V=W}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new M0;else if(G==="p25519")V=new q0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var F=G.add(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var F=G.iadd(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F},t.prototype.sub=function(G,V){this._verify2(G,V);var F=G.sub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var F=G.isub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var F=this.m.add(new Z(1)).iushrn(2);return this.pow(G,F)}var W=this.m.subn(1),H=0;while(!W.isZero()&&W.andln(1)===0)H++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(S)!==0)z.redIAdd(S);var T=this.pow(z,W),g=this.pow(G,W.addn(1).iushrn(1)),N=this.pow(G,W),c=H;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<c);var O0=this.pow(T,new Z(1).iushln(c-U0-1));g=g.redMul(O0),T=O0.redSqr(),N=N.redMul(T),c=U0}return g},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var F=4,W=Array(1<<F);W[0]=new Z(1).toRed(this),W[1]=G;for(var H=2;H<W.length;H++)W[H]=this.mul(W[H-1],G);var P=W[0],S=0,A=0,z=V.bitLength()%26;if(z===0)z=26;for(H=V.length-1;H>=0;H--){var T=V.words[H];for(var g=z-1;g>=0;g--){var N=T>>g&1;if(P!==W[0])P=this.sqr(P);if(N===0&&S===0){A=0;continue}if(S<<=1,S|=N,A++,A!==F&&(H!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}z=26}return P},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},T0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var F=G.imul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),Mf=b0((I)=>{var J=X2(),Y=H4(),K=I;K.define=function(O,Z){return new X(O,Z)};function X(O,Z){this.name=O,this.body=Z,this.decoders={},this.encoders={}}X.prototype._createNamed=function(O){var Z;try{Z=(()=>{throw new Error("Cannot require module "+"vm");})().runInThisContext("(function "+this.name+`(entity) {
|
|
241
|
+
this._initNamed(entity);
|
|
242
|
+
})`)}catch(M){Z=function(j){this._initNamed(j)}}return Y(Z,O),Z.prototype._initNamed=function(M){O.call(this,M)},new Z(this)},X.prototype._getDecoder=function(O){if(O=O||"der",!this.decoders.hasOwnProperty(O))this.decoders[O]=this._createNamed(J.decoders[O]);return this.decoders[O]},X.prototype.decode=function(O,Z,M){return this._getDecoder(Z).decode(O,M)},X.prototype._getEncoder=function(O){if(O=O||"der",!this.encoders.hasOwnProperty(O))this.encoders[O]=this._createNamed(J.encoders[O]);return this.encoders[O]},X.prototype.encode=function(O,Z,M){return this._getEncoder(Z).encode(O,M)}}),Lf=b0((I)=>{var J=H4();function Y(X){this._reporterState={obj:null,path:[],options:X||{},errors:[]}}I.Reporter=Y,Y.prototype.isError=function(X){return X instanceof K},Y.prototype.save=function(){var X=this._reporterState;return{obj:X.obj,pathLen:X.path.length}},Y.prototype.restore=function(X){var O=this._reporterState;O.obj=X.obj,O.path=O.path.slice(0,X.pathLen)},Y.prototype.enterKey=function(X){return this._reporterState.path.push(X)},Y.prototype.exitKey=function(X){var O=this._reporterState;O.path=O.path.slice(0,X-1)},Y.prototype.leaveKey=function(X,O,Z){var M=this._reporterState;if(this.exitKey(X),M.obj!==null)M.obj[O]=Z},Y.prototype.path=function(){return this._reporterState.path.join("/")},Y.prototype.enterObject=function(){var X=this._reporterState,O=X.obj;return X.obj={},O},Y.prototype.leaveObject=function(X){var O=this._reporterState,Z=O.obj;return O.obj=X,Z},Y.prototype.error=function(X){var O,Z=this._reporterState,M=X instanceof K;if(M)O=X;else O=new K(Z.path.map(function(j){return"["+JSON.stringify(j)+"]"}).join(""),X.message||X,X.stack);if(!Z.options.partial)throw O;if(!M)Z.errors.push(O);return O},Y.prototype.wrapResult=function(X){var O=this._reporterState;if(!O.options.partial)return X;return{result:this.isError(X)?null:X,errors:O.errors}};function K(X,O){this.path=X,this.rethrow(O)}J(K,Error),K.prototype.rethrow=function(X){if(this.message=X+" at: "+(this.path||"(shallow)"),Error.captureStackTrace)Error.captureStackTrace(this,K);if(!this.stack)try{throw Error(this.message)}catch(O){this.stack=O.stack}return this}}),vE=b0((I)=>{var J=H4(),Y=sG().Reporter,K=(iU(),j$(oU)).Buffer;function X(Z,M){if(Y.call(this,M),!K.isBuffer(Z)){this.error("Input not Buffer");return}this.base=Z,this.offset=0,this.length=Z.length}J(X,Y),I.DecoderBuffer=X,X.prototype.save=function(){return{offset:this.offset,reporter:Y.prototype.save.call(this)}},X.prototype.restore=function(Z){var M=new X(this.base);return M.offset=Z.offset,M.length=this.offset,this.offset=Z.offset,Y.prototype.restore.call(this,Z.reporter),M},X.prototype.isEmpty=function(){return this.offset===this.length},X.prototype.readUInt8=function(Z){if(this.offset+1<=this.length)return this.base.readUInt8(this.offset++,!0);else return this.error(Z||"DecoderBuffer overrun")},X.prototype.skip=function(Z,M){if(!(this.offset+Z<=this.length))return this.error(M||"DecoderBuffer overrun");var j=new X(this.base);return j._reporterState=this._reporterState,j.offset=this.offset,j.length=this.offset+Z,this.offset+=Z,j},X.prototype.raw=function(Z){return this.base.slice(Z?Z.offset:this.offset,this.length)};function O(Z,M){if(Array.isArray(Z))this.length=0,this.value=Z.map(function(j){if(!(j instanceof O))j=new O(j,M);return this.length+=j.length,j},this);else if(typeof Z==="number"){if(!(0<=Z&&Z<=255))return M.error("non-byte EncoderBuffer value");this.value=Z,this.length=1}else if(typeof Z==="string")this.value=Z,this.length=K.byteLength(Z);else if(K.isBuffer(Z))this.value=Z,this.length=Z.length;else return M.error("Unsupported type: "+typeof Z)}I.EncoderBuffer=O,O.prototype.join=function(Z,M){if(!Z)Z=new K(this.length);if(!M)M=0;if(this.length===0)return Z;if(Array.isArray(this.value))this.value.forEach(function(j){j.join(Z,M),M+=j.length});else{if(typeof this.value==="number")Z[M]=this.value;else if(typeof this.value==="string")Z.write(this.value,M);else if(K.isBuffer(this.value))this.value.copy(Z,M);M+=this.length}return Z}}),Af=b0((I,J)=>{var Y=sG().Reporter,K=sG().EncoderBuffer,X=sG().DecoderBuffer,O=QX(),Z=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],M=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(Z),j=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function q(C,_){var B={};if(this._baseState=B,B.enc=C,B.parent=_||null,B.children=null,B.tag=null,B.args=null,B.reverseArgs=null,B.choice=null,B.optional=!1,B.any=!1,B.obj=!1,B.use=null,B.useDecoder=null,B.key=null,B.default=null,B.explicit=null,B.implicit=null,B.contains=null,!B.parent)B.children=[],this._wrap()}J.exports=q;var E=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];q.prototype.clone=function(){var C=this._baseState,_={};E.forEach(function(v){_[v]=C[v]});var B=new this.constructor(_.parent);return B._baseState=_,B},q.prototype._wrap=function(){var C=this._baseState;M.forEach(function(_){this[_]=function(){var B=new this.constructor(this);return C.children.push(B),B[_].apply(B,arguments)}},this)},q.prototype._init=function(C){var _=this._baseState;O(_.parent===null),C.call(this),_.children=_.children.filter(function(B){return B._baseState.parent===this},this),O.equal(_.children.length,1,"Root node can have only one child")},q.prototype._useArgs=function(C){var _=this._baseState,B=C.filter(function(v){return v instanceof this.constructor},this);if(C=C.filter(function(v){return!(v instanceof this.constructor)},this),B.length!==0)O(_.children===null),_.children=B,B.forEach(function(v){v._baseState.parent=this},this);if(C.length!==0)O(_.args===null),_.args=C,_.reverseArgs=C.map(function(v){if(typeof v!=="object"||v.constructor!==Object)return v;var y={};return Object.keys(v).forEach(function(w){if(w==(w|0))w|=0;var b=v[w];y[b]=w}),y})},j.forEach(function(C){q.prototype[C]=function(){var _=this._baseState;throw Error(C+" not implemented for encoding: "+_.enc)}}),Z.forEach(function(C){q.prototype[C]=function(){var _=this._baseState,B=Array.prototype.slice.call(arguments);return O(_.tag===null),_.tag=C,this._useArgs(B),this}}),q.prototype.use=function(C){O(C);var _=this._baseState;return O(_.use===null),_.use=C,this},q.prototype.optional=function(){var C=this._baseState;return C.optional=!0,this},q.prototype.def=function(C){var _=this._baseState;return O(_.default===null),_.default=C,_.optional=!0,this},q.prototype.explicit=function(C){var _=this._baseState;return O(_.explicit===null&&_.implicit===null),_.explicit=C,this},q.prototype.implicit=function(C){var _=this._baseState;return O(_.explicit===null&&_.implicit===null),_.implicit=C,this},q.prototype.obj=function(){var C=this._baseState,_=Array.prototype.slice.call(arguments);if(C.obj=!0,_.length!==0)this._useArgs(_);return this},q.prototype.key=function(C){var _=this._baseState;return O(_.key===null),_.key=C,this},q.prototype.any=function(){var C=this._baseState;return C.any=!0,this},q.prototype.choice=function(C){var _=this._baseState;return O(_.choice===null),_.choice=C,this._useArgs(Object.keys(C).map(function(B){return C[B]})),this},q.prototype.contains=function(C){var _=this._baseState;return O(_.use===null),_.contains=C,this},q.prototype._decode=function(C,_){var B=this._baseState;if(B.parent===null)return C.wrapResult(B.children[0]._decode(C,_));var v=B.default,y=!0,w=null;if(B.key!==null)w=C.enterKey(B.key);if(B.optional){var b=null;if(B.explicit!==null)b=B.explicit;else if(B.implicit!==null)b=B.implicit;else if(B.tag!==null)b=B.tag;if(b===null&&!B.any){var x=C.save();try{if(B.choice===null)this._decodeGeneric(B.tag,C,_);else this._decodeChoice(C,_);y=!0}catch(M0){y=!1}C.restore(x)}else if(y=this._peekTag(C,b,B.any),C.isError(y))return y}var u;if(B.obj&&y)u=C.enterObject();if(y){if(B.explicit!==null){var p=this._decodeTag(C,B.explicit);if(C.isError(p))return p;C=p}var d=C.offset;if(B.use===null&&B.choice===null){if(B.any)var x=C.save();var a=this._decodeTag(C,B.implicit!==null?B.implicit:B.tag,B.any);if(C.isError(a))return a;if(B.any)v=C.raw(x);else C=a}if(_&&_.track&&B.tag!==null)_.track(C.path(),d,C.length,"tagged");if(_&&_.track&&B.tag!==null)_.track(C.path(),C.offset,C.length,"content");if(B.any)v=v;else if(B.choice===null)v=this._decodeGeneric(B.tag,C,_);else v=this._decodeChoice(C,_);if(C.isError(v))return v;if(!B.any&&B.choice===null&&B.children!==null)B.children.forEach(function(M0){M0._decode(C,_)});if(B.contains&&(B.tag==="octstr"||B.tag==="bitstr")){var H0=new X(v);v=this._getUse(B.contains,C._reporterState.obj)._decode(H0,_)}}if(B.obj&&y)v=C.leaveObject(u);if(B.key!==null&&(v!==null||y===!0))C.leaveKey(w,B.key,v);else if(w!==null)C.exitKey(w);return v},q.prototype._decodeGeneric=function(C,_,B){var v=this._baseState;if(C==="seq"||C==="set")return null;if(C==="seqof"||C==="setof")return this._decodeList(_,C,v.args[0],B);else if(/str$/.test(C))return this._decodeStr(_,C,B);else if(C==="objid"&&v.args)return this._decodeObjid(_,v.args[0],v.args[1],B);else if(C==="objid")return this._decodeObjid(_,null,null,B);else if(C==="gentime"||C==="utctime")return this._decodeTime(_,C,B);else if(C==="null_")return this._decodeNull(_,B);else if(C==="bool")return this._decodeBool(_,B);else if(C==="objDesc")return this._decodeStr(_,C,B);else if(C==="int"||C==="enum")return this._decodeInt(_,v.args&&v.args[0],B);if(v.use!==null)return this._getUse(v.use,_._reporterState.obj)._decode(_,B);else return _.error("unknown tag: "+C)},q.prototype._getUse=function(C,_){var B=this._baseState;if(B.useDecoder=this._use(C,_),O(B.useDecoder._baseState.parent===null),B.useDecoder=B.useDecoder._baseState.children[0],B.implicit!==B.useDecoder._baseState.implicit)B.useDecoder=B.useDecoder.clone(),B.useDecoder._baseState.implicit=B.implicit;return B.useDecoder},q.prototype._decodeChoice=function(C,_){var B=this._baseState,v=null,y=!1;if(Object.keys(B.choice).some(function(w){var b=C.save(),x=B.choice[w];try{var u=x._decode(C,_);if(C.isError(u))return!1;v={type:w,value:u},y=!0}catch(p){return C.restore(b),!1}return!0},this),!y)return C.error("Choice not matched");return v},q.prototype._createEncoderBuffer=function(C){return new K(C,this.reporter)},q.prototype._encode=function(C,_,B){var v=this._baseState;if(v.default!==null&&v.default===C)return;var y=this._encodeValue(C,_,B);if(y===void 0)return;if(this._skipDefault(y,_,B))return;return y},q.prototype._encodeValue=function(C,_,B){var v=this._baseState;if(v.parent===null)return v.children[0]._encode(C,_||new Y);var x=null;if(this.reporter=_,v.optional&&C===void 0)if(v.default!==null)C=v.default;else return;var y=null,w=!1;if(v.any)x=this._createEncoderBuffer(C);else if(v.choice)x=this._encodeChoice(C,_);else if(v.contains)y=this._getUse(v.contains,B)._encode(C,_),w=!0;else if(v.children)y=v.children.map(function(d){if(d._baseState.tag==="null_")return d._encode(null,_,C);if(d._baseState.key===null)return _.error("Child should have a key");var a=_.enterKey(d._baseState.key);if(typeof C!=="object")return _.error("Child expected, but input is not object");var H0=d._encode(C[d._baseState.key],_,C);return _.leaveKey(a),H0},this).filter(function(d){return d}),y=this._createEncoderBuffer(y);else if(v.tag==="seqof"||v.tag==="setof"){if(!(v.args&&v.args.length===1))return _.error("Too many args for : "+v.tag);if(!Array.isArray(C))return _.error("seqof/setof, but data is not Array");var b=this.clone();b._baseState.implicit=null,y=this._createEncoderBuffer(C.map(function(d){var a=this._baseState;return this._getUse(a.args[0],C)._encode(d,_)},b))}else if(v.use!==null)x=this._getUse(v.use,B)._encode(C,_);else y=this._encodePrimitive(v.tag,C),w=!0;var x;if(!v.any&&v.choice===null){var u=v.implicit!==null?v.implicit:v.tag,p=v.implicit===null?"universal":"context";if(u===null){if(v.use===null)_.error("Tag could be omitted only for .use()")}else if(v.use===null)x=this._encodeComposite(u,w,p,y)}if(v.explicit!==null)x=this._encodeComposite(v.explicit,!1,"context",x);return x},q.prototype._encodeChoice=function(C,_){var B=this._baseState,v=B.choice[C.type];if(!v)O(!1,C.type+" not found in "+JSON.stringify(Object.keys(B.choice)));return v._encode(C.value,_)},q.prototype._encodePrimitive=function(C,_){var B=this._baseState;if(/str$/.test(C))return this._encodeStr(_,C);else if(C==="objid"&&B.args)return this._encodeObjid(_,B.reverseArgs[0],B.args[1]);else if(C==="objid")return this._encodeObjid(_,null,null);else if(C==="gentime"||C==="utctime")return this._encodeTime(_,C);else if(C==="null_")return this._encodeNull();else if(C==="int"||C==="enum")return this._encodeInt(_,B.args&&B.reverseArgs[0]);else if(C==="bool")return this._encodeBool(_);else if(C==="objDesc")return this._encodeStr(_,C);else throw Error("Unsupported tag: "+C)},q.prototype._isNumstr=function(C){return/^[0-9 ]*$/.test(C)},q.prototype._isPrintstr=function(C){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(C)}}),sG=b0((I)=>{var J=I;J.Reporter=Lf().Reporter,J.DecoderBuffer=vE().DecoderBuffer,J.EncoderBuffer=vE().EncoderBuffer,J.Node=Af()}),Cf=b0((I)=>{var J=tE();I.tagClass={0:"universal",1:"application",2:"context",3:"private"},I.tagClassByName=J._reverse(I.tagClass),I.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},I.tagByName=J._reverse(I.tag)}),tE=b0((I)=>{var J=I;J._reverse=function(Y){var K={};return Object.keys(Y).forEach(function(X){if((X|0)==X)X=X|0;var O=Y[X];K[O]=X}),K},J.der=Cf()}),aE=b0((I,J)=>{var Y=H4(),K=X2(),X=K.base,O=K.bignum,Z=K.constants.der;function M(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new j,this.tree._init(C.body)}J.exports=M,M.prototype.decode=function(C,_){if(!(C instanceof X.DecoderBuffer))C=new X.DecoderBuffer(C,_);return this.tree._decode(C,_)};function j(C){X.Node.call(this,"der",C)}Y(j,X.Node),j.prototype._peekTag=function(C,_,B){if(C.isEmpty())return!1;var v=C.save(),y=q(C,'Failed to peek tag: "'+_+'"');if(C.isError(y))return y;return C.restore(v),y.tag===_||y.tagStr===_||y.tagStr+"of"===_||B},j.prototype._decodeTag=function(C,_,B){var v=q(C,'Failed to decode tag of "'+_+'"');if(C.isError(v))return v;var y=E(C,v.primitive,'Failed to get length of "'+_+'"');if(C.isError(y))return y;if(!B&&v.tag!==_&&v.tagStr!==_&&v.tagStr+"of"!==_)return C.error('Failed to match tag: "'+_+'"');if(v.primitive||y!==null)return C.skip(y,'Failed to match body of: "'+_+'"');var w=C.save(),b=this._skipUntilEnd(C,'Failed to skip indefinite length body: "'+this.tag+'"');if(C.isError(b))return b;return y=C.offset-w.offset,C.restore(w),C.skip(y,'Failed to match body of: "'+_+'"')},j.prototype._skipUntilEnd=function(C,_){while(!0){var B=q(C,_);if(C.isError(B))return B;var v=E(C,B.primitive,_);if(C.isError(v))return v;var y;if(B.primitive||v!==null)y=C.skip(v);else y=this._skipUntilEnd(C,_);if(C.isError(y))return y;if(B.tagStr==="end")break}},j.prototype._decodeList=function(C,_,B,v){var y=[];while(!C.isEmpty()){var w=this._peekTag(C,"end");if(C.isError(w))return w;var b=B.decode(C,"der",v);if(C.isError(b)&&w)break;y.push(b)}return y},j.prototype._decodeStr=function(C,_){if(_==="bitstr"){var B=C.readUInt8();if(C.isError(B))return B;return{unused:B,data:C.raw()}}else if(_==="bmpstr"){var v=C.raw();if(v.length%2===1)return C.error("Decoding of string type: bmpstr length mismatch");var y="";for(var w=0;w<v.length/2;w++)y+=String.fromCharCode(v.readUInt16BE(w*2));return y}else if(_==="numstr"){var b=C.raw().toString("ascii");if(!this._isNumstr(b))return C.error("Decoding of string type: numstr unsupported characters");return b}else if(_==="octstr")return C.raw();else if(_==="objDesc")return C.raw();else if(_==="printstr"){var x=C.raw().toString("ascii");if(!this._isPrintstr(x))return C.error("Decoding of string type: printstr unsupported characters");return x}else if(/str$/.test(_))return C.raw().toString();else return C.error("Decoding of string type: "+_+" unsupported")},j.prototype._decodeObjid=function(C,_,B){var v,y=[],w=0;while(!C.isEmpty()){var b=C.readUInt8();if(w<<=7,w|=b&127,(b&128)===0)y.push(w),w=0}if(b&128)y.push(w);var x=y[0]/40|0,u=y[0]%40;if(B)v=y;else v=[x,u].concat(y.slice(1));if(_){var p=_[v.join(" ")];if(p===void 0)p=_[v.join(".")];if(p!==void 0)v=p}return v},j.prototype._decodeTime=function(C,_){var B=C.raw().toString();if(_==="gentime")var v=B.slice(0,4)|0,y=B.slice(4,6)|0,w=B.slice(6,8)|0,b=B.slice(8,10)|0,x=B.slice(10,12)|0,u=B.slice(12,14)|0;else if(_==="utctime"){var v=B.slice(0,2)|0,y=B.slice(2,4)|0,w=B.slice(4,6)|0,b=B.slice(6,8)|0,x=B.slice(8,10)|0,u=B.slice(10,12)|0;if(v<70)v=2000+v;else v=1900+v}else return C.error("Decoding "+_+" time is not supported yet");return Date.UTC(v,y-1,w,b,x,u,0)},j.prototype._decodeNull=function(C){return null},j.prototype._decodeBool=function(C){var _=C.readUInt8();if(C.isError(_))return _;else return _!==0},j.prototype._decodeInt=function(C,_){var B=C.raw(),v=new O(B);if(_)v=_[v.toString(10)]||v;return v},j.prototype._use=function(C,_){if(typeof C==="function")C=C(_);return C._getDecoder("der").tree};function q(C,_){var B=C.readUInt8(_);if(C.isError(B))return B;var v=Z.tagClass[B>>6],y=(B&32)===0;if((B&31)===31){var w=B;B=0;while((w&128)===128){if(w=C.readUInt8(_),C.isError(w))return w;B<<=7,B|=w&127}}else B&=31;var b=Z.tag[B];return{cls:v,primitive:y,tag:B,tagStr:b}}function E(C,_,B){var v=C.readUInt8(B);if(C.isError(v))return v;if(!_&&v===128)return null;if((v&128)===0)return v;var y=v&127;if(y>4)return C.error("length octect is too long");v=0;for(var w=0;w<y;w++){v<<=8;var b=C.readUInt8(B);if(C.isError(b))return b;v|=b}return v}}),Tf=b0((I,J)=>{var Y=H4(),K=(iU(),j$(oU)).Buffer,X=aE();function O(Z){X.call(this,Z),this.enc="pem"}Y(O,X),J.exports=O,O.prototype.decode=function(Z,M){var j=Z.toString().split(/[\r\n]+/g),q=M.label.toUpperCase(),E=/^-----(BEGIN|END) ([^-]+)-----$/,C=-1,_=-1;for(var B=0;B<j.length;B++){var v=j[B].match(E);if(v===null)continue;if(v[2]!==q)continue;if(C===-1){if(v[1]!=="BEGIN")break;C=B}else{if(v[1]!=="END")break;_=B;break}}if(C===-1||_===-1)throw Error("PEM section not found for: "+q);var y=j.slice(C+1,_).join("");y.replace(/[^a-z0-9\+\/=]+/gi,"");var w=new K(y,"base64");return X.prototype.decode.call(this,w,M)}}),Pf=b0((I)=>{var J=I;J.der=aE(),J.pem=Tf()}),sE=b0((I,J)=>{var Y=H4(),K=(iU(),j$(oU)).Buffer,X=X2(),O=X.base,Z=X.constants.der;function M(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new j,this.tree._init(C.body)}J.exports=M,M.prototype.encode=function(C,_){return this.tree._encode(C,_).join()};function j(C){O.Node.call(this,"der",C)}Y(j,O.Node),j.prototype._encodeComposite=function(C,_,B,v){var y=E(C,_,B,this.reporter);if(v.length<128){var x=new K(2);return x[0]=y,x[1]=v.length,this._createEncoderBuffer([x,v])}var w=1;for(var b=v.length;b>=256;b>>=8)w++;var x=new K(2+w);x[0]=y,x[1]=128|w;for(var b=1+w,u=v.length;u>0;b--,u>>=8)x[b]=u&255;return this._createEncoderBuffer([x,v])},j.prototype._encodeStr=function(C,_){if(_==="bitstr")return this._createEncoderBuffer([C.unused|0,C.data]);else if(_==="bmpstr"){var B=new K(C.length*2);for(var v=0;v<C.length;v++)B.writeUInt16BE(C.charCodeAt(v),v*2);return this._createEncoderBuffer(B)}else if(_==="numstr"){if(!this._isNumstr(C))return this.reporter.error("Encoding of string type: numstr supports only digits and space");return this._createEncoderBuffer(C)}else if(_==="printstr"){if(!this._isPrintstr(C))return this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark");return this._createEncoderBuffer(C)}else if(/str$/.test(_))return this._createEncoderBuffer(C);else if(_==="objDesc")return this._createEncoderBuffer(C);else return this.reporter.error("Encoding of string type: "+_+" unsupported")},j.prototype._encodeObjid=function(C,_,B){if(typeof C==="string"){if(!_)return this.reporter.error("string objid given, but no values map found");if(!_.hasOwnProperty(C))return this.reporter.error("objid not found in values map");C=_[C].split(/[\s\.]+/g);for(var v=0;v<C.length;v++)C[v]|=0}else if(Array.isArray(C)){C=C.slice();for(var v=0;v<C.length;v++)C[v]|=0}if(!Array.isArray(C))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(C));if(!B){if(C[1]>=40)return this.reporter.error("Second objid identifier OOB");C.splice(0,2,C[0]*40+C[1])}var y=0;for(var v=0;v<C.length;v++){var w=C[v];for(y++;w>=128;w>>=7)y++}var b=new K(y),x=b.length-1;for(var v=C.length-1;v>=0;v--){var w=C[v];b[x--]=w&127;while((w>>=7)>0)b[x--]=128|w&127}return this._createEncoderBuffer(b)};function q(C){if(C<10)return"0"+C;else return C}j.prototype._encodeTime=function(C,_){var B,v=new Date(C);if(_==="gentime")B=[q(v.getFullYear()),q(v.getUTCMonth()+1),q(v.getUTCDate()),q(v.getUTCHours()),q(v.getUTCMinutes()),q(v.getUTCSeconds()),"Z"].join("");else if(_==="utctime")B=[q(v.getFullYear()%100),q(v.getUTCMonth()+1),q(v.getUTCDate()),q(v.getUTCHours()),q(v.getUTCMinutes()),q(v.getUTCSeconds()),"Z"].join("");else this.reporter.error("Encoding "+_+" time is not supported yet");return this._encodeStr(B,"octstr")},j.prototype._encodeNull=function(){return this._createEncoderBuffer("")},j.prototype._encodeInt=function(C,_){if(typeof C==="string"){if(!_)return this.reporter.error("String int or enum given, but no values map");if(!_.hasOwnProperty(C))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(C));C=_[C]}if(typeof C!=="number"&&!K.isBuffer(C)){var B=C.toArray();if(!C.sign&&B[0]&128)B.unshift(0);C=new K(B)}if(K.isBuffer(C)){var v=C.length;if(C.length===0)v++;var w=new K(v);if(C.copy(w),C.length===0)w[0]=0;return this._createEncoderBuffer(w)}if(C<128)return this._createEncoderBuffer(C);if(C<256)return this._createEncoderBuffer([0,C]);var v=1;for(var y=C;y>=256;y>>=8)v++;var w=Array(v);for(var y=w.length-1;y>=0;y--)w[y]=C&255,C>>=8;if(w[0]&128)w.unshift(0);return this._createEncoderBuffer(new K(w))},j.prototype._encodeBool=function(C){return this._createEncoderBuffer(C?255:0)},j.prototype._use=function(C,_){if(typeof C==="function")C=C(_);return C._getEncoder("der").tree},j.prototype._skipDefault=function(C,_,B){var v=this._baseState,y;if(v.default===null)return!1;var w=C.join();if(v.defaultBuffer===void 0)v.defaultBuffer=this._encodeValue(v.default,_,B).join();if(w.length!==v.defaultBuffer.length)return!1;for(y=0;y<w.length;y++)if(w[y]!==v.defaultBuffer[y])return!1;return!0};function E(C,_,B,v){var y;if(C==="seqof")C="seq";else if(C==="setof")C="set";if(Z.tagByName.hasOwnProperty(C))y=Z.tagByName[C];else if(typeof C==="number"&&(C|0)===C)y=C;else return v.error("Unknown tag: "+C);if(y>=31)return v.error("Multi-octet tag encoding unsupported");if(!_)y|=32;return y|=Z.tagClassByName[B||"universal"]<<6,y}}),Rf=b0((I,J)=>{var Y=H4(),K=sE();function X(O){K.call(this,O),this.enc="pem"}Y(X,K),J.exports=X,X.prototype.encode=function(O,Z){var M=K.prototype.encode.call(this,O),j=M.toString("base64"),q=["-----BEGIN "+Z.label+"-----"];for(var E=0;E<j.length;E+=64)q.push(j.slice(E,E+64));return q.push("-----END "+Z.label+"-----"),q.join(`
|
|
243
|
+
`)}}),_f=b0((I)=>{var J=I;J.der=sE(),J.pem=Rf()}),X2=b0((I)=>{var J=I;J.bignum=Ff(),J.define=Mf().define,J.base=sG(),J.constants=tE(),J.decoders=Pf(),J.encoders=_f()}),qf=b0((I,J)=>{var Y=X2(),K=Y.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),X=Y.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),O=Y.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),Z=Y.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(O),this.key("subjectPublicKey").bitstr())}),M=Y.define("RelativeDistinguishedName",function(){this.setof(X)}),j=Y.define("RDNSequence",function(){this.seqof(M)}),q=Y.define("Name",function(){this.choice({rdnSequence:this.use(j)})}),E=Y.define("Validity",function(){this.seq().obj(this.key("notBefore").use(K),this.key("notAfter").use(K))}),C=Y.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),_=Y.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(O),this.key("issuer").use(q),this.key("validity").use(E),this.key("subject").use(q),this.key("subjectPublicKeyInfo").use(Z),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(C).optional())}),B=Y.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(_),this.key("signatureAlgorithm").use(O),this.key("signatureValue").bitstr())});J.exports=B}),Ef=b0((I)=>{var J=X2();I.certificate=qf();var Y=J.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});I.RSAPrivateKey=Y;var K=J.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});I.RSAPublicKey=K;var X=J.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),O=J.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(X),this.key("subjectPublicKey").bitstr())});I.PublicKey=O;var Z=J.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(X),this.key("subjectPrivateKey").octstr())});I.PrivateKey=Z;var M=J.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});I.EncryptedPrivateKey=M;var j=J.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});I.DSAPrivateKey=j,I.DSAparam=J.define("DSAparam",function(){this.int()});var q=J.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),E=J.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(q),this.key("publicKey").optional().explicit(1).bitstr())});I.ECPrivateKey=E,I.signature=J.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),Sf=b0((I,J)=>{J.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}),jf=b0((I,J)=>{var Y=f6().Buffer,K=vQ().Transform,X=H4();function O(q){K.call(this),this._block=Y.allocUnsafe(q),this._blockSize=q,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}X(O,K),O.prototype._transform=function(q,E,C){var _=null;try{this.update(q,E)}catch(B){_=B}C(_)},O.prototype._flush=function(q){var E=null;try{this.push(this.digest())}catch(C){E=C}q(E)};var Z=typeof Uint8Array<"u",M=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);function j(q,E){if(q instanceof Y)return q;if(typeof q==="string")return Y.from(q,E);if(M&&ArrayBuffer.isView(q)){if(q.byteLength===0)return Y.alloc(0);var C=Y.from(q.buffer,q.byteOffset,q.byteLength);if(C.byteLength===q.byteLength)return C}if(Z&&q instanceof Uint8Array)return Y.from(q);if(Y.isBuffer(q)&&q.constructor&&typeof q.constructor.isBuffer==="function"&&q.constructor.isBuffer(q))return Y.from(q);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}O.prototype.update=function(q,E){if(this._finalized)throw Error("Digest already called");q=j(q,E);var C=this._block,_=0;while(this._blockOffset+q.length-_>=this._blockSize){for(var B=this._blockOffset;B<this._blockSize;)C[B++]=q[_++];this._update(),this._blockOffset=0}while(_<q.length)C[this._blockOffset++]=q[_++];for(var v=0,y=q.length*8;y>0;++v)if(this._length[v]+=y,y=this._length[v]/4294967296|0,y>0)this._length[v]-=4294967296*y;return this},O.prototype._update=function(){throw Error("_update is not implemented")},O.prototype.digest=function(q){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var E=this._digest();if(q!==void 0)E=E.toString(q);this._block.fill(0),this._blockOffset=0;for(var C=0;C<4;++C)this._length[C]=0;return E},O.prototype._digest=function(){throw Error("_digest is not implemented")},J.exports=O}),Bf=b0((I,J)=>{var Y=H4(),K=jf(),X=f6().Buffer,O=Array(16);function Z(){K.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}Y(Z,K),Z.prototype._update=function(){var _=O;for(var B=0;B<16;++B)_[B]=this._block.readInt32LE(B*4);var v=this._a,y=this._b,w=this._c,b=this._d;v=j(v,y,w,b,_[0],3614090360,7),b=j(b,v,y,w,_[1],3905402710,12),w=j(w,b,v,y,_[2],606105819,17),y=j(y,w,b,v,_[3],3250441966,22),v=j(v,y,w,b,_[4],4118548399,7),b=j(b,v,y,w,_[5],1200080426,12),w=j(w,b,v,y,_[6],2821735955,17),y=j(y,w,b,v,_[7],4249261313,22),v=j(v,y,w,b,_[8],1770035416,7),b=j(b,v,y,w,_[9],2336552879,12),w=j(w,b,v,y,_[10],4294925233,17),y=j(y,w,b,v,_[11],2304563134,22),v=j(v,y,w,b,_[12],1804603682,7),b=j(b,v,y,w,_[13],4254626195,12),w=j(w,b,v,y,_[14],2792965006,17),y=j(y,w,b,v,_[15],1236535329,22),v=q(v,y,w,b,_[1],4129170786,5),b=q(b,v,y,w,_[6],3225465664,9),w=q(w,b,v,y,_[11],643717713,14),y=q(y,w,b,v,_[0],3921069994,20),v=q(v,y,w,b,_[5],3593408605,5),b=q(b,v,y,w,_[10],38016083,9),w=q(w,b,v,y,_[15],3634488961,14),y=q(y,w,b,v,_[4],3889429448,20),v=q(v,y,w,b,_[9],568446438,5),b=q(b,v,y,w,_[14],3275163606,9),w=q(w,b,v,y,_[3],4107603335,14),y=q(y,w,b,v,_[8],1163531501,20),v=q(v,y,w,b,_[13],2850285829,5),b=q(b,v,y,w,_[2],4243563512,9),w=q(w,b,v,y,_[7],1735328473,14),y=q(y,w,b,v,_[12],2368359562,20),v=E(v,y,w,b,_[5],4294588738,4),b=E(b,v,y,w,_[8],2272392833,11),w=E(w,b,v,y,_[11],1839030562,16),y=E(y,w,b,v,_[14],4259657740,23),v=E(v,y,w,b,_[1],2763975236,4),b=E(b,v,y,w,_[4],1272893353,11),w=E(w,b,v,y,_[7],4139469664,16),y=E(y,w,b,v,_[10],3200236656,23),v=E(v,y,w,b,_[13],681279174,4),b=E(b,v,y,w,_[0],3936430074,11),w=E(w,b,v,y,_[3],3572445317,16),y=E(y,w,b,v,_[6],76029189,23),v=E(v,y,w,b,_[9],3654602809,4),b=E(b,v,y,w,_[12],3873151461,11),w=E(w,b,v,y,_[15],530742520,16),y=E(y,w,b,v,_[2],3299628645,23),v=C(v,y,w,b,_[0],4096336452,6),b=C(b,v,y,w,_[7],1126891415,10),w=C(w,b,v,y,_[14],2878612391,15),y=C(y,w,b,v,_[5],4237533241,21),v=C(v,y,w,b,_[12],1700485571,6),b=C(b,v,y,w,_[3],2399980690,10),w=C(w,b,v,y,_[10],4293915773,15),y=C(y,w,b,v,_[1],2240044497,21),v=C(v,y,w,b,_[8],1873313359,6),b=C(b,v,y,w,_[15],4264355552,10),w=C(w,b,v,y,_[6],2734768916,15),y=C(y,w,b,v,_[13],1309151649,21),v=C(v,y,w,b,_[4],4149444226,6),b=C(b,v,y,w,_[11],3174756917,10),w=C(w,b,v,y,_[2],718787259,15),y=C(y,w,b,v,_[9],3951481745,21),this._a=this._a+v|0,this._b=this._b+y|0,this._c=this._c+w|0,this._d=this._d+b|0},Z.prototype._digest=function(){if(this._block[this._blockOffset++]=128,this._blockOffset>56)this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0;this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var _=X.allocUnsafe(16);return _.writeInt32LE(this._a,0),_.writeInt32LE(this._b,4),_.writeInt32LE(this._c,8),_.writeInt32LE(this._d,12),_};function M(_,B){return _<<B|_>>>32-B}function j(_,B,v,y,w,b,x){return M(_+(B&v|~B&y)+w+b|0,x)+B|0}function q(_,B,v,y,w,b,x){return M(_+(B&y|v&~y)+w+b|0,x)+B|0}function E(_,B,v,y,w,b,x){return M(_+(B^v^y)+w+b|0,x)+B|0}function C(_,B,v,y,w,b,x){return M(_+(v^(B|~y))+w+b|0,x)+B|0}J.exports=Z}),Nf=b0((I,J)=>{var Y=f6().Buffer,K=Bf();function X(O,Z,M,j){if(!Y.isBuffer(O))O=Y.from(O,"binary");if(Z){if(!Y.isBuffer(Z))Z=Y.from(Z,"binary");if(Z.length!==8)throw RangeError("salt should be Buffer with 8 byte length")}var q=M/8,E=Y.alloc(q),C=Y.alloc(j||0),_=Y.alloc(0);while(q>0||j>0){var B=new K;if(B.update(_),B.update(O),Z)B.update(Z);_=B.digest();var v=0;if(q>0){var y=E.length-q;v=Math.min(q,_.length),_.copy(E,y,0,v),q-=v}if(v<_.length&&j>0){var w=C.length-j,b=Math.min(j,_.length-v);_.copy(C,w,v,v+b),j-=b}}return _.fill(0),{key:E,iv:C}}J.exports=X}),eE=b0((I)=>{var J=(uU(),j$(M4));I.createCipher=I.Cipher=J.createCipher,I.createCipheriv=I.Cipheriv=J.createCipheriv,I.createDecipher=I.Decipher=J.createDecipher,I.createDecipheriv=I.Decipheriv=J.createDecipheriv,I.listCiphers=I.getCiphers=J.getCiphers}),vf=b0((I,J)=>{var Y=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,K=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,X=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,O=Nf(),Z=eE(),M=f6().Buffer;J.exports=function(j,q){var E=j.toString(),C=E.match(Y),_;if(!C){var B=E.match(X);_=M.from(B[2].replace(/[\r\n]/g,""),"base64")}else{var v="aes"+C[1],y=M.from(C[2],"hex"),w=M.from(C[3].replace(/[\r\n]/g,""),"base64"),b=O(q,y.slice(0,8),parseInt(C[1],10)).key,x=[],u=Z.createDecipheriv(v,b,y);x.push(u.update(w)),x.push(u.final()),_=M.concat(x)}var p=E.match(K)[1];return{tag:p,data:_}}}),$S=b0((I,J)=>{var Y=Ef(),K=Sf(),X=vf(),O=eE(),Z=mE().pbkdf2Sync,M=f6().Buffer;function j(E,C){var _=E.algorithm.decrypt.kde.kdeparams.salt,B=parseInt(E.algorithm.decrypt.kde.kdeparams.iters.toString(),10),v=K[E.algorithm.decrypt.cipher.algo.join(".")],y=E.algorithm.decrypt.cipher.iv,w=E.subjectPrivateKey,b=parseInt(v.split("-")[1],10)/8,x=Z(C,_,B,b,"sha1"),u=O.createDecipheriv(v,x,y),p=[];return p.push(u.update(w)),p.push(u.final()),M.concat(p)}function q(E){var C;if(typeof E==="object"&&!M.isBuffer(E))C=E.passphrase,E=E.key;if(typeof E==="string")E=M.from(E);var _=X(E,C),B=_.tag,v=_.data,y,w;switch(B){case"CERTIFICATE":w=Y.certificate.decode(v,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!w)w=Y.PublicKey.decode(v,"der");switch(y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Y.RSAPublicKey.decode(w.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return w.subjectPrivateKey=w.subjectPublicKey,{type:"ec",data:w};case"1.2.840.10040.4.1":return w.algorithm.params.pub_key=Y.DSAparam.decode(w.subjectPublicKey.data,"der"),{type:"dsa",data:w.algorithm.params};default:throw Error("unknown key id "+y)}case"ENCRYPTED PRIVATE KEY":v=Y.EncryptedPrivateKey.decode(v,"der"),v=j(v,C);case"PRIVATE KEY":switch(w=Y.PrivateKey.decode(v,"der"),y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Y.RSAPrivateKey.decode(w.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:w.algorithm.curve,privateKey:Y.ECPrivateKey.decode(w.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return w.algorithm.params.priv_key=Y.DSAparam.decode(w.subjectPrivateKey,"der"),{type:"dsa",params:w.algorithm.params};default:throw Error("unknown key id "+y)}case"RSA PUBLIC KEY":return Y.RSAPublicKey.decode(v,"der");case"RSA PRIVATE KEY":return Y.RSAPrivateKey.decode(v,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Y.DSAPrivateKey.decode(v,"der")};case"EC PRIVATE KEY":return v=Y.ECPrivateKey.decode(v,"der"),{curve:v.parameters.value,privateKey:v.privateKey};default:throw Error("unknown key type "+B)}}q.signature=Y.signature,J.exports=q}),US=b0((I,J)=>{var Y=AO(),K=f6().Buffer;J.exports=function(O,Z){var M=K.alloc(0),j=0,q;while(M.length<Z)q=X(j++),M=K.concat([M,Y("sha1").update(O).update(q).digest()]);return M.slice(0,Z)};function X(O){var Z=K.allocUnsafe(4);return Z.writeUInt32BE(O,0),Z}}),IS=b0((I,J)=>{J.exports=function(Y,K){var X=Y.length,O=-1;while(++O<X)Y[O]^=K[O];return Y}}),MD=b0((I,J)=>{(function(Y,K){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function O(G,V){G.super_=V;var F=function(){};F.prototype=V.prototype,G.prototype=new F,G.prototype.constructor=G}function Z(G,V,F){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")F=V,V=10;this._init(G||0,V||10,F||"be")}}if(typeof Y==="object")Y.exports=Z;else K.BN=Z;Z.BN=Z,Z.wordSize=26;var M;try{if(typeof window<"u"&&typeof window.Buffer<"u")M=window.Buffer;else M=(iU(),j$(oU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,F){if(typeof G==="number")return this._initNumber(G,V,F);if(typeof G==="object")return this._initArray(G,V,F);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(V===16)this._parseHex(G,W,F);else if(this._parseBase(G,V,W),F==="le")this._initArray(this.toArray(),V,F)}},Z.prototype._initNumber=function(G,V,F){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(F!=="le")return;this._initArray(this.toArray(),V,F)},Z.prototype._initArray=function(G,V,F){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H,P,S=0;if(F==="be"){for(W=G.length-1,H=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}else if(F==="le"){for(W=0,H=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[H]|=P<<S&67108863,this.words[H+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,H++}return this.strip()};function j(G,V){var F=G.charCodeAt(V);if(F>=65&&F<=70)return F-55;else if(F>=97&&F<=102)return F-87;else return F-48&15}function q(G,V,F){var W=j(G,F);if(F-1>=V)W|=j(G,F-1)<<4;return W}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var H=0,P=0,S;if(F==="be")for(W=G.length-1;W>=V;W-=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8;else{var A=G.length-V;for(W=A%2===0?V+1:V;W<G.length;W+=2)if(S=q(G,V,W)<<H,this.words[P]|=S&67108863,H>=18)H-=18,P+=1,this.words[P]|=S>>>26;else H+=8}this.strip()};function E(G,V,F,W){var H=0,P=Math.min(G.length,F);for(var S=V;S<P;S++){var A=G.charCodeAt(S)-48;if(H*=W,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var W=0,H=1;H<=67108863;H*=V)W++;W--,H=H/V|0;var P=G.length-F,S=P%W,A=Math.min(P,P-S)+F,z=0;for(var T=F;T<A;T+=W)if(z=E(G,T,T+W,V),this.imuln(H),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(S!==0){var g=1;z=E(G,T,G.length,V);for(T=0;T<S;T++)g*=V;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var F;if(G===16||G==="hex"){F="";var W=0,H=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|H)&16777215).toString(16);if(H=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(H!==0||P!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(H!==0)F=H.toString(16)+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}if(G===(G|0)&&G>=2&&G<=36){var z=_[G],T=B[G];F="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())F=C[z-N.length]+N+F;else F=N+F}if(this.isZero())F="0"+F;while(F.length%V!==0)F="0"+F;if(this.negative!==0)F="-"+F;return F}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof M<"u"),this.toArrayLike(M,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var W=this.byteLength(),H=F||Math.max(1,W);X(W<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var P=V==="le",S=new G(H),A,z,T=this.clone();if(!P){for(z=0;z<H-W;z++)S[z]=0;for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[H-z-1]=A}else{for(z=0;!T.isZero();z++)A=T.andln(255),T.iushrn(8),S[z]=A;for(;z<H;z++)S[z]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,F=0;if(V>=4096)F+=13,V>>>=13;if(V>=64)F+=7,V>>>=7;if(V>=8)F+=4,V>>>=4;if(V>=2)F+=2,V>>>=2;return F+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,F=0;if((V&8191)===0)F+=13,V>>>=13;if((V&127)===0)F+=7,V>>>=7;if((V&15)===0)F+=4,V>>>=4;if((V&3)===0)F+=2,V>>>=2;if((V&1)===0)F++;return F},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function v(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var W=F/26|0,H=F%26;V[F]=(G.words[W]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var F=this._zeroBits(this.words[V]);if(G+=F,F!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var F=0;F<V.length;F++)this.words[F]=this.words[F]&G.words[F];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,F;if(this.length>G.length)V=this,F=G;else V=G,F=this;for(var W=0;W<F.length;W++)this.words[W]=V.words[W]^F.words[W];if(this!==V)for(;W<V.length;W++)this.words[W]=V.words[W];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,F=G%26;if(this._expand(V),F>0)V--;for(var W=0;W<V;W++)this.words[W]=~this.words[W]&67108863;if(F>0)this.words[W]=~this.words[W]&67108863>>26-F;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var F=G/26|0,W=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<W;else this.words[F]=this.words[F]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var F,W;if(this.length>G.length)F=this,W=G;else F=G,W=this;var H=0;for(var P=0;P<W.length;P++)V=(F.words[P]|0)+(W.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;for(;H!==0&&P<F.length;P++)V=(F.words[P]|0)+H,this.words[P]=V&67108863,H=V>>>26;if(this.length=F.length,H!==0)this.words[this.length]=H,this.length++;else if(F!==this)for(;P<F.length;P++)this.words[P]=F.words[P];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var F=this.cmp(G);if(F===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,H;if(F>0)W=this,H=G;else W=G,H=this;var P=0;for(var S=0;S<H.length;S++)V=(W.words[S]|0)-(H.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;for(;P!==0&&S<W.length;S++)V=(W.words[S]|0)+P,P=V>>26,this.words[S]=V&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,F){F.negative=V.negative^G.negative;var W=G.length+V.length|0;F.length=W,W=W-1|0;var H=G.words[0]|0,P=V.words[0]|0,S=H*P,A=S&67108863,z=S/67108864|0;F.words[0]=A;for(var T=1;T<W;T++){var g=z>>>26,N=z&67108863,c=Math.min(T,V.length-1);for(var r=Math.max(0,T-G.length+1);r<=c;r++){var U0=T-r|0;H=G.words[U0]|0,P=V.words[r]|0,S=H*P+N,g+=S/67108864|0,N=S&67108863}F.words[T]=N|0,z=g|0}if(z!==0)F.words[T]=z|0;else F.length--;return F.strip()}var w=function(G,V,F){var W=G.words,H=V.words,P=F.words,S=0,A,z,T,g=W[0]|0,N=g&8191,c=g>>>13,r=W[1]|0,U0=r&8191,O0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,h=$0&8191,n=$0>>>13,F0=W[5]|0,Y0=F0&8191,W0=F0>>>13,v0=W[6]|0,I0=v0&8191,K0=v0>>>13,I$=W[7]|0,L0=I$&8191,B0=I$>>>13,L$=W[8]|0,m0=L$&8191,p0=L$>>>13,i$=W[9]|0,c0=i$&8191,h0=i$>>>13,QU=H[0]|0,t0=QU&8191,i0=QU>>>13,RU=H[1]|0,m=RU&8191,X0=RU>>>13,e0=H[2]|0,S0=e0&8191,N0=e0>>>13,F$=H[3]|0,x0=F$&8191,y0=F$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,WU=H[5]|0,s0=WU&8191,i=WU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,O$=H[7]|0,n0=O$&8191,a0=O$>>>13,MU=H[8]|0,X$=MU&8191,U$=MU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(N,t0),z=Math.imul(N,i0),z=z+Math.imul(c,t0)|0,T=Math.imul(c,i0);var _U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,t0),z=Math.imul(U0,i0),z=z+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,X0)|0,z=z+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),z=Math.imul(s,i0),z=z+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,X0)|0,z=z+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(N,S0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(c,S0)|0,T=T+Math.imul(c,N0)|0;var S$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),z=Math.imul(Z0,i0),z=z+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,X0)|0,z=z+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,S0)|0,T=T+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,y0)|0,z=z+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var $U=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(h,t0),z=Math.imul(h,i0),z=z+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,X0)|0,z=z+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,S0)|0,T=T+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,y0)|0,z=z+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(N,o0)|0,z=z+Math.imul(N,r0)|0,z=z+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),z=Math.imul(Y0,i0),z=z+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(h,m)|0,z=z+Math.imul(h,X0)|0,z=z+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,S0)|0,T=T+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,y0)|0,z=z+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,z=z+Math.imul(U0,r0)|0,z=z+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(N,s0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),z=Math.imul(I0,i0),z=z+Math.imul(K0,t0)|0,T=Math.imul(K0,i0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,X0)|0,z=z+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(h,S0)|0,z=z+Math.imul(h,N0)|0,z=z+Math.imul(n,S0)|0,T=T+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,y0)|0,z=z+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,z=z+Math.imul(s,r0)|0,z=z+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(N,_0)|0,z=z+Math.imul(N,E0)|0,z=z+Math.imul(c,_0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(L0,t0),z=Math.imul(L0,i0),z=z+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,z=z+Math.imul(I0,X0)|0,z=z+Math.imul(K0,m)|0,T=T+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(W0,S0)|0,T=T+Math.imul(W0,N0)|0,A=A+Math.imul(h,x0)|0,z=z+Math.imul(h,y0)|0,z=z+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,z=z+Math.imul(Z0,r0)|0,z=z+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,z=z+Math.imul(U0,E0)|0,z=z+Math.imul(O0,_0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,a0)|0,z=z+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),z=Math.imul(m0,i0),z=z+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(L0,m)|0,z=z+Math.imul(L0,X0)|0,z=z+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,z=z+Math.imul(I0,N0)|0,z=z+Math.imul(K0,S0)|0,T=T+Math.imul(K0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,y0)|0,z=z+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(h,o0)|0,z=z+Math.imul(h,r0)|0,z=z+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,z=z+Math.imul(s,E0)|0,z=z+Math.imul(e,_0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,a0)|0,z=z+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,U$)|0,z=z+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),z=Math.imul(c0,i0),z=z+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,z=z+Math.imul(m0,X0)|0,z=z+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(L0,S0)|0,z=z+Math.imul(L0,N0)|0,z=z+Math.imul(B0,S0)|0,T=T+Math.imul(B0,N0)|0,A=A+Math.imul(I0,x0)|0,z=z+Math.imul(I0,y0)|0,z=z+Math.imul(K0,x0)|0,T=T+Math.imul(K0,y0)|0,A=A+Math.imul(Y0,o0)|0,z=z+Math.imul(Y0,r0)|0,z=z+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(h,s0)|0,z=z+Math.imul(h,i)|0,z=z+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,z=z+Math.imul(Z0,E0)|0,z=z+Math.imul(A0,_0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,a0)|0,z=z+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,U$)|0,z=z+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(N,J$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),z=Math.imul(c0,X0),z=z+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,z=z+Math.imul(m0,N0)|0,z=z+Math.imul(p0,S0)|0,T=T+Math.imul(p0,N0)|0,A=A+Math.imul(L0,x0)|0,z=z+Math.imul(L0,y0)|0,z=z+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,z=z+Math.imul(I0,r0)|0,z=z+Math.imul(K0,o0)|0,T=T+Math.imul(K0,r0)|0,A=A+Math.imul(Y0,s0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(h,_0)|0,z=z+Math.imul(h,E0)|0,z=z+Math.imul(n,_0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,a0)|0,z=z+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,U$)|0,z=z+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var r$=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(c0,S0),z=Math.imul(c0,N0),z=z+Math.imul(h0,S0)|0,T=Math.imul(h0,N0),A=A+Math.imul(m0,x0)|0,z=z+Math.imul(m0,y0)|0,z=z+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(L0,o0)|0,z=z+Math.imul(L0,r0)|0,z=z+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,z=z+Math.imul(I0,i)|0,z=z+Math.imul(K0,s0)|0,T=T+Math.imul(K0,i)|0,A=A+Math.imul(Y0,_0)|0,z=z+Math.imul(Y0,E0)|0,z=z+Math.imul(W0,_0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(h,n0)|0,z=z+Math.imul(h,a0)|0,z=z+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,U$)|0,z=z+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var LU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(c0,x0),z=Math.imul(c0,y0),z=z+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,z=z+Math.imul(m0,r0)|0,z=z+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(L0,s0)|0,z=z+Math.imul(L0,i)|0,z=z+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,_0)|0,z=z+Math.imul(I0,E0)|0,z=z+Math.imul(K0,_0)|0,T=T+Math.imul(K0,E0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,a0)|0,z=z+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(h,X$)|0,z=z+Math.imul(h,U$)|0,z=z+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),z=Math.imul(c0,r0),z=z+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,z=z+Math.imul(m0,i)|0,z=z+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(L0,_0)|0,z=z+Math.imul(L0,E0)|0,z=z+Math.imul(B0,_0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,z=z+Math.imul(I0,a0)|0,z=z+Math.imul(K0,n0)|0,T=T+Math.imul(K0,a0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,U$)|0,z=z+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(h,J$)|0,z=z+Math.imul(h,$$)|0,z=z+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),z=Math.imul(c0,i),z=z+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,_0)|0,z=z+Math.imul(m0,E0)|0,z=z+Math.imul(p0,_0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(L0,n0)|0,z=z+Math.imul(L0,a0)|0,z=z+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,z=z+Math.imul(I0,U$)|0,z=z+Math.imul(K0,X$)|0,T=T+Math.imul(K0,U$)|0,A=A+Math.imul(Y0,J$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var qU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(c0,_0),z=Math.imul(c0,E0),z=z+Math.imul(h0,_0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,z=z+Math.imul(m0,a0)|0,z=z+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(L0,X$)|0,z=z+Math.imul(L0,U$)|0,z=z+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,z=z+Math.imul(I0,$$)|0,z=z+Math.imul(K0,J$)|0,T=T+Math.imul(K0,$$)|0;var vU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(c0,n0),z=Math.imul(c0,a0),z=z+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,z=z+Math.imul(m0,U$)|0,z=z+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(L0,J$)|0,z=z+Math.imul(L0,$$)|0,z=z+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var gU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(c0,X$),z=Math.imul(c0,U$),z=z+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,z=z+Math.imul(m0,$$)|0,z=z+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((z&8191)<<13)|0;S=(T+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),z=Math.imul(c0,$$),z=z+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((z&8191)<<13)|0;if(S=(T+(z>>>13)|0)+(AU>>>26)|0,AU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=cU,P[7]=hU,P[8]=pU,P[9]=mU,P[10]=r$,P[11]=LU,P[12]=VU,P[13]=lU,P[14]=qU,P[15]=vU,P[16]=gU,P[17]=EU,P[18]=AU,S!==0)P[19]=S,F.length++;return F};if(!Math.imul)w=y;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var W=0,H=0;for(var P=0;P<F.length-1;P++){var S=H;H=0;var A=W&67108863,z=Math.min(P,V.length-1);for(var T=Math.max(0,P-G.length+1);T<=z;T++){var g=P-T,N=G.words[g]|0,c=V.words[T]|0,r=N*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,H+=S>>>26,S&=67108863}F.words[P]=A,W=S,S=H}if(W!==0)F.words[P]=W;else F.length--;return F.strip()}function x(G,V,F){var W=new u;return W.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,W=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(W<63)F=y(this,G,V);else if(W<1024)F=b(this,G,V);else F=x(this,G,V);return F};function u(G,V){this.x=G,this.y=V}u.prototype.makeRBT=function(G){var V=Array(G),F=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)V[W]=this.revBin(W,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var W=0;for(var H=0;H<V;H++)W|=(G&1)<<V-H-1,G>>=1;return W},u.prototype.permute=function(G,V,F,W,H,P){for(var S=0;S<P;S++)W[S]=V[G[S]],H[S]=F[G[S]]},u.prototype.transform=function(G,V,F,W,H,P){this.permute(P,G,V,F,W,H);for(var S=1;S<H;S<<=1){var A=S<<1,z=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<H;g+=A){var N=z,c=T;for(var r=0;r<S;r++){var U0=F[g+r],O0=W[g+r],Q0=F[g+r+S],s=W[g+r+S],e=N*Q0-c*s;if(s=N*s+c*Q0,Q0=e,F[g+r]=U0+Q0,W[g+r]=O0+s,F[g+r+S]=U0-Q0,W[g+r+S]=O0-s,r!==A)e=z*N-T*c,c=z*c+T*N,N=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,W=F&1,H=0;for(F=F/2|0;F;F=F>>>1)H++;return 1<<H+1+W},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var W=0;W<F/2;W++){var H=G[W];G[W]=G[F-W-1],G[F-W-1]=H,H=V[W],V[W]=-V[F-W-1],V[F-W-1]=-H}},u.prototype.normalize13b=function(G,V){var F=0;for(var W=0;W<V/2;W++){var H=Math.round(G[2*W+1]/V)*8192+Math.round(G[2*W]/V)+F;if(G[W]=H&67108863,H<67108864)F=0;else F=H/67108864|0}return G},u.prototype.convert13b=function(G,V,F,W){var H=0;for(var P=0;P<V;P++)H=H+(G[P]|0),F[2*P]=H&8191,H=H>>>13,F[2*P+1]=H&8191,H=H>>>13;for(P=2*V;P<W;++P)F[P]=0;X(H===0),X((H&-8192)===0)},u.prototype.stub=function(G){var V=Array(G);for(var F=0;F<G;F++)V[F]=0;return V},u.prototype.mulp=function(G,V,F){var W=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),z=Array(W),T=Array(W),g=Array(W),N=Array(W),c=F.words;c.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(V.words,V.length,T,W),this.transform(S,P,A,z,W,H),this.transform(T,P,g,N,W,H);for(var r=0;r<W;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,W),this.transform(A,z,c,P,W,H),this.conjugate(c,P,W),this.normalize13b(c,W),F.negative=G.negative^V.negative,F.length=G.length+V.length,F.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),x(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var F=0;F<this.length;F++){var W=(this.words[F]|0)*G,H=(W&67108863)+(V&67108863);V>>=26,V+=W/67108864|0,V+=H>>>26,this.words[F]=H&67108863}if(V!==0)this.words[F]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=v(G);if(V.length===0)return new Z(1);var F=this;for(var W=0;W<V.length;W++,F=F.sqr())if(V[W]!==0)break;if(++W<V.length)for(var H=F.sqr();W<V.length;W++,H=H.sqr()){if(V[W]===0)continue;F=F.mul(H)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=67108863>>>26-V<<26-V,H;if(V!==0){var P=0;for(H=0;H<this.length;H++){var S=this.words[H]&W,A=(this.words[H]|0)-S<<V;this.words[H]=A|P,P=S>>>26-V}if(P)this.words[H]=P,this.length++}if(F!==0){for(H=this.length-1;H>=0;H--)this.words[H+F]=this.words[H];for(H=0;H<F;H++)this.words[H]=0;this.length+=F}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,F){X(typeof G==="number"&&G>=0);var W;if(V)W=(V-V%26)/26;else W=0;var H=G%26,P=Math.min((G-H)/26,this.length),S=67108863^67108863>>>H<<H,A=F;if(W-=P,W=Math.max(0,W),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var T=0;for(z=this.length-1;z>=0&&(T!==0||z>=W);z--){var g=this.words[z]|0;this.words[z]=T<<26-H|g>>>H,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,F){return X(this.negative===0),this.iushrn(G,V,F)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return!1;var H=this.words[F];return!!(H&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=F)return this;if(V!==0)F++;if(this.length=Math.min(F,this.length),V!==0){var W=67108863^67108863>>>V<<V;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var V=0;V<this.length&&this.words[V]>=67108864;V++)if(this.words[V]-=67108864,V===this.length-1)this.words[V+1]=1;else this.words[V+1]++;return this.length=Math.max(this.length,V+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,F){var W=G.length+F,H;this._expand(W);var P,S=0;for(H=0;H<G.length;H++){P=(this.words[H+F]|0)+S;var A=(G.words[H]|0)*V;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[H+F]=P&67108863}for(;H<this.length-F;H++)P=(this.words[H+F]|0)+S,S=P>>26,this.words[H+F]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(H=0;H<this.length;H++)P=-(this.words[H]|0)+S,S=P>>26,this.words[H]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,W=this.clone(),H=G,P=H.words[H.length-1]|0,S=this._countBits(P);if(F=26-S,F!==0)H=H.ushln(F),W.iushln(F),P=H.words[H.length-1]|0;var A=W.length-H.length,z;if(V!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var T=0;T<z.length;T++)z.words[T]=0}var g=W.clone()._ishlnsubmul(H,1,A);if(g.negative===0){if(W=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var c=(W.words[H.length+N]|0)*67108864+(W.words[H.length+N-1]|0);c=Math.min(c/P|0,67108863),W._ishlnsubmul(H,c,N);while(W.negative!==0)if(c--,W.negative=0,W._ishlnsubmul(H,1,N),!W.isZero())W.negative^=1;if(z)z.words[N]=c}if(z)z.strip();if(W.strip(),V!=="div"&&F!==0)W.iushrn(F);return{div:z||null,mod:W}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,H,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,V),V!=="mod")W=P.div.neg();if(V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.iadd(G)}return{div:W,mod:H}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),V),V!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),V),V!=="div"){if(H=P.mod.neg(),F&&H.negative!==0)H.isub(G)}return{div:P.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var F=V.div.negative!==0?V.mod.isub(G):V.mod,W=G.ushrn(1),H=G.andln(1),P=F.cmp(W);if(P<0||H===1&&P===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,F=0;for(var W=this.length-1;W>=0;W--)F=(V*F+(this.words[W]|0))%G;return F},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var F=this.length-1;F>=0;F--){var W=(this.words[F]|0)+V*67108864;this.words[F]=W/G|0,V=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var z=F.clone(),T=V.clone();while(!V.isZero()){for(var g=0,N=1;(V.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){V.iushrn(g);while(g-- >0){if(W.isOdd()||H.isOdd())W.iadd(z),H.isub(T);W.iushrn(1),H.iushrn(1)}}for(var c=0,r=1;(F.words[0]&r)===0&&c<26;++c,r<<=1);if(c>0){F.iushrn(c);while(c-- >0){if(P.isOdd()||S.isOdd())P.iadd(z),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(P),H.isub(S);else F.isub(V),P.isub(W),S.isub(H)}return{a:P,b:S,gcd:F.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,F=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var W=new Z(1),H=new Z(0),P=F.clone();while(V.cmpn(1)>0&&F.cmpn(1)>0){for(var S=0,A=1;(V.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){V.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var z=0,T=1;(F.words[0]&T)===0&&z<26;++z,T<<=1);if(z>0){F.iushrn(z);while(z-- >0){if(H.isOdd())H.iadd(P);H.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),W.isub(H);else F.isub(V),H.isub(W)}var g;if(V.cmpn(1)===0)g=W;else g=H;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),F=G.clone();V.negative=0,F.negative=0;for(var W=0;V.isEven()&&F.isEven();W++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var H=V.cmp(F);if(H<0){var P=V;V=F,F=P}else if(H===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,F=(G-V)/26,W=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=W,this;var H=W;for(var P=F;H!==0&&P<this.length;P++){var S=this.words[P]|0;S+=H,H=S>>>26,S&=67108863,this.words[P]=S}if(H!==0)this.words[P]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var F;if(this.length>1)F=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;F=W===G?0:W<G?-1:1}if(this.negative!==0)return-F|0;return F},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var F=this.length-1;F>=0;F--){var W=this.words[F]|0,H=G.words[F]|0;if(W===H)continue;if(W<H)V=-1;else if(W>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,F;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),F=V.bitLength();while(F>this.n);var W=F<this.n?-1:V.ucmp(this.p);if(W===0)V.words[0]=0,V.length=1;else if(W>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,V){var F=4194303,W=Math.min(G.length,9);for(var H=0;H<W;H++)V.words[H]=G.words[H];if(V.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];V.words[V.length++]=P&F;for(H=10;H<G.length;H++){var S=G.words[H]|0;G.words[H-10]=(S&F)<<4|P>>>22,P=S}if(P>>>=22,G.words[H-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var F=0;F<G.length;F++){var W=G.words[F]|0;V+=W*977,G.words[F]=V&67108863,V=W*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(H0,d);function M0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(M0,d);function q0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(q0,d),q0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var W=(G.words[F]|0)*19+V,H=W&67108863;W>>>=26,G.words[F]=H,V=W}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new M0;else if(G==="p25519")V=new q0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var F=G.add(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var F=G.iadd(V);if(F.cmp(this.m)>=0)F.isub(this.m);return F},t.prototype.sub=function(G,V){this._verify2(G,V);var F=G.sub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var F=G.isub(V);if(F.cmpn(0)<0)F.iadd(this.m);return F},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var F=this.m.add(new Z(1)).iushrn(2);return this.pow(G,F)}var W=this.m.subn(1),H=0;while(!W.isZero()&&W.andln(1)===0)H++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(S)!==0)z.redIAdd(S);var T=this.pow(z,W),g=this.pow(G,W.addn(1).iushrn(1)),N=this.pow(G,W),c=H;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<c);var O0=this.pow(T,new Z(1).iushln(c-U0-1));g=g.redMul(O0),T=O0.redSqr(),N=N.redMul(T),c=U0}return g},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var F=4,W=Array(1<<F);W[0]=new Z(1).toRed(this),W[1]=G;for(var H=2;H<W.length;H++)W[H]=this.mul(W[H-1],G);var P=W[0],S=0,A=0,z=V.bitLength()%26;if(z===0)z=26;for(H=V.length-1;H>=0;H--){var T=V.words[H];for(var g=z-1;g>=0;g--){var N=T>>g&1;if(P!==W[0])P=this.sqr(P);if(N===0&&S===0){A=0;continue}if(S<<=1,S|=N,A++,A!==F&&(H!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}z=26}return P},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},T0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var F=G.imul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),W=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=F.isub(W).iushrn(this.shift),P=H;if(H.cmp(this.m)>=0)P=H.isub(this.m);else if(H.cmpn(0)<0)P=H.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),XS=b0((I,J)=>{var Y=MD(),K=f6().Buffer;function X(O,Z){return K.from(O.toRed(Y.mont(Z.modulus)).redPow(new Y(Z.publicExponent)).fromRed().toArray())}J.exports=X}),kf=b0((I,J)=>{(function(Y,K){function X(W,H){if(!W)throw Error(H||"Assertion failed")}function O(W,H){W.super_=H;var P=function(){};P.prototype=H.prototype,W.prototype=new P,W.prototype.constructor=W}function Z(W,H,P){if(Z.isBN(W))return W;if(this.negative=0,this.words=null,this.length=0,this.red=null,W!==null){if(H==="le"||H==="be")P=H,H=10;this._init(W||0,H||10,P||"be")}}if(typeof Y==="object")Y.exports=Z;else K.BN=Z;Z.BN=Z,Z.wordSize=26;var M;try{if(typeof window<"u"&&typeof window.Buffer<"u")M=window.Buffer;else M=(iU(),j$(oU)).Buffer}catch(W){}Z.isBN=function(W){if(W instanceof Z)return!0;return W!==null&&typeof W==="object"&&W.constructor.wordSize===Z.wordSize&&Array.isArray(W.words)},Z.max=function(W,H){if(W.cmp(H)>0)return W;return H},Z.min=function(W,H){if(W.cmp(H)<0)return W;return H},Z.prototype._init=function(W,H,P){if(typeof W==="number")return this._initNumber(W,H,P);if(typeof W==="object")return this._initArray(W,H,P);if(H==="hex")H=16;X(H===(H|0)&&H>=2&&H<=36),W=W.toString().replace(/\s+/g,"");var S=0;if(W[0]==="-")S++,this.negative=1;if(S<W.length){if(H===16)this._parseHex(W,S,P);else if(this._parseBase(W,H,S),P==="le")this._initArray(this.toArray(),H,P)}},Z.prototype._initNumber=function(W,H,P){if(W<0)this.negative=1,W=-W;if(W<67108864)this.words=[W&67108863],this.length=1;else if(W<4503599627370496)this.words=[W&67108863,W/67108864&67108863],this.length=2;else X(W<9007199254740992),this.words=[W&67108863,W/67108864&67108863,1],this.length=3;if(P!=="le")return;this._initArray(this.toArray(),H,P)},Z.prototype._initArray=function(W,H,P){if(X(typeof W.length==="number"),W.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(W.length/3),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A,z,T=0;if(P==="be"){for(S=W.length-1,A=0;S>=0;S-=3)if(z=W[S]|W[S-1]<<8|W[S-2]<<16,this.words[A]|=z<<T&67108863,this.words[A+1]=z>>>26-T&67108863,T+=24,T>=26)T-=26,A++}else if(P==="le"){for(S=0,A=0;S<W.length;S+=3)if(z=W[S]|W[S+1]<<8|W[S+2]<<16,this.words[A]|=z<<T&67108863,this.words[A+1]=z>>>26-T&67108863,T+=24,T>=26)T-=26,A++}return this._strip()};function j(W,H){var P=W.charCodeAt(H);if(P>=48&&P<=57)return P-48;else if(P>=65&&P<=70)return P-55;else if(P>=97&&P<=102)return P-87;else X(!1,"Invalid character in "+W)}function q(W,H,P){var S=j(W,P);if(P-1>=H)S|=j(W,P-1)<<4;return S}Z.prototype._parseHex=function(W,H,P){this.length=Math.ceil((W.length-H)/6),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A=0,z=0,T;if(P==="be")for(S=W.length-1;S>=H;S-=2)if(T=q(W,H,S)<<A,this.words[z]|=T&67108863,A>=18)A-=18,z+=1,this.words[z]|=T>>>26;else A+=8;else{var g=W.length-H;for(S=g%2===0?H+1:H;S<W.length;S+=2)if(T=q(W,H,S)<<A,this.words[z]|=T&67108863,A>=18)A-=18,z+=1,this.words[z]|=T>>>26;else A+=8}this._strip()};function E(W,H,P,S){var A=0,z=0,T=Math.min(W.length,P);for(var g=H;g<T;g++){var N=W.charCodeAt(g)-48;if(A*=S,N>=49)z=N-49+10;else if(N>=17)z=N-17+10;else z=N;X(N>=0&&z<S,"Invalid character"),A+=z}return A}Z.prototype._parseBase=function(W,H,P){this.words=[0],this.length=1;for(var S=0,A=1;A<=67108863;A*=H)S++;S--,A=A/H|0;var z=W.length-P,T=z%S,g=Math.min(z,z-T)+P,N=0;for(var c=P;c<g;c+=S)if(N=E(W,c,c+S,H),this.imuln(A),this.words[0]+N<67108864)this.words[0]+=N;else this._iaddn(N);if(T!==0){var r=1;N=E(W,c,W.length,H);for(c=0;c<T;c++)r*=H;if(this.imuln(r),this.words[0]+N<67108864)this.words[0]+=N;else this._iaddn(N)}this._strip()},Z.prototype.copy=function(W){W.words=Array(this.length);for(var H=0;H<this.length;H++)W.words[H]=this.words[H];W.length=this.length,W.negative=this.negative,W.red=this.red};function C(W,H){W.words=H.words,W.length=H.length,W.negative=H.negative,W.red=H.red}if(Z.prototype._move=function(W){C(W,this)},Z.prototype.clone=function(){var W=new Z(null);return this.copy(W),W},Z.prototype._expand=function(W){while(this.length<W)this.words[this.length++]=0;return this},Z.prototype._strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},typeof Symbol<"u"&&typeof Symbol.for==="function")try{Z.prototype[Symbol.for("nodejs.util.inspect.custom")]=_}catch(W){Z.prototype.inspect=_}else Z.prototype.inspect=_;function _(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var B=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(W,H){W=W||10,H=H|0||1;var P;if(W===16||W==="hex"){P="";var S=0,A=0;for(var z=0;z<this.length;z++){var T=this.words[z],g=((T<<S|A)&16777215).toString(16);if(A=T>>>24-S&16777215,S+=2,S>=26)S-=26,z--;if(A!==0||z!==this.length-1)P=B[6-g.length]+g+P;else P=g+P}if(A!==0)P=A.toString(16)+P;while(P.length%H!==0)P="0"+P;if(this.negative!==0)P="-"+P;return P}if(W===(W|0)&&W>=2&&W<=36){var N=v[W],c=y[W];P="";var r=this.clone();r.negative=0;while(!r.isZero()){var U0=r.modrn(c).toString(W);if(r=r.idivn(c),!r.isZero())P=B[N-U0.length]+U0+P;else P=U0+P}if(this.isZero())P="0"+P;while(P.length%H!==0)P="0"+P;if(this.negative!==0)P="-"+P;return P}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var W=this.words[0];if(this.length===2)W+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)W+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-W:W},Z.prototype.toJSON=function(){return this.toString(16,2)},M)Z.prototype.toBuffer=function(W,H){return this.toArrayLike(M,W,H)};Z.prototype.toArray=function(W,H){return this.toArrayLike(Array,W,H)};var w=function(W,H){if(W.allocUnsafe)return W.allocUnsafe(H);return new W(H)};if(Z.prototype.toArrayLike=function(W,H,P){this._strip();var S=this.byteLength(),A=P||Math.max(1,S);X(S<=A,"byte array longer than desired length"),X(A>0,"Requested array length <= 0");var z=w(W,A),T=H==="le"?"LE":"BE";return this["_toArrayLike"+T](z,S),z},Z.prototype._toArrayLikeLE=function(W,H){var P=0,S=0;for(var A=0,z=0;A<this.length;A++){var T=this.words[A]<<z|S;if(W[P++]=T&255,P<W.length)W[P++]=T>>8&255;if(P<W.length)W[P++]=T>>16&255;if(z===6){if(P<W.length)W[P++]=T>>24&255;S=0,z=0}else S=T>>>24,z+=2}if(P<W.length){W[P++]=S;while(P<W.length)W[P++]=0}},Z.prototype._toArrayLikeBE=function(W,H){var P=W.length-1,S=0;for(var A=0,z=0;A<this.length;A++){var T=this.words[A]<<z|S;if(W[P--]=T&255,P>=0)W[P--]=T>>8&255;if(P>=0)W[P--]=T>>16&255;if(z===6){if(P>=0)W[P--]=T>>24&255;S=0,z=0}else S=T>>>24,z+=2}if(P>=0){W[P--]=S;while(P>=0)W[P--]=0}},Math.clz32)Z.prototype._countBits=function(W){return 32-Math.clz32(W)};else Z.prototype._countBits=function(W){var H=W,P=0;if(H>=4096)P+=13,H>>>=13;if(H>=64)P+=7,H>>>=7;if(H>=8)P+=4,H>>>=4;if(H>=2)P+=2,H>>>=2;return P+H};Z.prototype._zeroBits=function(W){if(W===0)return 26;var H=W,P=0;if((H&8191)===0)P+=13,H>>>=13;if((H&127)===0)P+=7,H>>>=7;if((H&15)===0)P+=4,H>>>=4;if((H&3)===0)P+=2,H>>>=2;if((H&1)===0)P++;return P},Z.prototype.bitLength=function(){var W=this.words[this.length-1],H=this._countBits(W);return(this.length-1)*26+H};function b(W){var H=Array(W.bitLength());for(var P=0;P<H.length;P++){var S=P/26|0,A=P%26;H[P]=W.words[S]>>>A&1}return H}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var W=0;for(var H=0;H<this.length;H++){var P=this._zeroBits(this.words[H]);if(W+=P,P!==26)break}return W},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(W){if(this.negative!==0)return this.abs().inotn(W).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(W){if(this.testn(W-1))return this.notn(W).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(W){while(this.length<W.length)this.words[this.length++]=0;for(var H=0;H<W.length;H++)this.words[H]=this.words[H]|W.words[H];return this._strip()},Z.prototype.ior=function(W){return X((this.negative|W.negative)===0),this.iuor(W)},Z.prototype.or=function(W){if(this.length>W.length)return this.clone().ior(W);return W.clone().ior(this)},Z.prototype.uor=function(W){if(this.length>W.length)return this.clone().iuor(W);return W.clone().iuor(this)},Z.prototype.iuand=function(W){var H;if(this.length>W.length)H=W;else H=this;for(var P=0;P<H.length;P++)this.words[P]=this.words[P]&W.words[P];return this.length=H.length,this._strip()},Z.prototype.iand=function(W){return X((this.negative|W.negative)===0),this.iuand(W)},Z.prototype.and=function(W){if(this.length>W.length)return this.clone().iand(W);return W.clone().iand(this)},Z.prototype.uand=function(W){if(this.length>W.length)return this.clone().iuand(W);return W.clone().iuand(this)},Z.prototype.iuxor=function(W){var H,P;if(this.length>W.length)H=this,P=W;else H=W,P=this;for(var S=0;S<P.length;S++)this.words[S]=H.words[S]^P.words[S];if(this!==H)for(;S<H.length;S++)this.words[S]=H.words[S];return this.length=H.length,this._strip()},Z.prototype.ixor=function(W){return X((this.negative|W.negative)===0),this.iuxor(W)},Z.prototype.xor=function(W){if(this.length>W.length)return this.clone().ixor(W);return W.clone().ixor(this)},Z.prototype.uxor=function(W){if(this.length>W.length)return this.clone().iuxor(W);return W.clone().iuxor(this)},Z.prototype.inotn=function(W){X(typeof W==="number"&&W>=0);var H=Math.ceil(W/26)|0,P=W%26;if(this._expand(H),P>0)H--;for(var S=0;S<H;S++)this.words[S]=~this.words[S]&67108863;if(P>0)this.words[S]=~this.words[S]&67108863>>26-P;return this._strip()},Z.prototype.notn=function(W){return this.clone().inotn(W)},Z.prototype.setn=function(W,H){X(typeof W==="number"&&W>=0);var P=W/26|0,S=W%26;if(this._expand(P+1),H)this.words[P]=this.words[P]|1<<S;else this.words[P]=this.words[P]&~(1<<S);return this._strip()},Z.prototype.iadd=function(W){var H;if(this.negative!==0&&W.negative===0)return this.negative=0,H=this.isub(W),this.negative^=1,this._normSign();else if(this.negative===0&&W.negative!==0)return W.negative=0,H=this.isub(W),W.negative=1,H._normSign();var P,S;if(this.length>W.length)P=this,S=W;else P=W,S=this;var A=0;for(var z=0;z<S.length;z++)H=(P.words[z]|0)+(S.words[z]|0)+A,this.words[z]=H&67108863,A=H>>>26;for(;A!==0&&z<P.length;z++)H=(P.words[z]|0)+A,this.words[z]=H&67108863,A=H>>>26;if(this.length=P.length,A!==0)this.words[this.length]=A,this.length++;else if(P!==this)for(;z<P.length;z++)this.words[z]=P.words[z];return this},Z.prototype.add=function(W){var H;if(W.negative!==0&&this.negative===0)return W.negative=0,H=this.sub(W),W.negative^=1,H;else if(W.negative===0&&this.negative!==0)return this.negative=0,H=W.sub(this),this.negative=1,H;if(this.length>W.length)return this.clone().iadd(W);return W.clone().iadd(this)},Z.prototype.isub=function(W){if(W.negative!==0){W.negative=0;var H=this.iadd(W);return W.negative=1,H._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(W),this.negative=1,this._normSign();var P=this.cmp(W);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var S,A;if(P>0)S=this,A=W;else S=W,A=this;var z=0;for(var T=0;T<A.length;T++)H=(S.words[T]|0)-(A.words[T]|0)+z,z=H>>26,this.words[T]=H&67108863;for(;z!==0&&T<S.length;T++)H=(S.words[T]|0)+z,z=H>>26,this.words[T]=H&67108863;if(z===0&&T<S.length&&S!==this)for(;T<S.length;T++)this.words[T]=S.words[T];if(this.length=Math.max(this.length,T),S!==this)this.negative=1;return this._strip()},Z.prototype.sub=function(W){return this.clone().isub(W)};function x(W,H,P){P.negative=H.negative^W.negative;var S=W.length+H.length|0;P.length=S,S=S-1|0;var A=W.words[0]|0,z=H.words[0]|0,T=A*z,g=T&67108863,N=T/67108864|0;P.words[0]=g;for(var c=1;c<S;c++){var r=N>>>26,U0=N&67108863,O0=Math.min(c,H.length-1);for(var Q0=Math.max(0,c-W.length+1);Q0<=O0;Q0++){var s=c-Q0|0;A=W.words[s]|0,z=H.words[Q0]|0,T=A*z+U0,r+=T/67108864|0,U0=T&67108863}P.words[c]=U0|0,N=r|0}if(N!==0)P.words[c]=N|0;else P.length--;return P._strip()}var u=function(W,H,P){var S=W.words,A=H.words,z=P.words,T=0,g,N,c,r=S[0]|0,U0=r&8191,O0=r>>>13,Q0=S[1]|0,s=Q0&8191,e=Q0>>>13,J0=S[2]|0,Z0=J0&8191,A0=J0>>>13,$0=S[3]|0,h=$0&8191,n=$0>>>13,F0=S[4]|0,Y0=F0&8191,W0=F0>>>13,v0=S[5]|0,I0=v0&8191,K0=v0>>>13,I$=S[6]|0,L0=I$&8191,B0=I$>>>13,L$=S[7]|0,m0=L$&8191,p0=L$>>>13,i$=S[8]|0,c0=i$&8191,h0=i$>>>13,QU=S[9]|0,t0=QU&8191,i0=QU>>>13,RU=A[0]|0,m=RU&8191,X0=RU>>>13,e0=A[1]|0,S0=e0&8191,N0=e0>>>13,F$=A[2]|0,x0=F$&8191,y0=F$>>>13,V$=A[3]|0,o0=V$&8191,r0=V$>>>13,WU=A[4]|0,s0=WU&8191,i=WU>>>13,G0=A[5]|0,_0=G0&8191,E0=G0>>>13,O$=A[6]|0,n0=O$&8191,a0=O$>>>13,MU=A[7]|0,X$=MU&8191,U$=MU>>>13,e$=A[8]|0,J$=e$&8191,$$=e$>>>13,_U=A[9]|0,B$=_U&8191,S$=_U>>>13;P.negative=W.negative^H.negative,P.length=19,g=Math.imul(U0,m),N=Math.imul(U0,X0),N=N+Math.imul(O0,m)|0,c=Math.imul(O0,X0);var $U=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+($U>>>26)|0,$U&=67108863,g=Math.imul(s,m),N=Math.imul(s,X0),N=N+Math.imul(e,m)|0,c=Math.imul(e,X0),g=g+Math.imul(U0,S0)|0,N=N+Math.imul(U0,N0)|0,N=N+Math.imul(O0,S0)|0,c=c+Math.imul(O0,N0)|0;var d$=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(d$>>>26)|0,d$&=67108863,g=Math.imul(Z0,m),N=Math.imul(Z0,X0),N=N+Math.imul(A0,m)|0,c=Math.imul(A0,X0),g=g+Math.imul(s,S0)|0,N=N+Math.imul(s,N0)|0,N=N+Math.imul(e,S0)|0,c=c+Math.imul(e,N0)|0,g=g+Math.imul(U0,x0)|0,N=N+Math.imul(U0,y0)|0,N=N+Math.imul(O0,x0)|0,c=c+Math.imul(O0,y0)|0;var bU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(bU>>>26)|0,bU&=67108863,g=Math.imul(h,m),N=Math.imul(h,X0),N=N+Math.imul(n,m)|0,c=Math.imul(n,X0),g=g+Math.imul(Z0,S0)|0,N=N+Math.imul(Z0,N0)|0,N=N+Math.imul(A0,S0)|0,c=c+Math.imul(A0,N0)|0,g=g+Math.imul(s,x0)|0,N=N+Math.imul(s,y0)|0,N=N+Math.imul(e,x0)|0,c=c+Math.imul(e,y0)|0,g=g+Math.imul(U0,o0)|0,N=N+Math.imul(U0,r0)|0,N=N+Math.imul(O0,o0)|0,c=c+Math.imul(O0,r0)|0;var cU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(cU>>>26)|0,cU&=67108863,g=Math.imul(Y0,m),N=Math.imul(Y0,X0),N=N+Math.imul(W0,m)|0,c=Math.imul(W0,X0),g=g+Math.imul(h,S0)|0,N=N+Math.imul(h,N0)|0,N=N+Math.imul(n,S0)|0,c=c+Math.imul(n,N0)|0,g=g+Math.imul(Z0,x0)|0,N=N+Math.imul(Z0,y0)|0,N=N+Math.imul(A0,x0)|0,c=c+Math.imul(A0,y0)|0,g=g+Math.imul(s,o0)|0,N=N+Math.imul(s,r0)|0,N=N+Math.imul(e,o0)|0,c=c+Math.imul(e,r0)|0,g=g+Math.imul(U0,s0)|0,N=N+Math.imul(U0,i)|0,N=N+Math.imul(O0,s0)|0,c=c+Math.imul(O0,i)|0;var hU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(hU>>>26)|0,hU&=67108863,g=Math.imul(I0,m),N=Math.imul(I0,X0),N=N+Math.imul(K0,m)|0,c=Math.imul(K0,X0),g=g+Math.imul(Y0,S0)|0,N=N+Math.imul(Y0,N0)|0,N=N+Math.imul(W0,S0)|0,c=c+Math.imul(W0,N0)|0,g=g+Math.imul(h,x0)|0,N=N+Math.imul(h,y0)|0,N=N+Math.imul(n,x0)|0,c=c+Math.imul(n,y0)|0,g=g+Math.imul(Z0,o0)|0,N=N+Math.imul(Z0,r0)|0,N=N+Math.imul(A0,o0)|0,c=c+Math.imul(A0,r0)|0,g=g+Math.imul(s,s0)|0,N=N+Math.imul(s,i)|0,N=N+Math.imul(e,s0)|0,c=c+Math.imul(e,i)|0,g=g+Math.imul(U0,_0)|0,N=N+Math.imul(U0,E0)|0,N=N+Math.imul(O0,_0)|0,c=c+Math.imul(O0,E0)|0;var pU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(pU>>>26)|0,pU&=67108863,g=Math.imul(L0,m),N=Math.imul(L0,X0),N=N+Math.imul(B0,m)|0,c=Math.imul(B0,X0),g=g+Math.imul(I0,S0)|0,N=N+Math.imul(I0,N0)|0,N=N+Math.imul(K0,S0)|0,c=c+Math.imul(K0,N0)|0,g=g+Math.imul(Y0,x0)|0,N=N+Math.imul(Y0,y0)|0,N=N+Math.imul(W0,x0)|0,c=c+Math.imul(W0,y0)|0,g=g+Math.imul(h,o0)|0,N=N+Math.imul(h,r0)|0,N=N+Math.imul(n,o0)|0,c=c+Math.imul(n,r0)|0,g=g+Math.imul(Z0,s0)|0,N=N+Math.imul(Z0,i)|0,N=N+Math.imul(A0,s0)|0,c=c+Math.imul(A0,i)|0,g=g+Math.imul(s,_0)|0,N=N+Math.imul(s,E0)|0,N=N+Math.imul(e,_0)|0,c=c+Math.imul(e,E0)|0,g=g+Math.imul(U0,n0)|0,N=N+Math.imul(U0,a0)|0,N=N+Math.imul(O0,n0)|0,c=c+Math.imul(O0,a0)|0;var mU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(mU>>>26)|0,mU&=67108863,g=Math.imul(m0,m),N=Math.imul(m0,X0),N=N+Math.imul(p0,m)|0,c=Math.imul(p0,X0),g=g+Math.imul(L0,S0)|0,N=N+Math.imul(L0,N0)|0,N=N+Math.imul(B0,S0)|0,c=c+Math.imul(B0,N0)|0,g=g+Math.imul(I0,x0)|0,N=N+Math.imul(I0,y0)|0,N=N+Math.imul(K0,x0)|0,c=c+Math.imul(K0,y0)|0,g=g+Math.imul(Y0,o0)|0,N=N+Math.imul(Y0,r0)|0,N=N+Math.imul(W0,o0)|0,c=c+Math.imul(W0,r0)|0,g=g+Math.imul(h,s0)|0,N=N+Math.imul(h,i)|0,N=N+Math.imul(n,s0)|0,c=c+Math.imul(n,i)|0,g=g+Math.imul(Z0,_0)|0,N=N+Math.imul(Z0,E0)|0,N=N+Math.imul(A0,_0)|0,c=c+Math.imul(A0,E0)|0,g=g+Math.imul(s,n0)|0,N=N+Math.imul(s,a0)|0,N=N+Math.imul(e,n0)|0,c=c+Math.imul(e,a0)|0,g=g+Math.imul(U0,X$)|0,N=N+Math.imul(U0,U$)|0,N=N+Math.imul(O0,X$)|0,c=c+Math.imul(O0,U$)|0;var r$=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(r$>>>26)|0,r$&=67108863,g=Math.imul(c0,m),N=Math.imul(c0,X0),N=N+Math.imul(h0,m)|0,c=Math.imul(h0,X0),g=g+Math.imul(m0,S0)|0,N=N+Math.imul(m0,N0)|0,N=N+Math.imul(p0,S0)|0,c=c+Math.imul(p0,N0)|0,g=g+Math.imul(L0,x0)|0,N=N+Math.imul(L0,y0)|0,N=N+Math.imul(B0,x0)|0,c=c+Math.imul(B0,y0)|0,g=g+Math.imul(I0,o0)|0,N=N+Math.imul(I0,r0)|0,N=N+Math.imul(K0,o0)|0,c=c+Math.imul(K0,r0)|0,g=g+Math.imul(Y0,s0)|0,N=N+Math.imul(Y0,i)|0,N=N+Math.imul(W0,s0)|0,c=c+Math.imul(W0,i)|0,g=g+Math.imul(h,_0)|0,N=N+Math.imul(h,E0)|0,N=N+Math.imul(n,_0)|0,c=c+Math.imul(n,E0)|0,g=g+Math.imul(Z0,n0)|0,N=N+Math.imul(Z0,a0)|0,N=N+Math.imul(A0,n0)|0,c=c+Math.imul(A0,a0)|0,g=g+Math.imul(s,X$)|0,N=N+Math.imul(s,U$)|0,N=N+Math.imul(e,X$)|0,c=c+Math.imul(e,U$)|0,g=g+Math.imul(U0,J$)|0,N=N+Math.imul(U0,$$)|0,N=N+Math.imul(O0,J$)|0,c=c+Math.imul(O0,$$)|0;var LU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(LU>>>26)|0,LU&=67108863,g=Math.imul(t0,m),N=Math.imul(t0,X0),N=N+Math.imul(i0,m)|0,c=Math.imul(i0,X0),g=g+Math.imul(c0,S0)|0,N=N+Math.imul(c0,N0)|0,N=N+Math.imul(h0,S0)|0,c=c+Math.imul(h0,N0)|0,g=g+Math.imul(m0,x0)|0,N=N+Math.imul(m0,y0)|0,N=N+Math.imul(p0,x0)|0,c=c+Math.imul(p0,y0)|0,g=g+Math.imul(L0,o0)|0,N=N+Math.imul(L0,r0)|0,N=N+Math.imul(B0,o0)|0,c=c+Math.imul(B0,r0)|0,g=g+Math.imul(I0,s0)|0,N=N+Math.imul(I0,i)|0,N=N+Math.imul(K0,s0)|0,c=c+Math.imul(K0,i)|0,g=g+Math.imul(Y0,_0)|0,N=N+Math.imul(Y0,E0)|0,N=N+Math.imul(W0,_0)|0,c=c+Math.imul(W0,E0)|0,g=g+Math.imul(h,n0)|0,N=N+Math.imul(h,a0)|0,N=N+Math.imul(n,n0)|0,c=c+Math.imul(n,a0)|0,g=g+Math.imul(Z0,X$)|0,N=N+Math.imul(Z0,U$)|0,N=N+Math.imul(A0,X$)|0,c=c+Math.imul(A0,U$)|0,g=g+Math.imul(s,J$)|0,N=N+Math.imul(s,$$)|0,N=N+Math.imul(e,J$)|0,c=c+Math.imul(e,$$)|0,g=g+Math.imul(U0,B$)|0,N=N+Math.imul(U0,S$)|0,N=N+Math.imul(O0,B$)|0,c=c+Math.imul(O0,S$)|0;var VU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(VU>>>26)|0,VU&=67108863,g=Math.imul(t0,S0),N=Math.imul(t0,N0),N=N+Math.imul(i0,S0)|0,c=Math.imul(i0,N0),g=g+Math.imul(c0,x0)|0,N=N+Math.imul(c0,y0)|0,N=N+Math.imul(h0,x0)|0,c=c+Math.imul(h0,y0)|0,g=g+Math.imul(m0,o0)|0,N=N+Math.imul(m0,r0)|0,N=N+Math.imul(p0,o0)|0,c=c+Math.imul(p0,r0)|0,g=g+Math.imul(L0,s0)|0,N=N+Math.imul(L0,i)|0,N=N+Math.imul(B0,s0)|0,c=c+Math.imul(B0,i)|0,g=g+Math.imul(I0,_0)|0,N=N+Math.imul(I0,E0)|0,N=N+Math.imul(K0,_0)|0,c=c+Math.imul(K0,E0)|0,g=g+Math.imul(Y0,n0)|0,N=N+Math.imul(Y0,a0)|0,N=N+Math.imul(W0,n0)|0,c=c+Math.imul(W0,a0)|0,g=g+Math.imul(h,X$)|0,N=N+Math.imul(h,U$)|0,N=N+Math.imul(n,X$)|0,c=c+Math.imul(n,U$)|0,g=g+Math.imul(Z0,J$)|0,N=N+Math.imul(Z0,$$)|0,N=N+Math.imul(A0,J$)|0,c=c+Math.imul(A0,$$)|0,g=g+Math.imul(s,B$)|0,N=N+Math.imul(s,S$)|0,N=N+Math.imul(e,B$)|0,c=c+Math.imul(e,S$)|0;var lU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(lU>>>26)|0,lU&=67108863,g=Math.imul(t0,x0),N=Math.imul(t0,y0),N=N+Math.imul(i0,x0)|0,c=Math.imul(i0,y0),g=g+Math.imul(c0,o0)|0,N=N+Math.imul(c0,r0)|0,N=N+Math.imul(h0,o0)|0,c=c+Math.imul(h0,r0)|0,g=g+Math.imul(m0,s0)|0,N=N+Math.imul(m0,i)|0,N=N+Math.imul(p0,s0)|0,c=c+Math.imul(p0,i)|0,g=g+Math.imul(L0,_0)|0,N=N+Math.imul(L0,E0)|0,N=N+Math.imul(B0,_0)|0,c=c+Math.imul(B0,E0)|0,g=g+Math.imul(I0,n0)|0,N=N+Math.imul(I0,a0)|0,N=N+Math.imul(K0,n0)|0,c=c+Math.imul(K0,a0)|0,g=g+Math.imul(Y0,X$)|0,N=N+Math.imul(Y0,U$)|0,N=N+Math.imul(W0,X$)|0,c=c+Math.imul(W0,U$)|0,g=g+Math.imul(h,J$)|0,N=N+Math.imul(h,$$)|0,N=N+Math.imul(n,J$)|0,c=c+Math.imul(n,$$)|0,g=g+Math.imul(Z0,B$)|0,N=N+Math.imul(Z0,S$)|0,N=N+Math.imul(A0,B$)|0,c=c+Math.imul(A0,S$)|0;var qU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(qU>>>26)|0,qU&=67108863,g=Math.imul(t0,o0),N=Math.imul(t0,r0),N=N+Math.imul(i0,o0)|0,c=Math.imul(i0,r0),g=g+Math.imul(c0,s0)|0,N=N+Math.imul(c0,i)|0,N=N+Math.imul(h0,s0)|0,c=c+Math.imul(h0,i)|0,g=g+Math.imul(m0,_0)|0,N=N+Math.imul(m0,E0)|0,N=N+Math.imul(p0,_0)|0,c=c+Math.imul(p0,E0)|0,g=g+Math.imul(L0,n0)|0,N=N+Math.imul(L0,a0)|0,N=N+Math.imul(B0,n0)|0,c=c+Math.imul(B0,a0)|0,g=g+Math.imul(I0,X$)|0,N=N+Math.imul(I0,U$)|0,N=N+Math.imul(K0,X$)|0,c=c+Math.imul(K0,U$)|0,g=g+Math.imul(Y0,J$)|0,N=N+Math.imul(Y0,$$)|0,N=N+Math.imul(W0,J$)|0,c=c+Math.imul(W0,$$)|0,g=g+Math.imul(h,B$)|0,N=N+Math.imul(h,S$)|0,N=N+Math.imul(n,B$)|0,c=c+Math.imul(n,S$)|0;var vU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(vU>>>26)|0,vU&=67108863,g=Math.imul(t0,s0),N=Math.imul(t0,i),N=N+Math.imul(i0,s0)|0,c=Math.imul(i0,i),g=g+Math.imul(c0,_0)|0,N=N+Math.imul(c0,E0)|0,N=N+Math.imul(h0,_0)|0,c=c+Math.imul(h0,E0)|0,g=g+Math.imul(m0,n0)|0,N=N+Math.imul(m0,a0)|0,N=N+Math.imul(p0,n0)|0,c=c+Math.imul(p0,a0)|0,g=g+Math.imul(L0,X$)|0,N=N+Math.imul(L0,U$)|0,N=N+Math.imul(B0,X$)|0,c=c+Math.imul(B0,U$)|0,g=g+Math.imul(I0,J$)|0,N=N+Math.imul(I0,$$)|0,N=N+Math.imul(K0,J$)|0,c=c+Math.imul(K0,$$)|0,g=g+Math.imul(Y0,B$)|0,N=N+Math.imul(Y0,S$)|0,N=N+Math.imul(W0,B$)|0,c=c+Math.imul(W0,S$)|0;var gU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(gU>>>26)|0,gU&=67108863,g=Math.imul(t0,_0),N=Math.imul(t0,E0),N=N+Math.imul(i0,_0)|0,c=Math.imul(i0,E0),g=g+Math.imul(c0,n0)|0,N=N+Math.imul(c0,a0)|0,N=N+Math.imul(h0,n0)|0,c=c+Math.imul(h0,a0)|0,g=g+Math.imul(m0,X$)|0,N=N+Math.imul(m0,U$)|0,N=N+Math.imul(p0,X$)|0,c=c+Math.imul(p0,U$)|0,g=g+Math.imul(L0,J$)|0,N=N+Math.imul(L0,$$)|0,N=N+Math.imul(B0,J$)|0,c=c+Math.imul(B0,$$)|0,g=g+Math.imul(I0,B$)|0,N=N+Math.imul(I0,S$)|0,N=N+Math.imul(K0,B$)|0,c=c+Math.imul(K0,S$)|0;var EU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(EU>>>26)|0,EU&=67108863,g=Math.imul(t0,n0),N=Math.imul(t0,a0),N=N+Math.imul(i0,n0)|0,c=Math.imul(i0,a0),g=g+Math.imul(c0,X$)|0,N=N+Math.imul(c0,U$)|0,N=N+Math.imul(h0,X$)|0,c=c+Math.imul(h0,U$)|0,g=g+Math.imul(m0,J$)|0,N=N+Math.imul(m0,$$)|0,N=N+Math.imul(p0,J$)|0,c=c+Math.imul(p0,$$)|0,g=g+Math.imul(L0,B$)|0,N=N+Math.imul(L0,S$)|0,N=N+Math.imul(B0,B$)|0,c=c+Math.imul(B0,S$)|0;var AU=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(AU>>>26)|0,AU&=67108863,g=Math.imul(t0,X$),N=Math.imul(t0,U$),N=N+Math.imul(i0,X$)|0,c=Math.imul(i0,U$),g=g+Math.imul(c0,J$)|0,N=N+Math.imul(c0,$$)|0,N=N+Math.imul(h0,J$)|0,c=c+Math.imul(h0,$$)|0,g=g+Math.imul(m0,B$)|0,N=N+Math.imul(m0,S$)|0,N=N+Math.imul(p0,B$)|0,c=c+Math.imul(p0,S$)|0;var HX=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(HX>>>26)|0,HX&=67108863,g=Math.imul(t0,J$),N=Math.imul(t0,$$),N=N+Math.imul(i0,J$)|0,c=Math.imul(i0,$$),g=g+Math.imul(c0,B$)|0,N=N+Math.imul(c0,S$)|0,N=N+Math.imul(h0,B$)|0,c=c+Math.imul(h0,S$)|0;var HY=(T+g|0)+((N&8191)<<13)|0;T=(c+(N>>>13)|0)+(HY>>>26)|0,HY&=67108863,g=Math.imul(t0,B$),N=Math.imul(t0,S$),N=N+Math.imul(i0,B$)|0,c=Math.imul(i0,S$);var FY=(T+g|0)+((N&8191)<<13)|0;if(T=(c+(N>>>13)|0)+(FY>>>26)|0,FY&=67108863,z[0]=$U,z[1]=d$,z[2]=bU,z[3]=cU,z[4]=hU,z[5]=pU,z[6]=mU,z[7]=r$,z[8]=LU,z[9]=VU,z[10]=lU,z[11]=qU,z[12]=vU,z[13]=gU,z[14]=EU,z[15]=AU,z[16]=HX,z[17]=HY,z[18]=FY,T!==0)z[19]=T,P.length++;return P};if(!Math.imul)u=x;function p(W,H,P){P.negative=H.negative^W.negative,P.length=W.length+H.length;var S=0,A=0;for(var z=0;z<P.length-1;z++){var T=A;A=0;var g=S&67108863,N=Math.min(z,H.length-1);for(var c=Math.max(0,z-W.length+1);c<=N;c++){var r=z-c,U0=W.words[r]|0,O0=H.words[c]|0,Q0=U0*O0,s=Q0&67108863;T=T+(Q0/67108864|0)|0,s=s+g|0,g=s&67108863,T=T+(s>>>26)|0,A+=T>>>26,T&=67108863}P.words[z]=g,S=T,T=A}if(S!==0)P.words[z]=S;else P.length--;return P._strip()}function d(W,H,P){return p(W,H,P)}Z.prototype.mulTo=function(W,H){var P,S=this.length+W.length;if(this.length===10&&W.length===10)P=u(this,W,H);else if(S<63)P=x(this,W,H);else if(S<1024)P=p(this,W,H);else P=d(this,W,H);return P};function a(W,H){this.x=W,this.y=H}a.prototype.makeRBT=function(W){var H=Array(W),P=Z.prototype._countBits(W)-1;for(var S=0;S<W;S++)H[S]=this.revBin(S,P,W);return H},a.prototype.revBin=function(W,H,P){if(W===0||W===P-1)return W;var S=0;for(var A=0;A<H;A++)S|=(W&1)<<H-A-1,W>>=1;return S},a.prototype.permute=function(W,H,P,S,A,z){for(var T=0;T<z;T++)S[T]=H[W[T]],A[T]=P[W[T]]},a.prototype.transform=function(W,H,P,S,A,z){this.permute(z,W,H,P,S,A);for(var T=1;T<A;T<<=1){var g=T<<1,N=Math.cos(2*Math.PI/g),c=Math.sin(2*Math.PI/g);for(var r=0;r<A;r+=g){var U0=N,O0=c;for(var Q0=0;Q0<T;Q0++){var s=P[r+Q0],e=S[r+Q0],J0=P[r+Q0+T],Z0=S[r+Q0+T],A0=U0*J0-O0*Z0;if(Z0=U0*Z0+O0*J0,J0=A0,P[r+Q0]=s+J0,S[r+Q0]=e+Z0,P[r+Q0+T]=s-J0,S[r+Q0+T]=e-Z0,Q0!==g)A0=N*U0-c*O0,O0=N*O0+c*U0,U0=A0}}}},a.prototype.guessLen13b=function(W,H){var P=Math.max(H,W)|1,S=P&1,A=0;for(P=P/2|0;P;P=P>>>1)A++;return 1<<A+1+S},a.prototype.conjugate=function(W,H,P){if(P<=1)return;for(var S=0;S<P/2;S++){var A=W[S];W[S]=W[P-S-1],W[P-S-1]=A,A=H[S],H[S]=-H[P-S-1],H[P-S-1]=-A}},a.prototype.normalize13b=function(W,H){var P=0;for(var S=0;S<H/2;S++){var A=Math.round(W[2*S+1]/H)*8192+Math.round(W[2*S]/H)+P;if(W[S]=A&67108863,A<67108864)P=0;else P=A/67108864|0}return W},a.prototype.convert13b=function(W,H,P,S){var A=0;for(var z=0;z<H;z++)A=A+(W[z]|0),P[2*z]=A&8191,A=A>>>13,P[2*z+1]=A&8191,A=A>>>13;for(z=2*H;z<S;++z)P[z]=0;X(A===0),X((A&-8192)===0)},a.prototype.stub=function(W){var H=Array(W);for(var P=0;P<W;P++)H[P]=0;return H},a.prototype.mulp=function(W,H,P){var S=2*this.guessLen13b(W.length,H.length),A=this.makeRBT(S),z=this.stub(S),T=Array(S),g=Array(S),N=Array(S),c=Array(S),r=Array(S),U0=Array(S),O0=P.words;O0.length=S,this.convert13b(W.words,W.length,T,S),this.convert13b(H.words,H.length,c,S),this.transform(T,z,g,N,S,A),this.transform(c,z,r,U0,S,A);for(var Q0=0;Q0<S;Q0++){var s=g[Q0]*r[Q0]-N[Q0]*U0[Q0];N[Q0]=g[Q0]*U0[Q0]+N[Q0]*r[Q0],g[Q0]=s}return this.conjugate(g,N,S),this.transform(g,N,O0,z,S,A),this.conjugate(O0,z,S),this.normalize13b(O0,S),P.negative=W.negative^H.negative,P.length=W.length+H.length,P._strip()},Z.prototype.mul=function(W){var H=new Z(null);return H.words=Array(this.length+W.length),this.mulTo(W,H)},Z.prototype.mulf=function(W){var H=new Z(null);return H.words=Array(this.length+W.length),d(this,W,H)},Z.prototype.imul=function(W){return this.clone().mulTo(W,this)},Z.prototype.imuln=function(W){var H=W<0;if(H)W=-W;X(typeof W==="number"),X(W<67108864);var P=0;for(var S=0;S<this.length;S++){var A=(this.words[S]|0)*W,z=(A&67108863)+(P&67108863);P>>=26,P+=A/67108864|0,P+=z>>>26,this.words[S]=z&67108863}if(P!==0)this.words[S]=P,this.length++;return this.length=W===0?1:this.length,H?this.ineg():this},Z.prototype.muln=function(W){return this.clone().imuln(W)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(W){var H=b(W);if(H.length===0)return new Z(1);var P=this;for(var S=0;S<H.length;S++,P=P.sqr())if(H[S]!==0)break;if(++S<H.length)for(var A=P.sqr();S<H.length;S++,A=A.sqr()){if(H[S]===0)continue;P=P.mul(A)}return P},Z.prototype.iushln=function(W){X(typeof W==="number"&&W>=0);var H=W%26,P=(W-H)/26,S=67108863>>>26-H<<26-H,A;if(H!==0){var z=0;for(A=0;A<this.length;A++){var T=this.words[A]&S,g=(this.words[A]|0)-T<<H;this.words[A]=g|z,z=T>>>26-H}if(z)this.words[A]=z,this.length++}if(P!==0){for(A=this.length-1;A>=0;A--)this.words[A+P]=this.words[A];for(A=0;A<P;A++)this.words[A]=0;this.length+=P}return this._strip()},Z.prototype.ishln=function(W){return X(this.negative===0),this.iushln(W)},Z.prototype.iushrn=function(W,H,P){X(typeof W==="number"&&W>=0);var S;if(H)S=(H-H%26)/26;else S=0;var A=W%26,z=Math.min((W-A)/26,this.length),T=67108863^67108863>>>A<<A,g=P;if(S-=z,S=Math.max(0,S),g){for(var N=0;N<z;N++)g.words[N]=this.words[N];g.length=z}if(z===0);else if(this.length>z){this.length-=z;for(N=0;N<this.length;N++)this.words[N]=this.words[N+z]}else this.words[0]=0,this.length=1;var c=0;for(N=this.length-1;N>=0&&(c!==0||N>=S);N--){var r=this.words[N]|0;this.words[N]=c<<26-A|r>>>A,c=r&T}if(g&&c!==0)g.words[g.length++]=c;if(this.length===0)this.words[0]=0,this.length=1;return this._strip()},Z.prototype.ishrn=function(W,H,P){return X(this.negative===0),this.iushrn(W,H,P)},Z.prototype.shln=function(W){return this.clone().ishln(W)},Z.prototype.ushln=function(W){return this.clone().iushln(W)},Z.prototype.shrn=function(W){return this.clone().ishrn(W)},Z.prototype.ushrn=function(W){return this.clone().iushrn(W)},Z.prototype.testn=function(W){X(typeof W==="number"&&W>=0);var H=W%26,P=(W-H)/26,S=1<<H;if(this.length<=P)return!1;var A=this.words[P];return!!(A&S)},Z.prototype.imaskn=function(W){X(typeof W==="number"&&W>=0);var H=W%26,P=(W-H)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=P)return this;if(H!==0)P++;if(this.length=Math.min(P,this.length),H!==0){var S=67108863^67108863>>>H<<H;this.words[this.length-1]&=S}return this._strip()},Z.prototype.maskn=function(W){return this.clone().imaskn(W)},Z.prototype.iaddn=function(W){if(X(typeof W==="number"),X(W<67108864),W<0)return this.isubn(-W);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<=W)return this.words[0]=W-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(W),this.negative=1,this}return this._iaddn(W)},Z.prototype._iaddn=function(W){this.words[0]+=W;for(var H=0;H<this.length&&this.words[H]>=67108864;H++)if(this.words[H]-=67108864,H===this.length-1)this.words[H+1]=1;else this.words[H+1]++;return this.length=Math.max(this.length,H+1),this},Z.prototype.isubn=function(W){if(X(typeof W==="number"),X(W<67108864),W<0)return this.iaddn(-W);if(this.negative!==0)return this.negative=0,this.iaddn(W),this.negative=1,this;if(this.words[0]-=W,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var H=0;H<this.length&&this.words[H]<0;H++)this.words[H]+=67108864,this.words[H+1]-=1;return this._strip()},Z.prototype.addn=function(W){return this.clone().iaddn(W)},Z.prototype.subn=function(W){return this.clone().isubn(W)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(W,H,P){var S=W.length+P,A;this._expand(S);var z,T=0;for(A=0;A<W.length;A++){z=(this.words[A+P]|0)+T;var g=(W.words[A]|0)*H;z-=g&67108863,T=(z>>26)-(g/67108864|0),this.words[A+P]=z&67108863}for(;A<this.length-P;A++)z=(this.words[A+P]|0)+T,T=z>>26,this.words[A+P]=z&67108863;if(T===0)return this._strip();X(T===-1),T=0;for(A=0;A<this.length;A++)z=-(this.words[A]|0)+T,T=z>>26,this.words[A]=z&67108863;return this.negative=1,this._strip()},Z.prototype._wordDiv=function(W,H){var P=this.length-W.length,S=this.clone(),A=W,z=A.words[A.length-1]|0,T=this._countBits(z);if(P=26-T,P!==0)A=A.ushln(P),S.iushln(P),z=A.words[A.length-1]|0;var g=S.length-A.length,N;if(H!=="mod"){N=new Z(null),N.length=g+1,N.words=Array(N.length);for(var c=0;c<N.length;c++)N.words[c]=0}var r=S.clone()._ishlnsubmul(A,1,g);if(r.negative===0){if(S=r,N)N.words[g]=1}for(var U0=g-1;U0>=0;U0--){var O0=(S.words[A.length+U0]|0)*67108864+(S.words[A.length+U0-1]|0);O0=Math.min(O0/z|0,67108863),S._ishlnsubmul(A,O0,U0);while(S.negative!==0)if(O0--,S.negative=0,S._ishlnsubmul(A,1,U0),!S.isZero())S.negative^=1;if(N)N.words[U0]=O0}if(N)N._strip();if(S._strip(),H!=="div"&&P!==0)S.iushrn(P);return{div:N||null,mod:S}},Z.prototype.divmod=function(W,H,P){if(X(!W.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var S,A,z;if(this.negative!==0&&W.negative===0){if(z=this.neg().divmod(W,H),H!=="mod")S=z.div.neg();if(H!=="div"){if(A=z.mod.neg(),P&&A.negative!==0)A.iadd(W)}return{div:S,mod:A}}if(this.negative===0&&W.negative!==0){if(z=this.divmod(W.neg(),H),H!=="mod")S=z.div.neg();return{div:S,mod:z.mod}}if((this.negative&W.negative)!==0){if(z=this.neg().divmod(W.neg(),H),H!=="div"){if(A=z.mod.neg(),P&&A.negative!==0)A.isub(W)}return{div:z.div,mod:A}}if(W.length>this.length||this.cmp(W)<0)return{div:new Z(0),mod:this};if(W.length===1){if(H==="div")return{div:this.divn(W.words[0]),mod:null};if(H==="mod")return{div:null,mod:new Z(this.modrn(W.words[0]))};return{div:this.divn(W.words[0]),mod:new Z(this.modrn(W.words[0]))}}return this._wordDiv(W,H)},Z.prototype.div=function(W){return this.divmod(W,"div",!1).div},Z.prototype.mod=function(W){return this.divmod(W,"mod",!1).mod},Z.prototype.umod=function(W){return this.divmod(W,"mod",!0).mod},Z.prototype.divRound=function(W){var H=this.divmod(W);if(H.mod.isZero())return H.div;var P=H.div.negative!==0?H.mod.isub(W):H.mod,S=W.ushrn(1),A=W.andln(1),z=P.cmp(S);if(z<0||A===1&&z===0)return H.div;return H.div.negative!==0?H.div.isubn(1):H.div.iaddn(1)},Z.prototype.modrn=function(W){var H=W<0;if(H)W=-W;X(W<=67108863);var P=67108864%W,S=0;for(var A=this.length-1;A>=0;A--)S=(P*S+(this.words[A]|0))%W;return H?-S:S},Z.prototype.modn=function(W){return this.modrn(W)},Z.prototype.idivn=function(W){var H=W<0;if(H)W=-W;X(W<=67108863);var P=0;for(var S=this.length-1;S>=0;S--){var A=(this.words[S]|0)+P*67108864;this.words[S]=A/W|0,P=A%W}return this._strip(),H?this.ineg():this},Z.prototype.divn=function(W){return this.clone().idivn(W)},Z.prototype.egcd=function(W){X(W.negative===0),X(!W.isZero());var H=this,P=W.clone();if(H.negative!==0)H=H.umod(W);else H=H.clone();var S=new Z(1),A=new Z(0),z=new Z(0),T=new Z(1),g=0;while(H.isEven()&&P.isEven())H.iushrn(1),P.iushrn(1),++g;var N=P.clone(),c=H.clone();while(!H.isZero()){for(var r=0,U0=1;(H.words[0]&U0)===0&&r<26;++r,U0<<=1);if(r>0){H.iushrn(r);while(r-- >0){if(S.isOdd()||A.isOdd())S.iadd(N),A.isub(c);S.iushrn(1),A.iushrn(1)}}for(var O0=0,Q0=1;(P.words[0]&Q0)===0&&O0<26;++O0,Q0<<=1);if(O0>0){P.iushrn(O0);while(O0-- >0){if(z.isOdd()||T.isOdd())z.iadd(N),T.isub(c);z.iushrn(1),T.iushrn(1)}}if(H.cmp(P)>=0)H.isub(P),S.isub(z),A.isub(T);else P.isub(H),z.isub(S),T.isub(A)}return{a:z,b:T,gcd:P.iushln(g)}},Z.prototype._invmp=function(W){X(W.negative===0),X(!W.isZero());var H=this,P=W.clone();if(H.negative!==0)H=H.umod(W);else H=H.clone();var S=new Z(1),A=new Z(0),z=P.clone();while(H.cmpn(1)>0&&P.cmpn(1)>0){for(var T=0,g=1;(H.words[0]&g)===0&&T<26;++T,g<<=1);if(T>0){H.iushrn(T);while(T-- >0){if(S.isOdd())S.iadd(z);S.iushrn(1)}}for(var N=0,c=1;(P.words[0]&c)===0&&N<26;++N,c<<=1);if(N>0){P.iushrn(N);while(N-- >0){if(A.isOdd())A.iadd(z);A.iushrn(1)}}if(H.cmp(P)>=0)H.isub(P),S.isub(A);else P.isub(H),A.isub(S)}var r;if(H.cmpn(1)===0)r=S;else r=A;if(r.cmpn(0)<0)r.iadd(W);return r},Z.prototype.gcd=function(W){if(this.isZero())return W.abs();if(W.isZero())return this.abs();var H=this.clone(),P=W.clone();H.negative=0,P.negative=0;for(var S=0;H.isEven()&&P.isEven();S++)H.iushrn(1),P.iushrn(1);do{while(H.isEven())H.iushrn(1);while(P.isEven())P.iushrn(1);var A=H.cmp(P);if(A<0){var z=H;H=P,P=z}else if(A===0||P.cmpn(1)===0)break;H.isub(P)}while(!0);return P.iushln(S)},Z.prototype.invm=function(W){return this.egcd(W).a.umod(W)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(W){return this.words[0]&W},Z.prototype.bincn=function(W){X(typeof W==="number");var H=W%26,P=(W-H)/26,S=1<<H;if(this.length<=P)return this._expand(P+1),this.words[P]|=S,this;var A=S;for(var z=P;A!==0&&z<this.length;z++){var T=this.words[z]|0;T+=A,A=T>>>26,T&=67108863,this.words[z]=T}if(A!==0)this.words[z]=A,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(W){var H=W<0;if(this.negative!==0&&!H)return-1;if(this.negative===0&&H)return 1;this._strip();var P;if(this.length>1)P=1;else{if(H)W=-W;X(W<=67108863,"Number is too big");var S=this.words[0]|0;P=S===W?0:S<W?-1:1}if(this.negative!==0)return-P|0;return P},Z.prototype.cmp=function(W){if(this.negative!==0&&W.negative===0)return-1;if(this.negative===0&&W.negative!==0)return 1;var H=this.ucmp(W);if(this.negative!==0)return-H|0;return H},Z.prototype.ucmp=function(W){if(this.length>W.length)return 1;if(this.length<W.length)return-1;var H=0;for(var P=this.length-1;P>=0;P--){var S=this.words[P]|0,A=W.words[P]|0;if(S===A)continue;if(S<A)H=-1;else if(S>A)H=1;break}return H},Z.prototype.gtn=function(W){return this.cmpn(W)===1},Z.prototype.gt=function(W){return this.cmp(W)===1},Z.prototype.gten=function(W){return this.cmpn(W)>=0},Z.prototype.gte=function(W){return this.cmp(W)>=0},Z.prototype.ltn=function(W){return this.cmpn(W)===-1},Z.prototype.lt=function(W){return this.cmp(W)===-1},Z.prototype.lten=function(W){return this.cmpn(W)<=0},Z.prototype.lte=function(W){return this.cmp(W)<=0},Z.prototype.eqn=function(W){return this.cmpn(W)===0},Z.prototype.eq=function(W){return this.cmp(W)===0},Z.red=function(W){return new V(W)},Z.prototype.toRed=function(W){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),W.convertTo(this)._forceRed(W)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(W){return this.red=W,this},Z.prototype.forceRed=function(W){return X(!this.red,"Already a number in reduction context"),this._forceRed(W)},Z.prototype.redAdd=function(W){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,W)},Z.prototype.redIAdd=function(W){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,W)},Z.prototype.redSub=function(W){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,W)},Z.prototype.redISub=function(W){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,W)},Z.prototype.redShl=function(W){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,W)},Z.prototype.redMul=function(W){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,W),this.red.mul(this,W)},Z.prototype.redIMul=function(W){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,W),this.red.imul(this,W)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(W){return X(this.red&&!W.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,W)};var H0={k256:null,p224:null,p192:null,p25519:null};function M0(W,H){this.name=W,this.p=new Z(H,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}M0.prototype._tmp=function(){var W=new Z(null);return W.words=Array(Math.ceil(this.n/13)),W},M0.prototype.ireduce=function(W){var H=W,P;do this.split(H,this.tmp),H=this.imulK(H),H=H.iadd(this.tmp),P=H.bitLength();while(P>this.n);var S=P<this.n?-1:H.ucmp(this.p);if(S===0)H.words[0]=0,H.length=1;else if(S>0)H.isub(this.p);else if(H.strip!==void 0)H.strip();else H._strip();return H},M0.prototype.split=function(W,H){W.iushrn(this.n,0,H)},M0.prototype.imulK=function(W){return W.imul(this.k)};function q0(){M0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(q0,M0),q0.prototype.split=function(W,H){var P=4194303,S=Math.min(W.length,9);for(var A=0;A<S;A++)H.words[A]=W.words[A];if(H.length=S,W.length<=9){W.words[0]=0,W.length=1;return}var z=W.words[9];H.words[H.length++]=z&P;for(A=10;A<W.length;A++){var T=W.words[A]|0;W.words[A-10]=(T&P)<<4|z>>>22,z=T}if(z>>>=22,W.words[A-10]=z,z===0&&W.length>10)W.length-=10;else W.length-=9},q0.prototype.imulK=function(W){W.words[W.length]=0,W.words[W.length+1]=0,W.length+=2;var H=0;for(var P=0;P<W.length;P++){var S=W.words[P]|0;H+=S*977,W.words[P]=H&67108863,H=S*64+(H/67108864|0)}if(W.words[W.length-1]===0){if(W.length--,W.words[W.length-1]===0)W.length--}return W};function t(){M0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(t,M0);function T0(){M0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(T0,M0);function G(){M0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(G,M0),G.prototype.imulK=function(W){var H=0;for(var P=0;P<W.length;P++){var S=(W.words[P]|0)*19+H,A=S&67108863;S>>>=26,W.words[P]=A,H=S}if(H!==0)W.words[W.length++]=H;return W},Z._prime=function(W){if(H0[W])return H0[W];var H;if(W==="k256")H=new q0;else if(W==="p224")H=new t;else if(W==="p192")H=new T0;else if(W==="p25519")H=new G;else throw Error("Unknown prime "+W);return H0[W]=H,H};function V(W){if(typeof W==="string"){var H=Z._prime(W);this.m=H.p,this.prime=H}else X(W.gtn(1),"modulus must be greater than 1"),this.m=W,this.prime=null}V.prototype._verify1=function(W){X(W.negative===0,"red works only with positives"),X(W.red,"red works only with red numbers")},V.prototype._verify2=function(W,H){X((W.negative|H.negative)===0,"red works only with positives"),X(W.red&&W.red===H.red,"red works only with red numbers")},V.prototype.imod=function(W){if(this.prime)return this.prime.ireduce(W)._forceRed(this);return C(W,W.umod(this.m)._forceRed(this)),W},V.prototype.neg=function(W){if(W.isZero())return W.clone();return this.m.sub(W)._forceRed(this)},V.prototype.add=function(W,H){this._verify2(W,H);var P=W.add(H);if(P.cmp(this.m)>=0)P.isub(this.m);return P._forceRed(this)},V.prototype.iadd=function(W,H){this._verify2(W,H);var P=W.iadd(H);if(P.cmp(this.m)>=0)P.isub(this.m);return P},V.prototype.sub=function(W,H){this._verify2(W,H);var P=W.sub(H);if(P.cmpn(0)<0)P.iadd(this.m);return P._forceRed(this)},V.prototype.isub=function(W,H){this._verify2(W,H);var P=W.isub(H);if(P.cmpn(0)<0)P.iadd(this.m);return P},V.prototype.shl=function(W,H){return this._verify1(W),this.imod(W.ushln(H))},V.prototype.imul=function(W,H){return this._verify2(W,H),this.imod(W.imul(H))},V.prototype.mul=function(W,H){return this._verify2(W,H),this.imod(W.mul(H))},V.prototype.isqr=function(W){return this.imul(W,W.clone())},V.prototype.sqr=function(W){return this.mul(W,W)},V.prototype.sqrt=function(W){if(W.isZero())return W.clone();var H=this.m.andln(3);if(X(H%2===1),H===3){var P=this.m.add(new Z(1)).iushrn(2);return this.pow(W,P)}var S=this.m.subn(1),A=0;while(!S.isZero()&&S.andln(1)===0)A++,S.iushrn(1);X(!S.isZero());var z=new Z(1).toRed(this),T=z.redNeg(),g=this.m.subn(1).iushrn(1),N=this.m.bitLength();N=new Z(2*N*N).toRed(this);while(this.pow(N,g).cmp(T)!==0)N.redIAdd(T);var c=this.pow(N,S),r=this.pow(W,S.addn(1).iushrn(1)),U0=this.pow(W,S),O0=A;while(U0.cmp(z)!==0){var Q0=U0;for(var s=0;Q0.cmp(z)!==0;s++)Q0=Q0.redSqr();X(s<O0);var e=this.pow(c,new Z(1).iushln(O0-s-1));r=r.redMul(e),c=e.redSqr(),U0=U0.redMul(c),O0=s}return r},V.prototype.invm=function(W){var H=W._invmp(this.m);if(H.negative!==0)return H.negative=0,this.imod(H).redNeg();else return this.imod(H)},V.prototype.pow=function(W,H){if(H.isZero())return new Z(1).toRed(this);if(H.cmpn(1)===0)return W.clone();var P=4,S=Array(1<<P);S[0]=new Z(1).toRed(this),S[1]=W;for(var A=2;A<S.length;A++)S[A]=this.mul(S[A-1],W);var z=S[0],T=0,g=0,N=H.bitLength()%26;if(N===0)N=26;for(A=H.length-1;A>=0;A--){var c=H.words[A];for(var r=N-1;r>=0;r--){var U0=c>>r&1;if(z!==S[0])z=this.sqr(z);if(U0===0&&T===0){g=0;continue}if(T<<=1,T|=U0,g++,g!==P&&(A!==0||r!==0))continue;z=this.mul(z,S[T]),g=0,T=0}N=26}return z},V.prototype.convertTo=function(W){var H=W.umod(this.m);return H===W?H.clone():H},V.prototype.convertFrom=function(W){var H=W.clone();return H.red=null,H},Z.mont=function(W){return new F(W)};function F(W){if(V.call(this,W),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(F,V),F.prototype.convertTo=function(W){return this.imod(W.ushln(this.shift))},F.prototype.convertFrom=function(W){var H=this.imod(W.mul(this.rinv));return H.red=null,H},F.prototype.imul=function(W,H){if(W.isZero()||H.isZero())return W.words[0]=0,W.length=1,W;var P=W.imul(H),S=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=P.isub(S).iushrn(this.shift),z=A;if(A.cmp(this.m)>=0)z=A.isub(this.m);else if(A.cmpn(0)<0)z=A.iadd(this.m);return z._forceRed(this)},F.prototype.mul=function(W,H){if(W.isZero()||H.isZero())return new Z(0)._forceRed(this);var P=W.mul(H),S=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=P.isub(S).iushrn(this.shift),z=A;if(A.cmp(this.m)>=0)z=A.isub(this.m);else if(A.cmpn(0)<0)z=A.iadd(this.m);return z._forceRed(this)},F.prototype.invm=function(W){var H=this.imod(W._invmp(this.m).mul(this.r2));return H._forceRed(this)}})(typeof J>"u"||J,I)}),JS=b0((I,J)=>{var Y=kf(),K=LO(),X=f6().Buffer;function O(j){var q=j.modulus.byteLength(),E;do E=new Y(K(q));while(E.cmp(j.modulus)>=0||!E.umod(j.prime1)||!E.umod(j.prime2));return E}function Z(j){var q=O(j),E=q.toRed(Y.mont(j.modulus)).redPow(new Y(j.publicExponent)).fromRed();return{blinder:E,unblinder:q.invm(j.modulus)}}function M(j,q){var E=Z(q),C=q.modulus.byteLength(),_=new Y(j).mul(E.blinder).umod(q.modulus),B=_.toRed(Y.mont(q.prime1)),v=_.toRed(Y.mont(q.prime2)),y=q.coefficient,w=q.prime1,b=q.prime2,x=B.redPow(q.exponent1).fromRed(),u=v.redPow(q.exponent2).fromRed(),p=x.isub(u).imul(y).umod(w).imul(b);return u.iadd(p).imul(E.unblinder).umod(q.modulus).toArrayLike(X,"be",C)}M.getr=O,J.exports=M}),xf=b0((I,J)=>{var Y=$S(),K=LO(),X=AO(),O=US(),Z=IS(),M=MD(),j=XS(),q=JS(),E=f6().Buffer;J.exports=function(v,y,w){var b;if(v.padding)b=v.padding;else if(w)b=1;else b=4;var x=Y(v),u;if(b===4)u=C(x,y);else if(b===1)u=_(x,y,w);else if(b===3){if(u=new M(y),u.cmp(x.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");if(w)return q(u,x);else return j(u,x)};function C(v,y){var w=v.modulus.byteLength(),b=y.length,x=X("sha1").update(E.alloc(0)).digest(),u=x.length,p=2*u;if(b>w-p-2)throw Error("message too long");var d=E.alloc(w-b-p-2),a=w-u-1,H0=K(u),M0=Z(E.concat([x,d,E.alloc(1,1),y],a),O(H0,a)),q0=Z(H0,O(M0,u));return new M(E.concat([E.alloc(1),q0,M0],w))}function _(v,y,w){var b=y.length,x=v.modulus.byteLength();if(b>x-11)throw Error("message too long");var u;if(w)u=E.alloc(x-b-3,255);else u=B(x-b-3);return new M(E.concat([E.from([0,w?1:2]),u,E.alloc(1),y],x))}function B(v){var y=E.allocUnsafe(v),w=0,b=K(v*2),x=0,u;while(w<v){if(x===b.length)b=K(v*2),x=0;if(u=b[x++],u)y[w++]=u}return y}}),gf=b0((I,J)=>{var Y=$S(),K=US(),X=IS(),O=MD(),Z=JS(),M=AO(),j=XS(),q=f6().Buffer;J.exports=function(B,v,y){var w;if(B.padding)w=B.padding;else if(y)w=1;else w=4;var b=Y(B),x=b.modulus.byteLength();if(v.length>x||new O(v).cmp(b.modulus)>=0)throw Error("decryption error");var u;if(y)u=j(new O(v),b);else u=Z(v,b);var p=q.alloc(x-u.length);if(u=q.concat([p,u],x),w===4)return E(b,u);else if(w===1)return C(b,u,y);else if(w===3)return u;else throw Error("unknown padding")};function E(B,v){var y=B.modulus.byteLength(),w=M("sha1").update(q.alloc(0)).digest(),b=w.length;if(v[0]!==0)throw Error("decryption error");var x=v.slice(1,b+1),u=v.slice(b+1),p=X(x,K(u,b)),d=X(u,K(p,y-b-1));if(_(w,d.slice(0,b)))throw Error("decryption error");var a=b;while(d[a]===0)a++;if(d[a++]!==1)throw Error("decryption error");return d.slice(a)}function C(B,v,y){var w=v.slice(0,2),b=2,x=0;while(v[b++]!==0)if(b>=v.length){x++;break}var u=v.slice(2,b-1);if(w.toString("hex")!=="0002"&&!y||w.toString("hex")!=="0001"&&y)x++;if(u.length<8)x++;if(x)throw Error("decryption error");return v.slice(b)}function _(B,v){B=q.from(B),v=q.from(v);var y=0,w=B.length;if(B.length!==v.length)y++,w=Math.min(B.length,v.length);var b=-1;while(++b<w)y+=B[b]^v[b];return y}}),ZD=b0((I)=>{I.publicEncrypt=xf(),I.privateDecrypt=gf(),I.privateEncrypt=function(J,Y){return I.publicEncrypt(J,Y,!0)},I.publicDecrypt=function(J,Y){return I.privateDecrypt(J,Y,!0)}}),wf=b0((I)=>{var J=(uU(),j$(M4));if(typeof J.publicEncrypt!=="function")J=ZD();if(I.publicEncrypt=J.publicEncrypt,I.privateDecrypt=J.privateDecrypt,typeof J.privateEncrypt!=="function")I.privateEncrypt=ZD().privateEncrypt;else I.privateEncrypt=J.privateEncrypt;if(typeof J.publicDecrypt!=="function")I.publicDecrypt=ZD().publicDecrypt;else I.publicDecrypt=J.publicDecrypt}),ff=b0((I)=>{var J=f6(),Y=LO(),K=J.Buffer,X=J.kMaxLength,O=globalThis.crypto||globalThis.msCrypto,Z=Math.pow(2,32)-1;function M(_,B){if(typeof _!=="number"||_!==_)throw TypeError("offset must be a number");if(_>Z||_<0)throw TypeError("offset must be a uint32");if(_>X||_>B)throw RangeError("offset out of range")}function j(_,B,v){if(typeof _!=="number"||_!==_)throw TypeError("size must be a number");if(_>Z||_<0)throw TypeError("size must be a uint32");if(_+B>v||_>X)throw RangeError("buffer too small")}O&&O.getRandomValues,I.randomFill=q,I.randomFillSync=C;function q(_,B,v,y){if(!K.isBuffer(_)&&!(_ instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof B==="function")y=B,B=0,v=_.length;else if(typeof v==="function")y=v,v=_.length-B;else if(typeof y!=="function")throw TypeError('"cb" argument must be a function');return M(B,_.length),j(v,B,_.length),E(_,B,v,y)}function E(_,B,v,y){if(!1)var w,b;if(y){Y(v,function(u,p){if(u)return y(u);p.copy(_,B),y(null,_)});return}var x=Y(v);return x.copy(_,B),_}function C(_,B,v){if(typeof B>"u")B=0;if(!K.isBuffer(_)&&!(_ instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(M(B,_.length),v===void 0)v=_.length-B;return j(v,B,_.length),E(_,B,v)}}),yf=b0((I,J)=>{var Y=(uU(),j$(M4));if(typeof Y.randomFill==="function"&&typeof Y.randomFillSync==="function")I.randomFill=Y.randomFill,I.randomFillSync=Y.randomFillSync;else J.exports=ff()}),uf=b0((I)=>{I.randomBytes=I.rng=I.pseudoRandomBytes=I.prng=LO(),I.createHash=I.Hash=AO(),I.createHmac=I.Hmac=kE();var J=Zw(),Y=Object.keys(J),K=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Y);I.getHashes=function(){return K};var X=mE();I.pbkdf2=X.pbkdf2,I.pbkdf2Sync=X.pbkdf2Sync;var O=lw();I.Cipher=O.Cipher,I.createCipher=O.createCipher,I.Cipheriv=O.Cipheriv,I.createCipheriv=O.createCipheriv,I.Decipher=O.Decipher,I.createDecipher=O.createDecipher,I.Decipheriv=O.Decipheriv,I.createDecipheriv=O.createDecipheriv,I.getCiphers=O.getCiphers,I.listCiphers=O.listCiphers;var Z=dw();I.DiffieHellmanGroup=Z.DiffieHellmanGroup,I.createDiffieHellmanGroup=Z.createDiffieHellmanGroup,I.getDiffieHellman=Z.getDiffieHellman,I.createDiffieHellman=Z.createDiffieHellman,I.DiffieHellman=Z.DiffieHellman;var M=nw();I.createSign=M.createSign,I.Sign=M.Sign,I.createVerify=M.createVerify,I.Verify=M.Verify,I.createECDH=Hf();var j=wf();I.publicEncrypt=j.publicEncrypt,I.privateEncrypt=j.privateEncrypt,I.publicDecrypt=j.publicDecrypt,I.privateDecrypt=j.privateDecrypt;var q=yf();I.randomFill=q.randomFill,I.randomFillSync=q.randomFillSync,I.createCredentials=function(){throw Error(`sorry, createCredentials is not implemented yet
|
|
244
|
+
we accept pull requests
|
|
245
|
+
https://github.com/browserify/crypto-browserify`)},I.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}),c$=Gw(uf(),1),bf=c$.prng,cf=c$.pseudoRandomBytes,hf=c$.rng,pf=c$.randomBytes,mf=c$.Hash,F4=c$.createHash,lf=c$.Hmac,df=c$.createHmac,nf=c$.getHashes,of=c$.pbkdf2,rf=c$.pbkdf2Sync,tf=c$.Cipher,af=c$.createCipher,sf=c$.Cipheriv,ef=c$.createCipheriv,$y=c$.Decipher,Uy=c$.createDecipher,Iy=c$.Decipheriv,Xy=c$.createDecipheriv,Jy=c$.getCiphers,Qy=c$.listCiphers,Yy=c$.DiffieHellmanGroup,Gy=c$.createDiffieHellmanGroup,Zy=c$.getDiffieHellman,zy=c$.createDiffieHellman,Oy=c$.DiffieHellman,Ky=c$.createSign,Wy=c$.Sign,Vy=c$.createVerify,Dy=c$.Verify,Hy=c$.createECDH,Fy=c$.publicEncrypt,My=c$.privateEncrypt,Ly=c$.publicDecrypt,Ay=c$.privateDecrypt,Cy=c$.randomFill,Ty=c$.randomFillSync,Py=c$.createCredentials,Ry=c$.constants,Ey=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"];jy=crypto,By=crypto});var DN={};g6(DN,{resolveObject:()=>VN,resolve:()=>WN,parse:()=>VY,format:()=>KN,default:()=>Kp,Url:()=>T4,URLSearchParams:()=>zN,URL:()=>m7});function l7(I){return typeof I==="string"}function ON(I){return typeof I==="object"&&I!==null}function G8(I){return I===null}function Ip(I){return I==null}function T4(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function VY(I,J,Y){if(I&&ON(I)&&I instanceof T4)return I;var K=new T4;return K.parse(I,J,Y),K}function KN(I){if(l7(I))I=VY(I);if(!(I instanceof T4))return T4.prototype.format.call(I);return I.format()}function WN(I,J){return VY(I,!1,!0).resolve(J)}function VN(I,J){if(!I)return J;return VY(I,!1,!0).resolveObject(J)}var m7,zN,Xp,Jp,Qp,Yp,Gp,c7,YN,GN,Zp=255,ZN,zp,Op,h7,WY,p7,Kp;var HN=CQ(()=>{({URL:m7,URLSearchParams:zN}=globalThis);Xp=/^([a-z0-9.+-]+:)/i,Jp=/:[0-9]*$/,Qp=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Yp=["<",">",'"',"`"," ","\r",`
|
|
246
|
+
`,"\t"],Gp=["{","}","|","\\","^","`"].concat(Yp),c7=["'"].concat(Gp),YN=["%","/","?",";","#"].concat(c7),GN=["/","?","#"],ZN=/^[+a-z0-9A-Z_-]{0,63}$/,zp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Op={javascript:!0,"javascript:":!0},h7={javascript:!0,"javascript:":!0},WY={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},p7={parse(I){var J=decodeURIComponent;return(I+"").replace(/\+/g," ").split("&").filter(Boolean).reduce(function(Y,K,X){var O=K.split("="),Z=J(O[0]||""),M=J(O[1]||""),j=Y[Z];return Y[Z]=j===void 0?M:[].concat(j,M),Y},{})},stringify(I){var J=encodeURIComponent;return Object.keys(I||{}).reduce(function(Y,K){return[].concat(I[K]).forEach(function(X){Y.push(J(K)+"="+J(X))}),Y},[]).join("&").replace(/\s/g,"+")}};T4.prototype.parse=function(I,J,Y){if(!l7(I))throw TypeError("Parameter 'url' must be a string, not "+typeof I);var K=I.indexOf("?"),X=K!==-1&&K<I.indexOf("#")?"?":"#",O=I.split(X),Z=/\\/g;O[0]=O[0].replace(Z,"/"),I=O.join(X);var M=I;if(M=M.trim(),!Y&&I.split("#").length===1){var j=Qp.exec(M);if(j){if(this.path=M,this.href=M,this.pathname=j[1],j[2])if(this.search=j[2],J)this.query=p7.parse(this.search.substr(1));else this.query=this.search.substr(1);else if(J)this.search="",this.query={};return this}}var q=Xp.exec(M);if(q){q=q[0];var E=q.toLowerCase();this.protocol=E,M=M.substr(q.length)}if(Y||q||M.match(/^\/\/[^@\/]+@[^@\/]+/)){var C=M.substr(0,2)==="//";if(C&&!(q&&h7[q]))M=M.substr(2),this.slashes=!0}if(!h7[q]&&(C||q&&!WY[q])){var _=-1;for(var B=0;B<GN.length;B++){var v=M.indexOf(GN[B]);if(v!==-1&&(_===-1||v<_))_=v}var y,w;if(_===-1)w=M.lastIndexOf("@");else w=M.lastIndexOf("@",_);if(w!==-1)y=M.slice(0,w),M=M.slice(w+1),this.auth=decodeURIComponent(y);_=-1;for(var B=0;B<YN.length;B++){var v=M.indexOf(YN[B]);if(v!==-1&&(_===-1||v<_))_=v}if(_===-1)_=M.length;this.host=M.slice(0,_),M=M.slice(_),this.parseHost(),this.hostname=this.hostname||"";var b=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!b){var x=this.hostname.split(/\./);for(var B=0,u=x.length;B<u;B++){var p=x[B];if(!p)continue;if(!p.match(ZN)){var d="";for(var a=0,H0=p.length;a<H0;a++)if(p.charCodeAt(a)>127)d+="x";else d+=p[a];if(!d.match(ZN)){var M0=x.slice(0,B),q0=x.slice(B+1),t=p.match(zp);if(t)M0.push(t[1]),q0.unshift(t[2]);if(q0.length)M="/"+q0.join(".")+M;this.hostname=M0.join(".");break}}}}if(this.hostname.length>Zp)this.hostname="";else this.hostname=this.hostname.toLowerCase();if(!b)this.hostname=new m7(`https://${this.hostname}`).hostname;var T0=this.port?":"+this.port:"",G=this.hostname||"";if(this.host=G+T0,this.href+=this.host,b){if(this.hostname=this.hostname.substr(1,this.hostname.length-2),M[0]!=="/")M="/"+M}}if(!Op[E])for(var B=0,u=c7.length;B<u;B++){var V=c7[B];if(M.indexOf(V)===-1)continue;var F=encodeURIComponent(V);if(F===V)F=escape(V);M=M.split(V).join(F)}var W=M.indexOf("#");if(W!==-1)this.hash=M.substr(W),M=M.slice(0,W);var H=M.indexOf("?");if(H!==-1){if(this.search=M.substr(H),this.query=M.substr(H+1),J)this.query=p7.parse(this.query);M=M.slice(0,H)}else if(J)this.search="",this.query={};if(M)this.pathname=M;if(WY[E]&&this.hostname&&!this.pathname)this.pathname="/";if(this.pathname||this.search){var T0=this.pathname||"",P=this.search||"";this.path=T0+P}return this.href=this.format(),this};T4.prototype.format=function(){var I=this.auth||"";if(I)I=encodeURIComponent(I),I=I.replace(/%3A/i,":"),I+="@";var J=this.protocol||"",Y=this.pathname||"",K=this.hash||"",X=!1,O="";if(this.host)X=I+this.host;else if(this.hostname){if(X=I+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port)X+=":"+this.port}if(this.query&&ON(this.query)&&Object.keys(this.query).length)O=p7.stringify(this.query);var Z=this.search||O&&"?"+O||"";if(J&&J.substr(-1)!==":")J+=":";if(this.slashes||(!J||WY[J])&&X!==!1){if(X="//"+(X||""),Y&&Y.charAt(0)!=="/")Y="/"+Y}else if(!X)X="";if(K&&K.charAt(0)!=="#")K="#"+K;if(Z&&Z.charAt(0)!=="?")Z="?"+Z;return Y=Y.replace(/[?#]/g,function(M){return encodeURIComponent(M)}),Z=Z.replace("#","%23"),J+X+Y+Z+K};T4.prototype.resolve=function(I){return this.resolveObject(VY(I,!1,!0)).format()};T4.prototype.resolveObject=function(I){if(l7(I)){var J=new T4;J.parse(I,!1,!0),I=J}var Y=new T4,K=Object.keys(this);for(var X=0;X<K.length;X++){var O=K[X];Y[O]=this[O]}if(Y.hash=I.hash,I.href==="")return Y.href=Y.format(),Y;if(I.slashes&&!I.protocol){var Z=Object.keys(I);for(var M=0;M<Z.length;M++){var j=Z[M];if(j!=="protocol")Y[j]=I[j]}if(WY[Y.protocol]&&Y.hostname&&!Y.pathname)Y.path=Y.pathname="/";return Y.href=Y.format(),Y}if(I.protocol&&I.protocol!==Y.protocol){if(!WY[I.protocol]){var q=Object.keys(I);for(var E=0;E<q.length;E++){var C=q[E];Y[C]=I[C]}return Y.href=Y.format(),Y}if(Y.protocol=I.protocol,!I.host&&!h7[I.protocol]){var u=(I.pathname||"").split("/");while(u.length&&!(I.host=u.shift()));if(!I.host)I.host="";if(!I.hostname)I.hostname="";if(u[0]!=="")u.unshift("");if(u.length<2)u.unshift("");Y.pathname=u.join("/")}else Y.pathname=I.pathname;if(Y.search=I.search,Y.query=I.query,Y.host=I.host||"",Y.auth=I.auth,Y.hostname=I.hostname||I.host,Y.port=I.port,Y.pathname||Y.search){var _=Y.pathname||"",B=Y.search||"";Y.path=_+B}return Y.slashes=Y.slashes||I.slashes,Y.href=Y.format(),Y}var v=Y.pathname&&Y.pathname.charAt(0)==="/",y=I.host||I.pathname&&I.pathname.charAt(0)==="/",w=y||v||Y.host&&I.pathname,b=w,x=Y.pathname&&Y.pathname.split("/")||[],u=I.pathname&&I.pathname.split("/")||[],p=Y.protocol&&!WY[Y.protocol];if(p){if(Y.hostname="",Y.port=null,Y.host)if(x[0]==="")x[0]=Y.host;else x.unshift(Y.host);if(Y.host="",I.protocol){if(I.hostname=null,I.port=null,I.host)if(u[0]==="")u[0]=I.host;else u.unshift(I.host);I.host=null}w=w&&(u[0]===""||x[0]==="")}if(y)Y.host=I.host||I.host===""?I.host:Y.host,Y.hostname=I.hostname||I.hostname===""?I.hostname:Y.hostname,Y.search=I.search,Y.query=I.query,x=u;else if(u.length){if(!x)x=[];x.pop(),x=x.concat(u),Y.search=I.search,Y.query=I.query}else if(!Ip(I.search)){if(p){Y.hostname=Y.host=x.shift();var d=Y.host&&Y.host.indexOf("@")>0?Y.host.split("@"):!1;if(d)Y.auth=d.shift(),Y.host=Y.hostname=d.shift()}if(Y.search=I.search,Y.query=I.query,!G8(Y.pathname)||!G8(Y.search))Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"");return Y.href=Y.format(),Y}if(!x.length){if(Y.pathname=null,Y.search)Y.path="/"+Y.search;else Y.path=null;return Y.href=Y.format(),Y}var a=x.slice(-1)[0],H0=(Y.host||I.host||x.length>1)&&(a==="."||a==="..")||a==="",M0=0;for(var q0=x.length;q0>=0;q0--)if(a=x[q0],a===".")x.splice(q0,1);else if(a==="..")x.splice(q0,1),M0++;else if(M0)x.splice(q0,1),M0--;if(!w&&!b)for(;M0--;M0)x.unshift("..");if(w&&x[0]!==""&&(!x[0]||x[0].charAt(0)!=="/"))x.unshift("");if(H0&&x.join("/").substr(-1)!=="/")x.push("");var t=x[0]===""||x[0]&&x[0].charAt(0)==="/";if(p){Y.hostname=Y.host=t?"":x.length?x.shift():"";var d=Y.host&&Y.host.indexOf("@")>0?Y.host.split("@"):!1;if(d)Y.auth=d.shift(),Y.host=Y.hostname=d.shift()}if(w=w||Y.host&&x.length,w&&!t)x.unshift("");if(!x.length)Y.pathname=null,Y.path=null;else Y.pathname=x.join("/");if(!G8(Y.pathname)||!G8(Y.search))Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"");return Y.auth=I.auth||Y.auth,Y.slashes=Y.slashes||I.slashes,Y.href=Y.format(),Y};T4.prototype.parseHost=function(){var I=this.host,J=Jp.exec(I);if(J){if(J=J[0],J!==":")this.port=J.substr(1);I=I.substr(0,I.length-J.length)}if(I)this.hostname=I};Kp={parse:VY,resolve:WN,resolveObject:VN,format:KN,Url:T4,URL:m7,URLSearchParams:zN}});var jN={};g6(jN,{request:()=>Bp,globalAgent:()=>gp,get:()=>Np,default:()=>SN,STATUS_CODES:()=>wp,METHODS:()=>fp,IncomingMessage:()=>kp,ClientRequest:()=>vp,Agent:()=>xp});var Wp,Vp,FN,Dp,Hp,Fp=(I,J,Y)=>{Y=I!=null?Wp(Vp(I)):{};let K=J||!I||!I.__esModule?FN(Y,"default",{value:I,enumerable:!0}):Y;for(let X of Dp(I))if(!Hp.call(K,X))FN(K,X,{get:()=>I[X],enumerable:!0});return K},NU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),LN,Mp,LJ,Lp,AN,AJ,CN,Ap,TN,DY,Cp,MN,d7,Tp,Pp,PN,RN,Rp,_p,_N,qN,qp,Ep,Sp,jp,EN,Bp,Np,vp,kp,xp,gp,wp,fp,SN;var n7=CQ(()=>{Wp=Object.create,{getPrototypeOf:Vp,defineProperty:FN,getOwnPropertyNames:Dp}=Object,Hp=Object.prototype.hasOwnProperty,LN=NU((I)=>{I.fetch=X(globalThis.fetch)&&X(globalThis.ReadableStream),I.writableStream=X(globalThis.WritableStream),I.abortController=X(globalThis.AbortController);var J;function Y(){if(J!==void 0)return J;if(globalThis.XMLHttpRequest){J=new globalThis.XMLHttpRequest;try{J.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch(O){J=null}}else J=null;return J}function K(O){var Z=Y();if(!Z)return!1;try{return Z.responseType=O,Z.responseType===O}catch(M){}return!1}I.arraybuffer=I.fetch||K("arraybuffer"),I.msstream=!I.fetch&&K("ms-stream"),I.mozchunkedarraybuffer=!I.fetch&&K("moz-chunked-arraybuffer"),I.overrideMimeType=I.fetch||(Y()?X(Y().overrideMimeType):!1);function X(O){return typeof O==="function"}J=null}),Mp=NU((I,J)=>{if(typeof Object.create==="function")J.exports=function(Y,K){if(K)Y.super_=K,Y.prototype=Object.create(K.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,K){if(K){Y.super_=K;var X=function(){};X.prototype=K.prototype,Y.prototype=new X,Y.prototype.constructor=Y}}}),LJ=NU((I,J)=>{try{if(Y=(EQ(),j$(qQ)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(K){J.exports=Mp()}var Y}),Lp=NU((I,J)=>{function Y(w,b){var x=Object.keys(w);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(w);b&&(u=u.filter(function(p){return Object.getOwnPropertyDescriptor(w,p).enumerable})),x.push.apply(x,u)}return x}function K(w){for(var b=1;b<arguments.length;b++){var x=arguments[b]!=null?arguments[b]:{};b%2?Y(Object(x),!0).forEach(function(u){X(w,u,x[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(x)):Y(Object(x)).forEach(function(u){Object.defineProperty(w,u,Object.getOwnPropertyDescriptor(x,u))})}return w}function X(w,b,x){if(b=j(b),b in w)Object.defineProperty(w,b,{value:x,enumerable:!0,configurable:!0,writable:!0});else w[b]=x;return w}function O(w,b){if(!(w instanceof b))throw TypeError("Cannot call a class as a function")}function Z(w,b){for(var x=0;x<b.length;x++){var u=b[x];if(u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u)u.writable=!0;Object.defineProperty(w,j(u.key),u)}}function M(w,b,x){if(b)Z(w.prototype,b);if(x)Z(w,x);return Object.defineProperty(w,"prototype",{writable:!1}),w}function j(w){var b=q(w,"string");return typeof b==="symbol"?b:String(b)}function q(w,b){if(typeof w!=="object"||w===null)return w;var x=w[Symbol.toPrimitive];if(x!==void 0){var u=x.call(w,b||"default");if(typeof u!=="object")return u;throw TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(w)}var E=(iU(),j$(oU)),C=E.Buffer,_=(EQ(),j$(qQ)),B=_.inspect,v=B&&B.custom||"inspect";function y(w,b,x){C.prototype.copy.call(w,b,x)}J.exports=function(){function w(){O(this,w),this.head=null,this.tail=null,this.length=0}return M(w,[{key:"push",value:function(b){var x={data:b,next:null};if(this.length>0)this.tail.next=x;else this.head=x;this.tail=x,++this.length}},{key:"unshift",value:function(b){var x={data:b,next:this.head};if(this.length===0)this.tail=x;this.head=x,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var b=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,b}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(b){if(this.length===0)return"";var x=this.head,u=""+x.data;while(x=x.next)u+=b+x.data;return u}},{key:"concat",value:function(b){if(this.length===0)return C.alloc(0);var x=C.allocUnsafe(b>>>0),u=this.head,p=0;while(u)y(u.data,x,p),p+=u.data.length,u=u.next;return x}},{key:"consume",value:function(b,x){var u;if(b<this.head.data.length)u=this.head.data.slice(0,b),this.head.data=this.head.data.slice(b);else if(b===this.head.data.length)u=this.shift();else u=x?this._getString(b):this._getBuffer(b);return u}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(b){var x=this.head,u=1,p=x.data;b-=p.length;while(x=x.next){var d=x.data,a=b>d.length?d.length:b;if(a===d.length)p+=d;else p+=d.slice(0,b);if(b-=a,b===0){if(a===d.length)if(++u,x.next)this.head=x.next;else this.head=this.tail=null;else this.head=x,x.data=d.slice(a);break}++u}return this.length-=u,p}},{key:"_getBuffer",value:function(b){var x=C.allocUnsafe(b),u=this.head,p=1;u.data.copy(x),b-=u.data.length;while(u=u.next){var d=u.data,a=b>d.length?d.length:b;if(d.copy(x,x.length-b,0,a),b-=a,b===0){if(a===d.length)if(++p,u.next)this.head=u.next;else this.head=this.tail=null;else this.head=u,u.data=d.slice(a);break}++p}return this.length-=p,x}},{key:v,value:function(b,x){return B(this,K(K({},x),{},{depth:0,customInspect:!1}))}}]),w}()}),AN=NU((I,J)=>{function Y(j,q){var E=this,C=this._readableState&&this._readableState.destroyed,_=this._writableState&&this._writableState.destroyed;if(C||_){if(q)q(j);else if(j){if(!this._writableState)process.nextTick(Z,this,j);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(Z,this,j)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(j||null,function(B){if(!q&&B)if(!E._writableState)process.nextTick(K,E,B);else if(!E._writableState.errorEmitted)E._writableState.errorEmitted=!0,process.nextTick(K,E,B);else process.nextTick(X,E);else if(q)process.nextTick(X,E),q(B);else process.nextTick(X,E)}),this}function K(j,q){Z(j,q),X(j)}function X(j){if(j._writableState&&!j._writableState.emitClose)return;if(j._readableState&&!j._readableState.emitClose)return;j.emit("close")}function O(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Z(j,q){j.emit("error",q)}function M(j,q){var{_readableState:E,_writableState:C}=j;if(E&&E.autoDestroy||C&&C.autoDestroy)j.destroy(q);else j.emit("error",q)}J.exports={destroy:Y,undestroy:O,errorOrDestroy:M}}),AJ=NU((I,J)=>{var Y={};function K(j,q,E){if(!E)E=Error;function C(B,v,y){if(typeof q==="string")return q;else return q(B,v,y)}class _ extends E{constructor(B,v,y){super(C(B,v,y))}}_.prototype.name=E.name,_.prototype.code=j,Y[j]=_}function X(j,q){if(Array.isArray(j)){let E=j.length;if(j=j.map((C)=>String(C)),E>2)return`one of ${q} ${j.slice(0,E-1).join(", ")}, or `+j[E-1];else if(E===2)return`one of ${q} ${j[0]} or ${j[1]}`;else return`of ${q} ${j[0]}`}else return`of ${q} ${String(j)}`}function O(j,q,E){return j.substr(!E||E<0?0:+E,q.length)===q}function Z(j,q,E){if(E===void 0||E>j.length)E=j.length;return j.substring(E-q.length,E)===q}function M(j,q,E){if(typeof E!=="number")E=0;if(E+q.length>j.length)return!1;else return j.indexOf(q,E)!==-1}K("ERR_INVALID_OPT_VALUE",function(j,q){return'The value "'+q+'" is invalid for option "'+j+'"'},TypeError),K("ERR_INVALID_ARG_TYPE",function(j,q,E){let C;if(typeof q==="string"&&O(q,"not "))C="must not be",q=q.replace(/^not /,"");else C="must be";let _;if(Z(j," argument"))_=`The ${j} ${C} ${X(q,"type")}`;else{let B=M(j,".")?"property":"argument";_=`The "${j}" ${B} ${C} ${X(q,"type")}`}return _+=`. Received type ${typeof E}`,_},TypeError),K("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),K("ERR_METHOD_NOT_IMPLEMENTED",function(j){return"The "+j+" method is not implemented"}),K("ERR_STREAM_PREMATURE_CLOSE","Premature close"),K("ERR_STREAM_DESTROYED",function(j){return"Cannot call "+j+" after a stream was destroyed"}),K("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),K("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),K("ERR_STREAM_WRITE_AFTER_END","write after end"),K("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),K("ERR_UNKNOWN_ENCODING",function(j){return"Unknown encoding: "+j},TypeError),K("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),I.codes=Y}),CN=NU((I,J)=>{var Y=AJ().codes.ERR_INVALID_OPT_VALUE;function K(O,Z,M){return O.highWaterMark!=null?O.highWaterMark:Z?O[M]:null}function X(O,Z,M,j){var q=K(Z,j,M);if(q!=null){if(!(isFinite(q)&&Math.floor(q)===q)||q<0){var E=j?M:"highWaterMark";throw new Y(E,q)}return Math.floor(q)}return O.objectMode?16:16384}J.exports={getHighWaterMark:X}}),Ap=NU((I,J)=>{J.exports=(EQ(),j$(qQ)).deprecate}),TN=NU((I,J)=>{J.exports=t;function Y(Q0){var s=this;this.next=null,this.entry=null,this.finish=function(){O0(s,Q0)}}var K;t.WritableState=M0;var X={deprecate:Ap()},O=vQ(),Z=(iU(),j$(oU)).Buffer,M=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j(Q0){return Z.from(Q0)}function q(Q0){return Z.isBuffer(Q0)||Q0 instanceof M}var E=AN(),C=CN(),_=C.getHighWaterMark,B=AJ().codes,v=B.ERR_INVALID_ARG_TYPE,y=B.ERR_METHOD_NOT_IMPLEMENTED,w=B.ERR_MULTIPLE_CALLBACK,b=B.ERR_STREAM_CANNOT_PIPE,x=B.ERR_STREAM_DESTROYED,u=B.ERR_STREAM_NULL_VALUES,p=B.ERR_STREAM_WRITE_AFTER_END,d=B.ERR_UNKNOWN_ENCODING,a=E.errorOrDestroy;LJ()(t,O);function H0(){}function M0(Q0,s,e){if(K=K||DY(),Q0=Q0||{},typeof e!=="boolean")e=s instanceof K;if(this.objectMode=!!Q0.objectMode,e)this.objectMode=this.objectMode||!!Q0.writableObjectMode;this.highWaterMark=_(this,Q0,"writableHighWaterMark",e),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var J0=Q0.decodeStrings===!1;this.decodeStrings=!J0,this.defaultEncoding=Q0.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Z0){S(s,Z0)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Q0.emitClose!==!1,this.autoDestroy=!!Q0.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Y(this)}M0.prototype.getBuffer=function(){var Q0=this.bufferedRequest,s=[];while(Q0)s.push(Q0),Q0=Q0.next;return s},function(){try{Object.defineProperty(M0.prototype,"buffer",{get:X.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Q0){}}();var q0;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")q0=Function.prototype[Symbol.hasInstance],Object.defineProperty(t,Symbol.hasInstance,{value:function(Q0){if(q0.call(this,Q0))return!0;if(this!==t)return!1;return Q0&&Q0._writableState instanceof M0}});else q0=function(Q0){return Q0 instanceof this};function t(Q0){K=K||DY();var s=this instanceof K;if(!s&&!q0.call(t,this))return new t(Q0);if(this._writableState=new M0(Q0,this,s),this.writable=!0,Q0){if(typeof Q0.write==="function")this._write=Q0.write;if(typeof Q0.writev==="function")this._writev=Q0.writev;if(typeof Q0.destroy==="function")this._destroy=Q0.destroy;if(typeof Q0.final==="function")this._final=Q0.final}O.call(this)}t.prototype.pipe=function(){a(this,new b)};function T0(Q0,s){var e=new p;a(Q0,e),process.nextTick(s,e)}function G(Q0,s,e,J0){var Z0;if(e===null)Z0=new u;else if(typeof e!=="string"&&!s.objectMode)Z0=new v("chunk",["string","Buffer"],e);if(Z0)return a(Q0,Z0),process.nextTick(J0,Z0),!1;return!0}t.prototype.write=function(Q0,s,e){var J0=this._writableState,Z0=!1,A0=!J0.objectMode&&q(Q0);if(A0&&!Z.isBuffer(Q0))Q0=j(Q0);if(typeof s==="function")e=s,s=null;if(A0)s="buffer";else if(!s)s=J0.defaultEncoding;if(typeof e!=="function")e=H0;if(J0.ending)T0(this,e);else if(A0||G(this,J0,Q0,e))J0.pendingcb++,Z0=F(this,J0,A0,Q0,s,e);return Z0},t.prototype.cork=function(){this._writableState.corked++},t.prototype.uncork=function(){var Q0=this._writableState;if(Q0.corked){if(Q0.corked--,!Q0.writing&&!Q0.corked&&!Q0.bufferProcessing&&Q0.bufferedRequest)T(this,Q0)}},t.prototype.setDefaultEncoding=function(Q0){if(typeof Q0==="string")Q0=Q0.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Q0+"").toLowerCase())>-1))throw new d(Q0);return this._writableState.defaultEncoding=Q0,this},Object.defineProperty(t.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function V(Q0,s,e){if(!Q0.objectMode&&Q0.decodeStrings!==!1&&typeof s==="string")s=Z.from(s,e);return s}Object.defineProperty(t.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function F(Q0,s,e,J0,Z0,A0){if(!e){var $0=V(s,J0,Z0);if(J0!==$0)e=!0,Z0="buffer",J0=$0}var h=s.objectMode?1:J0.length;s.length+=h;var n=s.length<s.highWaterMark;if(!n)s.needDrain=!0;if(s.writing||s.corked){var F0=s.lastBufferedRequest;if(s.lastBufferedRequest={chunk:J0,encoding:Z0,isBuf:e,callback:A0,next:null},F0)F0.next=s.lastBufferedRequest;else s.bufferedRequest=s.lastBufferedRequest;s.bufferedRequestCount+=1}else W(Q0,s,!1,h,J0,Z0,A0);return n}function W(Q0,s,e,J0,Z0,A0,$0){if(s.writelen=J0,s.writecb=$0,s.writing=!0,s.sync=!0,s.destroyed)s.onwrite(new x("write"));else if(e)Q0._writev(Z0,s.onwrite);else Q0._write(Z0,A0,s.onwrite);s.sync=!1}function H(Q0,s,e,J0,Z0){if(--s.pendingcb,e)process.nextTick(Z0,J0),process.nextTick(r,Q0,s),Q0._writableState.errorEmitted=!0,a(Q0,J0);else Z0(J0),Q0._writableState.errorEmitted=!0,a(Q0,J0),r(Q0,s)}function P(Q0){Q0.writing=!1,Q0.writecb=null,Q0.length-=Q0.writelen,Q0.writelen=0}function S(Q0,s){var e=Q0._writableState,J0=e.sync,Z0=e.writecb;if(typeof Z0!=="function")throw new w;if(P(e),s)H(Q0,e,J0,s,Z0);else{var A0=g(e)||Q0.destroyed;if(!A0&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)T(Q0,e);if(J0)process.nextTick(A,Q0,e,A0,Z0);else A(Q0,e,A0,Z0)}}function A(Q0,s,e,J0){if(!e)z(Q0,s);s.pendingcb--,J0(),r(Q0,s)}function z(Q0,s){if(s.length===0&&s.needDrain)s.needDrain=!1,Q0.emit("drain")}function T(Q0,s){s.bufferProcessing=!0;var e=s.bufferedRequest;if(Q0._writev&&e&&e.next){var J0=s.bufferedRequestCount,Z0=Array(J0),A0=s.corkedRequestsFree;A0.entry=e;var $0=0,h=!0;while(e){if(Z0[$0]=e,!e.isBuf)h=!1;e=e.next,$0+=1}if(Z0.allBuffers=h,W(Q0,s,!0,s.length,Z0,"",A0.finish),s.pendingcb++,s.lastBufferedRequest=null,A0.next)s.corkedRequestsFree=A0.next,A0.next=null;else s.corkedRequestsFree=new Y(s);s.bufferedRequestCount=0}else{while(e){var{chunk:n,encoding:F0,callback:Y0}=e,W0=s.objectMode?1:n.length;if(W(Q0,s,!1,W0,n,F0,Y0),e=e.next,s.bufferedRequestCount--,s.writing)break}if(e===null)s.lastBufferedRequest=null}s.bufferedRequest=e,s.bufferProcessing=!1}t.prototype._write=function(Q0,s,e){e(new y("_write()"))},t.prototype._writev=null,t.prototype.end=function(Q0,s,e){var J0=this._writableState;if(typeof Q0==="function")e=Q0,Q0=null,s=null;else if(typeof s==="function")e=s,s=null;if(Q0!==null&&Q0!==void 0)this.write(Q0,s);if(J0.corked)J0.corked=1,this.uncork();if(!J0.ending)U0(this,J0,e);return this},Object.defineProperty(t.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function g(Q0){return Q0.ending&&Q0.length===0&&Q0.bufferedRequest===null&&!Q0.finished&&!Q0.writing}function N(Q0,s){Q0._final(function(e){if(s.pendingcb--,e)a(Q0,e);s.prefinished=!0,Q0.emit("prefinish"),r(Q0,s)})}function c(Q0,s){if(!s.prefinished&&!s.finalCalled)if(typeof Q0._final==="function"&&!s.destroyed)s.pendingcb++,s.finalCalled=!0,process.nextTick(N,Q0,s);else s.prefinished=!0,Q0.emit("prefinish")}function r(Q0,s){var e=g(s);if(e){if(c(Q0,s),s.pendingcb===0){if(s.finished=!0,Q0.emit("finish"),s.autoDestroy){var J0=Q0._readableState;if(!J0||J0.autoDestroy&&J0.endEmitted)Q0.destroy()}}}return e}function U0(Q0,s,e){if(s.ending=!0,r(Q0,s),e)if(s.finished)process.nextTick(e);else Q0.once("finish",e);s.ended=!0,Q0.writable=!1}function O0(Q0,s,e){var J0=Q0.entry;Q0.entry=null;while(J0){var Z0=J0.callback;s.pendingcb--,Z0(e),J0=J0.next}s.corkedRequestsFree.next=Q0}Object.defineProperty(t.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(Q0){if(!this._writableState)return;this._writableState.destroyed=Q0}}),t.prototype.destroy=E.destroy,t.prototype._undestroy=E.undestroy,t.prototype._destroy=function(Q0,s){s(Q0)}}),DY=NU((I,J)=>{var Y=Object.keys||function(C){var _=[];for(var B in C)_.push(B);return _};J.exports=j;var K=PN(),X=TN();LJ()(j,K);{O=Y(X.prototype);for(M=0;M<O.length;M++)if(Z=O[M],!j.prototype[Z])j.prototype[Z]=X.prototype[Z]}var O,Z,M;function j(C){if(!(this instanceof j))return new j(C);if(K.call(this,C),X.call(this,C),this.allowHalfOpen=!0,C){if(C.readable===!1)this.readable=!1;if(C.writable===!1)this.writable=!1;if(C.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",q)}}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function q(){if(this._writableState.ended)return;process.nextTick(E,this)}function E(C){C.end()}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(C){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=C,this._writableState.destroyed=C}})}),Cp=NU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(iU(),j$(oU)),K=Y.Buffer;function X(Z,M){for(var j in Z)M[j]=Z[j]}if(K.from&&K.alloc&&K.allocUnsafe&&K.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=O;function O(Z,M,j){return K(Z,M,j)}O.prototype=Object.create(K.prototype),X(K,O),O.from=function(Z,M,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return K(Z,M,j)},O.alloc=function(Z,M,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var q=K(Z);if(M!==void 0)if(typeof j==="string")q.fill(M,j);else q.fill(M);else q.fill(0);return q},O.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return K(Z)},O.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),MN=NU((I)=>{var J=Cp().Buffer,Y=J.isEncoding||function(x){switch(x=""+x,x&&x.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function K(x){if(!x)return"utf8";var u;while(!0)switch(x){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return x;default:if(u)return;x=(""+x).toLowerCase(),u=!0}}function X(x){var u=K(x);if(typeof u!=="string"&&(J.isEncoding===Y||!Y(x)))throw Error("Unknown encoding: "+x);return u||x}I.StringDecoder=O;function O(x){this.encoding=X(x);var u;switch(this.encoding){case"utf16le":this.text=_,this.end=B,u=4;break;case"utf8":this.fillLast=q,u=4;break;case"base64":this.text=v,this.end=y,u=3;break;default:this.write=w,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(u)}O.prototype.write=function(x){if(x.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(x),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<x.length)return u?u+this.text(x,p):this.text(x,p);return u||""},O.prototype.end=C,O.prototype.text=E,O.prototype.fillLast=function(x){if(this.lastNeed<=x.length)return x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,x.length),this.lastNeed-=x.length};function Z(x){if(x<=127)return 0;else if(x>>5===6)return 2;else if(x>>4===14)return 3;else if(x>>3===30)return 4;return x>>6===2?-1:-2}function M(x,u,p){var d=u.length-1;if(d<p)return 0;var a=Z(u[d]);if(a>=0){if(a>0)x.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)x.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)if(a===2)a=0;else x.lastNeed=a-3;return a}return 0}function j(x,u,p){if((u[0]&192)!==128)return x.lastNeed=0,"�";if(x.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return x.lastNeed=1,"�";if(x.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return x.lastNeed=2,"�"}}}function q(x){var u=this.lastTotal-this.lastNeed,p=j(this,x,u);if(p!==void 0)return p;if(this.lastNeed<=x.length)return x.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,u,0,x.length),this.lastNeed-=x.length}function E(x,u){var p=M(this,x,u);if(!this.lastNeed)return x.toString("utf8",u);this.lastTotal=p;var d=x.length-(p-this.lastNeed);return x.copy(this.lastChar,0,d),x.toString("utf8",u,d)}function C(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+"�";return u}function _(x,u){if((x.length-u)%2===0){var p=x.toString("utf16le",u);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=x[x.length-1],x.toString("utf16le",u,x.length-1)}function B(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function v(x,u){var p=(x.length-u)%3;if(p===0)return x.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=x[x.length-1];else this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1];return x.toString("base64",u,x.length-p)}function y(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(x){return x.toString(this.encoding)}function b(x){return x&&x.length?this.write(x):""}}),d7=NU((I,J)=>{var Y=AJ().codes.ERR_STREAM_PREMATURE_CLOSE;function K(M){var j=!1;return function(){if(j)return;j=!0;for(var q=arguments.length,E=Array(q),C=0;C<q;C++)E[C]=arguments[C];M.apply(this,E)}}function X(){}function O(M){return M.setHeader&&typeof M.abort==="function"}function Z(M,j,q){if(typeof j==="function")return Z(M,null,j);if(!j)j={};q=K(q||X);var E=j.readable||j.readable!==!1&&M.readable,C=j.writable||j.writable!==!1&&M.writable,_=function(){if(!M.writable)v()},B=M._writableState&&M._writableState.finished,v=function(){if(C=!1,B=!0,!E)q.call(M)},y=M._readableState&&M._readableState.endEmitted,w=function(){if(E=!1,y=!0,!C)q.call(M)},b=function(p){q.call(M,p)},x=function(){var p;if(E&&!y){if(!M._readableState||!M._readableState.ended)p=new Y;return q.call(M,p)}if(C&&!B){if(!M._writableState||!M._writableState.ended)p=new Y;return q.call(M,p)}},u=function(){M.req.on("finish",v)};if(O(M))if(M.on("complete",v),M.on("abort",x),M.req)u();else M.on("request",u);else if(C&&!M._writableState)M.on("end",_),M.on("close",_);if(M.on("end",w),M.on("finish",v),j.error!==!1)M.on("error",b);return M.on("close",x),function(){if(M.removeListener("complete",v),M.removeListener("abort",x),M.removeListener("request",u),M.req)M.req.removeListener("finish",v);M.removeListener("end",_),M.removeListener("close",_),M.removeListener("finish",v),M.removeListener("end",w),M.removeListener("error",b),M.removeListener("close",x)}}J.exports=Z}),Tp=NU((I,J)=>{var Y;function K(d,a,H0){if(a=X(a),a in d)Object.defineProperty(d,a,{value:H0,enumerable:!0,configurable:!0,writable:!0});else d[a]=H0;return d}function X(d){var a=O(d,"string");return typeof a==="symbol"?a:String(a)}function O(d,a){if(typeof d!=="object"||d===null)return d;var H0=d[Symbol.toPrimitive];if(H0!==void 0){var M0=H0.call(d,a||"default");if(typeof M0!=="object")return M0;throw TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(d)}var Z=d7(),M=Symbol("lastResolve"),j=Symbol("lastReject"),q=Symbol("error"),E=Symbol("ended"),C=Symbol("lastPromise"),_=Symbol("handlePromise"),B=Symbol("stream");function v(d,a){return{value:d,done:a}}function y(d){var a=d[M];if(a!==null){var H0=d[B].read();if(H0!==null)d[C]=null,d[M]=null,d[j]=null,a(v(H0,!1))}}function w(d){process.nextTick(y,d)}function b(d,a){return function(H0,M0){d.then(function(){if(a[E]){H0(v(void 0,!0));return}a[_](H0,M0)},M0)}}var x=Object.getPrototypeOf(function(){}),u=Object.setPrototypeOf((Y={get stream(){return this[B]},next:function(){var d=this,a=this[q];if(a!==null)return Promise.reject(a);if(this[E])return Promise.resolve(v(void 0,!0));if(this[B].destroyed)return new Promise(function(t,T0){process.nextTick(function(){if(d[q])T0(d[q]);else t(v(void 0,!0))})});var H0=this[C],M0;if(H0)M0=new Promise(b(H0,this));else{var q0=this[B].read();if(q0!==null)return Promise.resolve(v(q0,!1));M0=new Promise(this[_])}return this[C]=M0,M0}},K(Y,Symbol.asyncIterator,function(){return this}),K(Y,"return",function(){var d=this;return new Promise(function(a,H0){d[B].destroy(null,function(M0){if(M0){H0(M0);return}a(v(void 0,!0))})})}),Y),x),p=function(d){var a,H0=Object.create(u,(a={},K(a,B,{value:d,writable:!0}),K(a,M,{value:null,writable:!0}),K(a,j,{value:null,writable:!0}),K(a,q,{value:null,writable:!0}),K(a,E,{value:d._readableState.endEmitted,writable:!0}),K(a,_,{value:function(M0,q0){var t=H0[B].read();if(t)H0[C]=null,H0[M]=null,H0[j]=null,M0(v(t,!1));else H0[M]=M0,H0[j]=q0},writable:!0}),a));return H0[C]=null,Z(d,function(M0){if(M0&&M0.code!=="ERR_STREAM_PREMATURE_CLOSE"){var q0=H0[j];if(q0!==null)H0[C]=null,H0[M]=null,H0[j]=null,q0(M0);H0[q]=M0;return}var t=H0[M];if(t!==null)H0[C]=null,H0[M]=null,H0[j]=null,t(v(void 0,!0));H0[E]=!0}),d.on("readable",w.bind(null,H0)),H0};J.exports=p}),Pp=NU((I,J)=>{function Y(C,_,B,v,y,w,b){try{var x=C[w](b),u=x.value}catch(p){B(p);return}if(x.done)_(u);else Promise.resolve(u).then(v,y)}function K(C){return function(){var _=this,B=arguments;return new Promise(function(v,y){var w=C.apply(_,B);function b(u){Y(w,v,y,b,x,"next",u)}function x(u){Y(w,v,y,b,x,"throw",u)}b(void 0)})}}function X(C,_){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(C);_&&(v=v.filter(function(y){return Object.getOwnPropertyDescriptor(C,y).enumerable})),B.push.apply(B,v)}return B}function O(C){for(var _=1;_<arguments.length;_++){var B=arguments[_]!=null?arguments[_]:{};_%2?X(Object(B),!0).forEach(function(v){Z(C,v,B[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):X(Object(B)).forEach(function(v){Object.defineProperty(C,v,Object.getOwnPropertyDescriptor(B,v))})}return C}function Z(C,_,B){if(_=M(_),_ in C)Object.defineProperty(C,_,{value:B,enumerable:!0,configurable:!0,writable:!0});else C[_]=B;return C}function M(C){var _=j(C,"string");return typeof _==="symbol"?_:String(_)}function j(C,_){if(typeof C!=="object"||C===null)return C;var B=C[Symbol.toPrimitive];if(B!==void 0){var v=B.call(C,_||"default");if(typeof v!=="object")return v;throw TypeError("@@toPrimitive must return a primitive value.")}return(_==="string"?String:Number)(C)}var q=AJ().codes.ERR_INVALID_ARG_TYPE;function E(C,_,B){var v;if(_&&typeof _.next==="function")v=_;else if(_&&_[Symbol.asyncIterator])v=_[Symbol.asyncIterator]();else if(_&&_[Symbol.iterator])v=_[Symbol.iterator]();else throw new q("iterable",["Iterable"],_);var y=new C(O({objectMode:!0},B)),w=!1;y._read=function(){if(!w)w=!0,b()};function b(){return x.apply(this,arguments)}function x(){return x=K(function*(){try{var u=yield v.next(),p=u.value,d=u.done;if(d)y.push(null);else if(y.push(yield p))b();else w=!1}catch(a){y.destroy(a)}}),x.apply(this,arguments)}return y}J.exports=E}),PN=NU((I,J)=>{J.exports=G;var Y;G.ReadableState=T0;var K=(BQ(),j$(jQ)).EventEmitter,X=function($0,h){return $0.listeners(h).length},O=vQ(),Z=(iU(),j$(oU)).Buffer,M=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j($0){return Z.from($0)}function q($0){return Z.isBuffer($0)||$0 instanceof M}var E=(EQ(),j$(qQ)),C;if(E&&E.debuglog)C=E.debuglog("stream");else C=function(){};var _=Lp(),B=AN(),v=CN(),y=v.getHighWaterMark,w=AJ().codes,b=w.ERR_INVALID_ARG_TYPE,x=w.ERR_STREAM_PUSH_AFTER_EOF,u=w.ERR_METHOD_NOT_IMPLEMENTED,p=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,d,a,H0;LJ()(G,O);var M0=B.errorOrDestroy,q0=["error","close","destroy","pause","resume"];function t($0,h,n){if(typeof $0.prependListener==="function")return $0.prependListener(h,n);if(!$0._events||!$0._events[h])$0.on(h,n);else if(Array.isArray($0._events[h]))$0._events[h].unshift(n);else $0._events[h]=[n,$0._events[h]]}function T0($0,h,n){if(Y=Y||DY(),$0=$0||{},typeof n!=="boolean")n=h instanceof Y;if(this.objectMode=!!$0.objectMode,n)this.objectMode=this.objectMode||!!$0.readableObjectMode;if(this.highWaterMark=y(this,$0,"readableHighWaterMark",n),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$0.emitClose!==!1,this.autoDestroy=!!$0.autoDestroy,this.destroyed=!1,this.defaultEncoding=$0.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$0.encoding){if(!d)d=MN().StringDecoder;this.decoder=new d($0.encoding),this.encoding=$0.encoding}}function G($0){if(Y=Y||DY(),!(this instanceof G))return new G($0);var h=this instanceof Y;if(this._readableState=new T0($0,this,h),this.readable=!0,$0){if(typeof $0.read==="function")this._read=$0.read;if(typeof $0.destroy==="function")this._destroy=$0.destroy}O.call(this)}Object.defineProperty(G.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($0){if(!this._readableState)return;this._readableState.destroyed=$0}}),G.prototype.destroy=B.destroy,G.prototype._undestroy=B.undestroy,G.prototype._destroy=function($0,h){h($0)},G.prototype.push=function($0,h){var n=this._readableState,F0;if(!n.objectMode){if(typeof $0==="string"){if(h=h||n.defaultEncoding,h!==n.encoding)$0=Z.from($0,h),h="";F0=!0}}else F0=!0;return V(this,$0,h,!1,F0)},G.prototype.unshift=function($0){return V(this,$0,null,!0,!1)};function V($0,h,n,F0,Y0){C("readableAddChunk",h);var W0=$0._readableState;if(h===null)W0.reading=!1,A($0,W0);else{var v0;if(!Y0)v0=W(W0,h);if(v0)M0($0,v0);else if(W0.objectMode||h&&h.length>0){if(typeof h!=="string"&&!W0.objectMode&&Object.getPrototypeOf(h)!==Z.prototype)h=j(h);if(F0)if(W0.endEmitted)M0($0,new p);else F($0,W0,h,!0);else if(W0.ended)M0($0,new x);else if(W0.destroyed)return!1;else if(W0.reading=!1,W0.decoder&&!n)if(h=W0.decoder.write(h),W0.objectMode||h.length!==0)F($0,W0,h,!1);else g($0,W0);else F($0,W0,h,!1)}else if(!F0)W0.reading=!1,g($0,W0)}return!W0.ended&&(W0.length<W0.highWaterMark||W0.length===0)}function F($0,h,n,F0){if(h.flowing&&h.length===0&&!h.sync)h.awaitDrain=0,$0.emit("data",n);else{if(h.length+=h.objectMode?1:n.length,F0)h.buffer.unshift(n);else h.buffer.push(n);if(h.needReadable)z($0)}g($0,h)}function W($0,h){var n;if(!q(h)&&typeof h!=="string"&&h!==void 0&&!$0.objectMode)n=new b("chunk",["string","Buffer","Uint8Array"],h);return n}G.prototype.isPaused=function(){return this._readableState.flowing===!1},G.prototype.setEncoding=function($0){if(!d)d=MN().StringDecoder;var h=new d($0);this._readableState.decoder=h,this._readableState.encoding=this._readableState.decoder.encoding;var n=this._readableState.buffer.head,F0="";while(n!==null)F0+=h.write(n.data),n=n.next;if(this._readableState.buffer.clear(),F0!=="")this._readableState.buffer.push(F0);return this._readableState.length=F0.length,this};var H=1073741824;function P($0){if($0>=H)$0=H;else $0--,$0|=$0>>>1,$0|=$0>>>2,$0|=$0>>>4,$0|=$0>>>8,$0|=$0>>>16,$0++;return $0}function S($0,h){if($0<=0||h.length===0&&h.ended)return 0;if(h.objectMode)return 1;if($0!==$0)if(h.flowing&&h.length)return h.buffer.head.data.length;else return h.length;if($0>h.highWaterMark)h.highWaterMark=P($0);if($0<=h.length)return $0;if(!h.ended)return h.needReadable=!0,0;return h.length}G.prototype.read=function($0){C("read",$0),$0=parseInt($0,10);var h=this._readableState,n=$0;if($0!==0)h.emittedReadable=!1;if($0===0&&h.needReadable&&((h.highWaterMark!==0?h.length>=h.highWaterMark:h.length>0)||h.ended)){if(C("read: emitReadable",h.length,h.ended),h.length===0&&h.ended)J0(this);else z(this);return null}if($0=S($0,h),$0===0&&h.ended){if(h.length===0)J0(this);return null}var F0=h.needReadable;if(C("need readable",F0),h.length===0||h.length-$0<h.highWaterMark)F0=!0,C("length less than watermark",F0);if(h.ended||h.reading)F0=!1,C("reading or ended",F0);else if(F0){if(C("do read"),h.reading=!0,h.sync=!0,h.length===0)h.needReadable=!0;if(this._read(h.highWaterMark),h.sync=!1,!h.reading)$0=S(n,h)}var Y0;if($0>0)Y0=e($0,h);else Y0=null;if(Y0===null)h.needReadable=h.length<=h.highWaterMark,$0=0;else h.length-=$0,h.awaitDrain=0;if(h.length===0){if(!h.ended)h.needReadable=!0;if(n!==$0&&h.ended)J0(this)}if(Y0!==null)this.emit("data",Y0);return Y0};function A($0,h){if(C("onEofChunk"),h.ended)return;if(h.decoder){var n=h.decoder.end();if(n&&n.length)h.buffer.push(n),h.length+=h.objectMode?1:n.length}if(h.ended=!0,h.sync)z($0);else if(h.needReadable=!1,!h.emittedReadable)h.emittedReadable=!0,T($0)}function z($0){var h=$0._readableState;if(C("emitReadable",h.needReadable,h.emittedReadable),h.needReadable=!1,!h.emittedReadable)C("emitReadable",h.flowing),h.emittedReadable=!0,process.nextTick(T,$0)}function T($0){var h=$0._readableState;if(C("emitReadable_",h.destroyed,h.length,h.ended),!h.destroyed&&(h.length||h.ended))$0.emit("readable"),h.emittedReadable=!1;h.needReadable=!h.flowing&&!h.ended&&h.length<=h.highWaterMark,s($0)}function g($0,h){if(!h.readingMore)h.readingMore=!0,process.nextTick(N,$0,h)}function N($0,h){while(!h.reading&&!h.ended&&(h.length<h.highWaterMark||h.flowing&&h.length===0)){var n=h.length;if(C("maybeReadMore read 0"),$0.read(0),n===h.length)break}h.readingMore=!1}G.prototype._read=function($0){M0(this,new u("_read()"))},G.prototype.pipe=function($0,h){var n=this,F0=this._readableState;switch(F0.pipesCount){case 0:F0.pipes=$0;break;case 1:F0.pipes=[F0.pipes,$0];break;default:F0.pipes.push($0);break}F0.pipesCount+=1,C("pipe count=%d opts=%j",F0.pipesCount,h);var Y0=(!h||h.end!==!1)&&$0!==process.stdout&&$0!==process.stderr,W0=Y0?I0:i$;if(F0.endEmitted)process.nextTick(W0);else n.once("end",W0);$0.on("unpipe",v0);function v0(c0,h0){if(C("onunpipe"),c0===n){if(h0&&h0.hasUnpiped===!1)h0.hasUnpiped=!0,L0()}}function I0(){C("onend"),$0.end()}var K0=c(n);$0.on("drain",K0);var I$=!1;function L0(){if(C("cleanup"),$0.removeListener("close",m0),$0.removeListener("finish",p0),$0.removeListener("drain",K0),$0.removeListener("error",L$),$0.removeListener("unpipe",v0),n.removeListener("end",I0),n.removeListener("end",i$),n.removeListener("data",B0),I$=!0,F0.awaitDrain&&(!$0._writableState||$0._writableState.needDrain))K0()}n.on("data",B0);function B0(c0){C("ondata");var h0=$0.write(c0);if(C("dest.write",h0),h0===!1){if((F0.pipesCount===1&&F0.pipes===$0||F0.pipesCount>1&&A0(F0.pipes,$0)!==-1)&&!I$)C("false write response, pause",F0.awaitDrain),F0.awaitDrain++;n.pause()}}function L$(c0){if(C("onerror",c0),i$(),$0.removeListener("error",L$),X($0,"error")===0)M0($0,c0)}t($0,"error",L$);function m0(){$0.removeListener("finish",p0),i$()}$0.once("close",m0);function p0(){C("onfinish"),$0.removeListener("close",m0),i$()}$0.once("finish",p0);function i$(){C("unpipe"),n.unpipe($0)}if($0.emit("pipe",n),!F0.flowing)C("pipe resume"),n.resume();return $0};function c($0){return function(){var h=$0._readableState;if(C("pipeOnDrain",h.awaitDrain),h.awaitDrain)h.awaitDrain--;if(h.awaitDrain===0&&X($0,"data"))h.flowing=!0,s($0)}}G.prototype.unpipe=function($0){var h=this._readableState,n={hasUnpiped:!1};if(h.pipesCount===0)return this;if(h.pipesCount===1){if($0&&$0!==h.pipes)return this;if(!$0)$0=h.pipes;if(h.pipes=null,h.pipesCount=0,h.flowing=!1,$0)$0.emit("unpipe",this,n);return this}if(!$0){var{pipes:F0,pipesCount:Y0}=h;h.pipes=null,h.pipesCount=0,h.flowing=!1;for(var W0=0;W0<Y0;W0++)F0[W0].emit("unpipe",this,{hasUnpiped:!1});return this}var v0=A0(h.pipes,$0);if(v0===-1)return this;if(h.pipes.splice(v0,1),h.pipesCount-=1,h.pipesCount===1)h.pipes=h.pipes[0];return $0.emit("unpipe",this,n),this},G.prototype.on=function($0,h){var n=O.prototype.on.call(this,$0,h),F0=this._readableState;if($0==="data"){if(F0.readableListening=this.listenerCount("readable")>0,F0.flowing!==!1)this.resume()}else if($0==="readable"){if(!F0.endEmitted&&!F0.readableListening){if(F0.readableListening=F0.needReadable=!0,F0.flowing=!1,F0.emittedReadable=!1,C("on readable",F0.length,F0.reading),F0.length)z(this);else if(!F0.reading)process.nextTick(U0,this)}}return n},G.prototype.addListener=G.prototype.on,G.prototype.removeListener=function($0,h){var n=O.prototype.removeListener.call(this,$0,h);if($0==="readable")process.nextTick(r,this);return n},G.prototype.removeAllListeners=function($0){var h=O.prototype.removeAllListeners.apply(this,arguments);if($0==="readable"||$0===void 0)process.nextTick(r,this);return h};function r($0){var h=$0._readableState;if(h.readableListening=$0.listenerCount("readable")>0,h.resumeScheduled&&!h.paused)h.flowing=!0;else if($0.listenerCount("data")>0)$0.resume()}function U0($0){C("readable nexttick read 0"),$0.read(0)}G.prototype.resume=function(){var $0=this._readableState;if(!$0.flowing)C("resume"),$0.flowing=!$0.readableListening,O0(this,$0);return $0.paused=!1,this};function O0($0,h){if(!h.resumeScheduled)h.resumeScheduled=!0,process.nextTick(Q0,$0,h)}function Q0($0,h){if(C("resume",h.reading),!h.reading)$0.read(0);if(h.resumeScheduled=!1,$0.emit("resume"),s($0),h.flowing&&!h.reading)$0.read(0)}G.prototype.pause=function(){if(C("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)C("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function s($0){var h=$0._readableState;C("flow",h.flowing);while(h.flowing&&$0.read()!==null);}if(G.prototype.wrap=function($0){var h=this,n=this._readableState,F0=!1;$0.on("end",function(){if(C("wrapped end"),n.decoder&&!n.ended){var v0=n.decoder.end();if(v0&&v0.length)h.push(v0)}h.push(null)}),$0.on("data",function(v0){if(C("wrapped data"),n.decoder)v0=n.decoder.write(v0);if(n.objectMode&&(v0===null||v0===void 0))return;else if(!n.objectMode&&(!v0||!v0.length))return;var I0=h.push(v0);if(!I0)F0=!0,$0.pause()});for(var Y0 in $0)if(this[Y0]===void 0&&typeof $0[Y0]==="function")this[Y0]=function(v0){return function(){return $0[v0].apply($0,arguments)}}(Y0);for(var W0=0;W0<q0.length;W0++)$0.on(q0[W0],this.emit.bind(this,q0[W0]));return this._read=function(v0){if(C("wrapped _read",v0),F0)F0=!1,$0.resume()},this},typeof Symbol==="function")G.prototype[Symbol.asyncIterator]=function(){if(a===void 0)a=Tp();return a(this)};Object.defineProperty(G.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(G.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(G.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function($0){if(this._readableState)this._readableState.flowing=$0}}),G._fromList=e,Object.defineProperty(G.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function e($0,h){if(h.length===0)return null;var n;if(h.objectMode)n=h.buffer.shift();else if(!$0||$0>=h.length){if(h.decoder)n=h.buffer.join("");else if(h.buffer.length===1)n=h.buffer.first();else n=h.buffer.concat(h.length);h.buffer.clear()}else n=h.buffer.consume($0,h.decoder);return n}function J0($0){var h=$0._readableState;if(C("endReadable",h.endEmitted),!h.endEmitted)h.ended=!0,process.nextTick(Z0,h,$0)}function Z0($0,h){if(C("endReadableNT",$0.endEmitted,$0.length),!$0.endEmitted&&$0.length===0){if($0.endEmitted=!0,h.readable=!1,h.emit("end"),$0.autoDestroy){var n=h._writableState;if(!n||n.autoDestroy&&n.finished)h.destroy()}}}if(typeof Symbol==="function")G.from=function($0,h){if(H0===void 0)H0=Pp();return H0(G,$0,h)};function A0($0,h){for(var n=0,F0=$0.length;n<F0;n++)if($0[n]===h)return n;return-1}}),RN=NU((I,J)=>{J.exports=q;var Y=AJ().codes,K=Y.ERR_METHOD_NOT_IMPLEMENTED,X=Y.ERR_MULTIPLE_CALLBACK,O=Y.ERR_TRANSFORM_ALREADY_TRANSFORMING,Z=Y.ERR_TRANSFORM_WITH_LENGTH_0,M=DY();LJ()(q,M);function j(_,B){var v=this._transformState;v.transforming=!1;var y=v.writecb;if(y===null)return this.emit("error",new X);if(v.writechunk=null,v.writecb=null,B!=null)this.push(B);y(_);var w=this._readableState;if(w.reading=!1,w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}function q(_){if(!(this instanceof q))return new q(_);if(M.call(this,_),this._transformState={afterTransform:j.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,_){if(typeof _.transform==="function")this._transform=_.transform;if(typeof _.flush==="function")this._flush=_.flush}this.on("prefinish",E)}function E(){var _=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(B,v){C(_,B,v)});else C(this,null,null)}q.prototype.push=function(_,B){return this._transformState.needTransform=!1,M.prototype.push.call(this,_,B)},q.prototype._transform=function(_,B,v){v(new K("_transform()"))},q.prototype._write=function(_,B,v){var y=this._transformState;if(y.writecb=v,y.writechunk=_,y.writeencoding=B,!y.transforming){var w=this._readableState;if(y.needTransform||w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}},q.prototype._read=function(_){var B=this._transformState;if(B.writechunk!==null&&!B.transforming)B.transforming=!0,this._transform(B.writechunk,B.writeencoding,B.afterTransform);else B.needTransform=!0},q.prototype._destroy=function(_,B){M.prototype._destroy.call(this,_,function(v){B(v)})};function C(_,B,v){if(B)return _.emit("error",B);if(v!=null)_.push(v);if(_._writableState.length)throw new Z;if(_._transformState.transforming)throw new O;return _.push(null)}}),Rp=NU((I,J)=>{J.exports=K;var Y=RN();LJ()(K,Y);function K(X){if(!(this instanceof K))return new K(X);Y.call(this,X)}K.prototype._transform=function(X,O,Z){Z(null,X)}}),_p=NU((I,J)=>{var Y;function K(v){var y=!1;return function(){if(y)return;y=!0,v.apply(void 0,arguments)}}var X=AJ().codes,O=X.ERR_MISSING_ARGS,Z=X.ERR_STREAM_DESTROYED;function M(v){if(v)throw v}function j(v){return v.setHeader&&typeof v.abort==="function"}function q(v,y,w,b){b=K(b);var x=!1;if(v.on("close",function(){x=!0}),Y===void 0)Y=d7();Y(v,{readable:y,writable:w},function(p){if(p)return b(p);x=!0,b()});var u=!1;return function(p){if(x)return;if(u)return;if(u=!0,j(v))return v.abort();if(typeof v.destroy==="function")return v.destroy();b(p||new Z("pipe"))}}function E(v){v()}function C(v,y){return v.pipe(y)}function _(v){if(!v.length)return M;if(typeof v[v.length-1]!=="function")return M;return v.pop()}function B(){for(var v=arguments.length,y=Array(v),w=0;w<v;w++)y[w]=arguments[w];var b=_(y);if(Array.isArray(y[0]))y=y[0];if(y.length<2)throw new O("streams");var x,u=y.map(function(p,d){var a=d<y.length-1,H0=d>0;return q(p,a,H0,function(M0){if(!x)x=M0;if(M0)u.forEach(E);if(a)return;u.forEach(E),b(x)})});return y.reduce(C)}J.exports=B}),_N=NU((I,J)=>{var Y=vQ();I=J.exports=PN(),I.Stream=Y||I,I.Readable=I,I.Writable=TN(),I.Duplex=DY(),I.Transform=RN(),I.PassThrough=Rp(),I.finished=d7(),I.pipeline=_p()}),qN=NU((I)=>{var J=LN(),Y=LJ(),K=_N(),X=I.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},O=I.IncomingMessage=function(Z,M,j,q){var E=this;if(K.Readable.call(E),E._mode=j,E.headers={},E.rawHeaders=[],E.trailers={},E.rawTrailers=[],E.on("end",function(){process.nextTick(function(){E.emit("close")})}),j==="fetch"){let b=function(){B.read().then(function(x){if(E._destroyed)return;if(q(x.done),x.done){E.push(null);return}E.push(Buffer.from(x.value)),b()}).catch(function(x){if(q(!0),!E._destroyed)E.emit("error",x)})};var C=b;if(E._fetchResponse=M,E.url=M.url,E.statusCode=M.status,E.statusMessage=M.statusText,M.headers.forEach(function(x,u){E.headers[u.toLowerCase()]=x,E.rawHeaders.push(u,x)}),J.writableStream){var _=new WritableStream({write:function(x){return q(!1),new Promise(function(u,p){if(E._destroyed)p();else if(E.push(Buffer.from(x)))u();else E._resumeFetch=u})},close:function(){if(q(!0),!E._destroyed)E.push(null)},abort:function(x){if(q(!0),!E._destroyed)E.emit("error",x)}});try{M.body.pipeTo(_).catch(function(x){if(q(!0),!E._destroyed)E.emit("error",x)});return}catch(x){}}var B=M.body.getReader();b()}else{E._xhr=Z,E._pos=0,E.url=Z.responseURL,E.statusCode=Z.status,E.statusMessage=Z.statusText;var v=Z.getAllResponseHeaders().split(/\r?\n/);if(v.forEach(function(b){var x=b.match(/^([^:]+):\s*(.*)/);if(x){var u=x[1].toLowerCase();if(u==="set-cookie"){if(E.headers[u]===void 0)E.headers[u]=[];E.headers[u].push(x[2])}else if(E.headers[u]!==void 0)E.headers[u]+=", "+x[2];else E.headers[u]=x[2];E.rawHeaders.push(x[1],x[2])}}),E._charset="x-user-defined",!J.overrideMimeType){var y=E.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);if(w)E._charset=w[1].toLowerCase()}if(!E._charset)E._charset="utf-8"}}};Y(O,K.Readable),O.prototype._read=function(){var Z=this,M=Z._resumeFetch;if(M)Z._resumeFetch=null,M()},O.prototype._onXHRProgress=function(Z){var M=this,j=M._xhr,q=null;switch(M._mode){case"text":if(q=j.responseText,q.length>M._pos){var E=q.substr(M._pos);if(M._charset==="x-user-defined"){var C=Buffer.alloc(E.length);for(var _=0;_<E.length;_++)C[_]=E.charCodeAt(_)&255;M.push(C)}else M.push(E,M._charset);M._pos=q.length}break;case"arraybuffer":if(j.readyState!==X.DONE||!j.response)break;q=j.response,M.push(Buffer.from(new Uint8Array(q)));break;case"moz-chunked-arraybuffer":if(q=j.response,j.readyState!==X.LOADING||!q)break;M.push(Buffer.from(new Uint8Array(q)));break;case"ms-stream":if(q=j.response,j.readyState!==X.LOADING)break;var B=new globalThis.MSStreamReader;B.onprogress=function(){if(B.result.byteLength>M._pos)M.push(Buffer.from(new Uint8Array(B.result.slice(M._pos)))),M._pos=B.result.byteLength},B.onload=function(){Z(!0),M.push(null)},B.readAsArrayBuffer(q);break}if(M._xhr.readyState===X.DONE&&M._mode!=="ms-stream")Z(!0),M.push(null)}}),qp=NU((I,J)=>{var Y=LN(),K=LJ(),X=qN(),O=_N(),Z=X.IncomingMessage,M=X.readyStates;function j(_,B){if(Y.fetch&&B)return"fetch";else if(Y.mozchunkedarraybuffer)return"moz-chunked-arraybuffer";else if(Y.msstream)return"ms-stream";else if(Y.arraybuffer&&_)return"arraybuffer";else return"text"}var q=J.exports=function(_){var B=this;if(O.Writable.call(B),B._opts=_,B._body=[],B._headers={},_.auth)B.setHeader("Authorization","Basic "+Buffer.from(_.auth).toString("base64"));Object.keys(_.headers).forEach(function(w){B.setHeader(w,_.headers[w])});var v,y=!0;if(_.mode==="disable-fetch"||"requestTimeout"in _&&!Y.abortController)y=!1,v=!0;else if(_.mode==="prefer-streaming")v=!1;else if(_.mode==="allow-wrong-content-type")v=!Y.overrideMimeType;else if(!_.mode||_.mode==="default"||_.mode==="prefer-fast")v=!0;else throw Error("Invalid value for opts.mode");B._mode=j(v,y),B._fetchTimer=null,B._socketTimeout=null,B._socketTimer=null,B.on("finish",function(){B._onFinish()})};K(q,O.Writable),q.prototype.setHeader=function(_,B){var v=this,y=_.toLowerCase();if(C.indexOf(y)!==-1)return;v._headers[y]={name:_,value:B}},q.prototype.getHeader=function(_){var B=this._headers[_.toLowerCase()];if(B)return B.value;return null},q.prototype.removeHeader=function(_){var B=this;delete B._headers[_.toLowerCase()]},q.prototype._onFinish=function(){var _=this;if(_._destroyed)return;var B=_._opts;if("timeout"in B&&B.timeout!==0)_.setTimeout(B.timeout);var v=_._headers,y=null;if(B.method!=="GET"&&B.method!=="HEAD")y=new Blob(_._body,{type:(v["content-type"]||{}).value||""});var w=[];if(Object.keys(v).forEach(function(p){var d=v[p].name,a=v[p].value;if(Array.isArray(a))a.forEach(function(H0){w.push([d,H0])});else w.push([d,a])}),_._mode==="fetch"){var b=null;if(Y.abortController){var x=new AbortController;if(b=x.signal,_._fetchAbortController=x,"requestTimeout"in B&&B.requestTimeout!==0)_._fetchTimer=globalThis.setTimeout(function(){if(_.emit("requestTimeout"),_._fetchAbortController)_._fetchAbortController.abort()},B.requestTimeout)}globalThis.fetch(_._opts.url,{method:_._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:B.withCredentials?"include":"same-origin",signal:b}).then(function(p){_._fetchResponse=p,_._resetTimers(!1),_._connect()},function(p){if(_._resetTimers(!0),!_._destroyed)_.emit("error",p)})}else{var u=_._xhr=new globalThis.XMLHttpRequest;try{u.open(_._opts.method,_._opts.url,!0)}catch(p){process.nextTick(function(){_.emit("error",p)});return}if("responseType"in u)u.responseType=_._mode;if("withCredentials"in u)u.withCredentials=!!B.withCredentials;if(_._mode==="text"&&"overrideMimeType"in u)u.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in B)u.timeout=B.requestTimeout,u.ontimeout=function(){_.emit("requestTimeout")};if(w.forEach(function(p){u.setRequestHeader(p[0],p[1])}),_._response=null,u.onreadystatechange=function(){switch(u.readyState){case M.LOADING:case M.DONE:_._onXHRProgress();break}},_._mode==="moz-chunked-arraybuffer")u.onprogress=function(){_._onXHRProgress()};u.onerror=function(){if(_._destroyed)return;_._resetTimers(!0),_.emit("error",Error("XHR error"))};try{u.send(y)}catch(p){process.nextTick(function(){_.emit("error",p)});return}}};function E(_){try{var B=_.status;return B!==null&&B!==0}catch(v){return!1}}q.prototype._onXHRProgress=function(){var _=this;if(_._resetTimers(!1),!E(_._xhr)||_._destroyed)return;if(!_._response)_._connect();_._response._onXHRProgress(_._resetTimers.bind(_))},q.prototype._connect=function(){var _=this;if(_._destroyed)return;_._response=new Z(_._xhr,_._fetchResponse,_._mode,_._resetTimers.bind(_)),_._response.on("error",function(B){_.emit("error",B)}),_.emit("response",_._response)},q.prototype._write=function(_,B,v){var y=this;y._body.push(_),v()},q.prototype._resetTimers=function(_){var B=this;if(globalThis.clearTimeout(B._socketTimer),B._socketTimer=null,_)globalThis.clearTimeout(B._fetchTimer),B._fetchTimer=null;else if(B._socketTimeout)B._socketTimer=globalThis.setTimeout(function(){B.emit("timeout")},B._socketTimeout)},q.prototype.abort=q.prototype.destroy=function(_){var B=this;if(B._destroyed=!0,B._resetTimers(!0),B._response)B._response._destroyed=!0;if(B._xhr)B._xhr.abort();else if(B._fetchAbortController)B._fetchAbortController.abort();if(_)B.emit("error",_)},q.prototype.end=function(_,B,v){var y=this;if(typeof _==="function")v=_,_=void 0;O.Writable.prototype.end.call(y,_,B,v)},q.prototype.setTimeout=function(_,B){var v=this;if(B)v.once("timeout",B);v._socketTimeout=_,v._resetTimers(!1)},q.prototype.flushHeaders=function(){},q.prototype.setNoDelay=function(){},q.prototype.setSocketKeepAlive=function(){};var C=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}),Ep=NU((I,J)=>{J.exports=K;var Y=Object.prototype.hasOwnProperty;function K(){var X={};for(var O=0;O<arguments.length;O++){var Z=arguments[O];for(var M in Z)if(Y.call(Z,M))X[M]=Z[M]}return X}}),Sp=NU((I,J)=>{J.exports=(n7(),j$(jN)).STATUS_CODES}),jp=NU((I)=>{var J=qp(),Y=qN(),K=Ep(),X=Sp(),O=(HN(),j$(DN)),Z=I;Z.request=function(M,j){if(typeof M==="string")M=O.parse(M);else M=K(M);var q=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",E=M.protocol||q,C=M.hostname||M.host,_=M.port,B=M.path||"/";if(C&&C.indexOf(":")!==-1)C="["+C+"]";M.url=(C?E+"//"+C:"")+(_?":"+_:"")+B,M.method=(M.method||"GET").toUpperCase(),M.headers=M.headers||{};var v=new J(M);if(j)v.on("response",j);return v},Z.get=function(M,j){var q=Z.request(M,j);return q.end(),q},Z.ClientRequest=J,Z.IncomingMessage=Y.IncomingMessage,Z.Agent=function(){},Z.Agent.defaultMaxSockets=4,Z.globalAgent=new Z.Agent,Z.STATUS_CODES=X,Z.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}),EN=Fp(jp(),1),{request:Bp,get:Np,ClientRequest:vp,IncomingMessage:kp,Agent:xp,globalAgent:gp,STATUS_CODES:wp,METHODS:fp}=EN.default,SN=EN.default});var cN=ZI((R60,bN)=>{function kN(I,J,Y){if(!I||typeof I!=="object"||Array.isArray(I)||Object.keys(I).some((K)=>!J.includes(K)))throw Error(`${Y} has an invalid shape`);return I}function $m(I){if(!Array.isArray(I)||I.length>256)throw Error("World network egress must be an array of at most 256 exact HTTPS origins");let J=I.map((Y)=>{if(typeof Y!=="string"||Y.length>2048)throw Error("World network egress origins must be strings");let K;try{K=new URL(Y)}catch{throw Error(`Invalid World network origin: ${Y}`)}if(K.protocol!=="https:"||K.origin!==Y||K.username||K.password||!/^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/.test(K.hostname)||K.hostname.split(".").some((X)=>!X||X.length>63||X.startsWith("-")||X.endsWith("-"))||/^[\d.]+$/.test(K.hostname)||K.hostname==="localhost"||K.hostname.endsWith(".localhost"))throw Error(`World network requires an exact canonical HTTPS origin: ${Y}`);return Y});return Object.freeze([...new Set(J)].sort())}function xN(I){let J=kN(I,["egress"],"World network");return Object.freeze({egress:$m(J.egress)})}function gN(I,J){if(typeof I!=="string"||!I||I.length>256)throw Error("World network policy requires its World identity");return Object.freeze({version:1,world:I,egress:xN(J).egress})}function wN(I){let J=kN(I,["version","world","egress"],"World network policy");if(J.version!==1)throw Error("Unsupported World network policy version");return gN(J.world,{egress:J.egress})}function fN(I){let J=I.VOLTER_WORLD_NETWORK_POLICY;if(J===void 0)return;if(typeof J!=="string"||J.length>65536)throw Error("Invalid published World network policy");let Y=wN(JSON.parse(J));if(!I.VOLTER_WORLD||Y.world!==I.VOLTER_WORLD)throw Error("World network policy does not belong to the attached World");return Y}function yN(I,J){let Y;try{Y=new URL(String(J))}catch{return!1}return Y.protocol==="https:"&&!Y.username&&!Y.password&&I.egress.includes(Y.origin)}function uN(I){let J=String(I||"").toLowerCase().replace(/^\[|\]$/g,"");if(!J)return!0;if(J==="localhost"||J.endsWith(".localhost")||J.endsWith(".test")||J==="0.0.0.0"||J==="::1")return!0;let Y=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/.exec(J);if(Y){let K=Number(Y[1]),X=Number(Y[2]);return K===127||K===10||K===172&&X>=16&&X<=31||K===192&&X===168||K===169&&X===254}return J.includes(":")&&(J.startsWith("fc")||J.startsWith("fd")||J.startsWith("fe80:"))}function Um(I,J=process.env){let Y;try{Y=new URL(String(I))}catch{return`unparseable destination ${String(I)}`}if(uN(Y.hostname))return null;if(J.VOLTER_TWIN_STRICT_EGRESS==="1"||J.VOLTER_TWIN_STRICT_EGRESS==="true")return`sealed World refuses untwinned host ${Y.hostname}`;let K;try{K=fN(J)}catch(X){return`World network policy unreadable (${X.message}); refusing ${Y.hostname}`}if(K!==void 0&&!yN(K,Y))return`World network policy does not allow ${Y.origin}`;return null}bN.exports={isWorldInternalHost:uN,worldEgressRefusal:Um,WORLD_NETWORK_POLICY_ENV:"VOLTER_WORLD_NETWORK_POLICY",normalizeWorldNetwork:xN,createWorldNetworkPolicy:gN,parseWorldNetworkPolicy:wN,worldNetworkPolicyFromEnv:fN,allowsWorldNetworkEgress:yN}});var i7=ZI((Xm)=>{var TJ=w4(nG());(function(){function I(z){if(z==null)return null;if(typeof z==="function")return z.$$typeof===t?null:z.displayName||z.name||null;if(typeof z==="string")return z;switch(z){case y:return"Fragment";case b:return"Profiler";case w:return"StrictMode";case d:return"Suspense";case a:return"SuspenseList";case q0:return"Activity"}if(typeof z==="object")switch(typeof z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case v:return"Portal";case u:return z.displayName||"Context";case x:return(z._context.displayName||"Context")+".Consumer";case p:var T=z.render;return z=z.displayName,z||(z=T.displayName||T.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case H0:return T=z.displayName||null,T!==null?T:I(z.type)||"Memo";case M0:T=z._payload,z=z._init;try{return I(z(T))}catch(g){}}return null}function J(z){return""+z}function Y(z){try{J(z);var T=!1}catch(c){T=!0}if(T){T=console;var g=T.error,N=typeof Symbol==="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return g.call(T,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",N),J(z)}}function K(z){if(z===y)return"<>";if(typeof z==="object"&&z!==null&&z.$$typeof===M0)return"<...>";try{var T=I(z);return T?"<"+T+">":"<...>"}catch(g){return"<...>"}}function X(){var z=T0.A;return z===null?null:z.getOwner()}function O(){return Error("react-stack-top-frame")}function Z(z){if(G.call(z,"key")){var T=Object.getOwnPropertyDescriptor(z,"key").get;if(T&&T.isReactWarning)return!1}return z.key!==void 0}function M(z,T){function g(){W||(W=!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)",T))}g.isReactWarning=!0,Object.defineProperty(z,"key",{get:g,configurable:!0})}function j(){var z=I(this.type);return H[z]||(H[z]=!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.")),z=this.props.ref,z!==void 0?z:null}function q(z,T,g,N,c,r){var U0=g.ref;return z={$$typeof:B,type:z,key:T,props:g,_owner:N},(U0!==void 0?U0:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:j}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function E(z,T,g,N,c,r){var U0=T.children;if(U0!==void 0)if(N)if(V(U0)){for(N=0;N<U0.length;N++)C(U0[N]);Object.freeze&&Object.freeze(U0)}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 C(U0);if(G.call(T,"key")){U0=I(z);var O0=Object.keys(T).filter(function(s){return s!=="key"});N=0<O0.length?"{key: someKey, "+O0.join(": ..., ")+": ...}":"{key: someKey}",A[U0+N]||(O0=0<O0.length?"{"+O0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
247
|
+
let props = %s;
|
|
248
|
+
<%s {...props} />
|
|
249
|
+
React keys must be passed directly to JSX without using spread:
|
|
250
|
+
let props = %s;
|
|
251
|
+
<%s key={someKey} {...props} />`,N,U0,O0,U0),A[U0+N]=!0)}if(U0=null,g!==void 0&&(Y(g),U0=""+g),Z(T)&&(Y(T.key),U0=""+T.key),"key"in T){g={};for(var Q0 in T)Q0!=="key"&&(g[Q0]=T[Q0])}else g=T;return U0&&M(g,typeof z==="function"?z.displayName||z.name||"Unknown":z),q(z,U0,g,X(),c,r)}function C(z){_(z)?z._store&&(z._store.validated=1):typeof z==="object"&&z!==null&&z.$$typeof===M0&&(z._payload.status==="fulfilled"?_(z._payload.value)&&z._payload.value._store&&(z._payload.value._store.validated=1):z._store&&(z._store.validated=1))}function _(z){return typeof z==="object"&&z!==null&&z.$$typeof===B}var B=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),a=Symbol.for("react.suspense_list"),H0=Symbol.for("react.memo"),M0=Symbol.for("react.lazy"),q0=Symbol.for("react.activity"),t=Symbol.for("react.client.reference"),T0=TJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=Object.prototype.hasOwnProperty,V=Array.isArray,F=console.createTask?console.createTask:function(){return null};TJ={react_stack_bottom_frame:function(z){return z()}};var W,H={},P=TJ.react_stack_bottom_frame.bind(TJ,O)(),S=F(K(O)),A={};Xm.Fragment=y,Xm.jsxDEV=function(z,T,g,N){var c=1e4>T0.recentlyCreatedOwnerStacks++;return E(z,T,g,N,c?Error("react-stack-top-frame"):P,c?F(K(z)):S)}})()});var KU=w4(nG(),1),dN=w4(Nq(),1);var{readFile:r60}=(()=>({}));uU();var{closeSync:ei,existsSync:$r,fstatSync:Ur,mkdirSync:Ir,openSync:Xr,readFileSync:Jr,renameSync:Qr,rmSync:Yr,statSync:Gr,writeFileSync:Zr,writeSync:zr}=(()=>({}));var PO=function(){if(typeof location<"u")return location.hostname;else return""};var LD=function(){return"/"};function N1(I){if(typeof I!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(I))}function QS(I,J){var Y="",K=0,X=-1,O=0,Z;for(var M=0;M<=I.length;++M){if(M<I.length)Z=I.charCodeAt(M);else if(Z===47)break;else Z=47;if(Z===47){if(X===M-1||O===1);else if(X!==M-1&&O===2){if(Y.length<2||K!==2||Y.charCodeAt(Y.length-1)!==46||Y.charCodeAt(Y.length-2)!==46){if(Y.length>2){var j=Y.lastIndexOf("/");if(j!==Y.length-1){if(j===-1)Y="",K=0;else Y=Y.slice(0,j),K=Y.length-1-Y.lastIndexOf("/");X=M,O=0;continue}}else if(Y.length===2||Y.length===1){Y="",K=0,X=M,O=0;continue}}if(J){if(Y.length>0)Y+="/..";else Y="..";K=2}}else{if(Y.length>0)Y+="/"+I.slice(X+1,M);else Y=I.slice(X+1,M);K=M-X-1}X=M,O=0}else if(Z===46&&O!==-1)++O;else O=-1}return Y}function Ny(I,J){var Y=J.dir||J.root,K=J.base||(J.name||"")+(J.ext||"");if(!Y)return K;if(Y===J.root)return Y+K;return Y+I+K}function t4(){var I="",J=!1,Y;for(var K=arguments.length-1;K>=-1&&!J;K--){var X;if(K>=0)X=arguments[K];else{if(Y===void 0)Y=process.cwd();X=Y}if(N1(X),X.length===0)continue;I=X+"/"+I,J=X.charCodeAt(0)===47}if(I=QS(I,!J),J)if(I.length>0)return"/"+I;else return"/";else if(I.length>0)return I;else return"."}function YS(I){if(N1(I),I.length===0)return".";var J=I.charCodeAt(0)===47,Y=I.charCodeAt(I.length-1)===47;if(I=QS(I,!J),I.length===0&&!J)I=".";if(I.length>0&&Y)I+="/";if(J)return"/"+I;return I}function xQ(I){return N1(I),I.length>0&&I.charCodeAt(0)===47}function t$(){if(arguments.length===0)return".";var I;for(var J=0;J<arguments.length;++J){var Y=arguments[J];if(N1(Y),Y.length>0)if(I===void 0)I=Y;else I+="/"+Y}if(I===void 0)return".";return YS(I)}function GS(I,J){if(N1(I),N1(J),I===J)return"";if(I=t4(I),J=t4(J),I===J)return"";var Y=1;for(;Y<I.length;++Y)if(I.charCodeAt(Y)!==47)break;var K=I.length,X=K-Y,O=1;for(;O<J.length;++O)if(J.charCodeAt(O)!==47)break;var Z=J.length,M=Z-O,j=X<M?X:M,q=-1,E=0;for(;E<=j;++E){if(E===j){if(M>j){if(J.charCodeAt(O+E)===47)return J.slice(O+E+1);else if(E===0)return J.slice(O+E)}else if(X>j){if(I.charCodeAt(Y+E)===47)q=E;else if(E===0)q=0}break}var C=I.charCodeAt(Y+E),_=J.charCodeAt(O+E);if(C!==_)break;else if(C===47)q=E}var B="";for(E=Y+q+1;E<=K;++E)if(E===K||I.charCodeAt(E)===47)if(B.length===0)B+="..";else B+="/..";if(B.length>0)return B+J.slice(O+q);else{if(O+=q,J.charCodeAt(O)===47)++O;return J.slice(O)}}function vy(I){return I}function rU(I){if(N1(I),I.length===0)return".";var J=I.charCodeAt(0),Y=J===47,K=-1,X=!0;for(var O=I.length-1;O>=1;--O)if(J=I.charCodeAt(O),J===47){if(!X){K=O;break}}else X=!1;if(K===-1)return Y?"/":".";if(Y&&K===1)return"//";return I.slice(0,K)}function J2(I,J){if(J!==void 0&&typeof J!=="string")throw TypeError('"ext" argument must be a string');N1(I);var Y=0,K=-1,X=!0,O;if(J!==void 0&&J.length>0&&J.length<=I.length){if(J.length===I.length&&J===I)return"";var Z=J.length-1,M=-1;for(O=I.length-1;O>=0;--O){var j=I.charCodeAt(O);if(j===47){if(!X){Y=O+1;break}}else{if(M===-1)X=!1,M=O+1;if(Z>=0)if(j===J.charCodeAt(Z)){if(--Z===-1)K=O}else Z=-1,K=M}}if(Y===K)K=M;else if(K===-1)K=I.length;return I.slice(Y,K)}else{for(O=I.length-1;O>=0;--O)if(I.charCodeAt(O)===47){if(!X){Y=O+1;break}}else if(K===-1)X=!1,K=O+1;if(K===-1)return"";return I.slice(Y,K)}}function ky(I){N1(I);var J=-1,Y=0,K=-1,X=!0,O=0;for(var Z=I.length-1;Z>=0;--Z){var M=I.charCodeAt(Z);if(M===47){if(!X){Y=Z+1;break}continue}if(K===-1)X=!1,K=Z+1;if(M===46){if(J===-1)J=Z;else if(O!==1)O=1}else if(J!==-1)O=-1}if(J===-1||K===-1||O===0||O===1&&J===K-1&&J===Y+1)return"";return I.slice(J,K)}function xy(I){if(I===null||typeof I!=="object")throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof I);return Ny("/",I)}function gy(I){N1(I);var J={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return J;var Y=I.charCodeAt(0),K=Y===47,X;if(K)J.root="/",X=1;else X=0;var O=-1,Z=0,M=-1,j=!0,q=I.length-1,E=0;for(;q>=X;--q){if(Y=I.charCodeAt(q),Y===47){if(!j){Z=q+1;break}continue}if(M===-1)j=!1,M=q+1;if(Y===46){if(O===-1)O=q;else if(E!==1)E=1}else if(O!==-1)E=-1}if(O===-1||M===-1||E===0||E===1&&O===M-1&&O===Z+1){if(M!==-1)if(Z===0&&K)J.base=J.name=I.slice(1,M);else J.base=J.name=I.slice(Z,M)}else{if(Z===0&&K)J.name=I.slice(1,O),J.base=I.slice(1,M);else J.name=I.slice(Z,O),J.base=I.slice(Z,M);J.ext=I.slice(O,M)}if(Z>0)J.dir=I.slice(0,Z-1);else if(K)J.dir="/";return J}var ZS="/",wy=":",Jd=((I)=>(I.posix=I,I))({resolve:t4,normalize:YS,isAbsolute:xQ,join:t$,relative:GS,_makeLong:vy,dirname:rU,basename:J2,extname:ky,format:xy,parse:gy,sep:ZS,delimiter:wy,win32:null,posix:null});function Q2(){let I=process.env.VOLTER_HOME;return I!==void 0&&I!==""?I:t$(LD(),".volter")}uU();uU();var{appendFileSync:fy,chmodSync:zS,closeSync:RO,existsSync:Y2,fsyncSync:yy,fstatSync:OS,lstatSync:KS,mkdirSync:G2,openSync:_O,readdirSync:uy,readSync:by,realpathSync:cy,readFileSync:CD,renameSync:WS,rmSync:VS,statSync:FS,unlinkSync:AD,writeFileSync:Z2}=(()=>({}));var hy=0,py=60000;function TD(I){try{return JSON.parse(CD(I,"utf8"))}catch{return null}}function my(I){try{return process.kill(I,0),!0}catch(J){return J.code==="EPERM"}}function DS(I,J=!1){let Y=TD(I);if(Y&&Y.hostname===PO()&&Number.isInteger(Y.pid)&&!my(Y.pid))return!0;if(J)return!1;let X=Y&&typeof Y.at==="string"?Date.parse(Y.at):NaN;if(!Number.isFinite(X))try{X=FS(I).mtimeMs}catch{return!1}return Date.now()-X>py}function HS(I){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,I)}class PD{read(I){if(!Y2(I))return null;return CD(I,"utf8")}readLines(I){if(!Y2(I))return[];return CD(I,"utf8").split(`
|
|
252
|
+
`)}readRange(I,J){let Y;try{Y=_O(I,"r")}catch(K){if(K.code==="ENOENT")return null;throw K}try{let K=OS(Y).size;if(J>=K)return"";let X=Buffer.allocUnsafe(K-J),O=0;while(O<X.length){let Z=by(Y,X,O,X.length-O,J+O);if(Z===0)break;O+=Z}return X.toString("utf8",0,O)}finally{RO(Y)}}append(I,J){let Y=_O(I,"a");try{if(fy(Y,J),process.env.VOLTER_DURABLE==="1")yy(Y)}finally{RO(Y)}}write(I,J,Y={}){if(!Y.secret){G2(rU(I),{recursive:!0}),Z2(I,J);return}G2(rU(I),{recursive:!0,mode:448}),Z2(I,J,{mode:384}),zS(I,384)}writeAtomic(I,J,Y={}){G2(rU(I),{recursive:!0});let K=`${I}.${process.pid}.${Date.now()}.${hy++}.tmp`;try{if(Z2(K,J,Y.secret?{mode:384}:void 0),WS(K,I),Y.secret)zS(I,384)}finally{VS(K,{force:!0})}}exists(I){return Y2(I)}remove(I){VS(I,{recursive:!0,force:!0})}mkdir(I){G2(I,{recursive:!0})}list(I){if(!Y2(I))return[];return uy(I)}canonicalPath(I){let J=t4(I);try{return cy(J)}catch(Y){if(Y.code!=="ENOENT"||rU(J)===J)throw Y;return t$(this.canonicalPath(rU(J)),J2(J))}}stat(I){if(!Y2(I))return null;let J=FS(I);return{size:J.size,mtimeMs:J.mtimeMs,isDirectory:J.isDirectory(),...KS(I).isSymbolicLink()?{isSymbolicLink:!0}:{}}}withLock(I,J,Y={}){G2(rU(I),{recursive:!0});let K=Date.now(),X=null;while(X===null)try{X=_O(I,"wx")}catch(Z){if(Z.code!=="EEXIST")throw Z;if(DS(I,Y.retainLiveOwner)){let j=`${I}.recovery`,q;try{q=_O(j,"wx")}catch(E){if(E.code!=="EEXIST")throw E;if(Date.now()-K>1e4)throw Error(`Lock recovery is active or interrupted: ${j}. Inspect its owner before removing the recovery record.`);HS(25);continue}try{if(Z2(q,JSON.stringify({pid:process.pid,hostname:PO()})),DS(I,Y.retainLiveOwner)){let E=TD(I),C=`${I}.stale.${process.pid}.${Date.now()}`;try{WS(I,C),console.warn(`[world] reclaiming stale storage lock ${I} (held by pid ${E?.pid??"?"} on ${E?.hostname??"?"})`),AD(C)}catch(_){if(_.code!=="ENOENT")throw _}}}finally{RO(q),AD(j)}continue}if(Date.now()-K>1e4){let j=TD(I),q=j&&typeof j.at==="string"?Date.parse(j.at):NaN;throw Error(`Timed out waiting for world storage lock: ${I}${j?` (held by pid ${j.pid} on ${j.hostname}${Number.isFinite(q)?` for ${Date.now()-q}ms`:""})`:""}`)}HS(25)}try{Z2(X,`${JSON.stringify({pid:process.pid,hostname:PO(),at:new Date().toISOString()})}
|
|
253
|
+
`)}catch{}let O=Date.now();try{return J()}finally{let Z=Date.now()-O;if(Z>2000)console.warn(`[world] held storage lock ${I} for ${Z}ms (pid ${process.pid})
|
|
254
|
+
${Error().stack?.split(`
|
|
255
|
+
`).slice(2,8).join(`
|
|
256
|
+
`)??""}`);let M=OS(X);RO(X);try{let j=KS(I);if(M.dev===j.dev&&M.ino===j.ino)AD(I)}catch{}}}}var ly=new PD,dy=(()=>{try{let I=globalThis.process?.getBuiltinModule?.("node:async_hooks");return I?.AsyncLocalStorage?new I.AsyncLocalStorage:null}catch{return null}})();function y6(){return dy?.getStore()??ly}uU();var q$={};g6(q$,{xor:()=>ej,xid:()=>Pj,void:()=>oj,uuidv7:()=>Dj,uuidv6:()=>Vj,uuidv4:()=>Wj,uuid:()=>Kj,util:()=>Z$,url:()=>Hj,uppercase:()=>nQ,unknown:()=>HJ,union:()=>$8,undefined:()=>dj,ulid:()=>Tj,uint64:()=>mj,uint32:()=>cj,tuple:()=>aL,trim:()=>sQ,treeifyError:()=>pD,transform:()=>I8,toUpperCase:()=>$Y,toLowerCase:()=>eQ,toJSONSchema:()=>SK,templateLiteral:()=>VB,symbol:()=>lj,superRefine:()=>q7,success:()=>zB,stringbool:()=>TB,stringFormat:()=>xj,string:()=>k2,strictObject:()=>aj,startsWith:()=>iQ,slugify:()=>UY,size:()=>WJ,setErrorMap:()=>xc,set:()=>JB,safeParseAsync:()=>qL,safeParse:()=>_L,safeEncodeAsync:()=>kL,safeEncode:()=>NL,safeDecodeAsync:()=>xL,safeDecode:()=>vL,registry:()=>sO,regexes:()=>A4,regex:()=>lQ,refine:()=>_7,record:()=>sL,readonly:()=>L7,property:()=>RK,promise:()=>DB,prettifyError:()=>mD,preprocess:()=>RB,prefault:()=>O7,positive:()=>AK,pipe:()=>gK,partialRecord:()=>UB,parseAsync:()=>RL,parse:()=>PL,overwrite:()=>a4,optional:()=>g2,object:()=>tj,number:()=>wL,nullish:()=>ZB,nullable:()=>w2,null:()=>cL,normalize:()=>aQ,nonpositive:()=>TK,nonoptional:()=>K7,nonnegative:()=>PK,never:()=>eK,negative:()=>CK,nativeEnum:()=>QB,nanoid:()=>Lj,nan:()=>OB,multipleOf:()=>OX,minSize:()=>g1,minLength:()=>DI,mime:()=>tQ,meta:()=>AB,maxSize:()=>KX,maxLength:()=>VJ,map:()=>XB,mac:()=>qj,lte:()=>C4,lt:()=>k1,lowercase:()=>dQ,looseRecord:()=>IB,looseObject:()=>sj,locales:()=>j2,literal:()=>YB,length:()=>DJ,lazy:()=>T7,ksuid:()=>Rj,keyof:()=>rj,jwt:()=>kj,json:()=>PB,iso:()=>JY,ipv6:()=>Ej,ipv4:()=>_j,invertCodec:()=>WB,intersection:()=>rL,int64:()=>pj,int32:()=>bj,int:()=>xK,instanceof:()=>CB,includes:()=>oQ,httpUrl:()=>Fj,hostname:()=>gj,hex:()=>wj,hash:()=>fj,guid:()=>Oj,gte:()=>c6,gt:()=>x1,globalRegistry:()=>C6,getErrorMap:()=>gc,function:()=>HB,fromJSONSchema:()=>qB,formatError:()=>M2,float64:()=>uj,float32:()=>yj,flattenError:()=>F2,file:()=>GB,exactOptional:()=>Q7,enum:()=>U8,endsWith:()=>rQ,encodeAsync:()=>jL,encode:()=>EL,emoji:()=>Mj,email:()=>zj,e164:()=>vj,discriminatedUnion:()=>$B,describe:()=>LB,decodeAsync:()=>BL,decode:()=>SL,date:()=>ij,custom:()=>MB,cuid2:()=>Cj,cuid:()=>Aj,core:()=>HI,config:()=>tU,coerce:()=>S7,codec:()=>KB,clone:()=>u6,cidrv6:()=>jj,cidrv4:()=>Sj,check:()=>FB,catch:()=>D7,boolean:()=>fL,bigint:()=>hj,base64url:()=>Nj,base64:()=>Bj,array:()=>b2,any:()=>nj,_function:()=>HB,_default:()=>Z7,_ZodString:()=>wK,ZodXor:()=>nL,ZodXID:()=>pK,ZodVoid:()=>lL,ZodUnknown:()=>pL,ZodUnion:()=>h2,ZodUndefined:()=>uL,ZodUUID:()=>w1,ZodURL:()=>y2,ZodULID:()=>hK,ZodType:()=>g$,ZodTuple:()=>tL,ZodTransform:()=>X7,ZodTemplateLiteral:()=>A7,ZodSymbol:()=>yL,ZodSuccess:()=>W7,ZodStringFormat:()=>OU,ZodString:()=>GY,ZodSet:()=>$7,ZodRecord:()=>QY,ZodRealError:()=>e6,ZodReadonly:()=>M7,ZodPromise:()=>P7,ZodPreprocess:()=>F7,ZodPrefault:()=>z7,ZodPipe:()=>p2,ZodOptional:()=>X8,ZodObject:()=>c2,ZodNumberFormat:()=>FJ,ZodNumber:()=>zY,ZodNullable:()=>Y7,ZodNull:()=>bL,ZodNonOptional:()=>J8,ZodNever:()=>mL,ZodNanoID:()=>uK,ZodNaN:()=>H7,ZodMap:()=>eL,ZodMAC:()=>gL,ZodLiteral:()=>U7,ZodLazy:()=>C7,ZodKSUID:()=>mK,ZodJWT:()=>aK,ZodIssueCode:()=>kc,ZodIntersection:()=>iL,ZodISOTime:()=>vK,ZodISODuration:()=>kK,ZodISODateTime:()=>BK,ZodISODate:()=>NK,ZodIPv6:()=>dK,ZodIPv4:()=>lK,ZodGUID:()=>x2,ZodFunction:()=>R7,ZodFirstPartyTypeKind:()=>E7,ZodFile:()=>I7,ZodExactOptional:()=>J7,ZodError:()=>Nc,ZodEnum:()=>YY,ZodEmoji:()=>yK,ZodEmail:()=>fK,ZodE164:()=>tK,ZodDiscriminatedUnion:()=>oL,ZodDefault:()=>G7,ZodDate:()=>u2,ZodCustomStringFormat:()=>ZY,ZodCustom:()=>l2,ZodCodec:()=>m2,ZodCatch:()=>V7,ZodCUID2:()=>cK,ZodCUID:()=>bK,ZodCIDRv6:()=>oK,ZodCIDRv4:()=>nK,ZodBoolean:()=>OY,ZodBigIntFormat:()=>sK,ZodBigInt:()=>KY,ZodBase64URL:()=>rK,ZodBase64:()=>iK,ZodArray:()=>dL,ZodAny:()=>hL,TimePrecision:()=>a5,NEVER:()=>ND,$output:()=>d5,$input:()=>n5,$brand:()=>vD});var HI={};g6(HI,{version:()=>bH,util:()=>Z$,treeifyError:()=>pD,toJSONSchema:()=>SK,toDotPath:()=>jS,safeParseAsync:()=>dD,safeParse:()=>lD,safeEncodeAsync:()=>ku,safeEncode:()=>Nu,safeDecodeAsync:()=>xu,safeDecode:()=>vu,registry:()=>sO,regexes:()=>A4,process:()=>JU,prettifyError:()=>mD,parseAsync:()=>NO,parse:()=>BO,meta:()=>vM,locales:()=>j2,isValidJWT:()=>tS,isValidBase64URL:()=>rS,isValidBase64:()=>GF,initializeContext:()=>WX,globalRegistry:()=>C6,globalConfig:()=>GJ,formatError:()=>M2,flattenError:()=>F2,finalize:()=>DX,extractDefs:()=>VX,encodeAsync:()=>ju,encode:()=>Eu,describe:()=>NM,decodeAsync:()=>Bu,decode:()=>Su,createToJSONSchemaMethod:()=>xM,createStandardJSONSchemaMethod:()=>XY,config:()=>tU,clone:()=>u6,_xor:()=>Yc,_xid:()=>zK,_void:()=>TM,_uuidv7:()=>XK,_uuidv6:()=>IK,_uuidv4:()=>UK,_uuid:()=>$K,_url:()=>N2,_uppercase:()=>nQ,_unknown:()=>AM,_union:()=>Qc,_undefined:()=>FM,_ulid:()=>ZK,_uint64:()=>DM,_uint32:()=>ZM,_tuple:()=>zc,_trim:()=>sQ,_transform:()=>Fc,_toUpperCase:()=>$Y,_toLowerCase:()=>eQ,_templateLiteral:()=>qc,_symbol:()=>HM,_superRefine:()=>BM,_success:()=>Tc,_stringbool:()=>kM,_stringFormat:()=>IY,_string:()=>i5,_startsWith:()=>iQ,_slugify:()=>UY,_size:()=>WJ,_set:()=>Wc,_safeParseAsync:()=>hQ,_safeParse:()=>cQ,_safeEncodeAsync:()=>yO,_safeEncode:()=>wO,_safeDecodeAsync:()=>uO,_safeDecode:()=>fO,_regex:()=>lQ,_refine:()=>jM,_record:()=>Oc,_readonly:()=>_c,_property:()=>RK,_promise:()=>Sc,_positive:()=>AK,_pipe:()=>Rc,_parseAsync:()=>bQ,_parse:()=>uQ,_overwrite:()=>a4,_optional:()=>Mc,_number:()=>IM,_nullable:()=>Lc,_null:()=>MM,_normalize:()=>aQ,_nonpositive:()=>TK,_nonoptional:()=>Cc,_nonnegative:()=>PK,_never:()=>CM,_negative:()=>CK,_nativeEnum:()=>Dc,_nanoid:()=>QK,_nan:()=>_M,_multipleOf:()=>OX,_minSize:()=>g1,_minLength:()=>DI,_min:()=>c6,_mime:()=>tQ,_maxSize:()=>KX,_maxLength:()=>VJ,_max:()=>C4,_map:()=>Kc,_mac:()=>t5,_lte:()=>C4,_lt:()=>k1,_lowercase:()=>dQ,_literal:()=>Hc,_length:()=>DJ,_lazy:()=>Ec,_ksuid:()=>OK,_jwt:()=>LK,_isoTime:()=>$M,_isoDuration:()=>UM,_isoDateTime:()=>s5,_isoDate:()=>e5,_ipv6:()=>WK,_ipv4:()=>KK,_intersection:()=>Zc,_int64:()=>VM,_int32:()=>GM,_int:()=>JM,_includes:()=>oQ,_guid:()=>B2,_gte:()=>c6,_gt:()=>x1,_float64:()=>YM,_float32:()=>QM,_file:()=>EM,_enum:()=>Vc,_endsWith:()=>rQ,_encodeAsync:()=>xO,_encode:()=>vO,_emoji:()=>JK,_email:()=>eO,_e164:()=>MK,_discriminatedUnion:()=>Gc,_default:()=>Ac,_decodeAsync:()=>gO,_decode:()=>kO,_date:()=>PM,_custom:()=>SM,_cuid2:()=>GK,_cuid:()=>YK,_coercedString:()=>r5,_coercedNumber:()=>XM,_coercedDate:()=>RM,_coercedBoolean:()=>OM,_coercedBigint:()=>WM,_cidrv6:()=>DK,_cidrv4:()=>VK,_check:()=>Qj,_catch:()=>Pc,_boolean:()=>zM,_bigint:()=>KM,_base64url:()=>FK,_base64:()=>HK,_array:()=>qM,_any:()=>LM,TimePrecision:()=>a5,NEVER:()=>ND,JSONSchemaGenerator:()=>ML,JSONSchema:()=>Yj,Doc:()=>pO,$output:()=>d5,$input:()=>n5,$constructor:()=>j0,$brand:()=>vD,$ZodXor:()=>qF,$ZodXID:()=>tH,$ZodVoid:()=>TF,$ZodUnknown:()=>AF,$ZodUnion:()=>P2,$ZodUndefined:()=>FF,$ZodUUID:()=>pH,$ZodURL:()=>lH,$ZodULID:()=>rH,$ZodType:()=>E$,$ZodTuple:()=>rO,$ZodTransform:()=>gF,$ZodTemplateLiteral:()=>dF,$ZodSymbol:()=>HF,$ZodSuccess:()=>cF,$ZodStringFormat:()=>zU,$ZodString:()=>KJ,$ZodSet:()=>NF,$ZodRegistry:()=>o5,$ZodRecord:()=>jF,$ZodRealError:()=>s6,$ZodReadonly:()=>lF,$ZodPromise:()=>oF,$ZodPreprocess:()=>mF,$ZodPrefault:()=>uF,$ZodPipe:()=>aO,$ZodOptional:()=>tO,$ZodObjectJIT:()=>_F,$ZodObject:()=>eS,$ZodNumberFormat:()=>VF,$ZodNumber:()=>oO,$ZodNullable:()=>fF,$ZodNull:()=>MF,$ZodNonOptional:()=>bF,$ZodNever:()=>CF,$ZodNanoID:()=>nH,$ZodNaN:()=>pF,$ZodMap:()=>BF,$ZodMAC:()=>JF,$ZodLiteral:()=>kF,$ZodLazy:()=>iF,$ZodKSUID:()=>aH,$ZodJWT:()=>KF,$ZodIntersection:()=>SF,$ZodISOTime:()=>$F,$ZodISODuration:()=>UF,$ZodISODateTime:()=>sH,$ZodISODate:()=>eH,$ZodIPv6:()=>XF,$ZodIPv4:()=>IF,$ZodGUID:()=>hH,$ZodFunction:()=>nF,$ZodFile:()=>xF,$ZodExactOptional:()=>wF,$ZodError:()=>H2,$ZodEnum:()=>vF,$ZodEncodeError:()=>ZJ,$ZodEmoji:()=>dH,$ZodEmail:()=>mH,$ZodE164:()=>OF,$ZodDiscriminatedUnion:()=>EF,$ZodDefault:()=>yF,$ZodDate:()=>PF,$ZodCustomStringFormat:()=>WF,$ZodCustom:()=>rF,$ZodCodec:()=>R2,$ZodCheckUpperCase:()=>kH,$ZodCheckStringFormat:()=>pQ,$ZodCheckStartsWith:()=>gH,$ZodCheckSizeEquals:()=>EH,$ZodCheckRegex:()=>NH,$ZodCheckProperty:()=>fH,$ZodCheckOverwrite:()=>uH,$ZodCheckNumberFormat:()=>PH,$ZodCheckMultipleOf:()=>TH,$ZodCheckMinSize:()=>qH,$ZodCheckMinLength:()=>jH,$ZodCheckMimeType:()=>yH,$ZodCheckMaxSize:()=>_H,$ZodCheckMaxLength:()=>SH,$ZodCheckLowerCase:()=>vH,$ZodCheckLessThan:()=>cO,$ZodCheckLengthEquals:()=>BH,$ZodCheckIncludes:()=>xH,$ZodCheckGreaterThan:()=>hO,$ZodCheckEndsWith:()=>wH,$ZodCheckBigIntFormat:()=>RH,$ZodCheck:()=>FU,$ZodCatch:()=>hF,$ZodCUID2:()=>iH,$ZodCUID:()=>oH,$ZodCIDRv6:()=>YF,$ZodCIDRv4:()=>QF,$ZodBoolean:()=>T2,$ZodBigIntFormat:()=>DF,$ZodBigInt:()=>iO,$ZodBase64URL:()=>zF,$ZodBase64:()=>ZF,$ZodAsyncError:()=>v1,$ZodArray:()=>RF,$ZodAny:()=>LF});var PS,ND=Object.freeze({status:"aborted"});function j0(I,J,Y){function K(M,j){if(!M._zod)Object.defineProperty(M,"_zod",{value:{def:j,constr:Z,traits:new Set},enumerable:!1});if(M._zod.traits.has(I))return;M._zod.traits.add(I),J(M,j);let q=Z.prototype,E=Object.keys(q);for(let C=0;C<E.length;C++){let _=E[C];if(!(_ in M))M[_]=q[_].bind(M)}}let X=Y?.Parent??Object;class O extends X{}Object.defineProperty(O,"name",{value:I});function Z(M){var j;let q=Y?.Parent?new O:this;K(q,M),(j=q._zod).deferred??(j.deferred=[]);for(let E of q._zod.deferred)E();return q}return Object.defineProperty(Z,"init",{value:K}),Object.defineProperty(Z,Symbol.hasInstance,{value:(M)=>{if(Y?.Parent&&M instanceof Y.Parent)return!0;return M?._zod?.traits?.has(I)}}),Object.defineProperty(Z,"name",{value:I}),Z}var vD=Symbol("zod_brand");class v1 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class ZJ extends Error{constructor(I){super(`Encountered unidirectional transform during encode: ${I}`);this.name="ZodEncodeError"}}(PS=globalThis).__zod_globalConfig??(PS.__zod_globalConfig={});var GJ=globalThis.__zod_globalConfig;function tU(I){if(I)Object.assign(GJ,I);return GJ}var Z$={};g6(Z$,{unwrapMessage:()=>z2,uint8ArrayToHex:()=>_u,uint8ArrayToBase64url:()=>Pu,uint8ArrayToBase64:()=>qS,stringifyPrimitive:()=>Q$,slugify:()=>gD,shallowClone:()=>fD,safeExtend:()=>Fu,required:()=>Au,randomString:()=>zu,propertyKeyTypes:()=>W2,promiseAllObject:()=>Zu,primitiveTypes:()=>yD,prefixIssues:()=>a6,pick:()=>Vu,partial:()=>Lu,parsedType:()=>Y$,optionalKeys:()=>uD,omit:()=>Du,objectClone:()=>Qu,numKeys:()=>Ou,nullish:()=>YX,normalizeParams:()=>z$,mergeDefs:()=>VI,merge:()=>Mu,jsonStringifyReplacer:()=>wQ,joinValues:()=>g0,issue:()=>yQ,isPlainObject:()=>ZX,isObject:()=>zJ,hexToUint8Array:()=>Ru,getSizableOrigin:()=>V2,getParsedType:()=>Ku,getLengthableOrigin:()=>D2,getEnumValues:()=>O2,getElementAtPath:()=>Gu,floatSafeRemainder:()=>xD,finalizeIssue:()=>b6,extend:()=>Hu,explicitlyAborted:()=>hD,escapeRegex:()=>u4,esc:()=>SO,defineLazy:()=>h$,createTransparentProxy:()=>Wu,cloneDef:()=>Yu,clone:()=>u6,cleanRegex:()=>K2,cleanEnum:()=>Cu,captureStackTrace:()=>jO,cached:()=>fQ,base64urlToUint8Array:()=>Tu,base64ToUint8Array:()=>_S,assignProp:()=>GX,assertNotEqual:()=>Uu,assertNever:()=>Xu,assertIs:()=>Iu,assertEqual:()=>$u,assert:()=>Ju,allowsEval:()=>wD,aborted:()=>zX,NUMBER_FORMAT_RANGES:()=>bD,Class:()=>ES,BIGINT_FORMAT_RANGES:()=>cD});function $u(I){return I}function Uu(I){return I}function Iu(I){}function Xu(I){throw Error("Unexpected value in exhaustive check")}function Ju(I){}function O2(I){let J=Object.values(I).filter((K)=>typeof K==="number");return Object.entries(I).filter(([K,X])=>J.indexOf(+K)===-1).map(([K,X])=>X)}function g0(I,J="|"){return I.map((Y)=>Q$(Y)).join(J)}function wQ(I,J){if(typeof J==="bigint")return J.toString();return J}function fQ(I){return{get value(){{let Y=I();return Object.defineProperty(this,"value",{value:Y}),Y}throw Error("cached value already set")}}}function YX(I){return I===null||I===void 0}function K2(I){let J=I.startsWith("^")?1:0,Y=I.endsWith("$")?I.length-1:I.length;return I.slice(J,Y)}function xD(I,J){let Y=I/J,K=Math.round(Y),X=Number.EPSILON*Math.max(Math.abs(Y),1);if(Math.abs(Y-K)<X)return 0;return Y-K}var RS=Symbol("evaluating");function h$(I,J,Y){let K=void 0;Object.defineProperty(I,J,{get(){if(K===RS)return;if(K===void 0)K=RS,K=Y();return K},set(X){Object.defineProperty(I,J,{value:X})},configurable:!0})}function Qu(I){return Object.create(Object.getPrototypeOf(I),Object.getOwnPropertyDescriptors(I))}function GX(I,J,Y){Object.defineProperty(I,J,{value:Y,writable:!0,enumerable:!0,configurable:!0})}function VI(...I){let J={};for(let Y of I){let K=Object.getOwnPropertyDescriptors(Y);Object.assign(J,K)}return Object.defineProperties({},J)}function Yu(I){return VI(I._zod.def)}function Gu(I,J){if(!J)return I;return J.reduce((Y,K)=>Y?.[K],I)}function Zu(I){let J=Object.keys(I),Y=J.map((K)=>I[K]);return Promise.all(Y).then((K)=>{let X={};for(let O=0;O<J.length;O++)X[J[O]]=K[O];return X})}function zu(I=10){let Y="";for(let K=0;K<I;K++)Y+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return Y}function SO(I){return JSON.stringify(I)}function gD(I){return I.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var jO="captureStackTrace"in Error?Error.captureStackTrace:(...I)=>{};function zJ(I){return typeof I==="object"&&I!==null&&!Array.isArray(I)}var wD=fQ(()=>{if(GJ.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(I){return!1}});function ZX(I){if(zJ(I)===!1)return!1;let J=I.constructor;if(J===void 0)return!0;if(typeof J!=="function")return!0;let Y=J.prototype;if(zJ(Y)===!1)return!1;if(Object.prototype.hasOwnProperty.call(Y,"isPrototypeOf")===!1)return!1;return!0}function fD(I){if(ZX(I))return{...I};if(Array.isArray(I))return[...I];if(I instanceof Map)return new Map(I);if(I instanceof Set)return new Set(I);return I}function Ou(I){let J=0;for(let Y in I)if(Object.prototype.hasOwnProperty.call(I,Y))J++;return J}var Ku=(I)=>{let J=typeof I;switch(J){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(I)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(I))return"array";if(I===null)return"null";if(I.then&&typeof I.then==="function"&&I.catch&&typeof I.catch==="function")return"promise";if(typeof Map<"u"&&I instanceof Map)return"map";if(typeof Set<"u"&&I instanceof Set)return"set";if(typeof Date<"u"&&I instanceof Date)return"date";if(typeof File<"u"&&I instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${J}`)}},W2=new Set(["string","number","symbol"]),yD=new Set(["string","number","bigint","boolean","symbol","undefined"]);function u4(I){return I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function u6(I,J,Y){let K=new I._zod.constr(J??I._zod.def);if(!J||Y?.parent)K._zod.parent=I;return K}function z$(I){let J=I;if(!J)return{};if(typeof J==="string")return{error:()=>J};if(J?.message!==void 0){if(J?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");J.error=J.message}if(delete J.message,typeof J.error==="string")return{...J,error:()=>J.error};return J}function Wu(I){let J;return new Proxy({},{get(Y,K,X){return J??(J=I()),Reflect.get(J,K,X)},set(Y,K,X,O){return J??(J=I()),Reflect.set(J,K,X,O)},has(Y,K){return J??(J=I()),Reflect.has(J,K)},deleteProperty(Y,K){return J??(J=I()),Reflect.deleteProperty(J,K)},ownKeys(Y){return J??(J=I()),Reflect.ownKeys(J)},getOwnPropertyDescriptor(Y,K){return J??(J=I()),Reflect.getOwnPropertyDescriptor(J,K)},defineProperty(Y,K,X){return J??(J=I()),Reflect.defineProperty(J,K,X)}})}function Q$(I){if(typeof I==="bigint")return I.toString()+"n";if(typeof I==="string")return`"${I}"`;return`${I}`}function uD(I){return Object.keys(I).filter((J)=>{return I[J]._zod.optin==="optional"&&I[J]._zod.optout==="optional"})}var bD={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},cD={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Vu(I,J){let Y=I._zod.def,K=Y.checks;if(K&&K.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let O=VI(I._zod.def,{get shape(){let Z={};for(let M in J){if(!(M in Y.shape))throw Error(`Unrecognized key: "${M}"`);if(!J[M])continue;Z[M]=Y.shape[M]}return GX(this,"shape",Z),Z},checks:[]});return u6(I,O)}function Du(I,J){let Y=I._zod.def,K=Y.checks;if(K&&K.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let O=VI(I._zod.def,{get shape(){let Z={...I._zod.def.shape};for(let M in J){if(!(M in Y.shape))throw Error(`Unrecognized key: "${M}"`);if(!J[M])continue;delete Z[M]}return GX(this,"shape",Z),Z},checks:[]});return u6(I,O)}function Hu(I,J){if(!ZX(J))throw Error("Invalid input to extend: expected a plain object");let Y=I._zod.def.checks;if(Y&&Y.length>0){let O=I._zod.def.shape;for(let Z in J)if(Object.getOwnPropertyDescriptor(O,Z)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let X=VI(I._zod.def,{get shape(){let O={...I._zod.def.shape,...J};return GX(this,"shape",O),O}});return u6(I,X)}function Fu(I,J){if(!ZX(J))throw Error("Invalid input to safeExtend: expected a plain object");let Y=VI(I._zod.def,{get shape(){let K={...I._zod.def.shape,...J};return GX(this,"shape",K),K}});return u6(I,Y)}function Mu(I,J){if(I._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let Y=VI(I._zod.def,{get shape(){let K={...I._zod.def.shape,...J._zod.def.shape};return GX(this,"shape",K),K},get catchall(){return J._zod.def.catchall},checks:J._zod.def.checks??[]});return u6(I,Y)}function Lu(I,J,Y){let X=J._zod.def.checks;if(X&&X.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let Z=VI(J._zod.def,{get shape(){let M=J._zod.def.shape,j={...M};if(Y)for(let q in Y){if(!(q in M))throw Error(`Unrecognized key: "${q}"`);if(!Y[q])continue;j[q]=I?new I({type:"optional",innerType:M[q]}):M[q]}else for(let q in M)j[q]=I?new I({type:"optional",innerType:M[q]}):M[q];return GX(this,"shape",j),j},checks:[]});return u6(J,Z)}function Au(I,J,Y){let K=VI(J._zod.def,{get shape(){let X=J._zod.def.shape,O={...X};if(Y)for(let Z in Y){if(!(Z in O))throw Error(`Unrecognized key: "${Z}"`);if(!Y[Z])continue;O[Z]=new I({type:"nonoptional",innerType:X[Z]})}else for(let Z in X)O[Z]=new I({type:"nonoptional",innerType:X[Z]});return GX(this,"shape",O),O}});return u6(J,K)}function zX(I,J=0){if(I.aborted===!0)return!0;for(let Y=J;Y<I.issues.length;Y++)if(I.issues[Y]?.continue!==!0)return!0;return!1}function hD(I,J=0){if(I.aborted===!0)return!0;for(let Y=J;Y<I.issues.length;Y++)if(I.issues[Y]?.continue===!1)return!0;return!1}function a6(I,J){return J.map((Y)=>{var K;return(K=Y).path??(K.path=[]),Y.path.unshift(I),Y})}function z2(I){return typeof I==="string"?I:I?.message}function b6(I,J,Y){let K=I.message?I.message:z2(I.inst?._zod.def?.error?.(I))??z2(J?.error?.(I))??z2(Y.customError?.(I))??z2(Y.localeError?.(I))??"Invalid input",{inst:X,continue:O,input:Z,...M}=I;if(M.path??(M.path=[]),M.message=K,J?.reportInput)M.input=Z;return M}function V2(I){if(I instanceof Set)return"set";if(I instanceof Map)return"map";if(I instanceof File)return"file";return"unknown"}function D2(I){if(Array.isArray(I))return"array";if(typeof I==="string")return"string";return"unknown"}function Y$(I){let J=typeof I;switch(J){case"number":return Number.isNaN(I)?"nan":"number";case"object":{if(I===null)return"null";if(Array.isArray(I))return"array";let Y=I;if(Y&&Object.getPrototypeOf(Y)!==Object.prototype&&"constructor"in Y&&Y.constructor)return Y.constructor.name}}return J}function yQ(...I){let[J,Y,K]=I;if(typeof J==="string")return{message:J,code:"custom",input:Y,inst:K};return{...J}}function Cu(I){return Object.entries(I).filter(([J,Y])=>{return Number.isNaN(Number.parseInt(J,10))}).map((J)=>J[1])}function _S(I){let J=atob(I),Y=new Uint8Array(J.length);for(let K=0;K<J.length;K++)Y[K]=J.charCodeAt(K);return Y}function qS(I){let J="";for(let Y=0;Y<I.length;Y++)J+=String.fromCharCode(I[Y]);return btoa(J)}function Tu(I){let J=I.replace(/-/g,"+").replace(/_/g,"/"),Y="=".repeat((4-J.length%4)%4);return _S(J+Y)}function Pu(I){return qS(I).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Ru(I){let J=I.replace(/^0x/,"");if(J.length%2!==0)throw Error("Invalid hex string length");let Y=new Uint8Array(J.length/2);for(let K=0;K<J.length;K+=2)Y[K/2]=Number.parseInt(J.slice(K,K+2),16);return Y}function _u(I){return Array.from(I).map((J)=>J.toString(16).padStart(2,"0")).join("")}class ES{constructor(...I){}}var SS=(I,J)=>{I.name="$ZodError",Object.defineProperty(I,"_zod",{value:I._zod,enumerable:!1}),Object.defineProperty(I,"issues",{value:J,enumerable:!1}),I.message=JSON.stringify(J,wQ,2),Object.defineProperty(I,"toString",{value:()=>I.message,enumerable:!1})},H2=j0("$ZodError",SS),s6=j0("$ZodError",SS,{Parent:Error});function F2(I,J=(Y)=>Y.message){let Y={},K=[];for(let X of I.issues)if(X.path.length>0)Y[X.path[0]]=Y[X.path[0]]||[],Y[X.path[0]].push(J(X));else K.push(J(X));return{formErrors:K,fieldErrors:Y}}function M2(I,J=(Y)=>Y.message){let Y={_errors:[]},K=(X,O=[])=>{for(let Z of X.issues)if(Z.code==="invalid_union"&&Z.errors.length)Z.errors.map((M)=>K({issues:M},[...O,...Z.path]));else if(Z.code==="invalid_key")K({issues:Z.issues},[...O,...Z.path]);else if(Z.code==="invalid_element")K({issues:Z.issues},[...O,...Z.path]);else{let M=[...O,...Z.path];if(M.length===0)Y._errors.push(J(Z));else{let j=Y,q=0;while(q<M.length){let E=M[q];if(q!==M.length-1)j[E]=j[E]||{_errors:[]};else j[E]=j[E]||{_errors:[]},j[E]._errors.push(J(Z));j=j[E],q++}}}};return K(I),Y}function pD(I,J=(Y)=>Y.message){let Y={errors:[]},K=(X,O=[])=>{var Z,M;for(let j of X.issues)if(j.code==="invalid_union"&&j.errors.length)j.errors.map((q)=>K({issues:q},[...O,...j.path]));else if(j.code==="invalid_key")K({issues:j.issues},[...O,...j.path]);else if(j.code==="invalid_element")K({issues:j.issues},[...O,...j.path]);else{let q=[...O,...j.path];if(q.length===0){Y.errors.push(J(j));continue}let E=Y,C=0;while(C<q.length){let _=q[C],B=C===q.length-1;if(typeof _==="string")E.properties??(E.properties={}),(Z=E.properties)[_]??(Z[_]={errors:[]}),E=E.properties[_];else E.items??(E.items=[]),(M=E.items)[_]??(M[_]={errors:[]}),E=E.items[_];if(B)E.errors.push(J(j));C++}}};return K(I),Y}function jS(I){let J=[],Y=I.map((K)=>typeof K==="object"?K.key:K);for(let K of Y)if(typeof K==="number")J.push(`[${K}]`);else if(typeof K==="symbol")J.push(`[${JSON.stringify(String(K))}]`);else if(/[^\w$]/.test(K))J.push(`[${JSON.stringify(K)}]`);else{if(J.length)J.push(".");J.push(K)}return J.join("")}function mD(I){let J=[],Y=[...I.issues].sort((K,X)=>(K.path??[]).length-(X.path??[]).length);for(let K of Y)if(J.push(`✖ ${K.message}`),K.path?.length)J.push(` → at ${jS(K.path)}`);return J.join(`
|
|
257
|
+
`)}var uQ=(I)=>(J,Y,K,X)=>{let O=K?{...K,async:!1}:{async:!1},Z=J._zod.run({value:Y,issues:[]},O);if(Z instanceof Promise)throw new v1;if(Z.issues.length){let M=new(X?.Err??I)(Z.issues.map((j)=>b6(j,O,tU())));throw jO(M,X?.callee),M}return Z.value},BO=uQ(s6),bQ=(I)=>async(J,Y,K,X)=>{let O=K?{...K,async:!0}:{async:!0},Z=J._zod.run({value:Y,issues:[]},O);if(Z instanceof Promise)Z=await Z;if(Z.issues.length){let M=new(X?.Err??I)(Z.issues.map((j)=>b6(j,O,tU())));throw jO(M,X?.callee),M}return Z.value},NO=bQ(s6),cQ=(I)=>(J,Y,K)=>{let X=K?{...K,async:!1}:{async:!1},O=J._zod.run({value:Y,issues:[]},X);if(O instanceof Promise)throw new v1;return O.issues.length?{success:!1,error:new(I??H2)(O.issues.map((Z)=>b6(Z,X,tU())))}:{success:!0,data:O.value}},lD=cQ(s6),hQ=(I)=>async(J,Y,K)=>{let X=K?{...K,async:!0}:{async:!0},O=J._zod.run({value:Y,issues:[]},X);if(O instanceof Promise)O=await O;return O.issues.length?{success:!1,error:new I(O.issues.map((Z)=>b6(Z,X,tU())))}:{success:!0,data:O.value}},dD=hQ(s6),vO=(I)=>(J,Y,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return uQ(I)(J,Y,X)},Eu=vO(s6),kO=(I)=>(J,Y,K)=>{return uQ(I)(J,Y,K)},Su=kO(s6),xO=(I)=>async(J,Y,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return bQ(I)(J,Y,X)},ju=xO(s6),gO=(I)=>async(J,Y,K)=>{return bQ(I)(J,Y,K)},Bu=gO(s6),wO=(I)=>(J,Y,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return cQ(I)(J,Y,X)},Nu=wO(s6),fO=(I)=>(J,Y,K)=>{return cQ(I)(J,Y,K)},vu=fO(s6),yO=(I)=>async(J,Y,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return hQ(I)(J,Y,X)},ku=yO(s6),uO=(I)=>async(J,Y,K)=>{return hQ(I)(J,Y,K)},xu=uO(s6);var A4={};g6(A4,{xid:()=>rD,uuid7:()=>yu,uuid6:()=>fu,uuid4:()=>wu,uuid:()=>OJ,uppercase:()=>CH,unicodeEmail:()=>BS,undefined:()=>LH,ulid:()=>iD,time:()=>KH,string:()=>VH,sha512_hex:()=>Jb,sha512_base64url:()=>Yb,sha512_base64:()=>Qb,sha384_hex:()=>Ub,sha384_base64url:()=>Xb,sha384_base64:()=>Ib,sha256_hex:()=>su,sha256_base64url:()=>$b,sha256_base64:()=>eu,sha1_hex:()=>ru,sha1_base64url:()=>au,sha1_base64:()=>tu,rfc5322Email:()=>bu,number:()=>L2,null:()=>MH,nanoid:()=>aD,md5_hex:()=>nu,md5_base64url:()=>iu,md5_base64:()=>ou,mac:()=>JH,lowercase:()=>AH,ksuid:()=>tD,ipv6:()=>XH,ipv4:()=>IH,integer:()=>HH,idnEmail:()=>cu,httpProtocol:()=>ZH,html5Email:()=>uu,hostname:()=>mu,hex:()=>du,guid:()=>eD,extendedDuration:()=>gu,emoji:()=>UH,email:()=>$H,e164:()=>zH,duration:()=>sD,domain:()=>lu,datetime:()=>WH,date:()=>OH,cuid2:()=>oD,cuid:()=>nD,cidrv6:()=>YH,cidrv4:()=>QH,browserEmail:()=>hu,boolean:()=>FH,bigint:()=>DH,base64url:()=>bO,base64:()=>GH});var nD=/^[cC][0-9a-z]{6,}$/,oD=/^[0-9a-z]+$/,iD=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,rD=/^[0-9a-vA-V]{20}$/,tD=/^[A-Za-z0-9]{27}$/,aD=/^[a-zA-Z0-9_-]{21}$/,sD=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,gu=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,eD=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,OJ=(I)=>{if(!I)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${I}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},wu=OJ(4),fu=OJ(6),yu=OJ(7),$H=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,uu=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,bu=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,BS=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,cu=BS,hu=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,pu="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function UH(){return new RegExp(pu,"u")}var IH=/^(?:(?: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])$/,XH=/^(([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}|:))$/,JH=(I)=>{let J=u4(I??":");return new RegExp(`^(?:[0-9A-F]{2}${J}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${J}){5}[0-9a-f]{2}$`)},QH=/^((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])$/,YH=/^(([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])$/,GH=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,bO=/^[A-Za-z0-9_-]*$/,mu=/^(?=.{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])?)*\.?$/,lu=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,ZH=/^https?$/,zH=/^\+[1-9]\d{6,14}$/,NS="(?:(?:\\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])))",OH=new RegExp(`^${NS}$`);function vS(I){return typeof I.precision==="number"?I.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":I.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${I.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function KH(I){return new RegExp(`^${vS(I)}$`)}function WH(I){let J=vS({precision:I.precision}),Y=["Z"];if(I.local)Y.push("");if(I.offset)Y.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let K=`${J}(?:${Y.join("|")})`;return new RegExp(`^${NS}T(?:${K})$`)}var VH=(I)=>{let J=I?`[\\s\\S]{${I?.minimum??0},${I?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${J}$`)},DH=/^-?\d+n?$/,HH=/^-?\d+$/,L2=/^-?\d+(?:\.\d+)?$/,FH=/^(?:true|false)$/i,MH=/^null$/i;var LH=/^undefined$/i;var AH=/^[^A-Z]*$/,CH=/^[^a-z]*$/,du=/^[0-9a-fA-F]*$/;function A2(I,J){return new RegExp(`^[A-Za-z0-9+/]{${I}}${J}$`)}function C2(I){return new RegExp(`^[A-Za-z0-9_-]{${I}}$`)}var nu=/^[0-9a-fA-F]{32}$/,ou=A2(22,"=="),iu=C2(22),ru=/^[0-9a-fA-F]{40}$/,tu=A2(27,"="),au=C2(27),su=/^[0-9a-fA-F]{64}$/,eu=A2(43,"="),$b=C2(43),Ub=/^[0-9a-fA-F]{96}$/,Ib=A2(64,""),Xb=C2(64),Jb=/^[0-9a-fA-F]{128}$/,Qb=A2(86,"=="),Yb=C2(86);var FU=j0("$ZodCheck",(I,J)=>{var Y;I._zod??(I._zod={}),I._zod.def=J,(Y=I._zod).onattach??(Y.onattach=[])}),xS={number:"number",bigint:"bigint",object:"date"},cO=j0("$ZodCheckLessThan",(I,J)=>{FU.init(I,J);let Y=xS[typeof J.value];I._zod.onattach.push((K)=>{let X=K._zod.bag,O=(J.inclusive?X.maximum:X.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(J.value<O)if(J.inclusive)X.maximum=J.value;else X.exclusiveMaximum=J.value}),I._zod.check=(K)=>{if(J.inclusive?K.value<=J.value:K.value<J.value)return;K.issues.push({origin:Y,code:"too_big",maximum:typeof J.value==="object"?J.value.getTime():J.value,input:K.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),hO=j0("$ZodCheckGreaterThan",(I,J)=>{FU.init(I,J);let Y=xS[typeof J.value];I._zod.onattach.push((K)=>{let X=K._zod.bag,O=(J.inclusive?X.minimum:X.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(J.value>O)if(J.inclusive)X.minimum=J.value;else X.exclusiveMinimum=J.value}),I._zod.check=(K)=>{if(J.inclusive?K.value>=J.value:K.value>J.value)return;K.issues.push({origin:Y,code:"too_small",minimum:typeof J.value==="object"?J.value.getTime():J.value,input:K.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),TH=j0("$ZodCheckMultipleOf",(I,J)=>{FU.init(I,J),I._zod.onattach.push((Y)=>{var K;(K=Y._zod.bag).multipleOf??(K.multipleOf=J.value)}),I._zod.check=(Y)=>{if(typeof Y.value!==typeof J.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof Y.value==="bigint"?Y.value%J.value===BigInt(0):xD(Y.value,J.value)===0)return;Y.issues.push({origin:typeof Y.value,code:"not_multiple_of",divisor:J.value,input:Y.value,inst:I,continue:!J.abort})}}),PH=j0("$ZodCheckNumberFormat",(I,J)=>{FU.init(I,J),J.format=J.format||"float64";let Y=J.format?.includes("int"),K=Y?"int":"number",[X,O]=bD[J.format];I._zod.onattach.push((Z)=>{let M=Z._zod.bag;if(M.format=J.format,M.minimum=X,M.maximum=O,Y)M.pattern=HH}),I._zod.check=(Z)=>{let M=Z.value;if(Y){if(!Number.isInteger(M)){Z.issues.push({expected:K,format:J.format,code:"invalid_type",continue:!1,input:M,inst:I});return}if(!Number.isSafeInteger(M)){if(M>0)Z.issues.push({input:M,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:K,inclusive:!0,continue:!J.abort});else Z.issues.push({input:M,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:K,inclusive:!0,continue:!J.abort});return}}if(M<X)Z.issues.push({origin:"number",input:M,code:"too_small",minimum:X,inclusive:!0,inst:I,continue:!J.abort});if(M>O)Z.issues.push({origin:"number",input:M,code:"too_big",maximum:O,inclusive:!0,inst:I,continue:!J.abort})}}),RH=j0("$ZodCheckBigIntFormat",(I,J)=>{FU.init(I,J);let[Y,K]=cD[J.format];I._zod.onattach.push((X)=>{let O=X._zod.bag;O.format=J.format,O.minimum=Y,O.maximum=K}),I._zod.check=(X)=>{let O=X.value;if(O<Y)X.issues.push({origin:"bigint",input:O,code:"too_small",minimum:Y,inclusive:!0,inst:I,continue:!J.abort});if(O>K)X.issues.push({origin:"bigint",input:O,code:"too_big",maximum:K,inclusive:!0,inst:I,continue:!J.abort})}}),_H=j0("$ZodCheckMaxSize",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(K)=>{let X=K.value;return!YX(X)&&X.size!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)K._zod.bag.maximum=J.maximum}),I._zod.check=(K)=>{let X=K.value;if(X.size<=J.maximum)return;K.issues.push({origin:V2(X),code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),qH=j0("$ZodCheckMinSize",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(K)=>{let X=K.value;return!YX(X)&&X.size!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)K._zod.bag.minimum=J.minimum}),I._zod.check=(K)=>{let X=K.value;if(X.size>=J.minimum)return;K.issues.push({origin:V2(X),code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),EH=j0("$ZodCheckSizeEquals",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(K)=>{let X=K.value;return!YX(X)&&X.size!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.minimum=J.size,X.maximum=J.size,X.size=J.size}),I._zod.check=(K)=>{let X=K.value,O=X.size;if(O===J.size)return;let Z=O>J.size;K.issues.push({origin:V2(X),...Z?{code:"too_big",maximum:J.size}:{code:"too_small",minimum:J.size},inclusive:!0,exact:!0,input:K.value,inst:I,continue:!J.abort})}}),SH=j0("$ZodCheckMaxLength",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(K)=>{let X=K.value;return!YX(X)&&X.length!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)K._zod.bag.maximum=J.maximum}),I._zod.check=(K)=>{let X=K.value;if(X.length<=J.maximum)return;let Z=D2(X);K.issues.push({origin:Z,code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),jH=j0("$ZodCheckMinLength",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(K)=>{let X=K.value;return!YX(X)&&X.length!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)K._zod.bag.minimum=J.minimum}),I._zod.check=(K)=>{let X=K.value;if(X.length>=J.minimum)return;let Z=D2(X);K.issues.push({origin:Z,code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),BH=j0("$ZodCheckLengthEquals",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(K)=>{let X=K.value;return!YX(X)&&X.length!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.minimum=J.length,X.maximum=J.length,X.length=J.length}),I._zod.check=(K)=>{let X=K.value,O=X.length;if(O===J.length)return;let Z=D2(X),M=O>J.length;K.issues.push({origin:Z,...M?{code:"too_big",maximum:J.length}:{code:"too_small",minimum:J.length},inclusive:!0,exact:!0,input:K.value,inst:I,continue:!J.abort})}}),pQ=j0("$ZodCheckStringFormat",(I,J)=>{var Y,K;if(FU.init(I,J),I._zod.onattach.push((X)=>{let O=X._zod.bag;if(O.format=J.format,J.pattern)O.patterns??(O.patterns=new Set),O.patterns.add(J.pattern)}),J.pattern)(Y=I._zod).check??(Y.check=(X)=>{if(J.pattern.lastIndex=0,J.pattern.test(X.value))return;X.issues.push({origin:"string",code:"invalid_format",format:J.format,input:X.value,...J.pattern?{pattern:J.pattern.toString()}:{},inst:I,continue:!J.abort})});else(K=I._zod).check??(K.check=()=>{})}),NH=j0("$ZodCheckRegex",(I,J)=>{pQ.init(I,J),I._zod.check=(Y)=>{if(J.pattern.lastIndex=0,J.pattern.test(Y.value))return;Y.issues.push({origin:"string",code:"invalid_format",format:"regex",input:Y.value,pattern:J.pattern.toString(),inst:I,continue:!J.abort})}}),vH=j0("$ZodCheckLowerCase",(I,J)=>{J.pattern??(J.pattern=AH),pQ.init(I,J)}),kH=j0("$ZodCheckUpperCase",(I,J)=>{J.pattern??(J.pattern=CH),pQ.init(I,J)}),xH=j0("$ZodCheckIncludes",(I,J)=>{FU.init(I,J);let Y=u4(J.includes),K=new RegExp(typeof J.position==="number"?`^.{${J.position}}${Y}`:Y);J.pattern=K,I._zod.onattach.push((X)=>{let O=X._zod.bag;O.patterns??(O.patterns=new Set),O.patterns.add(K)}),I._zod.check=(X)=>{if(X.value.includes(J.includes,J.position))return;X.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:J.includes,input:X.value,inst:I,continue:!J.abort})}}),gH=j0("$ZodCheckStartsWith",(I,J)=>{FU.init(I,J);let Y=new RegExp(`^${u4(J.prefix)}.*`);J.pattern??(J.pattern=Y),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Y)}),I._zod.check=(K)=>{if(K.value.startsWith(J.prefix))return;K.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:J.prefix,input:K.value,inst:I,continue:!J.abort})}}),wH=j0("$ZodCheckEndsWith",(I,J)=>{FU.init(I,J);let Y=new RegExp(`.*${u4(J.suffix)}$`);J.pattern??(J.pattern=Y),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Y)}),I._zod.check=(K)=>{if(K.value.endsWith(J.suffix))return;K.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:J.suffix,input:K.value,inst:I,continue:!J.abort})}});function kS(I,J,Y){if(I.issues.length)J.issues.push(...a6(Y,I.issues))}var fH=j0("$ZodCheckProperty",(I,J)=>{FU.init(I,J),I._zod.check=(Y)=>{let K=J.schema._zod.run({value:Y.value[J.property],issues:[]},{});if(K instanceof Promise)return K.then((X)=>kS(X,Y,J.property));kS(K,Y,J.property);return}}),yH=j0("$ZodCheckMimeType",(I,J)=>{FU.init(I,J);let Y=new Set(J.mime);I._zod.onattach.push((K)=>{K._zod.bag.mime=J.mime}),I._zod.check=(K)=>{if(Y.has(K.value.type))return;K.issues.push({code:"invalid_value",values:J.mime,input:K.value.type,inst:I,continue:!J.abort})}}),uH=j0("$ZodCheckOverwrite",(I,J)=>{FU.init(I,J),I._zod.check=(Y)=>{Y.value=J.tx(Y.value)}});class pO{constructor(I=[]){if(this.content=[],this.indent=0,this)this.args=I}indented(I){this.indent+=1,I(this),this.indent-=1}write(I){if(typeof I==="function"){I(this,{execution:"sync"}),I(this,{execution:"async"});return}let Y=I.split(`
|
|
258
|
+
`).filter((O)=>O),K=Math.min(...Y.map((O)=>O.length-O.trimStart().length)),X=Y.map((O)=>O.slice(K)).map((O)=>" ".repeat(this.indent*2)+O);for(let O of X)this.content.push(O)}compile(){let I=Function,J=this?.args,K=[...(this?.content??[""]).map((X)=>` ${X}`)];return new I(...J,K.join(`
|
|
259
|
+
`))}}var bH={major:4,minor:4,patch:3};var E$=j0("$ZodType",(I,J)=>{var Y;I??(I={}),I._zod.def=J,I._zod.bag=I._zod.bag||{},I._zod.version=bH;let K=[...I._zod.def.checks??[]];if(I._zod.traits.has("$ZodCheck"))K.unshift(I);for(let X of K)for(let O of X._zod.onattach)O(I);if(K.length===0)(Y=I._zod).deferred??(Y.deferred=[]),I._zod.deferred?.push(()=>{I._zod.run=I._zod.parse});else{let X=(Z,M,j)=>{let q=zX(Z),E;for(let C of M){if(C._zod.def.when){if(hD(Z))continue;if(!C._zod.def.when(Z))continue}else if(q)continue;let _=Z.issues.length,B=C._zod.check(Z);if(B instanceof Promise&&j?.async===!1)throw new v1;if(E||B instanceof Promise)E=(E??Promise.resolve()).then(async()=>{if(await B,Z.issues.length===_)return;if(!q)q=zX(Z,_)});else{if(Z.issues.length===_)continue;if(!q)q=zX(Z,_)}}if(E)return E.then(()=>{return Z});return Z},O=(Z,M,j)=>{if(zX(Z))return Z.aborted=!0,Z;let q=X(M,K,j);if(q instanceof Promise){if(j.async===!1)throw new v1;return q.then((E)=>I._zod.parse(E,j))}return I._zod.parse(q,j)};I._zod.run=(Z,M)=>{if(M.skipChecks)return I._zod.parse(Z,M);if(M.direction==="backward"){let q=I._zod.parse({value:Z.value,issues:[]},{...M,skipChecks:!0});if(q instanceof Promise)return q.then((E)=>{return O(E,Z,M)});return O(q,Z,M)}let j=I._zod.parse(Z,M);if(j instanceof Promise){if(M.async===!1)throw new v1;return j.then((q)=>X(q,K,M))}return X(j,K,M)}}h$(I,"~standard",()=>({validate:(X)=>{try{let O=lD(I,X);return O.success?{value:O.data}:{issues:O.error?.issues}}catch(O){return dD(I,X).then((Z)=>Z.success?{value:Z.data}:{issues:Z.error?.issues})}},vendor:"zod",version:1}))}),KJ=j0("$ZodString",(I,J)=>{E$.init(I,J),I._zod.pattern=[...I?._zod.bag?.patterns??[]].pop()??VH(I._zod.bag),I._zod.parse=(Y,K)=>{if(J.coerce)try{Y.value=String(Y.value)}catch(X){}if(typeof Y.value==="string")return Y;return Y.issues.push({expected:"string",code:"invalid_type",input:Y.value,inst:I}),Y}}),zU=j0("$ZodStringFormat",(I,J)=>{pQ.init(I,J),KJ.init(I,J)}),hH=j0("$ZodGUID",(I,J)=>{J.pattern??(J.pattern=eD),zU.init(I,J)}),pH=j0("$ZodUUID",(I,J)=>{if(J.version){let K={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[J.version];if(K===void 0)throw Error(`Invalid UUID version: "${J.version}"`);J.pattern??(J.pattern=OJ(K))}else J.pattern??(J.pattern=OJ());zU.init(I,J)}),mH=j0("$ZodEmail",(I,J)=>{J.pattern??(J.pattern=$H),zU.init(I,J)}),lH=j0("$ZodURL",(I,J)=>{zU.init(I,J),I._zod.check=(Y)=>{try{let K=Y.value.trim();if(!J.normalize&&J.protocol?.source===ZH.source){if(!/^https?:\/\//i.test(K)){Y.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:Y.value,inst:I,continue:!J.abort});return}}let X=new URL(K);if(J.hostname){if(J.hostname.lastIndex=0,!J.hostname.test(X.hostname))Y.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:J.hostname.source,input:Y.value,inst:I,continue:!J.abort})}if(J.protocol){if(J.protocol.lastIndex=0,!J.protocol.test(X.protocol.endsWith(":")?X.protocol.slice(0,-1):X.protocol))Y.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:J.protocol.source,input:Y.value,inst:I,continue:!J.abort})}if(J.normalize)Y.value=X.href;else Y.value=K;return}catch(K){Y.issues.push({code:"invalid_format",format:"url",input:Y.value,inst:I,continue:!J.abort})}}}),dH=j0("$ZodEmoji",(I,J)=>{J.pattern??(J.pattern=UH()),zU.init(I,J)}),nH=j0("$ZodNanoID",(I,J)=>{J.pattern??(J.pattern=aD),zU.init(I,J)}),oH=j0("$ZodCUID",(I,J)=>{J.pattern??(J.pattern=nD),zU.init(I,J)}),iH=j0("$ZodCUID2",(I,J)=>{J.pattern??(J.pattern=oD),zU.init(I,J)}),rH=j0("$ZodULID",(I,J)=>{J.pattern??(J.pattern=iD),zU.init(I,J)}),tH=j0("$ZodXID",(I,J)=>{J.pattern??(J.pattern=rD),zU.init(I,J)}),aH=j0("$ZodKSUID",(I,J)=>{J.pattern??(J.pattern=tD),zU.init(I,J)}),sH=j0("$ZodISODateTime",(I,J)=>{J.pattern??(J.pattern=WH(J)),zU.init(I,J)}),eH=j0("$ZodISODate",(I,J)=>{J.pattern??(J.pattern=OH),zU.init(I,J)}),$F=j0("$ZodISOTime",(I,J)=>{J.pattern??(J.pattern=KH(J)),zU.init(I,J)}),UF=j0("$ZodISODuration",(I,J)=>{J.pattern??(J.pattern=sD),zU.init(I,J)}),IF=j0("$ZodIPv4",(I,J)=>{J.pattern??(J.pattern=IH),zU.init(I,J),I._zod.bag.format="ipv4"}),XF=j0("$ZodIPv6",(I,J)=>{J.pattern??(J.pattern=XH),zU.init(I,J),I._zod.bag.format="ipv6",I._zod.check=(Y)=>{try{new URL(`http://[${Y.value}]`)}catch{Y.issues.push({code:"invalid_format",format:"ipv6",input:Y.value,inst:I,continue:!J.abort})}}}),JF=j0("$ZodMAC",(I,J)=>{J.pattern??(J.pattern=JH(J.delimiter)),zU.init(I,J),I._zod.bag.format="mac"}),QF=j0("$ZodCIDRv4",(I,J)=>{J.pattern??(J.pattern=QH),zU.init(I,J)}),YF=j0("$ZodCIDRv6",(I,J)=>{J.pattern??(J.pattern=YH),zU.init(I,J),I._zod.check=(Y)=>{let K=Y.value.split("/");try{if(K.length!==2)throw Error();let[X,O]=K;if(!O)throw Error();let Z=Number(O);if(`${Z}`!==O)throw Error();if(Z<0||Z>128)throw Error();new URL(`http://[${X}]`)}catch{Y.issues.push({code:"invalid_format",format:"cidrv6",input:Y.value,inst:I,continue:!J.abort})}}});function GF(I){if(I==="")return!0;if(/\s/.test(I))return!1;if(I.length%4!==0)return!1;try{return atob(I),!0}catch{return!1}}var ZF=j0("$ZodBase64",(I,J)=>{J.pattern??(J.pattern=GH),zU.init(I,J),I._zod.bag.contentEncoding="base64",I._zod.check=(Y)=>{if(GF(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64",input:Y.value,inst:I,continue:!J.abort})}});function rS(I){if(!bO.test(I))return!1;let J=I.replace(/[-_]/g,(K)=>K==="-"?"+":"/"),Y=J.padEnd(Math.ceil(J.length/4)*4,"=");return GF(Y)}var zF=j0("$ZodBase64URL",(I,J)=>{J.pattern??(J.pattern=bO),zU.init(I,J),I._zod.bag.contentEncoding="base64url",I._zod.check=(Y)=>{if(rS(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64url",input:Y.value,inst:I,continue:!J.abort})}}),OF=j0("$ZodE164",(I,J)=>{J.pattern??(J.pattern=zH),zU.init(I,J)});function tS(I,J=null){try{let Y=I.split(".");if(Y.length!==3)return!1;let[K]=Y;if(!K)return!1;let X=JSON.parse(atob(K));if("typ"in X&&X?.typ!=="JWT")return!1;if(!X.alg)return!1;if(J&&(!("alg"in X)||X.alg!==J))return!1;return!0}catch{return!1}}var KF=j0("$ZodJWT",(I,J)=>{zU.init(I,J),I._zod.check=(Y)=>{if(tS(Y.value,J.alg))return;Y.issues.push({code:"invalid_format",format:"jwt",input:Y.value,inst:I,continue:!J.abort})}}),WF=j0("$ZodCustomStringFormat",(I,J)=>{zU.init(I,J),I._zod.check=(Y)=>{if(J.fn(Y.value))return;Y.issues.push({code:"invalid_format",format:J.format,input:Y.value,inst:I,continue:!J.abort})}}),oO=j0("$ZodNumber",(I,J)=>{E$.init(I,J),I._zod.pattern=I._zod.bag.pattern??L2,I._zod.parse=(Y,K)=>{if(J.coerce)try{Y.value=Number(Y.value)}catch(Z){}let X=Y.value;if(typeof X==="number"&&!Number.isNaN(X)&&Number.isFinite(X))return Y;let O=typeof X==="number"?Number.isNaN(X)?"NaN":!Number.isFinite(X)?"Infinity":void 0:void 0;return Y.issues.push({expected:"number",code:"invalid_type",input:X,inst:I,...O?{received:O}:{}}),Y}}),VF=j0("$ZodNumberFormat",(I,J)=>{PH.init(I,J),oO.init(I,J)}),T2=j0("$ZodBoolean",(I,J)=>{E$.init(I,J),I._zod.pattern=FH,I._zod.parse=(Y,K)=>{if(J.coerce)try{Y.value=Boolean(Y.value)}catch(O){}let X=Y.value;if(typeof X==="boolean")return Y;return Y.issues.push({expected:"boolean",code:"invalid_type",input:X,inst:I}),Y}}),iO=j0("$ZodBigInt",(I,J)=>{E$.init(I,J),I._zod.pattern=DH,I._zod.parse=(Y,K)=>{if(J.coerce)try{Y.value=BigInt(Y.value)}catch(X){}if(typeof Y.value==="bigint")return Y;return Y.issues.push({expected:"bigint",code:"invalid_type",input:Y.value,inst:I}),Y}}),DF=j0("$ZodBigIntFormat",(I,J)=>{RH.init(I,J),iO.init(I,J)}),HF=j0("$ZodSymbol",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value;if(typeof X==="symbol")return Y;return Y.issues.push({expected:"symbol",code:"invalid_type",input:X,inst:I}),Y}}),FF=j0("$ZodUndefined",(I,J)=>{E$.init(I,J),I._zod.pattern=LH,I._zod.values=new Set([void 0]),I._zod.parse=(Y,K)=>{let X=Y.value;if(typeof X>"u")return Y;return Y.issues.push({expected:"undefined",code:"invalid_type",input:X,inst:I}),Y}}),MF=j0("$ZodNull",(I,J)=>{E$.init(I,J),I._zod.pattern=MH,I._zod.values=new Set([null]),I._zod.parse=(Y,K)=>{let X=Y.value;if(X===null)return Y;return Y.issues.push({expected:"null",code:"invalid_type",input:X,inst:I}),Y}}),LF=j0("$ZodAny",(I,J)=>{E$.init(I,J),I._zod.parse=(Y)=>Y}),AF=j0("$ZodUnknown",(I,J)=>{E$.init(I,J),I._zod.parse=(Y)=>Y}),CF=j0("$ZodNever",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{return Y.issues.push({expected:"never",code:"invalid_type",input:Y.value,inst:I}),Y}}),TF=j0("$ZodVoid",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value;if(typeof X>"u")return Y;return Y.issues.push({expected:"void",code:"invalid_type",input:X,inst:I}),Y}}),PF=j0("$ZodDate",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{if(J.coerce)try{Y.value=new Date(Y.value)}catch(M){}let X=Y.value,O=X instanceof Date;if(O&&!Number.isNaN(X.getTime()))return Y;return Y.issues.push({expected:"date",code:"invalid_type",input:X,...O?{received:"Invalid Date"}:{},inst:I}),Y}});function wS(I,J,Y){if(I.issues.length)J.issues.push(...a6(Y,I.issues));J.value[Y]=I.value}var RF=j0("$ZodArray",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value;if(!Array.isArray(X))return Y.issues.push({expected:"array",code:"invalid_type",input:X,inst:I}),Y;Y.value=Array(X.length);let O=[];for(let Z=0;Z<X.length;Z++){let M=X[Z],j=J.element._zod.run({value:M,issues:[]},K);if(j instanceof Promise)O.push(j.then((q)=>wS(q,Y,Z)));else wS(j,Y,Z)}if(O.length)return Promise.all(O).then(()=>Y);return Y}});function nO(I,J,Y,K,X,O){let Z=Y in K;if(I.issues.length){if(X&&O&&!Z)return;J.issues.push(...a6(Y,I.issues))}if(!Z&&!X){if(!I.issues.length)J.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[Y]});return}if(I.value===void 0){if(Z)J.value[Y]=void 0}else J.value[Y]=I.value}function aS(I){let J=Object.keys(I.shape);for(let K of J)if(!I.shape?.[K]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${K}": expected a Zod schema`);let Y=uD(I.shape);return{...I,keys:J,keySet:new Set(J),numKeys:J.length,optionalKeys:new Set(Y)}}function sS(I,J,Y,K,X,O){let Z=[],M=X.keySet,j=X.catchall._zod,q=j.def.type,E=j.optin==="optional",C=j.optout==="optional";for(let _ in J){if(_==="__proto__")continue;if(M.has(_))continue;if(q==="never"){Z.push(_);continue}let B=j.run({value:J[_],issues:[]},K);if(B instanceof Promise)I.push(B.then((v)=>nO(v,Y,_,J,E,C)));else nO(B,Y,_,J,E,C)}if(Z.length)Y.issues.push({code:"unrecognized_keys",keys:Z,input:J,inst:O});if(!I.length)return Y;return Promise.all(I).then(()=>{return Y})}var eS=j0("$ZodObject",(I,J)=>{if(E$.init(I,J),!Object.getOwnPropertyDescriptor(J,"shape")?.get){let M=J.shape;Object.defineProperty(J,"shape",{get:()=>{let j={...M};return Object.defineProperty(J,"shape",{value:j}),j}})}let K=fQ(()=>aS(J));h$(I._zod,"propValues",()=>{let M=J.shape,j={};for(let q in M){let E=M[q]._zod;if(E.values){j[q]??(j[q]=new Set);for(let C of E.values)j[q].add(C)}}return j});let X=zJ,O=J.catchall,Z;I._zod.parse=(M,j)=>{Z??(Z=K.value);let q=M.value;if(!X(q))return M.issues.push({expected:"object",code:"invalid_type",input:q,inst:I}),M;M.value={};let E=[],C=Z.shape;for(let _ of Z.keys){let B=C[_],v=B._zod.optin==="optional",y=B._zod.optout==="optional",w=B._zod.run({value:q[_],issues:[]},j);if(w instanceof Promise)E.push(w.then((b)=>nO(b,M,_,q,v,y)));else nO(w,M,_,q,v,y)}if(!O)return E.length?Promise.all(E).then(()=>M):M;return sS(E,q,M,j,K.value,I)}}),_F=j0("$ZodObjectJIT",(I,J)=>{eS.init(I,J);let Y=I._zod.parse,K=fQ(()=>aS(J)),X=(_)=>{let B=new pO(["shape","payload","ctx"]),v=K.value,y=(u)=>{let p=SO(u);return`shape[${p}]._zod.run({ value: input[${p}], issues: [] }, ctx)`};B.write("const input = payload.value;");let w=Object.create(null),b=0;for(let u of v.keys)w[u]=`key_${b++}`;B.write("const newResult = {};");for(let u of v.keys){let p=w[u],d=SO(u),a=_[u],H0=a?._zod?.optin==="optional",M0=a?._zod?.optout==="optional";if(B.write(`const ${p} = ${y(u)};`),H0&&M0)B.write(`
|
|
260
|
+
if (${p}.issues.length) {
|
|
261
|
+
if (${d} in input) {
|
|
262
|
+
payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
|
|
263
|
+
...iss,
|
|
264
|
+
path: iss.path ? [${d}, ...iss.path] : [${d}]
|
|
265
|
+
})));
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
if (${p}.value === undefined) {
|
|
270
|
+
if (${d} in input) {
|
|
271
|
+
newResult[${d}] = undefined;
|
|
272
|
+
}
|
|
273
|
+
} else {
|
|
274
|
+
newResult[${d}] = ${p}.value;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
`);else if(!H0)B.write(`
|
|
278
|
+
const ${p}_present = ${d} in input;
|
|
279
|
+
if (${p}.issues.length) {
|
|
280
|
+
payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
|
|
281
|
+
...iss,
|
|
282
|
+
path: iss.path ? [${d}, ...iss.path] : [${d}]
|
|
283
|
+
})));
|
|
284
|
+
}
|
|
285
|
+
if (!${p}_present && !${p}.issues.length) {
|
|
286
|
+
payload.issues.push({
|
|
287
|
+
code: "invalid_type",
|
|
288
|
+
expected: "nonoptional",
|
|
289
|
+
input: undefined,
|
|
290
|
+
path: [${d}]
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
if (${p}_present) {
|
|
295
|
+
if (${p}.value === undefined) {
|
|
296
|
+
newResult[${d}] = undefined;
|
|
297
|
+
} else {
|
|
298
|
+
newResult[${d}] = ${p}.value;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
`);else B.write(`
|
|
303
|
+
if (${p}.issues.length) {
|
|
304
|
+
payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
|
|
305
|
+
...iss,
|
|
306
|
+
path: iss.path ? [${d}, ...iss.path] : [${d}]
|
|
307
|
+
})));
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
if (${p}.value === undefined) {
|
|
311
|
+
if (${d} in input) {
|
|
312
|
+
newResult[${d}] = undefined;
|
|
313
|
+
}
|
|
314
|
+
} else {
|
|
315
|
+
newResult[${d}] = ${p}.value;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
`)}B.write("payload.value = newResult;"),B.write("return payload;");let x=B.compile();return(u,p)=>x(_,u,p)},O,Z=zJ,M=!GJ.jitless,q=M&&wD.value,E=J.catchall,C;I._zod.parse=(_,B)=>{C??(C=K.value);let v=_.value;if(!Z(v))return _.issues.push({expected:"object",code:"invalid_type",input:v,inst:I}),_;if(M&&q&&B?.async===!1&&B.jitless!==!0){if(!O)O=X(J.shape);if(_=O(_,B),!E)return _;return sS([],v,_,B,C,I)}return Y(_,B)}});function fS(I,J,Y,K){for(let O of I)if(O.issues.length===0)return J.value=O.value,J;let X=I.filter((O)=>!zX(O));if(X.length===1)return J.value=X[0].value,X[0];return J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:I.map((O)=>O.issues.map((Z)=>b6(Z,K,tU())))}),J}var P2=j0("$ZodUnion",(I,J)=>{E$.init(I,J),h$(I._zod,"optin",()=>J.options.some((K)=>K._zod.optin==="optional")?"optional":void 0),h$(I._zod,"optout",()=>J.options.some((K)=>K._zod.optout==="optional")?"optional":void 0),h$(I._zod,"values",()=>{if(J.options.every((K)=>K._zod.values))return new Set(J.options.flatMap((K)=>Array.from(K._zod.values)));return}),h$(I._zod,"pattern",()=>{if(J.options.every((K)=>K._zod.pattern)){let K=J.options.map((X)=>X._zod.pattern);return new RegExp(`^(${K.map((X)=>K2(X.source)).join("|")})$`)}return});let Y=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(K,X)=>{if(Y)return Y(K,X);let O=!1,Z=[];for(let M of J.options){let j=M._zod.run({value:K.value,issues:[]},X);if(j instanceof Promise)Z.push(j),O=!0;else{if(j.issues.length===0)return j;Z.push(j)}}if(!O)return fS(Z,K,I,X);return Promise.all(Z).then((M)=>{return fS(M,K,I,X)})}});function yS(I,J,Y,K){let X=I.filter((O)=>O.issues.length===0);if(X.length===1)return J.value=X[0].value,J;if(X.length===0)J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:I.map((O)=>O.issues.map((Z)=>b6(Z,K,tU())))});else J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:[],inclusive:!1});return J}var qF=j0("$ZodXor",(I,J)=>{P2.init(I,J),J.inclusive=!1;let Y=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(K,X)=>{if(Y)return Y(K,X);let O=!1,Z=[];for(let M of J.options){let j=M._zod.run({value:K.value,issues:[]},X);if(j instanceof Promise)Z.push(j),O=!0;else Z.push(j)}if(!O)return yS(Z,K,I,X);return Promise.all(Z).then((M)=>{return yS(M,K,I,X)})}}),EF=j0("$ZodDiscriminatedUnion",(I,J)=>{J.inclusive=!1,P2.init(I,J);let Y=I._zod.parse;h$(I._zod,"propValues",()=>{let X={};for(let O of J.options){let Z=O._zod.propValues;if(!Z||Object.keys(Z).length===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(O)}"`);for(let[M,j]of Object.entries(Z)){if(!X[M])X[M]=new Set;for(let q of j)X[M].add(q)}}return X});let K=fQ(()=>{let X=J.options,O=new Map;for(let Z of X){let M=Z._zod.propValues?.[J.discriminator];if(!M||M.size===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(Z)}"`);for(let j of M){if(O.has(j))throw Error(`Duplicate discriminator value "${String(j)}"`);O.set(j,Z)}}return O});I._zod.parse=(X,O)=>{let Z=X.value;if(!zJ(Z))return X.issues.push({code:"invalid_type",expected:"object",input:Z,inst:I}),X;let M=K.value.get(Z?.[J.discriminator]);if(M)return M._zod.run(X,O);if(J.unionFallback||O.direction==="backward")return Y(X,O);return X.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:J.discriminator,options:Array.from(K.value.keys()),input:Z,path:[J.discriminator],inst:I}),X}}),SF=j0("$ZodIntersection",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value,O=J.left._zod.run({value:X,issues:[]},K),Z=J.right._zod.run({value:X,issues:[]},K);if(O instanceof Promise||Z instanceof Promise)return Promise.all([O,Z]).then(([j,q])=>{return uS(Y,j,q)});return uS(Y,O,Z)}});function cH(I,J){if(I===J)return{valid:!0,data:I};if(I instanceof Date&&J instanceof Date&&+I===+J)return{valid:!0,data:I};if(ZX(I)&&ZX(J)){let Y=Object.keys(J),K=Object.keys(I).filter((O)=>Y.indexOf(O)!==-1),X={...I,...J};for(let O of K){let Z=cH(I[O],J[O]);if(!Z.valid)return{valid:!1,mergeErrorPath:[O,...Z.mergeErrorPath]};X[O]=Z.data}return{valid:!0,data:X}}if(Array.isArray(I)&&Array.isArray(J)){if(I.length!==J.length)return{valid:!1,mergeErrorPath:[]};let Y=[];for(let K=0;K<I.length;K++){let X=I[K],O=J[K],Z=cH(X,O);if(!Z.valid)return{valid:!1,mergeErrorPath:[K,...Z.mergeErrorPath]};Y.push(Z.data)}return{valid:!0,data:Y}}return{valid:!1,mergeErrorPath:[]}}function uS(I,J,Y){let K=new Map,X;for(let M of J.issues)if(M.code==="unrecognized_keys"){X??(X=M);for(let j of M.keys){if(!K.has(j))K.set(j,{});K.get(j).l=!0}}else I.issues.push(M);for(let M of Y.issues)if(M.code==="unrecognized_keys")for(let j of M.keys){if(!K.has(j))K.set(j,{});K.get(j).r=!0}else I.issues.push(M);let O=[...K].filter(([,M])=>M.l&&M.r).map(([M])=>M);if(O.length&&X)I.issues.push({...X,keys:O});if(zX(I))return I;let Z=cH(J.value,Y.value);if(!Z.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(Z.mergeErrorPath)}`);return I.value=Z.data,I}var rO=j0("$ZodTuple",(I,J)=>{E$.init(I,J);let Y=J.items;I._zod.parse=(K,X)=>{let O=K.value;if(!Array.isArray(O))return K.issues.push({input:O,inst:I,expected:"tuple",code:"invalid_type"}),K;K.value=[];let Z=[],M=bS(Y,"optin"),j=bS(Y,"optout");if(!J.rest){if(O.length<M)return K.issues.push({code:"too_small",minimum:M,inclusive:!0,input:O,inst:I,origin:"array"}),K;if(O.length>Y.length)K.issues.push({code:"too_big",maximum:Y.length,inclusive:!0,input:O,inst:I,origin:"array"})}let q=Array(Y.length);for(let E=0;E<Y.length;E++){let C=Y[E]._zod.run({value:O[E],issues:[]},X);if(C instanceof Promise)Z.push(C.then((_)=>{q[E]=_}));else q[E]=C}if(J.rest){let E=Y.length-1,C=O.slice(Y.length);for(let _ of C){E++;let B=J.rest._zod.run({value:_,issues:[]},X);if(B instanceof Promise)Z.push(B.then((v)=>cS(v,K,E)));else cS(B,K,E)}}if(Z.length)return Promise.all(Z).then(()=>hS(q,K,Y,O,j));return hS(q,K,Y,O,j)}});function bS(I,J){for(let Y=I.length-1;Y>=0;Y--)if(I[Y]._zod[J]!=="optional")return Y+1;return 0}function cS(I,J,Y){if(I.issues.length)J.issues.push(...a6(Y,I.issues));J.value[Y]=I.value}function hS(I,J,Y,K,X){for(let O=0;O<Y.length;O++){let Z=I[O],M=O<K.length;if(Z.issues.length){if(!M&&O>=X){J.value.length=O;break}J.issues.push(...a6(O,Z.issues))}J.value[O]=Z.value}for(let O=J.value.length-1;O>=K.length;O--)if(Y[O]._zod.optout==="optional"&&J.value[O]===void 0)J.value.length=O;else break;return J}var jF=j0("$ZodRecord",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value;if(!ZX(X))return Y.issues.push({expected:"record",code:"invalid_type",input:X,inst:I}),Y;let O=[],Z=J.keyType._zod.values;if(Z){Y.value={};let M=new Set;for(let q of Z)if(typeof q==="string"||typeof q==="number"||typeof q==="symbol"){M.add(typeof q==="number"?q.toString():q);let E=J.keyType._zod.run({value:q,issues:[]},K);if(E instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(E.issues.length){Y.issues.push({code:"invalid_key",origin:"record",issues:E.issues.map((B)=>b6(B,K,tU())),input:q,path:[q],inst:I});continue}let C=E.value,_=J.valueType._zod.run({value:X[q],issues:[]},K);if(_ instanceof Promise)O.push(_.then((B)=>{if(B.issues.length)Y.issues.push(...a6(q,B.issues));Y.value[C]=B.value}));else{if(_.issues.length)Y.issues.push(...a6(q,_.issues));Y.value[C]=_.value}}let j;for(let q in X)if(!M.has(q))j=j??[],j.push(q);if(j&&j.length>0)Y.issues.push({code:"unrecognized_keys",input:X,inst:I,keys:j})}else{Y.value={};for(let M of Reflect.ownKeys(X)){if(M==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(X,M))continue;let j=J.keyType._zod.run({value:M,issues:[]},K);if(j instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof M==="string"&&L2.test(M)&&j.issues.length){let C=J.keyType._zod.run({value:Number(M),issues:[]},K);if(C instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(C.issues.length===0)j=C}if(j.issues.length){if(J.mode==="loose")Y.value[M]=X[M];else Y.issues.push({code:"invalid_key",origin:"record",issues:j.issues.map((C)=>b6(C,K,tU())),input:M,path:[M],inst:I});continue}let E=J.valueType._zod.run({value:X[M],issues:[]},K);if(E instanceof Promise)O.push(E.then((C)=>{if(C.issues.length)Y.issues.push(...a6(M,C.issues));Y.value[j.value]=C.value}));else{if(E.issues.length)Y.issues.push(...a6(M,E.issues));Y.value[j.value]=E.value}}}if(O.length)return Promise.all(O).then(()=>Y);return Y}}),BF=j0("$ZodMap",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value;if(!(X instanceof Map))return Y.issues.push({expected:"map",code:"invalid_type",input:X,inst:I}),Y;let O=[];Y.value=new Map;for(let[Z,M]of X){let j=J.keyType._zod.run({value:Z,issues:[]},K),q=J.valueType._zod.run({value:M,issues:[]},K);if(j instanceof Promise||q instanceof Promise)O.push(Promise.all([j,q]).then(([E,C])=>{pS(E,C,Y,Z,X,I,K)}));else pS(j,q,Y,Z,X,I,K)}if(O.length)return Promise.all(O).then(()=>Y);return Y}});function pS(I,J,Y,K,X,O,Z){if(I.issues.length)if(W2.has(typeof K))Y.issues.push(...a6(K,I.issues));else Y.issues.push({code:"invalid_key",origin:"map",input:X,inst:O,issues:I.issues.map((M)=>b6(M,Z,tU()))});if(J.issues.length)if(W2.has(typeof K))Y.issues.push(...a6(K,J.issues));else Y.issues.push({origin:"map",code:"invalid_element",input:X,inst:O,key:K,issues:J.issues.map((M)=>b6(M,Z,tU()))});Y.value.set(I.value,J.value)}var NF=j0("$ZodSet",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value;if(!(X instanceof Set))return Y.issues.push({input:X,inst:I,expected:"set",code:"invalid_type"}),Y;let O=[];Y.value=new Set;for(let Z of X){let M=J.valueType._zod.run({value:Z,issues:[]},K);if(M instanceof Promise)O.push(M.then((j)=>mS(j,Y)));else mS(M,Y)}if(O.length)return Promise.all(O).then(()=>Y);return Y}});function mS(I,J){if(I.issues.length)J.issues.push(...I.issues);J.value.add(I.value)}var vF=j0("$ZodEnum",(I,J)=>{E$.init(I,J);let Y=O2(J.entries),K=new Set(Y);I._zod.values=K,I._zod.pattern=new RegExp(`^(${Y.filter((X)=>W2.has(typeof X)).map((X)=>typeof X==="string"?u4(X):X.toString()).join("|")})$`),I._zod.parse=(X,O)=>{let Z=X.value;if(K.has(Z))return X;return X.issues.push({code:"invalid_value",values:Y,input:Z,inst:I}),X}}),kF=j0("$ZodLiteral",(I,J)=>{if(E$.init(I,J),J.values.length===0)throw Error("Cannot create literal schema with no valid values");let Y=new Set(J.values);I._zod.values=Y,I._zod.pattern=new RegExp(`^(${J.values.map((K)=>typeof K==="string"?u4(K):K?u4(K.toString()):String(K)).join("|")})$`),I._zod.parse=(K,X)=>{let O=K.value;if(Y.has(O))return K;return K.issues.push({code:"invalid_value",values:J.values,input:O,inst:I}),K}}),xF=j0("$ZodFile",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{let X=Y.value;if(X instanceof File)return Y;return Y.issues.push({expected:"file",code:"invalid_type",input:X,inst:I}),Y}}),gF=j0("$ZodTransform",(I,J)=>{E$.init(I,J),I._zod.optin="optional",I._zod.parse=(Y,K)=>{if(K.direction==="backward")throw new ZJ(I.constructor.name);let X=J.transform(Y.value,Y);if(K.async)return(X instanceof Promise?X:Promise.resolve(X)).then((Z)=>{return Y.value=Z,Y.fallback=!0,Y});if(X instanceof Promise)throw new v1;return Y.value=X,Y.fallback=!0,Y}});function lS(I,J){if(J===void 0&&(I.issues.length||I.fallback))return{issues:[],value:void 0};return I}var tO=j0("$ZodOptional",(I,J)=>{E$.init(I,J),I._zod.optin="optional",I._zod.optout="optional",h$(I._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,void 0]):void 0}),h$(I._zod,"pattern",()=>{let Y=J.innerType._zod.pattern;return Y?new RegExp(`^(${K2(Y.source)})?$`):void 0}),I._zod.parse=(Y,K)=>{if(J.innerType._zod.optin==="optional"){let X=Y.value,O=J.innerType._zod.run(Y,K);if(O instanceof Promise)return O.then((Z)=>lS(Z,X));return lS(O,X)}if(Y.value===void 0)return Y;return J.innerType._zod.run(Y,K)}}),wF=j0("$ZodExactOptional",(I,J)=>{tO.init(I,J),h$(I._zod,"values",()=>J.innerType._zod.values),h$(I._zod,"pattern",()=>J.innerType._zod.pattern),I._zod.parse=(Y,K)=>{return J.innerType._zod.run(Y,K)}}),fF=j0("$ZodNullable",(I,J)=>{E$.init(I,J),h$(I._zod,"optin",()=>J.innerType._zod.optin),h$(I._zod,"optout",()=>J.innerType._zod.optout),h$(I._zod,"pattern",()=>{let Y=J.innerType._zod.pattern;return Y?new RegExp(`^(${K2(Y.source)}|null)$`):void 0}),h$(I._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,null]):void 0}),I._zod.parse=(Y,K)=>{if(Y.value===null)return Y;return J.innerType._zod.run(Y,K)}}),yF=j0("$ZodDefault",(I,J)=>{E$.init(I,J),I._zod.optin="optional",h$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Y,K)=>{if(K.direction==="backward")return J.innerType._zod.run(Y,K);if(Y.value===void 0)return Y.value=J.defaultValue,Y;let X=J.innerType._zod.run(Y,K);if(X instanceof Promise)return X.then((O)=>dS(O,J));return dS(X,J)}});function dS(I,J){if(I.value===void 0)I.value=J.defaultValue;return I}var uF=j0("$ZodPrefault",(I,J)=>{E$.init(I,J),I._zod.optin="optional",h$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Y,K)=>{if(K.direction==="backward")return J.innerType._zod.run(Y,K);if(Y.value===void 0)Y.value=J.defaultValue;return J.innerType._zod.run(Y,K)}}),bF=j0("$ZodNonOptional",(I,J)=>{E$.init(I,J),h$(I._zod,"values",()=>{let Y=J.innerType._zod.values;return Y?new Set([...Y].filter((K)=>K!==void 0)):void 0}),I._zod.parse=(Y,K)=>{let X=J.innerType._zod.run(Y,K);if(X instanceof Promise)return X.then((O)=>nS(O,I));return nS(X,I)}});function nS(I,J){if(!I.issues.length&&I.value===void 0)I.issues.push({code:"invalid_type",expected:"nonoptional",input:I.value,inst:J});return I}var cF=j0("$ZodSuccess",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{if(K.direction==="backward")throw new ZJ("ZodSuccess");let X=J.innerType._zod.run(Y,K);if(X instanceof Promise)return X.then((O)=>{return Y.value=O.issues.length===0,Y});return Y.value=X.issues.length===0,Y}}),hF=j0("$ZodCatch",(I,J)=>{E$.init(I,J),I._zod.optin="optional",h$(I._zod,"optout",()=>J.innerType._zod.optout),h$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Y,K)=>{if(K.direction==="backward")return J.innerType._zod.run(Y,K);let X=J.innerType._zod.run(Y,K);if(X instanceof Promise)return X.then((O)=>{if(Y.value=O.value,O.issues.length)Y.value=J.catchValue({...Y,error:{issues:O.issues.map((Z)=>b6(Z,K,tU()))},input:Y.value}),Y.issues=[],Y.fallback=!0;return Y});if(Y.value=X.value,X.issues.length)Y.value=J.catchValue({...Y,error:{issues:X.issues.map((O)=>b6(O,K,tU()))},input:Y.value}),Y.issues=[],Y.fallback=!0;return Y}}),pF=j0("$ZodNaN",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{if(typeof Y.value!=="number"||!Number.isNaN(Y.value))return Y.issues.push({input:Y.value,inst:I,expected:"nan",code:"invalid_type"}),Y;return Y}}),aO=j0("$ZodPipe",(I,J)=>{E$.init(I,J),h$(I._zod,"values",()=>J.in._zod.values),h$(I._zod,"optin",()=>J.in._zod.optin),h$(I._zod,"optout",()=>J.out._zod.optout),h$(I._zod,"propValues",()=>J.in._zod.propValues),I._zod.parse=(Y,K)=>{if(K.direction==="backward"){let O=J.out._zod.run(Y,K);if(O instanceof Promise)return O.then((Z)=>mO(Z,J.in,K));return mO(O,J.in,K)}let X=J.in._zod.run(Y,K);if(X instanceof Promise)return X.then((O)=>mO(O,J.out,K));return mO(X,J.out,K)}});function mO(I,J,Y){if(I.issues.length)return I.aborted=!0,I;return J._zod.run({value:I.value,issues:I.issues,fallback:I.fallback},Y)}var R2=j0("$ZodCodec",(I,J)=>{E$.init(I,J),h$(I._zod,"values",()=>J.in._zod.values),h$(I._zod,"optin",()=>J.in._zod.optin),h$(I._zod,"optout",()=>J.out._zod.optout),h$(I._zod,"propValues",()=>J.in._zod.propValues),I._zod.parse=(Y,K)=>{if((K.direction||"forward")==="forward"){let O=J.in._zod.run(Y,K);if(O instanceof Promise)return O.then((Z)=>lO(Z,J,K));return lO(O,J,K)}else{let O=J.out._zod.run(Y,K);if(O instanceof Promise)return O.then((Z)=>lO(Z,J,K));return lO(O,J,K)}}});function lO(I,J,Y){if(I.issues.length)return I.aborted=!0,I;if((Y.direction||"forward")==="forward"){let X=J.transform(I.value,I);if(X instanceof Promise)return X.then((O)=>dO(I,O,J.out,Y));return dO(I,X,J.out,Y)}else{let X=J.reverseTransform(I.value,I);if(X instanceof Promise)return X.then((O)=>dO(I,O,J.in,Y));return dO(I,X,J.in,Y)}}function dO(I,J,Y,K){if(I.issues.length)return I.aborted=!0,I;return Y._zod.run({value:J,issues:I.issues},K)}var mF=j0("$ZodPreprocess",(I,J)=>{aO.init(I,J)}),lF=j0("$ZodReadonly",(I,J)=>{E$.init(I,J),h$(I._zod,"propValues",()=>J.innerType._zod.propValues),h$(I._zod,"values",()=>J.innerType._zod.values),h$(I._zod,"optin",()=>J.innerType?._zod?.optin),h$(I._zod,"optout",()=>J.innerType?._zod?.optout),I._zod.parse=(Y,K)=>{if(K.direction==="backward")return J.innerType._zod.run(Y,K);let X=J.innerType._zod.run(Y,K);if(X instanceof Promise)return X.then(oS);return oS(X)}});function oS(I){return I.value=Object.freeze(I.value),I}var dF=j0("$ZodTemplateLiteral",(I,J)=>{E$.init(I,J);let Y=[];for(let K of J.parts)if(typeof K==="object"&&K!==null){if(!K._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...K._zod.traits].shift()}`);let X=K._zod.pattern instanceof RegExp?K._zod.pattern.source:K._zod.pattern;if(!X)throw Error(`Invalid template literal part: ${K._zod.traits}`);let O=X.startsWith("^")?1:0,Z=X.endsWith("$")?X.length-1:X.length;Y.push(X.slice(O,Z))}else if(K===null||yD.has(typeof K))Y.push(u4(`${K}`));else throw Error(`Invalid template literal part: ${K}`);I._zod.pattern=new RegExp(`^${Y.join("")}$`),I._zod.parse=(K,X)=>{if(typeof K.value!=="string")return K.issues.push({input:K.value,inst:I,expected:"string",code:"invalid_type"}),K;if(I._zod.pattern.lastIndex=0,!I._zod.pattern.test(K.value))return K.issues.push({input:K.value,inst:I,code:"invalid_format",format:J.format??"template_literal",pattern:I._zod.pattern.source}),K;return K}}),nF=j0("$ZodFunction",(I,J)=>{return E$.init(I,J),I._def=J,I._zod.def=J,I.implement=(Y)=>{if(typeof Y!=="function")throw Error("implement() must be called with a function");return function(...K){let X=I._def.input?BO(I._def.input,K):K,O=Reflect.apply(Y,this,X);if(I._def.output)return BO(I._def.output,O);return O}},I.implementAsync=(Y)=>{if(typeof Y!=="function")throw Error("implementAsync() must be called with a function");return async function(...K){let X=I._def.input?await NO(I._def.input,K):K,O=await Reflect.apply(Y,this,X);if(I._def.output)return await NO(I._def.output,O);return O}},I._zod.parse=(Y,K)=>{if(typeof Y.value!=="function")return Y.issues.push({code:"invalid_type",expected:"function",input:Y.value,inst:I}),Y;if(I._def.output&&I._def.output._zod.def.type==="promise")Y.value=I.implementAsync(Y.value);else Y.value=I.implement(Y.value);return Y},I.input=(...Y)=>{let K=I.constructor;if(Array.isArray(Y[0]))return new K({type:"function",input:new rO({type:"tuple",items:Y[0],rest:Y[1]}),output:I._def.output});return new K({type:"function",input:Y[0],output:I._def.output})},I.output=(Y)=>{return new I.constructor({type:"function",input:I._def.input,output:Y})},I}),oF=j0("$ZodPromise",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,K)=>{return Promise.resolve(Y.value).then((X)=>J.innerType._zod.run({value:X,issues:[]},K))}}),iF=j0("$ZodLazy",(I,J)=>{E$.init(I,J),h$(I._zod,"innerType",()=>{let Y=J;if(!Y._cachedInner)Y._cachedInner=J.getter();return Y._cachedInner}),h$(I._zod,"pattern",()=>I._zod.innerType?._zod?.pattern),h$(I._zod,"propValues",()=>I._zod.innerType?._zod?.propValues),h$(I._zod,"optin",()=>I._zod.innerType?._zod?.optin??void 0),h$(I._zod,"optout",()=>I._zod.innerType?._zod?.optout??void 0),I._zod.parse=(Y,K)=>{return I._zod.innerType._zod.run(Y,K)}}),rF=j0("$ZodCustom",(I,J)=>{FU.init(I,J),E$.init(I,J),I._zod.parse=(Y,K)=>{return Y},I._zod.check=(Y)=>{let K=Y.value,X=J.fn(K);if(X instanceof Promise)return X.then((O)=>iS(O,Y,K,I));iS(X,Y,K,I);return}});function iS(I,J,Y,K){if(!I){let X={code:"custom",input:Y,inst:K,path:[...K._zod.def.path??[]],continue:!K._zod.def.abort};if(K._zod.def.params)X.params=K._zod.def.params;J.issues.push(yQ(X))}}var j2={};g6(j2,{zhTW:()=>m5,zhCN:()=>p5,yo:()=>l5,vi:()=>h5,uz:()=>c5,ur:()=>b5,uk:()=>S2,ua:()=>u5,tr:()=>y5,th:()=>f5,ta:()=>w5,sv:()=>g5,sl:()=>x5,ru:()=>k5,ro:()=>v5,pt:()=>N5,ps:()=>j5,pl:()=>B5,ota:()=>S5,no:()=>E5,nl:()=>q5,ms:()=>_5,mk:()=>R5,lt:()=>P5,ko:()=>T5,km:()=>q2,kh:()=>C5,ka:()=>A5,ja:()=>L5,it:()=>M5,is:()=>F5,id:()=>H5,hy:()=>D5,hu:()=>V5,hr:()=>W5,he:()=>K5,frCA:()=>O5,fr:()=>z5,fi:()=>Z5,fa:()=>G5,es:()=>Y5,eo:()=>Q5,en:()=>_2,el:()=>J5,de:()=>X5,da:()=>I5,cs:()=>U5,ca:()=>$5,bg:()=>eF,be:()=>sF,az:()=>aF,ar:()=>tF});var Zb=()=>{let I={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function J(X){return I[X]??null}let Y={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${X.expected}، ولكن تم إدخال ${M}`;return`مدخلات غير مقبولة: يفترض إدخال ${O}، ولكن تم إدخال ${M}`}case"invalid_value":if(X.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${Q$(X.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return` أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${O} ${X.maximum.toString()} ${Z.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${O} ${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${O} ${X.minimum.toString()} ${Z.unit}`;return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${O} ${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${X.prefix}"`;if(O.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${O.suffix}"`;if(O.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${O.includes}"`;if(O.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${O.pattern}`;return`${Y[O.format]??X.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${X.divisor}`;case"unrecognized_keys":return`معرف${X.keys.length>1?"ات":""} غريب${X.keys.length>1?"ة":""}: ${g0(X.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${X.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${X.origin}`;default:return"مدخل غير مقبول"}}};function tF(){return{localeError:Zb()}}var zb=()=>{let I={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function J(X){return I[X]??null}let Y={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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Yanlış dəyər: gözlənilən instanceof ${X.expected}, daxil olan ${M}`;return`Yanlış dəyər: gözlənilən ${O}, daxil olan ${M}`}case"invalid_value":if(X.values.length===1)return`Yanlış dəyər: gözlənilən ${Q$(X.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${O}${X.maximum.toString()} ${Z.unit??"element"}`;return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Çox kiçik: gözlənilən ${X.origin} ${O}${X.minimum.toString()} ${Z.unit}`;return`Çox kiçik: gözlənilən ${X.origin} ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Yanlış mətn: "${O.prefix}" ilə başlamalıdır`;if(O.format==="ends_with")return`Yanlış mətn: "${O.suffix}" ilə bitməlidir`;if(O.format==="includes")return`Yanlış mətn: "${O.includes}" daxil olmalıdır`;if(O.format==="regex")return`Yanlış mətn: ${O.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${Y[O.format]??X.format}`}case"not_multiple_of":return`Yanlış ədəd: ${X.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${X.keys.length>1?"lar":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${X.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function aF(){return{localeError:zb()}}function $j(I,J,Y,K){let X=Math.abs(I),O=X%10,Z=X%100;if(Z>=11&&Z<=19)return K;if(O===1)return J;if(O>=2&&O<=4)return Y;return K}var Ob=()=>{let I={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function J(X){return I[X]??null}let Y={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},K={nan:"NaN",number:"лік",array:"масіў"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Няправільны ўвод: чакаўся instanceof ${X.expected}, атрымана ${M}`;return`Няправільны ўвод: чакаўся ${O}, атрымана ${M}`}case"invalid_value":if(X.values.length===1)return`Няправільны ўвод: чакалася ${Q$(X.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let M=Number(X.maximum),j=$j(M,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна ${Z.verb} ${O}${X.maximum.toString()} ${j}`}return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна быць ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z){let M=Number(X.minimum),j=$j(M,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта малы: чакалася, што ${X.origin} павінна ${Z.verb} ${O}${X.minimum.toString()} ${j}`}return`Занадта малы: чакалася, што ${X.origin} павінна быць ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${O.prefix}"`;if(O.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${O.suffix}"`;if(O.format==="includes")return`Няправільны радок: павінен змяшчаць "${O.includes}"`;if(O.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${O.pattern}`;return`Няправільны ${Y[O.format]??X.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${X.keys.length>1?"ключы":"ключ"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${X.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${X.origin}`;default:return"Няправільны ўвод"}}};function sF(){return{localeError:Ob()}}var Kb=()=>{let I={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function J(X){return I[X]??null}let Y={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},K={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Невалиден вход: очакван instanceof ${X.expected}, получен ${M}`;return`Невалиден вход: очакван ${O}, получен ${M}`}case"invalid_value":if(X.values.length===1)return`Невалиден вход: очакван ${Q$(X.values[0])}`;return`Невалидна опция: очаквано едно от ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Твърде голямо: очаква се ${X.origin??"стойност"} да съдържа ${O}${X.maximum.toString()} ${Z.unit??"елемента"}`;return`Твърде голямо: очаква се ${X.origin??"стойност"} да бъде ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Твърде малко: очаква се ${X.origin} да съдържа ${O}${X.minimum.toString()} ${Z.unit}`;return`Твърде малко: очаква се ${X.origin} да бъде ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Невалиден низ: трябва да започва с "${O.prefix}"`;if(O.format==="ends_with")return`Невалиден низ: трябва да завършва с "${O.suffix}"`;if(O.format==="includes")return`Невалиден низ: трябва да включва "${O.includes}"`;if(O.format==="regex")return`Невалиден низ: трябва да съвпада с ${O.pattern}`;let Z="Невалиден";if(O.format==="emoji")Z="Невалидно";if(O.format==="datetime")Z="Невалидно";if(O.format==="date")Z="Невалидна";if(O.format==="time")Z="Невалидно";if(O.format==="duration")Z="Невалидна";return`${Z} ${Y[O.format]??X.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${X.divisor}`;case"unrecognized_keys":return`Неразпознат${X.keys.length>1?"и":""} ключ${X.keys.length>1?"ове":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${X.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${X.origin}`;default:return"Невалиден вход"}}};function eF(){return{localeError:Kb()}}var Wb=()=>{let I={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function J(X){return I[X]??null}let Y={regex:"entrada",email:"adreça electrònica",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ça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Tipus invàlid: s'esperava instanceof ${X.expected}, s'ha rebut ${M}`;return`Tipus invàlid: s'esperava ${O}, s'ha rebut ${M}`}case"invalid_value":if(X.values.length===1)return`Valor invàlid: s'esperava ${Q$(X.values[0])}`;return`Opció invàlida: s'esperava una de ${g0(X.values," o ")}`;case"too_big":{let O=X.inclusive?"com a màxim":"menys de",Z=J(X.origin);if(Z)return`Massa gran: s'esperava que ${X.origin??"el valor"} contingués ${O} ${X.maximum.toString()} ${Z.unit??"elements"}`;return`Massa gran: s'esperava que ${X.origin??"el valor"} fos ${O} ${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?"com a mínim":"més de",Z=J(X.origin);if(Z)return`Massa petit: s'esperava que ${X.origin} contingués ${O} ${X.minimum.toString()} ${Z.unit}`;return`Massa petit: s'esperava que ${X.origin} fos ${O} ${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Format invàlid: ha de començar amb "${O.prefix}"`;if(O.format==="ends_with")return`Format invàlid: ha d'acabar amb "${O.suffix}"`;if(O.format==="includes")return`Format invàlid: ha d'incloure "${O.includes}"`;if(O.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${O.pattern}`;return`Format invàlid per a ${Y[O.format]??X.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${X.divisor}`;case"unrecognized_keys":return`Clau${X.keys.length>1?"s":""} no reconeguda${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${X.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${X.origin}`;default:return"Entrada invàlida"}}};function $5(){return{localeError:Wb()}}var Vb=()=>{let I={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function J(X){return I[X]??null}let Y={regex:"regulární výraz",email:"e-mailová 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 čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},K={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neplatný vstup: očekáváno instanceof ${X.expected}, obdrženo ${M}`;return`Neplatný vstup: očekáváno ${O}, obdrženo ${M}`}case"invalid_value":if(X.values.length===1)return`Neplatný vstup: očekáváno ${Q$(X.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí mít ${O}${X.maximum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí být ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí mít ${O}${X.minimum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí být ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Neplatný řetězec: musí začínat na "${O.prefix}"`;if(O.format==="ends_with")return`Neplatný řetězec: musí končit na "${O.suffix}"`;if(O.format==="includes")return`Neplatný řetězec: musí obsahovat "${O.includes}"`;if(O.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${O.pattern}`;return`Neplatný formát ${Y[O.format]??X.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${X.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${g0(X.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${X.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${X.origin}`;default:return"Neplatný vstup"}}};function U5(){return{localeError:Vb()}}var Db=()=>{let I={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function J(X){return I[X]??null}let Y={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æt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",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"},K={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ugyldigt input: forventede instanceof ${X.expected}, fik ${M}`;return`Ugyldigt input: forventede ${O}, fik ${M}`}case"invalid_value":if(X.values.length===1)return`Ugyldig værdi: forventede ${Q$(X.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin),M=K[X.origin]??X.origin;if(Z)return`For stor: forventede ${M??"value"} ${Z.verb} ${O} ${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor: forventede ${M??"value"} havde ${O} ${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin),M=K[X.origin]??X.origin;if(Z)return`For lille: forventede ${M} ${Z.verb} ${O} ${X.minimum.toString()} ${Z.unit}`;return`For lille: forventede ${M} havde ${O} ${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Ugyldig streng: skal starte med "${O.prefix}"`;if(O.format==="ends_with")return`Ugyldig streng: skal ende med "${O.suffix}"`;if(O.format==="includes")return`Ugyldig streng: skal indeholde "${O.includes}"`;if(O.format==="regex")return`Ugyldig streng: skal matche mønsteret ${O.pattern}`;return`Ugyldig ${Y[O.format]??X.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${X.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${X.origin}`;default:return"Ugyldigt input"}}};function I5(){return{localeError:Db()}}var Hb=()=>{let I={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 J(X){return I[X]??null}let Y={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"},K={nan:"NaN",number:"Zahl",array:"Array"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ungültige Eingabe: erwartet instanceof ${X.expected}, erhalten ${M}`;return`Ungültige Eingabe: erwartet ${O}, erhalten ${M}`}case"invalid_value":if(X.values.length===1)return`Ungültige Eingabe: erwartet ${Q$(X.values[0])}`;return`Ungültige Option: erwartet eine von ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${O}${X.maximum.toString()} ${Z.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${O}${X.maximum.toString()} ist`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Zu klein: erwartet, dass ${X.origin} ${O}${X.minimum.toString()} ${Z.unit} hat`;return`Zu klein: erwartet, dass ${X.origin} ${O}${X.minimum.toString()} ist`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Ungültiger String: muss mit "${O.prefix}" beginnen`;if(O.format==="ends_with")return`Ungültiger String: muss mit "${O.suffix}" enden`;if(O.format==="includes")return`Ungültiger String: muss "${O.includes}" enthalten`;if(O.format==="regex")return`Ungültiger String: muss dem Muster ${O.pattern} entsprechen`;return`Ungültig: ${Y[O.format]??X.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${X.divisor} sein`;case"unrecognized_keys":return`${X.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${X.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${X.origin}`;default:return"Ungültige Eingabe"}}};function X5(){return{localeError:Hb()}}var Fb=()=>{let I={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function J(X){return I[X]??null}let Y={regex:"είσοδος",email:"διεύθυνση 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:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(typeof X.expected==="string"&&/^[A-Z]/.test(X.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${X.expected}, λήφθηκε ${M}`;return`Μη έγκυρη είσοδος: αναμενόταν ${O}, λήφθηκε ${M}`}case"invalid_value":if(X.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${Q$(X.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να έχει ${O}${X.maximum.toString()} ${Z.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να είναι ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Πολύ μικρό: αναμενόταν ${X.origin} να έχει ${O}${X.minimum.toString()} ${Z.unit}`;return`Πολύ μικρό: αναμενόταν ${X.origin} να είναι ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${O.prefix}"`;if(O.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${O.suffix}"`;if(O.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${O.includes}"`;if(O.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${O.pattern}`;return`Μη έγκυρο: ${Y[O.format]??X.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${X.divisor}`;case"unrecognized_keys":return`Άγνωστ${X.keys.length>1?"α":"ο"} κλειδ${X.keys.length>1?"ιά":"ί"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${X.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${X.origin}`;default:return"Μη έγκυρη είσοδος"}}};function J5(){return{localeError:Fb()}}var Mb=()=>{let I={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 J(X){return I[X]??null}let Y={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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;return`Invalid input: expected ${O}, received ${M}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${Q$(X.values[0])}`;return`Invalid option: expected one of ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Too big: expected ${X.origin??"value"} to have ${O}${X.maximum.toString()} ${Z.unit??"elements"}`;return`Too big: expected ${X.origin??"value"} to be ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Too small: expected ${X.origin} to have ${O}${X.minimum.toString()} ${Z.unit}`;return`Too small: expected ${X.origin} to be ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Invalid string: must start with "${O.prefix}"`;if(O.format==="ends_with")return`Invalid string: must end with "${O.suffix}"`;if(O.format==="includes")return`Invalid string: must include "${O.includes}"`;if(O.format==="regex")return`Invalid string: must match pattern ${O.pattern}`;return`Invalid ${Y[O.format]??X.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${X.divisor}`;case"unrecognized_keys":return`Unrecognized key${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Invalid key in ${X.origin}`;case"invalid_union":if(X.options&&Array.isArray(X.options)&&X.options.length>0)return`Invalid discriminator value. Expected ${X.options.map((Z)=>`'${Z}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${X.origin}`;default:return"Invalid input"}}};function _2(){return{localeError:Mb()}}var Lb=()=>{let I={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function J(X){return I[X]??null}let Y={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",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ŭro",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"},K={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Nevalida enigo: atendiĝis instanceof ${X.expected}, riceviĝis ${M}`;return`Nevalida enigo: atendiĝis ${O}, riceviĝis ${M}`}case"invalid_value":if(X.values.length===1)return`Nevalida enigo: atendiĝis ${Q$(X.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${O}${X.maximum.toString()} ${Z.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Tro malgranda: atendiĝis ke ${X.origin} havu ${O}${X.minimum.toString()} ${Z.unit}`;return`Tro malgranda: atendiĝis ke ${X.origin} estu ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${O.prefix}"`;if(O.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${O.suffix}"`;if(O.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${O.includes}"`;if(O.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${O.pattern}`;return`Nevalida ${Y[O.format]??X.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${X.divisor}`;case"unrecognized_keys":return`Nekonata${X.keys.length>1?"j":""} ŝlosilo${X.keys.length>1?"j":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${X.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${X.origin}`;default:return"Nevalida enigo"}}};function Q5(){return{localeError:Lb()}}var Ab=()=>{let I={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function J(X){return I[X]??null}let Y={regex:"entrada",email:"dirección de correo electrónico",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ón ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},K={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrada inválida: se esperaba instanceof ${X.expected}, recibido ${M}`;return`Entrada inválida: se esperaba ${O}, recibido ${M}`}case"invalid_value":if(X.values.length===1)return`Entrada inválida: se esperaba ${Q$(X.values[0])}`;return`Opción inválida: se esperaba una de ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin),M=K[X.origin]??X.origin;if(Z)return`Demasiado grande: se esperaba que ${M??"valor"} tuviera ${O}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${M??"valor"} fuera ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin),M=K[X.origin]??X.origin;if(Z)return`Demasiado pequeño: se esperaba que ${M} tuviera ${O}${X.minimum.toString()} ${Z.unit}`;return`Demasiado pequeño: se esperaba que ${M} fuera ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Cadena inválida: debe comenzar con "${O.prefix}"`;if(O.format==="ends_with")return`Cadena inválida: debe terminar en "${O.suffix}"`;if(O.format==="includes")return`Cadena inválida: debe incluir "${O.includes}"`;if(O.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${O.pattern}`;return`Inválido ${Y[O.format]??X.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${X.divisor}`;case"unrecognized_keys":return`Llave${X.keys.length>1?"s":""} desconocida${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Llave inválida en ${K[X.origin]??X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${K[X.origin]??X.origin}`;default:return"Entrada inválida"}}};function Y5(){return{localeError:Ab()}}var Cb=()=>{let I={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function J(X){return I[X]??null}let Y={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},K={nan:"NaN",number:"عدد",array:"آرایه"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ورودی نامعتبر: میبایست instanceof ${X.expected} میبود، ${M} دریافت شد`;return`ورودی نامعتبر: میبایست ${O} میبود، ${M} دریافت شد`}case"invalid_value":if(X.values.length===1)return`ورودی نامعتبر: میبایست ${Q$(X.values[0])} میبود`;return`گزینه نامعتبر: میبایست یکی از ${g0(X.values,"|")} میبود`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${O}${X.maximum.toString()} ${Z.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${O}${X.maximum.toString()} باشد`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`خیلی کوچک: ${X.origin} باید ${O}${X.minimum.toString()} ${Z.unit} باشد`;return`خیلی کوچک: ${X.origin} باید ${O}${X.minimum.toString()} باشد`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`رشته نامعتبر: باید با "${O.prefix}" شروع شود`;if(O.format==="ends_with")return`رشته نامعتبر: باید با "${O.suffix}" تمام شود`;if(O.format==="includes")return`رشته نامعتبر: باید شامل "${O.includes}" باشد`;if(O.format==="regex")return`رشته نامعتبر: باید با الگوی ${O.pattern} مطابقت داشته باشد`;return`${Y[O.format]??X.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${X.divisor} باشد`;case"unrecognized_keys":return`کلید${X.keys.length>1?"های":""} ناشناس: ${g0(X.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${X.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${X.origin}`;default:return"ورودی نامعتبر"}}};function G5(){return{localeError:Cb()}}var Tb=()=>{let I={string:{unit:"merkkiä",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äivämäärän"}};function J(X){return I[X]??null}let Y={regex:"säännöllinen lauseke",email:"sähköpostiosoite",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äivämäärä",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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Virheellinen tyyppi: odotettiin instanceof ${X.expected}, oli ${M}`;return`Virheellinen tyyppi: odotettiin ${O}, oli ${M}`}case"invalid_value":if(X.values.length===1)return`Virheellinen syöte: täytyy olla ${Q$(X.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Liian suuri: ${Z.subject} täytyy olla ${O}${X.maximum.toString()} ${Z.unit}`.trim();return`Liian suuri: arvon täytyy olla ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Liian pieni: ${Z.subject} täytyy olla ${O}${X.minimum.toString()} ${Z.unit}`.trim();return`Liian pieni: arvon täytyy olla ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${O.prefix}"`;if(O.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${O.suffix}"`;if(O.format==="includes")return`Virheellinen syöte: täytyy sisältää "${O.includes}"`;if(O.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${O.pattern}`;return`Virheellinen ${Y[O.format]??X.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${X.divisor} monikerta`;case"unrecognized_keys":return`${X.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${g0(X.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öte"}}};function Z5(){return{localeError:Tb()}}var Pb=()=>{let I={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(X){return I[X]??null}let Y={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},K={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : instanceof ${X.expected} attendu, ${M} reçu`;return`Entrée invalide : ${O} attendu, ${M} reçu`}case"invalid_value":if(X.values.length===1)return`Entrée invalide : ${Q$(X.values[0])} attendu`;return`Option invalide : une valeur parmi ${g0(X.values,"|")} attendue`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Trop grand : ${K[X.origin]??"valeur"} doit ${Z.verb} ${O}${X.maximum.toString()} ${Z.unit??"élément(s)"}`;return`Trop grand : ${K[X.origin]??"valeur"} doit être ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Trop petit : ${K[X.origin]??"valeur"} doit ${Z.verb} ${O}${X.minimum.toString()} ${Z.unit}`;return`Trop petit : ${K[X.origin]??"valeur"} doit être ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Chaîne invalide : doit commencer par "${O.prefix}"`;if(O.format==="ends_with")return`Chaîne invalide : doit se terminer par "${O.suffix}"`;if(O.format==="includes")return`Chaîne invalide : doit inclure "${O.includes}"`;if(O.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${O.pattern}`;return`${Y[O.format]??X.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${X.divisor}`;case"unrecognized_keys":return`Clé${X.keys.length>1?"s":""} non reconnue${X.keys.length>1?"s":""} : ${g0(X.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${X.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${X.origin}`;default:return"Entrée invalide"}}};function z5(){return{localeError:Pb()}}var Rb=()=>{let I={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(X){return I[X]??null}let Y={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : attendu instanceof ${X.expected}, reçu ${M}`;return`Entrée invalide : attendu ${O}, reçu ${M}`}case"invalid_value":if(X.values.length===1)return`Entrée invalide : attendu ${Q$(X.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"≤":"<",Z=J(X.origin);if(Z)return`Trop grand : attendu que ${X.origin??"la valeur"} ait ${O}${X.maximum.toString()} ${Z.unit}`;return`Trop grand : attendu que ${X.origin??"la valeur"} soit ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?"≥":">",Z=J(X.origin);if(Z)return`Trop petit : attendu que ${X.origin} ait ${O}${X.minimum.toString()} ${Z.unit}`;return`Trop petit : attendu que ${X.origin} soit ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Chaîne invalide : doit commencer par "${O.prefix}"`;if(O.format==="ends_with")return`Chaîne invalide : doit se terminer par "${O.suffix}"`;if(O.format==="includes")return`Chaîne invalide : doit inclure "${O.includes}"`;if(O.format==="regex")return`Chaîne invalide : doit correspondre au motif ${O.pattern}`;return`${Y[O.format]??X.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${X.divisor}`;case"unrecognized_keys":return`Clé${X.keys.length>1?"s":""} non reconnue${X.keys.length>1?"s":""} : ${g0(X.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${X.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${X.origin}`;default:return"Entrée invalide"}}};function O5(){return{localeError:Rb()}}var _b=()=>{let I={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},J={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},Y=(q)=>q?I[q]:void 0,K=(q)=>{let E=Y(q);if(E)return E.label;return q??I.unknown.label},X=(q)=>`ה${K(q)}`,O=(q)=>{return(Y(q)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},Z=(q)=>{if(!q)return null;return J[q]??null},M={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",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:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},j={nan:"NaN"};return(q)=>{switch(q.code){case"invalid_type":{let E=q.expected,C=j[E??""]??K(E),_=Y$(q.input),B=j[_]??I[_]?.label??_;if(/^[A-Z]/.test(q.expected))return`קלט לא תקין: צריך להיות instanceof ${q.expected}, התקבל ${B}`;return`קלט לא תקין: צריך להיות ${C}, התקבל ${B}`}case"invalid_value":{if(q.values.length===1)return`ערך לא תקין: הערך חייב להיות ${Q$(q.values[0])}`;let E=q.values.map((B)=>Q$(B));if(q.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${E[0]} או ${E[1]}`;let C=E[E.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${E.slice(0,-1).join(", ")} או ${C}`}case"too_big":{let E=Z(q.origin),C=X(q.origin??"value");if(q.origin==="string")return`${E?.longLabel??"ארוך"} מדי: ${C} צריכה להכיל ${q.maximum.toString()} ${E?.unit??""} ${q.inclusive?"או פחות":"לכל היותר"}`.trim();if(q.origin==="number"){let v=q.inclusive?`קטן או שווה ל-${q.maximum}`:`קטן מ-${q.maximum}`;return`גדול מדי: ${C} צריך להיות ${v}`}if(q.origin==="array"||q.origin==="set"){let v=q.origin==="set"?"צריכה":"צריך",y=q.inclusive?`${q.maximum} ${E?.unit??""} או פחות`:`פחות מ-${q.maximum} ${E?.unit??""}`;return`גדול מדי: ${C} ${v} להכיל ${y}`.trim()}let _=q.inclusive?"<=":"<",B=O(q.origin??"value");if(E?.unit)return`${E.longLabel} מדי: ${C} ${B} ${_}${q.maximum.toString()} ${E.unit}`;return`${E?.longLabel??"גדול"} מדי: ${C} ${B} ${_}${q.maximum.toString()}`}case"too_small":{let E=Z(q.origin),C=X(q.origin??"value");if(q.origin==="string")return`${E?.shortLabel??"קצר"} מדי: ${C} צריכה להכיל ${q.minimum.toString()} ${E?.unit??""} ${q.inclusive?"או יותר":"לפחות"}`.trim();if(q.origin==="number"){let v=q.inclusive?`גדול או שווה ל-${q.minimum}`:`גדול מ-${q.minimum}`;return`קטן מדי: ${C} צריך להיות ${v}`}if(q.origin==="array"||q.origin==="set"){let v=q.origin==="set"?"צריכה":"צריך";if(q.minimum===1&&q.inclusive){let w=q.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${C} ${v} להכיל ${w}`}let y=q.inclusive?`${q.minimum} ${E?.unit??""} או יותר`:`יותר מ-${q.minimum} ${E?.unit??""}`;return`קטן מדי: ${C} ${v} להכיל ${y}`.trim()}let _=q.inclusive?">=":">",B=O(q.origin??"value");if(E?.unit)return`${E.shortLabel} מדי: ${C} ${B} ${_}${q.minimum.toString()} ${E.unit}`;return`${E?.shortLabel??"קטן"} מדי: ${C} ${B} ${_}${q.minimum.toString()}`}case"invalid_format":{let E=q;if(E.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${E.prefix}"`;if(E.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${E.suffix}"`;if(E.format==="includes")return`המחרוזת חייבת לכלול "${E.includes}"`;if(E.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${E.pattern}`;let C=M[E.format],_=C?.label??E.format,v=(C?.gender??"m")==="f"?"תקינה":"תקין";return`${_} לא ${v}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${q.divisor}`;case"unrecognized_keys":return`מפתח${q.keys.length>1?"ות":""} לא מזוה${q.keys.length>1?"ים":"ה"}: ${g0(q.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${X(q.origin??"array")}`;default:return"קלט לא תקין"}}};function K5(){return{localeError:_b()}}var qb=()=>{let I={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function J(X){return I[X]??null}let Y={regex:"unos",email:"email 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:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},K={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neispravan unos: očekuje se instanceof ${X.expected}, a primljeno je ${M}`;return`Neispravan unos: očekuje se ${O}, a primljeno je ${M}`}case"invalid_value":if(X.values.length===1)return`Neispravna vrijednost: očekivano ${Q$(X.values[0])}`;return`Neispravna opcija: očekivano jedno od ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin),M=K[X.origin]??X.origin;if(Z)return`Preveliko: očekivano da ${M??"vrijednost"} ima ${O}${X.maximum.toString()} ${Z.unit??"elemenata"}`;return`Preveliko: očekivano da ${M??"vrijednost"} bude ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin),M=K[X.origin]??X.origin;if(Z)return`Premalo: očekivano da ${M} ima ${O}${X.minimum.toString()} ${Z.unit}`;return`Premalo: očekivano da ${M} bude ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Neispravan tekst: mora započinjati s "${O.prefix}"`;if(O.format==="ends_with")return`Neispravan tekst: mora završavati s "${O.suffix}"`;if(O.format==="includes")return`Neispravan tekst: mora sadržavati "${O.includes}"`;if(O.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${O.pattern}`;return`Neispravna ${Y[O.format]??X.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${X.divisor}`;case"unrecognized_keys":return`Neprepoznat${X.keys.length>1?"i ključevi":" ključ"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${K[X.origin]??X.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${K[X.origin]??X.origin}`;default:return"Neispravan unos"}}};function W5(){return{localeError:qb()}}var Eb=()=>{let I={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function J(X){return I[X]??null}let Y={regex:"bemenet",email:"email cím",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őbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},K={nan:"NaN",number:"szám",array:"tömb"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Érvénytelen bemenet: a várt érték instanceof ${X.expected}, a kapott érték ${M}`;return`Érvénytelen bemenet: a várt érték ${O}, a kapott érték ${M}`}case"invalid_value":if(X.values.length===1)return`Érvénytelen bemenet: a várt érték ${Q$(X.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Túl nagy: ${X.origin??"érték"} mérete túl nagy ${O}${X.maximum.toString()} ${Z.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${X.origin??"érték"} túl nagy: ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Túl kicsi: a bemeneti érték ${X.origin} mérete túl kicsi ${O}${X.minimum.toString()} ${Z.unit}`;return`Túl kicsi: a bemeneti érték ${X.origin} túl kicsi ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Érvénytelen string: "${O.prefix}" értékkel kell kezdődnie`;if(O.format==="ends_with")return`Érvénytelen string: "${O.suffix}" értékkel kell végződnie`;if(O.format==="includes")return`Érvénytelen string: "${O.includes}" értéket kell tartalmaznia`;if(O.format==="regex")return`Érvénytelen string: ${O.pattern} mintának kell megfelelnie`;return`Érvénytelen ${Y[O.format]??X.format}`}case"not_multiple_of":return`Érvénytelen szám: ${X.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${X.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${X.origin}`;default:return"Érvénytelen bemenet"}}};function V5(){return{localeError:Eb()}}function Uj(I,J,Y){return Math.abs(I)===1?J:Y}function mQ(I){if(!I)return"";let J=["ա","ե","ը","ի","ո","ու","օ"],Y=I[I.length-1];return I+(J.includes(Y)?"ն":"ը")}var Sb=()=>{let I={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function J(X){return I[X]??null}let Y={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},K={nan:"NaN",number:"թիվ",array:"զանգված"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${X.expected}, ստացվել է ${M}`;return`Սխալ մուտքագրում․ սպասվում էր ${O}, ստացվել է ${M}`}case"invalid_value":if(X.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${Q$(X.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let M=Number(X.maximum),j=Uj(M,Z.unit.one,Z.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mQ(X.origin??"արժեք")} կունենա ${O}${X.maximum.toString()} ${j}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mQ(X.origin??"արժեք")} լինի ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z){let M=Number(X.minimum),j=Uj(M,Z.unit.one,Z.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mQ(X.origin)} կունենա ${O}${X.minimum.toString()} ${j}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mQ(X.origin)} լինի ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${O.prefix}"-ով`;if(O.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${O.suffix}"-ով`;if(O.format==="includes")return`Սխալ տող․ պետք է պարունակի "${O.includes}"`;if(O.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${O.pattern} ձևաչափին`;return`Սխալ ${Y[O.format]??X.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${X.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${X.keys.length>1?"ներ":""}. ${g0(X.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${mQ(X.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${mQ(X.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function D5(){return{localeError:Sb()}}var jb=()=>{let I={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function J(X){return I[X]??null}let Y={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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input tidak valid: diharapkan instanceof ${X.expected}, diterima ${M}`;return`Input tidak valid: diharapkan ${O}, diterima ${M}`}case"invalid_value":if(X.values.length===1)return`Input tidak valid: diharapkan ${Q$(X.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: diharapkan ${X.origin??"value"} memiliki ${O}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: diharapkan ${X.origin??"value"} menjadi ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: diharapkan ${X.origin} memiliki ${O}${X.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: diharapkan ${X.origin} menjadi ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`String tidak valid: harus dimulai dengan "${O.prefix}"`;if(O.format==="ends_with")return`String tidak valid: harus berakhir dengan "${O.suffix}"`;if(O.format==="includes")return`String tidak valid: harus menyertakan "${O.includes}"`;if(O.format==="regex")return`String tidak valid: harus sesuai pola ${O.pattern}`;return`${Y[O.format]??X.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${X.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${X.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${X.origin}`;default:return"Input tidak valid"}}};function H5(){return{localeError:jb()}}var Bb=()=>{let I={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function J(X){return I[X]??null}let Y={regex:"gildi",email:"netfang",url:"vefslóð",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ími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",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ölugildi",jwt:"JWT",template_literal:"gildi"},K={nan:"NaN",number:"númer",array:"fylki"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Rangt gildi: Þú slóst inn ${M} þar sem á að vera instanceof ${X.expected}`;return`Rangt gildi: Þú slóst inn ${M} þar sem á að vera ${O}`}case"invalid_value":if(X.values.length===1)return`Rangt gildi: gert ráð fyrir ${Q$(X.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} hafi ${O}${X.maximum.toString()} ${Z.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} sé ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Of lítið: gert er ráð fyrir að ${X.origin} hafi ${O}${X.minimum.toString()} ${Z.unit}`;return`Of lítið: gert er ráð fyrir að ${X.origin} sé ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Ógildur strengur: verður að byrja á "${O.prefix}"`;if(O.format==="ends_with")return`Ógildur strengur: verður að enda á "${O.suffix}"`;if(O.format==="includes")return`Ógildur strengur: verður að innihalda "${O.includes}"`;if(O.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${O.pattern}`;return`Rangt ${Y[O.format]??X.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${X.divisor}`;case"unrecognized_keys":return`Óþekkt ${X.keys.length>1?"ir lyklar":"ur lykill"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${X.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${X.origin}`;default:return"Rangt gildi"}}};function F5(){return{localeError:Bb()}}var Nb=()=>{let I={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function J(X){return I[X]??null}let Y={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"},K={nan:"NaN",number:"numero",array:"vettore"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input non valido: atteso instanceof ${X.expected}, ricevuto ${M}`;return`Input non valido: atteso ${O}, ricevuto ${M}`}case"invalid_value":if(X.values.length===1)return`Input non valido: atteso ${Q$(X.values[0])}`;return`Opzione non valida: atteso uno tra ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Troppo grande: ${X.origin??"valore"} deve avere ${O}${X.maximum.toString()} ${Z.unit??"elementi"}`;return`Troppo grande: ${X.origin??"valore"} deve essere ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Troppo piccolo: ${X.origin} deve avere ${O}${X.minimum.toString()} ${Z.unit}`;return`Troppo piccolo: ${X.origin} deve essere ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Stringa non valida: deve iniziare con "${O.prefix}"`;if(O.format==="ends_with")return`Stringa non valida: deve terminare con "${O.suffix}"`;if(O.format==="includes")return`Stringa non valida: deve includere "${O.includes}"`;if(O.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${O.pattern}`;return`Input non valido: ${Y[O.format]??X.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${X.divisor}`;case"unrecognized_keys":return`Chiav${X.keys.length>1?"i":"e"} non riconosciut${X.keys.length>1?"e":"a"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${X.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${X.origin}`;default:return"Input non valido"}}};function M5(){return{localeError:Nb()}}var vb=()=>{let I={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function J(X){return I[X]??null}let Y={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},K={nan:"NaN",number:"数値",array:"配列"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`無効な入力: instanceof ${X.expected}が期待されましたが、${M}が入力されました`;return`無効な入力: ${O}が期待されましたが、${M}が入力されました`}case"invalid_value":if(X.values.length===1)return`無効な入力: ${Q$(X.values[0])}が期待されました`;return`無効な選択: ${g0(X.values,"、")}のいずれかである必要があります`;case"too_big":{let O=X.inclusive?"以下である":"より小さい",Z=J(X.origin);if(Z)return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${Z.unit??"要素"}${O}必要があります`;return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${O}必要があります`}case"too_small":{let O=X.inclusive?"以上である":"より大きい",Z=J(X.origin);if(Z)return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${Z.unit}${O}必要があります`;return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${O}必要があります`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`無効な文字列: "${O.prefix}"で始まる必要があります`;if(O.format==="ends_with")return`無効な文字列: "${O.suffix}"で終わる必要があります`;if(O.format==="includes")return`無効な文字列: "${O.includes}"を含む必要があります`;if(O.format==="regex")return`無効な文字列: パターン${O.pattern}に一致する必要があります`;return`無効な${Y[O.format]??X.format}`}case"not_multiple_of":return`無効な数値: ${X.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${X.keys.length>1?"群":""}: ${g0(X.keys,"、")}`;case"invalid_key":return`${X.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${X.origin}内の無効な値`;default:return"無効な入力"}}};function L5(){return{localeError:vb()}}var kb=()=>{let I={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function J(X){return I[X]??null}let Y={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},K={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${X.expected}, მიღებული ${M}`;return`არასწორი შეყვანა: მოსალოდნელი ${O}, მიღებული ${M}`}case"invalid_value":if(X.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${Q$(X.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${g0(X.values,"|")}-დან`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} ${Z.verb} ${O}${X.maximum.toString()} ${Z.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} იყოს ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} ${Z.verb} ${O}${X.minimum.toString()} ${Z.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} იყოს ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${O.prefix}"-ით`;if(O.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${O.suffix}"-ით`;if(O.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${O.includes}"-ს`;if(O.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${O.pattern}`;return`არასწორი ${Y[O.format]??X.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${X.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${X.keys.length>1?"ები":"ი"}: ${g0(X.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${X.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${X.origin}-ში`;default:return"არასწორი შეყვანა"}}};function A5(){return{localeError:kb()}}var xb=()=>{let I={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function J(X){return I[X]??null}let Y={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},K={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${X.expected} ប៉ុន្តែទទួលបាន ${M}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${O} ប៉ុន្តែទទួលបាន ${M}`}case"invalid_value":if(X.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Q$(X.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${O} ${X.maximum.toString()} ${Z.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${O} ${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`តូចពេក៖ ត្រូវការ ${X.origin} ${O} ${X.minimum.toString()} ${Z.unit}`;return`តូចពេក៖ ត្រូវការ ${X.origin} ${O} ${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${O.prefix}"`;if(O.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${O.suffix}"`;if(O.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${O.includes}"`;if(O.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${O.pattern}`;return`មិនត្រឹមត្រូវ៖ ${Y[O.format]??X.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${X.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${g0(X.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function q2(){return{localeError:xb()}}function C5(){return q2()}var gb=()=>{let I={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function J(X){return I[X]??null}let Y={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`잘못된 입력: 예상 타입은 instanceof ${X.expected}, 받은 타입은 ${M}입니다`;return`잘못된 입력: 예상 타입은 ${O}, 받은 타입은 ${M}입니다`}case"invalid_value":if(X.values.length===1)return`잘못된 입력: 값은 ${Q$(X.values[0])} 이어야 합니다`;return`잘못된 옵션: ${g0(X.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let O=X.inclusive?"이하":"미만",Z=O==="미만"?"이어야 합니다":"여야 합니다",M=J(X.origin),j=M?.unit??"요소";if(M)return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()}${j} ${O}${Z}`;return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()} ${O}${Z}`}case"too_small":{let O=X.inclusive?"이상":"초과",Z=O==="이상"?"이어야 합니다":"여야 합니다",M=J(X.origin),j=M?.unit??"요소";if(M)return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()}${j} ${O}${Z}`;return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()} ${O}${Z}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`잘못된 문자열: "${O.prefix}"(으)로 시작해야 합니다`;if(O.format==="ends_with")return`잘못된 문자열: "${O.suffix}"(으)로 끝나야 합니다`;if(O.format==="includes")return`잘못된 문자열: "${O.includes}"을(를) 포함해야 합니다`;if(O.format==="regex")return`잘못된 문자열: 정규식 ${O.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${Y[O.format]??X.format}`}case"not_multiple_of":return`잘못된 숫자: ${X.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${g0(X.keys,", ")}`;case"invalid_key":return`잘못된 키: ${X.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${X.origin}`;default:return"잘못된 입력"}}};function T5(){return{localeError:gb()}}var E2=(I)=>{return I.charAt(0).toUpperCase()+I.slice(1)};function Ij(I){let J=Math.abs(I),Y=J%10,K=J%100;if(K>=11&&K<=19||Y===0)return"many";if(Y===1)return"one";return"few"}var wb=()=>{let I={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function J(X,O,Z,M){let j=I[X]??null;if(j===null)return j;return{unit:j.unit[O],verb:j.verb[M][Z?"inclusive":"notInclusive"]}}let Y={regex:"įvestis",email:"el. pašto 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ė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},K={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Gautas tipas ${M}, o tikėtasi - instanceof ${X.expected}`;return`Gautas tipas ${M}, o tikėtasi - ${O}`}case"invalid_value":if(X.values.length===1)return`Privalo būti ${Q$(X.values[0])}`;return`Privalo būti vienas iš ${g0(X.values,"|")} pasirinkimų`;case"too_big":{let O=K[X.origin]??X.origin,Z=J(X.origin,Ij(Number(X.maximum)),X.inclusive??!1,"smaller");if(Z?.verb)return`${E2(O??X.origin??"reikšmė")} ${Z.verb} ${X.maximum.toString()} ${Z.unit??"elementų"}`;let M=X.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${E2(O??X.origin??"reikšmė")} turi būti ${M} ${X.maximum.toString()} ${Z?.unit}`}case"too_small":{let O=K[X.origin]??X.origin,Z=J(X.origin,Ij(Number(X.minimum)),X.inclusive??!1,"bigger");if(Z?.verb)return`${E2(O??X.origin??"reikšmė")} ${Z.verb} ${X.minimum.toString()} ${Z.unit??"elementų"}`;let M=X.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${E2(O??X.origin??"reikšmė")} turi būti ${M} ${X.minimum.toString()} ${Z?.unit}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Eilutė privalo prasidėti "${O.prefix}"`;if(O.format==="ends_with")return`Eilutė privalo pasibaigti "${O.suffix}"`;if(O.format==="includes")return`Eilutė privalo įtraukti "${O.includes}"`;if(O.format==="regex")return`Eilutė privalo atitikti ${O.pattern}`;return`Neteisingas ${Y[O.format]??X.format}`}case"not_multiple_of":return`Skaičius privalo būti ${X.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${X.keys.length>1?"i":"as"} rakt${X.keys.length>1?"ai":"as"}: ${g0(X.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let O=K[X.origin]??X.origin;return`${E2(O??X.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function P5(){return{localeError:wb()}}var fb=()=>{let I={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function J(X){return I[X]??null}let Y={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},K={nan:"NaN",number:"број",array:"низа"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Грешен внес: се очекува instanceof ${X.expected}, примено ${M}`;return`Грешен внес: се очекува ${O}, примено ${M}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${Q$(X.values[0])}`;return`Грешана опција: се очекува една ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Премногу голем: се очекува ${X.origin??"вредноста"} да има ${O}${X.maximum.toString()} ${Z.unit??"елементи"}`;return`Премногу голем: се очекува ${X.origin??"вредноста"} да биде ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Премногу мал: се очекува ${X.origin} да има ${O}${X.minimum.toString()} ${Z.unit}`;return`Премногу мал: се очекува ${X.origin} да биде ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Неважечка низа: мора да започнува со "${O.prefix}"`;if(O.format==="ends_with")return`Неважечка низа: мора да завршува со "${O.suffix}"`;if(O.format==="includes")return`Неважечка низа: мора да вклучува "${O.includes}"`;if(O.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${O.pattern}`;return`Invalid ${Y[O.format]??X.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${X.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${X.origin}`;default:return"Грешен внес"}}};function R5(){return{localeError:fb()}}var yb=()=>{let I={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function J(X){return I[X]??null}let Y={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"},K={nan:"NaN",number:"nombor"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input tidak sah: dijangka instanceof ${X.expected}, diterima ${M}`;return`Input tidak sah: dijangka ${O}, diterima ${M}`}case"invalid_value":if(X.values.length===1)return`Input tidak sah: dijangka ${Q$(X.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: dijangka ${X.origin??"nilai"} ${Z.verb} ${O}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: dijangka ${X.origin??"nilai"} adalah ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: dijangka ${X.origin} ${Z.verb} ${O}${X.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: dijangka ${X.origin} adalah ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`String tidak sah: mesti bermula dengan "${O.prefix}"`;if(O.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${O.suffix}"`;if(O.format==="includes")return`String tidak sah: mesti mengandungi "${O.includes}"`;if(O.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${O.pattern}`;return`${Y[O.format]??X.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${X.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${g0(X.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${X.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${X.origin}`;default:return"Input tidak sah"}}};function _5(){return{localeError:yb()}}var ub=()=>{let I={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function J(X){return I[X]??null}let Y={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"},K={nan:"NaN",number:"getal"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ongeldige invoer: verwacht instanceof ${X.expected}, ontving ${M}`;return`Ongeldige invoer: verwacht ${O}, ontving ${M}`}case"invalid_value":if(X.values.length===1)return`Ongeldige invoer: verwacht ${Q$(X.values[0])}`;return`Ongeldige optie: verwacht één van ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin),M=X.origin==="date"?"laat":X.origin==="string"?"lang":"groot";if(Z)return`Te ${M}: verwacht dat ${X.origin??"waarde"} ${O}${X.maximum.toString()} ${Z.unit??"elementen"} ${Z.verb}`;return`Te ${M}: verwacht dat ${X.origin??"waarde"} ${O}${X.maximum.toString()} is`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin),M=X.origin==="date"?"vroeg":X.origin==="string"?"kort":"klein";if(Z)return`Te ${M}: verwacht dat ${X.origin} ${O}${X.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Te ${M}: verwacht dat ${X.origin} ${O}${X.minimum.toString()} is`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Ongeldige tekst: moet met "${O.prefix}" beginnen`;if(O.format==="ends_with")return`Ongeldige tekst: moet op "${O.suffix}" eindigen`;if(O.format==="includes")return`Ongeldige tekst: moet "${O.includes}" bevatten`;if(O.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${O.pattern}`;return`Ongeldig: ${Y[O.format]??X.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${X.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${X.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${X.origin}`;default:return"Ongeldige invoer"}}};function q5(){return{localeError:ub()}}var bb=()=>{let I={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function J(X){return I[X]??null}let Y={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åde",ipv6:"IPv6-område",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"},K={nan:"NaN",number:"tall",array:"liste"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ugyldig input: forventet instanceof ${X.expected}, fikk ${M}`;return`Ugyldig input: forventet ${O}, fikk ${M}`}case"invalid_value":if(X.values.length===1)return`Ugyldig verdi: forventet ${Q$(X.values[0])}`;return`Ugyldig valg: forventet en av ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`For stor(t): forventet ${X.origin??"value"} til å ha ${O}${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor(t): forventet ${X.origin??"value"} til å ha ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`For lite(n): forventet ${X.origin} til å ha ${O}${X.minimum.toString()} ${Z.unit}`;return`For lite(n): forventet ${X.origin} til å ha ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Ugyldig streng: må starte med "${O.prefix}"`;if(O.format==="ends_with")return`Ugyldig streng: må ende med "${O.suffix}"`;if(O.format==="includes")return`Ugyldig streng: må inneholde "${O.includes}"`;if(O.format==="regex")return`Ugyldig streng: må matche mønsteret ${O.pattern}`;return`Ugyldig ${Y[O.format]??X.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${X.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${X.origin}`;default:return"Ugyldig input"}}};function E5(){return{localeError:bb()}}var cb=()=>{let I={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function J(X){return I[X]??null}let Y={regex:"giren",email:"epostagâh",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âmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},K={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Fâsit giren: umulan instanceof ${X.expected}, alınan ${M}`;return`Fâsit giren: umulan ${O}, alınan ${M}`}case"invalid_value":if(X.values.length===1)return`Fâsit giren: umulan ${Q$(X.values[0])}`;return`Fâsit tercih: mûteberler ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Fazla büyük: ${X.origin??"value"}, ${O}${X.maximum.toString()} ${Z.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${X.origin??"value"}, ${O}${X.maximum.toString()} olmalıydı.`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Fazla küçük: ${X.origin}, ${O}${X.minimum.toString()} ${Z.unit} sahip olmalıydı.`;return`Fazla küçük: ${X.origin}, ${O}${X.minimum.toString()} olmalıydı.`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Fâsit metin: "${O.prefix}" ile başlamalı.`;if(O.format==="ends_with")return`Fâsit metin: "${O.suffix}" ile bitmeli.`;if(O.format==="includes")return`Fâsit metin: "${O.includes}" ihtivâ etmeli.`;if(O.format==="regex")return`Fâsit metin: ${O.pattern} nakşına uymalı.`;return`Fâsit ${Y[O.format]??X.format}`}case"not_multiple_of":return`Fâsit sayı: ${X.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${X.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function S5(){return{localeError:cb()}}var hb=()=>{let I={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function J(X){return I[X]??null}let Y={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},K={nan:"NaN",number:"عدد",array:"ارې"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ناسم ورودي: باید instanceof ${X.expected} وای, مګر ${M} ترلاسه شو`;return`ناسم ورودي: باید ${O} وای, مګر ${M} ترلاسه شو`}case"invalid_value":if(X.values.length===1)return`ناسم ورودي: باید ${Q$(X.values[0])} وای`;return`ناسم انتخاب: باید یو له ${g0(X.values,"|")} څخه وای`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ډیر لوی: ${X.origin??"ارزښت"} باید ${O}${X.maximum.toString()} ${Z.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${X.origin??"ارزښت"} باید ${O}${X.maximum.toString()} وي`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ډیر کوچنی: ${X.origin} باید ${O}${X.minimum.toString()} ${Z.unit} ولري`;return`ډیر کوچنی: ${X.origin} باید ${O}${X.minimum.toString()} وي`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`ناسم متن: باید د "${O.prefix}" سره پیل شي`;if(O.format==="ends_with")return`ناسم متن: باید د "${O.suffix}" سره پای ته ورسيږي`;if(O.format==="includes")return`ناسم متن: باید "${O.includes}" ولري`;if(O.format==="regex")return`ناسم متن: باید د ${O.pattern} سره مطابقت ولري`;return`${Y[O.format]??X.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${X.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${X.keys.length>1?"کلیډونه":"کلیډ"}: ${g0(X.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${X.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${X.origin} کې`;default:return"ناسمه ورودي"}}};function j5(){return{localeError:hb()}}var pb=()=>{let I={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function J(X){return I[X]??null}let Y={regex:"wyrażenie",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ąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},K={nan:"NaN",number:"liczba",array:"tablica"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${X.expected}, otrzymano ${M}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${O}, otrzymano ${M}`}case"invalid_value":if(X.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${Q$(X.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Za duża wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${O}${X.maximum.toString()} ${Z.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Za mała wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${O}${X.minimum.toString()} ${Z.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${O.prefix}"`;if(O.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${O.suffix}"`;if(O.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${O.includes}"`;if(O.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${O.pattern}`;return`Nieprawidłow(y/a/e) ${Y[O.format]??X.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${X.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${X.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${X.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function B5(){return{localeError:pb()}}var mb=()=>{let I={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function J(X){return I[X]??null}let Y={regex:"padrão",email:"endereço 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ção ISO",ipv4:"endereço IPv4",ipv6:"endereço 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úmero E.164",jwt:"JWT",template_literal:"entrada"},K={nan:"NaN",number:"número",null:"nulo"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Tipo inválido: esperado instanceof ${X.expected}, recebido ${M}`;return`Tipo inválido: esperado ${O}, recebido ${M}`}case"invalid_value":if(X.values.length===1)return`Entrada inválida: esperado ${Q$(X.values[0])}`;return`Opção inválida: esperada uma das ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Muito grande: esperado que ${X.origin??"valor"} tivesse ${O}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Muito grande: esperado que ${X.origin??"valor"} fosse ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Muito pequeno: esperado que ${X.origin} tivesse ${O}${X.minimum.toString()} ${Z.unit}`;return`Muito pequeno: esperado que ${X.origin} fosse ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Texto inválido: deve começar com "${O.prefix}"`;if(O.format==="ends_with")return`Texto inválido: deve terminar com "${O.suffix}"`;if(O.format==="includes")return`Texto inválido: deve incluir "${O.includes}"`;if(O.format==="regex")return`Texto inválido: deve corresponder ao padrão ${O.pattern}`;return`${Y[O.format]??X.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${X.divisor}`;case"unrecognized_keys":return`Chave${X.keys.length>1?"s":""} desconhecida${X.keys.length>1?"s":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Chave inválida em ${X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${X.origin}`;default:return"Campo inválido"}}};function N5(){return{localeError:mb()}}var lb=()=>{let I={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function J(X){return I[X]??null}let Y={regex:"intrare",email:"adresă de 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:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},K={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;return`Intrare invalidă: așteptat ${O}, primit ${M}`}case"invalid_value":if(X.values.length===1)return`Intrare invalidă: așteptat ${Q$(X.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Prea mare: așteptat ca ${X.origin??"valoarea"} ${Z.verb} ${O}${X.maximum.toString()} ${Z.unit??"elemente"}`;return`Prea mare: așteptat ca ${X.origin??"valoarea"} să fie ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Prea mic: așteptat ca ${X.origin} ${Z.verb} ${O}${X.minimum.toString()} ${Z.unit}`;return`Prea mic: așteptat ca ${X.origin} să fie ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${O.prefix}"`;if(O.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${O.suffix}"`;if(O.format==="includes")return`Șir invalid: trebuie să includă "${O.includes}"`;if(O.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${O.pattern}`;return`Format invalid: ${Y[O.format]??X.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${X.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${g0(X.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${X.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${X.origin}`;default:return"Intrare invalidă"}}};function v5(){return{localeError:lb()}}function Xj(I,J,Y,K){let X=Math.abs(I),O=X%10,Z=X%100;if(Z>=11&&Z<=19)return K;if(O===1)return J;if(O>=2&&O<=4)return Y;return K}var db=()=>{let I={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function J(X){return I[X]??null}let Y={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},K={nan:"NaN",number:"число",array:"массив"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Неверный ввод: ожидалось instanceof ${X.expected}, получено ${M}`;return`Неверный ввод: ожидалось ${O}, получено ${M}`}case"invalid_value":if(X.values.length===1)return`Неверный ввод: ожидалось ${Q$(X.values[0])}`;return`Неверный вариант: ожидалось одно из ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let M=Number(X.maximum),j=Xj(M,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет иметь ${O}${X.maximum.toString()} ${j}`}return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z){let M=Number(X.minimum),j=Xj(M,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком маленькое значение: ожидалось, что ${X.origin} будет иметь ${O}${X.minimum.toString()} ${j}`}return`Слишком маленькое значение: ожидалось, что ${X.origin} будет ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Неверная строка: должна начинаться с "${O.prefix}"`;if(O.format==="ends_with")return`Неверная строка: должна заканчиваться на "${O.suffix}"`;if(O.format==="includes")return`Неверная строка: должна содержать "${O.includes}"`;if(O.format==="regex")return`Неверная строка: должна соответствовать шаблону ${O.pattern}`;return`Неверный ${Y[O.format]??X.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспознанн${X.keys.length>1?"ые":"ый"} ключ${X.keys.length>1?"и":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${X.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${X.origin}`;default:return"Неверные входные данные"}}};function k5(){return{localeError:db()}}var nb=()=>{let I={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function J(X){return I[X]??null}let Y={regex:"vnos",email:"e-poštni 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 čas",date:"ISO datum",time:"ISO čas",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 številka",jwt:"JWT",template_literal:"vnos"},K={nan:"NaN",number:"število",array:"tabela"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neveljaven vnos: pričakovano instanceof ${X.expected}, prejeto ${M}`;return`Neveljaven vnos: pričakovano ${O}, prejeto ${M}`}case"invalid_value":if(X.values.length===1)return`Neveljaven vnos: pričakovano ${Q$(X.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} imelo ${O}${X.maximum.toString()} ${Z.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Premajhno: pričakovano, da bo ${X.origin} imelo ${O}${X.minimum.toString()} ${Z.unit}`;return`Premajhno: pričakovano, da bo ${X.origin} ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Neveljaven niz: mora se začeti z "${O.prefix}"`;if(O.format==="ends_with")return`Neveljaven niz: mora se končati z "${O.suffix}"`;if(O.format==="includes")return`Neveljaven niz: mora vsebovati "${O.includes}"`;if(O.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${O.pattern}`;return`Neveljaven ${Y[O.format]??X.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${X.divisor}`;case"unrecognized_keys":return`Neprepoznan${X.keys.length>1?"i ključi":" ključ"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${X.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${X.origin}`;default:return"Neveljaven vnos"}}};function x5(){return{localeError:nb()}}var ob=()=>{let I={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function J(X){return I[X]??null}let Y={regex:"reguljärt 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äng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},K={nan:"NaN",number:"antal",array:"lista"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ogiltig inmatning: förväntat instanceof ${X.expected}, fick ${M}`;return`Ogiltig inmatning: förväntat ${O}, fick ${M}`}case"invalid_value":if(X.values.length===1)return`Ogiltig inmatning: förväntat ${Q$(X.values[0])}`;return`Ogiltigt val: förväntade en av ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`För stor(t): förväntade ${X.origin??"värdet"} att ha ${O}${X.maximum.toString()} ${Z.unit??"element"}`;return`För stor(t): förväntat ${X.origin??"värdet"} att ha ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${O}${X.minimum.toString()} ${Z.unit}`;return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Ogiltig sträng: måste börja med "${O.prefix}"`;if(O.format==="ends_with")return`Ogiltig sträng: måste sluta med "${O.suffix}"`;if(O.format==="includes")return`Ogiltig sträng: måste innehålla "${O.includes}"`;if(O.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${O.pattern}"`;return`Ogiltig(t) ${Y[O.format]??X.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${X.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${X.origin??"värdet"}`;default:return"Ogiltig input"}}};function g5(){return{localeError:ob()}}var ib=()=>{let I={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function J(X){return I[X]??null}let Y={regex:"உள்ளீடு",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:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},K={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${X.expected}, பெறப்பட்டது ${M}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${O}, பெறப்பட்டது ${M}`}case"invalid_value":if(X.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Q$(X.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${g0(X.values,"|")} இல் ஒன்று`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${O}${X.maximum.toString()} ${Z.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${O}${X.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${O}${X.minimum.toString()} ${Z.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${O}${X.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`தவறான சரம்: "${O.prefix}" இல் தொடங்க வேண்டும்`;if(O.format==="ends_with")return`தவறான சரம்: "${O.suffix}" இல் முடிவடைய வேண்டும்`;if(O.format==="includes")return`தவறான சரம்: "${O.includes}" ஐ உள்ளடக்க வேண்டும்`;if(O.format==="regex")return`தவறான சரம்: ${O.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${Y[O.format]??X.format}`}case"not_multiple_of":return`தவறான எண்: ${X.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${X.keys.length>1?"கள்":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${X.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function w5(){return{localeError:ib()}}var rb=()=>{let I={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function J(X){return I[X]??null}let Y={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},K={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${X.expected} แต่ได้รับ ${M}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${O} แต่ได้รับ ${M}`}case"invalid_value":if(X.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${Q$(X.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"ไม่เกิน":"น้อยกว่า",Z=J(X.origin);if(Z)return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${O} ${X.maximum.toString()} ${Z.unit??"รายการ"}`;return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${O} ${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?"อย่างน้อย":"มากกว่า",Z=J(X.origin);if(Z)return`น้อยกว่ากำหนด: ${X.origin} ควรมี${O} ${X.minimum.toString()} ${Z.unit}`;return`น้อยกว่ากำหนด: ${X.origin} ควรมี${O} ${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${O.prefix}"`;if(O.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${O.suffix}"`;if(O.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${O.includes}" อยู่ในข้อความ`;if(O.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${O.pattern}`;return`รูปแบบไม่ถูกต้อง: ${Y[O.format]??X.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${X.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${g0(X.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${X.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${X.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function f5(){return{localeError:rb()}}var tb=()=>{let I={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function J(X){return I[X]??null}let Y={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üre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Geçersiz değer: beklenen instanceof ${X.expected}, alınan ${M}`;return`Geçersiz değer: beklenen ${O}, alınan ${M}`}case"invalid_value":if(X.values.length===1)return`Geçersiz değer: beklenen ${Q$(X.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çok büyük: beklenen ${X.origin??"değer"} ${O}${X.maximum.toString()} ${Z.unit??"öğe"}`;return`Çok büyük: beklenen ${X.origin??"değer"} ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Çok küçük: beklenen ${X.origin} ${O}${X.minimum.toString()} ${Z.unit}`;return`Çok küçük: beklenen ${X.origin} ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Geçersiz metin: "${O.prefix}" ile başlamalı`;if(O.format==="ends_with")return`Geçersiz metin: "${O.suffix}" ile bitmeli`;if(O.format==="includes")return`Geçersiz metin: "${O.includes}" içermeli`;if(O.format==="regex")return`Geçersiz metin: ${O.pattern} desenine uymalı`;return`Geçersiz ${Y[O.format]??X.format}`}case"not_multiple_of":return`Geçersiz sayı: ${X.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${X.keys.length>1?"lar":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${X.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function y5(){return{localeError:tb()}}var ab=()=>{let I={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function J(X){return I[X]??null}let Y={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},K={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Неправильні вхідні дані: очікується instanceof ${X.expected}, отримано ${M}`;return`Неправильні вхідні дані: очікується ${O}, отримано ${M}`}case"invalid_value":if(X.values.length===1)return`Неправильні вхідні дані: очікується ${Q$(X.values[0])}`;return`Неправильна опція: очікується одне з ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Занадто велике: очікується, що ${X.origin??"значення"} ${Z.verb} ${O}${X.maximum.toString()} ${Z.unit??"елементів"}`;return`Занадто велике: очікується, що ${X.origin??"значення"} буде ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Занадто мале: очікується, що ${X.origin} ${Z.verb} ${O}${X.minimum.toString()} ${Z.unit}`;return`Занадто мале: очікується, що ${X.origin} буде ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Неправильний рядок: повинен починатися з "${O.prefix}"`;if(O.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${O.suffix}"`;if(O.format==="includes")return`Неправильний рядок: повинен містити "${O.includes}"`;if(O.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${O.pattern}`;return`Неправильний ${Y[O.format]??X.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${X.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${X.keys.length>1?"і":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${X.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${X.origin}`;default:return"Неправильні вхідні дані"}}};function S2(){return{localeError:ab()}}function u5(){return S2()}var sb=()=>{let I={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function J(X){return I[X]??null}let Y={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},K={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`غلط ان پٹ: instanceof ${X.expected} متوقع تھا، ${M} موصول ہوا`;return`غلط ان پٹ: ${O} متوقع تھا، ${M} موصول ہوا`}case"invalid_value":if(X.values.length===1)return`غلط ان پٹ: ${Q$(X.values[0])} متوقع تھا`;return`غلط آپشن: ${g0(X.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`بہت بڑا: ${X.origin??"ویلیو"} کے ${O}${X.maximum.toString()} ${Z.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${X.origin??"ویلیو"} کا ${O}${X.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`بہت چھوٹا: ${X.origin} کے ${O}${X.minimum.toString()} ${Z.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${X.origin} کا ${O}${X.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`غلط سٹرنگ: "${O.prefix}" سے شروع ہونا چاہیے`;if(O.format==="ends_with")return`غلط سٹرنگ: "${O.suffix}" پر ختم ہونا چاہیے`;if(O.format==="includes")return`غلط سٹرنگ: "${O.includes}" شامل ہونا چاہیے`;if(O.format==="regex")return`غلط سٹرنگ: پیٹرن ${O.pattern} سے میچ ہونا چاہیے`;return`غلط ${Y[O.format]??X.format}`}case"not_multiple_of":return`غلط نمبر: ${X.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${X.keys.length>1?"ز":""}: ${g0(X.keys,"، ")}`;case"invalid_key":return`${X.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${X.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function b5(){return{localeError:sb()}}var eb=()=>{let I={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function J(X){return I[X]??null}let Y={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"},K={nan:"NaN",number:"raqam",array:"massiv"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${X.expected}, qabul qilingan ${M}`;return`Noto‘g‘ri kirish: kutilgan ${O}, qabul qilingan ${M}`}case"invalid_value":if(X.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${Q$(X.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Juda katta: kutilgan ${X.origin??"qiymat"} ${O}${X.maximum.toString()} ${Z.unit} ${Z.verb}`;return`Juda katta: kutilgan ${X.origin??"qiymat"} ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Juda kichik: kutilgan ${X.origin} ${O}${X.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Juda kichik: kutilgan ${X.origin} ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Noto‘g‘ri satr: "${O.prefix}" bilan boshlanishi kerak`;if(O.format==="ends_with")return`Noto‘g‘ri satr: "${O.suffix}" bilan tugashi kerak`;if(O.format==="includes")return`Noto‘g‘ri satr: "${O.includes}" ni o‘z ichiga olishi kerak`;if(O.format==="regex")return`Noto‘g‘ri satr: ${O.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${Y[O.format]??X.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${X.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${X.keys.length>1?"lar":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${X.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function c5(){return{localeError:eb()}}var $c=()=>{let I={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function J(X){return I[X]??null}let Y={regex:"đầu vào",email:"địa chỉ 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ày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},K={nan:"NaN",number:"số",array:"mảng"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${X.expected}, nhận được ${M}`;return`Đầu vào không hợp lệ: mong đợi ${O}, nhận được ${M}`}case"invalid_value":if(X.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${Q$(X.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${Z.verb} ${O}${X.maximum.toString()} ${Z.unit??"phần tử"}`;return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Quá nhỏ: mong đợi ${X.origin} ${Z.verb} ${O}${X.minimum.toString()} ${Z.unit}`;return`Quá nhỏ: mong đợi ${X.origin} ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${O.prefix}"`;if(O.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${O.suffix}"`;if(O.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${O.includes}"`;if(O.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${O.pattern}`;return`${Y[O.format]??X.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${X.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${g0(X.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${X.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${X.origin}`;default:return"Đầu vào không hợp lệ"}}};function h5(){return{localeError:$c()}}var Uc=()=>{let I={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function J(X){return I[X]??null}let Y={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},K={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`无效输入:期望 instanceof ${X.expected},实际接收 ${M}`;return`无效输入:期望 ${O},实际接收 ${M}`}case"invalid_value":if(X.values.length===1)return`无效输入:期望 ${Q$(X.values[0])}`;return`无效选项:期望以下之一 ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`数值过大:期望 ${X.origin??"值"} ${O}${X.maximum.toString()} ${Z.unit??"个元素"}`;return`数值过大:期望 ${X.origin??"值"} ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`数值过小:期望 ${X.origin} ${O}${X.minimum.toString()} ${Z.unit}`;return`数值过小:期望 ${X.origin} ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`无效字符串:必须以 "${O.prefix}" 开头`;if(O.format==="ends_with")return`无效字符串:必须以 "${O.suffix}" 结尾`;if(O.format==="includes")return`无效字符串:必须包含 "${O.includes}"`;if(O.format==="regex")return`无效字符串:必须满足正则表达式 ${O.pattern}`;return`无效${Y[O.format]??X.format}`}case"not_multiple_of":return`无效数字:必须是 ${X.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${X.origin} 中包含无效值(value)`;default:return"无效输入"}}};function p5(){return{localeError:Uc()}}var Ic=()=>{let I={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function J(X){return I[X]??null}let Y={regex:"輸入",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:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`無效的輸入值:預期為 instanceof ${X.expected},但收到 ${M}`;return`無效的輸入值:預期為 ${O},但收到 ${M}`}case"invalid_value":if(X.values.length===1)return`無效的輸入值:預期為 ${Q$(X.values[0])}`;return`無效的選項:預期為以下其中之一 ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`數值過大:預期 ${X.origin??"值"} 應為 ${O}${X.maximum.toString()} ${Z.unit??"個元素"}`;return`數值過大:預期 ${X.origin??"值"} 應為 ${O}${X.maximum.toString()}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`數值過小:預期 ${X.origin} 應為 ${O}${X.minimum.toString()} ${Z.unit}`;return`數值過小:預期 ${X.origin} 應為 ${O}${X.minimum.toString()}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`無效的字串:必須以 "${O.prefix}" 開頭`;if(O.format==="ends_with")return`無效的字串:必須以 "${O.suffix}" 結尾`;if(O.format==="includes")return`無效的字串:必須包含 "${O.includes}"`;if(O.format==="regex")return`無效的字串:必須符合格式 ${O.pattern}`;return`無效的 ${Y[O.format]??X.format}`}case"not_multiple_of":return`無效的數字:必須為 ${X.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${X.keys.length>1?"們":""}:${g0(X.keys,"、")}`;case"invalid_key":return`${X.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${X.origin} 中有無效的值`;default:return"無效的輸入值"}}};function m5(){return{localeError:Ic()}}var Xc=()=>{let I={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function J(X){return I[X]??null}let Y={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",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:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},K={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(X)=>{switch(X.code){case"invalid_type":{let O=K[X.expected]??X.expected,Z=Y$(X.input),M=K[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${X.expected}, àmọ̀ a rí ${M}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${O}, àmọ̀ a rí ${M}`}case"invalid_value":if(X.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${Q$(X.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${g0(X.values,"|")}`;case"too_big":{let O=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${X.origin??"iye"} ${Z.verb} ${O}${X.maximum} ${Z.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${O}${X.maximum}`}case"too_small":{let O=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Kéré ju: a ní láti jẹ́ pé ${X.origin} ${Z.verb} ${O}${X.minimum} ${Z.unit}`;return`Kéré ju: a ní láti jẹ́ ${O}${X.minimum}`}case"invalid_format":{let O=X;if(O.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${O.prefix}"`;if(O.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${O.suffix}"`;if(O.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${O.includes}"`;if(O.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${O.pattern}`;return`Aṣìṣe: ${Y[O.format]??X.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${X.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${g0(X.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${X.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${X.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function l5(){return{localeError:Xc()}}var Jj,d5=Symbol("ZodOutput"),n5=Symbol("ZodInput");class o5{constructor(){this._map=new WeakMap,this._idmap=new Map}add(I,...J){let Y=J[0];if(this._map.set(I,Y),Y&&typeof Y==="object"&&"id"in Y)this._idmap.set(Y.id,I);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(I){let J=this._map.get(I);if(J&&typeof J==="object"&&"id"in J)this._idmap.delete(J.id);return this._map.delete(I),this}get(I){let J=I._zod.parent;if(J){let Y={...this.get(J)??{}};delete Y.id;let K={...Y,...this._map.get(I)};return Object.keys(K).length?K:void 0}return this._map.get(I)}has(I){return this._map.has(I)}}function sO(){return new o5}(Jj=globalThis).__zod_globalRegistry??(Jj.__zod_globalRegistry=sO());var C6=globalThis.__zod_globalRegistry;function i5(I,J){return new I({type:"string",...z$(J)})}function r5(I,J){return new I({type:"string",coerce:!0,...z$(J)})}function eO(I,J){return new I({type:"string",format:"email",check:"string_format",abort:!1,...z$(J)})}function B2(I,J){return new I({type:"string",format:"guid",check:"string_format",abort:!1,...z$(J)})}function $K(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,...z$(J)})}function UK(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...z$(J)})}function IK(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...z$(J)})}function XK(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...z$(J)})}function N2(I,J){return new I({type:"string",format:"url",check:"string_format",abort:!1,...z$(J)})}function JK(I,J){return new I({type:"string",format:"emoji",check:"string_format",abort:!1,...z$(J)})}function QK(I,J){return new I({type:"string",format:"nanoid",check:"string_format",abort:!1,...z$(J)})}function YK(I,J){return new I({type:"string",format:"cuid",check:"string_format",abort:!1,...z$(J)})}function GK(I,J){return new I({type:"string",format:"cuid2",check:"string_format",abort:!1,...z$(J)})}function ZK(I,J){return new I({type:"string",format:"ulid",check:"string_format",abort:!1,...z$(J)})}function zK(I,J){return new I({type:"string",format:"xid",check:"string_format",abort:!1,...z$(J)})}function OK(I,J){return new I({type:"string",format:"ksuid",check:"string_format",abort:!1,...z$(J)})}function KK(I,J){return new I({type:"string",format:"ipv4",check:"string_format",abort:!1,...z$(J)})}function WK(I,J){return new I({type:"string",format:"ipv6",check:"string_format",abort:!1,...z$(J)})}function t5(I,J){return new I({type:"string",format:"mac",check:"string_format",abort:!1,...z$(J)})}function VK(I,J){return new I({type:"string",format:"cidrv4",check:"string_format",abort:!1,...z$(J)})}function DK(I,J){return new I({type:"string",format:"cidrv6",check:"string_format",abort:!1,...z$(J)})}function HK(I,J){return new I({type:"string",format:"base64",check:"string_format",abort:!1,...z$(J)})}function FK(I,J){return new I({type:"string",format:"base64url",check:"string_format",abort:!1,...z$(J)})}function MK(I,J){return new I({type:"string",format:"e164",check:"string_format",abort:!1,...z$(J)})}function LK(I,J){return new I({type:"string",format:"jwt",check:"string_format",abort:!1,...z$(J)})}var a5={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function s5(I,J){return new I({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...z$(J)})}function e5(I,J){return new I({type:"string",format:"date",check:"string_format",...z$(J)})}function $M(I,J){return new I({type:"string",format:"time",check:"string_format",precision:null,...z$(J)})}function UM(I,J){return new I({type:"string",format:"duration",check:"string_format",...z$(J)})}function IM(I,J){return new I({type:"number",checks:[],...z$(J)})}function XM(I,J){return new I({type:"number",coerce:!0,checks:[],...z$(J)})}function JM(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"safeint",...z$(J)})}function QM(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float32",...z$(J)})}function YM(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float64",...z$(J)})}function GM(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"int32",...z$(J)})}function ZM(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"uint32",...z$(J)})}function zM(I,J){return new I({type:"boolean",...z$(J)})}function OM(I,J){return new I({type:"boolean",coerce:!0,...z$(J)})}function KM(I,J){return new I({type:"bigint",...z$(J)})}function WM(I,J){return new I({type:"bigint",coerce:!0,...z$(J)})}function VM(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...z$(J)})}function DM(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...z$(J)})}function HM(I,J){return new I({type:"symbol",...z$(J)})}function FM(I,J){return new I({type:"undefined",...z$(J)})}function MM(I,J){return new I({type:"null",...z$(J)})}function LM(I){return new I({type:"any"})}function AM(I){return new I({type:"unknown"})}function CM(I,J){return new I({type:"never",...z$(J)})}function TM(I,J){return new I({type:"void",...z$(J)})}function PM(I,J){return new I({type:"date",...z$(J)})}function RM(I,J){return new I({type:"date",coerce:!0,...z$(J)})}function _M(I,J){return new I({type:"nan",...z$(J)})}function k1(I,J){return new cO({check:"less_than",...z$(J),value:I,inclusive:!1})}function C4(I,J){return new cO({check:"less_than",...z$(J),value:I,inclusive:!0})}function x1(I,J){return new hO({check:"greater_than",...z$(J),value:I,inclusive:!1})}function c6(I,J){return new hO({check:"greater_than",...z$(J),value:I,inclusive:!0})}function AK(I){return x1(0,I)}function CK(I){return k1(0,I)}function TK(I){return C4(0,I)}function PK(I){return c6(0,I)}function OX(I,J){return new TH({check:"multiple_of",...z$(J),value:I})}function KX(I,J){return new _H({check:"max_size",...z$(J),maximum:I})}function g1(I,J){return new qH({check:"min_size",...z$(J),minimum:I})}function WJ(I,J){return new EH({check:"size_equals",...z$(J),size:I})}function VJ(I,J){return new SH({check:"max_length",...z$(J),maximum:I})}function DI(I,J){return new jH({check:"min_length",...z$(J),minimum:I})}function DJ(I,J){return new BH({check:"length_equals",...z$(J),length:I})}function lQ(I,J){return new NH({check:"string_format",format:"regex",...z$(J),pattern:I})}function dQ(I){return new vH({check:"string_format",format:"lowercase",...z$(I)})}function nQ(I){return new kH({check:"string_format",format:"uppercase",...z$(I)})}function oQ(I,J){return new xH({check:"string_format",format:"includes",...z$(J),includes:I})}function iQ(I,J){return new gH({check:"string_format",format:"starts_with",...z$(J),prefix:I})}function rQ(I,J){return new wH({check:"string_format",format:"ends_with",...z$(J),suffix:I})}function RK(I,J,Y){return new fH({check:"property",property:I,schema:J,...z$(Y)})}function tQ(I,J){return new yH({check:"mime_type",mime:I,...z$(J)})}function a4(I){return new uH({check:"overwrite",tx:I})}function aQ(I){return a4((J)=>J.normalize(I))}function sQ(){return a4((I)=>I.trim())}function eQ(){return a4((I)=>I.toLowerCase())}function $Y(){return a4((I)=>I.toUpperCase())}function UY(){return a4((I)=>gD(I))}function qM(I,J,Y){return new I({type:"array",element:J,...z$(Y)})}function Qc(I,J,Y){return new I({type:"union",options:J,...z$(Y)})}function Yc(I,J,Y){return new I({type:"union",options:J,inclusive:!1,...z$(Y)})}function Gc(I,J,Y,K){return new I({type:"union",options:Y,discriminator:J,...z$(K)})}function Zc(I,J,Y){return new I({type:"intersection",left:J,right:Y})}function zc(I,J,Y,K){let X=Y instanceof E$;return new I({type:"tuple",items:J,rest:X?Y:null,...z$(X?K:Y)})}function Oc(I,J,Y,K){return new I({type:"record",keyType:J,valueType:Y,...z$(K)})}function Kc(I,J,Y,K){return new I({type:"map",keyType:J,valueType:Y,...z$(K)})}function Wc(I,J,Y){return new I({type:"set",valueType:J,...z$(Y)})}function Vc(I,J,Y){let K=Array.isArray(J)?Object.fromEntries(J.map((X)=>[X,X])):J;return new I({type:"enum",entries:K,...z$(Y)})}function Dc(I,J,Y){return new I({type:"enum",entries:J,...z$(Y)})}function Hc(I,J,Y){return new I({type:"literal",values:Array.isArray(J)?J:[J],...z$(Y)})}function EM(I,J){return new I({type:"file",...z$(J)})}function Fc(I,J){return new I({type:"transform",transform:J})}function Mc(I,J){return new I({type:"optional",innerType:J})}function Lc(I,J){return new I({type:"nullable",innerType:J})}function Ac(I,J,Y){return new I({type:"default",innerType:J,get defaultValue(){return typeof Y==="function"?Y():fD(Y)}})}function Cc(I,J,Y){return new I({type:"nonoptional",innerType:J,...z$(Y)})}function Tc(I,J){return new I({type:"success",innerType:J})}function Pc(I,J,Y){return new I({type:"catch",innerType:J,catchValue:typeof Y==="function"?Y:()=>Y})}function Rc(I,J,Y){return new I({type:"pipe",in:J,out:Y})}function _c(I,J){return new I({type:"readonly",innerType:J})}function qc(I,J,Y){return new I({type:"template_literal",parts:J,...z$(Y)})}function Ec(I,J){return new I({type:"lazy",getter:J})}function Sc(I,J){return new I({type:"promise",innerType:J})}function SM(I,J,Y){let K=z$(Y);return K.abort??(K.abort=!0),new I({type:"custom",check:"custom",fn:J,...K})}function jM(I,J,Y){return new I({type:"custom",check:"custom",fn:J,...z$(Y)})}function BM(I,J){let Y=Qj((K)=>{return K.addIssue=(X)=>{if(typeof X==="string")K.issues.push(yQ(X,K.value,Y._zod.def));else{let O=X;if(O.fatal)O.continue=!1;O.code??(O.code="custom"),O.input??(O.input=K.value),O.inst??(O.inst=Y),O.continue??(O.continue=!Y._zod.def.abort),K.issues.push(yQ(O))}},I(K.value,K)},J);return Y}function Qj(I,J){let Y=new FU({check:"custom",...z$(J)});return Y._zod.check=I,Y}function NM(I){let J=new FU({check:"describe"});return J._zod.onattach=[(Y)=>{let K=C6.get(Y)??{};C6.add(Y,{...K,description:I})}],J._zod.check=()=>{},J}function vM(I){let J=new FU({check:"meta"});return J._zod.onattach=[(Y)=>{let K=C6.get(Y)??{};C6.add(Y,{...K,...I})}],J._zod.check=()=>{},J}function kM(I,J){let Y=z$(J),K=Y.truthy??["true","1","yes","on","y","enabled"],X=Y.falsy??["false","0","no","off","n","disabled"];if(Y.case!=="sensitive")K=K.map((B)=>typeof B==="string"?B.toLowerCase():B),X=X.map((B)=>typeof B==="string"?B.toLowerCase():B);let O=new Set(K),Z=new Set(X),M=I.Codec??R2,j=I.Boolean??T2,E=new(I.String??KJ)({type:"string",error:Y.error}),C=new j({type:"boolean",error:Y.error}),_=new M({type:"pipe",in:E,out:C,transform:(B,v)=>{let y=B;if(Y.case!=="sensitive")y=y.toLowerCase();if(O.has(y))return!0;else if(Z.has(y))return!1;else return v.issues.push({code:"invalid_value",expected:"stringbool",values:[...O,...Z],input:v.value,inst:_,continue:!1}),{}},reverseTransform:(B,v)=>{if(B===!0)return K[0]||"true";else return X[0]||"false"},error:Y.error});return _}function IY(I,J,Y,K={}){let X=z$(K),O={...z$(K),check:"string_format",type:"string",format:J,fn:typeof Y==="function"?Y:(M)=>Y.test(M),...X};if(Y instanceof RegExp)O.pattern=Y;return new I(O)}function WX(I){let J=I?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";return{processors:I.processors??{},metadataRegistry:I?.metadata??C6,target:J,unrepresentable:I?.unrepresentable??"throw",override:I?.override??(()=>{}),io:I?.io??"output",counter:0,seen:new Map,cycles:I?.cycles??"ref",reused:I?.reused??"inline",external:I?.external??void 0}}function JU(I,J,Y={path:[],schemaPath:[]}){var K;let X=I._zod.def,O=J.seen.get(I);if(O){if(O.count++,Y.schemaPath.includes(I))O.cycle=Y.path;return O.schema}let Z={schema:{},count:1,cycle:void 0,path:Y.path};J.seen.set(I,Z);let M=I._zod.toJSONSchema?.();if(M)Z.schema=M;else{let E={...Y,schemaPath:[...Y.schemaPath,I],path:Y.path};if(I._zod.processJSONSchema)I._zod.processJSONSchema(J,Z.schema,E);else{let _=Z.schema,B=J.processors[X.type];if(!B)throw Error(`[toJSONSchema]: Non-representable type encountered: ${X.type}`);B(I,J,_,E)}let C=I._zod.parent;if(C){if(!Z.ref)Z.ref=C;JU(C,J,E),J.seen.get(C).isParent=!0}}let j=J.metadataRegistry.get(I);if(j)Object.assign(Z.schema,j);if(J.io==="input"&&h6(I))delete Z.schema.examples,delete Z.schema.default;if(J.io==="input"&&"_prefault"in Z.schema)(K=Z.schema).default??(K.default=Z.schema._prefault);return delete Z.schema._prefault,J.seen.get(I).schema}function VX(I,J){let Y=I.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let K=new Map;for(let Z of I.seen.entries()){let M=I.metadataRegistry.get(Z[0])?.id;if(M){let j=K.get(M);if(j&&j!==Z[0])throw Error(`Duplicate schema id "${M}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);K.set(M,Z[0])}}let X=(Z)=>{let M=I.target==="draft-2020-12"?"$defs":"definitions";if(I.external){let C=I.external.registry.get(Z[0])?.id,_=I.external.uri??((v)=>v);if(C)return{ref:_(C)};let B=Z[1].defId??Z[1].schema.id??`schema${I.counter++}`;return Z[1].defId=B,{defId:B,ref:`${_("__shared")}#/${M}/${B}`}}if(Z[1]===Y)return{ref:"#"};let q=`${"#"}/${M}/`,E=Z[1].schema.id??`__schema${I.counter++}`;return{defId:E,ref:q+E}},O=(Z)=>{if(Z[1].schema.$ref)return;let M=Z[1],{ref:j,defId:q}=X(Z);if(M.def={...M.schema},q)M.defId=q;let E=M.schema;for(let C in E)delete E[C];E.$ref=j};if(I.cycles==="throw")for(let Z of I.seen.entries()){let M=Z[1];if(M.cycle)throw Error(`Cycle detected: #/${M.cycle?.join("/")}/<root>
|
|
319
|
+
|
|
320
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let Z of I.seen.entries()){let M=Z[1];if(J===Z[0]){O(Z);continue}if(I.external){let q=I.external.registry.get(Z[0])?.id;if(J!==Z[0]&&q){O(Z);continue}}if(I.metadataRegistry.get(Z[0])?.id){O(Z);continue}if(M.cycle){O(Z);continue}if(M.count>1){if(I.reused==="ref"){O(Z);continue}}}}function DX(I,J){let Y=I.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let K=(M)=>{let j=I.seen.get(M);if(j.ref===null)return;let q=j.def??j.schema,E={...q},C=j.ref;if(j.ref=null,C){K(C);let B=I.seen.get(C),v=B.schema;if(v.$ref&&(I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"))q.allOf=q.allOf??[],q.allOf.push(v);else Object.assign(q,v);if(Object.assign(q,E),M._zod.parent===C)for(let w in q){if(w==="$ref"||w==="allOf")continue;if(!(w in E))delete q[w]}if(v.$ref&&B.def)for(let w in q){if(w==="$ref"||w==="allOf")continue;if(w in B.def&&JSON.stringify(q[w])===JSON.stringify(B.def[w]))delete q[w]}}let _=M._zod.parent;if(_&&_!==C){K(_);let B=I.seen.get(_);if(B?.schema.$ref){if(q.$ref=B.schema.$ref,B.def)for(let v in q){if(v==="$ref"||v==="allOf")continue;if(v in B.def&&JSON.stringify(q[v])===JSON.stringify(B.def[v]))delete q[v]}}}I.override({zodSchema:M,jsonSchema:q,path:j.path??[]})};for(let M of[...I.seen.entries()].reverse())K(M[0]);let X={};if(I.target==="draft-2020-12")X.$schema="https://json-schema.org/draft/2020-12/schema";else if(I.target==="draft-07")X.$schema="http://json-schema.org/draft-07/schema#";else if(I.target==="draft-04")X.$schema="http://json-schema.org/draft-04/schema#";else if(I.target==="openapi-3.0");if(I.external?.uri){let M=I.external.registry.get(J)?.id;if(!M)throw Error("Schema is missing an `id` property");X.$id=I.external.uri(M)}Object.assign(X,Y.def??Y.schema);let O=I.metadataRegistry.get(J)?.id;if(O!==void 0&&X.id===O)delete X.id;let Z=I.external?.defs??{};for(let M of I.seen.entries()){let j=M[1];if(j.def&&j.defId){if(j.def.id===j.defId)delete j.def.id;Z[j.defId]=j.def}}if(I.external);else if(Object.keys(Z).length>0)if(I.target==="draft-2020-12")X.$defs=Z;else X.definitions=Z;try{let M=JSON.parse(JSON.stringify(X));return Object.defineProperty(M,"~standard",{value:{...J["~standard"],jsonSchema:{input:XY(J,"input",I.processors),output:XY(J,"output",I.processors)}},enumerable:!1,writable:!1}),M}catch(M){throw Error("Error converting schema to JSON.")}}function h6(I,J){let Y=J??{seen:new Set};if(Y.seen.has(I))return!1;Y.seen.add(I);let K=I._zod.def;if(K.type==="transform")return!0;if(K.type==="array")return h6(K.element,Y);if(K.type==="set")return h6(K.valueType,Y);if(K.type==="lazy")return h6(K.getter(),Y);if(K.type==="promise"||K.type==="optional"||K.type==="nonoptional"||K.type==="nullable"||K.type==="readonly"||K.type==="default"||K.type==="prefault")return h6(K.innerType,Y);if(K.type==="intersection")return h6(K.left,Y)||h6(K.right,Y);if(K.type==="record"||K.type==="map")return h6(K.keyType,Y)||h6(K.valueType,Y);if(K.type==="pipe"){if(I._zod.traits.has("$ZodCodec"))return!0;return h6(K.in,Y)||h6(K.out,Y)}if(K.type==="object"){for(let X in K.shape)if(h6(K.shape[X],Y))return!0;return!1}if(K.type==="union"){for(let X of K.options)if(h6(X,Y))return!0;return!1}if(K.type==="tuple"){for(let X of K.items)if(h6(X,Y))return!0;if(K.rest&&h6(K.rest,Y))return!0;return!1}return!1}var xM=(I,J={})=>(Y)=>{let K=WX({...Y,processors:J});return JU(I,K),VX(K,I),DX(K,I)},XY=(I,J,Y={})=>(K)=>{let{libraryOptions:X,target:O}=K??{},Z=WX({...X??{},target:O,io:J,processors:Y});return JU(I,Z),VX(Z,I),DX(Z,I)};var jc={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},gM=(I,J,Y,K)=>{let X=Y;X.type="string";let{minimum:O,maximum:Z,format:M,patterns:j,contentEncoding:q}=I._zod.bag;if(typeof O==="number")X.minLength=O;if(typeof Z==="number")X.maxLength=Z;if(M){if(X.format=jc[M]??M,X.format==="")delete X.format;if(M==="time")delete X.format}if(q)X.contentEncoding=q;if(j&&j.size>0){let E=[...j];if(E.length===1)X.pattern=E[0].source;else if(E.length>1)X.allOf=[...E.map((C)=>({...J.target==="draft-07"||J.target==="draft-04"||J.target==="openapi-3.0"?{type:"string"}:{},pattern:C.source}))]}},wM=(I,J,Y,K)=>{let X=Y,{minimum:O,maximum:Z,format:M,multipleOf:j,exclusiveMaximum:q,exclusiveMinimum:E}=I._zod.bag;if(typeof M==="string"&&M.includes("int"))X.type="integer";else X.type="number";let C=typeof E==="number"&&E>=(O??Number.NEGATIVE_INFINITY),_=typeof q==="number"&&q<=(Z??Number.POSITIVE_INFINITY),B=J.target==="draft-04"||J.target==="openapi-3.0";if(C)if(B)X.minimum=E,X.exclusiveMinimum=!0;else X.exclusiveMinimum=E;else if(typeof O==="number")X.minimum=O;if(_)if(B)X.maximum=q,X.exclusiveMaximum=!0;else X.exclusiveMaximum=q;else if(typeof Z==="number")X.maximum=Z;if(typeof j==="number")X.multipleOf=j},fM=(I,J,Y,K)=>{Y.type="boolean"},yM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},uM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},bM=(I,J,Y,K)=>{if(J.target==="openapi-3.0")Y.type="string",Y.nullable=!0,Y.enum=[null];else Y.type="null"},cM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},hM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},pM=(I,J,Y,K)=>{Y.not={}},mM=(I,J,Y,K)=>{},lM=(I,J,Y,K)=>{},dM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},nM=(I,J,Y,K)=>{let X=I._zod.def,O=O2(X.entries);if(O.every((Z)=>typeof Z==="number"))Y.type="number";if(O.every((Z)=>typeof Z==="string"))Y.type="string";Y.enum=O},oM=(I,J,Y,K)=>{let X=I._zod.def,O=[];for(let Z of X.values)if(Z===void 0){if(J.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof Z==="bigint")if(J.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else O.push(Number(Z));else O.push(Z);if(O.length===0);else if(O.length===1){let Z=O[0];if(Y.type=Z===null?"null":typeof Z,J.target==="draft-04"||J.target==="openapi-3.0")Y.enum=[Z];else Y.const=Z}else{if(O.every((Z)=>typeof Z==="number"))Y.type="number";if(O.every((Z)=>typeof Z==="string"))Y.type="string";if(O.every((Z)=>typeof Z==="boolean"))Y.type="boolean";if(O.every((Z)=>Z===null))Y.type="null";Y.enum=O}},iM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},rM=(I,J,Y,K)=>{let X=Y,O=I._zod.pattern;if(!O)throw Error("Pattern not found in template literal");X.type="string",X.pattern=O.source},tM=(I,J,Y,K)=>{let X=Y,O={type:"string",format:"binary",contentEncoding:"binary"},{minimum:Z,maximum:M,mime:j}=I._zod.bag;if(Z!==void 0)O.minLength=Z;if(M!==void 0)O.maxLength=M;if(j)if(j.length===1)O.contentMediaType=j[0],Object.assign(X,O);else Object.assign(X,O),X.anyOf=j.map((q)=>({contentMediaType:q}));else Object.assign(X,O)},aM=(I,J,Y,K)=>{Y.type="boolean"},sM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},eM=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},$L=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},UL=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},IL=(I,J,Y,K)=>{if(J.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},XL=(I,J,Y,K)=>{let X=Y,O=I._zod.def,{minimum:Z,maximum:M}=I._zod.bag;if(typeof Z==="number")X.minItems=Z;if(typeof M==="number")X.maxItems=M;X.type="array",X.items=JU(O.element,J,{...K,path:[...K.path,"items"]})},JL=(I,J,Y,K)=>{let X=Y,O=I._zod.def;X.type="object",X.properties={};let Z=O.shape;for(let q in Z)X.properties[q]=JU(Z[q],J,{...K,path:[...K.path,"properties",q]});let M=new Set(Object.keys(Z)),j=new Set([...M].filter((q)=>{let E=O.shape[q]._zod;if(J.io==="input")return E.optin===void 0;else return E.optout===void 0}));if(j.size>0)X.required=Array.from(j);if(O.catchall?._zod.def.type==="never")X.additionalProperties=!1;else if(!O.catchall){if(J.io==="output")X.additionalProperties=!1}else if(O.catchall)X.additionalProperties=JU(O.catchall,J,{...K,path:[...K.path,"additionalProperties"]})},qK=(I,J,Y,K)=>{let X=I._zod.def,O=X.inclusive===!1,Z=X.options.map((M,j)=>JU(M,J,{...K,path:[...K.path,O?"oneOf":"anyOf",j]}));if(O)Y.oneOf=Z;else Y.anyOf=Z},QL=(I,J,Y,K)=>{let X=I._zod.def,O=JU(X.left,J,{...K,path:[...K.path,"allOf",0]}),Z=JU(X.right,J,{...K,path:[...K.path,"allOf",1]}),M=(q)=>("allOf"in q)&&Object.keys(q).length===1,j=[...M(O)?O.allOf:[O],...M(Z)?Z.allOf:[Z]];Y.allOf=j},YL=(I,J,Y,K)=>{let X=Y,O=I._zod.def;X.type="array";let Z=J.target==="draft-2020-12"?"prefixItems":"items",M=J.target==="draft-2020-12"?"items":J.target==="openapi-3.0"?"items":"additionalItems",j=O.items.map((_,B)=>JU(_,J,{...K,path:[...K.path,Z,B]})),q=O.rest?JU(O.rest,J,{...K,path:[...K.path,M,...J.target==="openapi-3.0"?[O.items.length]:[]]}):null;if(J.target==="draft-2020-12"){if(X.prefixItems=j,q)X.items=q}else if(J.target==="openapi-3.0"){if(X.items={anyOf:j},q)X.items.anyOf.push(q);if(X.minItems=j.length,!q)X.maxItems=j.length}else if(X.items=j,q)X.additionalItems=q;let{minimum:E,maximum:C}=I._zod.bag;if(typeof E==="number")X.minItems=E;if(typeof C==="number")X.maxItems=C},GL=(I,J,Y,K)=>{let X=Y,O=I._zod.def;X.type="object";let Z=O.keyType,j=Z._zod.bag?.patterns;if(O.mode==="loose"&&j&&j.size>0){let E=JU(O.valueType,J,{...K,path:[...K.path,"patternProperties","*"]});X.patternProperties={};for(let C of j)X.patternProperties[C.source]=E}else{if(J.target==="draft-07"||J.target==="draft-2020-12")X.propertyNames=JU(O.keyType,J,{...K,path:[...K.path,"propertyNames"]});X.additionalProperties=JU(O.valueType,J,{...K,path:[...K.path,"additionalProperties"]})}let q=Z._zod.values;if(q){let E=[...q].filter((C)=>typeof C==="string"||typeof C==="number");if(E.length>0)X.required=E}},ZL=(I,J,Y,K)=>{let X=I._zod.def,O=JU(X.innerType,J,K),Z=J.seen.get(I);if(J.target==="openapi-3.0")Z.ref=X.innerType,Y.nullable=!0;else Y.anyOf=[O,{type:"null"}]},zL=(I,J,Y,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let O=J.seen.get(I);O.ref=X.innerType},OL=(I,J,Y,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let O=J.seen.get(I);O.ref=X.innerType,Y.default=JSON.parse(JSON.stringify(X.defaultValue))},KL=(I,J,Y,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let O=J.seen.get(I);if(O.ref=X.innerType,J.io==="input")Y._prefault=JSON.parse(JSON.stringify(X.defaultValue))},WL=(I,J,Y,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let O=J.seen.get(I);O.ref=X.innerType;let Z;try{Z=X.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}Y.default=Z},VL=(I,J,Y,K)=>{let X=I._zod.def,O=X.in._zod.traits.has("$ZodTransform"),Z=J.io==="input"?O?X.out:X.in:X.out;JU(Z,J,K);let M=J.seen.get(I);M.ref=Z},DL=(I,J,Y,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let O=J.seen.get(I);O.ref=X.innerType,Y.readOnly=!0},HL=(I,J,Y,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let O=J.seen.get(I);O.ref=X.innerType},EK=(I,J,Y,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let O=J.seen.get(I);O.ref=X.innerType},FL=(I,J,Y,K)=>{let X=I._zod.innerType;JU(X,J,K);let O=J.seen.get(I);O.ref=X},_K={string:gM,number:wM,boolean:fM,bigint:yM,symbol:uM,null:bM,undefined:cM,void:hM,never:pM,any:mM,unknown:lM,date:dM,enum:nM,literal:oM,nan:iM,template_literal:rM,file:tM,success:aM,custom:sM,function:eM,transform:$L,map:UL,set:IL,array:XL,object:JL,union:qK,intersection:QL,tuple:YL,record:GL,nullable:ZL,nonoptional:zL,default:OL,prefault:KL,catch:WL,pipe:VL,readonly:DL,promise:HL,optional:EK,lazy:FL};function SK(I,J){if("_idmap"in I){let K=I,X=WX({...J,processors:_K}),O={};for(let j of K._idmap.entries()){let[q,E]=j;JU(E,X)}let Z={},M={registry:K,uri:J?.uri,defs:O};X.external=M;for(let j of K._idmap.entries()){let[q,E]=j;VX(X,E),Z[q]=DX(X,E)}if(Object.keys(O).length>0){let j=X.target==="draft-2020-12"?"$defs":"definitions";Z.__shared={[j]:O}}return{schemas:Z}}let Y=WX({...J,processors:_K});return JU(I,Y),VX(Y,I),DX(Y,I)}class ML{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(I){this.ctx.counter=I}get seen(){return this.ctx.seen}constructor(I){let J=I?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";this.ctx=WX({processors:_K,target:J,...I?.metadata&&{metadata:I.metadata},...I?.unrepresentable&&{unrepresentable:I.unrepresentable},...I?.override&&{override:I.override},...I?.io&&{io:I.io}})}process(I,J={path:[],schemaPath:[]}){return JU(I,this.ctx,J)}emit(I,J){if(J){if(J.cycles)this.ctx.cycles=J.cycles;if(J.reused)this.ctx.reused=J.reused;if(J.external)this.ctx.external=J.external}VX(this.ctx,I);let Y=DX(this.ctx,I),{"~standard":K,...X}=Y;return X}}var Yj={};var v2={};g6(v2,{xor:()=>ej,xid:()=>Pj,void:()=>oj,uuidv7:()=>Dj,uuidv6:()=>Vj,uuidv4:()=>Wj,uuid:()=>Kj,url:()=>Hj,unknown:()=>HJ,union:()=>$8,undefined:()=>dj,ulid:()=>Tj,uint64:()=>mj,uint32:()=>cj,tuple:()=>aL,transform:()=>I8,templateLiteral:()=>VB,symbol:()=>lj,superRefine:()=>q7,success:()=>zB,stringbool:()=>TB,stringFormat:()=>xj,string:()=>k2,strictObject:()=>aj,set:()=>JB,refine:()=>_7,record:()=>sL,readonly:()=>L7,promise:()=>DB,preprocess:()=>RB,prefault:()=>O7,pipe:()=>gK,partialRecord:()=>UB,optional:()=>g2,object:()=>tj,number:()=>wL,nullish:()=>ZB,nullable:()=>w2,null:()=>cL,nonoptional:()=>K7,never:()=>eK,nativeEnum:()=>QB,nanoid:()=>Lj,nan:()=>OB,meta:()=>AB,map:()=>XB,mac:()=>qj,looseRecord:()=>IB,looseObject:()=>sj,literal:()=>YB,lazy:()=>T7,ksuid:()=>Rj,keyof:()=>rj,jwt:()=>kj,json:()=>PB,ipv6:()=>Ej,ipv4:()=>_j,invertCodec:()=>WB,intersection:()=>rL,int64:()=>pj,int32:()=>bj,int:()=>xK,instanceof:()=>CB,httpUrl:()=>Fj,hostname:()=>gj,hex:()=>wj,hash:()=>fj,guid:()=>Oj,function:()=>HB,float64:()=>uj,float32:()=>yj,file:()=>GB,exactOptional:()=>Q7,enum:()=>U8,emoji:()=>Mj,email:()=>zj,e164:()=>vj,discriminatedUnion:()=>$B,describe:()=>LB,date:()=>ij,custom:()=>MB,cuid2:()=>Cj,cuid:()=>Aj,codec:()=>KB,cidrv6:()=>jj,cidrv4:()=>Sj,check:()=>FB,catch:()=>D7,boolean:()=>fL,bigint:()=>hj,base64url:()=>Nj,base64:()=>Bj,array:()=>b2,any:()=>nj,_function:()=>HB,_default:()=>Z7,_ZodString:()=>wK,ZodXor:()=>nL,ZodXID:()=>pK,ZodVoid:()=>lL,ZodUnknown:()=>pL,ZodUnion:()=>h2,ZodUndefined:()=>uL,ZodUUID:()=>w1,ZodURL:()=>y2,ZodULID:()=>hK,ZodType:()=>g$,ZodTuple:()=>tL,ZodTransform:()=>X7,ZodTemplateLiteral:()=>A7,ZodSymbol:()=>yL,ZodSuccess:()=>W7,ZodStringFormat:()=>OU,ZodString:()=>GY,ZodSet:()=>$7,ZodRecord:()=>QY,ZodReadonly:()=>M7,ZodPromise:()=>P7,ZodPreprocess:()=>F7,ZodPrefault:()=>z7,ZodPipe:()=>p2,ZodOptional:()=>X8,ZodObject:()=>c2,ZodNumberFormat:()=>FJ,ZodNumber:()=>zY,ZodNullable:()=>Y7,ZodNull:()=>bL,ZodNonOptional:()=>J8,ZodNever:()=>mL,ZodNanoID:()=>uK,ZodNaN:()=>H7,ZodMap:()=>eL,ZodMAC:()=>gL,ZodLiteral:()=>U7,ZodLazy:()=>C7,ZodKSUID:()=>mK,ZodJWT:()=>aK,ZodIntersection:()=>iL,ZodIPv6:()=>dK,ZodIPv4:()=>lK,ZodGUID:()=>x2,ZodFunction:()=>R7,ZodFile:()=>I7,ZodExactOptional:()=>J7,ZodEnum:()=>YY,ZodEmoji:()=>yK,ZodEmail:()=>fK,ZodE164:()=>tK,ZodDiscriminatedUnion:()=>oL,ZodDefault:()=>G7,ZodDate:()=>u2,ZodCustomStringFormat:()=>ZY,ZodCustom:()=>l2,ZodCodec:()=>m2,ZodCatch:()=>V7,ZodCUID2:()=>cK,ZodCUID:()=>bK,ZodCIDRv6:()=>oK,ZodCIDRv4:()=>nK,ZodBoolean:()=>OY,ZodBigIntFormat:()=>sK,ZodBigInt:()=>KY,ZodBase64URL:()=>rK,ZodBase64:()=>iK,ZodArray:()=>dL,ZodAny:()=>hL});var jK={};g6(jK,{uppercase:()=>nQ,trim:()=>sQ,toUpperCase:()=>$Y,toLowerCase:()=>eQ,startsWith:()=>iQ,slugify:()=>UY,size:()=>WJ,regex:()=>lQ,property:()=>RK,positive:()=>AK,overwrite:()=>a4,normalize:()=>aQ,nonpositive:()=>TK,nonnegative:()=>PK,negative:()=>CK,multipleOf:()=>OX,minSize:()=>g1,minLength:()=>DI,mime:()=>tQ,maxSize:()=>KX,maxLength:()=>VJ,lte:()=>C4,lt:()=>k1,lowercase:()=>dQ,length:()=>DJ,includes:()=>oQ,gte:()=>c6,gt:()=>x1,endsWith:()=>rQ});var JY={};g6(JY,{time:()=>CL,duration:()=>TL,datetime:()=>LL,date:()=>AL,ZodISOTime:()=>vK,ZodISODuration:()=>kK,ZodISODateTime:()=>BK,ZodISODate:()=>NK});var BK=j0("ZodISODateTime",(I,J)=>{sH.init(I,J),OU.init(I,J)});function LL(I){return s5(BK,I)}var NK=j0("ZodISODate",(I,J)=>{eH.init(I,J),OU.init(I,J)});function AL(I){return e5(NK,I)}var vK=j0("ZodISOTime",(I,J)=>{$F.init(I,J),OU.init(I,J)});function CL(I){return $M(vK,I)}var kK=j0("ZodISODuration",(I,J)=>{UF.init(I,J),OU.init(I,J)});function TL(I){return UM(kK,I)}var Gj=(I,J)=>{H2.init(I,J),I.name="ZodError",Object.defineProperties(I,{format:{value:(Y)=>M2(I,Y)},flatten:{value:(Y)=>F2(I,Y)},addIssue:{value:(Y)=>{I.issues.push(Y),I.message=JSON.stringify(I.issues,wQ,2)}},addIssues:{value:(Y)=>{I.issues.push(...Y),I.message=JSON.stringify(I.issues,wQ,2)}},isEmpty:{get(){return I.issues.length===0}}})},Nc=j0("ZodError",Gj),e6=j0("ZodError",Gj,{Parent:Error});var PL=uQ(e6),RL=bQ(e6),_L=cQ(e6),qL=hQ(e6),EL=vO(e6),SL=kO(e6),jL=xO(e6),BL=gO(e6),NL=wO(e6),vL=fO(e6),kL=yO(e6),xL=uO(e6);var Zj=new WeakMap;function f2(I,J,Y){let K=Object.getPrototypeOf(I),X=Zj.get(K);if(!X)X=new Set,Zj.set(K,X);if(X.has(J))return;X.add(J);for(let O in Y){let Z=Y[O];Object.defineProperty(K,O,{configurable:!0,enumerable:!1,get(){let M=Z.bind(this);return Object.defineProperty(this,O,{configurable:!0,writable:!0,enumerable:!0,value:M}),M},set(M){Object.defineProperty(this,O,{configurable:!0,writable:!0,enumerable:!0,value:M})}})}}var g$=j0("ZodType",(I,J)=>{return E$.init(I,J),Object.assign(I["~standard"],{jsonSchema:{input:XY(I,"input"),output:XY(I,"output")}}),I.toJSONSchema=xM(I,{}),I.def=J,I.type=J.type,Object.defineProperty(I,"_def",{value:J}),I.parse=(Y,K)=>PL(I,Y,K,{callee:I.parse}),I.safeParse=(Y,K)=>_L(I,Y,K),I.parseAsync=async(Y,K)=>RL(I,Y,K,{callee:I.parseAsync}),I.safeParseAsync=async(Y,K)=>qL(I,Y,K),I.spa=I.safeParseAsync,I.encode=(Y,K)=>EL(I,Y,K),I.decode=(Y,K)=>SL(I,Y,K),I.encodeAsync=async(Y,K)=>jL(I,Y,K),I.decodeAsync=async(Y,K)=>BL(I,Y,K),I.safeEncode=(Y,K)=>NL(I,Y,K),I.safeDecode=(Y,K)=>vL(I,Y,K),I.safeEncodeAsync=async(Y,K)=>kL(I,Y,K),I.safeDecodeAsync=async(Y,K)=>xL(I,Y,K),f2(I,"ZodType",{check(...Y){let K=this.def;return this.clone(Z$.mergeDefs(K,{checks:[...K.checks??[],...Y.map((X)=>typeof X==="function"?{_zod:{check:X,def:{check:"custom"},onattach:[]}}:X)]}),{parent:!0})},with(...Y){return this.check(...Y)},clone(Y,K){return u6(this,Y,K)},brand(){return this},register(Y,K){return Y.add(this,K),this},refine(Y,K){return this.check(_7(Y,K))},superRefine(Y,K){return this.check(q7(Y,K))},overwrite(Y){return this.check(a4(Y))},optional(){return g2(this)},exactOptional(){return Q7(this)},nullable(){return w2(this)},nullish(){return g2(w2(this))},nonoptional(Y){return K7(this,Y)},array(){return b2(this)},or(Y){return $8([this,Y])},and(Y){return rL(this,Y)},transform(Y){return gK(this,I8(Y))},default(Y){return Z7(this,Y)},prefault(Y){return O7(this,Y)},catch(Y){return D7(this,Y)},pipe(Y){return gK(this,Y)},readonly(){return L7(this)},describe(Y){let K=this.clone();return C6.add(K,{description:Y}),K},meta(...Y){if(Y.length===0)return C6.get(this);let K=this.clone();return C6.add(K,Y[0]),K},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(Y){return Y(this)}}),Object.defineProperty(I,"description",{get(){return C6.get(I)?.description},configurable:!0}),I}),wK=j0("_ZodString",(I,J)=>{KJ.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(K,X,O)=>gM(I,K,X,O);let Y=I._zod.bag;I.format=Y.format??null,I.minLength=Y.minimum??null,I.maxLength=Y.maximum??null,f2(I,"_ZodString",{regex(...K){return this.check(lQ(...K))},includes(...K){return this.check(oQ(...K))},startsWith(...K){return this.check(iQ(...K))},endsWith(...K){return this.check(rQ(...K))},min(...K){return this.check(DI(...K))},max(...K){return this.check(VJ(...K))},length(...K){return this.check(DJ(...K))},nonempty(...K){return this.check(DI(1,...K))},lowercase(K){return this.check(dQ(K))},uppercase(K){return this.check(nQ(K))},trim(){return this.check(sQ())},normalize(...K){return this.check(aQ(...K))},toLowerCase(){return this.check(eQ())},toUpperCase(){return this.check($Y())},slugify(){return this.check(UY())}})}),GY=j0("ZodString",(I,J)=>{KJ.init(I,J),wK.init(I,J),I.email=(Y)=>I.check(eO(fK,Y)),I.url=(Y)=>I.check(N2(y2,Y)),I.jwt=(Y)=>I.check(LK(aK,Y)),I.emoji=(Y)=>I.check(JK(yK,Y)),I.guid=(Y)=>I.check(B2(x2,Y)),I.uuid=(Y)=>I.check($K(w1,Y)),I.uuidv4=(Y)=>I.check(UK(w1,Y)),I.uuidv6=(Y)=>I.check(IK(w1,Y)),I.uuidv7=(Y)=>I.check(XK(w1,Y)),I.nanoid=(Y)=>I.check(QK(uK,Y)),I.guid=(Y)=>I.check(B2(x2,Y)),I.cuid=(Y)=>I.check(YK(bK,Y)),I.cuid2=(Y)=>I.check(GK(cK,Y)),I.ulid=(Y)=>I.check(ZK(hK,Y)),I.base64=(Y)=>I.check(HK(iK,Y)),I.base64url=(Y)=>I.check(FK(rK,Y)),I.xid=(Y)=>I.check(zK(pK,Y)),I.ksuid=(Y)=>I.check(OK(mK,Y)),I.ipv4=(Y)=>I.check(KK(lK,Y)),I.ipv6=(Y)=>I.check(WK(dK,Y)),I.cidrv4=(Y)=>I.check(VK(nK,Y)),I.cidrv6=(Y)=>I.check(DK(oK,Y)),I.e164=(Y)=>I.check(MK(tK,Y)),I.datetime=(Y)=>I.check(LL(Y)),I.date=(Y)=>I.check(AL(Y)),I.time=(Y)=>I.check(CL(Y)),I.duration=(Y)=>I.check(TL(Y))});function k2(I){return i5(GY,I)}var OU=j0("ZodStringFormat",(I,J)=>{zU.init(I,J),wK.init(I,J)}),fK=j0("ZodEmail",(I,J)=>{mH.init(I,J),OU.init(I,J)});function zj(I){return eO(fK,I)}var x2=j0("ZodGUID",(I,J)=>{hH.init(I,J),OU.init(I,J)});function Oj(I){return B2(x2,I)}var w1=j0("ZodUUID",(I,J)=>{pH.init(I,J),OU.init(I,J)});function Kj(I){return $K(w1,I)}function Wj(I){return UK(w1,I)}function Vj(I){return IK(w1,I)}function Dj(I){return XK(w1,I)}var y2=j0("ZodURL",(I,J)=>{lH.init(I,J),OU.init(I,J)});function Hj(I){return N2(y2,I)}function Fj(I){return N2(y2,{protocol:A4.httpProtocol,hostname:A4.domain,...Z$.normalizeParams(I)})}var yK=j0("ZodEmoji",(I,J)=>{dH.init(I,J),OU.init(I,J)});function Mj(I){return JK(yK,I)}var uK=j0("ZodNanoID",(I,J)=>{nH.init(I,J),OU.init(I,J)});function Lj(I){return QK(uK,I)}var bK=j0("ZodCUID",(I,J)=>{oH.init(I,J),OU.init(I,J)});function Aj(I){return YK(bK,I)}var cK=j0("ZodCUID2",(I,J)=>{iH.init(I,J),OU.init(I,J)});function Cj(I){return GK(cK,I)}var hK=j0("ZodULID",(I,J)=>{rH.init(I,J),OU.init(I,J)});function Tj(I){return ZK(hK,I)}var pK=j0("ZodXID",(I,J)=>{tH.init(I,J),OU.init(I,J)});function Pj(I){return zK(pK,I)}var mK=j0("ZodKSUID",(I,J)=>{aH.init(I,J),OU.init(I,J)});function Rj(I){return OK(mK,I)}var lK=j0("ZodIPv4",(I,J)=>{IF.init(I,J),OU.init(I,J)});function _j(I){return KK(lK,I)}var gL=j0("ZodMAC",(I,J)=>{JF.init(I,J),OU.init(I,J)});function qj(I){return t5(gL,I)}var dK=j0("ZodIPv6",(I,J)=>{XF.init(I,J),OU.init(I,J)});function Ej(I){return WK(dK,I)}var nK=j0("ZodCIDRv4",(I,J)=>{QF.init(I,J),OU.init(I,J)});function Sj(I){return VK(nK,I)}var oK=j0("ZodCIDRv6",(I,J)=>{YF.init(I,J),OU.init(I,J)});function jj(I){return DK(oK,I)}var iK=j0("ZodBase64",(I,J)=>{ZF.init(I,J),OU.init(I,J)});function Bj(I){return HK(iK,I)}var rK=j0("ZodBase64URL",(I,J)=>{zF.init(I,J),OU.init(I,J)});function Nj(I){return FK(rK,I)}var tK=j0("ZodE164",(I,J)=>{OF.init(I,J),OU.init(I,J)});function vj(I){return MK(tK,I)}var aK=j0("ZodJWT",(I,J)=>{KF.init(I,J),OU.init(I,J)});function kj(I){return LK(aK,I)}var ZY=j0("ZodCustomStringFormat",(I,J)=>{WF.init(I,J),OU.init(I,J)});function xj(I,J,Y={}){return IY(ZY,I,J,Y)}function gj(I){return IY(ZY,"hostname",A4.hostname,I)}function wj(I){return IY(ZY,"hex",A4.hex,I)}function fj(I,J){let Y=J?.enc??"hex",K=`${I}_${Y}`,X=A4[K];if(!X)throw Error(`Unrecognized hash format: ${K}`);return IY(ZY,K,X,J)}var zY=j0("ZodNumber",(I,J)=>{oO.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(K,X,O)=>wM(I,K,X,O),f2(I,"ZodNumber",{gt(K,X){return this.check(x1(K,X))},gte(K,X){return this.check(c6(K,X))},min(K,X){return this.check(c6(K,X))},lt(K,X){return this.check(k1(K,X))},lte(K,X){return this.check(C4(K,X))},max(K,X){return this.check(C4(K,X))},int(K){return this.check(xK(K))},safe(K){return this.check(xK(K))},positive(K){return this.check(x1(0,K))},nonnegative(K){return this.check(c6(0,K))},negative(K){return this.check(k1(0,K))},nonpositive(K){return this.check(C4(0,K))},multipleOf(K,X){return this.check(OX(K,X))},step(K,X){return this.check(OX(K,X))},finite(){return this}});let Y=I._zod.bag;I.minValue=Math.max(Y.minimum??Number.NEGATIVE_INFINITY,Y.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,I.maxValue=Math.min(Y.maximum??Number.POSITIVE_INFINITY,Y.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,I.isInt=(Y.format??"").includes("int")||Number.isSafeInteger(Y.multipleOf??0.5),I.isFinite=!0,I.format=Y.format??null});function wL(I){return IM(zY,I)}var FJ=j0("ZodNumberFormat",(I,J)=>{VF.init(I,J),zY.init(I,J)});function xK(I){return JM(FJ,I)}function yj(I){return QM(FJ,I)}function uj(I){return YM(FJ,I)}function bj(I){return GM(FJ,I)}function cj(I){return ZM(FJ,I)}var OY=j0("ZodBoolean",(I,J)=>{T2.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>fM(I,Y,K,X)});function fL(I){return zM(OY,I)}var KY=j0("ZodBigInt",(I,J)=>{iO.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(K,X,O)=>yM(I,K,X,O),I.gte=(K,X)=>I.check(c6(K,X)),I.min=(K,X)=>I.check(c6(K,X)),I.gt=(K,X)=>I.check(x1(K,X)),I.gte=(K,X)=>I.check(c6(K,X)),I.min=(K,X)=>I.check(c6(K,X)),I.lt=(K,X)=>I.check(k1(K,X)),I.lte=(K,X)=>I.check(C4(K,X)),I.max=(K,X)=>I.check(C4(K,X)),I.positive=(K)=>I.check(x1(BigInt(0),K)),I.negative=(K)=>I.check(k1(BigInt(0),K)),I.nonpositive=(K)=>I.check(C4(BigInt(0),K)),I.nonnegative=(K)=>I.check(c6(BigInt(0),K)),I.multipleOf=(K,X)=>I.check(OX(K,X));let Y=I._zod.bag;I.minValue=Y.minimum??null,I.maxValue=Y.maximum??null,I.format=Y.format??null});function hj(I){return KM(KY,I)}var sK=j0("ZodBigIntFormat",(I,J)=>{DF.init(I,J),KY.init(I,J)});function pj(I){return VM(sK,I)}function mj(I){return DM(sK,I)}var yL=j0("ZodSymbol",(I,J)=>{HF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>uM(I,Y,K,X)});function lj(I){return HM(yL,I)}var uL=j0("ZodUndefined",(I,J)=>{FF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>cM(I,Y,K,X)});function dj(I){return FM(uL,I)}var bL=j0("ZodNull",(I,J)=>{MF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>bM(I,Y,K,X)});function cL(I){return MM(bL,I)}var hL=j0("ZodAny",(I,J)=>{LF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>mM(I,Y,K,X)});function nj(){return LM(hL)}var pL=j0("ZodUnknown",(I,J)=>{AF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>lM(I,Y,K,X)});function HJ(){return AM(pL)}var mL=j0("ZodNever",(I,J)=>{CF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>pM(I,Y,K,X)});function eK(I){return CM(mL,I)}var lL=j0("ZodVoid",(I,J)=>{TF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>hM(I,Y,K,X)});function oj(I){return TM(lL,I)}var u2=j0("ZodDate",(I,J)=>{PF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(K,X,O)=>dM(I,K,X,O),I.min=(K,X)=>I.check(c6(K,X)),I.max=(K,X)=>I.check(C4(K,X));let Y=I._zod.bag;I.minDate=Y.minimum?new Date(Y.minimum):null,I.maxDate=Y.maximum?new Date(Y.maximum):null});function ij(I){return PM(u2,I)}var dL=j0("ZodArray",(I,J)=>{RF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>XL(I,Y,K,X),I.element=J.element,f2(I,"ZodArray",{min(Y,K){return this.check(DI(Y,K))},nonempty(Y){return this.check(DI(1,Y))},max(Y,K){return this.check(VJ(Y,K))},length(Y,K){return this.check(DJ(Y,K))},unwrap(){return this.element}})});function b2(I,J){return qM(dL,I,J)}function rj(I){let J=I._zod.def.shape;return U8(Object.keys(J))}var c2=j0("ZodObject",(I,J)=>{_F.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>JL(I,Y,K,X),Z$.defineLazy(I,"shape",()=>{return J.shape}),f2(I,"ZodObject",{keyof(){return U8(Object.keys(this._zod.def.shape))},catchall(Y){return this.clone({...this._zod.def,catchall:Y})},passthrough(){return this.clone({...this._zod.def,catchall:HJ()})},loose(){return this.clone({...this._zod.def,catchall:HJ()})},strict(){return this.clone({...this._zod.def,catchall:eK()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(Y){return Z$.extend(this,Y)},safeExtend(Y){return Z$.safeExtend(this,Y)},merge(Y){return Z$.merge(this,Y)},pick(Y){return Z$.pick(this,Y)},omit(Y){return Z$.omit(this,Y)},partial(...Y){return Z$.partial(X8,this,Y[0])},required(...Y){return Z$.required(J8,this,Y[0])}})});function tj(I,J){let Y={type:"object",shape:I??{},...Z$.normalizeParams(J)};return new c2(Y)}function aj(I,J){return new c2({type:"object",shape:I,catchall:eK(),...Z$.normalizeParams(J)})}function sj(I,J){return new c2({type:"object",shape:I,catchall:HJ(),...Z$.normalizeParams(J)})}var h2=j0("ZodUnion",(I,J)=>{P2.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>qK(I,Y,K,X),I.options=J.options});function $8(I,J){return new h2({type:"union",options:I,...Z$.normalizeParams(J)})}var nL=j0("ZodXor",(I,J)=>{h2.init(I,J),qF.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>qK(I,Y,K,X),I.options=J.options});function ej(I,J){return new nL({type:"union",options:I,inclusive:!1,...Z$.normalizeParams(J)})}var oL=j0("ZodDiscriminatedUnion",(I,J)=>{h2.init(I,J),EF.init(I,J)});function $B(I,J,Y){return new oL({type:"union",options:J,discriminator:I,...Z$.normalizeParams(Y)})}var iL=j0("ZodIntersection",(I,J)=>{SF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>QL(I,Y,K,X)});function rL(I,J){return new iL({type:"intersection",left:I,right:J})}var tL=j0("ZodTuple",(I,J)=>{rO.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>YL(I,Y,K,X),I.rest=(Y)=>I.clone({...I._zod.def,rest:Y})});function aL(I,J,Y){let K=J instanceof E$,X=K?Y:J;return new tL({type:"tuple",items:I,rest:K?J:null,...Z$.normalizeParams(X)})}var QY=j0("ZodRecord",(I,J)=>{jF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>GL(I,Y,K,X),I.keyType=J.keyType,I.valueType=J.valueType});function sL(I,J,Y){if(!J||!J._zod)return new QY({type:"record",keyType:k2(),valueType:I,...Z$.normalizeParams(J)});return new QY({type:"record",keyType:I,valueType:J,...Z$.normalizeParams(Y)})}function UB(I,J,Y){let K=u6(I);return K._zod.values=void 0,new QY({type:"record",keyType:K,valueType:J,...Z$.normalizeParams(Y)})}function IB(I,J,Y){return new QY({type:"record",keyType:I,valueType:J,mode:"loose",...Z$.normalizeParams(Y)})}var eL=j0("ZodMap",(I,J)=>{BF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>UL(I,Y,K,X),I.keyType=J.keyType,I.valueType=J.valueType,I.min=(...Y)=>I.check(g1(...Y)),I.nonempty=(Y)=>I.check(g1(1,Y)),I.max=(...Y)=>I.check(KX(...Y)),I.size=(...Y)=>I.check(WJ(...Y))});function XB(I,J,Y){return new eL({type:"map",keyType:I,valueType:J,...Z$.normalizeParams(Y)})}var $7=j0("ZodSet",(I,J)=>{NF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>IL(I,Y,K,X),I.min=(...Y)=>I.check(g1(...Y)),I.nonempty=(Y)=>I.check(g1(1,Y)),I.max=(...Y)=>I.check(KX(...Y)),I.size=(...Y)=>I.check(WJ(...Y))});function JB(I,J){return new $7({type:"set",valueType:I,...Z$.normalizeParams(J)})}var YY=j0("ZodEnum",(I,J)=>{vF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(K,X,O)=>nM(I,K,X,O),I.enum=J.entries,I.options=Object.values(J.entries);let Y=new Set(Object.keys(J.entries));I.extract=(K,X)=>{let O={};for(let Z of K)if(Y.has(Z))O[Z]=J.entries[Z];else throw Error(`Key ${Z} not found in enum`);return new YY({...J,checks:[],...Z$.normalizeParams(X),entries:O})},I.exclude=(K,X)=>{let O={...J.entries};for(let Z of K)if(Y.has(Z))delete O[Z];else throw Error(`Key ${Z} not found in enum`);return new YY({...J,checks:[],...Z$.normalizeParams(X),entries:O})}});function U8(I,J){let Y=Array.isArray(I)?Object.fromEntries(I.map((K)=>[K,K])):I;return new YY({type:"enum",entries:Y,...Z$.normalizeParams(J)})}function QB(I,J){return new YY({type:"enum",entries:I,...Z$.normalizeParams(J)})}var U7=j0("ZodLiteral",(I,J)=>{kF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>oM(I,Y,K,X),I.values=new Set(J.values),Object.defineProperty(I,"value",{get(){if(J.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return J.values[0]}})});function YB(I,J){return new U7({type:"literal",values:Array.isArray(I)?I:[I],...Z$.normalizeParams(J)})}var I7=j0("ZodFile",(I,J)=>{xF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>tM(I,Y,K,X),I.min=(Y,K)=>I.check(g1(Y,K)),I.max=(Y,K)=>I.check(KX(Y,K)),I.mime=(Y,K)=>I.check(tQ(Array.isArray(Y)?Y:[Y],K))});function GB(I){return EM(I7,I)}var X7=j0("ZodTransform",(I,J)=>{gF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>$L(I,Y,K,X),I._zod.parse=(Y,K)=>{if(K.direction==="backward")throw new ZJ(I.constructor.name);Y.addIssue=(O)=>{if(typeof O==="string")Y.issues.push(Z$.issue(O,Y.value,J));else{let Z=O;if(Z.fatal)Z.continue=!1;Z.code??(Z.code="custom"),Z.input??(Z.input=Y.value),Z.inst??(Z.inst=I),Y.issues.push(Z$.issue(Z))}};let X=J.transform(Y.value,Y);if(X instanceof Promise)return X.then((O)=>{return Y.value=O,Y.fallback=!0,Y});return Y.value=X,Y.fallback=!0,Y}});function I8(I){return new X7({type:"transform",transform:I})}var X8=j0("ZodOptional",(I,J)=>{tO.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>EK(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function g2(I){return new X8({type:"optional",innerType:I})}var J7=j0("ZodExactOptional",(I,J)=>{wF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>EK(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function Q7(I){return new J7({type:"optional",innerType:I})}var Y7=j0("ZodNullable",(I,J)=>{fF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>ZL(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function w2(I){return new Y7({type:"nullable",innerType:I})}function ZB(I){return g2(w2(I))}var G7=j0("ZodDefault",(I,J)=>{yF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>OL(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType,I.removeDefault=I.unwrap});function Z7(I,J){return new G7({type:"default",innerType:I,get defaultValue(){return typeof J==="function"?J():Z$.shallowClone(J)}})}var z7=j0("ZodPrefault",(I,J)=>{uF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>KL(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function O7(I,J){return new z7({type:"prefault",innerType:I,get defaultValue(){return typeof J==="function"?J():Z$.shallowClone(J)}})}var J8=j0("ZodNonOptional",(I,J)=>{bF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>zL(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function K7(I,J){return new J8({type:"nonoptional",innerType:I,...Z$.normalizeParams(J)})}var W7=j0("ZodSuccess",(I,J)=>{cF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>aM(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function zB(I){return new W7({type:"success",innerType:I})}var V7=j0("ZodCatch",(I,J)=>{hF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>WL(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType,I.removeCatch=I.unwrap});function D7(I,J){return new V7({type:"catch",innerType:I,catchValue:typeof J==="function"?J:()=>J})}var H7=j0("ZodNaN",(I,J)=>{pF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>iM(I,Y,K,X)});function OB(I){return _M(H7,I)}var p2=j0("ZodPipe",(I,J)=>{aO.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>VL(I,Y,K,X),I.in=J.in,I.out=J.out});function gK(I,J){return new p2({type:"pipe",in:I,out:J})}var m2=j0("ZodCodec",(I,J)=>{p2.init(I,J),R2.init(I,J)});function KB(I,J,Y){return new m2({type:"pipe",in:I,out:J,transform:Y.decode,reverseTransform:Y.encode})}function WB(I){let J=I._zod.def;return new m2({type:"pipe",in:J.out,out:J.in,transform:J.reverseTransform,reverseTransform:J.transform})}var F7=j0("ZodPreprocess",(I,J)=>{p2.init(I,J),mF.init(I,J)}),M7=j0("ZodReadonly",(I,J)=>{lF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>DL(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function L7(I){return new M7({type:"readonly",innerType:I})}var A7=j0("ZodTemplateLiteral",(I,J)=>{dF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>rM(I,Y,K,X)});function VB(I,J){return new A7({type:"template_literal",parts:I,...Z$.normalizeParams(J)})}var C7=j0("ZodLazy",(I,J)=>{iF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>FL(I,Y,K,X),I.unwrap=()=>I._zod.def.getter()});function T7(I){return new C7({type:"lazy",getter:I})}var P7=j0("ZodPromise",(I,J)=>{oF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>HL(I,Y,K,X),I.unwrap=()=>I._zod.def.innerType});function DB(I){return new P7({type:"promise",innerType:I})}var R7=j0("ZodFunction",(I,J)=>{nF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>eM(I,Y,K,X)});function HB(I){return new R7({type:"function",input:Array.isArray(I?.input)?aL(I?.input):I?.input??b2(HJ()),output:I?.output??HJ()})}var l2=j0("ZodCustom",(I,J)=>{rF.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,K,X)=>sM(I,Y,K,X)});function FB(I){let J=new FU({check:"custom"});return J._zod.check=I,J}function MB(I,J){return SM(l2,I??(()=>!0),J)}function _7(I,J={}){return jM(l2,I,J)}function q7(I,J){return BM(I,J)}var LB=NM,AB=vM;function CB(I,J={}){let Y=new l2({type:"custom",check:"custom",fn:(K)=>K instanceof I,abort:!0,...Z$.normalizeParams(J)});return Y._zod.bag.Class=I,Y._zod.check=(K)=>{if(!(K.value instanceof I))K.issues.push({code:"invalid_type",expected:I.name,input:K.value,inst:Y,path:[...Y._zod.def.path??[]]})},Y}var TB=(...I)=>kM({Codec:m2,Boolean:OY,String:GY},...I);function PB(I){let J=T7(()=>{return $8([k2(I),wL(),fL(),cL(),b2(J),sL(k2(),J)])});return J}function RB(I,J){return new F7({type:"pipe",in:I8(I),out:J})}var kc={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"};function xc(I){tU({customError:I})}function gc(){return tU().customError}var E7;(function(I){})(E7||(E7={}));var D$={...v2,...jK,iso:JY},wc=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"]);function fc(I,J){let Y=I.$schema;if(Y==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(Y==="http://json-schema.org/draft-07/schema#")return"draft-7";if(Y==="http://json-schema.org/draft-04/schema#")return"draft-4";return J??"draft-2020-12"}function yc(I,J){if(!I.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let Y=I.slice(1).split("/").filter(Boolean);if(Y.length===0)return J.rootSchema;let K=J.version==="draft-2020-12"?"$defs":"definitions";if(Y[0]===K){let X=Y[1];if(!X||!J.defs[X])throw Error(`Reference not found: ${I}`);return J.defs[X]}throw Error(`Reference not found: ${I}`)}function _B(I,J){if(I.not!==void 0){if(typeof I.not==="object"&&Object.keys(I.not).length===0)return D$.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(I.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if(I.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if(I.if!==void 0||I.then!==void 0||I.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if(I.dependentSchemas!==void 0||I.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if(I.$ref){let X=I.$ref;if(J.refs.has(X))return J.refs.get(X);if(J.processing.has(X))return D$.lazy(()=>{if(!J.refs.has(X))throw Error(`Circular reference not resolved: ${X}`);return J.refs.get(X)});J.processing.add(X);let O=yc(X,J),Z=_6(O,J);return J.refs.set(X,Z),J.processing.delete(X),Z}if(I.enum!==void 0){let X=I.enum;if(J.version==="openapi-3.0"&&I.nullable===!0&&X.length===1&&X[0]===null)return D$.null();if(X.length===0)return D$.never();if(X.length===1)return D$.literal(X[0]);if(X.every((Z)=>typeof Z==="string"))return D$.enum(X);let O=X.map((Z)=>D$.literal(Z));if(O.length<2)return O[0];return D$.union([O[0],O[1],...O.slice(2)])}if(I.const!==void 0)return D$.literal(I.const);let Y=I.type;if(Array.isArray(Y)){let X=Y.map((O)=>{let Z={...I,type:O};return _B(Z,J)});if(X.length===0)return D$.never();if(X.length===1)return X[0];return D$.union(X)}if(!Y)return D$.any();let K;switch(Y){case"string":{let X=D$.string();if(I.format){let O=I.format;if(O==="email")X=X.check(D$.email());else if(O==="uri"||O==="uri-reference")X=X.check(D$.url());else if(O==="uuid"||O==="guid")X=X.check(D$.uuid());else if(O==="date-time")X=X.check(D$.iso.datetime());else if(O==="date")X=X.check(D$.iso.date());else if(O==="time")X=X.check(D$.iso.time());else if(O==="duration")X=X.check(D$.iso.duration());else if(O==="ipv4")X=X.check(D$.ipv4());else if(O==="ipv6")X=X.check(D$.ipv6());else if(O==="mac")X=X.check(D$.mac());else if(O==="cidr")X=X.check(D$.cidrv4());else if(O==="cidr-v6")X=X.check(D$.cidrv6());else if(O==="base64")X=X.check(D$.base64());else if(O==="base64url")X=X.check(D$.base64url());else if(O==="e164")X=X.check(D$.e164());else if(O==="jwt")X=X.check(D$.jwt());else if(O==="emoji")X=X.check(D$.emoji());else if(O==="nanoid")X=X.check(D$.nanoid());else if(O==="cuid")X=X.check(D$.cuid());else if(O==="cuid2")X=X.check(D$.cuid2());else if(O==="ulid")X=X.check(D$.ulid());else if(O==="xid")X=X.check(D$.xid());else if(O==="ksuid")X=X.check(D$.ksuid())}if(typeof I.minLength==="number")X=X.min(I.minLength);if(typeof I.maxLength==="number")X=X.max(I.maxLength);if(I.pattern)X=X.regex(new RegExp(I.pattern));K=X;break}case"number":case"integer":{let X=Y==="integer"?D$.number().int():D$.number();if(typeof I.minimum==="number")X=X.min(I.minimum);if(typeof I.maximum==="number")X=X.max(I.maximum);if(typeof I.exclusiveMinimum==="number")X=X.gt(I.exclusiveMinimum);else if(I.exclusiveMinimum===!0&&typeof I.minimum==="number")X=X.gt(I.minimum);if(typeof I.exclusiveMaximum==="number")X=X.lt(I.exclusiveMaximum);else if(I.exclusiveMaximum===!0&&typeof I.maximum==="number")X=X.lt(I.maximum);if(typeof I.multipleOf==="number")X=X.multipleOf(I.multipleOf);K=X;break}case"boolean":{K=D$.boolean();break}case"null":{K=D$.null();break}case"object":{let X={},O=I.properties||{},Z=new Set(I.required||[]);for(let[j,q]of Object.entries(O)){let E=_6(q,J);X[j]=Z.has(j)?E:E.optional()}if(I.propertyNames){let j=_6(I.propertyNames,J),q=I.additionalProperties&&typeof I.additionalProperties==="object"?_6(I.additionalProperties,J):D$.any();if(Object.keys(X).length===0){K=D$.record(j,q);break}let E=D$.object(X).passthrough(),C=D$.looseRecord(j,q);K=D$.intersection(E,C);break}if(I.patternProperties){let j=I.patternProperties,q=Object.keys(j),E=[];for(let _ of q){let B=_6(j[_],J),v=D$.string().regex(new RegExp(_));E.push(D$.looseRecord(v,B))}let C=[];if(Object.keys(X).length>0)C.push(D$.object(X).passthrough());if(C.push(...E),C.length===0)K=D$.object({}).passthrough();else if(C.length===1)K=C[0];else{let _=D$.intersection(C[0],C[1]);for(let B=2;B<C.length;B++)_=D$.intersection(_,C[B]);K=_}break}let M=D$.object(X);if(I.additionalProperties===!1)K=M.strict();else if(typeof I.additionalProperties==="object")K=M.catchall(_6(I.additionalProperties,J));else K=M.passthrough();break}case"array":{let{prefixItems:X,items:O}=I;if(X&&Array.isArray(X)){let Z=X.map((j)=>_6(j,J)),M=O&&typeof O==="object"&&!Array.isArray(O)?_6(O,J):void 0;if(M)K=D$.tuple(Z).rest(M);else K=D$.tuple(Z);if(typeof I.minItems==="number")K=K.check(D$.minLength(I.minItems));if(typeof I.maxItems==="number")K=K.check(D$.maxLength(I.maxItems))}else if(Array.isArray(O)){let Z=O.map((j)=>_6(j,J)),M=I.additionalItems&&typeof I.additionalItems==="object"?_6(I.additionalItems,J):void 0;if(M)K=D$.tuple(Z).rest(M);else K=D$.tuple(Z);if(typeof I.minItems==="number")K=K.check(D$.minLength(I.minItems));if(typeof I.maxItems==="number")K=K.check(D$.maxLength(I.maxItems))}else if(O!==void 0){let Z=_6(O,J),M=D$.array(Z);if(typeof I.minItems==="number")M=M.min(I.minItems);if(typeof I.maxItems==="number")M=M.max(I.maxItems);K=M}else K=D$.array(D$.any());break}default:throw Error(`Unsupported type: ${Y}`)}return K}function _6(I,J){if(typeof I==="boolean")return I?D$.any():D$.never();let Y=_B(I,J),K=I.type||I.enum!==void 0||I.const!==void 0;if(I.anyOf&&Array.isArray(I.anyOf)){let M=I.anyOf.map((q)=>_6(q,J)),j=D$.union(M);Y=K?D$.intersection(Y,j):j}if(I.oneOf&&Array.isArray(I.oneOf)){let M=I.oneOf.map((q)=>_6(q,J)),j=D$.xor(M);Y=K?D$.intersection(Y,j):j}if(I.allOf&&Array.isArray(I.allOf))if(I.allOf.length===0)Y=K?Y:D$.any();else{let M=K?Y:_6(I.allOf[0],J),j=K?0:1;for(let q=j;q<I.allOf.length;q++)M=D$.intersection(M,_6(I.allOf[q],J));Y=M}if(I.nullable===!0&&J.version==="openapi-3.0")Y=D$.nullable(Y);if(I.readOnly===!0)Y=D$.readonly(Y);if(I.default!==void 0)Y=Y.default(I.default);let X={},O=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let M of O)if(M in I)X[M]=I[M];let Z=["contentEncoding","contentMediaType","contentSchema"];for(let M of Z)if(M in I)X[M]=I[M];for(let M of Object.keys(I))if(!wc.has(M))X[M]=I[M];if(Object.keys(X).length>0)J.registry.add(Y,X);if(I.description)Y=Y.describe(I.description);return Y}function qB(I,J){if(typeof I==="boolean")return I?D$.any():D$.never();let Y;try{Y=JSON.parse(JSON.stringify(I))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let K=fc(Y,J?.defaultTarget),X=Y.$defs||Y.definitions||{},O={version:K,defs:X,refs:new Map,processing:new Set,rootSchema:Y,registry:J?.registry??C6};return _6(Y,O)}var S7={};g6(S7,{string:()=>uc,number:()=>bc,date:()=>pc,boolean:()=>cc,bigint:()=>hc});function uc(I){return r5(GY,I)}function bc(I){return XM(zY,I)}function cc(I){return OM(OY,I)}function hc(I){return WM(KY,I)}function pc(I){return RM(u2,I)}tU(_2());var EB=q$.object({id:q$.string().min(1).optional(),name:q$.string().min(1).optional(),kind:q$.enum(["human","agent","bot","system"])}),SB=q$.object({type:q$.string().min(1),id:q$.string().min(1)}),jB=q$.object({provider:q$.string().min(1),id:q$.string().min(1).optional(),url:q$.string().min(1).optional(),cursor:q$.string().min(1).optional(),rawRef:q$.string().min(1).optional()}),j7=q$.object({id:q$.string().min(1),service:q$.string().min(1),type:q$.string().min(1),schemaVersion:q$.number().int().positive(),idempotencyKey:q$.string().min(1),occurredAt:q$.string().min(1),observedAt:q$.string().min(1),origin:q$.enum(["virtual","external","agent","connector","replay","migration"]),actor:EB.optional(),subject:SB,causationId:q$.string().min(1).optional(),correlationId:q$.string().min(1).optional(),external:jB.optional(),data:q$.record(q$.string(),q$.unknown()),raw:q$.record(q$.string(),q$.unknown()).optional()}),BB=q$.object({version:q$.literal(1),service:q$.string().min(1),rebuiltAt:q$.string().min(1),eventCount:q$.number().int().nonnegative(),latestEventId:q$.string().min(1).optional(),subjects:q$.record(q$.string(),q$.object({type:q$.string().min(1),id:q$.string().min(1),latestEventId:q$.string().min(1),latestType:q$.string().min(1),updatedAt:q$.string().min(1)}))});function NB(I){return t4(I||process.env.PROJECT_ROOT||process.cwd())}function qO(){let I=process.env.VOLTER_STATE_DIR||".volter";if(xQ(I)||I.split(/[\\/]/).includes(".."))throw Error("VOLTER_STATE_DIR must be a relative directory without .. segments");return I}function Q8(I){return t$(NB(I),qO(),"world")}function dc(I){if(!/^[A-Za-z0-9_-]+$/.test(I))throw Error(`Invalid world service name: ${I}`);return I}var vB;function kB(I){vB=I}function L4(I,J){let Y=dc(I);vB?.(Y,J);let K=NB(J),X=t$(Q8(J),Y);return{root:K,service:Y,dir:X,events:t$(X,"events.jsonl"),state:t$(X,"state.json"),resources:t$(X,"resources"),cursors:t$(X,"cursors"),ingests:t$(X,"ingests"),eventQueue:t$(X,"event-queue.jsonl")}}var nc={windowMs:60000,ceiling:60,defaultWeight:2,maxRetryAfterSeconds:300,rules:[],reason:"no pack declared a budget for this vendor — this is the conservative fallback (30 calls/min at "+"the default weight), not a considered limit. Declare one on the pack with the vendor's real limits."};var xB="2.0",ac=Number(xB.split(".")[0]);uU();var{AsyncLocalStorage:ur}=(()=>({}));var{AsyncLocalStorage:Rh}=(()=>({}));var Zh;function wB(I){Zh=I}var v7="/__volter/world-boot";var{chmodSync:It,existsSync:Xt,mkdirSync:Jt,readFileSync:Qt,writeFileSync:Yt}=(()=>({}));uU();var _h=1e6,qh=/(?:^|[-_.])(?:auth|authorization|token|jwt|key|apikey|secret|credential|credentials|signature|sig|password|passwd|pwd|session|sessionid|cookie|access[-_]?token|refresh[-_]?token)(?:[-_.]|$)/i,Eh=/^(Bearer|Basic|Digest|Token|Negotiate|NTLM|OAuth|Signature|Hawk|AWS4-HMAC-SHA256|SharedKey|SharedKeyLite|GoogleLogin)\s+(\S[\s\S]*)$/i;function uB(I){return`sha256:${F4("sha256").update(I,"utf8").digest("hex").slice(0,16)}`}function Sh(I,J,Y){let K=Eh.exec(J);if(!K&&!qh.test(I))return;let X=I.toLowerCase();if(J==="")return{name:X,in:Y,empty:!0};if(K)return{name:X,in:Y,scheme:K[1],fp:uB(K[2])};return{name:X,in:Y,fp:uB(J)}}function mB(I,J){let Y=[],K=new Set,X=(O,Z,M)=>{let j=Sh(O,Z,M);if(!j)return;let q=`${j.in}:${j.name}`;if(K.has(q))return;K.add(q),Y.push(j)};try{if(typeof I.forEach==="function")I.forEach((O,Z)=>X(Z,O,"header"));else for(let[O,Z]of Object.entries(I))X(O,String(Z),"header")}catch{}try{if(J!==void 0){let O=typeof J==="string"?new URL(J,"http://twin.invalid").search:J.search;for(let[Z,M]of new URLSearchParams(O))X(Z,M,"query")}}catch{}return Y.sort((O,Z)=>O.in===Z.in?O.name.localeCompare(Z.name):O.in.localeCompare(Z.in))}function g7(I=process.env){return I.VOLTER_TWIN_REQUEST_JOURNAL==="1"}function lB(I,J){return t$(rU(L4(I,J).events),"requests.jsonl")}function dB(I,J,Y){if(!g7())return;try{let K=y6(),X=lB(I,Y);if(K.mkdir(rU(X)),(K.stat(X)?.size??0)>=_h)K.writeAtomic(`${X}.1`,K.read(X)??""),K.write(X,"");let Z=JSON.stringify({at:J.at??new Date().toISOString(),method:J.method.toUpperCase(),path:J.path.split("?")[0],status:J.status,...typeof J.ms==="number"?{ms:J.ms}:{},...J.credentials?.length?{credentials:J.credentials}:{}});K.append(X,`${Z}
|
|
321
|
+
`)}catch{}}var nB=Symbol.for("volter.twin.requestJournal.identity"),bB=Symbol.for("volter.twin.requestJournal.installed"),k7;function jh(){return k7??=new Rh,k7}function Bh(){kB((I,J)=>{let Y=k7?.getStore();if(!Y||Y.identity!==void 0)return;Y.identity=J===void 0?{service:I}:{service:I,root:J}})}function Nh(I=process.argv){let J=I.indexOf("--root"),Y=J>=0?I[J+1]:void 0;return Y&&!Y.startsWith("--")?Y:void 0}var vh=new Set(["world-runtime","world-tooling","world-attach","world-browser-assets","world-host"]);function cB(I){if(!I)return;let J=/(?:packages[\\/]twin[\\/]|@volter[\\/]twin-)([A-Za-z0-9_-]+)/g;for(let Y of I.matchAll(J)){let K=Y[1];if(!vh.has(K))return K}return}function kh(){if(typeof window<"u"||typeof document<"u")return!1;let I=globalThis.Bun,J=I&&typeof I.serve==="function"?I.serve:void 0;if(J&&J[bB])return!0;if(Bh(),wB((K)=>hB(K,cB(Error().stack))),!J)return!1;let Y=function(X,...O){let Z=X;if(!Z||typeof Z.fetch!=="function")return J.apply(this,[X,...O]);let M=Z[nB]?void 0:cB(Error().stack);return J.apply(this,[{...Z,fetch:hB(Z,M)},...O])};return Object.defineProperty(Y,bB,{value:!0}),I.serve=Y,!0}function hB(I,J){if(I.twinRequestJournal===!1)return I.fetch;{let K=I[nB],X=I.fetch;return async function(Z,M){if(!g7()||new URL(Z.url).pathname===v7)return X.call(this,Z,M);let j={},q=500,E=Date.now();try{let C=await jh().run(j,()=>X.call(this,Z,M));if(C instanceof Response)q=C.status;else if(C===void 0)return C;return C}finally{K??=j.identity;let C=K??xh(J);if(C){let _=new URL(Z.url);dB(C.service,{method:Z.method,path:_.pathname,status:q,ms:Date.now()-E,credentials:mB(Z.headers,_)},C.root)}}}}}function xh(I){let J=process.env.VOLTER_TWIN_JOURNAL_SERVICE||I;if(!J||!/^[A-Za-z0-9_-]+$/.test(J))return;let Y=Nh();return Y===void 0?{service:J}:{service:J,root:Y}}kh();uU();var pt=Symbol("absent");uU();var{closeSync:ih,existsSync:o2,mkdirSync:rh,openSync:th,readdirSync:ah,readFileSync:sh,readSync:eh,renameSync:$p,rmSync:JN,statSync:u7,writeFileSync:Up}=(()=>({}));uU();var{closeSync:f7,constants:MJ,fstatSync:sB,ftruncateSync:hh,linkSync:ph,lstatSync:w7,mkdirSync:mh,openSync:y7,readFileSync:lh,readSync:rB,rmSync:dh,writeFileSync:nh}=(()=>({}));var eB=131072,$N=32,UN=4;function IN(I){return I.isFile()&&I.nlink===1&&(!process.getuid||I.uid===process.getuid())&&(I.mode&63)===0}function tB(I){try{let J=w7(I);return J.isDirectory()&&(J.mode&63)===0&&(!process.getuid||J.uid===process.getuid())}catch{return!1}}function aB(I){let J;try{J=y7(I,MJ.O_RDONLY|MJ.O_NONBLOCK|(MJ.O_NOFOLLOW??0));let Y=sB(J);if(!IN(Y)||Y.size>eB)return{};let K=JSON.parse(lh(J,"utf8"));if(!K||typeof K!=="object"||Array.isArray(K))return{};let X={};for(let[O,Z]of Object.entries(K).slice(-$N)){if(!/^\d+:[a-f0-9]{64}$/.test(O)||!Array.isArray(Z))continue;X[O]=Z.filter((M)=>typeof M==="string"&&M.length<=4096&&xQ(M)).slice(0,UN)}return X}catch{return{}}finally{if(J!==void 0)f7(J)}}function oh(I,J){let Y=y7(I,"r");try{let K=F4("sha256"),X=Buffer.allocUnsafe(65536),O=J;while(O>0){let Z=rB(Y,X,0,Math.min(X.length,O),null);if(!Z)return null;K.update(X.subarray(0,Z)),O-=Z}if(rB(Y,X,0,1,null))return null;return K.digest("hex")}finally{f7(Y)}}function XN(I,J,Y){let K=t$(I,`${Y.slice(0,2)}.json`),X=`${J}:${Y}`;return{reuse(O,Z){if(!tB(I))return!1;for(let M of aB(K)[X]??[]){try{let j=w7(M);if(!j.isFile()||j.dev!==J||j.size!==Z||process.getuid&&j.uid!==process.getuid())continue;ph(M,O);let q=w7(O);if(q.isFile()&&q.dev===J&&q.size===Z&&(!process.getuid||q.uid===process.getuid())&&oh(O,Z)===Y)return!0}catch{}dh(O,{force:!0})}return!1},record(O){try{let Z=t4(O);if(Z.length>4096)return;let M=aB(K),j=[Z,...(M[X]??[]).filter((C)=>C!==Z)].slice(0,UN);delete M[X],M[X]=j;let q=JSON.stringify(M);while(Object.keys(M).length>$N||Buffer.byteLength(q)>eB)delete M[Object.keys(M)[0]],q=JSON.stringify(M);if(mh(I,{recursive:!0,mode:448}),!tB(I))return;let E=y7(K,MJ.O_WRONLY|MJ.O_CREAT|MJ.O_NONBLOCK|(MJ.O_NOFOLLOW??0),384);try{if(!IN(sB(E)))return;hh(E,0),nh(E,q)}finally{f7(E)}}catch{}}}}class b7{options;constructor(I={}){this.options=I}async get(I){if(!o2(I))return null;return new Uint8Array(sh(I))}async put(I,J){rh(rU(I),{recursive:!0});let Y=`${I}.tmp.${kQ()}`,K;try{if(this.options.sharedIndexRoot!==!1)try{K=XN(this.options.sharedIndexRoot??t$(Q2(),"blob-index-v1"),u7(rU(I)).dev,QN(J))}catch{}if(!K?.reuse(Y,J.byteLength))Up(Y,J,{flag:"wx"});$p(Y,I),K?.record(I)}finally{JN(Y,{force:!0})}}async exists(I){return o2(I)}async remove(I){JN(I,{force:!0,recursive:I.endsWith("/")})}async list(I){let J=[],Y=(K)=>{if(!o2(K))return;for(let X of ah(K,{withFileTypes:!0})){let O=t$(K,X.name);if(X.isDirectory())Y(O);else if(!X.name.includes(".tmp."))J.push(O)}};return Y(I.replace(/\/$/,"")),J.sort()}async size(I){if(!o2(I))return null;return u7(I).size}async getRange(I,J,Y){if(!o2(I))return null;let K=u7(I).size,X=Math.max(0,J),O=Math.min(Y,K-1);if(O<X)return new Uint8Array(0);let Z=new Uint8Array(O-X+1),M=th(I,"r"),j=0;try{while(j<Z.length){let q=eh(M,Z,j,Z.length-j,X+j);if(q===0)break;j+=q}}finally{ih(M)}return j===Z.length?Z:Z.subarray(0,j)}}function QN(I){return F4("sha256").update(I).digest("hex")}var Qa=new b7;n7();var Ga=new RegExp("^(?:(?: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])$"),Za=new RegExp("^(?:(?:(?:[0-9a-fA-F]{1,4}):){7}(?:(?:[0-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){6}(?:(?:(?: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-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){5}(?::(?:(?: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-9a-fA-F]{1,4})){1,2}|:)|(?:(?:[0-9a-fA-F]{1,4}):){4}(?:(?::(?:[0-9a-fA-F]{1,4})){0,1}:(?:(?: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-9a-fA-F]{1,4})){1,3}|:)|(?:(?:[0-9a-fA-F]{1,4}):){3}(?:(?::(?:[0-9a-fA-F]{1,4})){0,2}:(?:(?: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-9a-fA-F]{1,4})){1,4}|:)|(?:(?:[0-9a-fA-F]{1,4}):){2}(?:(?::(?:[0-9a-fA-F]{1,4})){0,3}:(?:(?: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-9a-fA-F]{1,4})){1,5}|:)|(?:(?:[0-9a-fA-F]{1,4}):){1}(?:(?::(?:[0-9a-fA-F]{1,4})){0,4}:(?:(?: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-9a-fA-F]{1,4})){1,6}|:)|(?::(?:(?::(?:[0-9a-fA-F]{1,4})){0,5}:(?:(?: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-9a-fA-F]{1,4})){1,7}|:)))(?:%[0-9a-zA-Z-.:]{1,})?$");uU();var{existsSync:ua,readFileSync:ba,statSync:ca}=(()=>({}));class pp{buf=new Uint8Array(65536);len=0;push(I){if(this.len===this.buf.length){let J=new Uint8Array(this.buf.length*2);J.set(this.buf),this.buf=J}this.buf[this.len++]=I}copy(I,J){if(I>this.len)throw Error("inflate: distance too far back");for(let Y=0;Y<J;Y++)this.push(this.buf[this.len-I])}bytes(){return this.buf.slice(0,this.len)}}var Ys="0".repeat(40),Gs=new Uint8Array([48,48,48,48]);var{AsyncLocalStorage:Cs}=(()=>({}));var{AsyncLocalStorage:Es}=(()=>({}));var{existsSync:Bs,readFileSync:Ns,statSync:vs}=(()=>({}));var{existsSync:gs,readFileSync:ws}=(()=>({}));var{existsSync:us}=(()=>({}));var NN="twin-org",vN="twin-project";var Im=w4(cN(),1);function hN(I){let J=String(I??"").toLowerCase();if(J==="fatal"||J==="error"||J==="warning"||J==="info"||J==="debug")return J;return"muted"}function pN(I){let J=String(I??"").toLowerCase();if(J==="resolved")return"resolved";if(J==="ignored"||J==="muted")return"ignored";if(J==="unresolved")return"unresolved";return"muted"}function o7(I){let J=Number(I);if(!Number.isFinite(J))return"0";if(J>=1e6)return`${(J/1e6).toFixed(1).replace(/\.0$/,"")}M`;if(J>=1000)return`${(J/1000).toFixed(1).replace(/\.0$/,"")}k`;return String(Math.trunc(J))}function i2(I,J=Date.now()){if(typeof I!=="string"||!I)return"—";let Y=Date.parse(I);if(Number.isNaN(Y))return"—";let K=Math.max(0,Math.floor((J-Y)/1000));if(K<60)return`${K}s ago`;if(K<3600)return`${Math.floor(K/60)}m ago`;if(K<86400)return`${Math.floor(K/3600)}h ago`;return`${Math.floor(K/86400)}d ago`}function mN(I){if(!I||typeof I!=="object")return[];let J=I.entries;if(!Array.isArray(J))return[];let Y=J.find((Z)=>Z&&typeof Z==="object"&&Z.type==="exception"),K=Y&&Y.data?.values;if(!Array.isArray(K))return[];let O=K[K.length-1]?.stacktrace?.frames;return Array.isArray(O)?O:[]}function lN(I){if(!I||typeof I!=="object")return[];let J=I.tags;if(!Array.isArray(J))return[];return J.filter((Y)=>Y&&typeof Y==="object").map((Y)=>({key:String(Y.key),value:String(Y.value)}))}var s4=NN,CJ=vN;var f0=w4(i7(),1),Jm=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,""),Qm=[{key:"issues",label:"Issues"},{key:"dashboards",label:"Dashboards"},{key:"discover",label:"Discover"},{key:"releases",label:"Releases"},{key:"projects",label:"Projects"},{key:"alerts",label:"Alerts"},{key:"settings",label:"Settings"}];async function f1(I){let J=await fetch(`${Jm}/api/0${I}`);try{return await J.json()}catch{return null}}function Ym({level:I}){return f0.jsxDEV("span",{className:`pill level-${hN(I)}`,children:String(I??"").toUpperCase()||"—"},void 0,!1,void 0,this)}function nN({status:I}){return f0.jsxDEV("span",{className:`pill status-${pN(I)}`,children:String(I??"").replace(/_/g," ")||"—"},void 0,!1,void 0,this)}function Gm({issue:I,selected:J,onSelect:Y}){return f0.jsxDEV("button",{className:`issue-row ${J?"selected":""}`,onClick:Y,children:[f0.jsxDEV("div",{className:"issue-main",children:[f0.jsxDEV("div",{className:"issue-title",children:I.title},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"issue-culprit mono",children:I.culprit||I.shortId},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"issue-meta",children:[f0.jsxDEV(Ym,{level:I.level},void 0,!1,void 0,this),f0.jsxDEV(nN,{status:I.status},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"issue-count",title:"event count",children:[o7(I.count)," events"]},void 0,!0,void 0,this),f0.jsxDEV("span",{className:"issue-lastseen",children:i2(I.lastSeen)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Zm({frames:I}){if(I.length===0)return f0.jsxDEV("div",{className:"empty",children:"No stacktrace"},void 0,!1,void 0,this);return f0.jsxDEV("div",{className:"stacktrace",children:I.map((J,Y)=>f0.jsxDEV("div",{className:"frame mono",children:[f0.jsxDEV("span",{className:"frame-fn",children:J.function??"?"},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"frame-file",children:[J.filename??J.module??"",J.lineno?`:${J.lineno}`:""]},void 0,!0,void 0,this)]},Y,!0,void 0,this))},void 0,!1,void 0,this)}function zm({issue:I}){let[J,Y]=KU.useState(null);KU.useEffect(()=>{let O=!0;return f1(`/issues/${I.id}/events/latest/`).then((Z)=>{if(O)Y(Z)}),()=>{O=!1}},[I.id]);let K=KU.useMemo(()=>mN(J),[J]),X=KU.useMemo(()=>lN(J),[J]);return f0.jsxDEV("div",{className:"issue-detail",children:[f0.jsxDEV("h2",{className:"detail-title",children:I.title},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"detail-sub mono",children:I.culprit},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"detail-stats",children:[f0.jsxDEV("div",{children:[f0.jsxDEV("span",{className:"stat-label",children:"Events"},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"stat-value",children:o7(I.count)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{children:[f0.jsxDEV("span",{className:"stat-label",children:"First seen"},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"stat-value",children:i2(I.firstSeen)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{children:[f0.jsxDEV("span",{className:"stat-label",children:"Last seen"},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"stat-value",children:i2(I.lastSeen)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{children:[f0.jsxDEV("span",{className:"stat-label",children:"Status"},void 0,!1,void 0,this),f0.jsxDEV(nN,{status:I.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("h3",{children:"Latest Event Stacktrace"},void 0,!1,void 0,this),f0.jsxDEV(Zm,{frames:K},void 0,!1,void 0,this),f0.jsxDEV("h3",{children:"Tags"},void 0,!1,void 0,this),X.length===0?f0.jsxDEV("div",{className:"empty",children:"No tags"},void 0,!1,void 0,this):f0.jsxDEV("div",{className:"tags",children:X.map((O)=>f0.jsxDEV("span",{className:"tag mono",children:[O.key,": ",O.value]},O.key,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Om(){let[I,J]=KU.useState([]),[Y,K]=KU.useState(null),[X,O]=KU.useState("is:unresolved");KU.useEffect(()=>{f1(`/projects/${s4}/${CJ}/issues/?query=${encodeURIComponent(X)}`).then((M)=>J(Array.isArray(M)?M:[]))},[X]);let Z=I.find((M)=>M.id===Y)??I[0];return f0.jsxDEV("div",{className:"split",children:[f0.jsxDEV("div",{className:"list",children:[f0.jsxDEV("div",{className:"search-bar",children:f0.jsxDEV("input",{className:"search-input",value:X,onChange:(M)=>O(M.target.value),placeholder:"is:unresolved level:error ..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.length===0?f0.jsxDEV("div",{className:"empty",children:"No issues"},void 0,!1,void 0,this):I.map((M)=>f0.jsxDEV(Gm,{issue:M,selected:Z?.id===M.id,onSelect:()=>K(M.id)},M.id,!1,void 0,this))]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"detail",children:Z?f0.jsxDEV(zm,{issue:Z},void 0,!1,void 0,this):f0.jsxDEV("div",{className:"empty",children:"Select an issue"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Km({releases:I}){return f0.jsxDEV("div",{className:"list full",children:[f0.jsxDEV("h2",{className:"screen-title",children:"Releases"},void 0,!1,void 0,this),I.length===0?f0.jsxDEV("div",{className:"empty",children:"No releases"},void 0,!1,void 0,this):I.map((J)=>f0.jsxDEV("div",{className:"release-row",children:[f0.jsxDEV("span",{className:"release-version mono",children:J.version},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"release-commits",children:[J.commitCount??0," commits"]},void 0,!0,void 0,this),f0.jsxDEV("span",{className:"release-date",children:i2(J.dateCreated)},void 0,!1,void 0,this)]},J.id,!0,void 0,this))]},void 0,!0,void 0,this)}function Wm(){let[I,J]=KU.useState([]);return KU.useEffect(()=>{f1(`/organizations/${s4}/releases/`).then((Y)=>J(Array.isArray(Y)?Y:[]))},[]),f0.jsxDEV(Km,{releases:I},void 0,!1,void 0,this)}function Vm({projects:I}){return f0.jsxDEV("div",{className:"list full",children:[f0.jsxDEV("h2",{className:"screen-title",children:"Projects"},void 0,!1,void 0,this),I.length===0?f0.jsxDEV("div",{className:"empty",children:"No projects"},void 0,!1,void 0,this):I.map((J)=>f0.jsxDEV("div",{className:"project-row",children:[f0.jsxDEV("span",{className:"project-name",children:J.name},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"project-slug mono",children:J.slug},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"project-platform",children:J.platform??"—"},void 0,!1,void 0,this)]},J.id,!0,void 0,this))]},void 0,!0,void 0,this)}function Dm(){let[I,J]=KU.useState([]);return KU.useEffect(()=>{f1("/projects/").then((Y)=>J(Array.isArray(Y)?Y:[]))},[]),f0.jsxDEV(Vm,{projects:I},void 0,!1,void 0,this)}function Hm(){let[I,J]=KU.useState([]);return KU.useEffect(()=>{f1(`/projects/${s4}/${CJ}/rules/`).then((Y)=>J(Array.isArray(Y)?Y:[]))},[]),f0.jsxDEV("div",{className:"list full alerts-screen",children:[f0.jsxDEV("h2",{className:"screen-title",children:"Alerts"},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"alerts-sub",children:["Issue alert rules for ",CJ]},void 0,!0,void 0,this),I.length===0?f0.jsxDEV("div",{className:"empty",children:"No alert rules"},void 0,!1,void 0,this):I.map((Y)=>f0.jsxDEV("div",{className:"alert-rule-row",children:[f0.jsxDEV("span",{className:"alert-rule-name",children:Y.name},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"alert-rule-triggers",children:(Array.isArray(Y.triggers)?Y.triggers:[]).map((K)=>f0.jsxDEV("span",{className:"alert-trigger pill",children:K},K,!1,void 0,this))},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"alert-rule-endpoints mono",children:[(Array.isArray(Y.endpoints)?Y.endpoints:[]).length," endpoint(s)"]},void 0,!0,void 0,this)]},Y.id,!0,void 0,this))]},void 0,!0,void 0,this)}function Fm(){let[I,J]=KU.useState(null),[Y,K]=KU.useState([]),[X,O]=KU.useState([]);return KU.useEffect(()=>{f1(`/projects/${s4}/${CJ}/`).then(J),f1(`/projects/${s4}/${CJ}/keys/`).then((Z)=>K(Array.isArray(Z)?Z:[])),f1(`/projects/${s4}/${CJ}/environments/`).then((Z)=>O(Array.isArray(Z)?Z:[]))},[]),f0.jsxDEV("div",{className:"list full settings-screen",children:[f0.jsxDEV("h2",{className:"screen-title",children:"Settings"},void 0,!1,void 0,this),f0.jsxDEV("section",{className:"settings-section",children:[f0.jsxDEV("h3",{children:"General"},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"setting-field",children:[f0.jsxDEV("span",{className:"setting-label",children:"Name"},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"setting-value",children:I?.name??"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"setting-field",children:[f0.jsxDEV("span",{className:"setting-label",children:"Slug"},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"setting-value mono",children:I?.slug??"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"setting-field",children:[f0.jsxDEV("span",{className:"setting-label",children:"Platform"},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"setting-value",children:I?.platform??"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("section",{className:"settings-section",children:[f0.jsxDEV("h3",{children:"Client Keys (DSN)"},void 0,!1,void 0,this),Y.length===0?f0.jsxDEV("div",{className:"empty",children:"No keys"},void 0,!1,void 0,this):Y.map((Z)=>f0.jsxDEV("div",{className:"dsn-row",children:[f0.jsxDEV("span",{className:"dsn-name",children:Z.name},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"dsn-public mono",children:Z.dsn?.public},void 0,!1,void 0,this),f0.jsxDEV("span",{className:`pill ${Z.isActive===!1?"status-ignored":"status-resolved"}`,children:Z.isActive===!1?"revoked":"active"},void 0,!1,void 0,this)]},Z.id,!0,void 0,this))]},void 0,!0,void 0,this),f0.jsxDEV("section",{className:"settings-section",children:[f0.jsxDEV("h3",{children:"Environments"},void 0,!1,void 0,this),X.length===0?f0.jsxDEV("div",{className:"empty",children:"No environments"},void 0,!1,void 0,this):f0.jsxDEV("div",{className:"env-list",children:X.map((Z)=>f0.jsxDEV("span",{className:"env-item pill",children:Z.name},Z.id,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Mm({dashboards:I}){return f0.jsxDEV("div",{className:"list full dashboards-screen",children:[f0.jsxDEV("h2",{className:"screen-title",children:"Dashboards"},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"dashboards-sub",children:["Custom dashboards & widgets for ",s4]},void 0,!0,void 0,this),I.length===0?f0.jsxDEV("div",{className:"empty",children:"No dashboards"},void 0,!1,void 0,this):I.map((J)=>f0.jsxDEV("div",{className:"dashboard-row",children:[f0.jsxDEV("span",{className:"dashboard-title",children:J.title},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"dashboard-widgets",children:[(Array.isArray(J.widgets)?J.widgets:[]).map((Y,K)=>f0.jsxDEV("div",{className:"widget-card",children:[f0.jsxDEV("span",{className:"widget-title",children:Y.title},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"widget-type pill",children:Y.displayType},void 0,!1,void 0,this)]},K,!0,void 0,this)),(!Array.isArray(J.widgets)||J.widgets.length===0)&&f0.jsxDEV("span",{className:"empty",children:"No widgets"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},J.id,!0,void 0,this))]},void 0,!0,void 0,this)}function Lm(){let[I,J]=KU.useState([]);return KU.useEffect(()=>{f1(`/organizations/${s4}/dashboards/`).then((Y)=>J(Array.isArray(Y)?Y:[]))},[]),f0.jsxDEV(Mm,{dashboards:I},void 0,!1,void 0,this)}function Am({saved:I,fields:J="title, count(), last_seen()",query:Y="event.type:error",onFields:K,onQuery:X}){let O=J.split(",").map((Z)=>Z.trim()).filter(Boolean);return f0.jsxDEV("div",{className:"list full discover-screen",children:[f0.jsxDEV("h2",{className:"screen-title",children:"Discover"},void 0,!1,void 0,this),f0.jsxDEV("div",{className:"discover-builder",children:[f0.jsxDEV("div",{className:"discover-field",children:[f0.jsxDEV("label",{className:"discover-label",children:"Columns"},void 0,!1,void 0,this),f0.jsxDEV("input",{className:"discover-columns",value:J,onChange:K?(Z)=>K(Z.target.value):void 0,placeholder:"title, count(), last_seen()",readOnly:!K},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"discover-field",children:[f0.jsxDEV("label",{className:"discover-label",children:"Query"},void 0,!1,void 0,this),f0.jsxDEV("input",{className:"discover-query",value:Y,onChange:X?(Z)=>X(Z.target.value):void 0,placeholder:"event.type:error",readOnly:!X},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"discover-columns-preview",children:O.map((Z)=>f0.jsxDEV("span",{className:"discover-column-chip mono",children:Z},Z,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"discover-results-note empty",children:"Live query execution requires the data-plane query engine (not built yet) — the query builder config is faithful and saved queries persist."},void 0,!1,void 0,this),f0.jsxDEV("h3",{children:"Saved Queries"},void 0,!1,void 0,this),I.length===0?f0.jsxDEV("div",{className:"empty",children:"No saved queries"},void 0,!1,void 0,this):I.map((Z)=>f0.jsxDEV("div",{className:"saved-query-row",children:[f0.jsxDEV("span",{className:"saved-query-name",children:Z.name},void 0,!1,void 0,this),f0.jsxDEV("span",{className:"saved-query-fields mono",children:(Array.isArray(Z.fields)?Z.fields:[]).join(", ")},void 0,!1,void 0,this)]},Z.id,!0,void 0,this))]},void 0,!0,void 0,this)}function Cm(){let[I,J]=KU.useState([]),[Y,K]=KU.useState("title, count(), last_seen()"),[X,O]=KU.useState("event.type:error");return KU.useEffect(()=>{f1(`/organizations/${s4}/discover/saved/`).then((Z)=>J(Array.isArray(Z)?Z:[]))},[]),f0.jsxDEV(Am,{saved:I,fields:Y,query:X,onFields:K,onQuery:O},void 0,!1,void 0,this)}function Tm(){let[I,J]=KU.useState("issues");return f0.jsxDEV("div",{className:"app",children:[f0.jsxDEV("header",{className:"topbar",children:[f0.jsxDEV("span",{className:"brand",children:["Sentry ",f0.jsxDEV("span",{className:"badge",children:"twin"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("span",{className:"org mono",children:s4},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f0.jsxDEV("div",{className:"body",children:[f0.jsxDEV("nav",{className:"sidenav",children:Qm.map((Y)=>f0.jsxDEV("button",{className:`nav-item ${I===Y.key?"active":""}`,onClick:()=>J(Y.key),children:Y.label},Y.key,!1,void 0,this))},void 0,!1,void 0,this),f0.jsxDEV("main",{className:"content",children:[I==="issues"&&f0.jsxDEV(Om,{},void 0,!1,void 0,this),I==="dashboards"&&f0.jsxDEV(Lm,{},void 0,!1,void 0,this),I==="discover"&&f0.jsxDEV(Cm,{},void 0,!1,void 0,this),I==="releases"&&f0.jsxDEV(Wm,{},void 0,!1,void 0,this),I==="projects"&&f0.jsxDEV(Dm,{},void 0,!1,void 0,this),I==="alerts"&&f0.jsxDEV(Hm,{},void 0,!1,void 0,this),I==="settings"&&f0.jsxDEV(Fm,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}if(typeof document<"u"){let I=document.getElementById("root");if(I)dN.createRoot(I).render(f0.jsxDEV(Tm,{},void 0,!1,void 0,this))}export{Km as ReleasesView,Vm as ProjectsView,Am as DiscoverView,Mm as DashboardsView};
|