vendor: 4,747 bytes, lines 1-9
1function YH(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();var ZH=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function iy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ew(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var u_={exports:{}},Kd={},l_={exports:{}},Vt={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var XT;function JH(){if(XT)return Vt;XT=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),o=Symbol.iterator;function u(I){return I===null||typeof I!="object"?null:(I=o&&I[o]||I["@@iterator"],typeof I=="function"?I:null)}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function b(I,S,O){this.props=I,this.context=S,this.refs=y,this.updater=O||p}b.prototype.isReactComponent={},b.prototype.setState=function(I,S){if(typeof I!="object"&&typeof I!="function"&&I!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,I,S,"setState")},b.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function x(){}x.prototype=b.prototype;function w(I,S,O){this.props=I,this.context=S,this.refs=y,this.updater=O||p}var E=w.prototype=new x;E.constructor=w,g(E,b.prototype),E.isPureReactComponent=!0;var j=Array.isArray,T=Object.prototype.hasOwnProperty,F={current:null},z={key:!0,ref:!0,__self:!0,__source:!0};function K(I,S,O){var Y,Q={},ne=null,oe=null;if(S!=null)for(Y in S.ref!==void 0&&(oe=S.ref),S.key!==void 0&&(ne=""+S.key),S)T.call(S,Y)&&!z.hasOwnProperty(Y)&&(Q[Y]=S[Y]);var ge=arguments.length-2;if(ge===1)Q.children=O;else if(1<ge){for(var we=Array(ge),Ue=0;Ue<ge;Ue++)we[Ue]=arguments[Ue+2];Q.children=we}if(I&&I.defaultProps)for(Y in ge=I.defaultProps,ge)Q[Y]===void 0&&(Q[Y]=ge[Y]);return{$$typeof:e,type:I,key:ne,ref:oe,props:Q,_owner:F.current}}function U(I,S){return{$$typeof:e,type:I.type,key:S,ref:I.ref,props:I.props,_owner:I._owner}}function H(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function V(I){var S={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(O){return S[O]})}var Z=/\/+/g;function R(I,S){return typeof I=="object"&&I!==null&&I.key!=null?V(""+I.key):S.toString(36)}function _(I,S,O,Y,Q){var ne=typeof I;(ne==="undefined"||ne==="boolean")&&(I=null);var oe=!1;if(I===null)oe=!0;else switch(ne){case"string":case"number":oe=!0;break;case"object":switch(I.$$typeof){case e:case t:oe=!0}}if(oe)return oe=I,Q=Q(oe),I=Y===""?"."+R(oe,0):Y,j(Q)?(O="",I!=null&&(O=I.replace(Z,"$&/")+"/"),_(Q,S,O,"",function(Ue){return Ue})):Q!=null&&(H(Q)&&(Q=U(Q,O+(!Q.key||oe&&oe.key===Q.key?"":(""+Q.key).replace(Z,"$&/")+"/")+I)),S.push(Q
vendor: 8,558 bytes, lines 9-25
9)),1;if(oe=0,Y=Y===""?".":Y+":",j(I))for(var ge=0;ge<I.length;ge++){ne=I[ge];var we=Y+R(ne,ge);oe+=_(ne,S,O,we,Q)}else if(we=u(I),typeof we=="function")for(I=we.call(I),ge=0;!(ne=I.next()).done;)ne=ne.value,we=Y+R(ne,ge++),oe+=_(ne,S,O,we,Q);else if(ne==="object")throw S=String(I),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.");return oe}function k(I,S,O){if(I==null)return I;var Y=[],Q=0;return _(I,Y,"","",function(ne){return S.call(O,ne,Q++)}),Y}function M(I){if(I._status===-1){var S=I._result;S=S(),S.then(function(O){(I._status===0||I._status===-1)&&(I._status=1,I._result=O)},function(O){(I._status===0||I._status===-1)&&(I._status=2,I._result=O)}),I._status===-1&&(I._status=0,I._result=S)}if(I._status===1)return I._result.default;throw I._result}var B={current:null},C={transition:null},q={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:C,ReactCurrentOwner:F};function W(){throw Error("act(...) is not supported in production builds of React.")}return Vt.Children={map:k,forEach:function(I,S,O){k(I,function(){S.apply(this,arguments)},O)},count:function(I){var S=0;return k(I,function(){S++}),S},toArray:function(I){return k(I,function(S){return S})||[]},only:function(I){if(!H(I))throw Error("React.Children.only expected to receive a single React element child.");return I}},Vt.Component=b,Vt.Fragment=r,Vt.Profiler=a,Vt.PureComponent=w,Vt.StrictMode=n,Vt.Suspense=m,Vt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,Vt.act=W,Vt.cloneElement=function(I,S,O){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var Y=g({},I.props),Q=I.key,ne=I.ref,oe=I._owner;if(S!=null){if(S.ref!==void 0&&(ne=S.ref,oe=F.current),S.key!==void 0&&(Q=""+S.key),I.type&&I.type.defaultProps)var ge=I.type.defaultProps;for(we in S)T.call(S,we)&&!z.hasOwnProperty(we)&&(Y[we]=S[we]===void 0&&ge!==void 0?ge[we]:S[we])}var we=arguments.length-2;if(we===1)Y.children=O;else if(1<we){ge=Array(we);for(var Ue=0;Ue<we;Ue++)ge[Ue]=arguments[Ue+2];Y.children=ge}return{$$typeof:e,type:I.type,key:Q,ref:ne,props:Y,_owner:oe}},Vt.createContext=function(I){return I={$$typeof:c,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:i,_context:I},I.Consumer=I},Vt.createElement=K,Vt.createFactory=function(I){var S=K.bind(null,I);return S.type=I,S},Vt.createRef=function(){return{current:null}},Vt.forwardRef=function(I){return{$$typeof:f,render:I}},Vt.isValidElement=H,Vt.lazy=function(I){return{$$typeof:l,_payload:{_status:-1,_result:I},_init:M}},Vt.memo=function(I,S){return{$$typeof:h,type:I,compare:S===void 0?null:S}},Vt.startTransition=function(I){var S=C.transition;C.transition={};try{I()}finally{C.transition=S}},Vt.unstable_act=W,Vt.useCallback=function(I,S){return B.current.useCallback(I,S)},Vt.useContext=function(I){return B.current.useContext(I)},Vt.useDebugValue=function(){},Vt.useDeferredValue=function(I){return B.current.useDeferredValue(I)},Vt.useEffect=function(I,S){return B.current.useEffect(I,S)},Vt.useId=function(){return B.current.useId()},Vt.useImperativeHandle=function(I,S,O){return B.current.useImperativeHandle(I,S,O)},Vt.useInsertionEffect=function(I,S){return B.current.useInsertionEffect(I,S)},Vt.useLayoutEffect=function(I,S){return B.current.useLayoutEffect(I,S)},Vt.useMemo=function(I,S){return B.current.useMemo(I,S)},Vt.useReducer=function(I,S,O){return B.current.useReducer(I,S,O)},Vt.useRef=function(I){return B.current.useRef(I)},Vt.useState=function(I){return B.current.useState(I)},Vt.useSyncExternalStore=function(I,S,O){return B.current.useSyncExternalStore(I,S,O)},Vt.useTransition=function(){return B.current.useTransition()},Vt.version="18.3.1",Vt}var $T;function WA(){return $T||($T=1,l_.exports=JH()),l_.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var eR;function QH(){if(eR)return Kd;eR=1;var e=WA(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(f,m,h){var l,o={},u=null,p=null;h!==void 0&&(u=""+h),m.key!==void 0&&(u=""+m.key),m.ref!==void 0&&(p=m.ref);for(l in m)n.call(m,l)&&!i.hasOwnProperty(l)&&(o[l]=m[l]);if(f&&f.defaultProps)for(l in m=f.defaultProps,m)o[l]===void 0&&(o[l]=m[l]);return{$$typeof:t,type:f,key:u,ref:p,props:o,_owner:a.current}}return Kd.Fragment=r,Kd.jsx=c,Kd.jsxs=c,Kd}var tR;function XH(){return tR||(tR=1,u_.exports=QH()),u_.exports}var A=XH(),Lb={},d_={exports:{}},da={},f_={exports:{}},h_={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var rR;function $H(){return rR||(rR=1,(function(e){function t(C,q){var W=C.length;C.push(q);e:for(;0<W;){var I=W-1>>>1,S=C[I];if(0<a(S,q))C[I]=q,C[W]=S,W=I;else break e}}function r(C){return C.length===0?null:C[0]}function n(C){if(C.length===0)return null;var q=C[0],W=C.pop();if(W!==q){C[0]=W;e:for(var I=0,S=C.length,O=S>>>1;I<O;){var Y=2*(I+1)-1,Q=C[Y],ne=Y+1,oe=C[ne];if(0>a(Q,W))ne<S&&0>a(oe,Q)?(C[I]=oe,C[ne]=W,I=ne):(C[I]=Q,C[Y]=W,I=Y);else if(ne<S&&0>a(oe,W))C[I]=oe,C[ne]=W,I=ne;else break e}}return q}function a(C,q){var W=C.sortIndex-q.sortIndex;return W!==0?W:C.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var c=Date,f=c.now();e.unstable_now=function(){return c.now()-f}}var m=[],h=[],l=1,o=null,u=3,p=!1,g=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(C){for(var q=r(h);q!==null;){if(q.callback===null)n(h);else if(q.startTime<=C)n(h),q.sortIndex=q.expirationTime,t(m,q);else break;q=r(h)}}function j(C){if(y=!1,E(C),!g)if(r(m)!==null)g=!0,M(T);else{var q=r(h);q!==null&&B(j,q.startTime-C)}}function T(C,q){g=!1,y&&(y=!1,x(K),K=-1),p=!0;var W=u;try{for(E(q),o=r(m);o!==null&&(!(o.expirationTime>q)||C&&!V());){var I=o.callback;if(typeof I=="function"){o.callback=null,u=o.priorityLevel;var S=I(o.expirationTime<=q);q=e.unstable_now(),typeof S=="function"?o.callback=S:o===r(m)&&n(m),E(q)}else n(m);o=r(m)}if(o!==null)var O=!0;else{var Y=r(h);Y!==null&&B(j,Y.startTime-q),O=!1}return O}finally{o=null,u=W,p=!1}}var F=!1,z=null,K=-1,U=5,H=-1;function V(){return!(e.unstable_now()-H<U)}function Z(){if(z!==null){var C=e.unstable_now();H=C;var q=!0;try{q=z(!0,C)}finally{q?R():(F=!1,z=null)}}else F=!1}var R;if(typeof w=="function")R=function(){w(Z)};else if(typeof MessageChannel<"u"){var _=new MessageChannel,k=_.port2;_.port1.onmessage=Z,R=function(){k.postMessage(null)}}else R=function(){b(Z,0)};function M(C){z=C,F||(F=!0,R())}function B(C,q){K=b(function(){C(e.unstable_now())},q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){g||p||(g=!0,M(T))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return u},e.unstable_getFirstCallbackNode=function(){return r(m)},e.unstable_next=function(C){switch(u){case 1:case 2:case 3:var q=3;break;default:q=u}var W=u;u=q;try{return C()}finally{u=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,q){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var W=u;u=C;try{return q()}finally{u=W}},e.unstable_scheduleCallback=function(C,q,W){var I=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?I+W:
vendor: 4,763 bytes, lines 25-33
25I):W=I,C){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=W+S,C={id:l++,callback:q,priorityLevel:C,startTime:W,expirationTime:S,sortIndex:-1},W>I?(C.sortIndex=W,t(h,C),r(m)===null&&C===r(h)&&(y?(x(K),K=-1):y=!0,B(j,W-I))):(C.sortIndex=S,t(m,C),g||p||(g=!0,M(T))),C},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(C){var q=u;return function(){var W=u;u=q;try{return C.apply(this,arguments)}finally{u=W}}}})(h_)),h_}var nR;function e7(){return nR||(nR=1,f_.exports=$H()),f_.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var aR;function t7(){if(aR)return da;aR=1;var e=WA(),t=e7();function r(s){for(var d="https://reactjs.org/docs/error-decoder.html?invariant="+s,v=1;v<arguments.length;v++)d+="&args[]="+encodeURIComponent(arguments[v]);return"Minified React error #"+s+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,a={};function i(s,d){c(s,d),c(s+"Capture",d)}function c(s,d){for(a[s]=d,s=0;s<d.length;s++)n.add(d[s])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,h=/^[: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]*$/,l={},o={};function u(s){return m.call(o,s)?!0:m.call(l,s)?!1:h.test(s)?o[s]=!0:(l[s]=!0,!1)}function p(s,d,v,P){if(v!==null&&v.type===0)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":return P?!1:v!==null?!v.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function g(s,d,v,P){if(d===null||typeof d>"u"||p(s,d,v,P))return!0;if(P)return!1;if(v!==null)switch(v.type){case 3:return!d;case 4:return d===!1;case 5:return isNaN(d);case 6:return isNaN(d)||1>d}return!1}function y(s,d,v,P,N,D,ee){this.acceptsBooleans=d===2||d===3||d===4,this.attributeName=P,this.attributeNamespace=N,this.mustUseProperty=v,this.propertyName=s,this.type=d,this.sanitizeURL=D,this.removeEmptyString=ee}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){b[s]=new y(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var d=s[0];b[d]=new y(d,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){b[s]=new y(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){b[s]=new y(s,2,!1,s,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s){b[s]=new y(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){b[s]=new y(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){b[s]=new y(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){b[s]=new y(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){b[s]=new y(s,5,!1,s.toLowerCase(),null,!1,!1)});var x=/[\-:]([a-z])/g;function w(s){return s[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(s){var d=s.replace(x,w);b[d]=new y(d,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var d=s.replace(x,w);b[d]=new y(d,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var d=s.replace(x,w);b[d]=new y(d,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){b[s]=new y(s,1,!1,s.toLowerCase(),null,!1,!1)}),b.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){b[s]=new y(s,1,!1,s.toLowerCase(),null,!0,!0)});function E(s,d,v,P){var N=b.hasOwnProperty(d)?b[d]:null;(N!==null?N.type!==0:P||!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(g(d,v,N,P)&&(v=null),P||N===null?u(d)&&(v===null?s.removeAttribute(d):s.setAttribute(d,""+v)):N.mustUseProperty?s[N.propertyName]=v===null?N.type===3?!1:"":v:(d=N.attributeName,P=N.attributeNamespace,v===null?s.removeAttribute(d):(N=N.type,v=N===3||N===4&&v===!0?"":""+v,P?s.setAttributeNS(P,d,v):s.setAttribute(d,v))))}var j=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),F=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),V=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),B=Symbol.for("react.offscreen"),C=Symbol.iterator;function q(s){return s===null||typeof s!="object"?null:(s=C&&s[C]||s["@@iterator"],typeof s=="function"?s:null)}var W=Object.assign,I;function S(s){if(I===void 0)try{throw Error()}catch(v){var d=v.stack.trim().match(/\n( *(at )?)/);I=d&&d[1]||""}return` 34`+I+s}var O=!1;function Y(s,d){if(!s||O)return"";O=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(d)if(d=function(){throw Error()},Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(Te){var P=Te}Reflect.construct(s,[],d)}else{try{d.call()}catch(Te){P=Te}s.call(d.prototype)}else{try{throw Error()}catch(Te){P=Te}s()}}catch(Te){if(Te&&P&&typeof Te.stack=="string"){for(var N=Te.stack.split(` 35`),D=P.stack.split(` 36`),ee=N.length-1,ce=D.length-1;1<=ee&&0<=ce&&N[ee]!==D[ce];)ce--;for(;1<=ee&&0<=ce;ee--,ce--)if(N[ee]!==D[ce]){if(ee!==1||ce!==1)do if(ee--,ce--,0>ce||N[ee]!==D[ce]){var he=` 37`+N[ee].replace(" at new "," at ");return s.displayName&&he.includes("<anonymous>")&&(he=he.replace("<anonymous>",s.displayName)),he}while(1<=ee&&0<=ce);break}}}finally{O=!1,Error.prepareStackTrace=v}return(s=s?s.displayName||s.name:"")?S(s):""}function Q(s){switch(s.tag){case 5:return S(s.type);case 16:return S("Lazy");case 13:return S("Suspense");case 19:return S("SuspenseList");case 0:case 2:case 15:return s=Y(s.type,!1),s;case 11:return s=Y(s.type.render,!1),s;case 1:return s=Y(s.type,!0),s;default:return""}}function ne(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case z:return"Fragment";case F:return"Portal";case U:return"Profiler";case K:return"StrictMode";case R:return"Suspense";case _:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case V:return(s.displayName||"Context")+".Consumer";case H:return(s._context.displayName||"Context")+".Provider";case Z:var d=s.render;return s=s.displayName,s||(s=d.displayName||d.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case k:return d=s.displayName||null,d!==null?d:ne(s.type)||"Memo";case M:d=s._payload,s=s._init;try{return ne(s(d))}catch{}}return null}function oe(s){var d=s.type;switch(s.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=d.render,s=s.displayName||s.name||"",d.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ne(d);case 8:return d===K?"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 17:case 2:case 14:case 15:if(typeof d=="function")return d.displayName||d.name||null;
vendor: 13,039 bytes, line 37
37if(typeof d=="string")return d}return null}function ge(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function we(s){var d=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function Ue(s){var d=we(s)?"checked":"value",v=Object.getOwnPropertyDescriptor(s.constructor.prototype,d),P=""+s[d];if(!s.hasOwnProperty(d)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var N=v.get,D=v.set;return Object.defineProperty(s,d,{configurable:!0,get:function(){return N.call(this)},set:function(ee){P=""+ee,D.call(this,ee)}}),Object.defineProperty(s,d,{enumerable:v.enumerable}),{getValue:function(){return P},setValue:function(ee){P=""+ee},stopTracking:function(){s._valueTracker=null,delete s[d]}}}}function ye(s){s._valueTracker||(s._valueTracker=Ue(s))}function de(s){if(!s)return!1;var d=s._valueTracker;if(!d)return!0;var v=d.getValue(),P="";return s&&(P=we(s)?s.checked?"true":"false":s.value),s=P,s!==v?(d.setValue(s),!0):!1}function Se(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Oe(s,d){var v=d.checked;return W({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??s._wrapperState.initialChecked})}function Be(s,d){var v=d.defaultValue==null?"":d.defaultValue,P=d.checked!=null?d.checked:d.defaultChecked;v=ge(d.value!=null?d.value:v),s._wrapperState={initialChecked:P,initialValue:v,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function Pt(s,d){d=d.checked,d!=null&&E(s,"checked",d,!1)}function Ge(s,d){Pt(s,d);var v=ge(d.value),P=d.type;if(v!=null)P==="number"?(v===0&&s.value===""||s.value!=v)&&(s.value=""+v):s.value!==""+v&&(s.value=""+v);else if(P==="submit"||P==="reset"){s.removeAttribute("value");return}d.hasOwnProperty("value")?er(s,d.type,v):d.hasOwnProperty("defaultValue")&&er(s,d.type,ge(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(s.defaultChecked=!!d.defaultChecked)}function ft(s,d,v){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var P=d.type;if(!(P!=="submit"&&P!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+s._wrapperState.initialValue,v||d===s.value||(s.value=d),s.defaultValue=d}v=s.name,v!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,v!==""&&(s.name=v)}function er(s,d,v){(d!=="number"||Se(s.ownerDocument)!==s)&&(v==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+v&&(s.defaultValue=""+v))}var dt=Array.isArray;function vt(s,d,v,P){if(s=s.options,d){d={};for(var N=0;N<v.length;N++)d["$"+v[N]]=!0;for(v=0;v<s.length;v++)N=d.hasOwnProperty("$"+s[v].value),s[v].selected!==N&&(s[v].selected=N),N&&P&&(s[v].defaultSelected=!0)}else{for(v=""+ge(v),d=null,N=0;N<s.length;N++){if(s[N].value===v){s[N].selected=!0,P&&(s[N].defaultSelected=!0);return}d!==null||s[N].disabled||(d=s[N])}d!==null&&(d.selected=!0)}}function It(s,d){if(d.dangerouslySetInnerHTML!=null)throw Error(r(91));return W({},d,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Rt(s,d){var v=d.value;if(v==null){if(v=d.children,d=d.defaultValue,v!=null){if(d!=null)throw Error(r(92));if(dt(v)){if(1<v.length)throw Error(r(93));v=v[0]}d=v}d==null&&(d=""),v=d}s._wrapperState={initialValue:ge(v)}}function Nt(s,d){var v=ge(d.value),P=ge(d.defaultValue);v!=null&&(v=""+v,v!==s.value&&(s.value=v),d.defaultValue==null&&s.defaultValue!==v&&(s.defaultValue=v)),P!=null&&(s.defaultValue=""+P)}function sr(s){var d=s.textContent;d===s._wrapperState.initialValue&&d!==""&&d!==null&&(s.value=d)}function be(s){switch(s){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function X(s,d){return s==null||s==="http://www.w3.org/1999/xhtml"?be(d):s==="http://www.w3.org/2000/svg"&&d==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var L,G=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(d,v,P,N){MSApp.execUnsafeLocalFunction(function(){return s(d,v,P,N)})}:s})(function(s,d){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=d;else{for(L=L||document.createElement("div"),L.innerHTML="<svg>"+d.valueOf().toString()+"</svg>",d=L.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;d.firstChild;)s.appendChild(d.firstChild)}});function re(s,d){if(d){var v=s.firstChild;if(v&&v===s.lastChild&&v.nodeType===3){v.nodeValue=d;return}}s.textContent=d}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ve=["Webkit","ms","Moz","O"];Object.keys(fe).forEach(function(s){ve.forEach(function(d){d=d+s.charAt(0).toUpperCase()+s.substring(1),fe[d]=fe[s]})});function ke(s,d,v){return d==null||typeof d=="boolean"||d===""?"":v||typeof d!="number"||d===0||fe.hasOwnProperty(s)&&fe[s]?(""+d).trim():d+"px"}function mt(s,d){s=s.style;for(var v in d)if(d.hasOwnProperty(v)){var P=v.indexOf("--")===0,N=ke(v,d[v],P);v==="float"&&(v="cssFloat"),P?s.setProperty(v,N):s[v]=N}}var bt=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function at(s,d){if(d){if(bt[s]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(r(137,s));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(r(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(r(61))}if(d.style!=null&&typeof d.style!="object")throw Error(r(62))}}function zt(s,d){if(s.indexOf("-")===-1)return typeof d.is=="string";switch(s){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}}var Qe=null;function Gt(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var mn=null,Bt=null,qt=null;function nn(s){if(s=Cd(s)){if(typeof mn!="function")throw Error(r(280));var d=s.stateNode;d&&(d=tb(d),mn(s.stateNode,s.type,d))}}function Zt(s){Bt?qt?qt.push(s):qt=[s]:Bt=s}function tr(){if(Bt){var s=Bt,d=qt;if(qt=Bt=null,nn(s),d)for(s=0;s<d.length;s++)nn(d[s])}}function Va(s,d){return s(d)}function Jt(){}var Qt=!1;function Re(s,d,v){if(Qt)return s(d,v);Qt=!0;try{return Va(s,d,v)}finally{Qt=!1,(Bt!==null||qt!==null)&&(Jt(),tr())}}function ze(s,d){var v=s.stateNode;if(v===null)return null;var P=tb(v);if(P===null)return null;v=P[d];e:switch(d){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(P=!P.disabled)||(s=s.type,P=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!P;break e;default:s=!1}if(s)return null;if(v&&typeof v!="function")throw Error(r(231,d,typeof v));return v}var ot=!1;if(f)try{var Xt={};Object.defineProperty(Xt,"passive",{get:function(){ot=!0}}),window.addEventListener("test",Xt,Xt),window.removeEventListener("test",Xt,Xt)}catch{ot=!1}function gt(s,d,v,P,N,D,ee,ce,he){var Te=Array.prototype.slice.call(arguments,3);try{d.apply(v,Te)}catch(Ne){this.onError(Ne)}}var Mt=!1,hr=null,rr=!1,dr=null,Pi={onError:function(s){Mt=!0,hr=s}};function gr(s,d,v,P,N,D,ee,ce,he){Mt=!1,hr=null,gt.apply(Pi,arguments)}function wr(s,d,v,P,N,D,ee,ce,he){if(gr.apply(this,arguments),Mt){if(Mt){var Te=hr;Mt=!1,hr=null}else throw Error(r(198));rr||(rr=!0,dr=Te)}}function kn(s){var d=s,v=s;if(s.alternate)for(;d.return;)d=d.return;else{s=d;do d=s,(d.flags&4098)!==0&&(v=d.return),s=d.return;while(s)}return d.tag===3?v:null}function pr(s){if(s.tag===13){var d=s.memoizedState;if(d===null&&(s=s.alternate,s!==null&&(d=s.memoizedState)),d!==null)return d.dehydrated}return null}function yr(s){if(kn(s)!==s)throw Error(r(188))}function Ji(s){var d=s.alternate;if(!d){if(d=kn(s),d===null)throw Error(r(188));return d!==s?null:s}for(var v=s,P=d;;){var N=v.return;if(N===null)break;var D=N.alternate;if(D===null){if(P=N.return,P!==null){v=P;continue}break}if(N.child===D.child){for(D=N.child;D;){if(D===v)return yr(N),s;if(D===P)return yr(N),d;D=D.sibling}throw Error(r(188))}if(v.return!==P.return)v=N,P=D;else{for(var ee=!1,ce=N.child;ce;){if(ce===v){ee=!0,v=N,P=D;break}if(ce===P){ee=!0,P=N,v=D;break}ce=ce.sibling}if(!ee){for(ce=D.child;ce;){if(ce===v){ee=!0,v=D,P=N;break}if(ce===P){ee=!0,P=D,v=N;break}ce=ce.sibling}if(!ee)throw Error(r(189))}}if(v.alternate!==P)throw Error(r(190))}if(v.tag!==3)throw Error(r(188));return v.stateNode.current===v?s:d}function ri(s){return s=Ji(s),s!==null?ta(s):null}function ta(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var d=ta(s);if(d!==null)return d;s=s.sibling}return null}var va=t.unstable_scheduleCallback,Si=t.unstable_cancelCallback,Qi=t.unstable_shouldYield,ni=t.unstable_requestPaint,cr=t.unstable_now,Xi=t.unstable_getCurrentPriorityLevel,ra=t.unstable_ImmediatePriority,Zr=t.unstable_UserBlockingPriority,na=t.unstable_NormalPriority,ki=t.unstable_LowPriority,Hn=t.unstable_IdlePriority,wa=null,Jr=null;function $i(s){if(Jr&&typeof Jr.onCommitFiberRoot=="function")try{Jr.onCommitFiberRoot(wa,s,void 0,(s.current.flags&128)===128)}catch{}}var an=Math.clz32?Math.clz32:Ny,aa=Math.log,Iy=Math.LN2;function Ny(s){return s>>>=0,s===0?32:31-(aa(s)/Iy|0)|0}var Ou=64,Cu=4194304;function zo(s){switch(s&-s){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: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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Iu(s,d){var v=s.pendingLanes;if(v===0)return 0;var P=0,N=s.suspendedLanes,D=s.pingedLanes,ee=v&268435455;if(ee!==0){var ce=ee&~N;ce!==0?P=zo(ce):(D&=ee,D!==0&&(P=zo(D)))}else ee=v&~N,ee!==0?P=zo(ee):D!==0&&(P=zo(D));if(P===0)return 0;if(d!==0&&d!==P&&(d&N)===0&&(N=P&-P,D=d&-d,N>=D||N===16&&(D&4194240)!==0))return d;if((P&4)!==0&&(P|=v&16),d=s.entangledLanes,d!==0)for(s=s.entanglements,d&=P;0<d;)v=31-an(d),N=1<<v,P|=s[v],d&=~N;return P}function My(s,d){switch(s){case 1:case 2:case 4:return d+250;case 8:case 16:case 32:case 64: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 d+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fy(s,d){for(var v=s.suspendedLanes,P=s.pingedLanes,N=s.expirationTimes,D=s.pendingLanes;0<D;){var ee=31-an(D),ce=1<<ee,he=N[ee];he===-1?((ce&v)===0||(ce&P)!==0)&&(N[ee]=My(ce,d)):he<=d&&(s.expiredLanes|=ce),D&=~ce}}function ai(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function pd(){var s=Ou;return Ou<<=1,(Ou&4194240)===0&&(Ou=64),s}function By(s){for(var d=[],v=0;31>v;v++)d.push(s);return d}function Vo(s,d,v){s.pendingLanes|=d,d!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,d=31-an(d),s[d]=v}function VS(s,d){var v=s.pendingLanes&~d;s.pendingLanes=d,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=d,s.mutableReadLanes&=d,s.entangledLanes&=d,d=s.entanglements;var P=s.eventTimes;for(s=s.expirationTimes;0<v;){var N=31-an(v),D=1<<N;d[N]=0,P[N]=-1,s[N]=-1,v&=~D}}function md(s,d){var v=s.entangledLanes|=d;for(s=s.entanglements;v;){var P=31-an(v),N=1<<P;N&d|s[P]&d&&(s[P]|=d),v&=~N}}var ur=0;function Uy(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var qy,Nu,gd,Ho,Ly,Mu=!1,Wo=[],ii=null,Ti=null,Ri=null,Zs=new Map,es=new Map,si=[],zw="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 submit".split(" ");function Dy(s,d){switch(s){case"focusin":case"focusout":ii=null;break;case"dragenter":case"dragleave":Ti=null;break;case"mouseover":case"mouseout":Ri=null;break;
vendor: 1,563 bytes, line 37
37case"pointerover":case"pointerout":Zs.delete(d.pointerId);break;case"gotpointercapture":case"lostpointercapture":es.delete(d.pointerId)}}function Js(s,d,v,P,N,D){return s===null||s.nativeEvent!==D?(s={blockedOn:d,domEventName:v,eventSystemFlags:P,nativeEvent:D,targetContainers:[N]},d!==null&&(d=Cd(d),d!==null&&Nu(d)),s):(s.eventSystemFlags|=P,d=s.targetContainers,N!==null&&d.indexOf(N)===-1&&d.push(N),s)}function yd(s,d,v,P,N){switch(d){case"focusin":return ii=Js(ii,s,d,v,P,N),!0;case"dragenter":return Ti=Js(Ti,s,d,v,P,N),!0;case"mouseover":return Ri=Js(Ri,s,d,v,P,N),!0;case"pointerover":var D=N.pointerId;return Zs.set(D,Js(Zs.get(D)||null,s,d,v,P,N)),!0;case"gotpointercapture":return D=N.pointerId,es.set(D,Js(es.get(D)||null,s,d,v,P,N)),!0}return!1}function bd(s){var d=Jo(s.target);if(d!==null){var v=kn(d);if(v!==null){if(d=v.tag,d===13){if(d=pr(v),d!==null){s.blockedOn=d,Ly(s.priority,function(){gd(v)});return}}else if(d===3&&v.stateNode.current.memoizedState.isDehydrated){s.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}s.blockedOn=null}function Go(s){if(s.blockedOn!==null)return!1;for(var d=s.targetContainers;0<d.length;){var v=_d(s.domEventName,s.eventSystemFlags,d[0],s.nativeEvent);if(v===null){v=s.nativeEvent;var P=new v.constructor(v.type,v);Qe=P,v.target.dispatchEvent(P),Qe=null}else return d=Cd(v),d!==null&&Nu(d),s.blockedOn=v,!1;d.shift()}return!0}function Ko(s,d,v){Go(s)&&v.delete(d)}function zy(){Mu=!1,ii!==null&&Go(ii)&&(ii=null),Ti!==null&&Go(Ti)&&(Ti=null),Ri!==null&&Go(Ri)&&(Ri=null),Zs.forEach(Ko),es.forEac
vendor: 24,745 bytes, lines 37-38
37h(Ko)}function Yo(s,d){s.blockedOn===d&&(s.blockedOn=null,Mu||(Mu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zy)))}function Oi(s){function d(N){return Yo(N,s)}if(0<Wo.length){Yo(Wo[0],s);for(var v=1;v<Wo.length;v++){var P=Wo[v];P.blockedOn===s&&(P.blockedOn=null)}}for(ii!==null&&Yo(ii,s),Ti!==null&&Yo(Ti,s),Ri!==null&&Yo(Ri,s),Zs.forEach(d),es.forEach(d),v=0;v<si.length;v++)P=si[v],P.blockedOn===s&&(P.blockedOn=null);for(;0<si.length&&(v=si[0],v.blockedOn===null);)bd(v),v.blockedOn===null&&si.shift()}var wn=j.ReactCurrentBatchConfig,ts=!0;function Fu(s,d,v,P){var N=ur,D=wn.transition;wn.transition=null;try{ur=1,wd(s,d,v,P)}finally{ur=N,wn.transition=D}}function vd(s,d,v,P){var N=ur,D=wn.transition;wn.transition=null;try{ur=4,wd(s,d,v,P)}finally{ur=N,wn.transition=D}}function wd(s,d,v,P){if(ts){var N=_d(s,d,v,P);if(N===null)$w(s,d,P,Bu,v),Dy(s,P);else if(yd(N,s,d,v,P))P.stopPropagation();else if(Dy(s,P),d&4&&-1<zw.indexOf(s)){for(;N!==null;){var D=Cd(N);if(D!==null&&qy(D),D=_d(s,d,v,P),D===null&&$w(s,d,P,Bu,v),D===N)break;N=D}N!==null&&P.stopPropagation()}else $w(s,d,P,null,v)}}var Bu=null;function _d(s,d,v,P){if(Bu=null,s=Gt(P),s=Jo(s),s!==null)if(d=kn(s),d===null)s=null;else if(v=d.tag,v===13){if(s=pr(d),s!==null)return s;s=null}else if(v===3){if(d.stateNode.current.memoizedState.isDehydrated)return d.tag===3?d.stateNode.containerInfo:null;s=null}else d!==s&&(s=null);return Bu=s,null}function Uu(s){switch(s){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xi()){case ra:return 1;case Zr:return 4;case na:case ki:return 16;case Hn:return 536870912;default:return 16}default:return 16}}var Ci=null,qu=null,jr=null;function J(){if(jr)return jr;var s,d=qu,v=d.length,P,N="value"in Ci?Ci.value:Ci.textContent,D=N.length;for(s=0;s<v&&d[s]===N[s];s++);var ee=v-s;for(P=1;P<=ee&&d[v-P]===N[D-P];P++);return jr=N.slice(s,1<P?1-P:void 0)}function $(s){var d=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&d===13&&(s=13)):s=d,s===10&&(s=13),32<=s||s===13?s:0}function ae(){return!0}function ie(){return!1}function se(s){function d(v,P,N,D,ee){this._reactName=v,this._targetInst=N,this.type=P,this.nativeEvent=D,this.target=ee,this.currentTarget=null;for(var ce in s)s.hasOwnProperty(ce)&&(v=s[ce],this[ce]=v?v(D):D[ce]);return this.isDefaultPrevented=(D.defaultPrevented!=null?D.defaultPrevented:D.returnValue===!1)?ae:ie,this.isPropagationStopped=ie,this}return W(d.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){},isPersistent:ae}),d}var xe={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_e=se(xe),Ce=W({},xe,{view:0,detail:0}),$e=se(Ce),Ve,qe,lt,lr=W({},Ce,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qs,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==lt&&(lt&&s.type==="mousemove"?(Ve=s.screenX-lt.screenX,qe=s.screenY-lt.screenY):qe=Ve=0,lt=s),Ve)},movementY:function(s){return"movementY"in s?s.movementY:qe}}),sn=se(lr),He=W({},lr,{dataTransfer:0}),xt=se(He),st=W({},Ce,{relatedTarget:0}),Cr=se(st),ia=W({},xe,{animationName:0,elapsedTime:0,pseudoElement:0}),Qr=se(ia),Tn=W({},xe,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),_a=se(Tn),rs=W({},xe,{data:0}),Wn=se(rs),xd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lu={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"},Vy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hy(s){var d=this.nativeEvent;return d.getModifierState?d.getModifierState(s):(s=Vy[s])?!!d[s]:!1}function Qs(){return Hy}var Zo=W({},Ce,{key:function(s){if(s.key){var d=xd[s.key]||s.key;if(d!=="Unidentified")return d}return s.type==="keypress"?(s=$(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?Lu[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qs,charCode:function(s){return s.type==="keypress"?$(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?$(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),ns=se(Zo),Wy=W({},lr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xa=se(Wy),Gy=W({},Ce,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qs}),Ii=se(Gy),Ky=W({},xe,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vw=se(Ky),Ni=W({},lr,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),Xs=se(Ni),Ed=[9,13,27,32],$s=f&&"CompositionEvent"in window,eo=null;f&&"documentMode"in document&&(eo=document.documentMode);var H9=f&&"TextEvent"in window&&!eo,HS=f&&(!$s||eo&&8<eo&&11>=eo),WS=" ",GS=!1;function KS(s,d){switch(s){case"keyup":return Ed.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function YS(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Du=!1;function W9(s,d){switch(s){case"compositionend":return YS(d);case"keypress":return d.which!==32?null:(GS=!0,WS);case"textInput":return s=d.data,s===WS&&GS?null:s;default:return null}}function G9(s,d){if(Du)return s==="compositionend"||!$s&&KS(s,d)?(s=J(),jr=qu=Ci=null,Du=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1<d.char.length)return d.char;if(d.which)return String.fromCharCode(d.which)}return null;case"compositionend":return HS&&d.locale!=="ko"?null:d.data;default:return null}}var K9={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};function ZS(s){var d=s&&s.nodeName&&s.nodeName.toLowerCase();return d==="input"?!!K9[s.type]:d==="textarea"}function JS(s,d,v,P){Zt(P),d=Xy(d,"onChange"),0<d.length&&(v=new _e("onChange","change",null,v,P),s.push({event:v,listeners:d}))}var jd=null,Ad=null;function Y9(s){pk(s,0)}function Yy(s){var d=Gu(s);if(de(d))return s}function Z9(s,d){if(s==="change")return d}var QS=!1;if(f){var Hw;if(f){var Ww="oninput"in document;if(!Ww){var XS=document.createElement("div");XS.setAttribute("oninput","return;"),Ww=typeof XS.oninput=="function"}Hw=Ww}else Hw=!1;QS=Hw&&(!document.documentMode||9<document.documentMode)}function $S(){jd&&(jd.detachEvent("onpropertychange",ek),Ad=jd=null)}function ek(s){if(s.propertyName==="value"&&Yy(Ad)){var d=[];JS(d,Ad,s,Gt(s)),Re(Y9,d)}}function J9(s,d,v){s==="focusin"?($S(),jd=d,Ad=v,jd.attachEvent("onpropertychange",ek)):s==="focusout"&&$S()}function Q9(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Yy(Ad)}function X9(s,d){if(s==="click")return Yy(d)}function $9(s,d){if(s==="input"||s==="change")return Yy(d)}function eH(s,d){return s===d&&(s!==0||1/s===1/d)||s!==s&&d!==d}var oi=typeof Object.is=="function"?Object.is:eH;function Pd(s,d){if(oi(s,d))return!0;if(typeof s!="object"||s===null||typeof d!="object"||d===null)return!1;var v=Object.keys(s),P=Object.keys(d);if(v.length!==P.length)return!1;for(P=0;P<v.length;P++){var N=v[P];if(!m.call(d,N)||!oi(s[N],d[N]))return!1}return!0}function tk(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function rk(s,d){var v=tk(s);s=0;for(var P;v;){if(v.nodeType===3){if(P=s+v.textContent.length,s<=d&&P>=d)return{node:v,offset:d-s};s=P}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=tk(v)}}function nk(s,d){return s&&d?s===d?!0:s&&s.nodeType===3?!1:d&&d.nodeType===3?nk(s,d.parentNode):"contains"in s?s.contains(d):s.compareDocumentPosition?!!(s.compareDocumentPosition(d)&16):!1:!1}function ak(){for(var s=window,d=Se();d instanceof s.HTMLIFrameElement;){try{var v=typeof d.contentWindow.location.href=="string"}catch{v=!1}if(v)s=d.contentWindow;else break;d=Se(s.document)}return d}function Gw(s){var d=s&&s.nodeName&&s.nodeName.toLowerCase();return d&&(d==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||d==="textarea"||s.contentEditable==="true")}function tH(s){var d=ak(),v=s.focusedElem,P=s.selectionRange;if(d!==v&&v&&v.ownerDocument&&nk(v.ownerDocument.documentElement,v)){if(P!==null&&Gw(v)){if(d=P.start,s=P.end,s===void 0&&(s=d),"selectionStart"in v)v.selectionStart=d,v.selectionEnd=Math.min(s,v.value.length);else if(s=(d=v.ownerDocument||document)&&d.defaultView||window,s.getSelection){s=s.getSelection();var N=v.textContent.length,D=Math.min(P.start,N);P=P.end===void 0?D:Math.min(P.end,N),!s.extend&&D>P&&(N=P,P=D,D=N),N=rk(v,D);var ee=rk(v,P);N&&ee&&(s.rangeCount!==1||s.anchorNode!==N.node||s.anchorOffset!==N.offset||s.focusNode!==ee.node||s.focusOffset!==ee.offset)&&(d=d.createRange(),d.setStart(N.node,N.offset),s.removeAllRanges(),D>P?(s.addRange(d),s.extend(ee.node,ee.offset)):(d.setEnd(ee.node,ee.offset),s.addRange(d)))}}for(d=[],s=v;s=s.parentNode;)s.nodeType===1&&d.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<d.length;v++)s=d[v],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var rH=f&&"documentMode"in document&&11>=document.documentMode,zu=null,Kw=null,Sd=null,Yw=!1;function ik(s,d,v){var P=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;Yw||zu==null||zu!==Se(P)||(P=zu,"selectionStart"in P&&Gw(P)?P={start:P.selectionStart,end:P.selectionEnd}:(P=(P.ownerDocument&&P.ownerDocument.defaultView||window).getSelection(),P={anchorNode:P.anchorNode,anchorOffset:P.anchorOffset,focusNode:P.focusNode,focusOffset:P.focusOffset}),Sd&&Pd(Sd,P)||(Sd=P,P=Xy(Kw,"onSelect"),0<P.length&&(d=new _e("onSelect","select",null,d,v),s.push({event:d,listeners:P}),d.target=zu)))}function Zy(s,d){var v={};return v[s.toLowerCase()]=d.toLowerCase(),v["Webkit"+s]="webkit"+d,v["Moz"+s]="moz"+d,v}var Vu={animationend:Zy("Animation","AnimationEnd"),animationiteration:Zy("Animation","AnimationIteration"),animationstart:Zy("Animation","AnimationStart"),transitionend:Zy("Transition","TransitionEnd")},Zw={},sk={};f&&(sk=document.createElement("div").style,"AnimationEvent"in window||(delete Vu.animationend.animation,delete Vu.animationiteration.animation,delete Vu.animationstart.animation),"TransitionEvent"in window||delete Vu.transitionend.transition);function Jy(s){if(Zw[s])return Zw[s];if(!Vu[s])return s;var d=Vu[s],v;for(v in d)if(d.hasOwnProperty(v)&&v in sk)return Zw[s]=d[v];return s}var ok=Jy("animationend"),ck=Jy("animationiteration"),uk=Jy("animationstart"),lk=Jy("transitionend"),dk=new Map,fk="abort auxClick 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(" ");function to(s,d){dk.set(s,d),i(d,[s])}for(var Jw=0;Jw<fk.length;Jw++){var Qw=fk[Jw],nH=Qw.toLowerCase(),aH=Qw[0].toUpperCase()+Qw.slice(1);to(nH,"on"+aH)}to(ok,"onAnimationEnd"),to(ck,"onAnimationIteration"),to(uk,"onAnimationStart"),to("dblclick","onDoubleClick"),to("focusin","onFocus"),to("focusout","onBlur"),to(lk,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kd="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(" "),iH=new Set("cancel close invalid load scroll toggle".split(" ").concat(kd));function hk(s,d,v){var P=s.type||"unknown-event";s.currentTarget=v,wr(P,d,void 0,s),s.currentTarget=null}function pk(s,d){d=(d&4)!==0;for(var v=0;v<s.length;v++){var P=s[v],N=P.event;P=P.listeners;e:{var D=void 0;if(d)for(var ee=P.length-1;0<=ee;ee--){var ce=P[ee],he=ce.instance,Te=ce.currentTarget;if(ce=ce.listener,he!==D&&N.isPropagationStopped())break e;hk(N,ce,Te),D=he}else for(ee=0;ee<P.length;ee++){if(ce=P[ee],he=ce.instance,Te=ce.currentTarget,ce=ce.listener,he!==D&&N.isPropagationStopped())break e;hk(N,ce,Te),D=he}}}if(rr)throw s=dr,rr=!1,dr=null,s}function Ar(s,d){var v=d[i1];v===void 0&&(v=d[i1]=new Set);var P=s+"__bubble";v.has(P)||(mk(d,s,2,!1),v.add(P))}function Xw(s,d,v){var P=0;d&&(P|=4),mk(v,s,P,d)}var Qy="_reactListening"+Math.random().toString(36).slice(2);function Td(s){if(!s[Qy]){s[Qy]=!0,n.forEach(function(v){v!=="selectionchange"&&(iH.has(v)||Xw(v,!1,s),Xw(v,!0,s))});var d=s.nodeType===9?s:s.ownerDocument;d===null||d[Qy]||(d[Qy]=!0,Xw("selectionchange",!1,d))}}function mk(s,d,v,P){switch(Uu(d)){case 1:var N=Fu;break;case 4:N=vd;break;default:N=wd}v=N.bind(null,d,v,s),N=void 0,!ot||d!=="touchstart"&&d!=="touchmove"&&d!=="wheel"||(N=!0),P?N!==void 0?s.addEventListener(d,v,{capture:!0,passive:N}):s.addEventListener(d,v,!0):N!==void 0?s.addEventListener(d,v,{passive:N}):s.addEventListener(d,v,!1)}function $w(s,d,v,P,N){var D=P;if((d&1)===0&&(d&2)===0&&P!==null)e:for(;;){if(P===null)return;var ee=P.tag;if(ee===3||ee===4){var ce=P.stateNode.containerInfo;if(ce===N||ce.nodeType===8&&ce.parentNode===N)break;if(ee===4)for(ee=P.return;ee!==null;){var he=ee.tag;if((he===3||he===4)&&(he=ee.stateNode.containerInfo,he===N||he.nodeType===8&&he.parentNode===N))return;ee=ee.return}for(;ce!==null;){if(ee=Jo(ce),ee===null)return;if(he=ee.tag,he===5||he===6){P=D=ee;continue e}ce=ce.parentNode}}P=P.return}Re(function(){var Te=D,Ne=Gt(v),Fe=[];e:{var Ie=dk.get(s);if(Ie!==void 0){var Ye=_e,et=s;switch(s){case"keypress":if($(v)===0)break e;case"keydown":case"keyup":Ye=ns;break;case"focusin":et="focus",Ye=Cr;break;case"focusout":et="blur",Ye=Cr;break;case"beforeblur":case"afterblur":Ye=Cr;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ye=sn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ye=xt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ye=Ii;break;case ok:case ck:case uk:Ye=Qr;break;case lk:Ye=Vw;break;case"scroll":Ye=$e;break;case"wheel":Ye=Xs;break;case"copy":case"cut":case"paste":Ye=_a;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ye=xa}var it=(d&4)!==0,Wr=!it&&s==="scroll",Ee=it?Ie!==null?Ie+"Capture":null:Ie;it=[];for(var me=Te,je;me!==null;){je=me;var De=je.stateNode;if(je.tag===5&&De!==null&&(je=De,Ee!==null&&(De=ze(me,Ee),De!=null&&it.push(Rd(me,De,je)))),Wr)break;me=me.return}0<it.length&&(Ie=new Ye(Ie,et,null,v,Ne),Fe.push({event:Ie,listeners:it}))}}if((d&7)===0){e:{if(Ie=s==="mouseover"||s==="pointerover",Ye=s==="mouseout"||s==="pointerout",Ie&&v!==Qe&&(et=v.relatedTarget||v.fromElement)&&(Jo(et)||et[as]))break e;if((Ye||Ie)&&(Ie=Ne.window===Ne?Ne:(Ie=Ne.ownerDocument)?Ie.defaultView||Ie.parentWindow:window,Ye?(et=v.relatedTarget||v.toElement,Ye=Te,et=et?Jo(et):null,et!==null&&(Wr=kn(et),et!==Wr||et.tag!==5&&et.tag!==6)&&(et=null)):(Ye=null,et=Te),Ye!==et)){if(it=sn,De="onMouseLeave",Ee="onMouseEnter",me="mouse",(s==="pointerout"||s==="pointerover")&&(it=xa,De="onPointerLeave",Ee="onPointerEnter",me="pointer"),Wr=Ye==null?Ie:Gu(Ye),je=et==null?Ie:Gu(et),Ie=new it(De,me+"leave",Ye,v,Ne),Ie.target=Wr,Ie.relatedTarget=je,De=null,Jo(Ne)===Te&&(it=new it(Ee,me+"enter",et,v,Ne),it.target=je,it.relatedTarget=Wr,De=it),Wr=De,Ye&&et)t:{for(it=Ye,Ee=et,me=0,je=it;je;je=Hu(je))me++;for(je=0,De=Ee;De;De=Hu(De))je++;for(;0<me-je;)it=Hu(it),me--;for(;0<je-me;)Ee=Hu(Ee),je--;for(;me--;){if(it===Ee||Ee!==null&&it===Ee.alternate)break t;it=Hu(it),Ee=Hu(Ee)}it=null}else it=null;Ye!==null&&gk(Fe,Ie,Ye,it,!1),et!==null&&Wr!==null&&gk(Fe,Wr,et,it,!0)}}e:{if(Ie=Te?Gu(Te):window,Ye=Ie.nodeName&&Ie.nodeName.toLowerCase(),Ye==="select"||Ye==="input"&&Ie.type==="file")var ct=Z9;else if(ZS(Ie))if(QS)ct=$9;else{ct=Q9;var wt=J9}else(Ye=Ie.nodeName)&&Ye.toLowerCase()==="input"&&(Ie.type==="checkbox"||Ie.type==="radio")&&(ct=X9);if(ct&&(ct=ct(s,Te))){JS(Fe,ct,v,Ne);break e}wt&&wt(s,Ie,Te),s==="focusout"&&(wt=Ie._wrapperState)&&wt.controlled&&Ie.type==="number"&&er(Ie,"number",Ie.value)}switch(wt=Te?Gu(Te):window,s){case"focusin":(ZS(wt)||wt.contentEditable==="true")&&(zu=wt,Kw=Te,Sd=null);break;case"focusout":Sd=Kw=zu=null;break;case"mousedown":Yw=!0;break;case"contextmenu":case"mouseup":case"dragend":Yw=!1,ik(Fe,v,Ne);break;case"selectionchange":if(rH)break;case"keydown":case"keyup":ik(Fe,v,Ne)}var _t;if($s)e:{switch(s){case"compositionstart":var At="onCompositionStart";break e;case"compositionend":At="onCompositionEnd";break e;case"compositionupdate":At="onCompositionUpdate";break e}At=void 0}else Du?KS(s,v)&&(At="onCompositionEnd"):s==="keydown"&&v.keyCode===229&&(At="onCompositionStart");At&&(HS&&v.locale!=="ko"&&(Du||At!=="onCompositionStart"?At==="onCompositionEnd"&&Du&&(_t=J()):(Ci=Ne,qu="value"in Ci?Ci.value:Ci.textContent,Du=!0)),wt=Xy(Te,At),0<wt.length&&(At=new Wn(At,s,null,v,Ne),Fe.push({event:At,listeners:wt}),_t?At.data=_t:(_t=YS(v),_t!==null&&(At.data=_t)))),(_t=H9?W9(s,v):G9(s,v))&&(Te=Xy(Te,"onBeforeInput"),0<Te.length&&(Ne=new Wn("onBeforeInput","beforeinput",null,v,Ne),Fe.push({event:Ne,listeners:Te}),Ne.data=_t))}pk(Fe,d)})}function Rd(s,d,v){return{instance:s,listener:d,currentTarget:v}}function Xy(s,d){for(var v=d+"Capture",P=[];s!==null;){var N=s,D=N.stateNode;N.tag===5&&D!==null&&(N=D,D=ze(s,v),D!=null&&P.unshift(Rd(s,D,N)),D=ze(s,d),D!=null&&P.push(Rd(s,D,N))),s=s.return}return P}function Hu(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function gk(s,d,v,P,N){for(var D=d._reactName,ee=[];v!==null&&v!==P;){var ce=v,he=ce.alternate,Te=ce.stateNode;if(he!==null&&he===P)break;ce.tag===5&&Te!==null&&(ce=Te,N?(he=ze(v,D),he!=null&&ee.unshift(Rd(v,he,ce))):N||(he=ze(v,D),he!=null&&ee.push(Rd(v,he,ce)))),v=v.return}ee.length!==0&&s.push({event:d,listeners:ee})}var sH=/\r\n?/g,oH=/\u0000|\uFFFD/g;function yk(s){return(typeof s=="string"?s:""+s).replace(sH,` 38`).replace(oH,"")}function $y(s,d,v){if(d=yk(d),yk(s)!==d&&v)throw Error(r(425))}function eb(){}var e1=null,t1=null;function r1(s,d){return s==="textarea"||s==="noscript"||typeof d.children=="string"||typeof d.children=="number"||typeof d.dangerouslySetInnerHTML=="object"&&d.dangerouslySetInnerHTML!==null&&d.dangerouslySetInnerHTML.__html!=null}var n1=typeof setTimeout=="function"?setTimeout:void 0,cH=typeof clearTimeout=="function"?clearTimeout:void 0,bk=typeof Promise=="function"?Promise:void 0,uH=typeof queueMicrotask=="function"?queueMicrotask:typeof bk<"u"?function(s){return bk.resolve(null).then(s).catch(lH)}:n1;function lH(s){setTimeout(function(){throw s})}function a1(s,d){var v=d,P=0;do{var N=v.nextSibling;if(s.removeChild(v),N&&N.nodeType===8)if(v=N.data,v==="/$"){if(P===0){s.removeChild(N),Oi(d);return}P--}else v!=="$"&&v!=="$?"&&v!=="$!"||P++;v=N}while(v);Oi(d)}function ro(s){for(;s!=null;s=s.nextSibling){var d=s.nodeType;if(d===1||d===3)break;if(d===8){if(d=s.data,d==="$"||d==="$!"||d==="$?")break;if(d==="/$")return null}}return s}function vk(s){s=s.previousSibling;for(var d=0;s;){if(s.nodeType===8){var v=s.data;if(v==="$"||v==="$!"||v==="$?"){if(d===0)return s;d--}else v==="/$"&&d++}s=s.previousSibling}return null}var Wu=Math.random().toString(36).slice(2),Mi="__reactFiber$"+Wu,Od="__reactProps$"+Wu,as="__reactContainer$"+Wu,i1="__reactEvents$"+Wu,dH="__reactListeners$"+Wu,fH="__reactHandles$"+Wu;function Jo(s){var d=s[Mi];if(d)return d;for(var v=s.parentNode;v;){if(d=v[as]||v[Mi]){if(v=d.alternate,d.child!==null||v!==null&&v.child!==null)for(s=vk(s);s!==null;){if(v=s[Mi])return v;s=vk(s)}return d}s=v,v=s.parentNode}return null}function Cd(s){return s=s[Mi]||s[as],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Gu(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(r(33))}function tb(s){return s[Od]||null}var s1=[],Ku=-1;function no(s){return{current:s}}function Pr(s){0>Ku||(s.current=s1[Ku],s1[Ku]=null,Ku--)}function _r(s,d){Ku++,s1[Ku]=s.current,s.current=d}var ao={},Rn=no(ao),sa=no(!1),Qo=ao;function Yu(s,d){var v=s.type.contextTypes;if(!v)return ao;var P=s.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===d)return P.__reactInternalMemoizedMaskedChildContext;var N={},D;for(D in v)N[D]=d[D];return P&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=d,s.__reactInternalMemoizedMaskedChildContext=N),N}function oa(s){return s=s.childContextTypes,s!=null}function rb(){Pr(sa),Pr(Rn)}function wk(s,d,v){if(Rn.current!==ao)throw Error(r(168));_r(Rn,d),_r(sa,v)}function _k(s,d,v){var P=s.stateNode;if(d=d.childContextTypes,typeof P.getChildContext!="function")return v;P=P.getChildContext();for(var N in P)if(!(N in d))throw Error(r(108,oe(s)||"Unknown",N));return W({},v,P)}function nb(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ao,Qo=Rn.current,_r(Rn,s),_r(sa,sa.current),!0}function xk(s,d,v){var P=s.stateNode;if(!P)throw Error(r(169));v?(s=_k(s,d,Qo),P.__reactInternalMemoizedMergedChildContext=s,Pr(sa),Pr(Rn),_r(Rn,s)):Pr(sa),_r(sa,v)}var is=null,ab=!1,o1=!1;function Ek(s){is===null?is=[s]:is.push(s)}function hH(s){ab=!0,Ek(s)}function io(){if(!o1&&is!==null){o1=!0;var s=0,d=ur;try{var v=is;for(ur=1;s<v.length;s++){var P=v[s];do P=P(!0);while(P!==null)}is=null,ab=!1}catch(N){throw is!==null&&(is=is.slice(s+1)),va(ra,io),N}
vendor: 5,806 bytes, line 38
38finally{ur=d,o1=!1}}return null}var Zu=[],Ju=0,ib=null,sb=0,Ha=[],Wa=0,Xo=null,ss=1,os="";function $o(s,d){Zu[Ju++]=sb,Zu[Ju++]=ib,ib=s,sb=d}function jk(s,d,v){Ha[Wa++]=ss,Ha[Wa++]=os,Ha[Wa++]=Xo,Xo=s;var P=ss;s=os;var N=32-an(P)-1;P&=~(1<<N),v+=1;var D=32-an(d)+N;if(30<D){var ee=N-N%5;D=(P&(1<<ee)-1).toString(32),P>>=ee,N-=ee,ss=1<<32-an(d)+N|v<<N|P,os=D+s}else ss=1<<D|v<<N|P,os=s}function c1(s){s.return!==null&&($o(s,1),jk(s,1,0))}function u1(s){for(;s===ib;)ib=Zu[--Ju],Zu[Ju]=null,sb=Zu[--Ju],Zu[Ju]=null;for(;s===Xo;)Xo=Ha[--Wa],Ha[Wa]=null,os=Ha[--Wa],Ha[Wa]=null,ss=Ha[--Wa],Ha[Wa]=null}var Ea=null,ja=null,Rr=!1,ci=null;function Ak(s,d){var v=Za(5,null,null,0);v.elementType="DELETED",v.stateNode=d,v.return=s,d=s.deletions,d===null?(s.deletions=[v],s.flags|=16):d.push(v)}function Pk(s,d){switch(s.tag){case 5:var v=s.type;return d=d.nodeType!==1||v.toLowerCase()!==d.nodeName.toLowerCase()?null:d,d!==null?(s.stateNode=d,Ea=s,ja=ro(d.firstChild),!0):!1;case 6:return d=s.pendingProps===""||d.nodeType!==3?null:d,d!==null?(s.stateNode=d,Ea=s,ja=null,!0):!1;case 13:return d=d.nodeType!==8?null:d,d!==null?(v=Xo!==null?{id:ss,overflow:os}:null,s.memoizedState={dehydrated:d,treeContext:v,retryLane:1073741824},v=Za(18,null,null,0),v.stateNode=d,v.return=s,s.child=v,Ea=s,ja=null,!0):!1;default:return!1}}function l1(s){return(s.mode&1)!==0&&(s.flags&128)===0}function d1(s){if(Rr){var d=ja;if(d){var v=d;if(!Pk(s,d)){if(l1(s))throw Error(r(418));d=ro(v.nextSibling);var P=Ea;d&&Pk(s,d)?Ak(P,v):(s.flags=s.flags&-4097|2,Rr=!1,Ea=s)}}else{if(l1(s))throw Error(r(418));s.flags=s.flags&-4097|2,Rr=!1,Ea=s}}}function Sk(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Ea=s}function ob(s){if(s!==Ea)return!1;if(!Rr)return Sk(s),Rr=!0,!1;var d;if((d=s.tag!==3)&&!(d=s.tag!==5)&&(d=s.type,d=d!=="head"&&d!=="body"&&!r1(s.type,s.memoizedProps)),d&&(d=ja)){if(l1(s))throw kk(),Error(r(418));for(;d;)Ak(s,d),d=ro(d.nextSibling)}if(Sk(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));e:{for(s=s.nextSibling,d=0;s;){if(s.nodeType===8){var v=s.data;if(v==="/$"){if(d===0){ja=ro(s.nextSibling);break e}d--}else v!=="$"&&v!=="$!"&&v!=="$?"||d++}s=s.nextSibling}ja=null}}else ja=Ea?ro(s.stateNode.nextSibling):null;return!0}function kk(){for(var s=ja;s;)s=ro(s.nextSibling)}function Qu(){ja=Ea=null,Rr=!1}function f1(s){ci===null?ci=[s]:ci.push(s)}var pH=j.ReactCurrentBatchConfig;function Id(s,d,v){if(s=v.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(v._owner){if(v=v._owner,v){if(v.tag!==1)throw Error(r(309));var P=v.stateNode}if(!P)throw Error(r(147,s));var N=P,D=""+s;return d!==null&&d.ref!==null&&typeof d.ref=="function"&&d.ref._stringRef===D?d.ref:(d=function(ee){var ce=N.refs;ee===null?delete ce[D]:ce[D]=ee},d._stringRef=D,d)}if(typeof s!="string")throw Error(r(284));if(!v._owner)throw Error(r(290,s))}return s}function cb(s,d){throw s=Object.prototype.toString.call(d),Error(r(31,s==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":s))}function Tk(s){var d=s._init;return d(s._payload)}function Rk(s){function d(Ee,me){if(s){var je=Ee.deletions;je===null?(Ee.deletions=[me],Ee.flags|=16):je.push(me)}}function v(Ee,me){if(!s)return null;for(;me!==null;)d(Ee,me),me=me.sibling;return null}function P(Ee,me){for(Ee=new Map;me!==null;)me.key!==null?Ee.set(me.key,me):Ee.set(me.index,me),me=me.sibling;return Ee}function N(Ee,me){return Ee=po(Ee,me),Ee.index=0,Ee.sibling=null,Ee}function D(Ee,me,je){return Ee.index=je,s?(je=Ee.alternate,je!==null?(je=je.index,je<me?(Ee.flags|=2,me):je):(Ee.flags|=2,me)):(Ee.flags|=1048576,me)}function ee(Ee){return s&&Ee.alternate===null&&(Ee.flags|=2),Ee}function ce(Ee,me,je,De){return me===null||me.tag!==6?(me=n_(je,Ee.mode,De),me.return=Ee,me):(me=N(me,je),me.return=Ee,me)}function he(Ee,me,je,De){var ct=je.type;return ct===z?Ne(Ee,me,je.props.children,De,je.key):me!==null&&(me.elementType===ct||typeof ct=="object"&&ct!==null&&ct.$$typeof===M&&Tk(ct)===me.type)?(De=N(me,je.props),De.ref=Id(Ee,me,je),De.return=Ee,De):(De=Cb(je.type,je.key,je.props,null,Ee.mode,De),De.ref=Id(Ee,me,je),De.return=Ee,De)}function Te(Ee,me,je,De){return me===null||me.tag!==4||me.stateNode.containerInfo!==je.containerInfo||me.stateNode.implementation!==je.implementation?(me=a_(je,Ee.mode,De),me.return=Ee,me):(me=N(me,je.children||[]),me.return=Ee,me)}function Ne(Ee,me,je,De,ct){return me===null||me.tag!==7?(me=oc(je,Ee.mode,De,ct),me.return=Ee,me):(me=N(me,je),me.return=Ee,me)}function Fe(Ee,me,je){if(typeof me=="string"&&me!==""||typeof me=="number")return me=n_(""+me,Ee.mode,je),me.return=Ee,me;if(typeof me=="object"&&me!==null){switch(me.$$typeof){case T:return je=Cb(me.type,me.key,me.props,null,Ee.mode,je),je.ref=Id(Ee,null,me),je.return=Ee,je;case F:return me=a_(me,Ee.mode,je),me.return=Ee,me;case M:var De=me._init;return Fe(Ee,De(me._payload),je)}if(dt(me)||q(me))return me=oc(me,Ee.mode,je,null),me.return=Ee,me;cb(Ee,me)}return null}function Ie(Ee,me,je,De){var ct=me!==null?me.key:null;if(typeof je=="string"&&je!==""||typeof je=="number")return ct!==null?null:ce(Ee,me,""+je,De);if(typeof je=="object"&&je!==null){switch(je.$$typeof){case T:return je.key===ct?he(Ee,me,je,De):null;case F:return je.key===ct?Te(Ee,me,je,De):null;case M:return ct=je._init,Ie(Ee,me,ct(je._payload),De)}if(dt(je)||q(je))return ct!==null?null:Ne(Ee,me,je,De,null);cb(Ee,je)}return null}function Ye(Ee,me,je,De,ct){if(typeof De=="string"&&De!==""||typeof De=="number")return Ee=Ee.get(je)||null,ce(me,Ee,""+De,ct);if(typeof De=="object"&&De!==null){switch(De.$$typeof){case T:return Ee=Ee.get(De.key===null?je:De.key)||null,he(me,Ee,De,ct);case F:return Ee=Ee.get(De.key===null?je:De.key)||null,Te(me,Ee,De,ct);case M:var wt=De._init;return Ye(Ee,me,je,wt(De._payload),ct)}
vendor: 7,294 bytes, line 38
38if(dt(De)||q(De))return Ee=Ee.get(je)||null,Ne(me,Ee,De,ct,null);cb(me,De)}return null}function et(Ee,me,je,De){for(var ct=null,wt=null,_t=me,At=me=0,bn=null;_t!==null&&At<je.length;At++){_t.index>At?(bn=_t,_t=null):bn=_t.sibling;var or=Ie(Ee,_t,je[At],De);if(or===null){_t===null&&(_t=bn);break}s&&_t&&or.alternate===null&&d(Ee,_t),me=D(or,me,At),wt===null?ct=or:wt.sibling=or,wt=or,_t=bn}if(At===je.length)return v(Ee,_t),Rr&&$o(Ee,At),ct;if(_t===null){for(;At<je.length;At++)_t=Fe(Ee,je[At],De),_t!==null&&(me=D(_t,me,At),wt===null?ct=_t:wt.sibling=_t,wt=_t);return Rr&&$o(Ee,At),ct}for(_t=P(Ee,_t);At<je.length;At++)bn=Ye(_t,Ee,At,je[At],De),bn!==null&&(s&&bn.alternate!==null&&_t.delete(bn.key===null?At:bn.key),me=D(bn,me,At),wt===null?ct=bn:wt.sibling=bn,wt=bn);return s&&_t.forEach(function(mo){return d(Ee,mo)}),Rr&&$o(Ee,At),ct}function it(Ee,me,je,De){var ct=q(je);if(typeof ct!="function")throw Error(r(150));if(je=ct.call(je),je==null)throw Error(r(151));for(var wt=ct=null,_t=me,At=me=0,bn=null,or=je.next();_t!==null&&!or.done;At++,or=je.next()){_t.index>At?(bn=_t,_t=null):bn=_t.sibling;var mo=Ie(Ee,_t,or.value,De);if(mo===null){_t===null&&(_t=bn);break}s&&_t&&mo.alternate===null&&d(Ee,_t),me=D(mo,me,At),wt===null?ct=mo:wt.sibling=mo,wt=mo,_t=bn}if(or.done)return v(Ee,_t),Rr&&$o(Ee,At),ct;if(_t===null){for(;!or.done;At++,or=je.next())or=Fe(Ee,or.value,De),or!==null&&(me=D(or,me,At),wt===null?ct=or:wt.sibling=or,wt=or);return Rr&&$o(Ee,At),ct}for(_t=P(Ee,_t);!or.done;At++,or=je.next())or=Ye(_t,Ee,At,or.value,De),or!==null&&(s&&or.alternate!==null&&_t.delete(or.key===null?At:or.key),me=D(or,me,At),wt===null?ct=or:wt.sibling=or,wt=or);return s&&_t.forEach(function(KH){return d(Ee,KH)}),Rr&&$o(Ee,At),ct}function Wr(Ee,me,je,De){if(typeof je=="object"&&je!==null&&je.type===z&&je.key===null&&(je=je.props.children),typeof je=="object"&&je!==null){switch(je.$$typeof){case T:e:{for(var ct=je.key,wt=me;wt!==null;){if(wt.key===ct){if(ct=je.type,ct===z){if(wt.tag===7){v(Ee,wt.sibling),me=N(wt,je.props.children),me.return=Ee,Ee=me;break e}}else if(wt.elementType===ct||typeof ct=="object"&&ct!==null&&ct.$$typeof===M&&Tk(ct)===wt.type){v(Ee,wt.sibling),me=N(wt,je.props),me.ref=Id(Ee,wt,je),me.return=Ee,Ee=me;break e}v(Ee,wt);break}else d(Ee,wt);wt=wt.sibling}je.type===z?(me=oc(je.props.children,Ee.mode,De,je.key),me.return=Ee,Ee=me):(De=Cb(je.type,je.key,je.props,null,Ee.mode,De),De.ref=Id(Ee,me,je),De.return=Ee,Ee=De)}return ee(Ee);case F:e:{for(wt=je.key;me!==null;){if(me.key===wt)if(me.tag===4&&me.stateNode.containerInfo===je.containerInfo&&me.stateNode.implementation===je.implementation){v(Ee,me.sibling),me=N(me,je.children||[]),me.return=Ee,Ee=me;break e}else{v(Ee,me);break}else d(Ee,me);me=me.sibling}me=a_(je,Ee.mode,De),me.return=Ee,Ee=me}return ee(Ee);case M:return wt=je._init,Wr(Ee,me,wt(je._payload),De)}if(dt(je))return et(Ee,me,je,De);if(q(je))return it(Ee,me,je,De);cb(Ee,je)}return typeof je=="string"&&je!==""||typeof je=="number"?(je=""+je,me!==null&&me.tag===6?(v(Ee,me.sibling),me=N(me,je),me.return=Ee,Ee=me):(v(Ee,me),me=n_(je,Ee.mode,De),me.return=Ee,Ee=me),ee(Ee)):v(Ee,me)}return Wr}var Xu=Rk(!0),Ok=Rk(!1),ub=no(null),lb=null,$u=null,h1=null;function p1(){h1=$u=lb=null}function m1(s){var d=ub.current;Pr(ub),s._currentValue=d}function g1(s,d,v){for(;s!==null;){var P=s.alternate;if((s.childLanes&d)!==d?(s.childLanes|=d,P!==null&&(P.childLanes|=d)):P!==null&&(P.childLanes&d)!==d&&(P.childLanes|=d),s===v)break;s=s.return}}function el(s,d){lb=s,h1=$u=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&d)!==0&&(ca=!0),s.firstContext=null)}function Ga(s){var d=s._currentValue;if(h1!==s)if(s={context:s,memoizedValue:d,next:null},$u===null){if(lb===null)throw Error(r(308));$u=s,lb.dependencies={lanes:0,firstContext:s}}else $u=$u.next=s;return d}var ec=null;function y1(s){ec===null?ec=[s]:ec.push(s)}function Ck(s,d,v,P){var N=d.interleaved;return N===null?(v.next=v,y1(d)):(v.next=N.next,N.next=v),d.interleaved=v,cs(s,P)}function cs(s,d){s.lanes|=d;var v=s.alternate;for(v!==null&&(v.lanes|=d),v=s,s=s.return;s!==null;)s.childLanes|=d,v=s.alternate,v!==null&&(v.childLanes|=d),v=s,s=s.return;return v.tag===3?v.stateNode:null}var so=!1;function b1(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ik(s,d){s=s.updateQueue,d.updateQueue===s&&(d.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function us(s,d){return{eventTime:s,lane:d,tag:0,payload:null,callback:null,next:null}}function oo(s,d,v){var P=s.updateQueue;if(P===null)return null;if(P=P.shared,(nr&2)!==0){var N=P.pending;return N===null?d.next=d:(d.next=N.next,N.next=d),P.pending=d,cs(s,v)}return N=P.interleaved,N===null?(d.next=d,y1(P)):(d.next=N.next,N.next=d),P.interleaved=d,cs(s,v)}function db(s,d,v){if(d=d.updateQueue,d!==null&&(d=d.shared,(v&4194240)!==0)){var P=d.lanes;P&=s.pendingLanes,v|=P,d.lanes=v,md(s,v)}}function Nk(s,d){var v=s.updateQueue,P=s.alternate;if(P!==null&&(P=P.updateQueue,v===P)){var N=null,D=null;if(v=v.firstBaseUpdate,v!==null){do{var ee={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};D===null?N=D=ee:D=D.next=ee,v=v.next}while(v!==null);D===null?N=D=d:D=D.next=d}else N=D=d;v={baseState:P.baseState,firstBaseUpdate:N,lastBaseUpdate:D,shared:P.shared,effects:P.effects},s.updateQueue=v;return}s=v.lastBaseUpdate,s===null?v.firstBaseUpdate=d:s.next=d,v.lastBaseUpdate=d}function fb(s,d,v,P){var N=s.updateQueue;so=!1;var D=N.firstBaseUpdate,ee=N.lastBaseUpdate,ce=N.shared.pending;if(ce!==null){N.shared.pending=null;var he=ce,Te=he.next;he.next=null,ee===null?D=Te:ee.next=Te,ee=he;var Ne=s.alternate;Ne!==null&&(Ne=Ne.updateQueue,ce=Ne.lastBaseUpdate,ce!==ee&&(ce===null?Ne.firstBaseUpdate=Te:ce.next=Te,Ne.lastBaseUpdate=he))}if(D!==null){var Fe=N.baseState;ee=0,Ne=Te=he=null,ce=D;do{var Ie=ce.lane,Ye=ce.eventTime;if((P&Ie)===Ie){Ne!==null&&(Ne=Ne.next={eventTime:Ye,lane:0,tag:ce.tag,payload:ce.payload,callback:ce.callback,next:null});e:{var et=s,it=ce;switch(Ie=d,Ye=v,it.tag){case 1:if(et=it.payload,typeof et=="function"){Fe=et.call(Ye,Fe,Ie);break e}Fe=et;break e;case 3:et.flags=et.flags&-65537|128;case 0:if(et=it.payload,Ie=typeof et=="function"?et.call(Ye,Fe,Ie):et,Ie==null)break e;Fe=W({},Fe,Ie);break e;case 2:so=!0}}ce.callback!==null&&ce.lane!==0&&(s.flags|=64,Ie=N.effects,Ie===null?N.effects=[ce]:Ie.push(ce))}else Ye={eventTime:Ye,lane:Ie,tag:ce.tag,payload:ce.payload,callback:ce.callback,next:null},Ne===null?(Te=Ne=Ye,he=Fe):Ne=Ne.next=Ye,ee|=Ie;if(ce=ce.next,ce===null){if(ce=N.shared.pending,ce===null)break;Ie=ce,ce=Ie.next,Ie.next=null,N.lastBaseUpdate=Ie,N.shared.pending=null}}while(!0);if(Ne===null&&(he=Fe),N.baseState=he,N.firstBaseUpdate=Te,N.lastBaseUpdate=Ne,d=N.shared.interleaved,d!==null){N=d;do ee|=N.lane,N=N.next;while(N!==d)}else D===null&&(N.shared.lanes=0);nc|=ee,s.lanes=ee,s.memoizedState=Fe}}function Mk(s,d,v){if(s=d.effects,d.effects=null,s!==null)for(d=0;d<s.length;d++){var P=s[d],N=P.callback;if(N!==null){if(P.callback=null,P=v,typeof N!="function")throw Error(r(191,N));N.call(P)}}}var Nd={},Fi=no(Nd),Md=no(Nd),Fd=no(Nd);
vendor: 5,952 bytes, line 38
38function tc(s){if(s===Nd)throw Error(r(174));return s}function v1(s,d){switch(_r(Fd,d),_r(Md,s),_r(Fi,Nd),s=d.nodeType,s){case 9:case 11:d=(d=d.documentElement)?d.namespaceURI:X(null,"");break;default:s=s===8?d.parentNode:d,d=s.namespaceURI||null,s=s.tagName,d=X(d,s)}Pr(Fi),_r(Fi,d)}function tl(){Pr(Fi),Pr(Md),Pr(Fd)}function Fk(s){tc(Fd.current);var d=tc(Fi.current),v=X(d,s.type);d!==v&&(_r(Md,s),_r(Fi,v))}function w1(s){Md.current===s&&(Pr(Fi),Pr(Md))}var Ir=no(0);function hb(s){for(var d=s;d!==null;){if(d.tag===13){var v=d.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||v.data==="$!"))return d}else if(d.tag===19&&d.memoizedProps.revealOrder!==void 0){if((d.flags&128)!==0)return d}else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===s)break;for(;d.sibling===null;){if(d.return===null||d.return===s)return null;d=d.return}d.sibling.return=d.return,d=d.sibling}return null}var _1=[];function x1(){for(var s=0;s<_1.length;s++)_1[s]._workInProgressVersionPrimary=null;_1.length=0}var pb=j.ReactCurrentDispatcher,E1=j.ReactCurrentBatchConfig,rc=0,Nr=null,on=null,gn=null,mb=!1,Bd=!1,Ud=0,mH=0;function On(){throw Error(r(321))}function j1(s,d){if(d===null)return!1;for(var v=0;v<d.length&&v<s.length;v++)if(!oi(s[v],d[v]))return!1;return!0}function A1(s,d,v,P,N,D){if(rc=D,Nr=d,d.memoizedState=null,d.updateQueue=null,d.lanes=0,pb.current=s===null||s.memoizedState===null?vH:wH,s=v(P,N),Bd){D=0;do{if(Bd=!1,Ud=0,25<=D)throw Error(r(301));D+=1,gn=on=null,d.updateQueue=null,pb.current=_H,s=v(P,N)}while(Bd)}if(pb.current=bb,d=on!==null&&on.next!==null,rc=0,gn=on=Nr=null,mb=!1,d)throw Error(r(300));return s}function P1(){var s=Ud!==0;return Ud=0,s}function Bi(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gn===null?Nr.memoizedState=gn=s:gn=gn.next=s,gn}function Ka(){if(on===null){var s=Nr.alternate;s=s!==null?s.memoizedState:null}else s=on.next;var d=gn===null?Nr.memoizedState:gn.next;if(d!==null)gn=d,on=s;else{if(s===null)throw Error(r(310));on=s,s={memoizedState:on.memoizedState,baseState:on.baseState,baseQueue:on.baseQueue,queue:on.queue,next:null},gn===null?Nr.memoizedState=gn=s:gn=gn.next=s}return gn}function qd(s,d){return typeof d=="function"?d(s):d}function S1(s){var d=Ka(),v=d.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var P=on,N=P.baseQueue,D=v.pending;if(D!==null){if(N!==null){var ee=N.next;N.next=D.next,D.next=ee}P.baseQueue=N=D,v.pending=null}if(N!==null){D=N.next,P=P.baseState;var ce=ee=null,he=null,Te=D;do{var Ne=Te.lane;if((rc&Ne)===Ne)he!==null&&(he=he.next={lane:0,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null}),P=Te.hasEagerState?Te.eagerState:s(P,Te.action);else{var Fe={lane:Ne,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};he===null?(ce=he=Fe,ee=P):he=he.next=Fe,Nr.lanes|=Ne,nc|=Ne}Te=Te.next}while(Te!==null&&Te!==D);he===null?ee=P:he.next=ce,oi(P,d.memoizedState)||(ca=!0),d.memoizedState=P,d.baseState=ee,d.baseQueue=he,v.lastRenderedState=P}if(s=v.interleaved,s!==null){N=s;do D=N.lane,Nr.lanes|=D,nc|=D,N=N.next;while(N!==s)}else N===null&&(v.lanes=0);return[d.memoizedState,v.dispatch]}function k1(s){var d=Ka(),v=d.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var P=v.dispatch,N=v.pending,D=d.memoizedState;if(N!==null){v.pending=null;var ee=N=N.next;do D=s(D,ee.action),ee=ee.next;while(ee!==N);oi(D,d.memoizedState)||(ca=!0),d.memoizedState=D,d.baseQueue===null&&(d.baseState=D),v.lastRenderedState=D}return[D,P]}function Bk(){}function Uk(s,d){var v=Nr,P=Ka(),N=d(),D=!oi(P.memoizedState,N);if(D&&(P.memoizedState=N,ca=!0),P=P.queue,T1(Dk.bind(null,v,P,s),[s]),P.getSnapshot!==d||D||gn!==null&&gn.memoizedState.tag&1){if(v.flags|=2048,Ld(9,Lk.bind(null,v,P,N,d),void 0,null),yn===null)throw Error(r(349));(rc&30)!==0||qk(v,d,N)}return N}function qk(s,d,v){s.flags|=16384,s={getSnapshot:d,value:v},d=Nr.updateQueue,d===null?(d={lastEffect:null,stores:null},Nr.updateQueue=d,d.stores=[s]):(v=d.stores,v===null?d.stores=[s]:v.push(s))}function Lk(s,d,v,P){d.value=v,d.getSnapshot=P,zk(d)&&Vk(s)}function Dk(s,d,v){return v(function(){zk(d)&&Vk(s)})}function zk(s){var d=s.getSnapshot;s=s.value;try{var v=d();return!oi(s,v)}catch{return!0}}function Vk(s){var d=cs(s,1);d!==null&&fi(d,s,1,-1)}function Hk(s){var d=Bi();return typeof s=="function"&&(s=s()),d.memoizedState=d.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qd,lastRenderedState:s},d.queue=s,s=s.dispatch=bH.bind(null,Nr,s),[d.memoizedState,s]}function Ld(s,d,v,P){return s={tag:s,create:d,destroy:v,deps:P,next:null},d=Nr.updateQueue,d===null?(d={lastEffect:null,stores:null},Nr.updateQueue=d,d.lastEffect=s.next=s):(v=d.lastEffect,v===null?d.lastEffect=s.next=s:(P=v.next,v.next=s,s.next=P,d.lastEffect=s)),s}function Wk(){return Ka().memoizedState}function gb(s,d,v,P){var N=Bi();Nr.flags|=s,N.memoizedState=Ld(1|d,v,void 0,P===void 0?null:P)}function yb(s,d,v,P){var N=Ka();P=P===void 0?null:P;var D=void 0;if(on!==null){var ee=on.memoizedState;if(D=ee.destroy,P!==null&&j1(P,ee.deps)){N.memoizedState=Ld(d,v,D,P);return}}Nr.flags|=s,N.memoizedState=Ld(1|d,v,D,P)}function Gk(s,d){return gb(8390656,8,s,d)}function T1(s,d){return yb(2048,8,s,d)}function Kk(s,d){return yb(4,2,s,d)}function Yk(s,d){return yb(4,4,s,d)}function Zk(s,d){if(typeof d=="function")return s=s(),d(s),function(){d(null)};if(d!=null)return s=s(),d.current=s,function(){d.current=null}}function Jk(s,d,v){return v=v!=null?v.concat([s]):null,yb(4,4,Zk.bind(null,d,s),v)}function R1(){}function Qk(s,d){var v=Ka();d=d===void 0?null:d;var P=v.memoizedState;return P!==null&&d!==null&&j1(d,P[1])?P[0]:(v.memoizedState=[s,d],s)}function Xk(s,d){var v=Ka();d=d===void 0?null:d;var P=v.memoizedState;return P!==null&&d!==null&&j1(d,P[1])?P[0]:(s=s(),v.memoizedState=[s,d],s)}function $k(s,d,v){return(rc&21)===0?(s.baseState&&(s.baseState=!1,
vendor: 4,263 bytes, line 38
38ca=!0),s.memoizedState=v):(oi(v,d)||(v=pd(),Nr.lanes|=v,nc|=v,s.baseState=!0),d)}function gH(s,d){var v=ur;ur=v!==0&&4>v?v:4,s(!0);var P=E1.transition;E1.transition={};try{s(!1),d()}finally{ur=v,E1.transition=P}}function eT(){return Ka().memoizedState}function yH(s,d,v){var P=fo(s);if(v={lane:P,action:v,hasEagerState:!1,eagerState:null,next:null},tT(s))rT(d,v);else if(v=Ck(s,d,v,P),v!==null){var N=Kn();fi(v,s,P,N),nT(v,d,P)}}function bH(s,d,v){var P=fo(s),N={lane:P,action:v,hasEagerState:!1,eagerState:null,next:null};if(tT(s))rT(d,N);else{var D=s.alternate;if(s.lanes===0&&(D===null||D.lanes===0)&&(D=d.lastRenderedReducer,D!==null))try{var ee=d.lastRenderedState,ce=D(ee,v);if(N.hasEagerState=!0,N.eagerState=ce,oi(ce,ee)){var he=d.interleaved;he===null?(N.next=N,y1(d)):(N.next=he.next,he.next=N),d.interleaved=N;return}}catch{}finally{}v=Ck(s,d,N,P),v!==null&&(N=Kn(),fi(v,s,P,N),nT(v,d,P))}}function tT(s){var d=s.alternate;return s===Nr||d!==null&&d===Nr}function rT(s,d){Bd=mb=!0;var v=s.pending;v===null?d.next=d:(d.next=v.next,v.next=d),s.pending=d}function nT(s,d,v){if((v&4194240)!==0){var P=d.lanes;P&=s.pendingLanes,v|=P,d.lanes=v,md(s,v)}}var bb={readContext:Ga,useCallback:On,useContext:On,useEffect:On,useImperativeHandle:On,useInsertionEffect:On,useLayoutEffect:On,useMemo:On,useReducer:On,useRef:On,useState:On,useDebugValue:On,useDeferredValue:On,useTransition:On,useMutableSource:On,useSyncExternalStore:On,useId:On,unstable_isNewReconciler:!1},vH={readContext:Ga,useCallback:function(s,d){return Bi().memoizedState=[s,d===void 0?null:d],s},useContext:Ga,useEffect:Gk,useImperativeHandle:function(s,d,v){return v=v!=null?v.concat([s]):null,gb(4194308,4,Zk.bind(null,d,s),v)},useLayoutEffect:function(s,d){return gb(4194308,4,s,d)},useInsertionEffect:function(s,d){return gb(4,2,s,d)},useMemo:function(s,d){var v=Bi();return d=d===void 0?null:d,s=s(),v.memoizedState=[s,d],s},useReducer:function(s,d,v){var P=Bi();return d=v!==void 0?v(d):d,P.memoizedState=P.baseState=d,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:d},P.queue=s,s=s.dispatch=yH.bind(null,Nr,s),[P.memoizedState,s]},useRef:function(s){var d=Bi();return s={current:s},d.memoizedState=s},useState:Hk,useDebugValue:R1,useDeferredValue:function(s){return Bi().memoizedState=s},useTransition:function(){var s=Hk(!1),d=s[0];return s=gH.bind(null,s[1]),Bi().memoizedState=s,[d,s]},useMutableSource:function(){},useSyncExternalStore:function(s,d,v){var P=Nr,N=Bi();if(Rr){if(v===void 0)throw Error(r(407));v=v()}else{if(v=d(),yn===null)throw Error(r(349));(rc&30)!==0||qk(P,d,v)}N.memoizedState=v;var D={value:v,getSnapshot:d};return N.queue=D,Gk(Dk.bind(null,P,D,s),[s]),P.flags|=2048,Ld(9,Lk.bind(null,P,D,v,d),void 0,null),v},useId:function(){var s=Bi(),d=yn.identifierPrefix;if(Rr){var v=os,P=ss;v=(P&~(1<<32-an(P)-1)).toString(32)+v,d=":"+d+"R"+v,v=Ud++,0<v&&(d+="H"+v.toString(32)),d+=":"}else v=mH++,d=":"+d+"r"+v.toString(32)+":";return s.memoizedState=d},unstable_isNewReconciler:!1},wH={readContext:Ga,useCallback:Qk,useContext:Ga,useEffect:T1,useImperativeHandle:Jk,useInsertionEffect:Kk,useLayoutEffect:Yk,useMemo:Xk,useReducer:S1,useRef:Wk,useState:function(){return S1(qd)},useDebugValue:R1,useDeferredValue:function(s){var d=Ka();return $k(d,on.memoizedState,s)},useTransition:function(){var s=S1(qd)[0],d=Ka().memoizedState;return[s,d]},useMutableSource:Bk,useSyncExternalStore:Uk,useId:eT,unstable_isNewReconciler:!1},_H={readContext:Ga,useCallback:Qk,useContext:Ga,useEffect:T1,useImperativeHandle:Jk,useInsertionEffect:Kk,useLayoutEffect:Yk,useMemo:Xk,useReducer:k1,useRef:Wk,useState:function(){return k1(qd)},useDebugValue:R1,useDeferredValue:function(s){var d=Ka();return on===null?d.memoizedState=s:$k(d,on.memoizedState,s)},useTransition:function(){var s=k1(qd)[0],d=Ka().memoizedState;return[s,d]},useMutableSource:Bk,useSyncExternalStore:Uk,useId:eT,unstable_isNewReconciler:!1};function ui(s,d){if(s&&s.defaultProps){d=W({},d),s=s.defaultProps;for(var v in s)d[v]===void 0&&(d[v]=s[v]);return d}return d}function O1(s,d,v,P){d=s.memoizedState,v=v(P,d),v=v==null?d:W({},d,v),s.memoizedState=v,s.lanes===0&&(s.updateQueue.baseState=v)}var vb={isMounted:function(s){return(s=s._reactInternals)?kn(s)===s:!1}
vendor: 5,352 bytes, lines 38-40
38,enqueueSetState:function(s,d,v){s=s._reactInternals;var P=Kn(),N=fo(s),D=us(P,N);D.payload=d,v!=null&&(D.callback=v),d=oo(s,D,N),d!==null&&(fi(d,s,N,P),db(d,s,N))},enqueueReplaceState:function(s,d,v){s=s._reactInternals;var P=Kn(),N=fo(s),D=us(P,N);D.tag=1,D.payload=d,v!=null&&(D.callback=v),d=oo(s,D,N),d!==null&&(fi(d,s,N,P),db(d,s,N))},enqueueForceUpdate:function(s,d){s=s._reactInternals;var v=Kn(),P=fo(s),N=us(v,P);N.tag=2,d!=null&&(N.callback=d),d=oo(s,N,P),d!==null&&(fi(d,s,P,v),db(d,s,P))}};function aT(s,d,v,P,N,D,ee){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(P,D,ee):d.prototype&&d.prototype.isPureReactComponent?!Pd(v,P)||!Pd(N,D):!0}function iT(s,d,v){var P=!1,N=ao,D=d.contextType;return typeof D=="object"&&D!==null?D=Ga(D):(N=oa(d)?Qo:Rn.current,P=d.contextTypes,D=(P=P!=null)?Yu(s,N):ao),d=new d(v,D),s.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=vb,s.stateNode=d,d._reactInternals=s,P&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=N,s.__reactInternalMemoizedMaskedChildContext=D),d}function sT(s,d,v,P){s=d.state,typeof d.componentWillReceiveProps=="function"&&d.componentWillReceiveProps(v,P),typeof d.UNSAFE_componentWillReceiveProps=="function"&&d.UNSAFE_componentWillReceiveProps(v,P),d.state!==s&&vb.enqueueReplaceState(d,d.state,null)}function C1(s,d,v,P){var N=s.stateNode;N.props=v,N.state=s.memoizedState,N.refs={},b1(s);var D=d.contextType;typeof D=="object"&&D!==null?N.context=Ga(D):(D=oa(d)?Qo:Rn.current,N.context=Yu(s,D)),N.state=s.memoizedState,D=d.getDerivedStateFromProps,typeof D=="function"&&(O1(s,d,D,v),N.state=s.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof N.getSnapshotBeforeUpdate=="function"||typeof N.UNSAFE_componentWillMount!="function"&&typeof N.componentWillMount!="function"||(d=N.state,typeof N.componentWillMount=="function"&&N.componentWillMount(),typeof N.UNSAFE_componentWillMount=="function"&&N.UNSAFE_componentWillMount(),d!==N.state&&vb.enqueueReplaceState(N,N.state,null),fb(s,v,N,P),N.state=s.memoizedState),typeof N.componentDidMount=="function"&&(s.flags|=4194308)}function rl(s,d){try{var v="",P=d;do v+=Q(P),P=P.return;while(P);var N=v}catch(D){N=` 39Error generating stack: `+D.message+` 40`+D.stack}return{value:s,source:d,stack:N,digest:null}}function I1(s,d,v){return{value:s,source:null,stack:v??null,digest:d??null}}function N1(s,d){try{console.error(d.value)}catch(v){setTimeout(function(){throw v})}}var xH=typeof WeakMap=="function"?WeakMap:Map;function oT(s,d,v){v=us(-1,v),v.tag=3,v.payload={element:null};var P=d.value;return v.callback=function(){Pb||(Pb=!0,Z1=P),N1(s,d)},v}function cT(s,d,v){v=us(-1,v),v.tag=3;var P=s.type.getDerivedStateFromError;if(typeof P=="function"){var N=d.value;v.payload=function(){return P(N)},v.callback=function(){N1(s,d)}}var D=s.stateNode;return D!==null&&typeof D.componentDidCatch=="function"&&(v.callback=function(){N1(s,d),typeof P!="function"&&(uo===null?uo=new Set([this]):uo.add(this));var ee=d.stack;this.componentDidCatch(d.value,{componentStack:ee!==null?ee:""})}),v}function uT(s,d,v){var P=s.pingCache;if(P===null){P=s.pingCache=new xH;var N=new Set;P.set(d,N)}else N=P.get(d),N===void 0&&(N=new Set,P.set(d,N));N.has(v)||(N.add(v),s=FH.bind(null,s,d,v),d.then(s,s))}function lT(s){do{var d;if((d=s.tag===13)&&(d=s.memoizedState,d=d!==null?d.dehydrated!==null:!0),d)return s;s=s.return}while(s!==null);return null}function dT(s,d,v,P,N){return(s.mode&1)===0?(s===d?s.flags|=65536:(s.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(d=us(-1,1),d.tag=2,oo(v,d,1))),v.lanes|=1),s):(s.flags|=65536,s.lanes=N,s)}var EH=j.ReactCurrentOwner,ca=!1;function Gn(s,d,v,P){d.child=s===null?Ok(d,null,v,P):Xu(d,s.child,v,P)}function fT(s,d,v,P,N){v=v.render;var D=d.ref;return el(d,N),P=A1(s,d,v,P,D,N),v=P1(),s!==null&&!ca?(d.updateQueue=s.updateQueue,d.flags&=-2053,s.lanes&=~N,ls(s,d,N)):(Rr&&v&&c1(d),d.flags|=1,Gn(s,d,P,N),d.child)}function hT(s,d,v,P,N){if(s===null){var D=v.type;return typeof D=="function"&&!r_(D)&&D.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(d.tag=15,d.type=D,pT(s,d,D,P,N)):(s=Cb(v.type,null,P,d,d.mode,N),s.ref=d.ref,s.return=d,d.child=s)}if(D=s.child,(s.lanes&N)===0){var ee=D.memoizedProps;if(v=v.compare,v=v!==null?v:Pd,v(ee,P)&&s.ref===d.ref)return ls(s,d,N)}return d.flags|=1,s=po(D,P),s.ref=d.ref,s.return=d,d.child=s}function pT(s,d,v,P,N){if(s!==null){var D=s.memoizedProps;if(Pd(D,P)&&s.ref===d.ref)if(ca=!1,d.pendingProps=P=D,(s.lanes&N)!==0)(s.flags&131072)!==0&&(ca=!0);else return d.lanes=s.lanes,ls(s,d,N)}return M1(s,d,v,P,N)}function mT(s,d,v){var P=d.pendingProps,N=P.children,D=s!==null?s.memoizedState:null;if(P.mode==="hidden")if((d.mode&1)===0)d.memoizedState={baseLanes:0,cachePool:null,transitions:null},_r(al,Aa),Aa|=v;else{if((v&1073741824)===0)return s=D!==null?D.baseLanes|v:v,d.lanes=d.childLanes=1073741824,d.memoizedState={baseLanes:s,cachePool:null,transitions:null},d.updateQueue=null,_r(al,Aa),Aa|=s,null;d.memoizedState={baseLanes:0,cachePool:null,transitions:null},P=D!==null?D.baseLanes:v,_r(al,Aa),Aa|=P}else D!==null?(P=D.baseLanes|v,d.memoizedState=null):P=v,_r(al,Aa),Aa|=P;return Gn(s,d,N,v),d.child}function gT(s,d){var v=d.ref;(s===null&&v!==null||s!==null&&s.ref!==v)&&(d.flags|=512,d.flags|=2097152)}
vendor: 4,498 bytes, line 40
40function M1(s,d,v,P,N){var D=oa(v)?Qo:Rn.current;return D=Yu(d,D),el(d,N),v=A1(s,d,v,P,D,N),P=P1(),s!==null&&!ca?(d.updateQueue=s.updateQueue,d.flags&=-2053,s.lanes&=~N,ls(s,d,N)):(Rr&&P&&c1(d),d.flags|=1,Gn(s,d,v,N),d.child)}function yT(s,d,v,P,N){if(oa(v)){var D=!0;nb(d)}else D=!1;if(el(d,N),d.stateNode===null)_b(s,d),iT(d,v,P),C1(d,v,P,N),P=!0;else if(s===null){var ee=d.stateNode,ce=d.memoizedProps;ee.props=ce;var he=ee.context,Te=v.contextType;typeof Te=="object"&&Te!==null?Te=Ga(Te):(Te=oa(v)?Qo:Rn.current,Te=Yu(d,Te));var Ne=v.getDerivedStateFromProps,Fe=typeof Ne=="function"||typeof ee.getSnapshotBeforeUpdate=="function";Fe||typeof ee.UNSAFE_componentWillReceiveProps!="function"&&typeof ee.componentWillReceiveProps!="function"||(ce!==P||he!==Te)&&sT(d,ee,P,Te),so=!1;var Ie=d.memoizedState;ee.state=Ie,fb(d,P,ee,N),he=d.memoizedState,ce!==P||Ie!==he||sa.current||so?(typeof Ne=="function"&&(O1(d,v,Ne,P),he=d.memoizedState),(ce=so||aT(d,v,ce,P,Ie,he,Te))?(Fe||typeof ee.UNSAFE_componentWillMount!="function"&&typeof ee.componentWillMount!="function"||(typeof ee.componentWillMount=="function"&&ee.componentWillMount(),typeof ee.UNSAFE_componentWillMount=="function"&&ee.UNSAFE_componentWillMount()),typeof ee.componentDidMount=="function"&&(d.flags|=4194308)):(typeof ee.componentDidMount=="function"&&(d.flags|=4194308),d.memoizedProps=P,d.memoizedState=he),ee.props=P,ee.state=he,ee.context=Te,P=ce):(typeof ee.componentDidMount=="function"&&(d.flags|=4194308),P=!1)}else{ee=d.stateNode,Ik(s,d),ce=d.memoizedProps,Te=d.type===d.elementType?ce:ui(d.type,ce),ee.props=Te,Fe=d.pendingProps,Ie=ee.context,he=v.contextType,typeof he=="object"&&he!==null?he=Ga(he):(he=oa(v)?Qo:Rn.current,he=Yu(d,he));var Ye=v.getDerivedStateFromProps;(Ne=typeof Ye=="function"||typeof ee.getSnapshotBeforeUpdate=="function")||typeof ee.UNSAFE_componentWillReceiveProps!="function"&&typeof ee.componentWillReceiveProps!="function"||(ce!==Fe||Ie!==he)&&sT(d,ee,P,he),so=!1,Ie=d.memoizedState,ee.state=Ie,fb(d,P,ee,N);var et=d.memoizedState;ce!==Fe||Ie!==et||sa.current||so?(typeof Ye=="function"&&(O1(d,v,Ye,P),et=d.memoizedState),(Te=so||aT(d,v,Te,P,Ie,et,he)||!1)?(Ne||typeof ee.UNSAFE_componentWillUpdate!="function"&&typeof ee.componentWillUpdate!="function"||(typeof ee.componentWillUpdate=="function"&&ee.componentWillUpdate(P,et,he),typeof ee.UNSAFE_componentWillUpdate=="function"&&ee.UNSAFE_componentWillUpdate(P,et,he)),typeof ee.componentDidUpdate=="function"&&(d.flags|=4),typeof ee.getSnapshotBeforeUpdate=="function"&&(d.flags|=1024)):(typeof ee.componentDidUpdate!="function"||ce===s.memoizedProps&&Ie===s.memoizedState||(d.flags|=4),typeof ee.getSnapshotBeforeUpdate!="function"||ce===s.memoizedProps&&Ie===s.memoizedState||(d.flags|=1024),d.memoizedProps=P,d.memoizedState=et),ee.props=P,ee.state=et,ee.context=he,P=Te):(typeof ee.componentDidUpdate!="function"||ce===s.memoizedProps&&Ie===s.memoizedState||(d.flags|=4),typeof ee.getSnapshotBeforeUpdate!="function"||ce===s.memoizedProps&&Ie===s.memoizedState||(d.flags|=1024),P=!1)}return F1(s,d,v,P,D,N)}function F1(s,d,v,P,N,D){gT(s,d);var ee=(d.flags&128)!==0;if(!P&&!ee)return N&&xk(d,v,!1),ls(s,d,D);P=d.stateNode,EH.current=d;var ce=ee&&typeof v.getDerivedStateFromError!="function"?null:P.render();return d.flags|=1,s!==null&&ee?(d.child=Xu(d,s.child,null,D),d.child=Xu(d,null,ce,D)):Gn(s,d,ce,D),d.memoizedState=P.state,N&&xk(d,v,!0),d.child}function bT(s){var d=s.stateNode;d.pendingContext?wk(s,d.pendingContext,d.pendingContext!==d.context):d.context&&wk(s,d.context,!1),v1(s,d.containerInfo)}function vT(s,d,v,P,N){return Qu(),f1(N),d.flags|=256,Gn(s,d,v,P),d.child}var B1={dehydrated:null,treeContext:null,retryLane:0};function U1(s){return{baseLanes:s,cachePool:null,transitions:null}}function wT(s,d,v){var P=d.pendingProps,N=Ir.current,D=!1,ee=(d.flags&128)!==0,ce;if((ce=ee)||(ce=s!==null&&s.memoizedState===null?!1:(N&2)!==0),ce?(D=!0,d.flags&=-129):(s===null||s.memoizedState!==null)&&(N|=1),_r(Ir,N&1),s===null)return d1(d),s=d.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((d.mode&1)===0?d.lanes=1:s.data==="$!"?d.lanes=8:d.lanes=1073741824,null):(ee=P.children,s=P.fallback,D?(P=d.mode,D=d.child,ee={mode:"hidden",children:ee},(P&1)===0&&D!==null?(D.childLanes=0,D.pendingProps=ee):D=Ib(ee,P,0,null),s=oc(s,P,v,null),D.return=d,s.return=d,D.sibling=s,d.child=D,d.child.memoizedState=U1(v),d.memoizedState=B1,s):q1(d,ee));if(N=s.memoizedState,N!==null&&(ce=N.dehydrated,ce!==null))return jH(s,d,ee,P,ce,N,v);
vendor: 6,987 bytes, line 40
40if(D){D=P.fallback,ee=d.mode,N=s.child,ce=N.sibling;var he={mode:"hidden",children:P.children};return(ee&1)===0&&d.child!==N?(P=d.child,P.childLanes=0,P.pendingProps=he,d.deletions=null):(P=po(N,he),P.subtreeFlags=N.subtreeFlags&14680064),ce!==null?D=po(ce,D):(D=oc(D,ee,v,null),D.flags|=2),D.return=d,P.return=d,P.sibling=D,d.child=P,P=D,D=d.child,ee=s.child.memoizedState,ee=ee===null?U1(v):{baseLanes:ee.baseLanes|v,cachePool:null,transitions:ee.transitions},D.memoizedState=ee,D.childLanes=s.childLanes&~v,d.memoizedState=B1,P}return D=s.child,s=D.sibling,P=po(D,{mode:"visible",children:P.children}),(d.mode&1)===0&&(P.lanes=v),P.return=d,P.sibling=null,s!==null&&(v=d.deletions,v===null?(d.deletions=[s],d.flags|=16):v.push(s)),d.child=P,d.memoizedState=null,P}function q1(s,d){return d=Ib({mode:"visible",children:d},s.mode,0,null),d.return=s,s.child=d}function wb(s,d,v,P){return P!==null&&f1(P),Xu(d,s.child,null,v),s=q1(d,d.pendingProps.children),s.flags|=2,d.memoizedState=null,s}function jH(s,d,v,P,N,D,ee){if(v)return d.flags&256?(d.flags&=-257,P=I1(Error(r(422))),wb(s,d,ee,P)):d.memoizedState!==null?(d.child=s.child,d.flags|=128,null):(D=P.fallback,N=d.mode,P=Ib({mode:"visible",children:P.children},N,0,null),D=oc(D,N,ee,null),D.flags|=2,P.return=d,D.return=d,P.sibling=D,d.child=P,(d.mode&1)!==0&&Xu(d,s.child,null,ee),d.child.memoizedState=U1(ee),d.memoizedState=B1,D);if((d.mode&1)===0)return wb(s,d,ee,null);if(N.data==="$!"){if(P=N.nextSibling&&N.nextSibling.dataset,P)var ce=P.dgst;return P=ce,D=Error(r(419)),P=I1(D,P,void 0),wb(s,d,ee,P)}if(ce=(ee&s.childLanes)!==0,ca||ce){if(P=yn,P!==null){switch(ee&-ee){case 4:N=2;break;case 16:N=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:N=32;break;case 536870912:N=268435456;break;default:N=0}N=(N&(P.suspendedLanes|ee))!==0?0:N,N!==0&&N!==D.retryLane&&(D.retryLane=N,cs(s,N),fi(P,s,N,-1))}return t_(),P=I1(Error(r(421))),wb(s,d,ee,P)}return N.data==="$?"?(d.flags|=128,d.child=s.child,d=BH.bind(null,s),N._reactRetry=d,null):(s=D.treeContext,ja=ro(N.nextSibling),Ea=d,Rr=!0,ci=null,s!==null&&(Ha[Wa++]=ss,Ha[Wa++]=os,Ha[Wa++]=Xo,ss=s.id,os=s.overflow,Xo=d),d=q1(d,P.children),d.flags|=4096,d)}function _T(s,d,v){s.lanes|=d;var P=s.alternate;P!==null&&(P.lanes|=d),g1(s.return,d,v)}function L1(s,d,v,P,N){var D=s.memoizedState;D===null?s.memoizedState={isBackwards:d,rendering:null,renderingStartTime:0,last:P,tail:v,tailMode:N}:(D.isBackwards=d,D.rendering=null,D.renderingStartTime=0,D.last=P,D.tail=v,D.tailMode=N)}function xT(s,d,v){var P=d.pendingProps,N=P.revealOrder,D=P.tail;if(Gn(s,d,P.children,v),P=Ir.current,(P&2)!==0)P=P&1|2,d.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=d.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&_T(s,v,d);else if(s.tag===19)_T(s,v,d);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===d)break e;for(;s.sibling===null;){if(s.return===null||s.return===d)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}P&=1}if(_r(Ir,P),(d.mode&1)===0)d.memoizedState=null;else switch(N){case"forwards":for(v=d.child,N=null;v!==null;)s=v.alternate,s!==null&&hb(s)===null&&(N=v),v=v.sibling;v=N,v===null?(N=d.child,d.child=null):(N=v.sibling,v.sibling=null),L1(d,!1,N,v,D);break;case"backwards":for(v=null,N=d.child,d.child=null;N!==null;){if(s=N.alternate,s!==null&&hb(s)===null){d.child=N;break}s=N.sibling,N.sibling=v,v=N,N=s}L1(d,!0,v,null,D);break;case"together":L1(d,!1,null,null,void 0);break;default:d.memoizedState=null}return d.child}function _b(s,d){(d.mode&1)===0&&s!==null&&(s.alternate=null,d.alternate=null,d.flags|=2)}function ls(s,d,v){if(s!==null&&(d.dependencies=s.dependencies),nc|=d.lanes,(v&d.childLanes)===0)return null;if(s!==null&&d.child!==s.child)throw Error(r(153));if(d.child!==null){for(s=d.child,v=po(s,s.pendingProps),d.child=v,v.return=d;s.sibling!==null;)s=s.sibling,v=v.sibling=po(s,s.pendingProps),v.return=d;v.sibling=null}return d.child}function AH(s,d,v){switch(d.tag){case 3:bT(d),Qu();break;case 5:Fk(d);break;case 1:oa(d.type)&&nb(d);break;case 4:v1(d,d.stateNode.containerInfo);break;case 10:var P=d.type._context,N=d.memoizedProps.value;_r(ub,P._currentValue),P._currentValue=N;break;case 13:if(P=d.memoizedState,P!==null)return P.dehydrated!==null?(_r(Ir,Ir.current&1),d.flags|=128,null):(v&d.child.childLanes)!==0?wT(s,d,v):(_r(Ir,Ir.current&1),s=ls(s,d,v),s!==null?s.sibling:null);_r(Ir,Ir.current&1);break;case 19:if(P=(v&d.childLanes)!==0,(s.flags&128)!==0){if(P)return xT(s,d,v);d.flags|=128}if(N=d.memoizedState,N!==null&&(N.rendering=null,N.tail=null,N.lastEffect=null),_r(Ir,Ir.current),P)break;return null;case 22:case 23:return d.lanes=0,mT(s,d,v)}return ls(s,d,v)}var ET,D1,jT,AT;ET=function(s,d){for(var v=d.child;v!==null;){if(v.tag===5||v.tag===6)s.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===d)break;for(;v.sibling===null;){if(v.return===null||v.return===d)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},D1=function(){},jT=function(s,d,v,P){var N=s.memoizedProps;if(N!==P){s=d.stateNode,tc(Fi.current);var D=null;switch(v){case"input":N=Oe(s,N),P=Oe(s,P),D=[];break;case"select":N=W({},N,{value:void 0}),P=W({},P,{value:void 0}),D=[];break;case"textarea":N=It(s,N),P=It(s,P),D=[];break;default:typeof N.onClick!="function"&&typeof P.onClick=="function"&&(s.onclick=eb)}at(v,P);var ee;v=null;for(Te in N)if(!P.hasOwnProperty(Te)&&N.hasOwnProperty(Te)&&N[Te]!=null)if(Te==="style"){var ce=N[Te];for(ee in ce)ce.hasOwnProperty(ee)&&(v||(v={}),v[ee]="")}else Te!=="dangerouslySetInnerHTML"&&Te!=="children"&&Te!=="suppressContentEditableWarning"&&Te!=="suppressHydrationWarning"&&Te!=="autoFocus"&&(a.hasOwnProperty(Te)?D||(D=[]):(D=D||[]).push(Te,null));for(Te in P){var he=P[Te];if(ce=N?.[Te],P.hasOwnProperty(Te)&&he!==ce&&(he!=null||ce!=null))if(Te==="style")if(ce){for(ee in ce)!ce.hasOwnProperty(ee)||he&&he.hasOwnProperty(ee)||(v||(v={}),v[ee]="");for(ee in he)he.hasOwnProperty(ee)&&ce[ee]!==he[ee]&&(v||(v={}),v[ee]=he[ee])}else v||(D||(D=[]),D.push(Te,v)),v=he;else Te==="dangerouslySetInnerHTML"?(he=he?he.__html:void 0,ce=ce?ce.__html:void 0,he!=null&&ce!==he&&(D=D||[]).push(Te,he)):Te==="children"?typeof he!="string"&&typeof he!="number"||(D=D||[]).push(Te,""+he):Te!=="suppressContentEditableWarning"&&Te!=="suppressHydrationWarning"&&(a.hasOwnProperty(Te)?(he!=null&&Te==="onScroll"&&Ar("scroll",s),D||ce===he||(D=[])):(D=D||[]).push(Te,he))}v&&(D=D||[]).push("style",v);var Te=D;(d.updateQueue=Te)&&(d.flags|=4)}},AT=function(s,d,v,P){v!==P&&(d.flags|=4)};function Dd(s,d){if(!Rr)switch(s.tailMode){case"hidden":d=s.tail;for(var v=null;d!==null;)d.alternate!==null&&(v=d),d=d.sibling;v===null?s.tail=null:v.sibling=null;break;case"collapsed":v=s.tail;for(var P=null;v!==null;)v.alternate!==null&&(P=v),v=v.sibling;
vendor: 27,946 bytes, line 40
40P===null?d||s.tail===null?s.tail=null:s.tail.sibling=null:P.sibling=null}}function Cn(s){var d=s.alternate!==null&&s.alternate.child===s.child,v=0,P=0;if(d)for(var N=s.child;N!==null;)v|=N.lanes|N.childLanes,P|=N.subtreeFlags&14680064,P|=N.flags&14680064,N.return=s,N=N.sibling;else for(N=s.child;N!==null;)v|=N.lanes|N.childLanes,P|=N.subtreeFlags,P|=N.flags,N.return=s,N=N.sibling;return s.subtreeFlags|=P,s.childLanes=v,d}function PH(s,d,v){var P=d.pendingProps;switch(u1(d),d.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Cn(d),null;case 1:return oa(d.type)&&rb(),Cn(d),null;case 3:return P=d.stateNode,tl(),Pr(sa),Pr(Rn),x1(),P.pendingContext&&(P.context=P.pendingContext,P.pendingContext=null),(s===null||s.child===null)&&(ob(d)?d.flags|=4:s===null||s.memoizedState.isDehydrated&&(d.flags&256)===0||(d.flags|=1024,ci!==null&&(X1(ci),ci=null))),D1(s,d),Cn(d),null;case 5:w1(d);var N=tc(Fd.current);if(v=d.type,s!==null&&d.stateNode!=null)jT(s,d,v,P,N),s.ref!==d.ref&&(d.flags|=512,d.flags|=2097152);else{if(!P){if(d.stateNode===null)throw Error(r(166));return Cn(d),null}if(s=tc(Fi.current),ob(d)){P=d.stateNode,v=d.type;var D=d.memoizedProps;switch(P[Mi]=d,P[Od]=D,s=(d.mode&1)!==0,v){case"dialog":Ar("cancel",P),Ar("close",P);break;case"iframe":case"object":case"embed":Ar("load",P);break;case"video":case"audio":for(N=0;N<kd.length;N++)Ar(kd[N],P);break;case"source":Ar("error",P);break;case"img":case"image":case"link":Ar("error",P),Ar("load",P);break;case"details":Ar("toggle",P);break;case"input":Be(P,D),Ar("invalid",P);break;case"select":P._wrapperState={wasMultiple:!!D.multiple},Ar("invalid",P);break;case"textarea":Rt(P,D),Ar("invalid",P)}at(v,D),N=null;for(var ee in D)if(D.hasOwnProperty(ee)){var ce=D[ee];ee==="children"?typeof ce=="string"?P.textContent!==ce&&(D.suppressHydrationWarning!==!0&&$y(P.textContent,ce,s),N=["children",ce]):typeof ce=="number"&&P.textContent!==""+ce&&(D.suppressHydrationWarning!==!0&&$y(P.textContent,ce,s),N=["children",""+ce]):a.hasOwnProperty(ee)&&ce!=null&&ee==="onScroll"&&Ar("scroll",P)}switch(v){case"input":ye(P),ft(P,D,!0);break;case"textarea":ye(P),sr(P);break;case"select":case"option":break;default:typeof D.onClick=="function"&&(P.onclick=eb)}P=N,d.updateQueue=P,P!==null&&(d.flags|=4)}else{ee=N.nodeType===9?N:N.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=be(v)),s==="http://www.w3.org/1999/xhtml"?v==="script"?(s=ee.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof P.is=="string"?s=ee.createElement(v,{is:P.is}):(s=ee.createElement(v),v==="select"&&(ee=s,P.multiple?ee.multiple=!0:P.size&&(ee.size=P.size))):s=ee.createElementNS(s,v),s[Mi]=d,s[Od]=P,ET(s,d,!1,!1),d.stateNode=s;e:{switch(ee=zt(v,P),v){case"dialog":Ar("cancel",s),Ar("close",s),N=P;break;case"iframe":case"object":case"embed":Ar("load",s),N=P;break;case"video":case"audio":for(N=0;N<kd.length;N++)Ar(kd[N],s);N=P;break;case"source":Ar("error",s),N=P;break;case"img":case"image":case"link":Ar("error",s),Ar("load",s),N=P;break;case"details":Ar("toggle",s),N=P;break;case"input":Be(s,P),N=Oe(s,P),Ar("invalid",s);break;case"option":N=P;break;case"select":s._wrapperState={wasMultiple:!!P.multiple},N=W({},P,{value:void 0}),Ar("invalid",s);break;case"textarea":Rt(s,P),N=It(s,P),Ar("invalid",s);break;default:N=P}at(v,N),ce=N;for(D in ce)if(ce.hasOwnProperty(D)){var he=ce[D];D==="style"?mt(s,he):D==="dangerouslySetInnerHTML"?(he=he?he.__html:void 0,he!=null&&G(s,he)):D==="children"?typeof he=="string"?(v!=="textarea"||he!=="")&&re(s,he):typeof he=="number"&&re(s,""+he):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(a.hasOwnProperty(D)?he!=null&&D==="onScroll"&&Ar("scroll",s):he!=null&&E(s,D,he,ee))}switch(v){case"input":ye(s),ft(s,P,!1);break;case"textarea":ye(s),sr(s);break;case"option":P.value!=null&&s.setAttribute("value",""+ge(P.value));break;case"select":s.multiple=!!P.multiple,D=P.value,D!=null?vt(s,!!P.multiple,D,!1):P.defaultValue!=null&&vt(s,!!P.multiple,P.defaultValue,!0);break;default:typeof N.onClick=="function"&&(s.onclick=eb)}switch(v){case"button":case"input":case"select":case"textarea":P=!!P.autoFocus;break e;case"img":P=!0;break e;default:P=!1}}P&&(d.flags|=4)}d.ref!==null&&(d.flags|=512,d.flags|=2097152)}return Cn(d),null;case 6:if(s&&d.stateNode!=null)AT(s,d,s.memoizedProps,P);else{if(typeof P!="string"&&d.stateNode===null)throw Error(r(166));if(v=tc(Fd.current),tc(Fi.current),ob(d)){if(P=d.stateNode,v=d.memoizedProps,P[Mi]=d,(D=P.nodeValue!==v)&&(s=Ea,s!==null))switch(s.tag){case 3:$y(P.nodeValue,v,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&$y(P.nodeValue,v,(s.mode&1)!==0)}D&&(d.flags|=4)}else P=(v.nodeType===9?v:v.ownerDocument).createTextNode(P),P[Mi]=d,d.stateNode=P}return Cn(d),null;case 13:if(Pr(Ir),P=d.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Rr&&ja!==null&&(d.mode&1)!==0&&(d.flags&128)===0)kk(),Qu(),d.flags|=98560,D=!1;else if(D=ob(d),P!==null&&P.dehydrated!==null){if(s===null){if(!D)throw Error(r(318));if(D=d.memoizedState,D=D!==null?D.dehydrated:null,!D)throw Error(r(317));D[Mi]=d}else Qu(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;Cn(d),D=!1}else ci!==null&&(X1(ci),ci=null),D=!0;if(!D)return d.flags&65536?d:null}return(d.flags&128)!==0?(d.lanes=v,d):(P=P!==null,P!==(s!==null&&s.memoizedState!==null)&&P&&(d.child.flags|=8192,(d.mode&1)!==0&&(s===null||(Ir.current&1)!==0?cn===0&&(cn=3):t_())),d.updateQueue!==null&&(d.flags|=4),Cn(d),null);case 4:return tl(),D1(s,d),s===null&&Td(d.stateNode.containerInfo),Cn(d),null;case 10:return m1(d.type._context),Cn(d),null;case 17:return oa(d.type)&&rb(),Cn(d),null;case 19:if(Pr(Ir),D=d.memoizedState,D===null)return Cn(d),null;if(P=(d.flags&128)!==0,ee=D.rendering,ee===null)if(P)Dd(D,!1);else{if(cn!==0||s!==null&&(s.flags&128)!==0)for(s=d.child;s!==null;){if(ee=hb(s),ee!==null){for(d.flags|=128,Dd(D,!1),P=ee.updateQueue,P!==null&&(d.updateQueue=P,d.flags|=4),d.subtreeFlags=0,P=v,v=d.child;v!==null;)D=v,s=P,D.flags&=14680066,ee=D.alternate,ee===null?(D.childLanes=0,D.lanes=s,D.child=null,D.subtreeFlags=0,D.memoizedProps=null,D.memoizedState=null,D.updateQueue=null,D.dependencies=null,D.stateNode=null):(D.childLanes=ee.childLanes,D.lanes=ee.lanes,D.child=ee.child,D.subtreeFlags=0,D.deletions=null,D.memoizedProps=ee.memoizedProps,D.memoizedState=ee.memoizedState,D.updateQueue=ee.updateQueue,D.type=ee.type,s=ee.dependencies,D.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),v=v.sibling;return _r(Ir,Ir.current&1|2),d.child}s=s.sibling}D.tail!==null&&cr()>il&&(d.flags|=128,P=!0,Dd(D,!1),d.lanes=4194304)}else{if(!P)if(s=hb(ee),s!==null){if(d.flags|=128,P=!0,v=s.updateQueue,v!==null&&(d.updateQueue=v,d.flags|=4),Dd(D,!0),D.tail===null&&D.tailMode==="hidden"&&!ee.alternate&&!Rr)return Cn(d),null}else 2*cr()-D.renderingStartTime>il&&v!==1073741824&&(d.flags|=128,P=!0,Dd(D,!1),d.lanes=4194304);D.isBackwards?(ee.sibling=d.child,d.child=ee):(v=D.last,v!==null?v.sibling=ee:d.child=ee,D.last=ee)}return D.tail!==null?(d=D.tail,D.rendering=d,D.tail=d.sibling,D.renderingStartTime=cr(),d.sibling=null,v=Ir.current,_r(Ir,P?v&1|2:v&1),d):(Cn(d),null);case 22:case 23:return e_(),P=d.memoizedState!==null,s!==null&&s.memoizedState!==null!==P&&(d.flags|=8192),P&&(d.mode&1)!==0?(Aa&1073741824)!==0&&(Cn(d),d.subtreeFlags&6&&(d.flags|=8192)):Cn(d),null;case 24:return null;case 25:return null}throw Error(r(156,d.tag))}function SH(s,d){switch(u1(d),d.tag){case 1:return oa(d.type)&&rb(),s=d.flags,s&65536?(d.flags=s&-65537|128,d):null;case 3:return tl(),Pr(sa),Pr(Rn),x1(),s=d.flags,(s&65536)!==0&&(s&128)===0?(d.flags=s&-65537|128,d):null;case 5:return w1(d),null;case 13:if(Pr(Ir),s=d.memoizedState,s!==null&&s.dehydrated!==null){if(d.alternate===null)throw Error(r(340));Qu()}return s=d.flags,s&65536?(d.flags=s&-65537|128,d):null;case 19:return Pr(Ir),null;case 4:return tl(),null;case 10:return m1(d.type._context),null;case 22:case 23:return e_(),null;case 24:return null;default:return null}}var xb=!1,In=!1,kH=typeof WeakSet=="function"?WeakSet:Set,Xe=null;function nl(s,d){var v=s.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(P){Lr(s,d,P)}else v.current=null}function z1(s,d,v){try{v()}catch(P){Lr(s,d,P)}}var PT=!1;function TH(s,d){if(e1=ts,s=ak(),Gw(s)){if("selectionStart"in s)var v={start:s.selectionStart,end:s.selectionEnd};else e:{v=(v=s.ownerDocument)&&v.defaultView||window;var P=v.getSelection&&v.getSelection();if(P&&P.rangeCount!==0){v=P.anchorNode;var N=P.anchorOffset,D=P.focusNode;P=P.focusOffset;try{v.nodeType,D.nodeType}catch{v=null;break e}var ee=0,ce=-1,he=-1,Te=0,Ne=0,Fe=s,Ie=null;t:for(;;){for(var Ye;Fe!==v||N!==0&&Fe.nodeType!==3||(ce=ee+N),Fe!==D||P!==0&&Fe.nodeType!==3||(he=ee+P),Fe.nodeType===3&&(ee+=Fe.nodeValue.length),(Ye=Fe.firstChild)!==null;)Ie=Fe,Fe=Ye;for(;;){if(Fe===s)break t;if(Ie===v&&++Te===N&&(ce=ee),Ie===D&&++Ne===P&&(he=ee),(Ye=Fe.nextSibling)!==null)break;Fe=Ie,Ie=Fe.parentNode}Fe=Ye}v=ce===-1||he===-1?null:{start:ce,end:he}}else v=null}v=v||{start:0,end:0}}else v=null;for(t1={focusedElem:s,selectionRange:v},ts=!1,Xe=d;Xe!==null;)if(d=Xe,s=d.child,(d.subtreeFlags&1028)!==0&&s!==null)s.return=d,Xe=s;else for(;Xe!==null;){d=Xe;try{var et=d.alternate;if((d.flags&1024)!==0)switch(d.tag){case 0:case 11:case 15:break;case 1:if(et!==null){var it=et.memoizedProps,Wr=et.memoizedState,Ee=d.stateNode,me=Ee.getSnapshotBeforeUpdate(d.elementType===d.type?it:ui(d.type,it),Wr);Ee.__reactInternalSnapshotBeforeUpdate=me}break;case 3:var je=d.stateNode.containerInfo;je.nodeType===1?je.textContent="":je.nodeType===9&&je.documentElement&&je.removeChild(je.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(De){Lr(d,d.return,De)}if(s=d.sibling,s!==null){s.return=d.return,Xe=s;break}Xe=d.return}return et=PT,PT=!1,et}function zd(s,d,v){var P=d.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var N=P=P.next;do{if((N.tag&s)===s){var D=N.destroy;N.destroy=void 0,D!==void 0&&z1(d,v,D)}N=N.next}while(N!==P)}}function Eb(s,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var v=d=d.next;do{if((v.tag&s)===s){var P=v.create;v.destroy=P()}v=v.next}while(v!==d)}}function V1(s){var d=s.ref;if(d!==null){var v=s.stateNode;switch(s.tag){case 5:s=v;break;default:s=v}typeof d=="function"?d(s):d.current=s}}function ST(s){var d=s.alternate;d!==null&&(s.alternate=null,ST(d)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(d=s.stateNode,d!==null&&(delete d[Mi],delete d[Od],delete d[i1],delete d[dH],delete d[fH])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function kT(s){return s.tag===5||s.tag===3||s.tag===4}function TT(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||kT(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function H1(s,d,v){var P=s.tag;if(P===5||P===6)s=s.stateNode,d?v.nodeType===8?v.parentNode.insertBefore(s,d):v.insertBefore(s,d):(v.nodeType===8?(d=v.parentNode,d.insertBefore(s,v)):(d=v,d.appendChild(s)),v=v._reactRootContainer,v!=null||d.onclick!==null||(d.onclick=eb));else if(P!==4&&(s=s.child,s!==null))for(H1(s,d,v),s=s.sibling;s!==null;)H1(s,d,v),s=s.sibling}function W1(s,d,v){var P=s.tag;if(P===5||P===6)s=s.stateNode,d?v.insertBefore(s,d):v.appendChild(s);else if(P!==4&&(s=s.child,s!==null))for(W1(s,d,v),s=s.sibling;s!==null;)W1(s,d,v),s=s.sibling}var _n=null,li=!1;function co(s,d,v){for(v=v.child;v!==null;)RT(s,d,v),v=v.sibling}function RT(s,d,v){if(Jr&&typeof Jr.onCommitFiberUnmount=="function")try{Jr.onCommitFiberUnmount(wa,v)}catch{}switch(v.tag){case 5:In||nl(v,d);case 6:var P=_n,N=li;_n=null,co(s,d,v),_n=P,li=N,_n!==null&&(li?(s=_n,v=v.stateNode,s.nodeType===8?s.parentNode.removeChild(v):s.removeChild(v)):_n.removeChild(v.stateNode));break;case 18:_n!==null&&(li?(s=_n,v=v.stateNode,s.nodeType===8?a1(s.parentNode,v):s.nodeType===1&&a1(s,v),Oi(s)):a1(_n,v.stateNode));break;case 4:P=_n,N=li,_n=v.stateNode.containerInfo,li=!0,co(s,d,v),_n=P,li=N;break;case 0:case 11:case 14:case 15:if(!In&&(P=v.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){N=P=P.next;do{var D=N,ee=D.destroy;D=D.tag,ee!==void 0&&((D&2)!==0||(D&4)!==0)&&z1(v,d,ee),N=N.next}while(N!==P)}co(s,d,v);break;case 1:if(!In&&(nl(v,d),P=v.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=v.memoizedProps,P.state=v.memoizedState,P.componentWillUnmount()}catch(ce){Lr(v,d,ce)}co(s,d,v);break;case 21:co(s,d,v);break;case 22:v.mode&1?(In=(P=In)||v.memoizedState!==null,co(s,d,v),In=P):co(s,d,v);break;default:co(s,d,v)}}function OT(s){var d=s.updateQueue;if(d!==null){s.updateQueue=null;var v=s.stateNode;v===null&&(v=s.stateNode=new kH),d.forEach(function(P){var N=UH.bind(null,s,P);v.has(P)||(v.add(P),P.then(N,N))})}}function di(s,d){var v=d.deletions;if(v!==null)for(var P=0;P<v.length;P++){var N=v[P];try{var D=s,ee=d,ce=ee;e:for(;ce!==null;){switch(ce.tag){case 5:_n=ce.stateNode,li=!1;break e;case 3:_n=ce.stateNode.containerInfo,li=!0;break e;case 4:_n=ce.stateNode.containerInfo,li=!0;break e}ce=ce.return}if(_n===null)throw Error(r(160));RT(D,ee,N),_n=null,li=!1;var he=N.alternate;he!==null&&(he.return=null),N.return=null}catch(Te){Lr(N,d,Te)}}if(d.subtreeFlags&12854)for(d=d.child;d!==null;)CT(d,s),d=d.sibling}function CT(s,d){var v=s.alternate,P=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(di(d,s),Ui(s),P&4){try{zd(3,s,s.return),Eb(3,s)}catch(it){Lr(s,s.return,it)}try{zd(5,s,s.return)}catch(it){Lr(s,s.return,it)}}break;case 1:di(d,s),Ui(s),P&512&&v!==null&&nl(v,v.return);break;case 5:if(di(d,s),Ui(s),P&512&&v!==null&&nl(v,v.return),s.flags&32){var N=s.stateNode;try{re(N,"")}catch(it){Lr(s,s.return,it)}}if(P&4&&(N=s.stateNode,N!=null)){var D=s.memoizedProps,ee=v!==null?v.memoizedProps:D,ce=s.type,he=s.updateQueue;if(s.updateQueue=null,he!==null)try{ce==="input"&&D.type==="radio"&&D.name!=null&&Pt(N,D),zt(ce,ee);var Te=zt(ce,D);for(ee=0;ee<he.length;ee+=2){var Ne=he[ee],Fe=he[ee+1];Ne==="style"?mt(N,Fe):Ne==="dangerouslySetInnerHTML"?G(N,Fe):Ne==="children"?re(N,Fe):E(N,Ne,Fe,Te)}switch(ce){case"input":Ge(N,D);break;case"textarea":Nt(N,D);break;case"select":var Ie=N._wrapperState.wasMultiple;N._wrapperState.wasMultiple=!!D.multiple;var Ye=D.value;Ye!=null?vt(N,!!D.multiple,Ye,!1):Ie!==!!D.multiple&&(D.defaultValue!=null?vt(N,!!D.multiple,D.defaultValue,!0):vt(N,!!D.multiple,D.multiple?[]:"",!1))}N[Od]=D}catch(it){Lr(s,s.return,it)}}break;case 6:if(di(d,s),Ui(s),P&4){if(s.stateNode===null)throw Error(r(162));N=s.stateNode,D=s.memoizedProps;try{N.nodeValue=D}catch(it){Lr(s,s.return,it)}}break;case 3:if(di(d,s),Ui(s),P&4&&v!==null&&v.memoizedState.isDehydrated)try{Oi(d.containerInfo)}catch(it){Lr(s,s.return,it)}break;case 4:di(d,s),Ui(s);break;case 13:di(d,s),Ui(s),N=s.child,N.flags&8192&&(D=N.memoizedState!==null,N.stateNode.isHidden=D,!D||N.alternate!==null&&N.alternate.memoizedState!==null||(Y1=cr())),P&4&&OT(s);break;case 22:if(Ne=v!==null&&v.memoizedState!==null,s.mode&1?(In=(Te=In)||Ne,di(d,s),In=Te):di(d,s),Ui(s),P&8192){if(Te=s.memoizedState!==null,(s.stateNode.isHidden=Te)&&!Ne&&(s.mode&1)!==0)for(Xe=s,Ne=s.child;Ne!==null;){for(Fe=Xe=Ne;Xe!==null;){switch(Ie=Xe,Ye=Ie.child,Ie.tag){case 0:case 11:case 14:case 15:zd(4,Ie,Ie.return);break;case 1:nl(Ie,Ie.return);var et=Ie.stateNode;if(typeof et.componentWillUnmount=="function"){P=Ie,v=Ie.return;try{d=P,et.props=d.memoizedProps,et.state=d.memoizedState,et.componentWillUnmount()}catch(it){Lr(P,v,it)}}break;case 5:nl(Ie,Ie.return);break;case 22:if(Ie.memoizedState!==null){MT(Fe);continue}}Ye!==null?(Ye.return=Ie,Xe=Ye):MT(Fe)}Ne=Ne.sibling}e:for(Ne=null,Fe=s;;){if(Fe.tag===5){if(Ne===null){Ne=Fe;try{N=Fe.stateNode,Te?(D=N.style,typeof D.setProperty=="function"?D.setProperty("display","none","important"):D.display="none"):(ce=Fe.stateNode,he=Fe.memoizedProps.style,ee=he!=null&&he.hasOwnProperty("display")?he.display:null,ce.style.display=ke("display",ee))}catch(it){Lr(s,s.return,it)}}}else if(Fe.tag===6){if(Ne===null)try{Fe.stateNode.nodeValue=Te?"":Fe.memoizedProps}catch(it){Lr(s,s.return,it)}}else if((Fe.tag!==22&&Fe.tag!==23||Fe.memoizedState===null||Fe===s)&&Fe.child!==null){Fe.child.return=Fe,Fe=Fe.child;continue}if(Fe===s)break e;for(;Fe.sibling===null;){if(Fe.return===null||Fe.return===s)break e;Ne===Fe&&(Ne=null),Fe=Fe.return}Ne===Fe&&(Ne=null),Fe.sibling.return=Fe.return,Fe=Fe.sibling}}break;case 19:di(d,s),Ui(s),P&4&&OT(s);break;case 21:break;default:di(d,s),Ui(s)}}function Ui(s){var d=s.flags;if(d&2){try{e:{for(var v=s.return;v!==null;){if(kT(v)){var P=v;break e}v=v.return}throw Error(r(160))}switch(P.tag){case 5:var N=P.stateNode;P.flags&32&&(re(N,""),P.flags&=-33);var D=TT(s);W1(s,D,N);break;case 3:case 4:var ee=P.stateNode.containerInfo,ce=TT(s);H1(s,ce,ee);break;default:throw Error(r(161))}}catch(he){Lr(s,s.return,he)}s.flags&=-3}d&4096&&(s.flags&=-4097)}function RH(s,d,v){Xe=s,IT(s)}function IT(s,d,v){for(var P=(s.mode&1)!==0;Xe!==null;){var N=Xe,D=N.child;if(N.tag===22&&P){var ee=N.memoizedState!==null||xb;if(!ee){var ce=N.alternate,he=ce!==null&&ce.memoizedState!==null||In;ce=xb;var Te=In;if(xb=ee,(In=he)&&!Te)for(Xe=N;Xe!==null;)ee=Xe,he=ee.child,ee.tag===22&&ee.memoizedState!==null?FT(N):he!==null?(he.return=ee,Xe=he):FT(N);for(;D!==null;)Xe=D,IT(D),D=D.sibling;Xe=N,xb=ce,In=Te}NT(s)}else(N.subtreeFlags&8772)!==0&&D!==null?(D.return=N,Xe=D):NT(s)}}function NT(s){for(;Xe!==null;){var d=Xe;if((d.flags&8772)!==0){var v=d.alternate;try{if((d.flags&8772)!==0)switch(d.tag){case 0:case 11:case 15:In||Eb(5,d);break;case 1:var P=d.stateNode;if(d.flags&4&&!In)if(v===null)P.componentDidMount();else{var N=d.elementType===d.type?v.memoizedProps:ui(d.type,v.memoizedProps);P.componentDidUpdate(N,v.memoizedState,P.__reactInternalSnapshotBeforeUpdate)}var D=d.updateQueue;D!==null&&Mk(d,D,P);break;case 3:var ee=d.updateQueue;if(ee!==null){if(v=null,d.child!==null)switch(d.child.tag){case 5:v=d.child.stateNode;break;case 1:v=d.child.stateNode}Mk(d,ee,v)}break;case 5:var ce=d.stateNode;if(v===null&&d.flags&4){v=ce;var he=d.memoizedProps;switch(d.type){case"button":case"input":case"select":case"textarea":he.autoFocus&&v.focus();break;case"img":he.src&&(v.src=he.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(d.memoizedState===null){var Te=d.alternate;if(Te!==null){var Ne=Te.memoizedState;if(Ne!==null){var Fe=Ne.dehydrated;Fe!==null&&Oi(Fe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}In||d.flags&512&&V1(d)}catch(Ie){Lr(d,d.return,Ie)}}if(d===s){Xe=null;break}if(v=d.sibling,v!==null){v.return=d.return,Xe=v;break}Xe=d.return}}function MT(s){for(;Xe!==null;){var d=Xe;if(d===s){Xe=null;break}var v=d.sibling;if(v!==null){v.return=d.return,Xe=v;break}Xe=d.return}}function FT(s){for(;Xe!==null;){var d=Xe;try{switch(d.tag){case 0:case 11:case 15:var v=d.return;try{Eb(4,d)}catch(he){Lr(d,v,he)}break;case 1:var P=d.stateNode;if(typeof P.componentDidMount=="function"){var N=d.return;try{P.componentDidMount()}catch(he){Lr(d,N,he)}}var D=d.return;try{V1(d)}catch(he){Lr(d,D,he)}break;case 5:var ee=d.return;try{V1(d)}catch(he){Lr(d,ee,he)}}}catch(he){Lr(d,d.return,he)}if(d===s){Xe=null;break}var ce=d.sibling;if(ce!==null){ce.return=d.return,Xe=ce;break}Xe=d.return}}var OH=Math.ceil,jb=j.ReactCurrentDispatcher,G1=j.ReactCurrentOwner,Ya=j.ReactCurrentBatchConfig,nr=0,yn=null,Xr=null,xn=0,Aa=0,al=no(0),cn=0,Vd=null,nc=0,Ab=0,K1=0,Hd=null,ua=null,Y1=0,il=1/0,ds=null,Pb=!1,Z1=null,uo=null,Sb=!1,lo=null,kb=0,Wd=0,J1=null,Tb=-1,Rb=0;function Kn(){return(nr&6)!==0?cr():Tb!==-1?Tb:Tb=cr()}function fo(s){return(s.mode&1)===0?1:(nr&2)!==0&&xn!==0?xn&-xn:pH.transition!==null?(Rb===0&&(Rb=pd()),Rb):(s=ur,s!==0||(s=window.event,s=s===void 0?16:Uu(s.type)),s)}function fi(s,d,v,P){if(50<Wd)throw Wd=0,J1=null,Error(r(185));Vo(s,v,P),((nr&2)===0||s!==yn)&&(s===yn&&((nr&2)===0&&(Ab|=v),cn===4&&ho(s,xn)),la(s,P),v===1&&nr===0&&(d.mode&1)===0&&(il=cr()+500,ab&&io()))}function la(s,d){var v=s.callbackNode;Fy(s,d);var P=Iu(s,s===yn?xn:0);if(P===0)v!==null&&Si(v),s.callbackNode=null,s.callbackPriority=0;else if(d=P&-P,s.callbackPriority!==d){if(v!=null&&Si(v),d===1)s.tag===0?hH(UT.bind(null,s)):Ek(UT.bind(null,s)),uH(function(){(nr&6)===0&&io()}),v=null;else{switch(Uy(P)){case 1:v=ra;break;case 4:v=Zr;break;case 16:v=na;break;case 536870912:v=Hn;break;default:v=na}v=GT(v,BT.bind(null,s))}s.callbackPriority=d,s.callbackNode=v}}function BT(s,d){if(Tb=-1,Rb=0,(nr&6)!==0)throw Error(r(327));var v=s.callbackNode;if(sl()&&s.callbackNode!==v)return null;var P=Iu(s,s===yn?xn:0);if(P===0)return null;if((P&30)!==0||(P&s.expiredLanes)!==0||d)d=Ob(s,P);else{d=P;var N=nr;nr|=2;var D=LT();(yn!==s||xn!==d)&&(ds=null,il=cr()+500,ic(s,d));do try{NH();break}catch(ce){qT(s,ce)}while(!0);p1(),jb.current=D,nr=N,Xr!==null?d=0:(yn=null,xn=0,d=cn)}if(d!==0){if(d===2&&(N=ai(s),N!==0&&(P=N,d=Q1(s,N))),d===1)throw v=Vd,ic(s,0),ho(s,P),la(s,cr()),v;if(d===6)ho(s,P);else{if(N=s.current.alternate,(P&30)===0&&!CH(N)&&(d=Ob(s,P),d===2&&(D=ai(s),D!==0&&(P=D,d=Q1(s,D))),d===1))throw v=Vd,ic(s,0),ho(s,P),la(s,cr()),v;switch(s.finishedWork=N,s.finishedLanes=P,d){case 0:case 1:throw Error(r(345));case 2:sc(s,ua,ds);break;case 3:if(ho(s,P),(P&130023424)===P&&(d=Y1+500-cr(),10<d)){if(Iu(s,0)!==0)break;if(N=s.suspendedLanes,(N&P)!==P){Kn(),s.pingedLanes|=s.suspendedLanes&N;break}s.timeoutHandle=n1(sc.bind(null,s,ua,ds),d);break}sc(s,ua,ds);break;case 4:if(ho(s,P),(P&4194240)===P)break;for(d=s.eventTimes,N=-1;0<P;){var ee=31-an(P);D=1<<ee,ee=d[ee],ee>N&&(N=ee),P&=~D}if(P=N,P=cr()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*OH(P/1960))-P,10<P){s.timeoutHandle=n1(sc.bind(null,s,ua,ds),P);break}sc(s,ua,ds);break;case 5:sc(s,ua,ds);break;default:throw Error(r(329))}}}return la(s,cr()),s.callbackNode===v?BT.bind(null,s):null}function Q1(s,d){var v=Hd;return s.current.memoizedState.isDehydrated&&(ic(s,d).flags|=256),s=Ob(s,d),s!==2&&(d=ua,ua=v,d!==null&&X1(d)),s}function X1(s){ua===null?ua=s:ua.push.apply(ua,s)}function CH(s){for(var d=s;;){if(d.flags&16384){var v=d.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var P=0;P<v.length;P++){var N=v[P],D=N.getSnapshot;N=N.value;try{if(!oi(D(),N))return!1}catch{return!1}}}if(v=d.child,d.subtreeFlags&16384&&v!==null)v.return=d,d=v;else{if(d===s)break;for(;d.sibling===null;){if(d.return===null||d.return===s)return!0;d=d.return}d.sibling.return=d.return,d=d.sibling}}return!0}function ho(s,d){for(d&=~K1,d&=~Ab,s.suspendedLanes|=d,s.pingedLanes&=~d,s=s.expirationTimes;0<d;){var v=31-an(d),P=1<<v;s[v]=-1,d&=~P}}function UT(s){if((nr&6)!==0)throw Error(r(327));sl();var d=Iu(s,0);if((d&1)===0)return la(s,cr()),null;var v=Ob(s,d);if(s.tag!==0&&v===2){var P=ai(s);P!==0&&(d=P,v=Q1(s,P))}if(v===1)throw v=Vd,ic(s,0),ho(s,d),la(s,cr()),v;if(v===6)throw Error(r(345));return s.finishedWork=s.current.alternate,s.finishedLanes=d,sc(s,ua,ds),la(s,cr()),null}function $1(s,d){var v=nr;nr|=1;try{return s(d)}finally{nr=v,nr===0&&(il=cr()+500,ab&&io())}}function ac(s){lo!==null&&lo.tag===0&&(nr&6)===0&&sl();var d=nr;nr|=1;var v=Ya.transition,P=ur;try{if(Ya.transition=null,ur=1,s)return s()}finally{ur=P,Ya.transition=v,nr=d,(nr&6)===0&&io()}}function e_(){Aa=al.current,Pr(al)}function ic(s,d){s.finishedWork=null,s.finishedLanes=0;var v=s.timeoutHandle;if(v!==-1&&(s.timeoutHandle=-1,cH(v)),Xr!==null)for(v=Xr.return;v!==null;){var P=v;switch(u1(P),P.tag){case 1:P=P.type.childContextTypes,P!=null&&rb();break;case 3:tl(),Pr(sa),Pr(Rn),x1();break;case 5:w1(P);break;case 4:tl();break;case 13:Pr(Ir);break;case 19:Pr(Ir);break;case 10:m1(P.type._context);break;case 22:case 23:e_()}v=v.return}if(yn=s,Xr=s=po(s.current,null),xn=Aa=d,cn=0,Vd=null,K1=Ab=nc=0,ua=Hd=null,ec!==null){for(d=0;d<ec.length;d++)if(v=ec[d],P=v.interleaved,P!==null){v.interleaved=null;var N=P.next,D=v.pending;if(D!==null){var ee=D.next;D.next=N,P.next=ee}v.pending=P}ec=null}return s}function qT(s,d){do{var v=Xr;try{if(p1(),pb.current=bb,mb){for(var P=Nr.memoizedState;P!==null;){var N=P.queue;N!==null&&(N.pending=null),P=P.next}mb=!1}if(rc=0,gn=on=Nr=null,Bd=!1,Ud=0,G1.current=null,v===null||v.return===null){cn=1,Vd=d,Xr=null;break}e:{var D=s,ee=v.return,ce=v,he=d;if(d=xn,ce.flags|=32768,he!==null&&typeof he=="object"&&typeof he.then=="function"){var Te=he,Ne=ce,Fe=Ne.tag;if((Ne.mode&1)===0&&(Fe===0||Fe===11||Fe===15)){var Ie=Ne.alternate;Ie?(Ne.updateQueue=Ie.updateQueue,Ne.memoizedState=Ie.memoizedState,Ne.lanes=Ie.lanes):(Ne.updateQueue=null,Ne.memoizedState=null)}var Ye=lT(ee);if(Ye!==null){Ye.flags&=-257,dT(Ye,ee,ce,D,d),Ye.mode&1&&uT(D,Te,d),d=Ye,he=Te;var et=d.updateQueue;if(et===null){var it=new Set;it.add(he),d.updateQueue=it}else et.add(he);break e}else{if((d&1)===0){uT(D,Te,d),t_();break e}he=Error(r(426))}}else if(Rr&&ce.mode&1){var Wr=lT(ee);if(Wr!==null){(Wr.flags&65536)===0&&(Wr.flags|=256),dT(Wr,ee,ce,D,d),f1(rl(he,ce));break e}}D=he=rl(he,ce),cn!==4&&(cn=2),Hd===null?Hd=[D]:Hd.push(D),D=ee;do{switch(D.tag){case 3:D.flags|=65536,d&=-d,D.lanes|=d;var Ee=oT(D,he,d);Nk(D,Ee);break e;case 1:ce=he;var me=D.type,je=D.stateNode;if((D.flags&128)===0&&(typeof me.getDerivedStateFromError=="function"||je!==null&&typeof je.componentDidCatch=="function"&&(uo===null||!uo.has(je)))){D.flags|=65536,d&=-d,D.lanes|=d;var De=cT(D,ce,d);Nk(D,De);break e}}D=D.return}while(D!==null)}zT(v)}catch(ct){d=ct,Xr===v&&v!==null&&(Xr=v=v.return);continue}break}while(!0)}function LT(){var s=jb.current;return jb.current=bb,s===null?bb:s}function t_(){(cn===0||cn===3||cn===2)&&(cn=4),yn===null||(nc&268435455)===0&&(Ab&268435455)===0||ho(yn,xn)}function Ob(s,d){var v=nr;nr|=2;var P=LT();(yn!==s||xn!==d)&&(ds=null,ic(s,d));do try{IH();break}catch(N){qT(s,N)}while(!0);if(p1(),nr=v,jb.current=P,Xr!==null)throw Error(r(261));return yn=null,xn=0,cn}function IH(){for(;Xr!==null;)DT(Xr)}function NH(){for(;Xr!==null&&!Qi();)DT(Xr)}function DT(s){var d=WT(s.alternate,s,Aa);s.memoizedProps=s.pendingProps,d===null?zT(s):Xr=d,G1.current=null}function zT(s){var d=s;do{var v=d.alternate;if(s=d.return,(d.flags&32768)===0){if(v=PH(v,d,Aa),v!==null){Xr=v;return}}else{if(v=SH(v,d),v!==null){v.flags&=32767,Xr=v;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{cn=6,Xr=null;return}}if(d=d.sibling,d!==null){Xr=d;return}Xr=d=s}while(d!==null);cn===0&&(cn=5)}function sc(s,d,v){var P=ur,N=Ya.transition;try{Ya.transition=null,ur=1,MH(s,d,v,P)}finally{Ya.transition=N,ur=P}return null}function MH(s,d,v,P){do sl();while(lo!==null);if((nr&6)!==0)throw Error(r(327));v=s.finishedWork;var N=s.finishedLanes;if(v===null)return null;if(s.finishedWork=null,s.finishedLanes=0,v===s.current)throw Error(r(177));s.callbackNode=null,s.callbackPriority=0;var D=v.lanes|v.childLanes;if(VS(s,D),s===yn&&(Xr=yn=null,xn=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||Sb||(Sb=!0,GT(na,function(){return sl(),null})),D=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||D){D=Ya.transition,Ya.transition=null;var ee=ur;ur=1;var ce=nr;nr|=4,G1.current=null,TH(s,v),CT(v,s),tH(t1),ts=!!e1,t1=e1=null,s.current=v,RH(v),ni(),nr=ce,ur=ee,Ya.transition=D}else s.current=v;if(Sb&&(Sb=!1,lo=s,kb=N),D=s.pendingLanes,D===0&&(uo=null),$i(v.stateNode),la(s,cr()),d!==null)for(P=s.onRecoverableError,v=0;v<d.length;v++)N=d[v],P(N.value,{componentStack:N.stack,digest:N.digest});if(Pb)throw Pb=!1,s=Z1,Z1=null,s;return(kb&1)!==0&&s.tag!==0&&sl(),D=s.pendingLanes,(D&1)!==0?s===J1?Wd++:(Wd=0,J1=s):Wd=0,io(),null}function sl(){if(lo!==null){var s=Uy(kb),d=Ya.transition,v=ur;try{if(Ya.transition=null,ur=16>s?16:s,lo===null)var P=!1;else{if(s=lo,lo=null,kb=0,(nr&6)!==0)throw Error(r(331));var N=nr;for(nr|=4,Xe=s.current;Xe!==null;){var D=Xe,ee=D.child;
vendor: 5,266 bytes, line 40
40if((Xe.flags&16)!==0){var ce=D.deletions;if(ce!==null){for(var he=0;he<ce.length;he++){var Te=ce[he];for(Xe=Te;Xe!==null;){var Ne=Xe;switch(Ne.tag){case 0:case 11:case 15:zd(8,Ne,D)}var Fe=Ne.child;if(Fe!==null)Fe.return=Ne,Xe=Fe;else for(;Xe!==null;){Ne=Xe;var Ie=Ne.sibling,Ye=Ne.return;if(ST(Ne),Ne===Te){Xe=null;break}if(Ie!==null){Ie.return=Ye,Xe=Ie;break}Xe=Ye}}}var et=D.alternate;if(et!==null){var it=et.child;if(it!==null){et.child=null;do{var Wr=it.sibling;it.sibling=null,it=Wr}while(it!==null)}}Xe=D}}if((D.subtreeFlags&2064)!==0&&ee!==null)ee.return=D,Xe=ee;else e:for(;Xe!==null;){if(D=Xe,(D.flags&2048)!==0)switch(D.tag){case 0:case 11:case 15:zd(9,D,D.return)}var Ee=D.sibling;if(Ee!==null){Ee.return=D.return,Xe=Ee;break e}Xe=D.return}}var me=s.current;for(Xe=me;Xe!==null;){ee=Xe;var je=ee.child;if((ee.subtreeFlags&2064)!==0&&je!==null)je.return=ee,Xe=je;else e:for(ee=me;Xe!==null;){if(ce=Xe,(ce.flags&2048)!==0)try{switch(ce.tag){case 0:case 11:case 15:Eb(9,ce)}}catch(ct){Lr(ce,ce.return,ct)}if(ce===ee){Xe=null;break e}var De=ce.sibling;if(De!==null){De.return=ce.return,Xe=De;break e}Xe=ce.return}}if(nr=N,io(),Jr&&typeof Jr.onPostCommitFiberRoot=="function")try{Jr.onPostCommitFiberRoot(wa,s)}catch{}P=!0}return P}finally{ur=v,Ya.transition=d}}return!1}function VT(s,d,v){d=rl(v,d),d=oT(s,d,1),s=oo(s,d,1),d=Kn(),s!==null&&(Vo(s,1,d),la(s,d))}function Lr(s,d,v){if(s.tag===3)VT(s,s,v);else for(;d!==null;){if(d.tag===3){VT(d,s,v);break}else if(d.tag===1){var P=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof P.componentDidCatch=="function"&&(uo===null||!uo.has(P))){s=rl(v,s),s=cT(d,s,1),d=oo(d,s,1),s=Kn(),d!==null&&(Vo(d,1,s),la(d,s));break}}d=d.return}}function FH(s,d,v){var P=s.pingCache;P!==null&&P.delete(d),d=Kn(),s.pingedLanes|=s.suspendedLanes&v,yn===s&&(xn&v)===v&&(cn===4||cn===3&&(xn&130023424)===xn&&500>cr()-Y1?ic(s,0):K1|=v),la(s,d)}function HT(s,d){d===0&&((s.mode&1)===0?d=1:(d=Cu,Cu<<=1,(Cu&130023424)===0&&(Cu=4194304)));var v=Kn();s=cs(s,d),s!==null&&(Vo(s,d,v),la(s,v))}function BH(s){var d=s.memoizedState,v=0;d!==null&&(v=d.retryLane),HT(s,v)}function UH(s,d){var v=0;switch(s.tag){case 13:var P=s.stateNode,N=s.memoizedState;N!==null&&(v=N.retryLane);break;case 19:P=s.stateNode;break;default:throw Error(r(314))}P!==null&&P.delete(d),HT(s,v)}var WT;WT=function(s,d,v){if(s!==null)if(s.memoizedProps!==d.pendingProps||sa.current)ca=!0;else{if((s.lanes&v)===0&&(d.flags&128)===0)return ca=!1,AH(s,d,v);ca=(s.flags&131072)!==0}else ca=!1,Rr&&(d.flags&1048576)!==0&&jk(d,sb,d.index);switch(d.lanes=0,d.tag){case 2:var P=d.type;_b(s,d),s=d.pendingProps;var N=Yu(d,Rn.current);el(d,v),N=A1(null,d,P,s,N,v);var D=P1();return d.flags|=1,typeof N=="object"&&N!==null&&typeof N.render=="function"&&N.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,oa(P)?(D=!0,nb(d)):D=!1,d.memoizedState=N.state!==null&&N.state!==void 0?N.state:null,b1(d),N.updater=vb,d.stateNode=N,N._reactInternals=d,C1(d,P,s,v),d=F1(null,d,P,!0,D,v)):(d.tag=0,Rr&&D&&c1(d),Gn(null,d,N,v),d=d.child),d;case 16:P=d.elementType;e:{switch(_b(s,d),s=d.pendingProps,N=P._init,P=N(P._payload),d.type=P,N=d.tag=LH(P),s=ui(P,s),N){case 0:d=M1(null,d,P,s,v);break e;case 1:d=yT(null,d,P,s,v);break e;case 11:d=fT(null,d,P,s,v);break e;case 14:d=hT(null,d,P,ui(P.type,s),v);break e}throw Error(r(306,P,""))}return d;case 0:return P=d.type,N=d.pendingProps,N=d.elementType===P?N:ui(P,N),M1(s,d,P,N,v);case 1:return P=d.type,N=d.pendingProps,N=d.elementType===P?N:ui(P,N),yT(s,d,P,N,v);case 3:e:{if(bT(d),s===null)throw Error(r(387));P=d.pendingProps,D=d.memoizedState,N=D.element,Ik(s,d),fb(d,P,null,v);var ee=d.memoizedState;if(P=ee.element,D.isDehydrated)if(D={element:P,isDehydrated:!1,cache:ee.cache,pendingSuspenseBoundaries:ee.pendingSuspenseBoundaries,transitions:ee.transitions},d.updateQueue.baseState=D,d.memoizedState=D,d.flags&256){N=rl(Error(r(423)),d),d=vT(s,d,P,v,N);break e}else if(P!==N){N=rl(Error(r(424)),d),d=vT(s,d,P,v,N);break e}else for(ja=ro(d.stateNode.containerInfo.firstChild),Ea=d,Rr=!0,ci=null,v=Ok(d,null,P,v),d.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(Qu(),P===N){d=ls(s,d,v);break e}Gn(s,d,P,v)}d=d.child}return d;case 5:return Fk(d),s===null&&d1(d),P=d.type,N=d.pendingProps,D=s!==null?s.memoizedProps:null,ee=N.children,r1(P,N)?ee=null:D!==null&&r1(P,D)&&(d.flags|=32),gT(s,d),Gn(s,d,ee,v),d.child;case 6:return s===null&&d1(d),null;case 13:return wT(s,d,v);case 4:return v1(d,d.stateNode.containerInfo),P=d.pendingProps,s===null?d.child=Xu(d,null,P,v):Gn(s,d,P,v),d.child;case 11:return P=d.type,N=d.pendingProps,N=d.elementType===P?N:ui(P,N),fT(s,d,P,N,v);case 7:return Gn(s,d,d.pendingProps,v),d.child;case 8:return Gn(s,d,d.pendingProps.children,v),d.child;case 12:return Gn(s,d,d.pendingProps.children,v),d.child;case 10:e:{if(P=d.type._context,N=d.pendingProps,D=d.memoizedProps,ee=N.value,_r(ub,P._currentValue),P._currentValue=ee,D!==null)if(oi(D.value,ee)){if(D.children===N.children&&!sa.current){d=ls(s,d,v);break e}}else for(D=d.child,D!==null&&(D.return=d);D!==null;){var ce=D.dependencies;if(ce!==null){ee=D.child;for(var he=ce.firstContext;he!==null;){if(he.context===P){if(D.tag===1){he=us(-1,v&-v),he.tag=2;var Te=D.updateQueue;if(Te!==null){Te=Te.shared;
vendor: 8,779 bytes, line 40
40var Ne=Te.pending;Ne===null?he.next=he:(he.next=Ne.next,Ne.next=he),Te.pending=he}}D.lanes|=v,he=D.alternate,he!==null&&(he.lanes|=v),g1(D.return,v,d),ce.lanes|=v;break}he=he.next}}else if(D.tag===10)ee=D.type===d.type?null:D.child;else if(D.tag===18){if(ee=D.return,ee===null)throw Error(r(341));ee.lanes|=v,ce=ee.alternate,ce!==null&&(ce.lanes|=v),g1(ee,v,d),ee=D.sibling}else ee=D.child;if(ee!==null)ee.return=D;else for(ee=D;ee!==null;){if(ee===d){ee=null;break}if(D=ee.sibling,D!==null){D.return=ee.return,ee=D;break}ee=ee.return}D=ee}Gn(s,d,N.children,v),d=d.child}return d;case 9:return N=d.type,P=d.pendingProps.children,el(d,v),N=Ga(N),P=P(N),d.flags|=1,Gn(s,d,P,v),d.child;case 14:return P=d.type,N=ui(P,d.pendingProps),N=ui(P.type,N),hT(s,d,P,N,v);case 15:return pT(s,d,d.type,d.pendingProps,v);case 17:return P=d.type,N=d.pendingProps,N=d.elementType===P?N:ui(P,N),_b(s,d),d.tag=1,oa(P)?(s=!0,nb(d)):s=!1,el(d,v),iT(d,P,N),C1(d,P,N,v),F1(null,d,P,!0,s,v);case 19:return xT(s,d,v);case 22:return mT(s,d,v)}throw Error(r(156,d.tag))};function GT(s,d){return va(s,d)}function qH(s,d,v,P){this.tag=s,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Za(s,d,v,P){return new qH(s,d,v,P)}function r_(s){return s=s.prototype,!(!s||!s.isReactComponent)}function LH(s){if(typeof s=="function")return r_(s)?1:0;if(s!=null){if(s=s.$$typeof,s===Z)return 11;if(s===k)return 14}return 2}function po(s,d){var v=s.alternate;return v===null?(v=Za(s.tag,d,s.key,s.mode),v.elementType=s.elementType,v.type=s.type,v.stateNode=s.stateNode,v.alternate=s,s.alternate=v):(v.pendingProps=d,v.type=s.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=s.flags&14680064,v.childLanes=s.childLanes,v.lanes=s.lanes,v.child=s.child,v.memoizedProps=s.memoizedProps,v.memoizedState=s.memoizedState,v.updateQueue=s.updateQueue,d=s.dependencies,v.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},v.sibling=s.sibling,v.index=s.index,v.ref=s.ref,v}function Cb(s,d,v,P,N,D){var ee=2;if(P=s,typeof s=="function")r_(s)&&(ee=1);else if(typeof s=="string")ee=5;else e:switch(s){case z:return oc(v.children,N,D,d);case K:ee=8,N|=8;break;case U:return s=Za(12,v,d,N|2),s.elementType=U,s.lanes=D,s;case R:return s=Za(13,v,d,N),s.elementType=R,s.lanes=D,s;case _:return s=Za(19,v,d,N),s.elementType=_,s.lanes=D,s;case B:return Ib(v,N,D,d);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case H:ee=10;break e;case V:ee=9;break e;case Z:ee=11;break e;case k:ee=14;break e;case M:ee=16,P=null;break e}throw Error(r(130,s==null?s:typeof s,""))}return d=Za(ee,v,d,N),d.elementType=s,d.type=P,d.lanes=D,d}function oc(s,d,v,P){return s=Za(7,s,P,d),s.lanes=v,s}function Ib(s,d,v,P){return s=Za(22,s,P,d),s.elementType=B,s.lanes=v,s.stateNode={isHidden:!1},s}function n_(s,d,v){return s=Za(6,s,null,d),s.lanes=v,s}function a_(s,d,v){return d=Za(4,s.children!==null?s.children:[],s.key,d),d.lanes=v,d.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},d}function DH(s,d,v,P,N){this.tag=d,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=By(0),this.expirationTimes=By(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=By(0),this.identifierPrefix=P,this.onRecoverableError=N,this.mutableSourceEagerHydrationData=null}function i_(s,d,v,P,N,D,ee,ce,he){return s=new DH(s,d,v,ce,he),d===1?(d=1,D===!0&&(d|=8)):d=0,D=Za(3,null,null,d),s.current=D,D.stateNode=s,D.memoizedState={element:P,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},b1(D),s}function zH(s,d,v){var P=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:F,key:P==null?null:""+P,children:s,containerInfo:d,implementation:v}}function KT(s){if(!s)return ao;s=s._reactInternals;e:{if(kn(s)!==s||s.tag!==1)throw Error(r(170));var d=s;do{switch(d.tag){case 3:d=d.stateNode.context;break e;case 1:if(oa(d.type)){d=d.stateNode.__reactInternalMemoizedMergedChildContext;break e}}d=d.return}while(d!==null);throw Error(r(171))}if(s.tag===1){var v=s.type;if(oa(v))return _k(s,v,d)}return d}function YT(s,d,v,P,N,D,ee,ce,he){return s=i_(v,P,!0,s,N,D,ee,ce,he),s.context=KT(null),v=s.current,P=Kn(),N=fo(v),D=us(P,N),D.callback=d??null,oo(v,D,N),s.current.lanes=N,Vo(s,N,P),la(s,P),s}function Nb(s,d,v,P){var N=d.current,D=Kn(),ee=fo(N);return v=KT(v),d.context===null?d.context=v:d.pendingContext=v,d=us(D,ee),d.payload={element:s},P=P===void 0?null:P,P!==null&&(d.callback=P),s=oo(N,d,ee),s!==null&&(fi(s,N,ee,D),db(s,N,ee)),ee}function Mb(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 5:return s.child.stateNode;default:return s.child.stateNode}}function ZT(s,d){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var v=s.retryLane;s.retryLane=v!==0&&v<d?v:d}}function s_(s,d){ZT(s,d),(s=s.alternate)&&ZT(s,d)}function VH(){return null}var JT=typeof reportError=="function"?reportError:function(s){console.error(s)};function o_(s){this._internalRoot=s}Fb.prototype.render=o_.prototype.render=function(s){var d=this._internalRoot;if(d===null)throw Error(r(409));Nb(s,d,null,null)},Fb.prototype.unmount=o_.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var d=s.containerInfo;ac(function(){Nb(null,s,null,null)}),d[as]=null}};function Fb(s){this._internalRoot=s}Fb.prototype.unstable_scheduleHydration=function(s){if(s){var d=Ho();s={blockedOn:null,target:s,priority:d};for(var v=0;v<si.length&&d!==0&&d<si[v].priority;v++);si.splice(v,0,s),v===0&&bd(s)}};function c_(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function Bb(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function QT(){}function HH(s,d,v,P,N){if(N){if(typeof P=="function"){var D=P;P=function(){var Te=Mb(ee);D.call(Te)}}var ee=YT(d,P,s,0,null,!1,!1,"",QT);return s._reactRootContainer=ee,s[as]=ee.current,Td(s.nodeType===8?s.parentNode:s),ac(),ee}for(;N=s.lastChild;)s.removeChild(N);if(typeof P=="function"){var ce=P;P=function(){var Te=Mb(he);ce.call(Te)}}var he=i_(s,0,!1,null,null,!1,!1,"",QT);return s._reactRootContainer=he,s[as]=he.current,Td(s.nodeType===8?s.parentNode:s),ac(function(){Nb(d,he,v,P)}),he}function Ub(s,d,v,P,N){var D=v._reactRootContainer;if(D){var ee=D;if(typeof N=="function"){var ce=N;N=function(){var he=Mb(ee);ce.call(he)}}Nb(d,ee,s,N)}else ee=HH(v,d,s,N,P);return Mb(ee)}qy=function(s){switch(s.tag){case 3:var d=s.stateNode;if(d.current.memoizedState.isDehydrated){var v=zo(d.pendingLanes);v!==0&&(md(d,v|1),la(d,cr()),(nr&6)===0&&(il=cr()+500,io()))}break;case 13:ac(function(){var P=cs(s,1);if(P!==null){var N=Kn();fi(P,s,1,N)}}),s_(s,1)}},Nu=function(s){if(s.tag===13){var d=cs(s,134217728);if(d!==null){var v=Kn();fi(d,s,134217728,v)}s_(s,134217728)}},gd=function(s){if(s.tag===13){var d=fo(s),v=cs(s,d);if(v!==null){var P=Kn();fi(v,s,d,P)}s_(s,d)}},Ho=function(){return ur},Ly=function(s,d){var v=ur;try{return ur=s,d()}finally{ur=v}},mn=function(s,d,v){switch(d){case"input":if(Ge(s,v),d=v.name,v.type==="radio"&&d!=null){for(v=s;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+d)+'][type="radio"]'),d=0;d<v.length;d++){var P=v[d];if(P!==s&&P.form===s.form){var N=tb(P);if(!N)throw Error(r(90));de(P),Ge(P,N)}}}break;case"textarea":Nt(s,v);break;case"select":d=v.value,d!=null&&vt(s,!!v.multiple,d,!1)}},Va=$1,Jt=ac;var WH={usingClientEntryPoint:!1,Events:[Cd,Gu,tb,Zt,tr,$1]},Gd={findFiberByHostInstance:Jo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},GH={bundleType:Gd.bundleType,version:Gd.version,rendererPackageName:Gd.rendererPackageName,rendererConfig:Gd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=ri(s),s===null?null:s.stateNode},findFiberByHostInstance:Gd.findFiberByHostInstance||VH,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
vendor: 5,994 bytes, line 40
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qb=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qb.isDisabled&&qb.supportsFiber)try{wa=qb.inject(GH),Jr=qb}catch{}}return da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=WH,da.createPortal=function(s,d){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c_(d))throw Error(r(200));return zH(s,d,null,v)},da.createRoot=function(s,d){if(!c_(s))throw Error(r(299));var v=!1,P="",N=JT;return d!=null&&(d.unstable_strictMode===!0&&(v=!0),d.identifierPrefix!==void 0&&(P=d.identifierPrefix),d.onRecoverableError!==void 0&&(N=d.onRecoverableError)),d=i_(s,1,!1,null,null,v,!1,P,N),s[as]=d.current,Td(s.nodeType===8?s.parentNode:s),new o_(d)},da.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var d=s._reactInternals;if(d===void 0)throw typeof s.render=="function"?Error(r(188)):(s=Object.keys(s).join(","),Error(r(268,s)));return s=ri(d),s=s===null?null:s.stateNode,s},da.flushSync=function(s){return ac(s)},da.hydrate=function(s,d,v){if(!Bb(d))throw Error(r(200));return Ub(null,s,d,!0,v)},da.hydrateRoot=function(s,d,v){if(!c_(s))throw Error(r(405));var P=v!=null&&v.hydratedSources||null,N=!1,D="",ee=JT;if(v!=null&&(v.unstable_strictMode===!0&&(N=!0),v.identifierPrefix!==void 0&&(D=v.identifierPrefix),v.onRecoverableError!==void 0&&(ee=v.onRecoverableError)),d=YT(d,null,s,1,v??null,N,!1,D,ee),s[as]=d.current,Td(s),P)for(s=0;s<P.length;s++)v=P[s],N=v._getVersion,N=N(v._source),d.mutableSourceEagerHydrationData==null?d.mutableSourceEagerHydrationData=[v,N]:d.mutableSourceEagerHydrationData.push(v,N);return new Fb(d)},da.render=function(s,d,v){if(!Bb(d))throw Error(r(200));return Ub(null,s,d,!1,v)},da.unmountComponentAtNode=function(s){if(!Bb(s))throw Error(r(40));return s._reactRootContainer?(ac(function(){Ub(null,null,s,!1,function(){s._reactRootContainer=null,s[as]=null})}),!0):!1},da.unstable_batchedUpdates=$1,da.unstable_renderSubtreeIntoContainer=function(s,d,v,P){if(!Bb(v))throw Error(r(200));if(s==null||s._reactInternals===void 0)throw Error(r(38));return Ub(s,d,v,!1,P)},da.version="18.3.1-next-f1338f8080-20240426",da}var iR;function $q(){if(iR)return d_.exports;iR=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),d_.exports=t7(),d_.exports}var sR;function r7(){if(sR)return Lb;sR=1;var e=$q();return Lb.createRoot=e.createRoot,Lb.hydrateRoot=e.hydrateRoot,Lb}var n7=r7(),te=WA();const ko=iy(te),e8=YH({__proto__:null,default:ko},[te]),GA=te.createContext({});function KA(e){const t=te.useRef(null);return t.current===null&&(t.current=e()),t.current}const YA=typeof window<"u",t8=YA?te.useLayoutEffect:te.useEffect,tw=te.createContext(null);function ZA(e,t){e.indexOf(t)===-1&&e.push(t)}function JA(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const Ls=(e,t,r)=>r>t?t:r<e?e:r;let QA=()=>{};const Ds={},r8=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function n8(e){return typeof e=="object"&&e!==null}const a8=e=>/^0[^.\s]+$/u.test(e);function XA(e){let t;return()=>(t===void 0&&(t=e()),t)}const ei=e=>e,a7=(e,t)=>r=>t(e(r)),sy=(...e)=>e.reduce(a7),Ng=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n};class $A{constructor(){this.subscriptions=[]}add(t){return ZA(this.subscriptions,t),()=>JA(this.subscriptions,t)}notify(t,r,n){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,r,n);else for(let i=0;i<a;i++){const c=this.subscriptions[i];c&&c(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const zi=e=>e*1e3,$a=e=>e/1e3;function i8(e,t){return t?e*(1e3/t):0}const s8=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,i7=1e-7,s7=12;function o7(e,t,r,n,a){let i,c,f=0;do c=t+(r-t)/2,i=s8(c,n,a)-e,i>0?r=c:t=c;while(Math.abs(i)>i7&&++f<s7);return c}function oy(e,t,r,n){if(e===t&&r===n)return ei;const a=i=>o7(i,0,1,e,r);return i=>i===0||i===1?i:s8(a(i),t,n)}const o8=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,c8=e=>t=>1-e(1-t),u8=oy(.33,1.53,.69,.99),eP=c8(u8),l8=o8(eP),d8=e=>(e*=2)<1?.5*eP(e):.5*(2-Math.pow(2,-10*(e-1))),tP=e=>1-Math.sin(Math.acos(e)),f8=c8(tP),h8=o8(tP),c7=oy(.42,0,1,1),u7=oy(0,0,.58,1),p8=oy(.42,0,.58,1),l7=e=>Array.isArray(e)&&typeof e[0]!="number",m8=e=>Array.isArray(e)&&typeof e[0]=="number",d7={linear:ei,easeIn:c7,easeInOut:p8,easeOut:u7,circIn:tP,circInOut:h8,circOut:f8,backIn:eP,backInOut:l8,backOut:u8,anticipate:d8},f7=e=>typeof e=="string",oR=e=>{if(m8(e)){QA(e.length===4);const[t,r,n,a]=e;return oy(t,r,n,a)}else if(f7(e))return d7[e];return e},Db=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function h7(e,t){let r=new Set,n=new Set,a=!1,i=!1;const c=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1};function m(l){c.has(l)&&(h.schedule(l),e()),l(f)}const h={schedule:(l,o=!1,u=!1)=>{const g=u&&a?r:n;return o&&c.add(l),g.has(l)||g.add(l),l},cancel:l=>{n.delete(l),c.delete(l)},process:l=>{if(f=l,a){i=!0;return}a=!0,[r,n]=[n,r],r.forEach(m),r.clear(),a=!1,i&&(i=!1,h.process(l))}};return h}const p7=40;function g8(e,t){let r=!1,n=!0;const a={delta:0,timestamp:0,isProcessing:!1},i=()=>r=!0,c=Db.reduce((E,j)=>(E[j]=h7(i),E),{}),{setup:f,read:m,resolveKeyframes:h,preUpdate:l,update:o,preRender:u,render:p,postRender:g}=c,y=()=>{const E=Ds.useManualTiming?a.timestamp:performance.now();r=!1,Ds.useManualTiming||(a.delta=n?1e3/60:Math.max(Math.min(E-a.timestamp,p7),1)),a.timestamp=E,a.isProcessing=!0,f.process(a),m.process(a),h.process(a),l.process(a),o.process(a),u.process(a),p.process(a),g.process(a),a.isProcessing=!1,r&&t&&(n=!1,e(y))},b=()=>{r=!0,n=!0,a.isProcessing||e(y)};return{schedule:Db.reduce((E,j)=>{const T=c[j];return E[j]=(F,z=!1,K=!1)=>(r||b(),T.schedule(F,z,K)),E},{}),cancel:E=>{for(let j=0;j<Db.length;j++)c[Db[j]].cancel(E)},state:a,steps:c}}const{schedule:Or,cancel:Oo,state:Pn,steps:p_}=g8(typeof requestAnimationFrame<"u"?requestAnimationFrame:ei,!0);let dv;
vendor: 40,582 bytes, lines 40-48
40function m7(){dv=void 0}const fa={now:()=>(dv===void 0&&fa.set(Pn.isProcessing||Ds.useManualTiming?Pn.timestamp:performance.now()),dv),set:e=>{dv=e,queueMicrotask(m7)}},y8=e=>t=>typeof t=="string"&&t.startsWith(e),rP=y8("--"),g7=y8("var(--"),nP=e=>g7(e)?y7.test(e.split("/*")[0].trim()):!1,y7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Hl={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Mg={...Hl,transform:e=>Ls(0,1,e)},zb={...Hl,default:1},kg=e=>Math.round(e*1e5)/1e5,aP=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function b7(e){return e==null}const v7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,iP=(e,t)=>r=>!!(typeof r=="string"&&v7.test(r)&&r.startsWith(e)||t&&!b7(r)&&Object.prototype.hasOwnProperty.call(r,t)),b8=(e,t,r)=>n=>{if(typeof n!="string")return n;const[a,i,c,f]=n.match(aP);return{[e]:parseFloat(a),[t]:parseFloat(i),[r]:parseFloat(c),alpha:f!==void 0?parseFloat(f):1}},w7=e=>Ls(0,255,e),m_={...Hl,transform:e=>Math.round(w7(e))},Zc={test:iP("rgb","red"),parse:b8("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+m_.transform(e)+", "+m_.transform(t)+", "+m_.transform(r)+", "+kg(Mg.transform(n))+")"};function _7(e){let t="",r="",n="",a="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),a=e.substring(4,5),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}}const rA={test:iP("#"),parse:_7,transform:Zc.transform},cy=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xo=cy("deg"),Vi=cy("%"),jt=cy("px"),x7=cy("vh"),E7=cy("vw"),cR={...Vi,parse:e=>Vi.parse(e)/100,transform:e=>Vi.transform(e*100)},wl={test:iP("hsl","hue"),parse:b8("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Vi.transform(kg(t))+", "+Vi.transform(kg(r))+", "+kg(Mg.transform(n))+")"},$r={test:e=>Zc.test(e)||rA.test(e)||wl.test(e),parse:e=>Zc.test(e)?Zc.parse(e):wl.test(e)?wl.parse(e):rA.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Zc.transform(e):wl.transform(e),getAnimatableNone:e=>{const t=$r.parse(e);return t.alpha=0,$r.transform(t)}},j7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function A7(e){return isNaN(e)&&typeof e=="string"&&(e.match(aP)?.length||0)+(e.match(j7)?.length||0)>0}const v8="number",w8="color",P7="var",S7="var(",uR="${}",k7=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Fg(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},a=[];let i=0;const f=t.replace(k7,m=>($r.test(m)?(n.color.push(i),a.push(w8),r.push($r.parse(m))):m.startsWith(S7)?(n.var.push(i),a.push(P7),r.push(m)):(n.number.push(i),a.push(v8),r.push(parseFloat(m))),++i,uR)).split(uR);return{values:r,split:f,indexes:n,types:a}}function _8(e){return Fg(e).values}function x8(e){const{split:t,types:r}=Fg(e),n=t.length;return a=>{let i="";for(let c=0;c<n;c++)if(i+=t[c],a[c]!==void 0){const f=r[c];f===v8?i+=kg(a[c]):f===w8?i+=$r.transform(a[c]):i+=a[c]}return i}}const T7=e=>typeof e=="number"?0:$r.test(e)?$r.getAnimatableNone(e):e;function R7(e){const t=_8(e);return x8(e)(t.map(T7))}const Co={test:A7,parse:_8,createTransformer:x8,getAnimatableNone:R7};function g_(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function O7({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let a=0,i=0,c=0;if(!t)a=i=c=r;else{const f=r<.5?r*(1+t):r+t-r*t,m=2*r-f;a=g_(m,f,e+1/3),i=g_(m,f,e),c=g_(m,f,e-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(c*255),alpha:n}}function wv(e,t){return r=>r>0?t:e}const qr=(e,t,r)=>e+(t-e)*r,y_=(e,t,r)=>{const n=e*e,a=r*(t*t-n)+n;return a<0?0:Math.sqrt(a)},C7=[rA,Zc,wl],I7=e=>C7.find(t=>t.test(e));function lR(e){const t=I7(e);if(!t)return!1;let r=t.parse(e);return t===wl&&(r=O7(r)),r}const dR=(e,t)=>{const r=lR(e),n=lR(t);if(!r||!n)return wv(e,t);const a={...r};return i=>(a.red=y_(r.red,n.red,i),a.green=y_(r.green,n.green,i),a.blue=y_(r.blue,n.blue,i),a.alpha=qr(r.alpha,n.alpha,i),Zc.transform(a))},nA=new Set(["none","hidden"]);function N7(e,t){return nA.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function M7(e,t){return r=>qr(e,t,r)}function sP(e){return typeof e=="number"?M7:typeof e=="string"?nP(e)?wv:$r.test(e)?dR:U7:Array.isArray(e)?E8:typeof e=="object"?$r.test(e)?dR:F7:wv}function E8(e,t){const r=[...e],n=r.length,a=e.map((i,c)=>sP(i)(i,t[c]));return i=>{for(let c=0;c<n;c++)r[c]=a[c](i);return r}}function F7(e,t){const r={...e,...t},n={};for(const a in r)e[a]!==void 0&&t[a]!==void 0&&(n[a]=sP(e[a])(e[a],t[a]));return a=>{for(const i in n)r[i]=n[i](a);return r}}function B7(e,t){const r=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const i=t.types[a],c=e.indexes[i][n[i]],f=e.values[c]??0;r[a]=f,n[i]++}return r}const U7=(e,t)=>{const r=Co.createTransformer(t),n=Fg(e),a=Fg(t);return n.indexes.var.length===a.indexes.var.length&&n.indexes.color.length===a.indexes.color.length&&n.indexes.number.length>=a.indexes.number.length?nA.has(e)&&!a.values.length||nA.has(t)&&!n.values.length?N7(e,t):sy(E8(B7(n,a),a.values),r):wv(e,t)};function j8(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?qr(e,t,r):sP(e)(e,t)}const q7=e=>{const t=({timestamp:r})=>e(r);return{start:(r=!0)=>Or.update(t,r),stop:()=>Oo(t),now:()=>Pn.isProcessing?Pn.timestamp:fa.now()}},A8=(e,t,r=10)=>{let n="";const a=Math.max(Math.round(t/r),2);for(let i=0;i<a;i++)n+=Math.round(e(i/(a-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},_v=2e4;function oP(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<_v;)t+=r,n=e.next(t);return t>=_v?1/0:t}function L7(e,t=100,r){const n=r({...e,keyframes:[0,t]}),a=Math.min(oP(n),_v);return{type:"keyframes",ease:i=>n.next(a*i).value/t,duration:$a(a)}}const D7=5;function P8(e,t,r){const n=Math.max(t-D7,0);return i8(r-e(n),t-n)}const zr={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},b_=.001;function z7({duration:e=zr.duration,bounce:t=zr.bounce,velocity:r=zr.velocity,mass:n=zr.mass}){let a,i,c=1-t;c=Ls(zr.minDamping,zr.maxDamping,c),e=Ls(zr.minDuration,zr.maxDuration,$a(e)),c<1?(a=h=>{const l=h*c,o=l*e,u=l-r,p=aA(h,c),g=Math.exp(-o);return b_-u/p*g},i=h=>{const o=h*c*e,u=o*r+r,p=Math.pow(c,2)*Math.pow(h,2)*e,g=Math.exp(-o),y=aA(Math.pow(h,2),c);return(-a(h)+b_>0?-1:1)*((u-p)*g)/y}):(a=h=>{const l=Math.exp(-h*e),o=(h-r)*e+1;return-b_+l*o},i=h=>{const l=Math.exp(-h*e),o=(r-h)*(e*e);return l*o});const f=5/e,m=H7(a,i,f);if(e=zi(e),isNaN(m))return{stiffness:zr.stiffness,damping:zr.damping,duration:e};{const h=Math.pow(m,2)*n;return{stiffness:h,damping:c*2*Math.sqrt(n*h),duration:e}}}const V7=12;function H7(e,t,r){let n=r;for(let a=1;a<V7;a++)n=n-e(n)/t(n);return n}function aA(e,t){return e*Math.sqrt(1-t*t)}const W7=["duration","bounce"],G7=["stiffness","damping","mass"];function fR(e,t){return t.some(r=>e[r]!==void 0)}function K7(e){let t={velocity:zr.velocity,stiffness:zr.stiffness,damping:zr.damping,mass:zr.mass,isResolvedFromDuration:!1,...e};if(!fR(e,G7)&&fR(e,W7))if(e.visualDuration){const r=e.visualDuration,n=2*Math.PI/(r*1.2),a=n*n,i=2*Ls(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:zr.mass,stiffness:a,damping:i}}else{const r=z7(e);t={...t,...r,mass:zr.mass},t.isResolvedFromDuration=!0}return t}function xv(e=zr.visualDuration,t=zr.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:n,restDelta:a}=r;const i=r.keyframes[0],c=r.keyframes[r.keyframes.length-1],f={done:!1,value:i},{stiffness:m,damping:h,mass:l,duration:o,velocity:u,isResolvedFromDuration:p}=K7({...r,velocity:-$a(r.velocity||0)}),g=u||0,y=h/(2*Math.sqrt(m*l)),b=c-i,x=$a(Math.sqrt(m/l)),w=Math.abs(b)<5;n||(n=w?zr.restSpeed.granular:zr.restSpeed.default),a||(a=w?zr.restDelta.granular:zr.restDelta.default);let E;if(y<1){const T=aA(x,y);E=F=>{const z=Math.exp(-y*x*F);return c-z*((g+y*x*b)/T*Math.sin(T*F)+b*Math.cos(T*F))}}else if(y===1)E=T=>c-Math.exp(-x*T)*(b+(g+x*b)*T);else{const T=x*Math.sqrt(y*y-1);E=F=>{const z=Math.exp(-y*x*F),K=Math.min(T*F,300);return c-z*((g+y*x*b)*Math.sinh(K)+T*b*Math.cosh(K))/T}}const j={calculatedDuration:p&&o||null,next:T=>{const F=E(T);if(p)f.done=T>=o;else{let z=T===0?g:0;y<1&&(z=T===0?zi(g):P8(E,T,F));const K=Math.abs(z)<=n,U=Math.abs(c-F)<=a;f.done=K&&U}return f.value=f.done?c:F,f},toString:()=>{const T=Math.min(oP(j),_v),F=A8(z=>j.next(T*z).value,T,30);return T+"ms "+F},toTransition:()=>{}};return j}xv.applyToOptions=e=>{const t=L7(e,100,xv);return e.ease=t.ease,e.duration=zi(t.duration),e.type="keyframes",e};function iA({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:i=500,modifyTarget:c,min:f,max:m,restDelta:h=.5,restSpeed:l}){const o=e[0],u={done:!1,value:o},p=K=>f!==void 0&&K<f||m!==void 0&&K>m,g=K=>f===void 0?m:m===void 0||Math.abs(f-K)<Math.abs(m-K)?f:m;let y=r*t;const b=o+y,x=c===void 0?b:c(b);x!==b&&(y=x-o);const w=K=>-y*Math.exp(-K/n),E=K=>x+w(K),j=K=>{const U=w(K),H=E(K);u.done=Math.abs(U)<=h,u.value=u.done?x:H};let T,F;const z=K=>{p(u.value)&&(T=K,F=xv({keyframes:[u.value,g(u.value)],velocity:P8(E,K,u.value),damping:a,stiffness:i,restDelta:h,restSpeed:l}))};return z(0),{calculatedDuration:null,next:K=>{let U=!1;return!F&&T===void 0&&(U=!0,j(K),z(K)),T!==void 0&&K>=T?F.next(K-T):(!U&&j(K),u)}}}function Y7(e,t,r){const n=[],a=r||Ds.mix||j8,i=e.length-1;for(let c=0;c<i;c++){let f=a(e[c],e[c+1]);if(t){const m=Array.isArray(t)?t[c]||ei:t;f=sy(m,f)}n.push(f)}return n}function Z7(e,t,{clamp:r=!0,ease:n,mixer:a}={}){const i=e.length;if(QA(i===t.length),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const c=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const f=Y7(t,n,a),m=f.length,h=l=>{if(c&&l<e[0])return t[0];let o=0;if(m>1)for(;o<e.length-2&&!(l<e[o+1]);o++);const u=Ng(e[o],e[o+1],l);return f[o](u)};return r?l=>h(Ls(e[0],e[i-1],l)):h}function J7(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const a=Ng(0,t,n);e.push(qr(r,1,a))}}function Q7(e){const t=[0];return J7(t,e.length-1),t}function X7(e,t){return e.map(r=>r*t)}function $7(e,t){return e.map(()=>t||p8).splice(0,e.length-1)}function Tg({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const a=l7(n)?n.map(oR):oR(n),i={done:!1,value:t[0]},c=X7(r&&r.length===t.length?r:Q7(t),e),f=Z7(c,t,{ease:Array.isArray(a)?a:$7(t,a)});return{calculatedDuration:e,next:m=>(i.value=f(m),i.done=m>=e,i)}}const eW=e=>e!==null;function cP(e,{repeat:t,repeatType:r="loop"},n,a=1){const i=e.filter(eW),f=a<0||t&&r!=="loop"&&t%2===1?0:i.length-1;return!f||n===void 0?i[f]:n}const tW={decay:iA,inertia:iA,tween:Tg,keyframes:Tg,spring:xv};function S8(e){typeof e.type=="string"&&(e.type=tW[e.type])}class uP{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}}const rW=e=>e/100;class lP extends uP{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:r}=this.options;r&&r.updatedAt!==fa.now()&&this.tick(fa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;S8(t);const{type:r=Tg,repeat:n=0,repeatDelay:a=0,repeatType:i,velocity:c=0}=t;let{keyframes:f}=t;const m=r||Tg;m!==Tg&&typeof f[0]!="number"&&(this.mixKeyframes=sy(rW,j8(f[0],f[1])),f=[0,100]);const h=m({...t,keyframes:f});i==="mirror"&&(this.mirroredGenerator=m({...t,keyframes:[...f].reverse(),velocity:-c})),h.calculatedDuration===null&&(h.calculatedDuration=oP(h));const{calculatedDuration:l}=h;this.calculatedDuration=l,this.resolvedDuration=l+a,this.totalDuration=this.resolvedDuration*(n+1)-a,this.generator=h}updateTime(t){const r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){const{generator:n,totalDuration:a,mixKeyframes:i,mirroredGenerator:c,resolvedDuration:f,calculatedDuration:m}=this;if(this.startTime===null)return n.next(0);const{delay:h=0,keyframes:l,repeat:o,repeatType:u,repeatDelay:p,type:g,onUpdate:y,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-a/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);const x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?x<0:x>a;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let E=this.currentTime,j=n;if(o){const K=Math.min(this.currentTime,a)/f;let U=Math.floor(K),H=K%1;!H&&K>=1&&(H=1),H===1&&U--,U=Math.min(U,o+1),!!(U%2)&&(u==="reverse"?(H=1-H,p&&(H-=p/f)):u==="mirror"&&(j=c)),E=Ls(0,1,H)*f}const T=w?{done:!1,value:l[0]}:j.next(E);i&&(T.value=i(T.value));let{done:F}=T;!w&&m!==null&&(F=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&F);return z&&g!==iA&&(T.value=cP(l,this.options,b,this.speed)),y&&y(T.value),z&&this.finish(),T}then(t,r){return this.finished.then(t,r)}get duration(){return $a(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+$a(t)}get time(){return $a(this.currentTime)}set time(t){t=zi(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(fa.now());const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=$a(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=q7,startTime:r}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=r??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(fa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function nW(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Jc=e=>e*180/Math.PI,sA=e=>{const t=Jc(Math.atan2(e[1],e[0]));return oA(t)},aW={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:sA,rotateZ:sA,skewX:e=>Jc(Math.atan(e[1])),skewY:e=>Jc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},oA=e=>(e=e%360,e<0&&(e+=360),e),hR=sA,pR=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),mR=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),iW={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:pR,scaleY:mR,scale:e=>(pR(e)+mR(e))/2,rotateX:e=>oA(Jc(Math.atan2(e[6],e[5]))),rotateY:e=>oA(Jc(Math.atan2(-e[2],e[0]))),rotateZ:hR,rotate:hR,skewX:e=>Jc(Math.atan(e[4])),skewY:e=>Jc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function cA(e){return e.includes("scale")?1:0}function uA(e,t){if(!e||e==="none")return cA(t);const r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,a;if(r)n=iW,a=r;else{const f=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=aW,a=f}if(!a)return cA(t);const i=n[t],c=a[1].split(",").map(oW);return typeof i=="function"?i(c):c[i]}const sW=(e,t)=>{const{transform:r="none"}=getComputedStyle(e);return uA(r,t)};function oW(e){return parseFloat(e.trim())}const Wl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gl=new Set(Wl),gR=e=>e===Hl||e===jt,cW=new Set(["x","y","z"]),uW=Wl.filter(e=>!cW.has(e));function lW(e){const t=[];return uW.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}const ru={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>uA(t,"x"),y:(e,{transform:t})=>uA(t,"y")};ru.translateX=ru.x;ru.translateY=ru.y;const nu=new Set;let lA=!1,dA=!1,fA=!1;function k8(){if(dA){const e=Array.from(nu).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{const a=lW(n);a.length&&(r.set(n,a),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const a=r.get(n);a&&a.forEach(([i,c])=>{n.getValue(i)?.set(c)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}dA=!1,lA=!1,nu.forEach(e=>e.complete(fA)),nu.clear()}function T8(){nu.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dA=!0)})}function dW(){fA=!0,T8(),k8(),fA=!1}class dP{constructor(t,r,n,a,i,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=a,this.element=i,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(nu.add(this),lA||(lA=!0,Or.read(T8),Or.resolveKeyframes(k8))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:n,motionValue:a}=this;if(t[0]===null){const i=a?.get(),c=t[t.length-1];if(i!==void 0)t[0]=i;else if(n&&r){const f=n.readValue(r,c);f!=null&&(t[0]=f)}t[0]===void 0&&(t[0]=c),a&&i===void 0&&a.set(t[0])}nW(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),nu.delete(this)}cancel(){this.state==="scheduled"&&(nu.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const fW=e=>e.startsWith("--");function hW(e,t,r){fW(t)?e.style.setProperty(t,r):e.style[t]=r}const pW=XA(()=>window.ScrollTimeline!==void 0),mW={};function gW(e,t){const r=XA(e);return()=>mW[t]??r()}const R8=gW(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Pg=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,yR={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Pg([0,.65,.55,1]),circOut:Pg([.55,0,1,.45]),backIn:Pg([.31,.01,.66,-.59]),backOut:Pg([.33,1.53,.69,.99])};function O8(e,t){if(e)return typeof e=="function"?R8()?A8(e,t):"ease-out":m8(e)?Pg(e):Array.isArray(e)?e.map(r=>O8(r,t)||yR.easeOut):yR[e]}function yW(e,t,r,{delay:n=0,duration:a=300,repeat:i=0,repeatType:c="loop",ease:f="easeOut",times:m}={},h=void 0){const l={[t]:r};m&&(l.offset=m);const o=O8(f,a);Array.isArray(o)&&(l.easing=o);const u={delay:n,duration:a,easing:Array.isArray(o)?"linear":o,fill:"both",iterations:i+1,direction:c==="reverse"?"alternate":"normal"};return h&&(u.pseudoElement=h),e.animate(l,u)}function C8(e){return typeof e=="function"&&"applyToOptions"in e}function bW({type:e,...t}){return C8(e)&&R8()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class vW extends uP{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:r,name:n,keyframes:a,pseudoElement:i,allowFlatten:c=!1,finalKeyframe:f,onComplete:m}=t;this.isPseudoElement=!!i,this.allowFlatten=c,this.options=t,QA(typeof t.type!="string");const h=bW(t);this.animation=yW(r,n,a,h,i),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const l=cP(a,this.options,f,this.speed);this.updateMotionValue?this.updateMotionValue(l):hW(r,n,l),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return $a(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+$a(t)}get time(){return $a(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=zi(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&pW()?(this.animation.timeline=t,ei):r(this)}}const I8={anticipate:d8,backInOut:l8,circInOut:h8};function wW(e){return e in I8}function _W(e){typeof e.ease=="string"&&wW(e.ease)&&(e.ease=I8[e.ease])}const bR=10;class xW extends vW{constructor(t){_W(t),S8(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:r,onUpdate:n,onComplete:a,element:i,...c}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}const f=new lP({...c,autoplay:!1}),m=zi(this.finishedTime??this.time);r.setWithVelocity(f.sample(m-bR).value,f.sample(m).value,bR),f.stop()}}const vR=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Co.test(e)||e==="0")&&!e.startsWith("url("));function EW(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function jW(e,t,r,n){const a=e[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],c=vR(a,t),f=vR(i,t);return!c||!f?!1:EW(e)||(r==="spring"||C8(r))&&n}function hA(e){e.duration=0,e.type="keyframes"}const AW=new Set(["opacity","clipPath","filter","transform"]),PW=XA(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function SW(e){const{motionValue:t,name:r,repeatDelay:n,repeatType:a,damping:i,type:c}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:h}=t.owner.getProps();return PW()&&r&&AW.has(r)&&(r!=="transform"||!h)&&!m&&!n&&a!=="mirror"&&i!==0&&c!=="inertia"}const kW=40;class TW extends uP{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:c="loop",keyframes:f,name:m,motionValue:h,element:l,...o}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=fa.now();const u={autoplay:t,delay:r,type:n,repeat:a,repeatDelay:i,repeatType:c,name:m,motionValue:h,element:l,...o},p=l?.KeyframeResolver||dP;this.keyframeResolver=new p(f,(g,y,b)=>this.onKeyframesResolved(g,y,u,!b),m,h,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,n,a){this.keyframeResolver=void 0;const{name:i,type:c,velocity:f,delay:m,isHandoff:h,onUpdate:l}=n;this.resolvedAt=fa.now(),jW(t,i,c,f)||((Ds.instantAnimations||!m)&&l?.(cP(t,n,r)),t[0]=t[t.length-1],hA(n),n.repeat=0);const u={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>kW?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...n,keyframes:t},p=!h&&SW(u)?new xW({...u,element:u.motionValue.owner.current}):new lP(u);p.finished.then(()=>this.notifyFinished()).catch(ei),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),dW()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const RW=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function OW(e){const t=RW.exec(e);if(!t)return[,];const[,r,n,a]=t;return[`--${r??n}`,a]}function N8(e,t,r=1){const[n,a]=OW(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const c=i.trim();return r8(c)?parseFloat(c):c}return nP(a)?N8(a,t,r+1):a}function fP(e,t){return e?.[t]??e?.default??e}const M8=new Set(["width","height","top","left","right","bottom",...Wl]),CW={test:e=>e==="auto",parse:e=>e},F8=e=>t=>t.test(e),B8=[Hl,jt,Vi,xo,E7,x7,CW],wR=e=>B8.find(F8(e));function IW(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||a8(e):!0}const NW=new Set(["brightness","contrast","saturate","opacity"]);function MW(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(aP)||[];if(!n)return e;const a=r.replace(n,"");let i=NW.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+a+")"}const FW=/\b([a-z-]*)\(.*?\)/gu,pA={...Co,getAnimatableNone:e=>{const t=e.match(FW);return t?t.map(MW).join(" "):e}},_R={...Hl,transform:Math.round},BW={rotate:xo,rotateX:xo,rotateY:xo,rotateZ:xo,scale:zb,scaleX:zb,scaleY:zb,scaleZ:zb,skew:xo,skewX:xo,skewY:xo,distance:jt,translateX:jt,translateY:jt,translateZ:jt,x:jt,y:jt,z:jt,perspective:jt,transformPerspective:jt,opacity:Mg,originX:cR,originY:cR,originZ:jt},hP={borderWidth:jt,borderTopWidth:jt,borderRightWidth:jt,borderBottomWidth:jt,borderLeftWidth:jt,borderRadius:jt,radius:jt,borderTopLeftRadius:jt,borderTopRightRadius:jt,borderBottomRightRadius:jt,borderBottomLeftRadius:jt,width:jt,maxWidth:jt,height:jt,maxHeight:jt,top:jt,right:jt,bottom:jt,left:jt,padding:jt,paddingTop:jt,paddingRight:jt,paddingBottom:jt,paddingLeft:jt,margin:jt,marginTop:jt,marginRight:jt,marginBottom:jt,marginLeft:jt,backgroundPositionX:jt,backgroundPositionY:jt,...BW,zIndex:_R,fillOpacity:Mg,strokeOpacity:Mg,numOctaves:_R},UW={...hP,color:$r,backgroundColor:$r,outlineColor:$r,fill:$r,stroke:$r,borderColor:$r,borderTopColor:$r,borderRightColor:$r,borderBottomColor:$r,borderLeftColor:$r,filter:pA,WebkitFilter:pA},U8=e=>UW[e];function q8(e,t){let r=U8(e);return r!==pA&&(r=Co),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const qW=new Set(["auto","none","0"]);function LW(e,t,r){let n=0,a;for(;n<e.length&&!a;){const i=e[n];typeof i=="string"&&!qW.has(i)&&Fg(i).values.length&&(a=e[n]),n++}if(a&&r)for(const i of t)e[i]=q8(r,a)}class DW extends dP{constructor(t,r,n,a,i){super(t,r,n,a,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:n}=this;if(!r||!r.current)return;super.readKeyframes();for(let m=0;m<t.length;m++){let h=t[m];if(typeof h=="string"&&(h=h.trim(),nP(h))){const l=N8(h,r.current);l!==void 0&&(t[m]=l),m===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!M8.has(n)||t.length!==2)return;const[a,i]=t,c=wR(a),f=wR(i);if(c!==f)if(gR(c)&&gR(f))for(let m=0;m<t.length;m++){const h=t[m];typeof h=="string"&&(t[m]=parseFloat(h))}else ru[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,n=[];for(let a=0;a<t.length;a++)(t[a]===null||IW(t[a]))&&n.push(a);n.length&&LW(t,n,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ru[n](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const a=r[r.length-1];a!==void 0&&t.getValue(n,a).jump(a,!1)}measureEndState(){const{element:t,name:r,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const a=t.getValue(r);a&&a.jump(this.measuredOrigin,!1);const i=n.length-1,c=n[i];n[i]=ru[r](t.measureViewportBox(),window.getComputedStyle(t.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),this.removedTransforms?.length&&this.removedTransforms.forEach(([f,m])=>{t.getValue(f).set(m)}),this.resolveNoneKeyframes()}}function zW(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let n=document;const a=r?.[e]??n.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const L8=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function D8(e){return n8(e)&&"offsetHeight"in e}const xR=30,VW=e=>!isNaN(parseFloat(e));class HW{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const a=fa.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=fa.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=VW(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new $A);const n=this.events[t].add(r);return t==="change"?()=>{n(),Or.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=fa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>xR)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,xR);return i8(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Cl(e,t){return new HW(e,t)}const{schedule:pP}=g8(queueMicrotask,!1),vi={x:!1,y:!1};function z8(){return vi.x||vi.y}function WW(e){return e==="x"||e==="y"?vi[e]?null:(vi[e]=!0,()=>{vi[e]=!1}):vi.x||vi.y?null:(vi.x=vi.y=!0,()=>{vi.x=vi.y=!1})}function V8(e,t){const r=zW(e),n=new AbortController,a={passive:!0,...t,signal:n.signal};return[r,a,()=>n.abort()]}function ER(e){return!(e.pointerType==="touch"||z8())}function GW(e,t,r={}){const[n,a,i]=V8(e,r),c=f=>{if(!ER(f))return;const{target:m}=f,h=t(m,f);if(typeof h!="function"||!m)return;const l=o=>{ER(o)&&(h(o),m.removeEventListener("pointerleave",l))};m.addEventListener("pointerleave",l,a)};return n.forEach(f=>{f.addEventListener("pointerenter",c,a)}),i}const H8=(e,t)=>t?e===t?!0:H8(e,t.parentElement):!1,mP=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,KW=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function YW(e){return KW.has(e.tagName)||e.tabIndex!==-1}const fv=new WeakSet;function jR(e){return t=>{t.key==="Enter"&&e(t)}}function v_(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ZW=(e,t)=>{const r=e.currentTarget;if(!r)return;const n=jR(()=>{if(fv.has(r))return;v_(r,"down");const a=jR(()=>{v_(r,"up")}),i=()=>v_(r,"cancel");r.addEventListener("keyup",a,t),r.addEventListener("blur",i,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function AR(e){return mP(e)&&!z8()}function JW(e,t,r={}){const[n,a,i]=V8(e,r),c=f=>{const m=f.currentTarget;if(!AR(f))return;fv.add(m);const h=t(m,f),l=(p,g)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",u),fv.has(m)&&fv.delete(m),AR(p)&&typeof h=="function"&&h(p,{success:g})},o=p=>{l(p,m===window||m===document||r.useGlobalTarget||H8(m,p.target))},u=p=>{l(p,!1)};window.addEventListener("pointerup",o,a),window.addEventListener("pointercancel",u,a)};return n.forEach(f=>{(r.useGlobalTarget?window:f).addEventListener("pointerdown",c,a),D8(f)&&(f.addEventListener("focus",h=>ZW(h,a)),!YW(f)&&!f.hasAttribute("tabindex")&&(f.tabIndex=0))}),i}function W8(e){return n8(e)&&"ownerSVGElement"in e}function QW(e){return W8(e)&&e.tagName==="svg"}const Dn=e=>!!(e&&e.getVelocity),XW=[...B8,$r,Co],$W=e=>XW.find(F8(e)),gP=te.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function PR(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function eG(...e){return t=>{let r=!1;const n=e.map(a=>{const i=PR(a,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let a=0;a<n.length;a++){const i=n[a];typeof i=="function"?i():PR(e[a],null)}}}}function tG(...e){return te.useCallback(eG(...e),e)}class rG extends te.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=r.offsetParent,a=D8(n)&&n.offsetWidth||0,i=this.props.sizeRef.current;i.height=r.offsetHeight||0,i.width=r.offsetWidth||0,i.top=r.offsetTop,i.left=r.offsetLeft,i.right=a-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function nG({children:e,isPresent:t,anchorX:r,root:n}){const a=te.useId(),i=te.useRef(null),c=te.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:f}=te.useContext(gP),m=tG(i,e?.ref);return te.useInsertionEffect(()=>{const{width:h,height:l,top:o,left:u,right:p}=c.current;if(t||!i.current||!h||!l)return;const g=r==="left"?`left: ${u}`:`right: ${p}`;i.current.dataset.motionPopId=a;const y=document.createElement("style");f&&(y.nonce=f);const b=n??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(` 41 [data-motion-pop-id="${a}"] { 42 position: absolute !important; 43 width: ${h}px !important; 44 height: ${l}px !important; 45 ${g}px !important; 46 top: ${o}px !important; 47 } 48 `),()=>{b.contains(y)&&b.removeChild(y)}},[t]),A.jsx(rG,{isPresent:t,childRef:i,sizeRef:c,children:te.cloneElement(e,{ref:m})})}const aG=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:a,presenceAffectsLayout:i,mode:c,anchorX:f,root:m})=>{const h=KA(iG),l=te.useId();let o=!0,u=te.useMemo(()=>(o=!1,{id:l,initial:t,isPresent:r,custom:a,onExitComplete:p=>{h.set(p,!0);for(const g of h.values())if(!g)return;n&&n()},register:p=>(h.set(p,!1),()=>h.delete(p))}),[r,h,n]);return i&&o&&(u={...u}),te.useMemo(()=>{h.forEach((p,g)=>h.set(g,!1))},[r]),te.useEffect(()=>{!r&&!h.size&&n&&n()},[r]),c==="popLayout"&&(e=A.jsx(nG,{isPresent:r,anchorX:f,root:m,children:e})),A.jsx(tw.Provider,{value:u,children:e})};function iG(){return new Map}function G8(e=!0){const t=te.useContext(tw);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:n,register:a}=t,i=te.useId();te.useEffect(()=>{if(e)return a(i)},[e]);const c=te.useCallback(()=>e&&n&&n(i),[i,n,e]);return!r&&n?[!1,c]:[!0]}const Vb=e=>e.key||"";function SR(e){const t=[];return te.Children.forEach(e,r=>{te.isValidElement(r)&&t.push(r)}),t}const Yd=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:a=!0,mode:i="sync",propagate:c=!1,anchorX:f="left",root:m})=>{const[h,l]=G8(c),o=te.useMemo(()=>SR(e),[e]),u=c&&!h?[]:o.map(Vb),p=te.useRef(!0),g=te.useRef(o),y=KA(()=>new Map),[b,x]=te.useState(o),[w,E]=te.useState(o);t8(()=>{p.current=!1,g.current=o;for(let F=0;F<w.length;F++){const z=Vb(w[F]);u.includes(z)?y.delete(z):y.get(z)!==!0&&y.set(z,!1)}},[w,u.length,u.join("-")]);const j=[];if(o!==b){let F=[...o];for(let z=0;z<w.length;z++){const K=w[z],U=Vb(K);u.includes(U)||(F.splice(z,0,K),j.push(K))}return i==="wait"&&j.length&&(F=j),E(SR(F)),x(o),null}const{forceRender:T}=te.useContext(GA);return A.jsx(A.Fragment,{children:w.map(F=>{const z=Vb(F),K=c&&!h?!1:o===w||u.includes(z),U=()=>{if(y.has(z))y.set(z,!0);else return;let H=!0;y.forEach(V=>{V||(H=!1)}),H&&(T?.(),E(g.current),c&&l?.(),n&&n())};return A.jsx(aG,{isPresent:K,initial:!p.current||r?void 0:!1,custom:t,presenceAffectsLayout:a,mode:i,root:m,onExitComplete:K?void 0:U,anchorX:f,children:F},z)})})},K8=te.createContext({strict:!1}),kR={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Il={};for(const e in kR)Il[e]={isEnabled:t=>kR[e].some(r=>!!t[r])};function sG(e){for(const t in e)Il[t]={...Il[t],...e[t]}}const oG=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ev(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||oG.has(e)}let Y8=e=>!Ev(e);function cG(e){typeof e=="function"&&(Y8=t=>t.startsWith("on")?!Ev(t):e(t))}try{cG(require("@emotion/is-prop-valid").default)}catch{}function uG(e,t,r){const n={};for(const a in e)a==="values"&&typeof e.values=="object"||(Y8(a)||r===!0&&Ev(a)||!t&&!Ev(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}const rw=te.createContext({});function nw(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Bg(e){return typeof e=="string"||Array.isArray(e)}const yP=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bP=["initial",...yP];
vendor: 8,218 bytes, line 48
48function aw(e){return nw(e.animate)||bP.some(t=>Bg(e[t]))}function Z8(e){return!!(aw(e)||e.variants)}function lG(e,t){if(aw(e)){const{initial:r,animate:n}=e;return{initial:r===!1||Bg(r)?r:void 0,animate:Bg(n)?n:void 0}}return e.inherit!==!1?t:{}}function dG(e){const{initial:t,animate:r}=lG(e,te.useContext(rw));return te.useMemo(()=>({initial:t,animate:r}),[TR(t),TR(r)])}function TR(e){return Array.isArray(e)?e.join(" "):e}const Ug={};function fG(e){for(const t in e)Ug[t]=e[t],rP(t)&&(Ug[t].isCSSVariable=!0)}function J8(e,{layout:t,layoutId:r}){return Gl.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Ug[e]||e==="opacity")}const hG={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pG=Wl.length;function mG(e,t,r){let n="",a=!0;for(let i=0;i<pG;i++){const c=Wl[i],f=e[c];if(f===void 0)continue;let m=!0;if(typeof f=="number"?m=f===(c.startsWith("scale")?1:0):m=parseFloat(f)===0,!m||r){const h=L8(f,hP[c]);if(!m){a=!1;const l=hG[c]||c;n+=`${l}(${h}) `}r&&(t[c]=h)}}return n=n.trim(),r?n=r(t,a?"":n):a&&(n="none"),n}function vP(e,t,r){const{style:n,vars:a,transformOrigin:i}=e;let c=!1,f=!1;for(const m in t){const h=t[m];if(Gl.has(m)){c=!0;continue}else if(rP(m)){a[m]=h;continue}else{const l=L8(h,hP[m]);m.startsWith("origin")?(f=!0,i[m]=l):n[m]=l}}if(t.transform||(c||r?n.transform=mG(t,e.transform,r):n.transform&&(n.transform="none")),f){const{originX:m="50%",originY:h="50%",originZ:l=0}=i;n.transformOrigin=`${m} ${h} ${l}`}}const wP=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Q8(e,t,r){for(const n in t)!Dn(t[n])&&!J8(n,r)&&(e[n]=t[n])}function gG({transformTemplate:e},t){return te.useMemo(()=>{const r=wP();return vP(r,t,e),Object.assign({},r.vars,r.style)},[t])}function yG(e,t){const r=e.style||{},n={};return Q8(n,r,e),Object.assign(n,gG(e,t)),n}function bG(e,t){const r={},n=yG(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}const vG={offset:"stroke-dashoffset",array:"stroke-dasharray"},wG={offset:"strokeDashoffset",array:"strokeDasharray"};function _G(e,t,r=1,n=0,a=!0){e.pathLength=1;const i=a?vG:wG;e[i.offset]=jt.transform(-n);const c=jt.transform(t),f=jt.transform(r);e[i.array]=`${c} ${f}`}function X8(e,{attrX:t,attrY:r,attrScale:n,pathLength:a,pathSpacing:i=1,pathOffset:c=0,...f},m,h,l){if(vP(e,f,h),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:o,style:u}=e;o.transform&&(u.transform=o.transform,delete o.transform),(u.transform||o.transformOrigin)&&(u.transformOrigin=o.transformOrigin??"50% 50%",delete o.transformOrigin),u.transform&&(u.transformBox=l?.transformBox??"fill-box",delete o.transformBox),t!==void 0&&(o.x=t),r!==void 0&&(o.y=r),n!==void 0&&(o.scale=n),a!==void 0&&_G(o,a,i,c,!1)}const $8=()=>({...wP(),attrs:{}}),eL=e=>typeof e=="string"&&e.toLowerCase()==="svg";function xG(e,t,r,n){const a=te.useMemo(()=>{const i=$8();return X8(i,t,eL(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Q8(i,e.style,e),a.style={...i,...a.style}}return a}const EG=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function _P(e){return typeof e!="string"||e.includes("-")?!1:!!(EG.indexOf(e)>-1||/[A-Z]/u.test(e))}function jG(e,t,r,{latestValues:n},a,i=!1){const f=(_P(e)?xG:bG)(t,n,a,e),m=uG(t,typeof e=="string",i),h=e!==te.Fragment?{...m,...f,ref:r}:{},{children:l}=t,o=te.useMemo(()=>Dn(l)?l.get():l,[l]);return te.createElement(e,{...h,children:o})}function RR(e){const t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function xP(e,t,r,n){if(typeof t=="function"){const[a,i]=RR(n);t=t(r!==void 0?r:e.custom,a,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,i]=RR(n);t=t(r!==void 0?r:e.custom,a,i)}return t}function hv(e){return Dn(e)?e.get():e}function AG({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,a){return{latestValues:PG(r,n,a,e),renderState:t()}}function PG(e,t,r,n){const a={},i=n(e,{});for(const u in i)a[u]=hv(i[u]);let{initial:c,animate:f}=e;const m=aw(e),h=Z8(e);t&&h&&!m&&e.inherit!==!1&&(c===void 0&&(c=t.initial),f===void 0&&(f=t.animate));let l=r?r.initial===!1:!1;l=l||c===!1;const o=l?f:c;if(o&&typeof o!="boolean"&&!nw(o)){const u=Array.isArray(o)?o:[o];for(let p=0;p<u.length;p++){const g=xP(e,u[p]);if(g){const{transitionEnd:y,transition:b,...x}=g;for(const w in x){let E=x[w];if(Array.isArray(E)){const j=l?E.length-1:0;E=E[j]}E!==null&&(a[w]=E)}for(const w in y)a[w]=y[w]}}}return a}const tL=e=>(t,r)=>{const n=te.useContext(rw),a=te.useContext(tw),i=()=>AG(e,t,n,a);return r?i():KA(i)};function EP(e,t,r){const{style:n}=e,a={};for(const i in n)(Dn(n[i])||t.style&&Dn(t.style[i])||J8(i,e)||r?.getValue(i)?.liveStyle!==void 0)&&(a[i]=n[i]);return a}const SG=tL({scrapeMotionValuesFromProps:EP,createRenderState:wP});function rL(e,t,r){const n=EP(e,t,r);for(const a in e)if(Dn(e[a])||Dn(t[a])){const i=Wl.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;n[i]=e[a]}return n}const kG=tL({scrapeMotionValuesFromProps:rL,createRenderState:$8}),TG=Symbol.for("motionComponentSymbol");function _l(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function RG(e,t,r){return te.useCallback(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):_l(r)&&(r.current=n))},[t])}const jP=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),OG="framerAppearId",nL="data-"+jP(OG),aL=te.createContext({});function CG(e,t,r,n,a){const{visualElement:i}=te.useContext(rw),c=te.useContext(K8),f=te.useContext(tw),m=te.useContext(gP).reducedMotion,h=te.useRef(null);n=n||c.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:i,props:r,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:m}));const l=h.current,o=te.useContext(aL);l&&!l.projection&&a&&(l.type==="html"||l.type==="svg")&&IG(h.current,r,a,o);const u=te.useRef(!1);te.useInsertionEffect(()=>{l&&u.current&&l.update(r,f)});const p=r[nL],g=te.useRef(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return t8(()=>{l&&(u.current=!0,window.MotionIsMounted=!0,l.updateFeatures(),l.scheduleRenderMicrotask(),g.current&&l.animationState&&l.animationState.animateChanges())}),te.useEffect(()=>{l&&(!g.current&&l.animationState&&l.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),g.current=!1),l.enteringChildren=void 0)}),l}function IG(e,t,r,n){const{layoutId:a,layout:i,drag:c,dragConstraints:f,layoutScroll:m,layoutRoot:h,layoutCrossfade:l}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:iL(e.parent)),e.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:!!c||f&&_l(f),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:n,crossfade:l,layoutScroll:m,layoutRoot:h})}function iL(e){if(e)return e.options.allowProjection!==!1?e.projection:iL(e.parent)}function w_(e,{forwardMotionProps:t=!1}={},r,n){r&&sG(r);const a=_P(e)?kG:SG;function i(f,m){let h;const l={...te.useContext(gP),...f,layoutId:NG(f)},{isStatic:o}=l,u=dG(f),p=a(f,o);if(!o&&YA){MG();const g=FG(l);h=g.MeasureLayout,u.visualElement=CG(e,p,l,n,g.ProjectionNode)}return A.jsxs(rw.Provider,{value:u,children:[h&&u.visualElement?A.jsx(h,{visualElement:u.visualElement,...l}):null,jG(e,f,RG(p,u.visualElement,m),p,o,t)]})}i.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=te.forwardRef(i);return c[TG]=e,c}function NG({layoutId:e}){const t=te.useContext(GA).id;return t&&e!==void 0?t+"-"+e:e}function MG(e,t){te.useContext(K8).strict}function FG(e){const{drag:t,layout:r}=Il;if(!t&&!r)return{};const n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
vendor: 6,661 bytes, line 48
48function BG(e,t){if(typeof Proxy>"u")return w_;const r=new Map,n=(i,c)=>w_(i,c,e,t),a=(i,c)=>n(i,c);return new Proxy(a,{get:(i,c)=>c==="create"?n:(r.has(c)||r.set(c,w_(c,void 0,e,t)),r.get(c))})}function sL({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function UG({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function qG(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function __(e){return e===void 0||e===1}function mA({scale:e,scaleX:t,scaleY:r}){return!__(e)||!__(t)||!__(r)}function Kc(e){return mA(e)||oL(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function oL(e){return OR(e.x)||OR(e.y)}function OR(e){return e&&e!=="0%"}function jv(e,t,r){const n=e-r,a=t*n;return r+a}function CR(e,t,r,n,a){return a!==void 0&&(e=jv(e,a,n)),jv(e,r,n)+t}function gA(e,t=0,r=1,n,a){e.min=CR(e.min,t,r,n,a),e.max=CR(e.max,t,r,n,a)}function cL(e,{x:t,y:r}){gA(e.x,t.translate,t.scale,t.originPoint),gA(e.y,r.translate,r.scale,r.originPoint)}const IR=.999999999999,NR=1.0000000000001;function LG(e,t,r,n=!1){const a=r.length;if(!a)return;t.x=t.y=1;let i,c;for(let f=0;f<a;f++){i=r[f],c=i.projectionDelta;const{visualElement:m}=i.options;m&&m.props.style&&m.props.style.display==="contents"||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&El(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,cL(e,c)),n&&Kc(i.latestValues)&&El(e,i.latestValues))}t.x<NR&&t.x>IR&&(t.x=1),t.y<NR&&t.y>IR&&(t.y=1)}function xl(e,t){e.min=e.min+t,e.max=e.max+t}function MR(e,t,r,n,a=.5){const i=qr(e.min,e.max,a);gA(e,t,r,i,n)}function El(e,t){MR(e.x,t.x,t.scaleX,t.scale,t.originX),MR(e.y,t.y,t.scaleY,t.scale,t.originY)}function uL(e,t){return sL(qG(e.getBoundingClientRect(),t))}function DG(e,t,r){const n=uL(e,r),{scroll:a}=t;return a&&(xl(n.x,a.offset.x),xl(n.y,a.offset.y)),n}const FR=()=>({translate:0,scale:1,origin:0,originPoint:0}),jl=()=>({x:FR(),y:FR()}),BR=()=>({min:0,max:0}),Kr=()=>({x:BR(),y:BR()}),yA={current:null},lL={current:!1};function zG(){if(lL.current=!0,!!YA)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yA.current=e.matches;e.addEventListener("change",t),t()}else yA.current=!1}const VG=new WeakMap;function HG(e,t,r){for(const n in t){const a=t[n],i=r[n];if(Dn(a))e.addValue(n,a);else if(Dn(i))e.addValue(n,Cl(a,{owner:e}));else if(i!==a)if(e.hasValue(n)){const c=e.getValue(n);c.liveStyle===!0?c.jump(a):c.hasAnimated||c.set(a)}else{const c=e.getStaticValue(n);e.addValue(n,Cl(c!==void 0?c:a,{owner:e}))}}for(const n in r)t[n]===void 0&&e.removeValue(n);return t}const UR=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class WG{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:a,blockInitialAnimation:i,visualState:c},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=dP,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const u=fa.now();this.renderScheduledAt<u&&(this.renderScheduledAt=u,Or.render(this.render,!1,!0))};const{latestValues:m,renderState:h}=c;this.latestValues=m,this.baseTarget={...m},this.initialValues=r.initial?{...m}:{},this.renderState=h,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=f,this.blockInitialAnimation=!!i,this.isControllingVariants=aw(r),this.isVariantNode=Z8(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:l,...o}=this.scrapeMotionValuesFromProps(r,{},this);for(const u in o){const p=o[u];m[u]!==void 0&&Dn(p)&&p.set(m[u])}}mount(t){this.current=t,VG.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),lL.current||zG(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:yA.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Oo(this.notifyUpdate),Oo(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=Gl.has(t);n&&this.onBindTransform&&this.onBindTransform();const a=r.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&Or.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{a(),i&&i(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Il){const r=Il[t];if(!r)continue;const{isEnabled:n,Feature:a}=r;if(!this.features[t]&&a&&n(this.props)&&(this.features[t]=new a(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Kr()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;
vendor: 4,298 bytes, line 48
48for(let n=0;n<UR.length;n++){const a=UR[n];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const i="on"+a,c=t[i];c&&(this.propEventSubscriptions[a]=this.on(a,c))}this.prevMotionValues=HG(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const n=this.values.get(t);r!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=Cl(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(r8(n)||a8(n))?n=parseFloat(n):!$W(n)&&Co.test(r)&&(n=q8(t,r)),this.setBaseTarget(t,Dn(n)?n.get():n)),Dn(n)?n.get():n}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){const{initial:r}=this.props;let n;if(typeof r=="string"||typeof r=="object"){const i=xP(this.props,r,this.presenceContext?.custom);i&&(n=i[t])}if(r&&n!==void 0)return n;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Dn(a)?a:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new $A),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){pP.render(this.render)}}class dL extends WG{constructor(){super(...arguments),this.KeyframeResolver=DW}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Dn(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function fL(e,{style:t,vars:r},n,a){const i=e.style;let c;for(c in t)i[c]=t[c];a?.applyProjectionStyles(i,n);for(c in r)i.setProperty(c,r[c])}function GG(e){return window.getComputedStyle(e)}class KG extends dL{constructor(){super(...arguments),this.type="html",this.renderInstance=fL}readValueFromInstance(t,r){if(Gl.has(r))return this.projection?.isProjecting?cA(r):sW(t,r);{const n=GG(t),a=(rP(r)?n.getPropertyValue(r):n[r])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:r}){return uL(t,r)}build(t,r,n){vP(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return EP(t,r,n)}}const hL=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function YG(e,t,r,n){fL(e,t,void 0,n);for(const a in t.attrs)e.setAttribute(hL.has(a)?a:jP(a),t.attrs[a])}class ZG extends dL{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Kr}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Gl.has(r)){const n=U8(r);return n&&n.default||0}return r=hL.has(r)?r:jP(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return rL(t,r,n)}
vendor: 21,197 bytes, line 48
48build(t,r,n){X8(t,r,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,r,n,a){YG(t,r,n,a)}mount(t){this.isSVGTag=eL(t.tagName),super.mount(t)}}const JG=(e,t)=>_P(e)?new ZG(t):new KG(t,{allowProjection:e!==te.Fragment});function Sl(e,t,r){const n=e.getProps();return xP(n,t,r!==void 0?r:n.custom,e)}const bA=e=>Array.isArray(e);function QG(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Cl(r))}function XG(e){return bA(e)?e[e.length-1]||0:e}function $G(e,t){const r=Sl(e,t);let{transitionEnd:n={},transition:a={},...i}=r||{};i={...i,...n};for(const c in i){const f=XG(i[c]);QG(e,c,f)}}function eK(e){return!!(Dn(e)&&e.add)}function vA(e,t){const r=e.getValue("willChange");if(eK(r))return r.add(t);if(!r&&Ds.WillChange){const n=new Ds.WillChange("auto");e.addValue("willChange",n),n.add(t)}}function pL(e){return e.props[nL]}const tK=e=>e!==null;function rK(e,{repeat:t,repeatType:r="loop"},n){const a=e.filter(tK),i=t&&r!=="loop"&&t%2===1?0:a.length-1;return a[i]}const nK={type:"spring",stiffness:500,damping:25,restSpeed:10},aK=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),iK={type:"keyframes",duration:.8},sK={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oK=(e,{keyframes:t})=>t.length>2?iK:Gl.has(e)?e.startsWith("scale")?aK(t[1]):nK:sK;function cK({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:a,repeat:i,repeatType:c,repeatDelay:f,from:m,elapsed:h,...l}){return!!Object.keys(l).length}const AP=(e,t,r,n={},a,i)=>c=>{const f=fP(n,e)||{},m=f.delay||n.delay||0;let{elapsed:h=0}=n;h=h-zi(m);const l={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...f,delay:-h,onUpdate:u=>{t.set(u),f.onUpdate&&f.onUpdate(u)},onComplete:()=>{c(),f.onComplete&&f.onComplete()},name:e,motionValue:t,element:i?void 0:a};cK(f)||Object.assign(l,oK(e,l)),l.duration&&(l.duration=zi(l.duration)),l.repeatDelay&&(l.repeatDelay=zi(l.repeatDelay)),l.from!==void 0&&(l.keyframes[0]=l.from);let o=!1;if((l.type===!1||l.duration===0&&!l.repeatDelay)&&(hA(l),l.delay===0&&(o=!0)),(Ds.instantAnimations||Ds.skipAnimations)&&(o=!0,hA(l),l.delay=0),l.allowFlatten=!f.type&&!f.ease,o&&!i&&t.get()!==void 0){const u=rK(l.keyframes,f);if(u!==void 0){Or.update(()=>{l.onUpdate(u),l.onComplete()});return}}return f.isSync?new lP(l):new TW(l)};function uK({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function mL(e,t,{delay:r=0,transitionOverride:n,type:a}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:c,...f}=t;n&&(i=n);const m=[],h=a&&e.animationState&&e.animationState.getState()[a];for(const l in f){const o=e.getValue(l,e.latestValues[l]??null),u=f[l];if(u===void 0||h&&uK(h,l))continue;const p={delay:r,...fP(i||{},l)},g=o.get();if(g!==void 0&&!o.isAnimating&&!Array.isArray(u)&&u===g&&!p.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const x=pL(e);if(x){const w=window.MotionHandoffAnimation(x,l,Or);w!==null&&(p.startTime=w,y=!0)}}vA(e,l),o.start(AP(l,o,u,e.shouldReduceMotion&&M8.has(l)?{type:!1}:p,e,y));const b=o.animation;b&&m.push(b)}return c&&Promise.all(m).then(()=>{Or.update(()=>{c&&$G(e,c)})}),m}function gL(e,t,r,n=0,a=1){const i=Array.from(e).sort((h,l)=>h.sortNodePosition(l)).indexOf(t),c=e.size,f=(c-1)*n;return typeof r=="function"?r(i,c):a===1?i*n:f-i*n}function wA(e,t,r={}){const n=Sl(e,t,r.type==="exit"?e.presenceContext?.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(a=r.transitionOverride);const i=n?()=>Promise.all(mL(e,n,r)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:h=0,staggerChildren:l,staggerDirection:o}=a;return lK(e,t,m,h,l,o,r)}:()=>Promise.resolve(),{when:f}=a;if(f){const[m,h]=f==="beforeChildren"?[i,c]:[c,i];return m().then(()=>h())}else return Promise.all([i(),c(r.delay)])}function lK(e,t,r=0,n=0,a=0,i=1,c){const f=[];for(const m of e.variantChildren)m.notify("AnimationStart",t),f.push(wA(m,t,{...c,delay:r+(typeof n=="function"?0:n)+gL(e.variantChildren,m,n,a,i)}).then(()=>m.notify("AnimationComplete",t)));return Promise.all(f)}function dK(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const a=t.map(i=>wA(e,i,r));n=Promise.all(a)}else if(typeof t=="string")n=wA(e,t,r);else{const a=typeof t=="function"?Sl(e,t,r.custom):t;n=Promise.all(mL(e,a,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}function yL(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}const fK=bP.length;function bL(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?bL(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<fK;r++){const n=bP[r],a=e.props[n];(Bg(a)||a===!1)&&(t[n]=a)}return t}const hK=[...yP].reverse(),pK=yP.length;function mK(e){return t=>Promise.all(t.map(({animation:r,options:n})=>dK(e,r,n)))}function gK(e){let t=mK(e),r=qR(),n=!0;const a=m=>(h,l)=>{const o=Sl(e,l,m==="exit"?e.presenceContext?.custom:void 0);if(o){const{transition:u,transitionEnd:p,...g}=o;h={...h,...g,...p}}return h};function i(m){t=m(e)}function c(m){const{props:h}=e,l=bL(e.parent)||{},o=[],u=new Set;let p={},g=1/0;for(let b=0;b<pK;b++){const x=hK[b],w=r[x],E=h[x]!==void 0?h[x]:l[x],j=Bg(E),T=x===m?w.isActive:null;T===!1&&(g=b);let F=E===l[x]&&E!==h[x]&&j;if(F&&n&&e.manuallyAnimateOnMount&&(F=!1),w.protectedKeys={...p},!w.isActive&&T===null||!E&&!w.prevProp||nw(E)||typeof E=="boolean")continue;const z=yK(w.prevProp,E);let K=z||x===m&&w.isActive&&!F&&j||b>g&&j,U=!1;const H=Array.isArray(E)?E:[E];let V=H.reduce(a(x),{});T===!1&&(V={});const{prevResolvedValues:Z={}}=w,R={...Z,...V},_=B=>{K=!0,u.has(B)&&(U=!0,u.delete(B)),w.needsAnimating[B]=!0;const C=e.getValue(B);C&&(C.liveStyle=!1)};for(const B in R){const C=V[B],q=Z[B];if(p.hasOwnProperty(B))continue;let W=!1;bA(C)&&bA(q)?W=!yL(C,q):W=C!==q,W?C!=null?_(B):u.add(B):C!==void 0&&u.has(B)?_(B):w.protectedKeys[B]=!0}w.prevProp=E,w.prevResolvedValues=V,w.isActive&&(p={...p,...V}),n&&e.blockInitialAnimation&&(K=!1);const k=F&&z;K&&(!k||U)&&o.push(...H.map(B=>{const C={type:x};if(typeof B=="string"&&n&&!k&&e.manuallyAnimateOnMount&&e.parent){const{parent:q}=e,W=Sl(q,B);if(q.enteringChildren&&W){const{delayChildren:I}=W.transition||{};C.delay=gL(q.enteringChildren,e,I)}}return{animation:B,options:C}}))}if(u.size){const b={};if(typeof h.initial!="boolean"){const x=Sl(e,Array.isArray(h.initial)?h.initial[0]:h.initial);x&&x.transition&&(b.transition=x.transition)}u.forEach(x=>{const w=e.getBaseTarget(x),E=e.getValue(x);E&&(E.liveStyle=!0),b[x]=w??null}),o.push({animation:b})}let y=!!o.length;return n&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(o):Promise.resolve()}function f(m,h){if(r[m].isActive===h)return Promise.resolve();e.variantChildren?.forEach(o=>o.animationState?.setActive(m,h)),r[m].isActive=h;const l=c(m);for(const o in r)r[o].protectedKeys={};return l}return{animateChanges:c,setActive:f,setAnimateFunction:i,getState:()=>r,reset:()=>{r=qR()}}}function yK(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!yL(t,e):!1}function cc(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qR(){return{animate:cc(!0),whileInView:cc(),whileHover:cc(),whileTap:cc(),whileDrag:cc(),whileFocus:cc(),exit:cc()}}class Mo{constructor(t){this.isMounted=!1,this.node=t}update(){}}class bK extends Mo{constructor(t){super(t),t.animationState||(t.animationState=gK(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();nw(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let vK=0;class wK extends Mo{constructor(){super(...arguments),this.id=vK++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const a=this.node.animationState.setActive("exit",!t);r&&!t&&a.then(()=>{r(this.id)})}mount(){const{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const _K={animation:{Feature:bK},exit:{Feature:wK}};function qg(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function uy(e){return{point:{x:e.pageX,y:e.pageY}}}const xK=e=>t=>mP(t)&&e(t,uy(t));function Rg(e,t,r,n){return qg(e,t,xK(r),n)}const vL=1e-4,EK=1-vL,jK=1+vL,wL=.01,AK=0-wL,PK=0+wL;function Xn(e){return e.max-e.min}function SK(e,t,r){return Math.abs(e-t)<=r}function LR(e,t,r,n=.5){e.origin=n,e.originPoint=qr(t.min,t.max,e.origin),e.scale=Xn(r)/Xn(t),e.translate=qr(r.min,r.max,e.origin)-e.originPoint,(e.scale>=EK&&e.scale<=jK||isNaN(e.scale))&&(e.scale=1),(e.translate>=AK&&e.translate<=PK||isNaN(e.translate))&&(e.translate=0)}function Og(e,t,r,n){LR(e.x,t.x,r.x,n?n.originX:void 0),LR(e.y,t.y,r.y,n?n.originY:void 0)}function DR(e,t,r){e.min=r.min+t.min,e.max=e.min+Xn(t)}function kK(e,t,r){DR(e.x,t.x,r.x),DR(e.y,t.y,r.y)}function zR(e,t,r){e.min=t.min-r.min,e.max=e.min+Xn(t)}function Cg(e,t,r){zR(e.x,t.x,r.x),zR(e.y,t.y,r.y)}function Qa(e){return[e("x"),e("y")]}const _L=({current:e})=>e?e.ownerDocument.defaultView:null,VR=(e,t)=>Math.abs(e-t);function TK(e,t){const r=VR(e.x,t.x),n=VR(e.y,t.y);return Math.sqrt(r**2+n**2)}class xL{constructor(t,r,{transformPagePoint:n,contextWindow:a=window,dragSnapToOrigin:i=!1,distanceThreshold:c=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=E_(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,g=TK(u.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!g)return;const{point:y}=u,{timestamp:b}=Pn;this.history.push({...y,timestamp:b});const{onStart:x,onMove:w}=this.handlers;p||(x&&x(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,u)},this.handlePointerMove=(u,p)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=x_(p,this.transformPagePoint),Or.update(this.updatePoint,!0)},this.handlePointerUp=(u,p)=>{this.end();const{onEnd:g,onSessionEnd:y,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=E_(u.type==="pointercancel"?this.lastMoveEventInfo:x_(p,this.transformPagePoint),this.history);this.startEvent&&g&&g(u,x),y&&y(u,x)},!mP(t))return;this.dragSnapToOrigin=i,this.handlers=r,this.transformPagePoint=n,this.distanceThreshold=c,this.contextWindow=a||window;const f=uy(t),m=x_(f,this.transformPagePoint),{point:h}=m,{timestamp:l}=Pn;this.history=[{...h,timestamp:l}];const{onSessionStart:o}=r;o&&o(t,E_(m,this.history)),this.removeListeners=sy(Rg(this.contextWindow,"pointermove",this.handlePointerMove),Rg(this.contextWindow,"pointerup",this.handlePointerUp),Rg(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Oo(this.updatePoint)}}function x_(e,t){return t?{point:t(e.point)}:e}function HR(e,t){return{x:e.x-t.x,y:e.y-t.y}}function E_({point:e},t){return{point:e,delta:HR(e,EL(t)),offset:HR(e,RK(t)),velocity:OK(t,.1)}}function RK(e){return e[0]}function EL(e){return e[e.length-1]}function OK(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const a=EL(e);for(;r>=0&&(n=e[r],!(a.timestamp-n.timestamp>zi(t)));)r--;if(!n)return{x:0,y:0};const i=$a(a.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const c={x:(a.x-n.x)/i,y:(a.y-n.y)/i};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function CK(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?qr(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?qr(r,e,n.max):Math.min(e,r)),e}function WR(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function IK(e,{top:t,left:r,bottom:n,right:a}){return{x:WR(e.x,r,a),y:WR(e.y,t,n)}}function GR(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function NK(e,t){return{x:GR(e.x,t.x),y:GR(e.y,t.y)}}function MK(e,t){let r=.5;const n=Xn(e),a=Xn(t);return a>n?r=Ng(t.min,t.max-n,e.min):n>a&&(r=Ng(e.min,e.max-a,t.min)),Ls(0,1,r)}function FK(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const _A=.35;function BK(e=_A){return e===!1?e=0:e===!0&&(e=_A),{x:KR(e,"left","right"),y:KR(e,"top","bottom")}}function KR(e,t,r){return{min:YR(e,t),max:YR(e,r)}}function YR(e,t){return typeof e=="number"?e:e[t]||0}const UK=new WeakMap;class qK{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Kr(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:r=!1,distanceThreshold:n}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const i=o=>{const{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(uy(o).point)},c=(o,u)=>{const{drag:p,dragPropagation:g,onDragStart:y}=this.getProps();if(p&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=WW(p),!this.openDragLock))return;this.latestPointerEvent=o,this.latestPanInfo=u,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qa(x=>{let w=this.getAxisMotionValue(x).get()||0;if(Vi.test(w)){const{projection:E}=this.visualElement;if(E&&E.layout){const j=E.layout.layoutBox[x];j&&(w=Xn(j)*(parseFloat(w)/100))}}this.originPoint[x]=w}),y&&Or.postRender(()=>y(o,u)),vA(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},f=(o,u)=>{this.latestPointerEvent=o,this.latestPanInfo=u;const{dragPropagation:p,dragDirectionLock:g,onDirectionLock:y,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:x}=u;if(g&&this.currentDirection===null){this.currentDirection=LK(x),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",u.point,x),this.updateAxis("y",u.point,x),this.visualElement.render(),b&&b(o,u)},m=(o,u)=>{this.latestPointerEvent=o,this.latestPanInfo=u,this.stop(o,u),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Qa(o=>this.getAnimationState(o)==="paused"&&this.getAxisMotionValue(o).animation?.play()),{dragSnapToOrigin:l}=this.getProps();this.panSession=new xL(t,{onSessionStart:i,onStart:c,onMove:f,onSessionEnd:m,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:_L(this.visualElement)})}stop(t,r){const n=t||this.latestPointerEvent,a=r||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!a||!n)return;const{velocity:c}=a;this.startAnimation(c);const{onDragEnd:f}=this.getProps();f&&Or.postRender(()=>f(n,a))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:a}=this.getProps();if(!n||!Hb(t,a,this.currentDirection))return;const i=this.getAxisMotionValue(t);let c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(c=CK(c,this.constraints[t],this.elastic[t])),i.set(c)}resolveConstraints(){const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;t&&_l(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=IK(n.layoutBox,t):this.constraints=!1,this.elastic=BK(r),a!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Qa(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=FK(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!_l(t))return!1;const n=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const i=DG(n,a.root,this.visualElement.getTransformPagePoint());let c=NK(a.layout.layoutBox,i);if(r){const f=r(UG(c));this.hasMutatedConstraints=!!f,f&&(c=sL(f))}return c}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:a,dragTransition:i,dragSnapToOrigin:c,onDragTransitionEnd:f}=this.getProps(),m=this.constraints||{},h=Qa(l=>{if(!Hb(l,r,this.currentDirection))return;let o=m&&m[l]||{};c&&(o={min:0,max:0});const u=a?200:1e6,p=a?40:1e7,g={type:"inertia",velocity:n?t[l]:0,bounceStiffness:u,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...o};return this.startAxisValueAnimation(l,g)});return Promise.all(h).then(f)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return vA(this.visualElement,t),n.start(AP(t,n,0,r,this.visualElement,!1))}stopAnimation(){Qa(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qa(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),a=n[r];return a||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Qa(r=>{const{drag:n}=this.getProps();if(!Hb(r,n,this.currentDirection))return;const{projection:a}=this.visualElement,i=this.getAxisMotionValue(r);if(a&&a.layout){const{min:c,max:f}=a.layout.layoutBox[r];i.set(t[r]-qr(c,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!_l(r)||!n||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Qa(c=>{const f=this.getAxisMotionValue(c);if(f&&this.constraints!==!1){const m=f.get();a[c]=MK({min:m,max:m},this.constraints[c])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Qa(c=>{if(!Hb(c,t,null))return;const f=this.getAxisMotionValue(c),{min:m,max:h}=this.constraints[c];f.set(qr(m,h,a[c]))})}addListeners(){if(!this.visualElement.current)return;UK.set(this.visualElement,this);const t=this.visualElement.current,r=Rg(t,"pointerdown",m=>{const{drag:h,dragListener:l=!0}=this.getProps();h&&l&&this.start(m)}),n=()=>{const{dragConstraints:m}=this.getProps();_l(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,i=a.addEventListener("measure",n);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Or.read(n);const c=qg(window,"resize",()=>this.scalePositionWithinConstraints()),f=a.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:h})=>{this.isDragging&&h&&(Qa(l=>{const o=this.getAxisMotionValue(l);o&&(this.originPoint[l]+=m[l].translate,o.set(o.get()+m[l].translate))}),this.visualElement.render())}));return()=>{c(),r(),i(),f&&f()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:a=!1,dragConstraints:i=!1,dragElastic:c=_A,dragMomentum:f=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:a,dragConstraints:i,dragElastic:c,dragMomentum:f}}}function Hb(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function LK(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class DK extends Mo{constructor(t){super(t),this.removeGroupControls=ei,this.removeListeners=ei,this.controls=new qK(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ei}unmount(){this.removeGroupControls(),this.removeListeners()}}const ZR=e=>(t,r)=>{e&&Or.postRender(()=>e(t,r))};class zK extends Mo{constructor(){super(...arguments),this.removePointerDownListener=ei}onPointerDown(t){this.session=new xL(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:_L(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:a}=this.node.getProps();return{onSessionStart:ZR(t),onStart:ZR(r),onMove:n,onEnd:(i,c)=>{delete this.session,a&&Or.postRender(()=>a(i,c))}}}mount(){this.removePointerDownListener=Rg(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const pv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function JR(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Zd={correct:(e,t)=>
vendor: 5,278 bytes, line 48
48{if(!t.target)return e;if(typeof e=="string")if(jt.test(e))e=parseFloat(e);else return e;const r=JR(e,t.target.x),n=JR(e,t.target.y);return`${r}% ${n}%`}},VK={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,a=Co.parse(e);if(a.length>5)return n;const i=Co.createTransformer(e),c=typeof a[0]!="number"?1:0,f=r.x.scale*t.x,m=r.y.scale*t.y;a[0+c]/=f,a[1+c]/=m;const h=qr(f,m,.5);return typeof a[2+c]=="number"&&(a[2+c]/=h),typeof a[3+c]=="number"&&(a[3+c]/=h),i(a)}};let j_=!1;class HK extends te.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:a}=this.props,{projection:i}=t;fG(WK),i&&(r.group&&r.group.add(i),n&&n.register&&a&&n.register(i),j_&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),pv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:a,isPresent:i}=this.props,{projection:c}=n;return c&&(c.isPresent=i,j_=!0,a||t.layoutDependency!==r||r===void 0||t.isPresent!==i?c.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?c.promote():c.relegate()||Or.postRender(()=>{const f=c.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),pP.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:a}=t;j_=!0,a&&(a.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(a),n&&n.deregister&&n.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function jL(e){const[t,r]=G8(),n=te.useContext(GA);return A.jsx(HK,{...e,layoutGroup:n,switchLayoutGroup:te.useContext(aL),isPresent:t,safeToRemove:r})}const WK={borderRadius:{...Zd,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Zd,borderTopRightRadius:Zd,borderBottomLeftRadius:Zd,borderBottomRightRadius:Zd,boxShadow:VK};function GK(e,t,r){const n=Dn(e)?e:Cl(e);return n.start(AP("",n,t,r)),n.animation}const KK=(e,t)=>e.depth-t.depth;class YK{constructor(){this.children=[],this.isDirty=!1}add(t){ZA(this.children,t),this.isDirty=!0}remove(t){JA(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(KK),this.isDirty=!1,this.children.forEach(t)}}function ZK(e,t){const r=fa.now(),n=({timestamp:a})=>{const i=a-r;i>=t&&(Oo(n),e(i-t))};return Or.setup(n,!0),()=>Oo(n)}const AL=["TopLeft","TopRight","BottomLeft","BottomRight"],JK=AL.length,QR=e=>typeof e=="string"?parseFloat(e):e,XR=e=>typeof e=="number"||jt.test(e);function QK(e,t,r,n,a,i){a?(e.opacity=qr(0,r.opacity??1,XK(n)),e.opacityExit=qr(t.opacity??1,0,$K(n))):i&&(e.opacity=qr(t.opacity??1,r.opacity??1,n));for(let c=0;c<JK;c++){const f=`border${AL[c]}Radius`;let m=$R(t,f),h=$R(r,f);if(m===void 0&&h===void 0)continue;m||(m=0),h||(h=0),m===0||h===0||XR(m)===XR(h)?(e[f]=Math.max(qr(QR(m),QR(h),n),0),(Vi.test(h)||Vi.test(m))&&(e[f]+="%")):e[f]=h}(t.rotate||r.rotate)&&(e.rotate=qr(t.rotate||0,r.rotate||0,n))}function $R(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const XK=PL(0,.5,f8),$K=PL(.5,.95,ei);function PL(e,t,r){return n=>n<e?0:n>t?1:r(Ng(e,t,n))}function eO(e,t){e.min=t.min,e.max=t.max}function Ja(e,t){eO(e.x,t.x),eO(e.y,t.y)}function tO(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rO(e,t,r,n,a){return e-=t,e=jv(e,1/r,n),a!==void 0&&(e=jv(e,1/a,n)),e}function eY(e,t=0,r=1,n=.5,a,i=e,c=e){if(Vi.test(t)&&(t=parseFloat(t),t=qr(c.min,c.max,t/100)-c.min),typeof t!="number")return;let f=qr(i.min,i.max,n);e===i&&(f-=t),e.min=rO(e.min,t,r,f,a),e.max=rO(e.max,t,r,f,a)}function nO(e,t,[r,n,a],i,c){eY(e,t[r],t[n],t[a],t.scale,i,c)}const tY=["x","scaleX","originX"],rY=["y","scaleY","originY"];function aO(e,t,r,n){nO(e.x,t,tY,r?r.x:void 0,n?n.x:void 0),nO(e.y,t,rY,r?r.y:void 0,n?n.y:void 0)}function iO(e){return e.translate===0&&e.scale===1}function SL(e){return iO(e.x)&&iO(e.y)}function sO(e,t){return e.min===t.min&&e.max===t.max}function nY(e,t){return sO(e.x,t.x)&&sO(e.y,t.y)}function oO(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function kL(e,t){return oO(e.x,t.x)&&oO(e.y,t.y)}function cO(e){return Xn(e.x)/Xn(e.y)}function uO(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class aY{constructor(){this.members=[]}add(t){ZA(this.members,t),t.scheduleRender()}remove(t){if(JA(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(a=>t===a);if(r===0)return!1;let n;for(let a=r;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}
vendor: 5,054 bytes, line 48
48=t.options;a===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iY(e,t,r){let n="";const a=e.x.translate/t.x,i=e.y.translate/t.y,c=r?.z||0;if((a||i||c)&&(n=`translate3d(${a}px, ${i}px, ${c}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:h,rotate:l,rotateX:o,rotateY:u,skewX:p,skewY:g}=r;h&&(n=`perspective(${h}px) ${n}`),l&&(n+=`rotate(${l}deg) `),o&&(n+=`rotateX(${o}deg) `),u&&(n+=`rotateY(${u}deg) `),p&&(n+=`skewX(${p}deg) `),g&&(n+=`skewY(${g}deg) `)}const f=e.x.scale*t.x,m=e.y.scale*t.y;return(f!==1||m!==1)&&(n+=`scale(${f}, ${m})`),n||"none"}const A_=["","X","Y","Z"],sY=1e3;let oY=0;function P_(e,t,r,n){const{latestValues:a}=t;a[e]&&(r[e]=a[e],t.setStaticValue(e,0),n&&(n[e]=0))}function TL(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=pL(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:a,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",Or,!(a||i))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&TL(n)}function RL({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(c={},f=t?.()){this.id=oY++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(lY),this.nodes.forEach(pY),this.nodes.forEach(mY),this.nodes.forEach(dY)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new YK)}addEventListener(c,f){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new $A),this.eventHandlers.get(c).add(f)}notifyListeners(c,...f){const m=this.eventHandlers.get(c);m&&m.notify(...f)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=W8(c)&&!QW(c),this.instance=c;const{layoutId:f,layout:m,visualElement:h}=this.options;if(h&&!h.current&&h.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||f)&&(this.isLayoutDirty=!0),e){let l,o=0;const u=()=>this.root.updateBlockedByResize=!1;Or.read(()=>{o=window.innerWidth}),e(c,()=>{const p=window.innerWidth;p!==o&&(o=p,this.root.updateBlockedByResize=!0,l&&l(),l=ZK(u,250),pv.hasAnimatedSinceResize&&(pv.hasAnimatedSinceResize=!1,this.nodes.forEach(fO)))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&h&&(f||m)&&this.addEventListener("didUpdate",({delta:l,hasLayoutChanged:o,hasRelativeLayoutChanged:u,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||h.getDefaultTransition()||wY,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=h.getProps(),x=!this.targetLayout||!kL(this.targetLayout,p),w=!o&&u;if(this.options.layoutRoot||this.resumeFrom||w||o&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const E={...fP(g,"layout"),onPlay:y,onComplete:b};(h.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E),this.setAnimationOrigin(l,w)}else o||fO(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Oo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
vendor: 7,558 bytes, line 48
48h(gY),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&TL(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let l=0;l<this.path.length;l++){const o=this.path[l];o.shouldResetTransform=!0,o.updateScroll("snapshot"),o.options.layoutRoot&&o.willUpdate(!1)}const{layoutId:f,layout:m}=this.options;if(f===void 0&&!m)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(lO);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(dO);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(hY),this.nodes.forEach(cY),this.nodes.forEach(uY)):this.nodes.forEach(dO),this.clearAllSnapshots();const f=fa.now();Pn.delta=Ls(0,1e3/60,f-Pn.timestamp),Pn.timestamp=f,Pn.isProcessing=!0,p_.update.process(Pn),p_.preRender.process(Pn),p_.render.process(Pn),Pn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,pP.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fY),this.sharedNodes.forEach(yY)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Or.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Or.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Xn(this.snapshot.measuredBox.x)&&!Xn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Kr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(f=!1),f&&this.instance){const m=n(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:m,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!a)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!SL(this.projectionDelta),m=this.getTransformTemplate(),h=m?m(this.latestValues,""):void 0,l=h!==this.prevTransformTemplateValue;c&&this.instance&&(f||Kc(this.latestValues)||l)&&(a(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const f=this.measurePageBox();let m=this.removeElementScroll(f);return c&&(m=this.removeTransform(m)),_Y(m),{animationId:this.root.animationId,measuredBox:f,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:c}=this.options;if(!c)return Kr();const f=c.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(xY))){const{scroll:h}=this.root;h&&(xl(f.x,h.offset.x),xl(f.y,h.offset.y))}return f}removeElementScroll(c){const f=Kr();if(Ja(f,c),this.scroll?.wasRoot)return f;for(let m=0;m<this.path.length;m++){const h=this.path[m],{scroll:l,options:o}=h;h!==this.root&&l&&o.layoutScroll&&(l.wasRoot&&Ja(f,c),xl(f.x,l.offset.x),xl(f.y,l.offset.y))}return f}applyTransform(c,f=!1){const m=Kr();Ja(m,c);for(let h=0;h<this.path.length;h++){const l=this.path[h];!f&&l.options.layoutScroll&&l.scroll&&l!==l.root&&El(m,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),Kc(l.latestValues)&&El(m,l.latestValues)}return Kc(this.latestValues)&&El(m,this.latestValues),m}removeTransform(c){const f=Kr();Ja(f,c);for(let m=0;m<this.path.length;m++){const h=this.path[m];if(!h.instance||!Kc(h.latestValues))continue;mA(h.latestValues)&&h.updateSnapshot();const l=Kr(),o=h.measurePageBox();Ja(l,o),aO(f,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,l)}return Kc(this.latestValues)&&aO(f,this.latestValues),f}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Pn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==f;if(!(c||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:l,layoutId:o}=this.options;if(!(!this.layout||!(l||o))){if(this.resolvedRelativeTargetAt=Pn.timestamp,!this.targetDelta&&!this.relativeTarget){const u=this.getClosestProjectingParent();u&&u.layout&&this.animationProgress!==1?(this.relativeParent=u,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Kr(),this.relativeTargetOrigin=Kr(),Cg(this.relativeTargetOrigin,this.layout.layoutBox,u.layout.layoutBox),Ja(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Kr(),this.targetWithTransforms=Kr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),kK(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ja(this.target,this.layout.layoutBox),cL(this.target,this.targetDelta)):Ja(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const u=this.getClosestProjectingParent();u&&!!u.resumingFrom==!!this.resumingFrom&&!u.options.layoutScroll&&u.target&&this.animationProgress!==1?(this.relativeParent=u,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Kr(),this.relativeTargetOrigin=Kr(),Cg(this.relativeTargetOrigin,this.target,u.target),Ja(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||mA(this.parent.latestValues)||oL(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const c=this.getLead(),f=!!this.resumingFrom||this!==c;let m=!0;
vendor: 9,323 bytes, line 48
48if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Pn.timestamp&&(m=!1),m)return;const{layout:h,layoutId:l}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||l))return;Ja(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,u=this.treeScale.y;LG(this.layoutCorrected,this.treeScale,this.path,f),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=Kr());const{target:p}=c;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(tO(this.prevProjectionDelta.x,this.projectionDelta.x),tO(this.prevProjectionDelta.y,this.projectionDelta.y)),Og(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==o||this.treeScale.y!==u||!uO(this.projectionDelta.x,this.prevProjectionDelta.x)||!uO(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){if(this.options.visualElement?.scheduleRender(),c){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=jl(),this.projectionDelta=jl(),this.projectionDeltaWithTransform=jl()}setAnimationOrigin(c,f=!1){const m=this.snapshot,h=m?m.latestValues:{},l={...this.latestValues},o=jl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const u=Kr(),p=m?m.source:void 0,g=this.layout?this.layout.source:void 0,y=p!==g,b=this.getStack(),x=!b||b.members.length<=1,w=!!(y&&!x&&this.options.crossfade===!0&&!this.path.some(vY));this.animationProgress=0;let E;this.mixTargetDelta=j=>{const T=j/1e3;hO(o.x,c.x,T),hO(o.y,c.y,T),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cg(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox),bY(this.relativeTarget,this.relativeTargetOrigin,u,T),E&&nY(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=Kr()),Ja(E,this.relativeTarget)),y&&(this.animationValues=l,QK(l,h,this.latestValues,T,w,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Oo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Or.update(()=>{pv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Cl(0)),this.currentAnimation=GK(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:f=>{this.mixTargetDelta(f),c.onUpdate&&c.onUpdate(f)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(sY),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:f,target:m,layout:h,latestValues:l}=c;if(!(!f||!m||!h)){if(this!==c&&this.layout&&h&&OL(this.options.animationType,this.layout.layoutBox,h.layoutBox)){m=this.target||Kr();const o=Xn(this.layout.layoutBox.x);m.x.min=c.target.x.min,m.x.max=m.x.min+o;const u=Xn(this.layout.layoutBox.y);m.y.min=c.target.y.min,m.y.max=m.y.min+u}Ja(f,m),El(f,l),Og(this.projectionDeltaWithTransform,this.layoutCorrected,f,l)}}registerSharedNode(c,f){this.sharedNodes.has(c)||this.sharedNodes.set(c,new aY),this.sharedNodes.get(c).add(f);const h=f.options.initialPromotionConfig;f.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(f):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){const{layoutId:c}=this.options;return c?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:c}=this.options;return c?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:f,preserveFollowOpacity:m}={}){const h=this.getStack();h&&h.promote(this,m),c&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let f=!1;const{latestValues:m}=c;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(f=!0),!f)return;const h={};m.z&&P_("z",c,h,this.animationValues);for(let l=0;l<A_.length;l++)P_(`rotate${A_[l]}`,c,h,this.animationValues),P_(`skew${A_[l]}`,c,h,this.animationValues);c.render();for(const l in h)c.setStaticValue(l,h[l]),this.animationValues&&(this.animationValues[l]=h[l]);c.scheduleRender()}applyProjectionStyles(c,f){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=hv(f?.pointerEvents)||"",c.transform=m?m(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=hv(f?.pointerEvents)||""),this.hasProjected&&!Kc(this.latestValues)&&(c.transform=m?m({},""):"none",this.hasProjected=!1);return}c.visibility="";const l=h.animationValues||h.latestValues;this.applyTransformsToTarget();let o=iY(this.projectionDeltaWithTransform,this.treeScale,l);m&&(o=m(l,o)),c.transform=o;const{x:u,y:p}=this.projectionDelta;c.transformOrigin=`${u.origin*100}% ${p.origin*100}% 0`,h.animationValues?c.opacity=h===this?l.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:c.opacity=h===this?l.opacity!==void 0?l.opacity:"":l.opacityExit!==void 0?l.opacityExit:0;for(const g in Ug){if(l[g]===void 0)continue;const{correct:y,applyTo:b,isCSSVariable:x}=Ug[g],w=o==="none"?l[g]:y(l[g],h);if(b){const E=b.length;for(let j=0;j<E;j++)c[b[j]]=w}else x?this.options.visualElement.renderState.vars[g]=w:c[g]=w}this.options.layoutId&&(c.pointerEvents=h===this?hv(f?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>c.currentAnimation?.stop()),this.root.nodes.forEach(lO),this.root.sharedNodes.clear()}}}function cY(e){e.updateLayout()}function uY(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:n}=e.layout,{animationType:a}=e.options,i=t.source!==e.layout.source;a==="size"?Qa(l=>{const o=i?t.measuredBox[l]:t.layoutBox[l],u=Xn(o);o.min=r[l].min,o.max=o.min+u}):OL(a,t.layoutBox,r)&&Qa(l=>{const o=i?t.measuredBox[l]:t.layoutBox[l],u=Xn(r[l]);o.max=o.min+u,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[l].max=e.relativeTarget[l].min+u)});const c=jl();Og(c,r,t.layoutBox);const f=jl();i?Og(f,e.applyTransform(n,!0),t.measuredBox):Og(f,r,t.layoutBox);const m=!SL(c);let h=!1;if(!e.resumeFrom){const l=e.getClosestProjectingParent();if(l&&!l.resumeFrom){const{snapshot:o,layout:u}=l;if(o&&u){const p=Kr();Cg(p,t.layoutBox,o.layoutBox);const g=Kr();Cg(g,r,u.layoutBox),kL(p,g)||(h=!0),l.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=p,e.relativeParent=l)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:f,layoutDelta:c,hasLayoutChanged:m,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function lY(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function dY(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function fY(e){e.clearSnapshot()}function lO(e){e.clearMeasurements()}function dO(e){e.isLayoutDirty=!1}function hY(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function pY(e){e.resolveTargetDelta()}function mY(e){e.calcProjection()}
vendor: 5,758 bytes, lines 48-68
48function gY(e){e.resetSkewAndRotation()}function yY(e){e.removeLeadSnapshot()}function hO(e,t,r){e.translate=qr(t.translate,0,r),e.scale=qr(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function pO(e,t,r,n){e.min=qr(t.min,r.min,n),e.max=qr(t.max,r.max,n)}function bY(e,t,r,n){pO(e.x,t.x,r.x,n),pO(e.y,t.y,r.y,n)}function vY(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const wY={duration:.45,ease:[.4,0,.1,1]},mO=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),gO=mO("applewebkit/")&&!mO("chrome/")?Math.round:ei;function yO(e){e.min=gO(e.min),e.max=gO(e.max)}function _Y(e){yO(e.x),yO(e.y)}function OL(e,t,r){return e==="position"||e==="preserve-aspect"&&!SK(cO(t),cO(r),.2)}function xY(e){return e!==e.root&&e.scroll?.wasRoot}const EY=RL({attachResizeListener:(e,t)=>qg(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),S_={current:void 0},CL=RL({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!S_.current){const e=new EY({});e.mount(window),e.setOptions({layoutScroll:!0}),S_.current=e}return S_.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),jY={pan:{Feature:zK},drag:{Feature:DK,ProjectionNode:CL,MeasureLayout:jL}};function bO(e,t,r){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",r==="Start");const a="onHover"+r,i=n[a];i&&Or.postRender(()=>i(t,uy(t)))}class AY extends Mo{mount(){const{current:t}=this.node;t&&(this.unmount=GW(t,(r,n)=>(bO(this.node,n,"Start"),a=>bO(this.node,a,"End"))))}unmount(){}}class PY extends Mo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=sy(qg(this.node.current,"focus",()=>this.onFocus()),qg(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function vO(e,t,r){const{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",r==="Start");const a="onTap"+(r==="End"?"":r),i=n[a];i&&Or.postRender(()=>i(t,uy(t)))}class SY extends Mo{mount(){const{current:t}=this.node;t&&(this.unmount=JW(t,(r,n)=>(vO(this.node,n,"Start"),(a,{success:i})=>vO(this.node,a,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const xA=new WeakMap,k_=new WeakMap,kY=e=>{const t=xA.get(e.target);t&&t(e)},TY=e=>{e.forEach(kY)};function RY({root:e,...t}){const r=e||document;k_.has(r)||k_.set(r,{});const n=k_.get(r),a=JSON.stringify(t);return n[a]||(n[a]=new IntersectionObserver(TY,{root:e,...t})),n[a]}function OY(e,t,r){const n=RY(t);return xA.set(e,r),n.observe(e),()=>{xA.delete(e),n.unobserve(e)}}const CY={some:0,all:1};class IY extends Mo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:a="some",once:i}=t,c={root:r?r.current:void 0,rootMargin:n,threshold:typeof a=="number"?a:CY[a]},f=m=>{const{isIntersecting:h}=m;if(this.isInView===h||(this.isInView=h,i&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:l,onViewportLeave:o}=this.node.getProps(),u=h?l:o;u&&u(m)};return OY(this.node.current,c,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(NY(t,r))&&this.startObserver()}unmount(){}}function NY({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const MY={inView:{Feature:IY},tap:{Feature:SY},focus:{Feature:PY},hover:{Feature:AY}},FY={layout:{ProjectionNode:CL,MeasureLayout:jL}},BY={..._K,...MY,...jY,...FY},ue=BG(BY,JG);/** 49 * @license lucide-react v0.487.0 - ISC 50 * 51 * This source code is licensed under the ISC license. 52 * See the LICENSE file in the root directory of this source tree. 53 */const UY=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),qY=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),wO=e=>{const t=qY(e);return t.charAt(0).toUpperCase()+t.slice(1)},IL=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/** 54 * @license lucide-react v0.487.0 - ISC 55 * 56 * This source code is licensed under the ISC license. 57 * See the LICENSE file in the root directory of this source tree. 58 */var LY={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 59 * @license lucide-react v0.487.0 - ISC 60 * 61 * This source code is licensed under the ISC license. 62 * See the LICENSE file in the root directory of this source tree. 63 */const DY=te.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:i,iconNode:c,...f},m)=>te.createElement("svg",{ref:m,...LY,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:IL("lucide",a),...f},[...c.map(([h,l])=>te.createElement(h,l)),...Array.isArray(i)?i:[i]]));/** 64 * @license lucide-react v0.487.0 - ISC 65 * 66 * This source code is licensed under the ISC license. 67 * See the LICENSE file in the root directory of this source tree. 68 */const Ut=(e,t)=>
68{const r=te.forwardRef(({className:n,...a},i)=>te.createElement(DY,{ref:i,iconNode:t,className:IL(`lucide-${UY(wO(e))}`,`lucide-${e}`,n),...a}));return r.displayName=wO(e),r};/** 69 * @license lucide-react v0.487.0 - ISC 70 * 71 * This source code is licensed under the ISC license. 72 * See the LICENSE file in the root directory of this source tree. 73 */const zY=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],VY=Ut("arrow-up-right",zY);/** 74 * @license lucide-react v0.487.0 - ISC 75 * 76 * This source code is licensed under the ISC license. 77 * See the LICENSE file in the root directory of this source tree. 78 */const HY=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],_O=Ut("arrow-up",HY);/** 79 * @license lucide-react v0.487.0 - ISC 80 * 81 * This source code is licensed under the ISC license. 82 * See the LICENSE file in the root directory of this source tree. 83 */const WY=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],NL=Ut("award",WY);/** 84 * @license lucide-react v0.487.0 - ISC 85 * 86 * This source code is licensed under the ISC license. 87 * See the LICENSE file in the root directory of this source tree. 88 */const GY=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],KY=Ut("beer",GY);/** 89 * @license lucide-react v0.487.0 - ISC 90 * 91 * This source code is licensed under the ISC license. 92 * See the LICENSE file in the root directory of this source tree. 93 */const YY=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],ZY=Ut("brain",YY);/** 94 * @license lucide-react v0.487.0 - ISC 95 * 96 * This source code is licensed under the ISC license. 97 * See the LICENSE file in the root directory of this source tree. 98 */const JY=[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],xO=Ut("camera",JY);/** 99 * @license lucide-react v0.487.0 - ISC 100 * 101 * This source code is licensed under the ISC license. 102 * See the LICENSE file in the root directory of this source tree. 103 */const QY=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],ML=Ut("circle-alert",QY);/** 104 * @license lucide-react v0.487.0 - ISC 105 * 106 * This source code is licensed under the ISC license. 107 * See the LICENSE file in the root directory of this source tree. 108 */const XY=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],$Y=Ut("circle-check-big",XY);/** 109 * @license lucide-react v0.487.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 */const eZ=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],EA=Ut("coins",eZ);/** 114 * @license lucide-react v0.487.0 - ISC 115 * 116 * This source code is licensed under the ISC license. 117 * See the LICENSE file in the root directory of this source tree. 118 */const tZ=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],rZ=Ut("copy",tZ);/** 119 * @license lucide-react v0.487.0 - ISC 120 * 121 * This source code is licensed under the ISC license. 122 * See the LICENSE file in the root directory of this source tree. 123 */const nZ=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],aZ=Ut("download",nZ);/** 124 * @license lucide-react v0.487.0 - ISC 125 * 126 * This source code is licensed under the ISC license. 127 * See the LICENSE file in the root directory of this source tree. 128 */const iZ=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],EO=Ut("flame",iZ);/** 129 * @license lucide-react v0.487.0 - ISC 130 * 131 * This source code is licensed under the ISC license. 132 * See the LICENSE file in the root directory of this source tree. 133 */const sZ=[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]],jO=Ut("hammer",sZ);/** 134 * @license lucide-react v0.487.0 - ISC 135 * 136 * This source code is licensed under the ISC license. 137 * See the LICENSE file in the root directory of this source tree. 138 */const oZ=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],cZ=Ut("heart",oZ);/** 139 * @license lucide-react v0.487.0 - ISC 140 * 141 * This source code is licensed under the ISC license. 142 * See the LICENSE file in the root directory of this source tree. 143 */const uZ=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],FL=Ut("image",uZ);/** 144 * @license lucide-react v0.487.0 - ISC 145 * 146 * This source code is licensed under the ISC license. 147 * See the LICENSE file in the root directory of this source tree. 148 */const lZ=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}
148],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],ol=Ut("loader",lZ);/** 149 * @license lucide-react v0.487.0 - ISC 150 * 151 * This source code is licensed under the ISC license. 152 * See the LICENSE file in the root directory of this source tree. 153 */const dZ=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],BL=Ut("lock",dZ);/** 154 * @license lucide-react v0.487.0 - ISC 155 * 156 * This source code is licensed under the ISC license. 157 * See the LICENSE file in the root directory of this source tree. 158 */const fZ=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],UL=Ut("message-circle",fZ);/** 159 * @license lucide-react v0.487.0 - ISC 160 * 161 * This source code is licensed under the ISC license. 162 * See the LICENSE file in the root directory of this source tree. 163 */const hZ=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],pZ=Ut("message-square",hZ);/** 164 * @license lucide-react v0.487.0 - ISC 165 * 166 * This source code is licensed under the ISC license. 167 * See the LICENSE file in the root directory of this source tree. 168 */const mZ=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],gZ=Ut("pause",mZ);/** 169 * @license lucide-react v0.487.0 - ISC 170 * 171 * This source code is licensed under the ISC license. 172 * See the LICENSE file in the root directory of this source tree. 173 */const yZ=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],bZ=Ut("play",yZ);/** 174 * @license lucide-react v0.487.0 - ISC 175 * 176 * This source code is licensed under the ISC license. 177 * See the LICENSE file in the root directory of this source tree. 178 */const vZ=[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]],AO=Ut("radio",vZ);/** 179 * @license lucide-react v0.487.0 - ISC 180 * 181 * This source code is licensed under the ISC license. 182 * See the LICENSE file in the root directory of this source tree. 183 */const wZ=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],PP=Ut("refresh-cw",wZ);/** 184 * @license lucide-react v0.487.0 - ISC 185 * 186 * This source code is licensed under the ISC license. 187 * See the LICENSE file in the root directory of this source tree. 188 */const _Z=[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]],xZ=Ut("repeat-2",_Z);/** 189 * @license lucide-react v0.487.0 - ISC 190 * 191 * This source code is licensed under the ISC license. 192 * See the LICENSE file in the root directory of this source tree. 193 */const EZ=[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]],jZ=Ut("reply",EZ);/** 194 * @license lucide-react v0.487.0 - ISC 195 * 196 * This source code is licensed under the ISC license. 197 * See the LICENSE file in the root directory of this source tree. 198 */const AZ=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],PZ=Ut("rocket",AZ);/** 199 * @license lucide-react v0.487.0 - ISC 200 * 201 * This source code is licensed under the ISC license. 202 * See the LICENSE file in the root directory of this source tree. 203 */const SZ=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],kZ=Ut("search",SZ);/** 204 * @license lucide-react v0.487.0 - ISC 205 * 206 * This source code is licensed under the ISC license. 207 * See the LICENSE file in the root directory of this source tree. 208 */const TZ=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],PO=Ut("send",TZ);/** 209 * @license lucide-react v0.487.0 - ISC 210 * 211 * This source code is licensed under the ISC license. 212 * See the LICENSE file in the root directory of this source tree. 213 */const RZ=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],qL=Ut("share-2",RZ);/** 214 * @license lucide-react v0.487.0 - ISC 215 * 216 * This source code is licensed under the ISC license. 217 * See the LICENSE file in the root directory of this source tree. 218 */const OZ=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],CZ=Ut("smartphone",OZ);/** 219 * @license lucide-react v0.487.0 - ISC 220 * 221 * This source code is licensed under the ISC license. 222 * See the LICENSE file in the root directory of this source tree. 223 */const IZ=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],SP=Ut("sparkles",IZ);/** 224 * @license lucide-react v0.487.0 - ISC 225 * 226 * This source code is licensed under the ISC license. 227 * See the LICENSE file in the root directory of this source tree. 228 */const NZ=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],MZ=Ut("star",NZ);/** 229 * @license lucide-react v0.487.0 - ISC 230 * 231 * This source code is licensed under the ISC license. 232 * See the LICENSE file in the root directory of this source tree. 233 */const FZ=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],BZ=Ut("sun",FZ);/** 234 * @license lucide-react v0.487.0 - ISC 235 * 236 * This source code is licensed under the ISC license. 237 * See the LICENSE file in the root directory of this source tree. 238 */const UZ=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
238],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],qZ=Ut("trash-2",UZ);/** 239 * @license lucide-react v0.487.0 - ISC 240 * 241 * This source code is licensed under the ISC license. 242 * See the LICENSE file in the root directory of this source tree. 243 */const LZ=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],LL=Ut("trending-up",LZ);/** 244 * @license lucide-react v0.487.0 - ISC 245 * 246 * This source code is licensed under the ISC license. 247 * See the LICENSE file in the root directory of this source tree. 248 */const DZ=[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]],zZ=Ut("trophy",DZ);/** 249 * @license lucide-react v0.487.0 - ISC 250 * 251 * This source code is licensed under the ISC license. 252 * See the LICENSE file in the root directory of this source tree. 253 */const VZ=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],DL=Ut("user-plus",VZ);/** 254 * @license lucide-react v0.487.0 - ISC 255 * 256 * This source code is licensed under the ISC license. 257 * See the LICENSE file in the root directory of this source tree. 258 */const HZ=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Av=Ut("users",HZ);/** 259 * @license lucide-react v0.487.0 - ISC 260 * 261 * This source code is licensed under the ISC license. 262 * See the LICENSE file in the root directory of this source tree. 263 */const WZ=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],GZ=Ut("x",WZ);/** 264 * @license lucide-react v0.487.0 - ISC 265 * 266 * This source code is licensed under the ISC license. 267 * See the LICENSE file in the root directory of this source tree. 268 */const KZ=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],zL=Ut("zap",KZ),YZ="https://api.neynar.com/v2";async function T_(e,t,r={}){try{fetch("/api/neynar-logs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fid:e,endpoint:t,method:r.method||"GET",statusCode:r.statusCode,responseTimeMs:r.responseTimeMs,creditsUsed:r.creditsUsed||0,error:r.error,pageNumber:r.pageNumber,metadata:r.metadata})}).catch(n=>{console.warn("Failed to log Neynar API call:",n)})}catch(n){console.warn("Error logging Neynar API call:",n)}}async function R_(e,t,r,n){const a=Date.now();try{const i="0E5C8F34-B9F5-44F0-8A4F-AEEECD5FF738";console.log(`ð¬ Sending notification to FID ${e}...`);const c=t.length>32?t.substring(0,29)+"...":t,f=await fetch(`${YZ}/farcaster/frame/notifications`,{method:"POST",headers:{"Content-Type":"application/json",api_key:i},body:JSON.stringify({target_fids:[e],notification:{title:c,body:r,target_url:n||window.location.origin,uuid:"5fe9da93-eb6e-477f-b1e6-92d9fcca6a47"}})}),m=Date.now()-a;if(!f.ok){const l=await f.text();if(await T_(e,"farcaster/frame/notifications",{method:"POST",statusCode:f.status,responseTimeMs:m,creditsUsed:0,error:l}),console.error("â Notification failed:",f.status,l),!void 0)return console.warn("â ï¸ No signer_uuid configured, skipping cast fallback"),{success:!1,error:"Notification failed and no signer_uuid for fallback"}}const h=await f.json();if(console.log("â Frame notification response:",h),await T_(e,"farcaster/frame/notifications",{method:"POST",statusCode:200,responseTimeMs:m,creditsUsed:1,metadata:{delivered:h.notification_deliveries?.length>0,deliveriesCount:h.notification_deliveries?.length||0}}),h.notification_deliveries&&h.notification_deliveries.length===0){console.warn("â ï¸ Frame notification accepted but not delivered (user may
268not have miniapp added)");const l=void 0}return{success:!0}}catch(i){const c=Date.now()-a;return await T_(e,"farcaster/frame/notifications",{method:"POST",statusCode:500,responseTimeMs:c,creditsUsed:0,error:i?.message||"Unknown error"}),console.error("â Error sending notification:",i),{success:!1,error:i.message||"Failed to send notification"}}}function O_(e,t){localStorage.setItem(`notification_pref_${e}`,t.toString())}function ZZ(e){return localStorage.getItem(`notification_pref_${e}`)==="true"}function JZ(){const e=[];for(let t=0;t<localStorage.length;t++){const r=localStorage.key(t);r&&(r.startsWith("notification_pref_")||r==="last_notification_fid")&&e.push(r)}e.forEach(t=>localStorage.removeItem(t)),console.log("ð Notification state reset! Cleared keys:",e),console.log("ð Reload the page to see changes.")}let kP=class extends Error{name="BaseError";cause;constructor(t,r={}){super(t,r.cause?{cause:r.cause}:void 0),this.cause=r.cause}};class QZ extends kP{name="AddMiniApp.InvalidDomainManifest";constructor(){super("Invalid domain manifest")}}let XZ=class extends kP{name="AddMiniApp.RejectedByUser";constructor(){super("Add frame rejected by user")}};class VL extends kP{name="SignIn.RejectedByUser";constructor(){super("Sign in rejected by user")}}const $Z=["wallet.getEthereumProvider","wallet.getSolanaProvider","actions.ready","actions.openUrl","actions.close","actions.setPrimaryButton","actions.addMiniApp","actions.signIn","actions.viewCast","actions.viewProfile","actions.composeCast","actions.viewToken","actions.sendToken","actions.swapToken","haptics.impactOccurred","haptics.notificationOccurred","haptics.selectionChanged","back"];var ir;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function r(a){throw new Error}e.assertNever=r,e.arrayToEnum=a=>{const i={};for(const c of a)i[c]=c;return i},e.getValidEnumValues=a=>{const i=e.objectKeys(a).filter(f=>typeof a[a[f]]!="number"),c={};for(const f of i)c[f]=a[f];return e.objectValues(c)},e.objectValues=a=>e.objectKeys(a).map(function(i){return a[i]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&i.push(c);return i},e.find=(a,i)=>{for(const c of a)if(i(c))return c},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function n(a,i=" | "){return a.map(c=>typeof c=="string"?`'${c}'`:c).join(i)}e.joinValues=n,e.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(ir||(ir={}));var SO;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(SO||(SO={}));const nt=ir.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ao=e=>{switch(typeof e){case"undefined":return nt.undefined;case"string":return nt.string;case"number":return Number.isNaN(e)?nt.nan:nt.number;case"boolean":return nt.boolean;case"function":return nt.function;case"bigint":return nt.bigint;case"symbol":return nt.symbol;case"object":return Array.isArray(e)?nt.array:e===null?nt.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?nt.promise:typeof Map<"u"&&e instanceof Map?nt.map:typeof Set<"u"&&e instanceof Set?nt.set:typeof Date<"u"&&e instanceof Date?nt.date:nt.object;default:return nt.unknown}}
vendor: 38,761 bytes, line 268
268,Le=ir.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class zs extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}format(t){const r=t||function(i){return i.message},n={_errors:[]},a=i=>{for(const c of i.issues)if(c.code==="invalid_union")c.unionErrors.map(a);else if(c.code==="invalid_return_type")a(c.returnTypeError);else if(c.code==="invalid_arguments")a(c.argumentsError);else if(c.path.length===0)n._errors.push(r(c));else{let f=n,m=0;for(;m<c.path.length;){const h=c.path[m];m===c.path.length-1?(f[h]=f[h]||{_errors:[]},f[h]._errors.push(r(c))):f[h]=f[h]||{_errors:[]},f=f[h],m++}}};return a(this),n}static assert(t){if(!(t instanceof zs))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ir.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const a of this.issues)if(a.path.length>0){const i=a.path[0];r[i]=r[i]||[],r[i].push(t(a))}else n.push(t(a));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}zs.create=e=>new zs(e);const jA=(e,t)=>{let r;switch(e.code){case Le.invalid_type:e.received===nt.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case Le.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,ir.jsonStringifyReplacer)}`;break;case Le.unrecognized_keys:r=`Unrecognized key(s) in object: ${ir.joinValues(e.keys,", ")}`;break;case Le.invalid_union:r="Invalid input";break;case Le.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${ir.joinValues(e.options)}`;break;case Le.invalid_enum_value:r=`Invalid enum value. Expected ${ir.joinValues(e.options)}, received '${e.received}'`;break;case Le.invalid_arguments:r="Invalid function arguments";break;case Le.invalid_return_type:r="Invalid function return type";break;case Le.invalid_date:r="Invalid date";break;case Le.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:ir.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case Le.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case Le.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case Le.custom:r="Invalid input";break;case Le.invalid_intersection_types:r="Intersection results could not be merged";break;case Le.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case Le.not_finite:r="Number must be finite";break;default:r=t.defaultError,ir.assertNever(e)}return{message:r}};let eJ=jA;function tJ(){return eJ}const rJ=e=>{const{data:t,path:r,errorMaps:n,issueData:a}=e,i=[...r,...a.path||[]],c={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let f="";const m=n.filter(h=>!!h).slice().reverse();for(const h of m)f=h(c,{data:t,defaultError:f}).message;return{...a,path:i,message:f}};function Ke(e,t){const r=tJ(),n=rJ({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===jA?void 0:jA].filter(a=>!!a)});e.common.issues.push(n)}class Ba{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const a of r){if(a.status==="aborted")return St;a.status==="dirty"&&t.dirty(),n.push(a.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const a of r){const i=await a.key,c=await a.value;n.push({key:i,value:c})}return Ba.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const a of r){const{key:i,value:c}=a;if(i.status==="aborted"||c.status==="aborted")return St;i.status==="dirty"&&t.dirty(),c.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof c.value<"u"||a.alwaysSet)&&(n[i.value]=c.value)}return{status:t.value,value:n}}}const St=Object.freeze({status:"aborted"}),Sg=e=>({status:"dirty",value:e}),ti=e=>({status:"valid",value:e}),kO=e=>e.status==="aborted",TO=e=>e.status==="dirty",Nl=e=>e.status==="valid",Pv=e=>typeof Promise<"u"&&e instanceof Promise;var ut;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(ut||(ut={}));class Io{constructor(t,r,n,a){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const RO=(e,t)=>{if(Nl(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new zs(e.common.issues);return this._error=r,this._error}}};function Dt(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:a}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(c,f)=>{const{message:m}=e;return c.code==="invalid_enum_value"?{message:m??f.defaultError}:typeof f.data>"u"?{message:m??n??f.defaultError}:c.code!=="invalid_type"?{message:f.defaultError}:{message:m??r??f.defaultError}},description:a}}class $t{get description(){return this._def.description}_getType(t){return Ao(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:Ao(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Ba,ctx:{common:t.parent.common,data:t.data,parsedType:Ao(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(Pv(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){const n={common:{issues:[],async:r?.async??!1,contextualErrorMap:r?.errorMap},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ao(t)},a=this._parseSync({data:t,path:n.path,parent:n});return RO(n,a)}"~validate"(t){const r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ao(t)};if(!this["~standard"].async)try{const n=this._parseSync({data:t,path:[],parent:r});return Nl(n)?{value:n.value}:{issues:r.common.issues}}catch(n){n?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:r}).then(n=>Nl(n)?{value:n.value}:{issues:r.common.issues})}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r?.errorMap,async:!0},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ao(t)},a=this._parse({data:t,path:n.path,parent:n}),i=await(Pv(a)?a:Promise.resolve(a));return RO(n,i)}refine(t,r){const n=a=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(a):r;return this._refinement((a,i)=>{const c=t(a),f=()=>i.addIssue({code:Le.custom,...n(a)});return typeof Promise<"u"&&c instanceof Promise?c.then(m=>m?!0:(f(),!1)):c?!0:(f(),!1)})}refinement(t,r){return this._refinement((n,a)=>t(n)?!0:(a.addIssue(typeof r=="function"?r(n,a):r),!1))}_refinement(t){return new cu({schema:this,typeName:Tt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return qs.create(this,this._def)}nullable(){return uu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Hi.create(this)}promise(){return Ov.create(this,this._def)}or(t){return kv.create([this,t],this._def)}and(t){return Tv.create(this,t,this._def)}transform(t){return new cu({...Dt(this._def),schema:this,typeName:Tt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new Cv({...Dt(this._def),innerType:this,defaultValue:r,typeName:Tt.ZodDefault})}brand(){return new KL({typeName:Tt.ZodBranded,type:this,...Dt(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new Iv({...Dt(this._def),innerType:this,catchValue:r,typeName:Tt.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return RP.create(this,t)}readonly(){return Nv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const nJ=/^c[^\s-]{8,}$/i,aJ=/^[0-9a-z]+$/,iJ=/^[0-9A-HJKMNP-TV-Z]{26}$/i,sJ=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,oJ=/^[a-z0-9_-]{21}$/i,cJ=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,uJ=/^[-+]?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)?)??$/,lJ=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,dJ="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let C_;const fJ=/^(?:(?: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])$/,hJ=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,pJ=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,mJ=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,gJ=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,yJ=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,HL="((\\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])))",bJ=new RegExp(`^${HL}$`);function WL(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const r=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${r}`}function vJ(e){return new RegExp(`^${WL(e)}$`)}function wJ(e){let t=`${HL}T${WL(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function _J(e,t){return!!((t==="v4"||!t)&&fJ.test(e)||(t==="v6"||!t)&&pJ.test(e))}function xJ(e,t){if(!cJ.test(e))return!1;try{const[r]=e.split(".");if(!r)return!1;const n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),a=JSON.parse(atob(n));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function EJ(e,t){return!!((t==="v4"||!t)&&hJ.test(e)||(t==="v6"||!t)&&mJ.test(e))}class Po extends $t{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==nt.string){const i=this._getOrReturnCtx(t);return Ke(i,{code:Le.invalid_type,expected:nt.string,received:i.parsedType}),St}const n=new Ba;let a;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="max")t.data.length>i.value&&(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="length"){const c=t.data.length>i.value,f=t.data.length<i.value;(c||f)&&(a=this._getOrReturnCtx(t,a),c?Ke(a,{code:Le.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):f&&Ke(a,{code:Le.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if(i.kind==="email")lJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"email",code:Le.invalid_string,message:i.message}),n.dirty());else if(i.kind==="emoji")C_||(C_=new RegExp(dJ,"u")),C_.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"emoji",code:Le.invalid_string,message:i.message}),n.dirty());else if(i.kind==="uuid")sJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"uuid",code:Le.invalid_string,message:i.message}),n.dirty());else if(i.kind==="nanoid")oJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"nanoid",code:Le.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid")nJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"cuid",code:Le.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid2")aJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"cuid2",code:Le.invalid_string,message:i.message}),n.dirty());else if(i.kind==="ulid")iJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"ulid",code:Le.invalid_string,message:i.message}),n.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Ke(a,{validation:"url",code:Le.invalid_string,message:i.message}),n.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"regex",code:Le.invalid_string,message:i.message}),n.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):i.kind==="datetime"?wJ(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.invalid_string,validation:"datetime",message:i.message}),n.dirty()):i.kind==="date"?bJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.invalid_string,validation:"date",message:i.message}),n.dirty()):i.kind==="time"?vJ(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.invalid_string,validation:"time",message:i.message}),n.dirty()):i.kind==="duration"?uJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"duration",code:Le.invalid_string,message:i.message}),n.dirty()):i.kind==="ip"?_J(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"ip",code:Le.invalid_string,message:i.message}),n.dirty()):i.kind==="jwt"?xJ(t.data,i.alg)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"jwt",code:Le.invalid_string,message:i.message}),n.dirty()):i.kind==="cidr"?EJ(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"cidr",code:Le.invalid_string,message:i.message}),n.dirty()):i.kind==="base64"?gJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"base64",code:Le.invalid_string,message:i.message}),n.dirty()):i.kind==="base64url"?yJ.test(t.data)||(a=this._getOrReturnCtx(t,a),Ke(a,{validation:"base64url",code:Le.invalid_string,message:i.message}),n.dirty()):ir.assertNever(i);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(a=>t.test(a),{validation:r,code:Le.invalid_string,...ut.errToObj(n)})}_addCheck(t){return new Po({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...ut.errToObj(t)})}url(t){return this._addCheck({kind:"url",...ut.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...ut.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...ut.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...ut.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...ut.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...ut.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...ut.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...ut.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...ut.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...ut.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...ut.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...ut.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...ut.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...ut.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...ut.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...ut.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r?.position,...ut.errToObj(r?.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...ut.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...ut.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...ut.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...ut.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...ut.errToObj(r)})}nonempty(t){return this.min(1,ut.errToObj(t))}trim(){return new Po({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Po({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Po({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Po.create=e=>new Po({checks:[],typeName:Tt.ZodString,coerce:e?.coerce??!1,...Dt(e)});function jJ(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,a=r>n?r:n,i=Number.parseInt(e.toFixed(a).replace(".","")),c=Number.parseInt(t.toFixed(a).replace(".",""));return i%c/10**a}class Ml extends $t{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==nt.number){const i=this._getOrReturnCtx(t);return Ke(i,{code:Le.invalid_type,expected:nt.number,received:i.parsedType}),St}let n;const a=new Ba;for(const i of this._def.checks)i.kind==="int"?ir.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?jJ(t.data,i.value)!==0&&(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.not_finite,message:i.message}),a.dirty()):ir.assertNever(i);return{status:a.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,ut.toString(r))}gt(t,r){return this.setLimit("min",t,!1,ut.toString(r))}lte(t,r){return this.setLimit("max",t,!0,ut.toString(r))}lt(t,r){return this.setLimit("max",t,!1,ut.toString(r))}setLimit(t,r,n,a){return new Ml({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:ut.toString(a)}]})}_addCheck(t){return new Ml({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:ut.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ut.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ut.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ut.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ut.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:ut.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:ut.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ut.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ut.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&ir.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}Ml.create=e=>new Ml({checks:[],typeName:Tt.ZodNumber,coerce:e?.coerce||!1,...Dt(e)});class Lg extends $t{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==nt.bigint)return this._getInvalidInput(t);let n;const a=new Ba;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),Ke(n,{code:Le.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):ir.assertNever(i);return{status:a.value,value:t.data}}_getInvalidInput(t){const r=this._getOrReturnCtx(t);return Ke(r,{code:Le.invalid_type,expected:nt.bigint,received:r.parsedType}),St}gte(t,r){return this.setLimit("min",t,!0,ut.toString(r))}gt(t,r){return this.setLimit("min",t,!1,ut.toString(r))}lte(t,r){return this.setLimit("max",t,!0,ut.toString(r))}lt(t,r){return this.setLimit("max",t,!1,ut.toString(r))}setLimit(t,r,n,a){return new Lg({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:ut.toString(a)}]})}_addCheck(t){return new Lg({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ut.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ut.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ut.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ut.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:ut.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Lg.create=e=>new Lg({checks:[],typeName:Tt.ZodBigInt,coerce:e?.coerce??!1,...Dt(e)});class AA extends $t{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==nt.boolean){const n=this._getOrReturnCtx(t);return Ke(n,{code:Le.invalid_type,expected:nt.boolean,received:n.parsedType}),St}return ti(t.data)}}AA.create=e=>new AA({typeName:Tt.ZodBoolean,coerce:e?.coerce||!1,...Dt(e)});class Sv extends $t{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==nt.date){const i=this._getOrReturnCtx(t);return Ke(i,{code:Le.invalid_type,expected:nt.date,received:i.parsedType}),St}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Ke(i,{code:Le.invalid_date}),St}const n=new Ba;let a;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(a=this._getOrReturnCtx(t,a),Ke(a,{code:Le.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):ir.assertNever(i);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Sv({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:ut.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:ut.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}Sv.create=e=>new Sv({checks:[],coerce:e?.coerce||!1,typeName:Tt.ZodDate,...Dt(e)});class OO extends $t{_parse(t){if(this._getType(t)!==nt.symbol){const n=this._getOrReturnCtx(t);return Ke(n,{code:Le.invalid_type,expected:nt.symbol,received:n.parsedType}),St}return ti(t.data)}}OO.create=e=>new OO({typeName:Tt.ZodSymbol,...Dt(e)});class PA extends $t{_parse(t){if(this._getType(t)!==nt.undefined){const n=this._getOrReturnCtx(t);return Ke(n,{code:Le.invalid_type,expected:nt.undefined,received:n.parsedType}),St}return ti(t.data)}}PA.create=e=>new PA({typeName:Tt.ZodUndefined,...Dt(e)});class SA extends $t{_parse(t){if(this._getType(t)!==nt.null){const n=this._getOrReturnCtx(t);return Ke(n,{code:Le.invalid_type,expected:nt.null,received:n.parsedType}),St}return ti(t.data)}}SA.create=e=>new SA({typeName:Tt.ZodNull,...Dt(e)});class CO extends $t{constructor(){super(...arguments),this._any=!0}_parse(t){return ti(t.data)}}CO.create=e=>new CO({typeName:Tt.ZodAny,...Dt(e)});class IO extends $t{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ti(t.data)}}IO.create=e=>new IO({typeName:Tt.ZodUnknown,...Dt(e)});class No extends $t{_parse(t){const r=this._getOrReturnCtx(t);return Ke(r,{code:Le.invalid_type,expected:nt.never,received:r.parsedType}),St}}No.create=e=>new No({typeName:Tt.ZodNever,...Dt(e)});class NO extends $t{_parse(t){if(this._getType(t)!==nt.undefined){const n=this._getOrReturnCtx(t);return Ke(n,{code:Le.invalid_type,expected:nt.void,received:n.parsedType}),St}return ti(t.data)}}NO.create=e=>new NO({typeName:Tt.ZodVoid,...Dt(e)});class Hi extends $t{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),a=this._def;if(r.parsedType!==nt.array)return Ke(r,{code:Le.invalid_type,expected:nt.array,received:r.parsedType}),St;if(a.exactLength!==null){const c=r.data.length>a.exactLength.value,f=r.data.length<a.exactLength.value;(c||f)&&(Ke(r,{code:c?Le.too_big:Le.too_small,minimum:f?a.exactLength.value:void 0,maximum:c?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),n.dirty())}if(a.minLength!==null&&r.data.length<a.minLength.value&&(Ke(r,{code:Le.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),n.dirty()),a.maxLength!==null&&r.data.length>a.maxLength.value&&(Ke(r,{code:Le.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((c,f)=>a.type._parseAsync(new Io(r,c,r.path,f)))).then(c=>Ba.mergeArray(n,c));const i=[...r.data].map((c,f)=>a.type._parseSync(new Io(r,c,r.path,f)));return Ba.mergeArray(n,i)}get element(){return this._def.type}min(t,r){return new Hi({...this._def,minLength:{value:t,message:ut.toString(r)}})}max(t,r){return new Hi({...this._def,maxLength:{value:t,message:ut.toString(r)}})}length(t,r){return new Hi({...this._def,exactLength:{value:t,message:ut.toString(r)}})}nonempty(t){return this.min(1,t)}}Hi.create=(e,t)=>new Hi({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Tt.ZodArray,...Dt(t)});function yl(e){if(e instanceof en){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=qs.create(yl(n))}return new en({...e._def,shape:()=>t})}else return e instanceof Hi?new Hi({...e._def,type:yl(e.element)}):e instanceof qs?qs.create(yl(e.unwrap())):e instanceof uu?uu.create(yl(e.unwrap())):e instanceof su?su.create(e.items.map(t=>yl(t))):e}class en extends $t{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=ir.objectKeys(t);return this._cached={shape:t,keys:r},this._cached}_parse(t){if(this._getType(t)!==nt.object){const h=this._getOrReturnCtx(t);return Ke(h,{code:Le.invalid_type,expected:nt.object,received:h.parsedType}),St}const{status:n,ctx:a}=this._processInputParams(t),{shape:i,keys:c}=this._getCached(),f=[];if(!(this._def.catchall instanceof No&&this._def.unknownKeys==="strip"))for(const h in a.data)c.includes(h)||f.push(h);const m=[];for(const h of c){const l=i[h],o=a.data[h];m.push({key:{status:"valid",value:h},value:l._parse(new Io(a,o,a.path,h)),alwaysSet:h in a.data})}if(this._def.catchall instanceof No){const h=this._def.unknownKeys;if(h==="passthrough")for(const l of f)m.push({key:{status:"valid",value:l},value:{status:"valid",value:a.data[l]}});else if(h==="strict")f.length>0&&(Ke(a,{code:Le.unrecognized_keys,keys:f}),n.dirty());else if(h!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const h=this._def.catchall;for(const l of f){const o=a.data[l];m.push({key:{status:"valid",value:l},value:h._parse(new Io(a,o,a.path,l)),alwaysSet:l in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const h=[];for(const l of m){const o=await l.key,u=await l.value;h.push({key:o,value:u,alwaysSet:l.alwaysSet})}return h}).then(h=>Ba.mergeObjectSync(n,h)):Ba.mergeObjectSync(n,m)}get shape(){return this._def.shape()}strict(t){return ut.errToObj,new en({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{const a=this._def.errorMap?.(r,n).message??n.defaultError;return r.code==="unrecognized_keys"?{message:ut.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new en({...this._def,unknownKeys:"strip"})}passthrough(){return new en({...this._def,unknownKeys:"passthrough"})}extend(t){return new en({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new en({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Tt.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new en({...this._def,catchall:t})}pick(t){const r={};for(const n of ir.objectKeys(t))t[n]&&this.shape[n]&&(r[n]=this.shape[n]);return new en({...this._def,shape:()=>r})}omit(t){const r={};for(const n of ir.objectKeys(this.shape))t[n]||(r[n]=this.shape[n]);return new en({...this._def,shape:()=>r})}deepPartial(){return yl(this)}partial(t){const r={};for(const n of ir.objectKeys(this.shape)){const a=this.shape[n];t&&!t[n]?r[n]=a:r[n]=a.optional()}return new en({...this._def,shape:()=>r})}required(t){const r={};for(const n of ir.objectKeys(this.shape))if(t&&!t[n])r[n]=this.shape[n];else{let i=this.shape[n];for(;i instanceof qs;)i=i._def.innerType;r[n]=i}return new en({...this._def,shape:()=>r})}keyof(){return GL(ir.objectKeys(this.shape))}}en.create=(e,t)=>new en({shape:()=>e,unknownKeys:"strip",catchall:No.create(),typeName:Tt.ZodObject,...Dt(t)});en.strictCreate=(e,t)=>new en({shape:()=>e,unknownKeys:"strict",catchall:No.create(),typeName:Tt.ZodObject,...Dt(t)});en.lazycreate=(e,t)=>new en({shape:e,unknownKeys:"strip",catchall:No.create(),typeName:Tt.ZodObject,...Dt(t)});class kv extends $t{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function a(i){for(const f of i)if(f.result.status==="valid")return f.result;for(const f of i)if(f.result.status==="dirty")return r.common.issues.push(...f.ctx.common.issues),f.result;const c=i.map(f=>new zs(f.ctx.common.issues));return Ke(r,{code:Le.invalid_union,unionErrors:c}),St}if(r.common.async)return Promise.all(n.map(async i=>{const c={...r,common:{...r.common,issues:[]},parent:null};return{result:await i._parseAsync({data:r.data,path:r.path,parent:c}),ctx:c}})).then(a);{let i;const c=[];for(const m of n){const h={...r,common:{...r.common,issues:[]},parent:null},l=m._parseSync({data:r.data,path:r.path,parent:h});if(l.status==="valid")return l;l.status==="dirty"&&!i&&(i={result:l,ctx:h}),h.common.issues.length&&c.push(h.common.issues)}if(i)return r.common.issues.push(...i.ctx.common.issues),i.result;const f=c.map(m=>new zs(m));return Ke(r,{code:Le.invalid_union,unionErrors:f}),St}}get options(){return this._def.options}}kv.create=(e,t)=>
vendor: 4,944 bytes, line 268
268new kv({options:e,typeName:Tt.ZodUnion,...Dt(t)});const Ns=e=>e instanceof TA?Ns(e.schema):e instanceof cu?Ns(e.innerType()):e instanceof Rv?[e.value]:e instanceof ou?e.options:e instanceof RA?ir.objectValues(e.enum):e instanceof Cv?Ns(e._def.innerType):e instanceof PA?[void 0]:e instanceof SA?[null]:e instanceof qs?[void 0,...Ns(e.unwrap())]:e instanceof uu?[null,...Ns(e.unwrap())]:e instanceof KL||e instanceof Nv?Ns(e.unwrap()):e instanceof Iv?Ns(e._def.innerType):[];class TP extends $t{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==nt.object)return Ke(r,{code:Le.invalid_type,expected:nt.object,received:r.parsedType}),St;const n=this.discriminator,a=r.data[n],i=this.optionsMap.get(a);return i?r.common.async?i._parseAsync({data:r.data,path:r.path,parent:r}):i._parseSync({data:r.data,path:r.path,parent:r}):(Ke(r,{code:Le.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),St)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const a=new Map;for(const i of r){const c=Ns(i.shape[t]);if(!c.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const f of c){if(a.has(f))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(f)}`);a.set(f,i)}}return new TP({typeName:Tt.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:a,...Dt(n)})}}function kA(e,t){const r=Ao(e),n=Ao(t);if(e===t)return{valid:!0,data:e};if(r===nt.object&&n===nt.object){const a=ir.objectKeys(t),i=ir.objectKeys(e).filter(f=>a.indexOf(f)!==-1),c={...e,...t};for(const f of i){const m=kA(e[f],t[f]);if(!m.valid)return{valid:!1};c[f]=m.data}return{valid:!0,data:c}}else if(r===nt.array&&n===nt.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let i=0;i<e.length;i++){const c=e[i],f=t[i],m=kA(c,f);if(!m.valid)return{valid:!1};a.push(m.data)}return{valid:!0,data:a}}else return r===nt.date&&n===nt.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Tv extends $t{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),a=(i,c)=>{if(kO(i)||kO(c))return St;const f=kA(i.value,c.value);return f.valid?((TO(i)||TO(c))&&r.dirty(),{status:r.value,value:f.data}):(Ke(n,{code:Le.invalid_intersection_types}),St)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([i,c])=>a(i,c)):a(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}Tv.create=(e,t,r)=>new Tv({left:e,right:t,typeName:Tt.ZodIntersection,...Dt(r)});class su extends $t{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==nt.array)return Ke(n,{code:Le.invalid_type,expected:nt.array,received:n.parsedType}),St;if(n.data.length<this._def.items.length)return Ke(n,{code:Le.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),St;!this._def.rest&&n.data.length>this._def.items.length&&(Ke(n,{code:Le.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const i=[...n.data].map((c,f)=>{const m=this._def.items[f]||this._def.rest;return m?m._parse(new Io(n,c,n.path,f)):null}).filter(c=>!!c);return n.common.async?Promise.all(i).then(c=>Ba.mergeArray(r,c)):Ba.mergeArray(r,i)}get items(){return this._def.items}rest(t){return new su({...this._def,rest:t})}}su.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new su({items:e,typeName:Tt.ZodTuple,rest:null,...Dt(t)})};class MO extends $t{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==nt.map)return Ke(n,{code:Le.invalid_type,expected:nt.map,received:n.parsedType}),St;const a=this._def.keyType,i=this._def.valueType,c=[...n.data.entries()].map(([f,m],h)=>({key:a._parse(new Io(n,f,n.path,[h,"key"])),value:i._parse(new Io(n,m,n.path,[h,"value"]))}));if(n.common.async){const f=new Map;return Promise.resolve().then(async()=>{for(const m of c){const h=await m.key,l=await m.value;if(h.status==="aborted"||l.status==="aborted")return St;(h.status==="dirty"||l.status==="dirty")&&r.dirty(),f.set(h.value,l.value)}return{status:r.value,value:f}})}else{const f=new Map;for(const m of c){const h=m.key,l=m.value;if(h.status==="aborted"||l.status==="aborted")return St;(h.status==="dirty"||l.status==="dirty")&&r.dirty(),f.set(h.value,l.value)}return{status:r.value,value:f}}}}MO.create=(e,t,r)=>new MO({valueType:t,keyType:e,typeName:Tt.ZodMap,...Dt(r)});class Dg extends $t{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==nt.set)return Ke(n,{code:Le.invalid_type,expected:nt.set,received:n.parsedType}),St;
vendor: 5,938 bytes, line 268
268const a=this._def;a.minSize!==null&&n.data.size<a.minSize.value&&(Ke(n,{code:Le.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),r.dirty()),a.maxSize!==null&&n.data.size>a.maxSize.value&&(Ke(n,{code:Le.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),r.dirty());const i=this._def.valueType;function c(m){const h=new Set;for(const l of m){if(l.status==="aborted")return St;l.status==="dirty"&&r.dirty(),h.add(l.value)}return{status:r.value,value:h}}const f=[...n.data.values()].map((m,h)=>i._parse(new Io(n,m,n.path,h)));return n.common.async?Promise.all(f).then(m=>c(m)):c(f)}min(t,r){return new Dg({...this._def,minSize:{value:t,message:ut.toString(r)}})}max(t,r){return new Dg({...this._def,maxSize:{value:t,message:ut.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}Dg.create=(e,t)=>new Dg({valueType:e,minSize:null,maxSize:null,typeName:Tt.ZodSet,...Dt(t)});class TA extends $t{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}TA.create=(e,t)=>new TA({getter:e,typeName:Tt.ZodLazy,...Dt(t)});class Rv extends $t{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return Ke(r,{received:r.data,code:Le.invalid_literal,expected:this._def.value}),St}return{status:"valid",value:t.data}}get value(){return this._def.value}}Rv.create=(e,t)=>new Rv({value:e,typeName:Tt.ZodLiteral,...Dt(t)});function GL(e,t){return new ou({values:e,typeName:Tt.ZodEnum,...Dt(t)})}class ou extends $t{_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return Ke(r,{expected:ir.joinValues(n),received:r.parsedType,code:Le.invalid_type}),St}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return Ke(r,{received:r.data,code:Le.invalid_enum_value,options:n}),St}return ti(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return ou.create(t,{...this._def,...r})}exclude(t,r=this._def){return ou.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}ou.create=GL;class RA extends $t{_parse(t){const r=ir.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==nt.string&&n.parsedType!==nt.number){const a=ir.objectValues(r);return Ke(n,{expected:ir.joinValues(a),received:n.parsedType,code:Le.invalid_type}),St}if(this._cache||(this._cache=new Set(ir.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=ir.objectValues(r);return Ke(n,{received:n.data,code:Le.invalid_enum_value,options:a}),St}return ti(t.data)}get enum(){return this._def.values}}RA.create=(e,t)=>new RA({values:e,typeName:Tt.ZodNativeEnum,...Dt(t)});class Ov extends $t{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==nt.promise&&r.common.async===!1)return Ke(r,{code:Le.invalid_type,expected:nt.promise,received:r.parsedType}),St;const n=r.parsedType===nt.promise?r.data:Promise.resolve(r.data);return ti(n.then(a=>this._def.type.parseAsync(a,{path:r.path,errorMap:r.common.contextualErrorMap})))}}Ov.create=(e,t)=>new Ov({type:e,typeName:Tt.ZodPromise,...Dt(t)});class cu extends $t{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Tt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),a=this._def.effect||null,i={addIssue:c=>{Ke(n,c),c.fatal?r.abort():r.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const c=a.transform(n.data,i);if(n.common.async)return Promise.resolve(c).then(async f=>{if(r.value==="aborted")return St;const m=await this._def.schema._parseAsync({data:f,path:n.path,parent:n});return m.status==="aborted"?St:m.status==="dirty"||r.value==="dirty"?Sg(m.value):m});{if(r.value==="aborted")return St;const f=this._def.schema._parseSync({data:c,path:n.path,parent:n});return f.status==="aborted"?St:f.status==="dirty"||r.value==="dirty"?Sg(f.value):f}}if(a.type==="refinement"){const c=f=>{const m=a.refinement(f,i);if(n.common.async)return Promise.resolve(m);if(m instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return f};if(n.common.async===!1){const f=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return f.status==="aborted"?St:(f.status==="dirty"&&r.dirty(),c(f.value),{status:r.value,value:f.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(f=>f.status==="aborted"?St:(f.status==="dirty"&&r.dirty(),c(f.value).then(()=>({status:r.value,value:f.value}))))}if(a.type==="transform")if(n.common.async===!1){const c=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Nl(c))return St;const f=a.transform(c.value,i);if(f instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:f}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(c=>Nl(c)?Promise.resolve(a.transform(c.value,i)).then(f=>({status:r.value,value:f})):St);ir.assertNever(a)}}cu.create=(e,t,r)=>new cu({schema:e,typeName:Tt.ZodEffects,effect:t,...Dt(r)});cu.createWithPreprocess=(e,t,r)=>new cu({schema:t,effect:{type:"preprocess",transform:e},typeName:Tt.ZodEffects,...Dt(r)});class qs extends $t{_parse(t){return this._getType(t)===nt.undefined?ti(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}qs.create=(e,t)=>
268new qs({innerType:e,typeName:Tt.ZodOptional,...Dt(t)});class uu extends $t{_parse(t){return this._getType(t)===nt.null?ti(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}uu.create=(e,t)=>new uu({innerType:e,typeName:Tt.ZodNullable,...Dt(t)});class Cv extends $t{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===nt.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}Cv.create=(e,t)=>new Cv({innerType:e,typeName:Tt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Dt(t)});class Iv extends $t{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},a=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Pv(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new zs(n.common.issues)},input:n.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new zs(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Iv.create=(e,t)=>new Iv({innerType:e,typeName:Tt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Dt(t)});class FO extends $t{_parse(t){if(this._getType(t)!==nt.nan){const n=this._getOrReturnCtx(t);return Ke(n,{code:Le.invalid_type,expected:nt.nan,received:n.parsedType}),St}return{status:"valid",value:t.data}}}FO.create=e=>new FO({typeName:Tt.ZodNaN,...Dt(e)});class KL extends $t{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class RP extends $t{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?St:i.status==="dirty"?(r.dirty(),Sg(i.value)):this._def.out._parseAsync({data:i.value,path:n.path,parent:n})})();{const a=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?St:a.status==="dirty"?(r.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:n.path,parent:n})}}static create(t,r){return new RP({in:t,out:r,typeName:Tt.ZodPipeline})}}class Nv extends $t{_parse(t){const r=this._def.innerType._parse(t),n=a=>(Nl(a)&&(a.value=Object.freeze(a.value)),a);return Pv(r)?r.then(a=>n(a)):n(r)}unwrap(){return this._def.innerType}}Nv.create=(e,t)=>new Nv({innerType:e,typeName:Tt.ZodReadonly,...Dt(t)});var Tt;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Tt||(Tt={}));const Yr=Po.create,AJ=Ml.create,PJ=AA.create;No.create;const Qc=Hi.create,zn=en.create,YL=kv.create,ZL=TP.create;Tv.create;su.create;const ha=Rv.create,OA=ou.create;Ov.create;qs.create;uu.create;const SJ=/[@#$%^&*+=\/\\|~«»]/,kJ=/(!{2,}|\?{2,}|-{2,})/,TJ=/[\u{1F300}-\u{1F9FF}]|[\u{2702}-\u{27B0}]|[\u{2600}-\u{26FF}]|[\u{2B00}-\u{2BFF}]/u,cl=({max:e,noSpaces:t}={})=>(t?Yr().max(e??Number.POSITIVE_INFINITY).regex(/^\S*$/,"Spaces are not allowed"):Yr().max(e??Number.POSITIVE_INFINITY)).refine(n=>!TJ.test(n),{message:"Emojis and symbols are not allowed"}).refine(n=>!SJ.test(n),{message:"Special characters (@, #, $, %, ^, &, *, +, =, /, \\, |, ~, «, ») are not allowed"}).refine(n=>!kJ.test(n),{message:"Repeated punctuations (!!, ??, --) are not allowed"}),Ia=Yr().url().startsWith("https://",{message:"Must be an https url"}).max(1024),JL=Yr().max(32),QL=Yr().max(32),RJ=/^[-a-z0-9]{3,8}:[-_a-zA-Z0-9]{1,32}\/(?:[-a-z0-9]{3,8}:[-.%a-zA-Z0-9]{1,128}(?:\/[-.%a-zA-Z0-9]{1,78})?|native)$/,OJ=Yr().regex(RJ,{message:"Invalid CAIP-19 asset ID"}),XL=Yr().regex(/^#([0-9A-F]{3}|[0-9A-F]{6})$/i,{message:"Invalid hex color code. It should be in the format #RRGGBB or #RGB."}),CJ=/^(?!.*\.\.)([a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,IJ=Yr().max(1024).regex(CJ,{message:"Must be a valid domain name (e.g., example.com, sub.example.com)"}).refine(e=>!e.includes("://"),{message:"Domain must not include protocol (http://, https://, etc.)"}).refine(e=>!e.includes("/"),{message:"Domain must not include path separators"}).refine(e=>!e.includes("@"),{message:"Domain must not include @ symbol"}).refine(e=>!e.includes(":"),{message:"Domain must not include port numbers"}),NJ=YL([ha("1:1"),ha("3:2")]),MJ=zn({header:Yr(),payload:Yr(),signature:Yr()});zn({fid:AJ(),type:ha("app_key"),key:Yr().startsWith("0x")});const FJ=zn({type:ha("launch_frame"),name:JL,url:Ia.optional(),splashImageUrl:Ia.optional(),splashBackgroun
268dColor:XL.optional()}),BJ=zn({type:ha("view_token"),token:OJ}),UJ=ZL("type",[FJ,BJ]),qJ=zn({title:QL,action:UJ});zn({version:ha("next"),imageUrl:Ia,aspectRatio:NJ.optional(),button:qJ});const $L=zn({url:Yr(),token:Yr()});zn({notificationId:Yr().max(128),title:Yr().max(32),body:Yr().max(128),targetUrl:Ia,tokens:Yr().array().max(100)});zn({result:zn({successfulTokens:Qc(Yr()),invalidTokens:Qc(Yr()),rateLimitedTokens:Qc(Yr())})});const LJ=zn({event:ha("frame_added"),notificationDetails:$L.optional()}),DJ=zn({event:ha("frame_removed")}),zJ=zn({event:ha("notifications_enabled"),notificationDetails:$L.required()}),VJ=zn({event:ha("notifications_disabled")});ZL("event",[LJ,DJ,zJ,VJ]);const HJ=OA(["games","social","finance","utility","productivity","health-fitness","news-media","music","shopping","education","developer-tools","entertainment","art-creativity"]),WJ=["eip155:1","eip155:8453","eip155:42161","eip155:421614","eip155:84532","eip155:666666666","eip155:100","eip155:10","eip155:11155420","eip155:137","eip155:11155111","eip155:7777777","eip155:130","eip155:10143","eip155:42220","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"];function BO(e){const t=new Set(e);return Array.from(t)}const GJ=zn({version:YL([ha("0.0.0"),ha("0.0.1"),ha("1"),ha("next")]),name:JL,iconUrl:Ia,homeUrl:Ia,imageUrl:Ia.optional(),buttonTitle:QL.optional(),splashImageUrl:Ia.optional(),splashBackgroundColor:XL.optional(),webhookUrl:Ia.optional(),subtitle:cl({max:30}).optional(),description:cl({max:170}).optional(),screenshotUrls:Qc(Ia).max(3).optional(),primaryCategory:HJ.optional(),tags:Qc(cl({max:20,noSpaces:!0})).max(5).optional(),heroImageUrl:Ia.optional(),tagline:cl({max:30}).optional(),ogTitle:cl({max:30}).optional(),ogDescription:cl({max:100}).optional(),ogImageUrl:Ia.optional(),noindex:PJ().optional(),requiredChains:Qc(OA(WJ)).transform(BO).optional(),requiredCapabilities:Qc(OA($Z)).transform(BO).optional(),castShareUrl:Ia.optional(),canonicalDomain:IJ.optional()}).refine(e=>{if(e.castShareUrl===void 0)return!0;try{const t=new URL(e.homeUrl).hostname,r=new URL(e.castShareUrl).hostname;return t===r}catch{return!1}},{message:"castShareUrl must have the same domain as homeUrl",path:["castShareUrl"]});zn({accountAssociation:MJ,frame:GJ.optional()});var I_={},Jd={},UO;function KJ(){if(UO)return Jd;UO=1,Jd.byteLength=f,Jd.toByteArray=h,Jd.fromByteArray=u;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,i=n.length;a<i;++a)e[a]=n[a],t[n.charCodeAt(a)]=a;t[45]=62,t[95]=63;function c(p){var g=p.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=p.indexOf("=");y===-1&&(y=g);var b=y===g?0:4-y%4;return[y,b]}function f(p){var g=c(p),y=g[0],b=g[1];return(y+b)*3/4-b}function m(p,g,y){return(g+y)*3/4-y}function h(p){var g,y=c(p),b=y[0],x=y[1],w=new r(m(p,b,x)),E=0,j=x>0?b-4:b,T;for(T=0;T<j;T+=4)g=t[p.charCodeAt(T)]<<18|t[p.charCodeAt(T+1)]<<12|t[p.charCodeAt(T+2)]<<6|t[p.charCodeAt(T+3)],w[E++]=g>>16&255,w[E++]=g>>8&255,w[E++]=g&255;return x===2&&(g=t[p.charCodeAt(T)]<<2|t[p.charCodeAt(T+1)]>>4,w[E++]=g&255),x===1&&(g=t[p.charCodeAt(T)]<<10|t[p.charCodeAt(T+1)]<<4|t[p.charCodeAt(T+2)]>>2,w[E++]=g>>8&255,w[E++]=g&255),w}function l(p){return e[p>>18&63]+e[p>>12&63]+e[p>>6&63]+e[p&63]}function o(p,g,y){for(var b,x=[],w=g;w<y;w+=3)b=(p[w]<<16&16711680)+(p[w+1]<<8&65280)+(p[w+2]&255),x.push(l(b));return x.join("")}function u(p){for(var g,y=p.length,b=y%3,x=[],w=16383,E=0,j=y-b;E<j;E+=w)x.push(o(p,E,E+w>j?j:E+w));return b===1?(g=p[y-1],x.push(e[g>>2]+e[g<<4&63]+"==")):b===2&&(g=(p[y-2]<<8)+p[y-1],x.push(e[g>>10]+e[g>>4&63]+e[g<<2&63]+"=")),x.join("")}return Jd}var Wb={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var qO;function YJ(){return qO||(qO=1,Wb.read=function(e,t,r,n,a){var i,c,f=a*8-n-1,m=(1<<f)-1,h=m>>1,l=-7,o=r?a-1:0,u=r?-1:1,p=e[t+o];for(o+=u,i=p&(1<<-l)-1,p>>=-l,l+=f;l>0;
vendor: 22,938 bytes, lines 268-273
268i=i*256+e[t+o],o+=u,l-=8);for(c=i&(1<<-l)-1,i>>=-l,l+=n;l>0;c=c*256+e[t+o],o+=u,l-=8);if(i===0)i=1-h;else{if(i===m)return c?NaN:(p?-1:1)*(1/0);c=c+Math.pow(2,n),i=i-h}return(p?-1:1)*c*Math.pow(2,i-n)},Wb.write=function(e,t,r,n,a,i){var c,f,m,h=i*8-a-1,l=(1<<h)-1,o=l>>1,u=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,g=n?1:-1,y=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,c=l):(c=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-c))<1&&(c--,m*=2),c+o>=1?t+=u/m:t+=u*Math.pow(2,1-o),t*m>=2&&(c++,m/=2),c+o>=l?(f=0,c=l):c+o>=1?(f=(t*m-1)*Math.pow(2,a),c=c+o):(f=t*Math.pow(2,o-1)*Math.pow(2,a),c=0));a>=8;e[r+p]=f&255,p+=g,f/=256,a-=8);for(c=c<<a|f,h+=a;h>0;e[r+p]=c&255,p+=g,c/=256,h-=8);e[r+p-g]|=y*128}),Wb}/*! 269 * The buffer module from node.js, for the browser. 270 * 271 * @author Feross Aboukhadijeh <https://feross.org> 272 * @license MIT 273 */var LO;function OP(){return LO||(LO=1,(function(e){const t=KJ(),r=YJ(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=f,e.SlowBuffer=w,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,f.TYPED_ARRAY_SUPPORT=i(),!f.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const X=new Uint8Array(1),L={foo:function(){return 42}};return Object.setPrototypeOf(L,Uint8Array.prototype),Object.setPrototypeOf(X,L),X.foo()===42}catch{return!1}}Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}});function c(X){if(X>a)throw new RangeError('The value "'+X+'" is invalid for option "size"');const L=new Uint8Array(X);return Object.setPrototypeOf(L,f.prototype),L}function f(X,L,G){if(typeof X=="number"){if(typeof L=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return o(X)}return m(X,L,G)}f.poolSize=8192;function m(X,L,G){if(typeof X=="string")return u(X,L);if(ArrayBuffer.isView(X))return g(X);if(X==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof X);if(It(X,ArrayBuffer)||X&&It(X.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(It(X,SharedArrayBuffer)||X&&It(X.buffer,SharedArrayBuffer)))return y(X,L,G);if(typeof X=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const re=X.valueOf&&X.valueOf();if(re!=null&&re!==X)return f.from(re,L,G);const fe=b(X);if(fe)return fe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof X[Symbol.toPrimitive]=="function")return f.from(X[Symbol.toPrimitive]("string"),L,G);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof X)}f.from=function(X,L,G){return m(X,L,G)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function h(X){if(typeof X!="number")throw new TypeError('"size" argument must be of type number');if(X<0)throw new RangeError('The value "'+X+'" is invalid for option "size"')}function l(X,L,G){return h(X),X<=0?c(X):L!==void 0?typeof G=="string"?c(X).fill(L,G):c(X).fill(L):c(X)}f.alloc=function(X,L,G){return l(X,L,G)};function o(X){return h(X),c(X<0?0:x(X)|0)}f.allocUnsafe=function(X){return o(X)},f.allocUnsafeSlow=function(X){return o(X)};function u(X,L){if((typeof L!="string"||L==="")&&(L="utf8"),!f.isEncoding(L))throw new TypeError("Unknown encoding: "+L);const G=E(X,L)|0;let re=c(G);const fe=re.write(X,L);return fe!==G&&(re=re.slice(0,fe)),re}function p(X){const L=X.length<0?0:x(X.length)|0,G=c(L);for(let re=0;re<L;re+=1)G[re]=X[re]&255;return G}function g(X){if(It(X,Uint8Array)){const L=new Uint8Array(X);return y(L.buffer,L.byteOffset,L.byteLength)}return p(X)}function y(X,L,G){if(L<0||X.byteLength<L)throw new RangeError('"offset" is outside of buffer bounds');if(X.byteLength<L+(G||0))throw new RangeError('"length" is outside of buffer bounds');let re;return L===void 0&&G===void 0?re=new Uint8Array(X):G===void 0?re=new Uint8Array(X,L):re=new Uint8Array(X,L,G),Object.setPrototypeOf(re,f.prototype),re}function b(X){if(f.isBuffer(X)){const L=x(X.length)|0,G=c(L);return G.length===0||X.copy(G,0,0,L),G}if(X.length!==void 0)return typeof X.length!="number"||Rt(X.length)?c(0):p(X);if(X.type==="Buffer"&&Array.isArray(X.data))return p(X.data)}function x(X){if(X>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return X|0}function w(X){return+X!=X&&(X=0),f.alloc(+X)}f.isBuffer=function(L){return L!=null&&L._isBuffer===!0&&L!==f.prototype},f.compare=function(L,G){if(It(L,Uint8Array)&&(L=f.from(L,L.offset,L.byteLength)),It(G,Uint8Array)&&(G=f.from(G,G.offset,G.byteLength)),!f.isBuffer(L)||!f.isBuffer(G))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(L===G)return 0;let re=L.length,fe=G.length;for(let ve=0,ke=Math.min(re,fe);ve<ke;++ve)if(L[ve]!==G[ve]){re=L[ve],fe=G[ve];break}return re<fe?-1:fe<re?1:0},f.isEncoding=function(L){switch(String(L).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}},f.concat=function(L,G){if(!Array.isArray(L))throw new TypeError('"list" argument must be an Array of Buffers');if(L.length===0)return f.alloc(0);let re;if(G===void 0)for(G=0,re=0;re<L.length;++re)G+=L[re].length;const fe=f.allocUnsafe(G);let ve=0;for(re=0;re<L.length;++re){let ke=L[re];if(It(ke,Uint8Array))ve+ke.length>fe.length?(f.isBuffer(ke)||(ke=f.from(ke)),ke.copy(fe,ve)):Uint8Array.prototype.set.call(fe,ke,ve);else if(f.isBuffer(ke))ke.copy(fe,ve);else throw new TypeError('"list" argument must be an Array of Buffers');ve+=ke.length}return fe};function E(X,L){if(f.isBuffer(X))return X.length;if(ArrayBuffer.isView(X)||It(X,ArrayBuffer))return X.byteLength;if(typeof X!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof X);const G=X.length,re=arguments.length>2&&arguments[2]===!0;if(!re&&G===0)return 0;let fe=!1;for(;;)switch(L){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":return Ge(X).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G*2;case"hex":return G>>>1;case"base64":return dt(X).length;default:if(fe)return re?-1:Ge(X).length;L=(""+L).toLowerCase(),fe=!0}}f.byteLength=E;function j(X,L,G){let re=!1;if((L===void 0||L<0)&&(L=0),L>this.length||((G===void 0||G>this.length)&&(G=this.length),G<=0)||(G>>>=0,L>>>=0,G<=L))return"";for(X||(X="utf8");;)switch(X){case"hex":return q(this,L,G);case"utf8":case"utf-8":return _(this,L,G);case"ascii":return B(this,L,G);case"latin1":case"binary":return C(this,L,G);case"base64":return R(this,L,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,L,G);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(X+"").toLowerCase(),re=!0}}f.prototype._isBuffer=!0;function T(X,L,G){const re=X[L];X[L]=X[G],X[G]=re}f.prototype.swap16=function(){const L=this.length;if(L%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let G=0;G<L;G+=2)T(this,G,G+1);return this},f.prototype.swap32=function(){const L=this.length;if(L%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let G=0;G<L;G+=4)T(this,G,G+3),T(this,G+1,G+2);return this},f.prototype.swap64=function(){const L=this.length;if(L%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let G=0;G<L;G+=8)T(this,G,G+7),T(this,G+1,G+6),T(this,G+2,G+5),T(this,G+3,G+4);return this},f.prototype.toString=function(){const L=this.length;return L===0?"":arguments.length===0?_(this,0,L):j.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(L){if(!f.isBuffer(L))throw new TypeError("Argument must be a Buffer");return this===L?!0:f.compare(this,L)===0},f.prototype.inspect=function(){let L="";const G=e.INSPECT_MAX_BYTES;return L=this.toString("hex",0,G).replace(/(.{2})/g,"$1 ").trim(),this.length>G&&(L+=" ... "),"<Buffer "+L+">"},n&&(f.prototype[n]=f.prototype.inspect),f.prototype.compare=function(L,G,re,fe,ve){if(It(L,Uint8Array)&&(L=f.from(L,L.offset,L.byteLength)),!f.isBuffer(L))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof L);if(G===void 0&&(G=0),re===void 0&&(re=L?L.length:0),fe===void 0&&(fe=0),ve===void 0&&(ve=this.length),G<0||re>L.length||fe<0||ve>this.length)throw new RangeError("out of range index");if(fe>=ve&&G>=re)return 0;if(fe>=ve)return-1;if(G>=re)return 1;if(G>>>=0,re>>>=0,fe>>>=0,ve>>>=0,this===L)return 0;let ke=ve-fe,mt=re-G;const bt=Math.min(ke,mt),at=this.slice(fe,ve),zt=L.slice(G,re);for(let Qe=0;Qe<bt;++Qe)if(at[Qe]!==zt[Qe]){ke=at[Qe],mt=zt[Qe];break}return ke<mt?-1:mt<ke?1:0};function F(X,L,G,re,fe){if(X.length===0)return-1;if(typeof G=="string"?(re=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),G=+G,Rt(G)&&(G=fe?0:X.length-1),G<0&&(G=X.length+G),G>=X.length){if(fe)return-1;G=X.length-1}else if(G<0)if(fe)G=0;else return-1;if(typeof L=="string"&&(L=f.from(L,re)),f.isBuffer(L))return L.length===0?-1:z(X,L,G,re,fe);if(typeof L=="number")return L=L&255,typeof Uint8Array.prototype.indexOf=="function"?fe?Uint8Array.prototype.indexOf.call(X,L,G):Uint8Array.prototype.lastIndexOf.call(X,L,G):z(X,[L],G,re,fe);throw new TypeError("val must be string, number or Buffer")}function z(X,L,G,re,fe){let ve=1,ke=X.length,mt=L.length;if(re!==void 0&&(re=String(re).toLowerCase(),re==="ucs2"||re==="ucs-2"||re==="utf16le"||re==="utf-16le")){if(X.length<2||L.length<2)return-1;ve=2,ke/=2,mt/=2,G/=2}function bt(zt,Qe){return ve===1?zt[Qe]:zt.readUInt16BE(Qe*ve)}let at;if(fe){let zt=-1;for(at=G;at<ke;at++)if(bt(X,at)===bt(L,zt===-1?0:at-zt)){if(zt===-1&&(zt=at),at-zt+1===mt)return zt*ve}else zt!==-1&&(at-=at-zt),zt=-1}else for(G+mt>ke&&(G=ke-mt),at=G;at>=0;at--){let zt=!0;for(let Qe=0;Qe<mt;Qe++)if(bt(X,at+Qe)!==bt(L,Qe)){zt=!1;break}if(zt)return at}return-1}f.prototype.includes=function(L,G,re){return this.indexOf(L,G,re)!==-1},f.prototype.indexOf=function(L,G,re){return F(this,L,G,re,!0)},f.prototype.lastIndexOf=function(L,G,re){return F(this,L,G,re,!1)};function K(X,L,G,re){G=Number(G)||0;const fe=X.length-G;re?(re=Number(re),re>fe&&(re=fe)):re=fe;const ve=L.length;re>ve/2&&(re=ve/2);let ke;for(ke=0;ke<re;++ke){const mt=parseInt(L.substr(ke*2,2),16);if(Rt(mt))return ke;X[G+ke]=mt}return ke}function U(X,L,G,re){return vt(Ge(L,X.length-G),X,G,re)}function H(X,L,G,re){return vt(ft(L),X,G,re)}function V(X,L,G,re){return vt(dt(L),X,G,re)}function Z(X,L,G,re){return vt(er(L,X.length-G),X,G,re)}f.prototype.write=function(L,G,re,fe){if(G===void 0)fe="utf8",re=this.length,G=0;else if(re===void 0&&typeof G=="string")fe=G,re=this.length,G=0;else if(isFinite(G))G=G>>>0,isFinite(re)?(re=re>>>0,fe===void 0&&(fe="utf8")):(fe=re,re=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ve=this.length-G;if((re===void 0||re>ve)&&(re=ve),L.length>0&&(re<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");fe||(fe="utf8");let ke=!1;for(;;)switch(fe){case"hex":return K(this,L,G,re);case"utf8":case"utf-8":return U(this,L,G,re);case"ascii":case"latin1":case"binary":return H(this,L,G,re);case"base64":return V(this,L,G,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,L,G,re);default:if(ke)throw new TypeError("Unknown encoding: "+fe);fe=(""+fe).toLowerCase(),ke=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(X,L,G){return L===0&&G===X.length?t.fromByteArray(X):t.fromByteArray(X.slice(L,G))}function _(X,L,G){G=Math.min(X.length,G);const re=[];let fe=L;for(;fe<G;){const ve=X[fe];let ke=null,mt=ve>239?4:ve>223?3:ve>191?2:1;if(fe+mt<=G){let bt,at,zt,Qe;switch(mt){case 1:ve<128&&(ke=ve);break;case 2:bt=X[fe+1],(bt&192)===128&&(Qe=(ve&31)<<6|bt&63,Qe>127&&(ke=Qe));break;case 3:bt=X[fe+1],at=X[fe+2],(bt&192)===128&&(at&192)===128&&(Qe=(ve&15)<<12|(bt&63)<<6|at&63,Qe>2047&&(Qe<55296||Qe>57343)&&(ke=Qe));break;case 4:bt=X[fe+1],at=X[fe+2],zt=X[fe+3],(bt&192)===128&&(at&192)===128&&(zt&192)===128&&(Qe=(ve&15)<<18|(bt&63)<<12|(at&63)<<6|zt&63,Qe>65535&&Qe<1114112&&(ke=Qe))}}ke===null?(ke=65533,mt=1):ke>65535&&(ke-=65536,re.push(ke>>>10&1023|55296),ke=56320|ke&1023),re.push(ke),fe+=mt}return M(re)}const k=4096;function M(X){const L=X.length;if(L<=k)return String.fromCharCode.apply(String,X);let G="",re=0;for(;re<L;)G+=String.fromCharCode.apply(String,X.slice(re,re+=k));return G}function B(X,L,G){let re="";G=Math.min(X.length,G);for(let fe=L;fe<G;++fe)re+=String.fromCharCode(X[fe]&127);return re}function C(X,L,G){let re="";G=Math.min(X.length,G);for(let fe=L;fe<G;++fe)re+=String.fromCharCode(X[fe]);return re}function q(X,L,G){const re=X.length;(!L||L<0)&&(L=0),(!G||G<0||G>re)&&(G=re);let fe="";for(let ve=L;ve<G;++ve)fe+=Nt[X[ve]];return fe}function W(X,L,G){const re=X.slice(L,G);let fe="";for(let ve=0;ve<re.length-1;ve+=2)fe+=String.fromCharCode(re[ve]+re[ve+1]*256);return fe}f.prototype.slice=function(L,G){const re=this.length;L=~~L,G=G===void 0?re:~~G,L<0?(L+=re,L<0&&(L=0)):L>re&&(L=re),G<0?(G+=re,G<0&&(G=0)):G>re&&(G=re),G<L&&(G=L);const fe=this.subarray(L,G);return Object.setPrototypeOf(fe,f.prototype),fe};function I(X,L,G){if(X%1!==0||X<0)throw new RangeError("offset is not uint");if(X+L>G)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(L,G,re){L=L>>>0,G=G>>>0,re||I(L,G,this.length);let fe=this[L],ve=1,ke=0;for(;++ke<G&&(ve*=256);)fe+=this[L+ke]*ve;return fe},f.prototype.readUintBE=f.prototype.readUIntBE=function(L,G,re){L=L>>>0,G=G>>>0,re||I(L,G,this.length);let fe=this[L+--G],ve=1;for(;G>0&&(ve*=256);)fe+=this[L+--G]*ve;return fe},f.prototype.readUint8=f.prototype.readUInt8=function(L,G){return L=L>>>0,G||I(L,1,this.length),this[L]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(L,G){return L=L>>>0,G||I(L,2,this.length),this[L]|this[L+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(L,G){return L=L>>>0,G||I(L,2,this.length),this[L]<<8|this[L+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(L,G){return L=L>>>0,G||I(L,4,this.length),(this[L]|this[L+1]<<8|this[L+2]<<16)+this[L+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(L,G){return L=L>>>0,G||I(L,4,this.length),this[L]*16777216+(this[L+1]<<16|this[L+2]<<8|this[L+3])},f.prototype.readBigUInt64LE=sr(function(L){L=L>>>0,Se(L,"offset");const G=this[L],re=this[L+7];(G===void 0||re===void 0)&&Oe(L,this.length-8);const fe=G+this[++L]*2**8+this[++L]*2**16+this[++L]*2**24,ve=this[++L]+this[++L]*2**8+this[++L]*2**16+re*2**24;return BigInt(fe)+(BigInt(ve)<<BigInt(32))}),f.prototype.readBigUInt64BE=sr(function(L){L=L>>>0,Se(L,"offset");const G=this[L],re=this[L+7];(G===void 0||re===void 0)&&Oe(L,this.length-8);const fe=G*2**24+this[++L]*2**16+this[++L]*2**8+this[++L],ve=this[++L]*2**24+this[++L]*2**16+this[++L]*2**8+re;return(BigInt(fe)<<BigInt(32))+BigInt(ve)}),f.prototype.readIntLE=function(L,G,re){L=L>>>0,G=G>>>0,re||I(L,G,this.length);let fe=this[L],ve=1,ke=0;for(;++ke<G&&(ve*=256);)fe+=this[L+ke]*ve;return ve*=128,fe>=ve&&(fe-=Math.pow(2,8*G)),fe},f.prototype.readIntBE=function(L,G,re){L=L>>>0,G=G>>>0,re||I(L,G,this.length);let fe=G,ve=1,ke=this[L+--fe];for(;fe>0&&(ve*=256);)ke+=this[L+--fe]*ve;return ve*=128,ke>=ve&&(ke-=Math.pow(2,8*G)),ke},f.prototype.readInt8=function(L,G){return L=L>>>0,G||I(L,1,this.length),this[L]&128?(255-this[L]+1)*-1:this[L]},f.prototype.readInt16LE=function(L,G){L=L>>>0,G||I(L,2,this.length);const re=this[L]|this[L+1]<<8;return re&32768?re|4294901760:re},f.prototype.readInt16BE=function(L,G){L=L>>>0,G||I(L,2,this.length);const re=this[L+1]|this[L]<<8;return re&32768?re|4294901760:re},f.prototype.readInt32LE=function(L,G){return L=L>>>0,G||I(L,4,this.length),this[L]|this[L+1]<<8|this[L+2]<<16|this[L+3]<<24},f.prototype.readInt32BE=function(L,G){return L=L>>>0,G||I(L,4,this.length),this[L]<<24|this[L+1]<<16|this[L+2]<<8|this[L+3]},f.prototype.readBigInt64LE=sr(function(L){L=L>>>0,Se(L,"offset");const G=this[L],re=this[L+7];(G===void 0||re===void 0)&&Oe(L,this.length-8);const fe=this[L+4]+this[L+5]*2**8+this[L+6]*2**16+(re<<24);return(BigInt(fe)<<BigInt(32))+BigInt(G+this[++L]*2**8+this[++L]*2**16+this[++L]*2**24)}),f.prototype.readBigInt64BE=sr(function(L){L=L>>>0,Se(L,"offset");const G=this[L],re=this[L+7];(G===void 0||re===void 0)&&Oe(L,this.length-8);const fe=(G<<24)+this[++L]*2**16+this[++L]*2**8+this[++L];return(BigInt(fe)<<BigInt(32))+BigInt(this[++L]*2**24+this[++L]*2**16+this[++L]*2**8+re)}),f.prototype.readFloatLE=function(L,G){return L=L>>>0,G||I(L,4,this.length),r.read(this,L,!0,23,4)},f.prototype.readFloatBE=function(L,G){return L=L>>>0,G||I(L,4,this.length),r.read(this,L,!1,23,4)},f.prototype.readDoubleLE=function(L,G){return L=L>>>0,G||I(L,8,this.length),r.read(this,L,!0,52,8)},f.prototype.readDoubleBE=function(L,G){return L=L>>>0,G||I(L,8,this.length),r.read(this,L,!1,52,8)};function S(X,L,G,re,fe,ve){if(!f.isBuffer(X))throw new TypeError('"buffer" argument must be a Buffer instance');if(L>fe||L<ve)throw new RangeError('"value" argument is out of bounds');if(G+re>X.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(L,G,re,fe){if(L=+L,G=G>>>0,re=re>>>0,!fe){const mt=Math.pow(2,8*re)-1;S(this,L,G,re,mt,0)}let ve=1,ke=0;for(this[G]=L&255;++ke<re&&(ve*=256);)this[G+ke]=L/ve&255;return G+re},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(L,G,re,fe){if(L=+L,G=G>>>0,re=re>>>0,!fe){const mt=Math.pow(2,8*re)-1;S(this,L,G,re,mt,0)}let ve=re-1,ke=1;for(this[G+ve]=L&255;--ve>=0&&(ke*=256);)this[G+ve]=L/ke&255;return G+re},f.prototype.writeUint8=f.prototype.writeUInt8=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,1,255,0),this[G]=L&255,G+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,2,65535,0),this[G]=L&255,this[G+1]=L>>>8,G+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,2,65535,0),this[G]=L>>>8,this[G+1]=L&255,G+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,4,4294967295,0),this[G+3]=L>>>24,this[G+2]=L>>>16,this[G+1]=L>>>8,this[G]=L&255,G+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,4,4294967295,0),this[G]=L>>>24,this[G+1]=L>>>16,this[G+2]=L>>>8,this[G+3]=L&255,G+4};function O(X,L,G,re,fe){de(L,re,fe,X,G,7);let ve=Number(L&BigInt(4294967295));X[G++]=ve,ve=ve>>8,X[G++]=ve,ve=ve>>8,X[G++]=ve,ve=ve>>8,X[G++]=ve;let ke=Number(L>>BigInt(32)&BigInt(4294967295));return X[G++]=ke,ke=ke>>8,X[G++]=ke,ke=ke>>8,X[G++]=ke,ke=ke>>8,X[G++]=ke,G}function Y(X,L,G,re,fe){de(L,re,fe,X,G,7);let ve=Number(L&BigInt(4294967295));X[G+7]=ve,ve=ve>>8,X[G+6]=ve,ve=ve>>8,X[G+5]=ve,ve=ve>>8,X[G+4]=ve;let ke=Number(L>>BigInt(32)&BigInt(4294967295));return X[G+3]=ke,ke=ke>>8,X[G+2]=ke,ke=ke>>8,X[G+1]=ke,ke=ke>>8,X[G]=ke,G+8}f.prototype.writeBigUInt64LE=sr(function(L,G=0){return O(this,L,G,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=sr(function(L,G=0){return Y(this,L,G,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(L,G,re,fe){if(L=+L,G=G>>>0,!fe){const bt=Math.pow(2,8*re-1);S(this,L,G,re,bt-1,-bt)}let ve=0,ke=1,mt=0;for(this[G]=L&255;++ve<re&&(ke*=256);)L<0&&mt===0&&this[G+ve-1]!==0&&(mt=1),this[G+ve]=(L/ke>>0)-mt&255;return G+re},f.prototype.writeIntBE=function(L,G,re,fe){if(L=+L,G=G>>>0,!fe){const bt=Math.pow(2,8*re-1);S(this,L,G,re,bt-1,-bt)}let ve=re-1,ke=1,mt=0;for(this[G+ve]=L&255;--ve>=0&&(ke*=256);)L<0&&mt===0&&this[G+ve+1]!==0&&(mt=1),this[G+ve]=(L/ke>>0)-mt&255;return G+re},f.prototype.writeInt8=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,1,127,-128),L<0&&(L=255+L+1),this[G]=L&255,G+1},f.prototype.writeInt16LE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,2,32767,-32768),this[G]=L&255,this[G+1]=L>>>8,G+2},f.prototype.writeInt16BE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,2,32767,-32768),this[G]=L>>>8,this[G+1]=L&255,G+2},f.prototype.writeInt32LE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,4,2147483647,-2147483648),this[G]=L&255,this[G+1]=L>>>8,this[G+2]=L>>>16,this[G+3]=L>>>24,G+4},f.prototype.writeInt32BE=function(L,G,re){return L=+L,G=G>>>0,re||S(this,L,G,4,2147483647,-2147483648),L<0&&(L=4294967295+L+1),this[G]=L>>>24,this[G+1]=L>>>16,this[G+2]=L>>>8,this[G+3]=L&255,G+4},f.prototype.writeBigInt64LE=sr(function(L,G=0){return O(this,L,G,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=sr(function(L,G=0){return Y(this,L,G,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Q(X,L,G,re,fe,ve){if(G+re>X.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function ne(X,L,G,re,fe){return L=+L,G=G>>>0,fe||Q(X,L,G,4),r.write(X,L,G,re,23,4),G+4}f.prototype.writeFloatLE=function(L,G,re){return ne(this,L,G,!0,re)},f.prototype.writeFloatBE=function(L,G,re){return ne(this,L,G,!1,re)};function oe(X,L,G,re,fe){return L=+L,G=G>>>0,fe||Q(X,L,G,8),r.write(X,L,G,re,52,8),G+8}f.prototype.writeDoubleLE=function(L,G,re){return oe(this,L,G,!0,re)},f.prototype.writeDoubleBE=function(L,G,re){return oe(this,L,G,!1,re)},f.prototype.copy=function(L,G,re,fe){if(!f.isBuffer(L))throw new TypeError("argument should be a Buffer");if(re||(re=0),!fe&&fe!==0&&(fe=this.length),G>=L.length&&(G=L.length),G||(G=0),fe>0&&fe<re&&(fe=re),fe===re||L.length===0||this.length===0)return 0;if(G<0)throw new RangeError("targetStart out of bounds");if(re<0||re>=this.length)throw new RangeError("Index out of range");if(fe<0)throw new RangeError("sourceEnd out of bounds");fe>this.length&&(fe=this.length),L.length-G<fe-re&&(fe=L.length-G+re);const ve=fe-re;return this===L&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(G,re,fe):Uint8Array.prototype.set.call(L,this.subarray(re,fe),G),ve},f.prototype.fill=function(L,G,re,fe){if(typeof L=="string"){if(typeof G=="string"?(fe=G,G=0,re=this.length):typeof re=="string"&&(fe=re,re=this.length),fe!==void 0&&typeof fe!="string")throw new TypeError("encoding must be a string");if(typeof fe=="string"&&!f.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe);if(L.length===1){const ke=L.charCodeAt(0);
273(fe==="utf8"&&ke<128||fe==="latin1")&&(L=ke)}}else typeof L=="number"?L=L&255:typeof L=="boolean"&&(L=Number(L));if(G<0||this.length<G||this.length<re)throw new RangeError("Out of range index");if(re<=G)return this;G=G>>>0,re=re===void 0?this.length:re>>>0,L||(L=0);let ve;if(typeof L=="number")for(ve=G;ve<re;++ve)this[ve]=L;else{const ke=f.isBuffer(L)?L:f.from(L,fe),mt=ke.length;if(mt===0)throw new TypeError('The value "'+L+'" is invalid for argument "value"');for(ve=0;ve<re-G;++ve)this[ve+G]=ke[ve%mt]}return this};const ge={};function we(X,L,G){ge[X]=class extends G{constructor(){super(),Object.defineProperty(this,"message",{value:L.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${X}]`,this.stack,delete this.name}get code(){return X}set code(fe){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:fe,writable:!0})}toString(){return`${this.name} [${X}]: ${this.message}`}}}we("ERR_BUFFER_OUT_OF_BOUNDS",function(X){return X?`${X} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),we("ERR_INVALID_ARG_TYPE",function(X,L){return`The "${X}" argument must be of type number. Received type ${typeof L}`},TypeError),we("ERR_OUT_OF_RANGE",function(X,L,G){let re=`The value of "${X}" is out of range.`,fe=G;return Number.isInteger(G)&&Math.abs(G)>2**32?fe=Ue(String(G)):typeof G=="bigint"&&(fe=String(G),(G>BigInt(2)**BigInt(32)||G<-(BigInt(2)**BigInt(32)))&&(fe=Ue(fe)),fe+="n"),re+=` It must be ${L}. Received ${fe}`,re},RangeError);function Ue(X){let L="",G=X.length;const re=X[0]==="-"?1:0;for(;G>=re+4;G-=3)L=`_${X.slice(G-3,G)}${L}`;return`${X.slice(0,G)}${L}`}function ye(X,L,G){Se(L,"offset"),(X[L]===void 0||X[L+G]===void 0)&&Oe(L,X.length-(G+1))}function de(X,L,G,re,fe,ve){if(X>G||X<L){const ke=typeof L=="bigint"?"n":"";let mt;throw L===0||L===BigInt(0)?mt=`>= 0${ke} and < 2${ke} ** ${(ve+1)*8}${ke}`:mt=`>= -(2${ke} ** ${(ve+1)*8-1}${ke}) and < 2 ** ${(ve+1)*8-1}${ke}`,new ge.ERR_OUT_OF_RANGE("value",mt,X)}ye(re,fe,ve)}function Se(X,L){if(typeof X!="number")throw new ge.ERR_INVALID_ARG_TYPE(L,"number",X)}function Oe(X,L,G){throw Math.floor(X)!==X?(Se(X,G),new ge.ERR_OUT_OF_RANGE("offset","an integer",X)):L<0?new ge.ERR_BUFFER_OUT_OF_BOUNDS:new ge.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${L}`,X)}const Be=/[^+/0-9A-Za-z-_]/g;function Pt(X){if(X=X.split("=")[0],X=X.trim().replace(Be,""),X.length<2)return"";for(;X.length%4!==0;)X=X+"=";return X}function Ge(X,L){L=L||1/0;let G;const re=X.length;let fe=null;const ve=[];for(let ke=0;ke<re;++ke){if(G=X.charCodeAt(ke),G>55295&&G<57344){if(!fe){if(G>56319){(L-=3)>-1&&ve.push(239,191,189);continue}else if(ke+1===re){(L-=3)>-1&&ve.push(239,191,189);continue}fe=G;continue}if(G<56320){(L-=3)>-1&&ve.push(239,191,189),fe=G;continue}G=(fe-55296<<10|G-56320)+65536}else fe&&(L-=3)>-1&&ve.push(239,191,189);if(fe=null,G<128){if((L-=1)<0)break;ve.push(G)}else if(G<2048){if((L-=2)<0)break;ve.push(G>>6|192,G&63|128)}else if(G<65536){if((L-=3)<0)break;ve.push(G>>12|224,G>>6&63|128,G&63|128)}else if(G<1114112){if((L-=4)<0)break;ve.push(G>>18|240,G>>12&63|128,G>>6&63|128,G&63|128)}else throw new Error("Invalid code point")}return ve}function ft(X){const L=[];for(let G=0;G<X.length;++G)L.push(X.charCodeAt(G)&255);return L}function er(X,L){let G,re,fe;const ve=[];for(let ke=0;ke<X.length&&!((L-=2)<0);++ke)G=X.charCodeAt(ke),re=G>>8,fe=G%256,ve.push(fe),ve.push(re);return ve}function dt(X){return t.toByteArray(Pt(X))}function vt(X,L,G,re){let fe;for(fe=0;fe<re&&!(fe+G>=L.length||fe>=X.length);++fe)L[fe+G]=X[fe];return fe}function It(X,L){return X instanceof L||X!=null&&X.constructor!=null&&X.constructor.name!=null&&X.constructor.name===L.name}function Rt(X){return X!==X}const Nt=(function(){const X="0123456789abcdef",L=new Array(256);for(let G=0;G<16;++G){const re=G*16;for(let fe=0;fe<16;++fe)L[re+fe]=X[G]+X[fe]}return L})();function sr(X){return typeof BigInt>"u"?be:X}function be(){throw new Error("BigInt not supported")}})(I_)),I_}var Kt=OP();const ul=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */function ly(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function CA(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function hu(e,...t){if(!ly(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function eD(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");CA(e.outputLen),CA(e.blockLen)}function Mv(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function ZJ(e,t){hu(e);const r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}function Fl(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function N_(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function qi(e,t){return e<<32-t|e>>>t}const tD=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",JJ=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function au(e){if(hu(e),tD)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=JJ[e[r]];return t}const fs={_0:48,_9:57,A:65,F:70,a:97,f:102};function DO(e){if(e>=fs._0&&e<=fs._9)return e-fs._0;if(e>=fs.A&&e<=fs.F)return e-(fs.A-10);if(e>=fs.a&&e<=fs.f)return e-(fs.a-10)}function Fv(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if(tD)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let a=0,i=0;a<r;a++,i+=2){const c=DO(e.charCodeAt(i)),f=DO(e.charCodeAt(i+1));if(c===void 0||f===void 0){const m=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+m+'" at index '+i)}n[a]=c*16+f}return n}function QJ(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function CP(e){return typeof e=="string"&&(e=QJ(e)),hu(e),e}function Li(...e){let t=0;for(let n=0;n<e.length;n++){const a=e[n];hu(a),t+=a.length}
vendor: 6,017 bytes, line 273
273const r=new Uint8Array(t);for(let n=0,a=0;n<e.length;n++){const i=e[n];r.set(i,a),a+=i.length}return r}class rD{}function nD(e){const t=n=>e().update(CP(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function IP(e=32){if(ul&&typeof ul.getRandomValues=="function")return ul.getRandomValues(new Uint8Array(e));if(ul&&typeof ul.randomBytes=="function")return Uint8Array.from(ul.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}function XJ(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);const a=BigInt(32),i=BigInt(4294967295),c=Number(r>>a&i),f=Number(r&i),m=n?4:0,h=n?0:4;e.setUint32(t+m,c,n),e.setUint32(t+h,f,n)}function $J(e,t,r){return e&t^~e&r}function eQ(e,t,r){return e&t^e&r^t&r}class aD extends rD{constructor(t,r,n,a){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=a,this.buffer=new Uint8Array(t),this.view=N_(this.buffer)}update(t){Mv(this),t=CP(t),hu(t);const{view:r,buffer:n,blockLen:a}=this,i=t.length;for(let c=0;c<i;){const f=Math.min(a-this.pos,i-c);if(f===a){const m=N_(t);for(;a<=i-c;c+=a)this.process(m,c);continue}n.set(t.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===a&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Mv(this),ZJ(t,this),this.finished=!0;const{buffer:r,view:n,blockLen:a,isLE:i}=this;let{pos:c}=this;r[c++]=128,Fl(this.buffer.subarray(c)),this.padOffset>a-c&&(this.process(n,0),c=0);for(let o=c;o<a;o++)r[o]=0;XJ(n,a-8,BigInt(this.length*8),i),this.process(n,0);const f=N_(t),m=this.outputLen;if(m%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const h=m/4,l=this.get();if(h>l.length)throw new Error("_sha2: outputLen bigger than state");for(let o=0;o<h;o++)f.setUint32(4*o,l[o],i)}digest(){const{buffer:t,outputLen:r}=this;this.digestInto(t);const n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:r,buffer:n,length:a,finished:i,destroyed:c,pos:f}=this;return t.destroyed=c,t.finished=i,t.length=a,t.pos=f,a%r&&t.buffer.set(n),t}clone(){return this._cloneInto()}}const go=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Nn=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),Gb=BigInt(2**32-1),zO=BigInt(32);function tQ(e,t=!1){return t?{h:Number(e&Gb),l:Number(e>>zO&Gb)}:{h:Number(e>>zO&Gb)|0,l:Number(e&Gb)|0}}function rQ(e,t=!1){const r=e.length;let n=new Uint32Array(r),a=new Uint32Array(r);for(let i=0;i<r;i++){const{h:c,l:f}=tQ(e[i],t);[n[i],a[i]]=[c,f]}return[n,a]}const VO=(e,t,r)=>e>>>r,HO=(e,t,r)=>e<<32-r|t>>>r,ll=(e,t,r)=>e>>>r|t<<32-r,dl=(e,t,r)=>e<<32-r|t>>>r,Kb=(e,t,r)=>e<<64-r|t>>>r-32,Yb=(e,t,r)=>e>>>r-32|t<<64-r;function hs(e,t,r,n){const a=(t>>>0)+(n>>>0);return{h:e+r+(a/2**32|0)|0,l:a|0}}const nQ=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),aQ=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,iQ=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),sQ=(e,t,r,n,a)=>t+r+n+a+(e/2**32|0)|0,oQ=(e,t,r,n,a)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(a>>>0),cQ=(e,t,r,n,a,i)=>t+r+n+a+i+(e/2**32|0)|0,uQ=Uint32Array.from([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]),yo=new Uint32Array(64);class lQ extends aD{constructor(t=32){super(64,t,8,!1),this.A=go[0]|0,this.B=go[1]|0,this.C=go[2]|0,this.D=go[3]|0,this.E=go[4]|0,this.F=go[5]|0,this.G=go[6]|0,this.H=go[7]|0}get(){const{A:t,B:r,C:n,D:a,E:i,F:c,G:f,H:m}=this;return[t,r,n,a,i,c,f,m]}set(t,r,n,a,i,c,f,m){this.A=t|0,this.B=r|0,this.C=n|0,this.D=a|0,this.E=i|0,this.F=c|0,this.G=f|0,this.H=m|0}process(t,r){for(let o=0;o<16;o++,r+=4)yo[o]=t.getUint32(r,!1);for(let o=16;o<64;o++){const u=yo[o-15],p=yo[o-2],g=qi(u,7)^qi(u,18)^u>>>3,y=qi(p,17)^qi(p,19)^p>>>10;yo[o]=y+yo[o-7]+g+yo[o-16]|0}let{A:n,B:a,C:i,D:c,E:f,F:m,G:h,H:l}=this;for(let o=0;o<64;o++){const u=qi(f,6)^qi(f,11)^qi(f,25),p=l+u+$J(f,m,h)+uQ[o]+yo[o]|0,y=(qi(n,2)^qi(n,13)^qi(n,22))+eQ(n,a,i)|0;l=h,h=m,m=f,f=c+p|0,c=i,i=a,a=n,n=p+y|0}n=n+this.A|0,a=a+this.B|0,i=i+this.C|0,c=c+this.D|0,f=f+this.E|0,m=m+this.F|0,h=h+this.G|0,l=l+this.H|0,this.set(n,a,i,c,f,m,h,l)}roundClean(){Fl(yo)}destroy(){this.set(0,0,0,0,0,0,0,0),Fl(this.buffer)}}const iD=rQ(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
2735771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),dQ=iD[0],fQ=iD[1],bo=new Uint32Array(80),vo=new Uint32Array(80);class hQ extends aD{constructor(t=64){super(128,t,16,!1),this.Ah=Nn[0]|0,this.Al=Nn[1]|0,this.Bh=Nn[2]|0,this.Bl=Nn[3]|0,this.Ch=Nn[4]|0,this.Cl=Nn[5]|0,this.Dh=Nn[6]|0,this.Dl=Nn[7]|0,this.Eh=Nn[8]|0,this.El=Nn[9]|0,this.Fh=Nn[10]|0,this.Fl=Nn[11]|0,this.Gh=Nn[12]|0,this.Gl=Nn[13]|0,this.Hh=Nn[14]|0,this.Hl=Nn[15]|0}get(){const{Ah:t,Al:r,Bh:n,Bl:a,Ch:i,Cl:c,Dh:f,Dl:m,Eh:h,El:l,Fh:o,Fl:u,Gh:p,Gl:g,Hh:y,Hl:b}=this;return[t,r,n,a,i,c,f,m,h,l,o,u,p,g,y,b]}set(t,r,n,a,i,c,f,m,h,l,o,u,p,g,y,b){this.Ah=t|0,this.Al=r|0,this.Bh=n|0,this.Bl=a|0,this.Ch=i|0,this.Cl=c|0,this.Dh=f|0,this.Dl=m|0,this.Eh=h|0,this.El=l|0,this.Fh=o|0,this.Fl=u|0,this.Gh=p|0,this.Gl=g|0,this.Hh=y|0,this.Hl=b|0}process(t,r){for(let E=0;E<16;E++,r+=4)bo[E]=t.getUint32(r),vo[E]=t.getUint32(r+=4);for(let E=16;E<80;E++){const j=bo[E-15]|0,T=vo[E-15]|0,F=ll(j,T,1)^ll(j,T,8)^VO(j,T,7),z=dl(j,T,1)^dl(j,T,8)^HO(j,T,7),K=bo[E-2]|0,U=vo[E-2]|0,H=ll(K,U,19)^Kb(K,U,61)^VO(K,U,6),V=dl(K,U,19)^Yb(K,U,61)^HO(K,U,6),Z=iQ(z,V,vo[E-7],vo[E-16]),R=sQ(Z,F,H,bo[E-7],bo[E-16]);bo[E]=R|0,vo[E]=Z|0}let{Ah:n,Al:a,Bh:i,Bl:c,Ch:f,Cl:m,Dh:h,Dl:l,Eh:o,El:u,Fh:p,Fl:g,Gh:y,Gl:b,Hh:x,Hl:w}=this;for(let E=0;E<80;E++){const j=ll(o,u,14)^ll(o,u,18)^Kb(o,u,41),T=dl(o,u,14)^dl(o,u,18)^Yb(o,u,41),F=o&p^~o&y,z=u&g^~u&b,K=oQ(w,T,z,fQ[E],vo[E]),U=cQ(K,x,j,F,dQ[E],bo[E]),H=K|0,V=ll(n,a,28)^Kb(n,a,34)^Kb(n,a,39),Z=dl(n,a,28)^Yb(n,a,34)^Yb(n,a,39),R=n&i^n&f^i&f,_=a&c^a&m^c&m;x=y|0,w=b|0,y=p|0,b=g|0,p=o|0,g=u|0,{h:o,l:u}=hs(h|0,l|0,U|0,H|0),h=f|0,l=m|0,f=i|0,m=c|0,i=n|0,c=a|0;const k=nQ(H,Z,_);n=aQ(k,U,V,R),a=k|0}({h:n,l:a}=hs(this.Ah|0,this.Al|0,n|0,a|0)),{h:i,l:c}=hs(this.Bh|0,this.Bl|0,i|0,c|0),{h:f,l:m}=hs(this.Ch|0,this.Cl|0,f|0,m|0),{h,l}=hs(this.Dh|0,this.Dl|0,h|0,l|0),{h:o,l:u}=hs(this.Eh|0,this.El|0,o|0,u|0),{h:p,l:g}=hs(this.Fh|0,this.Fl|0,p|0,g|0),{h:y,l:b}=hs(this.Gh|0,this.Gl|0,y|0,b|0),{h:x,l:w}=hs(this.Hh|0,this.Hl|0,x|0,w|0),this.set(n,a,i,c,f,m,h,l,o,u,p,g,y,b,x,w)}roundClean(){Fl(bo,vo)}destroy(){Fl(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const sD=nD(()=>new lQ),pQ=nD(()=>new hQ);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const NP=BigInt(0),IA=BigInt(1);function lu(e,t=""){if(typeof e!="boolean"){const r=t&&`"${t}"`;throw new Error(r+"expected boolean, got type="+typeof e)}return e}function wi(e,t,r=""){const n=ly(e),a=e?.length,i=t!==void 0;if(!n||i&&a!==t){const c=r&&`"${r}" `,f=i?` of length ${t}`:"",m=n?`length=${a}`:`type=${typeof e}`;throw new Error(c+"expected Uint8Array"+f+", got "+m)}return e}function Zb(e){const t=e.toString(16);return t.length&1?"0"+t:t}function oD(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?NP:BigInt("0x"+e)}function iw(e){return oD(au(e))}function zg(e){return hu(e),oD(au(Uint8Array.from(e).reverse()))}function MP(e,t){return Fv(e.toString(16).padStart(t*2,"0"))}function cD(e,t){return MP(e,t).reverse()}function Vr(e,t,r){let n;if(typeof t=="string")try{n=Fv(t)}catch(i){throw new Error(e+" must be hex string or Uint8Array, cause: "+i)}else if(ly(t))n=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");const a=n.length;if(typeof r=="number"&&a!==r)throw new Error(e+" of length "+r+" expected, got "+a);return n}function WO(e){return Uint8Array.from(e)}const M_=e=>typeof e=="bigint"&&NP<=e;function mQ(e,t,r){return M_(e)&&M_(t)&&M_(r)&&t<=e&&e<r}function NA(e,t,r,n){if(!mQ(t,r,n))throw new Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)}function uD(e){let t;for(t=0;e>NP;e>>=IA,t+=1);return t}const dy=e=>(IA<<BigInt(e))-IA;function gQ(e,t,r){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");const n=p=>new Uint8Array(p),a=p=>Uint8Array.of(p);let i=n(e),c=n(e),f=0;const m=()=>{i.fill(1),c.fill(0),f=0},h=(...p)=>r(c,i,...p),l=(p=n(0))=>{c=h(a(0),p),i=h(),p.length!==0&&(c=h(a(1),p),i=h())},o=()=>
vendor: 9,089 bytes, line 273
273{if(f++>=1e3)throw new Error("drbg: tried 1000 values");let p=0;const g=[];for(;p<t;){i=h();const y=i.slice();g.push(y),p+=i.length}return Li(...g)};return(p,g)=>{m(),l(p);let y;for(;!(y=g(o()));)l();return m(),y}}function fy(e,t,r={}){if(!e||typeof e!="object")throw new Error("expected valid options object");function n(a,i,c){const f=e[a];if(c&&f===void 0)return;const m=typeof f;if(m!==i||f===null)throw new Error(`param "${a}" is invalid: expected ${i}, got ${m}`)}Object.entries(t).forEach(([a,i])=>n(a,i,!1)),Object.entries(r).forEach(([a,i])=>n(a,i,!0))}function Bv(e){const t=new WeakMap;return(r,...n)=>{const a=t.get(r);if(a!==void 0)return a;const i=e(r,...n);return t.set(r,i),i}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const pa=BigInt(0),Sn=BigInt(1),Xc=BigInt(2),lD=BigInt(3),dD=BigInt(4),fD=BigInt(5),yQ=BigInt(7),hD=BigInt(8),bQ=BigInt(9),pD=BigInt(16);function tn(e,t){const r=e%t;return r>=pa?r:t+r}function Dr(e,t,r){let n=e;for(;t-- >pa;)n*=n,n%=r;return n}function GO(e,t){if(e===pa)throw new Error("invert: expected non-zero number");if(t<=pa)throw new Error("invert: expected positive modulus, got "+t);let r=tn(e,t),n=t,a=pa,i=Sn;for(;r!==pa;){const f=n/r,m=n%r,h=a-i*f;n=r,r=m,a=i,i=h}if(n!==Sn)throw new Error("invert: does not exist");return tn(a,t)}function FP(e,t,r){if(!e.eql(e.sqr(t),r))throw new Error("Cannot find square root")}function mD(e,t){const r=(e.ORDER+Sn)/dD,n=e.pow(t,r);return FP(e,n,t),n}function vQ(e,t){const r=(e.ORDER-fD)/hD,n=e.mul(t,Xc),a=e.pow(n,r),i=e.mul(t,a),c=e.mul(e.mul(i,Xc),a),f=e.mul(i,e.sub(c,e.ONE));return FP(e,f,t),f}function wQ(e){const t=pu(e),r=gD(e),n=r(t,t.neg(t.ONE)),a=r(t,n),i=r(t,t.neg(n)),c=(e+yQ)/pD;return(f,m)=>{let h=f.pow(m,c),l=f.mul(h,n);const o=f.mul(h,a),u=f.mul(h,i),p=f.eql(f.sqr(l),m),g=f.eql(f.sqr(o),m);h=f.cmov(h,l,p),l=f.cmov(u,o,g);const y=f.eql(f.sqr(l),m),b=f.cmov(h,l,y);return FP(f,b,m),b}}function gD(e){if(e<lD)throw new Error("sqrt is not defined for small field");let t=e-Sn,r=0;for(;t%Xc===pa;)t/=Xc,r++;let n=Xc;const a=pu(e);for(;KO(a,n)===1;)if(n++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(r===1)return mD;let i=a.pow(n,t);const c=(t+Sn)/Xc;return function(m,h){if(m.is0(h))return h;if(KO(m,h)!==1)throw new Error("Cannot find square root");let l=r,o=m.mul(m.ONE,i),u=m.pow(h,t),p=m.pow(h,c);for(;!m.eql(u,m.ONE);){if(m.is0(u))return m.ZERO;let g=1,y=m.sqr(u);for(;!m.eql(y,m.ONE);)if(g++,y=m.sqr(y),g===l)throw new Error("Cannot find square root");const b=Sn<<BigInt(l-g-1),x=m.pow(o,b);l=g,o=m.sqr(x),u=m.mul(u,o),p=m.mul(p,x)}return p}}function _Q(e){return e%dD===lD?mD:e%hD===fD?vQ:e%pD===bQ?wQ(e):gD(e)}const xQ=(e,t)=>(tn(e,t)&Sn)===Sn,EQ=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function jQ(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},r=EQ.reduce((n,a)=>(n[a]="function",n),t);return fy(e,r),e}function AQ(e,t,r){if(r<pa)throw new Error("invalid exponent, negatives unsupported");if(r===pa)return e.ONE;if(r===Sn)return t;let n=e.ONE,a=t;for(;r>pa;)r&Sn&&(n=e.mul(n,a)),a=e.sqr(a),r>>=Sn;return n}function yD(e,t,r=!1){const n=new Array(t.length).fill(r?e.ZERO:void 0),a=t.reduce((c,f,m)=>e.is0(f)?c:(n[m]=c,e.mul(c,f)),e.ONE),i=e.inv(a);return t.reduceRight((c,f,m)=>e.is0(f)?c:(n[m]=e.mul(c,n[m]),e.mul(c,f)),i),n}function KO(e,t){const r=(e.ORDER-Sn)/Xc,n=e.pow(t,r),a=e.eql(n,e.ONE),i=e.eql(n,e.ZERO),c=e.eql(n,e.neg(e.ONE));if(!a&&!i&&!c)throw new Error("invalid Legendre symbol result");return a?1:i?0:-1}function bD(e,t){t!==void 0&&CA(t);const r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function pu(e,t,r=!1,n={}){if(e<=pa)throw new Error("invalid field: expected ORDER > 0, got "+e);let a,i,c=!1,f;if(typeof t=="object"&&t!=null){if(n.sqrt||r)throw new Error("cannot specify opts in two arguments");const u=t;u.BITS&&(a=u.BITS),u.sqrt&&(i=u.sqrt),typeof u.isLE=="boolean"&&(r=u.isLE),typeof u.modFromBytes=="boolean"&&(c=u.modFromBytes),f=u.allowedLengths}else typeof t=="number"&&(a=t),n.sqrt&&(i=n.sqrt);const{nBitLength:m,nByteLength:h}=bD(e,a);if(h>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const o=Object.freeze({ORDER:e,isLE:r,BITS:m,BYTES:h,MASK:dy(m),ZERO:pa,ONE:Sn,allowedLengths:f,create:u=>tn(u,e),isValid:u=>{if(typeof u!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof u);return pa<=u&&u<e},is0:u=>u===pa,isValidNot0:u=>!o.is0(u)&&o.isValid(u),isOdd:u=>(u&Sn)===Sn,neg:u=>tn(-u,e),eql:(u,p)=>u===p,sqr:u=>tn(u*u,e),add:(u,p)=>tn(u+p,e),sub:(u,p)=>tn(u-p,e),mul:(u,p)=>tn(u*p,e),pow:(u,p)=>AQ(o,u,p),div:(u,p)=>tn(u*GO(p,e),e),sqrN:u=>u*u,addN:(u,p)=>u+p,subN:(u,p)=>u-p,mulN:(u,p)=>u*p,inv:u=>GO(u,e),sqrt:i||(u=>(l||(l=_Q(e)),l(o,u))),toBytes:u=>r?cD(u,h):MP(u,h),fromBytes:(u,p=!0)=>{if(f){if(!f.includes(u.length)||u.length>h)throw new Error("Field.fromBytes: expected "+f+" bytes, got "+u.length);const y=new Uint8Array(h);y.set(u,r?0:y.length-u.length),u=y}if(u.length!==h)throw new Error("Field.fromBytes: expected "+h+" bytes, got "+u.length);let g=r?zg(u):iw(u);if(c&&(g=tn(g,e)),!p&&!o.isValid(g))throw new Error("invalid field element: outside of range 0..ORDER");return g},invertBatch:u=>yD(o,u),cmov:(u,p,g)=>g?p:u});return Object.freeze(o)}function vD(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function wD(e){const t=vD(e);return t+Math.ceil(t/2)}function PQ(e,t,r=!1){const n=e.length,a=vD(t),i=wD(t);if(n<16||n<i||n>1024)throw new Error("expected "+i+"-1024 bytes of input, got "+n);const c=r?zg(e):iw(e),f=tn(c,t-Sn)+Sn;return r?cD(f,a):MP(f,a)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Bl=BigInt(0),$c=BigInt(1);function Uv(e,t){const r=t.negate();return e?r:t}function eu(e,t){const r=yD(e.Fp,t.map(n=>n.Z));return t.map((n,a)=>e.fromAffine(n.toAffine(r[a])))}function _D(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function F_(e,t){_D(e,t);const r=Math.ceil(t/e)+1,n=2**(e-1),a=2**e,i=dy(e),c=BigInt(e);return{windows:r,windowSize:n,mask:i,maxNumber:a,shiftBy:c}}function YO(e,t,r){const{windowSize:n,mask:a,maxNumber:i,shiftBy:c}=r;let f=Number(e&a),m=e>>c;f>n&&(f-=i,m+=$c);const h=t*n,l=h+Math.abs(f)-1,o=f===0,u=f<0,p=t%2!==0;return{nextN:m,offset:l,isZero:o,isNeg:u,isNegF:p,offsetF:h}}function SQ(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error("invalid point at index "+n)})}function kQ(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error("invalid scalar at index "+n)})}const B_=new WeakMap,xD=new WeakMap;function U_(e){return xD.get(e)||1}function ZO(e){if(e!==Bl)throw new Error("invalid wNAF")}class ED{constructor(t,r){this.BASE=t.BASE,this.ZERO=t.ZERO,this.Fn=t.Fn,this.bits=r}_unsafeLadder(t,r,n=this.ZERO){let a=t;for(;r>Bl;)r&$c&&(n=n.add(a)),a=a.double(),r>>=$c;return n}precomputeWindow(t,r){const{windows:n,windowSize:a}=F_(r,this.bits),i=[];let c=t,f=c;for(let m=0;m<n;m++){f=c,i.push(f);for(let h=1;h<a;h++)f=f.add(c),i.push(f);c=f.double()}return i}wNAF(t,r,n){if(!this.Fn.isValid(n))throw new Error("invalid scalar");let a=this.ZERO,i=this.BASE;const c=F_(t,this.bits);for(let f=0;f<c.windows;f++){const{nextN:m,offset:h,isZero:l,isNeg:o,isNegF:u,offsetF:p}=YO(n,f,c);n=m,l?i=i.add(Uv(u,r[p])):a=a.add(Uv(o,r[h]))}return ZO(n),{p:a,f:i}}wNAFUnsafe(t,r,n,a=this.ZERO){const i=F_(t,this.bits);for(let c=0;c<i.windows&&n!==Bl;c++){const{nextN:f,offset:m,isZero:h,isNeg:l}=YO(n,c,i);if(n=f,!h){const o=r[m];a=a.add(l?o.negate():o)}}return ZO(n),a}getPrecomputes(t,r,n){let a=B_.get(r);return a||(a=this.precomputeWindow(r,t),t!==1&&(typeof n=="function"&&(a=n(a)),B_.set(r,a))),a}cached(t,r,n){const a=U_(t);return this.wNAF(a,this.getPrecomputes(a,t,n),r)}unsafe(t,r,n,a){const i=U_(t);return i===1?this._unsafeLadder(t,r,a):this.wNAFUnsafe(i,this.getPrecomputes(i,t,n),r,a)}createCache(t,r){_D(r,this.bits),xD.set(t,r),B_.delete(t)}hasCache(t){return U_(t)!==1}}function TQ(e,t,r,n){let a=t,i=e.ZERO,c=e.ZERO;for(;r>Bl||n>Bl;)r&$c&&(i=i.add(a)),n&$c&&(c=c.add(a)),a=a.double(),r>>=$c,n>>=$c;return{p1:i,p2:c}}function jD(e,t,r,n){SQ(r,e),kQ(n,t);const a=r.length,i=n.length;if(a!==i)throw new Error("arrays of points and scalars must have equal length");const c=e.ZERO,f=uD(BigInt(a));let m=1;f>12?m=f-3:f>4?m=f-2:f>0&&(m=2);const h=dy(m),l=new Array(Number(h)+1).fill(c),o=Math.floor((t.BITS-1)/m)*m;let u=c;for(let p=o;p>=0;p-=m){l.fill(c);for(let y=0;y<i;y++){const b=n[y],x=Number(b>>BigInt(p)&h);l[x]=l[x].add(r[y])}let g=c;for(let y=l.length-1,b=c;y>0;y--)b=b.add(l[y]),g=g.add(b);if(u=u.add(g),p!==0)for(let y=0;y<m;y++)u=u.double()}return u}function JO(e,t,r){if(t){if(t.ORDER!==e)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return jQ(t),t}else return pu(e,{isLE:r})}function AD(e,t,r={}
273,n){if(n===void 0&&(n=e==="edwards"),!t||typeof t!="object")throw new Error(`expected valid ${e} CURVE object`);for(const m of["p","n","h"]){const h=t[m];if(!(typeof h=="bigint"&&h>Bl))throw new Error(`CURVE.${m} must be positive bigint`)}const a=JO(t.p,r.Fp,n),i=JO(t.n,r.Fn,n),f=["Gx","Gy","a",e==="weierstrass"?"b":"d"];for(const m of f)if(!a.isValid(t[m]))throw new Error(`CURVE.${m} must be valid field element of CURVE.Fp`);return t=Object.freeze(Object.assign({},t)),{CURVE:t,Fp:a,Fn:i}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const wo=BigInt(0),vn=BigInt(1),q_=BigInt(2),RQ=BigInt(8);function OQ(e,t,r,n){const a=e.sqr(r),i=e.sqr(n),c=e.add(e.mul(t.a,a),i),f=e.add(e.ONE,e.mul(t.d,e.mul(a,i)));return e.eql(c,f)}function CQ(e,t={}){const r=AD("edwards",e,t,t.FpFnLE),{Fp:n,Fn:a}=r;let i=r.CURVE;const{h:c}=i;fy(t,{},{uvRatio:"function"});const f=q_<<BigInt(a.BYTES*8)-vn,m=b=>n.create(b),h=t.uvRatio||((b,x)=>{try{return{isValid:!0,value:n.sqrt(n.div(b,x))}}catch{return{isValid:!1,value:wo}}});if(!OQ(n,i,i.Gx,i.Gy))throw new Error("bad curve params: generator point");function l(b,x,w=!1){const E=w?vn:wo;return NA("coordinate "+b,x,E,f),x}function o(b){if(!(b instanceof g))throw new Error("ExtendedPoint expected")}const u=Bv((b,x)=>{const{X:w,Y:E,Z:j}=b,T=b.is0();x==null&&(x=T?RQ:n.inv(j));const F=m(w*x),z=m(E*x),K=n.mul(j,x);if(T)return{x:wo,y:vn};if(K!==vn)throw new Error("invZ was invalid");return{x:F,y:z}}),p=Bv(b=>{const{a:x,d:w}=i;if(b.is0())throw new Error("bad point: ZERO");const{X:E,Y:j,Z:T,T:F}=b,z=m(E*E),K=m(j*j),U=m(T*T),H=m(U*U),V=m(z*x),Z=m(U*m(V+K)),R=m(H+m(w*m(z*K)));if(Z!==R)throw new Error("bad point: equation left != right (1)");const _=m(E*j),k=m(T*F);if(_!==k)throw new Error("bad point: equation left != right (2)");return!0});class g{constructor(x,w,E,j){this.X=l("x",x),this.Y=l("y",w),this.Z=l("z",E,!0),this.T=l("t",j),Object.freeze(this)}static CURVE(){return i}static fromAffine(x){if(x instanceof g)throw new Error("extended point not allowed");const{x:w,y:E}=x||{};return l("x",w),l("y",E),new g(w,E,vn,m(w*E))}static fromBytes(x,w=!1){const E=n.BYTES,{a:j,d:T}=i;x=WO(wi(x,E,"point")),lu(w,"zip215");const F=WO(x),z=x[E-1];F[E-1]=z&-129;const K=zg(F),U=w?f:n.ORDER;NA("point.y",K,wo,U);const H=m(K*K),V=m(H-vn),Z=m(T*H-j);let{isValid:R,value:_}=h(V,Z);if(!R)throw new Error("bad point: invalid y coordinate");const k=(_&vn)===vn,M=(z&128)!==0;if(!w&&_===wo&&M)throw new Error("bad point: x=0 and x_0=1");return M!==k&&(_=m(-_)),g.fromAffine({x:_,y:K})}static fromHex(x,w=!1){return g.fromBytes(Vr("point",x),w)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(x=8,w=!0){return y.createCache(this,x),w||this.multiply(q_),this}assertValidity(){p(this)}equals(x){o(x);const{X:w,Y:E,Z:j}=this,{X:T,Y:F,Z:z}=x,K=m(w*z),U=m(T*j),H=m(E*z),V=m(F*j);return K===U&&H===V}is0(){return this.equals(g.ZERO)}negate(){return new g(m(-this.X),this.Y,this.Z,m(-this.T))}double(){const{a:x}=i,{X:w,Y:E,Z:j}=this,T=m(w*w),F=m(E*E),z=m(q_*m(j*j)),K=m(x*T),U=w+E,H=m(m(U*U)-T-F),V=K+F,Z=V-z,R=K-F,_=m(H*Z),k=m(V*R),M=m(H*R),B=m(Z*V);return new g(_,k,B,M)}add(x){o(x);const{a:w,d:E}=i,{X:j,Y:T,Z:F,T:z}=this,{X:K,Y:U,Z:H,T:V}=x,Z=m(j*K),R=m(T*U),_=m(z*E*V),k=m(F*H),M=m((j+T)*(K+U)-Z-R),B=k-_,C=k+_,q=m(R-w*Z),W=m(M*B),I=m(C*q),S=m(M*q),O=m(B*C);return new g(W,I,O,S)}subtract(x){return this.add(x.negate())}multiply(x){if(!a.isValidNot0(x))throw new Error("invalid scalar: expected 1 <= sc < curve.n");const{p:w,f:E}=y.cached(this,x,j=>eu(g,j));return eu(g,[w,E])[0]}multiplyUnsafe(x,w=g.ZERO){if(!a.isValid(x))throw new Error("invalid scalar: expected 0 <= sc < curve.n");return x===wo?g.ZERO:this.is0()||x===vn?this:y.unsafe(this,x,E=>eu(g,E),w)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}isTorsionFree(){return y.unsafe(this,i.n).is0()}toAffine(x){return u(this,x)}clearCofactor(){return c===vn?this:this.multiplyUnsafe(c)}toBytes(){const{x,y:w}=this.toAffine(),E=n.toBytes(w);return E[E.length-1]|=x&vn?128:0,E}toHex(){return au(this.toBytes())}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get ex(){return this.X}get ey(){return this.Y}get ez(){return this.Z}get et(){return this.T}static normalizeZ(x){return eu(g,x)}static msm(x,w){return jD(g,a,x,w)}
273_setWindowSize(x){this.precompute(x)}toRawBytes(){return this.toBytes()}}g.BASE=new g(i.Gx,i.Gy,vn,m(i.Gx*i.Gy)),g.ZERO=new g(wo,vn,vn,wo),g.Fp=n,g.Fn=a;const y=new ED(g,a.BITS);return g.BASE.precompute(8),g}function IQ(e,t,r={}){if(typeof t!="function")throw new Error('"hash" function param is required');fy(r,{},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});const{prehash:n}=r,{BASE:a,Fp:i,Fn:c}=e,f=r.randomBytes||IP,m=r.adjustScalarBytes||(U=>U),h=r.domain||((U,H,V)=>{if(lu(V,"phflag"),H.length||V)throw new Error("Contexts/pre-hash are not supported");return U});function l(U){return c.create(zg(U))}function o(U){const H=E.secretKey;U=Vr("private key",U,H);const V=Vr("hashed private key",t(U),2*H),Z=m(V.slice(0,H)),R=V.slice(H,2*H),_=l(Z);return{head:Z,prefix:R,scalar:_}}function u(U){const{head:H,prefix:V,scalar:Z}=o(U),R=a.multiply(Z),_=R.toBytes();return{head:H,prefix:V,scalar:Z,point:R,pointBytes:_}}function p(U){return u(U).pointBytes}function g(U=Uint8Array.of(),...H){const V=Li(...H);return l(t(h(V,Vr("context",U),!!n)))}function y(U,H,V={}){U=Vr("message",U),n&&(U=n(U));const{prefix:Z,scalar:R,pointBytes:_}=u(H),k=g(V.context,Z,U),M=a.multiply(k).toBytes(),B=g(V.context,M,_,U),C=c.create(k+B*R);if(!c.isValid(C))throw new Error("sign failed: invalid s");const q=Li(M,c.toBytes(C));return wi(q,E.signature,"result")}const b={zip215:!0};function x(U,H,V,Z=b){const{context:R,zip215:_}=Z,k=E.signature;U=Vr("signature",U,k),H=Vr("message",H),V=Vr("publicKey",V,E.publicKey),_!==void 0&&lu(_,"zip215"),n&&(H=n(H));const M=k/2,B=U.subarray(0,M),C=zg(U.subarray(M,k));let q,W,I;try{q=e.fromBytes(V,_),W=e.fromBytes(B,_),I=a.multiplyUnsafe(C)}catch{return!1}if(!_&&q.isSmallOrder())return!1;const S=g(R,W.toBytes(),q.toBytes(),H);return W.add(q.multiplyUnsafe(S)).subtract(I).clearCofactor().is0()}const w=i.BYTES,E={secretKey:w,publicKey:w,signature:2*w,seed:w};function j(U=f(E.seed)){return wi(U,E.seed,"seed")}function T(U){const H=K.randomSecretKey(U);return{secretKey:H,publicKey:p(H)}}function F(U){return ly(U)&&U.length===c.BYTES}function z(U,H){try{return!!e.fromBytes(U,H)}catch{return!1}}const K={getExtendedPublicKey:u,randomSecretKey:j,isValidSecretKey:F,isValidPublicKey:z,toMontgomery(U){const{y:H}=e.fromBytes(U),V=E.publicKey,Z=V===32;if(!Z&&V!==57)throw new Error("only defined for 25519 and 448");const R=Z?i.div(vn+H,vn-H):i.div(H-vn,H+vn);return i.toBytes(R)},toMontgomerySecret(U){const H=E.secretKey;wi(U,H);const V=t(U.subarray(0,H));return m(V).subarray(0,H)},randomPrivateKey:j,precompute(U=8,H=e.BASE){return H.precompute(U,!1)}};return Object.freeze({keygen:T,getPublicKey:p,sign:y,verify:x,utils:K,Point:e,lengths:E})}function NQ(e){const t={a:e.a,d:e.d,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy},r=e.Fp,n=pu(t.n,e.nBitLength,!0),a={Fp:r,Fn:n,uvRatio:e.uvRatio},i={randomBytes:e.randomBytes,adjustScalarBytes:e.adjustScalarBytes,domain:e.domain,prehash:e.prehash,mapToCurve:e.mapToCurve};return{CURVE:t,curveOpts:a,hash:e.hash,eddsaOpts:i}}function MQ(e,t){const r=t.Point;return Object.assign({},t,{ExtendedPoint:r,CURVE:e,nBitLength:r.Fn.BITS,nByteLength:r.Fn.BYTES})}function FQ(e){const{CURVE:t,curveOpts:r,hash:n,eddsaOpts:a}=NQ(e),i=CQ(t,r),c=IQ(i,n,a);return MQ(e,c)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const BQ=BigInt(1),QO=BigInt(2);BigInt(3);const UQ=BigInt(5),qQ=BigInt(8),BP=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),PD={p:BP,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:qQ,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function LQ(e){const t=BigInt(10),r=BigInt(20),n=BigInt(40),a=BigInt(80),i=BP,f=e*e%i*e%i,m=Dr(f,QO,i)*f%i,h=Dr(m,BQ,i)*e%i,l=Dr(h,UQ,i)*h%i,o=Dr(l,t,i)*l%i,u=Dr(o,r,i)*o%i,p=Dr(u,n,i)*u%i,g=Dr(p,a,i)*p%i,y=Dr(g,a,i)*p%i,b=Dr(y,t,i)*l%i;
273return{pow_p_5_8:Dr(b,QO,i)*e%i,b2:f}}function DQ(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}const XO=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");function zQ(e,t){const r=BP,n=tn(t*t*t,r),a=tn(n*n*t,r),i=LQ(e*a).pow_p_5_8;let c=tn(e*n*i,r);const f=tn(t*c*c,r),m=c,h=tn(c*XO,r),l=f===e,o=f===tn(-e,r),u=f===tn(-e*XO,r);return l&&(c=m),(o||u)&&(c=h),xQ(c,r)&&(c=tn(-c,r)),{isValid:l||o,value:c}}const VQ=pu(PD.p,{isLE:!0}),HQ={...PD,Fp:VQ,hash:pQ,adjustScalarBytes:DQ,uvRatio:zQ},hy=FQ(HQ);var mv={exports:{}};const WQ={},GQ=Object.freeze(Object.defineProperty({__proto__:null,default:WQ},Symbol.toStringTag,{value:"Module"})),KQ=ew(GQ);var YQ=mv.exports,$O;function SD(){return $O||($O=1,(function(e){(function(t,r){function n(R,_){if(!R)throw new Error(_||"Assertion failed")}function a(R,_){R.super_=_;var k=function(){};k.prototype=_.prototype,R.prototype=new k,R.prototype.constructor=R}function i(R,_,k){if(i.isBN(R))return R;this.negative=0,this.words=null,this.length=0,this.red=null,R!==null&&((_==="le"||_==="be")&&(k=_,_=10),this._init(R||0,_||10,k||"be"))}
vendor: 50,202 bytes, line 273
273typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var c;try{typeof window<"u"&&typeof window.Buffer<"u"?c=window.Buffer:c=KQ.Buffer}catch{}i.isBN=function(_){return _ instanceof i?!0:_!==null&&typeof _=="object"&&_.constructor.wordSize===i.wordSize&&Array.isArray(_.words)},i.max=function(_,k){return _.cmp(k)>0?_:k},i.min=function(_,k){return _.cmp(k)<0?_:k},i.prototype._init=function(_,k,M){if(typeof _=="number")return this._initNumber(_,k,M);if(typeof _=="object")return this._initArray(_,k,M);k==="hex"&&(k=16),n(k===(k|0)&&k>=2&&k<=36),_=_.toString().replace(/\s+/g,"");var B=0;_[0]==="-"&&(B++,this.negative=1),B<_.length&&(k===16?this._parseHex(_,B,M):(this._parseBase(_,k,B),M==="le"&&this._initArray(this.toArray(),k,M)))},i.prototype._initNumber=function(_,k,M){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[_&67108863],this.length=1):_<4503599627370496?(this.words=[_&67108863,_/67108864&67108863],this.length=2):(n(_<9007199254740992),this.words=[_&67108863,_/67108864&67108863,1],this.length=3),M==="le"&&this._initArray(this.toArray(),k,M)},i.prototype._initArray=function(_,k,M){if(n(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var C,q,W=0;if(M==="be")for(B=_.length-1,C=0;B>=0;B-=3)q=_[B]|_[B-1]<<8|_[B-2]<<16,this.words[C]|=q<<W&67108863,this.words[C+1]=q>>>26-W&67108863,W+=24,W>=26&&(W-=26,C++);else if(M==="le")for(B=0,C=0;B<_.length;B+=3)q=_[B]|_[B+1]<<8|_[B+2]<<16,this.words[C]|=q<<W&67108863,this.words[C+1]=q>>>26-W&67108863,W+=24,W>=26&&(W-=26,C++);return this._strip()};function f(R,_){var k=R.charCodeAt(_);if(k>=48&&k<=57)return k-48;if(k>=65&&k<=70)return k-55;if(k>=97&&k<=102)return k-87;n(!1,"Invalid character in "+R)}function m(R,_,k){var M=f(R,k);return k-1>=_&&(M|=f(R,k-1)<<4),M}i.prototype._parseHex=function(_,k,M){this.length=Math.ceil((_.length-k)/6),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var C=0,q=0,W;if(M==="be")for(B=_.length-1;B>=k;B-=2)W=m(_,k,B)<<C,this.words[q]|=W&67108863,C>=18?(C-=18,q+=1,this.words[q]|=W>>>26):C+=8;else{var I=_.length-k;for(B=I%2===0?k+1:k;B<_.length;B+=2)W=m(_,k,B)<<C,this.words[q]|=W&67108863,C>=18?(C-=18,q+=1,this.words[q]|=W>>>26):C+=8}this._strip()};function h(R,_,k,M){for(var B=0,C=0,q=Math.min(R.length,k),W=_;W<q;W++){var I=R.charCodeAt(W)-48;B*=M,I>=49?C=I-49+10:I>=17?C=I-17+10:C=I,n(I>=0&&C<M,"Invalid character"),B+=C}return B}i.prototype._parseBase=function(_,k,M){this.words=[0],this.length=1;for(var B=0,C=1;C<=67108863;C*=k)B++;B--,C=C/k|0;for(var q=_.length-M,W=q%B,I=Math.min(q,q-W)+M,S=0,O=M;O<I;O+=B)S=h(_,O,O+B,k),this.imuln(C),this.words[0]+S<67108864?this.words[0]+=S:this._iaddn(S);if(W!==0){var Y=1;for(S=h(_,O,_.length,k),O=0;O<W;O++)Y*=k;this.imuln(Y),this.words[0]+S<67108864?this.words[0]+=S:this._iaddn(S)}this._strip()},i.prototype.copy=function(_){_.words=new Array(this.length);for(var k=0;k<this.length;k++)_.words[k]=this.words[k];_.length=this.length,_.negative=this.negative,_.red=this.red};function l(R,_){R.words=_.words,R.length=_.length,R.negative=_.negative,R.red=_.red}if(i.prototype._move=function(_){l(_,this)},i.prototype.clone=function(){var _=new i(null);return this.copy(_),_},i.prototype._expand=function(_){for(;this.length<_;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=o}catch{i.prototype.inspect=o}else i.prototype.inspect=o;function o(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var u=["","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"],p=[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],g=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(_,k){_=_||10,k=k|0||1;var M;if(_===16||_==="hex"){M="";for(var B=0,C=0,q=0;q<this.length;q++){var W=this.words[q],I=((W<<B|C)&16777215).toString(16);C=W>>>24-B&16777215,B+=2,B>=26&&(B-=26,q--),C!==0||q!==this.length-1?M=u[6-I.length]+I+M:M=I+M}for(C!==0&&(M=C.toString(16)+M);M.length%k!==0;)M="0"+M;return this.negative!==0&&(M="-"+M),M}if(_===(_|0)&&_>=2&&_<=36){var S=p[_],O=g[_];M="";var Y=this.clone();for(Y.negative=0;!Y.isZero();){var Q=Y.modrn(O).toString(_);Y=Y.idivn(O),Y.isZero()?M=Q+M:M=u[S-Q.length]+Q+M}for(this.isZero()&&(M="0"+M);M.length%k!==0;)M="0"+M;return this.negative!==0&&(M="-"+M),M}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=this.words[1]*67108864:this.length===3&&this.words[2]===1?_+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},i.prototype.toJSON=function(){return this.toString(16,2)},c&&(i.prototype.toBuffer=function(_,k){return this.toArrayLike(c,_,k)}),i.prototype.toArray=function(_,k){return this.toArrayLike(Array,_,k)};var y=function(_,k){return _.allocUnsafe?_.allocUnsafe(k):new _(k)};i.prototype.toArrayLike=function(_,k,M){this._strip();var B=this.byteLength(),C=M||Math.max(1,B);n(B<=C,"byte array longer than desired length"),n(C>0,"Requested array length <= 0");var q=y(_,C),W=k==="le"?"LE":"BE";return this["_toArrayLike"+W](q,B),q},i.prototype._toArrayLikeLE=function(_,k){for(var M=0,B=0,C=0,q=0;C<this.length;C++){var W=this.words[C]<<q|B;_[M++]=W&255,M<_.length&&(_[M++]=W>>8&255),M<_.length&&(_[M++]=W>>16&255),q===6?(M<_.length&&(_[M++]=W>>24&255),B=0,q=0):(B=W>>>24,q+=2)}if(M<_.length)for(_[M++]=B;M<_.length;)_[M++]=0},i.prototype._toArrayLikeBE=function(_,k){for(var M=_.length-1,B=0,C=0,q=0;C<this.length;C++){var W=this.words[C]<<q|B;_[M--]=W&255,M>=0&&(_[M--]=W>>8&255),M>=0&&(_[M--]=W>>16&255),q===6?(M>=0&&(_[M--]=W>>24&255),B=0,q=0):(B=W>>>24,q+=2)}if(M>=0)for(_[M--]=B;M>=0;)_[M--]=0},Math.clz32?i.prototype._countBits=function(_){return 32-Math.clz32(_)}:i.prototype._countBits=function(_){var k=_,M=0;return k>=4096&&(M+=13,k>>>=13),k>=64&&(M+=7,k>>>=7),k>=8&&(M+=4,k>>>=4),k>=2&&(M+=2,k>>>=2),M+k},i.prototype._zeroBits=function(_){if(_===0)return 26;var k=_,M=0;return(k&8191)===0&&(M+=13,k>>>=13),(k&127)===0&&(M+=7,k>>>=7),(k&15)===0&&(M+=4,k>>>=4),(k&3)===0&&(M+=2,k>>>=2),(k&1)===0&&M++,M},i.prototype.bitLength=function(){var _=this.words[this.length-1],k=this._countBits(_);return(this.length-1)*26+k};function b(R){for(var _=new Array(R.bitLength()),k=0;k<_.length;k++){var M=k/26|0,B=k%26;_[k]=R.words[M]>>>B&1}return _}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,k=0;k<this.length;k++){var M=this._zeroBits(this.words[k]);if(_+=M,M!==26)break}return _},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(_){return this.negative!==0?this.abs().inotn(_).iaddn(1):this.clone()},i.prototype.fromTwos=function(_){return this.testn(_-1)?this.notn(_).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(_){for(;this.length<_.length;)this.words[this.length++]=0;for(var k=0;k<_.length;k++)this.words[k]=this.words[k]|_.words[k];return this._strip()},i.prototype.ior=function(_){return n((this.negative|_.negative)===0),this.iuor(_)},i.prototype.or=function(_){return this.length>_.length?this.clone().ior(_):_.clone().ior(this)},i.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},i.prototype.iuand=function(_){var k;this.length>_.length?k=_:k=this;for(var M=0;M<k.length;M++)this.words[M]=this.words[M]&_.words[M];return this.length=k.length,this._strip()},i.prototype.iand=function(_){return n((this.negative|_.negative)===0),this.iuand(_)},i.prototype.and=function(_){return this.length>_.length?this.clone().iand(_):_.clone().iand(this)},i.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},i.prototype.iuxor=function(_){var k,M;this.length>_.length?(k=this,M=_):(k=_,M=this);for(var B=0;B<M.length;B++)this.words[B]=k.words[B]^M.words[B];if(this!==k)for(;B<k.length;B++)this.words[B]=k.words[B];return this.length=k.length,this._strip()},i.prototype.ixor=function(_){return n((this.negative|_.negative)===0),this.iuxor(_)},i.prototype.xor=function(_){return this.length>_.length?this.clone().ixor(_):_.clone().ixor(this)},i.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},i.prototype.inotn=function(_){n(typeof _=="number"&&_>=0);var k=Math.ceil(_/26)|0,M=_%26;this._expand(k),M>0&&k--;for(var B=0;B<k;B++)this.words[B]=~this.words[B]&67108863;return M>0&&(this.words[B]=~this.words[B]&67108863>>26-M),this._strip()},i.prototype.notn=function(_){return this.clone().inotn(_)},i.prototype.setn=function(_,k){n(typeof _=="number"&&_>=0);var M=_/26|0,B=_%26;return this._expand(M+1),k?this.words[M]=this.words[M]|1<<B:this.words[M]=this.words[M]&~(1<<B),this._strip()},i.prototype.iadd=function(_){var k;if(this.negative!==0&&_.negative===0)return this.negative=0,k=this.isub(_),this.negative^=1,this._normSign();if(this.negative===0&&_.negative!==0)return _.negative=0,k=this.isub(_),_.negative=1,k._normSign();var M,B;this.length>_.length?(M=this,B=_):(M=_,B=this);for(var C=0,q=0;q<B.length;q++)k=(M.words[q]|0)+(B.words[q]|0)+C,this.words[q]=k&67108863,C=k>>>26;for(;C!==0&&q<M.length;q++)k=(M.words[q]|0)+C,this.words[q]=k&67108863,C=k>>>26;if(this.length=M.length,C!==0)this.words[this.length]=C,this.length++;else if(M!==this)for(;q<M.length;q++)this.words[q]=M.words[q];return this},i.prototype.add=function(_){var k;return _.negative!==0&&this.negative===0?(_.negative=0,k=this.sub(_),_.negative^=1,k):_.negative===0&&this.negative!==0?(this.negative=0,k=_.sub(this),this.negative=1,k):this.length>_.length?this.clone().iadd(_):_.clone().iadd(this)},i.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var k=this.iadd(_);return _.negative=1,k._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var M=this.cmp(_);if(M===0)return this.negative=0,this.length=1,this.words[0]=0,this;var B,C;M>0?(B=this,C=_):(B=_,C=this);for(var q=0,W=0;W<C.length;W++)k=(B.words[W]|0)-(C.words[W]|0)+q,q=k>>26,this.words[W]=k&67108863;for(;q!==0&&W<B.length;W++)k=(B.words[W]|0)+q,q=k>>26,this.words[W]=k&67108863;if(q===0&&W<B.length&&B!==this)for(;W<B.length;W++)this.words[W]=B.words[W];return this.length=Math.max(this.length,W),B!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(_){return this.clone().isub(_)};function x(R,_,k){k.negative=_.negative^R.negative;var M=R.length+_.length|0;k.length=M,M=M-1|0;var B=R.words[0]|0,C=_.words[0]|0,q=B*C,W=q&67108863,I=q/67108864|0;k.words[0]=W;for(var S=1;S<M;S++){for(var O=I>>>26,Y=I&67108863,Q=Math.min(S,_.length-1),ne=Math.max(0,S-R.length+1);ne<=Q;ne++){var oe=S-ne|0;B=R.words[oe]|0,C=_.words[ne]|0,q=B*C+Y,O+=q/67108864|0,Y=q&67108863}k.words[S]=Y|0,I=O|0}return I!==0?k.words[S]=I|0:k.length--,k._strip()}var w=function(_,k,M){var B=_.words,C=k.words,q=M.words,W=0,I,S,O,Y=B[0]|0,Q=Y&8191,ne=Y>>>13,oe=B[1]|0,ge=oe&8191,we=oe>>>13,Ue=B[2]|0,ye=Ue&8191,de=Ue>>>13,Se=B[3]|0,Oe=Se&8191,Be=Se>>>13,Pt=B[4]|0,Ge=Pt&8191,ft=Pt>>>13,er=B[5]|0,dt=er&8191,vt=er>>>13,It=B[6]|0,Rt=It&8191,Nt=It>>>13,sr=B[7]|0,be=sr&8191,X=sr>>>13,L=B[8]|0,G=L&8191,re=L>>>13,fe=B[9]|0,ve=fe&8191,ke=fe>>>13,mt=C[0]|0,bt=mt&8191,at=mt>>>13,zt=C[1]|0,Qe=zt&8191,Gt=zt>>>13,mn=C[2]|0,Bt=mn&8191,qt=mn>>>13,nn=C[3]|0,Zt=nn&8191,tr=nn>>>13,Va=C[4]|0,Jt=Va&8191,Qt=Va>>>13,Re=C[5]|0,ze=Re&8191,ot=Re>>>13,Xt=C[6]|0,gt=Xt&8191,Mt=Xt>>>13,hr=C[7]|0,rr=hr&8191,dr=hr>>>13,Pi=C[8]|0,gr=Pi&8191,wr=Pi>>>13,kn=C[9]|0,pr=kn&8191,yr=kn>>>13;M.negative=_.negative^k.negative,M.length=19,I=Math.imul(Q,bt),S=Math.imul(Q,at),S=S+Math.imul(ne,bt)|0,O=Math.imul(ne,at);var Ji=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(Ji>>>26)|0,Ji&=67108863,I=Math.imul(ge,bt),S=Math.imul(ge,at),S=S+Math.imul(we,bt)|0,O=Math.imul(we,at),I=I+Math.imul(Q,Qe)|0,S=S+Math.imul(Q,Gt)|0,S=S+Math.imul(ne,Qe)|0,O=O+Math.imul(ne,Gt)|0;var ri=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(ri>>>26)|0,ri&=67108863,I=Math.imul(ye,bt),S=Math.imul(ye,at),S=S+Math.imul(de,bt)|0,O=Math.imul(de,at),I=I+Math.imul(ge,Qe)|0,S=S+Math.imul(ge,Gt)|0,S=S+Math.imul(we,Qe)|0,O=O+Math.imul(we,Gt)|0,I=I+Math.imul(Q,Bt)|0,S=S+Math.imul(Q,qt)|0,S=S+Math.imul(ne,Bt)|0,O=O+Math.imul(ne,qt)|0;var ta=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(ta>>>26)|0,ta&=67108863,I=Math.imul(Oe,bt),S=Math.imul(Oe,at),S=S+Math.imul(Be,bt)|0,O=Math.imul(Be,at),I=I+Math.imul(ye,Qe)|0,S=S+Math.imul(ye,Gt)|0,S=S+Math.imul(de,Qe)|0,O=O+Math.imul(de,Gt)|0,I=I+Math.imul(ge,Bt)|0,S=S+Math.imul(ge,qt)|0,S=S+Math.imul(we,Bt)|0,O=O+Math.imul(we,qt)|0,I=I+Math.imul(Q,Zt)|0,S=S+Math.imul(Q,tr)|0,S=S+Math.imul(ne,Zt)|0,O=O+Math.imul(ne,tr)|0;var va=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(va>>>26)|0,va&=67108863,I=Math.imul(Ge,bt),S=Math.imul(Ge,at),S=S+Math.imul(ft,bt)|0,O=Math.imul(ft,at),I=I+Math.imul(Oe,Qe)|0,S=S+Math.imul(Oe,Gt)|0,S=S+Math.imul(Be,Qe)|0,O=O+Math.imul(Be,Gt)|0,I=I+Math.imul(ye,Bt)|0,S=S+Math.imul(ye,qt)|0,S=S+Math.imul(de,Bt)|0,O=O+Math.imul(de,qt)|0,I=I+Math.imul(ge,Zt)|0,S=S+Math.imul(ge,tr)|0,S=S+Math.imul(we,Zt)|0,O=O+Math.imul(we,tr)|0,I=I+Math.imul(Q,Jt)|0,S=S+Math.imul(Q,Qt)|0,S=S+Math.imul(ne,Jt)|0,O=O+Math.imul(ne,Qt)|0;var Si=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(Si>>>26)|0,Si&=67108863,I=Math.imul(dt,bt),S=Math.imul(dt,at),S=S+Math.imul(vt,bt)|0,O=Math.imul(vt,at),I=I+Math.imul(Ge,Qe)|0,S=S+Math.imul(Ge,Gt)|0,S=S+Math.imul(ft,Qe)|0,O=O+Math.imul(ft,Gt)|0,I=I+Math.imul(Oe,Bt)|0,S=S+Math.imul(Oe,qt)|0,S=S+Math.imul(Be,Bt)|0,O=O+Math.imul(Be,qt)|0,I=I+Math.imul(ye,Zt)|0,S=S+Math.imul(ye,tr)|0,S=S+Math.imul(de,Zt)|0,O=O+Math.imul(de,tr)|0,I=I+Math.imul(ge,Jt)|0,S=S+Math.imul(ge,Qt)|0,S=S+Math.imul(we,Jt)|0,O=O+Math.imul(we,Qt)|0,I=I+Math.imul(Q,ze)|0,S=S+Math.imul(Q,ot)|0,S=S+Math.imul(ne,ze)|0,O=O+Math.imul(ne,ot)|0;var Qi=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,I=Math.imul(Rt,bt),S=Math.imul(Rt,at),S=S+Math.imul(Nt,bt)|0,O=Math.imul(Nt,at),I=I+Math.imul(dt,Qe)|0,S=S+Math.imul(dt,Gt)|0,S=S+Math.imul(vt,Qe)|0,O=O+Math.imul(vt,Gt)|0,I=I+Math.imul(Ge,Bt)|0,S=S+Math.imul(Ge,qt)|0,S=S+Math.imul(ft,Bt)|0,O=O+Math.imul(ft,qt)|0,I=I+Math.imul(Oe,Zt)|0,S=S+Math.imul(Oe,tr)|0,S=S+Math.imul(Be,Zt)|0,O=O+Math.imul(Be,tr)|0,I=I+Math.imul(ye,Jt)|0,S=S+Math.imul(ye,Qt)|0,S=S+Math.imul(de,Jt)|0,O=O+Math.imul(de,Qt)|0,I=I+Math.imul(ge,ze)|0,S=S+Math.imul(ge,ot)|0,S=S+Math.imul(we,ze)|0,O=O+Math.imul(we,ot)|0,I=I+Math.imul(Q,gt)|0,S=S+Math.imul(Q,Mt)|0,S=S+Math.imul(ne,gt)|0,O=O+Math.imul(ne,Mt)|0;var ni=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(ni>>>26)|0,ni&=67108863,I=Math.imul(be,bt),S=Math.imul(be,at),S=S+Math.imul(X,bt)|0,O=Math.imul(X,at),I=I+Math.imul(Rt,Qe)|0,S=S+Math.imul(Rt,Gt)|0,S=S+Math.imul(Nt,Qe)|0,O=O+Math.imul(Nt,Gt)|0,I=I+Math.imul(dt,Bt)|0,S=S+Math.imul(dt,qt)|0,S=S+Math.imul(vt,Bt)|0,O=O+Math.imul(vt,qt)|0,I=I+Math.imul(Ge,Zt)|0,S=S+Math.imul(Ge,tr)|0,S=S+Math.imul(ft,Zt)|0,O=O+Math.imul(ft,tr)|0,I=I+Math.imul(Oe,Jt)|0,S=S+Math.imul(Oe,Qt)|0,S=S+Math.imul(Be,Jt)|0,O=O+Math.imul(Be,Qt)|0,I=I+Math.imul(ye,ze)|0,S=S+Math.imul(ye,ot)|0,S=S+Math.imul(de,ze)|0,O=O+Math.imul(de,ot)|0,I=I+Math.imul(ge,gt)|0,S=S+Math.imul(ge,Mt)|0,S=S+Math.imul(we,gt)|0,O=O+Math.imul(we,Mt)|0,I=I+Math.imul(Q,rr)|0,S=S+Math.imul(Q,dr)|0,S=S+Math.imul(ne,rr)|0,O=O+Math.imul(ne,dr)|0;var cr=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(cr>>>26)|0,cr&=67108863,I=Math.imul(G,bt),S=Math.imul(G,at),S=S+Math.imul(re,bt)|0,O=Math.imul(re,at),I=I+Math.imul(be,Qe)|0,S=S+Math.imul(be,Gt)|0,S=S+Math.imul(X,Qe)|0,O=O+Math.imul(X,Gt)|0,I=I+Math.imul(Rt,Bt)|0,S=S+Math.imul(Rt,qt)|0,S=S+Math.imul(Nt,Bt)|0,O=O+Math.imul(Nt,qt)|0,I=I+Math.imul(dt,Zt)|0,S=S+Math.imul(dt,tr)|0,S=S+Math.imul(vt,Zt)|0,O=O+Math.imul(vt,tr)|0,I=I+Math.imul(Ge,Jt)|0,S=S+Math.imul(Ge,Qt)|0,S=S+Math.imul(ft,Jt)|0,O=O+Math.imul(ft,Qt)|0,I=I+Math.imul(Oe,ze)|0,S=S+Math.imul(Oe,ot)|0,S=S+Math.imul(Be,ze)|0,O=O+Math.imul(Be,ot)|0,I=I+Math.imul(ye,gt)|0,S=S+Math.imul(ye,Mt)|0,S=S+Math.imul(de,gt)|0,O=O+Math.imul(de,Mt)|0,I=I+Math.imul(ge,rr)|0,S=S+Math.imul(ge,dr)|0,S=S+Math.imul(we,rr)|0,O=O+Math.imul(we,dr)|0,I=I+Math.imul(Q,gr)|0,S=S+Math.imul(Q,wr)|0,S=S+Math.imul(ne,gr)|0,O=O+Math.imul(ne,wr)|0;var Xi=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(Xi>>>26)|0,Xi&=67108863,I=Math.imul(ve,bt),S=Math.imul(ve,at),S=S+Math.imul(ke,bt)|0,O=Math.imul(ke,at),I=I+Math.imul(G,Qe)|0,S=S+Math.imul(G,Gt)|0,S=S+Math.imul(re,Qe)|0,O=O+Math.imul(re,Gt)|0,I=I+Math.imul(be,Bt)|0,S=S+Math.imul(be,qt)|0,S=S+Math.imul(X,Bt)|0,O=O+Math.imul(X,qt)|0,I=I+Math.imul(Rt,Zt)|0,S=S+Math.imul(Rt,tr)|0,S=S+Math.imul(Nt,Zt)|0,O=O+Math.imul(Nt,tr)|0,I=I+Math.imul(dt,Jt)|0,S=S+Math.imul(dt,Qt)|0,S=S+Math.imul(vt,Jt)|0,O=O+Math.imul(vt,Qt)|0,I=I+Math.imul(Ge,ze)|0,S=S+Math.imul(Ge,ot)|0,S=S+Math.imul(ft,ze)|0,O=O+Math.imul(ft,ot)|0,I=I+Math.imul(Oe,gt)|0,S=S+Math.imul(Oe,Mt)|0,S=S+Math.imul(Be,gt)|0,O=O+Math.imul(Be,Mt)|0,I=I+Math.imul(ye,rr)|0,S=S+Math.imul(ye,dr)|0,S=S+Math.imul(de,rr)|0,O=O+Math.imul(de,dr)|0,I=I+Math.imul(ge,gr)|0,S=S+Math.imul(ge,wr)|0,S=S+Math.imul(we,gr)|0,O=O+Math.imul(we,wr)|0,I=I+Math.imul(Q,pr)|0,S=S+Math.imul(Q,yr)|0,S=S+Math.imul(ne,pr)|0,O=O+Math.imul(ne,yr)|0;var ra=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(ra>>>26)|0,ra&=67108863,I=Math.imul(ve,Qe),S=Math.imul(ve,Gt),S=S+Math.imul(ke,Qe)|0,O=Math.imul(ke,Gt),I=I+Math.imul(G,Bt)|0,S=S+Math.imul(G,qt)|0,S=S+Math.imul(re,Bt)|0,O=O+Math.imul(re,qt)|0,I=I+Math.imul(be,Zt)|0,S=S+Math.imul(be,tr)|0,S=S+Math.imul(X,Zt)|0,O=O+Math.imul(X,tr)|0,I=I+Math.imul(Rt,Jt)|0,S=S+Math.imul(Rt,Qt)|0,S=S+Math.imul(Nt,Jt)|0,O=O+Math.imul(Nt,Qt)|0,I=I+Math.imul(dt,ze)|0,S=S+Math.imul(dt,ot)|0,S=S+Math.imul(vt,ze)|0,O=O+Math.imul(vt,ot)|0,I=I+Math.imul(Ge,gt)|0,S=S+Math.imul(Ge,Mt)|0,S=S+Math.imul(ft,gt)|0,O=O+Math.imul(ft,Mt)|0,I=I+Math.imul(Oe,rr)|0,S=S+Math.imul(Oe,dr)|0,S=S+Math.imul(Be,rr)|0,O=O+Math.imul(Be,dr)|0,I=I+Math.imul(ye,gr)|0,S=S+Math.imul(ye,wr)|0,S=S+Math.imul(de,gr)|0,O=O+Math.imul(de,wr)|0,I=I+Math.imul(ge,pr)|0,S=S+Math.imul(ge,yr)|0,S=S+Math.imul(we,pr)|0,O=O+Math.imul(we,yr)|0;var Zr=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(Zr>>>26)|0,Zr&=67108863,I=Math.imul(ve,Bt),S=Math.imul(ve,qt),S=S+Math.imul(ke,Bt)|0,O=Math.imul(ke,qt),I=I+Math.imul(G,Zt)|0,S=S+Math.imul(G,tr)|0,S=S+Math.imul(re,Zt)|0,O=O+Math.imul(re,tr)|0,I=I+Math.imul(be,Jt)|0,S=S+Math.imul(be,Qt)|0,S=S+Math.imul(X,Jt)|0,O=O+Math.imul(X,Qt)|0,I=I+Math.imul(Rt,ze)|0,S=S+Math.imul(Rt,ot)|0,S=S+Math.imul(Nt,ze)|0,O=O+Math.imul(Nt,ot)|0,I=I+Math.imul(dt,gt)|0,S=S+Math.imul(dt,Mt)|0,S=S+Math.imul(vt,gt)|0,O=O+Math.imul(vt,Mt)|0,I=I+Math.imul(Ge,rr)|0,S=S+Math.imul(Ge,dr)|0,S=S+Math.imul(ft,rr)|0,O=O+Math.imul(ft,dr)|0,I=I+Math.imul(Oe,gr)|0,S=S+Math.imul(Oe,wr)|0,S=S+Math.imul(Be,gr)|0,O=O+Math.imul(Be,wr)|0,I=I+Math.imul(ye,pr)|0,S=S+Math.imul(ye,yr)|0,S=S+Math.imul(de,pr)|0,O=O+Math.imul(de,yr)|0;var na=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(na>>>26)|0,na&=67108863,I=Math.imul(ve,Zt),S=Math.imul(ve,tr),S=S+Math.imul(ke,Zt)|0,O=Math.imul(ke,tr),I=I+Math.imul(G,Jt)|0,S=S+Math.imul(G,Qt)|0,S=S+Math.imul(re,Jt)|0,O=O+Math.imul(re,Qt)|0,I=I+Math.imul(be,ze)|0,S=S+Math.imul(be,ot)|0,S=S+Math.imul(X,ze)|0,O=O+Math.imul(X,ot)|0,I=I+Math.imul(Rt,gt)|0,S=S+Math.imul(Rt,Mt)|0,S=S+Math.imul(Nt,gt)|0,O=O+Math.imul(Nt,Mt)|0,I=I+Math.imul(dt,rr)|0,S=S+Math.imul(dt,dr)|0,S=S+Math.imul(vt,rr)|0,O=O+Math.imul(vt,dr)|0,I=I+Math.imul(Ge,gr)|0,S=S+Math.imul(Ge,wr)|0,S=S+Math.imul(ft,gr)|0,O=O+Math.imul(ft,wr)|0,I=I+Math.imul(Oe,pr)|0,S=S+Math.imul(Oe,yr)|0,S=S+Math.imul(Be,pr)|0,O=O+Math.imul(Be,yr)|0;var ki=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(ki>>>26)|0,ki&=67108863,I=Math.imul(ve,Jt),S=Math.imul(ve,Qt),S=S+Math.imul(ke,Jt)|0,O=Math.imul(ke,Qt),I=I+Math.imul(G,ze)|0,S=S+Math.imul(G,ot)|0,S=S+Math.imul(re,ze)|0,O=O+Math.imul(re,ot)|0,I=I+Math.imul(be,gt)|0,S=S+Math.imul(be,Mt)|0,S=S+Math.imul(X,gt)|0,O=O+Math.imul(X,Mt)|0,I=I+Math.imul(Rt,rr)|0,S=S+Math.imul(Rt,dr)|0,S=S+Math.imul(Nt,rr)|0,O=O+Math.imul(Nt,dr)|0,I=I+Math.imul(dt,gr)|0,S=S+Math.imul(dt,wr)|0,S=S+Math.imul(vt,gr)|0,O=O+Math.imul(vt,wr)|0,I=I+Math.imul(Ge,pr)|0,S=S+Math.imul(Ge,yr)|0,S=S+Math.imul(ft,pr)|0,O=O+Math.imul(ft,yr)|0;var Hn=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,I=Math.imul(ve,ze),S=Math.imul(ve,ot),S=S+Math.imul(ke,ze)|0,O=Math.imul(ke,ot),I=I+Math.imul(G,gt)|0,S=S+Math.imul(G,Mt)|0,S=S+Math.imul(re,gt)|0,O=O+Math.imul(re,Mt)|0,I=I+Math.imul(be,rr)|0,S=S+Math.imul(be,dr)|0,S=S+Math.imul(X,rr)|0,O=O+Math.imul(X,dr)|0,I=I+Math.imul(Rt,gr)|0,S=S+Math.imul(Rt,wr)|0,S=S+Math.imul(Nt,gr)|0,O=O+Math.imul(Nt,wr)|0,I=I+Math.imul(dt,pr)|0,S=S+Math.imul(dt,yr)|0,S=S+Math.imul(vt,pr)|0,O=O+Math.imul(vt,yr)|0;var wa=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(wa>>>26)|0,wa&=67108863,I=Math.imul(ve,gt),S=Math.imul(ve,Mt),S=S+Math.imul(ke,gt)|0,O=Math.imul(ke,Mt),I=I+Math.imul(G,rr)|0,S=S+Math.imul(G,dr)|0,S=S+Math.imul(re,rr)|0,O=O+Math.imul(re,dr)|0,I=I+Math.imul(be,gr)|0,S=S+Math.imul(be,wr)|0,S=S+Math.imul(X,gr)|0,O=O+Math.imul(X,wr)|0,I=I+Math.imul(Rt,pr)|0,S=S+Math.imul(Rt,yr)|0,S=S+Math.imul(Nt,pr)|0,O=O+Math.imul(Nt,yr)|0;var Jr=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,I=Math.imul(ve,rr),S=Math.imul(ve,dr),S=S+Math.imul(ke,rr)|0,O=Math.imul(ke,dr),I=I+Math.imul(G,gr)|0,S=S+Math.imul(G,wr)|0,S=S+Math.imul(re,gr)|0,O=O+Math.imul(re,wr)|0,I=I+Math.imul(be,pr)|0,S=S+Math.imul(be,yr)|0,S=S+Math.imul(X,pr)|0,O=O+Math.imul(X,yr)|0;var $i=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+($i>>>26)|0,$i&=67108863,I=Math.imul(ve,gr),S=Math.imul(ve,wr),S=S+Math.imul(ke,gr)|0,O=Math.imul(ke,wr),I=I+Math.imul(G,pr)|0,S=S+Math.imul(G,yr)|0,S=S+Math.imul(re,pr)|0,O=O+Math.imul(re,yr)|0;var an=(W+I|0)+((S&8191)<<13)|0;W=(O+(S>>>13)|0)+(an>>>26)|0,an&=67108863,I=Math.imul(ve,pr),S=Math.imul(ve,yr),S=S+Math.imul(ke,pr)|0,O=Math.imul(ke,yr);var aa=(W+I|0)+((S&8191)<<13)|0;return W=(O+(S>>>13)|0)+(aa>>>26)|0,aa&=67108863,q[0]=Ji,q[1]=ri,q[2]=ta,q[3]=va,q[4]=Si,q[5]=Qi,q[6]=ni,q[7]=cr,q[8]=Xi,q[9]=ra,q[10]=Zr,q[11]=na,q[12]=ki,q[13]=Hn,q[14]=wa,q[15]=Jr,q[16]=$i,q[17]=an,q[18]=aa,W!==0&&(q[19]=W,M.length++),M};Math.imul||(w=x);function E(R,_,k){k.negative=_.negative^R.negative,k.length=R.length+_.length;for(var M=0,B=0,C=0;C<k.length-1;C++){var q=B;B=0;for(var W=M&67108863,I=Math.min(C,_.length-1),S=Math.max(0,C-R.length+1);S<=I;S++){var O=C-S,Y=R.words[O]|0,Q=_.words[S]|0,ne=Y*Q,oe=ne&67108863;q=q+(ne/67108864|0)|0,oe=oe+W|0,W=oe&67108863,q=q+(oe>>>26)|0,B+=q>>>26,q&=67108863}k.words[C]=W,M=q,q=B}return M!==0?k.words[C]=M:k.length--,k._strip()}function j(R,_,k){return E(R,_,k)}i.prototype.mulTo=function(_,k){var M,B=this.length+_.length;return this.length===10&&_.length===10?M=w(this,_,k):B<63?M=x(this,_,k):B<1024?M=E(this,_,k):M=j(this,_,k),M},i.prototype.mul=function(_){var k=new i(null);return k.words=new Array(this.length+_.length),this.mulTo(_,k)},i.prototype.mulf=function(_){var k=new i(null);return k.words=new Array(this.length+_.length),j(this,_,k)},i.prototype.imul=function(_){return this.clone().mulTo(_,this)},i.prototype.imuln=function(_){var k=_<0;k&&(_=-_),n(typeof _=="number"),n(_<67108864);for(var M=0,B=0;B<this.length;B++){var C=(this.words[B]|0)*_,q=(C&67108863)+(M&67108863);M>>=26,M+=C/67108864|0,M+=q>>>26,this.words[B]=q&67108863}return M!==0&&(this.words[B]=M,this.length++),this.length=_===0?1:this.length,k?this.ineg():this},i.prototype.muln=function(_){return this.clone().imuln(_)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(_){var k=b(_);if(k.length===0)return new i(1);for(var M=this,B=0;B<k.length&&k[B]===0;B++,M=M.sqr());if(++B<k.length)for(var C=M.sqr();B<k.length;B++,C=C.sqr())k[B]!==0&&(M=M.mul(C));return M},i.prototype.iushln=function(_){n(typeof _=="number"&&_>=0);var k=_%26,M=(_-k)/26,B=67108863>>>26-k<<26-k,C;if(k!==0){var q=0;for(C=0;C<this.length;C++){var W=this.words[C]&B,I=(this.words[C]|0)-W<<k;this.words[C]=I|q,q=W>>>26-k}q&&(this.words[C]=q,this.length++)}if(M!==0){for(C=this.length-1;C>=0;C--)this.words[C+M]=this.words[C];for(C=0;C<M;C++)this.words[C]=0;this.length+=M}return this._strip()},i.prototype.ishln=function(_){return n(this.negative===0),this.iushln(_)},i.prototype.iushrn=function(_,k,M){n(typeof _=="number"&&_>=0);var B;k?B=(k-k%26)/26:B=0;var C=_%26,q=Math.min((_-C)/26,this.length),W=67108863^67108863>>>C<<C,I=M;if(B-=q,B=Math.max(0,B),I){for(var S=0;S<q;S++)I.words[S]=this.words[S];I.length=q}if(q!==0)if(this.length>q)for(this.length-=q,S=0;S<this.length;S++)this.words[S]=this.words[S+q];else this.words[0]=0,this.length=1;var O=0;for(S=this.length-1;S>=0&&(O!==0||S>=B);S--){var Y=this.words[S]|0;this.words[S]=O<<26-C|Y>>>C,O=Y&W}return I&&O!==0&&(I.words[I.length++]=O),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(_,k,M){return n(this.negative===0),this.iushrn(_,k,M)},i.prototype.shln=function(_){return this.clone().ishln(_)},i.prototype.ushln=function(_){return this.clone().iushln(_)},i.prototype.shrn=function(_){return this.clone().ishrn(_)},i.prototype.ushrn=function(_){return this.clone().iushrn(_)},i.prototype.testn=function(_){n(typeof _=="number"&&_>=0);var k=_%26,M=(_-k)/26,B=1<<k;if(this.length<=M)return!1;var C=this.words[M];return!!(C&B)},i.prototype.imaskn=function(_){n(typeof _=="number"&&_>=0);var k=_%26,M=(_-k)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=M)return this;if(k!==0&&M++,this.length=Math.min(M,this.length),k!==0){var B=67108863^67108863>>>k<<k;this.words[this.length-1]&=B}return this._strip()},i.prototype.maskn=function(_){return this.clone().imaskn(_)},i.prototype.iaddn=function(_){return n(typeof _=="number"),n(_<67108864),_<0?this.isubn(-_):this.negative!==0?this.length===1&&(this.words[0]|0)<=_?(this.words[0]=_-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(_),this.negative=1,this):this._iaddn(_)},i.prototype._iaddn=function(_){this.words[0]+=_;for(var k=0;k<this.length&&this.words[k]>=67108864;k++)this.words[k]-=67108864,k===this.length-1?this.words[k+1]=1:this.words[k+1]++;return this.length=Math.max(this.length,k+1),this},i.prototype.isubn=function(_){if(n(typeof _=="number"),n(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var k=0;k<this.length&&this.words[k]<0;k++)this.words[k]+=67108864,this.words[k+1]-=1;return this._strip()},i.prototype.addn=function(_){return this.clone().iaddn(_)},i.prototype.subn=function(_){return this.clone().isubn(_)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(_,k,M){var B=_.length+M,C;this._expand(B);var q,W=0;for(C=0;C<_.length;C++){q=(this.words[C+M]|0)+W;var I=(_.words[C]|0)*k;q-=I&67108863,W=(q>>26)-(I/67108864|0),this.words[C+M]=q&67108863}for(;C<this.length-M;C++)q=(this.words[C+M]|0)+W,W=q>>26,this.words[C+M]=q&67108863;if(W===0)return this._strip();for(n(W===-1),W=0,C=0;C<this.length;C++)q=-(this.words[C]|0)+W,W=q>>26,this.words[C]=q&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(_,k){var M=this.length-_.length,B=this.clone(),C=_,q=C.words[C.length-1]|0,W=this._countBits(q);M=26-W,M!==0&&(C=C.ushln(M),B.iushln(M),q=C.words[C.length-1]|0);var I=B.length-C.length,S;if(k!=="mod"){S=new i(null),S.length=I+1,S.words=new Array(S.length);for(var O=0;O<S.length;O++)S.words[O]=0}var Y=B.clone()._ishlnsubmul(C,1,I);Y.negative===0&&(B=Y,S&&(S.words[I]=1));for(var Q=I-1;Q>=0;Q--){var ne=(B.words[C.length+Q]|0)*67108864+(B.words[C.length+Q-1]|0);for(ne=Math.min(ne/q|0,67108863),B._ishlnsubmul(C,ne,Q);B.negative!==0;)ne--,B.negative=0,B._ishlnsubmul(C,1,Q),B.isZero()||(B.negative^=1);S&&(S.words[Q]=ne)}return S&&S._strip(),B._strip(),k!=="div"&&M!==0&&B.iushrn(M),{div:S||null,mod:B}},i.prototype.divmod=function(_,k,M){if(n(!_.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var B,C,q;return this.negative!==0&&_.negative===0?(q=this.neg().divmod(_,k),k!=="mod"&&(B=q.div.neg()),k!=="div"&&(C=q.mod.neg(),M&&C.negative!==0&&C.iadd(_)),{div:B,mod:C}):this.negative===0&&_.negative!==0?(q=this.divmod(_.neg(),k),k!=="mod"&&(B=q.div.neg()),{div:B,mod:q.mod}):(this.negative&_.negative)!==0?(q=this.neg().divmod(_.neg(),k),k!=="div"&&(C=q.mod.neg(),M&&C.negative!==0&&C.isub(_)),{div:q.div,mod:C}):_.length>this.length||this.cmp(_)<0?{div:new i(0),mod:this}:_.length===1?k==="div"?{div:this.divn(_.words[0]),mod:null}:k==="mod"?{div:null,mod:new i(this.modrn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new i(this.modrn(_.words[0]))}:this._wordDiv(_,k)},i.prototype.div=function(_){return this.divmod(_,"div",!1).div},i.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},i.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},i.prototype.divRound=function(_){var k=this.divmod(_);if(k.mod.isZero())return k.div;var M=k.div.negative!==0?k.mod.isub(_):k.mod,B=_.ushrn(1),C=_.andln(1),q=M.cmp(B);return q<0||C===1&&q===0?k.div:k.div.negative!==0?k.div.isubn(1):k.div.iaddn(1)},i.prototype.modrn=function(_){var k=_<0;k&&(_=-_),n(_<=67108863);for(var M=(1<<26)%_,B=0,C=this.length-1;C>=0;C--)B=(M*B+(this.words[C]|0))%_;return k?-B:B},i.prototype.modn=function(_){return this.modrn(_)},i.prototype.idivn=function(_){var k=_<0;k&&(_=-_),n(_<=67108863);for(var M=0,B=this.length-1;B>=0;B--){var C=(this.words[B]|0)+M*67108864;this.words[B]=C/_|0,M=C%_}return this._strip(),k?this.ineg():this},i.prototype.divn=function(_){return this.clone().idivn(_)},i.prototype.egcd=function(_){n(_.negative===0),n(!_.isZero());var k=this,M=_.clone();k.negative!==0?k=k.umod(_):k=k.clone();for(var B=new i(1),C=new i(0),q=new i(0),W=new i(1),I=0;k.isEven()&&M.isEven();)k.iushrn(1),M.iushrn(1),++I;for(var S=M.clone(),O=k.clone();!k.isZero();){for(var Y=0,Q=1;(k.words[0]&Q)===0&&Y<26;++Y,Q<<=1);if(Y>0)for(k.iushrn(Y);Y-- >0;)(B.isOdd()||C.isOdd())&&(B.iadd(S),C.isub(O)),B.iushrn(1),C.iushrn(1);for(var ne=0,oe=1;(M.words[0]&oe)===0&&ne<26;++ne,oe<<=1);if(ne>0)for(M.iushrn(ne);ne-- >0;)(q.isOdd()||W.isOdd())&&(q.iadd(S),W.isub(O)),q.iushrn(1),W.iushrn(1);k.cmp(M)>=0?(k.isub(M),B.isub(q),C.isub(W)):(M.isub(k),q.isub(B),W.isub(C))}return{a:q,b:W,gcd:M.iushln(I)}},i.prototype._invmp=function(_){n(_.negative===0),n(!_.isZero());var k=this,M=_.clone();k.negative!==0?k=k.umod(_):k=k.clone();for(var B=new i(1),C=new i(0),q=M.clone();k.cmpn(1)>0&&M.cmpn(1)>0;){for(var W=0,I=1;(k.words[0]&I)===0&&W<26;++W,I<<=1);if(W>0)for(k.iushrn(W);W-- >0;)B.isOdd()&&B.iadd(q),B.iushrn(1);for(var S=0,O=1;(M.words[0]&O)===0&&S<26;++S,O<<=1);if(S>0)for(M.iushrn(S);S-- >0;)C.isOdd()&&C.iadd(q),C.iushrn(1);k.cmp(M)>=0?(k.isub(M),B.isub(C)):(M.isub(k),C.isub(B))}var Y;return k.cmpn(1)===0?Y=B:Y=C,Y.cmpn(0)<0&&Y.iadd(_),Y},i.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var k=this.clone(),M=_.clone();k.negative=0,M.negative=0;for(var B=0;k.isEven()&&M.isEven();B++)k.iushrn(1),M.iushrn(1);do{for(;k.isEven();)k.iushrn(1);for(;M.isEven();)M.iushrn(1);var C=k.cmp(M);if(C<0){var q=k;k=M,M=q}else if(C===0||M.cmpn(1)===0)break;k.isub(M)}while(!0);return M.iushln(B)},i.prototype.invm=function(_){return this.egcd(_).a.umod(_)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(_){return this.words[0]&_},i.prototype.bincn=function(_){n(typeof _=="number");var k=_%26,M=(_-k)/26,B=1<<k;if(this.length<=M)return this._expand(M+1),this.words[M]|=B,this;for(var C=B,q=M;C!==0&&q<this.length;q++){var W=this.words[q]|0;W+=C,C=W>>>26,W&=67108863,this.words[q]=W}return C!==0&&(this.words[q]=C,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(_){var k=_<0;if(this.negative!==0&&!k)return-1;if(this.negative===0&&k)return 1;this._strip();var M;if(this.length>1)M=1;else{k&&(_=-_),n(_<=67108863,"Number is too big");var B=this.words[0]|0;M=B===_?0:B<_?-1:1}return this.negative!==0?-M|0:M},i.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var k=this.ucmp(_);return this.negative!==0?-k|0:k},i.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var k=0,M=this.length-1;M>=0;M--){var B=this.words[M]|0,C=_.words[M]|0;if(B!==C){B<C?k=-1:B>C&&(k=1);break}}return k},i.prototype.gtn=function(_){return this.cmpn(_)===1},i.prototype.gt=function(_){return this.cmp(_)===1},i.prototype.gten=function(_){return this.cmpn(_)>=0},i.prototype.gte=function(_){return this.cmp(_)>=0},i.prototype.ltn=function(_){return this.cmpn(_)===-1},i.prototype.lt=function(_){return this.cmp(_)===-1},i.prototype.lten=function(_){return this.cmpn(_)<=0},i.prototype.lte=function(_){return this.cmp(_)<=0},i.prototype.eqn=function(_){return this.cmpn(_)===0},i.prototype.eq=function(_){return this.cmp(_)===0},i.red=function(_){return new V(_)},i.prototype.toRed=function(_){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(_){return this.red=_,this},i.prototype.forceRed=function(_){return n(!this.red,"Already a number in reduction context"),this._forceRed(_)},i.prototype.redAdd=function(_){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},i.prototype.redIAdd=function(_){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},i.prototype.redSub=function(_){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},i.prototype.redISub=function(_){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},i.prototype.redShl=function(_){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},i.prototype.redMul=function(_){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},i.prototype.redIMul=function(_){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(_){return n(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var T={k256:null,p224:null,p192:null,p25519:null};function F(R,_){this.name=R,this.p=new i(_,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}F.prototype._tmp=function(){var _=new i(null);return _.words=new Array(Math.ceil(this.n/13)),_},F.prototype.ireduce=function(_){var k=_,M;do this.split(k,this.tmp),k=this.imulK(k),k=k.iadd(this.tmp),M=k.bitLength();while(M>this.n);var B=M<this.n?-1:k.ucmp(this.p);return B===0?(k.words[0]=0,k.length=1):B>0?k.isub(this.p):k.strip!==void 0?k.strip():k._strip(),k},F.prototype.split=function(_,k){_.iushrn(this.n,0,k)},F.prototype.imulK=function(_){return _.imul(this.k)};function z(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(z,F),z.prototype.split=function(_,k){for(var M=4194303,B=Math.min(_.length,9),C=0;C<B;C++)k.words[C]=_.words[C];if(k.length=B,_.length<=9){_.words[0]=0,_.length=1;return}var q=_.words[9];for(k.words[k.length++]=q&M,C=10;C<_.length;C++){var W=_.words[C]|0;_.words[C-10]=(W&M)<<4|q>>>22,q=W}q>>>=22,_.words[C-10]=q,q===0&&_.length>10?_.length-=10:_.length-=9},z.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var k=0,M=0;M<_.length;M++){var B=_.words[M]|0;k+=B*977,_.words[M]=k&67108863,k=B*64+(k/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_};function K(){F.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(K,F);function U(){F.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(U,F);function H(){F.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(H,F),H.prototype.imulK=function(_){for(var k=0,M=0;M<_.length;M++){var B=(_.words[M]|0)*19+k,C=B&67108863;B>>>=26,_.words[M]=C,k=B}return k!==0&&(_.words[_.length++]=k),_},i._prime=function(_){if(T[_])return T[_];var k;if(_==="k256")k=new z;else if(_==="p224")k=new K;else if(_==="p192")k=new U;else if(_==="p25519")k=new H;else throw new Error("Unknown prime "+_);return T[_]=k,k};function V(R){if(typeof R=="string"){var _=i._prime(R);this.m=_.p,this.prime=_}else n(R.gtn(1),"modulus must be greater than 1"),this.m=R,this.prime=null}V.prototype._verify1=function(_){n(_.negative===0,"red works only with positives"),n(_.red,"red works only with red numbers")},V.prototype._verify2=function(_,k){n((_.negative|k.negative)===0,"red works only with positives"),n(_.red&&_.red===k.red,"red works only with red numbers")},V.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):(l(_,_.umod(this.m)._forceRed(this)),_)},V.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},V.prototype.add=function(_,k){this._verify2(_,k);var M=_.add(k);return M.cmp(this.m)>=0&&M.isub(this.m),M._forceRed(this)},V.prototype.iadd=function(_,k){this._verify2(_,k);var M=_.iadd(k);return M.cmp(this.m)>=0&&M.isub(this.m),M},V.prototype.sub=function(_,k){this._verify2(_,k);var M=_.sub(k);return M.cmpn(0)<0&&M.iadd(this.m),M._forceRed(this)},V.prototype.isub=function(_,k){this._verify2(_,k);var M=_.isub(k);return M.cmpn(0)<0&&M.iadd(this.m),M},V.prototype.shl=function(_,k){return this._verify1(_),this.imod(_.ushln(k))},V.prototype.imul=function(_,k){return this._verify2(_,k),this.imod(_.imul(k))},V.prototype.mul=function(_,k){return this._verify2(_,k),this.imod(_.mul(k))},V.prototype.isqr=function(_){return this.imul(_,_.clone())},V.prototype.sqr=function(_){return this.mul(_,_)},V.prototype.sqrt=function(_){if(_.isZero())return _.clone();var k=this.m.andln(3);if(n(k%2===1),k===3){var M=this.m.add(new i(1)).iushrn(2);return this.pow(_,M)}for(var B=this.m.subn(1),C=0;!B.isZero()&&B.andln(1)===0;)C++,B.iushrn(1);n(!B.isZero());var q=new i(1).toRed(this),W=q.redNeg(),I=this.m.subn(1).iushrn(1),S=this.m.bitLength();for(S=new i(2*S*S).toRed(this);this.pow(S,I).cmp(W)!==0;)S.redIAdd(W);for(var O=this.pow(S,B),Y=this.pow(_,B.addn(1).iushrn(1)),Q=this.pow(_,B),ne=C;Q.cmp(q)!==0;){for(var oe=Q,ge=0;oe.cmp(q)!==0;ge++)oe=oe.redSqr();n(ge<ne);var we=this.pow(O,new i(1).iushln(ne-ge-1));Y=Y.redMul(we),O=we.redSqr(),Q=Q.redMul(O),ne=ge}return Y},V.prototype.invm=function(_){var k=_._invmp(this.m);return k.negative!==0?(k.negative=0,this.imod(k).redNeg()):this.imod(k)},V.prototype.pow=function(_,k){if(k.isZero())return new i(1).toRed(this);if(k.cmpn(1)===0)return _.clone();var M=4,B=new Array(1<<M);B[0]=new i(1).toRed(this),B[1]=_;for(var C=2;C<B.length;C++)B[C]=this.mul(B[C-1],_);var q=B[0],W=0,I=0,S=k.bitLength()%26;for(S===0&&(S=26),C=k.length-1;C>=0;C--){for(var O=k.words[C],Y=S-1;Y>=0;Y--){var Q=O>>Y&1;if(q!==B[0]&&(q=this.sqr(q)),Q===0&&W===0){I=0;continue}W<<=1,W|=Q,I++,!(I!==M&&(C!==0||Y!==0))&&(q=this.mul(q,B[W]),I=0,W=0)}S=26}return q},V.prototype.convertTo=function(_){var k=_.umod(this.m);return k===_?k.clone():k},V.prototype.convertFrom=function(_){var k=_.clone();return k.red=null,k},i.mont=function(_){return new Z(_)};function Z(R){V.call(this,R),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(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)}a(Z,V),Z.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},Z.prototype.convertFrom=function(_){var k=this.imod(_.mul(this.rinv));return k.red=null,k},Z.prototype.imul=function(_,k){if(_.isZero()||k.isZero())return _.words[0]=0,_.length=1,_;var M=_.imul(k),B=M.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=M.isub(B).iushrn(this.shift),q=C;return C.cmp(this.m)>=0?q=C.isub(this.m):C.cmpn(0)<0&&(q=C.iadd(this.m)),q._forceRed(this)},Z.prototype.mul=function(_,k){if(_.isZero()||k.isZero())return new i(0)._forceRed(this);var M=_.mul(k),B=M.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=M.isub(B).iushrn(this.shift),q=C;return C.cmp(this.m)>=0?q=C.isub(this.m):C.cmpn(0)<0&&(q=C.iadd(this.m)),q._forceRed(this)},Z.prototype.invm=function(_){var k=this.imod(_._invmp(this.m).mul(this.r2));return k._forceRed(this)}})(e,YQ)})(mv)),mv.exports}var ZQ=SD();const eC=iy(ZQ);var Jb={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var tC;function JQ(){return tC||(tC=1,(function(e,t){var r=OP(),n=r.Buffer;function a(c,f){for(var m in c)f[m]=c[m]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i);function i(c,f,m){return n(c,f,m)}i.prototype=Object.create(n.prototype),a(n,i),i.from=function(c,f,m){if(typeof c=="number")throw new TypeError("Argument must not be a number");return n(c,f,m)},i.alloc=function(c,f,m){if(typeof c!="number")throw new TypeError("Argument must be a number");var h=n(c);return f!==void 0?typeof m=="string"?h.fill(f,m):h.fill(f):h.fill(0),h},i.allocUnsafe=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return n(c)},i.allocUnsafeSlow=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(c)}})(Jb,Jb.exports)),Jb.exports}var L_,rC;function QQ(){if(rC)return L_;rC=1;var e=JQ().Buffer;function t(r){if(r.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),a=0;a<n.length;a++)n[a]=255;for(var i=0;i<r.length;i++){var c=r.charAt(i),f=c.charCodeAt(0);if(n[f]!==255)throw new TypeError(c+" is ambiguous");n[f]=i}var m=r.length,h=r.charAt(0),l=Math.log(m)/Math.log(256),o=Math.log(256)/Math.log(m);function u(y){if((Array.isArray(y)||y instanceof Uint8Array)&&(y=e.from(y)),!e.isBuffer(y))throw new TypeError("Expected Buffer");if(y.length===0)return"";for(var b=0,x=0,w=0,E=y.length;w!==E&&y[w]===0;)w++,b++;for(var j=(E-w)*o+1>>>0,T=new Uint8Array(j);w!==E;){for(var F=y[w],z=0,K=j-1;(F!==0||z<x)&&K!==-1;K--,z++)F+=256*T[K]>>>0,T[K]=F%m>>>0,F=F/m>>>0;if(F!==0)throw new Error("Non-zero carry");x=z,w++}for(var U=j-x;U!==j&&T[U]===0;)U++;for(var H=h.repeat(b);U<j;++U)H+=r.charAt(T[U]);return H}function p(y){if(typeof y!="string")throw new TypeError("Expected String");if(y.length===0)return e.alloc(0);for(var b=0,x=0,w=0;y[b]===h;)x++,b++;for(var E=(y.length-b)*l+1>>>0,j=new Uint8Array(E);b<y.length;){var T=y.charCodeAt(b);if(T>255)return;var F=n[T];if(F===255)return;for(var z=0,K=E-1;(F!==0||z<w)&&K!==-1;K--,z++)F+=m*j[K]>>>0,j[K]=F%256>>>0,F=F/256>>>0;if(F!==0)throw new Error("Non-zero carry");w=z,b++}for(var U=E-w;U!==E&&j[U]===0;)U++;var H=e.allocUnsafe(x+(E-U));H.fill(0,0,x);for(var V=x;U!==E;)H[V++]=j[U++];return H}function g(y){var b=p(y);if(b)return b;throw new Error("Non-base"+m+" character")}return{encode:u,decodeUnsafe:p,decode:g}}return L_=t,L_}var D_,nC;function kD(){if(nC)return D_;nC=1;var e=QQ(),t="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";return D_=e(t),D_}var XQ=kD();const Qn=iy(XQ),aC=sD;var mr={};function Fs(e,t,r){return t<=e&&e<=r}function sw(e){if(e===void 0)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function $Q(e){for(var t=String(e),r=t.length,n=0,a=[];n<r;){var i=t.charCodeAt(n);if(i<55296||i>57343)a.push(i);else if(56320<=i&&i<=57343)a.push(65533);else if(55296<=i&&i<=56319)if(n===r-1)a.push(65533);else{var c=e.charCodeAt(n+1);if(56320<=c&&c<=57343){var f=i&1023,m=c&1023;a.push(65536+(f<<10)+m),n+=1}else a.push(65533)}n+=1}return a}function eX(e){for(var t="",r=0;r<e.length;++r){var n=e[r];n<=65535?t+=String.fromCharCode(n):(n-=65536,t+=String.fromCharCode((n>>10)+55296,(n&1023)+56320))}return t}var qv=-1;function UP(e){this.tokens=[].slice.call(e)}UP.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():qv},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.shift());else this.tokens.push(e)}};var Ul=-1;function z_(e,t){if(e)throw TypeError("Decoder error");return t||65533}var Lv="utf-8";function Dv(e,t){if(!(this instanceof Dv))return new Dv(e,t);if(e=e!==void 0?String(e).toLowerCase():Lv,e!==Lv)throw new Error("Encoding not supported. Only utf-8 is supported");t=sw(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!t.fatal,this._ignoreBOM=!!t.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Dv.prototype={decode:function(t,r){var n;typeof t=="object"&&t instanceof ArrayBuffer?n=new Uint8Array(t):typeof t=="object"&&"buffer"in t&&t.buffer instanceof ArrayBuffer?n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):n=new Uint8Array(0),r=sw(r),this._streaming||(this._decoder=new tX({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var a=new UP(n),i=[],c;!a.endOfStream()&&(c=this._decoder.handler(a,a.read()),c!==Ul);)c!==null&&(Array.isArray(c)?i.push.apply(i,c):i.push(c));if(!this._streaming){do{if(c=this._decoder.handler(a,a.read()),c===Ul)break;c!==null&&(Array.isArray(c)?i.push.apply(i,c):i.push(c))}while(!a.endOfStream());this._decoder=null}return i.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(i[0]===65279?(this._BOMseen=!0,i.shift()):this._BOMseen=!0),eX(i)}};function zv(e,t){if(!(this instanceof zv))return new zv(e,t);if(e=e!==void 0?String(e).toLowerCase():Lv,e!==Lv)throw new Error("Encoding not supported. Only utf-8 is supported");t=sw(t),this._streaming=!1,this._encoder=null,this._options={fatal:!!t.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}zv.prototype={encode:function(t,r){t=t?String(t):"",r=sw(r),this._streaming||(this._encoder=new rX(this._options)),this._streaming=!!r.stream;for(var n=[],a=new UP($Q(t)),i;!a.endOfStream()&&(i=this._encoder.handler(a,a.read()),i!==Ul);)Array.isArray(i)?n.push.apply(n,i):n.push(i);if(!this._streaming){for(;i=this._encoder.handler(a,a.read()),i!==Ul;)Array.isArray(i)?n.push.apply(n,i):n.push(i);this._encoder=null}return new Uint8Array(n)}};function tX(e){var t=e.fatal,r=0,n=0,a=0,i=128,c=191;this.handler=function(f,m){if(m===qv&&a!==0)return a=0,z_(t);if(m===qv)return Ul;if(a===0){if(Fs(m,0,127))return m;if(Fs(m,194,223))a=1,r=m-192;else if(Fs(m,224,239))m===224&&(i=160),m===237&&(c=159),a=2,r=m-224;else if(Fs(m,240,244))m===240&&(i=144),m===244&&(c=143),a=3,r=m-240;else return z_(t);return r=r<<6*a,null}if(!Fs(m,i,c))return r=a=n=0,i=128,c=191,f.prepend(m),z_(t);if(i=128,c=191,n+=1,r+=m-128<<6*(a-n),n!==a)return null;var h=r;return r=a=n=0,h}}function rX(e){e.fatal,this.handler=function(t,r){if(r===qv)return Ul;if(Fs(r,0,127))return r;var n,a;Fs(r,128,2047)?(n=1,a=192):Fs(r,2048,65535)?(n=2,a=224):Fs(r,65536,1114111)&&(n=3,a=240);for(var i=[(r>>6*n)+a];n>0;){var c=r>>6*(n-1);i.push(128|c&63),n-=1}return i}}const nX=Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Dv,TextEncoder:zv},Symbol.toStringTag,{value:"Module"})),aX=ew(nX);var iC;function iX(){if(iC)return mr;iC=1;var e=mr&&mr.__createBinding||(Object.create?(function(U,H,V,Z){Z===void 0&&(Z=V),Object.defineProperty(U,Z,{enumerable:!0,get:function(){return H[V]}})}):(function(U,H,V,Z){Z===void 0&&(Z=V),U[Z]=H[V]})),t=mr&&mr.__setModuleDefault||(Object.create?(function(U,H){Object.defineProperty(U,"default",{enumerable:!0,value:H})}):function(U,H){U.default=H}),r=mr&&mr.__decorate||function(U,H,V,Z){var R=arguments.length,_=R<3?H:Z===null?Z=Object.getOwnPropertyDescriptor(H,V):Z,k;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate(U,H,V,Z);else for(var M=U.length-1;M>=0;M--)(k=U[M])&&(_=(R<3?k(_):R>3?k(H,V,_):k(H,V))||_);return R>3&&_&&Object.defineProperty(H,V,_),_}
273,n=mr&&mr.__importStar||function(U){if(U&&U.__esModule)return U;var H={};if(U!=null)for(var V in U)V!=="default"&&Object.hasOwnProperty.call(U,V)&&e(H,U,V);return t(H,U),H},a=mr&&mr.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(mr,"__esModule",{value:!0}),mr.deserializeUnchecked=mr.deserialize=mr.serialize=mr.BinaryReader=mr.BinaryWriter=mr.BorshError=mr.baseDecode=mr.baseEncode=void 0;const i=a(SD()),c=a(kD()),f=n(aX),m=typeof TextDecoder!="function"?f.TextDecoder:TextDecoder,h=new m("utf-8",{fatal:!0});function l(U){return typeof U=="string"&&(U=Buffer.from(U,"utf8")),c.default.encode(Buffer.from(U))}mr.baseEncode=l;function o(U){return Buffer.from(c.default.decode(U))}mr.baseDecode=o;const u=1024;class p extends Error{constructor(H){super(H),this.fieldPath=[],this.originalMessage=H}addToFieldPath(H){this.fieldPath.splice(0,0,H),this.message=this.originalMessage+": "+this.fieldPath.join(".")}}mr.BorshError=p;class g{constructor(){this.buf=Buffer.alloc(u),this.length=0}maybeResize(){this.buf.length<16+this.length&&(this.buf=Buffer.concat([this.buf,Buffer.alloc(u)]))}writeU8(H){this.maybeResize(),this.buf.writeUInt8(H,this.length),this.length+=1}writeU16(H){this.maybeResize(),this.buf.writeUInt16LE(H,this.length),this.length+=2}writeU32(H){this.maybeResize(),this.buf.writeUInt32LE(H,this.length),this.length+=4}writeU64(H){this.maybeResize(),this.writeBuffer(Buffer.from(new i.default(H).toArray("le",8)))}writeU128(H){this.maybeResize(),this.writeBuffer(Buffer.from(new i.default(H).toArray("le",16)))}writeU256(H){this.maybeResize(),this.writeBuffer(Buffer.from(new i.default(H).toArray("le",32)))}writeU512(H){this.maybeResize(),this.writeBuffer(Buffer.from(new i.default(H).toArray("le",64)))}writeBuffer(H){this.buf=Buffer.concat([Buffer.from(this.buf.subarray(0,this.length)),H,Buffer.alloc(u)]),this.length+=H.length}writeString(H){this.maybeResize();const V=Buffer.from(H,"utf8");this.writeU32(V.length),this.writeBuffer(V)}writeFixedArray(H){this.writeBuffer(Buffer.from(H))}writeArray(H,V){this.maybeResize(),this.writeU32(H.length);for(const Z of H)this.maybeResize(),V(Z)}toArray(){return this.buf.subarray(0,this.length)}}mr.BinaryWriter=g;function y(U,H,V){const Z=V.value;V.value=function(...R){try{return Z.apply(this,R)}catch(_){if(_ instanceof RangeError){const k=_.code;if(["ERR_BUFFER_OUT_OF_BOUNDS","ERR_OUT_OF_RANGE"].indexOf(k)>=0)throw new p("Reached the end of buffer when deserializing")}throw _}}}class b{constructor(H){this.buf=H,this.offset=0}readU8(){const H=this.buf.readUInt8(this.offset);return this.offset+=1,H}readU16(){const H=this.buf.readUInt16LE(this.offset);return this.offset+=2,H}readU32(){const H=this.buf.readUInt32LE(this.offset);return this.offset+=4,H}readU64(){const H=this.readBuffer(8);return new i.default(H,"le")}readU128(){const H=this.readBuffer(16);return new i.default(H,"le")}readU256(){const H=this.readBuffer(32);return new i.default(H,"le")}readU512(){const H=this.readBuffer(64);return new i.default(H,"le")}readBuffer(H){if(this.offset+H>this.buf.length)throw new p(`Expected buffer length ${H} isn't within bounds`);const V=this.buf.slice(this.offset,this.offset+H);return this.offset+=H,V}readString(){const H=this.readU32(),V=this.readBuffer(H);try{return h.decode(V)}catch(Z){throw new p(`Error decoding UTF-8 string: ${Z}`)}}readFixedArray(H){return new Uint8Array(this.readBuffer(H))}readArray(H){const V=this.readU32(),Z=Array();for(let R=0;R<V;++R)Z.push(H());return Z}}r([y],b.prototype,"readU8",null),r([y],b.prototype,"readU16",null),r([y],b.prototype,"readU32",null),r([y],b.prototype,"readU64",null),r([y],b.prototype,"readU128",null),r([y],b.prototype,"readU256",null),r([y],b.prototype,"readU512",null),r([y],b.prototype,"readString",null),r([y],b.prototype,"readFixedArray",null),r([y],b.prototype,"readArray",null),mr.BinaryReader=b;function x(U){return U.charAt(0).toUpperCase()+U.slice(1)}function w(U,H,V,Z,R){try{if(typeof Z=="string")R[`write${x(Z)}`](V);else if(Z instanceof Array)if(typeof Z[0]=="number"){if(V.length!==Z[0])throw new p(`Expecting byte array of length ${Z[0]}, but got ${V.length} bytes`);R.writeFixedArray(V)}else if(Z.length===2&&typeof Z[1]=="number"){if(V.length!==Z[1])throw new p(`Expecting byte array of length ${Z[1]}, but got ${V.length} bytes`);for(let _=0;_<Z[1];_++)w(U,null,V[_],Z[0],R)}else R.writeArray(V,_=>{w(U,H,_,Z[0],R)});else if(Z.kind!==void 0)switch(Z.kind){case"option":{V==null?R.writeU8(0):(R.writeU8(1),w(U,H,V,Z.type,R));break}
273case"map":{R.writeU32(V.size),V.forEach((_,k)=>{w(U,H,k,Z.key,R),w(U,H,_,Z.value,R)});break}default:throw new p(`FieldType ${Z} unrecognized`)}else E(U,V,R)}catch(_){throw _ instanceof p&&_.addToFieldPath(H),_}}function E(U,H,V){if(typeof H.borshSerialize=="function"){H.borshSerialize(V);return}const Z=U.get(H.constructor);if(!Z)throw new p(`Class ${H.constructor.name} is missing in schema`);if(Z.kind==="struct")Z.fields.map(([R,_])=>{w(U,R,H[R],_,V)});else if(Z.kind==="enum"){const R=H[Z.field];for(let _=0;_<Z.values.length;++_){const[k,M]=Z.values[_];if(k===R){V.writeU8(_),w(U,k,H[k],M,V);break}}}else throw new p(`Unexpected schema kind: ${Z.kind} for ${H.constructor.name}`)}function j(U,H,V=g){const Z=new V;return E(U,H,Z),Z.toArray()}mr.serialize=j;function T(U,H,V,Z){try{if(typeof V=="string")return Z[`read${x(V)}`]();if(V instanceof Array){if(typeof V[0]=="number")return Z.readFixedArray(V[0]);if(typeof V[1]=="number"){const R=[];for(let _=0;_<V[1];_++)R.push(T(U,null,V[0],Z));return R}else return Z.readArray(()=>T(U,H,V[0],Z))}if(V.kind==="option")return Z.readU8()?T(U,H,V.type,Z):void 0;if(V.kind==="map"){let R=new Map;const _=Z.readU32();for(let k=0;k<_;k++){const M=T(U,H,V.key,Z),B=T(U,H,V.value,Z);R.set(M,B)}return R}return F(U,V,Z)}catch(R){throw R instanceof p&&R.addToFieldPath(H),R}}function F(U,H,V){if(typeof H.borshDeserialize=="function")return H.borshDeserialize(V);const Z=U.get(H);if(!Z)throw new p(`Class ${H.name} is missing in schema`);if(Z.kind==="struct"){const R={};for(const[_,k]of U.get(H).fields)R[_]=T(U,_,k,V);return new H(R)}if(Z.kind==="enum"){const R=V.readU8();if(R>=Z.values.length)throw new p(`Enum index: ${R} is out of range`);const[_,k]=Z.values[R],M=T(U,_,k,V);return new H({[_]:M})}throw new p(`Unexpected schema kind: ${Z.kind} for ${H.constructor.name}`)}function z(U,H,V,Z=b){const R=new Z(V),_=F(U,H,R);if(R.offset<V.length)throw new p(`Unexpected ${V.length-R.offset} bytes after deserialized data`);return _}mr.deserialize=z;function K(U,H,V,Z=b){const R=new Z(V);return F(U,H,R)}return mr.deserializeUnchecked=K,mr}var V_=iX(),Pe={},sC;function sX(){if(sC)return Pe;sC=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.s16=Pe.s8=Pe.nu64be=Pe.u48be=Pe.u40be=Pe.u32be=Pe.u24be=Pe.u16be=Pe.nu64=Pe.u48=Pe.u40=Pe.u32=Pe.u24=Pe.u16=Pe.u8=Pe.offset=Pe.greedy=Pe.Constant=Pe.UTF8=Pe.CString=Pe.Blob=Pe.Boolean=Pe.BitField=Pe.BitStructure=Pe.VariantLayout=Pe.Union=Pe.UnionLayoutDiscriminator=Pe.UnionDiscriminator=Pe.Structure=Pe.Sequence=Pe.DoubleBE=Pe.Double=Pe.FloatBE=Pe.Float=Pe.NearInt64BE=Pe.NearInt64=Pe.NearUInt64BE=Pe.NearUInt64=Pe.IntBE=Pe.Int=Pe.UIntBE=Pe.UInt=Pe.OffsetLayout=Pe.GreedyCount=Pe.ExternalLayout=Pe.bindConstructorLayout=Pe.nameWithProperty=Pe.Layout=Pe.uint8ArrayToBuffer=Pe.checkUint8Array=void 0,Pe.constant=Pe.utf8=Pe.cstr=Pe.blob=Pe.unionLayoutDiscriminator=Pe.union=Pe.seq=Pe.bits=Pe.struct=Pe.f64be=Pe.f64=Pe.f32be=Pe.f32=Pe.ns64be=Pe.s48be=Pe.s40be=Pe.s32be=Pe.s24be=Pe.s16be=Pe.ns64=Pe.s48=Pe.s40=Pe.s32=Pe.s24=void 0;const e=OP();function t(S){if(!(S instanceof Uint8Array))throw new TypeError("b must be a Uint8Array")}Pe.checkUint8Array=t;function r(S){return t(S),e.Buffer.from(S.buffer,S.byteOffset,S.length)}Pe.uint8ArrayToBuffer=r;let n=class{constructor(O,Y){if(!Number.isInteger(O))throw new TypeError("span must be an integer");this.span=O,this.property=Y}makeDestinationObject(){return{}}getSpan(O,Y){if(0>this.span)throw new RangeError("indeterminate span");return this.span}replicate(O){const Y=Object.create(this.constructor.prototype);return Object.assign(Y,this),Y.property=O,Y}fromArray(O){}};Pe.Layout=n;function a(S,O){return O.property?S+"["+O.property+"]":S}Pe.nameWithProperty=a;function i(S,O){if(typeof S!="function")throw new TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(S,"layout_"))throw new Error("Class is already bound to a layout");if(!(O&&O instanceof n))throw new TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(O,"boundConstructor_"))throw new Error("layout is already bound to a constructor");S.layout_=O,O.boundConstructor_=S,O.makeDestinationObject=(()=>new S),Object.defineProperty(S.prototype,"encode",{value(Y,Q){return O.encode(this,Y,Q)},writable:!0}),Object.defineProperty(S,"decode",{value(Y,Q){return O.decode(Y,Q)},writable:!0})}Pe.bindConstructorLayout=i;class c extends n{isCount(){throw new Error("ExternalLayout is abstract")}}Pe.ExternalLayout=c;class f extends c{constructor(O=1,Y){if(!Number.isInteger(O)||0>=O)throw new TypeError("elementSpan must be a (positive) integer");super(-1,Y),this.elementSpan=O}isCount(){return!0}decode(O,Y=0){t(O);const Q=O.length-Y;return Math.floor(Q/this.elementSpan)}encode(O,Y,Q){return 0}}Pe.GreedyCount=f;class m extends c{constructor(O,Y=0,Q){if(!(O instanceof n))throw new TypeError("layout must be a Layout");if(!Number.isInteger(Y))throw new TypeError("offset must be integer or undefined");super(O.span,Q||O.property),this.layout=O,this.offset=Y}isCount(){return this.layout instanceof h||this.layout instanceof l}decode(O,Y=0){return this.layout.decode(O,Y+this.offset)}encode(O,Y,Q=0){return this.layout.encode(O,Y,Q+this.offset)}}Pe.OffsetLayout=m;class h extends n{constructor(O,Y){if(super(O,Y),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(O,Y=0){return r(O).readUIntLE(Y,this.span)}encode(O,Y,Q=0){return r(Y).writeUIntLE(O,Q,this.span),this.span}}Pe.UInt=h;class l extends n{constructor(O,Y){if(super(O,Y),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(O,Y=0){return r(O).readUIntBE(Y,this.span)}encode(O,Y,Q=0){return r(Y).writeUIntBE(O,Q,this.span),this.span}}Pe.UIntBE=l;class o extends n{constructor(O,Y){if(super(O,Y),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(O,Y=0){return r(O).readIntLE(Y,this.span)}encode(O,Y,Q=0){return r(Y).writeIntLE(O,Q,this.span),this.span}}Pe.Int=o;class u extends n{constructor(O,Y){if(super(O,Y),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(O,Y=0){return r(O).readIntBE(Y,this.span)}encode(O,Y,Q=0){return r(Y).writeIntBE(O,Q,this.span),this.span}}Pe.IntBE=u;const p=Math.pow(2,32);function g(S){const O=Math.floor(S/p),Y=S-O*p;return{hi32:O,lo32:Y}}function y(S,O){return S*p+O}class b extends n{constructor(O){super(8,O)}decode(O,Y=0){const Q=r(O),ne=Q.readUInt32LE(Y),oe=Q.readUInt32LE(Y+4);return y(oe,ne)}encode(O,Y,Q=0){const ne=g(O),oe=r(Y);return oe.writeUInt32LE(ne.lo32,Q),oe.writeUInt32LE(ne.hi32,Q+4),8}}Pe.NearUInt64=b;class x extends n{constructor(O){super(8,O)}decode(O,Y=0){const Q=r(O),ne=Q.readUInt32BE(Y),oe=Q.readUInt32BE(Y+4);return y(ne,oe)}encode(O,Y,Q=0){const ne=g(O),oe=r(Y);return oe.writeUInt32BE(ne.hi32,Q),oe.writeUInt32BE(ne.lo32,Q+4),8}}Pe.NearUInt64BE=x;class w extends n{constructor(O){super(8,O)}decode(O,Y=0){const Q=r(O),ne=Q.readUInt32LE(Y),oe=Q.readInt32LE(Y+4);return y(oe,ne)}encode(O,Y,Q=0){const ne=g(O),oe=r(Y);return oe.writeUInt32LE(ne.lo32,Q),oe.writeInt32LE(ne.hi32,Q+4),8}}Pe.NearInt64=w;class E extends n{constructor(O){super(8,O)}decode(O,Y=0){const Q=r(O),ne=Q.readInt32BE(Y),oe=Q.readUInt32BE(Y+4);return y(ne,oe)}encode(O,Y,Q=0){const ne=g(O),oe=r(Y);return oe.writeInt32BE(ne.hi32,Q),oe.writeUInt32BE(ne.lo32,Q+4),8}}Pe.NearInt64BE=E;class j extends n{constructor(O){super(4,O)}decode(O,Y=0){return r(O).readFloatLE(Y)}encode(O,Y,Q=0){return r(Y).writeFloatLE(O,Q),4}}Pe.Float=j;class T extends n{constructor(O){super(4,O)}decode(O,Y=0){return r(O).readFloatBE(Y)}encode(O,Y,Q=0){return r(Y).writeFloatBE(O,Q),4}}Pe.FloatBE=T;class F extends n{constructor(O){super(8,O)}decode(O,Y=0){return r(O).readDoubleLE(Y)}encode(O,Y,Q=0){return r(Y).writeDoubleLE(O,Q),8}}Pe.Double=F;class z extends n{constructor(O){super(8,O)}decode(O,Y=0){return r(O).readDoubleBE(Y)}encode(O,Y,Q=0){return r(Y).writeDoubleBE(O,Q),8}}Pe.DoubleBE=z;class K extends n{constructor(O,Y,Q){if(!(O instanceof n))throw new TypeError("elementLayout must be a Layout");if(!(Y instanceof c&&Y.isCount()||Number.isInteger(Y)&&0<=Y))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");let ne=-1;!(Y instanceof c)&&0<O.span&&(ne=Y*O.span),super(ne,Q),this.elementLayout=O,this.count=Y}getSpan(O,Y=0){if(0<=this.span)return this.span;let Q=0,ne=this.count;if(ne instanceof c&&(ne=ne.decode(O,Y)),0<this.elementLayout.span)Q=ne*this.elementLayout.span;else{let oe=0;for(;oe<ne;
vendor: 7,605 bytes, line 273
273)Q+=this.elementLayout.getSpan(O,Y+Q),++oe}return Q}decode(O,Y=0){const Q=[];let ne=0,oe=this.count;for(oe instanceof c&&(oe=oe.decode(O,Y));ne<oe;)Q.push(this.elementLayout.decode(O,Y)),Y+=this.elementLayout.getSpan(O,Y),ne+=1;return Q}encode(O,Y,Q=0){const ne=this.elementLayout,oe=O.reduce((ge,we)=>ge+ne.encode(we,Y,Q+ge),0);return this.count instanceof c&&this.count.encode(O.length,Y,Q),oe}}Pe.Sequence=K;class U extends n{constructor(O,Y,Q){if(!(Array.isArray(O)&&O.reduce((oe,ge)=>oe&&ge instanceof n,!0)))throw new TypeError("fields must be array of Layout instances");typeof Y=="boolean"&&Q===void 0&&(Q=Y,Y=void 0);for(const oe of O)if(0>oe.span&&oe.property===void 0)throw new Error("fields cannot contain unnamed variable-length layout");let ne=-1;try{ne=O.reduce((oe,ge)=>oe+ge.getSpan(),0)}catch{}super(ne,Y),this.fields=O,this.decodePrefixes=!!Q}getSpan(O,Y=0){if(0<=this.span)return this.span;let Q=0;try{Q=this.fields.reduce((ne,oe)=>{const ge=oe.getSpan(O,Y);return Y+=ge,ne+ge},0)}catch{throw new RangeError("indeterminate span")}return Q}decode(O,Y=0){t(O);const Q=this.makeDestinationObject();for(const ne of this.fields)if(ne.property!==void 0&&(Q[ne.property]=ne.decode(O,Y)),Y+=ne.getSpan(O,Y),this.decodePrefixes&&O.length===Y)break;return Q}encode(O,Y,Q=0){const ne=Q;let oe=0,ge=0;for(const we of this.fields){let Ue=we.span;if(ge=0<Ue?Ue:0,we.property!==void 0){const ye=O[we.property];ye!==void 0&&(ge=we.encode(ye,Y,Q),0>Ue&&(Ue=we.getSpan(Y,Q)))}oe=Q,Q+=Ue}return oe+ge-ne}fromArray(O){const Y=this.makeDestinationObject();for(const Q of this.fields)Q.property!==void 0&&0<O.length&&(Y[Q.property]=O.shift());return Y}layoutFor(O){if(typeof O!="string")throw new TypeError("property must be string");for(const Y of this.fields)if(Y.property===O)return Y}offsetOf(O){if(typeof O!="string")throw new TypeError("property must be string");let Y=0;for(const Q of this.fields){if(Q.property===O)return Y;0>Q.span?Y=-1:0<=Y&&(Y+=Q.span)}}}Pe.Structure=U;class H{constructor(O){this.property=O}decode(O,Y){throw new Error("UnionDiscriminator is abstract")}encode(O,Y,Q){throw new Error("UnionDiscriminator is abstract")}}Pe.UnionDiscriminator=H;class V extends H{constructor(O,Y){if(!(O instanceof c&&O.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");super(Y||O.property||"variant"),this.layout=O}decode(O,Y){return this.layout.decode(O,Y)}encode(O,Y,Q){return this.layout.encode(O,Y,Q)}}Pe.UnionLayoutDiscriminator=V;class Z extends n{constructor(O,Y,Q){let ne;if(O instanceof h||O instanceof l)ne=new V(new m(O));else if(O instanceof c&&O.isCount())ne=new V(O);else if(O instanceof H)ne=O;else throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(Y===void 0&&(Y=null),!(Y===null||Y instanceof n))throw new TypeError("defaultLayout must be null or a Layout");if(Y!==null){if(0>Y.span)throw new Error("defaultLayout must have constant span");Y.property===void 0&&(Y=Y.replicate("content"))}let oe=-1;Y&&(oe=Y.span,0<=oe&&(O instanceof h||O instanceof l)&&(oe+=ne.layout.span)),super(oe,Q),this.discriminator=ne,this.usesPrefixDiscriminator=O instanceof h||O instanceof l,this.defaultLayout=Y,this.registry={};let ge=this.defaultGetSourceVariant.bind(this);this.getSourceVariant=function(we){return ge(we)},this.configGetSourceVariant=function(we){ge=we.bind(this)}}getSpan(O,Y=0){if(0<=this.span)return this.span;const Q=this.getVariant(O,Y);if(!Q)throw new Error("unable to determine span for unrecognized variant");return Q.getSpan(O,Y)}defaultGetSourceVariant(O){if(Object.prototype.hasOwnProperty.call(O,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(O,this.defaultLayout.property))return;const Y=this.registry[O[this.discriminator.property]];if(Y&&(!Y.layout||Y.property&&Object.prototype.hasOwnProperty.call(O,Y.property)))return Y}else for(const Y in this.registry){const Q=this.registry[Y];if(Q.property&&Object.prototype.hasOwnProperty.call(O,Q.property))return Q}throw new Error("unable to infer src variant")}decode(O,Y=0){let Q;const ne=this.discriminator,oe=ne.decode(O,Y),ge=this.registry[oe];if(ge===void 0){const we=this.defaultLayout;let Ue=0;this.usesPrefixDiscriminator&&(Ue=ne.layout.span),Q=this.makeDestinationObject(),Q[ne.property]=oe,Q[we.property]=we.decode(O,Y+Ue)}else Q=ge.decode(O,Y);return Q}encode(O,Y,Q=0){const ne=this.getSourceVariant(O);if(ne===void 0){const oe=this.discriminator,ge=this.defaultLayout;let we=0;return this.usesPrefixDiscriminator&&(we=oe.layout.span),oe.encode(O[oe.property],Y,Q),we+ge.encode(O[ge.property],Y,Q+we)}return ne.encode(O,Y,Q)}addVariant(O,Y,Q){const ne=new R(this,O,Y,Q);return this.registry[O]=ne,ne}getVariant(O,Y=0){let Q;return O instanceof Uint8Array?Q=this.discriminator.decode(O,Y):Q=O,this.registry[Q]}}Pe.Union=Z;class R extends n{constructor(O,Y,Q,ne){if(!(O instanceof Z))throw new TypeError("union must be a Union");if(!Number.isInteger(Y)||0>Y)throw new TypeError("variant must be a (non-negative) integer");if(typeof Q=="string"&&ne===void 0&&(ne=Q,Q=null),Q){if(!(Q instanceof n))throw new TypeError("layout must be a Layout");if(O.defaultLayout!==null&&0<=Q.span&&Q.span>O.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if(typeof ne!="string")throw new TypeError("variant must have a String property")}let oe=O.span;0>O.span&&(oe=Q?Q.span:0,0<=oe&&O.usesPrefixDiscriminator&&(oe+=O.discriminator.layout.span)),super(oe,ne),this.union=O,this.variant=Y,this.layout=Q||null}getSpan(O,Y=0){if(0<=this.span)return this.span;let Q=0;this.union.usesPrefixDiscriminator&&(Q=this.union.discriminator.layout.span);let ne=0;return this.layout&&(ne=this.layout.getSpan(O,Y+Q)),Q+ne}decode(O,Y=0){const Q=this.makeDestinationObject();if(this!==this.union.getVariant(O,Y))throw new Error("variant mismatch");let ne=0;return this.union.usesPrefixDiscriminator&&(ne=this.union.discriminator.layout.span),this.layout?Q[this.property]=this.layout.decode(O,Y+ne):this.property?Q[this.property]=!0:this.union.usesPrefixDiscriminator&&(Q[this.union.discriminator.property]=this.variant),Q}encode(O,Y,Q=0){let ne=0;if(this.union.usesPrefixDiscriminator&&(ne=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(O,this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,Y,Q);let oe=ne;if(this.layout&&(this.layout.encode(O[this.property],Y,Q+ne),oe+=this.layout.getSpan(Y,Q+ne),0<=this.union.span&&oe>this.union.span))throw new Error("encoded variant overruns containing union");return oe}fromArray(O){if(this.layout)return this.layout.fromArray(O)}}Pe.VariantLayout=R;function _(S){return 0>S&&(S+=4294967296),S}class k extends n{constructor(O,Y,Q){if(!(O instanceof h||O instanceof l))throw new TypeError("word must be a UInt or UIntBE layout");if(typeof Y=="string"&&Q===void 0&&(Q=Y,Y=!1),4<O.span)throw new RangeError("word cannot exceed 32 bits");super(O.span,Q),this.word=O,this.msb=!!Y,this.fields=[];let ne=0;this._packedSetValue=function(oe){return ne=_(oe),this},this._packedGetValue=function(){return ne}}decode(O,Y=0){const Q=this.makeDestinationObject(),ne=this.word.decode(O,Y);this._packedSetValue(ne);for(const oe of this.fields)oe.property!==void 0&&(Q[oe.property]=oe.decode(O));return Q}encode(O,Y,Q=0){const ne=this.word.decode(Y,Q);this._packedSetValue(ne);for(const oe of this.fields)if(oe.property!==void 0){const ge=O[oe.property];ge!==void 0&&oe.encode(ge)}return this.word.encode(this._packedGetValue(),Y,Q)}
273addField(O,Y){const Q=new M(this,O,Y);return this.fields.push(Q),Q}addBoolean(O){const Y=new B(this,O);return this.fields.push(Y),Y}fieldFor(O){if(typeof O!="string")throw new TypeError("property must be string");for(const Y of this.fields)if(Y.property===O)return Y}}Pe.BitStructure=k;class M{constructor(O,Y,Q){if(!(O instanceof k))throw new TypeError("container must be a BitStructure");if(!Number.isInteger(Y)||0>=Y)throw new TypeError("bits must be positive integer");const ne=8*O.span,oe=O.fields.reduce((ge,we)=>ge+we.bits,0);if(Y+oe>ne)throw new Error("bits too long for span remainder ("+(ne-oe)+" of "+ne+" remain)");this.container=O,this.bits=Y,this.valueMask=(1<<Y)-1,Y===32&&(this.valueMask=4294967295),this.start=oe,this.container.msb&&(this.start=ne-oe-Y),this.wordMask=_(this.valueMask<<this.start),this.property=Q}decode(O,Y){const Q=this.container._packedGetValue();return _(Q&this.wordMask)>>>this.start}encode(O){if(typeof O!="number"||!Number.isInteger(O)||O!==_(O&this.valueMask))throw new TypeError(a("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);const Y=this.container._packedGetValue(),Q=_(O<<this.start);this.container._packedSetValue(_(Y&~this.wordMask)|Q)}}Pe.BitField=M;class B extends M{constructor(O,Y){super(O,1,Y)}decode(O,Y){return!!super.decode(O,Y)}encode(O){typeof O=="boolean"&&(O=+O),super.encode(O)}}Pe.Boolean=B;class C extends n{constructor(O,Y){if(!(O instanceof c&&O.isCount()||Number.isInteger(O)&&0<=O))throw new TypeError("length must be positive integer or an unsigned integer ExternalLayout");let Q=-1;O instanceof c||(Q=O),super(Q,Y),this.length=O}getSpan(O,Y){let Q=this.span;return 0>Q&&(Q=this.length.decode(O,Y)),Q}decode(O,Y=0){let Q=this.span;return 0>Q&&(Q=this.length.decode(O,Y)),r(O).slice(Y,Y+Q)}encode(O,Y,Q){let ne=this.length;if(this.length instanceof c&&(ne=O.length),!(O instanceof Uint8Array&&ne===O.length))throw new TypeError(a("Blob.encode",this)+" requires (length "+ne+") Uint8Array as src");if(Q+ne>Y.length)throw new RangeError("encoding overruns Uint8Array");const oe=r(O);return r(Y).write(oe.toString("hex"),Q,ne,"hex"),this.length instanceof c&&this.length.encode(ne,Y,Q),ne}}Pe.Blob=C;class q extends n{constructor(O){super(-1,O)}getSpan(O,Y=0){t(O);let Q=Y;for(;Q<O.length&&O[Q]!==0;)Q+=1;return 1+Q-Y}decode(O,Y=0){const Q=this.getSpan(O,Y);return r(O).slice(Y,Y+Q-1).toString("utf-8")}encode(O,Y,Q=0){typeof O!="string"&&(O=String(O));const ne=e.Buffer.from(O,"utf8"),oe=ne.length;if(Q+oe>Y.length)throw new RangeError("encoding overruns Buffer");const ge=r(Y);return ne.copy(ge,Q),ge[Q+oe]=0,oe+1}}Pe.CString=q;class W extends n{constructor(O,Y){if(typeof O=="string"&&Y===void 0&&(Y=O,O=void 0),O===void 0)O=-1;else if(!Number.isInteger(O))throw new TypeError("maxSpan must be an integer");super(-1,Y),this.maxSpan=O}getSpan(O,Y=0){return t(O),O.length-Y}decode(O,Y=0){const Q=this.getSpan(O,Y);if(0<=this.maxSpan&&this.maxSpan<Q)throw new RangeError("text length exceeds maxSpan");return r(O).slice(Y,Y+Q).toString("utf-8")}encode(O,Y,Q=0){typeof O!="string"&&(O=String(O));const ne=e.Buffer.from(O,"utf8"),oe=ne.length;if(0<=this.maxSpan&&this.maxSpan<oe)throw new RangeError("text length exceeds maxSpan");if(Q+oe>Y.length)throw new RangeError("encoding overruns Buffer");return ne.copy(r(Y),Q),oe}}Pe.UTF8=W;class I extends n{constructor(O,Y){super(0,Y),this.value=O}decode(O,Y){return this.value}encode(O,Y,Q){return 0}}return Pe.Constant=I,Pe.greedy=((S,O)=>new f(S,O)),Pe.offset=((S,O,Y)=>new m(S,O,Y)),Pe.u8=(S=>new h(1,S)),Pe.u16=(S=>new h(2,S)),Pe.u24=(S=>new h(3,S)),Pe.u32=(S=>new h(4,S)),Pe.u40=(S=>new h(5,S)),Pe.u48=(S=>new h(6,S)),Pe.nu64=(S=>new b(S)),Pe.u16be=(S=>new l(2,S)),Pe.u24be=(S=>new l(3,S)),Pe.u32be=(S=>new l(4,S)),Pe.u40be=(S=>new l(5,S)),Pe.u48be=(S=>new l(6,S)),Pe.nu64be=(S=>new x(S)),Pe.s8=(S=>new o(1,S)),Pe.s16=(S=>new o(2,S)),Pe.s24=(S=>new o(3,S)),Pe.s32=(S=>new o(4,S)),Pe.s40=(S=>new o(5,S)),Pe.s48=(S=>new o(6,S)),Pe.ns64=(S=>new w(S)),Pe.s16be=(S=>new u(2,S)),Pe.s24be=(S=>new u(3,S)),Pe.s32be=(S=>new u(4,S)),Pe.s40be=(S=>new u(5,S)),Pe.s48be=(S=>new u(6,S)),Pe.ns64be=(S=>new E(S)),Pe.f32=(S=>new j(S)),Pe.f32be=(S=>new T(S)),Pe.f64=(S=>new F(S)),Pe.f64be=(S=>new z(S)),Pe.struct=((S,O,Y)=>new U(S,O,Y)),Pe.bits=((S,O,Y)=>new k(S,O,Y)),Pe.seq=((S,O,Y)=>new K(S,O,Y)),Pe.union=((S,O,Y)=>new Z(S,O,Y)),Pe.unionLayoutDiscriminator=((S,O)=>new V(S,O)),Pe.blob=((S,O)=>new C(S,O)),Pe.cstr=(S=>new q(S)),Pe.utf8=((S,O)=>new W(S,O)),Pe.constant=((S,O)=>new I(S,O)),Pe}var le=sX(),oX=8078e3,cX=8078001,uX=8078004,lX=8078005,dX=8078006,fX=8078011;function TD(e){return Array.isArray(e)?"%5B"+e.map(TD).join("%2C%20")+"%5D":typeof e=="bigint"?`${e}n`:encodeURIComponent(String(e!=null&&Object.getPrototypeOf(e)===null?{...e}:e))}function hX([e,t]){return`${e}=${TD(t)}`}function pX(e){const t=Object.entries(e).map(hX).join("&");return btoa(t)}function mX(e,t={}){{let r=`Solana error #${e}; Decode this error by running \`npx @solana/errors decode -- ${e}`;return Object.keys(t).length&&(r+=` '${pX(t)}'`),`${r}\``}}
vendor: 19,486 bytes, line 273
273var kl=class extends Error{cause=this.cause;context;constructor(...[e,t]){let r,n;if(t){const{cause:i,...c}=t;i&&(n={cause:i}),Object.keys(c).length>0&&(r=c)}const a=mX(e,r);super(a,n),this.context={__code:e,...r},this.name="SolanaError"}};function gX(e,t){return"fixedSize"in t?t.fixedSize:t.getSizeFromValue(e)}function yX(e){return Object.freeze({...e,encode:t=>{const r=new Uint8Array(gX(t,e));return e.write(t,r,0),r}})}function bX(e){return Object.freeze({...e,decode:(t,r=0)=>e.read(t,r)[0]})}function fl(e){return"fixedSize"in e&&typeof e.fixedSize=="number"}function vX(e,t){if(fl(e)!==fl(t))throw new kl(uX);if(fl(e)&&fl(t)&&e.fixedSize!==t.fixedSize)throw new kl(lX,{decoderFixedSize:t.fixedSize,encoderFixedSize:e.fixedSize});if(!fl(e)&&!fl(t)&&e.maxSize!==t.maxSize)throw new kl(dX,{decoderMaxSize:t.maxSize,encoderMaxSize:e.maxSize});return{...t,...e,decode:t.decode,encode:e.encode,read:t.read,write:e.write}}function wX(e,t,r=0){if(t.length-r<=0)throw new kl(oX,{codecDescription:e})}function _X(e,t,r,n=0){const a=r.length-n;if(a<t)throw new kl(cX,{bytesLength:a,codecDescription:e,expected:t})}function xX(e,t,r,n){if(n<t||n>r)throw new kl(fX,{codecDescription:e,max:r,min:t,value:n})}function RD(e){return e?.endian!==1}function EX(e){return yX({fixedSize:e.size,write(t,r,n){e.range&&xX(e.name,e.range[0],e.range[1],t);const a=new ArrayBuffer(e.size);return e.set(new DataView(a),t,RD(e.config)),r.set(new Uint8Array(a),n),n+e.size}})}function jX(e){return bX({fixedSize:e.size,read(t,r=0){wX(e.name,t,r),_X(e.name,e.size,t,r);const n=new DataView(AX(t,r,e.size));return[e.get(n,RD(e.config)),r+e.size]}})}function AX(e,t,r){const n=e.byteOffset+(t??0),a=r??e.byteLength;return e.buffer.slice(n,n+a)}var PX=(e={})=>EX({config:e,name:"u64",range:[0n,BigInt("0xffffffffffffffff")],set:(t,r,n)=>t.setBigUint64(0,BigInt(r),n),size:8}),SX=(e={})=>jX({config:e,get:(t,r)=>t.getBigUint64(0,r),name:"u64",size:8}),kX=(e={})=>vX(PX(e),SX(e));class TX extends TypeError{constructor(t,r){let n;const{message:a,explanation:i,...c}=t,{path:f}=t,m=f.length===0?a:`At path: ${f.join(".")} -- ${a}`;super(i??m),i!=null&&(this.cause=m),Object.assign(this,c),this.name=this.constructor.name,this.failures=()=>n??(n=[t,...r()])}}function RX(e){return py(e)&&typeof e[Symbol.iterator]=="function"}function py(e){return typeof e=="object"&&e!=null}function Vv(e){return py(e)&&!Array.isArray(e)}function _i(e){return typeof e=="symbol"?e.toString():typeof e=="string"?JSON.stringify(e):`${e}`}function OX(e){const{done:t,value:r}=e.next();return t?void 0:r}function CX(e,t,r,n){if(e===!0)return;e===!1?e={}:typeof e=="string"&&(e={message:e});const{path:a,branch:i}=t,{type:c}=r,{refinement:f,message:m=`Expected a value of type \`${c}\`${f?` with refinement \`${f}\``:""}, but received: \`${_i(n)}\``}=e;return{value:n,type:c,refinement:f,key:a[a.length-1],path:a,branch:i,...e,message:m}}function*oC(e,t,r,n){RX(e)||(e=[e]);for(const a of e){const i=CX(a,t,r,n);i&&(yield i)}}function*qP(e,t,r={}){const{path:n=[],branch:a=[e],coerce:i=!1,mask:c=!1}=r,f={path:n,branch:a,mask:c};i&&(e=t.coercer(e,f));let m="valid";for(const h of t.validator(e,f))h.explanation=r.message,m="not_valid",yield[h,void 0];for(let[h,l,o]of t.entries(e,f)){const u=qP(l,o,{path:h===void 0?n:[...n,h],branch:h===void 0?a:[...a,l],coerce:i,mask:c,message:r.message});for(const p of u)p[0]?(m=p[0].refinement!=null?"not_refined":"not_valid",yield[p[0],void 0]):i&&(l=p[1],h===void 0?e=l:e instanceof Map?e.set(h,l):e instanceof Set?e.add(l):py(e)&&(l!==void 0||h in e)&&(e[h]=l))}if(m!=="not_valid")for(const h of t.refiner(e,f))h.explanation=r.message,m="not_refined",yield[h,void 0];m==="valid"&&(yield[void 0,e])}let Gi=class{constructor(t){const{type:r,schema:n,validator:a,refiner:i,coercer:c=m=>m,entries:f=function*(){}}=t;this.type=r,this.schema=n,this.entries=f,this.coercer=c,a?this.validator=(m,h)=>{const l=a(m,h);return oC(l,h,this,m)}:this.validator=()=>[],i?this.refiner=(m,h)=>{const l=i(m,h);return oC(l,h,this,m)}:this.refiner=()=>[]}assert(t,r){return IX(t,this,r)}create(t,r){return Vg(t,this,r)}is(t){return OD(t,this)}mask(t,r){return NX(t,this,r)}validate(t,r={}){return my(t,this,r)}};function IX(e,t,r){const n=my(e,t,{message:r});if(n[0])throw n[0]}function Vg(e,t,r){const n=my(e,t,{coerce:!0,message:r});if(n[0])throw n[0];return n[1]}function NX(e,t,r){const n=my(e,t,{coerce:!0,mask:!0,message:r});if(n[0])throw n[0];return n[1]}function OD(e,t){return!my(e,t)[0]}function my(e,t,r={}){const n=qP(e,t,r),a=OX(n);return a[0]?[new TX(a[0],function*(){for(const c of n)c[0]&&(yield c[0])}),void 0]:[void 0,a[1]]}function mu(e,t){return new Gi({type:e,schema:null,validator:t})}function MX(){return mu("any",()=>!0)}function Ze(e){return new Gi({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(const[r,n]of t.entries())yield[r,n,e]},coercer(t){return Array.isArray(t)?t.slice():t},validator(t){return Array.isArray(t)||`Expected an array value, but received: ${_i(t)}`}})}function Wi(){return mu("boolean",e=>typeof e=="boolean")}function LP(e){return mu("instance",t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${_i(t)}`)}function Ur(e){const t=_i(e),r=typeof e;return new Gi({type:"literal",schema:r==="string"||r==="number"||r==="boolean"?e:null,validator(n){return n===e||`Expected the literal \`${t}\`, but received: ${_i(n)}`}})}function FX(){return mu("never",()=>!1)}function Je(e){return new Gi({...e,validator:(t,r)=>t===null||e.validator(t,r),refiner:(t,r)=>t===null||e.refiner(t,r)})}function Ae(){return mu("number",e=>typeof e=="number"&&!isNaN(e)||`Expected a number, but received: ${_i(e)}`)}function yt(e){return new Gi({...e,validator:(t,r)=>t===void 0||e.validator(t,r),refiner:(t,r)=>t===void 0||e.refiner(t,r)})}function CD(e,t){return new Gi({type:"record",schema:null,*entries(r){if(py(r))for(const n in r){const a=r[n];yield[n,n,e],yield[n,a,t]}},validator(r){return Vv(r)||`Expected an object, but received: ${_i(r)}`},coercer(r){return Vv(r)?{...r}:r}})}function We(){return mu("string",e=>typeof e=="string"||`Expected a string, but received: ${_i(e)}`)}function DP(e){const t=FX();return new Gi({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){const n=Math.max(e.length,r.length);for(let a=0;a<n;a++)yield[a,r[a],e[a]||t]}},validator(r){return Array.isArray(r)||`Expected an array, but received: ${_i(r)}`},coercer(r){return Array.isArray(r)?r.slice():r}})}function Me(e){const t=Object.keys(e);return new Gi({type:"type",schema:e,*entries(r){if(py(r))for(const n of t)yield[n,r[n],e[n]]},validator(r){return Vv(r)||`Expected an object, but received: ${_i(r)}`},coercer(r){return Vv(r)?{...r}:r}})}function $n(e){const t=e.map(r=>r.type).join(" | ");return new Gi({type:"union",schema:null,coercer(r,n){for(const a of e){const[i,c]=a.validate(r,{coerce:!0,mask:n.mask});if(!i)return c}return r},validator(r,n){const a=[];for(const i of e){const[...c]=qP(r,i,n),[f]=c;if(f[0])for(const[m]of c)m&&a.push(m);else return[]}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${_i(r)}`,...a]}})}function Kl(){return mu("unknown",()=>!0)}function gy(e,t,r){return new Gi({...e,coercer:(n,a)=>OD(n,t)?e.coercer(r(n,a),a):e.coercer(n,a)})}var Qb,BX=new Uint8Array(16);function ID(){if(!Qb&&(Qb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Qb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qb(BX)}const UX=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function ow(e){return typeof e=="string"&&UX.test(e)}var An=[];for(var H_=0;H_<256;++H_)An.push((H_+256).toString(16).substr(1));function cw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(An[e[t+0]]+An[e[t+1]]+An[e[t+2]]+An[e[t+3]]+"-"+An[e[t+4]]+An[e[t+5]]+"-"+An[e[t+6]]+An[e[t+7]]+"-"+An[e[t+8]]+An[e[t+9]]+"-"+An[e[t+10]]+An[e[t+11]]+An[e[t+12]]+An[e[t+13]]+An[e[t+14]]+An[e[t+15]]).toLowerCase();if(!ow(r))throw TypeError("Stringified UUID is invalid");return r}var cC,W_,G_=0,K_=0;function qX(e,t,r){var n=t&&r||0,a=t||new Array(16);e=e||{};var i=e.node||cC,c=e.clockseq!==void 0?e.clockseq:W_;if(i==null||c==null){var f=e.random||(e.rng||ID)();i==null&&(i=cC=[f[0]|1,f[1],f[2],f[3],f[4],f[5]]),c==null&&(c=W_=(f[6]<<8|f[7])&16383)}var m=e.msecs!==void 0?e.msecs:Date.now(),h=e.nsecs!==void 0?e.nsecs:K_+1,l=m-G_+(h-K_)/1e4;if(l<0&&e.clockseq===void 0&&(c=c+1&16383),(l<0||m>G_)&&e.nsecs===void 0&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");G_=m,K_=h,W_=c,m+=122192928e5;var o=((m&268435455)*1e4+h)%4294967296;a[n++]=o>>>24&255,a[n++]=o>>>16&255,a[n++]=o>>>8&255,a[n++]=o&255;var u=m/4294967296*1e4&268435455;a[n++]=u>>>8&255,a[n++]=u&255,a[n++]=u>>>24&15|16,a[n++]=u>>>16&255,a[n++]=c>>>8|128,a[n++]=c&255;for(var p=0;p<6;++p)a[n+p]=i[p];return t||cw(a)}function ND(e){if(!ow(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}function LX(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}var DX="6ba7b810-9dad-11d1-80b4-00c04fd430c8",zX="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function MD(e,t,r){function n(a,i,c,f){if(typeof a=="string"&&(a=LX(a)),typeof i=="string"&&(i=ND(i)),i.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var m=new Uint8Array(16+a.length);if(m.set(i),m.set(a,i.length),m=r(m),m[6]=m[6]&15|t,m[8]=m[8]&63|128,c){f=f||0;for(var h=0;h<16;++h)c[f+h]=m[h];return c}return cw(m)}try{n.name=e}catch{}return n.DNS=DX,n.URL=zX,n}function VX(e){if(typeof e=="string"){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return HX(WX(GX(e),e.length*8))}function HX(e){for(var t=[],r=e.length*32,n="0123456789abcdef",a=0;a<r;a+=8){var i=e[a>>5]>>>a%32&255,c=parseInt(n.charAt(i>>>4&15)+n.charAt(i&15),16);t.push(c)}return t}function FD(e){return(e+64>>>9<<4)+14+1}function WX(e,t){e[t>>5]|=128<<t%32,e[FD(t)-1]=t;for(var r=1732584193,n=-271733879,a=-1732584194,i=271733878,c=0;c<e.length;c+=16){var f=r,m=n,h=a,l=i;r=Mn(r,n,a,i,e[c],7,-680876936),i=Mn(i,r,n,a,e[c+1],12,-389564586),a=Mn(a,i,r,n,e[c+2],17,606105819),n=Mn(n,a,i,r,e[c+3],22,-1044525330),r=Mn(r,n,a,i,e[c+4],7,-176418897),i=Mn(i,r,n,a,e[c+5],12,1200080426),a=Mn(a,i,r,n,e[c+6],17,-1473231341),n=Mn(n,a,i,r,e[c+7],22,-45705983),r=Mn(r,n,a,i,e[c+8],7,1770035416),i=Mn(i,r,n,a,e[c+9],12,-1958414417),a=Mn(a,i,r,n,e[c+10],17,-42063),n=Mn(n,a,i,r,e[c+11],22,-1990404162),r=Mn(r,n,a,i,e[c+12],7,1804603682),i=Mn(i,r,n,a,e[c+13],12,-40341101),a=Mn(a,i,r,n,e[c+14],17,-1502002290),n=Mn(n,a,i,r,e[c+15],22,1236535329),r=Fn(r,n,a,i,e[c+1],5,-165796510),i=Fn(i,r,n,a,e[c+6],9,-1069501632),a=Fn(a,i,r,n,e[c+11],14,643717713),n=Fn(n,a,i,r,e[c],20,-373897302),r=Fn(r,n,a,i,e[c+5],5,-701558691),i=Fn(i,r,n,a,e[c+10],9,38016083),a=Fn(a,i,r,n,e[c+15],14,-660478335),n=Fn(n,a,i,r,e[c+4],20,-405537848),r=Fn(r,n,a,i,e[c+9],5,568446438),i=Fn(i,r,n,a,e[c+14],9,-1019803690),a=Fn(a,i,r,n,e[c+3],14,-187363961),n=Fn(n,a,i,r,e[c+8],20,1163531501),r=Fn(r,n,a,i,e[c+13],5,-1444681467),i=Fn(i,r,n,a,e[c+2],9,-51403784),a=Fn(a,i,r,n,e[c+7],14,1735328473),n=Fn(n,a,i,r,e[c+12],20,-1926607734),r=Bn(r,n,a,i,e[c+5],4,-378558),i=Bn(i,r,n,a,e[c+8],11,-2022574463),a=Bn(a,i,r,n,e[c+11],16,1839030562),n=Bn(n,a,i,r,e[c+14],23,-35309556),r=Bn(r,n,a,i,e[c+1],4,-1530992060),i=Bn(i,r,n,a,e[c+4],11,1272893353),a=Bn(a,i,r,n,e[c+7],16,-155497632),n=Bn(n,a,i,r,e[c+10],23,-1094730640),r=Bn(r,n,a,i,e[c+13],4,681279174),i=Bn(i,r,n,a,e[c],11,-358537222),a=Bn(a,i,r,n,e[c+3],16,-722521979),n=Bn(n,a,i,r,e[c+6],23,76029189),r=Bn(r,n,a,i,e[c+9],4,-640364487),i=Bn(i,r,n,a,e[c+12],11,-421815835),a=Bn(a,i,r,n,e[c+15],16,530742520),n=Bn(n,a,i,r,e[c+2],23,-995338651),r=Un(r,n,a,i,e[c],6,-198630844),i=Un(i,r,n,a,e[c+7],10,1126891415),a=Un(a,i,r,n,e[c+14],15,-1416354905),n=Un(n,a,i,r,e[c+5],21,-57434055),r=Un(r,n,a,i,e[c+12],6,1700485571),i=Un(i,r,n,a,e[c+3],10,-1894986606),a=Un(a,i,r,n,e[c+10],15,-1051523),n=Un(n,a,i,r,e[c+1],21,-2054922799),r=Un(r,n,a,i,e[c+8],6,1873313359),i=Un(i,r,n,a,e[c+15],10,-30611744),a=Un(a,i,r,n,e[c+6],15,-1560198380),n=Un(n,a,i,r,e[c+13],21,1309151649),r=Un(r,n,a,i,e[c+4],6,-145523070),i=Un(i,r,n,a,e[c+11],10,-1120210379),a=Un(a,i,r,n,e[c+2],15,718787259),n=Un(n,a,i,r,e[c+9],21,-343485551),r=So(r,f),n=So(n,m),a=So(a,h),i=So(i,l)}return[r,n,a,i]}function GX(e){if(e.length===0)return[];for(var t=e.length*8,r=new Uint32Array(FD(t)),n=0;n<t;n+=8)r[n>>5]|=(e[n/8]&255)<<n%32;return r}function So(e,t){var r=(e&65535)+(t&65535),n=(e>>16)+(t>>16)+(r>>16);return n<<16|r&65535}function KX(e,t){return e<<t|e>>>32-t}function uw(e,t,r,n,a,i){return So(KX(So(So(t,e),So(n,i)),a),r)}function Mn(e,t,r,n,a,i,c){return uw(t&r|~t&n,e,t,a,i,c)}function Fn(e,t,r,n,a,i,c){return uw(t&n|r&~n,e,t,a,i,c)}function Bn(e,t,r,n,a,i,c){return uw(t^r^n,e,t,a,i,c)}function Un(e,t,r,n,a,i,c){return uw(r^(t|~n),e,t,a,i,c)}var YX=MD("v3",48,VX);function ZX(e,t,r){e=e||{};var n=e.random||(e.rng||ID)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return cw(n)}function JX(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function Y_(e,t){return e<<t|e>>>32-t}function QX(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof e=="string"){var n=unescape(encodeURIComponent(e));e=[];for(var a=0;a<n.length;++a)e.push(n.charCodeAt(a))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var i=e.length/4+2,c=Math.ceil(i/16),f=new Array(c),m=0;m<c;++m){for(var h=new Uint32Array(16),l=0;l<16;++l)h[l]=e[m*64+l*4]<<24|e[m*64+l*4+1]<<16|e[m*64+l*4+2]<<8|e[m*64+l*4+3];f[m]=h}f[c-1][14]=(e.length-1)*8/Math.pow(2,32),f[c-1][14]=Math.floor(f[c-1][14]),f[c-1][15]=(e.length-1)*8&4294967295;for(var o=0;o<c;++o){for(var u=new Uint32Array(80),p=0;p<16;++p)u[p]=f[o][p];for(var g=16;g<80;++g)u[g]=Y_(u[g-3]^u[g-8]^u[g-14]^u[g-16],1);for(var y=r[0],b=r[1],x=r[2],w=r[3],E=r[4],j=0;j<80;++j){var T=Math.floor(j/20),F=Y_(y,5)+JX(T,b,x,w)+E+t[T]+u[j]>>>0;E=w,w=x,x=Y_(b,30)>>>0,b=y,y=F}r[0]=r[0]+y>>>0,r[1]=r[1]+b>>>0,r[2]=r[2]+x>>>0,r[3]=r[3]+w>>>0,r[4]=r[4]+E>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}var XX=MD("v5",80,QX);const $X="00000000-0000-0000-0000-000000000000";function e$(e){if(!ow(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const t$=Object.freeze(Object.defineProperty({__proto__:null,NIL:$X,parse:ND,stringify:cw,v1:qX,v3:YX,v4:ZX,v5:XX,validate:ow,version:e$},Symbol.toStringTag,{value:"Module"})),BD=ew(t$);var Z_,uC;function r$(){if(uC)return Z_;uC=1;const e=BD.v4;return Z_=function(r,n,a,i){if(typeof r!="string")throw new TypeError(r+" must be a string");i=i||{};const c=typeof i.version=="number"?i.version:2;if(c!==1&&c!==2)throw new TypeError(c+" must be 1 or 2");const f={method:r};if(c===2&&(f.jsonrpc="2.0"),n){if(typeof n!="object"&&!Array.isArray(n))throw new TypeError(n+" must be an object, array or omitted");f.params=n}if(typeof a>"u"){const m=typeof i.generator=="function"?i.generator:function(){return e()};f.id=m(f,i)}else c===2&&a===null?i.notificationIdNull&&(f.id=null):f.id=a;return f},Z_}var J_,lC;function n$(){if(lC)return J_;lC=1;const e=BD.v4,t=r$(),r=function(n,a){if(!(this instanceof r))return new r(n,a);a||(a={}),this.options={reviver:typeof a.reviver<"u"?a.reviver:null,replacer:typeof a.replacer<"u"?a.replacer:null,generator:typeof a.generator<"u"?a.generator:function(){return e()},version:typeof a.version<"u"?a.version:2,notificationIdNull:typeof a.notificationIdNull=="boolean"?a.notificationIdNull:!1},this.callServer=n};return J_=r,r.prototype.request=function(n,a,i,c){const f=this;let m=null;const h=Array.isArray(n)&&typeof a=="function";if(this.options.version===1&&h)throw new TypeError("JSON-RPC 1.0 does not support batching");if(h||!h&&n&&typeof n=="object"&&typeof a=="function")c=a,m=n;else{typeof i=="function"&&(c=i,i=void 0);const u=typeof c=="function";try{m=t(n,a,i,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(p){if(u)return c(p);throw p}if(!u)return m}let o;try{o=JSON.stringify(m,this.options.replacer)}catch(u){return c(u)}return this.callServer(o,function(u,p){f._parseResponse(u,p,c)}),m},r.prototype._parseResponse=function(n,a,i){if(n){i(n);return}if(!a)return i();let c;try{c=JSON.parse(a,this.options.reviver)}catch(f){return i(f)}if(i.length===3)if(Array.isArray(c)){const f=function(h){return typeof h.error<"u"},m=function(h){return!f(h)};return i(null,c.filter(f),c.filter(m))}else return i(null,c.error,c.result);i(null,c)},J_}n$();var Q_={exports:{}},dC;function a$(){return dC||(dC=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(m,h,l){this.fn=m,this.context=h,this.once=l||!1}function i(m,h,l,o,u){if(typeof l!="function")throw new TypeError("The listener must be a function");var p=new a(l,o||m,u),g=r?r+h:h;return m._events[g]?m._events[g].fn?m._events[g]=[m._events[g],p]:m._events[g].push(p):(m._events[g]=p,m._eventsCount++),m}function c(m,h){--m._eventsCount===0?m._events=new n:delete m._events[h]}function f(){this._events=new n,this._eventsCount=0}f.prototype.eventNames=function(){var h=[],l,o;if(this._eventsCount===0)return h;for(o in l=this._events)t.call(l,o)&&h.push(r?o.slice(1):o);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(l)):h},f.prototype.listeners=function(h){var l=r?r+h:h,o=this._events[l];if(!o)return[];if(o.fn)return[o.fn];for(var u=0,p=o.length,g=new Array(p);u<p;u++)g[u]=o[u].fn;return g},f.prototype.listenerCount=function(h){var l=r?r+h:h,o=this._events[l];return o?o.fn?1:o.length:0},f.prototype.emit=function(h,l,o,u,p,g){var y=r?r+h:h;if(!this._events[y])return!1;var b=this._events[y],x=arguments.length,w,E;if(b.fn){switch(b.once&&this.removeListener(h,b.fn,void 0,!0),x){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,l),!0;case 3:return b.fn.call(b.context,l,o),!0;case 4:return b.fn.call(b.context,l,o,u),!0;case 5:return b.fn.call(b.context,l,o,u,p),!0;case 6:return b.fn.call(b.context,l,o,u,p,g),!0}for(E=1,w=new Array(x-1);E<x;E++)w[E-1]=arguments[E];b.fn.apply(b.context,w)}else{var j=b.length,T;for(E=0;E<j;E++)switch(b[E].once&&this.removeListener(h,b[E].fn,void 0,!0),x){case 1:b[E].fn.call(b[E].context);break;case 2:b[E].fn.call(b[E].context,l);break;case 3:b[E].fn.call(b[E].context,l,o);break;case 4:b[E].fn.call(b[E].context,l,o,u);break;default:if(!w)for(T=1,w=new Array(x-1);T<x;
vendor: 5,431 bytes, line 273
273T++)w[T-1]=arguments[T];b[E].fn.apply(b[E].context,w)}}return!0},f.prototype.on=function(h,l,o){return i(this,h,l,o,!1)},f.prototype.once=function(h,l,o){return i(this,h,l,o,!0)},f.prototype.removeListener=function(h,l,o,u){var p=r?r+h:h;if(!this._events[p])return this;if(!l)return c(this,p),this;var g=this._events[p];if(g.fn)g.fn===l&&(!u||g.once)&&(!o||g.context===o)&&c(this,p);else{for(var y=0,b=[],x=g.length;y<x;y++)(g[y].fn!==l||u&&!g[y].once||o&&g[y].context!==o)&&b.push(g[y]);b.length?this._events[p]=b.length===1?b[0]:b:c(this,p)}return this},f.prototype.removeAllListeners=function(h){var l;return h?(l=r?r+h:h,this._events[l]&&c(this,l)):(this._events=new n,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=r,f.EventEmitter=f,e.exports=f})(Q_)),Q_.exports}var i$=a$();const UD=iy(i$);class qD extends rD{constructor(t,r){super(),this.finished=!1,this.destroyed=!1,eD(t);const n=CP(r);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const a=this.blockLen,i=new Uint8Array(a);i.set(n.length>a?t.create().update(n).digest():n);for(let c=0;c<i.length;c++)i[c]^=54;this.iHash.update(i),this.oHash=t.create();for(let c=0;c<i.length;c++)i[c]^=106;this.oHash.update(i),Fl(i)}update(t){return Mv(this),this.iHash.update(t),this}digestInto(t){Mv(this),hu(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:r,iHash:n,finished:a,destroyed:i,blockLen:c,outputLen:f}=this;return t=t,t.finished=a,t.destroyed=i,t.blockLen=c,t.outputLen=f,t.oHash=r._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const LD=(e,t,r)=>new qD(e,t).update(r).digest();LD.create=(e,t)=>new qD(e,t);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const fC=(e,t)=>(e+(e>=0?t:-t)/DD)/t;function s$(e,t,r){const[[n,a],[i,c]]=t,f=fC(c*e,r),m=fC(-a*e,r);let h=e-f*n-m*i,l=-f*a-m*c;const o=h<Us,u=l<Us;o&&(h=-h),u&&(l=-l);const p=dy(Math.ceil(uD(r)/2))+Tl;if(h<Us||h>=p||l<Us||l>=p)throw new Error("splitScalar (endomorphism): failed, k="+e);return{k1neg:o,k1:h,k2neg:u,k2:l}}function MA(e){if(!["compact","recovered","der"].includes(e))throw new Error('Signature format must be "compact", "recovered", or "der"');return e}function X_(e,t){const r={};for(let n of Object.keys(t))r[n]=e[n]===void 0?t[n]:e[n];return lu(r.lowS,"lowS"),lu(r.prehash,"prehash"),r.format!==void 0&&MA(r.format),r}class o$ extends Error{constructor(t=""){super(t)}}const Ms={Err:o$,_tlv:{encode:(e,t)=>{const{Err:r}=Ms;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length&1)throw new r("tlv.encode: unpadded data");const n=t.length/2,a=Zb(n);if(a.length/2&128)throw new r("tlv.encode: long form length too big");const i=n>127?Zb(a.length/2|128):"";return Zb(e)+i+a+t},decode(e,t){const{Err:r}=Ms;let n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");const a=t[n++],i=!!(a&128);let c=0;if(!i)c=a;else{const m=a&127;if(!m)throw new r("tlv.decode(long): indefinite length not supported");if(m>4)throw new r("tlv.decode(long): byte length is too big");const h=t.subarray(n,n+m);if(h.length!==m)throw new r("tlv.decode: length bytes not complete");if(h[0]===0)throw new r("tlv.decode(long): zero leftmost byte");for(const l of h)c=c<<8|l;if(n+=m,c<128)throw new r("tlv.decode(long): not minimal encoding")}const f=t.subarray(n,n+c);if(f.length!==c)throw new r("tlv.decode: wrong value length");return{v:f,l:t.subarray(n+c)}}},_int:{encode(e){const{Err:t}=Ms;if(e<Us)throw new t("integer: negative integers are not allowed");let r=Zb(e);if(Number.parseInt(r[0],16)&8&&(r="00"+r),r.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return r},decode(e){const{Err:t}=Ms;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return iw(e)}},toSig(e){const{Err:t,_int:r,_tlv:n}=Ms,a=Vr("signature",e),{v:i,l:c}=n.decode(48,a);if(c.length)throw new t("invalid signature: left bytes after parsing");const{v:f,l:m}=n.decode(2,i),{v:h,l}=n.decode(2,m);if(l.length)throw new t("invalid signature: left bytes after parsing");return{r:r.decode(f),s:r.decode(h)}},hexFromSig(e){const{_tlv:t,_int:r}=Ms,n=t.encode(2,r.encode(e.r)),a=t.encode(2,r.encode(e.s)),i=n+a;return t.encode(48,i)}},Us=BigInt(0),Tl=BigInt(1),DD=BigInt(2),Xb=BigInt(3),c$=BigInt(4);function Al(e,t){const{BYTES:r}=e;let n;if(typeof t=="bigint")n=t;else{let a=Vr("private key",t);try{n=e.fromBytes(a)}catch{throw new Error(`invalid private key: expected ui8a of size ${r}, got ${typeof t}`)}}if(!e.isValidNot0(n))throw new Error("invalid private key: out of range [1..N-1]");return n}function u$(e,t={}){const r=AD("weierstrass",e,t),{Fp:n,Fn:a}=r;let i=r.CURVE;const{h:c,n:f}=i;fy(t,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});
vendor: 15,207 bytes, line 273
273const{endo:m}=t;if(m&&(!n.is0(i.a)||typeof m.beta!="bigint"||!Array.isArray(m.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const h=VD(n,a);function l(){if(!n.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function o(Z,R,_){const{x:k,y:M}=R.toAffine(),B=n.toBytes(k);if(lu(_,"isCompressed"),_){l();const C=!n.isOdd(M);return Li(zD(C),B)}else return Li(Uint8Array.of(4),B,n.toBytes(M))}function u(Z){wi(Z,void 0,"Point");const{publicKey:R,publicKeyUncompressed:_}=h,k=Z.length,M=Z[0],B=Z.subarray(1);if(k===R&&(M===2||M===3)){const C=n.fromBytes(B);if(!n.isValid(C))throw new Error("bad point: is not on curve, wrong x");const q=y(C);let W;try{W=n.sqrt(q)}catch(O){const Y=O instanceof Error?": "+O.message:"";throw new Error("bad point: is not on curve, sqrt error"+Y)}l();const I=n.isOdd(W);return(M&1)===1!==I&&(W=n.neg(W)),{x:C,y:W}}else if(k===_&&M===4){const C=n.BYTES,q=n.fromBytes(B.subarray(0,C)),W=n.fromBytes(B.subarray(C,C*2));if(!b(q,W))throw new Error("bad point: is not on curve");return{x:q,y:W}}else throw new Error(`bad point: got length ${k}, expected compressed=${R} or uncompressed=${_}`)}const p=t.toBytes||o,g=t.fromBytes||u;function y(Z){const R=n.sqr(Z),_=n.mul(R,Z);return n.add(n.add(_,n.mul(Z,i.a)),i.b)}function b(Z,R){const _=n.sqr(R),k=y(Z);return n.eql(_,k)}if(!b(i.Gx,i.Gy))throw new Error("bad curve params: generator point");const x=n.mul(n.pow(i.a,Xb),c$),w=n.mul(n.sqr(i.b),BigInt(27));if(n.is0(n.add(x,w)))throw new Error("bad curve params: a or b");function E(Z,R,_=!1){if(!n.isValid(R)||_&&n.is0(R))throw new Error(`bad point coordinate ${Z}`);return R}function j(Z){if(!(Z instanceof U))throw new Error("ProjectivePoint expected")}function T(Z){if(!m||!m.basises)throw new Error("no endo");return s$(Z,m.basises,a.ORDER)}const F=Bv((Z,R)=>{const{X:_,Y:k,Z:M}=Z;if(n.eql(M,n.ONE))return{x:_,y:k};const B=Z.is0();R==null&&(R=B?n.ONE:n.inv(M));const C=n.mul(_,R),q=n.mul(k,R),W=n.mul(M,R);if(B)return{x:n.ZERO,y:n.ZERO};if(!n.eql(W,n.ONE))throw new Error("invZ was invalid");return{x:C,y:q}}),z=Bv(Z=>{if(Z.is0()){if(t.allowInfinityPoint&&!n.is0(Z.Y))return;throw new Error("bad point: ZERO")}const{x:R,y:_}=Z.toAffine();if(!n.isValid(R)||!n.isValid(_))throw new Error("bad point: x or y not field elements");if(!b(R,_))throw new Error("bad point: equation left != right");if(!Z.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function K(Z,R,_,k,M){return _=new U(n.mul(_.X,Z),_.Y,_.Z),R=Uv(k,R),_=Uv(M,_),R.add(_)}class U{constructor(R,_,k){this.X=E("x",R),this.Y=E("y",_,!0),this.Z=E("z",k),Object.freeze(this)}static CURVE(){return i}static fromAffine(R){const{x:_,y:k}=R||{};if(!R||!n.isValid(_)||!n.isValid(k))throw new Error("invalid affine point");if(R instanceof U)throw new Error("projective point not allowed");return n.is0(_)&&n.is0(k)?U.ZERO:new U(_,k,n.ONE)}static fromBytes(R){const _=U.fromAffine(g(wi(R,void 0,"point")));return _.assertValidity(),_}static fromHex(R){return U.fromBytes(Vr("pointHex",R))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(R=8,_=!0){return V.createCache(this,R),_||this.multiply(Xb),this}assertValidity(){z(this)}hasEvenY(){const{y:R}=this.toAffine();if(!n.isOdd)throw new Error("Field doesn't support isOdd");return!n.isOdd(R)}equals(R){j(R);const{X:_,Y:k,Z:M}=this,{X:B,Y:C,Z:q}=R,W=n.eql(n.mul(_,q),n.mul(B,M)),I=n.eql(n.mul(k,q),n.mul(C,M));return W&&I}negate(){return new U(this.X,n.neg(this.Y),this.Z)}double(){const{a:R,b:_}=i,k=n.mul(_,Xb),{X:M,Y:B,Z:C}=this;let q=n.ZERO,W=n.ZERO,I=n.ZERO,S=n.mul(M,M),O=n.mul(B,B),Y=n.mul(C,C),Q=n.mul(M,B);return Q=n.add(Q,Q),I=n.mul(M,C),I=n.add(I,I),q=n.mul(R,I),W=n.mul(k,Y),W=n.add(q,W),q=n.sub(O,W),W=n.add(O,W),W=n.mul(q,W),q=n.mul(Q,q),I=n.mul(k,I),Y=n.mul(R,Y),Q=n.sub(S,Y),Q=n.mul(R,Q),Q=n.add(Q,I),I=n.add(S,S),S=n.add(I,S),S=n.add(S,Y),S=n.mul(S,Q),W=n.add(W,S),Y=n.mul(B,C),Y=n.add(Y,Y),S=n.mul(Y,Q),q=n.sub(q,S),I=n.mul(Y,O),I=n.add(I,I),I=n.add(I,I),new U(q,W,I)}add(R){j(R);const{X:_,Y:k,Z:M}=this,{X:B,Y:C,Z:q}=R;let W=n.ZERO,I=n.ZERO,S=n.ZERO;const O=i.a,Y=n.mul(i.b,Xb);let Q=n.mul(_,B),ne=n.mul(k,C),oe=n.mul(M,q),ge=n.add(_,k),we=n.add(B,C);ge=n.mul(ge,we),we=n.add(Q,ne),ge=n.sub(ge,we),we=n.add(_,M);let Ue=n.add(B,q);return we=n.mul(we,Ue),Ue=n.add(Q,oe),we=n.sub(we,Ue),Ue=n.add(k,M),W=n.add(C,q),Ue=n.mul(Ue,W),W=n.add(ne,oe),Ue=n.sub(Ue,W),S=n.mul(O,we),W=n.mul(Y,oe),S=n.add(W,S),W=n.sub(ne,S),S=n.add(ne,S),I=n.mul(W,S),ne=n.add(Q,Q),ne=n.add(ne,Q),oe=n.mul(O,oe),we=n.mul(Y,we),ne=n.add(ne,oe),oe=n.sub(Q,oe),oe=n.mul(O,oe),we=n.add(we,oe),Q=n.mul(ne,we),I=n.add(I,Q),Q=n.mul(Ue,we),W=n.mul(ge,W),W=n.sub(W,Q),Q=n.mul(ge,ne),S=n.mul(Ue,S),S=n.add(S,Q),new U(W,I,S)}subtract(R){return this.add(R.negate())}is0(){return this.equals(U.ZERO)}multiply(R){const{endo:_}=t;if(!a.isValidNot0(R))throw new Error("invalid scalar: out of range");let k,M;const B=C=>V.cached(this,C,q=>eu(U,q));if(_){const{k1neg:C,k1:q,k2neg:W,k2:I}=T(R),{p:S,f:O}=B(q),{p:Y,f:Q}=B(I);M=O.add(Q),k=K(_.beta,S,Y,C,W)}else{const{p:C,f:q}=B(R);k=C,M=q}return eu(U,[k,M])[0]}multiplyUnsafe(R){const{endo:_}=t,k=this;if(!a.isValid(R))throw new Error("invalid scalar: out of range");if(R===Us||k.is0())return U.ZERO;if(R===Tl)return k;if(V.hasCache(this))return this.multiply(R);if(_){const{k1neg:M,k1:B,k2neg:C,k2:q}=T(R),{p1:W,p2:I}=TQ(U,k,B,q);return K(_.beta,W,I,M,C)}else return V.unsafe(k,R)}multiplyAndAddUnsafe(R,_,k){const M=this.multiplyUnsafe(_).add(R.multiplyUnsafe(k));return M.is0()?void 0:M}toAffine(R){return F(this,R)}isTorsionFree(){const{isTorsionFree:R}=t;return c===Tl?!0:R?R(U,this):V.unsafe(this,f).is0()}clearCofactor(){const{clearCofactor:R}=t;return c===Tl?this:R?R(U,this):this.multiplyUnsafe(c)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}toBytes(R=!0){return lu(R,"isCompressed"),this.assertValidity(),p(U,this,R)}toHex(R=!0){return au(this.toBytes(R))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(R=!0){return this.toBytes(R)}_setWindowSize(R){this.precompute(R)}static normalizeZ(R){return eu(U,R)}static msm(R,_){return jD(U,a,R,_)}static fromPrivateKey(R){return U.BASE.multiply(Al(a,R))}}U.BASE=new U(i.Gx,i.Gy,n.ONE),U.ZERO=new U(n.ZERO,n.ONE,n.ZERO),U.Fp=n,U.Fn=a;const H=a.BITS,V=new ED(U,t.endo?Math.ceil(H/2):H);return U.BASE.precompute(8),U}function zD(e){return Uint8Array.of(e?2:3)}function VD(e,t){return{secretKey:t.BYTES,publicKey:1+e.BYTES,publicKeyUncompressed:1+2*e.BYTES,publicKeyHasPrefix:!0,signature:2*t.BYTES}}function l$(e,t={}){const{Fn:r}=e,n=t.randomBytes||IP,a=Object.assign(VD(e.Fp,r),{seed:wD(r.ORDER)});function i(p){try{return!!Al(r,p)}catch{return!1}}function c(p,g){const{publicKey:y,publicKeyUncompressed:b}=a;try{const x=p.length;return g===!0&&x!==y||g===!1&&x!==b?!1:!!e.fromBytes(p)}catch{return!1}}function f(p=n(a.seed)){return PQ(wi(p,a.seed,"seed"),r.ORDER)}function m(p,g=!0){return e.BASE.multiply(Al(r,p)).toBytes(g)}function h(p){const g=f(p);return{secretKey:g,publicKey:m(g)}}function l(p){if(typeof p=="bigint")return!1;if(p instanceof e)return!0;const{secretKey:g,publicKey:y,publicKeyUncompressed:b}=a;if(r.allowedLengths||g===y)return;const x=Vr("key",p).length;return x===y||x===b}function o(p,g,y=!0){if(l(p)===!0)throw new Error("first arg must be private key");if(l(g)===!1)throw new Error("second arg must be public key");const b=Al(r,p);return e.fromHex(g).multiply(b).toBytes(y)}return Object.freeze({getPublicKey:m,getSharedSecret:o,keygen:h,Point:e,utils:{isValidSecretKey:i,isValidPublicKey:c,randomSecretKey:f,isValidPrivateKey:i,randomPrivateKey:f,normPrivateKeyToScalar:p=>Al(r,p),precompute(p=8,g=e.BASE){return g.precompute(p,!1)}},lengths:a})}function d$(e,t,r={}){eD(t),fy(r,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const n=r.randomBytes||IP,a=r.hmac||((_,...k)=>LD(t,_,Li(...k))),{Fp:i,Fn:c}=e,{ORDER:f,BITS:m}=c,{keygen:h,getPublicKey:l,getSharedSecret:o,utils:u,lengths:p}=l$(e,r),g={prehash:!1,lowS:typeof r.lowS=="boolean"?r.lowS:!1,format:void 0,extraEntropy:!1},y="compact";function b(_){const k=f>>Tl;return _>k}function x(_,k){if(!c.isValidNot0(k))throw new Error(`invalid signature ${_}: out of range 1..Point.Fn.ORDER`);return k}function w(_,k){MA(k);const M=p.signature,B=k==="compact"?M:k==="recovered"?M+1:void 0;return wi(_,B,`${k} signature`)}class E{constructor(k,M,B){this.r=x("r",k),this.s=x("s",M),B!=null&&(this.recovery=B),Object.freeze(this)}static fromBytes(k,M=y){w(k,M);let B;if(M==="der"){const{r:I,s:S}=Ms.toSig(wi(k));return new E(I,S)}M==="recovered"&&(B=k[0],M="compact",k=k.subarray(1));const C=c.BYTES,q=k.subarray(0,C),W=k.subarray(C,C*2);return new E(c.fromBytes(q),c.fromBytes(W),B)}static fromHex(k,M){return this.fromBytes(Fv(k),M)}addRecoveryBit(k){return new E(this.r,this.s,k)}recoverPublicKey(k){const M=i.ORDER,{r:B,s:C,recovery:q}=this;if(q==null||![0,1,2,3].includes(q))throw new Error("recovery id invalid");if(f*DD<M&&q>1)throw new Error("recovery id is ambiguous for h>1 curve");const I=q===2||q===3?B+f:B;if(!i.isValid(I))throw new Error("recovery id 2 or 3 invalid");const S=i.toBytes(I),O=e.fromBytes(Li(zD((q&1)===0),S)),Y=c.inv(I),Q=T(Vr("msgHash",k)),ne=c.create(-Q*Y),oe=c.create(C*Y),ge=e.BASE.multiplyUnsafe(ne).add(O.multiplyUnsafe(oe));if(ge.is0())throw new Error("point at infinify");return ge.assertValidity(),ge}hasHighS(){return b(this.s)}toBytes(k=y){if(MA(k),k==="der")return Fv(Ms.hexFromSig(this));const M=c.toBytes(this.r),B=c.toBytes(this.s);if(k==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Li(Uint8Array.of(this.recovery),M,B)}return Li(M,B)}toHex(k){return au(this.toBytes(k))}assertValidity(){}static fromCompact(k){return E.fromBytes(Vr("sig",k),"compact")}static fromDER(k){return E.fromBytes(Vr("sig",k),"der")}normalizeS(){return this.hasHighS()?new E(this.r,c.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return au(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return au(this.toBytes("compact"))}}const j=r.bits2int||function(k){if(k.length>8192)throw new Error("input is too large");const M=iw(k),B=k.length*8-m;return B>0?M>>BigInt(B):M},T=r.bits2int_modN||function(k){return c.create(j(k))},F=dy(m);function z(_){return NA("num < 2^"+m,_,Us,F),c.toBytes(_)}function K(_,k){return wi(_,void 0,"message"),k?wi(t(_),void 0,"prehashed message"):_}function U(_,k,M){if(["recovered","canonical"].some(ne=>ne in M))throw new Error("sign() legacy options not supported");const{lowS:B,prehash:C,extraEntropy:q}=X_(M,g);_=K(_,C);const W=T(_),I=Al(c,k),S=[z(I),z(W)];if(q!=null&&q!==!1){const ne=q===!0?n(p.secretKey):q;S.push(Vr("extraEntropy",ne))}const O=Li(...S),Y=W;function Q(ne){const oe=j(ne);if(!c.isValidNot0(oe))return;const ge=c.inv(oe),we=e.BASE.multiply(oe).toAffine(),Ue=c.create(we.x);if(Ue===Us)return;const ye=c.create(ge*c.create(Y+Ue*I));if(ye===Us)return;let de=(we.x===Ue?0:2)|Number(we.y&Tl),Se=ye;return B&&b(ye)&&(Se=c.neg(ye),de^=1),new E(Ue,Se,de)}return{seed:O,k2sig:Q}}function H(_,k,M={}){_=Vr("message",_);const{seed:B,k2sig:C}=U(_,k,M);return gQ(t.outputLen,c.BYTES,a)(B,C)}function V(_){let k;const M=typeof _=="string"||ly(_),B=!M&&_!==null&&typeof _=="object"&&typeof _.r=="bigint"&&typeof _.s=="bigint";if(!M&&!B)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(B)k=new E(_.r,_.s);else if(M){try{k=E.fromBytes(Vr("sig",_),"der")}catch(C){if(!(C instanceof Ms.Err))throw C}if(!k)try{k=E.fromBytes(Vr("sig",_),"compact")}catch{return!1}}return k||!1}function Z(_,k,M,B={}){const{lowS:C,prehash:q,format:W}=X_(B,g);if(M=Vr("publicKey",M),k=K(Vr("message",k),q),"strict"in B)throw new Error("options.strict was renamed to lowS");const I=W===void 0?V(_):E.fromBytes(Vr("sig",_),W);if(I===!1)return!1;try{const S=e.fromBytes(M);if(C&&I.hasHighS())return!1;const{r:O,s:Y}=I,Q=T(k),ne=c.inv(Y),oe=c.create(Q*ne),ge=c.create(O*ne),we=e.BASE.multiplyUnsafe(oe).add(S.multiplyUnsafe(ge));return we.is0()?!1:c.create(we.x)===O}catch{return!1}}function R(_,k,M={}){const{prehash:B}=X_(M,g);return k=K(k,B),E.fromBytes(_,"recovered").recoverPublicKey(k).toBytes()}return Object.freeze({keygen:h,getPublicKey:l,getSharedSecret:o,utils:u,lengths:p,Point:e,sign:H,verify:Z,recoverPublicKey:R,Signature:E,hash:t})}function f$(e){const t={a:e.a,b:e.b,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy},r=e.Fp;let n=e.allowedPrivateKeyLengths?Array.from(new Set(e.allowedPrivateKeyLengths.map(c=>Math.ceil(c/2)))):void 0;const a=pu(t.n,{BITS:e.nBitLength,allowedLengths:n,modFromBytes:e.wrapPrivateKey}),i={Fp:r,Fn:a,allowInfinityPoint:e.allowInfinityPoint,endo:e.endo,isTorsionFree:e.isTorsionFree,clearCofactor:e.clearCofactor,fromBytes:e.fromBytes,toBytes:e.toBytes};return{CURVE:t,curveOpts:i}}function h$(e){const{CURVE:t,curveOpts:r}=f$(e),n={hmac:e.hmac,randomBytes:e.randomBytes,lowS:e.lowS,bits2int:e.bits2int,bits2int_modN:e.bits2int_modN};return{CURVE:t,curveOpts:r,hash:e.hash,ecdsaOpts:n}}function p$(e,t){const r=t.Point;return Object.assign({},t,{ProjectivePoint:r,CURVE:Object.assign({},e,bD(r.Fn.ORDER,r.Fn.BITS))})}function m$(e){const{CURVE:t,curveOpts:r,hash:n,ecdsaOpts:a}=h$(e),i=u$(t,r),c=d$(i,n,a);return p$(e,c)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function g$(e,t){const r=n=>m$({...e,hash:n});return{...r(t),create:r}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const zP={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},y$={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},hC=BigInt(2);function b$(e){const t=zP.p,r=BigInt(3),n=BigInt(6),a=BigInt(11),i=BigInt(22),c=BigInt(23),f=BigInt(44),m=BigInt(88),h=e*e*e%t,l=h*h*e%t,o=Dr(l,r,t)*l%t,u=Dr(o,r,t)*l%t,p=Dr(u,hC,t)*h%t,g=Dr(p,a,t)*p%t,y=Dr(g,i,t)*g%t,b=Dr(y,f,t)*y%t,x=Dr(b,m,t)*b%t,w=Dr(x,f,t)*y%t,E=Dr(w,r,t)*l%t,j=Dr(E,c,t)*g%t,T=Dr(j,n,t)*h%t,F=Dr(T,hC,t);if(!FA.eql(FA.sqr(F),e))throw new Error("Cannot find square root");return F}const FA=pu(zP.p,{sqrt:b$}),v$=g$({...zP,Fp:FA,lowS:!0,endo:y$},sD);hy.utils.randomPrivateKey;hy.getPublicKey;function pC(e){try{return hy.ExtendedPoint.fromHex(e),!0}catch{return!1}}const HD=(e,t)=>hy.sign(e,t.slice(0,32)),w$=hy.verify,VP=e=>Kt.Buffer.isBuffer(e)?e:e instanceof Uint8Array?Kt.Buffer.from(e.buffer,e.byteOffset,e.byteLength):Kt.Buffer.from(e);class _${constructor(t){Object.assign(this,t)}encode(){return Kt.Buffer.from(V_.serialize(gv,this))}static decode(t){return V_.deserialize(gv,this,t)}
273static decodeUnchecked(t){return V_.deserializeUnchecked(gv,this,t)}}const gv=new Map;var WD;const x$=32,To=32;function E$(e){return e._bn!==void 0}let mC=1;class Ct extends _${constructor(t){if(super({}),this._bn=void 0,E$(t))this._bn=t._bn;else{if(typeof t=="string"){const r=Qn.decode(t);if(r.length!=To)throw new Error("Invalid public key input");this._bn=new eC(r)}else this._bn=new eC(t);if(this._bn.byteLength()>To)throw new Error("Invalid public key input")}}static unique(){const t=new Ct(mC);return mC+=1,new Ct(t.toBuffer())}equals(t){return this._bn.eq(t._bn)}toBase58(){return Qn.encode(this.toBytes())}toJSON(){return this.toBase58()}toBytes(){const t=this.toBuffer();return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}toBuffer(){const t=this._bn.toArrayLike(Kt.Buffer);if(t.length===To)return t;const r=Kt.Buffer.alloc(32);return t.copy(r,32-t.length),r}get[Symbol.toStringTag](){return`PublicKey(${this.toString()})`}toString(){return this.toBase58()}static async createWithSeed(t,r,n){const a=Kt.Buffer.concat([t.toBuffer(),Kt.Buffer.from(r),n.toBuffer()]),i=aC(a);return new Ct(i)}static createProgramAddressSync(t,r){let n=Kt.Buffer.alloc(0);t.forEach(function(i){if(i.length>x$)throw new TypeError("Max seed length exceeded");n=Kt.Buffer.concat([n,VP(i)])}),n=Kt.Buffer.concat([n,r.toBuffer(),Kt.Buffer.from("ProgramDerivedAddress")]);const a=aC(n);if(pC(a))throw new Error("Invalid seeds, address must fall off the curve");return new Ct(a)}static async createProgramAddress(t,r){return this.createProgramAddressSync(t,r)}static findProgramAddressSync(t,r){let n=255,a;for(;n!=0;){try{const i=t.concat(Kt.Buffer.from([n]));a=this.createProgramAddressSync(i,r)}catch(i){if(i instanceof TypeError)throw i;n--;continue}return[a,n]}throw new Error("Unable to find a viable program address nonce")}static async findProgramAddress(t,r){return this.findProgramAddressSync(t,r)}static isOnCurve(t){const r=new Ct(t);return pC(r.toBytes())}}WD=Ct;Ct.default=new WD("11111111111111111111111111111111");gv.set(Ct,{kind:"struct",fields:[["_bn","u256"]]});new Ct("BPFLoader1111111111111111111111111111111111");const Rl=1232,HP=127,Hv=64;class Wv{constructor(t,r){this.staticAccountKeys=void 0,this.accountKeysFromLookups=void 0,this.staticAccountKeys=t,this.accountKeysFromLookups=r}keySegments(){const t=[this.staticAccountKeys];return this.accountKeysFromLookups&&(t.push(this.accountKeysFromLookups.writable),t.push(this.accountKeysFromLookups.readonly)),t}get(t){for(const r of this.keySegments()){if(t<r.length)return r[t];t-=r.length}}get length(){return this.keySegments().flat().length}compileInstructions(t){if(this.length>256)throw new Error("Account index overflow encountered during compilation");const n=new Map;this.keySegments().flat().forEach((i,c)=>{n.set(i.toBase58(),c)});const a=i=>{const c=n.get(i.toBase58());if(c===void 0)throw new Error("Encountered an unknown instruction account key during compilation");return c};return t.map(i=>({programIdIndex:a(i.programId),accountKeyIndexes:i.keys.map(c=>a(c.pubkey)),data:i.data}))}}const Yt=(e="publicKey")=>le.blob(32,e),j$=(e="signature")=>le.blob(64,e),Pl=(e="string")=>{const t=le.struct([le.u32("length"),le.u32("lengthPadding"),le.blob(le.offset(le.u32(),-8),"chars")],e),r=t.decode.bind(t),n=t.encode.bind(t),a=t;return a.decode=(i,c)=>r(i,c).chars.toString(),a.encode=(i,c,f)=>{const m={chars:Kt.Buffer.from(i,"utf8")};return n(m,c,f)},a.alloc=i=>le.u32().span+le.u32().span+Kt.Buffer.from(i,"utf8").length,a},A$=(e="authorized")=>le.struct([Yt("staker"),Yt("withdrawer")],e),P$=(e="lockup")=>le.struct([le.ns64("unixTimestamp"),le.ns64("epoch"),Yt("custodian")],e),S$=(e="voteInit")=>le.struct([Yt("nodePubkey"),Yt("authorizedVoter"),Yt("authorizedWithdrawer"),le.u8("commission")],e),k$=(e="voteAuthorizeWithSeedArgs")=>le.struct([le.u32("voteAuthorizationType"),Yt("currentAuthorityDerivedKeyOwnerPubkey"),Pl("currentAuthorityDerivedKeySeed"),Yt("newAuthorized")],e);function Na(e){let t=0,r=0;for(;;){let n=e.shift();if(t|=(n&127)<<r*7,r+=1,(n&128)===0)break}return t}function Ma(e,t){let r=t;for(;;){let n=r&127;if(r>>=7,r==0){e.push(n);break}else n|=128,e.push(n)}}function fn(e,t){if(!e)throw new Error(t||"Assertion failed")}class lw{constructor(t,r){this.payer=void 0,this.keyMetaMap=void 0,this.payer=t,this.keyMetaMap=r}static compile(t,r){const n=new Map,a=c=>{const f=c.toBase58();let m=n.get(f);return m===void 0&&(m={isSigner:!1,isWritable:!1,isInvoked:!1},n.set(f,m)),m},i=a(r);i.isSigner=!0,i.isWritable=!0;for(const c of t){a(c.programId).isInvoked=!0;for(const f of c.keys){const m=a(f.pubkey);m.isSigner||=f.isSigner,m.isWritable||=f.isWritable}}return new lw(r,n)}getMessageComponents(){const t=[...this.keyMetaMap.entries()];fn(t.length<=256,"Max static account keys length exceeded");const r=t.filter(([,m])=>m.isSigner&&m.isWritable),n=t.filter(([,m])=>m.isSigner&&!m.isWritable),a=t.filter(([,m])=>!m.isSigner&&m.isWritable),i=t.filter(([,m])=>!m.isSigner&&!m.isWritable),c={numRequiredSignatures:r.length+n.length,numReadonlySignedAccounts:n.length,numReadonlyUnsignedAccounts:i.length};{fn(r.length>0,"Expected at least one writable signer key");const[m]=r[0];fn(m===this.payer.toBase58(),"Expected first writable signer key to be the fee payer")}const f=[...r.map(([m])=>
273new Ct(m)),...n.map(([m])=>new Ct(m)),...a.map(([m])=>new Ct(m)),...i.map(([m])=>new Ct(m))];return[c,f]}extractTableLookup(t){const[r,n]=this.drainKeysFoundInLookupTable(t.state.addresses,c=>!c.isSigner&&!c.isInvoked&&c.isWritable),[a,i]=this.drainKeysFoundInLookupTable(t.state.addresses,c=>!c.isSigner&&!c.isInvoked&&!c.isWritable);if(!(r.length===0&&a.length===0))return[{accountKey:t.key,writableIndexes:r,readonlyIndexes:a},{writable:n,readonly:i}]}drainKeysFoundInLookupTable(t,r){const n=new Array,a=new Array;for(const[i,c]of this.keyMetaMap.entries())if(r(c)){const f=new Ct(i),m=t.findIndex(h=>h.equals(f));m>=0&&(fn(m<256,"Max lookup table index exceeded"),n.push(m),a.push(f),this.keyMetaMap.delete(i))}return[n,a]}}const GD="Reached end of buffer unexpectedly";function Bs(e){if(e.length===0)throw new Error(GD);return e.shift()}function Fa(e,...t){const[r]=t;if(t.length===2?r+(t[1]??0)>e.length:r>=e.length)throw new Error(GD);return e.splice(...t)}class ql{constructor(t){this.header=void 0,this.accountKeys=void 0,this.recentBlockhash=void 0,this.instructions=void 0,this.indexToProgramIds=new Map,this.header=t.header,this.accountKeys=t.accountKeys.map(r=>new Ct(r)),this.recentBlockhash=t.recentBlockhash,this.instructions=t.instructions,this.instructions.forEach(r=>this.indexToProgramIds.set(r.programIdIndex,this.accountKeys[r.programIdIndex]))}get version(){return"legacy"}get staticAccountKeys(){return this.accountKeys}get compiledInstructions(){return this.instructions.map(t=>({programIdIndex:t.programIdIndex,accountKeyIndexes:t.accounts,data:Qn.decode(t.data)}))}get addressTableLookups(){return[]}getAccountKeys(){return new Wv(this.staticAccountKeys)}static compile(t){const r=lw.compile(t.instructions,t.payerKey),[n,a]=r.getMessageComponents(),c=new Wv(a).compileInstructions(t.instructions).map(f=>({programIdIndex:f.programIdIndex,accounts:f.accountKeyIndexes,data:Qn.encode(f.data)}));return new ql({header:n,accountKeys:a,recentBlockhash:t.recentBlockhash,instructions:c})}isAccountSigner(t){return t<this.header.numRequiredSignatures}isAccountWritable(t){const r=this.header.numRequiredSignatures;if(t>=this.header.numRequiredSignatures){const n=t-r,i=this.accountKeys.length-r-this.header.numReadonlyUnsignedAccounts;return n<i}else{const n=r-this.header.numReadonlySignedAccounts;return t<n}}isProgramId(t){return this.indexToProgramIds.has(t)}programIds(){return[...this.indexToProgramIds.values()]}nonProgramIds(){return this.accountKeys.filter((t,r)=>!this.isProgramId(r))}serialize(){const t=this.accountKeys.length;let r=[];Ma(r,t);const n=this.instructions.map(o=>{const{accounts:u,programIdIndex:p}=o,g=Array.from(Qn.decode(o.data));let y=[];Ma(y,u.length);let b=[];return Ma(b,g.length),{programIdIndex:p,keyIndicesCount:Kt.Buffer.from(y),keyIndices:u,dataLength:Kt.Buffer.from(b),data:g}});let a=[];Ma(a,n.length);let i=Kt.Buffer.alloc(Rl);Kt.Buffer.from(a).copy(i);let c=a.length;n.forEach(o=>{const p=le.struct([le.u8("programIdIndex"),le.blob(o.keyIndicesCount.length,"keyIndicesCount"),le.seq(le.u8("keyIndex"),o.keyIndices.length,"keyIndices"),le.blob(o.dataLength.length,"dataLength"),le.seq(le.u8("userdatum"),o.data.length,"data")]).encode(o,i,c);c+=p}),i=i.slice(0,c);const f=le.struct([le.blob(1,"numRequiredSignatures"),le.blob(1,"numReadonlySignedAccounts"),le.blob(1,"numReadonlyUnsignedAccounts"),le.blob(r.length,"keyCount"),le.seq(Yt("key"),t,"keys"),Yt("recentBlockhash")]),m={numRequiredSignatures:Kt.Buffer.from([this.header.numRequiredSignatures]),numReadonlySignedAccounts:Kt.Buffer.from([this.header.numReadonlySignedAccounts]),numReadonlyUnsignedAccounts:Kt.Buffer.from([this.header.numReadonlyUnsignedAccounts]),keyCount:Kt.Buffer.from(r),keys:this.accountKeys.map(o=>VP(o.toBytes())),recentBlockhash:Qn.decode(this.recentBlockhash)};let h=Kt.Buffer.alloc(2048);const l=f.encode(m,h);return i.copy(h,l),h.slice(0,l+i.length)}static from(t){let r=[...t];const n=Bs(r);if(n!==(n&HP))throw new Error("Versioned messages must be deserialized with VersionedMessage.deserialize()");const a=Bs(r),i=Bs(r),c=Na(r);let f=[];for(let u=0;u<c;u++){const p=Fa(r,0,To);f.push(new Ct(Kt.Buffer.from(p)))}const m=Fa(r,0,To),h=Na(r);let l=[];for(let u=0;u<h;u++){const p=Bs(r),g=Na(r),y=Fa(r,0,g),b=Na(r),x=Fa(r,0,b),w=Qn.encode(Kt.Buffer.from(x));
273l.push({programIdIndex:p,accounts:y,data:w})}const o={header:{numRequiredSignatures:n,numReadonlySignedAccounts:a,numReadonlyUnsignedAccounts:i},recentBlockhash:Qn.encode(Kt.Buffer.from(m)),accountKeys:f,instructions:l};return new ql(o)}}class Gv{constructor(t){this.header=void 0,this.staticAccountKeys=void 0,this.recentBlockhash=void 0,this.compiledInstructions=void 0,this.addressTableLookups=void 0,this.header=t.header,this.staticAccountKeys=t.staticAccountKeys,this.recentBlockhash=t.recentBlockhash,this.compiledInstructions=t.compiledInstructions,this.addressTableLookups=t.addressTableLookups}get version(){return 0}get numAccountKeysFromLookups(){let t=0;for(const r of this.addressTableLookups)t+=r.readonlyIndexes.length+r.writableIndexes.length;return t}getAccountKeys(t){let r;if(t&&"accountKeysFromLookups"in t&&t.accountKeysFromLookups){if(this.numAccountKeysFromLookups!=t.accountKeysFromLookups.writable.length+t.accountKeysFromLookups.readonly.length)throw new Error("Failed to get account keys because of a mismatch in the number of account keys from lookups");r=t.accountKeysFromLookups}else if(t&&"addressLookupTableAccounts"in t&&t.addressLookupTableAccounts)r=this.resolveAddressTableLookups(t.addressLookupTableAccounts);else if(this.addressTableLookups.length>0)throw new Error("Failed to get account keys because address table lookups were not resolved");return new Wv(this.staticAccountKeys,r)}isAccountSigner(t){return t<this.header.numRequiredSignatures}isAccountWritable(t){const r=this.header.numRequiredSignatures,n=this.staticAccountKeys.length;if(t>=n){const a=t-n,i=this.addressTableLookups.reduce((c,f)=>c+f.writableIndexes.length,0);return a<i}else if(t>=this.header.numRequiredSignatures){const a=t-r,c=n-r-this.header.numReadonlyUnsignedAccounts;return a<c}else{const a=r-this.header.numReadonlySignedAccounts;return t<a}}resolveAddressTableLookups(t){const r={writable:[],readonly:[]};for(const n of this.addressTableLookups){const a=t.find(i=>i.key.equals(n.accountKey));if(!a)throw new Error(`Failed to find address lookup table account for table key ${n.accountKey.toBase58()}`);for(const i of n.writableIndexes)if(i<a.state.addresses.length)r.writable.push(a.state.addresses[i]);else throw new Error(`Failed to find address for index ${i} in address lookup table ${n.accountKey.toBase58()}`);for(const i of n.readonlyIndexes)if(i<a.state.addresses.length)r.readonly.push(a.state.addresses[i]);else throw new Error(`Failed to find address for index ${i} in address lookup table ${n.accountKey.toBase58()}`)}return r}static compile(t){const r=lw.compile(t.instructions,t.payerKey),n=new Array,a={writable:new Array,readonly:new Array},i=t.addressLookupTableAccounts||[];for(const l of i){const o=r.extractTableLookup(l);if(o!==void 0){const[u,{writable:p,readonly:g}]=o;n.push(u),a.writable.push(...p),a.readonly.push(...g)}}const[c,f]=r.getMessageComponents(),h=new Wv(f,a).compileInstructions(t.instructions);return new Gv({header:c,staticAccountKeys:f,recentBlockhash:t.recentBlockhash,compiledInstructions:h,addressTableLookups:n})}serialize(){const t=Array();Ma(t,this.staticAccountKeys.length);const r=this.serializeInstructions(),n=Array();Ma(n,this.compiledInstructions.length);const a=this.serializeAddressTableLookups(),i=Array();Ma(i,this.addressTableLookups.length);const c=le.struct([le.u8("prefix"),le.struct([le.u8("numRequiredSignatures"),le.u8("numReadonlySignedAccounts"),le.u8("numReadonlyUnsignedAccounts")],"header"),le.blob(t.length,"staticAccountKeysLength"),le.seq(Yt(),this.staticAccountKeys.length,"staticAccountKeys"),Yt("recentBlockhash"),le.blob(n.length,"instructionsLength"),le.blob(r.length,"serializedInstructions"),le.blob(i.length,"addressTableLookupsLength"),le.blob(a.length,"serializedAddressTableLookups")]),f=new Uint8Array(Rl),h=c.encode({prefix:128,header:this.header,staticAccountKeysLength:new Uint8Array(t),staticAccountKeys:this.staticAccountKeys.map(l=>l.toBytes()),recentBlockhash:Qn.decode(this.recentBlockhash),instructionsLength:new Uint8Array(n),serializedInstructions:r,addressTableLookupsLength:new Uint8Array(i),serializedAddressTableLookups:a},f);return f.slice(0,h)}serializeInstructions(){let t=0;
273const r=new Uint8Array(Rl);for(const n of this.compiledInstructions){const a=Array();Ma(a,n.accountKeyIndexes.length);const i=Array();Ma(i,n.data.length);const c=le.struct([le.u8("programIdIndex"),le.blob(a.length,"encodedAccountKeyIndexesLength"),le.seq(le.u8(),n.accountKeyIndexes.length,"accountKeyIndexes"),le.blob(i.length,"encodedDataLength"),le.blob(n.data.length,"data")]);t+=c.encode({programIdIndex:n.programIdIndex,encodedAccountKeyIndexesLength:new Uint8Array(a),accountKeyIndexes:n.accountKeyIndexes,encodedDataLength:new Uint8Array(i),data:n.data},r,t)}return r.slice(0,t)}serializeAddressTableLookups(){let t=0;const r=new Uint8Array(Rl);for(const n of this.addressTableLookups){const a=Array();Ma(a,n.writableIndexes.length);const i=Array();Ma(i,n.readonlyIndexes.length);const c=le.struct([Yt("accountKey"),le.blob(a.length,"encodedWritableIndexesLength"),le.seq(le.u8(),n.writableIndexes.length,"writableIndexes"),le.blob(i.length,"encodedReadonlyIndexesLength"),le.seq(le.u8(),n.readonlyIndexes.length,"readonlyIndexes")]);t+=c.encode({accountKey:n.accountKey.toBytes(),encodedWritableIndexesLength:new Uint8Array(a),writableIndexes:n.writableIndexes,encodedReadonlyIndexesLength:new Uint8Array(i),readonlyIndexes:n.readonlyIndexes},r,t)}return r.slice(0,t)}static deserialize(t){let r=[...t];const n=Bs(r),a=n&HP;fn(n!==a,"Expected versioned message but received legacy message");const i=a;fn(i===0,`Expected versioned message with version 0 but found version ${i}`);const c={numRequiredSignatures:Bs(r),numReadonlySignedAccounts:Bs(r),numReadonlyUnsignedAccounts:Bs(r)},f=[],m=Na(r);for(let g=0;g<m;g++)f.push(new Ct(Fa(r,0,To)));const h=Qn.encode(Fa(r,0,To)),l=Na(r),o=[];for(let g=0;g<l;g++){const y=Bs(r),b=Na(r),x=Fa(r,0,b),w=Na(r),E=new Uint8Array(Fa(r,0,w));o.push({programIdIndex:y,accountKeyIndexes:x,data:E})}const u=Na(r),p=[];for(let g=0;g<u;g++){const y=new Ct(Fa(r,0,To)),b=Na(r),x=Fa(r,0,b),w=Na(r),E=Fa(r,0,w);p.push({accountKey:y,writableIndexes:x,readonlyIndexes:E})}return new Gv({header:c,staticAccountKeys:f,recentBlockhash:h,compiledInstructions:o,addressTableLookups:p})}}const WP={deserializeMessageVersion(e){const t=e[0],r=t&HP;return r===t?"legacy":r},deserialize:e=>{const t=WP.deserializeMessageVersion(e);if(t==="legacy")return ql.from(e);if(t===0)return Gv.deserialize(e);throw new Error(`Transaction message version ${t} deserialization is not supported`)}},T$=Kt.Buffer.alloc(Hv).fill(0);class gC{constructor(t){this.keys=void 0,this.programId=void 0,this.data=Kt.Buffer.alloc(0),this.programId=t.programId,this.keys=t.keys,t.data&&(this.data=t.data)}toJSON(){return{keys:this.keys.map(({pubkey:t,isSigner:r,isWritable:n})=>({pubkey:t.toJSON(),isSigner:r,isWritable:n})),programId:this.programId.toJSON(),data:[...this.data]}}}class Kv{get signature(){return this.signatures.length>0?this.signatures[0].signature:null}constructor(t){if(this.signatures=[],this.feePayer=void 0,this.instructions=[],this.recentBlockhash=void 0,this.lastValidBlockHeight=void 0,this.nonceInfo=void 0,this.minNonceContextSlot=void 0,this._message=void 0,this._json=void 0,!!t)if(t.feePayer&&(this.feePayer=t.feePayer),t.signatures&&(this.signatures=t.signatures),Object.prototype.hasOwnProperty.call(t,"nonceInfo")){const{minContextSlot:r,nonceInfo:n}=t;this.minNonceContextSlot=r,this.nonceInfo=n}else if(Object.prototype.hasOwnProperty.call(t,"lastValidBlockHeight")){const{blockhash:r,lastValidBlockHeight:n}=t;this.recentBlockhash=r,this.lastValidBlockHeight=n}else{const{recentBlockhash:r,nonceInfo:n}=t;n&&(this.nonceInfo=n),this.recentBlockhash=r}}toJSON(){return{recentBlockhash:this.recentBlockhash||null,feePayer:this.feePayer?this.feePayer.toJSON():null,nonceInfo:this.nonceInfo?{nonce:this.nonceInfo.nonce,nonceInstruction:this.nonceInfo.nonceInstruction.toJSON()}:null,instructions:this.instructions.map(t=>t.toJSON()),signers:this.signatures.map(({publicKey:t})=>t.toJSON())}}add(...t){if(t.length===0)throw new Error("No instructions");return t.forEach(r=>{"instructions"in r?this.instructions=this.instructions.concat(r.instructions):"data"in r&&"programId"in r&&"ke
273ys"in r?this.instructions.push(r):this.instructions.push(new gC(r))}),this}compileMessage(){if(this._message&&JSON.stringify(this.toJSON())===JSON.stringify(this._json))return this._message;let t,r;if(this.nonceInfo?(t=this.nonceInfo.nonce,this.instructions[0]!=this.nonceInfo.nonceInstruction?r=[this.nonceInfo.nonceInstruction,...this.instructions]:r=this.instructions):(t=this.recentBlockhash,r=this.instructions),!t)throw new Error("Transaction recentBlockhash required");r.length<1&&console.warn("No instructions provided");let n;if(this.feePayer)n=this.feePayer;else if(this.signatures.length>0&&this.signatures[0].publicKey)n=this.signatures[0].publicKey;else throw new Error("Transaction fee payer required");for(let y=0;y<r.length;y++)if(r[y].programId===void 0)throw new Error(`Transaction instruction index ${y} has undefined program id`);const a=[],i=[];r.forEach(y=>{y.keys.forEach(x=>{i.push({...x})});const b=y.programId.toString();a.includes(b)||a.push(b)}),a.forEach(y=>{i.push({pubkey:new Ct(y),isSigner:!1,isWritable:!1})});const c=[];i.forEach(y=>{const b=y.pubkey.toString(),x=c.findIndex(w=>w.pubkey.toString()===b);x>-1?(c[x].isWritable=c[x].isWritable||y.isWritable,c[x].isSigner=c[x].isSigner||y.isSigner):c.push(y)}),c.sort(function(y,b){if(y.isSigner!==b.isSigner)return y.isSigner?-1:1;if(y.isWritable!==b.isWritable)return y.isWritable?-1:1;const x={localeMatcher:"best fit",usage:"sort",sensitivity:"variant",ignorePunctuation:!1,numeric:!1,caseFirst:"lower"};return y.pubkey.toBase58().localeCompare(b.pubkey.toBase58(),"en",x)});const f=c.findIndex(y=>y.pubkey.equals(n));if(f>-1){const[y]=c.splice(f,1);y.isSigner=!0,y.isWritable=!0,c.unshift(y)}else c.unshift({pubkey:n,isSigner:!0,isWritable:!0});for(const y of this.signatures){const b=c.findIndex(x=>x.pubkey.equals(y.publicKey));if(b>-1)c[b].isSigner||(c[b].isSigner=!0,console.warn("Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts should sign a transaction. This behavior is deprecated and will throw an error in the next major version release."));else throw new Error(`unknown signer: ${y.publicKey.toString()}`)}let m=0,h=0,l=0;const o=[],u=[];c.forEach(({pubkey:y,isSigner:b,isWritable:x})=>{b?(o.push(y.toString()),m+=1,x||(h+=1)):(u.push(y.toString()),x||(l+=1))});const p=o.concat(u),g=r.map(y=>{const{data:b,programId:x}=y;return{programIdIndex:p.indexOf(x.toString()),accounts:y.keys.map(w=>p.indexOf(w.pubkey.toString())),data:Qn.encode(b)}});return g.forEach(y=>{fn(y.programIdIndex>=0),y.accounts.forEach(b=>fn(b>=0))}),new ql({header:{numRequiredSignatures:m,numReadonlySignedAccounts:h,numReadonlyUnsignedAccounts:l},accountKeys:p,recentBlockhash:t,instructions:g})}_compile(){const t=this.compileMessage(),r=t.accountKeys.slice(0,t.header.numRequiredSignatures);return this.signatures.length===r.length&&this.signatures.every((a,i)=>r[i].equals(a.publicKey))||(this.signatures=r.map(n=>({signature:null,publicKey:n}))),t}serializeMessage(){return this._compile().serialize()}async getEstimatedFee(t){return(await t.getFeeForMessage(this.compileMessage())).value}setSigners(...t){if(t.length===0)throw new Error("No signers");const r=new Set;this.signatures=t.filter(n=>{const a=n.toString();return r.has(a)?!1:(r.add(a),!0)}).map(n=>({signature:null,publicKey:n}))}sign(...t){if(t.length===0)throw new Error("No signers");const r=new Set,n=[];for(const i of t){const c=i.publicKey.toString();r.has(c)||(r.add(c),n.push(i))}this.signatures=n.map(i=>({signature:null,publicKey:i.publicKey}));const a=this._compile();this._partialSign(a,...n)}partialSign(...t){if(t.length===0)throw new Error("No signers");const r=new Set,n=[];for(const i of t){const c=i.publicKey.toString();r.has(c)||(r.add(c),n.push(i))}const a=this._compile();this._partialSign(a,...n)}_partialSign(t,...r){const n=t.serialize();r.forEach(a=>{const i=HD(n,a.secretKey);this._addSignature(a.publicKey,VP(i))})}addSignature(t,r){this._compile(),this._addSignature(t,r)}_addSignature(t,r){fn(r.length===64);const n=this.signatures.findIndex(a=>t.equals(a.publicKey));if(n<0)throw new Error(`unknown signer: ${t.toString()}`);this.signatures[n].signature=Kt.Buffer.from(r)}verifySignatures(t=!0){return!this._getMessageSignednessErrors(this.serializeMessage(),t)}_getMessageSignednessErrors(t,r){const n={};for(const{signature:a,publicKey:i}of this.signatures)a===null?r&&(n.missing||=[]).push(i):w$(a,t,i.toBytes())||(n.invalid||=[]).push(i);return n.invalid||n.missing?n:void 0}serialize(t){const{requireAllSignatures:r,verifySignatures:n}=Object.assign({requireAllSignatures:!0,verifySignatures:!0},t),a=this.serializeMessage();if(n){const i=this._getMessageSignednessErrors(a,r);if(i){let c="Signature verification failed.";throw i.invalid&&(c+=`
274Invalid signature for public key${i.invalid.length===1?"":"(s)"} [\`${i.invalid.map(f=>f.toBase58()).join("`, `")}\`].`),i.missing&&(c+=` 275Missing signature for public key${i.missing.length===1?"":"(s)"} [\`${i.missing.map(f=>f.toBase58()).join("`, `")}\`].`),new Error(c)}}return this._serialize(a)}_serialize(t){const{signatures:r}=this,n=[];Ma(n,r.length);const a=n.length+r.length*64+t.length,i=Kt.Buffer.alloc(a);return fn(r.length<256),Kt.Buffer.from(n).copy(i,0),r.forEach(({signature:c},f)=>{c!==null&&(fn(c.length===64,"signature has invalid length"),Kt.Buffer.from(c).copy(i,n.length+f*64))}),t.copy(i,n.length+r.length*64),fn(i.length<=Rl,`Transaction too large: ${i.length} > ${Rl}`),i}get keys(){return fn(this.instructions.length===1),this.instructions[0].keys.map(t=>t.pubkey)}get programId(){return fn(this.instructions.length===1),this.instructions[0].programId}get data(){return fn(this.instructions.length===1),this.instructions[0].data}static from(t){let r=[...t];const n=Na(r);let a=[];for(let i=0;i<n;i++){const c=Fa(r,0,Hv);a.push(Qn.encode(Kt.Buffer.from(c)))}return Kv.populate(ql.from(r),a)}static populate(t,r=[]){const n=new Kv;return n.recentBlockhash=t.recentBlockhash,t.header.numRequiredSignatures>0&&(n.feePayer=t.accountKeys[0]),r.forEach((a,i)=>{const c={signature:a==Qn.encode(T$)?null:Qn.decode(a),publicKey:t.accountKeys[i]};n.signatures.push(c)}),t.instructions.forEach(a=>{const i=a.accounts.map(c=>{const f=t.accountKeys[c];return{pubkey:f,isSigner:n.signatures.some(m=>m.publicKey.toString()===f.toString())||t.isAccountSigner(c),isWritable:t.isAccountWritable(c)}});n.instructions.push(new gC({keys:i,programId:t.accountKeys[a.programIdIndex],data:Qn.decode(a.data)}))}),n._message=t,n._json=n.toJSON(),n}}class GP{get version(){return this.message.version}constructor(t,r){if(this.signatures=void 0,this.message=void 0,r!==void 0)fn(r.length===t.header.numRequiredSignatures,"Expected signatures length to be equal to the number of required signatures"),this.signatures=r;else{const n=[];for(let a=0;a<t.header.numRequiredSignatures;a++)n.push(new Uint8Array(Hv));this.signatures=n}this.message=t}serialize(){const t=this.message.serialize(),r=Array();Ma(r,this.signatures.length);const n=le.struct([le.blob(r.length,"encodedSignaturesLength"),le.seq(j$(),this.signatures.length,"signatures"),le.blob(t.length,"serializedMessage")]),a=new Uint8Array(2048),i=n.encode({encodedSignaturesLength:new Uint8Array(r),signatures:this.signatures,serializedMessage:t},a);return a.slice(0,i)}static deserialize(t){let r=[...t];const n=[],a=Na(r);for(let c=0;c<a;c++)n.push(new Uint8Array(Fa(r,0,Hv)));const i=WP.deserialize(new Uint8Array(r));return new GP(i,n)}sign(t){const r=this.message.serialize(),n=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures);for(const a of t){const i=n.findIndex(c=>c.equals(a.publicKey));fn(i>=0,`Cannot sign with non signer key ${a.publicKey.toBase58()}`),this.signatures[i]=HD(r,a.secretKey)}}addSignature(t,r){fn(r.byteLength===64,"Signature must be 64 bytes long");const a=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures).findIndex(i=>i.equals(t));fn(a>=0,`Can not add signature; \`${t.toBase58()}\` is not required to sign this transaction`),this.signatures[a]=r}}new Ct("SysvarC1ock11111111111111111111111111111111");new Ct("SysvarEpochSchedu1e111111111111111111111111");new Ct("Sysvar1nstructions1111111111111111111111111");new Ct("SysvarRecentB1ockHashes11111111111111111111");new Ct("SysvarRent111111111111111111111111111111111");new Ct("SysvarRewards111111111111111111111111111111");new Ct("SysvarS1otHashes111111111111111111111111111");new Ct("SysvarS1otHistory11111111111111111111111111");new Ct("SysvarStakeHistory1111111111111111111111111");const R$=le.nu64("lamportsPerSignature"),O$=le.struct([le.u32("version"),le.u32("state"),Yt("authorizedPubkey"),Yt("nonce"),le.struct([R$],"feeCalculator")]);O$.span;function Ll(e){const t=le.blob(8,e),r=t.decode.bind(t),n=t.encode.bind(t),a=t,i=kX();return a.decode=(c,f)=>{const m=r(c,f);return i.decode(m)},a.encode=(c,f,m)=>{const h=i.encode(c);return n(h,f,m)},a}Object.freeze({Create:{index:0,layout:le.struct([le.u32("instruction"),le.ns64("lamports"),le.ns64("space"),Yt("programId")])},Assign:{index:1,layout:le.struct([le.u32("instruction"),Yt("programId")])},Transfer:{index:2,layout:le.struct([le.u32("instruction"),Ll("lamports")])},CreateWithSeed:{index:3,layout:le.struct([le.u32("instruction"),Yt("base"),Pl("seed"),le.ns64("lamports"),le.ns64("space"),Yt("programId")])},AdvanceNonceAccount:{index:4,layout:le.struct([le.u32("instruction")])},WithdrawNonceAccount:{index:5,layout:le.struct([le.u32("instruction"),le.ns64("lamports")])},InitializeNonceAccount:{index:6,layout:le.struct([le.u32("instruction"),Yt("authorized")])},AuthorizeNonceAccount:{index:7,layout:le.struct([le.u32("instruction"),Yt("authorized")])},Allocate:{index:8,layout:le.struct([le.u32("instruction"),le.ns64("space")])},AllocateWithSeed:{index:9,layout:le.struct([le.u32("instruction"),Yt("base"),Pl("seed"),le.ns64("space"),Yt("programId")])},AssignWithSeed:{index:10,layout:le.struct([le.u32("instruction"),Yt("base"),Pl("seed"),Yt("programId")])},TransferWithSeed:{index:11,layout:le.struct([le.u32("instruction"),Ll("lamports"),Pl("seed"),Yt("programId")])},UpgradeNonceAccount:{index:12,layout:le.struct([le.u32("instruction")])}});new Ct("11111111111111111111111111111111");new Ct("BPFLoader2111111111111111111111111111111111");le.struct([le.u32("typeIndex"),Ll("deactivationSlot"),le.nu64("lastExtendedSlot"),le.u8("lastExtendedStartIndex"),le.u8(),le.seq(Yt(),le.offset(le.u8(),-1),"authority")]);const Hr=gy(LP(Ct),We(),e=>new Ct(e)),KD=DP([We(),Ur("base64")]),KP=gy(LP(Kt.Buffer),KD,e=>Kt.Buffer.from(e[0],"base64"));function YD(e){return $n([Me({jsonrpc:Ur("2.0"),id:We(),result:e}),Me({jsonrpc:Ur("2.0"),id:We(),error:Me({code:Kl(),message:We(),data:yt(MX())})})])}const C$=YD(Kl());function xr(e){return gy(YD(e),C$,t=>"error"in t?t:{...t,result:Vg(t.result,e)})}function xi(e){return xr(Me({context:Me({slot:Ae()}),value:e}))}function dw(e){return Me({context:Me({slot:Ae()}),value:e})}const I$=Me({foundation:Ae(),foundationTerm:Ae(),initial:Ae(),taper:Ae(),terminal:Ae()});xr(Ze(Je(Me({epoch:Ae(),effectiveSlot:Ae(),amount:Ae(),postBalance:Ae(),commission:yt(Je(Ae()))}))));const N$=Ze(Me({slot:Ae(),prioritizationFee:Ae()})),M$=Me({total:Ae(),validator:Ae(),foundation:Ae(),epoch:Ae()}),F$=Me({epoch:Ae(),slotIndex:Ae(),slotsInEpoch:Ae(),absoluteSlot:Ae(),blockHeight:yt(Ae()),transactionCount:yt(Ae())}),B$=Me({slotsPerEpoch:Ae(),leaderScheduleSlotOffset:Ae(),warmup:Wi(),firstNormalEpoch:Ae(),firstNormalSlot:Ae()}),U$=CD(We(),Ze(Ae())),gu=Je($n([Me({}),We()])),q$=Me({err:gu}),L$=Ur("receivedSignature");Me({"solana-core":We(),"feature-set":yt(Ae())});const D$=Me({program:We(),programId:Hr,parsed:Kl()}),z$=Me({programId:Hr,accounts:Ze(Hr),data:We()});xi(Me({err:Je($n([Me({}),We()])),logs:Je(Ze(We())),accounts:yt(Je(Ze(Je(Me({executable:Wi(),owner:We(),lamports:Ae(),data:Ze(We()),rentEpoch:yt(Ae())}))))),unitsConsumed:yt(Ae()),returnData:yt(Je(Me({programId:We(),data:DP([We(),Ur("base64")])}))),innerInstructions:yt(Je(Ze(Me({index:Ae(),instructions:Ze($n([D$,z$]))}))))}
275));xi(Me({byIdentity:CD(We(),Ze(Ae())),range:Me({firstSlot:Ae(),lastSlot:Ae()})}));xr(I$);xr(M$);xr(N$);xr(F$);xr(B$);xr(U$);xr(Ae());xi(Me({total:Ae(),circulating:Ae(),nonCirculating:Ae(),nonCirculatingAccounts:Ze(Hr)}));const V$=Me({amount:We(),uiAmount:Je(Ae()),decimals:Ae(),uiAmountString:yt(We())});xi(Ze(Me({address:Hr,amount:We(),uiAmount:Je(Ae()),decimals:Ae(),uiAmountString:yt(We())})));xi(Ze(Me({pubkey:Hr,account:Me({executable:Wi(),owner:Hr,lamports:Ae(),data:KP,rentEpoch:Ae()})})));const BA=Me({program:We(),parsed:Kl(),space:Ae()});xi(Ze(Me({pubkey:Hr,account:Me({executable:Wi(),owner:Hr,lamports:Ae(),data:BA,rentEpoch:Ae()})})));xi(Ze(Me({lamports:Ae(),address:Hr})));const YP=Me({executable:Wi(),owner:Hr,lamports:Ae(),data:KP,rentEpoch:Ae()});Me({pubkey:Hr,account:YP});const H$=gy($n([LP(Kt.Buffer),BA]),$n([KD,BA]),e=>Array.isArray(e)?Vg(e,KP):e),W$=Me({executable:Wi(),owner:Hr,lamports:Ae(),data:H$,rentEpoch:Ae()});Me({pubkey:Hr,account:W$});Me({state:$n([Ur("active"),Ur("inactive"),Ur("activating"),Ur("deactivating")]),active:Ae(),inactive:Ae()});xr(Ze(Me({signature:We(),slot:Ae(),err:gu,memo:Je(We()),blockTime:yt(Je(Ae()))})));xr(Ze(Me({signature:We(),slot:Ae(),err:gu,memo:Je(We()),blockTime:yt(Je(Ae()))})));Me({subscription:Ae(),result:dw(YP)});const G$=Me({pubkey:Hr,account:YP});Me({subscription:Ae(),result:dw(G$)});const K$=Me({parent:Ae(),slot:Ae(),root:Ae()});Me({subscription:Ae(),result:K$});const Y$=$n([Me({type:$n([Ur("firstShredReceived"),Ur("completed"),Ur("optimisticConfirmation"),Ur("root")]),slot:Ae(),timestamp:Ae()}),Me({type:Ur("createdBank"),parent:Ae(),slot:Ae(),timestamp:Ae()}),Me({type:Ur("frozen"),slot:Ae(),timestamp:Ae(),stats:Me({numTransactionEntries:Ae(),numSuccessfulTransactions:Ae(),numFailedTransactions:Ae(),maxTransactionsPerEntry:Ae()})}),Me({type:Ur("dead"),slot:Ae(),timestamp:Ae(),err:We()})]);Me({subscription:Ae(),result:Y$});Me({subscription:Ae(),result:dw($n([q$,L$]))});Me({subscription:Ae(),result:Ae()});Me({pubkey:We(),gossip:Je(We()),tpu:Je(We()),rpc:Je(We()),version:Je(We())});const yC=Me({votePubkey:We(),nodePubkey:We(),activatedStake:Ae(),epochVoteAccount:Wi(),epochCredits:Ze(DP([Ae(),Ae(),Ae()])),commission:Ae(),lastVote:Ae(),rootSlot:Je(Ae())});xr(Me({current:Ze(yC),delinquent:Ze(yC)}));const Z$=$n([Ur("processed"),Ur("confirmed"),Ur("finalized")]),J$=Me({slot:Ae(),confirmations:Je(Ae()),err:gu,confirmationStatus:yt(Z$)});xi(Ze(Je(J$)));xr(Ae());const ZD=Me({accountKey:Hr,writableIndexes:Ze(Ae()),readonlyIndexes:Ze(Ae())}),ZP=Me({signatures:Ze(We()),message:Me({accountKeys:Ze(We()),header:Me({numRequiredSignatures:Ae(),numReadonlySignedAccounts:Ae(),numReadonlyUnsignedAccounts:Ae()}),instructions:Ze(Me({accounts:Ze(Ae()),data:We(),programIdIndex:Ae()})),recentBlockhash:We(),addressTableLookups:yt(Ze(ZD))})}),JD=Me({pubkey:Hr,signer:Wi(),writable:Wi(),source:yt($n([Ur("transaction"),Ur("lookupTable")]))}),QD=Me({accountKeys:Ze(JD),signatures:Ze(We())}),XD=Me({parsed:Kl(),program:We(),programId:Hr}),$D=Me({accounts:Ze(Hr),data:We(),programId:Hr}),Q$=$n([$D,XD]),X$=$n([Me({parsed:Kl(),program:We(),programId:We()}),Me({accounts:Ze(We()),data:We(),programId:We()})]),ez=gy(Q$,X$,e=>"accounts"in e?Vg(e,$D):Vg(e,XD)),tz=Me({signatures:Ze(We()),message:Me({accountKeys:Ze(JD),instructions:Ze(ez),recentBlockhash:We(),addressTableLookups:yt(Je(Ze(ZD)))})}),Yv=Me({accountIndex:Ae(),mint:We(),owner:yt(We()),programId:yt(We()),uiTokenAmount:V$}),rz=Me({writable:Ze(Hr),readonly:Ze(Hr)}),fw=Me({err:gu,fee:Ae(),innerInstructions:yt(Je(Ze(Me({index:Ae(),instructions:Ze(Me({accounts:Ze(Ae()),data:We(),programIdIndex:Ae()}))})))),preBalances:Ze(Ae()),postBalances:Ze(Ae()),logMessages:yt(Je(Ze(We()))),preTokenBalances:yt(Je(Ze(Yv))),postTokenBalances:yt(Je(Ze(Yv))),loadedAddresses:yt(rz),computeUnitsConsumed:yt(Ae()),costUnits:yt(Ae())}),JP=Me({err:gu,fee:Ae(),innerInstructions:yt(Je(Ze(Me({index:Ae(),instructions:Ze(ez)})))),preBalances:Ze(Ae()),postBalances:Ze(Ae()),logMessages:yt(Je(Ze(We()))),preTokenBalances:yt(Je(Ze(Yv))),postTokenBalances:yt(Je(Ze(Yv))),loadedAddresses:yt(rz),computeUnitsConsumed:yt(Ae()),costUnits:yt(Ae())}),Yl=$n([Ur(0),Ur("legacy")]),yu=Me({pubkey:We(),lamports:Ae(),postBalance:Je(Ae()),rewardType:Je(We()),commission:yt(Je(Ae()))});xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),transactions:Ze(Me({transaction:ZP,meta:Je(fw),version:yt(Yl)})),rewards:yt(Ze(yu)),blockTime:Je(Ae()),blockHeight:Je(Ae())})));xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),rewards:yt(Ze(yu)),blockTime:Je(Ae()),blockHeight:Je(Ae())})));xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),transactions:Ze(Me({transaction:QD,meta:Je(fw),version:yt(Yl)})),rewards:yt(Ze(yu)),blockTime:Je(Ae()),blockHeight:Je(Ae())})));xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),transactions:Ze(Me({transaction:tz,meta:Je(JP),version:yt(Yl)})),rewards:yt(Ze(yu)),blockTime:Je(Ae()),blockHeight:Je(Ae())})));xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),transactions:Ze(Me({transaction:QD,meta:Je(JP),version:yt(Yl)})),rewards:yt(Ze(yu)),blockTime:Je(Ae()),blockHeight:Je(Ae())})));xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),rewards:yt(Ze(yu)),blockTime:Je(Ae()),blockHeight:Je(Ae())})));xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),transactions:Ze(Me({transaction:ZP,meta:Je(fw)})),rewards:yt(Ze(yu)),blockTime:Je(Ae())})));xr(Je(Me({blockhash:We(),previousBlockhash:We(),parentSlot:Ae(),signatures:Ze(We()),blockTime:Je(Ae())})));xr(Je(Me({slot:Ae(),meta:Je(fw),blockTime:yt(Je(Ae())),transaction:ZP,version:yt(Yl)})));xr(Je(Me({slot:Ae(),transaction:tz,meta:Je(JP),blockTime:yt(Je(Ae())),version:yt(Yl)})));xi(Me({blockhash:We(),lastValidBlockHeight:Ae()}));xi(Wi());const $$=Me({slot:Ae(),numTransactions:Ae(),numSlots:Ae(),samplePeriodSecs:Ae()});xr(Ze($$));xi(Je(Me({feeCalculator:Me({lamportsPerSignature:Ae()})})));xr(We());xr(We());const eee=Me({err:gu,logs:Ze(We()),signature:We()});Me({result:dw(eee),subscription:Ae()});Object.freeze({CreateLookupTable:{index:0,layout:le.struct([le.u32("instruction"),Ll("recentSlot"),le.u8("bumpSeed")])},FreezeLookupTable:{index:1,layout:le.struct([le.u32("instruction")])},ExtendLookupTable:{index:2,layout:le.struct([le.u32("instruction"),Ll(),le.seq(Yt(),le.offset(le.u32(),-8),"addresses")])},DeactivateLookupTable:{index:3,layout:le.struct([le.u32("instruction")])},CloseLookupTable:{index:4,layout:le.struct([le.u32("instruction")])}});new Ct("AddressLookupTab1e1111111111111111111111111");Object.freeze({RequestUnits:{index:0,layout:le.struct([le.u8("instruction"),le.u32("units"),le.u32("additionalFee")])},RequestHeapFrame:{index:1,layout:le.struct([le.u8("instruction"),le.u32("bytes")])},SetComputeUnitLimit:{index:2,layout:le.struct([le.u8("instruction"),le.u32("units")])},SetComputeUnitPrice:{index:3,layout:le.struct([le.u8("instruction"),Ll("microLamports")])}});new Ct("ComputeBudget111111111111111111111111111111");le.struct([le.u8("numSignatures"),le.u8("padding"),le.u16("signatureOffset"),le.u16("signatureInstructionIndex"),le.u16("publicKeyOffset"),le.u16("publicKeyInstructionIndex"),le.u16("messageDataOffset"),le.u16("messageDataSize"),le.u16("messageInstructionIndex")]
275);new Ct("Ed25519SigVerify111111111111111111111111111");v$.utils.isValidPrivateKey;le.struct([le.u8("numSignatures"),le.u16("signatureOffset"),le.u8("signatureInstructionIndex"),le.u16("ethAddressOffset"),le.u8("ethAddressInstructionIndex"),le.u16("messageDataOffset"),le.u16("messageDataSize"),le.u8("messageInstructionIndex"),le.blob(20,"ethAddress"),le.blob(64,"signature"),le.u8("recoveryId")]);new Ct("KeccakSecp256k11111111111111111111111111111");var nz;new Ct("StakeConfig11111111111111111111111111111111");class az{constructor(t,r,n){this.unixTimestamp=void 0,this.epoch=void 0,this.custodian=void 0,this.unixTimestamp=t,this.epoch=r,this.custodian=n}}nz=az;az.default=new nz(0,0,Ct.default);Object.freeze({Initialize:{index:0,layout:le.struct([le.u32("instruction"),A$(),P$()])},Authorize:{index:1,layout:le.struct([le.u32("instruction"),Yt("newAuthorized"),le.u32("stakeAuthorizationType")])},Delegate:{index:2,layout:le.struct([le.u32("instruction")])},Split:{index:3,layout:le.struct([le.u32("instruction"),le.ns64("lamports")])},Withdraw:{index:4,layout:le.struct([le.u32("instruction"),le.ns64("lamports")])},Deactivate:{index:5,layout:le.struct([le.u32("instruction")])},Merge:{index:7,layout:le.struct([le.u32("instruction")])},AuthorizeWithSeed:{index:8,layout:le.struct([le.u32("instruction"),Yt("newAuthorized"),le.u32("stakeAuthorizationType"),Pl("authoritySeed"),Yt("authorityOwner")])}});new Ct("Stake11111111111111111111111111111111111111");Object.freeze({InitializeAccount:{index:0,layout:le.struct([le.u32("instruction"),S$()])},Authorize:{index:1,layout:le.struct([le.u32("instruction"),Yt("newAuthorized"),le.u32("voteAuthorizationType")])},Withdraw:{index:3,layout:le.struct([le.u32("instruction"),le.ns64("lamports")])},UpdateValidatorIdentity:{index:4,layout:le.struct([le.u32("instruction")])},AuthorizeWithSeed:{index:10,layout:le.struct([le.u32("instruction"),k$()])}});new Ct("Vote111111111111111111111111111111111111111");new Ct("Va1idator1nfo111111111111111111111111111111");Me({name:We(),website:yt(We()),details:yt(We()),iconUrl:yt(We()),keybaseUsername:yt(We())});new Ct("Vote111111111111111111111111111111111111111");le.struct([Yt("nodePubkey"),Yt("authorizedWithdrawer"),le.u8("commission"),le.nu64(),le.seq(le.struct([le.nu64("slot"),le.u32("confirmationCount")]),le.offset(le.u32(),-8),"votes"),le.u8("rootSlotValid"),le.nu64("rootSlot"),le.nu64(),le.seq(le.struct([le.nu64("epoch"),Yt("authorizedVoter")]),le.offset(le.u32(),-8),"authorizedVoters"),le.struct([le.seq(le.struct([Yt("authorizedPubkey"),le.nu64("epochOfLastAuthorizedSwitch"),le.nu64("targetEpoch")]),32,"buf"),le.nu64("idx"),le.u8("isEmpty")],"priorVoters"),le.nu64(),le.seq(le.struct([le.nu64("epoch"),le.nu64("credits"),le.nu64("prevCredits")]),le.offset(le.u32(),-8),"epochCredits"),le.struct([le.nu64("slot"),le.nu64("timestamp")],"lastTimestamp")]);const tee=e=>({request:e,signMessage:t=>e({method:"signMessage",params:{message:t}}),signTransaction:t=>e({method:"signTransaction",params:{transaction:t}}),signAndSendTransaction:t=>e({method:"signAndSendTransaction",params:t})});function bC(e){return Buffer.from(e.serialize({verifySignatures:!1})).toString("base64")}function ree(e){const t=Buffer.from(e,"base64");return WP.deserializeMessageVersion(t)==="legacy"?GP.deserialize(t):Kv.from(t)}function nee(e){return async r=>{if(r.method==="connect")return await e(r);if(r.method==="signMessage")return await e(r);if(r.method==="signAndSendTransaction"){const{transaction:n,options:a}=r.params,i={transaction:bC(n)};return await e({method:"signAndSendTransaction",params:i})}if(r.method==="signTransaction"){const{transaction:n}=r.params,a={transaction:bC(n)},{signedTransaction:i}=await e({method:"signTransaction",params:a});return{signedTransaction:ree(i)}}}}const aee=({frameHost:e,emitter:t})=>{let r,n=null;return{visible:!1,get onback(){return n},set onback(a){n&&t.removeListener("backNavigationTriggered",n),n=a,a&&t.addListener("backNavigationTriggered",a)},async show(){await e.updateBackState({visible:!0}),this.visible=!0},async hide(){await e.updateBackState({visible:!1}),this.visible=!1},async enableWebNavigation(){r=iee({back:this,emitter:t})}
275,async disableWebNavigation(){r?.(),r=void 0}}};function iee({emitter:e,back:t}){const r=see();if(r)return oee({emitter:e,back:t,navigation:r});if(typeof window<"u")return cee({emitter:e,back:t,window})}function see(){if(typeof window<"u"&&window.navigation!==void 0)return window.navigation}function oee({emitter:e,back:t,navigation:r}){function n(){r.canGoBack?t.show():t.hide()}function a(){t.visible&&r.canGoBack&&r.back()}return r.addEventListener("navigatesuccess",n),e.addListener("backNavigationTriggered",a),()=>{r.removeEventListener("navigatesuccess",n),e.removeListener("backNavigationTriggered",a)}}function cee({emitter:e,back:t,window:r}){t.show();function n(){t.visible&&r.history.back()}return e.addListener("backNavigationTriggered",n),()=>{e.removeListener("backNavigationTriggered",n)}}const uee="0.1.1";function lee(){return uee}let dee=class UA extends Error{constructor(t,r={}){const n=(()=>{if(r.cause instanceof UA){if(r.cause.details)return r.cause.details;if(r.cause.shortMessage)return r.cause.shortMessage}return r.cause?.message?r.cause.message:r.details})(),a=r.cause instanceof UA&&r.cause.docsPath||r.docsPath,c=`https://oxlib.sh${a??""}`,f=[t||"An error occurred.",...r.metaMessages?["",...r.metaMessages]:[],...n||a?["",n?`Details: ${n}`:void 0,a?`See: ${c}`:void 0]:[]].filter(m=>typeof m=="string").join(` 276`);super(f,r.cause?{cause:r.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${lee()}`}),this.cause=r.cause,this.details=n,this.docs=c,this.docsPath=a,this.shortMessage=t}walk(t){return iz(this,t)}};function iz(e,t){return t?.(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause?iz(e.cause,t):t?null:e}function sz(e,t={}){const{raw:r=!1}=t,n=e;if(r)return e;if(n.error){const{code:a}=n.error,i=a===Dl.code?Dl:a===Hg.code?Hg:a===$g.code?$g:a===Qg.code?Qg:a===Zg.code?Zg:a===Xg.code?Xg:a===Yg.code?Yg:a===ey.code?ey:a===Wg.code?Wg:a===Gg.code?Gg:a===Kg.code?Kg:a===Jg.code?Jg:ma;throw new i(n.error)}return n.result}let ma=class extends Error{constructor(t){const{code:r,message:n,data:a}=t;super(n),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.BaseError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=r,this.data=a}};class Hg extends ma{constructor(t={}){super({message:"Missing or invalid parameters.",...t,code:Hg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.InvalidInputError"})}}Object.defineProperty(Hg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class Wg extends ma{constructor(t={}){super({message:"Requested resource not found.",...t,code:Wg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.ResourceNotFoundError"})}}Object.defineProperty(Wg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class Gg extends ma{constructor(t={}){super({message:"Requested resource not available.",...t,code:Gg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.ResourceUnavailableError"})}}Object.defineProperty(Gg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class Kg extends ma{constructor(t={}){super({message:"Transaction creation failed.",...t,code:Kg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.TransactionRejectedError"})}}Object.defineProperty(Kg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class Yg extends ma{constructor(t={}){super({message:"Method is not implemented.",...t,code:Yg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.MethodNotSupportedError"})}}Object.defineProperty(Yg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class Zg extends ma{constructor(t={}){super({message:"Rate limit exceeded.",...t,code:Zg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.LimitExceededError"})}}Object.defineProperty(Zg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class Jg extends ma{constructor(t={}){super({message:"JSON-RPC version not supported.",...t,code:Jg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.VersionNotSupportedError"})}}Object.defineProperty(Jg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class Qg extends ma{constructor(t={}){super({message:"Input is not a valid JSON-RPC request.",...t,code:Qg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.InvalidRequestError"})}}Object.defineProperty(Qg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class Xg extends ma{constructor(t={}){super({message:"Method does not exist.",...t,code:Xg.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.MethodNotFoundError"})}}Object.defineProperty(Xg,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class $g extends ma{constructor(t={}){super({message:"Invalid method parameters.",...t,code:$g.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.InvalidParamsError"})}}Object.defineProperty($g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class Dl extends ma{constructor(t={}){super({message:"Internal JSON-RPC error.",...t,code:Dl.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.InternalErrorError"})}}Object.defineProperty(Dl,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class ey extends ma{constructor(t={}){super({message:"Failed to parse JSON-RPC response.",...t,code:ey.code}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcResponse.ParseError"})}}Object.defineProperty(ey,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});
276class bu extends Error{constructor(t,r){super(r),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderRpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t,this.details=r}}class oz extends bu{constructor({message:t="The user rejected the request."}={}){super(4001,t),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Provider.UserRejectedRequestError"})}}Object.defineProperty(oz,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class cz extends bu{constructor({message:t="The requested method and/or account has not been authorized by the user."}={}){super(4100,t),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Provider.UnauthorizedError"})}}Object.defineProperty(cz,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class uz extends bu{constructor({message:t="The provider does not support the requested method."}={}){super(4200,t),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Provider.UnsupportedMethodError"})}}Object.defineProperty(uz,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class lz extends bu{constructor({message:t="The provider is disconnected from all chains."}={}){super(4900,t),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Provider.DisconnectedError"})}}Object.defineProperty(lz,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class dz extends bu{constructor({message:t="The provider is not connected to the requested chain."}={}){super(4901,t),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Provider.ChainDisconnectedError"})}}Object.defineProperty(dz,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});function fee(){const e=new UD;return{get eventNames(){return e.eventNames.bind(e)},get listenerCount(){return e.listenerCount.bind(e)},get listeners(){return e.listeners.bind(e)},addListener:e.addListener.bind(e),emit:e.emit.bind(e),off:e.off.bind(e),on:e.on.bind(e),once:e.once.bind(e),removeAllListeners:e.removeAllListeners.bind(e),removeListener:e.removeListener.bind(e)}}function hee(e,t={}){const{includeEvents:r=!0}=t;if(!e)throw new pee;return{...r?{on:e.on?.bind(e),removeListener:e.removeListener?.bind(e)}:{},async request(n){const a=await e.request(n);return a&&typeof a=="object"&&"jsonrpc"in a?sz(a):a}}}class pee extends dee{constructor(){super("`provider` is undefined."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Provider.IsUndefinedError"})}}function mee(e={}){let t=e.id??0;return{prepare(r){return gee({id:t++,...r})},get id(){return t}}}function gee(e){return{...e,jsonrpc:"2.0"}}/** 277 * @license 278 * Copyright 2019 Google LLC 279 * SPDX-License-Identifier: Apache-2.0 280 */const fz=Symbol("Comlink.proxy"),yee=Symbol("Comlink.endpoint"),bee=Symbol("Comlink.releaseProxy"),$_=Symbol("Comlink.finalizer"),yv=Symbol("Comlink.thrown"),hz=e=>typeof e=="object"&&e!==null||typeof e=="function",vee={canHandle:e=>hz(e)&&e[fz],serialize(e){const{port1:t,port2:r}=new MessageChannel;return mz(e,t),[r,[r]]},deserialize(e){return e.start(),yz(e)}},wee={canHandle:e=>hz(e)&&yv in e,serialize({value:e}){let t;return e instanceof Error?t={isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:t={isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}},pz=new Map([["proxy",vee],["throw",wee]]);function _ee(e,t){for(const r of e)if(t===r||r==="*"||r instanceof RegExp&&r.test(t))return!0;return!1}function mz(e,t=globalThis,r=["*"]){t.addEventListener("message",function n(a){if(!a||!a.data)return;if(!_ee(r,a.origin)){console.warn(`Invalid origin '${a.origin}' for comlink proxy`);return}const{id:i,type:c,path:f}=Object.assign({path:[]},a.data),m=(a.data.argumentList||[]).map(Yc);let h;try{const l=f.slice(0,-1).reduce((u,p)=>u[p],e),o=f.reduce((u,p)=>u[p],e);switch(c){case"GET":h=o;break;case"SET":l[f.slice(-1)[0]]=Yc(a.data.value),h=!0;break;case"APPLY":h=o.apply(l,m);break;case"CONSTRUCT":{const u=new o(...m);h=See(u)}break;case"ENDPOINT":{const{port1:u,port2:p}=new MessageChannel;mz(e,p),h=Pee(u,[u])}break;case"RELEASE":h=void 0;break;default:return}}catch(l){h={value:l,[yv]:0}}Promise.resolve(h).catch(l=>({value:l,[yv]:0})).then(l=>{const[o,u]=Qv(l);t.postMessage(Object.assign(Object.assign({},o),{id:i}),u),c==="RELEASE"&&(t.removeEventListener("message",n),gz(t),$_ in e&&typeof e[$_]=="function"&&e[$_]())}).catch(l=>{const[o,u]=Qv({value:new TypeError("Unserializable return value"),[yv]:0});t.postMessage(Object.assign(Object.assign({},o),{id:i}),u)})}),t.start&&t.start()}function xee(e){return e.constructor.name==="MessagePort"}function gz(e){xee(e)&&e.close()}function yz(e,t){const r=new Map;return e.addEventListener("message",function(a){const{data:i}=a;if(!i||!i.id)return;const c=r.get(i.id);if(c)try{c(i)}finally{r.delete(i.id)}}),qA(e,r,[],t)}function $b(e){if(e)throw new Error("Proxy has been released and is not useable")}function bz(e){return bl(e,new Map,{type:"RELEASE"}).then(()=>{gz(e)})}const Zv=new WeakMap,Jv="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{const t=(Zv.get(e)||0)-1;Zv.set(e,t),t===0&&bz(e)});function Eee(e,t){const r=(Zv.get(t)||0)+1;Zv.set(t,r),Jv&&Jv.register(e,t,e)}function jee(e){Jv&&Jv.unregister(e)}function qA(e,t,r=[],n=function(){}){let a=!1;const i=new Proxy(n,{get(c,f){if($b(a),f===bee)return()=>{jee(i),bz(e),t.clear(),a=!0};if(f==="then"){if(r.length===0)return{then:()=>i};const m=bl(e,t,{type:"GET",path:r.map(h=>h.toString())}).then(Yc);return m.then.bind(m)}return qA(e,t,[...r,f])},set(c,f,m){$b(a);const[h,l]=Qv(m);return bl(e,t,{type:"SET",path:[...r,f].map(o=>o.toString()),value:h},l).then(Yc)},apply(c,f,m){$b(a);const h=r[r.length-1];if(h===yee)return bl(e,t,{type:"ENDPOINT"}).then(Yc);if(h==="bind")return qA(e,t,r.slice(0,-1));const[l,o]=vC(m);
280return bl(e,t,{type:"APPLY",path:r.map(u=>u.toString()),argumentList:l},o).then(Yc)},construct(c,f){$b(a);const[m,h]=vC(f);return bl(e,t,{type:"CONSTRUCT",path:r.map(l=>l.toString()),argumentList:m},h).then(Yc)}});return Eee(i,e),i}function Aee(e){return Array.prototype.concat.apply([],e)}function vC(e){const t=e.map(Qv);return[t.map(r=>r[0]),Aee(t.map(r=>r[1]))]}const vz=new WeakMap;function Pee(e,t){return vz.set(e,t),e}function See(e){return Object.assign(e,{[fz]:!0})}function kee(e,t=globalThis,r="*"){return{postMessage:(n,a)=>e.postMessage(n,r,a),addEventListener:t.addEventListener.bind(t),removeEventListener:t.removeEventListener.bind(t)}}function Qv(e){for(const[t,r]of pz)if(r.canHandle(e)){const[n,a]=r.serialize(e);return[{type:"HANDLER",name:t,value:n},a]}return[{type:"RAW",value:e},vz.get(e)||[]]}function Yc(e){switch(e.type){case"HANDLER":return pz.get(e.name).deserialize(e.value);case"RAW":return e.value}}function bl(e,t,r,n){return new Promise(a=>{const i=Tee();t.set(i,a),e.start&&e.start(),e.postMessage(Object.assign({id:i},r),n)})}function Tee(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}const Ree={postMessage(){},addEventListener:()=>{},removeEventListener:()=>{}},Oee={postMessage:e=>{console.debug("[webview:req]",e),window.ReactNativeWebView.postMessage(JSON.stringify(e))},addEventListener:(e,t,...r)=>{document.addEventListener("FarcasterFrameCallback",t,...r)},removeEventListener:(e,t)=>{document.removeEventListener("FarcasterFrameCallback",t)}},Cee=typeof window>"u"?Ree:window?.ReactNativeWebView?Oee:kee(window?.parent??window),Ht=yz(Cee),QP=fee(),Iee=mee();function Nee({code:e,details:t}){switch(e){case 4001:return new oz;case 4100:return new cz;case 4200:return new uz;case 4900:return new lz;case 4901:return new dz;default:return new bu(e,t??"Unknown provider RPC error")}}const ty=hee({...QP,async request(e){const t=Iee.prepare(e);try{const r=await Ht.ethProviderRequestV2(t).then(n=>sz(n,{request:t,raw:!0}));if(r.error)throw Nee(r.error);return r.result}catch(r){if(r instanceof Error&&r.message.match(/cannot read property 'apply'/i))return await Ht.ethProviderRequest(t);throw r instanceof bu||r instanceof ma?r:new Dl({message:r instanceof Error?r.message:void 0})}}});async function Mee(){try{const e=await Ht.getCapabilities();return!e.includes("wallet.getEthereumProvider")&&!e.includes("wallet.getEvmProvider")?void 0:ty}catch{return ty}}function wz(e){const t=new CustomEvent("eip6963:announceProvider",{detail:Object.freeze(e)});window.dispatchEvent(t);const r=()=>window.dispatchEvent(t);return window.addEventListener("eip6963:requestProvider",r),()=>window.removeEventListener("eip6963:requestProvider",r)}typeof document<"u"&&(document.addEventListener("eip6963:requestProvider",()=>{Ht.eip6963RequestProvider()}),document.addEventListener("FarcasterFrameEthProviderEvent",e=>{if(e instanceof MessageEvent){const t=e.data;QP.emit(t.event,...t.params)}}),document.addEventListener("FarcasterFrameEvent",e=>{if(e instanceof MessageEvent){const t=e.data;t.event==="eip6963:announceProvider"&&wz({info:t.info,provider:ty})}}));typeof window<"u"&&(window.addEventListener("eip6963:requestProvider",()=>{Ht.eip6963RequestProvider()}),window.addEventListener("message",e=>{if(e instanceof MessageEvent&&e.data.type==="frameEthProviderEvent"){const t=e.data;QP.emit(t.event,...t.params)}}),window.addEventListener("message",e=>{if(e instanceof MessageEvent&&e.data.type==="frameEvent"){const t=e.data.event;t.event==="eip6963:announceProvider"&&wz({info:t.info,provider:ty})}}));new TextEncoder;const _z=new TextDecoder,Fee=e=>{const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r},Bee=e=>{let t=e;t instanceof Uint8Array&&(t=_z.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return Fee(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}},Uee=Bee;function qee(e){return typeof e=="object"&&e!==null}function Lee(e){if(!qee(e)||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}
280class ea extends Error{constructor(t,r){super(t,r),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}ea.code="ERR_JOSE_GENERIC";class Dee extends ea{constructor(t,r,n="unspecified",a="unspecified"){super(t,{cause:{claim:n,reason:a,payload:r}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=n,this.reason=a,this.payload=r}}Dee.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class zee extends ea{constructor(t,r,n="unspecified",a="unspecified"){super(t,{cause:{claim:n,reason:a,payload:r}}),this.code="ERR_JWT_EXPIRED",this.claim=n,this.reason=a,this.payload=r}}zee.code="ERR_JWT_EXPIRED";class Vee extends ea{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}Vee.code="ERR_JOSE_ALG_NOT_ALLOWED";class Hee extends ea{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}}Hee.code="ERR_JOSE_NOT_SUPPORTED";class Wee extends ea{constructor(t="decryption operation failed",r){super(t,r),this.code="ERR_JWE_DECRYPTION_FAILED"}}Wee.code="ERR_JWE_DECRYPTION_FAILED";class Gee extends ea{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}}Gee.code="ERR_JWE_INVALID";class Kee extends ea{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}}Kee.code="ERR_JWS_INVALID";class Eo extends ea{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}}
280Eo.code="ERR_JWT_INVALID";class Yee extends ea{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}}Yee.code="ERR_JWK_INVALID";class Zee extends ea{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}}Zee.code="ERR_JWKS_INVALID";class Jee extends ea{constructor(t="no applicable key found in the JSON Web Key Set",r){super(t,r),this.code="ERR_JWKS_NO_MATCHING_KEY"}}Jee.code="ERR_JWKS_NO_MATCHING_KEY";class Qee extends ea{constructor(t="multiple matching keys found in the JSON Web Key Set",r){super(t,r),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}Qee.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class Xee extends ea{constructor(t="request timed out",r){super(t,r),this.code="ERR_JWKS_TIMEOUT"}}Xee.code="ERR_JWKS_TIMEOUT";class $ee extends ea{constructor(t="signature verification failed",r){super(t,r),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}$ee.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";function ete(e){if(typeof e!="string")throw new Eo("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:r}=e.split(".");if(r===5)throw new Eo("Only JWTs using Compact JWS serialization can be decoded");if(r!==3)throw new Eo("Invalid JWT");if(!t)throw new Eo("JWTs must contain a payload");let n;try{n=Uee(t)}catch{throw new Eo("Failed to base64url decode the payload")}let a;try{a=JSON.parse(_z.decode(n))}catch{throw new Eo("Failed to parse the decoded payload as JSON")}if(!Lee(a))throw new Eo("Invalid JWT Claims Set");return a}function tte(e){return ete(e)}class hw extends Error{constructor(t,r={}){const n=(()=>{if(r.cause instanceof hw){if(r.cause.details)return r.cause.details;if(r.cause.shortMessage)return r.cause.shortMessage}return r.cause&&"details"in r.cause&&typeof r.cause.details=="string"?r.cause.details:r.cause?.message?r.cause.message:r.details})(),a=[t||"An error occurred.",...r.metaMessages?["",...r.metaMessages]:[],...n?["",n?`Details: ${n}`:void 0]:[]].filter(i=>typeof i=="string").join(` 281`);super(a,r.cause?{cause:r.cause}:void 0),this.name="BaseError",this.cause=r.cause,this.details=n,this.shortMessage=t}}class xz extends hw{constructor({status:t}){super(`Request failed with status ${t}`),this.name="RequestFailedError"}}class rte extends hw{constructor(t){super(t),this.name="InvalidToken"}}async function nte({origin:e}){const t=await fetch(`${e}/nonce`,{method:"POST"});if(!t.ok)throw new xz({status:t.status});return await t.json()}async function ate({origin:e},t){const r=await fetch(`${e}/verify-siwf`,{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify(t)});if(!r.ok)throw new xz({status:r.status});const n=await r.json();if(n.valid===!1)throw new rte(n.message??"unknown");return{token:n.token}}function ite(e={}){return{origin:e.origin??"https://auth.farcaster.xyz"}}function ste(e={}){const t=ite(e);return{generateNonce:()=>nte(t),verifySiwf:r=>ate(t,r)}}const ote=/^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/,cte=/(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;function ute(e){const{scheme:t,statement:r,...n}=e.match(ote)?.groups??{},{chainId:a,expirationTime:i,issuedAt:c,notBefore:f,requestId:m,...h}=e.match(cte)?.groups??{},l=e.split("Resources:")[1]?.split(` 282- `).slice(1);return{...n,...h,...a?{chainId:Number(a)}:{},...i?{expirationTime:new Date(i)}:{},...c?{issuedAt:new Date(c)}:{},...f?{notBefore:new Date(f)}:{},...m?{requestId:m}:{},...l?{resources:l}:{},...t?{scheme:t}:{},...r?{statement:r}:{}}}const wC=(()=>{let e,t;async function r(n){const a=ste({origin:n.quickAuthServerOrigin}),{nonce:i}=await a.generateNonce(),c=await Ht.signIn({nonce:i,acceptAuthAddress:!0});if(c.result){const f=ute(c.result.message);if(!f.domain)throw new Error("Missing domain on SIWE message");const m=await a.verifySiwf({domain:f.domain,message:c.result.message,signature:c.result.signature});return e={token:m.token,payload:tte(m.token)},m}throw c.error.type==="rejected_by_user"?new VL:new Error("Unreachable")}return{get token(){if(e&&new Date(e.payload.exp*1e3)>new Date(Date.now()+15e3))return e.token},async getToken(n={}){const a=n.force??!1;return e&&!a&&new Date(e.payload.exp*1e3)>new Date(Date.now()+15e3)?{token:e.token}:(t||(t=r(n)),t.finally(()=>{t=void 0}),t)},async fetch(n,a){const{token:i}=await this.getToken(),c=new Headers(a?.headers);return c.set("Authorization",`Bearer ${i}`),fetch(n,{...a,headers:c})}}})();function lte(){const e=new UD;return{get eventNames(){return e.eventNames.bind(e)},get listenerCount(){return e.listenerCount.bind(e)},get listeners(){return e.listeners.bind(e)},addListener:e.addListener.bind(e),emit:e.emit.bind(e),off:e.off.bind(e),on:e.on.bind(e),once:e.once.b
282ind(e),removeAllListeners:e.removeAllListeners.bind(e),removeListener:e.removeListener.bind(e)}}const Ln=lte(),{solanaProviderRequest:_C}=Ht;let Ez;_C&&(Ez=tee(nee(_C)));async function xC(){let e;try{e=await Ht.getCapabilities()}catch{}if(e?.includes("wallet.getSolanaProvider"))return Ez}let EC=null;async function dte(e=50){if(EC===!0)return!0;if(typeof window>"u"||!window.ReactNativeWebView&&window===window.parent)return!1;const t=await Promise.race([Ht.context.then(r=>!!r),new Promise(r=>{setTimeout(()=>r(!1),e)})]).catch(()=>!1);return t&&(EC=!0),t}const jC=async()=>{const e=await Ht.addFrame();if(e.result)return e.result;throw e.error.type==="invalid_domain_manifest"?new QZ:e.error.type==="rejected_by_user"?new XZ:new Error("Unreachable")},Wt={...Ln,getCapabilities:Ht.getCapabilities,getChains:Ht.getChains,isInMiniApp:dte,context:Ht.context,back:aee({frameHost:Ht,emitter:Ln}),quickAuth:wC,actions:{setPrimaryButton:Ht.setPrimaryButton.bind(Ht),ready:async(e={})=>await Ht.ready(e),close:Ht.close.bind(Ht),viewCast:Ht.viewCast.bind(Ht),viewProfile:Ht.viewProfile.bind(Ht),signIn:async e=>{const t=await Ht.signIn(e);if(t.result)return t.result;throw t.error.type==="rejected_by_user"?new VL:new Error("Unreachable")},openUrl:e=>{const t=typeof e=="string"?e:e.url;return Ht.openUrl(t.trim())},addFrame:jC,addMiniApp:jC,composeCast(e={}){return Ht.composeCast(e)},viewToken:Ht.viewToken.bind(Ht),sendToken:Ht.sendToken.bind(Ht),swapToken:Ht.swapToken.bind(Ht)},experimental:{getSolanaProvider:xC,quickAuth(e){return wC.getToken(e)}},wallet:{ethProvider:ty,getEthereumProvider:Mee,getSolanaProvider:xC},haptics:{impactOccurred:Ht.impactOccurred.bind(Ht),notificationOccurred:Ht.notificationOccurred.bind(Ht),selectionChanged:Ht.selectionChanged.bind(Ht)}};typeof document<"u"&&document.addEventListener("FarcasterFrameEvent",e=>{if(e instanceof MessageEvent){const t=e.data;t.event==="primary_button_clicked"?Ln.emit("primaryButtonClicked"):t.event==="frame_added"?Ln.emit("frameAdded",{notificationDetails:t.notificationDetails}):t.event==="frame_add_rejected"?Ln.emit("frameAddRejected",{reason:t.reason}):t.event==="frame_removed"?Ln.emit("frameRemoved"):t.event==="notifications_enabled"?Ln.emit("notificationsEnabled",{notificationDetails:t.notificationDetails}):t.event==="notifications_disabled"?Ln.emit("notificationsDisabled"):t.event==="back_navigation_triggered"&&Ln.emit("backNavigationTriggered")}});typeof window<"u"&&window.addEventListener("message",e=>{if(e instanceof MessageEvent&&e.data.type==="frameEvent"){const t=e.data.event;t.event==="primary_button_clicked"?Ln.emit("primaryButtonClicked"):t.event==="frame_added"?Ln.emit("frameAdded",{notificationDetails:t.notificationDetails}):t.event==="frame_add_rejected"?Ln.emit("frameAddRejected",{reason:t.reason}):t.event==="frame_removed"?Ln.emit("frameRemoved"):t.event==="notifications_enabled"?Ln.emit("notificationsEnabled",{notificationDetails:t.notificationDetails}):t.event==="notifications_disabled"?Ln.emit("notificationsDisabled"):t.event==="back_navigation_triggered"&&Ln.emit("backNavigationTriggered")}});const jz=te.createContext({isSDKLoaded:!1,user:null,realFid:null,context:null,walletAddress:null,connectWallet:async()=>{}});function Az({children:e}){const[t,r]=te.useState(!1),[n,a]=te.useState(null),[i,c]=te.useState(null),[f,m]=te.useState(null),[h,l]=te.useState(null);te.useEffect(()=>{try{Wt.actions.ready({disableNativeGestures:!0}),console.log("â
sdk.actions.ready() called immediately")}catch(g){console.warn("â ï¸ sdk.actions.ready() failed (may be outside Farcaster):",g)}const u=null;(async()=>{const g=setTimeout(()=>{console.warn("â±ï¸ SDK initialization timeout (10s) - no user context available"),r(!0)},1e4);try{console.log("ð± Attempting to get Farcaster SDK context...");let y=null;try{y=await Promise.race([Wt.context,new Promise((x,w)=>setTimeout(()=>w(new Error("SDK context timeout")),8e3))]),console.log("â
Got SDK context:",JSON.stringify(y,null,2))}catch{console.warn("â ï¸ SDK context timed out after 8s, will try fallback")}const b=y?.user||y?.viewer||y?.frame?.user;if(console.log("ð Checking for user in SDK context:",{hasUser:!!y?.user,hasViewer:!!y?.viewer,hasFrameUser:!!y?.frame?.user,contextUser:b,userFid:b?.fid}),b?.fid){console.log("â
Got user from SDK context! FID:",b.fid,"Username:",b.username),clearTimeout(g),m(y);const w=[13874,1331766,290249].includes(b.fid),E=localStorage.getItem("test_fid");let j=b.fid,T=b.username||b.displayName||"farcaster-user",F=b.displayName||b.username,z=b.pfpUrl||b.pfp_url;if(w&&E){const U=parseInt(E);if(!isNaN(U)&&U>0){console.log(`𧪠Whitelisted user ${b.fid} using test FID: ${U}`),j=U;try{const H="0E5C8F34-B9F5-44F0-8A4F-AEEECD5FF738";if(H){const V=Date.now(),Z=await fetch(`https://api.neynar.com/v2/farcaster/user/bulk?fids=${U}`,{headers:{api_key:H}}),R=Date.now()-V;if(fetch("/api/neynar-logs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fid:U,endpoint:"farcaster/user/bulk",method:"GET",statusCode:Z.ok?200:Z.status,responseTimeMs:R,creditsUsed:Z.ok?1:0,error:Z.ok?void 0:`HTTP ${Z.status}`,metadata:{isTestUser:!0}})}).catch(()=>{}),Z.ok){const k=(await Z.json()).users?.[0];k&&(T=k.username,F=k.display_name,z=k.pfp_url,console.log(`â
Loaded test user profile: ${T}`))}}}catch(H){console.warn("Could not fetch test user profile:",H)}}}c(b.fid),a({fid:j,username:T,displayName:F,pfpUrl:z,walletAddress:b.walletAddress||y?.walletAddress});const K=b.walletAddress||y?.walletAddress||y?.wallet?.address;
282if(K)l(K),console.log("â Wallet address from context:",K);else try{if(console.log("ð Requesting wallet address from SDK..."),Wt.wallet?.ethProvider){const U=await Wt.wallet.ethProvider.request({method:"eth_requestAccounts"});U&&U.length>0&&(l(U[0]),console.log("â Wallet address from ethProvider:",U[0]))}}catch(U){console.warn("â ï¸ Could not get wallet address from SDK:",U)}r(!0);return}console.warn("â ï¸ SDK loaded but no user context - browser access detected"),clearTimeout(g),clearTimeout(u),r(!0)}catch(y){clearTimeout(g),clearTimeout(u),console.warn("â ï¸ SDK initialization error:",y),r(!0)}})()},[]);const o=async()=>{try{const u=f?.user?.walletAddress||f?.walletAddress||f?.wallet?.address;if(u){l(u),a(p=>p?{...p,walletAddress:u}:null),console.log("â Wallet address from context:",u);return}if(console.log("ð Requesting wallet connection via SDK..."),Wt.wallet?.ethProvider){const p=await Wt.wallet.ethProvider.request({method:"eth_requestAccounts"});if(p&&p.length>0){l(p[0]),a(g=>g?{...g,walletAddress:p[0]}:null),console.log("â Wallet connected:",p[0]);return}}console.warn("â ï¸ Could not connect wallet")}catch(u){console.error("â Error connecting wallet:",u)}};return A.jsx(jz.Provider,{value:{isSDKLoaded:t,user:n,realFid:i,context:f,walletAddress:h,connectWallet:o},children:e})}function Zl(){const e=te.useContext(jz);if(e===void 0)throw new Error("useFarcaster must be used within a FarcasterProvider");return e}const fte=Object.freeze(Object.defineProperty({__proto__:null,FarcasterProvider:Az,useFarcaster:Zl},Symbol.toStringTag,{value:"Module"})),hte="modulepreload",pte=function(e){return"/"+e},AC={},Ig=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){let c=function(h){return Promise.all(h.map(l=>Promise.resolve(l).then(o=>({status:"fulfilled",value:o}),o=>({status:"rejected",reason:o}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),m=f?.nonce||f?.getAttribute("nonce");a=c(r.map(h=>{if(h=pte(h),h in AC)return;AC[h]=!0;const l=h.endsWith(".css"),o=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${o}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":hte,l||(u.as="script"),u.crossOrigin="",u.href=h,m&&u.setAttribute("nonce",m),document.head.appendChild(u),l)return new Promise((p,g)=>{u.addEventListener("load",p),u.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${h}`)))})}))}function i(c){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c}return a.then(c=>{for(const f of c||[])f.status==="rejected"&&i(f.reason);return t().catch(i)})};let ex=null,PC=!1;async function mte(){if(ex!==null)return ex;if(PC)return null;PC=!0;try{console.log("ð¦ Attempting to load Dune snapshot...");const e=performance.now(),t=await Ig(()=>import("./duneSnapshot-C8qd8_hi.js"),[]),r=performance.now()-e;console.log(`â±ï¸ Snapshot import took ${(r/1e3).toFixed(2)}s`);const n=t.default||t;if(!Array.isArray(n))return console.error("â duneSnapshot.json is not an array. Type:",typeof n,"Keys:",Object.keys(n)),console.error("Expected: Array of objects with { fid, total_activity, ... }"),console.error("Got:",n?typeof n=="object"?Object.keys(n).slice(0,5):String(n).substring(0,100):"null/undefined"),null;if(n.length===0)return console.warn("â ï¸ duneSnapshot.json is an empty array"),null;const a={};let i=0,c=0;return n.forEach((f,m)=>{if(!f||typeof f!="object"){c++,console.warn(`â ï¸ Row ${m} is invalid:`,f);return}if(f.fid===void 0||f.fid===null){c++,console.warn(`â ï¸ Row ${m} missing fid:`,Object.keys(f));return}a[String(f.fid)]=f,i++}),i===0?(console.error("â No valid rows found in duneSnapshot.json"),null):(c>0&&console.warn(`â ï¸ Found ${c} invalid rows out of ${n.length} total`),ex=a,console.log(`â Loaded Dune snapshot with ${i} valid FIDs (from ${n.length} total rows)`),a)}catch(e){return console.error("â Failed to load Dune snapshot:",e.message),console.error("Error type:",e.name),console.error("Error details:",{message:e.message,name:e.name,code:e.code,stack:e.stack?.split(` 283`).slice(0,3).join(` 284`)}),console.error("â ï¸ DIAGNOSIS:"),e.message?.includes("timeout")||e.message?.includes("too large")?(console.error(" â The snapshot file is 37MB+ and may be too large to import dynamically"),console.error(" â This can cause timeouts or memory issues in the browser"),console.error(" â Solutions:"),console.error(" 1. Use fetch() to load the file instead of import()"),console.error(" 2. Split the snapshot into smaller chunks"),console.error(" 3. Host the file on a CDN and fetch it"),console.error(" 4. Use server-side API to serve snapshot data")):(console.error(" â Possible causes:"),console.error(" 1. The file src/data/duneSnapshot.json doesn't exist"),console.error(" 2. The file wasn't bundled correctly in the build"),console.error(" 3. There's a build configuration issue with JSON imports"),console.error(" 4. The file is corrupted or invalid JSON")),console.error(" â To regenerate: npm run generate-dune-snapshot"),null}}
284class Pz extends Error{constructor(t){super(`FID ${t} not found in snapshot - user has less than 100 casts in 2025`),this.name="InsufficientActivityError"}}async function gte(e){const t=await mte();if(t){const r=t[String(e)];if(r){console.log(`â
Found FID ${e} in static snapshot (${Object.keys(t).length} total users)`);const{fid:n,...a}=r;return a}else throw console.warn(`â ï¸ FID ${e} not found in snapshot - user has less than 100 casts in 2025`),new Pz(e)}throw console.error("â No Dune snapshot loaded - cannot fetch stats"),console.error("The snapshot file may be missing, corrupted, or failed to load during build."),console.error("Check browser console for detailed error messages from loadStaticSnapshot()."),console.error('To fix: Run "npm run generate-dune-snapshot" to regenerate the snapshot file.'),new Error("Dune snapshot not available - the snapshot file failed to load. Check console for details.")}var uc={},lc={},Qd={},tx={},rx={},nx={},qn={},SC;function Jl(){if(SC)return qn;SC=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.output=qn.exists=qn.hash=qn.bytes=qn.bool=qn.number=void 0;function e(f){if(!Number.isSafeInteger(f)||f<0)throw new Error(`Wrong positive integer: ${f}`)}qn.number=e;function t(f){if(typeof f!="boolean")throw new Error(`Expected boolean, not ${f}`)}qn.bool=t;function r(f,...m){if(!(f instanceof Uint8Array))throw new Error("Expected Uint8Array");if(m.length>0&&!m.includes(f.length))throw new Error(`Expected Uint8Array of length ${m}, not of length=${f.length}`)}qn.bytes=r;function n(f){if(typeof f!="function"||typeof f.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");e(f.outputLen),e(f.blockLen)}qn.hash=n;function a(f,m=!0){if(f.destroyed)throw new Error("Hash instance has been destroyed");if(m&&f.finished)throw new Error("Hash#digest() has already been called")}qn.exists=a;function i(f,m){r(f);const h=m.outputLen;if(f.length<h)throw new Error(`digestInto() expects output buffer of length at least ${h}`)}qn.output=i;const c={number:e,bool:t,bytes:r,hash:n,exists:a,output:i};return qn.default=c,qn}var ax={},Xd={},kC;function yte(){return kC||(kC=1,Object.defineProperty(Xd,"__esModule",{value:!0}),Xd.crypto=void 0,Xd.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0),Xd}var TC;function Ei(){return TC||(TC=1,(function(e){/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(e,"__esModule",{value:!0}),e.randomBytes=e.wrapXOFConstructorWithOpts=e.wrapConstructorWithOpts=e.wrapConstructor=e.checkOpts=e.Hash=e.concatBytes=e.toBytes=e.utf8ToBytes=e.asyncLoop=e.nextTick=e.hexToBytes=e.bytesToHex=e.isLE=e.rotr=e.createView=e.u32=e.u8=void 0;const t=yte(),r=F=>F instanceof Uint8Array,n=F=>new Uint8Array(F.buffer,F.byteOffset,F.byteLength);e.u8=n;const a=F=>new Uint32Array(F.buffer,F.byteOffset,Math.floor(F.byteLength/4));e.u32=a;const i=F=>new DataView(F.buffer,F.byteOffset,F.byteLength);e.createView=i;const c=(F,z)=>F<<32-z|F>>>z;if(e.rotr=c,e.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!e.isLE)throw new Error("Non little-endian hardware is not supported");const f=Array.from({length:256},(F,z)=>z.toString(16).padStart(2,"0"));function m(F){if(!r(F))throw new Error("Uint8Array expected");let z="";for(let K=0;K<F.length;K++)z+=f[F[K]];return z}e.bytesToHex=m;function h(F){if(typeof F!="string")throw new Error("hex string expected, got "+typeof F);const z=F.length;if(z%2)throw new Error("padded hex string expected, got unpadded hex of length "+z);const K=new Uint8Array(z/2);for(let U=0;U<K.length;U++){const H=U*2,V=F.slice(H,H+2),Z=Number.parseInt(V,16);if(Number.isNaN(Z)||Z<0)throw new Error("Invalid byte sequence");K[U]=Z}return K}e.hexToBytes=h;const l=async()=>{};e.nextTick=l;async function o(F,z,K){let U=Date.now();for(let H=0;H<F;H++){K(H);const V=Date.now()-U;V>=0&&V<z||(await(0,e.nextTick)(),U+=V)}}e.asyncLoop=o;function u(F){if(typeof F!="string")throw new Error(`utf8ToBytes expected string, got ${typeof F}`);return new Uint8Array(new TextEncoder().encode(F))}e.utf8ToBytes=u;
284function p(F){if(typeof F=="string"&&(F=u(F)),!r(F))throw new Error(`expected Uint8Array, got ${typeof F}`);return F}e.toBytes=p;function g(...F){const z=new Uint8Array(F.reduce((U,H)=>U+H.length,0));let K=0;return F.forEach(U=>{if(!r(U))throw new Error("Uint8Array expected");z.set(U,K),K+=U.length}),z}e.concatBytes=g;class y{clone(){return this._cloneInto()}}e.Hash=y;const b={}.toString;function x(F,z){if(z!==void 0&&b.call(z)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(F,z)}e.checkOpts=x;function w(F){const z=U=>F().update(p(U)).digest(),K=F();return z.outputLen=K.outputLen,z.blockLen=K.blockLen,z.create=()=>F(),z}e.wrapConstructor=w;function E(F){const z=(U,H)=>F(H).update(p(U)).digest(),K=F({});return z.outputLen=K.outputLen,z.blockLen=K.blockLen,z.create=U=>F(U),z}e.wrapConstructorWithOpts=E;function j(F){const z=(U,H)=>F(H).update(p(U)).digest(),K=F({});return z.outputLen=K.outputLen,z.blockLen=K.blockLen,z.create=U=>F(U),z}e.wrapXOFConstructorWithOpts=j;function T(F=32){if(t.crypto&&typeof t.crypto.getRandomValues=="function")return t.crypto.getRandomValues(new Uint8Array(F));throw new Error("crypto.getRandomValues must be defined")}e.randomBytes=T})(ax)),ax}var RC;function XP(){return RC||(RC=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.hmac=e.HMAC=void 0;const t=Jl(),r=Ei();class n extends r.Hash{constructor(c,f){super(),this.finished=!1,this.destroyed=!1,(0,t.hash)(c);const m=(0,r.toBytes)(f);if(this.iHash=c.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const h=this.blockLen,l=new Uint8Array(h);l.set(m.length>h?c.create().update(m).digest():m);for(let o=0;o<l.length;o++)l[o]^=54;this.iHash.update(l),this.oHash=c.create();for(let o=0;o<l.length;o++)l[o]^=106;this.oHash.update(l),l.fill(0)}update(c){return(0,t.exists)(this),this.iHash.update(c),this}digestInto(c){(0,t.exists)(this),(0,t.bytes)(c,this.outputLen),this.finished=!0,this.iHash.digestInto(c),this.oHash.update(c),this.oHash.digestInto(c),this.destroy()}digest(){const c=new Uint8Array(this.oHash.outputLen);return this.digestInto(c),c}_cloneInto(c){c||(c=Object.create(Object.getPrototypeOf(this),{}));const{oHash:f,iHash:m,finished:h,destroyed:l,blockLen:o,outputLen:u}=this;return c=c,c.finished=h,c.destroyed=l,c.blockLen=o,c.outputLen=u,c.oHash=f._cloneInto(c.oHash),c.iHash=m._cloneInto(c.iHash),c}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}e.HMAC=n;const a=(i,c,f)=>new n(i,c).update(f).digest();e.hmac=a,e.hmac.create=(i,c)=>new n(i,c)})(nx)),nx}var dc={},$d={},OC;function $P(){if(OC)return $d;OC=1,Object.defineProperty($d,"__esModule",{value:!0}),$d.SHA2=void 0;const e=Jl(),t=Ei();function r(a,i,c,f){if(typeof a.setBigUint64=="function")return a.setBigUint64(i,c,f);const m=BigInt(32),h=BigInt(4294967295),l=Number(c>>m&h),o=Number(c&h),u=f?4:0,p=f?0:4;a.setUint32(i+u,l,f),a.setUint32(i+p,o,f)}class n extends t.Hash{constructor(i,c,f,m){super(),this.blockLen=i,this.outputLen=c,this.padOffset=f,this.isLE=m,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=(0,t.createView)(this.buffer)}update(i){(0,e.exists)(this);const{view:c,buffer:f,blockLen:m}=this;i=(0,t.toBytes)(i);const h=i.length;for(let l=0;l<h;){const o=Math.min(m-this.pos,h-l);if(o===m){const u=(0,t.createView)(i);for(;m<=h-l;l+=m)this.process(u,l);continue}f.set(i.subarray(l,l+o),this.pos),this.pos+=o,l+=o,this.pos===m&&(this.process(c,0),this.pos=0)}return this.length+=i.length,this.roundClean(),this}digestInto(i){(0,e.exists)(this),(0,e.output)(i,this),this.finished=!0;const{buffer:c,view:f,blockLen:m,isLE:h}=this;let{pos:l}=this;c[l++]=128,this.buffer.subarray(l).fill(0),this.padOffset>m-l&&(this.process(f,0),l=0);for(let y=l;y<m;y++)c[y]=0;r(f,m-8,BigInt(this.length*8),h),this.process(f,0);const o=(0,t.createView)(i),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const p=u/4,g=this.get();if(p>g.length)throw new Error("_sha2: outputLen bigger than state");for(let y=0;y<p;y++)o.setUint32(4*y,g[y],h)}digest(){const{buffer:i,outputLen:c}=this;this.digestInto(i);const f=i.slice(0,c);return this.destroy(),f}_cloneInto(i){i||(i=new this.constructor),i.set(...this.get());const{blockLen:c,buffer:f,length:m,finished:h,destroyed:l,pos:o}=this;return i.length=m,i.pos=o,i.finished=h,i.destroyed=l,m%c&&i.buffer.set(f),i}}return $d.SHA2=n,$d}var CC;function Sz(){if(CC)return dc;CC=1,Object.defineProperty(dc,"__esModule",{value:!0}),dc.ripemd160=dc.RIPEMD160=void 0;
284const e=$P(),t=Ei(),r=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),n=Uint8Array.from({length:16},(b,x)=>x),a=n.map(b=>(9*b+5)%16);let i=[n],c=[a];for(let b=0;b<4;b++)for(let x of[i,c])x.push(x[b].map(w=>r[w]));const f=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(b=>new Uint8Array(b)),m=i.map((b,x)=>b.map(w=>f[x][w])),h=c.map((b,x)=>b.map(w=>f[x][w])),l=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),o=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),u=(b,x)=>b<<x|b>>>32-x;function p(b,x,w,E){return b===0?x^w^E:b===1?x&w|~x&E:b===2?(x|~w)^E:b===3?x&E|w&~E:x^(w|~E)}const g=new Uint32Array(16);class y extends e.SHA2{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:x,h1:w,h2:E,h3:j,h4:T}=this;return[x,w,E,j,T]}set(x,w,E,j,T){this.h0=x|0,this.h1=w|0,this.h2=E|0,this.h3=j|0,this.h4=T|0}process(x,w){for(let R=0;R<16;R++,w+=4)g[R]=x.getUint32(w,!0);let E=this.h0|0,j=E,T=this.h1|0,F=T,z=this.h2|0,K=z,U=this.h3|0,H=U,V=this.h4|0,Z=V;for(let R=0;R<5;R++){const _=4-R,k=l[R],M=o[R],B=i[R],C=c[R],q=m[R],W=h[R];for(let I=0;I<16;I++){const S=u(E+p(R,T,z,U)+g[B[I]]+k,q[I])+V|0;E=V,V=U,U=u(z,10)|0,z=T,T=S}for(let I=0;I<16;I++){const S=u(j+p(_,F,K,H)+g[C[I]]+M,W[I])+Z|0;j=Z,Z=H,H=u(K,10)|0,K=F,F=S}}this.set(this.h1+z+H|0,this.h2+U+Z|0,this.h3+V+j|0,this.h4+E+F|0,this.h0+T+K|0)}roundClean(){g.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}return dc.RIPEMD160=y,dc.ripemd160=(0,t.wrapConstructor)(()=>new y),dc}var fc={},IC;function pw(){if(IC)return fc;IC=1,Object.defineProperty(fc,"__esModule",{value:!0}),fc.sha224=fc.sha256=void 0;const e=$P(),t=Ei(),r=(h,l,o)=>h&l^~h&o,n=(h,l,o)=>h&l^h&o^l&o,a=new Uint32Array([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]),i=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),c=new Uint32Array(64);class f extends e.SHA2{constructor(){super(64,32,8,!1),this.A=i[0]|0,this.B=i[1]|0,this.C=i[2]|0,this.D=i[3]|0,this.E=i[4]|0,this.F=i[5]|0,this.G=i[6]|0,this.H=i[7]|0}get(){const{A:l,B:o,C:u,D:p,E:g,F:y,G:b,H:x}=this;return[l,o,u,p,g,y,b,x]}set(l,o,u,p,g,y,b,x){this.A=l|0,this.B=o|0,this.C=u|0,this.D=p|0,this.E=g|0,this.F=y|0,this.G=b|0,this.H=x|0}process(l,o){for(let j=0;j<16;j++,o+=4)c[j]=l.getUint32(o,!1);for(let j=16;j<64;j++){const T=c[j-15],F=c[j-2],z=(0,t.rotr)(T,7)^(0,t.rotr)(T,18)^T>>>3,K=(0,t.rotr)(F,17)^(0,t.rotr)(F,19)^F>>>10;c[j]=K+c[j-7]+z+c[j-16]|0}let{A:u,B:p,C:g,D:y,E:b,F:x,G:w,H:E}=this;for(let j=0;j<64;j++){const T=(0,t.rotr)(b,6)^(0,t.rotr)(b,11)^(0,t.rotr)(b,25),F=E+T+r(b,x,w)+a[j]+c[j]|0,K=((0,t.rotr)(u,2)^(0,t.rotr)(u,13)^(0,t.rotr)(u,22))+n(u,p,g)|0;E=w,w=x,x=b,b=y+F|0,y=g,g=p,p=u,u=F+K|0}u=u+this.A|0,p=p+this.B|0,g=g+this.C|0,y=y+this.D|0,b=b+this.E|0,x=x+this.F|0,w=w+this.G|0,E=E+this.H|0,this.set(u,p,g,y,b,x,w,E)}roundClean(){c.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class m extends f{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}return fc.sha256=(0,t.wrapConstructor)(()=>new f),fc.sha224=(0,t.wrapConstructor)(()=>new m),fc}var Pa={},Et={},NC;function kz(){if(NC)return Et;
284NC=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.add5L=Et.add5H=Et.add4H=Et.add4L=Et.add3H=Et.add3L=Et.add=Et.rotlBL=Et.rotlBH=Et.rotlSL=Et.rotlSH=Et.rotr32L=Et.rotr32H=Et.rotrBL=Et.rotrBH=Et.rotrSL=Et.rotrSH=Et.shrSL=Et.shrSH=Et.toBig=Et.split=Et.fromBig=void 0;const e=BigInt(2**32-1),t=BigInt(32);function r(U,H=!1){return H?{h:Number(U&e),l:Number(U>>t&e)}:{h:Number(U>>t&e)|0,l:Number(U&e)|0}}Et.fromBig=r;function n(U,H=!1){let V=new Uint32Array(U.length),Z=new Uint32Array(U.length);for(let R=0;R<U.length;R++){const{h:_,l:k}=r(U[R],H);[V[R],Z[R]]=[_,k]}return[V,Z]}Et.split=n;const a=(U,H)=>BigInt(U>>>0)<<t|BigInt(H>>>0);Et.toBig=a;const i=(U,H,V)=>U>>>V;Et.shrSH=i;const c=(U,H,V)=>U<<32-V|H>>>V;Et.shrSL=c;const f=(U,H,V)=>U>>>V|H<<32-V;Et.rotrSH=f;const m=(U,H,V)=>U<<32-V|H>>>V;Et.rotrSL=m;const h=(U,H,V)=>U<<64-V|H>>>V-32;Et.rotrBH=h;const l=(U,H,V)=>U>>>V-32|H<<64-V;Et.rotrBL=l;const o=(U,H)=>H;Et.rotr32H=o;const u=(U,H)=>U;Et.rotr32L=u;const p=(U,H,V)=>U<<V|H>>>32-V;Et.rotlSH=p;const g=(U,H,V)=>H<<V|U>>>32-V;Et.rotlSL=g;const y=(U,H,V)=>H<<V-32|U>>>64-V;Et.rotlBH=y;const b=(U,H,V)=>U<<V-32|H>>>64-V;Et.rotlBL=b;function x(U,H,V,Z){const R=(H>>>0)+(Z>>>0);return{h:U+V+(R/2**32|0)|0,l:R|0}}Et.add=x;const w=(U,H,V)=>(U>>>0)+(H>>>0)+(V>>>0);Et.add3L=w;const E=(U,H,V,Z)=>H+V+Z+(U/2**32|0)|0;Et.add3H=E;const j=(U,H,V,Z)=>(U>>>0)+(H>>>0)+(V>>>0)+(Z>>>0);Et.add4L=j;const T=(U,H,V,Z,R)=>H+V+Z+R+(U/2**32|0)|0;Et.add4H=T;const F=(U,H,V,Z,R)=>(U>>>0)+(H>>>0)+(V>>>0)+(Z>>>0)+(R>>>0);Et.add5L=F;const z=(U,H,V,Z,R,_)=>H+V+Z+R+_+(U/2**32|0)|0;Et.add5H=z;const K={fromBig:r,split:n,toBig:a,shrSH:i,shrSL:c,rotrSH:f,rotrSL:m,rotrBH:h,rotrBL:l,rotr32H:o,rotr32L:u,rotlSH:p,rotlSL:g,rotlBH:y,rotlBL:b,add:x,add3L:w,add3H:E,add4L:j,add4H:T,add5H:z,add5L:F};return Et.default=K,Et}var MC;function Tz(){if(MC)return Pa;MC=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.sha384=Pa.sha512_256=Pa.sha512_224=Pa.sha512=Pa.SHA512=void 0;const e=$P(),t=kz(),r=Ei(),[n,a]=t.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
2845771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(o=>BigInt(o))),i=new Uint32Array(80),c=new Uint32Array(80);class f extends e.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:u,Al:p,Bh:g,Bl:y,Ch:b,Cl:x,Dh:w,Dl:E,Eh:j,El:T,Fh:F,Fl:z,Gh:K,Gl:U,Hh:H,Hl:V}=this;return[u,p,g,y,b,x,w,E,j,T,F,z,K,U,H,V]}set(u,p,g,y,b,x,w,E,j,T,F,z,K,U,H,V){this.Ah=u|0,this.Al=p|0,this.Bh=g|0,this.Bl=y|0,this.Ch=b|0,this.Cl=x|0,this.Dh=w|0,this.Dl=E|0,this.Eh=j|0,this.El=T|0,this.Fh=F|0,this.Fl=z|0,this.Gh=K|0,this.Gl=U|0,this.Hh=H|0,this.Hl=V|0}process(u,p){for(let _=0;_<16;_++,p+=4)i[_]=u.getUint32(p),c[_]=u.getUint32(p+=4);for(let _=16;_<80;_++){const k=i[_-15]|0,M=c[_-15]|0,B=t.default.rotrSH(k,M,1)^t.default.rotrSH(k,M,8)^t.default.shrSH(k,M,7),C=t.default.rotrSL(k,M,1)^t.default.rotrSL(k,M,8)^t.default.shrSL(k,M,7),q=i[_-2]|0,W=c[_-2]|0,I=t.default.rotrSH(q,W,19)^t.default.rotrBH(q,W,61)^t.default.shrSH(q,W,6),S=t.default.rotrSL(q,W,19)^t.default.rotrBL(q,W,61)^t.default.shrSL(q,W,6),O=t.default.add4L(C,S,c[_-7],c[_-16]),Y=t.default.add4H(O,B,I,i[_-7],i[_-16]);i[_]=Y|0,c[_]=O|0}let{Ah:g,Al:y,Bh:b,Bl:x,Ch:w,Cl:E,Dh:j,Dl:T,Eh:F,El:z,Fh:K,Fl:U,Gh:H,Gl:V,Hh:Z,Hl:R}=this;for(let _=0;_<80;_++){const k=t.default.rotrSH(F,z,14)^t.default.rotrSH(F,z,18)^t.default.rotrBH(F,z,41),M=t.default.rotrSL(F,z,14)^t.default.rotrSL(F,z,18)^t.default.rotrBL(F,z,41),B=F&K^~F&H,C=z&U^~z&V,q=t.default.add5L(R,M,C,a[_],c[_]),W=t.default.add5H(q,Z,k,B,n[_],i[_]),I=q|0,S=t.default.rotrSH(g,y,28)^t.default.rotrBH(g,y,34)^t.default.rotrBH(g,y,39),O=t.default.rotrSL(g,y,28)^t.default.rotrBL(g,y,34)^t.default.rotrBL(g,y,39),Y=g&b^g&w^b&w,Q=y&x^y&E^x&E;Z=H|0,R=V|0,H=K|0,V=U|0,K=F|0,U=z|0,{h:F,l:z}=t.default.add(j|0,T|0,W|0,I|0),j=w|0,T=E|0,w=b|0,E=x|0,b=g|0,x=y|0;const ne=t.default.add3L(I,O,Q);g=t.default.add3H(ne,W,S,Y),y=ne|0}({h:g,l:y}=t.default.add(this.Ah|0,this.Al|0,g|0,y|0)),{h:b,l:x}=t.default.add(this.Bh|0,this.Bl|0,b|0,x|0),{h:w,l:E}=t.default.add(this.Ch|0,this.Cl|0,w|0,E|0),{h:j,l:T}=t.default.add(this.Dh|0,this.Dl|0,j|0,T|0),{h:F,l:z}=t.default.add(this.Eh|0,this.El|0,F|0,z|0),{h:K,l:U}=t.default.add(this.Fh|0,this.Fl|0,K|0,U|0),{h:H,l:V}=t.default.add(this.Gh|0,this.Gl|0,H|0,V|0),{h:Z,l:R}=t.default.add(this.Hh|0,this.Hl|0,Z|0,R|0),this.set(g,y,b,x,w,E,j,T,F,z,K,U,H,V,Z,R)}roundClean(){i.fill(0),c.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}Pa.SHA512=f;class m extends f{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class h extends f{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class l extends f{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}return Pa.sha512=(0,r.wrapConstructor)(()=>new f),Pa.sha512_224=(0,r.wrapConstructor)(()=>new m),Pa.sha512_256=(0,r.wrapConstructor)(()=>new h),Pa.sha384=(0,r.wrapConstructor)(()=>new l),Pa}var ix={},Ot={},Ft={},FC;function du(){if(FC)return Ft;
284FC=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.validateObject=Ft.createHmacDrbg=Ft.bitMask=Ft.bitSet=Ft.bitGet=Ft.bitLen=Ft.utf8ToBytes=Ft.equalBytes=Ft.concatBytes=Ft.ensureBytes=Ft.numberToVarBytesBE=Ft.numberToBytesLE=Ft.numberToBytesBE=Ft.bytesToNumberLE=Ft.bytesToNumberBE=Ft.hexToBytes=Ft.hexToNumber=Ft.numberToHexUnpadded=Ft.bytesToHex=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=BigInt(0),t=BigInt(1),r=BigInt(2),n=V=>V instanceof Uint8Array,a=Array.from({length:256},(V,Z)=>Z.toString(16).padStart(2,"0"));function i(V){if(!n(V))throw new Error("Uint8Array expected");let Z="";for(let R=0;R<V.length;R++)Z+=a[V[R]];return Z}Ft.bytesToHex=i;function c(V){const Z=V.toString(16);return Z.length&1?`0${Z}`:Z}Ft.numberToHexUnpadded=c;function f(V){if(typeof V!="string")throw new Error("hex string expected, got "+typeof V);return BigInt(V===""?"0":`0x${V}`)}Ft.hexToNumber=f;function m(V){if(typeof V!="string")throw new Error("hex string expected, got "+typeof V);const Z=V.length;if(Z%2)throw new Error("padded hex string expected, got unpadded hex of length "+Z);const R=new Uint8Array(Z/2);for(let _=0;_<R.length;_++){const k=_*2,M=V.slice(k,k+2),B=Number.parseInt(M,16);if(Number.isNaN(B)||B<0)throw new Error("Invalid byte sequence");R[_]=B}return R}Ft.hexToBytes=m;function h(V){return f(i(V))}Ft.bytesToNumberBE=h;function l(V){if(!n(V))throw new Error("Uint8Array expected");return f(i(Uint8Array.from(V).reverse()))}Ft.bytesToNumberLE=l;function o(V,Z){return m(V.toString(16).padStart(Z*2,"0"))}Ft.numberToBytesBE=o;function u(V,Z){return o(V,Z).reverse()}Ft.numberToBytesLE=u;function p(V){return m(c(V))}Ft.numberToVarBytesBE=p;function g(V,Z,R){let _;if(typeof Z=="string")try{_=m(Z)}catch(M){throw new Error(`${V} must be valid hex string, got "${Z}". Cause: ${M}`)}else if(n(Z))_=Uint8Array.from(Z);else throw new Error(`${V} must be hex string or Uint8Array`);const k=_.length;if(typeof R=="number"&&k!==R)throw new Error(`${V} expected ${R} bytes, got ${k}`);return _}Ft.ensureBytes=g;function y(...V){const Z=new Uint8Array(V.reduce((_,k)=>_+k.length,0));let R=0;return V.forEach(_=>{if(!n(_))throw new Error("Uint8Array expected");Z.set(_,R),R+=_.length}),Z}Ft.concatBytes=y;function b(V,Z){if(V.length!==Z.length)return!1;for(let R=0;R<V.length;R++)if(V[R]!==Z[R])return!1;return!0}Ft.equalBytes=b;function x(V){if(typeof V!="string")throw new Error(`utf8ToBytes expected string, got ${typeof V}`);return new Uint8Array(new TextEncoder().encode(V))}Ft.utf8ToBytes=x;function w(V){let Z;for(Z=0;V>e;V>>=t,Z+=1);return Z}Ft.bitLen=w;function E(V,Z){return V>>BigInt(Z)&t}Ft.bitGet=E;const j=(V,Z,R)=>V|(R?t:e)<<BigInt(Z);Ft.bitSet=j;const T=V=>(r<<BigInt(V-1))-t;Ft.bitMask=T;const F=V=>new Uint8Array(V),z=V=>Uint8Array.from(V);function K(V,Z,R){if(typeof V!="number"||V<2)throw new Error("hashLen must be a number");if(typeof Z!="number"||Z<2)throw new Error("qByteLen must be a number");if(typeof R!="function")throw new Error("hmacFn must be a function");let _=F(V),k=F(V),M=0;const B=()=>{_.fill(1),k.fill(0),M=0},C=(...S)=>R(k,_,...S),q=(S=F())=>{k=C(z([0]),S),_=C(),S.length!==0&&(k=C(z([1]),S),_=C())},W=()=>{if(M++>=1e3)throw new Error("drbg: tried 1000 values");let S=0;const O=[];for(;S<Z;){_=C();const Y=_.slice();O.push(Y),S+=_.length}return y(...O)};return(S,O)=>{B(),q(S);let Y;for(;!(Y=O(W()));)q();return B(),Y}}Ft.createHmacDrbg=K;const U={bigint:V=>typeof V=="bigint",function:V=>typeof V=="function",boolean:V=>typeof V=="boolean",string:V=>typeof V=="string",stringOrUint8Array:V=>typeof V=="string"||V instanceof Uint8Array,isSafeInteger:V=>Number.isSafeInteger(V),array:V=>Array.isArray(V),field:(V,Z)=>Z.Fp.isValid(V),hash:V=>typeof V=="function"&&Number.isSafeInteger(V.outputLen)};function H(V,Z,R={}){const _=(k,M,B)=>{const C=U[M];if(typeof C!="function")throw new Error(`Invalid validator "${M}", expected function`);const q=V[k];if(!(B&&q===void 0)&&!C(q,V))throw new Error(`Invalid param ${String(k)}=${q} (${typeof q}), expected ${M}`)};for(const[k,M]of Object.entries(Z))_(k,M,!1);for(const[k,M]of Object.entries(R))_(k,M,!0);return V}return Ft.validateObject=H,Ft}var BC;function yy(){if(BC)return Ot;
284BC=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.mapHashToField=Ot.getMinHashLength=Ot.getFieldBytesLength=Ot.hashToPrivateScalar=Ot.FpSqrtEven=Ot.FpSqrtOdd=Ot.Field=Ot.nLength=Ot.FpIsSquare=Ot.FpDiv=Ot.FpInvertBatch=Ot.FpPow=Ot.validateField=Ot.isNegativeLE=Ot.FpSqrt=Ot.tonelliShanks=Ot.invert=Ot.pow2=Ot.pow=Ot.mod=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=du(),t=BigInt(0),r=BigInt(1),n=BigInt(2),a=BigInt(3),i=BigInt(4),c=BigInt(5),f=BigInt(8);BigInt(9),BigInt(16);function m(R,_){const k=R%_;return k>=t?k:_+k}Ot.mod=m;function h(R,_,k){if(k<=t||_<t)throw new Error("Expected power/modulo > 0");if(k===r)return t;let M=r;for(;_>t;)_&r&&(M=M*R%k),R=R*R%k,_>>=r;return M}Ot.pow=h;function l(R,_,k){let M=R;for(;_-- >t;)M*=M,M%=k;return M}Ot.pow2=l;function o(R,_){if(R===t||_<=t)throw new Error(`invert: expected positive integers, got n=${R} mod=${_}`);let k=m(R,_),M=_,B=t,C=r;for(;k!==t;){const W=M/k,I=M%k,S=B-C*W;M=k,k=I,B=C,C=S}if(M!==r)throw new Error("invert: does not exist");return m(B,_)}Ot.invert=o;function u(R){const _=(R-r)/n;let k,M,B;for(k=R-r,M=0;k%n===t;k/=n,M++);for(B=n;B<R&&h(B,_,R)!==R-r;B++);if(M===1){const q=(R+r)/i;return function(I,S){const O=I.pow(S,q);if(!I.eql(I.sqr(O),S))throw new Error("Cannot find square root");return O}}const C=(k+r)/n;return function(W,I){if(W.pow(I,_)===W.neg(W.ONE))throw new Error("Cannot find square root");let S=M,O=W.pow(W.mul(W.ONE,B),k),Y=W.pow(I,C),Q=W.pow(I,k);for(;!W.eql(Q,W.ONE);){if(W.eql(Q,W.ZERO))return W.ZERO;let ne=1;for(let ge=W.sqr(Q);ne<S&&!W.eql(ge,W.ONE);ne++)ge=W.sqr(ge);const oe=W.pow(O,r<<BigInt(S-ne-1));O=W.sqr(oe),Y=W.mul(Y,oe),Q=W.mul(Q,O),S=ne}return Y}}Ot.tonelliShanks=u;function p(R){if(R%i===a){const _=(R+r)/i;return function(M,B){const C=M.pow(B,_);if(!M.eql(M.sqr(C),B))throw new Error("Cannot find square root");return C}}if(R%f===c){const _=(R-c)/f;return function(M,B){const C=M.mul(B,n),q=M.pow(C,_),W=M.mul(B,q),I=M.mul(M.mul(W,n),q),S=M.mul(W,M.sub(I,M.ONE));if(!M.eql(M.sqr(S),B))throw new Error("Cannot find square root");return S}}return u(R)}Ot.FpSqrt=p;const g=(R,_)=>(m(R,_)&r)===r;Ot.isNegativeLE=g;const y=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function b(R){const _={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},k=y.reduce((M,B)=>(M[B]="function",M),_);return(0,e.validateObject)(R,k)}Ot.validateField=b;function x(R,_,k){if(k<t)throw new Error("Expected power > 0");if(k===t)return R.ONE;if(k===r)return _;let M=R.ONE,B=_;for(;k>t;)k&r&&(M=R.mul(M,B)),B=R.sqr(B),k>>=r;return M}Ot.FpPow=x;function w(R,_){const k=new Array(_.length),M=_.reduce((C,q,W)=>R.is0(q)?C:(k[W]=C,R.mul(C,q)),R.ONE),B=R.inv(M);return _.reduceRight((C,q,W)=>R.is0(q)?C:(k[W]=R.mul(C,k[W]),R.mul(C,q)),B),k}Ot.FpInvertBatch=w;function E(R,_,k){return R.mul(_,typeof k=="bigint"?o(k,R.ORDER):R.inv(k))}Ot.FpDiv=E;function j(R){const _=(R.ORDER-r)/n;return k=>{const M=R.pow(k,_);return R.eql(M,R.ZERO)||R.eql(M,R.ONE)}}Ot.FpIsSquare=j;function T(R,_){const k=_!==void 0?_:R.toString(2).length,M=Math.ceil(k/8);return{nBitLength:k,nByteLength:M}}Ot.nLength=T;function F(R,_,k=!1,M={}){if(R<=t)throw new Error(`Expected Field ORDER > 0, got ${R}`);const{nBitLength:B,nByteLength:C}=T(R,_);if(C>2048)throw new Error("Field lengths over 2048 bytes are not supported");const q=p(R),W=Object.freeze({ORDER:R,BITS:B,BYTES:C,MASK:(0,e.bitMask)(B),ZERO:t,ONE:r,create:I=>m(I,R),isValid:I=>{if(typeof I!="bigint")throw new Error(`Invalid field element: expected bigint, got ${typeof I}`);return t<=I&&I<R},is0:I=>I===t,isOdd:I=>(I&r)===r,neg:I=>m(-I,R),eql:(I,S)=>I===S,sqr:I=>m(I*I,R),add:(I,S)=>m(I+S,R),sub:(I,S)=>m(I-S,R),mul:(I,S)=>m(I*S,R),pow:(I,S)=>x(W,I,S),div:(I,S)=>m(I*o(S,R),R),sqrN:I=>I*I,addN:(I,S)=>I+S,subN:(I,S)=>I-S,mulN:(I,S)=>I*S,inv:I=>o(I,R),sqrt:M.sqrt||(I=>q(W,I)),invertBatch:I=>w(W,I),cmov:(I,S,O)=>O?S:I,toBytes:I=>k?(0,e.numberToBytesLE)(I,C):(0,e.numberToBytesBE)(I,C),fromBytes:I=>{if(I.length!==C)throw new Error(`Fp.fromBytes: expected ${C}, got ${I.length}`);return k?(0,e.bytesToNumberLE)(I):(0,e.bytesToNumberBE)(I)}});return Object.freeze(W)}Ot.Field=F;function z(R,_){if(!R.isOdd)throw new Error("Field doesn't have isOdd");const k=R.sqrt(_);return R.isOdd(k)?k:R.neg(k)}Ot.FpSqrtOdd=z;function K(R,_){if(!R.isOdd)throw new Error("Field doesn't have isOdd");const k=R.sqrt(_);return R.isOdd(k)?R.neg(k):k}Ot.FpSqrtEven=K;function U(R,_,k=!1){R=(0,e.ensureBytes)("privateHash",R);const M=R.length,B=T(_).nByteLength+8;if(B<24||M<B||M>1024)throw new Error(`hashToPrivateScalar: expected ${B}-1024 bytes of input, got ${M}`);const C=k?(0,e.bytesToNumberLE)(R):(0,e.bytesToNumberBE)(R);return m(C,_-r)+r}Ot.hashToPrivateScalar=U;function H(R){if(typeof R!="bigint")throw new Error("field order must be bigint");const _=R.toString(2).length;return Math.ceil(_/8)}Ot.getFieldBytesLength=H;function V(R){const _=H(R);return _+Math.ceil(_/2)}Ot.getMinHashLength=V;function Z(R,_,k=!1){const M=R.length,B=H(_),C=V(_);if(M<16||M<C||M>1024)throw new Error(`expected ${C}-1024 bytes of input, got ${M}`);const q=k?(0,e.bytesToNumberBE)(R):(0,e.bytesToNumberLE)(R),W=m(q,_-r)+r;return k?(0,e.numberToBytesLE)(W,B):(0,e.numberToBytesBE)(W,B)}return Ot.mapHashToField=Z,Ot}var sx={},hc={},UC;function bte(){if(UC)return hc;UC=1,Object.defineProperty(hc,"__esModule",{value:!0}),hc.validateBasic=hc.wNAF=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=yy(),t=du(),r
284=BigInt(0),n=BigInt(1);function a(c,f){const m=(l,o)=>{const u=o.negate();return l?u:o},h=l=>{const o=Math.ceil(f/l)+1,u=2**(l-1);return{windows:o,windowSize:u}};return{constTimeNegate:m,unsafeLadder(l,o){let u=c.ZERO,p=l;for(;o>r;)o&n&&(u=u.add(p)),p=p.double(),o>>=n;return u},precomputeWindow(l,o){const{windows:u,windowSize:p}=h(o),g=[];let y=l,b=y;for(let x=0;x<u;x++){b=y,g.push(b);for(let w=1;w<p;w++)b=b.add(y),g.push(b);y=b.double()}return g},wNAF(l,o,u){const{windows:p,windowSize:g}=h(l);let y=c.ZERO,b=c.BASE;const x=BigInt(2**l-1),w=2**l,E=BigInt(l);for(let j=0;j<p;j++){const T=j*g;let F=Number(u&x);u>>=E,F>g&&(F-=w,u+=n);const z=T,K=T+Math.abs(F)-1,U=j%2!==0,H=F<0;F===0?b=b.add(m(U,o[z])):y=y.add(m(H,o[K]))}return{p:y,f:b}},wNAFCached(l,o,u,p){const g=l._WINDOW_SIZE||1;let y=o.get(l);return y||(y=this.precomputeWindow(l,g),g!==1&&o.set(l,p(y))),this.wNAF(g,y,u)}}}hc.wNAF=a;function i(c){return(0,e.validateField)(c.Fp),(0,t.validateObject)(c,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,e.nLength)(c.n,c.nBitLength),...c,p:c.Fp.ORDER})}return hc.validateBasic=i,hc}var qC;function Rz(){return qC||(qC=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.mapToCurveSimpleSWU=e.SWUFpSqrtRatio=e.weierstrass=e.weierstrassPoints=e.DER=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const t=yy(),r=du(),n=du(),a=bte();function i(w){const E=(0,a.validateBasic)(w);r.validateObject(E,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:j,Fp:T,a:F}=E;if(j){if(!T.eql(F,T.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if(typeof j!="object"||typeof j.beta!="bigint"||typeof j.splitScalar!="function")throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...E})}const{bytesToNumberBE:c,hexToBytes:f}=r;e.DER={Err:class extends Error{constructor(E=""){super(E)}},_parseInt(w){const{Err:E}=e.DER;if(w.length<2||w[0]!==2)throw new E("Invalid signature integer tag");const j=w[1],T=w.subarray(2,j+2);if(!j||T.length!==j)throw new E("Invalid signature integer: wrong length");if(T[0]&128)throw new E("Invalid signature integer: negative");if(T[0]===0&&!(T[1]&128))throw new E("Invalid signature integer: unnecessary leading zero");return{d:c(T),l:w.subarray(j+2)}},toSig(w){const{Err:E}=e.DER,j=typeof w=="string"?f(w):w;if(!(j instanceof Uint8Array))throw new Error("ui8a expected");let T=j.length;if(T<2||j[0]!=48)throw new E("Invalid signature tag");if(j[1]!==T-2)throw new E("Invalid signature: incorrect length");const{d:F,l:z}=e.DER._parseInt(j.subarray(2)),{d:K,l:U}=e.DER._parseInt(z);if(U.length)throw new E("Invalid signature: left bytes after parsing");return{r:F,s:K}},hexFromSig(w){const E=V=>Number.parseInt(V[0],16)&8?"00"+V:V,j=V=>{const Z=V.toString(16);return Z.length&1?`0${Z}`:Z},T=E(j(w.s)),F=E(j(w.r)),z=T.length/2,K=F.length/2,U=j(z),H=j(K);return`30${j(K+z+4)}02${H}${F}02${U}${T}`}};const m=BigInt(0),h=BigInt(1),l=BigInt(2),o=BigInt(3),u=BigInt(4);function p(w){const E=i(w),{Fp:j}=E,T=E.toBytes||((M,B,C)=>{const q=B.toAffine();return r.concatBytes(Uint8Array.from([4]),j.toBytes(q.x),j.toBytes(q.y))}),F=E.fromBytes||(M=>{const B=M.subarray(1),C=j.fromBytes(B.subarray(0,j.BYTES)),q=j.fromBytes(B.subarray(j.BYTES,2*j.BYTES));return{x:C,y:q}});function z(M){const{a:B,b:C}=E,q=j.sqr(M),W=j.mul(q,M);return j.add(j.add(W,j.mul(M,B)),C)}if(!j.eql(j.sqr(E.Gy),z(E.Gx)))throw new Error("bad generator point: equation left != right");function K(M){return typeof M=="bigint"&&m<M&&M<E.n}function U(M){if(!K(M))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function H(M){const{allowedPrivateKeyLengths:B,nByteLength:C,wrapPrivateKey:q,n:W}=E;if(B&&typeof M!="bigint"){if(M instanceof Uint8Array&&(M=r.bytesToHex(M)),typeof M!="string"||!B.includes(M.length))throw new Error("Invalid key");M=M.padStart(C*2,"0")}let I;try{I=typeof M=="bigint"?M:r.bytesToNumberBE((0,n.ensureBytes)("private key",M,C))}catch{throw new Error(`private key must be ${C} bytes, hex or bigint, not ${typeof M}`)}return q&&(I=t.mod(I,W)),U(I),I}const V=new Map;function Z(M){if(!(M instanceof R))throw new Error("ProjectivePoint expected")}class R{constructor(B,C,q){if(this.px=B,this.py=C,this.pz=q,B==null||!j.isValid(B))throw new Error("x required");if(C==null||!j.isValid(C))throw new Error("y required");if(q==null||!j.isValid(q))throw new Error("z required")}static fromAffine(B){const{x:C,y:q}=B||{};if(!B||!j.isValid(C)||!j.isValid(q))throw new Error("invalid affine point");if(B instanceof R)throw new Error("projective point not allowed");const W=I=>j.eql(I,j.ZERO);return W(C)&&W(q)?R.ZERO:new R(C,q,j.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(B){const C=j.invertBatch(B.map(q=>q.pz));return B.map((q,W)=>q.toAffine(C[W])).map(R.fromAffine)}static fromHex(B){const C=R.fromAffine(F((0,n.ensureBytes)("pointHex",B)));return C.assertValidity(),C}static fromPrivateKey(B){return R.BASE.multiply(H(B))}_setWindowSize(B){this._WINDOW_SIZE=B,V.delete(this)}
284assertValidity(){if(this.is0()){if(E.allowInfinityPoint&&!j.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:B,y:C}=this.toAffine();if(!j.isValid(B)||!j.isValid(C))throw new Error("bad point: x or y not FE");const q=j.sqr(C),W=z(B);if(!j.eql(q,W))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:B}=this.toAffine();if(j.isOdd)return!j.isOdd(B);throw new Error("Field doesn't support isOdd")}equals(B){Z(B);const{px:C,py:q,pz:W}=this,{px:I,py:S,pz:O}=B,Y=j.eql(j.mul(C,O),j.mul(I,W)),Q=j.eql(j.mul(q,O),j.mul(S,W));return Y&&Q}negate(){return new R(this.px,j.neg(this.py),this.pz)}double(){const{a:B,b:C}=E,q=j.mul(C,o),{px:W,py:I,pz:S}=this;let O=j.ZERO,Y=j.ZERO,Q=j.ZERO,ne=j.mul(W,W),oe=j.mul(I,I),ge=j.mul(S,S),we=j.mul(W,I);return we=j.add(we,we),Q=j.mul(W,S),Q=j.add(Q,Q),O=j.mul(B,Q),Y=j.mul(q,ge),Y=j.add(O,Y),O=j.sub(oe,Y),Y=j.add(oe,Y),Y=j.mul(O,Y),O=j.mul(we,O),Q=j.mul(q,Q),ge=j.mul(B,ge),we=j.sub(ne,ge),we=j.mul(B,we),we=j.add(we,Q),Q=j.add(ne,ne),ne=j.add(Q,ne),ne=j.add(ne,ge),ne=j.mul(ne,we),Y=j.add(Y,ne),ge=j.mul(I,S),ge=j.add(ge,ge),ne=j.mul(ge,we),O=j.sub(O,ne),Q=j.mul(ge,oe),Q=j.add(Q,Q),Q=j.add(Q,Q),new R(O,Y,Q)}add(B){Z(B);const{px:C,py:q,pz:W}=this,{px:I,py:S,pz:O}=B;let Y=j.ZERO,Q=j.ZERO,ne=j.ZERO;const oe=E.a,ge=j.mul(E.b,o);let we=j.mul(C,I),Ue=j.mul(q,S),ye=j.mul(W,O),de=j.add(C,q),Se=j.add(I,S);de=j.mul(de,Se),Se=j.add(we,Ue),de=j.sub(de,Se),Se=j.add(C,W);let Oe=j.add(I,O);return Se=j.mul(Se,Oe),Oe=j.add(we,ye),Se=j.sub(Se,Oe),Oe=j.add(q,W),Y=j.add(S,O),Oe=j.mul(Oe,Y),Y=j.add(Ue,ye),Oe=j.sub(Oe,Y),ne=j.mul(oe,Se),Y=j.mul(ge,ye),ne=j.add(Y,ne),Y=j.sub(Ue,ne),ne=j.add(Ue,ne),Q=j.mul(Y,ne),Ue=j.add(we,we),Ue=j.add(Ue,we),ye=j.mul(oe,ye),Se=j.mul(ge,Se),Ue=j.add(Ue,ye),ye=j.sub(we,ye),ye=j.mul(oe,ye),Se=j.add(Se,ye),we=j.mul(Ue,Se),Q=j.add(Q,we),we=j.mul(Oe,Se),Y=j.mul(de,Y),Y=j.sub(Y,we),we=j.mul(de,Ue),ne=j.mul(Oe,ne),ne=j.add(ne,we),new R(Y,Q,ne)}subtract(B){return this.add(B.negate())}is0(){return this.equals(R.ZERO)}wNAF(B){return k.wNAFCached(this,V,B,C=>{const q=j.invertBatch(C.map(W=>W.pz));return C.map((W,I)=>W.toAffine(q[I])).map(R.fromAffine)})}multiplyUnsafe(B){const C=R.ZERO;if(B===m)return C;if(U(B),B===h)return this;const{endo:q}=E;if(!q)return k.unsafeLadder(this,B);let{k1neg:W,k1:I,k2neg:S,k2:O}=q.splitScalar(B),Y=C,Q=C,ne=this;for(;I>m||O>m;)I&h&&(Y=Y.add(ne)),O&h&&(Q=Q.add(ne)),ne=ne.double(),I>>=h,O>>=h;return W&&(Y=Y.negate()),S&&(Q=Q.negate()),Q=new R(j.mul(Q.px,q.beta),Q.py,Q.pz),Y.add(Q)}multiply(B){U(B);let C=B,q,W;const{endo:I}=E;if(I){const{k1neg:S,k1:O,k2neg:Y,k2:Q}=I.splitScalar(C);let{p:ne,f:oe}=this.wNAF(O),{p:ge,f:we}=this.wNAF(Q);ne=k.constTimeNegate(S,ne),ge=k.constTimeNegate(Y,ge),ge=new R(j.mul(ge.px,I.beta),ge.py,ge.pz),q=ne.add(ge),W=oe.add(we)}else{const{p:S,f:O}=this.wNAF(C);q=S,W=O}return R.normalizeZ([q,W])[0]}multiplyAndAddUnsafe(B,C,q){const W=R.BASE,I=(O,Y)=>Y===m||Y===h||!O.equals(W)?O.multiplyUnsafe(Y):O.multiply(Y),S=I(this,C).add(I(B,q));return S.is0()?void 0:S}toAffine(B){const{px:C,py:q,pz:W}=this,I=this.is0();B==null&&(B=I?j.ONE:j.inv(W));const S=j.mul(C,B),O=j.mul(q,B),Y=j.mul(W,B);if(I)return{x:j.ZERO,y:j.ZERO};if(!j.eql(Y,j.ONE))throw new Error("invZ was invalid");return{x:S,y:O}}isTorsionFree(){const{h:B,isTorsionFree:C}=E;if(B===h)return!0;if(C)return C(R,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:B,clearCofactor:C}=E;return B===h?this:C?C(R,this):this.multiplyUnsafe(E.h)}toRawBytes(B=!0){return this.assertValidity(),T(R,this,B)}toHex(B=!0){return r.bytesToHex(this.toRawBytes(B))}}R.BASE=new R(E.Gx,E.Gy,j.ONE),R.ZERO=new R(j.ZERO,j.ONE,j.ZERO);const _=E.nBitLength,k=(0,a.wNAF)(R,E.endo?Math.ceil(_/2):_);return{CURVE:E,ProjectivePoint:R,normPrivateKeyToScalar:H,weierstrassEquation:z,isWithinCurveOrder:K}}e.weierstrassPoints=p;function g(w){const E=(0,a.validateBasic)(w);return r.validateObject(E,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...E})}function y(w){const E=g(w),{Fp:j,n:T}=E,F=j.BYTES+1,z=2*j.BYTES+1;function K(Se){return m<Se&&Se<j.ORDER}function U(Se){return t.mod(Se,T)}function H(Se){return t.invert(Se,T)}const{ProjectivePoint:V,normPrivateKeyToScalar:Z,weierstrassEquation:R,isWithinCurveOrder:_}=p({...E,toBytes(Se,Oe,Be){const Pt=Oe.toAffine(),Ge=j.toBytes(Pt.x),ft=r.concatBytes;return Be?ft(Uint8Array.from([Oe.hasEvenY()?2:3]),Ge):ft(Uint8Array.from([4]),Ge,j.toBytes(Pt.y))},fromBytes(Se){const Oe=Se.length,Be=Se[0],Pt=Se.subarray(1);if(Oe===F&&(Be===2||Be===3)){const Ge=r.bytesToNumberBE(Pt);
284if(!K(Ge))throw new Error("Point is not on curve");const ft=R(Ge);let er=j.sqrt(ft);const dt=(er&h)===h;return(Be&1)===1!==dt&&(er=j.neg(er)),{x:Ge,y:er}}else if(Oe===z&&Be===4){const Ge=j.fromBytes(Pt.subarray(0,j.BYTES)),ft=j.fromBytes(Pt.subarray(j.BYTES,2*j.BYTES));return{x:Ge,y:ft}}else throw new Error(`Point of length ${Oe} was invalid. Expected ${F} compressed bytes or ${z} uncompressed bytes`)}}),k=Se=>r.bytesToHex(r.numberToBytesBE(Se,E.nByteLength));function M(Se){const Oe=T>>h;return Se>Oe}function B(Se){return M(Se)?U(-Se):Se}const C=(Se,Oe,Be)=>r.bytesToNumberBE(Se.slice(Oe,Be));class q{constructor(Oe,Be,Pt){this.r=Oe,this.s=Be,this.recovery=Pt,this.assertValidity()}static fromCompact(Oe){const Be=E.nByteLength;return Oe=(0,n.ensureBytes)("compactSignature",Oe,Be*2),new q(C(Oe,0,Be),C(Oe,Be,2*Be))}static fromDER(Oe){const{r:Be,s:Pt}=e.DER.toSig((0,n.ensureBytes)("DER",Oe));return new q(Be,Pt)}assertValidity(){if(!_(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!_(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(Oe){return new q(this.r,this.s,Oe)}recoverPublicKey(Oe){const{r:Be,s:Pt,recovery:Ge}=this,ft=Q((0,n.ensureBytes)("msgHash",Oe));if(Ge==null||![0,1,2,3].includes(Ge))throw new Error("recovery id invalid");const er=Ge===2||Ge===3?Be+E.n:Be;if(er>=j.ORDER)throw new Error("recovery id 2 or 3 invalid");const dt=(Ge&1)===0?"02":"03",vt=V.fromHex(dt+k(er)),It=H(er),Rt=U(-ft*It),Nt=U(Pt*It),sr=V.BASE.multiplyAndAddUnsafe(vt,Rt,Nt);if(!sr)throw new Error("point at infinify");return sr.assertValidity(),sr}hasHighS(){return M(this.s)}normalizeS(){return this.hasHighS()?new q(this.r,U(-this.s),this.recovery):this}toDERRawBytes(){return r.hexToBytes(this.toDERHex())}toDERHex(){return e.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return r.hexToBytes(this.toCompactHex())}toCompactHex(){return k(this.r)+k(this.s)}}const W={isValidPrivateKey(Se){try{return Z(Se),!0}catch{return!1}},normPrivateKeyToScalar:Z,randomPrivateKey:()=>{const Se=t.getMinHashLength(E.n);return t.mapHashToField(E.randomBytes(Se),E.n)},precompute(Se=8,Oe=V.BASE){return Oe._setWindowSize(Se),Oe.multiply(BigInt(3)),Oe}};function I(Se,Oe=!0){return V.fromPrivateKey(Se).toRawBytes(Oe)}function S(Se){const Oe=Se instanceof Uint8Array,Be=typeof Se=="string",Pt=(Oe||Be)&&Se.length;return Oe?Pt===F||Pt===z:Be?Pt===2*F||Pt===2*z:Se instanceof V}function O(Se,Oe,Be=!0){if(S(Se))throw new Error("first arg must be private key");if(!S(Oe))throw new Error("second arg must be public key");return V.fromHex(Oe).multiply(Z(Se)).toRawBytes(Be)}const Y=E.bits2int||function(Se){const Oe=r.bytesToNumberBE(Se),Be=Se.length*8-E.nBitLength;return Be>0?Oe>>BigInt(Be):Oe},Q=E.bits2int_modN||function(Se){return U(Y(Se))},ne=r.bitMask(E.nBitLength);function oe(Se){if(typeof Se!="bigint")throw new Error("bigint expected");if(!(m<=Se&&Se<ne))throw new Error(`bigint expected < 2^${E.nBitLength}`);return r.numberToBytesBE(Se,E.nByteLength)}function ge(Se,Oe,Be=we){if(["recovered","canonical"].some(X=>X in Be))throw new Error("sign() legacy options not supported");const{hash:Pt,randomBytes:Ge}=E;let{lowS:ft,prehash:er,extraEntropy:dt}=Be;ft==null&&(ft=!0),Se=(0,n.ensureBytes)("msgHash",Se),er&&(Se=(0,n.ensureBytes)("prehashed msgHash",Pt(Se)));const vt=Q(Se),It=Z(Oe),Rt=[oe(It),oe(vt)];if(dt!=null){const X=dt===!0?Ge(j.BYTES):dt;Rt.push((0,n.ensureBytes)("extraEntropy",X))}const Nt=r.concatBytes(...Rt),sr=vt;function be(X){const L=Y(X);if(!_(L))return;const G=H(L),re=V.BASE.multiply(L).toAffine(),fe=U(re.x);if(fe===m)return;const ve=U(G*U(sr+fe*It));if(ve===m)return;let ke=(re.x===fe?0:2)|Number(re.y&h),mt=ve;return ft&&M(ve)&&(mt=B(ve),ke^=1),new q(fe,mt,ke)}return{seed:Nt,k2sig:be}}const we={lowS:E.lowS,prehash:!1},Ue={lowS:E.lowS,prehash:!1};function ye(Se,Oe,Be=we){const{seed:Pt,k2sig:Ge}=ge(Se,Oe,Be),ft=E;return r.createHmacDrbg(ft.hash.outputLen,ft.nByteLength,ft.hmac)(Pt,Ge)}V.BASE._setWindowSize(8);function de(Se,Oe,Be,Pt=Ue){const Ge=Se;if(Oe=(0,n.ensureBytes)("msgHash",Oe),Be=(0,n.ensureBytes)("publicKey",Be),"strict"in Pt)throw new Error("options.strict was renamed to lowS");const{lowS:ft,prehash:er}=Pt;let dt,vt;try{if(typeof Ge=="string"||Ge instanceof Uint8Array)try{dt=q.fromDER(Ge)}catch(re){if(!(re instanceof e.DER.Err))throw re;dt=q.fromCompact(Ge)}else if(typeof Ge=="object"&&typeof Ge.r=="bigint"&&typeof Ge.s=="bigint"){const{r:re,s:fe}=Ge;dt=new q(re,fe)}else throw new Error("PARSE");vt=V.fromHex(Be)}catch(re){if(re.message==="PARSE")throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(ft&&dt.hasHighS())return!1;er&&(Oe=E.hash(Oe));const{r:It,s:Rt}=dt,Nt=Q(Oe),sr=H(Rt),be=U(Nt*sr),X=U(It*sr),L=V.BASE.multiplyAndAddUnsafe(vt,be,X)?.toAffine();return L?U(L.x)===It:!1}return{CURVE:E,getPublicKey:I,getSharedSecret:O,sign:ye,verify:de,ProjectivePoint:V,Signature:q,utils:W}}e.weierstrass=y;function b(w,E){const j=w.ORDER;let T=m;for(let M=j-h;M%l===m;M/=l)T+=h;const F=T,z=l<<F-h-h,K=z*l,U=(j-h)/K,H=(U-h)/l,V=K-h,Z=z,R=w.pow(E,U),_=w.pow(E,(U+h)/l);let k=(M,B)=>{let C=R,q=w.pow(B,V),W=w.sqr(q);W=w.mul(W,B);let I=w.mul(M,W);I=w.pow(I,H),I=w.mul(I,q),q=w.mul(I,B),W=w.mul(I,M);let S=w.mul(W,q);I=w.pow(S,Z);let O=w.eql(I,w.ONE);
284q=w.mul(W,_),I=w.mul(S,C),W=w.cmov(q,W,O),S=w.cmov(I,S,O);for(let Y=F;Y>h;Y--){let Q=Y-l;Q=l<<Q-h;let ne=w.pow(S,Q);const oe=w.eql(ne,w.ONE);q=w.mul(W,C),C=w.mul(C,C),ne=w.mul(S,C),W=w.cmov(q,W,oe),S=w.cmov(ne,S,oe)}return{isValid:O,value:W}};if(w.ORDER%u===o){const M=(w.ORDER-o)/u,B=w.sqrt(w.neg(E));k=(C,q)=>{let W=w.sqr(q);const I=w.mul(C,q);W=w.mul(W,I);let S=w.pow(W,M);S=w.mul(S,I);const O=w.mul(S,B),Y=w.mul(w.sqr(S),q),Q=w.eql(Y,C);let ne=w.cmov(O,S,Q);return{isValid:Q,value:ne}}}return k}e.SWUFpSqrtRatio=b;function x(w,E){if(t.validateField(w),!w.isValid(E.A)||!w.isValid(E.B)||!w.isValid(E.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const j=b(w,E.Z);if(!w.isOdd)throw new Error("Fp.isOdd is not implemented!");return T=>{let F,z,K,U,H,V,Z,R;F=w.sqr(T),F=w.mul(F,E.Z),z=w.sqr(F),z=w.add(z,F),K=w.add(z,w.ONE),K=w.mul(K,E.B),U=w.cmov(E.Z,w.neg(z),!w.eql(z,w.ZERO)),U=w.mul(U,E.A),z=w.sqr(K),V=w.sqr(U),H=w.mul(V,E.A),z=w.add(z,H),z=w.mul(z,K),V=w.mul(V,U),H=w.mul(V,E.B),z=w.add(z,H),Z=w.mul(F,K);const{isValid:_,value:k}=j(z,V);R=w.mul(F,T),R=w.mul(R,k),Z=w.cmov(Z,K,_),R=w.cmov(R,k,_);const M=w.isOdd(T)===w.isOdd(R);return R=w.cmov(w.neg(R),R,M),Z=w.div(Z,U),{x:Z,y:R}}}e.mapToCurveSimpleSWU=x})(sx)),sx}var Sa={},LC;function vte(){if(LC)return Sa;LC=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.createHasher=Sa.isogenyMap=Sa.hash_to_field=Sa.expand_message_xof=Sa.expand_message_xmd=void 0;const e=yy(),t=du();function r(p){if(p instanceof Uint8Array)return p;if(typeof p=="string")return(0,t.utf8ToBytes)(p);throw new Error("DST must be Uint8Array or string")}const n=t.bytesToNumberBE;function a(p,g){if(p<0||p>=1<<8*g)throw new Error(`bad I2OSP call: value=${p} length=${g}`);const y=Array.from({length:g}).fill(0);for(let b=g-1;b>=0;b--)y[b]=p&255,p>>>=8;return new Uint8Array(y)}function i(p,g){const y=new Uint8Array(p.length);for(let b=0;b<p.length;b++)y[b]=p[b]^g[b];return y}function c(p){if(!(p instanceof Uint8Array))throw new Error("Uint8Array expected")}function f(p){if(!Number.isSafeInteger(p))throw new Error("number expected")}function m(p,g,y,b){c(p),c(g),f(y),g.length>255&&(g=b((0,t.concatBytes)((0,t.utf8ToBytes)("H2C-OVERSIZE-DST-"),g)));const{outputLen:x,blockLen:w}=b,E=Math.ceil(y/x);if(E>255)throw new Error("Invalid xmd length");const j=(0,t.concatBytes)(g,a(g.length,1)),T=a(0,w),F=a(y,2),z=new Array(E),K=b((0,t.concatBytes)(T,p,F,a(0,1),j));z[0]=b((0,t.concatBytes)(K,a(1,1),j));for(let H=1;H<=E;H++){const V=[i(K,z[H-1]),a(H+1,1),j];z[H]=b((0,t.concatBytes)(...V))}return(0,t.concatBytes)(...z).slice(0,y)}Sa.expand_message_xmd=m;function h(p,g,y,b,x){if(c(p),c(g),f(y),g.length>255){const w=Math.ceil(2*b/8);g=x.create({dkLen:w}).update((0,t.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(g).digest()}if(y>65535||g.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return x.create({dkLen:y}).update(p).update(a(y,2)).update(g).update(a(g.length,1)).digest()}Sa.expand_message_xof=h;function l(p,g,y){(0,t.validateObject)(y,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:b,k:x,m:w,hash:E,expand:j,DST:T}=y;c(p),f(g);const F=r(T),z=b.toString(2).length,K=Math.ceil((z+x)/8),U=g*w*K;let H;if(j==="xmd")H=m(p,F,U,E);else if(j==="xof")H=h(p,F,U,x,E);else if(j==="_internal_pass")H=p;else throw new Error('expand must be "xmd" or "xof"');const V=new Array(g);for(let Z=0;Z<g;Z++){const R=new Array(w);for(let _=0;_<w;_++){const k=K*(_+Z*w),M=H.subarray(k,k+K);R[_]=(0,e.mod)(n(M),b)}V[Z]=R}return V}Sa.hash_to_field=l;function o(p,g){const y=g.map(b=>Array.from(b).reverse());return(b,x)=>{const[w,E,j,T]=y.map(F=>F.reduce((z,K)=>p.add(p.mul(z,b),K)));return b=p.div(w,E),x=p.mul(x,p.div(j,T)),{x:b,y:x}}}Sa.isogenyMap=o;function u(p,g,y){if(typeof g!="function")throw new Error("mapToCurve() must be defined");return{hashToCurve(b,x){const w=l(b,2,{...y,DST:y.DST,...x}),E=p.fromAffine(g(w[0])),j=p.fromAffine(g(w[1])),T=E.add(j).clearCofactor();return T.assertValidity(),T},encodeToCurve(b,x){const w=l(b,1,{...y,DST:y.encodeDST,...x}),E=p.fromAffine(g(w[0])).clearCofactor();return E.assertValidity(),E}}}return Sa.createHasher=u,Sa}var pc={},DC;function wte(){if(DC)return pc;DC=1,Object.defineProperty(pc,"__esModule",{value:!0}),pc.createCurve=pc.getHash=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=XP(),t=Ei(),r=Rz();function n(i){return{hash:i,hmac:(c,...f)=>(0,e.hmac)(i,c,(0,t.concatBytes)(...f)),randomBytes:t.randomBytes}}pc.getHash=n;function a(i,c){const f=m=>(0,r.weierstrass)({...i,...n(m)});return Object.freeze({...f(c),create:f})}return pc.createCurve=a,pc}var zC;function Ki(){return zC||(zC=1,(function(e){Object.defineProperty(e,"__esMo
284dule",{value:!0}),e.encodeToCurve=e.hashToCurve=e.schnorr=e.secp256k1=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const t=pw(),r=Ei(),n=yy(),a=Rz(),i=du(),c=vte(),f=wte(),m=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),h=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),l=BigInt(1),o=BigInt(2),u=(q,W)=>(q+W/o)/W;function p(q){const W=m,I=BigInt(3),S=BigInt(6),O=BigInt(11),Y=BigInt(22),Q=BigInt(23),ne=BigInt(44),oe=BigInt(88),ge=q*q*q%W,we=ge*ge*q%W,Ue=(0,n.pow2)(we,I,W)*we%W,ye=(0,n.pow2)(Ue,I,W)*we%W,de=(0,n.pow2)(ye,o,W)*ge%W,Se=(0,n.pow2)(de,O,W)*de%W,Oe=(0,n.pow2)(Se,Y,W)*Se%W,Be=(0,n.pow2)(Oe,ne,W)*Oe%W,Pt=(0,n.pow2)(Be,oe,W)*Be%W,Ge=(0,n.pow2)(Pt,ne,W)*Oe%W,ft=(0,n.pow2)(Ge,I,W)*we%W,er=(0,n.pow2)(ft,Q,W)*Se%W,dt=(0,n.pow2)(er,S,W)*ge%W,vt=(0,n.pow2)(dt,o,W);if(!g.eql(g.sqr(vt),q))throw new Error("Cannot find square root");return vt}const g=(0,n.Field)(m,void 0,void 0,{sqrt:p});e.secp256k1=(0,f.createCurve)({a:BigInt(0),b:BigInt(7),Fp:g,n:h,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:q=>{const W=h,I=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),S=-l*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),O=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),Y=I,Q=BigInt("0x100000000000000000000000000000000"),ne=u(Y*q,W),oe=u(-S*q,W);let ge=(0,n.mod)(q-ne*I-oe*O,W),we=(0,n.mod)(-ne*S-oe*Y,W);const Ue=ge>Q,ye=we>Q;if(Ue&&(ge=W-ge),ye&&(we=W-we),ge>Q||we>Q)throw new Error("splitScalar: Endomorphism failed, k="+q);return{k1neg:Ue,k1:ge,k2neg:ye,k2:we}}}},t.sha256);const y=BigInt(0),b=q=>typeof q=="bigint"&&y<q&&q<m,x=q=>typeof q=="bigint"&&y<q&&q<h,w={};function E(q,...W){let I=w[q];if(I===void 0){const S=(0,t.sha256)(Uint8Array.from(q,O=>O.charCodeAt(0)));I=(0,i.concatBytes)(S,S),w[q]=I}return(0,t.sha256)((0,i.concatBytes)(I,...W))}const j=q=>q.toRawBytes(!0).slice(1),T=q=>(0,i.numberToBytesBE)(q,32),F=q=>(0,n.mod)(q,m),z=q=>(0,n.mod)(q,h),K=e.secp256k1.ProjectivePoint,U=(q,W,I)=>K.BASE.multiplyAndAddUnsafe(q,W,I);function H(q){let W=e.secp256k1.utils.normPrivateKeyToScalar(q),I=K.fromPrivateKey(W);return{scalar:I.hasEvenY()?W:z(-W),bytes:j(I)}}function V(q){if(!b(q))throw new Error("bad x: need 0 < x < p");const W=F(q*q),I=F(W*q+BigInt(7));let S=p(I);S%o!==y&&(S=F(-S));const O=new K(q,S,l);return O.assertValidity(),O}function Z(...q){return z((0,i.bytesToNumberBE)(E("BIP0340/challenge",...q)))}function R(q){return H(q).bytes}function _(q,W,I=(0,r.randomBytes)(32)){const S=(0,i.ensureBytes)("message",q),{bytes:O,scalar:Y}=H(W),Q=(0,i.ensureBytes)("auxRand",I,32),ne=T(Y^(0,i.bytesToNumberBE)(E("BIP0340/aux",Q))),oe=E("BIP0340/nonce",ne,O,S),ge=z((0,i.bytesToNumberBE)(oe));if(ge===y)throw new Error("sign failed: k is zero");const{bytes:we,scalar:Ue}=H(ge),ye=Z(we,O,S),de=new Uint8Array(64);if(de.set(we,0),de.set(T(z(Ue+ye*Y)),32),!k(de,S,O))throw new Error("sign: Invalid signature produced");return de}function k(q,W,I){const S=(0,i.ensureBytes)("signature",q,64),O=(0,i.ensureBytes)("message",W),Y=(0,i.ensureBytes)("publicKey",I,32);try{const Q=V((0,i.bytesToNumberBE)(Y)),ne=(0,i.bytesToNumberBE)(S.subarray(0,32));if(!b(ne))return!1;const oe=(0,i.bytesToNumberBE)(S.subarray(32,64));if(!x(oe))return!1;const ge=Z(T(ne),j(Q),O),we=U(Q,oe,z(-ge));return!(!we||!we.hasEvenY()||we.toAffine().x!==ne)}catch{return!1}}e.schnorr={getPublicKey:R,sign:_,verify:k,utils:{randomPrivateKey:e.secp256k1.utils.randomPrivateKey,lift_x:V,pointToBytes:j,numberToBytesBE:i.numberToBytesBE,bytesToNumberBE:i.bytesToNumberBE,taggedHash:E,mod:n.mod}};const M=(0,c.isogenyMap)(g,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map(q=>q.map(W=>BigInt(W)))),B=(0,a.mapToCurveSimpleSWU)(g,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:g.create(BigInt("-11"))}),C=(0,c.createHasher)(e.secp256k1.ProjectivePoint,q=>{const{x:W,y:I}=B(g.create(q[0]));return M(W,I)},{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:g.ORDER,m:1,k:128,expand:"xmd",hash:t.sha256});e.hashToCurve=C.hashToCurve,e.encodeToCurve=C.encodeToCurve})(ix)),ix}var ox={},VC;function Oz(){return VC||(VC=1,(function(e){/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(e,"__esMo
284dule",{value:!0}),e.bytes=e.stringToBytes=e.str=e.bytesToString=e.hex=e.utf8=e.bech32m=e.bech32=e.base58check=e.createBase58check=e.base58xmr=e.base58xrp=e.base58flickr=e.base58=e.base64urlnopad=e.base64url=e.base64nopad=e.base64=e.base32crockford=e.base32hexnopad=e.base32hex=e.base32nopad=e.base32=e.base16=e.utils=void 0,e.assertNumber=t;function t(Z){if(!Number.isSafeInteger(Z))throw new Error(`Wrong integer: ${Z}`)}function r(Z){return Z instanceof Uint8Array||Z!=null&&typeof Z=="object"&&Z.constructor.name==="Uint8Array"}function n(...Z){const R=B=>B,_=(B,C)=>q=>B(C(q)),k=Z.map(B=>B.encode).reduceRight(_,R),M=Z.map(B=>B.decode).reduce(_,R);return{encode:k,decode:M}}function a(Z){return{encode:R=>{if(!Array.isArray(R)||R.length&&typeof R[0]!="number")throw new Error("alphabet.encode input should be an array of numbers");return R.map(_=>{if(_<0||_>=Z.length)throw new Error(`Digit index outside alphabet: ${_} (alphabet: ${Z.length})`);return Z[_]})},decode:R=>{if(!Array.isArray(R)||R.length&&typeof R[0]!="string")throw new Error("alphabet.decode input should be array of strings");return R.map(_=>{if(typeof _!="string")throw new Error(`alphabet.decode: not string element=${_}`);const k=Z.indexOf(_);if(k===-1)throw new Error(`Unknown letter: "${_}". Allowed: ${Z}`);return k})}}}function i(Z=""){if(typeof Z!="string")throw new Error("join separator should be string");return{encode:R=>{if(!Array.isArray(R)||R.length&&typeof R[0]!="string")throw new Error("join.encode input should be array of strings");for(let _ of R)if(typeof _!="string")throw new Error(`join.encode: non-string input=${_}`);return R.join(Z)},decode:R=>{if(typeof R!="string")throw new Error("join.decode input should be string");return R.split(Z)}}}function c(Z,R="="){if(typeof R!="string")throw new Error("padding chr should be string");return{encode(_){if(!Array.isArray(_)||_.length&&typeof _[0]!="string")throw new Error("padding.encode input should be array of strings");for(let k of _)if(typeof k!="string")throw new Error(`padding.encode: non-string input=${k}`);for(;_.length*Z%8;)_.push(R);return _},decode(_){if(!Array.isArray(_)||_.length&&typeof _[0]!="string")throw new Error("padding.encode input should be array of strings");for(let M of _)if(typeof M!="string")throw new Error(`padding.decode: non-string input=${M}`);let k=_.length;if(k*Z%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;k>0&&_[k-1]===R;k--)if(!((k-1)*Z%8))throw new Error("Invalid padding: string has too much padding");return _.slice(0,k)}}}function f(Z){if(typeof Z!="function")throw new Error("normalize fn should be function");return{encode:R=>R,decode:R=>Z(R)}}function m(Z,R,_){if(R<2)throw new Error(`convertRadix: wrong from=${R}, base cannot be less than 2`);if(_<2)throw new Error(`convertRadix: wrong to=${_}, base cannot be less than 2`);if(!Array.isArray(Z))throw new Error("convertRadix: data should be array");if(!Z.length)return[];let k=0;const M=[],B=Array.from(Z);for(B.forEach(C=>{if(C<0||C>=R)throw new Error(`Wrong integer: ${C}`)});;){let C=0,q=!0;for(let W=k;W<B.length;W++){const I=B[W],S=R*C+I;if(!Number.isSafeInteger(S)||R*C/R!==C||S-I!==R*C)throw new Error("convertRadix: carry overflow");C=S%_;const O=Math.floor(S/_);if(B[W]=O,!Number.isSafeInteger(O)||O*_+C!==S)throw new Error("convertRadix: carry overflow");if(q)O?q=!1:k=W;else continue}if(M.push(C),q)break}for(let C=0;C<Z.length-1&&Z[C]===0;C++)M.push(0);return M.reverse()}const h=(Z,R)=>R?h(R,Z%R):Z,l=(Z,R)=>Z+(R-h(Z,R));function o(Z,R,_,k){if(!Array.isArray(Z))throw new Error("convertRadix2: data should be array");if(R<=0||R>32)throw new Error(`convertRadix2: wrong from=${R}`);if(_<=0||_>32)throw new Error(`convertRadix2: wrong to=${_}`);if(l(R,_)>32)throw new Error(`convertRadix2: carry overflow from=${R} to=${_} carryBits=${l(R,_)}`);let M=0,B=0;const C=2**_-1,q=[];for(const W of Z){if(W>=2**R)throw new Error(`convertRadix2: invalid data word=${W} from=${R}`);if(M=M<<R|W,B+R>32)throw new Error(`convertRadix2: carry overflow pos=${B} from=${R}`);for(B+=R;B>=_;B-=_)q.push((M>>B-_&C)>>>0);M&=2**B-1}
284if(M=M<<_-B&C,!k&&B>=R)throw new Error("Excess padding");if(!k&&M)throw new Error(`Non-zero padding: ${M}`);return k&&B>0&&q.push(M>>>0),q}function u(Z){return{encode:R=>{if(!r(R))throw new Error("radix.encode input should be Uint8Array");return m(Array.from(R),2**8,Z)},decode:R=>{if(!Array.isArray(R)||R.length&&typeof R[0]!="number")throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(m(R,Z,2**8))}}}function p(Z,R=!1){if(Z<=0||Z>32)throw new Error("radix2: bits should be in (0..32]");if(l(8,Z)>32||l(Z,8)>32)throw new Error("radix2: carry overflow");return{encode:_=>{if(!r(_))throw new Error("radix2.encode input should be Uint8Array");return o(Array.from(_),8,Z,!R)},decode:_=>{if(!Array.isArray(_)||_.length&&typeof _[0]!="number")throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(o(_,Z,8,R))}}}function g(Z){if(typeof Z!="function")throw new Error("unsafeWrapper fn should be function");return function(...R){try{return Z.apply(null,R)}catch{}}}function y(Z,R){if(typeof R!="function")throw new Error("checksum fn should be function");return{encode(_){if(!r(_))throw new Error("checksum.encode: input should be Uint8Array");const k=R(_).slice(0,Z),M=new Uint8Array(_.length+Z);return M.set(_),M.set(k,_.length),M},decode(_){if(!r(_))throw new Error("checksum.decode: input should be Uint8Array");const k=_.slice(0,-Z),M=R(k).slice(0,Z),B=_.slice(-Z);for(let C=0;C<Z;C++)if(M[C]!==B[C])throw new Error("Invalid checksum");return k}}}e.utils={alphabet:a,chain:n,checksum:y,convertRadix:m,convertRadix2:o,radix:u,radix2:p,join:i,padding:c},e.base16=n(p(4),a("0123456789ABCDEF"),i("")),e.base32=n(p(5),a("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),c(5),i("")),e.base32nopad=n(p(5),a("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),i("")),e.base32hex=n(p(5),a("0123456789ABCDEFGHIJKLMNOPQRSTUV"),c(5),i("")),e.base32hexnopad=n(p(5),a("0123456789ABCDEFGHIJKLMNOPQRSTUV"),i("")),e.base32crockford=n(p(5),a("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),i(""),f(Z=>Z.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),e.base64=n(p(6),a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),c(6),i("")),e.base64nopad=n(p(6),a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),i("")),e.base64url=n(p(6),a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),c(6),i("")),e.base64urlnopad=n(p(6),a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),i(""));const b=Z=>n(u(58),a(Z),i(""));e.base58=b("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),e.base58flickr=b("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),e.base58xrp=b("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const x=[0,2,3,5,6,7,9,10,11];e.base58xmr={encode(Z){let R="";for(let _=0;_<Z.length;_+=8){const k=Z.subarray(_,_+8);R+=e.base58.encode(k).padStart(x[k.length],"1")}return R},decode(Z){let R=[];for(let _=0;_<Z.length;_+=11){const k=Z.slice(_,_+11),M=x.indexOf(k.length),B=e.base58.decode(k);for(let C=0;C<B.length-M;C++)if(B[C]!==0)throw new Error("base58xmr: wrong padding");R=R.concat(Array.from(B.slice(B.length-M)))}return Uint8Array.from(R)}};const w=Z=>n(y(4,R=>Z(Z(R))),e.base58);e.createBase58check=w,e.base58check=e.createBase58check;const E=n(a("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),i("")),j=[996825010,642813549,513874426,1027748829,705979059];function T(Z){const R=Z>>25;let _=(Z&33554431)<<5;for(let k=0;k<j.length;k++)(R>>k&1)===1&&(_^=j[k]);return _}function F(Z,R,_=1){const k=Z.length;let M=1;for(let B=0;B<k;B++){const C=Z.charCodeAt(B);if(C<33||C>126)throw new Error(`Invalid prefix (${Z})`);M=T(M)^C>>5}M=T(M);for(let B=0;B<k;B++)M=T(M)^Z.charCodeAt(B)&31;for(let B of R)M=T(M)^B;for(let B=0;B<6;B++)M=T(M);return M^=_,E.encode(o([M%2**30],30,5,!1))}function z(Z){const R=Z==="bech32"?1:734539939,_=p(5),k=_.decode,M=_.encode,B=g(k);function C(O,Y,Q=90){if(typeof O!="string")throw new Error(`bech32.encode prefix should be string, not ${typeof O}`);if(Y instanceof Uint8Array&&(Y=Array.from(Y)),!Array.isArray(Y)||Y.length&&typeof Y[0]!="number")throw new Error(`bech32.encode words should be array of numbers, not ${typeof Y}`);if(O.length===0)throw new TypeError(`Invalid prefix length ${O.length}`);const ne=O.length+7+Y.length;if(Q!==!1&&ne>Q)throw new TypeError(`Length ${ne} exceeds limit ${Q}`);const oe=O.toLowerCase(),ge=F(oe,Y,R);return`${oe}1${E.encode(Y)}${ge}`}function q(O,Y=90){if(typeof O!="string")throw new Error(`bech32.decode input should be string, not ${typeof O}`);if(O.length<8||Y!==!1&&O.length>
284Y)throw new TypeError(`Wrong string length: ${O.length} (${O}). Expected (8..${Y})`);const Q=O.toLowerCase();if(O!==Q&&O!==O.toUpperCase())throw new Error("String must be lowercase or uppercase");const ne=Q.lastIndexOf("1");if(ne===0||ne===-1)throw new Error('Letter "1" must be present between prefix and data only');const oe=Q.slice(0,ne),ge=Q.slice(ne+1);if(ge.length<6)throw new Error("Data must be at least 6 characters long");const we=E.decode(ge).slice(0,-6),Ue=F(oe,we,R);if(!ge.endsWith(Ue))throw new Error(`Invalid checksum in ${O}: expected "${Ue}"`);return{prefix:oe,words:we}}const W=g(q);function I(O){const{prefix:Y,words:Q}=q(O,!1);return{prefix:Y,words:Q,bytes:k(Q)}}function S(O,Y){return C(O,M(Y))}return{encode:C,decode:q,encodeFromBytes:S,decodeToBytes:I,decodeUnsafe:W,fromWords:k,fromWordsUnsafe:B,toWords:M}}e.bech32=z("bech32"),e.bech32m=z("bech32m"),e.utf8={encode:Z=>new TextDecoder().decode(Z),decode:Z=>new TextEncoder().encode(Z)},e.hex=n(p(4),a("0123456789abcdef"),i(""),f(Z=>{if(typeof Z!="string"||Z.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof Z} with length ${Z.length}`);return Z.toLowerCase()}));const K={utf8:e.utf8,hex:e.hex,base16:e.base16,base32:e.base32,base64:e.base64,base64url:e.base64url,base58:e.base58,base58xmr:e.base58xmr},U="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr",H=(Z,R)=>{if(typeof Z!="string"||!K.hasOwnProperty(Z))throw new TypeError(U);if(!r(R))throw new TypeError("bytesToString() expects Uint8Array");return K[Z].encode(R)};e.bytesToString=H,e.str=e.bytesToString;const V=(Z,R)=>{if(!K.hasOwnProperty(Z))throw new TypeError(U);if(typeof R!="string")throw new TypeError("stringToBytes() expects string");return K[Z].decode(R)};e.stringToBytes=V,e.bytes=e.stringToBytes})(ox)),ox}var HC;function Cz(){return HC||(HC=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HDKey=e.HARDENED_OFFSET=void 0;/*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const t=XP(),r=Sz(),n=pw(),a=Tz(),i=Jl
284(),c=Ei(),f=Ki(),m=yy(),h=Oz(),l=f.secp256k1.ProjectivePoint,o=(0,h.base58check)(n.sha256);function u(j){return BigInt(`0x${(0,c.bytesToHex)(j)}`)}function p(j){return(0,c.hexToBytes)(j.toString(16).padStart(64,"0"))}const g=(0,c.utf8ToBytes)("Bitcoin seed"),y={private:76066276,public:76067358};e.HARDENED_OFFSET=2147483648;const b=j=>(0,r.ripemd160)((0,n.sha256)(j)),x=j=>(0,c.createView)(j).getUint32(0,!1),w=j=>{if(!Number.isSafeInteger(j)||j<0||j>2**32-1)throw new Error(`Invalid number=${j}. Should be from 0 to 2 ** 32 - 1`);const T=new Uint8Array(4);return(0,c.createView)(T).setUint32(0,j,!1),T};class E{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return x(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const T=this.privateKey;if(!T)throw new Error("No private key");return o.encode(this.serialize(this.versions.private,(0,c.concatBytes)(new Uint8Array([0]),T)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return o.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(T,F=y){if((0,i.bytes)(T),8*T.length<128||8*T.length>512)throw new Error(`HDKey: wrong seed length=${T.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const z=(0,t.hmac)(a.sha512,g,T);return new E({versions:F,chainCode:z.slice(32),privateKey:z.slice(0,32)})}static fromExtendedKey(T,F=y){const z=o.decode(T),K=(0,c.createView)(z),U=K.getUint32(0,!1),H={versions:F,depth:z[4],parentFingerprint:K.getUint32(5,!1),index:K.getUint32(9,!1),chainCode:z.slice(13,45)},V=z.slice(45),Z=V[0]===0;if(U!==F[Z?"private":"public"])throw new Error("Version mismatch");return Z?new E({...H,privateKey:V.slice(1)}):new E({...H,publicKey:V})}static fromJSON(T){return E.fromExtendedKey(T.xpriv)}constructor(T){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!T||typeof T!="object")throw new Error("HDKey.constructor must not be called directly");if(this.versions=T.versions||y,this.depth=T.depth||0,this.chainCode=T.chainCode,this.index=T.index||0,this.parentFingerprint=T.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(T.publicKey&&T.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(T.privateKey){if(!f.secp256k1.utils.isValidPrivateKey(T.privateKey))throw new Error("Invalid private key");this.privKey=typeof T.privateKey=="bigint"?T.privateKey:u(T.privateKey),this.privKeyBytes=p(this.privKey),this.pubKey=f.secp256k1.getPublicKey(T.privateKey,!0)}else if(T.publicKey)this.pubKey=l.fromHex(T.publicKey).toRawBytes(!0);else throw new Error("HDKey: no public or private key provided");this.pubHash=b(this.pubKey)}derive(T){if(!/^[mM]'?/.test(T))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(T))return this;const F=T.replace(/^[mM]'?\//,"").split("/");let z=this;for(const K of F){const U=/^(\d+)('?)$/.exec(K),H=U&&U[1];if(!U||U.length!==3||typeof H!="string")throw new Error(`Invalid child index: ${K}`);let V=+H;if(!Number.isSafeInteger(V)||V>=e.HARDENED_OFFSET)throw new Error("Invalid index");U[2]==="'"&&(V+=e.HARDENED_OFFSET),z=z.deriveChild(V)}return z}deriveChild(T){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let F=w(T);if(T>=e.HARDENED_OFFSET){const V=this.privateKey;if(!V)throw new Error("Could not derive hardened child key");F=(0,c.concatBytes)(new Uint8Array([0]),V,F)}else F=(0,c.concatBytes)(this.pubKey,F);const z=(0,t.hmac)(a.sha512,this.chainCode,F),K=u(z.slice(0,32)),U=z.slice(32);if(!f.secp256k1.utils.isValidPrivateKey(K))throw new Error("Tweak bigger than curve order");const H={versions:this.versions,chainCode:U,depth:this.depth+1,parentFingerprint:this.fingerprint,index:T};try{if(this.privateKey){const V=(0,m.mod)(this.privKey+K,f.secp256k1.CURVE.n);if(!f.secp256k1.utils.isValidPrivateKey(V))throw new Error("The tweak was out of range or the resulted private key is invali
284d");H.privateKey=V}else{const V=l.fromHex(this.pubKey).add(l.fromPrivateKey(K));if(V.equals(l.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");H.publicKey=V.toRawBytes(!0)}return new E(H)}catch{return this.deriveChild(T+1)}}sign(T){if(!this.privateKey)throw new Error("No privateKey set!");return(0,i.bytes)(T,32),f.secp256k1.sign(T,this.privKey).toCompactRawBytes()}verify(T,F){if((0,i.bytes)(T,32),(0,i.bytes)(F,64),!this.publicKey)throw new Error("No publicKey set!");let z;try{z=f.secp256k1.Signature.fromCompact(F)}catch{return!1}return f.secp256k1.verify(z,T,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(T,F){if(!this.chainCode)throw new Error("No chainCode set");return(0,i.bytes)(F,33),(0,c.concatBytes)(w(T),new Uint8Array([this.depth]),w(this.parentFingerprint),w(this.index),this.chainCode,F)}}e.HDKey=E})(rx)),rx}var ef={},WC;function _te(){return WC||(WC=1,Object.defineProperty(ef,"__esModule",{value:!0}),ef.wordlist=void 0,ef.wordlist=`abdikace 285abeceda 286adresa 287agrese 288akce 289aktovka 290alej 291alkohol 292amputace 293ananas 294andulka 295anekdota 296anketa 297antika 298anulovat 299archa 300arogance 301asfalt 302asistent 303aspirace 304astma 305astronom 306atlas 307atletika 308atol 309autobus 310azyl 311babka 312bachor 313bacil 314baculka 315badatel 316bageta 317bagr 318bahno 319bakterie 320balada 321baletka 322balkon 323balonek 324balvan 325balza 326bambus 327bankomat 328barbar 329baret 330barman 331baroko 332barva 333baterka 334batoh 335bavlna 336bazalka 337bazilika 338bazuka 339bedna 340beran 341beseda 342bestie 343beton 344bezinka 345bezmoc 346beztak 347bicykl 348bidlo 349biftek 350bikiny 351bilance 352biograf 353biolog 354bitva 355bizon 356blahobyt 357blatouch 358blecha 359bledule 360blesk 361blikat 362blizna 363blokovat 364bloudit 365blud 366bobek 367bobr 368bodlina 369bodnout 370bohatost 371bojkot 372bojovat 373bokorys 374bolest 375borec 376borovice 377bota 378boubel 379bouchat 380bouda 381boule 382bourat 383boxer 384bradavka 385brambora 386branka 387bratr 388brepta 389briketa 390brko 391brloh 392bronz 393broskev 394brunetka 395brusinka 396brzda 397brzy 398bublina 399bubnovat 400buchta 401buditel 402budka 403budova 404bufet 405bujarost 406bukvice 407buldok 408bulva 409bunda 410bunkr 411burza 412butik 413buvol 414buzola 415bydlet 416bylina 417bytovka 418bzukot 419capart 420carevna 421cedr 422cedule 423cejch 424cejn 425cela 426celer 427celkem 428celnice 429cenina 430cennost 431cenovka 432centrum 433cenzor 434cestopis 435cetka 436chalupa 437chapadlo 438charita 439chata 440chechtat 441chemie 442chichot 443chirurg 444chlad 445chleba 446chlubit 447chmel 448chmura 449chobot 450chochol 451chodba 452cholera 453chomout 454chopit 455choroba 456chov 457chrapot 458chrlit 459chrt 460chrup 461chtivost 462chudina 463chutnat 464chvat 465chvilka 466chvost 467chyba 468chystat 469chytit 470cibule 471cigareta 472cihelna 473cihla 474cinkot 475cirkus 476cisterna 477citace 478citrus 479cizinec 480cizost 481clona 482cokoliv 483couvat 484ctitel 485ctnost 486cudnost 487cuketa 488cukr 489cupot 490cvaknout 491cval 492cvik 493cvrkot 494cyklista 495daleko 496dareba 497datel 498datum 499dcera 500debata 501dechovka 502decibel 503deficit 504deflace 505dekl 506dekret 507demokrat 508deprese 509derby 510deska 511detektiv 512dikobraz 513diktovat 514dioda 515diplom 516disk 517displej 518divadlo 519divoch 520dlaha 521dlouho 522dluhopis 523dnes 524dobro 525dobytek 526docent 527dochutit 528dodnes 529dohled 530dohoda 531dohra 532dojem 533dojnice 534doklad 535dokola 536doktor 537dokument 538dolar 539doleva 540dolina 541doma 542dominant 543domluvit 544domov 545donutit 546dopad 547dopis 548doplnit 549doposud 550doprovod 551dopustit 552dorazit 553dorost 554dort 555dosah 556doslov 557dostatek 558dosud 559dosyta 560dotaz 561dotek 562dotknout 563doufat 564doutnat 565dovozce 566dozadu 567doznat 568dozorce 569drahota 570drak 571dramatik 572dravec 573draze 574drdol 575drobnost 576drogerie 577drozd 578drsnost 579drtit 580drzost 581duben 582duchovno 583dudek 584duha 585duhovka 586dusit 587dusno 588dutost 589dvojice 590dvorec 591dynamit 592ekolog 593ekonomie 594elektron 595elipsa 596email 597emise 598emoce 599empatie 600epizoda 601epocha 602epopej 603epos 604esej 605esence 606eskorta 607eskymo 608etiketa 609euforie 610evoluce 611exekuce 612exkurze 613expedice 614exploze 615export 616extrakt 617facka 618fajfka 619fakulta 620fanatik 621fantazie 622farmacie 623favorit 624fazole 625federace 626fejeton 627fenka 628fialka 629figurant 630filozof 631filtr 632finance 633finta 634fixace 635fjord 636flanel 637flirt 638flotila 639fond 640fosfor 641fotbal 642fotka 643foton 644frakce 645freska 646fronta 647fukar 648funkce 649fyzika 650galeje 651garant 652genetika 653geolog 654gilotina 655glazura 656glejt 657golem 658golfista 659gotika 660graf 661gramofon 662granule 663grep 664gril 665grog 666groteska 667guma 668hadice 669hadr 670hala 671halenka 672hanba 673hanopis 674harfa 675harpuna 676havran 677hebkost 678hejkal 679hejno 680hejtman 681hektar 682helma 683hematom 684herec 685herna 686heslo 687hezky 688historik 689hladovka 690hlasivky 691hlava 692hledat 693hlen 694hlodavec 695hloh 696hloupost 697hltat 698hlubina 699hluchota 700hmat 701hmota 702hmyz 703hnis 704hnojivo 705hnout 706hoblina 707hoboj
708hoch 709hodiny 710hodlat 711hodnota 712hodovat 713hojnost 714hokej 715holinka 716holka 717holub 718homole 719honitba 720honorace 721horal 722horda 723horizont 724horko 725horlivec 726hormon 727hornina 728horoskop 729horstvo 730hospoda 731hostina 732hotovost 733houba 734houf 735houpat 736houska 737hovor 738hradba 739hranice 740hravost 741hrazda 742hrbolek 743hrdina 744hrdlo 745hrdost 746hrnek 747hrobka 748hromada 749hrot 750hrouda 751hrozen 752hrstka 753hrubost 754hryzat 755hubenost 756hubnout 757hudba 758hukot 759humr 760husita 761hustota 762hvozd 763hybnost 764hydrant 765hygiena 766hymna 767hysterik 768idylka 769ihned 770ikona 771iluze 772imunita 773infekce 774inflace 775inkaso 776inovace 777inspekce 778internet 779invalida 780investor 781inzerce 782ironie 783jablko 784jachta 785jahoda 786jakmile 787jakost 788jalovec 789jantar 790jarmark 791jaro 792jasan 793jasno 794jatka 795javor 796jazyk 797jedinec 798jedle 799jednatel 800jehlan 801jekot 802jelen 803jelito 804jemnost 805jenom 806jepice 807jeseter 808jevit 809jezdec 810jezero 811jinak 812jindy 813jinoch 814jiskra 815jistota 816jitrnice 817jizva 818jmenovat 819jogurt 820jurta 821kabaret 822kabel 823kabinet 824kachna 825kadet 826kadidlo 827kahan 828kajak 829kajuta 830kakao 831kaktus 832kalamita 833kalhoty 834kalibr 835kalnost 836kamera 837kamkoliv 838kamna 839kanibal 840kanoe 841kantor 842kapalina 843kapela 844kapitola 845kapka 846kaple 847kapota 848kapr 849kapusta 850kapybara 851karamel 852karotka 853karton 854kasa 855katalog 856katedra 857kauce 858kauza 859kavalec 860kazajka 861kazeta 862kazivost 863kdekoliv 864kdesi 865kedluben 866kemp 867keramika 868kino 869klacek 870kladivo 871klam 872klapot 873klasika 874klaun 875klec 876klenba 877klepat 878klesnout 879klid 880klima 881klisna 882klobouk 883klokan 884klopa 885kloub 886klubovna 887klusat 888kluzkost 889kmen 890kmitat 891kmotr 892kniha 893knot 894koalice 895koberec 896kobka 897kobliha 898kobyla 899kocour 900kohout 901kojenec 902kokos 903koktejl 904kolaps 905koleda 906kolize 907kolo 908komando 909kometa 910komik 911komnata 912komora 913kompas 914komunita 915konat 916koncept 917kondice 918konec 919konfese 920kongres 921konina 922konkurs 923kontakt 924konzerva 925kopanec 926kopie 927kopnout 928koprovka 929korbel 930korektor 931kormidlo 932koroptev 933korpus 934koruna 935koryto 936korzet 937kosatec 938kostka 939kotel 940kotleta 941kotoul 942koukat 943koupelna 944kousek 945kouzlo 946kovboj 947koza 948kozoroh 949krabice 950krach 951krajina 952kralovat 953krasopis 954kravata 955kredit 956krejcar 957kresba 958kreveta 959kriket 960kritik 961krize 962krkavec 963krmelec 964krmivo 965krocan 966krok 967kronika 968kropit 969kroupa 970krovka 971krtek 972kruhadlo 973krupice 974krutost 975krvinka 976krychle 977krypta 978krystal 979kryt 980kudlanka 981kufr 982kujnost 983kukla 984kulajda 985kulich 986kulka 987kulomet 988kultura 989kuna 990kupodivu 991kurt 992kurzor 993kutil 994kvalita 995kvasinka 996kvestor 997kynolog 998kyselina 999kytara 1000kytice 1001kytka 1002kytovec 1003kyvadlo 1004labrador 1005lachtan 1006ladnost 1007laik 1008lakomec 1009lamela 1010lampa 1011lanovka 1012lasice 1013laso 1014lastura 1015latinka 1016lavina 1017lebka 1018leckdy 1019leden 1020lednice 1021ledovka 1022ledvina 1023legenda 1024legie 1025legrace 1026lehce 1027lehkost 1028lehnout 1029lektvar 1030lenochod 1031lentilka 1032lepenka 1033lepidlo 1034letadlo 1035letec 1036letmo 1037letokruh 1038levhart 1039levitace 1040levobok 1041libra 1042lichotka 1043lidojed 1044lidskost 1045lihovina 1046lijavec 1047lilek 1048limetka 1049linie 1050linka 1051linoleum 1052listopad 1053litina 1054litovat 1055lobista 1056lodivod 1057logika 1058logoped 1059lokalita 1060loket 1061lomcovat 1062lopata 1063lopuch 1064lord 1065losos 1066lotr 1067loudal 1068louh 1069louka 1070louskat 1071lovec 1072lstivost 1073lucerna 1074lucifer 1075lump 1076lusk 1077lustrace 1078lvice 1079lyra 1080lyrika 1081lysina 1082madam 1083madlo 1084magistr 1085mahagon 1086majetek 1087majitel 1088majorita 1089makak 1090makovice 1091makrela 1092malba 1093malina 1094malovat 1095malvice 1096maminka 1097mandle 1098manko 1099marnost 1100masakr 1101maskot 1102masopust 1103matice 1104matrika 1105maturita 1106mazanec 1107mazivo 1108mazlit 1109mazurka 1110mdloba 1111mechanik 1112meditace 1113medovina 1114melasa 1115meloun 1116mentolka 1117metla 1118metoda 1119metr 1120mezera 1121migrace 1122mihnout 1123mihule 1124mikina 1125mikrofon 1126milenec 1127milimetr 1128milost 1129mimika 1130mincovna 1131minibar 1132minomet 1133minulost 1134miska 1135mistr 1136mixovat 1137mladost 1138mlha 1139mlhovina 1140mlok 1141mlsat 1142mluvit 1143mnich 1144mnohem 1145mobil 1146mocnost 1147modelka 1148modlitba 1149mohyla 1150mokro 1151molekula 1152momentka 1153monarcha 1154monokl 1155monstrum 1156montovat 1157monzun 1158mosaz 1159moskyt 1160most 1161motivace 1162motorka 1163motyka 1164moucha 1165moudrost 1166mozaika 1167mozek 1168mozol 1169mramor 1170mravenec 1171mrkev 1172mrtvola 1173mrzet 1174mrzutost 1175mstitel 1176mudrc 1177muflon 1178mulat 1179mumie 1180munice 1181muset 1182mutace 1183muzeum 1184muzikant 1185myslivec 1186mzda 1187nabourat 1188nachytat 1189nadace 1190nadbytek 1191nadhoz 1192nadobro 1193nadpis 1194nahlas 1195nahnat 1196nahodile 1197nahradit 1198naivita 1199najednou 1200najisto 1201najmout 1202naklonit 1203nakonec 1204nakrmit 1205nalevo 1206namazat 1207namluvit 1208nanometr 1209naoko 1210naopak 1211naostro 1212napadat 1213napevno 1214naplnit 1215napnout 1216naposled 1217naprosto 1218narodit 1219naruby 1220narychlo 1221nasadit 1222nasekat 1223naslepo 1224nastat 1225natolik 1226navenek 1227navrch 1228navzdory 1229nazvat 1230nebe 1231nechat 1232necky 1233nedaleko 1234nedbat 1235neduh 1236negace 1237nehet 1238nehoda 1239nejen 1240nejprve 1241neklid 1242nelibost 1243nemilost 1244nemoc 1245neochota 1246neonka 1247nepokoj 1248nerost 1249nerv 1250nesmysl 1251nesoulad 1252netvor 1253neuron 1254nevina 1255nezvykle 1256nicota 1257nijak 1258nikam 1259nikdy 1260nikl 1261nikterak 1262nitro 1263nocleh 1264nohavice 1265nominace 1266nora 1267norek 1268nositel 1269nosnost 1270nouze 1271noviny 1272novota 1273nozdra 1274nuda 1275nudle 1276nuget 1277nutit 1278nutnost 1279nutrie 1280nymfa 1281obal 1282obarvit 1283obava 1284obdiv 1285obec 1286obehnat 1287obejmout 1288obezita 1289obhajoba 1290obilnice 1291objasnit
1292objekt 1293obklopit 1294oblast 1295oblek 1296obliba 1297obloha 1298obluda 1299obnos 1300obohatit 1301obojek 1302obout 1303obrazec 1304obrna 1305obruba 1306obrys 1307obsah 1308obsluha 1309obstarat 1310obuv 1311obvaz 1312obvinit 1313obvod 1314obvykle 1315obyvatel 1316obzor 1317ocas 1318ocel 1319ocenit 1320ochladit 1321ochota 1322ochrana 1323ocitnout 1324odboj 1325odbyt 1326odchod 1327odcizit 1328odebrat 1329odeslat 1330odevzdat 1331odezva 1332odhadce 1333odhodit 1334odjet 1335odjinud 1336odkaz 1337odkoupit 1338odliv 1339odluka 1340odmlka 1341odolnost 1342odpad 1343odpis 1344odplout 1345odpor 1346odpustit 1347odpykat 1348odrazka 1349odsoudit 1350odstup 1351odsun 1352odtok 1353odtud 1354odvaha 1355odveta 1356odvolat 1357odvracet 1358odznak 1359ofina 1360ofsajd 1361ohlas 1362ohnisko 1363ohrada 1364ohrozit 1365ohryzek 1366okap 1367okenice 1368oklika 1369okno 1370okouzlit 1371okovy 1372okrasa 1373okres 1374okrsek 1375okruh 1376okupant 1377okurka 1378okusit 1379olejnina 1380olizovat 1381omak 1382omeleta 1383omezit 1384omladina 1385omlouvat 1386omluva 1387omyl 1388onehdy 1389opakovat 1390opasek 1391operace 1392opice 1393opilost 1394opisovat 1395opora 1396opozice 1397opravdu 1398oproti 1399orbital 1400orchestr 1401orgie 1402orlice 1403orloj 1404ortel 1405osada 1406oschnout 1407osika 1408osivo 1409oslava 1410oslepit 1411oslnit 1412oslovit 1413osnova 1414osoba 1415osolit 1416ospalec 1417osten 1418ostraha 1419ostuda 1420ostych 1421osvojit 1422oteplit 1423otisk 1424otop 1425otrhat 1426otrlost 1427otrok 1428otruby 1429otvor 1430ovanout 1431ovar 1432oves 1433ovlivnit 1434ovoce 1435oxid 1436ozdoba 1437pachatel 1438pacient 1439padouch 1440pahorek 1441pakt 1442palanda 1443palec 1444palivo 1445paluba 1446pamflet 1447pamlsek 1448panenka 1449panika 1450panna 1451panovat 1452panstvo 1453pantofle 1454paprika 1455parketa 1456parodie 1457parta 1458paruka 1459paryba 1460paseka 1461pasivita 1462pastelka 1463patent 1464patrona 1465pavouk 1466pazneht 1467pazourek 1468pecka 1469pedagog 1470pejsek 1471peklo 1472peloton 1473penalta 1474pendrek 1475penze 1476periskop 1477pero 1478pestrost 1479petarda 1480petice 1481petrolej 1482pevnina 1483pexeso 1484pianista 1485piha 1486pijavice 1487pikle 1488piknik 1489pilina 1490pilnost 1491pilulka 1492pinzeta 1493pipeta 1494pisatel 1495pistole 1496pitevna 1497pivnice 1498pivovar 1499placenta 1500plakat 1501plamen 1502planeta 1503plastika 1504platit 1505plavidlo 1506plaz 1507plech 1508plemeno 1509plenta 1510ples 1511pletivo 1512plevel 1513plivat 1514plnit 1515plno 1516plocha 1517plodina 1518plomba 1519plout 1520pluk 1521plyn 1522pobavit 1523pobyt 1524pochod 1525pocit 1526poctivec 1527podat 1528podcenit 1529podepsat 1530podhled 1531podivit 1532podklad 1533podmanit 1534podnik 1535podoba 1536podpora 1537podraz 1538podstata 1539podvod 1540podzim 1541poezie 1542pohanka 1543pohnutka 1544pohovor 1545pohroma 1546pohyb 1547pointa 1548pojistka 1549pojmout 1550pokazit 1551pokles 1552pokoj 1553pokrok 1554pokuta 1555pokyn 1556poledne 1557polibek 1558polknout 1559poloha 1560polynom 1561pomalu 1562pominout 1563pomlka 1564pomoc 1565pomsta 1566pomyslet 1567ponechat 1568ponorka 1569ponurost 1570popadat 1571popel 1572popisek 1573poplach 1574poprosit 1575popsat 1576popud 1577poradce 1578porce 1579porod 1580porucha 1581poryv 1582posadit 1583posed 1584posila 1585poskok 1586poslanec 1587posoudit 1588pospolu 1589postava 1590posudek 1591posyp 1592potah 1593potkan 1594potlesk 1595potomek 1596potrava 1597potupa 1598potvora 1599poukaz 1600pouto 1601pouzdro 1602povaha 1603povidla 1604povlak 1605povoz 1606povrch 1607povstat 1608povyk 1609povzdech 1610pozdrav 1611pozemek 1612poznatek 1613pozor 1614pozvat 1615pracovat 1616prahory 1617praktika 1618prales 1619praotec 1620praporek 1621prase 1622pravda 1623princip 1624prkno 1625probudit 1626procento 1627prodej 1628profese 1629prohra 1630projekt 1631prolomit 1632promile 1633pronikat 1634propad 1635prorok 1636prosba 1637proton 1638proutek 1639provaz 1640prskavka 1641prsten 1642prudkost 1643prut 1644prvek 1645prvohory 1646psanec 1647psovod 1648pstruh 1649ptactvo 1650puberta 1651puch 1652pudl 1653pukavec 1654puklina 1655pukrle 1656pult 1657pumpa 1658punc 1659pupen 1660pusa 1661pusinka 1662pustina 1663putovat 1664putyka
1665pyramida 1666pysk 1667pytel 1668racek 1669rachot 1670radiace 1671radnice 1672radon 1673raft 1674ragby 1675raketa 1676rakovina 1677rameno 1678rampouch 1679rande 1680rarach 1681rarita 1682rasovna 1683rastr 1684ratolest 1685razance 1686razidlo 1687reagovat 1688reakce 1689recept 1690redaktor 1691referent 1692reflex 1693rejnok 1694reklama 1695rekord 1696rekrut 1697rektor 1698reputace 1699revize 1700revma 1701revolver 1702rezerva 1703riskovat 1704riziko 1705robotika 1706rodokmen 1707rohovka 1708rokle 1709rokoko 1710romaneto 1711ropovod 1712ropucha 1713rorejs 1714rosol 1715rostlina 1716rotmistr 1717rotoped 1718rotunda 1719roubenka 1720roucho 1721roup 1722roura 1723rovina 1724rovnice 1725rozbor 1726rozchod 1727rozdat 1728rozeznat 1729rozhodce 1730rozinka 1731rozjezd 1732rozkaz 1733rozloha 1734rozmar 1735rozpad 1736rozruch 1737rozsah 1738roztok 1739rozum 1740rozvod 1741rubrika 1742ruchadlo 1743rukavice 1744rukopis 1745ryba 1746rybolov 1747rychlost 1748rydlo 1749rypadlo 1750rytina 1751ryzost 1752sadista 1753sahat 1754sako 1755samec 1756samizdat 1757samota 1758sanitka 1759sardinka 1760sasanka 1761satelit 1762sazba 1763sazenice 1764sbor 1765schovat 1766sebranka 1767secese 1768sedadlo 1769sediment 1770sedlo 1771sehnat 1772sejmout 1773sekera 1774sekta 1775sekunda 1776sekvoje 1777semeno 1778seno 1779servis 1780sesadit 1781seshora 1782seskok 1783seslat 1784sestra 1785sesuv 1786sesypat 1787setba 1788setina 1789setkat 1790setnout 1791setrvat 1792sever 1793seznam 1794shoda 1795shrnout 1796sifon 1797silnice 1798sirka 1799sirotek 1800sirup 1801situace 1802skafandr 1803skalisko 1804skanzen 1805skaut 1806skeptik 1807skica 1808skladba 1809sklenice 1810sklo 1811skluz 1812skoba 1813skokan 1814skoro 1815skripta 1816skrz 1817skupina 1818skvost 1819skvrna 1820slabika 1821sladidlo 1822slanina 1823slast 1824slavnost 1825sledovat 1826slepec 1827sleva 1828slezina 1829slib 1830slina 1831sliznice 1832slon 1833sloupek 1834slovo 1835sluch 1836sluha 1837slunce 1838slupka 1839slza 1840smaragd 1841smetana 1842smilstvo 1843smlouva 1844smog 1845smrad 1846smrk 1847smrtka 1848smutek 1849smysl 1850snad 1851snaha 1852snob 1853sobota 1854socha 1855sodovka 1856sokol 1857sopka 1858sotva 1859souboj 1860soucit 1861soudce 1862souhlas 1863soulad 1864soumrak 1865souprava 1866soused 1867soutok 1868souviset 1869spalovna 1870spasitel 1871spis 1872splav 1873spodek 1874spojenec 1875spolu 1876sponzor 1877spornost 1878spousta 1879sprcha 1880spustit 1881sranda 1882sraz 1883srdce 1884srna 1885srnec 1886srovnat 1887srpen 1888srst 1889srub 1890stanice 1891starosta 1892statika 1893stavba 1894stehno 1895stezka 1896stodola 1897stolek 1898stopa 1899storno 1900stoupat 1901strach 1902stres 1903strhnout 1904strom 1905struna 1906studna 1907stupnice 1908stvol 1909styk 1910subjekt 1911subtropy 1912suchar 1913sudost 1914sukno 1915sundat 1916sunout 1917surikata 1918surovina 1919svah 1920svalstvo 1921svetr 1922svatba 1923svazek 1924svisle 1925svitek 1926svoboda 1927svodidlo 1928svorka 1929svrab 1930sykavka 1931sykot 1932synek 1933synovec 1934sypat 1935sypkost 1936syrovost 1937sysel 1938sytost 1939tabletka 1940tabule 1941tahoun 1942tajemno 1943tajfun 1944tajga 1945tajit 1946tajnost 1947taktika 1948tamhle 1949tampon 1950tancovat 1951tanec 1952tanker 1953tapeta 1954tavenina 1955tazatel 1956technika 1957tehdy 1958tekutina 1959telefon 1960temnota 1961tendence 1962tenista 1963tenor 1964teplota 1965tepna 1966teprve 1967terapie 1968termoska 1969textil 1970ticho 1971tiskopis 1972titulek 1973tkadlec 1974tkanina 1975tlapka 1976tleskat 1977tlukot 1978tlupa 1979tmel 1980toaleta 1981topinka 1982topol 1983torzo 1984touha 1985toulec 1986tradice 1987traktor 1988tramp 1989trasa 1990traverza 1991trefit 1992trest 1993trezor 1994trhavina 1995trhlina 1996trochu 1997trojice 1998troska 1999trouba 2000trpce 2001trpitel 2002trpkost 2003trubec 2004truchlit 2005truhlice 2006trus 2007trvat 2008tudy 2009tuhnout 2010tuhost 2011tundra 2012turista 2013turnaj 2014tuzemsko 2015tvaroh 2016tvorba 2017tvrdost 2018tvrz 2019tygr 2020tykev 2021ubohost 2022uboze 2023ubrat 2024ubrousek 2025ubrus 2026ubytovna 2027ucho 2028uctivost 2029udivit 2030uhradit 2031ujednat 2032ujistit 2033ujmout 2034ukazatel 2035uklidnit 2036uklonit 2037ukotvit 2038ukrojit 2039ulice 2040ulita 2041ulovit 2042umyvadlo 2043unavit 2044uniforma 2045uniknout 2046upadnout 2047uplatnit 2048uplynout 2049upoutat 2050upravit 2051uran 2052urazit 2053usednout 2054usilovat 2055usmrtit 2056usnadnit 2057usnout 2058usoudit 2059ustlat 2060ustrnout 2061utahovat 2062utkat 2063utlumit 2064utonout 2065utopenec 2066utrousit 2067uvalit 2068uvolnit 2069uvozovka 2070uzdravit 2071uzel 2072uzenina 2073uzlina 2074uznat 2075vagon 2076valcha 2077valoun 2078vana 2079vandal 2080vanilka 2081varan 2082varhany 2083varovat 2084vcelku 2085vchod 2086vdova 2087vedro 2088vegetace 2089vejce 2090velbloud 2091veletrh 2092velitel 2093velmoc 2094velryba 2095venkov 2096veranda 2097verze 2098veselka 2099veskrze 2100vesnice 2101vespodu 2102vesta 2103veterina 2104veverka 2105vibrace 2106vichr 2107videohra 2108vidina 2109vidle 2110vila 2111vinice 2112viset 2113vitalita 2114vize 2115vizitka 2116vjezd 2117vklad 2118vkus 2119vlajka 2120vlak 2121vlasec 2122vlevo 2123vlhkost 2124vliv 2125vlnovka 2126vloupat 2127vnucovat 2128vnuk 2129voda 2130vodivost 2131vodoznak 2132vodstvo 2133vojensky 2134vojna 2135vojsko 2136volant 2137volba 2138volit 2139volno 2140voskovka 2141vozidlo 2142vozovna 2143vpravo 2144vrabec 2145vracet 2146vrah 2147vrata 2148vrba 2149vrcholek 2150vrhat 2151vrstva 2152vrtule 2153vsadit 2154vstoupit 2155vstup 2156vtip 2157vybavit 2158vybrat 2159vychovat 2160vydat 2161vydra 2162vyfotit 2163vyhledat 2164vyhnout 2165vyhodit 2166vyhradit 2167vyhubit 2168vyjasnit 2169vyjet 2170vyjmout 2171vyklopit 2172vykonat 2173vylekat 2174vymazat 2175vymezit 2176vymizet 2177vymyslet 2178vynechat 2179vynikat 2180vynutit 2181vypadat 2182vyplatit 2183vypravit 2184vypustit 2185vyrazit 2186vyrovnat 2187vyrvat 2188vyslovit 2189vysoko 2190vystavit 2191vysunout 2192vysypat 2193vytasit 2194vytesat 2195vytratit 2196vyvinout 2197vyvolat 2198vyvrhel 2199vyzdobit 2200vyznat 2201vzadu 2202vzbudit 2203vzchopit 2204vzdor 2205vzduch 2206vzdychat 2207vzestup 2208vzhledem 2209vzkaz 2210vzlykat 2211vznik 2212vzorek 2213vzpoura 2214vztah 2215vztek 2216xylofon 2217zabrat 2218zabydlet 2219zachovat 2220zadarmo 2221zadusit 2222zafoukat 2223zahltit 2224zahodit 2225zahrada 2226zahynout 2227zajatec 2228zajet 2229zajistit 2230zaklepat 2231zakoupit 2232zalepit 2233zamezit 2234zamotat 2235zamyslet 2236zanechat 2237zanikat 2238zaplatit 2239zapojit 2240zapsat 2241zarazit 2242zastavit 2243zasunout 2244zatajit 2245zatemnit 2246zatknout 2247zaujmout 2248zavalit 2249zavelet 2250zavinit 2251zavolat 2252zavrtat 2253zazvonit 2254zbavit 2255zbrusu 2256zbudovat 2257zbytek 2258zdaleka 2259zdarma 2260zdatnost 2261zdivo 2262zdobit 2263zdroj 2264zdvih 2265zdymadlo 2266zelenina 2267zeman 2268zemina 2269zeptat 2270zezadu 2271zezdola 2272zhatit 2273zhltnout 2274zhluboka 2275zhotovit 2276zhruba 2277zima 2278zimnice 2279zjemnit 2280zklamat 2281zkoumat 2282zkratka 2283zkumavka 2284zlato 2285zlehka 2286zloba 2287zlom 2288zlost 2289zlozvyk 2290zmapovat 2291zmar 2292zmatek 2293zmije 2294zmizet 2295zmocnit 2296zmodrat 2297zmrzlina 2298zmutovat 2299znak 2300znalost 2301znamenat 2302znovu 2303zobrazit 2304zotavit 2305zoubek 2306zoufale 2307zplodit 2308zpomalit 2309zprava 2310zprostit 2311zprudka 2312zprvu 2313zrada 2314zranit 2315zrcadlo 2316zrnitost 2317zrno 2318zrovna 2319zrychlit 2320zrzavost 2321zticha 2322ztratit 2323zubovina 2324zubr 2325zvednout 2326zvenku 2327zvesela 2328zvon 2329zvrat 2330zvukovod 2331zvyk`.split(` 2332`)),ef}var tf={},GC;function xte(){return GC||(GC=1,Object.defineProperty(tf,"__esMo
2332dule",{value:!0}),tf.wordlist=void 0,tf.wordlist=
vendor: 13,124 bytes, lines 2332-4379
2332`abandon 2333ability 2334able 2335about 2336above 2337absent 2338absorb 2339abstract 2340absurd 2341abuse 2342access 2343accident 2344account 2345accuse 2346achieve 2347acid 2348acoustic 2349acquire 2350across 2351act 2352action 2353actor 2354actress 2355actual 2356adapt 2357add 2358addict 2359address 2360adjust 2361admit 2362adult 2363advance 2364advice 2365aerobic 2366affair 2367afford 2368afraid 2369again 2370age 2371agent 2372agree 2373ahead 2374aim 2375air 2376airport 2377aisle 2378alarm 2379album 2380alcohol 2381alert 2382alien 2383all 2384alley 2385allow 2386almost 2387alone 2388alpha 2389already 2390also 2391alter 2392always 2393amateur 2394amazing 2395among 2396amount 2397amused 2398analyst 2399anchor 2400ancient 2401anger 2402angle 2403angry 2404animal 2405ankle 2406announce 2407annual 2408another 2409answer 2410antenna 2411antique 2412anxiety 2413any 2414apart 2415apology 2416appear 2417apple 2418approve 2419april 2420arch 2421arctic 2422area 2423arena 2424argue 2425arm 2426armed 2427armor 2428army 2429around 2430arrange 2431arrest 2432arrive 2433arrow 2434art 2435artefact 2436artist 2437artwork 2438ask 2439aspect 2440assault 2441asset 2442assist 2443assume 2444asthma 2445athlete 2446atom 2447attack 2448attend 2449attitude 2450attract 2451auction 2452audit 2453august 2454aunt 2455author 2456auto 2457autumn 2458average 2459avocado 2460avoid 2461awake 2462aware 2463away 2464awesome 2465awful 2466awkward 2467axis 2468baby 2469bachelor 2470bacon 2471badge 2472bag 2473balance 2474balcony 2475ball 2476bamboo 2477banana 2478banner 2479bar 2480barely 2481bargain 2482barrel 2483base 2484basic 2485basket 2486battle 2487beach 2488bean 2489beauty 2490because 2491become 2492beef 2493before 2494begin 2495behave 2496behind 2497believe 2498below 2499belt 2500bench 2501benefit 2502best 2503betray 2504better 2505between 2506beyond 2507bicycle 2508bid 2509bike 2510bind 2511biology 2512bird 2513birth 2514bitter 2515black 2516blade 2517blame 2518blanket 2519blast 2520bleak 2521bless 2522blind 2523blood 2524blossom 2525blouse 2526blue 2527blur 2528blush 2529board 2530boat 2531body 2532boil 2533bomb 2534bone 2535bonus 2536book 2537boost 2538border 2539boring 2540borrow 2541boss 2542bottom 2543bounce 2544box 2545boy 2546bracket 2547brain 2548brand 2549brass 2550brave 2551bread 2552breeze 2553brick 2554bridge 2555brief 2556bright 2557bring 2558brisk 2559broccoli 2560broken 2561bronze 2562broom 2563brother 2564brown 2565brush 2566bubble 2567buddy 2568budget 2569buffalo 2570build 2571bulb 2572bulk 2573bullet 2574bundle 2575bunker 2576burden 2577burger 2578burst 2579bus 2580business 2581busy 2582butter 2583buyer 2584buzz 2585cabbage 2586cabin 2587cable 2588cactus 2589cage 2590cake 2591call 2592calm 2593camera 2594camp 2595can 2596canal 2597cancel 2598candy 2599cannon 2600canoe 2601canvas 2602canyon 2603capable 2604capital 2605captain 2606car 2607carbon 2608card 2609cargo 2610carpet 2611carry 2612cart 2613case 2614cash 2615casino 2616castle 2617casual 2618cat 2619catalog 2620catch 2621category 2622cattle 2623caught 2624cause 2625caution 2626cave 2627ceiling 2628celery 2629cement 2630census 2631century 2632cereal 2633certain 2634chair 2635chalk 2636champion 2637change 2638chaos 2639chapter 2640charge 2641chase 2642chat 2643cheap 2644check 2645cheese 2646chef 2647cherry 2648chest 2649chicken 2650chief 2651child 2652chimney 2653choice 2654choose 2655chronic 2656chuckle 2657chunk 2658churn 2659cigar 2660cinnamon 2661circle 2662citizen 2663city 2664civil 2665claim 2666clap 2667clarify 2668claw 2669clay 2670clean 2671clerk 2672clever 2673click 2674client 2675cliff 2676climb 2677clinic 2678clip 2679clock 2680clog 2681close 2682cloth 2683cloud 2684clown 2685club 2686clump 2687cluster 2688clutch 2689coach 2690coast 2691coconut 2692code 2693coffee 2694coil 2695coin 2696collect 2697color 2698column 2699combine 2700come 2701comfort 2702comic 2703common 2704company 2705concert 2706conduct 2707confirm 2708congress 2709connect 2710consider 2711control 2712convince 2713cook 2714cool 2715copper 2716copy 2717coral 2718core 2719corn 2720correct 2721cost 2722cotton 2723couch 2724country 2725couple 2726course 2727cousin 2728cover 2729coyote 2730crack 2731cradle 2732craft 2733cram 2734crane 2735crash 2736crater 2737crawl 2738crazy 2739cream 2740credit 2741creek 2742crew 2743cricket 2744crime 2745crisp 2746critic 2747crop 2748cross 2749crouch 2750crowd 2751crucial 2752cruel 2753cruise 2754crumble 2755crunch 2756crush 2757cry 2758crystal 2759cube 2760culture 2761cup 2762cupboard 2763curious 2764current 2765curtain 2766curve 2767cushion 2768custom 2769cute 2770cycle 2771dad 2772damage 2773damp 2774dance 2775danger 2776daring 2777dash 2778daughter 2779dawn 2780day 2781deal 2782debate 2783debris 2784decade 2785december 2786decide 2787decline 2788decorate 2789decrease 2790deer 2791defense 2792define 2793defy 2794degree 2795delay 2796deliver 2797demand 2798demise 2799denial 2800dentist 2801deny 2802depart 2803depend 2804deposit 2805depth 2806deputy 2807derive 2808describe 2809desert 2810design 2811desk 2812despair 2813destroy 2814detail 2815detect 2816develop 2817device 2818devote 2819diagram 2820dial 2821diamond 2822diary 2823dice 2824diesel 2825diet 2826differ 2827digital 2828dignity 2829dilemma 2830dinner 2831dinosaur 2832direct 2833dirt 2834disagree 2835discover 2836disease 2837dish 2838dismiss 2839disorder 2840display 2841distance 2842divert 2843divide 2844divorce 2845dizzy 2846doctor 2847document 2848dog 2849doll 2850dolphin 2851domain 2852donate 2853donkey 2854donor 2855door 2856dose 2857double 2858dove 2859draft 2860dragon 2861drama 2862drastic 2863draw 2864dream 2865dress 2866drift 2867drill 2868drink 2869drip 2870drive 2871drop 2872drum 2873dry 2874duck 2875dumb 2876dune 2877during 2878dust 2879dutch 2880duty 2881dwarf 2882dynamic 2883eager 2884eagle 2885early 2886earn 2887earth 2888easily 2889east 2890easy 2891echo 2892ecology 2893economy 2894edge 2895edit 2896educate 2897effort 2898egg 2899eight 2900either 2901elbow 2902elder 2903electric 2904elegant 2905element 2906elephant 2907elevator 2908elite 2909else 2910embark 2911embody 2912embrace 2913emerge 2914emotion 2915employ 2916empower 2917empty 2918enable 2919enact 2920end 2921endless 2922endorse 2923enemy 2924energy 2925enforce 2926engage 2927engine 2928enhance 2929enjoy 2930enlist 2931enough 2932enrich 2933enroll 2934ensure 2935enter 2936entire 2937entry 2938envelope 2939episode 2940equal 2941equip 2942era 2943erase 2944erode 2945erosion 2946error 2947erupt 2948escape 2949essay 2950essence 2951estate 2952eternal 2953ethics 2954evidence 2955evil 2956evoke 2957evolve 2958exact 2959example 2960excess 2961exchange 2962excite 2963exclude 2964excuse 2965execute 2966exercise 2967exhaust 2968exhibit 2969exile 2970exist 2971exit 2972exotic 2973expand 2974expect 2975expire 2976explain 2977expose 2978express 2979extend 2980extra 2981eye 2982eyebrow 2983fabric 2984face 2985faculty 2986fade 2987faint 2988faith 2989fall 2990false 2991fame 2992family 2993famous 2994fan 2995fancy 2996fantasy 2997farm 2998fashion 2999fat 3000fatal 3001father 3002fatigue 3003fault 3004favorite 3005feature 3006february 3007federal 3008fee 3009feed 3010feel 3011female 3012fence 3013festival 3014fetch 3015fever 3016few 3017fiber 3018fiction 3019field 3020figure 3021file 3022film 3023filter 3024final 3025find 3026fine 3027finger 3028finish 3029fire 3030firm 3031first 3032fiscal 3033fish 3034fit 3035fitness 3036fix 3037flag 3038flame 3039flash 3040flat 3041flavor 3042flee 3043flight 3044flip 3045float 3046flock 3047floor 3048flower 3049fluid 3050flush 3051fly 3052foam 3053focus 3054fog 3055foil 3056fold 3057follow 3058food 3059foot 3060force 3061forest 3062forget 3063fork 3064fortune 3065forum 3066forward 3067fossil 3068foster 3069found 3070fox 3071fragile 3072frame 3073frequent 3074fresh 3075friend 3076fringe 3077frog 3078front 3079frost 3080frown 3081frozen 3082fruit 3083fuel 3084fun 3085funny 3086furnace 3087fury 3088future 3089gadget 3090gain 3091galaxy 3092gallery 3093game 3094gap 3095garage 3096garbage 3097garden 3098garlic 3099garment 3100gas 3101gasp 3102gate 3103gather 3104gauge 3105gaze 3106general 3107genius 3108genre 3109gentle 3110genuine 3111gesture 3112ghost 3113giant 3114gift 3115giggle 3116ginger 3117giraffe 3118girl 3119give 3120glad 3121glance 3122glare 3123glass 3124glide 3125glimpse 3126globe 3127gloom 3128glory 3129glove 3130glow 3131glue 3132goat 3133goddess 3134gold 3135good 3136goose 3137gorilla 3138gospel 3139gossip 3140govern 3141gown 3142grab 3143grace 3144grain 3145grant 3146grape 3147grass 3148gravity 3149great 3150green 3151grid 3152grief 3153grit 3154grocery 3155group 3156grow 3157grunt 3158guard 3159guess 3160guide 3161guilt 3162guitar 3163gun 3164gym 3165habit 3166hair 3167half 3168hammer 3169hamster 3170hand 3171happy 3172harbor 3173hard 3174harsh 3175harvest 3176hat 3177have 3178hawk 3179hazard 3180head 3181health 3182heart 3183heavy 3184hedgehog 3185height 3186hello 3187helmet 3188help 3189hen 3190hero 3191hidden 3192high 3193hill 3194hint 3195hip 3196hire 3197history 3198hobby 3199hockey 3200hold 3201hole 3202holiday 3203hollow 3204home 3205honey 3206hood 3207hope 3208horn 3209horror 3210horse 3211hospital 3212host 3213hotel 3214hour 3215hover 3216hub 3217huge 3218human 3219humble 3220humor 3221hundred 3222hungry 3223hunt 3224hurdle 3225hurry 3226hurt 3227husband 3228hybrid 3229ice 3230icon 3231idea 3232identify 3233idle 3234ignore 3235ill 3236illegal 3237illness 3238image 3239imitate 3240immense 3241immune 3242impact 3243impose 3244improve 3245impulse 3246inch 3247include 3248income 3249increase 3250index 3251indicate 3252indoor 3253industry 3254infant 3255inflict 3256inform 3257inhale 3258inherit 3259initial 3260inject 3261injury 3262inmate 3263inner 3264innocent 3265input 3266inquiry 3267insane 3268insect 3269inside 3270inspire 3271install 3272intact 3273interest 3274into 3275invest 3276invite 3277involve 3278iron 3279island 3280isolate 3281issue 3282item 3283ivory 3284jacket 3285jaguar 3286jar 3287jazz 3288jealous 3289jeans 3290jelly 3291jewel 3292job 3293join 3294joke 3295journey 3296joy 3297judge 3298juice 3299jump 3300jungle 3301junior 3302junk 3303just 3304kangaroo 3305keen 3306keep 3307ketchup 3308key 3309kick 3310kid 3311kidney 3312kind 3313kingdom 3314kiss 3315kit 3316kitchen 3317kite 3318kitten 3319kiwi 3320knee 3321knife 3322knock 3323know 3324lab 3325label 3326labor 3327ladder 3328lady 3329lake 3330lamp 3331language 3332laptop 3333large 3334later 3335latin 3336laugh 3337laundry 3338lava 3339law 3340lawn 3341lawsuit 3342layer 3343lazy 3344leader 3345leaf 3346learn 3347leave 3348lecture 3349left 3350leg 3351legal 3352legend 3353leisure 3354lemon 3355lend 3356length 3357lens 3358leopard 3359lesson 3360letter 3361level 3362liar 3363liberty 3364library 3365license 3366life 3367lift 3368light 3369like 3370limb 3371limit 3372link 3373lion 3374liquid 3375list 3376little 3377live 3378lizard 3379load 3380loan 3381lobster 3382local 3383lock 3384logic 3385lonely 3386long 3387loop 3388lottery 3389loud 3390lounge 3391love 3392loyal 3393lucky 3394luggage 3395lumber 3396lunar 3397lunch 3398luxury 3399lyrics 3400machine 3401mad 3402magic 3403magnet 3404maid 3405mail 3406main 3407major 3408make 3409mammal 3410man 3411manage 3412mandate 3413mango 3414mansion 3415manual 3416maple 3417marble 3418march 3419margin 3420marine 3421market 3422marriage 3423mask 3424mass 3425master 3426match 3427material 3428math 3429matrix 3430matter 3431maximum 3432maze 3433meadow 3434mean 3435measure 3436meat 3437mechanic 3438medal 3439media 3440melody 3441melt 3442member 3443memory 3444mention 3445menu 3446mercy 3447merge 3448merit 3449merry 3450mesh 3451message 3452metal 3453method 3454middle 3455midnight 3456milk 3457million 3458mimic 3459mind 3460minimum 3461minor 3462minute 3463miracle 3464mirror 3465misery 3466miss 3467mistake 3468mix 3469mixed 3470mixture 3471mobile 3472model 3473modify 3474mom 3475moment 3476monitor 3477monkey 3478monster 3479month 3480moon 3481moral 3482more 3483morning 3484mosquito 3485mother 3486motion 3487motor 3488mountain 3489mouse 3490move 3491movie 3492much 3493muffin 3494mule 3495multiply 3496muscle 3497museum 3498mushroom 3499music 3500must 3501mutual 3502myself 3503mystery 3504myth 3505naive 3506name 3507napkin 3508narrow 3509nasty 3510nation 3511nature 3512near 3513neck 3514need 3515negative 3516neglect 3517neither 3518nephew 3519nerve 3520nest 3521net 3522network 3523neutral 3524never 3525news 3526next 3527nice 3528night 3529noble 3530noise 3531nominee 3532noodle 3533normal 3534north 3535nose 3536notable 3537note 3538nothing 3539notice 3540novel 3541now 3542nuclear 3543number 3544nurse 3545nut 3546oak 3547obey 3548object 3549oblige 3550obscure 3551observe 3552obtain 3553obvious 3554occur 3555ocean 3556october 3557odor 3558off 3559offer 3560office 3561often 3562oil 3563okay 3564old 3565olive 3566olympic 3567omit 3568once 3569one 3570onion 3571online 3572only 3573open 3574opera 3575opinion 3576oppose 3577option 3578orange 3579orbit 3580orchard 3581order 3582ordinary 3583organ 3584orient 3585original 3586orphan 3587ostrich 3588other 3589outdoor 3590outer 3591output 3592outside 3593oval 3594oven 3595over 3596own 3597owner 3598oxygen 3599oyster 3600ozone 3601pact 3602paddle 3603page 3604pair 3605palace 3606palm 3607panda 3608panel 3609panic 3610panther 3611paper 3612parade 3613parent 3614park 3615parrot 3616party 3617pass 3618patch 3619path 3620patient 3621patrol 3622pattern 3623pause 3624pave 3625payment 3626peace 3627peanut 3628pear 3629peasant 3630pelican 3631pen 3632penalty 3633pencil 3634people 3635pepper 3636perfect 3637permit 3638person 3639pet 3640phone 3641photo 3642phrase 3643physical 3644piano 3645picnic 3646picture 3647piece 3648pig 3649pigeon 3650pill 3651pilot 3652pink 3653pioneer 3654pipe 3655pistol 3656pitch 3657pizza 3658place 3659planet 3660plastic 3661plate 3662play 3663please 3664pledge 3665pluck 3666plug 3667plunge 3668poem 3669poet 3670point 3671polar 3672pole 3673police 3674pond 3675pony 3676pool 3677popular 3678portion 3679position 3680possible 3681post 3682potato 3683pottery 3684poverty 3685powder 3686power 3687practice 3688praise 3689predict 3690prefer 3691prepare 3692present 3693pretty 3694prevent 3695price 3696pride 3697primary 3698print 3699priority 3700prison 3701private 3702prize 3703problem 3704process 3705produce 3706profit 3707program 3708project 3709promote 3710proof 3711property 3712prosper 3713protect 3714proud 3715provide 3716public 3717pudding 3718pull 3719pulp 3720pulse 3721pumpkin 3722punch 3723pupil 3724puppy 3725purchase 3726purity 3727purpose 3728purse 3729push 3730put 3731puzzle 3732pyramid 3733quality 3734quantum 3735quarter 3736question 3737quick 3738quit 3739quiz 3740quote 3741rabbit 3742raccoon 3743race 3744rack 3745radar 3746radio 3747rail 3748rain 3749raise 3750rally 3751ramp 3752ranch 3753random 3754range 3755rapid 3756rare 3757rate 3758rather 3759raven 3760raw 3761razor 3762ready 3763real 3764reason 3765rebel 3766rebuild 3767recall 3768receive 3769recipe 3770record 3771recycle 3772reduce 3773reflect 3774reform 3775refuse 3776region 3777regret 3778regular 3779reject 3780relax 3781release 3782relief 3783rely 3784remain 3785remember 3786remind 3787remove 3788render 3789renew 3790rent 3791reopen 3792repair 3793repeat 3794replace 3795report 3796require 3797rescue 3798resemble 3799resist 3800resource 3801response 3802result 3803retire 3804retreat 3805return 3806reunion 3807reveal 3808review 3809reward 3810rhythm 3811rib 3812ribbon 3813rice 3814rich 3815ride 3816ridge 3817rifle 3818right 3819rigid 3820ring 3821riot 3822ripple 3823risk 3824ritual 3825rival 3826river 3827road 3828roast 3829robot 3830robust 3831rocket 3832romance 3833roof 3834rookie 3835room 3836rose 3837rotate 3838rough 3839round 3840route 3841royal 3842rubber 3843rude 3844rug 3845rule 3846run 3847runway 3848rural 3849sad 3850saddle 3851sadness 3852safe 3853sail 3854salad 3855salmon 3856salon 3857salt 3858salute 3859same 3860sample 3861sand 3862satisfy 3863satoshi 3864sauce 3865sausage 3866save 3867say 3868scale 3869scan 3870scare 3871scatter 3872scene 3873scheme 3874school 3875science 3876scissors 3877scorpion 3878scout 3879scrap 3880screen 3881script 3882scrub 3883sea 3884search 3885season 3886seat 3887second 3888secret 3889section 3890security 3891seed 3892seek 3893segment 3894select 3895sell 3896seminar 3897senior 3898sense 3899sentence 3900series 3901service 3902session 3903settle 3904setup 3905seven 3906shadow 3907shaft 3908shallow 3909share 3910shed 3911shell 3912sheriff 3913shield 3914shift 3915shine 3916ship 3917shiver 3918shock 3919shoe 3920shoot 3921shop 3922short 3923shoulder 3924shove 3925shrimp 3926shrug 3927shuffle 3928shy 3929sibling 3930sick 3931side 3932siege 3933sight 3934sign 3935silent 3936silk 3937silly 3938silver 3939similar 3940simple 3941since 3942sing 3943siren 3944sister 3945situate 3946six 3947size 3948skate 3949sketch 3950ski 3951skill 3952skin 3953skirt 3954skull 3955slab 3956slam 3957sleep 3958slender 3959slice 3960slide 3961slight 3962slim 3963slogan 3964slot 3965slow 3966slush 3967small 3968smart 3969smile 3970smoke 3971smooth 3972snack 3973snake 3974snap 3975sniff 3976snow 3977soap 3978soccer 3979social 3980sock 3981soda 3982soft 3983solar 3984soldier 3985solid 3986solution 3987solve 3988someone 3989song 3990soon 3991sorry 3992sort 3993soul 3994sound 3995soup 3996source 3997south 3998space 3999spare 4000spatial 4001spawn 4002speak 4003special 4004speed 4005spell 4006spend 4007sphere 4008spice 4009spider 4010spike 4011spin 4012spirit 4013split 4014spoil 4015sponsor 4016spoon 4017sport 4018spot 4019spray 4020spread 4021spring 4022spy 4023square 4024squeeze 4025squirrel 4026stable 4027stadium 4028staff 4029stage 4030stairs 4031stamp 4032stand 4033start 4034state 4035stay 4036steak 4037steel 4038stem 4039step 4040stereo 4041stick 4042still 4043sting 4044stock 4045stomach 4046stone 4047stool 4048story 4049stove 4050strategy 4051street 4052strike 4053strong 4054struggle 4055student 4056stuff 4057stumble 4058style 4059subject 4060submit 4061subway 4062success 4063such 4064sudden 4065suffer 4066sugar 4067suggest 4068suit 4069summer 4070sun 4071sunny 4072sunset 4073super 4074supply 4075supreme 4076sure 4077surface 4078surge 4079surprise 4080surround 4081survey 4082suspect 4083sustain 4084swallow 4085swamp 4086swap 4087swarm 4088swear 4089sweet 4090swift 4091swim 4092swing 4093switch 4094sword 4095symbol 4096symptom 4097syrup 4098system 4099table 4100tackle 4101tag 4102tail 4103talent 4104talk 4105tank 4106tape 4107target 4108task 4109taste 4110tattoo 4111taxi 4112teach 4113team 4114tell 4115ten 4116tenant 4117tennis 4118tent 4119term 4120test 4121text 4122thank 4123that 4124theme 4125then 4126theory 4127there 4128they 4129thing 4130this 4131thought 4132three 4133thrive 4134throw 4135thumb 4136thunder 4137ticket 4138tide 4139tiger 4140tilt 4141timber 4142time 4143tiny 4144tip 4145tired 4146tissue 4147title 4148toast 4149tobacco 4150today 4151toddler 4152toe 4153together 4154toilet 4155token 4156tomato 4157tomorrow 4158tone 4159tongue 4160tonight 4161tool 4162tooth 4163top 4164topic 4165topple 4166torch 4167tornado 4168tortoise 4169toss 4170total 4171tourist 4172toward 4173tower 4174town 4175toy 4176track 4177trade 4178traffic 4179tragic 4180train 4181transfer 4182trap 4183trash 4184travel 4185tray 4186treat 4187tree 4188trend 4189trial 4190tribe 4191trick 4192trigger 4193trim 4194trip 4195trophy 4196trouble 4197truck 4198true 4199truly 4200trumpet 4201trust 4202truth 4203try 4204tube 4205tuition 4206tumble 4207tuna 4208tunnel 4209turkey 4210turn 4211turtle 4212twelve 4213twenty 4214twice 4215twin 4216twist 4217two 4218type 4219typical 4220ugly 4221umbrella 4222unable 4223unaware 4224uncle 4225uncover 4226under 4227undo 4228unfair 4229unfold 4230unhappy 4231uniform 4232unique 4233unit 4234universe 4235unknown 4236unlock 4237until 4238unusual 4239unveil 4240update 4241upgrade 4242uphold 4243upon 4244upper 4245upset 4246urban 4247urge 4248usage 4249use 4250used 4251useful 4252useless 4253usual 4254utility 4255vacant 4256vacuum 4257vague 4258valid 4259valley 4260valve 4261van 4262vanish 4263vapor 4264various 4265vast 4266vault 4267vehicle 4268velvet 4269vendor 4270venture 4271venue 4272verb 4273verify 4274version 4275very 4276vessel 4277veteran 4278viable 4279vibrant 4280vicious 4281victory 4282video 4283view 4284village 4285vintage 4286violin 4287virtual 4288virus 4289visa 4290visit 4291visual 4292vital 4293vivid 4294vocal 4295voice 4296void 4297volcano 4298volume 4299vote 4300voyage 4301wage 4302wagon 4303wait 4304walk 4305wall 4306walnut 4307want 4308warfare 4309warm 4310warrior 4311wash 4312wasp 4313waste 4314water 4315wave 4316way 4317wealth 4318weapon 4319wear 4320weasel 4321weather 4322web 4323wedding 4324weekend 4325weird 4326welcome 4327west 4328wet 4329whale 4330what 4331wheat 4332wheel 4333when 4334where 4335whip 4336whisper 4337wide 4338width 4339wife 4340wild 4341will 4342win 4343window 4344wine 4345wing 4346wink 4347winner 4348winter 4349wire 4350wisdom 4351wise 4352wish 4353witness 4354wolf 4355woman 4356wonder 4357wood 4358wool 4359word 4360work 4361world 4362worry 4363worth 4364wrap 4365wreck 4366wrestle 4367wrist 4368write 4369wrong 4370yard 4371year 4372yellow 4373you 4374young 4375youth 4376zebra 4377zero 4378zone 4379zoo`.split(
4379` 4380`)),tf}var rf={},KC;function Ete(){return KC||(KC=1,Object.defineProperty(rf,"__esModule",{value:!0}),rf.wordlist=void 0,rf.wordlist=`abaisser 4381abandon 4382abdiquer 4383abeille 4384abolir 4385aborder 4386aboutir 4387aboyer 4388abrasif 4389abreuver 4390abriter 4391abroger 4392abrupt 4393absence 4394absolu 4395absurde 4396abusif 4397abyssal 4398acadeÌmie 4399acajou 4400acarien 4401accabler 4402accepter 4403acclamer 4404accolade 4405accroche 4406accuser 4407acerbe 4408achat 4409acheter 4410aciduler 4411acier 4412acompte 4413acqueÌrir 4414acronyme 4415acteur 4416actif 4417actuel 4418adepte 4419adeÌquat 4420adheÌsif 4421adjectif 4422adjuger 4423admettre 4424admirer 4425adopter 4426adorer 4427adoucir 4428adresse 4429adroit 4430adulte 4431adverbe 4432aeÌrer 4433aeÌronef 4434affaire 4435affecter 4436affiche 4437affreux 4438affubler 4439agacer 4440agencer 4441agile 4442agiter 4443agrafer 4444agreÌable 4445agrume 4446aider 4447aiguille 4448ailier 4449aimable 4450aisance 4451ajouter 4452ajuster 4453alarmer 4454alchimie 4455alerte 4456algeÌbre 4457algue 4458alieÌner 4459aliment 4460alleÌger 4461alliage 4462allouer 4463allumer 4464alourdir 4465alpaga 4466altesse 4467alveÌole 4468amateur 4469ambigu 4470ambre 4471ameÌnager 4472amertume 4473amidon 4474amiral 4475amorcer 4476amour 4477amovible 4478amphibie 4479ampleur 4480amusant 4481analyse 4482anaphore 4483anarchie 4484anatomie 4485ancien 4486aneÌantir 4487angle 4488angoisse 4489anguleux 4490animal 4491annexer 4492annonce 4493annuel 4494anodin 4495anomalie 4496anonyme 4497anormal 4498antenne 4499antidote 4500anxieux 4501apaiser 4502apeÌritif 4503aplanir 4504apologie 4505appareil 4506appeler 4507apporter 4508appuyer 4509aquarium 4510aqueduc 4511arbitre 4512arbuste 4513ardeur 4514ardoise 4515argent 4516arlequin 4517armature 4518armement 4519armoire 4520armure 4521arpenter 4522arracher 4523arriver 4524arroser 4525arsenic 4526arteÌriel 4527article 4528aspect 4529asphalte 4530aspirer 4531assaut 4532asservir 4533assiette 4534associer 4535assurer 4536asticot 4537astre 4538astuce 4539atelier 4540atome 4541atrium 4542atroce 4543attaque 4544attentif 4545attirer 4546attraper 4547aubaine 4548auberge 4549audace 4550audible 4551augurer 4552aurore 4553automne 4554autruche 4555avaler 4556avancer 4557avarice 4558avenir 4559averse 4560aveugle 4561aviateur 4562avide 4563avion 4564aviser 4565avoine 4566avouer 4567avril 4568axial 4569axiome 4570badge 4571bafouer 4572bagage 4573baguette 4574baignade 4575balancer 4576balcon 4577baleine 4578balisage 4579bambin 4580bancaire 4581bandage 4582banlieue 4583bannieÌre 4584banquier 4585barbier 4586baril 4587baron 4588barque 4589barrage 4590bassin 4591bastion 4592bataille 4593bateau 4594batterie 4595baudrier 4596bavarder 4597belette 4598beÌlier 4599belote 4600beÌneÌfice 4601berceau 4602berger 4603berline 4604bermuda 4605besace 4606besogne 4607beÌtail 4608beurre 4609biberon 4610bicycle 4611bidule 4612bijou 4613bilan 4614bilingue 4615billard 4616binaire 4617biologie 4618biopsie 4619biotype 4620biscuit 4621bison 4622bistouri 4623bitume 4624bizarre 4625blafard 4626blague 4627blanchir 4628blessant 4629blinder 4630blond 4631bloquer 4632blouson 4633bobard 4634bobine 4635boire 4636boiser 4637bolide 4638bonbon 4639bondir 4640bonheur 4641bonifier 4642bonus 4643bordure 4644borne 4645botte 4646boucle 4647boueux 4648bougie 4649boulon 4650bouquin 4651bourse 4652boussole 4653boutique 4654boxeur 4655branche 4656brasier 4657brave 4658brebis 4659breÌche 4660breuvage 4661bricoler 4662brigade 4663brillant 4664brioche 4665brique 4666brochure 4667broder 4668bronzer 4669brousse 4670broyeur 4671brume 4672brusque 4673brutal 4674bruyant 4675buffle 4676buisson 4677bulletin 4678bureau 4679burin 4680bustier 4681butiner 4682butoir 4683buvable 4684buvette 4685cabanon 4686cabine 4687cachette 4688cadeau 4689cadre 4690cafeÌine 4691caillou 4692caisson 4693calculer 4694calepin 4695calibre 4696calmer 4697calomnie 4698calvaire 4699camarade 4700cameÌra 4701camion 4702campagne 4703canal 4704caneton 4705canon 4706cantine 4707canular 4708capable 4709caporal 4710caprice 4711capsule 4712capter 4713capuche 4714carabine 4715carbone 4716caresser 4717caribou 4718carnage 4719carotte 4720carreau 4721carton 4722cascade 4723casier 4724casque 4725cassure 4726causer 4727caution 4728cavalier 4729caverne 4730caviar 4731ceÌdille 4732ceinture 4733ceÌleste 4734cellule 4735cendrier 4736censurer 4737central 4738cercle 4739ceÌreÌbral 4740cerise 4741cerner 4742cerveau 4743cesser 4744chagrin 4745chaise 4746chaleur 4747chambre 4748chance 4749chapitre 4750charbon 4751chasseur 4752chaton 4753chausson 4754chavirer 4755chemise 4756chenille 4757cheÌquier 4758chercher 4759cheval 4760chien 4761chiffre 4762chignon 4763chimeÌre 4764chiot 4765chlorure 4766chocolat 4767choisir 4768chose 4769chouette 4770chrome 4771chute 4772cigare 4773cigogne 4774cimenter 4775cineÌma 4776cintrer 4777circuler 4778cirer 4779cirque 4780citerne 4781citoyen 4782citron 4783civil 4784clairon 4785clameur 4786claquer 4787classe 4788clavier 4789client 4790cligner 4791climat 4792clivage 4793cloche 4794clonage 4795cloporte 4796cobalt 4797cobra 4798cocasse 4799cocotier 4800coder 4801codifier 4802coffre 4803cogner 4804coheÌsion 4805coiffer 4806coincer 4807coleÌre 4808colibri 4809colline 4810colmater 4811colonel 4812combat 4813comeÌdie 4814commande 4815compact 4816concert 4817conduire 4818confier 4819congeler 4820connoter 4821consonne 4822contact 4823convexe 4824copain 4825copie 4826corail 4827corbeau 4828cordage 4829corniche 4830corpus 4831correct 4832corteÌge 4833cosmique 4834costume 4835coton 4836coude 4837coupure 4838courage 4839couteau 4840couvrir 4841coyote 4842crabe 4843crainte 4844cravate 4845crayon 4846creÌature 4847creÌditer 4848creÌmeux 4849creuser 4850crevette 4851cribler 4852crier 4853cristal 4854criteÌre 4855croire 4856croquer 4857crotale 4858crucial 4859cruel 4860crypter 4861cubique 4862cueillir 4863cuilleÌre 4864cuisine 4865cuivre 4866culminer 4867cultiver 4868cumuler 4869cupide 4870curatif 4871curseur 4872cyanure 4873cycle 4874cylindre 4875cynique 4876daigner 4877damier 4878danger 4879danseur 4880dauphin 4881deÌbattre 4882deÌbiter 4883deÌborder
4884deÌbrider 4885deÌbutant 4886deÌcaler 4887deÌcembre 4888deÌchirer 4889deÌcider 4890deÌclarer 4891deÌcorer 4892deÌcrire 4893deÌcupler 4894deÌdale 4895deÌductif 4896deÌesse 4897deÌfensif 4898deÌfiler 4899deÌfrayer 4900deÌgager 4901deÌgivrer 4902deÌglutir 4903deÌgrafer 4904deÌjeuner 4905deÌlice 4906deÌloger 4907demander 4908demeurer 4909deÌmolir 4910deÌnicher 4911deÌnouer 4912dentelle 4913deÌnuder 4914deÌpart 4915deÌpenser 4916deÌphaser 4917deÌplacer 4918deÌposer 4919deÌranger 4920deÌrober 4921deÌsastre 4922descente 4923deÌsert 4924deÌsigner 4925deÌsobeÌir 4926dessiner 4927destrier 4928deÌtacher 4929deÌtester 4930deÌtourer 4931deÌtresse 4932devancer 4933devenir 4934deviner 4935devoir 4936diable 4937dialogue 4938diamant 4939dicter 4940diffeÌrer 4941digeÌrer 4942digital 4943digne 4944diluer 4945dimanche 4946diminuer 4947dioxyde 4948directif 4949diriger 4950discuter 4951disposer 4952dissiper 4953distance 4954divertir 4955diviser 4956docile 4957docteur 4958dogme 4959doigt 4960domaine 4961domicile 4962dompter 4963donateur 4964donjon 4965donner 4966dopamine 4967dortoir 4968dorure 4969dosage 4970doseur 4971dossier 4972dotation 4973douanier 4974double 4975douceur 4976douter 4977doyen 4978dragon 4979draper 4980dresser 4981dribbler 4982droiture 4983duperie 4984duplexe 4985durable 4986durcir 4987dynastie 4988eÌblouir 4989eÌcarter 4990eÌcharpe 4991eÌchelle 4992eÌclairer 4993eÌclipse 4994eÌclore 4995eÌcluse 4996eÌcole 4997eÌconomie 4998eÌcorce 4999eÌcouter 5000eÌcraser 5001eÌcreÌmer 5002eÌcrivain 5003eÌcrou 5004eÌcume 5005eÌcureuil 5006eÌdifier 5007eÌduquer 5008effacer 5009effectif 5010effigie 5011effort 5012effrayer 5013effusion 5014eÌgaliser 5015eÌgarer 5016eÌjecter 5017eÌlaborer 5018eÌlargir 5019eÌlectron 5020eÌleÌgant 5021eÌleÌphant 5022eÌleÌve 5023eÌligible 5024eÌlitisme 5025eÌloge 5026eÌlucider 5027eÌluder 5028emballer 5029embellir 5030embryon 5031eÌmeraude 5032eÌmission 5033emmener 5034eÌmotion 5035eÌmouvoir 5036empereur 5037employer 5038emporter 5039emprise 5040eÌmulsion 5041encadrer 5042encheÌre 5043enclave 5044encoche 5045endiguer 5046endosser 5047endroit 5048enduire 5049eÌnergie 5050enfance 5051enfermer 5052enfouir 5053engager 5054engin 5055englober 5056eÌnigme 5057enjamber 5058enjeu 5059enlever 5060ennemi 5061ennuyeux 5062enrichir 5063enrobage 5064enseigne 5065entasser 5066entendre 5067entier 5068entourer 5069entraver 5070eÌnumeÌrer 5071envahir 5072enviable 5073envoyer 5074enzyme 5075eÌolien 5076eÌpaissir 5077eÌpargne 5078eÌpatant 5079eÌpaule 5080eÌpicerie 5081eÌpideÌmie 5082eÌpier 5083eÌpilogue 5084eÌpine 5085eÌpisode 5086eÌpitaphe 5087eÌpoque 5088eÌpreuve 5089eÌprouver 5090eÌpuisant 5091eÌquerre 5092eÌquipe 5093eÌriger 5094eÌrosion 5095erreur 5096eÌruption 5097escalier 5098espadon 5099espeÌce 5100espieÌgle 5101espoir 5102esprit 5103esquiver 5104essayer 5105essence 5106essieu 5107essorer 5108estime 5109estomac 5110estrade 5111eÌtageÌre 5112eÌtaler 5113eÌtanche 5114eÌtatique 5115eÌteindre 5116eÌtendoir 5117eÌternel 5118eÌthanol 5119eÌthique 5120ethnie 5121eÌtirer 5122eÌtoffer 5123eÌtoile 5124eÌtonnant 5125eÌtourdir 5126eÌtrange 5127eÌtroit 5128eÌtude 5129euphorie 5130eÌvaluer 5131eÌvasion 5132eÌventail 5133eÌvidence 5134eÌviter 5135eÌvolutif 5136eÌvoquer 5137exact 5138exageÌrer 5139exaucer 5140exceller 5141excitant 5142exclusif 5143excuse 5144exeÌcuter 5145exemple 5146exercer 5147exhaler 5148exhorter 5149exigence 5150exiler 5151exister 5152exotique 5153expeÌdier 5154explorer 5155exposer 5156exprimer 5157exquis 5158extensif 5159extraire 5160exulter 5161fable 5162fabuleux 5163facette 5164facile 5165facture 5166faiblir 5167falaise 5168fameux 5169famille 5170farceur 5171farfelu 5172farine 5173farouche 5174fasciner 5175fatal 5176fatigue 5177faucon 5178fautif 5179faveur 5180favori 5181feÌbrile 5182feÌconder 5183feÌdeÌrer 5184feÌlin 5185femme 5186feÌmur 5187fendoir 5188feÌodal 5189fermer 5190feÌroce 5191ferveur 5192festival 5193feuille 5194feutre 5195feÌvrier 5196fiasco 5197ficeler 5198fictif 5199fideÌle 5200figure 5201filature 5202filetage 5203filieÌre 5204filleul 5205filmer 5206filou 5207filtrer 5208financer 5209finir 5210fiole 5211firme 5212fissure 5213fixer 5214flairer 5215flamme 5216flasque 5217flatteur 5218fleÌau 5219fleÌche 5220fleur 5221flexion 5222flocon 5223flore 5224fluctuer 5225fluide 5226fluvial 5227folie 5228fonderie 5229fongible 5230fontaine 5231forcer 5232forgeron 5233formuler 5234fortune 5235fossile 5236foudre 5237fougeÌre 5238fouiller 5239foulure 5240fourmi 5241fragile 5242fraise 5243franchir 5244frapper 5245frayeur 5246freÌgate 5247freiner 5248frelon 5249freÌmir 5250freÌneÌsie 5251freÌre 5252friable 5253friction 5254frisson 5255frivole 5256froid 5257fromage 5258frontal 5259frotter 5260fruit 5261fugitif 5262fuite 5263fureur 5264furieux 5265furtif 5266fusion 5267futur 5268gagner 5269galaxie 5270galerie 5271gambader 5272garantir 5273gardien 5274garnir 5275garrigue 5276gazelle 5277gazon 5278geÌant 5279geÌlatine 5280geÌlule 5281gendarme 5282geÌneÌral 5283geÌnie 5284genou 5285gentil 5286geÌologie 5287geÌomeÌtre 5288geÌranium 5289germe 5290gestuel 5291geyser 5292gibier 5293gicler 5294girafe 5295givre 5296glace 5297glaive 5298glisser 5299globe 5300gloire 5301glorieux 5302golfeur 5303gomme 5304gonfler 5305gorge 5306gorille 5307goudron 5308gouffre 5309goulot 5310goupille 5311gourmand 5312goutte 5313graduel 5314graffiti 5315graine 5316grand 5317grappin 5318gratuit 5319gravir 5320grenat 5321griffure 5322griller 5323grimper 5324grogner 5325gronder 5326grotte 5327groupe 5328gruger 5329grutier 5330gruyeÌre 5331gueÌpard 5332guerrier 5333guide 5334guimauve 5335guitare 5336gustatif 5337gymnaste 5338gyrostat 5339habitude 5340hachoir 5341halte 5342hameau 5343hangar 5344hanneton 5345haricot 5346harmonie 5347harpon 5348hasard 5349heÌlium 5350heÌmatome 5351herbe 5352heÌrisson 5353hermine 5354heÌron 5355heÌsiter 5356heureux 5357hiberner 5358hibou 5359hilarant 5360histoire 5361hiver 5362homard 5363hommage 5364homogeÌne 5365honneur 5366honorer 5367honteux 5368horde 5369horizon 5370horloge 5371hormone 5372horrible 5373houleux 5374housse 5375hublot 5376huileux 5377humain 5378humble 5379humide 5380humour 5381hurler 5382hydromel 5383hygieÌne 5384hymne 5385hypnose 5386idylle 5387ignorer 5388iguane 5389illicite 5390illusion 5391image 5392imbiber 5393imiter 5394immense 5395immobile 5396immuable 5397impact 5398impeÌrial 5399implorer 5400imposer 5401imprimer 5402imputer 5403incarner 5404incendie 5405incident 5406incliner 5407incolore 5408indexer 5409indice 5410inductif 5411ineÌdit 5412ineptie 5413inexact 5414infini 5415infliger 5416informer 5417infusion 5418ingeÌrer 5419inhaler 5420inhiber 5421injecter 5422injure 5423innocent 5424inoculer 5425inonder 5426inscrire 5427insecte 5428insigne 5429insolite 5430inspirer 5431instinct 5432insulter 5433intact 5434intense 5435intime
5436intrigue 5437intuitif 5438inutile 5439invasion 5440inventer 5441inviter 5442invoquer 5443ironique 5444irradier 5445irreÌel 5446irriter 5447isoler 5448ivoire 5449ivresse 5450jaguar 5451jaillir 5452jambe 5453janvier 5454jardin 5455jauger 5456jaune 5457javelot 5458jetable 5459jeton 5460jeudi 5461jeunesse 5462joindre 5463joncher 5464jongler 5465joueur 5466jouissif 5467journal 5468jovial 5469joyau 5470joyeux 5471jubiler 5472jugement 5473junior 5474jupon 5475juriste 5476justice 5477juteux 5478juveÌnile 5479kayak 5480kimono 5481kiosque 5482label 5483labial 5484labourer 5485laceÌrer 5486lactose 5487lagune 5488laine 5489laisser 5490laitier 5491lambeau 5492lamelle 5493lampe 5494lanceur 5495langage 5496lanterne 5497lapin 5498largeur 5499larme 5500laurier 5501lavabo 5502lavoir 5503lecture 5504leÌgal 5505leÌger 5506leÌgume 5507lessive 5508lettre 5509levier 5510lexique 5511leÌzard 5512liasse 5513libeÌrer 5514libre 5515licence 5516licorne 5517lieÌge 5518lieÌvre 5519ligature 5520ligoter 5521ligue 5522limer 5523limite 5524limonade 5525limpide 5526lineÌaire 5527lingot 5528lionceau 5529liquide 5530lisieÌre 5531lister 5532lithium 5533litige 5534littoral 5535livreur 5536logique 5537lointain 5538loisir 5539lombric 5540loterie 5541louer 5542lourd 5543loutre 5544louve 5545loyal 5546lubie 5547lucide 5548lucratif 5549lueur 5550lugubre 5551luisant 5552lumieÌre 5553lunaire 5554lundi 5555luron 5556lutter 5557luxueux 5558machine 5559magasin 5560magenta 5561magique 5562maigre 5563maillon 5564maintien 5565mairie 5566maison 5567majorer 5568malaxer 5569maleÌfice 5570malheur 5571malice 5572mallette 5573mammouth 5574mandater 5575maniable 5576manquant 5577manteau 5578manuel 5579marathon 5580marbre 5581marchand 5582mardi 5583maritime 5584marqueur 5585marron 5586marteler 5587mascotte 5588massif 5589mateÌriel 5590matieÌre 5591matraque 5592maudire 5593maussade 5594mauve 5595maximal 5596meÌchant 5597meÌconnu 5598meÌdaille 5599meÌdecin 5600meÌditer 5601meÌduse 5602meilleur 5603meÌlange 5604meÌlodie 5605membre 5606meÌmoire 5607menacer 5608mener 5609menhir 5610mensonge 5611mentor 5612mercredi 5613meÌrite 5614merle 5615messager 5616mesure 5617meÌtal 5618meÌteÌore 5619meÌthode 5620meÌtier 5621meuble 5622miauler 5623microbe 5624miette 5625mignon 5626migrer 5627milieu 5628million 5629mimique 5630mince 5631mineÌral 5632minimal 5633minorer 5634minute 5635miracle 5636miroiter 5637missile 5638mixte 5639mobile 5640moderne 5641moelleux 5642mondial 5643moniteur 5644monnaie 5645monotone 5646monstre 5647montagne 5648monument 5649moqueur 5650morceau 5651morsure 5652mortier 5653moteur 5654motif 5655mouche 5656moufle 5657moulin 5658mousson 5659mouton 5660mouvant 5661multiple 5662munition 5663muraille 5664mureÌne 5665murmure 5666muscle 5667museÌum 5668musicien 5669mutation 5670muter 5671mutuel 5672myriade 5673myrtille 5674mysteÌre 5675mythique 5676nageur 5677nappe 5678narquois 5679narrer 5680natation 5681nation 5682nature 5683naufrage 5684nautique 5685navire 5686neÌbuleux 5687nectar 5688neÌfaste 5689neÌgation 5690neÌgliger 5691neÌgocier 5692neige 5693nerveux 5694nettoyer 5695neurone 5696neutron 5697neveu 5698niche 5699nickel 5700nitrate 5701niveau 5702noble 5703nocif 5704nocturne 5705noirceur 5706noisette 5707nomade 5708nombreux 5709nommer 5710normatif 5711notable 5712notifier 5713notoire 5714nourrir 5715nouveau 5716novateur 5717novembre 5718novice 5719nuage 5720nuancer 5721nuire 5722nuisible 5723numeÌro 5724nuptial 5725nuque 5726nutritif 5727obeÌir 5728objectif 5729obliger 5730obscur 5731observer 5732obstacle 5733obtenir 5734obturer 5735occasion 5736occuper 5737oceÌan 5738octobre 5739octroyer 5740octupler 5741oculaire 5742odeur 5743odorant 5744offenser 5745officier 5746offrir 5747ogive 5748oiseau 5749oisillon 5750olfactif 5751olivier 5752ombrage 5753omettre 5754onctueux 5755onduler 5756oneÌreux 5757onirique 5758opale 5759opaque 5760opeÌrer 5761opinion 5762opportun 5763opprimer 5764opter 5765optique 5766orageux 5767orange 5768orbite 5769ordonner 5770oreille 5771organe 5772orgueil 5773orifice 5774ornement 5775orque 5776ortie 5777osciller 5778osmose 5779ossature 5780otarie 5781ouragan 5782ourson 5783outil 5784outrager 5785ouvrage 5786ovation 5787oxyde 5788oxygeÌne 5789ozone 5790paisible 5791palace 5792palmareÌs 5793palourde 5794palper 5795panache 5796panda 5797pangolin 5798paniquer 5799panneau 5800panorama 5801pantalon 5802papaye 5803papier 5804papoter 5805papyrus 5806paradoxe 5807parcelle 5808paresse 5809parfumer 5810parler 5811parole 5812parrain 5813parsemer 5814partager 5815parure 5816parvenir 5817passion 5818pasteÌque 5819paternel 5820patience 5821patron 5822pavillon 5823pavoiser 5824payer 5825paysage 5826peigne 5827peintre 5828pelage 5829peÌlican 5830pelle 5831pelouse 5832peluche 5833pendule 5834peÌneÌtrer 5835peÌnible 5836pensif 5837peÌnurie 5838peÌpite 5839peÌplum 5840perdrix 5841perforer 5842peÌriode 5843permuter 5844perplexe 5845persil 5846perte 5847peser 5848peÌtale 5849petit 5850peÌtrir 5851peuple 5852pharaon 5853phobie 5854phoque 5855photon 5856phrase 5857physique 5858piano 5859pictural 5860pieÌce 5861pierre 5862pieuvre 5863pilote 5864pinceau 5865pipette 5866piquer 5867pirogue 5868piscine 5869piston 5870pivoter 5871pixel 5872pizza 5873placard 5874plafond 5875plaisir 5876planer 5877plaque 5878plastron 5879plateau 5880pleurer 5881plexus 5882pliage 5883plomb 5884plonger 5885pluie 5886plumage 5887pochette 5888poeÌsie 5889poeÌte 5890pointe 5891poirier 5892poisson 5893poivre 5894polaire 5895policier 5896pollen 5897polygone 5898pommade 5899pompier 5900ponctuel 5901pondeÌrer 5902poney 5903portique 5904position 5905posseÌder 5906posture 5907potager 5908poteau 5909potion 5910pouce 5911poulain 5912poumon 5913pourpre 5914poussin 5915pouvoir 5916prairie 5917pratique 5918preÌcieux 5919preÌdire 5920preÌfixe 5921preÌlude 5922preÌnom 5923preÌsence 5924preÌtexte 5925preÌvoir 5926primitif 5927prince 5928prison 5929priver 5930probleÌme 5931proceÌder 5932prodige 5933profond 5934progreÌs 5935proie 5936projeter 5937prologue 5938promener 5939propre 5940prospeÌre 5941proteÌger 5942prouesse 5943proverbe 5944prudence 5945pruneau 5946psychose 5947public 5948puceron 5949puiser 5950pulpe 5951pulsar 5952punaise 5953punitif 5954pupitre 5955purifier 5956puzzle 5957pyramide 5958quasar 5959querelle 5960question 5961quieÌtude 5962quitter 5963quotient 5964racine 5965raconter 5966radieux 5967ragondin 5968raideur 5969raisin 5970ralentir 5971rallonge 5972ramasser 5973rapide 5974rasage 5975ratisser 5976ravager 5977ravin 5978rayonner 5979reÌactif 5980reÌagir 5981reÌaliser 5982reÌanimer 5983recevoir 5984reÌciter 5985reÌclamer 5986reÌcolter 5987recruter 5988reculer 5989recycler 5990reÌdiger 5991redouter 5992refaire 5993reÌflexe 5994reÌformer 5995refrain 5996refuge 5997reÌgalien 5998reÌgion 5999reÌglage 6000reÌgulier 6001reÌiteÌrer 6002rejeter 6003rejouer 6004relatif 6005relever 6006relief 6007remarque 6008remeÌde 6009remise 6010remonter 6011remplir 6012remuer 6013renard 6014renfort 6015renifler 6016renoncer 6017rentrer 6018renvoi 6019replier 6020reporter 6021reprise 6022reptile 6023requin 6024reÌserve 6025reÌsineux 6026reÌsoudre 6027respect 6028rester 6029reÌsultat 6030reÌtablir 6031retenir
6032reÌticule 6033retomber 6034retracer 6035reÌunion 6036reÌussir 6037revanche 6038revivre 6039reÌvolte 6040reÌvulsif 6041richesse 6042rideau 6043rieur 6044rigide 6045rigoler 6046rincer 6047riposter 6048risible 6049risque 6050rituel 6051rival 6052rivieÌre 6053rocheux 6054romance 6055rompre 6056ronce 6057rondin 6058roseau 6059rosier 6060rotatif 6061rotor 6062rotule 6063rouge 6064rouille 6065rouleau 6066routine 6067royaume 6068ruban 6069rubis 6070ruche 6071ruelle 6072rugueux 6073ruiner 6074ruisseau 6075ruser 6076rustique 6077rythme 6078sabler 6079saboter 6080sabre 6081sacoche 6082safari 6083sagesse 6084saisir 6085salade 6086salive 6087salon 6088saluer 6089samedi 6090sanction 6091sanglier 6092sarcasme 6093sardine 6094saturer 6095saugrenu 6096saumon 6097sauter 6098sauvage 6099savant 6100savonner 6101scalpel 6102scandale 6103sceÌleÌrat 6104sceÌnario 6105sceptre 6106scheÌma 6107science 6108scinder 6109score 6110scrutin 6111sculpter 6112seÌance 6113seÌcable 6114seÌcher 6115secouer 6116seÌcreÌter 6117seÌdatif 6118seÌduire 6119seigneur 6120seÌjour 6121seÌlectif 6122semaine 6123sembler 6124semence 6125seÌminal 6126seÌnateur 6127sensible 6128sentence 6129seÌparer 6130seÌquence 6131serein 6132sergent 6133seÌrieux 6134serrure 6135seÌrum 6136service 6137seÌsame 6138seÌvir 6139sevrage 6140sextuple 6141sideÌral 6142sieÌcle 6143sieÌger 6144siffler 6145sigle 6146signal 6147silence 6148silicium 6149simple 6150sinceÌre 6151sinistre 6152siphon 6153sirop 6154sismique 6155situer 6156skier 6157social 6158socle 6159sodium 6160soigneux 6161soldat 6162soleil 6163solitude 6164soluble 6165sombre 6166sommeil 6167somnoler 6168sonde 6169songeur 6170sonnette 6171sonore 6172sorcier 6173sortir 6174sosie 6175sottise 6176soucieux 6177soudure 6178souffle 6179soulever 6180soupape 6181source 6182soutirer 6183souvenir 6184spacieux 6185spatial 6186speÌcial 6187spheÌre 6188spiral 6189stable 6190station 6191sternum 6192stimulus 6193stipuler 6194strict 6195studieux 6196stupeur 6197styliste 6198sublime 6199substrat 6200subtil 6201subvenir 6202succeÌs 6203sucre 6204suffixe 6205suggeÌrer 6206suiveur 6207sulfate 6208superbe 6209supplier 6210surface 6211suricate 6212surmener 6213surprise 6214sursaut 6215survie 6216suspect 6217syllabe 6218symbole 6219symeÌtrie 6220synapse 6221syntaxe 6222systeÌme 6223tabac 6224tablier 6225tactile 6226tailler 6227talent 6228talisman 6229talonner 6230tambour 6231tamiser 6232tangible 6233tapis 6234taquiner 6235tarder 6236tarif 6237tartine 6238tasse 6239tatami 6240tatouage 6241taupe 6242taureau 6243taxer 6244teÌmoin 6245temporel 6246tenaille 6247tendre 6248teneur 6249tenir 6250tension 6251terminer 6252terne 6253terrible 6254teÌtine 6255texte 6256theÌme 6257theÌorie 6258theÌrapie 6259thorax 6260tibia 6261tieÌde 6262timide 6263tirelire 6264tiroir 6265tissu 6266titane 6267titre 6268tituber 6269toboggan 6270toleÌrant 6271tomate 6272tonique 6273tonneau 6274toponyme 6275torche 6276tordre 6277tornade 6278torpille 6279torrent 6280torse 6281tortue 6282totem 6283toucher 6284tournage 6285tousser 6286toxine 6287traction 6288trafic 6289tragique 6290trahir 6291train 6292trancher 6293travail 6294treÌfle 6295tremper 6296treÌsor 6297treuil 6298triage 6299tribunal 6300tricoter 6301trilogie 6302triomphe 6303tripler 6304triturer 6305trivial 6306trombone 6307tronc 6308tropical 6309troupeau 6310tuile 6311tulipe 6312tumulte 6313tunnel 6314turbine 6315tuteur 6316tutoyer 6317tuyau 6318tympan 6319typhon 6320typique 6321tyran 6322ubuesque 6323ultime 6324ultrason 6325unanime 6326unifier 6327union 6328unique 6329unitaire 6330univers 6331uranium 6332urbain 6333urticant 6334usage 6335usine 6336usuel 6337usure 6338utile 6339utopie 6340vacarme 6341vaccin 6342vagabond 6343vague 6344vaillant 6345vaincre 6346vaisseau 6347valable 6348valise 6349vallon 6350valve 6351vampire 6352vanille 6353vapeur 6354varier 6355vaseux 6356vassal 6357vaste 6358vecteur 6359vedette 6360veÌgeÌtal 6361veÌhicule 6362veinard 6363veÌloce 6364vendredi 6365veÌneÌrer 6366venger 6367venimeux 6368ventouse 6369verdure 6370veÌrin 6371vernir 6372verrou 6373verser 6374vertu 6375veston 6376veÌteÌran 6377veÌtuste 6378vexant 6379vexer 6380viaduc 6381viande 6382victoire 6383vidange 6384videÌo 6385vignette 6386vigueur 6387vilain 6388village 6389vinaigre 6390violon 6391vipeÌre 6392virement 6393virtuose 6394virus 6395visage 6396viseur 6397vision 6398visqueux 6399visuel 6400vital 6401vitesse 6402viticole 6403vitrine 6404vivace 6405vivipare 6406vocation 6407voguer 6408voile 6409voisin 6410voiture 6411volaille 6412volcan 6413voltiger 6414volume 6415vorace 6416vortex 6417voter 6418vouloir 6419voyage 6420voyelle 6421wagon 6422xeÌnon 6423yacht 6424zeÌbre 6425zeÌnith 6426zeste 6427zoologie`.split(` 6428`)),rf}var nf={},YC;function jte(){return YC||(YC=1,Object.defineProperty(nf,"__esModule",{value:!0}),nf.wordlist=void 0,nf.wordlist=`abaco 6429abbaglio 6430abbinato 6431abete 6432abisso 6433abolire 6434abrasivo 6435abrogato 6436accadere 6437accenno 6438accusato 6439acetone 6440achille 6441acido 6442acqua 6443acre 6444acrilico 6445acrobata 6446acuto 6447adagio 6448addebito 6449addome 6450adeguato 6451aderire 6452adipe 6453adottare 6454adulare 6455affabile 6456affetto 6457affisso 6458affranto 6459aforisma 6460afoso 6461africano 6462agave 6463agente 6464agevole 6465aggancio 6466agire 6467agitare 6468agonismo 6469agricolo 6470agrumeto 6471aguzzo 6472alabarda 6473alato 6474albatro 6475alberato 6476albo 6477albume 6478alce 6479alcolico 6480alettone 6481alfa 6482algebra 6483aliante 6484alibi 6485alimento 6486allagato 6487allegro 6488allievo 6489allodola 6490allusivo 6491almeno 6492alogeno 6493alpaca 6494alpestre 6495altalena 6496alterno 6497alticcio 6498altrove 6499alunno 6500alveolo 6501alzare 6502amalgama 6503amanita 6504amarena 6505ambito 6506ambrato 6507ameba 6508america 6509ametista 6510amico 6511ammasso 6512ammenda 6513ammirare 6514ammonito 6515amore 6516ampio 6517ampliare 6518amuleto 6519anacardo 6520anagrafe 6521analista 6522anarchia 6523anatra 6524anca 6525ancella 6526ancora 6527andare 6528andrea 6529anello 6530angelo 6531angolare 6532angusto 6533anima 6534annegare 6535annidato 6536anno 6537annuncio 6538anonimo 6539anticipo 6540anzi 6541apatico 6542apertura 6543apode 6544apparire 6545appetito 6546appoggio 6547approdo 6548appunto 6549aprile 6550arabica 6551arachide 6552aragosta 6553araldica 6554arancio 6555aratura 6556arazzo 6557arbitro 6558archivio 6559ardito 6560arenile 6561argento 6562argine 6563arguto 6564aria 6565armonia 6566arnese 6567arredato 6568arringa 6569arrosto 6570arsenico 6571arso 6572artefice 6573arzillo 6574asciutto 6575ascolto 6576asepsi 6577asettico 6578asfalto 6579asino 6580asola 6581aspirato 6582aspro 6583assaggio 6584asse 6585assoluto 6586assurdo 6587asta 6588astenuto 6589astice 6590astratto 6591atavico 6592ateismo 6593atomico 6594atono 6595attesa 6596attivare 6597attorno 6598attrito 6599attuale 6600ausilio 6601austria 6602autista 6603autonomo 6604autunno 6605avanzato 6606avere 6607avvenire 6608avviso 6609avvolgere 6610azione 6611azoto 6612azzimo 6613azzurro 6614babele 6615baccano 6616bacino 6617baco 6618badessa 6619badilata 6620bagnato 6621baita 6622balcone 6623baldo 6624balena 6625ballata 6626balzano 6627bambino 6628bandire 6629baraonda 6630barbaro 6631barca 6632baritono 6633barlume 6634barocco 6635basilico 6636basso 6637batosta 6638battuto 6639baule 6640bava 6641bavosa 6642becco 6643beffa 6644belgio 6645belva 6646benda 6647benevole 6648benigno 6649benzina 6650bere 6651berlina 6652beta 6653bibita 6654bici 6655bidone 6656bifido 6657biga 6658bilancia 6659bimbo 6660binocolo 6661biologo 6662bipede 6663bipolare 6664birbante 6665birra 6666biscotto 6667bisesto 6668bisnonno 6669bisonte 6670bisturi 6671bizzarro 6672blando 6673blatta 6674bollito 6675bonifico 6676bordo 6677bosco 6678botanico 6679bottino 6680bozzolo 6681braccio 6682bradipo 6683brama 6684branca 6685bravura 6686bretella 6687brevetto 6688brezza 6689briglia 6690brillante 6691brindare 6692broccolo 6693brodo 6694bronzina 6695brullo 6696bruno 6697bubbone 6698buca 6699budino 6700buffone 6701buio 6702bulbo 6703buono 6704burlone 6705burrasca 6706bussola 6707busta 6708cadetto 6709caduco 6710calamaro 6711calcolo 6712calesse 6713calibro 6714calmo 6715caloria 6716cambusa 6717camerata 6718camicia 6719cammino 6720camola 6721campale 6722canapa 6723candela 6724cane 6725canino 6726canotto 6727cantina 6728capace 6729capello 6730capitolo 6731capogiro 6732cappero 6733capra 6734capsula 6735carapace 6736carcassa 6737cardo 6738carisma 6739carovana 6740carretto 6741cartolina 6742casaccio 6743cascata 6744caserma 6745caso 6746cassone 6747castello 6748casuale 6749catasta 6750catena 6751catrame 6752cauto 6753cavillo 6754cedibile 6755cedrata 6756cefalo 6757celebre 6758cellulare 6759cena 6760cenone 6761centesimo 6762ceramica 6763cercare 6764certo 6765cerume 6766cervello 6767cesoia 6768cespo 6769ceto 6770chela 6771chiaro 6772chicca 6773chiedere 6774chimera 6775china 6776chirurgo 6777chitarra 6778ciao 6779ciclismo 6780cifrare 6781cigno 6782cilindro 6783ciottolo 6784circa 6785cirrosi 6786citrico 6787cittadino 6788ciuffo 6789civetta 6790civile 6791classico 6792clinica 6793cloro 6794cocco 6795codardo 6796codice 6797coerente 6798cognome 6799collare 6800colmato 6801colore 6802colposo 6803coltivato 6804colza 6805coma 6806cometa 6807commando 6808comodo 6809computer 6810comune 6811conciso 6812condurre 6813conferma 6814congelare 6815coniuge 6816connesso 6817conoscere 6818consumo 6819continuo 6820convegno 6821coperto 6822copione 6823coppia 6824copricapo 6825corazza 6826cordata 6827coricato 6828cornice 6829corolla 6830corpo 6831corredo 6832corsia 6833cortese 6834cosmico 6835costante 6836cottura 6837covato 6838cratere 6839cravatta 6840creato 6841credere 6842cremoso 6843crescita 6844creta 6845criceto 6846crinale 6847crisi 6848critico 6849croce 6850cronaca 6851crostata 6852cruciale 6853crusca 6854cucire 6855cuculo 6856cugino 6857cullato 6858cupola 6859curatore 6860cursore 6861curvo 6862cuscino 6863custode 6864dado 6865daino 6866dalmata 6867damerino 6868daniela 6869dannoso 6870danzare 6871datato 6872davanti 6873davvero 6874debutto 6875decennio 6876deciso 6877declino 6878decollo 6879decreto 6880dedicato 6881definito 6882deforme 6883degno 6884delegare 6885delfino 6886delirio 6887delta 6888demenza 6889denotato 6890dentro 6891deposito 6892derapata 6893derivare 6894deroga 6895descritto 6896deserto 6897desiderio 6898desumere 6899detersivo 6900devoto 6901diametro 6902dicembre 6903diedro 6904difeso 6905diffuso 6906digerire 6907digitale 6908diluvio 6909dinamico 6910dinnanzi 6911dipinto 6912diploma 6913dipolo 6914diradare 6915dire 6916dirotto 6917dirupo 6918disagio 6919discreto 6920disfare 6921disgelo 6922disposto 6923distanza 6924disumano 6925dito 6926divano 6927divelto 6928dividere 6929divorato 6930doblone 6931docente 6932doganale 6933dogma 6934dolce 6935domato 6936domenica 6937dominare 6938dondolo 6939dono 6940dormire 6941dote 6942dottore 6943dovuto 6944dozzina 6945drago 6946druido 6947dubbio 6948dubitare 6949ducale
6950duna 6951duomo 6952duplice 6953duraturo 6954ebano 6955eccesso 6956ecco 6957eclissi 6958economia 6959edera 6960edicola 6961edile 6962editoria 6963educare 6964egemonia 6965egli 6966egoismo 6967egregio 6968elaborato 6969elargire 6970elegante 6971elencato 6972eletto 6973elevare 6974elfico 6975elica 6976elmo 6977elsa 6978eluso 6979emanato 6980emblema 6981emesso 6982emiro 6983emotivo 6984emozione 6985empirico 6986emulo 6987endemico 6988enduro 6989energia 6990enfasi 6991enoteca 6992entrare 6993enzima 6994epatite 6995epilogo 6996episodio 6997epocale 6998eppure 6999equatore 7000erario 7001erba 7002erboso 7003erede 7004eremita 7005erigere 7006ermetico 7007eroe 7008erosivo 7009errante 7010esagono 7011esame 7012esanime 7013esaudire 7014esca 7015esempio 7016esercito 7017esibito 7018esigente 7019esistere 7020esito 7021esofago 7022esortato 7023esoso 7024espanso 7025espresso 7026essenza 7027esso 7028esteso 7029estimare 7030estonia 7031estroso 7032esultare 7033etilico 7034etnico 7035etrusco 7036etto 7037euclideo 7038europa 7039evaso 7040evidenza 7041evitato 7042evoluto 7043evviva 7044fabbrica 7045faccenda 7046fachiro 7047falco 7048famiglia 7049fanale 7050fanfara 7051fango 7052fantasma 7053fare 7054farfalla 7055farinoso 7056farmaco 7057fascia 7058fastoso 7059fasullo 7060faticare 7061fato 7062favoloso 7063febbre 7064fecola 7065fede 7066fegato 7067felpa 7068feltro 7069femmina 7070fendere 7071fenomeno 7072fermento 7073ferro 7074fertile 7075fessura 7076festivo 7077fetta 7078feudo 7079fiaba 7080fiducia 7081fifa 7082figurato 7083filo 7084finanza 7085finestra 7086finire 7087fiore 7088fiscale 7089fisico 7090fiume 7091flacone 7092flamenco 7093flebo 7094flemma 7095florido 7096fluente 7097fluoro 7098fobico 7099focaccia 7100focoso 7101foderato 7102foglio 7103folata 7104folclore 7105folgore 7106fondente 7107fonetico 7108fonia 7109fontana 7110forbito 7111forchetta 7112foresta 7113formica 7114fornaio 7115foro 7116fortezza 7117forzare 7118fosfato 7119fosso 7120fracasso 7121frana 7122frassino 7123fratello 7124freccetta 7125frenata 7126fresco 7127frigo 7128frollino 7129fronde 7130frugale 7131frutta 7132fucilata 7133fucsia 7134fuggente 7135fulmine 7136fulvo 7137fumante 7138fumetto 7139fumoso 7140fune 7141funzione 7142fuoco 7143furbo 7144furgone 7145furore 7146fuso 7147futile 7148gabbiano 7149gaffe 7150galateo 7151gallina 7152galoppo 7153gambero 7154gamma 7155garanzia 7156garbo 7157garofano 7158garzone 7159gasdotto 7160gasolio 7161gastrico 7162gatto 7163gaudio 7164gazebo 7165gazzella 7166geco 7167gelatina 7168gelso 7169gemello 7170gemmato 7171gene 7172genitore 7173gennaio 7174genotipo 7175gergo 7176ghepardo 7177ghiaccio 7178ghisa 7179giallo 7180gilda 7181ginepro 7182giocare 7183gioiello 7184giorno 7185giove 7186girato 7187girone 7188gittata 7189giudizio 7190giurato 7191giusto 7192globulo 7193glutine 7194gnomo 7195gobba 7196golf 7197gomito 7198gommone 7199gonfio 7200gonna 7201governo 7202gracile 7203grado 7204grafico 7205grammo 7206grande 7207grattare 7208gravoso 7209grazia 7210greca 7211gregge 7212grifone 7213grigio 7214grinza 7215grotta 7216gruppo 7217guadagno 7218guaio 7219guanto 7220guardare 7221gufo 7222guidare 7223ibernato 7224icona 7225identico 7226idillio 7227idolo 7228idra 7229idrico 7230idrogeno 7231igiene 7232ignaro 7233ignorato 7234ilare 7235illeso 7236illogico 7237illudere 7238imballo 7239imbevuto 7240imbocco 7241imbuto 7242immane 7243immerso 7244immolato 7245impacco 7246impeto 7247impiego 7248importo 7249impronta 7250inalare 7251inarcare 7252inattivo 7253incanto 7254incendio 7255inchino 7256incisivo 7257incluso 7258incontro 7259incrocio 7260incubo 7261indagine 7262india 7263indole 7264inedito 7265infatti 7266infilare 7267inflitto 7268ingaggio 7269ingegno 7270inglese 7271ingordo 7272ingrosso 7273innesco 7274inodore 7275inoltrare 7276inondato 7277insano 7278insetto 7279insieme 7280insonnia 7281insulina 7282intasato 7283intero 7284intonaco 7285intuito 7286inumidire 7287invalido 7288invece 7289invito 7290iperbole 7291ipnotico 7292ipotesi 7293ippica 7294iride 7295irlanda 7296ironico 7297irrigato 7298irrorare 7299isolato 7300isotopo 7301isterico 7302istituto 7303istrice 7304italia 7305iterare 7306labbro 7307labirinto 7308lacca 7309lacerato 7310lacrima 7311lacuna 7312laddove 7313lago 7314lampo 7315lancetta 7316lanterna 7317lardoso 7318larga 7319laringe 7320lastra 7321latenza 7322latino 7323lattuga 7324lavagna 7325lavoro 7326legale 7327leggero 7328lembo 7329lentezza 7330lenza 7331leone 7332lepre 7333lesivo 7334lessato 7335lesto 7336letterale 7337leva 7338levigato 7339libero 7340lido 7341lievito 7342lilla 7343limatura 7344limitare 7345limpido 7346lineare 7347lingua 7348liquido 7349lira 7350lirica 7351lisca 7352lite 7353litigio 7354livrea 7355locanda 7356lode 7357logica 7358lombare 7359londra 7360longevo 7361loquace 7362lorenzo 7363loto 7364lotteria 7365luce 7366lucidato 7367lumaca 7368luminoso 7369lungo 7370lupo 7371luppolo 7372lusinga 7373lusso 7374lutto 7375macabro 7376macchina 7377macero 7378macinato 7379madama 7380magico 7381maglia 7382magnete 7383magro 7384maiolica 7385malafede 7386malgrado 7387malinteso 7388malsano 7389malto 7390malumore 7391mana 7392mancia 7393mandorla 7394mangiare 7395manifesto 7396mannaro 7397manovra 7398mansarda 7399mantide 7400manubrio 7401mappa 7402maratona 7403marcire 7404maretta 7405marmo 7406marsupio 7407maschera 7408massaia 7409mastino 7410materasso 7411matricola 7412mattone 7413maturo 7414mazurca 7415meandro 7416meccanico 7417mecenate 7418medesimo 7419meditare 7420mega 7421melassa 7422melis 7423melodia 7424meninge 7425meno 7426mensola 7427mercurio 7428merenda 7429merlo 7430meschino 7431mese 7432messere 7433mestolo 7434metallo 7435metodo 7436mettere 7437miagolare 7438mica 7439micelio 7440michele 7441microbo 7442midollo 7443miele 7444migliore 7445milano 7446milite 7447mimosa 7448minerale 7449mini 7450minore 7451mirino 7452mirtillo 7453miscela 7454missiva 7455misto 7456misurare 7457mitezza 7458mitigare 7459mitra 7460mittente 7461mnemonico 7462modello 7463modifica 7464modulo 7465mogano 7466mogio 7467mole 7468molosso 7469monastero 7470monco 7471mondina 7472monetario 7473monile 7474monotono 7475monsone 7476montato 7477monviso 7478mora 7479mordere 7480morsicato 7481mostro 7482motivato 7483motosega 7484motto 7485movenza 7486movimento 7487mozzo 7488mucca 7489mucosa 7490muffa 7491mughetto 7492mugnaio 7493mulatto 7494mulinello 7495multiplo 7496mummia 7497munto 7498muovere 7499murale 7500musa 7501muscolo 7502musica 7503mutevole 7504muto 7505nababbo 7506nafta 7507nanometro 7508narciso 7509narice 7510narrato 7511nascere 7512nastrare 7513naturale 7514nautica 7515naviglio 7516nebulosa 7517necrosi 7518negativo 7519negozio 7520nemmeno 7521neofita 7522neretto 7523nervo 7524nessuno 7525nettuno 7526neutrale 7527neve 7528nevrotico 7529nicchia 7530ninfa 7531nitido 7532nobile 7533nocivo 7534nodo 7535nome 7536nomina 7537nordico 7538normale 7539norvegese 7540nostrano 7541notare 7542notizia 7543notturno 7544novella 7545nucleo 7546nulla 7547numero 7548nuovo 7549nutrire 7550nuvola 7551nuziale 7552oasi 7553obbedire 7554obbligo 7555obelisco 7556oblio 7557obolo 7558obsoleto 7559occasione 7560occhio 7561occidente 7562occorrere 7563occultare 7564ocra 7565oculato 7566odierno
7567odorare 7568offerta 7569offrire 7570offuscato 7571oggetto 7572oggi 7573ognuno 7574olandese 7575olfatto 7576oliato 7577oliva 7578ologramma 7579oltre 7580omaggio 7581ombelico 7582ombra 7583omega 7584omissione 7585ondoso 7586onere 7587onice 7588onnivoro 7589onorevole 7590onta 7591operato 7592opinione 7593opposto 7594oracolo 7595orafo 7596ordine 7597orecchino 7598orefice 7599orfano 7600organico 7601origine 7602orizzonte 7603orma 7604ormeggio 7605ornativo 7606orologio 7607orrendo 7608orribile 7609ortensia 7610ortica 7611orzata 7612orzo 7613osare 7614oscurare 7615osmosi 7616ospedale 7617ospite 7618ossa 7619ossidare 7620ostacolo 7621oste 7622otite 7623otre 7624ottagono 7625ottimo 7626ottobre 7627ovale 7628ovest 7629ovino 7630oviparo 7631ovocito 7632ovunque 7633ovviare 7634ozio 7635pacchetto 7636pace 7637pacifico 7638padella 7639padrone 7640paese 7641paga 7642pagina 7643palazzina 7644palesare 7645pallido 7646palo 7647palude 7648pandoro 7649pannello 7650paolo 7651paonazzo 7652paprica 7653parabola 7654parcella 7655parere 7656pargolo 7657pari 7658parlato 7659parola 7660partire 7661parvenza 7662parziale 7663passivo 7664pasticca 7665patacca 7666patologia 7667pattume 7668pavone 7669peccato 7670pedalare 7671pedonale 7672peggio 7673peloso 7674penare 7675pendice 7676penisola 7677pennuto 7678penombra 7679pensare 7680pentola 7681pepe 7682pepita 7683perbene 7684percorso 7685perdonato 7686perforare 7687pergamena 7688periodo 7689permesso 7690perno 7691perplesso 7692persuaso 7693pertugio 7694pervaso 7695pesatore 7696pesista 7697peso 7698pestifero 7699petalo 7700pettine 7701petulante 7702pezzo 7703piacere 7704pianta 7705piattino 7706piccino 7707picozza 7708piega 7709pietra 7710piffero 7711pigiama 7712pigolio 7713pigro 7714pila 7715pilifero 7716pillola 7717pilota 7718pimpante 7719pineta 7720pinna 7721pinolo 7722pioggia 7723piombo 7724piramide 7725piretico 7726pirite 7727pirolisi 7728pitone 7729pizzico 7730placebo 7731planare 7732plasma 7733platano 7734plenario 7735pochezza 7736poderoso 7737podismo 7738poesia 7739poggiare 7740polenta 7741poligono 7742pollice 7743polmonite 7744polpetta 7745polso 7746poltrona 7747polvere 7748pomice 7749pomodoro 7750ponte 7751popoloso 7752porfido 7753poroso 7754porpora 7755porre 7756portata 7757posa 7758positivo 7759possesso 7760postulato 7761potassio 7762potere 7763pranzo 7764prassi 7765pratica 7766precluso 7767predica 7768prefisso 7769pregiato 7770prelievo 7771premere 7772prenotare 7773preparato 7774presenza 7775pretesto 7776prevalso 7777prima 7778principe 7779privato 7780problema 7781procura 7782produrre 7783profumo 7784progetto 7785prolunga 7786promessa 7787pronome 7788proposta 7789proroga 7790proteso 7791prova 7792prudente 7793prugna 7794prurito 7795psiche 7796pubblico 7797pudica 7798pugilato 7799pugno 7800pulce 7801pulito 7802pulsante 7803puntare 7804pupazzo 7805pupilla 7806puro 7807quadro 7808qualcosa 7809quasi 7810querela 7811quota 7812raccolto 7813raddoppio 7814radicale 7815radunato 7816raffica 7817ragazzo 7818ragione 7819ragno 7820ramarro 7821ramingo 7822ramo 7823randagio 7824rantolare 7825rapato 7826rapina 7827rappreso 7828rasatura 7829raschiato 7830rasente 7831rassegna 7832rastrello 7833rata 7834ravveduto 7835reale 7836recepire 7837recinto 7838recluta 7839recondito 7840recupero 7841reddito 7842redimere 7843regalato 7844registro 7845regola 7846regresso 7847relazione 7848remare 7849remoto 7850renna 7851replica 7852reprimere 7853reputare 7854resa 7855residente 7856responso 7857restauro 7858rete 7859retina 7860retorica 7861rettifica 7862revocato 7863riassunto 7864ribadire 7865ribelle 7866ribrezzo 7867ricarica 7868ricco 7869ricevere 7870riciclato 7871ricordo 7872ricreduto 7873ridicolo 7874ridurre 7875rifasare 7876riflesso 7877riforma 7878rifugio 7879rigare 7880rigettato 7881righello 7882rilassato 7883rilevato 7884rimanere 7885rimbalzo 7886rimedio 7887rimorchio 7888rinascita 7889rincaro 7890rinforzo 7891rinnovo 7892rinomato 7893rinsavito 7894rintocco 7895rinuncia 7896rinvenire 7897riparato 7898ripetuto 7899ripieno 7900riportare 7901ripresa 7902ripulire 7903risata 7904rischio 7905riserva 7906risibile 7907riso 7908rispetto 7909ristoro 7910risultato 7911risvolto 7912ritardo 7913ritegno 7914ritmico 7915ritrovo 7916riunione 7917riva 7918riverso 7919rivincita 7920rivolto 7921rizoma 7922roba 7923robotico 7924robusto 7925roccia 7926roco 7927rodaggio 7928rodere 7929roditore 7930rogito 7931rollio 7932romantico 7933rompere 7934ronzio 7935rosolare 7936rospo 7937rotante 7938rotondo 7939rotula 7940rovescio 7941rubizzo 7942rubrica 7943ruga 7944rullino 7945rumine 7946rumoroso 7947ruolo 7948rupe 7949russare 7950rustico 7951sabato 7952sabbiare 7953sabotato 7954sagoma 7955salasso 7956saldatura 7957salgemma 7958salivare 7959salmone 7960salone 7961saltare 7962saluto 7963salvo 7964sapere 7965sapido 7966saporito 7967saraceno 7968sarcasmo 7969sarto 7970sassoso 7971satellite 7972satira 7973satollo 7974saturno 7975savana 7976savio 7977saziato 7978sbadiglio 7979sbalzo 7980sbancato 7981sbarra 7982sbattere 7983sbavare 7984sbendare 7985sbirciare 7986sbloccato 7987sbocciato 7988sbrinare 7989sbruffone 7990sbuffare 7991scabroso 7992scadenza 7993scala 7994scambiare 7995scandalo 7996scapola 7997scarso 7998scatenare 7999scavato 8000scelto 8001scenico 8002scettro 8003scheda 8004schiena 8005sciarpa 8006scienza 8007scindere 8008scippo 8009sciroppo 8010scivolo 8011sclerare 8012scodella 8013scolpito 8014scomparto 8015sconforto 8016scoprire 8017scorta 8018scossone 8019scozzese 8020scriba 8021scrollare 8022scrutinio 8023scuderia 8024scultore 8025scuola 8026scuro 8027scusare 8028sdebitare 8029sdoganare 8030seccatura 8031secondo 8032sedano 8033seggiola 8034segnalato 8035segregato 8036seguito 8037selciato 8038selettivo 8039sella 8040selvaggio 8041semaforo 8042sembrare 8043seme 8044seminato 8045sempre 8046senso 8047sentire 8048sepolto 8049sequenza 8050serata 8051serbato 8052sereno 8053serio 8054serpente 8055serraglio 8056servire 8057sestina 8058setola 8059settimana 8060sfacelo 8061sfaldare 8062sfamato 8063sfarzoso 8064sfaticato 8065sfera 8066sfida 8067sfilato 8068sfinge 8069sfocato 8070sfoderare 8071sfogo 8072sfoltire 8073sforzato 8074sfratto 8075sfruttato 8076sfuggito 8077sfumare 8078sfuso 8079sgabello 8080sgarbato 8081sgonfiare 8082sgorbio 8083sgrassato 8084sguardo 8085sibilo 8086siccome 8087sierra 8088sigla 8089signore 8090silenzio 8091sillaba 8092simbolo 8093simpatico 8094simulato 8095sinfonia 8096singolo 8097sinistro 8098sino 8099sintesi 8100sinusoide 8101sipario 8102sisma 8103sistole 8104situato 8105slitta 8106slogatura 8107sloveno 8108smarrito 8109smemorato 8110smentito 8111smeraldo
8112smilzo 8113smontare 8114smottato 8115smussato 8116snellire 8117snervato 8118snodo 8119sobbalzo 8120sobrio 8121soccorso 8122sociale 8123sodale 8124soffitto 8125sogno 8126soldato 8127solenne 8128solido 8129sollazzo 8130solo 8131solubile 8132solvente 8133somatico 8134somma 8135sonda 8136sonetto 8137sonnifero 8138sopire 8139soppeso 8140sopra 8141sorgere 8142sorpasso 8143sorriso 8144sorso 8145sorteggio 8146sorvolato 8147sospiro 8148sosta 8149sottile 8150spada 8151spalla 8152spargere 8153spatola 8154spavento 8155spazzola 8156specie 8157spedire 8158spegnere 8159spelatura 8160speranza 8161spessore 8162spettrale 8163spezzato 8164spia 8165spigoloso 8166spillato 8167spinoso 8168spirale 8169splendido 8170sportivo 8171sposo 8172spranga 8173sprecare 8174spronato 8175spruzzo 8176spuntino 8177squillo 8178sradicare 8179srotolato 8180stabile 8181stacco 8182staffa 8183stagnare 8184stampato 8185stantio 8186starnuto 8187stasera 8188statuto 8189stelo 8190steppa 8191sterzo 8192stiletto 8193stima 8194stirpe 8195stivale 8196stizzoso 8197stonato 8198storico 8199strappo 8200stregato 8201stridulo 8202strozzare 8203strutto 8204stuccare 8205stufo 8206stupendo 8207subentro 8208succoso 8209sudore 8210suggerito 8211sugo 8212sultano 8213suonare 8214superbo 8215supporto 8216surgelato 8217surrogato 8218sussurro 8219sutura 8220svagare 8221svedese 8222sveglio 8223svelare 8224svenuto 8225svezia 8226sviluppo 8227svista 8228svizzera 8229svolta 8230svuotare 8231tabacco 8232tabulato 8233tacciare 8234taciturno 8235tale 8236talismano 8237tampone 8238tannino 8239tara 8240tardivo 8241targato 8242tariffa 8243tarpare 8244tartaruga 8245tasto 8246tattico 8247taverna 8248tavolata 8249tazza 8250teca 8251tecnico 8252telefono 8253temerario 8254tempo 8255temuto 8256tendone 8257tenero 8258tensione 8259tentacolo 8260teorema 8261terme 8262terrazzo 8263terzetto 8264tesi 8265tesserato 8266testato 8267tetro 8268tettoia 8269tifare 8270tigella 8271timbro 8272tinto 8273tipico 8274tipografo 8275tiraggio 8276tiro 8277titanio 8278titolo 8279titubante 8280tizio 8281tizzone 8282toccare 8283tollerare 8284tolto 8285tombola 8286tomo 8287tonfo 8288tonsilla 8289topazio 8290topologia 8291toppa 8292torba 8293tornare 8294torrone 8295tortora 8296toscano 8297tossire 8298tostatura 8299totano 8300trabocco 8301trachea 8302trafila 8303tragedia 8304tralcio 8305tramonto 8306transito 8307trapano 8308trarre 8309trasloco 8310trattato 8311trave 8312treccia 8313tremolio 8314trespolo 8315tributo 8316tricheco 8317trifoglio 8318trillo 8319trincea 8320trio 8321tristezza 8322triturato 8323trivella 8324tromba 8325trono 8326troppo 8327trottola 8328trovare 8329truccato 8330tubatura 8331tuffato 8332tulipano 8333tumulto 8334tunisia 8335turbare 8336turchino 8337tuta 8338tutela 8339ubicato 8340uccello 8341uccisore 8342udire 8343uditivo 8344uffa 8345ufficio 8346uguale 8347ulisse 8348ultimato 8349umano 8350umile 8351umorismo 8352uncinetto 8353ungere 8354ungherese 8355unicorno 8356unificato 8357unisono 8358unitario 8359unte 8360uovo 8361upupa 8362uragano 8363urgenza 8364urlo 8365usanza 8366usato 8367uscito 8368usignolo 8369usuraio 8370utensile 8371utilizzo 8372utopia 8373vacante 8374vaccinato 8375vagabondo 8376vagliato 8377valanga 8378valgo 8379valico 8380valletta 8381valoroso 8382valutare 8383valvola 8384vampata 8385vangare 8386vanitoso 8387vano 8388vantaggio 8389vanvera 8390vapore 8391varano 8392varcato 8393variante 8394vasca 8395vedetta 8396vedova 8397veduto 8398vegetale 8399veicolo 8400velcro 8401velina 8402velluto 8403veloce 8404venato 8405vendemmia 8406vento 8407verace 8408verbale 8409vergogna 8410verifica 8411vero 8412verruca 8413verticale 8414vescica 8415vessillo 8416vestale 8417veterano 8418vetrina 8419vetusto 8420viandante 8421vibrante 8422vicenda 8423vichingo 8424vicinanza 8425vidimare 8426vigilia 8427vigneto 8428vigore 8429vile 8430villano 8431vimini 8432vincitore 8433viola 8434vipera 8435virgola 8436virologo 8437virulento 8438viscoso 8439visione 8440vispo 8441vissuto 8442visura 8443vita 8444vitello 8445vittima 8446vivanda 8447vivido 8448viziare 8449voce 8450voga 8451volatile 8452volere 8453volpe 8454voragine 8455vulcano 8456zampogna 8457zanna 8458zappato 8459zattera 8460zavorra 8461zefiro 8462zelante 8463zelo 8464zenzero 8465zerbino 8466zibetto 8467zinco 8468zircone 8469zitto 8470zolla 8471zotico 8472zucchero 8473zufolo 8474zulu 8475zuppa`.split(` 8476`)),nf}var af={},ZC;function Ate(){return ZC||(ZC=1,Object.defineProperty(af,"__esModule",{value:!0}),af.wordlist=void 0,af.wordlist=`ãããããã 8477ããã㤠8478ãããã 8479ããããã 8480ããã¡ãã 8481ããã 8482ããããã 8483ããã 8484ãããããã 8485ããã 8486ããã² 8487ããã㨠8488ããããã 8489ããããã 8490ãããã 8491ãããµã 8492ãããã 8493ããããã 8494ãããã¾ã 8495ããã 8496ãã¤ã 8497ãã¤ãã 8498ãã£ãã ã 8499ãã¤ã¾ã 8500ãã¤ãã 8501ãã¦ãª 8502ãã¦ã¯ã¾ã 8503ãã²ã 8504ããµãã 8505ããµãã 8506ããµãã 8507ãã¾ã 8508ãã¾ã¨ã 8509ãã¾ããã 8510ãã¾ã 8511ãã¿ãã® 8512ãããã 8513ããã¾ã 8514ããã 8515ãããããã¾ 8516ããã 8517ããããã 8518ããããã 8519ãããã 8520ãããã 8521ããããã¨ã 8522ãããã 8523ããã¦ã 8524ããã 8525ããããã 8526ããã 8527ããããã 8528ããã¦ã 8529ãããªã 8530ããã¾ã 8531ããããã 8532ããã 8533ãããã 8534ãããã 8535ãããã 8536ãããªã 8537ãããã® 8538ããã 8539ãããã 8540ãããµãã 8541ããã¯ã㪠8542ããã 8543ããã 8544ããã 8545ãã㤠8546ããã¾ãã 8547ããã 8548ããã 8549ãããã ã 8550ããããã 8551ããããã 8552ãããã¿ 8553ãããã 8554ããã 8555ãããã²ã 8556ãããã 8557ããã 8558ãããã 8559ããããã 8560ãããããã 8561ãããã 8562ãããã 8563ããããã 8564ããã¿ 8565ãããã 8566ãã¡ãã 8567ãã¡ãã 8568ãã¡ã¨ã 8569ãã¡ã¯ã 8570ãã¡ãµã 8571ãã¡ãã ã 8572ãã¤ã 8573ãã£ãã ã 8574ãã£ãã 8575ãã£ãã 8576ãã£ãã 8577ãã£ã¡ 8578ãã£ã¦ã 8579ãã£ã»ãã 8580ãã¦ãã 8581ãã¦ã 8582ãã¨ãã 8583ãã¨ã 8584ããªã 8585ããªã
8586ãããã 8587ãã®ã¡ 8588ãã®ã 8589ãã¯ã¤ 8590ãã¯ãã 8591ãã¯ã 8592ãã²ãã 8593ãã²ã 8594ããµã 8595ãã¸ã 8596ãã»ã 8597ãã¿ã 8598ããã㨠8599ãããã 8600ããã 8601ããããã 8602ããã 8603ãããã 8604ããã 8605ããã 8606ããã㨠8607ããããã¡ 8608ãããã 8609ããã 8610ãããã® 8611ããã 8612ããããã²ã㤠8613ããã 8614ããã 8615ãããã 8616ããã¯ã 8617ãããã 8618ãããããã¾ã 8619ããã㤠8620ããããã 8621ãããã 8622ããã 8623ããã 8624ãããã 8625ãããã 8626ãããµã 8627ããã¸ãã 8628ããã 8629ãããã㪠8630ãããã 8631ãããã¾ãã 8632ããã¤ã 8633ããã¨ã 8634ããã㤠8635ããã 8636ããããã 8637ãããã 8638ããã 8639ãããã 8640ãããªã 8641ãããããã¿ 8642ããã 8643ãããã 8644ãããããã 8645ãããã 8646ãã㤠8647ãã¡ããã 8648ãã¡ããã 8649ãã¡ã 8650ãã¡ã ã 8651ãã£ãã 8652ãã¤ããã 8653ãã£ããã 8654ãã¤ã 8655ãã¨ãã 8656ããªãã 8657ããªãã 8658ããªããã 8659ããªã 8660ããã 8661ãã®ã 8662ããµããã 8663ããµãããã 8664ãã¾ãã 8665ããã 8666ããã 8667ããã¾ã 8668ããã 8669ãããããã 8670ããããã¡ 8671ãããªã 8672ããããã 8673ãããã 8674ãããã 8675ãããã 8676ãããã 8677ããã 8678ããã 8679ããã 8680ããã 8681ãããã 8682ããã¡ã 8683ããã¦ã 8684ããã¨ãã 8685ãããã 8686ãããã 8687ããããã 8688ãããã 8689ãããã 8690ãããµãã 8691ãããã 8692ããã 8693ããã 8694ãããã 8695ãããã 8696ãããã 8697ãããã 8698ãããã 8699ãã㦠8700ãã¤ãã 8701ãã®ãã 8702ãã»ãã¾ã 8703ãã»ã 8704ãã¾ã 8705ãããã 8706ããã® 8707ããã 8708ãããµã 8709ããã 8710ãããã 8711ãããã 8712ãããã 8713ããããã 8714ãããã ã 8715ãããã㤠8716ãããã 8717ããã¡ãã 8718ããã¨ã¤ 8719ããããã 8720ãããã 8721ãããã 8722ããã¤ã 8723ãããã 8724ãããã¾ 8725ãããã 8726ããã㤠8727ãããã 8728ãããµã 8729ããã¸ãã 8730ãããã 8731ããã 8732ããã 8733ããã 8734ããã¨ããã 8735ããã 8736ãããã 8737ãããã 8738ãããã 8739ãããã 8740ãããã 8741ããããªã 8742ããã 8743ãããã¾ 8744ãããããã 8745ããããã㪠8746ããã 8747ãããã 8748ããã 8749ãããªã 8750ããã 8751ãããã 8752ãããªã 8753ãããã 8754ãããã 8755ãããã 8756ããããã 8757ããããã 8758ãããã 8759ãããã 8760ãããã 8761ããããã 8762ããã 8763ããããã 8764ãã¡ã¤ã 8765ãã£ã¨ 8766ãã¤ã 8767ãã¦ããã 8768ãã¨ããã® 8769ãã¨ãªãã 8770ãã¨ãã 8771ãã¨ãããã 8772ãã¯ããã 8773ãã¾ãã 8774ããã¦ãã¨ã 8775ãããã¦ã 8776ããã 8777ãããã 8778ããã¡ã 8779ãã㤠8780ãããã²ã 8781ããã»ãã 8782ããããã 8783ããã 8784ããããã 8785ãããã 8786ãããã 8787ãããã 8788ããããã 8789ããã¡ã ã 8790ããã¨ããã 8791ãã㤠8792ãããã 8793ãããã 8794ããããã 8795ããããã 8796ããã㤠8797ãããã 8798ãããããã 8799ããããã 8800ãããããã¨ã 8801ããã¤ã 8802ããã¦ã 8803ããã¨ã 8804ãããµã 8805ãããã¸ã 8806ããã»ã 8807ãããã 8808ããããã 8809ããã 8810ããã 8811ããã 8812ãããã 8813ãããã 8814ãããã 8815ãããã¿ 8816ãããã 8817ããã¨ã 8818ãããã 8819ããããã 8820ããã 8821ããã¡ 8822ããã¡ãã 8823ããã£ãã ã 8824ããã£ãã 8825ããã£ãã 8826ããã£ããã 8827ããªãããã 8828ãã®ã 8829ããã¯ã 8830ããµãã 8831ãã»ã 8832ãã»ãã 8833ãã¾ã 8834ãã¾ã»ãã 8835ããããã 8836ããã 8837ãããã²ã 8838ããã 8839ããã 8840ããã 8841ããã 8842ããã 8843ãããã 8844ãããã 8845ãããã 8846ãããã 8847ãããã 8848ãããã 8849ããã¡ 8850ãããã¯ãã 8851ããã 8852ãã㤠8853ããã 8854ãããã 8855ããã 8856ããã 8857ããã 8858ããã 8859ããã 8860ããã¡ 8861ããã 8862ããã 8863ããã 8864ããããã 8865ãã㦠8866ããã¯ãã 8867ããããã 8868ããããã 8869ããã 8870ãããã 8871ããã 8872ããã 8873ããã 8874ããã¾ 8875ããããã 8876ãããããããã 8877ãããã 8878ãããããããã 8879ããããã«ã£ã¦ã 8880ããããã ã¤ãã 8881ããã 8882ããã 8883ããã 8884ãã㤠8885ããã 8886ãããã 8887ãããã 8888ãããã 8889ãã¡ãã 8890ãã¤ãã 8891ããã£ã¡ã 8892ãã¤ã¤ã 8893ãã¤ã 8894ãã¦ã 8895ãã¨ãã 8896ãã¨ãã 8897ããªã 8898ããªãã 8899ããªã 8900ãã¬ããã 8901ããã 8902ãã®ã 8903ãã®ãã 8904ãã¯ã 8905ãã²ããã 8906ãã²ã 8907ããµã 8908ããµãã 8909ãã»ãã 8910ãã»ã 8911ãã¾ã 8912ãã¿ã¤ 8913ããããããã 8914ããã 8915ãããããã 8916ããã¡ 8917ããã® 8918ããã 8919ããã 8920ããã ãã«ã 8921ããã 8922ããããã ã 8923ããã 8924ããã 8925ããã 8926ããã 8927ãã㤠8928ããã 8929ãããã 8930ãããã 8931ããããã 8932ãããããã 8933ããããã 8934ããããã²ã 8935ãããã 8936ãããã 8937ãããã 8938ããã 8939ããããã 8940ãããã 8941ããããã 8942ãããã 8943ããããã 8944ãããµã 8945ããã»ã 8946ããã 8947ãããã 8948ãããã
8949ãããã 8950ããã 8951ããã 8952ããã¯ã㪠8953ããã 8954ãããã¿ 8955ãããã 8956ããã®ã 8957ããããã²ã 8958ãããã 8959ããã 8960ããããã¦ã 8961ããããã 8962ããã²ããã 8963ãã¡ãã¿ 8964ãã¡ãã 8965ãã¤ãã 8966ããã£ãã 8967ãã¤ããã 8968ãã¨ãã¦ã 8969ãã¨ãã 8970ããªã 8971ãããã 8972ãã®ã 8973ããµã 8974ãã¿ããã 8975ãã¿ãã¦ã 8976ããã 8977ããããã 8978ããã 8979ããã¸ãã 8980ããã¾ 8981ããã 8982ããã 8983ãããã 8984ããããã 8985ãããããã 8986ããããã 8987ããã㦠8988ãã㪠8989ãããã 8990ãããã 8991ããã 8992ããã㤠8993ãããããã 㤠8994ãããã 8995ãããã®ãããã 8996ãããã 8997ããã 8998ããã¨ã 8999ããããã® 9000ãããã 9001ãããããã 9002ãããããã 9003ãããã¡ã 9004ãããã¨ã¤ 9005ããã㯠9006ããããã 9007ãããã 9008ãããããããã 9009ããããã 9010ããã 9011ããããã 9012ããã 9013ããããã 9014ãããã 9015ããã㨠9016ããã¯ã 9017ãã¡ãã£ãµã 9018ãã¡ãã 9019ãã¤ã㤠9020ãã¤ã 9021ãã¤ãã 9022ãã£ãã 9023ãã¤ããã 9024ãã£ãã 9025ãã£ã¦ã 9026ãã¤ã¾ã¤ 9027ããã¤ããã²ã 9028ããã¤ãã 9029ãã¤ãã 9030ããã¨ãã 9031ãã¨ã¯ãã 9032ãã¨ã 9033ããªãã 9034ããªã 9035ããªã¿ 9036ãã¬ã 9037ããã㤠9038ããã 9039ãã¯ã 9040ããã²ã 9041ããµããã 9042ããã»ãã 9043ãã¾ã 9044ãã¿ãã 9045ããã 9046ããã 9047ããã® 9048ããã 9049ãããã 9050ãããã 9051ããã 9052ããã㤠9053ããã 9054ããã 9055ãããã 9056ããããã 9057ãããã 9058ãããã 9059ãããã ã 9060ãããã 9061ããããã 9062ããã¡ã 9063ããã¦ã 9064ããã¨ã 9065ãããªã 9066ããã«ã 9067ããããµã㤠9068ããã¾ 9069ããã¿ã 9070ãããã 9071ãããã 9072ããã 9073ãããã¾ 9074ãã㬠9075ããã²ã㨠9076ãããã 9077ãããã 9078ãããã 9079ãããã 9080ããããã ã 9081ããããã 9082ãããã 9083ãããã 9084ãããã 9085ãããã 9086ããããã 9087ãããã 9088ãããã 9089ããã¡ã 9090ããã¤ã 9091ããã¦ã 9092ããã¨ãã 9093ãããªã 9094ããã¯ã 9095ãããã»ã 9096ãããã¾ã 9097ãããã 9098ããã㤠9099ããã 9100ããã 9101ãããã 9102ãããã㤠9103ãããã 9104ãããã 9105ãããã 9106ããã¨ã 9107ãããªã 9108ããã¯ã 9109ãããã¾ 9110ããã 9111ããã 9112ããã®ã 9113ããã 9114ããã 9115ãã㤠9116ããã 9117ããã 9118ããã 9119ãããã 9120ãããã㦠9121ããã 9122ãããã 9123ãã㤠9124ãã¡ãã 9125ãã£ã 9126ãã¤ã㤠9127ãã¤ã¯ãã 9128ãã¤ãµã 9129ãã¦ã 9130ãã¦ã 9131ãã¨ããã 9132ãã¨ã 9133ãã¨ã¯ã 9134ãã¨ã 9135ããªãã㪠9136ãããã 9137ãã®ã¾ã¾ 9138ãã®ã¿ 9139ãã®ã 9140ããã¯ã 9141ãã²ã¤ãã 9142ããµã 9143ããµã 9144ãã»ããã 9145ããã¾ããµãã 9146ãã¾ãã 9147ããã¾ãã 9148ãã¾ã¤ãª 9149ãã¾ã 9150ããããã 9151ãããã 9152ããã¡ 9153ããã® 9154ããã 9155ããã 9156ããã¾ 9157ããã 9158ããã²ã 9159ããã 9160ããã 9161ããã 9162ãããããã 9163ããã£ã 9164ããã㦠9165ãããã 9166ãããã 9167ãããã 9168ããã 9169ãããã ã 9170ãããã 9171ãããã㦠9172ããã¨ã 9173ãããªã 9174ããã²ãã« 9175ããã»ãã 9176ããã¾ã 9177ããã 9178ãããã 9179ãããã 9180ããããã 9181ãããã 9182ãããã 9183ãããããã 9184ãããã 9185ãããã 9186ãããã 9187ããããã 9188ãããã¡ã ã 9189ããã¦ã 9190ãããããã 9191ãã㪠9192ãããã 9193ãããã 9194ãã㪠9195ããã¿ã¡ 9196ãããã 9197ããããã 9198ããã 9199ããã²ã 9200ããã 9201ããã 9202ãã㤠9203ããããã 9204ãããã 9205ããã 9206ãã¤ãã 9207ããã¤ãã 9208ããã£ã 9209ããã¤ããã 9210ãã£ããã 9211ããã£ã 9212ãã¤ããã 9213ããã£ãã 9214ãã¤ãã¯ã 9215ãã¤ã¾ãã 9216ãã¦ã 9217ãã¨ãã 9218ãã¨ã 9219ãã¨ãã 9220ãã¨ã 9221ãã¨ã 9222ãã®ã 9223ãã¯ãã 9224ãã²ããã 9225ãã¸ã㤠9226ãã»ã 9227ãã»ã¨ã 9228ãã¾ã 9229ãã¿ãã 9230ãã¿ããã 9231ããã 9232ããã 9233ããããã¨ãã 9234ããã 9235ããã 9236ããã 9237ãããã 9238ããããã¯ã 9239ãããã 9240ããã 9241ãããã 9242ããã 9243ããããã 9244ãããã 9245ãããã 9246ããããã 9247ãããã 9248ãããã 9249ããã 9250ããã¡ 9251ããã¾ 9252ããã¿ 9253ãããã 9254ããã 9255ãããã 9256ãããã£ã¦ 9257ãããã 9258ããã 9259ããã 9260ããã¡ 9261ããã 9262ããã 9263ããã 9264ããã 9265ãããã 9266ããã㨠9267ããã 9268ããããã 9269ãããã 9270ãããã 9271ãã㦠9272ããã¿ 9273ãã¡ãã 9274ãã¡ãã 9275ãã£ãã 9276ãã¤ãã 9277ãã¤ãã 9278ãã¦ã 9279ãã¦ã 9280ãã¦ã¤ 9281ããã¦ã 9282ããã¨ãã 9283ããªããã 9284ããªãã® 9285ããªã 9286ããã¾ 9287ããã 9288ãã®ãã 9289ãã®ãµã 9290ãã¯ã 9291ãã¯ããã 9292ãã¯ã¤ 9293ãã¯ãã 9294ãã¯ã 9295ãã²ãã 9296ããµã 9297ãããµãã 9298ãã¸ã 9299ãã»ã 9300ãã»ã 9301ãã¾ã 9302ãã¾ã 9303ãã¿ã 9304ãããã 9305ããããã 9306ããã 9307ããã 9308ããã 9309ãããã 9310ãããã 9311ãããã 9312ããããããã 9313ããããã 9314ãããã»ã 9315ãããã 9316ããã 9317ããããã 9318ãããã 9319ãããã 9320ãããã 9321ãããã 9322ããã¡ãã 9323ããã£ãã 9324ãããã¾ 9325ãããã 9326ãããã 9327ãããã 9328ããã ããã 9329ãã ãã¯ã 9330ããã ãã 9331ãã ã£ãã 9332ãã ã¿ 9333ãã ãã¯ã 9334ããã ãã¯ãã 9335ããããã 9336ããããã 9337ããã£ãã
9338ããã¨ãã 9339ããã㤠9340ãããã 9341ããã¸ãã 9342ããã 9343ãããã 9344ãããããã 9345ãããããã 9346ããã¡ã 9347ãããã 9348ãããã 9349ããã 9350ãã㪠9351ãããã 9352ãããã 9353ããã 9354ããã¨ã 9355ããããµãã 9356ããããã²ã 9357ããããã 9358ãããã㤠9359ãããã 9360ããã¨ãã 9361ããã¾ 9362ããã 9363ãããªã 9364ããã 9365ãããã 9366ããã 9367ãããã 9368ããããã 9369ããã 9370ãããã 9371ãã£ãã 9372ããã£ãã 9373ããã£ã¨ 9374ãã¦ã 9375ãã¦ã 9376ããã 9377ãã®ã 9378ãã¯ãã 9379ãã¯ãããã 9380ããã²ãã 9381ãããµãã¬ã 9382ããµãã 9383ããµã 9384ãã¸ã㦠9385ãã¸ãã 9386ããã»ã 9387ãã»ãã 9388ãã¾ã 9389ããã 9390ããã 9391ããã 9392ãããã 9393ããã 9394ããã¡ããã 9395ããã£ã¨ 9396ããã 9397ããããã 9398ããã»ãã 9399ãããµãã 9400ããã㤠9401ããããã 9402ãããã 9403ãããã 9404ããã 9405ããããã 9406ããã«ã 9407ããã 9408ããã 9409ãããããã 9410ããã 9411ããã 9412ãããã 9413ããã 9414ããã 9415ãã£ãã 9416ãã£ããã 9417ããã£ã 9418ãã£ãã 9419ãã£ã㤠9420ãã£ãããã¾ 9421ãã¤ããã 9422ãã¤ããã 9423ãã¤ã¦ãã 9424ãã£ã¯ãã 9425ãã¤ã²ã 9426ãã¤ãµãã 9427ãã¤ãã 9428ãã¤ã㤠9429ããªã 9430ãã®ã²ã 9431ãã¯ã¯ã 9432ãã²ãã 9433ãã»ãã 9434ãã¾ã 9435ãã¾ã 9436ããã 9437ãããã 9438ãããµ 9439ããããã 9440ããã 9441ãããã 9442ããã 9443ãããã 9444ããã 9445ããããã 9446ããããã 9447ãããã 9448ãããã 9449ãããã 9450ãããã 9451ãããã 9452ãããã 9453ããã¡ãã 9454ããã¦ã 9455ããã¨ã 9456ããã¬ã 9457ãããã 9458ããã¯ãã 9459ããããµã 9460ãããã»ãã 9461ããã 9462ããããããã 9463ãããã 9464ãããã 9465ãããã 9466ãããã 9467ãããã 9468ãããããã 9469ãããã 9470ããã 9471ããã 9472ããã¨ããã 9473ããã 9474ãããããããã 9475ããã 9476ãããã 9477ãããã 9478ããããã 9479ãããªã 9480ããã²ã 9481ãããã 9482ããã 9483ãããã® 9484ããã 9485ãããã 9486ãããã 9487ããã 9488ãããã 9489ãããã 9490ãã㪠9491ããã 9492ããã 9493ãããã 9494ãããã¦ã 9495ãã¤ã 9496ãã¤ãã 9497ãã£ãã 9498ãã¤ãããã 9499ãã£ã㤠9500ãã£ãã 9501ãã£ãã 9502ãã£ã¨ 9503ãã¨ããã 9504ãã¨ã¤ãã 9505ããªãã 9506ããªã 9507ããµã»ã 9508ãã»ãã 9509ãã»ãã 9510ãã¾ã¤ 9511ãã¾ã 9512ããã 9513ãããã 9514ããã 9515ãããã 9516ããããã 9517ããã¾ã 9518ããã 9519ãããã 9520ãããã 9521ããããã 9522ããã㤠9523ããããã 9524ããã¡ãã 9525ãããã²ã 9526ããããµãã 9527ããã¿ã 9528ããã 9529ãããã 9530ãããã 9531ãããã 9532ãããã 9533ãããããã 9534ããã 9535ããããã 9536ãããã 9537ããã 9538ããããã 9539ããããããããµã 9540ããããã 9541ããã㤠9542ãããã 9543ããããã 9544ããã¡ãã 9545ããã¦ã 9546ãããã¨ããã 9547ãããªã 9548ããã㤠9549ããã®ã 9550ããã¯ã 9551ãããã²ãã 9552ãããµã 9553ããã¸ã 9554ããã» 9555ããã¾ã¤ã¯ã㪠9556ããã¿ããã 9557ããã 9558ãããã 9559ãããã 9560ãããã 9561ããã 9562ããããã 9563ããã 9564ãããã 9565ããã 9566ããã 9567ããã 9568ããã 9569ãããã 9570ããã 9571ããã 9572ããã²ã 9573ãããã 9574ããã 9575ãããã 9576ããã 9577ããããã 9578ãããããã 9579ãããã 9580ãããããã 9581ããããã 9582ãããã 9583ããã 9584ããããã 9585ããã¿ 9586ãã¡ã¯ã㪠9587ããã£ãã 9588ããã£ããã 9589ããã£ã 9590ããã£ãã 㤠9591ããã£ãã 9592ãã¦ã 9593ãã¨ãã 9594ããªã¯ãã 9595ãã«ã 9596ãã¬ã 9597ãã®ãã¿ 9598ãã¯ã¤ 9599ããµãã 9600ãã¸ãã 9601ãã»ãã 9602ãã¾ãã 9603ãã¾ã 9604ãããã 9605ãããã 9606ããã 9607ããã 9608ãã㤠9609ãããã 9610ããã 9611ããã 9612ãããã»ãããã 9613ãããã 9614ããã 9615ãã㨠9616ããã 9617ããã㨠9618ããã£ã¨ 9619ããããã 9620ãããã㤠9621ããã 9622ãããã 9623ããã 9624ããã 9625ãããã 9626ãããã 9627ãããã 9628ããããããã²ã 9629ããããã 9630ãããã 9631ãããã 9632ãããã¡ 9633ããã¦ã 9634ããã¨ã 9635ããã㪠9636ããã«ã 9637ãããã㤠9638ããã®ã 9639ããã²ãã 9640ãããã»ãã 9641ããã¾ã¤ 9642ãããã 9643ãããã㤠9644ãããã 9645ãããã 9646ã¡ãã 9647ã¡ãã 9648ã¡ãã 9649ã¡ããã 9650ã¡ãã 9651ã¡ãã 9652ã¡ãã 9653ã¡ãã ã 9654ã¡ãã 9655ã¡ãããã 9656ã¡ãã 9657ã¡ãã 9658ã¡ãã 9659ã¡ãã 9660ã¡ãããã 9661ã¡ãã 9662ã¡ãã 9663ã¡ãã 9664ã¡ãã 9665ã¡ã¡ãã 9666ã¡ã¤ããã 9667ã¡ã¦ã 9668ã¡ã¦ã 9669ã¡ã¬ã 9670ã¡ã¬ã 9671ã¡ã®ã 9672ã¡ã²ãã 9673ã¡ã¸ããã 9674ã¡ã»ã 9675ã¡ã¾ã 9676ã¡ã¿ã¤ 9677ã¡ã¿ã¨ãã 9678ã¡ããã¨ã 9679ã¡ããããªã¸ã 9680ã¡ã ãã 9681ã¡ãããã 9682ã¡ããã 9683ã¡ããããã 9684ã¡ãã 9685ã¡ãã¿ 9686ã¡ãããã¿ 9687ã¡ããã 9688ã¡ãã¨ã 9689ã¡ãã 9690ã¡ããã 9691ã¡ããã 9692ã¤ãã 9693ã¤ããã¡ 9694ã¤ãã 9695ã¤ããããã 9696ã¤ãã¯ã 9697ã¤ãã 9698ã¤ãã 9699ã¤ããã 9700ã¤ãã 9701ã¤ãã 9702ã¤ãã 9703ã¤ãã 9704ã¤ããã 9705ã¤ããã 9706ã¤ã¤ãã 9707ã¤ã¤ãã 9708ã¤ã¤ã 9709ã¤ã¨ãã 9710ã¤ãªããã 9711ã¤ãªã¿
9712ã¤ãã¤ãã 9713ã¤ã®ã 9714ã¤ãµãã 9715ã¤ã¾ããªã 9716ã¤ã¾ã 9717ã¤ã¿ã 9718ã¤ããã 9719ã¤ãã 9720ã¤ãã 9721ã¤ãã 9722ã¤ãã»ã 9723ã¤ãã¿ã 9724ã¤ããã® 9725ã¤ãã 9726ã¦ãã 9727ã¦ã㦠9728ã¦ãã¿ 9729ã¦ããã 9730ã¦ãã 9731ã¦ãã 9732ã¦ããã 9733ã¦ããã 9734ã¦ãã㤠9735ã¦ãã 9736ã¦ããã 9737ã¦ããã 9738ã¦ãã¨ã 9739ã¦ããã 9740ã¦ãã²ãã 9741ã¦ãã¸ã 9742ã¦ãã»ãã 9743ã¦ãã¡ 9744ã¦ããã 9745ã¦ãã¨ã 9746ã¦ãã²ã 9747ã¦ããã»ãã 9748ã¦ããããã 9749ã¦ããã 9750ã¦ãã 9751ã¦ãã 9752ã¦ã¡ããã 9753ã¦ã¡ãã 9754ã¦ã¤ããã 9755ã¦ã¤ã¤ãã 9756ã¦ãã£ã¯ã 9757ã¦ã¤ã»ãã 9758ã¦ã¤ã 9759ã¦ãã¬ãã 9760ã¦ã¬ã 9761ã¦ã¬ããã 9762ã¦ã®ã²ã 9763ã¦ã¯ã 9764ã¦ãµããã 9765ã¦ãµãã 9766ã¦ã»ã¨ãã 9767ã¦ã»ã 9768ã¦ã¾ã 9769ã¦ã¾ãããã 9770ã¦ã¿ããã 9771ã¦ã¿ããã 9772ã¦ãã 9773ã¦ãã²ã 9774ã¦ãã 9775ã¦ããã 9776ã¦ããã㤠9777ã¦ããã 9778ã¦ããã 9779ã¦ãã 9780ã¦ããã 9781ã¦ããã 9782ã¦ãããã 9783ã¦ããã 9784ã¦ãã 9785ã¦ããã 9786ã¦ããã¡ 9787ã¦ãã¦ã 9788ã¦ãã¨ã 9789ã¦ããªã 9790ã¦ããµãã 9791ã¦ãã»ããããã 9792ã¦ãã㤠9793ã¦ããããã 9794ã¦ããããã 9795ã¦ããã 9796ã¨ããã 9797ã¨ãã 9798ã¨ãããã 9799ã¨ããã ã 9800ã¨ãããã 9801ã¨ãã 9802ã¨ãããã 9803ã¨ãã 9804ã¨ãã 9805ã¨ãã 9806ã¨ãã 9807ã¨ãã 9808ã¨ãã 9809ã¨ãã 9810ã¨ããã 9811ã¨ãã¨ãã 9812ã¨ãã 9813ã¨ããã ã 9814ã¨ãã¦ã 9815ã¨ãã« 9816ã¨ãã¸ã㤠9817ã¨ãã 9818ã¨ãã 9819ã¨ãã 9820ã¨ãã 9821ã¨ãããã 9822ã¨ãã 9823ã¨ãã 9824ã¨ã¡ã ã 9825ã¨ã£ãã ã 9826ã¨ã£ãã 9827ã¨ã¤ããã 9828ã¨ã¤ã«ã ã 9829ã¨ã¨ããã 9830ã¨ã¨ã®ãã 9831ã¨ãªã 9832ã¨ãªãã 9833ã¨ãªã 9834ã¨ã®ãã¾ 9835ã¨ã¯ãã 9836ã¨ããµãããã 9837ã¨ã»ã 9838ã¨ã¾ã 9839ã¨ãã 9840ã¨ãããã¡ 9841ã¨ãã 9842ã¨ãããã²ã 9843ã¨ããã 9844ã¨ãã㤠9845ã¨ãããµãã 9846ãªããã 9847ãªããã 9848ãªããã 9849ãªãã 9850ãªããã 9851ãªããã 9852ãªãã 9853ãªããã 9854ãªãã 9855ãªããã 9856ãªããã¨ã 9857ãªãã 9858ãªãã¦ããã 9859ãªã£ã¨ã 9860ãªã¤ããã¿ 9861ãªãªãã 9862ãªã«ãã㨠9863ãªã«ãã® 9864ãªã«ã 9865ãªã®ã 9866ãªãµãã 9867ãªã¾ãã 9868ãªã¾ã 9869ãªã¾ã¿ 9870ãªã¿ãã 9871ãªããã 9872ãªãã 9873ãªãã 9874ãªãã 9875ãªãã²ã 9876ãªããµã 9877ãªãã 9878ãªãã¨ã²ã 9879ãªãã¯ãã 9880ã«ãã 9881ã«ãããã 9882ã«ãã 9883ã«ãã 9884ã«ãã 9885ã«ãã㦠9886ã«ãã²ã 9887ã«ããã¿ 9888ã«ãã¾ã 9889ã«ããã 9890ã«ãããããã 9891ã«ãã 9892ã«ããã® 9893ã«ã¡ãããã 9894ã«ã¡ããã²ã 9895ã«ã£ã 9896ã«ã£ã 9897ã«ã£ãã 9898ã«ã£ãã 9899ã«ã£ãã 9900ã«ã£ããã 9901ã«ã£ãã 9902ã«ã£ãã 9903ã«ã£ã¦ã 9904ã«ãªã 9905ã«ã»ã 9906ã«ã¾ã 9907ã«ã㤠9908ã«ãã 9909ã«ã ããã 9910ã«ãããã 9911ã«ãã¨ã 9912ã«ãã 9913ã«ãã 9914ã«ãã 9915ã«ãããã 9916ã«ããã 9917ã«ãããã 9918ã«ããã 9919ã«ããã 9920ã«ãã¡ 9921ã«ãã¦ã 9922ã«ãã«ã 9923ã«ããµã 9924ã«ãã¾ã 9925ã«ãã 9926ã«ããã 9927ã«ããã 9928ã¬ãããã 9929ã¬ãã 9930ã¬ãããã¨ã 9931ã¬ããã 9932ã¬ããã 9933ã¬ãã 9934ã¬ã¾ãã²ã 9935ã¬ãã 9936ã¬ãã 9937ã¬ãã¡ãã 9938ãããã 9939ããã 9940ããã 9941ããã 9942ãããã 9943ãããã 9944ããã 9945ãããã 9946ããã 9947ãããã 9948ããããã 9949ããã¸ãã 9950ãããã 9951ãã¤ã 9952ãã£ãã 9953ãã¤ããã 9954ãã£ããããã 9955ããµããã 9956ããµãã 9957ãã»ãã 9958ãã»ãã¯ã»ã 9959ãã¾ã 9960ãã¾ãã 9961ãã¿ã¿ 9962ããã 9963ãããã 9964ãã㨠9965ããã 9966ãããã 9967ãããã 9968ãããã 9969ãããã 9970ãããã 9971ãããã 9972ãããã 9973ããã 9974ããã¡ãã 9975ããã¨ã 9976ããã²ã 9977ãããµã㤠9978ããã¾ã¤ 9979ããããã 9980ãããã 9981ã®ããã 9982ã®ãã¤ãã¾ 9983ã®ããã 9984ã®ããªã¿ 9985ã®ãããã 9986ã®ãã 9987ã®ãã 9988ã®ãã 9989ã®ããã 9990ã®ããã 9991ã®ãã¾ã 9992ã®ã¡ã»ã¨ã 9993ã®ã£ã 9994ã®ã¯ãã 9995ã®ã¯ã 9996ã®ã¸ãã 9997ã®ã»ãã 9998ã®ã¿ãã® 9999ã®ãã¾ 10000ã®ãã㬠10001ã®ããã 10002ã®ããã® 10003ã®ããã 10004ã®ãã 10005ã®ãã 10006ã¯ããã 10007ã¯ãã 10008ã¯ãããã 10009ã¯ããã 10010ã¯ããã 10011ã¯ããã 10012ã¯ããã 10013ã¯ããã 10014ã¯ããã 10015ã¯ããã 10016ã¯ããã 10017ã¯ãã¡ 10018ã¯ããã¯ãã 10019ã¯ãã㤠10020ã¯ãã 10021ã¯ãã 10022ã¯ãã 10023ã¯ããã 10024ã¯ãã 10025ã¯ããã 10026ã¯ãã 10027ã¯ããµã 10028ã¯ãã¿ 10029ã¯ãã 10030ã¯ããã 10031ã¯ããã 10032ã¯ãã 10033ã¯ãã 10034ã¯ãããã 10035ã¯ãã 10036ã¯ãã 10037ã¯ã¡ã¿ã¤ 10038ã¯ã¤ãã 10039ã¯ã£ãã
10040ã¯ã¤ãã 10041ã¯ã£ãã 10042ã¯ã£ã㤠10043ã¯ã£ãã 10044ã¯ã£ãã 10045ã¯ã£ãã 10046ã¯ã£ãã 10047ã¯ã£ã㤠10048ã¯ã£ã¡ã ã 10049ã¯ã£ã¦ã 10050ã¯ã£ã²ããã 10051ã¯ã£ã»ãã 10052ã¯ãªã 10053ã¯ãªã²ã 10054ã¯ã«ãã 10055ã¯ãµããã 10056ã¯ã¿ããã 10057ã¯ããã 10058ã¯ã㤠10059ã¯ãã 10060ã¯ãã 10061ã¯ãã 10062ã¯ãããã 10063ã¯ãã 10064ã¯ãã 10065ã¯ããã 10066ã¯ããã 10067ã¯ããã 10068ã¯ãããã 10069ã¯ããããã¿ 10070ã¯ãã 10071ã¯ããã 10072ã¯ããã 10073ã¯ãããã 10074ã¯ããã¡ 10075ã¯ãã㤠10076ã¯ãã¦ã 10077ã¯ãã¨ã 10078ã¯ãã®ã 10079ã¯ãã¯ã 10080ã¯ããµãã 10081ã¯ãã¸ãã 10082ã¯ãã»ããã 10083ã¯ããã 10084ã¯ããã 10085ã¯ããã 10086ã²ãã 10087ã²ãã 10088ã²ãã 10089ã²ãã 10090ã²ãã 10091ã²ãã 10092ã²ãã 10093ã²ãã 10094ã²ã㤠10095ã²ããã 10096ã²ãã 10097ã²ãã 10098ã²ãããµãã 10099ã²ãã 10100ã²ãããã ã¤ãã 10101ã²ãã 10102ã²ãã 10103ã²ãã 10104ã²ããã 10105ã²ããã 10106ã²ãã 10107ã²ã¤ãã 10108ã²ã£ãã 10109ã²ã£ã 10110ã²ã¤ããã ã²ã 10111ã²ã£ã 10112ã²ã¤ããã 10113ã²ãã£ãã 10114ã²ãã£ã¡ã 10115ã²ã¤ãã 10116ã²ã¦ã 10117ã²ã¨ããã¿ 10118ã²ãªã¾ã¤ã 10119ã²ãªã 10120ã²ãã 10121ã²ã¯ã 10122ã²ã²ãã 10123ã²ã²ãã 10124ã²ã»ã 10125ã²ã¾ãã 10126ã²ã¾ã 10127ã²ã¿ã¤ 10128ã²ãã 10129ã²ãããã 10130ã²ãã 10131ã²ãã 10132ã²ãã 10133ã²ãããã 10134ã²ããã㪠10135ã²ãã 10136ã²ã㤠10137ã²ããã 10138ã²ãã¾ 10139ã²ãããã¿ 10140ã²ãã 10141ã²ãã 10142ã²ãã 10143ã²ãã 10144ã²ããã 10145ã²ããã 10146ã²ãã㤠10147ã²ããã 10148ã²ããã 10149ã²ããã 10150ã²ããã¡ 10151ã²ãã¯ãã 10152ã²ããã»ãã 10153ãµãã 10154ãµããã¡ 10155ãµããã 10156ãµããã 10157ãµããããã 10158ãµãã¨ã 10159ãµããµ 10160ãµãã 10161ãµãã 10162ãµãã 10163ãµãã 10164ãµããã㤠10165ãµããµããã 10166ãµãã 10167ãµãã 10168ãµããã 10169ãµããã¿ 10170ãµãã¾ 10171ãµãã 10172ãµããã 10173ãµãã 10174ãµããã«ã 10175ãµãã 10176ãµã¡ãã 10177ãµã¤ã 10178ãµã¤ã 10179ãµã£ã㤠10180ãµã£ã 10181ãµã£ãã 10182ãµãã¨ãã 10183ãµã¨ã 10184ãµã¨ã 10185ãµã®ã 10186ãµã¯ã 10187ãµã²ãã 10188ãµã¸ã 10189ãµã¾ã 10190ãµã¿ã 10191ãµã㤠10192ãµãã 10193ãµãã 10194ãµãã 10195ãµãã 10196ãµãã 10197ãµããã 10198ãµããããã 10199ãµãããã 10200ãµãã㤠10201ãµãããã 10202ãµããã 10203ãµããã»ãã 10204ã¸ããã 10205ã¸ããã 10206ã¸ãããã 10207ã¸ãã 10208ã¸ãããã 10209ã¸ããã 10210ã¸ãã 10211ã¸ããã 10212ã¸ãã㤠10213ã¸ãã 10214ã¸ããã 10215ã¸ãã¦ã 10216ã¸ãã㤠10217ã¸ãã 10218ã¸ããã 10219ã¸ãã 10220ã¸ãã«ãã 10221ã¸ãã«ããããã 10222ã¸ãã 10223ã¸ããã 10224ã¸ããããã 10225ã¸ããããã 10226ã¸ããã 10227ã¸ããã 10228ã¸ããã 10229ã»ãã 10230ã»ãã 10231ã»ããããã 10232ã»ããã 10233ã»ããã 10234ã»ãã»ã 10235ã»ããã 10236ã»ãã㤠10237ã»ãã 10238ã»ãã 10239ã»ãã 10240ã»ããã 10241ã»ããã 10242ã»ãã 10243ã»ã㤠10244ã»ãã 10245ã»ãã 10246ã»ãã 10247ã»ãã 10248ã»ã㤠10249ã»ãã 10250ã»ããã 10251ã»ãã 10252ã»ãã 10253ã»ãã 10254ã»ã㦠10255ã»ãã 10256ã»ãã¡ãµããã 10257ã»ã£ããã 10258ã»ã£ã 10259ã»ã£ãã 10260ã»ã¨ãã¨ã 10261ã»ãã 10262ã»ãã 10263ã»ãã 10264ã»ãã 10265ã»ãã㤠10266ã»ããã 10267ã¾ãã«ã¡ 10268ã¾ãã 10269ã¾ããã 10270ã¾ããã 10271ã¾ãã 10272ã¾ã㨠10273ã¾ã㤠10274ã¾ããã 10275ã¾ãã 10276ã¾ããã 10277ã¾ã¤ã 10278ã¾ã¨ã 10279ã¾ãªãµã 10280ã¾ã¬ã 10281ã¾ãã 10282ã¾ã»ã 10283ã¾ãã 10284ã¾ããã 10285ã¾ãã 10286ã¾ããã 10287ã¾ãã 10288ã¾ãã 10289ã¾ãã 10290ã¾ããã 10291ã¾ãã㤠10292ã¾ãããã 10293ã¾ããªã 10294ã¿ãã 10295ã¿ãã¡ 10296ã¿ãã 10297ã¿ããã 10298ã¿ãã 10299ã¿ãã 10300ã¿ãã 10301ã¿ãã 10302ã¿ãããã 10303ã¿ãã 10304ã¿ããã 10305ã¿ãã 10306ã¿ã£ã 10307ã¿ã¤ãã 10308ã¿ã¤ãã 10309ã¿ã¦ã 10310ã¿ã¨ãã 10311ã¿ãªã¨ 10312ã¿ãªã¿ããã 10313ã¿ããã 10314ã¿ã®ã 10315ã¿ã®ããã 10316ã¿ã»ã 10317ã¿ã㨠10318ã¿ããã 10319ã¿ãã 10320ã¿ããã 10321ã¿ãã 10322ã¿ãã 10323ã¿ãããã 10324ããã 10325ããã 10326ããã 10327ããã 10328ããã 10329ããã 10330ããã 10331ãããã¡ã 10332ããã 10333ãããã 10334ããã»ãã 10335ãããã¤ã 10336ããã¯ã 10337ãããã ã 10338ããã 10339ããã 10340ããã 10341ãããµã 10342ããã 10343ããã 10344ããã 10345ãã¡ã ã 10346ããªãã 10347ãã®ã 10348ããã¿ 10349ããã 10350ãããã 10351ãããã 10352ããã 10353ãããã 10354ãããã 10355ãããã 10356ãããã 10357ããããã 10358ãããã 10359ããã 10360ãããã 10361ãããµã㤠10362ãããã 10363ãããã 10364ãããã¾ãã 10365ãããã 10366ããã 10367ãããããã 10368ããã㤠10369ãã¾ã 10370ããã 10371ãããã 10372ãããã 10373ããã¨ãã 10374ããããããã 10375ããã¨ãããã 10376ããã 10377ããã 10378ããã¦ã 10379ããããã²ã 10380ãã¡ãã 10381ãã¨ãã 10382ããã 10383ããã 10384ããããã 10385ããã 10386ããã 10387ããã 10388ãããã 10389ããã 10390ããããã 10391ããã¿ 10392ããã 10393ããã 10394ããã 10395ãã¡ã 10396ãã£ã¨ 10397ãã£ã¯ãã 10398ããµãã 10399ããã 10400ããããã 10401ããã 10402ããããã 10403ããã 10404ããã²ããããã 10405ããã¸ã 10406ãããã 10407ãã㤠10408ããã 㤠10409ããã 10410ããã 10411ããã 10412ãã¡ãã 10413ãã¦ãã 10414ãã«ã ã 10415ãã²ãã 10416ããã 10417ããã 10418ããã 10419ããã 10420ãããã ã 10421ãããã 10422ããã 10423ããã¡ãã 10424ãããã 10425ããã 10426ããã 10427ãããã 10428ããã»ãã 10429ããã 10430ããããã 10431ããã 10432ããã ã 10433ããã 10434ããã 10435ãã£ã 10436ãã¦ã 10437ãã¨ããããã 10438ãã㤠10439ããã 10440ããã 10441ããããµã 10442ãããã 10443ããã 10444ããããã 10445ãããã 10446ããã㤠10447ãããã 10448ãããã¯ãã 10449ããã 10450ãããã 10451ããã 10452ãã£ã 10453ãã㤠10454ããã 10455ããã 10456ãããã 10457ããã㤠10458ããããã 10459ãã㤠10460ããã 10461ããã 10462ããã 10463ããã 10464ããã 10465ãã¦ã 10466ããã 10467ããã 10468ãã ãããã 10469ããã 10470ãããã 10471ãããã 10472ãããã¡ã 10473ãããã 10474ããã 10475ããã 10476ããã 10477ãããã 10478ãããã 10479ãããã 10480ãããã 10481ãããã 10482ããã¯ãã 10483ãããããã 10484ãããã 10485ãããã 10486ãããã 10487ãããããã 10488ããã¨ã 10489ããã»ãã 10490ããã 10491ããããã 10492ãããã 10493ãããã 10494ãããã 10495ãããã 10496ãããã ã 10497ããããã 10498ãããã 10499ããã 10500ãããã 10501ããããã 10502ãããã 10503ãããã 10504ãã㤠10505ããããã 10506ããã 㤠10507ããã 10508ãã¦ã 10509ããã 10510ãã㤠10511ãããã 10512ããã¯ã
10513ãããµãã 10514ããã 10515ããã 10516ããã 10517ãããã¾ 10518ãããã 10519ãã㤠10520ãããã¾ã 10521ããããã® 10522ããã 10523ããã`.split(` 10524`)),af}var sf={},JC;function Pte(){return JC||(JC=1,Object.defineProperty(sf,"__esModule",{value:!0}),sf.wordlist=void 0,sf.wordlist=`áá ¡áá §á¨ 10525áá ¡áá ³á· 10526áá ¡áá ¡á« 10527áá ¡áá ³á¼ 10528áá ¡áá ³á¨ 10529áá ¡á á ³áá µá· 10530áá ¡áá ®á· 10531áá ¡áá ¡á¼ 10532áá ¡áá ¡á¼ 10533áá ¡áá ³á· 10534áá ¡áá ®á«áá ¦ 10535áá ¡áá ³á¯ 10536áá ¡áá µáá ³ 10537áá ¡áá µá¸ 10538áá ¡áá ¡á¼ 10539áá ¡áá ¥á¼ 10540áá ¡áá ©á¨ 10541áá ¡áá ®á¨ 10542áá ¡á¨áá © 10543áá ¡á¨áá ¡ 10544áá ¡á«áá §á¨ 10545áá ¡á«áá ® 10546áá ¡á«áá ¥á¸ 10547áá ¡á«áá ¡á¼ 10548áá ¡á«áá ¥á¸ 10549áá ¡á«áá ¡á« 10550áá ¡á¯áá ³á¼ 10551áá ¡á¯áá µ 10552áá ¡á¯áá ¢á¨ 10553áá ¡á¯áá ³á¼ 10554áá ¡á·áá ¡á¨ 10555áá ¡á·áá µ 10556áá ¡á·áá © 10557áá ¡á·áá ®áá ¥á¼ 10558áá ¡á·áá ¡ 10559áá ¡á·áá ¥á¼ 10560áá ¡á¸áá ¡áá µ 10561áá ¡á¼áá ¡á· 10562áá ¡á¼áá ¡á¼ 10563áá ¡á¼áá © 10564áá ¡á¼á á §á¨áá µ 10565áá ¡á¼áá §á« 10566áá ¡á¼áá ®á¨ 10567áá ¡á¼áá ¡ 10568áá ¡á¼áá ®á á £á¼ 10569áá ¡á¼áá ¡áá µ 10570áá ¡á¼áá ¯á«áá © 10571áá ¡á¼áá ´ 10572áá ¡á¼áá ¦ 10573áá ¡á¼áá © 10574áá ¡ááá µ 10575áá ¢áá ®á á µ 10576áá ¢áá ¡á á µ 10577áá ¢áá ¡á¼ 10578áá ¢áá §á¯ 10579áá ¢áá ¥á« 10580áá ¢áá ¥á¼ 10581áá ¢áá µá« 10582áá ¢á¨áá ªá«áá ¥á¨ 10583áá ¥áá µá¯ 10584áá ¥áá ¢á¨ 10585áá ¥áá ®á¯ 10586áá ¥áá µáº 10587áá ¥áá ®á· 10588áá ¥á¨áá ¥á¼ 10589áá ¥á«áá ¡á¼ 10590áá ¥á«áá ®á¯ 10591áá ¥á«áá ¥á¯ 10592áá ¥á«áá © 10593áá ¥á«áá ®á¨ 10594áá ¥á¯áá ³á· 10595áá ¥á·áá ¡ 10596áá ¥á·áá © 10597áá ¦áá µáá ¡á« 10598áá ¦áá µá· 10599áá §áá ®á¯ 10600áá §á«áá ¢ 10601áá §á¯áá ª 10602áá §á¯áá ®á¨ 10603áá §á¯á á ©á« 10604áá §á¯áá ¥á¨ 10605áá §á¯áá ³á¼ 10606áá §á¯áá µá· 10607áá §á¯áá ¥á¼ 10608áá §á¯áá ©á« 10609áá §á¼áá ¨ 10610áá §á¼áá © 10611áá §á¼áá µ 10612áá §á¼á á §á¨ 10613áá §á¼áá ©á¨áá ®á¼ 10614áá §á¼áá µ 10615áá §á¼áá ¡á¼áá © 10616áá §á¼áá §á¼ 10617áá §á¼áá ® 10618áá §á¼áá ¢á¼ 10619áá §á¼áá ¦ 10620áá §á¼áá ® 10621áá §á¼áá ¡á¯ 10622áá §á¼áá µ 10623áá §á¼áá £á¼ 10624áá §á¼áá ¥á· 10625áá ¨áá ©á¨ 10626áá ¨áá ¡á« 10627áá ¨á á ¡á« 10628áá ¨áá ¡á« 10629áá ¨áá ©á¨ 10630áá ¨áá £á¨ 10631áá ¨áá ¥á¯ 10632áá ¨áá ³á¼ 10633áá ¨áá ¬á¨ 10634áá ©áá ¢á¨ 10635áá ©áá ®á á § 10636áá ©áá ®á¼ 10637áá ©áá ³á¸ 10638áá ©áá ³á¼áá ¡á¨áá ¢á¼ 10639áá ©áá ®áá µá« 10640áá ©áá µá« 10641áá ©áá £á¼áá µ 10642áá ©áá ¡á¼ 10643áá ©áá ¥á« 10644áá ©áá µá¸ 10645áá ©áá ®áºáá ¡á á ® 10646áá ©áá ©á¼ 10647áá ©áá £á¼ 10648áá ©á¨áá µá¨ 10649áá ©á¯áá ©á¨ 10650áá ©á¯áá ¡áá µ 10651áá ©á¯áá ³ 10652áá ©á¼áá ¡á« 10653áá ©á¼áá ¢ 10654áá ©á¼áá §á¨ 10655áá ©á¼áá ®á« 10656áá ©á¼áá ³á¸ 10657áá ©á¼áá µ 10658áá ©á¼áá ©á¼ 10659áá ©á¼áá ®áá ¯á« 10660áá ©á¼áá ® 10661áá ©á¼áá ¡ 10662áá ©á¼áá µá¨ 10663áá ©á¼áá ¥á¸ 10664áá ©á¼áá §á« 10665áá ©á¼áá ¯á« 10666áá ©á¼áá ¡á¼ 10667áá ©á¼áá ¡ 10668áá ©á¼áá ¢á¨ 10669áá ©á¼áá ©á¼ 10670áá ©á¼áá © 10671áá ©á¼áá ¡á¼ 10672áá ©á¼áá ²áá µá¯ 10673áá ªáá ©á¨ 10674áá ªáá µá¯ 10675áá ªáá ¡á¼ 10676áá ªáá ¥á¼ 10677áá ªáá ¡á¨ 10678áá ªá«áá ¢á¨ 10679áá ªá«áá ¨ 10680áá ªá«áá ªá¼ 10681áá ªá«áá §á· 10682áá ªá«á á ¡á· 10683áá ªá«á á §á« 10684áá ªá«á á µ 10685áá ªá«áá ³á¸ 10686áá ªá«áá µá· 10687áá ªá«áá ¥á· 10688áá ªá«áá ¡á¯ 10689áá ªá¼áá §á¼ 10690áá ªá¼áá © 10691áá ªá¼áá ¡á¼ 10692áá ªá¼áá ® 10693áá ¬á á ©áá ®á· 10694áá ¬á¼áá ¡á¼áá µ 10695áá áá ªáá ¥ 10696áá áá ®á« 10697áá áá ©á¨ 10698áá áá µá¯ 10699áá áá £á¼ 10700áá áá ²á¨ 10701áá áá ¡á¼ 10702áá áá µá¨ 10703áá áá ©á¼ 10704áá áá ªá« 10705áá áá ®á« 10706áá ®áá §á¼ 10707áá ®á á ³á· 10708áá ®áá ¥á¼ 10709áá ®áá §á¯ 10710áá ®áá ®á« 10711áá ®áá ¥á¨ 10712áá ®áá ¥á¼ 10713áá ®áá ©á¨ 10714áá ®áá §á¨ 10715áá ®áá µá¸ 10716áá ®áá ¥á¼ 10717áá ®áá ¦áá ¥á¨ 10718áá ®á¨áá ¡ 10719áá ®á¨áá µ 10720áá ®á¨áá ¢ 10721áá ®á¨á á µá¸ 10722áá ®á¨áá ®á¯ 10723áá ®á¨áá µá« 10724áá ®á¨áá ® 10725áá ®á¨áá ¥ 10726áá ®á¨áá ªá¼ 10727áá ®á¨áá ¥á¨ 10728áá ®á¨áá ¦ 10729áá ®á¨áá ¬ 10730áá ®á«áá ¢ 10731áá ®á«áá ¡ 10732áá ®á«áá µá« 10733áá ®á¼áá ³á¨áá ¥á¨ 10734áá ¯á«á á µ 10735áá ¯á«áá ± 10736áá ¯á«áá ® 10737áá ±áá ®á¨ 10738áá ±áá µá« 10739áá ²áá ¥á¼ 10740áá ²áá µá¨ 10741áá ²á«áá §á¼ 10742áá ³áá ¡á¯ 10743áá ³áá £á¼ 10744áá ³áá ³á¯ 10745áá ³á á ¥áá ¡ 10746áá ³á á ®á¸ 10747áá ³á á ³áº 10748áá ³á á µá· 10749áá ³áá ¦áá ¥áá £ 10750áá ³áá ©á á ©á¨ 10751áá ³á¨áá ©á¨ 10752áá ³á¨áá µ 10753áá ³á«áá ¥ 10754áá ³á«áá 10755áá ³á«á á ¢ 10756áá ³á«á á © 10757áá ³á«áá ® 10758áá ³á«áá ©á« 10759áá ³á«áá ¯á« 10760áá ³á«áá ²á¨ 10761áá ³á«áá ¥ 10762áá ³á¯áá µ 10763áá ³á¯áá ¡ 10764áá ³á·áá ¡á¼áá ¡á« 10765áá ³á·áá © 10766áá ³á·áá §á« 10767áá ³á·áá ¦áá ¡á¯ 10768áá ³á·áá ¢á¨ 10769áá ³á·áá §á« 10770áá ³á·áá áá µá¯ 10771áá ³á·áá µ 10772áá ³á¼áá ¥á¼áá ¥á¨ 10773áá µáá ¡á« 10774áá µáá ªá« 10775áá µáá §á· 10776áá µáá ³á¼ 10777áá µáá ©á¨áá 10778áá µáá ®á¼ 10779áá µá á ©á¨ 10780áá µá á ³á· 10781áá µáá ¥á¸ 10782áá µáá ©á« 10783áá µáá ®á« 10784áá µáá ³á· 10785áá µáá ®á¨áá ¡ 10786áá µáá ®á¯ 10787áá µáá ¥á¨ 10788áá µáá ¥á¸ 10789áá µáá ©á« 10790áá µáá ®á« 10791áá µáá ¯á« 10792áá µáá ¥á¨ 10793áá µáá ®á« 10794áá µáá µá· 10795áá µáá ©á« 10796áá µáá ¬á¨ 10797áá µá«áá ³á¸ 10798áá µá«áá ¡á¼ 10799áá µá¯áá µ 10800áá µá·áá ¡á¸ 10801áá µá·áá µ 10802áá µá·áá ©áá ©á¼áá ¡á¼ 10803áá ¡á¨áá ®áá µ 10804áá ¡á·áá ¡á¨ 10805áá ¢áá ¡á¯áá ³á· 10806áá ¢áá ©áá ³á· 10807áá ¥á¸áá µá¯ 10808áá ©á¨áá ¢áá µ 10809áá ©á¾áá µá 10810áá ¡áá ³á¯áá µ 10811áá ¡á á ¡á«áá µ 10812áá ¡áá ¥áá µ 10813áá ¡áá ®á¯ 10814áá ¡áá µá·áá ¡á« 10815áá ¡áá ³á¯ 10816áá ¡á¨áá §á¸ 10817áá ¡á«áá ¡á¼ 10818áá ¡á¯áá ¢ 10819áá ¡á¯áá µ 10820áá ¡á¯áá ¡ 10821áá ¡á·áá § 10822áá ¡á·áá ¢áá ®á« 10823áá ¡á·áá ¢ 10824áá ¡á·áá ¡á« 10825áá ¡á·áá ¡ 10826áá ¡á·áá §á« 10827áá ¡á·áá ¡á¨áá ¢á¼ 10828áá ¡á¼áá µ 10829áá ¡ááá ¡á¯ 10830áá ¢áá §á« 10831áá ¢áá á¼ 10832áá ¢áá µá¯ 10833áá ¢á·áá µ 10834áá ¢á·áá ¢ 10835áá ¢áºáá ®á¯ 10836áá ¢á¼áá ©á¼ 10837áá ¢á¼áá §á« 10838áá ¢á¼áá ¡á¼ 10839áá ¢á¼áá ¡á¼áá © 10840áá ¦á¨áá ¡áá µ 10841áá ¦áºáá ¢ 10842áá ©áá ©á¼ 10843áá ©á á ¡á«áá ¢á¨ 10844áá ©á á §á¨ 10845áá ©áá µá« 10846áá ©á¨áá ³á· 10847áá ©á¨áá ¡ 10848áá ©á¨áá ª 10849áá ©á«á á µ 10850áá ©á«áá ®á« 10851áá ©á«áá ¢á¼ 10852áá ©á¯áá µ 10853áá ©á¼áá ® 10854áá ©á¼áá ¡á· 10855áá ©á¼áá µá« 10856áá ©á¼áá ® 10857áá ©á¼áá ¥á¸ 10858áá ©á¼áá ¡á¼ 10859áá ©á¼áá ©á« 10860áá ©ááá µ 10861áá ®á«áá ©á¼áá ¡ 10862áá ®á«áá ®á¯ 10863áá ®á«áá ¥á¸ 10864áá ²áá ᨠ10865áá ³áá µá· 10866áá ³á¨áá ¢ 10867áá ³á¼áá ©á¼áá ¥á¨ 10868áá ³á¼á á §á¨ 10869áá ¡áá ¡á¼ 10870áá ¡áá £á¼áá ¥á¼ 10871áá ¡áá ³á· 10872áá ¡áá µáá ¥áá ³ 10873áá ¡áá ¢á¼ 10874áá ¡á«áá ¨ 10875áá ¡á«áá ©á¯ 10876áá ¡á«áá ©á¨ 10877áá ¡á«áá ¡áº 10878áá ¡á«áá ®á« 10879áá ¡á«áá ¥ 10880áá ¡á«áá ± 10881áá ¡á«áá ¥á· 10882áá ¡á«áá ¦ 10883áá ¡á«áá ® 10884áá ¡á«áá §á« 10885áá ¡á«áá ®á¼ 10886áá ¡á¯áá £á¯ 10887áá ¡á¯á á ¥ 10888áá ¡á¯á á §á¨ 10889áá ¡á¯á á µ 10890áá ¡á°áá ©áá µ 10891áá ¡á·áá ¡á¼ 10892áá ¡á·áá ¢ 10893áá ¡á·áá 10894áá ¡á·áá µá· 10895áá ¡á¸áá §á« 10896áá ¡á¸áá ¡á¼ 10897áá ¡á¼áá ³á« 10898áá ¡á¼áá ®á«áá ¡á« 10899áá ¡á¼áá §á«áá µ 10900áá ¡á¼áá ¡á¼ 10901áá ¢áá ²áá © 10902áá ¢áá ¡á½ 10903áá ¢áá ¡á«áá µ 10904áá ¢áá ¡á¸ 10905áá ¢áá ©áá µ 10906áá ¢á á £á¨ 10907áá ¢á á £á¼ 10908áá ¢á á ²á¨ 10909áá ¢áá ®á« 10910áá ¢áá ®áá ®á« 10911áá ¢áá µá« 10912áá ¢áá ³á¼ 10913áá ¢áá ¡á¼ 10914áá ¢áá ¥á« 10915áá ¢áá ¥á¸ 10916áá ¢áá ®á¼ 10917áá ¢áá ¢á¨ 10918áá ¢áá ®á¯ 10919áá ¢áá ®á¼ 10920áá ¢áá ©á¼á á §á¼ 10921áá ¢áá ¡á¨ 10922áá ¢áá ¡á«áá µá«áá ®á¨
10923áá ¢áá ¡á¸áá µá¯ 10924áá ¢áá §á¼ 10925áá ¥á¼áá ¥á á µ 10926áá ¦áá µáá ³ 10927áá ©áá ¢áá ¦ 10928áá ©áá ¥á¨ 10929áá ©áá ®á¨ 10930áá ©áá ¡á¼ 10931áá ©áá ¥áá ªá« 10932áá ©áá µá· 10933áá ©áá ®á· 10934áá ©áá µá¸ 10935áá ©áá ¡áá µ 10936áá ©áá ¥áá µ 10937áá ©áá ¥á« 10938áá ©áá ®á¼ 10939áá ©áá ¡á¨ 10940áá ©á¨áá ¡á· 10941áá ©á¨á á µá¸ 10942áá ©á¨áá ¥ 10943áá ©á¨áá µá¯ 10944áá ©á¨áá ¡á¼áá ¥á¨ 10945áá ©á¼áá ªáá ¢á¨ 10946áá ±áºáá ©áá ³á¸ 10947áá ±áºáá ¡á« 10948áá ¡á¯áá ¡áá µ 10949áá ¡áá ®á á ¡ 10950áá ¡áá ³á¯ 10951áá ¡áá ¡á¼ 10952áá ¡á á ¡áá ©á« 10953áá ¡á á §á« 10954áá ¡áá ®á á µ 10955áá ¡áá ¡áá µ 10956áá ¡áá £á¨ 10957áá ¡áá áá ¦áá ³ 10958áá ¡áá ³á¯ 10959áá ¡áá ³á· 10960áá ¡áá µáá ³ 10961áá ¡áá ®á¼ 10962áá ¡áá µáá ¡á¨ 10963áá ¡áá ¡á«áá ¡áá µ 10964áá ¡áá ¡á¯ 10965áá ¡áá ³á« 10966áá ¡á¨áá ¥á¯á á µ 10967áá ¡á¨áá ¢ 10968áá ¡á¨áá ¡á¼ 10969áá ¡á«áá ¡á· 10970áá ¡á«áá ® 10971áá ¡á«áá ¦ 10972áá ¡á«áá £á¨ 10973áá ¡á«áá µá¯ 10974áá ¡á«áá ¥á· 10975áá ¡á«áá ©á¨ 10976áá ¡á«áá ª 10977áá ¡ááá µ 10978áá ¡á¯áá µ 10979áá ¡á¯áá ³á· 10980áá ¡á¯áá ® 10981áá ¡á·áá ¢á á © 10982áá ¡á¼áá ¯á«áá §á¼ 10983áá ¢áá §á« 10984áá ¢áá ¡á¯ 10985áá ¢á á §á¨ 10986áá ¢áá ¥á« 10987áá ¢áá ³áá ¥á· 10988áá ¢áá µá¯ 10989áá ¢áá ¡á¼ 10990áá ¢á¨áá ® 10991áá ¥á¨áá µ 10992áá ¥á«áá ¥ 10993áá ¥á«áá µ 10994áá ¥á¯á á µ 10995áá ¦áá µá¯ 10996áá §áá ³á á µ 10997áá §áá µá¯ 10998áá §á«áá ¡á· 10999áá §á¯áá µ 11000áá §á¼áá ¡á« 11001áá §á¼á á §á¼ 11002áá §á¼áá ¨ 11003áá §á¼áá ´ 11004áá §á¼áá ¥á¯ 11005áá §á¼áá µá¼ 11006áá §á¼áá ¡á· 11007áá ©áá ³á· 11008áá ©áá µáá ¥ 11009áá ©áá ¦á¯ 11010áá ©áá ³á« 11011áá ©áá ¥á· 11012áá ©áá ³á¸ 11013áá ©áá £á¼ 11014áá ©áá µá· 11015áá ©áá ©á á µ 11016áá ©áá µá¸ 11017áá ©áá ®á¼áá µ 11018áá ©á¨áá ¥á¯áá µ 11019áá ©á¨á á ©á¨ 11020áá ©á¨áá ¡ 11021áá ©á¨áá ©á á µ 11022áá ©á¨áá ®á· 11023áá ©á¨áá ¥á¨ 11024áá ©á¨áá 11025áá ©á¯á á ¢ 11026áá ©á·áá ¢ 11027áá ©á·áá ®áá ¦ 11028áá ©á·áá ¡á¯ 11029áá ©á·áá ©á¨ 11030áá ©á·áá µáº 11031áá ©á·áá ©á¼ 11032áá ©á¸áá µ 11033áá ®áá ªá«áá µá· 11034áá ®áá ®á¼áá ª 11035áá ®áá ¥áá ± 11036áá ®áá ¥á· 11037áá ®á á ³á 11038áá ®áá ³á« 11039áá ®áá ¥áº 11040áá ®áá §á¨ 11041áá ®áá á¼ 11042áá ®áá ©áá ¥á« 11043áá ®áá µáá ¢ 11044áá ®áá ¥á¨ 11045áá ®á«áá ® 11046áá ®á«áá ³á¨ 11047áá ®á«áá ¥á¸ 11048áá ®á«áá ¥ 11049áá ®á«áá ¦ 11050áá ®á«áá ¡á¨ 11051áá ®á«áá ª 11052áá ®á¯áá ¡ 11053áá ®á¯áá ¥á« 11054áá ®á¯áá §á¯ 11055áá ®á¯áá ©áá µ 11056áá ®á¯á á ©á« 11057áá ®á¯á á µáá ¡á¨ 11058áá ®á¯áá ³á· 11059áá ®á¯áá µá¯ 11060áá ®á¯áá ¦ 11061áá µáá ®á¨ 11062áá µáá µáá ¥ 11063áá µáá ¡áá µá¯ 11064áá µáá ®á¯ 11065áá µáá §á¨ 11066áá µáá á¼áá µá¯ 11067áá µáá ®á· 11068áá µáá µá« 11069áá µáá µá¼ 11070áá µáá ©á« 11071áá µá«áá ¡á« 11072áá µá«áá ©á¨ 11073áá µá«áá ® 11074áá µá®áá ³á· 11075áá µá¯áá ¡á á ® 11076áá µá¯á á µáá µáá ¥ 11077áá µááá ¡áá ¡á¨ 11078áá ¡áá ¡áá µ 11079áá ¡áá ®áá µ 11080áá ¡áá ¡áá ¡ 11081áá ¡áá ³á¯ 11082áá ¡áá ¡á¨ 11083áá ¡áá ¡áºáá ¡ 11084áá ¡á á ¡á· 11085áá ¡áá µá á ¥áá ³ 11086áá ¡áá ¡á¼ 11087áá ¡á¨áá ®á¯áá ªá« 11088áá ¡á¨áá ¡ 11089áá ¡á¨áá ® 11090áá ¡á«áá ¢ 11091áá ¡á«áá ³áá µ 11092áá ¡á«áá ¡á¯ 11093áá ¡á«áá ¡á¯ 11094áá ¡á«áá ¥á¼ 11095áá ¡á«áá ³á¼ 11096áá ¡á«áá ¡á¼ 11097áá ¡á«áá ®á¨ 11098áá ¡á«áá µ 11099áá ¡á«áá ¡á« 11100áá ¡á®áá µá· 11101áá ¡á¯áá ¡á á ¡á¨ 11102áá ¡á¯áá ¥á¯áá ³á· 11103áá ¡á¯áá §á« 11104áá ¡á¯áá ¡á¯ 11105áá ¡á¯á á ¦ 11106áá ¡á¯áá ©á¨ 11107áá ¡á¯áá ¡áá ¡á¨ 11108áá ¡á¯áá ¢á¼ 11109áá ¡á¯áá ³á· 11110áá ¡á¯áá ¡áá ®á¨ 11111áá ¡á¯áá ¥á« 11112áá ¡á¯áá ©á¸ 11113áá ¡á¯áá 11114áá ¡á·áá ¡áá ³á¯ 11115áá ¡á¸áá ³á á ³áº 11116áá ¡á¸áá ¡áº 11117áá ¡á¸áá ¡á¼ 11118áá ¡á¸áá ©á 11119áá ¡á¼áá ³á· 11120áá ¡á¼áá §á« 11121áá ¡á¼áá ®á« 11122áá ¡á¼áá ¡áá ¡á¨ 11123áá ¡á¼áá ¥á¸ 11124áá ¡á¼áá ©á¼ 11125áá ¡á¼áá µá¨ 11126áá ¡á¼áá ¡á« 11127áá ¡á¼áá ®á¯ 11128áá ¡á¼áá µ 11129áá ¡á¼áá ¡á¨ 11130áá ¡á¼áá ¢ 11131áá ¡á¼áá £á¼ 11132áá ¢áá §á¼ 11133áá ¢áá ©á¸ 11134áá ¢áá ¡á¯ 11135áá ¢áá ³áá µá«áá ¥á« 11136áá ¢á¨áá ®áá ¡á« 11137áá ¢á¨áá ¢á¨ 11138áá ¢á¨áá ¥á¼ 11139áá ¢á¨áá µá« 11140áá ¢á¨áá ¦ 11141áá ¢á¨áá ªáá ¥á· 11142áá ¥á á ³áº 11143áá ¥áá ¥áº 11144áá ¥áá ³á« 11145áá ¥á«áá ¢ 11146áá ¥á«áá §á¨ 11147áá ¥á«áá µ 11148áá ¥á«áá © 11149áá ¥á¯áá ³á· 11150áá ¥á¯á á ¦ 11151áá ¥á¯áá ¥ 11152áá ¥á·áá ± 11153áá ¥á·áá µá« 11154áá ¥á·áá ¬ 11155áá ¥á¸á á ²á¯ 11156áá ¥á¸áá ¯á« 11157áá ¥á¸áá ¥á¨ 11158áá ¥á¸áá µá¨ 11159áá ¦áá µáá µá¼ 11160áá ¦á¯áá ³ 11161áá §á«áá §á¼ 11162áá §á«áá ©á¼ 11163áá §á«áá §á¼ 11164áá §á«áá µá« 11165áá §á«áá ©áá ¡ 11166áá §á«áá ª 11167áá §á¯áá © 11168áá §á¯áá §á¼ 11169áá §á¯áá µá¯ 11170áá §á¼áá µá¯ 11171áá §á¼áá ¡á á µ 11172áá §á¼áá ¯á« 11173áá ©áá ªá« 11174áá ©áá ¥áá ³ 11175áá ©á á ¡áá ¢á¨ 11176áá ©á á ¡á· 11177áá ©á á ³á· 11178áá ©áá ¡á¼ 11179áá ©áá ¡á« 11180áá ©áá ¡áá µ 11181áá ©áá ¡á¼ 11182áá ©áá ¥á« 11183áá ©áá ©á« 11184áá ©áá ©á¼ 11185áá ©áá §á«áá ¥á¨ 11186áá ©áá ¥á· 11187áá ©á¨áá © 11188áá ©á¨áá ¡ 11189áá ©á¨áá ®á¼áá ¡ 11190áá ©á¨áá ³á¸ 11191áá ©á©áá ³á· 11192áá ©á«áá §á¨áá ¥á¨ 11193áá ©á«á á ¢ 11194áá ©á«áá ® 11195áá ©á«áá ¡ 11196áá ©á«áá ¥á¼ 11197áá ©á«áá µá« 11198áá ©á«áá µá¯ 11199áá ©á¯áá ¦á« 11200áá ©á¼áá ¡ 11201áá ©á¼áá µ 11202áá ©á¼áá ® 11203áá ®áá ³á« 11204áá ®áá ³á á ¥áá ®á· 11205áá ®áá ¡á· 11206áá ®áá ©á¼áá ¡á« 11207áá ®áá ®á« 11208áá ®áá ®á« 11209áá ®áá ¡á« 11210áá ®áá ¡á¼ 11211áá ®áá ¥á¿ 11212áá ®áá µá« 11213áá ®áá ¡á¨áá á¼ 11214áá ®áá ¡á¼ 11215áá ®áá ¥á¼ 11216áá ®áá ©á¨ 11217áá ®áá µá á ¥á«áá µ 11218áá ®áá µá« 11219áá ®áá ¡á¨ 11220áá ®áá ®á· 11221áá ®áá ¬áá ¡á¼ 11222áá ®á¨áá ® 11223áá ®á¨áá ¡á« 11224áá ®á«áá © 11225áá ®á«á á £á¼ 11226áá ®á«á á µ 11227áá ®á«áá §á¼ 11228áá ®á«áá ¥á¨ 11229áá ®á«áá £ 11230áá ®á«áá ±áá µ 11231áá ®á«áá µá¯ 11232áá ®á«áá ©á¼áá ¢á¨ 11233áá ®á¯áá ©áá µ 11234áá ®á¯áá ª 11235áá ®á¯áá 11236áá ®á¯áá ©á¾ 11237áá ®á¯áá ¡á« 11238áá ®á¯áá ¥á¸ 11239áá ®á¯áá µá¾ 11240áá ®á¯áá ¡á« 11241áá ®á¯áá µáá µá¨ 11242áá ®á¯áá ¢á¼ 11243áá ³á á ¢á«áá ³ 11244áá µáá ³á¨ 11245áá µáá ¡á« 11246áá µáá µá¯ 11247áá µáá ®á¯áá µ 11248áá µáá µáá © 11249áá µá á ©áá © 11250áá µáá ¡á« 11251áá µáá §á¼ 11252áá µáá µá¯ 11253áá µáá ¡á á ¡á· 11254áá µáá µá·áá ¡á¸ 11255áá µáá ¡á¼ 11256áá µáá á¼ 11257áá µáá ²á¯ 11258áá µáá ®á¼ 11259áá µáá ¡áá µá« 11260áá µáá ¡á« 11261áá µá¯áá µá¼ 11262áá µáºáá ®á¯ 11263áá µáºáá ¡á¼áá ®á¯ 11264áá µáºáá ®á¯áá µ 11265áá µá¾áá ¡á¯ 11266áá ¡á¯áá ¡á«áá ¢á¨ 11267áá ¡á¯á á ¢ 11268áá ¡á¯á á µ 11269áá ¡áá ¥á« 11270áá ¡áá ¨áá ¥á¯ 11271áá ¡áá ¡áá µ 11272áá ¡áá £á¼ 11273áá ¡á á ¡á· 11274áá ¡á á ¡á¼ 11275áá ¡á á µá¸ 11276áá ¡áá ©áá µá· 11277áá ¡áá ®á¯ 11278áá ¡áá ¡á¼ 11279áá ¡áá ¡á¼ 11280áá ¡áá ¢á¼áá ªá¯ 11281áá ¡áá ¥á¯ 11282áá ¡áá ³á· 11283áá ¡áá µá¯ 11284áá ¡áá ¥á¸ 11285áá ¡áá á¼ 11286áá ¡áá ¯á¯ 11287áá ¡áá ¡á¼ 11288áá ¡áá ¥á« 11289áá ¡áá µá« 11290áá ¡áá ©á« 11291áá ¡áá ®á«áá µ 11292áá ¡áá ¡á¼ 11293áá ¡áá ®á á µ 11294áá ¡áá ³á¯ 11295áá ¡á«áá µá¯ 11296áá ¡á«áá ®áá µá«áá ª 11297áá ¡á«áá ¥á¸
11298áá ¡á«áá ¢á¨ 11299áá ¡á¯á á µá· 11300áá ¡á¯áá µá« 11301áá ¡á¯áá ¡á¨ 11302áá ¡á·áá ¨áá ¡á¼ 11303áá ¡á·áá ®á¨ 11304áá ¡á·áá µá¸ 11305áá ¡á·áá ¯á¯ 11306áá ¡á·áá ©á« 11307áá ¡á¼áá ªá« 11308áá ¡á¼áá ³á· 11309áá ¡á¼áá ¢ 11310áá ¡á¼á á ² 11311áá ¡á¼áá ¡á«áá µ 11312áá ¡á¼áá ¡á¼ 11313áá ¡á¼áá µá¨ 11314áá ¡á¼áá ¥á¸ 11315áá ¡á¼áá µá« 11316áá ¡á¼áá ¡ 11317áá ¡á¼áá ¥á· 11318áá ¡á¼áá ¥ 11319áá ¡á¼áá ® 11320áá ¡á¼áá ¢ 11321áá ¡á¼áá 11322áá ¡á¼áá ®á· 11323áá ¡á¼áá ªá¼ 11324áá ¢áá §á¨ 11325áá ¢á¨áá ¡á¯ 11326áá ¢á¨áá §á«áá µá¯ 11327áá ¢á¼áá ¡á¨ 11328áá ¢á¼áá §á¼ 11329áá ¢á¼áá ®á¯ 11330áá ¢á¼áá ¡á¼áá ©á¼ 11331áá ¢á¼áá ¡á« 11332áá ¢á¼áá ¥á« 11333áá ¢á¼áá µá« 11334áá ¢á¼áá µá¯ 11335áá ¢á¼áá ªá¯ 11336áá ¥á á ¡á¸ 11337áá ¥á á ³á« 11338áá ¥áá §á¼ 11339áá ¥áá µá« 11340áá ¥áá µáá ³ 11341áá ¥áá £á¼ 11342áá ¥áá ®á¯ 11343áá ¥áá ¥á¨ 11344áá ¥áá ¥á· 11345áá ¥áá ©á¨ 11346áá ¥áá ³á¯ 11347áá ¥á¨áá ¡ 11348áá ¥á¨áá ² 11349áá ¥á«áá ¥ 11350áá ¥á«áá ®á¯ 11351áá ¥á«áá ¢ 11352áá ¥á«áá ¢á¼ 11353áá ¥á«áá ® 11354áá ¥á«áá ¯á« 11355áá ¥á«áá ¡á¼ 11356áá ¥á«áá ¥á« 11357áá ¥á«áá ¢á¨ 11358áá ¥á«áá ®á¼áá µ 11359áá ¥á¯áá ¥áá µ 11360áá ¥á¯áá ¡á¯ 11361áá ¥á¯á á ¥á¼áá ¡á¼ 11362áá ¥á¯áá §á¼ 11363áá ¥á¯áá ®á« 11364áá ¥á¯áá ¡ 11365áá ¥á¯áá ¡á¨áá ¡á« 11366áá ¥á¯áá µ 11367áá ¥á¯áá ¡á¼ 11368áá ¥á¸áá µ 11369áá ¥á¼áá ©á¼ 11370áá ¥á¼áá ¡á¼ 11371áá ¥á¼áá §á¼ 11372áá ¥á¼áá §á¯ 11373áá ¥á¼áá µá« 11374áá ¥á¼áá ¡á¼ 11375áá ¥á¼áá ¥á¨ 11376áá ¥á¼áá µá¯ 11377áá ¥á¼áá ¡á· 11378áá ¦áá ³á· 11379áá ¦áá µáá ¡ 11380áá ¦áá ¡á¼ 11381áá ¦áá ¯á¯ 11382áá ¦áá ©á¼áá ¢áá ªá¼ 11383áá ¦áá ¡á¨ 11384áá ¦á«áá ¥ 11385áá ¦á«áá µáá µáá ¥ 11386áá ¦áºáá ¢ 11387áá ©áá ²áá © 11388áá ©áá ³á¨áá ¥á¨ 11389áá ©áá ³á· 11390áá ©áá ¡áá µ 11391áá ©áá §á« 11392áá ©áá ³á¨ 11393áá ©áá ¡á¼ 11394áá ©áá ®á« 11395áá ©áá ¥á¯ 11396áá ©áá ©á¨ 11397áá ©áá ¡áá ª 11398áá ©áá á¼ 11399áá ©áá ¯á« 11400áá ©áá ³á· 11401áá ©áá ®á¼áá µ 11402áá ©áá µáá ®á· 11403áá ©áá µá¯ 11404áá ©áá ®á¼ 11405áá ©áá §á¼ 11406áá ©á¨áá ¡á· 11407áá ©á¨áá © 11408áá ©á¨áá ©áº 11409áá ©á«áá ¡á á ¡á¨ 11410áá ©á«áá µá¯ 11411áá ©á«áá § 11412áá ©á«áá µá· 11413áá ©á«áá ³á¼ 11414áá ©á«áá ©á¨ 11415áá ©á«áá §á¨ 11416áá ©á«áá µá¯ 11417áá ©á«áá µá¯ 11418áá ©á«áá ©á¸ 11419áá ©á«áá ¢ 11420áá ©á¯áá µá¨áá µ 11421áá ©á·áá µ 11422áá ©á¼áá ¡áá µ 11423áá ©á¼áá µ 11424áá ©á¼áá §á« 11425áá ¬áá ©áá µ 11426áá áá µá¼ 11427áá ®áá ¥á« 11428áá ®áá §á« 11429áá ®áá ¡á« 11430áá ®áá ©áºáá ®á¯ 11431áá ®áá ©á¼áá ¥á¨ 11432áá ®áá §á« 11433áá ®áá §á¼ 11434áá ®áá ¡á¨ 11435áá ®áá ¡á¼ 11436áá ®áá ¥á¨ 11437áá ®áá ®á¯ 11438áá ®áá µá á © 11439áá ®áá ¥á¸ 11440áá ®áá §á· 11441áá ®áá §á¼ 11442áá ®áá µá¸ 11443áá ®áá ®á« 11444áá ®áá µá¸ 11445áá ®áá ®á¯ 11446áá ®áá ¥áº 11447áá ®áá µá¯ 11448áá ®áá ¡á¨ 11449áá ®áá ¥á·áá ¢á¼ 11450áá ®áá ªáá µ 11451áá ®á¨áá § 11452áá ®á¨áá © 11453áá ®á¨áá ¦ 11454áá ®á«áá ¡á« 11455áá ®á«áá ¥ 11456áá ®á«áá ® 11457áá ®á«áá µá¨áá ¡á« 11458áá ®á«áá ± 11459áá ®á®áá ¡á á ¡á¨ 11460áá ®á¯áá §á¼ 11461áá ®á¯áá µá¸ 11462áá ®áºáá ¡ 11463áá ³áá µá· 11464áá ³áá ®á¯ 11465áá ³áá ³á á © 11466áá ³áá ³á¼ 11467áá ³áá °áá ¥ 11468áá ³áá ±áá µ 11469áá ³áá ¦áá µáá ³ 11470áá ³áá ²áá µáá © 11471áá ³áá ³á á ¦áá ³ 11472áá ³áá ©áá ³ 11473áá ³á¯áá ¥á¨ 11474áá ³á¯áá ³á· 11475áá ³á¸áá ªá« 11476áá ³á¸áá µ 11477áá ³á¼áá ¢á¨ 11478áá ³á¼á á µ 11479áá ³á¼áá ® 11480áá ³á¼áá á¼áá ¡ 11481áá ³á¼áá µá« 11482áá µáá ¡á¨ 11483áá µáá ¡á« 11484áá µáá ©á¯ 11485áá µáá ³á·áá µ 11486áá µáá ¡á á µáá © 11487áá µáá ¢á¨ 11488áá µá á µáá ³ 11489áá µáá ¦á«áá ³ 11490áá µáá µá« 11491áá µáá ®áá © 11492áá µáá ¥á« 11493áá µáá ¥á¯ 11494áá µáá ³áá ¦á· 11495áá µáá ¡áá ¥áá µ 11496áá µáá ¥áá ¥áá µ 11497áá µáá ¯á¯ 11498áá µáá µá« 11499áá µáá µá¯ 11500áá µáá ¡á¨ 11501áá µáá ¡á¼ 11502áá µáá ¥á¯ 11503áá µáá ¥á· 11504áá µáá ®á¼ 11505áá µáá ³á« 11506áá µáá µá¸ 11507áá µáá ¥á¼ 11508áá µáá ¡á¸ 11509áá µáá ¥á· 11510áá µá¨áá ® 11511áá µá¨áá µ 11512áá µá¨áá ¡á¼ 11513áá µá¨á á £á¼ 11514áá µá¨á á áá ®á· 11515áá µá¨áá ®á¯ 11516áá µá¨áá ¡á¼ 11517áá µá¨áá ¡ 11518áá µá¨áá ¢á¼áá ªá¯ 11519áá µá¨áá © 11520áá µá¨áá ¡á¨ 11521áá µá¨áá ®á· 11522áá µá«áá © 11523áá µá«áá ² 11524áá µá«áá §á· 11525áá µá«áá ®á« 11526áá µá«áá ¡á¯ 11527áá µá«áá µ 11528áá µá«áá ¡ 11529áá µá«áá ¦ 11530áá µá«áá á¼ 11531áá µá«áá ¦áá ®á· 11532áá µá«áá ¥á¼ 11533áá µá«áá ¦ 11534áá µá«áá ª 11535áá µá¯áá ¡á· 11536áá µá¯áá ¢ 11537áá µá¯á á §á¨ 11538áá µá¯á á ¨ 11539áá µá¯áá ¡á¼ 11540áá µá¯áá ® 11541áá µá¯áá ³á¸ 11542áá µá¯áá µ 11543áá µá¯áá ¡á¼ 11544áá µá¯áá ¥á¼ 11545áá µá¯áá µá¯áá ¥á¨ 11546áá µá¯áá ¥á« 11547áá µá¯áá ¦ 11548áá µá¯áá ¥áº 11549áá µá¯áá ¢ 11550áá µá¯áá ¢ 11551áá µá¯áá ¥á· 11552áá µá¯áá §á« 11553áá µá·á á µ 11554áá µá·áá ®á á ³á· 11555áá µá·áá ¡ 11556áá µá·áá ¡á¼ 11557áá µá·áá ¥á¼ 11558áá µá·áá ¡á« 11559áá ¡á¼áá ®á¼áá µ 11560áá µá á ³á· 11561áá µáá ¡áº 11562áá ¡áá ¡áá µ 11563áá ¡áá ¡áá ®á«áá ¥ 11564áá ¡áá ³áá µá· 11565áá ¡áá ³á¯ 11566áá ¡áá ±áá ®á· 11567áá ¡áá ³áá ¡á¯áá ³ 11568áá ¡áá µáá ¡ 11569áá ¡áá ®á¯á á ¥ 11570áá ¡áá ¥áá µ 11571áá ¡áá ®á·áá ¡ 11572áá ¡áá µá¨ 11573áá ¡áá µá· 11574áá ¡áá ¡áá ³ 11575áá ¡áá ³á á µáá ¡ 11576áá ¡áá ³á· 11577áá ¡áá ©á¸ 11578áá ¡áá ³á« 11579áá ¡á¨áá µ 11580áá ¡á¨áá ©á¼ 11581áá ¡á¨áá ® 11582áá ¡á«áá ¢ 11583áá ¡á«áá §á¼ 11584áá ¡á«áá ª 11585áá ¡á«áá ¢ 11586áá ¡á«áá §á¼ 11587áá ¡á«áá ©á¼ 11588áá ¡á«áá ¡á¼ 11589áá ¡á«áá ® 11590áá ¡á«áá ® 11591áá ¡á¯á á ®áá µáá ²á· 11592áá ¡á¯áá ©áá ©á¯ 11593áá ¡á·áá µ 11594áá ¡á·áá ¥áº 11595áá ¡á¸á á §á¨ 11596áá ¡ááá ¡á¯ 11597áá ¡ááá ®á« 11598áá ¢áá µá« 11599áá ¢áá ¥á¼ 11600áá ¢á¨áá ® 11601áá ¢á¯áá ¥á· 11602áá £áá ¡á« 11603áá £áá ¡á« 11604áá £áá ©á¼ 11605áá £á¨áá ¡á« 11606áá £á¨áá ®á¨ 11607áá £á¨áá ©á¨ 11608áá £á¨áá ® 11609áá £á¨áá ¥á· 11610áá £á¨áá ®á· 11611áá £á¨áá ©á«áá § 11612áá £á¼áá §á· 11613áá £á¼á á §á¨ 11614áá £á¼áá ¡á¯ 11615áá £á¼áá ¢áá ® 11616áá £á¼áá ® 11617áá £á¼áá ¡ 11618áá ¥áá ®á· 11619áá ¥á á §áá ®á· 11620áá ¥á á ³á« 11621áá ¥áá ¦áºáá ¡á· 11622áá ¥áá ¢á»áá ³á« 11623áá ¥áá ¥áá ¡áá ¡ 11624áá ¥áá ¥á«áá µ 11625áá ¥á«áá µ 11626áá ¥á«áá ¥á¨ 11627áá ¥á«á á ©á« 11628áá ¥á«áá ¥ 11629áá ¥á¯áá ®á¯ 11630áá ¥á¯á á ³á« 11631áá ¥á¯áá ³á· 11632áá ¥á¯áá µáº 11633áá ¥á·áá ¡ 11634áá ¥á¸áá ® 11635áá ¥á¸áá ©á¼ 11636áá ¥á¸áá ¦ 11637áá ¥á¼áá ¥á¼áá µ 11638áá ¥á¼áá ¡á¼ 11639áá ¥á¼áá ¥á á µ 11640áá ¥á½áá ³áá ¦ 11641áá ¦áá ¥áá µ 11642áá ¦áá ¥áá ¥á« 11643áá ¦á«áá µá« 11644áá §áá ¥á« 11645áá §áá ©áá ¢á¼ 11646áá §áá ªá« 11647áá §áá ®á« 11648áá §áá ¯á« 11649áá §áá ¢áá ¢á¼ 11650áá §áá ¥á² 11651áá §áá ©á¼áá ¢á¼ 11652áá §áá ³á« 11653áá §á á ©á« 11654áá §á á ³á· 11655áá §áá ¥áº 11656áá §áá ¥á¼ 11657áá §áá ªá¼ 11658áá §áá µá« 11659áá §áá ¥á«áá µ 11660áá §áá µá¨áá ¯á« 11661áá §áá ¡á¨áá ¢á¼ 11662áá §áá ¢á¼ 11663áá §á¨áá ¡ 11664áá §á¨áá µ 11665áá §á¨áá ¡á¯ 11666áá §á«áá §á¯ 11667áá §á«áá ® 11668áá §á«áá ³á¨ 11669áá §á«áá µ 11670áá §á«á á ¡á¨ 11671áá §á«áá ¥á¯ 11672áá §á«áá ¦ 11673áá §á«áá ©á¨ 11674áá §á«áá ³á¸ 11675áá §á«áá ¢ 11676áá §á«áá ¨áá µá« 11677áá §á«áá µá« 11678áá §á«áá ¡á¼ 11679áá §á«áá ® 11680áá §á«áá ®á¯ 11681áá §á«áá µá¯ 11682áá §á«áá ¡á¸ 11683áá §á«áá ² 11684áá §á¯áá µ 11685áá §á¯áá ¢ 11686áá §á¯áá ¬ 11687áá §á¯áá µá·áá µ 11688áá §á¯áá ¥á¼ 11689áá §á¯áá ¡ 11690áá §á¯áá ³á¯ 11691áá §á·á á § 11692áá §á¸áá ¥ 11693áá §á¼áá ®á¨ 11694áá §á¼áá ¡á· 11695áá §á¼áá ¡á¼ 11696áá §á¼áá £á¼ 11697áá §á¼áá §á¨ 11698áá §á¼áá ®á¼ 11699áá §á¼áá ¯á«áá µ 11700áá §á¼áá ¡ 11701áá §á¼áá £á¼ 11702áá §á¼áá ©á« 11703áá §á¼áá ª 11704áá §ááá ®á á µ 11705áá §ááá ¡á¼ 11706áá §ááá µá¸ 11707áá ¨áá ¡á· 11708áá ¨áá ³á· 11709áá ¨áá ¡á¼ 11710áá ¨áá ¡á« 11711áá ¨áá ¡á¼ 11712áá ¨áá ¥á« 11713áá ¨áá ®á¯ 11714áá ¨áá ³á¸
11715áá ¨áá µá¨áá ¡á¼ 11716áá ¨áá £á¨ 11717áá ¨áá ¥á« 11718áá ¨áá ¥á¯ 11719áá ¨áá ¥á¼ 11720áá ¨áá ¥á«áá ¢ 11721áá ¨áºáá ¡á¯ 11722áá ©áá ³á¯ 11723áá ©á á ¡á¨ 11724áá ©á á ¢áºáá ©á¼áá ¡á« 11725áá ©á á ¦á«áá µ 11726áá ©á á ©áá µ 11727áá ©á á ³á«áá ¡á¯ 11728áá ©áá ³á« 11729áá ©áá µá¸ 11730áá ©áá §á· 11731áá ©áá ¯á¯ 11732áá ©áá ¥á« 11733áá ©áá µá¨ 11734áá ©áá µá¼áá ¥ 11735áá ©áá ¦á á ¡ 11736áá ©áá µáá ³áá ¦á¯ 11737áá ©áá µá á § 11738áá ©á¨áá ¡á¼ 11739áá ©á¨áá ®áá ® 11740áá ©á«áá ¡á½ 11741áá ©á«á á ¡áá µá« 11742áá ©á«áá ©á· 11743áá ©á«áá ©á¼áá µá¯ 11744áá ©á«áá ©á¼ 11745áá ©á¯áá ¡áá ³á¯ 11746áá ©á¯á á µá·áá µá¨ 11747áá ©á¯áá ¢ 11748áá ©áºáá ¡á á µá· 11749áá ªáá µáá §áá ³ 11750áá ªáá µá« 11751áá ªá«áá ¥á¼ 11752áá ªá«áá ¥á« 11753áá ªá¼áá µ 11754áá ªá¼áá ¡ 11755áá «áá £áá ¡áá §á« 11756áá «á«áá µ 11757áá ¬áá ¡áºáá µá¸ 11758áá ¬áá ®á¨ 11759áá ¬á á ©áá ®á· 11760áá ¬áá ¡á·áá ©á« 11761áá ¬áá ®á¯ 11762áá ¬áá µá· 11763áá ¬áá ¡á¯áá ¥áá µ 11764áá ¬á«áá ¡á¯ 11765áá ¬á«áá ©á« 11766áá ¬á«áá ©á¨ 11767áá áá ³á· 11768áá áá µá¯ 11769áá áá ³á· 11770áá áá ¥á¼ 11771áá á¼áá µ 11772áá á¼áá ¥ 11773áá á¼áá ¥ 11774áá ®áá ¡á« 11775áá ®áá ¥á« 11776áá ®áá ³á¼ 11777áá ®áá §á«áá µ 11778áá ®áá ¥á¼ 11779áá ®áá ¦áá ®á¨ 11780áá ®áá §á« 11781áá ®á«áá ©á¼ 11782áá ®á«áá §á¼ 11783áá ®á«áá ¡á« 11784áá ®á«áá ¥á« 11785áá ®á«áá ¢á¼ 11786áá ®á¯áá ¡á« 11787áá ®á¯áá ³á· 11788áá ®á·áá µá¨áá µá· 11789áá ®áºáá ¥á á ³á« 11790áá ®áºáá ³á· 11791áá ¯áá ¡á¨ 11792áá ¯á«áá © 11793áá ¯á«á á ¢ 11794áá ¯á«áá ¥ 11795áá ¯á«áá ®á¼áá µ 11796áá ¯á«áá µá« 11797áá ¯á«áá ¡á¼ 11798áá ¯á«áá µáá ³ 11799áá ¯á¯áá ³á¸ 11800áá ¯á¯áá ³áá ¥á¸ 11801áá ¯á¯áá ¦ 11802áá ¯á¯áá áá µá¯ 11803áá °áá µáá ¥ 11804áá ±áá ¡á« 11805áá ±áá ¥á¸ 11806áá ±áá ¥á¼ 11807áá ±áá ¯á« 11808áá ±áá ¥á· 11809áá ±áá §á¸ 11810áá ±áºáá ¡á á ¡á· 11811áá ²áá ¡á«áá µ 11812áá ²á á ¥á¸ 11813áá ²áá §á¼ 11814áá ²áá ®á¯ 11815áá ²áá ¡á« 11816áá ²áá ¥á¨ 11817áá ²áá µáá ¯á« 11818áá ²áá ¡á¨ 11819áá ²áá ¢á¼ 11820áá ²áá §á¼ 11821áá ²á¨áá ®á« 11822áá ²á¨áá ¡á¼ 11823áá ²á¨áá µá¸ 11824áá ²á¨áá ¦ 11825áá ³á«áá ¢á¼ 11826áá ³á·á á §á¨ 11827áá ³á·á á 11828áá ³á·áá ¡á« 11829áá ³á·áá ¥á¼ 11830áá ³á·áá µá¨ 11831áá ³á·áá ¡á¨ 11832áá ³á·áá ® 11833áá ´áá §á« 11834áá ´áá ©á« 11835áá ´áá ®á« 11836áá ´áá ©á¨ 11837áá ´áá µá¨ 11838áá ´áá µá· 11839áá ´áá ¬á á © 11840áá ´áá ᨠ11841áá ´áá ¯á« 11842áá ´áá ¡á¨ 11843áá µáá ¥áº 11844áá µáá ©áº 11845áá µáá §á· 11846áá µáá ©á· 11847áá µáá ¡á¯ 11848áá µáá ¢á á © 11849áá µáá ©á¼ 11850áá µá á ¥ááá ¦ 11851áá µá á §á¨áá ¥ 11852áá µá á ©á«áá ¥á¨ 11853áá µá á ³á· 11854áá µáá µá« 11855áá µáá ¡á¯áá © 11856áá µáá §á¯ 11857áá µáá ®á¯ 11858áá µáá ¡á¯ 11859áá µáá ¡á¼ 11860áá µáá ¥á¼ 11861áá µáá ³á¯ 11862áá µáá £áá µ 11863áá µáá á¼ 11864áá µáá ®áº 11865áá µáá ¯á¯ 11866áá µáá ³á¨áá © 11867áá µáá µá¨ 11868áá µáá ¥á« 11869áá µáá ®á¼ 11870áá µáá ³á®áá ¡á¯ 11871áá µáá ³á¯ 11872áá µáá ©á« 11873áá µá«áá ¡á« 11874áá µá«áá §á¨ 11875áá µá«áá ©á¼ 11876áá µá«áá ® 11877áá µá«áá ³á« 11878áá µá«áá µ 11879áá µá«áá © 11880áá µá«á á ² 11881áá µá«áá ®á¯ 11882áá µá«áá ¢á¼ 11883áá µá«áá « 11884áá µá«áá §á« 11885áá µá«áá ¯á« 11886áá µá«áá ¢ 11887áá µá«áá ©á¼ 11888áá µá«áá ¥á« 11889áá µá«áá ¦ 11890áá µá«áá ¥áá ¦áº 11891áá µá«áá ¡ 11892áá µá«áá §á¼ 11893áá µá¯áá ©á¸ 11894áá µá¯áá µ 11895áá µá¯áá ¡á« 11896áá µá¯áá ¢ 11897áá µá¯áá ³á¼ 11898áá µá¯áá ¡á« 11899áá µá¯áá ©á« 11900áá µá¯áá ® 11901áá µá¯áá ¡á¼ 11902áá µá¯áá ¢á¼ 11903áá µá¯áá ©á« 11904áá µá¯áá áá µá¯ 11905áá µá¯áá ¯á¯ 11906áá µá¯áá ¥á¼ 11907áá µá¯áá ©á¼ 11908áá µá¯áá ®áá µá¯ 11909áá µá¯áá µá¨ 11910áá µá¯áá ¦ 11911áá µá¯áá µ 11912áá µá¯áá ¢á¼ 11913áá µá¯áá ¬áá á¼ 11914áá µá·áá ³á· 11915áá µá·áá ® 11916áá µá¸áá ¢ 11917áá µá¸á á §á¨ 11918áá µá¸áá ¡áº 11919áá µá¸áá ¡ 11920áá µá¸áá ®á¯ 11921áá µá¸áá µ 11922áá µá¸áá ¯á« 11923áá µá¸áá ¡á¼ 11924áá µá¸áá ¡á¨ 11925áá ¡áá ¡áá á¼ 11926áá ¡áá §á¨ 11927áá ¡áá ³á¨ 11928áá ¡áá ©á¼ 11929áá ¡á á ¡á¼ 11930áá ¡áá ®áá µá· 11931áá ¡áá µá¨ 11932áá ¡áá µá« 11933áá ¡áá §á« 11934áá ¡áá ¯á« 11935áá ¡áá ²á¯ 11936áá ¡áá ¥á«áá ¥ 11937áá ¡áá ¥á¼ 11938áá ¡áá ©á«áá µá· 11939áá ¡áá ¡á« 11940áá ¡á¨áá ¡ 11941áá ¡á¨áá §á« 11942áá ¡á¨áá ¥á¼ 11943áá ¡á¨áá ¥á¸ 11944áá ¡á¨áá á¼ 11945áá ¡á¨áá ³á«áá ¡á¯ 11946áá ¡á¨áá ®á· 11947áá ¡á«áá µ 11948áá ¡á«áá ³á¨ 11949áá ¡á«áá µ 11950áá ¡á¯áá ©áº 11951áá ¡á·áá ¡á« 11952áá ¡á·áá ®áá ¡á· 11953áá ¡á·áá µ 11954áá ¡á·áá ©áº 11955áá ¡á·áá ¡á á µ 11956áá ¡á¸áá µ 11957áá ¡á¼áá ªá« 11958áá ¡á¼áá ®á« 11959áá ¡á¼áá µáá ¡á« 11960áá ¡á¼á á ¢ 11961áá ¡á¼á á ¨ 11962áá ¡á¼á á ³ 11963áá ¡á¼áá ¡ 11964áá ¡á¼áá §á« 11965áá ¡á¼áá © 11966áá ¡á¼áá µ 11967áá ¡á¼áá µ 11968áá ¡á¼áá ¡ 11969áá ¡á¼áá © 11970áá ¡á¼áá µá¨ 11971áá ¡á¼áá ¢áá µá« 11972áá ¡á¼áá µá« 11973áá ¡á¼áá ¥á· 11974áá ¡á¼áá ¡ 11975áá ¡á¼áá ¡á¨áá ³á· 11976áá ¢áá ³á¼ 11977áá ¢áá ¡á¯á á µ 11978áá ¢áá ¡á« 11979áá ¢áá ¢á¼ 11980áá ¢áá ¡á¨áá §á« 11981áá ¢áá ¥á¼ 11982áá ¢áá ¢áá µ 11983áá ¢áá ¡á« 11984áá ¢áá ¡á¨ 11985áá ¢áá ªá¯áá á¼ 11986áá ¥áá ¥áº 11987áá ¥áá ©á á µ 11988áá ¥áá ©áº 11989áá ¥áá §á¨ 11990áá ¥á á ¥á« 11991áá ¥á á ¥ááá ¦ 11992áá ¥áá ¥á« 11993áá ¥áá ®á¯ 11994áá ¥áá ¥á¯á á © 11995áá ¥áá ®á¨ 11996áá ¥á¨áá ³á¨ 11997áá ¥á¨áá ¡á¼áá µ 11998áá ¥á¨áá ¥á¼ 11999áá ¥á¨áá á¼ 12000áá ¥á¨áá ³á¼ 12001áá ¥á«áá ¢ 12002áá ¥á«áá ©á¼ 12003áá ¥á«áá µ 12004áá ¥á«áá ¡á¯ 12005áá ¥á«á á ¡áá © 12006áá ¥á«áá ¡á¼ 12007áá ¥á«áá ®á« 12008áá ¥á«áá ¡á« 12009áá ¥á«áá ® 12010áá ¥á«áá ¦ 12011áá ¥á«áá µ 12012áá ¥á«áá á¼ 12013áá ¥á«áá ¡ 12014áá ¥á«áá ¢á¼ 12015áá ¥á«áá ® 12016áá ¥á«áá ¥á¯ 12017áá ¥á«áá ¦ 12018áá ¥á«áá ©á¼ 12019áá ¥á«áá § 12020áá ¥á«áá ® 12021áá ¥á¯áá ¢ 12022áá ¥á¯áá ¡á¼ 12023áá ¥á¯áá ¡á« 12024áá ¥á¯áá £á¨ 12025áá ¥á¯áá ¡ 12026áá ¥á·áá ¥á· 12027áá ¥á·áá ® 12028áá ¥á·áá µá· 12029áá ¥á·áá ¯á« 12030áá ¥á·áá ¥á· 12031áá ¥á·áá ¡ 12032áá ¥á¸áá ³á« 12033áá ¥á¸áá µ 12034áá ¥á¸áá ©á¨ 12035áá ¥áºáá ¡á á ¡á¨ 12036áá ¥á¼áá ¥áá ¡á¼ 12037áá ¥á¼áá © 12038áá ¥á¼á á ²áá ¡á¼ 12039áá ¥á¼á á µ 12040áá ¥á¼áá ¡á¯ 12041áá ¥á¼áá §á« 12042áá ¥á¼áá ®á« 12043áá ¥á¼áá ¡á«áá ¢ 12044áá ¥á¼áá © 12045áá ¥á¼áá ® 12046áá ¥á¼áá µ 12047áá ¥á¼áá ¡á¼ 12048áá ¥á¼áá ¥á¼ 12049áá ¥á¼áá © 12050áá ¥á¼áá ¯á« 12051áá ¥á¼áá ¡á¼ 12052áá ¥á¼áá µ 12053áá ¥á¼áá µ 12054áá ¥á¼áá ªá¨áá µ 12055áá ¦áá ©á¼ 12056áá ¦áá ªáá ¥á· 12057áá ¦áá ¢á á © 12058áá ¦áá ©á¨ 12059áá ¦áá ¡á¯ 12060áá ¦áá ¥á¸ 12061áá ¦áá ¡áºáá ¡á¯ 12062áá ¦áá ¡á« 12063áá ¦áá µá¯ 12064áá ¦áá ¡á¨ 12065áá ¦áá ®áá © 12066áá ¦áá ®á¯ 12067áá ¦áá ®á· 12068áá ¦áá ¡á« 12069áá ©áá ¡á¨ 12070áá ©áá ¥á« 12071áá ©áá ³á· 12072áá ©áá µá¼ 12073áá ©áá §á¼ 12074áá ©áá µá á 12075áá ©áá ¡á¼ 12076áá ©áá ¥á« 12077áá ©áá á¼áá µ 12078áá ©áá ¥á¯ 12079áá ©áá ¥á¼ 12080áá ©áá µá¨ 12081áá ©á«áá ¢áºáá ¡á¯ 12082áá ©á«áá ¢ 12083áá ©á¯áá ¥á¸ 12084áá ©á¯áá ³á· 12085áá ©á¼áá 12086áá ©á¼á á © 12087áá ©á¼á á ² 12088áá ©á¼áá ©á á µ 12089áá ©á¼áá ¥á¸áá ¯á« 12090áá ©á¼áá ©á¼ 12091áá ©á¼áá ¡á¸ 12092áá ªáá ¥á¨ 12093áá ¬áá µá« 12094áá ®áá ªá«áá ¥á¨ 12095áá ®á á ³á· 12096áá ®áá ¡á¯ 12097áá ®áá ¥áá µ 12098áá ®áá ¥á¨ 12099áá ®áá ®á« 12100áá ®áá µá« 12101áá ®áá ¡á¼ 12102áá ®áá §á« 12103áá ®áá µá¨ 12104áá ®áá µá« 12105áá ®áá µá¯ 12106áá ®áá ¡á¼ 12107áá ®áá ¥á«áá ¡ 12108áá ®áá ¢á¨ 12109áá ®á«áá µ 12110áá ®á¯áá ¥á á µ 12111áá ®á¯áá µ 12112áá ®á¯áá ®áá ´ 12113áá ®á¼áá ¡á« 12114áá ®á¼áá ¨áá ¡á¼áá ©á¼ 12115áá ®á¼áá ®á¨ 12116áá ®á¼áá §á« 12117áá ®á¼áá ¡á« 12118áá ®á¼áá ©á¨ 12119áá ®á¼áá ¡á« 12120áá ®á¼áá ® 12121áá ®á¼áá ¦ 12122áá ®á¼áá ©áá µáá ¥á¸ 12123áá ®á¼áá ®á« 12124áá ®á¼áá ¡á¼ 12125áá ®á¼áá 12126áá ®á¼áá ¡á¨áá 12127áá ³á¨áá ¥á¨ 12128áá ³á¨áá µ 12129áá ³á¯áá ¥áá ®á· 12130áá ³á¼áá ¡ 12131áá ³á¼áá ¥ 12132áá ³á¼áá ¯á« 12133áá ³á¼áá ¡á¼ 12134áá ³á¼áá ¦ 12135áá µáá ¡á¨ 12136áá µáá ¡á¸ 12137áá µáá §á¼ 12138áá µáá ³á¨áá µ 12139áá µáá ³á· 12140áá µáá ³á¸ 12141áá µáá ³á¼ 12142áá µá á ³á·áá µá¯ 12143áá µá á µáá ¡á« 12144áá µáá ¡á¼ 12145áá µáá ®á¼ 12146áá µáá µá¨ 12147áá µáá §á¨ 12148áá µáá ®áá ¢ 12149áá µáá ¯á« 12150áá µáá ¥á¨ 12151áá µáá ¥á· 12152áá µáá µá« 12153áá µáá ®á¯ 12154áá µá¨áá ¥á« 12155áá µá¨áá ¥á¸ 12156áá µá¨áá ¯á« 12157áá µá¨áá ¡á¼ 12158áá µá«áá ³á¸ 12159áá µá«áá ©á¼ 12160áá µá«á á © 12161áá µá«á á 12162áá µá«á á µ 12163áá µá«áá ¡ 12164áá µá«áá ¡á¯ 12165áá µá«áá ®á¯ 12166áá µá«áá ©á¼ 12167áá µá«áá ¢á¼ 12168áá µá¯áá ®á« 12169áá µá¯áá §á¼ 12170áá µá¯áá ¥ 12171áá µá·áá ¡á¨ 12172áá µá¸áá ¡á« 12173áá µá¸áá ¡á« 12174áá µá¸áá ®á¼ 12175áá ¡áá ³á¼ 12176áá µáá ¥áá µ 12177áá ¡áá ¡á· 12178áá ¡á á ¡á á µ 12179áá ¡á á £á¼ 12180áá ¡á á µá· 12181áá ¡áá §á¯ 12182áá ¡áá ¥á« 12183áá ¡áá ³á· 12184áá ¡á¨áá ¡á¨ 12185áá ¡á«áá ®á¯ 12186áá ¡á«áá ¥á¼ 12187áá ¡á·áá ¡ 12188áá ¡á·áá µá á ³á· 12189áá ¡á·áá ¢ 12190áá ¡á·áá ¥á¨ 12191áá ¡á·áá § 12192áá ¡á·áá ¬ 12193áá ¡á·áá © 12194áá ¡áºáá ¡á« 12195áá ¡á¼áá ¡ 12196áá ¡á¼áá © 12197áá ¡á¼áá ® 12198áá ¡á¼áá ®á« 12199áá ¡á¼áá ¡á© 12200áá ¡á¼áá ¡á¨ 12201áá ¡á¼áá © 12202áá ¢áá ¥á¯ 12203áá ¢áá ¥á· 12204áá ¢á¨áá ¡áá ¡á¼ 12205áá ¢á¨áá ¡á¼ 12206áá ¢á¨áá ¡á¼ 12207áá ¢á¨áá µá· 12208áá ¢á·áá µáá ¥á« 12209áá ¥áá ¥á¯ 12210áá ¥áá ³á· 12211áá ¥á«áá ®á¨ 12212áá ¥á«áá ®á¼ 12213áá ¥á«áá ¡á¼ 12214áá ¥á«áá ¢ 12215áá ¥á«áá ¥á«áá µ 12216áá ¥á¯áá © 12217áá ¥á¯áá ¥áá µ 12218áá ¥á¯áá ¡á¨ 12219áá ¥áºáá ¡á¯ 12220áá ¥áºáá ¢ 12221áá ¥á¼áá §á« 12222áá ¥á¼áá ¡áá µ 12223áá ¥á¼áá © 12224áá ¥á¼áá ®á« 12225áá ¦áá ¨ 12226áá ¦á á §á¨ 12227áá ¦áá ©á« 12228áá ¦áá ²á¨ 12229áá ¦áá ®á¼ 12230áá ¦áá ¥á· 12231áá ©áá ³á¼áá ¡á¨áá ¢á¼ 12232áá ©áá ¡á« 12233áá ©áá ¡á¸ 12234áá ©áá ¡á¼áá ª 12235áá ©áá ®á« 12236áá ©áá §á á ³á· 12237áá ©áá ¯á« 12238áá ©áá ¥áá §á¨ 12239áá ©áá ¥á· 12240áá ©áá ¥á¼ 12241áá ©áá ©á¯á á µáº 12242áá ©áºáá ®á¯ 12243áá ©á¼áá ¡á¨ 12244áá ©á¼á á µ 12245áá ©á¼áá ¡á¼ 12246áá ªá¯áá §á¼ 12247áá ¬áá ³á« 12248áá ¬áá ¡á¼ 12249áá ¬áá ¥á« 12250áá ¬áá µá« 12251áá ¬áá ¡á¨ 12252áá ¬áá ©á¼ 12253áá ®áá ¥á¨ 12254áá ®áá ¥á¨ 12255áá ®áá µá« 12256áá ®áá ¥á« 12257áá ®áá ³á¨ 12258áá ®á¨áá ® 12259áá ®á¨áá © 12260áá ®á¨áá ¦ 12261áá ®á¨áá ¡ 12262áá ®á¯áá ³á« 12263áá ®á¯áá ¡á¯ 12264áá ®á¯áá ¡á« 12265áá ®á¯áá µá« 12266áá ®á¯áá §á« 12267áá ®á¯áá µá¸ 12268áá ®á¯áá ¡á¼ 12269áá ®á¯áá ¡á« 12270áá ®á¼áá §á¨ 12271áá ®á¼áá © 12272áá ®á¼áá ©á¯ 12273áá ®á¼áá ®á«áá µ 12274áá ®á¼áá ¥á¼áá © 12275áá ±áá ¥á¸ 12276áá ±áá µá¨ 12277áá ±áá £á¼ 12278áá µáá £á¨ 12279áá µá«áá ® 12280áá µá«áá ¥á¨ 12281áá µá¯áá µá¸ 12282áá µá¯áá ¯á¯ 12283áá µá¯áá ¡á« 12284áá µá·áá ¢ 12285áá µá·áá ®á¨ 12286áá µá·áá µá¯ 12287áá µáºáá ©á¯ 12288áá µá¼áá ¡á« 12289áá ¡áá ¦á á ¡ 12290áá ¡áá ®á«áá ¥ 12291áá ¡á¯áá ®á¨áá ® 12292áá ¢á á µá¨áá ¥ 12293áá ¢á·áá ¥áá ³ 12294áá ¢á·áá ¦áá µá« 12295áá ¥áá ³á« 12296áá ¥á«áá µáá §á« 12297áá ¥á¯á á ¥ 12298áá ¥á·áá ²áá ¥ 12299áá ©áá µá á µ 12300áá ©áá µáá µ 12301áá ©á«áá ¥áá ³ 12302áá ©á¯á á ¡ 12303áá ©á·áá ³á¯á á ¦á¨áá ³ 12304áá ©á¼áá ¡áá ®á¯ 12305áá «áá ¡á· 12306áá ®áá ¦áá ¡ 12307áá ³á á µá· 12308áá ³á«áá µá¯ 12309áá ³á«áá ¡á¯ 12310áá ³á«áá ©á á µ 12311áá ³á«áá ¡áá ³á¯ 12312áá ³á«áá ¥áá ¥áá µ 12313áá ³á«áá µá¯ 12314áá ³á«áá ¥á¯ 12315áá ³á¯á á ¢áá µá¨ 12316áá ³á¯á á ¥á¸ 12317áá µá¯á á © 12318áá ¡áá µá¸ 12319áá ¡áá ¡áá µ 12320áá ¡á¨áá ® 12321áá ¡á¨áá ¡ 12322áá ¡á«áá ¢á¼ 12323áá ¢áá ¯á«áá © 12324áá ¢áá £á¼ 12325áá ¢áá ®á¼ 12326áá ¢á¨áá µ 12327áá ¢á¯á á ¥á«áá ³ 12328áá ¥áá ¥á¯ 12329áá ¥áá µáá ¥á¯ 12330áá ¦áá µáá ³ 12331áá ¦áá ³áá ³ 12332áá ¦áá µáá ³á¯ 12333áá ¦á¯á á ¦áá µáá ¥á« 12334áá ©á á ©á« 12335áá ©áá ¡áá © 12336áá ©áá áá µá¯ 12337áá ©á¼áá ¨ 12338áá ©á¼áá ª 12339áá ©á¼á á © 12340áá ©á¼áá µá« 12341áá ©á¼áá §á¨ 12342áá ©á¼áá µá¯ 12343áá ©á¼áá ¡á¼ 12344áá ©á¼áá ¦ 12345áá ©á¼áá ³á¼ 12346áá ©á¼áá ¡á¸ 12347áá ©á¼áá ª 12348áá ¬áá ³á« 12349áá ¬áá ¯á« 12350áá ¬áá µá¨áá ³á· 12351áá ±áá µá· 12352áá ³á á ¥á¨ 12353áá ³á¨áá ³á¸ 12354áá ³á¨áá §á¯ 12355áá ³á¨áá ¥á¼ 12356áá ³á¨áá ® 12357áá ³á¨áá µá¼ 12358áá ³á¨áá µ 12359áá ³á«áá ³á«áá µ 12360áá µáá §áá ³ 12361áá ¡á á ¡á«áá ¢á¨ 12362áá ¡áá µá¯ 12363áá ¡áá ®á¯áá © 12364áá ¡á«áá §á¯ 12365áá ¡á«áá ¡á« 12366áá ¡á«áá ¢ 12367áá ¡á«áá ¡ 12368áá ¡á¯áá µá¸ 12369áá ¡á¯áá ¯á¯ 12370áá ¡á¸áá ©á¼ 12371áá ¢áá §á«
12372áá ¢á¨áá ³ 12373áá ¢á¨áá µáá µá¯á á µ 12374áá ¢á«áá µ 12375áá ¥áá ¦á«áá ³ 12376áá ¦áá µá«áá ³ 12377áá §á«áá §á« 12378áá §á«áá ´ 12379áá §á«áá µ 12380áá §á«áá µ 12381áá §á¼áá ¡ 12382áá §á¼áá ²á« 12383áá §á¼áá ¢á¼ 12384áá §á¼áá © 12385áá §á¼áá £á¼ 12386áá §á¼áá µá¯ 12387áá §á¼áá ª 12388áá ©áá ³áá ¥ 12389áá ©áá µá«áá ³ 12390áá ©áá ¡á¼ 12391áá ©áá ¡á· 12392áá áá §á« 12393áá áá ¥á¼ 12394áá áá ®á« 12395áá áá §á« 12396áá ®á·áá ©á¨ 12397áá ®á·áá µá¯ 12398áá ®á¼áá §á¼ 12399áá ®á¼áá ©á¨ 12400áá ®á¼áá ³á¸ 12401áá ³á á ¡á¼áá ³ 12402áá ³á á µá«áá ¥ 12403áá ³á¯á á ¡áá ³áá µá¨ 12404áá µáá ©á« 12405áá µáá ¡á¼ 12406áá µáá ¡áá © 12407áá µá¯á á ³á· 12408áá µá¯áá ® 12409áá µá¯áá 12410áá µá¯áá ¡ 12411áá µá¯áá ©á¼ 12412áá µá¼áá ¨ 12413áá ¡áá ³áá µá· 12414áá ¡áá ³á¯ 12415áá ¡áá ³áá °áá ¥ 12416áá ¡á á ®áºáá ¡á· 12417áá ¡áá ¡á«áá µ 12418áá ¡áá ®á¨áá µá¸ 12419áá ¡áá ®á« 12420áá ¡áá §áá ³á« 12421áá ¡áá µáá ¡á« 12422áá ¡áá ¥á« 12423áá ¡áá ®á· 12424áá ¡áá µá¯ 12425áá ¡á¨áá ª 12426áá ¡á¨áá 12427áá ¡á¨áá ³á¸ 12428áá ¡á¨áá µ 12429áá ¡á¨áá §á« 12430áá ¡á¨á á §á¨ 12431áá ¡á¨áá ¥á« 12432áá ¡á¨áá ®áá © 12433áá ¡á¨áá µ 12434áá ¡á¨áá ¢á¼ 12435áá ¡á¨áá ®á¯ 12436áá ¡á¨áá ³á¸ 12437áá ¡á¨áá á¼áá ®á· 12438áá ¡á¨áá ¯á« 12439áá ¡á¨áá ± 12440áá ¡á¨áá ¡ 12441áá ¡á¨áá ¥á· 12442áá ¡á«áá ¨ 12443áá ¡á«áá ³á¯ 12444áá ¡á«áá ¥áá ¥á«áá ¦ 12445áá ¡á«áá ¡á½ 12446áá ¡á«áá ®á« 12447áá ¡á«áá ©á¼áá ¡á« 12448áá ¡á«áá ¢ 12449áá ¡á«á á ¡áá ¡á« 12450áá ¡á«áá ¡áá µ 12451áá ¡á«áá ®á« 12452áá ¡á«áá ¥á« 12453áá ¡á«áá ©á¨ 12454áá ¡á«áá µá¨ 12455áá ¡á«áá §á á ³á· 12456áá ¡á«áá ©á¨ 12457áá ¡á¯áá ¥áá µ 12458áá ¡á¯áá ¡áá ¥áá µ 12459áá ¡á¯áá µá« 12460áá ¡á·áá ¦ 12461áá ¡á·áá ®á á © 12462áá ¡á¸áá §á¨ 12463áá ¡á¸á á µáá ¥á¨ 12464áá ¡á¼áá ©á¼ 12465áá ¡á¼áá ® 12466áá ¡á¼áá ¡á¼ 12467áá ¡á¼áá ´ 12468áá ¢áá §á¯ 12469áá ¢áá ®á« 12470áá ¢áá ¡á¸ 12471áá ¢áá ¡á¼ 12472áá ¢áá ®á¯ 12473áá ¢áá ¥á¨ 12474áá ¢áá ¥á¯ 12475áá ¢áá ®áá á¨áá ¡á¼ 12476áá ¢áá ¡á« 12477áá ¢á¨áá µá· 12478áá ¢á«áá ³áá ¢á¨ 12479áá ¢á·áá ¥áá ¥ 12480áá ¢áºáá §á 12481áá ¢áºáá ¡á¯ 12482áá ¢á¼áá ©á¼ 12483áá ¢á¼áá ©á¨ 12484áá ¢á¼áá ¡ 12485áá ¢á¼áá ®á« 12486áá ¢á¼áá ± 12487áá £á¼áá µ 12488áá £á¼áá ¡á¼ 12489áá £á¼áá ® 12490áá ¥á á ¡á¨ 12491áá ¥áá á¼ 12492áá ¦á¯áá µ 12493áá §á«áá ªá« 12494áá §á«áá ³á· 12495áá §á«áá ¢ 12496áá §á«áá ¡á¼ 12497áá §á«áá µá¯ 12498áá §á«áá ¡á¼ 12499áá §á«áá ¢ 12500áá §á«áá µ 12501áá §á¯áá ¢á¨ 12502áá §á¸á á §á¨ 12503áá §á¼áá ® 12504áá §á¼áá ¡ 12505áá §á¼áá ® 12506áá §á¼áá µá¨ 12507áá §á¼áá ¦ 12508áá §á¼áá ¢ 12509áá §á¼áá §á« 12510áá ¨áá ¢á¨ 12511áá ©áá µáá µá· 12512áá ©áá ¡á· 12513áá ©á á ¡á¼áá µ 12514áá ©áá ¡á¨ 12515áá ©áá ¦á¯ 12516áá ©áá ³á¸ 12517áá ©á¨áá µ 12518áá ©á¯á á © 12519áá ©á·áá ¦áá µáá µ 12520áá ©á¼áá © 12521áá ©á¼áá ® 12522áá ©á¼áá ¡ 12523áá ªáá §á« 12524áá ªáá ®á« 12525áá ªáá ¡á¯ 12526áá ªáá áá µá¯ 12527áá ªáá ¡á¼ 12528áá ªáá ¡á¨ 12529áá ªá¨áá © 12530áá ªá¨áá µá« 12531áá ªá¨áá ¡á¼ 12532áá ªá¨áá ¥á¼ 12533áá ªá«áá ¡á¸ 12534áá ªá«áá §á¼ 12535áá ªá«áá §á¼ 12536áá ªá«áá ²á¯ 12537áá ªá«áá ¡ 12538áá ªá¯áá µ 12539áá ªá¯áá ©á¼ 12540áá ªá¯áá ¡á¯áá µ 12541áá ªá¯áá á¼ 12542áá ªá¯áá ¡á¨ 12543áá ¬áá §á« 12544áá ¬áá ªá« 12545áá ¬áá ©á¨ 12546áá ¬áá ¢á¨ 12547áá ¬áá ¯á« 12548áá ¬áá ¡á¼ 12549áá ¬áá ¥á« 12550áá ¬áºáá ® 12551áá ¬á¼áá ¡á«áá ©áá © 12552áá áá ²á¯áá ¥á¨ 12553áá ®áá ¡á« 12554áá ®áá ®áºáá ¡á á ® 12555áá ®á«á á §á« 12556áá ¯á¯áá µá« 12557áá ²áá µá¨ 12558áá ²áá µá¯ 12559áá ²á¼áá ¢ 12560áá ³á á ³á· 12561áá ³á¨áá ¢á¨ 12562áá ³á¨áá µá« 12563áá ³á«áá ¥á¨ 12564áá ³á«áá µ 12565áá ³á¼áá µ 12566áá ³á¼áá ®á« 12567áá ´áá ©á¨ 12568áá ´áá ¡á¼ 12569áá ´áá ¢á¼ 12570áá ´á«áá ¢á¨ 12571áá µá·áá ¥áº`.split(` 12572`)),sf}var of={},QC;function Ste(){return QC||(QC=1,Object.defineProperty(of,"__esModule",{value:!0}),of.wordlist=void 0,of.wordlist=`ç 12573ä¸ 12574æ¯ 12575å¨ 12576ä¸ 12577äº 12578æ 12579å 12580人 12581è¿ 12582ä¸ 12583大 12584为 12585ä¸ 12586个 12587å½ 12588æ 12589以 12590è¦ 12591ä» 12592æ¶ 12593æ¥ 12594ç¨ 12595们 12596ç 12597å° 12598ä½ 12599å° 12600äº 12601åº 12602å°± 12603å 12604对 12605æ 12606ä¼ 12607å¯ 12608主 12609å 12610å¹´ 12611å¨ 12612å 12613å·¥ 12614ä¹ 12615è½ 12616ä¸ 12617è¿ 12618å 12619说 12620产 12621ç§ 12622é¢ 12623è 12624æ¹ 12625å 12626å¤ 12627å® 12628è¡ 12629å¦ 12630æ³ 12631æ 12632æ° 12633å¾ 12634ç» 12635å 12636ä¸ 12637ä¹ 12638è¿ 12639ç 12640ç 12641é¨ 12642度 12643å®¶ 12644çµ 12645å 12646é 12647å¦ 12648æ°´ 12649å 12650é« 12651èª 12652äº 12653ç 12654èµ· 12655å° 12656ç© 12657ç° 12658å® 12659å 12660é 12661é½ 12662两 12663ä½ 12664å¶ 12665æº 12666å½ 12667使 12668ç¹ 12669ä» 12670ä¸ 12671æ¬ 12672å» 12673æ 12674æ§ 12675好 12676åº 12677å¼ 12678å® 12679å 12680è¿ 12681å 12682ç± 12683å ¶ 12684äº 12685ç¶ 12686å 12687å¤ 12688天 12689æ¿ 12690å 12691æ¥ 12692é£ 12693社 12694ä¹ 12695äº 12696å¹³ 12697å½¢ 12698ç¸ 12699å ¨ 12700表 12701é´ 12702æ · 12703ä¸ 12704å ³ 12705å 12706é 12707æ° 12708线 12709å 12710æ° 12711æ£ 12712å¿ 12713å 12714ä½ 12715æ 12716ç 12717å 12718å 12719ä¹ 12720å© 12721æ¯ 12722æ 12723ä½ 12724è´¨ 12725æ° 12726第 12727å 12728é 12729å½ 12730æ¤ 12731å 12732æ¡ 12733åª 12734没 12735ç» 12736è§£ 12737é® 12738æ 12739建 12740æ 12741å ¬ 12742æ 12743ç³» 12744å 12745å¾ 12746æ 12747è 12748æ 12749ç« 12750代 12751æ³ 12752å·² 12753é 12754å¹¶ 12755æ 12756ç´ 12757é¢ 12758å 12759ç¨ 12760å± 12761äº 12762æ 12763æ 12764象 12765å 12766é© 12767ä½ 12768å ¥ 12769常 12770æ 12771æ» 12772次 12773å 12774å¼ 12775æ´» 12776设 12777å 12778管 12779ç¹ 12780ä»¶ 12781é¿ 12782æ± 12783è 12784头 12785åº 12786èµ 12787è¾¹ 12788æµ 12789è·¯ 12790级 12791å° 12792å¾ 12793å±± 12794ç» 12795æ¥ 12796ç¥ 12797è¾ 12798å° 12799ç» 12800è§ 12801计 12802å« 12803她 12804æ 12805è§ 12806æ 12807æ ¹ 12808论 12809è¿ 12810å 12811æ 12812å 12813ä¹ 12814åº 12815强 12816æ¾ 12817å³ 12818西 12819被 12820å¹² 12821å 12822å¿ 12823æ 12824å 12825å 12826å 12827ä»» 12828å 12829æ® 12830å¤ 12831é 12832å 12833ç» 12834è² 12835å 12836é¨ 12837å³ 12838ä¿ 12839æ²» 12840å 12841é 12842ç¾ 12843è§ 12844ç 12845é¢ 12846ä¸ 12847æµ· 12848å£ 12849ä¸ 12850导 12851å¨ 12852å 12853å¿ 12854ä¸ 12855é 12856å¢ 12857äº 12858æµ 12859é¶ 12860æ²¹ 12861æ 12862æ¯ 12863æ 12864交 12865å 12866è 12867ä» 12868认 12869å 12870å ± 12871æ 12872æ¶ 12873è¯ 12874æ¹ 12875æ¸ 12876ç¾ 12877å 12878é 12879转 12880æ´ 12881å 12882é£ 12883å 12884æ 12885ç½ 12886æ 12887é 12888è± 12889带 12890å® 12891åº 12892身 12893车 12894ä¾ 12895ç 12896å¡ 12897å · 12898ä¸ 12899æ¯ 12900ç® 12901è³ 12902è¾¾ 12903èµ° 12904积 12905示 12906è®® 12907声 12908æ¥ 12909æ 12910å® 12911ç±» 12912å « 12913离 12914å 12915å 12916ç¡® 12917æ 12918ç§ 12919å¼ 12920ä¿¡ 12921马 12922è 12923è¯ 12924ç±³ 12925æ´ 12926空 12927å 12928åµ 12929ä» 12930é 12931温 12932ä¼ 12933å 12934许 12935æ¥ 12936群 12937广 12938ç³ 12939è®° 12940é 12941段 12942ç 12943ç 12944æ 12945æ 12946å¾ 12947å« 12948ä¸ 12949ç©¶ 12950è§ 12951è¶ 12952ç» 12953è£ 12954å½± 12955ç® 12956ä½ 12957æ 12958é³ 12959ä¼ 12960书 12961å¸ 12962å¤ 12963容 12964å¿ 12965é¡» 12966é 12967å 12968é 12969éª 12970è¿ 12971æ 12972æ·± 12973é¾ 12974è¿ 12975ç¿ 12976å 12977å¨ 12978å§ 12979ç´ 12980æ 12981å¤ 12982å 12983å 12984é 12985ç 12986å 12987ä¹ 12988å 12989约 12990æ¯ 12991è¬ 12992å² 12993æ 12994å³ 12995便 12996å¢ 12997å¾ 12998é ¸ 12999å 13000å¸ 13001å 13002ä½ 13003é¤ 13004æ¶ 13005æ 13006åº 13007ç§° 13008太 13009å 13010ç²¾ 13011å¼ 13012å· 13013ç 13014æ 13015ç»´ 13016å 13017é 13018æ 13019å 13020å 13021å 13022æ¯ 13023亲 13024å¿« 13025æ 13026æ¯ 13027é¢ 13028æ¥ 13029æ± 13030å 13031ç¼ 13032ç 13033æ 13034æ ¼ 13035å » 13036æ 13037ç½® 13038æ´¾ 13039å± 13040ç 13041å§ 13042å´ 13043ä¸ 13044ç¶ 13045è² 13046å 13047京 13048è¯ 13049é 13050å± 13051å 13052å 13053ç« 13054ä½ 13055è° 13056满 13057å¿ 13058å± 13059ç § 13060å 13061红 13062ç» 13063å¼ 13064å¬ 13065该 13066é 13067ä»· 13068严 13069é¦ 13070åº 13071æ¶² 13072å® 13073å¾· 13074é 13075ç 13076è 13077失 13078å° 13079æ» 13080讲 13081é 13082女 13083é» 13084æ¨ 13085æ¾ 13086è° 13087罪 13088ç¥ 13089èº 13090å¢ 13091å¸ 13092å« 13093ä¼ 13094æ 13095å¯ 13096æ¹ 13097è¥ 13098项 13099é² 13100举 13101ç 13102è± 13103æ°§ 13104å¿ 13105å 13106æ 13107å° 13108è½ 13109æ¨ 13110帮 13111è½® 13112ç ´ 13113äº 13114å¸ 13115å´ 13116注 13117è¿ 13118å 13119æ 13120æ 13121ä¾ 13122æ²³ 13123æ 13124å° 13125å¦ 13126æ½ 13127å 13128æ 13129溶 13130æ 13131æ¢ 13132æ¡ 13133è¨ 13134士 13135å 13136æ¦ 13137åº 13138å¶ 13139é±¼ 13140æ³¢ 13141è§ 13142ä» 13143è´¹ 13144ç´§ 13145ç± 13146å·¦ 13147ç« 13148æ© 13149æ 13150害 13151ç» 13152è½» 13153æ 13154è¯ 13155é£ 13156å 13157å µ 13158æº 13159å¤ 13160æ¤ 13161å¸ 13162è¶³ 13163æ 13164ç» 13165å·® 13166è´ 13167æ¿ 13168ç° 13169é 13170é» 13171ç¯
13172è´ 13173å» 13174è 13175ç»§ 13176å ´ 13177ä¼¼ 13178ä½ 13179å 13180æ² 13181è¾ 13182ä¿® 13183æ 13184å 13185夫 13186å¤ 13187é 13188ç¬ 13189è¹ 13190å 13191å³ 13192è´¢ 13193å 13194å¯ 13195æ¥ 13196è 13197è§ 13198æ± 13199ç» 13200å 13201å·´ 13202è· 13203è½ 13204æ 13205é£ 13206æ£ 13207å¸ 13208å© 13209å 13210é³ 13211äº 13212å 13213å 13214æ 13215è 13216æ 13217å 13218ç 13219å¤ 13220å¾ 13221æ¢ 13222æª 13223è· 13224ç 13225é¢ 13226æ¾ 13227端 13228è´£ 13229ç« 13230ç® 13231è¿° 13232é± 13233å¯ 13234å°½ 13235å¸ 13236å° 13237è 13238å² 13239æ¿ 13240ç¬ 13241令 13242é 13243é¿ 13244宣 13245ç¯ 13246å 13247请 13248è¶ 13249å¾® 13250让 13251æ§ 13252å· 13253è¯ 13254è½´ 13255æ¾ 13256å¦ 13257纪 13258ç 13259ä¾ 13260ä¼ 13261é¡¶ 13262ç¡ 13263è½½ 13264å 13265æ¿ 13266çª 13267å 13268ç² 13269æ 13270ç¥ 13271客 13272è¢ 13273å· 13274è 13275ç» 13276æ 13277å 13278å 13279æµ 13280ä¸ 13281å 13282è¯ 13283念 13284é 13285ä» 13286ç½ 13287ç 13288å 13289æ´ 13290é 13291è¦ 13292å¤ 13293å 13294ç§» 13295é¢ 13296é 13297é 13298æ·· 13299æ¯ 13300ç 13301ç® 13302ç» 13303è 13304æ±½ 13305æ 13306äº 13307åª 13308æ¢ 13309è· 13310å« 13311å 13312ç 13313央 13314å¯ 13315ç§ 13316è¿ 13317å¢ 13318è¥ 13319å° 13320æ´² 13321å» 13322æ¬ 13323æ¿ 13324å 13325æ 13326ç 13327室 13328å¾ 13329æ ¸ 13330æ ¡ 13331æ£ 13332ä¾µ 13333å§ 13334ç² 13335游 13336ä¹ 13337è 13338å³ 13339æ§ 13340模 13341æ¹ 13342è´§ 13343æ 13344é¢ 13345é» 13346毫 13347æ® 13348稳 13349ä¹ 13350å¦ 13351æ¤ 13352æ¯ 13353æ© 13354é¶ 13355è¯ 13356æ¥ 13357é 13358å® 13359æ¿ 13360åº 13361纸 13362å» 13363缺 13364é¨ 13365å 13366é 13367å 13368å 13369æ¥ 13370å± 13371误 13372è® 13373æ¿ 13374审 13375é 13376è· 13377è¶ 13378é² 13379ç²® 13380æ¤ 13381å© 13382è± 13383ç¡« 13384è¥ 13385å 13386é¾ 13387æ¼ 13388ç¶ 13389æ¸ 13390è¡ 13391欢 13392械 13393æ 13394æ 13395æ² 13396å 13397æ» 13398è° 13399ç¾ 13400讨 13401æ 13402ç² 13403ä¹± 13404ç 13405ç 13406ä¹ 13407æ 13408è¯ 13409å® 13410é² 13411è´µ 13412é 13413ç ¤ 13414读 13415ç 13416伯 13417é¦ 13418ä» 13419è¿« 13420å¥ 13421丰 13422å¹ 13423æ¡ 13424å ° 13425æ 13426弦 13427è 13428æ² 13429å 13430ç©¿ 13431æ§ 13432ç 13433ä¹ 13434è° 13435顺 13436ç 13437缩 13438å¾ 13439è¸ 13440å 13441æ¾ 13442è 13443å° 13444å¼ 13445å 13446è 13447æ 13448ç¦ 13449ä¹° 13450æ 13451äº 13452æ¦ 13453æ ¢ 13454æ 13455ç£ 13456å 13457ç¥ 13458ç 13459ä¿ 13460é 13461è¡¥ 13462è¯ 13463ç¿» 13464è 13465è·µ 13466å°¼ 13467è¡£ 13468宽 13469æ¬ 13470æ£ 13471å¸ 13472伤 13473æ 13474å 13475ç§ 13476å® 13477æ°¢ 13478å¥ 13479ç£ 13480æ¯ 13481æ¶ 13482亮 13483æ« 13484宪 13485åº 13486ç¼ 13487ç 13488触 13489æ 13490é· 13491é 13492è¯ 13493座 13494å± 13495æ 13496è£ 13497è 13498å¼ 13499å¨ 13500æ¯ 13501å¨ 13502绿 13503æ¶ 13504å 13505ç 13506è¡¡ 13507鸡 13508å 13509å»¶ 13510å± 13511è¶ 13512å± 13513乡 13514临 13515é 13516顾 13517æ 13518å 13519ç¯ 13520å² 13521æª 13522æ 13523è 13524å§ 13525ç 13526èµµ 13527è·³ 13528å¥ 13529å£ 13530课 13531å¯ 13532è¡ 13533é¢ 13534款 13535ç» 13536å· 13537é½ 13538ä¼ 13539è¸ 13540æ® 13541æ°¸ 13542å® 13543è 13544å· 13545ç 13546岩 13547å¼± 13548é¶ 13549æ¨ 13550å¥ 13551沿 13552é² 13553æ 13554æ¢ 13555æ» 13556é 13557é¥ 13558æµ 13559èª 13560æ 13561èµ¶ 13562åº 13563夺 13564ä¼ 13565çµ 13566ç¨ 13567é 13568ç 13569èµ 13570å½ 13571å¬ 13572é¼ 13573æ 13574ç 13575è£ 13576é© 13577康 13578å¯ 13579å½ 13580è 13581纯 13582å 13583ç³ 13584ç 13585横 13586符 13587ç§ 13588åª 13589å 13590å 13591æª 13592润 13593å¹ 13594å 13595ç« 13596ç 13597è« 13598æ³½ 13599è 13600壤 13601碳 13602欧 13603é 13604ä¾§ 13605寨 13606æ¢ 13607å½» 13608è 13609æ 13610è 13611åº 13612纳 13613å¼¹ 13614饲 13615伸 13616æ 13617麦 13618湿 13619æ 13620è· 13621ç¦ 13622å¡ 13623åº 13624ç 13625æ¶ 13626æ· 13627访 13628å¡ 13629å¥ 13630é 13631æ¢ 13632å 13633æ 13634迹 13635å¡ 13636æ°¯ 13637é 13638份 13639æ¯ 13640æ³¥ 13641é 13642æ´ 13643æ 13644ç° 13645彩 13646å 13647è 13648å¤ 13649æ© 13650å¿ 13651é 13652ç® 13653硬 13654äº 13655ç¹ 13656å 13657éª 13658å½ 13659亦 13660æ½ 13661ç¯ 13662éµ 13663é´ 13664ä¸ 13665å°º 13666追 13667å 13668é 13669è¿ 13670æ³ 13671ç¸ 13672楼 13673é¿ 13674è° 13675å¨ 13676é 13677çª 13678æ 13679ç´¯ 13680å 13681å ¸ 13682é¦ 13683ç´¢ 13684秦 13685è 13686æ½® 13687ç· 13688è± 13689忽 13690æ 13691æ 13692å¡ 13693é 13694æ 13695æ± 13696æ¿ 13697纤 13698ç² 13699å¾ 13700å° 13701ç 13702æ¥ 13703è°¢ 13704å¥ 13705è´ 13706磨 13707å 13708æ± 13709æ 13710ç¢ 13711骨 13712ç 13713æ 13714å¼ 13715æ´ 13716å² 13717è´¯ 13718æ® 13719é 13720è¯ 13721亡 13722å£ 13723é¡¿ 13724å® 13725å 13726å° 13727é» 13728æ 13729ç® 13730æ® 13731å¬ 13732æ¡¥ 13733å¦ 13734è¦ 13735综 13736æ 13737å´ 13738ä» 13739æµ® 13740é 13741å¾ 13742æ¨ 13743æ 13744è°· 13745èµ 13746ç®± 13747é 13748订 13749ç· 13750å¹ 13751å 13752纷 13753å 13754è´¥ 13755å® 13756ç» 13757å·¨ 13758è 13759å¦ 13760è£ 13761é 13762æ¹¾ 13763é® 13764å¡ 13765é©» 13766é 13767æ 13768æ© 13769å¥ 13770å 13771碱 13772齿 13773æª 13774ç¼ 13775麻 13776纺 13777ç¦ 13778åº 13779ç 13780ç 13781ç¼ 13782å 13783ç 13784æ 13785å© 13786æ¶ 13787ç 13788å´ 13789æ 13790岸 13791æ 13792åº 13793è¡ 13794è 13795å§ 13796è´¸ 13797è 13798奴 13799å¦ 13800æ¯ 13801ä¹ 13802ä¼ 13803æ¢ 13804å 13805纱 13806æ 13807辩 13808è³ 13809彪 13810è£ 13811亿 13812ç 13813æµ 13814è 13815ç§ 13816è¨ 13817ä¿ 13818ç½ 13819è 13820åº 13821å· 13822纵 13823寸 13824æ± 13825æ 13826æ´ª 13827è´º 13828éª 13829æ¬ 13830ç 13831ç¯ 13832æ´¥ 13833稻 13834å¢ 13835软 13836å 13837å 13838æ» 13839å 13840è 13841è³ 13842è¯ 13843å¡ 13844æ± 13845è¡ 13846è ¿ 13847仪 13848æ 13849å°¾ 13850è½§ 13851å° 13852è´¡ 13853ç» 13854é» 13855å 13856é» 13857å 13858é 13859é 13860æ°¨ 13861é 13862å³° 13863å¸ 13864港 13865ä¼ 13866轨 13867亩 13868æ¯ 13869æ¦ 13870è« 13871åº 13872浪 13873ç§ 13874æ´ 13875æ ª 13876å¥ 13877å® 13878è¡ 13879å² 13880ç 13881泡 13882ç¡ 13883ç«¥ 13884é¸ 13885汤 13886é 13887ä¼ 13888æ± 13889è 13890ç§ 13891ç» 13892ç¸ 13893å² 13894磷 13895绩 13896æ 13897æ·¡ 13898å° 13899å¯ 13900é· 13901æ´ 13902å 13903å¾ 13904é¢ 13905泪 13906ç¨ 13907å¿ 13908æ³µ 13909è 13910æ 13911æ´ 13912æ 13913é 13914è¾ 13915壮 13916é 13917è´« 13918è 13919弯 13920æ© 13921æ³° 13922å¹¼ 13923å»· 13924å° 13925çª 13926纲 13927å¼ 13928é¶ 13929ç 13930æ° 13931宫 13932å§ 13933é 13934ç 13935æª 13936å°¤ 13937ç´ 13938循 13939æ 13940è 13941è¿ 13942夹 13943è ° 13944ç¼ 13945ç 13946ç©· 13947森 13948æ 13949竹 13950æ² 13951å¬ 13952绳 13953å¿ 13954é¦ 13955å© 13956幸 13957æµ 13958æ 13959æ¥ 13960ç 13961è´® 13962礼 13963滤 13964é 13965纹 13966ç½¢ 13967æ 13968å± 13969å 13970è¢ 13971å 13972å¤ 13973ç½ 13974ç¦ 13975æ½ 13976ä¼ 13977墨 13978欲 13979ç¼ 13980å§ 13981å 13982饱 13983仿 13984å¥ 13985é 13986鬼 13987丽 13988è·¨ 13989é» 13990æ 13991é¾ 13992æ« 13993å 13994è¢ 13995ç 13996污 13997å¹ 13998诸 13999å¼§ 14000å± 14001æ¢ 14002奶 14003æ´ 14004ç¾ 14005è 14006é´ 14007è¯ 14008讼 14009æ± 14010æ¯ 14011æ 14012å¯ 14013æº 14014å 14015å¯ 14016å± 14017è· 14018渡 14019æ 14020丹 14021è° 14022è´ 14023碰 14024æ 14025ç¹ 14026æ´ 14027ç 14028梦 14029è½ 14030ç 14031赤 14032æ¸ 14033å 14034æ¬ 14035é¢ 14036å¥ 14037é 14038仲 14039è 14040ç¨ 14041妹 14042ä¹ 14043ç 14044ç³ 14045æ¡ 14046éµ 14047å 14048é 14049èº 14050ä» 14051é 14052é 14053æ 14054æ°® 14055å ¼ 14056é 14057ç¢ 14058赫 14059æ¨ 14060å¿ 14061è 14062缸 14063çµ 14064æ¢ 14065å 14066å·§ 14067壳 14068å 14069æ 14070讯 14071è¯ 14072碧 14073祥 14074æ¯ 14075页 14076å·¡ 14077ç© 14078æ² 14079ç 14080é¾ 14081伦 14082票 14083寻 14084æ¡ 14085éº 14086å£ 14087æ 14088æ° 14089é 14090è¶£ 14091æ¬ 14092è 14093è ¾ 14094è´´ 14095æ 14096æ»´ 14097ç 14098é 14099è¾ 14100妻 14101å¡« 14102æ¤ 14103å¨ 14104ç¾ 14105é¹ 14106æ° 14107ç´« 14108ç 14109é 14110æ 14111å 14112é¶ 14113ä¼ 14114å 14115ç 14116ç¶ 14117å© 14118æ 14119è 14120æ¸ 14121å¿ 14122è¾ 14123è¡ 14124é» 14125è¸ 14126å·© 14127æ¤ 14128å¶ 14129å¼ 14130æ§½ 14131å² 14132ä¹³ 14133é 14134å 14135ä» 14136ç 14137ç 14138ç§ 14139ä¹ 14140è° 14141ä¼´ 14142ç 14143æµ 14144ä¸ 14145æ 14146ç¥ 14147æ©¡ 14148æ³ 14149è¿· 14150æ 14151ç 14152ç§§ 14153è 14154详 14155ç°§ 14156è¸ 14157ç· 14158è°± 14159å 14160宾 14161ç³ 14162æ´ 14163è¾ 14164æ¤ 14165ç« 14166é 14167æ 14168ç² 14169ä¹ 14170绪 14171è© 14172ç± 14173æ 14174æ¶ 14175ç 14176ç 14177侦 14178æ¬ 14179æ 14180享 14181çº 14182é 14183ç 14184é 14185æ· 14186æ¨ 14187ç² 14188é¸ 14189ç¬ 14190èµ 14191é 14192ç© 14193éµ 14194ç¥ 14195ç§ 14196æµ 14197è² 14198å½¹ 14199å½¼ 14200æ 14201é¸ 14202è¶ 14203å¤ 14204æ¨ 14205ç 14206è¾ 14207ç§© 14208åµ 14209ç½² 14210梯 14211ç 14212滩 14213æ£ 14214驱 14215ç 14216峡 14217å 14218å¥ 14219寿 14220è¯ 14221浸 14222æ³ 14223帽 14224è¿ 14225ç¡ 14226ç 14227è´· 14228æ¼ 14229稿 14230å 14231å«© 14232è 14233è¯ 14234ç¢ 14235å 14236è 14237奥 14238鸣 14239å² 14240ç¾ 14241å 14242串 14243å¡ 14244ç» 14245é µ 14246è 14247ç 14248é¡ 14249åº 14250ç¹ 14251å» 14252è¾ 14253æ 14254è¢ 14255ç 14256æ 14257å 14258æ± 14259é¾ 14260é¸ 14261æ¼ 14262æ² 14263ç 14264ç
14265æ·» 14266æ£ 14267ç© 14268ç¡ 14269é© 14270é¼ 14271æ 14272侨 14273å 14274æº 14275ç¢ 14276æ ½ 14277ç 14278æ¯ 14279æ£ 14280é¦ 14281å 14282豪 14283è¾½ 14284å 14285鸿 14286æ¦ 14287å 14288æ 14289ç 14290å 14291è¾ 14292æ© 14293饮 14294æ¬ 14295éª 14296è¾ 14297å¾ 14298æ£ 14299ä¼° 14300è 14301ç» 14302é¾ 14303ä¸ 14304æµ 14305å§ 14306æ 14307å® 14308è¾ 14309é 14310é 14311å¿ 14312è 14313å´ 14314åª 14315å¡ 14316å 14317å¬ 14318é©¶ 14319è¯ 14320å· 14321æ¥ 14322çª 14323èµ 14324å¥ 14325ä½ 14326æµ 14327漫 14328æ¼ 14329æ 14330é 14331æ¡ 14332æ¶ 14333ä» 14334è¿ 14335ä¿ 14336äº 14337è 14338é 14339棱 14340è¦ 14341æ¡ 14342æ 14343å 14344æ 14345éª 14346å 14347æº 14348沸 14349å¤ 14350å 14351å 14352æ¸ 14353å± 14354ç¾ 14355å¦ 14356æ 14357ä»° 14358ç 14359è 14360è° 14361æ 14362é 14363æ¡ 14364å² 14365å 14366è¡° 14367ç 14368æ¸ 14369è 14370èµ 14371æ¶ 14372ç 14373æ¹ 14374é 14375è 14376å© 14377å 14378ç 14379纬 14380æ¯ 14381æ¨ 14382伪 14383ç 14384ç ® 14385å¹ 14386é 14387æ 14388è 14389笼 14390é · 14391å· 14392å¼ 14393é¥ 14394æ 14395æ° 14396å 14397é¼» 14398翼 14399纶 14400å 14401ç± 14402é® 14403ç½ 14404ç» 14405æ£ 14406æ 14407è¨ 14408è¬ 14409寺 14410骤 14411ç© 14412å¶ 14413æ¯ 14414å 14415å°¸ 14416å¸ 14417ç» 14418å¯ 14419çº 14420ç° 14421è½° 14422欣 14423æ 14424ç¦ 14425御 14426é 14427é¦ 14428丧 14429æ¬ 14430é» 14431å 14432æ 14433æ 14434é 14435äº 14436é ¯ 14437è¿ 14438è 14439è 14440é ¶ 14441é² 14442å¿§ 14443é 14444顽 14445ç¾½ 14446涨 14447å¸ 14448ä» 14449éª 14450è¾ 14451æ© 14452æ 14453å§ 14454è 14455æ 14456é£ 14457æ¼ 14458æ 14459欺 14460å¾ 14461é 14462ç· 14463æ± 14464åµ 14465饰 14466è§ 14467é 14468é® 14469è¿ 14470ç 14471æ 14472å§» 14473èµ´ 14474å®´ 14475ç¦ 14476åº 14477å¸ 14478æ 14479é 14480æ¨ 14481é 14482è£ 14483饼 14484é 14485å§¿ 14486æ 14487å 14488è ¹ 14489妥 14490æ 14491è´¤ 14492æ 14493æª 14494è¡ 14495èº 14496丢 14497浩 14498å¾½ 14499æ 14500å« 14501æ¡ 14502è§ 14503è´ª 14504æ ° 14505ç¼´ 14506汪 14507æ 14508å¯ 14509诺 14510å§ 14511è° 14512å¶ 14513å£ 14514诬 14515è 14516æ 14517躺 14518ç 14519éª 14520ä¹ 14521溪 14522ä¸ 14523å¢ 14524æ¹ 14525é· 14526å¨ 14527å® 14528驾 14529ç¼ 14530æ 14531æ 14532é 14533æ· 14534é¢ 14535å¹» 14536æ 14537æ 14538æ¨ 14539ä½³ 14540ä» 14541è 14542çª 14543涤 14544å 14545ç§ 14546å ¡ 14547æ³¼ 14548è± 14549罩 14550é 14551æ 14552è 14553è 14554滨 14555ä¿© 14556æ 14557æ¹ 14558ç 14559é 14560éµ 14561è 14562ç¯ 14563æ·® 14564é 14565ç 14566粪 14567ç 14568宿 14569æ¡£ 14570æ 14571驳 14572å« 14573è£ 14574å¾ 14575ç® 14576æ 14577è 14578æ 14579æ 14580辨 14581殿 14582è² 14583æ 14584æ 14585é ± 14586å± 14587ç« 14588å 14589è¡ 14590å µ 14591沫 14592ç± 14593ç 14594å 14595é 14596è± 14597æ² 14598è¾ 14599é© 14600ç 14601å 14602å·· 14603饿 14604祸 14605ä¸ 14606ç 14607æº 14608æ° 14609é» 14610å½ 14611å° 14612å¿ 14613妨 14614è 14615å 14616é¦ 14617æ¨ 14618ç® 14619æ`.split(` 14620`)),of}var cf={},XC;function kte(){return XC||(XC=1,Object.defineProperty(cf,"__esModule",{value:!0}),cf.wordlist=void 0,cf.wordlist=`aÌbaco 14621abdomen 14622abeja 14623abierto 14624abogado 14625abono 14626aborto 14627abrazo 14628abrir 14629abuelo 14630abuso 14631acabar 14632academia 14633acceso 14634accioÌn 14635aceite 14636acelga 14637acento 14638aceptar 14639aÌcido 14640aclarar 14641acneÌ 14642acoger 14643acoso 14644activo 14645acto 14646actriz 14647actuar 14648acudir 14649acuerdo 14650acusar 14651adicto 14652admitir 14653adoptar 14654adorno 14655aduana 14656adulto 14657aeÌreo 14658afectar 14659aficioÌn 14660afinar 14661afirmar 14662aÌgil 14663agitar 14664agoniÌa 14665agosto 14666agotar 14667agregar 14668agrio 14669agua 14670agudo 14671aÌguila 14672aguja 14673ahogo 14674ahorro 14675aire 14676aislar 14677ajedrez 14678ajeno 14679ajuste 14680alacraÌn 14681alambre 14682alarma 14683alba 14684aÌlbum 14685alcalde 14686aldea 14687alegre 14688alejar 14689alerta 14690aleta 14691alfiler 14692alga 14693algodoÌn 14694aliado 14695aliento 14696alivio 14697alma 14698almeja 14699almiÌbar 14700altar 14701alteza 14702altivo 14703alto 14704altura 14705alumno 14706alzar 14707amable 14708amante 14709amapola 14710amargo 14711amasar 14712aÌmbar 14713aÌmbito 14714ameno 14715amigo 14716amistad 14717amor 14718amparo 14719amplio 14720ancho 14721anciano 14722ancla 14723andar 14724andeÌn 14725anemia 14726aÌngulo 14727anillo 14728aÌnimo 14729aniÌs 14730anotar 14731antena 14732antiguo 14733antojo 14734anual 14735anular 14736anuncio 14737anÌadir 14738anÌejo 14739anÌo 14740apagar 14741aparato 14742apetito 14743apio 14744aplicar 14745apodo 14746aporte 14747apoyo 14748aprender 14749aprobar 14750apuesta 14751apuro 14752arado 14753aranÌa 14754arar 14755aÌrbitro 14756aÌrbol 14757arbusto 14758archivo 14759arco 14760arder 14761ardilla 14762arduo 14763aÌrea 14764aÌrido 14765aries 14766armoniÌa 14767arneÌs 14768aroma 14769arpa 14770arpoÌn 14771arreglo 14772arroz 14773arruga 14774arte 14775artista 14776asa 14777asado 14778asalto 14779ascenso 14780asegurar 14781aseo 14782asesor 14783asiento 14784asilo 14785asistir 14786asno 14787asombro 14788aÌspero 14789astilla 14790astro 14791astuto 14792asumir 14793asunto 14794atajo 14795ataque 14796atar 14797atento 14798ateo 14799aÌtico 14800atleta 14801aÌtomo 14802atraer 14803atroz 14804atuÌn 14805audaz 14806audio 14807auge 14808aula 14809aumento 14810ausente 14811autor 14812aval 14813avance 14814avaro 14815ave 14816avellana 14817avena 14818avestruz 14819avioÌn 14820aviso 14821ayer 14822ayuda 14823ayuno 14824azafraÌn 14825azar 14826azote 14827azuÌcar 14828azufre 14829azul 14830baba 14831babor 14832bache 14833bahiÌa 14834baile 14835bajar 14836balanza 14837balcoÌn 14838balde 14839bambuÌ 14840banco 14841banda 14842banÌo 14843barba 14844barco 14845barniz 14846barro 14847baÌscula 14848bastoÌn 14849basura 14850batalla 14851bateriÌa 14852batir 14853batuta 14854bauÌl 14855bazar 14856bebeÌ 14857bebida 14858bello 14859besar 14860beso 14861bestia 14862bicho 14863bien 14864bingo 14865blanco 14866bloque 14867blusa 14868boa 14869bobina 14870bobo 14871boca 14872bocina 14873boda 14874bodega 14875boina 14876bola 14877bolero 14878bolsa 14879bomba 14880bondad 14881bonito 14882bono 14883bonsaÌi 14884borde 14885borrar 14886bosque 14887bote 14888botiÌn 14889boÌveda 14890bozal 14891bravo 14892brazo 14893brecha 14894breve 14895brillo 14896brinco 14897brisa 14898broca 14899broma 14900bronce 14901brote 14902bruja 14903brusco 14904bruto 14905buceo 14906bucle 14907bueno 14908buey 14909bufanda 14910bufoÌn 14911buÌho 14912buitre 14913bulto 14914burbuja 14915burla 14916burro 14917buscar 14918butaca 14919buzoÌn 14920caballo 14921cabeza 14922cabina 14923cabra 14924cacao 14925cadaÌver 14926cadena 14927caer 14928cafeÌ 14929caiÌda 14930caimaÌn 14931caja 14932cajoÌn 14933cal 14934calamar 14935calcio 14936caldo 14937calidad 14938calle 14939calma 14940calor 14941calvo 14942cama 14943cambio 14944camello 14945camino 14946campo 14947caÌncer 14948candil 14949canela 14950canguro 14951canica 14952canto 14953canÌa 14954canÌoÌn 14955caoba 14956caos 14957capaz 14958capitaÌn 14959capote 14960captar 14961capucha 14962cara 14963carboÌn 14964caÌrcel 14965careta 14966carga 14967carinÌo 14968carne 14969carpeta 14970carro 14971carta 14972casa 14973casco 14974casero 14975caspa 14976castor 14977catorce 14978catre 14979caudal 14980causa 14981cazo 14982cebolla 14983ceder 14984cedro 14985celda 14986ceÌlebre 14987celoso 14988ceÌlula 14989cemento 14990ceniza 14991centro 14992cerca 14993cerdo 14994cereza 14995cero 14996cerrar 14997certeza 14998ceÌsped 14999cetro 15000chacal 15001chaleco 15002champuÌ
15003chancla 15004chapa 15005charla 15006chico 15007chiste 15008chivo 15009choque 15010choza 15011chuleta 15012chupar 15013cicloÌn 15014ciego 15015cielo 15016cien 15017cierto 15018cifra 15019cigarro 15020cima 15021cinco 15022cine 15023cinta 15024cipreÌs 15025circo 15026ciruela 15027cisne 15028cita 15029ciudad 15030clamor 15031clan 15032claro 15033clase 15034clave 15035cliente 15036clima 15037cliÌnica 15038cobre 15039coccioÌn 15040cochino 15041cocina 15042coco 15043coÌdigo 15044codo 15045cofre 15046coger 15047cohete 15048cojiÌn 15049cojo 15050cola 15051colcha 15052colegio 15053colgar 15054colina 15055collar 15056colmo 15057columna 15058combate 15059comer 15060comida 15061coÌmodo 15062compra 15063conde 15064conejo 15065conga 15066conocer 15067consejo 15068contar 15069copa 15070copia 15071corazoÌn 15072corbata 15073corcho 15074cordoÌn 15075corona 15076correr 15077coser 15078cosmos 15079costa 15080craÌneo 15081craÌter 15082crear 15083crecer 15084creiÌdo 15085crema 15086criÌa 15087crimen 15088cripta 15089crisis 15090cromo 15091croÌnica 15092croqueta 15093crudo 15094cruz 15095cuadro 15096cuarto 15097cuatro 15098cubo 15099cubrir 15100cuchara 15101cuello 15102cuento 15103cuerda 15104cuesta 15105cueva 15106cuidar 15107culebra 15108culpa 15109culto 15110cumbre 15111cumplir 15112cuna 15113cuneta 15114cuota 15115cupoÌn 15116cuÌpula 15117curar 15118curioso 15119curso 15120curva 15121cutis 15122dama 15123danza 15124dar 15125dardo 15126daÌtil 15127deber 15128deÌbil 15129deÌcada 15130decir 15131dedo 15132defensa 15133definir 15134dejar 15135delfiÌn 15136delgado 15137delito 15138demora 15139denso 15140dental 15141deporte 15142derecho 15143derrota 15144desayuno 15145deseo 15146desfile 15147desnudo 15148destino 15149desviÌo 15150detalle 15151detener 15152deuda 15153diÌa 15154diablo 15155diadema 15156diamante 15157diana 15158diario 15159dibujo 15160dictar 15161diente 15162dieta 15163diez 15164difiÌcil 15165digno 15166dilema 15167diluir 15168dinero 15169directo 15170dirigir 15171disco 15172disenÌo 15173disfraz 15174diva 15175divino 15176doble 15177doce 15178dolor 15179domingo 15180don 15181donar 15182dorado 15183dormir 15184dorso 15185dos 15186dosis 15187dragoÌn 15188droga 15189ducha 15190duda 15191duelo 15192duenÌo 15193dulce 15194duÌo 15195duque 15196durar 15197dureza 15198duro 15199eÌbano 15200ebrio 15201echar 15202eco 15203ecuador 15204edad 15205edicioÌn 15206edificio 15207editor 15208educar 15209efecto 15210eficaz 15211eje 15212ejemplo 15213elefante 15214elegir 15215elemento 15216elevar 15217elipse 15218eÌlite 15219elixir 15220elogio 15221eludir 15222embudo 15223emitir 15224emocioÌn 15225empate 15226empenÌo 15227empleo 15228empresa 15229enano 15230encargo 15231enchufe 15232enciÌa 15233enemigo 15234enero 15235enfado 15236enfermo 15237enganÌo 15238enigma 15239enlace 15240enorme 15241enredo 15242ensayo 15243ensenÌar 15244entero 15245entrar 15246envase 15247enviÌo 15248eÌpoca 15249equipo 15250erizo 15251escala 15252escena 15253escolar 15254escribir 15255escudo 15256esencia 15257esfera 15258esfuerzo 15259espada 15260espejo 15261espiÌa 15262esposa 15263espuma 15264esquiÌ 15265estar 15266este 15267estilo 15268estufa 15269etapa 15270eterno 15271eÌtica 15272etnia 15273evadir 15274evaluar 15275evento 15276evitar 15277exacto 15278examen 15279exceso 15280excusa 15281exento 15282exigir 15283exilio 15284existir 15285eÌxito 15286experto 15287explicar 15288exponer 15289extremo 15290faÌbrica 15291faÌbula 15292fachada 15293faÌcil 15294factor 15295faena 15296faja 15297falda 15298fallo 15299falso 15300faltar 15301fama 15302familia 15303famoso 15304faraoÌn 15305farmacia 15306farol 15307farsa 15308fase 15309fatiga 15310fauna 15311favor 15312fax 15313febrero 15314fecha 15315feliz 15316feo 15317feria 15318feroz 15319feÌrtil 15320fervor 15321festiÌn 15322fiable 15323fianza 15324fiar 15325fibra 15326ficcioÌn 15327ficha 15328fideo 15329fiebre 15330fiel 15331fiera 15332fiesta 15333figura 15334fijar 15335fijo 15336fila 15337filete 15338filial 15339filtro 15340fin 15341finca 15342fingir 15343finito 15344firma 15345flaco 15346flauta 15347flecha 15348flor 15349flota 15350fluir 15351flujo 15352fluÌor 15353fobia 15354foca 15355fogata 15356fogoÌn 15357folio 15358folleto 15359fondo 15360forma 15361forro 15362fortuna 15363forzar 15364fosa 15365foto 15366fracaso 15367fraÌgil 15368franja 15369frase 15370fraude 15371freiÌr 15372freno 15373fresa 15374friÌo 15375frito 15376fruta 15377fuego 15378fuente 15379fuerza 15380fuga 15381fumar
15382funcioÌn 15383funda 15384furgoÌn 15385furia 15386fusil 15387fuÌtbol 15388futuro 15389gacela 15390gafas 15391gaita 15392gajo 15393gala 15394galeriÌa 15395gallo 15396gamba 15397ganar 15398gancho 15399ganga 15400ganso 15401garaje 15402garza 15403gasolina 15404gastar 15405gato 15406gavilaÌn 15407gemelo 15408gemir 15409gen 15410geÌnero 15411genio 15412gente 15413geranio 15414gerente 15415germen 15416gesto 15417gigante 15418gimnasio 15419girar 15420giro 15421glaciar 15422globo 15423gloria 15424gol 15425golfo 15426goloso 15427golpe 15428goma 15429gordo 15430gorila 15431gorra 15432gota 15433goteo 15434gozar 15435grada 15436graÌfico 15437grano 15438grasa 15439gratis 15440grave 15441grieta 15442grillo 15443gripe 15444gris 15445grito 15446grosor 15447gruÌa 15448grueso 15449grumo 15450grupo 15451guante 15452guapo 15453guardia 15454guerra 15455guiÌa 15456guinÌo 15457guion 15458guiso 15459guitarra 15460gusano 15461gustar 15462haber 15463haÌbil 15464hablar 15465hacer 15466hacha 15467hada 15468hallar 15469hamaca 15470harina 15471haz 15472hazanÌa 15473hebilla 15474hebra 15475hecho 15476helado 15477helio 15478hembra 15479herir 15480hermano 15481heÌroe 15482hervir 15483hielo 15484hierro 15485hiÌgado 15486higiene 15487hijo 15488himno 15489historia 15490hocico 15491hogar 15492hoguera 15493hoja 15494hombre 15495hongo 15496honor 15497honra 15498hora 15499hormiga 15500horno 15501hostil 15502hoyo 15503hueco 15504huelga 15505huerta 15506hueso 15507huevo 15508huida 15509huir 15510humano 15511huÌmedo 15512humilde 15513humo 15514hundir 15515huracaÌn 15516hurto 15517icono 15518ideal 15519idioma 15520iÌdolo 15521iglesia 15522igluÌ 15523igual 15524ilegal 15525ilusioÌn 15526imagen 15527imaÌn 15528imitar 15529impar 15530imperio 15531imponer 15532impulso 15533incapaz 15534iÌndice 15535inerte 15536infiel 15537informe 15538ingenio 15539inicio 15540inmenso 15541inmune 15542innato 15543insecto 15544instante 15545intereÌs 15546iÌntimo 15547intuir 15548inuÌtil 15549invierno 15550ira 15551iris 15552ironiÌa 15553isla 15554islote 15555jabaliÌ 15556jaboÌn 15557jamoÌn 15558jarabe 15559jardiÌn 15560jarra 15561jaula 15562jazmiÌn 15563jefe 15564jeringa 15565jinete 15566jornada 15567joroba 15568joven 15569joya 15570juerga 15571jueves 15572juez 15573jugador 15574jugo 15575juguete 15576juicio 15577junco 15578jungla 15579junio 15580juntar 15581juÌpiter 15582jurar 15583justo 15584juvenil 15585juzgar 15586kilo 15587koala 15588labio 15589lacio 15590lacra 15591lado 15592ladroÌn 15593lagarto 15594laÌgrima 15595laguna 15596laico 15597lamer 15598laÌmina 15599laÌmpara 15600lana 15601lancha 15602langosta 15603lanza 15604laÌpiz 15605largo 15606larva 15607laÌstima 15608lata 15609laÌtex 15610latir 15611laurel 15612lavar 15613lazo 15614leal 15615leccioÌn 15616leche 15617lector 15618leer 15619legioÌn 15620legumbre 15621lejano 15622lengua 15623lento 15624lenÌa 15625leoÌn 15626leopardo 15627lesioÌn 15628letal 15629letra 15630leve 15631leyenda 15632libertad 15633libro 15634licor 15635liÌder 15636lidiar 15637lienzo 15638liga 15639ligero 15640lima 15641liÌmite 15642limoÌn 15643limpio 15644lince 15645lindo 15646liÌnea 15647lingote 15648lino 15649linterna 15650liÌquido 15651liso 15652lista 15653litera 15654litio 15655litro 15656llaga 15657llama 15658llanto 15659llave 15660llegar 15661llenar 15662llevar 15663llorar 15664llover 15665lluvia 15666lobo 15667locioÌn 15668loco 15669locura 15670loÌgica 15671logro 15672lombriz 15673lomo 15674lonja 15675lote 15676lucha 15677lucir 15678lugar 15679lujo 15680luna 15681lunes 15682lupa 15683lustro 15684luto 15685luz 15686maceta 15687macho 15688madera 15689madre 15690maduro 15691maestro 15692mafia 15693magia 15694mago 15695maiÌz 15696maldad 15697maleta 15698malla 15699malo 15700mamaÌ 15701mambo 15702mamut 15703manco 15704mando 15705manejar 15706manga 15707maniquiÌ 15708manjar 15709mano 15710manso 15711manta 15712manÌana 15713mapa 15714maÌquina 15715mar 15716marco 15717marea 15718marfil 15719margen 15720marido 15721maÌrmol 15722marroÌn 15723martes 15724marzo 15725masa 15726maÌscara 15727masivo 15728matar 15729materia 15730matiz 15731matriz 15732maÌximo 15733mayor 15734mazorca 15735mecha 15736medalla 15737medio 15738meÌdula 15739mejilla 15740mejor 15741melena 15742meloÌn 15743memoria 15744menor 15745mensaje 15746mente 15747menuÌ 15748mercado 15749merengue 15750meÌrito 15751mes 15752mesoÌn 15753meta 15754meter 15755meÌtodo 15756metro 15757mezcla 15758miedo 15759miel 15760miembro 15761miga 15762mil 15763milagro 15764militar 15765milloÌn 15766mimo 15767mina 15768minero 15769miÌnimo 15770minuto 15771miope 15772mirar 15773misa 15774miseria 15775misil 15776mismo 15777mitad 15778mito 15779mochila 15780mocioÌn 15781moda 15782modelo 15783moho 15784mojar 15785molde 15786moler 15787molino 15788momento 15789momia 15790monarca 15791moneda 15792monja 15793monto 15794monÌo 15795morada 15796morder 15797moreno 15798morir 15799morro 15800morsa 15801mortal 15802mosca 15803mostrar 15804motivo 15805mover 15806moÌvil 15807mozo 15808mucho 15809mudar 15810mueble 15811muela 15812muerte 15813muestra 15814mugre 15815mujer 15816mula 15817muleta 15818multa 15819mundo 15820munÌeca 15821mural 15822muro 15823muÌsculo 15824museo 15825musgo 15826muÌsica 15827muslo 15828naÌcar 15829nacioÌn 15830nadar 15831naipe 15832naranja 15833nariz 15834narrar 15835nasal 15836natal 15837nativo 15838natural 15839naÌusea 15840naval 15841nave 15842navidad 15843necio 15844neÌctar 15845negar 15846negocio 15847negro 15848neoÌn 15849nervio 15850neto 15851neutro 15852nevar 15853nevera 15854nicho 15855nido 15856niebla 15857nieto 15858ninÌez 15859ninÌo 15860niÌtido 15861nivel 15862nobleza 15863noche 15864noÌmina 15865noria 15866norma 15867norte 15868nota 15869noticia 15870novato 15871novela 15872novio 15873nube 15874nuca 15875nuÌcleo 15876nudillo 15877nudo 15878nuera 15879nueve 15880nuez 15881nulo 15882nuÌmero 15883nutria 15884oasis 15885obeso 15886obispo 15887objeto 15888obra 15889obrero 15890observar 15891obtener 15892obvio 15893oca 15894ocaso 15895oceÌano 15896ochenta 15897ocho 15898ocio 15899ocre 15900octavo 15901octubre 15902oculto 15903ocupar 15904ocurrir 15905odiar 15906odio 15907odisea 15908oeste 15909ofensa 15910oferta 15911oficio 15912ofrecer 15913ogro 15914oiÌdo 15915oiÌr 15916ojo 15917ola 15918oleada 15919olfato 15920olivo 15921olla 15922olmo 15923olor 15924olvido 15925ombligo 15926onda 15927onza 15928opaco 15929opcioÌn 15930oÌpera 15931opinar 15932oponer 15933optar 15934oÌptica 15935opuesto 15936oracioÌn 15937orador 15938oral 15939oÌrbita 15940orca 15941orden 15942oreja 15943oÌrgano 15944orgiÌa 15945orgullo 15946oriente 15947origen 15948orilla 15949oro 15950orquesta 15951oruga 15952osadiÌa 15953oscuro 15954osezno 15955oso 15956ostra 15957otonÌo 15958otro 15959oveja 15960oÌvulo 15961oÌxido 15962oxiÌgeno 15963oyente 15964ozono 15965pacto 15966padre 15967paella 15968paÌgina 15969pago 15970paiÌs 15971paÌjaro 15972palabra 15973palco 15974paleta 15975paÌlido 15976palma 15977paloma 15978palpar 15979pan 15980panal 15981paÌnico 15982pantera 15983panÌuelo 15984papaÌ 15985papel 15986papilla 15987paquete 15988parar 15989parcela 15990pared 15991parir 15992paro 15993paÌrpado 15994parque 15995paÌrrafo 15996parte 15997pasar 15998paseo 15999pasioÌn 16000paso 16001pasta 16002pata 16003patio 16004patria 16005pausa 16006pauta 16007pavo 16008payaso 16009peatoÌn 16010pecado 16011pecera 16012pecho 16013pedal 16014pedir 16015pegar 16016peine 16017pelar 16018peldanÌo 16019pelea 16020peligro 16021pellejo 16022pelo
16023peluca 16024pena 16025pensar 16026penÌoÌn 16027peoÌn 16028peor 16029pepino 16030pequenÌo 16031pera 16032percha 16033perder 16034pereza 16035perfil 16036perico 16037perla 16038permiso 16039perro 16040persona 16041pesa 16042pesca 16043peÌsimo 16044pestanÌa 16045peÌtalo 16046petroÌleo 16047pez 16048pezunÌa 16049picar 16050pichoÌn 16051pie 16052piedra 16053pierna 16054pieza 16055pijama 16056pilar 16057piloto 16058pimienta 16059pino 16060pintor 16061pinza 16062pinÌa 16063piojo 16064pipa 16065pirata 16066pisar 16067piscina 16068piso 16069pista 16070pitoÌn 16071pizca 16072placa 16073plan 16074plata 16075playa 16076plaza 16077pleito 16078pleno 16079plomo 16080pluma 16081plural 16082pobre 16083poco 16084poder 16085podio 16086poema 16087poesiÌa 16088poeta 16089polen 16090policiÌa 16091pollo 16092polvo 16093pomada 16094pomelo 16095pomo 16096pompa 16097poner 16098porcioÌn 16099portal 16100posada 16101poseer 16102posible 16103poste 16104potencia 16105potro 16106pozo 16107prado 16108precoz 16109pregunta 16110premio 16111prensa 16112preso 16113previo 16114primo 16115priÌncipe 16116prisioÌn 16117privar 16118proa 16119probar 16120proceso 16121producto 16122proeza 16123profesor 16124programa 16125prole 16126promesa 16127pronto 16128propio 16129proÌximo 16130prueba 16131puÌblico 16132puchero 16133pudor 16134pueblo 16135puerta 16136puesto 16137pulga 16138pulir 16139pulmoÌn 16140pulpo 16141pulso 16142puma 16143punto 16144punÌal 16145punÌo 16146pupa 16147pupila 16148pureÌ 16149quedar 16150queja 16151quemar 16152querer 16153queso 16154quieto 16155quiÌmica 16156quince 16157quitar 16158raÌbano 16159rabia 16160rabo 16161racioÌn 16162radical 16163raiÌz 16164rama 16165rampa 16166rancho 16167rango 16168rapaz 16169raÌpido 16170rapto 16171rasgo 16172raspa 16173rato 16174rayo 16175raza 16176razoÌn 16177reaccioÌn 16178realidad 16179rebanÌo 16180rebote 16181recaer 16182receta 16183rechazo 16184recoger 16185recreo 16186recto 16187recurso 16188red 16189redondo 16190reducir 16191reflejo 16192reforma 16193refraÌn 16194refugio 16195regalo 16196regir 16197regla 16198regreso 16199reheÌn 16200reino 16201reiÌr 16202reja 16203relato 16204relevo 16205relieve 16206relleno 16207reloj 16208remar 16209remedio 16210remo 16211rencor 16212rendir 16213renta 16214reparto 16215repetir 16216reposo 16217reptil 16218res 16219rescate 16220resina 16221respeto 16222resto 16223resumen 16224retiro 16225retorno 16226retrato 16227reunir 16228reveÌs 16229revista 16230rey 16231rezar 16232rico 16233riego 16234rienda 16235riesgo 16236rifa 16237riÌgido 16238rigor 16239rincoÌn 16240rinÌoÌn 16241riÌo 16242riqueza 16243risa 16244ritmo 16245rito 16246rizo 16247roble 16248roce 16249rociar 16250rodar 16251rodeo 16252rodilla 16253roer 16254rojizo 16255rojo 16256romero 16257romper 16258ron 16259ronco 16260ronda 16261ropa 16262ropero 16263rosa 16264rosca 16265rostro 16266rotar 16267rubiÌ 16268rubor 16269rudo 16270rueda 16271rugir 16272ruido 16273ruina 16274ruleta 16275rulo 16276rumbo 16277rumor 16278ruptura 16279ruta 16280rutina 16281saÌbado 16282saber 16283sabio 16284sable 16285sacar 16286sagaz 16287sagrado 16288sala 16289saldo 16290salero 16291salir 16292salmoÌn 16293saloÌn 16294salsa 16295salto 16296salud 16297salvar 16298samba 16299sancioÌn 16300sandiÌa 16301sanear 16302sangre 16303sanidad 16304sano 16305santo 16306sapo 16307saque 16308sardina 16309sarteÌn 16310sastre 16311sataÌn 16312sauna 16313saxofoÌn 16314seccioÌn 16315seco 16316secreto 16317secta 16318sed 16319seguir 16320seis 16321sello 16322selva 16323semana 16324semilla 16325senda 16326sensor 16327senÌal 16328senÌor 16329separar 16330sepia 16331sequiÌa 16332ser 16333serie 16334sermoÌn 16335servir 16336sesenta 16337sesioÌn 16338seta 16339setenta 16340severo 16341sexo 16342sexto 16343sidra 16344siesta 16345siete 16346siglo 16347signo 16348siÌlaba 16349silbar 16350silencio 16351silla 16352siÌmbolo 16353simio 16354sirena 16355sistema 16356sitio 16357situar 16358sobre 16359socio 16360sodio 16361sol 16362solapa 16363soldado 16364soledad 16365soÌlido 16366soltar 16367solucioÌn 16368sombra 16369sondeo 16370sonido 16371sonoro 16372sonrisa 16373sopa 16374soplar 16375soporte 16376sordo 16377sorpresa 16378sorteo 16379sosteÌn 16380soÌtano 16381suave 16382subir 16383suceso 16384sudor 16385suegra 16386suelo 16387suenÌo 16388suerte 16389sufrir 16390sujeto 16391sultaÌn 16392sumar 16393superar 16394suplir 16395suponer 16396supremo 16397sur 16398surco 16399surenÌo 16400surgir 16401susto 16402sutil 16403tabaco 16404tabique 16405tabla 16406tabuÌ 16407taco 16408tacto 16409tajo 16410talar 16411talco 16412talento 16413talla 16414taloÌn 16415tamanÌo 16416tambor 16417tango 16418tanque 16419tapa 16420tapete 16421tapia 16422tapoÌn 16423taquilla 16424tarde 16425tarea 16426tarifa 16427tarjeta 16428tarot 16429tarro 16430tarta 16431tatuaje 16432tauro 16433taza 16434tazoÌn 16435teatro 16436techo 16437tecla 16438teÌcnica 16439tejado 16440tejer 16441tejido 16442tela 16443teleÌfono 16444tema 16445temor 16446templo 16447tenaz 16448tender 16449tener 16450tenis 16451tenso 16452teoriÌa 16453terapia 16454terco 16455teÌrmino 16456ternura 16457terror 16458tesis 16459tesoro 16460testigo 16461tetera 16462texto 16463tez 16464tibio 16465tiburoÌn 16466tiempo 16467tienda 16468tierra 16469tieso 16470tigre 16471tijera 16472tilde 16473timbre 16474tiÌmido 16475timo 16476tinta 16477tiÌo 16478tiÌpico 16479tipo 16480tira 16481tiroÌn 16482titaÌn 16483tiÌtere 16484tiÌtulo 16485tiza 16486toalla 16487tobillo 16488tocar 16489tocino 16490todo 16491toga 16492toldo 16493tomar 16494tono 16495tonto 16496topar 16497tope 16498toque 16499toÌrax 16500torero 16501tormenta 16502torneo 16503toro 16504torpedo 16505torre 16506torso 16507tortuga 16508tos 16509tosco 16510toser 16511toÌxico 16512trabajo 16513tractor 16514traer 16515traÌfico 16516trago 16517traje 16518tramo 16519trance 16520trato 16521trauma 16522trazar 16523treÌbol 16524tregua 16525treinta 16526tren 16527trepar 16528tres 16529tribu 16530trigo 16531tripa 16532triste 16533triunfo 16534trofeo 16535trompa 16536tronco 16537tropa 16538trote 16539trozo 16540truco 16541trueno 16542trufa 16543tuberiÌa 16544tubo 16545tuerto 16546tumba 16547tumor 16548tuÌnel 16549tuÌnica 16550turbina 16551turismo 16552turno 16553tutor 16554ubicar 16555uÌlcera 16556umbral 16557unidad 16558unir 16559universo 16560uno 16561untar 16562unÌa 16563urbano 16564urbe 16565urgente 16566urna 16567usar 16568usuario 16569uÌtil 16570utopiÌa 16571uva 16572vaca 16573vaciÌo 16574vacuna 16575vagar 16576vago 16577vaina 16578vajilla 16579vale 16580vaÌlido 16581valle 16582valor 16583vaÌlvula 16584vampiro 16585vara 16586variar 16587varoÌn 16588vaso 16589vecino 16590vector 16591vehiÌculo 16592veinte 16593vejez 16594vela 16595velero 16596veloz 16597vena 16598vencer 16599venda 16600veneno 16601vengar 16602venir
16603venta 16604venus 16605ver 16606verano 16607verbo 16608verde 16609vereda 16610verja 16611verso 16612verter 16613viÌa 16614viaje 16615vibrar 16616vicio 16617viÌctima 16618vida 16619viÌdeo 16620vidrio 16621viejo 16622viernes 16623vigor 16624vil 16625villa 16626vinagre 16627vino 16628vinÌedo 16629violiÌn 16630viral 16631virgo 16632virtud 16633visor 16634viÌspera 16635vista 16636vitamina 16637viudo 16638vivaz 16639vivero 16640vivir 16641vivo 16642volcaÌn 16643volumen 16644volver 16645voraz 16646votar 16647voto 16648voz 16649vuelo 16650vulgar 16651yacer 16652yate 16653yegua 16654yema 16655yerno 16656yeso 16657yodo 16658yoga 16659yogur 16660zafiro 16661zanja 16662zapato 16663zarza 16664zona 16665zorro 16666zumo 16667zurdo`.split(` 16668`)),cf}var uf={},$C;function Tte(){return $C||($C=1,Object.defineProperty(uf,"__esModule",{value:!0}),uf.wordlist=void 0,uf.wordlist=`ç 16669ä¸ 16670æ¯ 16671å¨ 16672ä¸ 16673äº 16674æ 16675å 16676人 16677é 16678ä¸ 16679大 16680çº 16681ä¸ 16682å 16683å 16684æ 16685以 16686è¦ 16687ä» 16688æ 16689ä¾ 16690ç¨ 16691å 16692ç 16693å° 16694ä½ 16695å° 16696æ¼ 16697åº 16698å°± 16699å 16700å° 16701æ 16702æ 16703å¯ 16704主 16705ç¼ 16706å¹´ 16707å 16708å 16709å·¥ 16710ä¹ 16711è½ 16712ä¸ 16713é 16714å 16715說 16716ç¢ 16717種 16718é¢ 16719è 16720æ¹ 16721å¾ 16722å¤ 16723å® 16724è¡ 16725å¸ 16726æ³ 16727æ 16728æ° 16729å¾ 16730ç¶ 16731å 16732ä¸ 16733ä¹ 16734é² 16735è 16736ç 16737é¨ 16738度 16739å®¶ 16740é» 16741å 16742裡 16743å¦ 16744æ°´ 16745å 16746é« 16747èª 16748äº 16749ç 16750èµ· 16751å° 16752ç© 16753ç¾ 16754實 16755å 16756é 16757é½ 16758å © 16759é« 16760å¶ 16761æ© 16762ç¶ 16763使 16764é» 16765å¾ 16766æ¥ 16767æ¬ 16768å» 16769æ 16770æ§ 16771好 16772æ 16773é 16774å® 16775å 16776é 16777å 16778ç± 16779å ¶ 16780äº 16781ç¶ 16782å 16783å¤ 16784天 16785æ¿ 16786å 16787æ¥ 16788é£ 16789社 16790義 16791äº 16792å¹³ 16793å½¢ 16794ç¸ 16795å ¨ 16796表 16797é 16798樣 16799è 16800é 16801å 16802é 16803æ° 16804ç· 16805å § 16806æ¸ 16807æ£ 16808å¿ 16809å 16810ä½ 16811æ 16812ç 16813å 16814å 16815麼 16816å© 16817æ¯ 16818æ 16819ä½ 16820質 16821æ°£ 16822第 16823å 16824é 16825å½ 16826æ¤ 16827è® 16828æ¢ 16829åª 16830æ² 16831çµ 16832è§£ 16833å 16834æ 16835建 16836æ 16837å ¬ 16838ç¡ 16839ç³» 16840è» 16841å¾ 16842æ 16843è 16844æ 16845ç« 16846代 16847æ³ 16848å·² 16849é 16850並 16851æ 16852ç´ 16853é¡ 16854黨 16855ç¨ 16856å± 16857äº 16858æ 16859æ 16860象 16861å¡ 16862é© 16863ä½ 16864å ¥ 16865常 16866æ 16867總 16868次 16869å 16870å¼ 16871æ´» 16872è¨ 16873å 16874管 16875ç¹ 16876ä»¶ 16877é· 16878æ± 16879è 16880é 16881åº 16882è³ 16883é 16884æµ 16885è·¯ 16886ç´ 16887å° 16888å 16889å±± 16890çµ± 16891æ¥ 16892ç¥ 16893è¼ 16894å° 16895çµ 16896è¦ 16897è¨ 16898å¥ 16899她 16900æ 16901è§ 16902æ 16903æ ¹ 16904è« 16905é 16906è¾² 16907æ 16908å¹¾ 16909ä¹ 16910å 16911å¼· 16912æ¾ 16913決 16914西 16915被 16916å¹¹ 16917å 16918å¿ 16919æ° 16920å 16921å 16922å 16923ä»» 16924å 16925æ 16926è 16927é 16928å 16929給 16930è² 16931å 16932é 16933å³ 16934ä¿ 16935æ²» 16936å 16937é 16938ç¾ 16939è¦ 16940ç± 16941é 16942ä¸ 16943æµ· 16944å£ 16945æ± 16946å° 16947å¨ 16948å£ 16949å¿ 16950ä¸ 16951é 16952å¢ 16953ç 16954æ¿ 16955é 16956æ²¹ 16957æ 16958è¡ 16959極 16960交 16961å 16962è¯ 16963ä» 16964èª 16965å 16966å ± 16967æ¬ 16968æ¶ 16969è 16970æ¹ 16971æ¸ 16972ç¾ 16973å 16974æ¡ 16975è½ 16976æ´ 16977å® 16978風 16979å 16980æ 16981ç½ 16982æ 16983é 16984è± 16985帶 16986å® 16987å ´ 16988身 16989è» 16990ä¾ 16991ç 16992å 16993å · 16994è¬ 16995æ¯ 16996ç® 16997è³ 16998é 16999èµ° 17000ç© 17001示 17002è° 17003è² 17004å ± 17005鬥 17006å® 17007é¡ 17008å « 17009é¢ 17010è¯ 17011å 17012確 17013æ 17014ç§ 17015å¼µ 17016ä¿¡ 17017馬 17018ç¯ 17019話 17020ç±³ 17021æ´ 17022空 17023å 17024æ³ 17025ä» 17026é 17027溫 17028å³ 17029å 17030許 17031æ¥ 17032群 17033廣 17034ç³ 17035è¨ 17036é 17037段 17038ç 17039ç 17040æ 17041æ 17042å¾ 17043å« 17044ä¸ 17045ç©¶ 17046è§ 17047è¶ 17048ç¹ 17049è£ 17050å½± 17051ç® 17052ä½ 17053æ 17054é³ 17055ç¾ 17056æ¸ 17057å¸ 17058å¤ 17059容 17060å 17061é 17062é 17063å 17064é 17065é© 17066é£ 17067æ· 17068æ·± 17069é£ 17070è¿ 17071礦 17072å 17073é± 17074å§ 17075ç´ 17076æ 17077å 17078å 17079辦 17080é 17081ç 17082å 17083ç¿ 17084é¿ 17085ç´ 17086æ¯ 17087è¬ 17088å² 17089æ 17090å 17091便 17092å 17093å¾ 17094é ¸ 17095æ· 17096å¸ 17097å 17098ä½ 17099é¤ 17100æ¶ 17101æ§ 17102åº 17103稱 17104太 17105æº 17106ç²¾ 17107å¼ 17108è 17109ç 17110æ 17111ç¶ 17112å 17113é¸ 17114æ¨ 17115寫 17116å 17117å 17118æ¯ 17119親 17120å¿« 17121æ 17122æ¯ 17123é¢ 17124æ¥ 17125æ± 17126å 17127ç¼ 17128ç 17129æ 17130æ ¼ 17131é¤ 17132æ 17133ç½® 17134æ´¾ 17135層 17136ç 17137å§ 17138å» 17139å° 17140ç 17141è² 17142å» 17143京 17144è 17145é© 17146屬 17147å 17148å 17149ç« 17150ä½ 17151調 17152滿 17153縣 17154å± 17155ç § 17156å 17157ç´ 17158ç´° 17159å¼ 17160è½ 17161該 17162éµ 17163å¹ 17164å´ 17165é¦ 17166åº 17167æ¶² 17168å® 17169å¾· 17170é¨ 17171ç 17172è 17173失 17174ç¾ 17175æ» 17176è¬ 17177é 17178女 17179é» 17180æ¨ 17181顯 17182è« 17183罪 17184ç¥ 17185è 17186å¢ 17187å¸ 17188å« 17189ä¼ 17190æ 17191å¯ 17192æ¹ 17193ç 17194é 17195é² 17196è 17197ç 17198è± 17199æ°§ 17200å¢ 17201å 17202æ 17203å° 17204è½ 17205æ¨ 17206幫 17207輪 17208ç ´ 17209äº 17210師 17211å 17212注 17213é 17214å 17215æ 17216æ 17217ä¾ 17218æ²³ 17219æ 17220å° 17221å¦ 17222æ½ 17223æ¸ 17224樹 17225溶 17226æ 17227æ¢ 17228æ¡ 17229è¨ 17230士 17231å 17232æ¦ 17233åº 17234è 17235é 17236æ³¢ 17237è¦ 17238å 17239è²» 17240ç· 17241æ 17242å·¦ 17243ç« 17244æ© 17245æ 17246害 17247çº 17248è¼ 17249æ 17250試 17251é£ 17252å 17253å µ 17254æº 17255å¤ 17256è· 17257å¸ 17258è¶³ 17259æ 17260ç·´ 17261å·® 17262è´ 17263æ¿ 17264ç° 17265é 17266é» 17267ç¯ 17268è² 17269æ 17270è 17271ç¹¼ 17272è 17273ä¼¼ 17274é¤ 17275å 17276æ² 17277輸 17278ä¿® 17279æ 17280å 17281夫 17282å¤ 17283é 17284ç 17285è¹ 17286ä½ 17287å³ 17288財 17289å 17290å¯ 17291æ¥ 17292è· 17293覺 17294æ¼¢ 17295ç« 17296å 17297å·´ 17298è· 17299é 17300é 17301é£ 17302檢 17303å¸ 17304å© 17305æ 17306é½ 17307äº 17308å 17309åµ 17310æ 17311è 17312æ 17313å£ 17314ç 17315å¤ 17316å¾ 17317æ 17318æª 17319è· 17320ç 17321é¼ 17322æ¾ 17323端 17324責 17325ç« 17326ç°¡ 17327è¿° 17328é¢ 17329å¯ 17330ç¡ 17331å¸ 17332å° 17333è 17334è¡ 17335æ¿ 17336ç¨ 17337令 17338é 17339é¿ 17340宣 17341ç° 17342é 17343è« 17344è¶ 17345å¾® 17346è® 17347æ§ 17348å· 17349è¯ 17350軸 17351æ¾ 17352å¦ 17353ç´ 17354ç 17355ä¾ 17356åª 17357é 17358ç¤ 17359è¼ 17360å 17361æ¿ 17362çª 17363å 17364ç² 17365æµ 17366ç¥ 17367客 17368è¢ 17369å· 17370å 17371çµ 17372æ 17373å¡ 17374å 17375測 17376çµ² 17377å 17378訴 17379念 17380é³ 17381ä» 17382ç¾ 17383é¹½ 17384å 17385æ´ 17386é¯ 17387è¦ 17388å¤ 17389å 17390ç§» 17391é » 17392é 17393é 17394æ·· 17395æ¯ 17396ç 17397ç® 17398çµ 17399è 17400æ±½ 17401æ 17402é² 17403åª 17404æ¢ 17405è· 17406è¡ 17407å 17408ç 17409央 17410å¯
17411ç 17412è¿ 17413å¢ 17414è¥ 17415å° 17416æ´² 17417å» 17418æ¬ 17419æ¿ 17420å 17421æ 17422ç 17423室 17424å¾ 17425æ ¸ 17426æ ¡ 17427æ£ 17428ä¾µ 17429å§ 17430ç² 17431é 17432ä¹ 17433è 17434å³ 17435è 17436模 17437æ¹ 17438貨 17439æ 17440é 17441é» 17442毫 17443æ® 17444ç©© 17445ä¹ 17446媽 17447æ¤ 17448æ¯ 17449æ´ 17450é 17451èª 17452æ® 17453é 17454å® 17455æ¿ 17456åº 17457ç´ 17458é« 17459缺 17460é¨ 17461å 17462é 17463å 17464å 17465æ¥ 17466å± 17467誤 17468è¨ 17469é¡ 17470審 17471é 17472ç² 17473è¶ 17474é®® 17475ç³§ 17476æ¤ 17477å© 17478è« 17479ç¡« 17480è¥ 17481å 17482é¾ 17483æ¼ 17484ç¶ 17485漸 17486è¡ 17487æ¡ 17488械 17489æ 17490æ 17491æ² 17492å 17493æ» 17494è¬ 17495ç¾ 17496è¨ 17497æ 17498ç² 17499äº 17500ç 17501ç 17502ä¹ 17503殺 17504è¥ 17505寧 17506é¯ 17507è²´ 17508é 17509ç ¤ 17510è® 17511ç 17512伯 17513é¦ 17514ä» 17515è¿« 17516å¥ 17517è± 17518å¹ 17519æ¡ 17520è 17521æ 17522弦 17523è 17524æ² 17525å 17526ç©¿ 17527å· 17528ç 17529æ¨ 17530誰 17531é 17532ç 17533縮 17534å¾µ 17535è 17536å 17537æ¾ 17538è ³ 17539å° 17540ç° 17541å 17542è 17543æ 17544ç¦ 17545è²· 17546æ 17547äº 17548æ¦ 17549æ ¢ 17550æ 17551ç£ 17552å 17553ç¥ 17554ç 17555ä¿ 17556é 17557è£ 17558è© 17559ç¿» 17560è 17561è¸ 17562å°¼ 17563è¡£ 17564寬 17565æ 17566æ£ 17567å¸ 17568å· 17569æ 17570å 17571ç§ 17572å® 17573æ°« 17574å¥ 17575ç£ 17576æ¯ 17577æ¶ 17578亮 17579æ« 17580æ² 17581æ ¶ 17582ç·¨ 17583ç 17584觸 17585æ 17586é· 17587é· 17588è©© 17589座 17590å± 17591æ 17592è£ 17593è 17594å¼ 17595å¨ 17596æ¯ 17597å¨ 17598ç¶ 17599æ¶ 17600å 17601ç 17602è¡¡ 17603é 17604å« 17605å»¶ 17606å± 17607è 17608å± 17609é 17610è¨ 17611é¸ 17612é¡§ 17613æ 17614å 17615ç 17616æ² 17617æª 17618æ 17619è 17620å 17621ç 17622è¶ 17623è·³ 17624å¥ 17625å£ 17626課 17627å± 17628è¡ 17629é¡ 17630款 17631ç´¹ 17632å· 17633é½ 17634å 17635è¸ 17636æ® 17637æ°¸ 17638å® 17639è 17640å· 17641ç 17642岩 17643å¼± 17644é¶ 17645æ¥ 17646å¥ 17647沿 17648é² 17649æ¡¿ 17650æ¢ 17651æ» 17652é® 17653飯 17654æ¿ 17655èª 17656æ· 17657è¶ 17658庫 17659奪 17660ä¼ 17661é 17662ç¨ 17663é 17664æ» 17665è³½ 17666æ¸ 17667å¬ 17668é¼ 17669æ 17670ç¤ 17671è£ 17672éª 17673康 17674å¯ 17675é 17676è 17677ç´ 17678å 17679ç³ 17680è 17681æ©« 17682符 17683ç§ 17684åª 17685å 17686å 17687æ§ 17688潤 17689å¹ 17690å 17691ç« 17692ç 17693è² 17694澤 17695è ¦ 17696壤 17697碳 17698æ 17699é 17700å´ 17701寨 17702æ¢ 17703å¾¹ 17704æ ® 17705æ 17706è 17707åº 17708ç´ 17709å½ 17710飼 17711伸 17712æ 17713麥 17714æ¿ 17715æ 17716è· 17717ç¦ 17718å¡ 17719åº 17720ç¯ 17721æ¡ 17722æ¶ 17723訪 17724å¡ 17725å¥ 17726é 17727æ¢ 17728å 17729æ 17730è·¡ 17731å¡ 17732æ°¯ 17733é 17734份 17735æ¯ 17736æ³¥ 17737é 17738æ´ 17739æº 17740ç° 17741彩 17742è³£ 17743è 17744å¤ 17745æ 17746å¿ 17747é 17748ç» 17749硬 17750äº 17751ç¹ 17752å 17753éª 17754å½ 17755亦 17756æ½ 17757ç¯ 17758é£ 17759é° 17760ä¸ 17761å°º 17762追 17763å 17764é 17765è¿ 17766æ³ 17767ç¸ 17768æ¨ 17769é¿ 17770è¬ 17771å¸ 17772é 17773豬 17774æ 17775ç´¯ 17776å 17777å ¸ 17778館 17779ç´¢ 17780秦 17781è 17782æ½® 17783çº 17784è± 17785忽 17786æ 17787é© 17788å¡ 17789éº 17790æ 17791æ± 17792æ¿ 17793çº 17794ç² 17795å¾ 17796å° 17797ç 17798æ¥ 17799è¬ 17800奮 17801è³¼ 17802磨 17803å 17804æ± 17805æ 17806ç¢ 17807骨 17808ç£ 17809æ 17810å¼ 17811æ´ 17812å² 17813貫 17814æ® 17815é 17816è© 17817亡 17818å£ 17819é 17820寶 17821å 17822塵 17823è 17824æ 17825ç® 17826æ® 17827å¬ 17828æ© 17829婦 17830è¦ 17831ç¶ 17832æ 17833å³ 17834ä» 17835æµ® 17836é 17837å¾ 17838æ¨ 17839æ 17840è°· 17841è´ 17842ç®± 17843é 17844è¨ 17845ç· 17846å¹ 17847å 17848ç´ 17849å 17850æ 17851å® 17852ç» 17853å·¨ 17854è 17855å¦ 17856榮 17857é 17858ç£ 17859éµ 17860å¡ 17861é§ 17862é 17863æ 17864æ© 17865å 17866å 17867é¹¼ 17868é½ 17869æª 17870ç 17871麻 17872ç´¡ 17873ç¦ 17874廢 17875ç 17876ç 17877ç·© 17878æ·¨ 17879ç 17880æ 17881å© 17882æ¶ 17883ç 17884å´ 17885æ 17886岸 17887æ 17888è 17889è¡ 17890è 17891å§ 17892貿 17893è 17894奴 17895å¦ 17896æ £ 17897ä¹ 17898夥 17899æ¢ 17900å» 17901ç´ 17902æ 17903辯 17904è³ 17905彪 17906è£ 17907å 17908ç 17909æµ 17910è 17911ç§ 17912è© 17913ä¿ 17914ç¶² 17915è 17916åº 17917å´ 17918縱 17919寸 17920æ± 17921æ 17922æ´ª 17923è³ 17924é 17925æ¬ 17926ç 17927ç¯ 17928æ´¥ 17929稻 17930ç 17931è» 17932å 17933å 17934滾 17935å 17936è 17937è³ 17938è¯ 17939å¡ 17940æ± 17941çª 17942è ¿ 17943å 17944æ 17945å°¾ 17946è» 17947å° 17948è²¢ 17949ç» 17950é» 17951å 17952é½ 17953å 17954é 17955é 17956æ°¨ 17957é 17958å³° 17959å¹£ 17960港 17961ä¼ 17962è» 17963ç 17964ç¢ 17965æ¦ 17966è« 17967åº 17968浪 17969ç§ 17970æ´ 17971æ ª 17972å¥ 17973å® 17974è¡ 17975å³¶ 17976ç 17977泡 17978ç¡ 17979ç«¥ 17980é 17981湯 17982é¥ 17983ä¼ 17984å¯ 17985è 17986ç§ 17987ç¹ 17988ç¸ 17989å² 17990磷 17991績 17992æ 17993æ·¡ 17994å° 17995å 17996é· 17997æ´ 17998å 17999å¾ 18000é¡ 18001æ· 18002ç¨ 18003å¿ 18004æ³µ 18005è 18006æ 18007æ´ 18008æ 18009é¡ 18010è¾ 18011壯 18012é 18013è²§ 18014è 18015å½ 18016æ© 18017æ³° 18018å¹¼ 18019å»· 18020å° 18021çª 18022ç¶± 18023å¼ 18024é¸ 18025ç 18026æ° 18027å®® 18028å§ 18029é 18030ç 18031æª 18032å°¤ 18033ç´ 18034循 18035æ 18036è 18037é 18038夾 18039è ° 18040ç·£ 18041ç 18042窮 18043森 18044æ 18045竹 18046æº 18047å¬ 18048繩 18049æ¶ 18050é¦ 18051å© 18052幸 18053漿 18054æ¬ 18055æ 18056ç 18057貯 18058禮 18059濾 18060é 18061ç´ 18062ç½· 18063æ 18064å± 18065å 18066è¢ 18067å 18068å¤ 18069ç½° 18070ç¦ 18071æ½ 18072ä¼ 18073墨 18074欲 18075縫 18076å§ 18077å 18078飽 18079仿 18080ç 18081é 18082鬼 18083éº 18084è·¨ 18085é» 18086æ 18087é 18088æ 18089å 18090è¢ 18091ç 18092污 18093å¹ 18094諸 18095å¼§ 18096åµ 18097æ¢ 18098奶 18099æ½ 18100ç½ 18101è 18102é 18103è¯ 18104è¨ 18105æ± 18106æ¯ 18107æ 18108å¯ 18109æº 18110å 18111å¯ 18112å± 18113èº 18114渡 18115æ 18116丹 18117è± 18118è² 18119碰 18120æ 18121ç¹ 18122æ´ 18123碼 18124夢 18125è½ 18126ç 18127赤 18128æ¼ 18129å 18130æ¬ 18131é¡ 18132å¥ 18133é 18134仲 18135è 18136ç¨ 18137妹 18138ä¹ 18139ç 18140ç³ 18141æ¡ 18142éµ 18143å 18144é 18145èº 18146å 18147é 18148é³ 18149æ 18150æ°® 18151å ¼ 18152é± 18153ç¤ 18154赫 18155æ¥ 18156å¿ 18157è 18158缸 18159ç½ 18160æ¶ 18161å 18162å·§ 18163殼 18164å 18165æ 18166è¨ 18167èª 18168碧 18169祥 18170æ¯ 18171é 18172å·¡ 18173ç© 18174æ² 18175ç 18176齡 18177å« 18178票 18179å° 18180æ¡ 18181éª 18182è 18183æ 18184æ° 18185é 18186è¶£ 18187æ¬ 18188è 18189騰 18190è²¼ 18191æ 18192æ»´ 18193ç 18194é 18195è¼ 18196妻 18197å¡« 18198æ¤ 18199å² 18200ç°½ 18201鬧 18202æ¾ 18203ç´« 18204ç 18205é 18206æ² 18207å 18208é¶ 18209ä¼ 18210餵 18211ç 18212ç¶ 18213å© 18214æ« 18215è 18216æ¸ 18217å¿ 18218è¦ 18219è 18220é° 18221è¸ 18222é 18223æ 18224å¶ 18225æ£ 18226æ§½ 18227å 18228ä¹³ 18229é§ 18230å 18231ä» 18232ç 18233ç£ 18234ç§ 18235ç 18236è¦ 18237ä¼´ 18238ç 18239æ·º 18240ä¸ 18241æ« 18242ç¥ 18243æ©¡ 18244æ³ 18245è¿· 18246æ 18247ç 18248ç§§ 18249è½ 18250詳 18251ç°§ 18252è¸ 18253ç· 18254è 18255å 18256è³ 18257ç³ 18258æ´ 18259è¼ 18260æ¤ 18261ç«¶ 18262é 18263æ 18264ç² 18265ä¹ 18266ç· 18267è© 18268ç± 18269æ 18270å¡ 18271ç 18272ç 18273åµ 18274æ¸ 18275æ 18276享 18277ç³¾ 18278é 18279ç 18280é 18281æ· 18282æ¨ 18283ç² 18284é¸ 18285ç¬ 18286è³ 18287é 18288ç© 18289éµ 18290ç¥ 18291ç§ 18292æµ 18293è² 18294å½¹ 18295å½¼ 18296æ 18297é´¨ 18298趨 18299é³³ 18300æ¨ 18301ç 18302輩 18303ç§© 18304åµ 18305ç½² 18306梯 18307ç 18308ç 18309æ£ 18310é© 18311篩 18312å³½ 18313å 18314å¥ 18315壽 18316è¯ 18317浸 18318æ³ 18319帽 18320é² 18321ç½ 18322ç 18323貸 18324æ¼ 18325稿 18326å 18327å«© 18328è 18329è¯ 18330ç¢ 18331å 18332è 18333奧 18334é³´ 18335嶺 18336ç¾ 18337æ 18338串 18339å¡ 18340繪 18341é µ 18342è 18343ç 18344é« 18345å» 18346ç± 18347å 18348è¼ 18349æ 18350襲 18351ç 18352æ 18353å 18354æ± 18355é 18356é³¥ 18357æ¼ 18358æ² 18359ç 18360ç 18361æ·» 18362æ£ 18363ç© 18364ç¡ 18365é 18366é¼ 18367æ 18368å 18369æ¶¼ 18370æº 18371ç¢ 18372æ ½ 18373ç 18374æ¯ 18375æ£ 18376餾 18377å¸ 18378豪 18379é¼ 18380å 18381é´» 18382æ¦ 18383å 18384æ 18385ç 18386å 18387è¼¥ 18388æ© 18389飲 18390æ¬ 18391ç½µ 18392è¾ 18393å¾ 18394æ£ 18395ä¼° 18396è£ 18397絨 18398é§ 18399ä¸ 18400æµ 18401å§ 18402æ¬ 18403å® 18404輯 18405é 18406é 18407å 18408è 18409å´ 18410åª 18411å¡ 18412廳 18413å¬ 18414é§ 18415è¯ 18416å· 18417æ¥ 18418çª 18419賦 18420å¥ 18421ä½ 18422æ¾ 18423漫 18424æ¼ 18425æ 18426é£ 18427æ¡ 18428æ¶ 18429ä» 18430è¿ 18431ä¿ 18432è§ 18433è 18434é 18435棱 18436è¦ 18437æ¡ 18438æ 18439å 18440æ 18441é¨ 18442å 18443æº 18444沸 18445å¤ 18446å 18447å 18448æ¸ 18449å± 18450ç¾ 18451å¦ 18452æ 18453ä»° 18454ç 18455è¹ 18456è«§ 18457æ 18458é»´ 18459æ¡ 18460å´ 18461å 18462è¡° 18463ç 18464滲 18465è 18466è³´ 18467æ¹§ 18468ç 18469æ¹ 18470é± 18471è 18472å© 18473å² 18474ç´ 18475ç·¯ 18476æ¯ 18477æ¨ 18478å½ 18479ç 18480ç ® 18481å 18482é 18483æ 18484è 18485ç± 18486é · 18487å· 18488å¼ 18489é 18490æ 18491å 18492å 18493é¼» 18494翼 18495綸 18496æ 18497ç 18498é® 18499ç½ 18500絡 18501æ£ 18502æ 18503è¨ 18504è¬ 18505寺 18506é© 18507ç© 18508å¶ 18509æ¯ 18510å 18511å± 18512å¸ 18513ç´³ 18514å¯ 18515ç§ 18516ç° 18517è½ 18518欣 18519æ 18520ç¦ 18521禦 18522é 18523é¦ 18524åª 18525æ¬ 18526é 18527å£ 18528æ 18529æ² 18530é 18531äº 18532é ¯ 18533é 18534è 18535è 18536é ¶ 18537é 18538æ 18539é 18540é 18541ç¾½ 18542æ¼² 18543å¸ 18544ä» 18545éª 18546é¢ 18547æ² 18548æ 18549å§ 18550è 18551æ 18552é£ 18553æ¼ 18554æ 18555欺 18556å¾ 18557é 18558ç· 18559æ± 18560åµ 18561飾 18562è 18563é 18564éµ 18565é· 18566ç 18567æ 18568å§» 18569èµ´ 18570å®´ 18571ç © 18572åµ 18573帳 18574æ 18575é´ 18576æ¨ 18577é 18578è£ 18579é¤ 18580é 18581å§¿ 18582æ 18583å 18584è ¹ 18585妥 18586æ 18587è³¢ 18588æ 18589æª 18590è¡ 18591èº 18592ä¸ 18593浩 18594å¾½ 18595æ 18596å¢ 18597æ 18598覽 18599貪 18600æ ° 18601ç¹³ 18602汪 18603æ 18604馮 18605諾 18606å§ 18607誼 18608å 18609å£ 18610誣 18611è 18612æ 18613躺 18614ç 18615é¨ 18616å¬
18617溪 18618å¢ 18619ç§ 18620æ¹ 18621æ¶ 18622è«® 18623å® 18624é§ 18625çº 18626æ 18627æ 18628éº 18629æ² 18630é 18631å¹» 18632æ 18633æ 18634æ 18635ä½³ 18636ä» 18637è 18638窩 18639æ» 18640å 18641ç§ 18642å ¡ 18643æ½ 18644è¥ 18645罩 18646é 18647æ 18648è 18649è¼ 18650濱 18651å 18652æ 18653æ¹ 18654ç 18655é 18656éµ 18657è 18658ç 18659æ·® 18660é 18661ç 18662ç³ 18663ç 18664宿 18665æª 18666æ 18667é§ 18668å« 18669è£ 18670å¾ 18671ç® 18672æ 18673è ¸ 18674æ 18675æ¬ 18676辨 18677殿 18678è® 18679æ¤ 18680æª 18681é¬ 18682å± 18683ç« 18684å 18685è¡ 18686å µ 18687沫 18688çº 18689æ¢ 18690ç 18691é£ 18692è 18693æ² 18694è½ 18695é¤ 18696ç 18697壩 18698å·· 18699é¤ 18700ç¦ 18701ä¸ 18702ç 18703æº 18704æ° 18705é 18706å½ 18707å 18708å¿ 18709妨 18710è 18711å 18712é 18713æ¨ 18714ç® 18715æ`.split(` 18716`)),uf}var lf={},Yn={},mc={},eI;function Rte(){if(eI)return mc;eI=1,Object.defineProperty(mc,"__esModule",{value:!0}),mc.pbkdf2Async=mc.pbkdf2=void 0;const e=Jl(),t=XP(),r=Ei();function n(f,m,h,l){(0,e.hash)(f);const o=(0,r.checkOpts)({dkLen:32,asyncTick:10},l),{c:u,dkLen:p,asyncTick:g}=o;if((0,e.number)(u),(0,e.number)(p),(0,e.number)(g),u<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const y=(0,r.toBytes)(m),b=(0,r.toBytes)(h),x=new Uint8Array(p),w=t.hmac.create(f,y),E=w._cloneInto().update(b);return{c:u,dkLen:p,asyncTick:g,DK:x,PRF:w,PRFSalt:E}}function a(f,m,h,l,o){return f.destroy(),m.destroy(),l&&l.destroy(),o.fill(0),h}function i(f,m,h,l){const{c:o,dkLen:u,DK:p,PRF:g,PRFSalt:y}=n(f,m,h,l);let b;const x=new Uint8Array(4),w=(0,r.createView)(x),E=new Uint8Array(g.outputLen);for(let j=1,T=0;T<u;j++,T+=g.outputLen){const F=p.subarray(T,T+g.outputLen);w.setInt32(0,j,!1),(b=y._cloneInto(b)).update(x).digestInto(E),F.set(E.subarray(0,F.length));for(let z=1;z<o;z++){g._cloneInto(b).update(E).digestInto(E);for(let K=0;K<F.length;K++)F[K]^=E[K]}}return a(g,y,p,b,E)}mc.pbkdf2=i;async function c(f,m,h,l){const{c:o,dkLen:u,asyncTick:p,DK:g,PRF:y,PRFSalt:b}=n(f,m,h,l);let x;const w=new Uint8Array(4),E=(0,r.createView)(w),j=new Uint8Array(y.outputLen);for(let T=1,F=0;F<u;T++,F+=y.outputLen){const z=g.subarray(F,F+y.outputLen);E.setInt32(0,T,!1),(x=b._cloneInto(x)).update(w).digestInto(j),z.set(j.subarray(0,z.length)),await(0,r.asyncLoop)(o-1,p,()=>{y._cloneInto(x).update(j).digestInto(j);for(let K=0;K<z.length;K++)z[K]^=j[K]})}return a(y,b,g,x,j)}return mc.pbkdf2Async=c,mc}var tI;function Iz(){if(tI)return Yn;tI=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.mnemonicToSeedSync=Yn.mnemonicToSeed=Yn.validateMnemonic=Yn.entropyToMnemonic=Yn.mnemonicToEntropy=Yn.generateMnemonic=void 0;/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const e=Jl(),t=Rte(),r=pw(),n=Tz(),a=Ei(),i=Oz(),c=E=>E[0]==="ãããããã";function f(E){if(typeof E!="string")throw new TypeError(`Invalid mnemonic type: ${typeof E}`);return E.normalize("NFKD")}function m(E){const j=f(E),T=j.split(" ");if(![12,15,18,21,24].includes(T.length))throw new Error("Invalid mnemonic");return{nfkd:j,words:T}}function h(E){e.default.bytes(E,16,20,24,28,32)}function l(E,j=128){if(e.default.number(j),j%32!==0||j>256)throw new TypeError("Invalid entropy");return g((0,a.randomBytes)(j/8),E)}Yn.generateMnemonic=l;const o=E=>{const j=8-E.length/4;return new Uint8Array([(0,r.sha256)(E)[0]>>j<<j])};function u(E){if(!Array.isArray(E)||E.length!==2048||typeof E[0]!="string")throw new Error("Worlist: expected array of 2048 strings");return E.forEach(j=>{if(typeof j!="string")throw new Error(`Wordlist: non-string element: ${j}`)}),i.utils.chain(i.utils.checksum(1,o),i.utils.radix2(11,!0),i.utils.alphabet(E))}function p(E,j){const{words:T}=m(E),F=u(j).decode(T);return h(F),F}Yn.mnemonicToEntropy=p;function g(E,j){return h(E),u(j).encode(E).join(c(j)?"ã":" ")}Yn.entropyToMnemonic=g;function y(E,j){try{p(E,j)}catch{return!1}return!0}Yn.validateMnemonic=y;const b=E=>f(`mnemonic${E}`);function x(E,j=""){return(0,t.pbkdf2Async)(n.sha512,m(E).nfkd,b(j),{c:2048,dkLen:64})}Yn.mnemonicToSeed=x;function w(E,j=""){return(0,t.pbkdf2)(n.sha512,m(E).nfkd,b(j),{c:2048,dkLen:64})}return Yn.mnemonicToSeedSync=w,Yn}var rI;function Ote(){if(rI)return lf;rI=1,Object.defineProperty(lf,"__esModule",{value:!0}),lf.generateMnemonic=void 0;const e=Iz();function t(r,n){return(0,e.generateMnemonic)(r,n)}return lf.generateMnemonic=t,lf}var df={},ka={},un={},ff={},ps={},hf={},nI;function Cte(){return nI||(nI=1,Object.defineProperty(hf,"__esMo
18716dule",{value:!0}),hf.version=void 0,hf.version="1.21.3"),hf}var aI;function mw(){if(aI)return ps;aI=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.getVersion=ps.getUrl=ps.getContractAddress=void 0;const e=Cte(),t=a=>a;ps.getContractAddress=t;const r=a=>a;ps.getUrl=r;const n=()=>`viem@${e.version}`;return ps.getVersion=n,ps}var iI;function fr(){if(iI)return ff;iI=1,Object.defineProperty(ff,"__esModule",{value:!0}),ff.BaseError=void 0;const e=mw();class t extends Error{constructor(a,i={}){super(),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ViemError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:(0,e.getVersion)()});const c=i.cause instanceof t?i.cause.details:i.cause?.message?i.cause.message:i.details,f=i.cause instanceof t&&i.cause.docsPath||i.docsPath;this.message=[a||"An error occurred.","",...i.metaMessages?[...i.metaMessages,""]:[],...f?[`Docs: https://viem.sh${f}.html${i.docsSlug?`#${i.docsSlug}`:""}`]:[],...c?[`Details: ${c}`]:[],`Version: ${this.version}`].join(` 18717`),i.cause&&(this.cause=i.cause),this.details=c,this.docsPath=f,this.metaMessages=i.metaMessages,this.shortMessage=a}walk(a){return r(this,a)}}ff.BaseError=t;function r(n,a){return a?.(n)?n:n&&typeof n=="object"&&"cause"in n?r(n.cause,a):a?null:n}return ff}var sI;function by(){if(sI)return un;sI=1,Object.defineProperty(un,"__esModule",{value:!0}),un.SizeOverflowError=un.OffsetOutOfBoundsError=un.InvalidHexValueError=un.InvalidHexBooleanError=un.InvalidBytesBooleanError=un.IntegerOutOfRangeError=un.DataLengthTooShortError=un.DataLengthTooLongError=void 0;const e=fr();class t extends e.BaseError{constructor({consumed:l,length:o}){super(`Consumed bytes (${l}) is shorter than data length (${o-1}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"DataLengthTooLongError"})}}un.DataLengthTooLongError=t;class r extends e.BaseError{constructor({length:l,dataLength:o}){super(`Data length (${o-1}) is shorter than consumed bytes length (${l-1}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"DataLengthTooShortError"})}}un.DataLengthTooShortError=r;class n extends e.BaseError{constructor({max:l,min:o,signed:u,size:p,value:g}){super(`Number "${g}" is not in safe ${p?`${p*8}-bit ${u?"signed":"unsigned"} `:""}integer range ${l?`(${o} to ${l})`:`(above ${o})`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntegerOutOfRangeError"})}}un.IntegerOutOfRangeError=n;class a extends e.BaseError{constructor(l){super(`Bytes value "${l}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidBytesBooleanError"})}}un.InvalidBytesBooleanError=a;class i extends e.BaseError{constructor(l){super(`Hex value "${l}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidHexBooleanError"})}}un.InvalidHexBooleanError=i;class c extends e.BaseError{constructor(l){super(`Hex value "${l}" is an odd length (${l.length}). It must be an even length.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidHexValueError"})}}un.InvalidHexValueError=c;class f extends e.BaseError{constructor({nextOffset:l,offset:o}){super(`Next offset (${l}) is greater than previous offset + consumed bytes (${o})`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffsetOutOfBoundsError"})}}un.OffsetOutOfBoundsError=f;class m extends e.BaseError{constructor({givenSize:l,maxSize:o}
18717){super(`Size cannot exceed ${o} bytes. Given size: ${l} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SizeOverflowError"})}}return un.SizeOverflowError=m,un}var ms={},gc={},oI;function eS(){if(oI)return gc;oI=1,Object.defineProperty(gc,"__esModule",{value:!0}),gc.SizeExceedsPaddingSizeError=gc.SliceOffsetOutOfBoundsError=void 0;const e=fr();class t extends e.BaseError{constructor({offset:a,position:i,size:c}){super(`Slice ${i==="start"?"starting":"ending"} at offset "${a}" is out-of-bounds (size: ${c}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SliceOffsetOutOfBoundsError"})}}gc.SliceOffsetOutOfBoundsError=t;class r extends e.BaseError{constructor({size:a,targetSize:i,type:c}){super(`${c.charAt(0).toUpperCase()}${c.slice(1).toLowerCase()} size (${a}) exceeds padding size (${i}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SizeExceedsPaddingSizeError"})}}return gc.SizeExceedsPaddingSizeError=r,gc}var cI;function Fo(){if(cI)return ms;cI=1,Object.defineProperty(ms,"__esModule",{value:!0}),ms.padBytes=ms.padHex=ms.pad=void 0;const e=eS();function t(a,{dir:i,size:c=32}={}){return typeof a=="string"?r(a,{dir:i,size:c}):n(a,{dir:i,size:c})}ms.pad=t;function r(a,{dir:i,size:c=32}={}){if(c===null)return a;const f=a.replace("0x","");if(f.length>c*2)throw new e.SizeExceedsPaddingSizeError({size:Math.ceil(f.length/2),targetSize:c,type:"hex"});return`0x${f[i==="right"?"padEnd":"padStart"](c*2,"0")}`}ms.padHex=r;function n(a,{dir:i,size:c=32}={}){if(c===null)return a;
18717if(a.length>c)throw new e.SizeExceedsPaddingSizeError({size:a.length,targetSize:c,type:"bytes"});const f=new Uint8Array(c);for(let m=0;m<c;m++){const h=i==="right";f[h?m:c-m-1]=a[h?m:a.length-m-1]}return f}return ms.padBytes=n,ms}var Zn={},pf={},mf={},uI;function Vn(){if(uI)return mf;uI=1,Object.defineProperty(mf,"__esModule",{value:!0}),mf.isHex=void 0;function e(t,{strict:r=!0}={}){return!t||typeof t!="string"?!1:r?/^0x[0-9a-fA-F]*$/.test(t):t.startsWith("0x")}return mf.isHex=e,mf}var lI;function Vs(){if(lI)return pf;lI=1,Object.defineProperty(pf,"__esModule",{value:!0}),pf.size=void 0;const e=Vn();function t(r){return(0,e.isHex)(r,{strict:!1})?Math.ceil((r.length-2)/2):r.length}return pf.size=t,pf}var gf={},dI;function Bo(){if(dI)return gf;dI=1,Object.defineProperty(gf,"__esModule",{value:!0}),gf.trim=void 0;function e(t,{dir:r="left"}={}){let n=typeof t=="string"?t.replace("0x",""):t,a=0;for(let i=0;i<n.length-1&&n[r==="left"?i:n.length-i-1].toString()==="0";i++)a++;return n=r==="left"?n.slice(a):n.slice(0,n.length-a),typeof t=="string"?(n.length===1&&r==="right"&&(n=`${n}0`),`0x${n.length%2===1?`0${n}`:n}`):n}return gf.trim=e,gf}var Ta={},fI;function hn(){if(fI)return Ta;fI=1,Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.stringToBytes=Ta.numberToBytes=Ta.hexToBytes=Ta.boolToBytes=Ta.toBytes=void 0;const e=fr(),t=Vn(),r=Fo(),n=pn(),a=ht(),i=new TextEncoder;function c(p,g={}){return typeof p=="number"||typeof p=="bigint"?o(p,g):typeof p=="boolean"?f(p,g):(0,t.isHex)(p)?l(p,g):u(p,g)}Ta.toBytes=c;function f(p,g={}){const y=new Uint8Array(1);return y[0]=Number(p),typeof g.size=="number"?((0,n.assertSize)(y,{size:g.size}),(0,r.pad)(y,{size:g.size})):y}Ta.boolToBytes=f;const m={zero:48,nine:57,A:65,F:70,a:97,f:102};function h(p){if(p>=m.zero&&p<=m.nine)return p-m.zero;if(p>=m.A&&p<=m.F)return p-(m.A-10);if(p>=m.a&&p<=m.f)return p-(m.a-10)}function l(p,g={}){let y=p;g.size&&((0,n.assertSize)(y,{size:g.size}),y=(0,r.pad)(y,{dir:"right",size:g.size}));let b=y.slice(2);b.length%2&&(b=`0${b}`);const x=b.length/2,w=new Uint8Array(x);for(let E=0,j=0;E<x;E++){const T=h(b.charCodeAt(j++)),F=h(b.charCodeAt(j++));if(T===void 0||F===void 0)throw new e.BaseError(`Invalid byte sequence ("${b[j-2]}${b[j-1]}" in "${b}").`);w[E]=T*16+F}return w}Ta.hexToBytes=l;function o(p,g){const y=(0,a.numberToHex)(p,g);return l(y)}Ta.numberToBytes=o;function u(p,g={}){const y=i.encode(p);return typeof g.size=="number"?((0,n.assertSize)(y,{size:g.size}),(0,r.pad)(y,{dir:"right",size:g.size})):y}return Ta.stringToBytes=u,Ta}var hI;function pn(){if(hI)return Zn;hI=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.hexToString=Zn.hexToNumber=Zn.hexToBool=Zn.hexToBigInt=Zn.fromHex=Zn.assertSize=void 0;const e=by(),t=Vs(),r=Bo(),n=hn();function a(l,{size:o}){if((0,t.size)(l)>o)throw new e.SizeOverflowError({givenSize:(0,t.size)(l),maxSize:o})}Zn.assertSize=a;function i(l,o){const u=typeof o=="string"?{to:o}:o,p=u.to;return p==="number"?m(l,u):p==="bigint"?c(l,u):p==="string"?h(l,u):p==="boolean"?f(l,u):(0,n.hexToBytes)(l,u)}Zn.fromHex=i;function c(l,o={}){const{signed:u}=o;o.size&&a(l,{size:o.size});const p=BigInt(l);if(!u)return p;const g=(l.length-2)/2,y=(1n<<BigInt(g)*8n-1n)-1n;return p<=y?p:p-BigInt(`0x${"f".padStart(g*2,"f")}`)-1n}Zn.hexToBigInt=c;function f(l,o={}){let u=l;if(o.size&&(a(u,{size:o.size}),u=(0,r.trim)(u)),(0,r.trim)(u)==="0x00")return!1;if((0,r.trim)(u)==="0x01")return!0;throw new e.InvalidHexBooleanError(u)}Zn.hexToBool=f;function m(l,o={}){return Number(c(l,o))}Zn.hexToNumber=m;function h(l,o={}){let u=(0,n.hexToBytes)(l);return o.size&&(a(u,{size:o.size}),u=(0,r.trim)(u,{dir:"right"})),new TextDecoder().decode(u)}return Zn.hexToString=h,Zn}var pI;function ht(){if(pI)return ka;pI=1,Object.defineProperty(ka,"__esModule",{value:!0}),ka.stringToHex=ka.numberToHex=ka.bytesToHex=ka.boolToHex=ka.toHex=void 0;const e=by(),t=Fo(),r=pn(),n=Array.from({length:256},(l,o)=>o.toString(16).padStart(2,"0"));function a(l,o={}){return typeof l=="number"||typeof l=="bigint"?f(l,o):typeof l=="string"?h(l,o):typeof l=="boolean"?i(l,o):c(l,o)}ka.toHex=a;function i(l,o={}){const u=`0x${Number(l)}`;return typeof o.size=="number"?((0,r.assertSize)(u,{size:o.size}),(0,t.pad)(u,{size:o.size})):u}ka.boolToHex=i;function c(l,o={}){let u="";for(let g=0;g<l.length;g++)u+=n[l[g]];const p=`0x${u}`;return typeof o.size=="number"?((0,r.assertSize)(p,{size:o.size}),(0,t.pad)(p,{dir:"right",size:o.size})):p}ka.bytesToHex=c;function f(l,o={}){const{signed:u,size:p}=o,g=BigInt(l);let y;p?u?y=(1n<<BigInt(p)*8n-1n)-1n:y=2n**(BigInt(p)*8n)-1n:typeof l=="number"&&(y=BigInt(Number.MAX_SAFE_INTEGER));const b=typeof y=="bigint"&&u?-y-1n:0;if(y&&g>y||g<b){const w=typeof l=="bigint"?"n":"";throw new e.IntegerOutOfRangeError({max:y?`${y}${w}`:void 0,min:`${b}${w}`,signed:u,size:p,value:`${l}${w}`})}const x=`0x${(u&&g<0?(1n<<BigInt(p*8))+BigInt(g):g).toString(16)}`;return p?(0,t.pad)(x,{size:p}):x}ka.numberToHex=f;const m=new TextEncoder;function h(l,o={}){const u=m.encode(l);return c(u,o)}return ka.stringToHex=h,ka}var mI;function Ite(){if(mI)return df;
18717mI=1,Object.defineProperty(df,"__esModule",{value:!0}),df.generatePrivateKey=void 0;const e=Ki(),t=ht();function r(){return(0,t.toHex)(e.secp256k1.utils.randomPrivateKey())}return df.generatePrivateKey=r,df}var yf={},bf={},vf={},wf={},gI;function ji(){if(gI)return wf;gI=1,Object.defineProperty(wf,"__esModule",{value:!0}),wf.InvalidAddressError=void 0;const e=fr();class t extends e.BaseError{constructor({address:n}){super(`Address "${n}" is invalid.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAddressError"})}}return wf.InvalidAddressError=t,wf}var _f={},yI;function Ua(){if(yI)return _f;yI=1,Object.defineProperty(_f,"__esModule",{value:!0}),_f.isAddress=void 0;const e=/^0x[a-fA-F0-9]{40}$/;function t(r){return e.test(r)}return _f.isAddress=t,_f}var bI;function Nz(){if(bI)return vf;bI=1,Object.defineProperty(vf,"__esModule",{value:!0}),vf.toAccount=void 0;const e=ji(),t=Ua();function r(n){if(typeof n=="string"){if(!(0,t.isAddress)(n))throw new e.InvalidAddressError({address:n});return{address:n,type:"json-rpc"}}if(!(0,t.isAddress)(n.address))throw new e.InvalidAddressError({address:n.address});return{address:n.address,signMessage:n.signMessage,signTransaction:n.signTransaction,signTypedData:n.signTypedData,source:"custom",type:"local"}}return vf.toAccount=r,vf}var xf={},yc={},Ef={},br={},vI;function Nte(){if(vI)return br;vI=1,Object.defineProperty(br,"__esModule",{value:!0}),br.shake256=br.shake128=br.keccak_512=br.keccak_384=br.keccak_256=br.keccak_224=br.sha3_512=br.sha3_384=br.sha3_256=br.sha3_224=br.Keccak=br.keccakP=void 0;const e=Jl(),t=kz(),r=Ei(),[n,a,i]=[[],[],[]],c=BigInt(0),f=BigInt(1),m=BigInt(2),h=BigInt(7),l=BigInt(256),o=BigInt(113);for(let j=0,T=f,F=1,z=0;j<24;j++){[F,z]=[z,(2*F+3*z)%5],n.push(2*(5*z+F)),a.push((j+1)*(j+2)/2%64);let K=c;for(let U=0;U<7;U++)T=(T<<f^(T>>h)*o)%l,T&m&&(K^=f<<(f<<BigInt(U))-f);i.push(K)}const[u,p]=(0,t.split)(i,!0),g=(j,T,F)=>F>32?(0,t.rotlBH)(j,T,F):(0,t.rotlSH)(j,T,F),y=(j,T,F)=>F>32?(0,t.rotlBL)(j,T,F):(0,t.rotlSL)(j,T,F);function b(j,T=24){const F=new Uint32Array(10);for(let z=24-T;z<24;z++){for(let H=0;H<10;H++)F[H]=j[H]^j[H+10]^j[H+20]^j[H+30]^j[H+40];for(let H=0;H<10;H+=2){const V=(H+8)%10,Z=(H+2)%10,R=F[Z],_=F[Z+1],k=g(R,_,1)^F[V],M=y(R,_,1)^F[V+1];for(let B=0;B<50;B+=10)j[H+B]^=k,j[H+B+1]^=M}let K=j[2],U=j[3];for(let H=0;H<24;H++){const V=a[H],Z=g(K,U,V),R=y(K,U,V),_=n[H];K=j[_],U=j[_+1],j[_]=Z,j[_+1]=R}for(let H=0;H<50;H+=10){for(let V=0;V<10;V++)F[V]=j[H+V];for(let V=0;V<10;V++)j[H+V]^=~F[(V+2)%10]&F[(V+4)%10]}j[0]^=u[z],j[1]^=p[z]}F.fill(0)}br.keccakP=b;class x extends r.Hash{constructor(T,F,z,K=!1,U=24){if(super(),this.blockLen=T,this.suffix=F,this.outputLen=z,this.enableXOF=K,this.rounds=U,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,e.number)(z),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,r.u32)(this.state)}keccak(){b(this.state32,this.rounds),this.posOut=0,this.pos=0}update(T){(0,e.exists)(this);const{blockLen:F,state:z}=this;T=(0,r.toBytes)(T);const K=T.length;for(let U=0;U<K;){const H=Math.min(F-this.pos,K-U);for(let V=0;V<H;V++)z[this.pos++]^=T[U++];this.pos===F&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:T,suffix:F,pos:z,blockLen:K}=this;T[z]^=F,(F&128)!==0&&z===K-1&&this.keccak(),T[K-1]^=128,this.keccak()}writeInto(T){(0,e.exists)(this,!1),(0,e.bytes)(T),this.finish();const F=this.state,{blockLen:z}=this;for(let K=0,U=T.length;K<U;){this.posOut>=z&&this.keccak();const H=Math.min(z-this.posOut,U-K);T.set(F.subarray(this.posOut,this.posOut+H),K),this.posOut+=H,K+=H}return T}xofInto(T){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(T)}xof(T){return(0,e.number)(T),this.xofInto(new Uint8Array(T))}digestInto(T){if((0,e.output)(T,this),this.finished)throw new Error("digest() was already called");return this.writeInto(T),this.destroy(),T}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(T){const{blockLen:F,suffix:z,outputLen:K,rounds:U,enableXOF:H}=this;return T||(T=new x(F,z,K,H,U)),T.state32.set(this.state32),T.pos=this.pos,T.posOut=this.posOut,T.finished=this.finished,T.rounds=U,T.suffix=z,T.outputLen=K,T.enableXOF=H,T.destroyed=this.destroyed,T}}br.Keccak=x;const w=(j,T,F)=>(0,r.wrapConstructor)(()=>new x(T,j,F));br.sha3_224=w(6,144,224/8),br.sha3_256=w(6,136,256/8),br.sha3_384=w(6,104,384/8),br.sha3_512=w(6,72,512/8),br.keccak_224=w(1,144,224/8),br.keccak_256=w(1,136,256/8),br.keccak_384=w(1,104,384/8),br.keccak_512=w(1,72,512/8);const E=(j,T,F)=>(0,r.wrapXOFConstructorWithOpts)((z={})=>new x(T,j,z.dkLen===void 0?F:z.dkLen,!0));return br.shake128=E(31,168,128/8),br.shake256=E(31,136,256/8),br}var wI;function qa(){if(wI)return Ef;
18717wI=1,Object.defineProperty(Ef,"__esModule",{value:!0}),Ef.keccak256=void 0;const e=Nte(),t=Vn(),r=hn(),n=ht();function a(i,c){const f=c||"hex",m=(0,e.keccak_256)((0,t.isHex)(i,{strict:!1})?(0,r.toBytes)(i):i);return f==="bytes"?m:(0,n.toHex)(m)}return Ef.keccak256=a,Ef}var _I;function Hs(){if(_I)return yc;_I=1,Object.defineProperty(yc,"__esModule",{value:!0}),yc.getAddress=yc.checksumAddress=void 0;const e=ji(),t=hn(),r=qa(),n=Ua();function a(c,f){const m=f?`${f}${c.toLowerCase()}`:c.substring(2).toLowerCase(),h=(0,r.keccak256)((0,t.stringToBytes)(m),"bytes"),l=(f?m.substring(`${f}0x`.length):m).split("");for(let o=0;o<40;o+=2)h[o>>1]>>4>=8&&l[o]&&(l[o]=l[o].toUpperCase()),(h[o>>1]&15)>=8&&l[o+1]&&(l[o+1]=l[o+1].toUpperCase());return`0x${l.join("")}`}yc.checksumAddress=a;function i(c,f){if(!(0,n.isAddress)(c))throw new e.InvalidAddressError({address:c});return a(c,f)}return yc.getAddress=i,yc}var xI;function Ql(){if(xI)return xf;xI=1,Object.defineProperty(xf,"__esModule",{value:!0}),xf.publicKeyToAddress=void 0;const e=Hs(),t=qa();function r(n){const a=(0,t.keccak256)(`0x${n.substring(4)}`).substring(26);return(0,e.checksumAddress)(`0x${a}`)}return xf.publicKeyToAddress=r,xf}var jf={},Af={},Pf={},EI;function Mz(){return EI||(EI=1,Object.defineProperty(Pf,"__esModule",{value:!0}),Pf.presignMessagePrefix=void 0,Pf.presignMessagePrefix=`�Ethereum Signed Message: 18718`),Pf}var gs={},jI;function La(){if(jI)return gs;jI=1,Object.defineProperty(gs,"__esModule",{value:!0}),gs.concatHex=gs.concatBytes=gs.concat=void 0;function e(n){return typeof n[0]=="string"?r(n):t(n)}gs.concat=e;function t(n){let a=0;for(const f of n)a+=f.length;const i=new Uint8Array(a);let c=0;for(const f of n)i.set(f,c),c+=f.length;return i}gs.concatBytes=t;function r(n){return`0x${n.reduce((a,i)=>a+i.replace("0x",""),"")}`}return gs.concatHex=r,gs}var AI;function gw(){if(AI)return Af;AI=1,Object.defineProperty(Af,"__esModule",{value:!0}),Af.hashMessage=void 0;const e=Mz(),t=La(),r=hn(),n=qa();function a(i,c){const f=typeof i=="string"?(0,r.stringToBytes)(i):i.raw instanceof Uint8Array?i.raw:(0,r.toBytes)(i.raw),m=(0,r.stringToBytes)(`${e.presignMessagePrefix}${f.length}`);return(0,n.keccak256)((0,t.concat)([m,f]),c)}return Af.hashMessage=a,Af}var Sf={},PI;function yw(){if(PI)return Sf;PI=1,Object.defineProperty(Sf,"__esModule",{value:!0}),Sf.signatureToHex=void 0;const e=Ki(),t=pn(),r=ht();function n({r:a,s:i,v:c}){return`0x${new e.secp256k1.Signature((0,t.hexToBigInt)(a),(0,t.hexToBigInt)(i)).toCompactHex()}${(0,r.toHex)(c).slice(2)}`}return Sf.signatureToHex=n,Sf}var kf={},SI;function bw(){if(SI)return kf;SI=1,Object.defineProperty(kf,"__esModule",{value:!0}),kf.sign=void 0;const e=Ki(),t=ht();async function r({hash:n,privateKey:a}){const{r:i,s:c,recovery:f}=e.secp256k1.sign(n.slice(2),a.slice(2));return{r:(0,t.toHex)(i),s:(0,t.toHex)(c),v:f?28n:27n}}return kf.sign=r,kf}var kI;function Fz(){if(kI)return jf;kI=1,Object.defineProperty(jf,"__esModule",{value:!0}),jf.signMessage=void 0;const e=gw(),t=yw(),r=bw();async function n({message:a,privateKey:i}){const c=await(0,r.sign)({hash:(0,e.hashMessage)(a),privateKey:i});return(0,t.signatureToHex)(c)}return jf.signMessage=n,jf}var Tf={},Rf={},Sr={},Of={},ys={},TI;function vy(){return TI||(TI=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.weiUnits=ys.gweiUnits=ys.etherUnits=void 0,ys.etherUnits={gwei:9,wei:18},ys.gweiUnits={ether:-9,wei:9},ys.weiUnits={ether:-18,gwei:-9}),ys}var Cf={},RI;function vw(){if(RI)return Cf;RI=1,Object.defineProperty(Cf,"__esModule",{value:!0}),Cf.formatUnits=void 0;function e(t,r){let n=t.toString();const a=n.startsWith("-");a&&(n=n.slice(1)),n=n.padStart(r,"0");let[i,c]=[n.slice(0,n.length-r),n.slice(n.length-r)];return c=c.replace(/(0+)$/,""),`${a?"-":""}${i||"0"}${c?`.${c}`:""}`}return Cf.formatUnits=e,Cf}var OI;function wy(){if(OI)return Of;OI=1,Object.defineProperty(Of,"__esModule",{value:!0}),Of.formatEther=void 0;const e=vy(),t=vw();function r(n,a="wei"){return(0,t.formatUnits)(n,e.etherUnits[a])}return Of.formatEther=r,Of}var If={},CI;function vu(){if(CI)return If;
18718CI=1,Object.defineProperty(If,"__esModule",{value:!0}),If.formatGwei=void 0;const e=vy(),t=vw();function r(n,a="wei"){return(0,t.formatUnits)(n,e.gweiUnits[a])}return If.formatGwei=r,If}var II;function Da(){if(II)return Sr;II=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.WaitForTransactionReceiptTimeoutError=Sr.TransactionReceiptNotFoundError=Sr.TransactionNotFoundError=Sr.TransactionExecutionError=Sr.InvalidStorageKeySizeError=Sr.InvalidSerializedTransactionError=Sr.InvalidSerializedTransactionTypeError=Sr.InvalidSerializableTransactionError=Sr.InvalidLegacyVError=Sr.FeeConflictError=Sr.prettyPrint=void 0;const e=wy(),t=vu(),r=fr();function n(g){const y=Object.entries(g).map(([x,w])=>w===void 0||w===!1?null:[x,w]).filter(Boolean),b=y.reduce((x,[w])=>Math.max(x,w.length),0);return y.map(([x,w])=>` ${`${x}:`.padEnd(b+1)} ${w}`).join(` 18719`)}Sr.prettyPrint=n;class a extends r.BaseError{constructor(){super(["Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.","Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others."].join(` 18720`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeConflictError"})}}Sr.FeeConflictError=a;class i extends r.BaseError{constructor({v:y}){super(`Invalid \`v\` value "${y}". Expected 27 or 28.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidLegacyVError"})}}Sr.InvalidLegacyVError=i;class c extends r.BaseError{constructor({transaction:y}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",n(y),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- a Legacy Transaction with `gasPrice`"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSerializableTransactionError"})}}Sr.InvalidSerializableTransactionError=c;class f extends r.BaseError{constructor({serializedType:y}){super(`Serialized transaction type "${y}" is invalid.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSerializedTransactionType"}),Object.defineProperty(this,"serializedType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedType=y}}Sr.InvalidSerializedTransactionTypeError=f;class m extends r.BaseError{constructor({attributes:y,serializedTransaction:b,type:x}){const w=Object.entries(y).map(([E,j])=>typeof j>"u"?E:void 0).filter(Boolean);super(`Invalid serialized transaction of type "${x}" was provided.`,{metaMessages:[`Serialized Transaction: "${b}"`,w.length>0?`Missing Attributes: ${w.join(", ")}`:""].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSerializedTransactionError"}),Object.defineProperty(this,"serializedTransaction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedTransaction=b,this.type=x}}Sr.InvalidSerializedTransactionError=m;class h extends r.BaseError{constructor({storageKey:y}){super(`Size for storage key "${y}" is invalid. Expected 32 bytes. Got ${Math.floor((y.length-2)/2)} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStorageKeySizeError"})}}Sr.InvalidStorageKeySizeError=h;class l extends r.BaseError{constructor(y,{account:b,docsPath:x,chain:w,data:E,gas:j,gasPrice:T,maxFeePerGas:F,maxPriorityFeePerGas:z,nonce:K,to:U,value:H}){const V=n({chain:w&&`${w?.name} (id: ${w?.id})`,from:b?.address,to:U,value:typeof H<"u"&&`${(0,e.formatEther)(H)} ${w?.nativeCurrency?.symbol||"ETH"}`,data:E,gas:j,gasPrice:typeof T<"u"&&`${(0,t.formatGwei)(T)} gwei`,maxFeePerGas:typeof F<"u"&&`${(0,t.formatGwei)(F)} gwei`,maxPriorityFeePerGas:typeof z<"u"&&`${(0,t.formatGwei)(z)} gwei`,nonce:K});super(y.shortMessage,{cause:y,docsPath:x,metaMessages:[...y.metaMessages?[...y.metaMessages," "]:[],"Request Arguments:",V].filter(
18720Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionExecutionError"}),this.cause=y}}Sr.TransactionExecutionError=l;class o extends r.BaseError{constructor({blockHash:y,blockNumber:b,blockTag:x,hash:w,index:E}){let j="Transaction";x&&E!==void 0&&(j=`Transaction at block time "${x}" at index "${E}"`),y&&E!==void 0&&(j=`Transaction at block hash "${y}" at index "${E}"`),b&&E!==void 0&&(j=`Transaction at block number "${b}" at index "${E}"`),w&&(j=`Transaction with hash "${w}"`),super(`${j} could not be found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionNotFoundError"})}}Sr.TransactionNotFoundError=o;class u extends r.BaseError{constructor({hash:y}){super(`Transaction receipt with hash "${y}" could not be found. The Transaction may not be processed on a block yet.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionReceiptNotFoundError"})}}Sr.TransactionReceiptNotFoundError=u;class p extends r.BaseError{constructor({hash:y}){super(`Timed out while waiting for transaction with hash "${y}" to be confirmed.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WaitForTransactionReceiptTimeoutError"})}}return Sr.WaitForTransactionReceiptTimeoutError=p,Sr}var bs={},cx={},ux={},Nf={},Mf={},NI;function Mte(){return NI||(NI=1,Object.defineProperty(Mf,"__esModule",{value:!0}),Mf.version=void 0,Mf.version="0.9.8"),Mf}var MI;function Xl(){if(MI)return Nf;MI=1,Object.defineProperty(Nf,"__esModule",{value:!0}),Nf.BaseError=void 0;const e=Mte();class t extends Error{constructor(n,a={}){const i=a.cause instanceof t?a.cause.details:a.cause?.message?a.cause.message:a.details,c=a.cause instanceof t&&a.cause.docsPath||a.docsPath,f=[n||"An error occurred.","",...a.metaMessages?[...a.metaMessages,""]:[],...c?[`Docs: https://abitype.dev${c}`]:[],...i?[`Details: ${i}`]:[],`Version: abitype@${e.version}`].join(` 18721`);super(f),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),a.cause&&(this.cause=a.cause),this.details=i,this.docsPath=c,this.metaMessages=a.metaMessages,this.shortMessage=n}}return Nf.BaseError=t,Nf}var Ff={},FI;function Fte(){if(FI)return Ff;FI=1,Object.defineProperty(Ff,"__esModule",{value:!0}),Ff.narrow=void 0;function e(t){return t}return Ff.narrow=e,Ff}var Bf={},Uf={},qf={},Lf={},hi={},BI;function ww(){if(BI)return hi;BI=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.isTupleRegex=hi.integerRegex=hi.bytesRegex=hi.execTyped=void 0;function e(t,r){return t.exec(r)?.groups}return hi.execTyped=e,hi.bytesRegex=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,hi.integerRegex=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,hi.isTupleRegex=/^\(.+?\).*?$/,hi}var UI;function Bz(){if(UI)return Lf;UI=1,Object.defineProperty(Lf,"__esModule",{value:!0}),Lf.formatAbiParameter=void 0;const e=ww(),t=/^tuple(?<array>(\[(\d*)\])*)$/;function r(n){let a=n.type;if(t.test(n.type)&&"components"in n){a="(";const i=n.components.length;for(let f=0;f<i;f++){const m=n.components[f];a+=r(m),f<i-1&&(a+=", ")}const c=(0,e.execTyped)(t,n.type);return a+=`)${c?.array??""}`,r({...n,type:a})}return"indexed"in n&&n.indexed&&(a=`${a} indexed`),n.name?`${a} ${n.name}`:a}return Lf.formatAbiParameter=r,Lf}var qI;function Uz(){if(qI)return qf;qI=1,Object.defineProperty(qf,"__esModule",{value:!0}),qf.formatAbiParameters=void 0;const e=Bz();function t(r){let n="";const a=r.length;for(let i=0;i<a;i++){const c=r[i];n+=(0,e.formatAbiParameter)(c),i!==a-1&&(n+=", ")}return n}return qf.formatAbiParameters=t,qf}var LI;
18721function qz(){if(LI)return Uf;LI=1,Object.defineProperty(Uf,"__esModule",{value:!0}),Uf.formatAbiItem=void 0;const e=Uz();function t(r){return r.type==="function"?`function ${r.name}(${(0,e.formatAbiParameters)(r.inputs)})${r.stateMutability&&r.stateMutability!=="nonpayable"?` ${r.stateMutability}`:""}${r.outputs.length?` returns (${(0,e.formatAbiParameters)(r.outputs)})`:""}`:r.type==="event"?`event ${r.name}(${(0,e.formatAbiParameters)(r.inputs)})`:r.type==="error"?`error ${r.name}(${(0,e.formatAbiParameters)(r.inputs)})`:r.type==="constructor"?`constructor(${(0,e.formatAbiParameters)(r.inputs)})${r.stateMutability==="payable"?" payable":""}`:r.type==="fallback"?"fallback()":"receive() external payable"}return Uf.formatAbiItem=t,Uf}var DI;function Bte(){if(DI)return Bf;DI=1,Object.defineProperty(Bf,"__esModule",{value:!0}),Bf.formatAbi=void 0;const e=qz();function t(r){const n=[],a=r.length;for(let i=0;i<a;i++){const c=r[i],f=(0,e.formatAbiItem)(c);n.push(f)}return n}return Bf.formatAbi=t,Bf}var Df={},ar={},zI;function $l(){if(zI)return ar;zI=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.functionModifiers=ar.eventModifiers=ar.modifiers=ar.isReceiveSignature=ar.isFallbackSignature=ar.execConstructorSignature=ar.isConstructorSignature=ar.execStructSignature=ar.isStructSignature=ar.execFunctionSignature=ar.isFunctionSignature=ar.execEventSignature=ar.isEventSignature=ar.execErrorSignature=ar.isErrorSignature=void 0;const e=ww(),t=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function r(j){return t.test(j)}ar.isErrorSignature=r;function n(j){return(0,e.execTyped)(t,j)}ar.execErrorSignature=n;const a=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function i(j){return a.test(j)}ar.isEventSignature=i;function c(j){return(0,e.execTyped)(a,j)}ar.execEventSignature=c;const f=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function m(j){return f.test(j)}ar.isFunctionSignature=m;function h(j){return(0,e.execTyped)(f,j)}ar.execFunctionSignature=h;const l=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function o(j){return l.test(j)}ar.isStructSignature=o;function u(j){return(0,e.execTyped)(l,j)}ar.execStructSignature=u;const p=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function g(j){return p.test(j)}ar.isConstructorSignature=g;function y(j){return(0,e.execTyped)(p,j)}ar.execConstructorSignature=y;const b=/^fallback\(\)$/;function x(j){return b.test(j)}ar.isFallbackSignature=x;const w=/^receive\(\) external payable$/;function E(j){return w.test(j)}return ar.isReceiveSignature=E,ar.modifiers=new Set(["memory","indexed","storage","calldata"]),ar.eventModifiers=new Set(["indexed"]),ar.functionModifiers=new Set(["calldata","memory","storage"]),ar}var zf={},vs={},VI;function tS(){if(VI)return vs;VI=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.UnknownSolidityTypeError=vs.UnknownTypeError=vs.InvalidAbiItemError=void 0;const e=Xl();class t extends e.BaseError{constructor({signature:i}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(i,null,2)})`,docsPath:"/api/human.html#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}vs.InvalidAbiItemError=t;class r extends e.BaseError{constructor({type:i}){super("Unknown type.",{metaMessages:[`Type "${i}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}vs.UnknownTypeError=r;class n extends e.BaseError{constructor({type:i}){super("Unknown type.",{metaMessages:[`Type "${i}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}return vs.UnknownSolidityTypeError=n,vs}var En={},HI;function rS(){if(HI)return En;HI=1,Object.defineProperty(En,"__esModule",{value:!0}),En.InvalidAbiTypeParameterError=En.InvalidFunctionModifierError=En.InvalidModifierError=En.SolidityProtectedKeywordError=En.InvalidParameterError=En.InvalidAbiParametersError=En.InvalidAbiParameterError=void 0;const e=Xl();class t extends e.BaseError{constructor({param:h}){super("Failed to parse ABI parameter.",{details:`parseAbiParameter(${JSON.stringify(h,null,2)})`,docsPath:"/api/human.html#parseabiparameter-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParameterError"})}}En.InvalidAbiParameterError=t;class r extends e.BaseError{constructor({params:h}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(h,null,2)})`,docsPath:"/api/human.html#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}En.InvalidAbiParametersError=r;class n extends e.BaseError{constructor({param:h}){super("Invalid ABI parameter.",{details:h}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}En.InvalidParameterError=n;class a extends e.BaseError{constructor({param:h,name:l}){super("Invalid ABI parameter.",{details:h,metaMessages:[`"${l}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}En.SolidityProtectedKeywordError=a;class i extends e.BaseError{constructor({param:h,type:l,modifier:o}){super("Invalid ABI parameter.",{details:h,metaMessages:[`Modifier "${o}" not allowed${l?` in "${l}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}En.InvalidModifierError=i;class c extends e.BaseError{constructor({param:h,type:l,modifier:o}){super("Invalid ABI parameter.",{details:h,metaMessages:[`Modifier "${o}" not allowed${l?` in "${l}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${o}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}En.InvalidFunctionModifierError=c;class f extends e.BaseError{constructor({abiParameter:h}){super("Invalid ABI parameter.",{details:JSON.stringify(h,null,2),metaMessages:["ABI parameter type is invali
18721d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}return En.InvalidAbiTypeParameterError=f,En}var ws={},WI;function nS(){if(WI)return ws;WI=1,Object.defineProperty(ws,"__esModule",{value:!0}),ws.InvalidStructSignatureError=ws.UnknownSignatureError=ws.InvalidSignatureError=void 0;const e=Xl();class t extends e.BaseError{constructor({signature:i,type:c}){super(`Invalid ${c} signature.`,{details:i}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}ws.InvalidSignatureError=t;class r extends e.BaseError{constructor({signature:i}){super("Unknown signature.",{details:i}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}ws.UnknownSignatureError=r;class n extends e.BaseError{constructor({signature:i}){super("Invalid struct signature.",{details:i,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}return ws.InvalidStructSignatureError=n,ws}var Vf={},GI;function Lz(){if(GI)return Vf;GI=1,Object.defineProperty(Vf,"__esModule",{value:!0}),Vf.CircularReferenceError=void 0;const e=Xl();class t extends e.BaseError{constructor({type:n}){super("Circular reference detected.",{metaMessages:[`Struct "${n}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}return Vf.CircularReferenceError=t,Vf}var Jn={},Hf={},KI;function Dz(){if(KI)return Hf;
18721KI=1,Object.defineProperty(Hf,"__esModule",{value:!0}),Hf.InvalidParenthesisError=void 0;const e=Xl();class t extends e.BaseError{constructor({current:n,depth:a}){super("Unbalanced parentheses.",{metaMessages:[`"${n.trim()}" has too many ${a>0?"opening":"closing"} parentheses.`],details:`Depth "${a}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}return Hf.InvalidParenthesisError=t,Hf}var bc={},YI;function Ute(){if(YI)return bc;YI=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.parameterCache=bc.getParameterCacheKey=void 0;function e(t,r){return r?`${r}:${t}`:t}return bc.getParameterCacheKey=e,bc.parameterCache=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]),bc}var ZI;function zl(){if(ZI)return Jn;ZI=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.isValidDataLocation=Jn.isSolidityKeyword=Jn.isSolidityType=Jn.splitParameters=Jn.parseAbiParameter=Jn.parseSignature=void 0;const e=ww(),t=tS(),r=rS(),n=nS(),a=Dz(),i=Ute(),c=$l();function f(x,w={}){if((0,c.isFunctionSignature)(x)){const E=(0,c.execFunctionSignature)(x);if(!E)throw new n.InvalidSignatureError({signature:x,type:"function"});const j=u(E.parameters),T=[],F=j.length;for(let K=0;K<F;K++)T.push(o(j[K],{modifiers:c.functionModifiers,structs:w,type:"function"}));const z=[];if(E.returns){const K=u(E.returns),U=K.length;for(let H=0;H<U;H++)z.push(o(K[H],{modifiers:c.functionModifiers,structs:w,type:"function"}))}return{name:E.name,type:"function",stateMutability:E.stateMutability??"nonpayable",inputs:T,outputs:z}}if((0,c.isEventSignature)(x)){const E=(0,c.execEventSignature)(x);if(!E)throw new n.InvalidSignatureError({signature:x,type:"event"});const j=u(E.parameters),T=[],F=j.length;for(let z=0;z<F;z++)T.push(o(j[z],{modifiers:c.eventModifiers,structs:w,type:"event"}));return{name:E.name,type:"event",inputs:T}}if((0,c.isErrorSignature)(x)){const E=(0,c.execErrorSignature)(x);if(!E)throw new n.InvalidSignatureError({signature:x,type:"error"});const j=u(E.parameters),T=[],F=j.length;for(let z=0;z<F;z++)T.push(o(j[z],{structs:w,type:"error"}));return{name:E.name,type:"error",inputs:T}}if((0,c.isConstructorSignature)(x)){const E=(0,c.execConstructorSignature)(x);if(!E)throw new n.InvalidSignatureError({signature:x,type:"constructor"});const j=u(E.parameters),T=[],F=j.length;for(let z=0;z<F;z++)T.push(o(j[z],{structs:w,type:"constructor"}));return{type:"constructor",stateMutability:E.stateMutability??"nonpayable",inputs:T}}if((0,c.isFallbackSignature)(x))return{type:"fallback"};if((0,c.isReceiveSignature)(x))return{type:"receive",stateMutability:"payable"};throw new n.UnknownSignatureError({signature:x})}Jn.parseSignature=f;const m=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,h=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,l=/^u?int$/;function o(x,w){const E=(0,i.getParameterCacheKey)(x,w?.type);if(i.parameterCache.has(E))return i.parameterCache.get(E);const j=e.isTupleRegex.test(x),T=(0,e.execTyped)(j?h:m,x);if(!T)throw new r.InvalidParameterError({param:x});if(T.name&&y(T.name))throw new r.SolidityProtectedKeywordError({param:x,name:T.name});const F=T.name?{name:T.name}:{},z=T.modifier==="indexed"?{indexed:!0}:{},K=w?.structs??{};let U,H={};if(j){U="tuple";const Z=u(T.type),R=[],_=Z.length;for(let k=0;k<_;k++)R.push(o(Z[k],{structs:K}));H={components:R}}else if(T.type in K)U="tuple",H={components:K[T.type]};else if(l.test(T.type))U=`${T.type}256`;else if(U=T.type,w?.type!=="struct"&&!p(U))throw new t.UnknownSolidityTypeError({type:U});if(T.modifier){if(!w?.modifiers?.has?.(T.modifier))throw new r.InvalidModifierError({param:x,type:w?.type,modifier:T.modifier});
18721if(c.functionModifiers.has(T.modifier)&&!b(U,!!T.array))throw new r.InvalidFunctionModifierError({param:x,type:w?.type,modifier:T.modifier})}const V={type:`${U}${T.array??""}`,...F,...z,...H};return i.parameterCache.set(E,V),V}Jn.parseAbiParameter=o;function u(x,w=[],E="",j=0){if(x===""){if(E==="")return w;if(j!==0)throw new a.InvalidParenthesisError({current:E,depth:j});return w.push(E.trim()),w}const T=x.length;for(let F=0;F<T;F++){const z=x[F],K=x.slice(F+1);switch(z){case",":return j===0?u(K,[...w,E.trim()]):u(K,w,`${E}${z}`,j);case"(":return u(K,w,`${E}${z}`,j+1);case")":return u(K,w,`${E}${z}`,j-1);default:return u(K,w,`${E}${z}`,j)}}return[]}Jn.splitParameters=u;function p(x){return x==="address"||x==="bool"||x==="function"||x==="string"||e.bytesRegex.test(x)||e.integerRegex.test(x)}Jn.isSolidityType=p;const g=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function y(x){return x==="address"||x==="bool"||x==="function"||x==="string"||x==="tuple"||e.bytesRegex.test(x)||e.integerRegex.test(x)||g.test(x)}Jn.isSolidityKeyword=y;function b(x,w){return w||x==="bytes"||x==="string"||x==="tuple"}return Jn.isValidDataLocation=b,Jn}var JI;function _w(){if(JI)return zf;JI=1,Object.defineProperty(zf,"__esModule",{value:!0}),zf.parseStructs=void 0;const e=ww(),t=tS(),r=rS(),n=nS(),a=Lz(),i=$l(),c=zl();function f(l){const o={},u=l.length;for(let b=0;b<u;b++){const x=l[b];if(!(0,i.isStructSignature)(x))continue;const w=(0,i.execStructSignature)(x);if(!w)throw new n.InvalidSignatureError({signature:x,type:"struct"});const E=w.properties.split(";"),j=[],T=E.length;for(let F=0;F<T;F++){const K=E[F].trim();if(!K)continue;const U=(0,c.parseAbiParameter)(K,{type:"struct"});j.push(U)}if(!j.length)throw new n.InvalidStructSignatureError({signature:x});o[w.name]=j}const p={},g=Object.entries(o),y=g.length;for(let b=0;b<y;b++){const[x,w]=g[b];p[x]=h(w,o)}return p}zf.parseStructs=f;const m=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;function h(l,o,u=new Set){const p=[],g=l.length;for(let y=0;y<g;y++){const b=l[y];if(e.isTupleRegex.test(b.type))p.push(b);else{const w=(0,e.execTyped)(m,b.type);if(!w?.type)throw new r.InvalidAbiTypeParameterError({abiParameter:b});const{array:E,type:j}=w;if(j in o){if(u.has(j))throw new a.CircularReferenceError({type:j});p.push({...b,type:`tuple${E??""}`,components:h(o[j]??[],o,new Set([...u,j]))})}else if((0,c.isSolidityType)(j))p.push(b);else throw new t.UnknownTypeError({type:j})}}return p}return zf}var QI;function qte(){if(QI)return Df;QI=1,Object.defineProperty(Df,"__esModule",{value:!0}),Df.parseAbi=void 0;const e=$l(),t=_w(),r=zl();function n(a){const i=(0,t.parseStructs)(a),c=[],f=a.length;for(let m=0;m<f;m++){const h=a[m];(0,e.isStructSignature)(h)||c.push((0,r.parseSignature)(h,i))}return c}return Df.parseAbi=n,Df}var Wf={},XI;function Lte(){if(XI)return Wf;XI=1,Object.defineProperty(Wf,"__esModule",{value:!0}),Wf.parseAbiItem=void 0;const e=ed(),t=$l(),r=_w(),n=zl();function a(i){let c;if(typeof i=="string")c=(0,n.parseSignature)(i);else{const f=(0,r.parseStructs)(i),m=i.length;for(let h=0;h<m;h++){const l=i[h];if(!(0,t.isStructSignature)(l)){c=(0,n.parseSignature)(l,f);break}}}if(!c)throw new e.InvalidAbiItemError({signature:i});return c}return Wf.parseAbiItem=a,Wf}var Gf={},$I;function Dte(){if($I)return Gf;$I=1,Object.defineProperty(Gf,"__esModule",{value:!0}),Gf.parseAbiParameter=void 0;const e=ed(),t=$l(),r=_w(),n=zl();function a(i){let c;if(typeof i=="string")c=(0,n.parseAbiParameter)(i,{modifiers:t.modifiers});else{const f=(0,r.parseStructs)(i),m=i.length;for(let h=0;h<m;h++){const l=i[h];if(!(0,t.isStructSignature)(l)){c=(0,n.parseAbiParameter)(l,{modifiers:t.modifiers,structs:f});break}}}if(!c)throw new e.InvalidAbiParameterError({param:i});return c}return Gf.parseAbiParameter=a,Gf}var Kf={},eN;function zte(){if(eN)return Kf;
18721eN=1,Object.defineProperty(Kf,"__esModule",{value:!0}),Kf.parseAbiParameters=void 0;const e=ed(),t=$l(),r=_w(),n=zl(),a=zl();function i(c){const f=[];if(typeof c=="string"){const m=(0,n.splitParameters)(c),h=m.length;for(let l=0;l<h;l++)f.push((0,a.parseAbiParameter)(m[l],{modifiers:t.modifiers}))}else{const m=(0,r.parseStructs)(c),h=c.length;for(let l=0;l<h;l++){const o=c[l];if((0,t.isStructSignature)(o))continue;const u=(0,n.splitParameters)(o),p=u.length;for(let g=0;g<p;g++)f.push((0,a.parseAbiParameter)(u[g],{modifiers:t.modifiers,structs:m}))}}if(f.length===0)throw new e.InvalidAbiParametersError({params:c});return f}return Kf.parseAbiParameters=i,Kf}var tN;function ed(){return tN||(tN=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CircularReferenceError=e.InvalidParenthesisError=e.UnknownSignatureError=e.InvalidSignatureError=e.InvalidStructSignatureError=e.InvalidAbiParameterError=e.InvalidAbiParametersError=e.InvalidParameterError=e.SolidityProtectedKeywordError=e.InvalidModifierError=e.InvalidFunctionModifierError=e.InvalidAbiTypeParameterError=e.UnknownSolidityTypeError=e.InvalidAbiItemError=e.UnknownTypeError=e.parseAbiParameters=e.parseAbiParameter=e.parseAbiItem=e.parseAbi=e.formatAbiParameters=e.formatAbiParameter=e.formatAbiItem=e.formatAbi=e.narrow=e.BaseError=void 0;var t=Xl();Object.defineProperty(e,"BaseError",{enumerable:!0,get:function(){return t.BaseError}});var r=Fte();Object.defineProperty(e,"narrow",{enumerable:!0,get:function(){return r.narrow}});var n=Bte();Object.defineProperty(e,"formatAbi",{enumerable:!0,get:function(){return n.formatAbi}});var a=qz();Object.defineProperty(e,"formatAbiItem",{enumerable:!0,get:function(){return a.formatAbiItem}});var i=Bz();Object.defineProperty(e,"formatAbiParameter",{enumerable:!0,get:function(){return i.formatAbiParameter}});var c=Uz();Object.defineProperty(e,"formatAbiParameters",{enumerable:!0,get:function(){return c.formatAbiParameters}});var f=qte();Object.defineProperty(e,"parseAbi",{enumerable:!0,get:function(){return f.parseAbi}});var m=Lte();Object.defineProperty(e,"parseAbiItem",{enumerable:!0,get:function(){return m.parseAbiItem}});var h=Dte();Object.defineProperty(e,"parseAbiParameter",{enumerable:!0,get:function(){return h.parseAbiParameter}});var l=zte();Object.defineProperty(e,"parseAbiParameters",{enumerable:!0,get:function(){return l.parseAbiParameters}});var o=tS();Object.defineProperty(e,"UnknownTypeError",{enumerable:!0,get:function(){return o.UnknownTypeError}}),Object.defineProperty(e,"InvalidAbiItemError",{enumerable:!0,get:function(){return o.InvalidAbiItemError}}),Object.defineProperty(e,"UnknownSolidityTypeError",{enumerable:!0,get:function(){return o.UnknownSolidityTypeError}});var u=rS();Object.defineProperty(e,"InvalidAbiTypeParameterError",{enumerable:!0,get:function(){return u.InvalidAbiTypeParameterError}}),Object.defineProperty(e,"InvalidFunctionModifierError",{enumerable:!0,get:function(){return u.InvalidFunctionModifierError}}),Object.defineProperty(e,"InvalidModifierError",{enumerable:!0,get:function(){return u.InvalidModifierError}}),Object.defineProperty(e,"SolidityProtectedKeywordError",{enumerable:!0,get:function(){return u.SolidityProtectedKeywordError}}),Object.defineProperty(e,"InvalidParameterError",{enumerable:!0,get:function(){return u.InvalidParameterError}}),Object.defineProperty(e,"InvalidAbiParametersError",{enumerable:!0,get:function(){return u.InvalidAbiParametersError}}),Object.defineProperty(e,"InvalidAbiParameterError",{enumerable:!0,get:function(){return u.InvalidAbiParameterError}});var p=nS();Object.defineProperty(e,"InvalidStructSignatureError",{enumerable:!0,get:function(){return p.InvalidStructSignatureError}}),Object.defineProperty(e,"InvalidSignatureError",{enumerable:!0,get:function(){return p.InvalidSignatureError}}),Object.defineProperty(e,"UnknownSignatureError",{enumerable:!0,get:function(){return p.UnknownSignatureError}});var g=Dz();Object.defineProperty(e,"InvalidParenthesisError",{enumerable:!0,get:function(){return g.InvalidParenthesisError}});var y=Lz();Object.defineProperty(e,"CircularReferenceError",{enumerable:!0,get:function(){return y.CircularReferenceError}})})(ux)),ux}var _s={},Yf={},rN;function kr(){if(rN)return Yf;
18721rN=1,Object.defineProperty(Yf,"__esModule",{value:!0}),Yf.getAction=void 0;function e(t,r,n){return a=>t[r.name||n]?.(a)??r(t,a)}return Yf.getAction=e,Yf}var Zf={},Jf={},pt={},vc={},nN;function Ws(){if(nN)return vc;nN=1,Object.defineProperty(vc,"__esModule",{value:!0}),vc.formatAbiParams=vc.formatAbiItem=void 0;const e=Tr();function t(a,{includeName:i=!1}={}){if(a.type!=="function"&&a.type!=="event"&&a.type!=="error")throw new e.InvalidDefinitionTypeError(a.type);return`${a.name}(${r(a.inputs,{includeName:i})})`}vc.formatAbiItem=t;function r(a,{includeName:i=!1}={}){return a?a.map(c=>n(c,{includeName:i})).join(i?", ":","):""}vc.formatAbiParams=r;function n(a,{includeName:i}){return a.type.startsWith("tuple")?`(${r(a.components,{includeName:i})})${a.type.slice(5)}`:a.type+(i&&a.name?` ${a.name}`:"")}return vc}var aN;function Tr(){if(aN)return pt;aN=1,Object.defineProperty(pt,"__esModule",{value:!0}),pt.UnsupportedPackedAbiType=pt.InvalidDefinitionTypeError=pt.InvalidArrayError=pt.InvalidAbiDecodingTypeError=pt.InvalidAbiEncodingTypeError=pt.DecodeLogTopicsMismatch=pt.DecodeLogDataMismatch=pt.BytesSizeMismatchError=pt.AbiItemAmbiguityError=pt.AbiFunctionSignatureNotFoundError=pt.AbiFunctionOutputsNotFoundError=pt.AbiFunctionNotFoundError=pt.AbiEventNotFoundError=pt.AbiEventSignatureNotFoundError=pt.AbiEventSignatureEmptyTopicsError=pt.AbiErrorSignatureNotFoundError=pt.AbiErrorNotFoundError=pt.AbiErrorInputsNotFoundError=pt.AbiEncodingLengthMismatchError=pt.AbiEncodingBytesSizeMismatchError=pt.AbiEncodingArrayLengthMismatchError=pt.AbiDecodingZeroDataError=pt.AbiDecodingDataSizeTooSmallError=pt.AbiDecodingDataSizeInvalidError=pt.AbiConstructorParamsNotFoundError=pt.AbiConstructorNotFoundError=void 0;const e=Ws(),t=Vs(),r=fr();class n extends r.BaseError{constructor({docsPath:_}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join(` 18722`),{docsPath:_}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiConstructorNotFoundError"})}}pt.AbiConstructorNotFoundError=n;class a extends r.BaseError{constructor({docsPath:_}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(` 18723`),{docsPath:_}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiConstructorParamsNotFoundError"})}}pt.AbiConstructorParamsNotFoundError=a;class i extends r.BaseError{constructor({data:_,size:k}){super([`Data size of ${k}
18723 bytes is invalid.`,"Size must be in increments of 32 bytes (size % 32 === 0)."].join(` 18724`),{metaMessages:[`Data: ${_} (${k} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingDataSizeInvalidError"})}}pt.AbiDecodingDataSizeInvalidError=i;class c extends r.BaseError{constructor({data:_,params:k,size:M}){super([`Data size of ${M} bytes is too small for given parameters.`].join(` 18725`),{metaMessages:[`Params: (${(0,e.formatAbiParams)(k,{includeName:!0})})`,`Data: ${_} (${M} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=_,this.params=k,this.size=M}}pt.AbiDecodingDataSizeTooSmallError=c;class f extends r.BaseError{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingZeroDataError"})}}pt.AbiDecodingZeroDataError=f;class m extends r.BaseError{constructor({expectedLength:_,givenLength:k,type:M}){super([`ABI encoding array length mismatch for type ${M}.`,`Expected length: ${_}`,`Given length: ${k}`].join(` 18726`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingArrayLengthMismatchError"})}}pt.AbiEncodingArrayLengthMismatchError=m;class h extends r.BaseError{constructor({expectedSize:_,value:k}){super(`Size of bytes "${k}" (bytes${(0,t.size)(k)}) does not match expected size (bytes${_}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingBytesSizeMismatchError"})}}pt.AbiEncodingBytesSizeMismatchError=h;class l extends r.BaseError{constructor({expectedLength:_,givenLength:k}){super(["ABI encoding params/values length mismatch.",`Expected length (params): ${_}`,`Given length (values): ${k}`].join(` 18727`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingLengthMismatchError"})}}pt.AbiEncodingLengthMismatchError=l;class o extends r.BaseError{constructor(_,{docsPath:k}){super([`Arguments (\`args\`) were provided to "${_}", but "${_}" on the ABI does not contain any parameters (\`inputs\`).`,"Cannot encode error result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the inputs exist on it."].join(` 18728`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorInputsNotFoundError"})}}pt.AbiErrorInputsNotFoundError=o;class u extends r.BaseError{constructor(_,{docsPath:k}={}){super([`Error ${_?`"${_}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it."].join(` 18729`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorNotFoundError"})}}pt.AbiErrorNotFoundError=u;class p extends r.BaseError{constructor(_,{docsPath:k}){super([`Encoded error signature "${_}" not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${_}.`].join(` 18730`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=_}}pt.AbiErrorSignatureNotFoundError=p;class g extends r.BaseError{constructor({docsPath:_}){super("Cannot extract event signature from empty topics.",{docsPath:_}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventSignatureEmptyTopicsError"})}}pt.AbiEventSignatureEmptyTopicsError=g;class y extends r.BaseError{constructor(_,{docsPath:k}){super([`Encoded event signature "${_}" not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it.",`You can look up the signature here: https://openchain.xyz/signatures?query=${_}.`].join(` 18731`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventSignatureNotFoundError"})}}pt.AbiEventSignatureNotFoundError=y;class b extends r.BaseError{constructor(_,{docsPath:k}={}){super([`Event ${_?`"${_}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it."].join(` 18732`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventNotFoundError"})}}pt.AbiEventNotFoundError=b;class x extends r.BaseError{constructor(_,{docsPath:k}={}){super([`Function ${_?`"${_}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it."].join(` 18733`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionNotFoundError"})}}pt.AbiFunctionNotFoundError=x;class w extends r.BaseError{constructor(_,{docsPath:k}){super([`Function "${_}" does not contain any \`outputs\` on ABI.`,"Cannot decode function result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the function exists on it."].join(` 18734`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionOutputsNotFoundError"})}}pt.AbiFunctionOutputsNotFoundError=w;class E extends r.BaseError{constructor(_,{docsPath:k}){super([`Encoded function signature "${_}" not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it.",`You can look up the signature here: https://openchain.xyz/signatures?query=${_}.`].join(` 18735`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionSignatureNotFoundError"})}}pt.AbiFunctionSignatureNotFoundError=E;class j extends r.BaseError{constructor(_,k){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${_.type}
18735\` in \`${(0,e.formatAbiItem)(_.abiItem)}\`, and`,`\`${k.type}\` in \`${(0,e.formatAbiItem)(k.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItemAmbiguityError"})}}pt.AbiItemAmbiguityError=j;class T extends r.BaseError{constructor({expectedSize:_,givenSize:k}){super(`Expected bytes${_}, got bytes${k}.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytesSizeMismatchError"})}}pt.BytesSizeMismatchError=T;class F extends r.BaseError{constructor({abiItem:_,data:k,params:M,size:B}){super([`Data size of ${B} bytes is too small for non-indexed event parameters.`].join(` 18736`),{metaMessages:[`Params: (${(0,e.formatAbiParams)(M,{includeName:!0})})`,`Data: ${k} (${B} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=_,this.data=k,this.params=M,this.size=B}}pt.DecodeLogDataMismatch=F;class z extends r.BaseError{constructor({abiItem:_,param:k}){super([`Expected a topic for indexed event parameter${k.name?` "${k.name}"`:""} on event "${(0,e.formatAbiItem)(_,{includeName:!0})}".`].join(` 18737`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=_}}pt.DecodeLogTopicsMismatch=z;class K extends r.BaseError{constructor(_,{docsPath:k}){super([`Type "${_}" is not a valid encoding type.`,"Please provide a valid ABI type."].join(` 18738`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiEncodingType"})}}pt.InvalidAbiEncodingTypeError=K;class U extends r.BaseError{constructor(_,{docsPath:k}){super([`Type "${_}" is not a valid decoding type.`,"Please provide a valid ABI type."].join(` 18739`),{docsPath:k}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiDecodingType"})}}pt.InvalidAbiDecodingTypeError=U;class H extends r.BaseError{constructor(_){super([`Value "${_}" is not a valid array.`].join(` 18740`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidArrayError"})}}pt.InvalidArrayError=H;class V extends r.BaseError{constructor(_){super([`"${_}" is not a valid definition type.`,'Valid types: "function", "event", "error"'].join(` 18741`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidDefinitionTypeError"})}}pt.InvalidDefinitionTypeError=V;class Z extends r.BaseError{constructor(_){super(`Type "${_}" is not supported for packed encoding.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnsupportedPackedAbiType"})}}return pt.UnsupportedPackedAbiType=Z,pt}var Qf={},iN;function zz(){if(iN)return Qf;iN=1,Object.defineProperty(Qf,"__esModule",{value:!0}),Qf.FilterTypeNotSupportedError=void 0;const e=fr();class t extends e.BaseError{constructor(n){super(`Filter type "${n}" is not supported.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FilterTypeNotSupportedError"})}}return Qf.FilterTypeNotSupportedError=t,Qf}var Xf={},$f={},eh={},th={},sN;function Vte(){if(sN)return th;sN=1,Object.defineProperty(th,"__esModule",{value:!0}),th.normalizeSignature=void 0;const e=fr();function t(r){let n=!0,a="",i=0,c="",f=!1;for(let m=0;m<r.length;m++){const h=r[m];if(["(",")",","].includes(h)&&(n=!0),h==="("&&i++,h===")"&&i--,!!n){if(i===0){if(h===" "&&["event","function",""].includes(c))c="";else if(c+=h,h===")"){f=!0;break}continue}if(h===" "){r[m-1]!==","&&a!==","&&a!==",("&&(a="",n=!1);continue}c+=h,a+=h}}if(!f)throw new e.BaseError("Unable to normalize signature.");return c}return th.normalizeSignature=t,th}var oN;function aS(){if(oN)return eh;oN=1,Object.defineProperty(eh,"__esModule",{value:!0}),eh.getFunctionSignature=void 0;const e=ed(),t=Vte(),r=n=>{const a=typeof n=="string"?n:(0,e.formatAbiItem)(n);return(0,t.normalizeSignature)(a)};return eh.getFunctionSignature=r,eh}var cN;function Vz(){if(cN)return $f;
18741cN=1,Object.defineProperty($f,"__esModule",{value:!0}),$f.getEventSignature=void 0;const e=aS(),t=r=>(0,e.getFunctionSignature)(r);return $f.getEventSignature=t,$f}var uN;function _y(){if(uN)return Xf;uN=1,Object.defineProperty(Xf,"__esModule",{value:!0}),Xf.getEventSelector=void 0;const e=hn(),t=Vz(),r=qa(),n=i=>(0,r.keccak256)((0,e.toBytes)(i)),a=i=>n((0,t.getEventSignature)(i));return Xf.getEventSelector=a,Xf}var wc={},xs={},lN;function Gs(){if(lN)return xs;lN=1,Object.defineProperty(xs,"__esModule",{value:!0}),xs.sliceHex=xs.sliceBytes=xs.slice=void 0;const e=eS(),t=Vn(),r=Vs();function n(m,h,l,{strict:o}={}){return(0,t.isHex)(m,{strict:!1})?f(m,h,l,{strict:o}):c(m,h,l,{strict:o})}xs.slice=n;function a(m,h){if(typeof h=="number"&&h>0&&h>(0,r.size)(m)-1)throw new e.SliceOffsetOutOfBoundsError({offset:h,position:"start",size:(0,r.size)(m)})}function i(m,h,l){if(typeof h=="number"&&typeof l=="number"&&(0,r.size)(m)!==l-h)throw new e.SliceOffsetOutOfBoundsError({offset:l,position:"end",size:(0,r.size)(m)})}function c(m,h,l,{strict:o}={}){a(m,h);const u=m.slice(h,l);return o&&i(u,h,l),u}xs.sliceBytes=c;function f(m,h,l,{strict:o}={}){a(m,h);const u=`0x${m.replace("0x","").slice((h??0)*2,(l??m.length)*2)}`;return o&&i(u,h,l),u}return xs.sliceHex=f,xs}var dN;function Yi(){if(dN)return wc;dN=1,Object.defineProperty(wc,"__esModule",{value:!0}),wc.getArrayComponents=wc.encodeAbiParameters=void 0;const e=Tr(),t=ji(),r=Ua(),n=La(),a=Fo(),i=Vs(),c=Gs(),f=ht();function m(j,T){if(j.length!==T.length)throw new e.AbiEncodingLengthMismatchError({expectedLength:j.length,givenLength:T.length});const F=h({params:j,values:T}),z=o(F);return z.length===0?"0x":z}wc.encodeAbiParameters=m;function h({params:j,values:T}){const F=[];for(let z=0;z<j.length;z++)F.push(l({param:j[z],value:T[z]}));return F}function l({param:j,value:T}){const F=E(j.type);if(F){const[z,K]=F;return p(T,{length:z,param:{...j,type:K}})}if(j.type==="tuple")return w(T,{param:j});if(j.type==="address")return u(T);if(j.type==="bool")return y(T);if(j.type.startsWith("uint")||j.type.startsWith("int")){const z=j.type.startsWith("int");return b(T,{signed:z})}if(j.type.startsWith("bytes"))return g(T,{param:j});if(j.type==="string")return x(T);throw new e.InvalidAbiEncodingTypeError(j.type,{docsPath:"/docs/contract/encodeAbiParameters"})}function o(j){let T=0;for(let U=0;U<j.length;U++){const{dynamic:H,encoded:V}=j[U];H?T+=32:T+=(0,i.size)(V)}const F=[],z=[];let K=0;for(let U=0;U<j.length;U++){const{dynamic:H,encoded:V}=j[U];H?(F.push((0,f.numberToHex)(T+K,{size:32})),z.push(V),K+=(0,i.size)(V)):F.push(V)}return(0,n.concat)([...F,...z])}function u(j){if(!(0,r.isAddress)(j))throw new t.InvalidAddressError({address:j});return{dynamic:!1,encoded:(0,a.padHex)(j.toLowerCase())}}function p(j,{length:T,param:F}){const z=T===null;if(!Array.isArray(j))throw new e.InvalidArrayError(j);if(!z&&j.length!==T)throw new e.AbiEncodingArrayLengthMismatchError({expectedLength:T,givenLength:j.length,type:`${F.type}[${T}]`});let K=!1;const U=[];for(let H=0;H<j.length;H++){const V=l({param:F,value:j[H]});V.dynamic&&(K=!0),U.push(V)}if(z||K){const H=o(U);if(z){const V=(0,f.numberToHex)(U.length,{size:32});return{dynamic:!0,encoded:U.length>0?(0,n.concat)([V,H]):V}}if(K)return{dynamic:!0,encoded:H}}return{dynamic:!1,encoded:(0,n.concat)(U.map(({encoded:H})=>H))}}function g(j,{param:T}){const[,F]=T.type.split("bytes"),z=(0,i.size)(j);if(!F){let K=j;return z%32!==0&&(K=(0,a.padHex)(K,{dir:"right",size:Math.ceil((j.length-2)/2/32)*32})),{dynamic:!0,encoded:(0,n.concat)([(0,a.padHex)((0,f.numberToHex)(z,{size:32})),K])}}if(z!==parseInt(F))throw new e.AbiEncodingBytesSizeMismatchError({expectedSize:parseInt(F),value:j});return{dynamic:!1,encoded:(0,a.padHex)(j,{dir:"right"})}}function y(j){return{dynamic:!1,encoded:(0,a.padHex)((0,f.boolToHex)(j))}}function b(j,{signed:T}){return{dynamic:!1,encoded:(0,f.numberToHex)(j,{size:32,signed:T})}}function x(j){const T=(0,f.stringToHex)(j),F=Math.ceil((0,i.size)(T)/32),z=[];for(let K=0;K<F;K++)z.push((0,a.padHex)((0,c.slice)(T,K*32,(K+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,n.concat)([(0,a.padHex)((0,f.numberToHex)((0,i.size)(T),{size:32})),...z])}}function w(j,{param:T}){let F=!1;const z=[];for(let K=0;K<T.components.length;K++){const U=T.components[K],H=Array.isArray(j)?K:U.name,V=l({param:U,value:j[H]});z.push(V),V.dynamic&&(F=!0)}return{dynamic:F,encoded:F?o(z):(0,n.concat)(z.map(({encoded:K})=>K))}}function E(j){const T=j.match(/^(.*)\[(\d+)?\]$/);return T?[T[2]?Number(T[2]):null,T[1]]:void 0}return wc.getArrayComponents=E,wc}var Es={},rh={},fN;
18741function wu(){if(fN)return rh;fN=1,Object.defineProperty(rh,"__esModule",{value:!0}),rh.getFunctionSelector=void 0;const e=Gs(),t=hn(),r=aS(),n=qa(),a=c=>(0,n.keccak256)((0,t.toBytes)(c)),i=c=>(0,e.slice)(a((0,r.getFunctionSignature)(c)),0,4);return rh.getFunctionSelector=i,rh}var hN;function Ks(){if(hN)return Es;hN=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.getAmbiguousTypes=Es.isArgOfType=Es.getAbiItem=void 0;const e=Tr(),t=Vn(),r=_y(),n=wu(),a=Ua();function i({abi:m,args:h=[],name:l}){const o=(0,t.isHex)(l,{strict:!1}),u=m.filter(g=>o?g.type==="function"?(0,n.getFunctionSelector)(g)===l:g.type==="event"?(0,r.getEventSelector)(g)===l:!1:"name"in g&&g.name===l);if(u.length===0)return;if(u.length===1)return u[0];let p;for(const g of u){if(!("inputs"in g))continue;if(!h||h.length===0){if(!g.inputs||g.inputs.length===0)return g;continue}if(!g.inputs||g.inputs.length===0||g.inputs.length!==h.length)continue;if(h.every((b,x)=>{const w="inputs"in g&&g.inputs[x];return w?c(b,w):!1})){if(p&&"inputs"in p&&p.inputs){const b=f(g.inputs,p.inputs,h);if(b)throw new e.AbiItemAmbiguityError({abiItem:g,type:b[0]},{abiItem:p,type:b[1]})}p=g}}return p||u[0]}Es.getAbiItem=i;function c(m,h){const l=typeof m,o=h.type;switch(o){case"address":return(0,a.isAddress)(m);case"bool":return l==="boolean";case"function":return l==="string";case"string":return l==="string";default:return o==="tuple"&&"components"in h?Object.values(h.components).every((u,p)=>c(Object.values(m)[p],u)):/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(o)?l==="number"||l==="bigint":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(o)?l==="string"||m instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(o)?Array.isArray(m)&&m.every(u=>c(u,{...h,type:o.replace(/(\[[0-9]{0,}\])$/,"")})):!1}}Es.isArgOfType=c;function f(m,h,l){for(const o in m){const u=m[o],p=h[o];if(u.type==="tuple"&&p.type==="tuple"&&"components"in u&&"components"in p)return f(u.components,p.components,l[o]);const g=[u.type,p.type];if(g.includes("address")&&g.includes("bytes20")?!0:g.includes("address")&&g.includes("string")||g.includes("address")&&g.includes("bytes")?(0,a.isAddress)(l[o]):!1)return g}}return Es.getAmbiguousTypes=f,Es}var pN;function td(){if(pN)return Jf;pN=1,Object.defineProperty(Jf,"__esModule",{value:!0}),Jf.encodeEventTopics=void 0;const e=Tr(),t=zz(),r=hn(),n=_y(),a=qa(),i=Yi(),c=Ws(),f=Ks();function m({abi:l,eventName:o,args:u}){let p=l[0];if(o&&(p=(0,f.getAbiItem)({abi:l,args:u,name:o}),!p))throw new e.AbiEventNotFoundError(o,{docsPath:"/docs/contract/encodeEventTopics"});if(p.type!=="event")throw new e.AbiEventNotFoundError(void 0,{docsPath:"/docs/contract/encodeEventTopics"});const g=(0,c.formatAbiItem)(p),y=(0,n.getEventSelector)(g);let b=[];if(u&&"inputs"in p){const x=p.inputs?.filter(E=>"indexed"in E&&E.indexed),w=Array.isArray(u)?u:Object.values(u).length>0?x?.map(E=>u[E.name])??[]:[];w.length>0&&(b=x?.map((E,j)=>Array.isArray(w[j])?w[j].map((T,F)=>h({param:E,value:w[j][F]})):w[j]?h({param:E,value:w[j]}):null)??[])}return[y,...b]}Jf.encodeEventTopics=m;function h({param:l,value:o}){if(l.type==="string"||l.type==="bytes")return(0,a.keccak256)((0,r.toBytes)(o));if(l.type==="tuple"||l.type.match(/^(.*)\[(\d+)?\]$/))throw new t.FilterTypeNotSupportedError(l.type);return(0,i.encodeAbiParameters)([l],[o])}return Jf}var nh={},mN;function xw(){if(mN)return nh;mN=1,Object.defineProperty(nh,"__esModule",{value:!0}),nh.createFilterRequestScope=void 0;function e(t,{method:r}){const n={};return t.transport.type==="fallback"&&t.transport.onResponse?.(({method:a,response:i,status:c,transport:f})=>{c==="success"&&r===a&&(n[i]=f.request)}),(a=>n[a]||t.request)}return nh.createFilterRequestScope=e,nh}var gN;function iS(){if(gN)return Zf;
18741gN=1,Object.defineProperty(Zf,"__esModule",{value:!0}),Zf.createContractEventFilter=void 0;const e=td(),t=ht(),r=xw();async function n(a,{address:i,abi:c,args:f,eventName:m,fromBlock:h,strict:l,toBlock:o}){const u=(0,r.createFilterRequestScope)(a,{method:"eth_newFilter"}),p=m?(0,e.encodeEventTopics)({abi:c,args:f,eventName:m}):void 0,g=await a.request({method:"eth_newFilter",params:[{address:i,fromBlock:typeof h=="bigint"?(0,t.numberToHex)(h):h,toBlock:typeof o=="bigint"?(0,t.numberToHex)(o):o,topics:p}]});return{abi:c,args:f,eventName:m,id:g,request:u(g),strict:l,type:"event"}}return Zf.createContractEventFilter=n,Zf}var ah={},ih={},yN;function ga(){if(yN)return ih;yN=1,Object.defineProperty(ih,"__esModule",{value:!0}),ih.parseAccount=void 0;function e(t){return typeof t=="string"?{address:t,type:"json-rpc"}:t}return ih.parseAccount=e,ih}var sh={},bN;function Zi(){if(bN)return sh;bN=1,Object.defineProperty(sh,"__esModule",{value:!0}),sh.encodeFunctionData=void 0;const e=Tr(),t=La(),r=wu(),n=Yi(),a=Ws(),i=Ks();function c({abi:f,args:m,functionName:h}){let l=f[0];if(h&&(l=(0,i.getAbiItem)({abi:f,args:m,name:h}),!l))throw new e.AbiFunctionNotFoundError(h,{docsPath:"/docs/contract/encodeFunctionData"});if(l.type!=="function")throw new e.AbiFunctionNotFoundError(void 0,{docsPath:"/docs/contract/encodeFunctionData"});const o=(0,a.formatAbiItem)(l),u=(0,r.getFunctionSelector)(o),p="inputs"in l&&l.inputs?(0,n.encodeAbiParameters)(l.inputs,m??[]):void 0;return(0,t.concatHex)([u,p??"0x"])}return sh.encodeFunctionData=c,sh}var oh={},Ra={},js={},vN;function sS(){return vN||(vN=1,Object.defineProperty(js,"__esModule",{value:!0}),js.solidityPanic=js.solidityError=js.panicReasons=void 0,js.panicReasons={1:"An `assert` condition failed.",17:"Arithmic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},js.solidityError={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},js.solidityPanic={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}),js}var ch={},uh={},wN;function _u(){if(wN)return uh;wN=1,Object.defineProperty(uh,"__esModule",{value:!0}),uh.decodeAbiParameters=void 0;const e=Tr(),t=Hs(),r=Vs(),n=Gs(),a=Bo(),i=pn(),c=Yi();function f(w,E){if(E==="0x"&&w.length>0)throw new e.AbiDecodingZeroDataError;if((0,r.size)(E)&&(0,r.size)(E)<32)throw new e.AbiDecodingDataSizeTooSmallError({data:E,params:w,size:(0,r.size)(E)});return m({data:E,params:w})}uh.decodeAbiParameters=f;function m({data:w,params:E}){const j=[];let T=0;for(let F=0;F<E.length;F++){if(T>=(0,r.size)(w))throw new e.AbiDecodingDataSizeTooSmallError({data:w,params:E,size:(0,r.size)(w)});const z=E[F],{consumed:K,value:U}=h({data:w,param:z,position:T});j.push(U),T+=K}return j}function h({data:w,param:E,position:j}){const T=(0,c.getArrayComponents)(E.type);if(T){const[z,K]=T;return o(w,{length:z,param:{...E,type:K},position:j})}if(E.type==="tuple")return b(w,{param:E,position:j});if(E.type==="string")return y(w,{position:j});if(E.type.startsWith("bytes"))return p(w,{param:E,position:j});const F=(0,n.slice)(w,j,j+32,{strict:!0});if(E.type.startsWith("uint")||E.type.startsWith("int"))return g(F,{param:E});if(E.type==="address")return l(F);if(E.type==="bool")return u(F);throw new e.InvalidAbiDecodingTypeError(E.type,{docsPath:"/docs/contract/decodeAbiParameters"})}function l(w){return{consumed:32,value:(0,t.checksumAddress)((0,n.slice)(w,-20))}}function o(w,{param:E,length:j,position:T}){if(!j){const K=(0,i.hexToNumber)((0,n.slice)(w,T,T+32,{strict:!0})),U=(0,i.hexToNumber)((0,n.slice)(w,K,K+32,{strict:!0}));let H=0;const V=[];for(let Z=0;Z<U;++Z){const R=h({data:(0,n.slice)(w,K+32),param:E,position:H});H+=R.consumed,V.push(R.value)}return{value:V,consumed:32}}if(x(E)){const U=!(0,c.getArrayComponents)(E.type)?.[0];let H=0;const V=[];for(let Z=0;Z<j;++Z){const R=(0,i.hexToNumber)((0,n.slice)(w,T,T+32,{strict:!0})),_=h({data:(0,n.slice)(w,R),param:E,position:U?H:Z*32});H+=_.consumed,V.push(_.value)}return{value:V,consumed:32}}let F=0;const z=[];for(let K=0;K<j;++K){const U=h({data:w,param:E,position:T+F});F+=U.consumed,z.push(U.value)}return{value:z,consumed:F}}function u(w){return{consumed:32,value:(0,i.hexToBool)(w)}}function p(w,{param:E,position:j}){const[T,F]=E.type.split("bytes");if(!F){const K=(0,i.hexToNumber)((0,n.slice)(w,j,j+32,{strict:!0})),U=(0,i.hexToNumber)((0,n.slice)(w,K,K+32,{strict:!0}));
18741return U===0?{consumed:32,value:"0x"}:{consumed:32,value:(0,n.slice)(w,K+32,K+32+U,{strict:!0})}}return{consumed:32,value:(0,n.slice)(w,j,j+parseInt(F),{strict:!0})}}function g(w,{param:E}){const j=E.type.startsWith("int");return{consumed:32,value:parseInt(E.type.split("int")[1]||"256")>48?(0,i.hexToBigInt)(w,{signed:j}):(0,i.hexToNumber)(w,{signed:j})}}function y(w,{position:E}){const j=(0,i.hexToNumber)((0,n.slice)(w,E,E+32,{strict:!0})),T=(0,i.hexToNumber)((0,n.slice)(w,j,j+32,{strict:!0}));return T===0?{consumed:32,value:""}:{consumed:32,value:(0,i.hexToString)((0,a.trim)((0,n.slice)(w,j+32,j+32+T,{strict:!0})))}}function b(w,{param:E,position:j}){const T=E.components.length===0||E.components.some(({name:K})=>!K),F=T?[]:{};let z=0;if(x(E)){const K=(0,i.hexToNumber)((0,n.slice)(w,j,j+32,{strict:!0}));for(let U=0;U<E.components.length;++U){const H=E.components[U],V=h({data:(0,n.slice)(w,K),param:H,position:z});z+=V.consumed,F[T?U:H?.name]=V.value}return{consumed:32,value:F}}for(let K=0;K<E.components.length;++K){const U=E.components[K],H=h({data:w,param:U,position:j+z});z+=H.consumed,F[T?K:U?.name]=H.value}return{consumed:z,value:F}}function x(w){const{type:E}=w;if(E==="string"||E==="bytes"||E.endsWith("[]"))return!0;if(E==="tuple")return w.components?.some(x);const j=(0,c.getArrayComponents)(w.type);return!!(j&&x({...w,type:j[1]}))}return uh}var _N;function Ew(){if(_N)return ch;_N=1,Object.defineProperty(ch,"__esModule",{value:!0}),ch.decodeErrorResult=void 0;const e=sS(),t=Tr(),r=Gs(),n=wu(),a=_u(),i=Ws();function c({abi:f,data:m}){const h=(0,r.slice)(m,0,4);if(h==="0x")throw new t.AbiDecodingZeroDataError;const o=[...f||[],e.solidityError,e.solidityPanic].find(u=>u.type==="error"&&h===(0,n.getFunctionSelector)((0,i.formatAbiItem)(u)));if(!o)throw new t.AbiErrorSignatureNotFoundError(h,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:o,args:"inputs"in o&&o.inputs&&o.inputs.length>0?(0,a.decodeAbiParameters)(o.inputs,(0,r.slice)(m,4)):void 0,errorName:o.name}}return ch.decodeErrorResult=c,ch}var lh={},dh={},xN;function ya(){if(xN)return dh;xN=1,Object.defineProperty(dh,"__esModule",{value:!0}),dh.stringify=void 0;const e=(t,r,n)=>JSON.stringify(t,(a,i)=>{const c=typeof i=="bigint"?i.toString():i;return typeof r=="function"?r(a,c):c},n);return dh.stringify=e,dh}var EN;function Hz(){if(EN)return lh;EN=1,Object.defineProperty(lh,"__esModule",{value:!0}),lh.formatAbiItemWithArgs=void 0;const e=ya();function t({abiItem:r,args:n,includeFunctionName:a=!0,includeName:i=!1}){if("name"in r&&"inputs"in r&&r.inputs)return`${a?r.name:""}(${r.inputs.map((c,f)=>`${i&&c.name?`${c.name}: `:""}${typeof n[f]=="object"?(0,e.stringify)(n[f]):n[f]}`).join(", ")})`}return lh.formatAbiItemWithArgs=t,lh}var jN;function xu(){if(jN)return Ra;jN=1,Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.RawContractError=Ra.ContractFunctionZeroDataError=Ra.ContractFunctionRevertedError=Ra.ContractFunctionExecutionError=Ra.CallExecutionError=void 0;const e=ga(),t=sS(),r=Ew(),n=Ws(),a=Hz(),i=Ks(),c=wy(),f=vu(),m=Tr(),h=fr(),l=Da(),o=mw();class u extends h.BaseError{constructor(w,{account:E,docsPath:j,chain:T,data:F,gas:z,gasPrice:K,maxFeePerGas:U,maxPriorityFeePerGas:H,nonce:V,to:Z,value:R}){const _=E?(0,e.parseAccount)(E):void 0,k=(0,l.prettyPrint)({from:_?.address,to:Z,value:typeof R<"u"&&`${(0,c.formatEther)(R)} ${T?.nativeCurrency?.symbol||"ETH"}`,data:F,gas:z,gasPrice:typeof K<"u"&&`${(0,f.formatGwei)(K)} gwei`,maxFeePerGas:typeof U<"u"&&`${(0,f.formatGwei)(U)} gwei`,maxPriorityFeePerGas:typeof H<"u"&&`${(0,f.formatGwei)(H)} gwei`,nonce:V});super(w.shortMessage,{cause:w,docsPath:j,metaMessages:[...w.metaMessages?[...w.metaMessages," "]:[],"Raw Call Arguments:",k].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CallExecutionError"}),this.cause=w}}Ra.CallExecutionError=u;class p extends h.BaseError{constructor(w,{abi:E,args:j,contractAddress:T,docsPath:F,functionName:z,sender:K}){const U=(0,i.getAbiItem)({abi:E,args:j,name:z}),H=U?(0,a.formatAbiItemWithArgs)({abiItem:U,args:j,includeFunctionName:!1,includeName:!1}):void 0,V=U?(0,n.formatAbiItem)(U,{includeName:!0}):void 0,Z=(0,l.prettyPrint)({address:T&&(0,o.getContractAddress)(T),function:V,args:H&&H!=="()"&&`${[...Array(z?.length??0).keys()].map(()=>" ").join("")}${H}`,sender:K});super(w.shortMessage||`An unknown error occurred while executing the contract function "${z}".`,{cause:w,docsPath:F,metaMessages:[...w.metaMessages?[...w.metaMessages," "]:[],"Contract Call:",Z].filter(
18741Boolean)}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionExecutionError"}),this.abi=E,this.args=j,this.cause=w,this.contractAddress=T,this.functionName=z,this.sender=K}}Ra.ContractFunctionExecutionError=p;class g extends h.BaseError{constructor({abi:w,data:E,functionName:j,message:T}){let F,z,K,U;if(E&&E!=="0x")try{z=(0,r.decodeErrorResult)({abi:w,data:E});const{abiItem:V,errorName:Z,args:R}=z;if(Z==="Error")U=R[0];else if(Z==="Panic"){const[_]=R;U=t.panicReasons[_]}else{const _=V?(0,n.formatAbiItem)(V,{includeName:!0}):void 0,k=V&&R?(0,a.formatAbiItemWithArgs)({abiItem:V,args:R,includeFunctionName:!1,includeName:!1}):void 0;K=[_?`Error: ${_}`:"",k&&k!=="()"?` ${[...Array(Z?.length??0).keys()].map(()=>" ").join("")}${k}`:""]}}catch(V){F=V}else T&&(U=T);let H;F instanceof m.AbiErrorSignatureNotFoundError&&(H=F.signature,K=[`Unable to decode signature "${H}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${H}.`]),super(U&&U!=="execution reverted"||H?[`The contract function "${j}" reverted with the following ${H?"signature":"reason"}:`,U||H].join(` 18742`):`The contract function "${j}" reverted.`,{cause:F,metaMessages:K}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=z,this.reason=U,this.signature=H}}Ra.ContractFunctionRevertedError=g;class y extends h.BaseError{constructor({functionName:w}){super(`The contract function "${w}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${w}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionZeroDataError"})}}Ra.ContractFunctionZeroDataError=y;class b extends h.BaseError{constructor({data:w,message:E}){super(E||""),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RawContractError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=w}}return Ra.RawContractError=b,Ra}var kt={},pi={},AN;function Uo(){if(AN)return pi;AN=1,Object.defineProperty(pi,"__esModule",{value:!0}),pi.TimeoutError=pi.RpcRequestError=pi.WebSocketRequestError=pi.HttpRequestError=void 0;const e=ya(),t=fr(),r=mw();class n extends t.BaseError{constructor({body:m,details:h,headers:l,status:o,url:u}){super("HTTP request failed.",{details:h,metaMessages:[o&&`Status: ${o}`,`URL: ${(0,r.getUrl)(u)}`,m&&`Request body: ${(0,e.stringify)(m)}`].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=m,this.headers=l,this.status=o,this.url=u}}pi.HttpRequestError=n;class a extends t.BaseError{constructor({body:m,details:h,url:l}){super("WebSocket request failed.",{details:h,metaMessages:[`URL: ${(0,r.getUrl)(l)}`,`Request body: ${(0,e.stringify)(m)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WebSocketRequestError"})}}pi.WebSocketRequestError=a;class i extends t.BaseError{constructor({body:m,error:h,url:l}){super("RPC Request failed.",{cause:h,details:h.message,metaMessages:[`URL: ${(0,r.getUrl)(l)}`,`Request body: ${(0,e.stringify)(m)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}
18742),this.code=h.code}}pi.RpcRequestError=i;class c extends t.BaseError{constructor({body:m,url:h}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,r.getUrl)(h)}`,`Request body: ${(0,e.stringify)(m)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TimeoutError"})}}return pi.TimeoutError=c,pi}var PN;function rd(){if(PN)return kt;PN=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.UnknownRpcError=kt.SwitchChainError=kt.ChainDisconnectedError=kt.ProviderDisconnectedError=kt.UnsupportedProviderMethodError=kt.UnauthorizedProviderError=kt.UserRejectedRequestError=kt.JsonRpcVersionUnsupportedError=kt.LimitExceededRpcError=kt.MethodNotSupportedRpcError=kt.TransactionRejectedRpcError=kt.ResourceUnavailableRpcError=kt.ResourceNotFoundRpcError=kt.InvalidInputRpcError=kt.InternalRpcError=kt.InvalidParamsRpcError=kt.MethodNotFoundRpcError=kt.InvalidRequestRpcError=kt.ParseRpcError=kt.ProviderRpcError=kt.RpcError=void 0;const e=fr(),t=Uo(),r=-1;class n extends e.BaseError{constructor(U,{code:H,docsPath:V,metaMessages:Z,shortMessage:R}){super(R,{cause:U,docsPath:V,metaMessages:Z||U?.metaMessages}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=U.name,this.code=U instanceof t.RpcRequestError?U.code:H??r}}kt.RpcError=n;class a extends n{constructor(U,H){super(U,H),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderRpcError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=H.data}}kt.ProviderRpcError=a;class i extends n{constructor(U){super(U,{code:i.code,shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ParseRpcError"})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700}),kt.ParseRpcError=i;class c extends n{constructor(U){super(U,{code:c.code,shortMessage:"JSON is not a valid request object."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidRequestRpcError"})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600}),kt.InvalidRequestRpcError=c;class f extends n{constructor(U){super(U,{code:f.code,shortMessage:"The method does not exist / is not available."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MethodNotFoundRpcError"})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601}),kt.MethodNotFoundRpcError=f;class m extends n{constructor(U){super(U,{code:m.code,shortMessage:["Invalid parameters were provided to the RPC method.","Double check you have provided the correct parameters."].join(` 18743`)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParamsRpcError"})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602}),kt.InvalidParamsRpcError=m;class h extends n{constructor(U){super(U,{code:h.code,shortMessage:"An internal error was received."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InternalRpcError"})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603}),kt.InternalRpcError=h;class l extends n{constructor(U){super(U,{code:l.code,shortMessage:["Missing or invalid parameters.","Double check you have provided the correct parameters."].join(` 18744`)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidInputRpcError"})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3}),kt.InvalidInputRpcError=l;class o extends n{constructor(U){super(U,{code:o.code,shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(o,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001}),kt.ResourceNotFoundRpcError=o;class u extends n{constructor(U){super(U,{code:u.code,shortMessage:"Requested resource not available."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceUnavailableRpcError"})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002}),kt.ResourceUnavailableRpcError=u;class p extends n{constructor(U){super(U,{code:p.code,shortMessage:"Transaction creation failed."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionRejectedRpcError"})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003}),kt.TransactionRejectedRpcError=p;class g extends n{constructor(U){super(U,{code:g.code,shortMessage:"Method is not implemented."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MethodNotSupportedRpcError"})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004}),kt.MethodNotSupportedRpcError=g;class y extends n{constructor(U){super(U,{code:y.code,shortMessage:"Request exceeds defined limit."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"LimitExceededRpcError"})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005}),kt.LimitExceededRpcError=y;class b extends n{constructor(U){super(U,{code:b.code,shortMessage:"Version of JSON-RPC protocol is not supported."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"JsonRpcVersionUnsupportedError"})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006}),kt.JsonRpcVersionUnsupportedError=b;class x extends a{constructor(U){super(U,{code:x.code,shortMessage:"User rejected the request."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UserRejectedRequestError"})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001}),kt.UserRejectedRequestError=x;class w extends a{constructor(U){super(U,{code:w.code,shortMessage:"The requested method and/or account has not been authorized by the user."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnauthorizedProviderError"})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100}),kt.UnauthorizedProviderError=w;class E extends a{constructor(U){super(U,{code:E.code,shortMessage:"The Provider does not support the requested method."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnsupportedProviderMethodError"})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200}),kt.UnsupportedProviderMethodError=E;class j extends a{constructor(U){super(U,{code:j.code,shortMessage:"The Provider is disconnected from all chains."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderDisconnectedError"})}}Object.defineProperty(j,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900}),kt.ProviderDisconnectedError=j;class T extends a{constructor(U){super(U,{code:T.code,shortMessage:"The Provider is not connected to the requested chain."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainDisconnectedError"})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901}),kt.ChainDisconnectedError=T;class F extends a{constructor(U){super(U,{code:F.code,shortMessage:"An error occurred when attempting to switch chain."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainError"})}}Object.defineProperty(F,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902}),kt.SwitchChainError=F;class z extends n{constructor(U){super(U,{shortMessage:"An unknown RPC error occurred."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownRpcError"})}}return kt.UnknownRpcError=z,kt}var SN;
18744function nd(){if(SN)return oh;SN=1,Object.defineProperty(oh,"__esModule",{value:!0}),oh.getContractError=void 0;const e=Tr(),t=fr(),r=xu(),n=rd(),a=3;function i(c,{abi:f,address:m,args:h,docsPath:l,functionName:o,sender:u}){const{code:p,data:g,message:y,shortMessage:b}=c instanceof r.RawContractError?c:c instanceof t.BaseError?c.walk(w=>"data"in w)||c.walk():{},x=c instanceof e.AbiDecodingZeroDataError?new r.ContractFunctionZeroDataError({functionName:o}):[a,n.InternalRpcError.code].includes(p)&&(g||y||b)?new r.ContractFunctionRevertedError({abi:f,data:typeof g=="object"?g.data:g,functionName:o,message:b??y}):c;return new r.ContractFunctionExecutionError(x,{abi:f,args:h,contractAddress:m,docsPath:l,functionName:o,sender:u})}return oh.getContractError=i,oh}var fh={},hh={},kN;function ad(){if(kN)return hh;kN=1,Object.defineProperty(hh,"__esModule",{value:!0}),hh.AccountNotFoundError=void 0;const e=fr();class t extends e.BaseError{constructor({docsPath:n}={}){super(["Could not find an Account to execute with this Action.","Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the WalletClient."].join(` 18745`),{docsPath:n,docsSlug:"account"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccountNotFoundError"})}}return hh.AccountNotFoundError=t,hh}var ph={},mh={},TN;function Wz(){if(TN)return mh;TN=1,Object.defineProperty(mh,"__esModule",{value:!0}),mh.EstimateGasExecutionError=void 0;const e=wy(),t=vu(),r=fr(),n=Da();class a extends r.BaseError{constructor(c,{account:f,docsPath:m,chain:h,data:l,gas:o,gasPrice:u,maxFeePerGas:p,maxPriorityFeePerGas:g,nonce:y,to:b,value:x}){const w=(0,n.prettyPrint)({from:f?.address,to:b,value:typeof x<"u"&&`${(0,e.formatEther)(x)} ${h?.nativeCurrency?.symbol||"ETH"}`,data:l,gas:o,gasPrice:typeof u<"u"&&`${(0,t.formatGwei)(u)} gwei`,maxFeePerGas:typeof p<"u"&&`${(0,t.formatGwei)(p)} gwei`,maxPriorityFeePerGas:typeof g<"u"&&`${(0,t.formatGwei)(g)} gwei`,nonce:y});super(c.shortMessage,{cause:c,docsPath:m,metaMessages:[...c.metaMessages?[...c.metaMessages," "]:[],"Estimate Gas Arguments:",w].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EstimateGasExecutionError"}),this.cause=c}}return mh.EstimateGasExecutionError=a,mh}var vr={},RN;function Eu(){if(RN)return vr;RN=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.UnknownNodeError=vr.TipAboveFeeCapError=vr.TransactionTypeNotSupportedError=vr.IntrinsicGasTooLowError=vr.IntrinsicGasTooHighError=vr.InsufficientFundsError=vr.NonceMaxValueError=vr.NonceTooLowError=vr.NonceTooHighError=vr.FeeCapTooLowError=vr.FeeCapTooHighError=vr.ExecutionRevertedError=void 0;const e=vu(),t=fr();class r extends t.BaseError{constructor({cause:y,message:b}={}){const x=b?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${x?`with reason: ${x}`:"for an unknown reason"}.`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ExecutionRevertedError"})}}Object.defineProperty(r,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(r,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/}),vr.ExecutionRevertedError=r;class n extends t.BaseError{constructor({cause:y,maxFeePerGas:b}={}){super(`The fee cap (\`maxFeePerGas\`${b?` = ${(0,e.formatGwei)(b)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeCapTooHigh"})}}Object.defineProperty(n,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/}),vr.FeeCapTooHighError=n;class a extends t.BaseError{constructor({cause:y,maxFeePerGas:b}={}){super(`The fee cap (\`maxFeePerGas\`${b?` = ${(0,e.formatGwei)(b)}`:""} gwei) cannot be lower than the block base fee.`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeCapTooLow"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/}),vr.FeeCapTooLowError=a;class i extends t.BaseError{constructor({cause:y,nonce:b}={}){super(`Nonce provided for the transaction ${b?`(${b}) `:""}is higher than the next one expected.`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceTooHighError"})}}Object.defineProperty(i,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/}),vr.NonceTooHighError=i;class c extends t.BaseError{constructor({cause:y,nonce:b}={}){super([`Nonce provided for the transaction ${b?`(${b}) `:""}is lower than the current nonce of the account.`,"Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join(` 18746`),{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceTooLowError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/}),vr.NonceTooLowError=c;class f extends t.BaseError{constructor({cause:y,nonce:b}={}){super(`Nonce provided for the transaction ${b?`(${b}) `:""}exceeds the maximum allowed nonce.`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceMaxValueError"})}}
18746Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/}),vr.NonceMaxValueError=f;class m extends t.BaseError{constructor({cause:y}={}){super(["The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."].join(` 18747`),{cause:y,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InsufficientFundsError"})}}Object.defineProperty(m,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds/}),vr.InsufficientFundsError=m;class h extends t.BaseError{constructor({cause:y,gas:b}={}){super(`The amount of gas ${b?`(${b}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntrinsicGasTooHighError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/}),vr.IntrinsicGasTooHighError=h;class l extends t.BaseError{constructor({cause:y,gas:b}={}){super(`The amount of gas ${b?`(${b}) `:""}provided for the transaction is too low.`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntrinsicGasTooLowError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/}),vr.IntrinsicGasTooLowError=l;class o extends t.BaseError{constructor({cause:y}){super("The transaction type is not supported for this chain.",{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionTypeNotSupportedError"})}}Object.defineProperty(o,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/}),vr.TransactionTypeNotSupportedError=o;class u extends t.BaseError{constructor({cause:y,maxPriorityFeePerGas:b,maxFeePerGas:x}={}){super([`The provided tip (\`maxPriorityFeePerGas\`${b?` = ${(0,e.formatGwei)(b)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${x?` = ${(0,e.formatGwei)(x)} gwei`:""}).`].join(` 18748`),{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TipAboveFeeCapError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/}),vr.TipAboveFeeCapError=u;class p extends t.BaseError{constructor({cause:y}){super(`An error occurred while executing: ${y?.shortMessage}`,{cause:y}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownNodeError"})}}return vr.UnknownNodeError=p,vr}var _c={},ON;function jw(){if(ON)return _c;ON=1,Object.defineProperty(_c,"__esModule",{value:!0}),_c.getNodeError=_c.containsNodeError=void 0;const e=fr(),t=Eu(),r=Uo(),n=rd();function a(c){return c instanceof n.TransactionRejectedRpcError||c instanceof n.InvalidInputRpcError||c instanceof r.RpcRequestError&&c.code===t.ExecutionRevertedError.code}_c.containsNodeError=a;function i(c,f){const m=(c.details||"").toLowerCase(),h=c.walk(l=>l.code===t.ExecutionRevertedError.code);return h instanceof e.BaseError?new t.ExecutionRevertedError({cause:c,message:h.details}):t.ExecutionRevertedError.nodeMessage.test(m)?new t.ExecutionRevertedError({cause:c,message:c.details}):t.FeeCapTooHighError.nodeMessage.test(m)?new t.FeeCapTooHighError({cause:c,maxFeePerGas:f?.maxFeePerGas}):t.FeeCapTooLowError.nodeMessage.test(m)?new t.FeeCapTooLowError({cause:c,maxFeePerGas:f?.maxFeePerGas}):t.NonceTooHighError.nodeMessage.test(m)?new t.NonceTooHighError({cause:c,nonce:f?.nonce}):t.NonceTooLowError.nodeMessage.test(m)?new t.NonceTooLowError({cause:c,nonce:f?.nonce}):t.NonceMaxValueError.nodeMessage.test(m)?new t.NonceMaxValueError({cause:c,nonce:f?.nonce}):t.InsufficientFundsError.nodeMessage.test(m)?new t.InsufficientFundsError({cause:c}):t.IntrinsicGasTooHighError.nodeMessage.test(m)?new t.IntrinsicGasTooHighError({cause:c,gas:f?.gas}):t.IntrinsicGasTooLowError.nodeMessage.test(m)?new t.IntrinsicGasTooLowError({cause:c,gas:f?.gas}):t.TransactionTypeNotSupportedError.nodeMessage.test(m)?new t.TransactionTypeNotSupportedError({cause:c}):t.TipAboveFeeCapError.nodeMessage.test(m)?new t.TipAboveFeeCapError({cause:c,maxFeePerGas:f?.maxFeePerGas,maxPriorityFeePerGas:f?.maxPriorityFeePerGas}):new t.UnknownNodeError({cause:c})}return _c.getNodeError=i,_c}var CN;function Gz(){if(CN)return ph;CN=1,Object.defineProperty(ph,"__esModule",{value:!0}),ph.getEstimateGasError=void 0;const e=Wz(),t=Eu(),r=jw();function n(a,{docsPath:i,...c}){const f=(()=>{const m=(0,r.getNodeError)(a,c);return m instanceof t.UnknownNodeError?a:m})();return new e.EstimateGasExecutionError(f,{docsPath:i,...c})}return ph.getEstimateGasError=n,ph}var gh={},IN;function xy(){if(IN)return gh;IN=1,Object.defineProperty(gh,"__esModule",{value:!0}),gh.extract=void 0;function e(t,{format:r}){if(!r)return{};const n={};function a(c){const f=Object.keys(c);for(const m of f)m in t&&(n[m]=t[m]),c[m]&&typeof c[m]=="object"&&!Array.isArray(c[m])&&a(c[m])}const i=r(t||{});return a(i),n}return gh.extract=e,gh}var lx={},yh={},NN;function Ey(){if(NN)return yh;NN=1,Object.defineProperty(yh,"__esModule",{value:!0}),yh.defineFormatter=void 0;function e(t,r){return({exclude:n,format:a})=>({exclude:n,format:i=>{const c=r(i);if(n)for(const f of n)delete c[f];return{...c,...a(i)}},type:t})}return yh.defineFormatter=e,yh}var MN;function ju(){return MN||(MN=1,(function(e){Object.defineProperty(e,"__esMo
18748dule",{value:!0}),e.defineTransactionRequest=e.formatTransactionRequest=e.rpcTransactionType=void 0;const t=ht(),r=Ey();e.rpcTransactionType={legacy:"0x0",eip2930:"0x1",eip1559:"0x2"};function n(a){return{...a,gas:typeof a.gas<"u"?(0,t.numberToHex)(a.gas):void 0,gasPrice:typeof a.gasPrice<"u"?(0,t.numberToHex)(a.gasPrice):void 0,maxFeePerGas:typeof a.maxFeePerGas<"u"?(0,t.numberToHex)(a.maxFeePerGas):void 0,maxPriorityFeePerGas:typeof a.maxPriorityFeePerGas<"u"?(0,t.numberToHex)(a.maxPriorityFeePerGas):void 0,nonce:typeof a.nonce<"u"?(0,t.numberToHex)(a.nonce):void 0,type:typeof a.type<"u"?e.rpcTransactionType[a.type]:void 0,value:typeof a.value<"u"?(0,t.numberToHex)(a.value):void 0}}e.formatTransactionRequest=n,e.defineTransactionRequest=(0,r.defineFormatter)("transactionRequest",n)})(lx)),lx}var bh={},FN;function Au(){if(FN)return bh;FN=1,Object.defineProperty(bh,"__esModule",{value:!0}),bh.assertRequest=void 0;const e=ga(),t=ji(),r=Eu(),n=Da(),a=Ua();function i(c){const{account:f,gasPrice:m,maxFeePerGas:h,maxPriorityFeePerGas:l,to:o}=c,u=f?(0,e.parseAccount)(f):void 0;if(u&&!(0,a.isAddress)(u.address))throw new t.InvalidAddressError({address:u.address});if(o&&!(0,a.isAddress)(o))throw new t.InvalidAddressError({address:o});if(typeof m<"u"&&(typeof h<"u"||typeof l<"u"))throw new n.FeeConflictError;if(h&&h>2n**256n-1n)throw new r.FeeCapTooHighError({maxFeePerGas:h});if(l&&h&&l>h)throw new r.TipAboveFeeCapError({maxFeePerGas:h,maxPriorityFeePerGas:l})}return bh.assertRequest=i,bh}var vh={},xc={},As={},BN;function Aw(){if(BN)return As;BN=1,Object.defineProperty(As,"__esModule",{value:!0}),As.MaxFeePerGasTooLowError=As.Eip1559FeesNotSupportedError=As.BaseFeeScalarError=void 0;const e=vu(),t=fr();class r extends t.BaseError{constructor(){super("`baseFeeMultiplier` must be greater than 1."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseFeeScalarError"})}}As.BaseFeeScalarError=r;class n extends t.BaseError{constructor(){super("Chain does not support EIP-1559 fees."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Eip1559FeesNotSupportedError"})}}As.Eip1559FeesNotSupportedError=n;class a extends t.BaseError{constructor({maxPriorityFeePerGas:c}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,e.formatGwei)(c)} gwei).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MaxFeePerGasTooLowError"})}}return As.MaxFeePerGasTooLowError=a,As}var Ec={},wh={},_h={},UN;function oS(){if(UN)return _h;UN=1,Object.defineProperty(_h,"__esModule",{value:!0}),_h.BlockNotFoundError=void 0;const e=fr();class t extends e.BaseError{constructor({blockHash:n,blockNumber:a}){let i="Block";n&&(i=`Block at hash "${n}"`),a&&(i=`Block at number "${a}"`),super(`${i} could not be found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BlockNotFoundError"})}}return _h.BlockNotFoundError=t,_h}var jc={},dx={},qN;function jy(){return qN||(qN=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defineTransaction=e.formatTransaction=e.transactionType=void 0;const t=pn(),r=Ey();e.transactionType={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559"};function n(a){const i={...a,blockHash:a.blockHash?a.blockHash:null,blockNumber:a.blockNumber?BigInt(a.blockNumber):null,chainId:a.chainId?(0,t.hexToNumber)(a.chainId):void 0,gas:a.gas?BigInt(a.gas):void 0,gasPrice:a.gasPrice?BigInt(a.gasPrice):void 0,maxFeePerGas:a.maxFeePerGas?BigInt(a.maxFeePerGas):void 0,maxPriorityFeePerGas:a.maxPriorityFeePerGas?BigInt(a.maxPriorityFeePerGas):void 0,nonce:a.nonce?(0,t.hexToNumber)(a.nonce):void 0,to:a.to?a.to:null,transactionIndex:a.transactionIndex?Number(a.transactionIndex):null,type:a.type?e.transactionType[a.type]:void 0,typeHex:a.type?a.type:void 0,value:a.value?BigInt(a.value):void 0,v:a.v?BigInt(a.v):void 0};return i.yParity=(()=>{if(a.yParity)return Number(a.yParity);if(typeof i.v=="bigint"){if(i.v===0n||i.v===27n)return 0;if(i.v===1n||i.v===28n)return 1;if(i.v>=35n)return i.v%2n===0n?1:0}})(),i.type==="legacy"&&(delete i.accessList,delete i.maxFeePerGas,delete i.maxPriorityFeePerGas,delete i.yParity),i.type==="eip2930"&&(delete i.maxFeePerGas,delete i.maxPriorityFeePerGas),i}e.formatTransaction=n,e.defineTransaction=(0,r.defineFormatter)("transaction",n)})(dx)),dx}var LN;function Pw(){if(LN)return jc;LN=1,Object.defineProperty(jc,"__esModule",{value:!0}),jc.defineBlock=jc.formatBlock=void 0;const e=Ey(),t=jy();function r(n){const a=n.transactions?.map(i=>typeof i=="string"?i:(0,t.formatTransaction)(i));return{...n,baseFeePerGas:n.baseFeePerGas?BigInt(n.baseFeePerGas):null,difficulty:n.difficulty?BigInt(n.difficulty):void 0,gasLimit:n.gasLimit?BigInt(n.gasLimit):void 0,gasUsed:n.gasUsed?BigInt(n.gasUsed):void 0,hash:n.hash?n.hash:null,logsBloom:n.logsBloom?n.logsBloom:null,nonce:n.nonce?n.nonce:null,number:n.number?BigInt(n.number):null,size:n.size?BigInt(n.size):void 0,timestamp:n.timestamp?BigInt(n.timestamp):void 0,transactions:a,totalDifficulty:n.totalDifficulty?BigInt(n.totalDifficulty):null}}return jc.formatBlock=r,jc.defineBlock=(0,e.defineFormatter)("block",r),jc}var DN;function id(){if(DN)return wh;DN=1,Object.defineProperty(wh,"__esModule",{value:!0}),wh.getBlock=void 0;const e=oS(),t=ht(),r=Pw();async function n(a,{blockHash:i,blockNumber:c,blockTag:f,includeTransactions:m}={}){const h=f??"latest",l=m??!1,o=c!==void 0?(0,t.numberToHex)(c):void 0;let u=null;if(i?u=await a.request({method:"eth_getBlockByHash",params:[i,l]}):u=await a.request({method:"eth_getBlockByNumber",params:[o||h,l]}),!u)throw new e.BlockNotFoundError({blockHash:i,blockNumber:c});return(a.chain?.formatters?.block?.format||r.formatBlock)(u)}return wh.getBlock=n,wh}var xh={},zN;function cS(){if(zN)return xh;zN=1,Object.defineProperty(xh,"__esModule",{value:!0}),xh.getGasPrice=void 0;async function e(t){const r=await t.request({method:"eth_gasPrice"});return BigInt(r)}return xh.getGasPrice=e,xh}var VN;function Kz(){if(VN)return Ec;VN=1,Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.internal_estimateMaxPriorityFeePerGas=Ec.estimateMaxPriorityFeePerGas=void 0;const e=Aw(),t=pn(),r=kr(),n=id(),a=cS();async function i(f,m){return c(f,m)}
18748Ec.estimateMaxPriorityFeePerGas=i;async function c(f,m){const{block:h,chain:l=f.chain,request:o}=m||{};if(typeof l?.fees?.defaultPriorityFee=="function"){const u=h||await(0,r.getAction)(f,n.getBlock,"getBlock")({});return l.fees.defaultPriorityFee({block:u,client:f,request:o})}if(typeof l?.fees?.defaultPriorityFee<"u")return l?.fees?.defaultPriorityFee;try{const u=await f.request({method:"eth_maxPriorityFeePerGas"});return(0,t.hexToBigInt)(u)}catch{const[u,p]=await Promise.all([h?Promise.resolve(h):(0,r.getAction)(f,n.getBlock,"getBlock")({}),(0,r.getAction)(f,a.getGasPrice,"getGasPrice")({})]);if(typeof u.baseFeePerGas!="bigint")throw new e.Eip1559FeesNotSupportedError;const g=p-u.baseFeePerGas;return g<0n?0n:g}}return Ec.internal_estimateMaxPriorityFeePerGas=c,Ec}var HN;function Yz(){if(HN)return xc;HN=1,Object.defineProperty(xc,"__esModule",{value:!0}),xc.internal_estimateFeesPerGas=xc.estimateFeesPerGas=void 0;const e=Aw(),t=kr(),r=Kz(),n=id(),a=cS();async function i(f,m){return c(f,m)}xc.estimateFeesPerGas=i;async function c(f,m){const{block:h,chain:l=f.chain,request:o,type:u="eip1559"}=m||{},p=await(async()=>typeof l?.fees?.baseFeeMultiplier=="function"?l.fees.baseFeeMultiplier({block:h,client:f,request:o}):l?.fees?.baseFeeMultiplier??1.2)();if(p<1)throw new e.BaseFeeScalarError;const y=10**(p.toString().split(".")[1]?.length??0),b=E=>E*BigInt(Math.ceil(p*y))/BigInt(y),x=h||await(0,t.getAction)(f,n.getBlock,"getBlock")({});if(typeof l?.fees?.estimateFeesPerGas=="function")return l.fees.estimateFeesPerGas({block:h,client:f,multiply:b,request:o,type:u});if(u==="eip1559"){if(typeof x.baseFeePerGas!="bigint")throw new e.Eip1559FeesNotSupportedError;const E=o?.maxPriorityFeePerGas?o.maxPriorityFeePerGas:await(0,r.internal_estimateMaxPriorityFeePerGas)(f,{block:x,chain:l,request:o}),j=b(x.baseFeePerGas);return{maxFeePerGas:o?.maxFeePerGas??j+E,maxPriorityFeePerGas:E}}return{gasPrice:o?.gasPrice??b(await(0,t.getAction)(f,a.getGasPrice,"getGasPrice")({}))}}return xc.internal_estimateFeesPerGas=c,xc}var Eh={},WN;function Zz(){if(WN)return Eh;WN=1,Object.defineProperty(Eh,"__esModule",{value:!0}),Eh.getTransactionCount=void 0;const e=pn(),t=ht();async function r(n,{address:a,blockTag:i="latest",blockNumber:c}){const f=await n.request({method:"eth_getTransactionCount",params:[a,c?(0,t.numberToHex)(c):i]});return(0,e.hexToNumber)(f)}return Eh.getTransactionCount=r,Eh}var jh={},GN;function Sw(){if(GN)return jh;GN=1,Object.defineProperty(jh,"__esModule",{value:!0}),jh.getTransactionType=void 0;const e=Da();function t(r){if(r.type)return r.type;if(typeof r.maxFeePerGas<"u"||typeof r.maxPriorityFeePerGas<"u")return"eip1559";if(typeof r.gasPrice<"u")return typeof r.accessList<"u"?"eip2930":"legacy";throw new e.InvalidSerializableTransactionError({transaction:r})}return jh.getTransactionType=t,jh}var KN;function Ay(){if(KN)return vh;KN=1,Object.defineProperty(vh,"__esModule",{value:!0}),vh.prepareTransactionRequest=void 0;const e=ga(),t=Yz(),r=uS(),n=id(),a=Zz(),i=ad(),c=Aw(),f=kr(),m=Au(),h=Sw();async function l(o,u){const{account:p=o.account,chain:g,gas:y,nonce:b,type:x}=u;if(!p)throw new i.AccountNotFoundError;const w=(0,e.parseAccount)(p),E=await(0,f.getAction)(o,n.getBlock,"getBlock")({blockTag:"latest"}),j={...u,from:w.address};if(typeof b>"u"&&(j.nonce=await(0,f.getAction)(o,a.getTransactionCount,"getTransactionCount")({address:w.address,blockTag:"pending"})),typeof x>"u")try{j.type=(0,h.getTransactionType)(j)}catch{j.type=typeof E.baseFeePerGas=="bigint"?"eip1559":"legacy"}if(j.type==="eip1559"){const{maxFeePerGas:T,maxPriorityFeePerGas:F}=await(0,t.internal_estimateFeesPerGas)(o,{block:E,chain:g,request:j});if(typeof u.maxPriorityFeePerGas>"u"&&u.maxFeePerGas&&u.maxFeePerGas<F)throw new c.MaxFeePerGasTooLowError({maxPriorityFeePerGas:F});j.maxPriorityFeePerGas=F,j.maxFeePerGas=T}else{if(typeof u.maxFeePerGas<"u"||typeof u.maxPriorityFeePerGas<"u")throw new c.Eip1559FeesNotSupportedError;const{gasPrice:T}=await(0,t.internal_estimateFeesPerGas)(o,{block:E,chain:g,request:j,type:"legacy"});j.gasPrice=T}return typeof y>"u"&&(j.gas=await(0,f.getAction)(o,r.estimateGas,"estimateGas")({...j,account:{address:w.address,type:"json-rpc"}})),(0,m.assertRequest)(j),j}return vh.prepareTransactionRequest=l,vh}var YN;function uS(){if(YN)return fh;YN=1,Object.defineProperty(fh,"__esModule",{value:!0}),fh.estimateGas=void 0;const e=ga(),t=ad(),r=ht(),n=Gz(),a=xy(),i=ju(),c=Au(),f=Ay();async function m(h,l){const o=l.account??h.account;if(!o)throw new t.AccountNotFoundError({docsPath:"/docs/actions/public/estimateGas"});const u=(0,e.parseAccount)(o);try{const{accessList:p,blockNumber:g,blockTag:y,data:b,gas:x,gasPrice:w,maxFeePerGas:E,maxPriorityFeePerGas:j,nonce:T,to:F,value:z,...K}=u.type==="local"?await(0,f.prepareTransactionRequest)(h,l):l,H=(g?(0,r.numberToHex)(g):void 0)||y;(0,c.assertRequest)(l);const V=h.chain?.formatters?.transactionRequest?.format,R=(V||i.formatTransactionRequest)({...(0,a.extract)(K,{format:V}),from:u.address,accessList:p,data:b,gas:x,gasPrice:w,maxFeePerGas:E,maxPriorityFeePerGas:j,nonce:T,to:F,value:z}),_=await h.request({method:"eth_estimateGas",params:H?[R,H]:[R]});return BigInt(_)}catch(p){throw(0,n.getEstimateGasError)(p,{...l,account:u,chain:h.chain})}}return fh.estimateGas=m,fh}var ZN;function Jz(){if(ZN)return ah;ZN=1,Object.defineProperty(ah,"__esModule",{value:!0}),ah.estimateContractGas=void 0;const e=ga(),t=Zi(),r=nd(),n=kr(),a=uS();async function i(c,{abi:f,address:m,args:h,functionName:l,...o}){const u=(0,t.encodeFunctionData)({abi:f,args:h,functionName:l});try{return await(0,n.getAction)(c,a.estimateGas,"estimateGas")({data:u,to:m,...o})}catch(p){const g=o.account?(0,e.parseAccount)(o.account):void 0;throw(0,r.getContractError)(p,{abi:f,address:m,args:h,docsPath:"/docs/contract/estimateContractGas",functionName:l,sender:g?.address})}}return ah.estimateContractGas=i,ah}var Ah={},Ph={},Sh={},JN;
18748function sd(){if(JN)return Sh;JN=1,Object.defineProperty(Sh,"__esModule",{value:!0}),Sh.decodeEventLog=void 0;const e=Tr(),t=_y(),r=_u(),n=Ws(),a="/docs/contract/decodeEventLog";function i({abi:f,data:m,strict:h,topics:l}){const o=h??!0,[u,...p]=l;if(!u)throw new e.AbiEventSignatureEmptyTopicsError({docsPath:a});const g=f.find(T=>T.type==="event"&&u===(0,t.getEventSelector)((0,n.formatAbiItem)(T)));if(!(g&&"name"in g)||g.type!=="event")throw new e.AbiEventSignatureNotFoundError(u,{docsPath:a});const{name:y,inputs:b}=g,x=b?.some(T=>!("name"in T&&T.name));let w=x?[]:{};const E=b.filter(T=>"indexed"in T&&T.indexed);for(let T=0;T<E.length;T++){const F=E[T],z=p[T];if(!z)throw new e.DecodeLogTopicsMismatch({abiItem:g,param:F});w[F.name||T]=c({param:F,value:z})}const j=b.filter(T=>!("indexed"in T&&T.indexed));if(j.length>0){if(m&&m!=="0x")try{const T=(0,r.decodeAbiParameters)(j,m);if(T)if(x)w=[...w,...T];else for(let F=0;F<j.length;F++)w[j[F].name]=T[F]}catch(T){if(o)throw T instanceof e.AbiDecodingDataSizeTooSmallError?new e.DecodeLogDataMismatch({abiItem:g,data:T.data,params:T.params,size:T.size}):T}else if(o)throw new e.DecodeLogDataMismatch({abiItem:g,data:"0x",params:j,size:0})}return{eventName:y,args:Object.values(w).length>0?w:void 0}}Sh.decodeEventLog=i;function c({param:f,value:m}){return f.type==="string"||f.type==="bytes"||f.type==="tuple"||f.type.match(/^(.*)\[(\d+)?\]$/)?m:((0,r.decodeAbiParameters)([f],m)||[])[0]}return Sh}var kh={},QN;function Pu(){if(QN)return kh;QN=1,Object.defineProperty(kh,"__esModule",{value:!0}),kh.formatLog=void 0;function e(t,{args:r,eventName:n}={}){return{...t,blockHash:t.blockHash?t.blockHash:null,blockNumber:t.blockNumber?BigInt(t.blockNumber):null,logIndex:t.logIndex?Number(t.logIndex):null,transactionHash:t.transactionHash?t.transactionHash:null,transactionIndex:t.transactionIndex?Number(t.transactionIndex):null,...n?{args:r,eventName:n}:{}}}return kh.formatLog=e,kh}var XN;function lS(){if(XN)return Ph;XN=1,Object.defineProperty(Ph,"__esModule",{value:!0}),Ph.getLogs=void 0;const e=Tr(),t=sd(),r=td(),n=ht(),a=Pu();async function i(c,{address:f,blockHash:m,fromBlock:h,toBlock:l,event:o,events:u,args:p,strict:g}={}){const y=g??!1,b=u??(o?[o]:void 0);let x=[];b&&(x=[b.flatMap(E=>(0,r.encodeEventTopics)({abi:[E],eventName:E.name,args:p}))],o&&(x=x[0]));let w;return m?w=await c.request({method:"eth_getLogs",params:[{address:f,topics:x,blockHash:m}]}):w=await c.request({method:"eth_getLogs",params:[{address:f,topics:x,fromBlock:typeof h=="bigint"?(0,n.numberToHex)(h):h,toBlock:typeof l=="bigint"?(0,n.numberToHex)(l):l}]}),w.map(E=>{try{const{eventName:j,args:T}=b?(0,t.decodeEventLog)({abi:b,data:E.data,topics:E.topics,strict:y}):{eventName:void 0,args:void 0};return(0,a.formatLog)(E,{args:T,eventName:j})}catch(j){let T,F;if(j instanceof e.DecodeLogDataMismatch||j instanceof e.DecodeLogTopicsMismatch){if(y)return;T=j.abiItem.name,F=j.abiItem.inputs?.some(z=>!("name"in z&&z.name))}return(0,a.formatLog)(E,{args:F?[]:{},eventName:T})}}).filter(Boolean)}return Ph.getLogs=i,Ph}var $N;function dS(){if($N)return Ah;$N=1,Object.defineProperty(Ah,"__esModule",{value:!0}),Ah.getContractEvents=void 0;const e=Ks(),t=kr(),r=lS();async function n(a,{abi:i,address:c,args:f,blockHash:m,eventName:h,fromBlock:l,toBlock:o,strict:u}){const p=h?(0,e.getAbiItem)({abi:i,name:h}):void 0,g=p?void 0:i.filter(y=>y.type==="event");return(0,t.getAction)(a,r.getLogs,"getLogs")({address:c,args:f,blockHash:m,event:p,events:g,fromBlock:l,toBlock:o,strict:u})}return Ah.getContractEvents=n,Ah}var Th={},Rh={},eM;function qo(){if(eM)return Rh;eM=1,Object.defineProperty(Rh,"__esModule",{value:!0}),Rh.decodeFunctionResult=void 0;const e=Tr(),t=_u(),r=Ks(),n="/docs/contract/decodeFunctionResult";function a({abi:i,args:c,functionName:f,data:m}){let h=i[0];if(f&&(h=(0,r.getAbiItem)({abi:i,args:c,name:f}),!h))throw new e.AbiFunctionNotFoundError(f,{docsPath:n});if(h.type!=="function")throw new e.AbiFunctionNotFoundError(void 0,{docsPath:n});if(!h.outputs)throw new e.AbiFunctionOutputsNotFoundError(h.name,{docsPath:n});const l=(0,t.decodeAbiParameters)(h.outputs,m);if(l&&l.length>1)return l;if(l&&l.length===1)return l[0]}return Rh.decodeFunctionResult=a,Rh}var Ac={},jn={},tM;
18748function Su(){if(tM)return jn;tM=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.universalSignatureValidatorAbi=jn.smartAccountAbi=jn.addressResolverAbi=jn.textResolverAbi=jn.universalResolverReverseAbi=jn.universalResolverResolveAbi=jn.multicall3Abi=void 0,jn.multicall3Abi=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"}];const e=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"}];return jn.universalResolverResolveAbi=[...e,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],jn.universalResolverReverseAbi=[...e,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],jn.textResolverAbi=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],jn.addressResolverAbi=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],jn.smartAccountAbi=[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],jn.universalSignatureValidatorAbi=[{inputs:[{internalType:"address",name:"_signer",type:"address"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"bytes",name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"}],jn}var Oh={},rM;function Hte(){return rM||(rM=1,Object.defineProperty(Oh,"__esModule",{value:!0}),Oh.aggregate3Signature=void 0,Oh.aggregate3Signature="0x82ad56cb"),Oh}var Oa={},nM;function Py(){if(nM)return Oa;nM=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.InvalidChainIdError=Oa.ClientChainNotConfiguredError=Oa.ChainNotFoundError=Oa.ChainMismatchError=Oa.ChainDoesNotSupportContract=void 0;const e=fr();class t extends e.BaseError{constructor({blockNumber:f,chain:m,contract:h}){super(`Chain "${m.name}" does not support contract "${h.name}".`,{metaMessages:["This could be due to any of the following:",...f&&h.blockCreated&&h.blockCreated>f?[`- The contract "${h.name}" was not deployed until block ${h.blockCreated} (current block ${f}).`]:[`- The chain does not have the contract "${h.name}" configured.`]]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainDoesNotSupportContract"})}}Oa.ChainDoesNotSupportContract=t;class r extends e.BaseError{constructor({chain:f,currentChainId:m}){super(`The current chain of the wallet (id: ${m}) does not match the target chain for the transaction (id: ${f.id} â ${f.name}).`,{metaMessages:[`Current Chain ID: ${m}`,`Expected Chain ID: ${f.id} â ${f.name}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainMismatchError"})}}Oa.ChainMismatchError=r;class n extends e.BaseError{constructor(){super(["No chain was provided to the request.","Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient."].join(` 18749`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotFoundError"})}}Oa.ChainNotFoundError=n;class a extends e.BaseError{constructor(){super("No chain was provided to the Client."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ClientChainNotConfiguredError"})}}Oa.ClientChainNotConfiguredError=a;class i extends e.BaseError{constructor({chainId:f}){super(`Chain ID "${f}
18749" is invalid.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidChainIdError"})}}return Oa.InvalidChainIdError=i,Oa}var Ch={},aM;function Lo(){if(aM)return Ch;aM=1,Object.defineProperty(Ch,"__esModule",{value:!0}),Ch.getChainContractAddress=void 0;const e=Py();function t({blockNumber:r,chain:n,contract:a}){const i=n?.contracts?.[a];if(!i)throw new e.ChainDoesNotSupportContract({chain:n,contract:{name:a}});if(r&&i.blockCreated&&i.blockCreated>r)throw new e.ChainDoesNotSupportContract({blockNumber:r,chain:n,contract:{name:a,blockCreated:i.blockCreated}});return i.address}return Ch.getChainContractAddress=t,Ch}var Ih={},iM;function Qz(){if(iM)return Ih;iM=1,Object.defineProperty(Ih,"__esModule",{value:!0}),Ih.getCallError=void 0;const e=xu(),t=Eu(),r=jw();function n(a,{docsPath:i,...c}){const f=(()=>{const m=(0,r.getNodeError)(a,c);return m instanceof t.UnknownNodeError?a:m})();return new e.CallExecutionError(f,{docsPath:i,...c})}return Ih.getCallError=n,Ih}var Nh={},sM;function fS(){if(sM)return Nh;sM=1,Object.defineProperty(Nh,"__esModule",{value:!0}),Nh.createBatchScheduler=void 0;const e=new Map;function t({fn:r,id:n,shouldSplitBatch:a,wait:i=0,sort:c}){const f=async()=>{const u=l();m();const p=u.map(({args:g})=>g);p.length!==0&&r(p).then(g=>{c&&Array.isArray(g)&&g.sort(c);for(let y=0;y<u.length;y++){const{pendingPromise:b}=u[y];b.resolve?.([g[y],g])}}).catch(g=>{for(let y=0;y<u.length;y++){const{pendingPromise:b}=u[y];b.reject?.(g)}})},m=()=>e.delete(n),h=()=>l().map(({args:u})=>u),l=()=>e.get(n)||[],o=u=>e.set(n,[...l(),u]);return{flush:m,async schedule(u){const p={},g=new Promise((x,w)=>{p.resolve=x,p.reject=w});return a?.([...h(),u])&&f(),l().length>0?(o({args:u,pendingPromise:p}),g):(o({args:u,pendingPromise:p}),setTimeout(f,i),g)}}}return Nh.createBatchScheduler=t,Nh}var fx={},Ps={},oM;function Wte(){if(oM)return Ps;oM=1,Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.OffchainLookupSenderMismatchError=Ps.OffchainLookupResponseMalformedError=Ps.OffchainLookupError=void 0;const e=ya(),t=fr(),r=mw();class n extends t.BaseError{constructor({callbackSelector:f,cause:m,data:h,extraData:l,sender:o,urls:u}){super(m.shortMessage||"An error occurred while fetching for an offchain result.",{cause:m,metaMessages:[...m.metaMessages||[],m.metaMessages?.length?"":[],"Offchain Gateway Call:",u&&[" Gateway URL(s):",...u.map(p=>` ${(0,r.getUrl)(p)}`)],` Sender: ${o}`,` Data: ${h}`,` Callback selector: ${f}`,` Extra data: ${l}`].flat()}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupError"})}}Ps.OffchainLookupError=n;class a extends t.BaseError{constructor({result:f,url:m}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${(0,r.getUrl)(m)}`,`Response: ${(0,e.stringify)(f)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupResponseMalformedError"})}}Ps.OffchainLookupResponseMalformedError=a;class i extends t.BaseError{constructor({sender:f,to:m}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${m}`,`OffchainLookup sender address: ${f}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupSenderMismatchError"})}}return Ps.OffchainLookupSenderMismatchError=i,Ps}var Mh={},cM;function Sy(){if(cM)return Mh;cM=1,Object.defineProperty(Mh,"__esModule",{value:!0}),Mh.isAddressEqual=void 0;const e=ji(),t=Ua();function r(n,a){if(!(0,t.isAddress)(n))throw new e.InvalidAddressError({address:n});if(!(0,t.isAddress)(a))throw new e.InvalidAddressError({address:a});return n.toLowerCase()===a.toLowerCase()}return Mh.isAddressEqual=r,Mh}var uM;function hS(){return uM||(uM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ccipFetch=e.offchainLookup=e.offchainLookupAbiItem=e.offchainLookupSignature=void 0;const t=ky(),r=Wte(),n=Uo(),a=Ew(),i=Yi(),c=Sy(),f=La(),m=Vn(),h=ya();e.offchainLookupSignature="0x556f1830",e.offchainLookupAbiItem={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function l(u,{blockNumber:p,blockTag:g,data:y,to:b}){const{args:x}=(0,a.decodeErrorResult)({data:y,abi:[e.offchainLookupAbiItem]}),[w,E,j,T,F]=x;try{if(!(0,c.isAddressEqual)(b,w))throw new r.OffchainLookupSenderMismatchError({sender:w,to:b});const z=await o({data:j,sender:w,urls:E}),{data:K}=await(0,t.call)(u,{blockNumber:p,blockTag:g,data:(0,f.concat)([T,(0,i.encodeAbiParameters)([{type:"bytes"},{type:"bytes"}],[z,F])]),to:b});return K}catch(z){throw new r.OffchainLookupError({callbackSelector:T,cause:z,data:y,extraData:F,sender:w,urls:E})}}e.offchainLookup=l;async function o({data:u,sender:p,urls:g}){let y=new Error("An unknown error occurred.");for(let b=0;b<g.length;b++){const x=g[b],w=x.includes("{data}")?"GET":"POST",E=w==="POST"?{data:u,sender:p}:void 0;try{const j=await fetch(x.replace("{sender}",p).replace("{data}",u),{body:JSON.stringify(E),method:w});let T;if(j.headers.get("Content-Type")?.startsWith("application/json")?T=(await j.json()).data:T=await j.text(),!j.ok){y=new n.HttpRequestError({body:E,details:T?.error?(0,h.stringify)(T.error):j.statusText,headers:j.headers,status:j.status,url:x});continue}
18749if(!(0,m.isHex)(T)){y=new r.OffchainLookupResponseMalformedError({result:T,url:x});continue}return T}catch(j){y=new n.HttpRequestError({body:E,details:j.message,url:x})}}throw y}e.ccipFetch=o})(fx)),fx}var lM;function ky(){if(lM)return Ac;lM=1,Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.getRevertErrorData=Ac.call=void 0;const e=ga(),t=Su(),r=Hte(),n=fr(),a=Py(),i=xu(),c=qo(),f=Zi(),m=Lo(),h=ht(),l=Qz(),o=xy(),u=ju(),p=fS(),g=Au();async function y(E,j){const{account:T=E.account,batch:F=!!E.batch?.multicall,blockNumber:z,blockTag:K="latest",accessList:U,data:H,gas:V,gasPrice:Z,maxFeePerGas:R,maxPriorityFeePerGas:_,nonce:k,to:M,value:B,...C}=j,q=T?(0,e.parseAccount)(T):void 0;try{(0,g.assertRequest)(j);const I=(z?(0,h.numberToHex)(z):void 0)||K,S=E.chain?.formatters?.transactionRequest?.format,Y=(S||u.formatTransactionRequest)({...(0,o.extract)(C,{format:S}),from:q?.address,accessList:U,data:H,gas:V,gasPrice:Z,maxFeePerGas:R,maxPriorityFeePerGas:_,nonce:k,to:M,value:B});if(F&&b({request:Y}))try{return await x(E,{...Y,blockNumber:z,blockTag:K})}catch(ne){if(!(ne instanceof a.ClientChainNotConfiguredError)&&!(ne instanceof a.ChainDoesNotSupportContract))throw ne}const Q=await E.request({method:"eth_call",params:I?[Y,I]:[Y]});return Q==="0x"?{data:void 0}:{data:Q}}catch(W){const I=w(W),{offchainLookup:S,offchainLookupSignature:O}=await Promise.resolve().then(()=>hS());if(I?.slice(0,10)===O&&M)return{data:await S(E,{data:I,to:M})};throw(0,l.getCallError)(W,{...j,account:q,chain:E.chain})}}Ac.call=y;function b({request:E}){const{data:j,to:T,...F}=E;return!(!j||j.startsWith(r.aggregate3Signature)||!T||Object.values(F).filter(z=>typeof z<"u").length>0)}async function x(E,j){const{batchSize:T=1024,wait:F=0}=typeof E.batch?.multicall=="object"?E.batch.multicall:{},{blockNumber:z,blockTag:K="latest",data:U,multicallAddress:H,to:V}=j;let Z=H;if(!Z){if(!E.chain)throw new a.ClientChainNotConfiguredError;Z=(0,m.getChainContractAddress)({blockNumber:z,chain:E.chain,contract:"multicall3"})}const _=(z?(0,h.numberToHex)(z):void 0)||K,{schedule:k}=(0,p.createBatchScheduler)({id:`${E.uid}.${_}`,wait:F,shouldSplitBatch(C){return C.reduce((W,{data:I})=>W+(I.length-2),0)>T*2},fn:async C=>{const q=C.map(S=>({allowFailure:!0,callData:S.data,target:S.to})),W=(0,f.encodeFunctionData)({abi:t.multicall3Abi,args:[q],functionName:"aggregate3"}),I=await E.request({method:"eth_call",params:[{data:W,to:Z},_]});return(0,c.decodeFunctionResult)({abi:t.multicall3Abi,args:[q],functionName:"aggregate3",data:I||"0x"})}}),[{returnData:M,success:B}]=await k({data:U,to:V});if(!B)throw new i.RawContractError({data:M});return M==="0x"?{data:void 0}:{data:M}}function w(E){if(!(E instanceof n.BaseError))return;const j=E.walk();return typeof j.data=="object"?j.data.data:j.data}return Ac.getRevertErrorData=w,Ac}var dM;function Do(){if(dM)return Th;dM=1,Object.defineProperty(Th,"__esModule",{value:!0}),Th.readContract=void 0;const e=qo(),t=Zi(),r=nd(),n=kr(),a=ky();async function i(c,{abi:f,address:m,args:h,functionName:l,...o}){const u=(0,t.encodeFunctionData)({abi:f,args:h,functionName:l});try{const{data:p}=await(0,n.getAction)(c,a.call,"call")({data:u,to:m,...o});return(0,e.decodeFunctionResult)({abi:f,args:h,functionName:l,data:p||"0x"})}catch(p){throw(0,r.getContractError)(p,{abi:f,address:m,args:h,docsPath:"/docs/contract/readContract",functionName:l})}}return Th.readContract=i,Th}var Fh={},fM;function Xz(){if(fM)return Fh;fM=1,Object.defineProperty(Fh,"__esModule",{value:!0}),Fh.simulateContract=void 0;const e=ga(),t=qo(),r=Zi(),n=nd(),a=kr(),i=ky();async function c(f,{abi:m,address:h,args:l,dataSuffix:o,functionName:u,...p}){const g=p.account?(0,e.parseAccount)(p.account):void 0,y=(0,r.encodeFunctionData)({abi:m,args:l,functionName:u});try{const{data:b}=await(0,a.getAction)(f,i.call,"call")({batch:!1,data:`${y}${o?o.replace("0x",""):""}`,to:h,...p});return{result:(0,t.decodeFunctionResult)({abi:m,args:l,functionName:u,data:b||"0x"}),request:{abi:m,address:h,args:l,dataSuffix:o,functionName:u,...p}}}catch(b){throw(0,n.getContractError)(b,{abi:m,address:h,args:l,docsPath:"/docs/contract/simulateContract",functionName:u,sender:g?.address})}}return Fh.simulateContract=c,Fh}var Bh={},hx={},hM;function od(){return hM||(hM=1,(function(e){Object.defineProperty(e,"__esMo
18749dule",{value:!0}),e.observe=e.cleanupCache=e.listenersCache=void 0,e.listenersCache=new Map,e.cleanupCache=new Map;let t=0;function r(n,a,i){const c=++t,f=()=>e.listenersCache.get(n)||[],m=()=>{const p=f();e.listenersCache.set(n,p.filter(g=>g.id!==c))},h=()=>{const p=e.cleanupCache.get(n);f().length===1&&p&&p(),m()},l=f();if(e.listenersCache.set(n,[...l,{id:c,fns:a}]),l&&l.length>0)return h;const o={};for(const p in a)o[p]=((...g)=>{const y=f();if(y.length!==0)for(const b of y)b.fns[p]?.(...g)});const u=i(o);return typeof u=="function"&&e.cleanupCache.set(n,u),h}e.observe=r})(hx)),hx}var Uh={},qh={},pM;function pS(){if(pM)return qh;pM=1,Object.defineProperty(qh,"__esModule",{value:!0}),qh.wait=void 0;async function e(t){return new Promise(r=>setTimeout(r,t))}return qh.wait=e,qh}var mM;function Ty(){if(mM)return Uh;mM=1,Object.defineProperty(Uh,"__esModule",{value:!0}),Uh.poll=void 0;const e=pS();function t(r,{emitOnBegin:n,initialWaitTime:a,interval:i}){let c=!0;const f=()=>c=!1;return(async()=>{let h;n&&(h=await r({unpoll:f}));const l=await a?.(h)??i;await(0,e.wait)(l);const o=async()=>{c&&(await r({unpoll:f}),await(0,e.wait)(i),o())};o()})(),f}return Uh.poll=t,Uh}var Pc={},px={},gM;function Gte(){return gM||(gM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.withCache=e.getCache=e.responseCache=e.promiseCache=void 0,e.promiseCache=new Map,e.responseCache=new Map;function t(n){const a=(f,m)=>({clear:()=>m.delete(f),get:()=>m.get(f),set:h=>m.set(f,h)}),i=a(n,e.promiseCache),c=a(n,e.responseCache);return{clear:()=>{i.clear(),c.clear()},promise:i,response:c}}e.getCache=t;async function r(n,{cacheKey:a,cacheTime:i=1/0}){const c=t(a),f=c.response.get();if(f&&i>0&&new Date().getTime()-f.created.getTime()<i)return f.data;let m=c.promise.get();m||(m=n(),c.promise.set(m));try{const h=await m;return c.response.set({created:new Date,data:h}),h}finally{c.promise.clear()}}e.withCache=r})(px)),px}var yM;function Ry(){if(yM)return Pc;yM=1,Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.getBlockNumber=Pc.getBlockNumberCache=void 0;const e=Gte(),t=a=>`blockNumber.${a}`;function r(a){return(0,e.getCache)(t(a))}Pc.getBlockNumberCache=r;async function n(a,{cacheTime:i=a.cacheTime,maxAge:c}={}){const f=await(0,e.withCache)(()=>a.request({method:"eth_blockNumber"}),{cacheKey:t(a.uid),cacheTime:c??i});return BigInt(f)}return Pc.getBlockNumber=n,Pc}var Lh={},bM;function kw(){if(bM)return Lh;bM=1,Object.defineProperty(Lh,"__esModule",{value:!0}),Lh.getFilterChanges=void 0;const e=Tr(),t=sd(),r=Pu();async function n(a,{filter:i}){const c="strict"in i&&i.strict;return(await i.request({method:"eth_getFilterChanges",params:[i.id]})).map(m=>{if(typeof m=="string")return m;try{const{eventName:h,args:l}="abi"in i&&i.abi?(0,t.decodeEventLog)({abi:i.abi,data:m.data,topics:m.topics,strict:c}):{eventName:void 0,args:void 0};return(0,r.formatLog)(m,{args:l,eventName:h})}catch(h){let l,o;if(h instanceof e.DecodeLogDataMismatch||h instanceof e.DecodeLogTopicsMismatch){if("strict"in i&&i.strict)return;l=h.abiItem.name,o=h.abiItem.inputs?.some(u=>!("name"in u&&u.name))}return(0,r.formatLog)(m,{args:o?[]:{},eventName:l})}}).filter(Boolean)}return Lh.getFilterChanges=n,Lh}var Dh={},vM;function Tw(){if(vM)return Dh;vM=1,Object.defineProperty(Dh,"__esModule",{value:!0}),Dh.uninstallFilter=void 0;async function e(t,{filter:r}){return r.request({method:"eth_uninstallFilter",params:[r.id]})}return Dh.uninstallFilter=e,Dh}var wM;function $z(){if(wM)return Bh;wM=1,Object.defineProperty(Bh,"__esModule",{value:!0}),Bh.watchContractEvent=void 0;const e=od(),t=Ty(),r=ya(),n=Tr(),a=rd(),i=sd(),c=td(),f=Pu(),m=kr(),h=iS(),l=Ry(),o=dS(),u=kw(),p=Tw();function g(y,{abi:b,address:x,args:w,batch:E=!0,eventName:j,onError:T,onLogs:F,poll:z,pollingInterval:K=y.pollingInterval,strict:U}){return(typeof z<"u"?z:y.transport.type!=="webSocket")?(()=>{const R=(0,r.stringify)(["watchContractEvent",x,w,E,y.uid,j,K]),_=U??!1;return(0,e.observe)(R,{onLogs:F,onError:T},k=>{let M,B,C=!1;const q=(0,t.poll)(async()=>{if(!C){try{B=await(0,m.getAction)(y,h.createContractEventFilter,"createContractEventFilter")({abi:b,address:x,args:w,eventName:j,strict:_})}catch{}C=!0;return}try{let W;if(B)W=await(0,m.getAction)(y,u.getFilterChanges,"getFilterChanges")({filter:B});else{const I=await(0,m.getAction)(y,l.getBlockNumber,"getBlockNumber")({});M&&M!==I?W=await(0,m.getAction)(y,o.getContractEvents,"getContractEvents")({abi:b,address:x,args:w,eventName:j,fromBlock:M+1n,toBlock:I,str
18749ict:_}):W=[],M=I}if(W.length===0)return;if(E)k.onLogs(W);else for(const I of W)k.onLogs([I])}catch(W){B&&W instanceof a.InvalidInputRpcError&&(C=!1),k.onError?.(W)}},{emitOnBegin:!0,interval:K});return async()=>{B&&await(0,m.getAction)(y,p.uninstallFilter,"uninstallFilter")({filter:B}),q()}})})():(()=>{let R=!0,_=()=>R=!1;return(async()=>{try{const k=j?(0,c.encodeEventTopics)({abi:b,eventName:j,args:w}):[],{unsubscribe:M}=await y.transport.subscribe({params:["logs",{address:x,topics:k}],onData(B){if(!R)return;const C=B.result;try{const{eventName:q,args:W}=(0,i.decodeEventLog)({abi:b,data:C.data,topics:C.topics,strict:U}),I=(0,f.formatLog)(C,{args:W,eventName:q});F([I])}catch(q){let W,I;if(q instanceof n.DecodeLogDataMismatch||q instanceof n.DecodeLogTopicsMismatch){if(U)return;W=q.abiItem.name,I=q.abiItem.inputs?.some(O=>!("name"in O&&O.name))}const S=(0,f.formatLog)(C,{args:I?[]:{},eventName:W});F([S])}},onError(B){T?.(B)}});_=M,R||_()}catch(k){T?.(k)}})(),_})()}return Bh.watchContractEvent=g,Bh}var zh={},Vh={},Hh={},_M;function Rw(){if(_M)return Hh;_M=1,Object.defineProperty(Hh,"__esModule",{value:!0}),Hh.assertCurrentChain=void 0;const e=Py();function t({chain:r,currentChainId:n}){if(!r)throw new e.ChainNotFoundError;if(n!==r.id)throw new e.ChainMismatchError({chain:r,currentChainId:n})}return Hh.assertCurrentChain=t,Hh}var Wh={},xM;function eV(){if(xM)return Wh;xM=1,Object.defineProperty(Wh,"__esModule",{value:!0}),Wh.getTransactionError=void 0;const e=Eu(),t=Da(),r=jw();function n(a,{docsPath:i,...c}){const f=(()=>{const m=(0,r.getNodeError)(a,c);return m instanceof e.UnknownNodeError?a:m})();return new t.TransactionExecutionError(f,{docsPath:i,...c})}return Wh.getTransactionError=n,Wh}var Gh={},EM;function Ow(){if(EM)return Gh;EM=1,Object.defineProperty(Gh,"__esModule",{value:!0}),Gh.getChainId=void 0;const e=pn();async function t(r){const n=await r.request({method:"eth_chainId"});return(0,e.hexToNumber)(n)}return Gh.getChainId=t,Gh}var Kh={},jM;function mS(){if(jM)return Kh;jM=1,Object.defineProperty(Kh,"__esModule",{value:!0}),Kh.sendRawTransaction=void 0;async function e(t,{serializedTransaction:r}){return t.request({method:"eth_sendRawTransaction",params:[r]})}return Kh.sendRawTransaction=e,Kh}var AM;function gS(){if(AM)return Vh;AM=1,Object.defineProperty(Vh,"__esModule",{value:!0}),Vh.sendTransaction=void 0;const e=ga(),t=ad(),r=Rw(),n=eV(),a=xy(),i=ju(),c=kr(),f=Au(),m=Ow(),h=Ay(),l=mS();async function o(u,p){const{account:g=u.account,chain:y=u.chain,accessList:b,data:x,gas:w,gasPrice:E,maxFeePerGas:j,maxPriorityFeePerGas:T,nonce:F,to:z,value:K,...U}=p;if(!g)throw new t.AccountNotFoundError({docsPath:"/docs/actions/wallet/sendTransaction"});const H=(0,e.parseAccount)(g);try{(0,f.assertRequest)(p);let V;if(y!==null&&(V=await(0,c.getAction)(u,m.getChainId,"getChainId")({}),(0,r.assertCurrentChain)({currentChainId:V,chain:y})),H.type==="local"){const k=await(0,c.getAction)(u,h.prepareTransactionRequest,"prepareTransactionRequest")({account:H,accessList:b,chain:y,data:x,gas:w,gasPrice:E,maxFeePerGas:j,maxPriorityFeePerGas:T,nonce:F,to:z,value:K,...U});V||(V=await(0,c.getAction)(u,m.getChainId,"getChainId")({}));const M=y?.serializers?.transaction,B=await H.signTransaction({...k,chainId:V},{serializer:M});return await(0,c.getAction)(u,l.sendRawTransaction,"sendRawTransaction")({serializedTransaction:B})}const Z=u.chain?.formatters?.transactionRequest?.format,_=(Z||i.formatTransactionRequest)({...(0,a.extract)(U,{format:Z}),accessList:b,data:x,from:H.address,gas:w,gasPrice:E,maxFeePerGas:j,maxPriorityFeePerGas:T,nonce:F,to:z,value:K});return await u.request({method:"eth_sendTransaction",params:[_]})}catch(V){throw(0,n.getTransactionError)(V,{...p,account:H,chain:p.chain||void 0})}}return Vh.sendTransaction=o,Vh}var PM;function tV(){if(PM)return zh;PM=1,Object.defineProperty(zh,"__esModule",{value:!0}),zh.writeContract=void 0;const e=Zi(),t=kr(),r=gS();async function n(a,{abi:i,address:c,args:f,dataSuffix:m,functionName:h,...l}){const o=(0,e.encodeFunctionData)({abi:i,args:f,functionName:h});return await(0,t.getAction)(a,r.sendTransaction,"sendTransaction")({data:`${o}${m?m.replace("0x",""):""}`,to:c,...l})}return zh.writeContract=n,zh}var SM;function Kte(){if(SM)return _s;SM=1,Object.defineProperty(_s,"__esModule",{value:!0}),_s.getEventParameters=_s.getFunctionParameters=_s.getContract=void 0;const e=kr(),t=iS(),r=Jz(),n=dS(),a=Do(),i=Xz(),c=$z(),f=tV();function m({abi:o,address:u,publicClient:p,walletClient:g}){const y=p!=null,b=g!=null,x={};let w=!1,E=!1,j=!1;for(const T of o)if(T.type==="function"?T.stateMutability==="view"||T.stateMutability==="pure"?w=!0:E=!0:T.type==="event"&&(j=!0),w&&E&&j)break;return y&&(w&&(x.read=new Proxy({},{get(T,F){return(...z)=>{const{args:K,options:U}=h(z);return(0,e.getAction)(p,a.readContract,"readContract")({abi:o,address:u,functionName:F,args:K,...U})}}})),E&&(x.simulate=new Proxy({},{get(T,F){return(...z)=>{const{args:K,options:U}=h(z);return(0,e.getAction)(p,i.simulateContract,"simulateContract")({abi:o,address:u,functionName:F,args:K,...U})}}})),j&&(x.createEventFilter=new Proxy({},{get(T,F){return(...z)=>{const K=o.find(V=>V.type==="event"&&V.name===F),{args:U,options:H}
18749=l(z,K);return(0,e.getAction)(p,t.createContractEventFilter,"createContractEventFilter")({abi:o,address:u,eventName:F,args:U,...H})}}}),x.getEvents=new Proxy({},{get(T,F){return(...z)=>{const K=o.find(V=>V.type==="event"&&V.name===F),{args:U,options:H}=l(z,K);return(0,e.getAction)(p,n.getContractEvents,"getContractEvents")({abi:o,address:u,eventName:F,args:U,...H})}}}),x.watchEvent=new Proxy({},{get(T,F){return(...z)=>{const K=o.find(V=>V.type==="event"&&V.name===F),{args:U,options:H}=l(z,K);return(0,e.getAction)(p,c.watchContractEvent,"watchContractEvent")({abi:o,address:u,eventName:F,args:U,...H})}}}))),b&&E&&(x.write=new Proxy({},{get(T,F){return(...z)=>{const{args:K,options:U}=h(z);return(0,e.getAction)(g,f.writeContract,"writeContract")({abi:o,address:u,functionName:F,args:K,...U})}}})),(y||b)&&E&&(x.estimateGas=new Proxy({},{get(T,F){return(...z)=>{const{args:K,options:U}=h(z),H=p??g;return(0,e.getAction)(H,r.estimateContractGas,"estimateContractGas")({abi:o,address:u,functionName:F,args:K,...U,account:U.account??g.account})}}})),x.address=u,x.abi=o,x}_s.getContract=m;function h(o){const u=o.length&&Array.isArray(o[0]),p=u?o[0]:[],g=(u?o[1]:o[0])??{};return{args:p,options:g}}_s.getFunctionParameters=h;function l(o,u){let p=!1;Array.isArray(o[0])?p=!0:o.length===1?p=u.inputs.some(b=>b.indexed):o.length===2&&(p=!0);const g=p?o[0]:void 0,y=(p?o[1]:o[0])??{};return{args:g,options:y}}return _s.getEventParameters=l,_s}var Yh={},mx={},kM;function Yte(){return kM||(kM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.publicKeyToAddress=e.parseAccount=void 0;var t=ga();Object.defineProperty(e,"parseAccount",{enumerable:!0,get:function(){return t.parseAccount}});var r=Ql();Object.defineProperty(e,"publicKeyToAddress",{enumerable:!0,get:function(){return r.publicKeyToAddress}})})(mx)),mx}var Zh={},TM;function Zte(){if(TM)return Zh;TM=1,Object.defineProperty(Zh,"__esModule",{value:!0}),Zh.uid=void 0;const e=256;let t=e,r;function n(a=11){if(!r||t+a>e*2){r="",t=0;for(let i=0;i<e;i++)r+=(256+Math.random()*256|0).toString(16).substring(1)}return r.substring(t,t+++a)}return Zh.uid=n,Zh}var RM;function Cw(){if(RM)return Yh;RM=1,Object.defineProperty(Yh,"__esModule",{value:!0}),Yh.createClient=void 0;const e=Yte(),t=Zte();function r(n){const{batch:a,cacheTime:i=n.pollingInterval??4e3,key:c="base",name:f="Base Client",pollingInterval:m=4e3,type:h="base"}=n,l=n.chain,o=n.account?(0,e.parseAccount)(n.account):void 0,{config:u,request:p,value:g}=n.transport({chain:l,pollingInterval:m}),y={...u,...g},b={account:o,batch:a,cacheTime:i,chain:l,key:c,name:f,pollingInterval:m,request:p,transport:y,type:h,uid:(0,t.uid)()};function x(w){return E=>{const j=E(w);for(const F in b)delete j[F];const T={...w,...j};return Object.assign(T,{extend:x(T)})}}return Object.assign(b,{extend:x(b)})}return Yh.createClient=r,Yh}var Jh={},Qh={},gx={},Xh={},OM;function rV(){if(OM)return Xh;OM=1,Object.defineProperty(Xh,"__esModule",{value:!0}),Xh.withRetry=void 0;const e=pS();function t(r,{delay:n=100,retryCount:a=2,shouldRetry:i=()=>!0}={}){return new Promise((c,f)=>{const m=async({count:h=0}={})=>{const l=async({error:o})=>{const u=typeof n=="function"?n({count:h,error:o}):n;u&&await(0,e.wait)(u),m({count:h+1})};try{const o=await r();c(o)}catch(o){if(h<a&&await i({count:h,error:o}))return l({error:o});f(o)}};m()})}return Xh.withRetry=t,Xh}var CM;function yS(){return CM||(CM=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.buildRequest=e.isDeterministicError=void 0;const t=fr(),r=Uo(),n=rd(),a=rV(),i=f=>"code"in f?f.code!==-1&&f.code!==-32004&&f.code!==-32005&&f.code!==-32042&&f.code!==-32603:f instanceof r.HttpRequestError&&f.status?f.status!==403&&f.status!==408&&f.status!==413&&f.status!==429&&f.status!==500&&f.status!==502&&f.status!==503&&f.status!==504:!1;e.isDeterministicError=i;function c(f,{retryDelay:m=150,retryCount:h=3}={}){return(async l=>(0,a.withRetry)(async()=>{try{return await f(l)}catch(o){const u=o;switch(u.code){case n.ParseRpcError.code:throw new n.ParseRpcError(u);case n.InvalidRequestRpcError.code:throw new n.InvalidRequestRpcError(u);case n.MethodNotFoundRpcError.code:throw new n.MethodNotFoundRpcError(u);case n.InvalidParamsRpcError.code:throw new n.InvalidParamsRpcError(u);case n.InternalRpcError.code:throw new n.InternalRpcError(u);case n.InvalidInputRpcError.code:throw new n.InvalidInputRpcError(u);case n.ResourceNotFoundRpcError.code:throw new n.ResourceNotFoundRpcError(u);case n.ResourceUnavailableRpcError.code:throw new n.ResourceUnavailableRpcError(u);case n.TransactionRejectedRpcError.code:throw new n.TransactionRejectedRpcError(u);case n.MethodNotSupportedRpcError.code:throw new n.MethodNotSupportedRpcError(u);case n.LimitExceededRpcError.code:throw new n.LimitExceededRpcError(u);case n.JsonRpcVersionUnsupportedError.code:throw new n.JsonRpcVersionUnsupportedError(u);case n.UserRejectedRequestError.code:throw new n.UserRejectedRequestError(u);case n.UnauthorizedProviderError.code:throw new n.UnauthorizedProviderError(u);case n.UnsupportedProviderMethodError.code:throw new n.UnsupportedProviderMethodError(u);case n.ProviderDisconnectedError.code:throw new n.ProviderDisconnectedError(u);case n.ChainDisconnectedError.code:throw new n.ChainDisconnectedError(u);case n.SwitchChainError.code:throw new n.SwitchChainError(u);case 5e3:throw new n.UserRejectedRequestError(u);default:throw o instanceof t.BaseError?o:new n.UnknownRpcError(u)}}},{delay:({count:o,error:u})=>
18749{if(u&&u instanceof r.HttpRequestError){const p=u?.headers?.get("Retry-After");if(p?.match(/\d/))return parseInt(p)*1e3}return~~(1<<o)*m},retryCount:h,shouldRetry:({error:o})=>!(0,e.isDeterministicError)(o)}))}e.buildRequest=c})(gx)),gx}var IM;function Oy(){if(IM)return Qh;IM=1,Object.defineProperty(Qh,"__esModule",{value:!0}),Qh.createTransport=void 0;const e=yS();function t({key:r,name:n,request:a,retryCount:i=3,retryDelay:c=150,timeout:f,type:m},h){return{config:{key:r,name:n,request:a,retryCount:i,retryDelay:c,timeout:f,type:m},request:(0,e.buildRequest)(a,{retryCount:i,retryDelay:c}),value:h}}return Qh.createTransport=t,Qh}var NM;function Jte(){if(NM)return Jh;NM=1,Object.defineProperty(Jh,"__esModule",{value:!0}),Jh.custom=void 0;const e=Oy();function t(r,n={}){const{key:a="custom",name:i="Custom Provider",retryDelay:c}=n;return({retryCount:f})=>(0,e.createTransport)({key:a,name:i,request:r.request.bind(r),retryCount:n.retryCount??f,retryDelay:c,type:"custom"})}return Jh.custom=t,Jh}var Sc={},MM;function Qte(){if(MM)return Sc;MM=1,Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.rankTransports=Sc.fallback=void 0;const e=yS(),t=pS(),r=Oy();function n(i,c={}){const{key:f="fallback",name:m="Fallback",rank:h=!1,retryCount:l,retryDelay:o}=c;return({chain:u,pollingInterval:p=4e3,timeout:g})=>{let y=i,b=()=>{};const x=(0,r.createTransport)({key:f,name:m,async request({method:w,params:E}){const j=async(T=0)=>{const F=y[T]({chain:u,retryCount:0,timeout:g});try{const z=await F.request({method:w,params:E});return b({method:w,params:E,response:z,transport:F,status:"success"}),z}catch(z){if(b({error:z,method:w,params:E,transport:F,status:"error"}),(0,e.isDeterministicError)(z)||T===y.length-1)throw z;return j(T+1)}};return j()},retryCount:l,retryDelay:o,type:"fallback"},{onResponse:w=>b=w,transports:y.map(w=>w({chain:u,retryCount:0}))});if(h){const w=typeof h=="object"?h:{};a({chain:u,interval:w.interval??p,onTransports:E=>y=E,sampleCount:w.sampleCount,timeout:w.timeout,transports:y,weights:w.weights})}return x}}Sc.fallback=n;function a({chain:i,interval:c=4e3,onTransports:f,sampleCount:m=10,timeout:h=1e3,transports:l,weights:o={}}){const{stability:u=.7,latency:p=.3}=o,g=[],y=async()=>{const b=await Promise.all(l.map(async E=>{const j=E({chain:i,retryCount:0,timeout:h}),T=Date.now();let F,z;try{await j.request({method:"net_listening"}),z=1}catch{z=0}finally{F=Date.now()}return{latency:F-T,success:z}}));g.push(b),g.length>m&&g.shift();const x=Math.max(...g.map(E=>Math.max(...E.map(({latency:j})=>j)))),w=l.map((E,j)=>{const T=g.map(H=>H[j].latency),z=1-T.reduce((H,V)=>H+V,0)/T.length/x,K=g.map(H=>H[j].success),U=K.reduce((H,V)=>H+V,0)/K.length;return U===0?[0,j]:[p*z+u*U,j]}).sort((E,j)=>j[0]-E[0]);f(w.map(([,E])=>l[E])),await(0,t.wait)(c),y()};y()}return Sc.rankTransports=a,Sc}var $h={},ep={},FM;function bS(){if(FM)return ep;FM=1,Object.defineProperty(ep,"__esModule",{value:!0}),ep.UrlRequiredError=void 0;const e=fr();class t extends e.BaseError{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro"})}}return ep.UrlRequiredError=t,ep}var yx={};function Xte(){if(typeof WebSocket<"u")return WebSocket;if(typeof global.WebSocket<"u")return global.WebSocket;if(typeof window.WebSocket<"u")return window.WebSocket;if(typeof self.WebSocket<"u")return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}const $te=Xte(),ere=Object.freeze(Object.defineProperty({__proto__:null,WebSocket:$te},Symbol.toStringTag,{value:"Module"})),tre=ew(ere);var tp={},BM;function rre(){if(BM)return tp;BM=1,Object.defineProperty(tp,"__esModule",{value:!0}),tp.withTimeout=void 0;function e(t,{errorInstance:r=new Error("timed out"),timeout:n,signal:a}){return new Promise((i,c)=>{(async()=>{let f;try{const m=new AbortController;n>0&&(f=setTimeout(()=>{a?m.abort():c(r)},n)),i(await t({signal:m?.signal}))}catch(m){m.name==="AbortError"&&c(r),c(m)}finally{clearTimeout(f)}})()})}return tp.withTimeout=e,tp}var UM;function vS(){return UM||(UM=1,(function(e){Object.defineProperty(e,"__esMo
18749dule",{value:!0}),e.rpc=e.getSocket=e.socketsCache=void 0;const t=tre,r=Uo(),n=fS(),a=rre(),i=ya();let c=0;async function f(o,{body:u,fetchOptions:p={},timeout:g=1e4}){const{headers:y,method:b,signal:x}=p;try{const w=await(0,a.withTimeout)(async({signal:j})=>await fetch(o,{...p,body:Array.isArray(u)?(0,i.stringify)(u.map(F=>({jsonrpc:"2.0",id:F.id??c++,...F}))):(0,i.stringify)({jsonrpc:"2.0",id:u.id??c++,...u}),headers:{...y,"Content-Type":"application/json"},method:b||"POST",signal:x||(g>0?j:void 0)}),{errorInstance:new r.TimeoutError({body:u,url:o}),timeout:g,signal:!0});let E;if(w.headers.get("Content-Type")?.startsWith("application/json")?E=await w.json():E=await w.text(),!w.ok)throw new r.HttpRequestError({body:u,details:(0,i.stringify)(E.error)||w.statusText,headers:w.headers,status:w.status,url:o});return E}catch(w){throw w instanceof r.HttpRequestError||w instanceof r.TimeoutError?w:new r.HttpRequestError({body:u,details:w.message,url:o})}}e.socketsCache=new Map;async function m(o){let u=e.socketsCache.get(o);if(u)return u;const{schedule:p}=(0,n.createBatchScheduler)({id:o,fn:async()=>{const b=new t.WebSocket(o),x=new Map,w=new Map,E=({data:T})=>{const F=JSON.parse(T),z=F.method==="eth_subscription",K=z?F.params.subscription:F.id,U=z?w:x,H=U.get(K);H&&H({data:T}),z||U.delete(K)},j=()=>{e.socketsCache.delete(o),b.removeEventListener("close",j),b.removeEventListener("message",E)};return b.addEventListener("close",j),b.addEventListener("message",E),b.readyState===t.WebSocket.CONNECTING&&await new Promise((T,F)=>{b&&(b.onopen=T,b.onerror=F)}),u=Object.assign(b,{requests:x,subscriptions:w}),e.socketsCache.set(o,u),[u]}}),[g,[y]]=await p();return y}e.getSocket=m;function h(o,{body:u,onResponse:p}){if(o.readyState===o.CLOSED||o.readyState===o.CLOSING)throw new r.WebSocketRequestError({body:u,url:o.url,details:"Socket is closed."});const g=c++,y=({data:b})=>{const x=JSON.parse(b);typeof x.id=="number"&&g!==x.id||(p?.(x),u.method==="eth_subscribe"&&typeof x.result=="string"&&o.subscriptions.set(x.result,y),u.method==="eth_unsubscribe"&&o.subscriptions.delete(u.params?.[0]))};return o.requests.set(g,y),o.send(JSON.stringify({jsonrpc:"2.0",...u,id:g})),o}async function l(o,{body:u,timeout:p=1e4}){return(0,a.withTimeout)(()=>new Promise(g=>e.rpc.webSocket(o,{body:u,onResponse:g})),{errorInstance:new r.TimeoutError({body:u,url:o.url}),timeout:p})}e.rpc={http:f,webSocket:h,webSocketAsync:l}})(yx)),yx}var qM;function nre(){if(qM)return $h;qM=1,Object.defineProperty($h,"__esModule",{value:!0}),$h.http=void 0;const e=Uo(),t=bS(),r=fS(),n=vS(),a=Oy();function i(c,f={}){const{batch:m,fetchOptions:h,key:l="http",name:o="HTTP JSON-RPC",retryDelay:u}=f;return({chain:p,retryCount:g,timeout:y})=>{const{batchSize:b=1e3,wait:x=0}=typeof m=="object"?m:{},w=f.retryCount??g,E=y??f.timeout??1e4,j=c||p?.rpcUrls.default.http[0];if(!j)throw new t.UrlRequiredError;return(0,a.createTransport)({key:l,name:o,async request({method:T,params:F}){const z={method:T,params:F},{schedule:K}=(0,r.createBatchScheduler)({id:`${c}`,wait:x,shouldSplitBatch(Z){return Z.length>b},fn:Z=>n.rpc.http(j,{body:Z,fetchOptions:h,timeout:E}),sort:(Z,R)=>Z.id-R.id}),U=async Z=>m?K(Z):[await n.rpc.http(j,{body:Z,fetchOptions:h,timeout:E})],[{error:H,result:V}]=await U(z);if(H)throw new e.RpcRequestError({body:z,error:H,url:j});return V},retryCount:w,retryDelay:u,timeout:E,type:"http"},{fetchOptions:h,url:c})}}return $h.http=i,$h}var rp={},np={},ap={},ip={},LM;function wS(){if(LM)return ip;LM=1,Object.defineProperty(ip,"__esModule",{value:!0}),ip.isNullUniversalResolverError=void 0;const e=sS(),t=fr(),r=xu();function n(a,i){if(!(a instanceof t.BaseError))return!1;const c=a.walk(f=>f instanceof r.ContractFunctionRevertedError);return c instanceof r.ContractFunctionRevertedError?!!(c.data?.errorName==="ResolverNotFound"||c.data?.errorName==="ResolverWildcardNotSupported"||c.reason?.includes("Wildcard on non-extended resolvers is not supported")||i==="reverse"&&c.reason===e.panicReasons[50]):!1}return ip.isNullUniversalResolverError=n,ip}var sp={},op={},DM;function nV(){if(DM)return op;DM=1,Object.defineProperty(op,"__esModule",{value:!0}),op.encodedLabelToLabelhash=void 0;const e=Vn();function t(r){if(r.length!==66||r.indexOf("[")!==0||r.indexOf("]")!==6
187495)return null;const n=`0x${r.slice(1,65)}`;return(0,e.isHex)(n)?n:null}return op.encodedLabelToLabelhash=t,op}var zM;function _S(){if(zM)return sp;zM=1,Object.defineProperty(sp,"__esModule",{value:!0}),sp.namehash=void 0;const e=La(),t=hn(),r=ht(),n=qa(),a=nV();function i(c){let f=new Uint8Array(32).fill(0);if(!c)return(0,r.bytesToHex)(f);const m=c.split(".");for(let h=m.length-1;h>=0;h-=1){const l=(0,a.encodedLabelToLabelhash)(m[h]),o=l?(0,t.toBytes)(l):(0,n.keccak256)((0,t.stringToBytes)(m[h]),"bytes");f=(0,n.keccak256)((0,e.concat)([f,o]),"bytes")}return(0,r.bytesToHex)(f)}return sp.namehash=i,sp}var cp={},up={},VM;function are(){if(VM)return up;VM=1,Object.defineProperty(up,"__esModule",{value:!0}),up.encodeLabelhash=void 0;function e(t){return`[${t.slice(2)}]`}return up.encodeLabelhash=e,up}var lp={},HM;function aV(){if(HM)return lp;HM=1,Object.defineProperty(lp,"__esModule",{value:!0}),lp.labelhash=void 0;const e=hn(),t=ht(),r=qa(),n=nV();function a(i){const c=new Uint8Array(32).fill(0);return i?(0,n.encodedLabelToLabelhash)(i)||(0,r.keccak256)((0,e.stringToBytes)(i)):(0,t.bytesToHex)(c)}return lp.labelhash=a,lp}var WM;function Iw(){if(WM)return cp;WM=1,Object.defineProperty(cp,"__esModule",{value:!0}),cp.packetToBytes=void 0;const e=hn(),t=are(),r=aV();function n(a){const i=a.replace(/^\.|\.$/gm,"");if(i.length===0)return new Uint8Array(1);const c=new Uint8Array((0,e.stringToBytes)(i).byteLength+2);let f=0;const m=i.split(".");for(let h=0;h<m.length;h++){let l=(0,e.stringToBytes)(m[h]);l.byteLength>255&&(l=(0,e.stringToBytes)((0,t.encodeLabelhash)((0,r.labelhash)(m[h])))),c[f]=l.length,c.set(l,f+1),f+=l.length+1}return c.byteLength!==f+1?c.slice(0,f+1):c}return cp.packetToBytes=n,cp}var GM;function ire(){if(GM)return ap;GM=1,Object.defineProperty(ap,"__esModule",{value:!0}),ap.getEnsAddress=void 0;const e=Su(),t=qo(),r=Zi(),n=Lo(),a=Bo(),i=ht(),c=wS(),f=_S(),m=Iw(),h=kr(),l=Do();async function o(u,{blockNumber:p,blockTag:g,coinType:y,name:b,universalResolverAddress:x}){let w=x;if(!w){if(!u.chain)throw new Error("client chain not configured. universalResolverAddress is required.");w=(0,n.getChainContractAddress)({blockNumber:p,chain:u.chain,contract:"ensUniversalResolver"})}try{const E=(0,r.encodeFunctionData)({abi:e.addressResolverAbi,functionName:"addr",...y!=null?{args:[(0,f.namehash)(b),BigInt(y)]}:{args:[(0,f.namehash)(b)]}}),j=await(0,h.getAction)(u,l.readContract,"readContract")({address:w,abi:e.universalResolverResolveAbi,functionName:"resolve",args:[(0,i.toHex)((0,m.packetToBytes)(b)),E],blockNumber:p,blockTag:g});if(j[0]==="0x")return null;const T=(0,t.decodeFunctionResult)({abi:e.addressResolverAbi,args:y!=null?[(0,f.namehash)(b),BigInt(y)]:void 0,functionName:"addr",data:j[0]});return T==="0x"||(0,a.trim)(T)==="0x00"?null:T}catch(E){if((0,c.isNullUniversalResolverError)(E,"resolve"))return null;throw E}}return ap.getEnsAddress=o,ap}var dp={},fp={},ln={},mi={},KM;function iV(){if(KM)return mi;KM=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.EnsAvatarUnsupportedNamespaceError=mi.EnsAvatarUriResolutionError=mi.EnsAvatarInvalidNftUriError=mi.EnsAvatarInvalidMetadataError=void 0;const e=fr();class t extends e.BaseError{constructor({data:c}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(c)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidMetadataError"})}}mi.EnsAvatarInvalidMetadataError=t;class r extends e.BaseError{constructor({reason:c}){super(`ENS NFT avatar URI is invalid. ${c}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidNftUriError"})}}mi.EnsAvatarInvalidNftUriError=r;class n extends e.BaseError{constructor({uri:c}){super(`Unable to resolve ENS avatar URI "${c}". The URI may be malformed, invalid, or does not respond with a valid image.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUriResolutionError"})}}mi.EnsAvatarUriResolutionError=n;class a extends e.BaseError{constructor({namespace:c}){super(`ENS NFT avatar namespace "${c}" is not supported. Must be "erc721" or "erc1155".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUnsupportedNamespaceError"})}}return mi.EnsAvatarUnsupportedNamespaceError=a,mi}var YM;function sre(){if(YM)return ln;YM=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.getNftTokenUri=ln.parseNftUri=ln.parseAvatarUri=ln.getMetadataAvatarUri=ln.getJsonImage=ln.resolveAvatarUri=ln.getGateway=ln.isImageUri=void 0;const e=Do(),t=iV(),r=/(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,n=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,a=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,i=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function c(g){try{const y=await fetch(g,{method:"HEAD"});return y.status===200?y.headers.get("content-type")?.startsWith("image/"):!1}catch(y){return typeof y=="object"&&typeof y.response<"u"||!globalThis.hasOwnProperty("Image")?!1:new Promise(b=>{const x=new Image;x.onload=()=>{b(!0)},x.onerror=()=>{b(!1)},x.src=g})}}ln.isImageUri=c;function f(g,y){return g?g.endsWith("/")?g.slice(0,-1):g:y}ln.getGateway=f;function m({uri:g,gatewayUrls:y}){const b=a.test(g);if(b)return{uri:g,isOnChain:!0,isEncoded:b};const x=f(y?.ipfs,"https://ipfs.io"),w=f(y?.arweave,"https://arweave.net"),E=g.match(r),{protocol:j,subpath:T,target:F,subtarget:z=""}=E?.groups||{},K=j==="ipns:/"||T==="ipns/",U=j==="ipfs:/"||T==="ipfs/"||n.test(g);if(g.startsWith("http")&&!K&&!U){let V=g;return y?.arweave&&(V=g.replace(/https:\/\/arweave.net/g,y?.arweave)),{uri:V,isOnChain:!1,isEncoded:!1}}if((K||U)&&F)return{uri:`${x}/${K?"ipns":"ipfs"}/${F}${z}`,isOnChain:!1,isEncoded:!1};if(j==="ar:/"&&F)return{uri:`${w}/${F}${z||""}`,isOnChain:!1,isEncoded:!1};let H=g.replace(i,"");if(H.startsWith("<svg")&&(H=`data:image/svg+xml;base64,${btoa(H)}`),H.startsWith("data:")||H.startsWith("{"))return{uri:H,isOnChain:!0,isEncoded:!1};throw new t.EnsAvatarUriResolutionError({uri:g})}ln.resolveAvatarUri=m;function h(g){if(typeof g!="object"||!("image"in g)&&!("image_url"in g)&&!("image_data"in g))throw new t.EnsAvatarInvalidMetadataError({data:g});return g.image||g.image_url||g.image_data}ln.getJsonImage=h;async function l({gatewayUrls:g,uri:y}){try{const b=await fetch(y).then(w=>
18749w.json());return await o({gatewayUrls:g,uri:h(b)})}catch{throw new t.EnsAvatarUriResolutionError({uri:y})}}ln.getMetadataAvatarUri=l;async function o({gatewayUrls:g,uri:y}){const{uri:b,isOnChain:x}=m({uri:y,gatewayUrls:g});if(x||await c(b))return b;throw new t.EnsAvatarUriResolutionError({uri:y})}ln.parseAvatarUri=o;function u(g){let y=g;y.startsWith("did:nft:")&&(y=y.replace("did:nft:","").replace(/_/g,"/"));const[b,x,w]=y.split("/"),[E,j]=b.split(":"),[T,F]=x.split(":");if(!E||E.toLowerCase()!=="eip155")throw new t.EnsAvatarInvalidNftUriError({reason:"Only EIP-155 supported"});if(!j)throw new t.EnsAvatarInvalidNftUriError({reason:"Chain ID not found"});if(!F)throw new t.EnsAvatarInvalidNftUriError({reason:"Contract address not found"});if(!w)throw new t.EnsAvatarInvalidNftUriError({reason:"Token ID not found"});if(!T)throw new t.EnsAvatarInvalidNftUriError({reason:"ERC namespace not found"});return{chainID:parseInt(j),namespace:T.toLowerCase(),contractAddress:F,tokenID:w}}ln.parseNftUri=u;async function p(g,{nft:y}){if(y.namespace==="erc721")return(0,e.readContract)(g,{address:y.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(y.tokenID)]});if(y.namespace==="erc1155")return(0,e.readContract)(g,{address:y.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(y.tokenID)]});throw new t.EnsAvatarUnsupportedNamespaceError({namespace:y.namespace})}return ln.getNftTokenUri=p,ln}var ZM;function ore(){if(ZM)return fp;ZM=1,Object.defineProperty(fp,"__esModule",{value:!0}),fp.parseAvatarRecord=void 0;const e=sre();async function t(n,{gatewayUrls:a,record:i}){return/eip155:/i.test(i)?r(n,{gatewayUrls:a,record:i}):(0,e.parseAvatarUri)({uri:i,gatewayUrls:a})}fp.parseAvatarRecord=t;async function r(n,{gatewayUrls:a,record:i}){const c=(0,e.parseNftUri)(i),f=await(0,e.getNftTokenUri)(n,{nft:c}),{uri:m,isOnChain:h,isEncoded:l}=(0,e.resolveAvatarUri)({uri:f,gatewayUrls:a});if(h&&(m.includes("data:application/json;base64,")||m.startsWith("{"))){const u=l?atob(m.replace("data:application/json;base64,","")):m,p=JSON.parse(u);return(0,e.parseAvatarUri)({uri:(0,e.getJsonImage)(p),gatewayUrls:a})}let o=c.tokenID;return c.namespace==="erc1155"&&(o=o.replace("0x","").padStart(64,"0")),(0,e.getMetadataAvatarUri)({gatewayUrls:a,uri:m.replace(/(?:0x)?{id}/,o)})}return fp}var hp={},JM;function sV(){if(JM)return hp;JM=1,Object.defineProperty(hp,"__esModule",{value:!0}),hp.getEnsText=void 0;const e=Su(),t=qo(),r=Zi(),n=Lo(),a=ht(),i=wS(),c=_S(),f=Iw(),m=kr(),h=Do();async function l(o,{blockNumber:u,blockTag:p,name:g,key:y,universalResolverAddress:b}){let x=b;if(!x){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");x=(0,n.getChainContractAddress)({blockNumber:u,chain:o.chain,contract:"ensUniversalResolver"})}try{const w=await(0,m.getAction)(o,h.readContract,"readContract")({address:x,abi:e.universalResolverResolveAbi,functionName:"resolve",args:[(0,a.toHex)((0,f.packetToBytes)(g)),(0,r.encodeFunctionData)({abi:e.textResolverAbi,functionName:"text",args:[(0,c.namehash)(g),y]})],blockNumber:u,blockTag:p});if(w[0]==="0x")return null;const E=(0,t.decodeFunctionResult)({abi:e.textResolverAbi,functionName:"text",data:w[0]});return E===""?null:E}catch(w){if((0,i.isNullUniversalResolverError)(w,"resolve"))return null;throw w}}return hp.getEnsText=l,hp}var QM;function cre(){if(QM)return dp;QM=1,Object.defineProperty(dp,"__esModule",{value:!0}),dp.getEnsAvatar=void 0;const e=ore(),t=kr(),r=sV();async function n(a,{blockNumber:i,blockTag:c,gatewayUrls:f,name:m,universalResolverAddress:h}){const l=await(0,t.getAction)(a,r.getEnsText,"getEnsText")({blockNumber:i,blockTag:c,key:"avatar",name:m,universalResolverAddress:h});if(!l)return null;try{return await(0,e.parseAvatarRecord)(a,{record:l,gatewayUrls:f})}catch{return null}}return dp.getEnsAvatar=n,dp}var pp={},XM;function ure(){if(XM)return pp;XM=1,Object.defineProperty(pp,"__esModule",{value:!0}),pp.getEnsName=void 0;const e=Su(),t=Lo(),r=ht(),n=wS(),a=Iw(),i=kr(),c=Do();async function f(m,{address:h,blockNumber:l,blockTag:o,universalResolverAddress:u}){let p=u;if(!p){if(!m.chain)throw new Error("client chain not configured. universalResolverAddress is required.");p=(0,t.getChainContractAddress)({blockNumber:l,chain:m.chain,contract:"ensUniversalResolver"})}const g=`${h.toLowerCase().substring(2)}.addr.reverse`;try{const[y,b]=await(0,i.getAction)(m,c.readContract,"readContract")({address:p,abi:e.universalResolverReverseAbi,functionName:"reverse",args:[(0,r.toHex)((0,a.packetToBytes)(g))],blockNumber:l,blockTag:o});return h.toLowerCase()!==b.toLowerCase()?null:y}catch(y){if((0,n.isNullUniversalResolverError)(y,"reverse"))return null;throw y}}return pp.getEnsName=f,pp}var mp={},$M;function lre(){if($M)return mp;$M=1,Object.defineProperty(mp,"__esModule",{value:!0}),mp.getEnsResolver=void 0;const e=Lo(),t=ht(),r=Iw(),n=kr(),a=Do();async function i(c,{blockNumber:f,blockTag:m,name:h,universalResolverAddress:l}){let o=l;if(!o){if(!c.chain)throw new Error("client chain not configured. universalResolverAddress is required.");o=(0,e.getChainContractAddress)({blockNumber:f,chain:c.chain,contract:"ensUniversalResolver"})}const[u]=await(0,n.getAction)(c,a.readContract,"readContract")({address:o,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[(0,t.toHex)((0,r.packetToBytes)(h))],blockNumber:f,blockTag:m});return u}return mp.getEnsResolver=i,mp}var gp={},eF;function dre(){if(eF)return gp;eF=1,Object.defineProperty(gp,"__esModule",{value:!0}),gp.createBlockFilter=void 0;const e=xw();async function t(r){const n=(0,e.createFilterRequestScope)(r,{method:"eth_newBlockFilter"}),a=await r.request({method:"eth_newBlockFilter"});return{id:a,request:n(a),type:"block"}}return gp.createBlockFilter=t,gp}var yp={},tF;function oV(){if(tF)return yp;tF=1,Object.defineProperty(yp,"__esModule",{value:!0}),yp.createEventFilter=void 0;const e=td(),t=ht(),r=xw();async function n(a,{address:i,args:c,event:f,events:m,fromBlock:h,strict:l,toBlock:o}={}){const u=m??(f?[f]:void 0),p=(0,r.createFilterRequestScope)(a,{method:"eth_newFilter"});let g=[];u&&(g=[u.flatMap(b=>(0,e.encodeEventTopics)({abi:[b],eventName:b.name,args:c}))],f&&(g=g[0]));const y=await a.request({method:"eth_newFilter",params:[{address:i,fromBlock:typeof h=="bigint"?(0,t.numberToHex)(h):h,toBlock:typeof o=="bigint"?(0,t.numberToHex)(o):o,...g.length?{topics:g}:{}}]});return{abi:u,args:c,eventName:f?f.name:void 0,fromBlock:h,id:y,request:p(y),strict:l,toBlock:o,type:"event"}}return yp.createEventFilter=n,yp}var bp={},rF;function cV(){if(rF)return bp;rF=1,Object.defineProperty(bp,"__esModule",{value:!0}),bp.createPendingTransactionFilter=void 0;const e=xw();async function t(r){const n=(0,e.createFilterRequestScope)(r,{method:"eth_newPendingTransactionFilter"}),a=await r.request({method:"eth_newPendingTransactionFilter"});return{id:a,request:n(a),type:"transaction"}}return bp.createPendingTransactionFilter=t,bp}var vp={},nF;function fre(){if(nF)return vp;nF=1,Object.defineProperty(vp,"__esModule",{value:!0}),vp.getBalance=void 0;const e=ht();async function t(r,{address:n,blockNumber:a,blockTag:i="latest"}){const c=a?(0,e.numberToHex)(a):void 0,f=await r.request({method:"eth_getBalance",params:[n,c||i]});return BigInt(f)}return vp.getBalance=t,vp}var wp={},aF;function hre(){if(aF)return wp;aF=1,Object.defineProperty(wp,"__esModule",{value:!0}),wp.getBlockTransactionCount=void 0;const e=pn(),t=ht();async function r(n,{blockHash:a,blockNumber:i,blockTag:c="latest"}={}){const f=i!==void 0?(0,t.numberToHex)(i):void 0;let m;return a?m=await n.request({method:"eth_getBlockTransactionCountByHash",params:[a]}):m=await n.request({method:"eth_getBlockTransactionCountByNumber",params:[f||c]}),(0,e.hexToNumber)(m)}return wp.getBlockTransactionCount=r,wp}var _p={},iF;function pre(){if(iF)return _p;iF=1,Object.defineProperty(_p,"__esModule",{value:!0}),_p.getBytecode=void 0;const e=ht();async function t(r,{address:n,blockNumber:a,blockTag:i="latest"}){const c=a!==void 0?(0,e.numberToHex)(a):void 0,f=await r.request({method:"eth_getCode",params:[n,c||i]});if(f!=="0x")return f}return _p.getBytecode=t,_p}var xp={},Ep={},sF;function mre(){if(sF)return Ep;sF=1,Object.defineProperty(Ep,"__esModule",{value:!0}),Ep.formatFeeHistory=void 0;function e(t){return{baseFeePerGas:t.baseFeePerGas.map(r=>BigInt(r)),gasUsedRatio:t.gasUsedRatio,oldestBlock:BigInt(t.oldestBlock),reward:t.reward?.map(r=>r.map(n=>BigInt(n)))}}return Ep.formatFeeHistory=e,Ep}var oF;function gre(){if(oF)return xp;oF=1,Object.defineProperty(xp,"__esModule",{value:!0}),xp.getFeeHistory=void 0;const e=ht(),t=mre();async function r(n,{blockCount:a,blockNumber:i,blockTag:c="latest",rewardPercentiles:f}){const m=i?(0,e.numberToHex)(i):void 0,h=await n.request({method:"eth_feeHistory",params:[(0,e.numberToHex)(a),m||c,f]});return(0,t.formatFeeHistory)(h)}return xp.getFeeHistory=r,xp}var jp={},cF;function yre(){if(cF)return jp;cF=1,Object.defineProperty(jp,"__esModule",{value:!0}),jp.getFilterLogs=void 0;const e=Tr(),t=sd(),r=Pu();async function n(a,{filter:i}){const c=i.strict??!1;return(await i.request({method:"eth_getFilterLogs",params:[i.id]})).map(m=>{try{const{eventName:h,args:l}="abi"in i&&i.abi?(0,t.decodeEventLog)({abi:i.abi,data:m.data,topics:m.topics,strict:c}):{eventName:void 0,args:void 0};return(0,r.formatLog)(m,{args:l,eventName:h})}catch(h){let l,o;if(h instanceof e.DecodeLogDataMismatch||h instanceof e.DecodeLogTopicsMismatch){if
18749("strict"in i&&i.strict)return;l=h.abiItem.name,o=h.abiItem.inputs?.some(u=>!("name"in u&&u.name))}return(0,r.formatLog)(m,{args:o?[]:{},eventName:l})}}).filter(Boolean)}return jp.getFilterLogs=n,jp}var Ap={},Pp={},bx={},Sp={},uF;function uV(){if(uF)return Sp;uF=1,Object.defineProperty(Sp,"__esModule",{value:!0}),Sp.defineChain=void 0;function e(t,r={}){const{fees:n=t.fees,formatters:a=t.formatters,serializers:i=t.serializers}=r;return{...t,fees:n,formatters:a,serializers:i}}return Sp.defineChain=e,Sp}var kp={},lF;function lV(){if(lF)return kp;lF=1,Object.defineProperty(kp,"__esModule",{value:!0}),kp.extractChain=void 0;function e({chains:t,id:r}){return t.find(n=>n.id===r)}return kp.extractChain=e,kp}var Ss={},dF;function xS(){return dF||(dF=1,Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.integerRegex=Ss.bytesRegex=Ss.arrayRegex=void 0,Ss.arrayRegex=/^(.*)\[([0-9]*)\]$/,Ss.bytesRegex=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Ss.integerRegex=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/),Ss}var ks={},kc={},fF;function cd(){if(fF)return kc;fF=1,Object.defineProperty(kc,"__esModule",{value:!0}),kc.hashDomain=kc.hashTypedData=void 0;const e=Yi(),t=La(),r=ht(),n=qa(),a=Nw();function i({domain:p,message:g,primaryType:y,types:b}){const x=typeof p>"u"?{}:p,w={EIP712Domain:(0,a.getTypesForEIP712Domain)({domain:x}),...b};(0,a.validateTypedData)({domain:x,message:g,primaryType:y,types:w});const E=["0x1901"];return x&&E.push(c({domain:x,types:w})),y!=="EIP712Domain"&&E.push(f({data:g,primaryType:y,types:w})),(0,n.keccak256)((0,t.concat)(E))}kc.hashTypedData=i;function c({domain:p,types:g}){return f({data:p,primaryType:"EIP712Domain",types:g})}kc.hashDomain=c;function f({data:p,primaryType:g,types:y}){const b=m({data:p,primaryType:g,types:y});return(0,n.keccak256)(b)}function m({data:p,primaryType:g,types:y}){const b=[{type:"bytes32"}],x=[h({primaryType:g,types:y})];for(const w of y[g]){const[E,j]=u({types:y,name:w.name,type:w.type,value:p[w.name]});b.push(E),x.push(j)}return(0,e.encodeAbiParameters)(b,x)}function h({primaryType:p,types:g}){const y=(0,r.toHex)(l({primaryType:p,types:g}));return(0,n.keccak256)(y)}function l({primaryType:p,types:g}){let y="";const b=o({primaryType:p,types:g});b.delete(p);const x=[p,...Array.from(b).sort()];for(const w of x)y+=`${w}(${g[w].map(({name:E,type:j})=>`${j} ${E}`).join(",")})`;return y}function o({primaryType:p,types:g},y=new Set){const x=p.match(/^\w*/u)?.[0];if(y.has(x)||g[x]===void 0)return y;y.add(x);for(const w of g[x])o({primaryType:w.type,types:g},y);return y}function u({types:p,name:g,type:y,value:b}){if(p[y]!==void 0)return[{type:"bytes32"},(0,n.keccak256)(m({data:b,primaryType:y,types:p}))];if(y==="bytes")return b=`0x${(b.length%2?"0":"")+b.slice(2)}`,[{type:"bytes32"},(0,n.keccak256)(b)];if(y==="string")return[{type:"bytes32"},(0,n.keccak256)((0,r.toHex)(b))];if(y.lastIndexOf("]")===y.length-1){const x=y.slice(0,y.lastIndexOf("[")),w=b.map(E=>u({name:g,type:x,types:p,value:E}));return[{type:"bytes32"},(0,n.keccak256)((0,e.encodeAbiParameters)(w.map(([E])=>E),w.map(([,E])=>E)))]}return[{type:y},b]}return kc}var hF;function Nw(){if(hF)return ks;hF=1,Object.defineProperty(ks,"__esModule",{value:!0}),ks.domainSeparator=ks.getTypesForEIP712Domain=ks.validateTypedData=void 0;const e=Tr(),t=ji(),r=Ua(),n=Vs(),a=ht(),i=xS(),c=cd();function f({domain:l,message:o,primaryType:u,types:p}){const g=p,y=(b,x)=>{for(const w of b){const{name:E,type:j}=w,T=j,F=x[E],z=T.match(i.integerRegex);if(z&&(typeof F=="number"||typeof F=="bigint")){const[H,V,Z]=z;(0,a.numberToHex)(F,{signed:V==="int",size:parseInt(Z)/8})}if(T==="address"&&typeof F=="string"&&!(0,r.isAddress)(F))throw new t.InvalidAddressError({address:F});const K=T.match(i.bytesRegex);if(K){const[H,V]=K;if(V&&(0,n.size)(F)!==parseInt(V))throw new e.BytesSizeMismatchError({expectedSize:parseInt(V),givenSize:(0,n.size)(F)})}const U=g[T];U&&y(U,F)}};if(g.EIP712Domain&&l&&y(g.EIP712Domain,l),u!=="EIP712Domain"){const b=g[u];y(b,o)}}ks.validateTypedData=f;function m({domain:l}){return[typeof l?.name=="string"&&{name:"name",type:"string"},l?.version&&{name:"version",type:"string"},typeof l?.chainId=="number"&&{name:"chainId",type:"uint256"},l?.verifyingContract&&{name:"verifyingContract",type:"address"},l?.salt&&{name:"salt",type:"bytes32"}
18749].filter(Boolean)}ks.getTypesForEIP712Domain=m;function h({domain:l}){return(0,c.hashDomain)({domain:l,types:{EIP712Domain:m({domain:l})}})}return ks.domainSeparator=h,ks}var Tp={},pF;function dV(){if(pF)return Tp;pF=1,Object.defineProperty(Tp,"__esModule",{value:!0}),Tp.decodeFunctionData=void 0;const e=Tr(),t=Gs(),r=wu(),n=_u(),a=Ws();function i({abi:c,data:f}){const m=(0,t.slice)(f,0,4),h=c.find(l=>l.type==="function"&&m===(0,r.getFunctionSelector)((0,a.formatAbiItem)(l)));if(!h)throw new e.AbiFunctionSignatureNotFoundError(m,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:h.name,args:"inputs"in h&&h.inputs&&h.inputs.length>0?(0,n.decodeAbiParameters)(h.inputs,(0,t.slice)(f,4)):void 0}}return Tp.decodeFunctionData=i,Tp}var Rp={},mF;function ES(){if(mF)return Rp;mF=1,Object.defineProperty(Rp,"__esModule",{value:!0}),Rp.encodeDeployData=void 0;const e=Tr(),t=La(),r=Yi(),n="/docs/contract/encodeDeployData";function a({abi:i,args:c,bytecode:f}){if(!c||c.length===0)return f;const m=i.find(l=>"type"in l&&l.type==="constructor");if(!m)throw new e.AbiConstructorNotFoundError({docsPath:n});if(!("inputs"in m))throw new e.AbiConstructorParamsNotFoundError({docsPath:n});if(!m.inputs||m.inputs.length===0)throw new e.AbiConstructorParamsNotFoundError({docsPath:n});const h=(0,r.encodeAbiParameters)(m.inputs,c);return(0,t.concatHex)([f,h])}return Rp.encodeDeployData=a,Rp}var Op={},gF;function fV(){if(gF)return Op;gF=1,Object.defineProperty(Op,"__esModule",{value:!0}),Op.encodeErrorResult=void 0;const e=Tr(),t=La(),r=wu(),n=Yi(),a=Ws(),i=Ks(),c="/docs/contract/encodeErrorResult";function f({abi:m,errorName:h,args:l}){let o=m[0];if(h&&(o=(0,i.getAbiItem)({abi:m,args:l,name:h}),!o))throw new e.AbiErrorNotFoundError(h,{docsPath:c});if(o.type!=="error")throw new e.AbiErrorNotFoundError(void 0,{docsPath:c});const u=(0,a.formatAbiItem)(o),p=(0,r.getFunctionSelector)(u);let g="0x";if(l&&l.length>0){if(!o.inputs)throw new e.AbiErrorInputsNotFoundError(o.name,{docsPath:c});g=(0,n.encodeAbiParameters)(o.inputs,l)}return(0,t.concatHex)([p,g])}return Op.encodeErrorResult=f,Op}var Cp={},yF;function hV(){if(yF)return Cp;yF=1,Object.defineProperty(Cp,"__esModule",{value:!0}),Cp.encodeFunctionResult=void 0;const e=Tr(),t=Yi(),r=Ks(),n="/docs/contract/encodeFunctionResult";function a({abi:i,functionName:c,result:f}){let m=i[0];if(c&&(m=(0,r.getAbiItem)({abi:i,name:c}),!m))throw new e.AbiFunctionNotFoundError(c,{docsPath:"/docs/contract/encodeFunctionResult"});if(m.type!=="function")throw new e.AbiFunctionNotFoundError(void 0,{docsPath:"/docs/contract/encodeFunctionResult"});if(!m.outputs)throw new e.AbiFunctionOutputsNotFoundError(m.name,{docsPath:n});let h=Array.isArray(f)?f:[f];return m.outputs.length===0&&!h[0]&&(h=[]),(0,t.encodeAbiParameters)(m.outputs,h)}return Cp.encodeFunctionResult=a,Cp}var Ip={},bF;function pV(){if(bF)return Ip;bF=1,Object.defineProperty(Ip,"__esModule",{value:!0}),Ip.encodePacked=void 0;const e=Tr(),t=ji(),r=Ua(),n=La(),a=Fo(),i=ht(),c=xS();function f(h,l){if(h.length!==l.length)throw new e.AbiEncodingLengthMismatchError({expectedLength:h.length,givenLength:l.length});const o=[];for(let u=0;u<h.length;u++){const p=h[u],g=l[u];o.push(m(p,g))}return(0,n.concatHex)(o)}Ip.encodePacked=f;function m(h,l,o=!1){if(h==="address"){const y=l;if(!(0,r.isAddress)(y))throw new t.InvalidAddressError({address:y});return(0,a.pad)(y.toLowerCase(),{size:o?32:null})}if(h==="string")return(0,i.stringToHex)(l);if(h==="bytes")return l;if(h==="bool")return(0,a.pad)((0,i.boolToHex)(l),{size:o?32:1});const u=h.match(c.integerRegex);if(u){const[y,b,x="256"]=u,w=parseInt(x)/8;return(0,i.numberToHex)(l,{size:o?32:w,signed:b==="int"})}const p=h.match(c.bytesRegex);if(p){const[y,b]=p;if(parseInt(b)!==(l.length-2)/2)throw new e.BytesSizeMismatchError({expectedSize:parseInt(b),givenSize:(l.length-2)/2});return(0,a.pad)(l,{dir:"right",size:o?32:null})}const g=h.match(c.arrayRegex);if(g&&Array.isArray(l)){const[y,b]=g,x=[];for(let w=0;w<l.length;w++)x.push(m(b,l[w],!0));return x.length===0?"0x":(0,n.concatHex)(x)}throw new e.UnsupportedPackedAbiType(h)}return Ip}var Ts={},Np={},vF;function jS(){if(vF)return Np;vF=1,Object.defineProperty(Np,"__esModule",{value:!0}),Np.isBytes=void 0;function e(t){return!t||typeof t!="object"||!("BYTES_PER_ELEMENT"in t)?!1:t.BYTES_PER_ELEMENT===1&&t.constructor.name==="Uint8Array"}return Np.isBytes=e,Np}var wF;function mV(){if(wF)return Ts;wF=1,Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.getCreate2Address=Ts.getCreateAddress=Ts.getContractAddress=void 0;const e=La(),t=jS(),r=Fo(),n=Gs(),a=hn(),i=Uw(),c=qa(),f=Hs();function m(o){return o.opcode==="CREATE2"?l(o):h(o)}Ts.getContractAddress=m;function h(o){const u=(0,a.toBytes)((0,f.getAddress)(o.from));let p=(0,a.toBytes)(o.nonce);return p[0]===0&&(p=new Uint8Array([])),(0,f.getAddress)(`0x${(0,c.keccak256)((0,i.toRlp)([u,p],"bytes")).slice(26)}`)}Ts.getCreateAddress=h;function l(o){const u=(0,a.toBytes)((0,f.getAddress)(o.from)),p=(0,r.pad)((0,t.isBytes)(o.salt)?o.salt:(0,a.toBytes)(o.salt),{size:32}),g="bytecodeHash"in o?(0,t.isBytes)(o.bytecodeHash)?o.bytecodeHash:(0,a.toBytes)(o.bytecodeHash):(0,c.keccak256)(o.bytecode,"bytes");return(0,f.getAddress)((0,n.slice)((0,c.keccak256)((0,e.concat)([(0,a.toBytes)("0xff"),u,p,g])),12))}return Ts.getCreate2Address=l,Ts}var gi={},_F;function bre(){if(_F)return gi;_F=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.extractFunctionType=gi.extractFunctionParams=gi.extractFunctionName=gi.extractFunctionParts=void 0;const e=/((function|event)\s)?(.*)(\((.*)\))/;function t(i){const c=i.match(e),f=c?.[2]||void 0,m=c?.[3],h=c?.[5]||void 0;return{type:f,name:m,params:h}}gi.extractFunctionParts=t;function r(i){return t(i).name}gi.extractFunctionName=r;function n(i){return t(i).params?.split(",").map(m=>m.trim().split(" "))?.map(m=>({type:m[0],name:m[1]==="indexed"?m[2]:m[1],...m[1]==="indexed"?{indexed:!0}:{}}))}gi.extractFunctionParams=n;function a(i){return t(i).type}return gi.extractFunctionType=a,gi}var Tc={},xF;function AS(){if(xF)return Tc;xF=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.defineTransactionReceipt=Tc.formatTransactionReceipt=void 0;
18749const e=pn(),t=Ey(),r=Pu(),n=jy(),a={"0x0":"reverted","0x1":"success"};function i(c){return{...c,blockNumber:c.blockNumber?BigInt(c.blockNumber):null,contractAddress:c.contractAddress?c.contractAddress:null,cumulativeGasUsed:c.cumulativeGasUsed?BigInt(c.cumulativeGasUsed):null,effectiveGasPrice:c.effectiveGasPrice?BigInt(c.effectiveGasPrice):null,gasUsed:c.gasUsed?BigInt(c.gasUsed):null,logs:c.logs?c.logs.map(f=>(0,r.formatLog)(f)):null,to:c.to?c.to:null,transactionIndex:c.transactionIndex?(0,e.hexToNumber)(c.transactionIndex):null,status:c.status?a[c.status]:null,type:c.type?n.transactionType[c.type]||c.type:null}}return Tc.formatTransactionReceipt=i,Tc.defineTransactionReceipt=(0,t.defineFormatter)("transactionReceipt",i),Tc}var Ca={},EF;function gV(){if(EF)return Ca;EF=1,Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.bytesToString=Ca.bytesToNumber=Ca.bytesToBool=Ca.bytesToBigInt=Ca.fromBytes=void 0;const e=by(),t=Bo(),r=pn(),n=ht();function a(h,l){const o=typeof l=="string"?{to:l}:l,u=o.to;return u==="number"?f(h,o):u==="bigint"?i(h,o):u==="boolean"?c(h,o):u==="string"?m(h,o):(0,n.bytesToHex)(h,o)}Ca.fromBytes=a;function i(h,l={}){typeof l.size<"u"&&(0,r.assertSize)(h,{size:l.size});const o=(0,n.bytesToHex)(h,l);return(0,r.hexToBigInt)(o)}Ca.bytesToBigInt=i;function c(h,l={}){let o=h;if(typeof l.size<"u"&&((0,r.assertSize)(o,{size:l.size}),o=(0,t.trim)(o)),o.length>1||o[0]>1)throw new e.InvalidBytesBooleanError(o);return!!o[0]}Ca.bytesToBool=c;function f(h,l={}){typeof l.size<"u"&&(0,r.assertSize)(h,{size:l.size});const o=(0,n.bytesToHex)(h,l);return(0,r.hexToNumber)(o)}Ca.bytesToNumber=f;function m(h,l={}){let o=h;return typeof l.size<"u"&&((0,r.assertSize)(o,{size:l.size}),o=(0,t.trim)(o,{dir:"right"})),new TextDecoder().decode(o)}return Ca.bytesToString=m,Ca}var Rs={},Mp={},Rc={},jF;function vre(){if(jF)return Rc;jF=1,Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.PositionOutOfBoundsError=Rc.NegativeOffsetError=void 0;const e=fr();class t extends e.BaseError{constructor({offset:a}){super(`Offset \`${a}\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NegativeOffsetError"})}}Rc.NegativeOffsetError=t;class r extends e.BaseError{constructor({length:a,position:i}){super(`Position \`${i}\` is out of bounds (\`0 < position < ${a}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PositionOutOfBoundsError"})}}return Rc.PositionOutOfBoundsError=r,Rc}var AF;function yV(){if(AF)return Mp;AF=1,Object.defineProperty(Mp,"__esModule",{value:!0}),Mp.createCursor=void 0;const e=vre(),t={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,assertPosition(n){if(n<0||n>this.bytes.length-1)throw new e.PositionOutOfBoundsError({length:this.bytes.length,position:n})},decrementPosition(n){if(n<0)throw new e.NegativeOffsetError({offset:n});const a=this.position-n;this.assertPosition(a),this.position=a},incrementPosition(n){if(n<0)throw new e.NegativeOffsetError({offset:n});const a=this.position+n;this.assertPosition(a),this.position=a},inspectByte(n){const a=n??this.position;return this.assertPosition(a),this.bytes[a]},inspectBytes(n,a){const i=a??this.position;return this.assertPosition(i+n-1),this.bytes.subarray(i,i+n)},inspectUint8(n){const a=n??this.position;return this.assertPosition(a),this.bytes[a]},inspectUint16(n){const a=n??this.position;return this.assertPosition(a+1),this.dataView.getUint16(a)},inspectUint24(n){const a=n??this.position;return this.assertPosition(a+2),(this.dataView.getUint16(a)<<8)+this.dataView.getUint8(a+2)},inspectUint32(n){const a=n??this.position;return this.assertPosition(a+3),this.dataView.getUint32(a)},pushByte(n){this.assertPosition(this.position),this.bytes[this.position]=n,this.position++},pushBytes(n){this.assertPosition(this.position+n.length-1),this.bytes.set(n,this.position),this.position+=n.length},pushUint8(n){this.assertPosition(this.position),this.bytes[this.position]=n,this.position++},pushUint16(n){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,n),this.position+=2},pushUint24(n){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,n>>8),this.dataView.setUint8(this.position+2,n&255),this.position+=3},pushUint32(n){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,n),this.position+=4},readByte(){const n=this.inspectByte();return this.position++,n},readBytes(n){const a=this.inspectBytes(n);return this.position+=n,a},readUint8(){const n=this.inspectUint8();return this.position+=1,n},readUint16(){const n=this.inspectUint16();return this.position+=2,n},readUint24(){const n=this.inspectUint24();return this.position+=3,n},readUint32(){const n=this.inspectUint32();return this.position+=4,n},setPosition(n){this.assertPosition(n),this.position=n}};function r(n){const a=Object.create(t);return a.bytes=n,a.dataView=new DataView(n.buffer,n.byteOffset,n.byteLength),a}return Mp.createCursor=r,Mp}var PF;function PS(){if(PF)return Rs;PF=1,Object.defineProperty(Rs,"__esModule",{value:!0}),Rs.rlpToHex=Rs.rlpToBytes=Rs.fromRlp=void 0;const e=fr(),t=by(),r=yV(),n=hn(),a=ht();function i(o,u="hex"){const p=(()=>
18749{if(typeof o=="string"){if(o.length>3&&o.length%2!==0)throw new t.InvalidHexValueError(o);return(0,n.hexToBytes)(o)}return o})(),g=(0,r.createCursor)(p);return m(g,u)}Rs.fromRlp=i;function c(o,u="bytes"){return i(o,u)}Rs.rlpToBytes=c;function f(o,u="hex"){return i(o,u)}Rs.rlpToHex=f;function m(o,u="hex"){if(o.bytes.length===0)return u==="hex"?(0,a.bytesToHex)(o.bytes):o.bytes;const p=o.readByte();if(p<128&&o.decrementPosition(1),p<192){const y=h(o,p,128),b=o.readBytes(y);return u==="hex"?(0,a.bytesToHex)(b):b}const g=h(o,p,192);return l(o,g,u)}function h(o,u,p){if(p===128&&u<128)return 1;if(u<=p+55)return u-p;if(u===p+55+1)return o.readUint8();if(u===p+55+2)return o.readUint16();if(u===p+55+3)return o.readUint24();if(u===p+55+4)return o.readUint32();throw new e.BaseError("Invalid RLP prefix")}function l(o,u,p){const g=o.position,y=[];for(;o.position-g<u;)y.push(m(o,p));return y}return Rs}var Fp={},SF;function SS(){if(SF)return Fp;SF=1,Object.defineProperty(Fp,"__esModule",{value:!0}),Fp.isHash=void 0;const e=Vn(),t=Vs();function r(n){return(0,e.isHex)(n)&&(0,t.size)(n)===32}return Fp.isHash=r,Fp}var Bp={},kF;function bV(){if(kF)return Bp;kF=1,Object.defineProperty(Bp,"__esModule",{value:!0}),Bp.sha256=void 0;const e=pw(),t=Vn(),r=hn(),n=ht();function a(i,c){const f=c||"hex",m=(0,e.sha256)((0,t.isHex)(i,{strict:!1})?(0,r.toBytes)(i):i);return f==="bytes"?m:(0,n.toHex)(m)}return Bp.sha256=a,Bp}var Up={},TF;function vV(){if(TF)return Up;TF=1,Object.defineProperty(Up,"__esModule",{value:!0}),Up.ripemd160=void 0;const e=Sz(),t=Vn(),r=hn(),n=ht();function a(i,c){const f=c||"hex",m=(0,e.ripemd160)((0,t.isHex)(i,{strict:!1})?(0,r.toBytes)(i):i);return f==="bytes"?m:(0,n.toHex)(m)}return Up.ripemd160=a,Up}var qp={},Lp={},RF;function kS(){if(RF)return Lp;RF=1,Object.defineProperty(Lp,"__esModule",{value:!0}),Lp.recoverPublicKey=void 0;const e=Vn(),t=pn(),r=ht();async function n({hash:a,signature:i}){const c=(0,e.isHex)(i)?i:(0,r.toHex)(i),f=(0,e.isHex)(a)?a:(0,r.toHex)(a);let m=(0,t.hexToNumber)(`0x${c.slice(130)}`);(m===0||m===1)&&(m+=27);const{secp256k1:h}=await Promise.resolve().then(()=>Ki());return`0x${h.Signature.fromCompact(c.substring(2,130)).addRecoveryBit(m-27).recoverPublicKey(f.substring(2)).toHex(!1)}`}return Lp.recoverPublicKey=n,Lp}var OF;function Mw(){if(OF)return qp;OF=1,Object.defineProperty(qp,"__esModule",{value:!0}),qp.recoverAddress=void 0;const e=Ql(),t=kS();async function r({hash:n,signature:a}){return(0,e.publicKeyToAddress)(await(0,t.recoverPublicKey)({hash:n,signature:a}))}return qp.recoverAddress=r,qp}var Dp={},CF;function TS(){if(CF)return Dp;CF=1,Object.defineProperty(Dp,"__esModule",{value:!0}),Dp.recoverMessageAddress=void 0;const e=gw(),t=Mw();async function r({message:n,signature:a}){return(0,t.recoverAddress)({hash:(0,e.hashMessage)(n),signature:a})}return Dp.recoverMessageAddress=r,Dp}var zp={},IF;function RS(){if(IF)return zp;IF=1,Object.defineProperty(zp,"__esModule",{value:!0}),zp.recoverTypedDataAddress=void 0;const e=cd(),t=Mw();async function r({domain:n,message:a,primaryType:i,signature:c,types:f}){return(0,t.recoverAddress)({hash:(0,e.hashTypedData)({domain:n,message:a,primaryType:i,types:f}),signature:c})}return zp.recoverTypedDataAddress=r,zp}var Vp={},NF;function wV(){if(NF)return Vp;NF=1,Object.defineProperty(Vp,"__esModule",{value:!0}),Vp.verifyMessage=void 0;const e=Hs(),t=Sy(),r=TS();async function n({address:a,message:i,signature:c}){return(0,t.isAddressEqual)((0,e.getAddress)(a),await(0,r.recoverMessageAddress)({message:i,signature:c}))}return Vp.verifyMessage=n,Vp}var Hp={},MF;function _V(){if(MF)return Hp;MF=1,Object.defineProperty(Hp,"__esModule",{value:!0}),Hp.verifyTypedData=void 0;const e=Hs(),t=Sy(),r=RS();async function n({address:a,domain:i,message:c,primaryType:f,signature:m,types:h}){return(0,t.isAddressEqual)((0,e.getAddress)(a),await(0,r.recoverTypedDataAddress)({domain:i,message:c,primaryType:f,signature:m,types:h}))}return Hp.verifyTypedData=n,Hp}var Wp={},FF;function OS(){if(FF)return Wp;FF=1,Object.defineProperty(Wp,"__esModule",{value:!0}),Wp.getSerializedTransactionType=void 0;const e=Da(),t=Gs(),r=pn();function n(a){const i=(0,t.sliceHex)(a,0,1);if(i==="0x02")return"eip1559";if(i==="0x01")return"eip2930";if(i!=="0x"&&(0,r.hexToNumber)(i)>=192)return"legacy";throw new e.InvalidSerializedTransactionTypeError({serializedType:i})}return Wp.getSerializedTransactionType=n,Wp}var Os={},BF;function Fw(){if(BF)return Os;BF=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.assertTransactionLegacy=Os.assertTransactionEIP2930=Os.assertTransactionEIP1559=void 0;const e=ji(),t=fr(),r=Py(),n=Eu(),a=Ua();function i(m){const{chainId:h,maxPriorityFeePerGas:l,gasPrice:o,maxFeePerGas:u,to:p}=m;if(h<=0)throw new r.InvalidChainIdError({chainId:h});if(p&&!(0,a.isAddress)(p))throw new e.InvalidAddressError({address:p});if(o)throw new t.BaseError("`gasPrice` is not a valid EIP-1559 Transaction attribute.");if(u&&u>2n**256n-1n)throw new n.FeeCapTooHighError({maxFeePerGas:u});if(l&&u&&l>u)throw new n.TipAboveFeeCapError({maxFeePerGas:u,maxPriorityFeePerGas:l})}Os.assertTransactionEIP1559=i;function c(m){const{chainId:h,maxPriorityFeePerGas:l,gasPrice:o,maxFeePerGas:u,to:p}=m;if(h<=0)throw new r.InvalidChainIdError({chainId:h});if(p&&!(0,a.isAddress)(p))throw new e.InvalidAddressError({address:p});if(l||u)throw new t.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(o&&o>2n**256n-1n)throw new n.FeeCapTooHighError({maxFeePerGas:o})}Os.assertTransactionEIP2930=c;function f(m){const{chainId:h,maxPriorityFeePerGas:l,gasPrice:o,maxFeePerGas:u,to:p,accessList:g}=m;if(p&&!(0,a.isAddress)(p))throw new e.InvalidAddressError({address:p});if(typeof h<"u"&&h<=0)throw new r.InvalidChainIdError({chainId:h});if(l||u)throw new t.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(o&&o>2n**256n-1n)throw new n.FeeCapTooHighError({maxFeePerGas:o});if(g)throw new t.BaseError("`accessList` is not a valid Legacy Transaction attribute.")}return Os.assertTransactionLegacy=f,Os}var Cs={},UF;function xV(){if(UF)return Cs;UF=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.parseAccessList=Cs.toTransactionArray=Cs.parseTransaction=void 0;const e=ji(),t=Da(),r=Ua(),n=Vn(),a=Fo(),i=Bo(),c=pn(),f=PS(),m=SS(),h=Fw(),l=OS();function o(w){const E=(0,l.getSerializedTransactionType)(w);return E==="eip1559"?u(w):E==="eip2930"?p(w):g(w)}Cs.parseTransaction=o;function u(w){const E=y(w),[j,T,F,z,K,U,H,V,Z,R,_,k]=E;if(!(E.length===9||E.length===12))throw new t.InvalidSerializedTransactionError({attributes:{chainId:j,nonce:T,maxPriorityFeePerGas:F,maxFeePerGas:z,gas:K,to:U,value:H,data:V,accessList:Z,...E.length>9?{v:R,r:_,s:k}:{}},serializedTransaction:w,type:"eip1559"});const M={chainId:(0,c.hexToNumber)(j),type:"eip1559"};return(0,n.isHex)(U)&&U!=="0x"&&(M.to=U),(0,n.isHex)(K)&&K!=="0x"&&(M.gas=(0,c.hexToBigInt)(K)),(0,n.isHex)(V)&&V!=="0x"&&(M.data=V),(0,n.isHex)(T)&&T!=="0x"&&(M.nonce=(0,c.hexToNumber)(T)),(0,n.isHex)(H)&&H!=="0x"&&(M.value=(0,c.hexToBigInt)(H)),(0,n.isHex)(z)&&z!=="0x"&&(M.maxFeePerGas=(0,c.hexToBigInt)(z)),(0,n.isHex)(F
18749)&&F!=="0x"&&(M.maxPriorityFeePerGas=(0,c.hexToBigInt)(F)),Z.length!==0&&Z!=="0x"&&(M.accessList=b(Z)),(0,h.assertTransactionEIP1559)(M),{...E.length===12?x(E):void 0,...M}}function p(w){const E=y(w),[j,T,F,z,K,U,H,V,Z,R,_]=E;if(!(E.length===8||E.length===11))throw new t.InvalidSerializedTransactionError({attributes:{chainId:j,nonce:T,gasPrice:F,gas:z,to:K,value:U,data:H,accessList:V,...E.length>8?{v:Z,r:R,s:_}:{}},serializedTransaction:w,type:"eip2930"});const k={chainId:(0,c.hexToNumber)(j),type:"eip2930"};return(0,n.isHex)(K)&&K!=="0x"&&(k.to=K),(0,n.isHex)(z)&&z!=="0x"&&(k.gas=(0,c.hexToBigInt)(z)),(0,n.isHex)(H)&&H!=="0x"&&(k.data=H),(0,n.isHex)(T)&&T!=="0x"&&(k.nonce=(0,c.hexToNumber)(T)),(0,n.isHex)(U)&&U!=="0x"&&(k.value=(0,c.hexToBigInt)(U)),(0,n.isHex)(F)&&F!=="0x"&&(k.gasPrice=(0,c.hexToBigInt)(F)),V.length!==0&&V!=="0x"&&(k.accessList=b(V)),(0,h.assertTransactionEIP2930)(k),{...E.length===11?x(E):void 0,...k}}function g(w){const E=(0,f.fromRlp)(w,"hex"),[j,T,F,z,K,U,H,V,Z]=E;if(!(E.length===6||E.length===9))throw new t.InvalidSerializedTransactionError({attributes:{nonce:j,gasPrice:T,gas:F,to:z,value:K,data:U,...E.length>6?{v:H,r:V,s:Z}:{}},serializedTransaction:w,type:"legacy"});const R={type:"legacy"};
18749if((0,n.isHex)(z)&&z!=="0x"&&(R.to=z),(0,n.isHex)(F)&&F!=="0x"&&(R.gas=(0,c.hexToBigInt)(F)),(0,n.isHex)(U)&&U!=="0x"&&(R.data=U),(0,n.isHex)(j)&&j!=="0x"&&(R.nonce=(0,c.hexToNumber)(j)),(0,n.isHex)(K)&&K!=="0x"&&(R.value=(0,c.hexToBigInt)(K)),(0,n.isHex)(T)&&T!=="0x"&&(R.gasPrice=(0,c.hexToBigInt)(T)),(0,h.assertTransactionLegacy)(R),E.length===6)return R;const _=(0,n.isHex)(H)&&H!=="0x"?(0,c.hexToBigInt)(H):0n;if(Z==="0x"&&V==="0x")return _>0&&(R.chainId=Number(_)),R;const k=_,M=Number((k-35n)/2n);if(M>0)R.chainId=M;else if(k!==27n&&k!==28n)throw new t.InvalidLegacyVError({v:k});return R.v=k,R.s=Z,R.r=V,R}function y(w){return(0,f.fromRlp)(`0x${w.slice(4)}`,"hex")}Cs.toTransactionArray=y;function b(w){const E=[];for(let j=0;j<w.length;j++){const[T,F]=w[j];if(!(0,r.isAddress)(T))throw new e.InvalidAddressError({address:T});E.push({address:T,storageKeys:F.map(z=>(0,m.isHash)(z)?z:(0,i.trim)(z))})}return E}Cs.parseAccessList=b;function x(w){const E=w.slice(-3),j=E[0]==="0x"||(0,c.hexToBigInt)(E[0])===0n?27n:28n;return{r:(0,a.padHex)(E[1],{size:32}),s:(0,a.padHex)(E[2],{size:32}),v:j,yParity:j===27n?0:1}}return Cs}var Gp={},qF;function CS(){if(qF)return Gp;qF=1,Object.defineProperty(Gp,"__esModule",{value:!0}),Gp.serializeAccessList=void 0;const e=ji(),t=Da(),r=Ua();function n(a){if(!a||a.length===0)return[];const i=[];for(let c=0;c<a.length;c++){const{address:f,storageKeys:m}=a[c];for(let h=0;h<m.length;h++)if(m[h].length-2!==64)throw new t.InvalidStorageKeySizeError({storageKey:m[h]});if(!(0,r.isAddress)(f))throw new e.InvalidAddressError({address:f});i.push([f,m])}return i}return Gp.serializeAccessList=n,Gp}var Kp={},LF;function Bw(){if(LF)return Kp;LF=1,Object.defineProperty(Kp,"__esModule",{value:!0}),Kp.parseUnits=void 0;function e(t,r){let[n,a="0"]=t.split(".");const i=n.startsWith("-");if(i&&(n=n.slice(1)),a=a.replace(/(0+)$/,""),r===0)Math.round(+`.${a}`)===1&&(n=`${BigInt(n)+1n}`),a="";else if(a.length>r){const[c,f,m]=[a.slice(0,r-1),a.slice(r-1,r),a.slice(r)],h=Math.round(+`${f}.${m}`);h>9?a=`${BigInt(c)+BigInt(1)}0`.padStart(c.length+1,"0"):a=`${c}${h}`,a.length>r&&(a=a.slice(1),n=`${BigInt(n)+1n}`),a=a.slice(0,r)}else a=a.padEnd(r,"0");return BigInt(`${i?"-":""}${n}${a}`)}return Kp.parseUnits=e,Kp}var Yp={},DF;function EV(){if(DF)return Yp;DF=1,Object.defineProperty(Yp,"__esModule",{value:!0}),Yp.parseEther=void 0;const e=vy(),t=Bw();function r(n,a="wei"){return(0,t.parseUnits)(n,e.etherUnits[a])}return Yp.parseEther=r,Yp}var Zp={},zF;function jV(){if(zF)return Zp;zF=1,Object.defineProperty(Zp,"__esModule",{value:!0}),Zp.parseGwei=void 0;const e=vy(),t=Bw();function r(n,a="wei"){return(0,t.parseUnits)(n,e.gweiUnits[a])}return Zp.parseGwei=r,Zp}var VF;function ud(){return VF||(VF=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.concat=e.extractFunctionParts=e.extractFunctionType=e.extractFunctionParams=e.extractFunctionName=e.isAddressEqual=e.isAddress=e.getAddress=e.getCreate2Address=e.getCreateAddress=e.getContractAddress=e.publicKeyToAddress=e.parseAccount=e.formatAbiParams=e.formatAbiItem=e.formatAbiItemWithArgs=e.encodePacked=e.parseAbiParameters=e.parseAbiParameter=e.parseAbiItem=e.parseAbi=e.getAbiItem=e.encodeFunctionResult=e.encodeFunctionData=e.encodeEventTopics=e.encodeErrorResult=e.encodeDeployData=e.encodeAbiParameters=e.decodeFunctionResult=e.decodeFunctionData=e.decodeEventLog=e.decodeErrorResult=e.decodeAbiParameters=e.validateTypedData=e.stringify=e.rpc=e.getSocket=e.integerRegex=e.bytesRegex=e.arrayRegex=e.getChainContractAddress=e.extractChain=e.defineChain=e.assertCurrentChain=e.offchainLookupSignature=e.offchainLookupAbiItem=e.offchainLookup=e.ccipFetch=e.buildRequest=e.isDeterministicError=void 0,e.getEstimateGasError=e.getContractError=e.getCallError=e.getNodeError=e.containsNodeError=e.fromRlp=e.hexToString=e.hexToNumber=e.hexToBigInt=e.hexToBool=e.fromHex=e.fromBytes=e.bytesToString=e.bytesToNumber=e.bytesToBool=e.bytesToBigint=e.bytesToBigInt=e.stringToHex=e.numberToHex=e.toHex=e.bytesToHex=e.boolToHex=e.stringToBytes=e.numberToBytes=e.hexToBytes=e.toBytes=e.boolToBytes=e.toRlp=e.extract=e.formatTransactionRequest=e.defineTransactionRequest=e.defineTransactionReceipt=e.formatLog=e.transactionType=e.formatTransaction=e.defineTransaction=e.formatBlock=e.defineBlock=e.trim=e.sliceHex=e.sliceBytes=e.slice=e.size=e.padHex=e.padBytes=e.pad=e.isHex=e.isBytes=e.concatHex=e.concatBytes=void 0,e.parseGwei=e.parseEther=e.parseUnits=e.formatUnits=e.formatGwei=e.formatEther=e.serializeAccessList=e.serializeTransaction=e.prepareTransactionRequest=e.parseTransaction=e.assertTransactionLegacy=e.assertTransactionEIP2930=e.assertTransactionEIP1559=e.assertRequest=e.getTransactionType=e.getSerializedTransactionType=e.hashMessage=e.verifyTypedData=e.verifyMessage=e.recoverTypedDataAddress=e.recoverPublicKey=e.recoverMessageAddress=e.recoverAddress=e.hashTypedData=e.ripemd160=e.sha256=e.keccak256=e.isHash=e.getFunctionSelector=e.getEventSelector=e.defineFormatter=e.getTransactionError=void 0;var t=yS();Object.defineProperty(e,"isDeterministicError",{enumerable:!0,get:function(){return t.isDeterministicError}}),Object.defineProperty(e,"buildRequest",{enumerable:!0,get:function(){return t.buildRequest}});var r=hS();Object.defineProperty(e,"ccipFetch",{enumerable:!0,get:function(){return r.ccipFetch}}),Object.defineProperty(e,"offchainLookup",{enumerable:!0,get:function(){return r.offchainLookup}}),Object.defineProperty(e,"offchainLookupAbiItem",{enumerable:!0,get:function(){return r.offchainLookupAbiItem}}),Object.defineProperty(e,"offchainLookupSignature",{enumerable:!0,get:function(){return r.offchainLookupSignature}});var n=Rw();Object.defineProperty(e,"assertCurrentChain",{enumerable:!0,get:function(){return n.assertCurrentChain}});var a=uV();Object.defineProperty(e,"defineChain",{enumerable:!0,get:function(){return a.defineChain}});var i=lV();Object.defineProperty(e,"extractChain",{enumerable:!0,get:function(){return i.extractChain}});var c=Lo();Object.defineProperty(e,"getChainContractAddress",{enumerable:!0,get:function(){return c.getChainContractAddress}});var f=xS();Object.defineProperty(e,"arrayRegex",{enumerable:!0,get:function(){return f.arrayRegex}}),Object.defineProperty(e,"bytesRegex",{enumerable:!0,get:function(){return f.bytesRegex}}),Object.defineProperty(e,"integerRegex",{enumerable:!0,get:function(){return f.integerRegex}});var m=vS();Object.defineProperty(e,"getSocket",{enumerable:!0,get:function(){return m.getSocket}}),Object.defineProperty(e,"rpc",{enumerable:!0,get:function(){return m.rpc}});var h=ya();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return h.stringify}});var l=Nw();Object.defineProperty(e,"validateTypedData",{enumerable:!0,get:function(){return l.validateTypedData}
18749});var o=_u();Object.defineProperty(e,"decodeAbiParameters",{enumerable:!0,get:function(){return o.decodeAbiParameters}});var u=Ew();Object.defineProperty(e,"decodeErrorResult",{enumerable:!0,get:function(){return u.decodeErrorResult}});var p=sd();Object.defineProperty(e,"decodeEventLog",{enumerable:!0,get:function(){return p.decodeEventLog}});var g=dV();Object.defineProperty(e,"decodeFunctionData",{enumerable:!0,get:function(){return g.decodeFunctionData}});var y=qo();Object.defineProperty(e,"decodeFunctionResult",{enumerable:!0,get:function(){return y.decodeFunctionResult}});var b=Yi();Object.defineProperty(e,"encodeAbiParameters",{enumerable:!0,get:function(){return b.encodeAbiParameters}});var x=ES();Object.defineProperty(e,"encodeDeployData",{enumerable:!0,get:function(){return x.encodeDeployData}});var w=fV();Object.defineProperty(e,"encodeErrorResult",{enumerable:!0,get:function(){return w.encodeErrorResult}});var E=td();Object.defineProperty(e,"encodeEventTopics",{enumerable:!0,get:function(){return E.encodeEventTopics}});var j=Zi();Object.defineProperty(e,"encodeFunctionData",{enumerable:!0,get:function(){return j.encodeFunctionData}});var T=hV();Object.defineProperty(e,"encodeFunctionResult",{enumerable:!0,get:function(){return T.encodeFunctionResult}});var F=Ks();Object.defineProperty(e,"getAbiItem",{enumerable:!0,get:function(){return F.getAbiItem}});var z=ed();Object.defineProperty(e,"parseAbi",{enumerable:!0,get:function(){return z.parseAbi}}),Object.defineProperty(e,"parseAbiItem",{enumerable:!0,get:function(){return z.parseAbiItem}}),Object.defineProperty(e,"parseAbiParameter",{enumerable:!0,get:function(){return z.parseAbiParameter}}),Object.defineProperty(e,"parseAbiParameters",{enumerable:!0,get:function(){return z.parseAbiParameters}});var K=pV();Object.defineProperty(e,"encodePacked",{enumerable:!0,get:function(){return K.encodePacked}});var U=Hz();Object.defineProperty(e,"formatAbiItemWithArgs",{enumerable:!0,get:function(){return U.formatAbiItemWithArgs}});var H=Ws();Object.defineProperty(e,"formatAbiItem",{enumerable:!0,get:function(){return H.formatAbiItem}}),Object.defineProperty(e,"formatAbiParams",{enumerable:!0,get:function(){return H.formatAbiParams}});var V=ga();Object.defineProperty(e,"parseAccount",{enumerable:!0,get:function(){return V.parseAccount}});var Z=Ql();Object.defineProperty(e,"publicKeyToAddress",{enumerable:!0,get:function(){return Z.publicKeyToAddress}});var R=mV();Object.defineProperty(e,"getContractAddress",{enumerable:!0,get:function(){return R.getContractAddress}}),Object.defineProperty(e,"getCreateAddress",{enumerable:!0,get:function(){return R.getCreateAddress}}),Object.defineProperty(e,"getCreate2Address",{enumerable:!0,get:function(){return R.getCreate2Address}});var _=Hs();Object.defineProperty(e,"getAddress",{enumerable:!0,get:function(){return _.getAddress}});var k=Ua();Object.defineProperty(e,"isAddress",{enumerable:!0,get:function(){return k.isAddress}});var M=Sy();Object.defineProperty(e,"isAddressEqual",{enumerable:!0,get:function(){return M.isAddressEqual}});var B=bre();Object.defineProperty(e,"extractFunctionName",{enumerable:!0,get:function(){return B.extractFunctionName}}),Object.defineProperty(e,"extractFunctionParams",{enumerable:!0,get:function(){return B.extractFunctionParams}}),Object.defineProperty(e,"extractFunctionType",{enumerable:!0,get:function(){return B.extractFunctionType}}),Object.defineProperty(e,"extractFunctionParts",{enumerable:!0,get:function(){return B.extractFunctionParts}});var C=La();Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return C.concat}}),Object.defineProperty(e,"concatBytes",{enumerable:!0,get:function(){return C.concatBytes}}),Object.defineProperty(e,"concatHex",{enumerable:!0,get:function(){return C.concatHex}});var q=jS();Object.defineProperty(e,"isBytes",{enumerable:!0,get:function(){return q.isBytes}});var W=Vn();Object.defineProperty(e,"isHex",{enumerable:!0,get:function(){return W.isHex}});var I=Fo();Object.defineProperty(e,"pad",{enumerable:!0,get:function(){return I.pad}}),Object.defineProperty(e,"padBytes",{enumerable:!0,get:function(){return I.padBytes}}),Object.defineProperty(e,"padHex",{enumerable:!0,get:function(){return I.padHex}});var S=Vs();Object.defineProperty(e,"size",{enumerable:!0,get:function(){return S.size}}
18749);var O=Gs();Object.defineProperty(e,"slice",{enumerable:!0,get:function(){return O.slice}}),Object.defineProperty(e,"sliceBytes",{enumerable:!0,get:function(){return O.sliceBytes}}),Object.defineProperty(e,"sliceHex",{enumerable:!0,get:function(){return O.sliceHex}});var Y=Bo();Object.defineProperty(e,"trim",{enumerable:!0,get:function(){return Y.trim}});var Q=Pw();Object.defineProperty(e,"defineBlock",{enumerable:!0,get:function(){return Q.defineBlock}}),Object.defineProperty(e,"formatBlock",{enumerable:!0,get:function(){return Q.formatBlock}});var ne=jy();Object.defineProperty(e,"defineTransaction",{enumerable:!0,get:function(){return ne.defineTransaction}}),Object.defineProperty(e,"formatTransaction",{enumerable:!0,get:function(){return ne.formatTransaction}}),Object.defineProperty(e,"transactionType",{enumerable:!0,get:function(){return ne.transactionType}});var oe=Pu();Object.defineProperty(e,"formatLog",{enumerable:!0,get:function(){return oe.formatLog}});var ge=AS();Object.defineProperty(e,"defineTransactionReceipt",{enumerable:!0,get:function(){return ge.defineTransactionReceipt}});var we=ju();Object.defineProperty(e,"defineTransactionRequest",{enumerable:!0,get:function(){return we.defineTransactionRequest}}),Object.defineProperty(e,"formatTransactionRequest",{enumerable:!0,get:function(){return we.formatTransactionRequest}});var Ue=xy();Object.defineProperty(e,"extract",{enumerable:!0,get:function(){return Ue.extract}});var ye=Uw();Object.defineProperty(e,"toRlp",{enumerable:!0,get:function(){return ye.toRlp}});var de=hn();Object.defineProperty(e,"boolToBytes",{enumerable:!0,get:function(){return de.boolToBytes}}),Object.defineProperty(e,"toBytes",{enumerable:!0,get:function(){return de.toBytes}}),Object.defineProperty(e,"hexToBytes",{enumerable:!0,get:function(){return de.hexToBytes}}),Object.defineProperty(e,"numberToBytes",{enumerable:!0,get:function(){return de.numberToBytes}}),Object.defineProperty(e,"stringToBytes",{enumerable:!0,get:function(){return de.stringToBytes}});var Se=ht();Object.defineProperty(e,"boolToHex",{enumerable:!0,get:function(){return Se.boolToHex}}),Object.defineProperty(e,"bytesToHex",{enumerable:!0,get:function(){return Se.bytesToHex}}),Object.defineProperty(e,"toHex",{enumerable:!0,get:function(){return Se.toHex}}),Object.defineProperty(e,"numberToHex",{enumerable:!0,get:function(){return Se.numberToHex}}),Object.defineProperty(e,"stringToHex",{enumerable:!0,get:function(){return Se.stringToHex}});var Oe=gV();Object.defineProperty(e,"bytesToBigInt",{enumerable:!0,get:function(){return Oe.bytesToBigInt}}),Object.defineProperty(e,"bytesToBigint",{enumerable:!0,get:function(){return Oe.bytesToBigInt}}),Object.defineProperty(e,"bytesToBool",{enumerable:!0,get:function(){return Oe.bytesToBool}}),Object.defineProperty(e,"bytesToNumber",{enumerable:!0,get:function(){return Oe.bytesToNumber}}),Object.defineProperty(e,"bytesToString",{enumerable:!0,get:function(){return Oe.bytesToString}}),Object.defineProperty(e,"fromBytes",{enumerable:!0,get:function(){return Oe.fromBytes}});var Be=pn();Object.defineProperty(e,"fromHex",{enumerable:!0,get:function(){return Be.fromHex}}),Object.defineProperty(e,"hexToBool",{enumerable:!0,get:function(){return Be.hexToBool}}),Object.defineProperty(e,"hexToBigInt",{enumerable:!0,get:function(){return Be.hexToBigInt}}),Object.defineProperty(e,"hexToNumber",{enumerable:!0,get:function(){return Be.hexToNumber}}),Object.defineProperty(e,"hexToString",{enumerable:!0,get:function(){return Be.hexToString}});var Pt=PS();Object.defineProperty(e,"fromRlp",{enumerable:!0,get:function(){return Pt.fromRlp}});var Ge=jw();Object.defineProperty(e,"containsNodeError",{enumerable:!0,get:function(){return Ge.containsNodeError}}),Object.defineProperty(e,"getNodeError",{enumerable:!0,get:function(){return Ge.getNodeError}});var ft=Qz();Object.defineProperty(e,"getCallError",{enumerable:!0,get:function(){return ft.getCallError}});var er=nd();Object.defineProperty(e,"getContractError",{enumerable:!0,get:function(){return er.getContractError}});var dt=Gz();Object.defineProperty(e,"getEstimateGasError",{enumerable:!0,get:function(){return dt.getEstimateGasError}});var vt=eV();Object.defineProperty(e,"getTransactionError",{enumerable:!0,get:function(){return vt.getTransactionError}});var It=Ey();Object.defineProperty(e,"defineFormatter",{enumerable:!0,get:function(){return It.defineFormatter}});
18749var Rt=_y();Object.defineProperty(e,"getEventSelector",{enumerable:!0,get:function(){return Rt.getEventSelector}});var Nt=wu();Object.defineProperty(e,"getFunctionSelector",{enumerable:!0,get:function(){return Nt.getFunctionSelector}});var sr=SS();Object.defineProperty(e,"isHash",{enumerable:!0,get:function(){return sr.isHash}});var be=qa();Object.defineProperty(e,"keccak256",{enumerable:!0,get:function(){return be.keccak256}});var X=bV();Object.defineProperty(e,"sha256",{enumerable:!0,get:function(){return X.sha256}});var L=vV();Object.defineProperty(e,"ripemd160",{enumerable:!0,get:function(){return L.ripemd160}});var G=cd();Object.defineProperty(e,"hashTypedData",{enumerable:!0,get:function(){return G.hashTypedData}});var re=Mw();Object.defineProperty(e,"recoverAddress",{enumerable:!0,get:function(){return re.recoverAddress}});var fe=TS();Object.defineProperty(e,"recoverMessageAddress",{enumerable:!0,get:function(){return fe.recoverMessageAddress}});var ve=kS();Object.defineProperty(e,"recoverPublicKey",{enumerable:!0,get:function(){return ve.recoverPublicKey}});var ke=RS();Object.defineProperty(e,"recoverTypedDataAddress",{enumerable:!0,get:function(){return ke.recoverTypedDataAddress}});var mt=wV();Object.defineProperty(e,"verifyMessage",{enumerable:!0,get:function(){return mt.verifyMessage}});var bt=_V();Object.defineProperty(e,"verifyTypedData",{enumerable:!0,get:function(){return bt.verifyTypedData}});var at=gw();Object.defineProperty(e,"hashMessage",{enumerable:!0,get:function(){return at.hashMessage}});var zt=OS();Object.defineProperty(e,"getSerializedTransactionType",{enumerable:!0,get:function(){return zt.getSerializedTransactionType}});var Qe=Sw();Object.defineProperty(e,"getTransactionType",{enumerable:!0,get:function(){return Qe.getTransactionType}});var Gt=Au();Object.defineProperty(e,"assertRequest",{enumerable:!0,get:function(){return Gt.assertRequest}});var mn=Fw();Object.defineProperty(e,"assertTransactionEIP1559",{enumerable:!0,get:function(){return mn.assertTransactionEIP1559}}),Object.defineProperty(e,"assertTransactionEIP2930",{enumerable:!0,get:function(){return mn.assertTransactionEIP2930}}),Object.defineProperty(e,"assertTransactionLegacy",{enumerable:!0,get:function(){return mn.assertTransactionLegacy}});var Bt=xV();Object.defineProperty(e,"parseTransaction",{enumerable:!0,get:function(){return Bt.parseTransaction}});var qt=Ay();Object.defineProperty(e,"prepareTransactionRequest",{enumerable:!0,get:function(){return qt.prepareTransactionRequest}});var nn=NS();Object.defineProperty(e,"serializeTransaction",{enumerable:!0,get:function(){return nn.serializeTransaction}});var Zt=CS();Object.defineProperty(e,"serializeAccessList",{enumerable:!0,get:function(){return Zt.serializeAccessList}});var tr=wy();Object.defineProperty(e,"formatEther",{enumerable:!0,get:function(){return tr.formatEther}});var Va=vu();Object.defineProperty(e,"formatGwei",{enumerable:!0,get:function(){return Va.formatGwei}});var Jt=vw();Object.defineProperty(e,"formatUnits",{enumerable:!0,get:function(){return Jt.formatUnits}});var Qt=Bw();Object.defineProperty(e,"parseUnits",{enumerable:!0,get:function(){return Qt.parseUnits}});var Re=EV();Object.defineProperty(e,"parseEther",{enumerable:!0,get:function(){return Re.parseEther}});var ze=jV();Object.defineProperty(e,"parseGwei",{enumerable:!0,get:function(){return ze.parseGwei}})})(bx)),bx}var HF;function wre(){if(HF)return Pp;HF=1,Object.defineProperty(Pp,"__esModule",{value:!0}),Pp.formatProof=void 0;const e=ud();function t(n){return n.map(a=>({...a,value:BigInt(a.value)}))}function r(n){return{...n,balance:n.balance?BigInt(n.balance):void 0,nonce:n.nonce?(0,e.hexToNumber)(n.nonce):void 0,storageProof:n.storageProof?t(n.storageProof):void 0}}return Pp.formatProof=r,Pp}var WF;function _re(){if(WF)return Ap;WF=1,Object.defineProperty(Ap,"__esModule",{value:!0}),Ap.getProof=void 0;const e=ht(),t=wre();async function r(n,{address:a,blockNumber:i,blockTag:c,storageKeys:f}){const m=c??"latest",h=i!==void 0?(0,e.numberToHex)(i):void 0,l=await n.request({method:"eth_getProof",params:[a,f,h||m]});return(0,t.formatProof)(l)}return Ap.getProof=r,Ap}var Jp={},GF;function xre(){if(GF)return Jp;GF=1,Object.defineProperty(Jp,"__esModule",{value:!0}
18749),Jp.getStorageAt=void 0;const e=ht();async function t(r,{address:n,blockNumber:a,blockTag:i="latest",slot:c}){const f=a!==void 0?(0,e.numberToHex)(a):void 0;return await r.request({method:"eth_getStorageAt",params:[n,c,f||i]})}return Jp.getStorageAt=t,Jp}var Qp={},KF;function IS(){if(KF)return Qp;KF=1,Object.defineProperty(Qp,"__esModule",{value:!0}),Qp.getTransaction=void 0;const e=Da(),t=ht(),r=jy();async function n(a,{blockHash:i,blockNumber:c,blockTag:f,hash:m,index:h}){const l=f||"latest",o=c!==void 0?(0,t.numberToHex)(c):void 0;let u=null;if(m?u=await a.request({method:"eth_getTransactionByHash",params:[m]}):i?u=await a.request({method:"eth_getTransactionByBlockHashAndIndex",params:[i,(0,t.numberToHex)(h)]}):u=await a.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[o||l,(0,t.numberToHex)(h)]}),!u)throw new e.TransactionNotFoundError({blockHash:i,blockNumber:c,blockTag:l,hash:m,index:h});return(a.chain?.formatters?.transaction?.format||r.formatTransaction)(u)}return Qp.getTransaction=n,Qp}var Xp={},YF;function Ere(){if(YF)return Xp;YF=1,Object.defineProperty(Xp,"__esModule",{value:!0}),Xp.getTransactionConfirmations=void 0;const e=kr(),t=Ry(),r=IS();async function n(a,{hash:i,transactionReceipt:c}){const[f,m]=await Promise.all([(0,e.getAction)(a,t.getBlockNumber,"getBlockNumber")({}),i?(0,e.getAction)(a,r.getTransaction,"getBlockNumber")({hash:i}):void 0]),h=c?.blockNumber||m?.blockNumber;return h?f-h+1n:0n}return Xp.getTransactionConfirmations=n,Xp}var $p={},ZF;function AV(){if(ZF)return $p;ZF=1,Object.defineProperty($p,"__esModule",{value:!0}),$p.getTransactionReceipt=void 0;const e=Da(),t=AS();async function r(n,{hash:a}){const i=await n.request({method:"eth_getTransactionReceipt",params:[a]});if(!i)throw new e.TransactionReceiptNotFoundError({hash:a});return(n.chain?.formatters?.transactionReceipt?.format||t.formatTransactionReceipt)(i)}return $p.getTransactionReceipt=r,$p}var em={},JF;function jre(){if(JF)return em;JF=1,Object.defineProperty(em,"__esModule",{value:!0}),em.multicall=void 0;const e=Su(),t=Tr(),r=fr(),n=xu(),a=qo(),i=Zi(),c=Lo(),f=nd(),m=kr(),h=Do();async function l(o,u){const{allowFailure:p=!0,batchSize:g,blockNumber:y,blockTag:b,contracts:x,multicallAddress:w}=u,E=g??(typeof o.batch?.multicall=="object"&&o.batch.multicall.batchSize||1024);let j=w;if(!j){if(!o.chain)throw new Error("client chain not configured. multicallAddress is required.");j=(0,c.getChainContractAddress)({blockNumber:y,chain:o.chain,contract:"multicall3"})}const T=[[]];let F=0,z=0;for(let H=0;H<x.length;H++){const{abi:V,address:Z,args:R,functionName:_}=x[H];try{const k=(0,i.encodeFunctionData)({abi:V,args:R,functionName:_});z+=(k.length-2)/2,E>0&&z>E&&T[F].length>0&&(F++,z=(k.length-2)/2,T[F]=[]),T[F]=[...T[F],{allowFailure:!0,callData:k,target:Z}]}catch(k){const M=(0,f.getContractError)(k,{abi:V,address:Z,args:R,docsPath:"/docs/contract/multicall",functionName:_});if(!p)throw M;T[F]=[...T[F],{allowFailure:!0,callData:"0x",target:Z}]}}const K=await Promise.allSettled(T.map(H=>(0,m.getAction)(o,h.readContract,"readContract")({abi:e.multicall3Abi,address:j,args:[H],blockNumber:y,blockTag:b,functionName:"aggregate3"}))),U=[];for(let H=0;H<K.length;H++){const V=K[H];if(V.status==="rejected"){if(!p)throw V.reason;for(let R=0;R<T[H].length;R++)U.push({status:"failure",error:V.reason,result:void 0});continue}const Z=V.value;for(let R=0;R<Z.length;R++){const{returnData:_,success:k}=Z[R],{callData:M}=T[H][R],{abi:B,address:C,functionName:q,args:W}=x[U.length];try{if(M==="0x")throw new t.AbiDecodingZeroDataError;if(!k)throw new n.RawContractError({data:_});const I=(0,a.decodeFunctionResult)({abi:B,args:W,data:_,functionName:q});U.push(p?{result:I,status:"success"}:I)}catch(I){const S=(0,f.getContractError)(I,{abi:B,address:C,args:W,docsPath:"/docs/contract/multicall",functionName:q});if(!p)throw S;U.push({error:S,result:void 0,status:"failure"})}}}if(U.length!==x.length)throw new r.BaseError("multicall results mismatch");return U}return em.multicall=l,em}var tm={},rm={},nm={},QF;function Are(){return QF||(QF=1,Object.defineProperty(nm,"__esMo
18749dule",{value:!0}),nm.universalSignatureValidatorByteCode=void 0,nm.universalSignatureValidatorByteCode="0x60806040523480156200001157600080fd5b50604051620007003803806200070083398101604081905262000034916200056f565b6000620000438484846200004f565b9050806000526001601ff35b600080846001600160a01b0316803b806020016040519081016040528181526000908060200190933c90507f6492649264926492649264926492649264926492649264926492649264926492620000a68462000451565b036200021f57600060608085806020019051810190620000c79190620005ce565b8651929550909350915060000362000192576000836001600160a01b031683604051620000f5919062000643565b6000604051808303816000865af19150503d806000811462000134576040519150601f19603f3d011682016040523d82523d6000602084013e62000139565b606091505b5050905080620001905760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b505b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90620001c4908b90869060040162000661565b602060405180830381865afa158015620001e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020891906200069d565b6001600160e01b031916149450505050506200044a565b805115620002b157604051630b135d3f60e11b808252906001600160a01b03871690631626ba7e9062000259908890889060040162000661565b602060405180830381865afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d91906200069d565b6001600160e01b031916149150506200044a565b8251604114620003195760405162461bcd60e51b815260206004820152603a6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e677468000000000000606482015260840162000187565b620003236200046b565b506020830151604080850151855186939260009185919081106200034b576200034b620006c9565b016020015160f81c9050601b81148015906200036b57508060ff16601c14155b15620003cf5760405162461bcd60e51b815260206004820152603b6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c75650000000000606482015260840162000187565b6040805160008152602081018083528a905260ff83169181019190915260608101849052608081018390526001600160a01b038a169060019060a0016020604051602081039080840390855afa1580156200042e573d6000803e3d6000fd5b505050602060405103516001600160a01b031614955050505050505b9392505050565b60006020825110156200046357600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b03811681146200049f57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004d5578181015183820152602001620004bb565b50506000910152565b600082601f830112620004f057600080fd5b81516001600160401b03808211156200050d576200050d620004a2565b604051601f8301601f19908116603f01168101908282118183101715620005385762000538620004a2565b816040528381528660208588010111156200055257600080fd5b62000565846020830160208901620004b8565b9695505050505050565b60008060006060848
1874960312156200058557600080fd5b8351620005928162000489565b6020850151604086015191945092506001600160401b03811115620005b657600080fd5b620005c486828701620004de565b9150509250925092565b600080600060608486031215620005e457600080fd5b8351620005f18162000489565b60208501519093506001600160401b03808211156200060f57600080fd5b6200061d87838801620004de565b935060408601519150808211156200063457600080fd5b50620005c486828701620004de565b6000825162000657818460208701620004b8565b9190910192915050565b828152604060208201526000825180604084015262000688816060850160208701620004b8565b601f01601f1916919091016060019392505050565b600060208284031215620006b057600080fd5b81516001600160e01b0319811681146200044a57600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572"),nm}var am={},XF;function Pre(){if(XF)return am;XF=1,Object.defineProperty(am,"__esModule",{value:!0}),am.isBytesEqual=void 0;const e=du(),t=hn(),r=Vn();function n(a,i){const c=(0,r.isHex)(a)?(0,t.toBytes)(a):a,f=(0,r.isHex)(i)?(0,t.toBytes)(i):i;return(0,e.equalBytes)(c,f)}return am.isBytesEqual=n,am}var $F;function PV(){if($F)return rm;$F=1,Object.defineProperty(rm,"__esModule",{value:!0}),rm.verifyHash=void 0;const e=Su(),t=Are(),r=xu(),n=Pre(),a=kr(),i=ud(),c=ky();async function f(m,{address:h,hash:l,signature:o,...u}){const p=(0,i.isHex)(o)?o:(0,i.toHex)(o);try{const{data:g}=await(0,a.getAction)(m,c.call,"call")({data:(0,i.encodeDeployData)({abi:e.universalSignatureValidatorAbi,args:[h,l,p],bytecode:t.universalSignatureValidatorByteCode}),...u});return(0,n.isBytesEqual)(g??"0x0","0x1")}catch(g){if(g instanceof r.CallExecutionError)return!1;throw g}}return rm.verifyHash=f,rm}var eB;function Sre(){if(eB)return tm;eB=1,Object.defineProperty(tm,"__esModule",{value:!0}),tm.verifyMessage=void 0;const e=ud(),t=PV();async function r(n,{address:a,message:i,signature:c,...f}){const m=(0,e.hashMessage)(i);return(0,t.verifyHash)(n,{address:a,hash:m,signature:c,...f})}return tm.verifyMessage=r,tm}var im={},tB;function kre(){if(tB)return im;tB=1,Object.defineProperty(im,"__esModule",{value:!0}),im.verifyTypedData=void 0;const e=cd(),t=PV();async function r(n,{address:a,signature:i,message:c,primaryType:f,types:m,domain:h,...l}){const o=(0,e.hashTypedData)({message:c,primaryType:f,types:m,domain:h});return(0,t.verifyHash)(n,{address:a,hash:o,signature:i,...l})}return im.verifyTypedData=r,im}var sm={},om={},rB;function SV(){if(rB)return om;rB=1,Object.defineProperty(om,"__esModule",{value:!0}),om.watchBlockNumber=void 0;const e=pn(),t=kr(),r=od(),n=Ty(),a=ya(),i=Ry();function c(f,{emitOnBegin:m=!1,emitMissed:h=!1,onBlockNumber:l,onError:o,poll:u,pollingInterval:p=f.pollingInterval}){const g=typeof u<"u"?u:f.transport.type!=="webSocket";let y;return g?(()=>{const w=(0,a.stringify)(["watchBlockNumber",f.uid,m,h,p]);return(0,r.observe)(w,{onBlockNumber:l,onError:o},E=>(0,n.poll)(async()=>{try{const j=await(0,t.getAction)(f,i.getBlockNumber,"getBlockNumber")({cacheTime:0});if(y){if(j===y)return;if(j-y>1&&h)for(let T=y+1n;T<j;T++)E.onBlockNumber(T,y),y=T}(!y||j>y)&&(E.onBlockNumber(j,y),y=j)}catch(j){E.onError?.(j)}},{emitOnBegin:m,interval:p}))})():(()=>{let w=!0,E=()=>w=!1;return(async()=>{try{const{unsubscribe:j}=await f.transport.subscribe({params:["newHeads"],onData(T){if(!w)return;const F=(0,e.hexToBigInt)(T.result?.number);l(F,y),y=F},onError(T){o?.(T)}});E=j,w||E()}catch(j){o?.(j)}})(),E})()}return om.watchBlockNumber=c,om}var nB;function Tre(){if(nB)return sm;nB=1,Object.defineProperty(sm,"__esModule",{value:!0}),sm.waitForTransactionReceipt=void 0;const e=oS(),t=Da(),r=kr(),n=od(),a=rV(),i=ya(),c=id(),f=IS(),m=AV(),h=SV();async function l(o,{confirmations:u=1,hash:p,onReplaced:g,pollingInterval:y=o.pollingInterval,timeout:b}){const x=(0,i.stringify)(["waitForTransactionReceipt",o.uid,p]);let w,E,j,T=!1;return new Promise((F,z)=>{b&&setTimeout(()=>z(new t.WaitForTransactionReceiptTimeoutError({hash:p})),b);const K=(0,n.observe)(x,{onReplaced:g,resolve:F,reject:z},U=>{const H=(0,r.getAction)(o,h.watchBlockNumber,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:y,async onBlockNumber(V){if(T)return;let Z=V;const R=_=>{H(),_(),K()};try{if(j){if(u>1&&(!j.blockNumber||Z-j.blockNumber+1n<u))return;R(()=>U.resolve(j));return}if(w||(T=!0,await(0,a.withRetry)(async()=>{w=await(0,r.getAction)(o,f.getTransaction,"getTransaction")({hash:p}),w.blockNumber&&(Z=w.blockNumber)},{delay:({count:_})=>~~(1<<_)*200,retryCount:6}),T=!1),j=await(0,r.getAction)(o,m.getTransactionReceipt,"getTransactionReceipt")({hash:p}),u>1&&(!j.blockNumber||Z-j.blockNumber+1n<u))return;R(()=>U.resolve(j))}catch(_){if(w&&(_ instanceof t.TransactionNotFoundError||_ instanceof t.TransactionReceiptNotFoundError))try{E=w,T=!0;const k=await(0,a.withRetry)(()=>(0,r.getAction)(o,c.getBlock,"getBlock")({blockNumber:Z,includeTransactions:!0}),{delay:({count:C})=>~~(1<<C)*200,retryCount:6,shouldRetry:({error:C})=>C instanceof e.BlockNotFoundError});T=!1;const M=k.transactions.find(({from:C,nonce:q})=>C===E.from&&q===E.nonce);if(!M||(j=await(0,r.getAction)(o,m.getTransactionReceipt,"getTransactionReceipt")({hash:M.hash}),u>1&&(!j.blockNumber||Z-j.blockNumber+1n<u)))return;let B="replaced";M.to===E.to&&M.value===E.value?B="repriced":M.from===M.to&&M.value===0n&&(B="cancelled"),R(()=>{U.onReplaced?.({reason:B,replacedTransaction:E,transaction:M,transactionReceipt:j}),U.resolve(j)})}catch(k){R(()=>U.reject(k))}else R(()=>U.reject(_))}}})})})}return sm.waitForTransactionReceipt=l,sm}var cm={},aB;function Rre(){if(aB)return cm;
18749aB=1,Object.defineProperty(cm,"__esModule",{value:!0}),cm.watchBlocks=void 0;const e=Pw(),t=kr(),r=od(),n=Ty(),a=ya(),i=id();function c(f,{blockTag:m="latest",emitMissed:h=!1,emitOnBegin:l=!1,onBlock:o,onError:u,includeTransactions:p,poll:g,pollingInterval:y=f.pollingInterval}){const b=typeof g<"u"?g:f.transport.type!=="webSocket",x=p??!1;let w;return b?(()=>{const T=(0,a.stringify)(["watchBlocks",f.uid,h,l,x,y]);return(0,r.observe)(T,{onBlock:o,onError:u},F=>(0,n.poll)(async()=>{try{const z=await(0,t.getAction)(f,i.getBlock,"getBlock")({blockTag:m,includeTransactions:x});if(z.number&&w?.number){if(z.number===w.number)return;if(z.number-w.number>1&&h)for(let K=w?.number+1n;K<z.number;K++){const U=await(0,t.getAction)(f,i.getBlock,"getBlock")({blockNumber:K,includeTransactions:x});F.onBlock(U,w),w=U}}(!w?.number||m==="pending"&&!z?.number||z.number&&z.number>w.number)&&(F.onBlock(z,w),w=z)}catch(z){F.onError?.(z)}},{emitOnBegin:l,interval:y}))})():(()=>{let T=!0,F=()=>T=!1;return(async()=>{try{const{unsubscribe:z}=await f.transport.subscribe({params:["newHeads"],onData(K){if(!T)return;const H=(f.chain?.formatters?.block?.format||e.formatBlock)(K.result);o(H,w),w=H},onError(K){u?.(K)}});F=z,T||F()}catch(z){u?.(z)}})(),F})()}return cm.watchBlocks=c,cm}var um={},iB;function Ore(){if(iB)return um;iB=1,Object.defineProperty(um,"__esModule",{value:!0}),um.watchEvent=void 0;const e=od(),t=Ty(),r=ya(),n=Tr(),a=rd(),i=kr(),c=ud(),f=oV(),m=Ry(),h=kw(),l=lS(),o=Tw();function u(p,{address:g,args:y,batch:b=!0,event:x,events:w,onError:E,onLogs:j,poll:T,pollingInterval:F=p.pollingInterval,strict:z}){const K=typeof T<"u"?T:p.transport.type!=="webSocket",U=z??!1;return K?(()=>{const Z=(0,r.stringify)(["watchEvent",g,y,b,p.uid,x,F]);return(0,e.observe)(Z,{onLogs:j,onError:E},R=>{let _,k,M=!1;const B=(0,t.poll)(async()=>{if(!M){try{k=await(0,i.getAction)(p,f.createEventFilter,"createEventFilter")({address:g,args:y,event:x,events:w,strict:U})}catch{}M=!0;return}try{let C;if(k)C=await(0,i.getAction)(p,h.getFilterChanges,"getFilterChanges")({filter:k});else{const q=await(0,i.getAction)(p,m.getBlockNumber,"getBlockNumber")({});_&&_!==q?C=await(0,i.getAction)(p,l.getLogs,"getLogs")({address:g,args:y,event:x,events:w,fromBlock:_+1n,toBlock:q}):C=[],_=q}if(C.length===0)return;if(b)R.onLogs(C);else for(const q of C)R.onLogs([q])}catch(C){k&&C instanceof a.InvalidInputRpcError&&(M=!1),R.onError?.(C)}},{emitOnBegin:!0,interval:F});return async()=>{k&&await(0,i.getAction)(p,o.uninstallFilter,"uninstallFilter")({filter:k}),B()}})})():(()=>{let Z=!0,R=()=>Z=!1;return(async()=>{try{const _=w??(x?[x]:void 0);let k=[];_&&(k=[_.flatMap(B=>(0,c.encodeEventTopics)({abi:[B],eventName:B.name,args:y}))],x&&(k=k[0]));const{unsubscribe:M}=await p.transport.subscribe({params:["logs",{address:g,topics:k}],onData(B){if(!Z)return;const C=B.result;try{const{eventName:q,args:W}=(0,c.decodeEventLog)({abi:_,data:C.data,topics:C.topics,strict:U}),I=(0,c.formatLog)(C,{args:W,eventName:q});j([I])}catch(q){let W,I;if(q instanceof n.DecodeLogDataMismatch||q instanceof n.DecodeLogTopicsMismatch){if(z)return;W=q.abiItem.name,I=q.abiItem.inputs?.some(O=>!("name"in O&&O.name))}const S=(0,c.formatLog)(C,{args:I?[]:{},eventName:W});j([S])}},onError(B){E?.(B)}});R=M,Z||R()}catch(_){E?.(_)}})(),R})()}return um.watchEvent=u,um}var lm={},sB;function Cre(){if(sB)return lm;sB=1,Object.defineProperty(lm,"__esModule",{value:!0}),lm.watchPendingTransactions=void 0;const e=kr(),t=od(),r=Ty(),n=ya(),a=cV(),i=kw(),c=Tw();function f(m,{batch:h=!0,onError:l,onTransactions:o,poll:u,pollingInterval:p=m.pollingInterval}){return(typeof u<"u"?u:m.transport.type!=="webSocket")?(()=>{const x=(0,n.stringify)(["watchPendingTransactions",m.uid,h,p]);return(0,t.observe)(x,{onTransactions:o,onError:l},w=>{let E;const j=(0,r.poll)(async()=>{try{if(!E)try{E=await(0,e.getAction)(m,a.createPendingTransactionFilter,"createPendingTransactionFilter")({});return}catch(F){throw j(),F}const T=await(0,e.getAction)(m,i.getFilterChanges,"getFilterChanges")({filter:E});if(T.length===0)return;if(h)w.onTransactions(T);else for(const F of T)w.onTransactions([F])}catch(T){w.onError?.(T)}},{emitOnBegin:!0,interval:p});return async()=>{E&&await(0,e.getAction)(m,c.uninstallFilter,"uninstallFilter")({filter:E}),j()}})})():(()=>{let x=!0,w=()=>x=!1;return(async()=>{try{const{unsubscribe:E}=await m.transport.subscribe({params:["newPendingTransactions"],onData(j){if(!x)return;const T=j.result;o([T])},onError(j){l?.(j)}});w=E,x||w()}catch(E){l?.(E)}})(),w})()}return lm.watchPendingTransactions=f,lm}var oB;function kV(){if(oB)return np;oB=1,Object.defineProperty(np,"__esModule",{value:!0}),np.publicActions=void 0;const e=ire(),t=cre(),r=ure(),n=lre(),a=sV(),i=ky(),c=dre(),f=iS(),m=oV(),h=cV(),l=Jz(),o=Yz(),u=uS(),p=Kz(),g=fre(),y=id(),b=Ry(),x=hre(),w=pre(),E=Ow(),j=dS(),T=gre(),F=kw(),z=yre(),K=cS(),U=lS(),H=_re(),V=xre(),Z=IS(),R=Ere(),_=Zz(),k=AV(),M=jre(),B=Do(),C=Xz(),q=Tw(),W=Sre(),I=kre(
18749),S=Tre(),O=SV(),Y=Rre(),Q=$z(),ne=Ore(),oe=Cre(),ge=Ay(),we=mS();function Ue(ye){return{call:de=>(0,i.call)(ye,de),createBlockFilter:()=>(0,c.createBlockFilter)(ye),createContractEventFilter:de=>(0,f.createContractEventFilter)(ye,de),createEventFilter:de=>(0,m.createEventFilter)(ye,de),createPendingTransactionFilter:()=>(0,h.createPendingTransactionFilter)(ye),estimateContractGas:de=>(0,l.estimateContractGas)(ye,de),estimateGas:de=>(0,u.estimateGas)(ye,de),getBalance:de=>(0,g.getBalance)(ye,de),getBlock:de=>(0,y.getBlock)(ye,de),getBlockNumber:de=>(0,b.getBlockNumber)(ye,de),getBlockTransactionCount:de=>(0,x.getBlockTransactionCount)(ye,de),getBytecode:de=>(0,w.getBytecode)(ye,de),getChainId:()=>(0,E.getChainId)(ye),getContractEvents:de=>(0,j.getContractEvents)(ye,de),getEnsAddress:de=>(0,e.getEnsAddress)(ye,de),getEnsAvatar:de=>(0,t.getEnsAvatar)(ye,de),getEnsName:de=>(0,r.getEnsName)(ye,de),getEnsResolver:de=>(0,n.getEnsResolver)(ye,de),getEnsText:de=>(0,a.getEnsText)(ye,de),getFeeHistory:de=>(0,T.getFeeHistory)(ye,de),estimateFeesPerGas:de=>(0,o.estimateFeesPerGas)(ye,de),getFilterChanges:de=>(0,F.getFilterChanges)(ye,de),getFilterLogs:de=>(0,z.getFilterLogs)(ye,de),getGasPrice:()=>(0,K.getGasPrice)(ye),getLogs:de=>(0,U.getLogs)(ye,de),getProof:de=>(0,H.getProof)(ye,de),estimateMaxPriorityFeePerGas:de=>(0,p.estimateMaxPriorityFeePerGas)(ye,de),getStorageAt:de=>(0,V.getStorageAt)(ye,de),getTransaction:de=>(0,Z.getTransaction)(ye,de),getTransactionConfirmations:de=>(0,R.getTransactionConfirmations)(ye,de),getTransactionCount:de=>(0,_.getTransactionCount)(ye,de),getTransactionReceipt:de=>(0,k.getTransactionReceipt)(ye,de),multicall:de=>(0,M.multicall)(ye,de),prepareTransactionRequest:de=>(0,ge.prepareTransactionRequest)(ye,de),readContract:de=>(0,B.readContract)(ye,de),sendRawTransaction:de=>(0,we.sendRawTransaction)(ye,de),simulateContract:de=>(0,C.simulateContract)(ye,de),verifyMessage:de=>(0,W.verifyMessage)(ye,de),verifyTypedData:de=>(0,I.verifyTypedData)(ye,de),uninstallFilter:de=>(0,q.uninstallFilter)(ye,de),waitForTransactionReceipt:de=>(0,S.waitForTransactionReceipt)(ye,de),watchBlocks:de=>(0,Y.watchBlocks)(ye,de),watchBlockNumber:de=>(0,O.watchBlockNumber)(ye,de),watchContractEvent:de=>(0,Q.watchContractEvent)(ye,de),watchEvent:de=>(0,ne.watchEvent)(ye,de),watchPendingTransactions:de=>(0,oe.watchPendingTransactions)(ye,de)}}return np.publicActions=Ue,np}var cB;function Ire(){if(cB)return rp;cB=1,Object.defineProperty(rp,"__esModule",{value:!0}),rp.createPublicClient=void 0;const e=Cw(),t=kV();function r(n){const{key:a="public",name:i="Public Client"}=n;return(0,e.createClient)({...n,key:a,name:i,type:"publicClient"}).extend(t.publicActions)}return rp.createPublicClient=r,rp}var dm={},fm={},hm={},uB;function Nre(){if(uB)return hm;uB=1,Object.defineProperty(hm,"__esModule",{value:!0}),hm.dropTransaction=void 0;async function e(t,{hash:r}){await t.request({method:`${t.mode}_dropTransaction`,params:[r]})}return hm.dropTransaction=e,hm}var pm={},lB;function Mre(){if(lB)return pm;lB=1,Object.defineProperty(pm,"__esModule",{value:!0}),pm.dumpState=void 0;async function e(t){return t.request({method:`${t.mode}_dumpState`})}return pm.dumpState=e,pm}var mm={},dB;function Fre(){if(dB)return mm;dB=1,Object.defineProperty(mm,"__esModule",{value:!0}),mm.getAutomine=void 0;async function e(t){return t.mode==="ganache"?await t.request({method:"eth_mining"}):await t.request({method:`${t.mode}_getAutomine`})}return mm.getAutomine=e,mm}var gm={},fB;function Bre(){if(fB)return gm;fB=1,Object.defineProperty(gm,"__esModule",{value:!0}),gm.getTxpoolContent=void 0;async function e(t){return await t.request({method:"txpool_content"})}return gm.getTxpoolContent=e,gm}var ym={},hB;function Ure(){if(hB)return ym;hB=1,Object.defineProperty(ym,"__esModule",{value:!0}),ym.getTxpoolStatus=void 0;const e=pn();async function t(r){const{pending:n,queued:a}=await r.request({method:"txpool_status"});return{pending:(0,e.hexToNumber)(n),queued:(0,e.hexToNumber)(a)}}return ym.getTxpoolStatus=t,ym}var bm={},pB;function qre(){if(pB)return bm;
18749pB=1,Object.defineProperty(bm,"__esModule",{value:!0}),bm.impersonateAccount=void 0;async function e(t,{address:r}){await t.request({method:`${t.mode}_impersonateAccount`,params:[r]})}return bm.impersonateAccount=e,bm}var vm={},mB;function Lre(){if(mB)return vm;mB=1,Object.defineProperty(vm,"__esModule",{value:!0}),vm.increaseTime=void 0;const e=ht();async function t(r,{seconds:n}){return await r.request({method:"evm_increaseTime",params:[(0,e.numberToHex)(n)]})}return vm.increaseTime=t,vm}var wm={},gB;function Dre(){if(gB)return wm;gB=1,Object.defineProperty(wm,"__esModule",{value:!0}),wm.inspectTxpool=void 0;async function e(t){return await t.request({method:"txpool_inspect"})}return wm.inspectTxpool=e,wm}var _m={},yB;function zre(){if(yB)return _m;yB=1,Object.defineProperty(_m,"__esModule",{value:!0}),_m.loadState=void 0;async function e(t,{state:r}){await t.request({method:`${t.mode}_loadState`,params:[r]})}return _m.loadState=e,_m}var xm={},bB;function Vre(){if(bB)return xm;bB=1,Object.defineProperty(xm,"__esModule",{value:!0}),xm.mine=void 0;const e=ht();async function t(r,{blocks:n,interval:a}){r.mode==="ganache"?await r.request({method:"evm_mine",params:[{blocks:(0,e.numberToHex)(n)}]}):await r.request({method:`${r.mode}_mine`,params:[(0,e.numberToHex)(n),(0,e.numberToHex)(a||0)]})}return xm.mine=t,xm}var Em={},vB;function Hre(){if(vB)return Em;vB=1,Object.defineProperty(Em,"__esModule",{value:!0}),Em.removeBlockTimestampInterval=void 0;async function e(t){await t.request({method:`${t.mode}_removeBlockTimestampInterval`})}return Em.removeBlockTimestampInterval=e,Em}var jm={},wB;function Wre(){if(wB)return jm;wB=1,Object.defineProperty(jm,"__esModule",{value:!0}),jm.reset=void 0;async function e(t,{blockNumber:r,jsonRpcUrl:n}={}){await t.request({method:`${t.mode}_reset`,params:[{forking:{blockNumber:Number(r),jsonRpcUrl:n}}]})}return jm.reset=e,jm}var Am={},_B;function Gre(){if(_B)return Am;_B=1,Object.defineProperty(Am,"__esModule",{value:!0}),Am.revert=void 0;async function e(t,{id:r}){await t.request({method:"evm_revert",params:[r]})}return Am.revert=e,Am}var Pm={},xB;function Kre(){if(xB)return Pm;xB=1,Object.defineProperty(Pm,"__esModule",{value:!0}),Pm.sendUnsignedTransaction=void 0;const e=xy(),t=ju();async function r(n,a){const{accessList:i,data:c,from:f,gas:m,gasPrice:h,maxFeePerGas:l,maxPriorityFeePerGas:o,nonce:u,to:p,value:g,...y}=a,b=n.chain?.formatters?.transactionRequest?.format,w=(b||t.formatTransactionRequest)({...(0,e.extract)(y,{format:b}),accessList:i,data:c,from:f,gas:m,gasPrice:h,maxFeePerGas:l,maxPriorityFeePerGas:o,nonce:u,to:p,value:g});return await n.request({method:"eth_sendUnsignedTransaction",params:[w]})}return Pm.sendUnsignedTransaction=r,Pm}var Sm={},EB;function Yre(){if(EB)return Sm;EB=1,Object.defineProperty(Sm,"__esModule",{value:!0}),Sm.setAutomine=void 0;async function e(t,r){t.mode==="ganache"?r?await t.request({method:"miner_start"}):await t.request({method:"miner_stop"}):await t.request({method:"evm_setAutomine",params:[r]})}return Sm.setAutomine=e,Sm}var km={},jB;function Zre(){if(jB)return km;jB=1,Object.defineProperty(km,"__esModule",{value:!0}),km.setBalance=void 0;const e=ht();async function t(r,{address:n,value:a}){r.mode==="ganache"?await r.request({method:"evm_setAccountBalance",params:[n,(0,e.numberToHex)(a)]}):await r.request({method:`${r.mode}_setBalance`,params:[n,(0,e.numberToHex)(a)]})}return km.setBalance=t,km}var Tm={},AB;function Jre(){if(AB)return Tm;AB=1,Object.defineProperty(Tm,"__esModule",{value:!0}),Tm.setBlockGasLimit=void 0;const e=ht();async function t(r,{gasLimit:n}){await r.request({method:"evm_setBlockGasLimit",params:[(0,e.numberToHex)(n)]})}return Tm.setBlockGasLimit=t,Tm}var Rm={},PB;function Qre(){if(PB)return Rm;PB=1,Object.defineProperty(Rm,"__esModule",{value:!0}),Rm.setBlockTimestampInterval=void 0;async function e(t,{interval:r}){const n=t.mode==="hardhat"?r*1e3:r;await t.request({method:`${t.mode}_setBlockTimestampInterval`,params:[n]})}return Rm.setBlockTimestampInterval=e,Rm}var Om={},SB;function Xre(){if(SB)return Om;
18749SB=1,Object.defineProperty(Om,"__esModule",{value:!0}),Om.setCode=void 0;async function e(t,{address:r,bytecode:n}){await t.request({method:`${t.mode}_setCode`,params:[r,n]})}return Om.setCode=e,Om}var Cm={},kB;function $re(){if(kB)return Cm;kB=1,Object.defineProperty(Cm,"__esModule",{value:!0}),Cm.setCoinbase=void 0;async function e(t,{address:r}){await t.request({method:`${t.mode}_setCoinbase`,params:[r]})}return Cm.setCoinbase=e,Cm}var Im={},TB;function ene(){if(TB)return Im;TB=1,Object.defineProperty(Im,"__esModule",{value:!0}),Im.setIntervalMining=void 0;async function e(t,{interval:r}){const n=t.mode==="hardhat"?r*1e3:r;await t.request({method:"evm_setIntervalMining",params:[n]})}return Im.setIntervalMining=e,Im}var Nm={},RB;function tne(){if(RB)return Nm;RB=1,Object.defineProperty(Nm,"__esModule",{value:!0}),Nm.setLoggingEnabled=void 0;async function e(t,r){await t.request({method:`${t.mode}_setLoggingEnabled`,params:[r]})}return Nm.setLoggingEnabled=e,Nm}var Mm={},OB;function rne(){if(OB)return Mm;OB=1,Object.defineProperty(Mm,"__esModule",{value:!0}),Mm.setMinGasPrice=void 0;const e=ht();async function t(r,{gasPrice:n}){await r.request({method:`${r.mode}_setMinGasPrice`,params:[(0,e.numberToHex)(n)]})}return Mm.setMinGasPrice=t,Mm}var Fm={},CB;function nne(){if(CB)return Fm;CB=1,Object.defineProperty(Fm,"__esModule",{value:!0}),Fm.setNextBlockBaseFeePerGas=void 0;const e=ht();async function t(r,{baseFeePerGas:n}){await r.request({method:`${r.mode}_setNextBlockBaseFeePerGas`,params:[(0,e.numberToHex)(n)]})}return Fm.setNextBlockBaseFeePerGas=t,Fm}var Bm={},IB;function ane(){if(IB)return Bm;IB=1,Object.defineProperty(Bm,"__esModule",{value:!0}),Bm.setNextBlockTimestamp=void 0;const e=ht();async function t(r,{timestamp:n}){await r.request({method:"evm_setNextBlockTimestamp",params:[(0,e.numberToHex)(n)]})}return Bm.setNextBlockTimestamp=t,Bm}var Um={},NB;function ine(){if(NB)return Um;NB=1,Object.defineProperty(Um,"__esModule",{value:!0}),Um.setNonce=void 0;const e=ht();async function t(r,{address:n,nonce:a}){await r.request({method:`${r.mode}_setNonce`,params:[n,(0,e.numberToHex)(a)]})}return Um.setNonce=t,Um}var qm={},MB;function sne(){if(MB)return qm;MB=1,Object.defineProperty(qm,"__esModule",{value:!0}),qm.setRpcUrl=void 0;async function e(t,r){await t.request({method:`${t.mode}_setRpcUrl`,params:[r]})}return qm.setRpcUrl=e,qm}var Lm={},FB;function one(){if(FB)return Lm;FB=1,Object.defineProperty(Lm,"__esModule",{value:!0}),Lm.setStorageAt=void 0;const e=ht();async function t(r,{address:n,index:a,value:i}){await r.request({method:`${r.mode}_setStorageAt`,params:[n,typeof a=="number"?(0,e.numberToHex)(a):a,i]})}return Lm.setStorageAt=t,Lm}var Dm={},BB;function cne(){if(BB)return Dm;BB=1,Object.defineProperty(Dm,"__esModule",{value:!0}),Dm.snapshot=void 0;async function e(t){return await t.request({method:"evm_snapshot"})}return Dm.snapshot=e,Dm}var zm={},UB;function une(){if(UB)return zm;UB=1,Object.defineProperty(zm,"__esModule",{value:!0}),zm.stopImpersonatingAccount=void 0;async function e(t,{address:r}){await t.request({method:`${t.mode}_stopImpersonatingAccount`,params:[r]})}return zm.stopImpersonatingAccount=e,zm}var qB;function TV(){if(qB)return fm;qB=1,Object.defineProperty(fm,"__esModule",{value:!0}),fm.testActions=void 0;const e=Nre(),t=Mre(),r=Fre(),n=Bre(),a=Ure(),i=qre(),c=Lre(),f=Dre(),m=zre(),h=Vre(),l=Hre(),o=Wre(),u=Gre(),p=Kre(),g=Yre(),y=Zre(),b=Jre(),x=Qre(),w=Xre(),E=$re(),j=ene(),T=tne(),F=rne(),z=nne(),K=ane(),U=ine(),H=sne(),V=one(),Z=cne(),R=une();function _({mode:k}){return M=>{const B=M.extend(()=>({mode:k}));return{dropTransaction:C=>(0,e.dropTransaction)(B,C),dumpState:()=>(0,t.dumpState)(B),getAutomine:()=>(0,r.getAutomine)(B),getTxpoolContent:()=>(0,n.getTxpoolContent)(B),getTxpoolStatus:()=>(0,a.getTxpoolStatus)(B),impersonateAccount:C=>(0,i.impersonateAccount)(B,C),increaseTime:C=>(0,c.increaseTime)(B,C),inspectTxpool:()=>(0,f.inspectTxpool)(B),loadState:C=>(0,m.loadState)(B,C),mine:C=>(0,h.mine)(B,C),removeBlockTimestampInterval:()=>(0,l.removeBlockTimestampInterval)(B),reset:C=>(0,o.reset)(B,C),revert:C=>(0,u.revert)(B,C),sendUnsignedTransaction:C=>(0,p.sendUnsignedTransaction)(B,C),setAutomine:C=>(0,g.setAutomine)(B,C),setBalance:C=>(0,y.setBalance)(B,C),setBlockGasLimit:C=>(0,b.setBlockGasLimit)(B,C),setBlockTimestampInterval:C=>(0,x.setBlockTimestampInterval)(B,C),setCode:C=>(0,w.setCode)(B,C),setCoinbase:C=>(0,E.setCoinbase)(B,C),setIntervalMining:C=>(0,j.setIntervalMining)(B,C),setLoggingEnabled:C=>(0,T.setLoggingEnabled)(B,C),setMinGasPrice:C=>(0,F.setMinGasPrice)(B,C),setNextBlockBaseFeePerGas:C=>(0,z.setNextBlockBaseFeePerGas)(B,C),setNextBlockTimestamp:C=>(0,K.setNextBlockTimestamp)(B,C),setNonce:C=>(0,U.setNonce)(B,C),setRpcUrl:C=>(0,H.setRpcUrl)(B,C),setStorageAt:C=>(0,V.setStorageAt)(B,C),snapshot:()=>(0,Z.snapshot)(B),stopImpersonatingAccount:C=>(0,R.stopImpersonatingAccount)(B,C)}}}return fm.testActions=_,fm}var LB;
18749function lne(){if(LB)return dm;LB=1,Object.defineProperty(dm,"__esModule",{value:!0}),dm.createTestClient=void 0;const e=Cw(),t=TV();function r(n){const{key:a="test",name:i="Test Client",mode:c}=n;return(0,e.createClient)({...n,key:a,name:i,type:"testClient"}).extend(m=>({mode:c,...(0,t.testActions)({mode:c})(m)}))}return dm.createTestClient=r,dm}var Vm={},Hm={},DB;function dne(){if(DB)return Hm;DB=1,Object.defineProperty(Hm,"__esModule",{value:!0}),Hm.addChain=void 0;const e=ht();async function t(r,{chain:n}){const{id:a,name:i,nativeCurrency:c,rpcUrls:f,blockExplorers:m}=n;await r.request({method:"wallet_addEthereumChain",params:[{chainId:(0,e.numberToHex)(a),chainName:i,nativeCurrency:c,rpcUrls:f.default.http,blockExplorerUrls:m?Object.values(m).map(({url:h})=>h):void 0}]})}return Hm.addChain=t,Hm}var Wm={},zB;function fne(){if(zB)return Wm;zB=1,Object.defineProperty(Wm,"__esModule",{value:!0}),Wm.deployContract=void 0;const e=ES(),t=gS();function r(n,{abi:a,args:i,bytecode:c,...f}){const m=(0,e.encodeDeployData)({abi:a,args:i,bytecode:c});return(0,t.sendTransaction)(n,{...f,data:m})}return Wm.deployContract=r,Wm}var Gm={},VB;function hne(){if(VB)return Gm;VB=1,Object.defineProperty(Gm,"__esModule",{value:!0}),Gm.getAddresses=void 0;const e=Hs();async function t(r){return r.account?.type==="local"?[r.account.address]:(await r.request({method:"eth_accounts"})).map(a=>(0,e.checksumAddress)(a))}return Gm.getAddresses=t,Gm}var Km={},HB;function pne(){if(HB)return Km;HB=1,Object.defineProperty(Km,"__esModule",{value:!0}),Km.getPermissions=void 0;async function e(t){return await t.request({method:"wallet_getPermissions"})}return Km.getPermissions=e,Km}var Ym={},WB;function mne(){if(WB)return Ym;
18749WB=1,Object.defineProperty(Ym,"__esModule",{value:!0}),Ym.requestAddresses=void 0;const e=Hs();async function t(r){return(await r.request({method:"eth_requestAccounts"})).map(a=>(0,e.getAddress)(a))}return Ym.requestAddresses=t,Ym}var Zm={},GB;function gne(){if(GB)return Zm;GB=1,Object.defineProperty(Zm,"__esModule",{value:!0}),Zm.requestPermissions=void 0;async function e(t,r){return t.request({method:"wallet_requestPermissions",params:[r]})}return Zm.requestPermissions=e,Zm}var Jm={},KB;function yne(){if(KB)return Jm;KB=1,Object.defineProperty(Jm,"__esModule",{value:!0}),Jm.signMessage=void 0;const e=ga(),t=ad(),r=ht();async function n(a,{account:i=a.account,message:c}){if(!i)throw new t.AccountNotFoundError({docsPath:"/docs/actions/wallet/signMessage"});const f=(0,e.parseAccount)(i);if(f.type==="local")return f.signMessage({message:c});const m=typeof c=="string"?(0,r.stringToHex)(c):c.raw instanceof Uint8Array?(0,r.toHex)(c.raw):c.raw;return a.request({method:"personal_sign",params:[m,f.address]})}return Jm.signMessage=n,Jm}var Qm={},YB;function bne(){if(YB)return Qm;YB=1,Object.defineProperty(Qm,"__esModule",{value:!0}),Qm.signTransaction=void 0;const e=ga(),t=ad(),r=Rw(),n=ju(),a=kr(),i=ud(),c=Au(),f=Ow();async function m(h,l){const{account:o=h.account,chain:u=h.chain,...p}=l;if(!o)throw new t.AccountNotFoundError({docsPath:"/docs/actions/wallet/signTransaction"});const g=(0,e.parseAccount)(o);(0,c.assertRequest)({account:g,...l});const y=await(0,a.getAction)(h,f.getChainId,"getChainId")({});u!==null&&(0,r.assertCurrentChain)({currentChainId:y,chain:u});const x=(u?.formatters||h.chain?.formatters)?.transactionRequest?.format||n.formatTransactionRequest;return g.type==="local"?g.signTransaction({...p,chainId:y},{serializer:h.chain?.serializers?.transaction}):await h.request({method:"eth_signTransaction",params:[{...x(p),chainId:(0,i.numberToHex)(y),from:g.address}]})}return Qm.signTransaction=m,Qm}var Xm={},ZB;function vne(){if(ZB)return Xm;ZB=1,Object.defineProperty(Xm,"__esModule",{value:!0}),Xm.signTypedData=void 0;const e=ga(),t=ad(),r=Vn(),n=ya(),a=Nw();async function i(c,{account:f=c.account,domain:m,message:h,primaryType:l,types:o}){if(!f)throw new t.AccountNotFoundError({docsPath:"/docs/actions/wallet/signTypedData"});const u=(0,e.parseAccount)(f),p={EIP712Domain:(0,a.getTypesForEIP712Domain)({domain:m}),...o};if((0,a.validateTypedData)({domain:m,message:h,primaryType:l,types:p}),u.type==="local")return u.signTypedData({domain:m,primaryType:l,types:p,message:h});const g=(0,n.stringify)({domain:m??{},primaryType:l,types:p,message:h},(y,b)=>(0,r.isHex)(b)?b.toLowerCase():b);return c.request({method:"eth_signTypedData_v4",params:[u.address,g]})}return Xm.signTypedData=i,Xm}var $m={},JB;function wne(){if(JB)return $m;JB=1,Object.defineProperty($m,"__esModule",{value:!0}),$m.switchChain=void 0;const e=ht();async function t(r,{id:n}){await r.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,e.numberToHex)(n)}]})}return $m.switchChain=t,$m}var e0={},QB;function _ne(){if(QB)return e0;QB=1,Object.defineProperty(e0,"__esModule",{value:!0}),e0.watchAsset=void 0;async function e(t,r){return await t.request({method:"wallet_watchAsset",params:r})}return e0.watchAsset=e,e0}var XB;function RV(){if(XB)return Vm;XB=1,Object.defineProperty(Vm,"__esModule",{value:!0}),Vm.walletActions=void 0;const e=Ow(),t=dne(),r=fne(),n=hne(),a=pne(),i=Ay(),c=mne(),f=gne(),m=mS(),h=gS(),l=yne(),o=bne(),u=vne(),p=wne(),g=_ne(),y=tV();function b(x){return{addChain:w=>(0,t.addChain)(x,w),deployContract:w=>(0,r.deployContract)(x,w),getAddresses:()=>(0,n.getAddresses)(x),getChainId:()=>(0,e.getChainId)(x),getPermissions:()=>(0,a.getPermissions)(x),prepareTransactionRequest:w=>(0,i.prepareTransactionRequest)(x,w),requestAddresses:()=>(0,c.requestAddresses)(x),requestPermissions:w=>(0,f.requestPermissions)(x,w),sendRawTransaction:w=>(0,m.sendRawTransaction)(x,w),sendTransaction:w=>(0,h.sendTransaction)(x,w),signMessage:w=>(0,l.signMessage)(x,w),signTransaction:w=>(0,o.signTransaction)(x,w),signTypedData:w=>(0,u.signTypedData)(x,w),switchChain:w=>(0,p.switchChain)(x,w),watchAsset:w=>(0,g.watchAsset)(x,w),writeContract:w=>(0,y.writeContract)(x,w)}}return Vm.walletActions=b,Vm}var t0={},$B;function xne(){if($B)return t0;$B=1,Object.defineProperty(t0,"__esModule",{value:!0}),t0.createWalletClient=void 0;const e=Cw(),t=RV();function r(n){const{key:a="wallet",name:i="Wallet Client",transport:c}=n;return(0,e.createClient)({...n,key:a,name:i,transport:m=>c({...m,retryCount:0}),type:"walletClient"}).extend(t.walletActions)}return t0.createWalletClient=r,t0}var r0={},e5;function Ene(){if(e5)return r0;e5=1,Object.defineProperty(r0,"__esModule",{value:!0}),r0.webSocket=void 0;const e=Uo(),t=bS(),r=vS(),n=Oy();function a(i,c={}){const{key:f="webSocket",name:m="WebSocket JSON-RPC",retryDelay:h}=c;return({chain:l,retryCount:o,timeout:u})=>{const p=c.retryCount??o,g=u??c.timeout??1e4,y=i||l?.rpcUrls.default.webSocket?.[0];if(!y)throw new t.UrlRequiredError;return(0,n.createTransport)({key:f,name:m,async request({method:b,params:x}){const w={method:b,params:x},E=await(0,r.getSocket)(y),{error:j,result:T}
18749=await r.rpc.webSocketAsync(E,{body:w,timeout:g});if(j)throw new e.RpcRequestError({body:w,error:j,url:y});return T},retryCount:p,retryDelay:h,timeout:g,type:"webSocket"},{getSocket(){return(0,r.getSocket)(y)},async subscribe({params:b,onData:x,onError:w}){const E=await(0,r.getSocket)(y),{result:j}=await new Promise((T,F)=>r.rpc.webSocket(E,{body:{method:"eth_subscribe",params:b},onResponse(z){if(z.error){F(z.error),w?.(z.error);return}if(typeof z.id=="number"){T(z);return}z.method==="eth_subscription"&&x(z.params)}}));return{subscriptionId:j,async unsubscribe(){return new Promise(T=>r.rpc.webSocket(E,{body:{method:"eth_unsubscribe",params:[j]},onResponse:T}))}}}})}}return r0.webSocket=a,r0}var n0={},t5;function jne(){return t5||(t5=1,Object.defineProperty(n0,"__esModule",{value:!0}),n0.zeroAddress=void 0,n0.zeroAddress="0x0000000000000000000000000000000000000000"),n0}var pe={},r5;function Ane(){return r5||(r5=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.minInt144=pe.minInt136=pe.minInt128=pe.minInt120=pe.minInt112=pe.minInt104=pe.minInt96=pe.minInt88=pe.minInt80=pe.minInt72=pe.minInt64=pe.minInt56=pe.minInt48=pe.minInt40=pe.minInt32=pe.minInt24=pe.minInt16=pe.minInt8=pe.maxInt256=pe.maxInt248=pe.maxInt240=pe.maxInt232=pe.maxInt224=pe.maxInt216=pe.maxInt208=pe.maxInt200=pe.maxInt192=pe.maxInt184=pe.maxInt176=pe.maxInt168=pe.maxInt160=pe.maxInt152=pe.maxInt144=pe.maxInt136=pe.maxInt128=pe.maxInt120=pe.maxInt112=pe.maxInt104=pe.maxInt96=pe.maxInt88=pe.maxInt80=pe.maxInt72=pe.maxInt64=pe.maxInt56=pe.maxInt48=pe.maxInt40=pe.maxInt32=pe.maxInt24=pe.maxInt16=pe.maxInt8=void 0,pe.maxUint256=pe.maxUint248=pe.maxUint240=pe.maxUint232=pe.maxUint224=pe.maxUint216=pe.maxUint208=pe.maxUint200=pe.maxUint192=pe.maxUint184=pe.maxUint176=pe.maxUint168=pe.maxUint160=pe.maxUint152=pe.maxUint144=pe.maxUint136=pe.maxUint128=pe.maxUint120=pe.maxUint112=pe.maxUint104=pe.maxUint96=pe.maxUint88=pe.maxUint80=pe.maxUint72=pe.maxUint64=pe.maxUint56=pe.maxUint48=pe.maxUint40=pe.maxUint32=pe.maxUint24=pe.maxUint16=pe.maxUint8=pe.minInt256=pe.minInt248=pe.minInt240=pe.minInt232=pe.minInt224=pe.minInt216=pe.minInt208=pe.minInt200=pe.minInt192=pe.minInt184=pe.minInt176=pe.minInt168=pe.minInt160=pe.minInt152=void 0,pe.maxInt8=2n**(8n-1n)-1n,pe.maxInt16=2n**(16n-1n)-1n,pe.maxInt24=2n**(24n-1n)-1n,pe.maxInt32=2n**(32n-1n)-1n,pe.maxInt40=2n**(40n-1n)-1n,pe.maxInt48=2n**(48n-1n)-1n,pe.maxInt56=2n**(56n-1n)-1n,pe.maxInt64=2n**(64n-1n)-1n,pe.maxInt72=2n**(72n-1n)-1n,pe.maxInt80=2n**(80n-1n)-1n,pe.maxInt88=2n**(88n-1n)-1n,pe.maxInt96=2n**(96n-1n)-1n,pe.maxInt104=2n**(104n-1n)-1n,pe.maxInt112=2n**(112n-1n)-1n,pe.maxInt120=2n**(120n-1n)-1n,pe.maxInt128=2n**(128n-1n)-1n,pe.maxInt136=2n**(136n-1n)-1n,pe.maxInt144=2n**(144n-1n)-1n,pe.maxInt152=2n**(152n-1n)-1n,pe.maxInt160=2n**(160n-1n)-1n,pe.maxInt168=2n**(168n-1n)-1n,pe.maxInt176=2n**(176n-1n)-1n,pe.maxInt184=2n**(184n-1n)-1n,pe.maxInt192=2n**(192n-1n)-1n,pe.maxInt200=2n**(200n-1n)-1n,pe.maxInt208=2n**(208n-1n)-1n,pe.maxInt216=2n**(216n-1n)-1n,pe.maxInt224=2n**(224n-1n)-1n,pe.maxInt232=2n**(232n-1n)-1n,pe.maxInt240=2n**(240n-1n)-1n,pe.maxInt248=2n**(248n-1n)-1n,pe.maxInt256=2n**(256n-1n)-1n,pe.minInt8=-(2n**(8n-1n)),pe.minInt16=-(2n**(16n-1n)),pe.minInt24=-(2n**(24n-1n)),pe.minInt32=-(2n**(32n-1n)),pe.minInt40=-(2n**(40n-1n)),pe.minInt48=-(2n**(48n-1n)),pe.minInt56=-(2n**(56n-1n)),pe.minInt64=-(2n**(64n-1n)),pe.minInt72=-(2n**(72n-1n)),pe.minInt80=-(2n**(80n-1n)),pe.minInt88=-(2n**(88n-1n)),pe.minInt96=-(2n**(96n-1n)),pe.minInt104=-(2n**(104n-1n)),pe.minInt112=-(2n**(112n-1n)),pe.minInt120=-(2n**(120n-1n)),pe.minInt128=-(2n**(128n-1n)),pe.minInt136=-(2n**(136n-1n)),pe.minInt144=-(2n**(144n-1n)),pe.minInt152=-(2n**(152n-1n)),pe.minInt160=-(2n**(160n-1n)),pe.minInt168=-(2n**(168n-1n)),pe.minInt176=-(2n**(176n-1n)),pe.minInt184=-(2n**(184n-1n)),pe.minInt192=-(2n**(192n-1n)),pe.minInt200=-(2n**(200n-1n)),pe.minInt208=-(2n**(208n-1n)),pe.minInt216=-(2n**(216n-1n)),pe.minInt224=-(2n**(224n-1n)),pe.minInt232=-(2n**(232n-1n)),pe.minInt240=-(2n**(240n-1n)),pe.minInt248=-(2n**(248n-1n)),pe.minInt256=-(2n**(256n-1n)),pe.maxUint8=2n**8n-1n,pe.maxUint16=2n**16n-1n,pe.maxUint24=2n**24n-1n,pe.maxUint32=2n**32n-1n,pe.maxUint40=2n**40n-1n,pe.maxUint48=2n**48n-1n,pe.maxUint56=2n**56n-1n,pe.maxUint64=2n**64n-1n,pe.maxUint72=2n**72n-1n,pe.maxUint80=2n**80n-1n,pe.maxUint88=2n**88n-1n,pe.maxUint96=2n**96n-1n,pe.maxUint104=2n**104n-1n,pe.maxUint112=2n**112n-1n,pe.maxUint120=2n**120n-1n,pe.maxUint128=2n**128n-1n,pe.maxUint136=2n**136n-1n,pe.maxUint144=2n**144n-1n,pe.maxUint152=2n**152n-1n,pe.maxUint160=2n**160n-1n,pe.maxUint168=2n**168n-1n,pe.maxUint176=2n**176n-1n,pe.maxUint184=2n**184n-1n,pe.maxUint192=2n**192n-1n,pe.maxUint200=2n**200n-1n,pe.maxUint208=2n**208n-1n,pe.maxUint216=2n**216n-1n,pe.maxUint224=2n**224n-1n,pe.maxUint232=2n**232n-1n,pe.maxUint240=2n**240n-1n,pe.maxUint248=2n**248n-1n,pe.maxUint256=2n**256n-1n),pe}var a0={},n5;function Pne(){return n5||(n5=1,Object.defineProperty(a0,"__esModule",{value:!0}),a0.zeroHash=void 0,a0.zeroHash="0x0000000000000000000000000000000000000000000000000000000000000000"),a0}var i0={},a5;function Sne(){if(a5)return i0;a5=1,Object.defineProperty(i0,"__esModule",{value:!0}),i0.decodeDeployData=void 0;const e=Tr(),t=_u(),r="/docs/contract/decodeDeployData";function n({abi:a,bytecode:i,data:c}){if(c===i)return{bytecode:i}
18749;const f=a.find(h=>"type"in h&&h.type==="constructor");if(!f)throw new e.AbiConstructorNotFoundError({docsPath:r});if(!("inputs"in f))throw new e.AbiConstructorParamsNotFoundError({docsPath:r});if(!f.inputs||f.inputs.length===0)throw new e.AbiConstructorParamsNotFoundError({docsPath:r});return{args:(0,t.decodeAbiParameters)(f.inputs,`0x${c.replace(i,"")}`),bytecode:i}}return i0.decodeDeployData=n,i0}var s0={},i5;function kne(){if(i5)return s0;i5=1,Object.defineProperty(s0,"__esModule",{value:!0}),s0.compactSignatureToSignature=void 0;const e=hn(),t=ht();function r({r:n,yParityAndS:a}){const i=(0,e.hexToBytes)(a),c=i[0]&128?28n:27n,f=i;return c===28n&&(f[0]&=127),{r:n,s:(0,t.bytesToHex)(f),v:c}}return s0.compactSignatureToSignature=r,s0}var o0={},s5;function Tne(){if(s5)return o0;s5=1,Object.defineProperty(o0,"__esModule",{value:!0}),o0.hexToCompactSignature=void 0;const e=Ki(),t=ht();function r(n){const{r:a,s:i}=e.secp256k1.Signature.fromCompact(n.slice(2,130));return{r:(0,t.numberToHex)(a,{size:32}),yParityAndS:(0,t.numberToHex)(i,{size:32})}}return o0.hexToCompactSignature=r,o0}var c0={},o5;function Rne(){if(o5)return c0;o5=1,Object.defineProperty(c0,"__esModule",{value:!0}),c0.hexToSignature=void 0;const e=Ki(),t=ht();function r(n){const{r:a,s:i}=e.secp256k1.Signature.fromCompact(n.slice(2,130)),c=BigInt(`0x${n.slice(130)}`);return{r:(0,t.numberToHex)(a,{size:32}),s:(0,t.numberToHex)(i,{size:32}),v:c}}return c0.hexToSignature=r,c0}var u0={},c5;function One(){if(c5)return u0;c5=1,Object.defineProperty(u0,"__esModule",{value:!0}),u0.signatureToCompactSignature=void 0;const e=ud();function t(r){const{r:n,s:a,v:i}=r,c=i-27n;let f=a;if(c===1n){const m=(0,e.hexToBytes)(a);m[0]|=128,f=(0,e.bytesToHex)(m)}return{r:n,yParityAndS:f}}return u0.signatureToCompactSignature=t,u0}var l0={},u5;function Cne(){if(u5)return l0;u5=1,Object.defineProperty(l0,"__esModule",{value:!0}),l0.compactSignatureToHex=void 0;const e=Ki(),t=pn();function r({r:n,yParityAndS:a}){return`0x${new e.secp256k1.Signature((0,t.hexToBigInt)(n),(0,t.hexToBigInt)(a)).toCompactHex()}`}return l0.compactSignatureToHex=r,l0}var l5;function Ine(){return l5||(l5=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.maxInt112=e.maxInt104=e.maxInt96=e.maxInt88=e.maxInt80=e.maxInt72=e.maxInt64=e.maxInt56=e.maxInt48=e.maxInt40=e.maxInt32=e.maxInt24=e.maxInt16=e.maxInt8=e.weiUnits=e.gweiUnits=e.etherUnits=e.zeroAddress=e.multicall3Abi=e.webSocket=e.createWalletClient=e.createTransport=e.walletActions=e.testActions=e.publicActions=e.createTestClient=e.createPublicClient=e.http=e.fallback=e.custom=e.createClient=e.getContract=e.parseAbiParameters=e.parseAbiParameter=e.parseAbiItem=e.parseAbi=e.UnknownSignatureError=e.UnknownTypeError=e.SolidityProtectedKeywordError=e.InvalidStructSignatureError=e.InvalidSignatureError=e.InvalidParenthesisError=e.InvalidParameterError=e.InvalidModifierError=e.InvalidFunctionModifierError=e.InvalidAbiTypeParameterError=e.InvalidAbiItemError=e.InvalidAbiParametersError=e.InvalidAbiParameterError=e.CircularReferenceError=void 0,e.maxUint256=e.maxUint248=e.maxUint240=e.maxUint232=e.maxUint224=e.maxUint216=e.maxUint208=e.maxUint200=e.maxUint192=e.maxUint184=e.maxUint176=e.maxUint168=e.maxUint160=e.maxUint152=e.maxUint144=e.maxUint136=e.maxUint128=e.maxUint120=e.maxUint112=e.maxUint104=e.maxUint96=e.maxUint88=e.maxUint80=e.maxUint72=e.maxUint64=e.maxUint56=e.maxUint48=e.maxUint40=e.maxUint32=e.maxUint24=e.maxUint16=e.maxUint8=e.maxInt256=e.maxInt248=e.maxInt240=e.maxInt232=e.maxInt224=e.maxInt216=e.maxInt208=e.maxInt200=e.maxInt192=e.maxInt184=e.maxInt176=e.maxInt168=e.maxInt160=e.maxInt152=e.maxInt144=e.maxInt136=e.maxInt128=e.maxInt120=void 0,e.AbiFunctionOutputsNotFoundError=e.AbiFunctionNotFoundError=e.AbiEventSignatureNotFoundError=e.AbiEventSignatureEmptyTopicsError=e.AbiEventNotFoundError=e.AbiErrorSignatureNotFoundError=e.AbiErrorNotFoundError=e.AbiErrorInputsNotFoundError=e.AbiEncodingBytesSizeMismatchError=e.AbiEncodingLengthMismatchError=e.AbiEncodingArrayLengthMismatchError=e.AbiDecodingZeroDataError=e.AbiDecodingDataSizeTooSmallError=e.AbiDecodingDataSizeInvalidError=e.AbiConstructorParamsNotFoundError=e.AbiConstructorNotFoundError=e.presignMessagePrefix=e.zeroHash=e.minInt256=e.minInt248=e.minInt240=e.minInt232=e.minInt224=e.minInt216=e.minInt208=e.minInt200=e.minInt192=e.minInt184=e.minInt176=e.minInt168=e.minInt160=e.minInt152=e.minInt144=e.minInt136=e.minInt128=e.minInt120=e.minInt112=e.minInt104=e.minInt96=e.minInt88=e.minInt80=e.minInt72=e.minInt64=e.minInt56=e.minInt48=e.minInt40=e.minInt32=e.minInt24=e.minInt16=e.minInt8=void 0,e.InvalidHexBooleanError=e.IntegerOutOfRangeError=e.InvalidBytesBooleanError=e.DataLengthTooShortError=e.DataLengthTooLongError=e.InvalidChainIdError=e.ClientChainNotConfiguredError=e.ChainNotFoundError=e.ChainMismatchError=e.ChainDoesNotSupportContract=e.UserRejectedRequestError=e.UnsupportedProviderMethodError=e.UnknownRpcError=e.UnauthorizedProviderError=e.TransactionRejectedRpcError=e.SwitchChainError=e.RpcError=e.ResourceUnavailableRpcError=e.ResourceNotFoundRpcError=e.ProviderRpcError=e.ProviderDisconnectedError=e.ParseRpcError=e.MethodNotSupportedRpcError=e.MethodNotFoundRpcError=e.LimitExceededRpcError=e.JsonRpcVersionUnsupportedError=e.InvalidRequestRpcError=e.InvalidParamsRpcError=e.InvalidInputRpcError=e.InternalRpcError=e.ChainDisconnectedError=e.MaxFeePerGasTooLowError=e.Eip1559FeesNotSupportedError=e.BaseFeeScalarError=e.RawContractError=e.ContractFunctionZeroDataError=e.ContractFunctionRevertedError=e.ContractFunctionExecutionError=e.CallExecutionError=e.BlockNotFoundError=e.BaseError=e.UnsupportedPackedAbiType=e.InvalidDefinitionTypeError=e.InvalidArrayError=e.InvalidAbiEncodingTypeError=e.InvalidAbiDecodingTypeError=e.DecodeLogTopicsMismatch=e.DecodeLogDataMismatch=e.BytesSizeMismatchError=e.AbiFunctionSignatureNotFoundError=void 0,e.encodeAbiParameters=e.decodeFunctionResult=e.decodeFunctionData=e.decodeEventLog=e.decodeErrorResult=e.decodeDeployData=e.decodeAbiParameters=e.formatLog=e.formatBlock=e.defineBlock=e.namehash=e.labelhash=e.UrlRequiredError=e.SliceOffsetOutOfBoundsError=e.SizeExceedsPaddingSizeError=e.WaitForTransactionReceiptTimeoutError=e.TransactionReceiptNotFoundError=e.TransactionNotFoundError=e.TransactionExecutionError=e.InvalidStorageKeySizeError=e.InvalidSerializedTransactionTypeError=e.InvalidSerializedTransactionError=e.InvalidSerializableTransactionError=e.InvalidLegacyVError=e.FeeConflictError=e.InvalidAddressError=e.WebSocketRequestError=e.TimeoutError=e.RpcRequestError=e.HttpRequestError=e.FilterTypeNotSupportedError=e.UnknownNodeError=e.TransactionTypeNotSupportedError=e.TipAboveFeeCapError=e.NonceTooLowError=e.NonceTooHighError=e.NonceMaxValueError=e.IntrinsicGasTooLowError=e.IntrinsicGasTooHighError=e.InsufficientFundsError=e.FeeCapTooLowError=e.FeeCapTooHighError=e.ExecutionRevertedError=e.EstimateGasExecutionError=e.EnsAvatarUnsupportedNamespaceError=e.EnsAvatarInvalidNftUriError=e.EnsAvatarUriResolutionError=e.SizeOverflowError=e.OffsetOutOfBoundsError=e.InvalidHexValueError=void 0,e.toHex=e.stringToHex=e.numberToHex=e.bytesToHex=e.boolToHex=e.toBytes=e.stringToBytes=e.numberToBytes=e.hexToBytes=e.boolToBytes=e.assertTransactionLegacy=e.assertTransactionEIP2930=e.assertTransactionEIP1559=e.assertRequest=e.verifyTypedData=e.verifyMessage=e.toRlp=e.hexToRlp=e.bytesToRlp=e.signatureToHex=e.compactSignatureToHex=e.signatureToCompactSignature=e.recoverTypedDataAddress=e.recoverPublicKey=e.recoverMessageAddress=e.recoverAddress=e.hexToSignature=e.hexToCompactSignature=e.compactSignatureToSignature=e.hashTypedData=e.hashDomain=e.getTransactionType=e.getSerializedTransactionType=e.getCreateAddress=e.getCreate2Address=e.getContractAddress=e.getAbiItem=e.rpcTransactionType=e.formatTransactionRequest=e.defineTransactionRequest=e.formatTransactionReceipt=e.defineTransactionReceipt=e.transactionType=e.formatTransaction=e.defineTransaction=e.encodeFunctionResult=e.encodeFunctionData=e.encodeEventTopics=e.encodeErrorResult=e.encodeDeployData=void 0,e.parseUnits=e.parseTransaction=e.parseGwei=e.parseEther=e.padHex=e.padBytes=e.pad=e.ripemd160=e.sha256=e.keccak256=e.isHex=e.isHash=e.isBytes=e.isAddressEqual=e.isAddress=e.hashMessage=e.getFunctionSignature=e.getFunctionSelector=e.getEventSignature=e.getEventSelector=e.getContractError=e.getAddress=e.checksumAddress=e.fromRlp=e.hexToString=e.hexToNumber=e.hexToBool=e.hexToBigInt=e.fromHex=e.formatUnits=e.formatGwei=e.formatEther=e.encodePacked=e.getChainContractAddress=e.extractChain=e.defineChain=e.assertCurrentChain=e.concatHex=e.concatBytes=e.concat=e.offchainLookupSignature=e.offchainLookupAbiItem=e.offchainLookup=e.ccipFetch=e.fromBytes=e.bytesToString=e.bytesToNumber=e.bytesToBool=e.bytesToBigint=e.bytesToBigInt=void 0,e.getTypesForEIP712Domain=e.domainSeparator=e.validateTypedData=e.trim=e.stringify=e.sliceHex=e.sliceBytes=e.slice=e.size=e.serializeTransaction=e.serializeAccessList=void 0;var t=ed();Object.defineProperty(e,"CircularReferenceError",{enumerable:!0,get:function(){return t.CircularReferenceError}}),Object.defineProperty(e,"InvalidAbiParameterError",{enumerable:!0,get:function(){return t.InvalidAbiParameterError}}),Object.defineProperty(e,"InvalidAbiParametersError",{enumerable:!0,get:function(){return t.InvalidAbiParametersError}}),Object.defineProperty(e,"InvalidAbiItemError",{enumerable:!0,get:function(){return t.InvalidAbiItemError}}),Object.defineProperty(e,"InvalidAbiTypeParameterError",{enumerable:!0,get:function(){return t.InvalidAbiTypeParameterError}}),Object.defineProperty(e,"InvalidFunctionModifierError",{enumerable:!0,get:function(){return t.InvalidFunctionModifierError}}),Object.defineProperty(e,"InvalidModifierError",{enumerable:!0,get:function(){return t.InvalidModifierError}}),Object.defineProperty(e,"InvalidParameterError",{enumerable:!0,get:function(){return t.InvalidParameterError}}),Object.defineProperty(e,"InvalidParenthesisError",{enumerable:!0,get:function(){return t.InvalidParenthesisError}}),Object.defineProperty(e,"InvalidSignatureError",{enumerable:!0,get:function(){return t.InvalidSignatureError}}),Object.defineProperty(e,"InvalidStructSignatureError",{enumerable:!0,get:function(){return t.InvalidStructSignatureError}}),Object.defineProperty(e,"SolidityProtectedKeywordError",{enumerable:!0,get:function(){return t.SolidityProtectedKeywordError}}),Object.defineProperty(e,"UnknownTypeError",{enumerable:!0,get:function(){return t.UnknownTypeError}}),Object.defineProperty(e,"UnknownSignatureError",{enumerable:!0,get:function(){return t.UnknownSignatureError}}),Object.defineProperty(e,"parseAbi",{enumerable:!0,get:function(){return t.parseAbi}}),Object.defineProperty(e,"parseAbiItem",{enumerable:!0,get:function(){return t.parseAbiItem}}),Object.defineProperty(e,"parseAbiParameter",{enumerable:!0,get:function(){return t.parseAbiParameter}}),Object.defineProperty(e,"parseAbiParameters",{enumerable:!0,get:function(){return t.parseAbiParameters}});var r=Kte();Object.defineProperty(e,"getContract",{enumerable:!0,get:function(){return r.getContract}});var n=Cw();Object.defineProperty(e,"createClient",{enumerable:!0,get:function(){return n.createClient}});var a=Jte();Object.defineProperty(e,"custom",{enumerable:!0,get:function(){return a.custom}});var i=Qte();Object.defineProperty(e,"fallback",{enumerable:!0,get:function(){return i.fallback}});var c=nre();Object.defineProperty(e,"http",{enumerable:!0,get:function(){return c.http}});var f=Ire();Object.defineProperty(e,"createPublicClient",{enumerable:!0,get:function(){return f.createPublicClient}});var m=lne();Object.defineProperty(e,"createTestClient",{enumerable:!0,get:function(){return m.createTestClient}});var h=kV();Object.defineProperty(e,"publicActions",{enumerable:!0,get:function(){return h.publicActions}});var l=TV();Object.defineProperty(e,"testActions",{enumerable:!0,get:function(){return l.testActions}});var o=RV();Object.defineProperty(e,"walletActions",{enumerable:!0,get:function(){return o.walletActions}});var u=Oy();Object.defineProperty(e,"createTransport",{enumerable:!0,get:function(){return u.createTransport}});var p=xne();Object.defineProperty(e,"createWalletClient",{enumerable:!0,get:function(){return p.createWalletClient}});var g=Ene();Object.defineProperty(e,"webSocket",{enumerable:!0,get:function(){return g.webSocket}});var y=Su();Object.defineProperty(e,"multicall3Abi",{enumerable:!0,get:function(){return y.multicall3Abi}});var b=jne();Object.defineProperty(e,"zeroAddress",{enumerable:!0,get:function(){return b.zeroAddress}});var x=vy();Object.defineProperty(e,"etherUnits",{enumerable:!0,get:function(){return x.etherUnits}}),Object.defineProperty(e,"gweiUnits",{enumerable:!0,get:function(){return x.gweiUnits}}),Object.defineProperty(e,"weiUnits",{enumerable:!0,get:function(){return x.weiUnits}});var w=Ane();Object.defineProperty(e,"maxInt8",{enumerable:!0,get:function(){return w.maxInt8}}),Object.defineProperty(e,"maxInt16",{enumerable:!0,get:function(){return w.maxInt16}}),Object.defineProperty(e,"maxInt24",{enumerable:!0,get:function(){return w.maxInt24}}),Object.defineProperty(e,"maxInt32",{enumerable:!0,get:function(){return w.maxInt32}}),Object.defineProperty(e,"maxInt40",{enumerable:!0,get:function(){return w.maxInt40}}),Object.defineProperty(e,"maxInt48",{enumerable:!0,get:function(){return w.maxInt48}}),Object.defineProperty(e,"maxInt56",{enumerable:!0,get:function(){return w.maxInt56}}),Object.defineProperty(e,"maxInt64",{enumerable:!0,get:function(){return w.maxInt64}}),Object.defineProperty(e,"maxInt72",{enumerable:!0,get:function(){return w.maxInt72}}),Object.defineProperty(e,"maxInt80",{enumerable:!0,get:function(){return w.maxInt80}}),Object.defineProperty(e,"maxInt88",{enumerable:!0,get:function(){return w.maxInt88}}),Object.defineProperty(e,"maxInt96",{enumerable:!0,get:function(){return w.maxInt96}}),Object.defineProperty(e,"maxInt104",{enumerable:!0,get:function(){return w.maxInt104}}),Object.defineProperty(e,"maxInt112",{enumerable:!0,get:function(){return w.maxInt112}}),Object.defineProperty(e,"maxInt120",{enumerable:!0,get:function(){return w.maxInt120}}),Object.defineProperty(e,"maxInt128",{enumerable:!0,get:function(){return w.maxInt128}}),Object.defineProperty(e,"maxInt136",{enumerable:!0,get:function(){return w.maxInt136}}),Object.defineProperty(e,"maxInt144",{enumerable:!0,get:function(){return w.maxInt144}}),Object.defineProperty(e,"maxInt152",{enumerable:!0,get:function(){return w.maxInt152}}),Object.defineProperty(e,"maxInt160",{enumerable:!0,get:function(){return w.maxInt160}}),Object.defineProperty(e,"maxInt168",{enumerable:!0,get:function(){return w.maxInt168}}),Object.defineProperty(e,"maxInt176",{enumerable:!0,get:function(){return w.maxInt176}}),Object.defineProperty(e,"maxInt184",{enumerable:!0,get:function(){return w.maxInt184}}),Object.defineProperty(e,"maxInt192",{enumerable:!0,get:function(){return w.maxInt192}}),Object.defineProperty(e,"maxInt200",{enumerable:!0,get:function(){return w.maxInt200}}),Object.defineProperty(e,"maxInt208",{enumerable:!0,get:function(){return w.maxInt208}}),Object.defineProperty(e,"maxInt216",{enumerable:!0,get:function(){return w.maxInt216}}),Object.defineProperty(e,"maxInt224",{enumerable:!0,get:function(){return w.maxInt224}}),Object.defineProperty(e,"maxInt232",{enumerable:!0,get:function(){return w.maxInt232}}),Object.defineProperty(e,"maxInt240",{enumerable:!0,get:function(){return w.maxInt240}}),Object.defineProperty(e,"maxInt248",{enumerable:!0,get:function(){return w.maxInt248}}),Object.defineProperty(e,"maxInt256",{enumerable:!0,get:function(){return w.maxInt256}}),Object.defineProperty(e,"maxUint8",{enumerable:!0,get:function(){return w.maxUint8}}),Object.defineProperty(e,"maxUint16",{enumerable:!0,get:function(){return w.maxUint16}}),Object.defineProperty(e,"maxUint24",{enumerable:!0,get:function(){return w.maxUint24}}
18749),Object.defineProperty(e,"maxUint32",{enumerable:!0,get:function(){return w.maxUint32}}),Object.defineProperty(e,"maxUint40",{enumerable:!0,get:function(){return w.maxUint40}}),Object.defineProperty(e,"maxUint48",{enumerable:!0,get:function(){return w.maxUint48}}),Object.defineProperty(e,"maxUint56",{enumerable:!0,get:function(){return w.maxUint56}}),Object.defineProperty(e,"maxUint64",{enumerable:!0,get:function(){return w.maxUint64}}),Object.defineProperty(e,"maxUint72",{enumerable:!0,get:function(){return w.maxUint72}}),Object.defineProperty(e,"maxUint80",{enumerable:!0,get:function(){return w.maxUint80}}),Object.defineProperty(e,"maxUint88",{enumerable:!0,get:function(){return w.maxUint88}}),Object.defineProperty(e,"maxUint96",{enumerable:!0,get:function(){return w.maxUint96}}),Object.defineProperty(e,"maxUint104",{enumerable:!0,get:function(){return w.maxUint104}}),Object.defineProperty(e,"maxUint112",{enumerable:!0,get:function(){return w.maxUint112}}),Object.defineProperty(e,"maxUint120",{enumerable:!0,get:function(){return w.maxUint120}}),Object.defineProperty(e,"maxUint128",{enumerable:!0,get:function(){return w.maxUint128}}),Object.defineProperty(e,"maxUint136",{enumerable:!0,get:function(){return w.maxUint136}}),Object.defineProperty(e,"maxUint144",{enumerable:!0,get:function(){return w.maxUint144}}),Object.defineProperty(e,"maxUint152",{enumerable:!0,get:function(){return w.maxUint152}}),Object.defineProperty(e,"maxUint160",{enumerable:!0,get:function(){return w.maxUint160}}),Object.defineProperty(e,"maxUint168",{enumerable:!0,get:function(){return w.maxUint168}}),Object.defineProperty(e,"maxUint176",{enumerable:!0,get:function(){return w.maxUint176}}),Object.defineProperty(e,"maxUint184",{enumerable:!0,get:function(){return w.maxUint184}}),Object.defineProperty(e,"maxUint192",{enumerable:!0,get:function(){return w.maxUint192}}),Object.defineProperty(e,"maxUint200",{enumerable:!0,get:function(){return w.maxUint200}}),Object.defineProperty(e,"maxUint208",{enumerable:!0,get:function(){return w.maxUint208}}),Object.defineProperty(e,"maxUint216",{enumerable:!0,get:function(){return w.maxUint216}}),Object.defineProperty(e,"maxUint224",{enumerable:!0,get:function(){return w.maxUint224}}),Object.defineProperty(e,"maxUint232",{enumerable:!0,get:function(){return w.maxUint232}}),Object.defineProperty(e,"maxUint240",{enumerable:!0,get:function(){return w.maxUint240}}),Object.defineProperty(e,"maxUint248",{enumerable:!0,get:function(){return w.maxUint248}}),Object.defineProperty(e,"maxUint256",{enumerable:!0,get:function(){return w.maxUint256}}),Object.defineProperty(e,"minInt8",{enumerable:!0,get:function(){return w.minInt8}}),Object.defineProperty(e,"minInt16",{enumerable:!0,get:function(){return w.minInt16}}),Object.defineProperty(e,"minInt24",{enumerable:!0,get:function(){return w.minInt24}}),Object.defineProperty(e,"minInt32",{enumerable:!0,get:function(){return w.minInt32}}),Object.defineProperty(e,"minInt40",{enumerable:!0,get:function(){return w.minInt40}}),Object.defineProperty(e,"minInt48",{enumerable:!0,get:function(){return w.minInt48}}),Object.defineProperty(e,"minInt56",{enumerable:!0,get:function(){return w.minInt56}}),Object.defineProperty(e,"minInt64",{enumerable:!0,get:function(){return w.minInt64}}),Object.defineProperty(e,"minInt72",{enumerable:!0,get:function(){return w.minInt72}}),Object.defineProperty(e,"minInt80",{enumerable:!0,get:function(){return w.minInt80}}),Object.defineProperty(e,"minInt88",{enumerable:!0,get:function(){return w.minInt88}}),Object.defineProperty(e,"minInt96",{enumerable:!0,get:function(){return w.minInt96}}),Object.defineProperty(e,"minInt104",{enumerable:!0,get:function(){return w.minInt104}}),Object.defineProperty(e,"minInt112",{enumerable:!0,get:function(){return w.minInt112}}),Object.defineProperty(e,"minInt120",{enumerable:!0,get:function(){return w.minInt120}}),Object.defineProperty(e,"minInt128",{enumerable:!0,get:function(){return w.minInt128}}),Object.defineProperty(e,"minInt136",{enumerable:!0,get:function(){return w.minInt136}}),Object.defineProperty(e,"minInt144",{enumerable:!0,get:function(){return w.minInt144}}),Object.defineProperty(e,"minInt152",{enumerable:!0,get:function(){return w.minInt152}}),Object.defineProperty(e,"minInt160",{enumerable:!0,get:function(){return w.minInt160}}),Object.defineProperty(e,"minInt168",{enumerable:!0,get:function(){return w.minInt168}}),Object.defineProperty(e,"minInt176",{enumerable:!0,get:function(){return w.minInt176}}),Object.defineProperty(e,"minInt184",{enumerable:!0,get:function(){return w.minInt184}}),Object.defineProperty(e,"minInt192",{enumerable:!0,get:function(){return w.minInt192}}),Object.defineProperty(e,"minInt200",{enumerable:!0,get:function(){return w.minInt200}}),Object.defineProperty(e,"minInt208",{enumerable:!0,get:function(){return w.minInt208}}),Object.defineProperty(e,"minInt216",{enumerable:!0,get:function(){return w.minInt216}}),Object.defineProperty(e,"minInt224",{enumerable:!0,get:function(){return w.minInt224}}),Object.defineProperty(e,"minInt232",{enumerable:!0,get:function(){return w.minInt232}}),Object.defineProperty(e,"minInt240",{enumerable:!0,get:function(){return w.minInt240}}),Object.defineProperty(e,"minInt248",{enumerable:!0,get:function(){return w.minInt248}}),Object.defineProperty(e,"minInt256",{enumerable:!0,get:function(){return w.minInt256}});var E=Pne();Object.defineProperty(e,"zeroHash",{enumerable:!0,get:function(){return E.zeroHash}});var j=Mz();Object.defineProperty(e,"presignMessagePrefix",{enumerable:!0,get:function(){return j.presignMessagePrefix}});var T=Tr();Object.defineProperty(e,"AbiConstructorNotFoundError",{enumerable:!0,get:function(){return T.AbiConstructorNotFoundError}}),Object.defineProperty(e,"AbiConstructorParamsNotFoundError",{enumerable:!0,get:function(){return T.AbiConstructorParamsNotFoundError}}),Object.defineProperty(e,"AbiDecodingDataSizeInvalidError",{enumerable:!0,get:function(){return T.AbiDecodingDataSizeInvalidError}}),Object.defineProperty(e,"AbiDecodingDataSizeTooSmallError",{enumerable:!0,get:function(){return T.AbiDecodingDataSizeTooSmallError}}),Object.defineProperty(e,"AbiDecodingZeroDataError",{enumerable:!0,get:function(){return T.AbiDecodingZeroDataError}}
18749),Object.defineProperty(e,"AbiEncodingArrayLengthMismatchError",{enumerable:!0,get:function(){return T.AbiEncodingArrayLengthMismatchError}}),Object.defineProperty(e,"AbiEncodingLengthMismatchError",{enumerable:!0,get:function(){return T.AbiEncodingLengthMismatchError}}),Object.defineProperty(e,"AbiEncodingBytesSizeMismatchError",{enumerable:!0,get:function(){return T.AbiEncodingBytesSizeMismatchError}}),Object.defineProperty(e,"AbiErrorInputsNotFoundError",{enumerable:!0,get:function(){return T.AbiErrorInputsNotFoundError}}),Object.defineProperty(e,"AbiErrorNotFoundError",{enumerable:!0,get:function(){return T.AbiErrorNotFoundError}}),Object.defineProperty(e,"AbiErrorSignatureNotFoundError",{enumerable:!0,get:function(){return T.AbiErrorSignatureNotFoundError}}),Object.defineProperty(e,"AbiEventNotFoundError",{enumerable:!0,get:function(){return T.AbiEventNotFoundError}}),Object.defineProperty(e,"AbiEventSignatureEmptyTopicsError",{enumerable:!0,get:function(){return T.AbiEventSignatureEmptyTopicsError}}),Object.defineProperty(e,"AbiEventSignatureNotFoundError",{enumerable:!0,get:function(){return T.AbiEventSignatureNotFoundError}}),Object.defineProperty(e,"AbiFunctionNotFoundError",{enumerable:!0,get:function(){return T.AbiFunctionNotFoundError}}),Object.defineProperty(e,"AbiFunctionOutputsNotFoundError",{enumerable:!0,get:function(){return T.AbiFunctionOutputsNotFoundError}}),Object.defineProperty(e,"AbiFunctionSignatureNotFoundError",{enumerable:!0,get:function(){return T.AbiFunctionSignatureNotFoundError}}),Object.defineProperty(e,"BytesSizeMismatchError",{enumerable:!0,get:function(){return T.BytesSizeMismatchError}}),Object.defineProperty(e,"DecodeLogDataMismatch",{enumerable:!0,get:function(){return T.DecodeLogDataMismatch}}),Object.defineProperty(e,"DecodeLogTopicsMismatch",{enumerable:!0,get:function(){return T.DecodeLogTopicsMismatch}}),Object.defineProperty(e,"InvalidAbiDecodingTypeError",{enumerable:!0,get:function(){return T.InvalidAbiDecodingTypeError}}),Object.defineProperty(e,"InvalidAbiEncodingTypeError",{enumerable:!0,get:function(){return T.InvalidAbiEncodingTypeError}}),Object.defineProperty(e,"InvalidArrayError",{enumerable:!0,get:function(){return T.InvalidArrayError}}),Object.defineProperty(e,"InvalidDefinitionTypeError",{enumerable:!0,get:function(){return T.InvalidDefinitionTypeError}}),Object.defineProperty(e,"UnsupportedPackedAbiType",{enumerable:!0,get:function(){return T.UnsupportedPackedAbiType}});var F=fr();Object.defineProperty(e,"BaseError",{enumerable:!0,get:function(){return F.BaseError}});var z=oS();Object.defineProperty(e,"BlockNotFoundError",{enumerable:!0,get:function(){return z.BlockNotFoundError}});var K=xu();Object.defineProperty(e,"CallExecutionError",{enumerable:!0,get:function(){return K.CallExecutionError}}),Object.defineProperty(e,"ContractFunctionExecutionError",{enumerable:!0,get:function(){return K.ContractFunctionExecutionError}}),Object.defineProperty(e,"ContractFunctionRevertedError",{enumerable:!0,get:function(){return K.ContractFunctionRevertedError}}),Object.defineProperty(e,"ContractFunctionZeroDataError",{enumerable:!0,get:function(){return K.ContractFunctionZeroDataError}}),Object.defineProperty(e,"RawContractError",{enumerable:!0,get:function(){return K.RawContractError}});var U=Aw();Object.defineProperty(e,"BaseFeeScalarError",{enumerable:!0,get:function(){return U.BaseFeeScalarError}}),Object.defineProperty(e,"Eip1559FeesNotSupportedError",{enumerable:!0,get:function(){return U.Eip1559FeesNotSupportedError}}),Object.defineProperty(e,"MaxFeePerGasTooLowError",{enumerable:!0,get:function(){return U.MaxFeePerGasTooLowError}});var H=rd();Object.defineProperty(e,"ChainDisconnectedError",{enumerable:!0,get:function(){return H.ChainDisconnectedError}}),Object.defineProperty(e,"InternalRpcError",{enumerable:!0,get:function(){return H.InternalRpcError}}),Object.defineProperty(e,"InvalidInputRpcError",{enumerable:!0,get:function(){return H.InvalidInputRpcError}}),Object.defineProperty(e,"InvalidParamsRpcError",{enumerable:!0,get:function(){return H.InvalidParamsRpcError}}),Object.defineProperty(e,"InvalidRequestRpcError",{enumerable:!0,get:function(){return H.InvalidRequestRpcError}}),Object.defineProperty(e,"JsonRpcVersionUnsupportedError",{enumerable:!0,get:function(){return H.JsonRpcVersionUnsupportedError}}),Object.defineProperty(e,"LimitExceededRpcError",{enumerable:!0,get:function(){return H.LimitExceededRpcError}}),Object.defineProperty(e,"MethodNotFoundRpcError",{enumerable:!0,get:function(){return H.MethodNotFoundRpcError}}),Object.defineProperty(e,"MethodNotSupportedRpcError",{enumerable:!0,get:function(){return H.MethodNotSupportedRpcError}}),Object.defineProperty(e,"ParseRpcError",{enumerable:!0,get:function(){return H.ParseRpcError}}),Object.defineProperty(e,"ProviderDisconnectedError",{enumerable:!0,get:function(){return H.ProviderDisconnectedError}}),Object.defineProperty(e,"ProviderRpcError",{enumerable:!0,get:function(){return H.ProviderRpcError}}),Object.defineProperty(e,"ResourceNotFoundRpcError",{enumerable:!0,get:function(){return H.ResourceNotFoundRpcError}}),Object.defineProperty(e,"ResourceUnavailableRpcError",{enumerable:!0,get:function(){return H.ResourceUnavailableRpcError}}),Object.defineProperty(e,"RpcError",{enumerable:!0,get:function(){return H.RpcError}}),Object.defineProperty(e,"SwitchChainError",{enumerable:!0,get:function(){return H.SwitchChainError}}),Object.defineProperty(e,"TransactionRejectedRpcError",{enumerable:!0,get:function(){return H.TransactionRejectedRpcError}}),Object.defineProperty(e,"UnauthorizedProviderError",{enumerable:!0,get:function(){return H.UnauthorizedProviderError}}),Object.defineProperty(e,"UnknownRpcError",{enumerable:!0,get:function(){return H.UnknownRpcError}}),Object.defineProperty(e,"UnsupportedProviderMethodError",{enumerable:!0,get:function(){return H.UnsupportedProviderMethodError}}),Object.defineProperty(e,"UserRejectedRequestError",{enumerable:!0,get:function(){return H.UserRejectedRequestError}});var V=Py();Object.defineProperty(e,"ChainDoesNotSupportContract",{enumerable:!0,get:function(){return V.ChainDoesNotSupportContract}}),Object.defineProperty(e,"ChainMismatchError",{enumerable:!0,get:function(){return V.ChainMismatchError}}),Object.defineProperty(e,"ChainNotFoundError",{enumerable:!0,get:function(){return V.ChainNotFoundError}}),Object.defineProperty(e,"ClientChainNotConfiguredError",{enumerable:!0,get:function(){return V.ClientChainNotConfiguredError}}),Object.defineProperty(e,"InvalidChainIdError",{enumerable:!0,get:function(){return V.InvalidChainIdError}});var Z=by();Object.defineProperty(e,"DataLengthTooLongError",{enumerable:!0,get:function(){return Z.DataLengthTooLongError}}),Object.defineProperty(e,"DataLengthTooShortError",{enumerable:!0,get:function(){return Z.DataLengthTooShortError}}),Object.defineProperty(e,"InvalidBytesBooleanError",{enumerable:!0,get:function(){return Z.InvalidBytesBooleanError}}),Object.defineProperty(e,"IntegerOutOfRangeError",{enumerable:!0,get:function(){return Z.IntegerOutOfRangeError}}),Object.defineProperty(e,"InvalidHexBooleanError",{enumerable:!0,get:function(){return Z.InvalidHexBooleanError}}),Object.defineProperty(e,"InvalidHexValueError",{enumerable:!0,get:function(){return Z.InvalidHexValueError}}),Object.defineProperty(e,"OffsetOutOfBoundsError",{enumerable:!0,get:function(){return Z.OffsetOutOfBoundsError}}),Object.defineProperty(e,"SizeOverflowError",{enumerable:!0,get:function(){return Z.SizeOverflowError}});var R=iV();Object.defineProperty(e,"EnsAvatarUriResolutionError",{enumerable:!0,get:function(){return R.EnsAvatarUriResolutionError}}),Object.defineProperty(e,"EnsAvatarInvalidNftUriError",{enumerable:!0,get:function(){return R.EnsAvatarInvalidNftUriError}}),Object.defineProperty(e,"EnsAvatarUnsupportedNamespaceError",{enumerable:!0,get:function(){return R.EnsAvatarUnsupportedNamespaceError}});var _=Wz();Object.defineProperty(e,"EstimateGasExecutionError",{enumerable:!0,get:function(){return _.EstimateGasExecutionError}});var k=Eu();Object.defineProperty(e,"ExecutionRevertedError",{enumerable:!0,get:function(){return k.ExecutionRevertedError}}),Object.defineProperty(e,"FeeCapTooHighError",{enumerable:!0,get:function(){return k.FeeCapTooHighError}}),Object.defineProperty(e,"FeeCapTooLowError",{enumerable:!0,get:function(){return k.FeeCapTooLowError}}),Object.defineProperty(e,"InsufficientFundsError",{enumerable:!0,get:function(){return k.InsufficientFundsError}}),Object.defineProperty(e,"IntrinsicGasTooHighError",{enumerable:!0,get:function(){return k.IntrinsicGasTooHighError}}),Object.defineProperty(e,"IntrinsicGasTooLowError",{enumerable:!0,get:function(){return k.IntrinsicGasTooLowError}}),Object.defineProperty(e,"NonceMaxValueError",{enumerable:!0,get:function(){return k.NonceMaxValueError}}),Object.defineProperty(e,"NonceTooHighError",{enumerable:!0,get:function(){return k.NonceTooHighError}}),Object.defineProperty(e,"NonceTooLowError",{enumerable:!0,get:function(){return k.NonceTooLowError}}),Object.defineProperty(e,"TipAboveFeeCapError",{enumerable:!0,get:function(){return k.TipAboveFeeCapError}}),Object.defineProperty(e,"TransactionTypeNotSupportedError",{enumerable:!0,get:function(){return k.TransactionTypeNotSupportedError}}),Object.defineProperty(e,"UnknownNodeError",{enumerable:!0,get:function(){return k.UnknownNodeError}});var M=zz();Object.defineProperty(e,"FilterTypeNotSupportedError",{enumerable:!0,get:function(){return M.FilterTypeNotSupportedError}});var B=Uo();Object.defineProperty(e,"HttpRequestError",{enumerable:!0,get:function(){return B.HttpRequestError}}),Object.defineProperty(e,"RpcRequestError",{enumerable:!0,get:function(){return B.RpcRequestError}}),Object.defineProperty(e,"TimeoutError",{enumerable:!0,get:function(){return B.TimeoutError}}),Object.defineProperty(e,"WebSocketRequestError",{enumerable:!0,get:function(){return B.WebSocketRequestError}});var C=ji();Object.defineProperty(e,"InvalidAddressError",{enumerable:!0,get:function(){return C.InvalidAddressError}});var q=Da();
18749Object.defineProperty(e,"FeeConflictError",{enumerable:!0,get:function(){return q.FeeConflictError}}),Object.defineProperty(e,"InvalidLegacyVError",{enumerable:!0,get:function(){return q.InvalidLegacyVError}}),Object.defineProperty(e,"InvalidSerializableTransactionError",{enumerable:!0,get:function(){return q.InvalidSerializableTransactionError}}),Object.defineProperty(e,"InvalidSerializedTransactionError",{enumerable:!0,get:function(){return q.InvalidSerializedTransactionError}}),Object.defineProperty(e,"InvalidSerializedTransactionTypeError",{enumerable:!0,get:function(){return q.InvalidSerializedTransactionTypeError}}),Object.defineProperty(e,"InvalidStorageKeySizeError",{enumerable:!0,get:function(){return q.InvalidStorageKeySizeError}}),Object.defineProperty(e,"TransactionExecutionError",{enumerable:!0,get:function(){return q.TransactionExecutionError}}),Object.defineProperty(e,"TransactionNotFoundError",{enumerable:!0,get:function(){return q.TransactionNotFoundError}}),Object.defineProperty(e,"TransactionReceiptNotFoundError",{enumerable:!0,get:function(){return q.TransactionReceiptNotFoundError}}),Object.defineProperty(e,"WaitForTransactionReceiptTimeoutError",{enumerable:!0,get:function(){return q.WaitForTransactionReceiptTimeoutError}});var W=eS();Object.defineProperty(e,"SizeExceedsPaddingSizeError",{enumerable:!0,get:function(){return W.SizeExceedsPaddingSizeError}}),Object.defineProperty(e,"SliceOffsetOutOfBoundsError",{enumerable:!0,get:function(){return W.SliceOffsetOutOfBoundsError}});var I=bS();Object.defineProperty(e,"UrlRequiredError",{enumerable:!0,get:function(){return I.UrlRequiredError}});var S=aV();Object.defineProperty(e,"labelhash",{enumerable:!0,get:function(){return S.labelhash}});var O=_S();Object.defineProperty(e,"namehash",{enumerable:!0,get:function(){return O.namehash}});var Y=Pw();Object.defineProperty(e,"defineBlock",{enumerable:!0,get:function(){return Y.defineBlock}}),Object.defineProperty(e,"formatBlock",{enumerable:!0,get:function(){return Y.formatBlock}});var Q=Pu();Object.defineProperty(e,"formatLog",{enumerable:!0,get:function(){return Q.formatLog}});var ne=_u();Object.defineProperty(e,"decodeAbiParameters",{enumerable:!0,get:function(){return ne.decodeAbiParameters}});var oe=Sne();Object.defineProperty(e,"decodeDeployData",{enumerable:!0,get:function(){return oe.decodeDeployData}});var ge=Ew();Object.defineProperty(e,"decodeErrorResult",{enumerable:!0,get:function(){return ge.decodeErrorResult}});var we=sd();Object.defineProperty(e,"decodeEventLog",{enumerable:!0,get:function(){return we.decodeEventLog}});var Ue=dV();Object.defineProperty(e,"decodeFunctionData",{enumerable:!0,get:function(){return Ue.decodeFunctionData}});var ye=qo();Object.defineProperty(e,"decodeFunctionResult",{enumerable:!0,get:function(){return ye.decodeFunctionResult}});var de=Yi();Object.defineProperty(e,"encodeAbiParameters",{enumerable:!0,get:function(){return de.encodeAbiParameters}});var Se=ES();Object.defineProperty(e,"encodeDeployData",{enumerable:!0,get:function(){return Se.encodeDeployData}});var Oe=fV();Object.defineProperty(e,"encodeErrorResult",{enumerable:!0,get:function(){return Oe.encodeErrorResult}});var Be=td();Object.defineProperty(e,"encodeEventTopics",{enumerable:!0,get:function(){return Be.encodeEventTopics}});var Pt=Zi();Object.defineProperty(e,"encodeFunctionData",{enumerable:!0,get:function(){return Pt.encodeFunctionData}});var Ge=hV();Object.defineProperty(e,"encodeFunctionResult",{enumerable:!0,get:function(){return Ge.encodeFunctionResult}});var ft=jy();Object.defineProperty(e,"defineTransaction",{enumerable:!0,get:function(){return ft.defineTransaction}}),Object.defineProperty(e,"formatTransaction",{enumerable:!0,get:function(){return ft.formatTransaction}}),Object.defineProperty(e,"transactionType",{enumerable:!0,get:function(){return ft.transactionType}});var er=AS();Object.defineProperty(e,"defineTransactionReceipt",{enumerable:!0,get:function(){return er.defineTransactionReceipt}}),Object.defineProperty(e,"formatTransactionReceipt",{enumerable:!0,get:function(){return er.formatTransactionReceipt}});var dt=ju();Object.defineProperty(e,"defineTransactionRequest",{enumerable:!0,get:function(){return dt.defineTransactionRequest}}),Object.defineProperty(e,"formatTransactionRequest",{enumerable:!0,get:function(){return dt.formatTransactionRequest}}),Object.defineProperty(e,"rpcTransactionType",{enumerable:!0,get:function(){return dt.rpcTransactionType}});var vt=Ks();Object.defineProperty(e,"getAbiItem",{enumerable:!0,get:function(){return vt.getAbiItem}});var It=mV();Object.defineProperty(e,"getContractAddress",{enumerable:!0,get:function(){return It.getContractAddress}}),Object.defineProperty(e,"getCreate2Address",{enumerable:!0,get:function(){return It.getCreate2Address}}),Object.defineProperty(e,"getCreateAddress",{enumerable:!0,get:function(){return It.getCreateAddress}});var Rt=OS();Object.defineProperty(e,"getSerializedTransactionType",{enumerable:!0,get:function(){return Rt.getSerializedTransactionType}});var Nt=Sw();Object.defineProperty(e,"getTransactionType",{enumerable:!0,get:function(){return Nt.getTransactionType}});var sr=cd();Object.defineProperty(e,"hashDomain",{enumerable:!0,get:function(){return sr.hashDomain}}),Object.defineProperty(e,"hashTypedData",{enumerable:!0,get:function(){return sr.hashTypedData}
18749});var be=kne();Object.defineProperty(e,"compactSignatureToSignature",{enumerable:!0,get:function(){return be.compactSignatureToSignature}});var X=Tne();Object.defineProperty(e,"hexToCompactSignature",{enumerable:!0,get:function(){return X.hexToCompactSignature}});var L=Rne();Object.defineProperty(e,"hexToSignature",{enumerable:!0,get:function(){return L.hexToSignature}});var G=Mw();Object.defineProperty(e,"recoverAddress",{enumerable:!0,get:function(){return G.recoverAddress}});var re=TS();Object.defineProperty(e,"recoverMessageAddress",{enumerable:!0,get:function(){return re.recoverMessageAddress}});var fe=kS();Object.defineProperty(e,"recoverPublicKey",{enumerable:!0,get:function(){return fe.recoverPublicKey}});var ve=RS();Object.defineProperty(e,"recoverTypedDataAddress",{enumerable:!0,get:function(){return ve.recoverTypedDataAddress}});var ke=One();Object.defineProperty(e,"signatureToCompactSignature",{enumerable:!0,get:function(){return ke.signatureToCompactSignature}});var mt=Cne();Object.defineProperty(e,"compactSignatureToHex",{enumerable:!0,get:function(){return mt.compactSignatureToHex}});var bt=yw();Object.defineProperty(e,"signatureToHex",{enumerable:!0,get:function(){return bt.signatureToHex}});var at=Uw();Object.defineProperty(e,"bytesToRlp",{enumerable:!0,get:function(){return at.bytesToRlp}}),Object.defineProperty(e,"hexToRlp",{enumerable:!0,get:function(){return at.hexToRlp}}),Object.defineProperty(e,"toRlp",{enumerable:!0,get:function(){return at.toRlp}});var zt=wV();Object.defineProperty(e,"verifyMessage",{enumerable:!0,get:function(){return zt.verifyMessage}});var Qe=_V();Object.defineProperty(e,"verifyTypedData",{enumerable:!0,get:function(){return Qe.verifyTypedData}});var Gt=Au();Object.defineProperty(e,"assertRequest",{enumerable:!0,get:function(){return Gt.assertRequest}});var mn=Fw();Object.defineProperty(e,"assertTransactionEIP1559",{enumerable:!0,get:function(){return mn.assertTransactionEIP1559}}),Object.defineProperty(e,"assertTransactionEIP2930",{enumerable:!0,get:function(){return mn.assertTransactionEIP2930}}),Object.defineProperty(e,"assertTransactionLegacy",{enumerable:!0,get:function(){return mn.assertTransactionLegacy}});var Bt=hn();Object.defineProperty(e,"boolToBytes",{enumerable:!0,get:function(){return Bt.boolToBytes}}),Object.defineProperty(e,"hexToBytes",{enumerable:!0,get:function(){return Bt.hexToBytes}}),Object.defineProperty(e,"numberToBytes",{enumerable:!0,get:function(){return Bt.numberToBytes}}),Object.defineProperty(e,"stringToBytes",{enumerable:!0,get:function(){return Bt.stringToBytes}}),Object.defineProperty(e,"toBytes",{enumerable:!0,get:function(){return Bt.toBytes}});var qt=ht();Object.defineProperty(e,"boolToHex",{enumerable:!0,get:function(){return qt.boolToHex}}),Object.defineProperty(e,"bytesToHex",{enumerable:!0,get:function(){return qt.bytesToHex}}),Object.defineProperty(e,"numberToHex",{enumerable:!0,get:function(){return qt.numberToHex}}),Object.defineProperty(e,"stringToHex",{enumerable:!0,get:function(){return qt.stringToHex}}),Object.defineProperty(e,"toHex",{enumerable:!0,get:function(){return qt.toHex}});var nn=gV();Object.defineProperty(e,"bytesToBigInt",{enumerable:!0,get:function(){return nn.bytesToBigInt}}),Object.defineProperty(e,"bytesToBigint",{enumerable:!0,get:function(){return nn.bytesToBigInt}}),Object.defineProperty(e,"bytesToBool",{enumerable:!0,get:function(){return nn.bytesToBool}}),Object.defineProperty(e,"bytesToNumber",{enumerable:!0,get:function(){return nn.bytesToNumber}}),Object.defineProperty(e,"bytesToString",{enumerable:!0,get:function(){return nn.bytesToString}}),Object.defineProperty(e,"fromBytes",{enumerable:!0,get:function(){return nn.fromBytes}});var Zt=hS();Object.defineProperty(e,"ccipFetch",{enumerable:!0,get:function(){return Zt.ccipFetch}}),Object.defineProperty(e,"offchainLookup",{enumerable:!0,get:function(){return Zt.offchainLookup}}),Object.defineProperty(e,"offchainLookupAbiItem",{enumerable:!0,get:function(){return Zt.offchainLookupAbiItem}}),Object.defineProperty(e,"offchainLookupSignature",{enumerable:!0,get:function(){return Zt.offchainLookupSignature}});var tr=La();Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return tr.concat}}),Object.defineProperty(e,"concatBytes",{enumerable:!0,get:function(){return tr.concatBytes}}),Object.defineProperty(e,"concatHex",{enumerable:!0,get:function(){return tr.concatHex}});var Va=Rw();Object.defineProperty(e,"assertCurrentChain",{enumerable:!0,get:function(){return Va.assertCurrentChain}});var Jt=uV();Object.defineProperty(e,"defineChain",{enumerable:!0,get:function(){return Jt.defineChain}});var Qt=lV();Object.defineProperty(e,"extractChain",{enumerable:!0,get:function(){return Qt.extractChain}});var Re=Lo();Object.defineProperty(e,"getChainContractAddress",{enumerable:!0,get:function(){return Re.getChainContractAddress}});var ze=pV();Object.defineProperty(e,"encodePacked",{enumerable:!0,get:function(){return ze.encodePacked}});var ot=wy();Object.defineProperty(e,"formatEther",{enumerable:!0,get:function(){return ot.formatEther}});
18749var Xt=vu();Object.defineProperty(e,"formatGwei",{enumerable:!0,get:function(){return Xt.formatGwei}});var gt=vw();Object.defineProperty(e,"formatUnits",{enumerable:!0,get:function(){return gt.formatUnits}});var Mt=pn();Object.defineProperty(e,"fromHex",{enumerable:!0,get:function(){return Mt.fromHex}}),Object.defineProperty(e,"hexToBigInt",{enumerable:!0,get:function(){return Mt.hexToBigInt}}),Object.defineProperty(e,"hexToBool",{enumerable:!0,get:function(){return Mt.hexToBool}}),Object.defineProperty(e,"hexToNumber",{enumerable:!0,get:function(){return Mt.hexToNumber}}),Object.defineProperty(e,"hexToString",{enumerable:!0,get:function(){return Mt.hexToString}});var hr=PS();Object.defineProperty(e,"fromRlp",{enumerable:!0,get:function(){return hr.fromRlp}});var rr=Hs();Object.defineProperty(e,"checksumAddress",{enumerable:!0,get:function(){return rr.checksumAddress}}),Object.defineProperty(e,"getAddress",{enumerable:!0,get:function(){return rr.getAddress}});var dr=nd();Object.defineProperty(e,"getContractError",{enumerable:!0,get:function(){return dr.getContractError}});var Pi=_y();Object.defineProperty(e,"getEventSelector",{enumerable:!0,get:function(){return Pi.getEventSelector}});var gr=Vz();Object.defineProperty(e,"getEventSignature",{enumerable:!0,get:function(){return gr.getEventSignature}});var wr=wu();Object.defineProperty(e,"getFunctionSelector",{enumerable:!0,get:function(){return wr.getFunctionSelector}});var kn=aS();Object.defineProperty(e,"getFunctionSignature",{enumerable:!0,get:function(){return kn.getFunctionSignature}});var pr=gw();Object.defineProperty(e,"hashMessage",{enumerable:!0,get:function(){return pr.hashMessage}});var yr=Ua();Object.defineProperty(e,"isAddress",{enumerable:!0,get:function(){return yr.isAddress}});var Ji=Sy();Object.defineProperty(e,"isAddressEqual",{enumerable:!0,get:function(){return Ji.isAddressEqual}});var ri=jS();Object.defineProperty(e,"isBytes",{enumerable:!0,get:function(){return ri.isBytes}});var ta=SS();Object.defineProperty(e,"isHash",{enumerable:!0,get:function(){return ta.isHash}});var va=Vn();Object.defineProperty(e,"isHex",{enumerable:!0,get:function(){return va.isHex}});var Si=qa();Object.defineProperty(e,"keccak256",{enumerable:!0,get:function(){return Si.keccak256}});var Qi=bV();Object.defineProperty(e,"sha256",{enumerable:!0,get:function(){return Qi.sha256}});var ni=vV();Object.defineProperty(e,"ripemd160",{enumerable:!0,get:function(){return ni.ripemd160}});var cr=Fo();Object.defineProperty(e,"pad",{enumerable:!0,get:function(){return cr.pad}}),Object.defineProperty(e,"padBytes",{enumerable:!0,get:function(){return cr.padBytes}}),Object.defineProperty(e,"padHex",{enumerable:!0,get:function(){return cr.padHex}});var Xi=EV();Object.defineProperty(e,"parseEther",{enumerable:!0,get:function(){return Xi.parseEther}});var ra=jV();Object.defineProperty(e,"parseGwei",{enumerable:!0,get:function(){return ra.parseGwei}});var Zr=xV();Object.defineProperty(e,"parseTransaction",{enumerable:!0,get:function(){return Zr.parseTransaction}});var na=Bw();Object.defineProperty(e,"parseUnits",{enumerable:!0,get:function(){return na.parseUnits}});var ki=CS();Object.defineProperty(e,"serializeAccessList",{enumerable:!0,get:function(){return ki.serializeAccessList}});var Hn=NS();Object.defineProperty(e,"serializeTransaction",{enumerable:!0,get:function(){return Hn.serializeTransaction}});var wa=Vs();Object.defineProperty(e,"size",{enumerable:!0,get:function(){return wa.size}});var Jr=Gs();Object.defineProperty(e,"slice",{enumerable:!0,get:function(){return Jr.slice}}),Object.defineProperty(e,"sliceBytes",{enumerable:!0,get:function(){return Jr.sliceBytes}}),Object.defineProperty(e,"sliceHex",{enumerable:!0,get:function(){return Jr.sliceHex}});var $i=ya();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return $i.stringify}});var an=Bo();Object.defineProperty(e,"trim",{enumerable:!0,get:function(){return an.trim}});var aa=Nw();Object.defineProperty(e,"validateTypedData",{enumerable:!0,get:function(){return aa.validateTypedData}}),Object.defineProperty(e,"domainSeparator",{enumerable:!0,get:function(){return aa.domainSeparator}}),Object.defineProperty(e,"getTypesForEIP712Domain",{enumerable:!0,get:function(){return aa.getTypesForEIP712Domain}})})(cx)),cx}var d5;function Uw(){if(d5)return bs;d5=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.hexToRlp=bs.bytesToRlp=bs.toRlp=void 0;const e=Ine(),t=yV(),r=hn(),n=ht();function a(o,u="hex"){const p=f(o),g=(0,t.createCursor)(new Uint8Array(p.length));return p.encode(g),u==="hex"?(0,n.bytesToHex)(g.bytes):g.bytes}bs.toRlp=a;function i(o,u="bytes"){return a(o,u)}bs.bytesToRlp=i;function c(o,u="hex"){return a(o,u)}bs.hexToRlp=c;function f(o){return Array.isArray(o)?m(o.map(u=>f(u))):h(o)}function m(o){const u=o.reduce((y,b)=>y+b.length,0),p=l(u);return{length:u<=55?1+u:1+p+u,encode(y){u<=55?y.pushByte(192+u):(y.pushByte(247+p),p===1?y.pushUint8(u):p===2?y.pushUint16(u):p===3?y.pushUint24(u):y.pushUint32(u));for(const{encode:b}of o)b(y)}}}
18749function h(o){const u=typeof o=="string"?(0,r.hexToBytes)(o):o,p=l(u.length);return{length:u.length===1&&u[0]<128?1:u.length<=55?1+u.length:1+p+u.length,encode(y){u.length===1&&u[0]<128?y.pushBytes(u):u.length<=55?(y.pushByte(128+u.length),y.pushBytes(u)):(y.pushByte(183+p),p===1?y.pushUint8(u.length):p===2?y.pushUint16(u.length):p===3?y.pushUint24(u.length):y.pushUint32(u.length),y.pushBytes(u))}}}function l(o){if(o<2**8)return 1;if(o<2**16)return 2;if(o<2**24)return 3;if(o<2**32)return 4;throw new e.BaseError("Length is too large.")}return bs}var f5;function NS(){if(f5)return Rf;f5=1,Object.defineProperty(Rf,"__esModule",{value:!0}),Rf.serializeTransaction=void 0;const e=Da(),t=La(),r=Bo(),n=ht(),a=Uw(),i=Fw(),c=Sw(),f=CS();function m(u,p){const g=(0,c.getTransactionType)(u);return g==="eip1559"?h(u,p):g==="eip2930"?l(u,p):o(u,p)}Rf.serializeTransaction=m;function h(u,p){const{chainId:g,gas:y,nonce:b,to:x,value:w,maxFeePerGas:E,maxPriorityFeePerGas:j,accessList:T,data:F}=u;(0,i.assertTransactionEIP1559)(u);const z=(0,f.serializeAccessList)(T),K=[(0,n.toHex)(g),b?(0,n.toHex)(b):"0x",j?(0,n.toHex)(j):"0x",E?(0,n.toHex)(E):"0x",y?(0,n.toHex)(y):"0x",x??"0x",w?(0,n.toHex)(w):"0x",F??"0x",z];if(p){const U=p.v===0n?"0x":p.v===1n?(0,n.toHex)(1):p.v===27n?"0x":(0,n.toHex)(1);K.push(U,(0,r.trim)(p.r),(0,r.trim)(p.s))}return(0,t.concatHex)(["0x02",(0,a.toRlp)(K)])}function l(u,p){const{chainId:g,gas:y,data:b,nonce:x,to:w,value:E,accessList:j,gasPrice:T}=u;(0,i.assertTransactionEIP2930)(u);const F=(0,f.serializeAccessList)(j),z=[(0,n.toHex)(g),x?(0,n.toHex)(x):"0x",T?(0,n.toHex)(T):"0x",y?(0,n.toHex)(y):"0x",w??"0x",E?(0,n.toHex)(E):"0x",b??"0x",F];if(p){const K=p.v===0n?"0x":p.v===1n?(0,n.toHex)(1):p.v===27n?"0x":(0,n.toHex)(1);z.push(K,(0,r.trim)(p.r),(0,r.trim)(p.s))}return(0,t.concatHex)(["0x01",(0,a.toRlp)(z)])}function o(u,p){const{chainId:g=0,gas:y,data:b,nonce:x,to:w,value:E,gasPrice:j}=u;(0,i.assertTransactionLegacy)(u);let T=[x?(0,n.toHex)(x):"0x",j?(0,n.toHex)(j):"0x",y?(0,n.toHex)(y):"0x",w??"0x",E?(0,n.toHex)(E):"0x",b??"0x"];if(p){const F=(()=>{if(g>0)return BigInt(g*2)+BigInt(35n+p.v-27n);if(p.v>=35n)return(p.v-35n)/2n>0?p.v:27n+(p.v===35n?0n:1n);const z=27n+(p.v===27n?0n:1n);if(p.v!==z)throw new e.InvalidLegacyVError({v:p.v});return z})();T=[...T,(0,n.toHex)(F),p.r,p.s]}else g>0&&(T=[...T,(0,n.toHex)(g),"0x","0x"]);return(0,a.toRlp)(T)}return Rf}var h5;function OV(){if(h5)return Tf;h5=1,Object.defineProperty(Tf,"__esModule",{value:!0}),Tf.signTransaction=void 0;const e=qa(),t=NS(),r=bw();async function n({privateKey:a,transaction:i,serializer:c=t.serializeTransaction}){const f=await(0,r.sign)({hash:(0,e.keccak256)(c(i)),privateKey:a});return c(i,f)}return Tf.signTransaction=n,Tf}var d0={},p5;function CV(){if(p5)return d0;p5=1,Object.defineProperty(d0,"__esModule",{value:!0}),d0.signTypedData=void 0;const e=cd(),t=yw(),r=bw();async function n({privateKey:a,...i}){const c=await(0,r.sign)({hash:(0,e.hashTypedData)(i),privateKey:a});return(0,t.signatureToHex)(c)}return d0.signTypedData=n,d0}var m5;function IV(){if(m5)return bf;m5=1,Object.defineProperty(bf,"__esModule",{value:!0}),bf.privateKeyToAccount=void 0;const e=Ki(),t=ht(),r=Nz(),n=Ql(),a=Fz(),i=OV(),c=CV();function f(m){const h=(0,t.toHex)(e.secp256k1.getPublicKey(m.slice(2),!1)),l=(0,n.publicKeyToAddress)(h);return{...(0,r.toAccount)({address:l,async signMessage({message:u}){return(0,a.signMessage)({message:u,privateKey:m})},async signTransaction(u,{serializer:p}={}){return(0,i.signTransaction)({privateKey:m,transaction:u,serializer:p})},async signTypedData(u){return(0,c.signTypedData)({...u,privateKey:m})}}),publicKey:h,source:"privateKey"}}return bf.privateKeyToAccount=f,bf}var g5;function NV(){if(g5)return yf;g5=1,Object.defineProperty(yf,"__esModule",{value:!0}),yf.hdKeyToAccount=void 0;const e=ht(),t=IV();function r(n,{accountIndex:a=0,addressIndex:i=0,changeIndex:c=0,path:f}={}){const m=n.derive(f||`m/44'/60'/${a}'/${c}/${i}`);return{...(0,t.privateKeyToAccount)((0,e.toHex)(m.privateKey)),getHdKey:()=>m,source:"hd"}}return yf.hdKeyToAccount=r,yf}var f0={},y5;function Nne(){if(y5)return f0;y5=1,Object.defineProperty(f0,"__esModule",{value:!0}),f0.mnemonicToAccount=void 0;const e=Cz(),t=Iz(),r=NV();function n(a,i={}){const c=(0,t.mnemonicToSeedSync)(a);return(0,r.hdKeyToAccount)(e.HDKey.fromMasterSeed(c),i)}return f0.mnemonicToAccount=n,f0}var h0={},b5;function Mne(){if(b5)return h0;b5=1,Object.defineProperty(h0,"__esModule",{value:!0}),h0.privateKeyToAddress=void 0;const e=Ki(),t=ht(),r=Ql();function n(a){const i=(0,t.bytesToHex)(e.secp256k1.getPublicKey(a.slice(2),!1));return(0,r.publicKeyToAddress)(i)}return h0.privateKeyToAddress=n,h0}var v5;function Fne(){return v5||(v5=1,(function(e){Object.defineProperty(e,"__esMo
18749dule",{value:!0}),e.privateKeyToAddress=e.publicKeyToAddress=e.parseAccount=e.signTypedData=e.signTransaction=e.signMessage=e.signatureToHex=e.sign=e.toAccount=e.privateKeyToAccount=e.mnemonicToAccount=e.hdKeyToAccount=e.generatePrivateKey=e.generateMnemonic=e.traditionalChinese=e.spanish=e.simplifiedChinese=e.korean=e.japanese=e.italian=e.french=e.english=e.czech=e.HDKey=void 0;var t=Cz();Object.defineProperty(e,"HDKey",{enumerable:!0,get:function(){return t.HDKey}});var r=_te();Object.defineProperty(e,"czech",{enumerable:!0,get:function(){return r.wordlist}});var n=xte();Object.defineProperty(e,"english",{enumerable:!0,get:function(){return n.wordlist}});var a=Ete();Object.defineProperty(e,"french",{enumerable:!0,get:function(){return a.wordlist}});var i=jte();Object.defineProperty(e,"italian",{enumerable:!0,get:function(){return i.wordlist}});var c=Ate();Object.defineProperty(e,"japanese",{enumerable:!0,get:function(){return c.wordlist}});var f=Pte();Object.defineProperty(e,"korean",{enumerable:!0,get:function(){return f.wordlist}});var m=Ste();Object.defineProperty(e,"simplifiedChinese",{enumerable:!0,get:function(){return m.wordlist}});var h=kte();Object.defineProperty(e,"spanish",{enumerable:!0,get:function(){return h.wordlist}});var l=Tte();Object.defineProperty(e,"traditionalChinese",{enumerable:!0,get:function(){return l.wordlist}});var o=Ote();Object.defineProperty(e,"generateMnemonic",{enumerable:!0,get:function(){return o.generateMnemonic}});var u=Ite();Object.defineProperty(e,"generatePrivateKey",{enumerable:!0,get:function(){return u.generatePrivateKey}});var p=NV();Object.defineProperty(e,"hdKeyToAccount",{enumerable:!0,get:function(){return p.hdKeyToAccount}});var g=Nne();Object.defineProperty(e,"mnemonicToAccount",{enumerable:!0,get:function(){return g.mnemonicToAccount}});var y=IV();Object.defineProperty(e,"privateKeyToAccount",{enumerable:!0,get:function(){return y.privateKeyToAccount}});var b=Nz();Object.defineProperty(e,"toAccount",{enumerable:!0,get:function(){return b.toAccount}});var x=bw();Object.defineProperty(e,"sign",{enumerable:!0,get:function(){return x.sign}});var w=yw();Object.defineProperty(e,"signatureToHex",{enumerable:!0,get:function(){return w.signatureToHex}});var E=Fz();Object.defineProperty(e,"signMessage",{enumerable:!0,get:function(){return E.signMessage}});var j=OV();Object.defineProperty(e,"signTransaction",{enumerable:!0,get:function(){return j.signTransaction}});var T=CV();Object.defineProperty(e,"signTypedData",{enumerable:!0,get:function(){return T.signTypedData}});var F=ga();Object.defineProperty(e,"parseAccount",{enumerable:!0,get:function(){return F.parseAccount}});var z=Ql();Object.defineProperty(e,"publicKeyToAddress",{enumerable:!0,get:function(){return z.publicKeyToAddress}});var K=Mne();Object.defineProperty(e,"privateKeyToAddress",{enumerable:!0,get:function(){return K.privateKeyToAddress}})})(tx)),tx}var p0={},w5;function MS(){return w5||(w5=1,Object.defineProperty(p0,"__esModule",{value:!0}),p0.silentLogger=void 0,p0.silentLogger={trace:(e,...t)=>{},debug:(e,...t)=>{},info:(e,...t)=>{},warn:(e,...t)=>{},error:(e,...t)=>{}}),p0}var Oc={},Cc={},Ic={},m0={};/*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */var vx,_5;function Er(){if(_5)return vx;_5=1;function e(J,$){return function(){return J.apply($,arguments)}}const{toString:t}=Object.prototype,{getPrototypeOf:r}=Object,{iterator:n,toStringTag:a}=Symbol,i=(J=>$=>{const ae=t.call($);return J[ae]||(J[ae]=ae.slice(8,-1).toLowerCase())})(Object.create(null)),c=J=>(J=J.toLowerCase(),$=>i($)===J),f=J=>$=>typeof $===J,{isArray:m}=Array,h=f("undefined");function l(J){return J!==null&&!h(J)&&J.constructor!==null&&!h(J.constructor)&&g(J.constructor.isBuffer)&&J.constructor.isBuffer(J)}const o=c("ArrayBuffer");function u(J){let $;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?$=ArrayBuffer.isView(J):$=J&&J.buffer&&o(J.buffer),$}const p=f("string"),g=f("function"),y=f("number"),b=J=>J!==null&&typeof J=="object",x=J=>J===!0||J===!1,w=J=>{if(i(J)!=="object")return!1;const $=r(J);
vendor: 3,558 bytes, line 18749
18749return($===null||$===Object.prototype||Object.getPrototypeOf($)===null)&&!(a in J)&&!(n in J)},E=J=>{if(!b(J)||l(J))return!1;try{return Object.keys(J).length===0&&Object.getPrototypeOf(J)===Object.prototype}catch{return!1}},j=c("Date"),T=c("File"),F=c("Blob"),z=c("FileList"),K=J=>b(J)&&g(J.pipe),U=J=>{let $;return J&&(typeof FormData=="function"&&J instanceof FormData||g(J.append)&&(($=i(J))==="formdata"||$==="object"&&g(J.toString)&&J.toString()==="[object FormData]"))},H=c("URLSearchParams"),[V,Z,R,_]=["ReadableStream","Request","Response","Headers"].map(c),k=J=>J.trim?J.trim():J.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function M(J,$,{allOwnKeys:ae=!1}={}){if(J===null||typeof J>"u")return;let ie,se;if(typeof J!="object"&&(J=[J]),m(J))for(ie=0,se=J.length;ie<se;ie++)$.call(null,J[ie],ie,J);else{if(l(J))return;const xe=ae?Object.getOwnPropertyNames(J):Object.keys(J),_e=xe.length;let Ce;for(ie=0;ie<_e;ie++)Ce=xe[ie],$.call(null,J[Ce],Ce,J)}}function B(J,$){if(l(J))return null;$=$.toLowerCase();const ae=Object.keys(J);let ie=ae.length,se;for(;ie-- >0;)if(se=ae[ie],$===se.toLowerCase())return se;return null}const C=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ZH,q=J=>!h(J)&&J!==C;function W(){const{caseless:J,skipUndefined:$}=q(this)&&this||{},ae={},ie=(se,xe)=>{const _e=J&&B(ae,xe)||xe;w(ae[_e])&&w(se)?ae[_e]=W(ae[_e],se):w(se)?ae[_e]=W({},se):m(se)?ae[_e]=se.slice():(!$||!h(se))&&(ae[_e]=se)};for(let se=0,xe=arguments.length;se<xe;se++)arguments[se]&&M(arguments[se],ie);return ae}const I=(J,$,ae,{allOwnKeys:ie}={})=>(M($,(se,xe)=>{ae&&g(se)?J[xe]=e(se,ae):J[xe]=se},{allOwnKeys:ie}),J),S=J=>(J.charCodeAt(0)===65279&&(J=J.slice(1)),J),O=(J,$,ae,ie)=>{J.prototype=Object.create($.prototype,ie),J.prototype.constructor=J,Object.defineProperty(J,"super",{value:$.prototype}),ae&&Object.assign(J.prototype,ae)},Y=(J,$,ae,ie)=>{let se,xe,_e;const Ce={};if($=$||{},J==null)return $;do{for(se=Object.getOwnPropertyNames(J),xe=se.length;xe-- >0;)_e=se[xe],(!ie||ie(_e,J,$))&&!Ce[_e]&&($[_e]=J[_e],Ce[_e]=!0);J=ae!==!1&&r(J)}while(J&&(!ae||ae(J,$))&&J!==Object.prototype);return $},Q=(J,$,ae)=>{J=String(J),(ae===void 0||ae>J.length)&&(ae=J.length),ae-=$.length;const ie=J.indexOf($,ae);return ie!==-1&&ie===ae},ne=J=>{if(!J)return null;if(m(J))return J;let $=J.length;if(!y($))return null;const ae=new Array($);for(;$-- >0;)ae[$]=J[$];return ae},oe=(J=>$=>J&&$ instanceof J)(typeof Uint8Array<"u"&&r(Uint8Array)),ge=(J,$)=>{const ie=(J&&J[n]).call(J);let se;for(;(se=ie.next())&&!se.done;){const xe=se.value;$.call(J,xe[0],xe[1])}},we=(J,$)=>{let ae;const ie=[];for(;(ae=J.exec($))!==null;)ie.push(ae);return ie},Ue=c("HTMLFormElement"),ye=J=>J.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ae,ie,se){return ie.toUpperCase()+se}),de=(({hasOwnProperty:J})=>($,ae)=>J.call($,ae))(Object.prototype),Se=c("RegExp"),Oe=(J,$)=>{const ae=Object.getOwnPropertyDescriptors(J),ie={};M(ae,(se,xe)=>{let _e;(_e=$(se,xe,J))!==!1&&(ie[xe]=_e||se)}),Object.defineProperties(J,ie)},Be=J=>{Oe(J,($,ae)=>{if(g(J)&&["arguments","caller","callee"].indexOf(ae)!==-1)return!1;const ie=J[ae];if(g(ie)){if($.enumerable=!1,"writable"in $){$.writable=!1;return}$.set||($.set=()=>{throw Error("Can not rewrite read-only method '"+ae+"'")})}})},Pt=(J,$)=>{const ae={},ie=se=>{se.forEach(xe=>{ae[xe]=!0})};return m(J)?ie(J):ie(String(J).split($)),ae},Ge=()=>{},ft=(J,$)=>J!=null&&Number.isFinite(J=+J)?J:$;function er(J){return!!(J&&g(J.append)&&J[a]==="FormData"&&J[n])}const dt=J=>{const $=new Array(10),ae=(ie,se)=>
vendor: 4,748 bytes, line 18749
18749{if(b(ie)){if($.indexOf(ie)>=0)return;if(l(ie))return ie;if(!("toJSON"in ie)){$[se]=ie;const xe=m(ie)?[]:{};return M(ie,(_e,Ce)=>{const $e=ae(_e,se+1);!h($e)&&(xe[Ce]=$e)}),$[se]=void 0,xe}}return ie};return ae(J,0)},vt=c("AsyncFunction"),It=J=>J&&(b(J)||g(J))&&g(J.then)&&g(J.catch),Rt=((J,$)=>J?setImmediate:$?((ae,ie)=>(C.addEventListener("message",({source:se,data:xe})=>{se===C&&xe===ae&&ie.length&&ie.shift()()},!1),se=>{ie.push(se),C.postMessage(ae,"*")}))(`axios@${Math.random()}`,[]):ae=>setTimeout(ae))(typeof setImmediate=="function",g(C.postMessage)),Nt=typeof queueMicrotask<"u"?queueMicrotask.bind(C):typeof process<"u"&&process.nextTick||Rt;var be={isArray:m,isArrayBuffer:o,isBuffer:l,isFormData:U,isArrayBufferView:u,isString:p,isNumber:y,isBoolean:x,isObject:b,isPlainObject:w,isEmptyObject:E,isReadableStream:V,isRequest:Z,isResponse:R,isHeaders:_,isUndefined:h,isDate:j,isFile:T,isBlob:F,isRegExp:Se,isFunction:g,isStream:K,isURLSearchParams:H,isTypedArray:oe,isFileList:z,forEach:M,merge:W,extend:I,trim:k,stripBOM:S,inherits:O,toFlatObject:Y,kindOf:i,kindOfTest:c,endsWith:Q,toArray:ne,forEachEntry:ge,matchAll:we,isHTMLForm:Ue,hasOwnProperty:de,hasOwnProp:de,reduceDescriptors:Oe,freezeMethods:Be,toObjectSet:Pt,toCamelCase:ye,noop:Ge,toFiniteNumber:ft,findKey:B,global:C,isContextDefined:q,isSpecCompliantForm:er,toJSONObject:dt,isAsyncFn:vt,isThenable:It,setImmediate:Rt,asap:Nt,isIterable:J=>J!=null&&g(J[n])};function X(J,$,ae,ie,se){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=J,this.name="AxiosError",$&&(this.code=$),ae&&(this.config=ae),ie&&(this.request=ie),se&&(this.response=se,this.status=se.status?se.status:null)}be.inherits(X,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:be.toJSONObject(this.config),code:this.code,status:this.status}}});const L=X.prototype,G={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(J=>{G[J]={value:J}}),Object.defineProperties(X,G),Object.defineProperty(L,"isAxiosError",{value:!0}),X.from=(J,$,ae,ie,se,xe)=>{const _e=Object.create(L);be.toFlatObject(J,_e,function(qe){return qe!==Error.prototype},Ve=>Ve!=="isAxiosError");const Ce=J&&J.message?J.message:"Error",$e=$==null&&J?J.code:$;return X.call(_e,Ce,$e,ae,ie,se),J&&_e.cause==null&&Object.defineProperty(_e,"cause",{value:J,configurable:!0}),_e.name=J&&J.name||"Error",xe&&Object.assign(_e,xe),_e};var re=null;function fe(J){return be.isPlainObject(J)||be.isArray(J)}function ve(J){return be.endsWith(J,"[]")?J.slice(0,-2):J}function ke(J,$,ae){return J?J.concat($).map(function(se,xe){return se=ve(se),!ae&&xe?"["+se+"]":se}).join(ae?".":""):$}function mt(J){return be.isArray(J)&&!J.some(fe)}const bt=be.toFlatObject(be,{},null,function($){return/^is[A-Z]/.test($)});function at(J,$,ae){if(!be.isObject(J))throw new TypeError("target must be an object");$=$||new FormData,ae=be.toFlatObject(ae,{metaTokens:!0,dots:!1,indexes:!1},!1,function(xt,st){return!be.isUndefined(st[xt])});const ie=ae.metaTokens,se=ae.visitor||qe,xe=ae.dots,_e=ae.indexes,$e=(ae.Blob||typeof Blob<"u"&&Blob)&&be.isSpecCompliantForm($);if(!be.isFunction(se))throw new TypeError("visitor must be a function");function Ve(He){if(He===null)return"";if(be.isDate(He))return He.toISOString();if(be.isBoolean(He))return He.toString();if(!$e&&be.isBlob(He))throw new X("Blob is not supported. Use a Buffer instead.");return be.isArrayBuffer(He)||be.isTypedArray(He)?$e&&typeof Blob=="function"?new Blob([He]):Buffer.from(He):He}function qe(He,xt,st){let Cr=He;if(He&&!st&&typeof He=="object"){if(be.endsWith(xt,"{}"))xt=ie?xt:xt.slice(0,-2),He=JSON.stringify(He);else if(be.isArray(He)&&mt(He)||(be.isFileList(He)||be.endsWith(xt,"[]"))&&(Cr=be.toArray(He)))return xt=ve(xt),Cr.forEach(function(Qr,Tn){!(be.isUndefined(Qr)||Qr===null)&&$.append(_e===!0?ke([xt],Tn,xe):_e===null?xt:xt+"[]",Ve(Qr))}),!1}return fe(He)?!0:($.append(ke(st,xt,xe),Ve(He)),!1)}const lt=[],lr=Object.assign(bt,{defaultVisitor:qe,convertValue:Ve,isVisitable:fe});function sn(He,xt){if(!be.isUndefined(He)){if(lt.indexOf(He)!==-1)throw Error("Circular reference detected in "+xt.join("."));lt.push(He),be.forEach(He,function(Cr,ia){(!(be.isUndefined(Cr)||Cr===null)&&se.call($,Cr,be.isString(ia)?ia.trim():ia,xt,lr))===!0&&sn(Cr,xt?xt.concat(ia):[ia])}),lt.pop()}}if(!be.isObject(J))throw new TypeError("data must be an object");return sn(J),$}
vendor: 5,571 bytes, lines 18749-18750
18749function zt(J){const $={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(J).replace(/[!'()~]|%20|%00/g,function(ie){return $[ie]})}function Qe(J,$){this._pairs=[],J&&at(J,this,$)}const Gt=Qe.prototype;Gt.append=function($,ae){this._pairs.push([$,ae])},Gt.toString=function($){const ae=$?function(ie){return $.call(this,ie,zt)}:zt;return this._pairs.map(function(se){return ae(se[0])+"="+ae(se[1])},"").join("&")};function mn(J){return encodeURIComponent(J).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Bt(J,$,ae){if(!$)return J;const ie=ae&&ae.encode||mn;be.isFunction(ae)&&(ae={serialize:ae});const se=ae&&ae.serialize;let xe;if(se?xe=se($,ae):xe=be.isURLSearchParams($)?$.toString():new Qe($,ae).toString(ie),xe){const _e=J.indexOf("#");_e!==-1&&(J=J.slice(0,_e)),J+=(J.indexOf("?")===-1?"?":"&")+xe}return J}class qt{constructor(){this.handlers=[]}use($,ae,ie){return this.handlers.push({fulfilled:$,rejected:ae,synchronous:ie?ie.synchronous:!1,runWhen:ie?ie.runWhen:null}),this.handlers.length-1}eject($){this.handlers[$]&&(this.handlers[$]=null)}clear(){this.handlers&&(this.handlers=[])}forEach($){be.forEach(this.handlers,function(ie){ie!==null&&$(ie)})}}var nn=qt,Zt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tr=typeof URLSearchParams<"u"?URLSearchParams:Qe,Va=typeof FormData<"u"?FormData:null,Jt=typeof Blob<"u"?Blob:null,Qt={isBrowser:!0,classes:{URLSearchParams:tr,FormData:Va,Blob:Jt},protocols:["http","https","file","blob","url","data"]};const Re=typeof window<"u"&&typeof document<"u",ze=typeof navigator=="object"&&navigator||void 0,ot=Re&&(!ze||["ReactNative","NativeScript","NS"].indexOf(ze.product)<0),Xt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",gt=Re&&window.location.href||"http://localhost";var Mt=Object.freeze({__proto__:null,hasBrowserEnv:Re,hasStandardBrowserWebWorkerEnv:Xt,hasStandardBrowserEnv:ot,navigator:ze,origin:gt}),hr={...Mt,...Qt};function rr(J,$){return at(J,new hr.classes.URLSearchParams,{visitor:function(ae,ie,se,xe){return hr.isNode&&be.isBuffer(ae)?(this.append(ie,ae.toString("base64")),!1):xe.defaultVisitor.apply(this,arguments)},...$})}function dr(J){return be.matchAll(/\w+|\[(\w*)]/g,J).map($=>$[0]==="[]"?"":$[1]||$[0])}function Pi(J){const $={},ae=Object.keys(J);let ie;const se=ae.length;let xe;for(ie=0;ie<se;ie++)xe=ae[ie],$[xe]=J[xe];return $}function gr(J){function $(ae,ie,se,xe){let _e=ae[xe++];if(_e==="__proto__")return!0;const Ce=Number.isFinite(+_e),$e=xe>=ae.length;return _e=!_e&&be.isArray(se)?se.length:_e,$e?(be.hasOwnProp(se,_e)?se[_e]=[se[_e],ie]:se[_e]=ie,!Ce):((!se[_e]||!be.isObject(se[_e]))&&(se[_e]=[]),$(ae,ie,se[_e],xe)&&be.isArray(se[_e])&&(se[_e]=Pi(se[_e])),!Ce)}if(be.isFormData(J)&&be.isFunction(J.entries)){const ae={};return be.forEachEntry(J,(ie,se)=>{$(dr(ie),se,ae,0)}),ae}return null}function wr(J,$,ae){if(be.isString(J))try{return($||JSON.parse)(J),be.trim(J)}catch(ie){if(ie.name!=="SyntaxError")throw ie}return(ae||JSON.stringify)(J)}const kn={transitional:Zt,adapter:["xhr","http","fetch"],transformRequest:[function($,ae){const ie=ae.getContentType()||"",se=ie.indexOf("application/json")>-1,xe=be.isObject($);if(xe&&be.isHTMLForm($)&&($=new FormData($)),be.isFormData($))return se?JSON.stringify(gr($)):$;if(be.isArrayBuffer($)||be.isBuffer($)||be.isStream($)||be.isFile($)||be.isBlob($)||be.isReadableStream($))return $;if(be.isArrayBufferView($))return $.buffer;if(be.isURLSearchParams($))return ae.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),$.toString();let Ce;if(xe){if(ie.indexOf("application/x-www-form-urlencoded")>-1)return rr($,this.formSerializer).toString();if((Ce=be.isFileList($))||ie.indexOf("multipart/form-data")>-1){const $e=this.env&&this.env.FormData;return at(Ce?{"files[]":$}:$,$e&&new $e,this.formSerializer)}}return xe||se?(ae.setContentType("application/json",!1),wr($)):$}],transformResponse:[function($){const ae=this.transitional||kn.transitional,ie=ae&&ae.forcedJSONParsing,se=this.responseType==="json";if(be.isResponse($)||be.isReadableStream($))return $;if($&&be.isString($)&&(ie&&!this.responseType||se)){const _e=!(ae&&ae.silentJSONParsing)&&se;try{return JSON.parse($,this.parseReviver)}catch(Ce){if(_e)throw Ce.name==="SyntaxError"?X.from(Ce,X.ERR_BAD_RESPONSE,this,null,this.response):Ce}}return $}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:hr.classes.FormData,Blob:hr.classes.Blob},validateStatus:function($){return $>=200&&$<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};be.forEach(["delete","get","head","post","put","patch"],J=>{kn.headers[J]={}});var pr=kn;const yr=be.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Ji=J=>{const $={};let ae,ie,se;return J&&J.split(` 18750`).forEach(function(_e){se=_e.indexOf(":"),ae=_e.substring(0,se).trim().toLowerCase(),ie=_e.substring(se+1).trim(),!(!ae||$[ae]&&yr[ae])&&(ae==="set-cookie"?$[ae]?$[ae].push(ie):$[ae]=[ie]:$[ae]=$[ae]?$[ae]+", "+ie:ie)}),$};const ri=Symbol("internals");function ta(J){return J&&String(J).trim().toLowerCase()}function va(J){return J===!1||J==null?J:be.isArray(J)?J.map(va):String(J)}function Si(J){const $=Object.create(null),ae=/([^\s,;
18750=]+)\s*(?:=\s*([^,;]+))?/g;let ie;for(;ie=ae.exec(J);)$[ie[1]]=ie[2];return $}const Qi=J=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(J.trim());function ni(J,$,ae,ie,se){if(be.isFunction(ie))return ie.call(this,$,ae);if(se&&($=ae),!!be.isString($)){if(be.isString(ie))return $.indexOf(ie)!==-1;if(be.isRegExp(ie))return ie.test($)}}function cr(J){return J.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,($,ae,ie)=>ae.toUpperCase()+ie)}function Xi(J,$){const ae=be.toCamelCase(" "+$);["get","set","has"].forEach(ie=>{Object.defineProperty(J,ie+ae,{value:function(se,xe,_e){return this[ie].call(this,$,se,xe,_e)},configurable:!0})})}class ra{constructor($){$&&this.set($)}set($,ae,ie){const se=this;function xe(Ce,$e,Ve){const qe=ta($e);if(!qe)throw new Error("header name must be a non-empty string");const lt=be.findKey(se,qe);(!lt||se[lt]===void 0||Ve===!0||Ve===void 0&&se[lt]!==!1)&&(se[lt||$e]=va(Ce))}const _e=(Ce,$e)=>be.forEach(Ce,(Ve,qe)=>xe(Ve,qe,$e));if(be.isPlainObject($)||$ instanceof this.constructor)_e($,ae);else if(be.isString($)&&($=$.trim())&&!Qi($))_e(Ji($),ae);else if(be.isObject($)&&be.isIterable($)){let Ce={},$e,Ve;for(const qe of $){if(!be.isArray(qe))throw TypeError("Object iterator must return a key-value pair");Ce[Ve=qe[0]]=($e=Ce[Ve])?be.isArray($e)?[...$e,qe[1]]:[$e,qe[1]]:qe[1]}_e(Ce,ae)}else $!=null&&xe(ae,$,ie);return this}get($,ae){if($=ta($),$){const ie=be.findKey(this,$);if(ie){const se=this[ie];if(!ae)return se;if(ae===!0)return Si(se);if(be.isFunction(ae))return ae.call(this,se,ie);if(be.isRegExp(ae))return ae.exec(se);throw new TypeError("parser must be boolean|regexp|function")}}}has($,ae){if($=ta($),$){const ie=be.findKey(this,$);return!!(ie&&this[ie]!==void 0&&(!ae||ni(this,this[ie],ie,ae)))}return!1}delete($,ae){const ie=this;let se=!1;function xe(_e){if(_e=ta(_e),_e){const Ce=be.findKey(ie,_e);Ce&&(!ae||ni(ie,ie[Ce],Ce,ae))&&(delete ie[Ce],se=!0)}}return be.isArray($)?$.forEach(xe):xe($),se}clear($){const ae=Object.keys(this);let ie=ae.length,se=!1;for(;ie--;){const xe=ae[ie];(!$||ni(this,this[xe],xe,$,!0))&&(delete this[xe],se=!0)}return se}normalize($){const ae=this,ie={};return be.forEach(this,(se,xe)=>{const _e=be.findKey(ie,xe);if(_e){ae[_e]=va(se),delete ae[xe];return}const Ce=$?cr(xe):String(xe).trim();Ce!==xe&&delete ae[xe],ae[Ce]=va(se),ie[Ce]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){const ae=Object.create(null);return be.forEach(this,(ie,se)=>{ie!=null&&ie!==!1&&(ae[se]=$&&be.isArray(ie)?ie.join(", "):ie)}),ae}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,ae])=>$+": "+ae).join(` 18751`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...ae){const ie=new this($);return ae.forEach(se=>ie.set(se)),ie}static accessor($){const ie=(this[ri]=this[ri]={accessors:{}}).accessors,se=this.prototype;function xe(_e){const Ce=ta(_e);ie[Ce]||(Xi(se,_e),ie[Ce]=!0)}return be.isArray($)?$.forEach(xe):xe($),this}}ra.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),be.reduceDescriptors(ra.prototype,({value:J},$)=>{let ae=$[0].toUpperCase()+$.slice(1);return{get:()=>J,set(ie){this[ae]=ie}}}),be.freezeMethods(ra);var Zr=ra;function na(J,$){const ae=this||pr,ie=$||ae,se=Zr.from(ie.headers);let xe=ie.data;return be.forEach(J,function(Ce){xe=Ce.call(ae,xe,se.normalize(),$?$.status:void 0)}),se.normalize(),xe}function ki(J){return!!(J&&J.__CANCEL__)}function Hn(J,$,ae){X.call(this,J??"canceled",X.ERR_CANCELED,$,ae),this.name="CanceledError"}be.inherits(Hn,X,{__CANCEL__:!0});function wa(J,$,ae){const ie=ae.config.validateStatus;!ae.status||!ie||ie(ae.status)?J(ae):$(new X("Request failed with status code "+ae.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(ae.status/100)-4],ae.config,ae.request,ae))}function Jr(J){const $=/^([-+\w]{1,25})(:?\/\/|:)/.exec(J);return $&&$[1]||""}function $i(J,$){J=J||10;const ae=new Array(J),ie=new Array(J);let se=0,xe=0,_e;return $=$!==void 0?$:1e3,function($e){const Ve=Date.now(),qe=ie[xe];_e||(_e=Ve),ae[se]=$e,ie[se]=Ve;let lt=xe,lr=0;for(;lt!==se;)lr+=ae[lt++],lt=lt%J;if(se=(se+1)%J,se===xe&&(xe=(xe+1)%J),Ve-_e<$)return;const sn=qe&&Ve-qe;return sn?Math.round(lr*1e3/sn):void 0}}function an(J,$){let ae=0,ie=1e3/$,se,xe;const _e=(Ve,qe=Date.now())=>{ae=qe,se=null,xe&&(clearTimeout(xe),xe=null),J(...Ve)};return[(...Ve)=>{const qe=Date.now(),lt=qe-ae;lt>=ie?_e(Ve,qe):(se=Ve,xe||(xe=setTimeout(()=>{xe=null,_e(se)},ie-lt)))},()=>se&&_e(se)]}const aa=(J,$,ae=3)=>{let ie=0;const se=$i(50,250);return an(xe=>{const _e=xe.loaded,Ce=xe.lengthComputable?xe.total:void 0,$e=_e-ie,Ve=se($e),qe=_e<=Ce;ie=_e;const lt={loaded:_e,total:Ce,progress:Ce?_e/Ce:void 0,bytes:$e,rate:Ve||void 0,estimated:Ve&&Ce&&qe?(Ce-_e)/Ve:void 0,event:xe,lengthComputable:Ce!=null,[$?"download":"upload"]:!0};J(lt)},ae)},Iy=(J,$)=>
vendor: 5,464 bytes, line 18751
18751{const ae=J!=null;return[ie=>$[0]({lengthComputable:ae,total:J,loaded:ie}),$[1]]},Ny=J=>(...$)=>be.asap(()=>J(...$));var Ou=hr.hasStandardBrowserEnv?((J,$)=>ae=>(ae=new URL(ae,hr.origin),J.protocol===ae.protocol&&J.host===ae.host&&($||J.port===ae.port)))(new URL(hr.origin),hr.navigator&&/(msie|trident)/i.test(hr.navigator.userAgent)):()=>!0,Cu=hr.hasStandardBrowserEnv?{write(J,$,ae,ie,se,xe,_e){if(typeof document>"u")return;const Ce=[`${J}=${encodeURIComponent($)}`];be.isNumber(ae)&&Ce.push(`expires=${new Date(ae).toUTCString()}`),be.isString(ie)&&Ce.push(`path=${ie}`),be.isString(se)&&Ce.push(`domain=${se}`),xe===!0&&Ce.push("secure"),be.isString(_e)&&Ce.push(`SameSite=${_e}`),document.cookie=Ce.join("; ")},read(J){if(typeof document>"u")return null;const $=document.cookie.match(new RegExp("(?:^|; )"+J+"=([^;]*)"));return $?decodeURIComponent($[1]):null},remove(J){this.write(J,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function zo(J){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(J)}function Iu(J,$){return $?J.replace(/\/?\/$/,"")+"/"+$.replace(/^\/+/,""):J}function My(J,$,ae){let ie=!zo($);return J&&(ie||ae==!1)?Iu(J,$):$}const Fy=J=>J instanceof Zr?{...J}:J;function ai(J,$){$=$||{};const ae={};function ie(Ve,qe,lt,lr){return be.isPlainObject(Ve)&&be.isPlainObject(qe)?be.merge.call({caseless:lr},Ve,qe):be.isPlainObject(qe)?be.merge({},qe):be.isArray(qe)?qe.slice():qe}function se(Ve,qe,lt,lr){if(be.isUndefined(qe)){if(!be.isUndefined(Ve))return ie(void 0,Ve,lt,lr)}else return ie(Ve,qe,lt,lr)}function xe(Ve,qe){if(!be.isUndefined(qe))return ie(void 0,qe)}function _e(Ve,qe){if(be.isUndefined(qe)){if(!be.isUndefined(Ve))return ie(void 0,Ve)}else return ie(void 0,qe)}function Ce(Ve,qe,lt){if(lt in $)return ie(Ve,qe);if(lt in J)return ie(void 0,Ve)}const $e={url:xe,method:xe,data:xe,baseURL:_e,transformRequest:_e,transformResponse:_e,paramsSerializer:_e,timeout:_e,timeoutMessage:_e,withCredentials:_e,withXSRFToken:_e,adapter:_e,responseType:_e,xsrfCookieName:_e,xsrfHeaderName:_e,onUploadProgress:_e,onDownloadProgress:_e,decompress:_e,maxContentLength:_e,maxBodyLength:_e,beforeRedirect:_e,transport:_e,httpAgent:_e,httpsAgent:_e,cancelToken:_e,socketPath:_e,responseEncoding:_e,validateStatus:Ce,headers:(Ve,qe,lt)=>se(Fy(Ve),Fy(qe),lt,!0)};return be.forEach(Object.keys({...J,...$}),function(qe){const lt=$e[qe]||se,lr=lt(J[qe],$[qe],qe);be.isUndefined(lr)&<!==Ce||(ae[qe]=lr)}),ae}var pd=J=>{const $=ai({},J);let{data:ae,withXSRFToken:ie,xsrfHeaderName:se,xsrfCookieName:xe,headers:_e,auth:Ce}=$;if($.headers=_e=Zr.from(_e),$.url=Bt(My($.baseURL,$.url,$.allowAbsoluteUrls),J.params,J.paramsSerializer),Ce&&_e.set("Authorization","Basic "+btoa((Ce.username||"")+":"+(Ce.password?unescape(encodeURIComponent(Ce.password)):""))),be.isFormData(ae)){if(hr.hasStandardBrowserEnv||hr.hasStandardBrowserWebWorkerEnv)_e.setContentType(void 0);else if(be.isFunction(ae.getHeaders)){const $e=ae.getHeaders(),Ve=["content-type","content-length"];Object.entries($e).forEach(([qe,lt])=>{Ve.includes(qe.toLowerCase())&&_e.set(qe,lt)})}}if(hr.hasStandardBrowserEnv&&(ie&&be.isFunction(ie)&&(ie=ie($)),ie||ie!==!1&&Ou($.url))){const $e=se&&xe&&Cu.read(xe);$e&&_e.set(se,$e)}return $},Vo=typeof XMLHttpRequest<"u"&&function(J){return new Promise(function(ae,ie){const se=pd(J);let xe=se.data;const _e=Zr.from(se.headers).normalize();let{responseType:Ce,onUploadProgress:$e,onDownloadProgress:Ve}=se,qe,lt,lr,sn,He;function xt(){sn&&sn(),He&&He(),se.cancelToken&&se.cancelToken.unsubscribe(qe),se.signal&&se.signal.removeEventListener("abort",qe)}let st=new XMLHttpRequest;st.open(se.method.toUpperCase(),se.url,!0),st.timeout=se.timeout;function Cr(){if(!st)return;const Qr=Zr.from("getAllResponseHeaders"in st&&st.getAllResponseHeaders()),_a={data:!Ce||Ce==="text"||Ce==="json"?st.responseText:st.response,status:st.status,statusText:st.statusText,headers:Qr,config:J,request:st};wa(function(Wn){ae(Wn),xt()},function(Wn){ie(Wn),xt()},_a),st=null}"onloadend"in st?st.onloadend=Cr:st.onreadystatechange=function(){!st||st.readyState!==4||st.status===0&&!(st.responseURL&&st.responseURL.indexOf("file:")===0)||setTimeout(Cr)},st.onabort=function(){st&&(ie(new X("Request aborted",X.ECONNABORTED,J,st)),st=null)},st.onerror=function(Tn){const _a=Tn&&Tn.message?Tn.message:"Network Error",rs=new X(_a,X.ERR_NETWORK,J,st);rs.event=Tn||null,ie(rs),st=null},st.ontimeout=function(){let Tn=se.timeout?"timeout of "+se.timeout+"ms exceeded":"timeout exceeded";const _a=se.transitional||Zt;se.timeoutErrorMessage&&(Tn=se.timeoutErrorMessage),ie(new X(Tn,_a.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,J,st)),st=null},xe===void 0&&_e.setContentType(null),"setRequestHeader"in st&&be.forEach(_e.toJSON(),function(Tn,_a){st.setRequestHeader(_a,Tn)}),be.isUndefined(se.withCredentials)||(st.withCredentials=!!se.withCredentials),Ce&&Ce!=="json"&&(st.responseType=se.responseType),Ve&&([lr,He]=aa(Ve,!0),st.addEventListener("progress",lr)),$e&&st.upload&&([lt,sn]=aa($e),st.upload.addEventListener("progress",lt),st.upload.addEventListener("loadend",sn)),(se.cancelToken||se.signal)&&(qe=Qr=>{st&&(ie(!Qr||Qr.type?new Hn(null,J,st):Qr),st.abort(),st=null)},se.cancelToken&&se.cancelToken.subscribe(qe),se.signal&&(se.signal.aborted?qe():se.signal.addEventListener("abort",qe)));const ia=Jr(se.url);if(ia&&hr.protocols.indexOf(ia)===-1){ie(new X("Unsupported protocol "+ia+":",X.ERR_BAD_REQUEST,J));return}st.send(xe||null)})},md=(J,$)=>
vendor: 1,773 bytes, line 18751
18751{const{length:ae}=J=J?J.filter(Boolean):[];if($||ae){let ie=new AbortController,se;const xe=function(Ve){if(!se){se=!0,Ce();const qe=Ve instanceof Error?Ve:this.reason;ie.abort(qe instanceof X?qe:new Hn(qe instanceof Error?qe.message:qe))}};let _e=$&&setTimeout(()=>{_e=null,xe(new X(`timeout ${$} of ms exceeded`,X.ETIMEDOUT))},$);const Ce=()=>{J&&(_e&&clearTimeout(_e),_e=null,J.forEach(Ve=>{Ve.unsubscribe?Ve.unsubscribe(xe):Ve.removeEventListener("abort",xe)}),J=null)};J.forEach(Ve=>Ve.addEventListener("abort",xe));const{signal:$e}=ie;return $e.unsubscribe=()=>be.asap(Ce),$e}};const ur=function*(J,$){let ae=J.byteLength;if(ae<$){yield J;return}let ie=0,se;for(;ie<ae;)se=ie+$,yield J.slice(ie,se),ie=se},Uy=async function*(J,$){for await(const ae of qy(J))yield*ur(ae,$)},qy=async function*(J){if(J[Symbol.asyncIterator]){yield*J;return}const $=J.getReader();try{for(;;){const{done:ae,value:ie}=await $.read();if(ae)break;yield ie}}finally{await $.cancel()}},Nu=(J,$,ae,ie)=>{const se=Uy(J,$);let xe=0,_e,Ce=$e=>{_e||(_e=!0,ie&&ie($e))};return new ReadableStream({async pull($e){try{const{done:Ve,value:qe}=await se.next();if(Ve){Ce(),$e.close();return}let lt=qe.byteLength;if(ae){let lr=xe+=lt;ae(lr)}$e.enqueue(new Uint8Array(qe))}catch(Ve){throw Ce(Ve),Ve}},cancel($e){return Ce($e),se.return()}},{highWaterMark:2})},gd=64*1024,{isFunction:Ho}=be,Ly=(({Request:J,Response:$})=>({Request:J,Response:$}))(be.global),{ReadableStream:Mu,TextEncoder:Wo}=be.global,ii=(J,...$)=>{try{return!!J(...$)}catch{return!1}},Ti=J=>{J=be.merge.call({skipUndefined:!0},Ly,J);const{fetch:$,Request:ae,Response:ie}=J,se=$?Ho($):typeof fetch=="function",xe=Ho(ae),_e=Ho(ie);if(!se)return!1;const Ce=se&&Ho(Mu),$e=se&&(typeof Wo=="function"?(He=>xt=>He.encode(xt))(new Wo):async He=>
vendor: 8,647 bytes, lines 18751-18754
18751new Uint8Array(await new ae(He).arrayBuffer())),Ve=xe&&Ce&&ii(()=>{let He=!1;const xt=new ae(hr.origin,{body:new Mu,method:"POST",get duplex(){return He=!0,"half"}}).headers.has("Content-Type");return He&&!xt}),qe=_e&&Ce&&ii(()=>be.isReadableStream(new ie("").body)),lt={stream:qe&&(He=>He.body)};se&&["text","arrayBuffer","blob","formData","stream"].forEach(He=>{!lt[He]&&(lt[He]=(xt,st)=>{let Cr=xt&&xt[He];if(Cr)return Cr.call(xt);throw new X(`Response type '${He}' is not supported`,X.ERR_NOT_SUPPORT,st)})});const lr=async He=>{if(He==null)return 0;if(be.isBlob(He))return He.size;if(be.isSpecCompliantForm(He))return(await new ae(hr.origin,{method:"POST",body:He}).arrayBuffer()).byteLength;if(be.isArrayBufferView(He)||be.isArrayBuffer(He))return He.byteLength;if(be.isURLSearchParams(He)&&(He=He+""),be.isString(He))return(await $e(He)).byteLength},sn=async(He,xt)=>{const st=be.toFiniteNumber(He.getContentLength());return st??lr(xt)};return async He=>{let{url:xt,method:st,data:Cr,signal:ia,cancelToken:Qr,timeout:Tn,onDownloadProgress:_a,onUploadProgress:rs,responseType:Wn,headers:xd,withCredentials:Lu="same-origin",fetchOptions:Vy}=pd(He),Hy=$||fetch;Wn=Wn?(Wn+"").toLowerCase():"text";let Qs=md([ia,Qr&&Qr.toAbortSignal()],Tn),Zo=null;const ns=Qs&&Qs.unsubscribe&&(()=>{Qs.unsubscribe()});let Wy;try{if(rs&&Ve&&st!=="get"&&st!=="head"&&(Wy=await sn(xd,Cr))!==0){let Ni=new ae(xt,{method:"POST",body:Cr,duplex:"half"}),Xs;if(be.isFormData(Cr)&&(Xs=Ni.headers.get("content-type"))&&xd.setContentType(Xs),Ni.body){const[Ed,$s]=Iy(Wy,aa(Ny(rs)));Cr=Nu(Ni.body,gd,Ed,$s)}}be.isString(Lu)||(Lu=Lu?"include":"omit");const xa=xe&&"credentials"in ae.prototype,Gy={...Vy,signal:Qs,method:st.toUpperCase(),headers:xd.normalize().toJSON(),body:Cr,duplex:"half",credentials:xa?Lu:void 0};Zo=xe&&new ae(xt,Gy);let Ii=await(xe?Hy(Zo,Vy):Hy(xt,Gy));const Ky=qe&&(Wn==="stream"||Wn==="response");if(qe&&(_a||Ky&&ns)){const Ni={};["status","statusText","headers"].forEach(eo=>{Ni[eo]=Ii[eo]});const Xs=be.toFiniteNumber(Ii.headers.get("content-length")),[Ed,$s]=_a&&Iy(Xs,aa(Ny(_a),!0))||[];Ii=new ie(Nu(Ii.body,gd,Ed,()=>{$s&&$s(),ns&&ns()}),Ni)}Wn=Wn||"text";let Vw=await lt[be.findKey(lt,Wn)||"text"](Ii,He);return!Ky&&ns&&ns(),await new Promise((Ni,Xs)=>{wa(Ni,Xs,{data:Vw,headers:Zr.from(Ii.headers),status:Ii.status,statusText:Ii.statusText,config:He,request:Zo})})}catch(xa){throw ns&&ns(),xa&&xa.name==="TypeError"&&/Load failed|fetch/i.test(xa.message)?Object.assign(new X("Network Error",X.ERR_NETWORK,He,Zo),{cause:xa.cause||xa}):X.from(xa,xa&&xa.code,He,Zo)}}},Ri=new Map,Zs=J=>{let $=J&&J.env||{};const{fetch:ae,Request:ie,Response:se}=$,xe=[ie,se,ae];let _e=xe.length,Ce=_e,$e,Ve,qe=Ri;for(;Ce--;)$e=xe[Ce],Ve=qe.get($e),Ve===void 0&&qe.set($e,Ve=Ce?new Map:Ti($)),qe=Ve;return Ve};Zs();const es={http:re,xhr:Vo,fetch:{get:Zs}};be.forEach(es,(J,$)=>{if(J){try{Object.defineProperty(J,"name",{value:$})}catch{}Object.defineProperty(J,"adapterName",{value:$})}});const si=J=>`- ${J}`,zw=J=>be.isFunction(J)||J===null||J===!1;function Dy(J,$){J=be.isArray(J)?J:[J];const{length:ae}=J;let ie,se;const xe={};for(let _e=0;_e<ae;_e++){ie=J[_e];let Ce;if(se=ie,!zw(ie)&&(se=es[(Ce=String(ie)).toLowerCase()],se===void 0))throw new X(`Unknown adapter '${Ce}'`);if(se&&(be.isFunction(se)||(se=se.get($))))break;xe[Ce||"#"+_e]=se}if(!se){const _e=Object.entries(xe).map(([$e,Ve])=>`adapter ${$e} `+(Ve===!1?"is not supported by the environment":"is not available in the build"));let Ce=ae?_e.length>1?`since : 18752`+_e.map(si).join(` 18753`):" "+si(_e[0]):"as no adapter specified";throw new X("There is no suitable adapter to dispatch the request "+Ce,"ERR_NOT_SUPPORT")}return se}var Js={getAdapter:Dy,adapters:es};function yd(J){if(J.cancelToken&&J.cancelToken.throwIfRequested(),J.signal&&J.signal.aborted)throw new Hn(null,J)}function bd(J){return yd(J),J.headers=Zr.from(J.headers),J.data=na.call(J,J.transformRequest),["post","put","patch"].indexOf(J.method)!==-1&&J.headers.setContentType("application/x-www-form-urlencoded",!1),Js.getAdapter(J.adapter||pr.adapter,J)(J).then(function(ie){return yd(J),ie.data=na.call(J,J.transformResponse,ie),ie.headers=Zr.from(ie.headers),ie},function(ie){return ki(ie)||(yd(J),ie&&ie.response&&(ie.response.data=na.call(J,J.transformResponse,ie.response),ie.response.headers=Zr.from(ie.response.headers))),Promise.reject(ie)})}const Go="1.13.2",Ko={};["object","boolean","number","function","string","symbol"].forEach((J,$)=>{Ko[J]=function(ie){return typeof ie===J||"a"+($<1?"n ":" ")+J}});const zy={};Ko.transitional=function($,ae,ie){function se(xe,_e){return"[Axios v"+Go+"] Transitional option '"+xe+"'"+_e+(ie?". "+ie:"")}return(xe,_e,Ce)=>{if($===!1)throw new X(se(_e," has been removed"+(ae?" in "+ae:"")),X.ERR_DEPRECATED);return ae&&!zy[_e]&&(zy[_e]=!0,console.warn(se(_e," has been deprecated since v"+ae+" and will be removed in the near future"))),$?$(xe,_e,Ce):!0}},Ko.spelling=function($){return(ae,ie)=>(console.warn(`${ie} is likely a misspelling of ${$}`),!0)};function Yo(J,$,ae){if(typeof J!="object")throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);const ie=Object.keys(J);let se=ie.length;for(;se-- >0;){const xe=ie[se],_e=$[xe];if(_e){const Ce=J[xe],$e=Ce===void 0||_e(Ce,xe,J);if($e!==!0)throw new X("option "+xe+" must be "+$e,X.ERR_BAD_OPTION_VALUE);continue}if(ae!==!0)throw new X("Unknown option "+xe,X.ERR_BAD_OPTION)}}var Oi={assertOptions:Yo,validators:Ko};const wn=Oi.validators;class ts{constructor($){this.defaults=$||{},this.interceptors={request:new nn,response:new nn}}async request($,ae){try{return await this._request($,ae)}catch(ie){if(ie instanceof Error){let se={};Error.captureStackTrace?Error.captureStackTrace(se):se=new Error;const xe=se.stack?se.stack.replace(/^.+\n/,""):"";try{ie.stack?xe&&!String(ie.stack).endsWith(xe.replace(/^.+\n.+\n/,""))&&(ie.stack+=` 18754`+xe):ie.stack=xe}catch{}}throw ie}}_request($,ae){typeof $=="string"?(ae=ae||{},ae.url=$):ae=$||{},ae=ai(this.defaults,ae);const{transitional:ie,paramsSerializer:se,headers:xe}=ae;ie!==void 0&&Oi.assertOptions(ie,{silentJSONParsing:wn.transitional(wn.boolean),forcedJSONParsing:wn.transitional(wn.boolean),clarifyTimeoutError:wn.transitional(wn.boolean)},!1),se!=null&&(be.isFunction(se)?ae.paramsSerializer={serialize:se}:Oi.assertOptions(se,{encode:wn.function,serialize:wn.function},!0)),ae.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?ae.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:ae.allowAbsoluteUrls=!0),Oi.assertOptions(ae,{baseUrl:wn.spelling("baseURL"),withXsrfToken:wn.spelling("withXSRFToken")},!0),ae.method=(ae.method||this.defaults.method||"get").toLowerCase();let _e=xe&&be.merge(xe.common,xe[ae.method]);xe&&be.forEach(["delete","get","head","post","put","patch","common"],He=>{delete xe[He]}),ae.headers=Zr.concat(_e,xe);const Ce=[];let $e=!0;this.interceptors.request.forEach(function(xt){typeof xt.runWhen=="function"&&xt.runWhen(ae)===!1||($e=$e&&xt.synchronous,Ce.unshift(xt.fulfilled,xt.rejected))});const Ve=[];this.interceptors.response.forEach(function(xt){Ve.push(xt.fulfilled,xt.rejected)});let qe,lt=0,lr;if(!$e){const He=[bd.bind(this),void 0];for(He.unshift(...Ce),He.push(...Ve),lr=He.length,qe=Promise.resolve(ae);lt<lr;)qe=qe.then(He[lt++],He[lt++]);return qe}lr=Ce.length;let sn=ae;for(;lt<lr;){const He=Ce[lt++],xt=Ce[lt++];try{sn=He(sn)}catch(st){xt.call(this,st);break}}try{qe=bd.call(this,sn)}catch(He){return Promise.reject(He)}for(lt=0,lr=Ve.length;lt<lr;)qe=qe.then(Ve[lt++],Ve[lt++]);return qe}getUri($){$=ai(this.defaults,$);const ae=My($.baseURL,$.url,$.allowAbsoluteUrls);return Bt(ae,$.params,$.paramsSerializer)}}be.forEach(["delete","get","head","options"],function($){ts.prototype[$]=function(ae,ie){return this.request(ai(ie||{},{method:$,url:ae,data:(ie||{}).data}))}}),be.forEach(["post","put","patch"],function($){function ae(ie){return function(xe,_e,Ce){return this.request(ai(Ce||{},{method:$,headers:ie?{"Content-Type":"multipart/form-data"}:{},url:xe,data:_e}))}}ts.prototype[$]=ae(),ts.prototype[$+"Form"]=ae(!0)});var Fu=ts;class vd{constructor($){if(typeof $!="function")throw new TypeError("executor must be a function.");let ae;this.promise=new Promise(function(xe){ae=xe});const ie=this;this.promise.then(se=>{if(!ie._listeners)return;let xe=ie._listeners.length;for(;xe-- >0;)ie._listeners[xe](se);ie._listeners=null}),this.promise.then=se=>{let xe;const _e=new Promise(Ce=>{ie.subscribe(Ce),xe=Ce}).then(se);return _e.cancel=function(){ie.unsubscribe(xe)},_e},$(function(xe,_e,Ce){ie.reason||(ie.reason=new Hn(xe,_e,Ce),ae(ie.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
vendor: 2,459 bytes, line 18754
18754subscribe($){if(this.reason){$(this.reason);return}this._listeners?this._listeners.push($):this._listeners=[$]}unsubscribe($){if(!this._listeners)return;const ae=this._listeners.indexOf($);ae!==-1&&this._listeners.splice(ae,1)}toAbortSignal(){const $=new AbortController,ae=ie=>{$.abort(ie)};return this.subscribe(ae),$.signal.unsubscribe=()=>this.unsubscribe(ae),$.signal}static source(){let $;return{token:new vd(function(se){$=se}),cancel:$}}}var wd=vd;function Bu(J){return function(ae){return J.apply(null,ae)}}function _d(J){return be.isObject(J)&&J.isAxiosError===!0}const Uu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Uu).forEach(([J,$])=>{Uu[$]=J});var Ci=Uu;function qu(J){const $=new Fu(J),ae=e(Fu.prototype.request,$);return be.extend(ae,Fu.prototype,$,{allOwnKeys:!0}),be.extend(ae,$,null,{allOwnKeys:!0}),ae.create=function(se){return qu(ai(J,se))},ae}const jr=qu(pr);return jr.Axios=Fu,jr.CanceledError=Hn,jr.CancelToken=wd,jr.isCancel=ki,jr.VERSION=Go,jr.toFormData=at,jr.AxiosError=X,jr.Cancel=jr.CanceledError,jr.all=function($){return Promise.all($)},jr.spread=Bu,jr.isAxiosError=_d,jr.mergeConfig=ai,jr.AxiosHeaders=Zr,jr.formToJSON=J=>
18754gr(be.isHTMLForm(J)?new FormData(J):J),jr.getAdapter=Js.getAdapter,jr.HttpStatusCode=Ci,jr.default=jr,vx=jr,vx}var Mr={},g0={},x5;function ku(){return x5||(x5=1,(function(e){var t=g0&&g0.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.RequiredError=e.BaseAPI=e.COLLECTION_FORMATS=e.BASE_PATH=void 0;const r=t(Er());e.BASE_PATH="https://api.neynar.com/v1".replace(/\/+$/,""),e.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};class n{constructor(c,f=e.BASE_PATH,m=r.default){this.basePath=f,this.axios=m,c&&(this.configuration=c,this.basePath=c.basePath||this.basePath)}}e.BaseAPI=n;class a extends Error{constructor(c,f){super(f),this.field=c,this.name="RequiredError"}}e.RequiredError=a})(g0)),g0}var E5;function ld(){if(E5)return Mr;E5=1,Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.createRequestFunction=Mr.toPathString=Mr.serializeDataIfNeeded=Mr.setSearchParams=Mr.setOAuthToObject=Mr.setBearerAuthToObject=Mr.setBasicAuthToObject=Mr.setApiKeyToObject=Mr.assertParamExists=Mr.DUMMY_BASE_URL=void 0;const e=ku();Mr.DUMMY_BASE_URL="https://example.com";const t=function(o,u,p){if(p==null)throw new e.RequiredError(u,`Required parameter ${u} was null or undefined when calling ${o}.`)};Mr.assertParamExists=t;const r=async function(o,u,p){if(p&&p.apiKey){const g=typeof p.apiKey=="function"?await p.apiKey(u):await p.apiKey;o[u]=g}};Mr.setApiKeyToObject=r;const n=function(o,u){u&&(u.username||u.password)&&(o.auth={username:u.username,password:u.password})};Mr.setBasicAuthToObject=n;const a=async function(o,u){if(u&&u.accessToken){const p=typeof u.accessToken=="function"?await u.accessToken():await u.accessToken;o.Authorization="Bearer "+p}};Mr.setBearerAuthToObject=a;const i=async function(o,u,p,g){if(g&&g.accessToken){const y=typeof g.accessToken=="function"?await g.accessToken(u,p):await g.accessToken;o.Authorization="Bearer "+y}};Mr.setOAuthToObject=i;function c(o,u,p=""){u!=null&&(typeof u=="object"?Array.isArray(u)?u.forEach(g=>c(o,g,p)):Object.keys(u).forEach(g=>c(o,u[g],`${p}${p!==""?".":""}${g}`)):o.has(p)?o.append(p,u):o.set(p,u))}const f=function(o,...u){const p=new URLSearchParams(o.search);c(p,u),o.search=p.toString()};Mr.setSearchParams=f;const m=function(o,u,p){const g=typeof o!="string";return(g&&p&&p.isJsonMime?p.isJsonMime(u.headers["Content-Type"]):g)?JSON.stringify(o!==void 0?o:{}):o||""};Mr.serializeDataIfNeeded=m;const h=function(o){return o.pathname+o.search+o.hash};Mr.toPathString=h;const l=function(o,u,p,g){return(y=u,b=p)=>{const x=Object.assign(Object.assign({},o.options),{url:(g?.basePath||b)+o.url});return y.request(x)}};return Mr.createRequestFunction=l,Mr}var j5;function Bne(){return j5||(j5=1,(function(e){var t=m0&&m0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.CastApi=e.CastApiFactory=e.CastApiFp=e.CastApiAxiosParamCreator=void 0;const r=t(Er()),n=ld(),a=ku(),i=function(h){return{allCastsInThread:async(l,o,u,p={})=>{(0,n.assertParamExists)("allCastsInThread","apiKey",l),(0,n.assertParamExists)("allCastsInThread","threadHash",o);const g="/farcaster/all-casts-in-thread",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.threadHash=o),u!==void 0&&(E.viewerFid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},cast:async(l,o,u,p={})=>{(0,n.assertParamExists)("cast","apiKey",l),(0,n.assertParamExists)("cast","hash",o);const g="/farcaster/cast",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.hash=o),u!==void 0&&(E.viewerFid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},casts:async(l,o,u,p,g,y,b={})=>{(0,n.assertParamExists)("casts","apiKey",l),(0,n.assertParamExists)("casts","fid",o);const x="/farcaster/casts",w=new URL(x,n.DUMMY_BASE_URL);let E;h&&(E=h.baseOptions);const j=Object.assign(Object.assign({method:"GET"},E),b),T={},F={};o!==void 0&&(F.fid=o),u!==void 0&&(F.parent_url=u),p!==void 0&&(F.viewerFid=p),g!==void 0&&(F.limit=g),y!==void 0&&(F.cursor=y),l!=null&&(T.api_key=String(l)),(0,n.setSearchParams)(w,F);let z=E&&E.headers?E.headers:{};return j.headers=Object.assign(Object.assign(Object.assign({},T),z),b.headers),{url:(0,n.toPathString)(w),options:j}},recentCasts:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("recentCasts","apiKey",l);
18754const y="/farcaster/recent-casts",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.viewerFid=o),u!==void 0&&(j.limit=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}}}};e.CastApiAxiosParamCreator=i;const c=function(h){const l=(0,e.CastApiAxiosParamCreator)(h);return{async allCastsInThread(o,u,p,g){const y=await l.allCastsInThread(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async cast(o,u,p,g){const y=await l.cast(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async casts(o,u,p,g,y,b,x){const w=await l.casts(o,u,p,g,y,b,x);return(0,n.createRequestFunction)(w,r.default,a.BASE_PATH,h)},async recentCasts(o,u,p,g,y){const b=await l.recentCasts(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)}}};e.CastApiFp=c;const f=function(h,l,o){const u=(0,e.CastApiFp)(h);return{allCastsInThread(p,g,y,b){return u.allCastsInThread(p,g,y,b).then(x=>x(o,l))},cast(p,g,y,b){return u.cast(p,g,y,b).then(x=>x(o,l))},casts(p,g,y,b,x,w,E){return u.casts(p,g,y,b,x,w,E).then(j=>j(o,l))},recentCasts(p,g,y,b,x){return u.recentCasts(p,g,y,b,x).then(w=>w(o,l))}}};e.CastApiFactory=f;class m extends a.BaseAPI{allCastsInThread(l,o,u,p){return(0,e.CastApiFp)(this.configuration).allCastsInThread(l,o,u,p).then(g=>g(this.axios,this.basePath))}cast(l,o,u,p){return(0,e.CastApiFp)(this.configuration).cast(l,o,u,p).then(g=>g(this.axios,this.basePath))}casts(l,o,u,p,g,y,b){return(0,e.CastApiFp)(this.configuration).casts(l,o,u,p,g,y,b).then(x=>x(this.axios,this.basePath))}recentCasts(l,o,u,p,g){return(0,e.CastApiFp)(this.configuration).recentCasts(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}}e.CastApi=m})(m0)),m0}var y0={},A5;function Une(){return A5||(A5=1,(function(e){var t=y0&&y0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.FollowsApi=e.FollowsApiFactory=e.FollowsApiFp=e.FollowsApiAxiosParamCreator=void 0;const r=t(Er()),n=ld(),a=ku(),i=function(h){return{followers:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("followers","apiKey",l),(0,n.assertParamExists)("followers","fid",o);const b="/farcaster/followers",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.fid=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}},following:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("following","apiKey",l),(0,n.assertParamExists)("following","fid",o);const b="/farcaster/following",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.fid=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}}}};e.FollowsApiAxiosParamCreator=i;const c=function(h){const l=(0,e.FollowsApiAxiosParamCreator)(h);return{async followers(o,u,p,g,y,b){const x=await l.followers(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)},async following(o,u,p,g,y,b){const x=await l.following(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)}}};e.FollowsApiFp=c;const f=function(h,l,o){const u=(0,e.FollowsApiFp)(h);return{followers(p,g,y,b,x,w){return u.followers(p,g,y,b,x,w).then(E=>E(o,l))},following(p,g,y,b,x,w){return u.following(p,g,y,b,x,w).then(E=>E(o,l))}}};e.FollowsApiFactory=f;class m extends a.BaseAPI{followers(l,o,u,p,g,y){return(0,e.FollowsApiFp)(this.configuration).followers(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}following(l,o,u,p,g,y){return(0,e.FollowsApiFp)(this.configuration).following(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}}e.FollowsApi=m})(y0)),y0}var b0={},P5;function qne(){return P5||(P5=1,(function(e){var t=b0&&b0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};
18754Object.defineProperty(e,"__esModule",{value:!0}),e.NotificationsApi=e.NotificationsApiFactory=e.NotificationsApiFp=e.NotificationsApiAxiosParamCreator=void 0;const r=t(Er()),n=ld(),a=ku(),i=function(h){return{mentionsAndReplies:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("mentionsAndReplies","apiKey",l),(0,n.assertParamExists)("mentionsAndReplies","fid",o);const b="/farcaster/mentions-and-replies",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.fid=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}},reactionsAndRecasts:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("reactionsAndRecasts","apiKey",l),(0,n.assertParamExists)("reactionsAndRecasts","fid",o);const b="/farcaster/reactions-and-recasts",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.fid=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}}}};e.NotificationsApiAxiosParamCreator=i;const c=function(h){const l=(0,e.NotificationsApiAxiosParamCreator)(h);return{async mentionsAndReplies(o,u,p,g,y,b){const x=await l.mentionsAndReplies(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)},async reactionsAndRecasts(o,u,p,g,y,b){const x=await l.reactionsAndRecasts(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)}}};e.NotificationsApiFp=c;const f=function(h,l,o){const u=(0,e.NotificationsApiFp)(h);return{mentionsAndReplies(p,g,y,b,x,w){return u.mentionsAndReplies(p,g,y,b,x,w).then(E=>E(o,l))},reactionsAndRecasts(p,g,y,b,x,w){return u.reactionsAndRecasts(p,g,y,b,x,w).then(E=>E(o,l))}}};e.NotificationsApiFactory=f;class m extends a.BaseAPI{mentionsAndReplies(l,o,u,p,g,y){return(0,e.NotificationsApiFp)(this.configuration).mentionsAndReplies(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}reactionsAndRecasts(l,o,u,p,g,y){return(0,e.NotificationsApiFp)(this.configuration).reactionsAndRecasts(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}}e.NotificationsApi=m})(b0)),b0}var v0={},S5;function Lne(){return S5||(S5=1,(function(e){var t=v0&&v0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReactionsApi=e.ReactionsApiFactory=e.ReactionsApiFp=e.ReactionsApiAxiosParamCreator=void 0;const r=t(Er()),n=ld(),a=ku(),i=function(h){return{castLikes:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("castLikes","apiKey",l),(0,n.assertParamExists)("castLikes","castHash",o);const b="/farcaster/cast-likes",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.castHash=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}},castReactions:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("castReactions","apiKey",l),(0,n.assertParamExists)("castReactions","castHash",o);const b="/farcaster/cast-reactions",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.castHash=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}},castRecasters:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("castRecasters","apiKey",l),(0,n.assertParamExists)("castRecasters","castHash",o);
18754const b="/farcaster/cast-recasters",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.castHash=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}}}};e.ReactionsApiAxiosParamCreator=i;const c=function(h){const l=(0,e.ReactionsApiAxiosParamCreator)(h);return{async castLikes(o,u,p,g,y,b){const x=await l.castLikes(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)},async castReactions(o,u,p,g,y,b){const x=await l.castReactions(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)},async castRecasters(o,u,p,g,y,b){const x=await l.castRecasters(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)}}};e.ReactionsApiFp=c;const f=function(h,l,o){const u=(0,e.ReactionsApiFp)(h);return{castLikes(p,g,y,b,x,w){return u.castLikes(p,g,y,b,x,w).then(E=>E(o,l))},castReactions(p,g,y,b,x,w){return u.castReactions(p,g,y,b,x,w).then(E=>E(o,l))},castRecasters(p,g,y,b,x,w){return u.castRecasters(p,g,y,b,x,w).then(E=>E(o,l))}}};e.ReactionsApiFactory=f;class m extends a.BaseAPI{castLikes(l,o,u,p,g,y){return(0,e.ReactionsApiFp)(this.configuration).castLikes(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}castReactions(l,o,u,p,g,y){return(0,e.ReactionsApiFp)(this.configuration).castReactions(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}castRecasters(l,o,u,p,g,y){return(0,e.ReactionsApiFp)(this.configuration).castRecasters(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}}e.ReactionsApi=m})(v0)),v0}var w0={},k5;function Dne(){return k5||(k5=1,(function(e){var t=w0&&w0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.UserApi=e.UserApiFactory=e.UserApiFp=e.UserApiAxiosParamCreator=void 0;const r=t(Er()),n=ld(),a=ku(),i=function(h){return{custodyAddress:async(l,o,u={})=>{(0,n.assertParamExists)("custodyAddress","apiKey",l),(0,n.assertParamExists)("custodyAddress","fid",o);const p="/farcaster/custody-address",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.fid=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},recentUsers:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("recentUsers","apiKey",l);const y="/farcaster/recent-users",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.viewerFid=o),u!==void 0&&(j.limit=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}},user:async(l,o,u,p={})=>{(0,n.assertParamExists)("user","apiKey",l),(0,n.assertParamExists)("user","fid",o);const g="/farcaster/user",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.fid=o),u!==void 0&&(E.viewerFid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},userByUsername:async(l,o,u,p={})=>{(0,n.assertParamExists)("userByUsername","apiKey",l),(0,n.assertParamExists)("userByUsername","username",o);const g="/farcaster/user-by-username",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.username=o),u!==void 0&&(E.viewerFid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},userCastLikes:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("userCastLikes","apiKey",l),(0,n.assertParamExists)("userCastLikes","fid",o);
18754const b="/farcaster/user-cast-likes",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.fid=o),u!==void 0&&(T.viewerFid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}}}};e.UserApiAxiosParamCreator=i;const c=function(h){const l=(0,e.UserApiAxiosParamCreator)(h);return{async custodyAddress(o,u,p){const g=await l.custodyAddress(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async recentUsers(o,u,p,g,y){const b=await l.recentUsers(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)},async user(o,u,p,g){const y=await l.user(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async userByUsername(o,u,p,g){const y=await l.userByUsername(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async userCastLikes(o,u,p,g,y,b){const x=await l.userCastLikes(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)}}};e.UserApiFp=c;const f=function(h,l,o){const u=(0,e.UserApiFp)(h);return{custodyAddress(p,g,y){return u.custodyAddress(p,g,y).then(b=>b(o,l))},recentUsers(p,g,y,b,x){return u.recentUsers(p,g,y,b,x).then(w=>w(o,l))},user(p,g,y,b){return u.user(p,g,y,b).then(x=>x(o,l))},userByUsername(p,g,y,b){return u.userByUsername(p,g,y,b).then(x=>x(o,l))},userCastLikes(p,g,y,b,x,w){return u.userCastLikes(p,g,y,b,x,w).then(E=>E(o,l))}}};e.UserApiFactory=f;class m extends a.BaseAPI{custodyAddress(l,o,u){return(0,e.UserApiFp)(this.configuration).custodyAddress(l,o,u).then(p=>p(this.axios,this.basePath))}recentUsers(l,o,u,p,g){return(0,e.UserApiFp)(this.configuration).recentUsers(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}user(l,o,u,p){return(0,e.UserApiFp)(this.configuration).user(l,o,u,p).then(g=>g(this.axios,this.basePath))}userByUsername(l,o,u,p){return(0,e.UserApiFp)(this.configuration).userByUsername(l,o,u,p).then(g=>g(this.axios,this.basePath))}userCastLikes(l,o,u,p,g,y){return(0,e.UserApiFp)(this.configuration).userCastLikes(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}}e.UserApi=m})(w0)),w0}var _0={},T5;function zne(){return T5||(T5=1,(function(e){var t=_0&&_0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.VerificationApi=e.VerificationApiFactory=e.VerificationApiFp=e.VerificationApiAxiosParamCreator=void 0;const r=t(Er()),n=ld(),a=ku(),i=function(h){return{userByVerification:async(l,o,u={})=>{(0,n.assertParamExists)("userByVerification","apiKey",l),(0,n.assertParamExists)("userByVerification","address",o);const p="/farcaster/user-by-verification",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.address=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},verifications:async(l,o,u={})=>{(0,n.assertParamExists)("verifications","apiKey",l),(0,n.assertParamExists)("verifications","fi
18754d",o);const p="/farcaster/verifications",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.fid=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}}}};e.VerificationApiAxiosParamCreator=i;const c=function(h){const l=(0,e.VerificationApiAxiosParamCreator)(h);return{async userByVerification(o,u,p){const g=await l.userByVerification(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async verifications(o,u,p){const g=await l.verifications(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)}}};e.VerificationApiFp=c;const f=function(h,l,o){const u=(0,e.VerificationApiFp)(h);return{userByVerification(p,g,y){return u.userByVerification(p,g,y).then(b=>b(o,l))},verifications(p,g,y){return u.verifications(p,g,y).then(b=>b(o,l))}}};e.VerificationApiFactory=f;class m extends a.BaseAPI{userByVerification(l,o,u){return(0,e.VerificationApiFp)(this.configuration).userByVerification(l,o,u).then(p=>p(this.axios,this.basePath))}verifications(l,o,u){return(0,e.VerificationApiFp)(this.configuration).verifications(l,o,u).then(p=>p(this.axios,this.basePath))}}e.VerificationApi=m})(_0)),_0}var R5;function Vne(){return R5||(R5=1,(function(e){var t=Ic&&Ic.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Ic&&Ic.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(Bne(),e),r(Une(),e),r(qne(),e),r(Lne(),e),r(Dne(),e),r(zne(),e)})(Ic)),Ic}var x0={},O5;function Hne(){if(O5)return x0;O5=1,Object.defineProperty(x0,"__esModule",{value:!0}),x0.Configuration=void 0;class e{constructor(r={}){this.apiKey=r.apiKey,this.username=r.username,this.password=r.password,this.accessToken=r.accessToken,this.basePath=r.basePath,this.baseOptions=r.baseOptions,this.formDataCtor=r.formDataCtor}isJsonMime(r){const n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return r!==null&&(n.test(r)||r.toLowerCase()==="application/json-patch+json")}}return x0.Configuration=e,x0}var Nc={},E0={},C5;function Wne(){return C5||(C5=1,Object.defineProperty(E0,"__esModule",{value:!0}),E0.ActiveStatus=void 0,E0.ActiveStatus={Active:"active",Inactive:"inactive"}),E0}var wx={},I5;function Gne(){return I5||(I5=1,Object.defineProperty(wx,"__esModule",{value:!0})),wx}var _x={},N5;function Kne(){return N5||(N5=1,Object.defineProperty(_x,"__esModule",{value:!0})),_x}var xx={},M5;function Yne(){return M5||(M5=1,Object.defineProperty(xx,"__esModule",{value:!0})),xx}var Ex={},F5;function Zne(){return F5||(F5=1,Object.defineProperty(Ex,"__esModule",{value:!0})),Ex}var jx={},B5;function Jne(){return B5||(B5=1,Object.defineProperty(jx,"__esModule",{value:!0})),jx}var Ax={},U5;function Qne(){return U5||(U5=1,Object.defineProperty(Ax,"__esModule",{value:!0})),Ax}var Px={},q5;function Xne(){return q5||(q5=1,Object.defineProperty(Px,"__esModule",{value:!0})),Px}var Sx={},L5;function $ne(){return L5||(L5=1,Object.defineProperty(Sx,"__esModule",{value:!0})),Sx}var kx={},D5;function eae(){return D5||(D5=1,Object.defineProperty(kx,"__esModule",{value:!0})),kx}var Tx={},z5;function tae(){return z5||(z5=1,Object.defineProperty(Tx,"__esModule",{value:!0})),Tx}var Rx={},V5;function rae(){return V5||(V5=1,Object.defineProperty(Rx,"__esModule",{value:!0})),Rx}var Ox={},H5;function nae(){return H5||(H5=1,Object.defineProperty(Ox,"__esModule",{value:!0})),Ox}var Cx={},W5;function aae(){return W5||(W5=1,Object.defineProperty(Cx,"__esModule",{value:!0})),Cx}var Ix={},G5;function iae(){return G5||(G5=1,Object.defineProperty(Ix,"__esModule",{value:!0})),Ix}var Nx={},K5;function sae(){return K5||(K5=1,Object.defineProperty(Nx,"__esModule",{value:!0})),Nx}var j0={},Y5;function oae(){return Y5||(Y5=1,Object.defineProperty(j0,"__esModule",{value:!0}),j0.CastType=void 0,j0.CastType={Mention:"cast-mention",Reply:"cast-reply"}),j0}var Mx={},Z5;function cae(){return Z5||(Z5=1,Object.defineProperty(Mx,"__esModule",{value:!0})),Mx}var Fx={},J5;function uae(){return J5||(J5=1,Object.defineProperty(Fx,"__esModule",{value:!0})),Fx}var Bx={},Q5;function lae(){return Q5||(Q5=1,Object.defineProperty(Bx,"__esModule",{value:!0})),Bx}var Ux={},X5;function dae(){return X5||(X5=1,Object.defineProperty(Ux,"__esModule",{value:!0})),Ux}var qx={},$5;function fae(){return $5||($5=1,Object.defineProperty(qx,"__esModule",{value:!0})),qx}var Lx={},e6;function hae(){return e6||(e6=1,Object.defineProperty(Lx,"__esModule",{value:!0})),Lx}var Dx={},t6;function pae(){return t6||(t6=1,Object.defineProperty(Dx,"__esModule",{value:!0})),Dx}var zx={},r6;function mae(){return r6||(r6=1,Object.defineProperty(zx,"__esModule",{value:!0})),zx}var Vx={},n6;function gae(){return n6||(n6=1,Object.defineProperty(Vx,"__esModule",{value:!0})),Vx}var Hx={},a6;function yae(){return a6||(a6=1,Object.defineProperty(Hx,"__esModule",{value:!0})),Hx}var Wx={},i6;function bae(){return i6||(i6=1,Object.defineProperty(Wx,"__esModule",{value:!0})),Wx}var Gx={},s6;function vae(){return s6||(s6=1,Object.defineProperty(Gx,"__esModule",{value:!0})),Gx}var Kx={},o6;function wae(){return o6||(o6=1,Object.defineProperty(Kx,"__esModule",{value:!0})),Kx}var Yx={},c6;function _ae(){return c6||(c6=1,Object.defineProperty(Yx,"__esModule",{value:!0})),Yx}var Zx={},u6;function xae(){return u6||(u6=1,Object.defineProperty(Zx,"__esModule",{value:!0})),Zx}var Jx={},l6;function Eae(){return l6||(l6=1,Object.defineProperty(Jx,"__esModule",{value:!0})),Jx}var Qx={},d6;function jae(){return d6||(d6=1,Object.defineProperty(Qx,"__esModule",{value:!0})),Qx}var Xx={},f6;function Aae(){return f6||(f6=1,Object.defineProperty(Xx,"__esModule",{value:!0})),Xx}var $x={},h6;function Pae(){return h6||(h6=1,Object.defineProperty($x,"__esModule",{value:!0})),$x}var A0={},p6;function Sae(){return p6||(p6=1,Object.defineProperty(A0,"__esModule",{value:!0}),A0.ReactionType=void 0,A0.ReactionType={Like:"like",Recast:"recast"}),A0}var eE={},m6;function kae(){return m6||(m6=1,Object.defineProperty(eE,"__esModule",{value:!0})),eE}var tE={},g6;function Tae(){return g6||(g6=1,Object.defineProperty(tE,"__esModule",{value:!0})),tE}var rE={},y6;function Rae(){return y6||(y6=1,Object.defineProperty(rE,"__esModule",{value:!0})),rE}var nE={},b6;function Oae(){return b6||(b6=1,Object.defineProperty(nE,"__esModule",{value:!0})),nE}var aE={},v6;function Cae(){return v6||(v6=1,Object.defineProperty(aE,"__esModule",{value:!0})),aE}var iE={},w6;function Iae(){return w6||(w6=1,Object.defineProperty(iE,"__esModule",{value:!0})),iE}var sE={},_6;function Nae(){return _6||(_6=1,Object.defineProperty(sE,"__esModule",{value:!0})),sE}var oE={},x6;function Mae(){return x6||(x6=1,Object.defineProperty(oE,"__esModule",{value:!0})),oE}var cE={},E6;function Fae(){return E6||(E6=1,Object.defineProperty(cE,"__esModule",{value:!0})),cE}var uE={},j6;function Bae(){return j6||(j6=1,Object.defineProperty(uE,"__esModule",{value:!0})),uE}var lE={},A6;function Uae(){return A6||(A6=1,Object.defineProperty(lE,"__esModule",{value:!0})),lE}var dE={},P6;function qae(){return P6||(P6=1,Object.defineProperty(dE,"__esModule",{value:!0})),dE}var fE={},S6;function Lae(){return S6||(S6=1,Object.defineProperty(fE,"__esModule",{value:!0})),fE}var hE={},k6;function Dae(){return k6||(k6=1,Object.defineProperty(hE,"__esModule",{value:!0})),hE}var pE={},T6;function zae(){return T6||(T6=1,Object.defineProperty(pE,"__esModule",{value:!0})),pE}var mE={},R6;function Vae(){return R6||(R6=1,Object.defineProperty(mE,"__esModule",{value:!0})),mE}var gE={},O6;function Hae(){return O6||(O6=1,Object.defineProperty(gE,"__esModule",{value:!0})),gE}var yE={},C6;function Wae(){return C6||(C6=1,Object.defineProperty(yE,"__esModule",{value:!0})),yE}var bE={},I6;function Gae(){return I6||(I6=1,Object.defineProperty(bE,"__esModule",{value:!0})),bE}var vE={},N6;function Kae(){return N6||(N6=1,Object.defineProperty(vE,"__esModule",{value:!0})),vE}var wE={},M6;function Yae(){return M6||(M6=1,Object.defineProperty(wE,"__esModule",{value:!0})),wE}var _E={},F6;function Zae(){return F6||(F6=1,Object.defineProperty(_E,"__esModule",{value:!0})),_E}var xE={},B6;function Jae(){return B6||(B6=1,Object.defineProperty(xE,"__esModule",{value:!0})),xE}var EE={},U6;function Qae(){return U6||(U6=1,Object.defineProperty(EE,"__esModule",{value:!0})),EE}var jE={},q6;function Xae(){return q6||(q6=1,Object.defineProperty(jE,"__esModule",{value:!0})),jE}var AE={},L6;function $ae(){return L6||(L6=1,Object.defineProperty(AE,"__esModule",{value:!0})),AE}var PE={},D6;function eie(){return D6||(D6=1,Object.defineProperty(PE,"__esModule",{value:!0})),PE}var SE={},z6;function tie(){return z6||(z6=1,Object.defineProperty(SE,"__esModule",{value:!0})),SE}var kE={},V6;function rie(){return V6||(V6=1,Object.defineProperty(kE,"__esModule",{value:!0})),kE}var H6;function nie(){return H6||(H6=1,(function(e){var t=Nc&&Nc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Nc&&Nc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};
18754Object.defineProperty(e,"__esModule",{value:!0}),r(Wne(),e),r(Gne(),e),r(Kne(),e),r(Yne(),e),r(Zne(),e),r(Jne(),e),r(Qne(),e),r(Xne(),e),r($ne(),e),r(eae(),e),r(tae(),e),r(rae(),e),r(nae(),e),r(aae(),e),r(iae(),e),r(sae(),e),r(oae(),e),r(cae(),e),r(uae(),e),r(lae(),e),r(dae(),e),r(fae(),e),r(hae(),e),r(pae(),e),r(mae(),e),r(gae(),e),r(yae(),e),r(bae(),e),r(vae(),e),r(wae(),e),r(_ae(),e),r(xae(),e),r(Eae(),e),r(jae(),e),r(Aae(),e),r(Pae(),e),r(Sae(),e),r(kae(),e),r(Tae(),e),r(Rae(),e),r(Oae(),e),r(Cae(),e),r(Iae(),e),r(Nae(),e),r(Mae(),e),r(Fae(),e),r(Bae(),e),r(Uae(),e),r(qae(),e),r(Lae(),e),r(Dae(),e),r(zae(),e),r(Vae(),e),r(Hae(),e),r(Wae(),e),r(Gae(),e),r(Kae(),e),r(Yae(),e),r(Zae(),e),r(Jae(),e),r(Qae(),e),r(Xae(),e),r($ae(),e),r(eie(),e),r(tie(),e),r(rie(),e)})(Nc)),Nc}var W6;function MV(){return W6||(W6=1,(function(e){var t=Cc&&Cc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Cc&&Cc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(Vne(),e),r(Hne(),e),r(nie(),e)})(Cc)),Cc}var yi={},P0={},G6;function FV(){return G6||(G6=1,Object.defineProperty(P0,"__esModule",{value:!0}),P0.version=void 0,P0.version="1.21.1"),P0}var K6;function aie(){if(K6)return yi;K6=1;var e=yi&&yi.__createBinding||(Object.create?(function(h,l,o,u){u===void 0&&(u=o);var p=Object.getOwnPropertyDescriptor(l,o);(!p||("get"in p?!l.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return l[o]}}),Object.defineProperty(h,u,p)}):(function(h,l,o,u){u===void 0&&(u=o),h[u]=l[o]})),t=yi&&yi.__setModuleDefault||(Object.create?(function(h,l){Object.defineProperty(h,"default",{enumerable:!0,value:l})}):function(h,l){h.default=l}),r=yi&&yi.__importStar||function(h){if(h&&h.__esModule)return h;var l={};if(h!=null)for(var o in h)o!=="default"&&Object.prototype.hasOwnProperty.call(h,o)&&e(l,h,o);return t(l,h),l};Object.defineProperty(yi,"__esModule",{value:!0}),yi.NeynarV1APIClient=void 0;const n=MV(),a=r(Er()),i=MS(),c=FV(),f="https://api.neynar.com/v1";class m{constructor(l,{basePath:o,logger:u=i.silentLogger,axiosInstance:p}={}){if(this.logger=u,l==="")throw new Error("Attempt to use an authenticated API method without first providing an api key");this.apiKey=l,p===void 0&&(p=a.default.create({headers:{"x-sdk-version":c.version}}
18754)),p.defaults.decompress=!0,p.interceptors.response.use(y=>y,y=>{if(m.isApiErrorResponse(y)){const b=y.response.data;this.logger.warn(`API errors: ${JSON.stringify(b)}`)}else this.logger.warn(`Unexpected error: ${JSON.stringify(y,null,2)}`);throw y}),p.defaults.headers["x-sdk-version"]=c.version;const g=new n.Configuration({basePath:o?`${o}/v1`:f,apiKey:l});this.apis={user:new n.UserApi(g,void 0,p),cast:new n.CastApi(g,void 0,p),follows:new n.FollowsApi(g,void 0,p),verification:new n.VerificationApi(g,void 0,p),notifications:new n.NotificationsApi(g,void 0,p),reactions:new n.ReactionsApi(g,void 0,p)}}static isApiErrorResponse(l){var o;if(!(l instanceof a.AxiosError))return!1;const u=(o=l.response)===null||o===void 0?void 0:o.data;return typeof u=="object"&&u!==null&&"message"in u}async fetchRecentUsers(l){return(await this.apis.user.recentUsers(this.apiKey,l?.viewerFid,l?.limit,l?.cursor)).data}async fetchAllCastsLikedByUser(l,o){return(await this.apis.user.userCastLikes(this.apiKey,l,o?.viewerFid,o?.limit,o?.cursor)).data}async lookupUserByFid(l,o){return(await this.apis.user.user(this.apiKey,l,o)).data}async lookupUserByUsername(l,o){return(await this.apis.user.userByUsername(this.apiKey,l,o)).data}async lookupCustodyAddressForUser(l){return(await this.apis.user.custodyAddress(this.apiKey,l)).data}async lookUpCastByHash(l,o){return(await this.apis.cast.cast(this.apiKey,l,o?.viewerFid)).data}async fetchAllCastsInThread(l,o){let u;return typeof l=="string"?u=l:u=l.hash,(await this.apis.cast.allCastsInThread(this.apiKey,u,o)).data}async fetchAllCastsCreatedByUser(l,o){return(await this.apis.cast.casts(this.apiKey,l,o?.parentUrl,o?.viewerFid,o?.limit,o?.cursor)).data}async fetchRecentCasts(l){return(await this.apis.cast.recentCasts(this.apiKey,l?.viewerFid,l?.limit,l?.cursor)).data}async fetchUserVerifications(l){return(await this.apis.verification.verifications(this.apiKey,l)).data}async lookupUserByVerification(l){return(await this.apis.verification.userByVerification(this.apiKey,l)).data}async fetchMentionAndReplyNotifications(l,o){return(await this.apis.notifications.mentionsAndReplies(this.apiKey,l,o?.viewerFid,o?.limit,o?.cursor)).data}async fetchUserLikesAndRecasts(l,o){return(await this.apis.notifications.reactionsAndRecasts(this.apiKey,l,o?.viewerFid,o?.limit,o?.cursor)).data}async fetchCastLikes(l,o){let u;return typeof l=="string"?u=l:u=l.hash,(await this.apis.reactions.castLikes(this.apiKey,u,o?.viewerFid,o?.limit,o?.cursor)).data}async fetchCastReactions(l,o){let u;return typeof l=="string"?u=l:u=l.hash,(await this.apis.reactions.castReactions(this.apiKey,u,o?.viewerFid,o?.limit,o?.cursor)).data}async fetchRecasters(l,o){let u;return typeof l=="string"?u=l:u=l.hash,(await this.apis.reactions.castRecasters(this.apiKey,u,o?.viewerFid,o?.limit,o?.cursor)).data}async fetchUserFollowers(l,o){return(await this.apis.follows.followers(this.apiKey,l,o?.viewerFid,o?.limit,o?.cursor)).data}async fetchUserFollowing(l,o){return(await this.apis.follows.following(this.apiKey,l,o?.viewerFid,o?.limit,o?.cursor)).data}}return yi.NeynarV1APIClient=m,yi}var Y6;function iie(){return Y6||(Y6=1,(function(e){var t=Oc&&Oc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Oc&&Oc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(MV(),e),r(aie(),e)})(Oc)),Oc}var Mc={},Fc={},Bc={},S0={},Fr={},k0={},Z6;function ba(){return Z6||(Z6=1,(function(e){var t=k0&&k0.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.RequiredError=e.BaseAPI=e.COLLECTION_FORMATS=e.BASE_PATH=void 0;const r=t(Er());e.BASE_PATH="https://api.neynar.com/v2".replace(/\/+$/,""),e.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};class n{constructor(c,f=e.BASE_PATH,m=r.default){this.basePath=f,this.axios=m,c&&(this.configuration=c,this.basePath=c.basePath||this.basePath)}}e.BaseAPI=n;
18754class a extends Error{constructor(c,f){super(f),this.field=c,this.name="RequiredError"}}e.RequiredError=a})(k0)),k0}var J6;function za(){if(J6)return Fr;J6=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.createRequestFunction=Fr.toPathString=Fr.serializeDataIfNeeded=Fr.setSearchParams=Fr.setOAuthToObject=Fr.setBearerAuthToObject=Fr.setBasicAuthToObject=Fr.setApiKeyToObject=Fr.assertParamExists=Fr.DUMMY_BASE_URL=void 0;const e=ba();Fr.DUMMY_BASE_URL="https://example.com";const t=function(o,u,p){if(p==null)throw new e.RequiredError(u,`Required parameter ${u} was null or undefined when calling ${o}.`)};Fr.assertParamExists=t;const r=async function(o,u,p){if(p&&p.apiKey){const g=typeof p.apiKey=="function"?await p.apiKey(u):await p.apiKey;o[u]=g}};Fr.setApiKeyToObject=r;const n=function(o,u){u&&(u.username||u.password)&&(o.auth={username:u.username,password:u.password})};Fr.setBasicAuthToObject=n;const a=async function(o,u){if(u&&u.accessToken){const p=typeof u.accessToken=="function"?await u.accessToken():await u.accessToken;o.Authorization="Bearer "+p}};Fr.setBearerAuthToObject=a;const i=async function(o,u,p,g){if(g&&g.accessToken){const y=typeof g.accessToken=="function"?await g.accessToken(u,p):await g.accessToken;o.Authorization="Bearer "+y}};Fr.setOAuthToObject=i;function c(o,u,p=""){u!=null&&(typeof u=="object"?Array.isArray(u)?u.forEach(g=>c(o,g,p)):Object.keys(u).forEach(g=>c(o,u[g],`${p}${p!==""?".":""}${g}`)):o.has(p)?o.append(p,u):o.set(p,u))}const f=function(o,...u){const p=new URLSearchParams(o.search);c(p,u),o.search=p.toString()};Fr.setSearchParams=f;const m=function(o,u,p){const g=typeof o!="string";return(g&&p&&p.isJsonMime?p.isJsonMime(u.headers["Content-Type"]):g)?JSON.stringify(o!==void 0?o:{}):o||""};Fr.serializeDataIfNeeded=m;const h=function(o){return o.pathname+o.search+o.hash};Fr.toPathString=h;const l=function(o,u,p,g){return(y=u,b=p)=>{const x=Object.assign(Object.assign({},o.options),{url:(g?.basePath||b)+o.url});return y.request(x)}};return Fr.createRequestFunction=l,Fr}var Q6;function sie(){return Q6||(Q6=1,(function(e){var t=S0&&S0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.CastApi=e.CastApiFactory=e.CastApiFp=e.CastApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{cast:async(l,o,u,p={})=>{(0,n.assertParamExists)("cast","apiKey",l),(0,n.assertParamExists)("cast","identifier",o),(0,n.assertParamExists)("cast","type",u);const g="/farcaster/cast",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.identifier=o),u!==void 0&&(E.type=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},castConversation:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("castConversation","apiKey",l),(0,n.assertParamExists)("castConversation","identifier",o),(0,n.assertParamExists)("castConversation","type",u);const b="/farcaster/cast/conversation",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.identifier=o),u!==void 0&&(T.type=u),p!==void 0&&(T.reply_depth=p),g!==void 0&&(T.include_chronological_parent_casts=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}},casts:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("casts","apiKey",l),(0,n.assertParamExists)("casts","casts",o);const y="/farcaster/casts",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.casts=o),u!==void 0&&(j.viewer_fid=u),p!==void 0&&(j.sort_type=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}}
18754,deleteCast:async(l,o,u={})=>{(0,n.assertParamExists)("deleteCast","apiKey",l),(0,n.assertParamExists)("deleteCast","deleteCastReqBody",o);const p="/farcaster/cast",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"DELETE"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},postCast:async(l,o,u={})=>{(0,n.assertParamExists)("postCast","apiKey",l),(0,n.assertParamExists)("postCast","postCastReqBody",o);const p="/farcaster/cast",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}}}};e.CastApiAxiosParamCreator=i;const c=function(h){const l=(0,e.CastApiAxiosParamCreator)(h);return{async cast(o,u,p,g){const y=await l.cast(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async castConversation(o,u,p,g,y,b){const x=await l.castConversation(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)},async casts(o,u,p,g,y){const b=await l.casts(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)},async deleteCast(o,u,p){const g=await l.deleteCast(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async postCast(o,u,p){const g=await l.postCast(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)}}};e.CastApiFp=c;const f=function(h,l,o){const u=(0,e.CastApiFp)(h);return{cast(p,g,y,b){return u.cast(p,g,y,b).then(x=>x(o,l))},castConversation(p,g,y,b,x,w){return u.castConversation(p,g,y,b,x,w).then(E=>E(o,l))},casts(p,g,y,b,x){return u.casts(p,g,y,b,x).then(w=>w(o,l))},deleteCast(p,g,y){return u.deleteCast(p,g,y).then(b=>b(o,l))},postCast(p,g,y){return u.postCast(p,g,y).then(b=>b(o,l))}}};e.CastApiFactory=f;class m extends a.BaseAPI{cast(l,o,u,p){return(0,e.CastApiFp)(this.configuration).cast(l,o,u,p).then(g=>g(this.axios,this.basePath))}castConversation(l,o,u,p,g,y){return(0,e.CastApiFp)(this.configuration).castConversation(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}casts(l,o,u,p,g){return(0,e.CastApiFp)(this.configuration).casts(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}deleteCast(l,o,u){return(0,e.CastApiFp)(this.configuration).deleteCast(l,o,u).then(p=>p(this.axios,this.basePath))}postCast(l,o,u){return(0,e.CastApiFp)(this.configuration).postCast(l,o,u).then(p=>p(this.axios,this.basePath))}}e.CastApi=m})(S0)),S0}var T0={},X6;function oie(){return X6||(X6=1,(function(e){var t=T0&&T0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.ChannelApi=e.ChannelApiFactory=e.ChannelApiFp=e.ChannelApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{activeChannels:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("activeChannels","apiKey",l),(0,n.assertParamExists)("activeChannels","fid",o);const y="/farcaster/channel/user",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.fid=o),u!==void 0&&(j.limit=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}},channelDetails:async(l,o,u,p={})=>{(0,n.assertParamExists)("channelDetails","apiKey",l),(0,n.assertParamExists)("channelDetails","id",o);const g="/farcaster/channel",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.id=o),u!==void 0&&(E.viewer_fid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},channelFollowers:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("channelFollowers","apiKey",l),(0,n.assertParamExists)("channelFollowers","id",o);
18754const y="/farcaster/channel/followers",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.id=o),u!==void 0&&(j.cursor=u),p!==void 0&&(j.limit=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}},channelUsers:async(l,o,u,p,g,y,b,x,w={})=>{(0,n.assertParamExists)("channelUsers","apiKey",l),(0,n.assertParamExists)("channelUsers","id",o),(0,n.assertParamExists)("channelUsers","hasRootCastAuthors",u);const E="/farcaster/channel/users",j=new URL(E,n.DUMMY_BASE_URL);let T;h&&(T=h.baseOptions);const F=Object.assign(Object.assign({method:"GET"},T),w),z={},K={};o!==void 0&&(K.id=o),u!==void 0&&(K.has_root_cast_authors=u),p!==void 0&&(K.has_cast_likers=p),g!==void 0&&(K.has_cast_recasters=g),y!==void 0&&(K.has_reply_authors=y),b!==void 0&&(K.cursor=b),x!==void 0&&(K.limit=x),l!=null&&(z.api_key=String(l)),(0,n.setSearchParams)(j,K);let U=T&&T.headers?T.headers:{};return F.headers=Object.assign(Object.assign(Object.assign({},z),U),w.headers),{url:(0,n.toPathString)(j),options:F}},listAllChannels:async(l,o,u,p={})=>{(0,n.assertParamExists)("listAllChannels","apiKey",l);const g="/farcaster/channel/list",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.limit=o),u!==void 0&&(E.cursor=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},searchChannels:async(l,o,u={})=>{(0,n.assertParamExists)("searchChannels","apiKey",l),(0,n.assertParamExists)("searchChannels","q",o);const p="/farcaster/channel/search",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.q=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},trendingChannels:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("trendingChannels","apiKey",l);const y="/farcaster/channel/trending",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.time_window=o),u!==void 0&&(j.limit=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}},userChannels:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("userChannels","apiKey",l),(0,n.assertParamExists)("userChannels","fid",o);
18754const y="/farcaster/user/channels",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.fid=o),u!==void 0&&(j.limit=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}}}};e.ChannelApiAxiosParamCreator=i;const c=function(h){const l=(0,e.ChannelApiAxiosParamCreator)(h);return{async activeChannels(o,u,p,g,y){const b=await l.activeChannels(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)},async channelDetails(o,u,p,g){const y=await l.channelDetails(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async channelFollowers(o,u,p,g,y){const b=await l.channelFollowers(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)},async channelUsers(o,u,p,g,y,b,x,w,E){const j=await l.channelUsers(o,u,p,g,y,b,x,w,E);return(0,n.createRequestFunction)(j,r.default,a.BASE_PATH,h)},async listAllChannels(o,u,p,g){const y=await l.listAllChannels(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async searchChannels(o,u,p){const g=await l.searchChannels(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async trendingChannels(o,u,p,g,y){const b=await l.trendingChannels(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)},async userChannels(o,u,p,g,y){const b=await l.userChannels(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)}}};e.ChannelApiFp=c;const f=function(h,l,o){const u=(0,e.ChannelApiFp)(h);return{activeChannels(p,g,y,b,x){return u.activeChannels(p,g,y,b,x).then(w=>w(o,l))},channelDetails(p,g,y,b){return u.channelDetails(p,g,y,b).then(x=>x(o,l))},channelFollowers(p,g,y,b,x){return u.channelFollowers(p,g,y,b,x).then(w=>w(o,l))},channelUsers(p,g,y,b,x,w,E,j,T){return u.channelUsers(p,g,y,b,x,w,E,j,T).then(F=>F(o,l))},listAllChannels(p,g,y,b){return u.listAllChannels(p,g,y,b).then(x=>x(o,l))},searchChannels(p,g,y){return u.searchChannels(p,g,y).then(b=>b(o,l))},trendingChannels(p,g,y,b,x){return u.trendingChannels(p,g,y,b,x).then(w=>w(o,l))},userChannels(p,g,y,b,x){return u.userChannels(p,g,y,b,x).then(w=>w(o,l))}}};e.ChannelApiFactory=f;class m extends a.BaseAPI{activeChannels(l,o,u,p,g){return(0,e.ChannelApiFp)(this.configuration).activeChannels(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}channelDetails(l,o,u,p){return(0,e.ChannelApiFp)(this.configuration).channelDetails(l,o,u,p).then(g=>g(this.axios,this.basePath))}channelFollowers(l,o,u,p,g){return(0,e.ChannelApiFp)(this.configuration).channelFollowers(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}channelUsers(l,o,u,p,g,y,b,x,w){return(0,e.ChannelApiFp)(this.configuration).channelUsers(l,o,u,p,g,y,b,x,w).then(E=>E(this.axios,this.basePath))}listAllChannels(l,o,u,p){return(0,e.ChannelApiFp)(this.configuration).listAllChannels(l,o,u,p).then(g=>g(this.axios,this.basePath))}searchChannels(l,o,u){return(0,e.ChannelApiFp)(this.configuration).searchChannels(l,o,u).then(p=>p(this.axios,this.basePath))}trendingChannels(l,o,u,p,g){return(0,e.ChannelApiFp)(this.configuration).trendingChannels(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}userChannels(l,o,u,p,g){return(0,e.ChannelApiFp)(this.configuration).userChannels(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}}e.ChannelApi=m})(T0)),T0}var R0={},$6;function cie(){return $6||($6=1,(function(e){var t=R0&&R0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.FeedApi=e.FeedApiFactory=e.FeedApiFp=e.FeedApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{feed:async(l,o,u,p,g,y,b,x,w,E,j,T,F={})=>{(0,n.assertParamExists)("feed","apiKey",l),(0,n.assertParamExists)("feed","feedType",o);const z="/farcaster/feed",K=new URL(z,n.DUMMY_BASE_URL);let U;h&&(U=h.baseOptions);const H=Object.assign(Object.assign({method:"GET"},U),F),V={},Z={};o!==void 0&&(Z.feed_type=o),u!==void 0&&(Z.filter_type=u),p!==void 0&&(Z.fid=p),g!==void 0&&(Z.fids=g),y!==void 0&&(Z.parent_url=y),b!==void 0&&(Z.channel_id=b),x!==void 0&&(Z.embed_url=x),w!==void 0&&(Z.with_recasts=w),E!==void 0&&(Z.limit=E),j!==void 0&&(Z.cursor=j),T!==void 0&&(Z.viewer_fid=T),l!=null&&(V.api_key=String(l)),(0,n.setSearchParams)(K,Z);let R=U&&U.headers?U.headers:{};return H.headers=Object.assign(Object.assign(Object.assign({},V),R),F.headers),{url:(0,n.toPathString)(K),options:H}},feedChannels:async(l,o,u,p,g,y,b,x={})=>{(0,n.assertParamExists)("feedChannels","apiKey",l),(0,n.assertParamExists)("feedChannels","channelIds",o);const w="/farcaster/feed/channels",E=new URL(w,n.DUMMY_BASE_URL);let j;h&&(j=h.baseOptions);const T=Object.assign(Object.assign({method:"GET"},j),x),F={},z={};o!==void 0&&(z.channel_ids=o),u!==void 0&&(z.with_recasts=u),p!==void 0&&(z.viewer_fid=p),g!==void 0&&(z.with_replies=g),y!==void 0&&(z.limit=y),b!==void 0&&(z.cursor=b),l!=null&&(F.api_key=String(l)),(0,n.setSearchParams)(E,z);let K=j&&j.headers?j.headers:{};return T.headers=Object.assign(Object.assign(Object.assign({},F),K),x.headers),{url:(0,n.toPathString)(E),options:T}},feedFollowing:async(l,o,u,p,g,y,b={})=>{(0,n.assertParamExists)("feedFollowing","apiKey",l),(0,n.assertParamExists)("feedFollowing","fid",o);const x="/farcaster/feed/following",w=new URL(x,n.DUMMY_BASE_URL);let E;h&&(E=h.baseOptions);const j=Object.assign(Object.assign({method:"GET"},E),b),T={},F={};o!==void 0&&(F.fid=o),u!==void 0&&(F.viewer_fid=u),p!==void 0&&(F.with_recasts=p),g!==void 0&&(F.limit=g),y!==void 0&&(F.cursor=y),l!=null&&(T.api_key=String(l)),(0,n.setSearchParams)(w,F);let z=E&&E.headers?E.headers:{};return j.headers=Object.assign(Object.assign(Object.assign({},T),z),b.headers),{url:(0,n.toPathString)(w),options:j}},feedFrames:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("feedFrames","apiKey",l);
18754const y="/farcaster/feed/frames",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.limit=o),u!==void 0&&(j.viewer_fid=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}},feedTrending:async(l,o,u,p,g,y,b={})=>{(0,n.assertParamExists)("feedTrending","apiKey",l);const x="/farcaster/feed/trending",w=new URL(x,n.DUMMY_BASE_URL);let E;h&&(E=h.baseOptions);const j=Object.assign(Object.assign({method:"GET"},E),b),T={},F={};o!==void 0&&(F.limit=o),u!==void 0&&(F.cursor=u),p!==void 0&&(F.viewer_fid=p),g!==void 0&&(F.time_window=g),y!==void 0&&(F.channel_id=y),l!=null&&(T.api_key=String(l)),(0,n.setSearchParams)(w,F);let z=E&&E.headers?E.headers:{};return j.headers=Object.assign(Object.assign(Object.assign({},T),z),b.headers),{url:(0,n.toPathString)(w),options:j}},feedUserPopular:async(l,o,u,p={})=>{(0,n.assertParamExists)("feedUserPopular","apiKey",l),(0,n.assertParamExists)("feedUserPopular","fid",o);const g="/farcaster/feed/user/{fid}/popular".replace("{fid}",encodeURIComponent(String(o))),y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};u!==void 0&&(E.viewer_fid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},feedUserRepliesRecasts:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("feedUserRepliesRecasts","apiKey",l),(0,n.assertParamExists)("feedUserRepliesRecasts","fid",o);const b="/farcaster/feed/user/{fid}/replies_and_recasts".replace("{fid}",encodeURIComponent(String(o))),x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};u!==void 0&&(T.limit=u),p!==void 0&&(T.cursor=p),g!==void 0&&(T.viewer_fid=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}}}};e.FeedApiAxiosParamCreator=i;const c=function(h){const l=(0,e.FeedApiAxiosParamCreator)(h);return{async feed(o,u,p,g,y,b,x,w,E,j,T,F,z){const K=await l.feed(o,u,p,g,y,b,x,w,E,j,T,F,z);return(0,n.createRequestFunction)(K,r.default,a.BASE_PATH,h)},async feedChannels(o,u,p,g,y,b,x,w){const E=await l.feedChannels(o,u,p,g,y,b,x,w);return(0,n.createRequestFunction)(E,r.default,a.BASE_PATH,h)},async feedFollowing(o,u,p,g,y,b,x){const w=await l.feedFollowing(o,u,p,g,y,b,x);return(0,n.createRequestFunction)(w,r.default,a.BASE_PATH,h)},async feedFrames(o,u,p,g,y){const b=await l.feedFrames(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)},async feedTrending(o,u,p,g,y,b,x){const w=await l.feedTrending(o,u,p,g,y,b,x);return(0,n.createRequestFunction)(w,r.default,a.BASE_PATH,h)},async feedUserPopular(o,u,p,g){const y=await l.feedUserPopular(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async feedUserRepliesRecasts(o,u,p,g,y,b){const x=await l.feedUserRepliesRecasts(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)}}};e.FeedApiFp=c;const f=function(h,l,o){const u=(0,e.FeedApiFp)(h);return{feed(p,g,y,b,x,w,E,j,T,F,z,K,U){return u.feed(p,g,y,b,x,w,E,j,T,F,z,K,U).then(H=>H(o,l))},feedChannels(p,g,y,b,x,w,E,j){return u.feedChannels(p,g,y,b,x,w,E,j).then(T=>T(o,l))},feedFollowing(p,g,y,b,x,w,E){return u.feedFollowing(p,g,y,b,x,w,E).then(j=>j(o,l))},feedFrames(p,g,y,b,x){return u.feedFrames(p,g,y,b,x).then(w=>w(o,l))},feedTrending(p,g,y,b,x,w,E){return u.feedTrending(p,g,y,b,x,w,E).then(j=>j(o,l))},feedUserPopular(p,g,y,b){return u.feedUserPopular(p,g,y,b).then(x=>x(o,l))},feedUserRepliesRecasts(p,g,y,b,x,w){return u.feedUserRepliesRecasts(p,g,y,b,x,w).then(E=>E(o,l))}}};e.FeedApiFactory=f;class m extends a.BaseAPI{feed(l,o,u,p,g,y,b,x,w,E,j,T,F){return(0,e.FeedApiFp)(this.configuration).feed(l,o,u,p,g,y,b,x,w,E,j,T,F).then(z=>z(this.axios,this.basePath))}feedChannels(l,o,u,p,g,y,b,x){return(0,e.FeedApiFp)(this.configuration).feedChannels(l,o,u,p,g,y,b,x).then(w=>
18754w(this.axios,this.basePath))}feedFollowing(l,o,u,p,g,y,b){return(0,e.FeedApiFp)(this.configuration).feedFollowing(l,o,u,p,g,y,b).then(x=>x(this.axios,this.basePath))}feedFrames(l,o,u,p,g){return(0,e.FeedApiFp)(this.configuration).feedFrames(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}feedTrending(l,o,u,p,g,y,b){return(0,e.FeedApiFp)(this.configuration).feedTrending(l,o,u,p,g,y,b).then(x=>x(this.axios,this.basePath))}feedUserPopular(l,o,u,p){return(0,e.FeedApiFp)(this.configuration).feedUserPopular(l,o,u,p).then(g=>g(this.axios,this.basePath))}feedUserRepliesRecasts(l,o,u,p,g,y){return(0,e.FeedApiFp)(this.configuration).feedUserRepliesRecasts(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}}e.FeedApi=m})(R0)),R0}var O0={},e4;function uie(){return e4||(e4=1,(function(e){var t=O0&&O0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.FnameApi=e.FnameApiFactory=e.FnameApiFp=e.FnameApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{fnameAvailability:async(l,o,u={})=>{(0,n.assertParamExists)("fnameAvailability","apiKey",l),(0,n.assertParamExists)("fnameAvailability","fname",o);const p="/farcaster/fname/availability",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.fname=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}}}};e.FnameApiAxiosParamCreator=i;const c=function(h){const l=(0,e.FnameApiAxiosParamCreator)(h);return{async fnameAvailability(o,u,p){const g=await l.fnameAvailability(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)}}};e.FnameApiFp=c;const f=function(h,l,o){const u=(0,e.FnameApiFp)(h);return{fnameAvailability(p,g,y){return u.fnameAvailability(p,g,y).then(b=>b(o,l))}}};e.FnameApiFactory=f;class m extends a.BaseAPI{fnameAvailability(l,o,u){return(0,e.FnameApiFp)(this.configuration).fnameAvailability(l,o,u).then(p=>p(this.axios,this.basePath))}}e.FnameApi=m})(O0)),O0}var C0={},t4;function lie(){return t4||(t4=1,(function(e){var t=C0&&C0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.FollowsApi=e.FollowsApiFactory=e.FollowsApiFp=e.FollowsApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{relevantFollowers:async(l,o,u,p={})=>{(0,n.assertParamExists)("relevantFollowers","apiKey",l),(0,n.assertParamExists)("relevantFollowers","targetFid",o),(0,n.assertParamExists)("relevantFollowers","viewerFid",u);const g="/farcaster/followers/relevant",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.target_fid=o),u!==void 0&&(E.viewer_fid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}}}};e.FollowsApiAxiosParamCreator=i;const c=function(h){const l=(0,e.FollowsApiAxiosParamCreator)(h);return{async relevantFollowers(o,u,p,g){const y=await l.relevantFollowers(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)}}};e.FollowsApiFp=c;const f=function(h,l,o){const u=(0,e.FollowsApiFp)(h);return{relevantFollowers(p,g,y,b){return u.relevantFollowers(p,g,y,b).then(x=>x(o,l))}}};e.FollowsApiFactory=f;class m extends a.BaseAPI{relevantFollowers(l,o,u,p){return(0,e.FollowsApiFp)(this.configuration).relevantFollowers(l,o,u,p).then(g=>g(this.axios,this.basePath))}}e.FollowsApi=m})(C0)),C0}var I0={},r4;function die(){return r4||(r4=1,(function(e){var t=I0&&I0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.FrameApi=e.FrameApiFactory=e.FrameApiFp=e.FrameApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{deleteNeynarFrame:async(l,o,u={})=>{(0,n.assertParamExists)("deleteNeynarFrame","apiKey",l),(0,n.assertParamExists)("deleteNeynarFrame","deleteNeynarFrameRequest",o);const p="/farcaster/frame",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"DELETE"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},fetchNeynarFrames:async(l,o={})=>{(0,n.assertParamExists)("fetchNeynarFrames","apiKey",l);const u="/farcaster/frame/list",p=new URL(u,n.DUMMY_BASE_URL);let g;h&&(g=h.baseOptions);const y=Object.assign(Object.assign({method:"GET"},g),o),b={},x={};l!=null&&(b.api_key=String(l)),(0,n.setSearchParams)(p,x);let w=g&&g.headers?g.headers:{};return y.headers=Object.assign(Object.assign(Object.assign({},b),w),o.headers),{url:(0,n.toPathString)(p),options:y}},lookupNeynarFrame:async(l,o,u={})=>{(0,n.assertParamExists)("lookupNeynarFrame","apiKey",l),(0,n.assertParamExists)("lookupNeynarFrame","uuid",o);const p="/farcaster/frame",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.uuid=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},postFrameAction:async(l,o,u={})=>{(0,n.assertParamExists)("postFrameAction","apiKey",l),(0,n.assertParamExists)("postFrameAction","frameActionReqBody",o);
18754const p="/farcaster/frame/action",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},publishNeynarFrame:async(l,o,u={})=>{(0,n.assertParamExists)("publishNeynarFrame","apiKey",l),(0,n.assertParamExists)("publishNeynarFrame","neynarFrameCreationRequest",o);const p="/farcaster/frame",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},updateNeynarFrame:async(l,o,u={})=>{(0,n.assertParamExists)("updateNeynarFrame","apiKey",l),(0,n.assertParamExists)("updateNeynarFrame","neynarFrameUpdateRequest",o);const p="/farcaster/frame",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"PUT"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},validateFrame:async(l,o,u={})=>{(0,n.assertParamExists)("validateFrame","apiKey",l),(0,n.assertParamExists)("validateFrame","validateFrameRequest",o);const p="/farcaster/frame/validate",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},validateFrameAnalytics:async(l,o,u,p,g,y,b={})=>{(0,n.assertParamExists)("validateFrameAnalytics","apiKey",l),(0,n.assertParamExists)("validateFrameAnalytics","frameUrl",o),(0,n.assertParamExists)("validateFrameAnalytics","analyticsType",u),(0,n.assertParamExists)("validateFrameAnalytics","start",p),(0,n.assertParamExists)("validateFrameAnalytics","stop",g);const x="/farcaster/frame/validate/analytics",w=new URL(x,n.DUMMY_BASE_URL);let E;h&&(E=h.baseOptions);const j=Object.assign(Object.assign({method:"GET"},E),b),T={},F={};o!==void 0&&(F.frame_url=o),u!==void 0&&(F.analytics_type=u),p!==void 0&&(F.start=p instanceof Date?p.toISOString():p),g!==void 0&&(F.stop=g instanceof Date?g.toISOString():g),y!==void 0&&(F.aggregate_window=y),l!=null&&(T.api_key=String(l)),(0,n.setSearchParams)(w,F);let z=E&&E.headers?E.headers:{};return j.headers=Object.assign(Object.assign(Object.assign({},T),z),b.headers),{url:(0,n.toPathString)(w),options:j}},validateFrameList:async(l,o={})=>{(0,n.assertParamExists)("validateFrameList","apiKey",l);const u="/farcaster/frame/validate/list",p=new URL(u,n.DUMMY_BASE_URL);let g;h&&(g=h.baseOptions);const y=Object.assign(Object.assign({method:"GET"},g),o),b={},x={};l!=null&&(b.api_key=String(l)),(0,n.setSearchParams)(p,x);let w=g&&g.headers?g.headers:{};return y.headers=Object.assign(Object.assign(Object.assign({},b),w),o.headers),{url:(0,n.toPathString)(p),options:y}}}};e.FrameApiAxiosParamCreator=i;const c=function(h){const l=(0,e.FrameApiAxiosParamCreator)(h);return{async deleteNeynarFrame(o,u,p){const g=await l.deleteNeynarFrame(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async fetchNeynarFrames(o,u){const p=await l.fetchNeynarFrames(o,u);return(0,n.createRequestFunction)(p,r.default,a.BASE_PATH,h)},async lookupNeynarFrame(o,u,p){const g=await l.lookupNeynarFrame(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async postFrameAction(o,u,p){const g=await l.postFrameAction(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async publishNeynarFrame(o,u,p){const g=await l.publishNeynarFrame(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async updateNeynarFrame(o,u,p){const g=await l.updateNeynarFrame(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async validateFrame(o,u,p){const g=await l.validateFrame(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async validateFrameAnalytics(o,u,p,g,y,b,x){const w=await l.validateFrameAnalytics(o,u,p,g,y,b,x);return(0,n.createRequestFunction)(w,r.default,a.BASE_PATH,h)},async validateFrameList(o,u){const p=await l.validateFrameList(o,u);return(0,n.createRequestFunction)(p,r.default,a.BASE_PATH,h)}}};e.FrameApiFp=c;const f=function(h,l,o){const u=(0,e.FrameApiFp)(h);return{deleteNeynarFrame(p,g,y){return u.deleteNeynarFrame(p,g,y).then(b=>b(o,l))},fetchNeynarFrames(p,g){return u.fetchNeynarFrames(p,g).then(y=>y(o,l))},lookupNeynarFrame(p,g,y){return u.lookupNeynarFrame(p,g,y).then(b=>b(o,l))},postFrameAction(p,g,y){return u.postFrameAction(p,g,y).then(b=>b(o,l))},publishNeynarFrame(p,g,y){return u.publishNeynarFrame(p,g,y).then(b=>b(o,l))},updateNeynarFrame(p,g,y){return u.updateNeynarFrame(p,g,y).then(b=>b(o,l))},validateFrame(p,g,y){return u.validateFrame(p,g,y).then(b=>b(o,l))},validateFrameAnalytics(p,g,y,b,x,w,E){return u.validateFrameAnalytics(p,g,y,b,x,w,E).then(j=>j(o,l))},validateFrameList(p,g){return u.validateFrameList(p,g).then(y=>y(o,l))}}};e.FrameApiFactory=f;class m extends a.BaseAPI{deleteNeynarFrame(l,o,u){return(0,e.FrameApiFp)(this.configuration).deleteNeynarFrame(l,o,u).then(p=>p(this.axios,this.basePath))}fetchNeynarFrames(l,o){return(0,e.FrameApiFp)(this.configuration).fetchNeynarFrames(l,o).then(u=>u(this.axios,this.basePath))}lookupNeynarFrame(l,o,u){return(0,e.FrameApiFp)(this.configuration).lookupNeynarFrame(l,o,u).then(p=>p(this.axios,this.basePath))}postFrameAction(l,o,u){return(0,e.FrameApiFp)(this.configuration).postFrameAction(l,o,u).then(p=>p(this.axios,this.basePath))}publishNeynarFrame(l,o,u){return(0,e.FrameApiFp)(this.configuration).publishNeynarFrame(l,o,u).then(p=>p(this.axios,this.basePath))}updateNeynarFrame(l,o,u){return(0,e.FrameApiFp)(this.configuration).updateNeynarFrame(l,o,u).then(p=>p(this.axios,this.basePath))}validateFrame(l,o,u){return(0,e.FrameApiFp)(this.configuration).validateFrame(l,o,u).then(p=>p(this.axios,this.basePath))}validateFrameAnalytics(l,o,u,p,g,y,b){return(0,e.FrameApiFp)(this.configuration).validateFrameAnalytics(l,o,u,p,g,y,b).then(x=>x(this.axios,this.basePath))}validateFrameList(l,o){return(0,e.FrameApiFp)(this.configuration).validateFrameList(l,o).then(u=>u(this.axios,this.basePath))}}e.FrameApi=m})(I0)),I0}var N0={},n4;function fie(){return n4||(n4=1,(function(e){var t=N0&&N0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};
18754Object.defineProperty(e,"__esModule",{value:!0}),e.MuteApi=e.MuteApiFactory=e.MuteApiFp=e.MuteApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{addMute:async(l,o,u={})=>{(0,n.assertParamExists)("addMute","apiKey",l),(0,n.assertParamExists)("addMute","muteReqBody",o);const p="/farcaster/mute",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},deleteMute:async(l,o,u={})=>{(0,n.assertParamExists)("deleteMute","apiKey",l),(0,n.assertParamExists)("deleteMute","muteReqBody",o);const p="/farcaster/mute",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"DELETE"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},muteList:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("muteList","apiKey",l),(0,n.assertParamExists)("muteList","fid",o);const y="/farcaster/mute/list",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.fid=o),u!==void 0&&(j.limit=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}}}};e.MuteApiAxiosParamCreator=i;const c=function(h){const l=(0,e.MuteApiAxiosParamCreator)(h);return{async addMute(o,u,p){const g=await l.addMute(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async deleteMute(o,u,p){const g=await l.deleteMute(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async muteList(o,u,p,g,y){const b=await l.muteList(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)}}};e.MuteApiFp=c;const f=function(h,l,o){const u=(0,e.MuteApiFp)(h);return{addMute(p,g,y){return u.addMute(p,g,y).then(b=>b(o,l))},deleteMute(p,g,y){return u.deleteMute(p,g,y).then(b=>b(o,l))},muteList(p,g,y,b,x){return u.muteList(p,g,y,b,x).then(w=>w(o,l))}}};e.MuteApiFactory=f;class m extends a.BaseAPI{addMute(l,o,u){return(0,e.MuteApiFp)(this.configuration).addMute(l,o,u).then(p=>p(this.axios,this.basePath))}deleteMute(l,o,u){return(0,e.MuteApiFp)(this.configuration).deleteMute(l,o,u).then(p=>p(this.axios,this.basePath))}muteList(l,o,u,p,g){return(0,e.MuteApiFp)(this.configuration).muteList(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}}e.MuteApi=m})(N0)),N0}var M0={},a4;function hie(){return a4||(a4=1,(function(e){var t=M0&&M0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.NotificationsApi=e.NotificationsApiFactory=e.NotificationsApiFp=e.NotificationsApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{notifications:async(l,o,u,p={})=>{(0,n.assertParamExists)("notifications","apiKey",l),(0,n.assertParamExists)("notifications","fi
18754d",o);const g="/farcaster/notifications",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.fid=o),u!==void 0&&(E.cursor=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},notificationsChannel:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("notificationsChannel","apiKey",l),(0,n.assertParamExists)("notificationsChannel","fid",o),(0,n.assertParamExists)("notificationsChannel","channelIds",u);const y="/farcaster/notifications/channel",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.fid=o),u!==void 0&&(j.channel_ids=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}},notificationsParentUrl:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("notificationsParentUrl","apiKey",l),(0,n.assertParamExists)("notificationsParentUrl","fid",o),(0,n.assertParamExists)("notificationsParentUrl","parentUrls",u);const y="/farcaster/notifications/parent_url",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.fid=o),u!==void 0&&(j.parent_urls=u),p!==void 0&&(j.cursor=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}}}};e.NotificationsApiAxiosParamCreator=i;const c=function(h){const l=(0,e.NotificationsApiAxiosParamCreator)(h);return{async notifications(o,u,p,g){const y=await l.notifications(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async notificationsChannel(o,u,p,g,y){const b=await l.notificationsChannel(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)},async notificationsParentUrl(o,u,p,g,y){const b=await l.notificationsParentUrl(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)}}};e.NotificationsApiFp=c;const f=function(h,l,o){const u=(0,e.NotificationsApiFp)(h);return{notifications(p,g,y,b){return u.notifications(p,g,y,b).then(x=>x(o,l))},notificationsChannel(p,g,y,b,x){return u.notificationsChannel(p,g,y,b,x).then(w=>w(o,l))},notificationsParentUrl(p,g,y,b,x){return u.notificationsParentUrl(p,g,y,b,x).then(w=>w(o,l))}}};e.NotificationsApiFactory=f;class m extends a.BaseAPI{notifications(l,o,u,p){return(0,e.NotificationsApiFp)(this.configuration).notifications(l,o,u,p).then(g=>g(this.axios,this.basePath))}notificationsChannel(l,o,u,p,g){return(0,e.NotificationsApiFp)(this.configuration).notificationsChannel(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}notificationsParentUrl(l,o,u,p,g){return(0,e.NotificationsApiFp)(this.configuration).notificationsParentUrl(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}}e.NotificationsApi=m})(M0)),M0}var F0={},i4;function pie(){return i4||(i4=1,(function(e){var t=F0&&F0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReactionApi=e.ReactionApiFactory=e.ReactionApiFp=e.ReactionApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{deleteReaction:async(l,o,u={})=>{(0,n.assertParamExists)("deleteReaction","apiKey",l),(0,n.assertParamExists)("deleteReaction","reactionReqBody",o);const p="/farcaster/reaction",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"DELETE"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},postReaction:async(l,o,u={})=>{(0,n.assertParamExists)("postReaction","apiKey",l),(0,n.assertParamExists)("postReaction","reactionReqBody",o);
18754const p="/farcaster/reaction",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},reactionsCast:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("reactionsCast","apiKey",l),(0,n.assertParamExists)("reactionsCast","hash",o),(0,n.assertParamExists)("reactionsCast","types",u);const b="/farcaster/reactions/cast",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.hash=o),u!==void 0&&(T.types=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}},reactionsUser:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("reactionsUser","apiKey",l),(0,n.assertParamExists)("reactionsUser","fid",o),(0,n.assertParamExists)("reactionsUser","type",u);const b="/farcaster/reactions/user",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.fid=o),u!==void 0&&(T.type=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}}}};e.ReactionApiAxiosParamCreator=i;const c=function(h){const l=(0,e.ReactionApiAxiosParamCreator)(h);return{async deleteReaction(o,u,p){const g=await l.deleteReaction(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async postReaction(o,u,p){const g=await l.postReaction(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async reactionsCast(o,u,p,g,y,b){const x=await l.reactionsCast(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)},async reactionsUser(o,u,p,g,y,b){const x=await l.reactionsUser(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)}}};e.ReactionApiFp=c;const f=function(h,l,o){const u=(0,e.ReactionApiFp)(h);return{deleteReaction(p,g,y){return u.deleteReaction(p,g,y).then(b=>b(o,l))},postReaction(p,g,y){return u.postReaction(p,g,y).then(b=>b(o,l))},reactionsCast(p,g,y,b,x,w){return u.reactionsCast(p,g,y,b,x,w).then(E=>E(o,l))},reactionsUser(p,g,y,b,x,w){return u.reactionsUser(p,g,y,b,x,w).then(E=>E(o,l))}}};e.ReactionApiFactory=f;class m extends a.BaseAPI{deleteReaction(l,o,u){return(0,e.ReactionApiFp)(this.configuration).deleteReaction(l,o,u).then(p=>p(this.axios,this.basePath))}postReaction(l,o,u){return(0,e.ReactionApiFp)(this.configuration).postReaction(l,o,u).then(p=>p(this.axios,this.basePath))}reactionsCast(l,o,u,p,g,y){return(0,e.ReactionApiFp)(this.configuration).reactionsCast(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}reactionsUser(l,o,u,p,g,y){return(0,e.ReactionApiFp)(this.configuration).reactionsUser(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}}e.ReactionApi=m})(F0)),F0}var B0={},s4;function mie(){return s4||(s4=1,(function(e){var t=B0&&B0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.SignerApi=e.SignerApiFactory=e.SignerApiFp=e.SignerApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{createSigner:async(l,o={})=>{(0,n.assertParamExists)("createSigner","apiKey",l);const u="/farcaster/signer",p=new URL(u,n.DUMMY_BASE_URL);let g;h&&(g=h.baseOptions);const y=Object.assign(Object.assign({method:"POST"},g),o),b={},x={};l!=null&&(b.api_key=String(l)),(0,n.setSearchParams)(p,x);let w=g&&g.headers?g.headers:{};return y.headers=Object.assign(Object.assign(Object.assign({},b),w),o.headers),{url:(0,n.toPathString)(p),options:y}},developerManagedSigner:async(l,o,u={})=>{(0,n.assertParamExists)("developerManagedSigner","apiKey",l),(0,n.assertParamExists)("developerManagedSigner","publicKey",o);
18754const p="/farcaster/signer/developer_managed",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.public_key=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},fetchAuthorizationUrl:async(l,o,u,p={})=>{(0,n.assertParamExists)("fetchAuthorizationUrl","apiKey",l),(0,n.assertParamExists)("fetchAuthorizationUrl","clientId",o),(0,n.assertParamExists)("fetchAuthorizationUrl","responseType",u);const g="/farcaster/login/authorize",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.client_id=o),u!==void 0&&(E.response_type=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},publishMessage:async(l,o,u={})=>{(0,n.assertParamExists)("publishMessage","apiKey",l),(0,n.assertParamExists)("publishMessage","body",o);const p="/farcaster/message",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},registerSignedKey:async(l,o,u={})=>{(0,n.assertParamExists)("registerSignedKey","apiKey",l),(0,n.assertParamExists)("registerSignedKey","registerSignerKeyReqBody",o);const p="/farcaster/signer/signed_key",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},registerSignedKeyForDeveloperManagedSigner:async(l,o,u={})=>{(0,n.assertParamExists)("registerSignedKeyForDeveloperManagedSigner","apiKey",l),(0,n.assertParamExists)("registerSignedKeyForDeveloperManagedSigner","registerDeveloperManagedSignedKeyReqBody",o);const p="/farcaster/signer/developer_managed/signed_key",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},signer:async(l,o,u={})=>{(0,n.assertParamExists)("signer","apiKey",l),(0,n.assertParamExists)("signer","signerUuid",o);const p="/farcaster/signer",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.signer_uuid=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}}}};e.SignerApiAxiosParamCreator=i;const c=function(h){const l=(0,e.SignerApiAxiosParamCreator)(h);return{async createSigner(o,u){const p=await l.createSigner(o,u);return(0,n.createRequestFunction)(p,r.default,a.BASE_PATH,h)},async developerManagedSigner(o,u,p){const g=await l.developerManagedSigner(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async fetchAuthorizationUrl(o,u,p,g){const y=await l.fetchAuthorizationUrl(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async publishMessage(o,u,p){const g=await l.publishMessage(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async registerSignedKey(o,u,p){const g=await l.registerSignedKey(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async registerSignedKeyForDeveloperManagedSigner(o,u,p){const g=await l.registerSignedKeyForDeveloperManagedSigner(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async signer(o,u,p){const g=await l.signer(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)}}};e.SignerApiFp=c;const f=function(h,l,o){const u=(0,e.SignerApiFp)(h);return{createSigner(p,g){return u.createSigner(p,g).then(y=>y(o,l))},developerManagedSigner(p,g,y){return u.developerManagedSigner(p,g,y).then(b=>b(o,l))},fetchAuthorizationUrl(p,g,y,b){return u.fetchAuthorizationUrl(p,g,y,b).then(x=>x(o,l))},publishMessage(p,g,y){return u.publishMessage(p,g,y).then(b=>b(o,l))},registerSignedKey(p,g,y){return u.registerSignedKey(p,g,y).then(b=>b(o,l))},registerSignedKeyForDeveloperManagedSigner(p,g,y){return u.registerSignedKeyForDeveloperManagedSigner(p,g,y).then(b=>b(o,l))},signer(p,g,y){return u.signer(p,g,y).then(b=>b(o,l))}}};e.SignerApiFactory=f;class m extends a.BaseAPI{createSigner(l,o){return(0,e.SignerApiFp)(this.configuration).createSigner(l,o).then(u=>u(this.axios,this.basePath))}developerManagedSigner(l,o,u){return(0,e.SignerApiFp)(this.configuration).developerManagedSigner(l,o,u).then(p=>p(this.axios,this.basePath))}fetchAuthorizationUrl(l,o,u,p){return(0,e.SignerApiFp)(this.configuration).fetchAuthorizationUrl(l,o,u,p).then(g=>g(this.axios,this.basePath))}publishMessage(l,o,u){return(0,e.SignerApiFp)(this.configuration).publishMessage(l,o,u).then(p=>p(this.axios,this.basePath))}registerSignedKey(l,o,u){return(0,e.SignerApiFp)(this.configuration).registerSignedKey(l,o,u).then(p=>p(this.axios,this.basePath))}registerSignedKeyForDeveloperManagedSigner(l,o,u){return(0,e.SignerApiFp)(this.configuration).registerSignedKeyForDeveloperManagedSigner(l,o,u).then(p=>p(this.axios,this.basePath))}signer(l,o,u){return(0,e.SignerApiFp)(this.configuration).signer(l,o,u).then(p=>p(this.axios,this.basePath))}}e.SignerApi=m})(B0)),B0}var U0={},o4;function gie(){return o4||(o4=1,(function(e){var t=U0&&U0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};
18754Object.defineProperty(e,"__esModule",{value:!0}),e.StorageApi=e.StorageApiFactory=e.StorageApiFp=e.StorageApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{storageAllocations:async(l,o,u={})=>{(0,n.assertParamExists)("storageAllocations","apiKey",l),(0,n.assertParamExists)("storageAllocations","fid",o);const p="/farcaster/storage/allocations",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.fid=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},storageUsage:async(l,o,u={})=>{(0,n.assertParamExists)("storageUsage","apiKey",l),(0,n.assertParamExists)("storageUsage","fid",o);const p="/farcaster/storage/usage",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.fid=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}}}};e.StorageApiAxiosParamCreator=i;const c=function(h){const l=(0,e.StorageApiAxiosParamCreator)(h);return{async storageAllocations(o,u,p){const g=await l.storageAllocations(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async storageUsage(o,u,p){const g=await l.storageUsage(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)}}};e.StorageApiFp=c;const f=function(h,l,o){const u=(0,e.StorageApiFp)(h);return{storageAllocations(p,g,y){return u.storageAllocations(p,g,y).then(b=>b(o,l))},storageUsage(p,g,y){return u.storageUsage(p,g,y).then(b=>b(o,l))}}};e.StorageApiFactory=f;class m extends a.BaseAPI{storageAllocations(l,o,u){return(0,e.StorageApiFp)(this.configuration).storageAllocations(l,o,u).then(p=>p(this.axios,this.basePath))}storageUsage(l,o,u){return(0,e.StorageApiFp)(this.configuration).storageUsage(l,o,u).then(p=>p(this.axios,this.basePath))}}e.StorageApi=m})(U0)),U0}var q0={},c4;function yie(){return c4||(c4=1,(function(e){var t=q0&&q0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.UserApi=e.UserApiFactory=e.UserApiFp=e.UserApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{activeUsers:async(l,o,u,p={})=>{(0,n.assertParamExists)("activeUsers","apiKey",l);const g="/farcaster/user/active",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.limit=o),u!==void 0&&(E.cursor=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},farcasterUserVerificationDelete:async(l,o,u={})=>{(0,n.assertParamExists)("farcasterUserVerificationDelete","apiKey",l),(0,n.assertParamExists)("farcasterUserVerificationDelete","removeVerificationReqBody",o);const p="/farcaster/user/verification",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"DELETE"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},farcasterUserVerificationPost:async(l,o,u={})=>{(0,n.assertParamExists)("farcasterUserVerificationPost","apiKey",l),(0,n.assertParamExists)("farcasterUserVerificationPost","addVerificationReqBody",o);const p="/farcaster/user/verification",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},followUser:async(l,o,u={})=>
18754{(0,n.assertParamExists)("followUser","apiKey",l),(0,n.assertParamExists)("followUser","followReqBody",o);const p="/farcaster/user/follow",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},getFreshFid:async(l,o={})=>{(0,n.assertParamExists)("getFreshFid","apiKey",l);const u="/farcaster/user/fid",p=new URL(u,n.DUMMY_BASE_URL);let g;h&&(g=h.baseOptions);const y=Object.assign(Object.assign({method:"GET"},g),o),b={},x={};l!=null&&(b.api_key=String(l)),(0,n.setSearchParams)(p,x);let w=g&&g.headers?g.headers:{};return y.headers=Object.assign(Object.assign(Object.assign({},b),w),o.headers),{url:(0,n.toPathString)(p),options:y}},lookupUserByCustodyAddress:async(l,o,u={})=>{(0,n.assertParamExists)("lookupUserByCustodyAddress","apiKey",l),(0,n.assertParamExists)("lookupUserByCustodyAddress","custodyAddress",o);const p="/farcaster/user/custody-address",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.custody_address=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},powerUsers:async(l,o,u,p={})=>{(0,n.assertParamExists)("powerUsers","apiKey",l);const g="/farcaster/user/power",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.limit=o),u!==void 0&&(E.cursor=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},registerUser:async(l,o,u={})=>{(0,n.assertParamExists)("registerUser","apiKey",l),(0,n.assertParamExists)("registerUser","registerUserReqBody",o);const p="/farcaster/user",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},unfollowUser:async(l,o,u={})=>{(0,n.assertParamExists)("unfollowUser","apiKey",l),(0,n.assertParamExists)("unfollowUser","followReqBody",o);const p="/farcaster/user/follow",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"DELETE"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},updateUser:async(l,o,u={})=>{(0,n.assertParamExists)("updateUser","apiKey",l),(0,n.assertParamExists)("updateUser","updateUserReqBody",o);const p="/farcaster/user",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"PATCH"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},userBulk:async(l,o,u,p={})=>{(0,n.assertParamExists)("userBulk","apiKey",l),(0,n.assertParamExists)("userBulk","fids",o);const g="/farcaster/user/bulk",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.fids=o),u!==void 0&&(E.viewer_fid=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},userBulkByAddress:async(l,o,u,p={})=>{(0,n.assertParamExists)("userBulkByAddress","apiKey",l),(0,n.assertParamExists)("userBulkByAddress","addresses",o);
18754const g="/farcaster/user/bulk-by-address",y=new URL(g,n.DUMMY_BASE_URL);let b;h&&(b=h.baseOptions);const x=Object.assign(Object.assign({method:"GET"},b),p),w={},E={};o!==void 0&&(E.addresses=o),u!==void 0&&(E.address_types=u),l!=null&&(w.api_key=String(l)),(0,n.setSearchParams)(y,E);let j=b&&b.headers?b.headers:{};return x.headers=Object.assign(Object.assign(Object.assign({},w),j),p.headers),{url:(0,n.toPathString)(y),options:x}},userSearch:async(l,o,u,p,g,y={})=>{(0,n.assertParamExists)("userSearch","apiKey",l),(0,n.assertParamExists)("userSearch","q",o);const b="/farcaster/user/search",x=new URL(b,n.DUMMY_BASE_URL);let w;h&&(w=h.baseOptions);const E=Object.assign(Object.assign({method:"GET"},w),y),j={},T={};o!==void 0&&(T.q=o),u!==void 0&&(T.viewer_fid=u),p!==void 0&&(T.limit=p),g!==void 0&&(T.cursor=g),l!=null&&(j.api_key=String(l)),(0,n.setSearchParams)(x,T);let F=w&&w.headers?w.headers:{};return E.headers=Object.assign(Object.assign(Object.assign({},j),F),y.headers),{url:(0,n.toPathString)(x),options:E}}}};e.UserApiAxiosParamCreator=i;const c=function(h){const l=(0,e.UserApiAxiosParamCreator)(h);return{async activeUsers(o,u,p,g){const y=await l.activeUsers(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async farcasterUserVerificationDelete(o,u,p){const g=await l.farcasterUserVerificationDelete(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async farcasterUserVerificationPost(o,u,p){const g=await l.farcasterUserVerificationPost(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async followUser(o,u,p){const g=await l.followUser(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async getFreshFid(o,u){const p=await l.getFreshFid(o,u);return(0,n.createRequestFunction)(p,r.default,a.BASE_PATH,h)},async lookupUserByCustodyAddress(o,u,p){const g=await l.lookupUserByCustodyAddress(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async powerUsers(o,u,p,g){const y=await l.powerUsers(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async registerUser(o,u,p){const g=await l.registerUser(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async unfollowUser(o,u,p){const g=await l.unfollowUser(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async updateUser(o,u,p){const g=await l.updateUser(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async userBulk(o,u,p,g){const y=await l.userBulk(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async userBulkByAddress(o,u,p,g){const y=await l.userBulkByAddress(o,u,p,g);return(0,n.createRequestFunction)(y,r.default,a.BASE_PATH,h)},async userSearch(o,u,p,g,y,b){const x=await l.userSearch(o,u,p,g,y,b);return(0,n.createRequestFunction)(x,r.default,a.BASE_PATH,h)}}};e.UserApiFp=c;const f=function(h,l,o){const u=(0,e.UserApiFp)(h);return{activeUsers(p,g,y,b){return u.activeUsers(p,g,y,b).then(x=>x(o,l))},farcasterUserVerificationDelete(p,g,y){return u.farcasterUserVerificationDelete(p,g,y).then(b=>b(o,l))},farcasterUserVerificationPost(p,g,y){return u.farcasterUserVerificationPost(p,g,y).then(b=>b(o,l))},followUser(p,g,y){return u.followUser(p,g,y).then(b=>b(o,l))},getFreshFid(p,g){return u.getFreshFid(p,g).then(y=>y(o,l))},lookupUserByCustodyAddress(p,g,y){return u.lookupUserByCustodyAddress(p,g,y).then(b=>b(o,l))},powerUsers(p,g,y,b){return u.powerUsers(p,g,y,b).then(x=>x(o,l))},registerUser(p,g,y){return u.registerUser(p,g,y).then(b=>b(o,l))},unfollowUser(p,g,y){return u.unfollowUser(p,g,y).then(b=>b(o,l))},updateUser(p,g,y){return u.updateUser(p,g,y).then(b=>b(o,l))},userBulk(p,g,y,b){return u.userBulk(p,g,y,b).then(x=>x(o,l))},userBulkByAddress(p,g,y,b){return u.userBulkByAddress(p,g,y,b).then(x=>x(o,l))},userSearch(p,g,y,b,x,w){return u.userSearch(p,g,y,b,x,w).then(E=>E(o,l))}}};e.UserApiFactory=f;class m extends a.BaseAPI{activeUsers(l,o,u,p){return(0,e.UserApiFp)(this.configuration).activeUsers(l,o,u,p).then(g=>g(this.axios,this.basePath))}farcasterUserVerificationDelete(l,o,u){return(0,e.UserApiFp)(this.configuration).farcasterUserVerificationDelete(l,o,u).then(p=>p(this.axios,this.basePath))}farcasterUserVerificationPost(l,o,u){return(0,e.UserApiFp)(this.configuration).farcasterUserVerificationPost(l,o,u).then(p=>p(this.axios,this.basePath))}followUser(l,o,u){return(0,e.UserApiFp)(this.configuration).followUser(l,o,u).then(p=>p(this.axios,this.basePath))}getFreshFid(l,o){return(0,e.UserApiFp)(this.configuration).getFreshFid(l,o).then(u=>u(this.axios,this.basePath))}lookupUserByCustodyAddress(l,o,u){return(0,e.UserApiFp)(this.configuration).lookupUserByCustodyAddress(l,o,u).then(p=>p(this.axios,this.basePath))}powerUsers(l,o,u,p){return(0,e.UserApiFp)(this.configuration).powerUsers(l,o,u,p).then(g=>g(this.axios,this.basePath))}registerUser(l,o,u){return(0,e.UserApiFp)(this.configuration).registerUser(l,o,u).then(p=>p(this.axios,this.basePath))}unfollowUser(l,o,u){return(0,e.UserApiFp)(this.configuration).unfollowUser(l,o,u).then(p=>p(this.axios,this.basePath))}updateUser(l,o,u){return(0,e.UserApiFp)(this.configuration).updateUser(l,o,u).then(p=>p(this.axios,this.basePath))}userBulk(l,o,u,p){return(0,e.UserApiFp)(this.configuration).userBulk(l,o,u,p).then(g=>g(this.axios,this.basePath))}userBulkByAddress(l,o,u,p){return(0,e.UserApiFp)(this.configuration).userBulkByAddress(l,o,u,p).then(g=>g(this.axios,this.basePath))}
18754userSearch(l,o,u,p,g,y){return(0,e.UserApiFp)(this.configuration).userSearch(l,o,u,p,g,y).then(b=>b(this.axios,this.basePath))}}e.UserApi=m})(q0)),q0}var L0={},u4;function bie(){return u4||(u4=1,(function(e){var t=L0&&L0.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.WebhookApi=e.WebhookApiFactory=e.WebhookApiFp=e.WebhookApiAxiosParamCreator=void 0;const r=t(Er()),n=za(),a=ba(),i=function(h){return{deleteWebhook:async(l,o,u={})=>{(0,n.assertParamExists)("deleteWebhook","apiKey",l),(0,n.assertParamExists)("deleteWebhook","webhookDeleteReqBody",o);const p="/farcaster/webhook",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"DELETE"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},fetchWebhooks:async(l,o={})=>{(0,n.assertParamExists)("fetchWebhooks","apiKey",l);const u="/farcaster/webhook/list",p=new URL(u,n.DUMMY_BASE_URL);let g;h&&(g=h.baseOptions);const y=Object.assign(Object.assign({method:"GET"},g),o),b={},x={};l!=null&&(b.api_key=String(l)),(0,n.setSearchParams)(p,x);let w=g&&g.headers?g.headers:{};return y.headers=Object.assign(Object.assign(Object.assign({},b),w),o.headers),{url:(0,n.toPathString)(p),options:y}},lookupWebhook:async(l,o,u={})=>{(0,n.assertParamExists)("lookupWebhook","apiKey",l),(0,n.assertParamExists)("lookupWebhook","webhookId",o);const p="/farcaster/webhook",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"GET"},y),u),x={},w={};o!==void 0&&(w.webhook_id=o),l!=null&&(x.api_key=String(l)),(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),{url:(0,n.toPathString)(g),options:b}},publishWebhook:async(l,o,u={})=>{(0,n.assertParamExists)("publishWebhook","apiKey",l),(0,n.assertParamExists)("publishWebhook","webhookPostReqBody",o);const p="/farcaster/webhook",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"POST"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},updateWebhook:async(l,o,u={})=>{(0,n.assertParamExists)("updateWebhook","apiKey",l),(0,n.assertParamExists)("updateWebhook","webhookPutReqBody",o);const p="/farcaster/webhook",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"PUT"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}},updateWebhookActiveStatus:async(l,o,u={})=>{(0,n.assertParamExists)("updateWebhookActiveStatus","apiKey",l),(0,n.assertParamExists)("updateWebhookActiveStatus","webhookPatchReqBody",o);const p="/farcaster/webhook",g=new URL(p,n.DUMMY_BASE_URL);let y;h&&(y=h.baseOptions);const b=Object.assign(Object.assign({method:"PATCH"},y),u),x={},w={};l!=null&&(x.api_key=String(l)),x["Content-Type"]="application/json",(0,n.setSearchParams)(g,w);let E=y&&y.headers?y.headers:{};return b.headers=Object.assign(Object.assign(Object.assign({},x),E),u.headers),b.data=(0,n.serializeDataIfNeeded)(o,b,h),{url:(0,n.toPathString)(g),options:b}}}};e.WebhookApiAxiosParamCreator=i;const c=function(h){const l=(0,e.WebhookApiAxiosParamCreator)(h);return{async deleteWebhook(o,u,p){const g=await l.deleteWebhook(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async fetchWebhooks(o,u){const p=await l.fetchWebhooks(o,u);return(0,n.createRequestFunction)(p,r.default,a.BASE_PATH,h)},async lookupWebhook(o,u,p){const g=await l.lookupWebhook(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async publishWebhook(o,u,p){const g=await l.publishWebhook(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async updateWebhook(o,u,p){const g=await l.updateWebhook(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)},async updateWebhookActiveStatus(o,u,p){const g=await l.updateWebhookActiveStatus(o,u,p);return(0,n.createRequestFunction)(g,r.default,a.BASE_PATH,h)}}};e.WebhookApiFp=c;const f=function(h,l,o){const u=(0,e.WebhookApiFp)(h);return{deleteWebhook(p,g,y){return u.deleteWebhook(p,g,y).then(b=>b(o,l))},fetchWebhooks(p,g){return u.fetchWebhooks(p,g).then(y=>y(o,l))},lookupWebhook(p,g,y){return u.lookupWebhook(p,g,y).then(b=>b(o,l))},publishWebhook(p,g,y){return u.publishWebhook(p,g,y).then(b=>b(o,l))},updateWebhook(p,g,y){return u.updateWebhook(p,g,y).then(b=>b(o,l))},updateWebhookActiveStatus(p,g,y){return u.updateWebhookActiveStatus(p,g,y).then(b=>b(o,l))}}};e.WebhookApiFactory=f;class m extends a.BaseAPI{deleteWebhook(l,o,u){return(0,e.WebhookApiFp)(this.configuration).deleteWebhook(l,o,u).then(p=>p(this.axios,this.basePath))}fetchWebhooks(l,o){return(0,e.WebhookApiFp)(this.configuration).fetchWebhooks(l,o).then(u=>u(this.axios,this.basePath))}lookupWebhook(l,o,u){return(0,e.WebhookApiFp)(this.configuration).lookupWebhook(l,o,u).then(p=>p(this.axios,this.basePath))}publishWebhook(l,o,u){return(0,e.WebhookApiFp)(this.configuration).publishWebhook(l,o,u).then(p=>p(this.axios,this.basePath))}updateWebhook(l,o,u){return(0,e.WebhookApiFp)(this.configuration).updateWebhook(l,o,u).then(p=>p(this.axios,this.basePath))}updateWebhookActiveStatus(l,o,u){return(0,e.WebhookApiFp)(this.configuration).updateWebhookActiveStatus(l,o,u).then(p=>p(this.axios,this.basePath))}}e.WebhookApi=m})(L0)),L0}var l4;function vie(){return l4||(l4=1,(function(e){var t=Bc&&Bc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Bc&&Bc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};
18754Object.defineProperty(e,"__esModule",{value:!0}),r(sie(),e),r(oie(),e),r(cie(),e),r(uie(),e),r(lie(),e),r(die(),e),r(fie(),e),r(hie(),e),r(pie(),e),r(mie(),e),r(gie(),e),r(yie(),e),r(bie(),e)})(Bc)),Bc}var D0={},d4;function wie(){if(d4)return D0;d4=1,Object.defineProperty(D0,"__esModule",{value:!0}),D0.Configuration=void 0;class e{constructor(r={}){this.apiKey=r.apiKey,this.username=r.username,this.password=r.password,this.accessToken=r.accessToken,this.basePath=r.basePath,this.baseOptions=r.baseOptions,this.formDataCtor=r.formDataCtor}isJsonMime(r){const n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return r!==null&&(n.test(r)||r.toLowerCase()==="application/json-patch+json")}}return D0.Configuration=e,D0}var Uc={},z0={},f4;function _ie(){return f4||(f4=1,Object.defineProperty(z0,"__esModule",{value:!0}),z0.ActiveStatus=void 0,z0.ActiveStatus={Active:"active",Inactive:"inactive"}),z0}var TE={},h4;function xie(){return h4||(h4=1,Object.defineProperty(TE,"__esModule",{value:!0})),TE}var RE={},p4;function Eie(){return p4||(p4=1,Object.defineProperty(RE,"__esModule",{value:!0})),RE}var V0={},m4;function jie(){return m4||(m4=1,Object.defineProperty(V0,"__esModule",{value:!0}),V0.AuthorizationUrlResponseType=void 0,V0.AuthorizationUrlResponseType={Code:"code"}),V0}var OE={},g4;function Aie(){return g4||(g4=1,Object.defineProperty(OE,"__esModule",{value:!0})),OE}var CE={},y4;function Pie(){return y4||(y4=1,Object.defineProperty(CE,"__esModule",{value:!0})),CE}var IE={},b4;function Sie(){return b4||(b4=1,Object.defineProperty(IE,"__esModule",{value:!0})),IE}var NE={},v4;function kie(){return v4||(v4=1,Object.defineProperty(NE,"__esModule",{value:!0})),NE}var H0={},w4;function Tie(){return w4||(w4=1,Object.defineProperty(H0,"__esModule",{value:!0}),H0.CastDehydratedObjectEnum=void 0,H0.CastDehydratedObjectEnum={CastDehydrated:"cast_dehydrated"}),H0}var ME={},_4;function Rie(){return _4||(_4=1,Object.defineProperty(ME,"__esModule",{value:!0})),ME}var W0={},x4;function Oie(){return x4||(x4=1,Object.defineProperty(W0,"__esModule",{value:!0}),W0.CastNotificationType=void 0,W0.CastNotificationType={Mention:"cast-mention",Reply:"cast-reply"}),W0}var G0={},E4;function Cie(){return E4||(E4=1,Object.defineProperty(G0,"__esModule",{value:!0}),G0.CastParamType=void 0,G0.CastParamType={Url:"url",Hash:"hash"}),G0}var FE={},j4;function Iie(){return j4||(j4=1,Object.defineProperty(FE,"__esModule",{value:!0})),FE}var BE={},A4;function Nie(){return A4||(A4=1,Object.defineProperty(BE,"__esModule",{value:!0})),BE}var UE={},P4;function Mie(){return P4||(P4=1,Object.defineProperty(UE,"__esModule",{value:!0})),UE}var qE={},S4;function Fie(){return S4||(S4=1,Object.defineProperty(qE,"__esModule",{value:!0})),qE}var LE={},k4;function Bie(){return k4||(k4=1,Object.defineProperty(LE,"__esModule",{value:!0})),LE}var DE={},T4;function Uie(){return T4||(T4=1,Object.defineProperty(DE,"__esModule",{value:!0})),DE}var zE={},R4;function qie(){return R4||(R4=1,Object.defineProperty(zE,"__esModule",{value:!0})),zE}var VE={},O4;function Lie(){return O4||(O4=1,Object.defineProperty(VE,"__esModule",{value:!0})),VE}var HE={},C4;function Die(){return C4||(C4=1,Object.defineProperty(HE,"__esModule",{value:!0})),HE}var WE={},I4;function zie(){return I4||(I4=1,Object.defineProperty(WE,"__esModule",{value:!0})),WE}var GE={},N4;function Vie(){return N4||(N4=1,Object.defineProperty(GE,"__esModule",{value:!0})),GE}var K0={},M4;function Hie(){return M4||(M4=1,Object.defineProperty(K0,"__esModule",{value:!0}),K0.ChannelObjectEnum=void 0,K0.ChannelObjectEnum={Channel:"channel"}),K0}var Y0={},F4;function Wie(){return F4||(F4=1,Object.defineProperty(Y0,"__esModule",{value:!0}),Y0.ChannelActivityObjectEnum=void 0,Y0.ChannelActivityObjectEnum={ChannelActivity:"channel_activity"}),Y0}var KE={},B4;function Gie(){return B4||(B4=1,Object.defineProperty(KE,"__esModule",{value:!0})),KE}var YE={},U4;function Kie(){return U4||(U4=1,Object.defineProperty(YE,"__esModule",{value:!0})),YE}var ZE={},q4;function Yie(){return q4||(q4=1,Object.defineProperty(ZE,"__esModule",{value:!0})),ZE}var JE={},L4;function Zie(){return L4||(L4=1,Object.defineProperty(JE,"__esModule",{value:!0})),JE}var QE={},D4;function Jie(){return D4||(D4=1,Object.defineProperty(QE,"__esModule",{value:!0})),QE}var XE={},z4;function Qie(){return z4||(z4=1,Object.defineProperty(XE,"__esModule",{value:!0})),XE}var Z0={},V4;function Xie(){return V4||(V4=1,Object.defineProperty(Z0,"__esModule",{value:!0}),Z0.DehydratedFollowerObjectEnum=void 0,Z0.DehydratedFollowerObjectEnum={Follow:"follow"}),Z0}var $E={},H4;function $ie(){return H4||(H4=1,Object.defineProperty($E,"__esModule",{value:!0})),$E}var ej={},W4;function ese(){return W4||(W4=1,Object.defineProperty(ej,"__esModule",{value:!0})),ej}var tj={},G4;function tse(){return G4||(G4=1,Object.defineProperty(tj,"__esModule",{value:!0})),tj}var J0={},K4;function rse(){return K4||(K4=1,Object.defineProperty(J0,"__esModule",{value:!0}),J0.DeveloperManagedSignerStatusEnum=void 0,J0.DeveloperManagedSignerStatusEnum={PendingApproval:"pending_approval",Approved:"approved",Revoked:"revoked"}),J0}var rj={},Y4;function nse(){return Y4||(Y4=1,Object.defineProperty(rj,"__esModule",{value:!0}
18754)),rj}var nj={},Z4;function ase(){return Z4||(Z4=1,Object.defineProperty(nj,"__esModule",{value:!0})),nj}var aj={},J4;function ise(){return J4||(J4=1,Object.defineProperty(aj,"__esModule",{value:!0})),aj}var ij={},Q4;function sse(){return Q4||(Q4=1,Object.defineProperty(ij,"__esModule",{value:!0})),ij}var sj={},X4;function ose(){return X4||(X4=1,Object.defineProperty(sj,"__esModule",{value:!0})),sj}var Q0={},$4;function cse(){return $4||($4=1,Object.defineProperty(Q0,"__esModule",{value:!0}),Q0.FeedType=void 0,Q0.FeedType={Following:"following",Filter:"filter"}),Q0}var X0={},e3;function use(){return e3||(e3=1,Object.defineProperty(X0,"__esModule",{value:!0}),X0.FilterType=void 0,X0.FilterType={Fids:"fids",ParentUrl:"parent_url",ChannelId:"channel_id",EmbedUrl:"embed_url",GlobalTrending:"global_trending"}),X0}var oj={},t3;function lse(){return t3||(t3=1,Object.defineProperty(oj,"__esModule",{value:!0})),oj}var $0={},r3;function dse(){return r3||(r3=1,Object.defineProperty($0,"__esModule",{value:!0}),$0.FollowObjectEnum=void 0,$0.FollowObjectEnum={Follow:"follow"}),$0}var cj={},n3;function fse(){return n3||(n3=1,Object.defineProperty(cj,"__esModule",{value:!0})),cj}var uj={},a3;function hse(){return a3||(a3=1,Object.defineProperty(uj,"__esModule",{value:!0})),uj}var lj={},i3;function pse(){return i3||(i3=1,Object.defineProperty(lj,"__esModule",{value:!0})),lj}var dj={},s3;function mse(){return s3||(s3=1,Object.defineProperty(dj,"__esModule",{value:!0})),dj}var fj={},o3;function gse(){return o3||(o3=1,Object.defineProperty(fj,"__esModule",{value:!0})),fj}var hj={},c3;function yse(){return c3||(c3=1,Object.defineProperty(hj,"__esModule",{value:!0})),hj}var eg={},u3;function bse(){return u3||(u3=1,Object.defineProperty(eg,"__esModule",{value:!0}),eg.FrameButtonActionType=void 0,eg.FrameButtonActionType={Post:"post",PostRedirect:"post_redirect",Tx:"tx"}),eg}var pj={},l3;function vse(){return l3||(l3=1,Object.defineProperty(pj,"__esModule",{value:!0})),pj}var mj={},d3;function wse(){return d3||(d3=1,Object.defineProperty(mj,"__esModule",{value:!0})),mj}var gj={},f3;function _se(){return f3||(f3=1,Object.defineProperty(gj,"__esModule",{value:!0})),gj}var yj={},h3;function xse(){return h3||(h3=1,Object.defineProperty(yj,"__esModule",{value:!0})),yj}var bj={},p3;function Ese(){return p3||(p3=1,Object.defineProperty(bj,"__esModule",{value:!0})),bj}var vj={},m3;function jse(){return m3||(m3=1,Object.defineProperty(vj,"__esModule",{value:!0})),vj}var wj={},g3;function Ase(){return g3||(g3=1,Object.defineProperty(wj,"__esModule",{value:!0})),wj}var _j={},y3;function Pse(){return y3||(y3=1,Object.defineProperty(_j,"__esModule",{value:!0})),_j}var xj={},b3;function Sse(){return b3||(b3=1,Object.defineProperty(xj,"__esModule",{value:!0})),xj}var Ej={},v3;function kse(){return v3||(v3=1,Object.defineProperty(Ej,"__esModule",{value:!0})),Ej}var jj={},w3;function Tse(){return w3||(w3=1,Object.defineProperty(jj,"__esModule",{value:!0})),jj}var Aj={},_3;function Rse(){return _3||(_3=1,Object.defineProperty(Aj,"__esModule",{value:!0})),Aj}var Pj={},x3;function Ose(){return x3||(x3=1,Object.defineProperty(Pj,"__esModule",{value:!0})),Pj}var tg={},E3;function Cse(){return E3||(E3=1,Object.defineProperty(tg,"__esModule",{value:!0}),tg.HydratedFollowerObjectEnum=void 0,tg.HydratedFollowerObjectEnum={Follow:"follow"}),tg}var Sj={},j3;function Ise(){return j3||(j3=1,Object.defineProperty(Sj,"__esModule",{value:!0})),Sj}var rg={},A3;function Nse(){return A3||(A3=1,Object.defineProperty(rg,"__esModule",{value:!0}),rg.MuteListObjectEnum=void 0,rg.MuteListObjectEnum={Mute:"mute"}),rg}var kj={},P3;function Mse(){return P3||(P3=1,Object.defineProperty(kj,"__esModule",{value:!0})),kj}var Tj={},S3;function Fse(){return S3||(S3=1,Object.defineProperty(Tj,"__esModule",{value:!0})),Tj}var Rj={},k3;function Bse(){return k3||(k3=1,Object.defineProperty(Rj,"__esModule",{value:!0})),Rj}var Oj={},T3;function Use(){return T3||(T3=1,Object.defineProperty(Oj,"__esModule",{value:!0})),Oj}var Cj={},R3;function qse(){return R3||(R3=1,Object.defineProperty(Cj,"__esModule",{value:!0})),Cj}var Ij={},O3;function Lse(){return O3||(O3=1,Object.defineProperty(Ij,"__esModule",{value:!0})),Ij}var Nj={},C3;function Dse(){return C3||(C3=1,Object.defineProperty(Nj,"__esModule",{value:!0})),Nj}var Mj={},I3;function zse(){return I3||(I3=1,Object.defineProperty(Mj,"__esModule",{value:!0})),Mj}var Fj={},N3;function Vse(){return N3||(N3=1,Object.defineProperty(Fj,"__esModule",{value:!0})),Fj}var Bj={},M3;function Hse(){return M3||(M3=1,Object.defineProperty(Bj,"__esModule",{value:!0})),Bj}var Uj={},F3;function Wse(){return F3||(F3=1,Object.defineProperty(Uj,"__esModule",{value:!0})),Uj}var ng={},B3;function Gse(){return B3||(B3=1,Object.defineProperty(ng,"__esMo
18754dule",{value:!0}),ng.NeynarPageButtonActionTypeEnum=void 0,ng.NeynarPageButtonActionTypeEnum={Post:"post",PostRedirect:"post_redirect",Mint:"mint",Link:"link"}),ng}var qj={},U3;function Kse(){return U3||(U3=1,Object.defineProperty(qj,"__esModule",{value:!0})),qj}var ag={},q3;function Yse(){return q3||(q3=1,Object.defineProperty(ag,"__esModule",{value:!0}),ag.NeynarPageImageAspectRatioEnum=void 0,ag.NeynarPageImageAspectRatioEnum={_1911:"1.91:1",_11:"1:1"}),ag}var Lj={},L3;function Zse(){return L3||(L3=1,Object.defineProperty(Lj,"__esModule",{value:!0})),Lj}var Dj={},D3;function Jse(){return D3||(D3=1,Object.defineProperty(Dj,"__esModule",{value:!0})),Dj}var ig={},z3;function Qse(){return z3||(z3=1,Object.defineProperty(ig,"__esModule",{value:!0}),ig.NotificationTypeEnum=void 0,ig.NotificationTypeEnum={Follows:"follows",Recasts:"recasts",Likes:"likes",Mention:"mention",Reply:"reply"}),ig}var zj={},V3;function Xse(){return V3||(V3=1,Object.defineProperty(zj,"__esModule",{value:!0})),zj}var Vj={},H3;function $se(){return H3||(H3=1,Object.defineProperty(Vj,"__esModule",{value:!0})),Vj}var Hj={},W3;function eoe(){return W3||(W3=1,Object.defineProperty(Hj,"__esModule",{value:!0})),Hj}var Wj={},G3;function toe(){return G3||(G3=1,Object.defineProperty(Wj,"__esModule",{value:!0})),Wj}var Gj={},K3;function roe(){return K3||(K3=1,Object.defineProperty(Gj,"__esModule",{value:!0})),Gj}var Kj={},Y3;function noe(){return Y3||(Y3=1,Object.defineProperty(Kj,"__esModule",{value:!0})),Kj}var Yj={},Z3;function aoe(){return Z3||(Z3=1,Object.defineProperty(Yj,"__esModule",{value:!0})),Yj}var Zj={},J3;function ioe(){return J3||(J3=1,Object.defineProperty(Zj,"__esModule",{value:!0})),Zj}var qc={},Q3;function soe(){return Q3||(Q3=1,Object.defineProperty(qc,"__esModule",{value:!0}),qc.ReactionForCastObjectEnum=qc.ReactionForCastReactionTypeEnum=void 0,qc.ReactionForCastReactionTypeEnum={Like:"like",Recast:"recast"},qc.ReactionForCastObjectEnum={Likes:"likes",Recasts:"recasts"}),qc}var Jj={},X3;function ooe(){return X3||(X3=1,Object.defineProperty(Jj,"__esModule",{value:!0})),Jj}var Qj={},$3;function coe(){return $3||($3=1,Object.defineProperty(Qj,"__esModule",{value:!0})),Qj}var Xj={},eU;function uoe(){return eU||(eU=1,Object.defineProperty(Xj,"__esModule",{value:!0})),Xj}var sg={},tU;function loe(){return tU||(tU=1,Object.defineProperty(sg,"__esModule",{value:!0}),sg.ReactionType=void 0,sg.ReactionType={Like:"like",Recast:"recast"}),sg}var Lc={},rU;function doe(){return rU||(rU=1,Object.defineProperty(Lc,"__esModule",{value:!0}),Lc.ReactionWithCastInfoObjectEnum=Lc.ReactionWithCastInfoReactionTypeEnum=void 0,Lc.ReactionWithCastInfoReactionTypeEnum={Like:"like",Recast:"recast"},Lc.ReactionWithCastInfoObjectEnum={Likes:"likes",Recasts:"recasts"}),Lc}var og={},nU;function foe(){return nU||(nU=1,Object.defineProperty(og,"__esModule",{value:!0}),og.ReactionWithUserInfoObjectEnum=void 0,og.ReactionWithUserInfoObjectEnum={Likes:"likes",Recasts:"recasts"}),og}var $j={},aU;function hoe(){return aU||(aU=1,Object.defineProperty($j,"__esModule",{value:!0})),$j}var e2={},iU;function poe(){return iU||(iU=1,Object.defineProperty(e2,"__esModule",{value:!0})),e2}var cg={},sU;function moe(){return sU||(sU=1,Object.defineProperty(cg,"__esModule",{value:!0}),cg.ReactionsType=void 0,cg.ReactionsType={All:"all",Likes:"likes",Recasts:"recasts"}),cg}var t2={},oU;function goe(){return oU||(oU=1,Object.defineProperty(t2,"__esModule",{value:!0})),t2}var r2={},cU;function yoe(){return cU||(cU=1,Object.defineProperty(r2,"__esModule",{value:!0})),r2}var n2={},uU;function boe(){return uU||(uU=1,Object.defineProperty(n2,"__esModule",{value:!0})),n2}var ug={},lU;function voe(){return lU||(lU=1,Object.defineProperty(ug,"__esModule",{value:!0}),ug.RegisterUserResponseSuccessEnum=void 0,ug.RegisterUserResponseSuccessEnum={True:!0}),ug}var a2={},dU;function woe(){return dU||(dU=1,Object.defineProperty(a2,"__esModule",{value:!0})),a2}var i2={},fU;function _oe(){return fU||(fU=1,Object.defineProperty(i2,"__esModule",{value:!0})),i2}var s2={},hU;function xoe(){return hU||(hU=1,Object.defineProperty(s2,"__esMo
18754dule",{value:!0})),s2}var lg={},pU;function Eoe(){return pU||(pU=1,Object.defineProperty(lg,"__esModule",{value:!0}),lg.SignerStatusEnum=void 0,lg.SignerStatusEnum={Generated:"generated",PendingApproval:"pending_approval",Approved:"approved",Revoked:"revoked"}),lg}var o2={},mU;function joe(){return mU||(mU=1,Object.defineProperty(o2,"__esModule",{value:!0})),o2}var c2={},gU;function Aoe(){return gU||(gU=1,Object.defineProperty(c2,"__esModule",{value:!0})),c2}var u2={},yU;function Poe(){return yU||(yU=1,Object.defineProperty(u2,"__esModule",{value:!0})),u2}var l2={},bU;function Soe(){return bU||(bU=1,Object.defineProperty(l2,"__esModule",{value:!0})),l2}var d2={},vU;function koe(){return vU||(vU=1,Object.defineProperty(d2,"__esModule",{value:!0})),d2}var f2={},wU;function Toe(){return wU||(wU=1,Object.defineProperty(f2,"__esModule",{value:!0})),f2}var dg={},_U;function Roe(){return _U||(_U=1,Object.defineProperty(dg,"__esModule",{value:!0}),dg.UserObjectEnum=void 0,dg.UserObjectEnum={User:"user"}),dg}var fg={},xU;function Ooe(){return xU||(xU=1,Object.defineProperty(fg,"__esModule",{value:!0}),fg.UserDehydratedObjectEnum=void 0,fg.UserDehydratedObjectEnum={UserDehydrated:"user_dehydrated"}),fg}var h2={},EU;function Coe(){return EU||(EU=1,Object.defineProperty(h2,"__esModule",{value:!0})),h2}var p2={},jU;function Ioe(){return jU||(jU=1,Object.defineProperty(p2,"__esModule",{value:!0})),p2}var m2={},AU;function Noe(){return AU||(AU=1,Object.defineProperty(m2,"__esModule",{value:!0})),m2}var g2={},PU;function Moe(){return PU||(PU=1,Object.defineProperty(g2,"__esModule",{value:!0})),g2}var y2={},SU;function Foe(){return SU||(SU=1,Object.defineProperty(y2,"__esModule",{value:!0})),y2}var b2={},kU;function Boe(){return kU||(kU=1,Object.defineProperty(b2,"__esModule",{value:!0})),b2}var v2={},TU;function Uoe(){return TU||(TU=1,Object.defineProperty(v2,"__esModule",{value:!0})),v2}var w2={},RU;function qoe(){return RU||(RU=1,Object.defineProperty(w2,"__esModule",{value:!0})),w2}var _2={},OU;function Loe(){return OU||(OU=1,Object.defineProperty(_2,"__esModule",{value:!0})),_2}var x2={},CU;function Doe(){return CU||(CU=1,Object.defineProperty(x2,"__esMo
18754dule",{value:!0})),x2}var E2={},IU;function zoe(){return IU||(IU=1,Object.defineProperty(E2,"__esModule",{value:!0})),E2}var hg={},NU;function Voe(){return NU||(NU=1,Object.defineProperty(hg,"__esModule",{value:!0}),hg.ValidateFrameAnalyticsType=void 0,hg.ValidateFrameAnalyticsType={TotalInteractors:"total-interactors",Interactors:"interactors",InteractionsPerCast:"interactions-per-cast",InputText:"input-text"}),hg}var j2={},MU;function Hoe(){return MU||(MU=1,Object.defineProperty(j2,"__esModule",{value:!0})),j2}var pg={},FU;function Woe(){return FU||(FU=1,Object.defineProperty(pg,"__esModule",{value:!0}),pg.ValidatedFrameActionObjectEnum=void 0,pg.ValidatedFrameActionObjectEnum={ValidatedFrameAction:"validated_frame_action"}),pg}var A2={},BU;function Goe(){return BU||(BU=1,Object.defineProperty(A2,"__esModule",{value:!0})),A2}var P2={},UU;function Koe(){return UU||(UU=1,Object.defineProperty(P2,"__esModule",{value:!0})),P2}var mg={},qU;function Yoe(){return qU||(qU=1,Object.defineProperty(mg,"__esModule",{value:!0}),mg.WebhookObjectEnum=void 0,mg.WebhookObjectEnum={Webhook:"webhook"}),mg}var S2={},LU;function Zoe(){return LU||(LU=1,Object.defineProperty(S2,"__esModule",{value:!0})),S2}var k2={},DU;function Joe(){return DU||(DU=1,Object.defineProperty(k2,"__esModule",{value:!0})),k2}var gg={},zU;function Qoe(){return zU||(zU=1,Object.defineProperty(gg,"__esModule",{value:!0}),gg.WebhookPatchReqBodyActiveEnum=void 0,gg.WebhookPatchReqBodyActiveEnum={True:"true",False:"false"}),gg}var T2={},VU;function Xoe(){return VU||(VU=1,Object.defineProperty(T2,"__esModule",{value:!0})),T2}var R2={},HU;function $oe(){return HU||(HU=1,Object.defineProperty(R2,"__esModule",{value:!0})),R2}var O2={},WU;function ece(){return WU||(WU=1,Object.defineProperty(O2,"__esModule",{value:!0})),O2}var C2={},GU;function tce(){return GU||(GU=1,Object.defineProperty(C2,"__esModule",{value:!0})),C2}var I2={},KU;function rce(){return KU||(KU=1,Object.defineProperty(I2,"__esMo
18754dule",{value:!0})),I2}var yg={},YU;function nce(){return YU||(YU=1,Object.defineProperty(yg,"__esModule",{value:!0}),yg.WebhookSubscriptionObjectEnum=void 0,yg.WebhookSubscriptionObjectEnum={WebhookSubscription:"webhook_subscription"}),yg}var N2={},ZU;function ace(){return ZU||(ZU=1,Object.defineProperty(N2,"__esModule",{value:!0})),N2}var M2={},JU;function ice(){return JU||(JU=1,Object.defineProperty(M2,"__esModule",{value:!0})),M2}var F2={},QU;function sce(){return QU||(QU=1,Object.defineProperty(F2,"__esModule",{value:!0})),F2}var B2={},XU;function oce(){return XU||(XU=1,Object.defineProperty(B2,"__esModule",{value:!0})),B2}var U2={},$U;function cce(){return $U||($U=1,Object.defineProperty(U2,"__esModule",{value:!0})),U2}var eq;function uce(){return eq||(eq=1,(function(e){var t=Uc&&Uc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Uc&&Uc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(_ie(),e),r(xie(),e),r(Eie(),e),r(jie(),e),r(Aie(),e),r(Pie(),e),r(Sie(),e),r(kie(),e),r(Tie(),e),r(Rie(),e),r(Oie(),e),r(Cie(),e),r(Iie(),e),r(Nie(),e),r(Mie(),e),r(Fie(),e),r(Bie(),e),r(Uie(),e),r(qie(),e),r(Lie(),e),r(Die(),e),r(zie(),e),r(Vie(),e),r(Hie(),e),r(Wie(),e),r(Gie(),e),r(Kie(),e),r(Yie(),e),r(Zie(),e),r(Jie(),e),r(Qie(),e),r(Xie(),e),r($ie(),e),r(ese(),e),r(tse(),e),r(rse(),e),r(nse(),e),r(ase(),e),r(ise(),e),r(sse(),e),r(ose(),e),r(cse(),e),r(use(),e),r(lse(),e),r(dse(),e),r(fse(),e),r(hse(),e),r(pse(),e),r(mse(),e),r(gse(),e),r(yse(),e),r(bse(),e),r(vse(),e),r(wse(),e),r(_se(),e),r(xse(),e),r(Ese(),e),r(jse(),e),r(Ase(),e),r(Pse(),e),r(Sse(),e),r(kse(),e),r(Tse(),e),r(Rse(),e),r(Ose(),e),r(Cse(),e),r(Ise(),e),r(Nse(),e),r(Mse(),e),r(Fse(),e),r(Bse(),e),r(Use(),e),r(qse(),e),r(Lse(),e),r(Dse(),e),r(zse(),e),r(Vse(),e),r(Hse(),e),r(Wse(),e),r(Gse(),e),r(Kse(),e),r(Yse(),e),r(Zse(),e),r(Jse(),e),r(Qse(),e),r(Xse(),e),r($se(),e),r(eoe(),e),r(toe(),e),r(roe(),e),r(noe(),e),r(aoe(),e),r(ioe(),e),r(soe(),e),r(ooe(),e),r(coe(),e),r(uoe(),e),r(loe(),e),r(doe(),e),r(foe(),e),r(hoe(),e),r(poe(),e),r(moe(),e),r(goe(),e),r(yoe(),e),r(boe(),e),r(voe(),e),r(woe(),e),r(_oe(),e),r(xoe(),e),r(Eoe(),e),r(joe(),e),r(Aoe(),e),r(Poe(),e),r(Soe(),e),r(koe(),e),r(Toe(),e),r(Roe(),e),r(Ooe(),e),r(Coe(),e),r(Ioe(),e),r(Noe(),e),r(Moe(),e),r(Foe(),e),r(Boe(),e),r(Uoe(),e),r(qoe(),e),r(Loe(),e),r(Doe(),e),r(zoe(),e),r(Voe(),e),r(Hoe(),e),r(Woe(),e),r(Goe(),e),r(Koe(),e),r(Yoe(),e),r(Zoe(),e),r(Joe(),e),r(Qoe(),e),r(Xoe(),e),r($oe(),e),r(ece(),e),r(tce(),e),r(rce(),e),r(nce(),e),r(ace(),e),r(ice(),e),r(sce(),e),r(oce(),e),r(cce(),e)})(Uc)),Uc}var tq;function BV(){return tq||(tq=1,(function(e){var t=Fc&&Fc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Fc&&Fc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(vie(),e),r(wie(),e),r(uce(),e)})(Fc)),Fc}var bi={},Dc={},zc={},bg={},Br={},vg={},rq;function UV(){return rq||(rq=1,(function(e){var t=vg&&vg.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.RequiredError=e.BaseAPI=e.COLLECTION_FORMATS=e.BASE_PATH=void 0;const r=t(Er());e.BASE_PATH="https://api.neynar.com/v2".replace(/\/+$/,""),e.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};class n{constructor(c,f=e.BASE_PATH,m=r.default){this.basePath=f,this.axios=m,c&&(this.configuration=c,this.basePath=c.basePath||this.basePath)}}e.BaseAPI=n;class a extends Error{constructor(c,f){super(f),this.field=c,this.name="RequiredError"}}e.RequiredError=a})(vg)),vg}var nq;function lce(){if(nq)return Br;
18754nq=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.createRequestFunction=Br.toPathString=Br.serializeDataIfNeeded=Br.setSearchParams=Br.setOAuthToObject=Br.setBearerAuthToObject=Br.setBasicAuthToObject=Br.setApiKeyToObject=Br.assertParamExists=Br.DUMMY_BASE_URL=void 0;const e=UV();Br.DUMMY_BASE_URL="https://example.com";const t=function(o,u,p){if(p==null)throw new e.RequiredError(u,`Required parameter ${u} was null or undefined when calling ${o}.`)};Br.assertParamExists=t;const r=async function(o,u,p){if(p&&p.apiKey){const g=typeof p.apiKey=="function"?await p.apiKey(u):await p.apiKey;o[u]=g}};Br.setApiKeyToObject=r;const n=function(o,u){u&&(u.username||u.password)&&(o.auth={username:u.username,password:u.password})};Br.setBasicAuthToObject=n;const a=async function(o,u){if(u&&u.accessToken){const p=typeof u.accessToken=="function"?await u.accessToken():await u.accessToken;o.Authorization="Bearer "+p}};Br.setBearerAuthToObject=a;const i=async function(o,u,p,g){if(g&&g.accessToken){const y=typeof g.accessToken=="function"?await g.accessToken(u,p):await g.accessToken;o.Authorization="Bearer "+y}};Br.setOAuthToObject=i;function c(o,u,p=""){u!=null&&(typeof u=="object"?Array.isArray(u)?u.forEach(g=>c(o,g,p)):Object.keys(u).forEach(g=>c(o,u[g],`${p}${p!==""?".":""}${g}`)):o.has(p)?o.append(p,u):o.set(p,u))}const f=function(o,...u){const p=new URLSearchParams(o.search);c(p,u),o.search=p.toString()};Br.setSearchParams=f;const m=function(o,u,p){const g=typeof o!="string";return(g&&p&&p.isJsonMime?p.isJsonMime(u.headers["Content-Type"]):g)?JSON.stringify(o!==void 0?o:{}):o||""};Br.serializeDataIfNeeded=m;const h=function(o){return o.pathname+o.search+o.hash};Br.toPathString=h;const l=function(o,u,p,g){return(y=u,b=p)=>{const x=Object.assign(Object.assign({},o.options),{url:(g?.basePath||b)+o.url});return y.request(x)}};return Br.createRequestFunction=l,Br}var aq;function dce(){return aq||(aq=1,(function(e){var t=bg&&bg.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.NFTApi=e.NFTApiFactory=e.NFTApiFp=e.NFTApiAxiosParamCreator=void 0;const r=t(Er()),n=lce(),a=UV(),i=function(h){return{fetchRelevantMints:async(l,o,u,p,g={})=>{(0,n.assertParamExists)("fetchRelevantMints","apiKey",l),(0,n.assertParamExists)("fetchRelevantMints","address",o),(0,n.assertParamExists)("fetchRelevantMints","contractAddress",u);const y="/nft/relevant_mints",b=new URL(y,n.DUMMY_BASE_URL);let x;h&&(x=h.baseOptions);const w=Object.assign(Object.assign({method:"GET"},x),g),E={},j={};o!==void 0&&(j.address=o),u!==void 0&&(j.contract_address=u),p!==void 0&&(j.token_id=p),l!=null&&(E.api_key=String(l)),(0,n.setSearchParams)(b,j);let T=x&&x.headers?x.headers:{};return w.headers=Object.assign(Object.assign(Object.assign({},E),T),g.headers),{url:(0,n.toPathString)(b),options:w}}}};e.NFTApiAxiosParamCreator=i;const c=function(h){const l=(0,e.NFTApiAxiosParamCreator)(h);return{async fetchRelevantMints(o,u,p,g,y){const b=await l.fetchRelevantMints(o,u,p,g,y);return(0,n.createRequestFunction)(b,r.default,a.BASE_PATH,h)}}};e.NFTApiFp=c;const f=function(h,l,o){const u=(0,e.NFTApiFp)(h);return{fetchRelevantMints(p,g,y,b,x){return u.fetchRelevantMints(p,g,y,b,x).then(w=>w(o,l))}}};e.NFTApiFactory=f;class m extends a.BaseAPI{fetchRelevantMints(l,o,u,p,g){return(0,e.NFTApiFp)(this.configuration).fetchRelevantMints(l,o,u,p,g).then(y=>y(this.axios,this.basePath))}}e.NFTApi=m})(bg)),bg}var iq;function fce(){return iq||(iq=1,(function(e){var t=zc&&zc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=zc&&zc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(dce(),e)})(zc)),zc}var wg={},sq;function hce(){if(sq)return wg;
18754sq=1,Object.defineProperty(wg,"__esModule",{value:!0}),wg.Configuration=void 0;class e{constructor(r={}){this.apiKey=r.apiKey,this.username=r.username,this.password=r.password,this.accessToken=r.accessToken,this.basePath=r.basePath,this.baseOptions=r.baseOptions,this.formDataCtor=r.formDataCtor}isJsonMime(r){const n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return r!==null&&(n.test(r)||r.toLowerCase()==="application/json-patch+json")}}return wg.Configuration=e,wg}var Vc={},_g={},oq;function pce(){return oq||(oq=1,Object.defineProperty(_g,"__esModule",{value:!0}),_g.ActiveStatus=void 0,_g.ActiveStatus={Active:"active",Inactive:"inactive"}),_g}var q2={},cq;function mce(){return cq||(cq=1,Object.defineProperty(q2,"__esModule",{value:!0})),q2}var L2={},uq;function gce(){return uq||(uq=1,Object.defineProperty(L2,"__esModule",{value:!0})),L2}var D2={},lq;function yce(){return lq||(lq=1,Object.defineProperty(D2,"__esModule",{value:!0})),D2}var xg={},dq;function bce(){return dq||(dq=1,Object.defineProperty(xg,"__esModule",{value:!0}),xg.UserObjectEnum=void 0,xg.UserObjectEnum={User:"user"}),xg}var z2={},fq;function vce(){return fq||(fq=1,Object.defineProperty(z2,"__esModule",{value:!0})),z2}var V2={},hq;function wce(){return hq||(hq=1,Object.defineProperty(V2,"__esModule",{value:!0})),V2}var pq;function _ce(){return pq||(pq=1,(function(e){var t=Vc&&Vc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Vc&&Vc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(pce(),e),r(mce(),e),r(gce(),e),r(yce(),e),r(bce(),e),r(vce(),e),r(wce(),e)})(Vc)),Vc}var mq;function xce(){return mq||(mq=1,(function(e){var t=Dc&&Dc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Dc&&Dc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(fce(),e),r(hce(),e),r(_ce(),e)})(Dc)),Dc}var gq;function Ece(){if(gq)return bi;gq=1;var e=bi&&bi.__createBinding||(Object.create?(function(l,o,u,p){p===void 0&&(p=u);var g=Object.getOwnPropertyDescriptor(o,u);(!g||("get"in g?!o.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return o[u]}}),Object.defineProperty(l,p,g)}):(function(l,o,u,p){p===void 0&&(p=u),l[p]=o[u]})),t=bi&&bi.__setModuleDefault||(Object.create?(function(l,o){Object.defineProperty(l,"default",{enumerable:!0,value:o})}):function(l,o){l.default=o}),r=bi&&bi.__importStar||function(l){if(l&&l.__esModule)return l;var o={};if(l!=null)for(var u in l)u!=="default"&&Object.prototype.hasOwnProperty.call(l,u)&&e(o,l,u);return t(o,l),o};Object.defineProperty(bi,"__esModule",{value:!0}),bi.NeynarV2APIClient=void 0;const n=BV(),a=r(Er()),i=MS(),c=xce(),f=FV(),m="https://api.neynar.com/v2";class h{constructor(o,{basePath:u,logger:p=i.silentLogger,axiosInstance:g}={}){if(this.logger=p,o==="")throw new Error("Attempt to use an authenticated API method without first providing an api key");this.apiKey=o,g===void 0&&(g=a.default.create({headers:{"x-sdk-version":f.version}})),g.defaults.decompress=!0,g.interceptors.response.use(b=>b,b=>{if(h.isApiErrorResponse(b)){const x=b.response.data;this.logger.warn(`API errors: ${JSON.stringify(x)}`)}throw b}),g.defaults.headers["x-sdk-version"]=f.version;const y=new n.Configuration({basePath:u?`${u}/v2`:m,apiKey:o});this.apis={signer:new n.SignerApi(y,void 0,g),user:new n.UserApi(y,void 0,g),cast:new n.CastApi(y,void 0,g),reaction:new n.ReactionApi(y,void 0,g),feed:new n.FeedApi(y,void 0,g),notifications:new n.NotificationsApi(y,void 0,g),channel:new n.ChannelApi(y,void 0,g),follows:new n.FollowsApi(y,void 0,g),storage:new n.StorageApi(y,void 0,g),nft:new c.NFTApi(y,void 0,g),fname:new n.FnameApi(y,void 0,g),frame:new n.FrameApi(y,void 0,g),webhook:new n.WebhookApi(y,void 0,g),mute:new n.MuteApi(y,void 0,g)}}static isApiErrorResponse(o){var u;return o instanceof a.AxiosError?((u=o.response)===null||u===void 0?void 0:u.data)!==void 0&&"message"in o.response.data:!1}async fetchAuthorizationUrl(o,u){return(await this.apis.signer.fetchAuthorizationUrl(this.apiKey,o,u)).data}async createSigner(){return(await this.apis.signer.createSigner(this.apiKey)).data}async lookupSigner(o){return(await this.apis.signer.signer(this.apiKey,o)).data}async registerSignedKey(o,u,p,g){const y={signer_uuid:o,app_fid:u,deadline:p,signature:g};return(await this.apis.signer.registerSignedKey(this.apiKey,y)).data}async lookupDeveloperManagedSigner(o){return(await this.apis.signer.developerManagedSigner(this.apiKey,o)).data}async registerSignedKeyForDeveloperManagedSigner(o,u,p,g){const y={public_key:o,app_fid:p,deadline:g,signature:u};return(await this.apis.signer.registerSignedKeyForDeveloperManagedSigner(this.apiKey,y)).data}async publishMessageToFarcaster(o){return(await this.apis.signer.publishMessage(this.apiKey,o)).data}async getFreshAccountFID(){return(await this.apis.user.getFreshFid(this.apiKey)).data}async registerAccount(o,u,p,g,y){const b={signature:u,fid:o,requested_user_custody_address:p,deadline:g,fname:y?.fname};return(await this.apis.user.registerUser(this.apiKey,b)).data}async fetchPowerUsers(o){return(await this.apis.user.powerUsers(this.apiKey,o?.limit,o?.curs
18754or)).data}async fetchActiveUsers(o){return(await this.apis.user.activeUsers(this.apiKey,o?.limit,o?.cursor)).data}async deleteVerification(o,u){const p={signer_uuid:o,address:u};return(await this.apis.user.farcasterUserVerificationDelete(this.apiKey,p)).data}async publishVerification(o,u,p,g){const y={signer_uuid:o,address:u,block_hash:p,eth_signature:g};return(await this.apis.user.farcasterUserVerificationPost(this.apiKey,y)).data}async followUser(o,u){const p={signer_uuid:o,target_fids:u};return(await this.apis.user.followUser(this.apiKey,p)).data}async unfollowUser(o,u){const p={signer_uuid:o,target_fids:u};return(await this.apis.user.unfollowUser(this.apiKey,p)).data}async updateUser(o,u){const p={signer_uuid:o,bio:u?.bio,pfp_url:u?.pfpUrl,url:u?.url,username:u?.username,display_name:u?.displayName};return(await this.apis.user.updateUser(this.apiKey,p)).data}async fetchBulkUsers(o,u){if(o.length>100)throw new Error("Maximum number of fids allowed is 100");const p=o.join(",");return(await this.apis.user.userBulk(this.apiKey,p,u?.viewerFid)).data}async fetchBulkUsersByEthereumAddress(o,u){if(o.length>350)throw new Error("Maximum number of addresses allowed is 350");const p=o.join(","),g=u?.addressTypes&&u?.addressTypes.join(",");return(await this.apis.user.userBulkByAddress(this.apiKey,p,g)).data}async searchUser(o,u,p){return(await this.apis.user.userSearch(this.apiKey,o,u,p?.limit,p?.cursor)).data}async lookupUserByCustodyAddress(o){return(await this.apis.user.lookupUserByCustodyAddress(this.apiKey,o)).data}async lookUpCastByHashOrWarpcastUrl(o,u){return(await this.apis.cast.cast(this.apiKey,o,u)).data}async fetchBulkCasts(o,u){const p=o.join(",");return(await this.apis.cast.casts(this.apiKey,p,u?.viewerFid,u?.sortType)).data}async lookupCastConversation(o,u,p){return(await this.apis.cast.castConversation(this.apiKey,o,u,p?.replyDepth,p?.includeChronologicalParentCasts)).data}async publishCast(o,u,p){const g={signer_uuid:o,text:u,embeds:p?.embeds,parent:p?.replyTo,channel_id:p?.channelId};return(await this.apis.cast.postCast(this.apiKey,g)).data.cast}async deleteCast(o,u){let p;typeof u=="string"?p=u:p=u.hash;const g={signer_uuid:o,target_hash:p};return(await this.apis.cast.deleteCast(this.apiKey,g)).data}async fetchFeed(o,u){var p;const g=(p=u?.fids)===null||p===void 0?void 0:p.join(",");return(await this.apis.feed.feed(this.apiKey,o,u?.filterType,u?.fid,g,u?.parentUrl,u?.channelId,u?.embedUrl,u?.withRecasts,u?.limit,u?.cursor)).data}async fetchFeedByChannelIds(o,u){const p=o.join(",");return(await this.apis.feed.feedChannels(this.apiKey,p,u?.withRecasts,u?.viewerFid,u?.withReplies,u?.limit,u?.cursor)).data}async fetchUserFollowingFeed(o,u){return(await this.apis.feed.feedFollowing(this.apiKey,o,u?.viewerFid,u?.withRecasts,u?.limit,u?.cursor)).data}async fetchPopularCastsByUser(o,u){return(await this.apis.feed.feedUserPopular(this.apiKey,o,u?.viewerFid)).data}async fetchRepliesAndRecastsForUser(o,u){return(await this.apis.feed.feedUserRepliesRecasts(this.apiKey,o,u?.limit,u?.cursor,u?.viewerFid)).data}async fetchFramesOnlyFeed(o){return(await this.apis.feed.feedFrames(this.apiKey,o?.limit,o?.viewerFid,o?.cursor)).data}async fetchTrendingFeed(o){return(await this.apis.feed.feedTrending(this.apiKey,o?.limit,o?.cursor,o?.viewerFid,o?.timeWindow,o?.channelId)).data}async publishReactionToCast(o,u,p){let g;typeof p=="string"?g=p:g=p.hash;const y={signer_uuid:o,reaction_type:u,target:g};return(await this.apis.reaction.postReaction(this.apiKey,y)).data}async deleteReactionFromCast(o,u,p){let g;typeof p=="string"?g=p:g=p.hash;const y={signer_uuid:o,reaction_type:u,target:g};return(await this.apis.reaction.deleteReaction(this.apiKey,y)).data}async fetchUserReactions(o,u,p){return(await this.apis.reaction.reactionsUser(this.apiKey,o,u,p?.limit,p?.cursor)).data}async fetchCastReactions(o,u,p){return(await this.apis.reaction.reactionsCast(this.apiKey,o,u,p?.limit,p?.cursor)).data}async fetchAllNotifications(o,u){return(await this.apis.notifications.notifications(this.apiKey,o,u?.cursor)).data}async fetchChannelNotificationsForUser(o,u,p){const g=u.join(",");
18754return(await this.apis.notifications.notificationsChannel(this.apiKey,o,g,p?.cursor)).data}async fetchNotificationsByParentUrlForUser(o,u,p){const g=u.join(",");return(await this.apis.notifications.notificationsParentUrl(this.apiKey,o,g,p?.cursor)).data}async fetchUserChannels(o,u){return(await this.apis.channel.userChannels(this.apiKey,o,u?.limit,u?.cursor)).data}async lookupChannel(o,u){return(await this.apis.channel.channelDetails(this.apiKey,o,u?.viewerFid)).data}async fetchUsersActiveChannels(o,u){return(await this.apis.channel.activeChannels(this.apiKey,o,u?.limit,u?.cursor)).data}async fetchActiveUsersInSingleChannel(o,u,p){return(await this.apis.channel.channelUsers(this.apiKey,o,u,p?.hasCastLikers,p?.hasCastRecasters,p?.hasReplyAuthors,p?.cursor,p?.limit)).data}async fetchAllChannels(o){return(await this.apis.channel.listAllChannels(this.apiKey,o?.limit,o?.cursor)).data}async searchChannels(o){return(await this.apis.channel.searchChannels(this.apiKey,o)).data}async fetchTrendingChannels(o,u){return(await this.apis.channel.trendingChannels(this.apiKey,o,u?.limit,u?.cursor)).data}async fetchFollowersForAChannel(o,u){return(await this.apis.channel.channelFollowers(this.apiKey,o,u?.cursor,u?.limit)).data}async fetchRelevantFollowers(o,u){return(await this.apis.follows.relevantFollowers(this.apiKey,o,u)).data}async lookupUserStorageAllocations(o){return(await this.apis.storage.storageAllocations(this.apiKey,o)).data}async lookupUserStorageUsage(o){return(await this.apis.storage.storageUsage(this.apiKey,o)).data}async isFnameAvailable(o){return(await this.apis.fname.fnameAvailability(this.apiKey,o)).data}async lookupNeynarFrame(o){return(await this.apis.frame.lookupNeynarFrame(this.apiKey,o)).data}async publishNeynarFrame(o){return(await this.apis.frame.publishNeynarFrame(this.apiKey,o)).data}async updateNeynarFrame(o){return(await this.apis.frame.updateNeynarFrame(this.apiKey,o)).data}async deleteNeynarFrame(o){const u={uuid:o};return(await this.apis.frame.deleteNeynarFrame(this.apiKey,u)).data}async fetchNeynarFrames(){return(await this.apis.frame.fetchNeynarFrames(this.apiKey)).data}async postFrameAction(o,u,p){const g={signer_uuid:o,cast_hash:u,action:p};return(await this.apis.frame.postFrameAction(this.apiKey,g)).data}async validateFrameAction(o,u){const p=Object.assign(Object.assign(Object.assign(Object.assign({message_bytes_in_hex:o},typeof u?.castReactionContext<"u"&&{cast_reaction_context:u?.castReactionContext}),typeof u?.followContext<"u"&&{follow_context:u?.followContext}),typeof u?.signerContext<"u"&&{signer_context:u?.signerContext}),typeof u?.channelFollowContext<"u"&&{channel_follow_context:u?.channelFollowContext});return(await this.apis.frame.validateFrame(this.apiKey,p)).data}async fetchValidateFrameList(){return(await this.apis.frame.validateFrameList(this.apiKey)).data}async fetchValidateFrameAnalytics(o,u,p,g,y){return(await this.apis.frame.validateFrameAnalytics(this.apiKey,o,u,p,g,y?.aggregateWindow)).data}async lookupWebhook(o){return(await this.apis.webhook.lookupWebhook(this.apiKey,o)).data}async publishWebhook(o,u,p){const g=Object.assign({name:o,url:u},typeof p?.subscription<"u"&&{subscription:p?.subscription});return(await this.apis.webhook.publishWebhook(this.apiKey,g)).data}async updateWebhookActiveStatus(o,u){const p={webhook_id:o,active:u.toString()};return(await this.apis.webhook.updateWebhookActiveStatus(this.apiKey,p)).data}async updateWebhook(o,u,p,g){const y=Object.assign({name:u,url:p,webhook_id:o},typeof g?.subscription<"u"&&{subscription:g?.subscription});return(await this.apis.webhook.updateWebhook(this.apiKey,y)).data}async deleteWebhook(o){return(await this.apis.webhook.deleteWebhook(this.apiKey,{webhook_id:o})).data}async fetchWebhooks(){return(await this.apis.webhook.fetchWebhooks(this.apiKey)).data}async fetchRelevantMints(o,u,p){return(await this.apis.nft.fetchRelevantMints(this.apiKey,o,u,p?.tokenId)).data}async fetchMuteList(o,u){return(await this.apis.mute.muteList(this.apiKey,o,u?.limit,u?.cursor)).data}async publishMute(o,u){const p={fid:o,muted_fid:u};return(await this.apis.mute.addMute(this.apiKey,p)).data}async deleteMute(o,u){const p={fid:o,muted_fid:u};return(await this.apis.mute.deleteMute(this.apiKey,p)).data}}return bi.NeynarV2APIClient=h,bi}var yq;function FS(){return yq||(yq=1,(function(e){var t=Mc&&Mc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Mc&&Mc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};
18754Object.defineProperty(e,"__esModule",{value:!0}),r(BV(),e),r(Ece(),e)})(Mc)),Mc}var Gr={},bq;function qV(){if(bq)return Gr;bq=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.ValidateFrameAggregateWindow=Gr.BulkUserAddressTypes=Gr.BulkCastsSortType=Gr.TrendingFeedTimeWindow=Gr.TimeWindow=Gr.SIGNED_KEY_REQUEST_TYPE_FOR_ADD_FOR=Gr.SIGNED_KEY_REQUEST_VALIDATOR=Gr.SIGNED_KEY_REQUEST_TYPE=Gr.SIGNED_KEY_REQUEST_VALIDATOR_EIP_712_DOMAIN=void 0,Gr.SIGNED_KEY_REQUEST_VALIDATOR_EIP_712_DOMAIN={name:"Farcaster SignedKeyRequestValidator",version:"1",chainId:10,verifyingContract:"0x00000000fc700472606ed4fa22623acf62c60553"},Gr.SIGNED_KEY_REQUEST_TYPE=[{name:"requestFid",type:"uint256"},{name:"key",type:"bytes"},{name:"deadline",type:"uint256"}],Gr.SIGNED_KEY_REQUEST_VALIDATOR={name:"Farcaster SignedKeyRequestValidator",version:"1",chainId:10,verifyingContract:"0x00000000fc700472606ed4fa22623acf62c60553"},Gr.SIGNED_KEY_REQUEST_TYPE_FOR_ADD_FOR=[{name:"owner",type:"address"},{name:"keyType",type:"uint32"},{name:"key",type:"bytes"},{name:"metadataType",type:"uint8"},{name:"metadata",type:"bytes"},{name:"nonce",type:"uint256"},{name:"deadline",type:"uint256"}];var e;(function(i){i.ONE_DAY="1d",i.SEVEN_DAYS="7d",i.THIRTY_DAYS="30d"})(e||(Gr.TimeWindow=e={}));var t;(function(i){i.ONE_HOUR="1h",i.SIX_HOUR="6h",i.TWELVE_HOUR="12h",i.TWENTY_FOUR_HOUR="24h"})(t||(Gr.TrendingFeedTimeWindow=t={}));var r;(function(i){i.TRENDING="trending",i.LIKES="likes",i.RECASTS="recasts",i.REPLIES="replies",i.RECENT="recent"})(r||(Gr.BulkCastsSortType=r={}));var n;(function(i){i.CUSTODY_ADDRESS="custody_address",i.VERIFIED_ADDRESS="verified_address"})(n||(Gr.BulkUserAddressTypes=n={}));var a;return(function(i){i.TEN_SECONDS="10s",i.ONE_MINUTE="1m",i.TWO_MINUTES="2m",i.TWENTY_MINUTES="20m",i.THIRTY_MINUTES="30m",i.TWO_HOURS="2h",i.TWELVE_HOURS="12h",i.ONE_DAY="1d",i.SEVEN_DAYS="7d"})(a||(Gr.ValidateFrameAggregateWindow=a={})),Gr}var Hc={},Eg={},vq;function jce(){if(vq)return Eg;vq=1,Object.defineProperty(Eg,"__esModule",{value:!0}),Eg.isApiErrorResponse=void 0;const e=Er(),t=r=>{var n;return r instanceof e.AxiosError?((n=r.response)===null||n===void 0?void 0:n.data)!==void 0&&"message"in r.response.data:!1};return Eg.isApiErrorResponse=t,Eg}var H2={},wq;function Ace(){return wq||(wq=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToV2CastList=e.convertToV2Cast=e.convertToV2UserList=e.convertToV2User=void 0;const t=FS(),r=c=>{var f,m;return Object.assign({object:"user",fid:c.fid,custody_address:c.custodyAddress,username:c.username,display_name:c.displayName,pfp_url:c.pfp.url,profile:{bio:{text:c.profile.bio.text,mentioned_profiles:(m=(f=c.profile.bio)===null||f===void 0?void 0:f.mentionedProfiles)!==null&&m!==void 0?m:[]}},follower_count:c?.followerCount,following_count:c?.followingCount,verifications:c?.verifications,verified_addresses:{eth_addresses:[],sol_addresses:[]},active_status:c?.activeStatus==="active"?t.ActiveStatus.Active:t.ActiveStatus.Inactive},c.viewerContext?{following:c.viewerContext.following,followed_by:c.viewerContext.followedBy}:{})};e.convertToV2User=r;const n=c=>{const f=[];for(let m=0;m<c.length;m++){const h=(0,e.convertToV2User)(c[m]);f.push(h)}return f};e.convertToV2UserList=n;const a=c=>{var f,m;return Object.assign(Object.assign(Object.assign({object:"cast_hydrated",hash:c.hash,thread_hash:c.threadHash,parent_hash:c.parentHash,parent_url:c.parentUrl?c.parentUrl:null,parent_author:{fid:c.parentAuthor.fid},author:(0,e.convertToV2User)(c.author),text:c.text,timestamp:c.timestamp,embeds:c.embeds.map(l=>l)},c.reactions?{reactions:{likes:(f=c.reactions)===null||f===void 0?void 0:f.fids.map((l,o)=>{var u;return{fid:l,fname:(u=c.reactions)===null||u===void 0?void 0:u.fnames[o]}}),recasts:(m=c.recasts)===null||m===void 0?void 0:m.fids.map((l,o)=>({fid:l,fname:c.recasters[o]}))}}:{}),c.replies?{replies:{count:c.replies.count}}:{}),{mentioned_profiles:(0,e.convertToV2UserList)(c.mentionedProfiles)})};e.convertToV2Cast=a;const i=c=>{const f=[];for(let m=0;m<c.length;m++){const h=c[m],l=(0,e.convertToV2Cast)(h);f.push(l)}return f};e.convertToV2CastList=i})(H2)),H2}var _q;function LV(){return _q||(_q=1,(function(e){var t=Hc&&Hc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=Hc&&Hc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};
18754Object.defineProperty(e,"__esModule",{value:!0}),r(jce(),e),r(Ace(),e)})(Hc)),Hc}var xq;function Pce(){if(xq)return Qd;xq=1,Object.defineProperty(Qd,"__esModule",{value:!0}),Qd.NeynarAPIClient=void 0;const e=Fne(),t=MS(),r=iie(),n=FS(),a=qV(),i=LV();class c{constructor(m,{basePath:h,logger:l=t.silentLogger,axiosInstance:o}={}){if(this.logger=l,m==="")throw new Error("Attempt to use an authenticated API method without first providing an api key");this.clients={v1:new r.NeynarV1APIClient(m,{basePath:h,logger:l,axiosInstance:o}),v2:new n.NeynarV2APIClient(m,{basePath:h,logger:l,axiosInstance:o})}}async fetchRecentUsers(m){return await this.clients.v1.fetchRecentUsers(m)}async fetchAllCastsLikedByUser(m,h){return await this.clients.v1.fetchAllCastsLikedByUser(m,h)}async lookupUserByFid(m,h){return await this.clients.v1.lookupUserByFid(m,h)}async lookupUserByUsername(m,h){return await this.clients.v1.lookupUserByUsername(m,h)}async lookupCustodyAddressForUser(m){return await this.clients.v1.lookupCustodyAddressForUser(m)}async lookUpCastByHash(m,h){return await this.clients.v1.lookUpCastByHash(m,h)}async fetchAllCastsInThread(m,h){return await this.clients.v1.fetchAllCastsInThread(m,h)}async fetchAllCastsCreatedByUser(m,h){return await this.clients.v1.fetchAllCastsCreatedByUser(m,h)}async fetchRecentCasts(m){return await this.clients.v1.fetchRecentCasts(m)}async fetchUserVerifications(m){return await this.clients.v1.fetchUserVerifications(m)}async lookupUserByVerification(m){return await this.clients.v1.lookupUserByVerification(m)}async fetchMentionAndReplyNotifications(m,h){return await this.clients.v1.fetchMentionAndReplyNotifications(m,h)}async fetchUserLikesAndRecasts(m,h){return await this.clients.v1.fetchUserLikesAndRecasts(m,h)}async fetchCastLikes(m,h){return await this.clients.v1.fetchCastLikes(m,h)}async fetchCastReactions(m,h){return await this.clients.v1.fetchCastReactions(m,h)}async fetchRecasters(m,h){return await this.clients.v1.fetchRecasters(m,h)}async fetchUserFollowers(m,h){return await this.clients.v1.fetchUserFollowers(m,h)}async fetchUserFollowing(m,h){return await this.clients.v1.fetchUserFollowing(m,h)}async fetchAuthorizationUrl(m,h){return await this.clients.v2.fetchAuthorizationUrl(m,h)}async createSigner(){return await this.clients.v2.createSigner()}async lookupSigner(m){return await this.clients.v2.lookupSigner(m)}async registerSignedKey(m,h,l,o){return await this.clients.v2.registerSignedKey(m,h,l,o)}async lookupDeveloperManagedSigner(m){return await this.clients.v2.lookupDeveloperManagedSigner(m)}async registerSignedKeyForDeveloperManagedSigner(m,h,l,o){return await this.clients.v2.registerSignedKeyForDeveloperManagedSigner(m,h,l,o)}async publishMessageToFarcaster(m){return await this.clients.v2.publishMessageToFarcaster(m)}async getFreshAccountFID(){return await this.clients.v2.getFreshAccountFID()}async registerAccount(m,h,l,o,u){return await this.clients.v2.registerAccount(m,h,l,o,u)}async fetchPowerUsers(m){return await this.clients.v2.fetchPowerUsers(m)}async fetchActiveUsers(m){return await this.clients.v2.fetchActiveUsers(m)}async deleteVerification(m,h){return await this.clients.v2.deleteVerification(m,h)}async publishVerification(m,h,l,o){return await this.clients.v2.publishVerification(m,h,l,o)}async followUser(m,h){return await this.clients.v2.followUser(m,h)}async unfollowUser(m,h){return await this.clients.v2.unfollowUser(m,h)}async updateUser(m,h){return await this.clients.v2.updateUser(m,h)}async fetchBulkUsers(m,h){return await this.clients.v2.fetchBulkUsers(m,h)}async fetchBulkUsersByEthereumAddress(m,h){return await this.clients.v2.fetchBulkUsersByEthereumAddress(m,h)}async fetchUserChannels(m,h){return await this.clients.v2.fetchUserChannels(m,h)}async searchUser(m,h,l){return await this.clients.v2.searchUser(m,h,l)}async lookupCastConversation(m,h,l){return await this.clients.v2.lookupCastConversation(m,h,l)}async lookupUserByCustodyAddress(m){return await this.clients.v2.lookupUserByCustodyAddress(m)}async lookUpCastByHashOrWarpcastUrl(m,h){return await this.clients.v2.lookUpCastByHashOrWarpcastUrl(m,h)}async fetchBulkCasts(m,h){return await this.clients.v2.fetchBulkCasts(m,h)}async publishCast(m,h,l){return await this.clients.v2.publishCast(m,h,l)}async deleteCast(m,h){return await this.clients.v2.deleteCast(m,h)}async fetchFeed(m,h){return await this.clients.v2.fetchFeed(m,h)}async fetchFeedByChannelIds(m,h){return await this.clients.v2.fetchFeedByChannelIds(m,h)}async fetchUserFollowingFeed(m,h){return await this.clients.v2.fetchUserFollowingFeed(m,h)}async fetchPopularCastsByUser(m,h){return await this.clients.v2.fetchPopularCastsByUser(m,h)}async fetchRepliesAndRecastsForUser(m,h){return await this.clients.v2.fetchRepliesAndRecastsForUser(m,h)}async fetchFramesOnlyFeed(m){return await this.clients.v2.fetchFramesOnlyFeed(m)}async fetchTrendingFeed(m){return await this.clients.v2.fetchTrendingFeed(m)}async publishReactionToCast(m,h,l){return await this.clients.v2.publishReactionToCast(m,h,l)}async deleteReactionFromCast(m,h,l){return await this.clients.v2.deleteReactionFromCast(m,h,l)}async fetchUserReactions(m,h,l){return await this.clients.v2.fetchUserReactions(m,h,l)}async fetchReactionsForCast(m,h,l){return await this.clients.v2.fetchCastReactions(m,h,l)}async fetchAllNotifications(m,h){return await this.clients.v2.fetchAllNotifications(m,h)}async fetchChannelNotificationsForUser(m,h,l){return await this.clients.v2.fetchChannelNotificationsForUser(m,h,l)}
18754async lookupChannel(m,h){return await this.clients.v2.lookupChannel(m,h)}async fetchUsersActiveChannels(m,h){return await this.clients.v2.fetchUsersActiveChannels(m,h)}async fetchActiveUsersInSingleChannel(m,h,l){return await this.clients.v2.fetchActiveUsersInSingleChannel(m,h,l)}async fetchAllChannels(m){return await this.clients.v2.fetchAllChannels(m)}async searchChannels(m){return await this.clients.v2.searchChannels(m)}async fetchTrendingChannels(m,h){return await this.clients.v2.fetchTrendingChannels(m,h)}async fetchNotificationsByParentUrlForUser(m,h,l){return await this.clients.v2.fetchNotificationsByParentUrlForUser(m,h,l)}async fetchFollowersForAChannel(m,h){return await this.clients.v2.fetchFollowersForAChannel(m,h)}async fetchRelevantFollowers(m,h){return await this.clients.v2.fetchRelevantFollowers(m,h)}async lookupUserStorageAllocations(m){return await this.clients.v2.lookupUserStorageAllocations(m)}async lookupUserStorageUsage(m){return await this.clients.v2.lookupUserStorageUsage(m)}async isFnameAvailable(m){return await this.clients.v2.isFnameAvailable(m)}async lookupNeynarFrame(m){return await this.clients.v2.lookupNeynarFrame(m)}async publishNeynarFrame(m){return await this.clients.v2.publishNeynarFrame(m)}async updateNeynarFrame(m){return await this.clients.v2.updateNeynarFrame(m)}async deleteNeynarFrame(m){return await this.clients.v2.deleteNeynarFrame(m)}async fetchNeynarFrames(){return await this.clients.v2.fetchNeynarFrames()}async postFrameAction(m,h,l){return await this.clients.v2.postFrameAction(m,h,l)}async validateFrameAction(m,h){return await this.clients.v2.validateFrameAction(m,h)}async fetchValidateFrameList(){return await this.clients.v2.fetchValidateFrameList()}async fetchValidateFrameAnalytics(m,h,l,o,u){return await this.clients.v2.fetchValidateFrameAnalytics(m,h,l,o,u)}async lookupWebhook(m){return await this.clients.v2.lookupWebhook(m)}async publishWebhook(m,h,l){return await this.clients.v2.publishWebhook(m,h,l)}async updateWebhookActiveStatus(m,h){return await this.clients.v2.updateWebhookActiveStatus(m,h)}async updateWebhook(m,h,l,o){return await this.clients.v2.updateWebhook(m,h,l,o)}async deleteWebhook(m){return await this.clients.v2.deleteWebhook(m)}async fetchWebhooks(){return await this.clients.v2.fetchWebhooks()}async fetchRelevantMints(m,h,l){return await this.clients.v2.fetchRelevantMints(m,h,l)}async createSignerAndRegisterSignedKey(m,h){var l;try{const{public_key:o,signer_uuid:u}=await this.createSigner(),p=(0,e.mnemonicToAccount)(m),{user:g}=await this.lookupUserByCustodyAddress(p.address),y=(l=h?.deadline)!==null&&l!==void 0?l:Math.floor(Date.now()/1e3)+86400;let b=await p.signTypedData({domain:a.SIGNED_KEY_REQUEST_VALIDATOR_EIP_712_DOMAIN,types:{SignedKeyRequest:a.SIGNED_KEY_REQUEST_TYPE},primaryType:"SignedKeyRequest",message:{requestFid:BigInt(g.fid),key:o,deadline:BigInt(y)}});return await this.registerSignedKey(u,g.fid,y,b)}catch(o){(0,i.isApiErrorResponse)(o)?console.log(o.response.data):console.log(o)}}async fetchMuteList(m,h){return await this.clients.v2.fetchMuteList(m,h)}async publishMute(m,h){return await this.clients.v2.publishMute(m,h)}async deleteMute(m,h){return await this.clients.v2.deleteMute(m,h)}}return Qd.NeynarAPIClient=c,Qd}var Eq;function Sce(){return Eq||(Eq=1,(function(e){var t=lc&&lc.__createBinding||(Object.create?(function(i,c,f,m){m===void 0&&(m=f);var h=Object.getOwnPropertyDescriptor(c,f);(!h||("get"in h?!c.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return c[f]}}),Object.defineProperty(i,m,h)}):(function(i,c,f,m){m===void 0&&(m=f),i[m]=c[f]})),r=lc&&lc.__exportStar||function(i,c){for(var f in i)f!=="default"&&!Object.prototype.hasOwnProperty.call(c,f)&&t(c,i,f)};Object.defineProperty(e,"__esModule",{value:!0}),e.ValidateFrameAggregateWindow=e.BulkUserAddressTypes=e.BulkCastsSortType=e.TimeWindow=e.AuthorizationUrlResponseType=e.ValidateFrameAnalyticsType=e.FrameButtonActionType=e.ReactionType=e.CastParamType=e.ReactionsType=e.FilterType=e.FeedType=void 0,r(Pce(),e),r(LV(),e);var n=FS();Object.defineProperty(e,"FeedType",{enumerable:!0,get:function(){return n.FeedType}}),Object.defineProperty(e,"FilterType",{enumerable:!0,get:function(){return n.FilterType}}),Object.defineProperty(e,"ReactionsType",{enumerable:!0,get:function(){return n.ReactionsType}}),Object.defineProperty(e,"CastParamType",{enumerable:!0,get:function(){return n.CastParamType}}),Object.defineProperty(e,"ReactionType",{enumerable:!0,get:function(){return n.ReactionType}}),Object.defineProperty(e,"FrameButtonActionType",{enumerable:!0,get:function(){return n.FrameButtonActionType}}),Object.defineProperty(e,"ValidateFrameAnalyticsType",{enumerable:!0,get:function(){return n.ValidateFrameAnalyticsType}}),Object.defineProperty(e,"AuthorizationUrlResponseType",{enumerable:!0,get:function(){return n.AuthorizationUrlResponseType}});var a=qV();Object.defineProperty(e,"TimeWindow",{enumerable:!0,get:function(){return a.TimeWindow}}),Object.defineProperty(e,"BulkCastsSortType",{enumerable:!0,get:function(){return a.BulkCastsSortType}}),Object.defineProperty(e,"BulkUserAddressTypes",{enumerable:!0,get:function(){return a.BulkUserAddressTypes}}),Object.defineProperty(e,"ValidateFrameAggregateWindow",{enumerable:!0,get:function(){return a.ValidateFrameAggregateWindow}})})(lc)),lc}var jq;function kce(){return jq||(jq=1,(function(e){var t=uc&&uc.__createBinding||(Object.create?(function(n,a,i,c){c===void 0&&(c=i);var f=Object.getOwnPropertyDescriptor(a,i);(!f||("get"in f?!a.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,f)}):(function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]})),r=uc&&uc.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,n,i)};
18754Object.defineProperty(e,"__esModule",{value:!0}),r(Sce(),e)})(uc)),uc}var Tce=kce();function Rce(e){const t=/[\u{1F300}-\u{1F9FF}]|[\u{2600}-\u{26FF}]|[\u{2700}-\u{27BF}]|[\u{1F900}-\u{1F9FF}]|[\u{1F1E0}-\u{1F1FF}]|[\u{1F600}-\u{1F64F}]|[\u{1F680}-\u{1F6FF}]|[\u{1F700}-\u{1F77F}]|[\u{1F780}-\u{1F7FF}]|[\u{1F800}-\u{1F8FF}]|[\u{1FA00}-\u{1FA6F}]|[\u{1FA70}-\u{1FAFF}]|[\u{203C}-\u{3299}]/gu;try{return e.match(t)||[]}catch{const n=/[\u2600-\u26FF\u2700-\u27BF\u{1F300}-\u{1F9FF}\u{1F600}-\u{1F64F}\u{1F680}-\u{1F6FF}]/gu;return e.match(n)||[]}}const Oce=new Set(["the","a","an","and","or","but","in","on","at","to","for","of","with","by","from","up","about","into","through","during","including","against","among","throughout","despite","towards","upon","concerning","is","are","was","were","be","been","being","have","has","had","do","does","did","will","would","should","could","may","might","must","can","this","that","these","those","i","you","he","she","it","we","they","me","him","her","us","them","my","your","his","its","our","their","mine","yours","hers","ours","theirs","what","which","who","whom","whose","where","when","why","how","all","each","every","both","few","more","most","other","some","such","no","nor","not","only","own","same","so","than","too","very","now","am","any","as","because","before","after","above","below","between","down","over","under","once","out","off","again","against","while","during","until","cant","cannot","couldnt","didnt","doesnt","dont","hadnt","hasnt","havent","isnt","arent","wasnt","werent","mustnt","shouldnt","wouldnt","wont","ive","im","id","youre","youve","youd","theys","theyre","theyve","theyd","whats","whens","wheres","whys","hows","lets","like","just","really","literally","kinda","sorta","maybe","actually","stuff","thing","things","well","yeah","ok","okay","lol","omg","btw","idk","imo","imho","tbh","rn","hey","hi","hello","http","https","www"]);function Cce(e){const t=e.toLowerCase().replace(/[^\w\s]/g,"");return t.length<2||Oce.has(t)||t.startsWith("http")||t.startsWith("www")||t.startsWith("@")?null:t}function Ice(e){return e.split(/\s+/).map(Cce).filter(r=>r!==null)}function Nce(e){const t=new Map;return e.forEach(r=>{Rce(r).forEach(a=>{t.set(a,(t.get(a)||0)+1)})}),Array.from(t.entries()).map(([r,n])=>({emoji:r,count:n})).sort((r,n)=>n.count-r.count)}function Mce(e){const t=Nce(e);return t.length>0?t[0]:null}function Fce(e,t=20){const r=new Map;return e.forEach(n=>{Ice(n).forEach(i=>{r.set(i,(r.get(i)||0)+1)})}),Array.from(r.entries()).map(([n,a])=>({word:n,count:a})).sort((n,a)=>a.count-n.count).slice(0,t)}const DV=()=>{const e="0E5C8F34-B9F5-44F0-8A4F-AEEECD5FF738";return new Tce.NeynarAPIClient(e)};async function iu(e,t,r={}){try{fetch("/api/neynar-logs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fid:e,endpoint:t,method:r.method||"GET",statusCode:r.statusCode,responseTimeMs:r.responseTimeMs,creditsUsed:r.creditsUsed||0,error:r.error,pageNumber:r.pageNumber,metadata:r.metadata})}).catch(n=>{console.warn("Failed to log Neynar API call:",n)})}catch(n){console.warn("Error logging Neynar API call:",n)}}async function Bce(e){const t="0E5C8F34-B9F5-44F0-8A4F-AEEECD5FF738",r=Date.now();try{console.log(`ð Fetching top cast for FID ${e} using Popular Casts endpoint...`);const n=await fetch(`https://api.neynar.com/v2/farcaster/feed/user/popular?fid=${e}`,{headers:{"x-api-key":t}}),a=Date.now()-r;if(!n.ok)return await iu(e,"feed/user/popular",{method:"GET",statusCode:n.status,responseTimeMs:a,creditsUsed:0,error:`HTTP ${n.status}`}),console.error(`â Popular casts API error: ${n.status}`),null;const c=(await n.json())?.casts||[];if(await iu(e,"feed/user/popular",{method:"GET",statusCode:200,responseTimeMs:a,creditsUsed:1}),c.length===0)return console.log(`ð No popular casts found for FID ${e}`),null;console.log(`ð Got ${c.length} popular casts, filtering for 2025...`);const f=new Date("2025-01-01").getTime(),m=c.filter(o=>new Date(o.timestamp).getTime()>=f&&!o.parent_hash);if(m.length===0)return console.log("ð No 2025 casts found in popular casts"),null;const h=m.reduce((o,u)=>{const p=(u.reactions?.likes_count||0)+(u.reactions?.recasts_count||0)*2+(u.replies?.count||0),g=(o.reactions?.likes_count||0)+(o.reactions?.recasts_count||0)*2+(o.replies?.count||0);return p>g?u:o});console.log(`â
Found top cast with ${h.reactions?.likes_count||0} likes`);let l;if(h.embeds&&h.embeds.length>0){const o=h.embeds.find(u=>u.url&&(u.url.match(/\.(jpg|jpeg|png|gif|webp)$/i)||u.metadata?.image||u.metadata?.content_type?.startsWith("image/")));o&&(l=o.url||o.metadata?.image,console.log(`ð¸ Found image in top cast: ${l}`))}return{text:h.text||"",likes:h.reactions?.likes_count||0,recasts:h.reactions?.recasts_count||0,replies:h.replies?.count||0,timestamp:h.timestamp,imageUrl:l}}catch(n){const a=Date.now()-r;return await iu(e,"feed/user/popular",{method:"GET",statusCode:500,responseTimeMs:a,creditsUsed:0,error:n?.message||"Unknown error"}),console.error("Error fetching top cast:",n),null}}async function Uce(e){const t=DV();if(!t)return[];try{console.log("ð Fetching ALL cast texts for analysis (2025 only)..."),console.log("â±ï¸ This may take a few minutes for power users...");const r=[];let n,a=1;const i=350,c=new Date("2025-01-01T00:00:00Z").getTime();
18754let f=Date.now();for(;a<=i;){const m=Date.now();let h;try{h=await t.fetchFeed("filter",{filterType:"fids",fids:[e],limit:100,cursor:n})}catch(g){const y=Date.now()-m;throw await iu(e,"fetchFeed",{statusCode:g?.response?.status||500,responseTimeMs:y,creditsUsed:0,error:g?.message||"Unknown error",pageNumber:a}),g}const l=Date.now()-m,o=h?.casts||[];if(await iu(e,"fetchFeed",{statusCode:200,responseTimeMs:l,creditsUsed:1,pageNumber:a,metadata:{castsReturned:o.length}}),o.length===0){console.log(`ð No more casts available at page ${a}`);break}const u=o.filter(g=>new Date(g.timestamp).getTime()>=c).map(g=>g.text||"").filter(g=>g.length>0);r.push(...u);const p=o[o.length-1];if(p){const g=new Date(p.timestamp).getTime();if(g<c){console.log(`ð
Reached casts before 2025 at page ${a}, stopping...`);break}f=g}if((a%10===0||a===1)&&console.log(`ð Page ${a}: Fetched ${r.length} cast texts so far...`),n=h?.next?.cursor,!n){console.log(`ð Reached end of casts at page ${a}`);break}if(a++,a>i){console.warn(`â ï¸ Reached maximum page limit (${i}), stopping to prevent excessive API calls`);break}await new Promise(g=>setTimeout(g,100))}return console.log(`â
Fetched ${r.length} total cast texts for analysis`),r}catch(r){return console.error("Error fetching cast texts for analysis:",r),[]}}async function qce(e){try{const t=await Uce(e);if(t.length===0)return{mostUsedEmoji:null,topWords:[]};const r=Mce(t),n=Fce(t,20);return console.log("ð Text analysis complete:",{emoji:r?`${r.emoji} (${r.count}x)`:"none",topWordsCount:n.length}),{mostUsedEmoji:r,topWords:n}}catch(t){return console.error("Error analyzing user text:",t),{mostUsedEmoji:null,topWords:[]}}}async function Lce(e){const t=DV();if(!t)return .85;const r=Date.now();try{const n=await t.fetchBulkUsers([e]),a=Date.now()-r,i=n?.users?.[0];if(await iu(e,"fetchBulkUsers",{statusCode:200,responseTimeMs:a,creditsUsed:1}),!i)return null;console.log("ð Neynar user data:",i);const c=i.experimental?.neynar_user_score||i.neynar_score||i.verified_score||i.reputation_score;if(c!=null)return console.log(`â
Found Neynar score: ${c}`),c>1?c/100:c;const f=i.power_badge===!0,m=i.follower_count||0;let h=.5;return f&&(h+=.3),m>1e3&&(h+=.1),m>5e3&&(h+=.1),console.log(`ð Using calculated score: ${h}`),Math.min(h,1)}catch(n){const a=Date.now()-r,i=n?.response?.status||500;return await iu(e,"fetchBulkUsers",{statusCode:i,responseTimeMs:a,creditsUsed:0,error:n?.message||"Unknown error"}),console.error("Error fetching Neynar score:",n),i===401&&console.error("â API Key is invalid or unauthorized. Please check your Neynar API key."),null}}const zV="54301940-6445-465C-B1B8-E338BB13881",VV="/api/quotient",Dce="coin_launches";async function zce(e){try{const t=await fetch(`${VV}/v1/user-reputation`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({fids:[e],api_key:zV})});if(!t.ok){if(t.status===404)return console.warn("â ï¸ Quotient API returned 404. This could mean:"),console.warn(" - User not in Quotient leaderboard (normal)"),console.warn(" - API proxy route not working (check Vercel deployment)"),null;const n=await t.json().catch(()=>({}));return console.warn(`â ï¸ Quotient API returned ${t.status}: ${JSON.stringify(n)}`),null}const r=await t.json();if(r.data&&Array.isArray(r.data)&&r.data.length>0){const n=r.data[0],a=n.quotientScore||n.quotientScoreRaw||null;if(a!==null){const i=n.quotientRank||0;return{score:a,rank:i}}}return null}catch(t){return t.message?.includes("Failed to fetch")||t.message?.includes("ERR_NAME_NOT_RESOLVED")||t.message?.includes("CORS"),null}}async function Vce(e){try{const t=`${VV}/v1/leaderboard/${Dce}/user?api_key=${encodeURIComponent(zV)}&fid=${e}`,r=await fetch(t,{method:"GET",headers:{Accept:"application/json"}});if(!r.ok)return[];const n=await r.json();let a=[];return n.data&&(Array.isArray(n.data)?a=n.data:n.data.launches?a=n.data.launches:n.data.coin_launches?a=n.data.coin_launches:typeof n.data.count=="number"&&(a=[])),a}catch(t){return t.message?.includes("Failed to fetch")||t.message?.includes("ERR_NAME_NOT_RESOLVED")||t.message?.includes("CORS")?[]:[]}}async function Hce(e){try{const[t,r]=await Promise.all([zce(e),Vce(e)]);return{quotientScore:t?.score??null,quotientRank:t?.rank??null,coinLaunches:r.length,coinLaunchDetails:r}}catch{return{quotientScore:void 0,coinLaunches:0,coinLaunchDetails:[]}}}const Wce="/api/clanker";async function Gce(e){try{console.log(`ð Fetching Clanker tokens for FID ${e}...`);let t=[],r,n=!0,a=1;for(;n;){const c=new URLSearchParams;c.append("fids",e.toString()),r&&c.append("cursor",r);const f=`${Wce}/tokens?${c.toString()}`,m=await fetch(f,{method:"GET",headers:{Accept:"application/json"}});if(!m.ok){if(m.status===404)return console.log(`â
No Clanker tokens found for FID ${e}`),{count:0,tokens:[]};throw new Error(`Clanker API returned ${m.status}`)}const h=await m.json(),l=h.data.filter(o=>{const u=new Date(o.created_at);return u>=new Date("2025-01-01")&&u<new Date("2026-01-01")});if(t.push(...l),r=h.cursor,n=!!r&&h.data.length>
187540,a%10===0&&console.log(`ð Fetched page ${a}, found ${t.length} tokens so far...`),a++,a>100){console.warn("â ï¸ Reached page limit, stopping pagination");break}n&&await new Promise(o=>setTimeout(o,100))}const i=t.length;return console.log(`â
Found ${i} Clanker tokens launched in 2025 for FID ${e}`),{count:i,tokens:t}}catch(t){return console.error("Error fetching Clanker tokens:",t),{count:0,tokens:[]}}}const ev="0x699727f9e01a822efdcf7333073f0461e5914b4e",Kce=void 0;async function Yce(e){try{console.log(`ð Fetching Warplet NFT for FID ${e}...`);const t=["https://base-mainnet.g.alchemy.com/v2/demo","https://mainnet.base.org","https://base.publicnode.com","https://1rpc.io/base"];for(const r of t)try{console.log(`ð Trying RPC endpoint: ${r}`);const n=await Zce(ev,e,r);if(n){const a=n.replace(/^[^\x20-\x7E]+/,"").trim();console.log(`ð Got token URI (cleaned): ${a.substring(0,100)}...`);const i=await Qce(a,e);if(i){console.log("ð Metadata:",i);const c=i.image||i.image_url||i.image_original_url||i.imageUrl;if(c){const f=Xce(c);return console.log("â
Found Warplet NFT via direct contract query!"),console.log(`ð¼ï¸ Image URL: ${f}`),{imageUrl:f,tokenId:e.toString(),name:i.name||`Warplet #${e}`,contractAddress:ev,openseaUrl:`https://opensea.io/assets/base/${ev}/${e}`}}else console.warn("â ï¸ Metadata found but no image field. Available fields:",Object.keys(i))}else console.warn("â ï¸ Failed to fetch/parse metadata from token URI")}else console.log(`â ï¸ No token URI returned from ${r}`)}catch(n){console.warn(`â RPC endpoint ${r} failed:`,n);continue}return console.log(`â ï¸ No Warplet NFT found for FID ${e} (tried all methods)`),null}catch(t){return console.error("Error fetching Warplet by FID:",t),null}}async function Zce(e,t,r){try{const n="0xc87b56dd",i="0x"+BigInt(t).toString(16).padStart(64,"0"),c=n+i.slice(2);console.log(`ð¡ Calling contract ${e} with tokenId ${t}`),console.log(`ð¡ Data: ${c}`);const f=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",method:"eth_call",params:[{to:e.toLowerCase(),data:c},"latest"],id:1})});if(!f.ok){const l=await f.text();return console.warn(`â RPC call failed: ${f.status} - ${l}`),null}const m=await f.json();if(m.error)return console.warn("â RPC error:",m.error),null;if(!m.result||m.result==="0x"||m.result==="0x0")return console.warn("â ï¸ No result from contract call"),null;console.log(`ð¦ Raw result: ${m.result.substring(0,100)}...`);const h=Jce(m.result);return console.log(`ð Decoded token URI (first 150 chars): ${h.substring(0,150)}...`),console.log(`ð Full decoded token URI length: ${h.length}`),h}catch(n){return console.error("â Error querying contract:",n),null}}function Jce(e){try{const t=e.startsWith("0x")?e.slice(2):e;if(t.length<128)return console.warn("â ï¸ Hex too short for ABI string"),"";const r=t.slice(0,64),n=parseInt(r,16),a=t.slice(64,128),i=parseInt(a,16);if(console.log(`ð ABI decode: offset=${n}, length=${i}, hexLength=${t.length}`),i===0)return console.warn("â ï¸ String length is 0"),"";if(i>1e4)return console.warn(`â ï¸ String length too large: ${i}`),"";const c=n*2,f=c+i*2;if(f>t.length){console.warn(`â ï¸ String extends beyond hex data: need ${f}, have ${t.length}`);const h=t.slice(c);return Aq(h)}const m=t.slice(c,f);return Aq(m)}catch(t){return console.error("â Error decoding ABI string:",t),""}}function Aq(e){let t="";for(let r=0;r<e.length;r+=2){const n=parseInt(e.substr(r,2),16);n>0&&(t+=String.fromCharCode(n))}return t}async function Qce(e,t){try{if(e.includes("data:application/json;base64,"))try{const r="data:application/json;base64,",n=e.indexOf(r);if(n===-1)return console.warn("â ï¸ Could not find data URI prefix"),null;const a=e.substring(n+r.length).trim(),i=a.replace(/[^A-Za-z0-9+/=]/g,"");console.log(`ð Decoding base64 data (original length: ${a.length}, cleaned: ${i.length})...`);try{const c=atob(i);if(console.log(`ð Decoded JSON string length: ${c.length}`),console.log(`ð First 400 chars: ${c.substring(0,400)}...`),console.log(`ð Last 100 chars: ...${c.substring(c.length-100)}`),!c.trim().endsWith("}")&&!c.trim().endsWith("]")){console.warn("â ï¸ JSON appears incomplete - might be truncated");const m=c.lastIndexOf("}");if(m>0){const h=c.substring(0,m+1);console.log(`ð Trying truncated JSON (ending at position ${m})`);const l=JSON.parse(h);return console.log("â
Parsed truncated JSON successfully"),l}}const f=JSON.parse(c);return console.log("â
Decoded data URI metadata successfully!"),console.log("ð Metadata keys:",Object.keys(f)),console.log("ð¼ï¸ Image field:",f.image?f.image.substring(0,80)+"...":"NOT FOUND"),f}catch{let f=!1;try{let h=atob(i).trim();const l=(h.match(/{/g)||[]).length,o=(h.match(/}/g)||[]).length,u=l-o;if(u>0){const g=h.lastIndexOf(",");g>0?h=h.substring(0,g)+"}".repeat(u):h=h+"}".repeat(u)}const p=JSON.parse(h);return console.log("â
Fixed and parsed JSON successfully"),f=!0,p}catch(m){console.warn("â ï¸ Could not fix JSON, using regex fallback:",m instanceof Error?m.message:"Unknown error")}try{const m=atob(i);console.log("ð Attempting regex extraction from JSON string (length:",m.length,")");const h=[/"image"\s*:\s*"([^"\\]*(\\.[^"\\]*)*)"/,/"image"\s*:\s*"([^"]+)"/,/"image"\s*:\s*"([^"\\\n]+)"/];let l=null;for(const o of h)if(l=m.match(o),l&&l[1])break;
18754if(l&&l[1]){const o=l[1].replace(/\\"/g,'"').replace(/\\n/g,"");console.log(`ð¼ï¸ Found image via regex extraction: ${o}`),console.log("â
Successfully recovered from JSON parse error using regex"),f=!0;const u=m.match(/"name"\s*:\s*"([^"]+)"/);return{name:u?u[1]:t?`Warplet #${t}`:"Warplet",image:o}}else console.warn("â ï¸ Regex did not find image field in JSON")}catch(m){console.warn("â ï¸ Regex extraction failed:",m)}try{const m=atob(a),h=[/"image"\s*:\s*"([^"\\]*(\\.[^"\\]*)*)"/,/"image"\s*:\s*"([^"]+)"/];let l=null;for(const u of h)if(l=m.match(u),l&&l[1])break;if(l&&l[1]){const u=l[1].replace(/\\"/g,'"').replace(/\\n/g,"");console.log(`ð¼ï¸ Found image via regex (original base64): ${u}`),f=!0;const p=m.match(/"name"\s*:\s*"([^"]+)"/);return{name:p?p[1]:t?`Warplet #${t}`:"Warplet",image:u}}const o=JSON.parse(m);return console.log("â
Decoded with original base64 data"),f=!0,o}catch(m){return f||console.warn("â ï¸ Could not parse JSON metadata, but this is non-critical:",m instanceof Error?m.message:"Unknown error"),null}}}catch(r){return console.error("â Error processing data URI:",r),null}if(e.startsWith("ipfs://")){const r=e.replace("ipfs://",""),n=[`https://ipfs.io/ipfs/${r}`,`https://gateway.pinata.cloud/ipfs/${r}`,`https://cloudflare-ipfs.com/ipfs/${r}`];for(const a of n)try{const i=await fetch(a);if(i.ok)return await i.json()}catch{continue}return null}if(e.startsWith("http://")||e.startsWith("https://")){const r=await fetch(e);if(r.ok)return await r.json()}return null}catch(r){return console.warn("Error fetching NFT metadata:",r),null}}function Xce(e){return e?e.startsWith("ipfs://")?`https://ipfs.io/ipfs/${e.replace("ipfs://","")}`:e.startsWith("//")?`https:${e}`:e:""}function $ce(e,t,r,n){const a=r??0;let i,c,f;return t!==null&&t>=.99?{tier:"platinum",name:"Platinum",description:"Top 1% - Legendary Farcaster status with exceptional reputation",score:a}:(a>=.85?(i="platinum",c="Platinum",f="Top 1% - Exceptional across all metrics with legendary status"):a>=.75?(i="gold",c="Gold",f="Top performer with exceptional activity, engagement, and achievements"):a>=.65?(i="silver",c="Silver",f="Established member with strong community presence and consistent activity"):(a>=.55,i="foil",c="Foil",f="Active community member building their presence on Farcaster"),{tier:i,name:c,description:f,score:Math.round(a*100)/100})}const tv="/api/analytics-proxy";async function Tu(e){try{if(console.log("ð Analytics Event:",{fid:e.fid,username:e.username,event:e.event,data:e.data,timestamp:e.timestamp}),tv)try{const t=tv.startsWith("http")?tv:`${window.location.origin}${tv}`,r=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});r.ok||console.warn("â ï¸ Analytics endpoint returned error:",r.status)}catch(t){console.warn("â ï¸ Failed to send analytics event:",t)}}catch(t){console.warn("â ï¸ Error logging event:",t)}}async function HV(e,t,r){await Tu({fid:e,username:t,displayName:r,timestamp:new Date().toISOString(),event:"session_start"})}async function WV(e,t,r,n){await Tu({fid:e,username:n,timestamp:new Date().toISOString(),event:"tier_assigned",data:{tier:t,tierName:r}})}async function GV(e,t,r,n){await Tu({fid:e,username:n,timestamp:new Date().toISOString(),event:"mint_attempt",data:{tier:t,tierName:r}})}async function KV(e,t,r,n,a){await Tu({fid:e,username:a,timestamp:new Date().toISOString(),event:"mint_success",data:{tier:t,tierName:r,minted:!0,transactionHash:n,success:!0}})}async function LA(e,t,r,n,a){await Tu({fid:e,username:a,timestamp:new Date().toISOString(),event:"mint_failed",data:{tier:t,tierName:r,minted:!1,error:n,success:!1}})}async function YV(e,t,r,n,a){await Tu({fid:e,username:a,timestamp:new Date().toISOString(),event:"session_complete",data:{tier:t,tierName:r,minted:n,success:!0}})}const eue=Object.freeze(Object.defineProperty({__proto__:null,logEvent:Tu,logMintAttempt:GV,logMintFailed:LA,logMintSuccess:KV,logSessionComplete:YV,logSessionStart:HV,logTierAssigned:WV},Symbol.toStringTag,{value:"Module"})),ZV="";async function tue(e){try{const t=await fetch(`${ZV}/api/user-stats?fid=${e}`);if(t.status===404)return{data:null,isStale:!0,found:!1};if(!t.ok)return console.warn("â ï¸ Supabase fetch failed:",t.status),{data:null,isStale:!0,found:!1};const r=await t.json();return console.log(`ð¦ Supabase cache hit for FID ${e} (stale: ${r.isStale})`),{data:r.data,isStale:r.isStale,found:!0}}catch(t){return console.warn("â ï¸ Supabase fetch error:",t),{data:null,isStale:!0,found:!1}}}async function rue(e,t,r,n,a,i,c,f,m,h,l){try{const o=`${ZV}/api/user-stats`;console.log(`ð¾ Attempting to save stats to Supabase for FID ${e} at ${o}`);const u=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fid:e,stats:t,neynarScore:r,quotientScore:n,quotientRank:a,coinLaunches:i,warplet:c,nftTier:f,username:m,displayName:h,pfpUrl:l})});if(u.ok)console.log(`â
Stats saved to Supabase for FID ${e}`);else{let p;try{p=await u.json()}catch{p={error:`HTTP ${u.status}: ${u.statusText}`}}console.warn("â ï¸ Failed to save to Supabase:",p)}}catch(o){const u=o?.message||String(o),p=o?.name||"UnknownError";console.warn("â ï¸ Failed to save to Supabase:",{error:"Failed to save user stats",details:`${p}: ${u}`,hint:u.includes("fetch")?"Network error - check if API route is deployed and accessible":null})}}function nue(e,t=null){const r=Math.min(Math.floor(e.active_days/3),e.active_days);return{totalActivity:e.total_activity,topLevelCasts:e.top_level_casts,repliesCount:e.replies_count,totalCasts:e.top_level_casts,castsIn2025:e.top_level_casts,averagePerDay:e.total_activity/Math.max(1,e.active_days),longestStreak:r,mostActiveMonth:"October",topCast:t,topChannels:[],gmCount:e.gm_count,clankClankCount:e.clank_clank_count,fuckCount:e.fuck_count,higherCount:e.higher_count,poidhCount:e.poidh_count,totalLikes:e.total_likes,totalRecasts:e.total_recasts,totalReplies:0,newFollowers2025:e.new_followers_2025,newFollowing2025:e.new_following_2025,baseTransactions:e.base_transactions,arbitrumTransactions:e.arbitrum_transactions,totalTransactions:e.total_transactions,fuck_count:e.fuck_count,higher_count:e.higher_count,poidh_count:e.poidh_count,clank_clank_count:e.clank_clank_count,gm_count:e.gm_count}}const W2=typeof window<"u"&&new URLSearchParams(window.location.search).get("ready")==="true";function aue(e){if(!e)return null;const t=`farcaster_wrapped_stats_${e}_2025`,r=localStorage.getItem(t);if(!r)return null;try{const n=JSON.parse(r);if(Date.now()-(n.timestamp||0)<3600*1e3){const i=n.stats;return i&&(i.totalActivity>0||i.topLevelCasts>0||i.activeDays>0)?n:(console.warn("â ï¸ Rejecting cached data - Dune stats are all zeros (likely timeout fallback)"),localStorage.removeItem(t),null)}}catch{}return null}function iue(e){const[t,r]=te.useState(null),[n,a]=te.useState(null),[i,c]=te.useState(null),[f,m]=te.useState(null),[h,l]=te.useState(null),[o,u]=te.useState(null),[p,g]=te.useState(null),[y,b]=te.useState(!0),[x,w]=te.useState(null),[E,j]=te.useState(!1),[T,F]=te.useState(0),[z,K]=te.useState(!1),U=V=>`farcaster_wrapped_stats_${V}_2025`,H=te.useCallback(()=>{e&&localStorage.removeItem(U(e)),F(V=>
18754V+1),K(!1),console.log("ð Cache cleared, triggering fresh data fetch...")},[e]);return te.useEffect(()=>{if(!(!e||z)&&W2){const V=aue(e);V&&(console.log("ð FID available - loading from cache instantly"),r(V.stats),a(V.neynarScore),c(V.quotientScore),m(V.quotientRank),l(V.coinLaunches),u(V.warplet),g(V.nftTier),b(!1),K(!0))}},[e,z]),te.useEffect(()=>{if(console.log("ð useUserStats called with FID:",e),!e){console.warn("â ï¸ No FID provided to useUserStats - skipping data fetch"),r(null),a(null),c(null),m(null),l(null),u(null),g(null),w(null),b(!1);return}if(z&&W2){console.log("â
Cache already loaded, skipping fetch");return}let V=!1;r(null),a(null),c(null),m(null),l(null),u(null),g(null),w(null);async function Z(){typeof window<"u"&&localStorage.getItem("stall_loading")==="true"&&(console.log("â³ Stalling loading for 30 seconds (test FID mode)..."),await new Promise(k=>setTimeout(k,3e4)),localStorage.removeItem("stall_loading"),console.log("â
Stall complete, starting data fetch..."));const _=U(e);if(W2&&!z){console.log("ð Coming from notification - checking cache...");const k=localStorage.getItem(_);if(k)try{const M=JSON.parse(k),B=Date.now()-(M.timestamp||0),C=M.stats,q=C&&(C.totalActivity>0||C.topLevelCasts>0||C.activeDays>0);if(B<3600*1e3&&q){console.log("â
Loading from cache INSTANTLY (age:",Math.round(B/1e3),"seconds)"),r(M.stats),a(M.neynarScore),c(M.quotientScore),m(M.quotientRank),l(M.coinLaunches),u(M.warplet),g(M.nftTier),b(!1),K(!0);return}else q?console.log("â° Cache expired, fetching fresh data..."):(console.warn("â ï¸ Rejecting cached zeros (Dune stats missing) - fetching fresh data..."),localStorage.removeItem(_))}catch{console.warn("â ï¸ Failed to parse cache, fetching fresh data...")}else console.log("ð No cache found, fetching fresh data...")}try{b(!0),w(null),console.log("ð Starting data fetch for FID:",e),console.log("ð Checking Supabase for cached stats...");const{data:k,isStale:M,found:B}=await tue(e);if(B&&!M&&k){console.log("â
Using fresh Supabase data (< 24h old)");const de=k.stats,Se=k.nftTier,Oe={timestamp:Date.now(),stats:de,neynarScore:k.neynarScore,quotientScore:k.quotientScore,quotientRank:k.quotientRank,coinLaunches:k.coinLaunches,warplet:k.warplet,nftTier:Se};localStorage.setItem(_,JSON.stringify(Oe)),V||(r(de),a(k.neynarScore),c(k.quotientScore),m(k.quotientRank),l(k.coinLaunches),u(k.warplet),g(Se),b(!1),console.log("â
Loaded from Supabase cache!"));return}console.log(B&&M?"â° Supabase data is stale (> 24h), fetching fresh data...":"ð No Supabase data found, fetching from APIs...");const C=(de,Se,Oe)=>Promise.race([de,new Promise(Be=>{setTimeout(()=>{console.warn(`â±ï¸ Request timed out after ${Se}ms, using fallback`),Be(Oe)},Se)})]),q=await Promise.allSettled([C(gte(e),9e5,{total_activity:0,top_level_casts:0,replies_count:0,active_days:0,gm_count:0,clank_clank_count:0,fuck_count:0,higher_count:0,poidh_count:0,total_likes:0,total_recasts:0,new_followers_2025:0,new_following_2025:0,base_transactions:0,arbitrum_transactions:0,total_transactions:0}),C(Lce(e),15e3,0),C(Bce(e),15e3,null),C(qce(e),12e4,{mostUsedEmoji:null,topWords:[]}),C(Hce(e),15e3,{quotientScore:null,quotientRank:null,coinLaunches:0,coinLaunchDetails:[]}),C(Gce(e),15e3,{count:0,tokens:[]}),C(Yce(e),15e3,null)]),W=q[0].status==="fulfilled"?q[0].value:{total_activity:0,top_level_casts:0,replies_count:0,active_days:0,gm_count:0,clank_clank_count:0,fuck_count:0,higher_count:0,poidh_count:0,total_likes:0,total_recasts:0,new_followers_2025:0,new_following_2025:0,base_transactions:0,arbitrum_transactions:0,total_transactions:0},I=q[1].status==="fulfilled"?q[1].value:0,S=q[2].status==="fulfilled"?q[2].value:null,O=q[3].status==="fulfilled"?q[3].value:{mostUsedEmoji:null,topWords:[]},Y=q[4].status==="fulfilled"?q[4].value:{quotientScore:null,quotientRank:null,coinLaunches:0,coinLaunchDetails:[]},Q=q[5].status==="fulfilled"?q[5].value:{count:0,tokens:[]},ne=q[6].status==="fulfilled"?q[6].value:null,oe=["Dune","Neynar Score","Top Cast","Text Analysis","Quotient","Clanker","Warplet"],ge=[];q.forEach((de,Se)=>{if(de.status==="rejected"){const Oe=`${oe[Se]} request failed: ${de.reason}`;console.warn(`â ï¸ ${Oe}`),ge.push(oe[Se])}else console.log(`â
${oe[Se]} returned:`,de.value)}),console.log("ð Dune stats for FID",e,":",W),console.log("ð Text counts:",{gm_count:W.gm_count,fuck_count:W.fu
18754ck_count,higher_count:W.higher_count,poidh_count:W.poidh_count,clank_clank_count:W.clank_clank_count});const we=W.total_activity===0&&W.top_level_casts===0&&W.active_days===0,Ue=we&&(I>0||Y.quotientScore!==null&&Y.quotientScore>0||S!==null);if((we&&I===0&&(Y.quotientScore===null||Y.quotientScore===0)&&S===null||Ue)&&!V){console.warn(Ue?`â ï¸â ï¸â ï¸ DUNE STATS MISSING for FID ${e} (but scores exist - Dune-specific failure)`:`â ï¸â ï¸â ï¸ ZERO STATS DETECTED for FID ${e}`),console.warn("ð Diagnostic info:",{fid:e,duneStats:W,failures:ge,quotientScore:Y.quotientScore,neynarScore:I,clankerTokens:Q.count,hasScoresButNoDuneData:Ue});let de;if(Ue){const Se=[];I>0&&Se.push("reputation scores"),S&&Se.push("top cast"),Y.quotientScore!==null&&Y.quotientScore>0&&Se.push("quotient score"),de=`Unable to load your activity stats from Dune Analytics right now. ${Se.length>0?`Your ${Se.join(" and ")} loaded successfully, but `:""}Activity data is temporarily unavailable. Please refresh the page or try again in a few minutes.`}else ge.length>0?de=`Unable to load your stats right now. Services unavailable: ${ge.join(", ")}. Please try again later.`:de="Unable to load your stats right now. The data services are temporarily unavailable. Please come back in a few minutes.";w(new Error(de)),b(!1);try{const{logEvent:Se}=await Ig(async()=>{const{logEvent:Oe}=await Promise.resolve().then(()=>eue);return{logEvent:Oe}},void 0);await Se({fid:e,username:void 0,timestamp:new Date().toISOString(),event:"session_start",data:{error:"zero_stats_detected",failures:ge.join(","),duneTotalActivity:W.total_activity,duneTopLevelCasts:W.top_level_casts,duneActiveDays:W.active_days,snapshotAvailable:"unknown"}}).catch(()=>{})}catch{}return}if(!V){console.log("ð Raw Dune response:",W),console.log("ð¯ Top cast data:",S),console.log("ðª Quotient data:",Y);const de=nue(W,S);de.quotientScore=Y.quotientScore,de.quotientRank=Y.quotientRank,de.coinLaunches=Q.count,de.clankerTokens=Q.tokens.map(Be=>({name:Be.name,symbol:Be.symbol,contract_address:Be.contract_address,created_at:Be.created_at})),de.mostUsedEmoji=O.mostUsedEmoji,de.topWords=O.topWords;const Se=$ce(de,I,Y.quotientScore||null,Q.count);if(de.nftTier=Se,g(Se),console.log(`ð NFT Tier calculated: ${Se.name} (${Se.tier}) - Score: ${Se.score}`),WV(e,Se.tier,Se.name).catch(Be=>{console.warn("â ï¸ Failed to log tier assignment:",Be)}),console.log("ð Converted stats:",de),console.log("ð Percentage check:",{totalActivity:de.totalActivity,gmCount:de.gmCount,gmPercentage:(de.gmCount/de.totalActivity*100).toFixed(1)+"%"}),de.totalActivity>0||de.topLevelCasts>0||de.activeDays>0){const Be={timestamp:Date.now(),stats:de,neynarScore:I,quotientScore:Y.quotientScore||null,quotientRank:Y.quotientRank||null,coinLaunches:Q.count,warplet:ne||null,nftTier:Se};localStorage.setItem(_,JSON.stringify(Be)),console.log("ð¾ Stats cached to localStorage"),rue(e,de,I,Y.quotientScore||null,Y.quotientRank||null,Q.count,ne||null,Se).catch(Pt=>console.warn("â ï¸ Supabase save failed:",Pt))}else console.warn("â ï¸ NOT caching - got fallback/zero values (likely timeout)"),localStorage.removeItem(_);r(de),a(I),c(Y.quotientScore||null),m(Y.quotientRank||null),l(Q.count),u(ne||null),g(Se),console.log("â
User stats loaded!")}}catch(k){V||(k instanceof Pz?(console.log("ð User has insufficient activity (< 100 casts in 2025)"),j(!0),w(null)):(console.error("â Error loading user stats:",k),w(k instanceof Error?k:new Error("Failed to load user stats"))))}finally{V||b(!1)}}return Z(),()=>{V=!0,b(!1)}},[e,T,z]),{stats:t,neynarScore:n,quotientScore:i,quotientRank:f,coinLaunches:h,warplet:o,nftTier:p,loading:y,error:x,insufficientActivity:E,clearCache:H}}function sue(){const e=Object.keys(localStorage).filter(t=>t.startsWith("farcaster_wrapped_"));return e.forEach(t=>{localStorage.removeItem(t),console.log(`ðï¸ Removed: ${t}`)}),console.log("â
Cache cleared! Refresh the page to fetch fresh data."),`Cleared ${e.length} cached items`}typeof window<"u"&&(window.clearWrappedCache=sue);const Pq=["from-purple-400 to-fuchsia-400","from-fuchsia-400 to-pink-400","from-cyan-400 to-blue-400","from-violet-400 to-purple-400","from-blue-400 to-cyan-400","from-pink-400 to-rose-400","from-emerald-400 to-teal-400","from-orange-400 to-red-400"];function oue(e){if(e.length===0)return"Mysterious Energy";const t=e[0].word;return{gm:"Morning Energy",building:"Builder Energy",web3:"Web3 Energy",crypto:"Crypto Energy",defi:"DeFi Energy",nft:"NFT Energy",nfts:"NFT Energy",community:"Community Energy",farcaster:"Farcaster Energy",base:"Base Energy",ethereum:"Ethereum Energy",launch:"Launcher Energy",clank:"Clanker Energy"}[t]||`${t.charAt(0).toUpperCase()+t.slice(1)} Energy`}function cue(e){if(!e)return null;const t=e.topLevelCasts||0,r=e.repliesCount||0,n=e.totalActivity||1,a=Math.round(t/n*100),i=Math.round(r/n*100),c=e.topWords||[],f=2.399963229728653,m=typeof window<"u"&&window.innerWidth<768,l=(m?60:70)+15,o=m?8:10,u=m?150:180,p=c.slice(0,20).map((w,E)=>{const j=E*f,T=l+E*o,F=Math.min(T,u),z=Math.cos(j)*F,K=Math.sin(j)*F-20;return{name:w.word,size:100+(20-E)*3,color:Pq[E%Pq.length],count:w.count,x:z,y:K}}),g=oue(c),y=e.gmCount||0,b=n>0?y/n*100:0,x={averagePerDay:e.averagePerDay||0,longestStreak:e.longestStreak||0,fuckCount:e.fuck_count||0,higherCount:e.higher_count||0,poidhCount:e.poidh_count||0,clankClankCount:e.clankClankCount||0};return{castsBreakdown:{topLevelPercentage:a,repliesPercentage:i,topLevelCasts:t,repliesCount:r,totalActivity:n},wordCloud:{displayWords:p,vibeName:g},gmPercentage:{percentage:b,formatted:`${b.toFixed(1)}%`},computed:x}}const JV=te.createContext({stats:null,neynarScore:null,quotientScore:null,quotientRank:null,coinLaunches:null,warplet:null,nftTier:null,loading:!0,error:null,insufficientActivity:!1,prepared:!1,preparedData:null,clearCachedData:()=>{}});function uue({children:e}){const{user:t}
18754=Zl(),{stats:r,neynarScore:n,quotientScore:a,quotientRank:i,coinLaunches:c,warplet:f,nftTier:m,loading:h,error:l,insufficientActivity:o,clearCache:u}=iue(t?.fid),p=te.useMemo(()=>{if(h||!r)return null;console.log("ð§ Preparing slide data...");const b=cue(r);return console.log("â
Slide data prepared"),b},[r,h]),g=te.useMemo(()=>!h&&r!==null&&p!==null,[h,r,p]),y=te.useCallback(()=>{if(t?.fid){const b=`farcaster_wrapped_${t.fid}_2025`;localStorage.removeItem(b),u(),console.log("ðï¸ Cache cleared. Data will be refetched.")}},[t?.fid,u]);return A.jsx(JV.Provider,{value:{stats:r,neynarScore:n,quotientScore:a,quotientRank:i,coinLaunches:c,warplet:f,nftTier:m,loading:h,error:l,insufficientActivity:o,prepared:g,preparedData:p,clearCachedData:y},children:e})}function rn(){const e=te.useContext(JV);if(e===void 0)throw new Error("useUserStatsContext must be used within a UserStatsProvider");return e}function lue(){const{user:e,isSDKLoaded:t}=Zl(),{warplet:r}=rn(),n=e?.displayName||e?.username||"Loading...",a=e?.username?`@${e.username}`:"@...";return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-8 text-center",children:[A.jsxs("div",{className:"relative flex items-center justify-center gap-6",children:[A.jsxs(ue.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:100,damping:15,delay:.2},className:"relative",children:[e?.pfpUrl?A.jsx("div",{className:"w-32 h-32 rounded-full bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 p-1 shadow-2xl shadow-purple-500/50",children:A.jsx("img",{src:e.pfpUrl,alt:n,className:"w-full h-full rounded-full object-cover",onError:i=>{i.target.style.display="none";const c=i.target.parentElement;c&&(c.innerHTML='<div class="w-full h-full rounded-full bg-black flex items-center justify-center"><span class="text-6xl">ð</span></div>')}})}):A.jsx("div",{className:"w-32 h-32 rounded-full bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 p-1 shadow-2xl shadow-purple-500/50",children:A.jsx("div",{className:"w-full h-full rounded-full bg-black flex items-center justify-center",children:A.jsx("span",{className:"text-6xl",children:"ð"})})}),A.jsx(ue.div,{className:"absolute inset-0 rounded-full bg-gradient-to-br from-purple-500 to-cyan-500 blur-2xl opacity-50",animate:{scale:[1,1.2,1],opacity:[.5,.3,.5]},transition:{duration:2,repeat:1/0}})]}),r&&r.imageUrl&&A.jsxs(ue.div,{initial:{scale:0,rotate:180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:100,damping:15,delay:.4},className:"relative",children:[A.jsx("div",{className:"w-32 h-32 rounded-full bg-gradient-to-br from-emerald-500 via-teal-500 to-cyan-500 p-1 shadow-xl",children:A.jsx("img",{src:r.imageUrl,alt:r.name,className:"w-full h-full rounded-full object-cover",onError:i=>{i.target.style.display="none"}})}),A.jsx(ue.div,{className:"absolute inset-0 rounded-full bg-gradient-to-br from-emerald-500 to-cyan-500 blur-2xl opacity-40",animate:{scale:[1,1.2,1],opacity:[.4,.2,.4]},transition:{duration:2,repeat:1/0}})]})]}),A.jsxs("div",{className:"space-y-4",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},children:A.jsxs("h1",{className:"text-white text-5xl tracking-tight",children:["Your 2025",A.jsx("br",{}),A.jsx("span",{className:"bg-gradient-to-r from-purple-400 via-fuchsia-400 to-cyan-400 bg-clip-text text-transparent",children:"Farcaster Wrapped"})]})}),A.jsx(ue.p,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.6},className:"text-white/60 text-lg max-w-xs mx-auto",children:"A year of casts, connections, and community"})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8},className:"relative mt-4",children:[A.jsx("div",{className:"px-8 py-4 rounded-full bg-white/5 backdrop-blur-xl border border-white/10 shadow-2xl",children:A.jsx("p",{className:"text-white/80 tracking-wide",children:a})}),A.jsx("div",{className:"absolute inset-0 rounded-full bg-gradient-to-r from-purple-500/20 to-cyan-500/20 blur-xl"})]})]})}function due(){const{stats:e,loading:t}=rn(),r=e?.totalActivity||0,n=e?.averagePerDay||0,a=e?.longestStreak||0,i=c=>c.toLocaleString();return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-12 w-full max-w-md mx-auto px-4",children:[A.jsx(ue.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your 2025 Activity"})}),A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:150,damping:12,delay:.3},className:"relative",children:[A.jsx(ue.div,{animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},className:"absolute -inset-8 rounded-full bg-gradient-to-r from-purple-500 via-fuchsia-500 to-cyan-500 opacity-20 blur-2xl"}),A.jsxs("div",{className:"relative text-center",children:[A.jsx(ue.h2,{className:"text-white text-8xl tracking-tighter",initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.5},children:t?"...":i(r)}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.7},className:"text-transparent bg-gradient-to-r from-purple-400 via-fuchsia-400 to-cyan-400 bg-clip-text text-2xl tracking-wide mt-2",children:"Casts & Replies"})]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},className:"flex gap-6",children:[A.jsxs("div",{className:"px-6 py-4 rounded-3xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider mb-1",children:"Avg per day"}),A.jsx("p",{className:"text-white text-2xl",children:t?"...":n.toFixed(1)})]}),A.jsxs("div",{className:"px-6 py-4 rounded-3xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider mb-1",children:"Longest streak"}),A.jsx("p",{className:"text-white text-2xl",children:t?"...":`${a} days`})]})]}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.1},className:"text-white/40 text-center max-w-xs",children:t?"Calculating your stats...":`You casted ${i(r)} times in 2025`})]})}function fue(){const{stats:e,preparedData:t}=rn();if(!e||!t)return A.jsx("div",{className:"text-center text-white/60",children:A.jsx("p",{children:"Loading breakdown..."})});const{topLevelCasts:r,repliesCount:n,topLevelPercentage:a,repliesPercentage:i}=t.castsBreakdown;return A.jsxs("div",{className:"flex flex-col items-center justify-center text-center space-y-6 max-w-md w-full mx-auto px-4",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"space-y-2",children:[A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Breaking it down"}),A.jsx("h2",{className:"text-white text-6xl font-bold tracking-tight",children:"Your Activity"})]}),A.jsxs("div",{className:"space-y-4 mt-8",children:[A.jsx(ue.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"bg-white/5 backdrop-blur-sm rounded-2xl p-6 border border-white/10",children:A.jsxs("div",{className:"flex items-center justify-between",children:[A.jsxs("div",{className:"flex items-center gap-3",children:[A.jsx("div",{className:"p-3 bg-purple-500/20 rounded-xl",children:A.jsx(pZ,{className:"w-6 h-6 text-purple-400"})}),A.jsxs("div",{className:"text-left",children:[A.jsx("p",{className:"text-white/60 text-sm",children:"Original Casts"}),A.jsx("p",{className:"text-white text-2xl font-bold",children:r.toLocaleString()})]})]}),A.jsx("div",{className:"text-right",children:A.jsxs("p",{className:"text-purple-400 text-xl font-semibold",children:[a,"%"]})})]})}),A.jsx(ue.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.8,delay:.4},className:"bg-white/5 backdrop-blur-sm rounded-2xl p-6 border border-white/10",children:A.jsxs("div",{className:"flex items-center justify-between",children:[A.jsxs("div",{className:"flex items-center gap-3",children:[A.jsx("div",{className:"p-3 bg-cyan-500/20 rounded-xl",children:A.jsx(jZ,{className:"w-6 h-6 text-cyan-400"})}),A.jsxs("div",{className:"text-left",children:[A.jsx("p",{className:"text-white/60 text-sm",children:"Replies"}),A.jsx("p",{className:"text-white text-2xl font-bold",children:n.toLocaleString()})]})]}),A.jsx("div",{className:"text-right",children:A.jsxs("p",{className:"text-cyan-400 text-xl font-semibold",children:[i,"%"]})})]})})]}),A.jsx(ue.div,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{duration:.8,delay:.6},className:"mt-6",children:A.jsx("p",{className:"text-white/40 text-sm italic",children:n>r?"You're a conversation starter! ð¬":"You love creating original content! â¨"})})]})}function hue(){const{stats:e}=rn(),t=e?.mostActiveMonth||"October",r=e?.totalActivity||0,n=Math.round(r*.15),a=["January","February","March","April","May","June","July","August","September","October","November","December"],i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=f=>f===t?100:20;return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-10 px-6 w-full max-w-2xl mx-auto h-full",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-4",children:[A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your most active month"}),A.jsx("h2",{className:"text-white text-7xl font-bold tracking-tight",children:t}),A.jsxs("p",{className:"text-transparent bg-gradient-to-r from-purple-400 to-cyan-400 bg-clip-text text-2xl",children:["~",n.toLocaleString()," casts"]})]}),A.jsx(ue.div,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.4},className:"w-full max-w-lg",children:A.jsx("div",{className:"flex items-end justify-between h-48 gap-2 px-4",children:a.map((f,m)=>{const h=f===t,l=c(f),o=i[m];return A.jsxs("div",{className:"flex-1 flex flex-col items-center gap-2",children:[A.jsxs(ue.div,{className:`w-full rounded-t-xl relative overflow-hidden ${h?"shadow-lg":""}`,style:{height:`${l}%`},initial:{height:0},animate:{height:`${l}%`},transition:{delay:.5+m*.05,type:"spring",stiffness:150,damping:20},children:[A.jsx("div",{className:`absolute inset-0 ${h?"bg-gradient-to-t from-purple-500 via-fuchsia-500 to-cyan-400":"bg-white/10"}`}),h&&A.jsx(ue.div,{className:"absolute inset-0 bg-white/20",animate:{opacity:[.2,.5,.2]},transition:{duration:2,repeat:1/0}})]}),A.jsx(ue.span,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.7+m*.05},className:`text-xs font-medium ${h?"text-white":"text-white/30"}`,children:o})]},f)})})}),A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2},className:"text-white/40 text-sm text-center max-w-xs",children:"You were on fire this month"})]})}function pue(){const{stats:e,loading:t}=rn(),{user:r}=Zl(),n=e?.topCast,a=r?.username||"user";return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 sm:gap-6 px-4 py-4 w-full h-full max-w-2xl mx-auto",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your top cast of 2025"})}),A.jsxs(ue.div,{initial:{opacity:0,scale:.9,rotateX:20},animate:{opacity:1,scale:1,rotateX:0},transition:{delay:.3,type:"spring",stiffness:100},className:"relative w-full max-w-md",children:[A.jsx(ue.div,{className:"absolute -inset-4 rounded-3xl bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 opacity-30 blur-2xl",animate:{scale:[1,1.05,1],opacity:[.3,.5,.3]},transition:{duration:3,repeat:1/0}}),A.jsxs("div",{className:"relative p-4 sm:p-5 rounded-3xl bg-white/10 backdrop-blur-2xl border border-white/20 shadow-2xl max-h-[55vh] sm:max-h-[60vh] overflow-y-auto scrollbar-hide",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:[A.jsxs("div",{className:"flex items-start gap-3 sm:gap-4 mb-3 sm:mb-4",children:[r?.pfpUrl?A.jsx("img",{src:r.pfpUrl,alt:a,className:"w-10 h-10 sm:w-12 sm:h-12 rounded-full object-cover flex-shrink-0"}):A.jsx("div",{className:"w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-gradient-to-br from-purple-500 to-cyan-500 flex-shrink-0"}),A.jsxs("div",{className:"flex-1 min-w-0",children:[A.jsxs("p",{className:"text-white text-sm sm:text-base",children:["@",a]}),A.jsx("p",{className:"text-white/40 text-xs sm:text-sm",children:n?.timestamp?new Date(n.timestamp).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):"Loading..."})]})]}),A.jsx("p",{className:"text-white text-sm sm:text-base leading-relaxed mb-3 sm:mb-4",children:t?"Loading your top cast...":n?.text||"No casts found in 2025"}),n?.imageUrl&&A.jsx(ue.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{delay:.5},className:"mb-4 rounded-2xl overflow-hidden",children:A.jsx("img",{src:n.imageUrl,alt:"Cast attachment",className:"w-full max-h-48 sm:max-h-56 object-cover rounded-2xl",onError:i=>{i.currentTarget.style.display="none"}})}),A.jsxs("div",{className:"flex items-center gap-6",children:[A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx(cZ,{className:"w-5 h-5 text-pink-400 fill-pink-400"}),A.jsx("span",{className:"text-white",children:n?.likes?n.likes>=1e3?`${(n.likes/1e3).toFixed(1)}K`:n.likes:"0"})]}),A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx(xZ,{className:"w-5 h-5 text-green-400"}),A.jsx("span",{className:"text-white",children:n?.recasts?n.recasts>=1e3?`${(n.recasts/1e3).toFixed(1)}K`:n.recasts:"0"})]}),A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx(UL,{className:"w-5 h-5 text-blue-400"}),A.jsx("span",{className:"text-white",children:n?.replies?n.replies>=1e3?`${(n.replies/1e3).toFixed(1)}K`:n.replies:"0"})]})]})]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20}
18754,animate:{opacity:1,y:0},transition:{delay:.7},className:"flex gap-4",children:[A.jsxs("div",{className:"px-6 py-3 rounded-2xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsx("p",{className:"text-transparent bg-gradient-to-r from-pink-400 to-rose-400 bg-clip-text text-2xl text-center",children:n?n.likes+n.recasts+n.replies>=1e3?`${((n.likes+n.recasts+n.replies)/1e3).toFixed(1)}K`:n.likes+n.recasts+n.replies:"0"}),A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider text-center mt-1",children:"Total engagement"})]}),A.jsxs("div",{className:"px-6 py-3 rounded-2xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsx("p",{className:"text-transparent bg-gradient-to-r from-purple-400 to-cyan-400 bg-clip-text text-2xl text-center",children:t?"...":"â¨"}),A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider text-center mt-1",children:"Your best"})]})]})]})}function mue(){const{stats:e}=rn(),t=e?.new_followers_2025||e?.newFollowers2025||0,r=e?.new_following_2025||e?.newFollowing2025||0,a=(()=>{if(!e)return 50;const c=(e.totalLikes||0)+(e.totalRecasts||0)+(e.totalReplies||0),f=e.totalActivity||1,m=c/f,h=Math.min(m/2,40),l=Math.min(t/1e4*30,30),o=Math.min(f/2e4*20,20),p=(e.repliesCount&&e.topLevelCasts?e.repliesCount/(e.topLevelCasts+e.repliesCount):0)*10,g=h+l+o+p;return Math.max(20,Math.min(100,Math.round(g)))})(),i=c=>c>=85?"You're highly engaged with your network":c>=70?"Strong connections across the community":c>=55?"Building meaningful relationships":c>=40?"Growing your network steadily":"Starting your Farcaster journey";return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 w-full max-w-md mx-auto px-4",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your community grew"})}),A.jsxs("div",{className:"grid grid-cols-2 gap-6 w-full max-w-sm px-6",children:[A.jsxs(ue.div,{initial:{opacity:0,x:-30,rotateY:-20},animate:{opacity:1,x:0,rotateY:0},transition:{delay:.3,type:"spring",stiffness:100},className:"relative",children:[A.jsx("div",{className:"absolute -inset-2 bg-gradient-to-br from-purple-500/30 to-fuchsia-500/30 rounded-3xl blur-xl"}),A.jsxs("div",{className:"relative p-6 rounded-3xl bg-white/10 backdrop-blur-2xl border border-white/20 text-center space-y-3",children:[A.jsx(ue.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1/0,delay:.5},className:"inline-flex items-center justify-center w-14 h-14 rounded-full bg-gradient-to-br from-purple-500 to-fuchsia-500",children:A.jsx(Av,{className:"w-7 h-7 text-white"})}),A.jsxs("div",{children:[A.jsx("p",{className:"text-white text-4xl",children:t.toLocaleString()}),A.jsx("p",{className:"text-white/60 text-sm uppercase tracking-wider mt-1",children:"New Followers in 2025"})]}),A.jsxs("div",{className:"flex items-center justify-center gap-1 text-green-400",children:[A.jsx("span",{className:"text-lg",children:"â"}),A.jsx("span",{className:"text-sm",children:"Growth!"})]})]})]}),A.jsxs(ue.div,{initial:{opacity:0,x:30,rotateY:20},animate:{opacity:1,x:0,rotateY:0},transition:{delay:.4,type:"spring",stiffness:100},className:"relative",children:[A.jsx("div",{className:"absolute -inset-2 bg-gradient-to-br from-cyan-500/30 to-blue-500/30 rounded-3xl blur-xl"}),A.jsxs("div",{className:"relative p-6 rounded-3xl bg-white/10 backdrop-blur-2xl border border-white/20 text-center space-y-3",children:[A.jsx(ue.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1/0,delay:.7},className:"inline-flex items-center justify-center w-14 h-14 rounded-full bg-gradient-to-br from-cyan-500 to-blue-500",children:A.jsx(DL,{className:"w-7 h-7 text-white"})}),A.jsxs("div",{children:[A.jsx("p",{className:"text-white text-4xl",children:r.toLocaleString()}),A.jsx("p",{className:"text-white/60 text-sm uppercase tracking-wider mt-1",children:"New Following in 2025"})]}),A.jsxs("div",{className:"flex items-center justify-center gap-1 text-cyan-400",children:[A.jsx("span",{className:"text-lg",children:"â"}),A.jsx("span",{className:"text-sm",children:"Expanded!"})]})]})]})]}),A.jsx(ue.div,{initial:{opacity:0,y:20}
18754,animate:{opacity:1,y:0},transition:{delay:.8},className:"w-full max-w-sm px-6",children:A.jsxs("div",{className:"p-6 rounded-3xl bg-white/5 backdrop-blur-xl border border-white/10 text-center space-y-4",children:[A.jsx("p",{className:"text-white/60 text-sm uppercase tracking-wider",children:"Connection strength"}),A.jsxs("div",{className:"relative h-3 bg-white/10 rounded-full overflow-hidden",children:[A.jsx(ue.div,{className:"absolute inset-y-0 left-0 bg-gradient-to-r from-purple-500 via-fuchsia-500 to-cyan-500 rounded-full",initial:{width:0},animate:{width:`${a}%`},transition:{delay:1,duration:1.5,ease:"easeOut"}}),A.jsx(ue.div,{className:"absolute inset-y-0 left-0 bg-white/30 rounded-full",initial:{width:0},animate:{width:`${a}%`},transition:{delay:1,duration:1.5,ease:"easeOut"},children:A.jsx(ue.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/60 to-transparent",animate:{x:["-100%","200%"]},transition:{duration:1.5,repeat:1/0,delay:2.5}})})]}),A.jsxs("p",{className:"text-white text-2xl",children:[a,"%"]}),A.jsx("p",{className:"text-white/40 text-sm",children:i(a)})]})})]})}function gue(){const{stats:e}=rn(),t=e?.gm_count||e?.gmCount||0;return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-10 w-full max-w-md mx-auto px-4",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"You spread positivity with"})}),A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:150,damping:12,delay:.3},className:"relative",children:[A.jsx(ue.div,{animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},className:"absolute -inset-8 rounded-full bg-gradient-to-r from-yellow-500 via-orange-500 to-pink-500 opacity-20 blur-2xl"}),A.jsxs(ue.div,{animate:{rotate:[0,10,-10,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"relative mb-6",children:[A.jsx("div",{className:"w-32 h-32 rounded-full bg-gradient-to-br from-yellow-400 via-orange-400 to-pink-500 flex items-center justify-center shadow-2xl",children:A.jsx(BZ,{className:"w-16 h-16 text-white"})}),A.jsx(ue.div,{className:"absolute inset-0 rounded-full bg-yellow-400 blur-2xl opacity-50",animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0}})]}),A.jsxs("div",{className:"relative text-center",children:[A.jsx(ue.h2,{className:"text-white text-8xl tracking-tighter",initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.5},children:t.toLocaleString()}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.7},className:"text-transparent bg-gradient-to-r from-yellow-400 via-orange-400 to-pink-500 bg-clip-text text-3xl tracking-wide mt-2",children:"GM's"})]})]}),A.jsx(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:1.1},className:"px-8 py-4 rounded-3xl bg-gradient-to-r from-yellow-500/10 via-orange-500/10 to-pink-500/10 backdrop-blur-xl border border-white/10",children:A.jsx("p",{className:"text-white/80 text-center",children:"âï¸ You're a sunshine spreader!"})}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.3},className:"text-white/40 text-center max-w-xs",children:t>0&&e?.totalActivity?`That's ${(t/(e.totalActivity||1)*100).toFixed(1)}% of your activity!`:"Spreading positivity across Farcaster"})]})}function yue(){const[e,t]=te.useState(!1);return te.useEffect(()=>{const r=()=>{const n=window.innerWidth<768,a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),i=window.parent!==window;t(n||a||i)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),e}function Cy(){const e=yue();return{particleCount:e?3:8,confettiCount:e?8:20,spring:e?{type:"spring",stiffness:150,damping:20}:{type:"spring",stiffness:200,damping:15},duration:e?.4:.5,showDecorations:!e,blurClass:e?"backdrop-blur-md":"backdrop-blur-xl"}}function bue(){const{stats:e}=rn(),t=Cy();if(!e)return A.jsx("div",{className:"text-center text-white/60",children:A.jsx("p",{children:"Loading..."})});const r=e.fuck_count||0,n=()=>r===0?"You kept it clean! ð":r<10?"Pretty tame tbh":r<50?"Getting spicy ð¶ï¸":r<100?"Sailor mouth energy â":r<200?"Absolutely unhinged ð¥":"HOLY FUCK ð";return A.jsxs("div",{className:"relative flex flex-col items-center justify-center text-center space-y-6 max-w-md mx-auto w-full px-4",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"space-y-2",children:[A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your Spicy Level ð¶ï¸"}),A.jsx("h2",{className:"text-white text-5xl font-bold tracking-tight",children:"The Fuck Counter"})]}),A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:200,damping:15,delay:.2},className:"relative",children:[A.jsx(ue.div,{animate:{rotate:[0,5,-5,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute -inset-12 rounded-full bg-gradient-to-r from-red-500 via-orange-500 to-yellow-500 opacity-30 blur-3xl"}),A.jsxs("div",{className:"relative bg-white/5 backdrop-blur-xl rounded-3xl p-12 border border-white/10",children:[A.jsxs(ue.div,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.4},className:"flex items-center justify-center gap-4",children:[A.jsx(EO,{className:"w-12 h-12 text-orange-500"}),A.jsx(ue.h3,{className:"text-white text-8xl font-black tracking-tighter",initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{type:"spring",delay:.5,duration:.8},children:r.toLocaleString()}),A.jsx(EO,{className:"w-12 h-12 text-orange-500"})]}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.7},className:"text-transparent bg-gradient-to-r from-orange-400 via-red-400 to-pink-400 bg-clip-text text-xl font-semibold mt-4",children:'times you said "fuck"'})]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},className:"space-y-2",children:[A.jsx("p",{className:"text-white text-2xl font-medium",children:n()}),r>0&&A.jsxs("p",{className:"text-white/40 text-sm",children:["That's ",(r/(e.totalActivity||1)*100).toFixed(1),"% of your activity"]})]}),A.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:[...Array(t.particleCount)].map((a,i)=>A.jsx(ue.div,{className:"absolute text-4xl will-change-transform",style:{left:`${10+Math.random()*80}%`,top:`${10+Math.random()*80}%`},animate:{y:[0,-30,0],opacity:[0,.6,0],rotate:[0,360]},transition:{duration:3+Math.random()*2,repeat:1/0,delay:Math.random()*2,ease:"easeInOut"},children:"ð"},i))})]})}function vue(){const{stats:e}=rn(),t=Cy();if(!e)return A.jsx("div",{className:"text-center text-white/60",children:A.jsx("p",{children:"Loading..."})});const r=e.higher_count||0,n=()=>r===0?"Not a believer yet?":r<10?"Casual $HIGHER enjoyer":r<50?"True believer ð":r<100?"$HIGHER maxi energy":r<200?"HIGHER cult member â¬ï¸":"HIGHER PROPHET ð";return A.jsxs("div",{className:"flex flex-col items-center justify-center text-center space-y-8 max-w-md mx-auto w-full min-h-[calc(100vh-220px)] px-4",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"space-y-2",children:[A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"To The Moon ð"}),A.jsx("h2",{className:"text-white text-5xl font-bold tracking-tight",children:"HIGHER Counter"})]}),A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:200,damping:15,delay:.2},className:"relative",children:[A.jsx(ue.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute -inset-12 rounded-full bg-gradient-to-r from-green-500 via-emerald-500 to-teal-500 opacity-30 blur-3xl"}),A.jsxs("div",{className:"relative bg-white/5 backdrop-blur-xl rounded-3xl p-12 border border-white/10",children:[A.jsxs(ue.div,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.4},className:"flex items-center justify-center gap-4",children:[A.jsx(_O,{className:"w-12 h-12 text-green-400"}),A.jsx(ue.h3,{className:"text-white text-8xl font-black tracking-tighter",initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{type:"spring",delay:.5,duration:.8},children:r.toLocaleString()}),A.jsx(LL,{className:"w-12 h-12 text-green-400"})]}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.7},className:"text-transparent bg-gradient-to-r from-green-400 via-emerald-400 to-teal-400 bg-clip-text text-xl font-semibold mt-4",children:'times you said "HIGHER"'})]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},className:"space-y-2",children:[A.jsx("p",{className:"text-white text-2xl font-medium",children:n()}),r>0&&A.jsxs("p",{className:"text-white/40 text-sm",children:["That's ",(r/(e.totalActivity||1)*100).toFixed(1),"% of your activity"]})]}),A.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:[...Array(t.particleCount)].map((a,i)=>A.jsx(ue.div,{className:"absolute will-change-transform",style:{left:`${10+Math.random()*80}%`,top:"100%"},animate:{y:[0,-600],opacity:[0,1,0]},transition:{duration:3+Math.random(),repeat:1/0,delay:Math.random()*3,ease:"linear"},children:A.jsx(_O,{className:"w-6 h-6 text-green-400/30"})},i))})]})}function wue(){const{stats:e}=rn(),t=Cy();if(!e)return A.jsx("div",{className:"text-center text-white/60",children:A.jsx("p",{children:"Loading..."})});const r=e.poidh_count||0,n=()=>r===0?"No receipts needed?":r<5?"Casual proof seeker":r<20?"Trust but verify ð¸":r<50?"Receipt collector":r<100?"Proof enthusiast ð§¾":"POIDH CHAMPION ð·";return A.jsxs("div",{className:"flex flex-col items-center justify-center text-center space-y-8 max-w-md mx-auto w-full min-h-[70vh]",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"space-y-2",children:[A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Receipts Required ð§¾"}),A.jsx("h2",{className:"text-white text-5xl font-bold tracking-tight",children:"POIDH Counter"})]}),A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:200,damping:15,delay:.2},className:"relative",children:[A.jsx(ue.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute -inset-12 rounded-full bg-gradient-to-r from-amber-500 via-orange-500 to-yellow-500 opacity-30 blur-3xl"}),A.jsxs("div",{className:"relative bg-white/5 backdrop-blur-xl rounded-3xl p-12 border border-white/10",children:[A.jsxs(ue.div,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.4},className:"flex items-center justify-center gap-4",children:[A.jsx(xO,{className:"w-12 h-12 text-amber-400"}),A.jsx(ue.h3,{className:"text-white text-8xl font-black tracking-tighter",initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{type:"spring",delay:.5,duration:.8},children:r.toLocaleString()}),A.jsx(FL,{className:"w-12 h-12 text-amber-400"})]}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.7},className:"text-transparent bg-gradient-to-r from-amber-400 via-orange-400 to-yellow-400 bg-clip-text text-xl font-semibold mt-4",children:'times you said "POIDH"'})]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},className:"space-y-2",children:[A.jsx("p",{className:"text-white text-2xl font-medium",children:n()}),r>0&&A.jsxs("p",{className:"text-white/40 text-sm",children:["That's ",(r/(e.totalActivity||1)*100).toFixed(1),"% of your activity"]})]}),A.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:[...Array(t.particleCount)].map((a,i)=>A.jsx(ue.div,{className:"absolute will-change-transform",style:{left:`${10+Math.random()*80}%`,top:`${10+Math.random()*80}%`},animate:{y:[0,-30,0],x:[0,Math.random()*20-10,0],rotate:[0,10,-10,0],opacity:[.2,.5,.2]},transition:{duration:3+Math.random()*2,repeat:1/0,delay:Math.random()*2,ease:"easeInOut"},children:A.jsx(xO,{className:"w-6 h-6 text-amber-400/30"})},i))})]})}function _ue(){const{stats:e}=rn(),t=e?.clank_clank_count||e?.clankClankCount||0;return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-10",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:'You said "clank clank"'})}),A.jsxs("div",{className:"relative w-64 h-64 flex items-center justify-center",children:[A.jsx(ue.div,{className:"absolute -inset-8 rounded-full bg-gradient-to-br from-gray-400 via-slate-300 to-zinc-400 opacity-20 blur-3xl",animate:{scale:[1,1.3,1],opacity:[.2,.4,.2]},transition:{duration:2,repeat:1/0}}),A.jsx(ue.div,{className:"absolute left-8",animate:{rotate:[-20,20,-20],x:[0,10,0]},transition:{duration:.6,repeat:1/0,ease:"easeInOut"},children:A.jsx("div",{className:"w-20 h-20 rounded-2xl bg-gradient-to-br from-slate-400 to-zinc-500 flex items-center justify-center shadow-2xl",children:A.jsx(jO,{className:"w-10 h-10 text-white"})})}),A.jsx(ue.div,{className:"absolute right-8",animate:{rotate:[20,-20,20],x:[0,-10,0]},transition:{duration:.6,repeat:1/0,ease:"easeInOut",delay:.3},children:A.jsx("div",{className:"w-20 h-20 rounded-2xl bg-gradient-to-br from-zinc-400 to-gray-500 flex items-center justify-center shadow-2xl",children:A.jsx(jO,{className:"w-10 h-10 text-white transform -scale-x-100"})})}),A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:150,damping:12,delay:.4},className:"relative z-10 text-center",children:[A.jsx(ue.h2,{className:"text-white text-7xl tracking-tighter mb-2",animate:{scale:[1,1.05,1]},transition:{duration:.6,repeat:1/0,ease:"easeInOut"},children:t}),A.jsx(ue.p,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.7},className:"text-transparent bg-gradient-to-r from-slate-300 via-zinc-200 to-gray-300 bg-clip-text text-2xl tracking-wide",children:"times"})]})]}),A.jsx(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.9},className:"relative",children:A.jsxs("div",{className:"flex items-end gap-2 px-8 py-6 rounded-3xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsx("p",{className:"text-white text-5xl mr-2",children:"ð¨"}),A.jsx(ue.div,{animate:{scaleY:[1,1.5,1]},transition:{duration:.5,repeat:1/0,delay:0},className:"w-2 h-8 bg-gradient-to-t from-slate-500 to-zinc-300 rounded-full"}),A.jsx(ue.div,{animate:{scaleY:[1,2,1]},transition:{duration:.5,repeat:1/0,delay:.1},className:"w-2 h-8 bg-gradient-to-t from-slate-500 to-zinc-300 rounded-full"}),A.jsx(ue.div,{animate:{scaleY:[1,1.5,1]},transition:{duration:.5,repeat:1/0,delay:.2},className:"w-2 h-8 bg-gradient-to-t from-slate-500 to-zinc-300 rounded-full"}),A.jsx("p",{className:"text-white text-5xl ml-2",children:"ð¨"})]})}),A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.1},className:"text-center space-y-3",children:A.jsxs("p",{className:"text-white/40 max-w-xs",children:["You typed these magical words ",t," times"]})})]})}function QV(){const{stats:e}=rn(),t=e?.coinLaunches||0,r=e?.clankerTokens||[];return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 px-6 pb-16 max-w-2xl mx-auto w-full",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"You launched"})}),A.jsxs(ue.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:120,damping:15,delay:.3},className:"relative",children:[A.jsx(ue.div,{className:"absolute -inset-12 rounded-full bg-gradient-to-br from-emerald-500 via-teal-500 to-cyan-500 opacity-30 blur-3xl",animate:{scale:[1,1.2,1],rotate:[0,180,360]},transition:{duration:10,repeat:1/0}}),A.jsx("div",{className:"relative",children:A.jsx(ue.div,{animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},className:"w-40 h-40 rounded-full bg-gradient-to-br from-emerald-400 via-teal-400 to-cyan-400 flex items-center justify-center shadow-2xl",children:A.jsxs("div",{className:"w-36 h-36 rounded-full bg-gradient-to-br from-emerald-900/80 to-cyan-900/80 backdrop-blur-xl flex flex-col items-center justify-center",children:[A.jsx(EA,{className:"w-12 h-12 text-white mb-2"}),A.jsx("p",{className:"text-white text-5xl",children:t})]})})})]}),A.jsx(ue.p,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.6},className:"text-transparent bg-gradient-to-r from-emerald-400 via-teal-400 to-cyan-400 bg-clip-text text-3xl tracking-wide",children:"Tokens with Clanker"}),t>0&&r.length>0?A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8},className:"w-full space-y-3 mt-4",children:A.jsx("div",{className:"grid grid-cols-1 gap-2 max-h-64 overflow-y-auto",children:r.map((n,a)=>A.jsx(ue.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.9+a*.1},className:"px-4 py-3 rounded-xl bg-white/5 backdrop-blur-md border border-white/10 hover:bg-white/10 transition-colors",children:A.jsxs("div",{className:"flex items-center justify-between",children:[A.jsxs("div",{className:"flex-1 min-w-0",children:[A.jsx("p",{className:"text-white font-semibold text-lg truncate",children:n.name}),A.jsx("p",{className:"text-white/60 text-sm",children:n.symbol})]}),A.jsx(EA,{className:"w-5 h-5 text-emerald-400 flex-shrink-0 ml-2"})]})},n.contract_address))})}):t>0?A.jsxs(ue.p,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.8},className:"text-white/60 text-center max-w-xs",children:["You launched ",t," ",t===1?"coin":"coins"," this year"]}):A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},className:"text-white/40 text-center max-w-xs",children:"No coins launched yet"}),t>0&&A.jsx(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:1.2+r.length*.1},className:"relative mt-4",children:A.jsxs(ue.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1/0},className:"px-8 py-4 rounded-3xl bg-gradient-to-r from-emerald-500/20 via-teal-500/20 to-cyan-500/20 backdrop-blur-xl border border-white/20 flex items-center gap-3",children:[A.jsx(PZ,{className:"w-6 h-6 text-cyan-400"}),A.jsx("p",{className:"text-white",children:"Degen Token Creator"})]})})]})}function xue(){const{stats:e}=rn(),t=e?.base_transactions||e?.baseTransactions||0,r=e?.arbitrum_transactions||e?.arbitrumTransactions||0,n=t+r,i=(()=>{if(t===0&&r===0)return{type:"gotta pump those numbers up",emoji:"ð"};const f=t>100,m=r>100;return f&&m?{type:"Multichain",emoji:"ð"}:t>r?{type:"Base",emoji:"ðµ"}:r>t?{type:"Arbitrum",emoji:"ð·"}:t===r?{type:"Chain Agnostic",emoji:"âï¸"}:{type:"Base",emoji:"ðµ"}})(),c=[{name:"Base",txs:t,icon:"ðµ",color:"from-blue-500 to-cyan-500",bgColor:"from-blue-500/20 to-cyan-500/20"},{name:"Arbitrum",txs:r,icon:"ð·",color:"from-blue-400 to-indigo-500",bgColor:"from-blue-400/20 to-indigo-500/20"}].filter(f=>f.txs>0);return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 w-full max-w-md mx-auto px-4",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your Multichain Activity"})}),A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:120,damping:15,delay:.3},className:"relative",children:[A.jsx(ue.div,{className:"absolute -inset-8 rounded-full bg-gradient-to-br from-blue-500 via-purple-500 to-green-400 opacity-30 blur-3xl",animate:{scale:[1,1.2,1],rotate:[0,180,360]},transition:{duration:8,repeat:1/0}}),A.jsxs("div",{className:"relative text-center",children:[A.jsx(ue.p,{className:"text-white text-7xl mb-2",initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.5},children:n.toLocaleString()}),A.jsx("p",{className:"text-transparent bg-gradient-to-r from-blue-400 via-purple-400 to-green-400 bg-clip-text text-2xl tracking-wide",children:"Total Transactions"})]})]}),A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.7},className:"w-full max-w-sm px-6 space-y-4",children:c.map((f,m)=>{const h=n>0?(f.txs/n*100).toFixed(0):"0";return A.jsxs(ue.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{delay:.9+m*.15},className:"relative",children:[A.jsx(ue.div,{className:`absolute -inset-1 bg-gradient-to-r ${f.color} rounded-2xl blur opacity-20`,animate:{opacity:[.2,.4,.2]},transition:{duration:2,repeat:1/0,delay:m*.3}}),A.jsxs("div",{className:`relative p-5 rounded-2xl bg-gradient-to-r ${f.bgColor} backdrop-blur-xl border border-white/10`,children:[A.jsxs("div",{className:"flex items-center justify-between mb-3",children:[A.jsxs("div",{className:"flex items-center gap-3",children:[A.jsx(ue.div,{animate:{scale:[1,1.1,1]},transition:{duration:1.5,repeat:1/0,delay:m*.3},className:"text-3xl",children:f.icon}),A.jsxs("div",{children:[A.jsx("p",{className:"text-white text-lg",children:f.name}),A.jsxs("p",{className:"text-white/50 text-xs",children:[h,"% of activity"]})]})]}),A.jsxs("div",{className:"text-right",children:[A.jsx("p",{className:"text-white text-2xl",children:f.txs.toLocaleString()}),A.jsx("p",{className:"text-white/40 text-xs",children:"transactions"})]})]}),A.jsx("div",{className:"relative h-2 bg-white/10 rounded-full overflow-hidden",children:A.jsx(ue.div,{className:`absolute inset-y-0 left-0 bg-gradient-to-r ${f.color} rounded-full`,initial:{width:0},animate:{width:`${h}%`},transition:{delay:1.2+m*.15,duration:1,ease:"easeOut"}})})]})]},f.name)})}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.8},className:"flex gap-4",children:[A.jsxs("div",{className:"px-6 py-4 rounded-3xl bg-white/5 backdrop-blur-xl border border-white/10 text-center",children:[A.jsxs("div",{className:"flex items-center justify-center gap-2 mb-1",children:[A.jsx(zL,{className:"w-4 h-4 text-yellow-400"}),A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider",children:"Avg speed"})]}),A.jsx("p",{className:"text-white text-xl",children:"2.3s"})]}),A.jsxs("div",{className:"px-6 py-4 rounded-3xl bg-white/5 backdrop-blur-xl border border-white/10 text-center",children:[A.jsxs("div",{className:"flex items-center justify-center gap-2 mb-1",children:[A.jsx(VY,{className:"w-4 h-4 text-green-400"}),A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider",children:"Success rate"})]}),A.jsx("p",{className:"text-transparent bg-gradient-to-r from-green-400 to-emerald-400 bg-clip-text text-xl",children:"98.7%"})]})]}),A.jsx(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:2},className:"px-8 py-4 rounded-3xl bg-gradient-to-r from-blue-500/10 via-purple-500/10 to-green-400/10 backdrop-blur-xl border border-white/20",children:A.jsxs("p",{className:"text-white",children:[i.emoji," ",i.type," Maximalist"]})})]})}function Eue(){const{neynarScore:e}=rn(),t=e||.5;return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-10",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your Neynar Score"})}),A.jsxs(ue.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:100,damping:15,delay:.3},className:"relative",children:[A.jsx(ue.div,{className:"absolute -inset-8 rounded-full bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 blur-3xl opacity-50",animate:{scale:[1,1.2,1],opacity:[.5,.3,.5]},transition:{duration:2,repeat:1/0}}),A.jsxs("div",{className:"relative w-64 h-64",children:[A.jsxs("svg",{className:"w-full h-full -rotate-90",viewBox:"0 0 100 100",children:[A.jsx("circle",{cx:"50",cy:"50",r:"45",fill:"none",stroke:"rgba(255,255,255,0.1)",strokeWidth:"3"}),A.jsx(ue.circle,{cx:"50",cy:"50",r:"45",fill:"none",stroke:"url
18754(#gradient)",strokeWidth:"3",strokeLinecap:"round",strokeDasharray:`${2*Math.PI*45}`,initial:{strokeDashoffset:2*Math.PI*45},animate:{strokeDashoffset:2*Math.PI*45*(1-t)},transition:{duration:1.5,delay:.5,ease:"easeOut"}}),A.jsx("defs",{children:A.jsxs("linearGradient",{id:"gradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[A.jsx("stop",{offset:"0%",stopColor:"#a855f7"}),A.jsx("stop",{offset:"50%",stopColor:"#ec4899"}),A.jsx("stop",{offset:"100%",stopColor:"#06b6d4"})]})})]}),A.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:A.jsxs(ue.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.8,type:"spring"},children:[A.jsx("p",{className:"text-white text-6xl mb-2",children:t.toFixed(2)}),A.jsx("p",{className:"text-white/40 text-sm",children:"out of 1.0"})]})})]})]}),A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2},className:"w-full max-w-sm px-6",children:A.jsx("div",{className:"p-6 rounded-3xl bg-white/5 backdrop-blur-xl border border-white/10 space-y-4",children:A.jsx("p",{className:"text-white/40 text-sm text-center",children:"Your score reflects authenticity, engagement quality, and network trust"})})}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.4},className:"flex gap-4",children:[A.jsxs("div",{className:"px-5 py-3 rounded-2xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider mb-1",children:"Authenticity"}),A.jsx("p",{className:"text-transparent bg-gradient-to-r from-purple-400 to-fuchsia-400 bg-clip-text text-xl",children:"High"})]}),A.jsxs("div",{className:"px-5 py-3 rounded-2xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsx("p",{className:"text-white/50 text-xs uppercase tracking-wider mb-1",children:"Engagement"}),A.jsx("p",{className:"text-transparent bg-gradient-to-r from-fuchsia-400 to-cyan-400 bg-clip-text text-xl",children:"Excellent"})]})]})]})}const jue=[{name:"Quality",value:92,icon:SP,color:"from-purple-500 to-fuchsia-500"},{name:"Influence",value:85,icon:zL,color:"from-fuchsia-500 to-pink-500"},{name:"Trust",value:88,icon:ZY,color:"from-cyan-500 to-blue-500"}];function Aue(){const{quotientScore:e,quotientRank:t}=rn(),r=e!=null,n=e??0;return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 px-4 py-6 w-full h-full",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-2",children:A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your Quotient Score"})}),A.jsxs(ue.div,{initial:{scale:0,rotate:180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:120,damping:15,delay:.3},className:"relative",children:[A.jsx(ue.div,{className:"absolute -inset-6 rounded-3xl bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 blur-2xl opacity-40",animate:{scale:[1,1.15,1],rotate:[0,90,0]},transition:{duration:8,repeat:1/0}}),A.jsx("div",{className:"relative p-8 rounded-3xl bg-gradient-to-br from-purple-500/20 via-fuchsia-500/20 to-cyan-500/20 backdrop-blur-xl border border-white/20",children:A.jsx("div",{className:"text-center space-y-2",children:r?A.jsxs(A.Fragment,{children:[A.jsx(ue.p,{initial:{scale:0},animate:{scale:1},transition:{delay:.6,type:"spring"},className:"text-white text-7xl",children:Math.round(n*100)}),A.jsx("p",{className:"text-transparent bg-gradient-to-r from-purple-400 via-fuchsia-400 to-cyan-400 bg-clip-text text-xl tracking-wider",children:"Overall Score"}),t&&A.jsxs(ue.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.8},className:"text-white/60 text-sm mt-2",children:["Rank #",t.toLocaleString()]})]}):A.jsxs(A.Fragment,{children:[A.jsx(ue.p,{initial:{scale:0},animate:{scale:1},transition:{delay:.6,type:"spring"},className:"text-white/60 text-4xl",children:"N/A"}),A.jsx("p",{className:"text-white/40 text-sm tracking-wider",children:"Quotient score unavailable"})]})})})]}),r&&A.jsx(ue.div,{initial:{opacity:0,y:20}
18754,animate:{opacity:1,y:0},transition:{delay:.8},className:"w-full max-w-sm px-6 space-y-4",children:jue.map((a,i)=>{const c=a.icon;return A.jsx(ue.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{delay:1+i*.15},className:"relative",children:A.jsxs("div",{className:"p-4 rounded-2xl bg-white/5 backdrop-blur-xl border border-white/10",children:[A.jsxs("div",{className:"flex items-center justify-between mb-3",children:[A.jsxs("div",{className:"flex items-center gap-3",children:[A.jsx(ue.div,{animate:{rotate:[0,10,-10,0]},transition:{duration:2,repeat:1/0,delay:i*.3},className:`w-10 h-10 rounded-xl bg-gradient-to-br ${a.color} flex items-center justify-center`,children:A.jsx(c,{className:"w-5 h-5 text-white"})}),A.jsx("p",{className:"text-white",children:a.name})]}),A.jsx("p",{className:"text-white text-xl",children:a.value})]}),A.jsxs("div",{className:"relative h-2 bg-white/10 rounded-full overflow-hidden",children:[A.jsx(ue.div,{className:`absolute inset-y-0 left-0 bg-gradient-to-r ${a.color} rounded-full`,initial:{width:0},animate:{width:`${a.value}%`},transition:{delay:1.2+i*.15,duration:1,ease:"easeOut"}}),A.jsx(ue.div,{className:"absolute inset-y-0 left-0 bg-white/30 rounded-full",initial:{width:0},animate:{width:`${a.value}%`},transition:{delay:1.2+i*.15,duration:1,ease:"easeOut"},children:A.jsx(ue.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/60 to-transparent",animate:{x:["-100%","200%"]},transition:{duration:1.5,repeat:1/0,delay:2.2+i*.15}})})]})]})},a.name)})}),r&&A.jsx(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:1.8},className:"px-6 py-3 rounded-2xl bg-gradient-to-r from-purple-500/20 to-cyan-500/20 backdrop-blur-xl border border-white/20",children:A.jsx("p",{className:"text-white/80 text-center",children:"â Elite Contributor Status"})}),!r&&A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1},className:"px-6 py-3 rounded-2xl bg-white/5 backdrop-blur-xl border border-white/10",children:A.jsx("p",{className:"text-white/40 text-center text-sm",children:"Enable Quotient API to see your score"})})]})}function XV(){const{stats:e,preparedData:t}=rn(),r=t?.wordCloud,n=r?.displayWords||[],a=r?.vibeName||"Mysterious Energy";return A.jsxs("div",{className:"relative flex flex-col items-center justify-start gap-2 sm:gap-3 px-4 w-full h-full max-w-2xl mx-auto pt-8",style:{overflow:"visible"},children:[A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center space-y-1 mb-2",children:[A.jsx("p",{className:"text-white/60 tracking-widest uppercase text-sm",children:"Your vibe in 2025"}),A.jsx("h2",{className:"text-white text-4xl",children:a})]}),A.jsxs(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.4},className:"relative w-full flex items-center justify-center",style:{height:"clamp(320px, 50vh, 450px)",maxWidth:"100%",padding:"40px 20px",overflow:"visible"},children:[A.jsxs(ue.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{delay:1.2,type:"spring",stiffness:150},className:"absolute z-50 flex items-center justify-center",style:{left:"50%",top:"50%",transform:"translate(-50%, -50%)"},children:[A.jsx("div",{className:"w-20 h-20 rounded-full bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 flex items-center justify-center shadow-2xl",children:A.jsx("span",{className:"text-3xl flex items-center justify-center w-full h-full",children:"â¡"})}),A.jsx(ue.div,{className:"absolute inset-0 rounded-full bg-gradient-to-br from-purple-500 to-cyan-500 blur-2xl opacity-60",animate:{scale:[1,1.3,1]},transition:{duration:2,repeat:1/0}})]}),n.length>0?n.map((i,c)=>{const f=i.x,m=i.y;return A.jsx(ue.div,{className:"absolute z-10",style:{left:"50%",top:"50%"},initial:{x:0,y:0,opacity:0,scale:0},animate:{x:f,y:m,opacity:1,scale:1},transition:{delay:.6+c*.1,type:"spring",stiffness:100},children:A.jsxs(ue.div,{animate:{y:[0,-10,0],rotate:[0,5,0,-5,0]},transition:{duration:3+c*.3,repeat:1/0,ease:"easeInOut"},className:"relative",children:[A.jsx("div",{className:`px-4 py-2.5 sm:px-7 sm:py-3.5 rounded-2xl bg-gradient-to-br ${i.color} shadow-xl`,style:{fontSize:`clamp(0.85rem, ${i.size*.7}%, ${i.size}%)`,fontWeight:"600"},children:A.jsx("span",{className:"text-white whitespace-nowrap drop-shadow-lg",children:i.name})}),A.jsx("div",{className:`absolute inset-0 rounded-2xl bg-gradient-to-br ${i.color} blur-xl opacity-50 -z-10`})]})},i.name)}):A.jsx("p",{className:"text-white/40",children:"Loading your vibe..."})]})]})}function Pue(){return A.jsxs("div",{className:"flex flex-col items-center justify-center gap-8 text-center px-6 max-w-2xl mx-auto",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20}
18754,animate:{opacity:1,y:0},transition:{delay:.2},className:"space-y-6",children:[A.jsxs(ue.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"text-white/90 text-2xl leading-relaxed",children:["But most importantly, you made"," ",A.jsx("span",{className:"bg-gradient-to-r from-purple-400 via-fuchsia-400 to-pink-400 bg-clip-text text-transparent font-semibold",children:"friends"}),", spread"," ",A.jsx("span",{className:"bg-gradient-to-r from-yellow-400 via-orange-400 to-red-400 bg-clip-text text-transparent font-semibold",children:"joy"})," ","and passed around"," ",A.jsx("span",{className:"bg-gradient-to-r from-pink-400 via-rose-400 to-red-400 bg-clip-text text-transparent font-semibold",children:"love"}),"."]}),A.jsxs(ue.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8},className:"text-white/80 text-xl leading-relaxed",children:["thedude"," ",A.jsx("span",{className:"text-pink-400 font-semibold",children:"loves"})," and"," ",A.jsx("span",{className:"text-purple-400 font-semibold",children:"appreciates"})," you."]}),A.jsx(ue.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2},className:"text-white/70 text-lg italic",children:"I'm sure that others do too."})]}),A.jsxs(ue.div,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{delay:1.6,type:"spring",stiffness:100},className:"flex gap-4 mt-8",children:[A.jsx("span",{className:"text-4xl",children:"ð"}),A.jsx("span",{className:"text-4xl",children:"â¨"}),A.jsx("span",{className:"text-4xl",children:"ð"})]})]})}function Sue(){const{nftTier:e}=rn();if(!e)return A.jsx("div",{className:"flex flex-col items-center justify-center gap-8 text-center px-6 max-w-2xl mx-auto",children:A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-white/60 text-xl",children:"Calculating your tier..."})});const r={platinum:{gradient:"from-cyan-400 via-blue-400 to-purple-400",bgGradient:"from-cyan-500/20 via-blue-500/20 to-purple-500/20",borderColor:"border-cyan-400/50",icon:zZ,emoji:"ð",glow:"shadow-cyan-500/50"},gold:{gradient:"from-yellow-400 via-orange-400 to-amber-400",bgGradient:"from-yellow-500/20 via-orange-500/20 to-amber-500/20",borderColor:"border-yellow-400/50",icon:NL,emoji:"ð",glow:"shadow-yellow-500/50"},silver:{gradient:"from-gray-300 via-gray-400 to-gray-500",bgGradient:"from-gray-400/20 via-gray-500/20 to-gray-600/20",borderColor:"border-gray-400/50",icon:MZ,emoji:"â",glow:"shadow-gray-400/50"},foil:{gradient:"from-purple-400 via-pink-400 to-fuchsia-400",bgGradient:"from-purple-500/20 via-pink-500/20 to-fuchsia-500/20",borderColor:"border-purple-400/50",icon:SP,emoji:"â¨",glow:"shadow-purple-500/50"}}[e.tier];return r.icon,A.jsx("div",{className:"flex flex-col items-center justify-center gap-8 text-center px-6 max-w-2xl mx-auto",children:A.jsxs(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.2,type:"spring",stiffness:100},className:"space-y-6 w-full",children:[A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"text-white/90 text-3xl font-bold mb-4",children:"YOUR NFT TIER"}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},className:`relative p-8 rounded-3xl border-2 ${r.borderColor} bg-gradient-to-br ${r.bgGradient} backdrop-blur-xl ${r.glow} shadow-2xl`,children:[A.jsx(ue.div,{className:`absolute inset-0 rounded-3xl bg-gradient-to-br ${r.gradient} opacity-20 blur-2xl -z-10`,animate:{scale:[1,1.1,1],opacity:[.2,.3,.2]},transition:{duration:3,repeat:1/0}}),A.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-4",children:[A.jsx(ue.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{delay:.8,type:"spring",stiffness:200},className:"text-6xl mb-2",children:r.emoji}),A.jsx(ue.h2,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:1},className:`text-5xl font-bold bg-gradient-to-r ${r.gradient} bg-clip-text text-transparent`,children:e.name}),A.jsxs(ue.div,{initial:{opacity:0,y:10}
18754,animate:{opacity:1,y:0},transition:{delay:1.2},className:"text-white/70 text-lg",children:["Score: ",A.jsxs("span",{className:"text-white font-semibold",children:[(e.score*100).toFixed(1),"%"]})]}),A.jsx(ue.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:1.4},className:"text-white/80 text-lg leading-relaxed mt-2",children:e.description})]})]}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.6},className:"text-white/60 text-base italic mt-4",children:"Mint your commemorative NFT on the next slide"})]})})}const DA={platinum:"/nft-platinum.mp4",gold:"/nft-gold.mp4",silver:"/nft-silver.mp4",foil:"/nft-foil.mp4"},kue=()=>{window.__videosPreloaded||(console.log("ð¹ Preloading all NFT videos..."),Object.values(DA).forEach(e=>{const t=document.createElement("link");t.rel="preload",t.as="video",t.href=e,document.head.appendChild(t);const r=document.createElement("video");r.preload="auto",r.src=e,r.muted=!0,r.load(),window.__preloadedVideos=window.__preloadedVideos||[],window.__preloadedVideos.push(r)}),window.__videosPreloaded=!0,console.log("â
All NFT videos preloaded"))};function Tue(){const{nftTier:e}=rn(),[t,r]=te.useState(!0),[n,a]=te.useState(!1),[i,c]=te.useState(!1),f=ko.useRef(null);let m=null;try{m=e?DA[e.tier]||DA.foil:null}catch(o){console.error("Error determining video source:",o),m=null}if(te.useEffect(()=>{try{kue()}catch(o){console.error("Error preloading videos:",o)}},[]),te.useEffect(()=>{if(f.current&&m)try{f.current.muted=!0,f.current.volume=0}catch(o){console.error("Error setting video muted state:",o)}},[m]),te.useEffect(()=>{if(!m)return;const o=setTimeout(()=>{!i&&!n&&(console.warn("â ï¸ Video loading timeout, showing fallback"),a(!0))},1e4);return()=>clearTimeout(o)},[m,i,n]),!e)return A.jsx("div",{className:"flex flex-col items-center justify-center gap-8 text-center px-6 max-w-2xl mx-auto",children:A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-white/60 text-xl",children:"Loading your NFT..."})});if(!m)return A.jsx("div",{className:"flex flex-col items-center justify-center gap-8 text-center px-6 max-w-2xl mx-auto",children:A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-white/60 text-xl",children:"Unable to load video"})});const h=()=>{try{f.current&&(t?f.current.pause():f.current.play().catch(o=>{console.error("Error playing video:",o),a(!0)}),r(!t))}catch(o){console.error("Error in handlePlayPause:",o),a(!0)}},l=o=>{const p=o.currentTarget.error;console.error("Video failed to load:",m,p),p&&console.error("Video error code:",p.code,"Message:",p.message),a(!0),c(!1)};return A.jsx("div",{className:"flex flex-col items-center justify-center gap-6 text-center px-6 max-w-4xl mx-auto h-full",children:A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"w-full space-y-4",children:[A.jsxs(ue.h2,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.4},className:"text-white/90 text-2xl sm:text-3xl font-bold mb-4",children:["Your ",e.name," NFT"]}),A.jsx(ue.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{delay:.6,type:"spring",stiffness:100},className:"relative w-full max-w-2xl mx-auto aspect-square rounded-2xl overflow-hidden border-2 border-white/20 shadow-2xl bg-black/50",children:n?A.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-white/60 p-8 bg-gradient-to-br from-purple-900/50 to-cyan-900/50 rounded-2xl",children:A.jsxs(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},className:"text-center space-y-4",children:[A.jsx("p",{className:"text-2xl mb-2",children:"â¨"}),A.jsxs("p",{className:"text-lg font-semibold mb-2",children:["Your ",e.name," NFT"]}),A.jsx("p",{className:"text-sm text-white/80",children:"Ready to mint on the next slide!"})]})}):A.jsxs(A.Fragment,{children:[!i&&A.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-10",children:A.jsx(ue.div,{animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"},className:"w-12 h-12 border-4 border-purple-500/30 border-t-purple-500 rounded-full"})}),A.jsx("video",{ref:f,src:m,autoPlay:!0,loop:!0,muted:!0,playsInl
18754ine:!0,preload:"auto",volume:0,className:"w-full h-full object-contain",onError:l,onAbort:o=>{console.warn("Video load aborted:",m),a(!0)},onStalled:()=>{console.warn("Video stalled, may be loading slowly")},onPlay:()=>{try{r(!0),c(!0),f.current&&(f.current.muted=!0,f.current.volume=0)}catch(o){console.error("Error in onPlay handler:",o)}},onPause:()=>{try{r(!1)}catch(o){console.error("Error in onPause handler:",o)}},onLoadedData:()=>{try{c(!0),f.current&&(f.current.muted=!0,f.current.volume=0,f.current.paused&&f.current.play().catch(o=>{console.warn("Autoplay blocked or failed, user can click play:",o)})),console.log("â
Video loaded and ready (muted):",m)}catch(o){console.error("Error in onLoadedData handler:",o),a(!0)}},onCanPlay:()=>{try{c(!0),f.current&&(f.current.muted=!0,f.current.volume=0,t||f.current.play().catch(o=>{console.error("Error auto-playing video:",o),a(!0)}))}catch(o){console.error("Error in onCanPlay handler:",o),a(!0)}},onWaiting:()=>{try{c(!1)}catch(o){console.error("Error in onWaiting handler:",o)}},onPlaying:()=>{try{c(!0),f.current&&(f.current.muted=!0,f.current.volume=0)}catch(o){console.error("Error in onPlaying handler:",o)}},onLoadStart:()=>{try{a(!1),c(!1)}catch(o){console.error("Error in onLoadStart handler:",o)}}}),A.jsx(ue.button,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:h,className:"absolute bottom-4 right-4 p-3 rounded-full bg-black/60 backdrop-blur-md border border-white/20 text-white hover:bg-black/80 transition-colors z-20","aria-label":t?"Pause":"Play",children:t?A.jsx(gZ,{className:"w-5 h-5"}):A.jsx(bZ,{className:"w-5 h-5"})})]})}),A.jsx(ue.p,{initial:{opacity:0}
18754,animate:{opacity:1},transition:{delay:.8},className:"text-white/60 text-sm sm:text-base",children:"Mint this commemorative NFT on the next slide"})]})})}async function Rue(e){console.log("ð Generating infographic with stats:",{totalActivity:e.stats?.totalActivity,topLevelCasts:e.stats?.topLevelCasts,repliesCount:e.stats?.repliesCount,totalLikes:e.stats?.totalLikes,totalRecasts:e.stats?.totalRecasts,gmCount:e.stats?.gmCount,fuckCount:e.stats?.fuckCount,higherCount:e.stats?.higherCount,poidhCount:e.stats?.poidhCount,statsKeys:e.stats?Object.keys(e.stats):"no stats"});const t=document.createElement("canvas"),r=t.getContext("2d");if(!r)throw new Error("Could not get canvas context");if(!e.stats)throw console.error("â No stats object provided to generateInfographic"),new Error("Stats object is required");const n=3e3,a=2e3;t.width=n,t.height=a;const i=R=>new Promise((_,k)=>{const M=new Image;M.crossOrigin="anonymous",M.onload=()=>_(M),M.onerror=k,M.src=R}),c=r.createLinearGradient(0,0,n,0);c.addColorStop(0,"#ec4899"),c.addColorStop(.25,"#d946ef"),c.addColorStop(.5,"#a855f7"),c.addColorStop(.75,"#7c3aed"),c.addColorStop(1,"#6d28d9"),r.fillStyle=c,r.fillRect(0,0,n,a),r.fillStyle="rgba(255, 255, 255, 0.02)";for(let R=0;R<100;R++)r.beginPath(),r.arc(Math.random()*n,Math.random()*a,Math.random()*3,0,Math.PI*2),r.fill();r.fillStyle="#ffffff",r.font="bold 110px Arial, sans-serif",r.textAlign="center",r.shadowColor="rgba(0, 0, 0, 0.6)",r.shadowBlur=8,r.shadowOffsetX=3,r.shadowOffsetY=3,r.fillText("Your Farcaster Wrapped 2025",n/2,150),r.shadowColor="rgba(0, 0, 0, 0.7)",r.shadowBlur=6,r.shadowOffsetX=2,r.shadowOffsetY=2,r.fillStyle="#ffffff",r.font="bold 70px Arial, sans-serif",r.fillText(`@${e.user.username}`,n/2,240),r.shadowColor="transparent",r.shadowBlur=0,r.shadowOffsetX=0,r.shadowOffsetY=0;let f=null;if(e.user.pfpUrl)try{f=await i(e.user.pfpUrl)}catch(R){console.warn("Could not load profile image (may be blocked by CSP):",R),f=null}const m=180,h=n/2-m/2,l=290;f?(r.save(),r.beginPath(),r.arc(h+m/2,l+m/2,m/2,0,Math.PI*2),r.clip(),r.drawImage(f,h,l,m,m),r.restore()):(r.fillStyle="#8b5cf6",r.beginPath(),r.arc(h+m/2,l+m/2,m/2,0,Math.PI*2),r.fill(),r.fillStyle="#ffffff",r.font="bold 100px Arial, sans-serif",r.textAlign="center",r.fillText("ð",h+m/2,l+m/2+35));const o=520,u=45,p=240,g=940,y=30;let b=o;const x=(R,_)=>{const k=e.stats;return k[R]??k[_||R]??0},w=[{title:"Total Activity",value:x("totalActivity","total_activity").toLocaleString(),subtitle:"Casts & Replies",gradient:["#a855f7","#ec4899"]},{title:"Top-Level Casts",value:x("topLevelCasts","top_level_casts").toLocaleString(),subtitle:"Original casts",gradient:["#ec4899","#f97316"]},{title:"Replies",value:x("repliesCount","replies_count").toLocaleString(),subtitle:"Reply casts",gradient:["#f97316","#f59e0b"]}],E=g*3+y*2,j=(n-E)/2;w.forEach((R,_)=>{const k=j+(g+y)*_;jg(r,k,b,g,p,R)}),b+=p+u,[{title:"Total Engagement",value:(x("totalLikes","total_likes")+x("totalRecasts","total_recasts")+x("totalReplies","total_replies")).toLocaleString(),subtitle:"Likes, recasts & replies",gradient:["#06b6d4","#3b82f6"]},{title:"Total Likes",value:x("totalLikes","total_likes").toLocaleString(),subtitle:"Likes received",gradient:["#3b82f6","#8b5cf6"]},{title:"Total Recasts",value:x("totalRecasts","total_recasts").toLocaleString(),subtitle:"Recasts received",gradient:["#8b5cf6","#a855f7"]}].forEach((R,_)=>{const k=j+(g+y)*_;jg(r,k,b,g,p,R)}),b+=p+u,[{title:"GM Count",value:x("gmCount","gm_count").toLocaleString(),subtitle:"Good mornings",gradient:["#10b981","#059669"]},{title:"Fuck Count",value:x("fuckCount","fuck_count").toLocaleString(),subtitle:'Times said "fuck"',gradient:["#ef4444","#dc2626"]},{title:"Higher Count",value:x("higherCount","higher_count").toLocaleString(),subtitle:'Times said "higher"',gradient:["#f59e0b","#d97706"]}].forEach((R,_)=>{const k=j+(g+y)*_;jg(r,k,b,g,p,R)}),b+=p+u;const K=[];K.push({title:"Neynar Score",value:e.neynarScore!==null&&e.neynarScore!==void 0?Math.round(e.neynarScore*100).toString():"0",subtitle:"Reputation score",gradient:["#06b6d4","#0891b2"]}),K.push({title:"Quotient Score",value:e.quotientScore!==null&&e.quotientScore!==void 0?Math.round(e.quotientScore*100).toString():"0",subtitle:e.quotientRank?`Rank #${e.quotientRank.toLocaleStr
18754ing()}`:"Your score",gradient:["#8b5cf6","#a855f7"]});const U=x("totalTransactions","total_transactions");K.push({title:"Transactions",value:U.toLocaleString(),subtitle:"Base & Arbitrum",gradient:["#f59e0b","#ef4444"]}),K.forEach((R,_)=>{const k=j+(g+y)*_;jg(r,k,b,g,p,R)}),b+=p+u;const H=[];H.push({title:"POIDH",value:x("poidhCount","poidh_count").toLocaleString(),subtitle:'Times said "POIDH"',gradient:["#f97316","#ea580c"]});const V=x("clankClankCount","clank_clank_count");H.push({title:"Clank Clank",value:V.toLocaleString(),subtitle:'Times said "clank clank"',gradient:["#6b7280","#4b5563"]});const Z=x("coinLaunches","coin_launches");if(H.push({title:"Clanker Tokens",value:Z.toLocaleString(),subtitle:"Tokens launched",gradient:["#10b981","#059669"]}),H.forEach((R,_)=>{const k=j+(g+y)*_;jg(r,k,b,g,p,R)}),b+=p+u,e.warplet&&e.warplet.imageUrl)try{const R=await i(e.warplet.imageUrl),_=200,k=n-_-50,M=50;r.save(),r.beginPath(),tu(r,k,M,_,_,20),r.clip(),r.drawImage(R,k,M,_,_),r.restore(),r.strokeStyle="rgba(255, 255, 255, 0.3)",r.lineWidth=3,tu(r,k,M,_,_,20),r.stroke()}catch(R){console.warn("Could not load Warplet image for infographic:",R)}if(e.nftTier){const R={foil:["#67e8f9","#06b6d4"],silver:["#9ca3af","#6b7280"],gold:["#fbbf24","#f59e0b"],platinum:["#d97706","#b45309"]},_=r.createLinearGradient(50,50,50,150);_.addColorStop(0,R[e.nftTier.tier][0]),_.addColorStop(1,R[e.nftTier.tier][1]),r.fillStyle=_,r.font="bold 50px Arial, sans-serif",r.textAlign="left",r.textBaseline="top";const k=e.nftTier.name,B=r.measureText(k).width,C=60,q=20;r.fillStyle="rgba(0, 0, 0, 0.75)",tu(r,50,50,B+q*2,C+q*2,15),r.fill(),r.shadowColor="rgba(0, 0, 0, 0.8)",r.shadowBlur=4,r.shadowOffsetX=2,r.shadowOffsetY=2,r.fillStyle=_,r.fillText(k,50+q,50+q),r.shadowColor="transparent",r.shadowBlur=0,r.shadowOffsetX=0,r.shadowOffsetY=0}return r.fillStyle="rgba(255, 255, 255, 0.7)",r.font="36px Arial, sans-serif",r.textAlign="center",r.textBaseline="alphabetic",r.shadowColor="rgba(0, 0, 0, 0.5)",r.shadowBlur=4,r.shadowOffsetX=2,r.shadowOffsetY=2,r.fillText("built by thedude, built on farcaster, utilizing base, dune and neynar",n/2,a-50),r.shadowColor="transparent",r.shadowBlur=0,r.shadowOffsetX=0,r.shadowOffsetY=0,t.toDataURL("image/png",1)}function jg(e,t,r,n,a,i){const l=e.createLinearGradient(t,r,t,r+a);l.addColorStop(0,"rgba(255, 255, 255, 0.15)"),l.addColorStop(.3,"rgba(255, 255, 255, 0.08)"),l.addColorStop(.7,"rgba(255, 255, 255, 0.05)"),l.addColorStop(1,"rgba(255, 255, 255, 0.12)"),e.fillStyle=l,tu(e,t,r,n,a,24),e.fill();const o=e.createLinearGradient(t,r,t,r+a*.3);o.addColorStop(0,"rgba(255, 255, 255, 0.25)"),o.addColorStop(1,"rgba(255, 255, 255, 0)"),e.fillStyle=o,tu(e,t,r,n,a*.3,24),e.fill(),e.strokeStyle="rgba(255, 255, 255, 0.3)",e.lineWidth=2,tu(e,t,r,n,a,24),e.stroke(),e.strokeStyle="rgba(255, 255, 255, 0.1)",e.lineWidth=1,tu(e,t+1,r+1,n-2,a-2,23),e.stroke();const u=r+25,p=e.createLinearGradient(t+50,u,t+n-50,u);p.addColorStop(0,i.gradient[0]),p.addColorStop(1,i.gradient[1]),e.strokeStyle=p,e.lineWidth=8,e.lineCap="round",e.beginPath(),e.moveTo(t+50,u),e.lineTo(t+n-50,u),e.stroke();const g=r+a/2,y=r+a-50-10;e.fillStyle="rgba(255, 255, 255, 0.95)",e.font="bold 50px Arial, sans-serif",e.textAlign="left",e.textBaseline="middle",e.shadowColor="rgba(0, 0, 0, 0.5)",e.shadowBlur=4,e.shadowOffsetX=2,e.shadowOffsetY=2,e.fillText(i.title,t+50,g),e.shadowColor="rgba(0, 0, 0, 0.8)",e.shadowBlur=6,e.shadowOffsetX=3,e.shadowOffsetY=3,e.fillStyle="#ffffff",e.font="bold 100px Arial, sans-serif",e.textAlign="right",e.textBaseline="middle",e.fillText(i.value,t+n-50,g),e.shadowColor="transparent",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0,e.textBaseline="alphabetic",e.fillStyle="rgba(255, 255, 255, 0.9)",e.font="38px Arial, sans-serif",e.textAlign="left",e.shadowColor="rgba(0, 0, 0, 0.4)",e.shadowBlur=3,e.shadowOffsetX=1,e.shadowOffsetY=1,e.fillText(i.subtitle,t+50,y),e.shadowColor="transparent",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0}function tu(e,t,r,n,a,i){e.beginPath(),e.moveTo(t+i,r),e.lineTo(t+n-i,r),e.quadraticCurveTo(t+n,r,t+n,r+i),e.lineTo(t+n,r+a-i),e.quadraticCurveTo(t+n,r+a,t+n-i,r+a),e.lineTo(t+i,r+a),e.quadraticCurveTo(t,r+a,t,r+a-i),e.lineTo(t,r+i),e.quadraticCurveTo(t,r,t+i,r),e.closePath()}const Xa="0x6d834c1EDD978E46B068D89d847536aE55114D38",Vl="0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",Oue=6,ry=3,BS=(ry*Math.pow(10,Oue)).toString(),$V={platinum:0,gold:1,silver:2,foil:3};async function Cue(e,t){try{const r="0xdd62ed3e",n=e.slice(2).padStart(64,"0"),a=t.slice(2).padStart(64,"0"),i=r+n+a,c=["https://mainnet.base.org","https://base.publicnode.com"];for(const f of c)try{const m=await fetch(f,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",method:"eth_call",params:[{to:Vl.toLowerCase(),data:i},"latest"],id:1})});if(!m.ok)continue;const h=await m.json();if(h.error||!h.result)continue;return BigInt(h.result)}catch{continue}return BigInt(0)}catch{return BigInt(0)}}async function Iue(e,t,r){const n="095ea7b3",a=e.slice(2).padStart(64,"0"),i=t.toString(16).padStart(64,"0"),c=`0x${n}${a}${i}`;if(Wt.wallet?.ethProvider&&r){const f={from:r,to:Vl,data:c,value:"0x0"};return await Wt.wallet.ethProvider.request({method:"eth_sendTransaction",params:[f]})}else if(Wt.actions?.sendTransaction){const f=await Wt.actions.sendTransaction({to:Vl,value:"
187540",data:c,chainId:8453});return typeof f=="string"?f:f?.hash||f?.transactionHash||f?.txHash}else throw new Error("No transaction method available")}async function Nue(e,t){try{if(!t)return{success:!1,error:"Wallet address required for approval."};console.log("ð° Requesting USDC approval..."),console.log(" Spender (NFT Contract):",e),console.log(" USDC Address:",Vl);const r=BigInt(BS);console.log(`ð° Approving exactly ${ry} USDC...`);const n=await Iue(e,r,t);return n?(console.log("â
Approval transaction hash:",n),{success:!0,transactionHash:n}):(console.warn("â ï¸ No transaction hash in approval result"),{success:!1,error:"Approval sent but no hash returned. Please check your wallet."})}catch(r){console.error("â Approval failed:",r);const n=r?.message||"Failed to approve USDC";return{success:!1,error:n.includes("rejected")||n.includes("denied")?"Approval was cancelled. Please try again.":n}}}async function Mue(e,t,r){try{if(console.log(`ð¨ Minting ${e} tier NFT for FID ${t}...`),console.log(`ð° Price: ${ry} USDC`),console.log(`ð Contract: ${Xa}`),console.log(`ð Wallet: ${r}`),!r)return console.error("â Wallet address not provided!"),{success:!1,error:"Wallet address required for minting."};typeof window<"u"&&(window.location!==window.parent.location||window.name==="farcaster-frame")||console.warn("â ï¸ Not in Farcaster context, but will try anyway...");const a=!!Wt.actions?.sendTransaction,i=!!Wt.wallet?.ethProvider;if(console.log("ð SDK capabilities:",{hasSendTransaction:a,hasEthProvider:i,sdkActions:Object.keys(Wt.actions||{}),sdkWallet:Object.keys(Wt.wallet||{})}),!a&&!i)return{success:!1,error:"Wallet not available. Please ensure you are in a Farcaster app."};console.log("ð Checking USDC allowance...");const c=await Cue(r,Xa),f=BigInt(BS);console.log(` Allowance: ${c}, Required: ${f}`);const m=$V[e],h="de709945",l=r.slice(2).padStart(64,"0"),o=t.toString(16).padStart(64,"0"),u=m.toString(16).padStart(64,"0"),p=`0x${h}${l}${o}${u}`;console.log(" Mint calldata breakdown:"),console.log(` Selector: ${h}`),console.log(` To: ${r}`),console.log(` FID: ${t} (0x${o})`),console.log(` Tier: ${m} (0x${u})`),console.log(` Full calldata: ${p}`);const g=c<f;let y;if(g&&i){console.log(`â ï¸ Insufficient USDC allowance. Have: ${c}, Need: ${f}`),console.log("ð Attempting to batch approve + mint using EIP-5792...");try{const b="095ea7b3",x=Xa.slice(2).padStart(64,"0"),w=f.toString(16).padStart(64,"0"),E=`0x${b}${x}${w}`;console.log("ð¦ Batch transaction calls:"),console.log(` 1. Approve: ${Vl} -> ${E}`),console.log(` 2. Mint: ${Xa} -> ${p}`);const j=await Wt.wallet.ethProvider.request({method:"wallet_sendCalls",params:[{version:"1.0",chainId:"0x2105",from:r,calls:[{to:Vl,data:E,value:"0x0"},{to:Xa,data:p,value:"0x0"}]}]});if(console.log("â
Batch transaction result:",j),typeof j=="string"?y=j:j&&typeof j=="object"&&(y=j.txHash||j.transactionHash||j.hash||j.receipts?.[0]?.transactionHash||j.receipts?.[j.receipts?.length-1]?.transactionHash),y)return console.log("â
Batched approve + mint successful! Transaction hash:",y),{success:!0,transactionHash:y};console.warn("â ï¸ Batch transaction succeeded but no hash found, falling back to two-step...")}catch(b){const x=b?.message||String(b);x.includes("not supported")||x.includes("Method not found")||x.includes("wallet_sendCalls")||b?.code===-32601?console.log("â¹ï¸ EIP-5792 batching not supported by wallet, falling back to two-step flow..."):(console.warn("â ï¸ EIP-5792 batching failed:",x),console.log("ð Falling back to two-step approve + mint..."))}}if(g){console.log("ð° Requesting USDC approval (two-step flow)...");try{const b=await Nue(Xa,r);if(console.log("ð¦ Approval result:",b),!b.success)return console.error("â Approval failed:",b.error),{success:!1,error:b.error||"USDC approval failed. Please try again.",needsApproval:!0};console.log("â
Approval successful, waiting for confirmation..."),await new Promise(x=>setTimeout(x,3e3))}catch(b){return console.error("â Approval error:",b),{success:!1,error:b?.message||"Failed to approve USDC. Please try again.",needsApproval:!0}}}else console.log("â
Sufficient USDC allowance already approved");console.log("ð¡ Sending mint transaction..."),console.log(` Contract: ${Xa}
vendor: 9,316 bytes, line 18754
18754`),console.log(` FID: ${t}, Tier: ${e} (${m})`),console.log(` Calldata: ${p}`);try{if(Wt.wallet?.ethProvider){console.log("ð Using sdk.wallet.ethProvider for mint...");const b={from:r,to:Xa,data:p,value:"0x0"};console.log("ð¤ Transaction params:",b);const x=await Wt.wallet.ethProvider.request({method:"eth_sendTransaction",params:[b]});console.log("â
ethProvider result:",x),y=x}else if(Wt.actions?.sendTransaction){console.log("ð Using sdk.actions.sendTransaction as fallback...");const b=await Wt.actions.sendTransaction({to:Xa,value:"0",data:p,chainId:8453});console.log("â
sendTransaction result:",b),y=typeof b=="string"?b:b?.hash||b?.transactionHash||b?.txHash}else return console.error("â No transaction method available!"),{success:!1,error:"No wallet available. Please try again from within Warpcast."};return y?(console.log("â
Transaction hash:",y),{success:!0,transactionHash:y}):(console.warn("â ï¸ No transaction hash returned"),{success:!1,error:"Transaction sent but no hash returned. Please check your wallet."})}catch(b){throw console.error("â Transaction error:",b),console.error("â Error details:",{message:b?.message,code:b?.code,data:b?.data}),b}}catch(n){console.error("â Mint failed:",n);let a=n.message||"Failed to mint NFT";return a.includes("rejected")||a.includes("denied")?a="Transaction was rejected. Please try again.":a.includes("insufficient")||a.includes("transfer amount exceeds balance")?a="Insufficient USDC balance. You need 3 USDC to mint.":a.includes("allowance")&&(a="USDC approval needed. Please approve and try again."),{success:!1,error:a}}}async function Fue(e,t){try{const r=$V[e],n="0x00fdd58e",a=t.slice(2).padStart(64,"0"),i=r.toString(16).padStart(64,"0"),c=n+a+i,f=["https://mainnet.base.org","https://base.publicnode.com"];for(const m of f)try{const h=await fetch(m,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",method:"eth_call",params:[{to:Xa.toLowerCase(),data:c},"latest"],id:1})});if(!h.ok)continue;const l=await h.json();if(l.error||!l.result||l.result==="0x")continue;return parseInt(l.result,16)>0?(console.log(`â
User already has ${e} tier NFT`),!0):!1}catch{continue}return!1}catch{return!1}}function Sq(){return{amount:ry,currency:"USDC",raw:BS,display:`${ry} USDC`}}function Ro(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),r===!1||!a.defaultPrevented)return t?.(a)}}function kq(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function US(...e){return t=>{let r=!1;const n=e.map(a=>{const i=kq(a,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let a=0;a<n.length;a++){const i=n[a];typeof i=="function"?i():kq(e[a],null)}}}}function Ru(...e){return te.useCallback(US(...e),e)}function Bue(e,t){const r=te.createContext(t),n=i=>{const{children:c,...f}=i,m=te.useMemo(()=>f,Object.values(f));return A.jsx(r.Provider,{value:m,children:c})};n.displayName=e+"Provider";function a(i){const c=te.useContext(r);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[n,a]}function Uue(e,t=[]){let r=[];function n(i,c){const f=te.createContext(c),m=r.length;r=[...r,c];const h=o=>{const{scope:u,children:p,...g}=o,y=u?.[e]?.[m]||f,b=te.useMemo(()=>g,Object.values(g));return A.jsx(y.Provider,{value:b,children:p})};h.displayName=i+"Provider";function l(o,u){const p=u?.[e]?.[m]||f,g=te.useContext(p);if(g)return g;if(c!==void 0)return c;throw new Error(`\`${o}\` must be used within \`${i}\``)}return[h,l]}const a=()=>{const i=r.map(c=>te.createContext(c));return function(f){const m=f?.[e]||i;return te.useMemo(()=>({[`__scope${e}`]:{...f,[e]:m}}),[f,m])}};return a.scopeName=e,[n,que(a,...t)]}function que(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(i){const c=n.reduce((f,{useScope:m,scopeName:h})=>{const o=m(i)[`__scope${h}`];return{...f,...o}},{});return te.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}var ny=globalThis?.document?te.useLayoutEffect:()=>{},Lue=e8[" useId ".trim().toString()]||(()=>{}),Due=0;function G2(e){const[t,r]=te.useState(Lue());return ny(()=>{r(n=>n??String(Due++))},[e]),e||(t?`radix-${t}`:"")}var zue=e8[" useInsertionEffect ".trim().toString()]||ny;function Vue({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[a,i,c]=Hue({defaultProp:t,onChange:r}),f=e!==void 0,m=f?e:a;{const l=te.useRef(e!==void 0);te.useEffect(()=>{const o=l.current;o!==f&&console.warn(`${n} is changing from ${o?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),l.current=f},[f,n])}const h=te.useCallback(l=>{if(f){const o=Wue(l)?l(e):l;o!==e&&c.current?.(o)}else i(l)},[f,e,i,c]);return[m,h]}function Hue({defaultProp:e,onChange:t}){const[r,n]=te.useState(e),a=te.useRef(r),i=te.useRef(t);return zue(()=>{i.current=t},[t]),te.useEffect(()=>{a.current!==r&&(i.current?.(r),a.current=r)},[r,a]),[r,n,i]}function Wue(e){return typeof e=="function"}var e9=$q();const Gue=iy(e9);function Kue(e){const t=Yue(e),r=te.forwardRef((n,a)=>{const{children:i,...c}=n,f=te.Children.toArray(i),m=f.find(Jue);if(m){const h=m.props.children,l=f.map(o=>o===m?te.Children.count(h)>1?te.Children.only(null):te.isValidElement(h)?h.props.children:null:o);return A.jsx(t,{...c,ref:a,children:te.isValidElement(h)?te.cloneElement(h,void 0,l):null})}return A.jsx(t,{...c,ref:a,children:i})});return r.displayName=`${e}.Slot`,r}function Yue(e){const t=te.forwardRef((r,n)=>{const{children:a,...i}=r;if(te.isValidElement(a)){const c=Xue(a),f=Que(i,a.props);return a.type!==te.Fragment&&(f.ref=n?US(n,c):c),te.cloneElement(a,f)}return te.Children.count(a)>1?te.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Zue=Symbol("radix.slottable");function Jue(e){return te.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Zue}function Que(e,t){const r={...t};for(const n in t){const a=e[n],i=t[n];/^on[A-Z]/.test(n)?a&&i?r[n]=(...f)=>{const m=i(...f);return a(...f),m}:a&&(r[n]=a):n==="style"?r[n]={...a,...i}:n==="className"&&(r[n]=[a,i].filter(Boolean).join(" "))}return{...e,...r}}function Xue(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var $ue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ys=$ue.reduce((e,t)=>{const r=Kue(`Primitive.${t}`),n=te.forwardRef((a,i)=>{const{asChild:c,...f}=a,m=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),A.jsx(m,{...f,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ele(e,t){e&&e9.flushSync(()=>e.dispatchEvent(t))}function ay(e){const t=te.useRef(e);return te.useEffect(()=>{t.current=e}),te.useMemo(()=>(...r)=>t.current?.(...r),[])}function tle(e,t=globalThis?.document){const r=ay(e);te.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var rle="DismissableLayer",zA="dismissableLayer.update",nle="dismissableLayer.pointerDownOutside",ale="dismissableLayer.focusOutside",Tq,t9=te.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),r9=te.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:c,onDismiss:f,...m}=e,h=te.useContext(t9),[l,o]=te.useState(null),u=l?.ownerDocument??globalThis?.document,[,p]=te.useState({}),g=Ru(t,z=>o(z)),y=Array.from(h.layers),[b]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(b),w=l?y.indexOf(l):-1,E=h.layersWithOutsidePointerEventsDisabled.size>0,j=w>=x,T=ole(z=>{const K=z.target,U=[...h.branches].some(H=>H.contains(K));!j||U||(a?.(z),c?.(z),z.defaultPrevented||f?.())},u),F=cle(z=>{const K=z.target;[...h.branches].some(H=>H.contains(K))||(i?.(z),c?.(z),z.defaultPrevented||f?.())},u);return tle(z=>{w===h.layers.size-1&&(n?.(z),!z.defaultPrevented&&f&&(z.preventDefault(),f()))},u),te.useEffect(()=>{if(l)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Tq=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(l)),h.layers.add(l),Rq(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=Tq)}},[l,u,r,h]),te.useEffect(()=>()=>{l&&(h.layers.delete(l),h.layersWithOutsidePointerEventsDisabled.delete(l),Rq())},[l,h]),te.useEffect(()=>{const z=()=>p({});return document.addEventListener(zA,z),()=>document.removeEventListener(zA,z)},[]),A.jsx(Ys.div,{...m,ref:g,style:{pointerEvents:E?j?"auto":"none":void 0,...e.style},onFocusCapture:Ro(e.onFocusCapture,F.onFocusCapture),onBlurCapture:Ro(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:Ro(e.onPointerDownCapture,T.onPointerDownCapture)})});r9.displayName=rle;var ile="DismissableLayerBranch",sle=te.forwardRef((e,t)=>
vendor: 4,662 bytes, line 18754
18754{const r=te.useContext(t9),n=te.useRef(null),a=Ru(t,n);return te.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),A.jsx(Ys.div,{...e,ref:a})});sle.displayName=ile;function ole(e,t=globalThis?.document){const r=ay(e),n=te.useRef(!1),a=te.useRef(()=>{});return te.useEffect(()=>{const i=f=>{if(f.target&&!n.current){let m=function(){n9(nle,r,h,{discrete:!0})};const h={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=m,t.addEventListener("click",a.current,{once:!0})):m()}else t.removeEventListener("click",a.current);n.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",i),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function cle(e,t=globalThis?.document){const r=ay(e),n=te.useRef(!1);return te.useEffect(()=>{const a=i=>{i.target&&!n.current&&n9(ale,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Rq(){const e=new CustomEvent(zA);document.dispatchEvent(e)}function n9(e,t,r,{discrete:n}){const a=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?ele(a,i):a.dispatchEvent(i)}var K2="focusScope.autoFocusOnMount",Y2="focusScope.autoFocusOnUnmount",Oq={bubbles:!1,cancelable:!0},ule="FocusScope",a9=te.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...c}=e,[f,m]=te.useState(null),h=ay(a),l=ay(i),o=te.useRef(null),u=Ru(t,y=>m(y)),p=te.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;te.useEffect(()=>{if(n){let y=function(E){if(p.paused||!f)return;const j=E.target;f.contains(j)?o.current=j:jo(o.current,{select:!0})},b=function(E){if(p.paused||!f)return;const j=E.relatedTarget;j!==null&&(f.contains(j)||jo(o.current,{select:!0}))},x=function(E){if(document.activeElement===document.body)for(const T of E)T.removedNodes.length>0&&jo(f)};document.addEventListener("focusin",y),document.addEventListener("focusout",b);const w=new MutationObserver(x);return f&&w.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b),w.disconnect()}}},[n,f,p.paused]),te.useEffect(()=>{if(f){Iq.add(p);const y=document.activeElement;if(!f.contains(y)){const x=new CustomEvent(K2,Oq);f.addEventListener(K2,h),f.dispatchEvent(x),x.defaultPrevented||(lle(mle(i9(f)),{select:!0}),document.activeElement===y&&jo(f))}return()=>{f.removeEventListener(K2,h),setTimeout(()=>{const x=new CustomEvent(Y2,Oq);f.addEventListener(Y2,l),f.dispatchEvent(x),x.defaultPrevented||jo(y??document.body,{select:!0}),f.removeEventListener(Y2,l),Iq.remove(p)},0)}}},[f,h,l,p]);const g=te.useCallback(y=>{if(!r&&!n||p.paused)return;const b=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,x=document.activeElement;if(b&&x){const w=y.currentTarget,[E,j]=dle(w);E&&j?!y.shiftKey&&x===j?(y.preventDefault(),r&&jo(E,{select:!0})):y.shiftKey&&x===E&&(y.preventDefault(),r&&jo(j,{select:!0})):x===w&&y.preventDefault()}},[r,n,p.paused]);return A.jsx(Ys.div,{tabIndex:-1,...c,ref:u,onKeyDown:g})});a9.displayName=ule;function lle(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(jo(n,{select:t}),document.activeElement!==r)return}function dle(e){const t=i9(e),r=Cq(t,e),n=Cq(t.reverse(),e);return[r,n]}function i9(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Cq(e,t){for(const r of e)if(!fle(r,{upTo:t}))return r}function fle(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function hle(e){return e instanceof HTMLInputElement&&"select"in e}function jo(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&hle(e)&&t&&e.select()}}var Iq=ple();function ple(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Nq(e,t),e.unshift(t)},remove(t){e=Nq(e,t),e[0]?.resume()}}}function Nq(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function mle(e){return e.filter(t=>t.tagName!=="A")}var gle="Portal",s9=te.forwardRef((e,t)=>
vendor: 8,382 bytes, lines 18754-18769
18754{const{container:r,...n}=e,[a,i]=te.useState(!1);ny(()=>i(!0),[]);const c=r||a&&globalThis?.document?.body;return c?Gue.createPortal(A.jsx(Ys.div,{...n,ref:t}),c):null});s9.displayName=gle;function yle(e,t){return te.useReducer((r,n)=>t[r][n]??r,e)}var qw=e=>{const{present:t,children:r}=e,n=ble(t),a=typeof r=="function"?r({present:n.isPresent}):te.Children.only(r),i=Ru(n.ref,vle(a));return typeof r=="function"||n.isPresent?te.cloneElement(a,{ref:i}):null};qw.displayName="Presence";function ble(e){const[t,r]=te.useState(),n=te.useRef(null),a=te.useRef(e),i=te.useRef("none"),c=e?"mounted":"unmounted",[f,m]=yle(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return te.useEffect(()=>{const h=rv(n.current);i.current=f==="mounted"?h:"none"},[f]),ny(()=>{const h=n.current,l=a.current;if(l!==e){const u=i.current,p=rv(h);e?m("MOUNT"):p==="none"||h?.display==="none"?m("UNMOUNT"):m(l&&u!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,m]),ny(()=>{if(t){let h;const l=t.ownerDocument.defaultView??window,o=p=>{const y=rv(n.current).includes(CSS.escape(p.animationName));if(p.target===t&&y&&(m("ANIMATION_END"),!a.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",h=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},u=p=>{p.target===t&&(i.current=rv(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",o),t.addEventListener("animationend",o),()=>{l.clearTimeout(h),t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",o),t.removeEventListener("animationend",o)}}else m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:te.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function rv(e){return e?.animationName||"none"}function vle(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Z2=0;function wle(){te.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Mq()),document.body.insertAdjacentElement("beforeend",e[1]??Mq()),Z2++,()=>{Z2===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Z2--}},[])}function Mq(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Di=function(){return Di=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Di.apply(this,arguments)};function o9(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function _le(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var bv="right-scroll-bar-position",vv="width-before-scroll-bar",xle="with-scroll-bars-hidden",Ele="--removed-body-scroll-bar-size";function J2(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jle(e,t){var r=te.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}var Ale=typeof window<"u"?te.useLayoutEffect:te.useEffect,Fq=new WeakMap;function Ple(e,t){var r=jle(null,function(n){return e.forEach(function(a){return J2(a,n)})});return Ale(function(){var n=Fq.get(r);if(n){var a=new Set(n),i=new Set(e),c=r.current;a.forEach(function(f){i.has(f)||J2(f,null)}),i.forEach(function(f){a.has(f)||J2(f,c)})}Fq.set(r,e)},[e]),r}function Sle(e){return e}function kle(e,t){t===void 0&&(t=Sle);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var c=t(i,n);return r.push(c),function(){r=r.filter(function(f){return f!==c})}},assignSyncMedium:function(i){for(n=!0;r.length;){var c=r;r=[],c.forEach(i)}r={push:function(f){return i(f)},filter:function(){return r}}},assignMedium:function(i){n=!0;var c=[];if(r.length){var f=r;r=[],f.forEach(i),c=r}var m=function(){var l=c;c=[],l.forEach(i)},h=function(){return Promise.resolve().then(m)};h(),r={push:function(l){c.push(l),h()},filter:function(l){return c=c.filter(l),r}}}};return a}function Tle(e){e===void 0&&(e={});var t=kle(null);return t.options=Di({async:!0,ssr:!1},e),t}var c9=function(e){var t=e.sideCar,r=o9(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return te.createElement(n,Di({},r))};c9.isSideCarExport=!0;function Rle(e,t){return e.useMedium(t),c9}var u9=Tle(),Q2=function(){},Lw=te.forwardRef(function(e,t){var r=te.useRef(null),n=te.useState({onScrollCapture:Q2,onWheelCapture:Q2,onTouchMoveCapture:Q2}),a=n[0],i=n[1],c=e.forwardProps,f=e.children,m=e.className,h=e.removeScrollBar,l=e.enabled,o=e.shards,u=e.sideCar,p=e.noRelative,g=e.noIsolation,y=e.inert,b=e.allowPinchZoom,x=e.as,w=x===void 0?"div":x,E=e.gapMode,j=o9(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=u,F=Ple([r,t]),z=Di(Di({},j),a);return te.createElement(te.Fragment,null,l&&te.createElement(T,{sideCar:u9,removeScrollBar:h,shards:o,noRelative:p,noIsolation:g,inert:y,setCallbacks:i,allowPinchZoom:!!b,lockRef:r,gapMode:E}),c?te.cloneElement(te.Children.only(f),Di(Di({},z),{ref:F})):te.createElement(w,Di({},z,{className:m,ref:F}),f))});Lw.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Lw.classNames={fullWidth:vv,zeroRight:bv};var Ole=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Cle(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ole();return t&&e.setAttribute("nonce",t),e}function Ile(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Nle(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Mle=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Cle())&&(Ile(t,r),Nle(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Fle=function(){var e=Mle();return function(t,r){te.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},l9=function(){var e=Fle(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},Ble={left:0,top:0,right:0,gap:0},X2=function(e){return parseInt(e||"",10)||0},Ule=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[X2(r),X2(n),X2(a)]},qle=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ble;var t=Ule(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Lle=l9(),Ol="data-scroll-locked",Dle=function(e,t,r,n){var a=e.left,i=e.top,c=e.right,f=e.gap;return r===void 0&&(r="margin"),` 18755 .`.concat(xle,` { 18756 overflow: hidden `).concat(n,`; 18757 padding-right: `).concat(f,"px ").concat(n,`; 18758 } 18759 body[`).concat(Ol,`] { 18760 overflow: hidden `).concat(n,`; 18761 overscroll-behavior: contain; 18762 `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` 18763 padding-left: `.concat(a,`px; 18764 padding-top: `).concat(i,`px; 18765 padding-right: `).concat(c,`px; 18766 margin-left:0; 18767 margin-top:0; 18768 margin-right: `).concat(f,"px ").concat(n,`; 18769 `),r==="padding"&&"padding-right: ".concat(f,"px ").concat(n,";
18769")].filter(Boolean).join(""),` 18770 } 18771 18772 .`).concat(bv,` { 18773 right: `).concat(f,"px ").concat(n,`; 18774 } 18775 18776 .`).concat(vv,` { 18777 margin-right: `).concat(f,"px ").concat(n,`; 18778 } 18779 18780 .`).concat(bv," .").concat(bv,` { 18781 right: 0 `).concat(n,`; 18782 } 18783 18784 .`).concat(vv," .").concat(vv,` { 18785 margin-right: 0 `).concat(n,`; 18786 } 18787 18788 body[`).concat(Ol,`] { 18789 `).concat(Ele,": ").concat(f,`px; 18790 } 18791`)},Bq=function(){var e=parseInt(document.body.getAttribute(Ol)||"0",10);return isFinite(e)?e:0},zle=function(){te.useEffect(function(){return document.body.setAttribute(Ol,(Bq()+1).toString()),function(){var e=Bq()-1;e<=0?document.body.removeAttribute(Ol):document.body.setAttribute(Ol,e.toString())}},[])},Vle=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;zle();var i=te.useMemo(function(){return qle(a)},[a]);return te.createElement(Lle,{styles:Dle(i,!t,a,r?"":"!important")})},VA=!1;if(typeof window<"u")try{var nv=Object.defineProperty({},"passive",{get:function(){return VA=!0,!0}});window.addEventListener("test",nv,nv),window.removeEventListener("test",nv,nv)}catch{VA=!1}var hl=VA?{passive:!1}:!1,Hle=function(e){return e.tagName==="TEXTAREA"},d9=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Hle(e)&&r[t]==="visible")},Wle=function(e){return d9(e,"overflowY")},Gle=function(e){return d9(e,"overflowX")},Uq=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=f9(e,n);if(a){var i=h9(e,n),c=i[1],f=i[2];if(c>f)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Kle=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Yle=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},f9=function(e,t){return e==="v"?Wle(t):Gle(t)},h9=function(e,t){return e==="v"?Kle(t):Yle(t)},Zle=function(e,t){return e==="h"&&t==="rtl"?-1:1},Jle=function(e,t,r,n,a){var i=Zle(e,window.getComputedStyle(t).direction),c=i*n,f=r.target,m=t.contains(f),h=!1,l=c>0,o=0,u=0;do{if(!f)break;var p=h9(e,f),g=p[0],y=p[1],b=p[2],x=y-b-i*g;(g||x)&&f9(e,f)&&(o+=x,u+=g);var w=f.parentNode;f=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!m&&f!==document.body||m&&(t.contains(f)||t===f));return(l&&Math.abs(o)<1||!l&&Math.abs(u)<1)&&(h=!0),h},av=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},qq=function(e){return[e.deltaX,e.deltaY]},Lq=function(e){return e&&"current"in e?e.current:e},Qle=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Xle=function(e){return` 18792 .block-interactivity-`.concat(e,` {pointer-events: none;} 18793 .allow-interactivity-`).concat(e,` {pointer-events: all;} 18794`)},$le=0,pl=[];function ede(e){var t=te.useRef([]),r=te.useRef([0,0]),n=te.useRef(),a=te.useState($le++)[0],i=te.useState(l9)[0],c=te.useRef(e);te.useEffect(function(){c.current=e},[e]),te.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var y=_le([e.lockRef.current],(e.shards||[]).map(Lq),!0).filter(Boolean);return y.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),y.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var f=te.useCallback(function(y,b){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!c.current.allowPinchZoom;var x=av(y),w=r.current,E="deltaX"in y?y.deltaX:w[0]-x[0],j="deltaY"in y?y.deltaY:w[1]-x[1],T,F=y.target,z=Math.abs(E)>Math.abs(j)?"h":"v";if("touches"in y&&z==="h"&&F.type==="range")return!1;var K=Uq(z,F);if(!K)return!0;if(K?T=z:(T=z==="v"?"h":"v",K=Uq(z,F)),!K)return!1;if(!n.current&&"changedTouches"in y&&(E||j)&&(n.current=T),!T)return!0;var U=n.current||T;return Jle(U,b,y,U==="h"?E:j)},[]),m=te.useCallback(function(y){var b=y;if(!(!pl.length||pl[pl.length-1]!==i)){var x="deltaY"in b?qq(b):av(b),w=t.current.filter(function(T){return T.name===b.type&&(T.target===b.target||b.target===T.shadowParent)&&Qle(T.delta,x)})[0];if(w&&w.should){b.cancelable&&b.preventDefault();return}
vendor: 12,703 bytes, lines 18794-18798
18794if(!w){var E=(c.current.shards||[]).map(Lq).filter(Boolean).filter(function(T){return T.contains(b.target)}),j=E.length>0?f(b,E[0]):!c.current.noIsolation;j&&b.cancelable&&b.preventDefault()}}},[]),h=te.useCallback(function(y,b,x,w){var E={name:y,delta:b,target:x,should:w,shadowParent:tde(x)};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(j){return j!==E})},1)},[]),l=te.useCallback(function(y){r.current=av(y),n.current=void 0},[]),o=te.useCallback(function(y){h(y.type,qq(y),y.target,f(y,e.lockRef.current))},[]),u=te.useCallback(function(y){h(y.type,av(y),y.target,f(y,e.lockRef.current))},[]);te.useEffect(function(){return pl.push(i),e.setCallbacks({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:u}),document.addEventListener("wheel",m,hl),document.addEventListener("touchmove",m,hl),document.addEventListener("touchstart",l,hl),function(){pl=pl.filter(function(y){return y!==i}),document.removeEventListener("wheel",m,hl),document.removeEventListener("touchmove",m,hl),document.removeEventListener("touchstart",l,hl)}},[]);var p=e.removeScrollBar,g=e.inert;return te.createElement(te.Fragment,null,g?te.createElement(i,{styles:Xle(a)}):null,p?te.createElement(Vle,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function tde(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const rde=Rle(u9,ede);var p9=te.forwardRef(function(e,t){return te.createElement(Lw,Di({},e,{ref:t,sideCar:rde}))});p9.classNames=Lw.classNames;var nde=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ml=new WeakMap,iv=new WeakMap,sv={},$2=0,m9=function(e){return e&&(e.host||m9(e.parentNode))},ade=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=m9(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},ide=function(e,t,r,n){var a=ade(t,Array.isArray(e)?e:[e]);sv[r]||(sv[r]=new WeakMap);var i=sv[r],c=[],f=new Set,m=new Set(a),h=function(o){!o||f.has(o)||(f.add(o),h(o.parentNode))};a.forEach(h);var l=function(o){!o||m.has(o)||Array.prototype.forEach.call(o.children,function(u){if(f.has(u))l(u);else try{var p=u.getAttribute(n),g=p!==null&&p!=="false",y=(ml.get(u)||0)+1,b=(i.get(u)||0)+1;ml.set(u,y),i.set(u,b),c.push(u),y===1&&g&&iv.set(u,!0),b===1&&u.setAttribute(r,"true"),g||u.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",u,x)}})};return l(t),f.clear(),$2++,function(){c.forEach(function(o){var u=ml.get(o)-1,p=i.get(o)-1;ml.set(o,u),i.set(o,p),u||(iv.has(o)||o.removeAttribute(n),iv.delete(o)),p||o.removeAttribute(r)}),$2--,$2||(ml=new WeakMap,ml=new WeakMap,iv=new WeakMap,sv={})}},sde=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=nde(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),ide(n,a,r,"aria-hidden")):function(){return null}};function ode(e){const t=cde(e),r=te.forwardRef((n,a)=>{const{children:i,...c}=n,f=te.Children.toArray(i),m=f.find(lde);if(m){const h=m.props.children,l=f.map(o=>o===m?te.Children.count(h)>1?te.Children.only(null):te.isValidElement(h)?h.props.children:null:o);return A.jsx(t,{...c,ref:a,children:te.isValidElement(h)?te.cloneElement(h,void 0,l):null})}return A.jsx(t,{...c,ref:a,children:i})});return r.displayName=`${e}.Slot`,r}function cde(e){const t=te.forwardRef((r,n)=>{const{children:a,...i}=r;if(te.isValidElement(a)){const c=fde(a),f=dde(i,a.props);return a.type!==te.Fragment&&(f.ref=n?US(n,c):c),te.cloneElement(a,f)}return te.Children.count(a)>1?te.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ude=Symbol("radix.slottable");function lde(e){return te.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ude}function dde(e,t){const r={...t};for(const n in t){const a=e[n],i=t[n];/^on[A-Z]/.test(n)?a&&i?r[n]=(...f)=>{const m=i(...f);return a(...f),m}:a&&(r[n]=a):n==="style"?r[n]={...a,...i}:n==="className"&&(r[n]=[a,i].filter(Boolean).join(" "))}return{...e,...r}}function fde(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Dw="Dialog",[g9]=Uue(Dw),[hde,Ai]=g9(Dw),y9=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:i,modal:c=!0}=e,f=te.useRef(null),m=te.useRef(null),[h,l]=Vue({prop:n,defaultProp:a??!1,onChange:i,caller:Dw});return A.jsx(hde,{scope:t,triggerRef:f,contentRef:m,contentId:G2(),titleId:G2(),descriptionId:G2(),open:h,onOpenChange:l,onOpenToggle:te.useCallback(()=>l(o=>!o),[l]),modal:c,children:r})};y9.displayName=Dw;var b9="DialogTrigger",pde=te.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Ai(b9,r),i=Ru(t,a.triggerRef);return A.jsx(Ys.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":DS(a.open),...n,ref:i,onClick:Ro(e.onClick,a.onOpenToggle)})});pde.displayName=b9;var qS="DialogPortal",[mde,v9]=g9(qS,{forceMount:void 0}),w9=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:a}=e,i=Ai(qS,t);return A.jsx(mde,{scope:t,forceMount:r,children:te.Children.map(n,c=>A.jsx(qw,{present:r||i.open,children:A.jsx(s9,{asChild:!0,container:a,children:c})}))})};w9.displayName=qS;var Xv="DialogOverlay",_9=te.forwardRef((e,t)=>{const r=v9(Xv,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=Ai(Xv,e.__scopeDialog);return i.modal?A.jsx(qw,{present:n||i.open,children:A.jsx(yde,{...a,ref:t})}):null});_9.displayName=Xv;var gde=ode("DialogOverlay.RemoveScroll"),yde=te.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Ai(Xv,r);return A.jsx(p9,{as:gde,allowPinchZoom:!0,shards:[a.contentRef],children:A.jsx(Ys.div,{"data-state":DS(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),fu="DialogContent",x9=te.forwardRef((e,t)=>{const r=v9(fu,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=Ai(fu,e.__scopeDialog);return A.jsx(qw,{present:n||i.open,children:i.modal?A.jsx(bde,{...a,ref:t}):A.jsx(vde,{...a,ref:t})})});x9.displayName=fu;var bde=te.forwardRef((e,t)=>{const r=Ai(fu,e.__scopeDialog),n=te.useRef(null),a=Ru(t,r.contentRef,n);return te.useEffect(()=>{const i=n.current;if(i)return sde(i)},[]),A.jsx(E9,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ro(e.onCloseAutoFocus,i=>{i.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Ro(e.onPointerDownOutside,i=>{const c=i.detail.originalEvent,f=c.button===0&&c.ctrlKey===!0;(c.button===2||f)&&i.preventDefault()}),onFocusOutside:Ro(e.onFocusOutside,i=>i.preventDefault())})}),vde=te.forwardRef((e,t)=>{const r=Ai(fu,e.__scopeDialog),n=te.useRef(!1),a=te.useRef(!1);return A.jsx(E9,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{e.onCloseAutoFocus?.(i),i.defaultPrevented||(n.current||r.triggerRef.current?.focus(),i.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:i=>{e.onInteractOutside?.(i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const c=i.target;r.triggerRef.current?.contains(c)&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&a.current&&i.preventDefault()}})}),E9=te.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:i,...c}=e,f=Ai(fu,r),m=te.useRef(null),h=Ru(t,m);return wle(),A.jsxs(A.Fragment,{children:[A.jsx(a9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:i,children:A.jsx(r9,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":DS(f.open),...c,ref:h,onDismiss:()=>f.onOpenChange(!1)})}),A.jsxs(A.Fragment,{children:[A.jsx(wde,{titleId:f.titleId}),A.jsx(xde,{contentRef:m,descriptionId:f.descriptionId})]})]})}),LS="DialogTitle",j9=te.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Ai(LS,r);return A.jsx(Ys.h2,{id:a.titleId,...n,ref:t})});j9.displayName=LS;var A9="DialogDescription",P9=te.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Ai(A9,r);return A.jsx(Ys.p,{id:a.descriptionId,...n,ref:t})});P9.displayName=A9;var S9="DialogClose",k9=te.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Ai(S9,r);return A.jsx(Ys.button,{type:"button",...n,ref:t,onClick:Ro(e.onClick,()=>a.onOpenChange(!1))})});k9.displayName=S9;function DS(e){return e?"open":"closed"}var T9="DialogTitleWarning",[Lfe,R9]=Bue(T9,{contentName:fu,titleName:LS,docsSlug:"dialog"}),wde=({titleId:e})=>{const t=R9(T9),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 18795 18796If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 18797 18798For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return te.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},_de="DialogDescriptionWarning",xde=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${R9(_de).contentName}}.`;return te.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Ede=y9,jde=w9,Ade=_9,Pde=x9,Sde=j9,kde=P9,Tde=k9;function O9(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=O9(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Rde(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=O9(e))&&(n&&(n+=" "),n+=t);return n}const Ode=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},Cde=(e,t)=>({classGroupId:e,validator:t}),C9=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),$v="-",Dq=[],Ide="arbitrary..",Nde=e=>{const t=Fde(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return Mde(c);const f=c.split($v),m=f[0]===""&&f.length>1?1:0;return I9(f,m,t)},getConflictingClassGroupIds:(c,f)=>{if(f){const m=n[c],h=r[c];return m?h?Ode(h,m):m:h||Dq}return r[c]||Dq}}},I9=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const a=e[t],i=r.nextPart.get(a);if(i){const h=I9(e,t+1,i);if(h)return h}const c=r.validators;if(c===null)return;const f=t===0?e.join($v):e.slice(t).join($v),m=c.length;for(let h=0;h<m;h++){const l=c[h];if(l.validator(f))return l.classGroupId}},Mde=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Ide+n:void 0})(),Fde=e=>{const{theme:t,classGroups:r}=e;return Bde(r,t)},Bde=(e,t)=>{const r=C9();for(const n in e){const a=e[n];zS(a,r,n,t)}return r},zS=(e,t,r,n)=>{const a=e.length;for(let i=0;i<a;i++){const c=e[i];Ude(c,t,r,n)}},Ude=(e,t,r,n)=>{if(typeof e=="string"){qde(e,t,r);return}if(typeof e=="function"){Lde(e,t,r,n);return}Dde(e,t,r,n)},qde=(e,t,r)=>{const n=e===""?t:N9(t,e);n.classGroupId=r},Lde=(e,t,r,n)=>{if(zde(e)){zS(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Cde(r,e))},Dde=(e,t,r,n)=>{const a=Object.entries(e),i=a.length;for(let c=0;c<i;c++){const[f,m]=a[c];zS(m,N9(t,f),r,n)}},N9=(e,t)=>{let r=e;const n=t.split($v),a=n.length;for(let i=0;i<a;i++){const c=n[i];let f=r.nextPart.get(c);f||(f=C9(),r.nextPart.set(c,f)),r=f}return r},zde=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Vde=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const a=(i,c)=>{r[i]=c,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(i){let c=r[i];if(c!==void 0)return c;if((c=n[i])!==void 0)return a(i,c),c},set(i,c){i in r?r[i]=c:a(i,c)}}},HA="!",zq=":",Hde=[],Vq=(e,t,r,n,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),Wde=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=a=>{const i=[];let c=0,f=0,m=0,h;const l=a.length;for(let y=0;y<l;y++){const b=a[y];if(c===0&&f===0){if(b===zq){i.push(a.slice(m,y)),m=y+1;continue}if(b==="/"){h=y;continue}}b==="["?c++:b==="]"?c--:b==="("?f++:b===")"&&f--}const o=i.length===0?a:a.slice(m);let u=o,p=!1;o.endsWith(HA)?(u=o.slice(0,-1),p=!0):o.startsWith(HA)&&(u=o.slice(1),p=!0);const g=h&&h>m?h-m:void 0;return Vq(i,p,u,g)};if(t){const a=t+zq,i=n;n=c=>c.startsWith(a)?i(c.slice(a.length)):Vq(Hde,!1,c,void 0,!0)}if(r){const a=n;n=i=>r({className:i,parseClassName:a})}return n},Gde=e=>{const t=new Map;
vendor: 5,246 bytes, line 18798
18798return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let a=[];for(let i=0;i<r.length;i++){const c=r[i],f=c[0]==="[",m=t.has(c);f||m?(a.length>0&&(a.sort(),n.push(...a),a=[]),n.push(c)):a.push(c)}return a.length>0&&(a.sort(),n.push(...a)),n}},Kde=e=>({cache:Vde(e.cacheSize),parseClassName:Wde(e),sortModifiers:Gde(e),...Nde(e)}),Yde=/\s+/,Zde=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:i}=t,c=[],f=e.trim().split(Yde);let m="";for(let h=f.length-1;h>=0;h-=1){const l=f[h],{isExternal:o,modifiers:u,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:y}=r(l);if(o){m=l+(m.length>0?" "+m:m);continue}let b=!!y,x=n(b?g.substring(0,y):g);if(!x){if(!b){m=l+(m.length>0?" "+m:m);continue}if(x=n(g),!x){m=l+(m.length>0?" "+m:m);continue}b=!1}const w=u.length===0?"":u.length===1?u[0]:i(u).join(":"),E=p?w+HA:w,j=E+x;if(c.indexOf(j)>-1)continue;c.push(j);const T=a(x,b);for(let F=0;F<T.length;++F){const z=T[F];c.push(E+z)}m=l+(m.length>0?" "+m:m)}return m},Jde=(...e)=>{let t=0,r,n,a="";for(;t<e.length;)(r=e[t++])&&(n=M9(r))&&(a&&(a+=" "),a+=n);return a},M9=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=M9(e[n]))&&(r&&(r+=" "),r+=t);return r},Qde=(e,...t)=>{let r,n,a,i;const c=m=>{const h=t.reduce((l,o)=>o(l),e());return r=Kde(h),n=r.cache.get,a=r.cache.set,i=f,f(m)},f=m=>{const h=n(m);if(h)return h;const l=Zde(m,r);return a(m,l),l};return i=c,(...m)=>i(Jde(...m))},Xde=[],dn=e=>{const t=r=>r[e]||Xde;return t.isThemeGetter=!0,t},F9=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,B9=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$de=/^\d+\/\d+$/,efe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tfe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rfe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,nfe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,afe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gl=e=>$de.test(e),Lt=e=>!!e&&!Number.isNaN(Number(e)),_o=e=>!!e&&Number.isInteger(Number(e)),eA=e=>e.endsWith("%")&&Lt(e.slice(0,-1)),Is=e=>efe.test(e),ife=()=>!0,sfe=e=>tfe.test(e)&&!rfe.test(e),U9=()=>!1,ofe=e=>nfe.test(e),cfe=e=>afe.test(e),ufe=e=>!tt(e)&&!rt(e),lfe=e=>dd(e,D9,U9),tt=e=>F9.test(e),Wc=e=>dd(e,z9,sfe),tA=e=>dd(e,mfe,Lt),Hq=e=>dd(e,q9,U9),dfe=e=>dd(e,L9,cfe),ov=e=>dd(e,V9,ofe),rt=e=>B9.test(e),Ag=e=>fd(e,z9),ffe=e=>fd(e,gfe),Wq=e=>fd(e,q9),hfe=e=>fd(e,D9),pfe=e=>fd(e,L9),cv=e=>fd(e,V9,!0),dd=(e,t,r)=>{const n=F9.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},fd=(e,t,r=!1)=>{const n=B9.exec(e);return n?n[1]?t(n[1]):r:!1},q9=e=>e==="position"||e==="percentage",L9=e=>e==="image"||e==="url",D9=e=>e==="length"||e==="size"||e==="bg-size",z9=e=>e==="length",mfe=e=>e==="number",gfe=e=>e==="family-name",V9=e=>e==="shadow",yfe=()=>{const e=dn("color"),t=dn("font"),r=dn("text"),n=dn("font-weight"),a=dn("tracking"),i=dn("leading"),c=dn("breakpoint"),f=dn("container"),m=dn("spacing"),h=dn("radius"),l=dn("shadow"),o=dn("inset-shadow"),u=dn("text-shadow"),p=dn("drop-shadow"),g=dn("blur"),y=dn("perspective"),b=dn("aspect"),x=dn("ease"),w=dn("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...j(),rt,tt],F=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],K=()=>[rt,tt,m],U=()=>[gl,"full","auto",...K()],H=()=>[_o,"none","subgrid",rt,tt],V=()=>["auto",{span:["full",_o,rt,tt]},_o,rt,tt],Z=()=>[_o,"auto",rt,tt],R=()=>["auto","min","max","fr",rt,tt],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],k=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...K()],B=()=>[gl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...K()],C=()=>[e,rt,tt],q=()=>[...j(),Wq,Hq,{position:[rt,tt]}],W=()=>["no-repeat",{repeat:["","x","y","space","round"]}],I=()=>["auto","cover","contain",hfe,lfe,{size:[rt,tt]}],S=()=>[eA,Ag,Wc],O=()=>["","none","full",h,rt,tt],Y=()=>["",Lt,Ag,Wc],Q=()=>["solid","dashed","dotted","double"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>[Lt,eA,Wq,Hq],ge=()=>["","none",g,rt,tt],we=()=>["none",Lt,rt,tt],Ue=()=>["none",Lt,rt,tt],ye=()=>[Lt,rt,tt],de=()=>[gl,"full",...K()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Is],breakpoint:[Is],color:[ife],container:[Is],"drop-shadow":[Is],ease:["in","out","in-out"],font:[ufe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Is],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Is],shadow:[Is],spacing:["px",Lt],text:[Is],"text-shadow":[Is],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",gl,tt,rt,b]}
vendor: 12,843 bytes, line 18798
18798],container:["container"],columns:[{columns:[Lt,tt,rt,f]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:U()}],"inset-x":[{"inset-x":U()}],"inset-y":[{"inset-y":U()}],start:[{start:U()}],end:[{end:U()}],top:[{top:U()}],right:[{right:U()}],bottom:[{bottom:U()}],left:[{left:U()}],visibility:["visible","invisible","collapse"],z:[{z:[_o,"auto",rt,tt]}],basis:[{basis:[gl,"full","auto",f,...K()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Lt,gl,"auto","initial","none",tt]}],grow:[{grow:["",Lt,rt,tt]}],shrink:[{shrink:["",Lt,rt,tt]}],order:[{order:[_o,"first","last","none",rt,tt]}],"grid-cols":[{"grid-cols":H()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":H()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":R()}],"auto-rows":[{"auto-rows":R()}],gap:[{gap:K()}],"gap-x":[{"gap-x":K()}],"gap-y":[{"gap-y":K()}],"justify-content":[{justify:[..._(),"normal"]}],"justify-items":[{"justify-items":[...k(),"normal"]}],"justify-self":[{"justify-self":["auto",...k()]}],"align-content":[{content:["normal",..._()]}],"align-items":[{items:[...k(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...k(),{baseline:["","last"]}]}],"place-content":[{"place-content":_()}],"place-items":[{"place-items":[...k(),"baseline"]}],"place-self":[{"place-self":["auto",...k()]}],p:[{p:K()}],px:[{px:K()}],py:[{py:K()}],ps:[{ps:K()}],pe:[{pe:K()}],pt:[{pt:K()}],pr:[{pr:K()}],pb:[{pb:K()}],pl:[{pl:K()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":K()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":K()}],"space-y-reverse":["space-y-reverse"],size:[{size:B()}],w:[{w:[f,"screen",...B()]}],"min-w":[{"min-w":[f,"screen","none",...B()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[c]},...B()]}],h:[{h:["screen","lh",...B()]}],"min-h":[{"min-h":["screen","lh","none",...B()]}],"max-h":[{"max-h":["screen","lh",...B()]}],"font-size":[{text:["base",r,Ag,Wc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,rt,tA]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",eA,tt]}],"font-family":[{font:[ffe,tt,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,rt,tt]}],"line-clamp":[{"line-clamp":[Lt,"none",rt,tA]}],leading:[{leading:[i,...K()]}],"list-image":[{"list-image":["none",rt,tt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",rt,tt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:C()}],"text-color":[{text:C()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[Lt,"from-font","auto",rt,Wc]}],"text-decoration-color":[{decoration:C()}],"underline-offset":[{"underline-offset":[Lt,"auto",rt,tt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",rt,tt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",rt,tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:q()}],"bg-repeat":[{bg:W()}],"bg-size":[{bg:I()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_o,rt,tt],radial:["",rt,tt],conic:[_o,rt,tt]},pfe,dfe]}],"bg-color":[{bg:C()}],"gradient-from-pos":[{from:S()}],"gradient-via-pos":[{via:S()}],"gradient-to-pos":[{to:S()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Lt,rt,tt]}],"outline-w":[{outline:["",Lt,Ag,Wc]}],"outline-color":[{outline:C()}],shadow:[{shadow:["","none",l,cv,ov]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",o,cv,ov]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[Lt,Wc]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",u,cv,ov]}],"text-shadow-color":[{"text-shadow":C()}],opacity:[{opacity:[Lt,rt,tt]}],"mix-blend":[{"mix-blend":[...ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ne()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Lt]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[rt,tt]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[Lt]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:q()}],"mask-repeat":[{mask:W()}],"mask-size":[{mask:I()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",rt,tt]}],filter:[{filter:["","none",rt,tt]}],blur:[{blur:ge()}],brightness:[{brightness:[Lt,rt,tt]}],contrast:[{contrast:[Lt,rt,tt]}],"drop-shadow":[{"drop-shadow":["","none",p,cv,ov]}],"drop-shadow-color":[{"drop-shadow":C()}],grayscale:[{grayscale:["",Lt,rt,tt]}],"hue-rotate":[{"hue-rotate":[Lt,rt,tt]}],invert:[{invert:["",Lt,rt,tt]}],saturate:[{saturate:[Lt,rt,tt]}],sepia:[{sepia:["",Lt,rt,tt]}],"backdrop-filter":[{"backdrop-filter":["","none",rt,tt]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[Lt,rt,tt]}],"backdrop-contrast":[{"backdrop-contrast":[Lt,rt,tt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Lt,rt,tt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Lt,rt,tt]}],"backdrop-invert":[{"backdrop-invert":["",Lt,rt,tt]}],"backdrop-opacity":[{"backdrop-opacity":[Lt,rt,tt]}],"backdrop-saturate":[{"backdrop-saturate":[Lt,rt,tt]}],"backdrop-sepia":[{"backdrop-sepia":["",Lt,rt,tt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":K()}],"border-spacing-x":[{"border-spacing-x":K()}],"border-spacing-y":[{"border-spacing-y":K()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",rt,tt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Lt,"initial",rt,tt]}],ease:[{ease:["linear","initial",x,rt,tt]}],delay:[{delay:[Lt,rt,tt]}],animate:[{animate:["none",w,rt,tt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,rt,tt]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:we()}],"rotate-x":[{"rotate-x":we()}],"rotate-y":[{"rotate-y":we()}],"rotate-z":[{"rotate-z":we()}],scale:[{scale:Ue()}],"scale-x":[{"scale-x":Ue()}],"scale-y":[{"scale-y":Ue()}],"scale-z":[{"scale-z":Ue()}],"scale-3d":["scale-3d"],skew:[{skew:ye()}],"skew-x":[{"skew-x":ye()}],"skew-y":[{"skew-y":ye()}],transform:[{transform:[rt,tt,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:de()}],"translate-x":[{"translate-x":de()}],"translate-y":[{"translate-y":de()}],"translate-z":[{"translate-z":de()}],"translate-none":["translate-none"],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}
vendor: 5,351 bytes, line 18798
18798],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",rt,tt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",rt,tt]}],fill:[{fill:["none",...C()]}],"stroke-w":[{stroke:[Lt,Ag,Wc,tA]}],stroke:[{stroke:["none",...C()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},bfe=Qde(yfe);function hd(...e){return bfe(Rde(e))}function Gq({...e}){return A.jsx(Ede,{"data-slot":"dialog",...e})}function vfe({...e}){return A.jsx(jde,{"data-slot":"dialog-portal",...e})}function wfe({className:e,...t}){return A.jsx(Ade,{"data-slot":"dialog-overlay",className:hd("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function Kq({className:e,children:t,...r}){return A.jsxs(vfe,{"data-slot":"dialog-portal",children:[A.jsx(wfe,{}),A.jsxs(Pde,{"data-slot":"dialog-content",className:hd("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
18798ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...r,children:[t,A.jsxs(Tde,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[A.jsx(GZ,{}),A.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function Yq({className:e,...t}){return A.jsx("div",{"data-slot":"dialog-header",className:hd("flex flex-col gap-2 text-center sm:text-left",e),...t})}function Zq({className:e,...t}){return A.jsx("div",{"data-slot":"dialog-footer",className:hd("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function Jq({className:e,...t}){return A.jsx(Sde,{"data-slot":"dialog-title",className:hd("text-lg leading-none font-semibold",e),...t})}function Qq({className:e,...t}){return A.jsx(kde,{"data-slot":"dialog-description",className:hd("text-muted-foreground text-sm",e),...t})}function _fe(){const{user:e,context:t,walletAddress:r}=Zl(),{stats:n,neynarScore:a,quotientScore:i,quotientRank:c,warplet:f,nftTier:m}=rn(),h=Cy(),[l,o]=te.useState(!1),[u,p]=te.useState(!1),[g,y]=te.useState(!1),[b,x]=te.useState(!1),[w,E]=te.useState(null),[j,T]=te.useState(null),[F,z]=te.useState(!1),[K,U]=te.useState(!1);te.useEffect(()=>{f?console.log("ð¨ Warplet data in FinalSlide:",{hasWarplet:!!f,hasImageUrl:!!f.imageUrl,imageUrl:f.imageUrl,name:f.name,willShow:f&&f.imageUrl&&f.imageUrl.trim()!==""}):console.log("â ï¸ No warplet data in FinalSlide")},[f]),te.useEffect(()=>{m&&r&&e?.fid?Fue(m.tier,r).then(C=>{x(C),C?(localStorage.setItem(`minted_${e.fid}`,"true"),E({success:!0,message:`You've already minted your ${m.name} NFT!`})):z(!0)}):m&&z(!0)},[m,r,e?.fid]);const H=async()=>{if(!n||!e)return console.error("Stats or user data not available"),null;if(j)return j;o(!0);try{const C=await Rue({user:{username:e.username||"user",displayName:e.displayName||e.username||"User",pfpUrl:e.pfpUrl},stats:n,neynarScore:a,quotientScore:i,quotientRank:c,warplet:f?{imageUrl:f.imageUrl,name:f.name}:null,nftTier:m?{tier:m.tier,name:m.name}:null});return T(C),C}catch(C){throw console.error("Error generating infographic:",C),C}finally{o(!1)}},V=async()=>{try{console.log("ð¥ Download button clicked"),o(!0);const C=await H();if(!C){console.error("â No image data URL returned"),alert("Failed to generate image. Please try again.");return}console.log("â
Image generated, uploading to Pinata IPFS for download...");try{const q=await Z(C);if(q){console.log("â
Image uploaded to Neynar:",q);try{if(Wt.actions?.openUrl)await Wt.actions.openUrl(q),console.log("â
Opened image URL via SDK - user can right-click to save");else if(window.open){if(!window.open(q,"_blank"))throw new Error("Popup blocked");console.log("â
Opened image URL in new window - user can right-click to save")}else throw new Error("Cannot open URL")}catch(W){console.warn("â ï¸ Could not open URL, showing image in modal:",W),T(q)}}else throw new Error("Upload failed")}catch(q){console.warn("â ï¸ Upload failed, trying blob URL approach:",q);try{const W=atob(C.split(",")[1]),I=C.split(",")[0].split(":")[1].split(";")[0],S=new ArrayBuffer(W.length),O=new Uint8Array(S);for(let ne=0;ne<W.length;ne++)O[ne]=W.charCodeAt(ne);const Y=new Blob([S],{type:I}),Q=URL.createObjectURL(Y);if(Wt.actions?.openUrl)await Wt.actions.openUrl(Q);else if(window.open)window.open(Q,"_blank");else throw new Error("Cannot open URL");setTimeout(()=>URL.revokeObjectURL(Q),1e4)}catch(W){console.error("â Blob URL also failed, showing image in modal:",W),T(C)}}}catch(C){console.error("â Error in handleDownload:",C),alert(`Failed to generate infographic: ${C.message||"Unknown error"}. Please try again.`)}finally{o(!1)}},Z=async C=>{try{const{uploadImageToPinata:q}=await Ig(async()=>{const{uploadImageToPinata:I}=await import("./pinataService-jZ643kDY.js");return{uploadImageToPinata:I}},[]),W=await q(C,`farcaster-wrapped-2025-${e?.username||"user"}.png`);return W.success&&W.httpUrl?(console.log("â
Image uploaded to Pinata IPFS:",W.httpUrl),W.httpUrl):(console.warn("â ï¸ Pinata upload failed, using data URL:",W.error),null)}catch(q){return console.warn("â ï¸ Error importing Pinata service, using data URL:",q),null}},R=async C=>{try{if(t?.user?.subscriptionTier==="Pro"||t?.user?.pro===!0)return console.log("â
User has Farc
18798aster Pro (from context)"),!0;try{const q=await fetch(`/api/check-fc-pro?fid=${C}`);if(q.ok)return(await q.json()).hasPro===!0}catch(q){console.warn("â ï¸ Could not check Farcaster Pro via API, assuming false:",q)}return!1}catch(q){return console.warn("â ï¸ Error checking Farcaster Pro status:",q),!1}},_=C=>{if(!C)return null;const q=`nft-${C}.mp4`;return`${window.location.origin}/${q}`},k=async()=>{if(!n||!e){console.error("Stats or user data not available");return}p(!0);try{const C=window.location.origin,W=`I just got my ${m?.name||"Wrapped"} Farcaster Wrapped 2025! Click here to get yours, see how many times you said /higher or fuck.. or even how many transactions you did! 18799 18800made by @thedude//@bribe`;let I=!1,S=null;b&&e?.fid&&(I=await R(e.fid),I&&m&&(S=_(m.tier),console.log("ð¬ User has minted and Farcaster Pro - will include NFT video:",S)));let O=null;if(!S){const oe=await H();if(!oe)throw new Error("Failed to generate image");const ge=await Z(oe);ge&&ge.startsWith("http")?(O=ge,console.log("â Image uploaded to Pinata IPFS, will be embedded in cast:",O)):(console.warn("â ï¸ Pinata upload failed or returned invalid URL, skipping image embed"),console.warn("â ï¸ Image URL received:",ge?.substring(0,100)||"null"))}const Y=`${W} ${C}`,Q=new URL("https://warpcast.com/~/compose");Q.searchParams.set("text",Y),S?(Q.searchParams.append("embeds[]",S),console.log("ð¬ Adding NFT video embed to cast (first):",S)):O&&(Q.searchParams.append("embeds[]",O),console.log("ð¸ Adding image embed to cast (first):",O)),Q.searchParams.append("embeds[]",C),console.log("ð Adding app URL embed (second):",C);const ne=Q.toString();console.log("ð¤ Sharing cast...");try{if(Wt.actions?.composeCast){console.log("ð± Using native SDK composeCast...");const oe=[];S?(oe.push(S),console.log("ð¬ Including NFT video embed (first):",S)):O&&(oe.push(O),console.log("ð· Including image embed (first):",O)),oe.push(C),console.log("ð Including app URL embed (second):",C),await Wt.actions.composeCast({text:W,embeds:oe}),console.log("â Opened native compose dialog with",oe.length,"embeds:",oe.map(ge=>ge.substring(0,50)+"..."))}else if(Wt.actions?.openUrl)console.log("ð± Falling back to openUrl..."),await Wt.actions.openUrl(ne),console.log("â Opened Warpcast compose via SDK");else if(window.open)window.open(ne,"_blank"),console.log("â Opened Warpcast compose in new window");else throw new Error("Cannot open URL")}catch(oe){console.error("â Error opening compose:",oe);try{Wt.actions?.openUrl?await Wt.actions.openUrl(ne):window.open(ne,"_blank")}catch{alert("Please copy this link and share it manually: "+ne)}}}catch(C){console.error("Error sharing:",C),alert("Failed to share. Please try again.")}finally{p(!1)}},M=async()=>{if(!m||!e){alert("Tier information not available");return}if(!r){alert("Wallet not connected. Please connect your wallet first."),z(!0);return}if(b){alert("You have already minted your commemorative NFT!");return}z(!1),y(!0),E(null),GV(e.fid,m.tier,m.name,e.username).catch(C=>{console.warn("â ï¸ Failed to log mint attempt:",C)});try{console.log("ð Starting mint process..."),console.log(" Tier:",m.tier),console.log(" FID:",e.fid),console.log(" Wallet:",r);const C=await Mue(m.tier,e.fid,r);if(console.log("ð¦ Mint result received:",C),C.success){if(E({success:!0,message:`Successfully minted your ${m.name} NFT!`,txHash:C.transactionHash}),x(!0),e.fid&&localStorage.setItem(`minted_${e.fid}`,"true"),C.transactionHash){KV(e.fid,m.tier,m.name,C.transactionHash,e.username).catch(W=>{console.warn("â ï¸ Failed to log mint success:",W)});const q=`https://basescan.org/tx/${C.transactionHash}`;console.log("ð View transaction:",q)}}else{LA(e.fid,m.tier,m.name,C.error||"Unknown error",e.username).catch(W=>{console.warn("â ï¸ Failed to log mint failure:",W)});const q=C.error||"Failed to mint NFT";console.error("â Mint failed:",q),console.error("â Full result:",C),E({success:!1,message:q}),alert(`Mint failed: ${q}`)}}catch(C){const q=C.message||"An error occurred while minting";LA(e.fid,m.tier,m.name,q,e.username).catch(W=>{console.warn("â ï¸ Failed to log mint failure:",W)}),E({success:!1,message:q})}finally{y(!1)}},B=m?.name||"NFT";return A.jsxs(A.Fragment,{children:[A.jsx(Gq,{open:F&&!b,onOpenChange:z,children:A.jsxs(Kq,{className:"bg-gradient-to-br from-purple-900/95 via-fuchsia-900/95 to-cyan-900/95 backdrop-blur-xl border-purple-500/30 text-white max-w-md",children:[A.jsxs(Yq,{children:[A.jsx(Jq,{className:"text-2xl font-bold text-center mb-2",children:"Mint Your Commemorative NFT"}),A.jsxs(Qq,{className:"text-white/80 text-center",children:["Do you want to mint your ",A.jsx("span",{className:"font-bold text-white",children:B})," NFT for 3 USDC?"]})]}),A.jsxs("div",{className:"py-4 space-y-4",children:[m&&A.jsxs("div",{className:"flex flex-col items-center gap-2",children:[A.jsx("div",{className:`px-6 py-3 rounded-full font-bold text-lg ${m.tier==="foil"?"bg-cyan-500/20 text-cyan-300 border border-cyan-500/50":m.tier==="silver"?"bg-gray-400/20 text-gray-300 border border-gray-400/50":m.tier==="gold"?"bg-yellow-500/20 text-yellow-300 border border-yellow-500/50":"bg-amber-600/20 text-amber-300 border border-amber-600/50"}`,children:B}),A.jsx("p",{className:"text-white/60 text-sm",children:m.description})]}),A.jsxs("div",{className:"flex flex-col items-center gap-1",children:[A.jsxs("div",{className:"flex items-center justify-center gap-2 text-xl",children:[A.jsx(SP,{className:"w-5 h-5 text-yellow-400"}),A.jsx("span",{className:"font-bold",children:Sq().display})]}),A.jsx("span",{className:"text-white/60 text-xs",children:"(on Base)"})]})]}),A.jsxs(Zq,{className:"flex-col sm:flex-row gap-2",children:[A.jsx(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:()=>z(!1),className:"w-full sm:w-auto px-6 py-3 rounded-xl bg-white/10 hover:bg-white/20 border border-white/20 text-white transition-colors",children:"Maybe Later"}),r?A.jsx(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:M,disabled:g||!m,className:`w-full sm:w-auto px-6 py-3 rounded-xl font-bold text-white transition-colors ${m?.tier==="foil"?"bg-gradient-to-r from-cyan-500 to-blue-500 hover:from-cyan-600 hover:to-blue-600":m?.tier==="gold"?"bg-gradient-to-r from-yellow-500 to-amber-500 hover:from-yellow-600 hover:to-amber-600":m?.tier==="silver"?"bg-gradient-to-r from-gray-400 to-gray-300 hover:from-gray-500 hover:to-gray-400":"bg-gradient-to-r from-emerald-500 via-teal-500 to-cyan-500 hover:from-emerald-600 hover:via-teal-600 hover:to-cyan-600"} disabled:opacity-50 disabled:cursor-not-allowed`,children:g?"Minting...":`Mint ${B} NFT`}):A.jsx(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:async()=>{console.log("ð Connect wallet button clicked");const{connectWallet:C}=await Ig(async()=>{const{connectWallet:q}=await Promise.resolve().then(()=>fte);return{connectWallet:q}},void 0).then(q=>({connectWallet:q.useFarcaster}));try{const q=(await Ig(async()=>{const{default:W}=await import("./index-BAbpFZ8L.js");return{default:W}},[])).default;if(q.wallet?.ethProvider){const W=await q.wallet.ethProvider.request({method:"eth_requestAccounts"});W?.[0]&&(console.log("â Wallet connected:",W[0]),window.location.reload())}}catch(q){console.error("â Connect wallet failed:",q),alert("Could not connect wallet. Please try again.")}},className:"w-full sm:w-auto px-6 py-3 rounded-xl font-bold text-white bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600",children:"Connect Wallet"})]})]})}),A.jsxs("div",{className:"flex flex-col items-center justify-start gap-3 sm:gap-6 px-4 sm:px-6 py-2 sm:py-6 pb-20 sm:pb-32 w-full",children:[A.jsxs(ue.div,{initial:{scale:0,rotate:180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:100,damping:15,delay:.2},className:"relative",children:[A.jsx("div",{className:"w-14 h-14 sm:w-20 sm:h-20 md:w-24 md:h-24 rounded-full bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 p-1 shadow-2xl",children:A.jsx("div",{className:"w-full h-full rounded-full bg-gradient-to-br from-purple-900 to-indigo-900 flex items-center justify-center",children:A.jsx("span",{className:"text-2xl sm:text-3xl md:text-4xl",children:"â¨"})})}),A.jsx(ue.div,{className:"absolute inset-0 rounded-full bg-gradient-to-br from-purple-500 to-cyan-500 blur-2xl opacity-60",animate:{scale:[1,1.3,1],opacity:[.6,.3,.6]},transition:{duration:2,repeat:1/0}})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20}
18800,animate:{opacity:1,y:0},transition:{delay:.4},className:"text-center space-y-1 sm:space-y-3",children:[A.jsx("h1",{className:"text-white text-2xl sm:text-3xl md:text-5xl",children:"What a year!"}),A.jsxs("p",{className:"text-transparent bg-gradient-to-r from-purple-400 via-fuchsia-400 to-cyan-400 bg-clip-text text-base sm:text-lg md:text-2xl",children:["Thank you for being part",A.jsx("br",{}),"of the Farcaster community"]})]}),m&&A.jsx(ue.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.5,type:"spring",stiffness:100},className:"text-center w-full max-w-xs sm:max-w-sm mx-auto",children:A.jsxs("div",{className:`p-3 sm:p-5 rounded-2xl border-2 backdrop-blur-xl ${m.tier==="platinum"?"bg-gradient-to-br from-cyan-500/20 via-blue-500/20 to-purple-500/20 border-cyan-400/50 shadow-cyan-500/30":m.tier==="gold"?"bg-gradient-to-br from-yellow-500/20 via-orange-500/20 to-amber-500/20 border-yellow-400/50 shadow-yellow-500/30":m.tier==="silver"?"bg-gradient-to-br from-gray-400/20 via-gray-500/20 to-gray-600/20 border-gray-400/50 shadow-gray-400/30":"bg-gradient-to-br from-purple-500/20 via-pink-500/20 to-fuchsia-500/20 border-purple-400/50 shadow-purple-500/30"} shadow-2xl`,children:[A.jsx("p",{className:"text-white/70 text-[10px] sm:text-xs mb-1 sm:mb-2 uppercase tracking-wider",children:"Your 2025 NFT Tier"}),A.jsx("p",{className:`text-2xl sm:text-3xl font-bold mb-1 ${m.tier==="platinum"?"bg-gradient-to-r from-cyan-400 via-blue-400 to-purple-400 bg-clip-text text-transparent":m.tier==="gold"?"bg-gradient-to-r from-yellow-400 via-orange-400 to-amber-400 bg-clip-text text-transparent":m.tier==="silver"?"bg-gradient-to-r from-gray-300 via-gray-400 to-gray-500 bg-clip-text text-transparent":"bg-gradient-to-r from-purple-400 via-pink-400 to-fuchsia-400 bg-clip-text text-transparent"}`,children:m.name}),A.jsxs("p",{className:"text-white/60 text-[10px] sm:text-xs mb-1",children:["Score: ",A.jsxs("span",{className:"text-white font-semibold",children:[(m.score*100).toFixed(1),"%"]})]}),A.jsx("p",{className:"text-white/70 text-xs sm:text-sm leading-relaxed line-clamp-2",children:m.description})]})}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},className:"w-full max-w-xs sm:max-w-sm px-2 sm:px-4 space-y-2 sm:space-y-3",children:[A.jsxs(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:k,disabled:u||l||!n||!e,className:"w-full relative group overflow-hidden disabled:opacity-50 disabled:cursor-not-allowed",children:[A.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-purple-500 via-fuchsia-500 to-cyan-500 rounded-2xl"}),A.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-purple-600 via-fuchsia-600 to-cyan-600 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity"}),A.jsxs("div",{className:"relative px-6 py-4 sm:px-8 sm:py-5 flex items-center justify-center gap-3",children:[A.jsx(qL,{className:"w-4 h-4 sm:w-5 sm:h-5 text-white"}),A.jsx("span",{className:"text-white tracking-wide text-sm sm:text-base",children:u?"Sharing...":"Share Your Wrapped"})]}),A.jsx(ue.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent",animate:{x:["-200%","200%"]},transition:{duration:2,repeat:1/0,repeatDelay:1}})]}),A.jsxs(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:M,disabled:g||!m||!r||b,className:"w-full relative group overflow-hidden disabled:opacity-50 disabled:cursor-not-allowed",children:[A.jsx("div",{className:`absolute inset-0 rounded-2xl ${m?.tier==="foil"?"bg-gradient-to-r from-cyan-500 via-blue-500 to-cyan-500":m?.tier==="silver"?"bg-gradient-to-r from-gray-400 via-gray-300 to-gray-400":m?.tier==="gold"?"bg-gradient-to-r from-yellow-500 via-amber-500 to-yellow-500":"bg-gradient-to-r from-emerald-500 via-teal-500 to-cyan-500"}`}),A.jsx("div",{className:`absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity ${m?.tier==="foil"?"bg-gradient-to-r from-cyan-600 via-blue-600 to-cyan-600":m?.tier==="silver"?"bg-gradient-to-r from-gray-500 via-gray-400 to-gray-500":m?.tier==="gold"?"bg-gradient-to-r from-yellow-600 via-amber-600 to-yellow-600":"bg-gradient-to-r from-emerald-600 via-teal-600 to-cyan-600"}`}),A.jsxs("div",{className:"relative px-6 py-4 sm:px-8 sm:py-5 flex items-center justify-center gap-3",children:[A.jsx(FL,{className:"w-4 h-4 sm:w-5 sm:h-5 text-white"}),A.jsx("span",{className:"text-white tracking-wide text-sm sm:text-base",children:b?"already minted":g?"Minting...":`Mint ${m?.name||"NFT"} ⢠${Sq().display}`})]}),A.jsx(ue.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent",animate:{x:["-200%","200%"]},transition:{duration:2,repeat:1/0,repeatDelay:1,delay:.5}})]}),A.jsxs(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:V,disabled:l||!n||!e,className:"w-full px-6 py-4 sm:px-8 sm:py-5 rounded-2xl bg-white/10 backdrop-blur-xl border border-white/20 flex items-center justify-center gap-3 hover:bg-white/15 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[A.jsx(aZ,{className:"w-4 h-4 sm:w-5 sm:h-5 text-white"}),A.jsx("span",{className:"text-white tracking-wide text-sm sm:text-base",children:l?"Generating...":"Download as Image"})]}),w&&A.jsxs(ue.div,{initial:{opacity:0,y:10}
18800,animate:{opacity:1,y:0},className:`px-4 py-3 rounded-xl ${w.success?"bg-emerald-500/20 border border-emerald-500/50":"bg-red-500/20 border border-red-500/50"}`,children:[A.jsx("p",{className:`text-sm text-center ${w.success?"text-emerald-300":"text-red-300"}`,children:w.message}),w.success&&w.txHash&&A.jsx("a",{href:`https://basescan.org/tx/${w.txHash}`,target:"_blank",rel:"noopener noreferrer",className:"text-emerald-300 text-xs underline mt-2 block text-center",children:"View on Basescan"})]})]}),f&&f.imageUrl&&f.imageUrl.trim()!==""&&A.jsxs(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.9},className:"relative",children:[A.jsxs("div",{className:"relative w-32 h-32 sm:w-40 sm:h-40 mx-auto rounded-xl overflow-hidden border-2 border-white/20 shadow-xl",children:[A.jsx("img",{src:f.imageUrl,alt:f.name||"Your Warplet",className:"w-full h-full object-contain",onError:C=>{console.warn("â ï¸ Warplet image failed to load:",f.imageUrl),C.target.style.display="none"},onLoad:()=>{console.log("â
Warplet image loaded successfully:",f.imageUrl)}}),A.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"})]}),A.jsx(ue.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:1.1},className:"text-white/60 text-xs mt-2 text-center",children:"Your Warplet"})]}),A.jsxs(ue.div,{initial:{opacity:0}
18800,animate:{opacity:1},transition:{delay:.8},className:"text-center space-y-2",children:[A.jsx("p",{className:"text-white/40 text-sm",children:"Here's to an even better 2025 ð"}),A.jsx("p",{className:"text-white/20 text-xs uppercase tracking-wider",children:"Made with love"})]}),A.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:[...Array(h.confettiCount)].map((C,q)=>A.jsx(ue.div,{className:"absolute w-2 h-2 rounded-full will-change-transform",style:{left:`${Math.random()*100}%`,top:"-10%",background:["#a855f7","#ec4899","#06b6d4","#8b5cf6"][Math.floor(Math.random()*4)]},animate:{y:["0vh","110vh"],x:[0,(Math.random()-.5)*100],rotate:[0,Math.random()*360],opacity:[1,.8,0]},transition:{duration:3+Math.random()*2,repeat:1/0,delay:Math.random()*3,ease:"linear"}},q))}),K&&j&&A.jsx(Gq,{open:K,onOpenChange:U,children:A.jsxs(Kq,{className:"max-w-4xl bg-black/95 border-white/20",children:[A.jsxs(Yq,{children:[A.jsx(Jq,{className:"text-white",children:"Your Farcaster Wrapped 2025"}),A.jsx(Qq,{className:"text-white/60",children:'Right-click the image and select "Save image" to download'})]}),A.jsx("div",{className:"relative w-full",children:A.jsx("img",{src:j,alt:"Farcaster Wrapped 2025",className:"w-full h-auto rounded-lg"})}),A.jsx(Zq,{children:A.jsx(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:()=>U(!1),className:"px-6 py-2 rounded-xl bg-white/10 backdrop-blur-xl border border-white/20 text-white hover:bg-white/15 transition-colors",children:"Close"})})]})})]})]})}function xfe({error:e,onRetry:t}){return A.jsx("div",{className:"flex items-center justify-center min-h-screen p-4",children:A.jsxs(ue.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},className:"max-w-md w-full text-center space-y-6",children:[A.jsx(ue.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:200,damping:15,delay:.2},className:"flex justify-center",children:A.jsxs("div",{className:"relative",children:[A.jsx(ue.div,{animate:{scale:[1,1.1,1],opacity:[.3,.5,.3]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute inset-0 rounded-full bg-red-500 blur-2xl"}),A.jsx(ML,{className:"relative w-20 h-20 text-red-400"})]})}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"space-y-4",children:[A.jsx("h2",{className:"text-white text-3xl font-bold",children:"Oops! Something went wrong"}),A.jsx("p",{className:"text-white/70 text-lg leading-relaxed",children:e.message||"Unable to load your Farcaster Wrapped stats right now."}),A.jsx("p",{className:"text-white/50 text-sm",children:"This usually happens when our data services are temporarily unavailable or overloaded."})]}),t&&A.jsxs(ue.button,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},onClick:t,className:"px-6 py-3 rounded-xl bg-white/10 backdrop-blur-xl border border-white/20 text-white hover:bg-white/15 transition-all flex items-center gap-2 mx-auto",children:[A.jsx(PP,{className:"w-5 h-5"}),A.jsx("span",{children:"Try Again"})]}),A.jsx(ue.div,{initial:{opacity:0}
18800,animate:{opacity:1},transition:{delay:.7},className:"pt-6 border-t border-white/10",children:A.jsx("p",{className:"text-white/40 text-xs",children:"ð¡ Tip: Try refreshing the page in a few minutes, or come back later when services are back online."})})]})})}function Efe(){const e=async()=>{const t="hey @thedude, @bribe my @quotient score is below 0.33 but I am definitely human and a wonderful user can you let me in to the mini app please and thank you",r=window.location.origin;try{if(Wt.actions?.composeCast)await Wt.actions.composeCast({text:t,embeds:[r]}),console.log("â
Opened native compose dialog with mini app embed");else if(Wt.actions?.openUrl){const n=new URL("https://warpcast.com/~/compose");n.searchParams.set("text",t),await Wt.actions.openUrl(n.toString())}else{const n=new URL("https://warpcast.com/~/compose");n.searchParams.set("text",t),window.open(n.toString(),"_blank")}}catch(n){console.error("â Error opening compose:",n);const a=new URL("https://warpcast.com/~/compose");a.searchParams.set("text",t),window.open(a.toString(),"_blank")}};return A.jsx("div",{className:"flex items-center justify-center min-h-screen p-4",children:A.jsxs(ue.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},className:"max-w-md w-full text-center space-y-8",children:[A.jsx(ue.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:200,damping:15,delay:.2},className:"flex justify-center",children:A.jsxs("div",{className:"relative",children:[A.jsx(ue.div,{animate:{scale:[1,1.1,1],opacity:[.3,.5,.3]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute inset-0 rounded-full bg-yellow-500 blur-2xl"}),A.jsx(BL,{className:"relative w-20 h-20 text-yellow-400"})]})}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"space-y-4",children:[A.jsx("h2",{className:"text-white text-3xl font-bold",children:"Access Restricted"}),A.jsx("p",{className:"text-white/70 text-lg leading-relaxed",children:"Your Quotient score is below the minimum threshold to access this experience."}),A.jsx("p",{className:"text-white/50 text-sm",children:"Want to request access? Share a cast tagging @thedude and @bribe!"})]}),A.jsxs(ue.button,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},onClick:e,className:"px-8 py-4 rounded-xl bg-gradient-to-r from-yellow-500 to-orange-500 hover:from-yellow-600 hover:to-orange-600 text-white font-semibold transition-all flex items-center gap-3 mx-auto shadow-lg shadow-yellow-500/30",children:[A.jsx(qL,{className:"w-5 h-5"}),A.jsx("span",{children:"Share & Request Access"})]}),A.jsxs(ue.div,{initial:{opacity:0}
18800,animate:{opacity:1},transition:{delay:.7},className:"pt-6 border-t border-white/10",children:[A.jsx("p",{className:"text-white/40 text-xs mb-2",children:"Preview:"}),A.jsx("div",{className:"bg-white/5 backdrop-blur-xl rounded-lg p-4 border border-white/10 text-left",children:A.jsx("p",{className:"text-white/70 text-sm",children:'"hey @thedude, @bribe my @quotient score is below 0.33 but I am definitely human and a wonderful user can you let me in to the mini app please and thank you"'})})]})]})})}function jfe({username:e}){return A.jsxs("div",{className:"min-h-screen w-full flex items-center justify-center p-6 relative overflow-hidden",children:[A.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-purple-900 via-indigo-900 to-blue-900"}),A.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-pink-500/20 via-transparent to-cyan-500/20 animate-pulse"}),A.jsx("div",{className:"absolute top-1/4 left-1/4 w-64 h-64 bg-purple-500/30 rounded-full blur-3xl animate-blob"}),A.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-64 h-64 bg-blue-500/30 rounded-full blur-3xl animate-blob animation-delay-2000"}),A.jsx("div",{className:"absolute top-1/2 right-1/3 w-48 h-48 bg-pink-500/20 rounded-full blur-3xl animate-blob animation-delay-4000"}),A.jsxs("div",{className:"relative z-10 text-center max-w-md mx-auto",children:[A.jsx("div",{className:"mb-8 flex justify-center",children:A.jsx("div",{className:"w-24 h-24 rounded-full bg-white/10 backdrop-blur-sm flex items-center justify-center border border-white/20",children:A.jsx(UL,{className:"w-12 h-12 text-white/80"})})}),A.jsxs("h1",{className:"text-3xl font-bold text-white mb-4",children:["Hey",e?` @${e}`:"","! ð"]}),A.jsxs("p",{className:"text-xl text-white/90 mb-6 leading-relaxed",children:["You casted less than ",A.jsx("span",{className:"font-bold text-cyan-300",children:"100 times"})," in 2025."]}),A.jsx("p",{className:"text-lg text-white/70 mb-8",children:"Keep casting and check back next year for your Wrapped! ð"}),A.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-2xl p-6 border border-white/20",children:[A.jsx("p",{className:"text-white/60 text-sm mb-2",children:"Farcaster Wrapped requires at least"}),A.jsx("p",{className:"text-2xl font-bold text-white",children:"100 casts in 2025"}),A.jsx("p",{className:"text-white/60 text-sm mt-2",children:"to generate your year in review"})]}),A.jsx("p",{className:"mt-8 text-white/50 text-sm",children:"Made with ð by @thedude & @bribe"})]}),A.jsx("style",{children:` 18801 @keyframes blob { 18802 0%, 100% { transform: translate(0, 0) scale(1); } 18803 25% { transform: translate(20px, -30px) scale(1.1); } 18804 50% { transform: translate(-20px, 20px) scale(0.9); } 18805 75% { transform: translate(30px, 10px) scale(1.05); } 18806 } 18807 .animate-blob { 18808 animation: blob 8s ease-in-out infinite; 18809 } 18810 .animation-delay-2000 { 18811 animation-delay: 2s; 18812 } 18813 .animation-delay-4000 { 18814 animation-delay: 4s; 18815 } 18816 `})]})}function Afe({current:e,total:t,onSlideClick:r,disabled:n=!1,previousSlide:a,direction:i=1,isManual:c=!1}){const[f,m]=te.useState({});return te.useEffect(()=>{if(!c||a===void 0)return;const h={};if(i===1)for(let u=a;u<e;u++)u>=0&&u<t&&(h[u]="fast-fill");else i===-1&&(a>=0&&a<t&&(h[a]="empty"),e>=0&&e<t&&(h[e]="empty"));m(h);const o=setTimeout(()=>{m({})},i===1?100:300);return()=>clearTimeout(o)},[e,a,i,t,c]),A.jsx("div",{className:"flex gap-1 px-6 pt-6 pb-4",children:[...Array(t)].map((h,l)=>{const o=l===e,u=l<e,p=f[l];let g,y,b=!1;return p==="fast-fill"?(g="100%",y=.05,b=!0):p==="empty"?(g="0%",y=.05,b=!0):u?(g="100%",y=0):o?p==="empty"?(g="0%",y=.05,b=!0):p==="fast-fill"?(g="100%",y=.05,b=!0):(g="100%",y=5,b=!0):(g="0%",y=.3),A.jsx("button",{onClick:x=>{x.stopPropagation(),n||r?.(l)},disabled:n,className:`flex-1 h-1 bg-white/10 rounded-full overflow-hidden transition-all ${n?"cursor-not-allowed opacity-50":"cursor-pointer hover:h-1.5"}`,"aria-label":`Go to slide ${l+1}`,title:n?"Please wait for data to load":`Go to slide ${l+1}`,children:A.jsx(ue.div,{className:"h-full bg-gradient-to-r from-purple-400 via-fuchsia-400 to-cyan-400 rounded-full",initial:b?{width:0}:!1,animate:{width:g},transition:{duration:y,ease:"linear"}},p==="fast-fill"?`fast-${l}-${e}`:`normal-${l}`)},l)})})}const vl={GRADIENT_BACKGROUND:0,CONTENT:10,MODALS:50,ADMIN_TOOLS:100}
18816,Xq=["from-purple-900 via-violet-800 to-indigo-900","from-indigo-900 via-purple-800 to-fuchsia-900","from-violet-900 via-blue-800 to-cyan-900","from-blue-900 via-indigo-800 to-purple-900","from-purple-900 via-pink-800 to-rose-900","from-fuchsia-900 via-purple-800 to-indigo-900","from-indigo-900 via-violet-800 to-purple-900"];function uv({currentSlide:e,needsScrolling:t=!1}){return A.jsxs("div",{className:"fixed inset-0 pointer-events-none","data-gradient-background":!0,style:{zIndex:vl.GRADIENT_BACKGROUND,height:t?"200vh":"100vh",position:"fixed"},children:[A.jsx(ue.div,{className:`absolute inset-0 bg-gradient-to-br ${Xq[e%Xq.length]}`,initial:{opacity:0},animate:{opacity:1},transition:{duration:1}},e),A.jsx(ue.div,{className:"absolute top-[-20%] right-[-10%] w-[60%] h-[60%] rounded-full bg-gradient-to-br from-purple-500/30 to-transparent blur-3xl",animate:{scale:[1,1.2,1],x:[0,30,0],y:[0,-20,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),A.jsx(ue.div,{className:"absolute bottom-[-20%] left-[-10%] w-[60%] h-[60%] rounded-full bg-gradient-to-tr from-blue-500/30 to-transparent blur-3xl",animate:{scale:[1,1.3,1],x:[0,-20,0],y:[0,30,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut",delay:1}}),A.jsx("div",{className:"absolute inset-0 opacity-[0.03] mix-blend-overlay",children:A.jsx("div",{className:"w-full h-full",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' /%3E%3C/svg%3E")`,backgroundRepeat:"repeat"}})})]})}function Pfe(){return A.jsxs("div",{className:"min-h-screen w-full flex items-center justify-center p-4",children:[A.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-pink-500 via-purple-600 to-indigo-700"}),A.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-purple-800/50 via-pink-600/50 to-cyan-500/30"}),A.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[A.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-purple-400/20 rounded-full blur-3xl animate-pulse"}),A.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-pink-400/20 rounded-full blur-3xl animate-pulse",style:{animationDelay:"1s"}}),A.jsx("div",{className:"absolute top-1/2 left-1/2 w-96 h-96 bg-cyan-400/20 rounded-full blur-3xl animate-pulse",style:{animationDelay:"2s"}})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"relative z-10 max-w-md w-full text-center",children:[A.jsx(ue.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:200},className:"flex justify-center mb-8",children:A.jsxs("div",{className:"relative",children:[A.jsx("div",{className:"absolute inset-0 bg-white/20 rounded-full blur-xl"}),A.jsx("div",{className:"relative bg-white/10 backdrop-blur-lg rounded-full p-6 border border-white/20",children:A.jsx(CZ,{className:"w-16 h-16 text-white"})})]})}),A.jsx(ue.h1,{initial:{opacity:0}
18816,animate:{opacity:1},transition:{delay:.4},className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Hey champ! ð"}),A.jsx(ue.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.6},className:"bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20 mb-8",children:A.jsx("p",{className:"text-white/90 text-lg leading-relaxed",children:"This mini app is designed to run inside Farcaster. Please open it as a mini app for the full experience."})}),A.jsx(ue.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},className:"flex justify-center",children:A.jsx("a",{href:"https://warpcast.com/~/mini-app?domain=farcaster-wrapped25.vercel.app",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-3 bg-purple-600 hover:bg-purple-500 rounded-xl text-white font-semibold transition-colors",children:"Open in Warpcast"})}),A.jsx(ue.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1},className:"mt-8 text-white/50 text-sm",children:"Thanks! ð"})]})]})}function Sfe(){const[e,t]=te.useState([]),[r,n]=te.useState(!0),[a,i]=te.useState("all"),[c,f]=te.useState(""),m=async()=>{try{n(!0);const y=await(await fetch("/api/analytics-store?limit=1000")).json();console.log("ð Analytics fetch response:",y),y.success?(t(y.events||[]),console.log(`â
Loaded ${y.events?.length||0} events (total: ${y.total||0})`)):console.warn("â ï¸ Analytics fetch returned success: false",y)}catch(g){console.error("â Error fetching events:",g)}finally{n(!1)}};te.useEffect(()=>{m();const g=setInterval(m,1e4);return()=>clearInterval(g)},[]);const h=ko.useMemo(()=>e.filter(g=>g.data?.error==="zero_stats_detected").map(g=>({fid:g.fid,username:g.username,timestamp:g.timestamp,failures:g.data?.failures||"",duneStats:{totalActivity:g.data?.duneTotalActivity||0,topLevelCasts:g.data?.duneTopLevelCasts||0,activeDays:g.data?.duneActiveDays||0}})).filter((g,y,b)=>b.findIndex(x=>x.fid===g.fid)===y).sort((g,y)=>new Date(y.timestamp).getTime()-new Date(g.timestamp).getTime()),[e]),l=ko.useMemo(()=>{const g=new Map;return e.forEach(y=>{g.has(y.fid)||g.set(y.fid,{fid:y.fid,username:y.username,displayName:y.displayName,minted:!1});const b=g.get(y.fid);switch(y.event){case"session_start":b.sessionStart=y.timestamp;break;case"tier_assigned":b.tier=y.data?.tier,b.tierName=y.data?.tierName,b.tierAssigned=y.timestamp;break;case"mint_attempt":b.mintAttempt=y.timestamp;break;case"mint_success":b.minted=!0,b.mintSuccess=y.timestamp,b.transactionHash=y.data?.transactionHash;break;case"mint_failed":b.mintFailed=y.timestamp;break;case"session_complete":b.sessionComplete=y.timestamp;break}}),Array.from(g.values()).filter(y=>c&&y.fid.toString()!==c?!1:a==="sessions"?y.sessionStart:a==="mints"?y.mintAttempt||y.minted:!0).sort((y,b)=>{const x=new Date(y.sessionStart||y.tierAssigned||0).getTime();return new Date(b.sessionStart||b.tierAssigned||0).getTime()-x})},[e,a,c]),o=ko.useMemo(()=>{const g=l.filter(E=>E.sessionStart).length,y=l.filter(E=>E.minted).length,b=l.filter(E=>E.mintAttempt).length,x=l.filter(E=>E.sessionComplete).length,w={platinum:l.filter(E=>E.tier==="platinum").length,gold:l.filter(E=>E.tier==="gold").length,silver:l.filter(E=>E.tier==="silver").length,foil:l.filter(E=>E.tier==="foil").length};return{totalSessions:g,totalMints:y,mintAttempts:b,completed:x,mintRate:g>0?(y/g*100).toFixed(1):"0",tierCounts:w}},[l]),u=g=>g?new Date(g).toLocaleString():"N/A",p=g=>{switch(g){case"platinum":return"bg-gradient-to-r from-cyan-500 to-blue-500";case"gold":return"bg-gradient-to-r from-yellow-500 to-amber-500";case"silver":return"bg-gradient-to-r from-gray-400 to-gray-300";case"foil":return"bg-gradient-to-r from-purple-500 to-pink-500";default:return"bg-gray-500"}};return A.jsx("div",{className:"min-h-screen bg-gradient-to-br from-gray-900 via-purple-900 to-gray-900 text-white p-6",children:A.jsxs("div",{className:"max-w-7xl mx-auto",children:[A.jsxs("div",{className:"flex items-center justify-between mb-8",children:[A.jsxs("div",{children:[A.jsx("h1",{className:"text-4xl font-bold mb-2",children:"Analytics Dashboard"}),A.jsx("p",{className:"text-gray-400",children:"Track user sessions and mint activity"})]}),A.jsxs(ue.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:m,disabled:r,className:"px-6 py-3 bg-purple-600 hover:bg-purple-700 rounded-xl flex items-center gap-2 disabled:opacity-50",children:[A.jsx(PP,{className:`w-5 h-5 ${r?"animate-spin":""}`}),"Refresh"]})]}),A.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20}
18816,animate:{opacity:1,y:0},className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20",children:[A.jsxs("div",{className:"flex items-center justify-between mb-4",children:[A.jsx(Av,{className:"w-8 h-8 text-purple-400"}),A.jsx("span",{className:"text-3xl font-bold",children:o.totalSessions})]}),A.jsx("p",{className:"text-gray-400",children:"Total Sessions"})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20",children:[A.jsxs("div",{className:"flex items-center justify-between mb-4",children:[A.jsx(EA,{className:"w-8 h-8 text-yellow-400"}),A.jsx("span",{className:"text-3xl font-bold",children:o.totalMints})]}),A.jsx("p",{className:"text-gray-400",children:"Successful Mints"}),A.jsxs("p",{className:"text-sm text-gray-500 mt-1",children:[o.mintRate,"% mint rate"]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20",children:[A.jsxs("div",{className:"flex items-center justify-between mb-4",children:[A.jsx(LL,{className:"w-8 h-8 text-green-400"}),A.jsx("span",{className:"text-3xl font-bold",children:o.completed})]}),A.jsx("p",{className:"text-gray-400",children:"Completed Sessions"})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20",children:[A.jsxs("div",{className:"flex items-center justify-between mb-4",children:[A.jsx(NL,{className:"w-8 h-8 text-cyan-400"}),A.jsx("span",{className:"text-3xl font-bold",children:o.mintAttempts})]}),A.jsx("p",{className:"text-gray-400",children:"Mint Attempts"})]})]}),A.jsxs("div",{className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20 mb-8",children:[A.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Tier Distribution"}),A.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:Object.entries(o.tierCounts).map(([g,y])=>A.jsxs("div",{className:"text-center",children:[A.jsx("div",{className:`${p(g)} rounded-lg p-4 mb-2`,children:A.jsx("span",{className:"text-3xl font-bold text-white",children:y})}),A.jsx("p",{className:"text-gray-400 capitalize",children:g})]},g))})]}),h.length>0&&A.jsxs("div",{className:"bg-red-500/20 backdrop-blur-xl rounded-2xl p-6 border border-red-500/50 mb-8",children:[A.jsxs("h2",{className:"text-2xl font-bold mb-4 text-red-300",children:["â ï¸ Zero Stats Issues (",h.length,")"]}),A.jsx("p",{className:"text-red-200/80 text-sm mb-4",children:"Users who received all zero stats. Check browser console for these FIDs to diagnose."}),A.jsxs("div",{className:"space-y-2 max-h-64 overflow-y-auto",children:[h.slice(0,10).map(g=>A.jsxs("div",{className:"bg-black/30 rounded-lg p-3 text-sm",children:[A.jsxs("div",{className:"flex items-center justify-between mb-1",children:[A.jsxs("span",{className:"font-mono text-red-300",children:["FID: ",g.fid]}),A.jsx("span",{className:"text-red-200/60 text-xs",children:new Date(g.timestamp).toLocaleString()})]}),g.username&&A.jsxs("div",{className:"text-red-200/80 mb-1",children:["@",g.username]}),A.jsxs("div",{className:"text-red-200/60 text-xs",children:["Failures: ",g.failures||"None logged"]}),A.jsxs("div",{className:"text-red-200/60 text-xs mt-1",children:["Dune: ",g.duneStats.totalActivity," activity, ",g.duneStats.topLevelCasts," casts, ",g.duneStats.activeDays," active days"]}),A.jsx("a",{href:`/api/diagnose-user?fid=${g.fid}`,target:"_blank",rel:"noopener noreferrer",className:"text-red-300 hover:text-red-200 text-xs underline mt-1 inline-block",children:"Run Diagnostic â"})]},g.fid)),h.length>10&&A.jsxs("p",{className:"text-red-200/60 text-xs text-center mt-2",children:["... and ",h.length-10," more"]})]})]}),A.jsx("div",{className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20 mb-6",children:A.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[A.jsx("div",{className:"flex-1",children:A.jsxs("div",{className:"relative",children:[A.jsx(kZ,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"}),A.jsx("input",{type:"text",placeholder:"Search by FID...",value:c,onChange:g=>f(g.target.value),className:"w-full pl-10 pr-4 py-2 bg-black/30 border border-white/20 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:border-purple-500"})]})}),A.jsx("div",{className:"flex gap-2",children:["all","sessions","mints"].map(g=>A.jsx("button",{onClick:()=>i(g),className:`px-4 py-2 rounded-lg capitalize transition-colors ${a===g?"bg-purple-600 text-white":"bg-white/10 text-gray-400 hover:bg-white/20"}`,children:g},g))})]})}),e.length===0&&!r&&A.jsxs("div",{className:"bg-yellow-500/20 backdrop-blur-xl rounded-2xl p-6 border border-yellow-500/50 mb-6",children:[A.jsx("h3",{className:"text-lg font-bold text-yellow-300 mb-2",children:"No Events Yet"}),A.jsx("p",{className:"text-yellow-200/80 text-sm mb-2",children:"The dashboard is working, but no anal
18816ytics events have been stored yet."}),A.jsx("p",{className:"text-yellow-200/60 text-xs",children:"Events will appear here when users interact with the app. Try using the app yourself to generate test events!"}),A.jsx("p",{className:"text-yellow-200/60 text-xs mt-2",children:"Check browser console (F12) for detailed logs about event fetching."})]}),A.jsxs("div",{className:"bg-white/10 backdrop-blur-xl rounded-2xl border border-white/20 overflow-hidden",children:[A.jsxs("div",{className:"p-6 border-b border-white/20",children:[A.jsxs("h2",{className:"text-2xl font-bold",children:["User Sessions (",l.length,")"]}),e.length>0&&A.jsxs("p",{className:"text-sm text-gray-400 mt-1",children:["Showing ",l.length," unique users from ",e.length," total events"]})]}),A.jsx("div",{className:"overflow-x-auto",children:A.jsxs("table",{className:"w-full",children:[A.jsx("thead",{className:"bg-white/5",children:A.jsxs("tr",{children:[A.jsx("th",{className:"px-6 py-4 text-left text-gray-400 font-semibold",children:"FID"}),A.jsx("th",{className:"px-6 py-4 text-left text-gray-400 font-semibold",children:"User"}),A.jsx("th",{className:"px-6 py-4 text-left text-gray-400 font-semibold",children:"Tier"}),A.jsx("th",{className:"px-6 py-4 text-left text-gray-400 font-semibold",children:"Status"}),A.jsx("th",{className:"px-6 py-4 text-left text-gray-400 font-semibold",children:"Started"}),A.jsx("th",{className:"px-6 py-4 text-left text-gray-400 font-semibold",children:"Completed"})]})}),A.jsx("tbody",{children:l.length===0?A.jsx("tr",{children:A.jsx("td",{colSpan:6,className:"px-6 py-12 text-center text-gray-500",children:r?"Loading...":"No sessions found"})}):l.map((g,y)=>A.jsxs(ue.tr,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:y*.05},className:"border-b border-white/10 hover:bg-white/5",children:[A.jsx("td",{className:"px-6 py-4 font-mono",children:g.fid}),A.jsx("td",{className:"px-6 py-4",children:A.jsxs("div",{children:[A.jsx("div",{className:"font-semibold",children:g.displayName||g.username||"Unknown"}),g.username&&g.username!==g.displayName&&A.jsxs("div",{className:"text-sm text-gray-500",children:["@",g.username]})]})}),A.jsx("td",{className:"px-6 py-4",children:g.tierName?A.jsx("span",{className:`${p(g.tier)} px-3 py-1 rounded-full text-sm font-semibold text-white`,children:g.tierName}):A.jsx("span",{className:"text-gray-500",children:"-"})}),A.jsx("td",{className:"px-6 py-4",children:A.jsxs("div",{className:"flex flex-col gap-1",children:[g.minted?A.jsx("span",{className:"text-green-400 text-sm",children:"â Minted"}):g.mintAttempt?A.jsx("span",{className:"text-yellow-400 text-sm",children:"Attempted"}):A.jsx("span",{className:"text-gray-500 text-sm",children:"-"}),g.transactionHash&&A.jsx("a",{href:`https://basescan.org/tx/${g.transactionHash}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-purple-400 hover:underline",children:"View TX"})]})}),A.jsx("td",{className:"px-6 py-4 text-sm text-gray-400",children:u(g.sessionStart)}),A.jsx("td",{className:"px-6 py-4 text-sm text-gray-400",children:g.sessionComplete?A.jsxs("span",{className:"text-green-400",children:["â ",u(g.sessionComplete)]}):A.jsx("span",{className:"text-gray-500",children:"-"})})]},g.fid))})]})})]})]})})}function kfe(){const[e,t]=te.useState(!1),[r,n]=te.useState(""),[a,i]=te.useState(!1),[c,f]=te.useState(null),[m,h]=te.useState(""),[l,o]=te.useState(""),[u,p]=te.useState(""),[g,y]=te.useState(""),[b,x]=te.useState("general"),[w,E]=te.useState(!1),[j,T]=te.useState(!1),[F,z]=te.useState(null),[K,U]=te.useState(null),[H,V]=te.useState(!1),[Z,R]=te.useState([]),[_,k]=te.useState(!1),[M,B]=te.useState(""),[C,q]=te.useState([]);te.useEffect(()=>{W()},[]);const W=async()=>{try{const ye=await fetch("/api/notifications/auth");if(!ye.ok)return;(await ye.json())?.authenticated&&(t(!0),O())}catch{}},I=async ye=>{ye.preventDefault(),i(!0),f(null);try{(await(await fetch("/api/notifications/auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:r})})).json()).authenticated?(t(!0),n(""),O()):f("Invalid password")}catch(de){f(de.message||"Failed to authenticate")}finally{i(!1)}},S=async()=>{try{await fetch("/api/notifications/auth",{method:"DELETE"})}catch{}t(!1),n("")},O=async()=>{k(!0);try{const ye=await fetch("/api/allowlist");if(console.log("[FRONTEND] loadAllowlist response:",{status:ye.status,ok:ye.ok,statusText:ye.statusText}),!ye.ok){console.error("Failed to load allowlist: HTTP",ye.status),R([]);return}const de=await ye.json();R(Array.isArray(de.details)?de.details:[])}catch(ye){console.error("Failed to load allowlist:",ye),R([])}finally{k(!1)}},Y=async()=>{V(!0);try{const ye=await fetch("/api/notifications/user-stats");if(!ye.ok){console.error("Failed to load user stats: HTTP",ye.status);return}const de=await ye.json();de&&typeof de.totalUsers=="number"?U(de):console.error("Invalid user stats data:",de)}catch(ye){console.error("Failed to load user stats:",ye)}finally{V(!1)}},Q=async()=>
18816{if(!m||!l){f("Title and body are required");return}const ye=w?K?.newUsers||0:K?.totalUsers||0,de=w?`Send notification to ${ye} NEW users (who haven't received a '${b}' notification)?`:`Send notification to ALL ${ye} users?`;if(window.confirm(de)){T(!0),f(null),z(null);try{const Se=await fetch("/api/notifications/send-all",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:m,body:l,url:u||void 0,notification_type:b,only_new_users:w})}),Oe=await Se.json();Se.ok&&Oe.success?(z(Oe),h(""),o(""),p(""),x("general"),E(!1),Y()):f(Oe.error||"Failed to send notifications")}catch(Se){f(Se.message||"Failed to send notifications")}finally{T(!1)}}},ne=async ye=>{ye.preventDefault(),T(!0),f(null),z(null);try{const de=g.split(/[,\n]/).map(Be=>parseInt(Be.trim())).filter(Be=>!isNaN(Be)&&Be>0);if(de.length===0){f("Please enter at least one valid FID"),T(!1);return}const Se=await fetch("/api/notifications/send",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fids:de,title:m,body:l,url:u||void 0})}),Oe=await Se.json();Se.ok&&Oe.success?(z(Oe),h(""),o(""),p(""),y("")):f(Oe.error||"Failed to send notifications")}catch(de){f(de.message||"Failed to send notifications")}finally{T(!1)}},oe=async()=>{if(!M.trim())return;const ye=M.split(/[,\n]/).map(de=>parseInt(de.trim())).filter(de=>!isNaN(de)&&de>0);if(ye.length===0){f("Please enter at least one valid FID");return}k(!0),f(null);try{const de=await fetch("/api/allowlist",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fids:ye})}),Se=await de.json();de.ok&&Se.success?(B(""),O()):f(Se.error||"Failed to add to allowlist")}catch(de){f(de.message||"Failed to add to allowlist")}finally{k(!1)}},ge=async()=>{if(C.length!==0){k(!0),f(null);try{const ye=await fetch("/api/allowlist",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({fids:C})}),de=await ye.json();ye.ok&&de.success?(q([]),O()):f(de.error||"Failed to remove from allowlist")}catch(ye){f(ye.message||"Failed to remove from allowlist")}finally{k(!1)}}},we=()=>{const ye=Z.map(de=>de.fid).join(",");navigator.clipboard.writeText(ye),alert("FIDs copied to clipboard!")},Ue=()=>{const ye=Z.map(de=>de.fid).join(",");y(ye)};return e?A.jsx("div",{className:"min-h-screen bg-gradient-to-br from-purple-900 via-blue-900 to-black p-4",children:A.jsxs("div",{className:"max-w-6xl mx-auto",children:[A.jsxs("div",{className:"flex items-center justify-between mb-8",children:[A.jsx("h1",{className:"text-3xl font-bold text-white",children:"Notification Admin"}),A.jsx("button",{onClick:S,className:"px-4 py-2 bg-red-600 hover:bg-red-700 rounded-lg text-white text-sm",children:"Logout"})]}),c&&A.jsxs(ue.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"mb-6 bg-red-500/20 border border-red-500/50 rounded-lg p-4 text-red-200 flex items-center gap-2",children:[A.jsx(ML,{className:"w-5 h-5"}),c]}),F&&A.jsxs(ue.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"mb-6 bg-green-500/20 border border-green-500/50 rounded-lg p-4 text-green-200",children:[A.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[A.jsx($Y,{className:"w-5 h-5"}),A.jsx("span",{className:"font-semibold",children:"Notifications Sent!"})]}),A.jsxs("div",{className:"text-sm space-y-1",children:[A.jsxs("p",{children:["Total FIDs: ",F.totalFids]}),A.jsxs("p",{children:["Batches: ",F.batches]}),A.jsxs("p",{className:"font-semibold text-green-300",children:["â
Delivered: ",F.totalDelivered||0]}),(F.totalNotDelivered||0)>0&&A.jsxs("p",{className:"font-semibold text-yellow-300",children:["â ï¸ Not Delivered: ",F.totalNotDelivered,A.jsx("span",{className:"text-xs block mt-1 text-yellow-200",children:"(Users haven't added the miniapp or notifications are disabled)"})]}),A.jsxs("p",{children:["Errors: ",F.errorCount||0]}),F.errorDetails&&F.errorDetails.length>0&&A.jsxs("details",{className:"mt-2",children:[A.jsx("summary",{className:"cursor-pointer text-red-300",children:"View Error Details"}),A.jsx("pre",{className:"mt-2 text-xs bg-black/30 p-2 rounded overflow-auto max-h-40",children:JSON.stringify(F.errorDetails,null,2)})]}),F.recipients&&F.recipients.length>0&&A.jsxs("details",{className:"mt-3",children:[A.jsxs("summary",{className:"cursor-pointer text-blue-300 font-semibold",children:["ð¥ View Recipients (",F.recipients.length,")"]}),A.jsx("div",{className:"mt-3 max-h-60 overflow-auto bg-black/30 rounded p-3",children:A.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:F.recipients.map(ye=>A.jsxs("div",{className:"text-xs bg-white/5 rounded px-2 py-1.5 flex items-center gap-2",children:[A.jsxs("span",{className:"text-gray-400",children:["FID ",ye.fid]}),A.jsxs("span",{className:"text-white",children:["@",ye.username]}),ye.displayName&&A.jsxs("span",{className:"text-gray-300 truncate",children:["(",ye.dis
18816playName,")"]})]},ye.fid))})})]})]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"mb-6 bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20",children:[A.jsxs("div",{className:"flex items-center justify-between mb-4",children:[A.jsxs("h2",{className:"text-xl font-bold text-white flex items-center gap-2",children:[A.jsx(Av,{className:"w-5 h-5"}),"User Statistics"]}),A.jsxs("button",{onClick:Y,disabled:H,className:"px-3 py-1 bg-blue-600 hover:bg-blue-700 rounded text-white text-sm flex items-center gap-1 disabled:opacity-50",children:[H?A.jsx(ol,{className:"w-4 h-4 animate-spin"}):"ð"," Refresh"]})]}),H?A.jsx("div",{className:"flex items-center justify-center py-4",children:A.jsx(ol,{className:"w-6 h-6 animate-spin text-white"})}):K?A.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[A.jsxs("div",{className:"bg-white/5 rounded-lg p-4",children:[A.jsx("div",{className:"text-white/60 text-sm mb-1",children:"Total Users"}),A.jsx("div",{className:"text-3xl font-bold text-white",children:K.totalUsers.toLocaleString()}),A.jsx("div",{className:"text-white/50 text-xs mt-1",children:"All app visitors"})]}),A.jsxs("div",{className:"bg-white/5 rounded-lg p-4",children:[A.jsx("div",{className:"text-white/60 text-sm mb-1",children:"Notified"}),A.jsx("div",{className:"text-3xl font-bold text-green-400",children:K.notifiedUsers.toLocaleString()}),A.jsx("div",{className:"text-white/50 text-xs mt-1",children:"Received notifications"})]}),A.jsxs("div",{className:"bg-white/5 rounded-lg p-4",children:[A.jsx("div",{className:"text-white/60 text-sm mb-1",children:"New Users"}),A.jsx("div",{className:"text-3xl font-bold text-blue-400",children:K.newUsers.toLocaleString()}),A.jsx("div",{className:"text-white/50 text-xs mt-1",children:"Never notified"})]})]}):A.jsx("div",{className:"text-white/50 text-sm",children:"Click refresh to load stats"})]}),A.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20",children:[A.jsxs("h2",{className:"text-xl font-bold text-white mb-4 flex items-center gap-2",children:[A.jsx(PO,{className:"w-5 h-5"}),"Send Notifications"]}),A.jsxs("form",{onSubmit:ne,className:"space-y-4",children:[A.jsxs("div",{children:[A.jsx("label",{className:"block text-white/70 text-sm mb-2",children:"Title (max 32 chars)"}),A.jsx("input",{type:"text",value:m,onChange:ye=>h(ye.target.value),maxLength:32,className:"w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"Notification title",required:!0}),A.jsxs("p",{className:"text-xs text-white/50 mt-1",children:[m.length,"/32"]})]}),A.jsxs("div",{children:[A.jsx("label",{className:"block text-white/70 text-sm mb-2",children:"Body"}),A.jsx("textarea",{value:l,onChange:ye=>o(ye.target.value),rows:4,className:"w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"Notification message",required:!0})]}),A.jsxs("div",{children:[A.jsx("label",{className:"block text-white/70 text-sm mb-2",children:"URL (optional)"}),A.jsx("input",{type:"url",value:u,onChange:ye=>p(ye.target.value),className:"w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"https://..."})]}),A.jsxs("div",{children:[A.jsx("label",{className:"block text-white/70 text-sm mb-2",children:"Notification Type"}),A.jsx("input",{type:"text",value:b,onChange:ye=>x(ye.target.value),className:"w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"general, announcement, update, etc."}),A.jsx("p",{className:"text-xs text-white/50 mt-1",children:"Used to track which users received this type of notification"})]}),A.jsxs("div",{children:[A.jsx("label",{className:"block text-white/70 text-sm mb-2",children:"Target FIDs (comma or newline separated)"}),A.jsx("textarea",{value:g,onChange:ye=>y(ye.target.value),rows:4,className:"w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-purple-500 font-mono text-sm",placeholder:"12345, 67890, 11111",required:!0}),Z.length>0&&A.jsx("div",{className:"mt-2 flex gap-2",children:A.jsxs("button",{type:"button",onClick:Ue,className:"text-xs px-3 py-1 bg-purple-600 hover:bg-purple-700 rounded text-white",children:["Use Allowlist (",Z.length," FIDs)"]})})]}),A.jsxs("div",{className:"border-t border-white/20 pt-4",children:[A.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[A.jsx(AO,{className:"w-4 h-4 text-white/70"}),A.jsx("span",{className:"text-white/70 text-sm font-semibold",children:"Or send to all users:"})]}),A.jsxs("label",{className:"flex items-center gap-2 mb-3 cursor-pointer",children:[A.jsx("input",{type:"checkbox",checked:w,onChange:ye=>E(ye.target.checked),className:"rounded"}),A.jsxs("span",{className:"text-white text-sm",children:["Only send to new users (",K?.newUsers?.toLocaleStr
18816ing()||"..."," users)"]})]}),A.jsx("button",{type:"button",onClick:Q,disabled:j||!m||!l,className:"w-full py-3 bg-blue-600 hover:bg-blue-700 rounded-lg text-white font-semibold transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:j?A.jsxs(A.Fragment,{children:[A.jsx(ol,{className:"w-5 h-5 animate-spin"}),"Sending to All..."]}):A.jsxs(A.Fragment,{children:[A.jsx(AO,{className:"w-5 h-5"}),"Send to ",w?"New":"All"," Users (",w?K?.newUsers?.toLocaleString():K?.totalUsers?.toLocaleString()," users)"]})})]}),A.jsx("button",{type:"submit",disabled:j,className:"w-full py-3 bg-purple-600 hover:bg-purple-700 rounded-lg text-white font-semibold transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:j?A.jsxs(A.Fragment,{children:[A.jsx(ol,{className:"w-5 h-5 animate-spin"}),"Sending..."]}):A.jsxs(A.Fragment,{children:[A.jsx(PO,{className:"w-5 h-5"}),"Send Notifications"]})})]})]}),A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white/10 backdrop-blur-xl rounded-2xl p-6 border border-white/20",children:[A.jsxs("h2",{className:"text-xl font-bold text-white mb-4 flex items-center gap-2",children:[A.jsx(Av,{className:"w-5 h-5"}),"Allowlist Management"]}),A.jsxs("div",{className:"mb-6 space-y-2",children:[A.jsx("label",{className:"block text-white/70 text-sm",children:"Add FID(s) (comma or newline separated)"}),A.jsxs("div",{className:"flex gap-2",children:[A.jsx("input",{type:"text",value:M,onChange:ye=>B(ye.target.value),className:"flex-1 px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-purple-500 font-mono text-sm",placeholder:"12345, 67890"}),A.jsxs("button",{onClick:oe,disabled:_||!M.trim(),className:"px-4 py-2 bg-green-600 hover:bg-green-700 rounded-lg text-white disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",children:[A.jsx(DL,{className:"w-4 h-4"}),"Add"]})]})]}),A.jsxs("div",{className:"mb-4",children:[A.jsxs("div",{className:"flex items-center justify-between mb-2",children:[A.jsxs("span",{className:"text-white/70 text-sm",children:["Allowlisted FIDs (",Z.length,")"]}),A.jsxs("div",{className:"flex gap-2",children:[A.jsxs("button",{onClick:we,className:"text-xs px-2 py-1 bg-blue-600 hover:bg-blue-700 rounded text-white flex items-center gap-1",children:[A.jsx(rZ,{className:"w-3 h-3"}),"Copy"]}),C.length>0&&A.jsxs("button",{onClick:ge,disabled:_,className:"text-xs px-2 py-1 bg-red-600 hover:bg-red-700 rounded text-white flex items-center gap-1 disabled:opacity-50",children:[A.jsx(qZ,{className:"w-3 h-3"}),"Remove Selected (",C.length,")"]})]})]}),_?A.jsx("div",{className:"flex items-center justify-center py-8",children:A.jsx(ol,{className:"w-6 h-6 animate-spin text-white"})}):Z.length===0?A.jsx("div",{className:"text-white/50 text-sm py-4 text-center",children:"No FIDs in allowlist"}):A.jsx("div",{className:"max-h-64 overflow-y-auto bg-black/20 rounded-lg p-3 space-y-1",children:Array.isArray(Z)&&Z.map(ye=>A.jsxs("label",{className:"flex items-center gap-2 p-2 hover:bg-white/5 rounded cursor-pointer",children:[A.jsx("input",{type:"checkbox",checked:C.includes(ye.fid),onChange:de=>{de.target.checked?q([...C,ye.fid]):q(C.filter(Se=>Se!==ye.fid))},className:"rounded"}),A.jsx("span",{className:"text-white font-mono text-sm",children:ye.fid}),ye.added_at&&A.jsx("span",{className:"text-white/50 text-xs",children:new Date(ye.added_at).toLocaleDateString()})]},ye.fid))})]})]})]})]})}):A.jsx("div",{className:"min-h-screen bg-gradient-to-br from-purple-900 via-blue-900 to-black flex items-center justify-center p-4",children:A.jsxs(ue.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"bg-white/10 backdrop-blur-xl rounded-2xl p-8 max-w-md w-full border border-white/20",children:[A.jsx("div",{className:"flex items-center justify-center mb-6",children:A.jsx(BL,{className:"w-12 h-12 text-white"})}),A.jsx("h1",{className:"text-2xl font-bold text-white text-center mb-6",children:"Notification Admin"}),A.jsxs("form",{onSubmit:I,className:"space-y-4",children:[A.jsxs("div",{children:[A.jsx("label",{className:"block text-white/70 text-sm mb-2",children:"Password"}),A.jsx("input",{type:"password",value:r,onChange:ye=>n(ye.target.value),className:"w-full px-4 py-3 bg-white/10 border border-white/20 rounded-lg text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"Enter admin password",required:!0,autoFocus:!0})]}),c&&A.jsx("div",{className:"bg-red-500/20 border border-red-500/50 rounded-lg p-3 text-red-200 text-sm",children:c}),A.jsx("button",{type:"submit",disabled:a,className:"w-full py-3 bg-purple-600 hover:bg-purple-700 rounded-lg text-white font-semibold transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:a?A.jsxs(A.Fragment,{children:[A.jsx(ol,{className:"w-5 h-5 animate-spin"}),"Authenticating..."]}):"Login"})]})]})})}const Gc=[lue,due,fue,hue,pue,mue,gue,bue,vue,wue,_ue,QV,xue,Eue,Aue,XV,Pue,Sue,Tue,_fe],lv=["Making Dan a Mole Verde","Scratching Bertwurst.eth's tummy","Rolling thedude and swim a joint","Torting some torts, shout-out mattlee","Orange-ing oranges for ali bey","Making a mate for Yerbearserker and Yon Frula","Pushing Push","Turning 0ffline 0nline","Raffling rafflecaster raffles","Feeding Pocki some bambooshoots","creating POIDH bounties"];function Tfe(){const e=window.location.pathname.replace(/\/$/,""),t=e==="/admin",r=e==="/admin/notifications",{isSDKLoaded:n,user:a,realFid:i}=Zl(),{loading:c,error:f,quotientScore:m,clearCachedData:h,nftTier:l,insufficientActivity:o,prepared:u,stats:p}=rn(),g=Cy(),[y,b]=te.useState(0),[x,w]=te.useState(1),[E,j]=te.useState(void 0),[T,F]=te.useState(!1),[z,K]=te.useState(!1),[U,H]=te.useState(0),[V,Z]=te.useState(null),[R,_]=te.useState(!1),[k,M]=te.useState(""),[B,C]=te.useState(!1),[q,W]=te.useState(!1),[I,S]=te.useState(!1),[O,Y]=te.useState(!1),[Q,ne]=te.useState(()=>typeof window>"u"?!0:localStorage.getItem("seen_nav_hint")!=="true"),[oe,ge]=te.useState(()=>new URLSearchParams(window.location.search).get("ready")==="true"),[we,Ue]=te.useState(!1),[ye,de]=te.useState(!1);te.useEffect(()=>{if(!Q&&typeof window<"u")try{localStorage.setItem("seen_nav_hint","true")}catch{}},[Q]);const[Se,Oe]=te.useState(!1),[Be,Pt]=te.useState(""),[Ge,ft]=te.useState(()=>{if(typeof window>"u")return[];const Re=localStorage.getItem("dynamic_whitelist");return Re?JSON.parse(Re):[]}),er=!1,dt=[1331766],vt=[...dt,...Ge],It=i?Number(i):null,Rt=It&&dt.includes(It),Nt=It===1331766,sr=n&&a?.fid,be=t||r,X=n&&!a?.fid&&!be;te.useEffect(()=>{n&&console.log("ð Maintenance check:",{isMaintenanceMode:er,realFid:i,userFid:a?.fid,realFidNum:It,canBypassMaintenance:Rt,isInFarcasterFrame:sr,isDirectLink:X,isSDKLoaded:n})},[n,i,a?.fid,It,Rt,sr,X]),te.useEffect(()=>{const Re=["/nft-platinum.mp4","/nft-gold.mp4","/nft-silver.mp4","/nft-foil.mp4"];window.__videosPreloaded||(console.log("ð¹ Preloading NFT videos early..."),Re.forEach(ze=>{const ot=document.createElement("link");ot.rel="preload",ot.as="video",ot.href=ze,document.head.appendChild(ot);const Xt=document.createElement("video");Xt.preload="auto",Xt.src=ze,Xt.muted=!0,Xt.load(),window.__preloadedVideos=window.__preloadedVideos||[],window.__preloadedVideos.push(Xt)}),window.__videosPreloaded=!0,console.log("â
NFT videos preloaded"))},[]),te.useEffect(()=>{if(typeof window>"u")return;const Re=localStorage.getItem("test_fid");if(Re)M(Re);else if(a?.fid)M(a.fid.toString());else{const ze=localStorage.getItem("default_test_fid")||"13874";M(ze),localStorage.setItem("default_test_fid",ze)}},[a?.fid]),te.useEffect(()=>{a?.fid&&c&&!O&&(HV(a.fid,a.username,a.displayName).catch(Re=>{console.warn("â ï¸ Failed to log session start:",Re)}),Y(!0))},[a?.fid,c,O]),te.useEffect(()=>{if(a?.fid){const Re=localStorage.getItem("last_notification_fid");if(Re&&Re!==a.fid.toString())console.log("ð FID changed, resetting notification state"),W(!1),O_
18816(parseInt(Re),!1),S(!1),Y(!1);else{const ze=ZZ(a.fid);W(ze),console.log("ð Loaded notification preference:",ze)}localStorage.setItem("last_notification_fid",a.fid.toString())}},[a?.fid]),te.useEffect(()=>{V===null&&(Z(Date.now()),_(!1))},[a?.fid]),te.useEffect(()=>{if(console.log("ð Notification check:",{statsLoading:c,notificationEnabled:q,userFid:a?.fid,notificationSent:I}),!c&&q&&a?.fid&&!I){console.log("ð¬ Sending notification - stats are ready!");const Re=`${window.location.origin}?ready=true`;R_(a.fid,"Wrapped Ready! ð",`Your Farcaster Wrapped 2025 is ready! Tap to view: ${Re}`,Re).then(ze=>{ze.success?(console.log("â
Notification sent successfully"),S(!0),Ue(!0)):console.warn("â ï¸ Notification failed:",ze.error)}).catch(ze=>{console.error("â Notification error:",ze)})}else!c&&q&&a?.fid&&I?(console.log("â¹ï¸ Notification already sent, skipping"),oe||Ue(!0)):!c&&!q?console.log("â¹ï¸ Notification not enabled by user"):c?console.log("â³ Stats still loading, waiting..."):a?.fid||console.log("â³ No user FID yet, waiting...")},[c,q,a?.fid,I,oe]),te.useEffect(()=>{if(!c&&!u)return;const Re=setInterval(()=>{H(ze=>(ze+1)%lv.length)},3500);return()=>clearInterval(Re)},[c,u]);const L=Re=>{M(Re.target.value)},G=Re=>{if(Re.preventDefault(),k){const ze=parseInt(k);if(isNaN(ze)||ze<=0){alert("Please enter a valid FID number");return}if(console.log(`𧪠Setting test FID to: ${ze}`),localStorage.setItem("test_fid",k),localStorage.setItem("stall_loading","true"),a?.fid){const Xt=`farcaster_wrapped_stats_${a.fid}_2025`;localStorage.removeItem(Xt),console.log(`ðï¸ Cleared cache for old FID: ${a.fid}`)}const ot=`farcaster_wrapped_stats_${ze}_2025`;localStorage.removeItem(ot),console.log(`ðï¸ Cleared cache for new FID: ${ze}`),window.location.reload()}};te.useEffect(()=>{if(c||z||T)return;const Re=Gc.findIndex(gt=>gt===XV),Xt=setTimeout(()=>{y<Gc.length-1&&re()},y===Re?1e4:8e3);return()=>clearTimeout(Xt)},[y,c,z]);const re=(Re=!1)=>{if(y<Gc.length-1){const ze=y+1;if(j(y),w(1),F(Re),b(ze),Re&&setTimeout(()=>{F(!1)},1e4),ze===Gc.length-1&&a?.fid&&l){const ot=localStorage.getItem(`minted_${a.fid}`)==="true";YV(a.fid,l.tier,l.name,ot,a.username).catch(Xt=>{console.warn("â ï¸ Failed to log session complete:",Xt)})}}},fe=(Re=!0)=>{y>0&&(j(y),w(-1),F(Re),b(y-1),Re&&setTimeout(()=>{F(!1)},1e4))},ve=Re=>{if(c){console.log("â³ Please wait for data to load before navigating");return}Re!==y&&(j(y),w(Re>y?1:-1),F(!0),b(Re))},[ke,mt]=te.useState(0),[bt,at]=te.useState(0),zt=ko.useRef(null),Qe=ko.useRef(0),Gt=ko.useRef(!1),mn=Re=>{mt(Re.touches[0].clientX),at(Re.touches[0].clientY),Gt.current=!1},Bt=Re=>{const ze=Re.changedTouches[0].clientX,ot=Re.changedTouches[0].clientY,Xt=Math.abs(ze-ke),gt=Math.abs(ot-bt);if(Xt<15&><15){const Mt=Date.now();if(Mt-Qe.current<300)return;const hr=window.innerWidth,rr=ze,dr=hr*.25,Pi=hr*.75;rr<dr?(Qe.current=Mt,Gt.current=!0,fe(!0)):rr>Pi&&(Qe.current=Mt,Gt.current=!0,re(!0))}},qt=Re=>{if(Re.target.closest("button")||Re.target.closest("input")||Re.target.closest("form")||Re.target.closest("a"))return;if(Gt.current){Gt.current=!1;return}const ze=Date.now();if(ze-Qe.current<300)return;const ot=window.innerWidth,Xt=Re.clientX,gt=ot*.25,Mt=ot*.75;Xt<gt?(Qe.current=ze,fe(!0)):Xt>Mt&&(Qe.current=ze,re(!0))},nn=Re=>{if(!vt.includes(Re)){const ze=[...Ge,Re];ft(ze),localStorage.setItem("dynamic_whitelist",JSON.stringify(ze)),console.log(`â
Added FID ${Re} to allowlist`)}},Zt=Re=>{const ze=Ge.filter(ot=>ot!==Re);ft(ze),localStorage.setItem("dynamic_whitelist",JSON.stringify(ze)),console.log(`ðï¸ Removed FID ${Re} from allowlist`)},tr=Gc[y],Jt=y===Gc.findIndex(Re=>Re===QV)&&p&&(p.clankerTokens?.length||0)>5;te.useEffect(()=>{(!n||c||!u)&&V===null&&(Z(Date.now()),_(!1))},[n,c,u,V]),te.useEffect(()=>{if(V!==null&&!R&&!ye){const Re=Date.now()-V,ze=1e4;if(Re>=ze)_(!0);else{const ot=ze-Re,Xt=setTimeout(()=>{_(!0)},ot);return()=>clearTimeout(Xt)}}},[V,R,ye]);const Qt=ye?!1:!n||c||!u||we&&!oe||!R;return te.useEffect(()=>{console.log("ð Loading state:",{isSDKLoaded:n,statsLoading:c,prepared:u,shouldShowLoading:Qt,waitingForNotificationClick:we,cameFromNotification:oe,notificationEnabled:q,notificationSent:I,userFid:a?.fid,username:a?.username,statsError:f?.message})}
18816,[n,c,u,Qt,we,oe,q,I,a?.fid,a?.username,f]),r?A.jsx(kfe,{}):t?A.jsx(Sfe,{}):X?A.jsx(Pfe,{}):f&&!c&&n?A.jsxs("div",{className:"relative w-full h-screen overflow-hidden bg-black",children:[A.jsx(uv,{currentSlide:0}),A.jsx(xfe,{error:f,onRetry:()=>{h(),window.location.reload()}})]}):!c&&n&&o?A.jsx(jfe,{username:a?.username}):!c&&n&&m!==null&&m<.33&&!f?A.jsxs("div",{className:"relative w-full h-screen overflow-hidden bg-black",children:[A.jsx(uv,{currentSlide:0}),A.jsx(Efe,{})]}):Qt?A.jsxs("div",{className:"relative w-full h-screen overflow-hidden bg-black",children:[A.jsx(uv,{currentSlide:0}),A.jsx("div",{className:"relative z-10 flex flex-col items-center justify-center h-full",children:A.jsxs(ue.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},className:"text-center space-y-6 w-full flex flex-col items-center",children:[a?.pfpUrl?A.jsxs(ue.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:100,damping:15,delay:.2},className:"relative mx-auto mb-6 flex items-center justify-center",children:[A.jsx(ue.div,{animate:{y:[0,-10,0],scale:[1,1.05,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"w-32 h-32 rounded-full bg-gradient-to-br from-purple-500 via-fuchsia-500 to-cyan-500 p-1 shadow-2xl shadow-purple-500/50",children:A.jsx("img",{src:a.pfpUrl,alt:a.displayName||a.username,className:"w-full h-full rounded-full object-cover"})}),A.jsx(ue.div,{className:"absolute inset-0 rounded-full bg-gradient-to-br from-purple-500 to-cyan-500 blur-2xl opacity-50 -z-10",animate:{scale:[1,1.2,1],opacity:[.5,.3,.5]},transition:{duration:2,repeat:1/0}})]}):A.jsx(ue.div,{animate:{rotate:360},transition:{duration:2,repeat:1/0,ease:"linear"},className:"w-16 h-16 mx-auto mb-4 rounded-full border-4 border-purple-500/30 border-t-purple-500"}),A.jsx("div",{className:"space-y-4",children:we&&!oe?A.jsxs(A.Fragment,{children:[A.jsx("p",{className:"text-white/80 text-xl",children:"Your Wrapped is Ready! ð"}),A.jsxs(ue.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"space-y-3",children:[A.jsx("p",{className:"text-white/60 text-base px-6",children:"We sent you a notification!"}),A.jsx("p",{className:"text-white/50 text-sm px-6",children:"Check your Farcaster notifications and tap the link to start your year in review."})]}),A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},className:"mt-6",onClick:Re=>Re.stopPropagation(),children:A.jsx(ue.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:Re=>{Re.stopPropagation(),console.log("ð User clicked Start Now - bypassing notification wait and loading screen"),Ue(!1),ge(!0),de(!0),_(!0)},className:"px-8 py-4 rounded-xl bg-gradient-to-r from-purple-500 to-cyan-500 text-white font-bold text-lg shadow-xl hover:shadow-2xl transition-all",children:"⨠Start Now â¨"})})]}):oe?A.jsxs(A.Fragment,{children:[A.jsx("p",{className:"text-white/80 text-xl",children:"Welcome back! ð"}),A.jsx("p",{className:"text-white/60 text-base px-6",children:"Loading your Wrapped experience..."}),c&&A.jsx(Yd,{mode:"wait",children:A.jsx(ue.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.5},className:"text-white/60 text-base italic px-6",children:lv[U]},U)})]}):A.jsxs(A.Fragment,{children:[A.jsx("p",{className:"text-white/80 text-xl",children:"Loading your Farcaster year..."}),c&&A.jsx(Yd,{mode:"wait",children:A.jsx(ue.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.5},className:"text-white/60 text-base italic px-6",children:lv[U]},U)})]})}),!we&&c&&A.jsx(Yd,{mode:"wait",children:A.jsx(ue.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.5},className:"text-white/40 text-xs max-w-sm mx-auto px-6 italic",children:lv[U]},U)}),a?.fid&&!we&&!oe&&A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:2.5},className:"mt-4",onClick:Re=>Re.stopPropagation(),onMouseDown:Re=>Re.stopPropagation(),onTouchStart:Re=>Re.stopPropagation(),children:A.jsxs(ue.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:async Re=>{Re.stopPropagation();try{const ze=window.location.origin;console.log("ð± Attempting to open add miniapp UI for:",ze),console.log("ð± SDK actions available:",Object.keys(Wt.actions||{}));let ot=!1;if(Wt.actions?.addMiniApp)try{console.log("ð± Trying sdk.actions.addMiniApp()...");const gt=await Wt.actions.addMiniApp();console.log("ð± addMiniApp result:",JSON.stringify(gt,null,2)),ot=!0,gt?.notificationDetail
18816s?(console.log("ð User ENABLED notifications!"),console.log("ð Notification token:",gt.notificationDetails.token),console.log("ð Notification URL:",gt.notificationDetails.url)):console.warn("â ï¸ User did NOT enable notifications (no notificationDetails in result)"),console.log("â
Opened via sdk.actions.addMiniApp()")}catch(gt){console.warn("â ï¸ sdk.actions.addMiniApp() failed:",gt)}if(!ot&&Wt.actions?.openUrl)try{const gt=`farcaster://miniapp/add?url=${encodeURIComponent(ze)}`;console.log("ð± Trying sdk.actions.openUrl() with:",gt),await Wt.actions.openUrl(gt),ot=!0,console.log("â
Opened via sdk.actions.openUrl()")}catch(gt){console.warn("â ï¸ sdk.actions.openUrl() failed:",gt)}if(!ot)try{const gt=`farcaster://miniapp/add?url=${encodeURIComponent(ze)}`;if(console.log("ð± Trying window.open() with:",gt),window.open(gt,"_blank"))ot=!0,console.log("â
Opened via window.open()");else throw new Error("Popup blocked")}catch(gt){console.warn("â ï¸ window.open() failed:",gt)}if(!ot)try{const gt=`farcaster://miniapp/add?url=${encodeURIComponent(ze)}`;console.log("ð± Trying window.location.href with:",gt),window.location.href=gt,ot=!0,console.log("â
Opened via window.location.href")}catch(gt){console.warn("â ï¸ window.location.href failed:",gt)}ot||(console.error("â All methods to open add miniapp UI failed"),alert("Unable to open add miniapp UI. Please manually add this miniapp from your Farcaster client settings."));const Xt=!0;W(Xt),a?.fid&&(O_(a.fid,Xt),console.log("ð¬ Sending test notification..."),await R_(a.fid,"Year in Review","Your year is being summed up, will send another notification when ready ð",ze)),ot&&console.log("â
Successfully opened add miniapp UI")}catch(ze){console.error("â Error opening add miniapp UI:",ze);const ot=!0;W(ot),a?.fid&&(O_(a.fid,ot),console.log("ð¬ Sending test notification..."),await R_(a.fid,"Year in Review","Your year is being summed up, will send another notification when ready ð",window.location.origin)),alert(`Error opening add miniapp UI: ${ze.message||"Unknown error"}. Please try manually adding the miniapp from your Farcaster client settings.`)}},className:"max-w-sm mx-auto px-6 py-3.5 rounded-xl bg-gradient-to-r from-purple-500 to-cyan-500 text-white font-semibold text-sm shadow-xl hover:shadow-2xl transition-all flex items-center justify-center gap-2.5 text-center leading-relaxed",children:[A.jsx(KY,{className:"w-4 h-4 flex-shrink-0"}),A.jsx("span",{className:"flex-1",children:q?"We will send you a notification!":"I want to roll a joint or grab a beer while this calculates, lemme know when ready"})]})}),c&&!we&&!oe&&A.jsx(ue.div,{initial:{opacity:0}
18816,animate:{opacity:1},className:"mt-4 text-white/60 text-sm",children:"â³ Calculating your stats..."}),!we&&!oe&&It===1331766&&A.jsxs(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:2.2},className:"mt-6",onClick:Re=>Re.stopPropagation(),onMouseDown:Re=>Re.stopPropagation(),onTouchStart:Re=>Re.stopPropagation(),children:[A.jsx("button",{onClick:Re=>{Re.stopPropagation(),C(!B)},onMouseDown:Re=>Re.stopPropagation(),className:"text-white/40 text-xs hover:text-white/60 transition-colors mb-2",children:B?"Hide":"Test with different FID"}),B&&A.jsxs("form",{onSubmit:G,className:"flex gap-2 items-center justify-center",onClick:Re=>Re.stopPropagation(),onMouseDown:Re=>Re.stopPropagation(),children:[A.jsx("input",{type:"number",value:k,onChange:L,onClick:Re=>Re.stopPropagation(),onMouseDown:Re=>Re.stopPropagation(),onFocus:Re=>Re.stopPropagation(),placeholder:"Enter FID",className:"px-4 py-2 rounded-lg bg-white/10 backdrop-blur-md border border-white/20 text-white placeholder-white/40 focus:outline-none focus:ring-2 focus:ring-purple-500/50",style:{minWidth:"120px"}}),A.jsx("button",{type:"submit",onClick:Re=>Re.stopPropagation(),onMouseDown:Re=>Re.stopPropagation(),className:"px-4 py-2 rounded-lg bg-purple-500/20 hover:bg-purple-500/30 border border-purple-500/30 text-white text-sm transition-colors",children:"Load"})]})]}),!we&&!oe&&It===1331766&&A.jsx(ue.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:Re=>{Re.stopPropagation(),console.warn("ð User forced start from loading screen"),de(!0),_(!0)},className:"mt-6 px-4 py-2 rounded-xl border border-white/30 text-white/80 text-xs bg-white/5 hover:bg-white/10 transition-colors",children:"Stuck? Tap to start now â"})]})})]}):A.jsxs("div",{className:"relative w-full h-screen overflow-x-hidden overflow-y-hidden bg-gradient-to-br from-purple-900 via-violet-800 to-indigo-900",onClick:qt,onTouchStart:mn,onTouchEnd:Bt,children:[A.jsx(uv,{currentSlide:y,needsScrolling:Jt}),A.jsxs("div",{className:"relative flex flex-col h-full overflow-hidden","data-content-wrapper":!0,style:{zIndex:vl.CONTENT,position:"relative"},children:[A.jsx(Yd,{children:y===0&&Q&&A.jsx(ue.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.25},className:"pointer-events-none fixed inset-x-4 bottom-24 sm:bottom-16",style:{zIndex:vl.MODALS},children:A.jsx("div",{className:"pointer-events-auto max-w-md mx-auto rounded-2xl border border-white/15 bg-gradient-to-r from-black/70 via-purple-900/80 to-black/70 backdrop-blur-xl px-4 py-3 sm:px-5 sm:py-4 shadow-xl text-xs sm:text-sm text-white/80",onClick:Re=>{Re.stopPropagation(),ne(!1)},onMouseDown:Re=>Re.stopPropagation(),onTouchStart:Re=>Re.stopPropagation(),children:A.jsxs("div",{className:"flex flex-col gap-1 sm:gap-1.5 text-center",children:[A.jsx("span",{className:"text-[11px] sm:text-xs uppercase tracking-[0.18em] text-white/40",children:"HOW TO NAVIGATE"}),A.jsxs("div",{className:"flex items-center justify-between gap-3 mt-0.5",children:[A.jsxs("span",{className:"flex-1 text-left",children:[A.jsx("span",{className:"font-semibold text-white",children:"Tap left"})," ","to go back â"]}),A.jsxs("span",{className:"flex-1 text-right",children:["â ",A.jsx("span",{className:"font-semibold text-white",children:"Tap right"})," ","to go forward"]})]}),A.jsx("button",{type:"button",className:"mt-2 inline-flex items-center justify-center self-center rounded-full bg-white/10 px-3 py-1 text-[11px] uppercase tracking-[0.16em] text-white/70 hover:bg-white/15 transition-colors",children:"Got it"})]})})})}),A.jsx(Afe,{current:y,total:Gc.length,onSlideClick:ve,disabled:c,previousSlide:E,direction:x,isManual:T}),Nt&&A.jsxs("div",{className:"absolute top-12 right-4 flex flex-col gap-2",style:{zIndex:vl.ADMIN_TOOLS},children:[A.jsx("button",{onClick:Re=>{Re.stopPropagation(),Oe(!0)},className:"p-2 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 hover:bg-white/20 transition-colors",title:"Settings",children:A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-white",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[A.jsx("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),A.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}),A.jsx("button",{onClick:Re=>{Re.stopPropagation(),window.location.reload()},className:"p-2 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 hover:bg-white/20 transition-colors",title:"Refresh",children:A.jsx(PP,{className:"w-5 h-5 text-white"})}),A.jsx("button",{onClick:Re=>{Re.stopPropagation(),C(!B)},className:"p-2 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 hover:bg-white/20 transition-colors",title:"Test FID",children:A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-white",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[A.jsx("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),A.jsx("circle",{cx:"9",cy:"7",r:"4"}),A.jsx("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75"})]})})]}),Se&&Nt&&A.jsx("div",{className:"fixed inset-0 flex items-center justify-center bg-black/60 backdrop-blur-sm",style:{zIndex:vl.ADMIN_TOOLS},onClick:()=>Oe(!1),children:A.jsxs("div",{className:"bg-gradient-to-br from-purple-900/95 to-indigo-900/95 rounded-2xl border border-white/20 p-6 max-w-md w-full mx-4 max-h-[80vh] overflow-y-auto",onClick:Re=>Re.stopPropagation(),children:[A.jsxs("div",{className:"flex items-center justify-between mb-6",children:[A.jsx("h2",{className:"text-white text-xl font-bold",children:"Allowlist Settings"}),A.jsx("button",{onClick:()=>Oe(!1),className:"text-white/60 hover:text-white transition-colors",children:A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:A.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})]}),A.jsxs("div",{className:"mb-6",children:[A.jsx("label",{className:"text-white/60 text-sm block mb-2",children:"Add FID to Allowlist"}),A.jsxs("div",{className:"flex gap-2",children:[A.jsx("input",{type:"number",value:Be,onChange:Re=>Pt(Re.target.value),placeholder:"Enter FID",className:"flex-1 px-4 py-2 rounded-lg bg-white/10 border border-white/20 text-white placeholder-white/40 focus:outline-none focus:ring-2 focus:ring-purple-500/50"}),A.jsx("button",{onClick:()=>{const Re=parseInt(Be);Re>0&&(nn(Re),Pt(""))},className:"px-4 py-2 rounded-lg bg-purple-500 hover:bg-purple-600 text-white font-medium transition-colors",children:"Add"})]})]}),Ge.length>0&&A.jsxs("div",{className:"mb-6",children:[A.jsxs("label",{className:"text-white/60 text-sm block mb-2",children:["Dynamic Allowlist (",Ge.length,")"]}),A.jsx("div",{className:"space-y-2 max-h-40 overflow-y-auto",children:Ge.map(Re=>A.jsxs("div",{className:"flex items-center justify-between px-3 py-2 rounded-lg bg-white/5 border border-white/10",children:[A.jsx("span",{className:"text-white font-mono",children:Re}),A.jsx("button",{onClick:()=>Zt(Re),className:"text-red-400 hover:text-red-300 transition-colors text-sm",children:"Remove"})]},Re))})]}),A.jsxs("div",{children:[A.jsxs("label",{className:"text-white/60 text-sm block mb-2",children:["Static Allowlist (",dt.length,")"]}),A.jsx("p",{className:"text-white/40 text-xs mb-2",children:"These are hardcoded and cannot be removed:"}),A.jsx("div",{className:"text-white/50 text-xs font-mono bg-white/5 rounded-lg p-3 max-h-32 overflow-y-auto",children:dt.join(", ")})]})]})}),Nt&&B&&A.jsx("div",{className:"fixed inset-0 flex items-center justify-center bg-black/60 backdrop-blur-sm",style:{zIndex:vl.ADMIN_TOOLS},onClick:()=>C(!1),children:A.jsxs("div",{className:"bg-gradient-to-br from-purple-900/95 to-indigo-900/95 rounded-2xl border border-white/20 p-6 max-w-md w-full mx-4",onClick:Re=>Re.stopPropagation(),children:[A.jsxs("div",{className:"flex items-center justify-between mb-6",children:[A.jsx("h2",{className:"text-white text-xl font-bold",children:"Test with Different FID"}),A.jsx("button",{onClick:()=>C(!1),className:"text-white/60 hover:text-white transition-colors",children:A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:A.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})]}),A.jsxs("form",{onSubmit:G,className:"space-y-4",onClick:Re=>Re.stopPropagation(),children:[A.jsxs("div",{children:[A.jsx("label",{className:"text-white/60 text-sm block mb-2",children:"Enter FID to test"}),A.jsx("input",{type:"number",value:k,onChange:L,placeholder:"Enter FID",className:"w-full px-4 py-2 rounded-lg bg-white/10 border border-white/20 text-white placeholder-white/40 focus:outline-none focus:ring-2 focus:ring-purple-500/50"})]}),A.jsxs("div",{className:"flex gap-2",children:[A.jsx("button",{type:"submit",className:"flex-1 px-4 py-2 rounded-lg bg-purple-500 hover:bg-purple-600 text-white font-medium transition-colors",children:"Load FID"}),A.jsx("button",{type:"button",onClick:()=>C(!1),className:"px-4 py-2 rounded-lg bg-white/10 hover:bg-white/20 border border-white/20 text-white transition-colors",children:"Cancel"})]})]})]})}),A.jsx("div",{ref:zt,className:`flex-1 min-h-0 ${Jt?"overflow-x-hidden overflow-y-auto":"flex items-center justify-center overflow-hidden"}`,style:{WebkitOverflowScrolling:Jt?"touch":"auto",overscrollBehavior:"none"},children:A.jsx("div",{className:`w-full px-4 sm:px-6 py-6 ${Jt?"flex flex-col":"flex items-center justify-center h-full"}`,children:A.jsx(Yd,{mode:"wait",custom:x,children:A.jsx(ue.div,{custom:x,initial:{opacity:0,y:x*50}
18816,animate:{opacity:1,y:0},exit:{opacity:0,y:x*-50},transition:{duration:g.duration,ease:[.22,1,.36,1]},className:`w-full max-w-5xl mx-auto ${Jt?"flex flex-col min-h-full py-4":"flex items-center justify-center h-full"}`,children:A.jsx(tr,{})},y)})})})]}),A.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:[...Array(g.particleCount)].map((Re,ze)=>A.jsx(ue.div,{className:"absolute w-1 h-1 bg-white/20 rounded-full blur-sm will-change-transform",style:{left:`${Math.random()*100}%`,top:`${Math.random()*100}%`},animate:{y:[0,-100,0],opacity:[0,.5,0]},transition:{duration:3+Math.random()*2,repeat:1/0,delay:Math.random()*2}},ze))})]})}function Rfe(){if(typeof window>"u")return;const e=console.error,t=console.warn;console.error=(...r)=>{const n=r.join(" ").toLowerCase();n.includes("walletconnect")||n.includes("explorer-api.walletconnect.com")||n.includes("imagedelivery.net")&&(n.includes("content security policy")||n.includes("violates")||n.includes("refused to connect"))||n.includes("imagedelivery.net")&&n.includes("cannot load")||e.apply(console,r)},console.warn=(...r)=>{const n=r.join(" ").toLowerCase();n.includes("imagedelivery.net")&&(n.includes("content security policy")||n.includes("violates")||n.includes("refused to connect"))||n.includes("failed to fetch")&&n.includes("imagedelivery.net")||n.includes("function components cannot be given refs")&&n.includes("dialog")||t.apply(console,r)}}Rfe();const Ofe=n7.createRoot(document.getElementById("root"));Ofe.render(A.jsx(Az,{children:A.jsx(uue,{children:A.jsx(Tfe,{})})}));window.resetNotifications=JZ;console.log("ð¡ Tip: Run resetNotifications() in console to reset notification state");export{FJ as a,BJ as b,UJ as c,qJ as d,LJ as e,Ht as f,DJ as g,zJ as h,cl as i,Ia as j,JL as k,QL as l,$Z as m,VJ as n,OJ as o,XL as p,wC as q,IJ as r,Wt as s,NJ as t,MJ as u,GJ as v,$L as w,tee as x,nee as y};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.