@volter/twin-linkedin 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.
Files changed (39) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +39 -0
  3. package/dist/client/linkedin-mirror.bundle.js +323 -0
  4. package/dist/client/linkedin-mirror.d.ts +43 -0
  5. package/dist/client/linkedin-mirror.js +393 -0
  6. package/dist/src/cli.d.ts +2 -0
  7. package/dist/src/cli.js +30 -0
  8. package/dist/src/index.d.ts +10 -0
  9. package/dist/src/index.js +74 -0
  10. package/dist/src/linkedin-budget.d.ts +36 -0
  11. package/dist/src/linkedin-budget.js +87 -0
  12. package/dist/src/linkedin-capabilities.d.ts +4 -0
  13. package/dist/src/linkedin-capabilities.js +1027 -0
  14. package/dist/src/linkedin-conformance.d.ts +8 -0
  15. package/dist/src/linkedin-conformance.js +58 -0
  16. package/dist/src/linkedin-connector.d.ts +66 -0
  17. package/dist/src/linkedin-connector.js +326 -0
  18. package/dist/src/linkedin-errors.d.ts +21 -0
  19. package/dist/src/linkedin-errors.js +38 -0
  20. package/dist/src/linkedin-media.d.ts +125 -0
  21. package/dist/src/linkedin-media.js +331 -0
  22. package/dist/src/linkedin-mirror-ui.d.ts +59 -0
  23. package/dist/src/linkedin-mirror-ui.js +174 -0
  24. package/dist/src/linkedin-server.d.ts +10 -0
  25. package/dist/src/linkedin-server.js +154 -0
  26. package/dist/src/linkedin-twin.d.ts +23 -0
  27. package/dist/src/linkedin-twin.js +1220 -0
  28. package/package.json +58 -0
  29. package/src/cli.ts +28 -0
  30. package/src/index.ts +118 -0
  31. package/src/linkedin-budget.ts +108 -0
  32. package/src/linkedin-capabilities.ts +1057 -0
  33. package/src/linkedin-conformance.ts +73 -0
  34. package/src/linkedin-connector.ts +314 -0
  35. package/src/linkedin-errors.ts +58 -0
  36. package/src/linkedin-media.ts +363 -0
  37. package/src/linkedin-mirror-ui.ts +182 -0
  38. package/src/linkedin-server.ts +150 -0
  39. package/src/linkedin-twin.ts +1143 -0
@@ -0,0 +1,323 @@
1
+ var Ng=Object.create;var{getPrototypeOf:kg,defineProperty:dG,getOwnPropertyNames:S_,getOwnPropertyDescriptor:gg}=Object,j_=Object.prototype.hasOwnProperty;function B_(I){return this[I]}var xg,wg,r1=(I,J,Y)=>{var z=I!=null&&typeof I==="object";if(z){var X=J?xg??=new WeakMap:wg??=new WeakMap,W=X.get(I);if(W)return W}Y=I!=null?Ng(kg(I)):{};let Z=J||!I||!I.__esModule?dG(Y,"default",{value:I,enumerable:!0}):Y;for(let L of S_(I))if(!j_.call(Z,L))dG(Z,L,{get:B_.bind(I,L),enumerable:!0});if(z)X.set(I,Z);return Z},j$=(I)=>{var J=(E_??=new WeakMap).get(I),Y;if(J)return J;if(J=dG({},"__esModule",{value:!0}),I&&typeof I==="object"||typeof I==="function"){for(var z of S_(I))if(!j_.call(J,z))dG(J,z,{get:B_.bind(I,z),enumerable:!(Y=gg(I,z))||Y.enumerable})}return E_.set(I,J),J},E_,$X=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports);var fg=(I)=>I;function yg(I,J){this[I]=fg.bind(null,J)}var x6=(I,J)=>{for(var Y in J)dG(I,Y,{get:J[Y],enumerable:!0,configurable:!0,set:yg.bind(J,Y)})};var CQ=(I,J)=>()=>(I&&(J=I(I=0)),J);var ug=((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 v_=$X((bg)=>{(function(){function I(){if(p=!1,L0){var O=bg.unstable_now();T0=O;var D=!0;try{$:{g=!1,u&&(u=!1,a(_0),_0=-1),b=!0;var R=w;try{U:{W(O);for(f=Y(q);f!==null&&!(f.expirationTime>O&&L());){var S=f.callback;if(typeof S==="function"){f.callback=null,w=f.priorityLevel;var A=S(f.expirationTime<=O);if(O=bg.unstable_now(),typeof A==="function"){f.callback=A,W(O),D=!0;break U}f===Y(q)&&z(q),W(O)}else z(q);f=Y(q)}if(f!==null)D=!0;else{var K=Y(B);K!==null&&j(Z,K.startTime-O),D=!1}}break $}finally{f=null,w=R,b=!1}D=void 0}}finally{D?G():L0=!1}}}function J(O,D){var R=O.length;O.push(D);$:for(;0<R;){var S=R-1>>>1,A=O[S];if(0<X(A,D))O[S]=D,O[R]=A,R=S;else break $}}function Y(O){return O.length===0?null:O[0]}function z(O){if(O.length===0)return null;var D=O[0],R=O.pop();if(R!==D){O[0]=R;$:for(var S=0,A=O.length,K=A>>>1;S<K;){var T=2*(S+1)-1,x=O[T],v=T+1,c=O[v];if(0>X(x,R))v<A&&0>X(c,x)?(O[S]=c,O[v]=R,S=v):(O[S]=x,O[T]=R,S=T);else if(v<A&&0>X(c,R))O[S]=c,O[v]=R,S=v;else break $}}return D}function X(O,D){var R=O.sortIndex-D.sortIndex;return R!==0?R:O.id-D.id}function W(O){for(var D=Y(B);D!==null;){if(D.callback===null)z(B);else if(D.startTime<=O)z(B),D.sortIndex=D.expirationTime,J(q,D);else break;D=Y(B)}}function Z(O){if(u=!1,W(O),!g)if(Y(q)!==null)g=!0,L0||(L0=!0,G());else{var D=Y(B);D!==null&&j(Z,D.startTime-O)}}function L(){return p?!0:bg.unstable_now()-T0<t?!1:!0}function j(O,D){_0=d(function(){O(bg.unstable_now())},D)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),bg.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var _=performance;bg.unstable_now=function(){return _.now()}}else{var E=Date,C=E.now();bg.unstable_now=function(){return E.now()-C}}var q=[],B=[],N=1,f=null,w=3,b=!1,g=!1,u=!1,p=!1,d=typeof setTimeout==="function"?setTimeout:null,a=typeof clearTimeout==="function"?clearTimeout:null,D0=typeof setImmediate<"u"?setImmediate:null,L0=!1,_0=-1,t=5,T0=-1;if(typeof D0==="function")var G=function(){D0(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)};bg.unstable_IdlePriority=5,bg.unstable_ImmediatePriority=1,bg.unstable_LowPriority=4,bg.unstable_NormalPriority=3,bg.unstable_Profiling=null,bg.unstable_UserBlockingPriority=2,bg.unstable_cancelCallback=function(O){O.callback=null},bg.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):t=0<O?Math.floor(1000/O):5},bg.unstable_getCurrentPriorityLevel=function(){return w},bg.unstable_next=function(O){switch(w){case 1:case 2:case 3:var D=3;break;default:D=w}var R=w;w=D;try{return O()}finally{w=R}},bg.unstable_requestPaint=function(){p=!0},bg.unstable_runWithPriority=function(O,D){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var R=w;w=O;try{return D()}finally{w=R}},bg.unstable_scheduleCallback=function(O,D,R){var S=bg.unstable_now();switch(typeof R==="object"&&R!==null?(R=R.delay,R=typeof R==="number"&&0<R?S+R:S):R=S,O){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=R+A,O={id:N++,callback:D,priorityLevel:O,startTime:R,expirationTime:A,sortIndex:-1},R>S?(O.sortIndex=R,J(B,O),Y(q)===null&&O===Y(B)&&(u?(a(_0),_0=-1):u=!0,j(Z,R-S))):(O.sortIndex=A,J(q,O),g||b||(g=!0,L0||(L0=!0,G()))),O},bg.unstable_shouldYield=L,bg.unstable_wrapCallback=function(O){var D=w;return function(){var R=w;w=D;try{return O.apply(this,arguments)}finally{w=R}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var nG=$X((cg,XK)=>{(function(){function I(m,X0){Object.defineProperty(z.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 z(m,X0,e0){this.props=m,this.context=X0,this.refs=$0,this.updater=e0||Z0}function X(){}function W(m,X0,e0){this.props=m,this.context=X0,this.refs=$0,this.updater=e0||Z0}function Z(){}function L(m){return""+m}function j(m){try{L(m);var X0=!1}catch(v0){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),L(m)}}function _(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 K: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 v:return m.displayName||"Context";case x: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 W0:return X0=m.displayName||null,X0!==null?X0:_(m.type)||"Memo";case Q0:X0=m._payload,m=m._init;try{return _(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=_(m);return X0?"<"+X0+">":"<...>"}catch(e0){return"<...>"}}function C(){var m=Y0.A;return m===null?null:m.getOwner()}function q(){return Error("react-stack-top-frame")}function B(m){if(O0.call(m,"key")){var X0=Object.getOwnPropertyDescriptor(m,"key").get;if(X0&&X0.isReactWarning)return!1}return m.key!==void 0}function N(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 f(){var m=_(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,v0,F$){var x0=e0.ref;return m={$$typeof:R,type:m,key:X0,props:e0,_owner:S0},(x0!==void 0?x0:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:f}):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:v0}),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 g(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===R}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 D0(m,X0,e0,S0,v0){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 R:case S:x0=!0;break;case Q0:return x0=m._init,D0(x0(m._payload),X0,e0,S0,v0)}}if(x0){x0=m,v0=v0(x0);var y0=S0===""?"."+d(x0,0):S0;return n(v0)?(e0="",y0!=null&&(e0=y0.replace(m0,"$&/")+"/"),D0(v0,X0,e0,"",function(o0){return o0})):v0!=null&&(u(v0)&&(v0.key!=null&&(x0&&x0.key===v0.key||j(v0.key)),e0=b(v0,e0+(v0.key==null||x0&&x0.key===v0.key?"":(""+v0.key).replace(m0,"$&/")+"/")+y0),S0!==""&&x0!=null&&u(x0)&&x0.key==null&&x0._store&&!x0._store.validated&&(e0._store.validated=2),v0=e0),X0.push(v0)),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+=D0(S0,X0,e0,F$,v0);else if(V$=J(m),typeof V$==="function")for(V$===m.entries&&(M$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M$=!0),m=V$.call(m),V$=0;!(S0=m.next()).done;)S0=S0.value,F$=y0+d(S0,V$++),x0+=D0(S0,X0,e0,F$,v0);else if(F$==="object"){if(typeof m.then==="function")return D0(a(m),X0,e0,S0,v0);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 L0(m,X0,e0){if(m==null)return m;var S0=[],v0=0;return D0(m,S0,"","",function(F$){return X0.call(e0,F$,v0++)}),S0}function _0(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(v0){if(m._status===0||m._status===-1){m._status=1,m._result=v0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),e0.status===void 0&&(e0.status="fulfilled",e0.value=v0)}},function(v0){if(m._status===0||m._status===-1){m._status=2,m._result=v0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),e0.status===void 0&&(e0.status="rejected",e0.reason=v0)}}),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=(XK&&XK[X0]).call(XK,"timers").setImmediate}catch(e0){c0=function(S0){r$===!1&&(r$=!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 v0=new MessageChannel;v0.port1.onmessage=S0,v0.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 O(m,X0,e0){var S0=Y0.actQueue;if(S0!==null)if(S0.length!==0)try{D(S0),G(function(){return O(m,X0,e0)});return}catch(v0){Y0.thrownErrors.push(v0)}else Y0.actQueue=null;0<Y0.thrownErrors.length?(S0=V(Y0.thrownErrors),Y0.thrownErrors.length=0,e0(S0)):X0(m)}function D(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(v0){m.splice(0,X0+1),Y0.thrownErrors.push(v0)}finally{t0=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var R=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),v=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),U0=Symbol.for("react.suspense_list"),W0=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),z.prototype.isReactComponent={},z.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")},z.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(PU in h)h.hasOwnProperty(PU)&&I(PU,h[PU]);X.prototype=z.prototype,h=W.prototype=new X,h.constructor=W,A0(h,z.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},O0=Object.prototype.hasOwnProperty,N0=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(m){return m()}};var I0,z0,I$={},M0=h.react_stack_bottom_frame.bind(h,q)(),B0=N0(E(q)),M$=!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)},r$=!1,c0=null,h0=0,YU=!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 PU={map:L0,forEach:function(m,X0,e0){L0(m,function(){X0.apply(this,arguments)},e0)},count:function(m){var X0=0;return L0(m,function(){X0++}),X0},toArray:function(m){return L0(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}};cg.Activity=s,cg.Children=PU,cg.Component=z,cg.Fragment=A,cg.Profiler=T,cg.PureComponent=W,cg.StrictMode=K,cg.Suspense=r,cg.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y0,cg.__COMPILER_RUNTIME=h,cg.act=function(m){var X0=Y0.actQueue,e0=h0;h0++;var S0=Y0.actQueue=X0!==null?X0:[],v0=!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(){v0||YU||(YU=!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){v0=!0,x0.then(function(r0){if(F(X0,e0),e0===0){try{D(S0),G(function(){return O(r0,V$,o0)})}catch(s0){Y0.thrownErrors.push(s0)}if(0<Y0.thrownErrors.length){var OU=V(Y0.thrownErrors);Y0.thrownErrors.length=0,o0(OU)}}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&&(D(S0),S0.length!==0&&i0(function(){v0||YU||(YU=!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){v0=!0,e0===0?(Y0.actQueue=S0,G(function(){return O(y0,V$,o0)})):V$(y0)}}},cg.cache=function(m){return function(){return m.apply(null,arguments)}},cg.cacheSignal=function(){return null},cg.captureOwnerStack=function(){var m=Y0.getCurrentStack;return m===null?null:m()},cg.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),v0=m.key,F$=m._owner;if(X0!=null){var x0;$:{if(O0.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),v0=""+X0.key);for(y0 in X0)!O0.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,v0,S0,F$,m._debugStack,m._debugTask);for(v0=2;v0<arguments.length;v0++)g(arguments[v0]);return S0},cg.createContext=function(m){return m={$$typeof:v,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:x,_context:m},m._currentRenderer=null,m._currentRenderer2=null,m},cg.createElement=function(m,X0,e0){for(var S0=2;S0<arguments.length;S0++)g(arguments[S0]);S0={};var v0=null;if(X0!=null)for(V$ in z0||!("__self"in X0)||"key"in X0||(z0=!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),v0=""+X0.key),X0)O0.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$]);v0&&N(S0,typeof m==="function"?m.displayName||m.name||"Unknown":m);var V$=1e4>Y0.recentlyCreatedOwnerStacks++;return w(m,v0,S0,C(),V$?Error("react-stack-top-frame"):M0,V$?N0(E(m)):B0)},cg.createRef=function(){var m={current:null};return Object.seal(m),m},cg.forwardRef=function(m){m!=null&&m.$$typeof===W0?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},cg.isValidElement=u,cg.lazy=function(m){m={_status:-1,_result:m};var X0={$$typeof:Q0,_payload:m,_init:_0},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},cg.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:W0,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},cg.startTransition=function(m){var X0=Y0.T,e0={};e0._updatedFibers=new Set,Y0.T=e0;try{var S0=m(),v0=Y0.S;v0!==null&&v0(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}},cg.unstable_useCacheRefresh=function(){return t().useCacheRefresh()},cg.use=function(m){return t().use(m)},cg.useActionState=function(m,X0,e0){return t().useActionState(m,X0,e0)},cg.useCallback=function(m,X0){return t().useCallback(m,X0)},cg.useContext=function(m){var X0=t();return m.$$typeof===x&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),X0.useContext(m)},cg.useDebugValue=function(m,X0){return t().useDebugValue(m,X0)},cg.useDeferredValue=function(m,X0){return t().useDeferredValue(m,X0)},cg.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)},cg.useEffectEvent=function(m){return t().useEffectEvent(m)},cg.useId=function(){return t().useId()},cg.useImperativeHandle=function(m,X0,e0){return t().useImperativeHandle(m,X0,e0)},cg.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)},cg.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)},cg.useMemo=function(m,X0){return t().useMemo(m,X0)},cg.useOptimistic=function(m,X0){return t().useOptimistic(m,X0)},cg.useReducer=function(m,X0,e0){return t().useReducer(m,X0,e0)},cg.useRef=function(m){return t().useRef(m)},cg.useState=function(m){return t().useState(m)},cg.useSyncExternalStore=function(m,X0,e0){return t().useSyncExternalStore(m,X0,e0)},cg.useTransition=function(){return t().useTransition()},cg.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var N_=$X((hg)=>{var xV=r1(nG());(function(){function I(){}function J(E){return""+E}function Y(E,C,q){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(B);var N=!1}catch(f){N=!0}return N&&(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:q}}function z(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 W(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=_.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 L={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"),_=xV.__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"),hg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,hg.createPortal=function(E,C){var q=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,q)},hg.flushSync=function(E){var C=_.T,q=L.p;try{if(_.T=null,L.p=2,E)return E()}finally{_.T=C,L.p=q,L.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.")}},hg.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.",W(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,L.d.C(E,C))},hg.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`.",W(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`.",W(C))}typeof E==="string"&&L.d.D(E)},hg.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.",W(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".',W(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 q=C.as,B=z(q,C.crossOrigin),N=typeof C.integrity==="string"?C.integrity:void 0,f=typeof C.fetchPriority==="string"?C.fetchPriority:void 0;q==="style"?L.d.S(E,typeof C.precedence==="string"?C.precedence:void 0,{crossOrigin:B,integrity:N,fetchPriority:f}):q==="script"&&L.d.X(E,{crossOrigin:B,integrity:N,fetchPriority:f,nonce:typeof C.nonce==="string"?C.nonce:void 0})}},hg.preinitModule=function(E,C){var q="";if(typeof E==="string"&&E||(q+=" The `href` argument encountered was "+X(E)+"."),C!==void 0&&typeof C!=="object"?q+=" The `options` argument encountered was "+X(C)+".":C&&("as"in C)&&C.as!=="script"&&(q+=" The `as` option encountered was "+W(C.as)+"."),q)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",q);else switch(q=C&&typeof C.as==="string"?C.as:"script",q){case"script":break;default:q=W(q),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)',q,E)}if(typeof E==="string")if(typeof C==="object"&&C!==null){if(C.as==null||C.as==="script")q=z(C.as,C.crossOrigin),L.d.M(E,{crossOrigin:q,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0})}else C==null&&L.d.M(E)},hg.preload=function(E,C){var q="";if(typeof E==="string"&&E||(q+=" The `href` argument encountered was "+X(E)+"."),C==null||typeof C!=="object"?q+=" The `options` argument encountered was "+X(C)+".":typeof C.as==="string"&&C.as||(q+=" The `as` option encountered was "+X(C.as)+"."),q&&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',q),typeof E==="string"&&typeof C==="object"&&C!==null&&typeof C.as==="string"){q=C.as;var B=z(q,C.crossOrigin);L.d.L(E,q,{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})}},hg.preloadModule=function(E,C){var q="";typeof E==="string"&&E||(q+=" The `href` argument encountered was "+X(E)+"."),C!==void 0&&typeof C!=="object"?q+=" The `options` argument encountered was "+X(C)+".":C&&("as"in C)&&typeof C.as!=="string"&&(q+=" The `as` option encountered was "+X(C.as)+"."),q&&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',q),typeof E==="string"&&(C?(q=z(C.as,C.crossOrigin),L.d.m(E,{as:typeof C.as==="string"&&C.as!=="script"?C.as:void 0,crossOrigin:q,integrity:typeof C.integrity==="string"?C.integrity:void 0})):L.d.m(E))},hg.requestFormReset=function(E){L.d.r(E)},hg.unstable_batchedUpdates=function(E,C){return E(C)},hg.useFormState=function(E,C,q){return Z().useFormState(E,C,q)},hg.useFormStatus=function(){return Z().useHostTransitionStatus()},hg.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var g_=$X((Jd,k_)=>{var pg=r1(N_());k_.exports=pg});var x_=$X((mg)=>{var o$=r1(v_()),TQ=r1(nG()),wV=r1(g_());(function(){function I($,U){for($=$.memoizedState;$!==null&&0<U;)$=$.next,U--;return $}function J($,U,Q,H){if(Q>=U.length)return H;var M=U[Q],P=Y6($)?$.slice():y$({},$);return P[M]=J($[M],U,Q+1,H),P}function Y($,U,Q){if(U.length!==Q.length)console.warn("copyWithRename() expects paths of the same length");else{for(var H=0;H<Q.length-1;H++)if(U[H]!==Q[H]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return z($,U,Q,0)}}function z($,U,Q,H){var M=U[H],P=Y6($)?$.slice():y$({},$);return H+1===U.length?(P[Q[H]]=P[M],Y6(P)?P.splice(M,1):delete P[M]):P[M]=z($[M],U,Q,H+1),P}function X($,U,Q){var H=U[Q],M=Y6($)?$.slice():y$({},$);if(Q+1===U.length)return Y6(M)?M.splice(H,1):delete M[H],M;return M[H]=X($[H],U,Q+1),M}function W(){return!1}function Z(){return null}function L(){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 _(){}function E(){}function C($){var U=[];return $.forEach(function(Q){U.push(Q)}),U.sort().join(", ")}function q($,U,Q,H){return new CN($,U,Q,H)}function B($,U){$.context===gI&&($9($.current,2,U,$,null,null),NJ())}function N($,U){if(_1!==null){var Q=U.staleFamilies;U=U.updatedFamilies,cY(),kA($.current,U,Q),NJ()}}function f($){_1=$}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 g($){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=$,H=U;;){var M=Q.return;if(M===null)break;var P=M.alternate;if(P===null){if(H=M.return,H!==null){Q=H;continue}break}if(M.child===P.child){for(P=M.child;P;){if(P===Q)return p(M),$;if(P===H)return p(M),U;P=P.sibling}throw Error("Unable to find node on an unmounted component.")}if(Q.return!==H.return)Q=M,H=P;else{for(var k=!1,y=M.child;y;){if(y===Q){k=!0,Q=M,H=P;break}if(y===H){k=!0,H=M,Q=P;break}y=y.sibling}if(!k){for(y=P.child;y;){if(y===Q){k=!0,Q=P,H=M;break}if(y===H){k=!0,H=P,Q=M;break}y=y.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!==H)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 D0($){if($===null||typeof $!=="object")return null;return $=bR&&$[bR]||$["@@iterator"],typeof $==="function"?$:null}function L0($){if($==null)return null;if(typeof $==="function")return $.$$typeof===h3?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case uJ:return"Fragment";case Y9:return"Profiler";case aZ:return"StrictMode";case Z9: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 F4:return $.displayName||"Context";case G9:return($._context.displayName||"Context")+".Consumer";case tY:var U=$.render;return $=$.displayName,$||($=U.displayName||U.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case sZ:return U=$.displayName||null,U!==null?U:L0($.type)||"Memo";case Z1:U=$._payload,$=$._init;try{return L0($(U))}catch(Q){}}return null}function _0($){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 L0(U);case 8:return U===aZ?"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>l4?console.error("Unexpected pop."):(U!==O9[l4]&&console.error("Unexpected Fiber popped."),$.current=z9[l4],z9[l4]=null,O9[l4]=null,l4--)}function V($,U,Q){l4++,z9[l4]=$.current,O9[l4]=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 O($,U){V(SI,U,$),V(aY,$,$),V(EI,null,$);var Q=U.nodeType;switch(Q){case 9:case 11:Q=Q===9?"#document":"#fragment",U=(U=U.documentElement)?(U=U.namespaceURI)?KR(U):JI:JI;break;default:if(Q=U.tagName,U=U.namespaceURI)U=KR(U),U=WR(U,Q);else switch(Q){case"svg":U=MQ;break;case"math":U=t8;break;default:U=JI}}Q=Q.toLowerCase(),Q=XA(null,Q),Q={context:U,ancestorInfo:Q},G(EI,$),V(EI,Q,$)}function D($){G(EI,$),G(aY,$),G(SI,$)}function R(){return F(EI.current)}function S($){$.memoizedState!==null&&V(eZ,$,$);var U=F(EI.current),Q=$.type,H=WR(U.context,Q);Q=XA(U.ancestorInfo,Q),H={context:H,ancestorInfo:Q},U!==H&&(V(aY,$,$),V(EI,H,$))}function A($){aY.current===$&&(G(EI,$),G(aY,$)),eZ.current===$&&(G(eZ,$),pG._currentValue=eX)}function K(){}function T(){if(sY===0){cR=console.log,hR=console.info,pR=console.warn,mR=console.error,lR=console.group,dR=console.groupCollapsed,nR=console.groupEnd;var $={configurable:!0,enumerable:!0,value:K,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}sY++}function x(){if(sY--,sY===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y$({},$,{value:cR}),info:y$({},$,{value:hR}),warn:y$({},$,{value:pR}),error:y$({},$,{value:mR}),group:y$({},$,{value:lR}),groupCollapsed:y$({},$,{value:dR}),groupEnd:y$({},$,{value:nR})})}0>sY&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function v($){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(V9===void 0)try{throw Error()}catch(Q){var U=Q.stack.trim().match(/\n( *(at )?)/);V9=U&&U[1]||"",oR=-1<Q.stack.indexOf(`
21
+ at`)?" (<anonymous>)":-1<Q.stack.indexOf("@")?"@unknown:0:0":""}return`
22
+ `+V9+$+oR}function r($,U){if(!$||H9)return"";var Q=D9.get($);if(Q!==void 0)return Q;H9=!0,Q=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var H=null;H=u0.H,u0.H=null,T();try{var M={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(z$){var g0=z$}Reflect.construct($,[],V0)}else{try{V0.call()}catch(z$){g0=z$}$.call(V0.prototype)}}else{try{throw Error()}catch(z$){g0=z$}(V0=$())&&typeof V0.catch==="function"&&V0.catch(function(){})}}catch(z$){if(z$&&g0&&typeof z$.stack==="string")return[z$.stack,g0.stack]}return[null,null]}};M.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var P=Object.getOwnPropertyDescriptor(M.DetermineComponentFrameRoot,"name");P&&P.configurable&&Object.defineProperty(M.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var k=M.DetermineComponentFrameRoot(),y=k[0],l=k[1];if(y&&l){var o=y.split(`
23
+ `),R0=l.split(`
24
+ `);for(k=P=0;P<o.length&&!o[P].includes("DetermineComponentFrameRoot");)P++;for(;k<R0.length&&!R0[k].includes("DetermineComponentFrameRoot");)k++;if(P===o.length||k===R0.length)for(P=o.length-1,k=R0.length-1;1<=P&&0<=k&&o[P]!==R0[k];)k--;for(;1<=P&&0<=k;P--,k--)if(o[P]!==R0[k]){if(P!==1||k!==1)do if(P--,k--,0>k||o[P]!==R0[k]){var P0=`
25
+ `+o[P].replace(" at new "," at ");return $.displayName&&P0.includes("<anonymous>")&&(P0=P0.replace("<anonymous>",$.displayName)),typeof $==="function"&&D9.set($,P0),P0}while(1<=P&&0<=k);break}}}finally{H9=!1,u0.H=H,x(),Error.prepareStackTrace=Q}return o=(o=$?$.displayName||$.name:"")?c(o):"",typeof $==="function"&&D9.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 W0($){try{var U="",Q=null;do{U+=U0($,Q);var H=$._debugInfo;if(H)for(var M=H.length-1;0<=M;M--){var P=H[M];if(typeof P.name==="string"){var k=U;$:{var{name:y,env:l,debugLocation:o}=P;if(o!=null){var R0=v(o),P0=R0.lastIndexOf(`
26
+ `),V0=P0===-1?R0:R0.slice(P0+1);if(V0.indexOf(y)!==-1){var g0=`
27
+ `+V0;break $}}g0=c(y+(l?" ["+l+"]":""))}U=k+g0}}Q=$,$=$.return}while($);return U}catch(z$){return`
28
+ Error generating stack: `+z$.message+`
29
+ `+z$.stack}}function Q0($){return($=$?$.displayName||$.name:"")?c($):""}function s(){if(K1===null)return null;var $=K1._debugOwner;return $!=null?_0($):null}function e(){if(K1===null)return"";var $=K1;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 H=Q._debugStack;if($&&H){var M=v(H);M!==""&&(U+=`
30
+ `+M)}}else if($.debugStack!=null){var P=$.debugStack;($=$.owner)&&P&&(U+=`
31
+ `+v(P))}else break;var k=U}catch(y){k=`
32
+ Error generating stack: `+y.message+`
33
+ `+y.stack}return k}function J0($,U,Q,H,M,P,k){var y=K1;Z0($);try{return $!==null&&$._debugTask?$._debugTask.run(U.bind(null,Q,H,M,P,k)):U(Q,H,M,P,k)}finally{Z0(y)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Z0($){u0.getCurrentStack=$===null?null:e,L4=!1,K1=$}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 O0($){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($),R6=U}catch(Q){console.error("React instrumentation encountered an error: %o.",Q)}return U.checkDCE?!0:!1}function N0($){if(typeof i3==="function"&&r3($),R6&&typeof R6.setStrictMode==="function")try{R6.setStrictMode(cJ,$)}catch(U){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",U))}}function I0($){return $>>>=0,$===0?32:31-(t3($)/a3|0)|0}function z0($){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 H=$.pendingLanes;if(H===0)return 0;var M=0,P=$.suspendedLanes,k=$.pingedLanes;$=$.warmLanes;var y=H&134217727;return y!==0?(H=y&~P,H!==0?M=z0(H):(k&=y,k!==0?M=z0(k):Q||(Q=y&~$,Q!==0&&(M=z0(Q))))):(y=H&~P,y!==0?M=z0(y):k!==0?M=z0(k):Q||(Q=H&~$,Q!==0&&(M=z0(Q)))),M===0?0:U!==0&&U!==M&&(U&P)===0&&(P=M&-M,Q=U&-U,P>=Q||P===32&&(Q&4194048)!==0)?U:M}function M0($,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 M$(){var $=I8;return I8<<=1,(I8&62914560)===0&&(I8=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 r$($,U,Q,H,M,P){var k=$.pendingLanes;$.pendingLanes=Q,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=Q,$.entangledLanes&=Q,$.errorRecoveryDisabledLanes&=Q,$.shellSuspendCounter=0;var{entanglements:y,expirationTimes:l,hiddenUpdates:o}=$;for(Q=k&~Q;0<Q;){var R0=31-E6(Q),P0=1<<R0;y[R0]=0,l[R0]=-1;var V0=o[R0];if(V0!==null)for(o[R0]=null,R0=0;R0<V0.length;R0++){var g0=V0[R0];g0!==null&&(g0.lane&=-536870913)}Q&=~P0}H!==0&&c0($,H,0),P!==0&&M===0&&$.tag!==0&&($.suspendedLanes|=P&~(k&~U))}function c0($,U,Q){$.pendingLanes|=U,$.suspendedLanes&=~U;var H=31-E6(U);$.entangledLanes|=U,$.entanglements[H]=$.entanglements[H]|1073741824|Q&261930}function h0($,U){var Q=$.entangledLanes|=U;for($=$.entanglements;Q;){var H=31-E6(Q),M=1<<H;M&U|$[H]&U&&($[H]|=U),Q&=~M}}function YU($,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(A4)for($=$.pendingUpdatersLaneMap;0<Q;){var H=31-E6(Q),M=1<<H;$[H].add(U),Q&=~M}}function PU($,U){if(A4)for(var{pendingUpdatersLaneMap:Q,memoizedUpdaters:H}=$;0<U;){var M=31-E6(U);$=1<<M,M=Q[M],0<M.size&&(M.forEach(function(P){var k=P.alternate;k!==null&&H.has(k)||H.add(P)}),M.clear()),U&=~$}}function m($){return $&=-$,W1!==0&&W1<$?p1!==0&&p1<$?($&134217727)!==0?C4:X8:p1:W1}function X0(){var $=s$.p;if($!==0)return $;return $=window.event,$===void 0?C4:kR($.type)}function e0($,U){var Q=s$.p;try{return s$.p=$,U()}finally{s$.p=Q}}function S0($){delete $[M6],delete $[S6],delete $[C9],delete $[s3],delete $[e3]}function v0($){var U=$[M6];if(U)return U;for(var Q=$.parentNode;Q;){if(U=Q[BI]||Q[M6]){if(Q=U.alternate,U.child!==null||Q!==null&&Q.child!==null)for($=MR($);$!==null;){if(Q=$[M6])return Q;$=MR($)}return U}$=Q,Q=$.parentNode}return null}function F$($){if($=$[M6]||$[BI]){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=$[iR];return U||(U=$[iR]={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();T9[Q]=$,$==="onDoubleClick"&&(T9.ondblclick=$);for($=0;$<U.length;$++)rR.add(U[$])}function OU($,U){$k[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(h1.call(aR,$))return!0;if(h1.call(tR,$))return!1;if(Uk.test($))return aR[$]=!0;return tR[$]=!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 H=U.toLowerCase().slice(0,5);if(H!=="data-"&&H!=="aria-"){$.removeAttribute(U);return}}n(Q,U),$.setAttribute(U,""+Q)}}function q0($,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,H){if(H===null)$.removeAttribute(Q);else{switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Q);return}n(H,Q),$.setAttributeNS(U,Q,""+H)}}function W$($){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 H=Object.getOwnPropertyDescriptor($.constructor.prototype,U);if(!$.hasOwnProperty(U)&&typeof H<"u"&&typeof H.get==="function"&&typeof H.set==="function"){var{get:M,set:P}=H;return Object.defineProperty($,U,{configurable:!0,get:function(){return M.call(this)},set:function(k){Y0(k),Q=""+k,P.call(this,k)}}),Object.defineProperty($,U,{enumerable:H.enumerable}),{getValue:function(){return Q},setValue:function(k){Y0(k),Q=""+k},stopTracking:function(){$._valueTracker=null,delete $[U]}}}}function LU($){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(),H="";return $&&(H=n0($)?$.checked?"true":"false":$.value),$=H,$!==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 $U($){return $.replace(Ik,function(U){return"\\"+U.charCodeAt(0).toString(16)+" "})}function J$($,U){U.checked===void 0||U.defaultChecked===void 0||eR||(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),eR=!0),U.value===void 0||U.defaultValue===void 0||sR||(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),sR=!0)}function $$($,U,Q,H,M,P,k,y){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=""+W$(U)}else $.value!==""+W$(U)&&($.value=""+W$(U));else k!=="submit"&&k!=="reset"||$.removeAttribute("value");U!=null?B$($,k,W$(U)):Q!=null?B$($,k,W$(Q)):H!=null&&$.removeAttribute("value"),M==null&&P!=null&&($.defaultChecked=!!P),M!=null&&($.checked=M&&typeof M!=="function"&&typeof M!=="symbol"),y!=null&&typeof y!=="function"&&typeof y!=="symbol"&&typeof y!=="boolean"?(n(y,"name"),$.name=""+W$(y)):$.removeAttribute("name")}function qU($,U,Q,H,M,P,k,y){if(P!=null&&typeof P!=="function"&&typeof P!=="symbol"&&typeof P!=="boolean"&&(n(P,"type"),$.type=P),U!=null||Q!=null){if(!(P!=="submit"&&P!=="reset"||U!==void 0&&U!==null)){LU($);return}Q=Q!=null?""+W$(Q):"",U=U!=null?""+W$(U):Q,y||U===$.value||($.value=U),$.defaultValue=U}H=H!=null?H:M,H=typeof H!=="function"&&typeof H!=="symbol"&&!!H,$.checked=y?$.checked:!!H,$.defaultChecked=!!H,k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"&&(n(k,"name"),$.name=k),LU($)}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"||UP||(UP=!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||IP||(IP=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),U.selected==null||$P||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),$P=!0)}function UU(){var $=s();return $?`
34
+
35
+ Check the render method of \``+$+"`.":""}function d$($,U,Q,H){if($=$.options,U){U={};for(var M=0;M<Q.length;M++)U["$"+Q[M]]=!0;for(Q=0;Q<$.length;Q++)M=U.hasOwnProperty("$"+$[Q].value),$[Q].selected!==M&&($[Q].selected=M),M&&H&&($[Q].defaultSelected=!0)}else{Q=""+W$(Q),U=null;for(M=0;M<$.length;M++){if($[M].value===Q){$[M].selected=!0,H&&($[M].defaultSelected=!0);return}U!==null||$[M].disabled||(U=$[M])}U!==null&&(U.selected=!0)}}function bU($,U){for($=0;$<JP.length;$++){var Q=JP[$];if(U[Q]!=null){var H=Y6(U[Q]);U.multiple&&!H?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Q,UU()):!U.multiple&&H&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Q,UU())}}U.value===void 0||U.defaultValue===void 0||XP||(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"),XP=!0)}function cU($,U){U.value===void 0||U.defaultValue===void 0||QP||(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"),QP=!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=""+W$(U),U!==$.value&&($.value=U),Q==null)){$.defaultValue!==U&&($.defaultValue=U);return}$.defaultValue=Q!=null?""+W$(Q):""}function pU($,U,Q,H){if(U==null){if(H!=null){if(Q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Y6(H)){if(1<H.length)throw Error("<textarea> can only have at most one child.");H=H[0]}Q=H}Q==null&&(Q=""),U=Q}Q=W$(U),$.defaultValue=Q,H=$.textContent,H===Q&&H!==""&&H!==null&&($.value=H),LU($)}function mU($,U){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-U?mU($.children[0],U):$}function t$($){return" "+" ".repeat($)}function MU($){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 _U($,U){return YP.test($)?($=JSON.stringify($),$.length>U-2?8>U?'{"..."}':"{"+$.slice(0,U-7)+'..."}':"{"+$+"}"):$.length>U?5>U?'{"..."}':$.slice(0,U-3)+"...":$}function NU($,U,Q){var H=120-2*Q;if(U===null)return MU(Q)+_U($,H)+`
36
+ `;if(typeof U==="string"){for(var M=0;M<U.length&&M<$.length&&U.charCodeAt(M)===$.charCodeAt(M);M++);return M>H-8&&10<M&&($="..."+$.slice(M-8),U="..."+U.slice(M-8)),MU(Q)+_U($,H)+`
37
+ `+VU(Q)+_U(U,H)+`
38
+ `}return t$(Q)+_U($,H)+`
39
+ `}function xU($){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===D4)return(U=L0($.type))?"<"+U+">":"<...>";var Q=xU($);if(Q==="Object"){Q="",U-=2;for(var H in $)if($.hasOwnProperty(H)){var M=JSON.stringify(H);if(M!=='"'+H+'"'&&(H=M),U-=H.length-2,M=EU($[H],15>U?U:15),U-=M.length,0>U){Q+=Q===""?"...":", ...";break}Q+=(Q===""?"":",")+H+":"+M}return"{"+Q+"}"}return Q;case"function":return(U=$.displayName||$.name)?"function "+U:"function";default:return String($)}}function AU($,U){return typeof $!=="string"||YP.test($)?"{"+EU($,U-2)+"}":$.length>U-2?5>U?'"..."':'"'+$.slice(0,U-5)+'..."':'"'+$+'"'}function FX($,U,Q){var H=120-Q.length-$.length,M=[],P;for(P in U)if(U.hasOwnProperty(P)&&P!=="children"){var k=AU(U[P],120-Q.length-P.length-1);H-=P.length+k.length+2,M.push(P+"="+k)}return M.length===0?Q+"<"+$+`>
40
+ `:0<H?Q+"<"+$+" "+M.join(" ")+`>
41
+ `:Q+"<"+$+`
42
+ `+Q+" "+M.join(`
43
+ `+Q+" ")+`
44
+ `+Q+`>
45
+ `}function DY($,U,Q){var H="",M=y$({},U),P;for(P in $)if($.hasOwnProperty(P)){delete M[P];var k=120-2*Q-P.length-2,y=EU($[P],k);U.hasOwnProperty(P)?(k=EU(U[P],k),H+=MU(Q)+P+": "+y+`
46
+ `,H+=VU(Q)+P+": "+k+`
47
+ `):H+=MU(Q)+P+": "+y+`
48
+ `}for(var l in M)M.hasOwnProperty(l)&&($=EU(M[l],120-2*Q-l.length-2),H+=VU(Q)+l+": "+$+`
49
+ `);return H}function FY($,U,Q,H){var M="",P=new Map;for(o in Q)Q.hasOwnProperty(o)&&P.set(o.toLowerCase(),o);if(P.size===1&&P.has("children"))M+=FX($,U,t$(H));else{for(var k in U)if(U.hasOwnProperty(k)&&k!=="children"){var y=120-2*(H+1)-k.length-1,l=P.get(k.toLowerCase());if(l!==void 0){P.delete(k.toLowerCase());var o=U[k];l=Q[l];var R0=AU(o,y);y=AU(l,y),typeof o==="object"&&o!==null&&typeof l==="object"&&l!==null&&xU(o)==="Object"&&xU(l)==="Object"&&(2<Object.keys(o).length||2<Object.keys(l).length||-1<R0.indexOf("...")||-1<y.indexOf("..."))?M+=t$(H+1)+k+`={{
50
+ `+DY(o,l,H+2)+t$(H+1)+`}}
51
+ `:(M+=MU(H+1)+k+"="+R0+`
52
+ `,M+=VU(H+1)+k+"="+y+`
53
+ `)}else M+=t$(H+1)+k+"="+AU(U[k],y)+`
54
+ `}P.forEach(function(P0){if(P0!=="children"){var V0=120-2*(H+1)-P0.length-1;M+=VU(H+1)+P0+"="+AU(Q[P0],V0)+`
55
+ `}}),M=M===""?t$(H)+"<"+$+`>
56
+ `:t$(H)+"<"+$+`
57
+ `+M+t$(H)+`>
58
+ `}if($=Q.children,U=U.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(P="",typeof U==="string"||typeof U==="number"||typeof U==="bigint")P=""+U;M+=NU(P,""+$,H+1)}else if(typeof U==="string"||typeof U==="number"||typeof U==="bigint")M=$==null?M+NU(""+U,null,H+1):M+NU(""+U,void 0,H+1);return M}function UA($,U){var Q=lU($);if(Q===null){Q="";for($=$.child;$;)Q+=UA($,U),$=$.sibling;return Q}return t$(U)+"<"+Q+`>
59
+ `}function Yz($,U){var Q=mU($,U);if(Q!==$&&($.children.length!==1||$.children[0]!==Q))return t$(U)+`...
60
+ `+Yz(Q,U+1);Q="";var H=$.fiber._debugInfo;if(H)for(var M=0;M<H.length;M++){var P=H[M].name;typeof P==="string"&&(Q+=t$(U)+"<"+P+`>
61
+ `,U++)}if(H="",M=$.fiber.pendingProps,$.fiber.tag===6)H=NU(M,$.serverProps,U),U++;else if(P=lU($.fiber),P!==null)if($.serverProps===void 0){H=U;var k=120-2*H-P.length-2,y="";for(o in M)if(M.hasOwnProperty(o)&&o!=="children"){var l=AU(M[o],15);if(k-=o.length+l.length+2,0>k){y+=" ...";break}y+=" "+o+"="+l}H=t$(H)+"<"+P+y+`>
62
+ `,U++}else $.serverProps===null?(H=FX(P,M,MU(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."):(H=FY(P,M,$.serverProps,U),U++);var o="";M=$.fiber.child;for(P=0;M&&P<$.children.length;)k=$.children[P],k.fiber===M?(o+=Yz(k,U),P++):o+=UA(M,U),M=M.sibling;M&&0<$.children.length&&(o+=t$(U)+`...
63
+ `),M=$.serverTail,$.serverProps===null&&U--;for($=0;$<M.length;$++)P=M[$],o=typeof P==="string"?o+(VU(U)+_U(P,120-2*U)+`
64
+ `):o+FX(P.type,P.props,VU(U));return Q+H+o}function Gz($){try{return`
65
+
66
+ `+Yz($,0)}catch(U){return""}}function IA($,U,Q){for(var H=U,M=null,P=0;H;)H===$&&(P=0),M={fiber:H,children:M!==null?[M]:[],serverProps:H===U?Q:H===$?null:void 0,serverTail:[],distanceFromLeaf:P},P++,H=H.return;return M!==null?Gz(M).replaceAll(/^[+-]/gm,">"):""}function XA($,U){var Q=y$({},$||ZP),H={tag:U};if(GP.indexOf(U)!==-1&&(Q.aTagInScope=null,Q.buttonTagInScope=null,Q.nobrTagInScope=null),Jk.indexOf(U)!==-1&&(Q.pTagInButtonScope=null),Xk.indexOf(U)!==-1&&U!=="address"&&U!=="div"&&U!=="p"&&(Q.listItemTagAutoclosing=null,Q.dlItemTagAutoclosing=null),Q.current=H,U==="form"&&(Q.formTag=H),U==="a"&&(Q.aTagInScope=H),U==="button"&&(Q.buttonTagInScope=H),U==="nobr"&&(Q.nobrTagInScope=H),U==="p"&&(Q.pTagInButtonScope=H),U==="li"&&(Q.listItemTagAutoclosing=H),U==="dd"||U==="dt")Q.dlItemTagAutoclosing=H;return U==="#document"||U==="html"?Q.containerTagInScope=null:Q.containerTagInScope||(Q.containerTagInScope=H),$!==null||U!=="#document"&&U!=="html"&&U!=="body"?Q.implicitRootScope===!0&&(Q.implicitRootScope=!1):Q.implicitRootScope=!0,Q}function JA($,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 Qk.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 $N($,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 QA($,U){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===U)return $}$=$.return}return null}function Zz($,U){U=U||ZP;var Q=U.current;if(U=(Q=JA($,Q&&Q.tag,U.implicitRootScope)?null:Q)?null:$N($,U),U=Q||U,!U)return!0;var H=U.tag;if(U=String(!!Q)+"|"+$+"|"+H,J8[U])return!1;J8[U]=!0;var M=(U=K1)?QA(U.return,H):null,P=U!==null&&M!==null?IA(M,U,null):"",k="<"+$+">";return Q?(Q="",H==="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,H,Q,P)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
+ This will cause a hydration error.%s`,k,H,P),U&&($=U.return,M===null||$===null||M===$&&$._debugOwner===U._debugOwner||J0(M,function(){console.error(`<%s> cannot contain a nested %s.
69
+ See this log for the ancestor stack trace.`,H,k)})),!1}function o2($,U,Q){if(Q||JA("#text",U,!1))return!0;if(Q="#text|"+U,J8[Q])return!1;J8[Q]=!0;var H=(Q=K1)?QA(Q,U):null;return Q=Q!==null&&H!==null?IA(H,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 LY($,U){if(U){var Q=$.firstChild;if(Q&&Q===$.lastChild&&Q.nodeType===3){Q.nodeValue=U;return}}$.textContent=U}function UN($){return $.replace(Zk,function(U,Q){return Q.toUpperCase()})}function YA($,U,Q){var H=U.indexOf("--")===0;H||(-1<U.indexOf("-")?hJ.hasOwnProperty(U)&&hJ[U]||(hJ[U]=!0,console.error("Unsupported style property %s. Did you mean %s?",U,UN(U.replace(Gk,"ms-")))):Yk.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))):!zP.test(Q)||P9.hasOwnProperty(Q)&&P9[Q]||(P9[Q]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,U,Q.replace(zP,""))),typeof Q==="number"&&(isNaN(Q)?OP||(OP=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",U)):isFinite(Q)||VP||(VP=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",U)))),Q==null||typeof Q==="boolean"||Q===""?H?$.setProperty(U,""):U==="float"?$.cssFloat="":$[U]="":H?$.setProperty(U,Q):typeof Q!=="number"||Q===0||HP.has(U)?U==="float"?$.cssFloat=Q:(F0(Q,U),$[U]=(""+Q).trim()):$[U]=Q+"px"}function GA($,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 H={};if(Q){for(var M in Q)if(Q.hasOwnProperty(M)&&!U.hasOwnProperty(M))for(var P=R9[M]||[M],k=0;k<P.length;k++)H[P[k]]=M}for(var y in U)if(U.hasOwnProperty(y)&&(!Q||Q[y]!==U[y]))for(M=R9[y]||[y],P=0;P<M.length;P++)H[M[P]]=y;y={};for(var l in U)for(M=R9[l]||[l],P=0;P<M.length;P++)y[M[P]]=l;l={};for(var o in H)if(M=H[o],(P=y[o])&&M!==P&&(k=M+","+P,!l[k])){l[k]=!0,k=console;var R0=U[M];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.",R0==null||typeof R0==="boolean"||R0===""?"Removing":"Updating",M,P)}}for(var P0 in Q)!Q.hasOwnProperty(P0)||U!=null&&U.hasOwnProperty(P0)||(P0.indexOf("--")===0?$.setProperty(P0,""):P0==="float"?$.cssFloat="":$[P0]="");for(var V0 in U)o=U[V0],U.hasOwnProperty(V0)&&Q[V0]!==o&&YA($,V0,o)}else for(H in U)U.hasOwnProperty(H)&&YA($,H,U[H])}function MY($){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 ZA($){return Kk.get($)||$}function IN($,U){if(h1.call(mJ,U)&&mJ[U])return!0;if(zk.test(U)){if($="aria-"+U.slice(4).toLowerCase(),$=DP.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(Wk.test(U)){if($=U.toLowerCase(),$=DP.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 XN($,U){var Q=[],H;for(H in U)IN($,H)||Q.push(H);U=Q.map(function(M){return"`"+M+"`"}).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 JN($,U,Q,H){if(h1.call(j6,U)&&j6[U])return!0;var M=U.toLowerCase();if(M==="onfocusin"||M==="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(H!=null){if($=H.possibleRegistrationNames,H.registrationNameDependencies.hasOwnProperty(U))return!0;if(H=$.hasOwnProperty(M)?$[M]:null,H!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",U,H),j6[U]=!0;if(LP.test(U))return console.error("Unknown event handler property `%s`. It will be ignored.",U),j6[U]=!0}else if(LP.test(U))return Ok.test(U)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",U),j6[U]=!0;if(Vk.test(U)||Hk.test(U))return!0;if(M==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),j6[U]=!0;if(M==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),j6[U]=!0;if(M==="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(Y8.hasOwnProperty(M)){if(M=Y8[M],M!==U)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",U,M),j6[U]=!0}else if(U!==M)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,M),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(M=U.toLowerCase().slice(0,5),M==="data-"||M==="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 QN($,U,Q){var H=[],M;for(M in U)JN($,M,U[M],Q)||H.push(M);U=H.map(function(P){return"`"+P+"`"}).join(", "),H.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<H.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 Dk.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function f4(){}function Kz($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function KA($){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="'+$U(""+U)+'"][type="radio"]');for(U=0;U<Q.length;U++){var H=Q[U];if(H!==$&&H.form===$.form){var M=H[S6]||null;if(!M)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");$$(H,M.value,M.defaultValue,M.defaultValue,M.checked,M.defaultChecked,M.type,M.name)}}for(U=0;U<Q.length;U++)H=Q[U],H.form===$.form&&X$(H)}break $;case"textarea":hU($,Q.value,Q.defaultValue);break $;case"select":U=Q.value,U!=null&&d$($,!!Q.multiple,U,!1)}}}function WA($,U,Q){if(q9)return $(U,Q);q9=!0;try{var H=$(U);return H}finally{if(q9=!1,lJ!==null||dJ!==null){if(NJ(),lJ&&(U=lJ,$=dJ,dJ=lJ=null,KA(U),$))for(U=0;U<$.length;U++)KA($[U])}}}function CY($,U){var Q=$.stateNode;if(Q===null)return null;var H=Q[S6]||null;if(H===null)return null;Q=H[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":(H=!H.disabled)||($=$.type,H=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!H;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 zA(){if(G8)return G8;var $,U=E9,Q=U.length,H,M="value"in vI?vI.value:vI.textContent,P=M.length;for($=0;$<Q&&U[$]===M[$];$++);var k=Q-$;for(H=1;H<=k&&U[Q-H]===M[P-H];H++);return G8=M.slice($,1<H?1-H:void 0)}function i2($){var U=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&U===13&&($=13)):$=U,$===10&&($=13),32<=$||$===13?$:0}function r2(){return!0}function OA(){return!1}function p6($){function U(Q,H,M,P,k){this._reactName=Q,this._targetInst=M,this.type=H,this.nativeEvent=P,this.target=k,this.currentTarget=null;for(var y in $)$.hasOwnProperty(y)&&(Q=$[y],this[y]=Q?Q(P):P[y]);return this.isDefaultPrevented=(P.defaultPrevented!=null?P.defaultPrevented:P.returnValue===!1)?r2:OA,this.isPropagationStopped=OA,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=r2)},stopPropagation:function(){var Q=this.nativeEvent;Q&&(Q.stopPropagation?Q.stopPropagation():typeof Q.cancelBubble!=="unknown"&&(Q.cancelBubble=!0),this.isPropagationStopped=r2)},persist:function(){},isPersistent:r2}),U}function YN($){var U=this.nativeEvent;return U.getModifierState?U.getModifierState($):($=jk[$])?!!U[$]:!1}function Wz(){return YN}function VA($,U){switch($){case"keyup":return ck.indexOf(U.keyCode)!==-1;case"keydown":return U.keyCode!==TP;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function HA($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function GN($,U){switch($){case"compositionend":return HA(U);case"keypress":if(U.which!==PP)return null;return _P=!0,qP;case"textInput":return $=U.data,$===qP&&_P?null:$;default:return null}}function ZN($,U){if(nJ)return $==="compositionend"||!v9&&VA($,U)?($=zA(),G8=E9=vI=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 RP&&U.locale!=="ko"?null:U.data;default:return null}}function DA($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U==="input"?!!pk[$.type]:U==="textarea"?!0:!1}function KN($){if(!T4)return!1;$="on"+$;var U=$ in document;return U||(U=document.createElement("div"),U.setAttribute($,"return;"),U=typeof U[$]==="function"),U}function FA($,U,Q,H){lJ?dJ?dJ.push(H):dJ=[H]:lJ=H,U=hZ(U,"onChange"),0<U.length&&(Q=new Z8("onChange","change",null,Q,H),$.push({event:Q,listeners:U}))}function WN($){sT($,0)}function t2($){var U=x0($);if(X$(U))return $}function LA($,U){if($==="change")return U}function MA(){QG&&(QG.detachEvent("onpropertychange",AA),YG=QG=null)}function AA($){if($.propertyName==="value"&&t2(YG)){var U=[];FA(U,YG,$,Kz($)),WA(WN,U)}}function zN($,U,Q){$==="focusin"?(MA(),QG=U,YG=Q,QG.attachEvent("onpropertychange",AA)):$==="focusout"&&MA()}function ON($){if($==="selectionchange"||$==="keyup"||$==="keydown")return t2(YG)}function VN($,U){if($==="click")return t2(U)}function HN($,U){if($==="input"||$==="change")return t2(U)}function DN($,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($),H=Object.keys(U);if(Q.length!==H.length)return!1;for(H=0;H<Q.length;H++){var M=Q[H];if(!h1.call(U,M)||!B6($[M],U[M]))return!1}return!0}function CA($){for(;$&&$.firstChild;)$=$.firstChild;return $}function TA($,U){var Q=CA($);$=0;for(var H;Q;){if(Q.nodeType===3){if(H=$+Q.textContent.length,$<=U&&H>=U)return{node:Q,offset:U-$};$=H}$:{for(;Q;){if(Q.nextSibling){Q=Q.nextSibling;break $}Q=Q.parentNode}Q=void 0}Q=CA(Q)}}function RA($,U){return $&&U?$===U?!0:$&&$.nodeType===3?!1:U&&U.nodeType===3?RA($,U.parentNode):("contains"in $)?$.contains(U):$.compareDocumentPosition?!!($.compareDocumentPosition(U)&16):!1:!1}function PA($){$=$!=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(H){Q=!1}if(Q)$=U.contentWindow;else break;U=U$($.document)}return U}function zz($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U&&(U==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||U==="textarea"||$.contentEditable==="true")}function qA($,U,Q){var H=Q.window===Q?Q.document:Q.nodeType===9?Q:Q.ownerDocument;k9||oJ==null||oJ!==U$(H)||(H=oJ,("selectionStart"in H)&&zz(H)?H={start:H.selectionStart,end:H.selectionEnd}:(H=(H.ownerDocument&&H.ownerDocument.defaultView||window).getSelection(),H={anchorNode:H.anchorNode,anchorOffset:H.anchorOffset,focusNode:H.focusNode,focusOffset:H.focusOffset}),GG&&TY(GG,H)||(GG=H,H=hZ(N9,"onSelect"),0<H.length&&(U=new Z8("onSelect","select",null,U,Q),$.push({event:U,listeners:H}),U.target=oJ)))}function LX($,U){var Q={};return Q[$.toLowerCase()]=U.toLowerCase(),Q["Webkit"+$]="webkit"+U,Q["Moz"+$]="moz"+U,Q}function MX($){if(g9[$])return g9[$];if(!iJ[$])return $;var U=iJ[$],Q;for(Q in U)if(U.hasOwnProperty(Q)&&Q in SP)return g9[$]=U[Q];return $}function u1($,U){kP.set($,U),o0(U,[$])}function FN($){for(var U=W8,Q=0;Q<$.length;Q++){var H=$[Q];if(typeof H==="object"&&H!==null)if(Y6(H)&&H.length===2&&typeof H[0]==="string"){if(U!==W8&&U!==u9)return f9;U=u9}else return f9;else{if(typeof H==="function"||typeof H==="string"&&50<H.length||U!==W8&&U!==y9)return f9;U=y9}}return U}function Oz($,U,Q,H){for(var M in $)h1.call($,M)&&M[0]!=="_"&&e1(M,$[M],U,Q,H)}function e1($,U,Q,H,M){switch(typeof U){case"object":if(U===null){U="null";break}else{if(U.$$typeof===D4){var P=L0(U.type)||"…",k=U.key;U=U.props;var y=Object.keys(U),l=y.length;if(k==null&&l===0){U="<"+P+" />";break}if(3>H||l===1&&y[0]==="children"&&k==null){U="<"+P+" … />";break}Q.push([M+"  ".repeat(H)+$,"<"+P]),k!==null&&e1("key",k,Q,H+1,M),$=!1;for(var o in U)o==="children"?U.children!=null&&(!Y6(U.children)||0<U.children.length)&&($=!0):h1.call(U,o)&&o[0]!=="_"&&e1(o,U[o],Q,H+1,M);Q.push(["",$?">…</"+P+">":"/>"]);return}if(P=Object.prototype.toString.call(U),P=P.slice(8,P.length-1),P==="Array"){if(o=FN(U),o===y9||o===W8){U=JSON.stringify(U);break}else if(o===u9){Q.push([M+"  ".repeat(H)+$,""]);for($=0;$<U.length;$++)P=U[$],e1(P[0],P[1],Q,H+1,M);return}}if(P==="Promise"){if(U.status==="fulfilled"){if(P=Q.length,e1($,U.value,Q,H,M),Q.length>P){Q=Q[P],Q[1]="Promise<"+(Q[1]||"Object")+">";return}}else if(U.status==="rejected"&&(P=Q.length,e1($,U.reason,Q,H,M),Q.length>P)){Q=Q[P],Q[1]="Rejected Promise<"+Q[1]+">";return}Q.push(["  ".repeat(H)+$,"Promise"]);return}P==="Object"&&(o=Object.getPrototypeOf(U))&&typeof o.constructor==="function"&&(P=o.constructor.name),Q.push([M+"  ".repeat(H)+$,P==="Object"?3>H?"":"…":P]),3>H&&Oz(U,Q,H+1,M);return}case"function":U=U.name===""?"() => {}":U.name+"() {}";break;case"string":U=U===rk?"…":JSON.stringify(U);break;case"undefined":U="undefined";break;case"boolean":U=U?"true":"false";break;default:U=String(U)}Q.push([M+"  ".repeat(H)+$,U])}function _A($,U,Q,H){var M=!0;for(k in $)k in U||(Q.push([z8+"  ".repeat(H)+k,"…"]),M=!1);for(var P in U)if(P in $){var k=$[P],y=U[P];if(k!==y){if(H===0&&P==="children")M="  ".repeat(H)+P,Q.push([z8+M,"…"],[O8+M,"…"]);else{if(!(3<=H)){if(typeof k==="object"&&typeof y==="object"&&k!==null&&y!==null&&k.$$typeof===y.$$typeof)if(y.$$typeof===D4){if(k.type===y.type&&k.key===y.key){k=L0(y.type)||"…",M="  ".repeat(H)+P,k="<"+k+" … />",Q.push([z8+M,k],[O8+M,k]),M=!1;continue}}else{var l=Object.prototype.toString.call(k),o=Object.prototype.toString.call(y);if(l===o&&(o==="[object Object]"||o==="[object Array]")){l=[wP+"  ".repeat(H)+P,o==="[object Array]"?"Array":""],Q.push(l),o=Q.length,_A(k,y,Q,H+1)?o===Q.length&&(l[1]="Referentially unequal but deeply equal objects. Consider memoization."):M=!1;continue}}else if(typeof k==="function"&&typeof y==="function"&&k.name===y.name&&k.length===y.length&&(l=Function.prototype.toString.call(k),o=Function.prototype.toString.call(y),l===o)){k=y.name===""?"() => {}":y.name+"() {}",Q.push([wP+"  ".repeat(H)+P,k+" Referentially unequal function closure. Consider memoization."]);continue}}e1(P,k,Q,H,z8),e1(P,y,Q,H,O8)}M=!1}}else Q.push([O8+"  ".repeat(H)+P,"…"]),M=!1;return M}function U1($){b$=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function $4($,U,Q,H){CU&&(kI.start=U,kI.end=Q,d4.color="warning",d4.tooltipText=H,d4.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,H,kI)):performance.measure(H,kI))}function a2($,U,Q){$4($,U,Q,"Reconnect")}function s2($,U,Q,H,M){var P=t($);if(P!==null&&CU){var{alternate:k,actualDuration:y}=$;if(k===null||k.child!==$.child)for(var l=$.child;l!==null;l=l.sibling)y-=l.actualDuration;H=0.5>y?H?"tertiary-light":"primary-light":10>y?H?"tertiary":"primary":100>y?H?"tertiary-dark":"primary-dark":"error";var o=$.memoizedProps;y=$._debugTask,o!==null&&k!==null&&k.memoizedProps!==o?(l=[tk],o=_A(k.memoizedProps,o,l,0),1<l.length&&(o&&!NI&&(k.lanes&M)===0&&100<$.actualDuration?(NI=!0,l[0]=ak,d4.color="warning",d4.tooltipText=fP):(d4.color=H,d4.tooltipText=P),d4.properties=l,kI.start=U,kI.end=Q,y!=null?y.run(performance.measure.bind(performance,"​"+P,kI)):performance.measure("​"+P,kI))):y!=null?y.run(console.timeStamp.bind(console,P,U,Q,P1,void 0,H)):console.timeStamp(P,U,Q,P1,void 0,H)}}function Vz($,U,Q,H){if(CU){var M=t($);if(M!==null){for(var P=null,k=[],y=0;y<H.length;y++){var l=H[y];P==null&&l.source!==null&&(P=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&&e1("key",$.key,k,0,""),$.memoizedProps!==null&&Oz($.memoizedProps,k,0,""),P==null&&(P=$._debugTask),$={start:U,end:Q,detail:{devtools:{color:"error",track:P1,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:k}}},P?P.run(performance.measure.bind(performance,"​"+M,$)):performance.measure("​"+M,$)}}}function U4($,U,Q,H,M){if(M!==null){if(CU){var P=t($);if(P!==null){H=[];for(var k=0;k<M.length;k++){var y=M[k].value;H.push(["Error",typeof y==="object"&&y!==null&&typeof y.message==="string"?String(y.message):String(y)])}$.key!==null&&e1("key",$.key,H,0,""),$.memoizedProps!==null&&Oz($.memoizedProps,H,0,""),U={start:U,end:Q,detail:{devtools:{color:"error",track:P1,tooltipText:"A lifecycle or effect errored",properties:H}}},($=$._debugTask)?$.run(performance.measure.bind(performance,"​"+P,U)):performance.measure("​"+P,U)}}}else P=t($),P!==null&&CU&&(M=1>H?"secondary-light":100>H?"secondary":500>H?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,P,U,Q,P1,void 0,M)):console.timeStamp(P,U,Q,P1,void 0,M))}function LN($,U,Q,H){if(CU&&!(U<=$)){var M=(Q&738197653)===Q?"tertiary-dark":"primary-dark";Q=(Q&536870912)===Q?"Prepared":(Q&201326741)===Q?"Hydrated":"Render",H?H.run(console.timeStamp.bind(console,Q,$,U,b$,u$,M)):console.timeStamp(Q,$,U,b$,u$,M)}}function EA($,U,Q,H){!CU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",H?H.run(console.timeStamp.bind(console,"Prewarm",$,U,b$,u$,Q)):console.timeStamp("Prewarm",$,U,b$,u$,Q))}function SA($,U,Q,H){!CU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",H?H.run(console.timeStamp.bind(console,"Suspended",$,U,b$,u$,Q)):console.timeStamp("Suspended",$,U,b$,u$,Q))}function MN($,U,Q,H,M,P){if(CU&&!(U<=$)){Q=[];for(var k=0;k<H.length;k++){var y=H[k].value;Q.push(["Recoverable Error",typeof y==="object"&&y!==null&&typeof y.message==="string"?String(y.message):String(y)])}$={start:$,end:U,detail:{devtools:{color:"primary-dark",track:b$,trackGroup:u$,tooltipText:M?"Hydration Failed":"Recovered after Error",properties:Q}}},P?P.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function Hz($,U,Q,H){!CU||U<=$||(H?H.run(console.timeStamp.bind(console,"Errored",$,U,b$,u$,"error")):console.timeStamp("Errored",$,U,b$,u$,"error"))}function AN($,U,Q,H){!CU||U<=$||(H?H.run(console.timeStamp.bind(console,Q,$,U,b$,u$,"secondary-light")):console.timeStamp(Q,$,U,b$,u$,"secondary-light"))}function jA($,U,Q,H,M){if(CU&&!(U<=$)){for(var P=[],k=0;k<Q.length;k++){var y=Q[k].value;P.push(["Error",typeof y==="object"&&y!==null&&typeof y.message==="string"?String(y.message):String(y)])}$={start:$,end:U,detail:{devtools:{color:"error",track:b$,trackGroup:u$,tooltipText:H?"Remaining Effects Errored":"Commit Errored",properties:P}}},M?M.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function RY($,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 e2(){for(var $=rJ,U=b9=rJ=0;U<$;){var Q=q1[U];q1[U++]=null;var H=q1[U];q1[U++]=null;var M=q1[U];q1[U++]=null;var P=q1[U];if(q1[U++]=null,H!==null&&M!==null){var k=H.pending;k===null?M.next=M:(M.next=k.next,k.next=M),H.pending=M}P!==0&&BA(Q,M,P)}}function $Z($,U,Q,H){q1[rJ++]=$,q1[rJ++]=U,q1[rJ++]=Q,q1[rJ++]=H,b9|=H,$.lanes|=H,$=$.alternate,$!==null&&($.lanes|=H)}function Dz($,U,Q,H){return $Z($,U,Q,H),UZ($)}function T6($,U){return $Z($,null,null,U),UZ($)}function BA($,U,Q){$.lanes|=Q;var H=$.alternate;H!==null&&(H.lanes|=Q);for(var M=!1,P=$.return;P!==null;)P.childLanes|=Q,H=P.alternate,H!==null&&(H.childLanes|=Q),P.tag===22&&($=P.stateNode,$===null||$._visibility&ZG||(M=!0)),$=P,P=P.return;return $.tag===3?(P=$.stateNode,M&&U!==null&&(M=31-E6(Q),$=P.hiddenUpdates,H=$[M],H===null?$[M]=[U]:H.push(U),U.lane=Q|536870912),P):null}function UZ($){if(wG>Og)throw oX=wG=0,fG=MV=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.");oX>Vg&&(oX=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&&dT($);for(var U=$,Q=U.return;Q!==null;)U.alternate===null&&(U.flags&4098)!==0&&dT($),U=Q,Q=U.return;return U.tag===3?U.stateNode:null}function AX($){if(_1===null)return $;var U=_1($);return U===void 0?$:U.current}function Fz($){if(_1===null)return $;var U=_1($);return U===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(U=AX($.render),$.render!==U)?(U={$$typeof:tY,render:U},$.displayName!==void 0&&(U.displayName=$.displayName),U):$:U.current}function vA($,U){if(_1===null)return!1;var Q=$.elementType;U=U.type;var H=!1,M=typeof U==="object"&&U!==null?U.$$typeof:null;switch($.tag){case 1:typeof U==="function"&&(H=!0);break;case 0:typeof U==="function"?H=!0:M===Z1&&(H=!0);break;case 11:M===tY?H=!0:M===Z1&&(H=!0);break;case 14:case 15:M===sZ?H=!0:M===Z1&&(H=!0);break;default:return!1}return H&&($=_1(Q),$!==void 0&&$===_1(U))?!0:!1}function NA($){_1!==null&&typeof WeakSet==="function"&&(tJ===null&&(tJ=new WeakSet),tJ.add($))}function kA($,U,Q){do{var H=$,M=H.alternate,P=H.child,k=H.sibling,y=H.tag;H=H.type;var l=null;switch(y){case 0:case 15:case 1:l=H;break;case 11:l=H.render}if(_1===null)throw Error("Expected resolveFamily to be set during hot reload.");var o=!1;if(H=!1,l!==null&&(l=_1(l),l!==void 0&&(Q.has(l)?H=!0:U.has(l)&&(y===1?H=!0:o=!0))),tJ!==null&&(tJ.has($)||M!==null&&tJ.has(M))&&(H=!0),H&&($._debugNeedsRemount=!0),H||o)M=T6($,2),M!==null&&wU(M,$,2);if(P===null||H||kA(P,U,Q),k===null)break;$=k}while(1)}function CN($,U,Q,H){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=H,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,yP||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function Lz($){return $=$.prototype,!(!$||!$.isReactComponent)}function y4($,U){var Q=$.alternate;switch(Q===null?(Q=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=AX($.type);break;case 1:Q.type=AX($.type);break;case 11:Q.type=Fz($.type)}return Q}function gA($,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 Mz($,U,Q,H,M,P){var k=0,y=$;if(typeof $==="function")Lz($)&&(k=1),y=AX(y);else if(typeof $==="string")k=R(),k=B3($,Q,k)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case W9:return U=q(31,Q,U,M),U.elementType=W9,U.lanes=P,U;case uJ:return CX(Q.children,M,P,U);case aZ:k=8,M|=P6,M|=m1;break;case Y9:return $=Q,H=M,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),U=q(12,$,U,H|N$),U.elementType=Y9,U.lanes=P,U.stateNode={effectDuration:0,passiveEffectDuration:0},U;case Z9:return U=q(13,Q,U,M),U.elementType=Z9,U.lanes=P,U;case K9:return U=q(19,Q,U,M),U.elementType=K9,U.lanes=P,U;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case F4:k=10;break $;case G9:k=9;break $;case tY:k=11,y=Fz(y);break $;case sZ:k=14;break $;case Z1:k=16,y=null;break $}if(y="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)y+=" 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===D4?(Q="<"+(L0($.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof $,(k=H?_0(H):null)&&(y+=`
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+"."+y)),y=null}return U=q(k,Q,U,M),U.elementType=$,U.type=y,U.lanes=P,U._debugOwner=H,U}function IZ($,U,Q){return U=Mz($.type,$.key,$.props,$._owner,U,Q),U._debugOwner=$._owner,U._debugStack=$._debugStack,U._debugTask=$._debugTask,U}function CX($,U,Q,H){return $=q(7,$,H,U),$.lanes=Q,$}function Az($,U,Q){return $=q(6,$,null,U),$.lanes=Q,$}function xA($){var U=q(18,null,null,R$);return U.stateNode=$,U}function Cz($,U,Q){return U=q(4,$.children!==null?$.children:[],$.key,U),U.lanes=Q,U.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},U}function I1($,U){if(typeof $==="object"&&$!==null){var Q=c9.get($);if(Q!==void 0)return Q;return U={value:$,source:U,stack:W0(U)},c9.set($,U),U}return{value:$,source:U,stack:W0(U)}}function u4($,U){HI(),aJ[sJ++]=KG,aJ[sJ++]=V8,V8=$,KG=U}function wA($,U,Q){HI(),E1[S1++]=o4,E1[S1++]=i4,E1[S1++]=gX,gX=$;var H=o4;$=i4;var M=32-E6(H)-1;H&=~(1<<M),Q+=1;var P=32-E6(U)+M;if(30<P){var k=M-M%5;P=(H&(1<<k)-1).toString(32),H>>=k,M-=k,o4=1<<32-E6(U)+M|Q<<M|H,i4=P+$}else o4=1<<P|Q<<M|H,i4=$}function Tz($){HI(),$.return!==null&&(u4($,1),wA($,1,0))}function Rz($){for(;$===V8;)V8=aJ[--sJ],aJ[sJ]=null,KG=aJ[--sJ],aJ[sJ]=null;for(;$===gX;)gX=E1[--S1],E1[S1]=null,i4=E1[--S1],E1[S1]=null,o4=E1[--S1],E1[S1]=null}function fA(){return HI(),gX!==null?{id:o4,overflow:i4}:null}function yA($,U){HI(),E1[S1++]=o4,E1[S1++]=i4,E1[S1++]=gX,o4=U.id,i4=U.overflow,gX=$}function HI(){p$||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function TX($,U){if($.return===null){if(z1===null)z1={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U};else{if(z1.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");z1.distanceFromLeaf>U&&(z1.distanceFromLeaf=U)}return z1}var Q=TX($.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 uA(){p$&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function XZ($,U){R4||($=TX($,0),$.serverProps=null,U!==null&&(U=FR(U),$.serverTail.push(U)))}function DI($){var U=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Q="",H=z1;throw H!==null&&(z1=null,Q=Gz(H)),PY(I1(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),$)),h9}function bA($){var{stateNode:U,type:Q,memoizedProps:H}=$;switch(U[M6]=$,U[S6]=H,pO(Q,H),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":OU("input",H),m$("invalid",U),J$(U,H),qU(U,H.value,H.defaultValue,H.checked,H.defaultChecked,H.type,H.name,!0);break;case"option":S$(U,H);break;case"select":OU("select",H),m$("invalid",U),bU(U,H);break;case"textarea":OU("textarea",H),m$("invalid",U),cU(U,H),pU(U,H.value,H.defaultValue,H.children)}Q=H.children,typeof Q!=="string"&&typeof Q!=="number"&&typeof Q!=="bigint"||U.textContent===""+Q||H.suppressHydrationWarning===!0||IR(U.textContent,Q)?(H.popover!=null&&(m$("beforetoggle",U),m$("toggle",U)),H.onScroll!=null&&m$("scroll",U),H.onScrollEnd!=null&&m$("scrollend",U),H.onClick!=null&&(U.onclick=f4),U=!0):U=!1,U||DI($,!0)}function cA($){for(A6=$.return;A6;)switch(A6.tag){case 5:case 31:case 13:j1=!1;return;case 27:case 3:j1=!0;return;default:A6=A6.return}}function RJ($){if($!==A6)return!1;if(!p$)return cA($),p$=!0,!1;var U=$.tag,Q;if(Q=U!==3&&U!==27){if(Q=U===5)Q=$.type,Q=!(Q!=="form"&&Q!=="button")||oO($.type,$.memoizedProps);Q=!Q}if(Q&&TU){for(Q=TU;Q;){var H=TX($,0),M=FR(Q);H.serverTail.push(M),Q=M.type==="Suspense"?aO(Q):G1(Q.nextSibling)}DI($)}if(cA($),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=aO($)}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=aO($)}else U===27?(U=TU,_I($.type)?($=vV,vV=null,TU=$):TU=U):TU=A6?G1($.stateNode.nextSibling):null;return!0}function RX(){TU=A6=null,R4=p$=!1}function Pz(){var $=xI;return $!==null&&(g6===null?g6=$:g6.push.apply(g6,$),xI=null),$}function PY($){xI===null?xI=[$]:xI.push($)}function qz(){var $=z1;if($!==null){z1=null;for(var U=Gz($);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 JZ(){eJ=H8=null,$Q=!1}function FI($,U,Q){V(p9,U._currentValue,$),U._currentValue=Q,V(m9,U._currentRenderer,$),U._currentRenderer!==void 0&&U._currentRenderer!==null&&U._currentRenderer!==bP&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),U._currentRenderer=bP}function b4($,U){$._currentValue=p9.current;var Q=m9.current;G(m9,U),$._currentRenderer=Q,G(p9,U)}function _z($,U,Q){for(;$!==null;){var H=$.alternate;if(($.childLanes&U)!==U?($.childLanes|=U,H!==null&&(H.childLanes|=U)):H!==null&&(H.childLanes&U)!==U&&(H.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 Ez($,U,Q,H){var M=$.child;M!==null&&(M.return=$);for(;M!==null;){var P=M.dependencies;if(P!==null){var k=M.child;P=P.firstContext;$:for(;P!==null;){var y=P;P=M;for(var l=0;l<U.length;l++)if(y.context===U[l]){P.lanes|=Q,y=P.alternate,y!==null&&(y.lanes|=Q),_z(P.return,Q,$),H||(k=null);break $}P=y.next}}else if(M.tag===18){if(k=M.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,P=k.alternate,P!==null&&(P.lanes|=Q),_z(k,Q,$),k=null}else k=M.child;if(k!==null)k.return=M;else for(k=M;k!==null;){if(k===$){k=null;break}if(M=k.sibling,M!==null){M.return=k.return,k=M;break}k=k.return}M=k}}function PJ($,U,Q,H){$=null;for(var M=U,P=!1;M!==null;){if(!P){if((M.flags&524288)!==0)P=!0;else if((M.flags&262144)!==0)break}if(M.tag===10){var k=M.alternate;if(k===null)throw Error("Should have a current fiber. This is a bug in React.");if(k=k.memoizedProps,k!==null){var y=M.type;B6(M.pendingProps.value,k.value)||($!==null?$.push(y):$=[y])}}else if(M===eZ.current){if(k=M.alternate,k===null)throw Error("Should have a current fiber. This is a bug in React.");k.memoizedState.memoizedState!==M.memoizedState.memoizedState&&($!==null?$.push(pG):$=[pG])}M=M.return}$!==null&&Ez(U,$,Q,H),U.flags|=262144}function QZ($){for($=$.firstContext;$!==null;){if(!B6($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function PX($){H8=$,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()."),hA(H8,$)}function YZ($,U){return H8===null&&PX($),hA($,U)}function hA($,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 Sz(){return{controller:new $g,data:new Map,refCount:0}}function qX($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function qY($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&Ug(Ig,function(){$.controller.abort()})}function I4($,U,Q){if(($&127)!==0)0>P4&&(P4=$6(),zG=D8(U),l9=U,Q!=null&&(d9=t(Q)),(n$&(Z6|H1))!==V6&&(fU=!0,yI=WG),$=dY(),U=lY(),$!==UQ||U!==OG?UQ=-1.1:U!==null&&(yI=WG),wX=$,OG=U);else if(($&4194048)!==0&&0>B1&&(B1=$6(),VG=D8(U),cP=U,Q!=null&&(hP=t(Q)),0>a4)){if($=dY(),U=lY(),$!==bI||U!==fX)bI=-1.1;uI=$,fX=U}}function TN($){if(0>P4){P4=$6(),zG=$._debugTask!=null?$._debugTask:null,(n$&(Z6|H1))!==V6&&(yI=WG);var U=dY(),Q=lY();U!==UQ||Q!==OG?UQ=-1.1:Q!==null&&(yI=WG),wX=U,OG=Q}if(0>B1&&(B1=$6(),VG=$._debugTask!=null?$._debugTask:null,0>a4)){if($=dY(),U=lY(),$!==bI||U!==fX)bI=-1.1;uI=$,fX=U}}function c4(){var $=xX;return xX=0,$}function GZ($){var U=xX;return xX=$,U}function _Y($){var U=xX;return xX+=$,U}function ZZ(){T$=C$=-1.1}function X1(){var $=C$;return C$=-1.1,$}function J1($){0<=$&&(C$=$)}function X4(){var $=kU;return kU=-0,$}function J4($){0<=$&&(kU=$)}function Q4(){var $=jU;return jU=null,$}function Y4(){var $=fU;return fU=!1,$}function jz($){v6=$6(),0>$.actualStartTime&&($.actualStartTime=v6)}function Bz($){if(0<=v6){var U=$6()-v6;$.actualDuration+=U,$.selfBaseDuration=U,v6=-1}}function pA($){if(0<=v6){var U=$6()-v6;$.actualDuration+=U,v6=-1}}function G4(){if(0<=v6){var $=$6(),U=$-v6;v6=-1,xX+=U,kU+=U,T$=$}}function mA($){jU===null&&(jU=[]),jU.push($),t4===null&&(t4=[]),t4.push($)}function Z4(){v6=$6(),0>C$&&(C$=v6)}function EY($){for(var U=$.child;U;)$.actualDuration+=U.actualDuration,U=U.sibling}function RN($,U){if(DG===null){var Q=DG=[];o9=0,yX=uO(),IQ={status:"pending",value:void 0,then:function(H){Q.push(H)}}}return o9++,U.then(lA,lA),U}function lA(){if(--o9===0&&(-1<B1||(a4=-1.1),DG!==null)){IQ!==null&&(IQ.status="fulfilled");var $=DG;DG=null,yX=0,IQ=null;for(var U=0;U<$.length;U++)(0,$[U])()}}function PN($,U){var Q=[],H={status:"pending",value:null,reason:null,then:function(M){Q.push(M)}};return $.then(function(){H.status="fulfilled",H.value=U;for(var M=0;M<Q.length;M++)(0,Q[M])(U)},function(M){H.status="rejected",H.reason=M;for(M=0;M<Q.length;M++)(0,Q[M])(void 0)}),H}function vz(){var $=uX.current;return $!==null?$:KU.pooledCache}function KZ($,U){U===null?V(uX,uX.current,$):V(uX,U.pool,$)}function dA(){var $=vz();return $===null?null:{parent:eU._currentValue,pool:$}}function nA(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function oA($){return $=$.status,$==="fulfilled"||$==="rejected"}function iA($,U,Q){u0.actQueue!==null&&(u0.didUsePromise=!0);var H=$.thenables;if(Q=H[Q],Q===void 0?H.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(f4,f4),U=Q),U._debugInfo===void 0){$=performance.now(),H=U.displayName;var M={name:typeof H==="string"?H:"Promise",start:$,end:$,value:U};U._debugInfo=[{awaited:M}],U.status!=="fulfilled"&&U.status!=="rejected"&&($=function(){M.end=performance.now()},U.then($,$))}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,tA($),$;default:if(typeof U.status==="string")U.then(f4,f4);else{if($=KU,$!==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(P){if(U.status==="pending"){var k=U;k.status="fulfilled",k.value=P}},function(P){if(U.status==="pending"){var k=U;k.status="rejected",k.reason=P}})}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,tA($),$}throw cX=U,RG=!0,XQ}}function LI($){try{return Yg($)}catch(U){if(U!==null&&typeof U==="object"&&typeof U.then==="function")throw cX=U,RG=!0,XQ;throw U}}function rA(){if(cX===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=cX;return cX=null,RG=!1,$}function tA($){if($===XQ||$===P8)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 D6($){var U=k$;return $!=null&&(k$=U===null?$:U.concat($)),U}function Nz(){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 H=Object.keys($.props),M=0;M<H.length;M++){var P=H[M];if(P!=="children"&&P!=="key"){U===null&&(U=IZ($,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)},P);break}}}function zZ($){var U=PG;return PG+=1,JQ===null&&(JQ=nA()),iA(JQ,$,U)}function SY($,U){U=U.props.ref,$.ref=U!==void 0?U:null}function aA($,U){if(U.$$typeof===b3)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 OZ($,U){var Q=Nz();Q!==null?Q.run(aA.bind(null,$,U)):aA($,U)}function sA($,U){var Q=t($)||"Component";Gq[Q]||(Gq[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 VZ($,U){var Q=Nz();Q!==null?Q.run(sA.bind(null,$,U)):sA($,U)}function eA($,U){var Q=t($)||"Component";Zq[Q]||(Zq[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 HZ($,U){var Q=Nz();Q!==null?Q.run(eA.bind(null,$,U)):eA($,U)}function $C($){function U(K0,H0){if($){var C0=K0.deletions;C0===null?(K0.deletions=[H0],K0.flags|=16):C0.push(H0)}}function Q(K0,H0){if(!$)return null;for(;H0!==null;)U(K0,H0),H0=H0.sibling;return null}function H(K0){for(var H0=new Map;K0!==null;)K0.key!==null?H0.set(K0.key,K0):H0.set(K0.index,K0),K0=K0.sibling;return H0}function M(K0,H0){return K0=y4(K0,H0),K0.index=0,K0.sibling=null,K0}function P(K0,H0,C0){if(K0.index=C0,!$)return K0.flags|=1048576,H0;if(C0=K0.alternate,C0!==null)return C0=C0.index,C0<H0?(K0.flags|=67108866,H0):C0;return K0.flags|=67108866,H0}function k(K0){return $&&K0.alternate===null&&(K0.flags|=67108866),K0}function y(K0,H0,C0,l0){if(H0===null||H0.tag!==6)return H0=Az(C0,K0.mode,l0),H0.return=K0,H0._debugOwner=K0,H0._debugTask=K0._debugTask,H0._debugInfo=k$,H0;return H0=M(H0,C0),H0.return=K0,H0._debugInfo=k$,H0}function l(K0,H0,C0,l0){var O$=C0.type;if(O$===uJ)return H0=R0(K0,H0,C0.props.children,l0,C0.key),WZ(C0,H0,K0),H0;if(H0!==null&&(H0.elementType===O$||vA(H0,C0)||typeof O$==="object"&&O$!==null&&O$.$$typeof===Z1&&LI(O$)===H0.type))return H0=M(H0,C0.props),SY(H0,C0),H0.return=K0,H0._debugOwner=C0._owner,H0._debugInfo=k$,H0;return H0=IZ(C0,K0.mode,l0),SY(H0,C0),H0.return=K0,H0._debugInfo=k$,H0}function o(K0,H0,C0,l0){if(H0===null||H0.tag!==4||H0.stateNode.containerInfo!==C0.containerInfo||H0.stateNode.implementation!==C0.implementation)return H0=Cz(C0,K0.mode,l0),H0.return=K0,H0._debugInfo=k$,H0;return H0=M(H0,C0.children||[]),H0.return=K0,H0._debugInfo=k$,H0}function R0(K0,H0,C0,l0,O$){if(H0===null||H0.tag!==7)return H0=CX(C0,K0.mode,l0,O$),H0.return=K0,H0._debugOwner=K0,H0._debugTask=K0._debugTask,H0._debugInfo=k$,H0;return H0=M(H0,C0),H0.return=K0,H0._debugInfo=k$,H0}function P0(K0,H0,C0){if(typeof H0==="string"&&H0!==""||typeof H0==="number"||typeof H0==="bigint")return H0=Az(""+H0,K0.mode,C0),H0.return=K0,H0._debugOwner=K0,H0._debugTask=K0._debugTask,H0._debugInfo=k$,H0;if(typeof H0==="object"&&H0!==null){switch(H0.$$typeof){case D4:return C0=IZ(H0,K0.mode,C0),SY(C0,H0),C0.return=K0,K0=D6(H0._debugInfo),C0._debugInfo=k$,k$=K0,C0;case yJ:return H0=Cz(H0,K0.mode,C0),H0.return=K0,H0._debugInfo=k$,H0;case Z1:var l0=D6(H0._debugInfo);return H0=LI(H0),K0=P0(K0,H0,C0),k$=l0,K0}if(Y6(H0)||D0(H0))return C0=CX(H0,K0.mode,C0,null),C0.return=K0,C0._debugOwner=K0,C0._debugTask=K0._debugTask,K0=D6(H0._debugInfo),C0._debugInfo=k$,k$=K0,C0;if(typeof H0.then==="function")return l0=D6(H0._debugInfo),K0=P0(K0,zZ(H0),C0),k$=l0,K0;if(H0.$$typeof===F4)return P0(K0,YZ(K0,H0),C0);OZ(K0,H0)}return typeof H0==="function"&&VZ(K0,H0),typeof H0==="symbol"&&HZ(K0,H0),null}function V0(K0,H0,C0,l0){var O$=H0!==null?H0.key:null;if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return O$!==null?null:y(K0,H0,""+C0,l0);if(typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case D4:return C0.key===O$?(O$=D6(C0._debugInfo),K0=l(K0,H0,C0,l0),k$=O$,K0):null;case yJ:return C0.key===O$?o(K0,H0,C0,l0):null;case Z1:return O$=D6(C0._debugInfo),C0=LI(C0),K0=V0(K0,H0,C0,l0),k$=O$,K0}if(Y6(C0)||D0(C0)){if(O$!==null)return null;return O$=D6(C0._debugInfo),K0=R0(K0,H0,C0,l0,null),k$=O$,K0}if(typeof C0.then==="function")return O$=D6(C0._debugInfo),K0=V0(K0,H0,zZ(C0),l0),k$=O$,K0;if(C0.$$typeof===F4)return V0(K0,H0,YZ(K0,C0),l0);OZ(K0,C0)}return typeof C0==="function"&&VZ(K0,C0),typeof C0==="symbol"&&HZ(K0,C0),null}function g0(K0,H0,C0,l0,O$){if(typeof l0==="string"&&l0!==""||typeof l0==="number"||typeof l0==="bigint")return K0=K0.get(C0)||null,y(H0,K0,""+l0,O$);if(typeof l0==="object"&&l0!==null){switch(l0.$$typeof){case D4:return C0=K0.get(l0.key===null?C0:l0.key)||null,K0=D6(l0._debugInfo),H0=l(H0,C0,l0,O$),k$=K0,H0;case yJ:return K0=K0.get(l0.key===null?C0:l0.key)||null,o(H0,K0,l0,O$);case Z1:var q$=D6(l0._debugInfo);return l0=LI(l0),H0=g0(K0,H0,C0,l0,O$),k$=q$,H0}if(Y6(l0)||D0(l0))return C0=K0.get(C0)||null,K0=D6(l0._debugInfo),H0=R0(H0,C0,l0,O$,null),k$=K0,H0;if(typeof l0.then==="function")return q$=D6(l0._debugInfo),H0=g0(K0,H0,C0,zZ(l0),O$),k$=q$,H0;if(l0.$$typeof===F4)return g0(K0,H0,C0,YZ(H0,l0),O$);OZ(H0,l0)}return typeof l0==="function"&&VZ(H0,l0),typeof l0==="symbol"&&HZ(H0,l0),null}function z$(K0,H0,C0,l0){if(typeof C0!=="object"||C0===null)return l0;switch(C0.$$typeof){case D4:case yJ:E(K0,H0,C0);var O$=C0.key;if(typeof O$!=="string")break;if(l0===null){l0=new Set,l0.add(O$);break}if(!l0.has(O$)){l0.add(O$);break}J0(H0,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.",O$)});break;case Z1:C0=LI(C0),z$(K0,H0,C0,l0)}return l0}function D$(K0,H0,C0,l0){for(var O$=null,q$=null,A$=null,L$=H0,v$=H0=0,RU=null;L$!==null&&v$<C0.length;v$++){L$.index>v$?(RU=L$,L$=null):RU=L$.sibling;var sU=V0(K0,L$,C0[v$],l0);if(sU===null){L$===null&&(L$=RU);break}O$=z$(K0,sU,C0[v$],O$),$&&L$&&sU.alternate===null&&U(K0,L$),H0=P(sU,H0,v$),A$===null?q$=sU:A$.sibling=sU,A$=sU,L$=RU}if(v$===C0.length)return Q(K0,L$),p$&&u4(K0,v$),q$;if(L$===null){for(;v$<C0.length;v$++)L$=P0(K0,C0[v$],l0),L$!==null&&(O$=z$(K0,L$,C0[v$],O$),H0=P(L$,H0,v$),A$===null?q$=L$:A$.sibling=L$,A$=L$);return p$&&u4(K0,v$),q$}for(L$=H(L$);v$<C0.length;v$++)RU=g0(L$,K0,v$,C0[v$],l0),RU!==null&&(O$=z$(K0,RU,C0[v$],O$),$&&RU.alternate!==null&&L$.delete(RU.key===null?v$:RU.key),H0=P(RU,H0,v$),A$===null?q$=RU:A$.sibling=RU,A$=RU);return $&&L$.forEach(function(YI){return U(K0,YI)}),p$&&u4(K0,v$),q$}function DU(K0,H0,C0,l0){if(C0==null)throw Error("An iterable object provided no iterator.");for(var O$=null,q$=null,A$=H0,L$=H0=0,v$=null,RU=null,sU=C0.next();A$!==null&&!sU.done;L$++,sU=C0.next()){A$.index>L$?(v$=A$,A$=null):v$=A$.sibling;var YI=V0(K0,A$,sU.value,l0);if(YI===null){A$===null&&(A$=v$);break}RU=z$(K0,YI,sU.value,RU),$&&A$&&YI.alternate===null&&U(K0,A$),H0=P(YI,H0,L$),q$===null?O$=YI:q$.sibling=YI,q$=YI,A$=v$}if(sU.done)return Q(K0,A$),p$&&u4(K0,L$),O$;if(A$===null){for(;!sU.done;L$++,sU=C0.next())A$=P0(K0,sU.value,l0),A$!==null&&(RU=z$(K0,A$,sU.value,RU),H0=P(A$,H0,L$),q$===null?O$=A$:q$.sibling=A$,q$=A$);return p$&&u4(K0,L$),O$}for(A$=H(A$);!sU.done;L$++,sU=C0.next())v$=g0(A$,K0,L$,sU.value,l0),v$!==null&&(RU=z$(K0,v$,sU.value,RU),$&&v$.alternate!==null&&A$.delete(v$.key===null?L$:v$.key),H0=P(v$,H0,L$),q$===null?O$=v$:q$.sibling=v$,q$=v$);return $&&A$.forEach(function(vg){return U(K0,vg)}),p$&&u4(K0,L$),O$}function l$(K0,H0,C0,l0){if(typeof C0==="object"&&C0!==null&&C0.type===uJ&&C0.key===null&&(WZ(C0,null,K0),C0=C0.props.children),typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case D4:var O$=D6(C0._debugInfo);$:{for(var q$=C0.key;H0!==null;){if(H0.key===q$){if(q$=C0.type,q$===uJ){if(H0.tag===7){Q(K0,H0.sibling),l0=M(H0,C0.props.children),l0.return=K0,l0._debugOwner=C0._owner,l0._debugInfo=k$,WZ(C0,l0,K0),K0=l0;break $}}else if(H0.elementType===q$||vA(H0,C0)||typeof q$==="object"&&q$!==null&&q$.$$typeof===Z1&&LI(q$)===H0.type){Q(K0,H0.sibling),l0=M(H0,C0.props),SY(l0,C0),l0.return=K0,l0._debugOwner=C0._owner,l0._debugInfo=k$,K0=l0;break $}Q(K0,H0);break}else U(K0,H0);H0=H0.sibling}C0.type===uJ?(l0=CX(C0.props.children,K0.mode,l0,C0.key),l0.return=K0,l0._debugOwner=K0,l0._debugTask=K0._debugTask,l0._debugInfo=k$,WZ(C0,l0,K0),K0=l0):(l0=IZ(C0,K0.mode,l0),SY(l0,C0),l0.return=K0,l0._debugInfo=k$,K0=l0)}return K0=k(K0),k$=O$,K0;case yJ:$:{O$=C0;for(C0=O$.key;H0!==null;){if(H0.key===C0)if(H0.tag===4&&H0.stateNode.containerInfo===O$.containerInfo&&H0.stateNode.implementation===O$.implementation){Q(K0,H0.sibling),l0=M(H0,O$.children||[]),l0.return=K0,K0=l0;break $}else{Q(K0,H0);break}else U(K0,H0);H0=H0.sibling}l0=Cz(O$,K0.mode,l0),l0.return=K0,K0=l0}return k(K0);case Z1:return O$=D6(C0._debugInfo),C0=LI(C0),K0=l$(K0,H0,C0,l0),k$=O$,K0}if(Y6(C0))return O$=D6(C0._debugInfo),K0=D$(K0,H0,C0,l0),k$=O$,K0;if(D0(C0)){if(O$=D6(C0._debugInfo),q$=D0(C0),typeof q$!=="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$=q$.call(C0);if(A$===C0){if(K0.tag!==0||Object.prototype.toString.call(K0.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(A$)!=="[object Generator]")Qq||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."),Qq=!0}else C0.entries!==q$||a9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),a9=!0);return K0=DU(K0,H0,A$,l0),k$=O$,K0}if(typeof C0.then==="function")return O$=D6(C0._debugInfo),K0=l$(K0,H0,zZ(C0),l0),k$=O$,K0;if(C0.$$typeof===F4)return l$(K0,H0,YZ(K0,C0),l0);OZ(K0,C0)}if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return O$=""+C0,H0!==null&&H0.tag===6?(Q(K0,H0.sibling),l0=M(H0,O$),l0.return=K0,K0=l0):(Q(K0,H0),l0=Az(O$,K0.mode,l0),l0.return=K0,l0._debugOwner=K0,l0._debugTask=K0._debugTask,l0._debugInfo=k$,K0=l0),k(K0);return typeof C0==="function"&&VZ(K0,C0),typeof C0==="symbol"&&HZ(K0,C0),Q(K0,H0)}return function(K0,H0,C0,l0){var O$=k$;k$=null;try{PG=0;var q$=l$(K0,H0,C0,l0);return JQ=null,q$}catch(RU){if(RU===XQ||RU===P8)throw RU;var A$=q(29,RU,null,K0.mode);A$.lanes=l0,A$.return=K0;var L$=A$._debugInfo=k$;if(A$._debugOwner=K0._debugOwner,A$._debugTask=K0._debugTask,L$!=null){for(var v$=L$.length-1;0<=v$;v$--)if(typeof L$[v$].stack==="string"){A$._debugOwner=L$[v$],A$._debugTask=L$[v$].debugTask;break}}return A$}finally{k$=O$}}}function UC($,U){var Q=Y6($);return $=!Q&&typeof D0($)==="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 kz($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gz($,U){$=$.updateQueue,U.updateQueue===$&&(U.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function MI($){return{lane:$,tag:Wq,payload:null,callback:null,next:null}}function AI($,U,Q){var H=$.updateQueue;if(H===null)return null;if(H=H.shared,e9===H&&!Vq){var M=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`,M),Vq=!0}if((n$&Z6)!==V6)return M=H.pending,M===null?U.next=U:(U.next=M.next,M.next=U),H.pending=U,U=UZ($),BA($,null,Q),U;return $Z($,H,U,Q),UZ($)}function jY($,U,Q){if(U=U.updateQueue,U!==null&&(U=U.shared,(Q&4194048)!==0)){var H=U.lanes;H&=$.pendingLanes,Q|=H,U.lanes=Q,h0($,Q)}}function DZ($,U){var{updateQueue:Q,alternate:H}=$;if(H!==null&&(H=H.updateQueue,Q===H)){var M=null,P=null;if(Q=Q.firstBaseUpdate,Q!==null){do{var k={lane:Q.lane,tag:Q.tag,payload:Q.payload,callback:null,next:null};P===null?M=P=k:P=P.next=k,Q=Q.next}while(Q!==null);P===null?M=P=U:P=P.next=U}else M=P=U;Q={baseState:H.baseState,firstBaseUpdate:M,lastBaseUpdate:P,shared:H.shared,callbacks:H.callbacks},$.updateQueue=Q;return}$=Q.lastBaseUpdate,$===null?Q.firstBaseUpdate=U:$.next=U,Q.lastBaseUpdate=U}function BY(){if($V){var $=IQ;if($!==null)throw $}}function vY($,U,Q,H){$V=!1;var M=$.updateQueue;cI=!1,e9=M.shared;var{firstBaseUpdate:P,lastBaseUpdate:k}=M,y=M.shared.pending;if(y!==null){M.shared.pending=null;var l=y,o=l.next;l.next=null,k===null?P=o:k.next=o,k=l;var R0=$.alternate;R0!==null&&(R0=R0.updateQueue,y=R0.lastBaseUpdate,y!==k&&(y===null?R0.firstBaseUpdate=o:y.next=o,R0.lastBaseUpdate=l))}if(P!==null){var P0=M.baseState;k=0,R0=o=l=null,y=P;do{var V0=y.lane&-536870913,g0=V0!==y.lane;if(g0?(g$&V0)===V0:(H&V0)===V0){V0!==0&&V0===yX&&($V=!0),R0!==null&&(R0=R0.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});$:{V0=$;var z$=y,D$=U,DU=Q;switch(z$.tag){case zq:if(z$=z$.payload,typeof z$==="function"){$Q=!0;var l$=z$.call(DU,P0,D$);if(V0.mode&P6){N0(!0);try{z$.call(DU,P0,D$)}finally{N0(!1)}}$Q=!1,P0=l$;break $}P0=z$;break $;case s9:V0.flags=V0.flags&-65537|128;case Wq:if(l$=z$.payload,typeof l$==="function"){if($Q=!0,z$=l$.call(DU,P0,D$),V0.mode&P6){N0(!0);try{l$.call(DU,P0,D$)}finally{N0(!1)}}$Q=!1}else z$=l$;if(z$===null||z$===void 0)break $;P0=y$({},P0,z$);break $;case Oq:cI=!0}}V0=y.callback,V0!==null&&($.flags|=64,g0&&($.flags|=8192),g0=M.callbacks,g0===null?M.callbacks=[V0]:g0.push(V0))}else g0={lane:V0,tag:y.tag,payload:y.payload,callback:y.callback,next:null},R0===null?(o=R0=g0,l=P0):R0=R0.next=g0,k|=V0;if(y=y.next,y===null)if(y=M.shared.pending,y===null)break;else g0=y,y=g0.next,g0.next=null,M.lastBaseUpdate=g0,M.shared.pending=null}while(1);R0===null&&(l=P0),M.baseState=l,M.firstBaseUpdate=o,M.lastBaseUpdate=R0,P===null&&(M.shared.lanes=0),mI|=k,$.lanes=k,$.memoizedState=P0}e9=null}function IC($,U){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(U)}function qN($,U){var Q=$.shared.hiddenCallbacks;if(Q!==null)for($.shared.hiddenCallbacks=null,$=0;$<Q.length;$++)IC(Q[$],U)}function XC($,U){var Q=$.callbacks;if(Q!==null)for($.callbacks=null,$=0;$<Q.length;$++)IC(Q[$],U)}function JC($,U){var Q=E4;V(_8,Q,$),V(QQ,U,$),E4=Q|U.baseLanes}function xz($){V(_8,E4,$),V(QQ,QQ.current,$)}function wz($){E4=_8.current,G(QQ,$),G(_8,$)}function CI($){var U=$.alternate;V(aU,aU.current&YQ,$),V(O1,$,$),v1===null&&(U===null||QQ.current!==null?v1=$:U.memoizedState!==null&&(v1=$))}function fz($){V(aU,aU.current,$),V(O1,$,$),v1===null&&(v1=$)}function QC($){$.tag===22?(V(aU,aU.current,$),V(O1,$,$),v1===null&&(v1=$)):TI($)}function TI($){V(aU,aU.current,$),V(O1,O1.current,$)}function Q1($){G(O1,$),v1===$&&(v1=null),G(aU,$)}function FZ($){for(var U=$;U!==null;){if(U.tag===13){var Q=U.memoizedState;if(Q!==null&&(Q=Q.dehydrated,Q===null||rO(Q)||tO(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 $=f0;k1===null?k1=[$]:k1.push($)}function G$(){var $=f0;if(k1!==null&&(UI++,k1[UI]!==$)){var U=t(P$);if(!Hq.has(U)&&(Hq.add(U),k1!==null)){for(var Q="",H=0;H<=UI;H++){var M=k1[H],P=H===UI?$:M;for(M=H+1+". "+M;30>M.length;)M+=" ";M+=P+`
103
+ `,Q+=M}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 qJ($){$===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.",f0,typeof $)}function LZ(){var $=t(P$);Fq.has($)||(Fq.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 yz($,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.",f0),!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`,f0,"["+U.join(", ")+"]","["+$.join(", ")+"]");for(var Q=0;Q<U.length&&Q<$.length;Q++)if(!B6($[Q],U[Q]))return!1;return!0}function uz($,U,Q,H,M,P){if(e4=P,P$=U,k1=$!==null?$._debugHookTypes:null,UI=-1,EG=$!==null&&$.type!==U.type,Object.prototype.toString.call(Q)==="[object AsyncFunction]"||Object.prototype.toString.call(Q)==="[object AsyncGeneratorFunction]")P=t(P$),UV.has(P)||(UV.add(P),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.",P===null?"An unknown Component":"<"+P+">"));U.memoizedState=null,U.updateQueue=null,U.lanes=0,u0.H=$!==null&&$.memoizedState!==null?XV:k1!==null?Lq:IV,pX=P=(U.mode&P6)!==R$;var k=i9(Q,H,M);if(pX=!1,ZQ&&(k=bz(U,Q,H,M)),P){N0(!0);try{k=bz(U,Q,H,M)}finally{N0(!1)}}return YC($,U),k}function YC($,U){U._debugHookTypes=k1,U.dependencies===null?$I!==null&&(U.dependencies={lanes:0,firstContext:null,_debugThenableState:$I}):U.dependencies._debugThenableState=$I,u0.H=SG;var Q=ZU!==null&&ZU.next!==null;if(e4=0,k1=f0=U6=ZU=P$=null,UI=-1,$!==null&&($.flags&65011712)!==(U.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),S8=!1,_G=0,$I=null,Q)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||I6||($=$.dependencies,$!==null&&QZ($)&&(I6=!0)),RG?(RG=!1,$=!0):$=!1,$&&(U=t(U)||"Unknown",Dq.has(U)||UV.has(U)||(Dq.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 bz($,U,Q,H){P$=$;var M=0;do{if(ZQ&&($I=null),_G=0,ZQ=!1,M>=Zg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(M+=1,EG=!1,U6=ZU=null,$.updateQueue!=null){var P=$.updateQueue;P.lastEffect=null,P.events=null,P.stores=null,P.memoCache!=null&&(P.memoCache.index=0)}UI=-1,u0.H=Mq,P=i9(U,Q,H)}while(ZQ);return P}function _N(){var $=u0.H,U=$.useState()[0];return U=typeof U.then==="function"?NY(U):U,$=$.useState()[0],(ZU!==null?ZU.memoizedState:null)!==$&&(P$.flags|=1024),U}function cz(){var $=j8!==0;return j8=0,$}function hz($,U,Q){U.updateQueue=$.updateQueue,U.flags=(U.mode&m1)!==R$?U.flags&-402655237:U.flags&-2053,$.lanes&=~Q}function pz($){if(S8){for($=$.memoizedState;$!==null;){var U=$.queue;U!==null&&(U.pending=null),$=$.next}S8=!1}e4=0,k1=U6=ZU=P$=null,UI=-1,f0=null,ZQ=!1,_G=j8=0,$I=null}function _6(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return U6===null?P$.memoizedState=U6=$:U6=U6.next=$,U6}function IU(){if(ZU===null){var $=P$.alternate;$=$!==null?$.memoizedState:null}else $=ZU.next;var U=U6===null?P$.memoizedState:U6.next;if(U!==null)U6=U,ZU=$;else{if($===null){if(P$.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.")}ZU=$,$={memoizedState:ZU.memoizedState,baseState:ZU.baseState,baseQueue:ZU.baseQueue,queue:ZU.queue,next:null},U6===null?P$.memoizedState=U6=$:U6=U6.next=$}return U6}function MZ(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function NY($){var U=_G;return _G+=1,$I===null&&($I=nA()),$=iA($I,$,U),U=P$,(U6===null?U.memoizedState:U6.next)===null&&(U=U.alternate,u0.H=U!==null&&U.memoizedState!==null?XV:IV),$}function RI($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return NY($);if($.$$typeof===F4)return SU($)}throw Error("An unsupported type was passed to use(): "+String($))}function _X($){var U=null,Q=P$.updateQueue;if(Q!==null&&(U=Q.memoCache),U==null){var H=P$.alternate;H!==null&&(H=H.updateQueue,H!==null&&(H=H.memoCache,H!=null&&(U={data:H.data.map(function(M){return M.slice()}),index:0})))}if(U==null&&(U={data:[],index:0}),Q===null&&(Q=MZ(),P$.updateQueue=Q),Q.memoCache=U,Q=U.data[U.index],Q===void 0||EG)for(Q=U.data[U.index]=Array($),H=0;H<$;H++)Q[H]=c3;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 b1($,U){return typeof U==="function"?U($):U}function mz($,U,Q){var H=_6();if(Q!==void 0){var M=Q(U);if(pX){N0(!0);try{Q(U)}finally{N0(!1)}}}else M=U;return H.memoizedState=H.baseState=M,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:M},H.queue=$,$=$.dispatch=vN.bind(null,P$,$),[H.memoizedState,$]}function _J($){var U=IU();return lz(U,ZU,$)}function lz($,U,Q){var H=$.queue;if(H===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");H.lastRenderedReducer=Q;var M=$.baseQueue,P=H.pending;if(P!==null){if(M!==null){var k=M.next;M.next=P.next,P.next=k}U.baseQueue!==M&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),U.baseQueue=M=P,H.pending=null}if(P=$.baseState,M===null)$.memoizedState=P;else{U=M.next;var y=k=null,l=null,o=U,R0=!1;do{var P0=o.lane&-536870913;if(P0!==o.lane?(g$&P0)===P0:(e4&P0)===P0){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}),P0===yX&&(R0=!0);else if((e4&V0)===V0){o=o.next,V0===yX&&(R0=!0);continue}else P0={lane:0,revertLane:o.revertLane,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(y=l=P0,k=P):l=l.next=P0,P$.lanes|=V0,mI|=V0;P0=o.action,pX&&Q(P,P0),P=o.hasEagerState?o.eagerState:Q(P,P0)}else V0={lane:P0,revertLane:o.revertLane,gesture:o.gesture,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(y=l=V0,k=P):l=l.next=V0,P$.lanes|=P0,mI|=P0;o=o.next}while(o!==null&&o!==U);if(l===null?k=P:l.next=y,!B6(P,$.memoizedState)&&(I6=!0,R0&&(Q=IQ,Q!==null)))throw Q;$.memoizedState=P,$.baseState=k,$.baseQueue=l,H.lastRenderedState=P}return M===null&&(H.lanes=0),[$.memoizedState,H.dispatch]}function kY($){var U=IU(),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:H,pending:M}=Q,P=U.memoizedState;if(M!==null){Q.pending=null;var k=M=M.next;do P=$(P,k.action),k=k.next;while(k!==M);B6(P,U.memoizedState)||(I6=!0),U.memoizedState=P,U.baseQueue===null&&(U.baseState=P),Q.lastRenderedState=P}return[P,H]}function dz($,U,Q){var H=P$,M=_6();if(p$){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var P=Q();GQ||P===Q()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),GQ=!0)}else{if(P=U(),GQ||(Q=U(),B6(P,Q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),GQ=!0)),KU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(g$&127)!==0||GC(H,U,P)}return M.memoizedState=P,Q={value:P,getSnapshot:U},M.queue=Q,RZ(KC.bind(null,H,Q,$),[$]),H.flags|=2048,SJ(N1|k6,{destroy:void 0},ZC.bind(null,H,Q,P,U),null),P}function AZ($,U,Q){var H=P$,M=IU(),P=p$;if(P){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((ZU||M).memoizedState,Q))M.memoizedState=Q,I6=!0;M=M.queue;var y=KC.bind(null,H,M,$);if(m6(2048,k6,y,[$]),M.getSnapshot!==U||k||U6!==null&&U6.memoizedState.tag&N1){if(H.flags|=2048,SJ(N1|k6,{destroy:void 0},ZC.bind(null,H,M,Q,U),null),KU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");P||(e4&127)!==0||GC(H,U,Q)}return Q}function GC($,U,Q){$.flags|=16384,$={getSnapshot:U,value:Q},U=P$.updateQueue,U===null?(U=MZ(),P$.updateQueue=U,U.stores=[$]):(Q=U.stores,Q===null?U.stores=[$]:Q.push($))}function ZC($,U,Q,H){U.value=Q,U.getSnapshot=H,WC(U)&&zC($)}function KC($,U,Q){return Q(function(){WC(U)&&(I4(2,"updateSyncExternalStore()",$),zC($))})}function WC($){var U=$.getSnapshot;$=$.value;try{var Q=U();return!B6($,Q)}catch(H){return!0}}function zC($){var U=T6($,2);U!==null&&wU(U,$,2)}function nz($){var U=_6();if(typeof $==="function"){var Q=$;if($=Q(),pX){N0(!0);try{Q()}finally{N0(!1)}}}return U.memoizedState=U.baseState=$,U.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:b1,lastRenderedState:$},U}function oz($){$=nz($);var U=$.queue,Q=vC.bind(null,P$,U);return U.dispatch=Q,[$.memoizedState,Q]}function iz($){var U=_6();U.memoizedState=U.baseState=$;var Q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return U.queue=Q,U=ZO.bind(null,P$,!0,Q),Q.dispatch=U,[$,U]}function OC($,U){var Q=IU();return VC(Q,ZU,$,U)}function VC($,U,Q,H){return $.baseState=Q,lz($,ZU,typeof H==="function"?H:b1)}function HC($,U){var Q=IU();if(ZU!==null)return VC(Q,ZU,$,U);return Q.baseState=$,[$,Q.queue.dispatch]}function EN($,U,Q,H,M){if(jZ($))throw Error("Cannot update form state while rendering.");if($=U.action,$!==null){var P={payload:M,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){P.listeners.push(k)}};u0.T!==null?Q(!0):P.isTransition=!1,H(P),Q=U.pending,Q===null?(P.next=U.pending=P,DC(U,P)):(P.next=Q.next,U.pending=Q.next=P)}}function DC($,U){var{action:Q,payload:H}=U,M=$.state;if(U.isTransition){var P=u0.T,k={};k._updatedFibers=new Set,u0.T=k;try{var y=Q(M,H),l=u0.S;l!==null&&l(k,y),FC($,U,y)}catch(o){rz($,U,o)}finally{P!==null&&k.types!==null&&(P.types!==null&&P.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."),P.types=k.types),u0.T=P,P===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(M,H),FC($,U,k)}catch(o){rz($,U,o)}}function FC($,U,Q){Q!==null&&typeof Q==="object"&&typeof Q.then==="function"?(u0.asyncTransitions++,Q.then(SZ,SZ),Q.then(function(H){LC($,U,H)},function(H){return rz($,U,H)}),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.")):LC($,U,Q)}function LC($,U,Q){U.status="fulfilled",U.value=Q,MC(U),$.state=Q,U=$.pending,U!==null&&(Q=U.next,Q===U?$.pending=null:(Q=Q.next,U.next=Q,DC($,Q)))}function rz($,U,Q){var H=$.pending;if($.pending=null,H!==null){H=H.next;do U.status="rejected",U.reason=Q,MC(U),U=U.next;while(U!==H)}$.action=null}function MC($){$=$.listeners;for(var U=0;U<$.length;U++)(0,$[U])()}function AC($,U){return U}function EJ($,U){if(p$){var Q=KU.formState;if(Q!==null){$:{var H=P$;if(p$){if(TU){U:{var M=TU;for(var P=j1;M.nodeType!==8;){if(!P){M=null;break U}if(M=G1(M.nextSibling),M===null){M=null;break U}}P=M.data,M=P===EV||P===X_?M:null}if(M){TU=G1(M.nextSibling),H=M.data===EV;break $}}DI(H)}H=!1}H&&(U=Q[0])}}return Q=_6(),Q.memoizedState=Q.baseState=U,H={pending:null,lanes:0,dispatch:null,lastRenderedReducer:AC,lastRenderedState:U},Q.queue=H,Q=vC.bind(null,P$,H),H.dispatch=Q,H=nz(!1),P=ZO.bind(null,P$,!1,H.queue),H=_6(),M={state:U,dispatch:null,action:$,pending:null},H.queue=M,Q=EN.bind(null,P$,M,P,Q),M.dispatch=Q,H.memoizedState=$,[U,Q,!1]}function CZ($){var U=IU();return CC(U,ZU,$)}function CC($,U,Q){if(U=lz($,U,AC)[0],$=_J(b1)[0],typeof U==="object"&&U!==null&&typeof U.then==="function")try{var H=NY(U)}catch(k){if(k===XQ)throw P8;throw k}else H=U;U=IU();var M=U.queue,P=M.dispatch;return Q!==U.memoizedState&&(P$.flags|=2048,SJ(N1|k6,{destroy:void 0},SN.bind(null,M,Q),null)),[H,P,$]}function SN($,U){$.action=U}function TZ($){var U=IU(),Q=ZU;if(Q!==null)return CC(U,Q,$);IU(),U=U.memoizedState,Q=IU();var H=Q.queue.dispatch;return Q.memoizedState=$,[U,H,!1]}function SJ($,U,Q,H){return $={tag:$,create:Q,deps:H,inst:U,next:null},U=P$.updateQueue,U===null&&(U=MZ(),P$.updateQueue=U),Q=U.lastEffect,Q===null?U.lastEffect=$.next=$:(H=Q.next,Q.next=$,$.next=H,U.lastEffect=$),$}function tz($){var U=_6();return $={current:$},U.memoizedState=$}function EX($,U,Q,H){var M=_6();P$.flags|=$,M.memoizedState=SJ(N1|U,{destroy:void 0},Q,H===void 0?null:H)}function m6($,U,Q,H){var M=IU();H=H===void 0?null:H;var P=M.memoizedState.inst;ZU!==null&&H!==null&&yz(H,ZU.memoizedState.deps)?M.memoizedState=SJ(U,P,Q,H):(P$.flags|=$,M.memoizedState=SJ(N1|U,P,Q,H))}function RZ($,U){(P$.mode&m1)!==R$?EX(276826112,k6,$,U):EX(8390656,k6,$,U)}function jN($){P$.flags|=4;var U=P$.updateQueue;if(U===null)U=MZ(),P$.updateQueue=U,U.events=[$];else{var Q=U.events;Q===null?U.events=[$]:Q.push($)}}function az($){var U=_6(),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 PZ($){var U=IU().memoizedState;return jN({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 sz($,U){var Q=4194308;return(P$.mode&m1)!==R$&&(Q|=134217728),EX(Q,V1,$,U)}function TC($,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 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;var H=4194308;(P$.mode&m1)!==R$&&(H|=134217728),EX(H,V1,TC.bind(null,U,$),Q)}function qZ($,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,V1,TC.bind(null,U,$),Q)}function $O($,U){return _6().memoizedState=[$,U===void 0?null:U],$}function _Z($,U){var Q=IU();U=U===void 0?null:U;var H=Q.memoizedState;if(U!==null&&yz(U,H[1]))return H[0];return Q.memoizedState=[$,U],$}function UO($,U){var Q=_6();U=U===void 0?null:U;var H=$();if(pX){N0(!0);try{$()}finally{N0(!1)}}return Q.memoizedState=[H,U],H}function EZ($,U){var Q=IU();U=U===void 0?null:U;var H=Q.memoizedState;if(U!==null&&yz(U,H[1]))return H[0];if(H=$(),pX){N0(!0);try{$()}finally{N0(!1)}}return Q.memoizedState=[H,U],H}function IO($,U){var Q=_6();return XO(Q,$,U)}function RC($,U){var Q=IU();return qC(Q,ZU.memoizedState,$,U)}function PC($,U){var Q=IU();return ZU===null?XO(Q,$,U):qC(Q,ZU.memoizedState,$,U)}function XO($,U,Q){if(Q===void 0||(e4&1073741824)!==0&&(g$&261930)===0)return $.memoizedState=U;return $.memoizedState=Q,$=_T(),P$.lanes|=$,mI|=$,Q}function qC($,U,Q,H){if(B6(Q,U))return Q;if(QQ.current!==null)return $=XO($,Q,H),B6($,U)||(I6=!0),$;if((e4&42)===0||(e4&1073741824)!==0&&(g$&261930)===0)return I6=!0,$.memoizedState=Q;return $=_T(),P$.lanes|=$,mI|=$,U}function SZ(){u0.asyncTransitions--}function _C($,U,Q,H,M){var P=s$.p;s$.p=P!==0&&P<p1?P:p1;var k=u0.T,y={};y._updatedFibers=new Set,u0.T=y,ZO($,!1,U,Q);try{var l=M(),o=u0.S;if(o!==null&&o(y,l),l!==null&&typeof l==="object"&&typeof l.then==="function"){u0.asyncTransitions++,l.then(SZ,SZ);var R0=PN(l,H);gY($,U,R0,Y1($))}else gY($,U,H,Y1($))}catch(P0){gY($,U,{then:function(){},status:"rejected",reason:P0},Y1($))}finally{s$.p=P,k!==null&&y.types!==null&&(k.types!==null&&k.types!==y.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=y.types),u0.T=k,k===null&&y._updatedFibers&&($=y._updatedFibers.size,y._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 JO($,U,Q,H){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var M=EC($).queue;TN($),_C($,M,U,eX,Q===null?_:function(){return SC($),Q(H)})}function EC($){var U=$.memoizedState;if(U!==null)return U;U={memoizedState:eX,baseState:eX,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:b1,lastRenderedState:eX},next:null};var Q={};return U.next={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:b1,lastRenderedState:Q},next:null},$.memoizedState=U,$=$.alternate,$!==null&&($.memoizedState=U),U}function SC($){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=EC($);U.next===null&&(U=$.alternate.memoizedState),gY($,U.next.queue,{},Y1($))}function QO(){var $=nz(!1);return $=_C.bind(null,P$,$.queue,!0,!1),_6().memoizedState=$,[!1,$]}function jC(){var $=_J(b1)[0],U=IU().memoizedState;return[typeof $==="boolean"?$:NY($),U]}function BC(){var $=kY(b1)[0],U=IU().memoizedState;return[typeof $==="boolean"?$:NY($),U]}function SX(){return SU(pG)}function YO(){var $=_6(),U=KU.identifierPrefix;if(p$){var Q=i4,H=o4;Q=(H&~(1<<32-E6(H)-1)).toString(32)+Q,U="_"+U+"R_"+Q,Q=j8++,0<Q&&(U+="H"+Q.toString(32)),U+="_"}else Q=Gg++,U="_"+U+"r_"+Q.toString(32)+"_";return $.memoizedState=U}function GO(){return _6().memoizedState=BN.bind(null,P$)}function BN($,U){for(var Q=$.return;Q!==null;){switch(Q.tag){case 24:case 3:var H=Y1(Q),M=MI(H),P=AI(Q,M,H);P!==null&&(I4(H,"refresh()",$),wU(P,Q,H),jY(P,Q,H)),$=Sz(),U!==null&&U!==void 0&&P!==null&&console.error("The seed argument is not enabled outside experimental channels."),M.payload={cache:$};return}Q=Q.return}}function vN($,U,Q){var H=arguments;typeof H[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()."),H=Y1($);var M={lane:H,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};jZ($)?NC(U,M):(M=Dz($,U,M,H),M!==null&&(I4(H,"dispatch()",$),wU(M,$,H),kC(M,U,H)))}function vC($,U,Q){var H=arguments;typeof H[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()."),H=Y1($),gY($,U,Q,H)&&I4(H,"setState()",$)}function gY($,U,Q,H){var M={lane:H,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};if(jZ($))NC(U,M);else{var P=$.alternate;if($.lanes===0&&(P===null||P.lanes===0)&&(P=U.lastRenderedReducer,P!==null)){var k=u0.H;u0.H=d1;try{var y=U.lastRenderedState,l=P(y,Q);if(M.hasEagerState=!0,M.eagerState=l,B6(l,y))return $Z($,U,M,0),KU===null&&e2(),!1}catch(o){}finally{u0.H=k}}if(Q=Dz($,U,M,H),Q!==null)return wU(Q,$,H),kC(Q,U,H),!0}return!1}function ZO($,U,Q,H){if(u0.T===null&&yX===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."),H={lane:2,revertLane:uO(),gesture:null,action:H,hasEagerState:!1,eagerState:null,next:null},jZ($)){if(U)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else U=Dz($,Q,H,2),U!==null&&(I4(2,"setOptimistic()",$),wU(U,$,2))}function jZ($){var U=$.alternate;return $===P$||U!==null&&U===P$}function NC($,U){ZQ=S8=!0;var Q=$.pending;Q===null?U.next=U:(U.next=Q.next,Q.next=U),$.pending=U}function kC($,U,Q){if((Q&4194048)!==0){var H=U.lanes;H&=$.pendingLanes,Q|=H,U.lanes=Q,h0($,Q)}}function KO($){if($!==null&&typeof $!=="function"){var U=String($);Bq.has(U)||(Bq.add(U),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function WO($,U,Q,H){var M=$.memoizedState,P=Q(H,M);if($.mode&P6){N0(!0);try{P=Q(H,M)}finally{N0(!1)}}P===void 0&&(U=L0(U)||"Component",_q.has(U)||(_q.add(U),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",U))),M=P===null||P===void 0?M:y$({},M,P),$.memoizedState=M,$.lanes===0&&($.updateQueue.baseState=M)}function gC($,U,Q,H,M,P,k){var y=$.stateNode;if(typeof y.shouldComponentUpdate==="function"){if(Q=y.shouldComponentUpdate(H,P,k),$.mode&P6){N0(!0);try{Q=y.shouldComponentUpdate(H,P,k)}finally{N0(!1)}}return Q===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",L0(U)||"Component"),Q}return U.prototype&&U.prototype.isPureReactComponent?!TY(Q,H)||!TY(M,P):!0}function xC($,U,Q,H){var M=U.state;typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps(Q,H),typeof U.UNSAFE_componentWillReceiveProps==="function"&&U.UNSAFE_componentWillReceiveProps(Q,H),U.state!==M&&($=t($)||"Component",Cq.has($)||(Cq.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),JV.enqueueReplaceState(U,U.state,null))}function jX($,U){var Q=U;if("ref"in U){Q={};for(var H in U)H!=="ref"&&(Q[H]=U[H])}if($=$.defaultProps){Q===U&&(Q=y$({},Q));for(var M in $)Q[M]===void 0&&(Q[M]=$[M])}return Q}function wC($){w9($),console.warn(`%s
116
+
117
+ %s
118
+ `,KQ?"An error occurred in the <"+KQ+"> 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 fC($){var U=KQ?"The above error occurred in the <"+KQ+"> 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, "+((QV||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var H=$.environmentName;$=[`%o
120
+
121
+ %s
122
+
123
+ %s
124
+ `,$,U,Q].slice(0),typeof $[0]==="string"?$.splice(0,1,z_+" "+$[0],O_,e8+H+e8,V_):$.splice(0,0,z_,O_,e8+H+e8,V_),$.unshift(console),H=jg.apply(console.error,$),H()}else console.error(`%o
125
+
126
+ %s
127
+
128
+ %s
129
+ `,$,U,Q)}function yC($){w9($)}function BZ($,U){try{KQ=U.source?t(U.source):null,QV=null;var Q=U.value;if(u0.actQueue!==null)u0.thrownErrors.push(Q);else{var H=$.onUncaughtError;H(Q,{componentStack:U.stack})}}catch(M){setTimeout(function(){throw M})}}function uC($,U,Q){try{KQ=Q.source?t(Q.source):null,QV=t(U);var H=$.onCaughtError;H(Q.value,{componentStack:Q.stack,errorBoundary:U.tag===1?U.stateNode:null})}catch(M){setTimeout(function(){throw M})}}function zO($,U,Q){return Q=MI(Q),Q.tag=s9,Q.payload={element:null},Q.callback=function(){J0(U.source,BZ,$,U)},Q}function OO($){return $=MI($),$.tag=s9,$}function VO($,U,Q,H){var M=Q.type.getDerivedStateFromError;if(typeof M==="function"){var P=H.value;$.payload=function(){return M(P)},$.callback=function(){NA(Q),J0(H.source,uC,U,Q,H)}}var k=Q.stateNode;k!==null&&typeof k.componentDidCatch==="function"&&($.callback=function(){NA(Q),J0(H.source,uC,U,Q,H),typeof M!=="function"&&(dI===null?dI=new Set([this]):dI.add(this)),Xg(this,H),typeof M==="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 NN($,U,Q,H,M){if(Q.flags|=32768,A4&&hY($,M),H!==null&&typeof H==="object"&&typeof H.then==="function"){if(U=Q.alternate,U!==null&&PJ(U,Q,M,!0),p$&&(R4=!0),Q=O1.current,Q!==null){switch(Q.tag){case 31:case 13:return v1===null?uZ():Q.alternate===null&&gU===XI&&(gU=N8),Q.flags&=-257,Q.flags|=65536,Q.lanes=M,H===q8?Q.flags|=16384:(U=Q.updateQueue,U===null?Q.updateQueue=new Set([H]):U.add(H),xO($,H,M)),!1;case 22:return Q.flags|=65536,H===q8?Q.flags|=16384:(U=Q.updateQueue,U===null?(U={transitions:null,markerInstances:null,retryQueue:new Set([H])},Q.updateQueue=U):(Q=U.retryQueue,Q===null?U.retryQueue=new Set([H]):Q.add(H)),xO($,H,M)),!1}throw Error("Unexpected Suspense handler tag ("+Q.tag+"). This is a bug in React.")}return xO($,H,M),uZ(),!1}if(p$)return R4=!0,U=O1.current,U!==null?((U.flags&65536)===0&&(U.flags|=256),U.flags|=65536,U.lanes=M,H!==h9&&PY(I1(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:H}),Q))):(H!==h9&&PY(I1(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:H}),Q)),$=$.current.alternate,$.flags|=65536,M&=-M,$.lanes|=M,H=I1(H,Q),M=zO($.stateNode,H,M),DZ($,M),gU!==hI&&(gU=mX)),!1;var P=I1(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:H}),Q);if(gG===null?gG=[P]:gG.push(P),gU!==hI&&(gU=mX),U===null)return!0;H=I1(H,Q),Q=U;do{switch(Q.tag){case 3:return Q.flags|=65536,$=M&-M,Q.lanes|=$,$=zO(Q.stateNode,H,$),DZ(Q,$),!1;case 1:if(U=Q.type,P=Q.stateNode,(Q.flags&128)===0&&(typeof U.getDerivedStateFromError==="function"||P!==null&&typeof P.componentDidCatch==="function"&&(dI===null||!dI.has(P))))return Q.flags|=65536,M&=-M,Q.lanes|=M,M=OO(M),VO(M,$,Q,H),DZ(Q,M),!1}Q=Q.return}while(Q!==null);return!1}function F6($,U,Q,H){U.child=$===null?Kq(U,null,Q,H):hX(U,$.child,Q,H)}function bC($,U,Q,H,M){Q=Q.render;var P=U.ref;if("ref"in H){var k={};for(var y in H)y!=="ref"&&(k[y]=H[y])}else k=H;if(PX(U),H=uz($,U,Q,k,P,M),y=cz(),$!==null&&!I6)return hz($,U,M),h4($,U,M);return p$&&y&&Tz(U),U.flags|=1,F6($,U,H,M),U.child}function cC($,U,Q,H,M){if($===null){var P=Q.type;if(typeof P==="function"&&!Lz(P)&&P.defaultProps===void 0&&Q.compare===null)return Q=AX(P),U.tag=15,U.type=Q,DO(U,P),hC($,U,Q,H,M);return $=Mz(Q.type,null,H,U,U.mode,M),$.ref=U.ref,$.return=U,U.child=$}if(P=$.child,!TO($,M)){var k=P.memoizedProps;if(Q=Q.compare,Q=Q!==null?Q:TY,Q(k,H)&&$.ref===U.ref)return h4($,U,M)}return U.flags|=1,$=y4(P,H),$.ref=U.ref,$.return=U,U.child=$}function hC($,U,Q,H,M){if($!==null){var P=$.memoizedProps;if(TY(P,H)&&$.ref===U.ref&&U.type===$.type)if(I6=!1,U.pendingProps=H=P,TO($,M))($.flags&131072)!==0&&(I6=!0);else return U.lanes=$.lanes,h4($,U,M)}return HO($,U,Q,H,M)}function pC($,U,Q,H){var M=H.children,P=$!==null?$.memoizedState:null;if($===null&&U.stateNode===null&&(U.stateNode={_visibility:ZG,_pendingMarkers:null,_retryCache:null,_transitions:null}),H.mode==="hidden"){if((U.flags&128)!==0){if(P=P!==null?P.baseLanes|Q:Q,$!==null){H=U.child=$.child;for(M=0;H!==null;)M=M|H.lanes|H.childLanes,H=H.sibling;H=M&~P}else H=0,U.child=null;return mC($,U,P,Q,H)}if((Q&536870912)!==0)U.memoizedState={baseLanes:0,cachePool:null},$!==null&&KZ(U,P!==null?P.cachePool:null),P!==null?JC(U,P):xz(U),QC(U);else return H=U.lanes=536870912,mC($,U,P!==null?P.baseLanes|Q:Q,Q,H)}else P!==null?(KZ(U,P.cachePool),JC(U,P),TI(U),U.memoizedState=null):($!==null&&KZ(U,null),xz(U),TI(U));return F6($,U,M,Q),U.child}function xY($,U){return $!==null&&$.tag===22||U.stateNode!==null||(U.stateNode={_visibility:ZG,_pendingMarkers:null,_retryCache:null,_transitions:null}),U.sibling}function mC($,U,Q,H,M){var P=vz();return P=P===null?null:{parent:eU._currentValue,pool:P},U.memoizedState={baseLanes:Q,cachePool:P},$!==null&&KZ(U,null),xz(U),QC(U),$!==null&&PJ($,U,H,!0),U.childLanes=M,null}function vZ($,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=kZ({mode:U.mode,children:U.children},$.mode),U.ref=$.ref,$.child=U,U.return=$,U}function lC($,U,Q){return hX(U,$.child,null,Q),$=vZ(U,U.pendingProps),$.flags|=2,Q1(U),U.memoizedState=null,$}function kN($,U,Q){var H=U.pendingProps,M=(U.flags&128)!==0;if(U.flags&=-129,$===null){if(p$){if(H.mode==="hidden")return $=vZ(U,H),U.lanes=536870912,xY(null,$);if(fz(U),($=TU)?(Q=DR($,j1),Q=Q!==null&&Q.data===rX?Q:null,Q!==null&&(H={dehydrated:Q,treeContext:fA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=H,H=xA(Q),H.return=U,U.child=H,A6=U,TU=null)):Q=null,Q===null)throw XZ(U,$),DI(U);return U.lanes=536870912,null}return vZ(U,H)}var P=$.memoizedState;if(P!==null){var k=P.dehydrated;if(fz(U),M)if(U.flags&256)U.flags&=-257,U=lC($,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(uA(),(Q&536870912)!==0&&yZ(U),I6||PJ($,U,Q,!1),M=(Q&$.childLanes)!==0,I6||M){if(H=KU,H!==null&&(k=YU(H,Q),k!==0&&k!==P.retryLane))throw P.retryLane=k,T6($,k),wU(H,$,k),YV;uZ(),U=lC($,U,Q)}else $=P.treeContext,TU=G1(k.nextSibling),A6=U,p$=!0,xI=null,R4=!1,z1=null,j1=!1,$!==null&&yA(U,$),U=vZ(U,H),U.flags|=4096;return U}return P=$.child,H={mode:H.mode,children:H.children},(Q&536870912)!==0&&(Q&$.lanes)!==0&&yZ(U),$=y4(P,H),$.ref=U.ref,U.child=$,$.return=U,$}function NZ($,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 HO($,U,Q,H,M){if(Q.prototype&&typeof Q.prototype.render==="function"){var P=L0(Q)||"Unknown";vq[P]||(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.",P,P),vq[P]=!0)}if(U.mode&P6&&l1.recordLegacyContextWarning(U,null),$===null&&(DO(U,U.type),Q.contextTypes&&(P=L0(Q)||"Unknown",kq[P]||(kq[P]=!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)",P)))),PX(U),Q=uz($,U,Q,H,void 0,M),H=cz(),$!==null&&!I6)return hz($,U,M),h4($,U,M);return p$&&H&&Tz(U),U.flags|=1,F6($,U,Q,M),U.child}function dC($,U,Q,H,M,P){if(PX(U),UI=-1,EG=$!==null&&$.type!==U.type,U.updateQueue=null,Q=bz(U,H,Q,M),YC($,U),H=cz(),$!==null&&!I6)return hz($,U,P),h4($,U,P);return p$&&H&&Tz(U),U.flags|=1,F6($,U,Q,P),U.child}function nC($,U,Q,H,M){switch(Z(U)){case!1:var P=U.stateNode,k=new U.type(U.memoizedProps,P.context).state;P.updater.enqueueSetState(P,k,null);break;case!0:U.flags|=128,U.flags|=65536,P=Error("Simulated error coming from DevTools");var y=M&-M;if(U.lanes|=y,k=KU,k===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y=OO(y),VO(y,k,U,I1(P,U)),DZ(U,y)}if(PX(U),U.stateNode===null){if(k=gI,P=Q.contextType,"contextType"in Q&&P!==null&&(P===void 0||P.$$typeof!==F4)&&!jq.has(Q)&&(jq.add(Q),y=P===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 P!=="object"?" However, it is set to a "+typeof P+".":P.$$typeof===G9?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(P).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",L0(Q)||"Component",y)),typeof P==="object"&&P!==null&&(k=SU(P)),P=new Q(H,k),U.mode&P6){N0(!0);try{P=new Q(H,k)}finally{N0(!1)}}if(k=U.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,P.updater=JV,U.stateNode=P,P._reactInternals=U,P._reactInternalInstance=Aq,typeof Q.getDerivedStateFromProps==="function"&&k===null&&(k=L0(Q)||"Component",Tq.has(k)||(Tq.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,P.state===null?"null":"undefined",k))),typeof Q.getDerivedStateFromProps==="function"||typeof P.getSnapshotBeforeUpdate==="function"){var l=y=k=null;if(typeof P.componentWillMount==="function"&&P.componentWillMount.__suppressDeprecationWarning!==!0?k="componentWillMount":typeof P.UNSAFE_componentWillMount==="function"&&(k="UNSAFE_componentWillMount"),typeof P.componentWillReceiveProps==="function"&&P.componentWillReceiveProps.__suppressDeprecationWarning!==!0?y="componentWillReceiveProps":typeof P.UNSAFE_componentWillReceiveProps==="function"&&(y="UNSAFE_componentWillReceiveProps"),typeof P.componentWillUpdate==="function"&&P.componentWillUpdate.__suppressDeprecationWarning!==!0?l="componentWillUpdate":typeof P.UNSAFE_componentWillUpdate==="function"&&(l="UNSAFE_componentWillUpdate"),k!==null||y!==null||l!==null){P=L0(Q)||"Component";var o=typeof Q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Pq.has(P)||(Pq.add(P),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`,P,o,k!==null?`
137
+ `+k:"",y!==null?`
138
+ `+y:"",l!==null?`
139
+ `+l:""))}}P=U.stateNode,k=L0(Q)||"Component",P.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)),!P.getInitialState||P.getInitialState.isReactClassApproved||P.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),P.getDefaultProps&&!P.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),P.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",k),Q.childContextTypes&&!Sq.has(Q)&&(Sq.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&&!Eq.has(Q)&&(Eq.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 P.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 P.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.",L0(Q)||"A pure component"),typeof P.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",k),typeof P.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 P.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",k),typeof P.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",k),y=P.props!==H,P.props!==void 0&&y&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",k),P.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 P.getSnapshotBeforeUpdate!=="function"||typeof P.componentDidUpdate==="function"||Rq.has(Q)||(Rq.add(Q),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",L0(Q))),typeof P.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 P.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),(y=P.state)&&(typeof y!=="object"||Y6(y))&&console.error("%s.state: must be set to an object or null",k),typeof P.getChildContext==="function"&&typeof Q.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",k),P=U.stateNode,P.props=H,P.state=U.memoizedState,P.refs={},kz(U),k=Q.contextType,P.context=typeof k==="object"&&k!==null?SU(k):gI,P.state===H&&(k=L0(Q)||"Component",qq.has(k)||(qq.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&P6&&l1.recordLegacyContextWarning(U,P),l1.recordUnsafeLifecycleWarnings(U,P),P.state=U.memoizedState,k=Q.getDerivedStateFromProps,typeof k==="function"&&(WO(U,Q,k,H),P.state=U.memoizedState),typeof Q.getDerivedStateFromProps==="function"||typeof P.getSnapshotBeforeUpdate==="function"||typeof P.UNSAFE_componentWillMount!=="function"&&typeof P.componentWillMount!=="function"||(k=P.state,typeof P.componentWillMount==="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount==="function"&&P.UNSAFE_componentWillMount(),k!==P.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t(U)||"Component"),JV.enqueueReplaceState(P,P.state,null)),vY(U,H,P,M),BY(),P.state=U.memoizedState),typeof P.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m1)!==R$&&(U.flags|=134217728),P=!0}else if($===null){P=U.stateNode;var R0=U.memoizedProps;y=jX(Q,R0),P.props=y;var P0=P.context;l=Q.contextType,k=gI,typeof l==="object"&&l!==null&&(k=SU(l)),o=Q.getDerivedStateFromProps,l=typeof o==="function"||typeof P.getSnapshotBeforeUpdate==="function",R0=U.pendingProps!==R0,l||typeof P.UNSAFE_componentWillReceiveProps!=="function"&&typeof P.componentWillReceiveProps!=="function"||(R0||P0!==k)&&xC(U,P,H,k),cI=!1;var V0=U.memoizedState;P.state=V0,vY(U,H,P,M),BY(),P0=U.memoizedState,R0||V0!==P0||cI?(typeof o==="function"&&(WO(U,Q,o,H),P0=U.memoizedState),(y=cI||gC(U,Q,y,H,V0,P0,k))?(l||typeof P.UNSAFE_componentWillMount!=="function"&&typeof P.componentWillMount!=="function"||(typeof P.componentWillMount==="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount==="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m1)!==R$&&(U.flags|=134217728)):(typeof P.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m1)!==R$&&(U.flags|=134217728),U.memoizedProps=H,U.memoizedState=P0),P.props=H,P.state=P0,P.context=k,P=y):(typeof P.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m1)!==R$&&(U.flags|=134217728),P=!1)}else{P=U.stateNode,gz($,U),k=U.memoizedProps,l=jX(Q,k),P.props=l,o=U.pendingProps,V0=P.context,P0=Q.contextType,y=gI,typeof P0==="object"&&P0!==null&&(y=SU(P0)),R0=Q.getDerivedStateFromProps,(P0=typeof R0==="function"||typeof P.getSnapshotBeforeUpdate==="function")||typeof P.UNSAFE_componentWillReceiveProps!=="function"&&typeof P.componentWillReceiveProps!=="function"||(k!==o||V0!==y)&&xC(U,P,H,y),cI=!1,V0=U.memoizedState,P.state=V0,vY(U,H,P,M),BY();var g0=U.memoizedState;k!==o||V0!==g0||cI||$!==null&&$.dependencies!==null&&QZ($.dependencies)?(typeof R0==="function"&&(WO(U,Q,R0,H),g0=U.memoizedState),(l=cI||gC(U,Q,l,H,V0,g0,y)||$!==null&&$.dependencies!==null&&QZ($.dependencies))?(P0||typeof P.UNSAFE_componentWillUpdate!=="function"&&typeof P.componentWillUpdate!=="function"||(typeof P.componentWillUpdate==="function"&&P.componentWillUpdate(H,g0,y),typeof P.UNSAFE_componentWillUpdate==="function"&&P.UNSAFE_componentWillUpdate(H,g0,y)),typeof P.componentDidUpdate==="function"&&(U.flags|=4),typeof P.getSnapshotBeforeUpdate==="function"&&(U.flags|=1024)):(typeof P.componentDidUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=4),typeof P.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=1024),U.memoizedProps=H,U.memoizedState=g0),P.props=H,P.state=g0,P.context=y,P=l):(typeof P.componentDidUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=4),typeof P.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=1024),P=!1)}if(y=P,NZ($,U),k=(U.flags&128)!==0,y||k){if(y=U.stateNode,Z0(U),k&&typeof Q.getDerivedStateFromError!=="function")Q=null,v6=-1;else if(Q=rP(y),U.mode&P6){N0(!0);try{rP(y)}finally{N0(!1)}}U.flags|=1,$!==null&&k?(U.child=hX(U,$.child,null,M),U.child=hX(U,null,Q,M)):F6($,U,Q,M),U.memoizedState=y.state,$=U.child}else $=h4($,U,M);return M=U.stateNode,P&&M.props!==H&&(WQ||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"),WQ=!0),$}function oC($,U,Q,H){return RX(),U.flags|=256,F6($,U,Q,H),U.child}function DO($,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"&&($=L0(U)||"Unknown",gq[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),gq[$]=!0)),typeof U.contextType==="object"&&U.contextType!==null&&(U=L0(U)||"Unknown",Nq[U]||(console.error("%s: Function components do not support contextType.",U),Nq[U]=!0))}function FO($){return{baseLanes:$,cachePool:dA()}}function LO($,U,Q){return $=$!==null?$.childLanes&~Q:0,U&&($|=i6),$}function iC($,U,Q){var H,M=U.pendingProps;W(U)&&(U.flags|=128);var P=!1,k=(U.flags&128)!==0;if((H=k)||(H=$!==null&&$.memoizedState===null?!1:(aU.current&qG)!==0),H&&(P=!0,U.flags&=-129),H=(U.flags&32)!==0,U.flags&=-33,$===null){if(p$){if(P?CI(U):TI(U),($=TU)?(Q=DR($,j1),Q=Q!==null&&Q.data!==rX?Q:null,Q!==null&&(H={dehydrated:Q,treeContext:fA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=H,H=xA(Q),H.return=U,U.child=H,A6=U,TU=null)):Q=null,Q===null)throw XZ(U,$),DI(U);return tO(Q)?U.lanes=32:U.lanes=536870912,null}var y=M.children;if(M=M.fallback,P){TI(U);var l=U.mode;return y=kZ({mode:"hidden",children:y},l),M=CX(M,l,Q,null),y.return=U,M.return=U,y.sibling=M,U.child=y,M=U.child,M.memoizedState=FO(Q),M.childLanes=LO($,H,Q),U.memoizedState=GV,xY(null,M)}return CI(U),MO(U,y)}var o=$.memoizedState;if(o!==null){var R0=o.dehydrated;if(R0!==null){if(k)U.flags&256?(CI(U),U.flags&=-257,U=AO($,U,Q)):U.memoizedState!==null?(TI(U),U.child=$.child,U.flags|=128,U=null):(TI(U),y=M.fallback,l=U.mode,M=kZ({mode:"visible",children:M.children},l),y=CX(y,l,Q,null),y.flags|=2,M.return=U,y.return=U,M.sibling=y,U.child=M,hX(U,$.child,null,Q),M=U.child,M.memoizedState=FO(Q),M.childLanes=LO($,H,Q),U.memoizedState=GV,U=xY(null,M));else if(CI(U),uA(),(Q&536870912)!==0&&yZ(U),tO(R0)){if(H=R0.nextSibling&&R0.nextSibling.dataset,H){y=H.dgst;var P0=H.msg;l=H.stck;var V0=H.cstck}P=P0,H=y,M=l,R0=V0,y=P,l=R0,y=y?Error(y):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),y.stack=M||"",y.digest=H,H=l===void 0?null:l,M={value:y,source:null,stack:H},typeof H==="string"&&c9.set(y,M),PY(M),U=AO($,U,Q)}else if(I6||PJ($,U,Q,!1),H=(Q&$.childLanes)!==0,I6||H){if(H=KU,H!==null&&(M=YU(H,Q),M!==0&&M!==o.retryLane))throw o.retryLane=M,T6($,M),wU(H,$,M),YV;rO(R0)||uZ(),U=AO($,U,Q)}else rO(R0)?(U.flags|=192,U.child=$.child,U=null):($=o.treeContext,TU=G1(R0.nextSibling),A6=U,p$=!0,xI=null,R4=!1,z1=null,j1=!1,$!==null&&yA(U,$),U=MO(U,M.children),U.flags|=4096);return U}}if(P)return TI(U),y=M.fallback,l=U.mode,V0=$.child,R0=V0.sibling,M=y4(V0,{mode:"hidden",children:M.children}),M.subtreeFlags=V0.subtreeFlags&65011712,R0!==null?y=y4(R0,y):(y=CX(y,l,Q,null),y.flags|=2),y.return=U,M.return=U,M.sibling=y,U.child=M,xY(null,M),M=U.child,y=$.child.memoizedState,y===null?y=FO(Q):(l=y.cachePool,l!==null?(V0=eU._currentValue,l=l.parent!==V0?{parent:V0,pool:V0}:l):l=dA(),y={baseLanes:y.baseLanes|Q,cachePool:l}),M.memoizedState=y,M.childLanes=LO($,H,Q),U.memoizedState=GV,xY($.child,M);return o!==null&&(Q&62914560)===Q&&(Q&$.lanes)!==0&&yZ(U),CI(U),Q=$.child,$=Q.sibling,Q=y4(Q,{mode:"visible",children:M.children}),Q.return=U,Q.sibling=null,$!==null&&(H=U.deletions,H===null?(U.deletions=[$],U.flags|=16):H.push($)),U.child=Q,U.memoizedState=null,Q}function MO($,U){return U=kZ({mode:"visible",children:U},$.mode),U.return=$,$.child=U}function kZ($,U){return $=q(22,$,null,U),$.lanes=0,$}function AO($,U,Q){return hX(U,$.child,null,Q),$=MO(U,U.pendingProps.children),$.flags|=2,U.memoizedState=null,$}function rC($,U,Q){$.lanes|=U;var H=$.alternate;H!==null&&(H.lanes|=U),_z($.return,U,Q)}function CO($,U,Q,H,M,P){var k=$.memoizedState;k===null?$.memoizedState={isBackwards:U,rendering:null,renderingStartTime:0,last:H,tail:Q,tailMode:M,treeForkCount:P}:(k.isBackwards=U,k.rendering=null,k.renderingStartTime=0,k.last=H,k.tail=Q,k.tailMode=M,k.treeForkCount=P)}function tC($,U,Q){var H=U.pendingProps,M=H.revealOrder,P=H.tail,k=H.children,y=aU.current;if((H=(y&qG)!==0)?(y=y&YQ|qG,U.flags|=128):y&=YQ,V(aU,y,U),y=M==null?"null":M,M!=="forwards"&&M!=="unstable_legacy-backwards"&&M!=="together"&&M!=="independent"&&!xq[y])if(xq[y]=!0,M==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(M==="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 M==="string")switch(M.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.',M,M.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.',M,M.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M);if(y=P==null?"null":P,!v8[y])if(P==null){if(M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")v8[y]=!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 P!=="visible"&&P!=="collapsed"&&P!=="hidden"?(v8[y]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',P)):M!=="forwards"&&M!=="backwards"&&M!=="unstable_legacy-backwards"&&(v8[y]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',P));$:if((M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")&&k!==void 0&&k!==null&&k!==!1)if(Y6(k)){for(y=0;y<k.length;y++)if(!UC(k[y],y))break $}else if(y=D0(k),typeof y==="function"){if(y=y.call(k))for(var l=y.next(),o=0;!l.done;l=y.next()){if(!UC(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?',M);if(F6($,U,k,Q),p$?(HI(),k=KG):k=0,!H&&$!==null&&($.flags&128)!==0)$:for($=U.child;$!==null;){if($.tag===13)$.memoizedState!==null&&rC($,Q,U);else if($.tag===19)rC($,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(M){case"forwards":Q=U.child;for(M=null;Q!==null;)$=Q.alternate,$!==null&&FZ($)===null&&(M=Q),Q=Q.sibling;Q=M,Q===null?(M=U.child,U.child=null):(M=Q.sibling,Q.sibling=null),CO(U,!1,M,Q,P,k);break;case"backwards":case"unstable_legacy-backwards":Q=null,M=U.child;for(U.child=null;M!==null;){if($=M.alternate,$!==null&&FZ($)===null){U.child=M;break}$=M.sibling,M.sibling=Q,Q=M,M=$}CO(U,!0,Q,null,P,k);break;case"together":CO(U,!1,null,null,void 0,k);break;default:U.memoizedState=null}return U.child}function h4($,U,Q){if($!==null&&(U.dependencies=$.dependencies),v6=-1,mI|=U.lanes,(Q&U.childLanes)===0)if($!==null){if(PJ($,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=y4($,$.pendingProps),U.child=Q;for(Q.return=U;$.sibling!==null;)$=$.sibling,Q=Q.sibling=y4($,$.pendingProps),Q.return=U;Q.sibling=null}return U.child}function TO($,U){if(($.lanes&U)!==0)return!0;return $=$.dependencies,$!==null&&QZ($)?!0:!1}function gN($,U,Q){switch(U.tag){case 3:O(U,U.stateNode.containerInfo),FI(U,eU,$.memoizedState.cache),RX();break;case 27:case 5:S(U);break;case 4:O(U,U.stateNode.containerInfo);break;case 10:FI(U,U.type,U.memoizedProps.value);break;case 12:(Q&U.childLanes)!==0&&(U.flags|=4),U.flags|=2048;var H=U.stateNode;H.effectDuration=-0,H.passiveEffectDuration=-0;break;case 31:if(U.memoizedState!==null)return U.flags|=128,fz(U),null;break;case 13:if(H=U.memoizedState,H!==null){if(H.dehydrated!==null)return CI(U),U.flags|=128,null;if((Q&U.child.childLanes)!==0)return iC($,U,Q);return CI(U),$=h4($,U,Q),$!==null?$.sibling:null}CI(U);break;case 19:var M=($.flags&128)!==0;if(H=(Q&U.childLanes)!==0,H||(PJ($,U,Q,!1),H=(Q&U.childLanes)!==0),M){if(H)return tC($,U,Q);U.flags|=128}if(M=U.memoizedState,M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),V(aU,aU.current,U),H)break;else return null;case 22:return U.lanes=0,pC($,U,Q,U.pendingProps);case 24:FI(U,eU,$.memoizedState.cache)}return h4($,U,Q)}function RO($,U,Q){if(U._debugNeedsRemount&&$!==null){Q=Mz(U.type,U.key,U.pendingProps,U._debugOwner||null,U.mode,U.lanes),Q._debugStack=U._debugStack,Q._debugTask=U._debugTask;var H=U.return;if(H===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===H.child)H.child=Q;else{var M=H.child;if(M===null)throw Error("Expected parent to have a child.");for(;M.sibling!==U;)if(M=M.sibling,M===null)throw Error("Expected to find the previous sibling.");M.sibling=Q}return U=H.deletions,U===null?(H.deletions=[$],H.flags|=16):U.push($),Q.flags|=2,Q}if($!==null)if($.memoizedProps!==U.pendingProps||U.type!==$.type)I6=!0;else{if(!TO($,Q)&&(U.flags&128)===0)return I6=!1,gN($,U,Q);I6=($.flags&131072)!==0?!0:!1}else{if(I6=!1,H=p$)HI(),H=(U.flags&1048576)!==0;H&&(H=U.index,HI(),wA(U,KG,H))}switch(U.lanes=0,U.tag){case 16:$:if(H=U.pendingProps,$=LI(U.elementType),U.type=$,typeof $==="function")Lz($)?(H=jX($,H),U.tag=1,U.type=$=AX($),U=nC(null,U,$,H,Q)):(U.tag=0,DO(U,$),U.type=$=AX($),U=HO(null,U,$,H,Q));else{if($!==void 0&&$!==null){if(M=$.$$typeof,M===tY){U.tag=11,U.type=$=Fz($),U=bC(null,U,$,H,Q);break $}else if(M===sZ){U.tag=14,U=cC(null,U,$,H,Q);break $}}throw U="",$!==null&&typeof $==="object"&&$.$$typeof===Z1&&(U=" Did you wrap a component in React.lazy() more than once?"),Q=L0($)||$,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 HO($,U,U.type,U.pendingProps,Q);case 1:return H=U.type,M=jX(H,U.pendingProps),nC($,U,H,M,Q);case 3:$:{if(O(U,U.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");H=U.pendingProps;var P=U.memoizedState;M=P.element,gz($,U),vY(U,H,null,Q);var k=U.memoizedState;if(H=k.cache,FI(U,eU,H),H!==P.cache&&Ez(U,[eU],Q,!0),BY(),H=k.element,P.isDehydrated)if(P={element:H,isDehydrated:!1,cache:k.cache},U.updateQueue.baseState=P,U.memoizedState=P,U.flags&256){U=oC($,U,H,Q);break $}else if(H!==M){M=I1(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),U),PY(M),U=oC($,U,H,Q);break $}else{switch($=U.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}TU=G1($.firstChild),A6=U,p$=!0,xI=null,R4=!1,z1=null,j1=!0,Q=Kq(U,null,H,Q);for(U.child=Q;Q;)Q.flags=Q.flags&-3|4096,Q=Q.sibling}else{if(RX(),H===M){U=h4($,U,Q);break $}F6($,U,H,Q)}U=U.child}return U;case 26:return NZ($,U),$===null?(Q=TR(U.type,null,U.pendingProps,null))?U.memoizedState=Q:p$||(Q=U.type,$=U.pendingProps,H=F(SI.current),H=pZ(H).createElement(Q),H[M6]=U,H[S6]=$,L6(H,Q,$),V$(H),U.stateNode=H):U.memoizedState=TR(U.type,$.memoizedProps,U.pendingProps,$.memoizedState),null;case 27:return S(U),$===null&&p$&&(H=F(SI.current),M=R(),H=U.stateNode=AR(U.type,U.pendingProps,H,M,!1),R4||(M=GR(H,U.type,U.pendingProps,M),M!==null&&(TX(U,0).serverProps=M)),A6=U,j1=!0,M=TU,_I(U.type)?(vV=M,TU=G1(H.firstChild)):TU=M),F6($,U,U.pendingProps.children,Q),NZ($,U),$===null&&(U.flags|=4194304),U.child;case 5:return $===null&&p$&&(P=R(),H=Zz(U.type,P.ancestorInfo),M=TU,(k=!M)||(k=T3(M,U.type,U.pendingProps,j1),k!==null?(U.stateNode=k,R4||(P=GR(k,U.type,U.pendingProps,P),P!==null&&(TX(U,0).serverProps=P)),A6=U,TU=G1(k.firstChild),j1=!1,P=!0):P=!1,k=!P),k&&(H&&XZ(U,M),DI(U))),S(U),M=U.type,P=U.pendingProps,k=$!==null?$.memoizedProps:null,H=P.children,oO(M,P)?H=null:k!==null&&oO(M,k)&&(U.flags|=32),U.memoizedState!==null&&(M=uz($,U,_N,null,null,Q),pG._currentValue=M),NZ($,U),F6($,U,H,Q),U.child;case 6:return $===null&&p$&&(Q=U.pendingProps,$=R(),H=$.ancestorInfo.current,Q=H!=null?o2(Q,H.tag,$.ancestorInfo.implicitRootScope):!0,$=TU,(H=!$)||(H=R3($,U.pendingProps,j1),H!==null?(U.stateNode=H,A6=U,TU=null,H=!0):H=!1,H=!H),H&&(Q&&XZ(U,$),DI(U))),null;case 13:return iC($,U,Q);case 4:return O(U,U.stateNode.containerInfo),H=U.pendingProps,$===null?U.child=hX(U,null,H,Q):F6($,U,H,Q),U.child;case 11:return bC($,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,H=U.stateNode,H.effectDuration=-0,H.passiveEffectDuration=-0,F6($,U,U.pendingProps.children,Q),U.child;case 10:return H=U.type,M=U.pendingProps,P=M.value,"value"in M||wq||(wq=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),FI(U,H,P),F6($,U,M.children,Q),U.child;case 9:return M=U.type._context,H=U.pendingProps.children,typeof H!=="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),M=SU(M),H=i9(H,M,void 0),U.flags|=1,F6($,U,H,Q),U.child;case 14:return cC($,U,U.type,U.pendingProps,Q);case 15:return hC($,U,U.type,U.pendingProps,Q);case 19:return tC($,U,Q);case 31:return kN($,U,Q);case 22:return pC($,U,Q,U.pendingProps);case 24:return PX(U),H=SU(eU),$===null?(M=vz(),M===null&&(M=KU,P=Sz(),M.pooledCache=P,qX(P),P!==null&&(M.pooledCacheLanes|=Q),M=P),U.memoizedState={parent:H,cache:M},kz(U),FI(U,eU,M)):(($.lanes&Q)!==0&&(gz($,U),vY(U,null,null,Q),BY()),M=$.memoizedState,P=U.memoizedState,M.parent!==H?(M={parent:H,cache:H},U.memoizedState=M,U.lanes===0&&(U.memoizedState=U.updateQueue.baseState=M),FI(U,eU,H)):(H=P.cache,FI(U,eU,H),H!==M.cache&&Ez(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 p4($){$.flags|=4}function PO($,U,Q,H,M){if(U=($.mode&ek)!==R$)U=!1;if(U){if($.flags|=16777216,(M&335544128)===M)if($.stateNode.complete)$.flags|=8192;else if(BT())$.flags|=8192;else throw cX=q8,t9}else $.flags&=-16777217}function aC($,U){if(U.type!=="stylesheet"||(U.state.loading&g1)!==sX)$.flags&=-16777217;else if($.flags|=16777216,!ER(U))if(BT())$.flags|=8192;else throw cX=q8,t9}function gZ($,U){U!==null&&($.flags|=4),$.flags&16384&&(U=$.tag!==22?M$():536870912,$.lanes|=U,nX|=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 H=null;Q!==null;)Q.alternate!==null&&(H=Q),Q=Q.sibling;H===null?U||$.tail===null?$.tail=null:$.tail.sibling=null:H.sibling=null}}function HU($){var U=$.alternate!==null&&$.alternate.child===$.child,Q=0,H=0;if(U)if(($.mode&N$)!==R$){for(var{selfBaseDuration:M,child:P}=$;P!==null;)Q|=P.lanes|P.childLanes,H|=P.subtreeFlags&65011712,H|=P.flags&65011712,M+=P.treeBaseDuration,P=P.sibling;$.treeBaseDuration=M}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,H|=M.subtreeFlags&65011712,H|=M.flags&65011712,M.return=$,M=M.sibling;else if(($.mode&N$)!==R$){M=$.actualDuration,P=$.selfBaseDuration;for(var k=$.child;k!==null;)Q|=k.lanes|k.childLanes,H|=k.subtreeFlags,H|=k.flags,M+=k.actualDuration,P+=k.treeBaseDuration,k=k.sibling;$.actualDuration=M,$.treeBaseDuration=P}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,H|=M.subtreeFlags,H|=M.flags,M.return=$,M=M.sibling;return $.subtreeFlags|=H,$.childLanes=Q,U}function xN($,U,Q){var H=U.pendingProps;switch(Rz(U),U.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return HU(U),null;case 1:return HU(U),null;case 3:if(Q=U.stateNode,H=null,$!==null&&(H=$.memoizedState.cache),U.memoizedState.cache!==H&&(U.flags|=2048),b4(eU,U),D(U),Q.pendingContext&&(Q.context=Q.pendingContext,Q.pendingContext=null),$===null||$.child===null)RJ(U)?(qz(),p4(U)):$===null||$.memoizedState.isDehydrated&&(U.flags&256)===0||(U.flags|=1024,Pz());return HU(U),null;case 26:var{type:M,memoizedState:P}=U;return $===null?(p4(U),P!==null?(HU(U),aC(U,P)):(HU(U),PO(U,M,null,H,Q))):P?P!==$.memoizedState?(p4(U),HU(U),aC(U,P)):(HU(U),U.flags&=-16777217):($=$.memoizedProps,$!==H&&p4(U),HU(U),PO(U,M,$,H,Q)),null;case 27:if(A(U),Q=F(SI.current),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==H&&p4(U);else{if(!H){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 HU(U),null}$=R(),RJ(U)?bA(U,$):($=AR(M,H,Q,$,!0),U.stateNode=$,p4(U))}return HU(U),null;case 5:if(A(U),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==H&&p4(U);else{if(!H){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 HU(U),null}var k=R();if(RJ(U))bA(U,k);else{switch(P=F(SI.current),Zz(M,k.ancestorInfo),k=k.context,P=pZ(P),k){case MQ:P=P.createElementNS(pJ,M);break;case t8:P=P.createElementNS(Q8,M);break;default:switch(M){case"svg":P=P.createElementNS(pJ,M);break;case"math":P=P.createElementNS(Q8,M);break;case"script":P=P.createElement("div"),P.innerHTML="<script></script>",P=P.removeChild(P.firstChild);break;case"select":P=typeof H.is==="string"?P.createElement("select",{is:H.is}):P.createElement("select"),H.multiple?P.multiple=!0:H.size&&(P.size=H.size);break;default:P=typeof H.is==="string"?P.createElement(M,{is:H.is}):P.createElement(M),M.indexOf("-")===-1&&(M!==M.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",M),Object.prototype.toString.call(P)!=="[object HTMLUnknownElement]"||h1.call(Q_,M)||(Q_[M]=!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.",M)))}}P[M6]=U,P[S6]=H;$:for(k=U.child;k!==null;){if(k.tag===5||k.tag===6)P.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=P;$:switch(L6(P,M,H),M){case"button":case"input":case"select":case"textarea":H=!!H.autoFocus;break $;case"img":H=!0;break $;default:H=!1}H&&p4(U)}}return HU(U),PO(U,U.type,$===null?null:$.memoizedProps,U.pendingProps,Q),null;case 6:if($&&U.stateNode!=null)$.memoizedProps!==H&&p4(U);else{if(typeof H!=="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(SI.current),Q=R(),RJ(U)){if($=U.stateNode,Q=U.memoizedProps,M=!R4,H=null,P=A6,P!==null)switch(P.tag){case 3:M&&(M=LR($,Q,H),M!==null&&(TX(U,0).serverProps=M));break;case 27:case 5:H=P.memoizedProps,M&&(M=LR($,Q,H),M!==null&&(TX(U,0).serverProps=M))}$[M6]=U,$=$.nodeValue===Q||H!==null&&H.suppressHydrationWarning===!0||IR($.nodeValue,Q)?!0:!1,$||DI(U,!0)}else M=Q.ancestorInfo.current,M!=null&&o2(H,M.tag,Q.ancestorInfo.implicitRootScope),$=pZ($).createTextNode(H),$[M6]=U,U.stateNode=$}return HU(U),null;case 31:if(Q=U.memoizedState,$===null||$.memoizedState!==null){if(H=RJ(U),Q!==null){if($===null){if(!H)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.");$[M6]=U,HU(U),(U.mode&N$)!==R$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration))}else qz(),RX(),(U.flags&128)===0&&(Q=U.memoizedState=null),U.flags|=4,HU(U),(U.mode&N$)!==R$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration));$=!1}else Q=Pz(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Q),$=!0;if(!$){if(U.flags&256)return Q1(U),U;return Q1(U),null}if((U.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return HU(U),null;case 13:if(H=U.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(M=H,P=RJ(U),M!==null&&M.dehydrated!==null){if($===null){if(!P)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(P=U.memoizedState,P=P!==null?P.dehydrated:null,!P)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");P[M6]=U,HU(U),(U.mode&N$)!==R$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration))}else qz(),RX(),(U.flags&128)===0&&(M=U.memoizedState=null),U.flags|=4,HU(U),(U.mode&N$)!==R$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration));M=!1}else M=Pz(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=M),M=!0;if(!M){if(U.flags&256)return Q1(U),U;return Q1(U),null}}if(Q1(U),(U.flags&128)!==0)return U.lanes=Q,(U.mode&N$)!==R$&&EY(U),U;return Q=H!==null,$=$!==null&&$.memoizedState!==null,Q&&(H=U.child,M=null,H.alternate!==null&&H.alternate.memoizedState!==null&&H.alternate.memoizedState.cachePool!==null&&(M=H.alternate.memoizedState.cachePool.pool),P=null,H.memoizedState!==null&&H.memoizedState.cachePool!==null&&(P=H.memoizedState.cachePool.pool),P!==M&&(H.flags|=2048)),Q!==$&&Q&&(U.child.flags|=8192),gZ(U,U.updateQueue),HU(U),(U.mode&N$)!==R$&&Q&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return D(U),$===null&&cO(U.stateNode.containerInfo),HU(U),null;case 10:return b4(U.type,U),HU(U),null;case 19:if(G(aU,U),H=U.memoizedState,H===null)return HU(U),null;if(M=(U.flags&128)!==0,P=H.rendering,P===null)if(M)wY(H,!1);else{if(gU!==XI||$!==null&&($.flags&128)!==0)for($=U.child;$!==null;){if(P=FZ($),P!==null){U.flags|=128,wY(H,!1),$=P.updateQueue,U.updateQueue=$,gZ(U,$),U.subtreeFlags=0,$=Q;for(Q=U.child;Q!==null;)gA(Q,$),Q=Q.sibling;return V(aU,aU.current&YQ|qG,U),p$&&u4(U,H.treeForkCount),U.child}$=$.sibling}H.tail!==null&&W6()>y8&&(U.flags|=128,M=!0,wY(H,!1),U.lanes=4194304)}else{if(!M)if($=FZ(P),$!==null){if(U.flags|=128,M=!0,$=$.updateQueue,U.updateQueue=$,gZ(U,$),wY(H,!0),H.tail===null&&H.tailMode==="hidden"&&!P.alternate&&!p$)return HU(U),null}else 2*W6()-H.renderingStartTime>y8&&Q!==536870912&&(U.flags|=128,M=!0,wY(H,!1),U.lanes=4194304);H.isBackwards?(P.sibling=U.child,U.child=P):($=H.last,$!==null?$.sibling=P:U.child=P,H.last=P)}if(H.tail!==null)return $=H.tail,H.rendering=$,H.tail=$.sibling,H.renderingStartTime=W6(),$.sibling=null,Q=aU.current,Q=M?Q&YQ|qG:Q&YQ,V(aU,Q,U),p$&&u4(U,H.treeForkCount),$;return HU(U),null;case 22:case 23:return Q1(U),wz(U),H=U.memoizedState!==null,$!==null?$.memoizedState!==null!==H&&(U.flags|=8192):H&&(U.flags|=8192),H?(Q&536870912)!==0&&(U.flags&128)===0&&(HU(U),U.subtreeFlags&6&&(U.flags|=8192)):HU(U),Q=U.updateQueue,Q!==null&&gZ(U,Q.retryQueue),Q=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),H=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(H=U.memoizedState.cachePool.pool),H!==Q&&(U.flags|=2048),$!==null&&G(uX,U),null;case 24:return Q=null,$!==null&&(Q=$.memoizedState.cache),U.memoizedState.cache!==Q&&(U.flags|=2048),b4(eU,U),HU(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 wN($,U){switch(Rz(U),U.tag){case 1:return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==R$&&EY(U),U):null;case 3:return b4(eU,U),D(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(Q1(U),U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");RX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==R$&&EY(U),U):null;case 13:if(Q1(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.");RX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==R$&&EY(U),U):null;case 19:return G(aU,U),null;case 4:return D(U),null;case 10:return b4(U.type,U),null;case 22:case 23:return Q1(U),wz(U),$!==null&&G(uX,U),$=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==R$&&EY(U),U):null;case 24:return b4(eU,U),null;case 25:return null;default:return null}}function sC($,U){switch(Rz(U),U.tag){case 3:b4(eU,U),D(U);break;case 26:case 27:case 5:A(U);break;case 4:D(U);break;case 31:U.memoizedState!==null&&Q1(U);break;case 13:Q1(U);break;case 19:G(aU,U);break;case 10:b4(U.type,U);break;case 22:case 23:Q1(U),wz(U),$!==null&&G(uX,U);break;case 24:b4(eU,U)}}function K4($){return($.mode&N$)!==R$}function eC($,U){K4($)?(Z4(),fY(U,$),G4()):fY(U,$)}function qO($,U,Q){K4($)?(Z4(),jJ(Q,$,U),G4()):jJ(Q,$,U)}function fY($,U){try{var Q=U.updateQueue,H=Q!==null?Q.lastEffect:null;if(H!==null){var M=H.next;Q=M;do{if((Q.tag&$)===$&&(H=void 0,($&N6)!==E8&&(DQ=!0),H=J0(U,Jg,Q),($&N6)!==E8&&(DQ=!1),H!==void 0&&typeof H!=="function")){var P=void 0;P=(Q.tag&V1)!==0?"useLayoutEffect":(Q.tag&N6)!==0?"useInsertionEffect":"useEffect";var k=void 0;k=H===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof H.then==="function"?`
141
+
142
+ It looks like you wrote `+P+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
+
144
+ `+P+`(() => {
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: "+H,J0(U,function(y,l){console.error("%s must not return anything besides a function, which is used for clean-up.%s",y,l)},P,k)}Q=Q.next}while(Q!==M)}}catch(y){a$(U,U.return,y)}}function jJ($,U,Q){try{var H=U.updateQueue,M=H!==null?H.lastEffect:null;if(M!==null){var P=M.next;H=P;do{if((H.tag&$)===$){var k=H.inst,y=k.destroy;y!==void 0&&(k.destroy=void 0,($&N6)!==E8&&(DQ=!0),M=U,J0(M,Qg,M,Q,y),($&N6)!==E8&&(DQ=!1))}H=H.next}while(H!==P)}}catch(l){a$(U,U.return,l)}}function $T($,U){K4($)?(Z4(),fY(U,$),G4()):fY(U,$)}function _O($,U,Q){K4($)?(Z4(),jJ(Q,$,U),G4()):jJ(Q,$,U)}function UT($){var U=$.updateQueue;if(U!==null){var Q=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||WQ||(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($,XC,U,Q)}catch(H){a$($,$.return,H)}}}function fN($,U,Q){return $.getSnapshotBeforeUpdate(U,Q)}function yN($,U){var{memoizedProps:Q,memoizedState:H}=U;U=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||WQ||(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 M=jX($.type,Q),P=J0($,fN,U,M,H);Q=fq,P!==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=P}catch(k){a$($,$.return,k)}}function IT($,U,Q){Q.props=jX($.type,$.memoizedProps),Q.state=$.memoizedState,K4($)?(Z4(),J0($,Uq,$,U,Q),G4()):J0($,Uq,$,U,Q)}function uN($){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(K4($))try{Z4(),$.refCleanup=U(Q)}finally{G4()}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($,uN,$)}catch(Q){a$($,U,Q)}}function W4($,U){var{ref:Q,refCleanup:H}=$;if(Q!==null)if(typeof H==="function")try{if(K4($))try{Z4(),J0($,H)}finally{G4($)}else J0($,H)}catch(M){a$($,U,M)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof Q==="function")try{if(K4($))try{Z4(),J0($,Q,null)}finally{G4($)}else J0($,Q,null)}catch(M){a$($,U,M)}else Q.current=null}function XT($,U,Q,H){var M=$.memoizedProps,P=M.id,k=M.onCommit;M=M.onRender,U=U===null?"mount":"update",C8&&(U="nested-update"),typeof M==="function"&&M(P,U,$.actualDuration,$.treeBaseDuration,$.actualStartTime,Q),typeof k==="function"&&k(P,U,H,Q)}function bN($,U,Q,H){var M=$.memoizedProps;$=M.id,M=M.onPostCommit,U=U===null?"mount":"update",C8&&(U="nested-update"),typeof M==="function"&&M($,U,H,Q)}function JT($){var{type:U,memoizedProps:Q,stateNode:H}=$;try{J0($,K3,H,U,Q,$)}catch(M){a$($,$.return,M)}}function EO($,U,Q){try{J0($,z3,$.stateNode,$.type,Q,U,$)}catch(H){a$($,$.return,H)}}function QT($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&_I($.type)||$.tag===4}function SO($){$:for(;;){for(;$.sibling===null;){if($.return===null||QT($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&_I($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function jO($,U,Q){var H=$.tag;if(H===5||H===6)$=$.stateNode,U?(OR(Q),(Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q).insertBefore($,U)):(OR(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=f4));else if(H!==4&&(H===27&&_I($.type)&&(Q=$.stateNode,U=null),$=$.child,$!==null))for(jO($,U,Q),$=$.sibling;$!==null;)jO($,U,Q),$=$.sibling}function xZ($,U,Q){var H=$.tag;if(H===5||H===6)$=$.stateNode,U?Q.insertBefore($,U):Q.appendChild($);else if(H!==4&&(H===27&&_I($.type)&&(Q=$.stateNode),$=$.child,$!==null))for(xZ($,U,Q),$=$.sibling;$!==null;)xZ($,U,Q),$=$.sibling}function cN($){for(var U,Q=$.return;Q!==null;){if(QT(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=SO($),xZ($,Q,U);break;case 5:Q=U.stateNode,U.flags&32&&(zR(Q),U.flags&=-33),U=SO($),xZ($,U,Q);break;case 3:case 4:U=U.stateNode.containerInfo,Q=SO($),jO($,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 YT($){var{stateNode:U,memoizedProps:Q}=$;try{J0($,S3,$.type,Q,U,$)}catch(H){a$($,$.return,H)}}function GT($,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 hN($,U){if($=$.containerInfo,SV=$K,$=PA($),zz($)){if("selectionStart"in $)var Q={start:$.selectionStart,end:$.selectionEnd};else $:{Q=(Q=$.ownerDocument)&&Q.defaultView||window;var H=Q.getSelection&&Q.getSelection();if(H&&H.rangeCount!==0){Q=H.anchorNode;var{anchorOffset:M,focusNode:P}=H;H=H.focusOffset;try{Q.nodeType,P.nodeType}catch(z$){Q=null;break $}var k=0,y=-1,l=-1,o=0,R0=0,P0=$,V0=null;U:for(;;){for(var g0;;){if(P0!==Q||M!==0&&P0.nodeType!==3||(y=k+M),P0!==P||H!==0&&P0.nodeType!==3||(l=k+H),P0.nodeType===3&&(k+=P0.nodeValue.length),(g0=P0.firstChild)===null)break;V0=P0,P0=g0}for(;;){if(P0===$)break U;if(V0===Q&&++o===M&&(y=k),V0===P&&++R0===H&&(l=k),(g0=P0.nextSibling)!==null)break;P0=V0,V0=P0.parentNode}P0=g0}Q=y===-1||l===-1?null:{start:y,end:l}}else Q=null}Q=Q||{start:0,end:0}}else Q=null;jV={focusedElem:$,selectionRange:Q},$K=!1;for(O6=U;O6!==null;)if(U=O6,$=U.child,(U.subtreeFlags&1028)!==0&&$!==null)$.return=U,O6=$;else for(;O6!==null;){switch($=U=O6,Q=$.alternate,M=$.flags,$.tag){case 0:if((M&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(Q=0;Q<$.length;Q++)M=$[Q],M.ref.impl=M.nextImpl;break;case 11:case 15:break;case 1:(M&1024)!==0&&Q!==null&&yN($,Q);break;case 3:if((M&1024)!==0){if($=$.stateNode.containerInfo,Q=$.nodeType,Q===9)iO($);else if(Q===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":iO($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((M&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,O6=$;break}O6=U.return}}function ZT($,U,Q){var H=X1(),M=X4(),P=Q4(),k=Y4(),y=Q.flags;switch(Q.tag){case 0:case 11:case 15:z4($,Q),y&4&&eC(Q,V1|N1);break;case 1:if(z4($,Q),y&4)if($=Q.stateNode,U===null)Q.type.defaultProps||"ref"in Q.memoizedProps||WQ||($.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")),K4(Q)?(Z4(),J0(Q,r9,Q,$),G4()):J0(Q,r9,Q,$);else{var l=jX(Q.type,U.memoizedProps);U=U.memoizedState,Q.type.defaultProps||"ref"in Q.memoizedProps||WQ||($.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")),K4(Q)?(Z4(),J0(Q,sP,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate),G4()):J0(Q,sP,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate)}y&64&&UT(Q),y&512&&yY(Q,Q.return);break;case 3:if(U=c4(),z4($,Q),y&64&&(y=Q.updateQueue,y!==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,XC,y,l)}catch(R0){a$(Q,Q.return,R0)}}$.effectDuration+=GZ(U);break;case 27:U===null&&y&4&&YT(Q);case 26:case 5:if(z4($,Q),U===null){if(y&4)JT(Q);else if(y&64){$=Q.type,U=Q.memoizedProps,l=Q.stateNode;try{J0(Q,W3,l,$,U,Q)}catch(R0){a$(Q,Q.return,R0)}}}y&512&&yY(Q,Q.return);break;case 12:if(y&4){y=c4(),z4($,Q),$=Q.stateNode,$.effectDuration+=_Y(y);try{J0(Q,XT,Q,U,wI,$.effectDuration)}catch(R0){a$(Q,Q.return,R0)}}else z4($,Q);break;case 31:z4($,Q),y&4&&zT($,Q);break;case 13:z4($,Q),y&4&&OT($,Q),y&64&&($=Q.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(y=tN.bind(null,Q),P3($,y))));break;case 22:if(y=Q.memoizedState!==null||II,!y){U=U!==null&&U.memoizedState!==null||X6,l=II;var o=X6;II=y,(X6=U)&&!o?(O4($,Q,(Q.subtreeFlags&8772)!==0),(Q.mode&N$)!==R$&&0<=C$&&0<=T$&&0.05<T$-C$&&a2(Q,C$,T$)):z4($,Q),II=l,X6=o}break;case 30:break;default:z4($,Q)}(Q.mode&N$)!==R$&&0<=C$&&0<=T$&&((fU||0.05<kU)&&U4(Q,C$,T$,kU,jU),Q.alternate===null&&Q.return!==null&&Q.return.alternate!==null&&0.05<T$-C$&&(GT(Q.return.alternate,Q.return)||$4(Q,C$,T$,"Mount"))),J1(H),J4(M),jU=P,fU=k}function KT($){var U=$.alternate;U!==null&&($.alternate=null,KT(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 m4($,U,Q){for(Q=Q.child;Q!==null;)WT($,U,Q),Q=Q.sibling}function WT($,U,Q){if(R6&&typeof R6.onCommitFiberUnmount==="function")try{R6.onCommitFiberUnmount(cJ,Q)}catch(o){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",o))}var H=X1(),M=X4(),P=Q4(),k=Y4();switch(Q.tag){case 26:X6||W4(Q,U),m4($,U,Q),Q.memoizedState?Q.memoizedState.count--:Q.stateNode&&($=Q.stateNode,$.parentNode.removeChild($));break;case 27:X6||W4(Q,U);var y=J6,l=n6;_I(Q.type)&&(J6=Q.stateNode,n6=!1),m4($,U,Q),J0(Q,nY,Q.stateNode),J6=y,n6=l;break;case 5:X6||W4(Q,U);case 6:if(y=J6,l=n6,J6=null,m4($,U,Q),J6=y,n6=l,J6!==null)if(n6)try{J0(Q,H3,J6,Q.stateNode)}catch(o){a$(Q,U,o)}else try{J0(Q,V3,J6,Q.stateNode)}catch(o){a$(Q,U,o)}break;case 18:J6!==null&&(n6?($=J6,VR($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,Q.stateNode),fJ($)):VR(J6,Q.stateNode));break;case 4:y=J6,l=n6,J6=Q.stateNode.containerInfo,n6=!0,m4($,U,Q),J6=y,n6=l;break;case 0:case 11:case 14:case 15:jJ(N6,Q,U),X6||qO(Q,U,V1),m4($,U,Q);break;case 1:X6||(W4(Q,U),y=Q.stateNode,typeof y.componentWillUnmount==="function"&&IT(Q,U,y)),m4($,U,Q);break;case 21:m4($,U,Q);break;case 22:X6=(y=X6)||Q.memoizedState!==null,m4($,U,Q),X6=y;break;default:m4($,U,Q)}(Q.mode&N$)!==R$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U4(Q,C$,T$,kU,jU),J1(H),J4(M),jU=P,fU=k}function zT($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{J0(U,_3,$)}catch(Q){a$(U,U.return,Q)}}}function OT($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{J0(U,E3,$)}catch(Q){a$(U,U.return,Q)}}function pN($){switch($.tag){case 31:case 13:case 19:var U=$.stateNode;return U===null&&(U=$.stateNode=new yq),U;case 22:return $=$.stateNode,U=$._retryCache,U===null&&(U=$._retryCache=new yq),U;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function wZ($,U){var Q=pN($);U.forEach(function(H){if(!Q.has(H)){if(Q.add(H),A4)if(zQ!==null&&OQ!==null)hY(OQ,zQ);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var M=aN.bind(null,$,H);H.then(M,M)}})}function l6($,U){var Q=U.deletions;if(Q!==null)for(var H=0;H<Q.length;H++){var M=$,P=U,k=Q[H],y=X1(),l=P;$:for(;l!==null;){switch(l.tag){case 27:if(_I(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.");WT(M,P,k),J6=null,n6=!1,(k.mode&N$)!==R$&&0<=C$&&0<=T$&&0.05<T$-C$&&$4(k,C$,T$,"Unmount"),J1(y),M=k,P=M.alternate,P!==null&&(P.return=null),M.return=null}if(U.subtreeFlags&13886)for(U=U.child;U!==null;)VT(U,$),U=U.sibling}function VT($,U){var Q=X1(),H=X4(),M=Q4(),P=Y4(),k=$.alternate,y=$.flags;switch($.tag){case 0:case 11:case 14:case 15:l6(U,$),d6($),y&4&&(jJ(N6|N1,$,$.return),fY(N6|N1,$),qO($,$.return,V1|N1));break;case 1:if(l6(U,$),d6($),y&512&&(X6||k===null||W4(k,k.return)),y&64&&II&&(y=$.updateQueue,y!==null&&(k=y.callbacks,k!==null))){var l=y.shared.hiddenCallbacks;y.shared.hiddenCallbacks=l===null?k:l.concat(k)}break;case 26:if(l=n1,l6(U,$),d6($),y&512&&(X6||k===null||W4(k,k.return)),y&4){var o=k!==null?k.memoizedState:null;if(y=$.memoizedState,k===null)if(y===null)if($.stateNode===null){$:{y=$.type,k=$.memoizedProps,l=l.ownerDocument||l;U:switch(y){case"title":if(o=l.getElementsByTagName("title")[0],!o||o[eY]||o[M6]||o.namespaceURI===pJ||o.hasAttribute("itemprop"))o=l.createElement(y),l.head.insertBefore(o,l.querySelector("head > title"));L6(o,y,k),o[M6]=$,V$(o),y=o;break $;case"link":var R0=qR("link","href",l).get(y+(k.href||""));if(R0){for(var P0=0;P0<R0.length;P0++)if(o=R0[P0],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)){R0.splice(P0,1);break U}}o=l.createElement(y),L6(o,y,k),l.head.appendChild(o);break;case"meta":if(R0=qR("meta","content",l).get(y+(k.content||""))){for(P0=0;P0<R0.length;P0++)if(o=R0[P0],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)){R0.splice(P0,1);break U}}o=l.createElement(y),L6(o,y,k),l.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+y+'". This is a bug in React.')}o[M6]=$,V$(o),y=o}$.stateNode=y}else _R(l,$.type,$.stateNode);else $.stateNode=PR(l,y,$.memoizedProps);else o!==y?(o===null?k.stateNode!==null&&(k=k.stateNode,k.parentNode.removeChild(k)):o.count--,y===null?_R(l,$.type,$.stateNode):PR(l,y,$.memoizedProps)):y===null&&$.stateNode!==null&&EO($,$.memoizedProps,k.memoizedProps)}break;case 27:l6(U,$),d6($),y&512&&(X6||k===null||W4(k,k.return)),k!==null&&y&4&&EO($,$.memoizedProps,k.memoizedProps);break;case 5:if(l6(U,$),d6($),y&512&&(X6||k===null||W4(k,k.return)),$.flags&32){l=$.stateNode;try{J0($,zR,l)}catch(D$){a$($,$.return,D$)}}y&4&&$.stateNode!=null&&(l=$.memoizedProps,EO($,l,k!==null?k.memoizedProps:l)),y&1024&&(ZV=!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($),y&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.");y=$.memoizedProps,k=k!==null?k.memoizedProps:y,l=$.stateNode;try{J0($,O3,l,k,y)}catch(D$){a$($,$.return,D$)}}break;case 3:if(l=c4(),a8=null,o=n1,n1=mZ(U.containerInfo),l6(U,$),n1=o,d6($),y&4&&k!==null&&k.memoizedState.isDehydrated)try{J0($,q3,U.containerInfo)}catch(D$){a$($,$.return,D$)}ZV&&(ZV=!1,HT($)),U.effectDuration+=GZ(l);break;case 4:y=n1,n1=mZ($.stateNode.containerInfo),l6(U,$),d6($),n1=y;break;case 12:y=c4(),l6(U,$),d6($),$.stateNode.effectDuration+=_Y(y);break;case 31:l6(U,$),d6($),y&4&&(y=$.updateQueue,y!==null&&($.updateQueue=null,wZ($,y)));break;case 13:l6(U,$),d6($),$.child.flags&8192&&$.memoizedState!==null!==(k!==null&&k.memoizedState!==null)&&(f8=W6()),y&4&&(y=$.updateQueue,y!==null&&($.updateQueue=null,wZ($,y)));break;case 22:l=$.memoizedState!==null;var V0=k!==null&&k.memoizedState!==null,g0=II,z$=X6;if(II=g0||l,X6=z$||V0,l6(U,$),X6=z$,II=g0,V0&&!l&&!g0&&!z$&&($.mode&N$)!==R$&&0<=C$&&0<=T$&&0.05<T$-C$&&a2($,C$,T$),d6($),y&8192)$:for(U=$.stateNode,U._visibility=l?U._visibility&~ZG:U._visibility|ZG,!l||k===null||V0||II||X6||(BX($),($.mode&N$)!==R$&&0<=C$&&0<=T$&&0.05<T$-C$&&$4($,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,F3,o):J0(V0,A3,V0.stateNode,V0.memoizedProps)}catch(D$){a$(V0,V0.return,D$)}}}else if(U.tag===6){if(k===null){V0=U;try{R0=V0.stateNode,l?J0(V0,L3,R0):J0(V0,C3,R0,V0.memoizedProps)}catch(D$){a$(V0,V0.return,D$)}}}else if(U.tag===18){if(k===null){V0=U;try{P0=V0.stateNode,l?J0(V0,D3,P0):J0(V0,M3,V0.stateNode)}catch(D$){a$(V0,V0.return,D$)}}}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}y&4&&(y=$.updateQueue,y!==null&&(k=y.retryQueue,k!==null&&(y.retryQueue=null,wZ($,k))));break;case 19:l6(U,$),d6($),y&4&&(y=$.updateQueue,y!==null&&($.updateQueue=null,wZ($,y)));break;case 30:break;case 21:break;default:l6(U,$),d6($)}($.mode&N$)!==R$&&0<=C$&&0<=T$&&((fU||0.05<kU)&&U4($,C$,T$,kU,jU),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<T$-C$&&(GT($.return.alternate,$.return)||$4($,C$,T$,"Mount"))),J1(Q),J4(H),jU=M,fU=P}function d6($){var U=$.flags;if(U&2){try{J0($,cN,$)}catch(Q){a$($,$.return,Q)}$.flags&=-3}U&4096&&($.flags&=-4097)}function HT($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var U=$;HT(U),U.tag===5&&U.flags&1024&&U.stateNode.reset(),$=$.sibling}}function z4($,U){if(U.subtreeFlags&8772)for(U=U.child;U!==null;)ZT($,U.alternate,U),U=U.sibling}function DT($){var U=X1(),Q=X4(),H=Q4(),M=Y4();switch($.tag){case 0:case 11:case 14:case 15:qO($,$.return,V1),BX($);break;case 1:W4($,$.return);var P=$.stateNode;typeof P.componentWillUnmount==="function"&&IT($,$.return,P),BX($);break;case 27:J0($,nY,$.stateNode);case 26:case 5:W4($,$.return),BX($);break;case 22:$.memoizedState===null&&BX($);break;case 30:BX($);break;default:BX($)}($.mode&N$)!==R$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U4($,C$,T$,kU,jU),J1(U),J4(Q),jU=H,fU=M}function BX($){for($=$.child;$!==null;)DT($),$=$.sibling}function FT($,U,Q,H){var M=X1(),P=X4(),k=Q4(),y=Y4(),l=Q.flags;switch(Q.tag){case 0:case 11:case 15:O4($,Q,H),eC(Q,V1);break;case 1:if(O4($,Q,H),U=Q.stateNode,typeof U.componentDidMount==="function"&&J0(Q,r9,Q,U),U=Q.updateQueue,U!==null){$=Q.stateNode;try{J0(Q,qN,U,$)}catch(o){a$(Q,Q.return,o)}}H&&l&64&&UT(Q),yY(Q,Q.return);break;case 27:YT(Q);case 26:case 5:O4($,Q,H),H&&U===null&&l&4&&JT(Q),yY(Q,Q.return);break;case 12:if(H&&l&4){l=c4(),O4($,Q,H),H=Q.stateNode,H.effectDuration+=_Y(l);try{J0(Q,XT,Q,U,wI,H.effectDuration)}catch(o){a$(Q,Q.return,o)}}else O4($,Q,H);break;case 31:O4($,Q,H),H&&l&4&&zT($,Q);break;case 13:O4($,Q,H),H&&l&4&&OT($,Q);break;case 22:Q.memoizedState===null&&O4($,Q,H),yY(Q,Q.return);break;case 30:break;default:O4($,Q,H)}(Q.mode&N$)!==R$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U4(Q,C$,T$,kU,jU),J1(M),J4(P),jU=k,fU=y}function O4($,U,Q){Q=Q&&(U.subtreeFlags&8772)!==0;for(U=U.child;U!==null;)FT($,U.alternate,U,Q),U=U.sibling}function BO($,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&&qX($),Q!=null&&qY(Q))}function vO($,U){$=null,U.alternate!==null&&($=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==$&&(qX(U),$!=null&&qY($))}function c1($,U,Q,H,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(U=U.child;U!==null;){var P=U.sibling;LT($,U,Q,H,P!==null?P.actualStartTime:M),U=P}}function LT($,U,Q,H,M){var P=X1(),k=X4(),y=Q4(),l=Y4(),o=NI,R0=U.flags;switch(U.tag){case 0:case 11:case 15:(U.mode&N$)!==R$&&0<U.actualStartTime&&(U.flags&1)!==0&&s2(U,U.actualStartTime,M,G6,Q),c1($,U,Q,H,M),R0&2048&&$T(U,k6|N1);break;case 1:(U.mode&N$)!==R$&&0<U.actualStartTime&&((U.flags&128)!==0?Vz(U,U.actualStartTime,M,[]):(U.flags&1)!==0&&s2(U,U.actualStartTime,M,G6,Q)),c1($,U,Q,H,M);break;case 3:var P0=c4(),V0=G6;G6=U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)===0,c1($,U,Q,H,M),G6=V0,R0&2048&&(Q=null,U.alternate!==null&&(Q=U.alternate.memoizedState.cache),H=U.memoizedState.cache,H!==Q&&(qX(H),Q!=null&&qY(Q))),$.passiveEffectDuration+=GZ(P0);break;case 12:if(R0&2048){R0=c4(),c1($,U,Q,H,M),$=U.stateNode,$.passiveEffectDuration+=_Y(R0);try{J0(U,bN,U,U.alternate,wI,$.passiveEffectDuration)}catch(g0){a$(U,U.return,g0)}}else c1($,U,Q,H,M);break;case 31:R0=G6,P0=U.alternate!==null?U.alternate.memoizedState:null,V0=U.memoizedState,P0!==null&&V0===null?(V0=U.deletions,V0!==null&&0<V0.length&&V0[0].tag===18?(G6=!1,P0=P0.hydrationErrors,P0!==null&&Vz(U,U.actualStartTime,M,P0)):G6=!0):G6=!1,c1($,U,Q,H,M),G6=R0;break;case 13:R0=G6,P0=U.alternate!==null?U.alternate.memoizedState:null,V0=U.memoizedState,P0===null||P0.dehydrated===null||V0!==null&&V0.dehydrated!==null?G6=!1:(V0=U.deletions,V0!==null&&0<V0.length&&V0[0].tag===18?(G6=!1,P0=P0.hydrationErrors,P0!==null&&Vz(U,U.actualStartTime,M,P0)):G6=!0),c1($,U,Q,H,M),G6=R0;break;case 23:break;case 22:V0=U.stateNode,P0=U.alternate,U.memoizedState!==null?V0._visibility&n4?c1($,U,Q,H,M):uY($,U,Q,H,M):V0._visibility&n4?c1($,U,Q,H,M):(V0._visibility|=n4,BJ($,U,Q,H,(U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child),M),(U.mode&N$)===R$||G6||($=U.actualStartTime,0<=$&&0.05<M-$&&a2(U,$,M),0<=C$&&0<=T$&&0.05<T$-C$&&a2(U,C$,T$))),R0&2048&&BO(P0,U);break;case 24:c1($,U,Q,H,M),R0&2048&&vO(U.alternate,U);break;default:c1($,U,Q,H,M)}if((U.mode&N$)!==R$){if($=!G6&&U.alternate===null&&U.return!==null&&U.return.alternate!==null)Q=U.actualStartTime,0<=Q&&0.05<M-Q&&$4(U,Q,M,"Mount");0<=C$&&0<=T$&&((fU||0.05<kU)&&U4(U,C$,T$,kU,jU),$&&0.05<T$-C$&&$4(U,C$,T$,"Mount"))}J1(P),J4(k),jU=y,fU=l,NI=o}function BJ($,U,Q,H,M,P){M=M&&((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;MT($,U,Q,H,M,k!==null?k.actualStartTime:P),U=k}}function MT($,U,Q,H,M,P){var k=X1(),y=X4(),l=Q4(),o=Y4(),R0=NI;M&&(U.mode&N$)!==R$&&0<U.actualStartTime&&(U.flags&1)!==0&&s2(U,U.actualStartTime,P,G6,Q);var P0=U.flags;switch(U.tag){case 0:case 11:case 15:BJ($,U,Q,H,M,P),$T(U,k6);break;case 23:break;case 22:var V0=U.stateNode;U.memoizedState!==null?V0._visibility&n4?BJ($,U,Q,H,M,P):uY($,U,Q,H,P):(V0._visibility|=n4,BJ($,U,Q,H,M,P)),M&&P0&2048&&BO(U.alternate,U);break;case 24:BJ($,U,Q,H,M,P),M&&P0&2048&&vO(U.alternate,U);break;default:BJ($,U,Q,H,M,P)}(U.mode&N$)!==R$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U4(U,C$,T$,kU,jU),J1(k),J4(y),jU=l,fU=o,NI=R0}function uY($,U,Q,H,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(var P=U.child;P!==null;){U=P.sibling;var k=$,y=Q,l=H,o=U!==null?U.actualStartTime:M,R0=NI;(P.mode&N$)!==R$&&0<P.actualStartTime&&(P.flags&1)!==0&&s2(P,P.actualStartTime,o,G6,y);var P0=P.flags;switch(P.tag){case 22:uY(k,P,y,l,o),P0&2048&&BO(P.alternate,P);break;case 24:uY(k,P,y,l,o),P0&2048&&vO(P.alternate,P);break;default:uY(k,P,y,l,o)}NI=R0,P=U}}function vJ($,U,Q){if($.subtreeFlags&jG)for($=$.child;$!==null;)AT($,U,Q),$=$.sibling}function AT($,U,Q){switch($.tag){case 26:vJ($,U,Q),$.flags&jG&&$.memoizedState!==null&&v3(Q,n1,$.memoizedState,$.memoizedProps);break;case 5:vJ($,U,Q);break;case 3:case 4:var H=n1;n1=mZ($.stateNode.containerInfo),vJ($,U,Q),n1=H;break;case 22:$.memoizedState===null&&(H=$.alternate,H!==null&&H.memoizedState!==null?(H=jG,jG=16777216,vJ($,U,Q),jG=H):vJ($,U,Q));break;default:vJ($,U,Q)}}function CT($){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 H=U[Q],M=X1();O6=H,PT(H,$),(H.mode&N$)!==R$&&0<=C$&&0<=T$&&0.05<T$-C$&&$4(H,C$,T$,"Unmount"),J1(M)}CT($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)TT($),$=$.sibling}function TT($){var U=X1(),Q=X4(),H=Q4(),M=Y4();switch($.tag){case 0:case 11:case 15:bY($),$.flags&2048&&_O($,$.return,k6|N1);break;case 3:var P=c4();bY($),$.stateNode.passiveEffectDuration+=GZ(P);break;case 12:P=c4(),bY($),$.stateNode.passiveEffectDuration+=_Y(P);break;case 22:P=$.stateNode,$.memoizedState!==null&&P._visibility&n4&&($.return===null||$.return.tag!==13)?(P._visibility&=~n4,fZ($),($.mode&N$)!==R$&&0<=C$&&0<=T$&&0.05<T$-C$&&$4($,C$,T$,"Disconnect")):bY($);break;default:bY($)}($.mode&N$)!==R$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U4($,C$,T$,kU,jU),J1(U),J4(Q),fU=M,jU=H}function fZ($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var H=U[Q],M=X1();O6=H,PT(H,$),(H.mode&N$)!==R$&&0<=C$&&0<=T$&&0.05<T$-C$&&$4(H,C$,T$,"Unmount"),J1(M)}CT($)}for($=$.child;$!==null;)RT($),$=$.sibling}function RT($){var U=X1(),Q=X4(),H=Q4(),M=Y4();switch($.tag){case 0:case 11:case 15:_O($,$.return,k6),fZ($);break;case 22:var P=$.stateNode;P._visibility&n4&&(P._visibility&=~n4,fZ($));break;default:fZ($)}($.mode&N$)!==R$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U4($,C$,T$,kU,jU),J1(U),J4(Q),fU=M,jU=H}function PT($,U){for(;O6!==null;){var Q=O6,H=Q,M=U,P=X1(),k=X4(),y=Q4(),l=Y4();switch(H.tag){case 0:case 11:case 15:_O(H,M,k6);break;case 23:case 22:H.memoizedState!==null&&H.memoizedState.cachePool!==null&&(M=H.memoizedState.cachePool.pool,M!=null&&qX(M));break;case 24:qY(H.memoizedState.cache)}if((H.mode&N$)!==R$&&0<=C$&&0<=T$&&(fU||0.05<kU)&&U4(H,C$,T$,kU,jU),J1(P),J4(k),fU=l,jU=y,H=Q.child,H!==null)H.return=Q,O6=H;else $:for(Q=$;O6!==null;){if(H=O6,P=H.sibling,k=H.return,KT(H),H===Q){O6=null;break $}if(P!==null){P.return=k,O6=P;break $}O6=k}}}function mN(){Wg.forEach(function($){return $()})}function qT(){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 Y1($){if((n$&Z6)!==V6&&g$!==0)return g$&-g$;var U=u0.T;return U!==null?(U._updatedFibers||(U._updatedFibers=new Set),U._updatedFibers.add($),uO()):X0()}function _T(){if(i6===0)if((g$&536870912)===0||p$){var $=U8;U8<<=1,(U8&3932160)===0&&(U8=262144),i6=$}else i6=536870912;return $=O1.current,$!==null&&($.flags|=32),i6}function wU($,U,Q){if(DQ&&console.error("useInsertionEffect must not schedule updates."),AV&&(c8=!0),$===KU&&(XU===lX||XU===dX)||$.cancelPendingCommit!==null)kJ($,0),PI($,g$,i6,!1);if(p0($,Q),(n$&Z6)!==V6&&$===KU){if(L4)switch(U.tag){case 0:case 11:case 15:$=w$&&t(w$)||"Unknown",sq.has($)||(sq.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:aq||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),aq=!0)}}else A4&&i0($,U,Q),eN(U),$===KU&&((n$&Z6)===V6&&(lI|=Q),gU===hI&&PI($,g$,i6,!1)),V4($)}function ET($,U,Q){if((n$&(Z6|H1))!==V6)throw Error("Should not already be working.");if(g$!==0&&w$!==null){var H=w$,M=W6();switch(lP){case NG:case lX:var P=HG;CU&&((H=H._debugTask)?H.run(console.timeStamp.bind(console,"Suspended",P,M,P1,void 0,"primary-light")):console.timeStamp("Suspended",P,M,P1,void 0,"primary-light"));break;case dX:P=HG,CU&&((H=H._debugTask)?H.run(console.timeStamp.bind(console,"Action",P,M,P1,void 0,"primary-light")):console.timeStamp("Action",P,M,P1,void 0,"primary-light"));break;default:CU&&(H=M-HG,3>H||console.timeStamp("Blocked",HG,M,P1,void 0,5>H?"primary-light":10>H?"primary":100>H?"primary-dark":"error"))}}P=(Q=!Q&&(U&127)===0&&(U&$.expiredLanes)===0||M0($,U))?dN($,U):kO($,U,!0);var k=Q;do{if(P===XI){VQ&&!Q&&PI($,U,0,!1),U=XU,HG=$6(),lP=U;break}else{if(H=W6(),M=$.current.alternate,k&&!lN(M)){U1(U),M=z6,P=H,!CU||P<=M||(nU?nU.run(console.timeStamp.bind(console,"Teared Render",M,P,b$,u$,"error")):console.timeStamp("Teared Render",M,P,b$,u$,"error")),vX(U,H),P=kO($,U,!1),k=!1;continue}if(P===mX){if(k=U,$.errorRecoveryDisabledLanes&k)var y=0;else y=$.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){U1(U),Hz(z6,H,U,nU),vX(U,H),U=y;$:{H=$,P=k,k=gG;var l=H.current.memoizedState.isDehydrated;if(l&&(kJ(H,y).flags|=256),y=kO(H,y,!1),y!==mX){if(zV&&!l){H.errorRecoveryDisabledLanes|=P,lI|=P,P=hI;break $}H=g6,g6=k,H!==null&&(g6===null?g6=H:g6.push.apply(g6,H))}P=y}if(k=!1,P!==mX)continue;else H=W6()}}if(P===vG){U1(U),Hz(z6,H,U,nU),vX(U,H),kJ($,0),PI($,U,0,!0);break}$:{switch(Q=$,P){case XI:case vG:throw Error("Root did not complete. This is a bug in React.");case hI:if((U&4194048)!==U)break;case k8:U1(U),EA(z6,H,U,nU),vX(U,H),M=U,(M&127)!==0?L8=H:(M&4194048)!==0&&(M8=H),PI(Q,U,i6,!pI);break $;case mX:g6=null;break;case N8:case uq:break;default:throw Error("Unknown root exit status.")}if(u0.actQueue!==null)gO(Q,M,U,g6,xG,w8,i6,lI,nX,P,null,null,z6,H);else{if((U&62914560)===U&&(k=f8+hq-W6(),10<k)){if(PI(Q,U,i6,!pI),I$(Q,0,!0)!==0)break $;o1=U,Q.timeoutHandle=Y_(ST.bind(null,Q,M,g6,xG,w8,U,i6,lI,nX,pI,P,"Throttled",z6,H),k);break $}ST(Q,M,g6,xG,w8,U,i6,lI,nX,pI,P,null,z6,H)}}}break}while(1);V4($)}function ST($,U,Q,H,M,P,k,y,l,o,R0,P0,V0,g0){$.timeoutHandle=aX;var z$=U.subtreeFlags,D$=null;if(z$&8192||(z$&16785408)===16785408){if(D$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:f4},AT(U,P,D$),z$=(P&62914560)===P?f8-W6():(P&4194048)===P?cq-W6():0,z$=N3(D$,z$),z$!==null){o1=P,$.cancelPendingCommit=z$(gO.bind(null,$,U,P,Q,H,M,k,y,l,R0,D$,D$.waitingForViewTransition?"Waiting for the previous Animation":0<D$.count?0<D$.imgCount?"Suspended on CSS and Images":"Suspended on CSS":D$.imgCount===1?"Suspended on an Image":0<D$.imgCount?"Suspended on Images":null,V0,g0)),PI($,P,k,!o);return}}gO($,U,P,Q,H,M,k,y,l,R0,D$,P0,V0,g0)}function lN($){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 H=0;H<Q.length;H++){var M=Q[H],P=M.getSnapshot;M=M.value;try{if(!B6(P(),M))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 PI($,U,Q,H){U&=~OV,U&=~lI,$.suspendedLanes|=U,$.pingedLanes&=~U,H&&($.warmLanes|=U),H=$.expirationTimes;for(var M=U;0<M;){var P=31-E6(M),k=1<<P;H[P]=-1,M&=~k}Q!==0&&c0($,Q,U)}function NJ(){return(n$&(Z6|H1))===V6?(pY(0,!1),!1):!0}function NO(){if(w$!==null){if(XU===o6)var $=w$.return;else $=w$,JZ(),pz($),JQ=null,PG=0,$=w$;for(;$!==null;)sC($.alternate,$),$=$.return;w$=null}}function vX($,U){($&127)!==0&&(fI=U),($&4194048)!==0&&(q4=U),($&62914560)!==0&&(pP=U),($&2080374784)!==0&&(mP=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=z6;if(z6=$6(),g$!==0&&0<Q){if(U1(g$),gU===N8||gU===hI)EA(Q,z6,U,nU);else{var H=z6,M=nU;if(CU&&!(H<=Q)){var P=(U&738197653)===U?"tertiary-dark":"primary-dark",k=(U&536870912)===U?"Prewarm":(U&201326741)===U?"Interrupted Hydration":"Interrupted Render";M?M.run(console.timeStamp.bind(console,k,Q,H,b$,u$,P)):console.timeStamp(k,Q,H,b$,u$,P)}}vX(g$,z6)}if(Q=nU,nU=null,(U&127)!==0){nU=zG,M=0<=P4&&P4<fI?fI:P4,H=0<=wX&&wX<fI?fI:wX,P=0<=H?H:0<=M?M:z6,0<=L8?(U1(2),SA(L8,P,U,Q)):(A8&127)!==0&&(U1(2),RY(fI,P,s4)),Q=M;var y=H,l=OG,o=0<UQ,R0=yI===WG,P0=yI===F8;if(M=z6,H=zG,P=l9,k=d9,CU){if(b$="Blocking",0<Q?Q>M&&(Q=M):Q=M,0<y?y>Q&&(y=Q):y=Q,l!==null&&Q>y){var V0=o?"secondary-light":"warning";H?H.run(console.timeStamp.bind(console,o?"Consecutive":"Event: "+l,y,Q,b$,u$,V0)):console.timeStamp(o?"Consecutive":"Event: "+l,y,Q,b$,u$,V0)}M>Q&&(y=R0?"error":(U&738197653)===U?"tertiary-light":"primary-light",R0=P0?"Promise Resolved":R0?"Cascading Update":5<M-Q?"Update Blocked":"Update",P0=[],k!=null&&P0.push(["Component name",k]),P!=null&&P0.push(["Method name",P]),Q={start:Q,end:M,detail:{devtools:{properties:P0,track:b$,trackGroup:u$,color:y}}},H?H.run(performance.measure.bind(performance,R0,Q)):performance.measure(R0,Q))}P4=-1.1,yI=0,d9=l9=null,L8=-1.1,UQ=wX,wX=-1.1,fI=$6()}if((U&4194048)!==0&&(nU=VG,M=0<=a4&&a4<q4?q4:a4,Q=0<=B1&&B1<q4?q4:B1,H=0<=uI&&uI<q4?q4:uI,P=0<=H?H:0<=Q?Q:z6,0<=M8?(U1(256),SA(M8,P,U,nU)):(A8&4194048)!==0&&(U1(256),RY(q4,P,s4)),P0=H,y=fX,l=0<bI,o=n9===F8,P=z6,H=VG,k=cP,R0=hP,CU&&(b$="Transition",0<Q?Q>P&&(Q=P):Q=P,0<M?M>Q&&(M=Q):M=Q,0<P0?P0>M&&(P0=M):P0=M,M>P0&&y!==null&&(V0=l?"secondary-light":"warning",H?H.run(console.timeStamp.bind(console,l?"Consecutive":"Event: "+y,P0,M,b$,u$,V0)):console.timeStamp(l?"Consecutive":"Event: "+y,P0,M,b$,u$,V0)),Q>M&&(H?H.run(console.timeStamp.bind(console,"Action",M,Q,b$,u$,"primary-dark")):console.timeStamp("Action",M,Q,b$,u$,"primary-dark")),P>Q&&(M=o?"Promise Resolved":5<P-Q?"Update Blocked":"Update",P0=[],R0!=null&&P0.push(["Component name",R0]),k!=null&&P0.push(["Method name",k]),Q={start:Q,end:P,detail:{devtools:{properties:P0,track:b$,trackGroup:u$,color:"primary-light"}}},H?H.run(performance.measure.bind(performance,M,Q)):performance.measure(M,Q))),B1=a4=-1.1,n9=0,M8=-1.1,bI=uI,uI=-1.1,q4=$6()),(U&62914560)!==0&&(A8&62914560)!==0&&(U1(4194304),RY(pP,z6,s4)),(U&2080374784)!==0&&(A8&2080374784)!==0&&(U1(268435456),RY(mP,z6,s4)),Q=$.timeoutHandle,Q!==aX&&($.timeoutHandle=aX,Pg(Q)),Q=$.cancelPendingCommit,Q!==null&&($.cancelPendingCommit=null,Q()),o1=0,NO(),KU=$,w$=Q=y4($.current,null),g$=U,XU=o6,D1=null,pI=!1,VQ=M0($,U),zV=!1,gU=XI,nX=i6=OV=lI=mI=0,g6=gG=null,w8=!1,(U&8)!==0&&(U|=U&32),H=$.entangledLanes,H!==0)for($=$.entanglements,H&=U;0<H;)M=31-E6(H),P=1<<M,U|=$[M],H&=~P;return E4=U,e2(),$=xP(),1000<$-gP&&(u0.recentlyCreatedOwnerStacks=0,gP=$),l1.discardPendingWarnings(),Q}function jT($,U){P$=null,u0.H=SG,u0.getCurrentStack=null,L4=!1,K1=null,U===XQ||U===P8?(U=rA(),XU=NG):U===t9?(U=rA(),XU=bq):XU=U===YV?WV:U!==null&&typeof U==="object"&&typeof U.then==="function"?kG:g8,D1=U;var Q=w$;Q===null?(gU=vG,BZ($,I1(U,$.current))):Q.mode&N$&&Bz(Q)}function BT(){var $=O1.current;return $===null?!0:(g$&4194048)===g$?v1===null?!0:!1:(g$&62914560)===g$||(g$&536870912)!==0?$===v1:!1}function vT(){var $=u0.H;return u0.H=SG,$===null?SG:$}function NT(){var $=u0.A;return u0.A=Kg,$}function yZ($){nU===null&&(nU=$._debugTask==null?null:$._debugTask)}function uZ(){gU=hI,pI||(g$&4194048)!==g$&&O1.current!==null||(VQ=!0),(mI&134217727)===0&&(lI&134217727)===0||KU===null||PI(KU,g$,i6,!1)}function kO($,U,Q){var H=n$;n$|=Z6;var M=vT(),P=NT();if(KU!==$||g$!==U){if(A4){var k=$.memoizedUpdaters;0<k.size&&(hY($,g$),k.clear()),PU($,U)}xG=null,kJ($,U)}U=!1,k=gU;$:do try{if(XU!==o6&&w$!==null){var y=w$,l=D1;switch(XU){case WV:NO(),k=k8;break $;case NG:case lX:case dX:case kG:O1.current===null&&(U=!0);var o=XU;if(XU=o6,D1=null,gJ($,y,l,o),Q&&VQ){k=XI;break $}break;default:o=XU,XU=o6,D1=null,gJ($,y,l,o)}}kT(),k=gU;break}catch(R0){jT($,R0)}while(1);return U&&$.shellSuspendCounter++,JZ(),n$=H,u0.H=M,u0.A=P,w$===null&&(KU=null,g$=0,e2()),k}function kT(){for(;w$!==null;)gT(w$)}function dN($,U){var Q=n$;n$|=Z6;var H=vT(),M=NT();if(KU!==$||g$!==U){if(A4){var P=$.memoizedUpdaters;0<P.size&&(hY($,g$),P.clear()),PU($,U)}xG=null,y8=W6()+pq,kJ($,U)}else VQ=M0($,U);$:do try{if(XU!==o6&&w$!==null)U:switch(U=w$,P=D1,XU){case g8:XU=o6,D1=null,gJ($,U,P,g8);break;case lX:case dX:if(oA(P)){XU=o6,D1=null,xT(U);break}U=function(){XU!==lX&&XU!==dX||KU!==$||(XU=x8),V4($)},P.then(U,U);break $;case NG:XU=x8;break $;case bq:XU=KV;break $;case x8:oA(P)?(XU=o6,D1=null,xT(U)):(XU=o6,D1=null,gJ($,U,P,x8));break;case KV:var k=null;switch(w$.tag){case 26:k=w$.memoizedState;case 5:case 27:var y=w$;if(k?ER(k):y.stateNode.complete){XU=o6,D1=null;var l=y.sibling;if(l!==null)w$=l;else{var o=y.return;o!==null?(w$=o,bZ(o)):w$=null}break U}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}XU=o6,D1=null,gJ($,U,P,KV);break;case kG:XU=o6,D1=null,gJ($,U,P,kG);break;case WV:NO(),gU=k8;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}u0.actQueue!==null?kT():nN();break}catch(R0){jT($,R0)}while(1);if(JZ(),u0.H=H,u0.A=M,n$=Q,w$!==null)return XI;return KU=null,g$=0,e2(),gU}function nN(){for(;w$!==null&&!l3();)gT(w$)}function gT($){var U=$.alternate;($.mode&N$)!==R$?(jz($),U=J0($,RO,U,$,E4),Bz($)):U=J0($,RO,U,$,E4),$.memoizedProps=$.pendingProps,U===null?bZ($):w$=U}function xT($){var U=J0($,oN,$);$.memoizedProps=$.pendingProps,U===null?bZ($):w$=U}function oN($){var U=$.alternate,Q=($.mode&N$)!==R$;switch(Q&&jz($),$.tag){case 15:case 0:U=dC(U,$,$.pendingProps,$.type,void 0,g$);break;case 11:U=dC(U,$,$.pendingProps,$.type.render,$.ref,g$);break;case 5:pz($);default:sC(U,$),$=w$=gA($,E4),U=RO(U,$,E4)}return Q&&Bz($),U}function gJ($,U,Q,H){JZ(),pz(U),JQ=null,PG=0;var M=U.return;try{if(NN($,M,U,Q,g$)){gU=vG,BZ($,I1(Q,$.current)),w$=null;return}}catch(P){if(M!==null)throw w$=M,P;gU=vG,BZ($,I1(Q,$.current)),w$=null;return}if(U.flags&32768){if(p$||H===g8)$=!0;else if(VQ||(g$&536870912)!==0)$=!1;else if(pI=$=!0,H===lX||H===dX||H===NG||H===kG)H=O1.current,H!==null&&H.tag===13&&(H.flags|=16384);wT(U,$)}else bZ(U)}function bZ($){var U=$;do{if((U.flags&32768)!==0){wT(U,pI);return}var Q=U.alternate;if($=U.return,jz(U),Q=J0(U,xN,Q,U,E4),(U.mode&N$)!==R$&&pA(U),Q!==null){w$=Q;return}if(U=U.sibling,U!==null){w$=U;return}w$=U=$}while(U!==null);gU===XI&&(gU=uq)}function wT($,U){do{var Q=wN($.alternate,$);if(Q!==null){Q.flags&=32767,w$=Q;return}if(($.mode&N$)!==R$){pA($),Q=$.actualDuration;for(var H=$.child;H!==null;)Q+=H.actualDuration,H=H.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);gU=k8,w$=null}function gO($,U,Q,H,M,P,k,y,l,o,R0,P0,V0,g0){$.cancelPendingCommit=null;do cY();while(Q6!==nI);if(l1.flushLegacyContextWarning(),l1.flushPendingUnsafeLifecycleWarnings(),(n$&(Z6|H1))!==V6)throw Error("Should not already be working.");if(U1(Q),o===mX?Hz(V0,g0,Q,nU):H!==null?MN(V0,g0,Q,H,U!==null&&U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)!==0,nU):LN(V0,g0,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(P=U.lanes|U.childLanes,P|=b9,r$($,Q,P,k,y,l),$===KU&&(w$=KU=null,g$=0),HQ=U,oI=$,o1=Q,DV=P,LV=M,iq=H,FV=g0,rq=P0,i1=u8,tq=null,U.actualDuration!==0||(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,sN(bJ,function(){return cG=window.event,i1===u8&&(i1=HV),cT(),null})):($.callbackNode=null,$.callbackPriority=0),t4=null,wI=$6(),P0!==null&&AN(g0,wI,P0,nU),H=(U.flags&13878)!==0,(U.subtreeFlags&13878)!==0||H){H=u0.T,u0.T=null,M=s$.p,s$.p=W1,k=n$,n$|=H1;try{hN($,U,Q)}finally{n$=k,s$.p=M,u0.T=H}}Q6=lq,fT(),yT(),uT()}}function fT(){if(Q6===lq){Q6=nI;var $=oI,U=HQ,Q=o1,H=(U.flags&13878)!==0;if((U.subtreeFlags&13878)!==0||H){H=u0.T,u0.T=null;var M=s$.p;s$.p=W1;var P=n$;n$|=H1;try{zQ=Q,OQ=$,ZZ(),VT(U,$),OQ=zQ=null,Q=jV;var k=PA($.containerInfo),y=Q.focusedElem,l=Q.selectionRange;if(k!==y&&y&&y.ownerDocument&&RA(y.ownerDocument.documentElement,y)){if(l!==null&&zz(y)){var{start:o,end:R0}=l;if(R0===void 0&&(R0=o),"selectionStart"in y)y.selectionStart=o,y.selectionEnd=Math.min(R0,y.value.length);else{var P0=y.ownerDocument||document,V0=P0&&P0.defaultView||window;if(V0.getSelection){var g0=V0.getSelection(),z$=y.textContent.length,D$=Math.min(l.start,z$),DU=l.end===void 0?D$:Math.min(l.end,z$);!g0.extend&&D$>DU&&(k=DU,DU=D$,D$=k);var l$=TA(y,D$),K0=TA(y,DU);if(l$&&K0&&(g0.rangeCount!==1||g0.anchorNode!==l$.node||g0.anchorOffset!==l$.offset||g0.focusNode!==K0.node||g0.focusOffset!==K0.offset)){var H0=P0.createRange();H0.setStart(l$.node,l$.offset),g0.removeAllRanges(),D$>DU?(g0.addRange(H0),g0.extend(K0.node,K0.offset)):(H0.setEnd(K0.node,K0.offset),g0.addRange(H0))}}}}P0=[];for(g0=y;g0=g0.parentNode;)g0.nodeType===1&&P0.push({element:g0,left:g0.scrollLeft,top:g0.scrollTop});typeof y.focus==="function"&&y.focus();for(y=0;y<P0.length;y++){var C0=P0[y];C0.element.scrollLeft=C0.left,C0.element.scrollTop=C0.top}}$K=!!SV,jV=SV=null}finally{n$=P,s$.p=M,u0.T=H}}$.current=U,Q6=dq}}function yT(){if(Q6===dq){Q6=nI;var $=tq;if($!==null){wI=$6();var U=r4,Q=wI;!CU||Q<=U||(s4?s4.run(console.timeStamp.bind(console,$,U,Q,b$,u$,"secondary-light")):console.timeStamp($,U,Q,b$,u$,"secondary-light"))}$=oI,U=HQ,Q=o1;var H=(U.flags&8772)!==0;if((U.subtreeFlags&8772)!==0||H){H=u0.T,u0.T=null;var M=s$.p;s$.p=W1;var P=n$;n$|=H1;try{zQ=Q,OQ=$,ZZ(),ZT($,U.alternate,U),OQ=zQ=null}finally{n$=P,s$.p=M,u0.T=H}}$=FV,U=rq,r4=$6(),$=U===null?$:wI,U=r4,Q=i1===VV,H=nU,t4!==null?jA($,U,t4,!1,H):!CU||U<=$||(H?H.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=nq}}function uT(){if(Q6===oq||Q6===nq){if(Q6===oq){var $=r4;r4=$6();var U=r4,Q=i1===VV;!CU||U<=$||(s4?s4.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")),i1!==VV&&(i1=mq)}Q6=nI,d3(),$=oI;var H=HQ;U=o1,Q=iq;var M=H.actualDuration!==0||(H.subtreeFlags&10256)!==0||(H.flags&10256)!==0;M?Q6=b8:(Q6=nI,HQ=oI=null,bT($,$.pendingLanes),oX=0,fG=null);var P=$.pendingLanes;if(P===0&&(dI=null),M||lT($),P=m(U),H=H.stateNode,R6&&typeof R6.onCommitFiberRoot==="function")try{var k=(H.current.flags&128)===128;switch(P){case W1:var y=L9;break;case p1:y=M9;break;case C4:y=bJ;break;case X8:y=A9;break;default:y=bJ}R6.onCommitFiberRoot(cJ,H,y,k)}catch(P0){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",P0))}if(A4&&$.memoizedUpdaters.clear(),mN(),Q!==null){k=u0.T,y=s$.p,s$.p=W1,u0.T=null;try{var l=$.onRecoverableError;for(H=0;H<Q.length;H++){var o=Q[H],R0=iN(o.stack);J0(o.source,l,o.value,R0)}}finally{u0.T=k,s$.p=y}}(o1&3)!==0&&cY(),V4($),P=$.pendingLanes,(U&261930)!==0&&(P&42)!==0?(T8=!0,$===MV?wG++:(wG=0,MV=$)):wG=0,M||vX(U,r4),pY(0,!1)}}function iN($){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 bT($,U){($.pooledCacheLanes&=U)===0&&(U=$.pooledCache,U!=null&&($.pooledCache=null,qY(U)))}function cY(){return fT(),yT(),uT(),cT()}function cT(){if(Q6!==b8)return!1;var $=oI,U=DV;DV=0;var Q=m(o1),H=C4===0||C4>Q?C4:Q;Q=u0.T;var M=s$.p;try{s$.p=H,u0.T=null;var P=LV;LV=null,H=oI;var k=o1;if(Q6=nI,HQ=oI=null,o1=0,(n$&(Z6|H1))!==V6)throw Error("Cannot flush passive effects while already rendering.");U1(k),AV=!0,c8=!1;var y=0;if(t4=null,y=W6(),i1===mq)RY(r4,y,s4);else{var l=r4,o=y,R0=i1===HV;!CU||o<=l||(nU?nU.run(console.timeStamp.bind(console,R0?"Waiting for Paint":"Waiting",l,o,b$,u$,"secondary-light")):console.timeStamp(R0?"Waiting for Paint":"Waiting",l,o,b$,u$,"secondary-light"))}l=n$,n$|=H1;var P0=H.current;ZZ(),TT(P0);var V0=H.current;P0=FV,ZZ(),LT(H,V0,k,P,P0),lT(H),n$=l;var g0=W6();if(V0=y,P0=nU,t4!==null?jA(V0,g0,t4,!0,P0):!CU||g0<=V0||(P0?P0.run(console.timeStamp.bind(console,"Remaining Effects",V0,g0,b$,u$,"secondary-dark")):console.timeStamp("Remaining Effects",V0,g0,b$,u$,"secondary-dark")),vX(k,g0),pY(0,!1),c8?H===fG?oX++:(oX=0,fG=H):oX=0,c8=AV=!1,R6&&typeof R6.onPostCommitFiberRoot==="function")try{R6.onPostCommitFiberRoot(cJ,H)}catch(D$){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",D$))}var z$=H.current.stateNode;return z$.effectDuration=0,z$.passiveEffectDuration=0,!0}finally{s$.p=M,u0.T=Q,bT($,U)}}function hT($,U,Q){U=I1(Q,U),mA(U),U=zO($.stateNode,U,2),$=AI($,U,2),$!==null&&(p0($,2),V4($))}function a$($,U,Q){if(DQ=!1,$.tag===3)hT($,$,Q);else{for(;U!==null;){if(U.tag===3){hT(U,$,Q);return}if(U.tag===1){var H=U.stateNode;if(typeof U.type.getDerivedStateFromError==="function"||typeof H.componentDidCatch==="function"&&(dI===null||!dI.has(H))){$=I1(Q,$),mA($),Q=OO(2),H=AI(U,Q,2),H!==null&&(VO(Q,H,U,$),p0(H,2),V4(H));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 xO($,U,Q){var H=$.pingCache;if(H===null){H=$.pingCache=new zg;var M=new Set;H.set(U,M)}else M=H.get(U),M===void 0&&(M=new Set,H.set(U,M));M.has(Q)||(zV=!0,M.add(Q),H=rN.bind(null,$,U,Q),A4&&hY($,Q),U.then(H,H))}function rN($,U,Q){var H=$.pingCache;H!==null&&H.delete(U),$.pingedLanes|=$.suspendedLanes&Q,$.warmLanes&=~Q,(Q&127)!==0?0>P4&&(fI=P4=$6(),zG=D8("Promise Resolved"),yI=F8):(Q&4194048)!==0&&0>B1&&(q4=B1=$6(),VG=D8("Promise Resolved"),n9=F8),qT()&&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`),KU===$&&(g$&Q)===Q&&(gU===hI||gU===N8&&(g$&62914560)===g$&&W6()-f8<hq?(n$&Z6)===V6&&kJ($,0):OV|=Q,nX===g$&&(nX=0)),V4($)}function pT($,U){U===0&&(U=M$()),$=T6($,U),$!==null&&(p0($,U),V4($))}function tN($){var U=$.memoizedState,Q=0;U!==null&&(Q=U.retryLane),pT($,Q)}function aN($,U){var Q=0;switch($.tag){case 31:case 13:var{stateNode:H,memoizedState:M}=$;M!==null&&(Q=M.retryLane);break;case 19:H=$.stateNode;break;case 22:H=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}H!==null&&H.delete(U),pT($,Q)}function wO($,U,Q){if((U.subtreeFlags&67117056)!==0)for(U=U.child;U!==null;){var H=$,M=U,P=M.type===aZ;P=Q||P,M.tag!==22?M.flags&67108864?P&&J0(M,mT,H,M):wO(H,M,P):M.memoizedState===null&&(P&&M.flags&8192?J0(M,mT,H,M):M.subtreeFlags&67108864&&J0(M,wO,H,M,P)),U=U.sibling}}function mT($,U){N0(!0);try{DT(U),RT(U),FT($,U.alternate,U,!1),MT($,U,0,null,!1,0)}finally{N0(!1)}}function lT($){var U=!0;$.current.mode&(P6|m1)||(U=!1),wO($,$.current,U)}function dT($){if((n$&Z6)===V6){var U=$.tag;if(U===3||U===1||U===0||U===11||U===14||U===15){if(U=t($)||"ReactComponent",h8!==null){if(h8.has(U))return;h8.add(U)}else h8=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){A4&&$.memoizedUpdaters.forEach(function(Q){i0($,Q,U)})}function sN($,U){var Q=u0.actQueue;return Q!==null?(Q.push(U),Hg):F9($,U)}function eN($){qT()&&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 V4($){$!==FQ&&$.next===null&&(FQ===null?p8=FQ=$:FQ=FQ.next=$),m8=!0,u0.actQueue!==null?TV||(TV=!0,rT()):CV||(CV=!0,rT())}function pY($,U){if(!RV&&m8){RV=!0;do{var Q=!1;for(var H=p8;H!==null;){if(!U)if($!==0){var M=H.pendingLanes;if(M===0)var P=0;else{var{suspendedLanes:k,pingedLanes:y}=H;P=(1<<31-E6(42|$)+1)-1,P&=M&~(k&~y),P=P&201326741?P&201326741|1:P?P|2:0}P!==0&&(Q=!0,iT(H,P))}else P=g$,P=I$(H,H===KU?P:0,H.cancelPendingCommit!==null||H.timeoutHandle!==aX),(P&3)===0||M0(H,P)||(Q=!0,iT(H,P));H=H.next}}while(Q);RV=!1}}function $3(){cG=window.event,fO()}function fO(){m8=TV=CV=!1;var $=0;iI!==0&&G3()&&($=iI);for(var U=W6(),Q=null,H=p8;H!==null;){var M=H.next,P=nT(H,U);if(P===0)H.next=null,Q===null?p8=M:Q.next=M,M===null&&(FQ=Q);else if(Q=H,$!==0||(P&3)!==0)m8=!0;H=M}Q6!==nI&&Q6!==b8||pY($,!1),iI!==0&&(iI=0)}function nT($,U){for(var{suspendedLanes:Q,pingedLanes:H,expirationTimes:M}=$,P=$.pendingLanes&-62914561;0<P;){var k=31-E6(P),y=1<<k,l=M[k];if(l===-1){if((y&Q)===0||(y&H)!==0)M[k]=B0(y,U)}else l<=U&&($.expiredLanes|=y);P&=~y}if(U=KU,Q=g$,Q=I$($,$===U?Q:0,$.cancelPendingCommit!==null||$.timeoutHandle!==aX),H=$.callbackNode,Q===0||$===U&&(XU===lX||XU===dX)||$.cancelPendingCommit!==null)return H!==null&&yO(H),$.callbackNode=null,$.callbackPriority=0;if((Q&3)===0||M0($,Q)){if(U=Q&-Q,U!==$.callbackPriority||u0.actQueue!==null&&H!==PV)yO(H);else return U;switch(m(Q)){case W1:case p1:Q=M9;break;case C4:Q=bJ;break;case X8:Q=A9;break;default:Q=bJ}return H=oT.bind(null,$),u0.actQueue!==null?(u0.actQueue.push(H),Q=PV):Q=F9(Q,H),$.callbackPriority=U,$.callbackNode=Q,U}return H!==null&&yO(H),$.callbackPriority=2,$.callbackNode=null,2}function oT($,U){if(T8=C8=!1,cG=window.event,Q6!==nI&&Q6!==b8)return $.callbackNode=null,$.callbackPriority=0,null;var Q=$.callbackNode;if(i1===u8&&(i1=HV),cY()&&$.callbackNode!==Q)return null;var H=g$;if(H=I$($,$===KU?H:0,$.cancelPendingCommit!==null||$.timeoutHandle!==aX),H===0)return null;return ET($,H,U),nT($,W6()),$.callbackNode!=null&&$.callbackNode===Q?oT.bind(null,$):null}function iT($,U){if(cY())return null;C8=T8,T8=!1,ET($,U,!0)}function yO($){$!==PV&&$!==null&&m3($)}function rT(){u0.actQueue!==null&&u0.actQueue.push(function(){return fO(),null}),qg(function(){(n$&(Z6|H1))!==V6?F9(L9,$3):fO()})}function uO(){if(iI===0){var $=yX;$===0&&($=$8,$8<<=1,($8&261888)===0&&($8=256)),iI=$}return iI}function tT($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return n($,"action"),AY(""+$)}function aT($,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 U3($,U,Q,H,M){if(U==="submit"&&Q&&Q.stateNode===M){var P=tT((M[S6]||null).action),k=H.submitter;k&&(U=(U=k[S6]||null)?tT(U.formAction):k.getAttribute("formAction"),U!==null&&(P=U,k=null));var y=new Z8("action","action",null,H,M);$.push({event:y,listeners:[{instance:null,listener:function(){if(H.defaultPrevented){if(iI!==0){var l=k?aT(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:P};Object.freeze(o),JO(Q,o,null,l)}}else typeof P==="function"&&(y.preventDefault(),l=k?aT(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:P},Object.freeze(o),JO(Q,o,P,l))},currentTarget:M}]})}}function cZ($,U,Q){$.currentTarget=Q;try{U($)}catch(H){w9(H)}$.currentTarget=null}function sT($,U){U=(U&4)!==0;for(var Q=0;Q<$.length;Q++){var H=$[Q];$:{var M=void 0,P=H.event;if(H=H.listeners,U)for(var k=H.length-1;0<=k;k--){var y=H[k],l=y.instance,o=y.currentTarget;if(y=y.listener,l!==M&&P.isPropagationStopped())break $;l!==null?J0(l,cZ,P,y,o):cZ(P,y,o),M=l}else for(k=0;k<H.length;k++){if(y=H[k],l=y.instance,o=y.currentTarget,y=y.listener,l!==M&&P.isPropagationStopped())break $;l!==null?J0(l,cZ,P,y,o):cZ(P,y,o),M=l}}}}function m$($,U){qV.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var Q=U[C9];Q===void 0&&(Q=U[C9]=new Set);var H=$+"__bubble";Q.has(H)||(eT(U,$,2,!1),Q.add(H))}function bO($,U,Q){qV.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 H=0;U&&(H|=4),eT(Q,$,H,U)}function cO($){if(!$[l8]){$[l8]=!0,rR.forEach(function(Q){Q!=="selectionchange"&&(qV.has(Q)||bO(Q,!1,$),bO(Q,!0,$))});var U=$.nodeType===9?$:$.ownerDocument;U===null||U[l8]||(U[l8]=!0,bO("selectionchange",!1,U))}}function eT($,U,Q,H){switch(kR(U)){case W1:var M=w3;break;case p1:M=f3;break;default:M=I9}Q=M.bind(null,U,Q,$),M=void 0,!_9||U!=="touchstart"&&U!=="touchmove"&&U!=="wheel"||(M=!0),H?M!==void 0?$.addEventListener(U,Q,{capture:!0,passive:M}):$.addEventListener(U,Q,!0):M!==void 0?$.addEventListener(U,Q,{passive:M}):$.addEventListener(U,Q,!1)}function hO($,U,Q,H,M){var P=H;if((U&1)===0&&(U&2)===0&&H!==null)$:for(;;){if(H===null)return;var k=H.tag;if(k===3||k===4){var y=H.stateNode.containerInfo;if(y===M)break;if(k===4)for(k=H.return;k!==null;){var l=k.tag;if((l===3||l===4)&&k.stateNode.containerInfo===M)return;k=k.return}for(;y!==null;){if(k=v0(y),k===null)return;if(l=k.tag,l===5||l===6||l===26||l===27){H=P=k;continue $}y=y.parentNode}}H=H.return}WA(function(){var o=P,R0=Kz(Q),P0=[];$:{var V0=kP.get($);if(V0!==void 0){var g0=Z8,z$=$;switch($){case"keypress":if(i2(Q)===0)break $;case"keydown":case"keyup":g0=vk;break;case"focusin":z$="focus",g0=B9;break;case"focusout":z$="blur",g0=B9;break;case"beforeblur":case"afterblur":g0=B9;break;case"click":if(Q.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g0=MP;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g0=Mk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g0=gk;break;case jP:case BP:case vP:g0=Tk;break;case NP:g0=wk;break;case"scroll":case"scrollend":g0=Fk;break;case"wheel":g0=yk;break;case"copy":case"cut":case"paste":g0=Pk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g0=CP;break;case"toggle":case"beforetoggle":g0=bk}var D$=(U&4)!==0,DU=!D$&&($==="scroll"||$==="scrollend"),l$=D$?V0!==null?V0+"Capture":null:V0;D$=[];for(var K0=o,H0;K0!==null;){var C0=K0;if(H0=C0.stateNode,C0=C0.tag,C0!==5&&C0!==26&&C0!==27||H0===null||l$===null||(C0=CY(K0,l$),C0!=null&&D$.push(mY(K0,C0,H0))),DU)break;K0=K0.return}0<D$.length&&(V0=new g0(V0,z$,null,Q,R0),P0.push({event:V0,listeners:D$}))}}if((U&7)===0){$:{if(V0=$==="mouseover"||$==="pointerover",g0=$==="mouseout"||$==="pointerout",V0&&Q!==$G&&(z$=Q.relatedTarget||Q.fromElement)&&(v0(z$)||z$[BI]))break $;if(g0||V0){if(V0=R0.window===R0?R0:(V0=R0.ownerDocument)?V0.defaultView||V0.parentWindow:window,g0){if(z$=Q.relatedTarget||Q.toElement,g0=o,z$=z$?v0(z$):null,z$!==null&&(DU=b(z$),D$=z$.tag,z$!==DU||D$!==5&&D$!==27&&D$!==6))z$=null}else g0=null,z$=o;if(g0!==z$){if(D$=MP,C0="onMouseLeave",l$="onMouseEnter",K0="mouse",$==="pointerout"||$==="pointerover")D$=CP,C0="onPointerLeave",l$="onPointerEnter",K0="pointer";if(DU=g0==null?V0:x0(g0),H0=z$==null?V0:x0(z$),V0=new D$(C0,K0+"leave",g0,Q,R0),V0.target=DU,V0.relatedTarget=H0,C0=null,v0(R0)===o&&(D$=new D$(l$,K0+"enter",z$,Q,R0),D$.target=H0,D$.relatedTarget=DU,C0=D$),DU=C0,g0&&z$)U:{D$=I3,l$=g0,K0=z$,H0=0;for(C0=l$;C0;C0=D$(C0))H0++;C0=0;for(var l0=K0;l0;l0=D$(l0))C0++;for(;0<H0-C0;)l$=D$(l$),H0--;for(;0<C0-H0;)K0=D$(K0),C0--;for(;H0--;){if(l$===K0||K0!==null&&l$===K0.alternate){D$=l$;break U}l$=D$(l$),K0=D$(K0)}D$=null}else D$=null;g0!==null&&$R(P0,V0,g0,D$,!1),z$!==null&&DU!==null&&$R(P0,DU,z$,D$,!0)}}}$:{if(V0=o?x0(o):window,g0=V0.nodeName&&V0.nodeName.toLowerCase(),g0==="select"||g0==="input"&&V0.type==="file")var O$=LA;else if(DA(V0))if(EP)O$=HN;else{O$=ON;var q$=zN}else g0=V0.nodeName,!g0||g0.toLowerCase()!=="input"||V0.type!=="checkbox"&&V0.type!=="radio"?o&&MY(o.elementType)&&(O$=LA):O$=VN;if(O$&&(O$=O$($,o))){FA(P0,O$,Q,R0);break $}q$&&q$($,V0,o),$==="focusout"&&o&&V0.type==="number"&&o.memoizedProps.value!=null&&B$(V0,"number",V0.value)}switch(q$=o?x0(o):window,$){case"focusin":if(DA(q$)||q$.contentEditable==="true")oJ=q$,N9=o,GG=null;break;case"focusout":GG=N9=oJ=null;break;case"mousedown":k9=!0;break;case"contextmenu":case"mouseup":case"dragend":k9=!1,qA(P0,Q,R0);break;case"selectionchange":if(mk)break;case"keydown":case"keyup":qA(P0,Q,R0)}var A$;if(v9)$:{switch($){case"compositionstart":var L$="onCompositionStart";break $;case"compositionend":L$="onCompositionEnd";break $;case"compositionupdate":L$="onCompositionUpdate";break $}L$=void 0}else nJ?VA($,Q)&&(L$="onCompositionEnd"):$==="keydown"&&Q.keyCode===TP&&(L$="onCompositionStart");if(L$&&(RP&&Q.locale!=="ko"&&(nJ||L$!=="onCompositionStart"?L$==="onCompositionEnd"&&nJ&&(A$=zA()):(vI=R0,E9=("value"in vI)?vI.value:vI.textContent,nJ=!0)),q$=hZ(o,L$),0<q$.length&&(L$=new AP(L$,$,null,Q,R0),P0.push({event:L$,listeners:q$}),A$?L$.data=A$:(A$=HA(Q),A$!==null&&(L$.data=A$)))),A$=hk?GN($,Q):ZN($,Q))L$=hZ(o,"onBeforeInput"),0<L$.length&&(q$=new _k("onBeforeInput","beforeinput",null,Q,R0),P0.push({event:q$,listeners:L$}),q$.data=A$);U3(P0,$,o,Q,R0)}sT(P0,U)})}function mY($,U,Q){return{instance:$,listener:U,currentTarget:Q}}function hZ($,U){for(var Q=U+"Capture",H=[];$!==null;){var M=$,P=M.stateNode;if(M=M.tag,M!==5&&M!==26&&M!==27||P===null||(M=CY($,Q),M!=null&&H.unshift(mY($,M,P)),M=CY($,U),M!=null&&H.push(mY($,M,P))),$.tag===3)return H;$=$.return}return[]}function I3($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function $R($,U,Q,H,M){for(var P=U._reactName,k=[];Q!==null&&Q!==H;){var y=Q,l=y.alternate,o=y.stateNode;if(y=y.tag,l!==null&&l===H)break;y!==5&&y!==26&&y!==27||o===null||(l=o,M?(o=CY(Q,P),o!=null&&k.unshift(mY(Q,o,l))):M||(o=CY(Q,P),o!=null&&k.push(mY(Q,o,l)))),Q=Q.return}k.length!==0&&$.push({event:U,listeners:k})}function pO($,U){XN($,U),$!=="input"&&$!=="textarea"&&$!=="select"||U==null||U.value!==null||FP||(FP=!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:T9};MY($)||typeof U.is==="string"||QN($,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 K6($,U,Q,H){U!==Q&&(Q=qI(Q),qI(U)!==Q&&(H[$]=U))}function X3($,U,Q){U.forEach(function(H){Q[XR(H)]=H==="style"?lO($):$.getAttribute(H)})}function H4($,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 UR($,U){return $=$.namespaceURI===Q8||$.namespaceURI===pJ?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=U,$.innerHTML}function qI($){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(Dg,`
176
+ `).replace(Fg,"")}function IR($,U){return U=qI(U),qI($)===U?!0:!1}function GU($,U,Q,H,M,P){switch(Q){case"children":if(typeof H==="string")o2(H,U,!1),U==="body"||U==="textarea"&&H===""||LY($,H);else if(typeof H==="number"||typeof H==="bigint")o2(""+H,U,!1),U!=="body"&&LY($,""+H);break;case"className":q0($,"class",H);break;case"tabIndex":q0($,"tabindex",H);break;case"dir":case"role":case"viewBox":case"width":case"height":q0($,Q,H);break;case"style":GA($,H,P);break;case"data":if(U!=="object"){q0($,"data",H);break}case"src":case"href":if(H===""&&(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(H==null||typeof H==="function"||typeof H==="symbol"||typeof H==="boolean"){$.removeAttribute(Q);break}n(H,Q),H=AY(""+H),$.setAttribute(Q,H);break;case"action":case"formAction":if(H!=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 H==="function"&&(M.encType==null&&M.method==null||o8||(o8=!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.")),M.target==null||n8||(n8=!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"||M.type==="submit"||M.type==="image"||d8?U!=="button"||M.type==null||M.type==="submit"||d8?typeof H==="function"&&(M.name==null||U_||(U_=!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.')),M.formEncType==null&&M.formMethod==null||o8||(o8=!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.")),M.formTarget==null||n8||(n8=!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."))):(d8=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(d8=!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 H==="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 P==="function"&&(Q==="formAction"?(U!=="input"&&GU($,U,"name",M.name,M,null),GU($,U,"formEncType",M.formEncType,M,null),GU($,U,"formMethod",M.formMethod,M,null),GU($,U,"formTarget",M.formTarget,M,null)):(GU($,U,"encType",M.encType,M,null),GU($,U,"method",M.method,M,null),GU($,U,"target",M.target,M,null)));if(H==null||typeof H==="symbol"||typeof H==="boolean"){$.removeAttribute(Q);break}n(H,Q),H=AY(""+H),$.setAttribute(Q,H);break;case"onClick":H!=null&&(typeof H!=="function"&&H4(Q,H),$.onclick=f4);break;case"onScroll":H!=null&&(typeof H!=="function"&&H4(Q,H),m$("scroll",$));break;case"onScrollEnd":H!=null&&(typeof H!=="function"&&H4(Q,H),m$("scrollend",$));break;case"dangerouslySetInnerHTML":if(H!=null){if(typeof H!=="object"||!("__html"in H))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=H.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"multiple":$.multiple=H&&typeof H!=="function"&&typeof H!=="symbol";break;case"muted":$.muted=H&&typeof H!=="function"&&typeof H!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(H==null||typeof H==="function"||typeof H==="boolean"||typeof H==="symbol"){$.removeAttribute("xlink:href");break}n(H,Q),Q=AY(""+H),$.setAttributeNS(iX,"xlink:href",Q);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":H!=null&&typeof H!=="function"&&typeof H!=="symbol"?(n(H,Q),$.setAttribute(Q,""+H)):$.removeAttribute(Q);break;case"inert":H!==""||i8[Q]||(i8[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":H&&typeof H!=="function"&&typeof H!=="symbol"?$.setAttribute(Q,""):$.removeAttribute(Q);break;case"capture":case"download":H===!0?$.setAttribute(Q,""):H!==!1&&H!=null&&typeof H!=="function"&&typeof H!=="symbol"?(n(H,Q),$.setAttribute(Q,H)):$.removeAttribute(Q);break;case"cols":case"rows":case"size":case"span":H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&!isNaN(H)&&1<=H?(n(H,Q),$.setAttribute(Q,H)):$.removeAttribute(Q);break;case"rowSpan":case"start":H==null||typeof H==="function"||typeof H==="symbol"||isNaN(H)?$.removeAttribute(Q):(n(H,Q),$.setAttribute(Q,H));break;case"popover":m$("beforetoggle",$),m$("toggle",$),G0($,"popover",H);break;case"xlinkActuate":E0($,iX,"xlink:actuate",H);break;case"xlinkArcrole":E0($,iX,"xlink:arcrole",H);break;case"xlinkRole":E0($,iX,"xlink:role",H);break;case"xlinkShow":E0($,iX,"xlink:show",H);break;case"xlinkTitle":E0($,iX,"xlink:title",H);break;case"xlinkType":E0($,iX,"xlink:type",H);break;case"xmlBase":E0($,_V,"xml:base",H);break;case"xmlLang":E0($,_V,"xml:lang",H);break;case"xmlSpace":E0($,_V,"xml:space",H);break;case"is":P!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),G0($,"is",H);break;case"innerText":case"textContent":break;case"popoverTarget":I_||H==null||typeof H!=="object"||(I_=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",H));default:!(2<Q.length)||Q[0]!=="o"&&Q[0]!=="O"||Q[1]!=="n"&&Q[1]!=="N"?(Q=ZA(Q),G0($,Q,H)):NX.hasOwnProperty(Q)&&H!=null&&typeof H!=="function"&&H4(Q,H)}}function mO($,U,Q,H,M,P){switch(Q){case"style":GA($,H,P);break;case"dangerouslySetInnerHTML":if(H!=null){if(typeof H!=="object"||!("__html"in H))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=H.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"children":typeof H==="string"?LY($,H):(typeof H==="number"||typeof H==="bigint")&&LY($,""+H);break;case"onScroll":H!=null&&(typeof H!=="function"&&H4(Q,H),m$("scroll",$));break;case"onScrollEnd":H!=null&&(typeof H!=="function"&&H4(Q,H),m$("scrollend",$));break;case"onClick":H!=null&&(typeof H!=="function"&&H4(Q,H),$.onclick=f4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(NX.hasOwnProperty(Q))H!=null&&typeof H!=="function"&&H4(Q,H);else $:{if(Q[0]==="o"&&Q[1]==="n"&&(M=Q.endsWith("Capture"),U=Q.slice(2,M?Q.length-7:void 0),P=$[S6]||null,P=P!=null?P[Q]:null,typeof P==="function"&&$.removeEventListener(U,P,M),typeof H==="function")){typeof P!=="function"&&P!==null&&(Q in $?$[Q]=null:$.hasAttribute(Q)&&$.removeAttribute(Q)),$.addEventListener(U,H,M);break $}Q in $?$[Q]=H:H===!0?$.setAttribute(Q,""):G0($,Q,H)}}}function L6($,U,Q){switch(pO(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 H=!1,M=!1,P;for(P in Q)if(Q.hasOwnProperty(P)){var k=Q[P];if(k!=null)switch(P){case"src":H=!0;break;case"srcSet":M=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:GU($,U,P,k,Q,null)}}M&&GU($,U,"srcSet",Q.srcSet,Q,null),H&&GU($,U,"src",Q.src,Q,null);return;case"input":OU("input",Q),m$("invalid",$);var y=P=k=M=null,l=null,o=null;for(H in Q)if(Q.hasOwnProperty(H)){var R0=Q[H];if(R0!=null)switch(H){case"name":M=R0;break;case"type":k=R0;break;case"checked":l=R0;break;case"defaultChecked":o=R0;break;case"value":P=R0;break;case"defaultValue":y=R0;break;case"children":case"dangerouslySetInnerHTML":if(R0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:GU($,U,H,R0,Q,null)}}J$($,Q),qU($,P,y,l,o,k,M,!1);return;case"select":OU("select",Q),m$("invalid",$),H=k=P=null;for(M in Q)if(Q.hasOwnProperty(M)&&(y=Q[M],y!=null))switch(M){case"value":P=y;break;case"defaultValue":k=y;break;case"multiple":H=y;default:GU($,U,M,y,Q,null)}bU($,Q),U=P,Q=k,$.multiple=!!H,U!=null?d$($,!!H,U,!1):Q!=null&&d$($,!!H,Q,!0);return;case"textarea":OU("textarea",Q),m$("invalid",$),P=M=H=null;for(k in Q)if(Q.hasOwnProperty(k)&&(y=Q[k],y!=null))switch(k){case"value":H=y;break;case"defaultValue":M=y;break;case"children":P=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:GU($,U,k,y,Q,null)}cU($,Q),pU($,H,M,P);return;case"option":S$($,Q);for(l in Q)if(Q.hasOwnProperty(l)&&(H=Q[l],H!=null))switch(l){case"selected":$.selected=H&&typeof H!=="function"&&typeof H!=="symbol";break;default:GU($,U,l,H,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(H=0;H<yG.length;H++)m$(yG[H],$);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)&&(H=Q[o],H!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:GU($,U,o,H,Q,null)}return;default:if(MY(U)){for(R0 in Q)Q.hasOwnProperty(R0)&&(H=Q[R0],H!==void 0&&mO($,U,R0,H,Q,void 0));return}}for(y in Q)Q.hasOwnProperty(y)&&(H=Q[y],H!=null&&GU($,U,y,H,Q,null))}function J3($,U,Q,H){switch(pO(U,H),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var M=null,P=null,k=null,y=null,l=null,o=null,R0=null;for(g0 in Q){var P0=Q[g0];if(Q.hasOwnProperty(g0)&&P0!=null)switch(g0){case"checked":break;case"value":break;case"defaultValue":l=P0;default:H.hasOwnProperty(g0)||GU($,U,g0,null,H,P0)}}for(var V0 in H){var g0=H[V0];if(P0=Q[V0],H.hasOwnProperty(V0)&&(g0!=null||P0!=null))switch(V0){case"type":P=g0;break;case"name":M=g0;break;case"checked":o=g0;break;case"defaultChecked":R0=g0;break;case"value":k=g0;break;case"defaultValue":y=g0;break;case"children":case"dangerouslySetInnerHTML":if(g0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:g0!==P0&&GU($,U,V0,g0,H,P0)}}U=Q.type==="checkbox"||Q.type==="radio"?Q.checked!=null:Q.value!=null,H=H.type==="checkbox"||H.type==="radio"?H.checked!=null:H.value!=null,U||!H||$_||(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"),$_=!0),!U||H||eq||(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"),eq=!0),$$($,k,y,l,o,R0,P,M);return;case"select":g0=k=y=V0=null;for(P in Q)if(l=Q[P],Q.hasOwnProperty(P)&&l!=null)switch(P){case"value":break;case"multiple":g0=l;default:H.hasOwnProperty(P)||GU($,U,P,null,H,l)}for(M in H)if(P=H[M],l=Q[M],H.hasOwnProperty(M)&&(P!=null||l!=null))switch(M){case"value":V0=P;break;case"defaultValue":y=P;break;case"multiple":k=P;default:P!==l&&GU($,U,M,P,H,l)}H=y,U=k,Q=g0,V0!=null?d$($,!!U,V0,!1):!!Q!==!!U&&(H!=null?d$($,!!U,H,!0):d$($,!!U,U?[]:"",!1));return;case"textarea":g0=V0=null;for(y in Q)if(M=Q[y],Q.hasOwnProperty(y)&&M!=null&&!H.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:GU($,U,y,null,H,M)}for(k in H)if(M=H[k],P=Q[k],H.hasOwnProperty(k)&&(M!=null||P!=null))switch(k){case"value":V0=M;break;case"defaultValue":g0=M;break;case"children":break;case"dangerouslySetInnerHTML":if(M!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:M!==P&&GU($,U,k,M,H,P)}hU($,V0,g0);return;case"option":for(var z$ in Q)if(V0=Q[z$],Q.hasOwnProperty(z$)&&V0!=null&&!H.hasOwnProperty(z$))switch(z$){case"selected":$.selected=!1;break;default:GU($,U,z$,null,H,V0)}for(l in H)if(V0=H[l],g0=Q[l],H.hasOwnProperty(l)&&V0!==g0&&(V0!=null||g0!=null))switch(l){case"selected":$.selected=V0&&typeof V0!=="function"&&typeof V0!=="symbol";break;default:GU($,U,l,V0,H,g0)}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 D$ in Q)V0=Q[D$],Q.hasOwnProperty(D$)&&V0!=null&&!H.hasOwnProperty(D$)&&GU($,U,D$,null,H,V0);for(o in H)if(V0=H[o],g0=Q[o],H.hasOwnProperty(o)&&V0!==g0&&(V0!=null||g0!=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:GU($,U,o,V0,H,g0)}return;default:if(MY(U)){for(var DU in Q)V0=Q[DU],Q.hasOwnProperty(DU)&&V0!==void 0&&!H.hasOwnProperty(DU)&&mO($,U,DU,void 0,H,V0);for(R0 in H)V0=H[R0],g0=Q[R0],!H.hasOwnProperty(R0)||V0===g0||V0===void 0&&g0===void 0||mO($,U,R0,V0,H,g0);return}}for(var l$ in Q)V0=Q[l$],Q.hasOwnProperty(l$)&&V0!=null&&!H.hasOwnProperty(l$)&&GU($,U,l$,null,H,V0);for(P0 in H)V0=H[P0],g0=Q[P0],!H.hasOwnProperty(P0)||V0===g0||V0==null&&g0==null||GU($,U,P0,V0,H,g0)}function XR($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function lO($){var U={};$=$.style;for(var Q=0;Q<$.length;Q++){var H=$[Q];U[H]=$.getPropertyValue(H)}return U}function JR($,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 H,M=H="",P;for(P in U)if(U.hasOwnProperty(P)){var k=U[P];k!=null&&typeof k!=="boolean"&&k!==""&&(P.indexOf("--")===0?(F0(k,P),H+=M+P+":"+(""+k).trim()):typeof k!=="number"||k===0||HP.has(P)?(F0(k,P),H+=M+P.replace(KP,"-$1").toLowerCase().replace(WP,"-ms-")+":"+(""+k).trim()):H+=M+P.replace(KP,"-$1").toLowerCase().replace(WP,"-ms-")+":"+k+"px",M=";")}H=H||null,U=$.getAttribute("style"),U!==H&&(H=qI(H),qI(U)!==H&&(Q.style=lO($)))}}function R1($,U,Q,H,M,P){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":return}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(n(H,U),$===""+H)return}K6(U,$,H,P)}function QR($,U,Q,H,M,P){if(M.delete(Q),$=$.getAttribute(Q),$===null){switch(typeof H){case"function":case"symbol":return}if(!H)return}else switch(typeof H){case"function":case"symbol":break;default:if(H)return}K6(U,$,H,P)}function dO($,U,Q,H,M,P){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof H){case"undefined":case"function":case"symbol":return}else if(H!=null)switch(typeof H){case"function":case"symbol":break;default:if(n(H,Q),$===""+H)return}K6(U,$,H,P)}function YR($,U,Q,H,M,P){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(H))return}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(!isNaN(H)&&(n(H,U),$===""+H))return}K6(U,$,H,P)}function nO($,U,Q,H,M,P){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":return}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(n(H,U),Q=AY(""+H),$===Q)return}K6(U,$,H,P)}function GR($,U,Q,H){for(var M={},P=new Set,k=$.attributes,y=0;y<k.length;y++)switch(k[y].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:P.add(k[y].name)}if(MY(U)){for(var l in Q)if(Q.hasOwnProperty(l)){var o=Q[l];if(o!=null){if(NX.hasOwnProperty(l))typeof o!=="function"&&H4(l,o);else if(Q.suppressHydrationWarning!==!0)switch(l){case"children":typeof o!=="string"&&typeof o!=="number"||K6("children",$.textContent,o,M);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=UR($,o),K6(l,k,o,M));continue;case"style":P.delete(l),JR($,o,M);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":P.delete(l.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",l);continue;case"className":P.delete("class"),k=i($,"class",o),K6("className",k,o,M);continue;default:H.context===JI&&U!=="svg"&&U!=="math"?P.delete(l.toLowerCase()):P.delete(l),k=i($,l,o),K6(l,k,o,M)}}}}else for(o in Q)if(Q.hasOwnProperty(o)&&(l=Q[o],l!=null)){if(NX.hasOwnProperty(o))typeof l!=="function"&&H4(o,l);else if(Q.suppressHydrationWarning!==!0)switch(o){case"children":typeof l!=="string"&&typeof l!=="number"||K6("children",$.textContent,l,M);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=UR($,l),k!==l&&(M[o]={__html:k}));continue;case"className":R1($,o,"class",l,P,M);continue;case"tabIndex":R1($,o,"tabindex",l,P,M);continue;case"style":P.delete(o),JR($,l,M);continue;case"multiple":P.delete(o),K6(o,$.multiple,l,M);continue;case"muted":P.delete(o),K6(o,$.muted,l,M);continue;case"autoFocus":P.delete("autofocus"),K6(o,$.autofocus,l,M);continue;case"data":if(U!=="object"){P.delete(o),k=$.getAttribute("data"),K6(o,k,l,M);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}nO($,o,o,l,P,M);continue;case"action":case"formAction":if(k=$.getAttribute(o),typeof l==="function"){P.delete(o.toLowerCase()),o==="formAction"?(P.delete("name"),P.delete("formenctype"),P.delete("formmethod"),P.delete("formtarget")):(P.delete("enctype"),P.delete("method"),P.delete("target"));continue}else if(k===Lg){P.delete(o.toLowerCase()),K6(o,"function",l,M);continue}nO($,o,o.toLowerCase(),l,P,M);continue;case"xlinkHref":nO($,o,"xlink:href",l,P,M);continue;case"contentEditable":dO($,o,"contenteditable",l,P,M);continue;case"spellCheck":dO($,o,"spellcheck",l,P,M);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":dO($,o,o,l,P,M);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":QR($,o,o.toLowerCase(),l,P,M);continue;case"capture":case"download":$:{y=$;var R0=k=o,P0=M;if(P.delete(R0),y=y.getAttribute(R0),y===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&&y==="")break $;break;default:if(n(l,k),y===""+l)break $}K6(k,y,l,P0)}continue;case"cols":case"rows":case"size":case"span":$:{if(y=$,R0=k=o,P0=M,P.delete(R0),y=y.getAttribute(R0),y===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),y===""+l))break $}K6(k,y,l,P0)}continue;case"rowSpan":YR($,o,"rowspan",l,P,M);continue;case"start":YR($,o,o,l,P,M);continue;case"xHeight":R1($,o,"x-height",l,P,M);continue;case"xlinkActuate":R1($,o,"xlink:actuate",l,P,M);continue;case"xlinkArcrole":R1($,o,"xlink:arcrole",l,P,M);continue;case"xlinkRole":R1($,o,"xlink:role",l,P,M);continue;case"xlinkShow":R1($,o,"xlink:show",l,P,M);continue;case"xlinkTitle":R1($,o,"xlink:title",l,P,M);continue;case"xlinkType":R1($,o,"xlink:type",l,P,M);continue;case"xmlBase":R1($,o,"xml:base",l,P,M);continue;case"xmlLang":R1($,o,"xml:lang",l,P,M);continue;case"xmlSpace":R1($,o,"xml:space",l,P,M);continue;case"inert":l!==""||i8[o]||(i8[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)),QR($,o,o,l,P,M);continue;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){y=ZA(o),k=!1,H.context===JI&&U!=="svg"&&U!=="math"?P.delete(y.toLowerCase()):(R0=o.toLowerCase(),R0=Y8.hasOwnProperty(R0)?Y8[R0]||null:null,R0!==null&&R0!==o&&(k=!0,P.delete(R0)),P.delete(y));$:if(R0=$,P0=y,y=l,s0(P0))if(R0.hasAttribute(P0))R0=R0.getAttribute(P0),n(y,P0),y=R0===""+y?y:R0;else{switch(typeof y){case"function":case"symbol":break $;case"boolean":if(R0=P0.toLowerCase().slice(0,5),R0!=="data-"&&R0!=="aria-")break $}y=y===void 0?void 0:null}else y=void 0;k||K6(o,y,l,M)}}}return 0<P.size&&Q.suppressHydrationWarning!==!0&&X3($,P,M),Object.keys(M).length===0?null:M}function Q3($,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 ZR($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Y3(){if(typeof performance.getEntriesByType==="function"){for(var $=0,U=0,Q=performance.getEntriesByType("resource"),H=0;H<Q.length;H++){var M=Q[H],P=M.transferSize,k=M.initiatorType,y=M.duration;if(P&&y&&ZR(k)){k=0,y=M.responseEnd;for(H+=1;H<Q.length;H++){var l=Q[H],o=l.startTime;if(o>y)break;var{transferSize:R0,initiatorType:P0}=l;R0&&ZR(P0)&&(l=l.responseEnd,k+=R0*(l<y?1:(y-o)/(l-o)))}if(--H,U+=8*(P+k)/(M.duration/1000),$++,10<$)break}}if(0<$)return U/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function pZ($){return $.nodeType===9?$:$.ownerDocument}function KR($){switch($){case pJ:return MQ;case Q8:return t8;default:return JI}}function WR($,U){if($===JI)switch(U){case"svg":return MQ;case"math":return t8;default:return JI}return $===MQ&&U==="foreignObject"?JI:$}function oO($,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 G3(){var $=window.event;if($&&$.type==="popstate"){if($===BV)return!1;return BV=$,!0}return BV=null,!1}function lY(){var $=window.event;return $&&$!==cG?$.type:null}function dY(){var $=window.event;return $&&$!==cG?$.timeStamp:-1.1}function Z3($){setTimeout(function(){throw $})}function K3($,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 W3(){}function z3($,U,Q,H){J3($,U,Q,H),$[S6]=H}function zR($){LY($,"")}function O3($,U,Q){$.nodeValue=Q}function OR($){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 _I($){return $==="head"}function V3($,U){$.removeChild(U)}function H3($,U){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(U)}function VR($,U){var Q=U,H=0;do{var M=Q.nextSibling;if($.removeChild(Q),M&&M.nodeType===8)if(Q=M.data,Q===bG||Q===r8){if(H===0){$.removeChild(M),fJ(U);return}H--}else if(Q===uG||Q===rI||Q===tX||Q===LQ||Q===rX)H++;else if(Q===Ag)nY($.ownerDocument.documentElement);else if(Q===Tg){Q=$.ownerDocument.head,nY(Q);for(var P=Q.firstChild;P;){var{nextSibling:k,nodeName:y}=P;P[eY]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&P.rel.toLowerCase()==="stylesheet"||Q.removeChild(P),P=k}}else Q===Cg&&nY($.ownerDocument.body);Q=M}while(Q);fJ(U)}function HR($,U){var Q=$;$=0;do{var H=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||""),H&&H.nodeType===8)if(Q=H.data,Q===bG)if($===0)break;else $--;else Q!==uG&&Q!==rI&&Q!==tX&&Q!==LQ||$++;Q=H}while(Q)}function D3($){HR($,!0)}function F3($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function L3($){$.nodeValue=""}function M3($){HR($,!1)}function A3($,U){U=U[Rg],U=U!==void 0&&U!==null&&U.hasOwnProperty("display")?U.display:null,$.style.display=U==null||typeof U==="boolean"?"":(""+U).trim()}function C3($,U){$.nodeValue=U}function iO($){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":iO(Q),S0(Q);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Q.rel.toLowerCase()==="stylesheet")continue}$.removeChild(Q)}}function T3($,U,Q,H){for(;$.nodeType===1;){var M=Q;if($.nodeName.toLowerCase()!==U.toLowerCase()){if(!H&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!H)if(U==="input"&&$.type==="hidden"){n(M.name,"name");var P=M.name==null?null:""+M.name;if(M.type==="hidden"&&$.getAttribute("name")===P)return $}else return $;else if(!$[eY])switch(U){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(P=$.getAttribute("rel"),P==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(P!==M.rel||$.getAttribute("href")!==(M.href==null||M.href===""?null:M.href)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin)||$.getAttribute("title")!==(M.title==null?null:M.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(P=$.getAttribute("src"),(P!==(M.src==null?null:M.src)||$.getAttribute("type")!==(M.type==null?null:M.type)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin))&&P&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=G1($.nextSibling),$===null)break}return null}function R3($,U,Q){if(U==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Q)return null;if($=G1($.nextSibling),$===null)return null}return $}function DR($,U){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!U)return null;if($=G1($.nextSibling),$===null)return null}return $}function rO($){return $.data===rI||$.data===tX}function tO($){return $.data===LQ||$.data===rI&&$.ownerDocument.readyState!==J_}function P3($,U){var Q=$.ownerDocument;if($.data===tX)$._reactRetry=U;else if($.data!==rI||Q.readyState!==J_)U();else{var H=function(){U(),Q.removeEventListener("DOMContentLoaded",H)};Q.addEventListener("DOMContentLoaded",H),$._reactRetry=H}}function G1($){for(;$!=null;$=$.nextSibling){var U=$.nodeType;if(U===1||U===3)break;if(U===8){if(U=$.data,U===uG||U===LQ||U===rI||U===tX||U===rX||U===EV||U===X_)break;if(U===bG||U===r8)return null}}return $}function FR($){if($.nodeType===1){for(var U=$.nodeName.toLowerCase(),Q={},H=$.attributes,M=0;M<H.length;M++){var P=H[M];Q[XR(P.name)]=P.name.toLowerCase()==="style"?lO($):P.value}return{type:U,props:Q}}return $.nodeType===8?$.data===rX?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function LR($,U,Q){return Q===null||Q[Mg]!==!0?($.nodeValue===U?$=null:(U=qI(U),$=qI($.nodeValue)===U?null:$.nodeValue),$):null}function aO($){$=$.nextSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===bG||Q===r8){if(U===0)return G1($.nextSibling);U--}else Q!==uG&&Q!==LQ&&Q!==rI&&Q!==tX&&Q!==rX||U++}$=$.nextSibling}return null}function MR($){$=$.previousSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===uG||Q===LQ||Q===rI||Q===tX||Q===rX){if(U===0)return $;U--}else Q!==bG&&Q!==r8||U++}$=$.previousSibling}return null}function q3($){fJ($)}function _3($){fJ($)}function E3($){fJ($)}function AR($,U,Q,H,M){switch(M&&Zz($,H.ancestorInfo),U=pZ(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 S3($,U,Q,H){if(!Q[BI]&&F$(Q)){var M=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.",M,M,M)}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(M=Q.attributes;M.length;)Q.removeAttributeNode(M[0]);L6(Q,$,U),Q[M6]=H,Q[S6]=U}function nY($){for(var U=$.attributes;U.length;)$.removeAttributeNode(U[0]);S0($)}function mZ($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function CR($,U,Q){var H=AQ;if(H&&typeof U==="string"&&U){var M=$U(U);M='link[rel="'+$+'"][href="'+M+'"]',typeof Q==="string"&&(M+='[crossorigin="'+Q+'"]'),W_.has(M)||(W_.add(M),$={rel:$,crossOrigin:Q,href:U},H.querySelector(M)===null&&(U=H.createElement("link"),L6(U,"link",$),V$(U),H.head.appendChild(U)))}}function TR($,U,Q,H){var M=(M=SI.current)?mZ(M):null;if(!M)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=xJ(Q.href),U=y0(M).hoistableStyles,H=U.get(Q),H||(H={type:"style",instance:null,count:0,state:null},U.set(Q,H)),H):{type:"void",instance:null,count:0,state:null};case"link":if(Q.rel==="stylesheet"&&typeof Q.href==="string"&&typeof Q.precedence==="string"){$=xJ(Q.href);var P=y0(M).hoistableStyles,k=P.get($);if(!k&&(M=M.ownerDocument||M,k={type:"stylesheet",instance:null,count:0,state:{loading:sX,preload:null}},P.set($,k),(P=M.querySelector(oY($)))&&!P._p&&(k.instance=P,k.state.loading=hG|g1),!x1.has($))){var y={rel:"preload",as:"style",href:Q.href,crossOrigin:Q.crossOrigin,integrity:Q.integrity,media:Q.media,hrefLang:Q.hrefLang,referrerPolicy:Q.referrerPolicy};x1.set($,y),P||j3(M,$,y,k.state)}if(U&&H===null)throw Q=`
177
+
178
+ - `+lZ(U)+`
179
+ + `+lZ(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&&H!==null)throw Q=`
180
+
181
+ - `+lZ(U)+`
182
+ + `+lZ(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(M).hoistableScripts,H=U.get(Q),H||(H={type:"script",instance:null,count:0,state:null},U.set(Q,H)),H):{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 lZ($){var U=0,Q="<link";return typeof $.rel==="string"?(U++,Q+=' rel="'+$.rel+'"'):h1.call($,"rel")&&(U++,Q+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(U++,Q+=' href="'+$.href+'"'):h1.call($,"href")&&(U++,Q+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(U++,Q+=' precedence="'+$.precedence+'"'):h1.call($,"precedence")&&(U++,Q+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>U&&(Q+=" ..."),Q+" />"}function xJ($){return'href="'+$U($)+'"'}function oY($){return'link[rel="stylesheet"]['+$+"]"}function RR($){return y$({},$,{"data-precedence":$.precedence,precedence:null})}function j3($,U,Q,H){$.querySelector('link[rel="preload"][as="style"]['+U+"]")?H.loading=hG:(U=$.createElement("link"),H.preload=U,U.addEventListener("load",function(){return H.loading|=hG}),U.addEventListener("error",function(){return H.loading|=Z_}),L6(U,"link",Q),V$(U),$.head.appendChild(U))}function wJ($){return'[src="'+$U($)+'"]'}function iY($){return"script[async]"+$}function PR($,U,Q){if(U.count++,U.instance===null)switch(U.type){case"style":var H=$.querySelector('style[data-href~="'+$U(Q.href)+'"]');if(H)return U.instance=H,V$(H),H;var M=y$({},Q,{"data-href":Q.href,"data-precedence":Q.precedence,href:null,precedence:null});return H=($.ownerDocument||$).createElement("style"),V$(H),L6(H,"style",M),dZ(H,Q.precedence,$),U.instance=H;case"stylesheet":M=xJ(Q.href);var P=$.querySelector(oY(M));if(P)return U.state.loading|=g1,U.instance=P,V$(P),P;H=RR(Q),(M=x1.get(M))&&sO(H,M),P=($.ownerDocument||$).createElement("link"),V$(P);var k=P;return k._p=new Promise(function(y,l){k.onload=y,k.onerror=l}),L6(P,"link",H),U.state.loading|=g1,dZ(P,Q.precedence,$),U.instance=P;case"script":if(P=wJ(Q.src),M=$.querySelector(iY(P)))return U.instance=M,V$(M),M;if(H=Q,M=x1.get(P))H=y$({},Q),eO(H,M);return $=$.ownerDocument||$,M=$.createElement("script"),V$(M),L6(M,"link",H),$.head.appendChild(M),U.instance=M;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&g1)===sX&&(H=U.instance,U.state.loading|=g1,dZ(H,Q.precedence,$));return U.instance}function dZ($,U,Q){for(var H=Q.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),M=H.length?H[H.length-1]:null,P=M,k=0;k<H.length;k++){var y=H[k];if(y.dataset.precedence===U)P=y;else if(P!==M)break}P?P.parentNode.insertBefore($,P.nextSibling):(U=Q.nodeType===9?Q.head:Q,U.insertBefore($,U.firstChild))}function sO($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.title==null&&($.title=U.title)}function eO($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.integrity==null&&($.integrity=U.integrity)}function qR($,U,Q){if(a8===null){var H=new Map,M=a8=new Map;M.set(Q,H)}else M=a8,H=M.get(Q),H||(H=new Map,M.set(Q,H));if(H.has($))return H;H.set($,null),Q=Q.getElementsByTagName($);for(M=0;M<Q.length;M++){var P=Q[M];if(!(P[eY]||P[M6]||$==="link"&&P.getAttribute("rel")==="stylesheet")&&P.namespaceURI!==pJ){var k=P.getAttribute(U)||"";k=$+k;var y=H.get(k);y?y.push(P):H.set(k,[P])}}return H}function _R($,U,Q){$=$.ownerDocument||$,$.head.insertBefore(Q,U==="title"?$.querySelector("head > title"):null)}function B3($,U,Q){var H=!Q.ancestorInfo.containerTagInScope;if(Q.context===MQ||U.itemProp!=null)return!H||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===""){H&&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:M,disabled:P}=U;Q=[],U.onLoad&&Q.push("`onLoad`"),M&&Q.push("`onError`"),P!=null&&Q.push("`disabled`"),M=Q3(Q,"and"),M+=Q.length===1?" prop":" props",P=Q.length===1?"an "+M:"the "+M,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.',$,P,M)}H&&(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"&&H&&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"){H&&($?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":H&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function ER($){return $.type==="stylesheet"&&($.state.loading&K_)===sX?!1:!0}function v3($,U,Q,H){if(Q.type==="stylesheet"&&(typeof H.media!=="string"||matchMedia(H.media).matches!==!1)&&(Q.state.loading&g1)===sX){if(Q.instance===null){var M=xJ(H.href),P=U.querySelector(oY(M));if(P){U=P._p,U!==null&&typeof U==="object"&&typeof U.then==="function"&&($.count++,$=nZ.bind($),U.then($,$)),Q.state.loading|=g1,Q.instance=P,V$(P);return}P=U.ownerDocument||U,H=RR(H),(M=x1.get(M))&&sO(H,M),P=P.createElement("link"),V$(P);var k=P;k._p=new Promise(function(y,l){k.onload=y,k.onerror=l}),L6(P,"link",H),Q.instance=P}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(Q,U),(U=Q.state.preload)&&(Q.state.loading&K_)===sX&&($.count++,Q=nZ.bind($),U.addEventListener("load",Q),U.addEventListener("error",Q))}}function N3($,U){return $.stylesheets&&$.count===0&&oZ($,$.stylesheets),0<$.count||0<$.imgCount?function(Q){var H=setTimeout(function(){if($.stylesheets&&oZ($,$.stylesheets),$.unsuspend){var P=$.unsuspend;$.unsuspend=null,P()}},_g+U);0<$.imgBytes&&NV===0&&(NV=125*Y3()*Sg);var M=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&oZ($,$.stylesheets),$.unsuspend)){var P=$.unsuspend;$.unsuspend=null,P()}},($.imgBytes>NV?50:Eg)+U);return $.unsuspend=Q,function(){$.unsuspend=null,clearTimeout(H),clearTimeout(M)}}:null}function nZ(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)oZ(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function oZ($,U){$.stylesheets=null,$.unsuspend!==null&&($.count++,s8=new Map,U.forEach(k3,$),s8=null,nZ.call($))}function k3($,U){if(!(U.state.loading&g1)){var Q=s8.get($);if(Q)var H=Q.get(kV);else{Q=new Map,s8.set($,Q);for(var M=$.querySelectorAll("link[data-precedence],style[data-precedence]"),P=0;P<M.length;P++){var k=M[P];if(k.nodeName==="LINK"||k.getAttribute("media")!=="not all")Q.set(k.dataset.precedence,k),H=k}H&&Q.set(kV,H)}M=U.instance,k=M.getAttribute("data-precedence"),P=Q.get(k)||H,P===H&&Q.set(kV,M),Q.set(k,M),this.count++,H=nZ.bind(this),M.addEventListener("load",H),M.addEventListener("error",H),P?P.parentNode.insertBefore(M,P.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(M,$.firstChild)),U.state.loading|=g1}}function g3($,U,Q,H,M,P,k,y,l){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=aX,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=H,this.onUncaughtError=M,this.onCaughtError=P,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 SR($,U,Q,H,M,P,k,y,l,o,R0,P0){return $=new g3($,U,Q,k,l,o,R0,P0,y),U=sk,P===!0&&(U|=P6|m1),U|=N$,P=q(3,null,null,U),$.current=P,P.stateNode=$,U=Sz(),qX(U),$.pooledCache=U,qX(U),P.memoizedState={element:H,isDehydrated:Q,cache:U},kz(P),$}function jR($){if(!$)return gI;return $=gI,$}function $9($,U,Q,H,M,P){if(R6&&typeof R6.onScheduleFiberRoot==="function")try{R6.onScheduleFiberRoot(cJ,H,Q)}catch(k){M4||(M4=!0,console.error("React instrumentation encountered an error: %o",k))}M=jR(M),H.context===null?H.context=M:H.pendingContext=M,L4&&K1!==null&&!H_&&(H_=!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(K1)||"Unknown")),H=MI(U),H.payload={element:Q},P=P===void 0?null:P,P!==null&&(typeof P!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",P),H.callback=P),Q=AI($,H,U),Q!==null&&(I4(U,"root.render()",null),wU(Q,$,U),jY(Q,$,U))}function BR($,U){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var Q=$.retryLane;$.retryLane=Q!==0&&Q<U?Q:U}}function U9($,U){BR($,U),($=$.alternate)&&BR($,U)}function vR($){if($.tag===13||$.tag===31){var U=T6($,67108864);U!==null&&wU(U,$,67108864),U9($,67108864)}}function NR($){if($.tag===13||$.tag===31){var U=Y1($);U=t0(U);var Q=T6($,U);Q!==null&&wU(Q,$,U),U9($,U)}}function x3(){return K1}function w3($,U,Q,H){var M=u0.T;u0.T=null;var P=s$.p;try{s$.p=W1,I9($,U,Q,H)}finally{s$.p=P,u0.T=M}}function f3($,U,Q,H){var M=u0.T;u0.T=null;var P=s$.p;try{s$.p=p1,I9($,U,Q,H)}finally{s$.p=P,u0.T=M}}function I9($,U,Q,H){if($K){var M=X9(H);if(M===null)hO($,U,H,UK,Q),gR($,H);else if(y3(M,$,U,Q,H))H.stopPropagation();else if(gR($,H),U&4&&-1<Bg.indexOf($)){for(;M!==null;){var P=F$(M);if(P!==null)switch(P.tag){case 3:if(P=P.stateNode,P.current.memoizedState.isDehydrated){var k=z0(P.pendingLanes);if(k!==0){var y=P;y.pendingLanes|=2;for(y.entangledLanes|=2;k;){var l=1<<31-E6(k);y.entanglements[1]|=l,k&=~l}V4(P),(n$&(Z6|H1))===V6&&(y8=W6()+pq,pY(0,!1))}}break;case 31:case 13:y=T6(P,2),y!==null&&wU(y,P,2),NJ(),U9(P,2)}if(P=X9(H),P===null&&hO($,U,H,UK,Q),P===M)break;M=P}M!==null&&H.stopPropagation()}else hO($,U,H,null,Q)}}function X9($){return $=Kz($),J9($)}function J9($){if(UK=null,$=v0($),$!==null){var U=b($);if(U===null)$=null;else{var Q=U.tag;if(Q===13){if($=g(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 UK=$,null}function kR($){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 W1;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 p1;case"message":switch(n3()){case L9:return W1;case M9:return p1;case bJ:case o3:return C4;case A9:return X8;default:return C4}default:return C4}}function gR($,U){switch($){case"focusin":case"focusout":tI=null;break;case"dragenter":case"dragleave":aI=null;break;case"mouseover":case"mouseout":sI=null;break;case"pointerover":case"pointerout":mG.delete(U.pointerId);break;case"gotpointercapture":case"lostpointercapture":lG.delete(U.pointerId)}}function rY($,U,Q,H,M,P){if($===null||$.nativeEvent!==P)return $={blockedOn:U,domEventName:Q,eventSystemFlags:H,nativeEvent:P,targetContainers:[M]},U!==null&&(U=F$(U),U!==null&&vR(U)),$;return $.eventSystemFlags|=H,U=$.targetContainers,M!==null&&U.indexOf(M)===-1&&U.push(M),$}function y3($,U,Q,H,M){switch(U){case"focusin":return tI=rY(tI,$,U,Q,H,M),!0;case"dragenter":return aI=rY(aI,$,U,Q,H,M),!0;case"mouseover":return sI=rY(sI,$,U,Q,H,M),!0;case"pointerover":var P=M.pointerId;return mG.set(P,rY(mG.get(P)||null,$,U,Q,H,M)),!0;case"gotpointercapture":return P=M.pointerId,lG.set(P,rY(lG.get(P)||null,$,U,Q,H,M)),!0}return!1}function xR($){var U=v0($.target);if(U!==null){var Q=b(U);if(Q!==null){if(U=Q.tag,U===13){if(U=g(Q),U!==null){$.blockedOn=U,e0($.priority,function(){NR(Q)});return}}else if(U===31){if(U=u(Q),U!==null){$.blockedOn=U,e0($.priority,function(){NR(Q)});return}}else if(U===3&&Q.stateNode.current.memoizedState.isDehydrated){$.blockedOn=Q.tag===3?Q.stateNode.containerInfo:null;return}}}$.blockedOn=null}function iZ($){if($.blockedOn!==null)return!1;for(var U=$.targetContainers;0<U.length;){var Q=X9($.nativeEvent);if(Q===null){Q=$.nativeEvent;var H=new Q.constructor(Q.type,Q),M=H;$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=M,Q.target.dispatchEvent(H),$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&&vR(U),$.blockedOn=Q,!1;U.shift()}return!0}function wR($,U,Q){iZ($)&&Q.delete(U)}function u3(){gV=!1,tI!==null&&iZ(tI)&&(tI=null),aI!==null&&iZ(aI)&&(aI=null),sI!==null&&iZ(sI)&&(sI=null),mG.forEach(wR),lG.forEach(wR)}function rZ($,U){$.blockedOn===U&&($.blockedOn=null,gV||(gV=!0,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,u3)))}function fR($){IK!==$&&(IK=$,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,function(){IK===$&&(IK=null);for(var U=0;U<$.length;U+=3){var Q=$[U],H=$[U+1],M=$[U+2];if(typeof H!=="function")if(J9(H||Q)===null)continue;else break;var P=F$(Q);P!==null&&($.splice(U,3),U-=3,Q={pending:!0,data:M,method:Q.method,action:H},Object.freeze(Q),JO(P,Q,H,M))}}))}function fJ($){function U(l){return rZ(l,$)}tI!==null&&rZ(tI,$),aI!==null&&rZ(aI,$),sI!==null&&rZ(sI,$),mG.forEach(U),lG.forEach(U);for(var Q=0;Q<eI.length;Q++){var H=eI[Q];H.blockedOn===$&&(H.blockedOn=null)}for(;0<eI.length&&(Q=eI[0],Q.blockedOn===null);)xR(Q),Q.blockedOn===null&&eI.shift();if(Q=($.ownerDocument||$).$$reactFormReplay,Q!=null)for(H=0;H<Q.length;H+=3){var M=Q[H],P=Q[H+1],k=M[S6]||null;if(typeof P==="function")k||fR(Q);else if(k){var y=null;if(P&&P.hasAttribute("formAction")){if(M=P,k=P[S6]||null)y=k.formAction;else if(J9(M)!==null)continue}else y=k.action;typeof y==="function"?Q[H+1]=y:(Q.splice(H,3),H-=3),fR(Q)}}}function yR(){function $(P){P.canIntercept&&P.info==="react-transition"&&P.intercept({handler:function(){return new Promise(function(k){return M=k})},focusReset:"manual",scroll:"manual"})}function U(){M!==null&&(M(),M=null),H||setTimeout(Q,20)}function Q(){if(!H&&!navigation.transition){var P=navigation.currentEntry;P&&P.url!=null&&navigation.navigate(P.url,{state:P.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var H=!1,M=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",U),navigation.addEventListener("navigateerror",U),setTimeout(Q,100),function(){H=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",U),navigation.removeEventListener("navigateerror",U),M!==null&&(M(),M=null)}}}function Q9($){this._internalRoot=$}function tZ($){this._internalRoot=$}function uR($){$[BI]&&($._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,b3=Symbol.for("react.element"),D4=Symbol.for("react.transitional.element"),yJ=Symbol.for("react.portal"),uJ=Symbol.for("react.fragment"),aZ=Symbol.for("react.strict_mode"),Y9=Symbol.for("react.profiler"),G9=Symbol.for("react.consumer"),F4=Symbol.for("react.context"),tY=Symbol.for("react.forward_ref"),Z9=Symbol.for("react.suspense"),K9=Symbol.for("react.suspense_list"),sZ=Symbol.for("react.memo"),Z1=Symbol.for("react.lazy"),W9=Symbol.for("react.activity"),c3=Symbol.for("react.memo_cache_sentinel"),bR=Symbol.iterator,h3=Symbol.for("react.client.reference"),Y6=Array.isArray,u0=TQ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s$=wV.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,p3=Object.freeze({pending:!1,data:null,method:null,action:null}),z9=[],O9=[],l4=-1,EI=T0(null),aY=T0(null),SI=T0(null),eZ=T0(null),sY=0,cR,hR,pR,mR,lR,dR,nR;K.__reactDisabledLog=!0;var V9,oR,H9=!1,D9=new(typeof WeakMap==="function"?WeakMap:Map),K1=null,L4=!1,h1=Object.prototype.hasOwnProperty,F9=o$.unstable_scheduleCallback,m3=o$.unstable_cancelCallback,l3=o$.unstable_shouldYield,d3=o$.unstable_requestPaint,W6=o$.unstable_now,n3=o$.unstable_getCurrentPriorityLevel,L9=o$.unstable_ImmediatePriority,M9=o$.unstable_UserBlockingPriority,bJ=o$.unstable_NormalPriority,o3=o$.unstable_LowPriority,A9=o$.unstable_IdlePriority,i3=o$.log,r3=o$.unstable_setDisableYieldValue,cJ=null,R6=null,M4=!1,A4=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",E6=Math.clz32?Math.clz32:I0,t3=Math.log,a3=Math.LN2,$8=256,U8=262144,I8=4194304,W1=2,p1=8,C4=32,X8=268435456,jI=Math.random().toString(36).slice(2),M6="__reactFiber$"+jI,S6="__reactProps$"+jI,BI="__reactContainer$"+jI,C9="__reactEvents$"+jI,s3="__reactListeners$"+jI,e3="__reactHandles$"+jI,iR="__reactResources$"+jI,eY="__reactMarker$"+jI,rR=new Set,NX={},T9={},$k={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Uk=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]*$"),tR={},aR={},Ik=/[\n"\\]/g,sR=!1,eR=!1,$P=!1,UP=!1,IP=!1,XP=!1,JP=["value","defaultValue"],QP=!1,YP=/["'&<>\n\t]|^\s|\s$/,Xk="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(" "),GP="applet caption html table td th marquee object template foreignObject desc title".split(" "),Jk=GP.concat(["button"]),Qk="dd dt li option optgroup p rp rt".split(" "),ZP={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},J8={},R9={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"]},KP=/([A-Z])/g,WP=/^ms-/,Yk=/^(?:webkit|moz|o)[A-Z]/,Gk=/^-ms-/,Zk=/-(.)/g,zP=/;\s*$/,hJ={},P9={},OP=!1,VP=!1,HP=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(" ")),Q8="http://www.w3.org/1998/Math/MathML",pJ="http://www.w3.org/2000/svg",Kk=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"]]),Y8={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"},DP={"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={},Wk=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]*$"),zk=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]*$"),FP=!1,j6={},LP=/^on./,Ok=/^on[^A-Z]/,Vk=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]*$"),Hk=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]*$"),Dk=/^[\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,q9=!1,T4=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_9=!1;if(T4)try{var UG={};Object.defineProperty(UG,"passive",{get:function(){_9=!0}}),window.addEventListener("test",UG,UG),window.removeEventListener("test",UG,UG)}catch($){_9=!1}var vI=null,E9=null,G8=null,kX={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Z8=p6(kX),IG=y$({},kX,{view:0,detail:0}),Fk=p6(IG),S9,j9,XG,K8=y$({},IG,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wz,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"?(S9=$.screenX-XG.screenX,j9=$.screenY-XG.screenY):j9=S9=0,XG=$),S9},movementY:function($){return"movementY"in $?$.movementY:j9}}),MP=p6(K8),Lk=y$({},K8,{dataTransfer:0}),Mk=p6(Lk),Ak=y$({},IG,{relatedTarget:0}),B9=p6(Ak),Ck=y$({},kX,{animationName:0,elapsedTime:0,pseudoElement:0}),Tk=p6(Ck),Rk=y$({},kX,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),Pk=p6(Rk),qk=y$({},kX,{data:0}),AP=p6(qk),_k=AP,Ek={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sk={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"},jk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Bk=y$({},IG,{key:function($){if($.key){var U=Ek[$.key]||$.key;if(U!=="Unidentified")return U}return $.type==="keypress"?($=i2($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?Sk[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wz,charCode:function($){return $.type==="keypress"?i2($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?i2($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),vk=p6(Bk),Nk=y$({},K8,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),CP=p6(Nk),kk=y$({},IG,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wz}),gk=p6(kk),xk=y$({},kX,{propertyName:0,elapsedTime:0,pseudoElement:0}),wk=p6(xk),fk=y$({},K8,{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}),yk=p6(fk),uk=y$({},kX,{newState:0,oldState:0}),bk=p6(uk),ck=[9,13,27,32],TP=229,v9=T4&&"CompositionEvent"in window,JG=null;T4&&"documentMode"in document&&(JG=document.documentMode);var hk=T4&&"TextEvent"in window&&!JG,RP=T4&&(!v9||JG&&8<JG&&11>=JG),PP=32,qP=String.fromCharCode(PP),_P=!1,nJ=!1,pk={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,EP=!1;T4&&(EP=KN("input")&&(!document.documentMode||9<document.documentMode));var B6=typeof Object.is==="function"?Object.is:DN,mk=T4&&"documentMode"in document&&11>=document.documentMode,oJ=null,N9=null,GG=null,k9=!1,iJ={animationend:LX("Animation","AnimationEnd"),animationiteration:LX("Animation","AnimationIteration"),animationstart:LX("Animation","AnimationStart"),transitionrun:LX("Transition","TransitionRun"),transitionstart:LX("Transition","TransitionStart"),transitioncancel:LX("Transition","TransitionCancel"),transitionend:LX("Transition","TransitionEnd")},g9={},SP={};T4&&(SP=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 jP=MX("animationend"),BP=MX("animationiteration"),vP=MX("animationstart"),lk=MX("transitionrun"),dk=MX("transitionstart"),nk=MX("transitioncancel"),NP=MX("transitionend"),kP=new Map,x9="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(" ");x9.push("scrollEnd");var gP=0;if(typeof performance==="object"&&typeof performance.now==="function")var ok=performance,xP=function(){return ok.now()};else{var ik=Date;xP=function(){return ik.now()}}var w9=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($)},rk="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.",W8=0,f9=1,y9=2,u9=3,z8="– ",O8="+ ",wP="  ",CU=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",P1="Components ⚛",u$="Scheduler ⚛",b$="Blocking",NI=!1,d4={color:"primary",properties:null,tooltipText:"",track:P1},kI={start:-0,end:-0,detail:{devtools:d4}},tk=["Changed Props",""],fP="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",ak=["Changed Props",fP],ZG=1,n4=2,q1=[],rJ=0,b9=0,gI={};Object.freeze(gI);var _1=null,tJ=null,R$=0,sk=1,N$=2,P6=8,m1=16,ek=32,yP=!1;try{var uP=Object.preventExtensions({})}catch($){yP=!0}var c9=new WeakMap,aJ=[],sJ=0,V8=null,KG=0,E1=[],S1=0,gX=null,o4=1,i4="",A6=null,TU=null,p$=!1,R4=!1,z1=null,xI=null,j1=!1,h9=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."),p9=T0(null),m9=T0(null),bP={},H8=null,eJ=null,$Q=!1,$g=typeof AbortController<"u"?AbortController:function(){var $=[],U=this.signal={aborted:!1,addEventListener:function(Q,H){$.push(H)}};this.abort=function(){U.aborted=!0,$.forEach(function(Q){return Q()})}},Ug=o$.unstable_scheduleCallback,Ig=o$.unstable_NormalPriority,eU={$$typeof:F4,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},$6=o$.unstable_now,D8=console.createTask?console.createTask:function(){return null},WG=1,F8=2,z6=-0,wI=-0,r4=-0,t4=null,v6=-1.1,xX=-0,kU=-0,C$=-1.1,T$=-1.1,jU=null,fU=!1,fI=-0,P4=-1.1,zG=null,yI=0,l9=null,d9=null,wX=-1.1,OG=null,UQ=-1.1,L8=-1.1,q4=-0,a4=-1.1,B1=-1.1,n9=0,VG=null,cP=null,hP=null,uI=-1.1,fX=null,bI=-1.1,M8=-1.1,pP=-0,mP=-0,A8=0,s4=null,lP=0,HG=-1.1,C8=!1,T8=!1,DG=null,o9=0,yX=0,IQ=null,dP=u0.S;u0.S=function($,U){if(cq=W6(),typeof U==="object"&&U!==null&&typeof U.then==="function"){if(0>a4&&0>B1){a4=$6();var Q=dY(),H=lY();if(Q!==bI||H!==fX)bI=-1.1;uI=Q,fX=H}RN($,U)}dP!==null&&dP($,U)};var uX=T0(null),l1={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},FG=[],LG=[],MG=[],AG=[],CG=[],TG=[],bX=new Set;l1.recordUnsafeLifecycleWarnings=function($,U){bX.has($.type)||(typeof U.componentWillMount==="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0&&FG.push($),$.mode&P6&&typeof U.UNSAFE_componentWillMount==="function"&&LG.push($),typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&MG.push($),$.mode&P6&&typeof U.UNSAFE_componentWillReceiveProps==="function"&&AG.push($),typeof U.componentWillUpdate==="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0&&CG.push($),$.mode&P6&&typeof U.UNSAFE_componentWillUpdate==="function"&&TG.push($))},l1.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<FG.length&&(FG.forEach(function(y){$.add(t(y)||"Component"),bX.add(y.type)}),FG=[]);var U=new Set;0<LG.length&&(LG.forEach(function(y){U.add(t(y)||"Component"),bX.add(y.type)}),LG=[]);var Q=new Set;0<MG.length&&(MG.forEach(function(y){Q.add(t(y)||"Component"),bX.add(y.type)}),MG=[]);var H=new Set;0<AG.length&&(AG.forEach(function(y){H.add(t(y)||"Component"),bX.add(y.type)}),AG=[]);var M=new Set;0<CG.length&&(CG.forEach(function(y){M.add(t(y)||"Component"),bX.add(y.type)}),CG=[]);var P=new Set;if(0<TG.length&&(TG.forEach(function(y){P.add(t(y)||"Component"),bX.add(y.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<H.size&&(k=C(H),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<P.size&&(k=C(P),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<M.size&&(k=C(M),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 R8=new Map,nP=new Set;l1.recordLegacyContextWarning=function($,U){var Q=null;for(var H=$;H!==null;)H.mode&P6&&(Q=H),H=H.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."):!nP.has($.type)&&(H=R8.get(Q),$.type.contextTypes!=null||$.type.childContextTypes!=null||U!==null&&typeof U.getChildContext==="function")&&(H===void 0&&(H=[],R8.set(Q,H)),H.push($))},l1.flushLegacyContextWarning=function(){R8.forEach(function($){if($.length!==0){var U=$[0],Q=new Set;$.forEach(function(M){Q.add(t(M)||"Component"),nP.add(M.type)});var H=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`,H)})}})},l1.discardPendingWarnings=function(){FG=[],LG=[],MG=[],AG=[],CG=[],TG=[],R8=new Map};var oP={react_stack_bottom_frame:function($,U,Q){var H=L4;L4=!0;try{return $(U,Q)}finally{L4=H}}},i9=oP.react_stack_bottom_frame.bind(oP),iP={react_stack_bottom_frame:function($){var U=L4;L4=!0;try{return $.render()}finally{L4=U}}},rP=iP.react_stack_bottom_frame.bind(iP),tP={react_stack_bottom_frame:function($,U){try{U.componentDidMount()}catch(Q){a$($,$.return,Q)}}},r9=tP.react_stack_bottom_frame.bind(tP),aP={react_stack_bottom_frame:function($,U,Q,H,M){try{U.componentDidUpdate(Q,H,M)}catch(P){a$($,$.return,P)}}},sP=aP.react_stack_bottom_frame.bind(aP),eP={react_stack_bottom_frame:function($,U){var Q=U.stack;$.componentDidCatch(U.value,{componentStack:Q!==null?Q:""})}},Xg=eP.react_stack_bottom_frame.bind(eP),$q={react_stack_bottom_frame:function($,U,Q){try{Q.componentWillUnmount()}catch(H){a$($,U,H)}}},Uq=$q.react_stack_bottom_frame.bind($q),Iq={react_stack_bottom_frame:function($){var U=$.create;return $=$.inst,U=U(),$.destroy=U}},Jg=Iq.react_stack_bottom_frame.bind(Iq),Xq={react_stack_bottom_frame:function($,U,Q){try{Q()}catch(H){a$($,U,H)}}},Qg=Xq.react_stack_bottom_frame.bind(Xq),Jq={react_stack_bottom_frame:function($){var U=$._init;return U($._payload)}},Yg=Jq.react_stack_bottom_frame.bind(Jq),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`."),t9=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."),P8=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."),q8={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.')}},cX=null,RG=!1,JQ=null,PG=0,k$=null,a9,Qq=a9=!1,Yq={},Gq={},Zq={};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 H=t($),M=H||"null";if(!Yq[M]){Yq[M]=!0,Q=Q._owner,$=$._debugOwner;var P="";$&&typeof $.tag==="number"&&(M=t($))&&(P=`
220
+
221
+ Check the render method of \``+M+"`."),P||H&&(P=`
222
+
223
+ Check the top-level render call using <`+H+">.");var k="";Q!=null&&$!==Q&&(H=null,typeof Q.tag==="number"?H=t(Q):typeof Q.name==="string"&&(H=Q.name),H&&(k=" It was passed a child from "+H+".")),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.',P,k)})}}};var hX=$C(!0),Kq=$C(!1),Wq=0,zq=1,Oq=2,s9=3,cI=!1,Vq=!1,e9=null,$V=!1,QQ=T0(null),_8=T0(0),O1=T0(null),v1=null,YQ=1,qG=2,aU=T0(0),E8=0,N1=1,N6=2,V1=4,k6=8,GQ,Hq=new Set,Dq=new Set,UV=new Set,Fq=new Set,e4=0,P$=null,ZU=null,U6=null,S8=!1,ZQ=!1,pX=!1,j8=0,_G=0,$I=null,Gg=0,Zg=25,f0=null,k1=null,UI=-1,EG=!1,SG={readContext:SU,use:RI,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 IV=null,Lq=null,XV=null,Mq=null,_4=null,d1=null,B8=null;IV={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",f$(),qJ(U),$O($,U)},useContext:function($){return f0="useContext",f$(),SU($)},useEffect:function($,U){return f0="useEffect",f$(),qJ(U),RZ($,U)},useImperativeHandle:function($,U,Q){return f0="useImperativeHandle",f$(),qJ(Q),ez($,U,Q)},useInsertionEffect:function($,U){f0="useInsertionEffect",f$(),qJ(U),EX(4,N6,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",f$(),qJ(U),sz($,U)},useMemo:function($,U){f0="useMemo",f$(),qJ(U);var Q=u0.H;u0.H=_4;try{return UO($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){f0="useReducer",f$();var H=u0.H;u0.H=_4;try{return mz($,U,Q)}finally{u0.H=H}},useRef:function($){return f0="useRef",f$(),tz($)},useState:function($){f0="useState",f$();var U=u0.H;u0.H=_4;try{return oz($)}finally{u0.H=U}},useDebugValue:function(){f0="useDebugValue",f$()},useDeferredValue:function($,U){return f0="useDeferredValue",f$(),IO($,U)},useTransition:function(){return f0="useTransition",f$(),QO()},useSyncExternalStore:function($,U,Q){return f0="useSyncExternalStore",f$(),dz($,U,Q)},useId:function(){return f0="useId",f$(),YO()},useFormState:function($,U){return f0="useFormState",f$(),LZ(),EJ($,U)},useActionState:function($,U){return f0="useActionState",f$(),EJ($,U)},useOptimistic:function($){return f0="useOptimistic",f$(),iz($)},useHostTransitionStatus:SX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",f$(),GO()},useEffectEvent:function($){return f0="useEffectEvent",f$(),az($)}},Lq={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",G$(),$O($,U)},useContext:function($){return f0="useContext",G$(),SU($)},useEffect:function($,U){return f0="useEffect",G$(),RZ($,U)},useImperativeHandle:function($,U,Q){return f0="useImperativeHandle",G$(),ez($,U,Q)},useInsertionEffect:function($,U){f0="useInsertionEffect",G$(),EX(4,N6,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",G$(),sz($,U)},useMemo:function($,U){f0="useMemo",G$();var Q=u0.H;u0.H=_4;try{return UO($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){f0="useReducer",G$();var H=u0.H;u0.H=_4;try{return mz($,U,Q)}finally{u0.H=H}},useRef:function($){return f0="useRef",G$(),tz($)},useState:function($){f0="useState",G$();var U=u0.H;u0.H=_4;try{return oz($)}finally{u0.H=U}},useDebugValue:function(){f0="useDebugValue",G$()},useDeferredValue:function($,U){return f0="useDeferredValue",G$(),IO($,U)},useTransition:function(){return f0="useTransition",G$(),QO()},useSyncExternalStore:function($,U,Q){return f0="useSyncExternalStore",G$(),dz($,U,Q)},useId:function(){return f0="useId",G$(),YO()},useActionState:function($,U){return f0="useActionState",G$(),EJ($,U)},useFormState:function($,U){return f0="useFormState",G$(),LZ(),EJ($,U)},useOptimistic:function($){return f0="useOptimistic",G$(),iz($)},useHostTransitionStatus:SX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),GO()},useEffectEvent:function($){return f0="useEffectEvent",G$(),az($)}},XV={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",G$(),_Z($,U)},useContext:function($){return f0="useContext",G$(),SU($)},useEffect:function($,U){f0="useEffect",G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return f0="useImperativeHandle",G$(),qZ($,U,Q)},useInsertionEffect:function($,U){return f0="useInsertionEffect",G$(),m6(4,N6,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",G$(),m6(4,V1,$,U)},useMemo:function($,U){f0="useMemo",G$();var Q=u0.H;u0.H=d1;try{return EZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){f0="useReducer",G$();var H=u0.H;u0.H=d1;try{return _J($,U,Q)}finally{u0.H=H}},useRef:function(){return f0="useRef",G$(),IU().memoizedState},useState:function(){f0="useState",G$();var $=u0.H;u0.H=d1;try{return _J(b1)}finally{u0.H=$}},useDebugValue:function(){f0="useDebugValue",G$()},useDeferredValue:function($,U){return f0="useDeferredValue",G$(),RC($,U)},useTransition:function(){return f0="useTransition",G$(),jC()},useSyncExternalStore:function($,U,Q){return f0="useSyncExternalStore",G$(),AZ($,U,Q)},useId:function(){return f0="useId",G$(),IU().memoizedState},useFormState:function($){return f0="useFormState",G$(),LZ(),CZ($)},useActionState:function($){return f0="useActionState",G$(),CZ($)},useOptimistic:function($,U){return f0="useOptimistic",G$(),OC($,U)},useHostTransitionStatus:SX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),IU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",G$(),PZ($)}},Mq={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",G$(),_Z($,U)},useContext:function($){return f0="useContext",G$(),SU($)},useEffect:function($,U){f0="useEffect",G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return f0="useImperativeHandle",G$(),qZ($,U,Q)},useInsertionEffect:function($,U){return f0="useInsertionEffect",G$(),m6(4,N6,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",G$(),m6(4,V1,$,U)},useMemo:function($,U){f0="useMemo",G$();var Q=u0.H;u0.H=B8;try{return EZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){f0="useReducer",G$();var H=u0.H;u0.H=B8;try{return kY($,U,Q)}finally{u0.H=H}},useRef:function(){return f0="useRef",G$(),IU().memoizedState},useState:function(){f0="useState",G$();var $=u0.H;u0.H=B8;try{return kY(b1)}finally{u0.H=$}},useDebugValue:function(){f0="useDebugValue",G$()},useDeferredValue:function($,U){return f0="useDeferredValue",G$(),PC($,U)},useTransition:function(){return f0="useTransition",G$(),BC()},useSyncExternalStore:function($,U,Q){return f0="useSyncExternalStore",G$(),AZ($,U,Q)},useId:function(){return f0="useId",G$(),IU().memoizedState},useFormState:function($){return f0="useFormState",G$(),LZ(),TZ($)},useActionState:function($){return f0="useActionState",G$(),TZ($)},useOptimistic:function($,U){return f0="useOptimistic",G$(),HC($,U)},useHostTransitionStatus:SX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),IU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",G$(),PZ($)}},_4={readContext:function($){return j(),SU($)},use:function($){return L(),RI($)},useCallback:function($,U){return f0="useCallback",L(),f$(),$O($,U)},useContext:function($){return f0="useContext",L(),f$(),SU($)},useEffect:function($,U){return f0="useEffect",L(),f$(),RZ($,U)},useImperativeHandle:function($,U,Q){return f0="useImperativeHandle",L(),f$(),ez($,U,Q)},useInsertionEffect:function($,U){f0="useInsertionEffect",L(),f$(),EX(4,N6,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",L(),f$(),sz($,U)},useMemo:function($,U){f0="useMemo",L(),f$();var Q=u0.H;u0.H=_4;try{return UO($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){f0="useReducer",L(),f$();var H=u0.H;u0.H=_4;try{return mz($,U,Q)}finally{u0.H=H}},useRef:function($){return f0="useRef",L(),f$(),tz($)},useState:function($){f0="useState",L(),f$();var U=u0.H;u0.H=_4;try{return oz($)}finally{u0.H=U}},useDebugValue:function(){f0="useDebugValue",L(),f$()},useDeferredValue:function($,U){return f0="useDeferredValue",L(),f$(),IO($,U)},useTransition:function(){return f0="useTransition",L(),f$(),QO()},useSyncExternalStore:function($,U,Q){return f0="useSyncExternalStore",L(),f$(),dz($,U,Q)},useId:function(){return f0="useId",L(),f$(),YO()},useFormState:function($,U){return f0="useFormState",L(),f$(),EJ($,U)},useActionState:function($,U){return f0="useActionState",L(),f$(),EJ($,U)},useOptimistic:function($){return f0="useOptimistic",L(),f$(),iz($)},useMemoCache:function($){return L(),_X($)},useHostTransitionStatus:SX,useCacheRefresh:function(){return f0="useCacheRefresh",f$(),GO()},useEffectEvent:function($){return f0="useEffectEvent",L(),f$(),az($)}},d1={readContext:function($){return j(),SU($)},use:function($){return L(),RI($)},useCallback:function($,U){return f0="useCallback",L(),G$(),_Z($,U)},useContext:function($){return f0="useContext",L(),G$(),SU($)},useEffect:function($,U){f0="useEffect",L(),G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return f0="useImperativeHandle",L(),G$(),qZ($,U,Q)},useInsertionEffect:function($,U){return f0="useInsertionEffect",L(),G$(),m6(4,N6,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",L(),G$(),m6(4,V1,$,U)},useMemo:function($,U){f0="useMemo",L(),G$();var Q=u0.H;u0.H=d1;try{return EZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){f0="useReducer",L(),G$();var H=u0.H;u0.H=d1;try{return _J($,U,Q)}finally{u0.H=H}},useRef:function(){return f0="useRef",L(),G$(),IU().memoizedState},useState:function(){f0="useState",L(),G$();var $=u0.H;u0.H=d1;try{return _J(b1)}finally{u0.H=$}},useDebugValue:function(){f0="useDebugValue",L(),G$()},useDeferredValue:function($,U){return f0="useDeferredValue",L(),G$(),RC($,U)},useTransition:function(){return f0="useTransition",L(),G$(),jC()},useSyncExternalStore:function($,U,Q){return f0="useSyncExternalStore",L(),G$(),AZ($,U,Q)},useId:function(){return f0="useId",L(),G$(),IU().memoizedState},useFormState:function($){return f0="useFormState",L(),G$(),CZ($)},useActionState:function($){return f0="useActionState",L(),G$(),CZ($)},useOptimistic:function($,U){return f0="useOptimistic",L(),G$(),OC($,U)},useMemoCache:function($){return L(),_X($)},useHostTransitionStatus:SX,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),IU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",L(),G$(),PZ($)}},B8={readContext:function($){return j(),SU($)},use:function($){return L(),RI($)},useCallback:function($,U){return f0="useCallback",L(),G$(),_Z($,U)},useContext:function($){return f0="useContext",L(),G$(),SU($)},useEffect:function($,U){f0="useEffect",L(),G$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return f0="useImperativeHandle",L(),G$(),qZ($,U,Q)},useInsertionEffect:function($,U){return f0="useInsertionEffect",L(),G$(),m6(4,N6,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",L(),G$(),m6(4,V1,$,U)},useMemo:function($,U){f0="useMemo",L(),G$();var Q=u0.H;u0.H=d1;try{return EZ($,U)}finally{u0.H=Q}},useReducer:function($,U,Q){f0="useReducer",L(),G$();var H=u0.H;u0.H=d1;try{return kY($,U,Q)}finally{u0.H=H}},useRef:function(){return f0="useRef",L(),G$(),IU().memoizedState},useState:function(){f0="useState",L(),G$();var $=u0.H;u0.H=d1;try{return kY(b1)}finally{u0.H=$}},useDebugValue:function(){f0="useDebugValue",L(),G$()},useDeferredValue:function($,U){return f0="useDeferredValue",L(),G$(),PC($,U)},useTransition:function(){return f0="useTransition",L(),G$(),BC()},useSyncExternalStore:function($,U,Q){return f0="useSyncExternalStore",L(),G$(),AZ($,U,Q)},useId:function(){return f0="useId",L(),G$(),IU().memoizedState},useFormState:function($){return f0="useFormState",L(),G$(),TZ($)},useActionState:function($){return f0="useActionState",L(),G$(),TZ($)},useOptimistic:function($,U){return f0="useOptimistic",L(),G$(),HC($,U)},useMemoCache:function($){return L(),_X($)},useHostTransitionStatus:SX,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),IU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",L(),G$(),PZ($)}};var Aq={},Cq=new Set,Tq=new Set,Rq=new Set,Pq=new Set,qq=new Set,_q=new Set,Eq=new Set,Sq=new Set,jq=new Set,Bq=new Set;Object.freeze(Aq);var JV={enqueueSetState:function($,U,Q){$=$._reactInternals;var H=Y1($),M=MI(H);M.payload=U,Q!==void 0&&Q!==null&&(KO(Q),M.callback=Q),U=AI($,M,H),U!==null&&(I4(H,"this.setState()",$),wU(U,$,H),jY(U,$,H))},enqueueReplaceState:function($,U,Q){$=$._reactInternals;var H=Y1($),M=MI(H);M.tag=zq,M.payload=U,Q!==void 0&&Q!==null&&(KO(Q),M.callback=Q),U=AI($,M,H),U!==null&&(I4(H,"this.replaceState()",$),wU(U,$,H),jY(U,$,H))},enqueueForceUpdate:function($,U){$=$._reactInternals;var Q=Y1($),H=MI(Q);H.tag=Oq,U!==void 0&&U!==null&&(KO(U),H.callback=U),U=AI($,H,Q),U!==null&&(I4(Q,"this.forceUpdate()",$),wU(U,$,Q),jY(U,$,Q))}},KQ=null,QV=null,YV=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,vq={},Nq={},kq={},gq={},WQ=!1,xq={},v8={},GV={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},wq=!1,fq=null;fq=new Set;var II=!1,X6=!1,ZV=!1,yq=typeof WeakSet==="function"?WeakSet:Set,O6=null,zQ=null,OQ=null,J6=null,n6=!1,n1=null,G6=!1,jG=8192,Kg={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 K1}};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 Wg=[],zg=typeof WeakMap==="function"?WeakMap:Map,V6=0,Z6=2,H1=4,XI=0,vG=1,mX=2,N8=3,hI=4,k8=6,uq=5,n$=V6,KU=null,w$=null,g$=0,o6=0,g8=1,lX=2,NG=3,bq=4,KV=5,kG=6,x8=7,WV=8,dX=9,XU=o6,D1=null,pI=!1,VQ=!1,zV=!1,E4=0,gU=XI,mI=0,lI=0,OV=0,i6=0,nX=0,gG=null,g6=null,w8=!1,f8=0,cq=0,hq=300,y8=1/0,pq=500,xG=null,nU=null,dI=null,u8=0,VV=1,HV=2,mq=3,nI=0,lq=1,dq=2,nq=3,oq=4,b8=5,Q6=0,oI=null,HQ=null,o1=0,DV=0,FV=-0,LV=null,iq=null,rq=null,i1=u8,tq=null,Og=50,wG=0,MV=null,AV=!1,c8=!1,Vg=50,oX=0,fG=null,DQ=!1,h8=null,aq=!1,sq=new Set,Hg={},p8=null,FQ=null,CV=!1,TV=!1,m8=!1,RV=!1,iI=0,PV={};(function(){for(var $=0;$<x9.length;$++){var U=x9[$],Q=U.toLowerCase();U=U[0].toUpperCase()+U.slice(1),u1(Q,"on"+U)}u1(jP,"onAnimationEnd"),u1(BP,"onAnimationIteration"),u1(vP,"onAnimationStart"),u1("dblclick","onDoubleClick"),u1("focusin","onFocus"),u1("focusout","onBlur"),u1(lk,"onTransitionRun"),u1(dk,"onTransitionStart"),u1(nk,"onTransitionCancel"),u1(NP,"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(" "),qV=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yG)),l8="_reactListening"+Math.random().toString(36).slice(2),eq=!1,$_=!1,d8=!1,U_=!1,n8=!1,o8=!1,I_=!1,i8={},Dg=/\r\n?/g,Fg=/\u0000|\uFFFD/g,iX="http://www.w3.org/1999/xlink",_V="http://www.w3.org/XML/1998/namespace",Lg="javascript:throw new Error('React form unexpectedly submitted.')",Mg="suppressHydrationWarning",rX="&",r8="/&",uG="$",bG="/$",rI="$?",tX="$~",LQ="$!",Ag="html",Cg="body",Tg="head",EV="F!",X_="F",J_="loading",Rg="style",JI=0,MQ=1,t8=2,SV=null,jV=null,Q_={dialog:!0,webview:!0},BV=null,cG=void 0,Y_=typeof setTimeout==="function"?setTimeout:void 0,Pg=typeof clearTimeout==="function"?clearTimeout:void 0,aX=-1,G_=typeof Promise==="function"?Promise:void 0,qg=typeof queueMicrotask==="function"?queueMicrotask:typeof G_<"u"?function($){return G_.resolve(null).then($).catch(Z3)}:Y_,vV=null,sX=0,hG=1,Z_=2,K_=3,g1=4,x1=new Map,W_=new Set,QI=s$.d;s$.d={f:function(){var $=QI.f(),U=NJ();return $||U},r:function($){var U=F$($);U!==null&&U.tag===5&&U.type==="form"?SC(U):QI.r($)},D:function($){QI.D($),CR("dns-prefetch",$,null)},C:function($,U){QI.C($,U),CR("preconnect",$,U)},L:function($,U,Q){QI.L($,U,Q);var H=AQ;if(H&&$&&U){var M='link[rel="preload"][as="'+$U(U)+'"]';U==="image"?Q&&Q.imageSrcSet?(M+='[imagesrcset="'+$U(Q.imageSrcSet)+'"]',typeof Q.imageSizes==="string"&&(M+='[imagesizes="'+$U(Q.imageSizes)+'"]')):M+='[href="'+$U($)+'"]':M+='[href="'+$U($)+'"]';var P=M;switch(U){case"style":P=xJ($);break;case"script":P=wJ($)}x1.has(P)||($=y$({rel:"preload",href:U==="image"&&Q&&Q.imageSrcSet?void 0:$,as:U},Q),x1.set(P,$),H.querySelector(M)!==null||U==="style"&&H.querySelector(oY(P))||U==="script"&&H.querySelector(iY(P))||(U=H.createElement("link"),L6(U,"link",$),V$(U),H.head.appendChild(U)))}},m:function($,U){QI.m($,U);var Q=AQ;if(Q&&$){var H=U&&typeof U.as==="string"?U.as:"script",M='link[rel="modulepreload"][as="'+$U(H)+'"][href="'+$U($)+'"]',P=M;switch(H){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":P=wJ($)}if(!x1.has(P)&&($=y$({rel:"modulepreload",href:$},U),x1.set(P,$),Q.querySelector(M)===null)){switch(H){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Q.querySelector(iY(P)))return}H=Q.createElement("link"),L6(H,"link",$),V$(H),Q.head.appendChild(H)}}},X:function($,U){QI.X($,U);var Q=AQ;if(Q&&$){var H=y0(Q).hoistableScripts,M=wJ($),P=H.get(M);P||(P=Q.querySelector(iY(M)),P||($=y$({src:$,async:!0},U),(U=x1.get(M))&&eO($,U),P=Q.createElement("script"),V$(P),L6(P,"link",$),Q.head.appendChild(P)),P={type:"script",instance:P,count:1,state:null},H.set(M,P))}},S:function($,U,Q){QI.S($,U,Q);var H=AQ;if(H&&$){var M=y0(H).hoistableStyles,P=xJ($);U=U||"default";var k=M.get(P);if(!k){var y={loading:sX,preload:null};if(k=H.querySelector(oY(P)))y.loading=hG|g1;else{$=y$({rel:"stylesheet",href:$,"data-precedence":U},Q),(Q=x1.get(P))&&sO($,Q);var l=k=H.createElement("link");V$(l),L6(l,"link",$),l._p=new Promise(function(o,R0){l.onload=o,l.onerror=R0}),l.addEventListener("load",function(){y.loading|=hG}),l.addEventListener("error",function(){y.loading|=Z_}),y.loading|=g1,dZ(k,U,H)}k={type:"stylesheet",instance:k,count:1,state:y},M.set(P,k)}}},M:function($,U){QI.M($,U);var Q=AQ;if(Q&&$){var H=y0(Q).hoistableScripts,M=wJ($),P=H.get(M);P||(P=Q.querySelector(iY(M)),P||($=y$({src:$,async:!0,type:"module"},U),(U=x1.get(M))&&eO($,U),P=Q.createElement("script"),V$(P),L6(P,"link",$),Q.head.appendChild(P)),P={type:"script",instance:P,count:1,state:null},H.set(M,P))}}};var AQ=typeof document>"u"?null:document,a8=null,_g=60000,Eg=800,Sg=500,NV=0,kV=null,s8=null,eX=p3,pG={$$typeof:F4,Provider:null,Consumer:null,_currentValue:eX,_currentValue2:eX,_threadCount:0},z_="%c%s%c",O_="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",V_="",e8=" ",jg=Function.prototype.bind,H_=!1,D_=null,F_=null,L_=null,M_=null,A_=null,C_=null,T_=null,R_=null,P_=null,q_=null;D_=function($,U,Q,H){U=I($,U),U!==null&&(Q=J(U.memoizedState,Q,0,H),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=T6($,2),Q!==null&&wU(Q,$,2))},F_=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))},L_=function($,U,Q,H){U=I($,U),U!==null&&(Q=Y(U.memoizedState,Q,H),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=T6($,2),Q!==null&&wU(Q,$,2))},M_=function($,U,Q){$.pendingProps=J($.memoizedProps,U,0,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=T6($,2),U!==null&&wU(U,$,2)},A_=function($,U){$.pendingProps=X($.memoizedProps,U,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=T6($,2),U!==null&&wU(U,$,2)},C_=function($,U,Q){$.pendingProps=Y($.memoizedProps,U,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=T6($,2),U!==null&&wU(U,$,2)},T_=function($){var U=T6($,2);U!==null&&wU(U,$,2)},R_=function($){var U=M$(),Q=T6($,U);Q!==null&&wU(Q,$,U)},P_=function($){Z=$},q_=function($){W=$};var $K=!0,UK=null,gV=!1,tI=null,aI=null,sI=null,mG=new Map,lG=new Map,eI=[],Bg="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(" "),IK=null;if(tZ.prototype.render=Q9.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 H=U.current,M=Y1(H);$9(H,M,Q,U,null,null)},tZ.prototype.unmount=Q9.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|H1))!==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."),$9($.current,2,null,$,null,null),NJ(),U[BI]=null}},tZ.prototype.unstable_scheduleHydration=function($){if($){var U=X0();$={blockedOn:null,target:$,priority:U};for(var Q=0;Q<eI.length&&U!==0&&U<eI[Q].priority;Q++);eI.splice(Q,0,$),Q===0&&xR($)}},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=D_,$.overrideHookStateDeletePath=F_,$.overrideHookStateRenamePath=L_,$.overrideProps=M_,$.overridePropsDeletePath=A_,$.overridePropsRenamePath=C_,$.scheduleUpdate=T_,$.scheduleRetry=R_,$.setErrorHandler=P_,$.setSuspenseHandler=q_,$.scheduleRefresh=N,$.scheduleRoot=B,$.setRefreshHandler=f,$.getCurrentFiber=x3,O0($)}()&&T4&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var __=window.location.protocol;/^(https?|file):$/.test(__)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(__==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}mg.createRoot=function($,U){if(!w($))throw Error("Target container is not a DOM element.");uR($);var Q=!1,H="",M=wC,P=fC,k=yC;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===D4&&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&&(H=U.identifierPrefix),U.onUncaughtError!==void 0&&(M=U.onUncaughtError),U.onCaughtError!==void 0&&(P=U.onCaughtError),U.onRecoverableError!==void 0&&(k=U.onRecoverableError)),U=SR($,1,!1,null,null,Q,H,null,M,P,k,yR),$[BI]=U.current,cO($),new Q9(U)},mg.hydrateRoot=function($,U,Q){if(!w($))throw Error("Target container is not a DOM element.");uR($),U===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var H=!1,M="",P=wC,k=fC,y=yC,l=null;return Q!==null&&Q!==void 0&&(Q.unstable_strictMode===!0&&(H=!0),Q.identifierPrefix!==void 0&&(M=Q.identifierPrefix),Q.onUncaughtError!==void 0&&(P=Q.onUncaughtError),Q.onCaughtError!==void 0&&(k=Q.onCaughtError),Q.onRecoverableError!==void 0&&(y=Q.onRecoverableError),Q.formState!==void 0&&(l=Q.formState)),U=SR($,1,!0,U,Q!=null?Q:null,H,M,l,P,k,y,yR),U.context=jR(null),Q=U.current,H=Y1(Q),H=t0(H),M=MI(H),M.callback=null,AI(Q,M,H),I4(H,"hydrateRoot()",null),Q=H,U.current.lanes=Q,p0(U,Q),V4(U),$[BI]=U.current,cO($),new tZ(U)},mg.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var f_=$X((Od,w_)=>{var lg=r1(x_());w_.exports=lg});var oU={};x6(oU,{transcode:()=>Bx,resolveObjectURL:()=>Ex,kStringMaxLength:()=>d_,kMaxLength:()=>oG,isUtf8:()=>Sx,isAscii:()=>jx,default:()=>vx,constants:()=>$x,btoa:()=>tg,atob:()=>ag,INSPECT_MAX_BYTES:()=>l_,File:()=>sg,Buffer:()=>d0,Blob:()=>eg});function dg(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 z=Y===J?0:4-Y%4;return[Y,z]}function ng(I,J){return(I+J)*3/4-J}function og(I){var J,Y=dg(I),z=Y[0],X=Y[1],W=new Uint8Array(ng(z,X)),Z=0,L=X>0?z-4:z,j;for(j=0;j<L;j+=4)J=w1[I.charCodeAt(j)]<<18|w1[I.charCodeAt(j+1)]<<12|w1[I.charCodeAt(j+2)]<<6|w1[I.charCodeAt(j+3)],W[Z++]=J>>16&255,W[Z++]=J>>8&255,W[Z++]=J&255;if(X===2)J=w1[I.charCodeAt(j)]<<2|w1[I.charCodeAt(j+1)]>>4,W[Z++]=J&255;if(X===1)J=w1[I.charCodeAt(j)]<<10|w1[I.charCodeAt(j+1)]<<4|w1[I.charCodeAt(j+2)]>>2,W[Z++]=J>>8&255,W[Z++]=J&255;return W}function ig(I){return S4[I>>18&63]+S4[I>>12&63]+S4[I>>6&63]+S4[I&63]}function rg(I,J,Y){var z,X=[];for(var W=J;W<Y;W+=3)z=(I[W]<<16&16711680)+(I[W+1]<<8&65280)+(I[W+2]&255),X.push(ig(z));return X.join("")}function u_(I){var J,Y=I.length,z=Y%3,X=[],W=16383;for(var Z=0,L=Y-z;Z<L;Z+=W)X.push(rg(I,Z,Z+W>L?L:Z+W));if(z===1)J=I[Y-1],X.push(S4[J>>2]+S4[J<<4&63]+"==");else if(z===2)J=(I[Y-2]<<8)+I[Y-1],X.push(S4[J>>10]+S4[J>>4&63]+S4[J<<2&63]+"=");return X.join("")}function JK(I,J,Y,z,X){var W,Z,L=X*8-z-1,j=(1<<L)-1,_=j>>1,E=-7,C=Y?X-1:0,q=Y?-1:1,B=I[J+C];C+=q,W=B&(1<<-E)-1,B>>=-E,E+=L;for(;E>0;W=W*256+I[J+C],C+=q,E-=8);Z=W&(1<<-E)-1,W>>=-E,E+=z;for(;E>0;Z=Z*256+I[J+C],C+=q,E-=8);if(W===0)W=1-_;else if(W===j)return Z?NaN:(B?-1:1)*(1/0);else Z=Z+Math.pow(2,z),W=W-_;return(B?-1:1)*Z*Math.pow(2,W-z)}function m_(I,J,Y,z,X,W){var Z,L,j,_=W*8-X-1,E=(1<<_)-1,C=E>>1,q=X===23?Math.pow(2,-24)-Math.pow(2,-77):0,B=z?0:W-1,N=z?1:-1,f=J<0||J===0&&1/J<0?1:0;if(J=Math.abs(J),isNaN(J)||J===1/0)L=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+=q/j;else J+=q*Math.pow(2,1-C);if(J*j>=2)Z++,j/=2;if(Z+C>=E)L=0,Z=E;else if(Z+C>=1)L=(J*j-1)*Math.pow(2,X),Z=Z+C;else L=J*Math.pow(2,C-1)*Math.pow(2,X),Z=0}for(;X>=8;I[Y+B]=L&255,B+=N,L/=256,X-=8);Z=Z<<X|L,_+=X;for(;_>0;I[Y+B]=Z&255,B+=N,Z/=256,_-=8);I[Y+B-N]|=f*128}function GI(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 hV(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(z){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:z,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 pV(I)}return n_(I,J,Y)}function n_(I,J,Y){if(typeof I==="string")return Jx(I,J);if(ArrayBuffer.isView(I))return Qx(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(j4(I,ArrayBuffer)||I&&j4(I.buffer,ArrayBuffer))return bV(I,J,Y);if(typeof SharedArrayBuffer<"u"&&(j4(I,SharedArrayBuffer)||I&&j4(I.buffer,SharedArrayBuffer)))return bV(I,J,Y);if(typeof I==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let z=I.valueOf&&I.valueOf();if(z!=null&&z!==I)return d0.from(z,J,Y);let X=Yx(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 o_(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 Xx(I,J,Y){if(o_(I),I<=0)return GI(I);if(J!==void 0)return typeof Y==="string"?GI(I).fill(J,Y):GI(I).fill(J);return GI(I)}function pV(I){return o_(I),GI(I<0?0:mV(I)|0)}function Jx(I,J){if(typeof J!=="string"||J==="")J="utf8";if(!d0.isEncoding(J))throw TypeError("Unknown encoding: "+J);let Y=i_(I,J)|0,z=GI(Y),X=z.write(I,J);if(X!==Y)z=z.slice(0,X);return z}function uV(I){let J=I.length<0?0:mV(I.length)|0,Y=GI(J);for(let z=0;z<J;z+=1)Y[z]=I[z]&255;return Y}function Qx(I){if(j4(I,Uint8Array)){let J=new Uint8Array(I);return bV(J.buffer,J.byteOffset,J.byteLength)}return uV(I)}function bV(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 z;if(J===void 0&&Y===void 0)z=new Uint8Array(I);else if(Y===void 0)z=new Uint8Array(I,J);else z=new Uint8Array(I,J,Y);return Object.setPrototypeOf(z,d0.prototype),z}function Yx(I){if(d0.isBuffer(I)){let J=mV(I.length)|0,Y=GI(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 GI(0);return uV(I)}if(I.type==="Buffer"&&Array.isArray(I.data))return uV(I.data)}function mV(I){if(I>=oG)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oG.toString(16)+" bytes");return I|0}function i_(I,J){if(d0.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||j4(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,z=arguments.length>2&&arguments[2]===!0;if(!z&&Y===0)return 0;let X=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return Y;case"utf8":case"utf-8":return cV(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y*2;case"hex":return Y>>>1;case"base64":return XE(I).length;default:if(X)return z?-1:cV(I).length;J=(""+J).toLowerCase(),X=!0}}function Gx(I,J,Y){let z=!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 Lx(this,J,Y);case"utf8":case"utf-8":return t_(this,J,Y);case"ascii":return Dx(this,J,Y);case"latin1":case"binary":return Fx(this,J,Y);case"base64":return Vx(this,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mx(this,J,Y);default:if(z)throw TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),z=!0}}function IJ(I,J,Y){let z=I[J];I[J]=I[Y],I[Y]=z}function r_(I,J,Y,z,X){if(I.length===0)return-1;if(typeof Y==="string")z=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,z);if(d0.isBuffer(J)){if(J.length===0)return-1;return c_(I,J,Y,z,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 c_(I,[J],Y,z,X)}throw TypeError("val must be string, number or Buffer")}function c_(I,J,Y,z,X){let W=1,Z=I.length,L=J.length;if(z!==void 0){if(z=String(z).toLowerCase(),z==="ucs2"||z==="ucs-2"||z==="utf16le"||z==="utf-16le"){if(I.length<2||J.length<2)return-1;W=2,Z/=2,L/=2,Y/=2}}function j(E,C){if(W===1)return E[C];else return E.readUInt16BE(C*W)}let _;if(X){let E=-1;for(_=Y;_<Z;_++)if(j(I,_)===j(J,E===-1?0:_-E)){if(E===-1)E=_;if(_-E+1===L)return E*W}else{if(E!==-1)_-=_-E;E=-1}}else{if(Y+L>Z)Y=Z-L;for(_=Y;_>=0;_--){let E=!0;for(let C=0;C<L;C++)if(j(I,_+C)!==j(J,C)){E=!1;break}if(E)return _}}return-1}function Zx(I,J,Y,z){Y=Number(Y)||0;let X=I.length-Y;if(!z)z=X;else if(z=Number(z),z>X)z=X;let W=J.length;if(z>W/2)z=W/2;let Z;for(Z=0;Z<z;++Z){let L=parseInt(J.substr(Z*2,2),16);if(Number.isNaN(L))return Z;I[Y+Z]=L}return Z}function Kx(I,J,Y,z){return QK(cV(J,I.length-Y),I,Y,z)}function Wx(I,J,Y,z){return QK(Rx(J),I,Y,z)}function zx(I,J,Y,z){return QK(XE(J),I,Y,z)}function Ox(I,J,Y,z){return QK(Px(J,I.length-Y),I,Y,z)}function Vx(I,J,Y){if(J===0&&Y===I.length)return u_(I);else return u_(I.slice(J,Y))}function t_(I,J,Y){Y=Math.min(I.length,Y);let z=[],X=J;while(X<Y){let W=I[X],Z=null,L=W>239?4:W>223?3:W>191?2:1;if(X+L<=Y){let j,_,E,C;switch(L){case 1:if(W<128)Z=W;break;case 2:if(j=I[X+1],(j&192)===128){if(C=(W&31)<<6|j&63,C>127)Z=C}break;case 3:if(j=I[X+1],_=I[X+2],(j&192)===128&&(_&192)===128){if(C=(W&15)<<12|(j&63)<<6|_&63,C>2047&&(C<55296||C>57343))Z=C}break;case 4:if(j=I[X+1],_=I[X+2],E=I[X+3],(j&192)===128&&(_&192)===128&&(E&192)===128){if(C=(W&15)<<18|(j&63)<<12|(_&63)<<6|E&63,C>65535&&C<1114112)Z=C}}}if(Z===null)Z=65533,L=1;else if(Z>65535)Z-=65536,z.push(Z>>>10&1023|55296),Z=56320|Z&1023;z.push(Z),X+=L}return Hx(z)}function Hx(I){let J=I.length;if(J<=h_)return String.fromCharCode.apply(String,I);let Y="",z=0;while(z<J)Y+=String.fromCharCode.apply(String,I.slice(z,z+=h_));return Y}function Dx(I,J,Y){let z="";Y=Math.min(I.length,Y);for(let X=J;X<Y;++X)z+=String.fromCharCode(I[X]&127);return z}function Fx(I,J,Y){let z="";Y=Math.min(I.length,Y);for(let X=J;X<Y;++X)z+=String.fromCharCode(I[X]);return z}function Lx(I,J,Y){let z=I.length;if(!J||J<0)J=0;if(!Y||Y<0||Y>z)Y=z;let X="";for(let W=J;W<Y;++W)X+=qx[I[W]];return X}function Mx(I,J,Y){let z=I.slice(J,Y),X="";for(let W=0;W<z.length-1;W+=2)X+=String.fromCharCode(z[W]+z[W+1]*256);return X}function H6(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,z,X,W){if(!d0.isBuffer(I))throw TypeError('"buffer" argument must be a Buffer instance');if(J>X||J<W)throw RangeError('"value" argument is out of bounds');if(Y+z>I.length)throw RangeError("Index out of range")}function a_(I,J,Y,z,X){IE(J,z,X,I,Y,7);let W=Number(J&BigInt(4294967295));I[Y++]=W,W=W>>8,I[Y++]=W,W=W>>8,I[Y++]=W,W=W>>8,I[Y++]=W;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 s_(I,J,Y,z,X){IE(J,z,X,I,Y,7);let W=Number(J&BigInt(4294967295));I[Y+7]=W,W=W>>8,I[Y+6]=W,W=W>>8,I[Y+5]=W,W=W>>8,I[Y+4]=W;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 e_(I,J,Y,z,X,W){if(Y+z>I.length)throw RangeError("Index out of range");if(Y<0)throw RangeError("Index out of range")}function $E(I,J,Y,z,X){if(J=+J,Y=Y>>>0,!X)e_(I,J,Y,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return m_(I,J,Y,z,23,4),Y+4}function UE(I,J,Y,z,X){if(J=+J,Y=Y>>>0,!X)e_(I,J,Y,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return m_(I,J,Y,z,52,8),Y+8}function p_(I){let J="",Y=I.length,z=I[0]==="-"?1:0;for(;Y>=z+4;Y-=3)J=`_${I.slice(Y-3,Y)}${J}`;return`${I.slice(0,Y)}${J}`}function Ax(I,J,Y){if(RQ(J,"offset"),I[J]===void 0||I[J+Y]===void 0)iG(J,I.length-(Y+1))}function IE(I,J,Y,z,X,W){if(I>Y||I<J){let Z=typeof J==="bigint"?"n":"",L;if(W>3)if(J===0||J===BigInt(0))L=`>= 0${Z} and < 2${Z} ** ${(W+1)*8}${Z}`;else L=`>= -(2${Z} ** ${(W+1)*8-1}${Z}) and < 2 ** ${(W+1)*8-1}${Z}`;else L=`>= ${J}${Z} and <= ${Y}${Z}`;throw new yV("value",L,I)}Ax(z,X,W)}function RQ(I,J){if(typeof I!=="number")throw new Ix(J,"number",I)}function iG(I,J,Y){if(Math.floor(I)!==I)throw RQ(I,Y),new yV(Y||"offset","an integer",I);if(J<0)throw new Ux;throw new yV(Y||"offset",`>= ${Y?1:0} and <= ${J}`,I)}function Tx(I){if(I=I.split("=")[0],I=I.trim().replace(Cx,""),I.length<2)return"";while(I.length%4!==0)I=I+"=";return I}function cV(I,J){J=J||1/0;let Y,z=I.length,X=null,W=[];for(let Z=0;Z<z;++Z){if(Y=I.charCodeAt(Z),Y>55295&&Y<57344){if(!X){if(Y>56319){if((J-=3)>-1)W.push(239,191,189);continue}else if(Z+1===z){if((J-=3)>-1)W.push(239,191,189);continue}X=Y;continue}if(Y<56320){if((J-=3)>-1)W.push(239,191,189);X=Y;continue}Y=(X-55296<<10|Y-56320)+65536}else if(X){if((J-=3)>-1)W.push(239,191,189)}if(X=null,Y<128){if((J-=1)<0)break;W.push(Y)}else if(Y<2048){if((J-=2)<0)break;W.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((J-=3)<0)break;W.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((J-=4)<0)break;W.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw Error("Invalid code point")}return W}function Rx(I){let J=[];for(let Y=0;Y<I.length;++Y)J.push(I.charCodeAt(Y)&255);return J}function Px(I,J){let Y,z,X,W=[];for(let Z=0;Z<I.length;++Z){if((J-=2)<0)break;Y=I.charCodeAt(Z),z=Y>>8,X=Y%256,W.push(X),W.push(z)}return W}function XE(I){return og(Tx(I))}function QK(I,J,Y,z){let X;for(X=0;X<z;++X){if(X+Y>=J.length||X>=I.length)break;J[X+Y]=I[X]}return X}function j4(I,J){return I instanceof J||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===J.name}function UX(I){return typeof BigInt>"u"?_x:I}function _x(){throw Error("BigInt not supported")}function lV(I){return()=>{throw Error(I+" is not implemented for node:buffer browser polyfill")}}var S4,w1,fV="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",UJ,y_,b_,l_=50,oG=2147483647,d_=536870888,tg,ag,sg,eg,$x,Ux,Ix,yV,h_=4096,Cx,qx,Ex,Sx,jx=(I)=>{for(let J of I)if(J.charCodeAt(0)>127)return!1;return!0},Bx,vx;var iU=CQ(()=>{S4=[],w1=[];for(UJ=0,y_=fV.length;UJ<y_;++UJ)S4[UJ]=fV[UJ],w1[fV.charCodeAt(UJ)]=UJ;w1[45]=62;w1[95]=63;b_=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,tg=globalThis.btoa,ag=globalThis.atob,sg=globalThis.File,eg=globalThis.Blob,$x={MAX_LENGTH:oG,MAX_STRING_LENGTH:d_};Ux=hV("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),Ix=hV("ERR_INVALID_ARG_TYPE",function(I,J){return`The "${I}" argument must be of type number. Received type ${typeof J}`},TypeError),yV=hV("ERR_OUT_OF_RANGE",function(I,J,Y){let z=`The value of "${I}" is out of range.`,X=Y;if(Number.isInteger(Y)&&Math.abs(Y)>4294967296)X=p_(String(Y));else if(typeof Y==="bigint"){if(X=String(Y),Y>BigInt(2)**BigInt(32)||Y<-(BigInt(2)**BigInt(32)))X=p_(X);X+="n"}return z+=` It must be ${J}. Received ${X}`,z},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 n_(I,J,Y)};Object.setPrototypeOf(d0.prototype,Uint8Array.prototype);Object.setPrototypeOf(d0,Uint8Array);d0.alloc=function(I,J,Y){return Xx(I,J,Y)};d0.allocUnsafe=function(I){return pV(I)};d0.allocUnsafeSlow=function(I){return pV(I)};d0.isBuffer=function(I){return I!=null&&I._isBuffer===!0&&I!==d0.prototype};d0.compare=function(I,J){if(j4(I,Uint8Array))I=d0.from(I,I.offset,I.byteLength);if(j4(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,z=J.length;for(let X=0,W=Math.min(Y,z);X<W;++X)if(I[X]!==J[X]){Y=I[X],z=J[X];break}if(Y<z)return-1;if(z<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 z=d0.allocUnsafe(J),X=0;for(Y=0;Y<I.length;++Y){let W=I[Y];if(j4(W,Uint8Array))if(X+W.length>z.length){if(!d0.isBuffer(W))W=d0.from(W);W.copy(z,X)}else Uint8Array.prototype.set.call(z,W,X);else if(!d0.isBuffer(W))throw TypeError('"list" argument must be an Array of Buffers');else W.copy(z,X);X+=W.length}return z};d0.byteLength=i_;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)IJ(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)IJ(this,J,J+3),IJ(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)IJ(this,J,J+7),IJ(this,J+1,J+6),IJ(this,J+2,J+5),IJ(this,J+3,J+4);return this};d0.prototype.toString=function(){let I=this.length;if(I===0)return"";if(arguments.length===0)return t_(this,0,I);return Gx.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=l_;if(I=this.toString("hex",0,J).replace(/(.{2})/g,"$1 ").trim(),this.length>J)I+=" ... ";return"<Buffer "+I+">"};if(b_)d0.prototype[b_]=d0.prototype.inspect;d0.prototype.compare=function(I,J,Y,z,X){if(j4(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(z===void 0)z=0;if(X===void 0)X=this.length;if(J<0||Y>I.length||z<0||X>this.length)throw RangeError("out of range index");if(z>=X&&J>=Y)return 0;if(z>=X)return-1;if(J>=Y)return 1;if(J>>>=0,Y>>>=0,z>>>=0,X>>>=0,this===I)return 0;let W=X-z,Z=Y-J,L=Math.min(W,Z),j=this.slice(z,X),_=I.slice(J,Y);for(let E=0;E<L;++E)if(j[E]!==_[E]){W=j[E],Z=_[E];break}if(W<Z)return-1;if(Z<W)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 r_(this,I,J,Y,!0)};d0.prototype.lastIndexOf=function(I,J,Y){return r_(this,I,J,Y,!1)};d0.prototype.write=function(I,J,Y,z){if(J===void 0)z="utf8",Y=this.length,J=0;else if(Y===void 0&&typeof J==="string")z=J,Y=this.length,J=0;else if(isFinite(J))if(J=J>>>0,isFinite(Y)){if(Y=Y>>>0,z===void 0)z="utf8"}else z=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(!z)z="utf8";let W=!1;for(;;)switch(z){case"hex":return Zx(this,I,J,Y);case"utf8":case"utf-8":return Kx(this,I,J,Y);case"ascii":case"latin1":case"binary":return Wx(this,I,J,Y);case"base64":return zx(this,I,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ox(this,I,J,Y);default:if(W)throw TypeError("Unknown encoding: "+z);z=(""+z).toLowerCase(),W=!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 z=this.subarray(I,J);return Object.setPrototypeOf(z,d0.prototype),z};d0.prototype.readUintLE=d0.prototype.readUIntLE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)H6(I,J,this.length);let z=this[I],X=1,W=0;while(++W<J&&(X*=256))z+=this[I+W]*X;return z};d0.prototype.readUintBE=d0.prototype.readUIntBE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)H6(I,J,this.length);let z=this[I+--J],X=1;while(J>0&&(X*=256))z+=this[I+--J]*X;return z};d0.prototype.readUint8=d0.prototype.readUInt8=function(I,J){if(I=I>>>0,!J)H6(I,1,this.length);return this[I]};d0.prototype.readUint16LE=d0.prototype.readUInt16LE=function(I,J){if(I=I>>>0,!J)H6(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)H6(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)H6(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)H6(I,4,this.length);return this[I]*16777216+(this[I+1]<<16|this[I+2]<<8|this[I+3])};d0.prototype.readBigUInt64LE=UX(function(I){I=I>>>0,RQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let z=J+this[++I]*256+this[++I]*65536+this[++I]*16777216,X=this[++I]+this[++I]*256+this[++I]*65536+Y*16777216;return BigInt(z)+(BigInt(X)<<BigInt(32))});d0.prototype.readBigUInt64BE=UX(function(I){I=I>>>0,RQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let z=J*16777216+this[++I]*65536+this[++I]*256+this[++I],X=this[++I]*16777216+this[++I]*65536+this[++I]*256+Y;return(BigInt(z)<<BigInt(32))+BigInt(X)});d0.prototype.readIntLE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)H6(I,J,this.length);let z=this[I],X=1,W=0;while(++W<J&&(X*=256))z+=this[I+W]*X;if(X*=128,z>=X)z-=Math.pow(2,8*J);return z};d0.prototype.readIntBE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)H6(I,J,this.length);let z=J,X=1,W=this[I+--z];while(z>0&&(X*=256))W+=this[I+--z]*X;if(X*=128,W>=X)W-=Math.pow(2,8*J);return W};d0.prototype.readInt8=function(I,J){if(I=I>>>0,!J)H6(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)H6(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)H6(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)H6(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)H6(I,4,this.length);return this[I]<<24|this[I+1]<<16|this[I+2]<<8|this[I+3]};d0.prototype.readBigInt64LE=UX(function(I){I=I>>>0,RQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let z=this[I+4]+this[I+5]*256+this[I+6]*65536+(Y<<24);return(BigInt(z)<<BigInt(32))+BigInt(J+this[++I]*256+this[++I]*65536+this[++I]*16777216)});d0.prototype.readBigInt64BE=UX(function(I){I=I>>>0,RQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)iG(I,this.length-8);let z=(J<<24)+this[++I]*65536+this[++I]*256+this[++I];return(BigInt(z)<<BigInt(32))+BigInt(this[++I]*16777216+this[++I]*65536+this[++I]*256+Y)});d0.prototype.readFloatLE=function(I,J){if(I=I>>>0,!J)H6(I,4,this.length);return JK(this,I,!0,23,4)};d0.prototype.readFloatBE=function(I,J){if(I=I>>>0,!J)H6(I,4,this.length);return JK(this,I,!1,23,4)};d0.prototype.readDoubleLE=function(I,J){if(I=I>>>0,!J)H6(I,8,this.length);return JK(this,I,!0,52,8)};d0.prototype.readDoubleBE=function(I,J){if(I=I>>>0,!J)H6(I,8,this.length);return JK(this,I,!1,52,8)};d0.prototype.writeUintLE=d0.prototype.writeUIntLE=function(I,J,Y,z){if(I=+I,J=J>>>0,Y=Y>>>0,!z){let Z=Math.pow(2,8*Y)-1;r6(this,I,J,Y,Z,0)}let X=1,W=0;this[J]=I&255;while(++W<Y&&(X*=256))this[J+W]=I/X&255;return J+Y};d0.prototype.writeUintBE=d0.prototype.writeUIntBE=function(I,J,Y,z){if(I=+I,J=J>>>0,Y=Y>>>0,!z){let Z=Math.pow(2,8*Y)-1;r6(this,I,J,Y,Z,0)}let X=Y-1,W=1;this[J+X]=I&255;while(--X>=0&&(W*=256))this[J+X]=I/W&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=UX(function(I,J=0){return a_(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});d0.prototype.writeBigUInt64BE=UX(function(I,J=0){return s_(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});d0.prototype.writeIntLE=function(I,J,Y,z){if(I=+I,J=J>>>0,!z){let L=Math.pow(2,8*Y-1);r6(this,I,J,Y,L-1,-L)}let X=0,W=1,Z=0;this[J]=I&255;while(++X<Y&&(W*=256)){if(I<0&&Z===0&&this[J+X-1]!==0)Z=1;this[J+X]=(I/W>>0)-Z&255}return J+Y};d0.prototype.writeIntBE=function(I,J,Y,z){if(I=+I,J=J>>>0,!z){let L=Math.pow(2,8*Y-1);r6(this,I,J,Y,L-1,-L)}let X=Y-1,W=1,Z=0;this[J+X]=I&255;while(--X>=0&&(W*=256)){if(I<0&&Z===0&&this[J+X+1]!==0)Z=1;this[J+X]=(I/W>>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=UX(function(I,J=0){return a_(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});d0.prototype.writeBigInt64BE=UX(function(I,J=0){return s_(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});d0.prototype.writeFloatLE=function(I,J,Y){return $E(this,I,J,!0,Y)};d0.prototype.writeFloatBE=function(I,J,Y){return $E(this,I,J,!1,Y)};d0.prototype.writeDoubleLE=function(I,J,Y){return UE(this,I,J,!0,Y)};d0.prototype.writeDoubleBE=function(I,J,Y){return UE(this,I,J,!1,Y)};d0.prototype.copy=function(I,J,Y,z){if(!d0.isBuffer(I))throw TypeError("argument should be a Buffer");if(!Y)Y=0;if(!z&&z!==0)z=this.length;if(J>=I.length)J=I.length;if(!J)J=0;if(z>0&&z<Y)z=Y;if(z===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(z<0)throw RangeError("sourceEnd out of bounds");if(z>this.length)z=this.length;if(I.length-J<z-Y)z=I.length-J+Y;let X=z-Y;if(this===I&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(J,Y,z);else Uint8Array.prototype.set.call(I,this.subarray(Y,z),J);return X};d0.prototype.fill=function(I,J,Y,z){if(typeof I==="string"){if(typeof J==="string")z=J,J=0,Y=this.length;else if(typeof Y==="string")z=Y,Y=this.length;if(z!==void 0&&typeof z!=="string")throw TypeError("encoding must be a string");if(typeof z==="string"&&!d0.isEncoding(z))throw TypeError("Unknown encoding: "+z);if(I.length===1){let W=I.charCodeAt(0);if(z==="utf8"&&W<128||z==="latin1")I=W}}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 W=d0.isBuffer(I)?I:d0.from(I,z),Z=W.length;if(Z===0)throw TypeError('The value "'+I+'" is invalid for argument "value"');for(X=0;X<Y-J;++X)this[X+J]=W[X%Z]}return this};Cx=/[^+/0-9A-Za-z-_]/g;qx=function(){let I=Array(256);for(let J=0;J<16;++J){let Y=J*16;for(let z=0;z<16;++z)I[Y+z]="0123456789abcdef"[J]+"0123456789abcdef"[z]}return I}();Ex=lV("resolveObjectURL"),Sx=lV("isUtf8"),Bx=lV("transcode"),vx=d0});var _Q={};x6(_Q,{types:()=>cx,promisify:()=>KE,log:()=>YE,isUndefined:()=>PQ,isSymbol:()=>px,isString:()=>zK,isRegExp:()=>YK,isPrimitive:()=>mx,isObject:()=>qQ,isNumber:()=>QE,isNullOrUndefined:()=>hx,isNull:()=>WK,isFunction:()=>ZK,isError:()=>GK,isDate:()=>iV,isBuffer:()=>lx,isBoolean:()=>tV,isArray:()=>JE,inspect:()=>XJ,inherits:()=>GE,format:()=>rV,deprecate:()=>kx,default:()=>ox,debuglog:()=>gx,callbackifyOnRejected:()=>eV,callbackify:()=>WE,_extend:()=>sV,TextEncoder:()=>zE,TextDecoder:()=>OE});function rV(I,...J){if(!zK(I)){var Y=[I];for(var z=0;z<J.length;z++)Y.push(XJ(J[z]));return Y.join(" ")}var z=0,X=J.length,W=String(I).replace(Nx,function(L){if(L==="%%")return"%";if(z>=X)return L;switch(L){case"%s":return String(J[z++]);case"%d":return Number(J[z++]);case"%j":try{return JSON.stringify(J[z++])}catch(j){return"[Circular]"}default:return L}});for(var Z=J[z];z<X;Z=J[++z])if(WK(Z)||!qQ(Z))W+=" "+Z;else W+=" "+XJ(Z);return W}function kx(I,J){if(typeof process>"u"||process?.noDeprecation===!0)return I;var Y=!1;function z(...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 z}function xx(I,J){var Y=XJ.styles[J];if(Y)return"\x1B["+XJ.colors[Y][0]+"m"+I+"\x1B["+XJ.colors[Y][1]+"m";else return I}function wx(I,J){return I}function fx(I){var J={};return I.forEach(function(Y,z){J[Y]=!0}),J}function KK(I,J,Y){if(I.customInspect&&J&&ZK(J.inspect)&&J.inspect!==XJ&&!(J.constructor&&J.constructor.prototype===J)){var z=J.inspect(Y,I);if(!zK(z))z=KK(I,z,Y);return z}var X=yx(I,J);if(X)return X;var W=Object.keys(J),Z=fx(W);if(I.showHidden)W=Object.getOwnPropertyNames(J);if(GK(J)&&(W.indexOf("message")>=0||W.indexOf("description")>=0))return dV(J);if(W.length===0){if(ZK(J)){var L=J.name?": "+J.name:"";return I.stylize("[Function"+L+"]","special")}if(YK(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");if(iV(J))return I.stylize(Date.prototype.toString.call(J),"date");if(GK(J))return dV(J)}var j="",_=!1,E=["{","}"];if(JE(J))_=!0,E=["[","]"];if(ZK(J)){var C=J.name?": "+J.name:"";j=" [Function"+C+"]"}if(YK(J))j=" "+RegExp.prototype.toString.call(J);if(iV(J))j=" "+Date.prototype.toUTCString.call(J);if(GK(J))j=" "+dV(J);if(W.length===0&&(!_||J.length==0))return E[0]+j+E[1];if(Y<0)if(YK(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");else return I.stylize("[Object]","special");I.seen.push(J);var q;if(_)q=ux(I,J,Y,Z,W);else q=W.map(function(B){return oV(I,J,Y,Z,B,_)});return I.seen.pop(),bx(q,j,E)}function yx(I,J){if(PQ(J))return I.stylize("undefined","undefined");if(zK(J)){var Y="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(Y,"string")}if(QE(J))return I.stylize(""+J,"number");if(tV(J))return I.stylize(""+J,"boolean");if(WK(J))return I.stylize("null","null")}function dV(I){return"["+Error.prototype.toString.call(I)+"]"}function ux(I,J,Y,z,X){var W=[];for(var Z=0,L=J.length;Z<L;++Z)if(ZE(J,String(Z)))W.push(oV(I,J,Y,z,String(Z),!0));else W.push("");return X.forEach(function(j){if(!j.match(/^\d+$/))W.push(oV(I,J,Y,z,j,!0))}),W}function oV(I,J,Y,z,X,W){var Z,L,j;if(j=Object.getOwnPropertyDescriptor(J,X)||{value:J[X]},j.get)if(j.set)L=I.stylize("[Getter/Setter]","special");else L=I.stylize("[Getter]","special");else if(j.set)L=I.stylize("[Setter]","special");if(!ZE(z,X))Z="["+X+"]";if(!L)if(I.seen.indexOf(j.value)<0){if(WK(Y))L=KK(I,j.value,null);else L=KK(I,j.value,Y-1);if(L.indexOf(`
231
+ `)>-1)if(W)L=L.split(`
232
+ `).map(function(_){return" "+_}).join(`
233
+ `).slice(2);else L=`
234
+ `+L.split(`
235
+ `).map(function(_){return" "+_}).join(`
236
+ `)}else L=I.stylize("[Circular]","special");if(PQ(Z)){if(W&&X.match(/^\d+$/))return L;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+": "+L}function bx(I,J,Y){var z=0,X=I.reduce(function(W,Z){if(z++,Z.indexOf(`
237
+ `)>=0)z++;return W+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 JE(I){return Array.isArray(I)}function tV(I){return typeof I==="boolean"}function WK(I){return I===null}function hx(I){return I==null}function QE(I){return typeof I==="number"}function zK(I){return typeof I==="string"}function px(I){return typeof I==="symbol"}function PQ(I){return I===void 0}function YK(I){return qQ(I)&&aV(I)==="[object RegExp]"}function qQ(I){return typeof I==="object"&&I!==null}function iV(I){return qQ(I)&&aV(I)==="[object Date]"}function GK(I){return qQ(I)&&(aV(I)==="[object Error]"||I instanceof Error)}function ZK(I){return typeof I==="function"}function mx(I){return I===null||typeof I==="boolean"||typeof I==="number"||typeof I==="string"||typeof I==="symbol"||typeof I>"u"}function lx(I){return I instanceof Buffer}function aV(I){return Object.prototype.toString.call(I)}function nV(I){return I<10?"0"+I.toString(10):I.toString(10)}function nx(){var I=new Date,J=[nV(I.getHours()),nV(I.getMinutes()),nV(I.getSeconds())].join(":");return[I.getDate(),dx[I.getMonth()],J].join(" ")}function YE(...I){console.log("%s - %s",nx(),rV.apply(null,I))}function GE(I,J){if(J)I.super_=J,I.prototype=Object.create(J.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})}function sV(I,J){if(!J||!qQ(J))return I;var Y=Object.keys(J),z=Y.length;while(z--)I[Y[z]]=J[Y[z]];return I}function ZE(I,J){return Object.prototype.hasOwnProperty.call(I,J)}function eV(I,J){if(!I){var Y=Error("Promise was rejected with a falsy value");Y.reason=I,I=Y}return J(I)}function WE(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');function J(...Y){var z=Y.pop();if(typeof z!=="function")throw TypeError("The last argument must be of type Function");var X=this,W=function(...Z){return z.apply(X,...Z)};I.apply(this,Y).then(function(Z){process.nextTick(W.bind(null,null,Z))},function(Z){process.nextTick(eV.bind(null,Z,W))})}return Object.setPrototypeOf(J,Object.getPrototypeOf(I)),Object.defineProperties(J,Object.getOwnPropertyDescriptors(I)),J}var Nx,gx,XJ,cx=()=>{},dx,KE,zE,OE,ox;var EQ=CQ(()=>{Nx=/%[sdj%]/g;gx=((I={},J={},Y)=>((Y=typeof process<"u"&&!1)&&(Y=Y.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()),J=new RegExp("^"+Y+"$","i"),(z)=>{if(z=z.toUpperCase(),!I[z])if(J.test(z))I[z]=function(...X){console.error("%s: %s",z,pid,rV.apply(null,...X))};else I[z]=function(){};return I[z]}))(),XJ=((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 z={seen:[],stylize:wx};if(Y.length>=1)z.depth=Y[0];if(Y.length>=2)z.colors=Y[1];if(tV(J))z.showHidden=J;else if(J)sV(z,J);if(PQ(z.showHidden))z.showHidden=!1;if(PQ(z.depth))z.depth=2;if(PQ(z.colors))z.colors=!1;if(z.colors)z.stylize=xx;return KK(z,I,z.depth)});dx=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];KE=((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 z,X,W=new Promise(function(Z,L){z=Z,X=L});Y.push(function(Z,L){if(Z)X(Z);else z(L)});try{I.apply(this,Y)}catch(Z){X(Z)}return W}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:zE,TextDecoder:OE}=globalThis),ox={TextEncoder:zE,TextDecoder:OE,promisify:KE,log:YE,inherits:GE,_extend:sV,callbackifyOnRejected:eV,callbackify:WE}});var jQ={};x6(jQ,{setMaxListeners:()=>PE,once:()=>TE,listenerCount:()=>qE,init:()=>IX,getMaxListeners:()=>EE,getEventListeners:()=>RE,default:()=>Iw,captureRejectionSymbol:()=>LE,addAbortListener:()=>SE,EventEmitter:()=>IX});function ME(I,J){var{_events:Y}=I;if(J[0]??=Error("Unhandled error."),!Y)throw J[0];var z=Y[FE];if(z)for(var X of HE.call(z))X.apply(I,J);var W=Y.error;if(!W)throw J[0];for(var X of HE.call(W))X.apply(I,J);return!0}function tx(I,J,Y,z){J.then(void 0,function(X){queueMicrotask(()=>ax(I,X,Y,z))})}function ax(I,J,Y,z){if(typeof I[VE]==="function")I[VE](J,Y,...z);else try{I[JJ]=!1,I.emit("error",J)}finally{I[JJ]=!0}}function AE(I,J,Y){Y.warned=!0;let z=Error(`Possible EventEmitter memory leak detected. ${Y.length} ${String(J)} listeners added to [${I.constructor.name}]. Use emitter.setMaxListeners() to increase limit`);z.name="MaxListenersExceededWarning",z.emitter=I,z.type=J,z.count=Y.length,console.warn(z)}function CE(I,J,...Y){this.removeListener(I,J),J.apply(this,Y)}function TE(I,J,Y){var z=Y?.signal;if(_E(z,"options.signal"),z?.aborted)throw new $H(void 0,{cause:z?.reason});let{resolve:X,reject:W,promise:Z}=$newPromiseCapability(Promise),L=(E)=>{if(I.removeListener(J,j),z!=null)OK(z,"abort",_);W(E)},j=(...E)=>{if(typeof I.removeListener==="function")I.removeListener("error",L);if(z!=null)OK(z,"abort",_);X(E)};if(DE(I,J,j,{once:!0}),J!=="error"&&typeof I.once==="function")I.once("error",L);function _(){OK(I,J,j),OK(I,"error",L),W(new $H(void 0,{cause:z?.reason}))}if(z!=null)DE(z,"abort",_,{once:!0});return Z}function RE(I,J){return I.listeners(J)}function PE(I,...J){IH(I,"setMaxListeners",0);var Y;if(J&&(Y=J.length))for(let z=0;z<Y;z++)J[z].setMaxListeners(I);else QJ=I}function qE(I,J){return I.listenerCount(J)}function OK(I,J,Y,z){if(typeof I.removeListener==="function")I.removeListener(J,Y);else I.removeEventListener(J,Y,z)}function DE(I,J,Y,z){if(typeof I.on==="function")if(z.once)I.once(J,Y);else I.on(J,Y);else I.addEventListener(J,Y,z)}function SQ(I,J,Y){let z=TypeError(`The "${I}" argument must be of type ${J}. Received ${Y}`);return z.code="ERR_INVALID_ARG_TYPE",z}function $w(I,J,Y){let z=RangeError(`The "${I}" argument is out of range. It must be ${J}. Received ${Y}`);return z.code="ERR_OUT_OF_RANGE",z}function _E(I,J){if(I!==void 0&&(I===null||typeof I!=="object"||!("aborted"in I)))throw SQ(J,"AbortSignal",I)}function IH(I,J,Y,z){if(typeof I!=="number")throw SQ(J,"number",I);if(Y!=null&&I<Y||z!=null&&I>z||(Y!=null||z!=null)&&Number.isNaN(I))throw $w(J,`${Y!=null?`>= ${Y}`:""}${Y!=null&&z!=null?" && ":""}${z!=null?`<= ${z}`:""}`,I)}function rG(I){if(typeof I!=="function")throw TypeError("The listener must be a function")}function Uw(I,J){if(typeof I!=="boolean")throw SQ(J,"boolean",I)}function EE(I){return I?._maxListeners??QJ}function SE(I,J){if(I===void 0)throw SQ("signal","AbortSignal",I);if(_E(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 UH,JJ,FE,ix,rx,VE,LE,HE,QJ=10,IX=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[JJ]=I?.captureRejections?Boolean(I?.captureRejections):BU[JJ])this.emit=ex},BU,sx=function(I,...J){if(I==="error")return ME(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var z=Y[I];if(z===void 0)return!1;let X=z.length>1?z.slice():z;for(let W=0,{length:Z}=X;W<Z;W++){let L=X[W];switch(J.length){case 0:L.call(this);break;case 1:L.call(this,J[0]);break;case 2:L.call(this,J[0],J[1]);break;case 3:L.call(this,J[0],J[1],J[2]);break;default:L.apply(this,J);break}}return!0},ex=function(I,...J){if(I==="error")return ME(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var z=Y[I];if(z===void 0)return!1;let X=z.length>1?z.slice():z;for(let W=0,{length:Z}=X;W<Z;W++){let L=X[W],j;switch(J.length){case 0:j=L.call(this);break;case 1:j=L.call(this,J[0]);break;case 2:j=L.call(this,J[0],J[1]);break;case 3:j=L.call(this,J[0],J[1],J[2]);break;default:j=L.apply(this,J);break}if(j!==void 0&&typeof j?.then==="function"&&j.then===Promise.prototype.then)tx(this,j,I,J)}return!0},$H,Iw;var BQ=CQ(()=>{UH=Symbol.for,JJ=Symbol("kCapture"),FE=UH("events.errorMonitor"),ix=Symbol("events.maxEventTargetListeners"),rx=Symbol("events.maxEventTargetListenersWarned"),VE=UH("nodejs.rejection"),LE=UH("nodejs.rejection"),HE=Array.prototype.slice,BU=IX.prototype={};BU._events=void 0;BU._eventsCount=0;BU._maxListeners=void 0;BU.setMaxListeners=function(I){return IH(I,"setMaxListeners",0),this._maxListeners=I,this};BU.constructor=IX;BU.getMaxListeners=function(){return this?._maxListeners??QJ};BU.emit=sx;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 z=Y[I];if(!z)Y[I]=[J],this._eventsCount++;else{z.push(J);var X=this._maxListeners??QJ;if(X>0&&z.length>X&&!z.warned)AE(this,I,z)}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 z=Y[I];if(!z)Y[I]=[J],this._eventsCount++;else{z.unshift(J);var X=this._maxListeners??QJ;if(X>0&&z.length>X&&!z.warned)AE(this,I,z)}return this};BU.once=function(I,J){rG(J);let Y=CE.bind(this,I,J);return Y.listener=J,this.addListener(I,Y),this};BU.prependOnceListener=function(I,J){rG(J);let Y=CE.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 z=Y[I];if(!z)return this;var X=z.length;let W=-1;for(let Z=X-1;Z>=0;Z--)if(z[Z]===J||z[Z].listener===J){W=Z;break}if(W<0)return this;if(W===0)z.shift();else z.splice(W,1);if(z.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((z)=>z.listener??z)};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[JJ]=!1;$H=class $H 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(IX,{captureRejections:{get(){return BU[JJ]},set(I){Uw(I,"EventEmitter.captureRejections"),BU[JJ]=I},enumerable:!0},defaultMaxListeners:{enumerable:!0,get:()=>{return QJ},set:(I)=>{IH(I,"defaultMaxListeners",0),QJ=I}},kMaxEventTargetListeners:{value:ix,enumerable:!1,configurable:!1,writable:!1},kMaxEventTargetListenersWarned:{value:rx,enumerable:!1,configurable:!1,writable:!1}});Object.assign(IX,{once:TE,getEventListeners:RE,getMaxListeners:EE,setMaxListeners:PE,EventEmitter:IX,usingDomains:!1,captureRejectionSymbol:LE,errorMonitor:FE,addAbortListener:SE,init:IX,listenerCount:qE});Iw=IX});var NQ=$X((Hd,wE)=>{var JU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),yU=JU((I,J)=>{class Y extends Error{constructor(z){if(!Array.isArray(z))throw TypeError(`Expected input to be an Array, got ${typeof z}`);let X="";for(let W=0;W<z.length;W++)X+=` ${z[W].stack}
240
+ `;super(X);this.name="AggregateError",this.errors=z}}J.exports={AggregateError:Y,ArrayIsArray(z){return Array.isArray(z)},ArrayPrototypeIncludes(z,X){return z.includes(X)},ArrayPrototypeIndexOf(z,X){return z.indexOf(X)},ArrayPrototypeJoin(z,X){return z.join(X)},ArrayPrototypeMap(z,X){return z.map(X)},ArrayPrototypePop(z,X){return z.pop(X)},ArrayPrototypePush(z,X){return z.push(X)},ArrayPrototypeSlice(z,X,W){return z.slice(X,W)},Error,FunctionPrototypeCall(z,X,...W){return z.call(X,...W)},FunctionPrototypeSymbolHasInstance(z,X){return Function.prototype[Symbol.hasInstance].call(z,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(z,X){return Object.defineProperties(z,X)},ObjectDefineProperty(z,X,W){return Object.defineProperty(z,X,W)},ObjectGetOwnPropertyDescriptor(z,X){return Object.getOwnPropertyDescriptor(z,X)},ObjectKeys(z){return Object.keys(z)},ObjectSetPrototypeOf(z,X){return Object.setPrototypeOf(z,X)},Promise,PromisePrototypeCatch(z,X){return z.catch(X)},PromisePrototypeThen(z,X,W){return z.then(X,W)},PromiseReject(z){return Promise.reject(z)},PromiseResolve(z){return Promise.resolve(z)},ReflectApply:Reflect.apply,RegExpPrototypeTest(z,X){return z.test(X)},SafeSet:Set,String,StringPrototypeSlice(z,X,W){return z.slice(X,W)},StringPrototypeToLowerCase(z){return z.toLowerCase()},StringPrototypeToUpperCase(z){return z.toUpperCase()},StringPrototypeTrim(z){return z.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(z,X,W){return z.set(X,W)},Boolean,Uint8Array}}),jE=JU((I,J)=>{J.exports={format(Y,...z){return Y.replace(/%([sdifj])/g,function(...[X,W]){let Z=z.shift();if(W==="f")return Z.toFixed(6);else if(W==="j")return JSON.stringify(Z);else if(W==="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=JU((I,J)=>{var{format:Y,inspect:z}=jE(),{AggregateError:X}=yU(),W=globalThis.AggregateError||X,Z=Symbol("kIsNodeError"),L=["string","function","number","object","Function","Object","boolean","bigint","symbol"],j=/^([A-Z][a-z0-9]*)+$/,_={};function E(b,g){if(!b)throw new _.ERR_INTERNAL_ASSERTION(g)}function C(b){let g="",u=b.length,p=b[0]==="-"?1:0;for(;u>=p+4;u-=3)g=`_${b.slice(u-3,u)}${g}`;return`${b.slice(0,u)}${g}`}function q(b,g,u){if(typeof g==="function")return E(g.length<=u.length,`Code: ${b}; The provided arguments length (${u.length}) does not match the required ones (${g.length}).`),g(...u);let p=(g.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 g;return Y(g,...u)}function B(b,g,u){if(!u)u=Error;class p extends u{constructor(...d){super(q(b,g,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,_[b]=p}function N(b){let g="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:g}),b}function f(b,g){if(b&&g&&b!==g){if(Array.isArray(g.errors))return g.errors.push(b),g;let u=new W([g,b],g.message);return u.code=g.code,u}return b||g}class w extends Error{constructor(b="The operation was aborted",g=void 0){if(g!==void 0&&typeof g!=="object")throw new _.ERR_INVALID_ARG_TYPE("options","Object",g);super(b,g);this.code="ABORT_ERR",this.name="AbortError"}}B("ERR_ASSERTION","%s",Error),B("ERR_INVALID_ARG_TYPE",(b,g,u)=>{if(E(typeof b==="string","'name' must be a string"),!Array.isArray(g))g=[g];let p="The ";if(b.endsWith(" argument"))p+=`${b} `;else p+=`"${b}" ${b.includes(".")?"property":"argument"} `;p+="must be ";let d=[],a=[],D0=[];for(let _0 of g)if(E(typeof _0==="string","All expected entries have to be of type string"),L.includes(_0))d.push(_0.toLowerCase());else if(j.test(_0))a.push(_0);else E(_0!=="object",'The value "object" should be written as "Object"'),D0.push(_0);if(a.length>0){let _0=d.indexOf("object");if(_0!==-1)d.splice(d,_0,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 _0=d.pop();p+=`one of type ${d.join(", ")}, or ${_0}`}}if(a.length>0||D0.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 _0=a.pop();p+=`an instance of ${a.join(", ")}, or ${_0}`}}if(D0.length>0)p+=" or "}switch(D0.length){case 0:break;case 1:if(D0[0].toLowerCase()!==D0[0])p+="an ";p+=`${D0[0]}`;break;case 2:p+=`one of ${D0[0]} or ${D0[1]}`;break;default:{let _0=D0.pop();p+=`one of ${D0.join(", ")}, or ${_0}`}}if(u==null)p+=`. Received ${u}`;else if(typeof u==="function"&&u.name)p+=`. Received function ${u.name}`;else if(typeof u==="object"){var L0;if((L0=u.constructor)!==null&&L0!==void 0&&L0.name)p+=`. Received an instance of ${u.constructor.name}`;else{let _0=z(u,{depth:-1});p+=`. Received ${_0}`}}else{let _0=z(u,{colors:!1});if(_0.length>25)_0=`${_0.slice(0,25)}...`;p+=`. Received type ${typeof u} (${_0})`}return p},TypeError),B("ERR_INVALID_ARG_VALUE",(b,g,u="is invalid")=>{let p=z(g);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,g,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 "${g}" function but got ${d}.`},TypeError),B("ERR_MISSING_ARGS",(...b)=>{E(b.length>0,"At least one arg needs to be specified");let g,u=b.length;switch(b=(Array.isArray(b)?b:[b]).map((p)=>`"${p}"`).join(" or "),u){case 1:g+=`The ${b[0]} argument`;break;case 2:g+=`The ${b[0]} and ${b[1]} arguments`;break;default:{let p=b.pop();g+=`The ${b.join(", ")}, and ${p} arguments`}break}return`${g} must be specified`},TypeError),B("ERR_OUT_OF_RANGE",(b,g,u)=>{E(g,'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=z(u);return`The value of "${b}" is out of range. It must be ${g}. 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:N(f),hideStackFrames:N,codes:_}}),Xw=JU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Y=new WeakMap,z=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 W(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,L(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(){W(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)W(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),z.set(window.Event.prototype,Z);function L(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 _(t,T0){let G=Object.keys(T0);if(G.length===0)return t;function V(F,O){t.call(this,F,O)}V.prototype=Object.create(t.prototype,{constructor:{value:V,configurable:!0,writable:!0}});for(let F=0;F<G.length;++F){let O=G[F];if(!(O in t.prototype)){let D=typeof Object.getOwnPropertyDescriptor(T0,O).value==="function";Object.defineProperty(V.prototype,O,D?j(O):L(O))}}return V}function E(t){if(t==null||t===Object.prototype)return Z;let T0=z.get(t);if(T0==null)T0=_(E(Object.getPrototypeOf(t)),t),z.set(t,T0);return T0}function C(t,T0){return new(E(Object.getPrototypeOf(T0)))(t,T0)}function q(t){return X(t).immediateStopped}function B(t,T0){X(t).eventPhase=T0}function N(t,T0){X(t).currentTarget=T0}function f(t,T0){X(t).passiveListener=T0}var w=new WeakMap,b=1,g=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 O={listener:T0,listenerType:u,passive:!1,once:!1,next:null};if(V===null)G.set(t,O);else V.next=O}},configurable:!0,enumerable:!0}}function D0(t,T0){Object.defineProperty(t,`on${T0}`,a(T0))}function L0(t){function T0(){_0.call(this)}T0.prototype=Object.create(_0.prototype,{constructor:{value:T0,configurable:!0,writable:!0}});for(let G=0;G<t.length;++G)D0(T0.prototype,t[G]);return T0}function _0(){if(this instanceof _0){w.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return L0(arguments[0]);if(arguments.length>0){let t=Array(arguments.length);for(let T0=0;T0<arguments.length;++T0)t[T0]=arguments[T0];return L0(t)}throw TypeError("Cannot call a class as a function")}if(_0.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),O=(F?Boolean(G.capture):Boolean(G))?b:g,D={listener:T0,listenerType:O,passive:F&&Boolean(G.passive),once:F&&Boolean(G.once),next:null},R=V.get(t);if(R===void 0){V.set(t,D);return}let S=null;while(R!=null){if(R.listener===T0&&R.listenerType===O)return;S=R,R=R.next}S.next=D},removeEventListener(t,T0,G){if(T0==null)return;let V=d(this),F=(p(G)?Boolean(G.capture):Boolean(G))?b:g,O=null,D=V.get(t);while(D!=null){if(D.listener===T0&&D.listenerType===F){if(O!==null)O.next=D.next;else if(D.next!==null)V.set(t,D.next);else V.delete(t);return}O=D,D=D.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),O=null;while(V!=null){if(V.once)if(O!==null)O.next=V.next;else if(V.next!==null)T0.set(G,V.next);else T0.delete(G);else O=V;if(f(F,V.passive?V.listener:null),typeof V.listener==="function")try{V.listener.call(this,F)}catch(D){if(typeof console<"u"&&typeof console.error==="function")console.error(D)}else if(V.listenerType!==u&&typeof V.listener.handleEvent==="function")V.listener.handleEvent(F);if(q(F))break;V=V.next}return f(F,null),B(F,0),N(F,null),!F.defaultPrevented}},Object.defineProperty(_0.prototype,"constructor",{value:_0,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(_0.prototype,window.EventTarget.prototype);I.defineEventAttribute=D0,I.EventTarget=_0,I.default=_0,J.exports=_0,J.exports.EventTarget=J.exports.default=_0,J.exports.defineEventAttribute=D0}),tG=JU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Y=Xw();class z 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(z.prototype,"abort");function X(){let E=Object.create(z.prototype);return Y.EventTarget.call(E),Z.set(E,!1),E}function W(E){if(Z.get(E)!==!1)return;Z.set(E,!0),E.dispatchEvent({type:"abort"})}var Z=new WeakMap;if(Object.defineProperties(z.prototype,{aborted:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(z.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class L{constructor(){j.set(this,X())}get signal(){return _(this)}abort(){W(_(this))}}var j=new WeakMap;function _(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(L.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(L.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});I.AbortController=L,I.AbortSignal=z,I.default=L,J.exports=L,J.exports.AbortController=J.exports.default=L,J.exports.AbortSignal=z}),t6=JU((I,J)=>{var Y=(iU(),j$(oU)),{format:z,inspect:X}=jE(),{codes:{ERR_INVALID_ARG_TYPE:W}}=w6(),{kResistStopPropagation:Z,AggregateError:L,SymbolDispose:j}=yU(),_=globalThis.AbortSignal||tG().AbortSignal,E=globalThis.AbortController||tG().AbortController,C=Object.getPrototypeOf(async function(){}).constructor,q=globalThis.Blob||Y.Blob,B=typeof q<"u"?function(w){return w instanceof q}:function(w){return!1},N=(w,b)=>{if(w!==void 0&&(w===null||typeof w!=="object"||!("aborted"in w)))throw new W(b,"AbortSignal",w)},f=(w,b)=>{if(typeof w!=="function")throw new W(b,"Function",w)};J.exports={AggregateError:L,kEmptyObject:Object.freeze({}),once(w){let b=!1;return function(...g){if(b)return;b=!0,w.apply(this,g)}},createDeferredPromise:function(){let w,b;return{promise:new Promise((g,u)=>{w=g,b=u}),resolve:w,reject:b}},promisify(w){return new Promise((b,g)=>{w((u,...p)=>{if(u)return g(u);return b(...p)})})},debuglog(){return function(){}},format:z,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 W("signal","AbortSignal",w);N(w,"signal"),f(b,"listener");let g;if(w.aborted)queueMicrotask(()=>b());else w.addEventListener("abort",b,{__proto__:null,once:!0,[Z]:!0}),g=()=>{w.removeEventListener("abort",b)};return{__proto__:null,[j](){var u;(u=g)===null||u===void 0||u()}}},AbortSignalAny:_.any||function(w){if(w.length===1)return w[0];let b=new E,g=()=>b.abort();return w.forEach((u)=>{N(u,"signals"),u.addEventListener("abort",g,{once:!0})}),b.signal.addEventListener("abort",()=>{w.forEach((u)=>u.removeEventListener("abort",g))},{once:!0}),b.signal}},J.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),aG=JU((I,J)=>{var{ArrayIsArray:Y,ArrayPrototypeIncludes:z,ArrayPrototypeJoin:X,ArrayPrototypeMap:W,NumberIsInteger:Z,NumberIsNaN:L,NumberMAX_SAFE_INTEGER:j,NumberMIN_SAFE_INTEGER:_,NumberParseInt:E,ObjectPrototypeHasOwnProperty:C,RegExpPrototypeExec:q,String:B,StringPrototypeToUpperCase:N,StringPrototypeTrim:f}=yU(),{hideStackFrames:w,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:g,ERR_INVALID_ARG_VALUE:u,ERR_OUT_OF_RANGE:p,ERR_UNKNOWN_SIGNAL:d}}=w6(),{normalizeEncoding:a}=t6(),{isAsyncFunction:D0,isArrayBufferView:L0}=t6().types,_0={};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,z0,I$){if(typeof I0>"u")I0=I$;if(typeof I0==="string"){if(q(G,I0)===null)throw new u(z0,I0,V);I0=E(I0,8)}return R(I0,z0),I0}var O=w((I0,z0,I$=_,M0=j)=>{if(typeof I0!=="number")throw new g(z0,"number",I0);if(!Z(I0))throw new p(z0,"an integer",I0);if(I0<I$||I0>M0)throw new p(z0,`>= ${I$} && <= ${M0}`,I0)}),D=w((I0,z0,I$=-2147483648,M0=2147483647)=>{if(typeof I0!=="number")throw new g(z0,"number",I0);if(!Z(I0))throw new p(z0,"an integer",I0);if(I0<I$||I0>M0)throw new p(z0,`>= ${I$} && <= ${M0}`,I0)}),R=w((I0,z0,I$=!1)=>{if(typeof I0!=="number")throw new g(z0,"number",I0);if(!Z(I0))throw new p(z0,"an integer",I0);let M0=I$?1:0,B0=4294967295;if(I0<M0||I0>B0)throw new p(z0,`>= ${M0} && <= ${B0}`,I0)});function S(I0,z0){if(typeof I0!=="string")throw new g(z0,"string",I0)}function A(I0,z0,I$=void 0,M0){if(typeof I0!=="number")throw new g(z0,"number",I0);if(I$!=null&&I0<I$||M0!=null&&I0>M0||(I$!=null||M0!=null)&&L(I0))throw new p(z0,`${I$!=null?`>= ${I$}`:""}${I$!=null&&M0!=null?" && ":""}${M0!=null?`<= ${M0}`:""}`,I0)}var K=w((I0,z0,I$)=>{if(!z(I$,I0)){let M0="must be one of: "+X(W(I$,(B0)=>typeof B0==="string"?`'${B0}'`:B(B0)),", ");throw new u(z0,I0,M0)}});function T(I0,z0){if(typeof I0!=="boolean")throw new g(z0,"boolean",I0)}function x(I0,z0,I$){return I0==null||!C(I0,z0)?I$:I0[z0]}var v=w((I0,z0,I$=null)=>{let M0=x(I$,"allowArray",!1),B0=x(I$,"allowFunction",!1);if(!x(I$,"nullable",!1)&&I0===null||!M0&&Y(I0)||typeof I0!=="object"&&(!B0||typeof I0!=="function"))throw new g(z0,"Object",I0)}),c=w((I0,z0)=>{if(I0!=null&&typeof I0!=="object"&&typeof I0!=="function")throw new g(z0,"a dictionary",I0)}),r=w((I0,z0,I$=0)=>{if(!Y(I0))throw new g(z0,"Array",I0);if(I0.length<I$){let M0=`must be longer than ${I$}`;throw new u(z0,I0,M0)}});function U0(I0,z0){r(I0,z0);for(let I$=0;I$<I0.length;I$++)S(I0[I$],`${z0}[${I$}]`)}function W0(I0,z0){r(I0,z0);for(let I$=0;I$<I0.length;I$++)T(I0[I$],`${z0}[${I$}]`)}function Q0(I0,z0){r(I0,z0);for(let I$=0;I$<I0.length;I$++){let M0=I0[I$],B0=`${z0}[${I$}]`;if(M0==null)throw new g(B0,"AbortSignal",M0);A0(M0,B0)}}function s(I0,z0="signal"){if(S(I0,z0),_0[I0]===void 0){if(_0[N(I0)]!==void 0)throw new d(I0+" (signals must use all capital letters)");throw new d(I0)}}var e=w((I0,z0="buffer")=>{if(!L0(I0))throw new g(z0,["Buffer","TypedArray","DataView"],I0)});function J0(I0,z0){let I$=a(z0),M0=I0.length;if(I$==="hex"&&M0%2!==0)throw new u("encoding",z0,`is invalid for data of length ${M0}`)}function Z0(I0,z0="Port",I$=!0){if(typeof I0!=="number"&&typeof I0!=="string"||typeof I0==="string"&&f(I0).length===0||+I0!==+I0>>>0||I0>65535||I0===0&&!I$)throw new b(z0,I0,I$);return I0|0}var A0=w((I0,z0)=>{if(I0!==void 0&&(I0===null||typeof I0!=="object"||!("aborted"in I0)))throw new g(z0,"AbortSignal",I0)}),$0=w((I0,z0)=>{if(typeof I0!=="function")throw new g(z0,"Function",I0)}),h=w((I0,z0)=>{if(typeof I0!=="function"||D0(I0))throw new g(z0,"Function",I0)}),n=w((I0,z0)=>{if(I0!==void 0)throw new g(z0,"undefined",I0)});function F0(I0,z0,I$){if(!z(I$,I0))throw new g(z0,`('${X(I$,"|")}')`,I0)}var Y0=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function O0(I0,z0){if(typeof I0>"u"||!q(Y0,I0))throw new u(z0,I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function N0(I0){if(typeof I0==="string")return O0(I0,"hints"),I0;else if(Y(I0)){let z0=I0.length,I$="";if(z0===0)return I$;for(let M0=0;M0<z0;M0++){let B0=I0[M0];if(O0(B0,"hints"),I$+=B0,M0!==z0-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:W0,validateAbortSignalArray:Q0,validateBoolean:T,validateBuffer:e,validateDictionary:c,validateEncoding:J0,validateFunction:$0,validateInt32:D,validateInteger:O,validateNumber:A,validateObject:v,validateOneOf:K,validatePlainFunction:h,validatePort:Z0,validateSignalName:s,validateString:S,validateUint32:R,validateUndefined:n,validateUnion:F0,validateAbortSignal:A0,validateLinkHeaderValue:N0}}),YJ=JU((I,J)=>{J.exports=globalThis.process}),KI=JU((I,J)=>{var{SymbolAsyncIterator:Y,SymbolIterator:z,SymbolFor:X}=yU(),W=X("nodejs.stream.destroyed"),Z=X("nodejs.stream.errored"),L=X("nodejs.stream.readable"),j=X("nodejs.stream.writable"),_=X("nodejs.stream.disturbed"),E=X("nodejs.webstream.isClosedPromise"),C=X("nodejs.webstream.controllerErrorFunction");function q(x,v=!1){var c;return!!(x&&typeof x.pipe==="function"&&typeof x.on==="function"&&(!v||typeof x.pause==="function"&&typeof x.resume==="function")&&(!x._writableState||((c=x._readableState)===null||c===void 0?void 0:c.readable)!==!1)&&(!x._writableState||x._readableState))}function B(x){var v;return!!(x&&typeof x.write==="function"&&typeof x.on==="function"&&(!x._readableState||((v=x._writableState)===null||v===void 0?void 0:v.writable)!==!1))}function N(x){return!!(x&&typeof x.pipe==="function"&&x._readableState&&typeof x.on==="function"&&typeof x.write==="function")}function f(x){return x&&(x._readableState||x._writableState||typeof x.write==="function"&&typeof x.on==="function"||typeof x.pipe==="function"&&typeof x.on==="function")}function w(x){return!!(x&&!f(x)&&typeof x.pipeThrough==="function"&&typeof x.getReader==="function"&&typeof x.cancel==="function")}function b(x){return!!(x&&!f(x)&&typeof x.getWriter==="function"&&typeof x.abort==="function")}function g(x){return!!(x&&!f(x)&&typeof x.readable==="object"&&typeof x.writable==="object")}function u(x){return w(x)||b(x)||g(x)}function p(x,v){if(x==null)return!1;if(v===!0)return typeof x[Y]==="function";if(v===!1)return typeof x[z]==="function";return typeof x[Y]==="function"||typeof x[z]==="function"}function d(x){if(!f(x))return null;let{_writableState:v,_readableState:c}=x,r=v||c;return!!(x.destroyed||x[W]||r!==null&&r!==void 0&&r.destroyed)}function a(x){if(!B(x))return null;if(x.writableEnded===!0)return!0;let v=x._writableState;if(v!==null&&v!==void 0&&v.errored)return!1;if(typeof(v===null||v===void 0?void 0:v.ended)!=="boolean")return null;return v.ended}function D0(x,v){if(!B(x))return null;if(x.writableFinished===!0)return!0;let c=x._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||v===!1&&c.ended===!0&&c.length===0)}function L0(x){if(!q(x))return null;if(x.readableEnded===!0)return!0;let v=x._readableState;if(!v||v.errored)return!1;if(typeof(v===null||v===void 0?void 0:v.ended)!=="boolean")return null;return v.ended}function _0(x,v){if(!q(x))return null;let c=x._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||v===!1&&c.ended===!0&&c.length===0)}function t(x){if(x&&x[L]!=null)return x[L];if(typeof(x===null||x===void 0?void 0:x.readable)!=="boolean")return null;if(d(x))return!1;return q(x)&&x.readable&&!_0(x)}function T0(x){if(x&&x[j]!=null)return x[j];if(typeof(x===null||x===void 0?void 0:x.writable)!=="boolean")return null;if(d(x))return!1;return B(x)&&x.writable&&!a(x)}function G(x,v){if(!f(x))return null;if(d(x))return!0;if((v===null||v===void 0?void 0:v.readable)!==!1&&t(x))return!1;if((v===null||v===void 0?void 0:v.writable)!==!1&&T0(x))return!1;return!0}function V(x){var v,c;if(!f(x))return null;if(x.writableErrored)return x.writableErrored;return(v=(c=x._writableState)===null||c===void 0?void 0:c.errored)!==null&&v!==void 0?v:null}function F(x){var v,c;if(!f(x))return null;if(x.readableErrored)return x.readableErrored;return(v=(c=x._readableState)===null||c===void 0?void 0:c.errored)!==null&&v!==void 0?v:null}function O(x){if(!f(x))return null;if(typeof x.closed==="boolean")return x.closed;let{_writableState:v,_readableState:c}=x;if(typeof(v===null||v===void 0?void 0:v.closed)==="boolean"||typeof(c===null||c===void 0?void 0:c.closed)==="boolean")return(v===null||v===void 0?void 0:v.closed)||(c===null||c===void 0?void 0:c.closed);if(typeof x._closed==="boolean"&&D(x))return x._closed;return null}function D(x){return typeof x._closed==="boolean"&&typeof x._defaultKeepAlive==="boolean"&&typeof x._removedConnection==="boolean"&&typeof x._removedContLen==="boolean"}function R(x){return typeof x._sent100==="boolean"&&D(x)}function S(x){var v;return typeof x._consuming==="boolean"&&typeof x._dumped==="boolean"&&((v=x.req)===null||v===void 0?void 0:v.upgradeOrConnect)===void 0}function A(x){if(!f(x))return null;let{_writableState:v,_readableState:c}=x,r=v||c;return!r&&R(x)||!!(r&&r.autoDestroy&&r.emitClose&&r.closed===!1)}function K(x){var v;return!!(x&&((v=x[_])!==null&&v!==void 0?v:x.readableDidRead||x.readableAborted))}function T(x){var v,c,r,U0,W0,Q0,s,e,J0,Z0;return!!(x&&((v=(c=(r=(U0=(W0=(Q0=x[Z])!==null&&Q0!==void 0?Q0:x.readableErrored)!==null&&W0!==void 0?W0:x.writableErrored)!==null&&U0!==void 0?U0:(s=x._readableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&r!==void 0?r:(e=x._writableState)===null||e===void 0?void 0:e.errorEmitted)!==null&&c!==void 0?c:(J0=x._readableState)===null||J0===void 0?void 0:J0.errored)!==null&&v!==void 0?v:(Z0=x._writableState)===null||Z0===void 0?void 0:Z0.errored))}J.exports={isDestroyed:d,kIsDestroyed:W,isDisturbed:K,kIsDisturbed:_,isErrored:T,kIsErrored:Z,isReadable:t,kIsReadable:L,kIsClosedPromise:E,kControllerErrorFunction:C,kIsWritable:j,isClosed:O,isDuplexNodeStream:N,isFinished:G,isIterable:p,isReadableNodeStream:q,isReadableStream:w,isReadableEnded:L0,isReadableFinished:_0,isReadableErrored:F,isNodeStream:f,isWebStream:u,isWritable:T0,isWritableNodeStream:B,isWritableStream:b,isWritableEnded:a,isWritableFinished:D0,isWritableErrored:V,isServerRequest:S,isServerResponse:R,willEmitClose:A,isTransformStream:g}}),XX=JU((I,J)=>{var Y=YJ(),{AbortError:z,codes:X}=w6(),{ERR_INVALID_ARG_TYPE:W,ERR_STREAM_PREMATURE_CLOSE:Z}=X,{kEmptyObject:L,once:j}=t6(),{validateAbortSignal:_,validateFunction:E,validateObject:C,validateBoolean:q}=aG(),{Promise:B,PromisePrototypeThen:N,SymbolDispose:f}=yU(),{isClosed:w,isReadable:b,isReadableNodeStream:g,isReadableStream:u,isReadableFinished:p,isReadableErrored:d,isWritable:a,isWritableNodeStream:D0,isWritableStream:L0,isWritableFinished:_0,isWritableErrored:t,isNodeStream:T0,willEmitClose:G,kIsClosedPromise:V}=KI(),F;function O(K){return K.setHeader&&typeof K.abort==="function"}var D=()=>{};function R(K,T,x){var v,c;if(arguments.length===2)x=T,T=L;else if(T==null)T=L;else C(T,"options");if(E(x,"callback"),_(T.signal,"options.signal"),x=j(x),u(K)||L0(K))return S(K,T,x);if(!T0(K))throw new W("stream",["ReadableStream","WritableStream","Stream"],K);let r=(v=T.readable)!==null&&v!==void 0?v:g(K),U0=(c=T.writable)!==null&&c!==void 0?c:D0(K),W0=K._writableState,Q0=K._readableState,s=()=>{if(!K.writable)Z0()},e=G(K)&&g(K)===r&&D0(K)===U0,J0=_0(K,!1),Z0=()=>{if(J0=!0,K.destroyed)e=!1;if(e&&(!K.readable||r))return;if(!r||A0)x.call(K)},A0=p(K,!1),$0=()=>{if(A0=!0,K.destroyed)e=!1;if(e&&(!K.writable||U0))return;if(!U0||J0)x.call(K)},h=(I0)=>{x.call(K,I0)},n=w(K),F0=()=>{n=!0;let I0=t(K)||d(K);if(I0&&typeof I0!=="boolean")return x.call(K,I0);if(r&&!A0&&g(K,!0)){if(!p(K,!1))return x.call(K,new Z)}if(U0&&!J0){if(!_0(K,!1))return x.call(K,new Z)}x.call(K)},Y0=()=>{n=!0;let I0=t(K)||d(K);if(I0&&typeof I0!=="boolean")return x.call(K,I0);x.call(K)},O0=()=>{K.req.on("finish",Z0)};if(O(K)){if(K.on("complete",Z0),!e)K.on("abort",F0);if(K.req)O0();else K.on("request",O0)}else if(U0&&!W0)K.on("end",s),K.on("close",s);if(!e&&typeof K.aborted==="boolean")K.on("aborted",F0);if(K.on("end",$0),K.on("finish",Z0),T.error!==!1)K.on("error",h);if(K.on("close",F0),n)Y.nextTick(F0);else if(W0!==null&&W0!==void 0&&W0.errorEmitted||Q0!==null&&Q0!==void 0&&Q0.errorEmitted){if(!e)Y.nextTick(Y0)}else if(!r&&(!e||b(K))&&(J0||a(K)===!1))Y.nextTick(Y0);else if(!U0&&(!e||a(K))&&(A0||b(K)===!1))Y.nextTick(Y0);else if(Q0&&K.req&&K.aborted)Y.nextTick(Y0);let N0=()=>{if(x=D,K.removeListener("aborted",F0),K.removeListener("complete",Z0),K.removeListener("abort",F0),K.removeListener("request",O0),K.req)K.req.removeListener("finish",Z0);K.removeListener("end",s),K.removeListener("close",s),K.removeListener("finish",Z0),K.removeListener("end",$0),K.removeListener("error",h),K.removeListener("close",F0)};if(T.signal&&!n){let I0=()=>{let z0=x;N0(),z0.call(K,new z(void 0,{cause:T.signal.reason}))};if(T.signal.aborted)Y.nextTick(I0);else{F=F||t6().addAbortListener;let z0=F(T.signal,I0),I$=x;x=j((...M0)=>{z0[f](),I$.apply(K,M0)})}}return N0}function S(K,T,x){let v=!1,c=D;if(T.signal)if(c=()=>{v=!0,x.call(K,new z(void 0,{cause:T.signal.reason}))},T.signal.aborted)Y.nextTick(c);else{F=F||t6().addAbortListener;let U0=F(T.signal,c),W0=x;x=j((...Q0)=>{U0[f](),W0.apply(K,Q0)})}let r=(...U0)=>{if(!v)Y.nextTick(()=>x.apply(K,U0))};return N(K[V].promise,r,r),D}function A(K,T){var x;let v=!1;if(T===null)T=L;if((x=T)!==null&&x!==void 0&&x.cleanup)q(T.cleanup,"cleanup"),v=T.cleanup;return new B((c,r)=>{let U0=R(K,T,(W0)=>{if(v)U0();if(W0)r(W0);else c()})})}J.exports=R,J.exports.finished=A}),vQ=JU((I,J)=>{var Y=YJ(),{aggregateTwoErrors:z,codes:{ERR_MULTIPLE_CALLBACK:X},AbortError:W}=w6(),{Symbol:Z}=yU(),{kIsDestroyed:L,isDestroyed:j,isFinished:_,isServerRequest:E}=KI(),C=Z("kDestroy"),q=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 N(G,V){let F=this._readableState,O=this._writableState,D=O||F;if(O!==null&&O!==void 0&&O.destroyed||F!==null&&F!==void 0&&F.destroyed){if(typeof V==="function")V();return this}if(B(G,O,F),O)O.destroyed=!0;if(F)F.destroyed=!0;if(!D.constructed)this.once(C,function(R){f(this,z(R,G),V)});else f(this,G,V);return this}function f(G,V,F){let O=!1;function D(R){if(O)return;O=!0;let{_readableState:S,_writableState:A}=G;if(B(R,A,S),A)A.closed=!0;if(S)S.closed=!0;if(typeof F==="function")F(R);if(R)Y.nextTick(w,G,R);else Y.nextTick(b,G)}try{G._destroy(V||null,D)}catch(R){D(R)}}function w(G,V){g(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 g(G,V){let{_readableState:F,_writableState:O}=G;if(O!==null&&O!==void 0&&O.errorEmitted||F!==null&&F!==void 0&&F.errorEmitted)return;if(O)O.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:O,_writableState:D}=G;if(D!==null&&D!==void 0&&D.destroyed||O!==null&&O!==void 0&&O.destroyed)return this;if(O!==null&&O!==void 0&&O.autoDestroy||D!==null&&D!==void 0&&D.autoDestroy)G.destroy(V);else if(V){if(V.stack,D&&!D.errored)D.errored=V;if(O&&!O.errored)O.errored=V;if(F)Y.nextTick(g,G,V);else g(G,V)}}function d(G,V){if(typeof G._construct!=="function")return;let{_readableState:F,_writableState:O}=G;if(F)F.constructed=!1;if(O)O.constructed=!1;if(G.once(q,V),G.listenerCount(q)>1)return;Y.nextTick(a,G)}function a(G){let V=!1;function F(O){if(V){p(G,O!==null&&O!==void 0?O:new X);return}V=!0;let{_readableState:D,_writableState:R}=G,S=R||D;if(D)D.constructed=!0;if(R)R.constructed=!0;if(S.destroyed)G.emit(C,O);else if(O)p(G,O,!0);else Y.nextTick(D0,G)}try{G._construct((O)=>{Y.nextTick(F,O)})}catch(O){Y.nextTick(F,O)}}function D0(G){G.emit(q)}function L0(G){return(G===null||G===void 0?void 0:G.setHeader)&&typeof G.abort==="function"}function _0(G){G.emit("close")}function t(G,V){G.emit("error",V),Y.nextTick(_0,G)}function T0(G,V){if(!G||j(G))return;if(!V&&!_(G))V=new W;if(E(G))G.socket=null,G.destroy(V);else if(L0(G))G.abort();else if(L0(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(_0,G);if(!G.destroyed)G[L]=!0}J.exports={construct:d,destroyer:T0,destroy:N,undestroy:u,errorOrDestroy:p}}),XH=JU((I,J)=>{var{ArrayIsArray:Y,ObjectSetPrototypeOf:z}=yU(),{EventEmitter:X}=(BQ(),j$(jQ));function W(L){X.call(this,L)}z(W.prototype,X.prototype),z(W,X),W.prototype.pipe=function(L,j){let _=this;function E(b){if(L.writable&&L.write(b)===!1&&_.pause)_.pause()}_.on("data",E);function C(){if(_.readable&&_.resume)_.resume()}if(L.on("drain",C),!L._isStdio&&(!j||j.end!==!1))_.on("end",B),_.on("close",N);let q=!1;function B(){if(q)return;q=!0,L.end()}function N(){if(q)return;if(q=!0,typeof L.destroy==="function")L.destroy()}function f(b){if(w(),X.listenerCount(this,"error")===0)this.emit("error",b)}Z(_,"error",f),Z(L,"error",f);function w(){_.removeListener("data",E),L.removeListener("drain",C),_.removeListener("end",B),_.removeListener("close",N),_.removeListener("error",f),L.removeListener("error",f),_.removeListener("end",w),_.removeListener("close",w),L.removeListener("close",w)}return _.on("end",w),_.on("close",w),L.on("close",w),L.emit("pipe",_),L};function Z(L,j,_){if(typeof L.prependListener==="function")return L.prependListener(j,_);if(!L._events||!L._events[j])L.on(j,_);else if(Y(L._events[j]))L._events[j].unshift(_);else L._events[j]=[_,L._events[j]]}J.exports={Stream:W,prependListener:Z}}),VK=JU((I,J)=>{var{SymbolDispose:Y}=yU(),{AbortError:z,codes:X}=w6(),{isNodeStream:W,isWebStream:Z,kControllerErrorFunction:L}=KI(),j=XX(),{ERR_INVALID_ARG_TYPE:_}=X,E,C=(q,B)=>{if(typeof q!=="object"||!("aborted"in q))throw new _(B,"AbortSignal",q)};J.exports.addAbortSignal=function(q,B){if(C(q,"signal"),!W(B)&&!Z(B))throw new _("stream",["ReadableStream","WritableStream","Stream"],B);return J.exports.addAbortSignalNoValidate(q,B)},J.exports.addAbortSignalNoValidate=function(q,B){if(typeof q!=="object"||!("aborted"in q))return B;let N=W(B)?()=>{B.destroy(new z(void 0,{cause:q.reason}))}:()=>{B[L](new z(void 0,{cause:q.reason}))};if(q.aborted)N();else{E=E||t6().addAbortListener;let f=E(q,N);j(B,f[Y])}return B}}),Jw=JU((I,J)=>{var{StringPrototypeSlice:Y,SymbolIterator:z,TypedArrayPrototypeSet:X,Uint8Array:W}=yU(),{Buffer:Z}=(iU(),j$(oU)),{inspect:L}=t6();J.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(j){let _={data:j,next:null};if(this.length>0)this.tail.next=_;else this.head=_;this.tail=_,++this.length}unshift(j){let _={data:j,next:this.head};if(this.length===0)this.tail=_;this.head=_,++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 _=this.head,E=""+_.data;while((_=_.next)!==null)E+=j+_.data;return E}concat(j){if(this.length===0)return Z.alloc(0);let _=Z.allocUnsafe(j>>>0),E=this.head,C=0;while(E)X(_,E.data,C),C+=E.data.length,E=E.next;return _}consume(j,_){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 _?this._getString(j):this._getBuffer(j)}first(){return this.head.data}*[z](){for(let j=this.head;j;j=j.next)yield j.data}_getString(j){let _="",E=this.head,C=0;do{let q=E.data;if(j>q.length)_+=q,j-=q.length;else{if(j===q.length)if(_+=q,++C,E.next)this.head=E.next;else this.head=this.tail=null;else _+=Y(q,0,j),this.head=E,E.data=Y(q,j);break}++C}while((E=E.next)!==null);return this.length-=C,_}_getBuffer(j){let _=Z.allocUnsafe(j),E=j,C=this.head,q=0;do{let B=C.data;if(j>B.length)X(_,B,E-j),j-=B.length;else{if(j===B.length)if(X(_,B,E-j),++q,C.next)this.head=C.next;else this.head=this.tail=null;else X(_,new W(B.buffer,B.byteOffset,j),E-j),this.head=C,C.data=B.slice(j);break}++q}while((C=C.next)!==null);return this.length-=q,_}[Symbol.for("nodejs.util.inspect.custom")](j,_){return L(this,{..._,depth:0,customInspect:!1})}}}),HK=JU((I,J)=>{var{MathFloor:Y,NumberIsInteger:z}=yU(),{validateInteger:X}=aG(),{ERR_INVALID_ARG_VALUE:W}=w6().codes,Z=16384,L=16;function j(q,B,N){return q.highWaterMark!=null?q.highWaterMark:B?q[N]:null}function _(q){return q?L:Z}function E(q,B){if(X(B,"value",0),q)L=B;else Z=B}function C(q,B,N,f){let w=j(B,f,N);if(w!=null){if(!z(w)||w<0){let b=f?`options.${N}`:"options.highWaterMark";throw new W(b,w)}return Y(w)}return _(q.objectMode)}J.exports={getHighWaterMark:C,getDefaultHighWaterMark:_,setDefaultHighWaterMark:E}}),Qw=JU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(iU(),j$(oU)),z=Y.Buffer;function X(Z,L){for(var j in Z)L[j]=Z[j]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=W;function W(Z,L,j){return z(Z,L,j)}W.prototype=Object.create(z.prototype),X(z,W),W.from=function(Z,L,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return z(Z,L,j)},W.alloc=function(Z,L,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var _=z(Z);if(L!==void 0)if(typeof j==="string")_.fill(L,j);else _.fill(L);else _.fill(0);return _},W.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return z(Z)},W.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),Yw=JU((I)=>{var J=Qw().Buffer,Y=J.isEncoding||function(g){switch(g=""+g,g&&g.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 z(g){if(!g)return"utf8";var u;while(!0)switch(g){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 g;default:if(u)return;g=(""+g).toLowerCase(),u=!0}}function X(g){var u=z(g);if(typeof u!=="string"&&(J.isEncoding===Y||!Y(g)))throw Error("Unknown encoding: "+g);return u||g}I.StringDecoder=W;function W(g){this.encoding=X(g);var u;switch(this.encoding){case"utf16le":this.text=q,this.end=B,u=4;break;case"utf8":this.fillLast=_,u=4;break;case"base64":this.text=N,this.end=f,u=3;break;default:this.write=w,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(u)}W.prototype.write=function(g){if(g.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(g),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<g.length)return u?u+this.text(g,p):this.text(g,p);return u||""},W.prototype.end=C,W.prototype.text=E,W.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function Z(g){if(g<=127)return 0;else if(g>>5===6)return 2;else if(g>>4===14)return 3;else if(g>>3===30)return 4;return g>>6===2?-1:-2}function L(g,u,p){var d=u.length-1;if(d<p)return 0;var a=Z(u[d]);if(a>=0){if(a>0)g.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)g.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 g.lastNeed=a-3;return a}return 0}function j(g,u,p){if((u[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return g.lastNeed=2,"�"}}}function _(g){var u=this.lastTotal-this.lastNeed,p=j(this,g,u);if(p!==void 0)return p;if(this.lastNeed<=g.length)return g.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,u,0,g.length),this.lastNeed-=g.length}function E(g,u){var p=L(this,g,u);if(!this.lastNeed)return g.toString("utf8",u);this.lastTotal=p;var d=g.length-(p-this.lastNeed);return g.copy(this.lastChar,0,d),g.toString("utf8",u,d)}function C(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+"�";return u}function q(g,u){if((g.length-u)%2===0){var p=g.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]=g[g.length-2],this.lastChar[1]=g[g.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",u,g.length-1)}function B(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function N(g,u){var p=(g.length-u)%3;if(p===0)return g.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=g[g.length-1];else this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1];return g.toString("base64",u,g.length-p)}function f(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(g){return g.toString(this.encoding)}function b(g){return g&&g.length?this.write(g):""}}),BE=JU((I,J)=>{var Y=YJ(),{PromisePrototypeThen:z,SymbolAsyncIterator:X,SymbolIterator:W}=yU(),{Buffer:Z}=(iU(),j$(oU)),{ERR_INVALID_ARG_TYPE:L,ERR_STREAM_NULL_VALUES:j}=w6().codes;function _(E,C,q){let B;if(typeof C==="string"||C instanceof Z)return new E({objectMode:!0,...q,read(){this.push(C),this.push(null)}});let N;if(C&&C[X])N=!0,B=C[X]();else if(C&&C[W])N=!1,B=C[W]();else throw new L("iterable",["Iterable"],C);let f=new E({objectMode:!0,highWaterMark:1,...q}),w=!1;f._read=function(){if(!w)w=!0,g()},f._destroy=function(u,p){z(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:D0}=await B.throw(u);if(await a,D0)return}if(typeof B.return==="function"){let{value:a}=await B.return();await a}}async function g(){for(;;){try{let{value:u,done:p}=N?await B.next():B.next();if(p)f.push(null);else{let d=u&&typeof u.then==="function"?await u:u;if(d===null)throw w=!1,new j;else if(f.push(d))continue;else w=!1}}catch(u){f.destroy(u)}break}}return f}J.exports=_}),DK=JU((I,J)=>{var Y=YJ(),{ArrayPrototypeIndexOf:z,NumberIsInteger:X,NumberIsNaN:W,NumberParseInt:Z,ObjectDefineProperties:L,ObjectKeys:j,ObjectSetPrototypeOf:_,Promise:E,SafeSet:C,SymbolAsyncDispose:q,SymbolAsyncIterator:B,Symbol:N}=yU();J.exports=M0,M0.ReadableState=I$;var{EventEmitter:f}=(BQ(),j$(jQ)),{Stream:w,prependListener:b}=XH(),{Buffer:g}=(iU(),j$(oU)),{addAbortSignal:u}=VK(),p=XX(),d=t6().debuglog("stream",(i)=>{d=i}),a=Jw(),D0=vQ(),{getHighWaterMark:L0,getDefaultHighWaterMark:_0}=HK(),{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:O},AbortError:D}=w6(),{validateObject:R}=aG(),S=N("kPaused"),{StringDecoder:A}=Yw(),K=BE();_(M0.prototype,w.prototype),_(M0,w);var T=()=>{},{errorOrDestroy:x}=D0,v=1,c=2,r=4,U0=8,W0=16,Q0=32,s=64,e=128,J0=256,Z0=512,A0=1024,$0=2048,h=4096,n=8192,F0=16384,Y0=32768,O0=65536,N0=131072,I0=262144;function z0(i){return{enumerable:!1,get(){return(this.state&i)!==0},set(G0){if(G0)this.state|=i;else this.state&=~i}}}L(I$.prototype,{objectMode:z0(v),ended:z0(c),endEmitted:z0(r),reading:z0(U0),constructed:z0(W0),sync:z0(Q0),needReadable:z0(s),emittedReadable:z0(e),readableListening:z0(J0),resumeScheduled:z0(Z0),errorEmitted:z0(A0),emitClose:z0($0),autoDestroy:z0(h),destroyed:z0(n),closed:z0(F0),closeEmitted:z0(Y0),multiAwaitDrain:z0(O0),readingMore:z0(N0),dataEmitted:z0(I0)});function I$(i,G0,q0){if(typeof q0!=="boolean")q0=G0 instanceof ZI();if(this.state=$0|h|W0|Q0,i&&i.objectMode)this.state|=v;if(q0&&i&&i.readableObjectMode)this.state|=v;if(this.highWaterMark=i?L0(this,i,"readableHighWaterMark",q0):_0(!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 M0(i){if(!(this instanceof M0))return new M0(i);let G0=this instanceof ZI();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),D0.construct(this,()=>{if(this._readableState.needReadable)t0(this,this._readableState)})}M0.prototype.destroy=D0.destroy,M0.prototype._undestroy=D0.undestroy,M0.prototype._destroy=function(i,G0){G0(i)},M0.prototype[f.captureRejectionSymbol]=function(i){this.destroy(i)},M0.prototype[q]=function(){let i;if(!this.destroyed)i=this.readableEnded?null:new D,this.destroy(i);return new E((G0,q0)=>p(this,(E0)=>E0&&E0!==i?q0(E0):G0(null)))},M0.prototype.push=function(i,G0){return B0(this,i,G0,!1)},M0.prototype.unshift=function(i,G0){return B0(this,i,G0,!0)};function B0(i,G0,q0,E0){d("readableAddChunk",G0);let W$=i._readableState,n0;if((W$.state&v)===0){if(typeof G0==="string"){if(q0=q0||W$.defaultEncoding,W$.encoding!==q0)if(E0&&W$.encoding)G0=g.from(G0,q0).toString(W$.encoding);else G0=g.from(G0,q0),q0=""}else if(G0 instanceof g)q0="";else if(w._isUint8Array(G0))G0=w._uint8ArrayToBuffer(G0),q0="";else if(G0!=null)n0=new T0("chunk",["string","Buffer","Uint8Array"],G0)}if(n0)x(i,n0);else if(G0===null)W$.state&=~U0,c0(i,W$);else if((W$.state&v)!==0||G0&&G0.length>0)if(E0)if((W$.state&r)!==0)x(i,new O);else if(W$.destroyed||W$.errored)return!1;else M$(i,W$,G0,!0);else if(W$.ended)x(i,new F);else if(W$.destroyed||W$.errored)return!1;else if(W$.state&=~U0,W$.decoder&&!q0)if(G0=W$.decoder.write(G0),W$.objectMode||G0.length!==0)M$(i,W$,G0,!1);else t0(i,W$);else M$(i,W$,G0,!1);else if(!E0)W$.state&=~U0,t0(i,W$);return!W$.ended&&(W$.length<W$.highWaterMark||W$.length===0)}function M$(i,G0,q0,E0){if(G0.flowing&&G0.length===0&&!G0.sync&&i.listenerCount("data")>0){if((G0.state&O0)!==0)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;G0.dataEmitted=!0,i.emit("data",q0)}else{if(G0.length+=G0.objectMode?1:q0.length,E0)G0.buffer.unshift(q0);else G0.buffer.push(q0);if((G0.state&s)!==0)h0(i)}t0(i,G0)}M0.prototype.isPaused=function(){let i=this._readableState;return i[S]===!0||i.flowing===!1},M0.prototype.setEncoding=function(i){let G0=new A(i);this._readableState.decoder=G0,this._readableState.encoding=this._readableState.decoder.encoding;let q0=this._readableState.buffer,E0="";for(let W$ of q0)E0+=G0.write(W$);if(q0.clear(),E0!=="")q0.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 r$(i,G0){if(i<=0||G0.length===0&&G0.ended)return 0;if((G0.state&v)!==0)return 1;if(W(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}M0.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,q0=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=r$(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){x(this,n0)}if(G0.state&=~Q0,!G0.reading)i=r$(q0,G0)}let W$;if(i>0)W$=y0(i,G0);else W$=null;if(W$===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(q0!==i&&G0.ended)V$(this)}if(W$!==null&&!G0.errorEmitted&&!G0.closeEmitted)G0.dataEmitted=!0,this.emit("data",W$);return W$};function c0(i,G0){if(d("onEofChunk"),G0.ended)return;if(G0.decoder){let q0=G0.decoder.end();if(q0&&q0.length)G0.buffer.push(q0),G0.length+=G0.objectMode?1:q0.length}if(G0.ended=!0,G0.sync)h0(i);else G0.needReadable=!1,G0.emittedReadable=!0,YU(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(YU,i)}function YU(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,v0(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 q0=G0.length;if(d("maybeReadMore read 0"),i.read(0),q0===G0.length)break}G0.readingMore=!1}M0.prototype._read=function(i){throw new G("_read()")},M0.prototype.pipe=function(i,G0){let q0=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 W$=(!G0||G0.end!==!1)&&i!==Y.stdout&&i!==Y.stderr?a0:S$;if(E0.endEmitted)Y.nextTick(W$);else q0.once("end",W$);i.on("unpipe",n0);function n0(UU,d$){if(d("onunpipe"),UU===q0){if(d$&&d$.hasUnpiped===!1)d$.hasUnpiped=!0,U$()}}function a0(){d("onend"),i.end()}let LU,X$=!1;function U$(){if(d("cleanup"),i.removeListener("close",qU),i.removeListener("finish",B$),LU)i.removeListener("drain",LU);if(i.removeListener("error",$$),i.removeListener("unpipe",n0),q0.removeListener("end",a0),q0.removeListener("end",S$),q0.removeListener("data",J$),X$=!0,LU&&E0.awaitDrainWriters&&(!i._writableState||i._writableState.needDrain))LU()}function $U(){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);q0.pause()}if(!LU)LU=PU(q0,i),i.on("drain",LU)}q0.on("data",J$);function J$(UU){d("ondata");let d$=i.write(UU);if(d("dest.write",d$),d$===!1)$U()}function $$(UU){if(d("onerror",UU),S$(),i.removeListener("error",$$),i.listenerCount("error")===0){let d$=i._writableState||i._readableState;if(d$&&!d$.errorEmitted)x(i,UU);else i.emit("error",UU)}}b(i,"error",$$);function qU(){i.removeListener("finish",B$),S$()}i.once("close",qU);function B$(){d("onfinish"),i.removeListener("close",qU),S$()}i.once("finish",B$);function S$(){d("unpipe"),q0.unpipe(i)}if(i.emit("pipe",q0),i.writableNeedDrain===!0)$U();else if(!E0.flowing)d("pipe resume"),q0.resume();return i};function PU(i,G0){return function(){let q0=i._readableState;if(q0.awaitDrainWriters===G0)d("pipeOnDrain",1),q0.awaitDrainWriters=null;else if(q0.multiAwaitDrain)d("pipeOnDrain",q0.awaitDrainWriters.size),q0.awaitDrainWriters.delete(G0);if((!q0.awaitDrainWriters||q0.awaitDrainWriters.size===0)&&i.listenerCount("data"))i.resume()}}M0.prototype.unpipe=function(i){let G0=this._readableState,q0={hasUnpiped:!1};if(G0.pipes.length===0)return this;if(!i){let W$=G0.pipes;G0.pipes=[],this.pause();for(let n0=0;n0<W$.length;n0++)W$[n0].emit("unpipe",this,{hasUnpiped:!1});return this}let E0=z(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,q0),this},M0.prototype.on=function(i,G0){let q0=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 q0},M0.prototype.addListener=M0.prototype.on,M0.prototype.removeListener=function(i,G0){let q0=w.prototype.removeListener.call(this,i,G0);if(i==="readable")Y.nextTick(m,this);return q0},M0.prototype.off=M0.prototype.removeListener,M0.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)}M0.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"),v0(i),G0.flowing&&!G0.reading)i.read(0)}M0.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 v0(i){let G0=i._readableState;d("flow",G0.flowing);while(G0.flowing&&i.read()!==null);}M0.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)=>{x(this,E0)}),i.on("close",()=>{this.destroy()}),i.on("destroy",()=>{this.destroy()}),this._read=()=>{if(G0&&i.resume)G0=!1,i.resume()};let q0=j(i);for(let E0=1;E0<q0.length;E0++){let W$=q0[E0];if(this[W$]===void 0&&typeof i[W$]==="function")this[W$]=i[W$].bind(i)}return this},M0.prototype[B]=function(){return F$(this)},M0.prototype.iterator=function(i){if(i!==void 0)R(i,"options");return F$(this,i)};function F$(i,G0){if(typeof i.read!=="function")i=M0.wrap(i,{objectMode:!0});let q0=x0(i,G0);return q0.stream=i,q0}async function*x0(i,G0){let q0=T;function E0(a0){if(this===i)q0(),q0=T;else q0=a0}i.on("readable",E0);let W$,n0=p(i,{writable:!1},(a0)=>{W$=a0?t(W$,a0):null,q0(),q0=T});try{while(!0){let a0=i.destroyed?null:i.read();if(a0!==null)yield a0;else if(W$)throw W$;else if(W$===null)return;else await new E(E0)}}catch(a0){throw W$=t(W$,a0),W$}finally{if((W$||(G0===null||G0===void 0?void 0:G0.destroyOnReturn)!==!1)&&(W$===void 0||i._readableState.autoDestroy))D0.destroyer(i,null);else i.off("readable",E0),n0()}}L(M0.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}}}),L(I$.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[S]!==!1},set(i){this[S]=!!i}}}),M0._fromList=y0;function y0(i,G0){if(G0.length===0)return null;let q0;if(G0.objectMode)q0=G0.buffer.shift();else if(!i||i>=G0.length){if(G0.decoder)q0=G0.buffer.join("");else if(G0.buffer.length===1)q0=G0.buffer.first();else q0=G0.buffer.concat(G0.length);G0.buffer.clear()}else q0=G0.buffer.consume(i,G0.decoder);return q0}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 q0=G0._writableState;if(!q0||q0.autoDestroy&&(q0.finished||q0.writable===!1))G0.destroy()}}}function r0(i){if(i.writable&&!i.writableEnded&&!i.destroyed)i.end()}M0.from=function(i,G0){return K(M0,i,G0)};var OU;function s0(){if(OU===void 0)OU={};return OU}M0.fromWeb=function(i,G0){return s0().newStreamReadableFromReadableStream(i,G0)},M0.toWeb=function(i,G0){return s0().newReadableStreamFromStreamReadable(i,G0)},M0.wrap=function(i,G0){var q0,E0;return new M0({objectMode:(q0=(E0=i.readableObjectMode)!==null&&E0!==void 0?E0:i.objectMode)!==null&&q0!==void 0?q0:!0,...G0,destroy(W$,n0){D0.destroyer(i,W$),n0(W$)}}).wrap(i)}}),JH=JU((I,J)=>{var Y=YJ(),{ArrayPrototypeSlice:z,Error:X,FunctionPrototypeSymbolHasInstance:W,ObjectDefineProperty:Z,ObjectDefineProperties:L,ObjectSetPrototypeOf:j,StringPrototypeToLowerCase:_,Symbol:E,SymbolHasInstance:C}=yU();J.exports=R,R.WritableState=O;var{EventEmitter:q}=(BQ(),j$(jQ)),B=XH().Stream,{Buffer:N}=(iU(),j$(oU)),f=vQ(),{addAbortSignal:w}=VK(),{getHighWaterMark:b,getDefaultHighWaterMark:g}=HK(),{ERR_INVALID_ARG_TYPE:u,ERR_METHOD_NOT_IMPLEMENTED:p,ERR_MULTIPLE_CALLBACK:d,ERR_STREAM_CANNOT_PIPE:a,ERR_STREAM_DESTROYED:D0,ERR_STREAM_ALREADY_FINISHED:L0,ERR_STREAM_NULL_VALUES:_0,ERR_STREAM_WRITE_AFTER_END:t,ERR_UNKNOWN_ENCODING:T0}=w6().codes,{errorOrDestroy:G}=f;j(R.prototype,B.prototype),j(R,B);function V(){}var F=E("kOnFinished");function O(h,n,F0){if(typeof F0!=="boolean")F0=n instanceof ZI();if(this.objectMode=!!(h&&h.objectMode),F0)this.objectMode=this.objectMode||!!(h&&h.writableObjectMode);this.highWaterMark=h?b(this,h,"writableHighWaterMark",F0):g(!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=x.bind(void 0,n),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,D(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 D(h){h.buffered=[],h.bufferedIndex=0,h.allBuffers=!0,h.allNoop=!0}O.prototype.getBuffer=function(){return z(this.buffered,this.bufferedIndex)},Z(O.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function R(h){let n=this instanceof ZI();if(!n&&!W(R,this))return new R(h);if(this._writableState=new O(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),f.construct(this,()=>{let F0=this._writableState;if(!F0.writing)U0(this,F0);e(this,F0)})}Z(R,C,{__proto__:null,value:function(h){if(W(this,h))return!0;if(this!==R)return!1;return h&&h._writableState instanceof O}}),R.prototype.pipe=function(){G(this,new a)};function S(h,n,F0,Y0){let O0=h._writableState;if(typeof F0==="function")Y0=F0,F0=O0.defaultEncoding;else{if(!F0)F0=O0.defaultEncoding;else if(F0!=="buffer"&&!N.isEncoding(F0))throw new T0(F0);if(typeof Y0!=="function")Y0=V}if(n===null)throw new _0;else if(!O0.objectMode)if(typeof n==="string"){if(O0.decodeStrings!==!1)n=N.from(n,F0),F0="buffer"}else if(n instanceof N)F0="buffer";else if(B._isUint8Array(n))n=B._uint8ArrayToBuffer(n),F0="buffer";else throw new u("chunk",["string","Buffer","Uint8Array"],n);let N0;if(O0.ending)N0=new t;else if(O0.destroyed)N0=new D0("write");if(N0)return Y.nextTick(Y0,N0),G(h,N0,!0),N0;return O0.pendingcb++,A(h,O0,n,F0,Y0)}R.prototype.write=function(h,n,F0){return S(this,h,n,F0)===!0},R.prototype.cork=function(){this._writableState.corked++},R.prototype.uncork=function(){let h=this._writableState;if(h.corked){if(h.corked--,!h.writing)U0(this,h)}},R.prototype.setDefaultEncoding=function(h){if(typeof h==="string")h=_(h);if(!N.isEncoding(h))throw new T0(h);return this._writableState.defaultEncoding=h,this};function A(h,n,F0,Y0,O0){let N0=n.objectMode?1:F0.length;n.length+=N0;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:O0}),n.allBuffers&&Y0!=="buffer")n.allBuffers=!1;if(n.allNoop&&O0!==V)n.allNoop=!1}else n.writelen=N0,n.writecb=O0,n.writing=!0,n.sync=!0,h._write(F0,Y0,n.onwrite),n.sync=!1;return I0&&!n.errored&&!n.destroyed}function K(h,n,F0,Y0,O0,N0,I0){if(n.writelen=Y0,n.writecb=I0,n.writing=!0,n.sync=!0,n.destroyed)n.onwrite(new D0("write"));else if(F0)h._writev(O0,n.onwrite);else h._write(O0,N0,n.onwrite);n.sync=!1}function T(h,n,F0,Y0){--n.pendingcb,Y0(F0),r(n),G(h,F0)}function x(h,n){let F0=h._writableState,Y0=F0.sync,O0=F0.writecb;if(typeof O0!=="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,O0);else T(h,F0,n,O0)}else{if(F0.buffered.length>F0.bufferedIndex)U0(h,F0);if(Y0)if(F0.afterWriteTickInfo!==null&&F0.afterWriteTickInfo.cb===O0)F0.afterWriteTickInfo.count++;else F0.afterWriteTickInfo={count:1,cb:O0,stream:h,state:F0},Y.nextTick(v,F0.afterWriteTickInfo);else c(h,F0,1,O0)}}function v({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 O0=h.bufferedIndex;O0<h.buffered.length;++O0){var n;let{chunk:N0,callback:I0}=h.buffered[O0],z0=h.objectMode?1:N0.length;h.length-=z0,I0((n=h.errored)!==null&&n!==void 0?n:new D0("write"))}let F0=h[F].splice(0);for(let O0=0;O0<F0.length;O0++){var Y0;F0[O0]((Y0=h.errored)!==null&&Y0!==void 0?Y0:new D0("end"))}D(h)}function U0(h,n){if(n.corked||n.bufferProcessing||n.destroyed||!n.constructed)return;let{buffered:F0,bufferedIndex:Y0,objectMode:O0}=n,N0=F0.length-Y0;if(!N0)return;let I0=Y0;if(n.bufferProcessing=!0,N0>1&&h._writev){n.pendingcb-=N0-1;let z0=n.allNoop?V:(M0)=>{for(let B0=I0;B0<F0.length;++B0)F0[B0].callback(M0)},I$=n.allNoop&&I0===0?F0:z(F0,I0);I$.allBuffers=n.allBuffers,K(h,n,!0,n.length,I$,"",z0),D(n)}else{do{let{chunk:z0,encoding:I$,callback:M0}=F0[I0];F0[I0++]=null;let B0=O0?1:z0.length;K(h,n,!1,B0,z0,I$,M0)}while(I0<F0.length&&!n.writing);if(I0===F0.length)D(n);else if(I0>256)F0.splice(0,I0),n.bufferedIndex=0;else n.bufferedIndex=I0}n.bufferProcessing=!1}R.prototype._write=function(h,n,F0){if(this._writev)this._writev([{chunk:h,encoding:n}],F0);else throw new p("_write()")},R.prototype._writev=null,R.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 O0;if(h!==null&&h!==void 0){let N0=S(this,h,n);if(N0 instanceof X)O0=N0}if(Y0.corked)Y0.corked=1,this.uncork();if(O0);else if(!Y0.errored&&!Y0.ending)Y0.ending=!0,e(this,Y0,!0),Y0.ended=!0;else if(Y0.finished)O0=new L0("end");else if(Y0.destroyed)O0=new D0("end");if(typeof F0==="function")if(O0||Y0.finished)Y.nextTick(F0,O0);else Y0[F].push(F0);return this};function W0(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(O0){if(F0){G(h,O0!==null&&O0!==void 0?O0:d());return}if(F0=!0,n.pendingcb--,O0){let N0=n[F].splice(0);for(let I0=0;I0<N0.length;I0++)N0[I0](O0);G(h,O0,n.sync)}else if(W0(n))n.prefinished=!0,h.emit("prefinish"),n.pendingcb++,Y.nextTick(J0,h,n)}n.sync=!0,n.pendingcb++;try{h._final(Y0)}catch(O0){Y0(O0)}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(W0(n)){if(s(h,n),n.pendingcb===0){if(F0)n.pendingcb++,Y.nextTick((Y0,O0)=>{if(W0(O0))J0(Y0,O0);else O0.pendingcb--},h,n);else if(W0(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()}}L(R.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=f.destroy;R.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},R.prototype._undestroy=f.undestroy,R.prototype._destroy=function(h,n){n(h)},R.prototype[q.captureRejectionSymbol]=function(h){this.destroy(h)};var A0;function $0(){if(A0===void 0)A0={};return A0}R.fromWeb=function(h,n){return $0().newStreamWritableFromWritableStream(h,n)},R.toWeb=function(h){return $0().newWritableStreamFromStreamWritable(h)}}),Gw=JU((I,J)=>{var Y=YJ(),z=(iU(),j$(oU)),{isReadable:X,isWritable:W,isIterable:Z,isNodeStream:L,isReadableNodeStream:j,isWritableNodeStream:_,isDuplexNodeStream:E,isReadableStream:C,isWritableStream:q}=KI(),B=XX(),{AbortError:N,codes:{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_RETURN_VALUE:w}}=w6(),{destroyer:b}=vQ(),g=ZI(),u=DK(),p=JH(),{createDeferredPromise:d}=t6(),a=BE(),D0=globalThis.Blob||z.Blob,L0=typeof D0<"u"?function(F){return F instanceof D0}:function(F){return!1},_0=globalThis.AbortController||tG().AbortController,{FunctionPrototypeCall:t}=yU();class T0 extends g{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(O,D){if(E(O))return O;if(j(O))return V({readable:O});if(_(O))return V({writable:O});if(L(O))return V({writable:!1,readable:!1});if(C(O))return V({readable:u.fromWeb(O)});if(q(O))return V({writable:p.fromWeb(O)});if(typeof O==="function"){let{value:S,write:A,final:K,destroy:T}=G(O);if(Z(S))return a(T0,S,{objectMode:!0,write:A,final:K,destroy:T});let x=S===null||S===void 0?void 0:S.then;if(typeof x==="function"){let v,c=t(x,S,(r)=>{if(r!=null)throw new w("nully","body",r)},(r)=>{b(v,r)});return v=new T0({objectMode:!0,readable:!1,write:A,final(r){K(async()=>{try{await c,Y.nextTick(r,null)}catch(U0){Y.nextTick(r,U0)}})},destroy:T})}throw new w("Iterable, AsyncIterable or AsyncFunction",D,S)}if(L0(O))return F(O.arrayBuffer());if(Z(O))return a(T0,O,{objectMode:!0,writable:!1});if(C(O===null||O===void 0?void 0:O.readable)&&q(O===null||O===void 0?void 0:O.writable))return T0.fromWeb(O);if(typeof(O===null||O===void 0?void 0:O.writable)==="object"||typeof(O===null||O===void 0?void 0:O.readable)==="object"){let S=O!==null&&O!==void 0&&O.readable?j(O===null||O===void 0?void 0:O.readable)?O===null||O===void 0?void 0:O.readable:F(O.readable):void 0,A=O!==null&&O!==void 0&&O.writable?_(O===null||O===void 0?void 0:O.writable)?O===null||O===void 0?void 0:O.writable:F(O.writable):void 0;return V({readable:S,writable:A})}let R=O===null||O===void 0?void 0:O.then;if(typeof R==="function"){let S;return t(R,O,(A)=>{if(A!=null)S.push(A);S.push(null)},(A)=>{b(S,A)}),S=new T0({objectMode:!0,writable:!1,read(){}})}throw new f(D,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],O)};function G(F){let{promise:O,resolve:D}=d(),R=new _0,S=R.signal;return{value:F(async function*(){while(!0){let A=O;O=null;let{chunk:K,done:T,cb:x}=await A;if(Y.nextTick(x),T)return;if(S.aborted)throw new N(void 0,{cause:S.reason});({promise:O,resolve:D}=d()),yield K}}(),{signal:S}),write(A,K,T){let x=D;D=null,x({chunk:A,done:!1,cb:T})},final(A){let K=D;D=null,K({done:!0,cb:A})},destroy(A,K){R.abort(),K(A)}}}function V(F){let O=F.readable&&typeof F.readable.read!=="function"?u.wrap(F.readable):F.readable,D=F.writable,R=!!X(O),S=!!W(D),A,K,T,x,v;function c(r){let U0=x;if(x=null,U0)U0(r);else if(r)v.destroy(r)}if(v=new T0({readableObjectMode:!!(O!==null&&O!==void 0&&O.readableObjectMode),writableObjectMode:!!(D!==null&&D!==void 0&&D.writableObjectMode),readable:R,writable:S}),S)B(D,(r)=>{if(S=!1,r)b(O,r);c(r)}),v._write=function(r,U0,W0){if(D.write(r,U0))W0();else A=W0},v._final=function(r){D.end(),K=r},D.on("drain",function(){if(A){let r=A;A=null,r()}}),D.on("finish",function(){if(K){let r=K;K=null,r()}});if(R)B(O,(r)=>{if(R=!1,r)b(O,r);c(r)}),O.on("readable",function(){if(T){let r=T;T=null,r()}}),O.on("end",function(){v.push(null)}),v._read=function(){while(!0){let r=O.read();if(r===null){T=v._read;return}if(!v.push(r))return}};return v._destroy=function(r,U0){if(!r&&x!==null)r=new N;if(T=null,A=null,K=null,x===null)U0(r);else x=U0,b(D,r),b(O,r)},v}}),ZI=JU((I,J)=>{var{ObjectDefineProperties:Y,ObjectGetOwnPropertyDescriptor:z,ObjectKeys:X,ObjectSetPrototypeOf:W}=yU();J.exports=j;var Z=DK(),L=JH();W(j.prototype,Z.prototype),W(j,Z);{let q=X(L.prototype);for(let B=0;B<q.length;B++){let N=q[B];if(!j.prototype[N])j.prototype[N]=L.prototype[N]}}function j(q){if(!(this instanceof j))return new j(q);if(Z.call(this,q),L.call(this,q),q){if(this.allowHalfOpen=q.allowHalfOpen!==!1,q.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(q.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,...z(L.prototype,"writable")},writableHighWaterMark:{__proto__:null,...z(L.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...z(L.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...z(L.prototype,"writableBuffer")},writableLength:{__proto__:null,...z(L.prototype,"writableLength")},writableFinished:{__proto__:null,...z(L.prototype,"writableFinished")},writableCorked:{__proto__:null,...z(L.prototype,"writableCorked")},writableEnded:{__proto__:null,...z(L.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...z(L.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(q){if(this._readableState&&this._writableState)this._readableState.destroyed=q,this._writableState.destroyed=q}}});var _;function E(){if(_===void 0)_={};return _}j.fromWeb=function(q,B){return E().newStreamDuplexFromReadableWritablePair(q,B)},j.toWeb=function(q){return E().newReadableWritablePairFromDuplex(q)};var C;j.from=function(q){if(!C)C=Gw();return C(q,"body")}}),vE=JU((I,J)=>{var{ObjectSetPrototypeOf:Y,Symbol:z}=yU();J.exports=j;var{ERR_METHOD_NOT_IMPLEMENTED:X}=w6().codes,W=ZI(),{getHighWaterMark:Z}=HK();Y(j.prototype,W.prototype),Y(j,W);var L=z("kCallback");function j(C){if(!(this instanceof j))return new j(C);let q=C?Z(this,C,"readableHighWaterMark",!0):null;if(q===0)C={...C,highWaterMark:null,readableHighWaterMark:q,writableHighWaterMark:C.writableHighWaterMark||0};if(W.call(this,C),this._readableState.sync=!1,this[L]=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 _(C){if(typeof this._flush==="function"&&!this.destroyed)this._flush((q,B)=>{if(q){if(C)C(q);else this.destroy(q);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!==_)_.call(this)}j.prototype._final=_,j.prototype._transform=function(C,q,B){throw new X("_transform()")},j.prototype._write=function(C,q,B){let N=this._readableState,f=this._writableState,w=N.length;this._transform(C,q,(b,g)=>{if(b){B(b);return}if(g!=null)this.push(g);if(f.ended||w===N.length||N.length<N.highWaterMark)B();else this[L]=B})},j.prototype._read=function(){if(this[L]){let C=this[L];this[L]=null,C()}}}),NE=JU((I,J)=>{var{ObjectSetPrototypeOf:Y}=yU();J.exports=X;var z=vE();Y(X.prototype,z.prototype),Y(X,z);function X(W){if(!(this instanceof X))return new X(W);z.call(this,W)}X.prototype._transform=function(W,Z,L){L(null,W)}}),QH=JU((I,J)=>{var Y=YJ(),{ArrayIsArray:z,Promise:X,SymbolAsyncIterator:W,SymbolDispose:Z}=yU(),L=XX(),{once:j}=t6(),_=vQ(),E=ZI(),{aggregateTwoErrors:C,codes:{ERR_INVALID_ARG_TYPE:q,ERR_INVALID_RETURN_VALUE:B,ERR_MISSING_ARGS:N,ERR_STREAM_DESTROYED:f,ERR_STREAM_PREMATURE_CLOSE:w},AbortError:b}=w6(),{validateFunction:g,validateAbortSignal:u}=aG(),{isIterable:p,isReadable:d,isReadableNodeStream:a,isNodeStream:D0,isTransformStream:L0,isWebStream:_0,isReadableStream:t,isReadableFinished:T0}=KI(),G=globalThis.AbortController||tG().AbortController,V,F,O;function D(r,U0,W0){let Q0=!1;r.on("close",()=>{Q0=!0});let s=L(r,{readable:U0,writable:W0},(e)=>{Q0=!e});return{destroy:(e)=>{if(Q0)return;Q0=!0,_.destroyer(r,e||new f("pipe"))},cleanup:s}}function R(r){return g(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 q("val",["Readable","Iterable","AsyncIterable"],r)}async function*A(r){if(!F)F=DK();yield*F.prototype[W].call(r)}async function K(r,U0,W0,{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=L(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();W0()}catch($0){W0(s!==$0?C(s,$0):$0)}finally{A0(),U0.off("drain",J0)}}async function T(r,U0,W0,{end:Q0}){if(L0(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();W0()}catch(e){try{await s.abort(e),W0(e)}catch(J0){W0(J0)}}}function x(...r){return v(r,j(R(r)))}function v(r,U0,W0){if(r.length===1&&z(r[0]))r=r[0];if(r.length<2)throw new N("streams");let Q0=new G,s=Q0.signal,e=W0===null||W0===void 0?void 0:W0.signal,J0=[];u(e,"options.signal");function Z0(){O0(new b)}O=O||t6().addAbortListener;let A0;if(e)A0=O(e,Z0);let $0,h,n=[],F0=0;function Y0(M0){O0(M0,--F0===0)}function O0(M0,B0){var M$;if(M0&&(!$0||$0.code==="ERR_STREAM_PREMATURE_CLOSE"))$0=M0;if(!$0&&!B0)return;while(n.length)n.shift()($0);if((M$=A0)===null||M$===void 0||M$[Z](),Q0.abort(),B0){if(!$0)J0.forEach((m0)=>m0());Y.nextTick(U0,$0,h)}}let N0;for(let M0=0;M0<r.length;M0++){let B0=r[M0],M$=M0<r.length-1,m0=M0>0,p0=M$||(W0===null||W0===void 0?void 0:W0.end)!==!1,r$=M0===r.length-1;if(D0(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:YU}=D(B0,M$,m0);if(n.push(h0),d(B0)&&r$)J0.push(YU)}if(B0.on("error",c0),d(B0)&&r$)J0.push(()=>{B0.removeListener("error",c0)})}if(M0===0)if(typeof B0==="function"){if(N0=B0({signal:s}),!p(N0))throw new B("Iterable, AsyncIterable or Stream","source",N0)}else if(p(B0)||a(B0)||L0(B0))N0=B0;else N0=E.from(B0);else if(typeof B0==="function"){if(L0(N0)){var z0;N0=S((z0=N0)===null||z0===void 0?void 0:z0.readable)}else N0=S(N0);if(N0=B0(N0,{signal:s}),M$){if(!p(N0,!0))throw new B("AsyncIterable",`transform[${M0-1}]`,N0)}else{var I$;if(!V)V=NE();let c0=new V({objectMode:!0}),h0=(I$=N0)===null||I$===void 0?void 0:I$.then;if(typeof h0==="function")F0++,h0.call(N0,(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(N0,!0))F0++,K(N0,c0,Y0,{end:p0});else if(t(N0)||L0(N0)){let i0=N0.readable||N0;F0++,K(i0,c0,Y0,{end:p0})}else throw new B("AsyncIterable or Promise","destination",N0);N0=c0;let{destroy:YU,cleanup:t0}=D(N0,!1,!0);if(n.push(YU),r$)J0.push(t0)}}else if(D0(B0)){if(a(N0)){F0+=2;let c0=c(N0,B0,Y0,{end:p0});if(d(B0)&&r$)J0.push(c0)}else if(L0(N0)||t(N0)){let c0=N0.readable||N0;F0++,K(c0,B0,Y0,{end:p0})}else if(p(N0))F0++,K(N0,B0,Y0,{end:p0});else throw new q("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N0);N0=B0}else if(_0(B0)){if(a(N0))F0++,T(S(N0),B0,Y0,{end:p0});else if(t(N0)||p(N0))F0++,T(N0,B0,Y0,{end:p0});else if(L0(N0))F0++,T(N0.readable,B0,Y0,{end:p0});else throw new q("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N0);N0=B0}else N0=E.from(B0)}if(s!==null&&s!==void 0&&s.aborted||e!==null&&e!==void 0&&e.aborted)Y.nextTick(Z0);return N0}function c(r,U0,W0,{end:Q0}){let s=!1;if(U0.on("close",()=>{if(!s)W0(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 W0();return L(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",W0).once("error",W0);else W0(J0)}),L(U0,{readable:!1,writable:!0},W0)}J.exports={pipelineImpl:v,pipeline:x}}),kE=JU((I,J)=>{var{pipeline:Y}=QH(),z=ZI(),{destroyer:X}=vQ(),{isNodeStream:W,isReadable:Z,isWritable:L,isWebStream:j,isTransformStream:_,isWritableStream:E,isReadableStream:C}=KI(),{AbortError:q,codes:{ERR_INVALID_ARG_VALUE:B,ERR_MISSING_ARGS:N}}=w6(),f=XX();J.exports=function(...w){if(w.length===0)throw new N("streams");if(w.length===1)return z.from(w[0]);let b=[...w];if(typeof w[0]==="function")w[0]=z.from(w[0]);if(typeof w[w.length-1]==="function"){let G=w.length-1;w[G]=z.from(w[G])}for(let G=0;G<w.length;++G){if(!W(w[G])&&!j(w[G]))continue;if(G<w.length-1&&!(Z(w[G])||C(w[G])||_(w[G])))throw new B(`streams[${G}]`,b[G],"must be readable");if(G>0&&!(L(w[G])||E(w[G])||_(w[G])))throw new B(`streams[${G}]`,b[G],"must be writable")}let g,u,p,d,a;function D0(G){let V=d;if(d=null,V)V(G);else if(G)a.destroy(G);else if(!T0&&!t)a.destroy()}let L0=w[0],_0=Y(w,D0),t=!!(L(L0)||E(L0)||_(L0)),T0=!!(Z(_0)||C(_0)||_(_0));if(a=new z({writableObjectMode:!!(L0!==null&&L0!==void 0&&L0.writableObjectMode),readableObjectMode:!!(_0!==null&&_0!==void 0&&_0.readableObjectMode),writable:t,readable:T0}),t){if(W(L0))a._write=function(V,F,O){if(L0.write(V,F))O();else g=O},a._final=function(V){L0.end(),u=V},L0.on("drain",function(){if(g){let V=g;g=null,V()}});else if(j(L0)){let V=(_(L0)?L0.writable:L0).getWriter();a._write=async function(F,O,D){try{await V.ready,V.write(F).catch(()=>{}),D()}catch(R){D(R)}},a._final=async function(F){try{await V.ready,V.close().catch(()=>{}),u=F}catch(O){F(O)}}}let G=_(_0)?_0.readable:_0;f(G,()=>{if(u){let V=u;u=null,V()}})}if(T0){if(W(_0))_0.on("readable",function(){if(p){let G=p;p=null,G()}}),_0.on("end",function(){a.push(null)}),a._read=function(){while(!0){let G=_0.read();if(G===null){p=a._read;return}if(!a.push(G))return}};else if(j(_0)){let G=(_(_0)?_0.readable:_0).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 q;if(p=null,g=null,u=null,d===null)V(G);else if(d=V,W(_0))X(_0,G)},a}}),Zw=JU((I,J)=>{var Y=globalThis.AbortController||tG().AbortController,{codes:{ERR_INVALID_ARG_VALUE:z,ERR_INVALID_ARG_TYPE:X,ERR_MISSING_ARGS:W,ERR_OUT_OF_RANGE:Z},AbortError:L}=w6(),{validateAbortSignal:j,validateInteger:_,validateObject:E}=aG(),C=yU().Symbol("kWeak"),q=yU().Symbol("kResistStopPropagation"),{finished:B}=XX(),N=kE(),{addAbortSignalNoValidate:f}=VK(),{isWritable:w,isNodeStream:b}=KI(),{deprecate:g}=t6(),{ArrayPrototypePush:u,Boolean:p,MathFloor:d,Number:a,NumberIsNaN:D0,Promise:L0,PromiseReject:_0,PromiseResolve:t,PromisePrototypeThen:T0,Symbol:G}=yU(),V=G("kEmpty"),F=G("kEof");function O(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 z("stream",e,"must be writable");let Z0=N(this,e);if(J0!==null&&J0!==void 0&&J0.signal)f(J0.signal,Z0);return Z0}function D(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 _(Z0,"options.concurrency",1),_(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,O0,N0=!1,I0=0;function z0(){N0=!0,I$()}function I$(){I0-=1,M0()}function M0(){if(O0&&!N0&&I0<Z0&&n.length<A0)O0(),O0=null}async function B0(){try{for await(let M$ of h){if(N0)return;if($0.aborted)throw new L;try{if(M$=e(M$,F0),M$===V)continue;M$=t(M$)}catch(m0){M$=_0(m0)}if(I0+=1,T0(M$,I$,z0),n.push(M$),Y0)Y0(),Y0=null;if(!N0&&(n.length>=A0||I0>=Z0))await new L0((m0)=>{O0=m0})}n.push(F)}catch(M$){let m0=_0(M$);T0(m0,I$,z0),n.push(m0)}finally{if(N0=!0,Y0)Y0(),Y0=null}}B0();try{while(!0){while(n.length>0){let M$=await n[0];if(M$===F)return;if($0.aborted)throw new L;if(M$!==V)yield M$;n.shift(),M0()}await new L0((M$)=>{Y0=M$})}}finally{if(N0=!0,O0)O0(),O0=null}}.call(this)}function R(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 L({cause:e.signal.reason});yield[J0++,A0]}}.call(this)}async function S(e,J0=void 0){for await(let Z0 of x.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 K(e,J0){for await(let Z0 of x.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 D.call(this,Z0,J0));}function x(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 D.call(this,Z0,J0)}class v extends W{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 O0=new L(void 0,{cause:Z0.signal.reason});throw this.once("error",()=>{}),await B(this.destroy(O0)),O0}let h=new Y,n=h.signal;if(Z0!==null&&Z0!==void 0&&Z0.signal){let O0={once:!0,[C]:this,[q]:!0};Z0.signal.addEventListener("abort",()=>h.abort(),O0)}let F0=!1;try{for await(let O0 of this){var Y0;if(F0=!0,Z0!==null&&Z0!==void 0&&(Y0=Z0.signal)!==null&&Y0!==void 0&&Y0.aborted)throw new L;if(!$0)J0=O0,$0=!0;else J0=await e(J0,O0,{signal:n})}if(!F0&&!$0)throw new v}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 L(void 0,{cause:e.signal.reason});u(J0,A0)}return J0}function U0(e,J0){let Z0=D.call(this,e,J0);return async function*(){for await(let A0 of Z0)yield*A0}.call(this)}function W0(e){if(e=a(e),D0(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=W0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L;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 L;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=W0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L;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 L;if(e-- >0)yield $0;if(e<=0)return}}.call(this)}J.exports.streamReturningOperators={asIndexedPairs:g(R,"readable.asIndexedPairs will be removed in a future version."),drop:Q0,filter:x,flatMap:U0,map:D,take:s,compose:O},J.exports.promiseReturningOperators={every:A,forEach:T,reduce:c,toArray:r,some:S,find:K}}),gE=JU((I,J)=>{var{ArrayPrototypePop:Y,Promise:z}=yU(),{isIterable:X,isNodeStream:W,isWebStream:Z}=KI(),{pipelineImpl:L}=QH(),{finished:j}=XX();xE();function _(...E){return new z((C,q)=>{let B,N,f=E[E.length-1];if(f&&typeof f==="object"&&!W(f)&&!X(f)&&!Z(f)){let w=Y(E);B=w.signal,N=w.end}L(E,(w,b)=>{if(w)q(w);else C(b)},{signal:B,end:N})})}J.exports={finished:j,pipeline:_}}),xE=JU((I,J)=>{var{Buffer:Y}=(iU(),j$(oU)),{ObjectDefineProperty:z,ObjectKeys:X,ReflectApply:W}=yU(),{promisify:{custom:Z}}=t6(),{streamReturningOperators:L,promiseReturningOperators:j}=Zw(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:_}}=w6(),E=kE(),{setDefaultHighWaterMark:C,getDefaultHighWaterMark:q}=HK(),{pipeline:B}=QH(),{destroyer:N}=vQ(),f=XX(),w=gE(),b=KI(),g=J.exports=XH().Stream;g.isDestroyed=b.isDestroyed,g.isDisturbed=b.isDisturbed,g.isErrored=b.isErrored,g.isReadable=b.isReadable,g.isWritable=b.isWritable,g.Readable=DK();for(let p of X(L)){let d=function(...D0){if(new.target)throw _();return g.Readable.from(W(a,this,D0))},a=L[p];z(d,"name",{__proto__:null,value:a.name}),z(d,"length",{__proto__:null,value:a.length}),z(g.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}for(let p of X(j)){let d=function(...D0){if(new.target)throw _();return W(a,this,D0)},a=j[p];z(d,"name",{__proto__:null,value:a.name}),z(d,"length",{__proto__:null,value:a.length}),z(g.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}g.Writable=JH(),g.Duplex=ZI(),g.Transform=vE(),g.PassThrough=NE(),g.pipeline=B;var{addAbortSignal:u}=VK();g.addAbortSignal=u,g.finished=f,g.destroy=N,g.compose=E,g.setDefaultHighWaterMark=C,g.getDefaultHighWaterMark=q,z(g,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return w}}),z(B,Z,{__proto__:null,enumerable:!0,get(){return w.pipeline}}),z(f,Z,{__proto__:null,enumerable:!0,get(){return w.finished}}),g.Stream=g,g._isUint8Array=function(p){return p instanceof Uint8Array},g._uint8ArrayToBuffer=function(p){return Y.from(p.buffer,p.byteOffset,p.byteLength)}}),Kw=JU((I,J)=>{var Y=NQ();{let z=xE(),X=gE(),W=z.Readable.destroy;J.exports=z.Readable,J.exports._uint8ArrayToBuffer=z._uint8ArrayToBuffer,J.exports._isUint8Array=z._isUint8Array,J.exports.isDisturbed=z.isDisturbed,J.exports.isErrored=z.isErrored,J.exports.isReadable=z.isReadable,J.exports.Readable=z.Readable,J.exports.Writable=z.Writable,J.exports.Duplex=z.Duplex,J.exports.Transform=z.Transform,J.exports.PassThrough=z.PassThrough,J.exports.addAbortSignal=z.addAbortSignal,J.exports.finished=z.finished,J.exports.destroy=z.destroy,J.exports.destroy=W,J.exports.pipeline=z.pipeline,J.exports.compose=z.compose,Object.defineProperty(z,"promises",{configurable:!0,enumerable:!0,get(){return X}}),J.exports.Stream=z.Stream}J.exports.default=J.exports});wE.exports=Kw()});var M1={};x6(M1,{webcrypto:()=>wy,rng:()=>rf,randomUUID:()=>kQ,randomFillSync:()=>jy,randomFill:()=>Sy,randomBytes:()=>tf,publicEncrypt:()=>Py,publicDecrypt:()=>_y,pseudoRandomBytes:()=>of,prng:()=>nf,privateEncrypt:()=>qy,privateDecrypt:()=>Ey,pbkdf2Sync:()=>Iy,pbkdf2:()=>Uy,listCiphers:()=>Oy,getRandomValues:()=>ky,getHashes:()=>$y,getDiffieHellman:()=>Dy,getCurves:()=>xy,getCiphers:()=>zy,default:()=>fy,createVerify:()=>Cy,createSign:()=>My,createHmac:()=>ef,createHash:()=>L1,createECDH:()=>Ry,createDiffieHellmanGroup:()=>Hy,createDiffieHellman:()=>Fy,createDecipheriv:()=>Wy,createDecipher:()=>Zy,createCredentials:()=>By,createCipheriv:()=>Yy,createCipher:()=>Jy,constants:()=>vy,Verify:()=>Ty,Sign:()=>Ay,Hmac:()=>sf,Hash:()=>af,DiffieHellmanGroup:()=>Vy,DiffieHellman:()=>Ly,Decipheriv:()=>Ky,Decipher:()=>Gy,DEFAULT_ENCODING:()=>Ny,Cipheriv:()=>Qy,Cipher:()=>Xy});function xy(){return gy}var Ww,zw,fE,Ow,Vw,Hw=(I,J,Y)=>{Y=I!=null?Ww(zw(I)):{};let z=J||!I||!I.__esModule?fE(Y,"default",{value:I,enumerable:!0}):Y;for(let X of Ow(I))if(!Vw.call(z,X))fE(z,X,{get:()=>I[X],enumerable:!0});return z},b0=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),FK,LK,uE,Dw,GH,ZH,f6,Fw,eG,bE,Lw,Mw,Aw,Cw,cE,Tw,Rw,Pw,qw,_w,Ew,Sw,jw,Bw,vw,$2,MK,hE,Nw,pE,mE,kw,U2,KH,WH,gw,lE,zH,xw,dE,ww,nE,oE,fw,yw,uw,bw,cw,hw,pw,mw,lw,dw,nw,ow,iw,rw,OH,iE,tw,rE,aw,sw,ew,$f,WI,JX,tE,f1,aE,AK,Uf,F1,If,Xf,Jf,sE,B4,I2,eE,Qf,$S,Yf,US,Gf,Zf,Kf,Wf,VH,zf,HH,Of,Vf,Hf,Df,Ff,Lf,Mf,Af,Cf,Tf,Rf,Pf,qf,_f,yE,Ef,sG,Sf,IS,XS,jf,Bf,JS,vf,Nf,X2,kf,gf,xf,wf,ff,yf,QS,uf,YS,GS,ZS,DH,KS,bf,WS,cf,hf,YH,pf,mf,lf,df,c$,nf,of,rf,tf,af,L1,sf,ef,$y,Uy,Iy,Xy,Jy,Qy,Yy,Gy,Zy,Ky,Wy,zy,Oy,Vy,Hy,Dy,Fy,Ly,My,Ay,Cy,Ty,Ry,Py,qy,_y,Ey,Sy,jy,By,vy,Ny="buffer",ky=(I)=>{return crypto.getRandomValues(I)},kQ=()=>{return crypto.randomUUID()},gy,wy,fy;var uU=CQ(()=>{Ww=Object.create,{getPrototypeOf:zw,defineProperty:fE,getOwnPropertyNames:Ow}=Object,Vw=Object.prototype.hasOwnProperty,FK=b0((I,J)=>{J.exports=(uU(),j$(M1)).randomBytes}),LK=b0((I,J)=>{J.exports=(uU(),j$(M1)).createHash}),uE=b0((I,J)=>{J.exports=(uU(),j$(M1)).createHmac}),Dw=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"}}}),GH=b0((I,J)=>{var Y=isFinite,z=Math.pow(2,30)-1;J.exports=function(X,W){if(typeof X!=="number")throw TypeError("Iterations not a number");if(X<0||!Y(X))throw TypeError("Bad iterations");if(typeof W!=="number")throw TypeError("Key length not a number");if(W<0||W>z||W!==W)throw TypeError("Bad key length")}}),ZH=b0((I,J)=>{var Y;if(globalThis.process&&globalThis.process.browser)Y="utf-8";else if(globalThis.process&&globalThis.process.version)z=parseInt(process.version.split(".")[0].slice(1),10),Y=z>=6?"utf-8":"binary";else Y="utf-8";var z;J.exports=Y}),f6=b0((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(iU(),j$(oU)),z=Y.Buffer;function X(Z,L){for(var j in Z)L[j]=Z[j]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=W;function W(Z,L,j){return z(Z,L,j)}W.prototype=Object.create(z.prototype),X(z,W),W.from=function(Z,L,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return z(Z,L,j)},W.alloc=function(Z,L,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var _=z(Z);if(L!==void 0)if(typeof j==="string")_.fill(L,j);else _.fill(L);else _.fill(0);return _},W.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return z(Z)},W.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),Fw=b0((I,J)=>{var Y={}.toString;J.exports=Array.isArray||function(z){return Y.call(z)=="[object Array]"}}),eG=b0((I,J)=>{J.exports=TypeError}),bE=b0((I,J)=>{J.exports=Object}),Lw=b0((I,J)=>{J.exports=Error}),Mw=b0((I,J)=>{J.exports=EvalError}),Aw=b0((I,J)=>{J.exports=RangeError}),Cw=b0((I,J)=>{J.exports=ReferenceError}),cE=b0((I,J)=>{J.exports=SyntaxError}),Tw=b0((I,J)=>{J.exports=URIError}),Rw=b0((I,J)=>{J.exports=Math.abs}),Pw=b0((I,J)=>{J.exports=Math.floor}),qw=b0((I,J)=>{J.exports=Math.max}),_w=b0((I,J)=>{J.exports=Math.min}),Ew=b0((I,J)=>{J.exports=Math.pow}),Sw=b0((I,J)=>{J.exports=Math.round}),jw=b0((I,J)=>{J.exports=Number.isNaN||function(Y){return Y!==Y}}),Bw=b0((I,J)=>{var Y=jw();J.exports=function(z){if(Y(z)||z===0)return z;return z<0?-1:1}}),vw=b0((I,J)=>{J.exports=Object.getOwnPropertyDescriptor}),$2=b0((I,J)=>{var Y=vw();if(Y)try{Y([],"length")}catch(z){Y=null}J.exports=Y}),MK=b0((I,J)=>{var Y=Object.defineProperty||!1;if(Y)try{Y({},"a",{value:1})}catch(z){Y=!1}J.exports=Y}),hE=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={},z=Symbol("test"),X=Object(z);if(typeof z==="string")return!1;if(Object.prototype.toString.call(z)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(X)!=="[object Symbol]")return!1;var W=42;Y[z]=W;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 L=Object.getOwnPropertySymbols(Y);if(L.length!==1||L[0]!==z)return!1;if(!Object.prototype.propertyIsEnumerable.call(Y,z))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var j=Object.getOwnPropertyDescriptor(Y,z);if(j.value!==W||j.enumerable!==!0)return!1}return!0}}),Nw=b0((I,J)=>{var Y=typeof Symbol<"u"&&Symbol,z=hE();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 z()}}),pE=b0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),mE=b0((I,J)=>{var Y=bE();J.exports=Y.getPrototypeOf||null}),kw=b0((I,J)=>{var Y="Function.prototype.bind called on incompatible ",z=Object.prototype.toString,X=Math.max,W="[object Function]",Z=function(_,E){var C=[];for(var q=0;q<_.length;q+=1)C[q]=_[q];for(var B=0;B<E.length;B+=1)C[B+_.length]=E[B];return C},L=function(_,E){var C=[];for(var q=E||0,B=0;q<_.length;q+=1,B+=1)C[B]=_[q];return C},j=function(_,E){var C="";for(var q=0;q<_.length;q+=1)if(C+=_[q],q+1<_.length)C+=E;return C};J.exports=function(_){var E=this;if(typeof E!=="function"||z.apply(E)!==W)throw TypeError(Y+E);var C=L(arguments,1),q,B=function(){if(this instanceof q){var g=E.apply(this,Z(C,arguments));if(Object(g)===g)return g;return this}return E.apply(_,Z(C,arguments))},N=X(0,E.length-C.length),f=[];for(var w=0;w<N;w++)f[w]="$"+w;if(q=Function("binder","return function ("+j(f,",")+"){ return binder.apply(this,arguments); }")(B),E.prototype){var b=function(){};b.prototype=E.prototype,q.prototype=new b,b.prototype=null}return q}}),U2=b0((I,J)=>{var Y=kw();J.exports=Function.prototype.bind||Y}),KH=b0((I,J)=>{J.exports=Function.prototype.call}),WH=b0((I,J)=>{J.exports=Function.prototype.apply}),gw=b0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),lE=b0((I,J)=>{var Y=U2(),z=WH(),X=KH(),W=gw();J.exports=W||Y.call(X,z)}),zH=b0((I,J)=>{var Y=U2(),z=eG(),X=KH(),W=lE();J.exports=function(Z){if(Z.length<1||typeof Z[0]!=="function")throw new z("a function is required");return W(Y,X,Z)}}),xw=b0((I,J)=>{var Y=zH(),z=$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 W=!!X&&z&&z(Object.prototype,"__proto__"),Z=Object,L=Z.getPrototypeOf;J.exports=W&&typeof W.get==="function"?Y([W.get]):typeof L==="function"?function(j){return L(j==null?j:Z(j))}:!1}),dE=b0((I,J)=>{var Y=pE(),z=mE(),X=xw();J.exports=Y?function(W){return Y(W)}:z?function(W){if(!W||typeof W!=="object"&&typeof W!=="function")throw TypeError("getProto: not an object");return z(W)}:X?function(W){return X(W)}:null}),ww=b0((I,J)=>{var Y=Function.prototype.call,z=Object.prototype.hasOwnProperty,X=U2();J.exports=X.call(Y,z)}),nE=b0((I,J)=>{var Y,z=bE(),X=Lw(),W=Mw(),Z=Aw(),L=Cw(),j=cE(),_=eG(),E=Tw(),C=Rw(),q=Pw(),B=qw(),N=_w(),f=Ew(),w=Sw(),b=Bw(),g=Function,u=function(J0){try{return g('"use strict"; return ('+J0+").constructor;")()}catch(Z0){}},p=$2(),d=MK(),a=function(){throw new _},D0=p?function(){try{return arguments.callee,a}catch(J0){try{return p(arguments,"callee").get}catch(Z0){return a}}}():a,L0=Nw()(),_0=dE(),t=mE(),T0=pE(),G=WH(),V=KH(),F={},O=typeof Uint8Array>"u"||!_0?Y:_0(Uint8Array),D={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Y:ArrayBuffer,"%ArrayIteratorPrototype%":L0&&_0?_0([][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%":W,"%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%":g,"%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%":L0&&_0?_0(_0([][Symbol.iterator]())):Y,"%JSON%":typeof JSON==="object"?JSON:Y,"%Map%":typeof Map>"u"?Y:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L0||!_0?Y:_0(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":z,"%Object.getOwnPropertyDescriptor%":p,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Y:Promise,"%Proxy%":typeof Proxy>"u"?Y:Proxy,"%RangeError%":Z,"%ReferenceError%":L,"%Reflect%":typeof Reflect>"u"?Y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Y:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L0||!_0?Y:_0(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L0&&_0?_0(""[Symbol.iterator]()):Y,"%Symbol%":L0?Symbol:Y,"%SyntaxError%":j,"%ThrowTypeError%":D0,"%TypedArray%":O,"%TypeError%":_,"%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%":q,"%Math.max%":B,"%Math.min%":N,"%Math.pow%":f,"%Math.round%":w,"%Math.sign%":b,"%Reflect.getPrototypeOf%":T0};if(_0)try{null.error}catch(J0){R=_0(_0(J0)),D["%Error.prototype%"]=R}var R,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&&_0)A0=_0(h.prototype)}return D[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"]},K=U2(),T=ww(),x=K.call(V,Array.prototype.concat),v=K.call(G,Array.prototype.splice),c=K.call(V,String.prototype.replace),r=K.call(V,String.prototype.slice),U0=K.call(V,RegExp.prototype.exec),W0=/[^%.[\]]+|\[(?:(-?\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,W0,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(D,A0)){var h=D[A0];if(h===F)h=S(A0);if(typeof h>"u"&&!Z0)throw new _("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 _("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Z0!=="boolean")throw new _('"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,O0=h.alias;if(O0)$0=O0[0],v(A0,x([0,1],O0));for(var N0=1,I0=!0;N0<A0.length;N0+=1){var z0=A0[N0],I$=r(z0,0,1),M0=r(z0,-1);if((I$==='"'||I$==="'"||I$==="`"||(M0==='"'||M0==="'"||M0==="`"))&&I$!==M0)throw new j("property names with quotes must have matching quotes");if(z0==="constructor"||!I0)Y0=!0;if($0+="."+z0,n="%"+$0+"%",T(D,n))F0=D[n];else if(F0!=null){if(!(z0 in F0)){if(!Z0)throw new _("base intrinsic for "+J0+" exists, but the property is not available.");return}if(p&&N0+1>=A0.length){var B0=p(F0,z0);if(I0=!!B0,I0&&"get"in B0&&!("originalValue"in B0.get))F0=B0.get;else F0=F0[z0]}else I0=T(F0,z0),F0=F0[z0];if(I0&&!Y0)D[n]=F0}}return F0}}),oE=b0((I,J)=>{var Y=nE(),z=zH(),X=z([Y("%String.prototype.indexOf%")]);J.exports=function(W,Z){var L=Y(W,!!Z);if(typeof L==="function"&&X(W,".prototype.")>-1)return z([L]);return L}}),fw=b0((I,J)=>{var Y=Function.prototype.toString,z=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply,X,W;if(typeof z==="function"&&typeof Object.defineProperty==="function")try{X=Object.defineProperty({},"length",{get:function(){throw W}}),W={},z(function(){throw 42},null,X)}catch(p){if(p!==W)z=null}else z=null;var Z=/^\s*class\b/,L=function(p){try{var d=Y.call(p);return Z.test(d)}catch(a){return!1}},j=function(p){try{if(L(p))return!1;return Y.call(p),!0}catch(d){return!1}},_=Object.prototype.toString,E="[object Object]",C="[object Function]",q="[object GeneratorFunction]",B="[object HTMLAllCollection]",N="[object HTML document.all class]",f="[object HTMLCollection]",w=typeof Symbol==="function"&&!!Symbol.toStringTag,b=!(0 in[,]),g=function(){return!1};if(typeof document==="object"){if(u=document.all,_.call(u)===_.call(document.all))g=function(p){if((b||!p)&&(typeof p>"u"||typeof p==="object"))try{var d=_.call(p);return(d===B||d===N||d===f||d===E)&&p("")==null}catch(a){}return!1}}var u;J.exports=z?function(p){if(g(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;try{z(p,null,X)}catch(d){if(d!==W)return!1}return!L(p)&&j(p)}:function(p){if(g(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;if(w)return j(p);if(L(p))return!1;var d=_.call(p);if(d!==C&&d!==q&&!/^\[object HTML/.test(d))return!1;return j(p)}}),yw=b0((I,J)=>{var Y=fw(),z=Object.prototype.toString,X=Object.prototype.hasOwnProperty,W=function(_,E,C){for(var q=0,B=_.length;q<B;q++)if(X.call(_,q))if(C==null)E(_[q],q,_);else E.call(C,_[q],q,_)},Z=function(_,E,C){for(var q=0,B=_.length;q<B;q++)if(C==null)E(_.charAt(q),q,_);else E.call(C,_.charAt(q),q,_)},L=function(_,E,C){for(var q in _)if(X.call(_,q))if(C==null)E(_[q],q,_);else E.call(C,_[q],q,_)};function j(_){return z.call(_)==="[object Array]"}J.exports=function(_,E,C){if(!Y(E))throw TypeError("iterator must be a function");var q;if(arguments.length>=3)q=C;if(j(_))W(_,E,q);else if(typeof _==="string")Z(_,E,q);else L(_,E,q)}}),uw=b0((I,J)=>{J.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),bw=b0((I,J)=>{var Y=uw(),z=typeof globalThis>"u"?globalThis:globalThis;J.exports=function(){var X=[];for(var W=0;W<Y.length;W++)if(typeof z[Y[W]]==="function")X[X.length]=Y[W];return X}}),cw=b0((I,J)=>{var Y=MK(),z=cE(),X=eG(),W=$2();J.exports=function(Z,L,j){if(!Z||typeof Z!=="object"&&typeof Z!=="function")throw new X("`obj` must be an object or a function`");if(typeof L!=="string"&&typeof L!=="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 _=arguments.length>3?arguments[3]:null,E=arguments.length>4?arguments[4]:null,C=arguments.length>5?arguments[5]:null,q=arguments.length>6?arguments[6]:!1,B=!!W&&W(Z,L);if(Y)Y(Z,L,{configurable:C===null&&B?B.configurable:!C,enumerable:_===null&&B?B.enumerable:!_,value:j,writable:E===null&&B?B.writable:!E});else if(q||!_&&!E&&!C)Z[L]=j;else throw new z("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),hw=b0((I,J)=>{var Y=MK(),z=function(){return!!Y};z.hasArrayLengthDefineBug=function(){if(!Y)return null;try{return Y([],"length",{value:1}).length!==1}catch(X){return!0}},J.exports=z}),pw=b0((I,J)=>{var Y=nE(),z=cw(),X=hw()(),W=$2(),Z=eG(),L=Y("%Math.floor%");J.exports=function(j,_){if(typeof j!=="function")throw new Z("`fn` is not a function");if(typeof _!=="number"||_<0||_>4294967295||L(_)!==_)throw new Z("`length` must be a positive 32-bit integer");var E=arguments.length>2&&!!arguments[2],C=!0,q=!0;if("length"in j&&W){var B=W(j,"length");if(B&&!B.configurable)C=!1;if(B&&!B.writable)q=!1}if(C||q||!E)if(X)z(j,"length",_,!0,!0);else z(j,"length",_);return j}}),mw=b0((I,J)=>{var Y=U2(),z=WH(),X=lE();J.exports=function(){return X(Y,z,arguments)}}),lw=b0((I,J)=>{var Y=pw(),z=MK(),X=zH(),W=mw();if(J.exports=function(Z){var L=X(arguments),j=Z.length-(arguments.length-1);return Y(L,1+(j>0?j:0),!0)},z)z(J.exports,"apply",{value:W});else J.exports.apply=W}),dw=b0((I,J)=>{var Y=hE();J.exports=function(){return Y()&&!!Symbol.toStringTag}}),nw=b0((I,J)=>{var Y=yw(),z=bw(),X=lw(),W=oE(),Z=$2(),L=dE(),j=W("Object.prototype.toString"),_=dw()(),E=typeof globalThis>"u"?globalThis:globalThis,C=z(),q=W("String.prototype.slice"),B=W("Array.prototype.indexOf",!0)||function(b,g){for(var u=0;u<b.length;u+=1)if(b[u]===g)return u;return-1},N={__proto__:null};if(_&&Z&&L)Y(C,function(b){var g=new E[b];if(Symbol.toStringTag in g&&L){var u=L(g),p=Z(u,Symbol.toStringTag);if(!p&&u){var d=L(u);p=Z(d,Symbol.toStringTag)}N["$"+b]=X(p.get)}});else Y(C,function(b){var g=new E[b],u=g.slice||g.set;if(u)N["$"+b]=X(u)});var f=function(b){var g=!1;return Y(N,function(u,p){if(!g)try{if("$"+u(b)===p)g=q(p,1)}catch(d){}}),g},w=function(b){var g=!1;return Y(N,function(u,p){if(!g)try{u(b),g=q(p,1)}catch(d){}}),g};J.exports=function(b){if(!b||typeof b!=="object")return!1;if(!_){var g=q(j(b),8,-1);if(B(C,g)>-1)return g;if(g!=="Object")return!1;return w(b)}if(!Z)return null;return f(b)}}),ow=b0((I,J)=>{var Y=nw();J.exports=function(z){return!!Y(z)}}),iw=b0((I,J)=>{var Y=eG(),z=oE(),X=z("TypedArray.prototype.buffer",!0),W=ow();J.exports=X||function(Z){if(!W(Z))throw new Y("Not a Typed Array");return Z.buffer}}),rw=b0((I,J)=>{var Y=f6().Buffer,z=Fw(),X=iw(),W=ArrayBuffer.isView||function(_){try{return X(_),!0}catch(E){return!1}},Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",j=L&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);J.exports=function(_,E){if(Y.isBuffer(_)){if(_.constructor&&!("isBuffer"in _))return Y.from(_);return _}if(typeof _==="string")return Y.from(_,E);if(L&&W(_)){if(_.byteLength===0)return Y.alloc(0);if(j){var C=Y.from(_.buffer,_.byteOffset,_.byteLength);if(C.byteLength===_.byteLength)return C}var q=_ instanceof Uint8Array?_:new Uint8Array(_.buffer,_.byteOffset,_.byteLength),B=Y.from(q);if(B.length===_.byteLength)return B}if(Z&&_ instanceof Uint8Array)return Y.from(_);var N=z(_);if(N)for(var f=0;f<_.length;f+=1){var w=_[f];if(typeof w!=="number"||w<0||w>255||~~w!==w)throw RangeError("Array items must be numbers in the range 0-255.")}if(N||Y.isBuffer(_)&&_.constructor&&typeof _.constructor.isBuffer==="function"&&_.constructor.isBuffer(_))return Y.from(_);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}),OH=b0((I,J)=>{var Y=f6().Buffer,z=rw(),X=typeof Uint8Array<"u",W=X&&typeof ArrayBuffer<"u",Z=W&&ArrayBuffer.isView;J.exports=function(L,j,_){if(typeof L==="string"||Y.isBuffer(L)||X&&L instanceof Uint8Array||Z&&Z(L))return z(L,j);throw TypeError(_+" must be a string, a Buffer, a Uint8Array, or a DataView")}}),iE=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},z={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"},X=uE(),W=f6().Buffer,Z=GH(),L=ZH(),j=OH();function _(E,C,q,B,N){Z(q,B),E=j(E,L,"Password"),C=j(C,L,"Salt");var f=(N||"sha1").toLowerCase(),w=z[f]||f,b=Y[w];if(typeof b!=="number"||!b)throw TypeError("Digest algorithm not supported: "+N);var g=W.allocUnsafe(B),u=W.allocUnsafe(C.length+4);C.copy(u,0,0,C.length);var p=0,d=b,a=Math.ceil(B/d);for(var D0=1;D0<=a;D0++){u.writeUInt32BE(D0,C.length);var L0=X(w,E).update(u).digest(),_0=L0;for(var t=1;t<q;t++){_0=X(w,E).update(_0).digest();for(var T0=0;T0<d;T0++)L0[T0]^=_0[T0]}L0.copy(g,p),p+=d}return g}J.exports=_}),tw=b0((I,J)=>{var Y=f6().Buffer,z=GH(),X=ZH(),W=iE(),Z=OH(),L,j=globalThis.crypto&&globalThis.crypto.subtle,_={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 q(){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,g,u,p){return j.importKey("raw",w,{name:"PBKDF2"},!1,["deriveBits"]).then(function(d){return j.deriveBits({name:"PBKDF2",salt:b,iterations:g,hash:{name:p}},d,u<<3)}).then(function(d){return Y.from(d)})}function N(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];L=L||Y.alloc(8);var b=B(L,L,10,128,w).then(function(){return!0},function(){return!1});return E[w]=b,b}function f(w,b){w.then(function(g){q()(function(){b(null,g)})},function(g){q()(function(){b(g)})})}J.exports=function(w,b,g,u,p,d){if(typeof p==="function")d=p,p=void 0;if(z(g,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=_[p.toLowerCase()];if(!a||typeof globalThis.Promise!=="function"){q()(function(){var D0;try{D0=W(w,b,g,u,p)}catch(L0){d(L0);return}d(null,D0)});return}f(N(a).then(function(D0){if(D0)return B(w,b,g,u,a);return W(w,b,g,u,p)}),d)}}),rE=b0((I)=>{var J=(uU(),j$(M1)),Y=GH(),z=ZH(),X=OH();function W(L,j,_,E,C,q){if(Y(_,E),L=X(L,z,"Password"),j=X(j,z,"Salt"),typeof C==="function")q=C,C="sha1";if(typeof q!=="function")throw Error("No callback provided to pbkdf2");return J.pbkdf2(L,j,_,E,C,q)}function Z(L,j,_,E,C){return Y(_,E),L=X(L,z,"Password"),j=X(j,z,"Salt"),C=C||"sha1",J.pbkdf2Sync(L,j,_,E,C)}if(!J.pbkdf2Sync||J.pbkdf2Sync.toString().indexOf("keylen, digest")===-1)I.pbkdf2Sync=iE(),I.pbkdf2=tw();else I.pbkdf2Sync=Z,I.pbkdf2=W}),aw=b0((I)=>{var J=(uU(),j$(M1));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}),sw=b0((I)=>{var J=(uU(),j$(M1));I.DiffieHellmanGroup=J.DiffieHellmanGroup,I.createDiffieHellmanGroup=J.createDiffieHellmanGroup,I.getDiffieHellman=J.getDiffieHellman,I.createDiffieHellman=J.createDiffieHellman,I.DiffieHellman=J.DiffieHellman}),ew=b0((I)=>{var J=(uU(),j$(M1));I.createSign=J.createSign,I.Sign=J.Sign,I.createVerify=J.createVerify,I.Verify=J.Verify}),$f=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,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(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 z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(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 O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,F);else if(this._parseBase(G,V,O),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 O=0;O<this.length;O++)this.words[O]=0;var D,R,S=0;if(F==="be"){for(O=G.length-1,D=0;O>=0;O-=3)if(R=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}else if(F==="le"){for(O=0,D=0;O<G.length;O+=3)if(R=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}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 _(G,V,F){var O=j(G,F);if(F-1>=V)O|=j(G,F-1)<<4;return O}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var D=0,R=0,S;if(F==="be")for(O=G.length-1;O>=V;O-=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8}this.strip()};function E(G,V,F,O){var D=0,R=Math.min(G.length,F);for(var S=V;S<R;S++){var A=G.charCodeAt(S)-48;if(D*=O,A>=49)D+=A-49+10;else if(A>=17)D+=A-17+10;else D+=A}return D}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var O=0,D=1;D<=67108863;D*=V)O++;O--,D=D/V|0;var R=G.length-F,S=R%O,A=Math.min(R,R-S)+F,K=0;for(var T=F;T<A;T+=O)if(K=E(G,T,T+O,V),this.imuln(D),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(S!==0){var x=1;K=E(G,T,G.length,V);for(T=0;T<S;T++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}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"],q=[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 O=0,D=0;for(var R=0;R<this.length;R++){var S=this.words[R],A=((S<<O|D)&16777215).toString(16);if(D=S>>>24-O&16777215,O+=2,O>=26)O-=26,R--;if(D!==0||R!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(D!==0)F=D.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 K=q[G],T=B[G];F="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(T).toString(G);if(x=x.idivn(T),!x.isZero())F=C[K-v.length]+v+F;else F=v+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 L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var O=this.byteLength(),D=F||Math.max(1,O);X(O<=D,"byte array longer than desired length"),X(D>0,"Requested array length <= 0"),this.strip();var R=V==="le",S=new G(D),A,K,T=this.clone();if(!R){for(K=0;K<D-O;K++)S[K]=0;for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[D-K-1]=A}else{for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[K]=A;for(;K<D;K++)S[K]=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 N(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var O=F/26|0,D=F%26;V[F]=(G.words[O]&1<<D)>>>D}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 O=0;O<F.length;O++)this.words[O]=V.words[O]^F.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];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 O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(F>0)this.words[O]=~this.words[O]&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,O=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<O;else this.words[F]=this.words[F]&~(1<<O);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,O;if(this.length>G.length)F=this,O=G;else F=G,O=this;var D=0;for(var R=0;R<O.length;R++)V=(F.words[R]|0)+(O.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;for(;D!==0&&R<F.length;R++)V=(F.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;if(this.length=F.length,D!==0)this.words[this.length]=D,this.length++;else if(F!==this)for(;R<F.length;R++)this.words[R]=F.words[R];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 O,D;if(F>0)O=this,D=G;else O=G,D=this;var R=0;for(var S=0;S<D.length;S++)V=(O.words[S]|0)-(D.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;for(;R!==0&&S<O.length;S++)V=(O.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;if(R===0&&S<O.length&&O!==this)for(;S<O.length;S++)this.words[S]=O.words[S];if(this.length=Math.max(this.length,S),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function f(G,V,F){F.negative=V.negative^G.negative;var O=G.length+V.length|0;F.length=O,O=O-1|0;var D=G.words[0]|0,R=V.words[0]|0,S=D*R,A=S&67108863,K=S/67108864|0;F.words[0]=A;for(var T=1;T<O;T++){var x=K>>>26,v=K&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;D=G.words[U0]|0,R=V.words[r]|0,S=D*R+v,x+=S/67108864|0,v=S&67108863}F.words[T]=v|0,K=x|0}if(K!==0)F.words[T]=K|0;else F.length--;return F.strip()}var w=function(G,V,F){var O=G.words,D=V.words,R=F.words,S=0,A,K,T,x=O[0]|0,v=x&8191,c=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Q0=O[2]|0,s=Q0&8191,e=Q0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,h=$0&8191,n=$0>>>13,F0=O[5]|0,Y0=F0&8191,O0=F0>>>13,N0=O[6]|0,I0=N0&8191,z0=N0>>>13,I$=O[7]|0,M0=I$&8191,B0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,c0=r$&8191,h0=r$>>>13,YU=D[0]|0,t0=YU&8191,i0=YU>>>13,PU=D[1]|0,m=PU&8191,X0=PU>>>13,e0=D[2]|0,S0=e0&8191,v0=e0>>>13,F$=D[3]|0,x0=F$&8191,y0=F$>>>13,V$=D[4]|0,o0=V$&8191,r0=V$>>>13,OU=D[5]|0,s0=OU&8191,i=OU>>>13,G0=D[6]|0,q0=G0&8191,E0=G0>>>13,W$=D[7]|0,n0=W$&8191,a0=W$>>>13,LU=D[8]|0,X$=LU&8191,U$=LU>>>13,$U=D[9]|0,J$=$U&8191,$$=$U>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(c,t0)|0,T=Math.imul(c,i0);var qU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(v,S0)|0,K=K+Math.imul(v,v0)|0,K=K+Math.imul(c,S0)|0,T=T+Math.imul(c,v0)|0;var S$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,K=K+Math.imul(U0,v0)|0,K=K+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var UU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(UU>>>26)|0,UU&=67108863,A=Math.imul(h,t0),K=Math.imul(h,i0),K=K+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,K=K+Math.imul(s,v0)|0,K=K+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),K=Math.imul(Y0,i0),K=K+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(h,m)|0,K=K+Math.imul(h,X0)|0,K=K+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,K=K+Math.imul(Z0,v0)|0,K=K+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,T=Math.imul(z0,i0),A=A+Math.imul(Y0,m)|0,K=K+Math.imul(Y0,X0)|0,K=K+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(h,S0)|0,K=K+Math.imul(h,v0)|0,K=K+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(v,q0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(c,q0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(Y0,S0)|0,K=K+Math.imul(Y0,v0)|0,K=K+Math.imul(O0,S0)|0,T=T+Math.imul(O0,v0)|0,A=A+Math.imul(h,x0)|0,K=K+Math.imul(h,y0)|0,K=K+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,q0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,q0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,K=K+Math.imul(I0,v0)|0,K=K+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(Y0,x0)|0,K=K+Math.imul(Y0,y0)|0,K=K+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(h,o0)|0,K=K+Math.imul(h,r0)|0,K=K+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,q0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,q0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),K=Math.imul(c0,i0),K=K+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(M0,S0)|0,K=K+Math.imul(M0,v0)|0,K=K+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,T=T+Math.imul(z0,y0)|0,A=A+Math.imul(Y0,o0)|0,K=K+Math.imul(Y0,r0)|0,K=K+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(h,s0)|0,K=K+Math.imul(h,i)|0,K=K+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,q0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,q0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),K=Math.imul(c0,X0),K=K+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,K=K+Math.imul(m0,v0)|0,K=K+Math.imul(p0,S0)|0,T=T+Math.imul(p0,v0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,T=T+Math.imul(z0,r0)|0,A=A+Math.imul(Y0,s0)|0,K=K+Math.imul(Y0,i)|0,K=K+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(h,q0)|0,K=K+Math.imul(h,E0)|0,K=K+Math.imul(n,q0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var t$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(c0,S0),K=Math.imul(c0,v0),K=K+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(Y0,q0)|0,K=K+Math.imul(Y0,E0)|0,K=K+Math.imul(O0,q0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(h,n0)|0,K=K+Math.imul(h,a0)|0,K=K+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var MU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,A=Math.imul(c0,x0),K=Math.imul(c0,y0),K=K+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,q0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,q0)|0,T=T+Math.imul(z0,E0)|0,A=A+Math.imul(Y0,n0)|0,K=K+Math.imul(Y0,a0)|0,K=K+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(h,X$)|0,K=K+Math.imul(h,U$)|0,K=K+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),K=Math.imul(c0,r0),K=K+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(M0,q0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(B0,q0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,T=T+Math.imul(z0,a0)|0,A=A+Math.imul(Y0,X$)|0,K=K+Math.imul(Y0,U$)|0,K=K+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(h,J$)|0,K=K+Math.imul(h,$$)|0,K=K+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),K=Math.imul(c0,i),K=K+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,q0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,q0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,T=T+Math.imul(z0,U$)|0,A=A+Math.imul(Y0,J$)|0,K=K+Math.imul(Y0,$$)|0,K=K+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var _U=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(c0,q0),K=Math.imul(c0,E0),K=K+Math.imul(h0,q0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,T=T+Math.imul(z0,$$)|0;var NU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(c0,n0),K=Math.imul(c0,a0),K=K+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var xU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(c0,X$),K=Math.imul(c0,U$),K=K+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),K=Math.imul(c0,$$),K=K+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((K&8191)<<13)|0;if(S=(T+(K>>>13)|0)+(AU>>>26)|0,AU&=67108863,R[0]=qU,R[1]=B$,R[2]=S$,R[3]=UU,R[4]=d$,R[5]=bU,R[6]=cU,R[7]=hU,R[8]=pU,R[9]=mU,R[10]=t$,R[11]=MU,R[12]=VU,R[13]=lU,R[14]=_U,R[15]=NU,R[16]=xU,R[17]=EU,R[18]=AU,S!==0)R[19]=S,F.length++;return F};if(!Math.imul)w=f;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var O=0,D=0;for(var R=0;R<F.length-1;R++){var S=D;D=0;var A=O&67108863,K=Math.min(R,V.length-1);for(var T=Math.max(0,R-G.length+1);T<=K;T++){var x=R-T,v=G.words[x]|0,c=V.words[T]|0,r=v*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,D+=S>>>26,S&=67108863}F.words[R]=A,O=S,S=D}if(O!==0)F.words[R]=O;else F.length--;return F.strip()}function g(G,V,F){var O=new u;return O.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,O=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(O<63)F=f(this,G,V);else if(O<1024)F=b(this,G,V);else F=g(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 O=0;O<G;O++)V[O]=this.revBin(O,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var O=0;for(var D=0;D<V;D++)O|=(G&1)<<V-D-1,G>>=1;return O},u.prototype.permute=function(G,V,F,O,D,R){for(var S=0;S<R;S++)O[S]=V[G[S]],D[S]=F[G[S]]},u.prototype.transform=function(G,V,F,O,D,R){this.permute(R,G,V,F,O,D);for(var S=1;S<D;S<<=1){var A=S<<1,K=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var x=0;x<D;x+=A){var v=K,c=T;for(var r=0;r<S;r++){var U0=F[x+r],W0=O[x+r],Q0=F[x+r+S],s=O[x+r+S],e=v*Q0-c*s;if(s=v*s+c*Q0,Q0=e,F[x+r]=U0+Q0,O[x+r]=W0+s,F[x+r+S]=U0-Q0,O[x+r+S]=W0-s,r!==A)e=K*v-T*c,c=K*c+T*v,v=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,O=F&1,D=0;for(F=F/2|0;F;F=F>>>1)D++;return 1<<D+1+O},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var O=0;O<F/2;O++){var D=G[O];G[O]=G[F-O-1],G[F-O-1]=D,D=V[O],V[O]=-V[F-O-1],V[F-O-1]=-D}},u.prototype.normalize13b=function(G,V){var F=0;for(var O=0;O<V/2;O++){var D=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+F;if(G[O]=D&67108863,D<67108864)F=0;else F=D/67108864|0}return G},u.prototype.convert13b=function(G,V,F,O){var D=0;for(var R=0;R<V;R++)D=D+(G[R]|0),F[2*R]=D&8191,D=D>>>13,F[2*R+1]=D&8191,D=D>>>13;for(R=2*V;R<O;++R)F[R]=0;X(D===0),X((D&-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 O=2*this.guessLen13b(G.length,V.length),D=this.makeRBT(O),R=this.stub(O),S=Array(O),A=Array(O),K=Array(O),T=Array(O),x=Array(O),v=Array(O),c=F.words;c.length=O,this.convert13b(G.words,G.length,S,O),this.convert13b(V.words,V.length,T,O),this.transform(S,R,A,K,O,D),this.transform(T,R,x,v,O,D);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,c,R,O,D),this.conjugate(c,R,O),this.normalize13b(c,O),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),g(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 O=(this.words[F]|0)*G,D=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=D>>>26,this.words[F]=D&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=N(G);if(V.length===0)return new Z(1);var F=this;for(var O=0;O<V.length;O++,F=F.sqr())if(V[O]!==0)break;if(++O<V.length)for(var D=F.sqr();O<V.length;O++,D=D.sqr()){if(V[O]===0)continue;F=F.mul(D)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,O=67108863>>>26-V<<26-V,D;if(V!==0){var R=0;for(D=0;D<this.length;D++){var S=this.words[D]&O,A=(this.words[D]|0)-S<<V;this.words[D]=A|R,R=S>>>26-V}if(R)this.words[D]=R,this.length++}if(F!==0){for(D=this.length-1;D>=0;D--)this.words[D+F]=this.words[D];for(D=0;D<F;D++)this.words[D]=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 O;if(V)O=(V-V%26)/26;else O=0;var D=G%26,R=Math.min((G-D)/26,this.length),S=67108863^67108863>>>D<<D,A=F;if(O-=R,O=Math.max(0,O),A){for(var K=0;K<R;K++)A.words[K]=this.words[K];A.length=R}if(R===0);else if(this.length>R){this.length-=R;for(K=0;K<this.length;K++)this.words[K]=this.words[K+R]}else this.words[0]=0,this.length=1;var T=0;for(K=this.length-1;K>=0&&(T!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=T<<26-D|x>>>D,T=x&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,O=1<<V;if(this.length<=F)return!1;var D=this.words[F];return!!(D&O)},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 O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}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 O=G.length+F,D;this._expand(O);var R,S=0;for(D=0;D<G.length;D++){R=(this.words[D+F]|0)+S;var A=(G.words[D]|0)*V;R-=A&67108863,S=(R>>26)-(A/67108864|0),this.words[D+F]=R&67108863}for(;D<this.length-F;D++)R=(this.words[D+F]|0)+S,S=R>>26,this.words[D+F]=R&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(D=0;D<this.length;D++)R=-(this.words[D]|0)+S,S=R>>26,this.words[D]=R&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,O=this.clone(),D=G,R=D.words[D.length-1]|0,S=this._countBits(R);if(F=26-S,F!==0)D=D.ushln(F),O.iushln(F),R=D.words[D.length-1]|0;var A=O.length-D.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var T=0;T<K.length;T++)K.words[T]=0}var x=O.clone()._ishlnsubmul(D,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var c=(O.words[D.length+v]|0)*67108864+(O.words[D.length+v-1]|0);c=Math.min(c/R|0,67108863),O._ishlnsubmul(D,c,v);while(O.negative!==0)if(c--,O.negative=0,O._ishlnsubmul(D,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=c}if(K)K.strip();if(O.strip(),V!=="div"&&F!==0)O.iushrn(F);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,D,R;if(this.negative!==0&&G.negative===0){if(R=this.neg().divmod(G,V),V!=="mod")O=R.div.neg();if(V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.iadd(G)}return{div:O,mod:D}}if(this.negative===0&&G.negative!==0){if(R=this.divmod(G.neg(),V),V!=="mod")O=R.div.neg();return{div:O,mod:R.mod}}if((this.negative&G.negative)!==0){if(R=this.neg().divmod(G.neg(),V),V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.isub(G)}return{div:R.div,mod:D}}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,O=G.ushrn(1),D=G.andln(1),R=F.cmp(O);if(R<0||D===1&&R===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 O=this.length-1;O>=0;O--)F=(V*F+(this.words[O]|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 O=(this.words[F]|0)+V*67108864;this.words[F]=O/G|0,V=O%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 O=new Z(1),D=new Z(0),R=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var K=F.clone(),T=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||D.isOdd())O.iadd(K),D.isub(T);O.iushrn(1),D.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(R.isOdd()||S.isOdd())R.iadd(K),S.isub(T);R.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(R),D.isub(S);else F.isub(V),R.isub(O),S.isub(D)}return{a:R,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 O=new Z(1),D=new Z(0),R=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(O.isOdd())O.iadd(R);O.iushrn(1)}}for(var K=0,T=1;(F.words[0]&T)===0&&K<26;++K,T<<=1);if(K>0){F.iushrn(K);while(K-- >0){if(D.isOdd())D.iadd(R);D.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(D);else F.isub(V),D.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=D;if(x.cmpn(0)<0)x.iadd(G);return x},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 O=0;V.isEven()&&F.isEven();O++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var D=V.cmp(F);if(D<0){var R=V;V=F,F=R}else if(D===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(O)},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,O=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=O,this;var D=O;for(var R=F;D!==0&&R<this.length;R++){var S=this.words[R]|0;S+=D,D=S>>>26,S&=67108863,this.words[R]=S}if(D!==0)this.words[R]=D,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 O=this.words[0]|0;F=O===G?0:O<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 O=this.words[F]|0,D=G.words[F]|0;if(O===D)continue;if(O<D)V=-1;else if(O>D)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 O=F<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>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")}W(a,d),a.prototype.split=function(G,V){var F=4194303,O=Math.min(G.length,9);for(var D=0;D<O;D++)V.words[D]=G.words[D];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var R=G.words[9];V.words[V.length++]=R&F;for(D=10;D<G.length;D++){var S=G.words[D]|0;G.words[D-10]=(S&F)<<4|R>>>22,R=S}if(R>>>=22,G.words[D-10]=R,R===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 O=G.words[F]|0;V+=O*977,G.words[F]=V&67108863,V=O*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 D0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(D0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function _0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(_0,d),_0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var O=(G.words[F]|0)*19+V,D=O&67108863;O>>>=26,G.words[F]=D,V=O}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 D0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new _0;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 O=this.m.subn(1),D=0;while(!O.isZero()&&O.andln(1)===0)D++,O.iushrn(1);X(!O.isZero());var R=new Z(1).toRed(this),S=R.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(S)!==0)K.redIAdd(S);var T=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),c=D;while(v.cmp(R)!==0){var r=v;for(var U0=0;r.cmp(R)!==0;U0++)r=r.redSqr();X(U0<c);var W0=this.pow(T,new Z(1).iushln(c-U0-1));x=x.redMul(W0),T=W0.redSqr(),v=v.redMul(T),c=U0}return x},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,O=Array(1<<F);O[0]=new Z(1).toRed(this),O[1]=G;for(var D=2;D<O.length;D++)O[D]=this.mul(O[D-1],G);var R=O[0],S=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(D=V.length-1;D>=0;D--){var T=V.words[D];for(var x=K-1;x>=0;x--){var v=T>>x&1;if(R!==O[0])R=this.sqr(R);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==F&&(D!==0||x!==0))continue;R=this.mul(R,O[S]),A=0,S=0}K=26}return R},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)}W(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),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._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)}),JX=b0((I,J)=>{J.exports=Y;function Y(z,X){if(!z)throw Error(X||"Assertion failed")}Y.equal=function(z,X,W){if(z!=X)throw Error(W||"Assertion failed: "+z+" != "+X)}}),tE=b0((I)=>{var J=I;function Y(W,Z){if(Array.isArray(W))return W.slice();if(!W)return[];var L=[];if(typeof W!=="string"){for(var j=0;j<W.length;j++)L[j]=W[j]|0;return L}if(Z==="hex"){if(W=W.replace(/[^a-z0-9]+/ig,""),W.length%2!==0)W="0"+W;for(var j=0;j<W.length;j+=2)L.push(parseInt(W[j]+W[j+1],16))}else for(var j=0;j<W.length;j++){var _=W.charCodeAt(j),E=_>>8,C=_&255;if(E)L.push(E,C);else L.push(C)}return L}J.toArray=Y;function z(W){if(W.length===1)return"0"+W;else return W}J.zero2=z;function X(W){var Z="";for(var L=0;L<W.length;L++)Z+=z(W[L].toString(16));return Z}J.toHex=X,J.encode=function(W,Z){if(Z==="hex")return X(W);else return W}}),f1=b0((I)=>{var J=I,Y=WI(),z=JX(),X=tE();J.assert=z,J.toArray=X.toArray,J.zero2=X.zero2,J.toHex=X.toHex,J.encode=X.encode;function W(E,C,q){var B=Array(Math.max(E.bitLength(),q)+1),N;for(N=0;N<B.length;N+=1)B[N]=0;var f=1<<C+1,w=E.clone();for(N=0;N<B.length;N++){var b,g=w.andln(f-1);if(w.isOdd()){if(g>(f>>1)-1)b=(f>>1)-g;else b=g;w.isubn(b)}else b=0;B[N]=b,w.iushrn(1)}return B}J.getNAF=W;function Z(E,C){var q=[[],[]];E=E.clone(),C=C.clone();var B=0,N=0,f;while(E.cmpn(-B)>0||C.cmpn(-N)>0){var w=E.andln(3)+B&3,b=C.andln(3)+N&3;if(w===3)w=-1;if(b===3)b=-1;var g;if((w&1)===0)g=0;else if(f=E.andln(7)+B&7,(f===3||f===5)&&b===2)g=-w;else g=w;q[0].push(g);var u;if((b&1)===0)u=0;else if(f=C.andln(7)+N&7,(f===3||f===5)&&w===2)u=-b;else u=b;if(q[1].push(u),2*B===g+1)B=1-B;if(2*N===u+1)N=1-N;E.iushrn(1),C.iushrn(1)}return q}J.getJSF=Z;function L(E,C,q){var B="_"+C;E.prototype[C]=function(){return this[B]!==void 0?this[B]:this[B]=q.call(this)}}J.cachedProperty=L;function j(E){return typeof E==="string"?J.toArray(E,"hex"):E}J.parseBytes=j;function _(E){return new Y(E,"hex","le")}J.intFromLE=_}),aE=b0((I,J)=>{var Y;J.exports=function(W){if(!Y)Y=new z(null);return Y.generate(W)};function z(W){this.rand=W}if(J.exports.Rand=z,z.prototype.generate=function(W){return this._rand(W)},z.prototype._rand=function(W){if(this.rand.getBytes)return this.rand.getBytes(W);var Z=new Uint8Array(W);for(var L=0;L<Z.length;L++)Z[L]=this.rand.getByte();return Z},typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues)z.prototype._rand=function(W){var Z=new Uint8Array(W);return self.crypto.getRandomValues(Z),Z};else if(self.msCrypto&&self.msCrypto.getRandomValues)z.prototype._rand=function(W){var Z=new Uint8Array(W);return self.msCrypto.getRandomValues(Z),Z};else if(typeof window==="object")z.prototype._rand=function(){throw Error("Not implemented yet")}}else try{if(X=(uU(),j$(M1)),typeof X.randomBytes!=="function")throw Error("Not supported");z.prototype._rand=function(W){return X.randomBytes(W)}}catch(W){}var X}),AK=b0((I,J)=>{var Y=WI(),z=f1(),X=z.getNAF,W=z.getJSF,Z=z.assert;function L(_,E){this.type=_,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=L,L.prototype.point=function(){throw Error("Not implemented")},L.prototype.validate=function(){throw Error("Not implemented")},L.prototype._fixedNafMul=function(_,E){Z(_.precomputed);var C=_._getDoubles(),q=X(E,1,this._bitLength),B=(1<<C.step+1)-(C.step%2===0?2:1);B/=3;var N=[],f,w;for(f=0;f<q.length;f+=C.step){w=0;for(var b=f+C.step-1;b>=f;b--)w=(w<<1)+q[b];N.push(w)}var g=this.jpoint(null,null,null),u=this.jpoint(null,null,null);for(var p=B;p>0;p--){for(f=0;f<N.length;f++)if(w=N[f],w===p)u=u.mixedAdd(C.points[f]);else if(w===-p)u=u.mixedAdd(C.points[f].neg());g=g.add(u)}return g.toP()},L.prototype._wnafMul=function(_,E){var C=4,q=_._getNAFPoints(C);C=q.wnd;var B=q.points,N=X(E,C,this._bitLength),f=this.jpoint(null,null,null);for(var w=N.length-1;w>=0;w--){for(var b=0;w>=0&&N[w]===0;w--)b++;if(w>=0)b++;if(f=f.dblp(b),w<0)break;var g=N[w];if(Z(g!==0),_.type==="affine")if(g>0)f=f.mixedAdd(B[g-1>>1]);else f=f.mixedAdd(B[-g-1>>1].neg());else if(g>0)f=f.add(B[g-1>>1]);else f=f.add(B[-g-1>>1].neg())}return _.type==="affine"?f.toP():f},L.prototype._wnafMulAdd=function(_,E,C,q,B){var N=this._wnafT1,f=this._wnafT2,w=this._wnafT3,b=0,g,u,p;for(g=0;g<q;g++){p=E[g];var d=p._getNAFPoints(_);N[g]=d.wnd,f[g]=d.points}for(g=q-1;g>=1;g-=2){var a=g-1,D0=g;if(N[a]!==1||N[D0]!==1){w[a]=X(C[a],N[a],this._bitLength),w[D0]=X(C[D0],N[D0],this._bitLength),b=Math.max(w[a].length,b),b=Math.max(w[D0].length,b);continue}var L0=[E[a],null,null,E[D0]];if(E[a].y.cmp(E[D0].y)===0)L0[1]=E[a].add(E[D0]),L0[2]=E[a].toJ().mixedAdd(E[D0].neg());else if(E[a].y.cmp(E[D0].y.redNeg())===0)L0[1]=E[a].toJ().mixedAdd(E[D0]),L0[2]=E[a].add(E[D0].neg());else L0[1]=E[a].toJ().mixedAdd(E[D0]),L0[2]=E[a].toJ().mixedAdd(E[D0].neg());var _0=[-3,-1,-5,-7,0,7,5,1,3],t=W(C[a],C[D0]);b=Math.max(t[0].length,b),w[a]=Array(b),w[D0]=Array(b);for(u=0;u<b;u++){var T0=t[0][u]|0,G=t[1][u]|0;w[a][u]=_0[(T0+1)*3+(G+1)],w[D0][u]=0,f[a]=L0}}var V=this.jpoint(null,null,null),F=this._wnafT4;for(g=b;g>=0;g--){var O=0;while(g>=0){var D=!0;for(u=0;u<q;u++)if(F[u]=w[u][g]|0,F[u]!==0)D=!1;if(!D)break;O++,g--}if(g>=0)O++;if(V=V.dblp(O),g<0)break;for(u=0;u<q;u++){var R=F[u];if(R===0)continue;else if(R>0)p=f[u][R-1>>1];else if(R<0)p=f[u][-R-1>>1].neg();if(p.type==="affine")V=V.mixedAdd(p);else V=V.add(p)}}for(g=0;g<q;g++)f[g]=null;if(B)return V;else return V.toP()};function j(_,E){this.curve=_,this.type=E,this.precomputed=null}L.BasePoint=j,j.prototype.eq=function(){throw Error("Not implemented")},j.prototype.validate=function(){return this.curve.validate(this)},L.prototype.decodePoint=function(_,E){_=z.toArray(_,E);var C=this.p.byteLength();if((_[0]===4||_[0]===6||_[0]===7)&&_.length-1===2*C){if(_[0]===6)Z(_[_.length-1]%2===0);else if(_[0]===7)Z(_[_.length-1]%2===1);var q=this.point(_.slice(1,1+C),_.slice(1+C,1+2*C));return q}else if((_[0]===2||_[0]===3)&&_.length-1===C)return this.pointFromX(_.slice(1,1+C),_[0]===3);throw Error("Unknown point format")},j.prototype.encodeCompressed=function(_){return this.encode(_,!0)},j.prototype._encode=function(_){var E=this.curve.p.byteLength(),C=this.getX().toArray("be",E);if(_)return[this.getY().isEven()?2:3].concat(C);return[4].concat(C,this.getY().toArray("be",E))},j.prototype.encode=function(_,E){return z.encode(this._encode(E),_)},j.prototype.precompute=function(_){if(this.precomputed)return this;var E={doubles:null,naf:null,beta:null};return E.naf=this._getNAFPoints(8),E.doubles=this._getDoubles(4,_),E.beta=this._getBeta(),this.precomputed=E,this},j.prototype._hasDoubles=function(_){if(!this.precomputed)return!1;var E=this.precomputed.doubles;if(!E)return!1;return E.points.length>=Math.ceil((_.bitLength()+1)/E.step)},j.prototype._getDoubles=function(_,E){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var C=[this],q=this;for(var B=0;B<E;B+=_){for(var N=0;N<_;N++)q=q.dbl();C.push(q)}return{step:_,points:C}},j.prototype._getNAFPoints=function(_){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var E=[this],C=(1<<_)-1,q=C===1?null:this.dbl();for(var B=1;B<C;B++)E[B]=E[B-1].add(q);return{wnd:_,points:E}},j.prototype._getBeta=function(){return null},j.prototype.dblp=function(_){var E=this;for(var C=0;C<_;C++)E=E.dbl();return E}}),Uf=b0((I,J)=>{if(typeof Object.create==="function")J.exports=function(Y,z){if(z)Y.super_=z,Y.prototype=Object.create(z.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,z){if(z){Y.super_=z;var X=function(){};X.prototype=z.prototype,Y.prototype=new X,Y.prototype.constructor=Y}}}),F1=b0((I,J)=>{try{if(Y=(EQ(),j$(_Q)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(z){J.exports=Uf()}var Y}),If=b0((I,J)=>{var Y=f1(),z=WI(),X=F1(),W=AK(),Z=Y.assert;function L(E){W.call(this,"short",E),this.a=new z(E.a,16).toRed(this.red),this.b=new z(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(L,W),J.exports=L,L.prototype._getEndomorphism=function(E){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var C,q;if(E.beta)C=new z(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)q=new z(E.lambda,16);else{var N=this._getEndoRoots(this.n);if(this.g.mul(N[0]).x.cmp(this.g.x.redMul(C))===0)q=N[0];else q=N[1],Z(this.g.mul(q).x.cmp(this.g.x.redMul(C))===0)}var f;if(E.basis)f=E.basis.map(function(w){return{a:new z(w.a,16),b:new z(w.b,16)}});else f=this._getEndoBasis(q);return{beta:C,lambda:q,basis:f}},L.prototype._getEndoRoots=function(E){var C=E===this.p?this.red:z.mont(E),q=new z(2).toRed(C).redInvm(),B=q.redNeg(),N=new z(3).toRed(C).redNeg().redSqrt().redMul(q),f=B.redAdd(N).fromRed(),w=B.redSub(N).fromRed();return[f,w]},L.prototype._getEndoBasis=function(E){var C=this.n.ushrn(Math.floor(this.n.bitLength()/2)),q=E,B=this.n.clone(),N=new z(1),f=new z(0),w=new z(0),b=new z(1),g,u,p,d,a,D0,L0,_0=0,t,T0;while(q.cmpn(0)!==0){var G=B.div(q);t=B.sub(G.mul(q)),T0=w.sub(G.mul(N));var V=b.sub(G.mul(f));if(!p&&t.cmp(C)<0)g=L0.neg(),u=N,p=t.neg(),d=T0;else if(p&&++_0===2)break;L0=t,B=q,q=t,w=N,N=T0,b=f,f=V}a=t.neg(),D0=T0;var F=p.sqr().add(d.sqr()),O=a.sqr().add(D0.sqr());if(O.cmp(F)>=0)a=g,D0=u;if(p.negative)p=p.neg(),d=d.neg();if(a.negative)a=a.neg(),D0=D0.neg();return[{a:p,b:d},{a,b:D0}]},L.prototype._endoSplit=function(E){var C=this.endo.basis,q=C[0],B=C[1],N=B.b.mul(E).divRound(this.n),f=q.b.neg().mul(E).divRound(this.n),w=N.mul(q.a),b=f.mul(B.a),g=N.mul(q.b),u=f.mul(B.b),p=E.sub(w).sub(b),d=g.add(u).neg();return{k1:p,k2:d}},L.prototype.pointFromX=function(E,C){if(E=new z(E,16),!E.red)E=E.toRed(this.red);var q=E.redSqr().redMul(E).redIAdd(E.redMul(this.a)).redIAdd(this.b),B=q.redSqrt();if(B.redSqr().redSub(q).cmp(this.zero)!==0)throw Error("invalid point");var N=B.fromRed().isOdd();if(C&&!N||!C&&N)B=B.redNeg();return this.point(E,B)},L.prototype.validate=function(E){if(E.inf)return!0;var{x:C,y:q}=E,B=this.a.redMul(C),N=C.redSqr().redMul(C).redIAdd(B).redIAdd(this.b);return q.redSqr().redISub(N).cmpn(0)===0},L.prototype._endoWnafMulAdd=function(E,C,q){var B=this._endoWnafT1,N=this._endoWnafT2;for(var f=0;f<E.length;f++){var w=this._endoSplit(C[f]),b=E[f],g=b._getBeta();if(w.k1.negative)w.k1.ineg(),b=b.neg(!0);if(w.k2.negative)w.k2.ineg(),g=g.neg(!0);B[f*2]=b,B[f*2+1]=g,N[f*2]=w.k1,N[f*2+1]=w.k2}var u=this._wnafMulAdd(1,B,N,f*2,q);for(var p=0;p<f*2;p++)B[p]=null,N[p]=null;return u};function j(E,C,q,B){if(W.BasePoint.call(this,E,"affine"),C===null&&q===null)this.x=null,this.y=null,this.inf=!0;else{if(this.x=new z(C,16),this.y=new z(q,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,W.BasePoint),L.prototype.point=function(E,C,q){return new j(this,E,C,q)},L.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 q=this.curve,B=function(N){return q.point(N.x.redMul(q.endo.beta),N.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,q){if(typeof C==="string")C=JSON.parse(C);var B=E.point(C[0],C[1],q);if(!C[2])return B;function N(w){return E.point(w[0],w[1],q)}var f=C[2];return B.precomputed={beta:null,doubles:f.doubles&&{step:f.doubles.step,points:[B].concat(f.doubles.points.map(N))},naf:f.naf&&{wnd:f.naf.wnd,points:[B].concat(f.naf.points.map(N))}},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 q=C.redSqr().redISub(this.x).redISub(E.x),B=C.redMul(this.x.redSub(q)).redISub(this.y);return this.curve.point(q,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,q=this.x.redSqr(),B=E.redInvm(),N=q.redAdd(q).redIAdd(q).redIAdd(C).redMul(B),f=N.redSqr().redISub(this.x.redAdd(this.x)),w=N.redMul(this.x.redSub(f)).redISub(this.y);return this.curve.point(f,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 z(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,q){var B=[this,C],N=[E,q];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,N);else return this.curve._wnafMulAdd(1,B,N,2)},j.prototype.jmulAdd=function(E,C,q){var B=[this,C],N=[E,q];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,N,!0);else return this.curve._wnafMulAdd(1,B,N,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 q=this.precomputed,B=function(N){return N.neg()};C.precomputed={naf:q.naf&&{wnd:q.naf.wnd,points:q.naf.points.map(B)},doubles:q.doubles&&{step:q.doubles.step,points:q.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 _(E,C,q,B){if(W.BasePoint.call(this,E,"jacobian"),C===null&&q===null&&B===null)this.x=this.curve.one,this.y=this.curve.one,this.z=new z(0);else this.x=new z(C,16),this.y=new z(q,16),this.z=new z(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(_,W.BasePoint),L.prototype.jpoint=function(E,C,q){return new _(this,E,C,q)},_.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var E=this.z.redInvm(),C=E.redSqr(),q=this.x.redMul(C),B=this.y.redMul(C).redMul(E);return this.curve.point(q,B)},_.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},_.prototype.add=function(E){if(this.isInfinity())return E;if(E.isInfinity())return this;var C=E.z.redSqr(),q=this.z.redSqr(),B=this.x.redMul(C),N=E.x.redMul(q),f=this.y.redMul(C.redMul(E.z)),w=E.y.redMul(q.redMul(this.z)),b=B.redSub(N),g=f.redSub(w);if(b.cmpn(0)===0)if(g.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=g.redSqr().redIAdd(p).redISub(d).redISub(d),D0=g.redMul(d.redISub(a)).redISub(f.redMul(p)),L0=this.z.redMul(E.z).redMul(b);return this.curve.jpoint(a,D0,L0)},_.prototype.mixedAdd=function(E){if(this.isInfinity())return E.toJ();if(E.isInfinity())return this;var C=this.z.redSqr(),q=this.x,B=E.x.redMul(C),N=this.y,f=E.y.redMul(C).redMul(this.z),w=q.redSub(B),b=N.redSub(f);if(w.cmpn(0)===0)if(b.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var g=w.redSqr(),u=g.redMul(w),p=q.redMul(g),d=b.redSqr().redIAdd(u).redISub(p).redISub(p),a=b.redMul(p.redISub(d)).redISub(N.redMul(u)),D0=this.z.redMul(w);return this.curve.jpoint(d,a,D0)},_.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 q=this;for(C=0;C<E;C++)q=q.dbl();return q}var B=this.curve.a,N=this.curve.tinv,f=this.x,w=this.y,b=this.z,g=b.redSqr().redSqr(),u=w.redAdd(w);for(C=0;C<E;C++){var p=f.redSqr(),d=u.redSqr(),a=d.redSqr(),D0=p.redAdd(p).redIAdd(p).redIAdd(B.redMul(g)),L0=f.redMul(d),_0=D0.redSqr().redISub(L0.redAdd(L0)),t=L0.redISub(_0),T0=D0.redMul(t);T0=T0.redIAdd(T0).redISub(a);var G=u.redMul(b);if(C+1<E)g=g.redMul(a);f=_0,b=G,u=T0}return this.curve.jpoint(f,u.redMul(N),b)},_.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()},_.prototype._zeroDbl=function(){var E,C,q;if(this.zOne){var B=this.x.redSqr(),N=this.y.redSqr(),f=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(B).redISub(f);w=w.redIAdd(w);var b=B.redAdd(B).redIAdd(B),g=b.redSqr().redISub(w).redISub(w),u=f.redIAdd(f);u=u.redIAdd(u),u=u.redIAdd(u),E=g,C=b.redMul(w.redISub(g)).redISub(u),q=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),d=this.y.redSqr(),a=d.redSqr(),D0=this.x.redAdd(d).redSqr().redISub(p).redISub(a);D0=D0.redIAdd(D0);var L0=p.redAdd(p).redIAdd(p),_0=L0.redSqr(),t=a.redIAdd(a);t=t.redIAdd(t),t=t.redIAdd(t),E=_0.redISub(D0).redISub(D0),C=L0.redMul(D0.redISub(E)).redISub(t),q=this.y.redMul(this.z),q=q.redIAdd(q)}return this.curve.jpoint(E,C,q)},_.prototype._threeDbl=function(){var E,C,q;if(this.zOne){var B=this.x.redSqr(),N=this.y.redSqr(),f=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(B).redISub(f);w=w.redIAdd(w);var b=B.redAdd(B).redIAdd(B).redIAdd(this.curve.a),g=b.redSqr().redISub(w).redISub(w);E=g;var u=f.redIAdd(f);u=u.redIAdd(u),u=u.redIAdd(u),C=b.redMul(w.redISub(g)).redISub(u),q=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),d=this.y.redSqr(),a=this.x.redMul(d),D0=this.x.redSub(p).redMul(this.x.redAdd(p));D0=D0.redAdd(D0).redIAdd(D0);var L0=a.redIAdd(a);L0=L0.redIAdd(L0);var _0=L0.redAdd(L0);E=D0.redSqr().redISub(_0),q=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=D0.redMul(L0.redISub(E)).redISub(t)}return this.curve.jpoint(E,C,q)},_.prototype._dbl=function(){var E=this.curve.a,C=this.x,q=this.y,B=this.z,N=B.redSqr().redSqr(),f=C.redSqr(),w=q.redSqr(),b=f.redAdd(f).redIAdd(f).redIAdd(E.redMul(N)),g=C.redAdd(C);g=g.redIAdd(g);var u=g.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 D0=b.redMul(d).redISub(a),L0=q.redAdd(q).redMul(B);return this.curve.jpoint(p,D0,L0)},_.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var E=this.x.redSqr(),C=this.y.redSqr(),q=this.z.redSqr(),B=C.redSqr(),N=E.redAdd(E).redIAdd(E),f=N.redSqr(),w=this.x.redAdd(C).redSqr().redISub(E).redISub(B);w=w.redIAdd(w),w=w.redAdd(w).redIAdd(w),w=w.redISub(f);var b=w.redSqr(),g=B.redIAdd(B);g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g);var u=N.redIAdd(w).redSqr().redISub(f).redISub(b).redISub(g),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(g.redISub(u)).redISub(w.redMul(b)));a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var D0=this.z.redAdd(w).redSqr().redISub(q).redISub(b);return this.curve.jpoint(d,a,D0)},_.prototype.mul=function(E,C){return E=new z(E,C),this.curve._wnafMul(this,E)},_.prototype.eq=function(E){if(E.type==="affine")return this.eq(E.toJ());if(this===E)return!0;var C=this.z.redSqr(),q=E.z.redSqr();if(this.x.redMul(q).redISub(E.x.redMul(C)).cmpn(0)!==0)return!1;var B=C.redMul(this.z),N=q.redMul(E.z);return this.y.redMul(N).redISub(E.y.redMul(B)).cmpn(0)===0},_.prototype.eqXToP=function(E){var C=this.z.redSqr(),q=E.toRed(this.curve.red).redMul(C);if(this.x.cmp(q)===0)return!0;var B=E.clone(),N=this.curve.redN.redMul(C);for(;;){if(B.iadd(this.curve.n),B.cmp(this.curve.p)>=0)return!1;if(q.redIAdd(N),this.x.cmp(q)===0)return!0}},_.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)+">"},_.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),Xf=b0((I,J)=>{var Y=WI(),z=F1(),X=AK(),W=f1();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))}z(Z,X),J.exports=Z,Z.prototype.validate=function(j){var _=j.normalize().x,E=_.redSqr(),C=E.redMul(_).redAdd(E.redMul(this.a)).redAdd(_),q=C.redSqrt();return q.redSqr().cmp(C)===0};function L(j,_,E){if(X.BasePoint.call(this,j,"projective"),_===null&&E===null)this.x=this.curve.one,this.z=this.curve.zero;else{if(this.x=new Y(_,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)}}z(L,X.BasePoint),Z.prototype.decodePoint=function(j,_){return this.point(W.toArray(j,_),1)},Z.prototype.point=function(j,_){return new L(this,j,_)},Z.prototype.pointFromJSON=function(j){return L.fromJSON(this,j)},L.prototype.precompute=function(){},L.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},L.fromJSON=function(j,_){return new L(j,_[0],_[1]||j.one)},L.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)+">"},L.prototype.isInfinity=function(){return this.z.cmpn(0)===0},L.prototype.dbl=function(){var j=this.x.redAdd(this.z),_=j.redSqr(),E=this.x.redSub(this.z),C=E.redSqr(),q=_.redSub(C),B=_.redMul(C),N=q.redMul(C.redAdd(this.curve.a24.redMul(q)));return this.curve.point(B,N)},L.prototype.add=function(){throw Error("Not supported on Montgomery curve")},L.prototype.diffAdd=function(j,_){var E=this.x.redAdd(this.z),C=this.x.redSub(this.z),q=j.x.redAdd(j.z),B=j.x.redSub(j.z),N=B.redMul(E),f=q.redMul(C),w=_.z.redMul(N.redAdd(f).redSqr()),b=_.x.redMul(N.redISub(f).redSqr());return this.curve.point(w,b)},L.prototype.mul=function(j){var _=j.clone(),E=this,C=this.curve.point(null,null),q=this;for(var B=[];_.cmpn(0)!==0;_.iushrn(1))B.push(_.andln(1));for(var N=B.length-1;N>=0;N--)if(B[N]===0)E=E.diffAdd(C,q),C=C.dbl();else C=E.diffAdd(C,q),E=E.dbl();return C},L.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.eq=function(j){return this.getX().cmp(j.getX())===0},L.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},L.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}),Jf=b0((I,J)=>{var Y=f1(),z=WI(),X=F1(),W=AK(),Z=Y.assert;function L(_){this.twisted=(_.a|0)!==1,this.mOneA=this.twisted&&(_.a|0)===-1,this.extended=this.mOneA,W.call(this,"edwards",_),this.a=new z(_.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new z(_.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new z(_.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Z(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(_.c|0)===1}X(L,W),J.exports=L,L.prototype._mulA=function(_){if(this.mOneA)return _.redNeg();else return this.a.redMul(_)},L.prototype._mulC=function(_){if(this.oneC)return _;else return this.c.redMul(_)},L.prototype.jpoint=function(_,E,C,q){return this.point(_,E,C,q)},L.prototype.pointFromX=function(_,E){if(_=new z(_,16),!_.red)_=_.toRed(this.red);var C=_.redSqr(),q=this.c2.redSub(this.a.redMul(C)),B=this.one.redSub(this.c2.redMul(this.d).redMul(C)),N=q.redMul(B.redInvm()),f=N.redSqrt();if(f.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");var w=f.fromRed().isOdd();if(E&&!w||!E&&w)f=f.redNeg();return this.point(_,f)},L.prototype.pointFromY=function(_,E){if(_=new z(_,16),!_.red)_=_.toRed(this.red);var C=_.redSqr(),q=C.redSub(this.c2),B=C.redMul(this.d).redMul(this.c2).redSub(this.a),N=q.redMul(B.redInvm());if(N.cmp(this.zero)===0)if(E)throw Error("invalid point");else return this.point(this.zero,_);var f=N.redSqrt();if(f.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");if(f.fromRed().isOdd()!==E)f=f.redNeg();return this.point(f,_)},L.prototype.validate=function(_){if(_.isInfinity())return!0;_.normalize();var E=_.x.redSqr(),C=_.y.redSqr(),q=E.redMul(this.a).redAdd(C),B=this.c2.redMul(this.one.redAdd(this.d.redMul(E).redMul(C)));return q.cmp(B)===0};function j(_,E,C,q,B){if(W.BasePoint.call(this,_,"projective"),E===null&&C===null&&q===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 z(E,16),this.y=new z(C,16),this.z=q?new z(q,16):this.curve.one,this.t=B&&new z(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,W.BasePoint),L.prototype.pointFromJSON=function(_){return j.fromJSON(this,_)},L.prototype.point=function(_,E,C,q){return new j(this,_,E,C,q)},j.fromJSON=function(_,E){return new j(_,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 _=this.x.redSqr(),E=this.y.redSqr(),C=this.z.redSqr();C=C.redIAdd(C);var q=this.curve._mulA(_),B=this.x.redAdd(this.y).redSqr().redISub(_).redISub(E),N=q.redAdd(E),f=N.redSub(C),w=q.redSub(E),b=B.redMul(f),g=N.redMul(w),u=B.redMul(w),p=f.redMul(N);return this.curve.point(b,g,p,u)},j.prototype._projDbl=function(){var _=this.x.redAdd(this.y).redSqr(),E=this.x.redSqr(),C=this.y.redSqr(),q,B,N,f,w,b;if(this.curve.twisted){f=this.curve._mulA(E);var g=f.redAdd(C);if(this.zOne)q=_.redSub(E).redSub(C).redMul(g.redSub(this.curve.two)),B=g.redMul(f.redSub(C)),N=g.redSqr().redSub(g).redSub(g);else w=this.z.redSqr(),b=g.redSub(w).redISub(w),q=_.redSub(E).redISub(C).redMul(b),B=g.redMul(f.redSub(C)),N=g.redMul(b)}else f=E.redAdd(C),w=this.curve._mulC(this.z).redSqr(),b=f.redSub(w).redSub(w),q=this.curve._mulC(_.redISub(f)).redMul(b),B=this.curve._mulC(f).redMul(E.redISub(C)),N=f.redMul(b);return this.curve.point(q,B,N)},j.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()},j.prototype._extAdd=function(_){var E=this.y.redSub(this.x).redMul(_.y.redSub(_.x)),C=this.y.redAdd(this.x).redMul(_.y.redAdd(_.x)),q=this.t.redMul(this.curve.dd).redMul(_.t),B=this.z.redMul(_.z.redAdd(_.z)),N=C.redSub(E),f=B.redSub(q),w=B.redAdd(q),b=C.redAdd(E),g=N.redMul(f),u=w.redMul(b),p=N.redMul(b),d=f.redMul(w);return this.curve.point(g,u,d,p)},j.prototype._projAdd=function(_){var E=this.z.redMul(_.z),C=E.redSqr(),q=this.x.redMul(_.x),B=this.y.redMul(_.y),N=this.curve.d.redMul(q).redMul(B),f=C.redSub(N),w=C.redAdd(N),b=this.x.redAdd(this.y).redMul(_.x.redAdd(_.y)).redISub(q).redISub(B),g=E.redMul(f).redMul(b),u,p;if(this.curve.twisted)u=E.redMul(w).redMul(B.redSub(this.curve._mulA(q))),p=f.redMul(w);else u=E.redMul(w).redMul(B.redSub(q)),p=this.curve._mulC(f).redMul(w);return this.curve.point(g,u,p)},j.prototype.add=function(_){if(this.isInfinity())return _;if(_.isInfinity())return this;if(this.curve.extended)return this._extAdd(_);else return this._projAdd(_)},j.prototype.mul=function(_){if(this._hasDoubles(_))return this.curve._fixedNafMul(this,_);else return this.curve._wnafMul(this,_)},j.prototype.mulAdd=function(_,E,C){return this.curve._wnafMulAdd(1,[this,E],[_,C],2,!1)},j.prototype.jmulAdd=function(_,E,C){return this.curve._wnafMulAdd(1,[this,E],[_,C],2,!0)},j.prototype.normalize=function(){if(this.zOne)return this;var _=this.z.redInvm();if(this.x=this.x.redMul(_),this.y=this.y.redMul(_),this.t)this.t=this.t.redMul(_);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(_){return this===_||this.getX().cmp(_.getX())===0&&this.getY().cmp(_.getY())===0},j.prototype.eqXToP=function(_){var E=_.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(E)===0)return!0;var C=_.clone(),q=this.curve.redN.redMul(this.z);for(;;){if(C.iadd(this.curve.n),C.cmp(this.curve.p)>=0)return!1;if(E.redIAdd(q),this.x.cmp(E)===0)return!0}},j.prototype.toP=j.prototype.normalize,j.prototype.mixedAdd=j.prototype.add}),sE=b0((I)=>{var J=I;J.base=AK(),J.short=If(),J.mont=Xf(),J.edwards=Jf()}),B4=b0((I)=>{var J=JX(),Y=F1();I.inherits=Y;function z(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 O=[];if(typeof V==="string"){if(!F){var D=0;for(var R=0;R<V.length;R++){var S=V.charCodeAt(R);if(S<128)O[D++]=S;else if(S<2048)O[D++]=S>>6|192,O[D++]=S&63|128;else if(z(V,R))S=65536+((S&1023)<<10)+(V.charCodeAt(++R)&1023),O[D++]=S>>18|240,O[D++]=S>>12&63|128,O[D++]=S>>6&63|128,O[D++]=S&63|128;else O[D++]=S>>12|224,O[D++]=S>>6&63|128,O[D++]=S&63|128}}else if(F==="hex"){if(V=V.replace(/[^a-z0-9]+/ig,""),V.length%2!==0)V="0"+V;for(R=0;R<V.length;R+=2)O.push(parseInt(V[R]+V[R+1],16))}}else for(R=0;R<V.length;R++)O[R]=V[R]|0;return O}I.toArray=X;function W(V){var F="";for(var O=0;O<V.length;O++)F+=j(V[O].toString(16));return F}I.toHex=W;function Z(V){var F=V>>>24|V>>>8&65280|V<<8&16711680|(V&255)<<24;return F>>>0}I.htonl=Z;function L(V,F){var O="";for(var D=0;D<V.length;D++){var R=V[D];if(F==="little")R=Z(R);O+=_(R.toString(16))}return O}I.toHex32=L;function j(V){if(V.length===1)return"0"+V;else return V}I.zero2=j;function _(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=_;function E(V,F,O,D){var R=O-F;J(R%4===0);var S=Array(R/4);for(var A=0,K=F;A<S.length;A++,K+=4){var T;if(D==="big")T=V[K]<<24|V[K+1]<<16|V[K+2]<<8|V[K+3];else T=V[K+3]<<24|V[K+2]<<16|V[K+1]<<8|V[K];S[A]=T>>>0}return S}I.join32=E;function C(V,F){var O=Array(V.length*4);for(var D=0,R=0;D<V.length;D++,R+=4){var S=V[D];if(F==="big")O[R]=S>>>24,O[R+1]=S>>>16&255,O[R+2]=S>>>8&255,O[R+3]=S&255;else O[R+3]=S>>>24,O[R+2]=S>>>16&255,O[R+1]=S>>>8&255,O[R]=S&255}return O}I.split32=C;function q(V,F){return V>>>F|V<<32-F}I.rotr32=q;function B(V,F){return V<<F|V>>>32-F}I.rotl32=B;function N(V,F){return V+F>>>0}I.sum32=N;function f(V,F,O){return V+F+O>>>0}I.sum32_3=f;function w(V,F,O,D){return V+F+O+D>>>0}I.sum32_4=w;function b(V,F,O,D,R){return V+F+O+D+R>>>0}I.sum32_5=b;function g(V,F,O,D){var R=V[F],S=V[F+1],A=D+S>>>0,K=(A<D?1:0)+O+R;V[F]=K>>>0,V[F+1]=A}I.sum64=g;function u(V,F,O,D){var R=F+D>>>0,S=(R<F?1:0)+V+O;return S>>>0}I.sum64_hi=u;function p(V,F,O,D){var R=F+D;return R>>>0}I.sum64_lo=p;function d(V,F,O,D,R,S,A,K){var T=0,x=F;x=x+D>>>0,T+=x<F?1:0,x=x+S>>>0,T+=x<S?1:0,x=x+K>>>0,T+=x<K?1:0;var v=V+O+R+A+T;return v>>>0}I.sum64_4_hi=d;function a(V,F,O,D,R,S,A,K){var T=F+D+S+K;return T>>>0}I.sum64_4_lo=a;function D0(V,F,O,D,R,S,A,K,T,x){var v=0,c=F;c=c+D>>>0,v+=c<F?1:0,c=c+S>>>0,v+=c<S?1:0,c=c+K>>>0,v+=c<K?1:0,c=c+x>>>0,v+=c<x?1:0;var r=V+O+R+A+T+v;return r>>>0}I.sum64_5_hi=D0;function L0(V,F,O,D,R,S,A,K,T,x){var v=F+D+S+K+x;return v>>>0}I.sum64_5_lo=L0;function _0(V,F,O){var D=F<<32-O|V>>>O;return D>>>0}I.rotr64_hi=_0;function t(V,F,O){var D=V<<32-O|F>>>O;return D>>>0}I.rotr64_lo=t;function T0(V,F,O){return V>>>O}I.shr64_hi=T0;function G(V,F,O){var D=V<<32-O|F>>>O;return D>>>0}I.shr64_lo=G}),I2=b0((I)=>{var J=B4(),Y=JX();function z(){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=z,z.prototype.update=function(X,W){if(X=J.toArray(X,W),!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 L=0;L<X.length;L+=this._delta32)this._update(X,L,L+this._delta32)}return this},z.prototype.digest=function(X){return this.update(this._pad()),Y(this.pending===null),this._digest(X)},z.prototype._pad=function(){var X=this.pendingTotal,W=this._delta8,Z=W-(X+this.padLength)%W,L=Array(Z+this.padLength);L[0]=128;for(var j=1;j<Z;j++)L[j]=0;if(X<<=3,this.endian==="big"){for(var _=8;_<this.padLength;_++)L[j++]=0;L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=X>>>24&255,L[j++]=X>>>16&255,L[j++]=X>>>8&255,L[j++]=X&255}else{L[j++]=X&255,L[j++]=X>>>8&255,L[j++]=X>>>16&255,L[j++]=X>>>24&255,L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=0;for(_=8;_<this.padLength;_++)L[j++]=0}return L}}),eE=b0((I)=>{var J=B4(),Y=J.rotr32;function z(C,q,B,N){if(C===0)return X(q,B,N);if(C===1||C===3)return Z(q,B,N);if(C===2)return W(q,B,N)}I.ft_1=z;function X(C,q,B){return C&q^~C&B}I.ch32=X;function W(C,q,B){return C&q^C&B^q&B}I.maj32=W;function Z(C,q,B){return C^q^B}I.p32=Z;function L(C){return Y(C,2)^Y(C,13)^Y(C,22)}I.s0_256=L;function j(C){return Y(C,6)^Y(C,11)^Y(C,25)}I.s1_256=j;function _(C){return Y(C,7)^Y(C,18)^C>>>3}I.g0_256=_;function E(C){return Y(C,17)^Y(C,19)^C>>>10}I.g1_256=E}),Qf=b0((I,J)=>{var Y=B4(),z=I2(),X=eE(),W=Y.rotl32,Z=Y.sum32,L=Y.sum32_5,j=X.ft_1,_=z.BlockHash,E=[1518500249,1859775393,2400959708,3395469782];function C(){if(!(this instanceof C))return new C;_.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}Y.inherits(C,_),J.exports=C,C.blockSize=512,C.outSize=160,C.hmacStrength=80,C.padLength=64,C.prototype._update=function(q,B){var N=this.W;for(var f=0;f<16;f++)N[f]=q[B+f];for(;f<N.length;f++)N[f]=W(N[f-3]^N[f-8]^N[f-14]^N[f-16],1);var w=this.h[0],b=this.h[1],g=this.h[2],u=this.h[3],p=this.h[4];for(f=0;f<N.length;f++){var d=~~(f/20),a=L(W(w,5),j(d,b,g,u),p,N[f],E[d]);p=u,u=g,g=W(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],g),this.h[3]=Z(this.h[3],u),this.h[4]=Z(this.h[4],p)},C.prototype._digest=function(q){if(q==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),$S=b0((I,J)=>{var Y=B4(),z=I2(),X=eE(),W=JX(),Z=Y.sum32,L=Y.sum32_4,j=Y.sum32_5,_=X.ch32,E=X.maj32,C=X.s0_256,q=X.s1_256,B=X.g0_256,N=X.g1_256,f=z.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;f.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=w,this.W=Array(64)}Y.inherits(b,f),J.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(g,u){var p=this.W;for(var d=0;d<16;d++)p[d]=g[u+d];for(;d<p.length;d++)p[d]=L(N(p[d-2]),p[d-7],B(p[d-15]),p[d-16]);var a=this.h[0],D0=this.h[1],L0=this.h[2],_0=this.h[3],t=this.h[4],T0=this.h[5],G=this.h[6],V=this.h[7];W(this.k.length===p.length);for(d=0;d<p.length;d++){var F=j(V,q(t),_(t,T0,G),this.k[d],p[d]),O=Z(C(a),E(a,D0,L0));V=G,G=T0,T0=t,t=Z(_0,F),_0=L0,L0=D0,D0=a,a=Z(F,O)}this.h[0]=Z(this.h[0],a),this.h[1]=Z(this.h[1],D0),this.h[2]=Z(this.h[2],L0),this.h[3]=Z(this.h[3],_0),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(g){if(g==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),Yf=b0((I,J)=>{var Y=B4(),z=$S();function X(){if(!(this instanceof X))return new X;z.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Y.inherits(X,z),J.exports=X,X.blockSize=512,X.outSize=224,X.hmacStrength=192,X.padLength=64,X.prototype._digest=function(W){if(W==="hex")return Y.toHex32(this.h.slice(0,7),"big");else return Y.split32(this.h.slice(0,7),"big")}}),US=b0((I,J)=>{var Y=B4(),z=I2(),X=JX(),W=Y.rotr64_hi,Z=Y.rotr64_lo,L=Y.shr64_hi,j=Y.shr64_lo,_=Y.sum64,E=Y.sum64_hi,C=Y.sum64_lo,q=Y.sum64_4_hi,B=Y.sum64_4_lo,N=Y.sum64_5_hi,f=Y.sum64_5_lo,w=z.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 g(){if(!(this instanceof g))return new g;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(g,w),J.exports=g,g.blockSize=1024,g.outSize=512,g.hmacStrength=192,g.padLength=128,g.prototype._prepareBlock=function(O,D){var R=this.W;for(var S=0;S<32;S++)R[S]=O[D+S];for(;S<R.length;S+=2){var A=V(R[S-4],R[S-3]),K=F(R[S-4],R[S-3]),T=R[S-14],x=R[S-13],v=T0(R[S-30],R[S-29]),c=G(R[S-30],R[S-29]),r=R[S-32],U0=R[S-31];R[S]=q(A,K,T,x,v,c,r,U0),R[S+1]=B(A,K,T,x,v,c,r,U0)}},g.prototype._update=function(O,D){this._prepareBlock(O,D);var R=this.W,S=this.h[0],A=this.h[1],K=this.h[2],T=this.h[3],x=this.h[4],v=this.h[5],c=this.h[6],r=this.h[7],U0=this.h[8],W0=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===R.length);for(var $0=0;$0<R.length;$0+=2){var h=Z0,n=A0,F0=_0(U0,W0),Y0=t(U0,W0),O0=u(U0,W0,Q0,s,e,J0),N0=p(U0,W0,Q0,s,e,J0),I0=this.k[$0],z0=this.k[$0+1],I$=R[$0],M0=R[$0+1],B0=N(h,n,F0,Y0,O0,N0,I0,z0,I$,M0),M$=f(h,n,F0,Y0,O0,N0,I0,z0,I$,M0);h=D0(S,A),n=L0(S,A),F0=d(S,A,K,T,x,v),Y0=a(S,A,K,T,x,v);var m0=E(h,n,F0,Y0),p0=C(h,n,F0,Y0);Z0=e,A0=J0,e=Q0,J0=s,Q0=U0,s=W0,U0=E(c,r,B0,M$),W0=C(r,r,B0,M$),c=x,r=v,x=K,v=T,K=S,T=A,S=E(B0,M$,m0,p0),A=C(B0,M$,m0,p0)}_(this.h,0,S,A),_(this.h,2,K,T),_(this.h,4,x,v),_(this.h,6,c,r),_(this.h,8,U0,W0),_(this.h,10,Q0,s),_(this.h,12,e,J0),_(this.h,14,Z0,A0)},g.prototype._digest=function(O){if(O==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")};function u(O,D,R,S,A){var K=O&R^~O&A;if(K<0)K+=4294967296;return K}function p(O,D,R,S,A,K){var T=D&S^~D&K;if(T<0)T+=4294967296;return T}function d(O,D,R,S,A){var K=O&R^O&A^R&A;if(K<0)K+=4294967296;return K}function a(O,D,R,S,A,K){var T=D&S^D&K^S&K;if(T<0)T+=4294967296;return T}function D0(O,D){var R=W(O,D,28),S=W(D,O,2),A=W(D,O,7),K=R^S^A;if(K<0)K+=4294967296;return K}function L0(O,D){var R=Z(O,D,28),S=Z(D,O,2),A=Z(D,O,7),K=R^S^A;if(K<0)K+=4294967296;return K}function _0(O,D){var R=W(O,D,14),S=W(O,D,18),A=W(D,O,9),K=R^S^A;if(K<0)K+=4294967296;return K}function t(O,D){var R=Z(O,D,14),S=Z(O,D,18),A=Z(D,O,9),K=R^S^A;if(K<0)K+=4294967296;return K}function T0(O,D){var R=W(O,D,1),S=W(O,D,8),A=L(O,D,7),K=R^S^A;if(K<0)K+=4294967296;return K}function G(O,D){var R=Z(O,D,1),S=Z(O,D,8),A=j(O,D,7),K=R^S^A;if(K<0)K+=4294967296;return K}function V(O,D){var R=W(O,D,19),S=W(D,O,29),A=L(O,D,6),K=R^S^A;if(K<0)K+=4294967296;return K}function F(O,D){var R=Z(O,D,19),S=Z(D,O,29),A=j(O,D,6),K=R^S^A;if(K<0)K+=4294967296;return K}}),Gf=b0((I,J)=>{var Y=B4(),z=US();function X(){if(!(this instanceof X))return new X;z.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Y.inherits(X,z),J.exports=X,X.blockSize=1024,X.outSize=384,X.hmacStrength=192,X.padLength=128,X.prototype._digest=function(W){if(W==="hex")return Y.toHex32(this.h.slice(0,12),"big");else return Y.split32(this.h.slice(0,12),"big")}}),Zf=b0((I)=>{I.sha1=Qf(),I.sha224=Yf(),I.sha256=$S(),I.sha384=Gf(),I.sha512=US()}),Kf=b0((I)=>{var J=B4(),Y=I2(),z=J.rotl32,X=J.sum32,W=J.sum32_3,Z=J.sum32_4,L=Y.BlockHash;function j(){if(!(this instanceof j))return new j;L.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}J.inherits(j,L),I.ripemd160=j,j.blockSize=512,j.outSize=160,j.hmacStrength=192,j.padLength=64,j.prototype._update=function(w,b){var g=this.h[0],u=this.h[1],p=this.h[2],d=this.h[3],a=this.h[4],D0=g,L0=u,_0=p,t=d,T0=a;for(var G=0;G<80;G++){var V=X(z(Z(g,_(G,u,p,d),w[q[G]+b],E(G)),N[G]),a);g=a,a=d,d=z(p,10),p=u,u=V,V=X(z(Z(D0,_(79-G,L0,_0,t),w[B[G]+b],C(G)),f[G]),T0),D0=T0,T0=t,t=z(_0,10),_0=L0,L0=V}V=W(this.h[1],p,t),this.h[1]=W(this.h[2],d,T0),this.h[2]=W(this.h[3],a,D0),this.h[3]=W(this.h[4],g,L0),this.h[4]=W(this.h[0],u,_0),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 _(w,b,g,u){if(w<=15)return b^g^u;else if(w<=31)return b&g|~b&u;else if(w<=47)return(b|~g)^u;else if(w<=63)return b&u|g&~u;else return b^(g|~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 q=[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],N=[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],f=[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]}),Wf=b0((I,J)=>{var Y=B4(),z=JX();function X(W,Z,L){if(!(this instanceof X))return new X(W,Z,L);this.Hash=W,this.blockSize=W.blockSize/8,this.outSize=W.outSize/8,this.inner=null,this.outer=null,this._init(Y.toArray(Z,L))}J.exports=X,X.prototype._init=function(W){if(W.length>this.blockSize)W=new this.Hash().update(W).digest();z(W.length<=this.blockSize);for(var Z=W.length;Z<this.blockSize;Z++)W.push(0);for(Z=0;Z<W.length;Z++)W[Z]^=54;this.inner=new this.Hash().update(W);for(Z=0;Z<W.length;Z++)W[Z]^=106;this.outer=new this.Hash().update(W)},X.prototype.update=function(W,Z){return this.inner.update(W,Z),this},X.prototype.digest=function(W){return this.outer.update(this.inner.digest()),this.outer.digest(W)}}),VH=b0((I)=>{var J=I;J.utils=B4(),J.common=I2(),J.sha=Zf(),J.ripemd=Kf(),J.hmac=Wf(),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}),zf=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"]]}}}),HH=b0((I)=>{var J=I,Y=VH(),z=sE(),X=f1(),W=X.assert;function Z(_){if(_.type==="short")this.curve=new z.short(_);else if(_.type==="edwards")this.curve=new z.edwards(_);else this.curve=new z.mont(_);this.g=this.curve.g,this.n=this.curve.n,this.hash=_.hash,W(this.g.validate(),"Invalid curve"),W(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}J.PresetCurve=Z;function L(_,E){Object.defineProperty(J,_,{configurable:!0,enumerable:!0,get:function(){var C=new Z(E);return Object.defineProperty(J,_,{configurable:!0,enumerable:!0,value:C}),C}})}L("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"]}),L("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"]}),L("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"]}),L("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"]}),L("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"]}),L("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"]}),L("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=zf()}catch(_){j=void 0}L("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]})}),Of=b0((I,J)=>{var Y=VH(),z=tE(),X=JX();function W(Z){if(!(this instanceof W))return new W(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 L=z.toArray(Z.entropy,Z.entropyEnc||"hex"),j=z.toArray(Z.nonce,Z.nonceEnc||"hex"),_=z.toArray(Z.pers,Z.persEnc||"hex");X(L.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(L,j,_)}J.exports=W,W.prototype._init=function(Z,L,j){var _=Z.concat(L).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(_),this._reseed=1,this.reseedInterval=281474976710656},W.prototype._hmac=function(){return new Y.hmac(this.hash,this.K)},W.prototype._update=function(Z){var L=this._hmac().update(this.V).update([0]);if(Z)L=L.update(Z);if(this.K=L.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()},W.prototype.reseed=function(Z,L,j,_){if(typeof L!=="string")_=j,j=L,L=null;Z=z.toArray(Z,L),j=z.toArray(j,_),X(Z.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(Z.concat(j||[])),this._reseed=1},W.prototype.generate=function(Z,L,j,_){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");if(typeof L!=="string")_=j,j=L,L=null;if(j)j=z.toArray(j,_||"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++,z.encode(C,L)}}),Vf=b0((I,J)=>{var Y=WI(),z=f1(),X=z.assert;function W(Z,L){if(this.ec=Z,this.priv=null,this.pub=null,L.priv)this._importPrivate(L.priv,L.privEnc);if(L.pub)this._importPublic(L.pub,L.pubEnc)}J.exports=W,W.fromPublic=function(Z,L,j){if(L instanceof W)return L;return new W(Z,{pub:L,pubEnc:j})},W.fromPrivate=function(Z,L,j){if(L instanceof W)return L;return new W(Z,{priv:L,privEnc:j})},W.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}},W.prototype.getPublic=function(Z,L){if(typeof Z==="string")L=Z,Z=null;if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!L)return this.pub;return this.pub.encode(L,Z)},W.prototype.getPrivate=function(Z){if(Z==="hex")return this.priv.toString(16,2);else return this.priv},W.prototype._importPrivate=function(Z,L){this.priv=new Y(Z,L||16),this.priv=this.priv.umod(this.ec.curve.n)},W.prototype._importPublic=function(Z,L){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,L)},W.prototype.derive=function(Z){if(!Z.validate())X(Z.validate(),"public point not validated");return Z.mul(this.priv).getX()},W.prototype.sign=function(Z,L,j){return this.ec.sign(Z,this,L,j)},W.prototype.verify=function(Z,L,j){return this.ec.verify(Z,L,this,void 0,j)},W.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),Hf=b0((I,J)=>{var Y=WI(),z=f1(),X=z.assert;function W(E,C){if(E instanceof W)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=W;function Z(){this.place=0}function L(E,C){var q=E[C.place++];if(!(q&128))return q;var B=q&15;if(B===0||B>4)return!1;if(E[C.place]===0)return!1;var N=0;for(var f=0,w=C.place;f<B;f++,w++)N<<=8,N|=E[w],N>>>=0;if(N<=127)return!1;return C.place=w,N}function j(E){var C=0,q=E.length-1;while(!E[C]&&!(E[C+1]&128)&&C<q)C++;if(C===0)return E;return E.slice(C)}W.prototype._importDER=function(E,C){E=z.toArray(E,C);var q=new Z;if(E[q.place++]!==48)return!1;var B=L(E,q);if(B===!1)return!1;if(B+q.place!==E.length)return!1;if(E[q.place++]!==2)return!1;var N=L(E,q);if(N===!1)return!1;if((E[q.place]&128)!==0)return!1;var f=E.slice(q.place,N+q.place);if(q.place+=N,E[q.place++]!==2)return!1;var w=L(E,q);if(w===!1)return!1;if(E.length!==w+q.place)return!1;if((E[q.place]&128)!==0)return!1;var b=E.slice(q.place,w+q.place);if(f[0]===0)if(f[1]&128)f=f.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(f),this.s=new Y(b),this.recoveryParam=null,!0};function _(E,C){if(C<128){E.push(C);return}var q=1+(Math.log(C)/Math.LN2>>>3);E.push(q|128);while(--q)E.push(C>>>(q<<3)&255);E.push(C)}W.prototype.toDER=function(E){var C=this.r.toArray(),q=this.s.toArray();if(C[0]&128)C=[0].concat(C);if(q[0]&128)q=[0].concat(q);C=j(C),q=j(q);while(!q[0]&&!(q[1]&128))q=q.slice(1);var B=[2];_(B,C.length),B=B.concat(C),B.push(2),_(B,q.length);var N=B.concat(q),f=[48];return _(f,N.length),f=f.concat(N),z.encode(f,E)}}),Df=b0((I,J)=>{var Y=WI(),z=Of(),X=f1(),W=HH(),Z=aE(),L=X.assert,j=Vf(),_=Hf();function E(C){if(!(this instanceof E))return new E(C);if(typeof C==="string")L(Object.prototype.hasOwnProperty.call(W,C),"Unknown curve "+C),C=W[C];if(C instanceof W.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,q){return j.fromPrivate(this,C,q)},E.prototype.keyFromPublic=function(C,q){return j.fromPublic(this,C,q)},E.prototype.genKeyPair=function(C){if(!C)C={};var q=new z({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(),N=this.n.sub(new Y(2));for(;;){var f=new Y(q.generate(B));if(f.cmp(N)>0)continue;return f.iaddn(1),this.keyFromPrivate(f)}},E.prototype._truncateToN=function(C,q,B){var N;if(Y.isBN(C)||typeof C==="number")C=new Y(C,16),N=C.byteLength();else if(typeof C==="object")N=C.length,C=new Y(C,16);else{var f=C.toString();N=f.length+1>>>1,C=new Y(f,16)}if(typeof B!=="number")B=N*8;var w=B-this.n.bitLength();if(w>0)C=C.ushrn(w);if(!q&&C.cmp(this.n)>=0)return C.sub(this.n);else return C},E.prototype.sign=function(C,q,B,N){if(typeof B==="object")N=B,B=null;if(!N)N={};if(typeof C!=="string"&&typeof C!=="number"&&!Y.isBN(C)){L(typeof C==="object"&&C&&typeof C.length==="number","Expected message to be an array-like, a hex string, or a BN instance"),L(C.length>>>0===C.length);for(var f=0;f<C.length;f++)L((C[f]&255)===C[f])}q=this.keyFromPrivate(q,B),C=this._truncateToN(C,!1,N.msgBitLength),L(!C.isNeg(),"Can not sign a negative message");var w=this.n.byteLength(),b=q.getPrivate().toArray("be",w),g=C.toArray("be",w);L(new Y(g).eq(C),"Can not sign message");var u=new z({hash:this.hash,entropy:b,nonce:g,pers:N.pers,persEnc:N.persEnc||"utf8"}),p=this.n.sub(new Y(1));for(var d=0;;d++){var a=N.k?N.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 D0=this.g.mul(a);if(D0.isInfinity())continue;var L0=D0.getX(),_0=L0.umod(this.n);if(_0.cmpn(0)===0)continue;var t=a.invm(this.n).mul(_0.mul(q.getPrivate()).iadd(C));if(t=t.umod(this.n),t.cmpn(0)===0)continue;var T0=(D0.getY().isOdd()?1:0)|(L0.cmp(_0)!==0?2:0);if(N.canonical&&t.cmp(this.nh)>0)t=this.n.sub(t),T0^=1;return new _({r:_0,s:t,recoveryParam:T0})}},E.prototype.verify=function(C,q,B,N,f){if(!f)f={};C=this._truncateToN(C,!1,f.msgBitLength),B=this.keyFromPublic(B,N),q=new _(q,"hex");var{r:w,s:b}=q;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 g=b.invm(this.n),u=g.mul(C).umod(this.n),p=g.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,q,B,N){L((3&B)===B,"The recovery param is more than two bits"),q=new _(q,N);var f=this.n,w=new Y(C),b=q.r,g=q.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=q.r.invm(f),a=f.sub(w).mul(d).umod(f),D0=g.mul(d).umod(f);return this.g.mulAdd(a,b,D0)},E.prototype.getKeyRecoveryParam=function(C,q,B,N){if(q=new _(q,N),q.recoveryParam!==null)return q.recoveryParam;for(var f=0;f<4;f++){var w;try{w=this.recoverPubKey(C,q,f)}catch(b){continue}if(w.eq(B))return f}throw Error("Unable to find valid recovery factor")}}),Ff=b0((I,J)=>{var Y=f1(),z=Y.assert,X=Y.parseBytes,W=Y.cachedProperty;function Z(L,j){if(this.eddsa=L,this._secret=X(j.secret),L.isPoint(j.pub))this._pub=j.pub;else this._pubBytes=X(j.pub)}Z.fromPublic=function(L,j){if(j instanceof Z)return j;return new Z(L,{pub:j})},Z.fromSecret=function(L,j){if(j instanceof Z)return j;return new Z(L,{secret:j})},Z.prototype.secret=function(){return this._secret},W(Z,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),W(Z,"pub",function(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}),W(Z,"privBytes",function(){var L=this.eddsa,j=this.hash(),_=L.encodingLength-1,E=j.slice(0,L.encodingLength);return E[0]&=248,E[_]&=127,E[_]|=64,E}),W(Z,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),W(Z,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),W(Z,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),Z.prototype.sign=function(L){return z(this._secret,"KeyPair can only verify"),this.eddsa.sign(L,this)},Z.prototype.verify=function(L,j){return this.eddsa.verify(L,j,this)},Z.prototype.getSecret=function(L){return z(this._secret,"KeyPair is public only"),Y.encode(this.secret(),L)},Z.prototype.getPublic=function(L){return Y.encode(this.pubBytes(),L)},J.exports=Z}),Lf=b0((I,J)=>{var Y=WI(),z=f1(),X=z.assert,W=z.cachedProperty,Z=z.parseBytes;function L(j,_){if(this.eddsa=j,typeof _!=="object")_=Z(_);if(Array.isArray(_))X(_.length===j.encodingLength*2,"Signature has invalid size"),_={R:_.slice(0,j.encodingLength),S:_.slice(j.encodingLength)};if(X(_.R&&_.S,"Signature without R or S"),j.isPoint(_.R))this._R=_.R;if(_.S instanceof Y)this._S=_.S;this._Rencoded=Array.isArray(_.R)?_.R:_.Rencoded,this._Sencoded=Array.isArray(_.S)?_.S:_.Sencoded}W(L,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),W(L,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),W(L,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),W(L,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),L.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},L.prototype.toHex=function(){return z.encode(this.toBytes(),"hex").toUpperCase()},J.exports=L}),Mf=b0((I,J)=>{var Y=VH(),z=HH(),X=f1(),W=X.assert,Z=X.parseBytes,L=Ff(),j=Lf();function _(E){if(W(E==="ed25519","only tested with ed25519 so far"),!(this instanceof _))return new _(E);E=z[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=_,_.prototype.sign=function(E,C){E=Z(E);var q=this.keyFromSecret(C),B=this.hashInt(q.messagePrefix(),E),N=this.g.mul(B),f=this.encodePoint(N),w=this.hashInt(f,q.pubBytes(),E).mul(q.priv()),b=B.add(w).umod(this.curve.n);return this.makeSignature({R:N,S:b,Rencoded:f})},_.prototype.verify=function(E,C,q){if(E=Z(E),C=this.makeSignature(C),C.S().gte(C.eddsa.curve.n)||C.S().isNeg())return!1;var B=this.keyFromPublic(q),N=this.hashInt(C.Rencoded(),B.pubBytes(),E),f=this.g.mul(C.S()),w=C.R().add(B.pub().mul(N));return w.eq(f)},_.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)},_.prototype.keyFromPublic=function(E){return L.fromPublic(this,E)},_.prototype.keyFromSecret=function(E){return L.fromSecret(this,E)},_.prototype.makeSignature=function(E){if(E instanceof j)return E;return new j(this,E)},_.prototype.encodePoint=function(E){var C=E.getY().toArray("le",this.encodingLength);return C[this.encodingLength-1]|=E.getX().isOdd()?128:0,C},_.prototype.decodePoint=function(E){E=X.parseBytes(E);var C=E.length-1,q=E.slice(0,C).concat(E[C]&-129),B=(E[C]&128)!==0,N=X.intFromLE(q);return this.curve.pointFromY(N,B)},_.prototype.encodeInt=function(E){return E.toArray("le",this.encodingLength)},_.prototype.decodeInt=function(E){return X.intFromLE(E)},_.prototype.isPoint=function(E){return E instanceof this.pointClass}}),Af=b0((I)=>{var J=I;J.version=$f().version,J.utils=f1(),J.rand=aE(),J.curve=sE(),J.curves=HH(),J.ec=Df(),J.eddsa=Mf()}),Cf=b0((I,J)=>{(function(Y,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(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 z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(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 O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,F);else if(this._parseBase(G,V,O),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 O=0;O<this.length;O++)this.words[O]=0;var D,R,S=0;if(F==="be"){for(O=G.length-1,D=0;O>=0;O-=3)if(R=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}else if(F==="le"){for(O=0,D=0;O<G.length;O+=3)if(R=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}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 _(G,V,F){var O=j(G,F);if(F-1>=V)O|=j(G,F-1)<<4;return O}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var D=0,R=0,S;if(F==="be")for(O=G.length-1;O>=V;O-=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8}this.strip()};function E(G,V,F,O){var D=0,R=Math.min(G.length,F);for(var S=V;S<R;S++){var A=G.charCodeAt(S)-48;if(D*=O,A>=49)D+=A-49+10;else if(A>=17)D+=A-17+10;else D+=A}return D}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var O=0,D=1;D<=67108863;D*=V)O++;O--,D=D/V|0;var R=G.length-F,S=R%O,A=Math.min(R,R-S)+F,K=0;for(var T=F;T<A;T+=O)if(K=E(G,T,T+O,V),this.imuln(D),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(S!==0){var x=1;K=E(G,T,G.length,V);for(T=0;T<S;T++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}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"],q=[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 O=0,D=0;for(var R=0;R<this.length;R++){var S=this.words[R],A=((S<<O|D)&16777215).toString(16);if(D=S>>>24-O&16777215,O+=2,O>=26)O-=26,R--;if(D!==0||R!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(D!==0)F=D.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 K=q[G],T=B[G];F="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(T).toString(G);if(x=x.idivn(T),!x.isZero())F=C[K-v.length]+v+F;else F=v+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 L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var O=this.byteLength(),D=F||Math.max(1,O);X(O<=D,"byte array longer than desired length"),X(D>0,"Requested array length <= 0"),this.strip();var R=V==="le",S=new G(D),A,K,T=this.clone();if(!R){for(K=0;K<D-O;K++)S[K]=0;for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[D-K-1]=A}else{for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[K]=A;for(;K<D;K++)S[K]=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 N(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var O=F/26|0,D=F%26;V[F]=(G.words[O]&1<<D)>>>D}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 O=0;O<F.length;O++)this.words[O]=V.words[O]^F.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];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 O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(F>0)this.words[O]=~this.words[O]&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,O=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<O;else this.words[F]=this.words[F]&~(1<<O);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,O;if(this.length>G.length)F=this,O=G;else F=G,O=this;var D=0;for(var R=0;R<O.length;R++)V=(F.words[R]|0)+(O.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;for(;D!==0&&R<F.length;R++)V=(F.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;if(this.length=F.length,D!==0)this.words[this.length]=D,this.length++;else if(F!==this)for(;R<F.length;R++)this.words[R]=F.words[R];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 O,D;if(F>0)O=this,D=G;else O=G,D=this;var R=0;for(var S=0;S<D.length;S++)V=(O.words[S]|0)-(D.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;for(;R!==0&&S<O.length;S++)V=(O.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;if(R===0&&S<O.length&&O!==this)for(;S<O.length;S++)this.words[S]=O.words[S];if(this.length=Math.max(this.length,S),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function f(G,V,F){F.negative=V.negative^G.negative;var O=G.length+V.length|0;F.length=O,O=O-1|0;var D=G.words[0]|0,R=V.words[0]|0,S=D*R,A=S&67108863,K=S/67108864|0;F.words[0]=A;for(var T=1;T<O;T++){var x=K>>>26,v=K&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;D=G.words[U0]|0,R=V.words[r]|0,S=D*R+v,x+=S/67108864|0,v=S&67108863}F.words[T]=v|0,K=x|0}if(K!==0)F.words[T]=K|0;else F.length--;return F.strip()}var w=function(G,V,F){var O=G.words,D=V.words,R=F.words,S=0,A,K,T,x=O[0]|0,v=x&8191,c=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Q0=O[2]|0,s=Q0&8191,e=Q0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,h=$0&8191,n=$0>>>13,F0=O[5]|0,Y0=F0&8191,O0=F0>>>13,N0=O[6]|0,I0=N0&8191,z0=N0>>>13,I$=O[7]|0,M0=I$&8191,B0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,c0=r$&8191,h0=r$>>>13,YU=D[0]|0,t0=YU&8191,i0=YU>>>13,PU=D[1]|0,m=PU&8191,X0=PU>>>13,e0=D[2]|0,S0=e0&8191,v0=e0>>>13,F$=D[3]|0,x0=F$&8191,y0=F$>>>13,V$=D[4]|0,o0=V$&8191,r0=V$>>>13,OU=D[5]|0,s0=OU&8191,i=OU>>>13,G0=D[6]|0,q0=G0&8191,E0=G0>>>13,W$=D[7]|0,n0=W$&8191,a0=W$>>>13,LU=D[8]|0,X$=LU&8191,U$=LU>>>13,$U=D[9]|0,J$=$U&8191,$$=$U>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(c,t0)|0,T=Math.imul(c,i0);var qU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(v,S0)|0,K=K+Math.imul(v,v0)|0,K=K+Math.imul(c,S0)|0,T=T+Math.imul(c,v0)|0;var S$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,K=K+Math.imul(U0,v0)|0,K=K+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var UU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(UU>>>26)|0,UU&=67108863,A=Math.imul(h,t0),K=Math.imul(h,i0),K=K+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,K=K+Math.imul(s,v0)|0,K=K+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),K=Math.imul(Y0,i0),K=K+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(h,m)|0,K=K+Math.imul(h,X0)|0,K=K+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,K=K+Math.imul(Z0,v0)|0,K=K+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,T=Math.imul(z0,i0),A=A+Math.imul(Y0,m)|0,K=K+Math.imul(Y0,X0)|0,K=K+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(h,S0)|0,K=K+Math.imul(h,v0)|0,K=K+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(v,q0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(c,q0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(Y0,S0)|0,K=K+Math.imul(Y0,v0)|0,K=K+Math.imul(O0,S0)|0,T=T+Math.imul(O0,v0)|0,A=A+Math.imul(h,x0)|0,K=K+Math.imul(h,y0)|0,K=K+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,q0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,q0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,K=K+Math.imul(I0,v0)|0,K=K+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(Y0,x0)|0,K=K+Math.imul(Y0,y0)|0,K=K+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(h,o0)|0,K=K+Math.imul(h,r0)|0,K=K+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,q0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,q0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),K=Math.imul(c0,i0),K=K+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(M0,S0)|0,K=K+Math.imul(M0,v0)|0,K=K+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,T=T+Math.imul(z0,y0)|0,A=A+Math.imul(Y0,o0)|0,K=K+Math.imul(Y0,r0)|0,K=K+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(h,s0)|0,K=K+Math.imul(h,i)|0,K=K+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,q0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,q0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),K=Math.imul(c0,X0),K=K+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,K=K+Math.imul(m0,v0)|0,K=K+Math.imul(p0,S0)|0,T=T+Math.imul(p0,v0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,T=T+Math.imul(z0,r0)|0,A=A+Math.imul(Y0,s0)|0,K=K+Math.imul(Y0,i)|0,K=K+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(h,q0)|0,K=K+Math.imul(h,E0)|0,K=K+Math.imul(n,q0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var t$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(c0,S0),K=Math.imul(c0,v0),K=K+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(Y0,q0)|0,K=K+Math.imul(Y0,E0)|0,K=K+Math.imul(O0,q0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(h,n0)|0,K=K+Math.imul(h,a0)|0,K=K+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var MU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,A=Math.imul(c0,x0),K=Math.imul(c0,y0),K=K+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,q0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,q0)|0,T=T+Math.imul(z0,E0)|0,A=A+Math.imul(Y0,n0)|0,K=K+Math.imul(Y0,a0)|0,K=K+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(h,X$)|0,K=K+Math.imul(h,U$)|0,K=K+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),K=Math.imul(c0,r0),K=K+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(M0,q0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(B0,q0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,T=T+Math.imul(z0,a0)|0,A=A+Math.imul(Y0,X$)|0,K=K+Math.imul(Y0,U$)|0,K=K+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(h,J$)|0,K=K+Math.imul(h,$$)|0,K=K+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),K=Math.imul(c0,i),K=K+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,q0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,q0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,T=T+Math.imul(z0,U$)|0,A=A+Math.imul(Y0,J$)|0,K=K+Math.imul(Y0,$$)|0,K=K+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var _U=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(c0,q0),K=Math.imul(c0,E0),K=K+Math.imul(h0,q0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,T=T+Math.imul(z0,$$)|0;var NU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(c0,n0),K=Math.imul(c0,a0),K=K+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var xU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(c0,X$),K=Math.imul(c0,U$),K=K+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),K=Math.imul(c0,$$),K=K+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((K&8191)<<13)|0;if(S=(T+(K>>>13)|0)+(AU>>>26)|0,AU&=67108863,R[0]=qU,R[1]=B$,R[2]=S$,R[3]=UU,R[4]=d$,R[5]=bU,R[6]=cU,R[7]=hU,R[8]=pU,R[9]=mU,R[10]=t$,R[11]=MU,R[12]=VU,R[13]=lU,R[14]=_U,R[15]=NU,R[16]=xU,R[17]=EU,R[18]=AU,S!==0)R[19]=S,F.length++;return F};if(!Math.imul)w=f;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var O=0,D=0;for(var R=0;R<F.length-1;R++){var S=D;D=0;var A=O&67108863,K=Math.min(R,V.length-1);for(var T=Math.max(0,R-G.length+1);T<=K;T++){var x=R-T,v=G.words[x]|0,c=V.words[T]|0,r=v*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,D+=S>>>26,S&=67108863}F.words[R]=A,O=S,S=D}if(O!==0)F.words[R]=O;else F.length--;return F.strip()}function g(G,V,F){var O=new u;return O.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,O=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(O<63)F=f(this,G,V);else if(O<1024)F=b(this,G,V);else F=g(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 O=0;O<G;O++)V[O]=this.revBin(O,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var O=0;for(var D=0;D<V;D++)O|=(G&1)<<V-D-1,G>>=1;return O},u.prototype.permute=function(G,V,F,O,D,R){for(var S=0;S<R;S++)O[S]=V[G[S]],D[S]=F[G[S]]},u.prototype.transform=function(G,V,F,O,D,R){this.permute(R,G,V,F,O,D);for(var S=1;S<D;S<<=1){var A=S<<1,K=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var x=0;x<D;x+=A){var v=K,c=T;for(var r=0;r<S;r++){var U0=F[x+r],W0=O[x+r],Q0=F[x+r+S],s=O[x+r+S],e=v*Q0-c*s;if(s=v*s+c*Q0,Q0=e,F[x+r]=U0+Q0,O[x+r]=W0+s,F[x+r+S]=U0-Q0,O[x+r+S]=W0-s,r!==A)e=K*v-T*c,c=K*c+T*v,v=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,O=F&1,D=0;for(F=F/2|0;F;F=F>>>1)D++;return 1<<D+1+O},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var O=0;O<F/2;O++){var D=G[O];G[O]=G[F-O-1],G[F-O-1]=D,D=V[O],V[O]=-V[F-O-1],V[F-O-1]=-D}},u.prototype.normalize13b=function(G,V){var F=0;for(var O=0;O<V/2;O++){var D=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+F;if(G[O]=D&67108863,D<67108864)F=0;else F=D/67108864|0}return G},u.prototype.convert13b=function(G,V,F,O){var D=0;for(var R=0;R<V;R++)D=D+(G[R]|0),F[2*R]=D&8191,D=D>>>13,F[2*R+1]=D&8191,D=D>>>13;for(R=2*V;R<O;++R)F[R]=0;X(D===0),X((D&-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 O=2*this.guessLen13b(G.length,V.length),D=this.makeRBT(O),R=this.stub(O),S=Array(O),A=Array(O),K=Array(O),T=Array(O),x=Array(O),v=Array(O),c=F.words;c.length=O,this.convert13b(G.words,G.length,S,O),this.convert13b(V.words,V.length,T,O),this.transform(S,R,A,K,O,D),this.transform(T,R,x,v,O,D);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,c,R,O,D),this.conjugate(c,R,O),this.normalize13b(c,O),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),g(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 O=(this.words[F]|0)*G,D=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=D>>>26,this.words[F]=D&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=N(G);if(V.length===0)return new Z(1);var F=this;for(var O=0;O<V.length;O++,F=F.sqr())if(V[O]!==0)break;if(++O<V.length)for(var D=F.sqr();O<V.length;O++,D=D.sqr()){if(V[O]===0)continue;F=F.mul(D)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,O=67108863>>>26-V<<26-V,D;if(V!==0){var R=0;for(D=0;D<this.length;D++){var S=this.words[D]&O,A=(this.words[D]|0)-S<<V;this.words[D]=A|R,R=S>>>26-V}if(R)this.words[D]=R,this.length++}if(F!==0){for(D=this.length-1;D>=0;D--)this.words[D+F]=this.words[D];for(D=0;D<F;D++)this.words[D]=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 O;if(V)O=(V-V%26)/26;else O=0;var D=G%26,R=Math.min((G-D)/26,this.length),S=67108863^67108863>>>D<<D,A=F;if(O-=R,O=Math.max(0,O),A){for(var K=0;K<R;K++)A.words[K]=this.words[K];A.length=R}if(R===0);else if(this.length>R){this.length-=R;for(K=0;K<this.length;K++)this.words[K]=this.words[K+R]}else this.words[0]=0,this.length=1;var T=0;for(K=this.length-1;K>=0&&(T!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=T<<26-D|x>>>D,T=x&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,O=1<<V;if(this.length<=F)return!1;var D=this.words[F];return!!(D&O)},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 O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}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 O=G.length+F,D;this._expand(O);var R,S=0;for(D=0;D<G.length;D++){R=(this.words[D+F]|0)+S;var A=(G.words[D]|0)*V;R-=A&67108863,S=(R>>26)-(A/67108864|0),this.words[D+F]=R&67108863}for(;D<this.length-F;D++)R=(this.words[D+F]|0)+S,S=R>>26,this.words[D+F]=R&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(D=0;D<this.length;D++)R=-(this.words[D]|0)+S,S=R>>26,this.words[D]=R&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,O=this.clone(),D=G,R=D.words[D.length-1]|0,S=this._countBits(R);if(F=26-S,F!==0)D=D.ushln(F),O.iushln(F),R=D.words[D.length-1]|0;var A=O.length-D.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var T=0;T<K.length;T++)K.words[T]=0}var x=O.clone()._ishlnsubmul(D,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var c=(O.words[D.length+v]|0)*67108864+(O.words[D.length+v-1]|0);c=Math.min(c/R|0,67108863),O._ishlnsubmul(D,c,v);while(O.negative!==0)if(c--,O.negative=0,O._ishlnsubmul(D,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=c}if(K)K.strip();if(O.strip(),V!=="div"&&F!==0)O.iushrn(F);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,D,R;if(this.negative!==0&&G.negative===0){if(R=this.neg().divmod(G,V),V!=="mod")O=R.div.neg();if(V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.iadd(G)}return{div:O,mod:D}}if(this.negative===0&&G.negative!==0){if(R=this.divmod(G.neg(),V),V!=="mod")O=R.div.neg();return{div:O,mod:R.mod}}if((this.negative&G.negative)!==0){if(R=this.neg().divmod(G.neg(),V),V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.isub(G)}return{div:R.div,mod:D}}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,O=G.ushrn(1),D=G.andln(1),R=F.cmp(O);if(R<0||D===1&&R===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 O=this.length-1;O>=0;O--)F=(V*F+(this.words[O]|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 O=(this.words[F]|0)+V*67108864;this.words[F]=O/G|0,V=O%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 O=new Z(1),D=new Z(0),R=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var K=F.clone(),T=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||D.isOdd())O.iadd(K),D.isub(T);O.iushrn(1),D.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(R.isOdd()||S.isOdd())R.iadd(K),S.isub(T);R.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(R),D.isub(S);else F.isub(V),R.isub(O),S.isub(D)}return{a:R,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 O=new Z(1),D=new Z(0),R=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(O.isOdd())O.iadd(R);O.iushrn(1)}}for(var K=0,T=1;(F.words[0]&T)===0&&K<26;++K,T<<=1);if(K>0){F.iushrn(K);while(K-- >0){if(D.isOdd())D.iadd(R);D.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(D);else F.isub(V),D.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=D;if(x.cmpn(0)<0)x.iadd(G);return x},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 O=0;V.isEven()&&F.isEven();O++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var D=V.cmp(F);if(D<0){var R=V;V=F,F=R}else if(D===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(O)},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,O=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=O,this;var D=O;for(var R=F;D!==0&&R<this.length;R++){var S=this.words[R]|0;S+=D,D=S>>>26,S&=67108863,this.words[R]=S}if(D!==0)this.words[R]=D,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 O=this.words[0]|0;F=O===G?0:O<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 O=this.words[F]|0,D=G.words[F]|0;if(O===D)continue;if(O<D)V=-1;else if(O>D)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 O=F<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>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")}W(a,d),a.prototype.split=function(G,V){var F=4194303,O=Math.min(G.length,9);for(var D=0;D<O;D++)V.words[D]=G.words[D];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var R=G.words[9];V.words[V.length++]=R&F;for(D=10;D<G.length;D++){var S=G.words[D]|0;G.words[D-10]=(S&F)<<4|R>>>22,R=S}if(R>>>=22,G.words[D-10]=R,R===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 O=G.words[F]|0;V+=O*977,G.words[F]=V&67108863,V=O*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 D0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(D0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function _0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(_0,d),_0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var O=(G.words[F]|0)*19+V,D=O&67108863;O>>>=26,G.words[F]=D,V=O}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 D0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new _0;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 O=this.m.subn(1),D=0;while(!O.isZero()&&O.andln(1)===0)D++,O.iushrn(1);X(!O.isZero());var R=new Z(1).toRed(this),S=R.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(S)!==0)K.redIAdd(S);var T=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),c=D;while(v.cmp(R)!==0){var r=v;for(var U0=0;r.cmp(R)!==0;U0++)r=r.redSqr();X(U0<c);var W0=this.pow(T,new Z(1).iushln(c-U0-1));x=x.redMul(W0),T=W0.redSqr(),v=v.redMul(T),c=U0}return x},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,O=Array(1<<F);O[0]=new Z(1).toRed(this),O[1]=G;for(var D=2;D<O.length;D++)O[D]=this.mul(O[D-1],G);var R=O[0],S=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(D=V.length-1;D>=0;D--){var T=V.words[D];for(var x=K-1;x>=0;x--){var v=T>>x&1;if(R!==O[0])R=this.sqr(R);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==F&&(D!==0||x!==0))continue;R=this.mul(R,O[S]),A=0,S=0}K=26}return R},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)}W(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),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._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)}),Tf=b0((I,J)=>{var Y=Af(),z=Cf();J.exports=function(L){return new W(L)};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 W(L){if(this.curveType=X[L],!this.curveType)this.curveType={name:L};this.curve=new Y.ec(this.curveType.name),this.keys=void 0}W.prototype.generateKeys=function(L,j){return this.keys=this.curve.genKeyPair(),this.getPublicKey(L,j)},W.prototype.computeSecret=function(L,j,_){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);var E=this.curve.keyFromPublic(L).getPublic(),C=E.mul(this.keys.getPrivate()).getX();return Z(C,_,this.curveType.byteLength)},W.prototype.getPublicKey=function(L,j){var _=this.keys.getPublic(j==="compressed",!0);if(j==="hybrid")if(_[_.length-1]%2)_[0]=7;else _[0]=6;return Z(_,L)},W.prototype.getPrivateKey=function(L){return Z(this.keys.getPrivate(),L)},W.prototype.setPublicKey=function(L,j){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);return this.keys._importPublic(L),this},W.prototype.setPrivateKey=function(L,j){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);var _=new z(L);return _=_.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(_),this};function Z(L,j,_){if(!Array.isArray(L))L=L.toArray();var E=new Buffer(L);if(_&&E.length<_){var C=new Buffer(_-E.length);C.fill(0),E=Buffer.concat([C,E])}if(!j)return E;else return E.toString(j)}}),Rf=b0((I,J)=>{var Y=(uU(),j$(M1)).createECDH;J.exports=Y||Tf()}),Pf=b0((I,J)=>{(function(Y,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(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 z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(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 O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,F);else if(this._parseBase(G,V,O),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 O=0;O<this.length;O++)this.words[O]=0;var D,R,S=0;if(F==="be"){for(O=G.length-1,D=0;O>=0;O-=3)if(R=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}else if(F==="le"){for(O=0,D=0;O<G.length;O+=3)if(R=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}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 _(G,V,F){var O=j(G,F);if(F-1>=V)O|=j(G,F-1)<<4;return O}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var D=0,R=0,S;if(F==="be")for(O=G.length-1;O>=V;O-=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8}this.strip()};function E(G,V,F,O){var D=0,R=Math.min(G.length,F);for(var S=V;S<R;S++){var A=G.charCodeAt(S)-48;if(D*=O,A>=49)D+=A-49+10;else if(A>=17)D+=A-17+10;else D+=A}return D}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var O=0,D=1;D<=67108863;D*=V)O++;O--,D=D/V|0;var R=G.length-F,S=R%O,A=Math.min(R,R-S)+F,K=0;for(var T=F;T<A;T+=O)if(K=E(G,T,T+O,V),this.imuln(D),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(S!==0){var x=1;K=E(G,T,G.length,V);for(T=0;T<S;T++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}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"],q=[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 O=0,D=0;for(var R=0;R<this.length;R++){var S=this.words[R],A=((S<<O|D)&16777215).toString(16);if(D=S>>>24-O&16777215,O+=2,O>=26)O-=26,R--;if(D!==0||R!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(D!==0)F=D.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 K=q[G],T=B[G];F="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(T).toString(G);if(x=x.idivn(T),!x.isZero())F=C[K-v.length]+v+F;else F=v+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 L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var O=this.byteLength(),D=F||Math.max(1,O);X(O<=D,"byte array longer than desired length"),X(D>0,"Requested array length <= 0"),this.strip();var R=V==="le",S=new G(D),A,K,T=this.clone();if(!R){for(K=0;K<D-O;K++)S[K]=0;for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[D-K-1]=A}else{for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[K]=A;for(;K<D;K++)S[K]=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 N(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var O=F/26|0,D=F%26;V[F]=(G.words[O]&1<<D)>>>D}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 O=0;O<F.length;O++)this.words[O]=V.words[O]^F.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];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 O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(F>0)this.words[O]=~this.words[O]&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,O=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<O;else this.words[F]=this.words[F]&~(1<<O);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,O;if(this.length>G.length)F=this,O=G;else F=G,O=this;var D=0;for(var R=0;R<O.length;R++)V=(F.words[R]|0)+(O.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;for(;D!==0&&R<F.length;R++)V=(F.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;if(this.length=F.length,D!==0)this.words[this.length]=D,this.length++;else if(F!==this)for(;R<F.length;R++)this.words[R]=F.words[R];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 O,D;if(F>0)O=this,D=G;else O=G,D=this;var R=0;for(var S=0;S<D.length;S++)V=(O.words[S]|0)-(D.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;for(;R!==0&&S<O.length;S++)V=(O.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;if(R===0&&S<O.length&&O!==this)for(;S<O.length;S++)this.words[S]=O.words[S];if(this.length=Math.max(this.length,S),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function f(G,V,F){F.negative=V.negative^G.negative;var O=G.length+V.length|0;F.length=O,O=O-1|0;var D=G.words[0]|0,R=V.words[0]|0,S=D*R,A=S&67108863,K=S/67108864|0;F.words[0]=A;for(var T=1;T<O;T++){var x=K>>>26,v=K&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;D=G.words[U0]|0,R=V.words[r]|0,S=D*R+v,x+=S/67108864|0,v=S&67108863}F.words[T]=v|0,K=x|0}if(K!==0)F.words[T]=K|0;else F.length--;return F.strip()}var w=function(G,V,F){var O=G.words,D=V.words,R=F.words,S=0,A,K,T,x=O[0]|0,v=x&8191,c=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Q0=O[2]|0,s=Q0&8191,e=Q0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,h=$0&8191,n=$0>>>13,F0=O[5]|0,Y0=F0&8191,O0=F0>>>13,N0=O[6]|0,I0=N0&8191,z0=N0>>>13,I$=O[7]|0,M0=I$&8191,B0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,c0=r$&8191,h0=r$>>>13,YU=D[0]|0,t0=YU&8191,i0=YU>>>13,PU=D[1]|0,m=PU&8191,X0=PU>>>13,e0=D[2]|0,S0=e0&8191,v0=e0>>>13,F$=D[3]|0,x0=F$&8191,y0=F$>>>13,V$=D[4]|0,o0=V$&8191,r0=V$>>>13,OU=D[5]|0,s0=OU&8191,i=OU>>>13,G0=D[6]|0,q0=G0&8191,E0=G0>>>13,W$=D[7]|0,n0=W$&8191,a0=W$>>>13,LU=D[8]|0,X$=LU&8191,U$=LU>>>13,$U=D[9]|0,J$=$U&8191,$$=$U>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(c,t0)|0,T=Math.imul(c,i0);var qU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(v,S0)|0,K=K+Math.imul(v,v0)|0,K=K+Math.imul(c,S0)|0,T=T+Math.imul(c,v0)|0;var S$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,K=K+Math.imul(U0,v0)|0,K=K+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var UU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(UU>>>26)|0,UU&=67108863,A=Math.imul(h,t0),K=Math.imul(h,i0),K=K+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,K=K+Math.imul(s,v0)|0,K=K+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),K=Math.imul(Y0,i0),K=K+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(h,m)|0,K=K+Math.imul(h,X0)|0,K=K+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,K=K+Math.imul(Z0,v0)|0,K=K+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,T=Math.imul(z0,i0),A=A+Math.imul(Y0,m)|0,K=K+Math.imul(Y0,X0)|0,K=K+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(h,S0)|0,K=K+Math.imul(h,v0)|0,K=K+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(v,q0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(c,q0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(Y0,S0)|0,K=K+Math.imul(Y0,v0)|0,K=K+Math.imul(O0,S0)|0,T=T+Math.imul(O0,v0)|0,A=A+Math.imul(h,x0)|0,K=K+Math.imul(h,y0)|0,K=K+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,q0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,q0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,K=K+Math.imul(I0,v0)|0,K=K+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(Y0,x0)|0,K=K+Math.imul(Y0,y0)|0,K=K+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(h,o0)|0,K=K+Math.imul(h,r0)|0,K=K+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,q0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,q0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),K=Math.imul(c0,i0),K=K+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(M0,S0)|0,K=K+Math.imul(M0,v0)|0,K=K+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,T=T+Math.imul(z0,y0)|0,A=A+Math.imul(Y0,o0)|0,K=K+Math.imul(Y0,r0)|0,K=K+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(h,s0)|0,K=K+Math.imul(h,i)|0,K=K+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,q0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,q0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),K=Math.imul(c0,X0),K=K+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,K=K+Math.imul(m0,v0)|0,K=K+Math.imul(p0,S0)|0,T=T+Math.imul(p0,v0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,T=T+Math.imul(z0,r0)|0,A=A+Math.imul(Y0,s0)|0,K=K+Math.imul(Y0,i)|0,K=K+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(h,q0)|0,K=K+Math.imul(h,E0)|0,K=K+Math.imul(n,q0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var t$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(c0,S0),K=Math.imul(c0,v0),K=K+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(Y0,q0)|0,K=K+Math.imul(Y0,E0)|0,K=K+Math.imul(O0,q0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(h,n0)|0,K=K+Math.imul(h,a0)|0,K=K+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var MU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,A=Math.imul(c0,x0),K=Math.imul(c0,y0),K=K+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,q0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,q0)|0,T=T+Math.imul(z0,E0)|0,A=A+Math.imul(Y0,n0)|0,K=K+Math.imul(Y0,a0)|0,K=K+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(h,X$)|0,K=K+Math.imul(h,U$)|0,K=K+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),K=Math.imul(c0,r0),K=K+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(M0,q0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(B0,q0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,T=T+Math.imul(z0,a0)|0,A=A+Math.imul(Y0,X$)|0,K=K+Math.imul(Y0,U$)|0,K=K+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(h,J$)|0,K=K+Math.imul(h,$$)|0,K=K+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),K=Math.imul(c0,i),K=K+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,q0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,q0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,T=T+Math.imul(z0,U$)|0,A=A+Math.imul(Y0,J$)|0,K=K+Math.imul(Y0,$$)|0,K=K+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var _U=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(c0,q0),K=Math.imul(c0,E0),K=K+Math.imul(h0,q0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,T=T+Math.imul(z0,$$)|0;var NU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(c0,n0),K=Math.imul(c0,a0),K=K+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var xU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(c0,X$),K=Math.imul(c0,U$),K=K+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),K=Math.imul(c0,$$),K=K+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((K&8191)<<13)|0;if(S=(T+(K>>>13)|0)+(AU>>>26)|0,AU&=67108863,R[0]=qU,R[1]=B$,R[2]=S$,R[3]=UU,R[4]=d$,R[5]=bU,R[6]=cU,R[7]=hU,R[8]=pU,R[9]=mU,R[10]=t$,R[11]=MU,R[12]=VU,R[13]=lU,R[14]=_U,R[15]=NU,R[16]=xU,R[17]=EU,R[18]=AU,S!==0)R[19]=S,F.length++;return F};if(!Math.imul)w=f;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var O=0,D=0;for(var R=0;R<F.length-1;R++){var S=D;D=0;var A=O&67108863,K=Math.min(R,V.length-1);for(var T=Math.max(0,R-G.length+1);T<=K;T++){var x=R-T,v=G.words[x]|0,c=V.words[T]|0,r=v*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,D+=S>>>26,S&=67108863}F.words[R]=A,O=S,S=D}if(O!==0)F.words[R]=O;else F.length--;return F.strip()}function g(G,V,F){var O=new u;return O.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,O=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(O<63)F=f(this,G,V);else if(O<1024)F=b(this,G,V);else F=g(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 O=0;O<G;O++)V[O]=this.revBin(O,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var O=0;for(var D=0;D<V;D++)O|=(G&1)<<V-D-1,G>>=1;return O},u.prototype.permute=function(G,V,F,O,D,R){for(var S=0;S<R;S++)O[S]=V[G[S]],D[S]=F[G[S]]},u.prototype.transform=function(G,V,F,O,D,R){this.permute(R,G,V,F,O,D);for(var S=1;S<D;S<<=1){var A=S<<1,K=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var x=0;x<D;x+=A){var v=K,c=T;for(var r=0;r<S;r++){var U0=F[x+r],W0=O[x+r],Q0=F[x+r+S],s=O[x+r+S],e=v*Q0-c*s;if(s=v*s+c*Q0,Q0=e,F[x+r]=U0+Q0,O[x+r]=W0+s,F[x+r+S]=U0-Q0,O[x+r+S]=W0-s,r!==A)e=K*v-T*c,c=K*c+T*v,v=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,O=F&1,D=0;for(F=F/2|0;F;F=F>>>1)D++;return 1<<D+1+O},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var O=0;O<F/2;O++){var D=G[O];G[O]=G[F-O-1],G[F-O-1]=D,D=V[O],V[O]=-V[F-O-1],V[F-O-1]=-D}},u.prototype.normalize13b=function(G,V){var F=0;for(var O=0;O<V/2;O++){var D=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+F;if(G[O]=D&67108863,D<67108864)F=0;else F=D/67108864|0}return G},u.prototype.convert13b=function(G,V,F,O){var D=0;for(var R=0;R<V;R++)D=D+(G[R]|0),F[2*R]=D&8191,D=D>>>13,F[2*R+1]=D&8191,D=D>>>13;for(R=2*V;R<O;++R)F[R]=0;X(D===0),X((D&-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 O=2*this.guessLen13b(G.length,V.length),D=this.makeRBT(O),R=this.stub(O),S=Array(O),A=Array(O),K=Array(O),T=Array(O),x=Array(O),v=Array(O),c=F.words;c.length=O,this.convert13b(G.words,G.length,S,O),this.convert13b(V.words,V.length,T,O),this.transform(S,R,A,K,O,D),this.transform(T,R,x,v,O,D);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,c,R,O,D),this.conjugate(c,R,O),this.normalize13b(c,O),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),g(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 O=(this.words[F]|0)*G,D=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=D>>>26,this.words[F]=D&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=N(G);if(V.length===0)return new Z(1);var F=this;for(var O=0;O<V.length;O++,F=F.sqr())if(V[O]!==0)break;if(++O<V.length)for(var D=F.sqr();O<V.length;O++,D=D.sqr()){if(V[O]===0)continue;F=F.mul(D)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,O=67108863>>>26-V<<26-V,D;if(V!==0){var R=0;for(D=0;D<this.length;D++){var S=this.words[D]&O,A=(this.words[D]|0)-S<<V;this.words[D]=A|R,R=S>>>26-V}if(R)this.words[D]=R,this.length++}if(F!==0){for(D=this.length-1;D>=0;D--)this.words[D+F]=this.words[D];for(D=0;D<F;D++)this.words[D]=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 O;if(V)O=(V-V%26)/26;else O=0;var D=G%26,R=Math.min((G-D)/26,this.length),S=67108863^67108863>>>D<<D,A=F;if(O-=R,O=Math.max(0,O),A){for(var K=0;K<R;K++)A.words[K]=this.words[K];A.length=R}if(R===0);else if(this.length>R){this.length-=R;for(K=0;K<this.length;K++)this.words[K]=this.words[K+R]}else this.words[0]=0,this.length=1;var T=0;for(K=this.length-1;K>=0&&(T!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=T<<26-D|x>>>D,T=x&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,O=1<<V;if(this.length<=F)return!1;var D=this.words[F];return!!(D&O)},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 O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}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 O=G.length+F,D;this._expand(O);var R,S=0;for(D=0;D<G.length;D++){R=(this.words[D+F]|0)+S;var A=(G.words[D]|0)*V;R-=A&67108863,S=(R>>26)-(A/67108864|0),this.words[D+F]=R&67108863}for(;D<this.length-F;D++)R=(this.words[D+F]|0)+S,S=R>>26,this.words[D+F]=R&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(D=0;D<this.length;D++)R=-(this.words[D]|0)+S,S=R>>26,this.words[D]=R&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,O=this.clone(),D=G,R=D.words[D.length-1]|0,S=this._countBits(R);if(F=26-S,F!==0)D=D.ushln(F),O.iushln(F),R=D.words[D.length-1]|0;var A=O.length-D.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var T=0;T<K.length;T++)K.words[T]=0}var x=O.clone()._ishlnsubmul(D,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var c=(O.words[D.length+v]|0)*67108864+(O.words[D.length+v-1]|0);c=Math.min(c/R|0,67108863),O._ishlnsubmul(D,c,v);while(O.negative!==0)if(c--,O.negative=0,O._ishlnsubmul(D,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=c}if(K)K.strip();if(O.strip(),V!=="div"&&F!==0)O.iushrn(F);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,D,R;if(this.negative!==0&&G.negative===0){if(R=this.neg().divmod(G,V),V!=="mod")O=R.div.neg();if(V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.iadd(G)}return{div:O,mod:D}}if(this.negative===0&&G.negative!==0){if(R=this.divmod(G.neg(),V),V!=="mod")O=R.div.neg();return{div:O,mod:R.mod}}if((this.negative&G.negative)!==0){if(R=this.neg().divmod(G.neg(),V),V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.isub(G)}return{div:R.div,mod:D}}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,O=G.ushrn(1),D=G.andln(1),R=F.cmp(O);if(R<0||D===1&&R===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 O=this.length-1;O>=0;O--)F=(V*F+(this.words[O]|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 O=(this.words[F]|0)+V*67108864;this.words[F]=O/G|0,V=O%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 O=new Z(1),D=new Z(0),R=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var K=F.clone(),T=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||D.isOdd())O.iadd(K),D.isub(T);O.iushrn(1),D.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(R.isOdd()||S.isOdd())R.iadd(K),S.isub(T);R.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(R),D.isub(S);else F.isub(V),R.isub(O),S.isub(D)}return{a:R,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 O=new Z(1),D=new Z(0),R=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(O.isOdd())O.iadd(R);O.iushrn(1)}}for(var K=0,T=1;(F.words[0]&T)===0&&K<26;++K,T<<=1);if(K>0){F.iushrn(K);while(K-- >0){if(D.isOdd())D.iadd(R);D.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(D);else F.isub(V),D.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=D;if(x.cmpn(0)<0)x.iadd(G);return x},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 O=0;V.isEven()&&F.isEven();O++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var D=V.cmp(F);if(D<0){var R=V;V=F,F=R}else if(D===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(O)},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,O=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=O,this;var D=O;for(var R=F;D!==0&&R<this.length;R++){var S=this.words[R]|0;S+=D,D=S>>>26,S&=67108863,this.words[R]=S}if(D!==0)this.words[R]=D,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 O=this.words[0]|0;F=O===G?0:O<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 O=this.words[F]|0,D=G.words[F]|0;if(O===D)continue;if(O<D)V=-1;else if(O>D)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 O=F<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>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")}W(a,d),a.prototype.split=function(G,V){var F=4194303,O=Math.min(G.length,9);for(var D=0;D<O;D++)V.words[D]=G.words[D];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var R=G.words[9];V.words[V.length++]=R&F;for(D=10;D<G.length;D++){var S=G.words[D]|0;G.words[D-10]=(S&F)<<4|R>>>22,R=S}if(R>>>=22,G.words[D-10]=R,R===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 O=G.words[F]|0;V+=O*977,G.words[F]=V&67108863,V=O*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 D0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(D0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function _0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(_0,d),_0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var O=(G.words[F]|0)*19+V,D=O&67108863;O>>>=26,G.words[F]=D,V=O}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 D0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new _0;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 O=this.m.subn(1),D=0;while(!O.isZero()&&O.andln(1)===0)D++,O.iushrn(1);X(!O.isZero());var R=new Z(1).toRed(this),S=R.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(S)!==0)K.redIAdd(S);var T=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),c=D;while(v.cmp(R)!==0){var r=v;for(var U0=0;r.cmp(R)!==0;U0++)r=r.redSqr();X(U0<c);var W0=this.pow(T,new Z(1).iushln(c-U0-1));x=x.redMul(W0),T=W0.redSqr(),v=v.redMul(T),c=U0}return x},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,O=Array(1<<F);O[0]=new Z(1).toRed(this),O[1]=G;for(var D=2;D<O.length;D++)O[D]=this.mul(O[D-1],G);var R=O[0],S=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(D=V.length-1;D>=0;D--){var T=V.words[D];for(var x=K-1;x>=0;x--){var v=T>>x&1;if(R!==O[0])R=this.sqr(R);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==F&&(D!==0||x!==0))continue;R=this.mul(R,O[S]),A=0,S=0}K=26}return R},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)}W(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),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._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)}),qf=b0((I)=>{var J=X2(),Y=F1(),z=I;z.define=function(W,Z){return new X(W,Z)};function X(W,Z){this.name=W,this.body=Z,this.decoders={},this.encoders={}}X.prototype._createNamed=function(W){var Z;try{Z=(()=>{throw new Error("Cannot require module "+"vm");})().runInThisContext("(function "+this.name+`(entity) {
241
+ this._initNamed(entity);
242
+ })`)}catch(L){Z=function(j){this._initNamed(j)}}return Y(Z,W),Z.prototype._initNamed=function(L){W.call(this,L)},new Z(this)},X.prototype._getDecoder=function(W){if(W=W||"der",!this.decoders.hasOwnProperty(W))this.decoders[W]=this._createNamed(J.decoders[W]);return this.decoders[W]},X.prototype.decode=function(W,Z,L){return this._getDecoder(Z).decode(W,L)},X.prototype._getEncoder=function(W){if(W=W||"der",!this.encoders.hasOwnProperty(W))this.encoders[W]=this._createNamed(J.encoders[W]);return this.encoders[W]},X.prototype.encode=function(W,Z,L){return this._getEncoder(Z).encode(W,L)}}),_f=b0((I)=>{var J=F1();function Y(X){this._reporterState={obj:null,path:[],options:X||{},errors:[]}}I.Reporter=Y,Y.prototype.isError=function(X){return X instanceof z},Y.prototype.save=function(){var X=this._reporterState;return{obj:X.obj,pathLen:X.path.length}},Y.prototype.restore=function(X){var W=this._reporterState;W.obj=X.obj,W.path=W.path.slice(0,X.pathLen)},Y.prototype.enterKey=function(X){return this._reporterState.path.push(X)},Y.prototype.exitKey=function(X){var W=this._reporterState;W.path=W.path.slice(0,X-1)},Y.prototype.leaveKey=function(X,W,Z){var L=this._reporterState;if(this.exitKey(X),L.obj!==null)L.obj[W]=Z},Y.prototype.path=function(){return this._reporterState.path.join("/")},Y.prototype.enterObject=function(){var X=this._reporterState,W=X.obj;return X.obj={},W},Y.prototype.leaveObject=function(X){var W=this._reporterState,Z=W.obj;return W.obj=X,Z},Y.prototype.error=function(X){var W,Z=this._reporterState,L=X instanceof z;if(L)W=X;else W=new z(Z.path.map(function(j){return"["+JSON.stringify(j)+"]"}).join(""),X.message||X,X.stack);if(!Z.options.partial)throw W;if(!L)Z.errors.push(W);return W},Y.prototype.wrapResult=function(X){var W=this._reporterState;if(!W.options.partial)return X;return{result:this.isError(X)?null:X,errors:W.errors}};function z(X,W){this.path=X,this.rethrow(W)}J(z,Error),z.prototype.rethrow=function(X){if(this.message=X+" at: "+(this.path||"(shallow)"),Error.captureStackTrace)Error.captureStackTrace(this,z);if(!this.stack)try{throw Error(this.message)}catch(W){this.stack=W.stack}return this}}),yE=b0((I)=>{var J=F1(),Y=sG().Reporter,z=(iU(),j$(oU)).Buffer;function X(Z,L){if(Y.call(this,L),!z.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 L=new X(this.base);return L.offset=Z.offset,L.length=this.offset,this.offset=Z.offset,Y.prototype.restore.call(this,Z.reporter),L},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,L){if(!(this.offset+Z<=this.length))return this.error(L||"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 W(Z,L){if(Array.isArray(Z))this.length=0,this.value=Z.map(function(j){if(!(j instanceof W))j=new W(j,L);return this.length+=j.length,j},this);else if(typeof Z==="number"){if(!(0<=Z&&Z<=255))return L.error("non-byte EncoderBuffer value");this.value=Z,this.length=1}else if(typeof Z==="string")this.value=Z,this.length=z.byteLength(Z);else if(z.isBuffer(Z))this.value=Z,this.length=Z.length;else return L.error("Unsupported type: "+typeof Z)}I.EncoderBuffer=W,W.prototype.join=function(Z,L){if(!Z)Z=new z(this.length);if(!L)L=0;if(this.length===0)return Z;if(Array.isArray(this.value))this.value.forEach(function(j){j.join(Z,L),L+=j.length});else{if(typeof this.value==="number")Z[L]=this.value;else if(typeof this.value==="string")Z.write(this.value,L);else if(z.isBuffer(this.value))this.value.copy(Z,L);L+=this.length}return Z}}),Ef=b0((I,J)=>{var Y=sG().Reporter,z=sG().EncoderBuffer,X=sG().DecoderBuffer,W=JX(),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"],L=["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 _(C,q){var B={};if(this._baseState=B,B.enc=C,B.parent=q||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=_;var E=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];_.prototype.clone=function(){var C=this._baseState,q={};E.forEach(function(N){q[N]=C[N]});var B=new this.constructor(q.parent);return B._baseState=q,B},_.prototype._wrap=function(){var C=this._baseState;L.forEach(function(q){this[q]=function(){var B=new this.constructor(this);return C.children.push(B),B[q].apply(B,arguments)}},this)},_.prototype._init=function(C){var q=this._baseState;W(q.parent===null),C.call(this),q.children=q.children.filter(function(B){return B._baseState.parent===this},this),W.equal(q.children.length,1,"Root node can have only one child")},_.prototype._useArgs=function(C){var q=this._baseState,B=C.filter(function(N){return N instanceof this.constructor},this);if(C=C.filter(function(N){return!(N instanceof this.constructor)},this),B.length!==0)W(q.children===null),q.children=B,B.forEach(function(N){N._baseState.parent=this},this);if(C.length!==0)W(q.args===null),q.args=C,q.reverseArgs=C.map(function(N){if(typeof N!=="object"||N.constructor!==Object)return N;var f={};return Object.keys(N).forEach(function(w){if(w==(w|0))w|=0;var b=N[w];f[b]=w}),f})},j.forEach(function(C){_.prototype[C]=function(){var q=this._baseState;throw Error(C+" not implemented for encoding: "+q.enc)}}),Z.forEach(function(C){_.prototype[C]=function(){var q=this._baseState,B=Array.prototype.slice.call(arguments);return W(q.tag===null),q.tag=C,this._useArgs(B),this}}),_.prototype.use=function(C){W(C);var q=this._baseState;return W(q.use===null),q.use=C,this},_.prototype.optional=function(){var C=this._baseState;return C.optional=!0,this},_.prototype.def=function(C){var q=this._baseState;return W(q.default===null),q.default=C,q.optional=!0,this},_.prototype.explicit=function(C){var q=this._baseState;return W(q.explicit===null&&q.implicit===null),q.explicit=C,this},_.prototype.implicit=function(C){var q=this._baseState;return W(q.explicit===null&&q.implicit===null),q.implicit=C,this},_.prototype.obj=function(){var C=this._baseState,q=Array.prototype.slice.call(arguments);if(C.obj=!0,q.length!==0)this._useArgs(q);return this},_.prototype.key=function(C){var q=this._baseState;return W(q.key===null),q.key=C,this},_.prototype.any=function(){var C=this._baseState;return C.any=!0,this},_.prototype.choice=function(C){var q=this._baseState;return W(q.choice===null),q.choice=C,this._useArgs(Object.keys(C).map(function(B){return C[B]})),this},_.prototype.contains=function(C){var q=this._baseState;return W(q.use===null),q.contains=C,this},_.prototype._decode=function(C,q){var B=this._baseState;if(B.parent===null)return C.wrapResult(B.children[0]._decode(C,q));var N=B.default,f=!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 g=C.save();try{if(B.choice===null)this._decodeGeneric(B.tag,C,q);else this._decodeChoice(C,q);f=!0}catch(L0){f=!1}C.restore(g)}else if(f=this._peekTag(C,b,B.any),C.isError(f))return f}var u;if(B.obj&&f)u=C.enterObject();if(f){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 g=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)N=C.raw(g);else C=a}if(q&&q.track&&B.tag!==null)q.track(C.path(),d,C.length,"tagged");if(q&&q.track&&B.tag!==null)q.track(C.path(),C.offset,C.length,"content");if(B.any)N=N;else if(B.choice===null)N=this._decodeGeneric(B.tag,C,q);else N=this._decodeChoice(C,q);if(C.isError(N))return N;if(!B.any&&B.choice===null&&B.children!==null)B.children.forEach(function(L0){L0._decode(C,q)});if(B.contains&&(B.tag==="octstr"||B.tag==="bitstr")){var D0=new X(N);N=this._getUse(B.contains,C._reporterState.obj)._decode(D0,q)}}if(B.obj&&f)N=C.leaveObject(u);if(B.key!==null&&(N!==null||f===!0))C.leaveKey(w,B.key,N);else if(w!==null)C.exitKey(w);return N},_.prototype._decodeGeneric=function(C,q,B){var N=this._baseState;if(C==="seq"||C==="set")return null;if(C==="seqof"||C==="setof")return this._decodeList(q,C,N.args[0],B);else if(/str$/.test(C))return this._decodeStr(q,C,B);else if(C==="objid"&&N.args)return this._decodeObjid(q,N.args[0],N.args[1],B);else if(C==="objid")return this._decodeObjid(q,null,null,B);else if(C==="gentime"||C==="utctime")return this._decodeTime(q,C,B);else if(C==="null_")return this._decodeNull(q,B);else if(C==="bool")return this._decodeBool(q,B);else if(C==="objDesc")return this._decodeStr(q,C,B);else if(C==="int"||C==="enum")return this._decodeInt(q,N.args&&N.args[0],B);if(N.use!==null)return this._getUse(N.use,q._reporterState.obj)._decode(q,B);else return q.error("unknown tag: "+C)},_.prototype._getUse=function(C,q){var B=this._baseState;if(B.useDecoder=this._use(C,q),W(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},_.prototype._decodeChoice=function(C,q){var B=this._baseState,N=null,f=!1;if(Object.keys(B.choice).some(function(w){var b=C.save(),g=B.choice[w];try{var u=g._decode(C,q);if(C.isError(u))return!1;N={type:w,value:u},f=!0}catch(p){return C.restore(b),!1}return!0},this),!f)return C.error("Choice not matched");return N},_.prototype._createEncoderBuffer=function(C){return new z(C,this.reporter)},_.prototype._encode=function(C,q,B){var N=this._baseState;if(N.default!==null&&N.default===C)return;var f=this._encodeValue(C,q,B);if(f===void 0)return;if(this._skipDefault(f,q,B))return;return f},_.prototype._encodeValue=function(C,q,B){var N=this._baseState;if(N.parent===null)return N.children[0]._encode(C,q||new Y);var g=null;if(this.reporter=q,N.optional&&C===void 0)if(N.default!==null)C=N.default;else return;var f=null,w=!1;if(N.any)g=this._createEncoderBuffer(C);else if(N.choice)g=this._encodeChoice(C,q);else if(N.contains)f=this._getUse(N.contains,B)._encode(C,q),w=!0;else if(N.children)f=N.children.map(function(d){if(d._baseState.tag==="null_")return d._encode(null,q,C);if(d._baseState.key===null)return q.error("Child should have a key");var a=q.enterKey(d._baseState.key);if(typeof C!=="object")return q.error("Child expected, but input is not object");var D0=d._encode(C[d._baseState.key],q,C);return q.leaveKey(a),D0},this).filter(function(d){return d}),f=this._createEncoderBuffer(f);else if(N.tag==="seqof"||N.tag==="setof"){if(!(N.args&&N.args.length===1))return q.error("Too many args for : "+N.tag);if(!Array.isArray(C))return q.error("seqof/setof, but data is not Array");var b=this.clone();b._baseState.implicit=null,f=this._createEncoderBuffer(C.map(function(d){var a=this._baseState;return this._getUse(a.args[0],C)._encode(d,q)},b))}else if(N.use!==null)g=this._getUse(N.use,B)._encode(C,q);else f=this._encodePrimitive(N.tag,C),w=!0;var g;if(!N.any&&N.choice===null){var u=N.implicit!==null?N.implicit:N.tag,p=N.implicit===null?"universal":"context";if(u===null){if(N.use===null)q.error("Tag could be omitted only for .use()")}else if(N.use===null)g=this._encodeComposite(u,w,p,f)}if(N.explicit!==null)g=this._encodeComposite(N.explicit,!1,"context",g);return g},_.prototype._encodeChoice=function(C,q){var B=this._baseState,N=B.choice[C.type];if(!N)W(!1,C.type+" not found in "+JSON.stringify(Object.keys(B.choice)));return N._encode(C.value,q)},_.prototype._encodePrimitive=function(C,q){var B=this._baseState;if(/str$/.test(C))return this._encodeStr(q,C);else if(C==="objid"&&B.args)return this._encodeObjid(q,B.reverseArgs[0],B.args[1]);else if(C==="objid")return this._encodeObjid(q,null,null);else if(C==="gentime"||C==="utctime")return this._encodeTime(q,C);else if(C==="null_")return this._encodeNull();else if(C==="int"||C==="enum")return this._encodeInt(q,B.args&&B.reverseArgs[0]);else if(C==="bool")return this._encodeBool(q);else if(C==="objDesc")return this._encodeStr(q,C);else throw Error("Unsupported tag: "+C)},_.prototype._isNumstr=function(C){return/^[0-9 ]*$/.test(C)},_.prototype._isPrintstr=function(C){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(C)}}),sG=b0((I)=>{var J=I;J.Reporter=_f().Reporter,J.DecoderBuffer=yE().DecoderBuffer,J.EncoderBuffer=yE().EncoderBuffer,J.Node=Ef()}),Sf=b0((I)=>{var J=IS();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)}),IS=b0((I)=>{var J=I;J._reverse=function(Y){var z={};return Object.keys(Y).forEach(function(X){if((X|0)==X)X=X|0;var W=Y[X];z[W]=X}),z},J.der=Sf()}),XS=b0((I,J)=>{var Y=F1(),z=X2(),X=z.base,W=z.bignum,Z=z.constants.der;function L(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new j,this.tree._init(C.body)}J.exports=L,L.prototype.decode=function(C,q){if(!(C instanceof X.DecoderBuffer))C=new X.DecoderBuffer(C,q);return this.tree._decode(C,q)};function j(C){X.Node.call(this,"der",C)}Y(j,X.Node),j.prototype._peekTag=function(C,q,B){if(C.isEmpty())return!1;var N=C.save(),f=_(C,'Failed to peek tag: "'+q+'"');if(C.isError(f))return f;return C.restore(N),f.tag===q||f.tagStr===q||f.tagStr+"of"===q||B},j.prototype._decodeTag=function(C,q,B){var N=_(C,'Failed to decode tag of "'+q+'"');if(C.isError(N))return N;var f=E(C,N.primitive,'Failed to get length of "'+q+'"');if(C.isError(f))return f;if(!B&&N.tag!==q&&N.tagStr!==q&&N.tagStr+"of"!==q)return C.error('Failed to match tag: "'+q+'"');if(N.primitive||f!==null)return C.skip(f,'Failed to match body of: "'+q+'"');var w=C.save(),b=this._skipUntilEnd(C,'Failed to skip indefinite length body: "'+this.tag+'"');if(C.isError(b))return b;return f=C.offset-w.offset,C.restore(w),C.skip(f,'Failed to match body of: "'+q+'"')},j.prototype._skipUntilEnd=function(C,q){while(!0){var B=_(C,q);if(C.isError(B))return B;var N=E(C,B.primitive,q);if(C.isError(N))return N;var f;if(B.primitive||N!==null)f=C.skip(N);else f=this._skipUntilEnd(C,q);if(C.isError(f))return f;if(B.tagStr==="end")break}},j.prototype._decodeList=function(C,q,B,N){var f=[];while(!C.isEmpty()){var w=this._peekTag(C,"end");if(C.isError(w))return w;var b=B.decode(C,"der",N);if(C.isError(b)&&w)break;f.push(b)}return f},j.prototype._decodeStr=function(C,q){if(q==="bitstr"){var B=C.readUInt8();if(C.isError(B))return B;return{unused:B,data:C.raw()}}else if(q==="bmpstr"){var N=C.raw();if(N.length%2===1)return C.error("Decoding of string type: bmpstr length mismatch");var f="";for(var w=0;w<N.length/2;w++)f+=String.fromCharCode(N.readUInt16BE(w*2));return f}else if(q==="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(q==="octstr")return C.raw();else if(q==="objDesc")return C.raw();else if(q==="printstr"){var g=C.raw().toString("ascii");if(!this._isPrintstr(g))return C.error("Decoding of string type: printstr unsupported characters");return g}else if(/str$/.test(q))return C.raw().toString();else return C.error("Decoding of string type: "+q+" unsupported")},j.prototype._decodeObjid=function(C,q,B){var N,f=[],w=0;while(!C.isEmpty()){var b=C.readUInt8();if(w<<=7,w|=b&127,(b&128)===0)f.push(w),w=0}if(b&128)f.push(w);var g=f[0]/40|0,u=f[0]%40;if(B)N=f;else N=[g,u].concat(f.slice(1));if(q){var p=q[N.join(" ")];if(p===void 0)p=q[N.join(".")];if(p!==void 0)N=p}return N},j.prototype._decodeTime=function(C,q){var B=C.raw().toString();if(q==="gentime")var N=B.slice(0,4)|0,f=B.slice(4,6)|0,w=B.slice(6,8)|0,b=B.slice(8,10)|0,g=B.slice(10,12)|0,u=B.slice(12,14)|0;else if(q==="utctime"){var N=B.slice(0,2)|0,f=B.slice(2,4)|0,w=B.slice(4,6)|0,b=B.slice(6,8)|0,g=B.slice(8,10)|0,u=B.slice(10,12)|0;if(N<70)N=2000+N;else N=1900+N}else return C.error("Decoding "+q+" time is not supported yet");return Date.UTC(N,f-1,w,b,g,u,0)},j.prototype._decodeNull=function(C){return null},j.prototype._decodeBool=function(C){var q=C.readUInt8();if(C.isError(q))return q;else return q!==0},j.prototype._decodeInt=function(C,q){var B=C.raw(),N=new W(B);if(q)N=q[N.toString(10)]||N;return N},j.prototype._use=function(C,q){if(typeof C==="function")C=C(q);return C._getDecoder("der").tree};function _(C,q){var B=C.readUInt8(q);if(C.isError(B))return B;var N=Z.tagClass[B>>6],f=(B&32)===0;if((B&31)===31){var w=B;B=0;while((w&128)===128){if(w=C.readUInt8(q),C.isError(w))return w;B<<=7,B|=w&127}}else B&=31;var b=Z.tag[B];return{cls:N,primitive:f,tag:B,tagStr:b}}function E(C,q,B){var N=C.readUInt8(B);if(C.isError(N))return N;if(!q&&N===128)return null;if((N&128)===0)return N;var f=N&127;if(f>4)return C.error("length octect is too long");N=0;for(var w=0;w<f;w++){N<<=8;var b=C.readUInt8(B);if(C.isError(b))return b;N|=b}return N}}),jf=b0((I,J)=>{var Y=F1(),z=(iU(),j$(oU)).Buffer,X=XS();function W(Z){X.call(this,Z),this.enc="pem"}Y(W,X),J.exports=W,W.prototype.decode=function(Z,L){var j=Z.toString().split(/[\r\n]+/g),_=L.label.toUpperCase(),E=/^-----(BEGIN|END) ([^-]+)-----$/,C=-1,q=-1;for(var B=0;B<j.length;B++){var N=j[B].match(E);if(N===null)continue;if(N[2]!==_)continue;if(C===-1){if(N[1]!=="BEGIN")break;C=B}else{if(N[1]!=="END")break;q=B;break}}if(C===-1||q===-1)throw Error("PEM section not found for: "+_);var f=j.slice(C+1,q).join("");f.replace(/[^a-z0-9\+\/=]+/gi,"");var w=new z(f,"base64");return X.prototype.decode.call(this,w,L)}}),Bf=b0((I)=>{var J=I;J.der=XS(),J.pem=jf()}),JS=b0((I,J)=>{var Y=F1(),z=(iU(),j$(oU)).Buffer,X=X2(),W=X.base,Z=X.constants.der;function L(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new j,this.tree._init(C.body)}J.exports=L,L.prototype.encode=function(C,q){return this.tree._encode(C,q).join()};function j(C){W.Node.call(this,"der",C)}Y(j,W.Node),j.prototype._encodeComposite=function(C,q,B,N){var f=E(C,q,B,this.reporter);if(N.length<128){var g=new z(2);return g[0]=f,g[1]=N.length,this._createEncoderBuffer([g,N])}var w=1;for(var b=N.length;b>=256;b>>=8)w++;var g=new z(2+w);g[0]=f,g[1]=128|w;for(var b=1+w,u=N.length;u>0;b--,u>>=8)g[b]=u&255;return this._createEncoderBuffer([g,N])},j.prototype._encodeStr=function(C,q){if(q==="bitstr")return this._createEncoderBuffer([C.unused|0,C.data]);else if(q==="bmpstr"){var B=new z(C.length*2);for(var N=0;N<C.length;N++)B.writeUInt16BE(C.charCodeAt(N),N*2);return this._createEncoderBuffer(B)}else if(q==="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(q==="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(q))return this._createEncoderBuffer(C);else if(q==="objDesc")return this._createEncoderBuffer(C);else return this.reporter.error("Encoding of string type: "+q+" unsupported")},j.prototype._encodeObjid=function(C,q,B){if(typeof C==="string"){if(!q)return this.reporter.error("string objid given, but no values map found");if(!q.hasOwnProperty(C))return this.reporter.error("objid not found in values map");C=q[C].split(/[\s\.]+/g);for(var N=0;N<C.length;N++)C[N]|=0}else if(Array.isArray(C)){C=C.slice();for(var N=0;N<C.length;N++)C[N]|=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 f=0;for(var N=0;N<C.length;N++){var w=C[N];for(f++;w>=128;w>>=7)f++}var b=new z(f),g=b.length-1;for(var N=C.length-1;N>=0;N--){var w=C[N];b[g--]=w&127;while((w>>=7)>0)b[g--]=128|w&127}return this._createEncoderBuffer(b)};function _(C){if(C<10)return"0"+C;else return C}j.prototype._encodeTime=function(C,q){var B,N=new Date(C);if(q==="gentime")B=[_(N.getFullYear()),_(N.getUTCMonth()+1),_(N.getUTCDate()),_(N.getUTCHours()),_(N.getUTCMinutes()),_(N.getUTCSeconds()),"Z"].join("");else if(q==="utctime")B=[_(N.getFullYear()%100),_(N.getUTCMonth()+1),_(N.getUTCDate()),_(N.getUTCHours()),_(N.getUTCMinutes()),_(N.getUTCSeconds()),"Z"].join("");else this.reporter.error("Encoding "+q+" time is not supported yet");return this._encodeStr(B,"octstr")},j.prototype._encodeNull=function(){return this._createEncoderBuffer("")},j.prototype._encodeInt=function(C,q){if(typeof C==="string"){if(!q)return this.reporter.error("String int or enum given, but no values map");if(!q.hasOwnProperty(C))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(C));C=q[C]}if(typeof C!=="number"&&!z.isBuffer(C)){var B=C.toArray();if(!C.sign&&B[0]&128)B.unshift(0);C=new z(B)}if(z.isBuffer(C)){var N=C.length;if(C.length===0)N++;var w=new z(N);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 N=1;for(var f=C;f>=256;f>>=8)N++;var w=Array(N);for(var f=w.length-1;f>=0;f--)w[f]=C&255,C>>=8;if(w[0]&128)w.unshift(0);return this._createEncoderBuffer(new z(w))},j.prototype._encodeBool=function(C){return this._createEncoderBuffer(C?255:0)},j.prototype._use=function(C,q){if(typeof C==="function")C=C(q);return C._getEncoder("der").tree},j.prototype._skipDefault=function(C,q,B){var N=this._baseState,f;if(N.default===null)return!1;var w=C.join();if(N.defaultBuffer===void 0)N.defaultBuffer=this._encodeValue(N.default,q,B).join();if(w.length!==N.defaultBuffer.length)return!1;for(f=0;f<w.length;f++)if(w[f]!==N.defaultBuffer[f])return!1;return!0};function E(C,q,B,N){var f;if(C==="seqof")C="seq";else if(C==="setof")C="set";if(Z.tagByName.hasOwnProperty(C))f=Z.tagByName[C];else if(typeof C==="number"&&(C|0)===C)f=C;else return N.error("Unknown tag: "+C);if(f>=31)return N.error("Multi-octet tag encoding unsupported");if(!q)f|=32;return f|=Z.tagClassByName[B||"universal"]<<6,f}}),vf=b0((I,J)=>{var Y=F1(),z=JS();function X(W){z.call(this,W),this.enc="pem"}Y(X,z),J.exports=X,X.prototype.encode=function(W,Z){var L=z.prototype.encode.call(this,W),j=L.toString("base64"),_=["-----BEGIN "+Z.label+"-----"];for(var E=0;E<j.length;E+=64)_.push(j.slice(E,E+64));return _.push("-----END "+Z.label+"-----"),_.join(`
243
+ `)}}),Nf=b0((I)=>{var J=I;J.der=JS(),J.pem=vf()}),X2=b0((I)=>{var J=I;J.bignum=Pf(),J.define=qf().define,J.base=sG(),J.constants=IS(),J.decoders=Bf(),J.encoders=Nf()}),kf=b0((I,J)=>{var Y=X2(),z=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())}),W=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(W),this.key("subjectPublicKey").bitstr())}),L=Y.define("RelativeDistinguishedName",function(){this.setof(X)}),j=Y.define("RDNSequence",function(){this.seqof(L)}),_=Y.define("Name",function(){this.choice({rdnSequence:this.use(j)})}),E=Y.define("Validity",function(){this.seq().obj(this.key("notBefore").use(z),this.key("notAfter").use(z))}),C=Y.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),q=Y.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(W),this.key("issuer").use(_),this.key("validity").use(E),this.key("subject").use(_),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(q),this.key("signatureAlgorithm").use(W),this.key("signatureValue").bitstr())});J.exports=B}),gf=b0((I)=>{var J=X2();I.certificate=kf();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 z=J.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});I.RSAPublicKey=z;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())}),W=J.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(X),this.key("subjectPublicKey").bitstr())});I.PublicKey=W;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 L=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=L;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 _=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(_),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())})}),xf=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"}}),wf=b0((I,J)=>{var Y=f6().Buffer,z=NQ().Transform,X=F1();function W(_){z.call(this),this._block=Y.allocUnsafe(_),this._blockSize=_,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}X(W,z),W.prototype._transform=function(_,E,C){var q=null;try{this.update(_,E)}catch(B){q=B}C(q)},W.prototype._flush=function(_){var E=null;try{this.push(this.digest())}catch(C){E=C}_(E)};var Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);function j(_,E){if(_ instanceof Y)return _;if(typeof _==="string")return Y.from(_,E);if(L&&ArrayBuffer.isView(_)){if(_.byteLength===0)return Y.alloc(0);var C=Y.from(_.buffer,_.byteOffset,_.byteLength);if(C.byteLength===_.byteLength)return C}if(Z&&_ instanceof Uint8Array)return Y.from(_);if(Y.isBuffer(_)&&_.constructor&&typeof _.constructor.isBuffer==="function"&&_.constructor.isBuffer(_))return Y.from(_);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}W.prototype.update=function(_,E){if(this._finalized)throw Error("Digest already called");_=j(_,E);var C=this._block,q=0;while(this._blockOffset+_.length-q>=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 N=0,f=_.length*8;f>0;++N)if(this._length[N]+=f,f=this._length[N]/4294967296|0,f>0)this._length[N]-=4294967296*f;return this},W.prototype._update=function(){throw Error("_update is not implemented")},W.prototype.digest=function(_){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var E=this._digest();if(_!==void 0)E=E.toString(_);this._block.fill(0),this._blockOffset=0;for(var C=0;C<4;++C)this._length[C]=0;return E},W.prototype._digest=function(){throw Error("_digest is not implemented")},J.exports=W}),ff=b0((I,J)=>{var Y=F1(),z=wf(),X=f6().Buffer,W=Array(16);function Z(){z.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}Y(Z,z),Z.prototype._update=function(){var q=W;for(var B=0;B<16;++B)q[B]=this._block.readInt32LE(B*4);var N=this._a,f=this._b,w=this._c,b=this._d;N=j(N,f,w,b,q[0],3614090360,7),b=j(b,N,f,w,q[1],3905402710,12),w=j(w,b,N,f,q[2],606105819,17),f=j(f,w,b,N,q[3],3250441966,22),N=j(N,f,w,b,q[4],4118548399,7),b=j(b,N,f,w,q[5],1200080426,12),w=j(w,b,N,f,q[6],2821735955,17),f=j(f,w,b,N,q[7],4249261313,22),N=j(N,f,w,b,q[8],1770035416,7),b=j(b,N,f,w,q[9],2336552879,12),w=j(w,b,N,f,q[10],4294925233,17),f=j(f,w,b,N,q[11],2304563134,22),N=j(N,f,w,b,q[12],1804603682,7),b=j(b,N,f,w,q[13],4254626195,12),w=j(w,b,N,f,q[14],2792965006,17),f=j(f,w,b,N,q[15],1236535329,22),N=_(N,f,w,b,q[1],4129170786,5),b=_(b,N,f,w,q[6],3225465664,9),w=_(w,b,N,f,q[11],643717713,14),f=_(f,w,b,N,q[0],3921069994,20),N=_(N,f,w,b,q[5],3593408605,5),b=_(b,N,f,w,q[10],38016083,9),w=_(w,b,N,f,q[15],3634488961,14),f=_(f,w,b,N,q[4],3889429448,20),N=_(N,f,w,b,q[9],568446438,5),b=_(b,N,f,w,q[14],3275163606,9),w=_(w,b,N,f,q[3],4107603335,14),f=_(f,w,b,N,q[8],1163531501,20),N=_(N,f,w,b,q[13],2850285829,5),b=_(b,N,f,w,q[2],4243563512,9),w=_(w,b,N,f,q[7],1735328473,14),f=_(f,w,b,N,q[12],2368359562,20),N=E(N,f,w,b,q[5],4294588738,4),b=E(b,N,f,w,q[8],2272392833,11),w=E(w,b,N,f,q[11],1839030562,16),f=E(f,w,b,N,q[14],4259657740,23),N=E(N,f,w,b,q[1],2763975236,4),b=E(b,N,f,w,q[4],1272893353,11),w=E(w,b,N,f,q[7],4139469664,16),f=E(f,w,b,N,q[10],3200236656,23),N=E(N,f,w,b,q[13],681279174,4),b=E(b,N,f,w,q[0],3936430074,11),w=E(w,b,N,f,q[3],3572445317,16),f=E(f,w,b,N,q[6],76029189,23),N=E(N,f,w,b,q[9],3654602809,4),b=E(b,N,f,w,q[12],3873151461,11),w=E(w,b,N,f,q[15],530742520,16),f=E(f,w,b,N,q[2],3299628645,23),N=C(N,f,w,b,q[0],4096336452,6),b=C(b,N,f,w,q[7],1126891415,10),w=C(w,b,N,f,q[14],2878612391,15),f=C(f,w,b,N,q[5],4237533241,21),N=C(N,f,w,b,q[12],1700485571,6),b=C(b,N,f,w,q[3],2399980690,10),w=C(w,b,N,f,q[10],4293915773,15),f=C(f,w,b,N,q[1],2240044497,21),N=C(N,f,w,b,q[8],1873313359,6),b=C(b,N,f,w,q[15],4264355552,10),w=C(w,b,N,f,q[6],2734768916,15),f=C(f,w,b,N,q[13],1309151649,21),N=C(N,f,w,b,q[4],4149444226,6),b=C(b,N,f,w,q[11],3174756917,10),w=C(w,b,N,f,q[2],718787259,15),f=C(f,w,b,N,q[9],3951481745,21),this._a=this._a+N|0,this._b=this._b+f|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 q=X.allocUnsafe(16);return q.writeInt32LE(this._a,0),q.writeInt32LE(this._b,4),q.writeInt32LE(this._c,8),q.writeInt32LE(this._d,12),q};function L(q,B){return q<<B|q>>>32-B}function j(q,B,N,f,w,b,g){return L(q+(B&N|~B&f)+w+b|0,g)+B|0}function _(q,B,N,f,w,b,g){return L(q+(B&f|N&~f)+w+b|0,g)+B|0}function E(q,B,N,f,w,b,g){return L(q+(B^N^f)+w+b|0,g)+B|0}function C(q,B,N,f,w,b,g){return L(q+(N^(B|~f))+w+b|0,g)+B|0}J.exports=Z}),yf=b0((I,J)=>{var Y=f6().Buffer,z=ff();function X(W,Z,L,j){if(!Y.isBuffer(W))W=Y.from(W,"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 _=L/8,E=Y.alloc(_),C=Y.alloc(j||0),q=Y.alloc(0);while(_>0||j>0){var B=new z;if(B.update(q),B.update(W),Z)B.update(Z);q=B.digest();var N=0;if(_>0){var f=E.length-_;N=Math.min(_,q.length),q.copy(E,f,0,N),_-=N}if(N<q.length&&j>0){var w=C.length-j,b=Math.min(j,q.length-N);q.copy(C,w,N,N+b),j-=b}}return q.fill(0),{key:E,iv:C}}J.exports=X}),QS=b0((I)=>{var J=(uU(),j$(M1));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}),uf=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,z=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,X=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,W=yf(),Z=QS(),L=f6().Buffer;J.exports=function(j,_){var E=j.toString(),C=E.match(Y),q;if(!C){var B=E.match(X);q=L.from(B[2].replace(/[\r\n]/g,""),"base64")}else{var N="aes"+C[1],f=L.from(C[2],"hex"),w=L.from(C[3].replace(/[\r\n]/g,""),"base64"),b=W(_,f.slice(0,8),parseInt(C[1],10)).key,g=[],u=Z.createDecipheriv(N,b,f);g.push(u.update(w)),g.push(u.final()),q=L.concat(g)}var p=E.match(z)[1];return{tag:p,data:q}}}),YS=b0((I,J)=>{var Y=gf(),z=xf(),X=uf(),W=QS(),Z=rE().pbkdf2Sync,L=f6().Buffer;function j(E,C){var q=E.algorithm.decrypt.kde.kdeparams.salt,B=parseInt(E.algorithm.decrypt.kde.kdeparams.iters.toString(),10),N=z[E.algorithm.decrypt.cipher.algo.join(".")],f=E.algorithm.decrypt.cipher.iv,w=E.subjectPrivateKey,b=parseInt(N.split("-")[1],10)/8,g=Z(C,q,B,b,"sha1"),u=W.createDecipheriv(N,g,f),p=[];return p.push(u.update(w)),p.push(u.final()),L.concat(p)}function _(E){var C;if(typeof E==="object"&&!L.isBuffer(E))C=E.passphrase,E=E.key;if(typeof E==="string")E=L.from(E);var q=X(E,C),B=q.tag,N=q.data,f,w;switch(B){case"CERTIFICATE":w=Y.certificate.decode(N,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!w)w=Y.PublicKey.decode(N,"der");switch(f=w.algorithm.algorithm.join("."),f){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 "+f)}case"ENCRYPTED PRIVATE KEY":N=Y.EncryptedPrivateKey.decode(N,"der"),N=j(N,C);case"PRIVATE KEY":switch(w=Y.PrivateKey.decode(N,"der"),f=w.algorithm.algorithm.join("."),f){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 "+f)}case"RSA PUBLIC KEY":return Y.RSAPublicKey.decode(N,"der");case"RSA PRIVATE KEY":return Y.RSAPrivateKey.decode(N,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Y.DSAPrivateKey.decode(N,"der")};case"EC PRIVATE KEY":return N=Y.ECPrivateKey.decode(N,"der"),{curve:N.parameters.value,privateKey:N.privateKey};default:throw Error("unknown key type "+B)}}_.signature=Y.signature,J.exports=_}),GS=b0((I,J)=>{var Y=LK(),z=f6().Buffer;J.exports=function(W,Z){var L=z.alloc(0),j=0,_;while(L.length<Z)_=X(j++),L=z.concat([L,Y("sha1").update(W).update(_).digest()]);return L.slice(0,Z)};function X(W){var Z=z.allocUnsafe(4);return Z.writeUInt32BE(W,0),Z}}),ZS=b0((I,J)=>{J.exports=function(Y,z){var X=Y.length,W=-1;while(++W<X)Y[W]^=z[W];return Y}}),DH=b0((I,J)=>{(function(Y,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(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 z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(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 O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,F);else if(this._parseBase(G,V,O),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 O=0;O<this.length;O++)this.words[O]=0;var D,R,S=0;if(F==="be"){for(O=G.length-1,D=0;O>=0;O-=3)if(R=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}else if(F==="le"){for(O=0,D=0;O<G.length;O+=3)if(R=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[D]|=R<<S&67108863,this.words[D+1]=R>>>26-S&67108863,S+=24,S>=26)S-=26,D++}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 _(G,V,F){var O=j(G,F);if(F-1>=V)O|=j(G,F-1)<<4;return O}Z.prototype._parseHex=function(G,V,F){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var D=0,R=0,S;if(F==="be")for(O=G.length-1;O>=V;O-=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(S=_(G,V,O)<<D,this.words[R]|=S&67108863,D>=18)D-=18,R+=1,this.words[R]|=S>>>26;else D+=8}this.strip()};function E(G,V,F,O){var D=0,R=Math.min(G.length,F);for(var S=V;S<R;S++){var A=G.charCodeAt(S)-48;if(D*=O,A>=49)D+=A-49+10;else if(A>=17)D+=A-17+10;else D+=A}return D}Z.prototype._parseBase=function(G,V,F){this.words=[0],this.length=1;for(var O=0,D=1;D<=67108863;D*=V)O++;O--,D=D/V|0;var R=G.length-F,S=R%O,A=Math.min(R,R-S)+F,K=0;for(var T=F;T<A;T+=O)if(K=E(G,T,T+O,V),this.imuln(D),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(S!==0){var x=1;K=E(G,T,G.length,V);for(T=0;T<S;T++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}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"],q=[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 O=0,D=0;for(var R=0;R<this.length;R++){var S=this.words[R],A=((S<<O|D)&16777215).toString(16);if(D=S>>>24-O&16777215,O+=2,O>=26)O-=26,R--;if(D!==0||R!==this.length-1)F=C[6-A.length]+A+F;else F=A+F}if(D!==0)F=D.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 K=q[G],T=B[G];F="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(T).toString(G);if(x=x.idivn(T),!x.isZero())F=C[K-v.length]+v+F;else F=v+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 L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,F){var O=this.byteLength(),D=F||Math.max(1,O);X(O<=D,"byte array longer than desired length"),X(D>0,"Requested array length <= 0"),this.strip();var R=V==="le",S=new G(D),A,K,T=this.clone();if(!R){for(K=0;K<D-O;K++)S[K]=0;for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[D-K-1]=A}else{for(K=0;!T.isZero();K++)A=T.andln(255),T.iushrn(8),S[K]=A;for(;K<D;K++)S[K]=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 N(G){var V=Array(G.bitLength());for(var F=0;F<V.length;F++){var O=F/26|0,D=F%26;V[F]=(G.words[O]&1<<D)>>>D}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 O=0;O<F.length;O++)this.words[O]=V.words[O]^F.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];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 O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(F>0)this.words[O]=~this.words[O]&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,O=G%26;if(this._expand(F+1),V)this.words[F]=this.words[F]|1<<O;else this.words[F]=this.words[F]&~(1<<O);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,O;if(this.length>G.length)F=this,O=G;else F=G,O=this;var D=0;for(var R=0;R<O.length;R++)V=(F.words[R]|0)+(O.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;for(;D!==0&&R<F.length;R++)V=(F.words[R]|0)+D,this.words[R]=V&67108863,D=V>>>26;if(this.length=F.length,D!==0)this.words[this.length]=D,this.length++;else if(F!==this)for(;R<F.length;R++)this.words[R]=F.words[R];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 O,D;if(F>0)O=this,D=G;else O=G,D=this;var R=0;for(var S=0;S<D.length;S++)V=(O.words[S]|0)-(D.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;for(;R!==0&&S<O.length;S++)V=(O.words[S]|0)+R,R=V>>26,this.words[S]=V&67108863;if(R===0&&S<O.length&&O!==this)for(;S<O.length;S++)this.words[S]=O.words[S];if(this.length=Math.max(this.length,S),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function f(G,V,F){F.negative=V.negative^G.negative;var O=G.length+V.length|0;F.length=O,O=O-1|0;var D=G.words[0]|0,R=V.words[0]|0,S=D*R,A=S&67108863,K=S/67108864|0;F.words[0]=A;for(var T=1;T<O;T++){var x=K>>>26,v=K&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;D=G.words[U0]|0,R=V.words[r]|0,S=D*R+v,x+=S/67108864|0,v=S&67108863}F.words[T]=v|0,K=x|0}if(K!==0)F.words[T]=K|0;else F.length--;return F.strip()}var w=function(G,V,F){var O=G.words,D=V.words,R=F.words,S=0,A,K,T,x=O[0]|0,v=x&8191,c=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Q0=O[2]|0,s=Q0&8191,e=Q0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,h=$0&8191,n=$0>>>13,F0=O[5]|0,Y0=F0&8191,O0=F0>>>13,N0=O[6]|0,I0=N0&8191,z0=N0>>>13,I$=O[7]|0,M0=I$&8191,B0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,c0=r$&8191,h0=r$>>>13,YU=D[0]|0,t0=YU&8191,i0=YU>>>13,PU=D[1]|0,m=PU&8191,X0=PU>>>13,e0=D[2]|0,S0=e0&8191,v0=e0>>>13,F$=D[3]|0,x0=F$&8191,y0=F$>>>13,V$=D[4]|0,o0=V$&8191,r0=V$>>>13,OU=D[5]|0,s0=OU&8191,i=OU>>>13,G0=D[6]|0,q0=G0&8191,E0=G0>>>13,W$=D[7]|0,n0=W$&8191,a0=W$>>>13,LU=D[8]|0,X$=LU&8191,U$=LU>>>13,$U=D[9]|0,J$=$U&8191,$$=$U>>>13;F.negative=G.negative^V.negative,F.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(c,t0)|0,T=Math.imul(c,i0);var qU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(qU>>>26)|0,qU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,T=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(c,m)|0,T=T+Math.imul(c,X0)|0;var B$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,T=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(v,S0)|0,K=K+Math.imul(v,v0)|0,K=K+Math.imul(c,S0)|0,T=T+Math.imul(c,v0)|0;var S$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,T=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,K=K+Math.imul(U0,v0)|0,K=K+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(c,x0)|0,T=T+Math.imul(c,y0)|0;var UU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(UU>>>26)|0,UU&=67108863,A=Math.imul(h,t0),K=Math.imul(h,i0),K=K+Math.imul(n,t0)|0,T=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,K=K+Math.imul(s,v0)|0,K=K+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,T=T+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(c,o0)|0,T=T+Math.imul(c,r0)|0;var d$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,t0),K=Math.imul(Y0,i0),K=K+Math.imul(O0,t0)|0,T=Math.imul(O0,i0),A=A+Math.imul(h,m)|0,K=K+Math.imul(h,X0)|0,K=K+Math.imul(n,m)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,K=K+Math.imul(Z0,v0)|0,K=K+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,T=T+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,T=T+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(c,s0)|0,T=T+Math.imul(c,i)|0;var bU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,T=Math.imul(z0,i0),A=A+Math.imul(Y0,m)|0,K=K+Math.imul(Y0,X0)|0,K=K+Math.imul(O0,m)|0,T=T+Math.imul(O0,X0)|0,A=A+Math.imul(h,S0)|0,K=K+Math.imul(h,v0)|0,K=K+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,T=T+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,T=T+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(v,q0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(c,q0)|0,T=T+Math.imul(c,E0)|0;var cU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(B0,t0)|0,T=Math.imul(B0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(Y0,S0)|0,K=K+Math.imul(Y0,v0)|0,K=K+Math.imul(O0,S0)|0,T=T+Math.imul(O0,v0)|0,A=A+Math.imul(h,x0)|0,K=K+Math.imul(h,y0)|0,K=K+Math.imul(n,x0)|0,T=T+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,T=T+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,q0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,q0)|0,T=T+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(c,n0)|0,T=T+Math.imul(c,a0)|0;var hU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,T=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(B0,m)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,K=K+Math.imul(I0,v0)|0,K=K+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(Y0,x0)|0,K=K+Math.imul(Y0,y0)|0,K=K+Math.imul(O0,x0)|0,T=T+Math.imul(O0,y0)|0,A=A+Math.imul(h,o0)|0,K=K+Math.imul(h,r0)|0,K=K+Math.imul(n,o0)|0,T=T+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,q0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,q0)|0,T=T+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,T=T+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(c,X$)|0,T=T+Math.imul(c,U$)|0;var pU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(c0,t0),K=Math.imul(c0,i0),K=K+Math.imul(h0,t0)|0,T=Math.imul(h0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,T=T+Math.imul(p0,X0)|0,A=A+Math.imul(M0,S0)|0,K=K+Math.imul(M0,v0)|0,K=K+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,T=T+Math.imul(z0,y0)|0,A=A+Math.imul(Y0,o0)|0,K=K+Math.imul(Y0,r0)|0,K=K+Math.imul(O0,o0)|0,T=T+Math.imul(O0,r0)|0,A=A+Math.imul(h,s0)|0,K=K+Math.imul(h,i)|0,K=K+Math.imul(n,s0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,q0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,q0)|0,T=T+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,T=T+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,T=T+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(c,J$)|0,T=T+Math.imul(c,$$)|0;var mU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(c0,m),K=Math.imul(c0,X0),K=K+Math.imul(h0,m)|0,T=Math.imul(h0,X0),A=A+Math.imul(m0,S0)|0,K=K+Math.imul(m0,v0)|0,K=K+Math.imul(p0,S0)|0,T=T+Math.imul(p0,v0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(B0,x0)|0,T=T+Math.imul(B0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,T=T+Math.imul(z0,r0)|0,A=A+Math.imul(Y0,s0)|0,K=K+Math.imul(Y0,i)|0,K=K+Math.imul(O0,s0)|0,T=T+Math.imul(O0,i)|0,A=A+Math.imul(h,q0)|0,K=K+Math.imul(h,E0)|0,K=K+Math.imul(n,q0)|0,T=T+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,T=T+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,T=T+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,T=T+Math.imul(W0,$$)|0;var t$=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(c0,S0),K=Math.imul(c0,v0),K=K+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,T=T+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(B0,o0)|0,T=T+Math.imul(B0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(Y0,q0)|0,K=K+Math.imul(Y0,E0)|0,K=K+Math.imul(O0,q0)|0,T=T+Math.imul(O0,E0)|0,A=A+Math.imul(h,n0)|0,K=K+Math.imul(h,a0)|0,K=K+Math.imul(n,n0)|0,T=T+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,T=T+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,T=T+Math.imul(e,$$)|0;var MU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,A=Math.imul(c0,x0),K=Math.imul(c0,y0),K=K+Math.imul(h0,x0)|0,T=Math.imul(h0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,T=T+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(B0,s0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,q0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,q0)|0,T=T+Math.imul(z0,E0)|0,A=A+Math.imul(Y0,n0)|0,K=K+Math.imul(Y0,a0)|0,K=K+Math.imul(O0,n0)|0,T=T+Math.imul(O0,a0)|0,A=A+Math.imul(h,X$)|0,K=K+Math.imul(h,U$)|0,K=K+Math.imul(n,X$)|0,T=T+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,T=T+Math.imul(A0,$$)|0;var VU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(c0,o0),K=Math.imul(c0,r0),K=K+Math.imul(h0,o0)|0,T=Math.imul(h0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,T=T+Math.imul(p0,i)|0,A=A+Math.imul(M0,q0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(B0,q0)|0,T=T+Math.imul(B0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,T=T+Math.imul(z0,a0)|0,A=A+Math.imul(Y0,X$)|0,K=K+Math.imul(Y0,U$)|0,K=K+Math.imul(O0,X$)|0,T=T+Math.imul(O0,U$)|0,A=A+Math.imul(h,J$)|0,K=K+Math.imul(h,$$)|0,K=K+Math.imul(n,J$)|0,T=T+Math.imul(n,$$)|0;var lU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(c0,s0),K=Math.imul(c0,i),K=K+Math.imul(h0,s0)|0,T=Math.imul(h0,i),A=A+Math.imul(m0,q0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,q0)|0,T=T+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(B0,n0)|0,T=T+Math.imul(B0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,T=T+Math.imul(z0,U$)|0,A=A+Math.imul(Y0,J$)|0,K=K+Math.imul(Y0,$$)|0,K=K+Math.imul(O0,J$)|0,T=T+Math.imul(O0,$$)|0;var _U=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(c0,q0),K=Math.imul(c0,E0),K=K+Math.imul(h0,q0)|0,T=Math.imul(h0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,T=T+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(B0,X$)|0,T=T+Math.imul(B0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,T=T+Math.imul(z0,$$)|0;var NU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(c0,n0),K=Math.imul(c0,a0),K=K+Math.imul(h0,n0)|0,T=Math.imul(h0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,T=T+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(B0,J$)|0,T=T+Math.imul(B0,$$)|0;var xU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(c0,X$),K=Math.imul(c0,U$),K=K+Math.imul(h0,X$)|0,T=Math.imul(h0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,T=T+Math.imul(p0,$$)|0;var EU=(S+A|0)+((K&8191)<<13)|0;S=(T+(K>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(c0,J$),K=Math.imul(c0,$$),K=K+Math.imul(h0,J$)|0,T=Math.imul(h0,$$);var AU=(S+A|0)+((K&8191)<<13)|0;if(S=(T+(K>>>13)|0)+(AU>>>26)|0,AU&=67108863,R[0]=qU,R[1]=B$,R[2]=S$,R[3]=UU,R[4]=d$,R[5]=bU,R[6]=cU,R[7]=hU,R[8]=pU,R[9]=mU,R[10]=t$,R[11]=MU,R[12]=VU,R[13]=lU,R[14]=_U,R[15]=NU,R[16]=xU,R[17]=EU,R[18]=AU,S!==0)R[19]=S,F.length++;return F};if(!Math.imul)w=f;function b(G,V,F){F.negative=V.negative^G.negative,F.length=G.length+V.length;var O=0,D=0;for(var R=0;R<F.length-1;R++){var S=D;D=0;var A=O&67108863,K=Math.min(R,V.length-1);for(var T=Math.max(0,R-G.length+1);T<=K;T++){var x=R-T,v=G.words[x]|0,c=V.words[T]|0,r=v*c,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,D+=S>>>26,S&=67108863}F.words[R]=A,O=S,S=D}if(O!==0)F.words[R]=O;else F.length--;return F.strip()}function g(G,V,F){var O=new u;return O.mulp(G,V,F)}Z.prototype.mulTo=function(G,V){var F,O=this.length+G.length;if(this.length===10&&G.length===10)F=w(this,G,V);else if(O<63)F=f(this,G,V);else if(O<1024)F=b(this,G,V);else F=g(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 O=0;O<G;O++)V[O]=this.revBin(O,F,G);return V},u.prototype.revBin=function(G,V,F){if(G===0||G===F-1)return G;var O=0;for(var D=0;D<V;D++)O|=(G&1)<<V-D-1,G>>=1;return O},u.prototype.permute=function(G,V,F,O,D,R){for(var S=0;S<R;S++)O[S]=V[G[S]],D[S]=F[G[S]]},u.prototype.transform=function(G,V,F,O,D,R){this.permute(R,G,V,F,O,D);for(var S=1;S<D;S<<=1){var A=S<<1,K=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var x=0;x<D;x+=A){var v=K,c=T;for(var r=0;r<S;r++){var U0=F[x+r],W0=O[x+r],Q0=F[x+r+S],s=O[x+r+S],e=v*Q0-c*s;if(s=v*s+c*Q0,Q0=e,F[x+r]=U0+Q0,O[x+r]=W0+s,F[x+r+S]=U0-Q0,O[x+r+S]=W0-s,r!==A)e=K*v-T*c,c=K*c+T*v,v=e}}}},u.prototype.guessLen13b=function(G,V){var F=Math.max(V,G)|1,O=F&1,D=0;for(F=F/2|0;F;F=F>>>1)D++;return 1<<D+1+O},u.prototype.conjugate=function(G,V,F){if(F<=1)return;for(var O=0;O<F/2;O++){var D=G[O];G[O]=G[F-O-1],G[F-O-1]=D,D=V[O],V[O]=-V[F-O-1],V[F-O-1]=-D}},u.prototype.normalize13b=function(G,V){var F=0;for(var O=0;O<V/2;O++){var D=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+F;if(G[O]=D&67108863,D<67108864)F=0;else F=D/67108864|0}return G},u.prototype.convert13b=function(G,V,F,O){var D=0;for(var R=0;R<V;R++)D=D+(G[R]|0),F[2*R]=D&8191,D=D>>>13,F[2*R+1]=D&8191,D=D>>>13;for(R=2*V;R<O;++R)F[R]=0;X(D===0),X((D&-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 O=2*this.guessLen13b(G.length,V.length),D=this.makeRBT(O),R=this.stub(O),S=Array(O),A=Array(O),K=Array(O),T=Array(O),x=Array(O),v=Array(O),c=F.words;c.length=O,this.convert13b(G.words,G.length,S,O),this.convert13b(V.words,V.length,T,O),this.transform(S,R,A,K,O,D),this.transform(T,R,x,v,O,D);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,c,R,O,D),this.conjugate(c,R,O),this.normalize13b(c,O),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),g(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 O=(this.words[F]|0)*G,D=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=D>>>26,this.words[F]=D&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=N(G);if(V.length===0)return new Z(1);var F=this;for(var O=0;O<V.length;O++,F=F.sqr())if(V[O]!==0)break;if(++O<V.length)for(var D=F.sqr();O<V.length;O++,D=D.sqr()){if(V[O]===0)continue;F=F.mul(D)}return F},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,F=(G-V)/26,O=67108863>>>26-V<<26-V,D;if(V!==0){var R=0;for(D=0;D<this.length;D++){var S=this.words[D]&O,A=(this.words[D]|0)-S<<V;this.words[D]=A|R,R=S>>>26-V}if(R)this.words[D]=R,this.length++}if(F!==0){for(D=this.length-1;D>=0;D--)this.words[D+F]=this.words[D];for(D=0;D<F;D++)this.words[D]=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 O;if(V)O=(V-V%26)/26;else O=0;var D=G%26,R=Math.min((G-D)/26,this.length),S=67108863^67108863>>>D<<D,A=F;if(O-=R,O=Math.max(0,O),A){for(var K=0;K<R;K++)A.words[K]=this.words[K];A.length=R}if(R===0);else if(this.length>R){this.length-=R;for(K=0;K<this.length;K++)this.words[K]=this.words[K+R]}else this.words[0]=0,this.length=1;var T=0;for(K=this.length-1;K>=0&&(T!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=T<<26-D|x>>>D,T=x&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,O=1<<V;if(this.length<=F)return!1;var D=this.words[F];return!!(D&O)},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 O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}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 O=G.length+F,D;this._expand(O);var R,S=0;for(D=0;D<G.length;D++){R=(this.words[D+F]|0)+S;var A=(G.words[D]|0)*V;R-=A&67108863,S=(R>>26)-(A/67108864|0),this.words[D+F]=R&67108863}for(;D<this.length-F;D++)R=(this.words[D+F]|0)+S,S=R>>26,this.words[D+F]=R&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(D=0;D<this.length;D++)R=-(this.words[D]|0)+S,S=R>>26,this.words[D]=R&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var F=this.length-G.length,O=this.clone(),D=G,R=D.words[D.length-1]|0,S=this._countBits(R);if(F=26-S,F!==0)D=D.ushln(F),O.iushln(F),R=D.words[D.length-1]|0;var A=O.length-D.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var T=0;T<K.length;T++)K.words[T]=0}var x=O.clone()._ishlnsubmul(D,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var c=(O.words[D.length+v]|0)*67108864+(O.words[D.length+v-1]|0);c=Math.min(c/R|0,67108863),O._ishlnsubmul(D,c,v);while(O.negative!==0)if(c--,O.negative=0,O._ishlnsubmul(D,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=c}if(K)K.strip();if(O.strip(),V!=="div"&&F!==0)O.iushrn(F);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,F){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,D,R;if(this.negative!==0&&G.negative===0){if(R=this.neg().divmod(G,V),V!=="mod")O=R.div.neg();if(V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.iadd(G)}return{div:O,mod:D}}if(this.negative===0&&G.negative!==0){if(R=this.divmod(G.neg(),V),V!=="mod")O=R.div.neg();return{div:O,mod:R.mod}}if((this.negative&G.negative)!==0){if(R=this.neg().divmod(G.neg(),V),V!=="div"){if(D=R.mod.neg(),F&&D.negative!==0)D.isub(G)}return{div:R.div,mod:D}}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,O=G.ushrn(1),D=G.andln(1),R=F.cmp(O);if(R<0||D===1&&R===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 O=this.length-1;O>=0;O--)F=(V*F+(this.words[O]|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 O=(this.words[F]|0)+V*67108864;this.words[F]=O/G|0,V=O%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 O=new Z(1),D=new Z(0),R=new Z(0),S=new Z(1),A=0;while(V.isEven()&&F.isEven())V.iushrn(1),F.iushrn(1),++A;var K=F.clone(),T=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||D.isOdd())O.iadd(K),D.isub(T);O.iushrn(1),D.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(R.isOdd()||S.isOdd())R.iadd(K),S.isub(T);R.iushrn(1),S.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(R),D.isub(S);else F.isub(V),R.isub(O),S.isub(D)}return{a:R,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 O=new Z(1),D=new Z(0),R=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(O.isOdd())O.iadd(R);O.iushrn(1)}}for(var K=0,T=1;(F.words[0]&T)===0&&K<26;++K,T<<=1);if(K>0){F.iushrn(K);while(K-- >0){if(D.isOdd())D.iadd(R);D.iushrn(1)}}if(V.cmp(F)>=0)V.isub(F),O.isub(D);else F.isub(V),D.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=D;if(x.cmpn(0)<0)x.iadd(G);return x},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 O=0;V.isEven()&&F.isEven();O++)V.iushrn(1),F.iushrn(1);do{while(V.isEven())V.iushrn(1);while(F.isEven())F.iushrn(1);var D=V.cmp(F);if(D<0){var R=V;V=F,F=R}else if(D===0||F.cmpn(1)===0)break;V.isub(F)}while(!0);return F.iushln(O)},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,O=1<<V;if(this.length<=F)return this._expand(F+1),this.words[F]|=O,this;var D=O;for(var R=F;D!==0&&R<this.length;R++){var S=this.words[R]|0;S+=D,D=S>>>26,S&=67108863,this.words[R]=S}if(D!==0)this.words[R]=D,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 O=this.words[0]|0;F=O===G?0:O<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 O=this.words[F]|0,D=G.words[F]|0;if(O===D)continue;if(O<D)V=-1;else if(O>D)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 O=F<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>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")}W(a,d),a.prototype.split=function(G,V){var F=4194303,O=Math.min(G.length,9);for(var D=0;D<O;D++)V.words[D]=G.words[D];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var R=G.words[9];V.words[V.length++]=R&F;for(D=10;D<G.length;D++){var S=G.words[D]|0;G.words[D-10]=(S&F)<<4|R>>>22,R=S}if(R>>>=22,G.words[D-10]=R,R===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 O=G.words[F]|0;V+=O*977,G.words[F]=V&67108863,V=O*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 D0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(D0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function _0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(_0,d),_0.prototype.imulK=function(G){var V=0;for(var F=0;F<G.length;F++){var O=(G.words[F]|0)*19+V,D=O&67108863;O>>>=26,G.words[F]=D,V=O}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 D0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new _0;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 O=this.m.subn(1),D=0;while(!O.isZero()&&O.andln(1)===0)D++,O.iushrn(1);X(!O.isZero());var R=new Z(1).toRed(this),S=R.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(S)!==0)K.redIAdd(S);var T=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),c=D;while(v.cmp(R)!==0){var r=v;for(var U0=0;r.cmp(R)!==0;U0++)r=r.redSqr();X(U0<c);var W0=this.pow(T,new Z(1).iushln(c-U0-1));x=x.redMul(W0),T=W0.redSqr(),v=v.redMul(T),c=U0}return x},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,O=Array(1<<F);O[0]=new Z(1).toRed(this),O[1]=G;for(var D=2;D<O.length;D++)O[D]=this.mul(O[D-1],G);var R=O[0],S=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(D=V.length-1;D>=0;D--){var T=V.words[D];for(var x=K-1;x>=0;x--){var v=T>>x&1;if(R!==O[0])R=this.sqr(R);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==F&&(D!==0||x!==0))continue;R=this.mul(R,O[S]),A=0,S=0}K=26}return R},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)}W(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),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._forceRed(this)},T0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var F=G.mul(V),O=F.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D=F.isub(O).iushrn(this.shift),R=D;if(D.cmp(this.m)>=0)R=D.isub(this.m);else if(D.cmpn(0)<0)R=D.iadd(this.m);return R._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)}),KS=b0((I,J)=>{var Y=DH(),z=f6().Buffer;function X(W,Z){return z.from(W.toRed(Y.mont(Z.modulus)).redPow(new Y(Z.publicExponent)).fromRed().toArray())}J.exports=X}),bf=b0((I,J)=>{(function(Y,z){function X(O,D){if(!O)throw Error(D||"Assertion failed")}function W(O,D){O.super_=D;var R=function(){};R.prototype=D.prototype,O.prototype=new R,O.prototype.constructor=O}function Z(O,D,R){if(Z.isBN(O))return O;if(this.negative=0,this.words=null,this.length=0,this.red=null,O!==null){if(D==="le"||D==="be")R=D,D=10;this._init(O||0,D||10,R||"be")}}if(typeof Y==="object")Y.exports=Z;else z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(iU(),j$(oU)).Buffer}catch(O){}Z.isBN=function(O){if(O instanceof Z)return!0;return O!==null&&typeof O==="object"&&O.constructor.wordSize===Z.wordSize&&Array.isArray(O.words)},Z.max=function(O,D){if(O.cmp(D)>0)return O;return D},Z.min=function(O,D){if(O.cmp(D)<0)return O;return D},Z.prototype._init=function(O,D,R){if(typeof O==="number")return this._initNumber(O,D,R);if(typeof O==="object")return this._initArray(O,D,R);if(D==="hex")D=16;X(D===(D|0)&&D>=2&&D<=36),O=O.toString().replace(/\s+/g,"");var S=0;if(O[0]==="-")S++,this.negative=1;if(S<O.length){if(D===16)this._parseHex(O,S,R);else if(this._parseBase(O,D,S),R==="le")this._initArray(this.toArray(),D,R)}},Z.prototype._initNumber=function(O,D,R){if(O<0)this.negative=1,O=-O;if(O<67108864)this.words=[O&67108863],this.length=1;else if(O<4503599627370496)this.words=[O&67108863,O/67108864&67108863],this.length=2;else X(O<9007199254740992),this.words=[O&67108863,O/67108864&67108863,1],this.length=3;if(R!=="le")return;this._initArray(this.toArray(),D,R)},Z.prototype._initArray=function(O,D,R){if(X(typeof O.length==="number"),O.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(O.length/3),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A,K,T=0;if(R==="be"){for(S=O.length-1,A=0;S>=0;S-=3)if(K=O[S]|O[S-1]<<8|O[S-2]<<16,this.words[A]|=K<<T&67108863,this.words[A+1]=K>>>26-T&67108863,T+=24,T>=26)T-=26,A++}else if(R==="le"){for(S=0,A=0;S<O.length;S+=3)if(K=O[S]|O[S+1]<<8|O[S+2]<<16,this.words[A]|=K<<T&67108863,this.words[A+1]=K>>>26-T&67108863,T+=24,T>=26)T-=26,A++}return this._strip()};function j(O,D){var R=O.charCodeAt(D);if(R>=48&&R<=57)return R-48;else if(R>=65&&R<=70)return R-55;else if(R>=97&&R<=102)return R-87;else X(!1,"Invalid character in "+O)}function _(O,D,R){var S=j(O,R);if(R-1>=D)S|=j(O,R-1)<<4;return S}Z.prototype._parseHex=function(O,D,R){this.length=Math.ceil((O.length-D)/6),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A=0,K=0,T;if(R==="be")for(S=O.length-1;S>=D;S-=2)if(T=_(O,D,S)<<A,this.words[K]|=T&67108863,A>=18)A-=18,K+=1,this.words[K]|=T>>>26;else A+=8;else{var x=O.length-D;for(S=x%2===0?D+1:D;S<O.length;S+=2)if(T=_(O,D,S)<<A,this.words[K]|=T&67108863,A>=18)A-=18,K+=1,this.words[K]|=T>>>26;else A+=8}this._strip()};function E(O,D,R,S){var A=0,K=0,T=Math.min(O.length,R);for(var x=D;x<T;x++){var v=O.charCodeAt(x)-48;if(A*=S,v>=49)K=v-49+10;else if(v>=17)K=v-17+10;else K=v;X(v>=0&&K<S,"Invalid character"),A+=K}return A}Z.prototype._parseBase=function(O,D,R){this.words=[0],this.length=1;for(var S=0,A=1;A<=67108863;A*=D)S++;S--,A=A/D|0;var K=O.length-R,T=K%S,x=Math.min(K,K-T)+R,v=0;for(var c=R;c<x;c+=S)if(v=E(O,c,c+S,D),this.imuln(A),this.words[0]+v<67108864)this.words[0]+=v;else this._iaddn(v);if(T!==0){var r=1;v=E(O,c,O.length,D);for(c=0;c<T;c++)r*=D;if(this.imuln(r),this.words[0]+v<67108864)this.words[0]+=v;else this._iaddn(v)}this._strip()},Z.prototype.copy=function(O){O.words=Array(this.length);for(var D=0;D<this.length;D++)O.words[D]=this.words[D];O.length=this.length,O.negative=this.negative,O.red=this.red};function C(O,D){O.words=D.words,O.length=D.length,O.negative=D.negative,O.red=D.red}if(Z.prototype._move=function(O){C(O,this)},Z.prototype.clone=function(){var O=new Z(null);return this.copy(O),O},Z.prototype._expand=function(O){while(this.length<O)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")]=q}catch(O){Z.prototype.inspect=q}else Z.prototype.inspect=q;function q(){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"],N=[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],f=[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(O,D){O=O||10,D=D|0||1;var R;if(O===16||O==="hex"){R="";var S=0,A=0;for(var K=0;K<this.length;K++){var T=this.words[K],x=((T<<S|A)&16777215).toString(16);if(A=T>>>24-S&16777215,S+=2,S>=26)S-=26,K--;if(A!==0||K!==this.length-1)R=B[6-x.length]+x+R;else R=x+R}if(A!==0)R=A.toString(16)+R;while(R.length%D!==0)R="0"+R;if(this.negative!==0)R="-"+R;return R}if(O===(O|0)&&O>=2&&O<=36){var v=N[O],c=f[O];R="";var r=this.clone();r.negative=0;while(!r.isZero()){var U0=r.modrn(c).toString(O);if(r=r.idivn(c),!r.isZero())R=B[v-U0.length]+U0+R;else R=U0+R}if(this.isZero())R="0"+R;while(R.length%D!==0)R="0"+R;if(this.negative!==0)R="-"+R;return R}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var O=this.words[0];if(this.length===2)O+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)O+=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?-O:O},Z.prototype.toJSON=function(){return this.toString(16,2)},L)Z.prototype.toBuffer=function(O,D){return this.toArrayLike(L,O,D)};Z.prototype.toArray=function(O,D){return this.toArrayLike(Array,O,D)};var w=function(O,D){if(O.allocUnsafe)return O.allocUnsafe(D);return new O(D)};if(Z.prototype.toArrayLike=function(O,D,R){this._strip();var S=this.byteLength(),A=R||Math.max(1,S);X(S<=A,"byte array longer than desired length"),X(A>0,"Requested array length <= 0");var K=w(O,A),T=D==="le"?"LE":"BE";return this["_toArrayLike"+T](K,S),K},Z.prototype._toArrayLikeLE=function(O,D){var R=0,S=0;for(var A=0,K=0;A<this.length;A++){var T=this.words[A]<<K|S;if(O[R++]=T&255,R<O.length)O[R++]=T>>8&255;if(R<O.length)O[R++]=T>>16&255;if(K===6){if(R<O.length)O[R++]=T>>24&255;S=0,K=0}else S=T>>>24,K+=2}if(R<O.length){O[R++]=S;while(R<O.length)O[R++]=0}},Z.prototype._toArrayLikeBE=function(O,D){var R=O.length-1,S=0;for(var A=0,K=0;A<this.length;A++){var T=this.words[A]<<K|S;if(O[R--]=T&255,R>=0)O[R--]=T>>8&255;if(R>=0)O[R--]=T>>16&255;if(K===6){if(R>=0)O[R--]=T>>24&255;S=0,K=0}else S=T>>>24,K+=2}if(R>=0){O[R--]=S;while(R>=0)O[R--]=0}},Math.clz32)Z.prototype._countBits=function(O){return 32-Math.clz32(O)};else Z.prototype._countBits=function(O){var D=O,R=0;if(D>=4096)R+=13,D>>>=13;if(D>=64)R+=7,D>>>=7;if(D>=8)R+=4,D>>>=4;if(D>=2)R+=2,D>>>=2;return R+D};Z.prototype._zeroBits=function(O){if(O===0)return 26;var D=O,R=0;if((D&8191)===0)R+=13,D>>>=13;if((D&127)===0)R+=7,D>>>=7;if((D&15)===0)R+=4,D>>>=4;if((D&3)===0)R+=2,D>>>=2;if((D&1)===0)R++;return R},Z.prototype.bitLength=function(){var O=this.words[this.length-1],D=this._countBits(O);return(this.length-1)*26+D};function b(O){var D=Array(O.bitLength());for(var R=0;R<D.length;R++){var S=R/26|0,A=R%26;D[R]=O.words[S]>>>A&1}return D}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var O=0;for(var D=0;D<this.length;D++){var R=this._zeroBits(this.words[D]);if(O+=R,R!==26)break}return O},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(O){if(this.negative!==0)return this.abs().inotn(O).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(O){if(this.testn(O-1))return this.notn(O).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(O){while(this.length<O.length)this.words[this.length++]=0;for(var D=0;D<O.length;D++)this.words[D]=this.words[D]|O.words[D];return this._strip()},Z.prototype.ior=function(O){return X((this.negative|O.negative)===0),this.iuor(O)},Z.prototype.or=function(O){if(this.length>O.length)return this.clone().ior(O);return O.clone().ior(this)},Z.prototype.uor=function(O){if(this.length>O.length)return this.clone().iuor(O);return O.clone().iuor(this)},Z.prototype.iuand=function(O){var D;if(this.length>O.length)D=O;else D=this;for(var R=0;R<D.length;R++)this.words[R]=this.words[R]&O.words[R];return this.length=D.length,this._strip()},Z.prototype.iand=function(O){return X((this.negative|O.negative)===0),this.iuand(O)},Z.prototype.and=function(O){if(this.length>O.length)return this.clone().iand(O);return O.clone().iand(this)},Z.prototype.uand=function(O){if(this.length>O.length)return this.clone().iuand(O);return O.clone().iuand(this)},Z.prototype.iuxor=function(O){var D,R;if(this.length>O.length)D=this,R=O;else D=O,R=this;for(var S=0;S<R.length;S++)this.words[S]=D.words[S]^R.words[S];if(this!==D)for(;S<D.length;S++)this.words[S]=D.words[S];return this.length=D.length,this._strip()},Z.prototype.ixor=function(O){return X((this.negative|O.negative)===0),this.iuxor(O)},Z.prototype.xor=function(O){if(this.length>O.length)return this.clone().ixor(O);return O.clone().ixor(this)},Z.prototype.uxor=function(O){if(this.length>O.length)return this.clone().iuxor(O);return O.clone().iuxor(this)},Z.prototype.inotn=function(O){X(typeof O==="number"&&O>=0);var D=Math.ceil(O/26)|0,R=O%26;if(this._expand(D),R>0)D--;for(var S=0;S<D;S++)this.words[S]=~this.words[S]&67108863;if(R>0)this.words[S]=~this.words[S]&67108863>>26-R;return this._strip()},Z.prototype.notn=function(O){return this.clone().inotn(O)},Z.prototype.setn=function(O,D){X(typeof O==="number"&&O>=0);var R=O/26|0,S=O%26;if(this._expand(R+1),D)this.words[R]=this.words[R]|1<<S;else this.words[R]=this.words[R]&~(1<<S);return this._strip()},Z.prototype.iadd=function(O){var D;if(this.negative!==0&&O.negative===0)return this.negative=0,D=this.isub(O),this.negative^=1,this._normSign();else if(this.negative===0&&O.negative!==0)return O.negative=0,D=this.isub(O),O.negative=1,D._normSign();var R,S;if(this.length>O.length)R=this,S=O;else R=O,S=this;var A=0;for(var K=0;K<S.length;K++)D=(R.words[K]|0)+(S.words[K]|0)+A,this.words[K]=D&67108863,A=D>>>26;for(;A!==0&&K<R.length;K++)D=(R.words[K]|0)+A,this.words[K]=D&67108863,A=D>>>26;if(this.length=R.length,A!==0)this.words[this.length]=A,this.length++;else if(R!==this)for(;K<R.length;K++)this.words[K]=R.words[K];return this},Z.prototype.add=function(O){var D;if(O.negative!==0&&this.negative===0)return O.negative=0,D=this.sub(O),O.negative^=1,D;else if(O.negative===0&&this.negative!==0)return this.negative=0,D=O.sub(this),this.negative=1,D;if(this.length>O.length)return this.clone().iadd(O);return O.clone().iadd(this)},Z.prototype.isub=function(O){if(O.negative!==0){O.negative=0;var D=this.iadd(O);return O.negative=1,D._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(O),this.negative=1,this._normSign();var R=this.cmp(O);if(R===0)return this.negative=0,this.length=1,this.words[0]=0,this;var S,A;if(R>0)S=this,A=O;else S=O,A=this;var K=0;for(var T=0;T<A.length;T++)D=(S.words[T]|0)-(A.words[T]|0)+K,K=D>>26,this.words[T]=D&67108863;for(;K!==0&&T<S.length;T++)D=(S.words[T]|0)+K,K=D>>26,this.words[T]=D&67108863;if(K===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(O){return this.clone().isub(O)};function g(O,D,R){R.negative=D.negative^O.negative;var S=O.length+D.length|0;R.length=S,S=S-1|0;var A=O.words[0]|0,K=D.words[0]|0,T=A*K,x=T&67108863,v=T/67108864|0;R.words[0]=x;for(var c=1;c<S;c++){var r=v>>>26,U0=v&67108863,W0=Math.min(c,D.length-1);for(var Q0=Math.max(0,c-O.length+1);Q0<=W0;Q0++){var s=c-Q0|0;A=O.words[s]|0,K=D.words[Q0]|0,T=A*K+U0,r+=T/67108864|0,U0=T&67108863}R.words[c]=U0|0,v=r|0}if(v!==0)R.words[c]=v|0;else R.length--;return R._strip()}var u=function(O,D,R){var S=O.words,A=D.words,K=R.words,T=0,x,v,c,r=S[0]|0,U0=r&8191,W0=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,O0=F0>>>13,N0=S[5]|0,I0=N0&8191,z0=N0>>>13,I$=S[6]|0,M0=I$&8191,B0=I$>>>13,M$=S[7]|0,m0=M$&8191,p0=M$>>>13,r$=S[8]|0,c0=r$&8191,h0=r$>>>13,YU=S[9]|0,t0=YU&8191,i0=YU>>>13,PU=A[0]|0,m=PU&8191,X0=PU>>>13,e0=A[1]|0,S0=e0&8191,v0=e0>>>13,F$=A[2]|0,x0=F$&8191,y0=F$>>>13,V$=A[3]|0,o0=V$&8191,r0=V$>>>13,OU=A[4]|0,s0=OU&8191,i=OU>>>13,G0=A[5]|0,q0=G0&8191,E0=G0>>>13,W$=A[6]|0,n0=W$&8191,a0=W$>>>13,LU=A[7]|0,X$=LU&8191,U$=LU>>>13,$U=A[8]|0,J$=$U&8191,$$=$U>>>13,qU=A[9]|0,B$=qU&8191,S$=qU>>>13;R.negative=O.negative^D.negative,R.length=19,x=Math.imul(U0,m),v=Math.imul(U0,X0),v=v+Math.imul(W0,m)|0,c=Math.imul(W0,X0);var UU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(UU>>>26)|0,UU&=67108863,x=Math.imul(s,m),v=Math.imul(s,X0),v=v+Math.imul(e,m)|0,c=Math.imul(e,X0),x=x+Math.imul(U0,S0)|0,v=v+Math.imul(U0,v0)|0,v=v+Math.imul(W0,S0)|0,c=c+Math.imul(W0,v0)|0;var d$=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(d$>>>26)|0,d$&=67108863,x=Math.imul(Z0,m),v=Math.imul(Z0,X0),v=v+Math.imul(A0,m)|0,c=Math.imul(A0,X0),x=x+Math.imul(s,S0)|0,v=v+Math.imul(s,v0)|0,v=v+Math.imul(e,S0)|0,c=c+Math.imul(e,v0)|0,x=x+Math.imul(U0,x0)|0,v=v+Math.imul(U0,y0)|0,v=v+Math.imul(W0,x0)|0,c=c+Math.imul(W0,y0)|0;var bU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(bU>>>26)|0,bU&=67108863,x=Math.imul(h,m),v=Math.imul(h,X0),v=v+Math.imul(n,m)|0,c=Math.imul(n,X0),x=x+Math.imul(Z0,S0)|0,v=v+Math.imul(Z0,v0)|0,v=v+Math.imul(A0,S0)|0,c=c+Math.imul(A0,v0)|0,x=x+Math.imul(s,x0)|0,v=v+Math.imul(s,y0)|0,v=v+Math.imul(e,x0)|0,c=c+Math.imul(e,y0)|0,x=x+Math.imul(U0,o0)|0,v=v+Math.imul(U0,r0)|0,v=v+Math.imul(W0,o0)|0,c=c+Math.imul(W0,r0)|0;var cU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(cU>>>26)|0,cU&=67108863,x=Math.imul(Y0,m),v=Math.imul(Y0,X0),v=v+Math.imul(O0,m)|0,c=Math.imul(O0,X0),x=x+Math.imul(h,S0)|0,v=v+Math.imul(h,v0)|0,v=v+Math.imul(n,S0)|0,c=c+Math.imul(n,v0)|0,x=x+Math.imul(Z0,x0)|0,v=v+Math.imul(Z0,y0)|0,v=v+Math.imul(A0,x0)|0,c=c+Math.imul(A0,y0)|0,x=x+Math.imul(s,o0)|0,v=v+Math.imul(s,r0)|0,v=v+Math.imul(e,o0)|0,c=c+Math.imul(e,r0)|0,x=x+Math.imul(U0,s0)|0,v=v+Math.imul(U0,i)|0,v=v+Math.imul(W0,s0)|0,c=c+Math.imul(W0,i)|0;var hU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(hU>>>26)|0,hU&=67108863,x=Math.imul(I0,m),v=Math.imul(I0,X0),v=v+Math.imul(z0,m)|0,c=Math.imul(z0,X0),x=x+Math.imul(Y0,S0)|0,v=v+Math.imul(Y0,v0)|0,v=v+Math.imul(O0,S0)|0,c=c+Math.imul(O0,v0)|0,x=x+Math.imul(h,x0)|0,v=v+Math.imul(h,y0)|0,v=v+Math.imul(n,x0)|0,c=c+Math.imul(n,y0)|0,x=x+Math.imul(Z0,o0)|0,v=v+Math.imul(Z0,r0)|0,v=v+Math.imul(A0,o0)|0,c=c+Math.imul(A0,r0)|0,x=x+Math.imul(s,s0)|0,v=v+Math.imul(s,i)|0,v=v+Math.imul(e,s0)|0,c=c+Math.imul(e,i)|0,x=x+Math.imul(U0,q0)|0,v=v+Math.imul(U0,E0)|0,v=v+Math.imul(W0,q0)|0,c=c+Math.imul(W0,E0)|0;var pU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(pU>>>26)|0,pU&=67108863,x=Math.imul(M0,m),v=Math.imul(M0,X0),v=v+Math.imul(B0,m)|0,c=Math.imul(B0,X0),x=x+Math.imul(I0,S0)|0,v=v+Math.imul(I0,v0)|0,v=v+Math.imul(z0,S0)|0,c=c+Math.imul(z0,v0)|0,x=x+Math.imul(Y0,x0)|0,v=v+Math.imul(Y0,y0)|0,v=v+Math.imul(O0,x0)|0,c=c+Math.imul(O0,y0)|0,x=x+Math.imul(h,o0)|0,v=v+Math.imul(h,r0)|0,v=v+Math.imul(n,o0)|0,c=c+Math.imul(n,r0)|0,x=x+Math.imul(Z0,s0)|0,v=v+Math.imul(Z0,i)|0,v=v+Math.imul(A0,s0)|0,c=c+Math.imul(A0,i)|0,x=x+Math.imul(s,q0)|0,v=v+Math.imul(s,E0)|0,v=v+Math.imul(e,q0)|0,c=c+Math.imul(e,E0)|0,x=x+Math.imul(U0,n0)|0,v=v+Math.imul(U0,a0)|0,v=v+Math.imul(W0,n0)|0,c=c+Math.imul(W0,a0)|0;var mU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(mU>>>26)|0,mU&=67108863,x=Math.imul(m0,m),v=Math.imul(m0,X0),v=v+Math.imul(p0,m)|0,c=Math.imul(p0,X0),x=x+Math.imul(M0,S0)|0,v=v+Math.imul(M0,v0)|0,v=v+Math.imul(B0,S0)|0,c=c+Math.imul(B0,v0)|0,x=x+Math.imul(I0,x0)|0,v=v+Math.imul(I0,y0)|0,v=v+Math.imul(z0,x0)|0,c=c+Math.imul(z0,y0)|0,x=x+Math.imul(Y0,o0)|0,v=v+Math.imul(Y0,r0)|0,v=v+Math.imul(O0,o0)|0,c=c+Math.imul(O0,r0)|0,x=x+Math.imul(h,s0)|0,v=v+Math.imul(h,i)|0,v=v+Math.imul(n,s0)|0,c=c+Math.imul(n,i)|0,x=x+Math.imul(Z0,q0)|0,v=v+Math.imul(Z0,E0)|0,v=v+Math.imul(A0,q0)|0,c=c+Math.imul(A0,E0)|0,x=x+Math.imul(s,n0)|0,v=v+Math.imul(s,a0)|0,v=v+Math.imul(e,n0)|0,c=c+Math.imul(e,a0)|0,x=x+Math.imul(U0,X$)|0,v=v+Math.imul(U0,U$)|0,v=v+Math.imul(W0,X$)|0,c=c+Math.imul(W0,U$)|0;var t$=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(t$>>>26)|0,t$&=67108863,x=Math.imul(c0,m),v=Math.imul(c0,X0),v=v+Math.imul(h0,m)|0,c=Math.imul(h0,X0),x=x+Math.imul(m0,S0)|0,v=v+Math.imul(m0,v0)|0,v=v+Math.imul(p0,S0)|0,c=c+Math.imul(p0,v0)|0,x=x+Math.imul(M0,x0)|0,v=v+Math.imul(M0,y0)|0,v=v+Math.imul(B0,x0)|0,c=c+Math.imul(B0,y0)|0,x=x+Math.imul(I0,o0)|0,v=v+Math.imul(I0,r0)|0,v=v+Math.imul(z0,o0)|0,c=c+Math.imul(z0,r0)|0,x=x+Math.imul(Y0,s0)|0,v=v+Math.imul(Y0,i)|0,v=v+Math.imul(O0,s0)|0,c=c+Math.imul(O0,i)|0,x=x+Math.imul(h,q0)|0,v=v+Math.imul(h,E0)|0,v=v+Math.imul(n,q0)|0,c=c+Math.imul(n,E0)|0,x=x+Math.imul(Z0,n0)|0,v=v+Math.imul(Z0,a0)|0,v=v+Math.imul(A0,n0)|0,c=c+Math.imul(A0,a0)|0,x=x+Math.imul(s,X$)|0,v=v+Math.imul(s,U$)|0,v=v+Math.imul(e,X$)|0,c=c+Math.imul(e,U$)|0,x=x+Math.imul(U0,J$)|0,v=v+Math.imul(U0,$$)|0,v=v+Math.imul(W0,J$)|0,c=c+Math.imul(W0,$$)|0;var MU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(MU>>>26)|0,MU&=67108863,x=Math.imul(t0,m),v=Math.imul(t0,X0),v=v+Math.imul(i0,m)|0,c=Math.imul(i0,X0),x=x+Math.imul(c0,S0)|0,v=v+Math.imul(c0,v0)|0,v=v+Math.imul(h0,S0)|0,c=c+Math.imul(h0,v0)|0,x=x+Math.imul(m0,x0)|0,v=v+Math.imul(m0,y0)|0,v=v+Math.imul(p0,x0)|0,c=c+Math.imul(p0,y0)|0,x=x+Math.imul(M0,o0)|0,v=v+Math.imul(M0,r0)|0,v=v+Math.imul(B0,o0)|0,c=c+Math.imul(B0,r0)|0,x=x+Math.imul(I0,s0)|0,v=v+Math.imul(I0,i)|0,v=v+Math.imul(z0,s0)|0,c=c+Math.imul(z0,i)|0,x=x+Math.imul(Y0,q0)|0,v=v+Math.imul(Y0,E0)|0,v=v+Math.imul(O0,q0)|0,c=c+Math.imul(O0,E0)|0,x=x+Math.imul(h,n0)|0,v=v+Math.imul(h,a0)|0,v=v+Math.imul(n,n0)|0,c=c+Math.imul(n,a0)|0,x=x+Math.imul(Z0,X$)|0,v=v+Math.imul(Z0,U$)|0,v=v+Math.imul(A0,X$)|0,c=c+Math.imul(A0,U$)|0,x=x+Math.imul(s,J$)|0,v=v+Math.imul(s,$$)|0,v=v+Math.imul(e,J$)|0,c=c+Math.imul(e,$$)|0,x=x+Math.imul(U0,B$)|0,v=v+Math.imul(U0,S$)|0,v=v+Math.imul(W0,B$)|0,c=c+Math.imul(W0,S$)|0;var VU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(VU>>>26)|0,VU&=67108863,x=Math.imul(t0,S0),v=Math.imul(t0,v0),v=v+Math.imul(i0,S0)|0,c=Math.imul(i0,v0),x=x+Math.imul(c0,x0)|0,v=v+Math.imul(c0,y0)|0,v=v+Math.imul(h0,x0)|0,c=c+Math.imul(h0,y0)|0,x=x+Math.imul(m0,o0)|0,v=v+Math.imul(m0,r0)|0,v=v+Math.imul(p0,o0)|0,c=c+Math.imul(p0,r0)|0,x=x+Math.imul(M0,s0)|0,v=v+Math.imul(M0,i)|0,v=v+Math.imul(B0,s0)|0,c=c+Math.imul(B0,i)|0,x=x+Math.imul(I0,q0)|0,v=v+Math.imul(I0,E0)|0,v=v+Math.imul(z0,q0)|0,c=c+Math.imul(z0,E0)|0,x=x+Math.imul(Y0,n0)|0,v=v+Math.imul(Y0,a0)|0,v=v+Math.imul(O0,n0)|0,c=c+Math.imul(O0,a0)|0,x=x+Math.imul(h,X$)|0,v=v+Math.imul(h,U$)|0,v=v+Math.imul(n,X$)|0,c=c+Math.imul(n,U$)|0,x=x+Math.imul(Z0,J$)|0,v=v+Math.imul(Z0,$$)|0,v=v+Math.imul(A0,J$)|0,c=c+Math.imul(A0,$$)|0,x=x+Math.imul(s,B$)|0,v=v+Math.imul(s,S$)|0,v=v+Math.imul(e,B$)|0,c=c+Math.imul(e,S$)|0;var lU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(lU>>>26)|0,lU&=67108863,x=Math.imul(t0,x0),v=Math.imul(t0,y0),v=v+Math.imul(i0,x0)|0,c=Math.imul(i0,y0),x=x+Math.imul(c0,o0)|0,v=v+Math.imul(c0,r0)|0,v=v+Math.imul(h0,o0)|0,c=c+Math.imul(h0,r0)|0,x=x+Math.imul(m0,s0)|0,v=v+Math.imul(m0,i)|0,v=v+Math.imul(p0,s0)|0,c=c+Math.imul(p0,i)|0,x=x+Math.imul(M0,q0)|0,v=v+Math.imul(M0,E0)|0,v=v+Math.imul(B0,q0)|0,c=c+Math.imul(B0,E0)|0,x=x+Math.imul(I0,n0)|0,v=v+Math.imul(I0,a0)|0,v=v+Math.imul(z0,n0)|0,c=c+Math.imul(z0,a0)|0,x=x+Math.imul(Y0,X$)|0,v=v+Math.imul(Y0,U$)|0,v=v+Math.imul(O0,X$)|0,c=c+Math.imul(O0,U$)|0,x=x+Math.imul(h,J$)|0,v=v+Math.imul(h,$$)|0,v=v+Math.imul(n,J$)|0,c=c+Math.imul(n,$$)|0,x=x+Math.imul(Z0,B$)|0,v=v+Math.imul(Z0,S$)|0,v=v+Math.imul(A0,B$)|0,c=c+Math.imul(A0,S$)|0;var _U=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(_U>>>26)|0,_U&=67108863,x=Math.imul(t0,o0),v=Math.imul(t0,r0),v=v+Math.imul(i0,o0)|0,c=Math.imul(i0,r0),x=x+Math.imul(c0,s0)|0,v=v+Math.imul(c0,i)|0,v=v+Math.imul(h0,s0)|0,c=c+Math.imul(h0,i)|0,x=x+Math.imul(m0,q0)|0,v=v+Math.imul(m0,E0)|0,v=v+Math.imul(p0,q0)|0,c=c+Math.imul(p0,E0)|0,x=x+Math.imul(M0,n0)|0,v=v+Math.imul(M0,a0)|0,v=v+Math.imul(B0,n0)|0,c=c+Math.imul(B0,a0)|0,x=x+Math.imul(I0,X$)|0,v=v+Math.imul(I0,U$)|0,v=v+Math.imul(z0,X$)|0,c=c+Math.imul(z0,U$)|0,x=x+Math.imul(Y0,J$)|0,v=v+Math.imul(Y0,$$)|0,v=v+Math.imul(O0,J$)|0,c=c+Math.imul(O0,$$)|0,x=x+Math.imul(h,B$)|0,v=v+Math.imul(h,S$)|0,v=v+Math.imul(n,B$)|0,c=c+Math.imul(n,S$)|0;var NU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(NU>>>26)|0,NU&=67108863,x=Math.imul(t0,s0),v=Math.imul(t0,i),v=v+Math.imul(i0,s0)|0,c=Math.imul(i0,i),x=x+Math.imul(c0,q0)|0,v=v+Math.imul(c0,E0)|0,v=v+Math.imul(h0,q0)|0,c=c+Math.imul(h0,E0)|0,x=x+Math.imul(m0,n0)|0,v=v+Math.imul(m0,a0)|0,v=v+Math.imul(p0,n0)|0,c=c+Math.imul(p0,a0)|0,x=x+Math.imul(M0,X$)|0,v=v+Math.imul(M0,U$)|0,v=v+Math.imul(B0,X$)|0,c=c+Math.imul(B0,U$)|0,x=x+Math.imul(I0,J$)|0,v=v+Math.imul(I0,$$)|0,v=v+Math.imul(z0,J$)|0,c=c+Math.imul(z0,$$)|0,x=x+Math.imul(Y0,B$)|0,v=v+Math.imul(Y0,S$)|0,v=v+Math.imul(O0,B$)|0,c=c+Math.imul(O0,S$)|0;var xU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(xU>>>26)|0,xU&=67108863,x=Math.imul(t0,q0),v=Math.imul(t0,E0),v=v+Math.imul(i0,q0)|0,c=Math.imul(i0,E0),x=x+Math.imul(c0,n0)|0,v=v+Math.imul(c0,a0)|0,v=v+Math.imul(h0,n0)|0,c=c+Math.imul(h0,a0)|0,x=x+Math.imul(m0,X$)|0,v=v+Math.imul(m0,U$)|0,v=v+Math.imul(p0,X$)|0,c=c+Math.imul(p0,U$)|0,x=x+Math.imul(M0,J$)|0,v=v+Math.imul(M0,$$)|0,v=v+Math.imul(B0,J$)|0,c=c+Math.imul(B0,$$)|0,x=x+Math.imul(I0,B$)|0,v=v+Math.imul(I0,S$)|0,v=v+Math.imul(z0,B$)|0,c=c+Math.imul(z0,S$)|0;var EU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(EU>>>26)|0,EU&=67108863,x=Math.imul(t0,n0),v=Math.imul(t0,a0),v=v+Math.imul(i0,n0)|0,c=Math.imul(i0,a0),x=x+Math.imul(c0,X$)|0,v=v+Math.imul(c0,U$)|0,v=v+Math.imul(h0,X$)|0,c=c+Math.imul(h0,U$)|0,x=x+Math.imul(m0,J$)|0,v=v+Math.imul(m0,$$)|0,v=v+Math.imul(p0,J$)|0,c=c+Math.imul(p0,$$)|0,x=x+Math.imul(M0,B$)|0,v=v+Math.imul(M0,S$)|0,v=v+Math.imul(B0,B$)|0,c=c+Math.imul(B0,S$)|0;var AU=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(AU>>>26)|0,AU&=67108863,x=Math.imul(t0,X$),v=Math.imul(t0,U$),v=v+Math.imul(i0,X$)|0,c=Math.imul(i0,U$),x=x+Math.imul(c0,J$)|0,v=v+Math.imul(c0,$$)|0,v=v+Math.imul(h0,J$)|0,c=c+Math.imul(h0,$$)|0,x=x+Math.imul(m0,B$)|0,v=v+Math.imul(m0,S$)|0,v=v+Math.imul(p0,B$)|0,c=c+Math.imul(p0,S$)|0;var FX=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(FX>>>26)|0,FX&=67108863,x=Math.imul(t0,J$),v=Math.imul(t0,$$),v=v+Math.imul(i0,J$)|0,c=Math.imul(i0,$$),x=x+Math.imul(c0,B$)|0,v=v+Math.imul(c0,S$)|0,v=v+Math.imul(h0,B$)|0,c=c+Math.imul(h0,S$)|0;var DY=(T+x|0)+((v&8191)<<13)|0;T=(c+(v>>>13)|0)+(DY>>>26)|0,DY&=67108863,x=Math.imul(t0,B$),v=Math.imul(t0,S$),v=v+Math.imul(i0,B$)|0,c=Math.imul(i0,S$);var FY=(T+x|0)+((v&8191)<<13)|0;if(T=(c+(v>>>13)|0)+(FY>>>26)|0,FY&=67108863,K[0]=UU,K[1]=d$,K[2]=bU,K[3]=cU,K[4]=hU,K[5]=pU,K[6]=mU,K[7]=t$,K[8]=MU,K[9]=VU,K[10]=lU,K[11]=_U,K[12]=NU,K[13]=xU,K[14]=EU,K[15]=AU,K[16]=FX,K[17]=DY,K[18]=FY,T!==0)K[19]=T,R.length++;return R};if(!Math.imul)u=g;function p(O,D,R){R.negative=D.negative^O.negative,R.length=O.length+D.length;var S=0,A=0;for(var K=0;K<R.length-1;K++){var T=A;A=0;var x=S&67108863,v=Math.min(K,D.length-1);for(var c=Math.max(0,K-O.length+1);c<=v;c++){var r=K-c,U0=O.words[r]|0,W0=D.words[c]|0,Q0=U0*W0,s=Q0&67108863;T=T+(Q0/67108864|0)|0,s=s+x|0,x=s&67108863,T=T+(s>>>26)|0,A+=T>>>26,T&=67108863}R.words[K]=x,S=T,T=A}if(S!==0)R.words[K]=S;else R.length--;return R._strip()}function d(O,D,R){return p(O,D,R)}Z.prototype.mulTo=function(O,D){var R,S=this.length+O.length;if(this.length===10&&O.length===10)R=u(this,O,D);else if(S<63)R=g(this,O,D);else if(S<1024)R=p(this,O,D);else R=d(this,O,D);return R};function a(O,D){this.x=O,this.y=D}a.prototype.makeRBT=function(O){var D=Array(O),R=Z.prototype._countBits(O)-1;for(var S=0;S<O;S++)D[S]=this.revBin(S,R,O);return D},a.prototype.revBin=function(O,D,R){if(O===0||O===R-1)return O;var S=0;for(var A=0;A<D;A++)S|=(O&1)<<D-A-1,O>>=1;return S},a.prototype.permute=function(O,D,R,S,A,K){for(var T=0;T<K;T++)S[T]=D[O[T]],A[T]=R[O[T]]},a.prototype.transform=function(O,D,R,S,A,K){this.permute(K,O,D,R,S,A);for(var T=1;T<A;T<<=1){var x=T<<1,v=Math.cos(2*Math.PI/x),c=Math.sin(2*Math.PI/x);for(var r=0;r<A;r+=x){var U0=v,W0=c;for(var Q0=0;Q0<T;Q0++){var s=R[r+Q0],e=S[r+Q0],J0=R[r+Q0+T],Z0=S[r+Q0+T],A0=U0*J0-W0*Z0;if(Z0=U0*Z0+W0*J0,J0=A0,R[r+Q0]=s+J0,S[r+Q0]=e+Z0,R[r+Q0+T]=s-J0,S[r+Q0+T]=e-Z0,Q0!==x)A0=v*U0-c*W0,W0=v*W0+c*U0,U0=A0}}}},a.prototype.guessLen13b=function(O,D){var R=Math.max(D,O)|1,S=R&1,A=0;for(R=R/2|0;R;R=R>>>1)A++;return 1<<A+1+S},a.prototype.conjugate=function(O,D,R){if(R<=1)return;for(var S=0;S<R/2;S++){var A=O[S];O[S]=O[R-S-1],O[R-S-1]=A,A=D[S],D[S]=-D[R-S-1],D[R-S-1]=-A}},a.prototype.normalize13b=function(O,D){var R=0;for(var S=0;S<D/2;S++){var A=Math.round(O[2*S+1]/D)*8192+Math.round(O[2*S]/D)+R;if(O[S]=A&67108863,A<67108864)R=0;else R=A/67108864|0}return O},a.prototype.convert13b=function(O,D,R,S){var A=0;for(var K=0;K<D;K++)A=A+(O[K]|0),R[2*K]=A&8191,A=A>>>13,R[2*K+1]=A&8191,A=A>>>13;for(K=2*D;K<S;++K)R[K]=0;X(A===0),X((A&-8192)===0)},a.prototype.stub=function(O){var D=Array(O);for(var R=0;R<O;R++)D[R]=0;return D},a.prototype.mulp=function(O,D,R){var S=2*this.guessLen13b(O.length,D.length),A=this.makeRBT(S),K=this.stub(S),T=Array(S),x=Array(S),v=Array(S),c=Array(S),r=Array(S),U0=Array(S),W0=R.words;W0.length=S,this.convert13b(O.words,O.length,T,S),this.convert13b(D.words,D.length,c,S),this.transform(T,K,x,v,S,A),this.transform(c,K,r,U0,S,A);for(var Q0=0;Q0<S;Q0++){var s=x[Q0]*r[Q0]-v[Q0]*U0[Q0];v[Q0]=x[Q0]*U0[Q0]+v[Q0]*r[Q0],x[Q0]=s}return this.conjugate(x,v,S),this.transform(x,v,W0,K,S,A),this.conjugate(W0,K,S),this.normalize13b(W0,S),R.negative=O.negative^D.negative,R.length=O.length+D.length,R._strip()},Z.prototype.mul=function(O){var D=new Z(null);return D.words=Array(this.length+O.length),this.mulTo(O,D)},Z.prototype.mulf=function(O){var D=new Z(null);return D.words=Array(this.length+O.length),d(this,O,D)},Z.prototype.imul=function(O){return this.clone().mulTo(O,this)},Z.prototype.imuln=function(O){var D=O<0;if(D)O=-O;X(typeof O==="number"),X(O<67108864);var R=0;for(var S=0;S<this.length;S++){var A=(this.words[S]|0)*O,K=(A&67108863)+(R&67108863);R>>=26,R+=A/67108864|0,R+=K>>>26,this.words[S]=K&67108863}if(R!==0)this.words[S]=R,this.length++;return this.length=O===0?1:this.length,D?this.ineg():this},Z.prototype.muln=function(O){return this.clone().imuln(O)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(O){var D=b(O);if(D.length===0)return new Z(1);var R=this;for(var S=0;S<D.length;S++,R=R.sqr())if(D[S]!==0)break;if(++S<D.length)for(var A=R.sqr();S<D.length;S++,A=A.sqr()){if(D[S]===0)continue;R=R.mul(A)}return R},Z.prototype.iushln=function(O){X(typeof O==="number"&&O>=0);var D=O%26,R=(O-D)/26,S=67108863>>>26-D<<26-D,A;if(D!==0){var K=0;for(A=0;A<this.length;A++){var T=this.words[A]&S,x=(this.words[A]|0)-T<<D;this.words[A]=x|K,K=T>>>26-D}if(K)this.words[A]=K,this.length++}if(R!==0){for(A=this.length-1;A>=0;A--)this.words[A+R]=this.words[A];for(A=0;A<R;A++)this.words[A]=0;this.length+=R}return this._strip()},Z.prototype.ishln=function(O){return X(this.negative===0),this.iushln(O)},Z.prototype.iushrn=function(O,D,R){X(typeof O==="number"&&O>=0);var S;if(D)S=(D-D%26)/26;else S=0;var A=O%26,K=Math.min((O-A)/26,this.length),T=67108863^67108863>>>A<<A,x=R;if(S-=K,S=Math.max(0,S),x){for(var v=0;v<K;v++)x.words[v]=this.words[v];x.length=K}if(K===0);else if(this.length>K){this.length-=K;for(v=0;v<this.length;v++)this.words[v]=this.words[v+K]}else this.words[0]=0,this.length=1;var c=0;for(v=this.length-1;v>=0&&(c!==0||v>=S);v--){var r=this.words[v]|0;this.words[v]=c<<26-A|r>>>A,c=r&T}if(x&&c!==0)x.words[x.length++]=c;if(this.length===0)this.words[0]=0,this.length=1;return this._strip()},Z.prototype.ishrn=function(O,D,R){return X(this.negative===0),this.iushrn(O,D,R)},Z.prototype.shln=function(O){return this.clone().ishln(O)},Z.prototype.ushln=function(O){return this.clone().iushln(O)},Z.prototype.shrn=function(O){return this.clone().ishrn(O)},Z.prototype.ushrn=function(O){return this.clone().iushrn(O)},Z.prototype.testn=function(O){X(typeof O==="number"&&O>=0);var D=O%26,R=(O-D)/26,S=1<<D;if(this.length<=R)return!1;var A=this.words[R];return!!(A&S)},Z.prototype.imaskn=function(O){X(typeof O==="number"&&O>=0);var D=O%26,R=(O-D)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=R)return this;if(D!==0)R++;if(this.length=Math.min(R,this.length),D!==0){var S=67108863^67108863>>>D<<D;this.words[this.length-1]&=S}return this._strip()},Z.prototype.maskn=function(O){return this.clone().imaskn(O)},Z.prototype.iaddn=function(O){if(X(typeof O==="number"),X(O<67108864),O<0)return this.isubn(-O);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<=O)return this.words[0]=O-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(O),this.negative=1,this}return this._iaddn(O)},Z.prototype._iaddn=function(O){this.words[0]+=O;for(var D=0;D<this.length&&this.words[D]>=67108864;D++)if(this.words[D]-=67108864,D===this.length-1)this.words[D+1]=1;else this.words[D+1]++;return this.length=Math.max(this.length,D+1),this},Z.prototype.isubn=function(O){if(X(typeof O==="number"),X(O<67108864),O<0)return this.iaddn(-O);if(this.negative!==0)return this.negative=0,this.iaddn(O),this.negative=1,this;if(this.words[0]-=O,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var D=0;D<this.length&&this.words[D]<0;D++)this.words[D]+=67108864,this.words[D+1]-=1;return this._strip()},Z.prototype.addn=function(O){return this.clone().iaddn(O)},Z.prototype.subn=function(O){return this.clone().isubn(O)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(O,D,R){var S=O.length+R,A;this._expand(S);var K,T=0;for(A=0;A<O.length;A++){K=(this.words[A+R]|0)+T;var x=(O.words[A]|0)*D;K-=x&67108863,T=(K>>26)-(x/67108864|0),this.words[A+R]=K&67108863}for(;A<this.length-R;A++)K=(this.words[A+R]|0)+T,T=K>>26,this.words[A+R]=K&67108863;if(T===0)return this._strip();X(T===-1),T=0;for(A=0;A<this.length;A++)K=-(this.words[A]|0)+T,T=K>>26,this.words[A]=K&67108863;return this.negative=1,this._strip()},Z.prototype._wordDiv=function(O,D){var R=this.length-O.length,S=this.clone(),A=O,K=A.words[A.length-1]|0,T=this._countBits(K);if(R=26-T,R!==0)A=A.ushln(R),S.iushln(R),K=A.words[A.length-1]|0;var x=S.length-A.length,v;if(D!=="mod"){v=new Z(null),v.length=x+1,v.words=Array(v.length);for(var c=0;c<v.length;c++)v.words[c]=0}var r=S.clone()._ishlnsubmul(A,1,x);if(r.negative===0){if(S=r,v)v.words[x]=1}for(var U0=x-1;U0>=0;U0--){var W0=(S.words[A.length+U0]|0)*67108864+(S.words[A.length+U0-1]|0);W0=Math.min(W0/K|0,67108863),S._ishlnsubmul(A,W0,U0);while(S.negative!==0)if(W0--,S.negative=0,S._ishlnsubmul(A,1,U0),!S.isZero())S.negative^=1;if(v)v.words[U0]=W0}if(v)v._strip();if(S._strip(),D!=="div"&&R!==0)S.iushrn(R);return{div:v||null,mod:S}},Z.prototype.divmod=function(O,D,R){if(X(!O.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var S,A,K;if(this.negative!==0&&O.negative===0){if(K=this.neg().divmod(O,D),D!=="mod")S=K.div.neg();if(D!=="div"){if(A=K.mod.neg(),R&&A.negative!==0)A.iadd(O)}return{div:S,mod:A}}if(this.negative===0&&O.negative!==0){if(K=this.divmod(O.neg(),D),D!=="mod")S=K.div.neg();return{div:S,mod:K.mod}}if((this.negative&O.negative)!==0){if(K=this.neg().divmod(O.neg(),D),D!=="div"){if(A=K.mod.neg(),R&&A.negative!==0)A.isub(O)}return{div:K.div,mod:A}}if(O.length>this.length||this.cmp(O)<0)return{div:new Z(0),mod:this};if(O.length===1){if(D==="div")return{div:this.divn(O.words[0]),mod:null};if(D==="mod")return{div:null,mod:new Z(this.modrn(O.words[0]))};return{div:this.divn(O.words[0]),mod:new Z(this.modrn(O.words[0]))}}return this._wordDiv(O,D)},Z.prototype.div=function(O){return this.divmod(O,"div",!1).div},Z.prototype.mod=function(O){return this.divmod(O,"mod",!1).mod},Z.prototype.umod=function(O){return this.divmod(O,"mod",!0).mod},Z.prototype.divRound=function(O){var D=this.divmod(O);if(D.mod.isZero())return D.div;var R=D.div.negative!==0?D.mod.isub(O):D.mod,S=O.ushrn(1),A=O.andln(1),K=R.cmp(S);if(K<0||A===1&&K===0)return D.div;return D.div.negative!==0?D.div.isubn(1):D.div.iaddn(1)},Z.prototype.modrn=function(O){var D=O<0;if(D)O=-O;X(O<=67108863);var R=67108864%O,S=0;for(var A=this.length-1;A>=0;A--)S=(R*S+(this.words[A]|0))%O;return D?-S:S},Z.prototype.modn=function(O){return this.modrn(O)},Z.prototype.idivn=function(O){var D=O<0;if(D)O=-O;X(O<=67108863);var R=0;for(var S=this.length-1;S>=0;S--){var A=(this.words[S]|0)+R*67108864;this.words[S]=A/O|0,R=A%O}return this._strip(),D?this.ineg():this},Z.prototype.divn=function(O){return this.clone().idivn(O)},Z.prototype.egcd=function(O){X(O.negative===0),X(!O.isZero());var D=this,R=O.clone();if(D.negative!==0)D=D.umod(O);else D=D.clone();var S=new Z(1),A=new Z(0),K=new Z(0),T=new Z(1),x=0;while(D.isEven()&&R.isEven())D.iushrn(1),R.iushrn(1),++x;var v=R.clone(),c=D.clone();while(!D.isZero()){for(var r=0,U0=1;(D.words[0]&U0)===0&&r<26;++r,U0<<=1);if(r>0){D.iushrn(r);while(r-- >0){if(S.isOdd()||A.isOdd())S.iadd(v),A.isub(c);S.iushrn(1),A.iushrn(1)}}for(var W0=0,Q0=1;(R.words[0]&Q0)===0&&W0<26;++W0,Q0<<=1);if(W0>0){R.iushrn(W0);while(W0-- >0){if(K.isOdd()||T.isOdd())K.iadd(v),T.isub(c);K.iushrn(1),T.iushrn(1)}}if(D.cmp(R)>=0)D.isub(R),S.isub(K),A.isub(T);else R.isub(D),K.isub(S),T.isub(A)}return{a:K,b:T,gcd:R.iushln(x)}},Z.prototype._invmp=function(O){X(O.negative===0),X(!O.isZero());var D=this,R=O.clone();if(D.negative!==0)D=D.umod(O);else D=D.clone();var S=new Z(1),A=new Z(0),K=R.clone();while(D.cmpn(1)>0&&R.cmpn(1)>0){for(var T=0,x=1;(D.words[0]&x)===0&&T<26;++T,x<<=1);if(T>0){D.iushrn(T);while(T-- >0){if(S.isOdd())S.iadd(K);S.iushrn(1)}}for(var v=0,c=1;(R.words[0]&c)===0&&v<26;++v,c<<=1);if(v>0){R.iushrn(v);while(v-- >0){if(A.isOdd())A.iadd(K);A.iushrn(1)}}if(D.cmp(R)>=0)D.isub(R),S.isub(A);else R.isub(D),A.isub(S)}var r;if(D.cmpn(1)===0)r=S;else r=A;if(r.cmpn(0)<0)r.iadd(O);return r},Z.prototype.gcd=function(O){if(this.isZero())return O.abs();if(O.isZero())return this.abs();var D=this.clone(),R=O.clone();D.negative=0,R.negative=0;for(var S=0;D.isEven()&&R.isEven();S++)D.iushrn(1),R.iushrn(1);do{while(D.isEven())D.iushrn(1);while(R.isEven())R.iushrn(1);var A=D.cmp(R);if(A<0){var K=D;D=R,R=K}else if(A===0||R.cmpn(1)===0)break;D.isub(R)}while(!0);return R.iushln(S)},Z.prototype.invm=function(O){return this.egcd(O).a.umod(O)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(O){return this.words[0]&O},Z.prototype.bincn=function(O){X(typeof O==="number");var D=O%26,R=(O-D)/26,S=1<<D;if(this.length<=R)return this._expand(R+1),this.words[R]|=S,this;var A=S;for(var K=R;A!==0&&K<this.length;K++){var T=this.words[K]|0;T+=A,A=T>>>26,T&=67108863,this.words[K]=T}if(A!==0)this.words[K]=A,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(O){var D=O<0;if(this.negative!==0&&!D)return-1;if(this.negative===0&&D)return 1;this._strip();var R;if(this.length>1)R=1;else{if(D)O=-O;X(O<=67108863,"Number is too big");var S=this.words[0]|0;R=S===O?0:S<O?-1:1}if(this.negative!==0)return-R|0;return R},Z.prototype.cmp=function(O){if(this.negative!==0&&O.negative===0)return-1;if(this.negative===0&&O.negative!==0)return 1;var D=this.ucmp(O);if(this.negative!==0)return-D|0;return D},Z.prototype.ucmp=function(O){if(this.length>O.length)return 1;if(this.length<O.length)return-1;var D=0;for(var R=this.length-1;R>=0;R--){var S=this.words[R]|0,A=O.words[R]|0;if(S===A)continue;if(S<A)D=-1;else if(S>A)D=1;break}return D},Z.prototype.gtn=function(O){return this.cmpn(O)===1},Z.prototype.gt=function(O){return this.cmp(O)===1},Z.prototype.gten=function(O){return this.cmpn(O)>=0},Z.prototype.gte=function(O){return this.cmp(O)>=0},Z.prototype.ltn=function(O){return this.cmpn(O)===-1},Z.prototype.lt=function(O){return this.cmp(O)===-1},Z.prototype.lten=function(O){return this.cmpn(O)<=0},Z.prototype.lte=function(O){return this.cmp(O)<=0},Z.prototype.eqn=function(O){return this.cmpn(O)===0},Z.prototype.eq=function(O){return this.cmp(O)===0},Z.red=function(O){return new V(O)},Z.prototype.toRed=function(O){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),O.convertTo(this)._forceRed(O)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(O){return this.red=O,this},Z.prototype.forceRed=function(O){return X(!this.red,"Already a number in reduction context"),this._forceRed(O)},Z.prototype.redAdd=function(O){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,O)},Z.prototype.redIAdd=function(O){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,O)},Z.prototype.redSub=function(O){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,O)},Z.prototype.redISub=function(O){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,O)},Z.prototype.redShl=function(O){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,O)},Z.prototype.redMul=function(O){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,O),this.red.mul(this,O)},Z.prototype.redIMul=function(O){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,O),this.red.imul(this,O)},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(O){return X(this.red&&!O.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,O)};var D0={k256:null,p224:null,p192:null,p25519:null};function L0(O,D){this.name=O,this.p=new Z(D,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}L0.prototype._tmp=function(){var O=new Z(null);return O.words=Array(Math.ceil(this.n/13)),O},L0.prototype.ireduce=function(O){var D=O,R;do this.split(D,this.tmp),D=this.imulK(D),D=D.iadd(this.tmp),R=D.bitLength();while(R>this.n);var S=R<this.n?-1:D.ucmp(this.p);if(S===0)D.words[0]=0,D.length=1;else if(S>0)D.isub(this.p);else if(D.strip!==void 0)D.strip();else D._strip();return D},L0.prototype.split=function(O,D){O.iushrn(this.n,0,D)},L0.prototype.imulK=function(O){return O.imul(this.k)};function _0(){L0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}W(_0,L0),_0.prototype.split=function(O,D){var R=4194303,S=Math.min(O.length,9);for(var A=0;A<S;A++)D.words[A]=O.words[A];if(D.length=S,O.length<=9){O.words[0]=0,O.length=1;return}var K=O.words[9];D.words[D.length++]=K&R;for(A=10;A<O.length;A++){var T=O.words[A]|0;O.words[A-10]=(T&R)<<4|K>>>22,K=T}if(K>>>=22,O.words[A-10]=K,K===0&&O.length>10)O.length-=10;else O.length-=9},_0.prototype.imulK=function(O){O.words[O.length]=0,O.words[O.length+1]=0,O.length+=2;var D=0;for(var R=0;R<O.length;R++){var S=O.words[R]|0;D+=S*977,O.words[R]=D&67108863,D=S*64+(D/67108864|0)}if(O.words[O.length-1]===0){if(O.length--,O.words[O.length-1]===0)O.length--}return O};function t(){L0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(t,L0);function T0(){L0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(T0,L0);function G(){L0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(G,L0),G.prototype.imulK=function(O){var D=0;for(var R=0;R<O.length;R++){var S=(O.words[R]|0)*19+D,A=S&67108863;S>>>=26,O.words[R]=A,D=S}if(D!==0)O.words[O.length++]=D;return O},Z._prime=function(O){if(D0[O])return D0[O];var D;if(O==="k256")D=new _0;else if(O==="p224")D=new t;else if(O==="p192")D=new T0;else if(O==="p25519")D=new G;else throw Error("Unknown prime "+O);return D0[O]=D,D};function V(O){if(typeof O==="string"){var D=Z._prime(O);this.m=D.p,this.prime=D}else X(O.gtn(1),"modulus must be greater than 1"),this.m=O,this.prime=null}V.prototype._verify1=function(O){X(O.negative===0,"red works only with positives"),X(O.red,"red works only with red numbers")},V.prototype._verify2=function(O,D){X((O.negative|D.negative)===0,"red works only with positives"),X(O.red&&O.red===D.red,"red works only with red numbers")},V.prototype.imod=function(O){if(this.prime)return this.prime.ireduce(O)._forceRed(this);return C(O,O.umod(this.m)._forceRed(this)),O},V.prototype.neg=function(O){if(O.isZero())return O.clone();return this.m.sub(O)._forceRed(this)},V.prototype.add=function(O,D){this._verify2(O,D);var R=O.add(D);if(R.cmp(this.m)>=0)R.isub(this.m);return R._forceRed(this)},V.prototype.iadd=function(O,D){this._verify2(O,D);var R=O.iadd(D);if(R.cmp(this.m)>=0)R.isub(this.m);return R},V.prototype.sub=function(O,D){this._verify2(O,D);var R=O.sub(D);if(R.cmpn(0)<0)R.iadd(this.m);return R._forceRed(this)},V.prototype.isub=function(O,D){this._verify2(O,D);var R=O.isub(D);if(R.cmpn(0)<0)R.iadd(this.m);return R},V.prototype.shl=function(O,D){return this._verify1(O),this.imod(O.ushln(D))},V.prototype.imul=function(O,D){return this._verify2(O,D),this.imod(O.imul(D))},V.prototype.mul=function(O,D){return this._verify2(O,D),this.imod(O.mul(D))},V.prototype.isqr=function(O){return this.imul(O,O.clone())},V.prototype.sqr=function(O){return this.mul(O,O)},V.prototype.sqrt=function(O){if(O.isZero())return O.clone();var D=this.m.andln(3);if(X(D%2===1),D===3){var R=this.m.add(new Z(1)).iushrn(2);return this.pow(O,R)}var S=this.m.subn(1),A=0;while(!S.isZero()&&S.andln(1)===0)A++,S.iushrn(1);X(!S.isZero());var K=new Z(1).toRed(this),T=K.redNeg(),x=this.m.subn(1).iushrn(1),v=this.m.bitLength();v=new Z(2*v*v).toRed(this);while(this.pow(v,x).cmp(T)!==0)v.redIAdd(T);var c=this.pow(v,S),r=this.pow(O,S.addn(1).iushrn(1)),U0=this.pow(O,S),W0=A;while(U0.cmp(K)!==0){var Q0=U0;for(var s=0;Q0.cmp(K)!==0;s++)Q0=Q0.redSqr();X(s<W0);var e=this.pow(c,new Z(1).iushln(W0-s-1));r=r.redMul(e),c=e.redSqr(),U0=U0.redMul(c),W0=s}return r},V.prototype.invm=function(O){var D=O._invmp(this.m);if(D.negative!==0)return D.negative=0,this.imod(D).redNeg();else return this.imod(D)},V.prototype.pow=function(O,D){if(D.isZero())return new Z(1).toRed(this);if(D.cmpn(1)===0)return O.clone();var R=4,S=Array(1<<R);S[0]=new Z(1).toRed(this),S[1]=O;for(var A=2;A<S.length;A++)S[A]=this.mul(S[A-1],O);var K=S[0],T=0,x=0,v=D.bitLength()%26;if(v===0)v=26;for(A=D.length-1;A>=0;A--){var c=D.words[A];for(var r=v-1;r>=0;r--){var U0=c>>r&1;if(K!==S[0])K=this.sqr(K);if(U0===0&&T===0){x=0;continue}if(T<<=1,T|=U0,x++,x!==R&&(A!==0||r!==0))continue;K=this.mul(K,S[T]),x=0,T=0}v=26}return K},V.prototype.convertTo=function(O){var D=O.umod(this.m);return D===O?D.clone():D},V.prototype.convertFrom=function(O){var D=O.clone();return D.red=null,D},Z.mont=function(O){return new F(O)};function F(O){if(V.call(this,O),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)}W(F,V),F.prototype.convertTo=function(O){return this.imod(O.ushln(this.shift))},F.prototype.convertFrom=function(O){var D=this.imod(O.mul(this.rinv));return D.red=null,D},F.prototype.imul=function(O,D){if(O.isZero()||D.isZero())return O.words[0]=0,O.length=1,O;var R=O.imul(D),S=R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=R.isub(S).iushrn(this.shift),K=A;if(A.cmp(this.m)>=0)K=A.isub(this.m);else if(A.cmpn(0)<0)K=A.iadd(this.m);return K._forceRed(this)},F.prototype.mul=function(O,D){if(O.isZero()||D.isZero())return new Z(0)._forceRed(this);var R=O.mul(D),S=R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=R.isub(S).iushrn(this.shift),K=A;if(A.cmp(this.m)>=0)K=A.isub(this.m);else if(A.cmpn(0)<0)K=A.iadd(this.m);return K._forceRed(this)},F.prototype.invm=function(O){var D=this.imod(O._invmp(this.m).mul(this.r2));return D._forceRed(this)}})(typeof J>"u"||J,I)}),WS=b0((I,J)=>{var Y=bf(),z=FK(),X=f6().Buffer;function W(j){var _=j.modulus.byteLength(),E;do E=new Y(z(_));while(E.cmp(j.modulus)>=0||!E.umod(j.prime1)||!E.umod(j.prime2));return E}function Z(j){var _=W(j),E=_.toRed(Y.mont(j.modulus)).redPow(new Y(j.publicExponent)).fromRed();return{blinder:E,unblinder:_.invm(j.modulus)}}function L(j,_){var E=Z(_),C=_.modulus.byteLength(),q=new Y(j).mul(E.blinder).umod(_.modulus),B=q.toRed(Y.mont(_.prime1)),N=q.toRed(Y.mont(_.prime2)),f=_.coefficient,w=_.prime1,b=_.prime2,g=B.redPow(_.exponent1).fromRed(),u=N.redPow(_.exponent2).fromRed(),p=g.isub(u).imul(f).umod(w).imul(b);return u.iadd(p).imul(E.unblinder).umod(_.modulus).toArrayLike(X,"be",C)}L.getr=W,J.exports=L}),cf=b0((I,J)=>{var Y=YS(),z=FK(),X=LK(),W=GS(),Z=ZS(),L=DH(),j=KS(),_=WS(),E=f6().Buffer;J.exports=function(N,f,w){var b;if(N.padding)b=N.padding;else if(w)b=1;else b=4;var g=Y(N),u;if(b===4)u=C(g,f);else if(b===1)u=q(g,f,w);else if(b===3){if(u=new L(f),u.cmp(g.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");if(w)return _(u,g);else return j(u,g)};function C(N,f){var w=N.modulus.byteLength(),b=f.length,g=X("sha1").update(E.alloc(0)).digest(),u=g.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,D0=z(u),L0=Z(E.concat([g,d,E.alloc(1,1),f],a),W(D0,a)),_0=Z(D0,W(L0,u));return new L(E.concat([E.alloc(1),_0,L0],w))}function q(N,f,w){var b=f.length,g=N.modulus.byteLength();if(b>g-11)throw Error("message too long");var u;if(w)u=E.alloc(g-b-3,255);else u=B(g-b-3);return new L(E.concat([E.from([0,w?1:2]),u,E.alloc(1),f],g))}function B(N){var f=E.allocUnsafe(N),w=0,b=z(N*2),g=0,u;while(w<N){if(g===b.length)b=z(N*2),g=0;if(u=b[g++],u)f[w++]=u}return f}}),hf=b0((I,J)=>{var Y=YS(),z=GS(),X=ZS(),W=DH(),Z=WS(),L=LK(),j=KS(),_=f6().Buffer;J.exports=function(B,N,f){var w;if(B.padding)w=B.padding;else if(f)w=1;else w=4;var b=Y(B),g=b.modulus.byteLength();if(N.length>g||new W(N).cmp(b.modulus)>=0)throw Error("decryption error");var u;if(f)u=j(new W(N),b);else u=Z(N,b);var p=_.alloc(g-u.length);if(u=_.concat([p,u],g),w===4)return E(b,u);else if(w===1)return C(b,u,f);else if(w===3)return u;else throw Error("unknown padding")};function E(B,N){var f=B.modulus.byteLength(),w=L("sha1").update(_.alloc(0)).digest(),b=w.length;if(N[0]!==0)throw Error("decryption error");var g=N.slice(1,b+1),u=N.slice(b+1),p=X(g,z(u,b)),d=X(u,z(p,f-b-1));if(q(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,N,f){var w=N.slice(0,2),b=2,g=0;while(N[b++]!==0)if(b>=N.length){g++;break}var u=N.slice(2,b-1);if(w.toString("hex")!=="0002"&&!f||w.toString("hex")!=="0001"&&f)g++;if(u.length<8)g++;if(g)throw Error("decryption error");return N.slice(b)}function q(B,N){B=_.from(B),N=_.from(N);var f=0,w=B.length;if(B.length!==N.length)f++,w=Math.min(B.length,N.length);var b=-1;while(++b<w)f+=B[b]^N[b];return f}}),YH=b0((I)=>{I.publicEncrypt=cf(),I.privateDecrypt=hf(),I.privateEncrypt=function(J,Y){return I.publicEncrypt(J,Y,!0)},I.publicDecrypt=function(J,Y){return I.privateDecrypt(J,Y,!0)}}),pf=b0((I)=>{var J=(uU(),j$(M1));if(typeof J.publicEncrypt!=="function")J=YH();if(I.publicEncrypt=J.publicEncrypt,I.privateDecrypt=J.privateDecrypt,typeof J.privateEncrypt!=="function")I.privateEncrypt=YH().privateEncrypt;else I.privateEncrypt=J.privateEncrypt;if(typeof J.publicDecrypt!=="function")I.publicDecrypt=YH().publicDecrypt;else I.publicDecrypt=J.publicDecrypt}),mf=b0((I)=>{var J=f6(),Y=FK(),z=J.Buffer,X=J.kMaxLength,W=globalThis.crypto||globalThis.msCrypto,Z=Math.pow(2,32)-1;function L(q,B){if(typeof q!=="number"||q!==q)throw TypeError("offset must be a number");if(q>Z||q<0)throw TypeError("offset must be a uint32");if(q>X||q>B)throw RangeError("offset out of range")}function j(q,B,N){if(typeof q!=="number"||q!==q)throw TypeError("size must be a number");if(q>Z||q<0)throw TypeError("size must be a uint32");if(q+B>N||q>X)throw RangeError("buffer too small")}W&&W.getRandomValues,I.randomFill=_,I.randomFillSync=C;function _(q,B,N,f){if(!z.isBuffer(q)&&!(q instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof B==="function")f=B,B=0,N=q.length;else if(typeof N==="function")f=N,N=q.length-B;else if(typeof f!=="function")throw TypeError('"cb" argument must be a function');return L(B,q.length),j(N,B,q.length),E(q,B,N,f)}function E(q,B,N,f){if(!1)var w,b;if(f){Y(N,function(u,p){if(u)return f(u);p.copy(q,B),f(null,q)});return}var g=Y(N);return g.copy(q,B),q}function C(q,B,N){if(typeof B>"u")B=0;if(!z.isBuffer(q)&&!(q instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(L(B,q.length),N===void 0)N=q.length-B;return j(N,B,q.length),E(q,B,N)}}),lf=b0((I,J)=>{var Y=(uU(),j$(M1));if(typeof Y.randomFill==="function"&&typeof Y.randomFillSync==="function")I.randomFill=Y.randomFill,I.randomFillSync=Y.randomFillSync;else J.exports=mf()}),df=b0((I)=>{I.randomBytes=I.rng=I.pseudoRandomBytes=I.prng=FK(),I.createHash=I.Hash=LK(),I.createHmac=I.Hmac=uE();var J=Dw(),Y=Object.keys(J),z=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Y);I.getHashes=function(){return z};var X=rE();I.pbkdf2=X.pbkdf2,I.pbkdf2Sync=X.pbkdf2Sync;var W=aw();I.Cipher=W.Cipher,I.createCipher=W.createCipher,I.Cipheriv=W.Cipheriv,I.createCipheriv=W.createCipheriv,I.Decipher=W.Decipher,I.createDecipher=W.createDecipher,I.Decipheriv=W.Decipheriv,I.createDecipheriv=W.createDecipheriv,I.getCiphers=W.getCiphers,I.listCiphers=W.listCiphers;var Z=sw();I.DiffieHellmanGroup=Z.DiffieHellmanGroup,I.createDiffieHellmanGroup=Z.createDiffieHellmanGroup,I.getDiffieHellman=Z.getDiffieHellman,I.createDiffieHellman=Z.createDiffieHellman,I.DiffieHellman=Z.DiffieHellman;var L=ew();I.createSign=L.createSign,I.Sign=L.Sign,I.createVerify=L.createVerify,I.Verify=L.Verify,I.createECDH=Rf();var j=pf();I.publicEncrypt=j.publicEncrypt,I.privateEncrypt=j.privateEncrypt,I.publicDecrypt=j.publicDecrypt,I.privateDecrypt=j.privateDecrypt;var _=lf();I.randomFill=_.randomFill,I.randomFillSync=_.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$=Hw(df(),1),nf=c$.prng,of=c$.pseudoRandomBytes,rf=c$.rng,tf=c$.randomBytes,af=c$.Hash,L1=c$.createHash,sf=c$.Hmac,ef=c$.createHmac,$y=c$.getHashes,Uy=c$.pbkdf2,Iy=c$.pbkdf2Sync,Xy=c$.Cipher,Jy=c$.createCipher,Qy=c$.Cipheriv,Yy=c$.createCipheriv,Gy=c$.Decipher,Zy=c$.createDecipher,Ky=c$.Decipheriv,Wy=c$.createDecipheriv,zy=c$.getCiphers,Oy=c$.listCiphers,Vy=c$.DiffieHellmanGroup,Hy=c$.createDiffieHellmanGroup,Dy=c$.getDiffieHellman,Fy=c$.createDiffieHellman,Ly=c$.DiffieHellman,My=c$.createSign,Ay=c$.Sign,Cy=c$.createVerify,Ty=c$.Verify,Ry=c$.createECDH,Py=c$.publicEncrypt,qy=c$.privateEncrypt,_y=c$.publicDecrypt,Ey=c$.privateDecrypt,Sy=c$.randomFill,jy=c$.randomFillSync,By=c$.createCredentials,vy=c$.constants,gy=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"];wy=crypto,fy=crypto});var Tv={};x6(Tv,{resolveObject:()=>Cv,resolve:()=>Av,parse:()=>VY,format:()=>Mv,default:()=>Hp,Url:()=>T1,URLSearchParams:()=>Fv,URL:()=>dM});function nM(I){return typeof I==="string"}function Lv(I){return typeof I==="object"&&I!==null}function Qz(I){return I===null}function Qp(I){return I==null}function T1(){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&&Lv(I)&&I instanceof T1)return I;var z=new T1;return z.parse(I,J,Y),z}function Mv(I){if(nM(I))I=VY(I);if(!(I instanceof T1))return T1.prototype.format.call(I);return I.format()}function Av(I,J){return VY(I,!1,!0).resolve(J)}function Cv(I,J){if(!I)return J;return VY(I,!1,!0).resolveObject(J)}var dM,Fv,Yp,Gp,Zp,Kp,Wp,pM,Vv,Hv,zp=255,Dv,Op,Vp,mM,OY,lM,Hp;var Rv=CQ(()=>{({URL:dM,URLSearchParams:Fv}=globalThis);Yp=/^([a-z0-9.+-]+:)/i,Gp=/:[0-9]*$/,Zp=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Kp=["<",">",'"',"`"," ","\r",`
246
+ `,"\t"],Wp=["{","}","|","\\","^","`"].concat(Kp),pM=["'"].concat(Wp),Vv=["%","/","?",";","#"].concat(pM),Hv=["/","?","#"],Dv=/^[+a-z0-9A-Z_-]{0,63}$/,Op=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Vp={javascript:!0,"javascript:":!0},mM={javascript:!0,"javascript:":!0},OY={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},lM={parse(I){var J=decodeURIComponent;return(I+"").replace(/\+/g," ").split("&").filter(Boolean).reduce(function(Y,z,X){var W=z.split("="),Z=J(W[0]||""),L=J(W[1]||""),j=Y[Z];return Y[Z]=j===void 0?L:[].concat(j,L),Y},{})},stringify(I){var J=encodeURIComponent;return Object.keys(I||{}).reduce(function(Y,z){return[].concat(I[z]).forEach(function(X){Y.push(J(z)+"="+J(X))}),Y},[]).join("&").replace(/\s/g,"+")}};T1.prototype.parse=function(I,J,Y){if(!nM(I))throw TypeError("Parameter 'url' must be a string, not "+typeof I);var z=I.indexOf("?"),X=z!==-1&&z<I.indexOf("#")?"?":"#",W=I.split(X),Z=/\\/g;W[0]=W[0].replace(Z,"/"),I=W.join(X);var L=I;if(L=L.trim(),!Y&&I.split("#").length===1){var j=Zp.exec(L);if(j){if(this.path=L,this.href=L,this.pathname=j[1],j[2])if(this.search=j[2],J)this.query=lM.parse(this.search.substr(1));else this.query=this.search.substr(1);else if(J)this.search="",this.query={};return this}}var _=Yp.exec(L);if(_){_=_[0];var E=_.toLowerCase();this.protocol=E,L=L.substr(_.length)}if(Y||_||L.match(/^\/\/[^@\/]+@[^@\/]+/)){var C=L.substr(0,2)==="//";if(C&&!(_&&mM[_]))L=L.substr(2),this.slashes=!0}if(!mM[_]&&(C||_&&!OY[_])){var q=-1;for(var B=0;B<Hv.length;B++){var N=L.indexOf(Hv[B]);if(N!==-1&&(q===-1||N<q))q=N}var f,w;if(q===-1)w=L.lastIndexOf("@");else w=L.lastIndexOf("@",q);if(w!==-1)f=L.slice(0,w),L=L.slice(w+1),this.auth=decodeURIComponent(f);q=-1;for(var B=0;B<Vv.length;B++){var N=L.indexOf(Vv[B]);if(N!==-1&&(q===-1||N<q))q=N}if(q===-1)q=L.length;this.host=L.slice(0,q),L=L.slice(q),this.parseHost(),this.hostname=this.hostname||"";var b=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!b){var g=this.hostname.split(/\./);for(var B=0,u=g.length;B<u;B++){var p=g[B];if(!p)continue;if(!p.match(Dv)){var d="";for(var a=0,D0=p.length;a<D0;a++)if(p.charCodeAt(a)>127)d+="x";else d+=p[a];if(!d.match(Dv)){var L0=g.slice(0,B),_0=g.slice(B+1),t=p.match(Op);if(t)L0.push(t[1]),_0.unshift(t[2]);if(_0.length)L="/"+_0.join(".")+L;this.hostname=L0.join(".");break}}}}if(this.hostname.length>zp)this.hostname="";else this.hostname=this.hostname.toLowerCase();if(!b)this.hostname=new dM(`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),L[0]!=="/")L="/"+L}}if(!Vp[E])for(var B=0,u=pM.length;B<u;B++){var V=pM[B];if(L.indexOf(V)===-1)continue;var F=encodeURIComponent(V);if(F===V)F=escape(V);L=L.split(V).join(F)}var O=L.indexOf("#");if(O!==-1)this.hash=L.substr(O),L=L.slice(0,O);var D=L.indexOf("?");if(D!==-1){if(this.search=L.substr(D),this.query=L.substr(D+1),J)this.query=lM.parse(this.query);L=L.slice(0,D)}else if(J)this.search="",this.query={};if(L)this.pathname=L;if(OY[E]&&this.hostname&&!this.pathname)this.pathname="/";if(this.pathname||this.search){var T0=this.pathname||"",R=this.search||"";this.path=T0+R}return this.href=this.format(),this};T1.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||"",z=this.hash||"",X=!1,W="";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&&Lv(this.query)&&Object.keys(this.query).length)W=lM.stringify(this.query);var Z=this.search||W&&"?"+W||"";if(J&&J.substr(-1)!==":")J+=":";if(this.slashes||(!J||OY[J])&&X!==!1){if(X="//"+(X||""),Y&&Y.charAt(0)!=="/")Y="/"+Y}else if(!X)X="";if(z&&z.charAt(0)!=="#")z="#"+z;if(Z&&Z.charAt(0)!=="?")Z="?"+Z;return Y=Y.replace(/[?#]/g,function(L){return encodeURIComponent(L)}),Z=Z.replace("#","%23"),J+X+Y+Z+z};T1.prototype.resolve=function(I){return this.resolveObject(VY(I,!1,!0)).format()};T1.prototype.resolveObject=function(I){if(nM(I)){var J=new T1;J.parse(I,!1,!0),I=J}var Y=new T1,z=Object.keys(this);for(var X=0;X<z.length;X++){var W=z[X];Y[W]=this[W]}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 L=0;L<Z.length;L++){var j=Z[L];if(j!=="protocol")Y[j]=I[j]}if(OY[Y.protocol]&&Y.hostname&&!Y.pathname)Y.path=Y.pathname="/";return Y.href=Y.format(),Y}if(I.protocol&&I.protocol!==Y.protocol){if(!OY[I.protocol]){var _=Object.keys(I);for(var E=0;E<_.length;E++){var C=_[E];Y[C]=I[C]}return Y.href=Y.format(),Y}if(Y.protocol=I.protocol,!I.host&&!mM[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 q=Y.pathname||"",B=Y.search||"";Y.path=q+B}return Y.slashes=Y.slashes||I.slashes,Y.href=Y.format(),Y}var N=Y.pathname&&Y.pathname.charAt(0)==="/",f=I.host||I.pathname&&I.pathname.charAt(0)==="/",w=f||N||Y.host&&I.pathname,b=w,g=Y.pathname&&Y.pathname.split("/")||[],u=I.pathname&&I.pathname.split("/")||[],p=Y.protocol&&!OY[Y.protocol];if(p){if(Y.hostname="",Y.port=null,Y.host)if(g[0]==="")g[0]=Y.host;else g.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]===""||g[0]==="")}if(f)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,g=u;else if(u.length){if(!g)g=[];g.pop(),g=g.concat(u),Y.search=I.search,Y.query=I.query}else if(!Qp(I.search)){if(p){Y.hostname=Y.host=g.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,!Qz(Y.pathname)||!Qz(Y.search))Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"");return Y.href=Y.format(),Y}if(!g.length){if(Y.pathname=null,Y.search)Y.path="/"+Y.search;else Y.path=null;return Y.href=Y.format(),Y}var a=g.slice(-1)[0],D0=(Y.host||I.host||g.length>1)&&(a==="."||a==="..")||a==="",L0=0;for(var _0=g.length;_0>=0;_0--)if(a=g[_0],a===".")g.splice(_0,1);else if(a==="..")g.splice(_0,1),L0++;else if(L0)g.splice(_0,1),L0--;if(!w&&!b)for(;L0--;L0)g.unshift("..");if(w&&g[0]!==""&&(!g[0]||g[0].charAt(0)!=="/"))g.unshift("");if(D0&&g.join("/").substr(-1)!=="/")g.push("");var t=g[0]===""||g[0]&&g[0].charAt(0)==="/";if(p){Y.hostname=Y.host=t?"":g.length?g.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&&g.length,w&&!t)g.unshift("");if(!g.length)Y.pathname=null,Y.path=null;else Y.pathname=g.join("/");if(!Qz(Y.pathname)||!Qz(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};T1.prototype.parseHost=function(){var I=this.host,J=Gp.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};Hp={parse:VY,resolve:Av,resolveObject:Cv,format:Mv,Url:T1,URL:dM,URLSearchParams:Fv}});var wv={};x6(wv,{request:()=>kp,globalAgent:()=>yp,get:()=>gp,default:()=>xv,STATUS_CODES:()=>up,METHODS:()=>bp,IncomingMessage:()=>wp,ClientRequest:()=>xp,Agent:()=>fp});var Dp,Fp,Pv,Lp,Mp,Ap=(I,J,Y)=>{Y=I!=null?Dp(Fp(I)):{};let z=J||!I||!I.__esModule?Pv(Y,"default",{value:I,enumerable:!0}):Y;for(let X of Lp(I))if(!Mp.call(z,X))Pv(z,X,{get:()=>I[X],enumerable:!0});return z},vU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),_v,Cp,AJ,Tp,Ev,CJ,Sv,Rp,jv,HY,Pp,qv,oM,qp,_p,Bv,vv,Ep,Sp,Nv,kv,jp,Bp,vp,Np,gv,kp,gp,xp,wp,fp,yp,up,bp,xv;var iM=CQ(()=>{Dp=Object.create,{getPrototypeOf:Fp,defineProperty:Pv,getOwnPropertyNames:Lp}=Object,Mp=Object.prototype.hasOwnProperty,_v=vU((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(W){J=null}}else J=null;return J}function z(W){var Z=Y();if(!Z)return!1;try{return Z.responseType=W,Z.responseType===W}catch(L){}return!1}I.arraybuffer=I.fetch||z("arraybuffer"),I.msstream=!I.fetch&&z("ms-stream"),I.mozchunkedarraybuffer=!I.fetch&&z("moz-chunked-arraybuffer"),I.overrideMimeType=I.fetch||(Y()?X(Y().overrideMimeType):!1);function X(W){return typeof W==="function"}J=null}),Cp=vU((I,J)=>{if(typeof Object.create==="function")J.exports=function(Y,z){if(z)Y.super_=z,Y.prototype=Object.create(z.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,z){if(z){Y.super_=z;var X=function(){};X.prototype=z.prototype,Y.prototype=new X,Y.prototype.constructor=Y}}}),AJ=vU((I,J)=>{try{if(Y=(EQ(),j$(_Q)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(z){J.exports=Cp()}var Y}),Tp=vU((I,J)=>{function Y(w,b){var g=Object.keys(w);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(w);b&&(u=u.filter(function(p){return Object.getOwnPropertyDescriptor(w,p).enumerable})),g.push.apply(g,u)}return g}function z(w){for(var b=1;b<arguments.length;b++){var g=arguments[b]!=null?arguments[b]:{};b%2?Y(Object(g),!0).forEach(function(u){X(w,u,g[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(g)):Y(Object(g)).forEach(function(u){Object.defineProperty(w,u,Object.getOwnPropertyDescriptor(g,u))})}return w}function X(w,b,g){if(b=j(b),b in w)Object.defineProperty(w,b,{value:g,enumerable:!0,configurable:!0,writable:!0});else w[b]=g;return w}function W(w,b){if(!(w instanceof b))throw TypeError("Cannot call a class as a function")}function Z(w,b){for(var g=0;g<b.length;g++){var u=b[g];if(u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u)u.writable=!0;Object.defineProperty(w,j(u.key),u)}}function L(w,b,g){if(b)Z(w.prototype,b);if(g)Z(w,g);return Object.defineProperty(w,"prototype",{writable:!1}),w}function j(w){var b=_(w,"string");return typeof b==="symbol"?b:String(b)}function _(w,b){if(typeof w!=="object"||w===null)return w;var g=w[Symbol.toPrimitive];if(g!==void 0){var u=g.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,q=(EQ(),j$(_Q)),B=q.inspect,N=B&&B.custom||"inspect";function f(w,b,g){C.prototype.copy.call(w,b,g)}J.exports=function(){function w(){W(this,w),this.head=null,this.tail=null,this.length=0}return L(w,[{key:"push",value:function(b){var g={data:b,next:null};if(this.length>0)this.tail.next=g;else this.head=g;this.tail=g,++this.length}},{key:"unshift",value:function(b){var g={data:b,next:this.head};if(this.length===0)this.tail=g;this.head=g,++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 g=this.head,u=""+g.data;while(g=g.next)u+=b+g.data;return u}},{key:"concat",value:function(b){if(this.length===0)return C.alloc(0);var g=C.allocUnsafe(b>>>0),u=this.head,p=0;while(u)f(u.data,g,p),p+=u.data.length,u=u.next;return g}},{key:"consume",value:function(b,g){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=g?this._getString(b):this._getBuffer(b);return u}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(b){var g=this.head,u=1,p=g.data;b-=p.length;while(g=g.next){var d=g.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,g.next)this.head=g.next;else this.head=this.tail=null;else this.head=g,g.data=d.slice(a);break}++u}return this.length-=u,p}},{key:"_getBuffer",value:function(b){var g=C.allocUnsafe(b),u=this.head,p=1;u.data.copy(g),b-=u.data.length;while(u=u.next){var d=u.data,a=b>d.length?d.length:b;if(d.copy(g,g.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,g}},{key:N,value:function(b,g){return B(this,z(z({},g),{},{depth:0,customInspect:!1}))}}]),w}()}),Ev=vU((I,J)=>{function Y(j,_){var E=this,C=this._readableState&&this._readableState.destroyed,q=this._writableState&&this._writableState.destroyed;if(C||q){if(_)_(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(!_&&B)if(!E._writableState)process.nextTick(z,E,B);else if(!E._writableState.errorEmitted)E._writableState.errorEmitted=!0,process.nextTick(z,E,B);else process.nextTick(X,E);else if(_)process.nextTick(X,E),_(B);else process.nextTick(X,E)}),this}function z(j,_){Z(j,_),X(j)}function X(j){if(j._writableState&&!j._writableState.emitClose)return;if(j._readableState&&!j._readableState.emitClose)return;j.emit("close")}function W(){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,_){j.emit("error",_)}function L(j,_){var{_readableState:E,_writableState:C}=j;if(E&&E.autoDestroy||C&&C.autoDestroy)j.destroy(_);else j.emit("error",_)}J.exports={destroy:Y,undestroy:W,errorOrDestroy:L}}),CJ=vU((I,J)=>{var Y={};function z(j,_,E){if(!E)E=Error;function C(B,N,f){if(typeof _==="string")return _;else return _(B,N,f)}class q extends E{constructor(B,N,f){super(C(B,N,f))}}q.prototype.name=E.name,q.prototype.code=j,Y[j]=q}function X(j,_){if(Array.isArray(j)){let E=j.length;if(j=j.map((C)=>String(C)),E>2)return`one of ${_} ${j.slice(0,E-1).join(", ")}, or `+j[E-1];else if(E===2)return`one of ${_} ${j[0]} or ${j[1]}`;else return`of ${_} ${j[0]}`}else return`of ${_} ${String(j)}`}function W(j,_,E){return j.substr(!E||E<0?0:+E,_.length)===_}function Z(j,_,E){if(E===void 0||E>j.length)E=j.length;return j.substring(E-_.length,E)===_}function L(j,_,E){if(typeof E!=="number")E=0;if(E+_.length>j.length)return!1;else return j.indexOf(_,E)!==-1}z("ERR_INVALID_OPT_VALUE",function(j,_){return'The value "'+_+'" is invalid for option "'+j+'"'},TypeError),z("ERR_INVALID_ARG_TYPE",function(j,_,E){let C;if(typeof _==="string"&&W(_,"not "))C="must not be",_=_.replace(/^not /,"");else C="must be";let q;if(Z(j," argument"))q=`The ${j} ${C} ${X(_,"type")}`;else{let B=L(j,".")?"property":"argument";q=`The "${j}" ${B} ${C} ${X(_,"type")}`}return q+=`. Received type ${typeof E}`,q},TypeError),z("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),z("ERR_METHOD_NOT_IMPLEMENTED",function(j){return"The "+j+" method is not implemented"}),z("ERR_STREAM_PREMATURE_CLOSE","Premature close"),z("ERR_STREAM_DESTROYED",function(j){return"Cannot call "+j+" after a stream was destroyed"}),z("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),z("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),z("ERR_STREAM_WRITE_AFTER_END","write after end"),z("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),z("ERR_UNKNOWN_ENCODING",function(j){return"Unknown encoding: "+j},TypeError),z("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),I.codes=Y}),Sv=vU((I,J)=>{var Y=CJ().codes.ERR_INVALID_OPT_VALUE;function z(W,Z,L){return W.highWaterMark!=null?W.highWaterMark:Z?W[L]:null}function X(W,Z,L,j){var _=z(Z,j,L);if(_!=null){if(!(isFinite(_)&&Math.floor(_)===_)||_<0){var E=j?L:"highWaterMark";throw new Y(E,_)}return Math.floor(_)}return W.objectMode?16:16384}J.exports={getHighWaterMark:X}}),Rp=vU((I,J)=>{J.exports=(EQ(),j$(_Q)).deprecate}),jv=vU((I,J)=>{J.exports=t;function Y(Q0){var s=this;this.next=null,this.entry=null,this.finish=function(){W0(s,Q0)}}var z;t.WritableState=L0;var X={deprecate:Rp()},W=NQ(),Z=(iU(),j$(oU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j(Q0){return Z.from(Q0)}function _(Q0){return Z.isBuffer(Q0)||Q0 instanceof L}var E=Ev(),C=Sv(),q=C.getHighWaterMark,B=CJ().codes,N=B.ERR_INVALID_ARG_TYPE,f=B.ERR_METHOD_NOT_IMPLEMENTED,w=B.ERR_MULTIPLE_CALLBACK,b=B.ERR_STREAM_CANNOT_PIPE,g=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;AJ()(t,W);function D0(){}function L0(Q0,s,e){if(z=z||HY(),Q0=Q0||{},typeof e!=="boolean")e=s instanceof z;if(this.objectMode=!!Q0.objectMode,e)this.objectMode=this.objectMode||!!Q0.writableObjectMode;this.highWaterMark=q(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)}L0.prototype.getBuffer=function(){var Q0=this.bufferedRequest,s=[];while(Q0)s.push(Q0),Q0=Q0.next;return s},function(){try{Object.defineProperty(L0.prototype,"buffer",{get:X.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Q0){}}();var _0;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")_0=Function.prototype[Symbol.hasInstance],Object.defineProperty(t,Symbol.hasInstance,{value:function(Q0){if(_0.call(this,Q0))return!0;if(this!==t)return!1;return Q0&&Q0._writableState instanceof L0}});else _0=function(Q0){return Q0 instanceof this};function t(Q0){z=z||HY();var s=this instanceof z;if(!s&&!_0.call(t,this))return new t(Q0);if(this._writableState=new L0(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}W.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 N("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&&_(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=D0;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 O(Q0,s,!1,h,J0,Z0,A0);return n}function O(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 g("write"));else if(e)Q0._writev(Z0,s.onwrite);else Q0._write(Z0,A0,s.onwrite);s.sync=!1}function D(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 R(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(R(e),s)D(Q0,e,J0,s,Z0);else{var A0=x(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)K(Q0,s);s.pendingcb--,J0(),r(Q0,s)}function K(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,O(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,O0=s.objectMode?1:n.length;if(O(Q0,s,!1,O0,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 f("_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 x(Q0){return Q0.ending&&Q0.length===0&&Q0.bufferedRequest===null&&!Q0.finished&&!Q0.writing}function v(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(v,Q0,s);else s.prefinished=!0,Q0.emit("prefinish")}function r(Q0,s){var e=x(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 W0(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)}}),HY=vU((I,J)=>{var Y=Object.keys||function(C){var q=[];for(var B in C)q.push(B);return q};J.exports=j;var z=Bv(),X=jv();AJ()(j,z);{W=Y(X.prototype);for(L=0;L<W.length;L++)if(Z=W[L],!j.prototype[Z])j.prototype[Z]=X.prototype[Z]}var W,Z,L;function j(C){if(!(this instanceof j))return new j(C);if(z.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",_)}}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 _(){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}})}),Pp=vU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(iU(),j$(oU)),z=Y.Buffer;function X(Z,L){for(var j in Z)L[j]=Z[j]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=W;function W(Z,L,j){return z(Z,L,j)}W.prototype=Object.create(z.prototype),X(z,W),W.from=function(Z,L,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return z(Z,L,j)},W.alloc=function(Z,L,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var _=z(Z);if(L!==void 0)if(typeof j==="string")_.fill(L,j);else _.fill(L);else _.fill(0);return _},W.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return z(Z)},W.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),qv=vU((I)=>{var J=Pp().Buffer,Y=J.isEncoding||function(g){switch(g=""+g,g&&g.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 z(g){if(!g)return"utf8";var u;while(!0)switch(g){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 g;default:if(u)return;g=(""+g).toLowerCase(),u=!0}}function X(g){var u=z(g);if(typeof u!=="string"&&(J.isEncoding===Y||!Y(g)))throw Error("Unknown encoding: "+g);return u||g}I.StringDecoder=W;function W(g){this.encoding=X(g);var u;switch(this.encoding){case"utf16le":this.text=q,this.end=B,u=4;break;case"utf8":this.fillLast=_,u=4;break;case"base64":this.text=N,this.end=f,u=3;break;default:this.write=w,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(u)}W.prototype.write=function(g){if(g.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(g),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<g.length)return u?u+this.text(g,p):this.text(g,p);return u||""},W.prototype.end=C,W.prototype.text=E,W.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function Z(g){if(g<=127)return 0;else if(g>>5===6)return 2;else if(g>>4===14)return 3;else if(g>>3===30)return 4;return g>>6===2?-1:-2}function L(g,u,p){var d=u.length-1;if(d<p)return 0;var a=Z(u[d]);if(a>=0){if(a>0)g.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)g.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 g.lastNeed=a-3;return a}return 0}function j(g,u,p){if((u[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return g.lastNeed=2,"�"}}}function _(g){var u=this.lastTotal-this.lastNeed,p=j(this,g,u);if(p!==void 0)return p;if(this.lastNeed<=g.length)return g.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,u,0,g.length),this.lastNeed-=g.length}function E(g,u){var p=L(this,g,u);if(!this.lastNeed)return g.toString("utf8",u);this.lastTotal=p;var d=g.length-(p-this.lastNeed);return g.copy(this.lastChar,0,d),g.toString("utf8",u,d)}function C(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+"�";return u}function q(g,u){if((g.length-u)%2===0){var p=g.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]=g[g.length-2],this.lastChar[1]=g[g.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",u,g.length-1)}function B(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function N(g,u){var p=(g.length-u)%3;if(p===0)return g.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=g[g.length-1];else this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1];return g.toString("base64",u,g.length-p)}function f(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(g){return g.toString(this.encoding)}function b(g){return g&&g.length?this.write(g):""}}),oM=vU((I,J)=>{var Y=CJ().codes.ERR_STREAM_PREMATURE_CLOSE;function z(L){var j=!1;return function(){if(j)return;j=!0;for(var _=arguments.length,E=Array(_),C=0;C<_;C++)E[C]=arguments[C];L.apply(this,E)}}function X(){}function W(L){return L.setHeader&&typeof L.abort==="function"}function Z(L,j,_){if(typeof j==="function")return Z(L,null,j);if(!j)j={};_=z(_||X);var E=j.readable||j.readable!==!1&&L.readable,C=j.writable||j.writable!==!1&&L.writable,q=function(){if(!L.writable)N()},B=L._writableState&&L._writableState.finished,N=function(){if(C=!1,B=!0,!E)_.call(L)},f=L._readableState&&L._readableState.endEmitted,w=function(){if(E=!1,f=!0,!C)_.call(L)},b=function(p){_.call(L,p)},g=function(){var p;if(E&&!f){if(!L._readableState||!L._readableState.ended)p=new Y;return _.call(L,p)}if(C&&!B){if(!L._writableState||!L._writableState.ended)p=new Y;return _.call(L,p)}},u=function(){L.req.on("finish",N)};if(W(L))if(L.on("complete",N),L.on("abort",g),L.req)u();else L.on("request",u);else if(C&&!L._writableState)L.on("end",q),L.on("close",q);if(L.on("end",w),L.on("finish",N),j.error!==!1)L.on("error",b);return L.on("close",g),function(){if(L.removeListener("complete",N),L.removeListener("abort",g),L.removeListener("request",u),L.req)L.req.removeListener("finish",N);L.removeListener("end",q),L.removeListener("close",q),L.removeListener("finish",N),L.removeListener("end",w),L.removeListener("error",b),L.removeListener("close",g)}}J.exports=Z}),qp=vU((I,J)=>{var Y;function z(d,a,D0){if(a=X(a),a in d)Object.defineProperty(d,a,{value:D0,enumerable:!0,configurable:!0,writable:!0});else d[a]=D0;return d}function X(d){var a=W(d,"string");return typeof a==="symbol"?a:String(a)}function W(d,a){if(typeof d!=="object"||d===null)return d;var D0=d[Symbol.toPrimitive];if(D0!==void 0){var L0=D0.call(d,a||"default");if(typeof L0!=="object")return L0;throw TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(d)}var Z=oM(),L=Symbol("lastResolve"),j=Symbol("lastReject"),_=Symbol("error"),E=Symbol("ended"),C=Symbol("lastPromise"),q=Symbol("handlePromise"),B=Symbol("stream");function N(d,a){return{value:d,done:a}}function f(d){var a=d[L];if(a!==null){var D0=d[B].read();if(D0!==null)d[C]=null,d[L]=null,d[j]=null,a(N(D0,!1))}}function w(d){process.nextTick(f,d)}function b(d,a){return function(D0,L0){d.then(function(){if(a[E]){D0(N(void 0,!0));return}a[q](D0,L0)},L0)}}var g=Object.getPrototypeOf(function(){}),u=Object.setPrototypeOf((Y={get stream(){return this[B]},next:function(){var d=this,a=this[_];if(a!==null)return Promise.reject(a);if(this[E])return Promise.resolve(N(void 0,!0));if(this[B].destroyed)return new Promise(function(t,T0){process.nextTick(function(){if(d[_])T0(d[_]);else t(N(void 0,!0))})});var D0=this[C],L0;if(D0)L0=new Promise(b(D0,this));else{var _0=this[B].read();if(_0!==null)return Promise.resolve(N(_0,!1));L0=new Promise(this[q])}return this[C]=L0,L0}},z(Y,Symbol.asyncIterator,function(){return this}),z(Y,"return",function(){var d=this;return new Promise(function(a,D0){d[B].destroy(null,function(L0){if(L0){D0(L0);return}a(N(void 0,!0))})})}),Y),g),p=function(d){var a,D0=Object.create(u,(a={},z(a,B,{value:d,writable:!0}),z(a,L,{value:null,writable:!0}),z(a,j,{value:null,writable:!0}),z(a,_,{value:null,writable:!0}),z(a,E,{value:d._readableState.endEmitted,writable:!0}),z(a,q,{value:function(L0,_0){var t=D0[B].read();if(t)D0[C]=null,D0[L]=null,D0[j]=null,L0(N(t,!1));else D0[L]=L0,D0[j]=_0},writable:!0}),a));return D0[C]=null,Z(d,function(L0){if(L0&&L0.code!=="ERR_STREAM_PREMATURE_CLOSE"){var _0=D0[j];if(_0!==null)D0[C]=null,D0[L]=null,D0[j]=null,_0(L0);D0[_]=L0;return}var t=D0[L];if(t!==null)D0[C]=null,D0[L]=null,D0[j]=null,t(N(void 0,!0));D0[E]=!0}),d.on("readable",w.bind(null,D0)),D0};J.exports=p}),_p=vU((I,J)=>{function Y(C,q,B,N,f,w,b){try{var g=C[w](b),u=g.value}catch(p){B(p);return}if(g.done)q(u);else Promise.resolve(u).then(N,f)}function z(C){return function(){var q=this,B=arguments;return new Promise(function(N,f){var w=C.apply(q,B);function b(u){Y(w,N,f,b,g,"next",u)}function g(u){Y(w,N,f,b,g,"throw",u)}b(void 0)})}}function X(C,q){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(C);q&&(N=N.filter(function(f){return Object.getOwnPropertyDescriptor(C,f).enumerable})),B.push.apply(B,N)}return B}function W(C){for(var q=1;q<arguments.length;q++){var B=arguments[q]!=null?arguments[q]:{};q%2?X(Object(B),!0).forEach(function(N){Z(C,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):X(Object(B)).forEach(function(N){Object.defineProperty(C,N,Object.getOwnPropertyDescriptor(B,N))})}return C}function Z(C,q,B){if(q=L(q),q in C)Object.defineProperty(C,q,{value:B,enumerable:!0,configurable:!0,writable:!0});else C[q]=B;return C}function L(C){var q=j(C,"string");return typeof q==="symbol"?q:String(q)}function j(C,q){if(typeof C!=="object"||C===null)return C;var B=C[Symbol.toPrimitive];if(B!==void 0){var N=B.call(C,q||"default");if(typeof N!=="object")return N;throw TypeError("@@toPrimitive must return a primitive value.")}return(q==="string"?String:Number)(C)}var _=CJ().codes.ERR_INVALID_ARG_TYPE;function E(C,q,B){var N;if(q&&typeof q.next==="function")N=q;else if(q&&q[Symbol.asyncIterator])N=q[Symbol.asyncIterator]();else if(q&&q[Symbol.iterator])N=q[Symbol.iterator]();else throw new _("iterable",["Iterable"],q);var f=new C(W({objectMode:!0},B)),w=!1;f._read=function(){if(!w)w=!0,b()};function b(){return g.apply(this,arguments)}function g(){return g=z(function*(){try{var u=yield N.next(),p=u.value,d=u.done;if(d)f.push(null);else if(f.push(yield p))b();else w=!1}catch(a){f.destroy(a)}}),g.apply(this,arguments)}return f}J.exports=E}),Bv=vU((I,J)=>{J.exports=G;var Y;G.ReadableState=T0;var z=(BQ(),j$(jQ)).EventEmitter,X=function($0,h){return $0.listeners(h).length},W=NQ(),Z=(iU(),j$(oU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j($0){return Z.from($0)}function _($0){return Z.isBuffer($0)||$0 instanceof L}var E=(EQ(),j$(_Q)),C;if(E&&E.debuglog)C=E.debuglog("stream");else C=function(){};var q=Tp(),B=Ev(),N=Sv(),f=N.getHighWaterMark,w=CJ().codes,b=w.ERR_INVALID_ARG_TYPE,g=w.ERR_STREAM_PUSH_AFTER_EOF,u=w.ERR_METHOD_NOT_IMPLEMENTED,p=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,d,a,D0;AJ()(G,W);var L0=B.errorOrDestroy,_0=["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||HY(),$0=$0||{},typeof n!=="boolean")n=h instanceof Y;if(this.objectMode=!!$0.objectMode,n)this.objectMode=this.objectMode||!!$0.readableObjectMode;if(this.highWaterMark=f(this,$0,"readableHighWaterMark",n),this.buffer=new q,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=qv().StringDecoder;this.decoder=new d($0.encoding),this.encoding=$0.encoding}}function G($0){if(Y=Y||HY(),!(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}W.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 O0=$0._readableState;if(h===null)O0.reading=!1,A($0,O0);else{var N0;if(!Y0)N0=O(O0,h);if(N0)L0($0,N0);else if(O0.objectMode||h&&h.length>0){if(typeof h!=="string"&&!O0.objectMode&&Object.getPrototypeOf(h)!==Z.prototype)h=j(h);if(F0)if(O0.endEmitted)L0($0,new p);else F($0,O0,h,!0);else if(O0.ended)L0($0,new g);else if(O0.destroyed)return!1;else if(O0.reading=!1,O0.decoder&&!n)if(h=O0.decoder.write(h),O0.objectMode||h.length!==0)F($0,O0,h,!1);else x($0,O0);else F($0,O0,h,!1)}else if(!F0)O0.reading=!1,x($0,O0)}return!O0.ended&&(O0.length<O0.highWaterMark||O0.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)K($0)}x($0,h)}function O($0,h){var n;if(!_(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=qv().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 D=1073741824;function R($0){if($0>=D)$0=D;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=R($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 K(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)K($0);else if(h.needReadable=!1,!h.emittedReadable)h.emittedReadable=!0,T($0)}function K($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 x($0,h){if(!h.readingMore)h.readingMore=!0,process.nextTick(v,$0,h)}function v($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){L0(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,O0=Y0?I0:r$;if(F0.endEmitted)process.nextTick(O0);else n.once("end",O0);$0.on("unpipe",N0);function N0(c0,h0){if(C("onunpipe"),c0===n){if(h0&&h0.hasUnpiped===!1)h0.hasUnpiped=!0,M0()}}function I0(){C("onend"),$0.end()}var z0=c(n);$0.on("drain",z0);var I$=!1;function M0(){if(C("cleanup"),$0.removeListener("close",m0),$0.removeListener("finish",p0),$0.removeListener("drain",z0),$0.removeListener("error",M$),$0.removeListener("unpipe",N0),n.removeListener("end",I0),n.removeListener("end",r$),n.removeListener("data",B0),I$=!0,F0.awaitDrain&&(!$0._writableState||$0._writableState.needDrain))z0()}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 M$(c0){if(C("onerror",c0),r$(),$0.removeListener("error",M$),X($0,"error")===0)L0($0,c0)}t($0,"error",M$);function m0(){$0.removeListener("finish",p0),r$()}$0.once("close",m0);function p0(){C("onfinish"),$0.removeListener("close",m0),r$()}$0.once("finish",p0);function r$(){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 O0=0;O0<Y0;O0++)F0[O0].emit("unpipe",this,{hasUnpiped:!1});return this}var N0=A0(h.pipes,$0);if(N0===-1)return this;if(h.pipes.splice(N0,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=W.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)K(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=W.prototype.removeListener.call(this,$0,h);if($0==="readable")process.nextTick(r,this);return n},G.prototype.removeAllListeners=function($0){var h=W.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,W0(this,$0);return $0.paused=!1,this};function W0($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 N0=n.decoder.end();if(N0&&N0.length)h.push(N0)}h.push(null)}),$0.on("data",function(N0){if(C("wrapped data"),n.decoder)N0=n.decoder.write(N0);if(n.objectMode&&(N0===null||N0===void 0))return;else if(!n.objectMode&&(!N0||!N0.length))return;var I0=h.push(N0);if(!I0)F0=!0,$0.pause()});for(var Y0 in $0)if(this[Y0]===void 0&&typeof $0[Y0]==="function")this[Y0]=function(N0){return function(){return $0[N0].apply($0,arguments)}}(Y0);for(var O0=0;O0<_0.length;O0++)$0.on(_0[O0],this.emit.bind(this,_0[O0]));return this._read=function(N0){if(C("wrapped _read",N0),F0)F0=!1,$0.resume()},this},typeof Symbol==="function")G.prototype[Symbol.asyncIterator]=function(){if(a===void 0)a=qp();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(D0===void 0)D0=_p();return D0(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}}),vv=vU((I,J)=>{J.exports=_;var Y=CJ().codes,z=Y.ERR_METHOD_NOT_IMPLEMENTED,X=Y.ERR_MULTIPLE_CALLBACK,W=Y.ERR_TRANSFORM_ALREADY_TRANSFORMING,Z=Y.ERR_TRANSFORM_WITH_LENGTH_0,L=HY();AJ()(_,L);function j(q,B){var N=this._transformState;N.transforming=!1;var f=N.writecb;if(f===null)return this.emit("error",new X);if(N.writechunk=null,N.writecb=null,B!=null)this.push(B);f(q);var w=this._readableState;if(w.reading=!1,w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}function _(q){if(!(this instanceof _))return new _(q);if(L.call(this,q),this._transformState={afterTransform:j.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,q){if(typeof q.transform==="function")this._transform=q.transform;if(typeof q.flush==="function")this._flush=q.flush}this.on("prefinish",E)}function E(){var q=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(B,N){C(q,B,N)});else C(this,null,null)}_.prototype.push=function(q,B){return this._transformState.needTransform=!1,L.prototype.push.call(this,q,B)},_.prototype._transform=function(q,B,N){N(new z("_transform()"))},_.prototype._write=function(q,B,N){var f=this._transformState;if(f.writecb=N,f.writechunk=q,f.writeencoding=B,!f.transforming){var w=this._readableState;if(f.needTransform||w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}},_.prototype._read=function(q){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},_.prototype._destroy=function(q,B){L.prototype._destroy.call(this,q,function(N){B(N)})};function C(q,B,N){if(B)return q.emit("error",B);if(N!=null)q.push(N);if(q._writableState.length)throw new Z;if(q._transformState.transforming)throw new W;return q.push(null)}}),Ep=vU((I,J)=>{J.exports=z;var Y=vv();AJ()(z,Y);function z(X){if(!(this instanceof z))return new z(X);Y.call(this,X)}z.prototype._transform=function(X,W,Z){Z(null,X)}}),Sp=vU((I,J)=>{var Y;function z(N){var f=!1;return function(){if(f)return;f=!0,N.apply(void 0,arguments)}}var X=CJ().codes,W=X.ERR_MISSING_ARGS,Z=X.ERR_STREAM_DESTROYED;function L(N){if(N)throw N}function j(N){return N.setHeader&&typeof N.abort==="function"}function _(N,f,w,b){b=z(b);var g=!1;if(N.on("close",function(){g=!0}),Y===void 0)Y=oM();Y(N,{readable:f,writable:w},function(p){if(p)return b(p);g=!0,b()});var u=!1;return function(p){if(g)return;if(u)return;if(u=!0,j(N))return N.abort();if(typeof N.destroy==="function")return N.destroy();b(p||new Z("pipe"))}}function E(N){N()}function C(N,f){return N.pipe(f)}function q(N){if(!N.length)return L;if(typeof N[N.length-1]!=="function")return L;return N.pop()}function B(){for(var N=arguments.length,f=Array(N),w=0;w<N;w++)f[w]=arguments[w];var b=q(f);if(Array.isArray(f[0]))f=f[0];if(f.length<2)throw new W("streams");var g,u=f.map(function(p,d){var a=d<f.length-1,D0=d>0;return _(p,a,D0,function(L0){if(!g)g=L0;if(L0)u.forEach(E);if(a)return;u.forEach(E),b(g)})});return f.reduce(C)}J.exports=B}),Nv=vU((I,J)=>{var Y=NQ();I=J.exports=Bv(),I.Stream=Y||I,I.Readable=I,I.Writable=jv(),I.Duplex=HY(),I.Transform=vv(),I.PassThrough=Ep(),I.finished=oM(),I.pipeline=Sp()}),kv=vU((I)=>{var J=_v(),Y=AJ(),z=Nv(),X=I.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},W=I.IncomingMessage=function(Z,L,j,_){var E=this;if(z.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(g){if(E._destroyed)return;if(_(g.done),g.done){E.push(null);return}E.push(Buffer.from(g.value)),b()}).catch(function(g){if(_(!0),!E._destroyed)E.emit("error",g)})};var C=b;if(E._fetchResponse=L,E.url=L.url,E.statusCode=L.status,E.statusMessage=L.statusText,L.headers.forEach(function(g,u){E.headers[u.toLowerCase()]=g,E.rawHeaders.push(u,g)}),J.writableStream){var q=new WritableStream({write:function(g){return _(!1),new Promise(function(u,p){if(E._destroyed)p();else if(E.push(Buffer.from(g)))u();else E._resumeFetch=u})},close:function(){if(_(!0),!E._destroyed)E.push(null)},abort:function(g){if(_(!0),!E._destroyed)E.emit("error",g)}});try{L.body.pipeTo(q).catch(function(g){if(_(!0),!E._destroyed)E.emit("error",g)});return}catch(g){}}var B=L.body.getReader();b()}else{E._xhr=Z,E._pos=0,E.url=Z.responseURL,E.statusCode=Z.status,E.statusMessage=Z.statusText;var N=Z.getAllResponseHeaders().split(/\r?\n/);if(N.forEach(function(b){var g=b.match(/^([^:]+):\s*(.*)/);if(g){var u=g[1].toLowerCase();if(u==="set-cookie"){if(E.headers[u]===void 0)E.headers[u]=[];E.headers[u].push(g[2])}else if(E.headers[u]!==void 0)E.headers[u]+=", "+g[2];else E.headers[u]=g[2];E.rawHeaders.push(g[1],g[2])}}),E._charset="x-user-defined",!J.overrideMimeType){var f=E.rawHeaders["mime-type"];if(f){var w=f.match(/;\s*charset=([^;])(;|$)/);if(w)E._charset=w[1].toLowerCase()}if(!E._charset)E._charset="utf-8"}}};Y(W,z.Readable),W.prototype._read=function(){var Z=this,L=Z._resumeFetch;if(L)Z._resumeFetch=null,L()},W.prototype._onXHRProgress=function(Z){var L=this,j=L._xhr,_=null;switch(L._mode){case"text":if(_=j.responseText,_.length>L._pos){var E=_.substr(L._pos);if(L._charset==="x-user-defined"){var C=Buffer.alloc(E.length);for(var q=0;q<E.length;q++)C[q]=E.charCodeAt(q)&255;L.push(C)}else L.push(E,L._charset);L._pos=_.length}break;case"arraybuffer":if(j.readyState!==X.DONE||!j.response)break;_=j.response,L.push(Buffer.from(new Uint8Array(_)));break;case"moz-chunked-arraybuffer":if(_=j.response,j.readyState!==X.LOADING||!_)break;L.push(Buffer.from(new Uint8Array(_)));break;case"ms-stream":if(_=j.response,j.readyState!==X.LOADING)break;var B=new globalThis.MSStreamReader;B.onprogress=function(){if(B.result.byteLength>L._pos)L.push(Buffer.from(new Uint8Array(B.result.slice(L._pos)))),L._pos=B.result.byteLength},B.onload=function(){Z(!0),L.push(null)},B.readAsArrayBuffer(_);break}if(L._xhr.readyState===X.DONE&&L._mode!=="ms-stream")Z(!0),L.push(null)}}),jp=vU((I,J)=>{var Y=_v(),z=AJ(),X=kv(),W=Nv(),Z=X.IncomingMessage,L=X.readyStates;function j(q,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&&q)return"arraybuffer";else return"text"}var _=J.exports=function(q){var B=this;if(W.Writable.call(B),B._opts=q,B._body=[],B._headers={},q.auth)B.setHeader("Authorization","Basic "+Buffer.from(q.auth).toString("base64"));Object.keys(q.headers).forEach(function(w){B.setHeader(w,q.headers[w])});var N,f=!0;if(q.mode==="disable-fetch"||"requestTimeout"in q&&!Y.abortController)f=!1,N=!0;else if(q.mode==="prefer-streaming")N=!1;else if(q.mode==="allow-wrong-content-type")N=!Y.overrideMimeType;else if(!q.mode||q.mode==="default"||q.mode==="prefer-fast")N=!0;else throw Error("Invalid value for opts.mode");B._mode=j(N,f),B._fetchTimer=null,B._socketTimeout=null,B._socketTimer=null,B.on("finish",function(){B._onFinish()})};z(_,W.Writable),_.prototype.setHeader=function(q,B){var N=this,f=q.toLowerCase();if(C.indexOf(f)!==-1)return;N._headers[f]={name:q,value:B}},_.prototype.getHeader=function(q){var B=this._headers[q.toLowerCase()];if(B)return B.value;return null},_.prototype.removeHeader=function(q){var B=this;delete B._headers[q.toLowerCase()]},_.prototype._onFinish=function(){var q=this;if(q._destroyed)return;var B=q._opts;if("timeout"in B&&B.timeout!==0)q.setTimeout(B.timeout);var N=q._headers,f=null;if(B.method!=="GET"&&B.method!=="HEAD")f=new Blob(q._body,{type:(N["content-type"]||{}).value||""});var w=[];if(Object.keys(N).forEach(function(p){var d=N[p].name,a=N[p].value;if(Array.isArray(a))a.forEach(function(D0){w.push([d,D0])});else w.push([d,a])}),q._mode==="fetch"){var b=null;if(Y.abortController){var g=new AbortController;if(b=g.signal,q._fetchAbortController=g,"requestTimeout"in B&&B.requestTimeout!==0)q._fetchTimer=globalThis.setTimeout(function(){if(q.emit("requestTimeout"),q._fetchAbortController)q._fetchAbortController.abort()},B.requestTimeout)}globalThis.fetch(q._opts.url,{method:q._opts.method,headers:w,body:f||void 0,mode:"cors",credentials:B.withCredentials?"include":"same-origin",signal:b}).then(function(p){q._fetchResponse=p,q._resetTimers(!1),q._connect()},function(p){if(q._resetTimers(!0),!q._destroyed)q.emit("error",p)})}else{var u=q._xhr=new globalThis.XMLHttpRequest;try{u.open(q._opts.method,q._opts.url,!0)}catch(p){process.nextTick(function(){q.emit("error",p)});return}if("responseType"in u)u.responseType=q._mode;if("withCredentials"in u)u.withCredentials=!!B.withCredentials;if(q._mode==="text"&&"overrideMimeType"in u)u.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in B)u.timeout=B.requestTimeout,u.ontimeout=function(){q.emit("requestTimeout")};if(w.forEach(function(p){u.setRequestHeader(p[0],p[1])}),q._response=null,u.onreadystatechange=function(){switch(u.readyState){case L.LOADING:case L.DONE:q._onXHRProgress();break}},q._mode==="moz-chunked-arraybuffer")u.onprogress=function(){q._onXHRProgress()};u.onerror=function(){if(q._destroyed)return;q._resetTimers(!0),q.emit("error",Error("XHR error"))};try{u.send(f)}catch(p){process.nextTick(function(){q.emit("error",p)});return}}};function E(q){try{var B=q.status;return B!==null&&B!==0}catch(N){return!1}}_.prototype._onXHRProgress=function(){var q=this;if(q._resetTimers(!1),!E(q._xhr)||q._destroyed)return;if(!q._response)q._connect();q._response._onXHRProgress(q._resetTimers.bind(q))},_.prototype._connect=function(){var q=this;if(q._destroyed)return;q._response=new Z(q._xhr,q._fetchResponse,q._mode,q._resetTimers.bind(q)),q._response.on("error",function(B){q.emit("error",B)}),q.emit("response",q._response)},_.prototype._write=function(q,B,N){var f=this;f._body.push(q),N()},_.prototype._resetTimers=function(q){var B=this;if(globalThis.clearTimeout(B._socketTimer),B._socketTimer=null,q)globalThis.clearTimeout(B._fetchTimer),B._fetchTimer=null;else if(B._socketTimeout)B._socketTimer=globalThis.setTimeout(function(){B.emit("timeout")},B._socketTimeout)},_.prototype.abort=_.prototype.destroy=function(q){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(q)B.emit("error",q)},_.prototype.end=function(q,B,N){var f=this;if(typeof q==="function")N=q,q=void 0;W.Writable.prototype.end.call(f,q,B,N)},_.prototype.setTimeout=function(q,B){var N=this;if(B)N.once("timeout",B);N._socketTimeout=q,N._resetTimers(!1)},_.prototype.flushHeaders=function(){},_.prototype.setNoDelay=function(){},_.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"]}),Bp=vU((I,J)=>{J.exports=z;var Y=Object.prototype.hasOwnProperty;function z(){var X={};for(var W=0;W<arguments.length;W++){var Z=arguments[W];for(var L in Z)if(Y.call(Z,L))X[L]=Z[L]}return X}}),vp=vU((I,J)=>{J.exports=(iM(),j$(wv)).STATUS_CODES}),Np=vU((I)=>{var J=jp(),Y=kv(),z=Bp(),X=vp(),W=(Rv(),j$(Tv)),Z=I;Z.request=function(L,j){if(typeof L==="string")L=W.parse(L);else L=z(L);var _=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",E=L.protocol||_,C=L.hostname||L.host,q=L.port,B=L.path||"/";if(C&&C.indexOf(":")!==-1)C="["+C+"]";L.url=(C?E+"//"+C:"")+(q?":"+q:"")+B,L.method=(L.method||"GET").toUpperCase(),L.headers=L.headers||{};var N=new J(L);if(j)N.on("response",j);return N},Z.get=function(L,j){var _=Z.request(L,j);return _.end(),_},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"]}),gv=Ap(Np(),1),{request:kp,get:gp,ClientRequest:xp,IncomingMessage:wp,Agent:fp,globalAgent:yp,STATUS_CODES:up,METHODS:bp}=gv.default,xv=gv.default});var sM=$X((Ym)=>{var TJ=r1(nG());(function(){function I(K){if(K==null)return null;if(typeof K==="function")return K.$$typeof===t?null:K.displayName||K.name||null;if(typeof K==="string")return K;switch(K){case f:return"Fragment";case b:return"Profiler";case w:return"StrictMode";case d:return"Suspense";case a:return"SuspenseList";case _0:return"Activity"}if(typeof K==="object")switch(typeof K.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),K.$$typeof){case N:return"Portal";case u:return K.displayName||"Context";case g:return(K._context.displayName||"Context")+".Consumer";case p:var T=K.render;return K=K.displayName,K||(K=T.displayName||T.name||"",K=K!==""?"ForwardRef("+K+")":"ForwardRef"),K;case D0:return T=K.displayName||null,T!==null?T:I(K.type)||"Memo";case L0:T=K._payload,K=K._init;try{return I(K(T))}catch(x){}}return null}function J(K){return""+K}function Y(K){try{J(K);var T=!1}catch(c){T=!0}if(T){T=console;var x=T.error,v=typeof Symbol==="function"&&Symbol.toStringTag&&K[Symbol.toStringTag]||K.constructor.name||"Object";return x.call(T,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",v),J(K)}}function z(K){if(K===f)return"<>";if(typeof K==="object"&&K!==null&&K.$$typeof===L0)return"<...>";try{var T=I(K);return T?"<"+T+">":"<...>"}catch(x){return"<...>"}}function X(){var K=T0.A;return K===null?null:K.getOwner()}function W(){return Error("react-stack-top-frame")}function Z(K){if(G.call(K,"key")){var T=Object.getOwnPropertyDescriptor(K,"key").get;if(T&&T.isReactWarning)return!1}return K.key!==void 0}function L(K,T){function x(){O||(O=!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))}x.isReactWarning=!0,Object.defineProperty(K,"key",{get:x,configurable:!0})}function j(){var K=I(this.type);return D[K]||(D[K]=!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.")),K=this.props.ref,K!==void 0?K:null}function _(K,T,x,v,c,r){var U0=x.ref;return K={$$typeof:B,type:K,key:T,props:x,_owner:v},(U0!==void 0?U0:null)!==null?Object.defineProperty(K,"ref",{enumerable:!1,get:j}):Object.defineProperty(K,"ref",{enumerable:!1,value:null}),K._store={},Object.defineProperty(K._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(K,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(K,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.defineProperty(K,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.freeze&&(Object.freeze(K.props),Object.freeze(K)),K}function E(K,T,x,v,c,r){var U0=T.children;if(U0!==void 0)if(v)if(V(U0)){for(v=0;v<U0.length;v++)C(U0[v]);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(K);var W0=Object.keys(T).filter(function(s){return s!=="key"});v=0<W0.length?"{key: someKey, "+W0.join(": ..., ")+": ...}":"{key: someKey}",A[U0+v]||(W0=0<W0.length?"{"+W0.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} />`,v,U0,W0,U0),A[U0+v]=!0)}if(U0=null,x!==void 0&&(Y(x),U0=""+x),Z(T)&&(Y(T.key),U0=""+T.key),"key"in T){x={};for(var Q0 in T)Q0!=="key"&&(x[Q0]=T[Q0])}else x=T;return U0&&L(x,typeof K==="function"?K.displayName||K.name||"Unknown":K),_(K,U0,x,X(),c,r)}function C(K){q(K)?K._store&&(K._store.validated=1):typeof K==="object"&&K!==null&&K.$$typeof===L0&&(K._payload.status==="fulfilled"?q(K._payload.value)&&K._payload.value._store&&(K._payload.value._store.validated=1):K._store&&(K._store.validated=1))}function q(K){return typeof K==="object"&&K!==null&&K.$$typeof===B}var B=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),g=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"),D0=Symbol.for("react.memo"),L0=Symbol.for("react.lazy"),_0=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(K){return K()}};var O,D={},R=TJ.react_stack_bottom_frame.bind(TJ,W)(),S=F(z(W)),A={};Ym.Fragment=f,Ym.jsxDEV=function(K,T,x,v){var c=1e4>T0.recentlyCreatedOwnerStacks++;return E(K,T,x,v,c?Error("react-stack-top-frame"):R,c?F(z(K)):S)}})()});var iv=r1(f_(),1),e$=r1(nG(),1);var{readFile:g10}=(()=>({}));uU();var{closeSync:Or,existsSync:Vr,fstatSync:Hr,mkdirSync:Dr,openSync:Fr,readFileSync:Lr,renameSync:Mr,rmSync:Ar,statSync:Cr,writeFileSync:Tr,writeSync:Rr}=(()=>({}));var CK=function(){if(typeof location<"u")return location.hostname;else return""};var FH=function(){return"/"};function v4(I){if(typeof I!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(I))}function zS(I,J){var Y="",z=0,X=-1,W=0,Z;for(var L=0;L<=I.length;++L){if(L<I.length)Z=I.charCodeAt(L);else if(Z===47)break;else Z=47;if(Z===47){if(X===L-1||W===1);else if(X!==L-1&&W===2){if(Y.length<2||z!==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="",z=0;else Y=Y.slice(0,j),z=Y.length-1-Y.lastIndexOf("/");X=L,W=0;continue}}else if(Y.length===2||Y.length===1){Y="",z=0,X=L,W=0;continue}}if(J){if(Y.length>0)Y+="/..";else Y="..";z=2}}else{if(Y.length>0)Y+="/"+I.slice(X+1,L);else Y=I.slice(X+1,L);z=L-X-1}X=L,W=0}else if(Z===46&&W!==-1)++W;else W=-1}return Y}function yy(I,J){var Y=J.dir||J.root,z=J.base||(J.name||"")+(J.ext||"");if(!Y)return z;if(Y===J.root)return Y+z;return Y+I+z}function t1(){var I="",J=!1,Y;for(var z=arguments.length-1;z>=-1&&!J;z--){var X;if(z>=0)X=arguments[z];else{if(Y===void 0)Y=process.cwd();X=Y}if(v4(X),X.length===0)continue;I=X+"/"+I,J=X.charCodeAt(0)===47}if(I=zS(I,!J),J)if(I.length>0)return"/"+I;else return"/";else if(I.length>0)return I;else return"."}function OS(I){if(v4(I),I.length===0)return".";var J=I.charCodeAt(0)===47,Y=I.charCodeAt(I.length-1)===47;if(I=zS(I,!J),I.length===0&&!J)I=".";if(I.length>0&&Y)I+="/";if(J)return"/"+I;return I}function gQ(I){return v4(I),I.length>0&&I.charCodeAt(0)===47}function i$(){if(arguments.length===0)return".";var I;for(var J=0;J<arguments.length;++J){var Y=arguments[J];if(v4(Y),Y.length>0)if(I===void 0)I=Y;else I+="/"+Y}if(I===void 0)return".";return OS(I)}function VS(I,J){if(v4(I),v4(J),I===J)return"";if(I=t1(I),J=t1(J),I===J)return"";var Y=1;for(;Y<I.length;++Y)if(I.charCodeAt(Y)!==47)break;var z=I.length,X=z-Y,W=1;for(;W<J.length;++W)if(J.charCodeAt(W)!==47)break;var Z=J.length,L=Z-W,j=X<L?X:L,_=-1,E=0;for(;E<=j;++E){if(E===j){if(L>j){if(J.charCodeAt(W+E)===47)return J.slice(W+E+1);else if(E===0)return J.slice(W+E)}else if(X>j){if(I.charCodeAt(Y+E)===47)_=E;else if(E===0)_=0}break}var C=I.charCodeAt(Y+E),q=J.charCodeAt(W+E);if(C!==q)break;else if(C===47)_=E}var B="";for(E=Y+_+1;E<=z;++E)if(E===z||I.charCodeAt(E)===47)if(B.length===0)B+="..";else B+="/..";if(B.length>0)return B+J.slice(W+_);else{if(W+=_,J.charCodeAt(W)===47)++W;return J.slice(W)}}function uy(I){return I}function rU(I){if(v4(I),I.length===0)return".";var J=I.charCodeAt(0),Y=J===47,z=-1,X=!0;for(var W=I.length-1;W>=1;--W)if(J=I.charCodeAt(W),J===47){if(!X){z=W;break}}else X=!1;if(z===-1)return Y?"/":".";if(Y&&z===1)return"//";return I.slice(0,z)}function J2(I,J){if(J!==void 0&&typeof J!=="string")throw TypeError('"ext" argument must be a string');v4(I);var Y=0,z=-1,X=!0,W;if(J!==void 0&&J.length>0&&J.length<=I.length){if(J.length===I.length&&J===I)return"";var Z=J.length-1,L=-1;for(W=I.length-1;W>=0;--W){var j=I.charCodeAt(W);if(j===47){if(!X){Y=W+1;break}}else{if(L===-1)X=!1,L=W+1;if(Z>=0)if(j===J.charCodeAt(Z)){if(--Z===-1)z=W}else Z=-1,z=L}}if(Y===z)z=L;else if(z===-1)z=I.length;return I.slice(Y,z)}else{for(W=I.length-1;W>=0;--W)if(I.charCodeAt(W)===47){if(!X){Y=W+1;break}}else if(z===-1)X=!1,z=W+1;if(z===-1)return"";return I.slice(Y,z)}}function by(I){v4(I);var J=-1,Y=0,z=-1,X=!0,W=0;for(var Z=I.length-1;Z>=0;--Z){var L=I.charCodeAt(Z);if(L===47){if(!X){Y=Z+1;break}continue}if(z===-1)X=!1,z=Z+1;if(L===46){if(J===-1)J=Z;else if(W!==1)W=1}else if(J!==-1)W=-1}if(J===-1||z===-1||W===0||W===1&&J===z-1&&J===Y+1)return"";return I.slice(J,z)}function cy(I){if(I===null||typeof I!=="object")throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof I);return yy("/",I)}function hy(I){v4(I);var J={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return J;var Y=I.charCodeAt(0),z=Y===47,X;if(z)J.root="/",X=1;else X=0;var W=-1,Z=0,L=-1,j=!0,_=I.length-1,E=0;for(;_>=X;--_){if(Y=I.charCodeAt(_),Y===47){if(!j){Z=_+1;break}continue}if(L===-1)j=!1,L=_+1;if(Y===46){if(W===-1)W=_;else if(E!==1)E=1}else if(W!==-1)E=-1}if(W===-1||L===-1||E===0||E===1&&W===L-1&&W===Z+1){if(L!==-1)if(Z===0&&z)J.base=J.name=I.slice(1,L);else J.base=J.name=I.slice(Z,L)}else{if(Z===0&&z)J.name=I.slice(1,W),J.base=I.slice(1,L);else J.name=I.slice(Z,W),J.base=I.slice(Z,L);J.ext=I.slice(W,L)}if(Z>0)J.dir=I.slice(0,Z-1);else if(z)J.dir="/";return J}var HS="/",py=":",Ld=((I)=>(I.posix=I,I))({resolve:t1,normalize:OS,isAbsolute:gQ,join:i$,relative:VS,_makeLong:uy,dirname:rU,basename:J2,extname:by,format:cy,parse:hy,sep:HS,delimiter:py,win32:null,posix:null});function Q2(){let I=process.env.VOLTER_HOME;return I!==void 0&&I!==""?I:i$(FH(),".volter")}uU();uU();var{appendFileSync:my,chmodSync:DS,closeSync:TK,existsSync:Y2,fsyncSync:ly,fstatSync:FS,lstatSync:LS,mkdirSync:G2,openSync:RK,readdirSync:dy,readSync:ny,realpathSync:oy,readFileSync:MH,renameSync:MS,rmSync:AS,statSync:RS,unlinkSync:LH,writeFileSync:Z2}=(()=>({}));var iy=0,ry=60000;function AH(I){try{return JSON.parse(MH(I,"utf8"))}catch{return null}}function ty(I){try{return process.kill(I,0),!0}catch(J){return J.code==="EPERM"}}function CS(I,J=!1){let Y=AH(I);if(Y&&Y.hostname===CK()&&Number.isInteger(Y.pid)&&!ty(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=RS(I).mtimeMs}catch{return!1}return Date.now()-X>ry}function TS(I){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,I)}class CH{read(I){if(!Y2(I))return null;return MH(I,"utf8")}readLines(I){if(!Y2(I))return[];return MH(I,"utf8").split(`
252
+ `)}readRange(I,J){let Y;try{Y=RK(I,"r")}catch(z){if(z.code==="ENOENT")return null;throw z}try{let z=FS(Y).size;if(J>=z)return"";let X=Buffer.allocUnsafe(z-J),W=0;while(W<X.length){let Z=ny(Y,X,W,X.length-W,J+W);if(Z===0)break;W+=Z}return X.toString("utf8",0,W)}finally{TK(Y)}}append(I,J){let Y=RK(I,"a");try{if(my(Y,J),process.env.VOLTER_DURABLE==="1")ly(Y)}finally{TK(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}),DS(I,384)}writeAtomic(I,J,Y={}){G2(rU(I),{recursive:!0});let z=`${I}.${process.pid}.${Date.now()}.${iy++}.tmp`;try{if(Z2(z,J,Y.secret?{mode:384}:void 0),MS(z,I),Y.secret)DS(I,384)}finally{AS(z,{force:!0})}}exists(I){return Y2(I)}remove(I){AS(I,{recursive:!0,force:!0})}mkdir(I){G2(I,{recursive:!0})}list(I){if(!Y2(I))return[];return dy(I)}canonicalPath(I){let J=t1(I);try{return oy(J)}catch(Y){if(Y.code!=="ENOENT"||rU(J)===J)throw Y;return i$(this.canonicalPath(rU(J)),J2(J))}}stat(I){if(!Y2(I))return null;let J=RS(I);return{size:J.size,mtimeMs:J.mtimeMs,isDirectory:J.isDirectory(),...LS(I).isSymbolicLink()?{isSymbolicLink:!0}:{}}}withLock(I,J,Y={}){G2(rU(I),{recursive:!0});let z=Date.now(),X=null;while(X===null)try{X=RK(I,"wx")}catch(Z){if(Z.code!=="EEXIST")throw Z;if(CS(I,Y.retainLiveOwner)){let j=`${I}.recovery`,_;try{_=RK(j,"wx")}catch(E){if(E.code!=="EEXIST")throw E;if(Date.now()-z>1e4)throw Error(`Lock recovery is active or interrupted: ${j}. Inspect its owner before removing the recovery record.`);TS(25);continue}try{if(Z2(_,JSON.stringify({pid:process.pid,hostname:CK()})),CS(I,Y.retainLiveOwner)){let E=AH(I),C=`${I}.stale.${process.pid}.${Date.now()}`;try{MS(I,C),console.warn(`[world] reclaiming stale storage lock ${I} (held by pid ${E?.pid??"?"} on ${E?.hostname??"?"})`),LH(C)}catch(q){if(q.code!=="ENOENT")throw q}}}finally{TK(_),LH(j)}continue}if(Date.now()-z>1e4){let j=AH(I),_=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(_)?` for ${Date.now()-_}ms`:""})`:""}`)}TS(25)}try{Z2(X,`${JSON.stringify({pid:process.pid,hostname:CK(),at:new Date().toISOString()})}
253
+ `)}catch{}let W=Date.now();try{return J()}finally{let Z=Date.now()-W;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 L=FS(X);TK(X);try{let j=LS(I);if(L.dev===j.dev&&L.ino===j.ino)LH(I)}catch{}}}}var ay=new CH,sy=(()=>{try{let I=globalThis.process?.getBuiltinModule?.("node:async_hooks");return I?.AsyncLocalStorage?new I.AsyncLocalStorage:null}catch{return null}})();function y6(){return sy?.getStore()??ay}uU();var _$={};x6(_$,{xor:()=>JB,xid:()=>Sj,void:()=>sj,uuidv7:()=>Aj,uuidv6:()=>Mj,uuidv4:()=>Lj,uuid:()=>Fj,util:()=>Z$,url:()=>Cj,uppercase:()=>nQ,unknown:()=>FJ,union:()=>sW,undefined:()=>tj,ulid:()=>Ej,uint64:()=>ij,uint32:()=>dj,tuple:()=>t7,trim:()=>sQ,treeifyError:()=>hH,transform:()=>$z,toUpperCase:()=>$Y,toLowerCase:()=>eQ,toJSONSchema:()=>_W,templateLiteral:()=>MB,symbol:()=>rj,superRefine:()=>qM,success:()=>HB,stringbool:()=>EB,stringFormat:()=>uj,string:()=>k2,strictObject:()=>IB,startsWith:()=>iQ,slugify:()=>UY,size:()=>VJ,setErrorMap:()=>cc,set:()=>KB,safeParseAsync:()=>q7,safeParse:()=>P7,safeEncodeAsync:()=>N7,safeEncode:()=>B7,safeDecodeAsync:()=>k7,safeDecode:()=>v7,registry:()=>tK,regexes:()=>A1,regex:()=>lQ,refine:()=>PM,record:()=>a7,readonly:()=>LM,property:()=>TW,promise:()=>AB,prettifyError:()=>pH,preprocess:()=>jB,prefault:()=>KM,positive:()=>LW,pipe:()=>kW,partialRecord:()=>YB,parseAsync:()=>R7,parse:()=>T7,overwrite:()=>a1,optional:()=>x2,object:()=>UB,number:()=>x7,nullish:()=>VB,nullable:()=>w2,null:()=>b7,normalize:()=>aQ,nonpositive:()=>AW,nonoptional:()=>WM,nonnegative:()=>CW,never:()=>aW,negative:()=>MW,nativeEnum:()=>WB,nanoid:()=>Pj,nan:()=>DB,multipleOf:()=>KX,minSize:()=>x4,minLength:()=>OI,mime:()=>tQ,meta:()=>qB,maxSize:()=>WX,maxLength:()=>HJ,map:()=>ZB,mac:()=>vj,lte:()=>C1,lt:()=>k4,lowercase:()=>dQ,looseRecord:()=>GB,looseObject:()=>XB,locales:()=>j2,literal:()=>zB,length:()=>DJ,lazy:()=>CM,ksuid:()=>jj,keyof:()=>$B,jwt:()=>yj,json:()=>SB,iso:()=>JY,ipv6:()=>Nj,ipv4:()=>Bj,invertCodec:()=>LB,intersection:()=>i7,int64:()=>oj,int32:()=>lj,int:()=>NW,instanceof:()=>_B,includes:()=>oQ,httpUrl:()=>Tj,hostname:()=>bj,hex:()=>cj,hash:()=>hj,guid:()=>Dj,gte:()=>c6,gt:()=>g4,globalRegistry:()=>C6,getErrorMap:()=>hc,function:()=>CB,fromJSONSchema:()=>vB,formatError:()=>L2,float64:()=>mj,float32:()=>pj,flattenError:()=>F2,file:()=>OB,exactOptional:()=>JM,enum:()=>eW,endsWith:()=>rQ,encodeAsync:()=>S7,encode:()=>_7,emoji:()=>Rj,email:()=>Hj,e164:()=>fj,discriminatedUnion:()=>QB,describe:()=>PB,decodeAsync:()=>j7,decode:()=>E7,date:()=>ej,custom:()=>RB,cuid2:()=>_j,cuid:()=>qj,core:()=>VI,config:()=>tU,coerce:()=>EM,codec:()=>FB,clone:()=>u6,cidrv6:()=>gj,cidrv4:()=>kj,check:()=>TB,catch:()=>VM,boolean:()=>w7,bigint:()=>nj,base64url:()=>wj,base64:()=>xj,array:()=>b2,any:()=>aj,_function:()=>CB,_default:()=>GM,_ZodString:()=>gW,ZodXor:()=>d7,ZodXID:()=>cW,ZodVoid:()=>m7,ZodUnknown:()=>h7,ZodUnion:()=>h2,ZodUndefined:()=>y7,ZodUUID:()=>w4,ZodURL:()=>y2,ZodULID:()=>bW,ZodType:()=>x$,ZodTuple:()=>r7,ZodTransform:()=>IM,ZodTemplateLiteral:()=>MM,ZodSymbol:()=>f7,ZodSuccess:()=>zM,ZodStringFormat:()=>zU,ZodString:()=>GY,ZodSet:()=>e7,ZodRecord:()=>QY,ZodRealError:()=>$1,ZodReadonly:()=>FM,ZodPromise:()=>TM,ZodPreprocess:()=>DM,ZodPrefault:()=>ZM,ZodPipe:()=>p2,ZodOptional:()=>Uz,ZodObject:()=>c2,ZodNumberFormat:()=>LJ,ZodNumber:()=>KY,ZodNullable:()=>QM,ZodNull:()=>u7,ZodNonOptional:()=>Iz,ZodNever:()=>p7,ZodNanoID:()=>fW,ZodNaN:()=>HM,ZodMap:()=>s7,ZodMAC:()=>g7,ZodLiteral:()=>$M,ZodLazy:()=>AM,ZodKSUID:()=>hW,ZodJWT:()=>rW,ZodIssueCode:()=>bc,ZodIntersection:()=>o7,ZodISOTime:()=>BW,ZodISODuration:()=>vW,ZodISODateTime:()=>SW,ZodISODate:()=>jW,ZodIPv6:()=>mW,ZodIPv4:()=>pW,ZodGUID:()=>g2,ZodFunction:()=>RM,ZodFirstPartyTypeKind:()=>_M,ZodFile:()=>UM,ZodExactOptional:()=>XM,ZodError:()=>yc,ZodEnum:()=>YY,ZodEmoji:()=>wW,ZodEmail:()=>xW,ZodE164:()=>iW,ZodDiscriminatedUnion:()=>n7,ZodDefault:()=>YM,ZodDate:()=>u2,ZodCustomStringFormat:()=>ZY,ZodCustom:()=>l2,ZodCodec:()=>m2,ZodCatch:()=>OM,ZodCUID2:()=>uW,ZodCUID:()=>yW,ZodCIDRv6:()=>dW,ZodCIDRv4:()=>lW,ZodBoolean:()=>WY,ZodBigIntFormat:()=>tW,ZodBigInt:()=>zY,ZodBase64URL:()=>oW,ZodBase64:()=>nW,ZodArray:()=>l7,ZodAny:()=>c7,TimePrecision:()=>t5,NEVER:()=>BH,$output:()=>l5,$input:()=>d5,$brand:()=>vH});var VI={};x6(VI,{version:()=>uD,util:()=>Z$,treeifyError:()=>hH,toJSONSchema:()=>_W,toDotPath:()=>gS,safeParseAsync:()=>lH,safeParse:()=>mH,safeEncodeAsync:()=>bu,safeEncode:()=>yu,safeDecodeAsync:()=>cu,safeDecode:()=>uu,registry:()=>tK,regexes:()=>A1,process:()=>QU,prettifyError:()=>pH,parseAsync:()=>jK,parse:()=>SK,meta:()=>vL,locales:()=>j2,isValidJWT:()=>Uj,isValidBase64URL:()=>$j,isValidBase64:()=>YF,initializeContext:()=>zX,globalRegistry:()=>C6,globalConfig:()=>ZJ,formatError:()=>L2,flattenError:()=>F2,finalize:()=>VX,extractDefs:()=>OX,encodeAsync:()=>wu,encode:()=>gu,describe:()=>BL,decodeAsync:()=>fu,decode:()=>xu,createToJSONSchemaMethod:()=>kL,createStandardJSONSchemaMethod:()=>XY,config:()=>tU,clone:()=>u6,_xor:()=>Vc,_xid:()=>GW,_void:()=>CL,_uuidv7:()=>UW,_uuidv6:()=>$W,_uuidv4:()=>eK,_uuid:()=>sK,_url:()=>v2,_uppercase:()=>nQ,_unknown:()=>ML,_union:()=>Oc,_undefined:()=>DL,_ulid:()=>YW,_uint64:()=>VL,_uint32:()=>GL,_tuple:()=>Fc,_trim:()=>sQ,_transform:()=>Pc,_toUpperCase:()=>$Y,_toLowerCase:()=>eQ,_templateLiteral:()=>kc,_symbol:()=>HL,_superRefine:()=>jL,_success:()=>jc,_stringbool:()=>NL,_stringFormat:()=>IY,_string:()=>o5,_startsWith:()=>iQ,_slugify:()=>UY,_size:()=>VJ,_set:()=>Ac,_safeParseAsync:()=>hQ,_safeParse:()=>cQ,_safeEncodeAsync:()=>wK,_safeEncode:()=>gK,_safeDecodeAsync:()=>fK,_safeDecode:()=>xK,_regex:()=>lQ,_refine:()=>SL,_record:()=>Lc,_readonly:()=>Nc,_property:()=>TW,_promise:()=>xc,_positive:()=>LW,_pipe:()=>vc,_parseAsync:()=>bQ,_parse:()=>uQ,_overwrite:()=>a1,_optional:()=>qc,_number:()=>UL,_nullable:()=>_c,_null:()=>FL,_normalize:()=>aQ,_nonpositive:()=>AW,_nonoptional:()=>Sc,_nonnegative:()=>CW,_never:()=>AL,_negative:()=>MW,_nativeEnum:()=>Tc,_nanoid:()=>XW,_nan:()=>PL,_multipleOf:()=>KX,_minSize:()=>x4,_minLength:()=>OI,_min:()=>c6,_mime:()=>tQ,_maxSize:()=>WX,_maxLength:()=>HJ,_max:()=>C1,_map:()=>Mc,_mac:()=>r5,_lte:()=>C1,_lt:()=>k4,_lowercase:()=>dQ,_literal:()=>Rc,_length:()=>DJ,_lazy:()=>gc,_ksuid:()=>ZW,_jwt:()=>FW,_isoTime:()=>e5,_isoDuration:()=>$L,_isoDateTime:()=>a5,_isoDate:()=>s5,_ipv6:()=>WW,_ipv4:()=>KW,_intersection:()=>Dc,_int64:()=>OL,_int32:()=>YL,_int:()=>XL,_includes:()=>oQ,_guid:()=>B2,_gte:()=>c6,_gt:()=>g4,_float64:()=>QL,_float32:()=>JL,_file:()=>_L,_enum:()=>Cc,_endsWith:()=>rQ,_encodeAsync:()=>NK,_encode:()=>BK,_emoji:()=>IW,_email:()=>aK,_e164:()=>DW,_discriminatedUnion:()=>Hc,_default:()=>Ec,_decodeAsync:()=>kK,_decode:()=>vK,_date:()=>TL,_custom:()=>EL,_cuid2:()=>QW,_cuid:()=>JW,_coercedString:()=>i5,_coercedNumber:()=>IL,_coercedDate:()=>RL,_coercedBoolean:()=>KL,_coercedBigint:()=>zL,_cidrv6:()=>OW,_cidrv4:()=>zW,_check:()=>Wj,_catch:()=>Bc,_boolean:()=>ZL,_bigint:()=>WL,_base64url:()=>HW,_base64:()=>VW,_array:()=>qL,_any:()=>LL,TimePrecision:()=>t5,NEVER:()=>BH,JSONSchemaGenerator:()=>F7,JSONSchema:()=>zj,Doc:()=>cK,$output:()=>l5,$input:()=>d5,$constructor:()=>j0,$brand:()=>vH,$ZodXor:()=>qF,$ZodXID:()=>rD,$ZodVoid:()=>CF,$ZodUnknown:()=>MF,$ZodUnion:()=>R2,$ZodUndefined:()=>DF,$ZodUUID:()=>hD,$ZodURL:()=>mD,$ZodULID:()=>iD,$ZodType:()=>E$,$ZodTuple:()=>oK,$ZodTransform:()=>gF,$ZodTemplateLiteral:()=>lF,$ZodSymbol:()=>HF,$ZodSuccess:()=>bF,$ZodStringFormat:()=>WU,$ZodString:()=>OJ,$ZodSet:()=>BF,$ZodRegistry:()=>n5,$ZodRecord:()=>SF,$ZodRealError:()=>e6,$ZodReadonly:()=>mF,$ZodPromise:()=>nF,$ZodPreprocess:()=>pF,$ZodPrefault:()=>yF,$ZodPipe:()=>rK,$ZodOptional:()=>iK,$ZodObjectJIT:()=>PF,$ZodObject:()=>Jj,$ZodNumberFormat:()=>OF,$ZodNumber:()=>dK,$ZodNullable:()=>wF,$ZodNull:()=>FF,$ZodNonOptional:()=>uF,$ZodNever:()=>AF,$ZodNanoID:()=>dD,$ZodNaN:()=>hF,$ZodMap:()=>jF,$ZodMAC:()=>XF,$ZodLiteral:()=>NF,$ZodLazy:()=>oF,$ZodKSUID:()=>tD,$ZodJWT:()=>WF,$ZodIntersection:()=>EF,$ZodISOTime:()=>eD,$ZodISODuration:()=>$F,$ZodISODateTime:()=>aD,$ZodISODate:()=>sD,$ZodIPv6:()=>IF,$ZodIPv4:()=>UF,$ZodGUID:()=>cD,$ZodFunction:()=>dF,$ZodFile:()=>kF,$ZodExactOptional:()=>xF,$ZodError:()=>D2,$ZodEnum:()=>vF,$ZodEncodeError:()=>KJ,$ZodEmoji:()=>lD,$ZodEmail:()=>pD,$ZodE164:()=>KF,$ZodDiscriminatedUnion:()=>_F,$ZodDefault:()=>fF,$ZodDate:()=>TF,$ZodCustomStringFormat:()=>zF,$ZodCustom:()=>iF,$ZodCodec:()=>P2,$ZodCheckUpperCase:()=>ND,$ZodCheckStringFormat:()=>pQ,$ZodCheckStartsWith:()=>gD,$ZodCheckSizeEquals:()=>_D,$ZodCheckRegex:()=>BD,$ZodCheckProperty:()=>wD,$ZodCheckOverwrite:()=>yD,$ZodCheckNumberFormat:()=>TD,$ZodCheckMultipleOf:()=>CD,$ZodCheckMinSize:()=>qD,$ZodCheckMinLength:()=>SD,$ZodCheckMimeType:()=>fD,$ZodCheckMaxSize:()=>PD,$ZodCheckMaxLength:()=>ED,$ZodCheckLowerCase:()=>vD,$ZodCheckLessThan:()=>uK,$ZodCheckLengthEquals:()=>jD,$ZodCheckIncludes:()=>kD,$ZodCheckGreaterThan:()=>bK,$ZodCheckEndsWith:()=>xD,$ZodCheckBigIntFormat:()=>RD,$ZodCheck:()=>FU,$ZodCatch:()=>cF,$ZodCUID2:()=>oD,$ZodCUID:()=>nD,$ZodCIDRv6:()=>QF,$ZodCIDRv4:()=>JF,$ZodBoolean:()=>T2,$ZodBigIntFormat:()=>VF,$ZodBigInt:()=>nK,$ZodBase64URL:()=>ZF,$ZodBase64:()=>GF,$ZodAsyncError:()=>N4,$ZodArray:()=>RF,$ZodAny:()=>LF});var SS,BH=Object.freeze({status:"aborted"});function j0(I,J,Y){function z(L,j){if(!L._zod)Object.defineProperty(L,"_zod",{value:{def:j,constr:Z,traits:new Set},enumerable:!1});if(L._zod.traits.has(I))return;L._zod.traits.add(I),J(L,j);let _=Z.prototype,E=Object.keys(_);for(let C=0;C<E.length;C++){let q=E[C];if(!(q in L))L[q]=_[q].bind(L)}}let X=Y?.Parent??Object;class W extends X{}Object.defineProperty(W,"name",{value:I});function Z(L){var j;let _=Y?.Parent?new W:this;z(_,L),(j=_._zod).deferred??(j.deferred=[]);for(let E of _._zod.deferred)E();return _}return Object.defineProperty(Z,"init",{value:z}),Object.defineProperty(Z,Symbol.hasInstance,{value:(L)=>{if(Y?.Parent&&L instanceof Y.Parent)return!0;return L?._zod?.traits?.has(I)}}),Object.defineProperty(Z,"name",{value:I}),Z}var vH=Symbol("zod_brand");class N4 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class KJ extends Error{constructor(I){super(`Encountered unidirectional transform during encode: ${I}`);this.name="ZodEncodeError"}}(SS=globalThis).__zod_globalConfig??(SS.__zod_globalConfig={});var ZJ=globalThis.__zod_globalConfig;function tU(I){if(I)Object.assign(ZJ,I);return ZJ}var Z$={};x6(Z$,{unwrapMessage:()=>K2,uint8ArrayToHex:()=>Nu,uint8ArrayToBase64url:()=>Bu,uint8ArrayToBase64:()=>vS,stringifyPrimitive:()=>Q$,slugify:()=>gH,shallowClone:()=>wH,safeExtend:()=>Pu,required:()=>Eu,randomString:()=>Fu,propertyKeyTypes:()=>O2,promiseAllObject:()=>Du,primitiveTypes:()=>fH,prefixIssues:()=>s6,pick:()=>Cu,partial:()=>_u,parsedType:()=>Y$,optionalKeys:()=>yH,omit:()=>Tu,objectClone:()=>Ou,numKeys:()=>Lu,nullish:()=>QX,normalizeParams:()=>K$,mergeDefs:()=>zI,merge:()=>qu,jsonStringifyReplacer:()=>wQ,joinValues:()=>w0,issue:()=>yQ,isPlainObject:()=>GX,isObject:()=>WJ,hexToUint8Array:()=>vu,getSizableOrigin:()=>V2,getParsedType:()=>Mu,getLengthableOrigin:()=>H2,getEnumValues:()=>W2,getElementAtPath:()=>Hu,floatSafeRemainder:()=>kH,finalizeIssue:()=>b6,extend:()=>Ru,explicitlyAborted:()=>cH,escapeRegex:()=>y1,esc:()=>_K,defineLazy:()=>h$,createTransparentProxy:()=>Au,cloneDef:()=>Vu,clone:()=>u6,cleanRegex:()=>z2,cleanEnum:()=>Su,captureStackTrace:()=>EK,cached:()=>fQ,base64urlToUint8Array:()=>ju,base64ToUint8Array:()=>BS,assignProp:()=>YX,assertNotEqual:()=>Zu,assertNever:()=>Wu,assertIs:()=>Ku,assertEqual:()=>Gu,assert:()=>zu,allowsEval:()=>xH,aborted:()=>ZX,NUMBER_FORMAT_RANGES:()=>uH,Class:()=>NS,BIGINT_FORMAT_RANGES:()=>bH});function Gu(I){return I}function Zu(I){return I}function Ku(I){}function Wu(I){throw Error("Unexpected value in exhaustive check")}function zu(I){}function W2(I){let J=Object.values(I).filter((z)=>typeof z==="number");return Object.entries(I).filter(([z,X])=>J.indexOf(+z)===-1).map(([z,X])=>X)}function w0(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 QX(I){return I===null||I===void 0}function z2(I){let J=I.startsWith("^")?1:0,Y=I.endsWith("$")?I.length-1:I.length;return I.slice(J,Y)}function kH(I,J){let Y=I/J,z=Math.round(Y),X=Number.EPSILON*Math.max(Math.abs(Y),1);if(Math.abs(Y-z)<X)return 0;return Y-z}var jS=Symbol("evaluating");function h$(I,J,Y){let z=void 0;Object.defineProperty(I,J,{get(){if(z===jS)return;if(z===void 0)z=jS,z=Y();return z},set(X){Object.defineProperty(I,J,{value:X})},configurable:!0})}function Ou(I){return Object.create(Object.getPrototypeOf(I),Object.getOwnPropertyDescriptors(I))}function YX(I,J,Y){Object.defineProperty(I,J,{value:Y,writable:!0,enumerable:!0,configurable:!0})}function zI(...I){let J={};for(let Y of I){let z=Object.getOwnPropertyDescriptors(Y);Object.assign(J,z)}return Object.defineProperties({},J)}function Vu(I){return zI(I._zod.def)}function Hu(I,J){if(!J)return I;return J.reduce((Y,z)=>Y?.[z],I)}function Du(I){let J=Object.keys(I),Y=J.map((z)=>I[z]);return Promise.all(Y).then((z)=>{let X={};for(let W=0;W<J.length;W++)X[J[W]]=z[W];return X})}function Fu(I=10){let Y="";for(let z=0;z<I;z++)Y+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return Y}function _K(I){return JSON.stringify(I)}function gH(I){return I.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var EK="captureStackTrace"in Error?Error.captureStackTrace:(...I)=>{};function WJ(I){return typeof I==="object"&&I!==null&&!Array.isArray(I)}var xH=fQ(()=>{if(ZJ.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(I){return!1}});function GX(I){if(WJ(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(WJ(Y)===!1)return!1;if(Object.prototype.hasOwnProperty.call(Y,"isPrototypeOf")===!1)return!1;return!0}function wH(I){if(GX(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 Lu(I){let J=0;for(let Y in I)if(Object.prototype.hasOwnProperty.call(I,Y))J++;return J}var Mu=(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}`)}},O2=new Set(["string","number","symbol"]),fH=new Set(["string","number","bigint","boolean","symbol","undefined"]);function y1(I){return I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function u6(I,J,Y){let z=new I._zod.constr(J??I._zod.def);if(!J||Y?.parent)z._zod.parent=I;return z}function K$(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 Au(I){let J;return new Proxy({},{get(Y,z,X){return J??(J=I()),Reflect.get(J,z,X)},set(Y,z,X,W){return J??(J=I()),Reflect.set(J,z,X,W)},has(Y,z){return J??(J=I()),Reflect.has(J,z)},deleteProperty(Y,z){return J??(J=I()),Reflect.deleteProperty(J,z)},ownKeys(Y){return J??(J=I()),Reflect.ownKeys(J)},getOwnPropertyDescriptor(Y,z){return J??(J=I()),Reflect.getOwnPropertyDescriptor(J,z)},defineProperty(Y,z,X){return J??(J=I()),Reflect.defineProperty(J,z,X)}})}function Q$(I){if(typeof I==="bigint")return I.toString()+"n";if(typeof I==="string")return`"${I}"`;return`${I}`}function yH(I){return Object.keys(I).filter((J)=>{return I[J]._zod.optin==="optional"&&I[J]._zod.optout==="optional"})}var uH={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]},bH={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Cu(I,J){let Y=I._zod.def,z=Y.checks;if(z&&z.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let W=zI(I._zod.def,{get shape(){let Z={};for(let L in J){if(!(L in Y.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;Z[L]=Y.shape[L]}return YX(this,"shape",Z),Z},checks:[]});return u6(I,W)}function Tu(I,J){let Y=I._zod.def,z=Y.checks;if(z&&z.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let W=zI(I._zod.def,{get shape(){let Z={...I._zod.def.shape};for(let L in J){if(!(L in Y.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;delete Z[L]}return YX(this,"shape",Z),Z},checks:[]});return u6(I,W)}function Ru(I,J){if(!GX(J))throw Error("Invalid input to extend: expected a plain object");let Y=I._zod.def.checks;if(Y&&Y.length>0){let W=I._zod.def.shape;for(let Z in J)if(Object.getOwnPropertyDescriptor(W,Z)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let X=zI(I._zod.def,{get shape(){let W={...I._zod.def.shape,...J};return YX(this,"shape",W),W}});return u6(I,X)}function Pu(I,J){if(!GX(J))throw Error("Invalid input to safeExtend: expected a plain object");let Y=zI(I._zod.def,{get shape(){let z={...I._zod.def.shape,...J};return YX(this,"shape",z),z}});return u6(I,Y)}function qu(I,J){if(I._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let Y=zI(I._zod.def,{get shape(){let z={...I._zod.def.shape,...J._zod.def.shape};return YX(this,"shape",z),z},get catchall(){return J._zod.def.catchall},checks:J._zod.def.checks??[]});return u6(I,Y)}function _u(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=zI(J._zod.def,{get shape(){let L=J._zod.def.shape,j={...L};if(Y)for(let _ in Y){if(!(_ in L))throw Error(`Unrecognized key: "${_}"`);if(!Y[_])continue;j[_]=I?new I({type:"optional",innerType:L[_]}):L[_]}else for(let _ in L)j[_]=I?new I({type:"optional",innerType:L[_]}):L[_];return YX(this,"shape",j),j},checks:[]});return u6(J,Z)}function Eu(I,J,Y){let z=zI(J._zod.def,{get shape(){let X=J._zod.def.shape,W={...X};if(Y)for(let Z in Y){if(!(Z in W))throw Error(`Unrecognized key: "${Z}"`);if(!Y[Z])continue;W[Z]=new I({type:"nonoptional",innerType:X[Z]})}else for(let Z in X)W[Z]=new I({type:"nonoptional",innerType:X[Z]});return YX(this,"shape",W),W}});return u6(J,z)}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 cH(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 s6(I,J){return J.map((Y)=>{var z;return(z=Y).path??(z.path=[]),Y.path.unshift(I),Y})}function K2(I){return typeof I==="string"?I:I?.message}function b6(I,J,Y){let z=I.message?I.message:K2(I.inst?._zod.def?.error?.(I))??K2(J?.error?.(I))??K2(Y.customError?.(I))??K2(Y.localeError?.(I))??"Invalid input",{inst:X,continue:W,input:Z,...L}=I;if(L.path??(L.path=[]),L.message=z,J?.reportInput)L.input=Z;return L}function V2(I){if(I instanceof Set)return"set";if(I instanceof Map)return"map";if(I instanceof File)return"file";return"unknown"}function H2(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,z]=I;if(typeof J==="string")return{message:J,code:"custom",input:Y,inst:z};return{...J}}function Su(I){return Object.entries(I).filter(([J,Y])=>{return Number.isNaN(Number.parseInt(J,10))}).map((J)=>J[1])}function BS(I){let J=atob(I),Y=new Uint8Array(J.length);for(let z=0;z<J.length;z++)Y[z]=J.charCodeAt(z);return Y}function vS(I){let J="";for(let Y=0;Y<I.length;Y++)J+=String.fromCharCode(I[Y]);return btoa(J)}function ju(I){let J=I.replace(/-/g,"+").replace(/_/g,"/"),Y="=".repeat((4-J.length%4)%4);return BS(J+Y)}function Bu(I){return vS(I).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function vu(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 z=0;z<J.length;z+=2)Y[z/2]=Number.parseInt(J.slice(z,z+2),16);return Y}function Nu(I){return Array.from(I).map((J)=>J.toString(16).padStart(2,"0")).join("")}class NS{constructor(...I){}}var kS=(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})},D2=j0("$ZodError",kS),e6=j0("$ZodError",kS,{Parent:Error});function F2(I,J=(Y)=>Y.message){let Y={},z=[];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 z.push(J(X));return{formErrors:z,fieldErrors:Y}}function L2(I,J=(Y)=>Y.message){let Y={_errors:[]},z=(X,W=[])=>{for(let Z of X.issues)if(Z.code==="invalid_union"&&Z.errors.length)Z.errors.map((L)=>z({issues:L},[...W,...Z.path]));else if(Z.code==="invalid_key")z({issues:Z.issues},[...W,...Z.path]);else if(Z.code==="invalid_element")z({issues:Z.issues},[...W,...Z.path]);else{let L=[...W,...Z.path];if(L.length===0)Y._errors.push(J(Z));else{let j=Y,_=0;while(_<L.length){let E=L[_];if(_!==L.length-1)j[E]=j[E]||{_errors:[]};else j[E]=j[E]||{_errors:[]},j[E]._errors.push(J(Z));j=j[E],_++}}}};return z(I),Y}function hH(I,J=(Y)=>Y.message){let Y={errors:[]},z=(X,W=[])=>{var Z,L;for(let j of X.issues)if(j.code==="invalid_union"&&j.errors.length)j.errors.map((_)=>z({issues:_},[...W,...j.path]));else if(j.code==="invalid_key")z({issues:j.issues},[...W,...j.path]);else if(j.code==="invalid_element")z({issues:j.issues},[...W,...j.path]);else{let _=[...W,...j.path];if(_.length===0){Y.errors.push(J(j));continue}let E=Y,C=0;while(C<_.length){let q=_[C],B=C===_.length-1;if(typeof q==="string")E.properties??(E.properties={}),(Z=E.properties)[q]??(Z[q]={errors:[]}),E=E.properties[q];else E.items??(E.items=[]),(L=E.items)[q]??(L[q]={errors:[]}),E=E.items[q];if(B)E.errors.push(J(j));C++}}};return z(I),Y}function gS(I){let J=[],Y=I.map((z)=>typeof z==="object"?z.key:z);for(let z of Y)if(typeof z==="number")J.push(`[${z}]`);else if(typeof z==="symbol")J.push(`[${JSON.stringify(String(z))}]`);else if(/[^\w$]/.test(z))J.push(`[${JSON.stringify(z)}]`);else{if(J.length)J.push(".");J.push(z)}return J.join("")}function pH(I){let J=[],Y=[...I.issues].sort((z,X)=>(z.path??[]).length-(X.path??[]).length);for(let z of Y)if(J.push(`✖ ${z.message}`),z.path?.length)J.push(` → at ${gS(z.path)}`);return J.join(`
257
+ `)}var uQ=(I)=>(J,Y,z,X)=>{let W=z?{...z,async:!1}:{async:!1},Z=J._zod.run({value:Y,issues:[]},W);if(Z instanceof Promise)throw new N4;if(Z.issues.length){let L=new(X?.Err??I)(Z.issues.map((j)=>b6(j,W,tU())));throw EK(L,X?.callee),L}return Z.value},SK=uQ(e6),bQ=(I)=>async(J,Y,z,X)=>{let W=z?{...z,async:!0}:{async:!0},Z=J._zod.run({value:Y,issues:[]},W);if(Z instanceof Promise)Z=await Z;if(Z.issues.length){let L=new(X?.Err??I)(Z.issues.map((j)=>b6(j,W,tU())));throw EK(L,X?.callee),L}return Z.value},jK=bQ(e6),cQ=(I)=>(J,Y,z)=>{let X=z?{...z,async:!1}:{async:!1},W=J._zod.run({value:Y,issues:[]},X);if(W instanceof Promise)throw new N4;return W.issues.length?{success:!1,error:new(I??D2)(W.issues.map((Z)=>b6(Z,X,tU())))}:{success:!0,data:W.value}},mH=cQ(e6),hQ=(I)=>async(J,Y,z)=>{let X=z?{...z,async:!0}:{async:!0},W=J._zod.run({value:Y,issues:[]},X);if(W instanceof Promise)W=await W;return W.issues.length?{success:!1,error:new I(W.issues.map((Z)=>b6(Z,X,tU())))}:{success:!0,data:W.value}},lH=hQ(e6),BK=(I)=>(J,Y,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return uQ(I)(J,Y,X)},gu=BK(e6),vK=(I)=>(J,Y,z)=>{return uQ(I)(J,Y,z)},xu=vK(e6),NK=(I)=>async(J,Y,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return bQ(I)(J,Y,X)},wu=NK(e6),kK=(I)=>async(J,Y,z)=>{return bQ(I)(J,Y,z)},fu=kK(e6),gK=(I)=>(J,Y,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return cQ(I)(J,Y,X)},yu=gK(e6),xK=(I)=>(J,Y,z)=>{return cQ(I)(J,Y,z)},uu=xK(e6),wK=(I)=>async(J,Y,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return hQ(I)(J,Y,X)},bu=wK(e6),fK=(I)=>async(J,Y,z)=>{return hQ(I)(J,Y,z)},cu=fK(e6);var A1={};x6(A1,{xid:()=>iH,uuid7:()=>lu,uuid6:()=>mu,uuid4:()=>pu,uuid:()=>zJ,uppercase:()=>AD,unicodeEmail:()=>xS,undefined:()=>LD,ulid:()=>oH,time:()=>WD,string:()=>OD,sha512_hex:()=>zb,sha512_base64url:()=>Vb,sha512_base64:()=>Ob,sha384_hex:()=>Zb,sha384_base64url:()=>Wb,sha384_base64:()=>Kb,sha256_hex:()=>Qb,sha256_base64url:()=>Gb,sha256_base64:()=>Yb,sha1_hex:()=>Ib,sha1_base64url:()=>Jb,sha1_base64:()=>Xb,rfc5322Email:()=>nu,number:()=>M2,null:()=>FD,nanoid:()=>tH,md5_hex:()=>eu,md5_base64url:()=>Ub,md5_base64:()=>$b,mac:()=>XD,lowercase:()=>MD,ksuid:()=>rH,ipv6:()=>ID,ipv4:()=>UD,integer:()=>HD,idnEmail:()=>ou,httpProtocol:()=>GD,html5Email:()=>du,hostname:()=>tu,hex:()=>su,guid:()=>sH,extendedDuration:()=>hu,emoji:()=>$D,email:()=>eH,e164:()=>ZD,duration:()=>aH,domain:()=>au,datetime:()=>zD,date:()=>KD,cuid2:()=>nH,cuid:()=>dH,cidrv6:()=>QD,cidrv4:()=>JD,browserEmail:()=>iu,boolean:()=>DD,bigint:()=>VD,base64url:()=>yK,base64:()=>YD});var dH=/^[cC][0-9a-z]{6,}$/,nH=/^[0-9a-z]+$/,oH=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,iH=/^[0-9a-vA-V]{20}$/,rH=/^[A-Za-z0-9]{27}$/,tH=/^[a-zA-Z0-9_-]{21}$/,aH=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,hu=/^[-+]?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)?)??$/,sH=/^([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})$/,zJ=(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})$`)},pu=zJ(4),mu=zJ(6),lu=zJ(7),eH=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,du=/^[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])?)*$/,nu=/^(([^<>()\[\]\\.,;:\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,}))$/,xS=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,ou=xS,iu=/^[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])?)*$/,ru="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function $D(){return new RegExp(ru,"u")}var UD=/^(?:(?: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])$/,ID=/^(([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}|:))$/,XD=(I)=>{let J=y1(I??":");return new RegExp(`^(?:[0-9A-F]{2}${J}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${J}){5}[0-9a-f]{2}$`)},JD=/^((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])$/,QD=/^(([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])$/,YD=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,yK=/^[A-Za-z0-9_-]*$/,tu=/^(?=.{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])?)*\.?$/,au=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,GD=/^https?$/,ZD=/^\+[1-9]\d{6,14}$/,wS="(?:(?:\\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])))",KD=new RegExp(`^${wS}$`);function fS(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 WD(I){return new RegExp(`^${fS(I)}$`)}function zD(I){let J=fS({precision:I.precision}),Y=["Z"];if(I.local)Y.push("");if(I.offset)Y.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let z=`${J}(?:${Y.join("|")})`;return new RegExp(`^${wS}T(?:${z})$`)}var OD=(I)=>{let J=I?`[\\s\\S]{${I?.minimum??0},${I?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${J}$`)},VD=/^-?\d+n?$/,HD=/^-?\d+$/,M2=/^-?\d+(?:\.\d+)?$/,DD=/^(?:true|false)$/i,FD=/^null$/i;var LD=/^undefined$/i;var MD=/^[^A-Z]*$/,AD=/^[^a-z]*$/,su=/^[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 eu=/^[0-9a-fA-F]{32}$/,$b=A2(22,"=="),Ub=C2(22),Ib=/^[0-9a-fA-F]{40}$/,Xb=A2(27,"="),Jb=C2(27),Qb=/^[0-9a-fA-F]{64}$/,Yb=A2(43,"="),Gb=C2(43),Zb=/^[0-9a-fA-F]{96}$/,Kb=A2(64,""),Wb=C2(64),zb=/^[0-9a-fA-F]{128}$/,Ob=A2(86,"=="),Vb=C2(86);var FU=j0("$ZodCheck",(I,J)=>{var Y;I._zod??(I._zod={}),I._zod.def=J,(Y=I._zod).onattach??(Y.onattach=[])}),uS={number:"number",bigint:"bigint",object:"date"},uK=j0("$ZodCheckLessThan",(I,J)=>{FU.init(I,J);let Y=uS[typeof J.value];I._zod.onattach.push((z)=>{let X=z._zod.bag,W=(J.inclusive?X.maximum:X.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(J.value<W)if(J.inclusive)X.maximum=J.value;else X.exclusiveMaximum=J.value}),I._zod.check=(z)=>{if(J.inclusive?z.value<=J.value:z.value<J.value)return;z.issues.push({origin:Y,code:"too_big",maximum:typeof J.value==="object"?J.value.getTime():J.value,input:z.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),bK=j0("$ZodCheckGreaterThan",(I,J)=>{FU.init(I,J);let Y=uS[typeof J.value];I._zod.onattach.push((z)=>{let X=z._zod.bag,W=(J.inclusive?X.minimum:X.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(J.value>W)if(J.inclusive)X.minimum=J.value;else X.exclusiveMinimum=J.value}),I._zod.check=(z)=>{if(J.inclusive?z.value>=J.value:z.value>J.value)return;z.issues.push({origin:Y,code:"too_small",minimum:typeof J.value==="object"?J.value.getTime():J.value,input:z.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),CD=j0("$ZodCheckMultipleOf",(I,J)=>{FU.init(I,J),I._zod.onattach.push((Y)=>{var z;(z=Y._zod.bag).multipleOf??(z.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):kH(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})}}),TD=j0("$ZodCheckNumberFormat",(I,J)=>{FU.init(I,J),J.format=J.format||"float64";let Y=J.format?.includes("int"),z=Y?"int":"number",[X,W]=uH[J.format];I._zod.onattach.push((Z)=>{let L=Z._zod.bag;if(L.format=J.format,L.minimum=X,L.maximum=W,Y)L.pattern=HD}),I._zod.check=(Z)=>{let L=Z.value;if(Y){if(!Number.isInteger(L)){Z.issues.push({expected:z,format:J.format,code:"invalid_type",continue:!1,input:L,inst:I});return}if(!Number.isSafeInteger(L)){if(L>0)Z.issues.push({input:L,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:z,inclusive:!0,continue:!J.abort});else Z.issues.push({input:L,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:z,inclusive:!0,continue:!J.abort});return}}if(L<X)Z.issues.push({origin:"number",input:L,code:"too_small",minimum:X,inclusive:!0,inst:I,continue:!J.abort});if(L>W)Z.issues.push({origin:"number",input:L,code:"too_big",maximum:W,inclusive:!0,inst:I,continue:!J.abort})}}),RD=j0("$ZodCheckBigIntFormat",(I,J)=>{FU.init(I,J);let[Y,z]=bH[J.format];I._zod.onattach.push((X)=>{let W=X._zod.bag;W.format=J.format,W.minimum=Y,W.maximum=z}),I._zod.check=(X)=>{let W=X.value;if(W<Y)X.issues.push({origin:"bigint",input:W,code:"too_small",minimum:Y,inclusive:!0,inst:I,continue:!J.abort});if(W>z)X.issues.push({origin:"bigint",input:W,code:"too_big",maximum:z,inclusive:!0,inst:I,continue:!J.abort})}}),PD=j0("$ZodCheckMaxSize",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(z)=>{let X=z.value;return!QX(X)&&X.size!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)z._zod.bag.maximum=J.maximum}),I._zod.check=(z)=>{let X=z.value;if(X.size<=J.maximum)return;z.issues.push({origin:V2(X),code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),qD=j0("$ZodCheckMinSize",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(z)=>{let X=z.value;return!QX(X)&&X.size!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)z._zod.bag.minimum=J.minimum}),I._zod.check=(z)=>{let X=z.value;if(X.size>=J.minimum)return;z.issues.push({origin:V2(X),code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),_D=j0("$ZodCheckSizeEquals",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(z)=>{let X=z.value;return!QX(X)&&X.size!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.minimum=J.size,X.maximum=J.size,X.size=J.size}),I._zod.check=(z)=>{let X=z.value,W=X.size;if(W===J.size)return;let Z=W>J.size;z.issues.push({origin:V2(X),...Z?{code:"too_big",maximum:J.size}:{code:"too_small",minimum:J.size},inclusive:!0,exact:!0,input:z.value,inst:I,continue:!J.abort})}}),ED=j0("$ZodCheckMaxLength",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(z)=>{let X=z.value;return!QX(X)&&X.length!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)z._zod.bag.maximum=J.maximum}),I._zod.check=(z)=>{let X=z.value;if(X.length<=J.maximum)return;let Z=H2(X);z.issues.push({origin:Z,code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),SD=j0("$ZodCheckMinLength",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(z)=>{let X=z.value;return!QX(X)&&X.length!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)z._zod.bag.minimum=J.minimum}),I._zod.check=(z)=>{let X=z.value;if(X.length>=J.minimum)return;let Z=H2(X);z.issues.push({origin:Z,code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),jD=j0("$ZodCheckLengthEquals",(I,J)=>{var Y;FU.init(I,J),(Y=I._zod.def).when??(Y.when=(z)=>{let X=z.value;return!QX(X)&&X.length!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.minimum=J.length,X.maximum=J.length,X.length=J.length}),I._zod.check=(z)=>{let X=z.value,W=X.length;if(W===J.length)return;let Z=H2(X),L=W>J.length;z.issues.push({origin:Z,...L?{code:"too_big",maximum:J.length}:{code:"too_small",minimum:J.length},inclusive:!0,exact:!0,input:z.value,inst:I,continue:!J.abort})}}),pQ=j0("$ZodCheckStringFormat",(I,J)=>{var Y,z;if(FU.init(I,J),I._zod.onattach.push((X)=>{let W=X._zod.bag;if(W.format=J.format,J.pattern)W.patterns??(W.patterns=new Set),W.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(z=I._zod).check??(z.check=()=>{})}),BD=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})}}),vD=j0("$ZodCheckLowerCase",(I,J)=>{J.pattern??(J.pattern=MD),pQ.init(I,J)}),ND=j0("$ZodCheckUpperCase",(I,J)=>{J.pattern??(J.pattern=AD),pQ.init(I,J)}),kD=j0("$ZodCheckIncludes",(I,J)=>{FU.init(I,J);let Y=y1(J.includes),z=new RegExp(typeof J.position==="number"?`^.{${J.position}}${Y}`:Y);J.pattern=z,I._zod.onattach.push((X)=>{let W=X._zod.bag;W.patterns??(W.patterns=new Set),W.patterns.add(z)}),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})}}),gD=j0("$ZodCheckStartsWith",(I,J)=>{FU.init(I,J);let Y=new RegExp(`^${y1(J.prefix)}.*`);J.pattern??(J.pattern=Y),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Y)}),I._zod.check=(z)=>{if(z.value.startsWith(J.prefix))return;z.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:J.prefix,input:z.value,inst:I,continue:!J.abort})}}),xD=j0("$ZodCheckEndsWith",(I,J)=>{FU.init(I,J);let Y=new RegExp(`.*${y1(J.suffix)}$`);J.pattern??(J.pattern=Y),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Y)}),I._zod.check=(z)=>{if(z.value.endsWith(J.suffix))return;z.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:J.suffix,input:z.value,inst:I,continue:!J.abort})}});function yS(I,J,Y){if(I.issues.length)J.issues.push(...s6(Y,I.issues))}var wD=j0("$ZodCheckProperty",(I,J)=>{FU.init(I,J),I._zod.check=(Y)=>{let z=J.schema._zod.run({value:Y.value[J.property],issues:[]},{});if(z instanceof Promise)return z.then((X)=>yS(X,Y,J.property));yS(z,Y,J.property);return}}),fD=j0("$ZodCheckMimeType",(I,J)=>{FU.init(I,J);let Y=new Set(J.mime);I._zod.onattach.push((z)=>{z._zod.bag.mime=J.mime}),I._zod.check=(z)=>{if(Y.has(z.value.type))return;z.issues.push({code:"invalid_value",values:J.mime,input:z.value.type,inst:I,continue:!J.abort})}}),yD=j0("$ZodCheckOverwrite",(I,J)=>{FU.init(I,J),I._zod.check=(Y)=>{Y.value=J.tx(Y.value)}});class cK{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((W)=>W),z=Math.min(...Y.map((W)=>W.length-W.trimStart().length)),X=Y.map((W)=>W.slice(z)).map((W)=>" ".repeat(this.indent*2)+W);for(let W of X)this.content.push(W)}compile(){let I=Function,J=this?.args,z=[...(this?.content??[""]).map((X)=>` ${X}`)];return new I(...J,z.join(`
259
+ `))}}var uD={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=uD;let z=[...I._zod.def.checks??[]];if(I._zod.traits.has("$ZodCheck"))z.unshift(I);for(let X of z)for(let W of X._zod.onattach)W(I);if(z.length===0)(Y=I._zod).deferred??(Y.deferred=[]),I._zod.deferred?.push(()=>{I._zod.run=I._zod.parse});else{let X=(Z,L,j)=>{let _=ZX(Z),E;for(let C of L){if(C._zod.def.when){if(cH(Z))continue;if(!C._zod.def.when(Z))continue}else if(_)continue;let q=Z.issues.length,B=C._zod.check(Z);if(B instanceof Promise&&j?.async===!1)throw new N4;if(E||B instanceof Promise)E=(E??Promise.resolve()).then(async()=>{if(await B,Z.issues.length===q)return;if(!_)_=ZX(Z,q)});else{if(Z.issues.length===q)continue;if(!_)_=ZX(Z,q)}}if(E)return E.then(()=>{return Z});return Z},W=(Z,L,j)=>{if(ZX(Z))return Z.aborted=!0,Z;let _=X(L,z,j);if(_ instanceof Promise){if(j.async===!1)throw new N4;return _.then((E)=>I._zod.parse(E,j))}return I._zod.parse(_,j)};I._zod.run=(Z,L)=>{if(L.skipChecks)return I._zod.parse(Z,L);if(L.direction==="backward"){let _=I._zod.parse({value:Z.value,issues:[]},{...L,skipChecks:!0});if(_ instanceof Promise)return _.then((E)=>{return W(E,Z,L)});return W(_,Z,L)}let j=I._zod.parse(Z,L);if(j instanceof Promise){if(L.async===!1)throw new N4;return j.then((_)=>X(_,z,L))}return X(j,z,L)}}h$(I,"~standard",()=>({validate:(X)=>{try{let W=mH(I,X);return W.success?{value:W.data}:{issues:W.error?.issues}}catch(W){return lH(I,X).then((Z)=>Z.success?{value:Z.data}:{issues:Z.error?.issues})}},vendor:"zod",version:1}))}),OJ=j0("$ZodString",(I,J)=>{E$.init(I,J),I._zod.pattern=[...I?._zod.bag?.patterns??[]].pop()??OD(I._zod.bag),I._zod.parse=(Y,z)=>{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}}),WU=j0("$ZodStringFormat",(I,J)=>{pQ.init(I,J),OJ.init(I,J)}),cD=j0("$ZodGUID",(I,J)=>{J.pattern??(J.pattern=sH),WU.init(I,J)}),hD=j0("$ZodUUID",(I,J)=>{if(J.version){let z={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[J.version];if(z===void 0)throw Error(`Invalid UUID version: "${J.version}"`);J.pattern??(J.pattern=zJ(z))}else J.pattern??(J.pattern=zJ());WU.init(I,J)}),pD=j0("$ZodEmail",(I,J)=>{J.pattern??(J.pattern=eH),WU.init(I,J)}),mD=j0("$ZodURL",(I,J)=>{WU.init(I,J),I._zod.check=(Y)=>{try{let z=Y.value.trim();if(!J.normalize&&J.protocol?.source===GD.source){if(!/^https?:\/\//i.test(z)){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(z);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=z;return}catch(z){Y.issues.push({code:"invalid_format",format:"url",input:Y.value,inst:I,continue:!J.abort})}}}),lD=j0("$ZodEmoji",(I,J)=>{J.pattern??(J.pattern=$D()),WU.init(I,J)}),dD=j0("$ZodNanoID",(I,J)=>{J.pattern??(J.pattern=tH),WU.init(I,J)}),nD=j0("$ZodCUID",(I,J)=>{J.pattern??(J.pattern=dH),WU.init(I,J)}),oD=j0("$ZodCUID2",(I,J)=>{J.pattern??(J.pattern=nH),WU.init(I,J)}),iD=j0("$ZodULID",(I,J)=>{J.pattern??(J.pattern=oH),WU.init(I,J)}),rD=j0("$ZodXID",(I,J)=>{J.pattern??(J.pattern=iH),WU.init(I,J)}),tD=j0("$ZodKSUID",(I,J)=>{J.pattern??(J.pattern=rH),WU.init(I,J)}),aD=j0("$ZodISODateTime",(I,J)=>{J.pattern??(J.pattern=zD(J)),WU.init(I,J)}),sD=j0("$ZodISODate",(I,J)=>{J.pattern??(J.pattern=KD),WU.init(I,J)}),eD=j0("$ZodISOTime",(I,J)=>{J.pattern??(J.pattern=WD(J)),WU.init(I,J)}),$F=j0("$ZodISODuration",(I,J)=>{J.pattern??(J.pattern=aH),WU.init(I,J)}),UF=j0("$ZodIPv4",(I,J)=>{J.pattern??(J.pattern=UD),WU.init(I,J),I._zod.bag.format="ipv4"}),IF=j0("$ZodIPv6",(I,J)=>{J.pattern??(J.pattern=ID),WU.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})}}}),XF=j0("$ZodMAC",(I,J)=>{J.pattern??(J.pattern=XD(J.delimiter)),WU.init(I,J),I._zod.bag.format="mac"}),JF=j0("$ZodCIDRv4",(I,J)=>{J.pattern??(J.pattern=JD),WU.init(I,J)}),QF=j0("$ZodCIDRv6",(I,J)=>{J.pattern??(J.pattern=QD),WU.init(I,J),I._zod.check=(Y)=>{let z=Y.value.split("/");try{if(z.length!==2)throw Error();let[X,W]=z;if(!W)throw Error();let Z=Number(W);if(`${Z}`!==W)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 YF(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 GF=j0("$ZodBase64",(I,J)=>{J.pattern??(J.pattern=YD),WU.init(I,J),I._zod.bag.contentEncoding="base64",I._zod.check=(Y)=>{if(YF(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64",input:Y.value,inst:I,continue:!J.abort})}});function $j(I){if(!yK.test(I))return!1;let J=I.replace(/[-_]/g,(z)=>z==="-"?"+":"/"),Y=J.padEnd(Math.ceil(J.length/4)*4,"=");return YF(Y)}var ZF=j0("$ZodBase64URL",(I,J)=>{J.pattern??(J.pattern=yK),WU.init(I,J),I._zod.bag.contentEncoding="base64url",I._zod.check=(Y)=>{if($j(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64url",input:Y.value,inst:I,continue:!J.abort})}}),KF=j0("$ZodE164",(I,J)=>{J.pattern??(J.pattern=ZD),WU.init(I,J)});function Uj(I,J=null){try{let Y=I.split(".");if(Y.length!==3)return!1;let[z]=Y;if(!z)return!1;let X=JSON.parse(atob(z));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 WF=j0("$ZodJWT",(I,J)=>{WU.init(I,J),I._zod.check=(Y)=>{if(Uj(Y.value,J.alg))return;Y.issues.push({code:"invalid_format",format:"jwt",input:Y.value,inst:I,continue:!J.abort})}}),zF=j0("$ZodCustomStringFormat",(I,J)=>{WU.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})}}),dK=j0("$ZodNumber",(I,J)=>{E$.init(I,J),I._zod.pattern=I._zod.bag.pattern??M2,I._zod.parse=(Y,z)=>{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 W=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,...W?{received:W}:{}}),Y}}),OF=j0("$ZodNumberFormat",(I,J)=>{TD.init(I,J),dK.init(I,J)}),T2=j0("$ZodBoolean",(I,J)=>{E$.init(I,J),I._zod.pattern=DD,I._zod.parse=(Y,z)=>{if(J.coerce)try{Y.value=Boolean(Y.value)}catch(W){}let X=Y.value;if(typeof X==="boolean")return Y;return Y.issues.push({expected:"boolean",code:"invalid_type",input:X,inst:I}),Y}}),nK=j0("$ZodBigInt",(I,J)=>{E$.init(I,J),I._zod.pattern=VD,I._zod.parse=(Y,z)=>{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}}),VF=j0("$ZodBigIntFormat",(I,J)=>{RD.init(I,J),nK.init(I,J)}),HF=j0("$ZodSymbol",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{let X=Y.value;if(typeof X==="symbol")return Y;return Y.issues.push({expected:"symbol",code:"invalid_type",input:X,inst:I}),Y}}),DF=j0("$ZodUndefined",(I,J)=>{E$.init(I,J),I._zod.pattern=LD,I._zod.values=new Set([void 0]),I._zod.parse=(Y,z)=>{let X=Y.value;if(typeof X>"u")return Y;return Y.issues.push({expected:"undefined",code:"invalid_type",input:X,inst:I}),Y}}),FF=j0("$ZodNull",(I,J)=>{E$.init(I,J),I._zod.pattern=FD,I._zod.values=new Set([null]),I._zod.parse=(Y,z)=>{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}),MF=j0("$ZodUnknown",(I,J)=>{E$.init(I,J),I._zod.parse=(Y)=>Y}),AF=j0("$ZodNever",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{return Y.issues.push({expected:"never",code:"invalid_type",input:Y.value,inst:I}),Y}}),CF=j0("$ZodVoid",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{let X=Y.value;if(typeof X>"u")return Y;return Y.issues.push({expected:"void",code:"invalid_type",input:X,inst:I}),Y}}),TF=j0("$ZodDate",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{if(J.coerce)try{Y.value=new Date(Y.value)}catch(L){}let X=Y.value,W=X instanceof Date;if(W&&!Number.isNaN(X.getTime()))return Y;return Y.issues.push({expected:"date",code:"invalid_type",input:X,...W?{received:"Invalid Date"}:{},inst:I}),Y}});function cS(I,J,Y){if(I.issues.length)J.issues.push(...s6(Y,I.issues));J.value[Y]=I.value}var RF=j0("$ZodArray",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{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 W=[];for(let Z=0;Z<X.length;Z++){let L=X[Z],j=J.element._zod.run({value:L,issues:[]},z);if(j instanceof Promise)W.push(j.then((_)=>cS(_,Y,Z)));else cS(j,Y,Z)}if(W.length)return Promise.all(W).then(()=>Y);return Y}});function lK(I,J,Y,z,X,W){let Z=Y in z;if(I.issues.length){if(X&&W&&!Z)return;J.issues.push(...s6(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 Ij(I){let J=Object.keys(I.shape);for(let z of J)if(!I.shape?.[z]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${z}": expected a Zod schema`);let Y=yH(I.shape);return{...I,keys:J,keySet:new Set(J),numKeys:J.length,optionalKeys:new Set(Y)}}function Xj(I,J,Y,z,X,W){let Z=[],L=X.keySet,j=X.catchall._zod,_=j.def.type,E=j.optin==="optional",C=j.optout==="optional";for(let q in J){if(q==="__proto__")continue;if(L.has(q))continue;if(_==="never"){Z.push(q);continue}let B=j.run({value:J[q],issues:[]},z);if(B instanceof Promise)I.push(B.then((N)=>lK(N,Y,q,J,E,C)));else lK(B,Y,q,J,E,C)}if(Z.length)Y.issues.push({code:"unrecognized_keys",keys:Z,input:J,inst:W});if(!I.length)return Y;return Promise.all(I).then(()=>{return Y})}var Jj=j0("$ZodObject",(I,J)=>{if(E$.init(I,J),!Object.getOwnPropertyDescriptor(J,"shape")?.get){let L=J.shape;Object.defineProperty(J,"shape",{get:()=>{let j={...L};return Object.defineProperty(J,"shape",{value:j}),j}})}let z=fQ(()=>Ij(J));h$(I._zod,"propValues",()=>{let L=J.shape,j={};for(let _ in L){let E=L[_]._zod;if(E.values){j[_]??(j[_]=new Set);for(let C of E.values)j[_].add(C)}}return j});let X=WJ,W=J.catchall,Z;I._zod.parse=(L,j)=>{Z??(Z=z.value);let _=L.value;if(!X(_))return L.issues.push({expected:"object",code:"invalid_type",input:_,inst:I}),L;L.value={};let E=[],C=Z.shape;for(let q of Z.keys){let B=C[q],N=B._zod.optin==="optional",f=B._zod.optout==="optional",w=B._zod.run({value:_[q],issues:[]},j);if(w instanceof Promise)E.push(w.then((b)=>lK(b,L,q,_,N,f)));else lK(w,L,q,_,N,f)}if(!W)return E.length?Promise.all(E).then(()=>L):L;return Xj(E,_,L,j,z.value,I)}}),PF=j0("$ZodObjectJIT",(I,J)=>{Jj.init(I,J);let Y=I._zod.parse,z=fQ(()=>Ij(J)),X=(q)=>{let B=new cK(["shape","payload","ctx"]),N=z.value,f=(u)=>{let p=_K(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 N.keys)w[u]=`key_${b++}`;B.write("const newResult = {};");for(let u of N.keys){let p=w[u],d=_K(u),a=q[u],D0=a?._zod?.optin==="optional",L0=a?._zod?.optout==="optional";if(B.write(`const ${p} = ${f(u)};`),D0&&L0)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(!D0)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 g=B.compile();return(u,p)=>g(q,u,p)},W,Z=WJ,L=!ZJ.jitless,_=L&&xH.value,E=J.catchall,C;I._zod.parse=(q,B)=>{C??(C=z.value);let N=q.value;if(!Z(N))return q.issues.push({expected:"object",code:"invalid_type",input:N,inst:I}),q;if(L&&_&&B?.async===!1&&B.jitless!==!0){if(!W)W=X(J.shape);if(q=W(q,B),!E)return q;return Xj([],N,q,B,C,I)}return Y(q,B)}});function hS(I,J,Y,z){for(let W of I)if(W.issues.length===0)return J.value=W.value,J;let X=I.filter((W)=>!ZX(W));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((W)=>W.issues.map((Z)=>b6(Z,z,tU())))}),J}var R2=j0("$ZodUnion",(I,J)=>{E$.init(I,J),h$(I._zod,"optin",()=>J.options.some((z)=>z._zod.optin==="optional")?"optional":void 0),h$(I._zod,"optout",()=>J.options.some((z)=>z._zod.optout==="optional")?"optional":void 0),h$(I._zod,"values",()=>{if(J.options.every((z)=>z._zod.values))return new Set(J.options.flatMap((z)=>Array.from(z._zod.values)));return}),h$(I._zod,"pattern",()=>{if(J.options.every((z)=>z._zod.pattern)){let z=J.options.map((X)=>X._zod.pattern);return new RegExp(`^(${z.map((X)=>z2(X.source)).join("|")})$`)}return});let Y=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(z,X)=>{if(Y)return Y(z,X);let W=!1,Z=[];for(let L of J.options){let j=L._zod.run({value:z.value,issues:[]},X);if(j instanceof Promise)Z.push(j),W=!0;else{if(j.issues.length===0)return j;Z.push(j)}}if(!W)return hS(Z,z,I,X);return Promise.all(Z).then((L)=>{return hS(L,z,I,X)})}});function pS(I,J,Y,z){let X=I.filter((W)=>W.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((W)=>W.issues.map((Z)=>b6(Z,z,tU())))});else J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:[],inclusive:!1});return J}var qF=j0("$ZodXor",(I,J)=>{R2.init(I,J),J.inclusive=!1;let Y=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(z,X)=>{if(Y)return Y(z,X);let W=!1,Z=[];for(let L of J.options){let j=L._zod.run({value:z.value,issues:[]},X);if(j instanceof Promise)Z.push(j),W=!0;else Z.push(j)}if(!W)return pS(Z,z,I,X);return Promise.all(Z).then((L)=>{return pS(L,z,I,X)})}}),_F=j0("$ZodDiscriminatedUnion",(I,J)=>{J.inclusive=!1,R2.init(I,J);let Y=I._zod.parse;h$(I._zod,"propValues",()=>{let X={};for(let W of J.options){let Z=W._zod.propValues;if(!Z||Object.keys(Z).length===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(W)}"`);for(let[L,j]of Object.entries(Z)){if(!X[L])X[L]=new Set;for(let _ of j)X[L].add(_)}}return X});let z=fQ(()=>{let X=J.options,W=new Map;for(let Z of X){let L=Z._zod.propValues?.[J.discriminator];if(!L||L.size===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(Z)}"`);for(let j of L){if(W.has(j))throw Error(`Duplicate discriminator value "${String(j)}"`);W.set(j,Z)}}return W});I._zod.parse=(X,W)=>{let Z=X.value;if(!WJ(Z))return X.issues.push({code:"invalid_type",expected:"object",input:Z,inst:I}),X;let L=z.value.get(Z?.[J.discriminator]);if(L)return L._zod.run(X,W);if(J.unionFallback||W.direction==="backward")return Y(X,W);return X.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:J.discriminator,options:Array.from(z.value.keys()),input:Z,path:[J.discriminator],inst:I}),X}}),EF=j0("$ZodIntersection",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{let X=Y.value,W=J.left._zod.run({value:X,issues:[]},z),Z=J.right._zod.run({value:X,issues:[]},z);if(W instanceof Promise||Z instanceof Promise)return Promise.all([W,Z]).then(([j,_])=>{return mS(Y,j,_)});return mS(Y,W,Z)}});function bD(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(GX(I)&&GX(J)){let Y=Object.keys(J),z=Object.keys(I).filter((W)=>Y.indexOf(W)!==-1),X={...I,...J};for(let W of z){let Z=bD(I[W],J[W]);if(!Z.valid)return{valid:!1,mergeErrorPath:[W,...Z.mergeErrorPath]};X[W]=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 z=0;z<I.length;z++){let X=I[z],W=J[z],Z=bD(X,W);if(!Z.valid)return{valid:!1,mergeErrorPath:[z,...Z.mergeErrorPath]};Y.push(Z.data)}return{valid:!0,data:Y}}return{valid:!1,mergeErrorPath:[]}}function mS(I,J,Y){let z=new Map,X;for(let L of J.issues)if(L.code==="unrecognized_keys"){X??(X=L);for(let j of L.keys){if(!z.has(j))z.set(j,{});z.get(j).l=!0}}else I.issues.push(L);for(let L of Y.issues)if(L.code==="unrecognized_keys")for(let j of L.keys){if(!z.has(j))z.set(j,{});z.get(j).r=!0}else I.issues.push(L);let W=[...z].filter(([,L])=>L.l&&L.r).map(([L])=>L);if(W.length&&X)I.issues.push({...X,keys:W});if(ZX(I))return I;let Z=bD(J.value,Y.value);if(!Z.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(Z.mergeErrorPath)}`);return I.value=Z.data,I}var oK=j0("$ZodTuple",(I,J)=>{E$.init(I,J);let Y=J.items;I._zod.parse=(z,X)=>{let W=z.value;if(!Array.isArray(W))return z.issues.push({input:W,inst:I,expected:"tuple",code:"invalid_type"}),z;z.value=[];let Z=[],L=lS(Y,"optin"),j=lS(Y,"optout");if(!J.rest){if(W.length<L)return z.issues.push({code:"too_small",minimum:L,inclusive:!0,input:W,inst:I,origin:"array"}),z;if(W.length>Y.length)z.issues.push({code:"too_big",maximum:Y.length,inclusive:!0,input:W,inst:I,origin:"array"})}let _=Array(Y.length);for(let E=0;E<Y.length;E++){let C=Y[E]._zod.run({value:W[E],issues:[]},X);if(C instanceof Promise)Z.push(C.then((q)=>{_[E]=q}));else _[E]=C}if(J.rest){let E=Y.length-1,C=W.slice(Y.length);for(let q of C){E++;let B=J.rest._zod.run({value:q,issues:[]},X);if(B instanceof Promise)Z.push(B.then((N)=>dS(N,z,E)));else dS(B,z,E)}}if(Z.length)return Promise.all(Z).then(()=>nS(_,z,Y,W,j));return nS(_,z,Y,W,j)}});function lS(I,J){for(let Y=I.length-1;Y>=0;Y--)if(I[Y]._zod[J]!=="optional")return Y+1;return 0}function dS(I,J,Y){if(I.issues.length)J.issues.push(...s6(Y,I.issues));J.value[Y]=I.value}function nS(I,J,Y,z,X){for(let W=0;W<Y.length;W++){let Z=I[W],L=W<z.length;if(Z.issues.length){if(!L&&W>=X){J.value.length=W;break}J.issues.push(...s6(W,Z.issues))}J.value[W]=Z.value}for(let W=J.value.length-1;W>=z.length;W--)if(Y[W]._zod.optout==="optional"&&J.value[W]===void 0)J.value.length=W;else break;return J}var SF=j0("$ZodRecord",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{let X=Y.value;if(!GX(X))return Y.issues.push({expected:"record",code:"invalid_type",input:X,inst:I}),Y;let W=[],Z=J.keyType._zod.values;if(Z){Y.value={};let L=new Set;for(let _ of Z)if(typeof _==="string"||typeof _==="number"||typeof _==="symbol"){L.add(typeof _==="number"?_.toString():_);let E=J.keyType._zod.run({value:_,issues:[]},z);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,z,tU())),input:_,path:[_],inst:I});continue}let C=E.value,q=J.valueType._zod.run({value:X[_],issues:[]},z);if(q instanceof Promise)W.push(q.then((B)=>{if(B.issues.length)Y.issues.push(...s6(_,B.issues));Y.value[C]=B.value}));else{if(q.issues.length)Y.issues.push(...s6(_,q.issues));Y.value[C]=q.value}}let j;for(let _ in X)if(!L.has(_))j=j??[],j.push(_);if(j&&j.length>0)Y.issues.push({code:"unrecognized_keys",input:X,inst:I,keys:j})}else{Y.value={};for(let L of Reflect.ownKeys(X)){if(L==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(X,L))continue;let j=J.keyType._zod.run({value:L,issues:[]},z);if(j instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof L==="string"&&M2.test(L)&&j.issues.length){let C=J.keyType._zod.run({value:Number(L),issues:[]},z);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[L]=X[L];else Y.issues.push({code:"invalid_key",origin:"record",issues:j.issues.map((C)=>b6(C,z,tU())),input:L,path:[L],inst:I});continue}let E=J.valueType._zod.run({value:X[L],issues:[]},z);if(E instanceof Promise)W.push(E.then((C)=>{if(C.issues.length)Y.issues.push(...s6(L,C.issues));Y.value[j.value]=C.value}));else{if(E.issues.length)Y.issues.push(...s6(L,E.issues));Y.value[j.value]=E.value}}}if(W.length)return Promise.all(W).then(()=>Y);return Y}}),jF=j0("$ZodMap",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{let X=Y.value;if(!(X instanceof Map))return Y.issues.push({expected:"map",code:"invalid_type",input:X,inst:I}),Y;let W=[];Y.value=new Map;for(let[Z,L]of X){let j=J.keyType._zod.run({value:Z,issues:[]},z),_=J.valueType._zod.run({value:L,issues:[]},z);if(j instanceof Promise||_ instanceof Promise)W.push(Promise.all([j,_]).then(([E,C])=>{oS(E,C,Y,Z,X,I,z)}));else oS(j,_,Y,Z,X,I,z)}if(W.length)return Promise.all(W).then(()=>Y);return Y}});function oS(I,J,Y,z,X,W,Z){if(I.issues.length)if(O2.has(typeof z))Y.issues.push(...s6(z,I.issues));else Y.issues.push({code:"invalid_key",origin:"map",input:X,inst:W,issues:I.issues.map((L)=>b6(L,Z,tU()))});if(J.issues.length)if(O2.has(typeof z))Y.issues.push(...s6(z,J.issues));else Y.issues.push({origin:"map",code:"invalid_element",input:X,inst:W,key:z,issues:J.issues.map((L)=>b6(L,Z,tU()))});Y.value.set(I.value,J.value)}var BF=j0("$ZodSet",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{let X=Y.value;if(!(X instanceof Set))return Y.issues.push({input:X,inst:I,expected:"set",code:"invalid_type"}),Y;let W=[];Y.value=new Set;for(let Z of X){let L=J.valueType._zod.run({value:Z,issues:[]},z);if(L instanceof Promise)W.push(L.then((j)=>iS(j,Y)));else iS(L,Y)}if(W.length)return Promise.all(W).then(()=>Y);return Y}});function iS(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=W2(J.entries),z=new Set(Y);I._zod.values=z,I._zod.pattern=new RegExp(`^(${Y.filter((X)=>O2.has(typeof X)).map((X)=>typeof X==="string"?y1(X):X.toString()).join("|")})$`),I._zod.parse=(X,W)=>{let Z=X.value;if(z.has(Z))return X;return X.issues.push({code:"invalid_value",values:Y,input:Z,inst:I}),X}}),NF=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((z)=>typeof z==="string"?y1(z):z?y1(z.toString()):String(z)).join("|")})$`),I._zod.parse=(z,X)=>{let W=z.value;if(Y.has(W))return z;return z.issues.push({code:"invalid_value",values:J.values,input:W,inst:I}),z}}),kF=j0("$ZodFile",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{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,z)=>{if(z.direction==="backward")throw new KJ(I.constructor.name);let X=J.transform(Y.value,Y);if(z.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 N4;return Y.value=X,Y.fallback=!0,Y}});function rS(I,J){if(J===void 0&&(I.issues.length||I.fallback))return{issues:[],value:void 0};return I}var iK=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(`^(${z2(Y.source)})?$`):void 0}),I._zod.parse=(Y,z)=>{if(J.innerType._zod.optin==="optional"){let X=Y.value,W=J.innerType._zod.run(Y,z);if(W instanceof Promise)return W.then((Z)=>rS(Z,X));return rS(W,X)}if(Y.value===void 0)return Y;return J.innerType._zod.run(Y,z)}}),xF=j0("$ZodExactOptional",(I,J)=>{iK.init(I,J),h$(I._zod,"values",()=>J.innerType._zod.values),h$(I._zod,"pattern",()=>J.innerType._zod.pattern),I._zod.parse=(Y,z)=>{return J.innerType._zod.run(Y,z)}}),wF=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(`^(${z2(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,z)=>{if(Y.value===null)return Y;return J.innerType._zod.run(Y,z)}}),fF=j0("$ZodDefault",(I,J)=>{E$.init(I,J),I._zod.optin="optional",h$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Y,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Y,z);if(Y.value===void 0)return Y.value=J.defaultValue,Y;let X=J.innerType._zod.run(Y,z);if(X instanceof Promise)return X.then((W)=>tS(W,J));return tS(X,J)}});function tS(I,J){if(I.value===void 0)I.value=J.defaultValue;return I}var yF=j0("$ZodPrefault",(I,J)=>{E$.init(I,J),I._zod.optin="optional",h$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Y,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Y,z);if(Y.value===void 0)Y.value=J.defaultValue;return J.innerType._zod.run(Y,z)}}),uF=j0("$ZodNonOptional",(I,J)=>{E$.init(I,J),h$(I._zod,"values",()=>{let Y=J.innerType._zod.values;return Y?new Set([...Y].filter((z)=>z!==void 0)):void 0}),I._zod.parse=(Y,z)=>{let X=J.innerType._zod.run(Y,z);if(X instanceof Promise)return X.then((W)=>aS(W,I));return aS(X,I)}});function aS(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 bF=j0("$ZodSuccess",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{if(z.direction==="backward")throw new KJ("ZodSuccess");let X=J.innerType._zod.run(Y,z);if(X instanceof Promise)return X.then((W)=>{return Y.value=W.issues.length===0,Y});return Y.value=X.issues.length===0,Y}}),cF=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,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Y,z);let X=J.innerType._zod.run(Y,z);if(X instanceof Promise)return X.then((W)=>{if(Y.value=W.value,W.issues.length)Y.value=J.catchValue({...Y,error:{issues:W.issues.map((Z)=>b6(Z,z,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((W)=>b6(W,z,tU()))},input:Y.value}),Y.issues=[],Y.fallback=!0;return Y}}),hF=j0("$ZodNaN",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{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}}),rK=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,z)=>{if(z.direction==="backward"){let W=J.out._zod.run(Y,z);if(W instanceof Promise)return W.then((Z)=>hK(Z,J.in,z));return hK(W,J.in,z)}let X=J.in._zod.run(Y,z);if(X instanceof Promise)return X.then((W)=>hK(W,J.out,z));return hK(X,J.out,z)}});function hK(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 P2=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,z)=>{if((z.direction||"forward")==="forward"){let W=J.in._zod.run(Y,z);if(W instanceof Promise)return W.then((Z)=>pK(Z,J,z));return pK(W,J,z)}else{let W=J.out._zod.run(Y,z);if(W instanceof Promise)return W.then((Z)=>pK(Z,J,z));return pK(W,J,z)}}});function pK(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((W)=>mK(I,W,J.out,Y));return mK(I,X,J.out,Y)}else{let X=J.reverseTransform(I.value,I);if(X instanceof Promise)return X.then((W)=>mK(I,W,J.in,Y));return mK(I,X,J.in,Y)}}function mK(I,J,Y,z){if(I.issues.length)return I.aborted=!0,I;return Y._zod.run({value:J,issues:I.issues},z)}var pF=j0("$ZodPreprocess",(I,J)=>{rK.init(I,J)}),mF=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,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Y,z);let X=J.innerType._zod.run(Y,z);if(X instanceof Promise)return X.then(sS);return sS(X)}});function sS(I){return I.value=Object.freeze(I.value),I}var lF=j0("$ZodTemplateLiteral",(I,J)=>{E$.init(I,J);let Y=[];for(let z of J.parts)if(typeof z==="object"&&z!==null){if(!z._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...z._zod.traits].shift()}`);let X=z._zod.pattern instanceof RegExp?z._zod.pattern.source:z._zod.pattern;if(!X)throw Error(`Invalid template literal part: ${z._zod.traits}`);let W=X.startsWith("^")?1:0,Z=X.endsWith("$")?X.length-1:X.length;Y.push(X.slice(W,Z))}else if(z===null||fH.has(typeof z))Y.push(y1(`${z}`));else throw Error(`Invalid template literal part: ${z}`);I._zod.pattern=new RegExp(`^${Y.join("")}$`),I._zod.parse=(z,X)=>{if(typeof z.value!=="string")return z.issues.push({input:z.value,inst:I,expected:"string",code:"invalid_type"}),z;if(I._zod.pattern.lastIndex=0,!I._zod.pattern.test(z.value))return z.issues.push({input:z.value,inst:I,code:"invalid_format",format:J.format??"template_literal",pattern:I._zod.pattern.source}),z;return z}}),dF=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(...z){let X=I._def.input?SK(I._def.input,z):z,W=Reflect.apply(Y,this,X);if(I._def.output)return SK(I._def.output,W);return W}},I.implementAsync=(Y)=>{if(typeof Y!=="function")throw Error("implementAsync() must be called with a function");return async function(...z){let X=I._def.input?await jK(I._def.input,z):z,W=await Reflect.apply(Y,this,X);if(I._def.output)return await jK(I._def.output,W);return W}},I._zod.parse=(Y,z)=>{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 z=I.constructor;if(Array.isArray(Y[0]))return new z({type:"function",input:new oK({type:"tuple",items:Y[0],rest:Y[1]}),output:I._def.output});return new z({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}),nF=j0("$ZodPromise",(I,J)=>{E$.init(I,J),I._zod.parse=(Y,z)=>{return Promise.resolve(Y.value).then((X)=>J.innerType._zod.run({value:X,issues:[]},z))}}),oF=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,z)=>{return I._zod.innerType._zod.run(Y,z)}}),iF=j0("$ZodCustom",(I,J)=>{FU.init(I,J),E$.init(I,J),I._zod.parse=(Y,z)=>{return Y},I._zod.check=(Y)=>{let z=Y.value,X=J.fn(z);if(X instanceof Promise)return X.then((W)=>eS(W,Y,z,I));eS(X,Y,z,I);return}});function eS(I,J,Y,z){if(!I){let X={code:"custom",input:Y,inst:z,path:[...z._zod.def.path??[]],continue:!z._zod.def.abort};if(z._zod.def.params)X.params=z._zod.def.params;J.issues.push(yQ(X))}}var j2={};x6(j2,{zhTW:()=>p5,zhCN:()=>h5,yo:()=>m5,vi:()=>c5,uz:()=>b5,ur:()=>u5,uk:()=>S2,ua:()=>y5,tr:()=>f5,th:()=>w5,ta:()=>x5,sv:()=>g5,sl:()=>k5,ru:()=>N5,ro:()=>v5,pt:()=>B5,ps:()=>S5,pl:()=>j5,ota:()=>E5,no:()=>_5,nl:()=>q5,ms:()=>P5,mk:()=>R5,lt:()=>T5,ko:()=>C5,km:()=>_2,kh:()=>A5,ka:()=>M5,ja:()=>L5,it:()=>F5,is:()=>D5,id:()=>H5,hy:()=>V5,hu:()=>O5,hr:()=>z5,he:()=>W5,frCA:()=>K5,fr:()=>Z5,fi:()=>G5,fa:()=>Y5,es:()=>Q5,eo:()=>J5,en:()=>q2,el:()=>X5,de:()=>I5,da:()=>U5,cs:()=>$5,ca:()=>eF,bg:()=>sF,be:()=>aF,az:()=>tF,ar:()=>rF});var Db=()=>{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:"مدخل"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${X.expected}، ولكن تم إدخال ${L}`;return`مدخلات غير مقبولة: يفترض إدخال ${W}، ولكن تم إدخال ${L}`}case"invalid_value":if(X.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${Q$(X.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return` أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${W} ${X.maximum.toString()} ${Z.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${W} ${X.minimum.toString()} ${Z.unit}`;return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${X.prefix}"`;if(W.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${W.suffix}"`;if(W.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${W.includes}"`;if(W.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${W.pattern}`;return`${Y[W.format]??X.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${X.divisor}`;case"unrecognized_keys":return`معرف${X.keys.length>1?"ات":""} غريب${X.keys.length>1?"ة":""}: ${w0(X.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${X.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${X.origin}`;default:return"مدخل غير مقبول"}}};function rF(){return{localeError:Db()}}var Fb=()=>{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"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Yanlış dəyər: gözlənilən instanceof ${X.expected}, daxil olan ${L}`;return`Yanlış dəyər: gözlənilən ${W}, daxil olan ${L}`}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: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${W}${X.maximum.toString()} ${Z.unit??"element"}`;return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Çox kiçik: gözlənilən ${X.origin} ${W}${X.minimum.toString()} ${Z.unit}`;return`Çox kiçik: gözlənilən ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Yanlış mətn: "${W.prefix}" ilə başlamalıdır`;if(W.format==="ends_with")return`Yanlış mətn: "${W.suffix}" ilə bitməlidir`;if(W.format==="includes")return`Yanlış mətn: "${W.includes}" daxil olmalıdır`;if(W.format==="regex")return`Yanlış mətn: ${W.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${Y[W.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":""}: ${w0(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 tF(){return{localeError:Fb()}}function Qj(I,J,Y,z){let X=Math.abs(I),W=X%10,Z=X%100;if(Z>=11&&Z<=19)return z;if(W===1)return J;if(W>=2&&W<=4)return Y;return z}var Lb=()=>{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:"увод"},z={nan:"NaN",number:"лік",array:"масіў"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Няправільны ўвод: чакаўся instanceof ${X.expected}, атрымана ${L}`;return`Няправільны ўвод: чакаўся ${W}, атрымана ${L}`}case"invalid_value":if(X.values.length===1)return`Няправільны ўвод: чакалася ${Q$(X.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),j=Qj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна ${Z.verb} ${W}${X.maximum.toString()} ${j}`}return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна быць ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),j=Qj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта малы: чакалася, што ${X.origin} павінна ${Z.verb} ${W}${X.minimum.toString()} ${j}`}return`Занадта малы: чакалася, што ${X.origin} павінна быць ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${W.prefix}"`;if(W.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${W.suffix}"`;if(W.format==="includes")return`Няправільны радок: павінен змяшчаць "${W.includes}"`;if(W.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${W.pattern}`;return`Няправільны ${Y[W.format]??X.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${X.keys.length>1?"ключы":"ключ"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${X.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${X.origin}`;default:return"Няправільны ўвод"}}};function aF(){return{localeError:Lb()}}var Mb=()=>{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:"вход"},z={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Невалиден вход: очакван instanceof ${X.expected}, получен ${L}`;return`Невалиден вход: очакван ${W}, получен ${L}`}case"invalid_value":if(X.values.length===1)return`Невалиден вход: очакван ${Q$(X.values[0])}`;return`Невалидна опция: очаквано едно от ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Твърде голямо: очаква се ${X.origin??"стойност"} да съдържа ${W}${X.maximum.toString()} ${Z.unit??"елемента"}`;return`Твърде голямо: очаква се ${X.origin??"стойност"} да бъде ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Твърде малко: очаква се ${X.origin} да съдържа ${W}${X.minimum.toString()} ${Z.unit}`;return`Твърде малко: очаква се ${X.origin} да бъде ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Невалиден низ: трябва да започва с "${W.prefix}"`;if(W.format==="ends_with")return`Невалиден низ: трябва да завършва с "${W.suffix}"`;if(W.format==="includes")return`Невалиден низ: трябва да включва "${W.includes}"`;if(W.format==="regex")return`Невалиден низ: трябва да съвпада с ${W.pattern}`;let Z="Невалиден";if(W.format==="emoji")Z="Невалидно";if(W.format==="datetime")Z="Невалидно";if(W.format==="date")Z="Невалидна";if(W.format==="time")Z="Невалидно";if(W.format==="duration")Z="Невалидна";return`${Z} ${Y[W.format]??X.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${X.divisor}`;case"unrecognized_keys":return`Неразпознат${X.keys.length>1?"и":""} ключ${X.keys.length>1?"ове":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${X.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${X.origin}`;default:return"Невалиден вход"}}};function sF(){return{localeError:Mb()}}var Ab=()=>{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"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Tipus invàlid: s'esperava instanceof ${X.expected}, s'ha rebut ${L}`;return`Tipus invàlid: s'esperava ${W}, s'ha rebut ${L}`}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 ${w0(X.values," o ")}`;case"too_big":{let W=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 ${W} ${X.maximum.toString()} ${Z.unit??"elements"}`;return`Massa gran: s'esperava que ${X.origin??"el valor"} fos ${W} ${X.maximum.toString()}`}case"too_small":{let W=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 ${W} ${X.minimum.toString()} ${Z.unit}`;return`Massa petit: s'esperava que ${X.origin} fos ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Format invàlid: ha de començar amb "${W.prefix}"`;if(W.format==="ends_with")return`Format invàlid: ha d'acabar amb "${W.suffix}"`;if(W.format==="includes")return`Format invàlid: ha d'incloure "${W.includes}"`;if(W.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${W.pattern}`;return`Format invàlid per a ${Y[W.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":""}: ${w0(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 eF(){return{localeError:Ab()}}var Cb=()=>{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"},z={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neplatný vstup: očekáváno instanceof ${X.expected}, obdrženo ${L}`;return`Neplatný vstup: očekáváno ${W}, obdrženo ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí mít ${W}${X.maximum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí být ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí mít ${W}${X.minimum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí být ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Neplatný řetězec: musí začínat na "${W.prefix}"`;if(W.format==="ends_with")return`Neplatný řetězec: musí končit na "${W.suffix}"`;if(W.format==="includes")return`Neplatný řetězec: musí obsahovat "${W.includes}"`;if(W.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${W.pattern}`;return`Neplatný formát ${Y[W.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: ${w0(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 $5(){return{localeError:Cb()}}var Tb=()=>{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"},z={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 W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ugyldigt input: forventede instanceof ${X.expected}, fik ${L}`;return`Ugyldigt input: forventede ${W}, fik ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`For stor: forventede ${L??"value"} ${Z.verb} ${W} ${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor: forventede ${L??"value"} havde ${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`For lille: forventede ${L} ${Z.verb} ${W} ${X.minimum.toString()} ${Z.unit}`;return`For lille: forventede ${L} havde ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ugyldig streng: skal starte med "${W.prefix}"`;if(W.format==="ends_with")return`Ugyldig streng: skal ende med "${W.suffix}"`;if(W.format==="includes")return`Ugyldig streng: skal indeholde "${W.includes}"`;if(W.format==="regex")return`Ugyldig streng: skal matche mønsteret ${W.pattern}`;return`Ugyldig ${Y[W.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"}: ${w0(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 U5(){return{localeError:Tb()}}var Rb=()=>{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"},z={nan:"NaN",number:"Zahl",array:"Array"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ungültige Eingabe: erwartet instanceof ${X.expected}, erhalten ${L}`;return`Ungültige Eingabe: erwartet ${W}, erhalten ${L}`}case"invalid_value":if(X.values.length===1)return`Ungültige Eingabe: erwartet ${Q$(X.values[0])}`;return`Ungültige Option: erwartet eine von ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${W}${X.maximum.toString()} ${Z.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${W}${X.maximum.toString()} ist`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Zu klein: erwartet, dass ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} hat`;return`Zu klein: erwartet, dass ${X.origin} ${W}${X.minimum.toString()} ist`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ungültiger String: muss mit "${W.prefix}" beginnen`;if(W.format==="ends_with")return`Ungültiger String: muss mit "${W.suffix}" enden`;if(W.format==="includes")return`Ungültiger String: muss "${W.includes}" enthalten`;if(W.format==="regex")return`Ungültiger String: muss dem Muster ${W.pattern} entsprechen`;return`Ungültig: ${Y[W.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"}: ${w0(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 I5(){return{localeError:Rb()}}var Pb=()=>{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:"είσοδος"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(typeof X.expected==="string"&&/^[A-Z]/.test(X.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${X.expected}, λήφθηκε ${L}`;return`Μη έγκυρη είσοδος: αναμενόταν ${W}, λήφθηκε ${L}`}case"invalid_value":if(X.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${Q$(X.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να έχει ${W}${X.maximum.toString()} ${Z.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να είναι ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Πολύ μικρό: αναμενόταν ${X.origin} να έχει ${W}${X.minimum.toString()} ${Z.unit}`;return`Πολύ μικρό: αναμενόταν ${X.origin} να είναι ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${W.prefix}"`;if(W.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${W.suffix}"`;if(W.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${W.includes}"`;if(W.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${W.pattern}`;return`Μη έγκυρο: ${Y[W.format]??X.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${X.divisor}`;case"unrecognized_keys":return`Άγνωστ${X.keys.length>1?"α":"ο"} κλειδ${X.keys.length>1?"ιά":"ί"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${X.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${X.origin}`;default:return"Μη έγκυρη είσοδος"}}};function X5(){return{localeError:Pb()}}var qb=()=>{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"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;return`Invalid input: expected ${W}, received ${L}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${Q$(X.values[0])}`;return`Invalid option: expected one of ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Too big: expected ${X.origin??"value"} to have ${W}${X.maximum.toString()} ${Z.unit??"elements"}`;return`Too big: expected ${X.origin??"value"} to be ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Too small: expected ${X.origin} to have ${W}${X.minimum.toString()} ${Z.unit}`;return`Too small: expected ${X.origin} to be ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Invalid string: must start with "${W.prefix}"`;if(W.format==="ends_with")return`Invalid string: must end with "${W.suffix}"`;if(W.format==="includes")return`Invalid string: must include "${W.includes}"`;if(W.format==="regex")return`Invalid string: must match pattern ${W.pattern}`;return`Invalid ${Y[W.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":""}: ${w0(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 q2(){return{localeError:qb()}}var _b=()=>{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"},z={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Nevalida enigo: atendiĝis instanceof ${X.expected}, riceviĝis ${L}`;return`Nevalida enigo: atendiĝis ${W}, riceviĝis ${L}`}case"invalid_value":if(X.values.length===1)return`Nevalida enigo: atendiĝis ${Q$(X.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${W}${X.maximum.toString()} ${Z.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Tro malgranda: atendiĝis ke ${X.origin} havu ${W}${X.minimum.toString()} ${Z.unit}`;return`Tro malgranda: atendiĝis ke ${X.origin} estu ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${W.prefix}"`;if(W.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${W.suffix}"`;if(W.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${W.includes}"`;if(W.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${W.pattern}`;return`Nevalida ${Y[W.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":""}: ${w0(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 J5(){return{localeError:_b()}}var Eb=()=>{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"},z={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 W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrada inválida: se esperaba instanceof ${X.expected}, recibido ${L}`;return`Entrada inválida: se esperaba ${W}, recibido ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Demasiado grande: se esperaba que ${L??"valor"} tuviera ${W}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${L??"valor"} fuera ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Demasiado pequeño: se esperaba que ${L} tuviera ${W}${X.minimum.toString()} ${Z.unit}`;return`Demasiado pequeño: se esperaba que ${L} fuera ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Cadena inválida: debe comenzar con "${W.prefix}"`;if(W.format==="ends_with")return`Cadena inválida: debe terminar en "${W.suffix}"`;if(W.format==="includes")return`Cadena inválida: debe incluir "${W.includes}"`;if(W.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${W.pattern}`;return`Inválido ${Y[W.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":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Llave inválida en ${z[X.origin]??X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${z[X.origin]??X.origin}`;default:return"Entrada inválida"}}};function Q5(){return{localeError:Eb()}}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:"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:"ورودی"},z={nan:"NaN",number:"عدد",array:"آرایه"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ورودی نامعتبر: می‌بایست instanceof ${X.expected} می‌بود، ${L} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${W} می‌بود، ${L} دریافت شد`}case"invalid_value":if(X.values.length===1)return`ورودی نامعتبر: می‌بایست ${Q$(X.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${w0(X.values,"|")} می‌بود`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${W}${X.maximum.toString()} ${Z.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${W}${X.maximum.toString()} باشد`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`خیلی کوچک: ${X.origin} باید ${W}${X.minimum.toString()} ${Z.unit} باشد`;return`خیلی کوچک: ${X.origin} باید ${W}${X.minimum.toString()} باشد`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`رشته نامعتبر: باید با "${W.prefix}" شروع شود`;if(W.format==="ends_with")return`رشته نامعتبر: باید با "${W.suffix}" تمام شود`;if(W.format==="includes")return`رشته نامعتبر: باید شامل "${W.includes}" باشد`;if(W.format==="regex")return`رشته نامعتبر: باید با الگوی ${W.pattern} مطابقت داشته باشد`;return`${Y[W.format]??X.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${X.divisor} باشد`;case"unrecognized_keys":return`کلید${X.keys.length>1?"های":""} ناشناس: ${w0(X.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${X.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${X.origin}`;default:return"ورودی نامعتبر"}}};function Y5(){return{localeError:Sb()}}var jb=()=>{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"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Virheellinen tyyppi: odotettiin instanceof ${X.expected}, oli ${L}`;return`Virheellinen tyyppi: odotettiin ${W}, oli ${L}`}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: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Liian suuri: ${Z.subject} täytyy olla ${W}${X.maximum.toString()} ${Z.unit}`.trim();return`Liian suuri: arvon täytyy olla ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Liian pieni: ${Z.subject} täytyy olla ${W}${X.minimum.toString()} ${Z.unit}`.trim();return`Liian pieni: arvon täytyy olla ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${W.prefix}"`;if(W.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${W.suffix}"`;if(W.format==="includes")return`Virheellinen syöte: täytyy sisältää "${W.includes}"`;if(W.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${W.pattern}`;return`Virheellinen ${Y[W.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"}: ${w0(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 G5(){return{localeError:jb()}}var Bb=()=>{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"},z={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 W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : instanceof ${X.expected} attendu, ${L} reçu`;return`Entrée invalide : ${W} attendu, ${L} 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 ${w0(X.values,"|")} attendue`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Trop grand : ${z[X.origin]??"valeur"} doit ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"élément(s)"}`;return`Trop grand : ${z[X.origin]??"valeur"} doit être ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Trop petit : ${z[X.origin]??"valeur"} doit ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Trop petit : ${z[X.origin]??"valeur"} doit être ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Chaîne invalide : doit commencer par "${W.prefix}"`;if(W.format==="ends_with")return`Chaîne invalide : doit se terminer par "${W.suffix}"`;if(W.format==="includes")return`Chaîne invalide : doit inclure "${W.includes}"`;if(W.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${W.pattern}`;return`${Y[W.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":""} : ${w0(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:Bb()}}var vb=()=>{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"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : attendu instanceof ${X.expected}, reçu ${L}`;return`Entrée invalide : attendu ${W}, reçu ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"≤":"<",Z=J(X.origin);if(Z)return`Trop grand : attendu que ${X.origin??"la valeur"} ait ${W}${X.maximum.toString()} ${Z.unit}`;return`Trop grand : attendu que ${X.origin??"la valeur"} soit ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?"≥":">",Z=J(X.origin);if(Z)return`Trop petit : attendu que ${X.origin} ait ${W}${X.minimum.toString()} ${Z.unit}`;return`Trop petit : attendu que ${X.origin} soit ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Chaîne invalide : doit commencer par "${W.prefix}"`;if(W.format==="ends_with")return`Chaîne invalide : doit se terminer par "${W.suffix}"`;if(W.format==="includes")return`Chaîne invalide : doit inclure "${W.includes}"`;if(W.format==="regex")return`Chaîne invalide : doit correspondre au motif ${W.pattern}`;return`${Y[W.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":""} : ${w0(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 K5(){return{localeError:vb()}}var Nb=()=>{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=(_)=>_?I[_]:void 0,z=(_)=>{let E=Y(_);if(E)return E.label;return _??I.unknown.label},X=(_)=>`ה${z(_)}`,W=(_)=>{return(Y(_)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},Z=(_)=>{if(!_)return null;return J[_]??null},L={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(_)=>{switch(_.code){case"invalid_type":{let E=_.expected,C=j[E??""]??z(E),q=Y$(_.input),B=j[q]??I[q]?.label??q;if(/^[A-Z]/.test(_.expected))return`קלט לא תקין: צריך להיות instanceof ${_.expected}, התקבל ${B}`;return`קלט לא תקין: צריך להיות ${C}, התקבל ${B}`}case"invalid_value":{if(_.values.length===1)return`ערך לא תקין: הערך חייב להיות ${Q$(_.values[0])}`;let E=_.values.map((B)=>Q$(B));if(_.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(_.origin),C=X(_.origin??"value");if(_.origin==="string")return`${E?.longLabel??"ארוך"} מדי: ${C} צריכה להכיל ${_.maximum.toString()} ${E?.unit??""} ${_.inclusive?"או פחות":"לכל היותר"}`.trim();if(_.origin==="number"){let N=_.inclusive?`קטן או שווה ל-${_.maximum}`:`קטן מ-${_.maximum}`;return`גדול מדי: ${C} צריך להיות ${N}`}if(_.origin==="array"||_.origin==="set"){let N=_.origin==="set"?"צריכה":"צריך",f=_.inclusive?`${_.maximum} ${E?.unit??""} או פחות`:`פחות מ-${_.maximum} ${E?.unit??""}`;return`גדול מדי: ${C} ${N} להכיל ${f}`.trim()}let q=_.inclusive?"<=":"<",B=W(_.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(_.origin),C=X(_.origin??"value");if(_.origin==="string")return`${E?.shortLabel??"קצר"} מדי: ${C} צריכה להכיל ${_.minimum.toString()} ${E?.unit??""} ${_.inclusive?"או יותר":"לפחות"}`.trim();if(_.origin==="number"){let N=_.inclusive?`גדול או שווה ל-${_.minimum}`:`גדול מ-${_.minimum}`;return`קטן מדי: ${C} צריך להיות ${N}`}if(_.origin==="array"||_.origin==="set"){let N=_.origin==="set"?"צריכה":"צריך";if(_.minimum===1&&_.inclusive){let w=_.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${C} ${N} להכיל ${w}`}let f=_.inclusive?`${_.minimum} ${E?.unit??""} או יותר`:`יותר מ-${_.minimum} ${E?.unit??""}`;return`קטן מדי: ${C} ${N} להכיל ${f}`.trim()}let q=_.inclusive?">=":">",B=W(_.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=_;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=L[E.format],q=C?.label??E.format,N=(C?.gender??"m")==="f"?"תקינה":"תקין";return`${q} לא ${N}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${_.divisor}`;case"unrecognized_keys":return`מפתח${_.keys.length>1?"ות":""} לא מזוה${_.keys.length>1?"ים":"ה"}: ${w0(_.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${X(_.origin??"array")}`;default:return"קלט לא תקין"}}};function W5(){return{localeError:Nb()}}var kb=()=>{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"},z={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 W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neispravan unos: očekuje se instanceof ${X.expected}, a primljeno je ${L}`;return`Neispravan unos: očekuje se ${W}, a primljeno je ${L}`}case"invalid_value":if(X.values.length===1)return`Neispravna vrijednost: očekivano ${Q$(X.values[0])}`;return`Neispravna opcija: očekivano jedno od ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Preveliko: očekivano da ${L??"vrijednost"} ima ${W}${X.maximum.toString()} ${Z.unit??"elemenata"}`;return`Preveliko: očekivano da ${L??"vrijednost"} bude ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Premalo: očekivano da ${L} ima ${W}${X.minimum.toString()} ${Z.unit}`;return`Premalo: očekivano da ${L} bude ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Neispravan tekst: mora započinjati s "${W.prefix}"`;if(W.format==="ends_with")return`Neispravan tekst: mora završavati s "${W.suffix}"`;if(W.format==="includes")return`Neispravan tekst: mora sadržavati "${W.includes}"`;if(W.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${W.pattern}`;return`Neispravna ${Y[W.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č"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${z[X.origin]??X.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${z[X.origin]??X.origin}`;default:return"Neispravan unos"}}};function z5(){return{localeError:kb()}}var gb=()=>{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"},z={nan:"NaN",number:"szám",array:"tömb"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Érvénytelen bemenet: a várt érték instanceof ${X.expected}, a kapott érték ${L}`;return`Érvénytelen bemenet: a várt érték ${W}, a kapott érték ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Túl nagy: ${X.origin??"érték"} mérete túl nagy ${W}${X.maximum.toString()} ${Z.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${X.origin??"érték"} túl nagy: ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Túl kicsi: a bemeneti érték ${X.origin} mérete túl kicsi ${W}${X.minimum.toString()} ${Z.unit}`;return`Túl kicsi: a bemeneti érték ${X.origin} túl kicsi ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Érvénytelen string: "${W.prefix}" értékkel kell kezdődnie`;if(W.format==="ends_with")return`Érvénytelen string: "${W.suffix}" értékkel kell végződnie`;if(W.format==="includes")return`Érvénytelen string: "${W.includes}" értéket kell tartalmaznia`;if(W.format==="regex")return`Érvénytelen string: ${W.pattern} mintának kell megfelelnie`;return`Érvénytelen ${Y[W.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":""}: ${w0(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 O5(){return{localeError:gb()}}function Yj(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 xb=()=>{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:"մուտք"},z={nan:"NaN",number:"թիվ",array:"զանգված"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${X.expected}, ստացվել է ${L}`;return`Սխալ մուտքագրում․ սպասվում էր ${W}, ստացվել է ${L}`}case"invalid_value":if(X.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${Q$(X.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),j=Yj(L,Z.unit.one,Z.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mQ(X.origin??"արժեք")} կունենա ${W}${X.maximum.toString()} ${j}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mQ(X.origin??"արժեք")} լինի ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),j=Yj(L,Z.unit.one,Z.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mQ(X.origin)} կունենա ${W}${X.minimum.toString()} ${j}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mQ(X.origin)} լինի ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${W.prefix}"-ով`;if(W.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${W.suffix}"-ով`;if(W.format==="includes")return`Սխալ տող․ պետք է պարունակի "${W.includes}"`;if(W.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${W.pattern} ձևաչափին`;return`Սխալ ${Y[W.format]??X.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${X.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${X.keys.length>1?"ներ":""}. ${w0(X.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${mQ(X.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${mQ(X.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function V5(){return{localeError:xb()}}var wb=()=>{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"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input tidak valid: diharapkan instanceof ${X.expected}, diterima ${L}`;return`Input tidak valid: diharapkan ${W}, diterima ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: diharapkan ${X.origin??"value"} memiliki ${W}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: diharapkan ${X.origin??"value"} menjadi ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: diharapkan ${X.origin} memiliki ${W}${X.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: diharapkan ${X.origin} menjadi ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`String tidak valid: harus dimulai dengan "${W.prefix}"`;if(W.format==="ends_with")return`String tidak valid: harus berakhir dengan "${W.suffix}"`;if(W.format==="includes")return`String tidak valid: harus menyertakan "${W.includes}"`;if(W.format==="regex")return`String tidak valid: harus sesuai pola ${W.pattern}`;return`${Y[W.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":""}: ${w0(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:wb()}}var fb=()=>{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"},z={nan:"NaN",number:"númer",array:"fylki"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera instanceof ${X.expected}`;return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera ${W}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} hafi ${W}${X.maximum.toString()} ${Z.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} sé ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Of lítið: gert er ráð fyrir að ${X.origin} hafi ${W}${X.minimum.toString()} ${Z.unit}`;return`Of lítið: gert er ráð fyrir að ${X.origin} sé ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ógildur strengur: verður að byrja á "${W.prefix}"`;if(W.format==="ends_with")return`Ógildur strengur: verður að enda á "${W.suffix}"`;if(W.format==="includes")return`Ógildur strengur: verður að innihalda "${W.includes}"`;if(W.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${W.pattern}`;return`Rangt ${Y[W.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"}: ${w0(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 D5(){return{localeError:fb()}}var yb=()=>{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"},z={nan:"NaN",number:"numero",array:"vettore"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input non valido: atteso instanceof ${X.expected}, ricevuto ${L}`;return`Input non valido: atteso ${W}, ricevuto ${L}`}case"invalid_value":if(X.values.length===1)return`Input non valido: atteso ${Q$(X.values[0])}`;return`Opzione non valida: atteso uno tra ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Troppo grande: ${X.origin??"valore"} deve avere ${W}${X.maximum.toString()} ${Z.unit??"elementi"}`;return`Troppo grande: ${X.origin??"valore"} deve essere ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Troppo piccolo: ${X.origin} deve avere ${W}${X.minimum.toString()} ${Z.unit}`;return`Troppo piccolo: ${X.origin} deve essere ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Stringa non valida: deve iniziare con "${W.prefix}"`;if(W.format==="ends_with")return`Stringa non valida: deve terminare con "${W.suffix}"`;if(W.format==="includes")return`Stringa non valida: deve includere "${W.includes}"`;if(W.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${W.pattern}`;return`Input non valido: ${Y[W.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"}: ${w0(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 F5(){return{localeError:yb()}}var ub=()=>{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:"入力値"},z={nan:"NaN",number:"数値",array:"配列"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`無効な入力: instanceof ${X.expected}が期待されましたが、${L}が入力されました`;return`無効な入力: ${W}が期待されましたが、${L}が入力されました`}case"invalid_value":if(X.values.length===1)return`無効な入力: ${Q$(X.values[0])}が期待されました`;return`無効な選択: ${w0(X.values,"、")}のいずれかである必要があります`;case"too_big":{let W=X.inclusive?"以下である":"より小さい",Z=J(X.origin);if(Z)return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${Z.unit??"要素"}${W}必要があります`;return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${W}必要があります`}case"too_small":{let W=X.inclusive?"以上である":"より大きい",Z=J(X.origin);if(Z)return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${Z.unit}${W}必要があります`;return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${W}必要があります`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`無効な文字列: "${W.prefix}"で始まる必要があります`;if(W.format==="ends_with")return`無効な文字列: "${W.suffix}"で終わる必要があります`;if(W.format==="includes")return`無効な文字列: "${W.includes}"を含む必要があります`;if(W.format==="regex")return`無効な文字列: パターン${W.pattern}に一致する必要があります`;return`無効な${Y[W.format]??X.format}`}case"not_multiple_of":return`無効な数値: ${X.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${X.keys.length>1?"群":""}: ${w0(X.keys,"、")}`;case"invalid_key":return`${X.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${X.origin}内の無効な値`;default:return"無効な入力"}}};function L5(){return{localeError:ub()}}var bb=()=>{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:"შეყვანა"},z={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${X.expected}, მიღებული ${L}`;return`არასწორი შეყვანა: მოსალოდნელი ${W}, მიღებული ${L}`}case"invalid_value":if(X.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${Q$(X.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${w0(X.values,"|")}-დან`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} იყოს ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} იყოს ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${W.prefix}"-ით`;if(W.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${W.suffix}"-ით`;if(W.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${W.includes}"-ს`;if(W.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${W.pattern}`;return`არასწორი ${Y[W.format]??X.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${X.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${X.keys.length>1?"ები":"ი"}: ${w0(X.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${X.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${X.origin}-ში`;default:return"არასწორი შეყვანა"}}};function M5(){return{localeError:bb()}}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:"កាលបរិច្ឆេទ និងម៉ោង 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:"ទិន្នន័យបញ្ចូល"},z={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${X.expected} ប៉ុន្តែទទួលបាន ${L}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${W} ប៉ុន្តែទទួលបាន ${L}`}case"invalid_value":if(X.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Q$(X.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${W} ${X.maximum.toString()} ${Z.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`តូចពេក៖ ត្រូវការ ${X.origin} ${W} ${X.minimum.toString()} ${Z.unit}`;return`តូចពេក៖ ត្រូវការ ${X.origin} ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${W.prefix}"`;if(W.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${W.suffix}"`;if(W.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${W.includes}"`;if(W.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${W.pattern}`;return`មិនត្រឹមត្រូវ៖ ${Y[W.format]??X.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${X.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${w0(X.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function _2(){return{localeError:cb()}}function A5(){return _2()}var hb=()=>{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:"입력"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`잘못된 입력: 예상 타입은 instanceof ${X.expected}, 받은 타입은 ${L}입니다`;return`잘못된 입력: 예상 타입은 ${W}, 받은 타입은 ${L}입니다`}case"invalid_value":if(X.values.length===1)return`잘못된 입력: 값은 ${Q$(X.values[0])} 이어야 합니다`;return`잘못된 옵션: ${w0(X.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let W=X.inclusive?"이하":"미만",Z=W==="미만"?"이어야 합니다":"여야 합니다",L=J(X.origin),j=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()}${j} ${W}${Z}`;return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()} ${W}${Z}`}case"too_small":{let W=X.inclusive?"이상":"초과",Z=W==="이상"?"이어야 합니다":"여야 합니다",L=J(X.origin),j=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()}${j} ${W}${Z}`;return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()} ${W}${Z}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`잘못된 문자열: "${W.prefix}"(으)로 시작해야 합니다`;if(W.format==="ends_with")return`잘못된 문자열: "${W.suffix}"(으)로 끝나야 합니다`;if(W.format==="includes")return`잘못된 문자열: "${W.includes}"을(를) 포함해야 합니다`;if(W.format==="regex")return`잘못된 문자열: 정규식 ${W.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${Y[W.format]??X.format}`}case"not_multiple_of":return`잘못된 숫자: ${X.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${w0(X.keys,", ")}`;case"invalid_key":return`잘못된 키: ${X.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${X.origin}`;default:return"잘못된 입력"}}};function C5(){return{localeError:hb()}}var E2=(I)=>{return I.charAt(0).toUpperCase()+I.slice(1)};function Gj(I){let J=Math.abs(I),Y=J%10,z=J%100;if(z>=11&&z<=19||Y===0)return"many";if(Y===1)return"one";return"few"}var pb=()=>{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,W,Z,L){let j=I[X]??null;if(j===null)return j;return{unit:j.unit[W],verb:j.verb[L][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"},z={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 W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Gautas tipas ${L}, o tikėtasi - instanceof ${X.expected}`;return`Gautas tipas ${L}, o tikėtasi - ${W}`}case"invalid_value":if(X.values.length===1)return`Privalo būti ${Q$(X.values[0])}`;return`Privalo būti vienas iš ${w0(X.values,"|")} pasirinkimų`;case"too_big":{let W=z[X.origin]??X.origin,Z=J(X.origin,Gj(Number(X.maximum)),X.inclusive??!1,"smaller");if(Z?.verb)return`${E2(W??X.origin??"reikšmė")} ${Z.verb} ${X.maximum.toString()} ${Z.unit??"elementų"}`;let L=X.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${E2(W??X.origin??"reikšmė")} turi būti ${L} ${X.maximum.toString()} ${Z?.unit}`}case"too_small":{let W=z[X.origin]??X.origin,Z=J(X.origin,Gj(Number(X.minimum)),X.inclusive??!1,"bigger");if(Z?.verb)return`${E2(W??X.origin??"reikšmė")} ${Z.verb} ${X.minimum.toString()} ${Z.unit??"elementų"}`;let L=X.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${E2(W??X.origin??"reikšmė")} turi būti ${L} ${X.minimum.toString()} ${Z?.unit}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Eilutė privalo prasidėti "${W.prefix}"`;if(W.format==="ends_with")return`Eilutė privalo pasibaigti "${W.suffix}"`;if(W.format==="includes")return`Eilutė privalo įtraukti "${W.includes}"`;if(W.format==="regex")return`Eilutė privalo atitikti ${W.pattern}`;return`Neteisingas ${Y[W.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"}: ${w0(X.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let W=z[X.origin]??X.origin;return`${E2(W??X.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function T5(){return{localeError:pb()}}var mb=()=>{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:"внес"},z={nan:"NaN",number:"број",array:"низа"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Грешен внес: се очекува instanceof ${X.expected}, примено ${L}`;return`Грешен внес: се очекува ${W}, примено ${L}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${Q$(X.values[0])}`;return`Грешана опција: се очекува една ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Премногу голем: се очекува ${X.origin??"вредноста"} да има ${W}${X.maximum.toString()} ${Z.unit??"елементи"}`;return`Премногу голем: се очекува ${X.origin??"вредноста"} да биде ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Премногу мал: се очекува ${X.origin} да има ${W}${X.minimum.toString()} ${Z.unit}`;return`Премногу мал: се очекува ${X.origin} да биде ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Неважечка низа: мора да започнува со "${W.prefix}"`;if(W.format==="ends_with")return`Неважечка низа: мора да завршува со "${W.suffix}"`;if(W.format==="includes")return`Неважечка низа: мора да вклучува "${W.includes}"`;if(W.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${W.pattern}`;return`Invalid ${Y[W.format]??X.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${X.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${X.origin}`;default:return"Грешен внес"}}};function R5(){return{localeError:mb()}}var lb=()=>{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"},z={nan:"NaN",number:"nombor"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input tidak sah: dijangka instanceof ${X.expected}, diterima ${L}`;return`Input tidak sah: dijangka ${W}, diterima ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: dijangka ${X.origin??"nilai"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: dijangka ${X.origin??"nilai"} adalah ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: dijangka ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: dijangka ${X.origin} adalah ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`String tidak sah: mesti bermula dengan "${W.prefix}"`;if(W.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${W.suffix}"`;if(W.format==="includes")return`String tidak sah: mesti mengandungi "${W.includes}"`;if(W.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${W.pattern}`;return`${Y[W.format]??X.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${X.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${w0(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 P5(){return{localeError:lb()}}var db=()=>{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"},z={nan:"NaN",number:"getal"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ongeldige invoer: verwacht instanceof ${X.expected}, ontving ${L}`;return`Ongeldige invoer: verwacht ${W}, ontving ${L}`}case"invalid_value":if(X.values.length===1)return`Ongeldige invoer: verwacht ${Q$(X.values[0])}`;return`Ongeldige optie: verwacht één van ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=X.origin==="date"?"laat":X.origin==="string"?"lang":"groot";if(Z)return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${W}${X.maximum.toString()} ${Z.unit??"elementen"} ${Z.verb}`;return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${W}${X.maximum.toString()} is`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=X.origin==="date"?"vroeg":X.origin==="string"?"kort":"klein";if(Z)return`Te ${L}: verwacht dat ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Te ${L}: verwacht dat ${X.origin} ${W}${X.minimum.toString()} is`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ongeldige tekst: moet met "${W.prefix}" beginnen`;if(W.format==="ends_with")return`Ongeldige tekst: moet op "${W.suffix}" eindigen`;if(W.format==="includes")return`Ongeldige tekst: moet "${W.includes}" bevatten`;if(W.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${W.pattern}`;return`Ongeldig: ${Y[W.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":""}: ${w0(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:db()}}var nb=()=>{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"},z={nan:"NaN",number:"tall",array:"liste"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ugyldig input: forventet instanceof ${X.expected}, fikk ${L}`;return`Ugyldig input: forventet ${W}, fikk ${L}`}case"invalid_value":if(X.values.length===1)return`Ugyldig verdi: forventet ${Q$(X.values[0])}`;return`Ugyldig valg: forventet en av ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`For stor(t): forventet ${X.origin??"value"} til å ha ${W}${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor(t): forventet ${X.origin??"value"} til å ha ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`For lite(n): forventet ${X.origin} til å ha ${W}${X.minimum.toString()} ${Z.unit}`;return`For lite(n): forventet ${X.origin} til å ha ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ugyldig streng: må starte med "${W.prefix}"`;if(W.format==="ends_with")return`Ugyldig streng: må ende med "${W.suffix}"`;if(W.format==="includes")return`Ugyldig streng: må inneholde "${W.includes}"`;if(W.format==="regex")return`Ugyldig streng: må matche mønsteret ${W.pattern}`;return`Ugyldig ${Y[W.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"}: ${w0(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 _5(){return{localeError:nb()}}var ob=()=>{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"},z={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Fâsit giren: umulan instanceof ${X.expected}, alınan ${L}`;return`Fâsit giren: umulan ${W}, alınan ${L}`}case"invalid_value":if(X.values.length===1)return`Fâsit giren: umulan ${Q$(X.values[0])}`;return`Fâsit tercih: mûteberler ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Fazla büyük: ${X.origin??"value"}, ${W}${X.maximum.toString()} ${Z.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${X.origin??"value"}, ${W}${X.maximum.toString()} olmalıydı.`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Fazla küçük: ${X.origin}, ${W}${X.minimum.toString()} ${Z.unit} sahip olmalıydı.`;return`Fazla küçük: ${X.origin}, ${W}${X.minimum.toString()} olmalıydı.`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Fâsit metin: "${W.prefix}" ile başlamalı.`;if(W.format==="ends_with")return`Fâsit metin: "${W.suffix}" ile bitmeli.`;if(W.format==="includes")return`Fâsit metin: "${W.includes}" ihtivâ etmeli.`;if(W.format==="regex")return`Fâsit metin: ${W.pattern} nakşına uymalı.`;return`Fâsit ${Y[W.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":""}: ${w0(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 E5(){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:"یو آر ال",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:"ورودي"},z={nan:"NaN",number:"عدد",array:"ارې"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ناسم ورودي: باید instanceof ${X.expected} وای, مګر ${L} ترلاسه شو`;return`ناسم ورودي: باید ${W} وای, مګر ${L} ترلاسه شو`}case"invalid_value":if(X.values.length===1)return`ناسم ورودي: باید ${Q$(X.values[0])} وای`;return`ناسم انتخاب: باید یو له ${w0(X.values,"|")} څخه وای`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ډیر لوی: ${X.origin??"ارزښت"} باید ${W}${X.maximum.toString()} ${Z.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${X.origin??"ارزښت"} باید ${W}${X.maximum.toString()} وي`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ډیر کوچنی: ${X.origin} باید ${W}${X.minimum.toString()} ${Z.unit} ولري`;return`ډیر کوچنی: ${X.origin} باید ${W}${X.minimum.toString()} وي`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`ناسم متن: باید د "${W.prefix}" سره پیل شي`;if(W.format==="ends_with")return`ناسم متن: باید د "${W.suffix}" سره پای ته ورسيږي`;if(W.format==="includes")return`ناسم متن: باید "${W.includes}" ولري`;if(W.format==="regex")return`ناسم متن: باید د ${W.pattern} سره مطابقت ولري`;return`${Y[W.format]??X.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${X.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${X.keys.length>1?"کلیډونه":"کلیډ"}: ${w0(X.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${X.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${X.origin} کې`;default:return"ناسمه ورودي"}}};function S5(){return{localeError:ib()}}var rb=()=>{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"},z={nan:"NaN",number:"liczba",array:"tablica"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${X.expected}, otrzymano ${L}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${W}, otrzymano ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Za duża wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${W}${X.maximum.toString()} ${Z.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Za mała wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${W}${X.minimum.toString()} ${Z.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${W.prefix}"`;if(W.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${W.suffix}"`;if(W.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${W.includes}"`;if(W.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${W.pattern}`;return`Nieprawidłow(y/a/e) ${Y[W.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":""}: ${w0(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 j5(){return{localeError:rb()}}var tb=()=>{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"},z={nan:"NaN",number:"número",null:"nulo"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Tipo inválido: esperado instanceof ${X.expected}, recebido ${L}`;return`Tipo inválido: esperado ${W}, recebido ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Muito grande: esperado que ${X.origin??"valor"} tivesse ${W}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Muito grande: esperado que ${X.origin??"valor"} fosse ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Muito pequeno: esperado que ${X.origin} tivesse ${W}${X.minimum.toString()} ${Z.unit}`;return`Muito pequeno: esperado que ${X.origin} fosse ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Texto inválido: deve começar com "${W.prefix}"`;if(W.format==="ends_with")return`Texto inválido: deve terminar com "${W.suffix}"`;if(W.format==="includes")return`Texto inválido: deve incluir "${W.includes}"`;if(W.format==="regex")return`Texto inválido: deve corresponder ao padrão ${W.pattern}`;return`${Y[W.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":""}: ${w0(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 B5(){return{localeError:tb()}}var ab=()=>{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"},z={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 W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;return`Intrare invalidă: așteptat ${W}, primit ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Prea mare: așteptat ca ${X.origin??"valoarea"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"elemente"}`;return`Prea mare: așteptat ca ${X.origin??"valoarea"} să fie ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Prea mic: așteptat ca ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Prea mic: așteptat ca ${X.origin} să fie ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${W.prefix}"`;if(W.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${W.suffix}"`;if(W.format==="includes")return`Șir invalid: trebuie să includă "${W.includes}"`;if(W.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${W.pattern}`;return`Format invalid: ${Y[W.format]??X.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${X.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${w0(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:ab()}}function Zj(I,J,Y,z){let X=Math.abs(I),W=X%10,Z=X%100;if(Z>=11&&Z<=19)return z;if(W===1)return J;if(W>=2&&W<=4)return Y;return z}var sb=()=>{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:"ввод"},z={nan:"NaN",number:"число",array:"массив"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Неверный ввод: ожидалось instanceof ${X.expected}, получено ${L}`;return`Неверный ввод: ожидалось ${W}, получено ${L}`}case"invalid_value":if(X.values.length===1)return`Неверный ввод: ожидалось ${Q$(X.values[0])}`;return`Неверный вариант: ожидалось одно из ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),j=Zj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет иметь ${W}${X.maximum.toString()} ${j}`}return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),j=Zj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком маленькое значение: ожидалось, что ${X.origin} будет иметь ${W}${X.minimum.toString()} ${j}`}return`Слишком маленькое значение: ожидалось, что ${X.origin} будет ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Неверная строка: должна начинаться с "${W.prefix}"`;if(W.format==="ends_with")return`Неверная строка: должна заканчиваться на "${W.suffix}"`;if(W.format==="includes")return`Неверная строка: должна содержать "${W.includes}"`;if(W.format==="regex")return`Неверная строка: должна соответствовать шаблону ${W.pattern}`;return`Неверный ${Y[W.format]??X.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспознанн${X.keys.length>1?"ые":"ый"} ключ${X.keys.length>1?"и":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${X.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${X.origin}`;default:return"Неверные входные данные"}}};function N5(){return{localeError:sb()}}var eb=()=>{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"},z={nan:"NaN",number:"število",array:"tabela"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neveljaven vnos: pričakovano instanceof ${X.expected}, prejeto ${L}`;return`Neveljaven vnos: pričakovano ${W}, prejeto ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} imelo ${W}${X.maximum.toString()} ${Z.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Premajhno: pričakovano, da bo ${X.origin} imelo ${W}${X.minimum.toString()} ${Z.unit}`;return`Premajhno: pričakovano, da bo ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Neveljaven niz: mora se začeti z "${W.prefix}"`;if(W.format==="ends_with")return`Neveljaven niz: mora se končati z "${W.suffix}"`;if(W.format==="includes")return`Neveljaven niz: mora vsebovati "${W.includes}"`;if(W.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${W.pattern}`;return`Neveljaven ${Y[W.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č"}: ${w0(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 k5(){return{localeError:eb()}}var $c=()=>{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"},z={nan:"NaN",number:"antal",array:"lista"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ogiltig inmatning: förväntat instanceof ${X.expected}, fick ${L}`;return`Ogiltig inmatning: förväntat ${W}, fick ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`För stor(t): förväntade ${X.origin??"värdet"} att ha ${W}${X.maximum.toString()} ${Z.unit??"element"}`;return`För stor(t): förväntat ${X.origin??"värdet"} att ha ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${W}${X.minimum.toString()} ${Z.unit}`;return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ogiltig sträng: måste börja med "${W.prefix}"`;if(W.format==="ends_with")return`Ogiltig sträng: måste sluta med "${W.suffix}"`;if(W.format==="includes")return`Ogiltig sträng: måste innehålla "${W.includes}"`;if(W.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${W.pattern}"`;return`Ogiltig(t) ${Y[W.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"}: ${w0(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:$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:"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"},z={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${X.expected}, பெறப்பட்டது ${L}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${W}, பெறப்பட்டது ${L}`}case"invalid_value":if(X.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Q$(X.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${w0(X.values,"|")} இல் ஒன்று`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${W}${X.maximum.toString()} ${Z.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${W}${X.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${W}${X.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`தவறான சரம்: "${W.prefix}" இல் தொடங்க வேண்டும்`;if(W.format==="ends_with")return`தவறான சரம்: "${W.suffix}" இல் முடிவடைய வேண்டும்`;if(W.format==="includes")return`தவறான சரம்: "${W.includes}" ஐ உள்ளடக்க வேண்டும்`;if(W.format==="regex")return`தவறான சரம்: ${W.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${Y[W.format]??X.format}`}case"not_multiple_of":return`தவறான எண்: ${X.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${X.keys.length>1?"கள்":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${X.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function x5(){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:"อิโมจิ",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:"ข้อมูลที่ป้อน"},z={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${X.expected} แต่ได้รับ ${L}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${W} แต่ได้รับ ${L}`}case"invalid_value":if(X.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${Q$(X.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"ไม่เกิน":"น้อยกว่า",Z=J(X.origin);if(Z)return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${W} ${X.maximum.toString()} ${Z.unit??"รายการ"}`;return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?"อย่างน้อย":"มากกว่า",Z=J(X.origin);if(Z)return`น้อยกว่ากำหนด: ${X.origin} ควรมี${W} ${X.minimum.toString()} ${Z.unit}`;return`น้อยกว่ากำหนด: ${X.origin} ควรมี${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${W.prefix}"`;if(W.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${W.suffix}"`;if(W.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${W.includes}" อยู่ในข้อความ`;if(W.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${W.pattern}`;return`รูปแบบไม่ถูกต้อง: ${Y[W.format]??X.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${X.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${w0(X.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${X.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${X.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function w5(){return{localeError:Ic()}}var Xc=()=>{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"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Geçersiz değer: beklenen instanceof ${X.expected}, alınan ${L}`;return`Geçersiz değer: beklenen ${W}, alınan ${L}`}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ı: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çok büyük: beklenen ${X.origin??"değer"} ${W}${X.maximum.toString()} ${Z.unit??"öğe"}`;return`Çok büyük: beklenen ${X.origin??"değer"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Çok küçük: beklenen ${X.origin} ${W}${X.minimum.toString()} ${Z.unit}`;return`Çok küçük: beklenen ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Geçersiz metin: "${W.prefix}" ile başlamalı`;if(W.format==="ends_with")return`Geçersiz metin: "${W.suffix}" ile bitmeli`;if(W.format==="includes")return`Geçersiz metin: "${W.includes}" içermeli`;if(W.format==="regex")return`Geçersiz metin: ${W.pattern} desenine uymalı`;return`Geçersiz ${Y[W.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":""}: ${w0(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 f5(){return{localeError:Xc()}}var Jc=()=>{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:"вхідні дані"},z={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Неправильні вхідні дані: очікується instanceof ${X.expected}, отримано ${L}`;return`Неправильні вхідні дані: очікується ${W}, отримано ${L}`}case"invalid_value":if(X.values.length===1)return`Неправильні вхідні дані: очікується ${Q$(X.values[0])}`;return`Неправильна опція: очікується одне з ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Занадто велике: очікується, що ${X.origin??"значення"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"елементів"}`;return`Занадто велике: очікується, що ${X.origin??"значення"} буде ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Занадто мале: очікується, що ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Занадто мале: очікується, що ${X.origin} буде ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Неправильний рядок: повинен починатися з "${W.prefix}"`;if(W.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${W.suffix}"`;if(W.format==="includes")return`Неправильний рядок: повинен містити "${W.includes}"`;if(W.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${W.pattern}`;return`Неправильний ${Y[W.format]??X.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${X.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${X.keys.length>1?"і":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${X.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${X.origin}`;default:return"Неправильні вхідні дані"}}};function S2(){return{localeError:Jc()}}function y5(){return S2()}var Qc=()=>{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:"ان پٹ"},z={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`غلط ان پٹ: instanceof ${X.expected} متوقع تھا، ${L} موصول ہوا`;return`غلط ان پٹ: ${W} متوقع تھا، ${L} موصول ہوا`}case"invalid_value":if(X.values.length===1)return`غلط ان پٹ: ${Q$(X.values[0])} متوقع تھا`;return`غلط آپشن: ${w0(X.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`بہت بڑا: ${X.origin??"ویلیو"} کے ${W}${X.maximum.toString()} ${Z.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${X.origin??"ویلیو"} کا ${W}${X.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`بہت چھوٹا: ${X.origin} کے ${W}${X.minimum.toString()} ${Z.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${X.origin} کا ${W}${X.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`غلط سٹرنگ: "${W.prefix}" سے شروع ہونا چاہیے`;if(W.format==="ends_with")return`غلط سٹرنگ: "${W.suffix}" پر ختم ہونا چاہیے`;if(W.format==="includes")return`غلط سٹرنگ: "${W.includes}" شامل ہونا چاہیے`;if(W.format==="regex")return`غلط سٹرنگ: پیٹرن ${W.pattern} سے میچ ہونا چاہیے`;return`غلط ${Y[W.format]??X.format}`}case"not_multiple_of":return`غلط نمبر: ${X.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${X.keys.length>1?"ز":""}: ${w0(X.keys,"، ")}`;case"invalid_key":return`${X.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${X.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function u5(){return{localeError:Qc()}}var Yc=()=>{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"},z={nan:"NaN",number:"raqam",array:"massiv"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${X.expected}, qabul qilingan ${L}`;return`Noto‘g‘ri kirish: kutilgan ${W}, qabul qilingan ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Juda katta: kutilgan ${X.origin??"qiymat"} ${W}${X.maximum.toString()} ${Z.unit} ${Z.verb}`;return`Juda katta: kutilgan ${X.origin??"qiymat"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Juda kichik: kutilgan ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Juda kichik: kutilgan ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Noto‘g‘ri satr: "${W.prefix}" bilan boshlanishi kerak`;if(W.format==="ends_with")return`Noto‘g‘ri satr: "${W.suffix}" bilan tugashi kerak`;if(W.format==="includes")return`Noto‘g‘ri satr: "${W.includes}" ni o‘z ichiga olishi kerak`;if(W.format==="regex")return`Noto‘g‘ri satr: ${W.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${Y[W.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":""}: ${w0(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 b5(){return{localeError:Yc()}}var Gc=()=>{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"},z={nan:"NaN",number:"số",array:"mảng"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[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 ${L}`;return`Đầu vào không hợp lệ: mong đợi ${W}, nhận được ${L}`}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ị ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"phần tử"}`;return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Quá nhỏ: mong đợi ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Quá nhỏ: mong đợi ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${W.prefix}"`;if(W.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${W.suffix}"`;if(W.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${W.includes}"`;if(W.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${W.pattern}`;return`${Y[W.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: ${w0(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 c5(){return{localeError:Gc()}}var Zc=()=>{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:"输入"},z={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`无效输入:期望 instanceof ${X.expected},实际接收 ${L}`;return`无效输入:期望 ${W},实际接收 ${L}`}case"invalid_value":if(X.values.length===1)return`无效输入:期望 ${Q$(X.values[0])}`;return`无效选项:期望以下之一 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`数值过大:期望 ${X.origin??"值"} ${W}${X.maximum.toString()} ${Z.unit??"个元素"}`;return`数值过大:期望 ${X.origin??"值"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`数值过小:期望 ${X.origin} ${W}${X.minimum.toString()} ${Z.unit}`;return`数值过小:期望 ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`无效字符串:必须以 "${W.prefix}" 开头`;if(W.format==="ends_with")return`无效字符串:必须以 "${W.suffix}" 结尾`;if(W.format==="includes")return`无效字符串:必须包含 "${W.includes}"`;if(W.format==="regex")return`无效字符串:必须满足正则表达式 ${W.pattern}`;return`无效${Y[W.format]??X.format}`}case"not_multiple_of":return`无效数字:必须是 ${X.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${X.origin} 中包含无效值(value)`;default:return"无效输入"}}};function h5(){return{localeError:Zc()}}var Kc=()=>{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:"輸入"},z={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`無效的輸入值:預期為 instanceof ${X.expected},但收到 ${L}`;return`無效的輸入值:預期為 ${W},但收到 ${L}`}case"invalid_value":if(X.values.length===1)return`無效的輸入值:預期為 ${Q$(X.values[0])}`;return`無效的選項:預期為以下其中之一 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`數值過大:預期 ${X.origin??"值"} 應為 ${W}${X.maximum.toString()} ${Z.unit??"個元素"}`;return`數值過大:預期 ${X.origin??"值"} 應為 ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`數值過小:預期 ${X.origin} 應為 ${W}${X.minimum.toString()} ${Z.unit}`;return`數值過小:預期 ${X.origin} 應為 ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`無效的字串:必須以 "${W.prefix}" 開頭`;if(W.format==="ends_with")return`無效的字串:必須以 "${W.suffix}" 結尾`;if(W.format==="includes")return`無效的字串:必須包含 "${W.includes}"`;if(W.format==="regex")return`無效的字串:必須符合格式 ${W.pattern}`;return`無效的 ${Y[W.format]??X.format}`}case"not_multiple_of":return`無效的數字:必須為 ${X.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${X.keys.length>1?"們":""}:${w0(X.keys,"、")}`;case"invalid_key":return`${X.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${X.origin} 中有無效的值`;default:return"無效的輸入值"}}};function p5(){return{localeError:Kc()}}var Wc=()=>{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é"},z={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Y$(X.input),L=z[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í ${L}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${W}, àmọ̀ a rí ${L}`}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 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${X.origin??"iye"} ${Z.verb} ${W}${X.maximum} ${Z.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${W}${X.maximum}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Kéré ju: a ní láti jẹ́ pé ${X.origin} ${Z.verb} ${W}${X.minimum} ${Z.unit}`;return`Kéré ju: a ní láti jẹ́ ${W}${X.minimum}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${W.prefix}"`;if(W.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${W.suffix}"`;if(W.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${W.includes}"`;if(W.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${W.pattern}`;return`Aṣìṣe: ${Y[W.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ọ̀: ${w0(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 m5(){return{localeError:Wc()}}var Kj,l5=Symbol("ZodOutput"),d5=Symbol("ZodInput");class n5{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 z={...Y,...this._map.get(I)};return Object.keys(z).length?z:void 0}return this._map.get(I)}has(I){return this._map.has(I)}}function tK(){return new n5}(Kj=globalThis).__zod_globalRegistry??(Kj.__zod_globalRegistry=tK());var C6=globalThis.__zod_globalRegistry;function o5(I,J){return new I({type:"string",...K$(J)})}function i5(I,J){return new I({type:"string",coerce:!0,...K$(J)})}function aK(I,J){return new I({type:"string",format:"email",check:"string_format",abort:!1,...K$(J)})}function B2(I,J){return new I({type:"string",format:"guid",check:"string_format",abort:!1,...K$(J)})}function sK(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,...K$(J)})}function eK(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...K$(J)})}function $W(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...K$(J)})}function UW(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...K$(J)})}function v2(I,J){return new I({type:"string",format:"url",check:"string_format",abort:!1,...K$(J)})}function IW(I,J){return new I({type:"string",format:"emoji",check:"string_format",abort:!1,...K$(J)})}function XW(I,J){return new I({type:"string",format:"nanoid",check:"string_format",abort:!1,...K$(J)})}function JW(I,J){return new I({type:"string",format:"cuid",check:"string_format",abort:!1,...K$(J)})}function QW(I,J){return new I({type:"string",format:"cuid2",check:"string_format",abort:!1,...K$(J)})}function YW(I,J){return new I({type:"string",format:"ulid",check:"string_format",abort:!1,...K$(J)})}function GW(I,J){return new I({type:"string",format:"xid",check:"string_format",abort:!1,...K$(J)})}function ZW(I,J){return new I({type:"string",format:"ksuid",check:"string_format",abort:!1,...K$(J)})}function KW(I,J){return new I({type:"string",format:"ipv4",check:"string_format",abort:!1,...K$(J)})}function WW(I,J){return new I({type:"string",format:"ipv6",check:"string_format",abort:!1,...K$(J)})}function r5(I,J){return new I({type:"string",format:"mac",check:"string_format",abort:!1,...K$(J)})}function zW(I,J){return new I({type:"string",format:"cidrv4",check:"string_format",abort:!1,...K$(J)})}function OW(I,J){return new I({type:"string",format:"cidrv6",check:"string_format",abort:!1,...K$(J)})}function VW(I,J){return new I({type:"string",format:"base64",check:"string_format",abort:!1,...K$(J)})}function HW(I,J){return new I({type:"string",format:"base64url",check:"string_format",abort:!1,...K$(J)})}function DW(I,J){return new I({type:"string",format:"e164",check:"string_format",abort:!1,...K$(J)})}function FW(I,J){return new I({type:"string",format:"jwt",check:"string_format",abort:!1,...K$(J)})}var t5={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function a5(I,J){return new I({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...K$(J)})}function s5(I,J){return new I({type:"string",format:"date",check:"string_format",...K$(J)})}function e5(I,J){return new I({type:"string",format:"time",check:"string_format",precision:null,...K$(J)})}function $L(I,J){return new I({type:"string",format:"duration",check:"string_format",...K$(J)})}function UL(I,J){return new I({type:"number",checks:[],...K$(J)})}function IL(I,J){return new I({type:"number",coerce:!0,checks:[],...K$(J)})}function XL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"safeint",...K$(J)})}function JL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float32",...K$(J)})}function QL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float64",...K$(J)})}function YL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"int32",...K$(J)})}function GL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"uint32",...K$(J)})}function ZL(I,J){return new I({type:"boolean",...K$(J)})}function KL(I,J){return new I({type:"boolean",coerce:!0,...K$(J)})}function WL(I,J){return new I({type:"bigint",...K$(J)})}function zL(I,J){return new I({type:"bigint",coerce:!0,...K$(J)})}function OL(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...K$(J)})}function VL(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...K$(J)})}function HL(I,J){return new I({type:"symbol",...K$(J)})}function DL(I,J){return new I({type:"undefined",...K$(J)})}function FL(I,J){return new I({type:"null",...K$(J)})}function LL(I){return new I({type:"any"})}function ML(I){return new I({type:"unknown"})}function AL(I,J){return new I({type:"never",...K$(J)})}function CL(I,J){return new I({type:"void",...K$(J)})}function TL(I,J){return new I({type:"date",...K$(J)})}function RL(I,J){return new I({type:"date",coerce:!0,...K$(J)})}function PL(I,J){return new I({type:"nan",...K$(J)})}function k4(I,J){return new uK({check:"less_than",...K$(J),value:I,inclusive:!1})}function C1(I,J){return new uK({check:"less_than",...K$(J),value:I,inclusive:!0})}function g4(I,J){return new bK({check:"greater_than",...K$(J),value:I,inclusive:!1})}function c6(I,J){return new bK({check:"greater_than",...K$(J),value:I,inclusive:!0})}function LW(I){return g4(0,I)}function MW(I){return k4(0,I)}function AW(I){return C1(0,I)}function CW(I){return c6(0,I)}function KX(I,J){return new CD({check:"multiple_of",...K$(J),value:I})}function WX(I,J){return new PD({check:"max_size",...K$(J),maximum:I})}function x4(I,J){return new qD({check:"min_size",...K$(J),minimum:I})}function VJ(I,J){return new _D({check:"size_equals",...K$(J),size:I})}function HJ(I,J){return new ED({check:"max_length",...K$(J),maximum:I})}function OI(I,J){return new SD({check:"min_length",...K$(J),minimum:I})}function DJ(I,J){return new jD({check:"length_equals",...K$(J),length:I})}function lQ(I,J){return new BD({check:"string_format",format:"regex",...K$(J),pattern:I})}function dQ(I){return new vD({check:"string_format",format:"lowercase",...K$(I)})}function nQ(I){return new ND({check:"string_format",format:"uppercase",...K$(I)})}function oQ(I,J){return new kD({check:"string_format",format:"includes",...K$(J),includes:I})}function iQ(I,J){return new gD({check:"string_format",format:"starts_with",...K$(J),prefix:I})}function rQ(I,J){return new xD({check:"string_format",format:"ends_with",...K$(J),suffix:I})}function TW(I,J,Y){return new wD({check:"property",property:I,schema:J,...K$(Y)})}function tQ(I,J){return new fD({check:"mime_type",mime:I,...K$(J)})}function a1(I){return new yD({check:"overwrite",tx:I})}function aQ(I){return a1((J)=>J.normalize(I))}function sQ(){return a1((I)=>I.trim())}function eQ(){return a1((I)=>I.toLowerCase())}function $Y(){return a1((I)=>I.toUpperCase())}function UY(){return a1((I)=>gH(I))}function qL(I,J,Y){return new I({type:"array",element:J,...K$(Y)})}function Oc(I,J,Y){return new I({type:"union",options:J,...K$(Y)})}function Vc(I,J,Y){return new I({type:"union",options:J,inclusive:!1,...K$(Y)})}function Hc(I,J,Y,z){return new I({type:"union",options:Y,discriminator:J,...K$(z)})}function Dc(I,J,Y){return new I({type:"intersection",left:J,right:Y})}function Fc(I,J,Y,z){let X=Y instanceof E$;return new I({type:"tuple",items:J,rest:X?Y:null,...K$(X?z:Y)})}function Lc(I,J,Y,z){return new I({type:"record",keyType:J,valueType:Y,...K$(z)})}function Mc(I,J,Y,z){return new I({type:"map",keyType:J,valueType:Y,...K$(z)})}function Ac(I,J,Y){return new I({type:"set",valueType:J,...K$(Y)})}function Cc(I,J,Y){let z=Array.isArray(J)?Object.fromEntries(J.map((X)=>[X,X])):J;return new I({type:"enum",entries:z,...K$(Y)})}function Tc(I,J,Y){return new I({type:"enum",entries:J,...K$(Y)})}function Rc(I,J,Y){return new I({type:"literal",values:Array.isArray(J)?J:[J],...K$(Y)})}function _L(I,J){return new I({type:"file",...K$(J)})}function Pc(I,J){return new I({type:"transform",transform:J})}function qc(I,J){return new I({type:"optional",innerType:J})}function _c(I,J){return new I({type:"nullable",innerType:J})}function Ec(I,J,Y){return new I({type:"default",innerType:J,get defaultValue(){return typeof Y==="function"?Y():wH(Y)}})}function Sc(I,J,Y){return new I({type:"nonoptional",innerType:J,...K$(Y)})}function jc(I,J){return new I({type:"success",innerType:J})}function Bc(I,J,Y){return new I({type:"catch",innerType:J,catchValue:typeof Y==="function"?Y:()=>Y})}function vc(I,J,Y){return new I({type:"pipe",in:J,out:Y})}function Nc(I,J){return new I({type:"readonly",innerType:J})}function kc(I,J,Y){return new I({type:"template_literal",parts:J,...K$(Y)})}function gc(I,J){return new I({type:"lazy",getter:J})}function xc(I,J){return new I({type:"promise",innerType:J})}function EL(I,J,Y){let z=K$(Y);return z.abort??(z.abort=!0),new I({type:"custom",check:"custom",fn:J,...z})}function SL(I,J,Y){return new I({type:"custom",check:"custom",fn:J,...K$(Y)})}function jL(I,J){let Y=Wj((z)=>{return z.addIssue=(X)=>{if(typeof X==="string")z.issues.push(yQ(X,z.value,Y._zod.def));else{let W=X;if(W.fatal)W.continue=!1;W.code??(W.code="custom"),W.input??(W.input=z.value),W.inst??(W.inst=Y),W.continue??(W.continue=!Y._zod.def.abort),z.issues.push(yQ(W))}},I(z.value,z)},J);return Y}function Wj(I,J){let Y=new FU({check:"custom",...K$(J)});return Y._zod.check=I,Y}function BL(I){let J=new FU({check:"describe"});return J._zod.onattach=[(Y)=>{let z=C6.get(Y)??{};C6.add(Y,{...z,description:I})}],J._zod.check=()=>{},J}function vL(I){let J=new FU({check:"meta"});return J._zod.onattach=[(Y)=>{let z=C6.get(Y)??{};C6.add(Y,{...z,...I})}],J._zod.check=()=>{},J}function NL(I,J){let Y=K$(J),z=Y.truthy??["true","1","yes","on","y","enabled"],X=Y.falsy??["false","0","no","off","n","disabled"];if(Y.case!=="sensitive")z=z.map((B)=>typeof B==="string"?B.toLowerCase():B),X=X.map((B)=>typeof B==="string"?B.toLowerCase():B);let W=new Set(z),Z=new Set(X),L=I.Codec??P2,j=I.Boolean??T2,E=new(I.String??OJ)({type:"string",error:Y.error}),C=new j({type:"boolean",error:Y.error}),q=new L({type:"pipe",in:E,out:C,transform:(B,N)=>{let f=B;if(Y.case!=="sensitive")f=f.toLowerCase();if(W.has(f))return!0;else if(Z.has(f))return!1;else return N.issues.push({code:"invalid_value",expected:"stringbool",values:[...W,...Z],input:N.value,inst:q,continue:!1}),{}},reverseTransform:(B,N)=>{if(B===!0)return z[0]||"true";else return X[0]||"false"},error:Y.error});return q}function IY(I,J,Y,z={}){let X=K$(z),W={...K$(z),check:"string_format",type:"string",format:J,fn:typeof Y==="function"?Y:(L)=>Y.test(L),...X};if(Y instanceof RegExp)W.pattern=Y;return new I(W)}function zX(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 QU(I,J,Y={path:[],schemaPath:[]}){var z;let X=I._zod.def,W=J.seen.get(I);if(W){if(W.count++,Y.schemaPath.includes(I))W.cycle=Y.path;return W.schema}let Z={schema:{},count:1,cycle:void 0,path:Y.path};J.seen.set(I,Z);let L=I._zod.toJSONSchema?.();if(L)Z.schema=L;else{let E={...Y,schemaPath:[...Y.schemaPath,I],path:Y.path};if(I._zod.processJSONSchema)I._zod.processJSONSchema(J,Z.schema,E);else{let q=Z.schema,B=J.processors[X.type];if(!B)throw Error(`[toJSONSchema]: Non-representable type encountered: ${X.type}`);B(I,J,q,E)}let C=I._zod.parent;if(C){if(!Z.ref)Z.ref=C;QU(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)(z=Z.schema).default??(z.default=Z.schema._prefault);return delete Z.schema._prefault,J.seen.get(I).schema}function OX(I,J){let Y=I.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let z=new Map;for(let Z of I.seen.entries()){let L=I.metadataRegistry.get(Z[0])?.id;if(L){let j=z.get(L);if(j&&j!==Z[0])throw Error(`Duplicate schema id "${L}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);z.set(L,Z[0])}}let X=(Z)=>{let L=I.target==="draft-2020-12"?"$defs":"definitions";if(I.external){let C=I.external.registry.get(Z[0])?.id,q=I.external.uri??((N)=>N);if(C)return{ref:q(C)};let B=Z[1].defId??Z[1].schema.id??`schema${I.counter++}`;return Z[1].defId=B,{defId:B,ref:`${q("__shared")}#/${L}/${B}`}}if(Z[1]===Y)return{ref:"#"};let _=`${"#"}/${L}/`,E=Z[1].schema.id??`__schema${I.counter++}`;return{defId:E,ref:_+E}},W=(Z)=>{if(Z[1].schema.$ref)return;let L=Z[1],{ref:j,defId:_}=X(Z);if(L.def={...L.schema},_)L.defId=_;let E=L.schema;for(let C in E)delete E[C];E.$ref=j};if(I.cycles==="throw")for(let Z of I.seen.entries()){let L=Z[1];if(L.cycle)throw Error(`Cycle detected: #/${L.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 L=Z[1];if(J===Z[0]){W(Z);continue}if(I.external){let _=I.external.registry.get(Z[0])?.id;if(J!==Z[0]&&_){W(Z);continue}}if(I.metadataRegistry.get(Z[0])?.id){W(Z);continue}if(L.cycle){W(Z);continue}if(L.count>1){if(I.reused==="ref"){W(Z);continue}}}}function VX(I,J){let Y=I.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let z=(L)=>{let j=I.seen.get(L);if(j.ref===null)return;let _=j.def??j.schema,E={..._},C=j.ref;if(j.ref=null,C){z(C);let B=I.seen.get(C),N=B.schema;if(N.$ref&&(I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"))_.allOf=_.allOf??[],_.allOf.push(N);else Object.assign(_,N);if(Object.assign(_,E),L._zod.parent===C)for(let w in _){if(w==="$ref"||w==="allOf")continue;if(!(w in E))delete _[w]}if(N.$ref&&B.def)for(let w in _){if(w==="$ref"||w==="allOf")continue;if(w in B.def&&JSON.stringify(_[w])===JSON.stringify(B.def[w]))delete _[w]}}let q=L._zod.parent;if(q&&q!==C){z(q);let B=I.seen.get(q);if(B?.schema.$ref){if(_.$ref=B.schema.$ref,B.def)for(let N in _){if(N==="$ref"||N==="allOf")continue;if(N in B.def&&JSON.stringify(_[N])===JSON.stringify(B.def[N]))delete _[N]}}}I.override({zodSchema:L,jsonSchema:_,path:j.path??[]})};for(let L of[...I.seen.entries()].reverse())z(L[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 L=I.external.registry.get(J)?.id;if(!L)throw Error("Schema is missing an `id` property");X.$id=I.external.uri(L)}Object.assign(X,Y.def??Y.schema);let W=I.metadataRegistry.get(J)?.id;if(W!==void 0&&X.id===W)delete X.id;let Z=I.external?.defs??{};for(let L of I.seen.entries()){let j=L[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 L=JSON.parse(JSON.stringify(X));return Object.defineProperty(L,"~standard",{value:{...J["~standard"],jsonSchema:{input:XY(J,"input",I.processors),output:XY(J,"output",I.processors)}},enumerable:!1,writable:!1}),L}catch(L){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 z=I._zod.def;if(z.type==="transform")return!0;if(z.type==="array")return h6(z.element,Y);if(z.type==="set")return h6(z.valueType,Y);if(z.type==="lazy")return h6(z.getter(),Y);if(z.type==="promise"||z.type==="optional"||z.type==="nonoptional"||z.type==="nullable"||z.type==="readonly"||z.type==="default"||z.type==="prefault")return h6(z.innerType,Y);if(z.type==="intersection")return h6(z.left,Y)||h6(z.right,Y);if(z.type==="record"||z.type==="map")return h6(z.keyType,Y)||h6(z.valueType,Y);if(z.type==="pipe"){if(I._zod.traits.has("$ZodCodec"))return!0;return h6(z.in,Y)||h6(z.out,Y)}if(z.type==="object"){for(let X in z.shape)if(h6(z.shape[X],Y))return!0;return!1}if(z.type==="union"){for(let X of z.options)if(h6(X,Y))return!0;return!1}if(z.type==="tuple"){for(let X of z.items)if(h6(X,Y))return!0;if(z.rest&&h6(z.rest,Y))return!0;return!1}return!1}var kL=(I,J={})=>(Y)=>{let z=zX({...Y,processors:J});return QU(I,z),OX(z,I),VX(z,I)},XY=(I,J,Y={})=>(z)=>{let{libraryOptions:X,target:W}=z??{},Z=zX({...X??{},target:W,io:J,processors:Y});return QU(I,Z),OX(Z,I),VX(Z,I)};var wc={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},gL=(I,J,Y,z)=>{let X=Y;X.type="string";let{minimum:W,maximum:Z,format:L,patterns:j,contentEncoding:_}=I._zod.bag;if(typeof W==="number")X.minLength=W;if(typeof Z==="number")X.maxLength=Z;if(L){if(X.format=wc[L]??L,X.format==="")delete X.format;if(L==="time")delete X.format}if(_)X.contentEncoding=_;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}))]}},xL=(I,J,Y,z)=>{let X=Y,{minimum:W,maximum:Z,format:L,multipleOf:j,exclusiveMaximum:_,exclusiveMinimum:E}=I._zod.bag;if(typeof L==="string"&&L.includes("int"))X.type="integer";else X.type="number";let C=typeof E==="number"&&E>=(W??Number.NEGATIVE_INFINITY),q=typeof _==="number"&&_<=(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 W==="number")X.minimum=W;if(q)if(B)X.maximum=_,X.exclusiveMaximum=!0;else X.exclusiveMaximum=_;else if(typeof Z==="number")X.maximum=Z;if(typeof j==="number")X.multipleOf=j},wL=(I,J,Y,z)=>{Y.type="boolean"},fL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},yL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},uL=(I,J,Y,z)=>{if(J.target==="openapi-3.0")Y.type="string",Y.nullable=!0,Y.enum=[null];else Y.type="null"},bL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},cL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},hL=(I,J,Y,z)=>{Y.not={}},pL=(I,J,Y,z)=>{},mL=(I,J,Y,z)=>{},lL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},dL=(I,J,Y,z)=>{let X=I._zod.def,W=W2(X.entries);if(W.every((Z)=>typeof Z==="number"))Y.type="number";if(W.every((Z)=>typeof Z==="string"))Y.type="string";Y.enum=W},nL=(I,J,Y,z)=>{let X=I._zod.def,W=[];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 W.push(Number(Z));else W.push(Z);if(W.length===0);else if(W.length===1){let Z=W[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(W.every((Z)=>typeof Z==="number"))Y.type="number";if(W.every((Z)=>typeof Z==="string"))Y.type="string";if(W.every((Z)=>typeof Z==="boolean"))Y.type="boolean";if(W.every((Z)=>Z===null))Y.type="null";Y.enum=W}},oL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},iL=(I,J,Y,z)=>{let X=Y,W=I._zod.pattern;if(!W)throw Error("Pattern not found in template literal");X.type="string",X.pattern=W.source},rL=(I,J,Y,z)=>{let X=Y,W={type:"string",format:"binary",contentEncoding:"binary"},{minimum:Z,maximum:L,mime:j}=I._zod.bag;if(Z!==void 0)W.minLength=Z;if(L!==void 0)W.maxLength=L;if(j)if(j.length===1)W.contentMediaType=j[0],Object.assign(X,W);else Object.assign(X,W),X.anyOf=j.map((_)=>({contentMediaType:_}));else Object.assign(X,W)},tL=(I,J,Y,z)=>{Y.type="boolean"},aL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},sL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},eL=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},$7=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},U7=(I,J,Y,z)=>{if(J.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},I7=(I,J,Y,z)=>{let X=Y,W=I._zod.def,{minimum:Z,maximum:L}=I._zod.bag;if(typeof Z==="number")X.minItems=Z;if(typeof L==="number")X.maxItems=L;X.type="array",X.items=QU(W.element,J,{...z,path:[...z.path,"items"]})},X7=(I,J,Y,z)=>{let X=Y,W=I._zod.def;X.type="object",X.properties={};let Z=W.shape;for(let _ in Z)X.properties[_]=QU(Z[_],J,{...z,path:[...z.path,"properties",_]});let L=new Set(Object.keys(Z)),j=new Set([...L].filter((_)=>{let E=W.shape[_]._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(W.catchall?._zod.def.type==="never")X.additionalProperties=!1;else if(!W.catchall){if(J.io==="output")X.additionalProperties=!1}else if(W.catchall)X.additionalProperties=QU(W.catchall,J,{...z,path:[...z.path,"additionalProperties"]})},PW=(I,J,Y,z)=>{let X=I._zod.def,W=X.inclusive===!1,Z=X.options.map((L,j)=>QU(L,J,{...z,path:[...z.path,W?"oneOf":"anyOf",j]}));if(W)Y.oneOf=Z;else Y.anyOf=Z},J7=(I,J,Y,z)=>{let X=I._zod.def,W=QU(X.left,J,{...z,path:[...z.path,"allOf",0]}),Z=QU(X.right,J,{...z,path:[...z.path,"allOf",1]}),L=(_)=>("allOf"in _)&&Object.keys(_).length===1,j=[...L(W)?W.allOf:[W],...L(Z)?Z.allOf:[Z]];Y.allOf=j},Q7=(I,J,Y,z)=>{let X=Y,W=I._zod.def;X.type="array";let Z=J.target==="draft-2020-12"?"prefixItems":"items",L=J.target==="draft-2020-12"?"items":J.target==="openapi-3.0"?"items":"additionalItems",j=W.items.map((q,B)=>QU(q,J,{...z,path:[...z.path,Z,B]})),_=W.rest?QU(W.rest,J,{...z,path:[...z.path,L,...J.target==="openapi-3.0"?[W.items.length]:[]]}):null;if(J.target==="draft-2020-12"){if(X.prefixItems=j,_)X.items=_}else if(J.target==="openapi-3.0"){if(X.items={anyOf:j},_)X.items.anyOf.push(_);if(X.minItems=j.length,!_)X.maxItems=j.length}else if(X.items=j,_)X.additionalItems=_;let{minimum:E,maximum:C}=I._zod.bag;if(typeof E==="number")X.minItems=E;if(typeof C==="number")X.maxItems=C},Y7=(I,J,Y,z)=>{let X=Y,W=I._zod.def;X.type="object";let Z=W.keyType,j=Z._zod.bag?.patterns;if(W.mode==="loose"&&j&&j.size>0){let E=QU(W.valueType,J,{...z,path:[...z.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=QU(W.keyType,J,{...z,path:[...z.path,"propertyNames"]});X.additionalProperties=QU(W.valueType,J,{...z,path:[...z.path,"additionalProperties"]})}let _=Z._zod.values;if(_){let E=[..._].filter((C)=>typeof C==="string"||typeof C==="number");if(E.length>0)X.required=E}},G7=(I,J,Y,z)=>{let X=I._zod.def,W=QU(X.innerType,J,z),Z=J.seen.get(I);if(J.target==="openapi-3.0")Z.ref=X.innerType,Y.nullable=!0;else Y.anyOf=[W,{type:"null"}]},Z7=(I,J,Y,z)=>{let X=I._zod.def;QU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType},K7=(I,J,Y,z)=>{let X=I._zod.def;QU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType,Y.default=JSON.parse(JSON.stringify(X.defaultValue))},W7=(I,J,Y,z)=>{let X=I._zod.def;QU(X.innerType,J,z);let W=J.seen.get(I);if(W.ref=X.innerType,J.io==="input")Y._prefault=JSON.parse(JSON.stringify(X.defaultValue))},z7=(I,J,Y,z)=>{let X=I._zod.def;QU(X.innerType,J,z);let W=J.seen.get(I);W.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},O7=(I,J,Y,z)=>{let X=I._zod.def,W=X.in._zod.traits.has("$ZodTransform"),Z=J.io==="input"?W?X.out:X.in:X.out;QU(Z,J,z);let L=J.seen.get(I);L.ref=Z},V7=(I,J,Y,z)=>{let X=I._zod.def;QU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType,Y.readOnly=!0},H7=(I,J,Y,z)=>{let X=I._zod.def;QU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType},qW=(I,J,Y,z)=>{let X=I._zod.def;QU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType},D7=(I,J,Y,z)=>{let X=I._zod.innerType;QU(X,J,z);let W=J.seen.get(I);W.ref=X},RW={string:gL,number:xL,boolean:wL,bigint:fL,symbol:yL,null:uL,undefined:bL,void:cL,never:hL,any:pL,unknown:mL,date:lL,enum:dL,literal:nL,nan:oL,template_literal:iL,file:rL,success:tL,custom:aL,function:sL,transform:eL,map:$7,set:U7,array:I7,object:X7,union:PW,intersection:J7,tuple:Q7,record:Y7,nullable:G7,nonoptional:Z7,default:K7,prefault:W7,catch:z7,pipe:O7,readonly:V7,promise:H7,optional:qW,lazy:D7};function _W(I,J){if("_idmap"in I){let z=I,X=zX({...J,processors:RW}),W={};for(let j of z._idmap.entries()){let[_,E]=j;QU(E,X)}let Z={},L={registry:z,uri:J?.uri,defs:W};X.external=L;for(let j of z._idmap.entries()){let[_,E]=j;OX(X,E),Z[_]=VX(X,E)}if(Object.keys(W).length>0){let j=X.target==="draft-2020-12"?"$defs":"definitions";Z.__shared={[j]:W}}return{schemas:Z}}let Y=zX({...J,processors:RW});return QU(I,Y),OX(Y,I),VX(Y,I)}class F7{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=zX({processors:RW,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 QU(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}OX(this.ctx,I);let Y=VX(this.ctx,I),{"~standard":z,...X}=Y;return X}}var zj={};var N2={};x6(N2,{xor:()=>JB,xid:()=>Sj,void:()=>sj,uuidv7:()=>Aj,uuidv6:()=>Mj,uuidv4:()=>Lj,uuid:()=>Fj,url:()=>Cj,unknown:()=>FJ,union:()=>sW,undefined:()=>tj,ulid:()=>Ej,uint64:()=>ij,uint32:()=>dj,tuple:()=>t7,transform:()=>$z,templateLiteral:()=>MB,symbol:()=>rj,superRefine:()=>qM,success:()=>HB,stringbool:()=>EB,stringFormat:()=>uj,string:()=>k2,strictObject:()=>IB,set:()=>KB,refine:()=>PM,record:()=>a7,readonly:()=>LM,promise:()=>AB,preprocess:()=>jB,prefault:()=>KM,pipe:()=>kW,partialRecord:()=>YB,optional:()=>x2,object:()=>UB,number:()=>x7,nullish:()=>VB,nullable:()=>w2,null:()=>b7,nonoptional:()=>WM,never:()=>aW,nativeEnum:()=>WB,nanoid:()=>Pj,nan:()=>DB,meta:()=>qB,map:()=>ZB,mac:()=>vj,looseRecord:()=>GB,looseObject:()=>XB,literal:()=>zB,lazy:()=>CM,ksuid:()=>jj,keyof:()=>$B,jwt:()=>yj,json:()=>SB,ipv6:()=>Nj,ipv4:()=>Bj,invertCodec:()=>LB,intersection:()=>i7,int64:()=>oj,int32:()=>lj,int:()=>NW,instanceof:()=>_B,httpUrl:()=>Tj,hostname:()=>bj,hex:()=>cj,hash:()=>hj,guid:()=>Dj,function:()=>CB,float64:()=>mj,float32:()=>pj,file:()=>OB,exactOptional:()=>JM,enum:()=>eW,emoji:()=>Rj,email:()=>Hj,e164:()=>fj,discriminatedUnion:()=>QB,describe:()=>PB,date:()=>ej,custom:()=>RB,cuid2:()=>_j,cuid:()=>qj,codec:()=>FB,cidrv6:()=>gj,cidrv4:()=>kj,check:()=>TB,catch:()=>VM,boolean:()=>w7,bigint:()=>nj,base64url:()=>wj,base64:()=>xj,array:()=>b2,any:()=>aj,_function:()=>CB,_default:()=>GM,_ZodString:()=>gW,ZodXor:()=>d7,ZodXID:()=>cW,ZodVoid:()=>m7,ZodUnknown:()=>h7,ZodUnion:()=>h2,ZodUndefined:()=>y7,ZodUUID:()=>w4,ZodURL:()=>y2,ZodULID:()=>bW,ZodType:()=>x$,ZodTuple:()=>r7,ZodTransform:()=>IM,ZodTemplateLiteral:()=>MM,ZodSymbol:()=>f7,ZodSuccess:()=>zM,ZodStringFormat:()=>zU,ZodString:()=>GY,ZodSet:()=>e7,ZodRecord:()=>QY,ZodReadonly:()=>FM,ZodPromise:()=>TM,ZodPreprocess:()=>DM,ZodPrefault:()=>ZM,ZodPipe:()=>p2,ZodOptional:()=>Uz,ZodObject:()=>c2,ZodNumberFormat:()=>LJ,ZodNumber:()=>KY,ZodNullable:()=>QM,ZodNull:()=>u7,ZodNonOptional:()=>Iz,ZodNever:()=>p7,ZodNanoID:()=>fW,ZodNaN:()=>HM,ZodMap:()=>s7,ZodMAC:()=>g7,ZodLiteral:()=>$M,ZodLazy:()=>AM,ZodKSUID:()=>hW,ZodJWT:()=>rW,ZodIntersection:()=>o7,ZodIPv6:()=>mW,ZodIPv4:()=>pW,ZodGUID:()=>g2,ZodFunction:()=>RM,ZodFile:()=>UM,ZodExactOptional:()=>XM,ZodEnum:()=>YY,ZodEmoji:()=>wW,ZodEmail:()=>xW,ZodE164:()=>iW,ZodDiscriminatedUnion:()=>n7,ZodDefault:()=>YM,ZodDate:()=>u2,ZodCustomStringFormat:()=>ZY,ZodCustom:()=>l2,ZodCodec:()=>m2,ZodCatch:()=>OM,ZodCUID2:()=>uW,ZodCUID:()=>yW,ZodCIDRv6:()=>dW,ZodCIDRv4:()=>lW,ZodBoolean:()=>WY,ZodBigIntFormat:()=>tW,ZodBigInt:()=>zY,ZodBase64URL:()=>oW,ZodBase64:()=>nW,ZodArray:()=>l7,ZodAny:()=>c7});var EW={};x6(EW,{uppercase:()=>nQ,trim:()=>sQ,toUpperCase:()=>$Y,toLowerCase:()=>eQ,startsWith:()=>iQ,slugify:()=>UY,size:()=>VJ,regex:()=>lQ,property:()=>TW,positive:()=>LW,overwrite:()=>a1,normalize:()=>aQ,nonpositive:()=>AW,nonnegative:()=>CW,negative:()=>MW,multipleOf:()=>KX,minSize:()=>x4,minLength:()=>OI,mime:()=>tQ,maxSize:()=>WX,maxLength:()=>HJ,lte:()=>C1,lt:()=>k4,lowercase:()=>dQ,length:()=>DJ,includes:()=>oQ,gte:()=>c6,gt:()=>g4,endsWith:()=>rQ});var JY={};x6(JY,{time:()=>A7,duration:()=>C7,datetime:()=>L7,date:()=>M7,ZodISOTime:()=>BW,ZodISODuration:()=>vW,ZodISODateTime:()=>SW,ZodISODate:()=>jW});var SW=j0("ZodISODateTime",(I,J)=>{aD.init(I,J),zU.init(I,J)});function L7(I){return a5(SW,I)}var jW=j0("ZodISODate",(I,J)=>{sD.init(I,J),zU.init(I,J)});function M7(I){return s5(jW,I)}var BW=j0("ZodISOTime",(I,J)=>{eD.init(I,J),zU.init(I,J)});function A7(I){return e5(BW,I)}var vW=j0("ZodISODuration",(I,J)=>{$F.init(I,J),zU.init(I,J)});function C7(I){return $L(vW,I)}var Oj=(I,J)=>{D2.init(I,J),I.name="ZodError",Object.defineProperties(I,{format:{value:(Y)=>L2(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}}})},yc=j0("ZodError",Oj),$1=j0("ZodError",Oj,{Parent:Error});var T7=uQ($1),R7=bQ($1),P7=cQ($1),q7=hQ($1),_7=BK($1),E7=vK($1),S7=NK($1),j7=kK($1),B7=gK($1),v7=xK($1),N7=wK($1),k7=fK($1);var Vj=new WeakMap;function f2(I,J,Y){let z=Object.getPrototypeOf(I),X=Vj.get(z);if(!X)X=new Set,Vj.set(z,X);if(X.has(J))return;X.add(J);for(let W in Y){let Z=Y[W];Object.defineProperty(z,W,{configurable:!0,enumerable:!1,get(){let L=Z.bind(this);return Object.defineProperty(this,W,{configurable:!0,writable:!0,enumerable:!0,value:L}),L},set(L){Object.defineProperty(this,W,{configurable:!0,writable:!0,enumerable:!0,value:L})}})}}var x$=j0("ZodType",(I,J)=>{return E$.init(I,J),Object.assign(I["~standard"],{jsonSchema:{input:XY(I,"input"),output:XY(I,"output")}}),I.toJSONSchema=kL(I,{}),I.def=J,I.type=J.type,Object.defineProperty(I,"_def",{value:J}),I.parse=(Y,z)=>T7(I,Y,z,{callee:I.parse}),I.safeParse=(Y,z)=>P7(I,Y,z),I.parseAsync=async(Y,z)=>R7(I,Y,z,{callee:I.parseAsync}),I.safeParseAsync=async(Y,z)=>q7(I,Y,z),I.spa=I.safeParseAsync,I.encode=(Y,z)=>_7(I,Y,z),I.decode=(Y,z)=>E7(I,Y,z),I.encodeAsync=async(Y,z)=>S7(I,Y,z),I.decodeAsync=async(Y,z)=>j7(I,Y,z),I.safeEncode=(Y,z)=>B7(I,Y,z),I.safeDecode=(Y,z)=>v7(I,Y,z),I.safeEncodeAsync=async(Y,z)=>N7(I,Y,z),I.safeDecodeAsync=async(Y,z)=>k7(I,Y,z),f2(I,"ZodType",{check(...Y){let z=this.def;return this.clone(Z$.mergeDefs(z,{checks:[...z.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,z){return u6(this,Y,z)},brand(){return this},register(Y,z){return Y.add(this,z),this},refine(Y,z){return this.check(PM(Y,z))},superRefine(Y,z){return this.check(qM(Y,z))},overwrite(Y){return this.check(a1(Y))},optional(){return x2(this)},exactOptional(){return JM(this)},nullable(){return w2(this)},nullish(){return x2(w2(this))},nonoptional(Y){return WM(this,Y)},array(){return b2(this)},or(Y){return sW([this,Y])},and(Y){return i7(this,Y)},transform(Y){return kW(this,$z(Y))},default(Y){return GM(this,Y)},prefault(Y){return KM(this,Y)},catch(Y){return VM(this,Y)},pipe(Y){return kW(this,Y)},readonly(){return LM(this)},describe(Y){let z=this.clone();return C6.add(z,{description:Y}),z},meta(...Y){if(Y.length===0)return C6.get(this);let z=this.clone();return C6.add(z,Y[0]),z},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}),gW=j0("_ZodString",(I,J)=>{OJ.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>gL(I,z,X,W);let Y=I._zod.bag;I.format=Y.format??null,I.minLength=Y.minimum??null,I.maxLength=Y.maximum??null,f2(I,"_ZodString",{regex(...z){return this.check(lQ(...z))},includes(...z){return this.check(oQ(...z))},startsWith(...z){return this.check(iQ(...z))},endsWith(...z){return this.check(rQ(...z))},min(...z){return this.check(OI(...z))},max(...z){return this.check(HJ(...z))},length(...z){return this.check(DJ(...z))},nonempty(...z){return this.check(OI(1,...z))},lowercase(z){return this.check(dQ(z))},uppercase(z){return this.check(nQ(z))},trim(){return this.check(sQ())},normalize(...z){return this.check(aQ(...z))},toLowerCase(){return this.check(eQ())},toUpperCase(){return this.check($Y())},slugify(){return this.check(UY())}})}),GY=j0("ZodString",(I,J)=>{OJ.init(I,J),gW.init(I,J),I.email=(Y)=>I.check(aK(xW,Y)),I.url=(Y)=>I.check(v2(y2,Y)),I.jwt=(Y)=>I.check(FW(rW,Y)),I.emoji=(Y)=>I.check(IW(wW,Y)),I.guid=(Y)=>I.check(B2(g2,Y)),I.uuid=(Y)=>I.check(sK(w4,Y)),I.uuidv4=(Y)=>I.check(eK(w4,Y)),I.uuidv6=(Y)=>I.check($W(w4,Y)),I.uuidv7=(Y)=>I.check(UW(w4,Y)),I.nanoid=(Y)=>I.check(XW(fW,Y)),I.guid=(Y)=>I.check(B2(g2,Y)),I.cuid=(Y)=>I.check(JW(yW,Y)),I.cuid2=(Y)=>I.check(QW(uW,Y)),I.ulid=(Y)=>I.check(YW(bW,Y)),I.base64=(Y)=>I.check(VW(nW,Y)),I.base64url=(Y)=>I.check(HW(oW,Y)),I.xid=(Y)=>I.check(GW(cW,Y)),I.ksuid=(Y)=>I.check(ZW(hW,Y)),I.ipv4=(Y)=>I.check(KW(pW,Y)),I.ipv6=(Y)=>I.check(WW(mW,Y)),I.cidrv4=(Y)=>I.check(zW(lW,Y)),I.cidrv6=(Y)=>I.check(OW(dW,Y)),I.e164=(Y)=>I.check(DW(iW,Y)),I.datetime=(Y)=>I.check(L7(Y)),I.date=(Y)=>I.check(M7(Y)),I.time=(Y)=>I.check(A7(Y)),I.duration=(Y)=>I.check(C7(Y))});function k2(I){return o5(GY,I)}var zU=j0("ZodStringFormat",(I,J)=>{WU.init(I,J),gW.init(I,J)}),xW=j0("ZodEmail",(I,J)=>{pD.init(I,J),zU.init(I,J)});function Hj(I){return aK(xW,I)}var g2=j0("ZodGUID",(I,J)=>{cD.init(I,J),zU.init(I,J)});function Dj(I){return B2(g2,I)}var w4=j0("ZodUUID",(I,J)=>{hD.init(I,J),zU.init(I,J)});function Fj(I){return sK(w4,I)}function Lj(I){return eK(w4,I)}function Mj(I){return $W(w4,I)}function Aj(I){return UW(w4,I)}var y2=j0("ZodURL",(I,J)=>{mD.init(I,J),zU.init(I,J)});function Cj(I){return v2(y2,I)}function Tj(I){return v2(y2,{protocol:A1.httpProtocol,hostname:A1.domain,...Z$.normalizeParams(I)})}var wW=j0("ZodEmoji",(I,J)=>{lD.init(I,J),zU.init(I,J)});function Rj(I){return IW(wW,I)}var fW=j0("ZodNanoID",(I,J)=>{dD.init(I,J),zU.init(I,J)});function Pj(I){return XW(fW,I)}var yW=j0("ZodCUID",(I,J)=>{nD.init(I,J),zU.init(I,J)});function qj(I){return JW(yW,I)}var uW=j0("ZodCUID2",(I,J)=>{oD.init(I,J),zU.init(I,J)});function _j(I){return QW(uW,I)}var bW=j0("ZodULID",(I,J)=>{iD.init(I,J),zU.init(I,J)});function Ej(I){return YW(bW,I)}var cW=j0("ZodXID",(I,J)=>{rD.init(I,J),zU.init(I,J)});function Sj(I){return GW(cW,I)}var hW=j0("ZodKSUID",(I,J)=>{tD.init(I,J),zU.init(I,J)});function jj(I){return ZW(hW,I)}var pW=j0("ZodIPv4",(I,J)=>{UF.init(I,J),zU.init(I,J)});function Bj(I){return KW(pW,I)}var g7=j0("ZodMAC",(I,J)=>{XF.init(I,J),zU.init(I,J)});function vj(I){return r5(g7,I)}var mW=j0("ZodIPv6",(I,J)=>{IF.init(I,J),zU.init(I,J)});function Nj(I){return WW(mW,I)}var lW=j0("ZodCIDRv4",(I,J)=>{JF.init(I,J),zU.init(I,J)});function kj(I){return zW(lW,I)}var dW=j0("ZodCIDRv6",(I,J)=>{QF.init(I,J),zU.init(I,J)});function gj(I){return OW(dW,I)}var nW=j0("ZodBase64",(I,J)=>{GF.init(I,J),zU.init(I,J)});function xj(I){return VW(nW,I)}var oW=j0("ZodBase64URL",(I,J)=>{ZF.init(I,J),zU.init(I,J)});function wj(I){return HW(oW,I)}var iW=j0("ZodE164",(I,J)=>{KF.init(I,J),zU.init(I,J)});function fj(I){return DW(iW,I)}var rW=j0("ZodJWT",(I,J)=>{WF.init(I,J),zU.init(I,J)});function yj(I){return FW(rW,I)}var ZY=j0("ZodCustomStringFormat",(I,J)=>{zF.init(I,J),zU.init(I,J)});function uj(I,J,Y={}){return IY(ZY,I,J,Y)}function bj(I){return IY(ZY,"hostname",A1.hostname,I)}function cj(I){return IY(ZY,"hex",A1.hex,I)}function hj(I,J){let Y=J?.enc??"hex",z=`${I}_${Y}`,X=A1[z];if(!X)throw Error(`Unrecognized hash format: ${z}`);return IY(ZY,z,X,J)}var KY=j0("ZodNumber",(I,J)=>{dK.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>xL(I,z,X,W),f2(I,"ZodNumber",{gt(z,X){return this.check(g4(z,X))},gte(z,X){return this.check(c6(z,X))},min(z,X){return this.check(c6(z,X))},lt(z,X){return this.check(k4(z,X))},lte(z,X){return this.check(C1(z,X))},max(z,X){return this.check(C1(z,X))},int(z){return this.check(NW(z))},safe(z){return this.check(NW(z))},positive(z){return this.check(g4(0,z))},nonnegative(z){return this.check(c6(0,z))},negative(z){return this.check(k4(0,z))},nonpositive(z){return this.check(C1(0,z))},multipleOf(z,X){return this.check(KX(z,X))},step(z,X){return this.check(KX(z,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 x7(I){return UL(KY,I)}var LJ=j0("ZodNumberFormat",(I,J)=>{OF.init(I,J),KY.init(I,J)});function NW(I){return XL(LJ,I)}function pj(I){return JL(LJ,I)}function mj(I){return QL(LJ,I)}function lj(I){return YL(LJ,I)}function dj(I){return GL(LJ,I)}var WY=j0("ZodBoolean",(I,J)=>{T2.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>wL(I,Y,z,X)});function w7(I){return ZL(WY,I)}var zY=j0("ZodBigInt",(I,J)=>{nK.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>fL(I,z,X,W),I.gte=(z,X)=>I.check(c6(z,X)),I.min=(z,X)=>I.check(c6(z,X)),I.gt=(z,X)=>I.check(g4(z,X)),I.gte=(z,X)=>I.check(c6(z,X)),I.min=(z,X)=>I.check(c6(z,X)),I.lt=(z,X)=>I.check(k4(z,X)),I.lte=(z,X)=>I.check(C1(z,X)),I.max=(z,X)=>I.check(C1(z,X)),I.positive=(z)=>I.check(g4(BigInt(0),z)),I.negative=(z)=>I.check(k4(BigInt(0),z)),I.nonpositive=(z)=>I.check(C1(BigInt(0),z)),I.nonnegative=(z)=>I.check(c6(BigInt(0),z)),I.multipleOf=(z,X)=>I.check(KX(z,X));let Y=I._zod.bag;I.minValue=Y.minimum??null,I.maxValue=Y.maximum??null,I.format=Y.format??null});function nj(I){return WL(zY,I)}var tW=j0("ZodBigIntFormat",(I,J)=>{VF.init(I,J),zY.init(I,J)});function oj(I){return OL(tW,I)}function ij(I){return VL(tW,I)}var f7=j0("ZodSymbol",(I,J)=>{HF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>yL(I,Y,z,X)});function rj(I){return HL(f7,I)}var y7=j0("ZodUndefined",(I,J)=>{DF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>bL(I,Y,z,X)});function tj(I){return DL(y7,I)}var u7=j0("ZodNull",(I,J)=>{FF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>uL(I,Y,z,X)});function b7(I){return FL(u7,I)}var c7=j0("ZodAny",(I,J)=>{LF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>pL(I,Y,z,X)});function aj(){return LL(c7)}var h7=j0("ZodUnknown",(I,J)=>{MF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>mL(I,Y,z,X)});function FJ(){return ML(h7)}var p7=j0("ZodNever",(I,J)=>{AF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>hL(I,Y,z,X)});function aW(I){return AL(p7,I)}var m7=j0("ZodVoid",(I,J)=>{CF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>cL(I,Y,z,X)});function sj(I){return CL(m7,I)}var u2=j0("ZodDate",(I,J)=>{TF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>lL(I,z,X,W),I.min=(z,X)=>I.check(c6(z,X)),I.max=(z,X)=>I.check(C1(z,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 ej(I){return TL(u2,I)}var l7=j0("ZodArray",(I,J)=>{RF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>I7(I,Y,z,X),I.element=J.element,f2(I,"ZodArray",{min(Y,z){return this.check(OI(Y,z))},nonempty(Y){return this.check(OI(1,Y))},max(Y,z){return this.check(HJ(Y,z))},length(Y,z){return this.check(DJ(Y,z))},unwrap(){return this.element}})});function b2(I,J){return qL(l7,I,J)}function $B(I){let J=I._zod.def.shape;return eW(Object.keys(J))}var c2=j0("ZodObject",(I,J)=>{PF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>X7(I,Y,z,X),Z$.defineLazy(I,"shape",()=>{return J.shape}),f2(I,"ZodObject",{keyof(){return eW(Object.keys(this._zod.def.shape))},catchall(Y){return this.clone({...this._zod.def,catchall:Y})},passthrough(){return this.clone({...this._zod.def,catchall:FJ()})},loose(){return this.clone({...this._zod.def,catchall:FJ()})},strict(){return this.clone({...this._zod.def,catchall:aW()})},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(Uz,this,Y[0])},required(...Y){return Z$.required(Iz,this,Y[0])}})});function UB(I,J){let Y={type:"object",shape:I??{},...Z$.normalizeParams(J)};return new c2(Y)}function IB(I,J){return new c2({type:"object",shape:I,catchall:aW(),...Z$.normalizeParams(J)})}function XB(I,J){return new c2({type:"object",shape:I,catchall:FJ(),...Z$.normalizeParams(J)})}var h2=j0("ZodUnion",(I,J)=>{R2.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>PW(I,Y,z,X),I.options=J.options});function sW(I,J){return new h2({type:"union",options:I,...Z$.normalizeParams(J)})}var d7=j0("ZodXor",(I,J)=>{h2.init(I,J),qF.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>PW(I,Y,z,X),I.options=J.options});function JB(I,J){return new d7({type:"union",options:I,inclusive:!1,...Z$.normalizeParams(J)})}var n7=j0("ZodDiscriminatedUnion",(I,J)=>{h2.init(I,J),_F.init(I,J)});function QB(I,J,Y){return new n7({type:"union",options:J,discriminator:I,...Z$.normalizeParams(Y)})}var o7=j0("ZodIntersection",(I,J)=>{EF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>J7(I,Y,z,X)});function i7(I,J){return new o7({type:"intersection",left:I,right:J})}var r7=j0("ZodTuple",(I,J)=>{oK.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>Q7(I,Y,z,X),I.rest=(Y)=>I.clone({...I._zod.def,rest:Y})});function t7(I,J,Y){let z=J instanceof E$,X=z?Y:J;return new r7({type:"tuple",items:I,rest:z?J:null,...Z$.normalizeParams(X)})}var QY=j0("ZodRecord",(I,J)=>{SF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>Y7(I,Y,z,X),I.keyType=J.keyType,I.valueType=J.valueType});function a7(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 YB(I,J,Y){let z=u6(I);return z._zod.values=void 0,new QY({type:"record",keyType:z,valueType:J,...Z$.normalizeParams(Y)})}function GB(I,J,Y){return new QY({type:"record",keyType:I,valueType:J,mode:"loose",...Z$.normalizeParams(Y)})}var s7=j0("ZodMap",(I,J)=>{jF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>$7(I,Y,z,X),I.keyType=J.keyType,I.valueType=J.valueType,I.min=(...Y)=>I.check(x4(...Y)),I.nonempty=(Y)=>I.check(x4(1,Y)),I.max=(...Y)=>I.check(WX(...Y)),I.size=(...Y)=>I.check(VJ(...Y))});function ZB(I,J,Y){return new s7({type:"map",keyType:I,valueType:J,...Z$.normalizeParams(Y)})}var e7=j0("ZodSet",(I,J)=>{BF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>U7(I,Y,z,X),I.min=(...Y)=>I.check(x4(...Y)),I.nonempty=(Y)=>I.check(x4(1,Y)),I.max=(...Y)=>I.check(WX(...Y)),I.size=(...Y)=>I.check(VJ(...Y))});function KB(I,J){return new e7({type:"set",valueType:I,...Z$.normalizeParams(J)})}var YY=j0("ZodEnum",(I,J)=>{vF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>dL(I,z,X,W),I.enum=J.entries,I.options=Object.values(J.entries);let Y=new Set(Object.keys(J.entries));I.extract=(z,X)=>{let W={};for(let Z of z)if(Y.has(Z))W[Z]=J.entries[Z];else throw Error(`Key ${Z} not found in enum`);return new YY({...J,checks:[],...Z$.normalizeParams(X),entries:W})},I.exclude=(z,X)=>{let W={...J.entries};for(let Z of z)if(Y.has(Z))delete W[Z];else throw Error(`Key ${Z} not found in enum`);return new YY({...J,checks:[],...Z$.normalizeParams(X),entries:W})}});function eW(I,J){let Y=Array.isArray(I)?Object.fromEntries(I.map((z)=>[z,z])):I;return new YY({type:"enum",entries:Y,...Z$.normalizeParams(J)})}function WB(I,J){return new YY({type:"enum",entries:I,...Z$.normalizeParams(J)})}var $M=j0("ZodLiteral",(I,J)=>{NF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>nL(I,Y,z,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 zB(I,J){return new $M({type:"literal",values:Array.isArray(I)?I:[I],...Z$.normalizeParams(J)})}var UM=j0("ZodFile",(I,J)=>{kF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>rL(I,Y,z,X),I.min=(Y,z)=>I.check(x4(Y,z)),I.max=(Y,z)=>I.check(WX(Y,z)),I.mime=(Y,z)=>I.check(tQ(Array.isArray(Y)?Y:[Y],z))});function OB(I){return _L(UM,I)}var IM=j0("ZodTransform",(I,J)=>{gF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>eL(I,Y,z,X),I._zod.parse=(Y,z)=>{if(z.direction==="backward")throw new KJ(I.constructor.name);Y.addIssue=(W)=>{if(typeof W==="string")Y.issues.push(Z$.issue(W,Y.value,J));else{let Z=W;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((W)=>{return Y.value=W,Y.fallback=!0,Y});return Y.value=X,Y.fallback=!0,Y}});function $z(I){return new IM({type:"transform",transform:I})}var Uz=j0("ZodOptional",(I,J)=>{iK.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>qW(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function x2(I){return new Uz({type:"optional",innerType:I})}var XM=j0("ZodExactOptional",(I,J)=>{xF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>qW(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function JM(I){return new XM({type:"optional",innerType:I})}var QM=j0("ZodNullable",(I,J)=>{wF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>G7(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function w2(I){return new QM({type:"nullable",innerType:I})}function VB(I){return x2(w2(I))}var YM=j0("ZodDefault",(I,J)=>{fF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>K7(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType,I.removeDefault=I.unwrap});function GM(I,J){return new YM({type:"default",innerType:I,get defaultValue(){return typeof J==="function"?J():Z$.shallowClone(J)}})}var ZM=j0("ZodPrefault",(I,J)=>{yF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>W7(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function KM(I,J){return new ZM({type:"prefault",innerType:I,get defaultValue(){return typeof J==="function"?J():Z$.shallowClone(J)}})}var Iz=j0("ZodNonOptional",(I,J)=>{uF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>Z7(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function WM(I,J){return new Iz({type:"nonoptional",innerType:I,...Z$.normalizeParams(J)})}var zM=j0("ZodSuccess",(I,J)=>{bF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>tL(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function HB(I){return new zM({type:"success",innerType:I})}var OM=j0("ZodCatch",(I,J)=>{cF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>z7(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType,I.removeCatch=I.unwrap});function VM(I,J){return new OM({type:"catch",innerType:I,catchValue:typeof J==="function"?J:()=>J})}var HM=j0("ZodNaN",(I,J)=>{hF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>oL(I,Y,z,X)});function DB(I){return PL(HM,I)}var p2=j0("ZodPipe",(I,J)=>{rK.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>O7(I,Y,z,X),I.in=J.in,I.out=J.out});function kW(I,J){return new p2({type:"pipe",in:I,out:J})}var m2=j0("ZodCodec",(I,J)=>{p2.init(I,J),P2.init(I,J)});function FB(I,J,Y){return new m2({type:"pipe",in:I,out:J,transform:Y.decode,reverseTransform:Y.encode})}function LB(I){let J=I._zod.def;return new m2({type:"pipe",in:J.out,out:J.in,transform:J.reverseTransform,reverseTransform:J.transform})}var DM=j0("ZodPreprocess",(I,J)=>{p2.init(I,J),pF.init(I,J)}),FM=j0("ZodReadonly",(I,J)=>{mF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>V7(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function LM(I){return new FM({type:"readonly",innerType:I})}var MM=j0("ZodTemplateLiteral",(I,J)=>{lF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>iL(I,Y,z,X)});function MB(I,J){return new MM({type:"template_literal",parts:I,...Z$.normalizeParams(J)})}var AM=j0("ZodLazy",(I,J)=>{oF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>D7(I,Y,z,X),I.unwrap=()=>I._zod.def.getter()});function CM(I){return new AM({type:"lazy",getter:I})}var TM=j0("ZodPromise",(I,J)=>{nF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>H7(I,Y,z,X),I.unwrap=()=>I._zod.def.innerType});function AB(I){return new TM({type:"promise",innerType:I})}var RM=j0("ZodFunction",(I,J)=>{dF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>sL(I,Y,z,X)});function CB(I){return new RM({type:"function",input:Array.isArray(I?.input)?t7(I?.input):I?.input??b2(FJ()),output:I?.output??FJ()})}var l2=j0("ZodCustom",(I,J)=>{iF.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Y,z,X)=>aL(I,Y,z,X)});function TB(I){let J=new FU({check:"custom"});return J._zod.check=I,J}function RB(I,J){return EL(l2,I??(()=>!0),J)}function PM(I,J={}){return SL(l2,I,J)}function qM(I,J){return jL(I,J)}var PB=BL,qB=vL;function _B(I,J={}){let Y=new l2({type:"custom",check:"custom",fn:(z)=>z instanceof I,abort:!0,...Z$.normalizeParams(J)});return Y._zod.bag.Class=I,Y._zod.check=(z)=>{if(!(z.value instanceof I))z.issues.push({code:"invalid_type",expected:I.name,input:z.value,inst:Y,path:[...Y._zod.def.path??[]]})},Y}var EB=(...I)=>NL({Codec:m2,Boolean:WY,String:GY},...I);function SB(I){let J=CM(()=>{return sW([k2(I),x7(),w7(),b7(),b2(J),a7(k2(),J)])});return J}function jB(I,J){return new DM({type:"pipe",in:$z(I),out:J})}var bc={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 cc(I){tU({customError:I})}function hc(){return tU().customError}var _M;(function(I){})(_M||(_M={}));var H$={...N2,...EW,iso:JY},pc=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 mc(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 lc(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 z=J.version==="draft-2020-12"?"$defs":"definitions";if(Y[0]===z){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 BB(I,J){if(I.not!==void 0){if(typeof I.not==="object"&&Object.keys(I.not).length===0)return H$.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 H$.lazy(()=>{if(!J.refs.has(X))throw Error(`Circular reference not resolved: ${X}`);return J.refs.get(X)});J.processing.add(X);let W=lc(X,J),Z=q6(W,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 H$.null();if(X.length===0)return H$.never();if(X.length===1)return H$.literal(X[0]);if(X.every((Z)=>typeof Z==="string"))return H$.enum(X);let W=X.map((Z)=>H$.literal(Z));if(W.length<2)return W[0];return H$.union([W[0],W[1],...W.slice(2)])}if(I.const!==void 0)return H$.literal(I.const);let Y=I.type;if(Array.isArray(Y)){let X=Y.map((W)=>{let Z={...I,type:W};return BB(Z,J)});if(X.length===0)return H$.never();if(X.length===1)return X[0];return H$.union(X)}if(!Y)return H$.any();let z;switch(Y){case"string":{let X=H$.string();if(I.format){let W=I.format;if(W==="email")X=X.check(H$.email());else if(W==="uri"||W==="uri-reference")X=X.check(H$.url());else if(W==="uuid"||W==="guid")X=X.check(H$.uuid());else if(W==="date-time")X=X.check(H$.iso.datetime());else if(W==="date")X=X.check(H$.iso.date());else if(W==="time")X=X.check(H$.iso.time());else if(W==="duration")X=X.check(H$.iso.duration());else if(W==="ipv4")X=X.check(H$.ipv4());else if(W==="ipv6")X=X.check(H$.ipv6());else if(W==="mac")X=X.check(H$.mac());else if(W==="cidr")X=X.check(H$.cidrv4());else if(W==="cidr-v6")X=X.check(H$.cidrv6());else if(W==="base64")X=X.check(H$.base64());else if(W==="base64url")X=X.check(H$.base64url());else if(W==="e164")X=X.check(H$.e164());else if(W==="jwt")X=X.check(H$.jwt());else if(W==="emoji")X=X.check(H$.emoji());else if(W==="nanoid")X=X.check(H$.nanoid());else if(W==="cuid")X=X.check(H$.cuid());else if(W==="cuid2")X=X.check(H$.cuid2());else if(W==="ulid")X=X.check(H$.ulid());else if(W==="xid")X=X.check(H$.xid());else if(W==="ksuid")X=X.check(H$.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));z=X;break}case"number":case"integer":{let X=Y==="integer"?H$.number().int():H$.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);z=X;break}case"boolean":{z=H$.boolean();break}case"null":{z=H$.null();break}case"object":{let X={},W=I.properties||{},Z=new Set(I.required||[]);for(let[j,_]of Object.entries(W)){let E=q6(_,J);X[j]=Z.has(j)?E:E.optional()}if(I.propertyNames){let j=q6(I.propertyNames,J),_=I.additionalProperties&&typeof I.additionalProperties==="object"?q6(I.additionalProperties,J):H$.any();if(Object.keys(X).length===0){z=H$.record(j,_);break}let E=H$.object(X).passthrough(),C=H$.looseRecord(j,_);z=H$.intersection(E,C);break}if(I.patternProperties){let j=I.patternProperties,_=Object.keys(j),E=[];for(let q of _){let B=q6(j[q],J),N=H$.string().regex(new RegExp(q));E.push(H$.looseRecord(N,B))}let C=[];if(Object.keys(X).length>0)C.push(H$.object(X).passthrough());if(C.push(...E),C.length===0)z=H$.object({}).passthrough();else if(C.length===1)z=C[0];else{let q=H$.intersection(C[0],C[1]);for(let B=2;B<C.length;B++)q=H$.intersection(q,C[B]);z=q}break}let L=H$.object(X);if(I.additionalProperties===!1)z=L.strict();else if(typeof I.additionalProperties==="object")z=L.catchall(q6(I.additionalProperties,J));else z=L.passthrough();break}case"array":{let{prefixItems:X,items:W}=I;if(X&&Array.isArray(X)){let Z=X.map((j)=>q6(j,J)),L=W&&typeof W==="object"&&!Array.isArray(W)?q6(W,J):void 0;if(L)z=H$.tuple(Z).rest(L);else z=H$.tuple(Z);if(typeof I.minItems==="number")z=z.check(H$.minLength(I.minItems));if(typeof I.maxItems==="number")z=z.check(H$.maxLength(I.maxItems))}else if(Array.isArray(W)){let Z=W.map((j)=>q6(j,J)),L=I.additionalItems&&typeof I.additionalItems==="object"?q6(I.additionalItems,J):void 0;if(L)z=H$.tuple(Z).rest(L);else z=H$.tuple(Z);if(typeof I.minItems==="number")z=z.check(H$.minLength(I.minItems));if(typeof I.maxItems==="number")z=z.check(H$.maxLength(I.maxItems))}else if(W!==void 0){let Z=q6(W,J),L=H$.array(Z);if(typeof I.minItems==="number")L=L.min(I.minItems);if(typeof I.maxItems==="number")L=L.max(I.maxItems);z=L}else z=H$.array(H$.any());break}default:throw Error(`Unsupported type: ${Y}`)}return z}function q6(I,J){if(typeof I==="boolean")return I?H$.any():H$.never();let Y=BB(I,J),z=I.type||I.enum!==void 0||I.const!==void 0;if(I.anyOf&&Array.isArray(I.anyOf)){let L=I.anyOf.map((_)=>q6(_,J)),j=H$.union(L);Y=z?H$.intersection(Y,j):j}if(I.oneOf&&Array.isArray(I.oneOf)){let L=I.oneOf.map((_)=>q6(_,J)),j=H$.xor(L);Y=z?H$.intersection(Y,j):j}if(I.allOf&&Array.isArray(I.allOf))if(I.allOf.length===0)Y=z?Y:H$.any();else{let L=z?Y:q6(I.allOf[0],J),j=z?0:1;for(let _=j;_<I.allOf.length;_++)L=H$.intersection(L,q6(I.allOf[_],J));Y=L}if(I.nullable===!0&&J.version==="openapi-3.0")Y=H$.nullable(Y);if(I.readOnly===!0)Y=H$.readonly(Y);if(I.default!==void 0)Y=Y.default(I.default);let X={},W=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let L of W)if(L in I)X[L]=I[L];let Z=["contentEncoding","contentMediaType","contentSchema"];for(let L of Z)if(L in I)X[L]=I[L];for(let L of Object.keys(I))if(!pc.has(L))X[L]=I[L];if(Object.keys(X).length>0)J.registry.add(Y,X);if(I.description)Y=Y.describe(I.description);return Y}function vB(I,J){if(typeof I==="boolean")return I?H$.any():H$.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 z=mc(Y,J?.defaultTarget),X=Y.$defs||Y.definitions||{},W={version:z,defs:X,refs:new Map,processing:new Set,rootSchema:Y,registry:J?.registry??C6};return q6(Y,W)}var EM={};x6(EM,{string:()=>dc,number:()=>nc,date:()=>rc,boolean:()=>oc,bigint:()=>ic});function dc(I){return i5(GY,I)}function nc(I){return IL(KY,I)}function oc(I){return KL(WY,I)}function ic(I){return zL(zY,I)}function rc(I){return RL(u2,I)}tU(q2());var NB=_$.object({id:_$.string().min(1).optional(),name:_$.string().min(1).optional(),kind:_$.enum(["human","agent","bot","system"])}),kB=_$.object({type:_$.string().min(1),id:_$.string().min(1)}),gB=_$.object({provider:_$.string().min(1),id:_$.string().min(1).optional(),url:_$.string().min(1).optional(),cursor:_$.string().min(1).optional(),rawRef:_$.string().min(1).optional()}),SM=_$.object({id:_$.string().min(1),service:_$.string().min(1),type:_$.string().min(1),schemaVersion:_$.number().int().positive(),idempotencyKey:_$.string().min(1),occurredAt:_$.string().min(1),observedAt:_$.string().min(1),origin:_$.enum(["virtual","external","agent","connector","replay","migration"]),actor:NB.optional(),subject:kB,causationId:_$.string().min(1).optional(),correlationId:_$.string().min(1).optional(),external:gB.optional(),data:_$.record(_$.string(),_$.unknown()),raw:_$.record(_$.string(),_$.unknown()).optional()}),xB=_$.object({version:_$.literal(1),service:_$.string().min(1),rebuiltAt:_$.string().min(1),eventCount:_$.number().int().nonnegative(),latestEventId:_$.string().min(1).optional(),subjects:_$.record(_$.string(),_$.object({type:_$.string().min(1),id:_$.string().min(1),latestEventId:_$.string().min(1),latestType:_$.string().min(1),updatedAt:_$.string().min(1)}))});function wB(I){return t1(I||process.env.PROJECT_ROOT||process.cwd())}function PK(){let I=process.env.VOLTER_STATE_DIR||".volter";if(gQ(I)||I.split(/[\\/]/).includes(".."))throw Error("VOLTER_STATE_DIR must be a relative directory without .. segments");return I}function Xz(I){return i$(wB(I),PK(),"world")}function sc(I){if(!/^[A-Za-z0-9_-]+$/.test(I))throw Error(`Invalid world service name: ${I}`);return I}var fB;function yB(I){fB=I}function a6(I,J){let Y=sc(I);fB?.(Y,J);let z=wB(J),X=i$(Xz(J),Y);return{root:z,service:Y,dir:X,events:i$(X,"events.jsonl"),state:i$(X,"state.json"),resources:i$(X,"resources"),cursors:i$(X,"cursors"),ingests:i$(X,"ingests"),eventQueue:i$(X,"event-queue.jsonl")}}var ec={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 uB="2.0",Jh=Number(uB.split(".")[0]);uU();var{AsyncLocalStorage:ar}=(()=>({}));var{AsyncLocalStorage:Bh}=(()=>({}));var Hh;function hB(I){Hh=I}var vM="/__volter/world-boot";var{chmodSync:Dt,existsSync:Ft,mkdirSync:Lt,readFileSync:Mt,writeFileSync:At}=(()=>({}));uU();var vh=1e6,Nh=/(?:^|[-_.])(?:auth|authorization|token|jwt|key|apikey|secret|credential|credentials|signature|sig|password|passwd|pwd|session|sessionid|cookie|access[-_]?token|refresh[-_]?token)(?:[-_.]|$)/i,kh=/^(Bearer|Basic|Digest|Token|Negotiate|NTLM|OAuth|Signature|Hawk|AWS4-HMAC-SHA256|SharedKey|SharedKeyLite|GoogleLogin)\s+(\S[\s\S]*)$/i;function mB(I){return`sha256:${L1("sha256").update(I,"utf8").digest("hex").slice(0,16)}`}function gh(I,J,Y){let z=kh.exec(J);if(!z&&!Nh.test(I))return;let X=I.toLowerCase();if(J==="")return{name:X,in:Y,empty:!0};if(z)return{name:X,in:Y,scheme:z[1],fp:mB(z[2])};return{name:X,in:Y,fp:mB(J)}}function iB(I,J){let Y=[],z=new Set,X=(W,Z,L)=>{let j=gh(W,Z,L);if(!j)return;let _=`${j.in}:${j.name}`;if(z.has(_))return;z.add(_),Y.push(j)};try{if(typeof I.forEach==="function")I.forEach((W,Z)=>X(Z,W,"header"));else for(let[W,Z]of Object.entries(I))X(W,String(Z),"header")}catch{}try{if(J!==void 0){let W=typeof J==="string"?new URL(J,"http://twin.invalid").search:J.search;for(let[Z,L]of new URLSearchParams(W))X(Z,L,"query")}}catch{}return Y.sort((W,Z)=>W.in===Z.in?W.name.localeCompare(Z.name):W.in.localeCompare(Z.in))}function wM(I=process.env){return I.VOLTER_TWIN_REQUEST_JOURNAL==="1"}function rB(I,J){return i$(rU(a6(I,J).events),"requests.jsonl")}function tB(I,J,Y){if(!wM())return;try{let z=y6(),X=rB(I,Y);if(z.mkdir(rU(X)),(z.stat(X)?.size??0)>=vh)z.writeAtomic(`${X}.1`,z.read(X)??""),z.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}:{}});z.append(X,`${Z}
321
+ `)}catch{}}var aB=Symbol.for("volter.twin.requestJournal.identity"),lB=Symbol.for("volter.twin.requestJournal.installed"),kM;function xh(){return kM??=new Bh,kM}function wh(){yB((I,J)=>{let Y=kM?.getStore();if(!Y||Y.identity!==void 0)return;Y.identity=J===void 0?{service:I}:{service:I,root:J}})}function fh(I=process.argv){let J=I.indexOf("--root"),Y=J>=0?I[J+1]:void 0;return Y&&!Y.startsWith("--")?Y:void 0}var yh=new Set(["world-runtime","world-tooling","world-attach","world-browser-assets","world-host"]);function dB(I){if(!I)return;let J=/(?:packages[\\/]twin[\\/]|@volter[\\/]twin-)([A-Za-z0-9_-]+)/g;for(let Y of I.matchAll(J)){let z=Y[1];if(!yh.has(z))return z}return}function uh(){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[lB])return!0;if(wh(),hB((z)=>nB(z,dB(Error().stack))),!J)return!1;let Y=function(X,...W){let Z=X;if(!Z||typeof Z.fetch!=="function")return J.apply(this,[X,...W]);let L=Z[aB]?void 0:dB(Error().stack);return J.apply(this,[{...Z,fetch:nB(Z,L)},...W])};return Object.defineProperty(Y,lB,{value:!0}),I.serve=Y,!0}function nB(I,J){if(I.twinRequestJournal===!1)return I.fetch;{let z=I[aB],X=I.fetch;return async function(Z,L){if(!wM()||new URL(Z.url).pathname===vM)return X.call(this,Z,L);let j={},_=500,E=Date.now();try{let C=await xh().run(j,()=>X.call(this,Z,L));if(C instanceof Response)_=C.status;else if(C===void 0)return C;return C}finally{z??=j.identity;let C=z??bh(J);if(C){let q=new URL(Z.url);tB(C.service,{method:Z.method,path:q.pathname,status:_,ms:Date.now()-E,credentials:iB(Z.headers,q)},C.root)}}}}}function bh(I){let J=process.env.VOLTER_TWIN_JOURNAL_SERVICE||I;if(!J||!/^[A-Za-z0-9_-]+$/.test(J))return;let Y=fh();return Y===void 0?{service:J}:{service:J,root:Y}}uh();uU();var Ua=Symbol("absent");uU();var{closeSync:ah,existsSync:n2,mkdirSync:sh,openSync:eh,readdirSync:$p,readFileSync:Up,readSync:Ip,renameSync:Xp,rmSync:Ov,statSync:cM,writeFileSync:Jp}=(()=>({}));uU();var{closeSync:uM,constants:MJ,fstatSync:Yv,ftruncateSync:lh,linkSync:dh,lstatSync:yM,mkdirSync:nh,openSync:bM,readFileSync:oh,readSync:Xv,rmSync:ih,writeFileSync:rh}=(()=>({}));var Gv=131072,Zv=32,Kv=4;function Wv(I){return I.isFile()&&I.nlink===1&&(!process.getuid||I.uid===process.getuid())&&(I.mode&63)===0}function Jv(I){try{let J=yM(I);return J.isDirectory()&&(J.mode&63)===0&&(!process.getuid||J.uid===process.getuid())}catch{return!1}}function Qv(I){let J;try{J=bM(I,MJ.O_RDONLY|MJ.O_NONBLOCK|(MJ.O_NOFOLLOW??0));let Y=Yv(J);if(!Wv(Y)||Y.size>Gv)return{};let z=JSON.parse(oh(J,"utf8"));if(!z||typeof z!=="object"||Array.isArray(z))return{};let X={};for(let[W,Z]of Object.entries(z).slice(-Zv)){if(!/^\d+:[a-f0-9]{64}$/.test(W)||!Array.isArray(Z))continue;X[W]=Z.filter((L)=>typeof L==="string"&&L.length<=4096&&gQ(L)).slice(0,Kv)}return X}catch{return{}}finally{if(J!==void 0)uM(J)}}function th(I,J){let Y=bM(I,"r");try{let z=L1("sha256"),X=Buffer.allocUnsafe(65536),W=J;while(W>0){let Z=Xv(Y,X,0,Math.min(X.length,W),null);if(!Z)return null;z.update(X.subarray(0,Z)),W-=Z}if(Xv(Y,X,0,1,null))return null;return z.digest("hex")}finally{uM(Y)}}function zv(I,J,Y){let z=i$(I,`${Y.slice(0,2)}.json`),X=`${J}:${Y}`;return{reuse(W,Z){if(!Jv(I))return!1;for(let L of Qv(z)[X]??[]){try{let j=yM(L);if(!j.isFile()||j.dev!==J||j.size!==Z||process.getuid&&j.uid!==process.getuid())continue;dh(L,W);let _=yM(W);if(_.isFile()&&_.dev===J&&_.size===Z&&(!process.getuid||_.uid===process.getuid())&&th(W,Z)===Y)return!0}catch{}ih(W,{force:!0})}return!1},record(W){try{let Z=t1(W);if(Z.length>4096)return;let L=Qv(z),j=[Z,...(L[X]??[]).filter((C)=>C!==Z)].slice(0,Kv);delete L[X],L[X]=j;let _=JSON.stringify(L);while(Object.keys(L).length>Zv||Buffer.byteLength(_)>Gv)delete L[Object.keys(L)[0]],_=JSON.stringify(L);if(nh(I,{recursive:!0,mode:448}),!Jv(I))return;let E=bM(z,MJ.O_WRONLY|MJ.O_CREAT|MJ.O_NONBLOCK|(MJ.O_NOFOLLOW??0),384);try{if(!Wv(Yv(E)))return;lh(E,0),rh(E,_)}finally{uM(E)}}catch{}}}}class hM{options;constructor(I={}){this.options=I}async get(I){if(!n2(I))return null;return new Uint8Array(Up(I))}async put(I,J){sh(rU(I),{recursive:!0});let Y=`${I}.tmp.${kQ()}`,z;try{if(this.options.sharedIndexRoot!==!1)try{z=zv(this.options.sharedIndexRoot??i$(Q2(),"blob-index-v1"),cM(rU(I)).dev,Jz(J))}catch{}if(!z?.reuse(Y,J.byteLength))Jp(Y,J,{flag:"wx"});Xp(Y,I),z?.record(I)}finally{Ov(Y,{force:!0})}}async exists(I){return n2(I)}async remove(I){Ov(I,{force:!0,recursive:I.endsWith("/")})}async list(I){let J=[],Y=(z)=>{if(!n2(z))return;for(let X of $p(z,{withFileTypes:!0})){let W=i$(z,X.name);if(X.isDirectory())Y(W);else if(!X.name.includes(".tmp."))J.push(W)}};return Y(I.replace(/\/$/,"")),J.sort()}async size(I){if(!n2(I))return null;return cM(I).size}async getRange(I,J,Y){if(!n2(I))return null;let z=cM(I).size,X=Math.max(0,J),W=Math.min(Y,z-1);if(W<X)return new Uint8Array(0);let Z=new Uint8Array(W-X+1),L=eh(I,"r"),j=0;try{while(j<Z.length){let _=Ip(L,Z,j,Z.length-j,X+j);if(_===0)break;j+=_}}finally{ah(L)}return j===Z.length?Z:Z.subarray(0,j)}}function Jz(I){return L1("sha256").update(I).digest("hex")}var Ma=new hM;iM();var Ca=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])$"),Ta=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:aa,readFileSync:sa,statSync:ea}=(()=>({}));class dp{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 As="0".repeat(40),Cs=new Uint8Array([48,48,48,48]);var{AsyncLocalStorage:gs}=(()=>({}));var{AsyncLocalStorage:bs}=(()=>({}));var{existsSync:ps,readFileSync:ms,statSync:ls}=(()=>({}));var{existsSync:os,readFileSync:is}=(()=>({}));var{existsSync:as}=(()=>({}));var uv="202609";function bv(I,J){if(typeof I!=="number"||!Number.isFinite(I))return"";let Y=Math.max(0,Math.floor((J-I)/1000));if(Y<60)return"now";if(Y<3600)return`${Math.floor(Y/60)}m`;if(Y<86400)return`${Math.floor(Y/3600)}h`;if(Y<604800)return`${Math.floor(Y/86400)}d`;if(Y<2592000)return`${Math.floor(Y/604800)}w`;if(Y<31536000)return`${Math.floor(Y/2592000)}mo`;return`${Math.floor(Y/31536000)}yr`}function rM(I){let J=typeof I==="number"&&Number.isFinite(I)?I:0;return`${J.toLocaleString("en-US")} ${J===1?"follower":"followers"}`}function cv(I){let J=typeof I==="string"?I:"",Y=[],z=/\{hashtag\|\\?#\|([^}]+)\}|@\[([^\]]+)\]\((urn:li:[A-Za-z]+:[A-Za-z0-9_-]+)\)|(https?:\/\/[^\s]+)/g,X=0,W=(Z)=>{if(Z!=="")Y.push({kind:"text",value:Z.replace(/\\([()[\]{}<>@|~_*#\\])/g,"$1")})};for(let Z of J.matchAll(z)){let L=Z.index??0;if(W(J.slice(X,L)),Z[1]!==void 0)Y.push({kind:"hashtag",value:`#${Z[1]}`});else if(Z[2]!==void 0)Y.push({kind:"mention",value:Z[2],urn:Z[3]});else{let j=Z[4].replace(/[.,;:!?)\]'"]+$/,"");Y.push({kind:"url",value:j}),X=L+j.length;continue}X=L+Z[0].length}return W(J.slice(X)),Y}function hv(I){let J=typeof I==="string"?I:"";return J.split(`
322
+ `).length>3||J.length>210}function tM(I){let J=I.content;if(J?.article)return"article";let Y=J?.media?.id;if(typeof Y!=="string")return;if(Y.startsWith("urn:li:video:"))return"video";if(Y.startsWith("urn:li:image:"))return"image";return}function aM(I){try{return new URL(String(I)).host.replace(/^www\./,"")}catch{return""}}function pv(I,J,Y,z){return{id:Number(I.id),urn:`urn:li:organization:${I.id}`,name:String(I.localizedName),vanity:String(I.vanityName),...z&&typeof z.downloadUrl==="string"?{logoUrl:z.downloadUrl}:{},...Y&&typeof Y.firstDegreeSize==="number"?{followers:Y.firstDegreeSize}:{},...J&&typeof J.localizedDescription==="string"?{description:J.localizedDescription}:{},...typeof I.localizedWebsite==="string"?{website:I.localizedWebsite}:{}}}function mv(I){return`#/feed/update/${encodeURIComponent(I)}`}function lv(I,J=0){return`/rest/posts?q=author&author=${encodeURIComponent(I)}&count=10&start=${J}&sortBy=CREATED`}var k0=r1(sM(),1),Gm=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,""),eM="linkedin-mirror.email",$A="linkedin-mirror.token";function Zm(){if(typeof sessionStorage>"u")return null;let I=sessionStorage.getItem(eM),J=sessionStorage.getItem($A);return I&&J?{email:I,token:J}:null}var rv=null,Km=()=>rv??Date.now();async function s1(I,J){let Y=await fetch(`${Gm}${J}`,{headers:{authorization:`Bearer ${I}`,"linkedin-version":uv,"x-restli-protocol-version":"2.0.0"}}),z=Date.parse(Y.headers.get("date")??"");if(Number.isFinite(z))rv=z;let X={};try{X=await Y.json()}catch{X={}}return{status:Y.status,body:X}}var DX=(I)=>String(I.body.message??`HTTP ${I.status}`);function dv(I){let J=I.replace(/^#\/?/,"").split("/").filter(Boolean);if(J[0]==="login")return{page:"login"};if(J[0]==="company"&&J[1])return{page:"company",vanity:decodeURIComponent(J[1])};if(J[0]==="feed"&&J[1]==="update"&&J[2])return{page:"post",urn:decodeURIComponent(J[2])};return{page:"home"}}var nv=(I)=>{location.hash=`#/${I}`};function HX({d:I,size:J=24,fill:Y=!0,className:z}){return k0.jsxDEV("svg",{className:z,viewBox:"0 0 24 24",width:J,height:J,"aria-hidden":"true",fill:Y?"currentColor":"none",stroke:Y?"none":"currentColor",strokeWidth:1.6,children:I.map((X)=>k0.jsxDEV("path",{d:X},X,!1,void 0,this))},void 0,!1,void 0,this)}var Wm=["M23 9v2h-2v7a3 3 0 01-3 3h-4v-6h-4v6H6a3 3 0 01-3-3v-7H1V9l11-7 5 3.18V2h3v5.09z"],zm=["M12 16v6H3v-6a3 3 0 013-3h3a3 3 0 013 3zm5.5-3A3.5 3.5 0 1014 9.5a3.5 3.5 0 003.5 3.5zm1 2h-2a2.5 2.5 0 00-2.5 2.5V22h7v-4.5a2.5 2.5 0 00-2.5-2.5zM7.5 2A4.5 4.5 0 1012 6.5 4.49 4.49 0 007.5 2z"],Om=["M17 6V5a3 3 0 00-3-3h-4a3 3 0 00-3 3v1H2v4a3 3 0 003 3h14a3 3 0 003-3V6zM9 5a1 1 0 011-1h4a1 1 0 011 1v1H9zm10 9a4 4 0 003-1.38V17a3 3 0 01-3 3H5a3 3 0 01-3-3v-4.38A4 4 0 005 14z"],Vm=["M16 4H8a7 7 0 000 14h4v4l8.16-5.39A6.78 6.78 0 0023 11a7 7 0 00-7-7zm-8 8.25A1.25 1.25 0 119.25 11 1.25 1.25 0 018 12.25zm4 0A1.25 1.25 0 1113.25 11 1.25 1.25 0 0112 12.25zm4 0A1.25 1.25 0 1117.25 11 1.25 1.25 0 0116 12.25z"],Hm=["M22 19h-8.28a2 2 0 11-3.44 0H2v-1a4.52 4.52 0 011.17-2.83l1-1.17h15.7l1 1.17A4.42 4.42 0 0122 18zM18.21 7.44A6.27 6.27 0 0012 2a6.27 6.27 0 00-6.21 5.44L5 13h14z"],Dm=["M14.56 12.44L11.3 9.18a5.51 5.51 0 10-2.12 2.12l3.26 3.26a1.5 1.5 0 102.12-2.12zM3 6.5A3.5 3.5 0 116.5 10 3.5 3.5 0 013 6.5z"],Fm=["M8 1a7 7 0 107 7 7 7 0 00-7-7zM3 8a5 5 0 011-3l.55.55A1.5 1.5 0 015 6.62v1.07a.75.75 0 00.22.53l.56.56a.75.75 0 00.53.22H7v.69a.75.75 0 00.22.53l.56.56a.75.75 0 01.22.53V13a5 5 0 01-5-5zm6.24 4.83l2-2.46a.75.75 0 00.09-.8l-.58-1.16A.76.76 0 0010 8H7v-.19a.51.51 0 01.28-.45l.38-.19a.74.74 0 01.68 0L9 7.5l.38-.7a1 1 0 00.12-.48v-.85a.78.78 0 01.21-.53l1.07-1.09a5 5 0 01-1.54 9z"],Lm=["M19.46 11l-3.91-3.91a7 7 0 01-1.69-2.74l-.49-1.47A2.76 2.76 0 0010.76 1 2.75 2.75 0 008 3.74v1.12a9.19 9.19 0 00.46 2.85L8.89 9H4.12A2.12 2.12 0 002 11.12a2.16 2.16 0 00.92 1.76A2.11 2.11 0 002 14.62a2.14 2.14 0 001.28 2 2 2 0 00-.28 1 2.12 2.12 0 002 2.12v.14A2.12 2.12 0 007.12 22h7.49a8.08 8.08 0 003.58-.84l.31-.16H21V11zM19 19h-1l-.73.37a6.14 6.14 0 01-2.69.63H7.72a1 1 0 01-1-.72l-.25-.87-.85-.41A1 1 0 015 17l.17-1-.76-.74A1 1 0 014.27 14l.66-1.09-.73-1.1a.49.49 0 01.08-.7.48.48 0 01.34-.11h7.05l-1.31-3.92A7 7 0 0110 4.86V3.75a.77.77 0 01.75-.75.75.75 0 01.71.51L12 5a9 9 0 002.13 3.5l4.5 4.5H19z"],Mm=["M7 9h10v1H7zm0 4h7v-1H7zm16-2a6.78 6.78 0 01-2.84 5.61L12 22v-4H8A7 7 0 018 4h8a7 7 0 017 7zm-2 0a5 5 0 00-5-5H8a5 5 0 000 10h6v2.28L19 15a4.79 4.79 0 002-4z"],Am=["M13.96 5H6c-.55 0-1 .45-1 1v10H3V6c0-1.66 1.34-3 3-3h7.96L12 0h2.5L17 4l-2.5 4H12l1.96-3zm.04 14H18c.55 0 1-.45 1-1V8h2v10c0 1.66-1.34 3-3 3h-4l1.96 3H13.5L11 20l2.5-4H16l-2 3z"],Cm=["M21 3L0 10l7.66 4.26L16 8l-6.26 8.34L14 24l7-21z"],Tm=["M9 4l-4.87 7H22v2H4.13L9 20H6.5L1 12l5.5-8z"];function tv({size:I=34}){return k0.jsxDEV("svg",{className:"in-logo",viewBox:"0 0 34 34",width:I,height:I,"aria-label":"LinkedIn",children:[k0.jsxDEV("rect",{width:"34",height:"34",rx:"4",fill:"#0a66c2"},void 0,!1,void 0,this),k0.jsxDEV("path",{fill:"#fff",d:"M7.6 13.2h4.3v13.9H7.6zM9.8 6.3a2.5 2.5 0 110 5 2.5 2.5 0 010-5zM14.6 13.2h4.1v1.9h.1c.6-1.1 2-2.2 4.1-2.2 4.4 0 5.2 2.9 5.2 6.6v7.6h-4.3v-6.8c0-1.6 0-3.7-2.3-3.7s-2.6 1.8-2.6 3.6v6.9h-4.3z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function av({src:I,name:J,size:Y=48}){if(I)return k0.jsxDEV("img",{className:"org-logo",src:I,width:Y,height:Y,alt:J?`${J} logo`:"logo"},void 0,!1,void 0,this);return k0.jsxDEV("div",{className:"org-logo org-logo-empty",style:{width:Y,height:Y},"aria-hidden":"true",children:k0.jsxDEV("svg",{viewBox:"0 0 24 24",width:Y*0.55,height:Y*0.55,children:k0.jsxDEV("path",{fill:"#a0b4b7",d:"M4 2v20h16V2zm6 17H8v-2h2zm0-4H8v-2h2zm0-4H8V9h2zm0-4H8V5h2zm6 12h-4v-4h4zm0-6h-2v-2h2zm0-4h-2V5h2z"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function Rm({text:I,clamp:J=!1}){let[Y,z]=e$.useState(!J),X=J&&hv(I);return k0.jsxDEV("div",{className:X&&!Y?"commentary commentary-folded":"commentary",children:[k0.jsxDEV("span",{className:"commentary-text",children:cv(I).map((W,Z)=>{if(W.kind==="text")return k0.jsxDEV("span",{children:W.value},Z,!1,void 0,this);if(W.kind==="url")return k0.jsxDEV("a",{className:"li-link",href:W.value,target:"_blank",rel:"noreferrer",children:W.value.replace(/^https?:\/\//,"")},Z,!1,void 0,this);if(W.kind==="mention")return k0.jsxDEV("span",{className:"li-link li-mention",children:W.value},Z,!1,void 0,this);return k0.jsxDEV("span",{className:"li-link li-hashtag",children:W.value},Z,!1,void 0,this)})},void 0,!1,void 0,this),X&&!Y?k0.jsxDEV("button",{className:"see-more",onClick:(W)=>{W.stopPropagation(),z(!0)},children:"…more"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function Pm(I,J,Y){let[z,X]=e$.useState(null),W=tM(J),Z=W==="article"?J.content?.article?.thumbnail:J.content?.media?.id;return e$.useEffect(()=>{let L=!0;if(!W){X(null);return}if(typeof Z!=="string"){X(W==="article"?{kind:"article"}:null);return}let j=Z.startsWith("urn:li:video:")?`/rest/videos/${encodeURIComponent(Z)}`:`/rest/images/${encodeURIComponent(Z)}`;return(async()=>{let E=await s1(I,j);if(!L)return;if(E.status!==200){X({kind:"missing",why:DX(E)});return}if(W==="article")X({kind:"article",thumb:E.body});else X({kind:W,asset:E.body})})(),()=>{L=!1}},[I,W,Z,Y]),z}function qm({asset:I,title:J}){let[Y,z]=e$.useState(!1),X=Number(I.aspectRatioWidth)>0&&Number(I.aspectRatioHeight)>0?`${I.aspectRatioWidth} / ${I.aspectRatioHeight}`:"16 / 9";if(I.status!=="AVAILABLE"||typeof I.downloadUrl!=="string")return k0.jsxDEV("div",{className:"media-pending",style:{aspectRatio:X},children:"Your video is being processed"},void 0,!1,void 0,this);let W=(Z)=>{Z.stopPropagation();let L=Z.currentTarget.closest(".media")?.querySelector("video");z(!0),L?.play().catch(()=>{return})};return k0.jsxDEV("div",{className:"media media-video-wrap",onClick:(Z)=>Z.stopPropagation(),children:[k0.jsxDEV("video",{className:"media-video",style:{aspectRatio:X},src:I.downloadUrl,poster:typeof I.thumbnail==="string"?I.thumbnail:void 0,controls:Y,playsInline:!0,preload:"metadata","aria-label":J??"Video","data-video-urn":String(I.id)},void 0,!1,void 0,this),!Y?k0.jsxDEV("button",{className:"media-play","aria-label":"Play video",onClick:W,children:k0.jsxDEV("svg",{viewBox:"0 0 24 24",width:"36",height:"36","aria-hidden":"true",children:k0.jsxDEV("path",{d:"M8 5v14l11-7z",fill:"currentColor"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function _m({post:I,resolved:J}){let Y=tM(I);if(!Y)return null;if(Y==="article"){let z=I.content.article,X=J&&J.kind==="article"?J.thumb:void 0;return k0.jsxDEV("a",{className:"article",href:String(z.source),target:"_blank",rel:"noreferrer",onClick:(W)=>W.stopPropagation(),children:[X&&typeof X.downloadUrl==="string"?k0.jsxDEV("img",{className:"article-thumb",src:X.downloadUrl,alt:String(z.thumbnailAltText??"")},void 0,!1,void 0,this):null,k0.jsxDEV("div",{className:"article-meta",children:[k0.jsxDEV("div",{className:"article-title",children:String(z.title??z.source)},void 0,!1,void 0,this),k0.jsxDEV("div",{className:"article-source",children:aM(z.source)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}if(!J)return k0.jsxDEV("div",{className:"media-loading"},void 0,!1,void 0,this);if(J.kind==="missing")return k0.jsxDEV("div",{className:"media-pending",children:["This media is unavailable (",J.why,")"]},void 0,!0,void 0,this);if(J.kind==="video")return k0.jsxDEV(qm,{asset:J.asset,title:I.content?.media?.title},void 0,!1,void 0,this);if(J.kind==="image"&&typeof J.asset.downloadUrl==="string")return k0.jsxDEV("div",{className:"media",children:k0.jsxDEV("img",{className:"media-img",src:J.asset.downloadUrl,alt:String(I.content?.media?.altText??"Image")},void 0,!1,void 0,this)},void 0,!1,void 0,this);return null}function Em({post:I,org:J,nowMs:Y,resolved:z,full:X=!1}){return k0.jsxDEV("article",{className:"card post","data-post-urn":String(I.id),onClick:()=>{if(!X)location.hash=mv(String(I.id))},children:[k0.jsxDEV("header",{className:"post-head",children:[k0.jsxDEV(av,{src:J.logoUrl,name:J.name,size:48},void 0,!1,void 0,this),k0.jsxDEV("div",{className:"post-actor",children:[k0.jsxDEV("a",{className:"post-actor-name",href:`#/company/${encodeURIComponent(J.vanity)}`,onClick:(W)=>W.stopPropagation(),children:J.name},void 0,!1,void 0,this),typeof J.followers==="number"?k0.jsxDEV("div",{className:"post-actor-sub",children:rM(J.followers)},void 0,!1,void 0,this):null,k0.jsxDEV("div",{className:"post-actor-sub",children:[k0.jsxDEV("span",{children:bv(I.publishedAt??I.createdAt,Y)},void 0,!1,void 0,this),k0.jsxDEV("span",{className:"dot","aria-hidden":"true",children:"•"},void 0,!1,void 0,this),k0.jsxDEV("span",{className:"globe",title:I.visibility==="PUBLIC"?"Visible to anyone on or off LinkedIn":"Visible to members",children:k0.jsxDEV(HX,{d:Fm,size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("button",{className:"follow-link",onClick:(W)=>W.stopPropagation(),children:"+ Follow"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV(Rm,{text:I.commentary,clamp:!X},void 0,!1,void 0,this),k0.jsxDEV(_m,{post:I,resolved:z},void 0,!1,void 0,this),k0.jsxDEV("div",{className:"social-bar",children:[k0.jsxDEV("button",{className:"social-action",children:[k0.jsxDEV(HX,{d:Lm,size:20},void 0,!1,void 0,this),k0.jsxDEV("span",{children:"Like"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("button",{className:"social-action",children:[k0.jsxDEV(HX,{d:Mm,size:20},void 0,!1,void 0,this),k0.jsxDEV("span",{children:"Comment"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("button",{className:"social-action",children:[k0.jsxDEV(HX,{d:Am,size:20},void 0,!1,void 0,this),k0.jsxDEV("span",{children:"Repost"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("button",{className:"social-action",children:[k0.jsxDEV(HX,{d:Cm,size:20},void 0,!1,void 0,this),k0.jsxDEV("span",{children:"Send"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function sv({session:I,post:J,org:Y,nowMs:z,reloadKey:X,full:W}){let Z=Pm(I.token,J,X);return k0.jsxDEV(Em,{post:J,org:Y,nowMs:Km(),resolved:Z,full:W},void 0,!1,void 0,this)}function Sm({org:I}){return k0.jsxDEV("section",{className:"card company",children:[k0.jsxDEV("div",{className:"cover"},void 0,!1,void 0,this),k0.jsxDEV("div",{className:"company-body",children:[k0.jsxDEV("div",{className:"company-logo",children:k0.jsxDEV(av,{src:I.logoUrl,name:I.name,size:104},void 0,!1,void 0,this)},void 0,!1,void 0,this),k0.jsxDEV("h1",{className:"company-name",children:I.name},void 0,!1,void 0,this),I.description?k0.jsxDEV("div",{className:"company-tagline",children:I.description.split(`
323
+ `)[0]},void 0,!1,void 0,this):null,k0.jsxDEV("div",{className:"company-meta",children:[I.website?k0.jsxDEV("span",{children:aM(I.website)||I.website},void 0,!1,void 0,this):null,I.website&&typeof I.followers==="number"?k0.jsxDEV("span",{"aria-hidden":"true",children:" · "},void 0,!1,void 0,this):null,typeof I.followers==="number"?k0.jsxDEV("span",{className:"company-followers",children:rM(I.followers)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),k0.jsxDEV("div",{className:"company-actions",children:[k0.jsxDEV("button",{className:"btn-primary",children:"+ Follow"},void 0,!1,void 0,this),I.website?k0.jsxDEV("a",{className:"btn-secondary",href:I.website,target:"_blank",rel:"noreferrer",children:"Visit website ↗"},void 0,!1,void 0,this):null,k0.jsxDEV("button",{className:"btn-secondary",children:"Message"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("nav",{className:"company-tabs",children:[k0.jsxDEV("span",{className:"company-tab",children:"Home"},void 0,!1,void 0,this),k0.jsxDEV("span",{className:"company-tab",children:"About"},void 0,!1,void 0,this),k0.jsxDEV("span",{className:"company-tab active",children:"Posts"},void 0,!1,void 0,this),k0.jsxDEV("span",{className:"company-tab",children:"Jobs"},void 0,!1,void 0,this),k0.jsxDEV("span",{className:"company-tab",children:"People"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function ev(I,J,Y){let[z,X]=e$.useState(null),[W,Z]=e$.useState(null);return e$.useEffect(()=>{if(!J)return;let L=!0;return X(null),Z(null),(async()=>{let j=await s1(I.token,`/rest/organizations?q=vanityName&vanityName=${encodeURIComponent(J)}`),_=Array.isArray(j.body.elements)?j.body.elements[0]:void 0;if(!L)return;if(j.status!==200||!_){Z(j.status===200?"This page doesn’t exist":DX(j));return}let E=`urn:li:organization:${_.id}`,[C,q,B]=await Promise.all([s1(I.token,`/rest/organizations/${_.id}`),s1(I.token,`/rest/networkSizes/${encodeURIComponent(E)}?edgeType=COMPANY_FOLLOWED_BY_MEMBER`),typeof _.logoV2?.original==="string"?s1(I.token,`/rest/images/${encodeURIComponent(_.logoV2.original)}`):Promise.resolve(null)]);if(!L)return;X(pv(_,C.status===200?C.body:null,q.status===200?q.body:null,B&&B.status===200?B.body:null))})(),()=>{L=!1}},[I.token,J,Y]),{org:z,error:W}}function jm({session:I,vanity:J,nowMs:Y,reloadKey:z}){let{org:X,error:W}=ev(I,J,z),[Z,L]=e$.useState([]),[j,_]=e$.useState(null),[E,C]=e$.useState(null),q=e$.useCallback(async(N,f)=>{if(!X)return;let w=await s1(I.token,lv(X.urn,N));if(w.status!==200){C(DX(w));return}if(!Array.isArray(w.body.elements)){C("LinkedIn answered the feed without its posts.");return}let b=w.body.elements;L([...f,...b]);let g=Array.isArray(w.body.paging?.links)&&w.body.paging.links.some((u)=>u.rel==="next");_(g?N+b.length:null)},[X,I.token]);if(e$.useEffect(()=>{L([]),_(null),C(null),q(0,[])},[q,z]),W)return k0.jsxDEV("div",{className:"card empty",children:k0.jsxDEV("h2",{children:W},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!X)return k0.jsxDEV("div",{className:"card loading"},void 0,!1,void 0,this);let B=Z.filter((N)=>N.distribution?.feedDistribution!=="NONE");return k0.jsxDEV(k0.Fragment,{children:[k0.jsxDEV(Sm,{org:X},void 0,!1,void 0,this),k0.jsxDEV("div",{className:"feed-sort",children:["Sort by: ",k0.jsxDEV("strong",{children:"Recent"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),E?k0.jsxDEV("div",{className:"card empty",children:E},void 0,!1,void 0,this):null,B.length===0&&!E?k0.jsxDEV("div",{className:"card empty",children:[k0.jsxDEV("h2",{children:"No posts yet"},void 0,!1,void 0,this),k0.jsxDEV("p",{children:["When ",X.name," shares a post, it will appear here."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):null,B.map((N)=>k0.jsxDEV(sv,{session:I,post:N,org:X,nowMs:Y,reloadKey:z},String(N.id),!1,void 0,this)),j!==null?k0.jsxDEV("button",{className:"show-more",onClick:()=>void q(j,Z),children:"Show more results"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function Bm({session:I,urn:J,nowMs:Y,reloadKey:z}){let[X,W]=e$.useState(null),[Z,L]=e$.useState(null),[j,_]=e$.useState(null);e$.useEffect(()=>{W(null),_(null),s1(I.token,`/rest/posts/${encodeURIComponent(J)}`).then(async(q)=>{W(q);let B=q.body.author;if(q.status===200&&typeof B==="string"){let N=B.split(":").pop()??"",f=await s1(I.token,`/rest/organizationsLookup?ids=List(${N})`),w=f.status===200?f.body.results?.[N]:void 0;if(w&&typeof w.vanityName==="string")L(w.vanityName);else _(f.status===200?String(f.body.errors?.[N]?.message??"This page is unavailable"):DX(f))}})},[J,I.token,z]);let{org:E,error:C}=ev(I,Z,z);if(X===null)return k0.jsxDEV("div",{className:"card loading"},void 0,!1,void 0,this);if(X.status!==200)return k0.jsxDEV("div",{className:"card empty",children:[k0.jsxDEV("h2",{children:"This post cannot be displayed"},void 0,!1,void 0,this),k0.jsxDEV("p",{children:DX(X)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(C)return k0.jsxDEV("div",{className:"card empty",children:[k0.jsxDEV("h2",{children:"This post cannot be displayed"},void 0,!1,void 0,this),k0.jsxDEV("p",{children:C},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(j)return k0.jsxDEV("div",{className:"card empty",children:[k0.jsxDEV("h2",{children:"This post cannot be displayed"},void 0,!1,void 0,this),k0.jsxDEV("p",{children:j},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(!E)return k0.jsxDEV("div",{className:"card loading"},void 0,!1,void 0,this);return k0.jsxDEV(k0.Fragment,{children:[k0.jsxDEV("button",{className:"back-link",onClick:()=>history.back(),children:[k0.jsxDEV(HX,{d:Tm,size:16},void 0,!1,void 0,this)," Back"]},void 0,!0,void 0,this),k0.jsxDEV(sv,{session:I,post:X.body,org:E,nowMs:Y,reloadKey:z,full:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var vm=["ADMINISTRATOR","CONTENT_ADMINISTRATOR","DIRECT_SPONSORED_CONTENT_POSTER"];function Nm({session:I}){let[J,Y]=e$.useState(null);return e$.useEffect(()=>{(async()=>{let z=await s1(I.token,"/rest/organizationAcls?q=roleAssignee&state=APPROVED");if(z.status!==200){Y(DX(z));return}let X=Array.isArray(z.body.elements)?z.body.elements:[],W=vm.map((_)=>X.find((E)=>E.role===_)).find((_)=>_!==void 0);if(!W){Y("You don’t manage any LinkedIn Page yet.");return}let Z=String(W.organization??W.organizationTarget).split(":").pop()??"",L=await s1(I.token,`/rest/organizationsLookup?ids=List(${Z})`),j=L.status===200?L.body.results?.[Z]:void 0;if(!j||typeof j.vanityName!=="string"){Y(L.status===200?String(L.body.errors?.[Z]?.message??"This page is unavailable"):DX(L));return}location.replace(`#/company/${encodeURIComponent(j.vanityName)}`)})()},[I.token]),J?k0.jsxDEV("div",{className:"card empty",children:k0.jsxDEV("h2",{children:J},void 0,!1,void 0,this)},void 0,!1,void 0,this):k0.jsxDEV("div",{className:"card loading"},void 0,!1,void 0,this)}function km({onSignedIn:I}){let[J,Y]=e$.useState("email"),[z,X]=e$.useState(""),[W,Z]=e$.useState(""),[L,j]=e$.useState(null),[_,E]=e$.useState(!1),C=z.trim(),q=()=>{if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(C)){j("Please enter a valid email address.");return}j(null),Y("token")},B=async()=>{E(!0);let N=await s1(W.trim(),"/v2/userinfo");if(E(!1),N.status===401){j("That access token isn’t right. Try again.");return}if(N.status!==200){j(DX(N));return}if(String(N.body.email??"").toLowerCase()!==C.toLowerCase()){j(`That token does not sign in as ${C}.`);return}I({email:C,token:W.trim()})};return k0.jsxDEV("div",{className:"login-page",children:[k0.jsxDEV("div",{className:"login-top",children:k0.jsxDEV("span",{className:"wordmark",children:["Linked",k0.jsxDEV(tv,{size:26},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),k0.jsxDEV("div",{className:"login-card",children:[k0.jsxDEV("h1",{children:"Sign in"},void 0,!1,void 0,this),k0.jsxDEV("p",{className:"login-sub",children:"Stay updated on your professional world."},void 0,!1,void 0,this),J==="email"?k0.jsxDEV("form",{onSubmit:(N)=>{N.preventDefault(),q()},children:[k0.jsxDEV("label",{className:"field",children:[k0.jsxDEV("input",{autoFocus:!0,name:"session_key",placeholder:" ",value:z,onChange:(N)=>X(N.target.value),autoComplete:"username"},void 0,!1,void 0,this),k0.jsxDEV("span",{children:"Email or phone"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),L?k0.jsxDEV("div",{className:"login-error",role:"alert",children:L},void 0,!1,void 0,this):null,k0.jsxDEV("button",{className:"btn-signin",type:"submit",disabled:C==="",children:"Continue"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):k0.jsxDEV("form",{onSubmit:(N)=>{N.preventDefault(),B()},children:[k0.jsxDEV("div",{className:"login-who",children:[C," ",k0.jsxDEV("button",{type:"button",className:"btn-text",onClick:()=>{Y("email"),j(null)},children:"Change"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("label",{className:"field",children:[k0.jsxDEV("input",{autoFocus:!0,name:"session_password",type:"password",placeholder:" ",value:W,onChange:(N)=>Z(N.target.value),autoComplete:"current-password"},void 0,!1,void 0,this),k0.jsxDEV("span",{children:"Access token"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),L?k0.jsxDEV("div",{className:"login-error",role:"alert",children:L},void 0,!1,void 0,this):null,k0.jsxDEV("button",{className:"btn-signin",type:"submit",disabled:W.trim()===""||_,children:"Sign in"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("p",{className:"login-note",children:["This twin signs you in with the access token it issued for your account (",k0.jsxDEV("code",{children:"/_twin/tokens"},void 0,!1,void 0,this),"), in place of a password."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function gm({session:I,onSignOut:J}){let Y=I.email[0]?.toUpperCase()??"?",z=(X,W,Z=!1)=>k0.jsxDEV("span",{className:Z?"nav-item active":"nav-item",children:[k0.jsxDEV(HX,{d:X,size:24},void 0,!1,void 0,this),k0.jsxDEV("span",{children:W},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return k0.jsxDEV("header",{className:"topnav",children:k0.jsxDEV("div",{className:"topnav-inner",children:[k0.jsxDEV("a",{href:"#/","aria-label":"LinkedIn home",children:k0.jsxDEV(tv,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),k0.jsxDEV("div",{className:"search",children:[k0.jsxDEV(HX,{d:Dm,size:16},void 0,!1,void 0,this),k0.jsxDEV("input",{placeholder:"Search","aria-label":"Search"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k0.jsxDEV("nav",{className:"nav-items",children:[z(Wm,"Home"),z(zm,"My Network"),z(Om,"Jobs"),z(Vm,"Messaging"),z(Hm,"Notifications"),k0.jsxDEV("button",{className:"nav-item nav-me",title:`Sign out ${I.email}`,onClick:J,children:[k0.jsxDEV("span",{className:"me-avatar",children:Y},void 0,!1,void 0,this),k0.jsxDEV("span",{children:"Me ▾"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function xm(){let[I,J]=e$.useState(Zm),[Y,z]=e$.useState(()=>dv(typeof location>"u"?"":location.hash)),[X,W]=e$.useState(()=>Date.now()),[Z]=e$.useState(0);e$.useEffect(()=>{let E=()=>{z(dv(location.hash)),W(Date.now()),window.scrollTo(0,0)},C=(q)=>{let B=q.target?.closest?.('a[href^="#/"]');if(!B||q.defaultPrevented||q.button!==0||q.metaKey||q.ctrlKey||q.shiftKey||q.altKey)return;q.preventDefault(),location.hash=B.getAttribute("href")};return window.addEventListener("hashchange",E),document.addEventListener("click",C,!0),()=>{window.removeEventListener("hashchange",E),document.removeEventListener("click",C,!0)}},[]);let L=(E)=>{sessionStorage.setItem(eM,E.email),sessionStorage.setItem($A,E.token),J(E),nv("")},j=()=>{sessionStorage.removeItem(eM),sessionStorage.removeItem($A),J(null),nv("login")};if(!I||Y.page==="login")return k0.jsxDEV(km,{onSignedIn:L},void 0,!1,void 0,this);let _;if(Y.page==="company")_=k0.jsxDEV(jm,{session:I,vanity:Y.vanity,nowMs:X,reloadKey:Z},void 0,!1,void 0,this);else if(Y.page==="post")_=k0.jsxDEV(Bm,{session:I,urn:Y.urn,nowMs:X,reloadKey:Z},void 0,!1,void 0,this);else _=k0.jsxDEV(Nm,{session:I},void 0,!1,void 0,this);return k0.jsxDEV("div",{className:"app",children:[k0.jsxDEV(gm,{session:I,onSignOut:j},void 0,!1,void 0,this),k0.jsxDEV("main",{className:Y.page==="post"?"main main-narrow":"main",children:_},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var ov=typeof document<"u"?document.getElementById("root"):null;if(ov)iv.createRoot(ov).render(k0.jsxDEV(xm,{},void 0,!1,void 0,this));export{qm as VideoPlayer,_m as PostMedia,Em as PostCard,av as OrgLogo,Sm as CompanyHeader,Rm as Commentary};