PageSourceSearch

https://geltoynation.com/assets/index-BCW6nnV8.js

js geltoynation.com collected 2026-10-04 02:39:04 UTC 1,047,431 bytes, 210 lines download raw bytes

vendor: 8,274 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-B3_DlB6T.js","assets/star-u7VaO603.js","assets/CategoryGrid-zyq-zENP.js","assets/ShopifyProductCard-CZFJMr4T.js","assets/users-DYjZnmIk.js","assets/FAQ-DaXoSGKn.js","assets/subscribers.functions-D4_hwADD.js","assets/analytics-DRt0D_XB.js","assets/mail-BtjO9jke.js","assets/about-CYiayTqw.js","assets/blogs-BxQMbWye.js","assets/skeleton-DrEiwWGX.js","assets/bundles-BqtISCvC.js","assets/contact-Cjlq0QPK.js","assets/map-pin-LP7pqidH.js","assets/faq-D2M8tUTM.js","assets/returns-620LOwWj.js","assets/triangle-alert-DGSnwxgB.js","assets/ban-BsHnzx1Z.js","assets/shipping-dPbWa2WJ.js","assets/clock-CZ7OH7Ic.js","assets/shooting-challenge-BkTbbm8E.js","assets/shop-DwJhdHyI.js","assets/signin-FqtgXHqa.js","assets/terms-DD5poz28.js","assets/account-rb_BJp2s.js","assets/log-out-Djy8vhZ5.js","assets/blog._handle-B6_Hz5Pc.js","assets/blog.surge-xl-vs-fjs-mk8-CJbLxy-a.js","assets/admin.chats-BrUj0A02.js","assets/admin.reviews-D_fJaiqY.js","assets/inbox-QqIqGKvq.js","assets/admin.subscribers-BMZRqE_e.js"])))=>i.map(i=>d[i]);
2function Z3(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(i,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>i[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Eg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $3(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){var a=!1;try{a=this instanceof i}catch{}return a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),n}var sp={exports:{}},el={};var qv;function X3(){if(qv)return el;qv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(i,a,o){var l=null;if(o!==void 0&&(l=""+o),a.key!==void 0&&(l=""+a.key),"key"in a){o={};for(var c in a)c!=="key"&&(o[c]=a[c])}else o=a;return a=o.ref,{$$typeof:e,type:i,key:l,ref:a!==void 0?a:null,props:o}}return el.Fragment=t,el.jsx=n,el.jsxs=n,el}var Qv;function eR(){return Qv||(Qv=1,sp.exports=X3()),sp.exports}var O=eR(),ap={exports:{}},Le={};var Kv;function tR(){if(Kv)return Le;Kv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),g=Symbol.iterator;function y(B){return B===null||typeof B!="object"?null:(B=g&&B[g]||B["@@iterator"],typeof B=="function"?B:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,S={};function w(B,K,V){this.props=B,this.context=K,this.refs=S,this.updater=V||v}w.prototype.isReactComponent={},w.prototype.setState=function(B,K){if(typeof B!="object"&&typeof B!="function"&&B!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,B,K,"setState")},w.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function _(){}_.prototype=w.prototype;function T(B,K,V){this.props=B,this.context=K,this.refs=S,this.updater=V||v}var E=T.prototype=new _;E.constructor=T,x(E,w.prototype),E.isPureReactComponent=!0;var C=Array.isArray;function k(){}var I={H:null,A:null,T:null,S:null},M=Object.prototype.hasOwnProperty;function j(B,K,V){var ue=V.ref;return{$$typeof:e,type:B,key:K,ref:ue!==void 0?ue:null,props:V}}function U(B,K){return j(B.type,K,B.props)}function D(B){return typeof B=="object"&&B!==null&&B.$$typeof===e}function H(B){var K={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(V){return K[V]})}var ee=/\/+/g;function Z(B,K){return typeof B=="object"&&B!==null&&B.key!=null?H(""+B.key):K.toString(36)}function G(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(k,k):(B.status="pending",B.then(function(K){B.status==="pending"&&(B.status="fulfilled",B.value=K)},function(K){B.status==="pending"&&(B.status="rejected",B.reason=K)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function L(B,K,V,ue,oe){var ge=typeof B;(ge==="undefined"||ge==="boolean")&&(B=null);var ye=!1;if(B===null)ye=!0;else switch(ge){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(B.$$typeof){case e:case t:ye=!0;break;case p:return ye=B._init,L(ye(B._payload),K,V,ue,oe)}}if(ye)return oe=oe(B),ye=ue===""?"."+Z(B,0):ue,C(oe)?(V="",ye!=null&&(V=ye.replace(ee,"$&/")+"/"),L(oe,K,V,"",function(Ye){return Ye})):oe!=null&&(D(oe)&&(oe=U(oe,V+(oe.key==null||B&&B.key===oe.key?"":(""+oe.key).replace(ee,"$&/")+"/")+ye)),K.push(oe)),1;ye=0;var Be=ue===""?".":ue+":";if(C(B))for(var Se=0;Se<B.length;Se++)ue=B[Se],ge=Be+Z(ue,Se),ye+=L(ue,K,V,ge,oe);else if(Se=y(B),typeof Se=="function")for(B=Se.call(B),Se=0;!(ue=B.next()).done;)ue=ue.value,ge=Be+Z(ue,Se++),ye+=L(ue,K,V,ge,oe);else if(ge==="object"){if(typeof B.then=="function")return L(G(B),K,V,ue,oe);throw K=String(B),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return ye}function q(B,K,V){if(B==null)return B;var ue=[],oe=0;return L(B,ue,"","",function(ge){return K.call(V,ge,oe++)}),ue}function W(B){if(B._status===-1){var K=B._result;K=K(),K.then(function(V){(B._status===0||B._status===-1)&&(B._status=1,B._result=V)},function(V){(B._status===0||B._status===-1)&&(B._status=2,B._result=V)}),B._status===-1&&(B._status=0,B._result=K)}if(B._status===1)return B._result.default;throw B._result}var ce=typeof reportError=="function"?reportError:function(B){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof B=="object"&&B!==null&&typeof B.message=="string"?String(B.message):String(B),error:B});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",B);return}console.error(B)},ne={map:q,forEach:function(B,K,V){q(B,function(){K.apply(this,arguments)},V)},count:function(B){var K=0;return q(B,function(){K++}),K},toArray:function(B){return q(B,function(K){return K})||[]},only:function(B){if(!D(B))throw Error("React.Children.only expected to receive a single React element child.");return B}};return Le.Activity=m,Le.Children=ne,Le.Component=w,Le.Fragment=n,Le.Profiler=a,Le.PureComponent=T,Le.StrictMode=i,Le.Suspense=h,Le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,Le.__COMPILER_RUNTIME={__proto__:null,c:function(B){return I.H.useMemoCache(B)}},Le.cache=function(B){return function(){return B.apply(null,arguments)}},Le.cacheSignal=function(){return null},Le.cloneElement=function(B,K,V){if(B==null)throw Error("The argument must be a React element, but you passed "+B+".");var ue=x({},B.props),oe=B.key;if(K!=null)for(ge in K.key!==void 0&&(oe=""+K.key),K)!M.call(K,ge)||ge==="key"||ge==="__self"||ge==="__source"||ge==="ref"&&K.ref===void 0||(ue[ge]=K[ge]);var ge=arguments.length-2;if(ge===1)ue.children=V;else if(1<ge){for(var ye=Array(ge),Be=0;Be<ge;Be++)ye[Be]=arguments[Be+2];ue.children=ye}return j(B.type,oe,ue)},Le.createContext=function(B){return B={$$typeof:l,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null},B.Provider=B,B.Consumer={$$typeof:o,_context:B},B},Le.createElement=function(B,K,V){var ue,oe={},ge=null;if(K!=null)for(ue in K.key!==void 0&&(ge=""+K.key),K)M.call(K,ue)&&ue!=="
2key"&&ue!=="__self"&&ue!=="__source"&&(oe[ue]=K[ue]);var ye=arguments.length-2;if(ye===1)oe.children=V;else if(1<ye){for(var Be=Array(ye),Se=0;Se<ye;Se++)Be[Se]=arguments[Se+2];oe.children=Be}if(B&&B.defaultProps)for(ue in ye=B.defaultProps,ye)oe[ue]===void 0&&(oe[ue]=ye[ue]);return j(B,ge,oe)},Le.createRef=function(){return{current:null}},Le.forwardRef=function(B){return{$$typeof:c,render:B}},Le.isValidElement=D,Le.lazy=function(B){return{$$typeof:p,_payload:{_status:-1,_result:B},_init:W}},Le.memo=function(B,K){return{$$typeof:d,type:B,compare:K===void 0?null:K}},Le.startTransition=function(B){var K=I.T,V={};I.T=V;try{var ue=B(),oe=I.S;oe!==null&&oe(V,ue),typeof ue=="object"&&ue!==null&&typeof ue.then=="function"&&ue.then(k,ce)}catch(ge){ce(ge)}finally{K!==null&&V.types!==null&&(K.types=V.types),I.T=K}},Le.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},Le.use=function(B){return I.H.use(B)},Le.useActionState=function(B,K,V){return I.H.useActionState(B,K,V)},Le.useCallback=function(B,K){return I.H.useCallback(B,K)},Le.useContext=function(B){return I.H.useContext(B)},Le.useDebugValue=function(){},Le.useDeferredValue=function(B,K){return I.H.useDeferredValue(B,K)},Le.useEffect=function(B,K){return I.H.useEffect(B,K)}
vendor: 5,424 bytes, line 2
2,Le.useEffectEvent=function(B){return I.H.useEffectEvent(B)},Le.useId=function(){return I.H.useId()},Le.useImperativeHandle=function(B,K,V){return I.H.useImperativeHandle(B,K,V)},Le.useInsertionEffect=function(B,K){return I.H.useInsertionEffect(B,K)},Le.useLayoutEffect=function(B,K){return I.H.useLayoutEffect(B,K)},Le.useMemo=function(B,K){return I.H.useMemo(B,K)},Le.useOptimistic=function(B,K){return I.H.useOptimistic(B,K)},Le.useReducer=function(B,K,V){return I.H.useReducer(B,K,V)},Le.useRef=function(B){return I.H.useRef(B)},Le.useState=function(B){return I.H.useState(B)},Le.useSyncExternalStore=function(B,K,V){return I.H.useSyncExternalStore(B,K,V)},Le.useTransition=function(){return I.H.useTransition()},Le.version="19.2.5",Le}var Yv;function Ql(){return Yv||(Yv=1,ap.exports=tR()),ap.exports}var P=Ql();const Vr=Eg(P),d2=Z3({__proto__:null,default:Vr},[P]);var op={exports:{}},tl={},up={exports:{}},lp={};var Vv;function nR(){return Vv||(Vv=1,(function(e){function t(L,q){var W=L.length;L.push(q);e:for(;0<W;){var ce=W-1>>>1,ne=L[ce];if(0<a(ne,q))L[ce]=q,L[W]=ne,W=ce;else break e}}function n(L){return L.length===0?null:L[0]}function i(L){if(L.length===0)return null;var q=L[0],W=L.pop();if(W!==q){L[0]=W;e:for(var ce=0,ne=L.length,B=ne>>>1;ce<B;){var K=2*(ce+1)-1,V=L[K],ue=K+1,oe=L[ue];if(0>a(V,W))ue<ne&&0>a(oe,V)?(L[ce]=oe,L[ue]=W,ce=ue):(L[ce]=V,L[K]=W,ce=K);else if(ue<ne&&0>a(oe,W))L[ce]=oe,L[ue]=W,ce=ue;else break e}}return q}function a(L,q){var W=L.sortIndex-q.sortIndex;return W!==0?W:L.id-q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var h=[],d=[],p=1,m=null,g=3,y=!1,v=!1,x=!1,S=!1,w=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function E(L){for(var q=n(d);q!==null;){if(q.callback===null)i(d);else if(q.startTime<=L)i(d),q.sortIndex=q.expirationTime,t(h,q);else break;q=n(d)}}function C(L){if(x=!1,E(L),!v)if(n(h)!==null)v=!0,k||(k=!0,H());else{var q=n(d);q!==null&&G(C,q.startTime-L)}}var k=!1,I=-1,M=5,j=-1;function U(){return S?!0:!(e.unstable_now()-j<M)}function D(){if(S=!1,k){var L=e.unstable_now();j=L;var q=!0;try{e:{v=!1,x&&(x=!1,_(I),I=-1),y=!0;var W=g;try{t:{for(E(L),m=n(h);m!==null&&!(m.expirationTime>L&&U());){var ce=m.callback;if(typeof ce=="function"){m.callback=null,g=m.priorityLevel;var ne=ce(m.expirationTime<=L);if(L=e.unstable_now(),typeof ne=="function"){m.callback=ne,E(L),q=!0;break t}m===n(h)&&i(h),E(L)}else i(h);m=n(h)}if(m!==null)q=!0;else{var B=n(d);B!==null&&G(C,B.startTime-L),q=!1}}break e}finally{m=null,g=W,y=!1}q=void 0}}finally{q?H():k=!1}}}var H;if(typeof T=="function")H=function(){T(D)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,Z=ee.port2;ee.port1.onmessage=D,H=function(){Z.postMessage(null)}}else H=function(){w(D,0)};function G(L,q){I=w(function(){L(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(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(L){switch(g){case 1:case 2:case 3:var q=3;break;default:q=g}var W=g;g=q;try{return L()}finally{g=W}},e.unstable_requestPaint=function(){S=!0},e.unstable_runWithPriority=function(L,q){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var W=g;g=L;try{return q()}finally{g=W}},e.unstable_scheduleCallback=function(L,q,W){var ce=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ce+W:ce):W=ce,L){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=W+ne,L={id:p++,callback:q,priorityLevel:L,startTime:W,expirationTime:ne,sortIndex:-1},W>ce?(L.sortIndex=W,t(d,L),n(h)===null&&L===n(d)&&(x?(_(I),I=-1):x=!0,G(C,W-ce))):(L.sortIndex=ne,t(h,L),v||y||(v=!0,k||(k=!0,H()))),L},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(L){var q=g;return function(){var W=g;g=q;try{return L.apply(this,arguments)}finally{g=W}}}})(lp)),lp}var Wv;function rR(){return Wv||(Wv=1,up.exports=nR()),up.exports}var cp={exports:{}},vn={};var Jv;function iR(){if(Jv)return vn;Jv=1;var e=Ql();function t(h){var d="https://react.dev/errors/"+h;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)d+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+h+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function o(h,d,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:h,containerInfo:d,implementation:p}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(h,d){if(h==="font")return"";
vendor: 6,935 bytes, line 2
2if(typeof d=="string")return d==="use-credentials"?d:""}return vn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,vn.createPortal=function(h,d){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return o(h,d,null,p)},vn.flushSync=function(h){var d=l.T,p=i.p;try{if(l.T=null,i.p=2,h)return h()}finally{l.T=d,i.p=p,i.d.f()}},vn.preconnect=function(h,d){typeof h=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,i.d.C(h,d))},vn.prefetchDNS=function(h){typeof h=="string"&&i.d.D(h)},vn.preinit=function(h,d){if(typeof h=="string"&&d&&typeof d.as=="string"){var p=d.as,m=c(p,d.crossOrigin),g=typeof d.integrity=="string"?d.integrity:void 0,y=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;p==="style"?i.d.S(h,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:m,integrity:g,fetchPriority:y}):p==="script"&&i.d.X(h,{crossOrigin:m,integrity:g,fetchPriority:y,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},vn.preinitModule=function(h,d){if(typeof h=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var p=c(d.as,d.crossOrigin);i.d.M(h,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&i.d.M(h)},vn.preload=function(h,d){if(typeof h=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var p=d.as,m=c(p,d.crossOrigin);i.d.L(h,p,{crossOrigin:m,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},vn.preloadModule=function(h,d){if(typeof h=="string")if(d){var p=c(d.as,d.crossOrigin);i.d.m(h,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else i.d.m(h)},vn.requestFormReset=function(h){i.d.r(h)},vn.unstable_batchedUpdates=function(h,d){return h(d)},vn.useFormState=function(h,d,p){return l.H.useFormState(h,d,p)},vn.useFormStatus=function(){return l.H.useHostTransitionStatus()},vn.version="19.2.5",vn}var Zv;function f2(){if(Zv)return cp.exports;Zv=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(),cp.exports=iR(),cp.exports}var $v;function sR(){if($v)return tl;$v=1;var e=rR(),t=Ql(),n=f2();function i(r){var s="https://react.dev/errors/"+r;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)s+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function o(r){var s=r,u=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(u=s.return),r=s.return;while(r)}return s.tag===3?u:null}function l(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function c(r){if(r.tag===31){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function h(r){if(o(r)!==r)throw Error(i(188))}function d(r){var s=r.alternate;if(!s){if(s=o(r),s===null)throw Error(i(188));return s!==r?null:r}for(var u=r,f=s;;){var A=u.return;if(A===null)break;var b=A.alternate;if(b===null){if(f=A.return,f!==null){u=f;continue}break}if(A.child===b.child){for(b=A.child;b;){if(b===u)return h(A),r;if(b===f)return h(A),s;b=b.sibling}throw Error(i(188))}if(u.return!==f.return)u=A,f=b;else{for(var R=!1,N=A.child;N;){if(N===u){R=!0,u=A,f=b;break}if(N===f){R=!0,f=A,u=b;break}N=N.sibling}if(!R){for(N=b.child;N;){if(N===u){R=!0,u=b,f=A;break}if(N===f){R=!0,f=b,u=A;break}N=N.sibling}if(!R)throw Error(i(189))}}if(u.alternate!==f)throw Error(i(190))}if(u.tag!==3)throw Error(i(188));return u.stateNode.current===u?r:s}function p(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=p(r),s!==null)return s;r=r.sibling}return null}var m=Object.assign,g=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),T=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),D=Symbol.iterator;function H(r){return r===null||typeof r!="object"?null:(r=D&&r[D]||r["@@iterator"],typeof r=="function"?r:null)}var ee=Symbol.for("react.client.reference");function Z(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ee?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case x:return"Fragment";case w:return"Profiler";case S:return"StrictMode";case C:return"Suspense";case k:return"SuspenseList";case j:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case v:return"Portal";case T:return r.displayName||"Context";case _:return(r._context.displayName||"Context")+".Consumer";case E:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case I:return s=r.displayName||null,s!==null?s:Z(r.type)||"Memo";case M:s=r._payload,r=r._init;try{return Z(r(s))}catch{}}return null}var G=Array.isArray,L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},ce=[],ne=-1;function B(r){return{current:r}}function K(r){0>ne||(r.current=ce[ne],ce[ne]=null,ne--)}function V(r,s){ne++,ce[ne]=r.current,r.current=s}var ue=B(null),oe=B(null),ge=B(null),ye=B(null);function Be(r,s){switch(V(ge,s),V(oe,r),V(ue,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?hv(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=hv(s),r=pv(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}K(ue),V(ue,r)}function Se(){K(ue),K(oe),K(ge)}function Ye(r){r.memoizedState!==null&&V(ye,r);var s=ue.current,u=pv(s,r.type);s!==u&&(V(oe,r),V(ue,u))}function ke(r){oe.current===r&&(K(ue),K(oe)),ye.current===r&&(K(ye),Ju._currentValue=W)}
vendor: 10,938 bytes, lines 2-9
2var ie,fe;function de(r){if(ie===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ie=s&&s[1]||"",fe=-1<u.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+ie+r+fe}var ve=!1;function wt(r,s){if(!r||ve)return"";ve=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(s){var le=function(){throw Error()};if(Object.defineProperty(le.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(le,[])}catch(re){var te=re}Reflect.construct(r,[],le)}else{try{le.call()}catch(re){te=re}r.call(le.prototype)}}else{try{throw Error()}catch(re){te=re}(le=r())&&typeof le.catch=="function"&&le.catch(function(){})}}catch(re){if(re&&te&&typeof re.stack=="string")return[re.stack,te.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var A=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");A&&A.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=f.DetermineComponentFrameRoot(),R=b[0],N=b[1];if(R&&N){var z=R.split(`
5`),$=N.split(`
6`);for(A=f=0;f<z.length&&!z[f].includes("DetermineComponentFrameRoot");)f++;for(;A<$.length&&!$[A].includes("DetermineComponentFrameRoot");)A++;if(f===z.length||A===$.length)for(f=z.length-1,A=$.length-1;1<=f&&0<=A&&z[f]!==$[A];)A--;for(;1<=f&&0<=A;f--,A--)if(z[f]!==$[A]){if(f!==1||A!==1)do if(f--,A--,0>A||z[f]!==$[A]){var se=`
7`+z[f].replace(" at new "," at ");return r.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",r.displayName)),se}while(1<=f&&0<=A);break}}}finally{ve=!1,Error.prepareStackTrace=u}return(u=r?r.displayName||r.name:"")?de(u):""}function Pt(r,s){switch(r.tag){case 26:case 27:case 5:return de(r.type);case 16:return de("Lazy");case 13:return r.child!==s&&s!==null?de("Suspense Fallback"):de("Suspense");case 19:return de("SuspenseList");case 0:case 15:return wt(r.type,!1);case 11:return wt(r.type.render,!1);case 1:return wt(r.type,!0);case 31:return de("Activity");default:return""}}function Vt(r){try{var s="",u=null;do s+=Pt(r,u),u=r,r=r.return;while(r);return s}catch(f){return`
8Error generating stack: `+f.message+`
9`+f.stack}}var fr=Object.prototype.hasOwnProperty,je=e.unstable_scheduleCallback,qe=e.unstable_cancelCallback,hr=e.unstable_shouldYield,Fe=e.unstable_requestPaint,Ne=e.unstable_now,He=e.unstable_getCurrentPriorityLevel,lt=e.unstable_ImmediatePriority,St=e.unstable_UserBlockingPriority,Xn=e.unstable_NormalPriority,Li=e.unstable_LowPriority,pr=e.unstable_IdlePriority,Fa=e.log,Ha=e.unstable_setDisableYieldValue,Pi=null,yn=null;function mr(r){if(typeof Fa=="function"&&Ha(r),yn&&typeof yn.setStrictMode=="function")try{yn.setStrictMode(Pi,r)}catch{}}var un=Math.clz32?Math.clz32:er,au=Math.log,Ui=Math.LN2;function er(r){return r>>>=0,r===0?32:31-(au(r)/Ui|0)|0}var Fi=256,zs=262144,Gs=4194304;function gr(r){var s=r&42;if(s!==0)return s;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function qs(r,s,u){var f=r.pendingLanes;if(f===0)return 0;var A=0,b=r.suspendedLanes,R=r.pingedLanes;r=r.warmLanes;var N=f&134217727;return N!==0?(f=N&~b,f!==0?A=gr(f):(R&=N,R!==0?A=gr(R):u||(u=N&~r,u!==0&&(A=gr(u))))):(N=f&~b,N!==0?A=gr(N):R!==0?A=gr(R):u||(u=f&~r,u!==0&&(A=gr(u)))),A===0?0:s!==0&&s!==A&&(s&b)===0&&(b=A&-A,u=s&-s,b>=u||b===32&&(u&4194048)!==0)?s:A}function Ir(r,s){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&s)===0}function za(r,s){switch(r){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fn(){var r=Gs;return Gs<<=1,(Gs&62914560)===0&&(Gs=4194304),r}function Nr(r){for(var s=[],u=0;31>u;u++)s.push(r);return s}function Xr(r,s){r.pendingLanes|=s,s!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function ou(r,s,u,f,A,b){var R=r.pendingLanes;r.pendingLanes=u,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=u,r.entangledLanes&=u,r.errorRecoveryDisabledLanes&=u,r.shellSuspendCounter=0;var N=r.entanglements,z=r.expirationTimes,$=r.hiddenUpdates;for(u=R&~u;0<u;){var se=31-un(u),le=1<<se;N[se]=0,z[se]=-1;var te=$[se];if(te!==null)for($[se]=null,se=0;se<te.length;se++){var re=te[se];re!==null&&(re.lane&=-536870913)}u&=~le}f!==0&&tc(r,f,0),b!==0&&A===0&&r.tag!==0&&(r.suspendedLanes|=b&~(R&~s))}function tc(r,s,u){r.pendingLanes|=s,r.suspendedLanes&=~s;var f=31-un(s);r.entangledLanes|=s,r.entanglements[f]=r.entanglements[f]|1073741824|u&261930}function uu(r,s){var u=r.entangledLanes|=s;for(r=r.entanglements;u;){var f=31-un(u),A=1<<f;A&s|r[f]&s&&(r[f]|=s),u&=~A}}function Ga(r,s){var u=s&-s;return u=(u&42)!==0?1:qa(u),(u&(r.suspendedLanes|s))!==0?0:u}function qa(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Qs(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function nc(){var r=q.p;return r!==0?r:(r=window.event,r===void 0?32:Lv(r.type))}function Hi(r,s){var u=q.p;try{return q.p=r,s()}finally{q.p=u}}var Dr=Math.random().toString(36).slice(2),Wt="__reactFiber$"+Dr,Je="__reactProps$"+Dr,Hn="__reactContainer$"+Dr,lu="__reactEvents$"+Dr,rc="__reactListeners$"+Dr,cu="__reactHandles$"+Dr,du="__reactResources$"+Dr,zi="__reactMarker$"+Dr;function fu(r){delete r[Wt],delete r[Je],delete r[lu],delete r[rc],delete r[cu]}function Gi(r){var s=r[Wt];if(s)return s;for(var u=r.parentNode;u;){if(s=u[Hn]||u[Wt]){if(u=s.alternate,s.child!==null||u!==null&&u.child!==null)for(r=wv(r);r!==null;){if(u=r[Wt])return u;r=wv(r)}return s}r=u,u=r.parentNode}return null}function qi(r){if(r=r[Wt]||r[Hn]){var s=r.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return r}return null}function Ks(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r.stateNode;throw Error(i(33))}function Sn(r){var s=r[du];return s||(s=r[du]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Bt(r){r[zi]=!0}var Mr=new Set,ic={};function ei(r,s){ti(r,s),ti(r+"Capture",s)}function ti(r,s){for(ic[r]=s,r=0;r<s.length;r++)Mr.add(s[r])}var sc=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ys={},Qa={};function Ka(r){return fr.call(Qa,r)?!0:fr.call(Ys,r)?!1:sc.test(r)?Qa[r]=!0:(Ys[r]=!0,!1)}function Ar(r,s,u){if(Ka(s))if(u===null)r.removeAttribute(s);else{switch(typeof u){case"undefined":case"function":case"symbol":r.removeAttribute(s);return;case"boolean":var f=s.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){r.removeAttribute(s);return}}r.setAttribute(s,""+u)}}function Br(r,s,u){if(u===null)r.removeAttribute(s);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttribute(s,""+u)}}function Jt(r,s,u,f){if(f===null)r.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(u);return}r.setAttributeNS(s,u,""+f)}}function Cn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ac(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function oc(r,s,u){var f=Object.getOwnPropertyDescriptor(r.constructor.prototype,s);if(!r.hasOwnProperty(s)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var A=f.get,b=f.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return A.call(this)},set:function(R){u=""+R,b.call(this,R)}}),Object.defineProperty(r,s,{enumerable:f.enumerable}),{getValue:function(){return u},setValue:function(R){u=""+R},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function Ya(r){if(!r._valueTracker){var s=ac(r)?"checked":"value";r._valueTracker=oc(r,s,""+r[s])}}function uc(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var u=s.getValue(),f="";return r&&(f=ac(r)?r.checked?"true":"false":r.value),r=f,r!==u?(s.setValue(r),!0):!1}function Vs(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var nh=/[\n"\\]/g;function Tn(r){return r.replace(nh,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Va(r,s,u,f,A,b,R,N){r.name="",R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?r.type=R:r.removeAttribute("type"),s!=null?R==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+Cn(s)):r.value!==""+Cn(s)&&(r.value=""+Cn(s)):R!=="submit"&&R!=="reset"||r.removeAttribute("value"),s!=null?Js(r,R,Cn(s)):u!=null?Js(r,R,Cn(u)):f!=null&&r.removeAttribute("value"),A==null&&b!=null&&(r.defaultChecked=!!b),A!=null&&(r.checked=A&&typeof A!="function"&&typeof A!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?r.name=""+Cn(N):r.removeAttribute("name")}function Ws(r,s,u,f,A,b,R,N){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(r.type=b),s!=null||u!=null){if(!(b!=="submit"&&b!=="reset"||s!=null)){Ya(r);return}u=u!=null?""+Cn(u):"",s=s!=null?""+Cn(s):u,N||s===r.value||(r.value=s),r.defaultValue=s}f=f??A,f=typeof f!="function"&&typeof f!="symbol"&&!!f,r.checked=N?r.checked:!!f,r.defaultChecked=!!f,R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"&&(r.name=R),Ya(r)}function Js(r,s,u){s==="number"&&Vs(r.ownerDocument)===r||r.defaultValue===""+u||(r.defaultValue=""+u)}function pe(r,s,u,f){if(r=r.options,s){s={};for(var A=0;A<u.length;A++)s["$"+u[A]]=!0;for(u=0;
vendor: 4,870 bytes, line 9
9u<r.length;u++)A=s.hasOwnProperty("$"+r[u].value),r[u].selected!==A&&(r[u].selected=A),A&&f&&(r[u].defaultSelected=!0)}else{for(u=""+Cn(u),s=null,A=0;A<r.length;A++){if(r[A].value===u){r[A].selected=!0,f&&(r[A].defaultSelected=!0);return}s!==null||r[A].disabled||(s=r[A])}s!==null&&(s.selected=!0)}}function F(r,s,u){if(s!=null&&(s=""+Cn(s),s!==r.value&&(r.value=s),u==null)){r.defaultValue!==s&&(r.defaultValue=s);return}r.defaultValue=u!=null?""+Cn(u):""}function X(r,s,u,f){if(s==null){if(f!=null){if(u!=null)throw Error(i(92));if(G(f)){if(1<f.length)throw Error(i(93));f=f[0]}u=f}u==null&&(u=""),s=u}u=Cn(s),r.defaultValue=u,f=r.textContent,f===u&&f!==""&&f!==null&&(r.value=f),Ya(r)}function he(r,s){if(s){var u=r.firstChild;if(u&&u===r.lastChild&&u.nodeType===3){u.nodeValue=s;return}}r.textContent=s}var Ce=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ze(r,s,u){var f=s.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?f?r.setProperty(s,""):s==="float"?r.cssFloat="":r[s]="":f?r.setProperty(s,u):typeof u!="number"||u===0||Ce.has(s)?s==="float"?r.cssFloat=u:r[s]=(""+u).trim():r[s]=u+"px"}function Xe(r,s,u){if(s!=null&&typeof s!="object")throw Error(i(62));if(r=r.style,u!=null){for(var f in u)!u.hasOwnProperty(f)||s!=null&&s.hasOwnProperty(f)||(f.indexOf("--")===0?r.setProperty(f,""):f==="float"?r.cssFloat="":r[f]="");for(var A in s)f=s[A],s.hasOwnProperty(A)&&u[A]!==f&&ze(r,A,f)}else for(var b in s)s.hasOwnProperty(b)&&ze(r,b,s[b])}function kt(r){if(r.indexOf("-")===-1)return!1;switch(r){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 It=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
9-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function bn(r){return Rn.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function zn(){}var Zt=null;function rh(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Wa=null,Ja=null;function fA(r){var s=qi(r);if(s&&(r=s.stateNode)){var u=r[Je]||null;e:switch(r=s.stateNode,s.type){case"input":if(Va(r,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),s=u.name,u.type==="radio"&&s!=null){for(u=r;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Tn(""+s)+'"][type="radio"]'),s=0;s<u.length;s++){var f=u[s];if(f!==r&&f.form===r.form){var A=f[Je]||null;if(!A)throw Error(i(90));Va(f,A.value,A.defaultValue,A.defaultValue,A.checked,A.defaultChecked,A.type,A.name)}}for(s=0;s<u.length;s++)f=u[s],f.form===r.form&&uc(f)}break e;case"textarea":F(r,u.value,u.defaultValue);break e;case"select":s=u.value,s!=null&&pe(r,!!u.multiple,s,!1)}}}var ih=!1;function hA(r,s,u){if(ih)return r(s,u);ih=!0;try{var f=r(s);return f}finally{if(ih=!1,(Wa!==null||Ja!==null)&&(Wc(),Wa&&(s=Wa,r=Ja,Ja=Wa=null,fA(s),r)))for(s=0;s<r.length;s++)fA(r[s])}}function hu(r,s){var u=r.stateNode;if(u===null)return null;var f=u[Je]||null;if(f===null)return null;u=f[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(r=r.type,f=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!f;break e;default:r=!1}if(r)return null;if(u&&typeof u!="function")throw Error(i(231,s,typeof u));return u}var ni=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sh=!1;if(ni)try{var pu={};Object.defineProperty(pu,"passive",{get:function(){sh=!0}}),window.addEventListener("test",pu,pu),window.removeEventListener("test",pu,pu)}catch{sh=!1}var Qi=null,ah=null,lc=null;function pA(){if(lc)return lc;var r,s=ah,u=s.length,f,A="value"in Qi?Qi.value:Qi.textContent,b=A.length;for(r=0;r<u&&s[r]===A[r];r++);var R=u-r;for(f=1;f<=R&&s[u-f]===A[b-f];f++);return lc=A.slice(r,1<f?1-f:void 0)}function cc(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function dc(){return!0}function mA(){return!1}function On(r){function s(u,f,A,b,R){this._reactName=u,this._targetInst=A,this.type=f,this.nativeEvent=b,this.target=R,this.currentTarget=null;for(var N in r)r.hasOwnProperty(N)&&(u=r[N],this[N]=u?u(b):b[N]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?dc:mA,this.isPropagationStopped=mA,this}return m(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=dc)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=dc)},persist:function(){},isPersistent:dc}),s}var Zs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fc=On(Zs),mu=m({},Zs,{view:0,detail:0}),WC=On(mu),oh,uh,gu,hc=m({},mu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ch,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==gu&&(gu&&r.type==="mousemove"?(oh=r.screenX-gu.screenX,uh=r.screenY-gu.screenY):uh=oh=0,gu=r),oh)},movementY:function(r){return"movementY"in r?r.movementY:uh}}),gA=On(hc),JC=m({},hc,{dataTransfer:0}),ZC=On(JC),$C=m({},mu,{relatedTarget:0}),lh=On($C),XC=m({},Zs,{animationName:0,elapsedTime:0,pseudoElement:0}),eT=On(XC),tT=m({},Zs,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),nT=On(tT),rT=m({},Zs,{data:0}),AA=On(rT),iT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sT={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"},aT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oT(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=aT[r])?!!s[r]:!1}function ch(){return oT}var uT=m({},mu,{key:function(r){if(r.key){var s=iT[r.key]||r.key;if(s!=="Unidentified")return s}
vendor: 5,186 bytes, line 9
9return r.type==="keypress"?(r=cc(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?sT[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ch,charCode:function(r){return r.type==="keypress"?cc(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?cc(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),lT=On(uT),cT=m({},hc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yA=On(cT),dT=m({},mu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ch}),fT=On(dT),hT=m({},Zs,{propertyName:0,elapsedTime:0,pseudoElement:0}),pT=On(hT),mT=m({},hc,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),gT=On(mT),AT=m({},Zs,{newState:0,oldState:0}),yT=On(AT),bT=[9,13,27,32],dh=ni&&"CompositionEvent"in window,Au=null;ni&&"documentMode"in document&&(Au=document.documentMode);var vT=ni&&"TextEvent"in window&&!Au,bA=ni&&(!dh||Au&&8<Au&&11>=Au),vA=" ",wA=!1;function SA(r,s){switch(r){case"keyup":return bT.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _A(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Za=!1;function wT(r,s){switch(r){case"compositionend":return _A(s);case"keypress":return s.which!==32?null:(wA=!0,vA);case"textInput":return r=s.data,r===vA&&wA?null:r;default:return null}}function ST(r,s){if(Za)return r==="compositionend"||!dh&&SA(r,s)?(r=pA(),lc=ah=Qi=null,Za=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return bA&&s.locale!=="ko"?null:s.data;default:return null}}var _T={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 xA(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!_T[r.type]:s==="textarea"}function EA(r,s,u,f){Wa?Ja?Ja.push(f):Ja=[f]:Wa=f,s=nd(s,"onChange"),0<s.length&&(u=new fc("onChange","change",null,u,f),r.push({event:u,listeners:s}))}var yu=null,bu=null;function xT(r){ov(r,0)}function pc(r){var s=Ks(r);if(uc(s))return r}function CA(r,s){if(r==="change")return s}var TA=!1;if(ni){var fh;if(ni){var hh="oninput"in document;if(!hh){var RA=document.createElement("div");RA.setAttribute("oninput","return;"),hh=typeof RA.oninput=="function"}fh=hh}else fh=!1;TA=fh&&(!document.documentMode||9<document.documentMode)}function OA(){yu&&(yu.detachEvent("onpropertychange",kA),bu=yu=null)}function kA(r){if(r.propertyName==="value"&&pc(bu)){var s=[];EA(s,bu,r,rh(r)),hA(xT,s)}}function ET(r,s,u){r==="focusin"?(OA(),yu=s,bu=u,yu.attachEvent("onpropertychange",kA)):r==="focusout"&&OA()}function CT(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return pc(bu)}function TT(r,s){if(r==="click")return pc(s)}function RT(r,s){if(r==="input"||r==="change")return pc(s)}function OT(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var Gn=typeof Object.is=="function"?Object.is:OT;function vu(r,s){if(Gn(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var u=Object.keys(r),f=Object.keys(s);if(u.length!==f.length)return!1;for(f=0;f<u.length;f++){var A=u[f];if(!fr.call(s,A)||!Gn(r[A],s[A]))return!1}return!0}function IA(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function NA(r,s){var u=IA(r);r=0;for(var f;u;){if(u.nodeType===3){if(f=r+u.textContent.length,r<=s&&f>=s)return{node:u,offset:s-r};r=f}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=IA(u)}}function DA(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?DA(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function MA(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var s=Vs(r.document);s instanceof r.HTMLIFrameElement;){try{var u=typeof s.contentWindow.location.href=="string"}catch{u=!1}if(u)r=s.contentWindow;else break;s=Vs(r.document)}return s}function ph(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}var kT=ni&&"documentMode"in document&&11>=document.documentMode,$a=null,mh=null,wu=null,gh=!1;function BA(r,s,u){var f=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;gh||$a==null||$a!==Vs(f)||(f=$a,"selectionStart"in f&&ph(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focu
vendor: 15,004 bytes, line 9
9sNode:f.focusNode,focusOffset:f.focusOffset}),wu&&vu(wu,f)||(wu=f,f=nd(mh,"onSelect"),0<f.length&&(s=new fc("onSelect","select",null,s,u),r.push({event:s,listeners:f}),s.target=$a)))}function $s(r,s){var u={};return u[r.toLowerCase()]=s.toLowerCase(),u["Webkit"+r]="webkit"+s,u["Moz"+r]="moz"+s,u}var Xa={animationend:$s("Animation","AnimationEnd"),animationiteration:$s("Animation","AnimationIteration"),animationstart:$s("Animation","AnimationStart"),transitionrun:$s("Transition","TransitionRun"),transitionstart:$s("Transition","TransitionStart"),transitioncancel:$s("Transition","TransitionCancel"),transitionend:$s("Transition","TransitionEnd")},Ah={},jA={};ni&&(jA=document.createElement("div").style,"AnimationEvent"in window||(delete Xa.animationend.animation,delete Xa.animationiteration.animation,delete Xa.animationstart.animation),"TransitionEvent"in window||delete Xa.transitionend.transition);function Xs(r){if(Ah[r])return Ah[r];if(!Xa[r])return r;var s=Xa[r],u;for(u in s)if(s.hasOwnProperty(u)&&u in jA)return Ah[r]=s[u];return r}var LA=Xs("animationend"),PA=Xs("animationiteration"),UA=Xs("animationstart"),IT=Xs("transitionrun"),NT=Xs("transitionstart"),DT=Xs("transitioncancel"),FA=Xs("transitionend"),HA=new Map,yh="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");yh.push("scrollEnd");function yr(r,s){HA.set(r,s),ei(s,[r])}var mc=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},tr=[],eo=0,bh=0;function gc(){for(var r=eo,s=bh=eo=0;s<r;){var u=tr[s];tr[s++]=null;var f=tr[s];tr[s++]=null;var A=tr[s];tr[s++]=null;var b=tr[s];if(tr[s++]=null,f!==null&&A!==null){var R=f.pending;R===null?A.next=A:(A.next=R.next,R.next=A),f.pending=A}b!==0&&zA(u,A,b)}}function Ac(r,s,u,f){tr[eo++]=r,tr[eo++]=s,tr[eo++]=u,tr[eo++]=f,bh|=f,r.lanes|=f,r=r.alternate,r!==null&&(r.lanes|=f)}function vh(r,s,u,f){return Ac(r,s,u,f),yc(r)}function ea(r,s){return Ac(r,null,null,s),yc(r)}function zA(r,s,u){r.lanes|=u;var f=r.alternate;f!==null&&(f.lanes|=u);for(var A=!1,b=r.return;b!==null;)b.childLanes|=u,f=b.alternate,f!==null&&(f.childLanes|=u),b.tag===22&&(r=b.stateNode,r===null||r._visibility&1||(A=!0)),r=b,b=b.return;return r.tag===3?(b=r.stateNode,A&&s!==null&&(A=31-un(u),r=b.hiddenUpdates,f=r[A],f===null?r[A]=[s]:f.push(s),s.lane=u|536870912),b):null}function yc(r){if(50<Gu)throw Gu=0,O0=null,Error(i(185));for(var s=r.return;s!==null;)r=s,s=r.return;return r.tag===3?r.stateNode:null}var to={};function MT(r,s,u,f){this.tag=r,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qn(r,s,u,f){return new MT(r,s,u,f)}function wh(r){return r=r.prototype,!(!r||!r.isReactComponent)}function ri(r,s){var u=r.alternate;return u===null?(u=qn(r.tag,s,r.key,r.mode),u.elementType=r.elementType,u.type=r.type,u.stateNode=r.stateNode,u.alternate=r,r.alternate=u):(u.pendingProps=s,u.type=r.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=r.flags&65011712,u.childLanes=r.childLanes,u.lanes=r.lanes,u.child=r.child,u.memoizedProps=r.memoizedProps,u.memoizedState=r.memoizedState,u.updateQueue=r.updateQueue,s=r.dependencies,u.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},u.sibling=r.sibling,u.index=r.index,u.ref=r.ref,u.refCleanup=r.refCleanup,u}function GA(r,s){r.flags&=65011714;var u=r.alternate;return u===null?(r.childLanes=0,r.lanes=s,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=u.childLanes,r.lanes=u.lanes,r.child=u.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=u.memoizedProps,r.memoizedState=u.memoizedState,r.updateQueue=u.updateQueue,r.type=u.type,s=u.dependencies,r.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),r}function bc(r,s,u,f,A,b){var R=0;if(f=r,typeof r=="function")wh(r)&&(R=1);else if(typeof r=="string")R=U3(r,u,ue.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case j:return r=qn(31,u,s,A),r.elementType=j,r.lanes=b,r;case x:return ta(u.children,A,b,s);case S:R=8,A|=24;break;case w:return r=qn(12,u,s,A|2),r.elementType=w,r.lanes=b,r;case C:return r=qn(13,u,s,A),r.elementType=C,r.lanes=b,r;case k:return r=qn(19,u,s,A),r.elementType=k,r.lanes=b,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case T:R=10;break e;case _:R=9;break e;case E:R=11;break e;case I:R=14;break e;case M:R=16,f=null;break e}R=29,u=Error(i(130,r===null?"null":typeof r,"")),f=null}return s=qn(R,u,s,A),s.elementType=r,s.type=f,s.lanes=b,s}function ta(r,s,u,f){return r=qn(7,r,f,s),r.lanes=u,r}function Sh(r,s,u){return r=qn(6,r,null,s),r.lanes=u,r}function qA(r){var s=qn(18,null,null,0);return s.stateNode=r,s}function _h(r,s,u){return s=qn(4,r.children!==null?r.children:[],r.key,s),s.lanes=u,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}var QA=new WeakMap;function nr(r,s){if(typeof r=="object"&&r!==null){var u=QA.get(r);return u!==void 0?u:(s={value:r,source:s,stack:Vt(s)},QA.set(r,s),s)}return{value:r,source:s,stack:Vt(s)}}var no=[],ro=0,vc=null,Su=0,rr=[],ir=0,Ki=null,jr=1,Lr="";function ii(r,s){no[ro++]=Su,no[ro++]=vc,vc=r,Su=s}function KA(r,s,u){rr[ir++]=jr,rr[ir++]=Lr,rr[ir++]=Ki,Ki=r;var f=jr;r=Lr;var A=32-un(f)-1;f&=~(1<<A),u+=1;var b=32-un(s)+A;if(30<b){var R=A-A%5;b=(f&(1<<R)-1).toString(32),f>>=R,A-=R,jr=1<<32-un(s)+A|u<<A|f,Lr=b+r}else jr=1<<b|u<<A|f,Lr=r}function xh(r){r.return!==null&&(ii(r,1),KA(r,1,0))}function Eh(r){for(;r===vc;)vc=no[--ro],no[ro]=null,Su=no[--ro],no[ro]=null;for(;r===Ki;)Ki=rr[--ir],rr[ir]=null,Lr=rr[--ir],rr[ir]=null,jr=rr[--ir],rr[ir]=null}function YA(r,s){rr[ir++]=jr,rr[ir++]=Lr,rr[ir++]=Ki,jr=s.id,Lr=s.overflow,Ki=r}var ln=null,xt=null,nt=!1,Yi=null,sr=!1,Ch=Error(i(519));function Vi(r){var s=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw _u(nr(s,r)),Ch}function VA(r){var s=r.stateNode,u=r.type,f=r.memoizedProps;switch(s[Wt]=r,s[Je]=f,u){case"dialog":$e("cancel",s),$e("close",s);break;case"iframe":case"object":case"embed":$e("load",s);break;case"video":case"audio":for(u=0;u<Qu.length;u++)$e(Qu[u],s);break;case"source":$e("error",s);break;case"img":case"image":case"link":$e("error",s),$e("load",s);break;case"details":$e("toggle",s);break;case"input":$e("invalid",s),Ws(s,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":$e("invalid",s);break;case"textarea":$e("invalid",s),X(s,f.value,f.defaultValue,f.children)}u=f.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||s.textContent===""+u||f.suppressHydrationWarning===!0||dv(s.textContent,u)?(f.popover!=null&&($e("beforetoggle",s),$e("toggle",s)),f.onScroll!=null&&$e("scroll",s),f.onScrollEnd!=null&&$e("scrollend",s),f.onClick!=null&&(s.onclick=zn),s=!0):s=!1,s||Vi(r,!0)}function WA(r){for(ln=r.return;ln;)switch(ln.tag){case 5:case 31:case 13:sr=!1;return;case 27:case 3:sr=!0;return;default:ln=ln.return}}function io(r){if(r!==ln)return!1;if(!nt)return WA(r),nt=!0,!1;var s=r.tag,u;if((u=s!==3&&s!==27)&&((u=s===5)&&(u=r.type,u=!(u!=="form"&&u!=="button")||q0(r.type,r.memoizedProps)),u=!u),u&&xt&&Vi(r),WA(r),s===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));xt=vv(r)}else if(s===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));xt=vv(r)}else s===27?(s=xt,us(r.type)?(r=W0,W0=null,xt=r):xt=s):xt=ln?or(r.stateNode.nextSibling):null;return!0}function na(){xt=ln=null,nt=!1}function Th(){var r=Yi;return r!==null&&(Dn===null?Dn=r:Dn.push.apply(Dn,r),Yi=null),r}function _u(r){Yi===null?Yi=[r]:Yi.push(r)}var Rh=B(null),ra=null,si=null;function Wi(r,s,u){V(Rh,s._currentValue),s._currentValue=u}function ai(r){r._currentValue=Rh.current,K(Rh)}function Oh(r,s,u){for(;r!==null;){var f=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,f!==null&&(f.childLanes|=s)):f!==null&&(f.childLanes&s)!==s&&(f.childLanes|=s),r===u)break;r=r.return}}function kh(r,s,u,f){var A=r.child;for(A!==null&&(A.return=r);A!==null;){var b=A.dependencies;if(b!==null){var R=A.child;b=b.firstContext;e:for(;b!==null;){var N=b;b=A;for(var z=0;z<s.length;z++)if(N.context===s[z]){b.lanes|=u,N=b.alternate,N!==null&&(N.lanes|=u),Oh(b.return,u,r),f||(R=null);break e}b=N.next}}else if(A.tag===18){if(R=A.return,R===null)throw Error(i(341));R.lanes|=u,b=R.alternate,b!==null&&(b.lanes|=u),Oh(R,u,r),R=null}else R=A.child;if(R!==null)R.return=A;else for(R=A;R!==null;){if(R===r){R=null;break}if(A=R.sibling,A!==null){A.return=R.return,R=A;break}R=R.return}A=R}}function so(r,s,u,f){r=null;for(var A=s,b=!1;A!==null;){if(!b){if((A.flags&524288)!==0)b=!0;else if((A.flags&262144)!==0)break}if(A.tag===10){var R=A.alternate;if(R===null)throw Error(i(387));if(R=R.memoizedProps,R!==null){var N=A.type;Gn(A.pendingProps.value,R.value)||(r!==null?r.push(N):r=[N])}}else if(A===ye.current){if(R=A.alternate,R===null)throw Error(i(387));R.memoizedState.memoizedState!==A.memoizedState.memoizedState&&(r!==null?r.push(Ju):r=[Ju])}A=A.return}r!==null&&kh(s,r,u,f),s.flags|=262144}function wc(r){for(r=r.firstContext;r!==null;){if(!Gn(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function ia(r){ra=r,si=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function cn(r){return JA(ra,r)}function Sc(r,s){return ra===null&&ia(r),JA(r,s)}function JA(r,s){var u=s._currentValue;if(s={context:s,memoizedValue:u,next:null},si===null){if(r===null)throw Error(i(308));si=s,r.dependencies={lanes:0,firstContext:s},r.flags|=524288}else si=si.next=s;return u}var BT=typeof AbortController<"u"?AbortController:function(){var r=[],s=this.signal={aborted:!1,addEventListener:function(u,f){r.push(f)}};this.abort=function(){s.aborted=!0,r.forEach(function(u){return u()})}},jT=e.unstable_scheduleCallback,LT=e.unstable_NormalPriority,Ut={$$typeof:T,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ih(){return{controller:new BT,data:new Map,refCount:0}}function xu(r){r.refCount--,r.refCount===0&&jT(LT,function(){r.controller.abort()})}var Eu=null,Nh=0,ao=0,oo=null;function PT(r,s){if(Eu===null){var u=Eu=[];Nh=0,ao=B0(),oo={status:"pending",value:void 0,then:function(f){u.push(f)}}}return Nh++,s.then(ZA,ZA),s}function ZA(){if(--Nh===0&&Eu!==null){oo!==null&&(oo.status="fulfilled");var r=Eu;Eu=null,ao=0,oo=null;for(var s=0;s<r.length;s++)(0,r[s])()}}function UT(r,s){var u=[],f={status:"pending",value:null,reason:null,then:function(A){u.push(A)}};return r.then(function(){f.status="fulfilled",f.value=s;for(var A=0;A<u.length;A++)(0,u[A])(s)},function(A){for(f.status="rejected",f.reason=A,A=0;A<u.length;A++)(0,u[A])(void 0)}),f}var $A=L.S;L.S=function(r,s){Bb=Ne(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&PT(r,s),$A!==null&&$A(r,s)};var sa=B(null);function Dh(){var r=sa.current;return r!==null?r:yt.pooledCache}function _c(r,s){s===null?V(sa,sa.current):V(sa,s.pool)}function XA(){var r=Dh();return r===null?null:{parent:Ut._currentValue,pool:r}}var uo=Error(i(460)),Mh=Error(i(474)),xc=Error(i(542)),Ec={then:function(){}};function ey(r){return r=r.status,r==="fulfilled"||r==="rejected"}function ty(r,s,u){switch(u=r[u],u===void 0?r.push(s):u!==s&&(s.then(zn,zn),s=u),s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,ry(r),r;default:if(typeof s.status=="string")s.then(zn,zn);else{if(r=yt,r!==null&&100<r.shellSuspendCounter)throw Error(i(482));r=s,r.status="pending",r.then(function(f){if(s.status==="pending"){var A=s;A.status="fulfilled",A.value=f}},function(f){if(s.status==="pending"){var A=s;A.status="rejected",A.reason=f}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,ry(r),r}throw oa=s,uo}}function aa(r){try{var s=r._init;return s(r._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(oa=u,uo):u}}var oa=null;function ny(){if(oa===null)throw Error(i(459));var r=oa;return oa=null,r}function ry(r){if(r===uo||r===xc)throw Error(i(483))}var lo=null,Cu=0;function Cc(r){var s=Cu;return Cu+=1,lo===null&&(lo=[]),ty(lo,r,s)}function Tu(r,s){s=s.props.ref,r.ref=s!==void 0?s:null}function Tc(r,s){throw s.$$typeof===g?Error(i(525)):(r=Object.prototype.toString.call(s),Error(i(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r)))}function iy(r){function s(Y,Q){if(r){var J=Y.deletions;J===null?(Y.deletions=[Q],Y.flags|=16):J.push(Q)}}function u(Y,Q){if(!r)return null;for(;Q!==null;)s(Y,Q),Q=Q.sibling;return null}function f(Y){for(var Q=new Map;Y!==null;)Y.key!==null?Q.set(Y.key,Y):Q.set(Y.index,Y),Y=Y.sibling;return Q}function A(Y,Q){return Y=ri(Y,Q),Y.index=0,Y.sibling=null,Y}function b(Y,Q,J){return Y.index=J,r?(J=Y.alternate,J!==null?(J=J.index,J<Q?(Y.flags|=67108866,Q):J):(Y.flags|=67108866,Q)):(Y.flags|=1048576,Q)}function R(Y){return r&&Y.alternate===null&&(Y.flags|=67108866),Y}function N(Y,Q,J,ae){return Q===null||Q.tag!==6?(Q=Sh(J,Y.mode,ae),Q.return=Y,Q):(Q=A(Q,J),Q.return=Y,Q)}function z(Y,Q,J,ae){var Ie=J.type;return Ie===x?se(Y,Q,J.props.children,ae,J.key):Q!==null&&(Q.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===M&&aa(Ie)===Q.type)?(Q=A(Q,J.props),Tu(Q,J),Q.return=Y,Q):(Q=bc(J.type,J.key,J.props,null,Y.mode,ae),Tu(Q,J),Q.return=Y,Q)}function $(Y,Q,J,ae){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==J.containerInfo||Q.stateNode.implementation!==J.implementation?(Q=_h(J,Y.mode,ae),Q.return=Y,Q):(Q=A(Q,J.children||[]),Q.return=Y,Q)}function se(Y,Q,J,ae,Ie){return Q===null||Q.tag!==7?(Q=ta(J,Y.mode,ae,Ie),Q.return=Y,Q):(Q=A(Q,J),Q.return=Y,Q)}function le(Y,Q,J){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Q=Sh(""+Q,Y.mode,J),Q.return=Y,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case y:return J=b
vendor: 4,988 bytes, line 9
9c(Q.type,Q.key,Q.props,null,Y.mode,J),Tu(J,Q),J.return=Y,J;case v:return Q=_h(Q,Y.mode,J),Q.return=Y,Q;case M:return Q=aa(Q),le(Y,Q,J)}if(G(Q)||H(Q))return Q=ta(Q,Y.mode,J,null),Q.return=Y,Q;if(typeof Q.then=="function")return le(Y,Cc(Q),J);if(Q.$$typeof===T)return le(Y,Sc(Y,Q),J);Tc(Y,Q)}return null}function te(Y,Q,J,ae){var Ie=Q!==null?Q.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return Ie!==null?null:N(Y,Q,""+J,ae);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case y:return J.key===Ie?z(Y,Q,J,ae):null;case v:return J.key===Ie?$(Y,Q,J,ae):null;case M:return J=aa(J),te(Y,Q,J,ae)}if(G(J)||H(J))return Ie!==null?null:se(Y,Q,J,ae,null);if(typeof J.then=="function")return te(Y,Q,Cc(J),ae);if(J.$$typeof===T)return te(Y,Q,Sc(Y,J),ae);Tc(Y,J)}return null}function re(Y,Q,J,ae,Ie){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return Y=Y.get(J)||null,N(Q,Y,""+ae,Ie);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case y:return Y=Y.get(ae.key===null?J:ae.key)||null,z(Q,Y,ae,Ie);case v:return Y=Y.get(ae.key===null?J:ae.key)||null,$(Q,Y,ae,Ie);case M:return ae=aa(ae),re(Y,Q,J,ae,Ie)}if(G(ae)||H(ae))return Y=Y.get(J)||null,se(Q,Y,ae,Ie,null);if(typeof ae.then=="function")return re(Y,Q,J,Cc(ae),Ie);if(ae.$$typeof===T)return re(Y,Q,J,Sc(Q,ae),Ie);Tc(Q,ae)}return null}function we(Y,Q,J,ae){for(var Ie=null,at=null,Re=Q,Qe=Q=0,tt=null;Re!==null&&Qe<J.length;Qe++){Re.index>Qe?(tt=Re,Re=null):tt=Re.sibling;var ot=te(Y,Re,J[Qe],ae);if(ot===null){Re===null&&(Re=tt);break}r&&Re&&ot.alternate===null&&s(Y,Re),Q=b(ot,Q,Qe),at===null?Ie=ot:at.sibling=ot,at=ot,Re=tt}if(Qe===J.length)return u(Y,Re),nt&&ii(Y,Qe),Ie;if(Re===null){for(;Qe<J.length;Qe++)Re=le(Y,J[Qe],ae),Re!==null&&(Q=b(Re,Q,Qe),at===null?Ie=Re:at.sibling=Re,at=Re);return nt&&ii(Y,Qe),Ie}for(Re=f(Re);Qe<J.length;Qe++)tt=re(Re,Y,Qe,J[Qe],ae),tt!==null&&(r&&tt.alternate!==null&&Re.delete(tt.key===null?Qe:tt.key),Q=b(tt,Q,Qe),at===null?Ie=tt:at.sibling=tt,at=tt);return r&&Re.forEach(function(hs){return s(Y,hs)}),nt&&ii(Y,Qe),Ie}function De(Y,Q,J,ae){if(J==null)throw Error(i(151));for(var Ie=null,at=null,Re=Q,Qe=Q=0,tt=null,ot=J.next();Re!==null&&!ot.done;Qe++,ot=J.next()){Re.index>Qe?(tt=Re,Re=null):tt=Re.sibling;var hs=te(Y,Re,ot.value,ae);if(hs===null){Re===null&&(Re=tt);break}r&&Re&&hs.alternate===null&&s(Y,Re),Q=b(hs,Q,Qe),at===null?Ie=hs:at.sibling=hs,at=hs,Re=tt}if(ot.done)return u(Y,Re),nt&&ii(Y,Qe),Ie;if(Re===null){for(;!ot.done;Qe++,ot=J.next())ot=le(Y,ot.value,ae),ot!==null&&(Q=b(ot,Q,Qe),at===null?Ie=ot:at.sibling=ot,at=ot);return nt&&ii(Y,Qe),Ie}for(Re=f(Re);!ot.done;Qe++,ot=J.next())ot=re(Re,Y,Qe,ot.value,ae),ot!==null&&(r&&ot.alternate!==null&&Re.delete(ot.key===null?Qe:ot.key),Q=b(ot,Q,Qe),at===null?Ie=ot:at.sibling=ot,at=ot);return r&&Re.forEach(function(J3){return s(Y,J3)}),nt&&ii(Y,Qe),Ie}function mt(Y,Q,J,ae){if(typeof J=="object"&&J!==null&&J.type===x&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case y:e:{for(var Ie=J.key;Q!==null;){if(Q.key===Ie){if(Ie=J.type,Ie===x){if(Q.tag===7){u(Y,Q.sibling),ae=A(Q,J.props.children),ae.return=Y,Y=ae;break e}}else if(Q.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===M&&aa(Ie)===Q.type){u(Y,Q.sibling),ae=A(Q,J.props),Tu(ae,J),ae.return=Y,Y=ae;break e}u(Y,Q);break}else s(Y,Q);Q=Q.sibling}J.type===x?(ae=ta(J.props.children,Y.mode,ae,J.key),ae.return=Y,Y=ae):(ae=bc(J.type,J.key,J.props,null,Y.mode,ae),Tu(ae,J),ae.return=Y,Y=ae)}return R(Y);case v:e:{for(Ie=J.key;Q!==null;){if(Q.key===Ie)if(Q.tag===4&&Q.stateNode.containerInfo===J.containerInfo&&Q.stateNode.implementation===J.implementation){u(Y,Q.sibling),ae=A(Q,J.children||[]),ae.return=Y,Y=ae;break e}else{u(Y,Q);break}else s(Y,Q);Q=Q.sibling}ae=_h(J,Y.mode,ae),ae.return=Y,Y=ae}return R(Y);case M:return J=aa(J),mt(Y,Q,J,ae)}if(G(J))return we(Y,Q,J,ae);if(H(J)){if(Ie=H(J),typeof Ie!="function")throw Error(i(150));return J=Ie.call(J),De(Y,Q,J,ae)}if(typeof J.then=="function")return mt(Y,Q,Cc(J),ae);if(J.$$typeof===T)return mt(Y,Q,Sc(Y,J),ae);Tc(Y,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,Q!==null&&Q.tag===6?(u(Y,Q.sibling),ae=A(Q,J),ae.return=Y,Y=ae):(u(Y,Q),ae=Sh(J,Y.mode,ae),ae.return=Y,Y=ae),R(Y)):u(Y,Q)}return function(Y,Q,J,ae){try{Cu=0;var Ie=mt(Y,Q,J,ae);return lo=null,Ie}catch(Re){if(Re===uo||Re===xc)throw Re;var at=qn(29,Re,null,Y.mode);return at.lanes=ae,at.return=Y,at}}}var ua=iy(!0),sy=iy(!1),Ji=!1;function Bh(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jh(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Zi(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function $i(r,s,u){var f=r.updateQueue;if(f===null)return null;
vendor: 5,970 bytes, line 9
9if(f=f.shared,(ct&2)!==0){var A=f.pending;return A===null?s.next=s:(s.next=A.next,A.next=s),f.pending=s,s=yc(r),zA(r,null,u),s}return Ac(r,f,s,u),yc(r)}function Ru(r,s,u){if(s=s.updateQueue,s!==null&&(s=s.shared,(u&4194048)!==0)){var f=s.lanes;f&=r.pendingLanes,u|=f,s.lanes=u,uu(r,u)}}function Lh(r,s){var u=r.updateQueue,f=r.alternate;if(f!==null&&(f=f.updateQueue,u===f)){var A=null,b=null;if(u=u.firstBaseUpdate,u!==null){do{var R={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};b===null?A=b=R:b=b.next=R,u=u.next}while(u!==null);b===null?A=b=s:b=b.next=s}else A=b=s;u={baseState:f.baseState,firstBaseUpdate:A,lastBaseUpdate:b,shared:f.shared,callbacks:f.callbacks},r.updateQueue=u;return}r=u.lastBaseUpdate,r===null?u.firstBaseUpdate=s:r.next=s,u.lastBaseUpdate=s}var Ph=!1;function Ou(){if(Ph){var r=oo;if(r!==null)throw r}}function ku(r,s,u,f){Ph=!1;var A=r.updateQueue;Ji=!1;var b=A.firstBaseUpdate,R=A.lastBaseUpdate,N=A.shared.pending;if(N!==null){A.shared.pending=null;var z=N,$=z.next;z.next=null,R===null?b=$:R.next=$,R=z;var se=r.alternate;se!==null&&(se=se.updateQueue,N=se.lastBaseUpdate,N!==R&&(N===null?se.firstBaseUpdate=$:N.next=$,se.lastBaseUpdate=z))}if(b!==null){var le=A.baseState;R=0,se=$=z=null,N=b;do{var te=N.lane&-536870913,re=te!==N.lane;if(re?(et&te)===te:(f&te)===te){te!==0&&te===ao&&(Ph=!0),se!==null&&(se=se.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var we=r,De=N;te=s;var mt=u;switch(De.tag){case 1:if(we=De.payload,typeof we=="function"){le=we.call(mt,le,te);break e}le=we;break e;case 3:we.flags=we.flags&-65537|128;case 0:if(we=De.payload,te=typeof we=="function"?we.call(mt,le,te):we,te==null)break e;le=m({},le,te);break e;case 2:Ji=!0}}te=N.callback,te!==null&&(r.flags|=64,re&&(r.flags|=8192),re=A.callbacks,re===null?A.callbacks=[te]:re.push(te))}else re={lane:te,tag:N.tag,payload:N.payload,callback:N.callback,next:null},se===null?($=se=re,z=le):se=se.next=re,R|=te;if(N=N.next,N===null){if(N=A.shared.pending,N===null)break;re=N,N=re.next,re.next=null,A.lastBaseUpdate=re,A.shared.pending=null}}while(!0);se===null&&(z=le),A.baseState=z,A.firstBaseUpdate=$,A.lastBaseUpdate=se,b===null&&(A.shared.lanes=0),rs|=R,r.lanes=R,r.memoizedState=le}}function ay(r,s){if(typeof r!="function")throw Error(i(191,r));r.call(s)}function oy(r,s){var u=r.callbacks;if(u!==null)for(r.callbacks=null,r=0;r<u.length;r++)ay(u[r],s)}var co=B(null),Rc=B(0);function uy(r,s){r=mi,V(Rc,r),V(co,s),mi=r|s.baseLanes}function Uh(){V(Rc,mi),V(co,co.current)}function Fh(){mi=Rc.current,K(co),K(Rc)}var Qn=B(null),ar=null;function Xi(r){var s=r.alternate;V(jt,jt.current&1),V(Qn,r),ar===null&&(s===null||co.current!==null||s.memoizedState!==null)&&(ar=r)}function Hh(r){V(jt,jt.current),V(Qn,r),ar===null&&(ar=r)}function ly(r){r.tag===22?(V(jt,jt.current),V(Qn,r),ar===null&&(ar=r)):es()}function es(){V(jt,jt.current),V(Qn,Qn.current)}function Kn(r){K(Qn),ar===r&&(ar=null),K(jt)}var jt=B(0);function Oc(r){for(var s=r;s!==null;){if(s.tag===13){var u=s.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Y0(u)||V0(u)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder==="forwards"||s.memoizedProps.revealOrder==="backwards"||s.memoizedProps.revealOrder==="unstable_legacy-backwards"||s.memoizedProps.revealOrder==="together")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var oi=0,Ge=null,ht=null,Ft=null,kc=!1,fo=!1,la=!1,Ic=0,Iu=0,ho=null,FT=0;function Nt(){throw Error(i(321))}function zh(r,s){if(s===null)return!1;for(var u=0;u<s.length&&u<r.length;u++)if(!Gn(r[u],s[u]))return!1;return!0}function Gh(r,s,u,f,A,b){return oi=b,Ge=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,L.H=r===null||r.memoizedState===null?Ky:i0,la=!1,b=u(f,A),la=!1,fo&&(b=dy(s,u,f,A)),cy(r),b}function cy(r){L.H=Mu;var s=ht!==null&&ht.next!==null;if(oi=0,Ft=ht=Ge=null,kc=!1,Iu=0,ho=null,s)throw Error(i(300));r===null||Ht||(r=r.dependencies,r!==null&&wc(r)&&(Ht=!0))}function dy(r,s,u,f){Ge=r;var A=0;do{if(fo&&(ho=null),Iu=0,fo=!1,25<=A)throw Error(i(301));if(A+=1,Ft=ht=null,r.updateQueue!=null){var b=r.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}L.H=Yy,b=s(u,f)}while(fo);return b}function HT(){var r=L.H,s=r.useState()[0];return s=typeof s.then=="function"?Nu(s):s,r=r.useState()[0],(ht!==null?ht.memoizedState:null)!==r&&(Ge.flags|=1024),s}function qh(){var r=Ic!==0;return Ic=0,r}function Qh(r,s,u){s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~u}function Kh(r){if(kc){for(r=r.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}kc=!1}oi=0,Ft=ht=Ge=null,fo=!1,Iu=Ic=0,ho=null}function _n(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ft===null?Ge.memoizedState=Ft=r:Ft=Ft.next=r,Ft}function Lt(){if(ht===null){var r=Ge.alternate;r=r!==null?r.memoizedState:null}else r=ht.next;var s=Ft===null?Ge.memoizedState:Ft.next;if(s!==null)Ft=s,ht=r;else{if(r===null)throw Ge.alternate===null?Error(i(467)):Error(i(310));ht=r,r={memoizedState:ht.memoizedState,baseState:ht.baseState,baseQueue:ht.baseQueue,queue:ht.queue,next:null},Ft===null?Ge.memoizedState=Ft=r:Ft=Ft.next=r}return Ft}function Nc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Nu(r){var s=Iu;return Iu+=1,ho===null&&(ho=[]),r=ty(ho,r,s),s=Ge,(Ft===null?s.memoizedState:Ft.next)===null&&(s=s.alternate,L.H=s===null||s.memoizedState===null?Ky:i0),r}function Dc(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Nu(r);if(r.$$typeof===T)return cn(r)}throw Error(i(438,String(r)))}function Yh(r){var s=null,u=Ge.updateQueue;if(u!==null&&(s=u.memoCache),s==null){var f=Ge.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(s={data:f.data.map(function(A){return A.
vendor: 5,727 bytes, line 9
9slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),u===null&&(u=Nc(),Ge.updateQueue=u),u.memoCache=s,u=s.data[s.index],u===void 0)for(u=s.data[s.index]=Array(r),f=0;f<r;f++)u[f]=U;return s.index++,u}function ui(r,s){return typeof s=="function"?s(r):s}function Mc(r){var s=Lt();return Vh(s,ht,r)}function Vh(r,s,u){var f=r.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=u;var A=r.baseQueue,b=f.pending;if(b!==null){if(A!==null){var R=A.next;A.next=b.next,b.next=R}s.baseQueue=A=b,f.pending=null}if(b=r.baseState,A===null)r.memoizedState=b;else{s=A.next;var N=R=null,z=null,$=s,se=!1;do{var le=$.lane&-536870913;if(le!==$.lane?(et&le)===le:(oi&le)===le){var te=$.revertLane;if(te===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),le===ao&&(se=!0);else if((oi&te)===te){$=$.next,te===ao&&(se=!0);continue}else le={lane:0,revertLane:$.revertLane,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},z===null?(N=z=le,R=b):z=z.next=le,Ge.lanes|=te,rs|=te;le=$.action,la&&u(b,le),b=$.hasEagerState?$.eagerState:u(b,le)}else te={lane:le,revertLane:$.revertLane,gesture:$.gesture,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},z===null?(N=z=te,R=b):z=z.next=te,Ge.lanes|=le,rs|=le;$=$.next}while($!==null&&$!==s);if(z===null?R=b:z.next=N,!Gn(b,r.memoizedState)&&(Ht=!0,se&&(u=oo,u!==null)))throw u;r.memoizedState=b,r.baseState=R,r.baseQueue=z,f.lastRenderedState=b}return A===null&&(f.lanes=0),[r.memoizedState,f.dispatch]}function Wh(r){var s=Lt(),u=s.queue;if(u===null)throw Error(i(311));u.lastRenderedReducer=r;var f=u.dispatch,A=u.pending,b=s.memoizedState;if(A!==null){u.pending=null;var R=A=A.next;do b=r(b,R.action),R=R.next;while(R!==A);Gn(b,s.memoizedState)||(Ht=!0),s.memoizedState=b,s.baseQueue===null&&(s.baseState=b),u.lastRenderedState=b}return[b,f]}function fy(r,s,u){var f=Ge,A=Lt(),b=nt;if(b){if(u===void 0)throw Error(i(407));u=u()}else u=s();var R=!Gn((ht||A).memoizedState,u);if(R&&(A.memoizedState=u,Ht=!0),A=A.queue,$h(my.bind(null,f,A,r),[r]),A.getSnapshot!==s||R||Ft!==null&&Ft.memoizedState.tag&1){if(f.flags|=2048,po(9,{destroy:void 0},py.bind(null,f,A,u,s),null),yt===null)throw Error(i(349));b||(oi&127)!==0||hy(f,s,u)}return u}function hy(r,s,u){r.flags|=16384,r={getSnapshot:s,value:u},s=Ge.updateQueue,s===null?(s=Nc(),Ge.updateQueue=s,s.stores=[r]):(u=s.stores,u===null?s.stores=[r]:u.push(r))}function py(r,s,u,f){s.value=u,s.getSnapshot=f,gy(s)&&Ay(r)}function my(r,s,u){return u(function(){gy(s)&&Ay(r)})}function gy(r){var s=r.getSnapshot;r=r.value;try{var u=s();return!Gn(r,u)}catch{return!0}}function Ay(r){var s=ea(r,2);s!==null&&Mn(s,r,2)}function Jh(r){var s=_n();if(typeof r=="function"){var u=r;if(r=u(),la){mr(!0);try{u()}finally{mr(!1)}}}return s.memoizedState=s.baseState=r,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ui,lastRenderedState:r},s}function yy(r,s,u,f){return r.baseState=u,Vh(r,ht,typeof f=="function"?f:ui)}function zT(r,s,u,f,A){if(Lc(r))throw Error(i(485));if(r=s.action,r!==null){var b={payload:A,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(R){b.listeners.push(R)}};L.T!==null?u(!0):b.isTransition=!1,f(b),u=s.pending,u===null?(b.next=s.pending=b,by(s,b)):(b.next=u.next,s.pending=u.next=b)}}function by(r,s){var u=s.action,f=s.payload,A=r.state;if(s.isTransition){var b=L.T,R={};L.T=R;try{var N=u(A,f),z=L.S;z!==null&&z(R,N),vy(r,s,N)}catch($){Zh(r,s,$)}finally{b!==null&&R.types!==null&&(b.types=R.types),L.T=b}}else try{b=u(A,f),vy(r,s,b)}catch($){Zh(r,s,$)}}function vy(r,s,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(f){wy(r,s,f)},function(f){return Zh(r,s,f)}):wy(r,s,u)}function wy(r,s,u){s.status="fulfilled",s.value=u,Sy(s),r.state=u,s=r.pending,s!==null&&(u=s.next,u===s?r.pending=null:(u=u.next,s.next=u,by(r,u)))}function Zh(r,s,u){var f=r.pending;if(r.pending=null,f!==null){f=f.next;do s.status="rejected",s.reason=u,Sy(s),s=s.next;while(s!==f)}r.action=null}function Sy(r){r=r.listeners;for(var s=0;s<r.length;s++)(0,r[s])()}function _y(r,s){return s}function xy(r,s){if(nt){var u=yt.formState;if(u!==null){e:{var f=Ge;if(nt){if(xt){t:{for(var A=xt,b=sr;A.nodeType!==8;){if(!b){A=null;break t}if(A=or(A.nextSibling),A===null){A=null;break t}}b=A.data,A=b==="F!"||b==="F"?A:null}if(A){xt=or(A.nextSibling),f=A.data==="F!";break e}}Vi(f)}f=!1}f&&(s=u[0])}}return u=_n(),u.memoizedState=u.baseState=s,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_y,lastRenderedState:s},u.queue=f,u=Gy.bind(null,Ge,f),f.dispatch=u,f=Jh(!1),b=r0.bind(null,Ge,!1,f.queue),f=_n(),A={state:s,dispatch:null,action:r,pending:null},f.queue=A,u=zT.bind(null,Ge,A,b,u),A.dispatch=u,f.memoizedState=r,[s,u,!1]}function Ey(r){var s=Lt();return Cy(s,ht,r)}function Cy(r,s,u){if(s=Vh(r,s,_y)[0],r=Mc(ui)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var f=Nu(s)}catch(R){throw R===uo?xc:R}else f=s;s=Lt();var A=s.queue,b=A.dispatch;return u!==s.memoizedState&&(Ge.flags|=2048,po(9,{destroy:void 0},GT.bind(null,A,u),null)),[f,b,r]}function GT(r,s){r.action=s}function Ty(r){var s=Lt(),u=ht;if(u!==null)return Cy(s,u,r);Lt(),s=s.memoizedState,u=Lt();var f=u.queue.dispatch;return u.memoizedState=r,[s,f,!1]}function po(r,s,u,f){return r={tag:r,create:u,deps:f,inst:s,next:null},s=Ge.updateQueue,s===null&&(s=Nc(),Ge.updateQueue=s),u=s.lastEffect,u===null?s.lastEffect=r.next=r:(f=u.next,u.next=r,r.next=f,s.lastEffect=r),r}function Ry(){return Lt().memoizedState}function Bc(r,s,u,f){var A=_n();Ge.flags|=r,A.memoizedState=po(1|s,{destroy:void 0},u,f===void 0?null:f)}
vendor: 4,966 bytes, line 9
9function jc(r,s,u,f){var A=Lt();f=f===void 0?null:f;var b=A.memoizedState.inst;ht!==null&&f!==null&&zh(f,ht.memoizedState.deps)?A.memoizedState=po(s,b,u,f):(Ge.flags|=r,A.memoizedState=po(1|s,b,u,f))}function Oy(r,s){Bc(8390656,8,r,s)}function $h(r,s){jc(2048,8,r,s)}function qT(r){Ge.flags|=4;var s=Ge.updateQueue;if(s===null)s=Nc(),Ge.updateQueue=s,s.events=[r];else{var u=s.events;u===null?s.events=[r]:u.push(r)}}function ky(r){var s=Lt().memoizedState;return qT({ref:s,nextImpl:r}),function(){if((ct&2)!==0)throw Error(i(440));return s.impl.apply(void 0,arguments)}}function Iy(r,s){return jc(4,2,r,s)}function Ny(r,s){return jc(4,4,r,s)}function Dy(r,s){if(typeof s=="function"){r=r();var u=s(r);return function(){typeof u=="function"?u():s(null)}}if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function My(r,s,u){u=u!=null?u.concat([r]):null,jc(4,4,Dy.bind(null,s,r),u)}function Xh(){}function By(r,s){var u=Lt();s=s===void 0?null:s;var f=u.memoizedState;return s!==null&&zh(s,f[1])?f[0]:(u.memoizedState=[r,s],r)}function jy(r,s){var u=Lt();s=s===void 0?null:s;var f=u.memoizedState;if(s!==null&&zh(s,f[1]))return f[0];if(f=r(),la){mr(!0);try{r()}finally{mr(!1)}}return u.memoizedState=[f,s],f}function e0(r,s,u){return u===void 0||(oi&1073741824)!==0&&(et&261930)===0?r.memoizedState=s:(r.memoizedState=u,r=Lb(),Ge.lanes|=r,rs|=r,u)}function Ly(r,s,u,f){return Gn(u,s)?u:co.current!==null?(r=e0(r,u,f),Gn(r,s)||(Ht=!0),r):(oi&42)===0||(oi&1073741824)!==0&&(et&261930)===0?(Ht=!0,r.memoizedState=u):(r=Lb(),Ge.lanes|=r,rs|=r,s)}function Py(r,s,u,f,A){var b=q.p;q.p=b!==0&&8>b?b:8;var R=L.T,N={};L.T=N,r0(r,!1,s,u);try{var z=A(),$=L.S;if($!==null&&$(N,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var se=UT(z,f);Du(r,s,se,Wn(r))}else Du(r,s,f,Wn(r))}catch(le){Du(r,s,{then:function(){},status:"rejected",reason:le},Wn())}finally{q.p=b,R!==null&&N.types!==null&&(R.types=N.types),L.T=R}}function QT(){}function t0(r,s,u,f){if(r.tag!==5)throw Error(i(476));var A=Uy(r).queue;Py(r,A,s,W,u===null?QT:function(){return Fy(r),u(f)})}function Uy(r){var s=r.memoizedState;if(s!==null)return s;s={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ui,lastRenderedState:W},next:null};var u={};return s.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ui,lastRenderedState:u},next:null},r.memoizedState=s,r=r.alternate,r!==null&&(r.memoizedState=s),s}function Fy(r){var s=Uy(r);s.next===null&&(s=r.alternate.memoizedState),Du(r,s.next.queue,{},Wn())}function n0(){return cn(Ju)}function Hy(){return Lt().memoizedState}function zy(){return Lt().memoizedState}function KT(r){for(var s=r.return;s!==null;){switch(s.tag){case 24:case 3:var u=Wn();r=Zi(u);var f=$i(s,r,u);f!==null&&(Mn(f,s,u),Ru(f,s,u)),s={cache:Ih()},r.payload=s;return}s=s.return}}function YT(r,s,u){var f=Wn();u={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Lc(r)?qy(s,u):(u=vh(r,s,u,f),u!==null&&(Mn(u,r,f),Qy(u,s,f)))}function Gy(r,s,u){var f=Wn();Du(r,s,u,f)}function Du(r,s,u,f){var A={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Lc(r))qy(s,A);else{var b=r.alternate;if(r.lanes===0&&(b===null||b.lanes===0)&&(b=s.lastRenderedReducer,b!==null))try{var R=s.lastRenderedState,N=b(R,u);if(A.hasEagerState=!0,A.eagerState=N,Gn(N,R))return Ac(r,s,A,0),yt===null&&gc(),!1}catch{}if(u=vh(r,s,A,f),u!==null)return Mn(u,r,f),Qy(u,s,f),!0}return!1}function r0(r,s,u,f){if(f={lane:2,revertLane:B0(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},Lc(r)){if(s)throw Error(i(479))}else s=vh(r,u,f,2),s!==null&&Mn(s,r,2)}function Lc(r){var s=r.alternate;return r===Ge||s!==null&&s===Ge}function qy(r,s){fo=kc=!0;var u=r.pending;u===null?s.next=s:(s.next=u.next,u.next=s),r.pending=s}function Qy(r,s,u){if((u&4194048)!==0){var f=s.lanes;f&=r.pendingLanes,u|=f,s.lanes=u,uu(r,u)}}var Mu={readContext:cn,use:Dc,useCallback:Nt,useContext:Nt,useEffect:Nt,useImperativeHandle:Nt,useLayoutEffect:Nt,useInsertionEffect:Nt,useMemo:Nt,useReducer:Nt,useRef:Nt,useState:Nt,useDebugValue:Nt,useDeferredValue:Nt,useTransition:Nt,useSyncExternalStore:Nt,useId:Nt,useHostTransitionStatus:Nt,useFormState:Nt,useActionState:Nt,useOptimistic:Nt,useMemoCache:Nt,useCacheRefresh:Nt};Mu.useEffectEvent=Nt;var Ky={readContext:cn,use:Dc,useCallback:function(r,s){return _n().memoizedState=[r,s===void 0?null:s],r},useContext:cn,useEffect:Oy,useImperativeHandle:function(r,s,u){u=u!=null?u.concat([r]):null,Bc(4194308,4,Dy.bind(null,s,r),u)},useLayoutEffect:function(r,s){return Bc(4194308,4,r,s)},useInsertionEffect:function(r,s){Bc(4,2,r,s)},useMemo:function(r,s){var u=_n();s=s===void 0?null:s;var f=r();if(la){mr(!0);try{r()}finally{mr(!1)}}return u.memoizedState=[f,s],f},useReducer:function(r,s,u){var f=_n();if(u!==void 0){var A=u(s);if(la){mr(!0);try{u(s)}finally{mr(!1)}}}else A=s;
vendor: 7,480 bytes, line 9
9return f.memoizedState=f.baseState=A,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:A},f.queue=r,r=r.dispatch=YT.bind(null,Ge,r),[f.memoizedState,r]},useRef:function(r){var s=_n();return r={current:r},s.memoizedState=r},useState:function(r){r=Jh(r);var s=r.queue,u=Gy.bind(null,Ge,s);return s.dispatch=u,[r.memoizedState,u]},useDebugValue:Xh,useDeferredValue:function(r,s){var u=_n();return e0(u,r,s)},useTransition:function(){var r=Jh(!1);return r=Py.bind(null,Ge,r.queue,!0,!1),_n().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,s,u){var f=Ge,A=_n();if(nt){if(u===void 0)throw Error(i(407));u=u()}else{if(u=s(),yt===null)throw Error(i(349));(et&127)!==0||hy(f,s,u)}A.memoizedState=u;var b={value:u,getSnapshot:s};return A.queue=b,Oy(my.bind(null,f,b,r),[r]),f.flags|=2048,po(9,{destroy:void 0},py.bind(null,f,b,u,s),null),u},useId:function(){var r=_n(),s=yt.identifierPrefix;if(nt){var u=Lr,f=jr;u=(f&~(1<<32-un(f)-1)).toString(32)+u,s="_"+s+"R_"+u,u=Ic++,0<u&&(s+="H"+u.toString(32)),s+="_"}else u=FT++,s="_"+s+"r_"+u.toString(32)+"_";return r.memoizedState=s},useHostTransitionStatus:n0,useFormState:xy,useActionState:xy,useOptimistic:function(r){var s=_n();s.memoizedState=s.baseState=r;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=u,s=r0.bind(null,Ge,!0,u),u.dispatch=s,[r,s]},useMemoCache:Yh,useCacheRefresh:function(){return _n().memoizedState=KT.bind(null,Ge)},useEffectEvent:function(r){var s=_n(),u={impl:r};return s.memoizedState=u,function(){if((ct&2)!==0)throw Error(i(440));return u.impl.apply(void 0,arguments)}}},i0={readContext:cn,use:Dc,useCallback:By,useContext:cn,useEffect:$h,useImperativeHandle:My,useInsertionEffect:Iy,useLayoutEffect:Ny,useMemo:jy,useReducer:Mc,useRef:Ry,useState:function(){return Mc(ui)},useDebugValue:Xh,useDeferredValue:function(r,s){var u=Lt();return Ly(u,ht.memoizedState,r,s)},useTransition:function(){var r=Mc(ui)[0],s=Lt().memoizedState;return[typeof r=="boolean"?r:Nu(r),s]},useSyncExternalStore:fy,useId:Hy,useHostTransitionStatus:n0,useFormState:Ey,useActionState:Ey,useOptimistic:function(r,s){var u=Lt();return yy(u,ht,r,s)},useMemoCache:Yh,useCacheRefresh:zy};i0.useEffectEvent=ky;var Yy={readContext:cn,use:Dc,useCallback:By,useContext:cn,useEffect:$h,useImperativeHandle:My,useInsertionEffect:Iy,useLayoutEffect:Ny,useMemo:jy,useReducer:Wh,useRef:Ry,useState:function(){return Wh(ui)},useDebugValue:Xh,useDeferredValue:function(r,s){var u=Lt();return ht===null?e0(u,r,s):Ly(u,ht.memoizedState,r,s)},useTransition:function(){var r=Wh(ui)[0],s=Lt().memoizedState;return[typeof r=="boolean"?r:Nu(r),s]},useSyncExternalStore:fy,useId:Hy,useHostTransitionStatus:n0,useFormState:Ty,useActionState:Ty,useOptimistic:function(r,s){var u=Lt();return ht!==null?yy(u,ht,r,s):(u.baseState=r,[r,u.queue.dispatch])},useMemoCache:Yh,useCacheRefresh:zy};Yy.useEffectEvent=ky;function s0(r,s,u,f){s=r.memoizedState,u=u(f,s),u=u==null?s:m({},s,u),r.memoizedState=u,r.lanes===0&&(r.updateQueue.baseState=u)}var a0={enqueueSetState:function(r,s,u){r=r._reactInternals;var f=Wn(),A=Zi(f);A.payload=s,u!=null&&(A.callback=u),s=$i(r,A,f),s!==null&&(Mn(s,r,f),Ru(s,r,f))},enqueueReplaceState:function(r,s,u){r=r._reactInternals;var f=Wn(),A=Zi(f);A.tag=1,A.payload=s,u!=null&&(A.callback=u),s=$i(r,A,f),s!==null&&(Mn(s,r,f),Ru(s,r,f))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var u=Wn(),f=Zi(u);f.tag=2,s!=null&&(f.callback=s),s=$i(r,f,u),s!==null&&(Mn(s,r,u),Ru(s,r,u))}};function Vy(r,s,u,f,A,b,R){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(f,b,R):s.prototype&&s.prototype.isPureReactComponent?!vu(u,f)||!vu(A,b):!0}function Wy(r,s,u,f){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(u,f),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(u,f),s.state!==r&&a0.enqueueReplaceState(s,s.state,null)}function ca(r,s){var u=s;if("ref"in s){u={};for(var f in s)f!=="ref"&&(u[f]=s[f])}if(r=r.defaultProps){u===s&&(u=m({},u));for(var A in r)u[A]===void 0&&(u[A]=r[A])}return u}function Jy(r){mc(r)}function Zy(r){console.error(r)}function $y(r){mc(r)}function Pc(r,s){try{var u=r.onUncaughtError;u(s.value,{componentStack:s.stack})}catch(f){setTimeout(function(){throw f})}}function Xy(r,s,u){try{var f=r.onCaughtError;f(u.value,{componentStack:u.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(A){setTimeout(function(){throw A})}}function o0(r,s,u){return u=Zi(u),u.tag=3,u.payload={element:null},u.callback=function(){Pc(r,s)},u}function eb(r){return r=Zi(r),r.tag=3,r}function tb(r,s,u,f){var A=u.type.getDerivedStateFromError;if(typeof A=="function"){var b=f.value;r.payload=function(){return A(b)},r.callback=function(){Xy(s,u,f)}}var R=u.stateNode;R!==null&&typeof R.componentDidCatch=="function"&&(r.callback=function(){Xy(s,u,f),typeof A!="function"&&(is===null?is=new Set([this]):is.add(this));var N=f.stack;this.componentDidCatch(f.value,{componentStack:N!==null?N:""})})}function VT(r,s,u,f,A){if(u.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(s=u.alternate,s!==null&&so(s,u,A,!0),u=Qn.current,u!==null){switch(u.tag){case 31:case 13:return ar===null?Jc():u.alternate===null&&Dt===0&&(Dt=3),u.flags&=-257,u.flags|=65536,u.lanes=A,f===Ec?u.flags|=16384:(s=u.updateQueue,s===null?u.updateQueue=new Set([f]):s.add(f),N0(r,f,A)),!1;case 22:return u.flags|=65536,f===Ec?u.flags|=16384:(s=u.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([f])},u.updateQueue=s):(u=s.retryQueue,u===null?s.retryQueue=new Set([f]):u.add(f)),N0(r,f,A)),!1}throw Error(i(435,u.tag))}return N0(r,f,A),Jc(),!1}if(nt)return s=Qn.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=A,f!==Ch&&(r=Error(i(422),{cause:f}),_u(nr(r,u)))):(f!==Ch&&(s=Error(i(423),{cause:f}),_u(nr(s,u))),r=r.current.alternate,r.flags|=65536,A&=-A,r.lanes|=A,f=nr(f,u),A=o0(r.stateNode,f,A),Lh(r,A),Dt!==4&&(Dt=2)),!1;var b=Error(i(520),{cause:f});if(b=nr(b,u),zu===null?zu=[b]:zu.push(b),Dt!==4&&(Dt=2),s===null)return!0;f=nr(f,u),u=s;do{switch(u.tag){case 3:return u.flags|=65536,r=A&-A,u.lanes|=r,r=o0(u.stateNode,f,r),Lh(u,r),!1;case 1:if(s=u.type,b=u.stateNode,(u.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(is===null||!is.has(b))))return u.flags|=65536,A&=-A,u.lanes|=A,A=eb(A),tb(A,r,u,f),Lh(u,A),!1}u=u.return}while(u!==null);return!1}var u0=Error(i(461)),Ht=!1;function dn(r,s,u,f){s.child=r===null?sy(s,null,u,f):ua(s,r.child,u,f)}function nb(r,s,u,f,A){u=u.render;var b=s.ref;if("ref"in f){var R={};for(var N in f)N!=="ref"&&(R[N]=f[N])}else R=f;return ia(s),f=Gh(r,s,u,R,b,A),N=qh(),r!==null&&!Ht?(Qh(r,s,A),li(r,s,A)):(nt&&N&&xh(s),s.flags|=1,dn(r,s,f,A),s.child)}function rb(r,s,u,f,A){if(r===null){var b=u.type;return typeof b=="function"&&!wh(b)&&b.defaultProps===void 0&&u.compare===null?(s.tag=15,s.type=b,ib(r,s,b,f,A)):(r=bc(u.type,null,f,s,s.mode,A),r.ref=s.ref,r.return=s,s.child=r)}if(b=r.child,!g0(r,A)){var R=b.memoizedProps;if(u=u.compare,u=u!==null?u:vu,u(R,f)&&r.ref===s.ref)return li(r,s,A)}return s.flags|=1,r=ri(b,f),r.ref=s.ref,r.return=s,s.child=r}function ib(r,s,u,f,A){if(r!==null){var b=r.memoizedProps;if(vu(b,f)&&r.ref===s.ref)if(Ht=!1,s.pendingProps=f=b,g0(r,A))(r.flags&131072)!==0&&(Ht=!0);else return s.lanes=r.lanes,li(r,s,A)}return l0(r,s,u,f,A)}
vendor: 13,430 bytes, line 9
9function sb(r,s,u,f){var A=f.children,b=r!==null?r.memoizedState:null;if(r===null&&s.stateNode===null&&(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((s.flags&128)!==0){if(b=b!==null?b.baseLanes|u:u,r!==null){for(f=s.child=r.child,A=0;f!==null;)A=A|f.lanes|f.childLanes,f=f.sibling;f=A&~b}else f=0,s.child=null;return ab(r,s,b,u,f)}if((u&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},r!==null&&_c(s,b!==null?b.cachePool:null),b!==null?uy(s,b):Uh(),ly(s);else return f=s.lanes=536870912,ab(r,s,b!==null?b.baseLanes|u:u,u,f)}else b!==null?(_c(s,b.cachePool),uy(s,b),es(),s.memoizedState=null):(r!==null&&_c(s,null),Uh(),es());return dn(r,s,A,u),s.child}function Bu(r,s){return r!==null&&r.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function ab(r,s,u,f,A){var b=Dh();return b=b===null?null:{parent:Ut._currentValue,pool:b},s.memoizedState={baseLanes:u,cachePool:b},r!==null&&_c(s,null),Uh(),ly(s),r!==null&&so(r,s,f,!0),s.childLanes=A,null}function Uc(r,s){return s=Hc({mode:s.mode,children:s.children},r.mode),s.ref=r.ref,r.child=s,s.return=r,s}function ob(r,s,u){return ua(s,r.child,null,u),r=Uc(s,s.pendingProps),r.flags|=2,Kn(s),s.memoizedState=null,r}function WT(r,s,u){var f=s.pendingProps,A=(s.flags&128)!==0;if(s.flags&=-129,r===null){if(nt){if(f.mode==="hidden")return r=Uc(s,f),s.lanes=536870912,Bu(null,r);if(Hh(s),(r=xt)?(r=bv(r,sr),r=r!==null&&r.data==="&"?r:null,r!==null&&(s.memoizedState={dehydrated:r,treeContext:Ki!==null?{id:jr,overflow:Lr}:null,retryLane:536870912,hydrationErrors:null},u=qA(r),u.return=s,s.child=u,ln=s,xt=null)):r=null,r===null)throw Vi(s);return s.lanes=536870912,null}return Uc(s,f)}var b=r.memoizedState;if(b!==null){var R=b.dehydrated;if(Hh(s),A)if(s.flags&256)s.flags&=-257,s=ob(r,s,u);else if(s.memoizedState!==null)s.child=r.child,s.flags|=128,s=null;else throw Error(i(558));else if(Ht||so(r,s,u,!1),A=(u&r.childLanes)!==0,Ht||A){if(f=yt,f!==null&&(R=Ga(f,u),R!==0&&R!==b.retryLane))throw b.retryLane=R,ea(r,R),Mn(f,r,R),u0;Jc(),s=ob(r,s,u)}else r=b.treeContext,xt=or(R.nextSibling),ln=s,nt=!0,Yi=null,sr=!1,r!==null&&YA(s,r),s=Uc(s,f),s.flags|=4096;return s}return r=ri(r.child,{mode:f.mode,children:f.children}),r.ref=s.ref,s.child=r,r.return=s,r}function Fc(r,s){var u=s.ref;if(u===null)r!==null&&r.ref!==null&&(s.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(i(284));(r===null||r.ref!==u)&&(s.flags|=4194816)}}function l0(r,s,u,f,A){return ia(s),u=Gh(r,s,u,f,void 0,A),f=qh(),r!==null&&!Ht?(Qh(r,s,A),li(r,s,A)):(nt&&f&&xh(s),s.flags|=1,dn(r,s,u,A),s.child)}function ub(r,s,u,f,A,b){return ia(s),s.updateQueue=null,u=dy(s,f,u,A),cy(r),f=qh(),r!==null&&!Ht?(Qh(r,s,b),li(r,s,b)):(nt&&f&&xh(s),s.flags|=1,dn(r,s,u,b),s.child)}function lb(r,s,u,f,A){if(ia(s),s.stateNode===null){var b=to,R=u.contextType;typeof R=="object"&&R!==null&&(b=cn(R)),b=new u(f,b),s.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=a0,s.stateNode=b,b._reactInternals=s,b=s.stateNode,b.props=f,b.state=s.memoizedState,b.refs={},Bh(s),R=u.contextType,b.context=typeof R=="object"&&R!==null?cn(R):to,b.state=s.memoizedState,R=u.getDerivedStateFromProps,typeof R=="function"&&(s0(s,u,R,f),b.state=s.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(R=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),R!==b.state&&a0.enqueueReplaceState(b,b.state,null),ku(s,f,b,A),Ou(),b.state=s.memoizedState),typeof b.componentDidMount=="function"&&(s.flags|=4194308),f=!0}else if(r===null){b=s.stateNode;var N=s.memoizedProps,z=ca(u,N);b.props=z;var $=b.context,se=u.contextType;R=to,typeof se=="object"&&se!==null&&(R=cn(se));var le=u.getDerivedStateFromProps;se=typeof le=="function"||typeof b.getSnapshotBeforeUpdate=="function",N=s.pendingProps!==N,se||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(N||$!==R)&&Wy(s,b,f,R),Ji=!1;var te=s.memoizedState;b.state=te,ku(s,f,b,A),Ou(),$=s.memoizedState,N||te!==$||Ji?(typeof le=="function"&&(s0(s,u,le,f),$=s.memoizedState),(z=Ji||Vy(s,u,z,f,te,$,R))?(se||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(s.flags|=4194308)):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=f,s.memoizedState=$),b.props=f,b.state=$,b.context=R,f=z):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),f=!1)}else{b=s.stateNode,jh(r,s),R=s.memoizedProps,se=ca(u,R),b.props=se,le=s.pendingProps,te=b.context,$=u.contextType,z=to,typeof $=="object"&&$!==null&&(z=cn($)),N=u.getDerivedStateFromProps,($=typeof N=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(R!==le||te!==z)&&Wy(s,b,f,z),Ji=!1,te=s.memoizedState,b.state=te,ku(s,f,b,A),Ou();var re=s.memoizedState;R!==le||te!==re||Ji||r!==null&&r.dependencies!==null&&wc(r.dependencies)?(typeof N=="function"&&(s0(s,u,N,f),re=s.memoizedState),(se=Ji||Vy(s,u,se,f,te,re,z)||r!==null&&r.dependencies!==null&&wc(r.dependencies))?($||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(f,re,z),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(f,re,z)),typeof b.componentDidUpdate=="function"&&(s.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof b.componentDidUpdate!="function"||R===r.memoizedProps&&te===r.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||R===r.memoizedProps&&te===r.memoizedState||(s.flags|=1024),s.memoizedProps=f,s.memoizedState=re),b.props=f,b.state=re,b.context=z,f=se):(typeof b.componentDidUpdate!="function"||R===r.memoizedProps&&te===r.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||R===r.memoizedProps&&te===r.memoizedState||(s.flags|=1024),f=!1)}return b=f,Fc(r,s),f=(s.flags&128)!==0,b||f?(b=s.stateNode,u=f&&typeof u.getDerivedStateFromError!="function"?null:b.render(),s.flags|=1,r!==null&&f?(s.child=ua(s,r.child,null,A),s.child=ua(s,null,u,A)):dn(r,s,u,A),s.memoizedState=b.state,r=s.child):r=li(r,s,A),r}function cb(r,s,u,f){return na(),s.flags|=256,dn(r,s,u,f),s.child}var c0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function d0(r){return{baseLanes:r,cachePool:XA()}}function f0(r,s,u){return r=r!==null?r.childLanes&~u:0,s&&(r|=Vn),r}function db(r,s,u){var f=s.pendingProps,A=!1,b=(s.flags&128)!==0,R;if((R=b)||(R=r!==null&&r.memoizedState===null?!1:(jt.current&2)!==0),R&&(A=!0,s.flags&=-129),R=(s.flags&32)!==0,s.flags&=-33,r===null){if(nt){if(A?Xi(s):es(),(r=xt)?(r=bv(r,sr),r=r!==null&&r.data!=="&"?r:null,r!==null&&(s.memoizedState={dehydrated:r,treeContext:Ki!==null?{id:jr,overflow:Lr}:null,retryLane:536870912,hydrationErrors:null},u=qA(r),u.return=s,s.child=u,ln=s,xt=null)):r=null,r===null)throw Vi(s);return V0(r)?s.lanes=32:s.lanes=536870912,null}var N=f.children;return f=f.fallback,A?(es(),A=s.mode,N=Hc({mode:"hidden",children:N},A),f=ta(f,A,u,null),N.return=s,f.return=s,N.sibling=f,s.child=N,f=s.child,f.memoizedState=d0(u),f.childLanes=f0(r,R,u),s.memoizedState=c0,Bu(null,f)):(Xi(s),h0(s,N))}var z=r.memoizedState;if(z!==null&&(N=z.dehydrated,N!==null)){if(b)s.flags&256?(Xi(s),s.flags&=-257,s=p0(r,s,u)):s.memoizedState!==null?(es(),s.child=r.child,s.flags|=128,s=null):(es(),N=f.fallback,A=s.mode,f=Hc({mode:"visible",children:f.children},A),N=ta(N,A,u,null),N.flags|=2,f.return=s,N.return=s,f.sibling=N,s.child=f,ua(s,r.child,null,u),f=s.child,f.memoizedState=d0(u),f.childLanes=f0(r,R,u),s.memoizedState=c0,s=Bu(null,f));else if(Xi(s),V0(N)){if(R=N.nextSibling&&N.nextSibling.dataset,R)var $=R.dgst;R=$,f=Error(i(419)),f.stack="",f.digest=R,_u({value:f,source:null,stack:null}),s=p0(r,s,u)}else if(Ht||so(r,s,u,!1),R=(u&r.childLanes)!==0,Ht||R){if(R=yt,R!==null&&(f=Ga(R,u),f!==0&&f!==z.retryLane))throw z.retryLane=f,ea(r,f),Mn(R,r,f),u0;Y0(N)||Jc(),s=p0(r,s,u)}else Y0(N)?(s.flags|=192,s.child=r.child,s=null):(r=z.treeContext,xt=or(N.nextSibling),ln=s,nt=!0,Yi=null,sr=!1,r!==null&&YA(s,r),s=h0(s,f.children),s.flags|=4096);return s}return A?(es(),N=f.fallback,A=s.mode,z=r.child,$=z.sibling,f=ri(z,{mode:"hidden",children:f.children}),f.subtreeFlags=z.subtreeFlags&65011712,$!==null?N=ri($,N):(N=ta(N,A,u,null),N.flags|=2),N.return=s,f.return=s,f.sibling=N,s.child=f,Bu(null,f),f=s.child,N=r.child.memoizedState,N===null?N=d0(u):(A=N.cachePool,A!==null?(z=Ut._currentValue,A=A.parent!==z?{parent:z,pool:z}:A):A=XA(),N={baseLanes:N.baseLanes|u,cachePool:A}),f.memoizedState=N,f.childLanes=f0(r,R,u),s.memoizedState=c0,Bu(r.child,f)):(Xi(s),u=r.child,r=u.sibling,u=ri(u,{mode:"visible",children:f.children}),u.return=s,u.sibling=null,r!==null&&(R=s.deletions,R===null?(s.deletions=[r],s.flags|=16):R.push(r)),s.child=u,s.memoizedState=null,u)}function h0(r,s){return s=Hc({mode:"visible",children:s},r.mode),s.return=r,r.child=s}function Hc(r,s){return r=qn(22,r,null,s),r.lanes=0,r}function p0(r,s,u){return ua(s,r.child,null,u),r=h0(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function fb(r,s,u){r.lanes|=s;var f=r.alternate;f!==null&&(f.lanes|=s),Oh(r.return,s,u)}function m0(r,s,u,f,A,b){var R=r.memoizedState;R===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:f,tail:u,tailMode:A,treeForkCount:b}:(R.isBackwards=s,R.rendering=null,R.renderingStartTime=0,R.last=f,R.tail=u,R.tailMode=A,R.treeForkCount=b)}function hb(r,s,u){var f=s.pendingProps,A=f.revealOrder,b=f.tail;f=f.children;var R=jt.current,N=(R&2)!==0;if(N?(R=R&1|2,s.flags|=128):R&=1,V(jt,R),dn(r,s,f,u),f=nt?Su:0,!N&&r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&fb(r,u,s);else if(r.tag===19)fb(r,u,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(A){case"forwards":for(u=s.child,A=null;u!==null;)r=u.alternate,r!==null&&Oc(r)===null&&(A=u),u=u.sibling;u=A,u===null?(A=s.child,s.child=null):(A=u.sibling,u.sibling=null),m0(s,!1,A,u,b,f);break;case"backwards":case"unstable_legacy-backwards":for(u=null,A=s.child,s.child=null;A!==null;){if(r=A.alternate,r!==null&&Oc(r)===null){s.child=A;break}r=A.sibling,A.sibling=u,u=A,A=r}m0(s,!0,u,null,b,f);break;case"together":m0(s,!1,null,null,void 0,f);break;default:s.memoizedState=null}return s.child}function li(r,s,u){if(r!==null&&(s.dependencies=r.dependencies),rs|=s.lanes,(u&s.childLanes)===0)if(r!==null){if(so(r,s,u,!1),(u&s.childLanes)===0)return null}else return null;if(r!==null&&s.child!==r.child)throw Error(i(153));if(s.child!==null){for(r=s.child,u=ri(r,r.pendingProps),s.child=u,u.return=s;r.sibling!==null;)r=r.sibling,u=u.sibling=ri(r,r.pendingProps),u.return=s;u.sibling=null}return s.child}function g0(r,s){return(r.lanes&s)!==0?!0:(r=r.dependencies,!!(r!==null&&wc(r)))}function JT(r,s,u){switch(s.tag){case 3:Be(s,s.stateNode.containerInfo),Wi(s,Ut,r.memoizedState.cache),na();break;case 27:case 5:Ye(s);break;case 4:Be(s,s.stateNode.containerInfo);break;case 10:Wi(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,Hh(s),null;break;case 13:var f=s.memoizedState;if(f!==null)return f.dehydrated!==null?(Xi(s),s.flags|=128,null):(u&s.child.childLanes)!==0?db(r,s,u):(Xi(s),r=li(r,s,u),r!==null?r.sibling:null);Xi(s);break;case 19:var A=(r.flags&128)!==0;if(f=(u&s.childLanes)!==0,f||(so(r,s,u,!1),f=(u&s.childLanes)!==0),A){if(f)return hb(r,s,u);s.flags|=128}if(A=s.memoizedState,A!==null&&(A.rendering=null,A.tail=null,A.lastEffect=null),V(jt,jt.current),f)break;return null;case 22:return s.lanes=0,sb(r,s,u,s.pendingProps);case 24:Wi(s,Ut,r.memoizedState.cache)}return li(r,s,u)}function pb(r,s,u){if(r!==null)if(r.memoizedProps!==s.pendingProps)Ht=!0;else{if(!g0(r,u)&&(s.flags&128)===0)return Ht=!1,JT(r,s,u);Ht=(r.flags&131072)!==0}else Ht=!1,nt&&(s.flags&1048576)!==0&&KA(s,Su,s.index);switch(s.lanes=0,s.tag){case 16:e:{var f=s.pendingProps;if(r=aa(s.elementType),s.type=r,typeof r=="function")wh(r)?(f=ca(r,f),s.tag=1,s=lb(null,s,r,f,u)):(s.tag=0,s=l0(null,s,r,f,u));else{if(r!=null){var A=r.$$typeof;if(A===E){s.tag=11,s=nb(null,s,r,f,u);break e}else if(A===I){s.tag=14,s=rb(null,s,r,f,u);break e}}throw s=Z(r)||r,Error(i(306,s,""))}}return s;case 0:return l0(r,s,s.type,s.pendingProps,u);case 1:return f=s.type,A=ca(f,s.pendingProps),lb(r,s,f,A,u);case 3:e:{if(Be(s,s.stateNode.containerInfo),r===null)throw Error(i(387));f=s.pendingProps;var b=s.memoizedState;A=b.element,jh(r,s),ku(s,f,null,u);var R=s.memoizedState;if(f=R.cache,Wi(s,Ut,f),f!==b.cache&&kh(s,[Ut],u,!0),Ou(),f=R.element,b.isDehydrated)if(b={element:f,isDehydrated:!1,cache:R.cache},s.updateQueue.baseState=b,s.memoizedState=b,s.flags&256){s=cb(r,s,f,u);break e}
vendor: 1,550 bytes, line 9
9else if(f!==A){A=nr(Error(i(424)),s),_u(A),s=cb(r,s,f,u);break e}else for(r=s.stateNode.containerInfo,r.nodeType===9?r=r.body:r=r.nodeName==="HTML"?r.ownerDocument.body:r,xt=or(r.firstChild),ln=s,nt=!0,Yi=null,sr=!0,u=sy(s,null,f,u),s.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(na(),f===A){s=li(r,s,u);break e}dn(r,s,f,u)}s=s.child}return s;case 26:return Fc(r,s),r===null?(u=Ev(s.type,null,s.pendingProps,null))?s.memoizedState=u:nt||(u=s.type,r=s.pendingProps,f=rd(ge.current).createElement(u),f[Wt]=s,f[Je]=r,fn(f,u,r),Bt(f),s.stateNode=f):s.memoizedState=Ev(s.type,r.memoizedProps,s.pendingProps,r.memoizedState),null;case 27:return Ye(s),r===null&&nt&&(f=s.stateNode=Sv(s.type,s.pendingProps,ge.current),ln=s,sr=!0,A=xt,us(s.type)?(W0=A,xt=or(f.firstChild)):xt=A),dn(r,s,s.pendingProps.children,u),Fc(r,s),r===null&&(s.flags|=4194304),s.child;case 5:return r===null&&nt&&((A=f=xt)&&(f=C3(f,s.type,s.pendingProps,sr),f!==null?(s.stateNode=f,ln=s,xt=or(f.firstChild),sr=!1,A=!0):A=!1),A||Vi(s)),Ye(s),A=s.type,b=s.pendingProps,R=r!==null?r.memoizedProps:null,f=b.children,q0(A,b)?f=null:R!==null&&q0(A,R)&&(s.flags|=32),s.memoizedState!==null&&(A=Gh(r,s,HT,null,null,u),Ju._currentValue=A),Fc(r,s),dn(r,s,f,u),s.child;case 6:return r===null&&nt&&((r=u=xt)&&(u=T3(u,s.pendingProps,sr),u!==null?(s.stateNode=u,ln=s,xt=null,r=!0):r=!1),r||Vi(s)),null;case 13:return db(r,s,u);case 4:return Be(s,s.stateNode.containerInfo),f=s.pendingProps,r===null?s.child=ua(s,null,f,u):dn(r,s,f,u),s.child;case 11:return nb(r,s,s.type,s.pendingProps,u);
vendor: 4,122 bytes, line 9
9case 7:return dn(r,s,s.pendingProps,u),s.child;case 8:return dn(r,s,s.pendingProps.children,u),s.child;case 12:return dn(r,s,s.pendingProps.children,u),s.child;case 10:return f=s.pendingProps,Wi(s,s.type,f.value),dn(r,s,f.children,u),s.child;case 9:return A=s.type._context,f=s.pendingProps.children,ia(s),A=cn(A),f=f(A),s.flags|=1,dn(r,s,f,u),s.child;case 14:return rb(r,s,s.type,s.pendingProps,u);case 15:return ib(r,s,s.type,s.pendingProps,u);case 19:return hb(r,s,u);case 31:return WT(r,s,u);case 22:return sb(r,s,u,s.pendingProps);case 24:return ia(s),f=cn(Ut),r===null?(A=Dh(),A===null&&(A=yt,b=Ih(),A.pooledCache=b,b.refCount++,b!==null&&(A.pooledCacheLanes|=u),A=b),s.memoizedState={parent:f,cache:A},Bh(s),Wi(s,Ut,A)):((r.lanes&u)!==0&&(jh(r,s),ku(s,null,null,u),Ou()),A=r.memoizedState,b=s.memoizedState,A.parent!==f?(A={parent:f,cache:f},s.memoizedState=A,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=A),Wi(s,Ut,f)):(f=b.cache,Wi(s,Ut,f),f!==A.cache&&kh(s,[Ut],u,!0))),dn(r,s,s.pendingProps.children,u),s.child;case 29:throw s.pendingProps}throw Error(i(156,s.tag))}function ci(r){r.flags|=4}function A0(r,s,u,f,A){if((s=(r.mode&32)!==0)&&(s=!1),s){if(r.flags|=16777216,(A&335544128)===A)if(r.stateNode.complete)r.flags|=8192;else if(Hb())r.flags|=8192;else throw oa=Ec,Mh}else r.flags&=-16777217}function mb(r,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!kv(s))if(Hb())r.flags|=8192;else throw oa=Ec,Mh}function zc(r,s){s!==null&&(r.flags|=4),r.flags&16384&&(s=r.tag!==22?Fn():536870912,r.lanes|=s,yo|=s)}function ju(r,s){if(!nt)switch(r.tailMode){case"hidden":s=r.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?r.tail=null:u.sibling=null;break;case"collapsed":u=r.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:f.sibling=null}}function Et(r){var s=r.alternate!==null&&r.alternate.child===r.child,u=0,f=0;if(s)for(var A=r.child;A!==null;)u|=A.lanes|A.childLanes,f|=A.subtreeFlags&65011712,f|=A.flags&65011712,A.return=r,A=A.sibling;else for(A=r.child;A!==null;)u|=A.lanes|A.childLanes,f|=A.subtreeFlags,f|=A.flags,A.return=r,A=A.sibling;return r.subtreeFlags|=f,r.childLanes=u,s}function ZT(r,s,u){var f=s.pendingProps;switch(Eh(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Et(s),null;case 1:return Et(s),null;case 3:return u=s.stateNode,f=null,r!==null&&(f=r.memoizedState.cache),s.memoizedState.cache!==f&&(s.flags|=2048),ai(Ut),Se(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(io(s)?ci(s):r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Th())),Et(s),null;case 26:var A=s.type,b=s.memoizedState;return r===null?(ci(s),b!==null?(Et(s),mb(s,b)):(Et(s),A0(s,A,null,f,u))):b?b!==r.memoizedState?(ci(s),Et(s),mb(s,b)):(Et(s),s.flags&=-16777217):(r=r.memoizedProps,r!==f&&ci(s),Et(s),A0(s,A,r,f,u)),null;case 27:if(ke(s),u=ge.current,A=s.type,r!==null&&s.stateNode!=null)r.memoizedProps!==f&&ci(s);else{if(!f){if(s.stateNode===null)throw Error(i(166));return Et(s),null}r=ue.current,io(s)?VA(s):(r=Sv(A,f,u),s.stateNode=r,ci(s))}return Et(s),null;case 5:if(ke(s),A=s.type,r!==null&&s.stateNode!=null)r.memoizedProps!==f&&ci(s);else{if(!f){if(s.stateNode===null)throw Error(i(166));return Et(s),null}if(b=ue.current,io(s))VA(s);else{var R=rd(ge.current);switch(b){case 1:b=R.createElementNS("http://www.w3.org/2000/svg",A);break;case 2:b=R.createElementNS("http://www.w3.org/1998/Math/MathML",A);break;default:switch(A){case"svg":b=R.createElementNS("http://www.w3.org/2000/svg",A);break;case"math":b=R.createElementNS("http://www.w3.org/1998/Math/MathML",A);break;case"script":b=R.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof f.is=="string"?R.createElement("select",{is:f.is}):R.createElement("select"),f.multiple?b.multiple=!0:f.size&&(b.size=f.size);break;default:b=typeof f.is=="string"?R.createElement(A,{is:f.is}):R.createElement(A)}}b[Wt]=s,b[Je]=f;
vendor: 26,370 bytes, line 9
9e:for(R=s.child;R!==null;){if(R.tag===5||R.tag===6)b.appendChild(R.stateNode);else if(R.tag!==4&&R.tag!==27&&R.child!==null){R.child.return=R,R=R.child;continue}if(R===s)break e;for(;R.sibling===null;){if(R.return===null||R.return===s)break e;R=R.return}R.sibling.return=R.return,R=R.sibling}s.stateNode=b;e:switch(fn(b,A,f),A){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&ci(s)}}return Et(s),A0(s,s.type,r===null?null:r.memoizedProps,s.pendingProps,u),null;case 6:if(r&&s.stateNode!=null)r.memoizedProps!==f&&ci(s);else{if(typeof f!="string"&&s.stateNode===null)throw Error(i(166));if(r=ge.current,io(s)){if(r=s.stateNode,u=s.memoizedProps,f=null,A=ln,A!==null)switch(A.tag){case 27:case 5:f=A.memoizedProps}r[Wt]=s,r=!!(r.nodeValue===u||f!==null&&f.suppressHydrationWarning===!0||dv(r.nodeValue,u)),r||Vi(s,!0)}else r=rd(r).createTextNode(f),r[Wt]=s,s.stateNode=r}return Et(s),null;case 31:if(u=s.memoizedState,r===null||r.memoizedState!==null){if(f=io(s),u!==null){if(r===null){if(!f)throw Error(i(318));if(r=s.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(557));r[Wt]=s}else na(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Et(s),r=!1}else u=Th(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=u),r=!0;if(!r)return s.flags&256?(Kn(s),s):(Kn(s),null);if((s.flags&128)!==0)throw Error(i(558))}return Et(s),null;case 13:if(f=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(A=io(s),f!==null&&f.dehydrated!==null){if(r===null){if(!A)throw Error(i(318));if(A=s.memoizedState,A=A!==null?A.dehydrated:null,!A)throw Error(i(317));A[Wt]=s}else na(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Et(s),A=!1}else A=Th(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=A),A=!0;if(!A)return s.flags&256?(Kn(s),s):(Kn(s),null)}return Kn(s),(s.flags&128)!==0?(s.lanes=u,s):(u=f!==null,r=r!==null&&r.memoizedState!==null,u&&(f=s.child,A=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(A=f.alternate.memoizedState.cachePool.pool),b=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(b=f.memoizedState.cachePool.pool),b!==A&&(f.flags|=2048)),u!==r&&u&&(s.child.flags|=8192),zc(s,s.updateQueue),Et(s),null);case 4:return Se(),r===null&&U0(s.stateNode.containerInfo),Et(s),null;case 10:return ai(s.type),Et(s),null;case 19:if(K(jt),f=s.memoizedState,f===null)return Et(s),null;if(A=(s.flags&128)!==0,b=f.rendering,b===null)if(A)ju(f,!1);else{if(Dt!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(b=Oc(r),b!==null){for(s.flags|=128,ju(f,!1),r=b.updateQueue,s.updateQueue=r,zc(s,r),s.subtreeFlags=0,r=u,u=s.child;u!==null;)GA(u,r),u=u.sibling;return V(jt,jt.current&1|2),nt&&ii(s,f.treeForkCount),s.child}r=r.sibling}f.tail!==null&&Ne()>Yc&&(s.flags|=128,A=!0,ju(f,!1),s.lanes=4194304)}else{if(!A)if(r=Oc(b),r!==null){if(s.flags|=128,A=!0,r=r.updateQueue,s.updateQueue=r,zc(s,r),ju(f,!0),f.tail===null&&f.tailMode==="hidden"&&!b.alternate&&!nt)return Et(s),null}else 2*Ne()-f.renderingStartTime>Yc&&u!==536870912&&(s.flags|=128,A=!0,ju(f,!1),s.lanes=4194304);f.isBackwards?(b.sibling=s.child,s.child=b):(r=f.last,r!==null?r.sibling=b:s.child=b,f.last=b)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=Ne(),r.sibling=null,u=jt.current,V(jt,A?u&1|2:u&1),nt&&ii(s,f.treeForkCount),r):(Et(s),null);case 22:case 23:return Kn(s),Fh(),f=s.memoizedState!==null,r!==null?r.memoizedState!==null!==f&&(s.flags|=8192):f&&(s.flags|=8192),f?(u&536870912)!==0&&(s.flags&128)===0&&(Et(s),s.subtreeFlags&6&&(s.flags|=8192)):Et(s),u=s.updateQueue,u!==null&&zc(s,u.retryQueue),u=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),f=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(f=s.memoizedState.cachePool.pool),f!==u&&(s.flags|=2048),r!==null&&K(sa),null;case 24:return u=null,r!==null&&(u=r.memoizedState.cache),s.memoizedState.cache!==u&&(s.flags|=2048),ai(Ut),Et(s),null;case 25:return null;case 30:return null}throw Error(i(156,s.tag))}function $T(r,s){switch(Eh(s),s.tag){case 1:return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return ai(Ut),Se(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 26:case 27:case 5:return ke(s),null;case 31:if(s.memoizedState!==null){if(Kn(s),s.alternate===null)throw Error(i(340));na()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 13:if(Kn(s),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(i(340));na()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return K(jt),null;case 4:return Se(),null;case 10:return ai(s.type),null;case 22:case 23:return Kn(s),Fh(),r!==null&&K(sa),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 24:return ai(Ut),null;case 25:return null;default:return null}}function gb(r,s){switch(Eh(s),s.tag){case 3:ai(Ut),Se();break;case 26:case 27:case 5:ke(s);break;case 4:Se();break;case 31:s.memoizedState!==null&&Kn(s);break;case 13:Kn(s);break;case 19:K(jt);break;case 10:ai(s.type);break;case 22:case 23:Kn(s),Fh(),r!==null&&K(sa);break;case 24:ai(Ut)}}function Lu(r,s){try{var u=s.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var A=f.next;u=A;do{if((u.tag&r)===r){f=void 0;var b=u.create,R=u.inst;f=b(),R.destroy=f}u=u.next}while(u!==A)}}catch(N){ft(s,s.return,N)}}function ts(r,s,u){try{var f=s.updateQueue,A=f!==null?f.lastEffect:null;if(A!==null){var b=A.next;f=b;do{if((f.tag&r)===r){var R=f.inst,N=R.destroy;if(N!==void 0){R.destroy=void 0,A=s;var z=u,$=N;try{$()}catch(se){ft(A,z,se)}}}f=f.next}while(f!==b)}}catch(se){ft(s,s.return,se)}}function Ab(r){var s=r.updateQueue;if(s!==null){var u=r.stateNode;try{oy(s,u)}catch(f){ft(r,r.return,f)}}}function yb(r,s,u){u.props=ca(r.type,r.memoizedProps),u.state=r.memoizedState;try{u.componentWillUnmount()}catch(f){ft(r,s,f)}}function Pu(r,s){try{var u=r.ref;if(u!==null){switch(r.tag){case 26:case 27:case 5:var f=r.stateNode;break;case 30:f=r.stateNode;break;default:f=r.stateNode}typeof u=="function"?r.refCleanup=u(f):u.current=f}}catch(A){ft(r,s,A)}}function Pr(r,s){var u=r.ref,f=r.refCleanup;if(u!==null)if(typeof f=="function")try{f()}catch(A){ft(r,s,A)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(A){ft(r,s,A)}else u.current=null}function bb(r){var s=r.type,u=r.memoizedProps,f=r.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":u.autoFocus&&f.focus();break e;case"img":u.src?f.src=u.src:u.srcSet&&(f.srcset=u.srcSet)}}catch(A){ft(r,r.return,A)}}function y0(r,s,u){try{var f=r.stateNode;v3(f,r.type,u,s),f[Je]=s}catch(A){ft(r,r.return,A)}}function vb(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&us(r.type)||r.tag===4}function b0(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||vb(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&us(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function v0(r,s,u){var f=r.tag;if(f===5||f===6)r=r.stateNode,s?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(r,s):(s=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,s.appendChild(r),u=u._reactRootContainer,u!=null||s.onclick!==null||(s.onclick=zn));else if(f!==4&&(f===27&&us(r.type)&&(u=r.stateNode,s=null),r=r.child,r!==null))for(v0(r,s,u),r=r.sibling;r!==null;)v0(r,s,u),r=r.sibling}function Gc(r,s,u){var f=r.tag;if(f===5||f===6)r=r.stateNode,s?u.insertBefore(r,s):u.appendChild(r);else if(f!==4&&(f===27&&us(r.type)&&(u=r.stateNode),r=r.child,r!==null))for(Gc(r,s,u),r=r.sibling;r!==null;)Gc(r,s,u),r=r.sibling}function wb(r){var s=r.stateNode,u=r.memoizedProps;try{for(var f=r.type,A=s.attributes;A.length;)s.removeAttributeNode(A[0]);fn(s,f,u),s[Wt]=r,s[Je]=u}catch(b){ft(r,r.return,b)}}var di=!1,zt=!1,w0=!1,Sb=typeof WeakSet=="function"?WeakSet:Set,rn=null;function XT(r,s){if(r=r.containerInfo,z0=cd,r=MA(r),ph(r)){if("selectionStart"in r)var u={start:r.selectionStart,end:r.selectionEnd};else e:{u=(u=r.ownerDocument)&&u.defaultView||window;var f=u.getSelection&&u.getSelection();if(f&&f.rangeCount!==0){u=f.anchorNode;var A=f.anchorOffset,b=f.focusNode;f=f.focusOffset;try{u.nodeType,b.nodeType}catch{u=null;break e}var R=0,N=-1,z=-1,$=0,se=0,le=r,te=null;t:for(;;){for(var re;le!==u||A!==0&&le.nodeType!==3||(N=R+A),le!==b||f!==0&&le.nodeType!==3||(z=R+f),le.nodeType===3&&(R+=le.nodeValue.length),(re=le.firstChild)!==null;)te=le,le=re;for(;;){if(le===r)break t;if(te===u&&++$===A&&(N=R),te===b&&++se===f&&(z=R),(re=le.nextSibling)!==null)break;le=te,te=le.parentNode}le=re}u=N===-1||z===-1?null:{start:N,end:z}}else u=null}u=u||{start:0,end:0}}else u=null;for(G0={focusedElem:r,selectionRange:u},cd=!1,rn=s;rn!==null;)if(s=rn,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,rn=r;else for(;rn!==null;){switch(s=rn,b=s.alternate,r=s.flags,s.tag){case 0:if((r&4)!==0&&(r=s.updateQueue,r=r!==null?r.events:null,r!==null))for(u=0;u<r.length;u++)A=r[u],A.ref.impl=A.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&b!==null){r=void 0,u=s,A=b.memoizedProps,b=b.memoizedState,f=u.stateNode;try{var we=ca(u.type,A);r=f.getSnapshotBeforeUpdate(we,b),f.__reactInternalSnapshotBeforeUpdate=r}catch(De){ft(u,u.return,De)}}break;case 3:if((r&1024)!==0){if(r=s.stateNode.containerInfo,u=r.nodeType,u===9)K0(r);else if(u===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":K0(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(i(163))}if(r=s.sibling,r!==null){r.return=s.return,rn=r;break}rn=s.return}}function _b(r,s,u){var f=u.flags;switch(u.tag){case 0:case 11:case 15:hi(r,u),f&4&&Lu(5,u);break;case 1:if(hi(r,u),f&4)if(r=u.stateNode,s===null)try{r.componentDidMount()}catch(R){ft(u,u.return,R)}else{var A=ca(u.type,s.memoizedProps);s=s.memoizedState;try{r.componentDidUpdate(A,s,r.__reactInternalSnapshotBeforeUpdate)}catch(R){ft(u,u.return,R)}}f&64&&Ab(u),f&512&&Pu(u,u.return);break;case 3:if(hi(r,u),f&64&&(r=u.updateQueue,r!==null)){if(s=null,u.child!==null)switch(u.child.tag){case 27:case 5:s=u.child.stateNode;break;case 1:s=u.child.stateNode}try{oy(r,s)}catch(R){ft(u,u.return,R)}}break;case 27:s===null&&f&4&&wb(u);case 26:case 5:hi(r,u),s===null&&f&4&&bb(u),f&512&&Pu(u,u.return);break;case 12:hi(r,u);break;case 31:hi(r,u),f&4&&Cb(r,u);break;case 13:hi(r,u),f&4&&Tb(r,u),f&64&&(r=u.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(u=u3.bind(null,u),R3(r,u))));break;case 22:if(f=u.memoizedState!==null||di,!f){s=s!==null&&s.memoizedState!==null||zt,A=di;var b=zt;di=f,(zt=s)&&!b?pi(r,u,(u.subtreeFlags&8772)!==0):hi(r,u),di=A,zt=b}break;case 30:break;default:hi(r,u)}}function xb(r){var s=r.alternate;s!==null&&(r.alternate=null,xb(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&fu(s)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var Ct=null,kn=!1;function fi(r,s,u){for(u=u.child;u!==null;)Eb(r,s,u),u=u.sibling}function Eb(r,s,u){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(Pi,u)}catch{}switch(u.tag){case 26:zt||Pr(u,s),fi(r,s,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:zt||Pr(u,s);var f=Ct,A=kn;us(u.type)&&(Ct=u.stateNode,kn=!1),fi(r,s,u),Yu(u.stateNode),Ct=f,kn=A;break;case 5:zt||Pr(u,s);case 6:if(f=Ct,A=kn,Ct=null,fi(r,s,u),Ct=f,kn=A,Ct!==null)if(kn)try{(Ct.nodeType===9?Ct.body:Ct.nodeName==="HTML"?Ct.ownerDocument.body:Ct).removeChild(u.stateNode)}catch(b){ft(u,s,b)}else try{Ct.removeChild(u.stateNode)}catch(b){ft(u,s,b)}break;case 18:Ct!==null&&(kn?(r=Ct,Av(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,u.stateNode),Co(r)):Av(Ct,u.stateNode));break;case 4:f=Ct,A=kn,Ct=u.stateNode.containerInfo,kn=!0,fi(r,s,u),Ct=f,kn=A;break;case 0:case 11:case 14:case 15:ts(2,u,s),zt||ts(4,u,s),fi(r,s,u);break;case 1:zt||(Pr(u,s),f=u.stateNode,typeof f.componentWillUnmount=="function"&&yb(u,s,f)),fi(r,s,u);break;case 21:fi(r,s,u);break;case 22:zt=(f=zt)||u.memoizedState!==null,fi(r,s,u),zt=f;break;default:fi(r,s,u)}}function Cb(r,s){if(s.memoizedState===null&&(r=s.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{Co(r)}catch(u){ft(s,s.return,u)}}}function Tb(r,s){if(s.memoizedState===null&&(r=s.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Co(r)}catch(u){ft(s,s.return,u)}}function e3(r){switch(r.tag){case 31:case 13:case 19:var s=r.stateNode;return s===null&&(s=r.stateNode=new Sb),s;case 22:return r=r.stateNode,s=r._retryCache,s===null&&(s=r._retryCache=new Sb),s;default:throw Error(i(435,r.tag))}}function qc(r,s){var u=e3(r);s.forEach(function(f){if(!u.has(f)){u.add(f);var A=l3.bind(null,r,f);f.then(A,A)}})}function In(r,s){var u=s.deletions;if(u!==null)for(var f=0;f<u.length;f++){var A=u[f],b=r,R=s,N=R;e:for(;N!==null;){switch(N.tag){case 27:if(us(N.type)){Ct=N.stateNode,kn=!1;break e}break;case 5:Ct=N.stateNode,kn=!1;break e;case 3:case 4:Ct=N.stateNode.containerInfo,kn=!0;break e}N=N.return}if(Ct===null)throw Error(i(160));Eb(b,R,A),Ct=null,kn=!1,b=A.alternate,b!==null&&(b.return=null),A.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)Rb(s,r),s=s.sibling}var br=null;function Rb(r,s){var u=r.alternate,f=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:In(s,r),Nn(r),f&4&&(ts(3,r,r.return),Lu(3,r),ts(5,r,r.return));break;case 1:In(s,r),Nn(r),f&512&&(zt||u===null||Pr(u,u.return)),f&64&&di&&(r=r.updateQueue,r!==null&&(f=r.callbacks,f!==null&&(u=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=u===null?f:u.concat(f))));break;case 26:var A=br;if(In(s,r),Nn(r),f&512&&(zt||u===null||Pr(u,u.return)),f&4){var b=u!==null?u.memoizedState:null;if(f=r.memoizedState,u===null)if(f===null)if(r.stateNode===null){e:{f=r.type,u=r.memoizedProps,A=A.ownerDocument||A;t:switch(f){case"title":b=A.getElementsByTagName("title")[0],(!b||b[zi]||b[Wt]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=A.createElement(f),A.head.insertBefore(b,A.querySelector("head > title"))),fn(b,f,u),b[Wt]=r,Bt(b),f=b;break e;case"link":var R=Rv("link","href",A).get(f+(u.href||""));if(R){for(var N=0;N<R.length;N++)if(b=R[N],b.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&b.getAttribute("rel")===(u.rel==null?null:u.rel)&&b.getAttribute("title")===(u.title==null?null:u.title)&&b.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){R.splice(N,1);break t}}b=A.createElement(f),fn(b,f,u),A.head.appendChild(b);break;case"meta":if(R=Rv("meta","content",A).get(f+(u.content||""))){for(N=0;N<R.length;N++)if(b=R[N],b.getAttribute("content")===(u.content==null?null:""+u.content)&&b.getAttribute("name")===(u.name==null?null:u.name)&&b.getAttribute("property")===(u.property==null?null:u.property)&&b.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&b.getAttribute("charset")===(u.charSet==null?null:u.charSet)){R.splice(N,1);break t}}b=A.createElement(f),fn(b,f,u),A.head.appendChild(b);break;default:throw Error(i(468,f))}b[Wt]=r,Bt(b),f=b}r.stateNode=f}else Ov(A,r.type,r.stateNode);else r.stateNode=Tv(A,f,r.memoizedProps);else b!==f?(b===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):b.count--,f===null?Ov(A,r.type,r.stateNode):Tv(A,f,r.memoizedProps)):f===null&&r.stateNode!==null&&y0(r,r.memoizedProps,u.memoizedProps)}break;case 27:In(s,r),Nn(r),f&512&&(zt||u===null||Pr(u,u.return)),u!==null&&f&4&&y0(r,r.memoizedProps,u.memoizedProps);break;case 5:if(In(s,r),Nn(r),f&512&&(zt||u===null||Pr(u,u.return)),r.flags&32){A=r.stateNode;try{he(A,"")}catch(we){ft(r,r.return,we)}}f&4&&r.stateNode!=null&&(A=r.memoizedProps,y0(r,A,u!==null?u.memoizedProps:A)),f&1024&&(w0=!0);break;case 6:if(In(s,r),Nn(r),f&4){if(r.stateNode===null)throw Error(i(162));f=r.memoizedProps,u=r.stateNode;try{u.nodeValue=f}catch(we){ft(r,r.return,we)}}break;case 3:if(ad=null,A=br,br=id(s.containerInfo),In(s,r),br=A,Nn(r),f&4&&u!==null&&u.memoizedState.isDehydrated)try{Co(s.containerInfo)}catch(we){ft(r,r.return,we)}w0&&(w0=!1,Ob(r));break;case 4:f=br,br=id(r.stateNode.containerInfo),In(s,r),Nn(r),br=f;break;case 12:In(s,r),Nn(r);break;case 31:In(s,r),Nn(r),f&4&&(f=r.updateQueue,f!==null&&(r.updateQueue=null,qc(r,f)));break;case 13:In(s,r),Nn(r),r.child.flags&8192&&r.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Kc=Ne()),f&4&&(f=r.updateQueue,f!==null&&(r.updateQueue=null,qc(r,f)));break;case 22:A=r.memoizedState!==null;var z=u!==null&&u.memoizedState!==null,$=di,se=zt;if(di=$||A,zt=se||z,In(s,r),zt=se,di=$,Nn(r),f&8192)e:for(s=r.stateNode,s._visibility=A?s._visibility&-2:s._visibility|1,A&&(u===null||z||di||zt||da(r)),u=null,s=r;;){if(s.tag===5||s.tag===26){if(u===null){z=u=s;try{if(b=z.stateNode,A)R=b.style,typeof R.setProperty=="function"?R.setProperty("display","none","important"):R.display="none";else{N=z.stateNode;var le=z.memoizedProps.style,te=le!=null&&le.hasOwnProperty("display")?le.display:null;N.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(we){ft(z,z.return,we)}}}else if(s.tag===6){if(u===null){z=s;try{z.stateNode.nodeValue=A?"":z.memoizedProps}catch(we){ft(z,z.return,we)}}}else if(s.tag===18){if(u===null){z=s;try{var re=z.stateNode;A?yv(re,!0):yv(z.stateNode,!1)}catch(we){ft(z,z.return,we)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===r)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break e;for(;s.sibling===null;){if(s.return===null||s.return===r)break e;u===s&&(u=null),s=s.return}u===s&&(u=null),s.sibling.return=s.return,s=s.sibling}f&4&&(f=r.updateQueue,f!==null&&(u=f.retryQueue,u!==null&&(f.retryQueue=null,qc(r,u))));break;case 19:In(s,r),Nn(r),f&4&&(f=r.updateQueue,f!==null&&(r.updateQueue=null,qc(r,f)));break;case 30:break;case 21:break;default:In(s,r),Nn(r)}}function Nn(r){var s=r.flags;if(s&2){try{for(var u,f=r.return;f!==null;){if(vb(f)){u=f;break}f=f.return}if(u==null)throw Error(i(160));switch(u.tag){case 27:var A=u.stateNode,b=b0(r);Gc(r,b,A);break;case 5:var R=u.stateNode;u.flags&32&&(he(R,""),u.flags&=-33);var N=b0(r);Gc(r,N,R);break;case 3:case 4:var z=u.stateNode.containerInfo,$=b0(r);v0(r,$,z);break;default:throw Error(i(161))}}catch(se){ft(r,r.return,se)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function Ob(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var s=r;Ob(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),r=r.sibling}}function hi(r,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)_b(r,s.alternate,s),s=s.sibling}function da(r){for(r=r.child;r!==null;){var s=r;switch(s.tag){case 0:case 11:case 14:case 15:ts(4,s,s.return),da(s);break;case 1:Pr(s,s.return);var u=s.stateNode;typeof u.componentWillUnmount=="function"&&yb(s,s.return,u),da(s);break;case 27:Yu(s.stateNode);case 26:case 5:Pr(s,s.return),da(s);break;case 22:s.memoizedState===null&&da(s);break;case 30:da(s);break;default:da(s)}r=r.sibling}}function pi(r,s,u){for(u=u&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var f=s.alternate,A=r,b=s,R=b.flags;switch(b.tag){case 0:case 11:case 15:pi(A,b,u),Lu(4,b);break;case 1:if(pi(A,b,u),f=b,A=f.stateNode,typeof A.componentDidMount=="function")try{A.componentDidMount()}catch($){ft(f,f.return,$)}if(f=b,A=f.updateQueue,A!==null){var N=f.stateNode;try{var z=A.shared.hiddenCallbacks;if(z!==null)for(A.shared.hiddenCallbacks=null,A=0;A<z.length;A++)ay(z[A],N)}catch($){ft(f,f.return,$)}}u&&R&64&&Ab(b),Pu(b,b.return);break;case 27:wb(b);case 26:case 5:pi(A,b,u),u&&f===null&&R&4&&bb(b),Pu(b,b.return);break;case 12:pi(A,b,u);break;case 31:pi(A,b,u),u&&R&4&&Cb(A,b);break;case 13:pi(A,b,u),u&&R&4&&Tb(A,b);break;case 22:b.memoizedState===null&&pi(A,b,u),Pu(b,b.return);break;case 30:break;default:pi(A,b,u)}s=s.sibling}}function S0(r,s){var u=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==u&&(r!=null&&r.refCount++,u!=null&&xu(u))}function _0(r,s){r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&xu(r))}function vr(r,s,u,f){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)kb(r,s,u,f),s=s.sibling}function kb(r,s,u,f){var A=s.flags;switch(s.tag){case 0:case 11:case 15:vr(r,s,u,f),A&2048&&Lu(9,s);break;case 1:vr(r,s,u,f);break;case 3:vr(r,s,u,f),A&2048&&(r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&xu(r)));break;case 12:if(A&2048){vr(r,s,u,f),r=s.stateNode;try{var b=s.memoizedProps,R=b.id,N=b.onPostCommit;typeof N=="function"&&N(R,s.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(z){ft(s,s.return,z)}}else vr(r,s,u,f);break;case 31:vr(r,s,u,f);break;case 13:vr(r,s,u,f);break;case 23:break;case 22:b=s.stateNode,R=s.alternate,s.memoizedState!==null?b._visibility&2?vr(r,s,u,f):Uu(r,s):b._visibility&2?vr(r,s,u,f):(b._visibility|=2,mo(r,s,u,f,(s.subtreeFlags&10256)!==0||!1)),A&2048&&S0(R,s);break;case 24:vr(r,s,u,f),A&2048&&_0(s.alternate,s);break;default:vr(r,s,u,f)}}function mo(r,s,u,f,A){for(A=A&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var b=r,R=s,N=u,z=f,$=R.flags;switch(R.tag){case 0:case 11:case 15:mo(b,R,N,z,A),Lu(8,R);break;case 23:break;case 22:var se=R.stateNode;R.memoizedState!==null?se._visibility&2?mo(b,R,N,z,A):Uu(b,R):(se._visibility|=2,mo(b,R,N,z,A)),A&&$&2048&&S0(R.alternate,R);break;case 24:mo(b,R,N,z,A),A&&$&2048&&_0(R.alternate,R);break;default:mo(b,R,N,z,A)}s=s.sibling}}function Uu(r,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var u=r,f=s,A=f.flags;switch(f.tag){case 22:Uu(u,f),A&2048&&S0(f.alternate,f);break;case 24:Uu(u,f),A&2048&&_0(f.alternate,f);break;default:Uu(u,f)}s=s.sibling}}var Fu=8192;function go(r,s,u){if(r.subtreeFlags&Fu)for(r=r.child;r!==null;)Ib(r,s,u),r=r.sibling}function Ib(r,s,u){switch(r.tag){case 26:go(r,s,u),r.flags&Fu&&r.memoizedState!==null&&F3(u,br,r.memoizedState,r.memoizedProps);break;case 5:go(r,s,u);break;case 3:case 4:var f=br;br=id(r.stateNode.containerInfo),go(r,s,u),br=f;break;case 22:r.memoizedState===null&&(f=r.alternate,f!==null&&f.memoizedState!==null?(f=Fu,Fu=16777216,go(r,s,u),Fu=f):go(r,s,u));break;default:go(r,s,u)}}function Nb(r){var s=r.alternate;if(s!==null&&(r=s.child,r!==null)){s.child=null;do s=r.sibling,r.sibling=null,r=s;while(r!==null)}}function Hu(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var u=0;u<s.length;u++){var f=s[u];rn=f,Mb(f,r)}Nb(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Db(r),r=r.sibling}function Db(r){switch(r.tag){case 0:case 11:case 15:Hu(r),r.flags&2048&&ts(9,r,r.return);break;case 3:Hu(r);break;case 12:Hu(r);break;case 22:var s=r.stateNode;r.memoizedState!==null&&s._visibility&2&&(r.return===null||r.return.tag!==13)?(s._visibility&=-3,Qc(r)):Hu(r);break;default:Hu(r)}}function Qc(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var u=0;u<s.length;u++){var f=s[u];rn=f,Mb(f,r)}Nb(r)}for(r=r.child;r!==null;){switch(s=r,s.tag){case 0:case 11:case 15:ts(8,s,s.return),Qc(s);break;case 22:u=s.stateNode,u._visibility&2&&(u._visibility&=-3,Qc(s));break;default:Qc(s)}r=r.sibling}}function Mb(r,s){for(;rn!==null;){var u=rn;switch(u.tag){case 0:case 11:case 15:ts(8,u,s);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var f=u.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:xu(u.memoizedState.cache)}if(f=u.child,f!==null)f.return=u,rn=f;else e:for(u=r;rn!==null;){f=rn;var A=f.sibling,b=f.return;if(xb(f),f===u){rn=null;break e}if(A!==null){A.return=b,rn=A;break e}rn=b}}}var t3={getCacheForType:function(r){var s=cn(Ut),u=s.data.get(r);return u===void 0&&(u=r(),s.data.set(r,u)),u},cacheSignal:function(){return cn(Ut).controller.signal}},n3=typeof WeakMap=="function"?WeakMap:Map,ct=0,yt=null,Ze=null,et=0,dt=0,Yn=null,ns=!1,Ao=!1,x0=!1,mi=0,Dt=0,rs=0,fa=0,E0=0,Vn=0,yo=0,zu=null,Dn=null,C0=!1,Kc=0,Bb=0,Yc=1/0,Vc=null,is=null,$t=0,ss=null,bo=null,gi=0,T0=0,R0=null,jb=null,Gu=0,O0=null;function Wn(){return(ct&2)!==0&&et!==0?et&-et:L.T!==null?B0():nc()}function Lb(){if(Vn===0)if((et&536870912)===0||nt){var r=zs;zs<<=1,(zs&3932160)===0&&(zs=262144),Vn=r}else Vn=536870912;return r=Qn.current,r!==null&&(r.flags|=32),Vn}function Mn(r,s,u){(r===yt&&(dt===2||dt===9)||r.cancelPendingCommit!==null)&&(vo(r,0),as(r,et,Vn,!1)),Xr(r,u),((ct&2)===0||r!==yt)&&(r===yt&&((ct&2)===0&&(fa|=u),Dt===4&&as(r,et,Vn,!1)),Ur(r))}function Pb(r,s,u){if((ct&6)!==0)throw Error(i(327));var f=!u&&(s&127)===0&&(s&r.expiredLanes)===0||Ir(r,s),A=f?s3(r,s):I0(r,s,!0),b=f;do{if(A===0){Ao&&!f&&as(r,s,0,!1);break}else{if(u=r.current.alternate,b&&!r3(u)){A=I0(r,s,!1),b=!1;continue}if(A===2){if(b=s,r.errorRecoveryDisabledLanes&b)var R=0;else R=r.pendingLanes&-536870913,R=R!==0?R:R&536870912?536870912:0;if(R!==0){s=R;e:{var N=r;A=zu;var z=N.current.memoizedState.isDehydrated;if(z&&(vo(N,R).flags|=256),R=I0(N,R,!1),R!==2){if(x0&&!z){N.errorRecoveryDisabledLanes|=b,fa|=b,A=4;break e}b=Dn,Dn=A,b!==null&&(Dn===null?Dn=b:Dn.push.apply(Dn,b))}A=R}if(b=!1,A!==2)continue}}if(A===1){vo(r,0),as(r,s,0,!0);break}e:{switch(f=r,b=A,b){case 0:case 1:throw Error(i(345));case 4:if((s&4194048)!==s)break;case 6:as(f,s,Vn,!ns);break e;case 2:Dn=null;break;case 3:case 5:break;default:throw Error(i(329))}if((s&62914560)===s&&(A=Kc+300-Ne(),10<A)){if(as(f,s,Vn,!ns),qs(f,0,!0)!==0)break e;gi=s,f.timeoutHandle=mv(Ub.bind(null,f,u,Dn,Vc,C0,s,Vn,fa,yo,ns,b,"Throttled",-0,0),A);break e}Ub(f,u,Dn,Vc,C0,s,Vn,fa,yo,ns,b,null,-0,0)}}break}while(!0);Ur(r)}function Ub(r,s,u,f,A,b,R,N,z,$,se,le,te,re){if(r.timeoutHandle=-1,le=s.subtreeFlags,le&8192||(le&16785408)===16785408){le={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:zn},Ib(s,b,le);var we=(b&62914560)===b?Kc-Ne():(b&4194048)===b?Bb-Ne():0;if(we=H3(le,we),we!==null){gi=b,r.cancelPendingCommit=we(Yb.bind(null,r,s,b,u,f,A,R,N,z,se,le,
vendor: 14,906 bytes, line 9
9null,te,re)),as(r,b,R,!$);return}}Yb(r,s,b,u,f,A,R,N,z)}function r3(r){for(var s=r;;){var u=s.tag;if((u===0||u===11||u===15)&&s.flags&16384&&(u=s.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var f=0;f<u.length;f++){var A=u[f],b=A.getSnapshot;A=A.value;try{if(!Gn(b(),A))return!1}catch{return!1}}if(u=s.child,s.subtreeFlags&16384&&u!==null)u.return=s,s=u;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function as(r,s,u,f){s&=~E0,s&=~fa,r.suspendedLanes|=s,r.pingedLanes&=~s,f&&(r.warmLanes|=s),f=r.expirationTimes;for(var A=s;0<A;){var b=31-un(A),R=1<<b;f[b]=-1,A&=~R}u!==0&&tc(r,u,s)}function Wc(){return(ct&6)===0?(qu(0),!1):!0}function k0(){if(Ze!==null){if(dt===0)var r=Ze.return;else r=Ze,si=ra=null,Kh(r),lo=null,Cu=0,r=Ze;for(;r!==null;)gb(r.alternate,r),r=r.return;Ze=null}}function vo(r,s){var u=r.timeoutHandle;u!==-1&&(r.timeoutHandle=-1,_3(u)),u=r.cancelPendingCommit,u!==null&&(r.cancelPendingCommit=null,u()),gi=0,k0(),yt=r,Ze=u=ri(r.current,null),et=s,dt=0,Yn=null,ns=!1,Ao=Ir(r,s),x0=!1,yo=Vn=E0=fa=rs=Dt=0,Dn=zu=null,C0=!1,(s&8)!==0&&(s|=s&32);var f=r.entangledLanes;if(f!==0)for(r=r.entanglements,f&=s;0<f;){var A=31-un(f),b=1<<A;s|=r[A],f&=~b}return mi=s,gc(),u}function Fb(r,s){Ge=null,L.H=Mu,s===uo||s===xc?(s=ny(),dt=3):s===Mh?(s=ny(),dt=4):dt=s===u0?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,Yn=s,Ze===null&&(Dt=1,Pc(r,nr(s,r.current)))}function Hb(){var r=Qn.current;return r===null?!0:(et&4194048)===et?ar===null:(et&62914560)===et||(et&536870912)!==0?r===ar:!1}function zb(){var r=L.H;return L.H=Mu,r===null?Mu:r}function Gb(){var r=L.A;return L.A=t3,r}function Jc(){Dt=4,ns||(et&4194048)!==et&&Qn.current!==null||(Ao=!0),(rs&134217727)===0&&(fa&134217727)===0||yt===null||as(yt,et,Vn,!1)}function I0(r,s,u){var f=ct;ct|=2;var A=zb(),b=Gb();(yt!==r||et!==s)&&(Vc=null,vo(r,s)),s=!1;var R=Dt;e:do try{if(dt!==0&&Ze!==null){var N=Ze,z=Yn;switch(dt){case 8:k0(),R=6;break e;case 3:case 2:case 9:case 6:Qn.current===null&&(s=!0);var $=dt;if(dt=0,Yn=null,wo(r,N,z,$),u&&Ao){R=0;break e}break;default:$=dt,dt=0,Yn=null,wo(r,N,z,$)}}i3(),R=Dt;break}catch(se){Fb(r,se)}while(!0);return s&&r.shellSuspendCounter++,si=ra=null,ct=f,L.H=A,L.A=b,Ze===null&&(yt=null,et=0,gc()),R}function i3(){for(;Ze!==null;)qb(Ze)}function s3(r,s){var u=ct;ct|=2;var f=zb(),A=Gb();yt!==r||et!==s?(Vc=null,Yc=Ne()+500,vo(r,s)):Ao=Ir(r,s);e:do try{if(dt!==0&&Ze!==null){s=Ze;var b=Yn;t:switch(dt){case 1:dt=0,Yn=null,wo(r,s,b,1);break;case 2:case 9:if(ey(b)){dt=0,Yn=null,Qb(s);break}s=function(){dt!==2&&dt!==9||yt!==r||(dt=7),Ur(r)},b.then(s,s);break e;case 3:dt=7;break e;case 4:dt=5;break e;case 7:ey(b)?(dt=0,Yn=null,Qb(s)):(dt=0,Yn=null,wo(r,s,b,7));break;case 5:var R=null;switch(Ze.tag){case 26:R=Ze.memoizedState;case 5:case 27:var N=Ze;if(R?kv(R):N.stateNode.complete){dt=0,Yn=null;var z=N.sibling;if(z!==null)Ze=z;else{var $=N.return;$!==null?(Ze=$,Zc($)):Ze=null}break t}}dt=0,Yn=null,wo(r,s,b,5);break;case 6:dt=0,Yn=null,wo(r,s,b,6);break;case 8:k0(),Dt=6;break e;default:throw Error(i(462))}}a3();break}catch(se){Fb(r,se)}while(!0);return si=ra=null,L.H=f,L.A=A,ct=u,Ze!==null?0:(yt=null,et=0,gc(),Dt)}function a3(){for(;Ze!==null&&!hr();)qb(Ze)}function qb(r){var s=pb(r.alternate,r,mi);r.memoizedProps=r.pendingProps,s===null?Zc(r):Ze=s}function Qb(r){var s=r,u=s.alternate;switch(s.tag){case 15:case 0:s=ub(u,s,s.pendingProps,s.type,void 0,et);break;case 11:s=ub(u,s,s.pendingProps,s.type.render,s.ref,et);break;case 5:Kh(s);default:gb(u,s),s=Ze=GA(s,mi),s=pb(u,s,mi)}r.memoizedProps=r.pendingProps,s===null?Zc(r):Ze=s}function wo(r,s,u,f){si=ra=null,Kh(s),lo=null,Cu=0;var A=s.return;try{if(VT(r,A,s,u,et)){Dt=1,Pc(r,nr(u,r.current)),Ze=null;return}}catch(b){if(A!==null)throw Ze=A,b;Dt=1,Pc(r,nr(u,r.current)),Ze=null;return}s.flags&32768?(nt||f===1?r=!0:Ao||(et&536870912)!==0?r=!1:(ns=r=!0,(f===2||f===9||f===3||f===6)&&(f=Qn.current,f!==null&&f.tag===13&&(f.flags|=16384))),Kb(s,r)):Zc(s)}function Zc(r){var s=r;do{if((s.flags&32768)!==0){Kb(s,ns);return}r=s.return;var u=ZT(s.alternate,s,mi);if(u!==null){Ze=u;return}if(s=s.sibling,s!==null){Ze=s;return}Ze=s=r}while(s!==null);Dt===0&&(Dt=5)}function Kb(r,s){do{var u=$T(r.alternate,r);if(u!==null){u.flags&=32767,Ze=u;return}if(u=r.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!s&&(r=r.sibling,r!==null)){Ze=r;return}Ze=r=u}while(r!==null);Dt=6,Ze=null}function Yb(r,s,u,f,A,b,R,N,z){r.cancelPendingCommit=null;do $c();while($t!==0);if((ct&6)!==0)throw Error(i(327));if(s!==null){if(s===r.current)throw Error(i(177));if(b=s.lanes|s.childLanes,b|=bh,ou(r,u,b,R,N,z),r===yt&&(Ze=yt=null,et=0),bo=s,ss=r,gi=u,T0=b,R0=A,jb=f,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,c3(Xn,function(){return $b(),null})):(r.callbackNode=null,r.callbackPriority=0),f=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||f){f=L.T,L.T=null,A=q.p,q.p=2,R=ct,ct|=4;try{XT(r,s,u)}finally{ct=R,q.p=A,L.T=f}}$t=1,Vb(),Wb(),Jb()}}function Vb(){if($t===1){$t=0;var r=ss,s=bo,u=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||u){u=L.T,L.T=null;var f=q.p;q.p=2;var A=ct;ct|=4;try{Rb(s,r);var b=G0,R=MA(r.containerInfo),N=b.focusedElem,z=b.selectionRange;if(R!==N&&N&&N.ownerDocument&&DA(N.ownerDocument.documentElement,N)){if(z!==null&&ph(N)){var $=z.start,se=z.end;if(se===void 0&&(se=$),"selectionStart"in N)N.selectionStart=$,N.selectionEnd=Math.min(se,N.value.length);else{var le=N.ownerDocument||document,te=le&&le.defaultView||window;if(te.getSelection){var re=te.getSelection(),we=N.textContent.length,De=Math.min(z.start,we),mt=z.end===void 0?De:Math.min(z.end,we);!re.extend&&De>mt&&(R=mt,mt=De,De=R);var Y=NA(N,De),Q=NA(N,mt);if(Y&&Q&&(re.rangeCount!==1||re.anchorNode!==Y.node||re.anchorOffset!==Y.offset||re.focusNode!==Q.node||re.focusOffset!==Q.offset)){var J=le.createRange();J.setStart(Y.node,Y.offset),re.removeAllRanges(),De>mt?(re.addRange(J),re.extend(Q.node,Q.offset)):(J.setEnd(Q.node,Q.offset),re.addRange(J))}}}}for(le=[],re=N;re=re.parentNode;)re.nodeType===1&&le.push({element:re,left:re.scrollLeft,top:re.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<le.length;N++){var ae=le[N];ae.element.scrollLeft=ae.left,ae.element.scrollTop=ae.top}}cd=!!z0,G0=z0=null}finally{ct=A,q.p=f,L.T=u}}r.current=s,$t=2}}function Wb(){if($t===2){$t=0;var r=ss,s=bo,u=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||u){u=L.T,L.T=null;var f=q.p;q.p=2;var A=ct;ct|=4;try{_b(r,s.alternate,s)}finally{ct=A,q.p=f,L.T=u}}$t=3}}function Jb(){if($t===4||$t===3){$t=0,Fe();var r=ss,s=bo,u=gi,f=jb;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?$t=5:($t=0,bo=ss=null,Zb(r,r.pendingLanes));var A=r.pendingLanes;if(A===0&&(is=null),Qs(u),s=s.stateNode,yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(Pi,s,void 0,(s.current.flags&128)===128)}catch{}if(f!==null){s=L.T,A=q.p,q.p=2,L.T=null;try{for(var b=r.onRecoverableError,R=0;R<f.length;R++){var N=f[R];b(N.value,{componentStack:N.stack})}}finally{L.T=s,q.p=A}}(gi&3)!==0&&$c(),Ur(r),A=r.pendingLanes,(u&261930)!==0&&(A&42)!==0?r===O0?Gu++:(Gu=0,O0=r):Gu=0,qu(0)}}function Zb(r,s){(r.pooledCacheLanes&=s)===0&&(s=r.pooledCache,s!=null&&(r.pooledCache=null,xu(s)))}function $c(){return Vb(),Wb(),Jb(),$b()}function $b(){if($t!==5)return!1;var r=ss,s=T0;T0=0;var u=Qs(gi),f=L.T,A=q.p;try{q.p=32>u?32:u,L.T=null,u=R0,R0=null;var b=ss,R=gi;if($t=0,bo=ss=null,gi=0,(ct&6)!==0)throw Error(i(331));var N=ct;if(ct|=4,Db(b.current),kb(b,b.current,R,u),ct=N,qu(0,!1),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(Pi,b)}catch{}return!0}finally{q.p=A,L.T=f,Zb(r,s)}}function Xb(r,s,u){s=nr(u,s),s=o0(r.stateNode,s,2),r=$i(r,s,2),r!==null&&(Xr(r,2),Ur(r))}function ft(r,s,u){if(r.tag===3)Xb(r,r,u);else for(;s!==null;){if(s.tag===3){Xb(s,r,u);break}else if(s.tag===1){var f=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(is===null||!is.has(f))){r=nr(u,r),u=eb(2),f=$i(s,u,2),f!==null&&(tb(u,f,s,r),Xr(f,2),Ur(f));break}}s=s.return}}function N0(r,s,u){var f=r.pingCache;if(f===null){f=r.pingCache=new n3;var A=new Set;f.set(s,A)}else A=f.get(s),A===void 0&&(A=new Set,f.set(s,A));A.has(u)||(x0=!0,A.add(u),r=o3.bind(null,r,s,u),s.then(r,r))}function o3(r,s,u){var f=r.pingCache;f!==null&&f.delete(s),r.pingedLanes|=r.suspendedLanes&u,r.warmLanes&=~u,yt===r&&(et&u)===u&&(Dt===4||Dt===3&&(et&62914560)===et&&300>Ne()-Kc?(ct&2)===0&&vo(r,0):E0|=u,yo===et&&(yo=0)),Ur(r)}function ev(r,s){s===0&&(s=Fn()),r=ea(r,s),r!==null&&(Xr(r,s),Ur(r))}function u3(r){var s=r.memoizedState,u=0;s!==null&&(u=s.retryLane),ev(r,u)}function l3(r,s){var u=0;switch(r.tag){case 31:case 13:var f=r.stateNode,A=r.memoizedState;A!==null&&(u=A.retryLane);break;case 19:f=r.stateNode;break;case 22:f=r.stateNode._retryCache;break;default:throw Error(i(314))}f!==null&&f.delete(s),ev(r,u)}function c3(r,s){return je(r,s)}var Xc=null,So=null,D0=!1,ed=!1,M0=!1,os=0;function Ur(r){r!==So&&r.next===null&&(So===null?Xc=So=r:So=So.next=r),ed=!0,D0||(D0=!0,f3())}function qu(r,s){if(!M0&&ed){M0=!0;do for(var u=!1,f=Xc;f!==null;){if(r!==0){var A=f.pendingLanes;if(A===0)var b=0;else{var R=f.suspendedLanes,N=f.pingedLanes;b=(1<<31-un(42|r)+1)-1,b&=A&~(R&~N),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(u=!0,iv(f,b))}else b=et,b=qs(f,f===yt?b:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(b&3)===0||Ir(f,b)||(u=!0,iv(f,b));f=f.next}while(u);M0=!1}}function d3(){tv()}function tv(){ed=D0=!1;var r=0;os!==0&&S3()&&(r=os);for(var s=Ne(),u=null,f=Xc;f!==null;){var A=f.next,b=nv(f,s);b===0?(f.next=null,u===null?Xc=A:u.next=A,A===null&&(So=u)):(u=f,(r!==0||(b&3)!==0)&&(ed=!0)),f=A}$t!==0&&$t!==5||qu(r),os!==0&&(os=0)}function nv(r,s){for(var u=r.suspendedLanes,f=r.pingedLanes,A=r.expirationTimes,b=r.pendingLanes&-62914561;0<b;){var R=31-un(b),N=1<<R,z=A[R];z===-1?((N&u)===0||(N&f)!==0)&&(A[R]=za(N,s)):z<=s&&(r.expiredLanes|=N),b&=~N}if(s=yt,u=et,u=qs(r,r===s?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),f=r.callbackNode,u===0||r===s&&(dt===2||dt===9)||r.cancelPendingCommit!==null)return f!==null&&f!==null&&qe(f),r.callbackNode=null,r.callbackPriority=0;if((u&3)===0||Ir(r,u)){if(s=u&-u,s===r.callbackPriority)return s;switch(f!==null&&qe(f),Qs(u)){case 2:case 8:u=St;break;case 32:u=Xn;break;case 268435456:u=pr;break;default:u=Xn}return f=rv.bind(null,r),u=je(u,f),r.callbackPriority=s,r.callbackNode=u,s}return f!==null&&f!==null&&qe(f),r.callbackPriority=2,r.callbackNode=null,2}function rv(r,s){if($t!==0&&$t!==5)return r.callbackNode=null,r.callbackPriority=0,null;var u=r.callbackNode;if($c()&&r.callbackNode!==u)return null;var f=et;return f=qs(r,r===yt?f:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),f===0?null:(Pb(r,f,s),nv(r,Ne()),r.callbackNode!=null&&r.callbackNode===u?rv.bind(null,r):null)}function iv(r,s){if($c())return null;Pb(r,s,!0)}function f3(){x3(function(){(ct&6)!==0?je(lt,d3):tv()})}function B0(){if(os===0){var r=ao;r===0&&(r=Fi,Fi<<=1,(Fi&261888)===0&&(Fi=256)),os=r}return os}function sv(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:bn(""+r)}function av(r,s){var u=s.ownerDocument.createElement("input");return u.name=s.name,u.value=s.value,r.id&&u.setAttribute("form",r.id),s.parentNode.insertBefore(u,s),r=new FormData(r),u.parentNode.removeChild(u),r}function h3(r,s,u,f,A){if(s==="submit"&&u&&u.stateNode===A){var b=sv((A[Je]||null).action),R=f.submitter;R&&(s=(s=R[Je]||null)?sv(s.formAction):R.getAttribute("formAction"),s!==null&&(b=s,R=null));var N=new fc("action","action",null,f,A);r.push({event:N,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(os!==0){var z=R?av(A,R):new FormData(A);t0(u,{pending:!0,data:z,method:A.method,action:b},null,z)}}else typeof b=="function"&&(N.preventDefault(),z=R?av(A,R):new FormData(A),t0(u,{pending:!0,data:z,method:A.method,action:b},b,z))},currentTarget:A}]})}}for(var j0=0;j0<yh.length;j0++){var L0=yh[j0],p3=L0.toLowerCase(),m3=L0[0].toUpperCase()+L0.slice(1);yr(p3,"on"+m3)}yr(LA,"onAnimationEnd"),yr(PA,"onAnimationIteration"),yr(UA,"onAnimationStart"),yr("dblclick","onDoubleClick"),yr("focusin","onFocus"),yr("focusout","onBlur"),yr(IT,"onTransitionRun"),yr(NT,"onTransitionStart"),yr(DT,"onTransitionCancel"),yr(FA,"onTransitionEnd"),ti("onMouseEnter",["mouseout","mouseover"]),ti("onMouseLeave",["mouseout","mouseover"]),ti("onPointerEnter",["pointerout","pointerover"]),ti("onPointerLeave",["pointerout","pointerover"]),ei("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ei("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ei("onBeforeInput",["compositionend","keypress","textInput","paste"]),ei("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ei("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ei("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qu="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(" "),g3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qu));function ov(r,s){s=(s&4)!==0;for(var u=0;u<r.length;u++){var f=r[u],A=f.event;f=f.listeners;e:{var b=void 0;if(s)for(var R=f.length-1;0<=R;R--){var N=f[R],z=N.instance,$=N.currentTarget;if(N=N.listener,z!==b&&A.isPropagationStopped())break e;b=N,A.currentTarget=$;try{b(A)}catch(se){mc(se)}A.currentTarget=null,b=z}else for(R=0;R<f.length;R++){if(N=f[R],z=N.instance,$=N.currentTarget,N=N.listener,z!==b&&A.isPropagationStopped())break e;b=N,A.currentTarget=$;try{b(A)}catch(se){mc(se)}A.currentTarget=null,b=z}}}}function $e(r,s){var u=s[lu];u===void 0&&(u=s[lu]=new Set);var f=r+"__bubble";u.has(f)||(uv(s,r,2,!1),u.add(f))}function P0(r,s,u){var f=0;s&&(f|=4),uv(u,r,f,s)}var td="_reactListening"+Math.random().toString(36).slice(2);function U0(r){if(!r[td]){r[td]=!0,Mr.forEach(function(u){u!=="selectionchange"&&(g3.has(u)||P0(u,!1,r),P0(u,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[td]||(s[td]=!0,P0("selectionchange",!1,s))}}function uv(r,s,u,f){switch(Lv(s)){case 2:var A=q3;break;case 8:A=Q3;break;default:A=ep}u=A.bind(null,s,u,r),A=void 0,!sh||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(A=!0),f?A!==void 0?r.addEventListener(s,u,{capture:!0,passive:A}):r.addEventListener(s,u,!0):A!==void 0?r.addEventListener(s,u,{passive:A}):r.addEventListener(s,u,!1)}function F0(r,s,u,f,A){var b=f;if((s&1)===0&&(s&2)===0&&f!==null)e:for(;;){if(f===null)return;var R=f.tag;if(R===3||R===4){var N=f.stateNode.containerInfo;
vendor: 2,737 bytes, line 9
9if(N===A)break;if(R===4)for(R=f.return;R!==null;){var z=R.tag;if((z===3||z===4)&&R.stateNode.containerInfo===A)return;R=R.return}for(;N!==null;){if(R=Gi(N),R===null)return;if(z=R.tag,z===5||z===6||z===26||z===27){f=b=R;continue e}N=N.parentNode}}f=f.return}hA(function(){var $=b,se=rh(u),le=[];e:{var te=HA.get(r);if(te!==void 0){var re=fc,we=r;switch(r){case"keypress":if(cc(u)===0)break e;case"keydown":case"keyup":re=lT;break;case"focusin":we="focus",re=lh;break;case"focusout":we="blur",re=lh;break;case"beforeblur":case"afterblur":re=lh;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":re=gA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=ZC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=fT;break;case LA:case PA:case UA:re=eT;break;case FA:re=pT;break;case"scroll":case"scrollend":re=WC;break;case"wheel":re=gT;break;case"copy":case"cut":case"paste":re=nT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=yA;break;case"toggle":case"beforetoggle":re=yT}var De=(s&4)!==0,mt=!De&&(r==="scroll"||r==="scrollend"),Y=De?te!==null?te+"Capture":null:te;De=[];for(var Q=$,J;Q!==null;){var ae=Q;if(J=ae.stateNode,ae=ae.tag,ae!==5&&ae!==26&&ae!==27||J===null||Y===null||(ae=hu(Q,Y),ae!=null&&De.push(Ku(Q,ae,J))),mt)break;Q=Q.return}0<De.length&&(te=new re(te,we,null,u,se),le.push({event:te,listeners:De}))}}if((s&7)===0){e:{if(te=r==="mouseover"||r==="pointerover",re=r==="mouseout"||r==="pointerout",te&&u!==Zt&&(we=u.relatedTarget||u.fromElement)&&(Gi(we)||we[Hn]))break e;if((re||te)&&(te=se.window===se?se:(te=se.ownerDocument)?te.defaultView||te.parentWindow:window,re?(we=u.relatedTarget||u.toElement,re=$,we=we?Gi(we):null,we!==null&&(mt=o(we),De=we.tag,we!==mt||De!==5&&De!==27&&De!==6)&&(we=null)):(re=null,we=$),re!==we)){if(De=gA,ae="onMouseLeave",Y="onMouseEnter",Q="mouse",(r==="pointerout"||r==="pointerover")&&(De=yA,ae="onPointerLeave",Y="onPointerEnter",Q="pointer"),mt=re==null?te:Ks(re),J=we==null?te:Ks(we),te=new De(ae,Q+"leave",re,u,se),te.target=mt,te.relatedTarget=J,ae=null,Gi(se)===$&&(De=new De(Y,Q+"enter",we,u,se),De.target=J,De.relatedTarget=mt,ae=De),mt=ae,re&&we)t:{for(De=A3,Y=re,Q=we,J=0,ae=Y;ae;ae=De(ae))J++;ae=0;for(var Ie=Q;Ie;Ie=De(Ie))ae++;for(;0<J-ae;)Y=De(Y),J--;for(;0<ae-J;)Q=De(Q),ae--;for(;J--;){if(Y===Q||Q!==null&&Y===Q.alternate){De=Y;break t}Y=De(Y),Q=De(Q)}De=null}else De=null;re!==null&&lv(le,te,re,De,!1),we!==null&&mt!==null&&lv(le,mt,we,De,!0)}}
vendor: 5,221 bytes, lines 9-10
9e:{if(te=$?Ks($):window,re=te.nodeName&&te.nodeName.toLowerCase(),re==="select"||re==="input"&&te.type==="file")var at=CA;else if(xA(te))if(TA)at=RT;else{at=CT;var Re=ET}else re=te.nodeName,!re||re.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?$&&kt($.elementType)&&(at=CA):at=TT;if(at&&(at=at(r,$))){EA(le,at,u,se);break e}Re&&Re(r,te,$),r==="focusout"&&$&&te.type==="number"&&$.memoizedProps.value!=null&&Js(te,"number",te.value)}switch(Re=$?Ks($):window,r){case"focusin":(xA(Re)||Re.contentEditable==="true")&&($a=Re,mh=$,wu=null);break;case"focusout":wu=mh=$a=null;break;case"mousedown":gh=!0;break;case"contextmenu":case"mouseup":case"dragend":gh=!1,BA(le,u,se);break;case"selectionchange":if(kT)break;case"keydown":case"keyup":BA(le,u,se)}var Qe;if(dh)e:{switch(r){case"compositionstart":var tt="onCompositionStart";break e;case"compositionend":tt="onCompositionEnd";break e;case"compositionupdate":tt="onCompositionUpdate";break e}tt=void 0}else Za?SA(r,u)&&(tt="onCompositionEnd"):r==="keydown"&&u.keyCode===229&&(tt="onCompositionStart");tt&&(bA&&u.locale!=="ko"&&(Za||tt!=="onCompositionStart"?tt==="onCompositionEnd"&&Za&&(Qe=pA()):(Qi=se,ah="value"in Qi?Qi.value:Qi.textContent,Za=!0)),Re=nd($,tt),0<Re.length&&(tt=new AA(tt,r,null,u,se),le.push({event:tt,listeners:Re}),Qe?tt.data=Qe:(Qe=_A(u),Qe!==null&&(tt.data=Qe)))),(Qe=vT?wT(r,u):ST(r,u))&&(tt=nd($,"onBeforeInput"),0<tt.length&&(Re=new AA("onBeforeInput","beforeinput",null,u,se),le.push({event:Re,listeners:tt}),Re.data=Qe)),h3(le,r,$,u,se)}ov(le,s)})}function Ku(r,s,u){return{instance:r,listener:s,currentTarget:u}}function nd(r,s){for(var u=s+"Capture",f=[];r!==null;){var A=r,b=A.stateNode;if(A=A.tag,A!==5&&A!==26&&A!==27||b===null||(A=hu(r,u),A!=null&&f.unshift(Ku(r,A,b)),A=hu(r,s),A!=null&&f.push(Ku(r,A,b))),r.tag===3)return f;r=r.return}return[]}function A3(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function lv(r,s,u,f,A){for(var b=s._reactName,R=[];u!==null&&u!==f;){var N=u,z=N.alternate,$=N.stateNode;if(N=N.tag,z!==null&&z===f)break;N!==5&&N!==26&&N!==27||$===null||(z=$,A?($=hu(u,b),$!=null&&R.unshift(Ku(u,$,z))):A||($=hu(u,b),$!=null&&R.push(Ku(u,$,z)))),u=u.return}R.length!==0&&r.push({event:s,listeners:R})}var y3=/\r\n?/g,b3=/\u0000|\uFFFD/g;function cv(r){return(typeof r=="string"?r:""+r).replace(y3,`
10`).replace(b3,"")}function dv(r,s){return s=cv(s),cv(r)===s}function pt(r,s,u,f,A,b){switch(u){case"children":typeof f=="string"?s==="body"||s==="textarea"&&f===""||he(r,f):(typeof f=="number"||typeof f=="bigint")&&s!=="body"&&he(r,""+f);break;case"className":Br(r,"class",f);break;case"tabIndex":Br(r,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Br(r,u,f);break;case"style":Xe(r,f,b);break;case"data":if(s!=="object"){Br(r,"data",f);break}case"src":case"href":if(f===""&&(s!=="a"||u!=="href")){r.removeAttribute(u);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){r.removeAttribute(u);break}f=bn(""+f),r.setAttribute(u,f);break;case"action":case"formAction":if(typeof f=="function"){r.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(u==="formAction"?(s!=="input"&&pt(r,s,"name",A.name,A,null),pt(r,s,"formEncType",A.formEncType,A,null),pt(r,s,"formMethod",A.formMethod,A,null),pt(r,s,"formTarget",A.formTarget,A,null)):(pt(r,s,"encType",A.encType,A,null),pt(r,s,"method",A.method,A,null),pt(r,s,"target",A.target,A,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){r.removeAttribute(u);break}f=bn(""+f),r.setAttribute(u,f);break;case"onClick":f!=null&&(r.onclick=zn);break;case"onScroll":f!=null&&$e("scroll",r);break;case"onScrollEnd":f!=null&&$e("scrollend",r);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(i(61));if(u=f.__html,u!=null){if(A.children!=null)throw Error(i(60));r.innerHTML=u}}break;case"multiple":r.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":r.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){r.removeAttribute("xlink:href");break}u=bn(""+f),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?r.setAttribute(u,""+f):r.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?r.setAttribute(u,""):r.removeAttribute(u);break;case"capture":case"download":f===!0?r.setAttribute(u,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?r.setAttribute(u,f):r.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?r.setAttribute(u,f):r.removeAttribute(u);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?r.removeAttribute(u):r.setAttribute(u,f);break;case"popover":$e("beforetoggle",r),$e("toggle",r),Ar(r,"popover",f);break;case"xlinkActuate":Jt(r,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":Jt(r,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":Jt(r,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":Jt(r,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":Jt(r,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":Jt(r,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":Jt(r,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":Jt(r,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":Jt(r,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":Ar(r,"is",f);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=It.get(u)||u,Ar(r,u,f))}}function H0(r,s,u,f,A,b){switch(u){case"style":Xe(r,f,b);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(i(61));if(u=f.__html,u!=null){if(A.children!=null)throw Error(i(60));r.innerHTML=u}}break;case"children":typeof f=="string"?he(r,f):(typeof f=="number"||typeof f=="bigint")&&he(r,""+f);break;case"onScroll":f!=null&&$e("scroll",r);break;case"onScrollEnd":f!=null&&$e("scrollend",r);break;case"onClick":f!=null&&(r.onclick=zn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ic.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(A=u.endsWith("Capture"),s=u.slice(2,A?u.length-7:void 0),b=r[Je]||null,b=b!=null?b[u]:null,typeof b=="function"&&r.removeEventListener(s,b,A),typeof f=="function")){typeof b!="function"&&b!==null&&(u in r?r[u]=null:r.hasAttribute(u)&&r.removeAttribute(u)),r.addEventListener(s,f,A);break e}u in r?r[u]=f:f===!0?r.setAttribute(u,""):Ar(r,u,f)}}}function fn(r,s,u){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$e("error",r),$e("load",r);var f=!1,A=!1,b;for(b in u)if(u.hasOwnProperty(b)){var R=u[b];if(R!=null)switch(b){case"src":f=!0;break;case"srcSet":A=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:pt(r,s,b,R,u,null)}}A&&pt(r,s,"srcSet",u.srcSet,u,null),f&&pt(r,s,"src",u.src,u,null);return;case"input":$e("invalid",r);var N=b=R=A=null,z=null,$=null;for(f in u)if(u.hasOwnProperty(f)){var se=u[f];if(se!=null)switch(f){case"name":A=se;break;case"type":R=se;break;case"checked":z=se;break;case"defaultChecked":$=se;break;case"value":b=se;break;case"defaultValue":N=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(i(137,s));break;default:pt(r,s,f,se,u,null)}}Ws(r,b,N,z,$,R,A,!1);return;case"select":$e("invalid",r),f=R=b=null;for(A in u)if(u.hasOwnProperty(A)&&(N=u[A],N!=null))switch(A){case"value":b=N;break;case"defaultValue":R=N;break;case"multiple":f=N;default:pt(r,s,A,N,u,null)}s=b,u=R,r.multiple=!!f,s!=null?pe(r,!!f,s,!1):u!=null&&pe(r,!!f,u,!0);return;case"textarea":$e("invalid",r),b=A=f=null;for(R in u)if(u.hasOwnProperty(R)&&(N=u[R],N!=null))switch(R){case"value":f=N;break;case"defaultValue":A=N;break;case"children":b=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(i(91));break;default:pt(r,s,R,N,u,null)}X(r,f,A,b);return;case"option":for(z in u)u.hasOwnProperty(z)&&(f=u[z],f!=null)&&(z==="selected"?r.selected=f&&typeof f!="function"&&typeof f!="symbol":pt(r,s,z,f,u,null));return;case"dialog":$e("beforetoggle",r),$e("toggle",r),$e("cancel",r),$e("close",r);break;case"iframe":case"object":$e("load",r);break;case"video":case"audio":for(f=0;f<Qu.length;f++)$e(Qu[f],r);break;case"image":$e("error",r),$e("load",r);break;case"details":$e("toggle",r);break;case"embed":case"source":case"link":$e("error",r),$e("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for($ in u)if(u.hasOwnProperty($)&&(f=u[$],f!=null))switch($){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:pt(r,s,$,f,u,null)}return;default:if(kt(s)){for(se in u)u.hasOwnProperty(se)&&(f=u[se],f!==void 0&&H0(r,s,se,f,u,void 0));return}}
vendor: 8,028 bytes, line 10
10for(N in u)u.hasOwnProperty(N)&&(f=u[N],f!=null&&pt(r,s,N,f,u,null))}function v3(r,s,u,f){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var A=null,b=null,R=null,N=null,z=null,$=null,se=null;for(re in u){var le=u[re];if(u.hasOwnProperty(re)&&le!=null)switch(re){case"checked":break;case"value":break;case"defaultValue":z=le;default:f.hasOwnProperty(re)||pt(r,s,re,null,f,le)}}for(var te in f){var re=f[te];if(le=u[te],f.hasOwnProperty(te)&&(re!=null||le!=null))switch(te){case"type":b=re;break;case"name":A=re;break;case"checked":$=re;break;case"defaultChecked":se=re;break;case"value":R=re;break;case"defaultValue":N=re;break;case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(i(137,s));break;default:re!==le&&pt(r,s,te,re,f,le)}}Va(r,R,N,z,$,se,b,A);return;case"select":re=R=N=te=null;for(b in u)if(z=u[b],u.hasOwnProperty(b)&&z!=null)switch(b){case"value":break;case"multiple":re=z;default:f.hasOwnProperty(b)||pt(r,s,b,null,f,z)}for(A in f)if(b=f[A],z=u[A],f.hasOwnProperty(A)&&(b!=null||z!=null))switch(A){case"value":te=b;break;case"defaultValue":N=b;break;case"multiple":R=b;default:b!==z&&pt(r,s,A,b,f,z)}s=N,u=R,f=re,te!=null?pe(r,!!u,te,!1):!!f!=!!u&&(s!=null?pe(r,!!u,s,!0):pe(r,!!u,u?[]:"",!1));return;case"textarea":re=te=null;for(N in u)if(A=u[N],u.hasOwnProperty(N)&&A!=null&&!f.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:pt(r,s,N,null,f,A)}for(R in f)if(A=f[R],b=u[R],f.hasOwnProperty(R)&&(A!=null||b!=null))switch(R){case"value":te=A;break;case"defaultValue":re=A;break;case"children":break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(i(91));break;default:A!==b&&pt(r,s,R,A,f,b)}F(r,te,re);return;case"option":for(var we in u)te=u[we],u.hasOwnProperty(we)&&te!=null&&!f.hasOwnProperty(we)&&(we==="selected"?r.selected=!1:pt(r,s,we,null,f,te));for(z in f)te=f[z],re=u[z],f.hasOwnProperty(z)&&te!==re&&(te!=null||re!=null)&&(z==="selected"?r.selected=te&&typeof te!="function"&&typeof te!="symbol":pt(r,s,z,te,f,re));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var De in u)te=u[De],u.hasOwnProperty(De)&&te!=null&&!f.hasOwnProperty(De)&&pt(r,s,De,null,f,te);for($ in f)if(te=f[$],re=u[$],f.hasOwnProperty($)&&te!==re&&(te!=null||re!=null))switch($){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(i(137,s));break;default:pt(r,s,$,te,f,re)}return;default:if(kt(s)){for(var mt in u)te=u[mt],u.hasOwnProperty(mt)&&te!==void 0&&!f.hasOwnProperty(mt)&&H0(r,s,mt,void 0,f,te);for(se in f)te=f[se],re=u[se],!f.hasOwnProperty(se)||te===re||te===void 0&&re===void 0||H0(r,s,se,te,f,re);return}}for(var Y in u)te=u[Y],u.hasOwnProperty(Y)&&te!=null&&!f.hasOwnProperty(Y)&&pt(r,s,Y,null,f,te);for(le in f)te=f[le],re=u[le],!f.hasOwnProperty(le)||te===re||te==null&&re==null||pt(r,s,le,te,f,re)}function fv(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function w3(){if(typeof performance.getEntriesByType=="function"){for(var r=0,s=0,u=performance.getEntriesByType("resource"),f=0;f<u.length;f++){var A=u[f],b=A.transferSize,R=A.initiatorType,N=A.duration;if(b&&N&&fv(R)){for(R=0,N=A.responseEnd,f+=1;f<u.length;f++){var z=u[f],$=z.startTime;if($>N)break;var se=z.transferSize,le=z.initiatorType;se&&fv(le)&&(z=z.responseEnd,R+=se*(z<N?1:(N-$)/(z-$)))}if(--f,s+=8*(b+R)/(A.duration/1e3),r++,10<r)break}}if(0<r)return s/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var z0=null,G0=null;function rd(r){return r.nodeType===9?r:r.ownerDocument}function hv(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function pv(r,s){if(r===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&s==="foreignObject"?0:r}function q0(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Q0=null;function S3(){var r=window.event;return r&&r.type==="popstate"?r===Q0?!1:(Q0=r,!0):(Q0=null,!1)}var mv=typeof setTimeout=="function"?setTimeout:void 0,_3=typeof clearTimeout=="function"?clearTimeout:void 0,gv=typeof Promise=="function"?Promise:void 0,x3=typeof queueMicrotask=="function"?queueMicrotask:typeof gv<"u"?function(r){return gv.resolve(null).then(r).catch(E3)}:mv;function E3(r){setTimeout(function(){throw r})}function us(r){return r==="head"}function Av(r,s){var u=s,f=0;do{var A=u.nextSibling;if(r.removeChild(u),A&&A.nodeType===8)if(u=A.data,u==="/$"||u==="/&"){if(f===0){r.removeChild(A),Co(s);return}f--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")f++;else if(u==="html")Yu(r.ownerDocument.documentElement);else if(u==="head"){u=r.ownerDocument.head,Yu(u);for(var b=u.firstChild;b;){var R=b.nextSibling,N=b.nodeName;b[zi]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&b.rel.toLowerCase()==="stylesheet"||u.removeChild(b),b=R}}else u==="body"&&Yu(r.ownerDocument.body);u=A}while(u);Co(s)}function yv(r,s){var u=r;r=0;do{var f=u.nextSibling;if(u.nodeType===1?s?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(s?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),f&&f.nodeType===8)if(u=f.data,u==="/$"){if(r===0)break;r--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||r++;u=f}while(u)}function K0(r){var s=r.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var u=s;switch(s=s.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":K0(u),fu(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}r.removeChild(u)}}function C3(r,s,u,f){for(;r.nodeType===1;){var A=u;if(r.nodeName.toLowerCase()!==s.toLowerCase()){if(!f&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(f){if(!r[zi])switch(s){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(b=r.getAttribute("rel"),b==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(b!==A.rel||r.getAttribute("href")!==(A.href==null||A.href===""?null:A.href)||r.getAttribute("crossorigin")!==(A.crossOrigin==null?null:A.crossOrigin)||r.getAttribute("title")!==(A.title==null?null:A.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(b=r.getAttribute("src"),(b!==(A.src==null?null:A.src)||r.getAttribute("type")!==(A.type==null?null:A.type)||r.getAttribute("crossorigin")!==(A.crossOrigin==null?null:A.crossOrigin))&&b&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(s==="input"&&r.type==="hidden"){var b=A.name==null?null:""+A.name;if(A.type==="hidden"&&r.getAttribute("name")===b)return r}else return r;if(r=or(r.nextSibling),r===null)break}return null}function T3(r,s,u){if(s==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!u||(r=or(r.nextSibling),r===null))return null;return r}function bv(r,s){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=or(r.nextSibling),r===null))return null;return r}function Y0(r){return r.data==="$?"||r.data==="$~"}function V0(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function R3(r,s){var u=r.ownerDocument;if(r.data==="$~")r._reactRetry=s;else if(r.data!=="$?"||u.readyState!=="loading")s();else{var f=function(){s(),u.removeEventListener("DOMContentLoaded",f)};u.addEventListener("DOMContentLoaded",f),r._reactRetry=f}}function or(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"||s==="F!"||s==="F")break;
vendor: 4,435 bytes, line 10
10if(s==="/$"||s==="/&")return null}}return r}var W0=null;function vv(r){r=r.nextSibling;for(var s=0;r;){if(r.nodeType===8){var u=r.data;if(u==="/$"||u==="/&"){if(s===0)return or(r.nextSibling);s--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||s++}r=r.nextSibling}return null}function wv(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var u=r.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(s===0)return r;s--}else u!=="/$"&&u!=="/&"||s++}r=r.previousSibling}return null}function Sv(r,s,u){switch(s=rd(u),r){case"html":if(r=s.documentElement,!r)throw Error(i(452));return r;case"head":if(r=s.head,!r)throw Error(i(453));return r;case"body":if(r=s.body,!r)throw Error(i(454));return r;default:throw Error(i(451))}}function Yu(r){for(var s=r.attributes;s.length;)r.removeAttributeNode(s[0]);fu(r)}var ur=new Map,_v=new Set;function id(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Ai=q.d;q.d={f:O3,r:k3,D:I3,C:N3,L:D3,m:M3,X:j3,S:B3,M:L3};function O3(){var r=Ai.f(),s=Wc();return r||s}function k3(r){var s=qi(r);s!==null&&s.tag===5&&s.type==="form"?Fy(s):Ai.r(r)}var _o=typeof document>"u"?null:document;function xv(r,s,u){var f=_o;if(f&&typeof s=="string"&&s){var A=Tn(s);A='link[rel="'+r+'"][href="'+A+'"]',typeof u=="string"&&(A+='[crossorigin="'+u+'"]'),_v.has(A)||(_v.add(A),r={rel:r,crossOrigin:u,href:s},f.querySelector(A)===null&&(s=f.createElement("link"),fn(s,"link",r),Bt(s),f.head.appendChild(s)))}}function I3(r){Ai.D(r),xv("dns-prefetch",r,null)}function N3(r,s){Ai.C(r,s),xv("preconnect",r,s)}function D3(r,s,u){Ai.L(r,s,u);var f=_o;if(f&&r&&s){var A='link[rel="preload"][as="'+Tn(s)+'"]';s==="image"&&u&&u.imageSrcSet?(A+='[imagesrcset="'+Tn(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(A+='[imagesizes="'+Tn(u.imageSizes)+'"]')):A+='[href="'+Tn(r)+'"]';var b=A;switch(s){case"style":b=xo(r);break;case"script":b=Eo(r)}ur.has(b)||(r=m({rel:"preload",href:s==="image"&&u&&u.imageSrcSet?void 0:r,as:s},u),ur.set(b,r),f.querySelector(A)!==null||s==="style"&&f.querySelector(Vu(b))||s==="script"&&f.querySelector(Wu(b))||(s=f.createElement("link"),fn(s,"link",r),Bt(s),f.head.appendChild(s)))}}function M3(r,s){Ai.m(r,s);var u=_o;if(u&&r){var f=s&&typeof s.as=="string"?s.as:"script",A='link[rel="modulepreload"][as="'+Tn(f)+'"][href="'+Tn(r)+'"]',b=A;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Eo(r)}if(!ur.has(b)&&(r=m({rel:"modulepreload",href:r},s),ur.set(b,r),u.querySelector(A)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Wu(b)))return}f=u.createElement("link"),fn(f,"link",r),Bt(f),u.head.appendChild(f)}}}function B3(r,s,u){Ai.S(r,s,u);var f=_o;if(f&&r){var A=Sn(f).hoistableStyles,b=xo(r);s=s||"default";var R=A.get(b);if(!R){var N={loading:0,preload:null};if(R=f.querySelector(Vu(b)))N.loading=5;else{r=m({rel:"stylesheet",href:r,"data-precedence":s},u),(u=ur.get(b))&&J0(r,u);var z=R=f.createElement("link");Bt(z),fn(z,"link",r),z._p=new Promise(function($,se){z.onload=$,z.onerror=se}),z.addEventListener("load",function(){N.loading|=1}),z.addEventListener("error",function(){N.loading|=2}),N.loading|=4,sd(R,s,f)}R={type:"stylesheet",instance:R,count:1,state:N},A.set(b,R)}}}function j3(r,s){Ai.X(r,s);var u=_o;if(u&&r){var f=Sn(u).hoistableScripts,A=Eo(r),b=f.get(A);b||(b=u.querySelector(Wu(A)),b||(r=m({src:r,async:!0},s),(s=ur.get(A))&&Z0(r,s),b=u.createElement("script"),Bt(b),fn(b,"link",r),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},f.set(A,b))}}function L3(r,s){Ai.M(r,s);var u=_o;if(u&&r){var f=Sn(u).hoistableScripts,A=Eo(r),b=f.get(A);b||(b=u.querySelector(Wu(A)),b||(r=m({src:r,async:!0,type:"module"},s),(s=ur.get(A))&&Z0(r,s),b=u.createElement("script"),Bt(b),fn(b,"link",r),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},f.set(A,b))}}function Ev(r,s,u,f){var A=(A=ge.current)?id(A):null;if(!A)throw Error(i(446));switch(r){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(s=xo(u.href),u=Sn(A).hoistableStyles,f=u.get(s),f||(f={type:"style",instance:null,count:0,state:null},u.set(s,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){r=x
vendor: 4,363 bytes, line 10
10o(u.href);var b=Sn(A).hoistableStyles,R=b.get(r);if(R||(A=A.ownerDocument||A,R={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(r,R),(b=A.querySelector(Vu(r)))&&!b._p&&(R.instance=b,R.state.loading=5),ur.has(r)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},ur.set(r,u),b||P3(A,r,u,R.state))),s&&f===null)throw Error(i(528,""));return R}if(s&&f!==null)throw Error(i(529,""));return null;case"script":return s=u.async,u=u.src,typeof u=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Eo(u),u=Sn(A).hoistableScripts,f=u.get(s),f||(f={type:"script",instance:null,count:0,state:null},u.set(s,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,r))}}function xo(r){return'href="'+Tn(r)+'"'}function Vu(r){return'link[rel="stylesheet"]['+r+"]"}function Cv(r){return m({},r,{"data-precedence":r.precedence,precedence:null})}function P3(r,s,u,f){r.querySelector('link[rel="preload"][as="style"]['+s+"]")?f.loading=1:(s=r.createElement("link"),f.preload=s,s.addEventListener("load",function(){return f.loading|=1}),s.addEventListener("error",function(){return f.loading|=2}),fn(s,"link",u),Bt(s),r.head.appendChild(s))}function Eo(r){return'[src="'+Tn(r)+'"]'}function Wu(r){return"script[async]"+r}function Tv(r,s,u){if(s.count++,s.instance===null)switch(s.type){case"style":var f=r.querySelector('style[data-href~="'+Tn(u.href)+'"]');if(f)return s.instance=f,Bt(f),f;var A=m({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return f=(r.ownerDocument||r).createElement("style"),Bt(f),fn(f,"style",A),sd(f,u.precedence,r),s.instance=f;case"stylesheet":A=xo(u.href);var b=r.querySelector(Vu(A));if(b)return s.state.loading|=4,s.instance=b,Bt(b),b;f=Cv(u),(A=ur.get(A))&&J0(f,A),b=(r.ownerDocument||r).createElement("link"),Bt(b);var R=b;return R._p=new Promise(function(N,z){R.onload=N,R.onerror=z}),fn(b,"link",f),s.state.loading|=4,sd(b,u.precedence,r),s.instance=b;case"script":return b=Eo(u.src),(A=r.querySelector(Wu(b)))?(s.instance=A,Bt(A),A):(f=u,(A=ur.get(b))&&(f=m({},u),Z0(f,A)),r=r.ownerDocument||r,A=r.createElement("script"),Bt(A),fn(A,"link",f),r.head.appendChild(A),s.instance=A);case"void":return null;default:throw Error(i(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(f=s.instance,s.state.loading|=4,sd(f,u.precedence,r));return s.instance}function sd(r,s,u){for(var f=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),A=f.length?f[f.length-1]:null,b=A,R=0;R<f.length;R++){var N=f[R];if(N.dataset.precedence===s)b=N;else if(b!==A)break}b?b.parentNode.insertBefore(r,b.nextSibling):(s=u.nodeType===9?u.head:u,s.insertBefore(r,s.firstChild))}function J0(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.title==null&&(r.title=s.title)}function Z0(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.integrity==null&&(r.integrity=s.integrity)}var ad=null;function Rv(r,s,u){if(ad===null){var f=new Map,A=ad=new Map;A.set(u,f)}else A=ad,f=A.get(u),f||(f=new Map,A.set(u,f));if(f.has(r))return f;for(f.set(r,null),u=u.getElementsByTagName(r),A=0;A<u.length;A++){var b=u[A];if(!(b[zi]||b[Wt]||r==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var R=b.getAttribute(s)||"";R=r+R;var N=f.get(R);N?N.push(b):f.set(R,[b])}}return f}function Ov(r,s,u){r=r.ownerDocument||r,r.head.insertBefore(u,s==="title"?r.querySelector("head > title"):null)}function U3(r,s,u){if(u===1||s.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(r=s.disabled,typeof s.precedence=="string"&&r==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function kv(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function F3(r,s,u,f){if(u.type==="stylesheet"&&(typeof f.media!="str
10ing"||matchMedia(f.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var A=xo(f.href),b=s.querySelector(Vu(A));if(b){s=b._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(r.count++,r=od.bind(r),s.then(r,r)),u.state.loading|=4,u.instance=b,Bt(b);return}b=s.ownerDocument||s,f=Cv(f),(A=ur.get(A))&&J0(f,A),b=b.createElement("link"),Bt(b);var R=b;R._p=new Promise(function(N,z){R.onload=N,R.onerror=z}),fn(b,"link",f),u.instance=b}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(u,s),(s=u.state.preload)&&(u.state.loading&3)===0&&(r.count++,u=od.bind(r),s.addEventListener("load",u),s.addEventListener("error",u))}}var $0=0;function H3(r,s){return r.stylesheets&&r.count===0&&ld(r,r.stylesheets),0<r.count||0<r.imgCount?function(u){var f=setTimeout(function(){if(r.stylesheets&&ld(r,r.stylesheets),r.unsuspend){var b=r.unsuspend;r.unsuspend=null,b()}},6e4+s);0<r.imgBytes&&$0===0&&($0=62500*w3());var A=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&ld(r,r.stylesheets),r.unsuspend)){var b=r.unsuspend;r.unsuspend=null,b()}},(r.imgBytes>$0?50:800)+s);return r.unsuspend=u,function(){r.unsuspend=null,clearTimeout(f),clearTimeout(A)}}:null}function od(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ld(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var ud=null;function ld(r,s){r.stylesheets=null,r.unsuspend!==null&&(r.count++,ud=new Map,s.forEac
vendor: 1,690 bytes, line 10
10h(z3,r),ud=null,od.call(r))}function z3(r,s){if(!(s.state.loading&4)){var u=ud.get(r);if(u)var f=u.get(null);else{u=new Map,ud.set(r,u);for(var A=r.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<A.length;b++){var R=A[b];(R.nodeName==="LINK"||R.getAttribute("media")!=="not all")&&(u.set(R.dataset.precedence,R),f=R)}f&&u.set(null,f)}A=s.instance,R=A.getAttribute("data-precedence"),b=u.get(R)||f,b===f&&u.set(null,A),u.set(R,A),this.count++,f=od.bind(this),A.addEventListener("load",f),A.addEventListener("error",f),b?b.parentNode.insertBefore(A,b.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(A,r.firstChild)),s.state.loading|=4}}var Ju={$$typeof:T,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function G3(r,s,u,f,A,b,R,N,z){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Nr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nr(0),this.hiddenUpdates=Nr(null),this.identifierPrefix=f,this.onUncaughtError=A,this.onCaughtError=b,this.onRecoverableError=R,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function Iv(r,s,u,f,A,b,R,N,z,$,se,le){return r=new G3(r,s,u,R,z,$,se,le,N),s=1,b===!0&&(s|=24),b=qn(3,null,null,s),r.current=b,b.stateNode=r,s=Ih(),s.refCount++,r.pooledCache=s,s.refCount++,b.memoizedState={element:f,isDehydrated:u,cac
vendor: 4,518 bytes, line 10
10he:s},Bh(b),r}function Nv(r){return r?(r=to,r):to}function Dv(r,s,u,f,A,b){A=Nv(A),f.context===null?f.context=A:f.pendingContext=A,f=Zi(s),f.payload={element:u},b=b===void 0?null:b,b!==null&&(f.callback=b),u=$i(r,f,s),u!==null&&(Mn(u,r,s),Ru(u,r,s))}function Mv(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var u=r.retryLane;r.retryLane=u!==0&&u<s?u:s}}function X0(r,s){Mv(r,s),(r=r.alternate)&&Mv(r,s)}function Bv(r){if(r.tag===13||r.tag===31){var s=ea(r,67108864);s!==null&&Mn(s,r,67108864),X0(r,67108864)}}function jv(r){if(r.tag===13||r.tag===31){var s=Wn();s=qa(s);var u=ea(r,s);u!==null&&Mn(u,r,s),X0(r,s)}}var cd=!0;function q3(r,s,u,f){var A=L.T;L.T=null;var b=q.p;try{q.p=2,ep(r,s,u,f)}finally{q.p=b,L.T=A}}function Q3(r,s,u,f){var A=L.T;L.T=null;var b=q.p;try{q.p=8,ep(r,s,u,f)}finally{q.p=b,L.T=A}}function ep(r,s,u,f){if(cd){var A=tp(f);if(A===null)F0(r,s,f,dd,u),Pv(r,f);else if(Y3(A,r,s,u,f))f.stopPropagation();else if(Pv(r,f),s&4&&-1<K3.indexOf(r)){for(;A!==null;){var b=qi(A);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var R=gr(b.pendingLanes);if(R!==0){var N=b;for(N.pendingLanes|=2,N.entangledLanes|=2;R;){var z=1<<31-un(R);N.entanglements[1]|=z,R&=~z}Ur(b),(ct&6)===0&&(Yc=Ne()+500,qu(0))}}break;case 31:case 13:N=ea(b,2),N!==null&&Mn(N,b,2),Wc(),X0(b,2)}if(b=tp(f),b===null&&F0(r,s,f,dd,u),b===A)break;A=b}A!==null&&f.stopPropagation()}else F0(r,s,f,null,u)}}function tp(r){return r=rh(r),np(r)}var dd=null;function np(r){if(dd=null,r=Gi(r),r!==null){var s=o(r);if(s===null)r=null;else{var u=s.tag;if(u===13){if(r=l(s),r!==null)return r;r=null}else if(u===31){if(r=c(s),r!==null)return r;r=null}else if(u===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null)}}return dd=r,null}function Lv(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(He()){case lt:return 2;case St:return 8;case Xn:case Li:return 32;case pr:return 268435456;default:return 32}default:return 32}}var rp=!1,ls=null,cs=null,ds=null,Zu=new Map,$u=new Map,fs=[],K3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Pv(r,s){switch(r){case"focusin":case"focusout":ls=null;break;case"dragenter":case"dragleave":cs=null;break;case"mouseover":case"mouseout":ds=null;break;case"pointerover":case"pointerout":Zu.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":$u.delete(s.pointerId)}}function Xu(r,s,u,f,A,b){return r===null||r.nativeEvent!==b?(r={blockedOn:s,domEventName:u,eventSystemFlags:f,nativeEvent:b,targetContainers:[A]},s!==null&&(s=qi(s),s!==null&&Bv(s)),r):(r.eventSystemFlags|=f,s=r.targetContainers,A!==null&&s.indexOf(A)===-1&&s.push(A),r)}function Y3(r,s,u,f,A){switch(s){case"focusin":return ls=Xu(ls,r,s,u,f,A),!0;case"dragenter":return cs=Xu(cs,r,s,u,f,A),!0;case"mouseover":return ds=Xu(ds,r,s,u,f,A),!0;case"pointerover":var b=A.pointerId;return Zu.set(b,Xu(Zu.get(b)||null,r,s,u,f,A)),!0;case"gotpointercapture":return b=A.pointerId,$u.set(b,Xu($u.get(b)||null,r,s,u,f,A)),!0}return!1}function Uv(r){var s=Gi(r.target);if(s!==null){var u=o(s);if(u!==null){if(s=u.tag,s===13){if(s=l(u),s!==null){r.blockedOn=s,Hi(r.priority,function(){jv(u)}
10);return}}else if(s===31){if(s=c(u),s!==null){r.blockedOn=s,Hi(r.priority,function(){jv(u)});return}}else if(s===3&&u.stateNode.current.memoizedState.isDehydrated){r.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}r.blockedOn=null}function fd(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var u=tp(r.nativeEvent);if(u===null){u=r.nativeEvent;var f=new u.constructor(u.type,u);Zt=f,u.target.dispatchEvent(f),Zt=null}else return s=qi(u),s!==null&&Bv(s),r.blockedOn=u,!1;s.shift()}return!0}function Fv(r,s,u){fd(r)&&u.delete(s)}function V3(){rp=!1,ls!==null&&fd(ls)&&(ls=null),cs!==null&&fd(cs)&&(cs=null),ds!==null&&fd(ds)&&(ds=null),Zu.forEach(Fv),$u.forEach(Fv)}function hd(r,s){r.blockedOn===s&&(r.blockedOn=null,rp||(rp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,V3)))}var pd=null;function Hv(r){pd!==r&&(pd=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){pd===r&&(pd=null);for(var s=0;s<r.length;s+=3){var u=r[s],f=r[s+1],A=r[s+2];if(typeof f!="function"){if(np(f||u)===null)continue;break}var b=qi(u);b!==null&&(r.splice(s,3),s-=3,t0(b,{pending:!0,data:A,method:u.method,action:f},f,A))}}))}function Co(r){function s(z){return hd(z,r)}ls!==null&&hd(ls,r),cs!==null&&hd(cs,r),ds!==null&&hd(ds,r),Zu.forEach(s),$u.forEach(s);for(var u=0;u<fs.length;u++){var f=fs[u];f.blockedOn===r&&(f.blockedOn=null)}for(;0<fs.length&&(u=fs[0],u.blockedOn===null);)Uv(u),u.blockedOn===null&&fs.shift();if(u=(r.ownerDocument||r).$$reactFormReplay,u!=null)for(f=0;f<u.length;f+=3){var A=u[f],b=u[f+1],R=A[Je]||null;if(typeof b=="function")R||Hv(u);else if(R){var N=null;if(b&&b.hasAttribute("formAction")){if(A=b,R=b[Je]||null)N=R.formAction;else if(np(A)!==null)continue}else N=R.action;typeof N=="function"?u[f+1]=N:(u.splice(f,3),f-=3),Hv(u)}}}function zv(){function r(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(R){return A=R})},focusReset:"manual",scroll:"manual"})}function s(){A!==null&&(A(),A=null),f||setTimeout(u,20)}function u(){if(!f&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,A=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",s),navigation.addEventListener("navigateerror",s),setTimeout(u,100),function(){f=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",s),navigation.removeEventListener("navigateerror",s),A!==null&&(A(),A=null)}}}function ip(r){this._internalRoot=r}md.prototype.render=ip.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(i(409));var u=s.current,f=Wn();Dv(u,f,r,s,null,null)},md.prototype.unmount=ip.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;Dv(r.current,2,null,r,null,null),Wc(),s[Hn]=null}};function md(r){this._internalRoot=r}md.prototype.unstable_scheduleHydration=function(r){if(r){var s=nc();r={blockedOn:null,target:r,priority:s};for(var u=0;u<fs.length&&s!==0&&s<fs[u].priority;u++);fs.splice(u,0,r),u===0&&Uv(r)}};var Gv=t.version;if(Gv!=="19.2.5")throw Error(i(527,Gv,"19.2.5"));q.findDOMNode=function(r){var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(i(188)):(r=Object.keys(r).join(","),Error(i(268,r)));return r=d(s),r=r!==null?p(r):null,r=r===null?null:r.stateNode,r};var W3={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gd.isDisabled&&gd.supportsFiber)try{Pi=gd.inject(W3),yn=gd}catch{}}return tl.createRoot=function(r,s){if(!a(r))throw Error(i(299));var u=!1,f="",A=Jy,b=Zy,R=$y;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(f=s.identifierPrefix),s.onUncaughtError!==void 0&&(A=s.onUncaughtError),s.onCaughtError!==void 0&&(b=s.onCaughtError),s.onRecoverableError!==void 0&&(R=s.onRecoverableError)),s=Iv(r,1,!1,null,null,u,f,null,A,b,R,zv),r[Hn]=s.current,U0(r),new ip(s)},tl.hydrateRoot=function(r,s,u){if(!a(r))throw Error(i(299));var f=!1,A="",b=Jy,R=Zy,N=$y,z=null;return u!=null&&(u.unstable_strictMode===!0&&(f=!0),u.identifierPrefix!==void 0&&(A=u.identifierPrefix),u.onUncaughtError!==void 0&&(b=u.onUncaughtError),u.onCaughtError!==void 0&&(R=u.onCaughtError),u.onRecoverableError!==void 0&&(N=u.onRecoverableError),u.formState!==void 0&&(z=u.formState)),s=Iv(r,1,!0,s,u??null,f,A,z,b,R,N,zv),s.context=Nv(null),u=s.current,f=Wn(),f=qa(f),A=Zi(f),A.callback=null,$i(u,A,f),u=f,s.current.lanes=u,Xr(s,u),Ur(s),r[Hn]=s.current,U0(r),new md(s)},tl.version="19.2.5",tl}var Xv;function aR(){if(Xv)return op.exports;Xv=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(),op.exports=sR(),op.exports}var oR=aR(),uR="__TSS_CONTEXT",jm=Symbol.for("TSS_SERVER_FUNCTION"),e1=Symbol.for("TSS_SERVER_FUNCTION_FACTORY"),lR="application/x-tss-framed",yi={JSON:0,CHUNK:1,END:2,ERROR:3},cR=/;\s*v=(\d+)/;function dR(e){const t=e.match(cR);return t?parseInt(t[1],10):void 0}function fR(e){const t=dR(e);if(t!==void 0&&t!==1)throw new Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var Cg=()=>window.__TSS_START_OPTIONS__;const h2=!1;function Tl(e){return e[e.length-1]}function hR(e){return typeof e=="function"}function wa(e,t){return hR(e)?e(t):e}const p2=Object.prototype.hasOwnProperty,t1=Object.prototype.propertyIsEnumerable;function m2(e){for(const t in e)if(p2.call(e,t))return!0;return!1}const pR=()=>Object.create(null),ha=(e,t)=>Sa(e,t,pR);function Sa(e,t,n=()=>({}),i=0){if(e===t)return e;if(i>500)return t;const a=t,o=i1(e)&&i1(a);if(!o&&!(ff(e)&&ff(a)))return a;const l=o?e:n1(e);if(!l)return a;const c=o?a:n1(a);if(!c)return a;const h=l.length,d=c.length,p=o?new Array(d):n();let m=0;for(let g=0;g<d;g++){const y=o?g:c[g],v=e[y],x=a[y];if(v===x){p[y]=v,(o?g<h:p2.call(e,y))&&m++;continue}if(v===null||x===null||typeof v!="object"||typeof x!="object"){p[y]=x;continue}const S=Sa(v,x,n,i+1);p[y]=S,S===v&&m++}return h===d&&m===h?e:p}function n1(e){const t=Object.getOwnPropertyNames(e);for(const a of t)if(!t1.call(e,a))return!1;const n=Object.getOwnPropertySymbols(e);if(n.length===0)return t;const i=t;for(const a of n){if(!t1.call(e,a))return!1;i.push(a)}return i}function ff(e){if(!r1(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!r1(n)||!n.hasOwnProperty("isPrototypeOf"))}function r1(e){return Object.prototype.toString.call(e)==="[object Object]"}function i1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function En(e,t,n){if(e===t)return!0;
10if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let i=0,a=e.length;i<a;i++)if(!En(e[i],t[i],n))return!1;return!0}if(ff(e)&&ff(t)){const i=n?.ignoreUndefined??!0;if(n?.partial){for(const l in t)if((!i||t[l]!==void 0)&&!En(e[l],t[l],n))return!1;return!0}let a=0;if(!i)a=Object.keys(e).length;else for(const l in e)e[l]!==void 0&&a++;let o=0;for(const l in t)if((!i||t[l]!==void 0)&&(o++,o>a||!En(e[l],t[l],n)))return!1;return a===o}return!1}function Oa(e){let t,n;const i=new Promise((a,o)=>{t=a,n=o});return i.status="pending",i.resolve=a=>{i.status="resolved",i.value=a,t(a),e?.(a)},i.reject=a=>{i.status="rejected",n(a)},i}function mR(e){return typeof e?.message!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function Rl(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}const gR=/[\x00-\x1f\x7f"<>`{}]/g;function AR(e){return e.replace(gR,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function s1(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,n=>{try{return decodeURI(n)}catch{return n}})}return AR(t)}const yR=["http:","https:","mailto:","tel:"];function hf(e,t){if(!e)return!1;try{const n=new URL(e);return!t.has(n.protocol)}catch{return!1}}const bR={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},vR=/[&><\u2028\u2029]/g;function wR(e){return e.replace(vR,t=>bR[t])}function nl(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let n=0,i="",a;for(;(a=t.exec(e))!==null;)i+=s1(e.slice(n,a.index))+a[0],n=t.lastIndex;i=i+s1(n?e.slice(n):e);let o=!1;return i.startsWith("//")&&(o=!0,i="/"+i.replace(/^\/+/,"")),{path:i,handledProtocolRelativeURL:o}}function SR(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function _R(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Pn(){throw new Error("Invariant failed")}function Ol(e){const t=new Map;let n,i;const a=o=>{o.next&&(o.prev?(o.prev.next=o.next,o.next.prev=o.prev,o.next=void 0,i&&(i.next=o,o.prev=i)):(o.next.prev=void 0,n=o.next,o.next=void 0,i&&(o.prev=i,i.next=o)),i=o)};return{get(o){const l=t.get(o);if(l)return a(l),l.value},set(o,l){if(t.size>=e&&n){const h=n;t.delete(h.key),h.next&&(n=h.next,h.next.prev=void 0),h===i&&(i=void 0)}const c=t.get(o);if(c)c.value=l,a(c);else{const h={key:o,value:l,prev:i};i&&(i.next=h),i=h,n||(n=h),t.set(o,h)}},clear(){t.clear(),n=void 0,i=void 0}}}const Ts=4,g2=5;function xR(e){const t=e.indexOf("{");if(t===-1)return null;const n=e.indexOf("}",t);return n===-1||t+1>=e.length?null:[t,n]}function A2(e,t,n=new Uint16Array(6)){const i=e.indexOf("/",t),a=i===-1?e.length:i,o=e.substring(t,a);if(!o||!o.includes("$"))return n[0]=0,n[1]=t,n[2]=t,n[3]=a,n[4]=a,n[5]=a,n;if(o==="$"){const c=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=c,n[4]=c,n[5]=c,n}if(o.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=a,n[4]=a,n[5]=a,n;const l=xR(o);if(l){const[c,h]=l,d=o.charCodeAt(c+1);if(d===45){if(c+2<o.length&&o.charCodeAt(c+2)===36){const p=c+3,m=h;if(p<m)return n[0]=3,n[1]=t+c,n[2]=t+p,n[3]=t+m,n[4]=t+h+1,n[5]=a,n}}else if(d===36){const p=c+1,m=c+2;return m===h?(n[0]=2,n[1]=t+c,n[2]=t+p,n[3]=t+m,n[4]=t+h+1,n[5]=e.length,n):(n[0]=1,n[1]=t+c,n[2]=t+m,n[3]=t+h,n[4]=t+h+1,n[5]=a,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=a,n[4]=a,n[5]=a,n}function jf(e,t,n,i,a,o,l){l?.(n);let c=i;{const h=n.fullPath??n.from,d=h.length,p=n.options?.caseSensitive??e,m=n.options?.params?.parse??n.options?.parseParams;for(;c<d;){const y=A2(h,c,t);let v;const x=c,S=y[5];switch(c=S+1,o++,y[0]){case 0:{const w=h.substring(y[2],y[3]);if(p){const _=a.static?.get(w);if(_)v=_;else{a.static??=new Map;const T=_a(n.fullPath??n.from);T.parent=a,T.depth=o,v=T,a.static.set(w,T)}}else{const _=w.toLowerCase(),T=a.staticInsensitive?.get(_);if(T)v=T;else{a.staticInsensitive??=new Map;const E=_a(n.fullPath??n.from);E.parent=a,E.depth=o,v=E,a.staticInsensitive.set(_,E)}}break}case 1:{const w=h.substring(x,y[1]),_=h.substring(y[4],S),T=p&&!!(w||_),E=w?T?w:w.toLowerCase():void 0,C=_?T?_:_.toLowerCase():void 0,k=!m&&a.dynamic?.find(I=>!I.parse&&I.caseSensitive===T&&I.prefix===E&&I.suffix===C);if(k)v=k;else{const I=fp(1,n.fullPath??n.from,T,E,C);v=I,I.depth=o,I.parent=a,a.dynamic??=[],a.dynamic.push(I)}break}case 3:{const w=h.substring(x,y[1]),_=h.substring(y[4],S),T=p&&!!(w||_),E=w?T?w:w.toLowerCase():void 0,C=_?T?_:_.toLowerCase():void 0,k=!m&&a.optional?.find(I=>!I.parse&&I.caseSensitive===T&&I.prefix===E&&I.suffix===C);if(k)v=k;else{const I=fp(3,n.fullPath??n.from,T,E,C);
10v=I,I.parent=a,I.depth=o,a.optional??=[],a.optional.push(I)}break}case 2:{const w=h.substring(x,y[1]),_=h.substring(y[4],S),T=p&&!!(w||_),E=w?T?w:w.toLowerCase():void 0,C=_?T?_:_.toLowerCase():void 0,k=fp(2,n.fullPath??n.from,T,E,C);v=k,k.parent=a,k.depth=o,a.wildcard??=[],a.wildcard.push(k)}}a=v}if(m&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf("/")+1)===95){const y=_a(n.fullPath??n.from);y.kind=g2,y.parent=a,o++,y.depth=o,a.pathless??=[],a.pathless.push(y),a=y}const g=(n.path||!n.children)&&!n.isRoot;if(g&&h.endsWith("/")){const y=_a(n.fullPath??n.from);y.kind=Ts,y.parent=a,o++,y.depth=o,a.index=y,a=y}a.parse=m??null,a.priority=n.options?.params?.priority??0,g&&!a.route&&(a.route=n,a.fullPath=n.fullPath??n.from)}if(n.children)for(const h of n.children)jf(e,t,h,c,a,o,l)}function dp(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function ws(e){if(e.pathless)for(const t of e.pathless)ws(t);if(e.static)for(const t of e.static.values())ws(t);if(e.staticInsensitive)for(const t of e.staticInsensitive.values())ws(t);if(e.dynamic?.length){e.dynamic.sort(dp);for(const t of e.dynamic)ws(t)}if(e.optional?.length){e.optional.sort(dp);for(const t of e.optional)ws(t)}if(e.wildcard?.length){e.wildcard.sort(dp);for(const t of e.wildcard)ws(t)}}function _a(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function fp(e,t,n,i,a){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:i,suffix:a}}function ER(e,t){const n=_a("/"),i=new Uint16Array(6);for(const a of e)jf(!1,i,a,1,n,0);ws(n),t.masksTree=n,t.flatCache=Ol(1e3)}function CR(e,t){e||="/";const n=t.flatCache.get(e);if(n)return n;const i=Tg(e,t.masksTree);return t.flatCache.set(e,i),i}function TR(e,t,n,i,a){e||="/",i||="/";const o=t?`case\0${e}`:e;let l=a.singleCache.get(o);return l||(l=_a("/"),jf(t,new Uint16Array(6),{from:e},1,l,0),a.singleCache.set(o,l)),Tg(i,l,n)}function RR(e,t,n=!1){const i=n?e:`nofuzz\0${e}`,a=t.matchCache.get(i);if(a!==void 0)return a;e||="/";let o;try{o=Tg(e,t.segmentTree,n)}catch(l){if(l instanceof URIError)o=null;else throw l}return o&&(o.branch=b2(o.route)),t.matchCache.set(i,o),o}function OR(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function kR(e,t=!1,n){const i=_a(e.fullPath),a=new Uint16Array(6),o={},l={};let c=0;return jf(t,a,e,1,i,0,h=>{if(n?.(h,c),h.id in o&&Pn(),o[h.id]=h,c!==0&&h.path){const d=OR(h.fullPath);(!l[d]||h.fullPath.endsWith("/"))&&(l[d]=h)}c++}),ws(i),{processedTree:{segmentTree:i,singleCache:Ol(1e3),matchCache:Ol(1e3),flatCache:null,masksTree:null},routesById:o,routesByPath:l}}function Tg(e,t,n=!1){const i=e.split("/"),a=NR(e,i,t,n);if(!a)return null;const[o]=y2(e,i,a);return{route:a.node.route,rawParams:o}}function y2(e,t,n){const i=IR(n.node);let a=null;const o=Object.create(null);let l=n.extract?.part??0,c=n.extract?.node??0,h=n.extract?.path??0,d=n.extract?.segment??0;for(;c<i.length;l++,c++,h++,d++){const p=i[c];if(p.kind===Ts)break;if(p.kind===g2){d--,l--,h--;continue}const m=t[l],g=h;if(m&&(h+=m.length),p.kind===1){a??=n.node.fullPath.split("/");const y=a[d],v=p.prefix?.length??0;if(y.charCodeAt(v)===123){const x=p.suffix?.length??0,S=y.substring(v+2,y.length-x-1),w=m.substring(v,m.length-x);o[S]=decodeURIComponent(w)}else{const x=y.substring(1);o[x]=decodeURIComponent(m)}}else if(p.kind===3){if(n.skipped&1<<c){l--,h=g-1;continue}a??=n.node.fullPath.split("/");const y=a[d],v=p.prefix?.length??0,x=p.suffix?.length??0,S=y.substring(v+3,y.length-x-1),w=p.suffix||p.prefix?m.substring(v,m.length-x):m;w&&(o[S]=decodeURIComponent(w))}else if(p.kind===2){const y=p,v=e.substring(g+(y.prefix?.length??0),e.length-(y.suffix?.length??0)),x=decodeURIComponent(v);o["*"]=x,o._splat=x;break}}return n.rawParams&&Object.assign(o,n.rawParams),[o,{part:l,node:c,path:h,segment:d}]}function b2(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function IR(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function NR(e,t,n,i){if(e==="/"&&n.index)return{node:n.index,skipped:0};const a=!Tl(t),o=a&&e!=="/",l=t.length-(a?1:0),c=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let h=null,d=null;for(;c.length;){const p=c.pop(),{node:m,index:g,skipped:y,depth:v,statics:x,dynamics:S,optionals:w}=p;let{extract:_,rawParams:T}=p;if(m.kind===2&&m.route&&!yd(d,p))continue;if(m.parse){if(!a1(e,t,p))continue;T=p.rawParams,_=p.extract}i&&m.route&&m.kind!==Ts&&yd(h,p)&&(h=p);const E=g===l;if(E&&(m.route&&(!o||m.kind===Ts||m.kind===2)&&yd(d,p)&&(d=p),!m.optional&&!m.wildcard&&!m.index&&!m.pathless))continue;const C=E?void 0:t[g];let k;if(E&&m.index){const I={node:m.index,index:g,skipped:y,depth:v+1,statics:x,dynamics:S,optionals:w,extract:_,rawParams:T};let M=!0;if(m.index.parse&&(a1(e,t,I)||(M=!1)),M){if(!S&&!w&&!y&&DR(x,l))return I;yd(d,I)&&(d=I)}}if(m.wildcard)for(let I=m.wildcard.length-1;I>=0;I--){const M=m.wildcard[I],{prefix:j,suffix:U}=M;if(!(j&&(E||!(M.caseSensitive?C:k??=C.toLowerCase()).startsWith(j))
10)){if(U){if(E)continue;const D=t.slice(g).join("/").slice(-U.length);if((M.caseSensitive?D:D.toLowerCase())!==U)continue}c.push({node:M,index:l,skipped:y,depth:v+1,statics:x,dynamics:S,optionals:w,extract:_,rawParams:T})}}if(m.optional){const I=y|1<<v,M=v+1;for(let j=m.optional.length-1;j>=0;j--){const U=m.optional[j];c.push({node:U,index:g,skipped:I,depth:M,statics:x,dynamics:S,optionals:w,extract:_,rawParams:T})}if(!E)for(let j=m.optional.length-1;j>=0;j--){const U=m.optional[j],{prefix:D,suffix:H}=U;if(D||H){const ee=U.caseSensitive?C:k??=C.toLowerCase();if(D&&!ee.startsWith(D)||H&&!ee.endsWith(H))continue}c.push({node:U,index:g+1,skipped:y,depth:M,statics:x,dynamics:S,optionals:w+Ad(l,g),extract:_,rawParams:T})}}if(!E&&m.dynamic&&C)for(let I=m.dynamic.length-1;I>=0;I--){const M=m.dynamic[I],{prefix:j,suffix:U}=M;if(j||U){const D=M.caseSensitive?C:k??=C.toLowerCase();if(j&&!D.startsWith(j)||U&&!D.endsWith(U))continue}c.push({node:M,index:g+1,skipped:y,depth:v+1,statics:x,dynamics:S+Ad(l,g),optionals:w,extract:_,rawParams:T})}if(!E&&m.staticInsensitive){const I=m.staticInsensitive.get(k??=C.toLowerCase());I&&c.push({node:I,index:g+1,skipped:y,depth:v+1,statics:x+Ad(l,g),dynamics:S,optionals:w,extract:_,rawParams:T})}if(!E&&m.static){const I=m.static.get(C);I&&c.push({node:I,index:g+1,skipped:y,depth:v+1,statics:x+Ad(l,g),dynamics:S,optionals:w,extract:_,rawParams:T})}if(m.pathless){const I=v+1;for(let M=m.pathless.length-1;M>=0;M--){const j=m.pathless[M];c.push({node:j,index:g,skipped:y,depth:I,statics:x,dynamics:S,optionals:w,extract:_,rawParams:T})}}}if(d)return d;if(i&&h){let p=h.index;for(let g=0;g<h.index;g++)p+=t[g].length;const m=p===e.length?"/":e.slice(p);return h.rawParams??=Object.create(null),h.rawParams["**"]=decodeURIComponent(m),h}return null}function Ad(e,t){return 2**(e-t-1)}function DR(e,t){return e===2**(t-1)-1}function a1(e,t,n){let i,a;try{[i,a]=y2(e,t,n)}catch{return null}if(n.rawParams=i,n.extract=a,!n.node.parse)return!0;try{if(n.node.parse(i)===!1)return null}catch{}return!0}function yd(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===Ts)>(e.node.kind===Ts)||t.node.kind===Ts==(e.node.kind===Ts)&&t.depth>e.depth))):!0}function ef(e){return Rg(e.filter(t=>t!==void 0).join("/"))}function Rg(e){return e.replace(/\/{2,}/g,"/")}function v2(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Ri(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\/{1,}$/,""):e}function w2(e){return Ri(v2(e))}function pf(e,t){return e?.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function MR(e,t,n){return pf(e,n)===pf(t,n)}function BR({base:e,to:t,trailingSlash:n="never",cache:i}){const a=t.startsWith("/"),o=!a&&t===".";let l;if(i){l=a?t:o?e:e+"\0"+t;const d=i.get(l);if(d)return d}let c;if(o)c=e.split("/");else if(a)c=t.split("/");else{for(c=e.split("/");c.length>1&&Tl(c)==="";)c.pop();const d=t.split("/");for(let p=0,m=d.length;p<m;p++){const g=d[p];g===""?p?p===m-1&&c.push(g):c=[g]:g===".."?c.pop():g==="."||c.push(g)}}c.length>1&&(Tl(c)===""?n==="never"&&c.pop():n==="always"&&c.push(""));const h=Rg(c.join("/"))||"/";return l&&i&&i.set(l,h),h}function jR(e){const t=new Map(e.map(a=>[encodeURIComponent(a),a])),n=Array.from(t.keys()).map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(n,"g");return a=>a.replace(i,o=>t.get(o)??o)}function hp(e,t,n){const i=t[e];return typeof i!="string"?i:e==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(i)?i:i.split("/").map(a=>u1(a,n)).join("/"):u1(i,n)}function o1({path:e,params:t,decoder:n,...i}){let a=!1;const o=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:o,isMissingParams:a};if(!e.includes("$"))return{interpolatedPath:e,usedParams:o,isMissingParams:a};const l=e.length;let c=0,h,d="";for(;c<l;){const p=c;h=A2(e,p,h);const m=h[5];if(c=m+1,p===m)continue;const g=h[0];if(g===0){d+="/"+e.substring(p,m);continue}if(g===2){const y=t._splat;o._splat=y,o["*"]=y;const v=e.substring(p,h[1]),x=e.substring(h[4],m);if(!y){a=!0,(v||x)&&(d+="/"+v+x);continue}const S=hp("_splat",t,n);d+="/"+v+S+x;continue}if(g===1){const y=e.substring(h[2],h[3]);!a&&!(y in t)&&(a=!0),o[y]=t[y];const v=e.substring(p,h[1]),x=e.substring(h[4],m),S=hp(y,t,n)??"undefined";d+="/"+v+S+x;continue}if(g===3){const y=e.substring(h[2],h[3]),v=t[y];if(v==null)continue;o[y]=v;const x=e.substring(p,h[1]),S=e.substring(h[4],m),w=hp(y,t,n)??"";d+="/"+x+w+S;continue}}return e.endsWith("/")&&(d+="/"),{usedParams:o,interpolatedPath:d||"/",isMissingParams:a}}function u1(e,t){const n=encodeURIComponent(e);return t?.(n)??n}
10function LR(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function on(e){return e?.isNotFound===!0}function PR(){try{return sessionStorage}catch{return}}const UR="tsr-scroll-restoration-v1_3",S2=PR();function FR(){try{return JSON.parse(S2?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function HR(){try{S2?.setItem(UR,JSON.stringify(Po))}catch{}}const Po=FR(),l1="data-scroll-restoration-id",zR=e=>e.state.__TSR_key||e.href;function GR(e){const t=e.getAttribute(l1);if(t)return`[${l1}="${t}"]`;let n="",i=e,a;for(;a=i.parentNode;){let o=1,l=i;for(;l=l.previousElementSibling;)o++;const c=`${i.localName}:nth-child(${o})`;n=n?`${c} > ${n}`:c,i=a}return n}let bd=!1;const tf="window";function Lm(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function c1(e){const t=new Set;for(const n of e){if(n===tf)continue;const i=Lm(n);i&&t.add(i)}return t}function qR(e,t){const n=e.options.scrollRestoration,i=e._scroll;n&&(i.restoring=!0);const a=e.options.getScrollRestorationKey||zR,o=new Set,l=c=>{const h=Po[c]||={};for(const d of o)d===document?h[tf]={scrollX,scrollY}:d.isConnected&&(h[GR(d)]={scrollX:d.scrollLeft,scrollY:d.scrollTop})};n&&!i.restoration&&(i.restoration=!0,bd=!1,history.scrollRestoration="manual",document.addEventListener("scroll",c=>{bd||o.add(c.target)},!0),e.subscribe("onBeforeLoad",c=>{c.fromLocation&&l(a(c.fromLocation)),o.clear()}),addEventListener("pagehide",()=>{l(a(e.stores.resolvedLocation.get()??e.stores.location.get())),HR()})),!i.reset&&(i.reset=!0,e.subscribe("onRendered",c=>{const h=e.options.scrollRestorationBehavior,d=e.options.scrollToTopSelectors,p=i.next,m=i.hash;let g;if(o.clear(),i.next=!0,i.hash=!1,typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;const y=a(c.toLocation),v=c.fromLocation&&a(c.fromLocation);if(i.restoring&&v&&v!==y){const x=Po[v];if(x){let S=Po[y];for(const w in x){if(w===tf){if(p)continue}else{const _=Lm(w);if(!_||p&&d&&(g??=c1(d),g.has(_)))continue}S||(S=Po[y]={}),S[w]??=x[w]}}}bd=!0;try{const x=c.toLocation.hash,S=c.toLocation.state.__hashScrollIntoViewOptions??!0;let w=!1;if(p){!x&&d&&(g??=c1(d));const _=x&&S&&m,T=i.restoring?Po[y]:void 0;if(T)for(const E in T){const{scrollX:C,scrollY:k}=T[E];if(E===tf){if(_)continue;scrollTo({top:k,left:C,behavior:h}),w=!0}else{const I=Lm(E);I&&(I.scrollLeft=C,I.scrollTop=k,g?.delete(I))}}if(!x){const E={top:0,left:0,behavior:h};if(w||scrollTo(E),g)for(const C of g)C.scrollTo(E)}}!w&&x&&S&&document.getElementById(x)?.scrollIntoView(S)}finally{bd=!1}}))}function _2(e,t=String){const n=new URLSearchParams;for(const i in e){const a=e[i];a!==void 0&&n.set(i,t(a))}return n.toString()}function pp(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function QR(e){const t=new URLSearchParams(e),n=Object.create(null);for(const[i,a]of t.entries()){const o=n[i];o==null?n[i]=pp(a):Array.isArray(o)?o.push(pp(a)):n[i]=[o,pp(a)]}return n}const KR=VR(JSON.parse),YR=WR(JSON.stringify,JSON.parse);function VR(e){return t=>{t[0]==="?"&&(t=t.substring(1));const n=QR(t);for(const i in n){const a=n[i];if(typeof a=="string")try{n[i]=e(a)}catch{}}return n}}function WR(e,t){const n=typeof t=="function";function i(a){if(typeof a=="object"&&a!==null)try{return e(a)}catch{}else if(n&&typeof a=="string")try{return t(a),e(a)}catch{}return a}return a=>{const o=_2(a,i);return o?`?${o}`:""}}const Ta="__root__";function Ma(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function mn(e){return e instanceof Response&&!!e.options}function x2(e){if(e!==null&&typeof e=="object"&&e.isSerializedRedirect)return Ma(e)}function JR(e){return{input:({url:t})=>{for(const n of e)t=Pm(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=E2(e[n],t);return t}}}function ZR(e){const t=w2(e.basepath),n=`/${t}`,i=e.caseSensitive?n:n.toLowerCase(),a=`${i}/`;return{input:({url:o})=>{const l=e.caseSensitive?o.pathname:o.pathname.toLowerCase();return l===i?o.pathname="/":l.startsWith(a)&&(o.pathname=o.pathname.slice(n.length)),o},output:({url:o})=>(o.pathname=ef(["/",t,o.pathname]),o)}}function Pm(e,t){const n=e?.input?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function E2(e,t){const n=e?.output?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function $R(e,t){const{createMutableStore:n,createReadonlyStore:i,batch:a,init:o}=t,l=new Map,c=new Map,h=new Map,d=n(e.status),p=n(e.loadedAt),m=n(e.isLoading),g=n(e.isTransitioning),y=n(e.location),v=n(e.resolvedLocation),x=n(e.statusCode),S=n(e.redirect),w=n([]),_=n([]),T=n([]),E=i(()=>mp(l,w.get())),C=i(()=>mp(c,_.get())),k=i(()=>mp(h,T.get())),I=i(()=>w.get()[0]),M=i(()=>w.get().some(q=>l.get(q)?.get().status==="pending")),j=i(()=>({locationHref:y.get().href,resolvedLocationHref:v.get()?.href,status:d.get()})),U=i(()=>({status:d.get(),loadedAt:p.get(),isLoading:m.get(),isTransitioning:g.get(),matches:E.get(),location:y.get(),resolvedLocation:v.get(),statusCode:x.get(),redirect:S.get()})),D=Ol(64);function H(q){let W=D.get(q);return W||(W=i(()=>{const ce=w.get();for(const ne of ce){const B=l.get(ne);if(B&&B.routeId===q)return B.get()}}),D.set(q,W)),W}const ee={status:d,loadedAt:p,isLoading:m,isTransitioning:g,location:y,resolvedLocation:v,statusCode:x,redirect:S,matchesId:w,pendingIds:_,cachedIds:T,matches:E,pendingMatches:C,cachedMatches:k,firstId:I,hasPending:M,matchRouteDeps:j,matchStores:l,pendingMatchStores:c,cachedMatchStores:h,__store:U,getRouteMatchStore:H,setMatches:Z,setPending:G,setCac
10hed:L};Z(e.matches),o?.(ee);function Z(q){gp(q,l,w,n,a)}function G(q){gp(q,c,_,n,a)}function L(q){gp(q,h,T,n,a)}return ee}function mp(e,t){const n=[];for(const i of t){const a=e.get(i);a&&n.push(a.get())}return n}function gp(e,t,n,i,a){const o=e.map(c=>c.id),l=new Set(o);a(()=>{for(const c of t.keys())l.has(c)||t.delete(c);for(const c of e){const h=t.get(c.id);if(!h){const d=i(c);d.routeId=c.routeId,t.set(c.id,d);continue}h.routeId=c.routeId,h.get()!==c&&h.set(c)}_R(n.get(),o)||n.set(o)})}const Um=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},XR=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),Lf=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Ra=(e,t,n=!0)=>{const i={...e.router.options.context??{}},a=n?t:t-1;for(let o=0;o<=a;o++){const l=e.matches[o];if(!l)continue;const c=e.router.getMatch(l.id);c&&Object.assign(i,c.__routeContext,c.__beforeLoadContext)}return i},d1=(e,t)=>{if(!e.matches.length)return;const n=t.routeId,i=e.matches.findIndex(l=>l.routeId===e.router.routeTree.id),a=i>=0?i:0;let o=n?e.matches.findIndex(l=>l.routeId===n):e.firstBadMatchIndex??e.matches.length-1;o<0&&(o=a);for(let l=o;l>=0;l--){const c=e.matches[l];if(e.router.looseRoutesById[c.routeId].options.notFoundComponent)return l}return n?o:a},Rs=(e,t,n)=>{if(!(!mn(n)&&!on(n)))throw mn(n)&&n.redirectHandled&&!n.options.reloadDocument||(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,i=>({...i,status:mn(n)?"redirected":on(n)?"notFound":i.status==="pending"?"success":i.status,context:Ra(e,t.index),isFetching:!1,error:n})),on(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),mn(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n))),n},C2=(e,t)=>{const n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},f1=(e,t,n)=>{const i=Ra(e,n);e.updateMatch(t,a=>({...a,context:i}))},rl=(e,t,n)=>{const{id:i,routeId:a}=e.matches[t],o=e.router.looseRoutesById[a];if(n instanceof Promise)throw n;e.firstBadMatchIndex??=t,Rs(e,e.router.getMatch(i),n);try{o.options.onError?.(n)}catch(l){n=l,Rs(e,e.router.getMatch(i),n)}e.updateMatch(i,l=>(l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,l._nonReactive.loadPromise?.resolve(),{...l,error:n,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!mn(n)&&!on(n)&&(e.serialError??=n)},T2=(e,t,n,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;const a=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Lf(e,t)&&(n.options.loader||n.options.beforeLoad||O2(n))&&typeof a=="number"&&a!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){const o=setTimeout(()=>{Um(e)},a);i._nonReactive.pendingTimeout=o}},e4=(e,t,n)=>{const i=e.router.getMatch(t);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;T2(e,t,n,i);const a=()=>{const o=e.router.getMatch(t);o.preload&&(o.status==="redirected"||o.status==="notFound")&&Rs(e,o,o.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(a):a()},t4=(e,t,n,i)=>{const a=e.router.getMatch(t);let o=a._nonReactive.loadPromise;a._nonReactive.loadPromise=Oa(()=>{o?.resolve(),o=void 0});const{paramsError:l,searchError:c}=a;l&&rl(e,n,l),c&&rl(e,n,c),T2(e,t,i,a);const h=new AbortController;let d=!1;const p=()=>{d||(d=!0,e.updateMatch(t,E=>({...E,isFetching:"beforeLoad",fetchCount:E.fetchCount+1,abortController:h})))},m=()=>{a._nonReactive.beforeLoadPromise?.resolve(),a._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,E=>({...E,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{p(),m()});return}a._nonReactive.beforeLoadPromise=Oa();const g={...Ra(e,n,!1),...a.__routeContext},{search:y,params:v,cause:x}=a,S=Lf(e,t),w={search:y,abortController:h,params:v,preload:S,context:g,location:e.location,navigate:E=>e.router.navigate({...E,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:S?"preload":x,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},_=E=>{if(E===void 0){e.router.batch(()=>{p(),m()});return}
10(mn(E)||on(E))&&(p(),rl(e,n,E)),e.router.batch(()=>{p(),e.updateMatch(t,C=>({...C,__beforeLoadContext:E})),m()})};let T;try{if(T=i.options.beforeLoad(w),Rl(T))return p(),T.catch(E=>{rl(e,n,E)}).then(_)}catch(E){p(),rl(e,n,E)}_(T)},n4=(e,t)=>{const{id:n,routeId:i}=e.matches[t],a=e.router.looseRoutesById[i],o=()=>c(),l=()=>t4(e,n,t,a),c=()=>{if(C2(e,n))return;const h=e4(e,n,a);return Rl(h)?h.then(l):l()};return o()},r4=(e,t,n)=>{const i=e.router.getMatch(t);if(!i||!n.options.head&&!n.options.scripts&&!n.options.headers)return;const a={ssr:e.router.options.ssr,matches:e.matches,match:i,params:i.params,loaderData:i.loaderData};return Promise.all([n.options.head?.(a),n.options.scripts?.(a),n.options.headers?.(a)]).then(([o,l,c])=>({meta:o?.meta,links:o?.links,headScripts:o?.scripts,headers:c,scripts:l,styles:o?.styles}))},R2=(e,t,n,i,a)=>{const o=t[i-1],{params:l,loaderDeps:c,abortController:h,cause:d}=e.router.getMatch(n),p=Ra(e,i),m=Lf(e,n);return{params:l,deps:c,preload:!!m,parentMatchPromise:o,abortController:h,context:p,location:e.location,navigate:g=>e.router.navigate({...g,_fromLocation:e.location}),cause:m?"preload":d,route:a,...e.router.options.additionalContext}},h1=async(e,t,n,i,a)=>{try{const o=e.router.getMatch(n);try{(!(h2??e.router.isServer)||o.ssr===!0)&&kl(a);const l=a.options.loader,c=typeof l=="function"?l:l?.handler,h=c?.(R2(e,t,n,i,a)),d=!!c&&Rl(h);if((d||a._lazyPromise||a._componentsPromise||a.options.head||a.options.scripts||a.options.headers||o._nonReactive.minPendingPromise)&&e.updateMatch(n,m=>({...m,isFetching:"loader"})),c){const m=d?await h:h;Rs(e,e.router.getMatch(n),m),m!==void 0&&e.updateMatch(n,g=>({...g,loaderData:m}))}a._lazyPromise&&await a._lazyPromise;const p=o._nonReactive.minPendingPromise;p&&await p,a._componentsPromise&&await a._componentsPromise,e.updateMatch(n,m=>({...m,error:void 0,context:Ra(e,i),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(l){let c=l;if(c?.name==="AbortError"){if(o.abortController.signal.aborted){o._nonReactive.loaderPromise?.resolve(),o._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,d=>({...d,status:d.status==="pending"?"success":d.status,isFetching:!1,context:Ra(e,i)}));return}const h=o._nonReactive.minPendingPromise;h&&await h,on(l)&&await a.options.notFoundComponent?.preload?.(),Rs(e,e.router.getMatch(n),l);try{a.options.onError?.(l)}catch(d){c=d,Rs(e,e.router.getMatch(n),d)}!mn(c)&&!on(c)&&await kl(a,["errorComponent"]),e.updateMatch(n,d=>({...d,error:c,context:Ra(e,i),status:"error",isFetching:!1}))}}catch(o){const l=e.router.getMatch(n);l&&(l._nonReactive.loaderPromise=void 0),Rs(e,l,o)}},i4=async(e,t,n)=>{async function i(y,v,x,S,w){const _=Date.now()-v.updatedAt,T=y?w.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:w.options.staleTime??e.router.options.defaultStaleTime??0,E=w.options.shouldReload,C=typeof E=="function"?E(R2(e,t,a,n,w)):E,{status:k,invalid:I}=S,M=_>=T&&(!!e.forceStaleReload||S.cause==="enter"||x!==void 0&&x!==S.id);l=k==="success"&&(I||(C??M)),y&&w.options.preload===!1||(l&&!e.sync&&p?(c=!0,(async()=>{try{await h1(e,t,a,n,w);const j=e.router.getMatch(a);j._nonReactive.loaderPromise?.resolve(),j._nonReactive.loadPromise?.resolve(),j._nonReactive.loaderPromise=void 0,j._nonReactive.loadPromise=void 0}catch(j){mn(j)&&await e.router.navigate(j.options)}})()):k!=="success"||l?await h1(e,t,a,n,w):f1(e,a,n))}const{id:a,routeId:o}=e.matches[n];let l=!1,c=!1;const h=e.router.looseRoutesById[o],d=h.options.loader,p=((typeof d=="function"?void 0:d?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(C2(e,a)){if(!e.router.getMatch(a))return e.matches[n];f1(e,a,n)}else{const y=e.router.getMatch(a),v=e.router.stores.matchesId.get()[n],x=(v&&e.router.stores.matchStores.get(v)||null)?.routeId===o?v:e.router.stores.matches.get().find(w=>w.routeId===o)?.id,S=Lf(e,a);if(y._nonReactive.loaderPromise){if(y.status==="success"&&!e.sync&&!y.preload&&p)return y;await y._nonReactive.loaderPromise;const w=e.router.getMatch(a),_=w._nonReactive.error||w.error;_&&Rs(e,w,_),w.status==="pending"&&await i(S,y,x,w,h)}else{const w=S&&!e.router.stores.matchStores.has(a),_=e.router.getMatch(a);_._nonReactive.loaderPromise=Oa(),w!==_.preload&&e.updateMatch(a,T=>({...T,preload:w})),await i(S,y,x,_,h)}}const m=e.router.getMatch(a);c||(m._nonReactive.loaderPromise?.resolve(),m._nonReactive.loadPromise?.resolve(),m._nonReactive.loadPromise=void 0),clearTimeout(m._nonReactive.pen
10dingTimeout),m._nonReactive.pendingTimeout=void 0,c||(m._nonReactive.loaderPromise=void 0),m._nonReactive.dehydrated=void 0;const g=c?m.isFetching:!1;return g!==m.isFetching||m.invalid!==!1?(e.updateMatch(a,y=>({...y,isFetching:g,invalid:!1})),e.router.getMatch(a)):m};async function p1(e){const t=e,n=[];XR(t.router)&&Um(t);let i;for(let g=0;g<t.matches.length;g++){try{const y=n4(t,g);Rl(y)&&await y}catch(y){if(mn(y))throw y;if(on(y))i=y;else if(!t.preload)throw y;break}if(t.serialError||t.firstBadMatchIndex!=null)break}const a=t.firstBadMatchIndex??t.matches.length,o=i&&!t.preload?d1(t,i):void 0,l=i&&t.preload?0:o!==void 0?Math.min(o+1,a):a;let c,h;for(let g=0;g<l;g++)n.push(i4(t,n,g));try{await Promise.all(n)}catch{const g=await Promise.allSettled(n);for(const y of g){if(y.status!=="rejected")continue;const v=y.reason;if(mn(v))throw v;on(v)?c??=v:h??=v}if(h!==void 0)throw h}const d=c??(i&&!t.preload?i:void 0);let p=t.firstBadMatchIndex!==void 0?t.firstBadMatchIndex:t.matches.length-1;if(!d&&i&&t.preload)return t.matches;if(d){const g=d1(t,d);g===void 0&&Pn();const y=t.matches[g],v=t.router.looseRoutesById[y.routeId],x=t.router.options?.defaultNotFoundComponent;!v.options.notFoundComponent&&x&&(v.options.notFoundComponent=x),d.routeId=y.routeId;const S=y.routeId===t.router.routeTree.id;t.updateMatch(y.id,w=>({...w,...S?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:d},isFetching:!1})),p=g,await kl(v,["notFoundComponent"])}else if(!t.preload){const g=t.matches[0];g.globalNotFound||t.router.getMatch(g.id)?.globalNotFound&&t.updateMatch(g.id,y=>({...y,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){const g=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await kl(g,["errorComponent"])}for(let g=0;g<=p;g++){const{id:y,routeId:v}=t.matches[g],x=t.router.looseRoutesById[v];try{const S=r4(t,y,x);if(S){const w=await S;t.updateMatch(y,_=>({..._,...w}))}}catch(S){console.error(`Error executing head for route ${v}:`,S)}}const m=Um(t);if(Rl(m)&&await m,d)throw d;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function m1(e,t){const n=t.map(i=>e.options[i]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function kl(e,t=nf){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(i=>{const{id:a,...o}=i.options;Object.assign(e.options,o),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const n=()=>e._componentsLoaded?void 0:t===nf?(()=>{if(e._componentsPromise===void 0){const i=m1(e,nf);i?e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():m1(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function O2(e){for(const t of nf)if(e.options[t]?.preload)return!0;return!1}const nf=["component","errorComponent","pendingComponent","notFoundComponent"];var ks="__TSR_index",g1="popstate",A1="beforeunload";function s4(e){let t=e.getLocation();const n=new Set,i=l=>{t=e.getLocation(),n.forEach(c=>c({location:t,action:l}))},a=l=>{e.notifyOnIndexChange??!0?i(l):t=e.getLocation()},o=async({task:l,navigateOpts:c,...h})=>{if(c?.ignoreBlocker??!1){l();return}const d=e.getBlockers?.()??[],p=h.type==="PUSH"||h.type==="REPLACE";if(typeof document<"u"&&d.length&&p)for(const m of d){const g=mf(h.path,h.state);if(await m.blockerFn({currentLocation:t,nextLocation:g,action:h.type})){e.onBlocked?.();return}}l()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:l=>(n.add(l),()=>{n.delete(l)}),push:(l,c,h)=>{const d=t.state[ks];c=y1(d+1,c),o({task:()=>{e.pushState(l,c),i({type:"PUSH"})},navigateOpts:h,type:"PUSH",path:l,state:c})},replace:(l,c,h)=>{const d=t.state[ks];c=y1(d,c),o({task:()=>{e.replaceState(l,c),i({type:"REPLACE"})},navigateOpts:h,type:"REPLACE",path:l,state:c})},go:(l,c)=>{o({task:()=>{e.go(l),a({type:"GO",index:l})},navigateOpts:c,type:"GO"})},back:l=>{o({task:()=>{e.back(l?.ignoreBlocker??!1),a({type:"BACK"})},navigateOpts:l,type:"BACK"})},forward:l=>{o({task:()=>{e.forward(l?.ignoreBlocker??!1),a({type:"FORWARD"})},navigateOpts:l,type:"FORWARD"})},canGoBack:()=>t.state[ks]!==0,createHref:l=>e.createHref(l),block:l=>{if(!e.setBlockers)return()=>{};const c=e.getBlockers?.()??[];return e.setBlockers([...c,l]),()=>{const h=e.getBlockers?.()??[];e.setBlockers?.(h.filter(d=>d!==l))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:i}}function y1(e,t){t||(t={});const n=Og();return{...t,key:n,__TSR_key:n,[ks]:e}}function a4(e){const t=typeof document<"u"?window:void 0,n=t.history.pushState,i=t.history.replaceState;let a=[];const o=()=>a,l=M=>a=M,c=(M=>M),h=(()=>mf(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){const M=Og();t.history.replaceState({[ks]:0,key:M,__TSR_key:M},"")}let d=h(),p,m=!1,g=!1,y=!1,v=!1;const x=()=>d;let S,w;const _=()=>{S&&(I._ignoreSubscribers=!0,(S.isPush?t.history.pushState:t.history.replaceState)(S.state,"",S.href),I._ignoreSubscribers=!1,S=void 0,w=void 0,p=void 0)},T=(M,j,U)=>{const D=c(j);w||(p=d),d=mf(j,U),S={href:D,state:U,isPush:S?.isPush||M==="push"}
10,w||(w=Promise.resolve().then(()=>_()))},E=M=>{d=h(),I.notify({type:M})},C=async()=>{if(g){g=!1;return}const M=h(),j=M.state[ks]-d.state[ks],U=j===1,D=j===-1,H=!U&&!D||m;m=!1;const ee=H?"GO":D?"BACK":"FORWARD",Z=H?{type:"GO",index:j}:{type:D?"BACK":"FORWARD"};if(y)y=!1;else{const G=o();if(typeof document<"u"&&G.length){for(const L of G)if(await L.blockerFn({currentLocation:d,nextLocation:M,action:ee})){g=!0,t.history.go(1),I.notify(Z);return}}}d=h(),I.notify(Z)},k=M=>{if(v){v=!1;return}let j=!1;const U=o();if(typeof document<"u"&&U.length)for(const D of U){const H=D.enableBeforeUnload??!0;if(H===!0){j=!0;break}if(typeof H=="function"&&H()===!0){j=!0;break}}if(j)return M.preventDefault(),M.returnValue=""},I=s4({getLocation:x,getLength:()=>t.history.length,pushState:(M,j)=>T("push",M,j),replaceState:(M,j)=>T("replace",M,j),back:M=>(M&&(y=!0),v=!0,t.history.back()),forward:M=>{M&&(y=!0),v=!0,t.history.forward()},go:M=>{m=!0,t.history.go(M)},createHref:M=>c(M),flush:_,destroy:()=>{t.history.pushState=n,t.history.replaceState=i,t.removeEventListener(A1,k,{capture:!0}),t.removeEventListener(g1,C)},onBlocked:()=>{p&&d!==p&&(d=p)},getBlockers:o,setBlockers:l,notifyOnIndexChange:!1});return t.addEventListener(A1,k,{capture:!0}),t.addEventListener(g1,C),t.history.pushState=function(...M){const j=n.apply(t.history,M);return I._ignoreSubscribers||E("PUSH"),j},t.history.replaceState=function(...M){const j=i.apply(t.history,M);return I._ignoreSubscribers||E("REPLACE"),j},I}function o4(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}function mf(e,t){const n=o4(e),i=n.indexOf("#"),a=n.indexOf("?"),o=Og();return{href:n,pathname:n.substring(0,i>0?a>0?Math.min(i,a):i:a>0?a:n.length),hash:i>-1?n.substring(i):"",search:a>-1?n.slice(a,i===-1?void 0:i):"",state:t||{[ks]:0,key:o,__TSR_key:o}}}function Og(){return(Math.random()+1).toString(36).substring(7)}function u4(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Yo(e,t){const n=t,i=e;return{fromLocation:n,toLocation:i,pathChanged:n?.pathname!==i.pathname,hrefChanged:n?.href!==i.href,hashChanged:n?.hash!==i.hash}}var l4=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=n=>
10n(),this.update=n=>{const i=this.options,a=this.basepath??i?.basepath??"/",o=this.basepath===void 0,l=i?.rewrite;if(this.options={...i,...n},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=jR(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=a4()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let p;this.resolvePathCache=Ol(1e3),p=this.buildRouteTree(),this.setRoutes(p)}if(!this.stores&&this.latestLocation){const p=this.getStoreConfig(this);this.batch=p.batch,this.stores=$R(d4(this.latestLocation),p),qR(this)}let c=!1;const h=this.options.basepath??"/",d=this.options.rewrite;if(o||a!==h||l!==d){this.basepath=h;const p=[],m=w2(h);m&&m!=="/"&&p.push(ZR({basepath:h})),d&&p.push(d),this.rewrite=p.length===0?void 0:p.length===1?p[0]:JR(p),this.history&&this.updateLatestLocation(),c=!0}c&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const n=kR(this.routeTree,this.options.caseSensitive,(i,a)=>{i.init({originalIndex:a})});return this.options.routeMasks&&ER(this.options.routeMasks,n.processedTree),n},this.subscribe=(n,i)=>{const a={eventType:n,fn:i};return this.subscribers.add(a),()=>{this.subscribers.delete(a)}},this.emit=n=>{this.subscribers.forEach(i=>{i.eventType===n.type&&i.fn(n)})},this.parseLocation=(n,i)=>{const a=({pathname:h,search:d,hash:p,href:m,state:g})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(h)){const w=this.options.parseSearch(d),_=this.options.stringifySearch(w);return{href:h+_+p,publicHref:h+_+p,pathname:nl(h).path,external:!1,searchStr:_,search:ha(i?.search,w),hash:nl(p.slice(1)).path,state:Sa(i?.state,g)}}const y=new URL(m,this.origin),v=Pm(this.rewrite,y),x=this.options.parseSearch(v.search),S=this.options.stringifySearch(x);return v.search=S,{href:v.href.replace(v.origin,""),publicHref:m,pathname:nl(v.pathname).path,external:!!this.rewrite&&v.origin!==this.origin,searchStr:S,search:ha(i?.search,x),hash:nl(v.hash.slice(1)).path,state:Sa(i?.state,g)}},o=a(n),{__tempLocation:l,__tempKey:c}=o.state;if(l&&(!c||c===this.tempLocationKey)){const h=a(l);return h.state.key=o.state.key,h.state.__TSR_key=o.state.__TSR_key,delete h.state.__tempLocation,{...h,maskedLocation:o}}return o},this.resolvePathWithBase=(n,i)=>BR({base:n,to:i.includes("//")?Rg(i):i,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(n,i,a)=>typeof n=="string"?this.matchRoutesInternal({pathname:n,search:i},a):this.matchRoutesInternal(n,i),this.getMatchedRoutes=n=>f4({pathname:n,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=n=>{const i=this.getMatch(n);i&&(i.abortController.abort(),clearTimeout(i._nonReactive.pendingTimeout),i._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(n=>{this.cancelMatch(n)}),this.stores.matchesId.get().forEach(n=>{if(this.stores.pendingMatchStores.has(n))return;const i=this.stores.matchStores.get(n)?.get();i&&(i.status==="pending"||i.isFetching==="loader")&&this.cancelMatch(n)})},this.buildLocation=n=>{const i=(o={})=>{const l=o._fromLocation||this.pendingBuiltLocation||this.latestLocation,c=this.matchRoutesLightweight(l);o.from;const h=o.unsafeRelative==="path"?l.pathname:o.from??c.fullPath,d=o.to?`${o.to}`:void 0,p=c.search,m=Object.assign(Object.create(null),c.params),g=d?.charCodeAt(0)===47?"/":this.resolvePathWithBase(h,"."),y=d?this.resolvePathWithBase(g,d):g,v=o.params===!1||o.params===null?Ob
10ject.create(null):(o.params??!0)===!0?m:Object.assign(m,wa(o.params,m)),x=this.routesByPath[Ri(y)];let S;if(x)S=this.getRouteBranch(x);else if(y.includes("$"))S=[];else{const D=this.getMatchedRoutes(y);S=D.matchedRoutes,this.options.notFoundRoute&&(!D.foundRoute||D.foundRoute.path!=="/"&&D.routeParams["**"])&&(S=[...S,this.options.notFoundRoute])}if(S.length&&m2(v))for(const D of S){const H=D.options.params?.stringify??D.options.stringifyParams;if(H)try{Object.assign(v,H(v))}catch{}}const w=n.leaveParams?y:nl(o1({path:y,params:v,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let _=p;if(n._includeValidateSearch&&this.options.search?.strict){const D={};S.forEach(H=>{if(H.options.validateSearch)try{Object.assign(D,rf(H.options.validateSearch,{...D,..._}))}catch{}}),_=D}_=h4({search:_,dest:o,destRoutes:S,_includeValidateSearch:n._includeValidateSearch}),_=ha(p,_);const T=this.options.stringifySearch(_),E=o.hash===!0?l.hash:o.hash?wa(o.hash,l.hash):void 0,C=E?`#${E}`:"";let k=o.state===!0?l.state:o.state?wa(o.state,l.state):{};k=Sa(l.state,k);const I=`${w}${T}${C}`;let M,j,U=!1;if(this.rewrite){const D=new URL(I,this.origin),H=E2(this.rewrite,D);M=D.href.replace(D.origin,""),H.origin!==this.origin?(j=H.href,U=!0):j=H.pathname+H.search+H.hash}else M=SR(I),j=M;return{publicHref:j,href:M,pathname:w,search:_,searchStr:T,state:k,hash:E??"",external:U,unmaskOnReload:o.unmaskOnReload}},a=(o={},l)=>{const c=i(o);let h=l?i(l):void 0;if(!h){const d=Object.create(null);if(this.options.routeMasks){const p=CR(c.pathname,this.processedTree);if(p){Object.assign(d,p.rawParams);const{from:m,params:g,...y}=p.route,v=g===!1||g===null?Object.create(null):(g??!0)===!0?d:Object.assign(d,wa(g,d));l={from:n.from,...y,params:v},h=i(l)}}}return h&&(c.maskedLocation=h),c};return n.mask?a(n,{from:n.from,...n.mask}):a(n)},this.commitLocation=async({viewTransition:n,ignoreBlocker:i,...a})=>{let o;const l=()=>{const d=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];d.forEach(m=>{a.state[m]=this.latestLocation.state[m]}
10);const p=En(a.state,this.latestLocation.state);return d.forEach(m=>{delete a.state[m]}),p},c=Ri(this.latestLocation.href)===Ri(a.href);let h=this.commitLocationPromise;if(this.commitLocationPromise=Oa(()=>{h?.resolve(),h=void 0}),c&&l())this.load();else{let{maskedLocation:d,hashScrollIntoView:p,...m}=a;d&&(m={...d,state:{...d.state,__tempKey:void 0,__tempLocation:{...m,search:m.searchStr,state:{...m.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(m.unmaskOnReload??this.options.unmaskOnReload??!1)&&(m.state.__tempKey=this.tempLocationKey)),m.state.__hashScrollIntoViewOptions=p??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=n,o=a.replace?"REPLACE":"PUSH",this.history[o==="REPLACE"?"replace":"push"](m.publicHref,m.state,{ignoreBlocker:i})}return this._scroll.next=a.resetScroll??!0,this.history.subscribers.size||this.load(o?{action:{type:o}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:i,hashScrollIntoView:a,viewTransition:o,ignoreBlocker:l,href:c,...h}={})=>{if(c){const m=this.history.location.state.__TSR_index,g=mf(c,{__TSR_index:n?m:m+1}),y=new URL(g.pathname,this.origin);h.to=Pm(this.rewrite,y).pathname,h.search=this.options.parseSearch(g.search),h.hash=g.hash.slice(1)}const d=this.buildLocation({...h,_includeValidateSearch:!0});this.pendingBuiltLocation=d;const p=this.commitLocation({...d,viewTransition:o,replace:n,resetScroll:i,hashScrollIntoView:a,ignoreBlocker:l});return queueMicrotask(()=>{this.pendingBuiltLocation===d&&(this.pendingBuiltLocation=void 0)}),p},this.navigate=async({to:n,reloadDocument:i,href:a,publicHref:o,...l})=>{let c=!1;if(a)try{new URL(`${a}`),c=!0}catch{}if(c&&!i&&(i=!0),i){if(n!==void 0||!a){const d=this.buildLocation({to:n,...l});a=a??d.publicHref,o=o??d.publicHref}const h=!c&&o?o:a;if(hf(h,this.protocolAllowlist))return;if(!l.ignoreBlocker){const d=this.history.getBlockers?.()??[];for(const p of d)if(p?.blockerFn&&await p.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}l.replace?window.location.replace(h):window.location.href=h;return}return this.buildAndCommitLocation({...l,href:a,to:n,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const n=this.matchRoutes(this.latestLocation),i=this.stores.cachedMatches.get().filter(a=>!n.some(o=>o.id===a.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(n),this.stores.setCached(i)})},this.load=async n=>{const i=n?.action?.type;let a,o,l;const c=this.stores.resolvedLocation.get()??this.stores.location.get();for(l=new Promise(d=>{this.startTransition(async()=>{try{this.beforeLoad(),i&&(this._scroll.hash=i==="PUSH"||i==="REPLACE");const p=this.latestLocation,m=Yo(p,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...m}),this.emit({type:"onBeforeLoad",...m}),await p1({router:this,sync:n?.sync,forceStaleReload:c.href===p.href,matches:this.stores.pendingMatches.get(),location:p,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let g=null,y=null,v=null,x=null;this.batch(()=>{const S=this.stores.pendingMatches.get(),w=S.length,_=this.stores.matches.get();g=w?_.filter(C=>!this.stores.pendingMatchStores.has(C.id)):null;const T=new Set;for(const C of this.stores.pendingMatchStores.values())C.routeId&&T.add(C.routeId);const E=new Set;for(const C of this.stores.matchStores.values())C.routeId&&E.add(C.routeId);y=w?_.filter(C=>!T.has(C.routeId)):null,v=w?S.filter(C=>!E.has(C.routeId)):null,x=w?S.filter(C=>E.has(C.routeId)):_,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),w&&(this.stores.setMatches(S),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...g.filter(C=>C.status!=="error"&&C.status!=="notFound"&&C.status!=="redirected")]),this.clearExpiredCache())});for(const[S,w]of[[y,"onLeave"],[v,"onEnter"],[x,"onStay"]])if(S)for(const _ of S)this.looseRoutesById[_.routeId].options[w]?.(_)})})}})}catch(p){mn(p)?(a=p,this.navigate({...a.options,replace:!0,ignoreBlocker:!0})):on(p)&&(o=p);const m=a?a.status:o?404:this.stores.matches.get().some(g=>g.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(m),this.stores.redirect.set(a)})}this.latestLoadPromise===l&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),d()})}),this.latestLoadPromise=l,await l;this.latestLoadPromise&&l!==this.latestLoadPromise;)await this.latestLoadPromise;let h;this.hasNotFoundMatch()?h=404:this.stores.matches.get().some(d=>d.status==="error")&&(h=500),h!==void 0&&this.stores.statusCode.set(h)},this.startViewTransition=n=>
10{const i=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,i&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let a;if(typeof i=="object"&&this.isViewTransitionTypesSupported){const o=this.latestLocation,l=this.stores.resolvedLocation.get(),c=typeof i.types=="function"?i.types(Yo(o,l)):i.types;if(c===!1){n();return}a={update:n,types:c}}else a=n;document.startViewTransition(a)}else n()},this.updateMatch=(n,i)=>{this.startTransition(()=>{const a=this.stores.pendingMatchStores.get(n);if(a){a.set(i);return}const o=this.stores.matchStores.get(n);if(o){o.set(i);return}const l=this.stores.cachedMatchStores.get(n);if(l){const c=i(l.get());c.status==="redirected"?this.stores.cachedMatchStores.delete(n)&&this.stores.cachedIds.set(h=>h.filter(d=>d!==n)):l.set(c)}})},this.getMatch=n=>this.stores.cachedMatchStores.get(n)?.get()??this.stores.pendingMatchStores.get(n)?.get()??this.stores.matchStores.get(n)?.get(),this.invalidate=n=>{const i=a=>n?.filter?.(a)??!0?{...a,invalid:!0,...n?.forcePending||a.status==="error"||a.status==="notFound"?{status:"pending",error:void 0}:void 0}:a;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(i)),this.stores.setCached(this.stores.cachedMatches.get().map(i)),this.stores.setPending(this.stores.pendingMatches.get().map(i))}),this.shouldViewTransition=!1,this.load({sync:n?.sync})},this.getParsedLocationHref=n=>n.publicHref||"/",this.resolveRedirect=n=>{const i=n.headers.get("Location");if(!n.options.href||n.options._builtLocation){const a=n.options._builtLocation??this.buildLocation(n.options),o=this.getParsedLocationHref(a);n.options.href=o,n.headers.set("Location",o)}else if(i)try{const a=new URL(i);if(this.origin&&a.origin===this.origin){const o=a.pathname+a.search+a.hash;n.options.href=o,n.headers.set("Location",o)}}catch{}if(n.options.href&&!n.options._builtLocation&&hf(n.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return n.headers.get("Location")||n.headers.set("Location",n.options.href),n},this.clearCache=n=>{const i=n?.filter;i!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(a=>!i(a))):this.stores.setCached([])},this.clearExpiredCache=()=>{const n=Date.now(),i=a=>{const o=this.looseRoutesById[a.routeId];if(!o.options.loader)return!0;const l=(a.preload?o.options.preloadGcTime??this.options.defaultPreloadGcTime:o.options.gcTime??this.options.defaultGcTime)??300*1e3;return a.status==="error"?!0:n-a.updatedAt>=l};this.clearCache({filter:i})},this.loadRouteChunk=kl,this.preloadRoute=async n=>{const i=n._builtLocation??this.buildLocation(n);let a=this.matchRoutes(i,{throwOnError:!0,preload:!0,dest:n});const o=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),l=new Set([...o,...this.stores.cachedIds.get()]),c=a.filter(h=>!l.has(h.id));if(c.length){const h=this.stores.cachedMatches.get();this.stores.setCached([...h,...c])}try{return a=await p1({router:this,matches:a,location:i,preload:!0,updateMatch:(h,d)=>{o.has(h)?a=a.map(p=>p.id===h?d(p):p):this.updateMatch(h,d)}}),a}catch(h){if(mn(h))return h.options.reloadDocument?void 0:await this.preloadRoute({...h.options,_fromLocation:i});on(h)||console.error(h);return}},this.matchRoute=(n,i)=>{const a={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},o=this.buildLocation(a);if(i?.pending&&this.stores.status.get()!=="pending")return!1;const l=(i?.pending===void 0?!this.stores.isLoading.get():i.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),c=TR(o.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,l.pathname,this.processedTree);return!c||n.params&&!En(c.rawParams,n.params,{partial:!0})?!1:i?.includeSearch??!0?En(l.search,o.search,{partial:!0})?c.rawParams:!1:c.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(n=>n.status==="notFound"||n.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??YR,parseSearch:e.parseSearch??KR,protocolAllowlist:e.protocolAllowlist??yR}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}
10isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;const i=this.options.notFoundRoute;i&&(i.init({originalIndex:99999999999}),this.routesById[i.id]=i)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=b2(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){const n=this.getMatchedRoutes(e.pathname),{foundRoute:i,routeParams:a}=n;let{matchedRoutes:o}=n,l=!1;(i?i.path!=="/"&&a["**"]:Ri(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:l=!0);const c=l?m4(this.options.notFoundMode,o):void 0,h=new Array(o.length),d=new Map;for(const p of this.stores.matchStores.values())p.routeId&&d.set(p.routeId,p.get());for(let p=0;p<o.length;p++){const m=o[p],g=h[p-1];let y,v,x;{const H=g?.search??e.search,ee=g?._strictSearch??void 0;try{const Z=rf(m.options.validateSearch,{...H})??void 0;y={...H,...Z},v={...ee,...Z},x=void 0}catch(Z){let G=Z;if(Z instanceof gf||(G=new gf(Z.message,{cause:Z})),t?.throwOnError)throw G;y=H,v={},x=G}}const S=m.options.loaderDeps?.({search:y})??"",w=S?JSON.stringify(S):"",{interpolatedPath:_,usedParams:T}=o1({path:m.fullPath,params:a,decoder:this.pathParamsDecoder,server:this.isServer}),E=m.id+_+w,C=this.getMatch(E),k=d.get(m.id),I=C?._strictParams??T;let M;if(!C)try{b1(m,I)}catch(H){if(on(H)||mn(H)?M=H:M=new c4(H.message,{cause:H}),t?.throwOnError)throw M}Object.assign(a,I);const j=k?"stay":"enter";let U;if(C)U={...C,cause:j,params:k?.params??a,_strictParams:I,search:ha(k?k.search:C.search,y),_strictSearch:v};else{const H=m.options.loader||m.options.beforeLoad||m.lazyFn||O2(m)?"pending":"success";U={id:E,ssr:m.options.ssr,index:p,routeId:m.id,params:k?.params??a,_strictParams:I,pathname:_,updatedAt:Date.now(),search:k?ha(k.search,y):y,_strictSearch:v,searchError:void 0,status:H,isFetching:!1,error:void 0,paramsError:M,__routeContext:void 0,_nonReactive:{loadPromise:Oa()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:j,loaderDeps:k?Sa(k.loaderDeps,S):S,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:m.options.staticData||{},fullPath:m.fullPath}}t?.preload||(U.globalNotFound=c===m.id),U.searchError=x;const D=this.getParentContext(g);
10U.context={...D,...U.__routeContext,...U.__beforeLoadContext},h[p]=U}for(let p=0;p<h.length;p++){const m=h[p],g=this.looseRoutesById[m.routeId],y=this.getMatch(m.id),v=d.get(m.routeId);if(m.params=v?ha(v.params,a):a,!y){const x=h[p-1],S=this.getParentContext(x);if(g.options.context){const w={deps:m.loaderDeps,params:m.params,context:S??{},location:e,navigate:_=>this.navigate({..._,_fromLocation:e}),buildLocation:this.buildLocation,cause:m.cause,abortController:m.abortController,preload:!!m.preload,matches:h,routeId:g.id};m.__routeContext=g.options.context(w)??void 0}m.context={...S,...m.__routeContext,...m.__beforeLoadContext}}}return h}matchRoutesLightweight(e){const t=Tl(this.stores.matchesId.get()),n=this.lightweightCache.get(e);if(n&&n[0]===t)return n[1];const{matchedRoutes:i,routeParams:a}=this.getMatchedRoutes(e.pathname),o=Tl(i),l={...e.search};for(const m of i)try{Object.assign(l,rf(m.options.validateSearch,l))}catch{}const c=t&&this.stores.matchStores.get(t)?.get(),h=c&&c.routeId===o.id&&c.pathname===e.pathname;let d;if(h)d=c.params;else{const m=Object.assign(Object.create(null),a);for(const g of i)try{b1(g,m)}catch{}d=m}const p={matchedRoutes:i,fullPath:o.fullPath,search:l,params:d};return this.lightweightCache.set(e,[t,p]),p}},gf=class extends Error{},c4=class extends Error{};function d4(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function rf(e,t){if(e==null)return{};if("~standard"in e){const n=e["~standard"].validate(t);if(n instanceof Promise)throw new gf("Async validation not supported");if(n.issues)throw new gf(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function f4({pathname:e,routesById:t,processedTree:n}){const i=Object.create(null),a=Ri(e);let o;const l=RR(a,n,!0);return l&&(o=l.route,Object.assign(i,l.rawParams)),{matchedRoutes:l?.branch||[t.__root__],routeParams:i,foundRoute:o}}function h4({search:e,dest:t,destRoutes:n,_includeValidateSearch:i}){return p4(n)(e,t,i??!1)}function p4(e){let t,n;const i=[];for(const o of e){const l=o.options;if("search"in l)l.search?.middlewares&&i.push(...l.search.middlewares);else if(l.preSearchFilters||l.postSearchFilters){const h=({search:d,next:p})=>{const m=p(l.preSearchFilters?l.preSearchFilters.reduce((g,y)=>y(g),d):d);return l.postSearchFilters?l.postSearchFilters.reduce((g,y)=>y(g),m):m};i.push(h)}const c=l.validateSearch;if(c){const h=({search:d,next:p,meta:m})=>{const g=p(d);if(n)try{const y=rf(c,g);if(m&&y)for(const v in y)v in g||(m.defaulted||=new Map).set(v,y[v]);return{...g,...y}}catch{}return g};i.push(h)}}const a=(o,l,c)=>{if(o>=i.length){if(!t.search)return{};if(t.search===!0)return l;const d=wa(t.search,l);return c&&(c.explicit=d),d}const h=(d,p)=>{if(p){const m=c||{};return{search:a(o+1,d,m),meta:m}}return a(o+1,d,c)};return i[o]({search:l,next:h,meta:c})};return function(l,c,h){return t=c,n=h,a(0,l)}}function m4(e,t){if(e!=="root")for(let n=t.length-1;n>=0;n--){const i=t[n];if(i.children)return i.id}return Ta}function b1(e,t){const n=e.options.params?.parse??e.options.parseParams;if(n){const i=n(t);if(i===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(t,i)}}const Qr=Symbol.for("TSR_DEFERRED_PROMISE");function g4(e,t){const n=e;return n[Qr]||(n[Qr]={status:"pending"},n.then(i=>{n[Qr].status="success",n[Qr].data=i}).catch(i=>{n[Qr].status="error",n[Qr].error={data:u4(i),__isServerError:!0}})),n}const A4="Error preloading route! ☝️";function k2(e,t){if(e)return typeof e=="string"?e:e[t]}function y4(e){return e?.scriptFormat??"module"}function b4(e,t,n){const i=v4(t),a=k2(n,"script")??i.crossOrigin;return{...y4(e)==="iife"?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:i.href,...a?{crossOrigin:a}:{}}}function v4(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}function vd(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}const n=new Set;for(const i of t){const a=JSON.stringify(i);n.has(a)||(n.add(a),e.push(i))}}function w4(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}var I2=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{this.originalIndex=t.originalIndex;const n=this.options,i=!n?.path&&!n?.id;this.parentRoute=this.options.getParentRoute?.(),i?this._path=Ta:this.parentRoute||Pn();let a=i?Ta:n?.path;
10a&&a!=="/"&&(a=v2(a));const o=n?.id||a;let l=i?Ta:ef([this.parentRoute.id==="__root__"?"":this.parentRoute.id,o]);a==="__root__"&&(a="/"),l!=="__root__"&&(l=ef(["/",l]));const c=l==="__root__"?"/":ef([this.parentRoute.fullPath,a]);this._path=a,this._id=l,this._fullPath=c,this._to=Ri(c)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>Ma({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},S4=class extends I2{constructor(e){super(e)}};const Ii=Symbol.asyncIterator,N2=Symbol.hasInstance,Vo=Symbol.isConcatSpreadable,Ni=Symbol.iterator,D2=Symbol.match,M2=Symbol.matchAll,B2=Symbol.replace,j2=Symbol.search,L2=Symbol.species,P2=Symbol.split,U2=Symbol.toPrimitive,Wo=Symbol.toStringTag,F2=Symbol.unscopables,H2={[Ii]:0,[N2]:1,[Vo]:2,[Ni]:3,[D2]:4,[M2]:5,[B2]:6,[j2]:7,[L2]:8,[P2]:9,[U2]:10,[Wo]:11,[F2]:12},_4={0:Ii,1:N2,2:Vo,3:Ni,4:D2,5:M2,6:B2,7:j2,8:L2,9:P2,10:U2,11:Wo,12:F2},x4={2:!0,3:!1,1:void 0,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:NaN},E4={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},C4={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function it(e,t,n,i,a,o,l,c,h,d,p,m){return{t:e,i:t,s:n,c:i,m:a,p:o,e:l,a:c,f:h,b:d,o:p,l:m}}function Ls(e){return it(2,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}const z2=Ls(2),G2=Ls(3),T4=Ls(1),R4=Ls(0),O4=Ls(4),k4=Ls(5),I4=Ls(6),N4=Ls(7);function D4(e){switch(e){case'"':return'\\"';case"\\":return"\\\\";case`
11`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case"	":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return}}function Ps(e){let t="",n=0,i;for(let a=0,o=e.length;a<o;a++)i=D4(e[a]),i&&(t+=e.slice(n,a)+i,n=a+1);return n===0?t=e:t+=e.slice(n),t}function M4(e){switch(e){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return`
12`;case"\\r":return"\r";case"\\b":return"\b";case"\\t":return"	";case"\\f":return"\f";case"\\x3C":return"<";case"\\u2028":return"\u2028";case"\\u2029":return"\u2029";default:return e}}function Us(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,M4)}const wd="__SEROVAL_REFS__",q2=new Map,Qo=new Map;function Q2(e){return q2.has(e)}function B4(e){return Qo.has(e)}function j4(e){if(Q2(e))return q2.get(e);throw new hO(e)}function L4(e){if(B4(e))return Qo.get(e);throw new pO(e)}typeof globalThis<"u"?Object.defineProperty(globalThis,wd,{value:Qo,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,wd,{value:Qo,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,wd,{value:Qo,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,wd,{value:Qo,configurable:!0,writable:!1,enumerable:!1});function kg(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function P4(e){const t=E4[kg(e)];return e.name!==t?{name:e.name}:e.constructor.name!==t?{name:e.constructor.name}:{}}function K2(e,t){let n=P4(e);const i=Object.getOwnPropertyNames(e);for(let a=0,o=i.length,l;a<o;a++)l=i[a],l!=="name"&&l!=="message"&&(l==="stack"?t&4&&(n=n||{},n[l]=e[l]):(n=n||{},n[l]=e[l]));return n}function Y2(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}function U4(e){switch(e){case Number.POSITIVE_INFINITY:return k4;case Number.NEGATIVE_INFINITY:return I4}return e!==e?N4:Object.is(e,-0)?O4:it(0,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function V2(e){return it(1,void 0,Ps(e),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}
12function F4(e){return it(3,void 0,""+e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function H4(e){return it(4,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function z4(e,t){const n=t.valueOf();return it(5,e,n!==n?"":t.toISOString(),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function ps(e,t,n){return it(36,e,n.toString(),t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function G4(e,t){return it(6,e,void 0,Ps(t.source),t.flags,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function q4(e,t){return it(17,e,H2[t],void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Q4(e,t){return it(18,e,Ps(j4(t)),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function K4(e,t,n){return it(25,e,n,Ps(t),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Y4(e,t,n){return it(9,e,void 0,void 0,void 0,void 0,void 0,n,void 0,void 0,Y2(t),void 0)}function V4(e,t){return it(21,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function W4(e,t,n){return it(15,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.length)}function J4(e,t,n){return it(16,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.length)}function Z4(e,t,n){return it(20,e,void 0,void 0,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.byteLength)}function $4(e,t,n){return it(13,e,kg(t),void 0,Ps(t.message),n,void 0,void 0,void 0,void 0,void 0,void 0)}function X4(e,t,n){return it(14,e,kg(t),void 0,Ps(t.message),n,void 0,void 0,void 0,void 0,void 0,void 0)}function eO(e,t){return it(7,e,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,void 0)}function tO(e,t){return it(28,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}function nO(e,t){return it(30,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}function rO(e,t,n){return it(31,e,void 0,void 0,void 0,void 0,void 0,n,t,void 0,void 0,void 0)}function iO(e,t){return it(32,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function sO(e,t){return it(33,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function aO(e,t){return it(34,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function oO(e,t,n,i){return it(35,e,n,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,i)}const uO={parsing:1,serialization:2,deserialization:3};function lO(e){return`Seroval Error (step: ${uO[e]})`}const cO=(e,t)=>lO(e);var W2=class extends Error{constructor(e,t){super(cO(e)),this.cause=t}},v1=class extends W2{constructor(e){super("parsing",e)}},dO=class extends W2{constructor(e){super("deserialization",e)}};function Bi(e){return`Seroval Error (specific: ${e})`}var Pf=class extends Error{constructor(e){super(Bi(1)),this.value=e}},Ig=class extends Error{constructor(e){super(Bi(2))}},fO=class extends Error{constructor(e){super(Bi(3))}},Kl=class extends Error{constructor(e){super(Bi(4))}},hO=class extends Error{constructor(e){super(Bi(5)),this.value=e}},pO=class extends Error{constructor(e){super(Bi(6))}},mO=class extends Error{constructor(e){super(Bi(7))}},Zr=class extends Error{constructor(e){super(Bi(8))}},J2=class extends Error{constructor(e){super(Bi(9))}},gO=class{constructor(e,t){this.value=e,this.replacement=t}};const Ng=()=>{const e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e},AO=()=>{const e=[],t=[];let n=!0,i=!1,a=0;const o={flush(l,c,h){for(h=0;h<a;h++)t[h]&&t[h][c](l)},up(l,c,h,d){for(c=0,h=e.length;c<h;c++)d=e[c],!n&&c===h-1?l[i?"return":"throw"](d):l.next(d)},on(l,c){return n&&(c=a++,t[c]=l),o.up(l),()=>{n&&(t[c]=t[a],t[a--]=void 0)}}};return{__SEROVAL_STREAM__:!0,on(l){return o.on(l)},next(l){n&&(e.push(l),o.flush(l,"next"))},throw(l){n&&(e.push(l),o.flush(l,"throw"),n=!1,i=!1,t.length=0)},return(l){n&&(e.push(l),o.flush(l,"return"),n=!1,i=!0,t.length=0)}}},yO=e=>t=>()=>{let n=0;const i={[e](){return i},next(){if(n>t.d)return{done:!0,value:void 0};const a=n++,o=t.v[a];if(a===t.t)throw o;return{done:a===t.d,value:o}}};return i},bO=(e,t)=>n=>()=>{let i=0,a=-1,o=!1;const l=[],c=[],h={finalize(p=0,m=c.length){for(;p<m;p++)c[p].s({done:!0,value:void 0})}};n.on({next(p){const m=c.shift();m&&m.s({done:!1,value:p}),l.push(p)},throw(p){const m=c.shift();m&&m.f(p),h.finalize(),a=l.length,o=!0,l.push(p)},return(p){const m=c.shift();m&&m.s({done:!0,value:p}),h.finalize(),a=l.length,l.push(p)}});const d={[e](){return d},next(){if(a===-1){const g=i++;if(g>=l.length){const y=t();return c.push(y),y.p}return{done:!1,value:l[g]}}if(i>a)return{done:!0,value:void 0};const p=i++,m=l[p];if(p!==a)return{done:!1,value:m};if(o)throw m;return{done:!0,value:m}}};return d},vO=e=>{const t=atob(e),n=t.length,i=new Uint8Array(n);for(let a=0;a<n;a++)i[a]=t.charCodeAt(a);return i.buffer};
12function wO(e){return"__SEROVAL_SEQUENCE__"in e}function Z2(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function SO(e){const t=[];let n=-1,i=-1;const a=e[Ni]();for(;;)try{const o=a.next();if(t.push(o.value),o.done){i=t.length-1;break}}catch(o){n=t.length,t.push(o)}return Z2(t,n,i)}const _O=yO(Ni);function xO(e){return _O(e)}const EO={},CO={},TO={0:{},1:{},2:{},3:{},4:{},5:{}};function RO(e){return"__SEROVAL_STREAM__"in e}function Ba(){return AO()}function OO(e){const t=Ba(),n=e[Ii]();async function i(){try{const a=await n.next();a.done?t.return(a.value):(t.next(a.value),await i())}catch(a){t.throw(a)}}return i().catch(()=>{}),t}const kO=bO(Ii,Ng);function IO(e){return kO(e)}async function NO(e){try{return[1,await e]}catch(t){return[0,t]}}function DO(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:127^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function sf(e,t){e.marked.add(t)}function MO(e,t){const n=e.refs.size;return e.refs.set(t,n),n}function Uf(e,t){const n=e.refs.get(t);return n!=null?(sf(e,n),{type:1,value:H4(n)}):{type:0,value:MO(e,t)}}function Dg(e,t){const n=Uf(e,t);return n.type===1?n:Q2(t)?{type:2,value:Q4(n.value,t)}:n}function xa(e,t){const n=Dg(e,t);if(n.type!==0)return n.value;if(t in H2)return q4(n.value,t);throw new Pf(t)}function Ff(e,t){const n=Uf(e,TO[t]);return n.type===1?n.value:it(26,n.value,t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function BO(e){const t=Uf(e,EO);return t.type===1?t.value:it(27,t.value,void 0,void 0,void 0,void 0,void 0,void 0,xa(e,Ni),void 0,void 0,void 0)}function jO(e){const t=Uf(e,CO);return t.type===1?t.value:it(29,t.value,void 0,void 0,void 0,void 0,void 0,[Ff(e,1),xa(e,Ii)],void 0,void 0,void 0,void 0)}function LO(e,t,n,i){return it(n?11:10,e,void 0,void 0,void 0,i,void 0,void 0,void 0,void 0,Y2(t),void 0)}function PO(e,t,n,i){return it(8,t,void 0,void 0,void 0,void 0,{k:n,v:i},void 0,Ff(e,0),void 0,void 0,void 0)}function UO(e,t,n){const i=new Uint8Array(n);let a="";for(let o=0,l=i.length;o<l;o++)a+=String.fromCharCode(i[o]);return it(19,t,Ps(btoa(a)),void 0,void 0,void 0,void 0,void 0,Ff(e,5),void 0,void 0,void 0)}function FO(e,t){return{base:DO(e,t),child:void 0}}var HO=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return tn(this._p,this.depth,e)}};async function zO(e,t,n){const i=[];for(let a=0,o=n.length;a<o;a++)a in n?i[a]=await tn(e,t,n[a]):i[a]=0;return i}async function GO(e,t,n,i){return Y4(n,i,await zO(e,t,i))}async function Mg(e,t,n){const i=Object.entries(n),a=[],o=[];for(let l=0,c=i.length;l<c;l++)a.push(Ps(i[l][0])),o.push(await tn(e,t,i[l][1]));return Ni in n&&(a.push(xa(e.base,Ni)),o.push(tO(BO(e.base),await tn(e,t,SO(n))))),Ii in n&&(a.push(xa(e.base,Ii)),o.push(nO(jO(e.base),await tn(e,t,OO(n))))),Wo in n&&(a.push(xa(e.base,Wo)),o.push(V2(n[Wo]))),Vo in n&&(a.push(xa(e.base,Vo)),o.push(n[Vo]?z2:G2)),{k:a,v:o}}async function Ap(e,t,n,i,a){return LO(n,i,a,await Mg(e,t,i))}async function qO(e,t,n,i){return V4(n,await tn(e,t,i.valueOf()))}async function QO(e,t,n,i){return W4(n,i,await tn(e,t,i.buffer))}async function KO(e,t,n,i){return J4(n,i,await tn(e,t,i.buffer))}async function YO(e,t,n,i){return Z4(n,i,await tn(e,t,i.buffer))}async function w1(e,t,n,i){const a=K2(i,e.base.features);return $4(n,i,a?await Mg(e,t,a):void 0)}async function VO(e,t,n,i){const a=K2(i,e.base.features);return X4(n,i,a?await Mg(e,t,a):void 0)}async function WO(e,t,n,i){const a=[],o=[];for(const[l,c]of i.entries())a.push(await tn(e,t,l)),o.push(await tn(e,t,c));return PO(e.base,n,a,o)}async function JO(e,t,n,i){const a=[];for(const o of i.keys())a.push(await tn(e,t,o));return eO(n,a)}async function $2(e,t,n,i){const a=e.base.plugins;if(a)for(let o=0,l=a.length;o<l;o++){const c=a[o];if(c.parse.async&&c.test(i))return K4(n,c.tag,await c.parse.async(i,new HO(e,t),{id:n}))}}async function ZO(e,t,n,i){const[a,o]=await NO(i);return it(12,n,a,void 0,void 0,void 0,void 0,void 0,await tn(e,t,o),void 0,void 0,void 0)}function $O(e,t,n,i,a){const o=[],l=n.on({next:c=>{sf(this.base,t),tn(this,e,c).then(h=>{o.push(iO(t,h))},h=>{a(h),l()})},throw:c=>{sf(this.base,t),tn(this,e,c).then(h=>{o.push(sO(t,h)),i(o),l()},h=>{a(h),l()})},return:c=>{sf(this.base,t),tn(this,e,c).then(h=>{o.push(aO(t,h)),i(o),l()},h=>{a(h),l()})}})}async function XO(e,t,n,i){return rO(n,Ff(e.base,4),await new Promise($O.bind(e,t,n,i)))}async function e6(e,t,n,i){const a=[];for(let o=0,l=i.v.length;o<l;o++)a[o]=await tn(e,t,i.v[o]);return oO(n,a,i.t,i.d)}async function t6(e,t,n,i){if(Array.isArray(i))return GO(e,t,n,i);if(RO(i))return XO(e,t,n,i);if(wO(i))return e6(e,t,n,i);let a=i.constructor;if(a!==void 0&&typeof a!="function"){const c=Object.getPrototypeOf(i);a=c===null?void 0:c.constructor}if(a===gO)return tn(e,t,i.replacement);const o=await $2(e,t,n,i);if(o)return o;switch(a){case Object:return Ap(e,t,n,i,!1);case void 0:return Ap(e,t,n,i,!0);case Date:return z4(n,i);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return w1(e,t,n,i);case Number:case Boolean:case String:case BigInt:return qO(e,t,n,i);case ArrayBuffer:return UO(e.base,n,i);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return QO(e,t,n,i);case DataView:return YO(e,t,n,i);case Map:return WO(e,t,n,i);case Set:return JO(e,t,n,i)}if(a===Promise||i instanceof Promise)return ZO(e,t,n,i);const l=e.base.features;if(l&32&&a===RegExp)return G4(n,i);if(l&16)switch(a){case BigInt64Array:case BigUint64Array:return KO(e,t,n,i)}if(l&1&&typeof AggregateError<"u"&&(a===AggregateError||i instanceof AggregateError))return VO(e,t,n,i);if(l&64&&typeof Temporal<"u")switch(a){case Temporal.Instant:return ps(n,0,i);case Temporal.Duration:return ps(n,1,i);
12case Temporal.PlainDate:return ps(n,2,i);case Temporal.PlainDateTime:return ps(n,3,i);case Temporal.PlainMonthDay:return ps(n,4,i);case Temporal.PlainTime:return ps(n,5,i);case Temporal.PlainYearMonth:return ps(n,6,i);case Temporal.ZonedDateTime:return ps(n,7,i)}if(i instanceof Error)return w1(e,t,n,i);if(Ni in i||Ii in i)return Ap(e,t,n,i,!!a);throw new Pf(i)}async function n6(e,t,n){const i=Dg(e.base,n);if(i.type!==0)return i.value;const a=await $2(e,t,i.value,n);if(a)return a;throw new Pf(n)}async function tn(e,t,n){if(t>=e.base.depthLimit)throw new J2(e.base.depthLimit);switch(typeof n){case"boolean":return n?z2:G2;case"undefined":return T4;case"string":return V2(n);case"number":return U4(n);case"bigint":return F4(n);case"object":if(n){const i=Dg(e.base,n);return i.type===0?await t6(e,t+1,i.value,n):i.value}return R4;case"symbol":return xa(e.base,n);case"function":return n6(e,t,n);default:throw new Pf(n)}}async function r6(e,t){try{return await tn(e,0,t)}catch(n){throw n instanceof v1?n:new v1(n)}}function X2(e,t){for(let n=0,i=t.length;n<i;n++){const a=t[n];e.has(a)||(e.add(a),a.extends&&X2(e,a.extends))}}function ex(e){if(e){const t=new Set;return X2(t,e),[...t]}}function i6(e){switch(e){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new mO(e)}}function s6(e){switch(e){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function a6(e){switch(e){case Ii:case Vo:case Wo:case Ni:return!0;default:return!1}}const o6=1e6,u6=1e4,l6=2e4;function tx(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}const c6=1e3;function d6(e,t){var n;const i=t.refs||new Map;return"types"in i||Object.assign(i,{types:new Map}),{mode:e,plugins:t.plugins,refs:i,features:(n=t.features)!==null&&n!==void 0?n:127^(t.disabledFeatures||0),depthLimit:t.depthLimit||c6}}function f6(e){return{mode:2,base:d6(2,e),child:void 0}}var h6=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return bt(this._p,this.depth,e)}};function nx(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new Zr({t:4,i:t});if(e.refs.has(t))throw new Error("Conflicted ref id: "+t)}function p6(e,t,n){return nx(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function m6(e,t,n){return nx(e.base,t),e.base.refs.set(t,n),n}function Qt(e,t,n){return e.mode===1?p6(e,t,n):m6(e,t,n)}function Fm(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new Zr(e)}function g6(e,t){return Qt(e,t.i,L4(Us(t.s)))}function A6(e,t,n){const i=n.a,a=i.length,o=Qt(e,n.i,new Array(a));for(let l=0,c;l<a;l++)c=i[l],c&&(o[l]=bt(e,t,c));return tx(o,n.o),o}function S1(e,t,n){s6(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function y6(e,t,n,i,a){if(typeof i=="string")S1(n,Us(i),bt(e,t,a));else{const o=bt(e,t,i);switch(typeof o){case"string":S1(n,o,bt(e,t,a));break;case"symbol":a6(o)&&(n[o]=bt(e,t,a));break;default:throw new Zr(i)}}}function rx(e,t,n){e.base.refs.types.set(t,n)}function Yl(e,t,n,i){if(e.base.refs.types.get(n)!==i)throw new Zr(t)}function ix(e,t,n,i){const a=n.k;if(a.length>0)for(let o=0,l=n.v,c=a.length;o<c;o++)y6(e,t,i,a[o],l[o]);return i}function b6(e,t,n){const i=Qt(e,n.i,n.t===10?{}:Object.create(null));return ix(e,t,n.p,i),tx(i,n.o),i}function v6(e,t){return Qt(e,t.i,new Date(t.s))}function w6(e,t){if(!(e.base.features&64))throw new Ig(t);let n;switch(t.c){case 0:n=Temporal.Instant.from(t.s);break;case 1:n=Temporal.Duration.from(t.s);break;case 2:n=Temporal.PlainDate.from(t.s);break;case 3:n=Temporal.PlainDateTime.from(t.s);break;case 4:n=Temporal.PlainMonthDay.from(t.s);break;case 5:n=Temporal.PlainTime.from(t.s);break;case 6:n=Temporal.PlainYearMonth.from(t.s);break;case 7:n=Temporal.ZonedDateTime.from(t.s);break;default:throw new Zr(t)}return Qt(e,t.i,n)}function S6(e,t){if(e.base.features&32){const n=Us(t.c);if(n.length>l6)throw new Zr(t);return Qt(e,t.i,new RegExp(n,t.m))}throw new Ig(t)}function _6(e,t,n){const i=Qt(e,n.i,new Set);for(let a=0,o=n.a,l=o.length;a<l;a++)i.add(bt(e,t,o[a]));return i}function x6(e,t,n){const i=Qt(e,n.i,new Map);for(let a=0,o=n.e.k,l=n.e.v,c=o.length;a<c;a++)i.set(bt(e,t,o[a]),bt(e,t,l[a]));return i}function E6(e,t){if(t.s.length>o6)throw new Zr(t);return Qt(e,t.i,vO(Us(t.s)))}function C6(e,t,n){var i;const a=i6(n.c),o=bt(e,t,n.f),l=(i=n.b)!==null&&i!==void 0?i:0;if(l<0||l>o.byteLength)throw new Zr(n);return Qt(e,n.i,new a(o,l,n.l))}function T6(e,t,n){var i;const a=bt(e,t,n.f),o=(i=n.b)!==null&&i!==void 0?i:0;if(o<0||o>a.byteLength)throw new Zr(n);return Qt(e,n.i,new DataView(a,o,n.l))}function sx(e,t,n,i){if(n.p){const a=ix(e,t,n.p,{});Object.defineProperties(i,Object.getOwnPropertyDescriptors(a))}return i}function R6(e,t,n){return sx(e,t,n,Qt(e,n.i,new AggregateError([],Us(n.m))))}
12function O6(e,t,n){const i=Fm(n,C4,n.s);return sx(e,t,n,Qt(e,n.i,new i(Us(n.m))))}function k6(e,t,n){const i=Ng(),a=Qt(e,n.i,i.p),o=bt(e,t,n.f);return n.s?i.s(o):i.f(o),a}function I6(e,t,n){return Qt(e,n.i,Object(bt(e,t,n.f)))}function N6(e,t,n){const i=e.base.plugins;if(i){const a=Us(n.c);for(let o=0,l=i.length;o<l;o++){const c=i[o];if(c.tag===a)return Qt(e,n.i,c.deserialize(n.s,new h6(e,t),{id:n.i}))}}throw new fO(n.c)}function D6(e,t){const n=Qt(e,t.i,Qt(e,t.s,Ng()).p);return rx(e,t.s,22),n}function M6(e,t,n){const i=e.base.refs.get(n.i);if(i){Yl(e,n,n.i,22),i.s(bt(e,t,n.a[1]));return}throw new Kl("Promise")}function B6(e,t,n){const i=e.base.refs.get(n.i);if(i){Yl(e,n,n.i,22),i.f(bt(e,t,n.a[1]));return}throw new Kl("Promise")}function j6(e,t,n){return bt(e,t,n.a[0]),xO(bt(e,t,n.a[1]))}function L6(e,t,n){return bt(e,t,n.a[0]),IO(bt(e,t,n.a[1]))}function P6(e,t,n){const i=Qt(e,n.i,Ba());rx(e,n.i,31);const a=n.a,o=a.length;if(o)for(let l=0;l<o;l++)bt(e,t,a[l]);return i}function U6(e,t,n){const i=e.base.refs.get(n.i);if(i){Yl(e,n,n.i,31),i.next(bt(e,t,n.f));return}throw new Kl("Stream")}function F6(e,t,n){const i=e.base.refs.get(n.i);if(i){Yl(e,n,n.i,31),i.throw(bt(e,t,n.f));return}throw new Kl("Stream")}function H6(e,t,n){const i=e.base.refs.get(n.i);if(i){Yl(e,n,n.i,31),i.return(bt(e,t,n.f));return}throw new Kl("Stream")}function z6(e,t,n){bt(e,t,n.f)}function G6(e,t,n){bt(e,t,n.a[1])}function q6(e,t,n){const i=Qt(e,n.i,Z2([],n.s,n.l));for(let a=0,o=n.a.length;a<o;a++)i.v[a]=bt(e,t,n.a[a]);return i}function bt(e,t,n){if(t>e.base.depthLimit)throw new J2(e.base.depthLimit);switch(t+=1,n.t){case 2:return Fm(n,x4,n.s);case 0:return Number(n.s);case 1:return Us(String(n.s));case 3:if(String(n.s).length>u6)throw new Zr(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return g6(e,n);case 9:return A6(e,t,n);case 10:case 11:return b6(e,t,n);case 5:return v6(e,n);case 6:return S6(e,n);case 7:return _6(e,t,n);case 8:return x6(e,t,n);case 19:return E6(e,n);case 16:case 15:return C6(e,t,n);case 20:return T6(e,t,n);case 14:return R6(e,t,n);case 13:return O6(e,t,n);case 12:return k6(e,t,n);case 17:return Fm(n,_4,n.s);case 21:return I6(e,t,n);case 25:return N6(e,t,n);case 22:return D6(e,n);case 23:return M6(e,t,n);case 24:return B6(e,t,n);case 28:return j6(e,t,n);case 30:return L6(e,t,n);case 31:return P6(e,t,n);case 32:return U6(e,t,n);case 33:return F6(e,t,n);case 34:return H6(e,t,n);case 27:return z6(e,t,n);case 29:return G6(e,t,n);case 35:return q6(e,t,n);case 36:return w6(e,n);default:throw new Ig(n)}}function Q6(e,t){try{return bt(e,0,t)}catch(n){throw new dO(n)}}function _1(e,t){return Q6(f6({plugins:ex(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function K6(e,t={}){const n=FO(1,{plugins:ex(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await r6(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function Y6(e){return{tag:"$TSR/t/"+e.key,test:e.test,parse:{sync(t,n,i){return{v:n.parse(e.toSerializable(t))}},async async(t,n,i){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,i){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,i){return e.fromSerializable(n.deserialize(t.v))}}}var V6=class{constructor(e,t){this.stream=e,this.hint=t?.hint??"binary"}};const Af=globalThis.Buffer,ax=!!Af&&typeof Af.from=="function";function ox(e){if(e.length===0)return"";if(ax)return Af.from(e).toString("base64");const t=32768,n=[];for(let i=0;i<e.length;i+=t){const a=e.subarray(i,i+t);n.push(String.fromCharCode.apply(null,a))}return btoa(n.join(""))}function ux(e){if(e.length===0)return new Uint8Array(0);if(ax){const i=Af.from(e,"base64");return new Uint8Array(i.buffer,i.byteOffset,i.byteLength)}const t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}const il=Object.create(null),sl=Object.create(null),W6=e=>new ReadableStream({start(t){e.on({next(n){try{t.enqueue(ux(n))}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),J6=new TextEncoder,Z6=e=>new ReadableStream({start(t){e.on({next(n){try{typeof n=="string"?t.enqueue(J6.encode(n)):t.enqueue(ux(n.$b64))}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),$6="(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;
12i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))",X6="(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})";function x1(e){const t=Ba(),n=e.getReader();return(async()=>{try{for(;;){const{done:i,value:a}=await n.read();if(i){t.return(void 0);break}t.next(ox(a))}}catch(i){t.throw(i)}finally{n.releaseLock()}})(),t}function E1(e){const t=Ba(),n=e.getReader(),i=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:a,value:o}=await n.read();if(a){try{const l=i.decode();l.length>0&&t.next(l)}catch{}t.return(void 0);break}try{const l=i.decode(o,{stream:!0});l.length>0&&t.next(l)}catch{t.next({$b64:ox(o)})}}}catch(a){t.throw(a)}finally{n.releaseLock()}})(),t}const ek={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(e){return e===il},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return $6},deserialize(e,t,n){return il}},{tag:"tss/RawStreamFactoryText",test(e){return e===sl},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return X6},deserialize(e,t,n){return sl}}],test(e){return e instanceof V6},parse:{sync(e,t,n){const i=e.hint==="text"?sl:il;return{hint:t.parse(e.hint),factory:t.parse(i),stream:t.parse(Ba())}},async async(e,t,n){const i=e.hint==="text"?sl:il,a=e.hint==="text"?E1(e.stream):x1(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(i),stream:await t.parse(a)}},stream(e,t,n){const i=e.hint==="text"?sl:il,a=e.hint==="text"?E1(e.stream):x1(e.stream);return{hint:t.parse(e.hint),factory:t.parse(i),stream:t.parse(a)}}},serialize(e,t,n){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t,n){const i=t.deserialize(e.stream);return t.deserialize(e.hint)==="text"?Z6(i):W6(i)}};function tk(e){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(t,n,i){return e(typeof n?.deserialize=="function"?n.deserialize(t.streamId):t.streamId)}}}const nk={tag:"$TSR/Error",test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return"new Error("+t.serialize(e.message)+")"},deserialize(e,t){return new Error(t.deserialize(e.message))}},_s={},lx=e=>new ReadableStream({start(t){e.on({next(n){try{t.enqueue(n)}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),rk={tag:"seroval-plugins/web/ReadableStreamFactory",test(e){return e===_s},parse:{sync(){return _s},async async(){return await Promise.resolve(_s)},stream(){return _s}},serialize(){return lx.toString()},deserialize(){return _s}};async function cx(e,t){try{const n=await t.read();n.done?(e.return(n.value),t.releaseLock()):(e.next(n.value),await cx(e,t))}catch(n){e.throw(n)}}function ik(e){e.cancel().catch(()=>{}),e.releaseLock()}function C1(e){const t=Ba(),n=e.getReader(),i=ik.bind(null,n);return cx(t,n).catch(i),[t,i]}const sk={tag:"seroval/plugins/web/ReadableStream",extends:[rk],test(e){return typeof ReadableStream>"u"?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(_s),stream:t.parse(Ba())}},async async(e,t){return{factory:await t.parse(_s),stream:await t.parse(C1(e)[0])}},stream(e,t){const[n,i]=C1(e);return t.addCleanup(i),{factory:t.parse(_s),stream:t.parse(n)}}},serialize(e,t){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t){const n=t.deserialize(e.stream);return lx(n)}},ak=[nk,ek,sk];function ok(){return[...Cg()?.serializationAdapters?.map(Y6)??[],...ak]}var T1=new TextDecoder,uk=new Uint8Array(0),R1=16*1024*1024,O1=32*1024*1024,k1=1024,I1=1e5;function lk(e){const t=new Map,n=new Map,i=new Set;let a=!1,o=null,l=0,c;const h=new ReadableStream({start(m){c=m},cancel(){a=!0;try{o?.cancel()}catch{}t.forEach(m=>{try{m.error(new Error("Framed response cancelled"))}catch{}}),t.clear(),n.clear(),i.clear()}});function d(m){const g=n.get(m);
12if(g)return g;if(i.has(m))return new ReadableStream({start(v){v.close()}});if(n.size>=k1)throw new Error(`Too many raw streams in framed response (max ${k1})`);const y=new ReadableStream({start(v){t.set(m,v)},cancel(){i.add(m),t.delete(m),n.delete(m)}});return n.set(m,y),y}function p(m){return d(m),t.get(m)}return(async()=>{const m=e.getReader();o=m;const g=[];let y=0;function v(){if(y<9)return null;const S=g[0];if(S.length>=9)return{type:S[0],streamId:(S[1]<<24|S[2]<<16|S[3]<<8|S[4])>>>0,length:(S[5]<<24|S[6]<<16|S[7]<<8|S[8])>>>0};const w=new Uint8Array(9);let _=0,T=9;for(let E=0;E<g.length&&T>0;E++){const C=g[E],k=Math.min(C.length,T);w.set(C.subarray(0,k),_),_+=k,T-=k}return{type:w[0],streamId:(w[1]<<24|w[2]<<16|w[3]<<8|w[4])>>>0,length:(w[5]<<24|w[6]<<16|w[7]<<8|w[8])>>>0}}function x(S){if(S===0)return uk;const w=g[0];if(w&&w.length>=S){const C=w.subarray(0,S);return w.length===S?g.shift():g[0]=w.subarray(S),y-=S,C}const _=new Uint8Array(S);let T=0,E=S;for(;E>0&&g.length>0;){const C=g[0];if(!C)break;const k=Math.min(C.length,E);_.set(C.subarray(0,k),T),T+=k,E-=k,k===C.length?g.shift():g[0]=C.subarray(k)}return y-=S,_}try{for(;;){const{done:S,value:w}=await m.read();if(a||S)break;if(w){if(y+w.length>O1)throw new Error(`Framed response buffer exceeded ${O1} bytes`);for(g.push(w),y+=w.length;;){const _=v();if(!_)break;const{type:T,streamId:E,length:C}=_;if(T!==yi.JSON&&T!==yi.CHUNK&&T!==yi.END&&T!==yi.ERROR)throw new Error(`Unknown frame type: ${T}`);
12if(T===yi.JSON){if(E!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(E===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(C>R1)throw new Error(`Frame payload too large: ${C} bytes (max ${R1})`);const k=9+C;if(y<k)break;if(++l>I1)throw new Error(`Too many frames in framed response (max ${I1})`);x(9);const I=x(C);switch(T){case yi.JSON:try{c.enqueue(T1.decode(I))}catch{}break;case yi.CHUNK:{const M=p(E);M&&M.enqueue(I);break}case yi.END:{const M=p(E);if(i.add(E),M){try{M.close()}catch{}t.delete(E)}break}case yi.ERROR:{const M=p(E);if(i.add(E),M){const j=T1.decode(I);M.error(new Error(j)),t.delete(E)}break}}}}}if(y!==0)throw new Error("Incomplete frame at end of framed response");try{c.close()}catch{}t.forEach(S=>{try{S.close()}catch{}}),t.clear()}catch(S){try{c.error(S)}catch{}t.forEach(w=>{try{w.error(S)}catch{}}),t.clear()}finally{try{m.releaseLock()}catch{}o=null}})(),{getOrCreateStream:d,jsonChunks:h}}var Il=null;async function Hm(e){e.length>0&&await Promise.allSettled(e)}var ck=Object.prototype.hasOwnProperty;function dx(e){for(const t in e)if(ck.call(e,t))return!0;return!1}async function dk(e,t,n){Il||(Il=ok());const i=t[0],a=i.fetch??n,o=i.data instanceof FormData?"formData":"payload",l=i.headers?new Headers(i.headers):new Headers;if(l.set("x-tsr-serverFn","true"),o==="payload"&&l.set("accept",`${lR}, application/x-ndjson, application/json`),i.method==="GET"){if(o==="formData")throw new Error("FormData is not supported with GET requests");const h=await fx(i);if(h!==void 0){const d=_2({payload:h});e.includes("?")?e+=`&${d}`:e+=`?${d}`}}let c;if(i.method==="POST"){const h=await fk(i);h?.contentType&&l.set("content-type",h.contentType),c=h?.body}return await hk(async()=>a(e,{method:i.method,headers:l,signal:i.signal,body:c}))}async function fx(e){let t=!1;const n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&dx(e.context)&&(t=!0,n.context=e.context),t)return hx(n)}async function hx(e){return JSON.stringify(await Promise.resolve(K6(e,{plugins:Il})))}async function fk(e){if(e.data instanceof FormData){let n;return e.context&&dx(e.context)&&(n=await hx(e.context)),n!==void 0&&e.data.set(uR,n),{body:e.data}}const t=await fx(e);if(t)return{body:t,contentType:"application/json"}}async function hk(e){let t;try{t=await e()}catch(i){if(i instanceof Response)t=i;else throw console.log(i),i}if(t.headers.get("x-tss-raw")==="true")return t;const n=t.headers.get("content-type");if(n||Pn(),t.headers.get("x-tss-serialized")){let i;if(n.includes("application/x-tss-framed")){if(fR(n),!t.body)throw new Error("No response body for framed response");const{getOrCreateStream:a,jsonChunks:o}=lk(t.body),l=[tk(a),...Il||[]],c=new Map;i=await pk({jsonStream:o,onMessage:h=>_1(h,{refs:c,plugins:l}),onError(h,d){console.error(h,d)}})}else if(n.includes("application/json")){const a=await t.json(),o=[];i=_1(a,{plugins:Il}),await Hm(o)}if(i||Pn(),i instanceof Error)throw i;return i}if(n.includes("application/json")){const i=await t.json(),a=x2(i);if(a)throw a;if(on(i))throw i;return i}if(!t.ok)throw new Error(await t.text());return t}async function pk({jsonStream:e,onMessage:t,onError:n}){const i=e.getReader(),{value:a,done:o}=await i.read();if(o||!a)throw new Error("Stream ended before first object");const l=JSON.parse(a);let c=!1;const h=(async()=>{try{for(;;){const{value:m,done:g}=await i.read();if(g)break;if(m)try{const y=[];try{t(JSON.parse(m))}finally{}await Hm(y)}catch(y){n?.(`Invalid JSON: ${m}`,y)}}}catch(m){c||n?.("Stream processing error:",m)}})();let d;const p=[];try{d=t(l)}catch(m){throw c=!0,i.cancel().catch(()=>{}),m}return await Hm(p),Promise.resolve(d).catch(()=>{c=!0,i.cancel().catch(()=>{})}),h.finally(()=>{try{i.releaseLock()}catch{}}),d}function cr(e){const t="/_serverFn/"+e;return Object.assign((...a)=>{const o=Cg()?.serverFns?.fetch;return dk(t,a,o??fetch)},{url:t,serverFnMeta:{id:e},[jm]:!0})}var mk={key:"$TSS/serverfn",test:e=>typeof e!="function"||!(jm in e)?!1:!!e[jm],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>cr(e)};function px(e){if(Array.isArray(e))return e.flatMap(p=>px(p));if(typeof e!="string")return[];const t=[];let n=0,i,a,o,l,c;const h=()=>{for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length},d=()=>(a=e.charAt(n),a!=="="&&a!==";"&&a!==",");for(;n<e.length;){for(i=n,c=!1;h();)if(a=e.charAt(n),a===","){for(o=n,n+=1,h(),l=n;n<e.length&&d();)n+=1;n<e.length&&e.charAt(n)==="="?(c=!0,n=l,t.push(e.slice(i,o)),i=n):n=o+1}else n+=1;(!c||n>=e.length)&&t.push(e.slice(i))}return t}function gk(e){return e instanceof Headers?e:Array.isArray(e)?new Headers(e):typeof e=="object"?new Headers(e):null}function Ak(...e){return e.reduce((t,n)=>{const i=gk(n);if(!i)return t;
12for(const[a,o]of i.entries())a==="set-cookie"?px(o).forEach(l=>t.append("set-cookie",l)):t.set(a,o);return t},new Headers)}function N1(e){return e.replaceAll("\0","/").replaceAll("�","/")}function yk(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function bk(e){window.$_TSR||Pn();const t=e.options.serializationAdapters;if(t?.length){const S=new Map;t.forEach(w=>{S.set(w.key,w.fromSerializable)}),window.$_TSR.t=S,window.$_TSR.buffer.forEach(w=>w())}window.$_TSR.initialized=!0,window.$_TSR.router||Pn();const n=window.$_TSR.router;n.matches.forEach(S=>{S.i=N1(S.i)}),n.lastMatchId&&(n.lastMatchId=N1(n.lastMatchId));const{manifest:i,dehydratedData:a,lastMatchId:o}=n;e.ssr={manifest:i};const l=document.querySelector('meta[property="csp-nonce"]')?.content;e.options.ssr={nonce:l},await e.options.hydrate?.(a);const c=e.matchRoutes(e.stores.location.get()),h=Promise.all(c.map(S=>e.loadRouteChunk(e.looseRoutesById[S.routeId])));function d(S){const w=e.looseRoutesById[S.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(w){const _=Oa();S._nonReactive.minPendingPromise=_,S._forcePending=!0,setTimeout(()=>{_.resolve(),e.updateMatch(S.id,T=>(T._nonReactive.minPendingPromise=void 0,{...T,_forcePending:void 0}))},w)}}function p(S){const w=e.looseRoutesById[S.routeId];w&&(w.options.ssr=S.ssr)}let m;c.forEach(S=>{const w=n.matches.find(_=>_.i===S.id);if(!w){S._nonReactive.dehydrated=!1,S.ssr=!1,p(S);return}yk(S,w),p(S),S._nonReactive.dehydrated=S.ssr!==!1,(S.ssr==="data-only"||S.ssr===!1)&&m===void 0&&(m=S.index,d(S))}),e.stores.setMatches(c);const g=e.stores.matches.get(),y=e.stores.location.get();await Promise.all(g.map(async S=>{try{const w=e.looseRoutesById[S.routeId],_=g[S.index-1]?.context??e.options.context;if(w.options.context){const k={deps:S.loaderDeps,params:S.params,context:_??{},location:y,navigate:I=>e.navigate({...I,_fromLocation:y}),buildLocation:e.buildLocation,cause:S.cause,abortController:S.abortController,preload:!1,matches:c,routeId:w.id};
12S.__routeContext=w.options.context(k)??void 0}S.context={..._,...S.__routeContext,...S.__beforeLoadContext};const T={ssr:e.options.ssr,matches:g,match:S,params:S.params,loaderData:S.loaderData},E=await w.options.head?.(T),C=await w.options.scripts?.(T);S.meta=E?.meta,S.links=E?.links,S.headScripts=E?.scripts,S.styles=E?.styles,S.scripts=C}catch(w){if(on(w))S.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${S.routeId}`,w);else throw S.error=w,console.error(`Error during hydration for route ${S.routeId}:`,w),w}}));const v=c[c.length-1].id!==o;if(!c.some(S=>S.ssr===!1)&&!v)return c.forEach(S=>{S._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),h;const x=Promise.resolve().then(()=>e.load()).catch(S=>{console.error("Error during router hydration:",S)});if(v){const S=c[1];S||Pn(),d(S),S._displayPending=!0,S._nonReactive.displayPendingPromise=x,x.then(()=>{e.batch(()=>{e.stores.status.get()==="pending"&&(e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(S.id,w=>({...w,_displayPending:void 0,displayPendingPromise:void 0}))})})}return h}var yf=P.use,Al=typeof window<"u"?P.useLayoutEffect:P.useEffect;function yp(e){const t=P.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function vk(e,t,n={},i={}){P.useEffect(()=>{if(!e.current||i.disabled||typeof IntersectionObserver!="function")return;const a=new IntersectionObserver(([o])=>{t(o)},n);return a.observe(e.current),()=>{a.disconnect()}},[t,n,i.disabled,e])}function wk(e){const t=P.useRef(null);return P.useImperativeHandle(e,()=>t.current,[]),t}function Sk({promise:e}){if(yf)return yf(e);const t=g4(e);if(t[Qr].status==="pending")throw t;if(t[Qr].status==="error")throw t[Qr].error;return t[Qr].data}function _k(e){const t=O.jsx(xk,{...e});return e.fallback?O.jsx(P.Suspense,{fallback:e.fallback,children:t}):t}function xk(e){const t=Sk(e);return e.children(t)}function Bg(e){const t=e.errorComponent??jg;return O.jsx(Ek,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:i})=>n?P.createElement(t,{error:n,reset:i}):e.children})}var Ek=class extends P.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function jg({error:e}){const[t,n]=P.useState(!1);return O.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[O.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[O.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),O.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(i=>!i),children:t?"Hide Error":"Show Error"})]}),O.jsx("div",{style:{height:".25rem"}}),t?O.jsx("div",{children:O.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?O.jsx("code",{children:e.message}):null})}):null]})}function Ck({children:e,fallback:t=null}){return Lg()?O.jsx(Vr.Fragment,{children:e}):O.jsx(Vr.Fragment,{children:t})}function Lg(){return Vr.useSyncExternalStore(Tk,()=>!0,()=>!1)}function Tk(){return()=>{}}var mx=P.createContext(null);function nn(e){return P.useContext(mx)}var Hf=P.createContext(void 0),Rk=P.createContext(void 0),Tt=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(Tt||{});function Ok({update:e,notify:t,unwatched:n}){return{link:i,unlink:a,propagate:o,checkDirty:l,shallowPropagate:c};function i(d,p,m){const g=p.depsTail;if(g!==void 0&&g.dep===d)return;const y=g!==void 0?g.nextDep:p.deps;if(y!==void 0&&y.dep===d){y.version=m,p.depsTail=y;return}const v=d.subsTail;if(v!==void 0&&v.version===m&&v.sub===p)return;const x=p.depsTail=d.subsTail={version:m,dep:d,sub:p,prevDep:g,nextDep:y,prevSub:v,nextSub:void 0};y!==void 0&&(y.prevDep=x),g!==void 0?g.nextDep=x:p.deps=x,v!==void 0?v.nextSub=x:d.subs=x}function a(d,p=d.sub){const m=d.dep,g=d.prevDep,y=d.nextDep,v=d.nextSub,x=d.prevSub;return y!==void 0?y.prevDep=g:p.depsTail=g,g!==void 0?g.nextDep=y:p.deps=y,v!==void 0?v.prevSub=x:m.subsTail=x,x!==void 0?x.nextSub=v:(m.subs=v)===void 0&&n(m),y}function o(d){let p=d.nextSub,m;e:do{const g=d.sub;let y=g.flags;if(y&60?y&12?y&4?!(y&48)&&h(d,g)?(g.flags=y|40,y&=1):y=0:g.flags=y&-9|32:y=0:g.flags=y|32,y&2&&t(g),y&1){const v=g.subs;if(v!==void 0){const x=(d=v).nextSub;x!==void 0&&(m={value:p,prev:m},p=x);continue}}if((d=p)!==void 0){p=d.nextSub;continue}for(;m!==void 0;)if(d=m.value,m=m.prev,d!==void 0){p=d.nextSub;continue e}break}while(!0)}function l(d,p){let m,g=0,y=!1;e:do{const v=d.dep,x=v.flags;if(p.flags&16)y=!0;else if((x&17)===17){if(e(v)){const S=v.subs;S.nextSub!==void 0&&c(S),y=!0}}else if((x&33)===33){(d.nextSub!==void 0||d.prevSub!==void 0)&&(m={value:d,prev:m}),d=v.deps,p=v,++g;continue}if(!y){const S=d.nextDep;if(S!==void 0){d=S;continue}}for(;g--;){const S=p.subs,w=S.nextSub!==void 0;if(w?(d=m.value,m=m.prev):d=S,y){if(e(p)){w&&c(S),p=d.sub;continue}y=!1}else p.flags&=-33;p=d.sub;const _=d.nextDep;if(_!==void 0){d=_;continue e}}return y}while(!0)}function c(d){do{const p=d.sub,m=p.flags;(m&48)===32&&(p.flags=m|16,(m&6)===2&&t(p))}while((d=d.nextSub)!==void 0)}function h(d,p){let m=p.depsTail;for(;m!==void 0;){if(m===d)return!0;m=m.prevDep}return!1}}function kk(e,t,n){const i=typeof e=="object",a=i?e:void 0;return{next:(i?e.next:e)?.bind(a),error:(i?e.error:t)?.bind(a),complete:(i?e.complete:n)?.bind(a)}}const zm=[];let af=0;const{link:D1,unlink:Ik,propagate:Nk,checkDirty:gx,shallowPropagate:M1}=Ok({update(e){return e._update()},notify(e){zm[Gm++]=e,e.flags&=~Tt.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=Tt.Mutable|Tt.Dirty,bf(e))}});let Sd=0,Gm=0,Gr,qm=0;function Ax(e){try{++qm,e()}finally{--qm||yx()}}function bf(e){const t=e.depsTail;let n=t!==void 0?t.nextDep:e.deps;for(;n!==void 0;)n=Ik(n,e)}function yx(){if(!(qm>0)){for(;Sd<Gm;){const e=zm[Sd];zm[Sd++]=void 0,e.notify()}Sd=0,Gm=0}}function B1(e,t){const n=typeof e=="function",i=e,a={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?Tt.None:Tt.Mutable,get(){return Gr!==void 0&&D1(a,Gr,af),a._snapshot},subscribe(o){const l=kk(o),c={current:!1},h=Dk(()=>{a.get(),c.current?l.next?.(a._snapshot):c.current=!0});return{unsubscribe:()=>{h.stop()}}},_update(o){const l=Gr,c=t?.compare??Object.is;if(n)Gr=a,++af,a.depsTail=void 0;else if(o===void 0)return!1;
12n&&(a.flags=Tt.Mutable|Tt.RecursedCheck);try{const h=a._snapshot,d=typeof o=="function"?o(h):o===void 0&&n?i(h):o;return h===void 0||!c(h,d)?(a._snapshot=d,!0):!1}finally{Gr=l,n&&(a.flags&=~Tt.RecursedCheck),bf(a)}}};return n?(a.flags=Tt.Mutable|Tt.Dirty,a.get=function(){const o=a.flags;if(o&Tt.Dirty||o&Tt.Pending&&gx(a.deps,a)){if(a._update()){const l=a.subs;l!==void 0&&M1(l)}}else o&Tt.Pending&&(a.flags=o&~Tt.Pending);return Gr!==void 0&&D1(a,Gr,af),a._snapshot}):a.set=function(o){if(a._update(o)){const l=a.subs;l!==void 0&&(Nk(l),M1(l),yx())}},a}function Dk(e){const t=()=>{const i=Gr;Gr=n,++af,n.depsTail=void 0,n.flags=Tt.Watching|Tt.RecursedCheck;try{return e()}finally{Gr=i,n.flags&=~Tt.RecursedCheck,bf(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Tt.Watching|Tt.RecursedCheck,notify(){const i=this.flags;i&Tt.Dirty||i&Tt.Pending&&gx(this.deps,this)?t():this.flags=Tt.Watching},stop(){this.flags=Tt.None,this.depsTail=void 0,bf(this)}};return t(),n}var bp={exports:{}},vp={},wp={exports:{}},Sp={};var j1;function Mk(){if(j1)return Sp;j1=1;var e=Ql();function t(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var n=typeof Object.is=="function"?Object.is:t,i=e.useState,a=e.useEffect,o=e.useLayoutEffect,l=e.useDebugValue;function c(m,g){var y=g(),v=i({inst:{value:y,getSnapshot:g}}),x=v[0].inst,S=v[1];return o(function(){x.value=y,x.getSnapshot=g,h(x)&&S({inst:x})},[m,y,g]),a(function(){return h(x)&&S({inst:x}),m(function(){h(x)&&S({inst:x})})},[m]),l(y),y}function h(m){var g=m.getSnapshot;m=m.value;try{var y=g();return!n(m,y)}catch{return!0}}function d(m,g){return g()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:c;return Sp.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Sp}var L1;function Bk(){return L1||(L1=1,wp.exports=Mk()),wp.exports}var P1;function jk(){if(P1)return vp;P1=1;var e=Ql(),t=Bk();function n(d,p){return d===p&&(d!==0||1/d===1/p)||d!==d&&p!==p}var i=typeof Object.is=="function"?Object.is:n,a=t.useSyncExternalStore,o=e.useRef,l=e.useEffect,c=e.useMemo,h=e.useDebugValue;return vp.useSyncExternalStoreWithSelector=function(d,p,m,g,y){var v=o(null);if(v.current===null){var x={hasValue:!1,value:null};v.current=x}else x=v.current;v=c(function(){function w(k){if(!_){if(_=!0,T=k,k=g(k),y!==void 0&&x.hasValue){var I=x.value;if(y(I,k))return E=I}return E=k}if(I=E,i(T,k))return I;var M=g(k);return y!==void 0&&y(I,M)?(T=k,I):(T=k,E=M)}var _=!1,T,E,C=m===void 0?null:m;return[function(){return w(p())},C===null?void 0:function(){return w(C())}]},[p,m,g,y]);var S=a(d,v[0],v[1]);return l(function(){x.hasValue=!0,x.value=S},[S]),h(S),S},vp}var U1;function Lk(){return U1||(U1=1,bp.exports=jk()),bp.exports}var Pk=Lk();function Uk(e,t){return e===t}function Ot(e,t,n=Uk){const i=P.useCallback(l=>{if(!e)return()=>{};const{unsubscribe:c}=e.subscribe(l);return c},[e]),a=P.useCallback(()=>e?.get(),[e]);return Pk.useSyncExternalStoreWithSelector(i,a,a,t,n)}var _p={get(){},subscribe(){return{unsubscribe(){}}}};function bx(e,t){const n=P.useRef();return i=>{const a=e?.select?e.select(i):i;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=Sa(n.current,a):a}}function ja(e){const t=nn(),n=P.useContext(e.from?Rk:Hf),i=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(n),a=bx(e,t),o=Ot(i??_p,l=>l?a(l):_p);if(o!==_p)return o;(e.shouldThrow??!0)&&Pn()}function vx(e){return ja({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function wx(e){const{select:t,...n}=e;return ja({...n,select:i=>t?t(i.loaderDeps):i.loaderDeps})}function Sx(e){return ja({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function _x(e){return ja({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function xx(e){const t=nn();return P.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function Ex(e){return ja({...e,select:t=>e.select?e.select(t.context):t.context})}var Pg=f2();const Fk=Eg(Pg);function Hk(e,t){const n=nn(),i=wk(t),{activeProps:a,inactiveProps:o,activeOptions:l,to:c,preload:h,preloadDelay:d,preloadIntentProximity:p,hashScrollIntoView:m,replace:g,startTransition:y,resetScroll:v,viewTransition:x,children:S,target:w,disabled:_,style:T,className:E,onClick:C,onBlur:k,onFocus:I,onMouseEnter:M,onMouseLeave:j,onTouchStart:U,ignoreBlocker:D,params:H,search:ee,hash:Z,state:G,mask:L,reloadDocument:q,unsafeRelative:W,from:ce,_fromLocation:ne,...B}=e,K=Lg(),V=P.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ue=Ot(n.stores.location,He=>He,(He,lt)=>He.href===lt.href),oe=P.useMemo(()=>{const He={_fromLocation:ue,...V};return n.buildLocation(He)},[n,ue,V]),ge=oe.maskedLocation?oe.maskedLocation.publicHref:oe.publicHref,ye=oe.maskedLocation?oe.maskedLocation.external:oe.external,Be=P.useMemo(()=>Yk(ge,ye,n.history,_),[_,ye,ge,n.history]),Se=P.useMemo(()=>
12{if(Be?.external)return hf(Be.href,n.protocolAllowlist)?void 0:Be.href;if(!Vk(c)&&!(typeof c!="string"||c.indexOf(":")===-1))try{return new URL(c),hf(c,n.protocolAllowlist)?void 0:c}catch{}},[c,Be,n.protocolAllowlist]),Ye=P.useMemo(()=>{if(Se)return!1;if(l?.exact){if(!MR(ue.pathname,oe.pathname,n.basepath))return!1}else{const He=pf(ue.pathname,n.basepath),lt=pf(oe.pathname,n.basepath);if(!(He.startsWith(lt)&&(He.length===lt.length||He[lt.length]==="/")))return!1}return(l?.includeSearch??!0)&&!En(ue.search,oe.search,{partial:!l?.exact,ignoreUndefined:!l?.explicitUndefined})?!1:l?.includeHash?K&&ue.hash===oe.hash:!0},[l?.exact,l?.explicitUndefined,l?.includeHash,l?.includeSearch,ue,Se,K,oe.hash,oe.pathname,oe.search,n.basepath]),ke=Ye?wa(a,{})??zk:xp,ie=Ye?xp:wa(o,{})??xp,fe=[E,ke.className,ie.className].filter(Boolean).join(" "),de=(T||ke.style||ie.style)&&{...T,...ke.style,...ie.style},[ve,wt]=P.useState(!1),Pt=P.useRef(!1),Vt=e.reloadDocument||Se?!1:h??n.options.defaultPreload,fr=d??n.options.defaultPreloadDelay??0,je=P.useCallback(()=>{n.preloadRoute({...V,_builtLocation:oe}).catch(He=>{console.warn(He),console.warn(A4)})},[n,V,oe]);vk(i,P.useCallback(He=>{He?.isIntersecting&&je()},[je]),Kk,{disabled:!!_||Vt!=="viewport"}),P.useEffect(()=>{Pt.current||!_&&Vt==="render"&&(je(),Pt.current=!0)},[_,je,Vt]);const qe=He=>{const lt=He.currentTarget.getAttribute("target"),St=w!==void 0?w:lt;if(!_&&!Wk(He)&&!He.defaultPrevented&&(!St||St==="_self")&&He.button===0){He.preventDefault(),Pg.flushSync(()=>{wt(!0)});const Xn=n.subscribe("onResolved",()=>{Xn(),wt(!1)});n.navigate({...V,replace:g,resetScroll:v,hashScrollIntoView:m,startTransition:y,viewTransition:x,ignoreBlocker:D})}};if(Se)return{...B,ref:i,href:Se,...S&&{children:S},...w&&{target:w},..._&&{disabled:_},...T&&{style:T},...E&&{className:E},...C&&{onClick:C},...k&&{onBlur:k},...I&&{onFocus:I},...M&&{onMouseEnter:M},...j&&{onMouseLeave:j},...U&&{onTouchStart:U}};const hr=He=>{if(_||Vt!=="intent")return;if(!fr){je();return}const lt=He.currentTarget;if(al.has(lt))return;const St=setTimeout(()=>{al.delete(lt),je()},fr);al.set(lt,St)},Fe=He=>{_||Vt!=="intent"||je()},Ne=He=>{if(_||!Vt||!fr)return;const lt=He.currentTarget,St=al.get(lt);St&&(clearTimeout(St),al.delete(lt))};return{...B,...ke,...ie,href:Be?.href,ref:i,onClick:To([C,qe]),onBlur:To([k,Ne]),onFocus:To([I,hr]),onMouseEnter:To([M,hr]),onMouseLeave:To([j,Ne]),onTouchStart:To([U,Fe]),disabled:!!_,target:w,...de&&{style:de},...fe&&{className:fe},..._&&Gk,...Ye&&qk,...K&&ve&&Qk}}var xp={},zk={className:"active"},Gk={role:"link","aria-disabled":!0},qk={"data-status":"active","aria-current":"page"},Qk={"data-transitioning":"transitioning"},al=new WeakMap,Kk={rootMargin:"100px"},To=e=>t=>{for(const n of e)if(n){if(t.defaultPrevented)return;n(t)}};function Yk(e,t,n,i){if(!i)return t?{href:e,external:!0}:{href:n.createHref(e)||"/",external:!1}}function Vk(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Oi=P.forwardRef((e,t)=>{const{_asChild:n,...i}=e,{type:a,...o}=Hk(i,t),l=typeof i.children=="function"?i.children({isActive:o["data-status"]==="active"}):i.children;if(!n){const{disabled:c,...h}=o;return P.createElement("a",h,l)}return P.createElement(n,o,l)});function Wk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Jk=class extends I2{constructor(t){super(t),this.useMatch=n=>ja({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>Ex({...n,from:this.id}),this.useSearch=n=>_x({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>Sx({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>wx({...n,from:this.id}),this.useLoaderData=n=>vx({...n,from:this.id}),this.useNavigate=()=>xx({from:this.fullPath}),this.Link=Vr.forwardRef((n,i)=>O.jsx(Oi,{ref:i,from:this.fullPath,...n}))}};function Zk(e){return new Jk(e)}function $k(){return e=>eI(e)}var Xk=class extends S4{constructor(e){super(e),this.useMatch=t=>ja({select:t?.select,from:this.id,structuralSharing:t?.structuralSharing}),this.useRouteContext=t=>Ex({...t,from:this.id}),this.useSearch=t=>_x({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useParams=t=>Sx({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useLoaderDeps=t=>wx({...t,from:this.id}),this.useLoaderData=t=>vx({...t,from:this.id}),this.useNavigate=()=>xx({from:this.fullPath}
12),this.Link=Vr.forwardRef((t,n)=>O.jsx(Oi,{ref:n,from:this.fullPath,...t}))}};function eI(e){return new Xk(e)}function vt(e){return new tI(e,{silent:!0}).createRoute}var tI=class{constructor(e,t){this.path=e,this.createRoute=n=>{const i=Zk(n);return i.isRoot=!1,i},this.silent=t?.silent}};function gt(e,t){let n,i,a,o;const l=()=>(n||(n=e().then(h=>{n=void 0,i=h[t??"default"]}).catch(h=>{if(a=h,mR(a)&&a instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const d=`tanstack_router_reload:${a.message}`;sessionStorage.getItem(d)||(sessionStorage.setItem(d,"1"),o=!0)}})),n),c=function(d){if(o)throw window.location.reload(),new Promise(()=>{});if(a)throw a;if(!i)if(yf)yf(l());else throw l();return P.createElement(i,d)};return c.preload=l,c}function nI(e){const t=nn(),n=`not-found-${Ot(t.stores.location,i=>i.pathname)}-${Ot(t.stores.status,i=>i)}`;return O.jsx(Bg,{getResetKey:()=>n,onCatch:(i,a)=>{if(on(i))e.onCatch?.(i,a);else throw i},errorComponent:({error:i})=>{if(on(i))return e.fallback?.(i);throw i},children:e.children})}function rI(){return O.jsx("p",{children:"Not Found"})}function Uo(e){return O.jsx(O.Fragment,{children:e.children})}function Cx(e,t,n){return t.options.notFoundComponent?O.jsx(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?O.jsx(e.options.defaultNotFoundComponent,{...n}):O.jsx(rI,{})}function iI(e){return null}function sI(){return iI(nn()),null}var aI=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,oI=(e,t)=>e[0]===t[0]&&e[1]===t[1],Tx=P.memo(function({matchId:t}){const n=nn(),i=n.stores.matchStores.get(t);i||Pn();const a=Ot(n.stores.loadedAt,l=>l),o=Ot(i,l=>l,aI);return O.jsx(uI,{router:n,matchId:t,resetKey:a,matchState:P.useMemo(()=>{const l=o.routeId,c=n.routesById[l].parentRoute?.id;return{routeId:l,ssr:o.ssr,_displayPending:o._displayPending,parentRouteId:c}},[o._displayPending,o.routeId,o.ssr,n.routesById])})});function uI({router:e,matchId:t,resetKey:n,matchState:i}){const a=e.routesById[i.routeId],o=a.options.pendingComponent??e.options.defaultPendingComponent,l=o?O.jsx(o,{}):null,c=a.options.errorComponent??e.options.defaultErrorComponent,h=a.options.onCatch??e.options.defaultOnCatch,d=a.isRoot?a.options.notFoundComponent??e.options.notFoundRoute?.options.component:a.options.notFoundComponent,p=i.ssr===!1||i.ssr==="data-only",m=(!a.isRoot||a.options.wrapInSuspense||p)&&(a.options.wrapInSuspense??o??(a.options.errorComponent?.preload||p))?P.Suspense:Uo,g=c?Bg:Uo,y=d?nI:Uo;return O.jsxs(a.isRoot?a.options.shellComponent??Uo:Uo,{children:[O.jsx(Hf.Provider,{value:t,children:O.jsx(m,{fallback:l,children:O.jsx(g,{getResetKey:()=>n,errorComponent:c||jg,onCatch:(v,x)=>{if(on(v))throw v.routeId??=i.routeId,v;h?.(v,x)},children:O.jsx(y,{fallback:v=>{if(v.routeId??=i.routeId,!d||v.routeId&&v.routeId!==i.routeId||!v.routeId&&!a.isRoot)throw v;return P.createElement(d,v)},children:p||i._displayPending?O.jsx(Ck,{fallback:l,children:O.jsx(F1,{matchId:t})}):O.jsx(F1,{matchId:t})})})})}),i.parentRouteId===Ta?O.jsxs(O.Fragment,{children:[O.jsx(lI,{}),e.options.scrollRestoration&&h2?O.jsx(sI,{}):null]}):null]})}function lI(){const e=nn(),t=P.useRef();return Al(()=>{const n=e.stores.resolvedLocation.get(),i=t.current;n&&(!i||i.href!==n.href)&&e.emit({type:"onRendered",...Yo(e.stores.location.get(),i??n)}),t.current=n},[Ot(e.stores.resolvedLocation,n=>n?.state.__TSR_key),e]),null}var F1=P.memo(function({matchId:t}){const n=nn(),i=(p,m)=>n.getMatch(p.id)?._nonReactive[m]??p._nonReactive[m],a=n.stores.matchStores.get(t);a||Pn();const o=Ot(a,p=>p),l=o.routeId,c=n.routesById[l],h=P.useMemo(()=>{const p=(n.routesById[l].options.remountDeps??n.options.defaultRemountDeps)?.({routeId:l,loaderDeps:o.loaderDeps,params:o._strictParams,search:o._strictSearch});return p?JSON.stringify(p):void 0},[l,o.loaderDeps,o._strictParams,o._strictSearch,n.options.defaultRemountDeps,n.routesById]),d=P.useMemo(()=>{const p=c.options.component??n.options.defaultComponent;return p?O.jsx(p,{},h):O.jsx(Rx,{})},[h,c.options.component,n.options.defaultComponent]);if(o._displayPending)throw i(o,"displayPendingPromise");if(o._forcePending)throw i(o,"minPendingPromise");if(o.status==="pending"){const p=c.options.pendingMinMs??n.options.defaultPendingMinMs;if(p){const m=n.getMatch(o.id);if(m&&!m._nonReactive.minPendingPromise){const g=Oa();m._nonReactive.minPendingPromise=g,setTimeout(()=>{g.resolve(),m._nonReactive.minPendingPromise=void 0},p)}}throw i(o,"loadPromise")}if(o.status==="notFound")return on(o.error)||Pn(),Cx(n,c,o.error);if(o.status==="redirected")throw mn(o.error)||Pn(),i(o,"loadPromise");if(o.status==="error")throw o.error;return d}),Rx=P.memo(function(){const t=nn(),n=P.useContext(Hf);let i,a=!1,o;{const d=n?t.stores.matchStores.get(n):void 0;[i,a]=Ot(d,p=>
12[p?.routeId,p?.globalNotFound??!1],oI),o=Ot(t.stores.matchesId,p=>p[p.findIndex(m=>m===n)+1])}const l=i?t.routesById[i]:void 0,c=t.options.defaultPendingComponent?O.jsx(t.options.defaultPendingComponent,{}):null;if(a)return l||Pn(),Cx(t,l,void 0);if(!o)return null;const h=O.jsx(Tx,{matchId:o});return i===Ta?O.jsx(P.Suspense,{fallback:c,children:h}):h});function cI(){const e=nn(),t=P.useRef({router:e,mounted:!1}),[n,i]=P.useState(!1),a=Ot(e.stores.isLoading,m=>m),o=Ot(e.stores.hasPending,m=>m),l=yp(a),c=a||n||o,h=yp(c),d=a||o,p=yp(d);return e.startTransition=m=>{i(!0),P.startTransition(()=>{m(),i(!1)})},P.useEffect(()=>{const m=e.history.subscribe(e.load),g=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Ri(e.latestLocation.publicHref)!==Ri(g.publicHref)&&e.commitLocation({...g,replace:!0}),()=>{m()}},[e,e.history]),Al(()=>{if(typeof window<"u"&&e.ssr||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(g){console.error(g)}})()},[e]),Al(()=>{l&&!a&&e.emit({type:"onLoad",...Yo(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,e,a]),Al(()=>{p&&!d&&e.emit({type:"onBeforeRouteMount",...Yo(e.stores.location.get(),e.stores.resolvedLocation.get())})},[d,p,e]),Al(()=>{if(h&&!c){const m=Yo(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...m}),Ax(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[c,h,e]),null}function dI(){const e=nn(),t=e.routesById[Ta].options.pendingComponent??e.options.defaultPendingComponent,n=t?O.jsx(t,{}):null,i=O.jsxs(typeof document<"u"&&e.ssr?Uo:P.Suspense,{fallback:n,children:[O.jsx(cI,{}),O.jsx(fI,{})]});return e.options.InnerWrap?O.jsx(e.options.InnerWrap,{children:i}):i}function fI(){const e=nn(),t=Ot(e.stores.firstId,a=>a),n=Ot(e.stores.loadedAt,a=>a),i=t?O.jsx(Tx,{matchId:t}):null;return O.jsx(Hf.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?i:O.jsx(Bg,{getResetKey:()=>n,errorComponent:jg,onCatch:void 0,children:i})})}var hI=e=>({createMutableStore:B1,createReadonlyStore:B1,batch:Ax}),pI=e=>new mI(e),mI=class extends l4{constructor(e){super(e,hI)}};function gI({router:e,children:t,...n}
12){m2(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});const i=O.jsx(mx.Provider,{value:e,children:t});return e.options.Wrap?O.jsx(e.options.Wrap,{children:i}):i}function AI({router:e,...t}){return O.jsx(gI,{router:e,...t,children:O.jsx(dI,{})})}function yI(e){const t=nn({warn:e?.router===void 0}),n=e?.router||t;return Ot(n.stores.__store,bx(e,n))}function H1(e,t){if(t)for(const[n,i]of Object.entries(t))n!=="suppressHydrationWarning"&&i!==void 0&&i!==!1&&e.setAttribute(n,typeof i=="boolean"?"":String(i))}function Ox(e){const{attrs:t,children:n,nonce:i,preventScriptHoist:a}=e;switch(e.tag){case"title":return O.jsx("title",{...t,suppressHydrationWarning:!0,children:n});case"meta":return O.jsx("meta",{...t,suppressHydrationWarning:!0});case"link":return O.jsx("link",{...t,precedence:t?.precedence??(t?.rel==="stylesheet"?"default":void 0),nonce:i,suppressHydrationWarning:!0});case"style":return e.inlineCss,O.jsx("style",{...t,dangerouslySetInnerHTML:{__html:n},nonce:i});case"script":return O.jsx(bI,{attrs:t,preventScriptHoist:a,children:n});default:return null}}function bI({attrs:e,children:t,preventScriptHoist:n}){nn();const i=Lg(),a=typeof e?.type=="string"&&e.type!==""&&e.type!=="text/javascript"&&e.type!=="module";if(P.useEffect(()=>{if(!a){if(e?.src){const o=(()=>{try{const c=document.baseURI||window.location.href;return new URL(e.src,c).href}catch{return e.src}})();for(const c of document.querySelectorAll("script[src]"))if(c.src===o)return;const l=document.createElement("script");return H1(l,e),document.head.appendChild(l),()=>l.remove()}if(typeof t=="string"){const o=typeof e?.type=="string"?e.type:"text/javascript",l=typeof e?.nonce=="string"?e.nonce:void 0;for(const h of document.querySelectorAll("script:not([src])")){if(!(h instanceof HTMLScriptElement))continue;const d=h.getAttribute("type")??"text/javascript",p=h.getAttribute("nonce")??void 0;if(h.textContent===t&&d===o&&p===l)return}const c=document.createElement("script");return c.textContent=t,H1(c,e),document.head.appendChild(c),()=>c.remove()}}},[e,t,a]),a&&typeof t=="string")return O.jsx("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!i){if(e?.src)return O.jsx("script",{...e,suppressHydrationWarning:!0});if(typeof t=="string")return O.jsx("script",{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var vI=e=>{const t=nn(),n=t.options.ssr?.nonce,i=Ot(t.stores.matches,m=>m.map(g=>g.meta).filter(g=>g!==void 0),En),a=P.useMemo(()=>{const m=[],g={};let y;for(let v=i.length-1;v>=0;v--){const x=i[v];for(let S=x.length-1;S>=0;S--){const w=x[S];if(w)if(w.title)y||(y={tag:"title",children:w.title});else if("script:ld+json"in w)try{const _=JSON.stringify(w["script:ld+json"]);m.push({tag:"script",attrs:{type:"application/ld+json"},children:wR(_)})}catch{}else{const _=w.name??w.property;if(_){if(g[_])continue;g[_]=!0}m.push({tag:"meta",attrs:{...w,nonce:n}})}}}return y&&m.push(y),n&&m.push({tag:"meta",attrs:{property:"csp-nonce",content:n}}),m.reverse(),m},[i,n]),o=Ot(t.stores.matches,m=>m.flatMap(g=>g.links??[]).filter(g=>g!==void 0).map(g=>({tag:"link",attrs:{...g,nonce:n}})),En),l=Ot(t.stores.matches,m=>{const g=t.ssr?.manifest,y=[];return g&&(m.forEach(v=>{g.routes[v.routeId]?.css?.forEach(x=>{const S=w4(x);y.push({tag:"link",attrs:{rel:"stylesheet",...S,crossOrigin:k2(e,"stylesheet")??S.crossOrigin,suppressHydrationWarning:!0,nonce:n}})})}),g.inlineStyle&&y.push({tag:"style",attrs:{...g.inlineStyle.attrs,nonce:n},children:g.inlineStyle.children,inlineCss:!0})),y},En),c=Ot(t.stores.matches,m=>{const g=[],y=t.ssr?.manifest;return y&&m.forEach(v=>{y.routes[v.routeId]?.preloads?.forEach(x=>{g.push({tag:"link",attrs:{...b4(y,x,e),nonce:n}})})}),g},En),h=Ot(t.stores.matches,m=>m.flatMap(g=>g.styles??[]).filter(g=>g!==void 0).map(({children:g,...y})=>({tag:"style",attrs:{...y,nonce:n},children:g})),En),d=Ot(t.stores.matches,m=>m.flatMap(g=>g.headScripts??[]).filter(g=>g!==void 0).map(({children:g,...y})=>({tag:"script",attrs:{...y,nonce:n},children:g})),En),p=[];return vd(p,a),p.push(...c),vd(p,o),p.push(...l),vd(p,h),vd(p,d),p};function wI(e){const t=vI(e.assetCrossOrigin),n=nn().options.ssr?.nonce;return O.jsx(O.Fragment,{children:t.map(i=>P.createElement(Ox,{...i,key:`tsr-meta-${JSON.stringify(i)}`,nonce:n}))})}var SI=()=>{const e=nn(),t=e.options.ssr?.nonce,n=o=>{const l=[],c=e.ssr?.manifest;if(!c)return[];for(const h of o){const d=c.routes[h.routeId]?.scripts;if(d)for(const p of d)l.push({tag:"script",attrs:{...p.attrs,nonce:t},children:p.children,...typeof p.attrs?.src=="string"?{preventScriptHoist:!0}:{}})}return l},i=o=>o.map(l=>
12l.scripts).flat(1).filter(Boolean).map(({children:l,...c})=>({tag:"script",attrs:{...c,suppressHydrationWarning:!0,nonce:t},children:l})),a=Ot(e.stores.matches,n,En);return _I(e,Ot(e.stores.matches,i,En),a)};function _I(e,t,n){const i=[...t,...n];return O.jsx(O.Fragment,{children:i.map((a,o)=>P.createElement(Ox,{...a,key:`tsr-scripts-${a.tag}-${o}`}))})}function ol(e){const t=nn();return P.useCallback(async(...n)=>{try{const i=await e(...n);if(mn(i))throw i;return i}catch(i){if(mn(i))return i.options._fromLocation=t.stores.location.get(),t.navigate(t.resolveRedirect(i).options);throw i}},[t,e])}function z1(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function Qm(e,t){const n=Object.create(null);if(e)for(const i of Object.keys(e))z1(i)&&(n[i]=e[i]);if(t&&typeof t=="object")for(const i of Object.keys(t))z1(i)&&(n[i]=t[i]);return n}function kx(e){return Object.create(null)}var Ix=()=>{throw new Error("createServerOnlyFn() functions can only be called on the server!")},Un=(e,t)=>{const n=t||e||{};typeof n.method>"u"&&(n.method="GET");const i=l=>Un(void 0,{...n,validator:l,inputValidator:l});return Object.assign(l=>Un(void 0,{...n,...l}),{options:n,middleware:l=>{const c=[...n.middleware||[]];l.map(d=>{e1 in d?d.options.middleware&&c.push(...d.options.middleware):c.push(d)});const h=Un(void 0,{...n,middleware:c});return h[e1]=!0,h},validator:i,inputValidator:i,handler:(...l)=>{const[c,h]=l,d={...n,extractedFn:c,serverFn:h},p=[...d.middleware||[],CI(d)];return c.method=n.method,Object.assign(async m=>{const g=await G1(p,"client",{...c,...d,data:m?.data,headers:m?.headers,signal:m?.signal,fetch:m?.fetch,context:kx()}),y=x2(g.error);if(y)throw y;if(g.error)throw g.error;return g.result},{...c,method:n.method,__executeServer:async m=>{const g=Ix(),y=g.contextAfterGlobalMiddlewares;return await G1(p,"server",{...c,...m,serverFnMeta:c.serverFnMeta,context:Qm(m.context,y),request:g.request}).then(v=>({result:v.result,error:v.error,context:v.sendContext}))}})}})};async function G1(e,t,n){let i=xI([...Cg()?.functionMiddleware||[],...e]);if(t==="server"){const o=Ix();o?.executedRequestMiddlewares&&(i=i.filter(l=>!o.executedRequestMiddlewares.has(l)))}const a=async o=>{const l=i.shift();if(!l)return o;try{let c="validator"in l.options?l.options.validator:void 0;!c&&"inputValidator"in l.options&&(c=l.options.inputValidator),c&&t==="server"&&(o.data=await EI(c,o.data));let h;if(t==="client"?"client"in l.options&&(h=l.options.client):"server"in l.options&&(h=l.options.server),h){const p=await h({...o,next:async(m={})=>{const g=await a({...o,...m,context:Qm(o.context,m.context),sendContext:Qm(o.sendContext,m.sendContext),headers:Ak(o.headers,m.headers),_callSiteFetch:o._callSiteFetch,fetch:o._callSiteFetch??m.fetch??o.fetch,result:m.result!==void 0?m.result:m instanceof Response?m:o.result,error:m.error??o.error});if(g.error)throw g.error;return g}});if(mn(p))return{...o,error:p};if(p instanceof Response)return{...o,result:p};if(!p)throw new Error("User middleware returned undefined. You must call next() or return a result in your middlewares.");return p}return a(o)}catch(c){return{...o,error:c}}};return a({...n,headers:n.headers||{},sendContext:n.sendContext||{},context:n.context||kx(),_callSiteFetch:n.fetch})}function xI(e,t=100){const n=new Set,i=[],a=(o,l)=>{if(l>t)throw new Error(`Middleware nesting depth exceeded maximum of ${t}. Check for circular references.`);o.forEach(c=>{c.options.middleware&&a(c.options.middleware,l+1),n.has(c)||(n.add(c),i.push(c))})};return a(e,0),i}async function EI(e,t){if(e==null)return{};if("~standard"in e){const n=await e["~standard"].validate(t);if(n.issues)throw new Error(JSON.stringify(n.issues,void 0,2));return n.value}if("parse"in e)return e.parse(t);if(typeof e=="function")return e(t);throw new Error("Invalid validator type!")}function CI(e){return{"~types":void 0,options:{inputValidator:e.validator??e.inputValidator,client:async({next:t,sendContext:n,fetch:i,...a})=>{const o={...a,context:n,fetch:i};return t(await e.extractedFn?.(o))},server:async({next:t,...n})=>{const i=await e.serverFn?.(n);return t({...n,result:i})}}}}var Os=(e,t)=>{const n={type:"request",...t||e},i=a=>Os({},Object.assign(n,{validator:a,inputValidator:a}));return{options:n,middleware:a=>Os({},Object.assign(n,{middleware:a}
12)),validator:i,inputValidator:i,client:a=>Os({},Object.assign(n,{client:a})),server:a=>Os({},Object.assign(n,{server:a}))}};function Nx(e,t){for(let n=0,i=t.length;n<i;n++){const a=t[n];e.has(a)||(e.add(a),a.extends&&Nx(e,a.extends))}}var TI=e=>({getOptions:async()=>{const t=await e();if(t.serializationAdapters){const n=new Set;Nx(n,t.serializationAdapters),t.serializationAdapters=Array.from(n)}return t},createMiddleware:Os}),Yr=function(){return Yr=Object.assign||function(t){for(var n,i=1,a=arguments.length;i<a;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Yr.apply(this,arguments)};function iu(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n}function RI(e,t,n,i){function a(o){return o instanceof n?o:new n(function(l){l(o)})}return new(n||(n=Promise))(function(o,l){function c(p){try{d(i.next(p))}catch(m){l(m)}}function h(p){try{d(i.throw(p))}catch(m){l(m)}}function d(p){p.done?o(p.value):a(p.value).then(c,h)}d((i=i.apply(e,t||[])).next())})}function OI(e,t,n){if(n||arguments.length===2)for(var i=0,a=t.length,o;i<a;
12i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}const kI=e=>e?(...t)=>e(...t):(...t)=>fetch(...t);class Ug extends Error{constructor(t,n="FunctionsError",i){super(t),this.name=n,this.context=i}toJSON(){return{name:this.name,message:this.message,context:this.context}}}class II extends Ug{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class q1 extends Ug{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class Q1 extends Ug{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var Km;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(Km||(Km={}));class NI{constructor(t,{headers:n={},customFetch:i,region:a=Km.Any}={}){this.url=t,this.headers=n,this.region=a,this.fetch=kI(i)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return RI(this,arguments,void 0,function*(n,i={}){var a;let o,l;try{const{headers:c,method:h,body:d,signal:p,timeout:m}=i;let g={},{region:y}=i;y||(y=this.region);const v=new URL(`${this.url}/${n}`);y&&y!=="any"&&(g["x-region"]=y,v.searchParams.set("forceFunctionRegion",y));let x;d&&(c&&!Object.prototype.hasOwnProperty.call(c,"Content-Type")||!c)?typeof Blob<"u"&&d instanceof Blob||d instanceof ArrayBuffer?(g["Content-Type"]="application/octet-stream",x=d):typeof d=="string"?(g["Content-Type"]="text/plain",x=d):typeof FormData<"u"&&d instanceof FormData?x=d:(g["Content-Type"]="application/json",x=JSON.stringify(d)):d&&typeof d!="string"&&!(typeof Blob<"u"&&d instanceof Blob)&&!(d instanceof ArrayBuffer)&&!(typeof FormData<"u"&&d instanceof FormData)?x=JSON.stringify(d):x=d;let S=p;m&&(l=new AbortController,o=setTimeout(()=>l.abort(),m),p?(S=l.signal,p.addEventListener("abort",()=>l.abort())):S=l.signal);const w=yield this.fetch(v.toString(),{method:h||"POST",headers:Object.assign(Object.assign(Object.assign({},g),this.headers),c),body:x,signal:S}).catch(C=>{throw new II(C)}),_=w.headers.get("x-relay-error");if(_&&_==="true")throw new q1(w);if(!w.ok)throw new Q1(w);let T=((a=w.headers.get("Content-Type"))!==null&&a!==void 0?a:"text/plain").split(";")[0].trim(),E;return T==="application/json"?E=yield w.json():T==="application/octet-stream"||T==="application/pdf"?E=yield w.blob():T==="text/event-stream"?E=w:T==="multipart/form-data"?E=yield w.formData():E=yield w.text(),{data:E,error:null,response:w}}catch(c){return{data:null,error:c,response:c instanceof Q1||c instanceof q1?c.context:void 0}}finally{o&&clearTimeout(o)}})}}const Dx=3,K1=e=>Math.min(1e3*2**e,3e4),DI=[520,503],Mx=["GET","HEAD","OPTIONS"];var Y1=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.co
12de=e.code}toJSON(){return{name:this.name,message:this.message,details:this.details,hint:this.hint,code:this.code}}};function V1(e,t){return new Promise(n=>{if(t?.aborted){n();return}const i=setTimeout(()=>{t?.removeEventListener("abort",a),n()},e);function a(){clearTimeout(i),n()}t?.addEventListener("abort",a)})}function MI(e,t,n,i){return!(!i||n>=Dx||!Mx.includes(e)||!DI.includes(t))}var BI=class{constructor(e){var t,n,i,a,o;this.shouldThrowOnError=!1,this.retryEnabled=!0,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,this.shouldStripNulls=(i=e.shouldStripNulls)!==null&&i!==void 0?i:!1,this.urlLengthLimit=(a=e.urlLengthLimit)!==null&&a!==void 0?a:8e3,this.retryEnabled=(o=e.retry)!==null&&o!==void 0?o:!0,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}stripNulls(){if(this.headers.get("Accept")==="text/csv")throw new Error("stripNulls() cannot be used with csv()");return this.shouldStripNulls=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}retry(e){return this.retryEnabled=e,this}then(e,t){var n=this;if(this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json"),this.shouldStripNulls){const l=this.headers.get("Accept");l==="application/vnd.pgrst.object+json"?this.headers.set("Accept","application/vnd.pgrst.object+json;nulls=stripped"):(!l||l==="application/json")&&this.headers.set("Accept","application/vnd.pgrst.array+json;nulls=stripped")}const i=this.fetch;let o=(async()=>{let l=0;for(;;){const d=new Headers(n.headers);l>0&&d.set("X-Retry-Count",String(l));let p;try{p=await i(n.url.toString(),{method:n.method,headers:d,body:JSON.stringify(n.body,(m,g)=>typeof g=="bigint"?g.toString():g),signal:n.signal})}catch(m){if(m?.name==="AbortError"||m?.code==="ABORT_ERR"||!Mx.includes(n.method))throw m;if(n.retryEnabled&&l<Dx){const g=K1(l);l++,await V1(g,n.signal);continue}throw m}if(MI(n.method,p.status,l,n.retryEnabled)){var c,h;const m=(c=(h=p.headers)===null||h===void 0?void 0:h.get("Retry-After"))!==null&&c!==void 0?c:null,g=m!==null?Math.max(0,parseInt(m,10)||0)*1e3:K1(l);await p.text(),l++,await V1(g,n.signal);continue}return await n.processResponse(p)}})();return this.shouldThrowOnError||(o=o.catch(l=>{var c;let h="",d="",p="";const m=l?.cause;if(m){var g,y,v,x;const _=(g=m?.message)!==null&&g!==void 0?g:"",T=(y=m?.code)!==null&&y!==void 0?y:"";h=`${(v=l?.name)!==null&&v!==void 0?v:"FetchError"}: ${l?.message}`,h+=`
13
14Caused by: ${(x=m?.name)!==null&&x!==void 0?x:"Error"}: ${_}`,T&&(h+=` (${T})`),m?.stack&&(h+=`
15${m.stack}`)}else{var S;h=(S=l?.stack)!==null&&S!==void 0?S:""}const w=this.url.toString().length;return l?.name==="AbortError"||l?.code==="ABORT_ERR"?(p="",d="Request was aborted (timeout or manual cancellation)",w>this.urlLengthLimit&&(d+=`. Note: Your request URL is ${w} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):(m?.name==="HeadersOverflowError"||m?.code==="UND_ERR_HEADERS_OVERFLOW")&&(p="",d="HTTP headers exceeded server limits (typically 16KB)",w>this.urlLengthLimit&&(d+=`. Your request URL is ${w} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{success:!1,error:{message:`${(c=l?.name)!==null&&c!==void 0?c:"FetchError"}: ${l?.message}`,details:h,hint:d,code:p},data:null,count:null,status:0,statusText:""}})),o.then(e,t)}async processResponse(e){var t=this;let n=null,i=null,a=null,o=e.status,l=e.statusText;if(e.ok){var c,h;if(t.method!=="HEAD"){var d;const g=await e.text();if(g!=="")if(t.headers.get("Accept")==="text/csv")i=g;else if(t.headers.get("Accept")&&(!((d=t.headers.get("Accept"))===null||d===void 0)&&d.includes("application/vnd.pgrst.plan+text")))i=g;else try{i=JSON.parse(g)}catch{if(n={message:g},i=null,t.shouldThrowOnError)throw new Y1({message:g,details:"",hint:"",code:""})}}const p=(c=t.headers.get("Prefer"))===null||c===void 0?void 0:c.match(/count=(exact|planned|estimated)/),m=(h=e.headers.get("content-range"))===null||h===void 0?void 0:h.split("/");p&&m&&m.length>1&&(a=parseInt(m[1])),t.isMaybeSingle&&Array.isArray(i)&&(i.length>1?(n={code:"PGRST116",details:`Results contain ${i.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},i=null,a=null,o=406,l="Not Acceptable"):i.length===1?i=i[0]:i=null)}else{const p=await e.text();try{n=JSON.parse(p),Array.isArray(n)&&e.status===404&&(i=[],n=null,o=200,l="OK")}catch{e.status===404&&p===""?(o=204,l="No Content"):n={message:p}}if(n&&t.shouldThrowOnError)throw new Y1(n)}return{success:n===null,error:n,data:i,count:a,status:o,statusText:l}}returns(){return this}overrideTypes(){return this}},jI=class extends BI{select(e){let t=!1;const n=(e??"*").split("").map(i=>/\s/.test(i)&&!t?"":(i==='"'&&(t=!t),i)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:i,referencedTable:a=i}={}){const o=a?`${a}.order`:"order",l=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${l?`${l},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const i=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(i,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:i=n}={}){const a=typeof i>"u"?"offset":`${i}.offset`,o=typeof i>"u"?"limit":`${i}.limit`;return this.url.searchParams.set(a,`${e}`),this.url.searchParams.set(o,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
15explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:i=!1,wal:a=!1,format:o="text"}={}){var l;const c=[e?"analyze":null,t?"verbose":null,n?"settings":null,i?"buffers":null,a?"wal":null].filter(Boolean).join("|"),h=(l=this.headers.get("Accept"))!==null&&l!==void 0?l:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${o}; for="${h}"; options=${c};`),o==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const W1=new RegExp("[,()]");var Fo=class extends jI{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(i=>typeof i=="string"&&W1.test(i)?`"${i}"`:`${i}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(i=>typeof i=="string"&&W1.test(i)?`"${i}"`:`${i}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:i}={}){let a="";i==="plain"?a="pl":i==="phrase"?a="ph":i==="websearch"&&(a="w");const o=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${a}fts${o}.${t}`),this}match(e){return Object.entries(e).filter(([t,n])=>n!==void 0).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const i=n?`${n}.or`:"or";return this.url.searchParams.append(i,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},LI=class{constructor(e,{headers:t={},schema:n,fetch:i,urlLengthLimit:a=8e3,retry:o}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=i,this.urlLengthLimit=a,this.retry=o}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:i}=t??{},a=n?"HEAD":"GET";let o=!1;const l=(e??"*").split("").map(d=>/\s/.test(d)&&!o?"":(d==='"'&&(o=!o),d)).join(""),{url:c,headers:h}=this.cloneRequestState();return c.searchParams.set("select",l),i&&h.append("Prefer",`count=${i}`),new Fo({method:a,url:c,headers:h,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}insert(e,{count:t,defaultToNull:n=!0}={}){var i;const a="POST",{url:o,headers:l}=this.cloneRequestState();if(t&&l.append("Prefer",`count=${t}`),n||l.append("Prefer","missing=default"),Array.isArray(e)){const c=e.reduce((h,d)=>h.concat(Object.keys(d)),[]);if(c.length>0){const h=[...new Set(c)].map(d=>`"${d}"`);o.searchParams.set("columns",h.join(","))}}return new Fo({method:a,url:o,headers:l,schema:this.schema,body:e,fetch:(i=this.fetch)!==null&&i!==void 0?i:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:i,defaultToNull:a=!0}={}){var o;const l="POST",{url:c,headers:h}=this.cloneRequestState();if(h.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&c.searchParams.set("on_conflict",t),i&&h.append("Prefer",`count=${i}`),a||h.append("Prefer","missing=default"),Array.isArray(e)){const d=e.reduce((p,m)=>p.concat(Object.keys(m)),[]);if(d.length>0){const p=[...new Set(d)].map(m=>`"${m}"`);c.searchParams.set("columns",p.join(","))}}return new Fo({method:l,url:c,headers:h,schema:this.schema,body:e,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}update(e,{count:t}={}){var n;const i="PATCH",{url:a,headers:o}=this.cloneRequestState();return t&&o.append("Prefer",`count=${t}`),new Fo({method:i,url:a,headers:o,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}delete({count:e}={}){var t;const n="DELETE",{url:i,headers:a}=this.cloneRequestState();return e&&a.append("Prefer",`count=${e}`),new Fo({method:n,url:i,headers:a,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};function Nl(e){"@babel/helpers - typeof";return Nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nl(e)}function PI(e,t){if(Nl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(Nl(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function UI(e){var t=PI(e,"string");return Nl(t)=="symbol"?t:t+""}
15function FI(e,t,n){return(t=UI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function _d(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?J1(Object(n),!0).forEach(function(i){FI(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J1(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var HI=class Bx{constructor(t,{headers:n={},schema:i,fetch:a,timeout:o,urlLengthLimit:l=8e3,retry:c}={}){this.url=t,this.headers=new Headers(n),this.schemaName=i,this.urlLengthLimit=l;const h=a??globalThis.fetch;o!==void 0&&o>0?this.fetch=(d,p)=>{const m=new AbortController,g=setTimeout(()=>m.abort(),o),y=p?.signal;if(y){if(y.aborted)return clearTimeout(g),h(d,p);const v=()=>{clearTimeout(g),m.abort()};return y.addEventListener("abort",v,{once:!0}),h(d,_d(_d({},p),{},{signal:m.signal})).finally(()=>{clearTimeout(g),y.removeEventListener("abort",v)})}return h(d,_d(_d({},p),{},{signal:m.signal})).finally(()=>clearTimeout(g))}:this.fetch=h,this.retry=c}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new LI(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}schema(t){return new Bx(this.url,{headers:this.headers,schema:t,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}rpc(t,n={},{head:i=!1,get:a=!1,count:o}={}){var l;let c;const h=new URL(`${this.url}/rpc/${t}`);let d;const p=y=>y!==null&&typeof y=="object"&&(!Array.isArray(y)||y.some(p)),m=i&&Object.values(n).some(p);m?(c="POST",d=n):i||a?(c=i?"HEAD":"GET",Object.entries(n).filter(([y,v])=>v!==void 0).map(([y,v])=>[y,Array.isArray(v)?`{${v.join(",")}}`:`${v}`]).forEach(([y,v])=>{h.searchParams.append(y,v)})):(c="POST",d=n);const g=new Headers(this.headers);return m?g.set("Prefer",o?`count=${o},return=minimal`:"return=minimal"):o&&g.set("Prefer",`count=${o}`),new Fo({method:c,url:h,headers:g,schema:this.schemaName,body:d,fetch:(l=this.fetch)!==null&&l!==void 0?l:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};class zI{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",wsConstructor:WebSocket};const n=globalThis;if(typeof globalThis<"u"&&typeof n.WebSocket<"u")return{type:"native",wsConstructor:n.WebSocket};const i=typeof global<"u"?global:void 0;if(i&&typeof i.WebSocket<"u")return{type:"native",wsConstructor:i.WebSocket};if(typeof globalThis<"u"&&typeof n.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&n.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const a=globalThis.process;if(a){const o=a.versions;if(o&&o.node){const l=o.node,c=parseInt(l.replace(/^v/,"").split(".")[0]);return c>=22?typeof globalThis.WebSocket<"u"?{type:"native",wsConstructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${c} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${c} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
16import ws from "ws"
17new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.wsConstructor)return t.wsConstructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=`
18
19Suggested solution: ${t.workaround}`),new Error(n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const GI="2.107.0",qI=`realtime-js/${GI}`,QI="1.0.0",jx="2.0.0",KI=jx,YI=1e4,VI=100,xs={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Lx={close:"phx_close",error:"phx_error",join:"phx_join",leave:"phx_leave",access_token:"access_token"},Ym={connecting:"connecting",closing:"closing",closed:"closed"};class WI{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let i=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(i))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,i;const a=(i=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&i!==void 0?i:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,a)}_encodeJsonUserBroadcastPush(t){var n,i;const a=(i=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&i!==void 0?i:{},l=new TextEncoder().encode(JSON.stringify(a)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,l)}_encodeUserBroadcastPush(t,n,i){var a,o;const l=t.topic,c=(a=t.ref)!==null&&a!==void 0?a:"",h=(o=t.join_ref)!==null&&o!==void 0?o:"",d=t.payload.event,p=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},m=Object.keys(p).length===0?"":JSON.stringify(p);if(h.length>255)throw new Error(`joinRef length ${h.length} exceeds maximum of 255`);if(c.length>255)throw new Error(`ref length ${c.length} exceeds maximum of 255`);if(l.length>255)throw new Error(`topic length ${l.length} exceeds maximum of 255`);if(d.length>255)throw new Error(`userEvent length ${d.length} exceeds maximum of 255`);if(m.length>255)throw new Error(`metadata length ${m.length} exceeds maximum of 255`);const g=this.USER_BROADCAST_PUSH_META_LENGTH+h.length+c.length+l.length+d.length+m.length,y=new ArrayBuffer(this.HEADER_LENGTH+g);let v=new DataView(y),x=0;v.setUint8(x++,this.KINDS.userBroadcastPush),v.setUint8(x++,h.length),v.setUint8(x++,c.length),v.setUint8(x++,l.length),v.setUint8(x++,d.length),v.setUint8(x++,m.length),v.setUint8(x++,n),Array.from(h,w=>
19v.setUint8(x++,w.charCodeAt(0))),Array.from(c,w=>v.setUint8(x++,w.charCodeAt(0))),Array.from(l,w=>v.setUint8(x++,w.charCodeAt(0))),Array.from(d,w=>v.setUint8(x++,w.charCodeAt(0))),Array.from(m,w=>v.setUint8(x++,w.charCodeAt(0)));var S=new Uint8Array(y.byteLength+i.byteLength);return S.set(new Uint8Array(y),0),S.set(new Uint8Array(i),y.byteLength),S.buffer}decode(t,n){if(this._isArrayBuffer(t)){let i=this._binaryDecode(t);return n(i)}if(typeof t=="string"){const i=JSON.parse(t),[a,o,l,c,h]=i;return n({join_ref:a,ref:o,topic:l,event:c,payload:h})}return n({})}_binaryDecode(t){const n=new DataView(t),i=n.getUint8(0),a=new TextDecoder;if(i===this.KINDS.userBroadcast)return this._decodeUserBroadcast(t,n,a)}_decodeUserBroadcast(t,n,i){const a=n.getUint8(1),o=n.getUint8(2),l=n.getUint8(3),c=n.getUint8(4);let h=this.HEADER_LENGTH+4;const d=i.decode(t.slice(h,h+a));h=h+a;const p=i.decode(t.slice(h,h+o));h=h+o;const m=i.decode(t.slice(h,h+l));h=h+l;const g=t.slice(h,t.byteLength),y=c===this.JSON_ENCODING?JSON.parse(i.decode(g)):g,v={type:this.BROADCAST_EVENT,event:p,payload:y};return l>0&&(v.meta=JSON.parse(m)),{join_ref:null,ref:null,topic:d,event:this.BROADCAST_EVENT,payload:v}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t?.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([i])=>n.includes(i)))}}var _t;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(_t||(_t={}));const Z1=(e,t,n={})=>{var i;const a=(i=n.skipTypes)!==null&&i!==void 0?i:[];return t?Object.keys(t).reduce((o,l)=>(o[l]=JI(l,e,t,a),o),{}):{}},JI=(e,t,n,i)=>{const a=t.find(c=>c.name===e),o=a?.type,l=n[e];return o&&!i.includes(o)?Px(o,l):Vm(l)},Px=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return eN(t,n)}switch(e){case _t.bool:return ZI(t);case _t.float4:case _t.float8:case _t.int2:case _t.int4:case _t.int8:case _t.numeric:case _t.oid:return $I(t);case _t.json:case _t.jsonb:return XI(t);case _t.timestamp:return tN(t);case _t.abstime:case _t.date:case _t.daterange:case _t.int4range:case _t.int8range:case _t.money:case _t.reltime:case _t.text:case _t.time:case _t.timestamptz:case _t.timetz:case _t.tsrange:case _t.tstzrange:return Vm(t);default:return Vm(t)}},Vm=e=>e,ZI=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},$I=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},XI=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},eN=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,i=e[n];if(e[0]==="{"&&i==="}"){let o;const l=e.slice(1,n);try{o=JSON.parse("["+l+"]")}catch{o=l?l.split(","):[]}return o.map(c=>Px(t,c))}return e},tN=e=>typeof e=="string"?e.replace(" ","T"):e,Ux=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};var xl=e=>typeof e=="function"?e:function(){return e},nN=typeof self<"u"?self:null,Ho=typeof window<"u"?window:null,qr=nN||Ho||globalThis,rN="2.0.0",iN=1e4,sN=1e3,Kr={connecting:0,open:1,closing:2,closed:3},Bn={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Ci={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},Wm={longpoll:"longpoll",websocket:"websocket"},aN={complete:4},Jm="base64url.bearer.phx.",xd=class{constructor(e,t,n,i){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=i,this.timeoutTimer=null,this.recHo
vendor: 8,700 bytes, line 19
19oks=[],this.sent=!1,this.ref=void 0}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}destroy(){this.cancelRefEvent(),this.cancelTimeout()}matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(i=>i.status===e).forEach(i=>i.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},Fx=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},oN=class{constructor(e,t,n){this.state=Bn.closed,this.topic=e,this.params=xl(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new xd(this,Ci.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new Fx(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=Bn.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",i=>{this.state=Bn.errored,this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,i),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic}`),this.state=Bn.closed,this.socket.remove(this)}),this.onError(i=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,i),this.isJoining()&&this.joinPush.reset(),this.state=Bn.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),new xd(this,Ci.leave,xl({}),this.timeout).send(),this.state=Bn.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Ci.reply,(i,a)=>{this.trigger(this.replyEventName(a),i)})}join(e=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=Bn.closed,this.bindings=[]}onClose(e){this.on(Ci.close,e)}onError(e){return this.on(Ci.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let i=new xd(this,e,function(){return t},n);return this.canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Bn.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Ci.close,"leave")},n=new xd(this,Ci.leave,xl({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}filterBindings(e,t,n){return!0}isMember(e,t,n,i){return this.topic!==e?!1:i&&i!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:i}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Bn.joining,this.joinPush.resend(e))}trigger(e,t,n,i){let a=this.onMessage(e,t,n,i);if(t&&!a)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(l=>l.event===e&&this.filterBindings(l,t,n));for(let l=0;l<o.length;l++)o[l].callback(a,n,i||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===Bn.closed}isErrored(){return this.state===Bn.errored}isJoined(){return this.state===Bn.joined}isJoining(){return this.state===Bn.joining}isLeaving(){return this.state===Bn.leaving}},vf=class{static request(e,t,n,i,a,o,l){if(qr.XDomainRequest){let c=new qr.XDomainRequest;return this.xdomainRequest(c,e,t,i,a,o,l)}else if(qr.XMLHttpRequest){let c=new qr.XMLHttpRequest;return this.xhrRequest(c,e,t,n,i,a,o,l)}else{if(qr.fetch&&qr.AbortController)return this.fetchRequest(e,t,n,i,a,o,l);throw new Error("No suitable XMLHttpRequest implementation found")}}static fetchRequest(e,t,n,i,a,o,l){let c={method:e,headers:n,body:i},h=null;return a&&(h=new AbortController,setTimeout(()=>h.abort(),a),c.signal=h.signal),qr.fetch(t,c).then(d=>d.text()).then(d=>this.parseJSON(d)).then(d=>l&&l(d)).catch(d=>{d.name==="AbortError"&&o?o():l&&l(null)}),h}static xdomainRequest(e,t,n,i,a,o,l){return e.timeout=a,e.open(t,n),e.onload=()=>{let c=this.parseJSON(e.responseText);l&&l(c)},o&&(e.ontimeout=o),e.onprogress=()=>{},e.send(i),e}static xhrRequest(e,t,n,i,a,o,l,c){e.open(t,n,!0),e.timeout=o;for(let[h,d]of Object.entries(i))e.setRequestHeader(h,d);return e.onerror=()=>c&&c(null),e.onreadystatechange=()=>{if(e.readyState===aN.complete&&c){let h=this.parseJSON(e.responseText);c(h)}},l&&(e.ontimeout=l),e.send(a),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a=t?`${t}[${i}]`:i,o=e[i];typeof o=="object"?n.push(this.serialize(o,a)):n.push(encodeURIComponent(a)+"="+encodeURIComponent(o))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},uN=e=>{let t="",n=new Uint8Array(e),i=n.byteLength;for(let a=0;a<i;a++)t+=String.fromCharCode(n[a]);return btoa(t)},Ro=class{constructor(e,t){t&&t.length===2&&t[1].startsWith(Jm)&&(this.authToken=atob(t[1].slice(Jm.length))),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(e),this.readyState=Kr.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+Wm.websocket),"$1/"+Wm.longpoll)}endpointURL(){return vf.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=Kr.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Kr.open||this.readyState===Kr.connecting}poll(){const e={Accept:"application/json"};this.authToken&&(e["X-Phoenix-AuthToken"]=this.authToken),this.ajax("GET",e,null,()=>this.ontimeout(),t=>{if(t){var{status:n,token:i,messages:a}=t;if(n===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,"session_gone",!1);return}this.token=i}else n=0;switch(n){case 200:a.forEach(o=>{setTimeout(()=>this.onmessage({data:o}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Kr.open,this.onopen({}),this.poll();break;
19case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${n}`)}})}send(e){typeof e!="string"&&(e=uN(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax("POST",{"Content-Type":"application/x-ndjson"},e.join(`
20`),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let a of this.reqs)a.abort();this.readyState=Kr.closed;let i=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",i)):this.onclose(i)}ajax(e,t,n,i,a){let o,l=()=>{this.reqs.delete(o),i()};o=vf.request(e,this.endpointURL(),t,n,this.timeout,l,c=>{this.reqs.delete(o),this.isActive()&&a(c)}),this.reqs.add(o)}},lN=class yl{constructor(t,n={}){let i=n.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(i.state,a=>{let{onJoin:o,onLeave:l,onSync:c}=this.caller;this.joinRef=this.channel.joinRef(),this.state=yl.syncState(this.state,a,o,l),this.pendingDiffs.forEach(h=>{this.state=yl.syncDiff(this.state,h,o,l)}),this.pendingDiffs=[],c()}),this.channel.on(i.diff,a=>{let{onJoin:o,onLeave:l,onSync:c}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(a):(this.state=yl.syncDiff(this.state,a,o,l),c())})}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}list(t){return yl.list(this.state,t)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(t,n,i,a){let o=this.clone(t),l={},c={};return this.map(o,(h,d)=>{n[h]||(c[h]=d)}),this.map(n,(h,d)=>{let p=o[h];if(p){let m=d.metas.map(x=>x.phx_ref),g=p.metas.map(x=>x.phx_ref),y=d.metas.filter(x=>g.indexOf(x.phx_ref)<0),v=p.metas.filter(x=>m.indexOf(x.phx_ref)<0);y.length>0&&(l[h]=d,l[h].metas=y),v.length>0&&(c[h]=this.clone(p),c[h].metas=v)}else l[h]=d}),this.syncDiff(o,{joins:l,leaves:c},i,a)}static syncDiff(t,n,i,a){let{joins:o,leaves:l}=this.clone(n);return i||(i=function(){}),a||(a=function(){}),this.map(o,(c,h)=>{let d=t[c];if(t[c]=this.clone(h),d){let p=t[c].metas.map(g=>g.phx_ref),m=d.metas.filter(g=>p.indexOf(g.phx_ref)<0);t[c].metas.unshift(...m)}i(c,d,h)}),this.map(l,(c,h)=>{let d=t[c];if(!d)return;let p=h.metas.map(m=>m.phx_ref);d.metas=d.metas.filter(m=>p.indexOf(m.phx_ref)<0),a(c,d,h),d.metas.length===0&&delete t[c]}),t}static list(t,n){return n||(n=function(i,a){return a}),this.map(t,(i,a)=>n(i,a))}static map(t,n){return Object.getOwnPropertyNames(t).map(i=>n(i,t[i]))}static clone(t){return JSON.parse(JSON.stringify(t))}},Ed={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,i,a,o,l]=JSON.parse(e);return t({join_ref:n,ref:i,topic:a,event:o,payload:l})}},binaryEncode(e){let{join_ref:t,ref:n,event:i,topic:a,payload:o}=e,l=this.META_LENGTH+t.length+n.length+a.length+i.length,c=new ArrayBuffer(this.HEADER_LENGTH+l),h=new DataView(c),d=0;h.setUint8(d++,this.KINDS.push),h.setUint8(d++,t.length),h.setUint8(d++,n.length),h.setUint8(d++,a.length),h.setUint8(d++,i.length),Array.from(t,m=>h.setUint8(d++,m.charCodeAt(0))),Array.from(n,m=>h.setUint8(d++,m.charCodeAt(0))),Array.from(a,m=>h.setUint8(d++,m.charCodeAt(0))),Array.from(i,m=>h.setUint8(d++,m.charCodeAt(0)));var p=new Uint8Array(c.byteLength+o.byteLength);
20return p.set(new Uint8Array(c),0),p.set(new Uint8Array(o),c.byteLength),p.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),i=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,i);case this.KINDS.reply:return this.decodeReply(e,t,i);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,i)}},decodePush(e,t,n){let i=t.getUint8(1),a=t.getUint8(2),o=t.getUint8(3),l=this.HEADER_LENGTH+this.META_LENGTH-1,c=n.decode(e.slice(l,l+i));l=l+i;let h=n.decode(e.slice(l,l+a));l=l+a;let d=n.decode(e.slice(l,l+o));l=l+o;let p=e.slice(l,e.byteLength);return{join_ref:c,ref:null,topic:h,event:d,payload:p}},decodeReply(e,t,n){let i=t.getUint8(1),a=t.getUint8(2),o=t.getUint8(3),l=t.getUint8(4),c=this.HEADER_LENGTH+this.META_LENGTH,h=n.decode(e.slice(c,c+i));c=c+i;let d=n.decode(e.slice(c,c+a));c=c+a;let p=n.decode(e.slice(c,c+o));c=c+o;let m=n.decode(e.slice(c,c+l));c=c+l;let g=e.slice(c,e.byteLength),y={status:m,response:g};return{join_ref:h,ref:d,topic:p,event:Ci.reply,payload:y}},decodeBroadcast(e,t,n){let i=t.getUint8(1),a=t.getUint8(2),o=this.HEADER_LENGTH+2,l=n.decode(e.slice(o,o+i));o=o+i;let c=n.decode(e.slice(o,o+a));o=o+a;let h=e.slice(o,e.byteLength);return{join_ref:null,ref:null,topic:l,event:c,payload:h}}},cN=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||iN,this.transport=t.transport||qr.WebSocket||Ro,this.conn=void 0,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null;let n=null;try{n=qr&&qr.sessionStorage}catch{}this.sessionStore=t.sessionStorage||n,this.establishedConnections=0,this.defaultEncoder=Ed.encode.bind(Ed),this.defaultDecoder=Ed.decode.bind(Ed),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||"arraybuffer",this.connectClock=1,this.pageHidden=!1,this.encode=void 0,this.decode=void 0,this.transport!==Ro?(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let i=null;Ho&&Ho.addEventListener&&(Ho.addEventListener("pagehide",a=>{this.conn&&(this.disconnect(),i=this.connectClock)}),Ho.addEventListener("pageshow",a=>{i===this.connectClock&&(i=null,this.connect())}),Ho.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.autoSendHeartbeat=t.autoSendHeartbeat??!0,this.heartbeatCallback=t.heartbeatCallback??(()=>{}),this.rejoinAfterMs=a=>t.rejoinAfterMs?t.rejoinAfterMs(a):[1e3,2e3,5e3][a-1]||1e4,this.reconnectAfterMs=a=>t.reconnectAfterMs?t.reconnectAfterMs(a):[10,50,100,150,200,250,500,1e3,2e3][a-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(a,o,l)=>{console.log(`${a}: ${o}`,l)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=xl(t.params||{}),this.endPoint=`${e}/${Wm.websocket}`,this.vsn=t.vsn||rN,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.heartbeatSentAt=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new Fx(()=>{if(this.pageHidden){this.log("Not reconnecting as page is hidden!"),this.teardown();return}this.teardown(async()=>{t.beforeReconnect&&await t.beforeReconnect(),this.connect()})},this.reconnectAfterMs),this.authToken=t.authToken}getLongPollTransport(){return Ro}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=e}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let e=vf.appendParams(vf.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)!=="/"?e:e.charAt(1)==="/"?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=xl(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==Ro?this.connectWithF
vendor: 4,353 bytes, line 20
20allback(Ro,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}onHeartbeat(e){this.heartbeatCallback=e}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:t});let i=this.onMessage(a=>{a.ref===t&&(this.off([i]),e(Date.now()-n))});return!0}transportName(e){return e===Ro?"LongPoll":e.name}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=["phoenix",`${Jm}${btoa(this.authToken).replace(/=/g,"")}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,i=!0,a,o,l=this.transportName(e),c=h=>{this.log("transport",`falling back to ${l}...`,h),this.off([a,o]),i=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${l}`))return c("memorized");this.fallbackTimer=setTimeout(c,t),o=this.onError(h=>{this.log("transport","error",h),i&&!n&&(clearTimeout(this.fallbackTimer),c(h))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!i){let h=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${h}`,"true"),this.log("transport",`established ${h} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(c,t),this.ping(h=>{this.log("transport","connected to primary after",h),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.autoSendHeartbeat&&this.resetHeartbeat(),this.triggerStateCallbacks("open")}heartbeatTimeout(){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(e){this.log("error","error in heartbeat callback",e)}this.triggerChanError(new Error("heartbeat timeout")),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),sN,"heartbeat timeout")}}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();const i=this.conn;this.waitForBufferDone(i,()=>{t?i.close(t,n||""):i.close(),this.waitForSocketClosed(i,()=>{this.conn===i&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===Kr.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{}),this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(e),this.clearHeartbeats(),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.triggerStateCallbacks("close",e)}onConnError(e){this.hasLogger()&&this.log("transport","error",e);let t=this.transport,n=this.establishedConnections;this.triggerStateCallbacks("error",e,t,n),(t===this.transport||n>0)&&this.triggerChanError(e)}
20triggerChanError(e){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(Ci.error,e)})}connectionState(){switch(this.conn&&this.conn.readyState){case Kr.connecting:return"connecting";case Kr.open:return"open";case Kr.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([n])=>e.indexOf(n)===-1)}channel(e,t={}){let n=new oN(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:i,ref:a,join_ref:o}=e;this.log("push",`${t} ${n} (${o}, ${a})`,i)}this.isConnected()?this.encode(e,t=>this.conn.send(t)):this.sendBuffer.push(()=>this.encode(e,t=>this.conn.send(t)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(e){this.log("error","error in heartbeat callback",e)}return}if(this.pendingHeartbeatRef){this.heartbeatTimeout();return}this.pendingHeartbeatRef=this.makeRef(),this.heartbeatSentAt=Date.now(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(e){this.log("error","error in heartbeat callback",e)}this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs)}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,t=>{let{topic:n,event:i,payload:a,ref:o,join_ref:l}=t;if(o&&o===this.pendingHeartbeatRef){const c=this.heartbeatSentAt?Date.now()-this.heartbeatSentAt:void 0;this.clearHeartbeats();try{this.heartbeatCallback(a.status==="ok"?"ok":"error",c)}catch(h){this.log("error","error in heartbeat callback",h)}this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.autoSendHeartbeat&&(this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}this.hasLogger()&&this.log("receive",`${a.status||""} ${n} ${i} ${o&&"("+o+")"||""}`.trim(),a);for(let c=0;c<this.channels.length;c++){const h=this.channels[c];h.isMember(n,i,a,l)&&h.trigger(i,a,o,l)}this.triggerStateCallbacks("message",t)})}triggerStateCallbacks(e,...t){try{this.stateChangeCallbacks[e].forEach(([n,i])=>{try{i(...t)}catch(a){this.log("error",`error in ${e} callback`,a)}})}catch(n){this.log("error",`error triggering ${e} callbacks`,n)}}leaveOpenTopic(e){let t=this.channels.find(n=>n.topic===e&&(n.isJoined()||n.isJoining()));t&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${e}"`),t.leave())}};class El{constructor(t,n){const i=fN(n);this.presence=new lN(t.getChannel(),i),this.presence.onJoin((a,o,l)=>{const c=El.onJoinPayload(a,o,l);t.getChannel().trigger("presence",c)}),this.presence.onLeave((a,o,l)=>{const c=El.onLeavePayload(a,o,l);t.getChannel().trigger("presence",c)}),this.presence.onSync(()=>{t.getChannel().trigger("presence",{event:"sync"})})}get state(){return El.transformState(this.presence.state)}static transformState(t){return t=dN(t),Object.getOwnPropertyNames(t).reduce((n,i)=>{const a=t[i];return n[i]=of(a),n},{})}static onJoinPayload(t,n,i){const a=$1(n),o=of(i);return{event:"join",key:t,currentPresences:a,newPresences:o}}static onLeavePayload(t,n,i){const a=$1(n),o=of(i);return{event:"leave",key:t,currentPresences:a,leftPresences:o}}}function of(e){return e.metas.map(t=>(t.presence_ref=t.phx_ref,delete t.phx_ref,delete t.phx_ref_prev,t))}function dN(e){return JSON.parse(JSON.stringify(e))}function fN(e){return e?.events&&{events:e.events}}function $1(e){return e?.metas?of(e):[]}var X1;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(X1||(X1={}));class hN{get state(){return this.presenceAdapter.state}constructor(t,n){this.channel=t,this.presenceAdapter=new El(this.channel.channelAdapter,n)}}function pN(e){if(e instanceof Error)return e;if(typeof e=="string")return new Error(e);
20if(e&&typeof e=="object"){const t=e;if(typeof t.code=="number"){const n=typeof t.reason=="string"&&t.reason?` (${t.reason})`:"";return new Error(`socket closed: ${t.code}${n}`,{cause:e})}return new Error("channel error: transport failure",{cause:e})}return new Error("channel error: connection lost")}class mN{constructor(t,n,i){const a=gN(i);this.channel=t.getSocket().channel(n,a),this.socket=t}get state(){return this.channel.state}set state(t){this.channel.state=t}get joinedOnce(){return this.channel.joinedOnce}get joinPush(){return this.channel.joinPush}get rejoinTimer(){return this.channel.rejoinTimer}on(t,n){return this.channel.on(t,n)}off(t,n){this.channel.off(t,n)}subscribe(t){return this.channel.join(t)}unsubscribe(t){return this.channel.leave(t)}teardown(){this.channel.teardown()}onClose(t){this.channel.onClose(t)}onError(t){return this.channel.onError(t)}push(t,n,i){let a;try{a=this.channel.push(t,n,i)}catch{throw new Error(`tried to push '${t}' to '${this.channel.topic}' before joining. Use channel.subscribe() before pushing events`)}if(this.channel.pushBuffer.length>VI){const o=this.channel.pushBuffer.shift();o.cancelTimeout(),this.socket.log("channel",`discarded push due to buffer overflow: ${o.event}`,o.payload())}return a}updateJoinPayload(t){const n=this.channel.joinPush.payload();this.channel.joinPush.payload=()=>Object.assign(Object.assign({},n),t)}canPush(){return this.socket.isConnected()&&this.state===xs.joined}isJoined(){return this.state===xs.joined}isJoining(){return this.state===xs.joining}isClosed(){return this.state===xs.closed}isLeaving(){return this.state===xs.leaving}updateFilterBindings(t){this.channel.filterBindings=t}updatePayloadTransform(t){this.channel.onMessage=t}getChannel(){return this.channel}}function gN(e){return{config:Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},e.config)}}var ew;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(ew||(ew={}));var Ko;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(Ko||(Ko={}));var Ti;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(Ti||(Ti={}));class Cl{get state(){return this.channelAdapter.state}set state(t){this.channelAdapter.state=t}get joinedOnce(){return this.channelAdapter.joinedOnce}get timeout(){return this.socket.timeout}get joinPush(){return this.channelAdapter.joinPush}get rejoinTimer(){return this.channelAdapter.rejoinTimer}constructor(t,n={config:{}},i){var a,o;if(this.topic=t,this.params=n,this.socket=i,this.bindings={},this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.channelAdapter=new mN(this.socket.socketAdapter,t,this.params),this.presence=new hN(this),this._onClose(()=>{this.socket._remove(this)}),this._updateFilterTransform(),this.broadcastEndpointURL=Ux(this.socket.socketAdapter.endPointURL()),this.private=this.params.config.private||!1,!this.private&&(!((o=(a=this.params.config)===null||a===void 0?void 0:a.broadcast)===null||o===void 0)&&o.replay))throw new Error(`tried to use replay on public channel '${this.topic}'. It must be a private channel.`)}subscribe(t,n=this.timeout){var i,a,o;if(this.socket.isConnected()||this.socket.connect(),this.channelAdapter.isClosed()){const{config:{broadcast:l,presence:c,private:h}}=this.params,d=(a=(i=this.bindings.postgres_changes)===null||i===void 0?void 0:i.map(y=>y.filter))!==null&&a!==void 0?a:[],p=!!this.bindings[Ko.PRESENCE]&&this.bindings[Ko.PRESENCE].length>0||((o=this.params.config.presence)===null||o===void 0?void 0:o.enabled)===!0,m={},g={broadcast:l,presence:Object.assign(Object.assign({},c),{enabled:p}),postgres_changes:d,private:h};this.socket.accessTokenValue&&(m.access_token=this.socket.accessTokenValue),this._onError(y=>{t?.(Ti.CHANNEL_ERROR,pN(y))}),this._onClose(()=>t?.(Ti.CLOSED)),this.updateJoinPayload(Object.assign({config:g},m)),this._updateFilterMessage(),this.channelAdapter.subscribe(n).receive("ok",async({postgres_changes:y})=>{if(this.socket._isManualToken()||this.socket.setAuth(),y===void 0){t?.(Ti.SUBSCRIBED);return}this._updatePostgresBindings(y,t)}).receive("error",y=>{this.state=xs.errored;const v=Object.values(y).join(", ")||"error";t?.(Ti.CHANNEL_ERROR,new Error(v,{cause:y}))}).receive("timeout",()=>{t?.(Ti.TIMED_OUT)})}return this}_updatePostgresBindings(t,n){var i;const a=this.bindings.postgres_changes,o=(i=a?.length)!==null&&i!==void 0?i:0,l=[];for(let c=0;c<o;c++){const h=a[c],{filter:{event:d,schema:p,table:m,filter:g}}=h,y=t&&t[c];if(y&&y.event===d&&Cl.isFilterValueEqual(y.schema,p)&&Cl.isFilterValueEqual(y.table,m)&&Cl.isFilterValueEqual(y.filter,g))l.push(Object.assign(Object.assign({},h),{id:y.id}));else{this.unsubscribe(),this.state=xs.errored,n?.(Ti.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=l,this.state!=xs.errored&&n&&n(Ti.SUBSCRIBED)}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,i){const a=this.channelAdapter.isJoined()||this.channelAdapter.isJoining(),o=t===Ko.PRESENCE||t===Ko.POSTGRES_CHANGES;if(a&&o)throw this.socket.log("channel",`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`),new Error(`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`);return this._on(t,n,i)}async httpSend(t,n,i={}){var a;if(n==null)return Promise.reject(new Error("Payload is required for httpSend()"));const o=n instanceof ArrayBuffer||ArrayBuffer.isView(n),l={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":o?"application/octet-stream":"application/json"};this.socket.accessTokenValue&&(l.Authorization=`Bearer ${this.socket.accessTokenValue}`);const c=new URL(this.broadcastEndpointURL);c.pathname+=`/${encodeURIComponent(this.subTopic)}/events/${encodeURIComponent(t)}`,this.private&&c.searchParams.set("private","true");const h={method:"POST",headers:l,body:o?n:JSON.stringify(n)},d=await this._fetchWithTimeout(c.toString(),h,(a=i.timeout)!==null&&a!==void 0?a:this.timeout);if(d.status===202)return{success:!0};let p=d.statusText;
20try{const m=await d.json();p=m.error||m.message||p}catch{}return Promise.reject(new Error(p))}async send(t,n={}){var i,a;if(!this.channelAdapter.canPush()&&t.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated in the future. Please use httpSend() explicitly for REST delivery.");const{event:o,payload:l}=t,c={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(c.Authorization=`Bearer ${this.socket.accessTokenValue}`);const h={method:"POST",headers:c,body:JSON.stringify({messages:[{topic:this.subTopic,event:o,payload:l,private:this.private}]})};try{const d=await this._fetchWithTimeout(this.broadcastEndpointURL,h,(i=n.timeout)!==null&&i!==void 0?i:this.timeout);return await((a=d.body)===null||a===void 0?void 0:a.cancel()),d.ok?"ok":"error"}catch(d){return d instanceof Error&&d.name==="AbortError"?"timed out":"error"}}else return new Promise(o=>{var l,c,h;const d=this.channelAdapter.push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((h=(c=(l=this.params)===null||l===void 0?void 0:l.config)===null||c===void 0?void 0:c.broadcast)===null||h===void 0)&&h.ack)&&o("ok"),d.receive("ok",()=>o("ok")),d.receive("error",()=>o("error")),d.receive("timeout",()=>o("timed out"))})}updateJoinPayload(t){this.channelAdapter.updateJoinPayload(t)}async unsubscribe(t=this.timeout){return new Promise(n=>{this.channelAdapter.unsubscribe(t).receive("ok",()=>n("ok")).receive("timeout",()=>n("timed out")).receive("error",()=>n("error"))})}teardown(){this.channelAdapter.teardown()}async _fetchWithTimeout(t,n,i){const a=new AbortController,o=setTimeout(()=>a.abort(),i),l=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:a.signal}));return clearTimeout(o),l}_on(t,n,i){const a=t.toLocaleLowerCase(),o=this.channelAdapter.on(t,i),l={type:a,filter:n,callback:i,ref:o};return this.bindings[a]?this.bindings[a].push(l):this.bindings[a]=[l],this._updateFilterMessage(),this}_onClose(t){this.channelAdapter.onClose(t)}_onError(t){this.channelAdapter.onError(t)}_updateFilterMessage(){this.channelAdapter.updateFilterBindings((t,n,i)=>{var a,o,l,c,h,d,p;const m=t.event.toLocaleLowerCase();if(this._notThisChannelEvent(m,i))return!1;const g=(a=this.bindings[m])===null||a===void 0?void 0:a.find(y=>y.ref===t.ref);if(!g)return!0;if(["broadcast","presence","postgres_changes"].includes(m))if("id"in g){const y=g.id,v=(o=g.filter)===null||o===void 0?void 0:o.event;return y&&((l=n.ids)===null||l===void 0?void 0:l.includes(y))&&(v==="*"||v?.toLocaleLowerCase()===((c=n.data)===null||c===void 0?void 0:c.type.toLocaleLowerCase()))}else{const y=(d=(h=g?.filter)===null||h===void 0?void 0:h.event)===null||d===void 0?void 0:d.toLocaleLowerCase();return y==="*"||y===((p=n?.event)===null||p===void 0?void 0:p.toLocaleLowerCase())}else return g.type.toLocaleLowerCase()===m})}_notThisChannelEvent(t,n){const{close:i,error:a,leave:o,join:l}=Lx;return n&&[i,a,o,l].includes(t)&&n!==this.joinPush.ref}_updateFilterTransform(){this.channelAdapter.updatePayloadTransform((t,n,i)=>{if(typeof n=="object"&&"ids"in n){const a=n.data,{schema:o,table:l,commit_timestamp:c,type:h,errors:d}=a;return Object.assign(Object.assign({},{schema:o,table:l,commit_timestamp:c,eventType:h,new:{},old:{},errors:d}),this._getPayloadRecords(a))}return n})}copyBindings(t){if(this.joinedOnce)throw new Error("cannot copy bindings into joined channel");for(const n in t.bindings)for(const i of t.bindings[n])this._on(i.type,i.filter,i.callback)}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=Z1(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=Z1(t.columns,t.old_record)),n}}class AN{constructor(t,n){this.socket=new cN(t,n)}get timeout(){return this.socket.timeout}get endPoint(){return this.socket.endPoint}get transport(){return this.socket.transport}get heartbeatIntervalMs(){return this.socket.heartbeatIntervalMs}get heartbeatCallback(){return this.socket.heartbeatCallback}set heartbeatCallback(t){this.socket.heartbeatCallback=t}get heartbeatTimer(){return this.socket.heartbeatTimer}get pendingHeartbeatRef(){return this.socket.pendingHeartbeatRef}get reconnectTimer(){return this.socket.reconnectTimer}get vsn(){return this.socket.vsn}get encode(){return this.socket.encode}get decode(){return this.socket.decode}get reconnectAfterMs(){return this.socket.reconnectAfterMs}get sendBuffer(){return this.socket.sendBuffer}get stateChangeCallbacks(){return this.socket.stateChangeCallbacks}connect(){this.socket.connect()}disconnect(t,n,i,a=1e4){return new Promise(o=>{setTimeout(()=>
20o("timeout"),a),this.socket.disconnect(()=>{t(),o("ok")},n,i)})}push(t){this.socket.push(t)}log(t,n,i){this.socket.log(t,n,i)}makeRef(){return this.socket.makeRef()}onOpen(t){this.socket.onOpen(t)}onClose(t){this.socket.onClose(t)}onError(t){this.socket.onError(t)}onMessage(t){this.socket.onMessage(t)}isConnected(){return this.socket.isConnected()}isConnecting(){return this.socket.connectionState()==Ym.connecting}isDisconnecting(){return this.socket.connectionState()==Ym.closing}connectionState(){return this.socket.connectionState()}endPointURL(){return this.socket.endPointURL()}sendHeartbeat(){this.socket.sendHeartbeat()}getSocket(){return this.socket}}const tw={HEARTBEAT_INTERVAL:25e3},yN=[1e3,2e3,5e3,1e4],bN=1e4;function vN(){const e=new Map;return{get length(){return e.size},clear(){e.clear()},getItem(t){return e.has(t)?e.get(t):null},key(t){var n;return(n=Array.from(e.keys())[t])!==null&&n!==void 0?n:null},removeItem(t){e.delete(t)},setItem(t,n){e.set(t,String(n))}}}function wN(){try{if(typeof globalThis<"u"&&globalThis.sessionStorage)return globalThis.sessionStorage}catch{}return vN()}const SN=`
21  addEventListener("message", (e) => {
22    if (e.data.event === "start") {
23      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
24    }
25  });`;class _N{get endPoint(){return this.socketAdapter.endPoint}get timeout(){return this.socketAdapter.timeout}get transport(){return this.socketAdapter.transport}get heartbeatCallback(){return this.socketAdapter.heartbeatCallback}get heartbeatIntervalMs(){return this.socketAdapter.heartbeatIntervalMs}get heartbeatTimer(){return this.worker?this._workerHeartbeatTimer:this.socketAdapter.heartbeatTimer}get pendingHeartbeatRef(){return this.worker?this._pendingWorkerHeartbeatRef:this.socketAdapter.pendingHeartbeatRef}get reconnectTimer(){return this.socketAdapter.reconnectTimer}get vsn(){return this.socketAdapter.vsn}get encode(){return this.socketAdapter.encode}get decode(){return this.socketAdapter.decode}get reconnectAfterMs(){return this.socketAdapter.reconnectAfterMs}get sendBuffer(){return this.socketAdapter.sendBuffer}get stateChangeCallbacks(){return this.socketAdapter.stateChangeCallbacks}constructor(t,n){var i;if(this.channels=new Array,this.accessTokenValue=null,this.accessToken=null,this.apiKey=null,this.httpEndpoint="",this.headers={},this.params={},this.ref=0,this.serializer=new WI,this._manuallySetToken=!1,this._authPromise=null,this._workerHeartbeatTimer=void 0,this._pendingWorkerHeartbeatRef=null,this._pendingDisconnectTimer=null,this._disconnectOnEmptyChannelsAfterMs=0,this._resolveFetch=o=>o?(...l)=>o(...l):(...l)=>fetch(...l),!(!((i=n?.params)===null||i===void 0)&&i.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey;const a=this._initializeOptions(n);this.socketAdapter=new AN(t,a),this.httpEndpoint=Ux(t),this.fetch=this._resolveFetch(n?.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.isConnected())){this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this._setupConnectionHandlers();try{this.socketAdapter.connect()}catch(t){const n=t.message;throw n.includes("Node.js")?new Error(`${n}
26
27To use Realtime in Node.js, you need to provide a WebSocket implementation:
28
29Option 1: Use Node.js 22+ which has native WebSocket support
30Option 2: Install and provide the "ws" package:
31
32  npm install ws
33
34  import ws from "ws"
35  const client = new RealtimeClient(url, {
36    ...options,
37    transport: ws
38  })`):new Error(`WebSocket not available: ${n}`)}this._handleNodeJsRaceCondition()}}endpointURL(){return this.socketAdapter.endPointURL()}async disconnect(t,n){return this._cancelPendingDisconnect(),this.isDisconnecting()?"ok":await this.socketAdapter.disconnect(()=>{clearInterval(this._workerHeartbeatTimer),this._terminateWorker()},t,n)}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return n==="ok"&&t.teardown(),n}async removeAllChannels(){const t=this.channels.map(async i=>{const a=await i.unsubscribe();return i.teardown(),a}),n=await Promise.all(t);return await this.disconnect(),n}log(t,n,i){this.socketAdapter.log(t,n,i)}connectionState(){return this.socketAdapter.connectionState()||Ym.closed}isConnected(){return this.socketAdapter.isConnected()}isConnecting(){return this.socketAdapter.isConnecting()}isDisconnecting(){return this.socketAdapter.isDisconnecting()}channel(t,n={config:{}}){const i=`realtime:${t}`,a=this.getChannels().find(o=>o.topic===i);if(a)return a;{const o=new Cl(`realtime:${t}`,n,this);return this._cancelPendingDisconnect(),this.channels.push(o),o}}push(t){this.socketAdapter.push(t)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){this.socketAdapter.sendHeartbeat()}onHeartbeat(t){this.socketAdapter.heartbeatCallback=this._wrapHeartbeatCallback(t)}_makeRef(){return this.socketAdapter.makeRef()}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic),this.channels.length===0&&(this.log("transport","no channels remaining, scheduling disconnect"),this._schedulePendingDisconnect())}_schedulePendingDisconnect(){if(this._cancelPendingDisconnect(),this._disconnectOnEmptyChannelsAfterMs===0){this.log("transport","disconnecting immediately - no channels"),this.disconnect();return}
38this._pendingDisconnectTimer=setTimeout(()=>{this._pendingDisconnectTimer=null,this.channels.length===0&&(this.log("transport","deferred disconnect fired - no channels, disconnecting"),this.disconnect())},this._disconnectOnEmptyChannelsAfterMs),this.log("transport",`deferred disconnect scheduled in ${this._disconnectOnEmptyChannelsAfterMs}ms`)}_cancelPendingDisconnect(){this._pendingDisconnectTimer!==null&&(this.log("transport","pending disconnect cancelled - channel activity detected"),clearTimeout(this._pendingDisconnectTimer),this._pendingDisconnectTimer=null)}async _performAuth(t=null){let n,i=!1;if(t)n=t,i=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(a){this.log("error","Error fetching access token from callback",a),n=this.accessTokenValue}else n=this.accessTokenValue;i?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(a=>{const o={access_token:n,version:qI};n&&a.updateJoinPayload(o),a.joinedOnce&&a.channelAdapter.isJoined()&&a.channelAdapter.push(Lx.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_setupConnectionHandlers(){this.socketAdapter.onOpen(()=>{(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).catch(n=>{this.log("error","error waiting for auth on connect",n)}),this.worker&&!this.workerRef&&this._startWorkerHeartbeat()}),this.socketAdapter.onClose(()=>{this.worker&&this.workerRef&&this._terminateWorker()}),this.socketAdapter.onMessage(t=>{t.ref&&t.ref===this._pendingWorkerHeartbeatRef&&(this._pendingWorkerHeartbeatRef=null)})}_handleNodeJsRaceCondition(){this.socketAdapter.isConnected()&&this.socketAdapter.getSocket().onConnOpen()}_wrapHeartbeatCallback(t){return(n,i)=>{n=="sent"&&this._setAuthSafely(),t&&t(n,i)}}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker(),this.disconnect()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_workerObjectUrl(t){let n;if(t)n=t;else{const i=new Blob([SN],{type:"application/javascript"});n=URL.createObjectURL(i)}return n}_initializeOptions(t){var n,i,a,o,l,c,h,d,p,m,g,y;this.worker=(n=t?.worker)!==null&&n!==void 0?n:!1,this.accessToken=(i=t?.accessToken)!==null&&i!==void 0?i:null;const v={};v.timeout=(a=t?.timeout)!==null&&a!==void 0?a:YI,v.heartbeatIntervalMs=(o=t?.heartbeatIntervalMs)!==null&&o!==void 0?o:tw.HEARTBEAT_INTERVAL,this._disconnectOnEmptyChannelsAfterMs=(l=t?.disconnectOnEmptyChannelsAfterMs)!==null&&l!==void 0?l:2*((c=t?.heartbeatIntervalMs)!==null&&c!==void 0?c:tw.HEARTBEAT_INTERVAL),v.transport=(h=t?.transport)!==null&&h!==void 0?h:zI.getWebSocketConstructor(),v.params=t?.params,v.logger=t?.logger,v.heartbeatCallback=this._wrapHeartbeatCallback(t?.heartbeatCallback),v.sessionStorage=(d=t?.sessionStorage)!==null&&d!==void 0?d:wN(),v.reconnectAfterMs=(p=t?.reconnectAfterMs)!==null&&p!==void 0?p:(_=>yN[_-1]||bN);let x,S;
38const w=(m=t?.vsn)!==null&&m!==void 0?m:KI;switch(w){case QI:x=(_,T)=>T(JSON.stringify(_)),S=(_,T)=>T(JSON.parse(_));break;case jx:x=this.serializer.encode.bind(this.serializer),S=this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${v.vsn}`)}if(v.vsn=w,v.encode=(g=t?.encode)!==null&&g!==void 0?g:x,v.decode=(y=t?.decode)!==null&&y!==void 0?y:S,v.beforeReconnect=this._reconnectAuth.bind(this),(t?.logLevel||t?.log_level)&&(this.logLevel=t.logLevel||t.log_level,v.params=Object.assign(Object.assign({},v.params),{log_level:this.logLevel})),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t?.workerUrl,v.autoSendHeartbeat=!this.worker}return v}async _reconnectAuth(){await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()}}var Dl=class extends Error{constructor(e,t){super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&t.icebergType?.includes("CommitState")===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function xN(e,t,n){const i=new URL(t,e);if(n)for(const[a,o]of Object.entries(n))o!==void 0&&i.searchParams.set(a,o);return i.toString()}async function EN(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function CN(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:i,query:a,body:o,headers:l}){const c=xN(e.baseUrl,i,a),h=await EN(e.auth),d=await t(c,{method:n,headers:{...o?{"Content-Type":"application/json"}:{},...h,...l},body:o?JSON.stringify(o):void 0}),p=await d.text(),m=(d.headers.get("content-type")||"").includes("application/json"),g=m&&p?JSON.parse(p):p;if(!d.ok){const y=m?g:void 0,v=y?.error;throw new Dl(v?.message??`Request failed with status ${d.status}`,{status:d.status,icebergType:v?.type,icebergCode:v?.code,details:y})}return{status:d.status,headers:d.headers,data:g}}}}function Cd(e){return e.join("�")}var TN=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:Cd(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(i=>({namespace:i}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t?.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Cd(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Cd(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Cd(e.namespace)}`}),!0}catch(t){if(t instanceof Dl&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof Dl&&n.status===409)return;throw n}}};function Oo(e){return e.join("�")}var RN=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Oo(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Oo(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Oo(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Oo(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String(t?.purge??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Oo(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Oo(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof Dl&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof Dl&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},ON=class{constructor(e){let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=CN({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=e.accessDelegation?.join(","),this.namespaceOps=new TN(this.client,t),this.tableOps=new RN(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
38async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}};function Ml(e){"@babel/helpers - typeof";return Ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ml(e)}function kN(e,t){if(Ml(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(Ml(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IN(e){var t=kN(e,"string");return Ml(t)=="symbol"?t:t+""}function NN(e,t,n){return(t=IN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nw(Object(n),!0).forEach(function(i){NN(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nw(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var zf=class extends Error{constructor(e,t="storage",n,i){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=i}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}};function Gf(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var Zm=class extends zf{constructor(e,t,n,i="storage"){super(e,i,t,n),this.name=i==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=t,this.statusCode=n}toJSON(){return Me({},super.toJSON())}},Hx=class extends zf{constructor(e,t,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=t}};function wf(e,t,n){const i=Me({},e),a=t.toLowerCase();for(const o of Object.keys(i))o.toLowerCase()===a&&delete i[o];return i[a]=n,i}function DN(e){const t={};for(const[n,i]of Object.entries(e))t[n.toLowerCase()]=i;return t}const MN=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),BN=e=>{if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$m=e=>{if(Array.isArray(e))return e.map(n=>$m(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,i])=>{const a=n.replace(/([-_][a-z])/gi,o=>o.toUpperCase().replace(/[-_]/g,""));t[a]=$m(i)}),t},jN=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e),rw=e=>{if(typeof e=="object"&&e!==null){const t=e;if(typeof t.msg=="string")return t.msg;if(typeof t.message=="string")return t.message;if(typeof t.error_description=="string")return t.error_description;if(typeof t.error=="string")return t.error;if(typeof t.error=="object"&&t.error!==null){const n=t.error;if(typeof n.message=="string")return n.message}}return JSON.stringify(e)},LN=async(e,t,n,i)=>{if(e!==null&&typeof e=="object"&&"json"in e&&typeof e.json=="function"){const a=e;let o=parseInt(String(a.status),10);Number.isFinite(o)||(o=500),a.json().then(l=>{const c=l?.statusCode||l?.code||o+"";t(new Zm(rw(l),o,c,i))}).catch(()=>{const l=o+"";t(new Zm(a.statusText||`HTTP ${o} error`,o,l,i))})}else t(new Hx(rw(e),e,i))},PN=(e,t,n,i)=>{const a={method:e,headers:t?.headers||{}};if(e==="GET"||e==="HEAD"||!i)return Me(Me({},a),n);if(BN(i)){var o;const l=t?.headers||{};let c;for(const[h,d]of Object.entries(l))h.toLowerCase()==="content-type"&&(c=d);a.headers=wf(l,"Content-Type",(o=c)!==null&&o!==void 0?o:"application/json"),a.body=JSON.stringify(i)}else a.body=i;return t?.duplex&&(a.duplex=t.duplex),Me(Me({},a),n)};async function ul(e,t,n,i,a,o,l){return new Promise((c,h)=>{e(n,PN(t,i,a,o)).then(d=>{if(!d.ok)throw d;if(i?.noResolveJson)return d;if(l==="vectors"){const p=d.headers.get("content-type");if(d.headers.get("content-length")==="0"||d.status===204)return{};if(!p||!p.includes("application/json"))return{}}return d.json()}).then(d=>c(d)).catch(d=>LN(d,h,i,l))})}function zx(e="storage"){return{get:async(t,n,i,a)=>ul(t,"GET",n,i,a,void 0,e),post:async(t,n,i,a,o)=>ul(t,"POST",n,a,o,i,e),put:async(t,n,i,a,o)=>ul(t,"PUT",n,a,o,i,e),head:async(t,n,i,a)=>ul(t,"HEAD",n,Me(Me({},i),{},{noResolveJson:!0}),a,void 0,e),remove:async(t,n,i,a,o)=>ul(t,"DELETE",n,a,o,i,e)}}const UN=zx("storage"),{get:Bl,post:Cr,put:Xm,head:FN,remove:Fg}=UN,Zn=zx("vectors");var su=class{constructor(e,t={},n,i="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=DN(t),this.fetch=MN(n),this.namespace=i}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=wf(this.headers,e,t),this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(Gf(n))return{data:null,error:n};throw n}}};let Gx;Gx=Symbol.toStringTag;var HN=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[Gx]="StreamDownloadBuilder",this.promise=null}
38then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Gf(t))return{data:null,error:t};throw t}}};let qx;qx=Symbol.toStringTag;var zN=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[qx]="BlobDownloadBuilder",this.promise=null}asStream(){return new HN(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Gf(t))return{data:null,error:t};throw t}}};const GN={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},iw={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var qN=class extends su{constructor(e,t={},n,i){super(e,t,i,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,i){var a=this;return a.handleOperation(async()=>{let o;const l=Me(Me({},iw),i);let c=Me(Me({},a.headers),e==="POST"&&{"x-upsert":String(l.upsert)});const h=l.metadata;if(typeof Blob<"u"&&n instanceof Blob?(o=new FormData,o.append("cacheControl",l.cacheControl),h&&o.append("metadata",a.encodeMetadata(h)),o.append("",n)):typeof FormData<"u"&&n instanceof FormData?(o=n,o.has("cacheControl")||o.append("cacheControl",l.cacheControl),h&&!o.has("metadata")&&o.append("metadata",a.encodeMetadata(h))):(o=n,c["cache-control"]=`max-age=${l.cacheControl}`,c["content-type"]=l.contentType,h&&(c["x-metadata"]=a.toBase64(a.encodeMetadata(h))),(typeof ReadableStream<"u"&&o instanceof ReadableStream||o&&typeof o=="object"&&"pipe"in o&&typeof o.pipe=="function")&&!l.duplex&&(l.duplex="half")),i?.headers)for(const[g,y]of Object.entries(i.headers))c=wf(c,g,y);const d=a._removeEmptyFolders(t),p=a._getFinalPath(d),m=await(e=="PUT"?Xm:Cr)(a.fetch,`${a.url}/object/${p}`,o,Me({headers:c},l?.duplex?{duplex:l.duplex}:{}));return{path:d,id:m.Id,fullPath:m.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,i){var a=this;const o=a._removeEmptyFolders(e),l=a._getFinalPath(o),c=new URL(a.url+`/object/upload/sign/${l}`);return c.searchParams.set("token",t),a.handleOperation(async()=>{let h;const d=Me(Me({},iw),i);let p=Me(Me({},a.headers),{"x-upsert":String(d.upsert)});const m=d.metadata;if(typeof Blob<"u"&&n instanceof Blob?(h=new FormData,h.append("cacheControl",d.cacheControl),m&&h.append("metadata",a.encodeMetadata(m)),h.append("",n)):typeof FormData<"u"&&n instanceof FormData?(h=n,h.has("cacheControl")||h.append("cacheControl",d.cacheControl),m&&!h.has("metadata")&&h.append("metadata",a.encodeMetadata(m))):(h=n,p["cache-control"]=`max-age=${d.cacheControl}`,p["content-type"]=d.contentType,m&&(p["x-metadata"]=a.toBase64(a.encodeMetadata(m))),(typeof ReadableStream<"u"&&h instanceof ReadableStream||h&&typeof h=="object"&&"pipe"in h&&typeof h.pipe=="function")&&!d.duplex&&(d.duplex="half")),i?.headers)for(const[g,y]of Object.entries(i.headers))p=wf(p,g,y);return{path:o,fullPath:(await Xm(a.fetch,c.toString(),h,Me({headers:p},d?.duplex?{duplex:d.duplex}:{}))).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let i=n._getFinalPath(e);const a=Me({},n.headers);t?.upsert&&(a["x-upsert"]="true");const o=await Cr(n.fetch,`${n.url}/object/upload/sign/${i}`,{},{headers:a}),l=new URL(n.url+o.url),c=l.searchParams.get("token");if(!c)throw new zf("No token returned by API");return{signedUrl:l.toString(),path:e,token:c}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var i=this;return i.handleOperation(async()=>await Cr(i.fetch,`${i.url}/object/move`,{bucketId:i.bucketId,sourceKey:e,destinationKey:t,de
38stinationBucket:n?.destinationBucket},{headers:i.headers}))}async copy(e,t,n){var i=this;return i.handleOperation(async()=>({path:(await Cr(i.fetch,`${i.url}/object/copy`,{bucketId:i.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n?.destinationBucket},{headers:i.headers})).Key}))}async createSignedUrl(e,t,n){var i=this;return i.handleOperation(async()=>{let a=i._getFinalPath(e);const o=typeof n?.transform=="object"&&n.transform!==null&&Object.keys(n.transform).length>0;let l=await Cr(i.fetch,`${i.url}/object/sign/${a}`,Me({expiresIn:t},o?{transform:n.transform}:{}),{headers:i.headers});const c=new URLSearchParams;n?.download&&c.set("download",n.download===!0?"":n.download),n?.cacheNonce!=null&&c.set("cacheNonce",String(n.cacheNonce));const h=c.toString();return{signedUrl:encodeURI(`${i.url}${l.signedURL}${h?`&${h}`:""}`)}})}async createSignedUrls(e,t,n){var i=this;return i.handleOperation(async()=>{const a=await Cr(i.fetch,`${i.url}/object/sign/${i.bucketId}`,{expiresIn:t,paths:e},{headers:i.headers}),o=new URLSearchParams;n?.download&&o.set("download",n.download===!0?"":n.download),n?.cacheNonce!=null&&o.set("cacheNonce",String(n.cacheNonce));const l=o.toString();return a.map(c=>Me(Me({},c),{},{signedUrl:c.signedURL?encodeURI(`${i.url}${c.signedURL}${l?`&${l}`:""}`):null}))})}download(e,t,n){const i=typeof t?.transform=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image/authenticated":"object",a=new URLSearchParams;t?.transform&&this.applyTransformOptsToQuery(a,t.transform),t?.cacheNonce!=null&&a.set("cacheNonce",String(t.cacheNonce));const o=a.toString(),l=this._getFinalPath(e),c=()=>Bl(this.fetch,`${this.url}/${i}/${l}${o?`?${o}`:""}`,{headers:this.headers,noResolveJson:!0},n);return new zN(c,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>$m(await Bl(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await FN(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(a){if(t.shouldThrowOnError)throw a;if(Gf(a)){var i;const o=a instanceof Zm?a.status:a instanceof Hx?(i=a.originalError)===null||i===void 0?void 0:i.status:void 0;if(o!==void 0&&[400,404].includes(o))return{data:!1,error:a}}throw a}}getPublicUrl(e,t){const n=this._getFinalPath(e),i=new URLSearchParams;t?.download&&i.set("download",t.download===!0?"":t.download),t?.transform&&this.applyTransformOptsToQuery(i,t.transform),t?.cacheNonce!=null&&i.set("cacheNonce",String(t.cacheNonce));const a=i.toString(),o=typeof t?.transform=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image":"object";return{data:{publicUrl:encodeURI(`${this.url}/${o}/public/${n}`)+(a?`?${a}`:"")}}}async remove(e){var t=this;return t.handleOperation(async()=>await Fg(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var i=this;return i.handleOperation(async()=>{const a=Me(Me(Me({},GN),t),{},{prefix:e||""});return await Cr(i.fetch,`${i.url}/object/list/${i.bucketId}`,a,{headers:i.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const i=Me({},e);return await Cr(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,i,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}applyTransformOptsToQuery(e,t){return t.width&&e.set("width",t.width.toString()),t.height&&e.set("height",t.height.toString()),t.resize&&e.set("resize",t.resize),t.format&&e.set("format",t.format),t.quality&&e.set("quality",t.quality.toString()),e}};const QN="2.107.0",Vl={"X-Client-Info":`storage-js/${QN}`};var KN=class extends su{constructor(e,t={},n,i){const a=new URL(e);i?.useNewHostname&&/supabase\.(co|in|red)$/.test(a.hostname)&&!a.hostname.includes("storage.supabase.")&&(a.hostname=a.hostname.replace("supabase.","storage.supabase."));const o=a.href.replace(/\/$/,""),l=Me(Me({},Vl),t);super(o,l,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await Bl(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Bl(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await Cr(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await Xm(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await Cr(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Fg(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},YN=class extends su{constructor(e,t={},n){const i=e.replace(/\/$/,""),a=Me(Me({},Vl),t);super(i,a,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Cr(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;e?.limit!==void 0&&n.set("limit",e.limit.toString()),e?.offset!==void 0&&n.set("offset",e.offset.toString()),e?.sortColumn&&n.set("sortColumn",e.sortColumn),e?.sortOrder&&n.set("sortOrder",e.sortOrder),e?.search&&n.set("search",e.search);const i=n.toString(),a=i?`${t.url}/bucket?${i}`:`${t.url}/bucket`;return await Bl(t.fetch,a,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Fg(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!jN(e))throw new zf("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new ON({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}),i=this.shouldThrowOnError;return new Proxy(n,{get(a,o){const l=a[o];return typeof l!="function"?l:async(...c)=>{try{return{data:await l.apply(a,c),error:null}}catch(h){if(i)throw h;return{data:null,error:h}}}}})}},VN=class extends su{constructor(e,t={},n){const i=e.replace(/\/$/,""),a=Me(Me({},Vl),{},{"Content-Type":"application/json"},t);super(i,a,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await Zn.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await Zn.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},WN=class extends su{constructor(e,t={},n){const i=e.replace(/\/$/,""),a=Me(Me({},Vl),{},{"Content-Type":"application/json"},t);super(i,a,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");
38if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},JN=class extends su{constructor(e,t={},n){const i=e.replace(/\/$/,""),a=Me(Me({},Vl),{},{"Content-Type":"application/json"},t);super(i,a,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Zn.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},ZN=class extends JN{constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new $N(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},$N=class extends VN{constructor(e,t,n,i){super(e,t,i),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,Me(Me({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,Me(Me({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new XN(this.url,this.headers,this.vectorBucketName,e,this.fetch)}},XN=class extends WN{constructor(e,t,n,i,a){super(e,t,a),this.vectorBucketName=n,this.indexName=i}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,Me(Me({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,Me(Me({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,Me(Me({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,Me(Me({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,Me(Me({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},e8=class extends KN{constructor(e,t={},n,i){super(e,t,n,i)}from(e){return new qN(this.url,this.headers,e,this.fetch)}get vectors(){return new ZN(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new YN(this.url+"/iceberg",this.headers,this.fetch)}};const Qx="2.107.0",bs=30*1e3,bl=3,Ep=bl*bs,t8="http://localhost:9999",n8="supabase.auth.token",r8={"X-Client-Info":`gotrue-js/${Qx}`},eg="X-Supabase-Api-Version",Kx={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},i8=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,s8=600*1e3;class jl extends Error{constructor(t,n,i){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=i}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code}}}function Ae(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class a8 extends jl{constructor(t,n,i){super(t,n,i),this.name="AuthApiError",this.status=n,this.code=i}
38}function o8(e){return Ae(e)&&e.name==="AuthApiError"}class Tr extends jl{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class $r extends jl{constructor(t,n,i,a){super(t,i,a),this.name=n,this.status=i}}class sn extends $r{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function Td(e){return Ae(e)&&e.name==="AuthSessionMissingError"}class ko extends $r{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Rd extends $r{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Od extends $r{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}function u8(e){return Ae(e)&&e.name==="AuthImplicitGrantRedirectError"}class sw extends $r{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}class l8 extends $r{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class tg extends $r{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function Cp(e){return Ae(e)&&e.name==="AuthRetryableFetchError"}class aw extends $r{constructor(t="Refresh result discarded: session state changed mid-flight (e.g., concurrent signOut)"){super(t,"AuthRefreshDiscardedError",409,void 0)}}function c8(e){return Ae(e)&&e.name==="AuthRefreshDiscardedError"}class ow extends $r{constructor(t,n,i){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=i}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reasons:this.reasons})}}class Sf extends $r{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const _f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),uw=` 	
39\r=`.split(""),d8=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<uw.length;t+=1)e[uw[t].charCodeAt(0)]=-2;for(let t=0;t<_f.length;t+=1)e[_f[t].charCodeAt(0)]=t;return e})();function lw(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const i=t.queue>>t.queuedBits-6&63;n(_f[i]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const i=t.queue>>t.queuedBits-6&63;n(_f[i]),t.queuedBits-=6}}function Yx(e,t,n){const i=d8[e];if(i>-1)for(t.queue=t.queue<<6|i,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(i===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function cw(e){const t=[],n=l=>{t.push(String.fromCodePoint(l))},i={utf8seq:0,codepoint:0},a={queue:0,queuedBits:0},o=l=>{p8(l,i,n)};for(let l=0;l<e.length;l+=1)Yx(e.charCodeAt(l),a,o);return t.join("")}function f8(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function h8(e,t){for(let n=0;n<e.length;n+=1){let i=e.charCodeAt(n);if(i>55295&&i<=56319){const a=(i-55296)*1024&65535;i=(e.charCodeAt(n+1)-56320&65535|a)+65536,n+=1}f8(i,t)}}function p8(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let i=1;i<6;i+=1)if((e>>7-i&1)===0){t.utf8seq=i;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function Jo(e){const t=[],n={queue:0,queuedBits:0},i=a=>{t.push(a)};for(let a=0;a<e.length;a+=1)Yx(e.charCodeAt(a),n,i);return new Uint8Array(t)}function m8(e){const t=[];return h8(e,n=>t.push(n)),new Uint8Array(t)}function Ea(e){const t=[],n={queue:0,queuedBits:0},i=a=>{t.push(a)};return e.forEach(a=>lw(a,n,i)),lw(null,n,i),t.join("")}function g8(e){return Math.round(Date.now()/1e3)+e}function A8(){return Symbol("auth-callback")}const wn=()=>typeof window<"u"&&typeof document<"u",pa={tested:!1,writable:!1},Vx=()=>
39{if(!wn())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(pa.tested)return pa.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),pa.tested=!0,pa.writable=!0}catch{pa.tested=!0,pa.writable=!1}return pa.writable};function y8(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((a,o)=>{t[o]=a})}catch{}return n.searchParams.forEach((i,a)=>{t[a]=i}),t}const Wx=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),b8=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",zo=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},bi=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return null}},Xt=async(e,t)=>{await e.removeItem(t)};class qf{constructor(){this.promise=new qf.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}qf.promiseConstructor=Promise;function kd(e){const t=e.split(".");if(t.length!==3)throw new Sf("Invalid JWT structure");for(let i=0;i<t.length;i++)if(!i8.test(t[i]))throw new Sf("JWT not in base64url format");return{header:JSON.parse(cw(t[0])),payload:JSON.parse(cw(t[1])),signature:Jo(t[2]),raw:{header:t[0],payload:t[1]}}}async function v8(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function w8(e,t){return new Promise((i,a)=>{(async()=>{for(let o=0;o<1/0;o++)try{const l=await e(o);if(!t(o,null,l)){i(l);return}}catch(l){if(!t(o,l)){a(l);return}}})()})}function S8(e){return("0"+e.toString(16)).substr(-2)}function _8(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",i=n.length;let a="";for(let o=0;o<56;o++)a+=n.charAt(Math.floor(Math.random()*i));return a}return crypto.getRandomValues(t),Array.from(t,S8).join("")}async function x8(e){const n=new TextEncoder().encode(e),i=await crypto.subtle.digest("SHA-256",n),a=new Uint8Array(i);return Array.from(a).map(o=>String.fromCharCode(o)).join("")}async function E8(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await x8(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Io(e,t,n=!1){const i=_8();let a=i;n&&(a+="/recovery"),await zo(e,`${t}-code-verifier`,a);const o=await E8(i);return[o,i===o?"plain":"s256"]}const C8=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function T8(e){const t=e.headers.get(eg);if(!t||!t.match(C8))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function R8(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function O8(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const k8=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function vi(e){if(!k8.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function Er(e){if(!e.passkey)throw new Error("@supabase/auth-js: the passkey API is experimental and disabled by default. Enable it by passing `auth: { experimental: { passkey: true } }` to createClient (or to the GoTrueClient constructor).")}function Tp(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const i=n.toString();if(i==="Symbol(Symbol.toPrimitive)"||i==="Symbol(Symbol.toStringTag)"||i==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function I8(e,t){return new Proxy(e,{get:(n,i,a)=>
39{if(i==="__isInsecureUserWarningProxy")return!0;if(typeof i=="symbol"){const o=i.toString();if(o==="Symbol(Symbol.toPrimitive)"||o==="Symbol(Symbol.toStringTag)"||o==="Symbol(util.inspect.custom)"||o==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,i,a)}return!t.value&&typeof i=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,i,a)}})}function dw(e){return JSON.parse(JSON.stringify(e))}const va=e=>{if(typeof e=="object"&&e!==null){const t=e;if(typeof t.msg=="string")return t.msg;if(typeof t.message=="string")return t.message;if(typeof t.error_description=="string")return t.error_description;if(typeof t.error=="string")return t.error}return JSON.stringify(e)},N8=[502,503,504,520,521,522,523,524,530];async function fw(e){var t;if(!b8(e))throw new tg(va(e),0);if(N8.includes(e.status))throw new tg(va(e),e.status);let n;try{n=await e.json()}catch(o){throw new Tr(va(o),o)}let i;const a=T8(e);if(a&&a.getTime()>=Kx["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?i=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(i=n.error_code),i){if(i==="weak_password")throw new ow(va(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(i==="session_not_found")throw new sn}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((o,l)=>o&&typeof l=="string",!0))throw new ow(va(n),e.status,n.weak_password.reasons);throw new a8(va(n),e.status||500,i)}const D8=(e,t,n,i)=>{const a={method:e,headers:t?.headers||{}};return e==="GET"?a:(a.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t?.headers),a.body=JSON.stringify(i),Object.assign(Object.assign({},a),n))};async function xe(e,t,n,i){var a;const o=Object.assign({},i?.headers);o[eg]||(o[eg]=Kx["2024-01-01"].name),i?.jwt&&(o.Authorization=`Bearer ${i.jwt}`);const l=(a=i?.query)!==null&&a!==void 0?a:{};i?.redirectTo&&(l.redirect_to=i.redirectTo);const c=Object.keys(l).length?"?"+new URLSearchParams(l).toString():"",h=await M8(e,t,n+c,{headers:o,noResolveJson:i?.noResolveJson},{},i?.body);return i?.xform?i?.xform(h):{data:Object.assign({},h),error:null}}async function M8(e,t,n,i,a,o){const l=D8(t,i,a,o);let c;try{c=await e(n,Object.assign({},l))}catch(h){throw console.error(h),new tg(va(h),0)}if(c.ok||await fw(c),i?.noResolveJson)return c;try{return await c.json()}catch(h){await fw(h)}}function lr(e){var t;let n=null;L8(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=g8(e.expires_in)));const i=(t=e.user)!==null&&t!==void 0?t:typeof e?.id=="string"?e:null;return{data:{session:n,user:i},error:null}}function hw(e){const t=lr(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,i)=>n&&typeof i=="string",!0)&&(t.data.weak_password=e.weak_password),t}function Es(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function B8(e){return{data:e,error:null}}function j8(e){const{action_link:t,email_otp:n,hashed_token:i,redirect_to:a,verification_type:o}=e,l=iu(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),c={action_link:t,email_otp:n,hashed_token:i,redirect_to:a,verification_type:o},h=Object.assign({},l);return{data:{properties:c,user:h},error:null}}function pw(e){return e}function L8(e){return!!e.access_token&&!!e.refresh_token&&!!e.expires_in}const Rp=["global","local","others"];class P8{constructor({url:t="",headers:n={},fetch:i,experimental:a}){this.url=t,this.headers=n,this.fetch=Wx(i),this.experimental=a??{},this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)},this.customProviders={listProviders:this._listCustomProviders.bind(this),createProvider:this._createCustomProvider.bind(this),getProvider:this._getCustomProvider.bind(this),updateProvider:this._updateCustomProvider.bind(this),deleteProvider:this._deleteCustomProvider.bind(this)},this.passkey={listPasskeys:this._adminListPasskeys.bind(this),deletePasskey:this._adminDeletePasskey.bind(this)}}
39async signOut(t,n=Rp[0]){if(Rp.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${Rp.join(", ")}`);try{return await xe(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(i){if(Ae(i))return{data:null,error:i};throw i}}async inviteUserByEmail(t,n={}){try{return await xe(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Es})}catch(i){if(Ae(i))return{data:{user:null},error:i};throw i}}async generateLink(t){try{const{options:n}=t,i=iu(t,["options"]),a=Object.assign(Object.assign({},i),n);return"newEmail"in i&&(a.new_email=i?.newEmail,delete a.newEmail),await xe(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:a,headers:this.headers,xform:j8,redirectTo:n?.redirectTo})}catch(n){if(Ae(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await xe(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:Es})}catch(n){if(Ae(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,i,a,o,l,c,h;try{const d={nextPage:null,lastPage:0,total:0},p=await xe(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(i=(n=t?.page)===null||n===void 0?void 0:n.toString())!==null&&i!==void 0?i:"",per_page:(o=(a=t?.perPage)===null||a===void 0?void 0:a.toString())!==null&&o!==void 0?o:""},xform:pw});if(p.error)throw p.error;const m=await p.json(),g=(l=p.headers.get("x-total-count"))!==null&&l!==void 0?l:0,y=(h=(c=p.headers.get("link"))===null||c===void 0?void 0:c.split(","))!==null&&h!==void 0?h:[];return y.length>0&&(y.forEach(v=>{const x=parseInt(v.split(";")[0].split("=")[1].substring(0,1)),S=JSON.parse(v.split(";")[1].split("=")[1]);d[`${S}Page`]=x}),d.total=parseInt(g)),{data:Object.assign(Object.assign({},m),d),error:null}}catch(d){if(Ae(d))return{data:{users:[]},error:d};throw d}}async getUserById(t){vi(t);try{return await xe(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Es})}catch(n){if(Ae(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){vi(t);try{return await xe(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Es})}catch(i){if(Ae(i))return{data:{user:null},error:i};throw i}}async deleteUser(t,n=!1){vi(t);try{return await xe(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Es})}catch(i){if(Ae(i))return{data:{user:null},error:i};throw i}}async _listFactors(t){vi(t.userId);try{const{data:n,error:i}=await xe(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:a=>({data:{factors:a},error:null})});return{data:n,error:i}}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _deleteFactor(t){vi(t.userId),vi(t.id);try{return{data:await xe(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,i,a,o,l,c,h;try{const d={nextPage:null,lastPage:0,total:0},p=await xe(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(i=(n=t?.page)===null||n===void 0?void 0:n.toString())!==null&&i!==void 0?i:"",per_page:(o=(a=t?.perPage)===null||a===void 0?void 0:a.toString())!==null&&o!==void 0?o:""},xform:pw});if(p.error)throw p.error;const m=await p.json(),g=(l=p.headers.get("x-total-count"))!==null&&l!==void 0?l:0,y=(h=(c=p.headers.get("link"))===null||c===void 0?void 0:c.split(","))!==null&&h!==void 0?h:[];return y.length>0&&(y.forEach(v=>{const x=parseInt(v.split(";")[0].split("=")[1].substring(0,1)),S=JSON.parse(v.split(";")[1].split("=")[1]);d[`${S}Page`]=x}),d.total=parseInt(g)),{data:Object.assign(Object.assign({},m),d),error:null}}catch(d){if(Ae(d))return{data:{clients:[]},error:d};throw d}}async _createOAuthClient(t){try{return await xe(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await xe(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await xe(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:i=>({data:i,error:null})})}catch(i){if(Ae(i))return{data:null,error:i};throw i}}async _deleteOAuthClient(t){try{return await xe(this.fetch,"DELET
39E",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await xe(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _listCustomProviders(t){try{const n={};return t?.type&&(n.type=t.type),await xe(this.fetch,"GET",`${this.url}/admin/custom-providers`,{headers:this.headers,query:n,xform:i=>{var a;return{data:{providers:(a=i?.providers)!==null&&a!==void 0?a:[]},error:null}}})}catch(n){if(Ae(n))return{data:{providers:[]},error:n};throw n}}async _createCustomProvider(t){try{return await xe(this.fetch,"POST",`${this.url}/admin/custom-providers`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _getCustomProvider(t){try{return await xe(this.fetch,"GET",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _updateCustomProvider(t,n){try{return await xe(this.fetch,"PUT",`${this.url}/admin/custom-providers/${t}`,{body:n,headers:this.headers,xform:i=>({data:i,error:null})})}catch(i){if(Ae(i))return{data:null,error:i};throw i}}async _deleteCustomProvider(t){try{return await xe(this.fetch,"DELETE",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _adminListPasskeys(t){Er(this.experimental),vi(t.userId);try{return await xe(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/passkeys`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ae(n))return{data:null,error:n};throw n}}async _adminDeletePasskey(t){Er(this.experimental),vi(t.userId),vi(t.passkeyId);try{return await xe(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/passkeys/${t.passkeyId}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(Ae(n))return{data:null,error:n};throw n}}}function mw(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}globalThis&&Vx()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug");class U8 extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}function F8(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function Jx(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function H8(e){return parseInt(e,16)}function z8(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,i=>i.toString(16).padStart(2,"0")).join("")}function G8(e){var t;const{chainId:n,domain:i,expirationTime:a,issuedAt:o=new Date,nonce:l,notBefore:c,requestId:h,resources:d,scheme:p,uri:m,version:g}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!i)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(l&&l.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${l}`);if(!m)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(g!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${g}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(`
40`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const y=Jx(e.address),v=p?`${p}://${i}`:i,x=e.statement?`${e.statement}
41`:"",S=`${v} wants you to sign in with your Ethereum account:
42${y}
43
44${x}`;let w=`URI: ${m}
45Version: ${g}
46Chain ID: ${n}${l?`
47Nonce: ${l}`:""}
48Issued At: ${o.toISOString()}`;if(a&&(w+=`
49Expiration Time: ${a.toISOString()}
49`),c&&(w+=`
50Not Before: ${c.toISOString()}`),h&&(w+=`
51Request ID: ${h}`),d){let _=`
52Resources:`;for(const T of d){if(!T||typeof T!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${T}`);_+=`
53- ${T}`}w+=_}return`${S}
54${w}`}class Gt extends Error{constructor({message:t,code:n,cause:i,name:a}){var o;super(t,{cause:i}),this.__isWebAuthnError=!0,this.name=(o=a??(i instanceof Error?i.name:void 0))!==null&&o!==void 0?o:"Unknown Error",this.code=n}toJSON(){return{name:this.name,message:this.message,code:this.code}}}class xf extends Gt{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function q8({error:e,options:t}){var n,i,a;const{publicKey:o}=t;if(!o)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Gt({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=o.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new Gt({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((i=o.authenticatorSelection)===null||i===void 0?void 0:i.userVerification)==="required")return new Gt({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((a=o.authenticatorSelection)===null||a===void 0?void 0:a.userVerification)==="required")return new Gt({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new Gt({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new Gt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return o.pubKeyCredParams.filter(c=>c.type==="public-key").length===0?new Gt({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new Gt({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const l=window.location.hostname;if(Zx(l)){if(o.rp.id!==l)return new Gt({message:`The RP ID "${o.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Gt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(o.user.id.byteLength<1||o.user.id.byteLength>64)return new Gt({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new Gt({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Gt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function Q8({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Gt({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new Gt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const i=window.location.hostname;if(Zx(i)){if(n.rpId!==i)return new Gt({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Gt({message:`${window.location.hostname}
54 is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new Gt({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Gt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class K8{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const ng=new K8;function gw(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:i}=e,a=iu(e,["challenge","user","excludeCredentials"]),o=Jo(t).buffer,l=Object.assign(Object.assign({},n),{id:Jo(n.id).buffer}),c=Object.assign(Object.assign({},a),{challenge:o,user:l});if(i&&i.length>0){c.excludeCredentials=new Array(i.length);for(let h=0;h<i.length;h++){const d=i[h];c.excludeCredentials[h]=Object.assign(Object.assign({},d),{id:Jo(d.id).buffer,type:d.type||"public-key",transports:d.transports})}}return c}function Aw(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:t,allowCredentials:n}=e,i=iu(e,["challenge","allowCredentials"]),a=Jo(t).buffer,o=Object.assign(Object.assign({},i),{challenge:a});if(n&&n.length>0){o.allowCredentials=new Array(n.length);for(let l=0;l<n.length;l++){const c=n[l];o.allowCredentials[l]=Object.assign(Object.assign({},c),{id:Jo(c.id).buffer,type:c.type||"public-key",transports:c.transports})}}return o}function yw(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:Ea(new Uint8Array(e.response.attestationObject)),clientDataJSON:Ea(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function bw(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,i=e.getClientExtensionResults(),a=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:Ea(new Uint8Array(a.authenticatorData)),clientDataJSON:Ea(new Uint8Array(a.clientDataJSON)),signature:Ea(new Uint8Array(a.signature)),userHandle:a.userHandle?Ea(new Uint8Array(a.userHandle)):void 0},type:"public-key",clientExtensionResults:i,authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function Zx(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function Ef(){var e,t;return!!(wn()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator?.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((t=navigator?.credentials)===null||t===void 0?void 0:t.get)=="function")}async function $x(e){try{const t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new xf("Browser returned unexpected credential type",t)}:{data:null,error:new xf("Empty credential response",t)}}catch(t){return{data:null,error:q8({error:t,options:e})}}}async function Xx(e){try{const t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new xf("Browser returned unexpected credential type",t)}:{data:null,error:new xf("Empty credential response",t)}}
54catch(t){return{data:null,error:Q8({error:t,options:e})}}}const Y8={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},V8={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function Cf(...e){const t=a=>a!==null&&typeof a=="object"&&!Array.isArray(a),n=a=>a instanceof ArrayBuffer||ArrayBuffer.isView(a),i={};for(const a of e)if(a)for(const o in a){const l=a[o];if(l!==void 0)if(Array.isArray(l))i[o]=l;else if(n(l))i[o]=l;else if(t(l)){const c=i[o];t(c)?i[o]=Cf(c,l):i[o]=Cf(l)}else i[o]=l}return i}function W8(e,t){return Cf(Y8,e,t||{})}function J8(e,t){return Cf(V8,e,t||{})}class Z8{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:i,signal:a},o){var l;try{const{data:c,error:h}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!c)return{data:null,error:h};const d=a??ng.createNewAbortSignal();if(c.webauthn.type==="create"){const{user:p}=c.webauthn.credential_options.publicKey;if(!p.name){const m=i;if(m)p.name=`${p.id}:${m}`;else{const y=(await this.client.getUser()).data.user,v=((l=y?.user_metadata)===null||l===void 0?void 0:l.name)||y?.email||y?.id||"User";p.name=`${p.id}:${v}`}}p.displayName||(p.displayName=p.name)}switch(c.webauthn.type){case"create":{const p=W8(c.webauthn.credential_options.publicKey,o?.create),{data:m,error:g}=await $x({publicKey:p,signal:d});return m?{data:{factorId:t,challengeId:c.id,webauthn:{type:c.webauthn.type,credential_response:m}},error:null}:{data:null,error:g}}case"request":{const p=J8(c.webauthn.credential_options.publicKey,o?.request),{data:m,error:g}=await Xx(Object.assign(Object.assign({},c.webauthn.credential_options),{publicKey:p,signal:d}));return m?{data:{factorId:t,challengeId:c.id,webauthn:{type:c.webauthn.type,credential_response:m}},error:null}:{data:null,error:g}}}}catch(c){return Ae(c)?{data:null,error:c}:{data:null,error:new Tr("Unexpected error in challenge",c)}}}async _verify({challengeId:t,factorId:n,webauthn:i}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:i})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:i=typeof window<"u"?[window.location.origin]:void 0,signal:a}={}},o){if(!n)return{data:null,error:new jl("rpId is required for WebAuthn authentication")};try{if(!Ef())return{data:null,error:new Tr("Browser does not support WebAuthn",null)};const{data:l,error:c}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:i},signal:a},{request:o});if(!l)return{data:null,error:c};const{webauthn:h}=l;return this._verify({factorId:t,challengeId:l.challengeId,webauthn:{type:h.type,rpId:n,rpOrigins:i,credential_response:h.credential_response}})}catch(l){return Ae(l)?{data:null,error:l}:{data:null,error:new Tr("Unexpected error in authenticate",l)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:i=typeof window<"u"?[window.location.origin]:void 0,signal:a}={}},o){if(!n)return{data:null,error:new jl("rpId is required for WebAuthn registration")};try{if(!Ef())return{data:null,error:new Tr("Browser does not support WebAuthn",null)};const{data:l,error:c}=await this._enroll({friendlyName:t});if(!l)return await this.client.mfa.listFactors().then(p=>{var m;return(m=p.data)===null||m===void 0?void 0:m.all.find(g=>g.factor_type==="webauthn"&&g.friendly_name===t&&g.status!=="unverified")}).then(p=>p?this.client.mfa.unenroll({factorId:p?.id}):void 0),{data:null,error:c};const{data:h,error:d}=await this._challenge({factorId:l.id,friendlyName:l.friendly_name,webauthn:{rpId:n,rpOrigins:i},signal:a},{create:o});return h?this._verify({factorId:l.id,challengeId:h.challengeId,webauthn:{rpId:n,rpOrigins:i,type:h.webauthn.type,credential_response:h.webauthn.credential_response}}):{data:null,error:d}}catch(l){return Ae(l)?{data:null,error:l}:{data:null,error:new Tr("Unexpected error in register",l)}}}}F8();const $8={url:t8,storageKey:n8,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:r8,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1,experimental:{}},No={};class Ll{get jwks(){var t,n;return(n=(t=No[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){No[this.storageKey]=Object.assign(Object.assign({},No[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=No[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){No[this.storageKey]=Object.assign(Object.assign({},No[this.storageKey]),{cachedAt:t})}constructor(t){var n,i,a;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this._sessionRemovalEpoch=0,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lock=null,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const o=Object.assign(Object.assign({},$8),t);if(this.storageKey=o.storageKey,this.instanceID=(n=Ll.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,Ll.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!o.debug,typeof o.debug=="function"&&(this.logger=o.debug),this.instanceID>0&&wn()){const l=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(l),this.logDebugMessages&&console.trace(l)}if(this.persistSession=o.persistSession,this.autoRefreshToken=o.autoRefreshToken,this.experimental=(i=o.experimental)!==null&&i!==void 0?i:{},this.admin=new P8({url:o.url,headers:o.headers,fetch:o.fetch,experimental:this.experimental}),this.url=o.url,this.headers=o.headers,this.fetch=Wx(o.fetch),this.detectSessionInUrl=o.detectSessionInUrl,this.flowType=o.flowType,this.hasCustomAuthorizationHeader=o.hasCustomAuthorizationHeader,this.throwOnError=o.throwOnError,this.lockAcquireTimeout=o.lockAcquireTimeout,o.lock!=null&&(this.lock=o.lock),this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new Z8(this)}
54,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.passkey={startRegistration:this._startPasskeyRegistration.bind(this),verifyRegistration:this._verifyPasskeyRegistration.bind(this),startAuthentication:this._startPasskeyAuthentication.bind(this),verifyAuthentication:this._verifyPasskeyAuthentication.bind(this),list:this._listPasskeys.bind(this),update:this._updatePasskey.bind(this),delete:this._deletePasskey.bind(this)},this.persistSession?(o.storage?this.storage=o.storage:Vx()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=mw(this.memoryStorage)),o.userStorage&&(this.userStorage=o.userStorage)):(this.memoryStorage={},this.storage=mw(this.memoryStorage)),wn()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(l){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",l)}(a=this.broadcastChannel)===null||a===void 0||a.addEventListener("message",async l=>{this._debug("received broadcast notification from other tab or client",l);try{await this._notifyAllSubscribers(l.data.event,l.data.session,!1)}catch(c){this._debug("#broadcastChannel","error",c)}})}o.skipAutoInitialize||this.initialize().catch(l=>{this._debug("#initialize()","error",l)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${Qx}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()):await this._initialize())(),await this.initializePromise)}async _initialize(){var t;try{let n={},i="none";if(wn()&&(n=y8(window.location.href),this._isImplicitGrantCallback(n)?i="implicit":await this._isPKCECallback(n)&&(i="pkce")),wn()&&this.detectSessionInUrl&&i!=="none"){const{data:a,error:o}=await this._getSessionFromURL(n,i);if(o){if(this._debug("#_initialize()","error detecting session from URL",o),u8(o)){const h=(t=o.details)===null||t===void 0?void 0:t.code;if(h==="identity_already_exists"||h==="identity_not_found"||h==="single_identity_not_deletable")return{error:o}}return{error:o}}const{session:l,redirectType:c}=a;return this._debug("#_initialize()","detected session in URL",l,"redirect type",c),await this._saveSession(l),setTimeout(async()=>{c==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",l):await this._notifyAllSubscribers("SIGNED_IN",l)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return Ae(n)?this._returnResult({error:n}):this._returnResult({error:new Tr("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,i,a;try{const o=await xe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(i=(n=t?.options)===null||n===void 0?void 0:n.data)!==null&&i!==void 0?i:{},gotrue_meta_security:{captcha_token:(a=t?.options)===null||a===void 0?void 0:a.captchaToken}},xform:lr}),{data:l,error:c}=o;if(c||!l)return this._returnResult({data:{user:null,session:null},error:c});const h=l.session,d=l.user;return l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",h)),this._returnResult({data:{user:d,session:h},error:null})}catch(o){if(Ae(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signUp(t){var n,i,a;try{let o;if("email"in t){const{email:p,password:m,options:g}=t;let y=null,v=null;this.flowType==="pkce"&&([y,v]=await Io(this.storage,this.storageKey)),o=await xe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:g?.emailRedirectTo,body:{email:p,password:m,data:(n=g?.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:g?.captchaToken},code_challenge:y,code_challenge_method:v},xform:lr})}else if("phone"in t){const{phone:p,password:m,options:g}=t;o=await xe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:p,password:m,data:(i=g?.data)!==null&&i!==void 0?i:{},channel:(a=g?.channel)!==null&&a!==void 0?a:"sms",gotrue_meta_security:{captcha_token:g?.captchaToken}},xform:lr})}else throw new Rd("You must provide either an email or phone number and a password");const{data:l,error:c}=o;if(c||!l)return await Xt(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:c});const h=l.session,d=l.user;return l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",h)),this._returnResult({data:{user:d,session:h},error:null})}catch(o){if(await Xt(this.storage,`${this.storageKey}-code-verifier`),Ae(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signInWithPassword(t){try{let n;if("email"in t){const{email:o,password:l,options:c}=t;n=await xe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:o,password:l,gotrue_meta_security:{captcha_token:c?.captchaToken}},xform:hw})}else if("phone"in t){const{phone:o,password:l,options:c}=t;n=await xe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:o,password:l,gotrue_meta_security:{captcha_token:c?.captchaToken}},xform:hw})}else throw new Rd("You must provide either an email or phone number and a password");const{data:i,error:a}=n;
54if(a)return this._returnResult({data:{user:null,session:null},error:a});if(!i||!i.session||!i.user){const o=new ko;return this._returnResult({data:{user:null,session:null},error:o})}return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),this._returnResult({data:Object.assign({user:i.user,session:i.session},i.weak_password?{weakPassword:i.weak_password}:null),error:a})}catch(n){if(Ae(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,i,a,o;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(i=t.options)===null||i===void 0?void 0:i.scopes,queryParams:(a=t.options)===null||a===void 0?void 0:a.queryParams,skipBrowserRedirect:(o=t.options)===null||o===void 0?void 0:o.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this.lock!=null?this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t)):this._exchangeCodeForSession(t)}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,i,a,o,l,c,h,d,p,m,g;let y,v;if("message"in t)y=t.message,v=t.signature;else{const{chain:x,wallet:S,statement:w,options:_}=t;let T;if(wn())if(typeof S=="object")T=S;else{const j=window;if("ethereum"in j&&typeof j.ethereum=="object"&&"request"in j.ethereum&&typeof j.ethereum.request=="function")T=j.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof S!="object"||!_?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");T=S}const E=new URL((n=_?.url)!==null&&n!==void 0?n:window.location.href),C=await T.request({method:"eth_requestAccounts"}).then(j=>j).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!C||C.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const k=Jx(C[0]);let I=(i=_?.signInWithEthereum)===null||i===void 0?void 0:i.chainId;if(!I){const j=await T.request({method:"eth_chainId"});I=H8(j)}const M={domain:E.host,address:k,statement:w,uri:E.href,version:"1",chainId:I,nonce:(a=_?.signInWithEthereum)===null||a===void 0?void 0:a.nonce,issuedAt:(l=(o=_?.signInWithEthereum)===null||o===void 0?void 0:o.issuedAt)!==null&&l!==void 0?l:new Date,expirationTime:(c=_?.signInWithEthereum)===null||c===void 0?void 0:c.expirationTime,notBefore:(h=_?.signInWithEthereum)===null||h===void 0?void 0:h.notBefore,requestId:(d=_?.signInWithEthereum)===null||d===void 0?void 0:d.requestId,resources:(p=_?.signInWithEthereum)===null||p===void 0?void 0:p.resources};y=G8(M),v=await T.request({method:"personal_sign",params:[z8(y),k]})}try{const{data:x,error:S}=await xe(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:y,signature:v},!((m=t.options)===null||m===void 0)&&m.captchaToken?{gotrue_meta_security:{captcha_token:(g=t.options)===null||g===void 0?void 0:g.captchaToken}}:null),xform:lr});if(S)throw S;if(!x||!x.session||!x.user){const w=new ko;return this._returnResult({data:{user:null,session:null},error:w})}return x.session&&(await this._saveSession(x.session),await this._notifyAllSubscribers("SIGNED_IN",x.session)),this._returnResult({data:Object.assign({},x),error:S})}catch(x){if(Ae(x))return this._returnResult({data:{user:null,session:null},error:x});throw x}}async signInWithSolana(t){var n,i,a,o,l,c,h,d,p,m,g,y;let v,x;if("message"in t)v=t.message,x=t.signature;else{const{chain:S,wallet:w,statement:_,options:T}=t;let E;if(wn())if(typeof w=="object")E=w;
54else{const k=window;if("solana"in k&&typeof k.solana=="object"&&("signIn"in k.solana&&typeof k.solana.signIn=="function"||"signMessage"in k.solana&&typeof k.solana.signMessage=="function"))E=k.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof w!="object"||!T?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");E=w}const C=new URL((n=T?.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in E&&E.signIn){const k=await E.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},T?.signInWithSolana),{version:"1",domain:C.host,uri:C.href}),_?{statement:_}:null));let I;if(Array.isArray(k)&&k[0]&&typeof k[0]=="object")I=k[0];else if(k&&t
54ypeof k=="object"&&"signedMessage"in k&&"signature"in k)I=k;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in I&&"signature"in I&&(typeof I.signedMessage=="string"||I.signedMessage instanceof Uint8Array)&&I.signature instanceof Uint8Array)v=typeof I.signedMessage=="string"?I.signedMessage:new TextDecoder().decode(I.signedMessage),x=I.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in E)||typeof E.signMessage!="function"||!("publicKey"in E)||typeof E!="object"||!E.publicKey||!("toBase58"in E.publicKey)||typeof E.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");v=[`${C.host} wants you to sign in with your Solana account:`,E.publicKey.toBase58(),..._?["",_,""]:[""],"Version: 1",`URI: ${C.href}`,`Issued At: ${(a=(i=T?.signInWithSolana)===null||i===void 0?void 0:i.issuedAt)!==null&&a!==void 0?a:new Date().toISOString()}`,...!((o=T?.signInWithSolana)===null||o===void 0)&&o.notBefore?[`Not Before: ${T.signInWithSolana.notBefore}`]:[],...!((l=T?.signInWithSolana)===null||l===void 0)&&l.expirationTime?[`Expiration Time: ${T.signInWithSolana.expirationTime}`]:[],...!((c=T?.signInWithSolana)===null||c===void 0)&&c.chainId?[`Chain ID: ${T.signInWithSolana.chainId}`]:[],...!((h=T?.signInWithSolana)===null||h===void 0)&&h.nonce?[`Nonce: ${T.signInWithSolana.nonce}`]:[],...!((d=T?.signInWithSolana)===null||d===void 0)&&d.requestId?[`Request ID: ${T.signInWithSolana.requestId}`]:[],...!((m=(p=T?.signInWithSolana)===null||p===void 0?void 0:p.resources)===null||m===void 0)&&m.length?["Resources",...T.signInWithSolana.resources.map(I=>`- ${I}`)]:[]].join(`
55`);const k=await E.signMessage(new TextEncoder().encode(v),"utf8");if(!k||!(k instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");x=k}}try{const{data:S,error:w}=await xe(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:v,signature:Ea(x)},!((g=t.options)===null||g===void 0)&&g.captchaToken?{gotrue_meta_security:{captcha_token:(y=t.options)===null||y===void 0?void 0:y.captchaToken}}:null),xform:lr});if(w)throw w;if(!S||!S.session||!S.user){const _=new ko;return this._returnResult({data:{user:null,session:null},error:_})}return S.session&&(await this._saveSession(S.session),await this._notifyAllSubscribers("SIGNED_IN",S.session)),this._returnResult({data:Object.assign({},S),error:w})}catch(S){if(Ae(S))return this._returnResult({data:{user:null,session:null},error:S});throw S}}async _exchangeCodeForSession(t){const n=await bi(this.storage,`${this.storageKey}-code-verifier`),[i,a]=(n??"").split("/");try{if(!i&&this.flowType==="pkce")throw new l8;const{data:o,error:l}=await xe(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:i},xform:lr});if(await Xt(this.storage,`${this.storageKey}-code-verifier`),l)throw l;if(!o||!o.session||!o.user){const c=new ko;return this._returnResult({data:{user:null,session:null,redirectType:null},error:c})}return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers(a==="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",o.session)),this._returnResult({data:Object.assign(Object.assign({},o),{redirectType:a??null}),error:l})}catch(o){if(await Xt(this.storage,`${this.storageKey}-code-verifier`),Ae(o))return this._returnResult({data:{user:null,session:null,redirectType:null},error:o});throw o}}async signInWithIdToken(t){try{const{options:n,provider:i,token:a,access_token:o,nonce:l}=t,c=await xe(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:i,id_token:a,access_token:o,nonce:l,gotrue_meta_security:{captcha_token:n?.captchaToken}},xform:lr}),{data:h,error:d}=c;if(d)return this._returnResult({data:{user:null,session:null},error:d});if(!h||!h.session||!h.user){const p=new ko;return this._returnResult({data:{user:null,session:null},error:p})}return h.session&&(await this._saveSession(h.session),await this._notifyAllSubscribers("SIGNED_IN",h.session)),this._returnResult({data:h,error:d})}catch(n){if(Ae(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,i,a,o,l;try{if("email"in t){const{email:c,options:h}=t;let d=null,p=null;this.flowType==="pkce"&&([d,p]=await Io(this.storage,this.storageKey));const{error:m}=await xe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:c,data:(n=h?.data)!==null&&n!==void 0?n:{}
55,create_user:(i=h?.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:h?.captchaToken},code_challenge:d,code_challenge_method:p},redirectTo:h?.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:m})}if("phone"in t){const{phone:c,options:h}=t,{data:d,error:p}=await xe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:c,data:(a=h?.data)!==null&&a!==void 0?a:{},create_user:(o=h?.shouldCreateUser)!==null&&o!==void 0?o:!0,gotrue_meta_security:{captcha_token:h?.captchaToken},channel:(l=h?.channel)!==null&&l!==void 0?l:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:d?.message_id},error:p})}throw new Rd("You must provide either an email or phone number.")}catch(c){if(await Xt(this.storage,`${this.storageKey}-code-verifier`),Ae(c))return this._returnResult({data:{user:null,session:null},error:c});throw c}}async verifyOtp(t){var n,i;try{let a,o;"options"in t&&(a=(n=t.options)===null||n===void 0?void 0:n.redirectTo,o=(i=t.options)===null||i===void 0?void 0:i.captchaToken);const{data:l,error:c}=await xe(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:o}}),redirectTo:a,xform:lr});if(c)throw c;if(!l)throw new Error("An error occurred on token verification.");const h=l.session,d=l.user;return h?.access_token&&(await this._saveSession(h),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",h)),this._returnResult({data:{user:d,session:h},error:null})}catch(a){if(Ae(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async signInWithSSO(t){var n,i,a,o,l;try{let c=null,h=null;this.flowType==="pkce"&&([c,h]=await Io(this.storage,this.storageKey));const d=await xe(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(i=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&i!==void 0?i:void 0}),!((a=t?.options)===null||a===void 0)&&a.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:c,code_challenge_method:h}),headers:this.headers,xform:B8});return!((o=d.data)===null||o===void 0)&&o.url&&wn()&&!(!((l=t.options)===null||l===void 0)&&l.skipBrowserRedirect)&&window.location.assign(d.data.url),this._returnResult(d)}catch(c){if(await Xt(this.storage,`${this.storageKey}-code-verifier`),Ae(c))return this._returnResult({data:null,error:c});throw c}}async reauthenticate(){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate()):await this._reauthenticate()}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:i}=t;if(i)throw i;if(!n)throw new sn;const{error:a}=await xe(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:a})})}catch(t){if(Ae(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:i,type:a,options:o}=t,{error:l}=await xe(this.fetch,"POST",n,{headers:this.headers,body:{email:i,type:a,gotrue_meta_security:{captcha_token:o?.captchaToken}},redirectTo:o?.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:l})}else if("phone"in t){const{phone:i,type:a,options:o}=t,{data:l,error:c}=await xe(this.fetch,"POST",n,{headers:this.headers,body:{phone:i,type:a,gotrue_meta_security:{captcha_token:o?.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:l?.message_id},error:c})}throw new Rd("You must provide either an email or phone number and a type")}catch(n){if(Ae(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async t=>t)):await this._useSession(async t=>t)}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const i=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),a=(async()=>(await i,await n()))();return this.pendingInLock.push((async()=>{try{await a}catch{}})()),a}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const i=n();for(this.pendingInLock.push((async()=>{try{await i}catch{}})()),await i;this.pendingInLock.length;){const a=[...this.pendingInLock];await Promise.all(a),this.pendingInLock.splice(0,a.length)}return await i}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lock!=null&&!this.lockAcquired&&this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await bi(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not val
55id"),await this._removeSession())),!t)return{data:{session:null},error:null};const i=t.expires_at?t.expires_at*1e3-Date.now()<Ep:!1;if(this._debug("#__loadSession()",`session has${i?"":" not"} expired`,"expires_at",t.expires_at),!i){if(this.userStorage){const l=await bi(this.userStorage,this.storageKey+"-user");l?.user?t.user=l.user:t.user=Tp()}if(this.storage.isServer&&t.user&&!t.user.__isUserNotAvailableProxy){const l={value:this.suppressGetSessionWarning};t.user=I8(t.user,l),l.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:t},error:null}}const{data:a,error:o}=await this._callRefreshToken(t.refresh_token);return o?this._returnResult({data:{session:null},error:o}):this._returnResult({data:{session:a},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(t){if(t)return await this._getUser(t);await this.initializePromise;let n;return this.lock!=null?n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser()):n=await this._getUser(),n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await xe(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Es}):await this._useSession(async n=>{var i,a,o;const{data:l,error:c}=n;if(c)throw c;return!(!((i=l.session)===null||i===void 0)&&i.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new sn}:await xe(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(o=(a=l.session)===null||a===void 0?void 0:a.access_token)!==null&&o!==void 0?o:void 0,xform:Es})})}catch(n){if(Ae(n))return Td(n)&&(await this._removeSession(),await Xt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n)):await this._updateUser(t,n)}async _updateUser(t,n={}){try{return await this._useSession(async i=>{const{data:a,error:o}=i;if(o)throw o;if(!a.session)throw new sn;const l=a.session;let c=null,h=null;this.flowType==="pkce"&&t.email!=null&&([c,h]=await Io(this.storage,this.storageKey));const{data:d,error:p}=await xe(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n?.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:c,code_challenge_method:h}),jwt:l.access_token,xform:Es});if(p)throw p;return l.user=d.user,await this._saveSession(l),await this._notifyAllSubscribers("USER_UPDATED",l),this._returnResult({data:{user:l.user},error:null})})}catch(i){if(await Xt(this.storage,`${this.storageKey}-code-verifier`),Ae(i))return this._returnResult({data:{user:null},error:i});throw i}}async setSession(t){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t)):await this._setSession(t)}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new sn;const n=Date.now()/1e3;let i=n,a=!0,o=null;const{payload:l}=kd(t.access_token);if(l.exp&&(i=l.exp,a=i<=n),a){const{data:c,error:h}=await this._callRefreshToken(t.refresh_token);if(h)return this._returnResult({data:{user:null,session:null},error:h});if(!c)return{data:{user:null,session:null},error:null};o=c}else{const{data:c,error:h}=await this._getUser(t.access_token);if(h)return this._returnResult({data:{user:null,session:null},error:h});o={access_token:t.access_token,refresh_token:t.refresh_token,user:c.user,token_type:"bearer",expires_in:i-n,expires_at:i},await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)}return this._returnResult({data:{user:o.user,session:o},error:null})}catch(n){if(Ae(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t)):await this._refreshSession(t)}async _refreshSession(t){try{return await this._useSession(async n=>{var i;if(!t){const{data:l,error:c}=n;if(c)throw c;t=(i=l.session)!==null&&i!==void 0?i:void 0}if(!t?.refresh_token)throw new sn;const{data:a,error:o}=await this._callRefreshToken(t.refresh_token);return o?this._returnResult({data:{user:null,session:null},error:o}):a?this._returnResult({data:{user:a.user,session:a},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(Ae(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(t,n){var i;try{if(!wn())throw new Od("No browser detected.");
55if(t.error||t.error_description||t.error_code)throw new Od(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new sw("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Od("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new sw("No code detected.");const{data:T,error:E}=await this._exchangeCodeForSession(t.code);if(E)throw E;const C=new URL(window.location.href);return C.searchParams.delete("code"),window.history.replaceState(window.history.state,"",C.toString()),{data:{session:T.session,redirectType:(i=T.redirectType)!==null&&i!==void 0?i:null},error:null}}const{provider_token:a,provider_refresh_token:o,access_token:l,refresh_token:c,expires_in:h,expires_at:d,token_type:p}=t;if(!l||!h||!c||!p)throw new Od("No session defined in URL");const m=Math.round(Date.now()/1e3),g=parseInt(h);let y=m+g;d&&(y=parseInt(d));const v=y-m;v*1e3<=bs&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${v}s, should have been closer to ${g}s`);const x=y-g;m-x>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",x,y,m):m-x<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",x,y,m);const{data:S,error:w}=await this._getUser(l);if(w)throw w;const _={provider_token:a,provider_refresh_token:o,access_token:l,expires_in:g,expires_at:y,refresh_token:c,token_type:p,user:S.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:_,redirectType:t.type},error:null})}catch(a){if(Ae(a))return this._returnResult({data:{session:null,redirectType:null},error:a});throw a}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error||t.error_description||t.error_code)}async _isPKCECallback(t){const n=await bi(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t)):await this._signOut(t)}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var i;const{data:a,error:o}=n;if(o&&!Td(o))return this._returnResult({error:o});const l=(i=a.session)===null||i===void 0?void 0:i.access_token;if(l){const{error:c}=await this.admin.signOut(l,t);if(c&&!(o8(c)&&(c.status===404||c.status===401||c.status===403)||Td(c)))return this._returnResult({error:c})}return t!=="others"&&(await this._removeSession(),await Xt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=A8(),i={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,i),(async()=>(await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)}):await this._emitInitialSession(n)))(),{data:{subscription:i}}}async _emitInitialSession(t){return await this._useSession(async n=>{var i,a;try{const{data:{session:o},error:l}=n;if(l)throw l;await((i=this.stateChangeEmitters.get(t))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",o)),this._debug("INITIAL_SESSION","callback id",t,"session",o)}catch(o){await((a=this.stateChangeEmitters.get(t))===null||a===void 0?void 0:a.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",o),Td(o)?console.warn(o):console.error(o)}})}async resetPasswordForEmail(t,n={}){let i=null,a=null;this.flowType==="pkce"&&([i,a]=await Io(this.storage,this.storageKey,!0));try{return await xe(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:i,code_challenge_method:a,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(o){if(await Xt(this.storage,`${this.storageKey}-code-verifier`),Ae(o))return this._returnResult({data:null,error:o});throw o}}async getUserIdentities(){var t;try{const{data:n,error:i}=await this.getUser();if(i)throw i;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:i,error:a}=await this._useSession(async o=>{var l,c,h,d,p;const{data:m,error:g}=o;if(g)throw g;const y=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(l=t.options)===null||l===void 0?void 0:l.redirectTo,scopes:(c=t.options)===null||c===void 0?void 0:c.scopes,queryParams:(h=t.options)===null||h===void 0?void 0:h.queryParams,skipBrowserRedirect:!0});return await xe(this.fetch,"GET",y,{headers:this.headers,jwt:(p=(d=m.session)===null||d===void 0?void 0:d.access_token)!==null&&p!==void 0?p:void 0})});if(a)throw a;
55return wn()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(i?.url),this._returnResult({data:{provider:t.provider,url:i?.url},error:null})}catch(i){if(Ae(i))return this._returnResult({data:{provider:t.provider,url:null},error:i});throw i}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var i;try{const{error:a,data:{session:o}}=n;if(a)throw a;const{options:l,provider:c,token:h,access_token:d,nonce:p}=t,m=await xe(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(i=o?.access_token)!==null&&i!==void 0?i:void 0,body:{provider:c,id_token:h,access_token:d,nonce:p,link_identity:!0,gotrue_meta_security:{captcha_token:l?.captchaToken}},xform:lr}),{data:g,error:y}=m;return y?this._returnResult({data:{user:null,session:null},error:y}):!g||!g.session||!g.user?this._returnResult({data:{user:null,session:null},error:new ko}):(g.session&&(await this._saveSession(g.session),await this._notifyAllSubscribers("USER_UPDATED",g.session)),this._returnResult({data:g,error:y}))}catch(a){if(await Xt(this.storage,`${this.storageKey}-code-verifier`),Ae(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var i,a;const{data:o,error:l}=n;if(l)throw l;return await xe(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(a=(i=o.session)===null||i===void 0?void 0:i.access_token)!==null&&a!==void 0?a:void 0})})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n="#_refreshAccessToken()";this._debug(n,"begin");try{const i=Date.now();return await w8(async a=>(a>0&&await v8(200*Math.pow(2,a-1)),this._debug(n,"refreshing attempt",a),await xe(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:lr})),(a,o)=>{const l=200*Math.pow(2,a);return o&&Cp(o)&&Date.now()+l-i<bs})}catch(i){if(this._debug(n,"error",i),Ae(i))return this._returnResult({data:{session:null,user:null},error:i});throw i}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const i=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",i),wn()&&!n.skipBrowserRedirect&&window.location.assign(i),{data:{provider:t,url:i},error:null}}async _recoverAndRefresh(){var t,n;const i="#_recoverAndRefresh()";this._debug(i,"begin");try{const a=await bi(this.storage,this.storageKey);if(a&&this.userStorage){let l=await bi(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!l&&(l={user:a.user},await zo(this.userStorage,this.storageKey+"-user",l)),a.user=(t=l?.user)!==null&&t!==void 0?t:Tp()}else if(a&&!a.user&&!a.user){const l=await bi(this.storage,this.storageKey+"-user");l&&l?.user?(a.user=l.user,await Xt(this.storage,this.storageKey+"-user"),await zo(this.storage,this.storageKey,a)):a.user=Tp()}if(this._debug(i,"session from storage",a),!this._isValidSession(a)){this._debug(i,"session is not valid"),a!==null&&await this._removeSession();return}const o=((n=a.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<Ep;if(this._debug(i,`session has${o?"":" not"} expired with margin of ${Ep}s`),o){if(this.autoRefreshToken&&a.refresh_token){const{error:l}=await this._callRefreshToken(a.refresh_token);l&&(c8(l)?this._debug(i,"refresh discarded by commit guard",l):(console.error(l),Cp(l)||(this._debug(i,"refresh failed with a non-retryable error, removing the session",l),await this._removeSession())))}}else if(a.user&&a.user.__isUserNotAvailableProxy===!0)try{const{data:l,error:c}=await this._getUser(a.access_token);!c&&l?.user?(a.user=l.user,await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)):this._debug(i,"could not get user data, skipping SIGNED_IN notification")}catch(l){console.error("Error getting user data:",l),this._debug(i,"error getting user data, skipping SIGNED_IN notification",l)}else await this._notifyAllSubscribers("SIGNED_IN",a)}catch(a){this._debug(i,"error",a),console.error(a);return}finally{this._debug(i,"end")}}async _callRefreshToken(t){var n,i;if(!t)throw new sn;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const a="#_callRefreshToken()";this._debug(a,"begin");try{this.refreshingDeferred=new qf;const o=await bi(this.storage,this.storageKey),{data:l,error:c}=await this._refreshAccessToken(t);if(c)throw c;if(!l.session)throw new sn;const h=await bi(this.storage,this.storageKey);if(o!==null&&(h===null||h.refresh_token!==o.refresh_token)){this._debug(a,"commit guard: storage changed since refresh started, discarding rotated tokens",{startedWith:"present",nowHolds:h?"replaced":"cleared"});const g={data:null,error:new aw};return this.refreshingDeferred.resolve(g),g}const p=this._sessionRemovalEpoch;if(await this._saveSession(l.session),this._sessionRemovalEpoch!==p){this._debug(a,"commit guard (post-save): _removeSession ran during _saveSession, und
55oing write"),await Xt(this.storage,this.storageKey),this.userStorage&&await Xt(this.userStorage,this.storageKey+"-user");const g={data:null,error:new aw};return this.refreshingDeferred.resolve(g),g}await this._notifyAllSubscribers("TOKEN_REFRESHED",l.session);const m={data:l.session,error:null};return this.refreshingDeferred.resolve(m),m}catch(o){if(this._debug(a,"error",o),Ae(o)){const l={data:null,error:o};return Cp(o)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(l),l}throw(i=this.refreshingDeferred)===null||i===void 0||i.reject(o),o}finally{this.refreshingDeferred=null,this._debug(a,"end")}}async _notifyAllSubscribers(t,n,i=!0){const a=`#_notifyAllSubscribers(${t})`;this._debug(a,"begin",n,`broadcast = ${i}`);try{this.broadcastChannel&&i&&this.broadcastChannel.postMessage({event:t,session:n});const o=[],l=Array.from(this.stateChangeEmitters.values()).map(async c=>{try{await c.callback(t,n)}catch(h){o.push(h)}});if(await Promise.all(l),o.length>0){for(let c=0;c<o.length;c+=1)console.error(o[c]);throw o[0]}}finally{this._debug(a,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await Xt(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},t),i=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!i&&n.user&&await zo(this.userStorage,this.storageKey+"-user",{user:n.user});const a=Object.assign({},n);delete a.user;const o=dw(a);await zo(this.storage,this.storageKey,o)}else{const a=dw(n);await zo(this.storage,this.storageKey,a)}}async _removeSession(){this._sessionRemovalEpoch+=1,this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await Xt(this.storage,this.storageKey),await Xt(this.storage,this.storageKey+"-code-verifier"),await Xt(this.storage,this.storageKey+"-user"),this.userStorage&&await Xt(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&wn()&&window?.removeEventListener&&window.removeEventListener("visibilitychange",t)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),bs);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async dispose(){var t;this._removeVisibilityChangedCallback(),await this._stopAutoRefresh(),(t=this.broadcastChannel)===null||t===void 0||t.close(),this.broadcastChannel=null,this.stateChangeEmitters.clear()}async _autoRefreshTokenTick(){if(this._debug("#_autoRefreshTokenTick()","begin"),this.lock!=null){try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:i}}=n;if(!i||!i.refresh_token||!i.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const a=Math.floor((i.expires_at*1e3-t)/bs);this._debug("#_autoRefreshTokenTick()",`access token expires in ${a} ticks, a tick lasts ${bs}ms, refresh threshold is ${bl} ticks`),a<=bl&&await this._callRefreshToken(i.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t instanceof U8)this._debug("auto refresh token tick lock not available");else throw t}return}if(this.refreshingDeferred!==null){this._debug("#_autoRefreshTokenTick()","refresh already in flight, skipping");return}try{const t=Date.now();try{await this._useSession(async n=>{const{data:{session:i}}=n;
55if(!i||!i.refresh_token||!i.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const a=Math.floor((i.expires_at*1e3-t)/bs);this._debug("#_autoRefreshTokenTick()",`access token expires in ${a} ticks, a tick lasts ${bs}ms, refresh threshold is ${bl} ticks`),a<=bl&&await this._callRefreshToken(i.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!wn()||!window?.addEventListener)return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window?.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;if(this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"){if(this.autoRefreshToken&&this._startAutoRefresh(),!t)if(await this.initializePromise,this.lock!=null)await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()});else{if(document.visibilityState!=="visible"){this._debug(n,"visibilityState is no longer visible, skipping recovery");return}await this._recoverAndRefresh()}}else document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,i){const a=[`provider=${encodeURIComponent(n)}`];if(i?.redirectTo&&a.push(`redirect_to=${encodeURIComponent(i.redirectTo)}`),i?.scopes&&a.push(`scopes=${encodeURIComponent(i.scopes)}`),this.flowType==="pkce"){const[o,l]=await Io(this.storage,this.storageKey),c=new URLSearchParams({code_challenge:`${encodeURIComponent(o)}`,code_challenge_method:`${encodeURIComponent(l)}`});a.push(c.toString())}if(i?.queryParams){const o=new URLSearchParams(i.queryParams);a.push(o.toString())}return i?.skipBrowserRedirect&&a.push(`skip_http_redirect=${i.skipBrowserRedirect}`),`${t}?${a.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var i;const{data:a,error:o}=n;return o?this._returnResult({data:null,error:o}):await xe(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(i=a?.session)===null||i===void 0?void 0:i.access_token})})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var i,a;const{data:o,error:l}=n;if(l)return this._returnResult({data:null,error:l});const c=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:h,error:d}=await xe(this.fetch,"POST",`${this.url}/factors`,{body:c,headers:this.headers,jwt:(i=o?.session)===null||i===void 0?void 0:i.access_token});return d?this._returnResult({data:null,error:d}):(t.factorType==="totp"&&h.type==="totp"&&(!((a=h?.totp)===null||a===void 0)&&a.qr_code)&&(h.totp.qr_code=`data:image/svg+xml;utf-8,${h.totp.qr_code}`),this._returnResult({data:h,error:null}))})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){const n=async()=>{try{return await this._useSession(async i=>{var a;const{data:o,error:l}=i;if(l)return this._returnResult({data:null,error:l});const c=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?yw(t.webauthn.credential_response):bw(t.webauthn.credential_response)})}:{code:t.code}),{data:h,error:d}=await xe(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:c,headers:this.headers,jwt:(a=o?.session)===null||a===void 0?void 0:a.access_token});return d?this._returnResult({data:null,error:d}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+h.expires_in},h)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",h),this._returnResult({data:h,error:d}))})}catch(i){if(Ae(i))return this._returnResult({data:null,error:i});throw i}};return this.lock!=null?this._acquireLock(this.lockAcquireTimeout,n):n()}async _challenge(t){const n=async()=>{try{return await this._useSession(async i=>{var a;const{data:o,error:l}=i;if(l)return this._returnResult({data:null,error:l});const c=await xe(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(a=o?.session)===null||a===void 0?void 0:a.access_token});if(c.error)return c;const{data:h}=c;if(h.type!=="webauthn")return{data:h,error:null};switch(h.webauthn.type){case"create":return{data:Object.assign(Object.assign({},h),{webauthn:Object.assign(Object.assign({},h.webauthn),{credential_options:Object.assign(Object.assign({},h.webauthn.credential_options),{publicKey:gw(h.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},h),{webauthn:Object.assign(Object.assign({},h.webauthn),{credential_options:Object.assign(Object.assign({},h.webauthn.credential_options),{publicKey:Aw(h.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(i){if(Ae(i))return this._returnResult({data:null,error:i});throw i}};return this.lock!=null?this._acquireLock(this.lockAcquireTimeout,n):n()}async _challengeAndVerify(t){const{data:n,error:i}=await this._challenge({factorId:t.factorId});return i?this._returnResult({data:null,error:i}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:i}=await this.getUser();if(i)return{data:null,error:i};const a={all:[],phone:[],totp:[],webauthn:[]};for(const o of(t=n?.factors)!==null&&t!==void 0?t:[])a.all.push(o),o.status==="verified"&&a[o.factor_type].push(o);return{data:a,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,i,a,o;if(t)try{const{payload:y}=kd(t);let v=null;y.aal&&(v=y.aal);let x=v;const{data:{user:S},error:w}=await this.getUser(t);if(w)return this._returnResult({data:null,error:w});((i=(n=S?.factors)===null||n===void 0?void 0:n.filter(E=>E.status==="verified"))!==null&&i!==void 0?i:[]).length>0&&(x="aal2");const T=y.amr||[];return{data:{currentLevel:v,nextLevel:x,currentAuthenticationMethods:T},error:null}}catch(y){if(Ae(y))return this._returnResult({data:null,error:y});throw y}const{data:{session:l},error:c}
55=await this.getSession();if(c)return this._returnResult({data:null,error:c});if(!l)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:h}=kd(l.access_token);let d=null;h.aal&&(d=h.aal);let p=d;((o=(a=l.user.factors)===null||a===void 0?void 0:a.filter(y=>y.status==="verified"))!==null&&o!==void 0?o:[]).length>0&&(p="aal2");const g=h.amr||[];return{data:{currentLevel:d,nextLevel:p,currentAuthenticationMethods:g},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:i},error:a}=n;return a?this._returnResult({data:null,error:a}):i?await xe(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:i.access_token,xform:o=>({data:o,error:null})}):this._returnResult({data:null,error:new sn})})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async i=>{const{data:{session:a},error:o}=i;if(o)return this._returnResult({data:null,error:o});if(!a)return this._returnResult({data:null,error:new sn});const l=await xe(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:a.access_token,body:{action:"approve"},xform:c=>({data:c,error:null})});return l.data&&l.data.redirect_url&&wn()&&!n?.skipBrowserRedirect&&window.location.assign(l.data.redirect_url),l})}catch(i){if(Ae(i))return this._returnResult({data:null,error:i});throw i}}async _denyAuthorization(t,n){try{return await this._useSession(async i=>{const{data:{session:a},error:o}=i;if(o)return this._returnResult({data:null,error:o});if(!a)return this._returnResult({data:null,error:new sn});const l=await xe(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:a.access_token,body:{action:"deny"},xform:c=>({data:c,error:null})});return l.data&&l.data.redirect_url&&wn()&&!n?.skipBrowserRedirect&&window.location.assign(l.data.redirect_url),l})}catch(i){if(Ae(i))return this._returnResult({data:null,error:i});throw i}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:i}=t;return i?this._returnResult({data:null,error:i}):n?await xe(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:a=>({data:a,error:null})}):this._returnResult({data:null,error:new sn})})}catch(t){if(Ae(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:i},error:a}=n;return a?this._returnResult({data:null,error:a}):i?(await xe(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:i.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new sn})})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let i=n.keys.find(c=>c.kid===t);if(i)return i;const a=Date.now();if(i=this.jwks.keys.find(c=>c.kid===t),i&&this.jwks_cached_at+s8>a)return i;const{data:o,error:l}=await xe(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(l)throw l;return!o.keys||o.keys.length===0||(this.jwks=o,this.jwks_cached_at=a,i=o.keys.find(c=>c.kid===t),!i)?null:i}async getClaims(t,n={}){try{let i=t;if(!i){const{data:y,error:v}
55=await this.getSession();if(v||!y.session)return this._returnResult({data:null,error:v});i=y.session.access_token}const{header:a,payload:o,signature:l,raw:{header:c,payload:h}}=kd(i);if(!n?.allowExpired)try{R8(o.exp)}catch(y){throw new Sf(y instanceof Error?y.message:"JWT validation failed")}const d=!a.alg||a.alg.startsWith("HS")||!a.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(a.kid,n?.keys?{keys:n.keys}:n?.jwks);if(!d){const{error:y}=await this.getUser(i);if(y)throw y;return{data:{claims:o,header:a,signature:l},error:null}}const p=O8(a.alg),m=await crypto.subtle.importKey("jwk",d,p,!0,["verify"]);if(!await crypto.subtle.verify(p,m,l,m8(`${c}.${h}`)))throw new Sf("Invalid JWT signature");return{data:{claims:o,header:a,signature:l},error:null}}catch(i){if(Ae(i))return this._returnResult({data:null,error:i});throw i}}async signInWithPasskey(t){var n,i,a;Er(this.experimental);try{if(!Ef())return this._returnResult({data:null,error:new Tr("Browser does not support WebAuthn",null)});const{data:o,error:l}=await this._startPasskeyAuthentication({options:{captchaToken:(n=t?.options)===null||n===void 0?void 0:n.captchaToken}});if(l||!o)return this._returnResult({data:null,error:l});const c=Aw(o.options),h=(a=(i=t?.options)===null||i===void 0?void 0:i.signal)!==null&&a!==void 0?a:ng.createNewAbortSignal(),{data:d,error:p}=await Xx({publicKey:c,signal:h});if(p||!d)return this._returnResult({data:null,error:p??new Tr("WebAuthn ceremony failed",null)});const m=bw(d);return this._verifyPasskeyAuthentication({challengeId:o.challenge_id,credential:m})}catch(o){if(Ae(o))return this._returnResult({data:null,error:o});throw o}}async registerPasskey(t){var n,i;Er(this.experimental);try{if(!Ef())return this._returnResult({data:null,error:new Tr("Browser does not support WebAuthn",null)});const{data:a,error:o}=await this._startPasskeyRegistration();if(o||!a)return this._returnResult({data:null,error:o});const l=gw(a.options),c=(i=(n=t?.options)===null||n===void 0?void 0:n.signal)!==null&&i!==void 0?i:ng.createNewAbortSignal(),{data:h,error:d}=await $x({publicKey:l,signal:c});if(d||!h)return this._returnResult({data:null,error:d??new Tr("WebAuthn ceremony failed",null)});const p=yw(h);return this._verifyPasskeyRegistration({challengeId:a.challenge_id,credential:p})}catch(a){if(Ae(a))return this._returnResult({data:null,error:a});throw a}}async _startPasskeyRegistration(){Er(this.experimental);try{return await this._useSession(async t=>{const{data:{session:n},error:i}=t;if(i)return this._returnResult({data:null,error:i});if(!n)return this._returnResult({data:null,error:new sn});const{data:a,error:o}=await xe(this.fetch,"POST",`${this.url}/passkeys/registration/options`,{headers:this.headers,jwt:n.access_token,body:{}});return o?this._returnResult({data:null,error:o}):this._returnResult({data:a,error:null})})}catch(t){if(Ae(t))return this._returnResult({data:null,error:t});throw t}}async _verifyPasskeyRegistration(t){Er(this.experimental);try{return await this._useSession(async n=>{const{data:{session:i},error:a}=n;if(a)return this._returnResult({data:null,error:a});if(!i)return this._returnResult({data:null,error:new sn});const{data:o,error:l}=await xe(this.fetch,"POST",`${this.url}/passkeys/registration/verify`,{headers:this.headers,jwt:i.access_token,body:{challenge_id:t.challengeId,credential:t.credential}});return l?this._returnResult({data:null,error:l}):this._returnResult({data:o,error:null})})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async _startPasskeyAuthentication(t){var n;Er(this.experimental);try{const{data:i,error:a}=await xe(this.fetch,"POST",`${this.url}/passkeys/authentication/options`,{headers:this.headers,body:{gotrue_meta_security:{captcha_token:(n=t?.options)===null||n===void 0?void 0:n.captchaToken}}});return a?this._returnResult({data:null,error:a}):this._returnResult({data:i,error:null})}catch(i){if(Ae(i))return this._returnResult({data:null,error:i});throw i}}async _verifyPasskeyAuthentication(t){Er(this.experimental);try{const{data:n,error:i}=await xe(this.fetch,"POST",`${this.url}/passkeys/authentication/verify`,{headers:this.headers,body:{challenge_id:t.challengeId,credential:t.credential},xform:lr});return i?this._returnResult({data:null,error:i}):(n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",n.session)),this._returnResult({data:n,error:null}))}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async _listPasskeys(){Er(this.experimental);try{return await this._useSession(async t=>{const{data:{session:n},error:i}=t;if(i)return this._returnResult({data:null,error:i});if(!n)return this._returnResult({data:null,error:new sn});const{data:a,error:o}=await xe(this.fetch,"GET",`${this.url}/passkeys`,{headers:this.headers,jwt:n.access_token,xform:l=>({data:l,error:null})});return o?this._returnResult({data:null,error:o}):this._returnResult({data:a,error:null})})}catch(t){if(Ae(t))return this._returnResult({data:null,error:t});throw t}}async _updatePasskey(t){Er(this.experimental);try{return await this._useSession(async n=>{const{data:{session:i},error:a}=n;
55if(a)return this._returnResult({data:null,error:a});if(!i)return this._returnResult({data:null,error:new sn});const{data:o,error:l}=await xe(this.fetch,"PATCH",`${this.url}/passkeys/${t.passkeyId}`,{headers:this.headers,jwt:i.access_token,body:{friendly_name:t.friendlyName}});return l?this._returnResult({data:null,error:l}):this._returnResult({data:o,error:null})})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}async _deletePasskey(t){Er(this.experimental);try{return await this._useSession(async n=>{const{data:{session:i},error:a}=n;if(a)return this._returnResult({data:null,error:a});if(!i)return this._returnResult({data:null,error:new sn});const{error:o}=await xe(this.fetch,"DELETE",`${this.url}/passkeys/${t.passkeyId}`,{headers:this.headers,jwt:i.access_token,noResolveJson:!0});return o?this._returnResult({data:null,error:o}):this._returnResult({data:null,error:null})})}catch(n){if(Ae(n))return this._returnResult({data:null,error:n});throw n}}}Ll.nextInstanceID={};const X8=Ll,eD="2.107.0";let vl="",Tf;if(typeof Deno<"u"){var Op;vl="deno",Tf=(Op=Deno.version)===null||Op===void 0?void 0:Op.deno}else if(typeof document<"u")vl="web";else if(typeof navigator<"u"&&navigator.product==="ReactNative")vl="react-native";else{var kp;vl="node",Tf=typeof process<"u"?(kp=process.version)===null||kp===void 0?void 0:kp.replace(/^v/,""):void 0}const eE=[`runtime=${vl}`];Tf&&eE.push(`runtime-version=${Tf}`);const tD={"X-Client-Info":`supabase-js/${eD}; ${eE.join("; ")}`},nD={headers:tD},rD={schema:"public"},iD={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},sD={},aD={enabled:!1,respectSamplingDecision:!0};function oD(e,t,n,i){function a(o){return o instanceof n?o:new n(function(l){l(o)})}return new(n||(n=Promise))(function(o,l){function c(p){try{d(i.next(p))}catch(m){l(m)}}function h(p){try{d(i.throw(p))}catch(m){l(m)}}function d(p){p.done?o(p.value):a(p.value).then(c,h)}d((i=i.apply(e,[])).next())})}let Ip=null;const uD="@opentelemetry/api";function lD(){return Ip===null&&(Ip=import(uD).catch(()=>null)),Ip}function cD(){return oD(this,void 0,void 0,function*(){try{const e=yield lD();if(!e||!e.propagation||!e.context)return null;const t={};e.propagation.inject(e.context.active(),t);const n=t.traceparent;return n?{traceparent:n,tracestate:t.tracestate,baggage:t.baggage}:null}catch{return null}})}function dD(e){if(!e||typeof e!="string")return null;const t=e.split("-");if(t.length!==4)return null;const[n,i,a,o]=t;if(n.length!==2||i.length!==32||a.length!==16||o.length!==2)return null;const l=/^[0-9a-f]+$/i;return!l.test(n)||!l.test(i)||!l.test(a)||!l.test(o)||i==="00000000000000000000000000000000"||a==="0000000000000000"?null:{version:n,traceId:i,parentId:a,traceFlags:o,isSampled:(parseInt(o,16)&1)===1}}function fD(e,t){if(!e||!t||t.length===0)return!1;let n;if(e instanceof URL)n=e;else try{n=new URL(e)}catch{return!1}for(const i of t)try{if(typeof i=="string"){if(hD(n.hostname,i))return!0}else if(i instanceof RegExp){if(i.test(n.hostname))return!0}else if(typeof i=="function"&&i(n))return!0}catch{continue}return!1}function hD(e,t){if(t===e)return!0;if(t.startsWith("*.")){const n=t.slice(2);if(e.endsWith(n)&&(e===n||e.endsWith("."+n)))return!0}return!1}function pD(e){const t=[];try{const n=new URL(e);t.push(n.hostname)}catch{}return t.push("*.supabase.co","*.supabase.in"),t.push("localhost","127.0.0.1","[::1]"),t}function Pl(e){"@babel/helpers - typeof";return Pl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pl(e)}function mD(e,t){if(Pl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(Pl(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gD(e){var t=mD(e,"string");return Pl(t)=="symbol"?t:t+""}function AD(e,t,n){return(t=gD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function Mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
55t%2?vw(Object(n),!0).forEach(function(i){AD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vw(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}const yD=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),bD=()=>Headers,vD=(e,t,n,i,a)=>{const o=yD(i),l=bD(),c=a?.enabled===!0,h=a?.respectSamplingDecision!==!1,d=c?pD(t):null;return async(p,m)=>{var g;const y=(g=await n())!==null&&g!==void 0?g:e;let v=new l(m?.headers);if(v.has("apikey")||v.set("apikey",e),v.has("Authorization")||v.set("Authorization",`Bearer ${y}`),d){const x=await wD(p,d,h);x&&(x.traceparent&&!v.has("traceparent")&&v.set("traceparent",x.traceparent),x.tracestate&&!v.has("tracestate")&&v.set("tracestate",x.tracestate),x.baggage&&!v.has("baggage")&&v.set("baggage",x.baggage))}return o(p,Mt(Mt({},m),{},{headers:v}))}};async function wD(e,t,n){if(!fD(typeof e=="string"||e instanceof URL?e:e.url,t))return null;const i=await cD();if(!i||!i.traceparent)return null;if(n){const a=dD(i.traceparent);if(a&&!a.isSampled)return null}return i}function ww(e){return typeof e=="boolean"?{enabled:e}:e}function SD(e){return e.endsWith("/")?e:e+"/"}function _D(e,t){var n,i,a,o,l,c;const{db:h,auth:d,realtime:p,global:m}=e,{db:g,auth:y,realtime:v,global:x}=t,S=ww(e.tracePropagation),w=ww(t.tracePropagation),_={db:Mt(Mt({},g),h),auth:Mt(Mt({},y),d),realtime:Mt(Mt({},v),p),storage:{},global:Mt(Mt(Mt({},x),m),{},{headers:Mt(Mt({},(n=x?.headers)!==null&&n!==void 0?n:{}),(i=m?.headers)!==null&&i!==void 0?i:{})}),tracePropagation:{enabled:(a=(o=S?.enabled)!==null&&o!==void 0?o:w?.enabled)!==null&&a!==void 0?a:!1,respectSamplingDecision:(l=(c=S?.respectSamplingDecision)!==null&&c!==void 0?c:w?.respectSamplingDecision)!==null&&l!==void 0?l:!0},accessToken:async()=>""};return e.accessToken?_.accessToken=e.accessToken:delete _.accessToken,_}function xD(e){const t=e?.trim();if(!t)throw new Error("supabaseUrl is required.");if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(SD(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var ED=class extends X8{constructor(e){super(e)}},CD=class{constructor(e,t,n){var i,a;this.supabaseUrl=e,this.supabaseKey=t;const o=xD(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",o),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",o),this.storageUrl=new URL("storage/v1",o),this.functionsUrl=new URL("functions/v1",o);const l=`sb-${o.hostname.split(".")[0]}-auth-token`,c={db:rD,realtime:sD,auth:Mt(Mt({},iD),{},{storageKey:l}),global:nD,tracePropagation:aD},h=_D(n??{},c);if(this.settings=h,this.storageKey=(i=h.auth.storageKey)!==null&&i!==void 0?i:"",this.headers=(a=h.global.headers)!==null&&a!==void 0?a:{},h.accessToken)this.accessToken=h.accessToken,this.auth=new Proxy({},{get:(p,m)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(m)} is not possible`)}});else{var d;this.auth=this._initSupabaseAuthClient((d=h.auth)!==null&&d!==void 0?d:{},this.headers,h.global.fetch)}this.fetch=vD(t,e,this._getAccessToken.bind(this),h.global.fetch,h.tracePropagation),this.realtime=this._initRealtimeClient(Mt({headers:this.headers,accessToken:this._getAccessToken.bind(this),fetch:this.fetch},h.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(p=>this.realtime.setAuth(p)).catch(p=>console.warn("Failed to set initial Realtime auth token:",p)),this.rest=new HI(new URL("rest/v1",o).href,{headers:this.headers,schema:h.db.schema,fetch:this.fetch,timeout:h.db.timeout,urlLengthLimit:h.db.urlLengthLimit}),this.storage=new e8(this.storageUrl.href,this.headers,this.fetch,n?.storage),h.accessToken||this._listenForAuthEvents()}get functions(){return new NI(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}
55channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:i}=await e.auth.getSession();return(t=(n=i.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:i,userStorage:a,storageKey:o,flowType:l,lock:c,debug:h,throwOnError:d,experimental:p,lockAcquireTimeout:m,skipAutoInitialize:g},y,v){const x={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new ED({url:this.authUrl.href,headers:Mt(Mt({},x),y),storageKey:o,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:i,userStorage:a,flowType:l,lock:c,debug:h,throwOnError:d,experimental:p,fetch:v,lockAcquireTimeout:m,skipAutoInitialize:g,hasCustomAuthorizationHeader:Object.keys(this.headers).some(S=>S.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new _N(this.realtimeUrl.href,Mt(Mt({},e),{},{params:Mt(Mt({},{apikey:this.supabaseKey}),e?.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t?.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const TD=(e,t,n)=>new CD(e,t,n);function RD(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}RD()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function OD(){if(typeof window>"u")return;const e=location.hostname,n=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(S=>e===S||e.endsWith("."+S)),i="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",a=n?e.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+i+")(?:-dev)?(?=\\.|$)","i"))?.[1]??e.match(new RegExp("^("+i+")(?=[.-])","i"))?.[1]:void 0,o=window.parent&&window.parent!==window;if(!a||!o)return localStorage;const l=e.endsWith(".lovableproject-dev.com")||e.endsWith(".gpt-eng.com"),c=l?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,h=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),d=h&&c.test(h)?[h]:l?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],p="lovable-preview-auth:result",m=2e3,g=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),y=(S,w,_)=>new Promise(T=>{const E=g();let C=!1,k;const I=U=>{C||(C=!0,clearTimeout(k),window.removeEventListener("message",M),T(U))},M=U=>{if(d.indexOf(U.origin)<0)return;const D=U.data;D&&D.type===p&&D.requestId===E&&I(D)};window.addEventListener("message",M);const j={type:S,requestId:E,projectId:a,key:w};_!==void 0&&(j.value=_);for(const U of d)window.parent.postMessage(j,U);k=setTimeout(()=>I(null),m)});let v=!0;const x=250;return{getItem:async S=>{let w=await y("lovable-preview-auth:get",S);return!w&&v&&(await new Promise(_=>setTimeout(_,x)),w=await y("lovable-preview-auth:get",S)),v=!1,w&&w.ok&&typeof w.value=="string"?w.value===""?(localStorage.removeItem(S),null):w.value:localStorage.getItem(S)},setItem:(S,w)=>(localStorage.setItem(S,w),y("lovable-preview-auth:set",S,w).then(_=>{_&&_.ok&&typeof _.value=="string"&&localStorage.getItem(S)===w&&(_.value===""?localStorage.removeItem(S):localStorage.setItem(S,_.value))})),removeItem:S=>(localStorage.removeItem(S),y("lovable-preview-auth:remove",S).then(()=>{}))}}function kD(){return TD("https://vkemptlrwkhabhllipim.supabase.co","sb_publishable_4I3Wgms_yX1rYSVSpKPq2w_wCHICTNu",{auth:{storage:OD(),persistSession:!0,autoRefreshToken:!0}})}let Np;const tE=new Proxy({},{get(e,t,n){return Np||(Np=kD()),Reflect.get(Np,t,n)}}),ID=Os({type:"function"}).client(async({next:e})=>{const{data:t}=await tE.auth.getSession(),n=t.session?.access_token;return e({headers:n?{Authorization:`Bearer ${n}`}:{}})}),ND=Os(),Sw=TI(()=>({functionMiddleware:[ID],requestMiddleware:[ND]}));var Wl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},DD=class extends Wl{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 29,654 bytes, line 55
55this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Hg=new DD,MD={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},BD=class{#e=MD;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Ca=new BD;function jD(e){setTimeout(e,0)}var LD=typeof window>"u"||"Deno"in globalThis;function Ln(){}function PD(e,t){return typeof e=="function"?e(t):e}function rg(e){return typeof e=="number"&&e>=0&&e!==1/0}function nE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Is(e,t){return typeof e=="function"?e(t):e}function Jn(e,t){return typeof e=="function"?e(t):e}function _w(e,t){const{type:n="all",exact:i,fetchStatus:a,predicate:o,queryKey:l,stale:c}=e;if(l){if(i){if(t.queryHash!==zg(l,t.options))return!1}else if(!Fl(t.queryKey,l))return!1}if(n!=="all"){const h=t.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||o&&!o(t))}function xw(e,t){const{exact:n,status:i,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Ul(t.options.mutationKey)!==Ul(o))return!1}else if(!Fl(t.options.mutationKey,o))return!1}return!(i&&t.state.status!==i||a&&!a(t))}function zg(e,t){return(t?.queryKeyHashFn||Ul)(e)}function Ul(e){return JSON.stringify(e,(t,n)=>sg(n)?Object.keys(n).sort().reduce((i,a)=>(i[a]=n[a],i),{}):n)}function Fl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Fl(e[n],t[n])):!1}var UD=Object.prototype.hasOwnProperty;function rE(e,t,n=0){if(e===t)return e;if(n>500)return t;const i=Ew(e)&&Ew(t);if(!i&&!(sg(e)&&sg(t)))return t;const o=(i?e:Object.keys(e)).length,l=i?t:Object.keys(t),c=l.length,h=i?new Array(c):{};let d=0;for(let p=0;p<c;p++){const m=i?p:l[p],g=e[m],y=t[m];if(g===y){h[m]=g,(i?p<o:UD.call(e,m))&&d++;continue}if(g===null||y===null||typeof g!="object"||typeof y!="object"){h[m]=y;continue}const v=rE(g,y,n+1);h[m]=v,v===g&&d++}return o===c&&d===o?e:h}function ig(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ew(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function sg(e){if(!Cw(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Cw(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Cw(e){return Object.prototype.toString.call(e)==="[object Object]"}function FD(e){return new Promise(t=>{Ca.setTimeout(t,e)})}function ag(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?rE(e,t):t}function HD(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function zD(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var Gg=Symbol();function iE(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Gg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function sE(e,t){return typeof e=="function"?e(...t):!!e}function GD(e,t,n){let i=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??=t(),i||(i=!0,a.aborted?n():a.addEventListener("abort",n,{once:!0})),a)}),e}var Hl=(()=>{let e=()=>LD;return{isServer(){return e()},setIsServer(t){e=t}}})();function og(){let e,t;const n=new Promise((a,o)=>{e=a,t=o});n.status="pending",n.catch(()=>{});function i(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},n.reject=a=>{i({status:"rejected",reason:a}),t(a)},n}var qD=jD;function QD(){let e=[],t=0,n=c=>{c()},i=c=>{c()},a=qD;const o=c=>{t?e.push(c):a(()=>{n(c)})},l=()=>{const c=e;e=[],c.length&&a(()=>{i(()=>{c.forEach(h=>{n(h)})})})};return{batch:c=>{let h;t++;try{h=c()}finally{t--,t||l()}return h},batchCalls:c=>(...h)=>{o(()=>{c(...h)})},schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{i=c},setScheduler:c=>{a=c}}}var pn=QD(),KD=class extends Wl{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},Rf=new KD;function YD(e){return Math.min(1e3*2**e,3e4)}function aE(e){return(e??"online")==="online"?Rf.isOnline():!0}var ug=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function oE(e){let t=!1,n=0,i;const a=og(),o=()=>a.status!=="pending",l=x=>{if(!o()){const S=new ug(x);g(S),e.onCancel?.(S)}},c=()=>{t=!0},h=()=>{t=!1},d=()=>Hg.isFocused()&&(e.networkMode==="always"||Rf.isOnline())&&e.canRun(),p=()=>aE(e.networkMode)&&e.canRun(),m=x=>{o()||(i?.(),a.resolve(x))},g=x=>{o()||(i?.(),a.reject(x))},y=()=>new Promise(x=>{i=S=>{(o()||d())&&x(S)},e.onPause?.()}).then(()=>{i=void 0,o()||e.onContinue?.()}),v=()=>{if(o())return;let x;const S=n===0?e.initialPromise:void 0;try{x=S??e.fn()}catch(w){x=Promise.reject(w)}Promise.resolve(x).then(m).catch(w=>{if(o())return;const _=e.retry??(Hl.isServer()?0:3),T=e.retryDelay??YD,E=typeof T=="function"?T(n,w):T,C=_===!0||typeof _=="number"&&n<_||typeof _=="function"&&_(n,w);if(t||!C){g(w);return}n++,e.onFail?.(n,w),FD(E).then(()=>d()?void 0:y()).then(()=>{t?g(w):v()})})};return{promise:a,status:()=>a.status,cancel:l,continue:()=>(i?.(),a),cancelRetry:c,continueRetry:h,canStart:p,start:()=>(p()?v():y().then(v),a)}}var uE=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),rg(this.gcTime)&&(this.#e=Ca.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Hl.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Ca.clearTimeout(this.#e),this.#e=void 0)}},VD=class extends uE{#e;#t;#n;#i;#r;#a;#s;constructor(e){super(),this.#s=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#n=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Rw(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Rw(this.options);t.data!==void 0&&(this.setState(Tw(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=ag(this.state.data,e,this.options);return this.#u({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#u({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Ln).catch(Ln):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Jn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Gg||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Is(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!nE(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#s||this.#o()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#o(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const c=this.observers.find(h=>h.options.queryFn);c&&this.setOptions(c.options)}const n=new AbortController,i=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},a=()=>{const c=iE(this.options,t),d=(()=>{const p={client:this.#i,queryKey:this.queryKey,meta:this.meta};return i(p),p})();return this.#s=!1,this.options.persister?this.options.persister(c,d,this):c(d)},l=(()=>{const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:a};return i(c),c})();this.options.behavior?.onFetch(l,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#u({type:"fetch",meta:l.fetchOptions?.meta}),this.#r=oE({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:c=>{c instanceof ug&&c.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(c,h)=>{this.#u({type:"failed",failureCount:c,error:h})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const c=await this.#r.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#n.config.onSuccess?.(c,this),this.#n.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof ug){if(c.silent)return this.#r.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#u({type:"error",error:c}),this.#n.config.onError?.(c,this),this.#n.config.onSettled?.(this.state.data,c,this),c}finally{this.scheduleGc()}}#u(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...lE(n.data,this.options),fetchMeta:e.meta??null};case"success":const i={...n,...Tw(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?i:void 0,i;case"error":const a=e.error;return{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),pn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function lE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:aE(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Tw(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Rw(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var WD=class extends Wl{constructor(e,t){super(),this.options=t,this.#e=e,this.#o=null,this.#s=og(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#i=void 0;#r;#a;#s;#o;#u;#h;#p;#c;#d;#l;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Ow(this.#t,this.options)?this.#f():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return lg(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return lg(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#w(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Jn(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),t._defaulted&&!ig(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&kw(this.#t,n,this.options,t)&&this.#f(),this.updateResult(),i&&(this.#t!==n||Jn(this.options.enabled,this.#t)!==Jn(t.enabled,this.#t)||Is(this.options.staleTime,this.#t)!==Is(t.staleTime,this.#t))&&this.#g();const a=this.#A();i&&(this.#t!==n||Jn(this.options.enabled,this.#t)!==Jn(t.enabled,this.#t)||a!==this.#l)&&this.#y(a)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return ZD(this,n)&&(this.#i=n,this.#a=this.options,this.#r=this.#t.state),n}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:(n,i)=>(this.trackProp(i),t?.(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,i))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#f(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Ln)),t}#g(){this.#v();const e=Is(this.options.staleTime,this.#t);if(Hl.isServer()||this.#i.isStale||!rg(e))return;const n=nE(this.#i.dataUpdatedAt,e)+1;this.#c=Ca.setTimeout(()=>{this.#i.isStale||this.updateResult()},n)}#A(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(e){this.#w(),this.#l=e,!(Hl.isServer()||Jn(this.options.enabled,this.#t)===!1||!rg(this.#l)||this.#l===0)&&(this.#d=Ca.setInterval(()=>{(this.options.refetchIntervalInBackground||Hg.isFocused())&&this.#f()},this.#l))}#b(){this.#g(),this.#y(this.#A())}#v(){this.#c!==void 0&&(Ca.clearTimeout(this.#c),this.#c=void 0)}#w(){this.#d!==void 0&&(Ca.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#t,i=this.options,a=this.#i,o=this.#r,l=this.#a,h=e!==n?e.state:this.#n,{state:d}=e;let p={...d},m=!1,g;if(t._optimisticResults){const M=this.hasListeners(),j=!M&&Ow(e,t),U=M&&kw(e,n,t,i);(j||U)&&(p={...p,...lE(d.data,e.options)}),t._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:y,errorUpdatedAt:v,status:x}=p;g=p.data;let S=!1;if(t.placeholderData!==void 0&&g===void 0&&x==="pending"){let M;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(M=a.data,S=!0):M=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,M!==void 0&&(x="success",g=ag(a?.data,M,t),m=!0)}if(t.select&&g!==void 0&&!S)if(a&&g===o?.data&&t.select===this.#u)g=this.#h;else try{this.#u=t.select,g=t.select(g),g=ag(a?.data,g,t),this.#h=g,this.#o=null}catch(M){this.#o=M}this.#o&&(y=this.#o,g=this.#h,v=Date.now(),x="error");const w=p.fetchStatus==="fetching",_=x==="pending",T=x==="error",E=_&&w,C=g!==void 0,I={status:x,fetchStatus:p.fetchStatus,isPending:_,isSuccess:x==="success",isError:T,isInitialLoading:E,isLoading:E,data:g,dataUpdatedAt:p.dataUpdatedAt,error:y,errorUpdatedAt:v,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:p.dataUpdateCount>h.dataUpdateCount||p.errorUpdateCount>h.errorUpdateCount,isFetching:w,isRefetching:w&&!_,isLoadingError:T&&!C,isPaused:p.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:T&&C,isStale:qg(e,t),refetch:this.refetch,promise:this.#s,isEnabled:Jn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const M=I.data!==void 0,j=I.status==="error"&&!M,U=ee=>{j?ee.reject(I.error):M&&ee.resolve(I.data)},D=()=>{const ee=this.#s=I.promise=og();U(ee)},H=this.#s;switch(H.status){case"pending":e.queryHash===n.queryHash&&U(H);break;case"fulfilled":(j||I.data!==H.value)&&D();break;case"rejected":(!j||I.error!==H.reason)&&D();break}}return I}updateResult(){const e=this.#i,t=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#a=this.options,this.#r.data!==void 0&&(this.#p=this.#t),ig(t,e))return;this.#i=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:i}=this.options,a=typeof i=="function"?i():i;if(a==="all"||!a&&!this.#m.size)return!0;const o=new Set(a??this.#m);return this.options.throwOnError&&o.add("error"),Object.keys(this.#i).some(l=>{const c=l;return this.#i[c]!==e[c]&&o.has(c)})};this.#_({listeners:n()})}#S(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#_(e){pn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function JD(e,t){return Jn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Jn(t.retryOnMount,e)===!1)}function Ow(e,t){return JD(e,t)||e.state.data!==void 0&&lg(e,t,t.refetchOnMount)}function lg(e,t,n){if(Jn(t.enabled,e)!==!1&&Is(t.staleTime,e)!=="static"){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&qg(e,t)}return!1}function kw(e,t,n,i){return(e!==t||Jn(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&qg(e,n)}function qg(e,t){return Jn(t.enabled,e)!==!1&&e.isStaleByTime(Is(t.staleTime,e))}function ZD(e,t){return!ig(e.getCurrentResult(),t)}function Iw(e){return{onFetch:(t,n)=>{const i=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let c={pages:[],pageParams:[]},h=0;const d=async()=>{let p=!1;const m=v=>{GD(v,()=>t.signal,()=>p=!0)},g=iE(t.options,t.fetchOptions),y=async(v,x,S)=>{if(p)return Promise.reject();if(x==null&&v.pages.length)return Promise.resolve(v);const _=(()=>{const k={client:t.client,queryKey:t.queryKey,pageParam:x,direction:S?"backward":"forward",meta:t.options.meta};return m(k),k})(),T=await g(_),{maxPages:E}=t.options,C=S?zD:HD;return{pages:C(v.pages,T,E),pageParams:C(v.pageParams,x,E)}};if(a&&o.length){const v=a==="backward",x=v?$D:Nw,S={pages:o,pageParams:l},w=x(i,S);c=await y(S,w,v)}else{const v=e??o.length;do{const x=h===0?l[0]??i.initialPageParam:Nw(i,c);if(h>0&&x==null)break;c=await y(c,x),h++}while(h<v)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=d}}}function Nw(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function $D(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var XD=class extends uE{#e;#t;#n;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||e5(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=oE({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(o,l)=>{this.#r({type:"failed",failureCount:o,error:l})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",a=!this.#i.canStart();try{if(i)t();else{this.#r({type:"pending",variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#r({type:"pending",context:l,variables:e,isPaused:a})}const o=await this.#i.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#r({type:"success",data:o}),o}catch(o){try{await this.#n.config.onError?.(o,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(o,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,o,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#r({type:"error",error:o}),o}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),pn.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function e5(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var t5=class extends Wl{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const i=new XD({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){this.#e.add(e);const t=Id(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=Id(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const i=n.indexOf(e);i!==-1&&n.splice(i,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Id(e);if(typeof t=="string"){const i=this.#t.get(t)?.find(a=>a.state.status==="pending");return!i||i===e}else return!0}runNext(e){const t=Id(e);return typeof t=="string"?this.#t.get(t)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){pn.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>xw(t,n))}findAll(e={}){return this.getAll().filter(t=>xw(e,t))}notify(e){pn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return pn.batch(()=>Promise.all(e.map(t=>t.continue().catch(Ln))))}};function Id(e){return e.options.scope?.id}var n5=class extends Wl{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const i=t.queryKey,a=t.queryHash??zg(i,t);let o=this.get(a);return o||(o=new VD({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){pn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>_w(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>_w(e,n)):t}notify(e){pn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){pn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){pn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},r5=class{#e;#t;#n;#i;#r;#a;#s;#o;constructor(e={}){this.#e=e.queryCache||new n5,this.#t=e.mutationCache||new t5,this.#n=e.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#s=Hg.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#o=Rf.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#s?.(),this.#s=void 0,this.#o?.(),this.#o=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Is(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),o=this.#e.get(i.queryHash)?.state.data,l=PD(t,o);if(l!==void 0)return this.#e.build(this,i).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return pn.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;pn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return pn.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=pn.batch(()=>this.#e.findAll(e).map(a=>a.cancel(n)));return Promise.all(i).then(Ln).catch(Ln)}invalidateQueries(e,t={}){return pn.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=pn.batch(()=>this.#e.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let o=a.fetch(void 0,n);return n.throwOnError||(o=o.catch(Ln)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(i).then(Ln)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(Is(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ln).catch(Ln)}fetchInfiniteQuery(e){return e.behavior=Iw(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ln).catch(Ln)}ensureInfiniteQueryData(e){return e.behavior=Iw(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Rf.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#i.set(Ul(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#i.values()],n={};return t.forEach(i=>
55{Fl(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(Ul(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(i=>{Fl(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=zg(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Gg&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},cE=P.createContext(void 0),i5=e=>{const t=P.useContext(cE);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s5=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),O.jsx(cE.Provider,{value:e,children:t})),dE=P.createContext(!1),a5=()=>P.useContext(dE);dE.Provider;function o5(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var u5=P.createContext(o5()),l5=()=>P.useContext(u5),c5=(e,t,n)=>{const i=n?.state.error&&typeof e.throwOnError=="function"?sE(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||i)&&(t.isReset()||(e.retryOnMount=!1))},d5=e=>{P.useEffect(()=>{e.clearReset()},[e])},f5=({result:e,errorResetBoundary:t,throwOnError:n,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||sE(n,[e.error,i])),z7=(e,t)=>t.state.data===void 0,h5=e=>{if(e.suspense){const n=a=>a==="static"?a:Math.max(a??1e3,1e3),i=e.staleTime;e.staleTime=typeof i=="function"?(...a)=>n(i(...a)):n(i),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},p5=(e,t)=>e.isLoading&&e.isFetching&&!t,m5=(e,t)=>e?.suspense&&t.isPending,Dw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function g5(e,t,n){const i=a5(),a=l5(),o=i5(),l=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const c=o.getQueryCache().get(l.queryHash);l._optimisticResults=i?"isRestoring":"optimistic",h5(l),c5(l,a,c),d5(a);const h=!o.getQueryCache().get(l.queryHash),[d]=P.useState(()=>new t(o,l)),p=d.getOptimisticResult(l),m=!i&&e.subscribed!==!1;if(P.useSyncExternalStore(P.useCallback(g=>{const y=m?d.subscribe(pn.batchCalls(g)):Ln;return d.updateResult(),y},[d,m]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),P.useEffect(()=>{d.setOptions(l)},[l,d]),m5(l,p))throw Dw(l,d,a);if(f5({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw p.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(l,p),l.experimental_prefetchInRender&&!Hl.isServer()&&p5(p,i)&&(h?Dw(l,d,a):c?.promise)?.catch(Ln).finally(()=>{d.updateResult()}),l.notifyOnChangeProps?p:d.trackResult(p)}function fE(e,t){return g5(e,WD)}const A5="/assets/styles-Czqda2tN.css",Mw=e=>{let t;const n=new Set,i=(d,p)=>{const m=typeof d=="function"?d(t):d;if(!Object.is(m,t)){const g=t;t=p??(typeof m!="object"||m===null)?m:Object.assign({},t,m),n.forEach(y=>y(t,g))}},a=()=>t,c={setState:i,getState:a,getInitialState:()=>h,subscribe:d=>(n.add(d),()=>n.delete(d))},h=t=e(i,a,c);return c},y5=(e=>e?Mw(e):Mw),b5=e=>e;function v5(e,t=b5){const n=Vr.useSyncExternalStore(e.subscribe,Vr.useCallback(()=>t(e.getState()),[e,t]),Vr.useCallback(()=>t(e.getInitialState()),[e,t]));return Vr.useDebugValue(n),n}const Bw=e=>{const t=y5(e),n=i=>v5(t,i);return Object.assign(n,t),n},w5=(e=>e?Bw(e):Bw);function hE(e,t){let n;try{n=e()}catch{return}return{getItem:a=>{var o;const l=h=>h===null?null:JSON.parse(h,void 0),c=(o=n.getItem(a))!=null?o:null;return c instanceof Promise?c.then(l):l(c)},setItem:(a,o)=>n.setItem(a,JSON.stringify(o,void 0)),removeItem:a=>n.removeItem(a)}}const cg=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(i){return cg(i)(n)},catch(i){return this}}}catch(n){return{then(i){return this},catch(i){return cg(i)(n)}}}},S5=(e,t)=>(n,i,a)=>{let o={storage:hE(()=>window.localStorage),partialize:S=>S,version:0,merge:(S,w)=>({...w,...S}),...t},l=!1,c=0;const h=new Set,d=new Set;let p=o.storage;if(!p)return e((...S)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...S)},i,a);const m=()=>{const S=o.partialize({...i()});return p.setItem(o.name,{state:S,version:o.version})},g=a.setState;a.setState=(S,w)=>(g(S,w),m());const y=e((...S)=>(n(...S),m()),i,a);a.getInitialState=()=>y;let v;const x=()=>{var S,w;if(!p)return;const _=++c;l=!1,h.forEach(E=>{var C;return E((C=i())!=null?C:y)});const T=((w=o.onRehydrateStorage)==null?void 0:w.call(o,(S=i())!=null?S:y))||void 0;return cg(p.getItem.bind(p))(o.name).then(E=>{if(E)if(typeof E.version=="number"&&E.version!==o.version){if(o.migrate){const C=o.migrate(E.state,E.version);return C instanceof Promise?C.then(k=>[!0,k]):[!0,C]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,E.state];return[!1,void 0]}).then(E=>{var C;if(_!==c)return;const[k,I]=E;if(v=o.merge(I,(C=i())!=null?C:y),n(v,!0),k)return m()}).then(()=>{_===c&&(T?.(i(),void 0),v=i(),l=!0,d.forEach(E=>E(v)))}).catch(E=>{_===c&&T?.(void 0,E)})};return a.persist={setOptions:S=>{o={...o,...S},S.storage&&(p=S.storage)},clearStorage:()=>{p?.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>x(),hasHydrated:()=>l,onHydrate:S=>(h.add(S),()=>{h.delete(S)}),onFinishHydration:S=>(d.add(S),()=>{d.delete(S)})},o.skipHydration||x(),v||y}
55,_5=S5,pE="gtn_aff",mE="gtn_aff",x5=30,Qg=["ref","sub_id","subid","utm_source","utm_medium","utm_campaign","utm_term","utm_content"];function Qf(){return typeof window<"u"&&typeof document<"u"}function E5(){const e=window.location.hostname;return e==="localhost"||/^\d+\.\d+\.\d+\.\d+$/.test(e)?null:e.endsWith("geltoynation.com")?".geltoynation.com":null}function C5(e){if(!Qf())return null;const t=document.cookie.split("; ").find(n=>n.startsWith(`${e}=`));return t?decodeURIComponent(t.slice(e.length+1)):null}function T5(e,t){if(!Qf())return;const n=E5(),i=x5*24*60*60,a=window.location.protocol==="https:"?"; Secure":"";document.cookie=`${e}=${encodeURIComponent(t)}; path=/; max-age=${i}; SameSite=Lax${a}`+(n?`; domain=${n}`:"")}function jw(e){if(!e)return null;try{const t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}function Kg(){if(!Qf())return null;const e=jw(C5(pE));if(e)return e;try{return jw(localStorage.getItem(mE))}catch{return null}}function Lw(e){const t=JSON.stringify(e);T5(pE,t);try{localStorage.setItem(mE,t)}catch{}}function R5(e){if(!Qf())return null;const t=new URLSearchParams(e??window.location.search),n={};for(const o of Qg){const l=t.get(o)?.trim();l&&(n[o]=l)}const i=Kg();if(Object.keys(n).length===0)return i&&Lw(i),i;const a={...i??{},...n,ts:Date.now()};return Lw(a),a}function O5(){const e=Kg();if(!e)return[];const t=[];for(const n of Qg){const i=e[n];i&&t.push({key:n,value:String(i).slice(0,255)})}return t}function k5(e){const t=Kg();if(!t)return e;try{const n=new URL(e);for(const i of Qg){const a=t[i];a&&!n.searchParams.has(i)&&n.searchParams.set(i,a)}return n.toString()}catch{return e}}const I5="2025-07",N5="geltoynation.myshopify.com",D5=`https://${N5}/api/${I5}/graphql.json`,M5="2325ae121cd6345519f50460d8bdd0ca";function Yg(e,t){return!e||!t?!1:parseFloat(t.amount)>parseFloat(e.amount)}function B5(e,t){if(!Yg(e,t))return 0;const n=parseFloat(e.amount),i=parseFloat(t.amount);return Math.round((i-n)/i*100)}async function Fs(e,t={},n={}){const i={"Content-Type":"application/json"};n.anonymous||(i["X-Shopify-Storefront-Access-Token"]=M5);const a=new Set([403,408,429,500,502,503,504]);let o=null;for(let c=0;c<3&&(o=await fetch(D5,{method:"POST",headers:i,body:JSON.stringify({query:e,variables:t})}),!(o.ok||!a.has(o.status)));c++)c<2&&await new Promise(h=>setTimeout(h,300*(c+1)));if(!o)throw new Error("Shopify request failed");if(o.status===402)return console.error("Shopify billing required"),null;if(!o.ok)throw new Error(`Shopify HTTP error: ${o.status}`);const l=await o.json();if(l.errors)throw new Error(`Shopify error: ${l.errors.map(c=>c.message).join(", ")}`);return l}const Vg=`
56  id
57  title
58  description
59  descriptionHtml
60
61  handle
62  priceRange { minVariantPrice { amount currencyCode } }
63  compareAtPriceRange { minVariantPrice { amount currencyCode } }
64  images(first: 5) { edges { node { url altText } } }
65  variants(first: 20) {
66    edges {
67      node {
68        id title availableForSale
69        price { amount currencyCode }
70        compareAtPrice { amount currencyCode }
71        selectedOptions { name value }
72      }
73    }
74  }
75  options { name values }
76`,j5=`
77  query GetProducts($first: Int!, $after: String, $query: String) {
78    products(first: $first, after: $after, query: $query) {
79      pageInfo { hasNextPage endCursor }
80      edges { node { ${Vg} } }
81    }
82  }
83`,L5=`
84  query GetProductByHandle($handle: String!) {
85    product(handle: $handle) { ${Vg} }
86  }
87`,dg=250,gE=50;async function P5(e){const t=[];let n=null,i=0;do{const o=(await Fs(j5,{first:dg,after:n,query:e??null}))?.data?.products;if(!o)break;t.push(...o.edges??[]),i+=1,n=o.pageInfo?.hasNextPage?o.pageInfo.endCursor:null}while(n&&i<gE);return e&&`${e}`,t.length,t}async function Kf(e){return(await Fs(L5,{handle:e}))?.data?.product??null}const U5=`
88  query GetCollectionByHandle($handle: String!, $first: Int!, $after: String) {
89    collection(handle: $handle) {
90      id title handle description
91      image { url altText }
92      products(first: $first, after: $after) {
93        pageInfo { hasNextPage endCursor }
94        edges { node { ${Vg} } }
95      }
96    }
97  }
98`;async function F5(e,t){let n=null;const i=[];let a=null,o=0;do{const l=t?Math.min(t-i.length,dg):dg;if(l<=0)break;const h=(await Fs(U5,{handle:e,first:l,after:a}))?.data?.collection;if(!h||(n||(n={...h,products:{edges:[]}}),i.push(...h.products?.edges??[]),o+=1,a=h.products?.pageInfo?.hasNextPage?h.products.pageInfo.endCursor:null,t&&i.length>=t))break}while(a&&o<gE);return n?(n.products={edges:i},`${e}`,i.length,n):null}async function G7(e,t){return F5(e,t)}function $o(e){if(!e)return"";const t=parseFloat(e.amount);return`${e.currencyCode==="USD"?"$":`${e.currencyCode} `}${t.toFixed(2)}`}const H5=`
99  query cart($id: ID!) { cart(id: $id) { id totalQuantity } }
100`,z5=`
101  mutation cartCreate($input: CartInput!) {
102    cartCreate(input: $input) {
103      cart {
104        id checkoutUrl
105        lines(first: 100) { edges { node { id merchandise { ... on ProductVariant { id } } } } }
106      }
107      userErrors { field message }
108    }
109  }
110`,G5=`
111  mutation cartLinesAdd($cartId: ID!, $lines: [CartLineInput!]!) {
112    cartLinesAdd(cartId: $cartId, lines: $lines) {
113      cart { id lines(first: 100) { edges { node { id merchandise { ... on ProductVariant { id } } } } } }
114      userErrors { field message }
115    }
116  }
117`,q5=`
118  mutation cartLinesUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!) {
119    cartLinesUpdate(cartId: $cartId, lines: $lines) { cart { id } userErrors { field message } }
120  }
121`,Q5=`
122  mutation cartLinesRemove($cartId: ID!, $lineIds: [ID!]!) {
123    cartLinesRemove(cartId: $cartId, lineIds: $lineIds) { cart { id } userErrors { field message } }
124  }
125`;function AE(e){try{const t=new URL(e);return t.searchParams.set("channel","online_store"),k5(t.toString())}catch{return e}}function K5(e){return AE(e)}function Wg(e){return e.some(t=>{const n=t.message.toLowerCase();return n.includes("cart not found")||n.includes("does not exist")})}async function Y5(e,t){const n=O5(),i=await Fs(z5,{input:{lines:[{quantity:t,merchandiseId:e}],...n.length>0?{attributes:n}:{}}}),a=i?.data?.cartCreate?.userErrors||[];
125if(a.length>0)return console.error("Cart create failed:",a),null;const o=i?.data?.cartCreate?.cart;if(!o?.checkoutUrl)return null;const l=o.lines.edges[0]?.node?.id;return l?{cartId:o.id,checkoutUrl:K5(o.checkoutUrl),lineId:l}:null}async function V5(e,t,n){const i=await Fs(G5,{cartId:e,lines:[{quantity:n,merchandiseId:t}]}),a=i?.data?.cartLinesAdd?.userErrors||[];return Wg(a)?{success:!1,cartNotFound:!0}:a.length>0?(console.error(a),{success:!1}):{success:!0,lineId:(i?.data?.cartLinesAdd?.cart?.lines?.edges||[]).find(c=>c.node.merchandise.id===t)?.node?.id}}async function Pw(e,t,n){const a=(await Fs(q5,{cartId:e,lines:[{id:t,quantity:n}]}))?.data?.cartLinesUpdate?.userErrors||[];return Wg(a)?{success:!1,cartNotFound:!0}:a.length>0?{success:!1}:{success:!0}}async function W5(e,t){const i=(await Fs(Q5,{cartId:e,lineIds:[t]}))?.data?.cartLinesRemove?.userErrors||[];return Wg(i)?{success:!1,cartNotFound:!0}:i.length>0?{success:!1}:{success:!0}}const Rr=w5()(_5((e,t)=>({items:[],cartId:null,checkoutUrl:null,isLoading:!1,isSyncing:!1,lastAddedAt:null,lastAddedHandle:null,addItem:async n=>{const{items:i,cartId:a,clearCart:o}=t(),l=i.find(c=>c.variantId===n.variantId);e({isLoading:!0});try{if(a)if(l){if(!l.lineId)return;const c=l.quantity+n.quantity,h=await Pw(a,l.lineId,c);h.success?e({items:t().items.map(d=>d.variantId===n.variantId?{...d,quantity:c}:d)}):h.cartNotFound&&o()}else{const c=await V5(a,n.variantId,n.quantity);c.success?e({items:[...t().items,{...n,lineId:c.lineId??null}]}):c.cartNotFound&&o()}else{const c=await Y5(n.variantId,n.quantity);c&&e({cartId:c.cartId,checkoutUrl:c.checkoutUrl,items:[{...n,lineId:c.lineId}]})}}catch(c){console.error("addItem failed:",c)}finally{e({isLoading:!1,lastAddedAt:Date.now(),lastAddedHandle:n.product.handle})}},updateQuantity:async(n,i)=>{if(i<=0)return t().removeItem(n);const{items:a,cartId:o,clearCart:l}=t(),c=a.find(h=>h.variantId===n);if(!(!c?.lineId||!o)){e({isLoading:!0});try{const h=await Pw(o,c.lineId,i);h.success?e({items:t().items.map(d=>d.variantId===n?{...d,quantity:i}:d)}):h.cartNotFound&&l()}finally{e({isLoading:!1})}}},removeItem:async n=>{const{items:i,cartId:a,clearCart:o}=t(),l=i.find(c=>c.variantId===n);if(!(!l?.lineId||!a)){e({isLoading:!0});try{const c=await W5(a,l.lineId);if(c.success){const h=t().items.filter(d=>d.variantId!==n);h.length===0?o():e({items:h})}else c.cartNotFound&&o()}finally{e({isLoading:!1})}}},clearCart:()=>e({items:[],cartId:null,checkoutUrl:null}),getCheckoutUrl:()=>{const n=t().checkoutUrl;return n?AE(n):null},syncCart:async()=>{const{cartId:n,isSyncing:i,clearCart:a}=t();if(!(!n||i)){e({isSyncing:!0});try{const o=await Fs(H5,{id:n});if(!o)return;const l=o?.data?.cart;(!l||l.totalQuantity===0)&&a()}catch(o){console.error("syncCart failed:",o)}finally{e({isSyncing:!1})}}}}),{name:"shopify-cart",version:4,migrate:e=>({items:[],cartId:null,checkoutUrl:null}),storage:hE(()=>localStorage),partialize:e=>({items:e.items,cartId:e.cartId,checkoutUrl:e.checkoutUrl})}));function J5(){const e=Rr(t=>t.syncCart);P.useEffect(()=>{e();const t=()=>{document.visibilityState==="visible"&&e()};return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)},[e])}const Z5="https://api.goaffpro.com/loader.js?shop=geltoynation.myshopify.com";function $5(){const e=yI({select:t=>t.location.searchStr});P.useEffect(()=>{R5(typeof window<"u"?window.location.search:"")},[e]),P.useEffect(()=>{if(document.querySelector('script[data-goaffpro="1"]'))return;const t=document.createElement("script");t.src=Z5,t.async=!0,t.defer=!0,t.dataset.goaffpro="1",document.head.appendChild(t)},[])}const yE=(...e)=>e.filter((t,n,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===n).join(" ").trim();const X5=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const eM=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,i)=>i?i.toUpperCase():n.toLowerCase());const Uw=e=>{const t=eM(e);return t.charAt(0).toUpperCase()+t.slice(1)};var tM={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"};const nM=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const rM=P.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:a="",children:o,iconNode:l,...c},h)=>P.createElement("svg",{ref:h,...tM,width:t,height:t,stroke:e,strokeWidth:i?Number(n)*24/Number(t):n,className:yE("lucide",a),...!o&&!nM(c)&&{"aria-hidden":"true"},...c},[...l.map(([d,p])=>P.createElement(d,p)),...Array.isArray(o)?o:[o]]));const Rt=(e,t)=>
125{const n=P.forwardRef(({className:i,...a},o)=>P.createElement(rM,{ref:o,iconNode:t,className:yE(`lucide-${X5(Uw(e))}`,`lucide-${e}`,i),...a}));return n.displayName=Uw(e),n};const iM=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],sM=Rt("check",iM);const aM=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],oM=Rt("chevron-left",aM);const uM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],lM=Rt("circle-check",uM);const cM=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],dM=Rt("external-link",cM);const fM=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],hM=Rt("facebook",fM);const pM=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],mM=Rt("headphones",pM);const gM=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],AM=Rt("instagram",gM);const yM=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Di=Rt("loader-circle",yM);const bM=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],vM=Rt("menu",bM);const wM=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],SM=Rt("message-circle",wM);const _M=[["path",{d:"M5 12h14",key:"1ays0h"}]],bE=Rt("minus",_M);const xM=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Dp=Rt("package",xM);const EM=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Jg=Rt("plus",EM);const CM=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],TM=Rt("rotate-ccw",CM);const RM=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],vE=Rt("search",RM);const OM=[["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"}]],kM=Rt("send",OM);const IM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],NM=Rt("shield-check",IM);const DM=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],fg=Rt("shopping-cart",DM);const MM=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],BM=Rt("trash-2",MM);const jM=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],Fw=Rt("truck",jM);const LM=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Mp=Rt("user-round",LM);const PM=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],UM=Rt("user",PM);const FM=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,609 bytes, line 125
125],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Jl=Rt("x",FM);const HM=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],zM=Rt("youtube",HM),Yf=Os({type:"function"}),GM=Un({method:"POST"}).handler(cr("0fe3acd31ae84fed6bdde7c813a96e261c00b7b7f90345320164dba900cee6d7")),qM=Un({method:"POST"}).handler(cr("eda6d478838989141ebcc5b0c899dfbdcfe3fc799ca0240c2e8d1fbbc7893c5c")),QM=Un({method:"POST"}).handler(cr("bdabfc11c6c2ebfc00d91018054633d6f37120411d289d1cb394b0a0d1589b7c")),q7=Un({method:"GET"}).middleware([Yf]).handler(cr("b24a45adc68635a2a0841733859e68f901c7d695775c5890bba8450ac0ea89b5")),Q7=Un({method:"POST"}).middleware([Yf]).handler(cr("dfbc6dd3ffe7fd095384368d42d83cbe4cd13e242ab386c5420d90aa75616d43")),K7=Un({method:"POST"}).middleware([Yf]).handler(cr("4b9dfb699f2b464024cd8e9d892809598132183da407d0fd9a06bb19dfd2f263")),Y7=Un({method:"POST"}).middleware([Yf]).handler(cr("5748b5620f5ae688428b69721eefdc602e2aab2da1f0a9b10cb6184546333dde")),KM=Un({method:"POST"}).handler(cr("c57368741d5cf09ed41395085b4884d574dd36786af03ce57eb27ca698314fc3")),YM=Un({method:"POST"}).handler(cr("44c1455f369649bdcbe86f40ae4ac7bbd0e1b922bef1cacf4c07a3845716eab2"));function wE(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=wE(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function SE(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=wE(e))&&(i&&(i+=" "),i+=t);return i}const VM=(e,t)=>{const n=new Array(e.length+t.length);for(let i=0;i<e.length;i++)n[i]=e[i];for(let i=0;i<t.length;i++)n[e.length+i]=t[i];return n},WM=(e,t)=>({classGroupId:e,validator:t}),_E=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Of="-",Hw=[],JM="arbitrary..",ZM=e=>{const t=XM(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return $M(l);const c=l.split(Of),h=c[0]===""&&c.length>1?1:0;return xE(c,h,t)},getConflictingClassGroupIds:(l,c)=>{if(c){const h=i[l],d=n[l];return h?d?VM(d,h):h:d||Hw}return n[l]||Hw}}},xE=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const a=e[t],o=n.nextPart.get(a);if(o){const d=xE(e,t+1,o);if(d)return d}const l=n.validators;if(l===null)return;const c=t===0?e.join(Of):e.slice(t).join(Of),h=l.length;for(let d=0;d<h;d++){const p=l[d];if(p.validator(c))return p.classGroupId}},$M=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),i=t.slice(0,n);return i?JM+i:void 0})(),XM=e=>{const{theme:t,classGroups:n}=e;return eB(n,t)},eB=(e,t)=>{const n=_E();for(const i in e){const a=e[i];Zg(a,n,i,t)}return n},Zg=(e,t,n,i)=>{const a=e.length;for(let o=0;o<a;o++){const l=e[o];tB(l,t,n,i)}},tB=(e,t,n,i)=>{if(typeof e=="string"){nB(e,t,n);return}if(typeof e=="function"){rB(e,t,n,i);return}iB(e,t,n,i)},nB=(e,t,n)=>{const i=e===""?t:EE(t,e);i.classGroupId=n},rB=(e,t,n,i)=>{if(sB(e)){Zg(e(i),t,n,i);return}t.validators===null&&(t.validators=[]),t.validators.push(WM(n,e))},iB=(e,t,n,i)=>{const a=Object.entries(e),o=a.length;for(let l=0;l<o;l++){const[c,h]=a[l];Zg(h,EE(t,c),n,i)}},EE=(e,t)=>{let n=e;const i=t.split(Of),a=i.length;for(let o=0;o<a;o++){const l=i[o];let c=n.nextPart.get(l);c||(c=_E(),n.nextPart.set(l,c)),n=c}return n},sB=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,aB=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),i=Object.create(null);const a=(o,l)=>{n[o]=l,t++,t>e&&(t=0,i=n,n=Object.create(null))};return{get(o){let l=n[o];if(l!==void 0)return l;if((l=i[o])!==void 0)return a(o,l),l},set(o,l){o in n?n[o]=l:a(o,l)}}},hg="!",zw=":",oB=[],Gw=(e,t,n,i,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:i,isExternal:a}),uB=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=a=>{const o=[];let l=0,c=0,h=0,d;const p=a.length;for(let x=0;x<p;x++){const S=a[x];if(l===0&&c===0){if(S===zw){o.push(a.slice(h,x)),h=x+1;continue}if(S==="/"){d=x;continue}}S==="["?l++:S==="]"?l--:S==="("?c++:S===")"&&c--}const m=o.length===0?a:a.slice(h);let g=m,y=!1;m.endsWith(hg)?(g=m.slice(0,-1),y=!0):m.startsWith(hg)&&(g=m.slice(1),y=!0);const v=d&&d>h?d-h:void 0;return Gw(o,y,g,v)};if(t){const a=t+zw,o=i;i=l=>l.startsWith(a)?o(l.slice(a.length)):Gw(oB,!1,l,void 0,!0)}if(n){const a=i;i=o=>n({className:o,parseClassName:a})}return i},lB=e=>{const t=new Map;
vendor: 5,456 bytes, line 125
125return e.orderSensitiveModifiers.forEach((n,i)=>{t.set(n,1e6+i)}),n=>{const i=[];let a=[];for(let o=0;o<n.length;o++){const l=n[o],c=l[0]==="[",h=t.has(l);c||h?(a.length>0&&(a.sort(),i.push(...a),a=[]),i.push(l)):a.push(l)}return a.length>0&&(a.sort(),i.push(...a)),i}},cB=e=>({cache:aB(e.cacheSize),parseClassName:uB(e),sortModifiers:lB(e),...ZM(e)}),dB=/\s+/,fB=(e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:o}=t,l=[],c=e.trim().split(dB);let h="";for(let d=c.length-1;d>=0;d-=1){const p=c[d],{isExternal:m,modifiers:g,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:x}=n(p);if(m){h=p+(h.length>0?" "+h:h);continue}let S=!!x,w=i(S?v.substring(0,x):v);if(!w){if(!S){h=p+(h.length>0?" "+h:h);continue}if(w=i(v),!w){h=p+(h.length>0?" "+h:h);continue}S=!1}const _=g.length===0?"":g.length===1?g[0]:o(g).join(":"),T=y?_+hg:_,E=T+w;if(l.indexOf(E)>-1)continue;l.push(E);const C=a(w,S);for(let k=0;k<C.length;++k){const I=C[k];l.push(T+I)}h=p+(h.length>0?" "+h:h)}return h},hB=(...e)=>{let t=0,n,i,a="";for(;t<e.length;)(n=e[t++])&&(i=CE(n))&&(a&&(a+=" "),a+=i);return a},CE=e=>{if(typeof e=="string")return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=CE(e[i]))&&(n&&(n+=" "),n+=t);return n},pB=(e,...t)=>{let n,i,a,o;const l=h=>{const d=t.reduce((p,m)=>m(p),e());return n=cB(d),i=n.cache.get,a=n.cache.set,o=c,c(h)},c=h=>{const d=i(h);if(d)return d;const p=fB(h,n);return a(h,p),p};return o=l,(...h)=>o(hB(...h))},mB=[],en=e=>{const t=n=>n[e]||mB;return t.isThemeGetter=!0,t},TE=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,RE=/^\((?:(\w[\w-]*):)?(.+)\)$/i,gB=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,AB=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yB=/\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$/,bB=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,vB=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ms=e=>gB.test(e),Ve=e=>!!e&&!Number.isNaN(Number(e)),gs=e=>!!e&&Number.isInteger(Number(e)),Bp=e=>e.endsWith("%")&&Ve(e.slice(0,-1)),wi=e=>AB.test(e),OE=()=>!0,SB=e=>yB.test(e)&&!bB.test(e),$g=()=>!1,_B=e=>vB.test(e),xB=e=>wB.test(e),EB=e=>!_e(e)&&!Ee(e),CB=e=>Hs(e,NE,$g),_e=e=>TE.test(e),ma=e=>Hs(e,DE,SB),qw=e=>Hs(e,MB,Ve),TB=e=>Hs(e,BE,OE),RB=e=>Hs(e,ME,$g),Qw=e=>Hs(e,kE,$g),OB=e=>Hs(e,IE,xB),Nd=e=>Hs(e,jE,_B),Ee=e=>RE.test(e),ll=e=>La(e,DE),kB=e=>La(e,ME),Kw=e=>La(e,kE),IB=e=>La(e,NE),NB=e=>La(e,IE),Dd=e=>La(e,jE,!0),DB=e=>La(e,BE,!0),Hs=(e,t,n)=>{const i=TE.exec(e);return i?i[1]?t(i[1]):n(i[2]):!1},La=(e,t,n=!1)=>{const i=RE.exec(e);return i?i[1]?t(i[1]):n:!1},kE=e=>e==="position"||e==="percentage",IE=e=>e==="image"||e==="url",NE=e=>e==="length"||e==="size"||e==="bg-size",DE=e=>e==="length",MB=e=>e==="number",ME=e=>e==="family-name",BE=e=>e==="number"||e==="weight",jE=e=>e==="shadow",BB=()=>{const e=en("color"),t=en("font"),n=en("text"),i=en("font-weight"),a=en("tracking"),o=en("leading"),l=en("breakpoint"),c=en("container"),h=en("spacing"),d=en("radius"),p=en("shadow"),m=en("inset-shadow"),g=en("text-shadow"),y=en("drop-shadow"),v=en("blur"),x=en("perspective"),S=en("aspect"),w=en("ease"),_=en("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...E(),Ee,_e],k=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],M=()=>[Ee,_e,h],j=()=>[ms,"full","auto",...M()],U=()=>[gs,"none","subgrid",Ee,_e],D=()=>["auto",{span:["full",gs,Ee,_e]},gs,Ee,_e],H=()=>[gs,"auto",Ee,_e],ee=()=>["auto","min","max","fr",Ee,_e],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...M()],q=()=>[ms,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],W=()=>[ms,"screen","full","dvw","lvw","svw","min","max","fit",...M()],ce=()=>[ms,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],ne=()=>[e,Ee,_e],B=()=>[...E(),Kw,Qw,{position:[Ee,_e]}],K=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",IB,CB,{size:[Ee,_e]}],ue=()=>[Bp,ll,ma],oe=()=>["","none","full",d,Ee,_e],ge=()=>["",Ve,ll,ma],ye=()=>["solid","dashed","dotted","double"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Se=()=>[Ve,Bp,Kw,Qw],Ye=()=>["","none",v,Ee,_e],ke=()=>["none",Ve,Ee,_e],ie=()=>["none",Ve,Ee,_e],fe=()=>[Ve,Ee,_e],de=()=>[ms,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[wi],breakpoint:[wi],color:[OE],container:[wi],"drop-shadow":[wi],ease:["in","out","in-out"],font:[EB],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[wi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[wi],shadow:[wi],spacing:["px",Ve],text:[wi],"text-shadow":[wi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ms,_e,Ee,S]}
vendor: 6,101 bytes, line 125
125],container:["container"],columns:[{columns:[Ve,_e,Ee,c]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"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:C()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:j()}],"inset-x":[{"inset-x":j()}],"inset-y":[{"inset-y":j()}],start:[{"inset-s":j(),start:j()}],end:[{"inset-e":j(),end:j()}],"inset-bs":[{"inset-bs":j()}],"inset-be":[{"inset-be":j()}],top:[{top:j()}],right:[{right:j()}],bottom:[{bottom:j()}],left:[{left:j()}],visibility:["visible","invisible","collapse"],z:[{z:[gs,"auto",Ee,_e]}],basis:[{basis:[ms,"full","auto",c,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ve,ms,"auto","initial","none",_e]}],grow:[{grow:["",Ve,Ee,_e]}],shrink:[{shrink:["",Ve,Ee,_e]}],order:[{order:[gs,"first","last","none",Ee,_e]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],"inline-size":[{inline:["auto",...W()]}],"min-inline-size":[{"min-inline":["auto",...W()]}],"max-inline-size":[{"max-inline":["none",...W()]}],"block-size":[{block:["auto",...ce()]}],"min-block-size":[{"min-block":["auto",...ce()]}],"max-block-size":[{"max-block":["none",...ce()]}],w:[{w:[c,"screen",...q()]}],"min-w":[{"min-w":[c,"screen","none",...q()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",n,ll,ma]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,DB,TB]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Bp,_e]}],"font-family":[{font:[kB,RB,t]}],"font-features":[{"font-features":[_e]}],"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,Ee,_e]}],"line-clamp":[{"line-clamp":[Ve,"none",Ee,qw]}],leading:[{leading:[o,...M()]}],"list-image":[{"list-image":["none",Ee,_e]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ee,_e]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ne()}],"text-color":[{text:ne()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ve,"from-font","auto",Ee,ma]}],"text-decoration-color":[{decoration:ne()}],"underline-offset":[{"underline-offset":[Ve,"auto",Ee,_e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ee,_e]}],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",Ee,_e]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:K()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},gs,Ee,_e],radial:["",Ee,_e],conic:[gs,Ee,_e]},NB,OB]}],"bg-color":[{bg:ne()}],"gradient-from-pos":[{from:ue()}
vendor: 7,445 bytes, line 125
125],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:ne()}],"gradient-via":[{via:ne()}],"gradient-to":[{to:ne()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:ge()}],"border-w-x":[{"border-x":ge()}],"border-w-y":[{"border-y":ge()}],"border-w-s":[{"border-s":ge()}],"border-w-e":[{"border-e":ge()}],"border-w-bs":[{"border-bs":ge()}],"border-w-be":[{"border-be":ge()}],"border-w-t":[{"border-t":ge()}],"border-w-r":[{"border-r":ge()}],"border-w-b":[{"border-b":ge()}],"border-w-l":[{"border-l":ge()}],"divide-x":[{"divide-x":ge()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ge()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ye(),"hidden","none"]}],"divide-style":[{divide:[...ye(),"hidden","none"]}],"border-color":[{border:ne()}],"border-color-x":[{"border-x":ne()}],"border-color-y":[{"border-y":ne()}],"border-color-s":[{"border-s":ne()}],"border-color-e":[{"border-e":ne()}],"border-color-bs":[{"border-bs":ne()}],"border-color-be":[{"border-be":ne()}],"border-color-t":[{"border-t":ne()}],"border-color-r":[{"border-r":ne()}],"border-color-b":[{"border-b":ne()}],"border-color-l":[{"border-l":ne()}],"divide-color":[{divide:ne()}],"outline-style":[{outline:[...ye(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ve,Ee,_e]}],"outline-w":[{outline:["",Ve,ll,ma]}],"outline-color":[{outline:ne()}],shadow:[{shadow:["","none",p,Dd,Nd]}],"shadow-color":[{shadow:ne()}],"inset-shadow":[{"inset-shadow":["none",m,Dd,Nd]}],"inset-shadow-color":[{"inset-shadow":ne()}],"ring-w":[{ring:ge()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ne()}],"ring-offset-w":[{"ring-offset":[Ve,ma]}],"ring-offset-color":[{"ring-offset":ne()}],"inset-ring-w":[{"inset-ring":ge()}],"inset-ring-color":[{"inset-ring":ne()}],"text-shadow":[{"text-shadow":["none",g,Dd,Nd]}],"text-shadow-color":[{"text-shadow":ne()}],opacity:[{opacity:[Ve,Ee,_e]}],"mix-blend":[{"mix-blend":[...Be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Be()}],"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":[Ve]}],"mask-image-linear-from-pos":[{"mask-linear-from":Se()}],"mask-image-linear-to-pos":[{"mask-linear-to":Se()}],"mask-image-linear-from-color":[{"mask-linear-from":ne()}],"mask-image-linear-to-color":[{"mask-linear-to":ne()}],"mask-image-t-from-pos":[{"mask-t-from":Se()}],"mask-image-t-to-pos":[{"mask-t-to":Se()}],"mask-image-t-from-color":[{"mask-t-from":ne()}],"mask-image-t-to-color":[{"mask-t-to":ne()}],"mask-image-r-from-pos":[{"mask-r-from":Se()}],"mask-image-r-to-pos":[{"mask-r-to":Se()}],"mask-image-r-from-color":[{"mask-r-from":ne()}],"mask-image-r-to-color":[{"mask-r-to":ne()}],"mask-image-b-from-pos":[{"mask-b-from":Se()}],"mask-image-b-to-pos":[{"mask-b-to":Se()}],"mask-image-b-from-color":[{"mask-b-from":ne()}],"mask-image-b-to-color":[{"mask-b-to":ne()}],"mask-image-l-from-pos":[{"mask-l-from":Se()}],"mask-image-l-to-pos":[{"mask-l-to":Se()}],"mask-image-l-from-color":[{"mask-l-from":ne()}],"mask-image-l-to-color":[{"mask-l-to":ne()}],"mask-image-x-from-pos":[{"mask-x-from":Se()}],"mask-image-x-to-pos":[{"mask-x-to":Se()}],"mask-image-x-from-color":[{"mask-x-from":ne()}],"mask-image-x-to-color":[{"mask-x-to":ne()}],"mask-image-y-from-pos":[{"mask-y-from":Se()}],"mask-image-y-to-pos":[{"mask-y-to":Se()}],"mask-image-y-from-color":[{"mask-y-from":ne()}],"mask-image-y-to-color":[{"mask-y-to":ne()}],"mask-image-radial":[{"mask-radial":[Ee,_e]}],"mask-image-radial-from-pos":[{"mask-radial-from":Se()}],"mask-image-radial-to-pos":[{"mask-radial-to":Se()}],"mask-image-radial-from-color":[{"mask-radial-from":ne()}],"mask-image-radial-to-color":[{"mask-radial-to":ne()}],"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":E()}],"mask-image-conic-pos":[{"mask-conic":[Ve]}],"mask-image-conic-from-pos":[{"mask-conic-from":Se()}],"mask-image-conic-to-pos":[{"mask-conic-to":Se()}],"mask-image-conic-from-color":[{"mask-conic-from":ne()}],"mask-image-conic-to-color":[{"mask-conic-to":ne()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:K()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ee,_e]}],filter:[{filter:["","none",Ee,_e]}],blur:[{blur:Ye()}],brightness:[{brightness:[Ve,Ee,_e]}],contrast:[{contrast:[Ve,Ee,_e]}],"drop-shadow":[{"drop-shadow":["","none",y,Dd,Nd]}],"drop-shadow-color":[{"drop-shadow":ne()}],grayscale:[{grayscale:["",Ve,Ee,_e]}],"hue-rotate":[{"hue-rotate":[Ve,Ee,_e]}],invert:[{invert:["",Ve,Ee,_e]}],saturate:[{saturate:[Ve,Ee,_e]}],sepia:[{sepia:["",Ve,Ee,_e]}],"backdrop-filter":[{"backdrop-filter":["","none",Ee,_e]}],"backdrop-blur":[{"backdrop-blur":Ye()}],"backdrop-brightness":[{"backdrop-brightness":[Ve,Ee,_e]}],"backdrop-contrast":[{"backdrop-contrast":[Ve,Ee,_e]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ve,Ee,_e]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ve,Ee,_e]}],"backdrop-invert":[{"backdrop-invert":["",Ve,Ee,_e]}],"backdrop-opacity":[{"backdrop-opacity":[Ve,Ee,_e]}],"backdrop-saturate":[{"backdrop-saturate":[Ve,Ee,_e]}],"backdrop-sepia":[{"backdrop-sepia":["",Ve,Ee,_e]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ee,_e]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ve,"initial",Ee,_e]}],ease:[{ease:["linear","initial",w,Ee,_e]}],delay:[{delay:[Ve,Ee,_e]}],animate:[{animate:["none",_,Ee,_e]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,Ee,_e]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:ke()}],"rotate-x":[{"rotate-x":ke()}],"rotate-y":[{"rotate-y":ke()}],"rotate-z":[{"rotate-z":ke()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[Ee,_e,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"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:ne()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ne()}
125],"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",Ee,_e]}],"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":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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",Ee,_e]}],fill:[{fill:["none",...ne()]}],"stroke-w":[{stroke:[Ve,ll,ma,qw]}],stroke:[{stroke:["none",...ne()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},jB=pB(BB);function Wr(...e){return jB(SE(e))}function LB(e){const t=e.indexOf("[[CARDS]]");if(t===-1)return{text:e,cards:[]};const n=e.slice(0,t).trim();try{const i=JSON.parse(e.slice(t+9));return{text:n,cards:Array.isArray(i)?i:[]}}catch{return{text:n,cards:[]}}}function Yw(e,t){return`${t==="USD"?"$":`${t} `}${e.toFixed(2)}`}function PB({cards:e}){const t=Rr(i=>i.addItem),n=Rr(i=>i.isLoading);return O.jsx("div",{className:"mt-2 flex flex-col gap-2",children:e.map(i=>O.jsxs("div",{className:"flex gap-3 rounded-xl border border-border bg-background p-2.5 hover:border-brand/50 transition-colors",children:[O.jsx("a",{href:i.url,className:"shrink-0",children:i.image?O.jsx("img",{src:i.image,alt:i.imageAlt,loading:"lazy",className:"h-20 w-20 rounded-lg object-cover bg-black"}):O.jsx("div",{className:"h-20 w-20 rounded-lg bg-surface-2"})}),O.jsxs("div",{className:"min-w-0 flex-1 flex flex-col gap-1",children:[O.jsx("a",{href:i.url,className:"text-[13px] font-semibold leading-tight line-clamp-2 hover:text-brand",children:i.title}),i.blurb&&O.jsx("p",{className:"text-[11px] text-muted-foreground line-clamp-1",children:i.blurb}),O.jsxs("div",{className:"flex items-baseline gap-2",children:[O.jsx("span",{className:"text-sm font-bold text-brand",children:Yw(i.price,i.currency)}),i.compareAtPrice&&O.jsx("span",{className:"text-[11px] text-muted-foreground line-through",children:Yw(i.compareAtPrice,i.currency)}),O.jsx("span",{className:`text-[10px] ${i.available?"text-muted-foreground":"text-destructive"}`,children:i.available?"In stock":"Sold out"})]}),O.jsxs("div",{className:"mt-1 flex gap-1.5",children:[O.jsx("a",{href:i.url,className:"inline-flex items-center rounded-full border border-border px-2.5 py-1 text-[11px] hover:border-brand hover:text-brand transition",children:"View product"}),i.variantId&&i.available&&O.jsxs("button",{type:"button",disabled:n,onClick:()=>t({product:{id:i.id,title:i.title,handle:i.handle,images:{edges:i.image?[{node:{url:i.image,altText:i.imageAlt}}]:[]}},variantId:i.variantId,variantTitle:i.variantTitle,price:{amount:String(i.price),currencyCode:i.currency},quantity:1,selectedOptions:i.selectedOptions??[]}),className:"inline-flex items-center gap-1 rounded-full bg-brand px-2.5 py-1 text-[11px] font-medium text-brand-foreground hover:brightness-110 disabled:opacity-60 transition",children:[n?O.jsx(Di,{className:"h-3 w-3 animate-spin"}):O.jsx(fg,{className:"h-3 w-3"}),"Add"]})]})]})]},i.handle))})}const Vw={role:"bot",content:`Hey! I'm GelToy's AI assistant 👋
126
127Ask me anything about our products, your order, or shipping & tracking — I'll pull it straight from our store. If I can't help, I'll bring in a real human.`},Ww="geltoy_chat_conversation_id",UB=["http:","https:","mailto:","tel:"];function FB(e){const t=e.trim();if(t.startsWith("/")||t.startsWith("#"))return!0;try{const n=new URL(t,"https://placeholder.local");return UB.includes(n.protocol)}catch{return!1}}function Jw(e){return e.split(/(\[[^\]]+\]\([^)]+\)|\*\*[^*]+\*\*)/g).map((n,i)=>{const a=n.match(/^\[([^\]]+)\]\(([^)]+)\)$/);if(a)return FB(a[2])?O.jsx("a",{href:a[2],target:"_blank",rel:"noopener noreferrer",className:"text-brand underline",children:a[1]},i):O.jsx("span",{children:a[1]},i);const o=n.match(/^\*\*([^*]+)\*\*$/);return o?O.jsx("strong",{children:o[1]},i):O.jsx("span",{children:n},i)})}function HB(){const[e,t]=P.useState(!1),[n,i]=P.useState(null),[a,o]=P.useState([Vw]),[l,c]=P.useState(""),[h,d]=P.useState(!1),[p,m]=P.useState(!1),[g,y]=P.useState(""),[v,x]=P.useState(""),[S,w]=P.useState(!1),[_,T]=P.useState(!1),[E,C]=P.useState(""),[k,I]=P.useState(""),[M,j]=P.useState(!1),U=ol(GM),D=ol(qM),H=ol(QM),ee=ol(KM),Z=ol(YM),G=P.useRef(null),L=P.useRef(null);P.useEffect(()=>{if(!e||n)return;const B=typeof window<"u"?localStorage.getItem(Ww):null;if(B){i(B),q(B);return}U().then(K=>
127{localStorage.setItem(Ww,K.conversationId),i(K.conversationId)}).catch(K=>console.error("startConversation failed",K))},[e]);async function q(B){try{const{conversation:K,messages:V}=await ee({data:{conversationId:B}});V&&V.length>0&&(o([Vw,...V]),G.current=V[V.length-1].created_at??null),K?.handoff_requested&&K.status!=="resolved"&&w(!0)}catch(K){console.error("hydrate failed",K)}}P.useEffect(()=>{if(!n||!e)return;let B=!1;const K=async()=>{try{const{conversation:ue,messages:oe}=await ee({data:{conversationId:n,sinceIso:G.current??void 0}});if(B)return;oe&&oe.length>0&&(o(ge=>{const ye=ge.slice();for(const Be of oe){if(Be.id&&ye.some(Ye=>Ye.id===Be.id))continue;const Se=ye.findIndex(Ye=>!Ye.id&&Ye.role===Be.role&&Ye.content===Be.content);Se!==-1?ye[Se]={...ye[Se],id:Be.id}:ye.push(Be)}return ye}),G.current=oe[oe.length-1].created_at??G.current),ue&&w(!!ue.handoff_requested&&ue.status!=="resolved")}catch{}},V=window.setInterval(K,4e3);return()=>{B=!0,window.clearInterval(V)}},[n,e,ee]),P.useEffect(()=>{e&&L.current&&(L.current.scrollTop=L.current.scrollHeight)},[a,e,h,p]);const W=async()=>{const B=l.trim();if(!(!B||h||!n)){c(""),o(K=>[...K,{role:"customer",content:B}]),d(!0);try{const K=await D({data:{conversationId:n,content:B}});K.handoff?a.some(V=>V.role==="event"&&V.content.includes("waiting"))||o(V=>[...V,{role:"event",content:"Waiting for a human agent to reply…"}]):K.reply&&(o(V=>[...V,{role:"bot",content:K.reply}]),K.suggestHandoff&&m(!0))}catch(K){console.error(K),o(V=>[...V,{role:"bot",content:"Sorry — something went wrong. Please try again."}]),m(!0)}finally{d(!1)}}},ce=async B=>{if(B.preventDefault(),!n||!E.trim()||!k.trim()||M)return;j(!0);const K=E.trim().replace(/^#/,""),V=k.trim();o(ue=>[...ue,{role:"customer",content:`Order lookup — #${K} · ${V}`},{role:"bot",content:"Looking up your order…"}]),T(!1),C(""),I("");try{const ue=await Z({data:{conversationId:n,orderNumber:K,email:V}});o(oe=>{const ge=oe.slice();for(let ye=ge.length-1;ye>=0;ye--)if(ge[ye].role==="bot"&&ge[ye].content==="Looking up your order…"){ge.splice(ye,1);break}return ue?.reply&&ge.push({role:"bot",content:ue.reply}),ge}),ue?.suggestHandoff&&m(!0)}catch(ue){console.error(ue),o(oe=>{const ge=oe.filter(ye=>!(ye.role==="bot"&&ye.content==="Looking up your order…"));return ge.push({role:"bot",content:"Sorry — I couldn't look that up right now. Please try again."}),ge})}finally{j(!1)}},ne=async B=>{if(B.preventDefault(),!(!n||!g.trim()))try{await H({data:{conversationId:n,email:g.trim(),name:v.trim()||void 0}}),m(!1),w(!0),o(K=>[...K,{role:"event",content:`Got it — a human agent has been notified. We'll reply here as soon as possible${g?` and email ${g} if you close this chat.`:"."}`}])}catch(K){console.error(K)}};return O.jsxs(O.Fragment,{children:[O.jsx("button",{type:"button","aria-label":e?"Close chat":"Open chat",onClick:()=>t(B=>!B),className:Wr("fixed bottom-5 right-5 z-[60] h-14 w-14 rounded-full flex items-center justify-center","bg-[image:var(--gradient-brand)] text-brand-foreground shadow-[var(--shadow-glow)]","hover:-translate-y-0.5 hover:brightness-110 transition-all","focus:outline-none focus:ring-2 focus:ring-brand focus:ring-offset-2 focus:ring-offset-background"),children:e?O.jsx(Jl,{className:"h-6 w-6"}):O.jsx(SM,{className:"h-6 w-6"})}),O.jsxs("div",{className:Wr("fixed bottom-24 right-5 z-[60] w-[calc(100vw-2.5rem)] sm:w-[400px] h-[70vh] sm:h-[600px] max-h-[680px]","rounded-2xl border border-border bg-background shadow-2xl flex flex-col overflow-hidden","origin-bottom-right transition-all duration-200",e?"scale-100 opacity-100":"pointer-events-none scale-95 opacity-0"),role:"dialog","aria-label":"Chat with GelToy assistant",children:[O.jsx("div",{className:"px-4 py-3 bg-[image:var(--gradient-brand)] text-brand-foreground flex items-center justify-between",children:O.jsxs("div",{children:[O.jsx("p",{className:"font-display text-sm font-bold uppercase tracking-wider",children:"GelToy Support"}),O.jsx("p",{className:"text-[11px] opacity-90 flex items-center gap-1.5",children:S?O.jsxs(O.Fragment,{children:[O.jsx(Mp,{className:"h-3 w-3"})," Connected to a human agent"]}):O.jsx(O.Fragment,{children:"AI assistant · live"})})]})}),O.jsxs("div",{ref:L,className:"flex-1 overflow-y-auto px-3 py-4 space-y-3 bg-surface/40",children:[a.map((B,K)=>{if(B.role==="event")return O.jsx("div",{className:"mx-auto text-[11px] text-muted-foreground bg-surface border border-border rounded-full px-3 py-1",children:Jw(B.content)},B.id??K);const V=B.role==="customer",ue=B.role==="agent",{text:oe,cards:ge}=V?{text:B.content,cards:[]}:LB(B.content);return O.jsxs("div",{className:Wr("max-w-[85%] flex flex-col gap-1",V?"ml-auto items-end":"mr-auto items-start"),children:[ue&&O.jsxs("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-brand flex items-center gap-1",children:[O.jsx(Mp,{className:"h-3 w-3"})," Human agent"]}),oe&&O.jsx("div",{className:Wr("rounded-2xl px-3.5 py-2.5 text-sm whitespace-pre-wrap break-words",V?"bg-brand text-brand-foreground rounded-br-sm":ue?"bg-brand/10 border border-brand/30 text-foreground rounded-bl-sm":"bg-surface border border-border text-foreground rounded-bl-sm"),children:Jw(oe)}),ge.length>0&&O.jsx(PB,{cards:ge})]},B.id??K)}),h&&O.jsxs("div",{className:"mr-auto bg-surface border border-border rounded-2xl rounded-bl-sm px-3.5 py-2.5 text-sm text-muted-foreground flex items-center gap-2",children:[O.jsx(Di,{className:"h-3.5 w-3.5 animate-spin"})," Thinking…"]})]}),p&&O.jsxs("form",{onSubmit:ne,className:"border-t border-border p-3 bg-surface/60 space-y-2",children:[O.jsx("p",{className:"text-xs text-muted-foreground",children:"Leave your email so we can follow up if you close the chat."}
127),O.jsx("input",{type:"text",value:v,onChange:B=>x(B.target.value),placeholder:"Your name (optional)",className:"w-full h-9 rounded-lg bg-background border border-border px-3 text-sm focus:border-brand focus:outline-none"}),O.jsx("input",{type:"email",required:!0,value:g,onChange:B=>y(B.target.value),placeholder:"[email protected]",className:"w-full h-9 rounded-lg bg-background border border-border px-3 text-sm focus:border-brand focus:outline-none"}),O.jsxs("div",{className:"flex gap-2",children:[O.jsx("button",{type:"button",onClick:()=>m(!1),className:"flex-1 h-9 rounded-lg border border-border text-sm hover:bg-surface",children:"Cancel"}),O.jsx("button",{type:"submit",className:"flex-1 h-9 rounded-lg bg-brand text-brand-foreground text-sm font-medium hover:brightness-110",children:"Request agent"})]})]}),_&&!S&&O.jsxs("form",{onSubmit:ce,className:"border-t border-border p-3 bg-surface/60 space-y-2",children:[O.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1.5",children:[O.jsx(Dp,{className:"h-3.5 w-3.5 text-brand"}),"Enter your order # and the email used at checkout — I'll pull tracking instantly."]}),O.jsx("input",{type:"text",required:!0,value:E,onChange:B=>C(B.target.value),placeholder:"Order number (e.g. #1042)",className:"w-full h-9 rounded-lg bg-background border border-border px-3 text-sm focus:border-brand focus:outline-none"}),O.jsx("input",{type:"email",required:!0,value:k,onChange:B=>I(B.target.value),placeholder:"Email used at checkout",className:"w-full h-9 rounded-lg bg-background border border-border px-3 text-sm focus:border-brand focus:outline-none"}),O.jsxs("div",{className:"flex gap-2",children:[O.jsx("button",{type:"button",onClick:()=>T(!1),className:"flex-1 h-9 rounded-lg border border-border text-sm hover:bg-surface",disabled:M,children:"Cancel"}),O.jsxs("button",{type:"submit",disabled:M,className:"flex-1 h-9 rounded-lg bg-brand text-brand-foreground text-sm font-medium hover:brightness-110 disabled:opacity-60 flex items-center justify-center gap-1.5",children:[M?O.jsx(Di,{className:"h-3.5 w-3.5 animate-spin"}):O.jsx(Dp,{className:"h-3.5 w-3.5"}),"Look up order"]})]})]}),S&&O.jsxs("div",{className:"border-t border-border px-3 py-2 text-xs text-brand bg-brand/5 flex items-center justify-center gap-1.5",children:[O.jsx(lM,{className:"h-3.5 w-3.5"})," A human agent will reply here shortly."]}),!S&&!p&&O.jsxs("div",{className:"border-t border-border px-3 py-2 flex flex-wrap gap-2 bg-background",children:[O.jsxs("a",{href:"/track",className:"text-[11px] inline-flex items-center gap-1.5 rounded-full border border-border bg-surface px-3 py-1.5 hover:border-brand hover:text-brand transition",children:[O.jsx(Dp,{className:"h-3 w-3"})," Track my order"]}),O.jsxs("button",{type:"button",onClick:()=>m(!0),className:"text-[11px] inline-flex items-center gap-1.5 rounded-full border border-border bg-surface px-3 py-1.5 hover:border-brand hover:text-brand transition",children:[O.jsx(Mp,{className:"h-3 w-3"})," Request agent"]})]}),O.jsxs("form",{onSubmit:B=>{B.preventDefault(),W()},className:"border-t border-border p-2.5 flex gap-2 bg-background",children:[O.jsx("input",{value:l,onChange:B=>c(B.target.value),placeholder:S?"Message the agent…":"Ask about products or your order…",className:"flex-1 h-10 rounded-full bg-surface border border-border px-4 text-sm focus:border-brand focus:outline-none",disabled:h||!n}),O.jsx("button",{type:"submit",disabled:h||!l.trim()||!n,"aria-label":"Send message",className:"h-10 w-10 rounded-full bg-brand text-brand-foreground flex items-center justify-center disabled:opacity-50 hover:brightness-110 transition",children:O.jsx(kM,{className:"h-4 w-4"})})]})]})]})}function Xg({className:e,variant:t="primary",size:n="md",...i}){const a={sm:"h-9 px-4 text-xs",md:"h-11 px-6 text-sm",lg:"h-14 px-8 text-base"},o="inline-flex items-center justify-center gap-2 rounded-full font-bold uppercase tracking-wider transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-brand focus:ring-offset-2 focus:ring-offset-background",l={primary:"bg-[image:var(--gradient-brand)] text-brand-foreground shadow-[var(--shadow-glow)] hover:-translate-y-0.5 hover:brightness-110 hover:shadow-[0_0_0_1px_oklch(0.72_0.21_45/0.7),0_18px_45px_-10px_oklch(0.72_0.21_45/0.8)]",outline:"border-2 border-brand/60 text-foreground hover:border-brand hover:bg-brand/10 hover:text-brand",dar
127k:"border-2 border-foreground/25 bg-surface/80 text-foreground backdrop-blur-sm shadow-lg hover:-translate-y-0.5 hover:border-foreground/50 hover:bg-surface"};return O.jsx("button",{className:Wr(o,a[n],l[t],e),...i})}const jp="geltoynation-mystery-blaster",Lp="mystery-upsell-shown";function Md(e,t){try{const n=window;n.analytics?.track?.(e,t),n.dataLayer?.push({event:e,...t})}catch{}}function zB(){const e=Rr(U=>U.lastAddedAt),t=Rr(U=>U.lastAddedHandle),n=Rr(U=>U.items),i=Rr(U=>U.addItem),a=Rr(U=>U.isLoading),[o,l]=P.useState(!1),[c,h]=P.useState(!1),[d,p]=P.useState(null),[m,g]=P.useState(!1),[y,v]=P.useState(!1),[x,S]=P.useState(!1),w=P.useRef(null),_=P.useRef(null),T=n.some(U=>U.product.handle===jp),E=n.length===0;P.useEffect(()=>{if(E&&typeof window<"u")try{sessionStorage.removeItem(Lp)}catch{}},[E]),P.useEffect(()=>{if(!(!e||!t)&&t!==jp&&!T&&!(typeof window<"u"&&sessionStorage.getItem(Lp)))return _.current&&window.clearTimeout(_.current),_.current=window.setTimeout(()=>{w.current||(g(!0),w.current=Kf(jp).then(U=>(p(U),g(!1),U||v(!0),U)).catch(U=>(console.error("Mystery upsell fetch failed:",U),v(!0),g(!1),null))),l(!0);try{sessionStorage.setItem(Lp,"1")}catch{}Md("Popup Viewed",{component:"MysteryUpsellPopup"})},400),()=>{_.current&&window.clearTimeout(_.current)}},[e,t,T]);const C=(U="dismiss")=>{U==="dismiss"&&Md("Popup Dismissed",{component:"MysteryUpsellPopup"}),h(!0),window.setTimeout(()=>{l(!1),h(!1)},200)};P.useEffect(()=>{if(!o)return;const U=D=>{D.key==="Escape"&&C("dismiss")};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[o]);const k=async()=>{if(!d||x)return;const U=d.variants.edges[0]?.node;U&&(Md("Add Mystery Blaster Clicked",{productId:d.id}),await i({product:{id:d.id,title:d.title,handle:d.handle,images:d.images},variantId:U.id,variantTitle:U.title,price:U.price,quantity:1,selectedOptions:U.selectedOptions??[]}),S(!0),Md("Mystery Blaster Added to Cart",{productId:d.id}),window.setTimeout(()=>C("added"),900))};if(!o)return null;const I=d?.images.edges[0]?.node,M=d?.variants.edges[0]?.node,j=M?.availableForSale??!0;return O.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"mystery-upsell-title",className:`fixed inset-0 z-[100] flex items-center justify-center p-4 ${c?"animate-fade-out":"animate-fade-in"}`,children:[O.jsx("button",{"aria-label":"Close upsell",onClick:()=>C("dismiss"),className:"absolute inset-0 bg-black/70 backdrop-blur-sm"}),O.jsxs("div",{className:`relative w-full max-w-lg overflow-hidden rounded-3xl border border-brand/40 bg-surface shadow-[var(--shadow-glow)] ${c?"animate-scale-out":"animate-scale-in"}`,children:[O.jsx("button",{onClick:()=>C("dismiss"),"aria-label":"Close",className:"absolute right-3 top-3 z-10 rounded-full p-2 text-foreground/70 hover:bg-background/60 hover:text-brand transition",children:O.jsx(Jl,{className:"h-4 w-4"})}),O.jsxs("div",{className:"p-6 md:p-8",children:[O.jsx("div",{className:"mb-1 inline-block rounded-full bg-brand/15 px-3 py-1 text-[10px] font-bold uppercase tracking-wider text-brand",children:"Exclusive Offer"}),O.jsx("h2",{id:"mystery-upsell-title",className:"mt-2 font-display text-2xl md:text-3xl font-extrabold uppercase leading-tight text-foreground",children:"🎁 Wait! Add a Mystery Blaster for an Exclusive Deal!"}),O.jsx("p",{className:"mt-3 text-sm text-muted-foreground",children:"Take the excitement to the next level! Add our Mystery Blaster to your order and receive a surprise premium gel blaster at an incredible value. Every Mystery Blaster is brand new, fully functional, and could be one of our best-selling models."}),O.jsxs("div",{className:"mt-6 flex gap-4 rounded-2xl border border-border bg-background/60 p-4",children:[O.jsx("div",{className:"h-24 w-24 flex-shrink-0 overflow-hidden rounded-xl bg-black",children:m?O.jsx("div",{className:"flex h-full w-full items-center justify-center",children:O.jsx(Di,{className:"h-5 w-5 animate-spin text-brand"})}):I?O.jsx("img",{src:I.url,alt:I.altText??d?.title??"Mystery Blaster",className:"h-full w-full object-cover",loading:"lazy"}):O.jsx("div",{className:"h-full w-full bg-surface-2"})}),O.jsxs("div",{className:"min-w-0 flex-1",children:[O.jsx("h3",{className:"font-display text-base font-bold uppercase leading-tight text-foreground line-clamp-2",children:d?.title??(m?"Loading…":"Mystery Blaster")}),d?.description&&O.jsx("p",{className:"mt-1 text-xs text-muted-foreground line-clamp-2",children:d.description}),O.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[M&&O.jsx("span",{className:"font-display text-lg font-bold text-brand",children:$o(M.price)}),M&&O.jsx("span",{className:`text-[10px] font-bold uppercase tracking-wider ${j?"text-brand":"text-destructive"}`,children:j?"In Stock":"Sold Out"})]})]})]}),y&&O.jsx("p",{className:"mt-3 text-xs text-destructive",children:"We couldn't load the Mystery Blaster right now. Please try again later."}),O.jsxs("div",{className:"mt-6 flex flex-col-reverse gap-3 sm:flex-row sm:items-center sm:justify-end",children:[O.jsx("button",{type:"button",onClick:()=>C("dismiss"),className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground hover:text-foreground transition",children:"No Thanks"}),O.jsx(Xg,{size:"lg",onClick:k,disabled:!d||!j||a||x||y,className:"w-full sm:w-auto",children:x?O.jsxs(O.Fragment,{children:[O.jsx(sM,{className:"h-4 w-4"})," Added to Cart"]}):a?O.jsxs(O.Fragment,{children:[O.jsx(Di,{className:"h-4 w-4 animate-spin"})," Adding…"]}):O.jsxs(O.Fragment,{children:[O.jsx(Jg,{className:"h-4 w-4"})," Add Mystery Blaster"]})})]})]})]})]})}function GB(){return O.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:O.jsxs("div",{className:"max-w-md text-center",children:[O.jsx("h1",{className:"text-7xl font-bold text-foreground",children:"404"}),O.jsx("h2",{className:"mt-4 text-xl font-semibold text-foreground",children:"Page not found"}),O.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"The page you're looking for doesn't exist or has been moved."}),O.jsx("div",{className:"mt-6",children:O.jsx(Oi,{to:"/",className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Go home"})})]})})}function qB({error:e,reset:t}){console.error(e);const n=nn();return O.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:O.jsxs("div",{className:"max-w-md text-center",children:[O.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground",children:"This page didn't load"}),O.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Something went wrong on our end. You can try refreshing or head back home."}),O.jsxs("div",{className:"mt-6 flex flex-wrap justify-center gap-2",children:[O.jsx("button",{onClick:()=>{n.invalidate(),t()},className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Try again"}),O.jsx("a",{href:"/",className:"inline-flex items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-accent",children:"Go home"})]})]})})}const Yt=$k()({head:()=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{name:"google-site-verification",content:"jOiVCrLEEiyHXtRzUGqV99F7X0NjCqNfh0d7MOMKmE4"},{name:"theme-color",content:"#ff7a00"},{name:"msapplication-TileColor",content:"#ff7a00"},{name:"author",content:"GelToyNation"},{property:"og:site_name",content:"GelToyNation"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{property:"og:image",content:"https://geltoynation.com/android-chrome-512x512.png"},{name:"twitter:image",content:"https://geltoynation.com/android-chrome-512x512.png"}],links:[{rel:"stylesheet",href:A5},{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"48x48",href:"/favicon-48x48.png"},{rel:"shortcut icon",href:"/favicon.ico"},{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{rel:"manifest",href:"/site.webmanifest"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"GelToyNation",url:"https://geltoynation.com",logo:"https://geltoynation.com/favicon.ico",sameAs:[]})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebSite",name:"GelToyNation",url:"https://geltoynation.com",potentialAction:{"@type":"SearchAction",target:"https://geltoynation.com/shop?q={search_term_string}","query-input":"required name=search_term_string"}})}]}),shellComponent:QB,component:KB,notFoundComponent:GB,errorComponent:qB});function QB({children:e}){return O.jsxs("html",{lang:"en",className:"dark",children:[O.jsxs("head",{children:[O.jsx("link",{rel:"prec
127onnect",href:"https://fonts.googleapis.com"}),O.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),O.jsx("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Oxanium:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap"}),O.jsx(wI,{})]}),O.jsxs("body",{children:[e,O.jsx(SI,{})]})]})}function KB(){const{queryClient:e}=Yt.useRouteContext();return O.jsx(s5,{client:e,children:O.jsx(YB,{children:O.jsx(Rx,{})})})}function YB({children:e}){return J5(),$5(),O.jsxs(O.Fragment,{children:[e,O.jsx(HB,{}),O.jsx(zB,{})]})}const VB="modulepreload",WB=function(e){return"/"+e},Zw={},At=function(t,n,i){let a=Promise.resolve();if(n&&n.length>0){let h=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");a=h(n.map(d=>{if(d=WB(d),d in Zw)return;Zw[d]=!0;const p=d.endsWith(".css"),m=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${m}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":VB,p||(g.as="script"),g.crossOrigin="",g.href=d,c&&g.setAttribute("nonce",c),document.head.appendChild(g),p)return new Promise((y,v)=>{g.addEventListener("load",y),g.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return a.then(l=>{for(const c of l||[])c.status==="rejected"&&o(c.reason);return t().catch(o)})},JB="/assets/hero-tactical-bg-XGfLCNnV.jpg",ZB=()=>At(()=>import("./index-B3_DlB6T.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])),$B=vt("/")({component:gt(ZB,"component"),head:()=>({meta:[{title:"Best Gel Blaster Guns for Adults | GelToyNation"},{name:"description",content:"Shop the best gel blaster guns: top-rated, realistic rifles, SMGs and pistols for adults. Free US shipping on all orders and 30-day returns."},{property:"og:title",content:"Best Gel Blaster Guns for Adults | GelToyNation"},{property:"og:description",content:"Top-rated, realistic gel blaster guns for adults. Free US shipping on all orders and 30-day returns."},{property:"og:url",content:"https://geltoynation.com/"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://geltoynation.com/"},{rel:"preload",as:"image",href:JB,fetchpriority:"high"}]})}),XB=()=>At(()=>import("./route-B2XhLhdm.js"),[]),ej=vt("/_authenticated")({beforeLoad:async()=>{const{data:e,error:t}=await tE.auth.getUser();if(t||!e.user)throw Ma({to:"/auth"});return{user:e.user}},component:gt(XB,"component")}),tj=()=>At(()=>import("./about-CYiayTqw.js"),__vite__mapDeps([9,4])),nj=vt("/about")({head:()=>({meta:[{title:"About — GelToyNation"},{name:"description",content:"We engineer premium gel blasters for adult enthusiasts. Learn the GelToyNation story."},{property:"og:title",content:"About GelToyNation"},{property:"og:description",content:"We engineer premium gel blasters for adult enthusiasts."},{property:"og:type",content:"website"},{property:"og:url",content:"https://geltoynation.com/about"}],links:[{rel:"canonical",href:"https://geltoynation.com/about"}]}),component:gt(tj,"component")}),rj=()=>At(()=>import("./auth-D7u38PzS.js"),[]),ij=vt("/auth")({head:()=>({meta:[{title:"Admin sign in — GelToyNation"},{name:"robots",content:"noindex, nofollow"}]}),component:gt(rj,"component")}),sj=()=>At(()=>import("./blog-Lr1bCDBS.js"),[]),aj=vt("/blog")({component:gt(sj,"component")}),Bd="https://geltoynation.com";var ut;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const o={};for(const l of a)o[l]=l;return o},e.getValidEnumValues=a=>{const o=e.objectKeys(a).filter(c=>typeof a[a[c]]!="number"),l={};for(const c of o)l[c]=a[c];return e.objectValues(l)},e.objectValues=a=>e.objectKeys(a).map(function(o){return a[o]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const o=[];for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&o.push(l);return o},e.find=(a,o)=>{for(const l of a)if(o(l))return l},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function i(a,o=" | "){return a.map(l=>typeof l=="string"?`'${l}'`:l).join(o)}e.joinValues=i,e.jsonStringifyReplacer=(a,o)=>typeof o=="bigint"?o.toString():o})(ut||(ut={}));var $w;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})($w||($w={}));const Te=ut.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ss=e=>{switch(typeof e){case"undefined":return Te.undefined;case"string":return Te.string;case"number":return Number.isNaN(e)?Te.nan:Te.number;case"boolean":return Te.boolean;case"function":return Te.function;case"bigint":return Te.bigint;case"symbol":return Te.symbol;case"object":return Array.isArray(e)?Te.array:e===null?Te.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Te.promise:typeof Map<"u"&&e instanceof Map?Te.map:typeof Set<"u"&&e instanceof Set?Te.set:typeof Date<"u"&&e instanceof Date?Te.date:Te.object;default:return Te.unknown}}
vendor: 16,373 bytes, line 127
127,me=ut.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 Mi extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(o){return o.message},i={_errors:[]},a=o=>{for(const l of o.issues)if(l.code==="invalid_union")l.unionErrors.map(a);else if(l.code==="invalid_return_type")a(l.returnTypeError);else if(l.code==="invalid_arguments")a(l.argumentsError);else if(l.path.length===0)i._errors.push(n(l));else{let c=i,h=0;for(;h<l.path.length;){const d=l.path[h];h===l.path.length-1?(c[d]=c[d]||{_errors:[]},c[d]._errors.push(n(l))):c[d]=c[d]||{_errors:[]},c=c[d],h++}}};return a(this),i}static assert(t){if(!(t instanceof Mi))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ut.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},i=[];for(const a of this.issues)if(a.path.length>0){const o=a.path[0];n[o]=n[o]||[],n[o].push(t(a))}else i.push(t(a));return{formErrors:i,fieldErrors:n}}get formErrors(){return this.flatten()}}Mi.create=e=>new Mi(e);const pg=(e,t)=>{let n;switch(e.code){case me.invalid_type:e.received===Te.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case me.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,ut.jsonStringifyReplacer)}`;break;case me.unrecognized_keys:n=`Unrecognized key(s) in object: ${ut.joinValues(e.keys,", ")}`;break;case me.invalid_union:n="Invalid input";break;case me.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${ut.joinValues(e.options)}`;break;case me.invalid_enum_value:n=`Invalid enum value. Expected ${ut.joinValues(e.options)}, received '${e.received}'`;break;case me.invalid_arguments:n="Invalid function arguments";break;case me.invalid_return_type:n="Invalid function return type";break;case me.invalid_date:n="Invalid date";break;case me.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:ut.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case me.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case me.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case me.custom:n="Invalid input";break;case me.invalid_intersection_types:n="Intersection results could not be merged";break;case me.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case me.not_finite:n="Number must be finite";break;default:n=t.defaultError,ut.assertNever(e)}return{message:n}};let oj=pg;function uj(){return oj}const lj=e=>{const{data:t,path:n,errorMaps:i,issueData:a}=e,o=[...n,...a.path||[]],l={...a,path:o};if(a.message!==void 0)return{...a,path:o,message:a.message};let c="";const h=i.filter(d=>!!d).slice().reverse();for(const d of h)c=d(l,{data:t,defaultError:c}).message;return{...a,path:o,message:c}};function be(e,t){const n=uj(),i=lj({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===pg?void 0:pg].filter(a=>!!a)});e.common.issues.push(i)}class $n{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const i=[];for(const a of n){if(a.status==="aborted")return Pe;a.status==="dirty"&&t.dirty(),i.push(a.value)}return{status:t.value,value:i}}static async mergeObjectAsync(t,n){const i=[];for(const a of n){const o=await a.key,l=await a.value;i.push({key:o,value:l})}return $n.mergeObjectSync(t,i)}static mergeObjectSync(t,n){const i={};for(const a of n){const{key:o,value:l}=a;if(o.status==="aborted"||l.status==="aborted")return Pe;o.status==="dirty"&&t.dirty(),l.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof l.value<"u"||a.alwaysSet)&&(i[o.value]=l.value)}return{status:t.value,value:i}}}const Pe=Object.freeze({status:"aborted"}),wl=e=>({status:"dirty",value:e}),dr=e=>({status:"valid",value:e}),Xw=e=>e.status==="aborted",eS=e=>e.status==="dirty",Xo=e=>e.status==="valid",kf=e=>typeof Promise<"u"&&e instanceof Promise;var Oe;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Oe||(Oe={}));class Ms{constructor(t,n,i,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=i,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 tS=(e,t)=>{if(Xo(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 n=new Mi(e.common.issues);return this._error=n,this._error}}};function We(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:i,description:a}=e;if(t&&(n||i))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:(l,c)=>{const{message:h}=e;return l.code==="invalid_enum_value"?{message:h??c.defaultError}:typeof c.data>"u"?{message:h??i??c.defaultError}:l.code!=="invalid_type"?{message:c.defaultError}:{message:h??n??c.defaultError}},description:a}}class st{get description(){return this._def.description}_getType(t){return Ss(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Ss(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new $n,ctx:{common:t.parent.common,data:t.data,parsedType:Ss(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(kf(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const i=this.safeParse(t,n);if(i.success)return i.data;throw i.error}safeParse(t,n){const i={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ss(t)},a=this._parseSync({data:t,path:i.path,parent:i});return tS(i,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ss(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:n});return Xo(i)?{value:i.value}:{issues:n.common.issues}}catch(i){i?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(i=>Xo(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(t,n){const i=await this.safeParseAsync(t,n);if(i.success)return i.data;throw i.error}async safeParseAsync(t,n){const i={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ss(t)},a=this._parse({data:t,path:i.path,parent:i}),o=await(kf(a)?a:Promise.resolve(a));return tS(i,o)}refine(t,n){const i=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,o)=>{const l=t(a),c=()=>o.addIssue({code:me.custom,...i(a)});return typeof Promise<"u"&&l instanceof Promise?l.then(h=>h?!0:(c(),!1)):l?!0:(c(),!1)})}refinement(t,n){return this._refinement((i,a)=>t(i)?!0:(a.addIssue(typeof n=="function"?n(i,a):n),!1))}_refinement(t){return new nu({schema:this,typeName:Ue.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:n=>this["~validate"](n)}}optional(){return Ns.create(this,this._def)}nullable(){return ru.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Jr.create(this)}promise(){return Mf.create(this,this._def)}or(t){return Nf.create([this,t],this._def)}and(t){return Df.create(this,t,this._def)}transform(t){return new nu({...We(this._def),schema:this,typeName:Ue.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new gg({...We(this._def),innerType:this,defaultValue:n,typeName:Ue.ZodDefault})}brand(){return new Nj({typeName:Ue.ZodBranded,type:this,...We(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Ag({...We(this._def),innerType:this,catchValue:n,typeName:Ue.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return eA.create(this,t)}readonly(){return yg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const cj=/^c[^\s-]{8,}$/i,dj=/^[0-9a-z]+$/,fj=/^[0-9A-HJKMNP-TV-Z]{26}$/i,hj=/^[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,pj=/^[a-z0-9_-]{21}$/i,mj=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,gj=/^[-+]?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)?)??$/,Aj=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,yj="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Pp;const bj=/^(?:(?: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])$/,vj=/^(?:(?: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])$/,wj=/^(([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]))$/,Sj=/^(([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])$/,_j=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,xj=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,LE="((\\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])))",Ej=new RegExp(`^${LE}$`);function PE(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function Cj(e){return new RegExp(`^${PE(e)}$`)}function Tj(e){let t=`${LE}T${PE(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function Rj(e,t){return!!((t==="v4"||!t)&&bj.test(e)||(t==="v6"||!t)&&wj.test(e))}function Oj(e,t){if(!mj.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(i));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function kj(e,t){return!!((t==="v4"||!t)&&vj.test(e)||(t==="v6"||!t)&&Sj.test(e))}class ki extends st{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Te.string){const o=this._getOrReturnCtx(t);return be(o,{code:me.invalid_type,expected:Te.string,received:o.parsedType}),Pe}const i=new $n;let a;for(const o of this._def.checks)if(o.kind==="min")t.data.length<o.value&&(a=this._getOrReturnCtx(t,a),be(a,{code:me.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),i.dirty());else if(o.kind==="max")t.data.length>o.value&&(a=this._getOrReturnCtx(t,a),be(a,{code:me.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),i.dirty());else if(o.kind==="length"){const l=t.data.length>o.value,c=t.data.length<o.value;(l||c)&&(a=this._getOrReturnCtx(t,a),l?be(a,{code:me.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):c&&be(a,{code:me.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),i.dirty())}else if(o.kind==="email")Aj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"email",code:me.invali
vendor: 5,882 bytes, line 127
127d_string,message:o.message}),i.dirty());else if(o.kind==="emoji")Pp||(Pp=new RegExp(yj,"u")),Pp.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"emoji",code:me.invalid_string,message:o.message}),i.dirty());else if(o.kind==="uuid")hj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"uuid",code:me.invalid_string,message:o.message}),i.dirty());else if(o.kind==="nanoid")pj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"nanoid",code:me.invalid_string,message:o.message}),i.dirty());else if(o.kind==="cuid")cj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"cuid",code:me.invalid_string,message:o.message}),i.dirty());else if(o.kind==="cuid2")dj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"cuid2",code:me.invalid_string,message:o.message}),i.dirty());else if(o.kind==="ulid")fj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"ulid",code:me.invalid_string,message:o.message}),i.dirty());else if(o.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),be(a,{validation:"url",code:me.invalid_string,message:o.message}),i.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"regex",code:me.invalid_string,message:o.message}),i.dirty())):o.kind==="trim"?t.data=t.data.trim():o.kind==="includes"?t.data.includes(o.value,o.position)||(a=this._getOrReturnCtx(t,a),be(a,{code:me.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),i.dirty()):o.kind==="toLowerCase"?t.data=t.data.toLowerCase():o.kind==="toUpperCase"?t.data=t.data.toUpperCase():o.kind==="startsWith"?t.data.startsWith(o.value)||(a=this._getOrReturnCtx(t,a),be(a,{code:me.invalid_string,validation:{startsWith:o.value},message:o.message}),i.dirty()):o.kind==="endsWith"?t.data.endsWith(o.value)||(a=this._getOrReturnCtx(t,a),be(a,{code:me.invalid_string,validation:{endsWith:o.value},message:o.message}),i.dirty()):o.kind==="datetime"?Tj(o).test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{code:me.invalid_string,validation:"datetime",message:o.message}),i.dirty()):o.kind==="date"?Ej.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{code:me.invalid_string,validation:"date",message:o.message}),i.dirty()):o.kind==="time"?Cj(o).test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{code:me.invalid_string,validation:"time",message:o.message}),i.dirty()):o.kind==="duration"?gj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"duration",code:me.invalid_string,message:o.message}),i.dirty()):o.kind==="ip"?Rj(t.data,o.version)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"ip",code:me.invalid_string,message:o.message}),i.dirty()):o.kind==="jwt"?Oj(t.data,o.alg)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"jwt",code:me.invalid_string,message:o.message}),i.dirty()):o.kind==="cidr"?kj(t.data,o.version)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"cidr",code:me.invalid_string,message:o.message}),i.dirty()):o.kind==="base64"?_j.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"base64",code:me.invalid_string,message:o.message}),i.dirty()):o.kind==="base64url"?xj.test(t.data)||(a=this._getOrReturnCtx(t,a),be(a,{validation:"base64url",code:me.invalid_string,message:o.message}),i.dirty()):ut.assertNever(o);return{status:i.value,value:t.data}}_regex(t,n,i){return this.refinement(a=>t.test(a),{validation:n,code:me.invalid_string,...Oe.errToObj(i)})}_addCheck(t){return new ki({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Oe.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Oe.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Oe.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Oe.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Oe.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Oe.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Oe.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Oe.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Oe.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Oe.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Oe.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Oe.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Oe.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,...Oe.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,...Oe.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Oe.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Oe.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...Oe.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Oe.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Oe.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Oe.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Oe.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Oe.errToObj(n)})}nonempty(t){return this.min(1,Oe.errToObj(t))}trim(){return new ki({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ki({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ki({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 17,355 bytes, line 127
127get 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 n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ki.create=e=>new ki({checks:[],typeName:Ue.ZodString,coerce:e?.coerce??!1,...We(e)});function Ij(e,t){const n=(e.toString().split(".")[1]||"").length,i=(t.toString().split(".")[1]||"").length,a=n>i?n:i,o=Number.parseInt(e.toFixed(a).replace(".","")),l=Number.parseInt(t.toFixed(a).replace(".",""));return o%l/10**a}class ka extends st{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)!==Te.number){const o=this._getOrReturnCtx(t);return be(o,{code:me.invalid_type,expected:Te.number,received:o.parsedType}),Pe}let i;const a=new $n;for(const o of this._def.checks)o.kind==="int"?ut.isInteger(t.data)||(i=this._getOrReturnCtx(t,i),be(i,{code:me.invalid_type,expected:"integer",received:"float",message:o.message}),a.dirty()):o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(i=this._getOrReturnCtx(t,i),be(i,{code:me.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),a.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(i=this._getOrReturnCtx(t,i),be(i,{code:me.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),a.dirty()):o.kind==="multipleOf"?Ij(t.data,o.value)!==0&&(i=this._getOrReturnCtx(t,i),be(i,{code:me.not_multiple_of,multipleOf:o.value,message:o.message}),a.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(i=this._getOrReturnCtx(t,i),be(i,{code:me.not_finite,message:o.message}),a.dirty()):ut.assertNever(o);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Oe.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Oe.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Oe.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Oe.toString(n))}setLimit(t,n,i,a){return new ka({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:i,message:Oe.toString(a)}]})}_addCheck(t){return new ka({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Oe.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Oe.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Oe.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Oe.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Oe.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Oe.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Oe.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Oe.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Oe.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&ut.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(n===null||i.value>n)&&(n=i.value):i.kind==="max"&&(t===null||i.value<t)&&(t=i.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ka.create=e=>new ka({checks:[],typeName:Ue.ZodNumber,coerce:e?.coerce||!1,...We(e)});class Ia extends st{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)!==Te.bigint)return this._getInvalidInput(t);let i;const a=new $n;for(const o of this._def.checks)o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(i=this._getOrReturnCtx(t,i),be(i,{code:me.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),a.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(i=this._getOrReturnCtx(t,i),be(i,{code:me.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),a.dirty()):o.kind==="multipleOf"?t.data%o.value!==BigInt(0)&&(i=this._getOrReturnCtx(t,i),be(i,{code:me.not_multiple_of,multipleOf:o.value,message:o.message}),a.dirty()):ut.assertNever(o);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return be(n,{code:me.invalid_type,expected:Te.bigint,received:n.parsedType}),Pe}gte(t,n){return this.setLimit("min",t,!0,Oe.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Oe.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Oe.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Oe.toString(n))}setLimit(t,n,i,a){return new Ia({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:i,message:Oe.toString(a)}]})}_addCheck(t){return new Ia({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Oe.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Oe.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Oe.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Oe.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Oe.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Ia.create=e=>new Ia({checks:[],typeName:Ue.ZodBigInt,coerce:e?.coerce??!1,...We(e)});class If extends st{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Te.boolean){const i=this._getOrReturnCtx(t);return be(i,{code:me.invalid_type,expected:Te.boolean,received:i.parsedType}),Pe}return dr(t.data)}}If.create=e=>new If({typeName:Ue.ZodBoolean,coerce:e?.coerce||!1,...We(e)});class eu extends st{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Te.date){const o=this._getOrReturnCtx(t);return be(o,{code:me.invalid_type,expected:Te.date,received:o.parsedType}),Pe}if(Number.isNaN(t.data.getTime())){const o=this._getOrReturnCtx(t);return be(o,{code:me.invalid_date}),Pe}const i=new $n;let a;for(const o of this._def.checks)o.kind==="min"?t.data.getTime()<o.value&&(a=this._getOrReturnCtx(t,a),be(a,{code:me.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),i.dirty()):o.kind==="max"?t.data.getTime()>o.value&&(a=this._getOrReturnCtx(t,a),be(a,{code:me.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),i.dirty()):ut.assertNever(o);return{status:i.value,value:new Date(t.data.getTime())}}_addCheck(t){return new eu({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Oe.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Oe.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}eu.create=e=>new eu({checks:[],coerce:e?.coerce||!1,typeName:Ue.ZodDate,...We(e)});class nS extends st{_parse(t){if(this._getType(t)!==Te.symbol){const i=this._getOrReturnCtx(t);return be(i,{code:me.invalid_type,expected:Te.symbol,received:i.parsedType}),Pe}return dr(t.data)}}nS.create=e=>new nS({typeName:Ue.ZodSymbol,...We(e)});class rS extends st{_parse(t){if(this._getType(t)!==Te.undefined){const i=this._getOrReturnCtx(t);return be(i,{code:me.invalid_type,expected:Te.undefined,received:i.parsedType}),Pe}return dr(t.data)}}rS.create=e=>new rS({typeName:Ue.ZodUndefined,...We(e)});class iS extends st{_parse(t){if(this._getType(t)!==Te.null){const i=this._getOrReturnCtx(t);return be(i,{code:me.invalid_type,expected:Te.null,received:i.parsedType}),Pe}return dr(t.data)}}iS.create=e=>new iS({typeName:Ue.ZodNull,...We(e)});class sS extends st{constructor(){super(...arguments),this._any=!0}_parse(t){return dr(t.data)}}sS.create=e=>new sS({typeName:Ue.ZodAny,...We(e)});class aS extends st{constructor(){super(...arguments),this._unknown=!0}_parse(t){return dr(t.data)}}aS.create=e=>new aS({typeName:Ue.ZodUnknown,...We(e)});class Bs extends st{_parse(t){const n=this._getOrReturnCtx(t);return be(n,{code:me.invalid_type,expected:Te.never,received:n.parsedType}),Pe}}Bs.create=e=>new Bs({typeName:Ue.ZodNever,...We(e)});class oS extends st{_parse(t){if(this._getType(t)!==Te.undefined){const i=this._getOrReturnCtx(t);return be(i,{code:me.invalid_type,expected:Te.void,received:i.parsedType}),Pe}return dr(t.data)}}oS.create=e=>new oS({typeName:Ue.ZodVoid,...We(e)});class Jr extends st{_parse(t){const{ctx:n,status:i}=this._processInputParams(t),a=this._def;if(n.parsedType!==Te.array)return be(n,{code:me.invalid_type,expected:Te.array,received:n.parsedType}),Pe;if(a.exactLength!==null){const l=n.data.length>a.exactLength.value,c=n.data.length<a.exactLength.value;(l||c)&&(be(n,{code:l?me.too_big:me.too_small,minimum:c?a.exactLength.value:void 0,maximum:l?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),i.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(be(n,{code:me.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),i.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(be(n,{code:me.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),i.dirty()),n.common.async)return Promise.all([...n.data].map((l,c)=>a.type._parseAsync(new Ms(n,l,n.path,c)))).then(l=>$n.mergeArray(i,l));const o=[...n.data].map((l,c)=>a.type._parseSync(new Ms(n,l,n.path,c)));return $n.mergeArray(i,o)}get element(){return this._def.type}min(t,n){return new Jr({...this._def,minLength:{value:t,message:Oe.toString(n)}})}max(t,n){return new Jr({...this._def,maxLength:{value:t,message:Oe.toString(n)}})}length(t,n){return new Jr({...this._def,exactLength:{value:t,message:Oe.toString(n)}})}nonempty(t){return this.min(1,t)}}Jr.create=(e,t)=>new Jr({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ue.ZodArray,...We(t)});function Go(e){if(e instanceof qt){const t={};for(const n in e.shape){const i=e.shape[n];t[n]=Ns.create(Go(i))}return new qt({...e._def,shape:()=>t})}else return e instanceof Jr?new Jr({...e._def,type:Go(e.element)}):e instanceof Ns?Ns.create(Go(e.unwrap())):e instanceof ru?ru.create(Go(e.unwrap())):e instanceof Na?Na.create(e.items.map(t=>Go(t))):e}class qt extends st{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(),n=ut.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Te.object){const d=this._getOrReturnCtx(t);return be(d,{code:me.invalid_type,expected:Te.object,received:d.parsedType}),Pe}const{status:i,ctx:a}=this._processInputParams(t),{shape:o,keys:l}=this._getCached(),c=[];if(!(this._def.catchall instanceof Bs&&this._def.unknownKeys==="strip"))for(const d in a.data)l.includes(d)||c.push(d);const h=[];for(const d of l){const p=o[d],m=a.data[d];h.push({key:{status:"valid",value:d},value:p._parse(new Ms(a,m,a.path,d)),alwaysSet:d in a.data})}if(this._def.catchall instanceof Bs){const d=this._def.unknownKeys;if(d==="passthrough")for(const p of c)h.push({key:{status:"valid",value:p},value:{status:"valid",value:a.data[p]}});else if(d==="strict")c.length>0&&(be(a,{code:me.unrecognized_keys,keys:c}),i.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const d=this._def.catchall;for(const p of c){const m=a.data[p];h.push({key:{status:"valid",value:p},value:d._parse(new Ms(a,m,a.path,p)),alwaysSet:p in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const d=[];for(const p of h){const m=await p.key,g=await p.value;d.push({key:m,value:g,alwaysSet:p.alwaysSet})}return d}).then(d=>$n.mergeObjectSync(i,d)):$n.mergeObjectSync(i,h)}get shape(){return this._def.shape()}strict(t){return Oe.errToObj,new qt({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,i)=>{const a=this._def.errorMap?.(n,i).message??i.defaultError;return n.code==="unrecognized_keys"?{message:Oe.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new qt({...this._def,unknownKeys:"strip"})}passthrough(){return new qt({...this._def,unknownKeys:"passthrough"})}extend(t){return new qt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new qt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ue.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new qt({...this._def,catchall:t})}pick(t){const n={};for(const i of ut.objectKeys(t))t[i]&&this.shape[i]&&(n[i]=this.shape[i]);return new qt({...this._def,shape:()=>n})}omit(t){const n={};for(const i of ut.objectKeys(this.shape))t[i]||(n[i]=this.shape[i]);return new qt({...this._def,shape:()=>n})}deepPartial(){return Go(this)}partial(t){const n={};for(const i of ut.objectKeys(this.shape)){const a=this.shape[i];t&&!t[i]?n[i]=a:n[i]=a.optional()}return new qt({...this._def,shape:()=>n})}required(t){const n={};for(const i of ut.objectKeys(this.shape))if(t&&!t[i])n[i]=this.shape[i];else{let o=this.shape[i];for(;o instanceof Ns;)o=o._def.innerType;n[i]=o}return new qt({...this._def,shape:()=>n})}keyof(){return UE(ut.objectKeys(this.shape))}}qt.create=(e,t)=>new qt({shape:()=>e,unknownKeys:"strip",catchall:Bs.create(),typeName:Ue.ZodObject,...We(t)});qt.strictCreate=(e,t)=>new qt({shape:()=>e,unknownKeys:"strict",catchall:Bs.create(),typeName:Ue.ZodObject,...We(t)});qt.lazycreate=(e,t)=>new qt({shape:e,unknownKeys:"strip",catchall:Bs.create(),typeName:Ue.ZodObject,...We(t)});class Nf extends st{_parse(t){const{ctx:n}=this._processInputParams(t),i=this._def.options;function a(o){for(const c of o)if(c.result.status==="valid")return c.result;for(const c of o)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;const l=o.map(c=>new Mi(c.ctx.common.issues));return be(n,{code:me.invalid_union,unionErrors:l}),Pe}if(n.common.async)return Promise.all(i.map(async o=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(a);{let o;const l=[];for(const h of i){const d={...n,common:{...n.common,issues:[]},parent:null},p=h._parseSync({data:n.data,path:n.path,parent:d});if(p.status==="valid")return p;p.status==="dirty"&&!o&&(o={result:p,ctx:d}),d.common.issues.length&&l.push(d.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;const c=l.map(h=>new Mi(h));return be(n,{code:me.invalid_union,unionErrors:c}),Pe}}get options(){return this._def.options}}Nf.create=(e,t)=>new Nf({options:e,typeName:Ue.ZodUnion,...We(t)});function mg(e,t){const n=Ss(e),i=Ss(t);if(e===t)return{valid:!0,data:e};if(n===Te.object&&i===Te.object){const a=ut.objectKeys(t),o=ut.objectKeys(e).filter(c=>a.indexOf(c)!==-1),l={...e,...t};for(const c of o){const h=mg(e[c],t[c]);if(!h.valid)return{valid:!1};l[c]=h.data}return{valid:!0,data:l}}else if(n===Te.array&&i===Te.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let o=0;o<e.length;o++){const l=e[o],c=t[o],h=mg(l,c);if(!h.valid)return{valid:!1};a.push(h.data)}return{valid:!0,data:a}}else return n===Te.date&&i===Te.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Df extends st{_parse(t){const{status:n,ctx:i}=this._processInputParams(t),a=(o,l)=>{if(Xw(o)||Xw(l))return Pe;const c=mg(o.value,l.value);return c.valid?((eS(o)||eS(l))&&n.dirty(),{status:n.value,value:c.data}
vendor: 2,541 bytes, line 127
127):(be(i,{code:me.invalid_intersection_types}),Pe)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([o,l])=>a(o,l)):a(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}}Df.create=(e,t,n)=>new Df({left:e,right:t,typeName:Ue.ZodIntersection,...We(n)});class Na extends st{_parse(t){const{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==Te.array)return be(i,{code:me.invalid_type,expected:Te.array,received:i.parsedType}),Pe;if(i.data.length<this._def.items.length)return be(i,{code:me.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Pe;!this._def.rest&&i.data.length>this._def.items.length&&(be(i,{code:me.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const o=[...i.data].map((l,c)=>{const h=this._def.items[c]||this._def.rest;return h?h._parse(new Ms(i,l,i.path,c)):null}).filter(l=>!!l);return i.common.async?Promise.all(o).then(l=>$n.mergeArray(n,l)):$n.mergeArray(n,o)}get items(){return this._def.items}rest(t){return new Na({...this._def,rest:t})}}Na.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Na({items:e,typeName:Ue.ZodTuple,rest:null,...We(t)})};class uS extends st{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==Te.map)return be(i,{code:me.invalid_type,expected:Te.map,received:i.parsedType}),Pe;const a=this._def.keyType,o=this._def.valueType,l=[...i.data.entries()].map(([c,h],d)=>({key:a._parse(new Ms(i,c,i.path,[d,"key"])),value:o._parse(new Ms(i,h,i.path,[d,"value"]))}));if(i.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const h of l){const d=await h.key,p=await h.value;if(d.status==="aborted"||p.status==="aborted")return Pe;(d.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(d.value,p.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const h of l){const d=h.key,p=h.value;if(d.status==="aborted"||p.status==="aborted")return Pe;(d.status==="dirty"||p.status==="dirty")&&n.dirty(),c.set(d.value,p.value)}return{status:n.value,value:c}}}}uS.create=(e,t,n)=>new uS({valueType:t,keyType:e,typeName:Ue.ZodMap,...We(n)});class zl extends st{_parse(t){const{status:n,ctx:i}=this._processInputParams(t);
vendor: 6,899 bytes, line 127
127if(i.parsedType!==Te.set)return be(i,{code:me.invalid_type,expected:Te.set,received:i.parsedType}),Pe;const a=this._def;a.minSize!==null&&i.data.size<a.minSize.value&&(be(i,{code:me.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&i.data.size>a.maxSize.value&&(be(i,{code:me.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const o=this._def.valueType;function l(h){const d=new Set;for(const p of h){if(p.status==="aborted")return Pe;p.status==="dirty"&&n.dirty(),d.add(p.value)}return{status:n.value,value:d}}const c=[...i.data.values()].map((h,d)=>o._parse(new Ms(i,h,i.path,d)));return i.common.async?Promise.all(c).then(h=>l(h)):l(c)}min(t,n){return new zl({...this._def,minSize:{value:t,message:Oe.toString(n)}})}max(t,n){return new zl({...this._def,maxSize:{value:t,message:Oe.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}zl.create=(e,t)=>new zl({valueType:e,minSize:null,maxSize:null,typeName:Ue.ZodSet,...We(t)});class lS extends st{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}lS.create=(e,t)=>new lS({getter:e,typeName:Ue.ZodLazy,...We(t)});class cS extends st{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return be(n,{received:n.data,code:me.invalid_literal,expected:this._def.value}),Pe}return{status:"valid",value:t.data}}get value(){return this._def.value}}cS.create=(e,t)=>new cS({value:e,typeName:Ue.ZodLiteral,...We(t)});function UE(e,t){return new tu({values:e,typeName:Ue.ZodEnum,...We(t)})}class tu extends st{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),i=this._def.values;return be(n,{expected:ut.joinValues(i),received:n.parsedType,code:me.invalid_type}),Pe}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),i=this._def.values;return be(n,{received:n.data,code:me.invalid_enum_value,options:i}),Pe}return dr(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return tu.create(t,{...this._def,...n})}exclude(t,n=this._def){return tu.create(this.options.filter(i=>!t.includes(i)),{...this._def,...n})}}tu.create=UE;class dS extends st{_parse(t){const n=ut.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(t);if(i.parsedType!==Te.string&&i.parsedType!==Te.number){const a=ut.objectValues(n);return be(i,{expected:ut.joinValues(a),received:i.parsedType,code:me.invalid_type}),Pe}if(this._cache||(this._cache=new Set(ut.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=ut.objectValues(n);return be(i,{received:i.data,code:me.invalid_enum_value,options:a}),Pe}return dr(t.data)}get enum(){return this._def.values}}dS.create=(e,t)=>new dS({values:e,typeName:Ue.ZodNativeEnum,...We(t)});class Mf extends st{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Te.promise&&n.common.async===!1)return be(n,{code:me.invalid_type,expected:Te.promise,received:n.parsedType}),Pe;const i=n.parsedType===Te.promise?n.data:Promise.resolve(n.data);return dr(i.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Mf.create=(e,t)=>new Mf({type:e,typeName:Ue.ZodPromise,...We(t)});class nu extends st{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ue.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:i}=this._processInputParams(t),a=this._def.effect||null,o={addIssue:l=>{be(i,l),l.fatal?n.abort():n.dirty()},get path(){return i.path}};if(o.addIssue=o.addIssue.bind(o),a.type==="preprocess"){const l=a.transform(i.data,o);if(i.common.async)return Promise.resolve(l).then(async c=>{if(n.value==="aborted")return Pe;const h=await this._def.schema._parseAsync({data:c,path:i.path,parent:i});return h.status==="aborted"?Pe:h.status==="dirty"||n.value==="dirty"?wl(h.value):h});{if(n.value==="aborted")return Pe;const c=this._def.schema._parseSync({data:l,path:i.path,parent:i});return c.status==="aborted"?Pe:c.status==="dirty"||n.value==="dirty"?wl(c.value):c}}if(a.type==="refinement"){const l=c=>{const h=a.refinement(c,o);if(i.common.async)return Promise.resolve(h);if(h instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(i.common.async===!1){const c=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return c.status==="aborted"?Pe:(c.status==="dirty"&&n.dirty(),l(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(c=>c.status==="aborted"?Pe:(c.status==="dirty"&&n.dirty(),l(c.value).then(()=>({status:n.value,value:c.value}))))}if(a.type==="transform")if(i.common.async===!1){const l=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!Xo(l))return Pe;const c=a.transform(l.value,o);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(l=>Xo(l)?Promise.resolve(a.transform(l.value,o)).then(c=>({status:n.value,value:c})):Pe);ut.assertNever(a)}}nu.create=(e,t,n)=>new nu({schema:e,typeName:Ue.ZodEffects,effect:t,...We(n)});nu.createWithPreprocess=(e,t,n)=>new nu({schema:t,effect:{type:"preprocess",transform:e},typeName:Ue.ZodEffects,...We(n)});class Ns extends st{_parse(t){return this._getType(t)===Te.undefined?dr(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ns.create=(e,t)=>new Ns({innerType:e,typeName:Ue.ZodOptional,...We(t)});class ru extends st{_parse(t){return this._getType(t)===Te.null?dr(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ru.create=(e,t)=>new ru({innerType:e,typeName:Ue.ZodNullable,...We(t)});class gg extends st{_parse(t){const{ctx:n}=this._processInputParams(t);let i=n.data;return n.parsedType===Te.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}gg.create=(e,t)=>new gg({innerType:e,typeName:Ue.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...We(t)});class Ag extends st{_parse(t){const{ctx:n}=this._processInputParams(t),i={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return kf(a)?a.then(o=>
127({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Mi(i.common.issues)},input:i.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Mi(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}}Ag.create=(e,t)=>new Ag({innerType:e,typeName:Ue.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...We(t)});class fS extends st{_parse(t){if(this._getType(t)!==Te.nan){const i=this._getOrReturnCtx(t);return be(i,{code:me.invalid_type,expected:Te.nan,received:i.parsedType}),Pe}return{status:"valid",value:t.data}}}fS.create=e=>new fS({typeName:Ue.ZodNaN,...We(e)});class Nj extends st{_parse(t){const{ctx:n}=this._processInputParams(t),i=n.data;return this._def.type._parse({data:i,path:n.path,parent:n})}unwrap(){return this._def.type}}class eA extends st{_parse(t){const{status:n,ctx:i}=this._processInputParams(t);if(i.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return o.status==="aborted"?Pe:o.status==="dirty"?(n.dirty(),wl(o.value)):this._def.out._parseAsync({data:o.value,path:i.path,parent:i})})();{const a=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return a.status==="aborted"?Pe:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:i.path,parent:i})}}static create(t,n){return new eA({in:t,out:n,typeName:Ue.ZodPipeline})}}class yg extends st{_parse(t){const n=this._def.innerType._parse(t),i=a=>(Xo(a)&&(a.value=Object.freeze(a.value)),a);return kf(n)?n.then(a=>i(a)):i(n)}unwrap(){return this._def.innerType}}yg.create=(e,t)=>new yg({innerType:e,typeName:Ue.ZodReadonly,...We(t)});var Ue;(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"})(Ue||(Ue={}));const bg=ki.create;ka.create;Ia.create;If.create;eu.create;Bs.create;Jr.create;const FE=qt.create;Nf.create;Df.create;Na.create;const Dj=tu.create;Mf.create;Ns.create;ru.create;const Mj={string:(e=>ki.create({...e,coerce:!0})),number:(e=>ka.create({...e,coerce:!0})),boolean:(e=>If.create({...e,coerce:!0})),bigint:(e=>Ia.create({...e,coerce:!0})),date:(e=>eu.create({...e,coerce:!0}))},Bj=Un({method:"GET"}).handler(cr("9a9464e9971b3f521cc5be744eff46f18072c707b74530ebf4022c7433a08f08")),jj=Un({method:"GET"}).handler(cr("68c564c46d8eb8a15aa16ec6493c513cff20414191a8717f66f0f35d300f6d17")),Lj=()=>At(()=>import("./blogs-BxQMbWye.js"),__vite__mapDeps([10,11])),Pj=FE({page:Mj.number().int().min(1).optional().catch(1),tag:bg().optional().catch(void 0),q:bg().optional().catch(void 0),sort:Dj(["newest","oldest"]).optional().catch("newest")}),Uj=vt("/blogs")({validateSearch:Pj,loaderDeps:({search:e})=>({page:e.page??1,tag:e.tag,q:e.q,sort:e.sort}),loader:async({deps:e})=>{try{return await Bj({data:e})}catch{return{posts:[],totalPages:1,page:e.page,tags:[],total:0}}},head:()=>({meta:[{title:"Gel Blaster News, Guides, and Tactical Tips — GelToyNation"},{name:"description",content:"Gel blaster guides, reviews, tips and news from the GelToyNation crew."},{property:"og:title",content:"Gel Blaster News, Guides, and Tactical Tips — GelToyNation"},{property:"og:description",content:"Gel blaster guides, reviews, tips and news from the GelToyNation crew."},{property:"og:url",content:`${Bd}/blogs`},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:`${Bd}/blogs`}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:Bd},{"@type":"ListItem",position:2,name:"Blog",item:`${Bd}/blogs`}]})}]}),component:gt(Lj,"component")}),V7=!1,W7=!1,Fj=["bundle"];function Hj(e){const t=[e.title,e.handle,e.productType,...e.tags??[]].filter(
127Boolean).join(" ").toLowerCase();return Fj.some(n=>t.includes(n))}function zj(e){return e.filter(t=>!Hj(t.node))}const Gj=()=>At(()=>import("./bundles-BqtISCvC.js"),__vite__mapDeps([12,2])),qj=vt("/bundles")({beforeLoad:()=>{throw Ma({to:"/shop",search:{collection:"shop-all-gel-blasters"}})},head:()=>({meta:[{title:"Battle-Ready Bundles — GelToyNation"},{name:"description",content:"Save up to 25% on battle-ready gel blaster bundles. Everything you need to dominate, packed in one drop."},{property:"og:title",content:"Battle-Ready Bundles — GelToyNation"},{property:"og:description",content:"Save up to 25% on battle-ready gel blaster bundles. Everything you need to dominate, packed in one drop."}]}),component:gt(Gj,"component")}),Qj=()=>At(()=>import("./contact-Cjlq0QPK.js"),__vite__mapDeps([13,8,14])),Kj=vt("/contact")({head:()=>({meta:[{title:"Contact — GelToyNation"},{name:"description",content:"Get in touch with GelToyNation support for orders, warranty, and gear questions."},{property:"og:title",content:"Contact GelToyNation"},{property:"og:description",content:"Reach our support team — fast, human, and helpful."},{property:"og:url",content:"https://geltoynation.com/contact"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://geltoynation.com/contact"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"LocalBusiness",name:"GelToyNation",url:"https://geltoynation.com",email:"[email protected]",address:{"@type":"PostalAddress",addressLocality:"Milwaukee",addressRegion:"WI",addressCountry:"US"},contactPoint:{"@type":"ContactPoint",contactType:"customer support",email:"[email protected]",availableLanguage:["English"]}})}]}),component:gt(Qj,"component")}),Yj="/assets/product-m4a1-CgwZdD4-.webp",Vj="/assets/product-m416-CV9rYWeV.webp",Wj="/assets/product-m4drum-qJPAeOK3.jpg",J7=[{id:"starter",name:"Starter Loadout",tag:"Best for Beginners",image:Vj,price:219,compareAt:289,includes:["1× M416 Blaster","10,000 Gel Balls","Safety Goggles","Charger Kit"]},{id:"combat",name:"Combat Operator Kit",tag:"Most Popular",image:Yj,price:379,compareAt:489,includes:["1× M4A1 Blaster","30,000 Gel Balls","Tactical Vest","Extra Mag","Goggles"]},{id:"pro",name:"Pro Squad Bundle",tag:"Team Ready",image:Wj,price:689,compareAt:899,includes:["2× Pro Blasters","100k Gel Balls","2× Vests","4× Mags","Carry Cases"]}],Jj=[{q:"Are gel blasters legal in the US?",a:"Yes — gel blasters are legal in most US states for adult use. Always check your local laws before purchasing."},{q:"How fast do you ship?",a:"Most orders ship within 24 hours from our US warehouse. Standard delivery is 3–5 business days."},{q:"Do your blasters come with gel balls?",a:"Every blaster ships with a starter pack of gel balls. Bundles include 10k–100k balls depending on tier."},{q:"What's your return policy?",a:"30-day hassle-free returns on all unused products. Defective items are replaced free of charge."},{q:"I ordered multiple items but only received one. Where is the rest of my order?",a:"We work with multiple global partners, so it can happen that your items are shipped separately; this is to speed up delivery. Don't worry, you will get the items that you ordered."}],Zj=()=>At(()=>import("./faq-D2M8tUTM.js"),__vite__mapDeps([15,5,2])),$j=vt("/faq")({head:()=>({meta:[{title:"FAQ — GelToyNation"},{name:"description",content:"Answers to common questions about gel blasters, shipping, returns, and warranty."},{property:"og:title",content:"Frequently Asked Questions — GelToyNation"},{property:"og:description",content:"Shipping, returns, warranty, and gel blaster legality answered."},{property:"og:url",content:"https://geltoynation.com/faq"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://geltoynation.com/faq"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:Jj.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))})}]}),component:gt(Zj,"component")}),Xj=()=>At(()=>import("./returns-620LOwWj.js"),__vite__mapDeps([16,8,17,18])),eL=vt("/returns")({head:()=>({meta:[{title:"Return & Refund Policy — GelToyNation"},{name:"description",content:"GelToyNation return and refund policy — eligibility, restocking fees, exceptions, and how to start a return."},{property:"og:title",content:"Return & Refund Policy — GelToyNation"},{property:"og:description",content:"Learn about our return eligibility, restocking fees, exceptions, and how to start a return."}]}),component:gt(Xj,"component")}),tL=()=>At(()=>import("./shipping-dPbWa2WJ.js"),__vite__mapDeps([19,20,14,17])),nL=vt("/shipping")({head:()=>({meta:[{title:"Shipping Policy — GelToyNation"},{name:"description",content:"GelToyNation shipping policy — express and standard delivery times, tracking, and order processing."},{property:"og:title",content:"Shipping Policy — GelToyNation"},{property:"og:description",content:"Learn about our shipping locations, delivery times, tracking, and order processing."},{property:"og:type",content:"website"},{property:"og:url",content:"https://geltoynation.com/shipping"}],links:[{rel:"canonical",href:"https://geltoynation.com/shipping"}]}),component:gt(tL,"component")}),rL=()=>At(()=>import("./shooting-challenge-BkTbbm8E.js"),__vite__mapDeps([21,7])),iL=vt("/shooting-challenge")({component:gt(rL,"component"),head:()=>({meta:[{title:"GelToyNation Shooting Challenge — Play & Win a Discount"},{name:"description",content:"Pick your virtual blaster, hit as many targets as you can in 20 seconds, and unlock up to 25% off your next GelToyNation order."},{property:"og:title",content:"GelToyNation Shooting Challenge — Play & Win a Discount"},{property:"og:description",content:"Choose your blaster. Hit the targets. Win your discount — up to 25% off gel blasters."},{property:"og:type",content:"website"},{property:"og:url",content:"https://geltoynation.com/shooting-challenge"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:"https://geltoynation.com/shooting-challenge"}]})}),sL=()=>At(()=>import("./shop-DwJhdHyI.js"),__vite__mapDeps([22,3])),aL=FE({collection:bg().optional()}),oL=vt("/shop")({validateSearch:aL,head:()=>({meta:[{title:"Shop All Gel Blasters — GelToyNation"},{name:"description",content:"Browse the full GelToyNation catalog of premium gel blasters, rifles, SMGs, and tactical gear."},{property:"og:title",content:"Shop All Gel Blasters — GelToyNation"},{property:"og:description",content:"Browse the full GelToyNation catalog of premium gel blasters and gear."},{property:"og:type",content:"website"},{property:"og:url",content:"https://geltoynation.com/shop"}],links:[{rel:"canonical",href:"https://geltoynation.com/shop"}]}
127),component:gt(sL,"component")}),uL=()=>At(()=>import("./signin-FqtgXHqa.js"),__vite__mapDeps([23,8])),lL=vt("/signin")({head:()=>({meta:[{title:"Sign in — GelToyNation"},{name:"description",content:"Sign in to your GelToyNation account to track orders, save favorites, and check out faster."},{name:"robots",content:"noindex, nofollow"}]}),component:gt(uL,"component")}),cL=()=>At(()=>import("./terms-DD5poz28.js"),__vite__mapDeps([24,18,17,8])),dL=vt("/terms")({head:()=>({meta:[{title:"Terms of Service — GelToyNation"},{name:"description",content:"GelToyNation Terms of Service — the rules and conditions for using our website and purchasing our products."},{property:"og:title",content:"Terms of Service — GelToyNation"},{property:"og:description",content:"Read the terms and conditions for using GelToyNation."},{property:"og:type",content:"website"},{property:"og:url",content:"https://geltoynation.com/terms"}],links:[{rel:"canonical",href:"https://geltoynation.com/terms"}]}),component:gt(cL,"component")}),fL=()=>At(()=>import("./track-C-32EG9E.js"),[]),hL=vt("/track")({head:()=>({meta:[{title:"Track Your Order — GelToyNation"},{name:"description",content:"Track your GelToyNation order in real time. Enter your tracking number to see live shipping status, carrier updates, and delivery progress."},{property:"og:title",content:"Track Your Order — GelToyNation"},{property:"og:description",content:"Real-time tracking for every GelToyNation shipment, powered by 17TRACK."}]}),component:gt(fL,"component")}),pL=()=>At(()=>import("./account-uCTa78NO.js"),[]),mL=()=>At(()=>import("./account-rb_BJp2s.js"),__vite__mapDeps([25,8,26])),gL=vt("/_authenticated/account")({head:()=>({meta:[{title:"My Orders — GelToyNation"},{name:"robots",content:"noindex, nofollow"}]}),component:gt(mL,"component"),errorComponent:gt(pL,"errorComponent")}),AL=()=>At(()=>import("./blog.index-DtqBFgK5.js"),[]),yL=vt("/blog/")({beforeLoad:()=>{throw Ma({to:"/blogs",statusCode:301})},component:gt(AL,"component")}),jd="https://geltoynation.com",bL={"what-happens-if-you-leave-orbeez-in-water-too-long":{title:"How Long Can Orbeez Stay In Water? (4-Hour Rule)",description:"Orbeez soak in about 4 hours. Past 24-36 hours they over-swell, turn mushy and burst. Here's the ideal soak time, storage tips and how to fix soggy beads.",cta:{heading:"Need fresh gel balls?",text:"Stop wasting soaks on old beads — grab hardened, competition-grade ammo and storage gear built for gel blasters.",links:[{label:"Shop Gel Beads",collection:"gel-beads"},{label:"Gel Bead Ammo",collection:"gel-bead-ammo"},{label:"Beads & Accessories",collection:"gel-beads-accessories"}]}},"how-do-gel-balls-work-and-do-they-dissolve-after-use":{title:"Do Gel Balls Dissolve? How Gel Blaster Ammo Works",description:"Yes — gel balls burst on impact and evaporate back into water in 1-3 days, leaving no mess. How they soak, how far they shoot and how to clean up fast.",cta:{heading:"Restock your gel balls",text:"Competition-grade hardened gel beads that soak fast, hit hard and dissolve clean.",links:[{label:"Shop Gel Beads",collection:"gel-beads"},{label:"Gel Bead Ammo",collection:"gel-bead-ammo"},{label:"Beads & Accessories",collection:"gel-beads-accessories"}]}}};function vL(e){return bL[e]}const wL=()=>At(()=>import("./blog._handle-B6_Hz5Pc.js"),__vite__mapDeps([27,11,20])),SL=vt("/blog/$handle")({loader:async({params:e})=>{try{const t=await jj({data:{handle:e.handle}});return{article:t.article,related:t.related}}catch{return{article:null,related:[]}}},head:({params:e,loaderData:t})=>{const n=t?.article,i=vL(e.handle),a=`${jd}/blog/${e.handle}`,o=i?.title??(n?n.metaTitle||`${n.title} — GelToyNation Blog`:"Article — GelToyNation Blog"),l=i?.description||n?.metaDescription||n?.excerpt?.slice(0,160)||"Read the latest gel blaster news, guides, and reviews from GelToyNation.",c=[{title:o},{name:"description",content:l},{property:"og:title",content:n?.title??o},{property:"og:description",content:l},{property:"og:url",content:a},{property:"og:type",content:"article"},{name:"twitter:card",content:n?.imageUrl?"summary_large_image":"summary"},{name:"twitter:title",content:n?.title??o},{name:"twitter:description",content:l}];return n?.imageUrl&&(c.push({property:"og:image",content:n.imageUrl}),c.push({name:"twitter:image",content:n.imageUrl})),{meta:c,links:[{rel:"canonical",href:a}],scripts:n?[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting",headline:n.title,image:n.imageUrl?[n.imageUrl]:void 0,datePublished:n.publishedAtIso,dateModified:n.publishedAtIso,keywords:n.tags?.join(", ")||void 0,author:n.author?{"@type":"Person",name:n.author}:{"@type":"Organization",name:"GelToyNation"},publisher:{"@type":"Organization",name:"GelToyNation",url:jd},mainEntityOfPage:{"@type":"WebPage","@id":a},description:n.excerpt,url:a})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:jd},{"@type":"ListItem",position:2,name:"Blog",item:`${jd}/blogs`},{"@type":"ListItem",position:3,name:n.title,item:a}]})}]:[]}},component:gt(wL,"component")}),_L=()=>At(()=>import("./blog.surge-xl-vs-fjs-mk8-CJbLxy-a.js"),__vite__mapDeps([28,20])),Sl="https://geltoynation.com",cl=`${Sl}
127/blog/surge-xl-vs-fjs-mk8`,Ld="Gel Blaster Surge XL vs FJS MK8: 2026 Comparison Guide",Pd="Head-to-head comparison of the Gel Blaster Surge XL and the FJS MK8. FPS, range, build quality, magazine, battery, and price — which adult gel blaster wins in 2026?",xL=vt("/blog/surge-xl-vs-fjs-mk8")({head:()=>({meta:[{title:Ld},{name:"description",content:Pd},{property:"og:title",content:Ld},{property:"og:description",content:Pd},{property:"og:url",content:cl},{property:"og:type",content:"article"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:Ld},{name:"twitter:description",content:Pd}],links:[{rel:"canonical",href:cl}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting",headline:Ld,description:Pd,datePublished:"2026-06-27",dateModified:"2026-06-27",author:{"@type":"Organization",name:"GelToyNation"},publisher:{"@type":"Organization",name:"GelToyNation",url:Sl,logo:{"@type":"ImageObject",url:`${Sl}/favicon.ico`}},mainEntityOfPage:{"@type":"WebPage","@id":cl},url:cl,keywords:"Gel Blaster Surge XL, FJS MK8, gel blaster comparison, best adult gel blaster, Surge XL review, MK8 review"})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:Sl},{"@type":"ListItem",position:2,name:"Blog",item:`${Sl}/blogs`},{"@type":"ListItem",position:3,name:"Surge XL vs FJS MK8",item:cl}]})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Is the Gel Blaster Surge XL more powerful than the FJS MK8?",acceptedAnswer:{"@type":"Answer",text:"The Surge XL ships locked at around 200–230 FPS out of the box, while the FJS MK8 typically runs 240–260 FPS stock — making the MK8 noticeably harder hitting at range without any upgrades."}},{"@type":"Question",name:"Which is better for beginners, Surge XL or MK8?",acceptedAnswer:{"@type":"Answer",text:"The Surge XL is friendlier for first-time owners thanks to a simpler magazine and lighter trigger. The MK8 has a steeper learning curve but rewards intermediate and advanced users with more range and a more rifle-like feel."}},{"@type":"Question",name:"Does the FJS MK8 use standard 7–8mm gel balls?",acceptedAnswer:{"@type":"Answer",text:"Yes. Both blasters use standard 7–8mm hydrated gel balls. We recommend hardened competition-grade ammo for the MK8 to get the most out of its tighter inner barrel."}}]})}]}),component:gt(_L,"component")}),HE="/assets/logo-XIrIgA8n.png";function Ds(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function hS(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function tA(...e){return t=>{let n=!1;const i=e.map(a=>{const o=hS(a,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let a=0;a<i.length;a++){const o=i[a];typeof o=="function"?o():hS(e[a],null)}}}}function Pa(...e){return P.useCallback(tA(...e),e)}function EL(e,t){const n=P.createContext(t),i=o=>{const{children:l,...c}=o,h=P.useMemo(()=>c,Object.values(c));return O.jsx(n.Provider,{value:h,children:l})};i.displayName=e+"Provider";function a(o){const l=P.useContext(n);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[i,a]}function CL(e,t=[]){let n=[];function i(o,l){const c=P.createContext(l),h=n.length;n=[...n,l];const d=m=>{const{scope:g,children:y,...v}=m,x=g?.[e]?.[h]||c,S=P.useMemo(()=>v,Object.values(v));return O.jsx(x.Provider,{value:S,children:y})};d.displayName=o+"Provider";function p(m,g){const y=g?.[e]?.[h]||c,v=P.useContext(y);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${o}\``)}return[d,p]}const a=()=>{const o=n.map(l=>P.createContext(l));return function(c){const h=c?.[e]||o;return P.useMemo(()=>({[`__scope${e}`]:{...c,[e]:h}}),[c,h])}};return a.scopeName=e,[i,TL(a,...t)]}function TL(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const i=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const l=i.reduce((c,{useScope:h,scopeName:d})=>{const m=h(o)[`__scope${d}`];return{...c,...m}},{});return P.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}var Gl=globalThis?.document?P.useLayoutEffect:()=>{},RL=d2[" useId ".trim().toString()]||(()=>{}),OL=0;function Up(e){const[t,n]=P.useState(RL());
vendor: 3,200 bytes, line 127
127return Gl(()=>{n(i=>i??String(OL++))},[e]),e||(t?`radix-${t}`:"")}var kL=d2[" useInsertionEffect ".trim().toString()]||Gl;function IL({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){const[a,o,l]=NL({defaultProp:t,onChange:n}),c=e!==void 0,h=c?e:a;{const p=P.useRef(e!==void 0);P.useEffect(()=>{const m=p.current;m!==c&&console.warn(`${i} is changing from ${m?"controlled":"uncontrolled"} to ${c?"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.`),p.current=c},[c,i])}const d=P.useCallback(p=>{if(c){const m=DL(p)?p(e):p;m!==e&&l.current?.(m)}else o(p)},[c,e,o,l]);return[h,d]}function NL({defaultProp:e,onChange:t}){const[n,i]=P.useState(e),a=P.useRef(n),o=P.useRef(t);return kL(()=>{o.current=t},[t]),P.useEffect(()=>{a.current!==n&&(o.current?.(n),a.current=n)},[n,a]),[n,i,o]}function DL(e){return typeof e=="function"}function ML(e){const t=BL(e),n=P.forwardRef((i,a)=>{const{children:o,...l}=i,c=P.Children.toArray(o),h=c.find(LL);if(h){const d=h.props.children,p=c.map(m=>m===h?P.Children.count(d)>1?P.Children.only(null):P.isValidElement(d)?d.props.children:null:m);return O.jsx(t,{...l,ref:a,children:P.isValidElement(d)?P.cloneElement(d,void 0,p):null})}return O.jsx(t,{...l,ref:a,children:o})});return n.displayName=`${e}.Slot`,n}function BL(e){const t=P.forwardRef((n,i)=>{const{children:a,...o}=n;if(P.isValidElement(a)){const l=UL(a),c=PL(o,a.props);return a.type!==P.Fragment&&(c.ref=i?tA(i,l):l),P.cloneElement(a,c)}return P.Children.count(a)>1?P.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var jL=Symbol("radix.slottable");function LL(e){return P.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===jL}function PL(e,t){const n={...t};for(const i in t){const a=e[i],o=t[i];/^on[A-Z]/.test(i)?a&&o?n[i]=(...c)=>{const h=o(...c);return a(...c),h}:a&&(n[i]=a):i==="style"?n[i]={...a,...o}:i==="className"&&(n[i]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}function UL(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var FL=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ji=FL.reduce((e,t)=>{const n=ML(`Primitive.${t}`),i=P.forwardRef((a,o)=>{const{asChild:l,...c}=a,h=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(h,{...c,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function HL(e,t){e&&Pg.flushSync(()=>e.dispatchEvent(t))}function ql(e){const t=P.useRef(e);return P.useEffect(()=>{t.current=e}),P.useMemo(()=>(...n)=>t.current?.(...n),[])}function zL(e,t=globalThis?.document){const n=ql(e);P.useEffect(()=>{const i=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",i,{capture:!0}),()=>t.removeEventListener("keydown",i,{capture:!0})},[n,t])}var GL="DismissableLayer",vg="dismissableLayer.update",qL="dismissableLayer.pointerDownOutside",QL="dism
127issableLayer.focusOutside",pS,zE=P.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),GE=P.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:l,onDismiss:c,...h}=e,d=P.useContext(zE),[p,m]=P.useState(null),g=p?.ownerDocument??globalThis?.document,[,y]=P.useState({}),v=Pa(t,I=>m(I)),x=Array.from(d.layers),[S]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),w=x.indexOf(S),_=p?x.indexOf(p):-1,T=d.layersWithOutsidePointerEventsDisabled.size>0,E=_>=w,C=VL(I=>{const M=I.target,j=[...d.branches].some(U=>U.contains(M));!E||j||(a?.(I),l?.(I),I.defaultPrevented||c?.())},g),k=WL(I=>{const M=I.target;[...d.branches].some(U=>U.contains(M))||(o?.(I),l?.(I),I.defaultPrevented||c?.())},g);return zL(I=>{_===d.layers.size-1&&(i?.(I),!I.defaultPrevented&&c&&(I.preventDefault(),c()))},g),P.useEffect(()=>{if(p)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(pS=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),mS(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=pS)}},[p,g,n,d]),P.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),mS())},[p,d]),P.useEffect(()=>{const I=()=>y({});return document.addEventListener(vg,I),()=>document.removeEventListener(vg,I)},[]),O.jsx(ji.div,{...h,ref:v,style:{pointerEvents:T?E?"auto":"none":void 0,...e.style},onFocusCapture:Ds(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Ds(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Ds(e.onPointerDownCapture,C.onPointerDownCapture)})});GE.displayName=GL;var KL="DismissableLayerBranch",YL=P.forwardRef((e,t)=>{const n=P.useContext(zE),i=P.useRef(null),a=Pa(t,i);return P.useEffect(()=>{const o=i.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),O.jsx(ji.div,{...e,ref:a})});YL.displayName=KL;function VL(e,t=globalThis?.document){const n=ql(e),i=P.useRef(!1),a=P.useRef(()=>{});return P.useEffect(()=>{const o=c=>{if(c.target&&!i.current){let h=function(){qE(qL,n,d,{discrete:!0})};const d={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=h,t.addEventListener("click",a.current,{once:!0})):h()}else t.removeEventListener("click",a.current);i.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}function WL(e,t=globalThis?.document){const n=ql(e),i=P.useRef(!1);return P.useEffect(()=>{const a=o=>{o.target&&!i.current&&qE(QL,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function mS(){const e=new CustomEvent(vg);document.dispatchEvent(e)}function qE(e,t,n,{discrete:i}){const a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),i?HL(a,o):a.dispatchEvent(o)}var Fp="focusScope.autoFocusOnMount",Hp="focusScope.autoFocusOnUnmount",gS={bubbles:!1,cancelable:!0},JL="FocusScope",QE=P.forwardRef((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...l}=e,[c,h]=P.useState(null),d=ql(a),p=ql(o),m=P.useRef(null),g=Pa(t,x=>h(x)),y=P.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;P.useEffect(()=>{if(i){let x=function(T){if(y.paused||!c)return;const E=T.target;c.contains(E)?m.current=E:vs(m.current,{select:!0})},S=function(T){if(y.paused||!c)return;const E=T.relatedTarget;E!==null&&(c.contains(E)||vs(m.current,{select:!0}))},w=function(T){if(document.activeElement===document.body)for(const C of T)C.removedNodes.length>0&&vs(c)};document.addEventListener("focusin",x),document.addEventListener("focusout",S);const _=new MutationObserver(w);return c&&_.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",S),_.disconnect()}}},[i,c,y.paused]),P.useEffect(()=>{if(c){yS.add(y);const x=document.activeElement;if(!c.contains(x)){const w=new CustomEvent(Fp,gS);c.addEventListener(Fp,d),c.dispatchEvent(w),w.defaultPrevented||(ZL(nP(KE(c)),{select:!0}),document.activeElement===x&&vs(c))}return()=>{c.removeEventListener(Fp,d),setTimeout(()=>{const w=new CustomEvent(Hp,gS);c.addEventListener(Hp,p),c.dispatchEvent(w),w.defaultPrevented||vs(x??document.body,{select:!0}),c.removeEventListener(Hp,p),yS.remove(y)},0)}}},[c,d,p,y]);const v=P.useCallback(x=>{if(!n&&!i||y.paused)return;const S=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,w=document.activeElement;if(S&&w){const _=x.currentTarget,[T,E]=$L(_);
vendor: 4,192 bytes, line 127
127T&&E?!x.shiftKey&&w===E?(x.preventDefault(),n&&vs(T,{select:!0})):x.shiftKey&&w===T&&(x.preventDefault(),n&&vs(E,{select:!0})):w===_&&x.preventDefault()}},[n,i,y.paused]);return O.jsx(ji.div,{tabIndex:-1,...l,ref:g,onKeyDown:v})});QE.displayName=JL;function ZL(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(vs(i,{select:t}),document.activeElement!==n)return}function $L(e){const t=KE(e),n=AS(t,e),i=AS(t.reverse(),e);return[n,i]}function KE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const a=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||a?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function AS(e,t){for(const n of e)if(!XL(n,{upTo:t}))return n}function XL(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 eP(e){return e instanceof HTMLInputElement&&"select"in e}function vs(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&eP(e)&&t&&e.select()}}var yS=tP();function tP(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=bS(e,t),e.unshift(t)},remove(t){e=bS(e,t),e[0]?.resume()}}}function bS(e,t){const n=[...e],i=n.indexOf(t);return i!==-1&&n.splice(i,1),n}function nP(e){return e.filter(t=>t.tagName!=="A")}var rP="Portal",YE=P.forwardRef((e,t)=>{const{container:n,...i}=e,[a,o]=P.useState(!1);Gl(()=>o(!0),[]);const l=n||a&&globalThis?.document?.body;return l?Fk.createPortal(O.jsx(ji.div,{...i,ref:t}),l):null});YE.displayName=rP;function iP(e,t){return P.useReducer((n,i)=>t[n][i]??n,e)}var Vf=e=>{const{present:t,children:n}=e,i=sP(t),a=typeof n=="function"?n({present:i.isPresent}):P.Children.only(n),o=Pa(i.ref,aP(a));return typeof n=="function"||i.isPresent?P.cloneElement(a,{ref:o}):null};Vf.displayName="Presence";function sP(e){const[t,n]=P.useState(),i=P.useRef(null),a=P.useRef(e),o=P.useRef("none"),l=e?"mounted":"unmounted",[c,h]=iP(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return P.useEffect(()=>{const d=Ud(i.current);o.current=c==="mounted"?d:"none"},[c]),Gl(()=>{const d=i.current,p=a.current;if(p!==e){const g=o.current,y=Ud(d);e?h("MOUNT"):y==="none"||d?.display==="none"?h("UNMOUNT"):h(p&&g!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,h]),Gl(()=>{if(t){let d;const p=t.ownerDocument.defaultView??window,m=y=>{const x=Ud(i.current).includes(CSS.escape(y.animationName));if(y.target===t&&x&&(h("ANIMATION_END"),!a.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",d=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},g=y=>{y.target===t&&(o.current=Ud(i.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{p.clearTimeout(d),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:P.useCallback(d=>{i.current=d?getComputedStyle(d):null,n(d)},[])}}function Ud(e){return e?.animationName||"none"}function aP(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var zp=0;function oP(){P.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??vS()),document.body.insertAdjacentElement("beforeend",e[1]??vS()),zp++,()=>{zp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),zp--}},[])}function vS(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,904 bytes, lines 127-142
127style.position="fixed",e.style.pointerEvents="none",e}var uf="right-scroll-bar-position",lf="width-before-scroll-bar",uP="with-scroll-bars-hidden",lP="--removed-body-scroll-bar-size";function Gp(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function cP(e,t){var n=P.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(i){var a=n.value;a!==i&&(n.value=i,n.callback(i,a))}}}})[0];return n.callback=t,n.facade}var dP=typeof window<"u"?P.useLayoutEffect:P.useEffect,wS=new WeakMap;function fP(e,t){var n=cP(null,function(i){return e.forEach(function(a){return Gp(a,i)})});return dP(function(){var i=wS.get(n);if(i){var a=new Set(i),o=new Set(e),l=n.current;a.forEach(function(c){o.has(c)||Gp(c,null)}),o.forEach(function(c){a.has(c)||Gp(c,l)})}wS.set(n,e)},[e]),n}function hP(e){return e}function pP(e,t){t===void 0&&(t=hP);var n=[],i=!1,a={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var l=t(o,i);return n.push(l),function(){n=n.filter(function(c){return c!==l})}},assignSyncMedium:function(o){for(i=!0;n.length;){var l=n;n=[],l.forEach(o)}n={push:function(c){return o(c)},filter:function(){return n}}},assignMedium:function(o){i=!0;var l=[];if(n.length){var c=n;n=[],c.forEach(o),l=n}var h=function(){var p=l;l=[],p.forEach(o)},d=function(){return Promise.resolve().then(h)};d(),n={push:function(p){l.push(p),d()},filter:function(p){return l=l.filter(p),n}}}};return a}function mP(e){e===void 0&&(e={});var t=pP(null);return t.options=Yr({async:!0,ssr:!1},e),t}var VE=function(e){var t=e.sideCar,n=iu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return P.createElement(i,Yr({},n))};VE.isSideCarExport=!0;function gP(e,t){return e.useMedium(t),VE}var WE=mP(),qp=function(){},Wf=P.forwardRef(function(e,t){var n=P.useRef(null),i=P.useState({onScrollCapture:qp,onWheelCapture:qp,onTouchMoveCapture:qp}),a=i[0],o=i[1],l=e.forwardProps,c=e.children,h=e.className,d=e.removeScrollBar,p=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,v=e.noIsolation,x=e.inert,S=e.allowPinchZoom,w=e.as,_=w===void 0?"div":w,T=e.gapMode,E=iu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=g,k=fP([n,t]),I=Yr(Yr({},E),a);return P.createElement(P.Fragment,null,p&&P.createElement(C,{sideCar:WE,removeScrollBar:d,shards:m,noRelative:y,noIsolation:v,inert:x,setCallbacks:o,allowPinchZoom:!!S,lockRef:n,gapMode:T}),l?P.cloneElement(P.Children.only(c),Yr(Yr({},I),{ref:k})):P.createElement(_,Yr({},I,{className:h,ref:k}),c))});Wf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Wf.classNames={fullWidth:lf,zeroRight:uf};var AP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function yP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=AP();return t&&e.setAttribute("nonce",t),e}function bP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function vP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var wP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=yP())&&(bP(t,n),vP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},SP=function(){var e=wP();return function(t,n){P.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},JE=function(){var e=SP(),t=function(n){var i=n.styles,a=n.dynamic;return e(i,a),null};return t},_P={left:0,top:0,right:0,gap:0},Qp=function(e){return parseInt(e||"",10)||0},xP=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],i=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[Qp(n),Qp(i),Qp(a)]},EP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _P;var t=xP(e),n=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-n+t[2]-t[0])}},CP=JE(),Zo="data-scroll-locked",TP=function(e,t,n,i){var a=e.left,o=e.top,l=e.right,c=e.gap;return n===void 0&&(n="margin"),`
128  .`.concat(uP,` {
129   overflow: hidden `).concat(i,`;
130   padding-right: `).concat(c,"px ").concat(i,`;
131  }
132  body[`).concat(Zo,`] {
133    overflow: hidden `).concat(i,`;
134    overscroll-behavior: contain;
135    `).concat([t&&"position: relative ".concat(i,";"),n==="margin"&&`
136    padding-left: `.concat(a,`px;
137    padding-top: `).concat(o,`px;
138    padding-right: `).concat(l,`px;
139    margin-left:0;
140    margin-top:0;
141    margin-right: `).concat(c,"px ").concat(i,`;
142    `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(i,";
142")].filter(Boolean).join(""),`
143  }
144  
145  .`).concat(uf,` {
146    right: `).concat(c,"px ").concat(i,`;
147  }
148  
149  .`).concat(lf,` {
150    margin-right: `).concat(c,"px ").concat(i,`;
151  }
152  
153  .`).concat(uf," .").concat(uf,` {
154    right: 0 `).concat(i,`;
155  }
156  
157  .`).concat(lf," .").concat(lf,` {
158    margin-right: 0 `).concat(i,`;
159  }
160  
161  body[`).concat(Zo,`] {
162    `).concat(lP,": ").concat(c,`px;
163  }
164`)},SS=function(){var e=parseInt(document.body.getAttribute(Zo)||"0",10);return isFinite(e)?e:0},RP=function(){P.useEffect(function(){return document.body.setAttribute(Zo,(SS()+1).toString()),function(){var e=SS()-1;e<=0?document.body.removeAttribute(Zo):document.body.setAttribute(Zo,e.toString())}},[])},OP=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,a=i===void 0?"margin":i;RP();var o=P.useMemo(function(){return EP(a)},[a]);return P.createElement(CP,{styles:TP(o,!t,a,n?"":"!important")})},wg=!1;if(typeof window<"u")try{var Fd=Object.defineProperty({},"passive",{get:function(){return wg=!0,!0}});window.addEventListener("test",Fd,Fd),window.removeEventListener("test",Fd,Fd)}catch{wg=!1}var Do=wg?{passive:!1}:!1,kP=function(e){return e.tagName==="TEXTAREA"},ZE=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!kP(e)&&n[t]==="visible")},IP=function(e){return ZE(e,"overflowY")},NP=function(e){return ZE(e,"overflowX")},_S=function(e,t){var n=t.ownerDocument,i=t;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var a=$E(e,i);if(a){var o=XE(e,i),l=o[1],c=o[2];if(l>c)return!0}i=i.parentNode}while(i&&i!==n.body);return!1},DP=function(e){var t=e.scrollTop,n=e.scrollHeight,i=e.clientHeight;return[t,n,i]},MP=function(e){var t=e.scrollLeft,n=e.scrollWidth,i=e.clientWidth;return[t,n,i]},$E=function(e,t){return e==="v"?IP(t):NP(t)},XE=function(e,t){return e==="v"?DP(t):MP(t)},BP=function(e,t){return e==="h"&&t==="rtl"?-1:1},jP=function(e,t,n,i,a){var o=BP(e,window.getComputedStyle(t).direction),l=o*i,c=n.target,h=t.contains(c),d=!1,p=l>0,m=0,g=0;do{if(!c)break;var y=XE(e,c),v=y[0],x=y[1],S=y[2],w=x-S-o*v;(v||w)&&$E(e,c)&&(m+=w,g+=v);var _=c.parentNode;c=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!h&&c!==document.body||h&&(t.contains(c)||t===c));return(p&&Math.abs(m)<1||!p&&Math.abs(g)<1)&&(d=!0),d},Hd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},xS=function(e){return[e.deltaX,e.deltaY]},ES=function(e){return e&&"current"in e?e.current:e},LP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},PP=function(e){return`
165  .block-interactivity-`.concat(e,` {pointer-events: none;}
166  .allow-interactivity-`).concat(e,` {pointer-events: all;}
167`)},UP=0,Mo=[];function FP(e){var t=P.useRef([]),n=P.useRef([0,0]),i=P.useRef(),a=P.useState(UP++)[0],o=P.useState(JE)[0],l=P.useRef(e);P.useEffect(function(){l.current=e},[e]),P.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var x=OI([e.lockRef.current],(e.shards||[]).map(ES),!0).filter(Boolean);return x.forEach(function(S){return S.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),x.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=P.useCallback(function(x,S){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var w=Hd(x),_=n.current,T="deltaX"in x?x.deltaX:_[0]-w[0],E="deltaY"in x?x.deltaY:_[1]-w[1],C,k=x.target,I=Math.abs(T)>Math.abs(E)?"h":"v";if("touches"in x&&I==="h"&&k.type==="range")return!1;var M=window.getSelection(),j=M&&M.anchorNode,U=j?j===k||j.contains(k):!1;if(U)return!1;var D=_S(I,k);if(!D)return!0;if(D?C=I:(C=I==="v"?"h":"v",D=_S(I,k)),!D)return!1;if(!i.current&&"changedTouches"in x&&(T||E)&&(i.current=C),!C)return!0;var H=i.current||C;return jP(H,S,x,H==="h"?T:E)},[]),h=P.useCallback(function(x){var S=x;if(!(!Mo.length||Mo[Mo.length-1]!==o)){var w="deltaY"in S?xS(S):Hd(S),_=t.current.filter(function(C){return C.name===S.type&&(C.target===S.target||S.target===C.shadowParent)&&LP
vendor: 8,311 bytes, line 167
167(C.delta,w)})[0];if(_&&_.should){S.cancelable&&S.preventDefault();return}if(!_){var T=(l.current.shards||[]).map(ES).filter(Boolean).filter(function(C){return C.contains(S.target)}),E=T.length>0?c(S,T[0]):!l.current.noIsolation;E&&S.cancelable&&S.preventDefault()}}},[]),d=P.useCallback(function(x,S,w,_){var T={name:x,delta:S,target:w,should:_,shadowParent:HP(w)};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(E){return E!==T})},1)},[]),p=P.useCallback(function(x){n.current=Hd(x),i.current=void 0},[]),m=P.useCallback(function(x){d(x.type,xS(x),x.target,c(x,e.lockRef.current))},[]),g=P.useCallback(function(x){d(x.type,Hd(x),x.target,c(x,e.lockRef.current))},[]);P.useEffect(function(){return Mo.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",h,Do),document.addEventListener("touchmove",h,Do),document.addEventListener("touchstart",p,Do),function(){Mo=Mo.filter(function(x){return x!==o}),document.removeEventListener("wheel",h,Do),document.removeEventListener("touchmove",h,Do),document.removeEventListener("touchstart",p,Do)}},[]);var y=e.removeScrollBar,v=e.inert;return P.createElement(P.Fragment,null,v?P.createElement(o,{styles:PP(a)}):null,y?P.createElement(OP,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function HP(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const zP=gP(WE,FP);var eC=P.forwardRef(function(e,t){return P.createElement(Wf,Yr({},e,{ref:t,sideCar:zP}))});eC.classNames=Wf.classNames;var GP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Bo=new WeakMap,zd=new WeakMap,Gd={},Kp=0,tC=function(e){return e&&(e.host||tC(e.parentNode))},qP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var i=tC(n);return i&&e.contains(i)?i:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},QP=function(e,t,n,i){var a=qP(t,Array.isArray(e)?e:[e]);Gd[n]||(Gd[n]=new WeakMap);var o=Gd[n],l=[],c=new Set,h=new Set(a),d=function(m){!m||c.has(m)||(c.add(m),d(m.parentNode))};a.forEach(d);var p=function(m){!m||h.has(m)||Array.prototype.forEach.call(m.children,function(g){if(c.has(g))p(g);else try{var y=g.getAttribute(i),v=y!==null&&y!=="false",x=(Bo.get(g)||0)+1,S=(o.get(g)||0)+1;Bo.set(g,x),o.set(g,S),l.push(g),x===1&&v&&zd.set(g,!0),S===1&&g.setAttribute(n,"true"),v||g.setAttribute(i,"true")}catch(w){console.error("aria-hidden: cannot operate on ",g,w)}})};return p(t),c.clear(),Kp++,function(){l.forEach(function(m){var g=Bo.get(m)-1,y=o.get(m)-1;Bo.set(m,g),o.set(m,y),g||(zd.has(m)||m.removeAttribute(i),zd.delete(m)),y||m.removeAttribute(n)}),Kp--,Kp||(Bo=new WeakMap,Bo=new WeakMap,zd=new WeakMap,Gd={})}},KP=function(e,t,n){n===void 0&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),a=GP(e);return a?(i.push.apply(i,Array.from(a.querySelectorAll("[aria-live], script"))),QP(i,a,n,"aria-hidden")):function(){return null}};function YP(e){const t=VP(e),n=P.forwardRef((i,a)=>{const{children:o,...l}=i,c=P.Children.toArray(o),h=c.find(JP);if(h){const d=h.props.children,p=c.map(m=>m===h?P.Children.count(d)>1?P.Children.only(null):P.isValidElement(d)?d.props.children:null:m);return O.jsx(t,{...l,ref:a,children:P.isValidElement(d)?P.cloneElement(d,void 0,p):null})}return O.jsx(t,{...l,ref:a,children:o})});return n.displayName=`${e}.Slot`,n}function VP(e){const t=P.forwardRef((n,i)=>{const{children:a,...o}=n;if(P.isValidElement(a)){const l=$P(a),c=ZP(o,a.props);return a.type!==P.Fragment&&(c.ref=i?tA(i,l):l),P.cloneElement(a,c)}return P.Children.count(a)>1?P.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var WP=Symbol("radix.slottable");function JP(e){return P.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WP}function ZP(e,t){const n={...t};for(const i in t){const a=e[i],o=t[i];/^on[A-Z]/.test(i)?a&&o?n[i]=(...c)=>{const h=o(...c);return a(...c),h}:a&&(n[i]=a):i==="style"?n[i]={...a,...o}:i==="className"&&(n[i]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}function $P(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Jf="Dialog",[nC]=CL(Jf),[XP,kr]=nC(Jf),rC=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:a,onOpenChange:o,modal:l=!0}=e,c=P.useRef(null),h=P.useRef(null),[d,p]=IL({prop:i,defaultProp:a??!1,onChange:o,caller:Jf});return O.jsx(XP,{scope:t,triggerRef:c,contentRef:h,contentId:Up(),titleId:Up(),descriptionId:Up(),open:d,onOpenChange:p,onOpenToggle:P.useCallback(()=>p(m=>!m),[p]),modal:l,children:n})};rC.displayName=Jf;var iC="DialogTrigger",sC=P.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,a=kr(iC,n),o=Pa(t,a.triggerRef);return O.jsx(ji.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":iA(a.open),...i,ref:o,onClick:Ds(e.onClick,a.onOpenToggle)})});sC.displayName=iC;var nA="DialogPortal",[e9,aC]=nC(nA,{forceMount:void 0}),oC=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:a}=e,o=kr(nA,t);return O.jsx(e9,{scope:t,forceMount:n,children:P.Children.map(i,l=>O.jsx(Vf,{present:n||o.open,children:O.jsx(YE,{asChild:!0,container:a,children:l})}))})};oC.displayName=nA;var Bf="DialogOverlay",uC=P.forwardRef((e,t)=>{const n=aC(Bf,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,o=kr(Bf,e.__scopeDialog);return o.modal?O.jsx(Vf,{present:i||o.open,children:O.jsx(n9,{...a,ref:t})}):null});uC.displayName=Bf;var t9=YP("DialogOverlay.RemoveScroll"),n9=P.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,a=kr(Bf,n);return O.jsx(eC,{as:t9,allowPinchZoom:!0,shards:[a.contentRef],children:O.jsx(ji.div,{"data-state":iA(a.open),...i,ref:t,style:{pointerEvents:"auto",...i.style}})})}),Da="DialogContent",lC=P.forwardRef((e,t)=>{const n=aC(Da,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,o=kr(Da,e.__scopeDialog);return O.jsx(Vf,{present:i||o.open,children:o.modal?O.jsx(r9,{...a,ref:t}):O.jsx(i9,{...a,ref:t})})});lC.displayName=Da;var r9=P.forwardRef((e,t)=>{const n=kr(Da,e.__scopeDialog),i=P.useRef(null),a=Pa(t,n.contentRef,i);return P.useEffect(()=>{const o=i.current;if(o)return KP(o)},[]),O.jsx(cC,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ds(e.onCloseAutoFocus,o=>{o.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Ds(e.onPointerDownOutside,o=>{const l=o.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&o.preventDefault()}),onFocusOutside:Ds(e.onFocusOutside,o=>o.preventDefault())})}),i9=P.forwardRef((e,t)=>{const n=kr(Da,e.__scopeDialog),i=P.useRef(!1),a=P.useRef(!1);return O.jsx(cC,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{e.onCloseAutoFocus?.(o),o.defaultPrevented||(i.current||n.triggerRef.current?.focus(),o.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:o=>{e.onInteractOutside?.(o),o.defaultPrevented||(i.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const l=o.target;n.triggerRef.current?.contains(l)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()}})}),cC=P.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,...l}=e,c=kr(Da,n),h=P.useRef(null),d=Pa(t,h);return oP(),O.jsxs(O.Fragment,{children:[O.jsx(QE,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:o,children:O.jsx(GE,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":iA(c.open),...l,ref:d,onDismiss:()=>c.onOpenChange(!1)})}),O.jsxs(O.Fragment,{children:[O.jsx(s9,{titleId:c.titleId}),O.jsx(o9,{contentRef:h,descriptionId:c.descriptionId})]})]})}),rA="DialogTitle",dC=P.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,a=kr(rA,n);return O.jsx(ji.h2,{id:a.titleId,...i,ref:t})});dC.displayName=rA;var fC="DialogDescription",hC=P.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,a=kr(fC,n);return O.jsx(ji.p,{id:a.descriptionId,...i,ref:t})});hC.displayName=fC;var pC="DialogClose",mC=P.forwardRef((e,t)=>
vendor: 1,146 bytes, lines 167-171
167{const{__scopeDialog:n,...i}=e,a=kr(pC,n);return O.jsx(ji.button,{type:"button",...i,ref:t,onClick:Ds(e.onClick,()=>a.onOpenChange(!1))})});mC.displayName=pC;function iA(e){return e?"open":"closed"}var gC="DialogTitleWarning",[Z7,AC]=EL(gC,{contentName:Da,titleName:rA,docsSlug:"dialog"}),s9=({titleId:e})=>{const t=AC(gC),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
168
169If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
170
171For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return P.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},a9="DialogDescriptionWarning",o9=({contentRef:e,descriptionId:t})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${AC(a9).contentName}}.`;return P.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},u9=rC,l9=sC,c9=oC,yC=uC,bC=lC,vC=dC,wC=hC,d9=mC;const CS=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,TS=SE,f9=(e,t)=>
171n=>{var i;if(t?.variants==null)return TS(e,n?.class,n?.className);const{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(d=>{const p=n?.[d],m=o?.[d];if(p===null)return null;const g=CS(p)||CS(m);return a[d][g]}),c=n&&Object.entries(n).reduce((d,p)=>{let[m,g]=p;return g===void 0||(d[m]=g),d},{}),h=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((d,p)=>{let{class:m,className:g,...y}=p;return Object.entries(y).every(v=>{let[x,S]=v;return Array.isArray(S)?S.includes({...o,...c}[x]):{...o,...c}[x]===S})?[...d,m,g]:d},[]);return TS(e,l,h,n?.class,n?.className)},h9=u9,p9=l9,m9=c9,SC=P.forwardRef(({className:e,...t},n)=>O.jsx(yC,{className:Wr("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));SC.displayName=yC.displayName;const g9=f9("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),_C=P.forwardRef(({side:e="right",className:t,children:n,...i},a)=>O.jsxs(m9,{children:[O.jsx(SC,{}),O.jsxs(bC,{ref:a,className:Wr(g9({side:e}),t),...i,children:[O.jsxs(d9,{className:"absolute right-4 top-4 roun
171ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[O.jsx(Jl,{className:"h-4 w-4"}),O.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));_C.displayName=bC.displayName;const xC=({className:e,...t})=>O.jsx("div",{className:Wr("flex flex-col space-y-2 text-center sm:text-left",e),...t});xC.displayName="SheetHeader";const EC=P.forwardRef(({className:e,...t},n)=>O.jsx(vC,{ref:n,className:Wr("text-lg font-semibold text-foreground",e),...t}));EC.displayName=vC.displayName;const CC=P.forwardRef(({className:e,...t},n)=>O.jsx(wC,{ref:n,className:Wr("text-sm text-muted-foreground",e),...t}));CC.displayName=wC.displayName;function A9(){const[e,t]=P.useState(!1),{items:n,isLoading:i,isSyncing:a,updateQuantity:o,removeItem:l,getCheckoutUrl:c,syncCart:h}=Rr(),d=n.reduce((y,v)=>y+v.quantity,0),p=n.reduce((y,v)=>y+parseFloat(v.price.amount)*v.quantity,0),m=n[0]?.price.currencyCode??"USD",g=c();return P.useEffect(()=>{e&&h()},[e,h]),O.jsxs(h9,{open:e,onOpenChange:t,children:[O.jsx(p9,{asChild:!0,children:O.jsxs("button",{"aria-label":"Open shopping cart",className:"relative p-2 rounded-md hover:bg-surface text-foreground/80 hover:text-brand transition",children:[O.jsx(fg,{className:"h-5 w-5"}),d>0&&O.jsx("span",{className:"absolute -top-0.5 -right-0.5 bg-brand text-brand-foreground text-[10px] font-bold rounded-full h-4 min-w-4 px-1 flex items-center justify-center",children:d})]})}),O.jsxs(_C,{className:"w-full sm:max-w-lg flex flex-col h-full bg-background border-border",children:[O.jsxs(xC,{children:[O.jsx(EC,{className:"font-display uppercase tracking-wider",children:"Your Cart"}),O.jsx(CC,{children:d===0?"Your cart is empty":`${d} item${d!==1?"s":""}`})]}),O.jsx("div",{className:"flex flex-col flex-1 pt-6 min-h-0",children:n.length===0?O.jsx("div",{className:"flex-1 flex items-center justify-center",children:O.jsxs("div",{className:"text-center",children:[O.jsx(fg,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),O.jsx("p",{className:"text-muted-foreground",children:"Your cart is empty"})]})}):O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"flex-1 overflow-y-auto pr-2 min-h-0 space-y-4",children:n.map(y=>{const v=y.product.images?.edges?.[0]?.node;return O.jsxs("div",{className:"flex gap-4 p-3 rounded-xl border border-border bg-surface",children:[O.jsx("div",{className:"w-16 h-16 bg-background rounded-md overflow-hidden flex-shrink-0",children:v&&O.jsx("img",{src:v.url,alt:v.altText??y.product.title,className:"w-full h-full object-cover"})}),O.jsxs("div",{className:"flex-1 min-w-0",children:[O.jsx("h4",{className:"font-medium truncate text-sm",children:y.product.title}),y.selectedOptions.length>0&&O.jsx("p",{className:"text-xs text-muted-foreground",children:y.selectedOptions.map(x=>x.value).join(" · ")}),O.jsx("p",{className:"font-semibold text-brand mt-1",children:$o(y.price)})]}),O.jsxs("div",{className:"flex flex-col items-end gap-2",children:[O.jsx("button",{onClick:()=>l(y.variantId),"aria-label":`Remove ${y.product.title} from cart`,className:"text-muted-foreground hover:text-destructive transition",children:O.jsx(BM,{className:"h-4 w-4"})}),O.jsxs("div",{className:"flex items-center gap-1 border border-border rounded-full",children:[O.jsx("button",{onClick:()=>o(y.variantId,y.quantity-1),"aria-label":`Decrease quantity of ${y.product.title}`,className:"p-1 hover:text-brand",children:O.jsx(bE,{className:"h-3 w-3"})}),O.jsx("span",{className:"w-6 text-center text-xs","aria-live":"polite",children:y.quantity}),O.jsx("button",{onClick:()=>o(y.variantId,y.quantity+1),"aria-label":`Increase quantity of ${y.product.title}`,className:"p-1 hover:text-brand",children:O.jsx(Jg,{className:"h-3 w-3"})})]})]})]},y.variantId)})}),O.jsxs("div",{className:"flex-shrink-0 space-y-4 pt-4 border-t border-border",children:[O.jsxs("div",{className:"flex justify-between items-center",children:[O.jsx("span",{className:"text-sm uppercase tracking-wider text-muted-foreground",children:"Subtotal"}),O.jsxs("span",{className:"font-display text-2xl font-bold text-brand",children:[m==="USD"?"$":`${m} `,p.toFixed(2)]})]}),O.jsx("p",{className:"text-xs text-muted-foreground",children:"Shipping & taxes calculated at checkout."}),O.jsx("button",{type:"button",onClick:()=>{g&&(window.open(g,"_blank","noopener,noreferrer"),t(!1))},disabled:!g||i||a,className:`inline-flex items-center justify-center gap-2 rounded-full font-bold uppercase tracking-wider transition-all duration-300 h-14 px-8 text-base w-full bg-[image:var(--gradient-brand)] text-brand-foreground shadow-[var(--shadow-glow)] hover:-translate-y-0.5 hover:brightness-110 ${!g||i||a?"opacity-60 cursor-not-allowed":""}`,children:i||a?O.jsx(Di,{className:"w-4 h-4 animate-spin"}):O.jsxs(O.Fragment,{children:[O.jsx(dM,{className:"w-4 h-4"})," Checkout"]})})]})]})})]})]})}function y9({open:e,onClose:t}){const[n,i]=P.useState("");P.useEffect(()=>{if(!e)return;const h=d=>d.key==="Escape"&&t();return document.addEventListener("keydown",h),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",h),document.body.style.overflow=""}},[e,t]);const a=n.trim(),{data:o,isLoading:l}=fE({queryKey:["shopify","search",a],queryFn:()=>P5(a?`title:*${a}* OR tag:${a} OR vendor:${a}`:void 0),enabled:e,staleTime:1e3*60}),c=zj(o??[]).slice(0,12);return e?O.jsxs("div",{className:"fixed inset-0 z-[100] flex items-start justify-center p-4 md:p-8",role:"dialog","aria-modal":"true",children:[O.jsx("div",{className:"absolute inset-0 bg-background/80 backdrop-blur-md",onClick:t}),O.jsxs("div",{className:"relative z-10 w-full max-w-2xl mt-16 md:mt-24 rounded-2xl border border-border bg-surface shadow-2xl overflow-hidden",children:[O.jsxs("div",{className:"flex items-center gap-3 px-5 py-4 border-b border-border",children:[O.jsx(vE,{className:"h-5 w-5 text-brand shrink-0"}
171),O.jsx("input",{autoFocus:!0,type:"search",value:n,onChange:h=>i(h.target.value),placeholder:"Search gel blasters, gear, accessories...","aria-label":"Search products",className:"flex-1 bg-transparent text-base placeholder:text-muted-foreground focus:outline-none"}),O.jsx("button",{onClick:t,"aria-label":"Close search",className:"p-1.5 rounded-md hover:bg-surface-2 text-muted-foreground hover:text-foreground transition",children:O.jsx(Jl,{className:"h-5 w-5"})})]}),O.jsx("div",{className:"max-h-[60vh] overflow-y-auto",children:l?O.jsx("div",{className:"flex justify-center py-16",children:O.jsx(Di,{className:"h-6 w-6 animate-spin text-brand"})}):c.length===0?O.jsx("div",{className:"px-5 py-12 text-center text-sm text-muted-foreground",children:a?`No products found for "${a}"`:"Start typing to search products..."}):O.jsx("ul",{className:"divide-y divide-border",children:c.map(({node:h})=>{const d=h.images.edges[0]?.node;return O.jsx("li",{children:O.jsxs(Oi,{to:"/product/$handle",params:{handle:h.handle},onClick:t,className:"flex items-center gap-4 px-5 py-3 hover:bg-surface-2 transition",children:[O.jsx("div",{className:"h-14 w-14 shrink-0 overflow-hidden rounded-md bg-black",children:d&&O.jsx("img",{src:d.url,alt:d.altText??h.title,className:"h-full w-full object-cover",loading:"lazy"})}),O.jsxs("div",{className:"flex-1 min-w-0",children:[O.jsx("p",{className:"font-semibold text-sm text-foreground truncate",children:h.title}),O.jsx("p",{className:"text-xs text-muted-foreground line-clamp-1",children:h.description})]}),O.jsxs("span",{className:"flex items-baseline gap-1.5 shrink-0",children:[Yg(h.priceRange.minVariantPrice,h.compareAtPriceRange?.minVariantPrice)&&O.jsx("span",{className:"text-[11px] text-muted-foreground line-through",children:$o(h.compareAtPriceRange.minVariantPrice)}),O.jsx("span",{className:"font-display font-bold text-brand text-sm",children:$o(h.priceRange.minVariantPrice)})]})]})},h.id)})})})]})]}):null}const b9="shop-all-gel-blasters",RS=[{label:"Shop",to:"/shop",search:{collection:b9}},{label:"Blog",to:"/blog"},{label:"About",to:"/about"},{label:"FAQ",to:"/faq"},{label:"Contact",to:"/contact"}];function v9(){const[e,t]=P.useState(!1),[n,i]=P.useState(!1);return O.jsxs(O.Fragment,{children:[O.jsxs("header",{className:"sticky top-0 z-50 border-b border-border/60 bg-background/80 backdrop-blur-xl",children:[O.jsx("div",{className:"bg-brand text-brand-foreground text-center text-xs font-semibold py-2 px-4 tracking-wide uppercase",children:"Free US Shipping On All Orders · Lifetime Support · 30-Day Returns"}),O.jsxs("div",{className:"mx-auto flex max-w-7xl items-center justify-between gap-4 px-4 py-3 md:px-6",children:[O.jsxs("div",{className:"flex items-center gap-3",children:[O.jsx("button",{className:"lg:hidden text-foreground p-2 -ml-2","aria-label":e?"Close menu":"Open menu","aria-expanded":e,onClick:()=>t(a=>!a),children:e?O.jsx(Jl,{className:"h-6 w-6"}):O.jsx(vM,{className:"h-6 w-6"})}),O.jsxs(Oi,{to:"/",className:"flex items-center gap-2",onClick:()=>t(!1),children:[O.jsx("img",{src:HE,alt:"GelToyNation",className:"h-16 md:h-[4.5rem] w-auto drop-shadow-[0_4px_20px_rgba(255,120,0,0.35)]"}),O.jsxs("span",{className:"text-xl md:text-2xl font-extrabold italic tracking-tight hidden sm:inline font-display",children:[O.jsx("span",{className:"text-brand",children:"GELTOY"}),O.jsx("span",{className:"text-foreground",children:"NATION"})]})]})]}),O.jsx("nav",{className:"hidden lg:flex items-center gap-7 text-sm font-semibold tracking-wide uppercase",children:RS.map(a=>O.jsx(Oi,{to:a.to,search:a.search,className:"text-foreground/80 hover:text-brand transition-colors",activeProps:{className:"text-brand"},children:a.label},a.label))}),O.jsxs("div",{className:"flex items-center gap-1 md:gap-2",children:[O.jsx("button",{onClick:()=>i(!0),"aria-label":"Search products",className:"p-2 rounded-md hover:bg-surface text-foreground/80 hover:text-brand transition",children:O.jsx(vE,{className:"h-5 w-5"})}),O.jsx(Oi,{to:"/signin","aria-label":"Sign in to your account",className:"p-2 rounded-md hover:bg-surface text-foreground
171/80 hover:text-brand transition inline-flex items-center gap-1.5",children:O.jsx(UM,{className:"h-5 w-5"})}),O.jsx(A9,{})]})]}),O.jsx("div",{className:`lg:hidden overflow-hidden border-t border-border/60 transition-[max-height,opacity] duration-300 ease-out ${e?"max-h-96 opacity-100":"max-h-0 opacity-0"}`,children:O.jsx("nav",{className:"flex flex-col px-4 py-2",children:RS.map(a=>O.jsx(Oi,{to:a.to,search:a.search,onClick:()=>t(!1),className:"py-3 text-sm font-semibold tracking-wide uppercase text-foreground/80 hover:text-brand border-b border-border/40 last:border-b-0",activeProps:{className:"text-brand"},children:a.label},a.label))})})]}),O.jsx(y9,{open:n,onClose:()=>i(!1)})]})}function w9({className:e}){return O.jsx("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:O.jsx("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-2.88 2.83 2.87 2.87 0 0 1-2.41-1.32 2.89 2.89 0 0 1 2.41-4.44 2.94 2.94 0 0 1 .82.12V9.4a6.33 6.33 0 0 0-.82-.05A6.34 6.34 0 0 0 5 15.69 6.34 6.34 0 0 0 11.34 22a6.35 6.35 0 0 0 6.34-6.33V9.03a8.17 8.17 0 0 0 4.78 1.53V7.13a4.84 4.84 0 0 1-2.87-.44z"})})}function S9(){return O.jsx("footer",{className:"bg-background border-t border-border",children:O.jsxs("div",{className:"mx-auto max-w-7xl px-4 md:px-6 py-16",children:[O.jsxs("div",{className:"grid lg:grid-cols-5 gap-10",children:[O.jsxs("div",{className:"min-w-0 lg:col-span-2",children:[O.jsx("img",{src:HE,alt:"GelToyNation",className:"h-14 w-auto"}),O.jsx("p",{className:"mt-4 max-w-sm text-sm text-muted-foreground",children:"The premier US destination for premium gel blasters, tactical gear, and the gear you need to dominate."}),O.jsxs("form",{className:"mt-6 flex min-w-0 gap-2 max-w-md",onSubmit:e=>e.preventDefault(),children:[O.jsx("input",{type:"email",placeholder:"Enter your email","aria-label":"Email address for newsletter signup",className:"min-w-0 flex-1 h-11 rounded-full bg-surface border border-border px-4 text-sm focus:outline-none focus:border-brand"}),O.jsx(Xg,{type:"submit",className:"shrink-0","aria-label":"Join the GelToyNation newsletter",children:"Join"})]}),O.jsx("div",{className:"mt-6 flex gap-3",children:[{Icon:AM,label:"Follow us on Instagram",href:"https://www.instagram.com/geltoynation"},{Icon:zM,label:"Subscribe on YouTube",href:"https://www.youtube.com/@geltoynation"},{Icon:hM,label:"Follow us on Facebook",href:"https://www.facebook.com/Geltoynation"},{Icon:w9,label:"Follow us on TikTok",href:"https://www.tiktok.com/@geltoynation"}].map(({Icon:e,label:t,href:n})=>O.jsx("a",{href:n,"aria-label":t,target:"_blank",rel:"noopener noreferrer",className:"h-10 w-10 rounded-full bg-surface border border-border flex items-center justify-center text-foreground/80 hover:text-brand hover:border-brand/50 transition",children:O.jsx(e,{className:"h-4 w-4","aria-hidden":"true"})},t))})]}),O.jsx(Yp,{title:"Shop",links:[{label:"All Blasters",href:"/shop?collection=shop-all-gel-blasters"},{label:"Gel Beads & Accessories",href:"/shop?collection=gel-beads-accessories"},{label:"New Arrivals",href:"/shop?collection=new-arrival-gel-blasters"}]}),O.jsx(Yp,{title:"Support",links:[{label:"Contact Us",href:"/contact"},{label:"Shipping Policy",href:"/shipping"},{label:"Return Policy",href:"/returns"},{label:"Terms of Service",href:"/terms"},{label:"FAQ",href:"/faq"}]}),O.jsx(Yp,{title:"Company",links:[{label:"About",href:"/about"},{label:"Blog",href:"/blog"},{label:"Affiliates",href:"https://geltoynation.goaffpro.com/"}]})]}),O.jsxs("div",{className:"mt-12 pt-6 border-t border-border flex flex-col sm:flex-row justify-between items-center gap-3 text-xs text-muted-foreground",children:[O.jsxs("p",{children:["© ",new Date().getFullYear()," GelToyNation. All rights reserved."]}),O.jsx("p",{className:"uppercase tracking-wider",children:"For Adult Use 18+ Only · Use Eye Protection"})]})]})})}function Yp({title:e,links:t}){return O.jsxs("div",{children:[O.jsx("h4",{className:"font-display text-sm font-bold uppercase tracking-wider text-brand",children:e}),O.jsx("ul",{className:"mt-4 space-y-2.5 text-sm",children:t.map(n=>O.jsx("li",{children:O.jsx("a",{href:n.href,className:"text-foreground
171/80 hover:text-brand transition",children:n.label})},n.label))})]})}function OS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function _9(e){if(Array.isArray(e))return e}function x9(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,a,o,l,c=[],h=!0,d=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(i=o.call(n)).done)&&(c.push(i.value),c.length!==t);h=!0);}catch(p){d=!0,a=p}finally{try{if(!h&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function E9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
172In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C9(e,t){return _9(e)||x9(e,t)||T9(e,t)||E9()}function T9(e,t){if(e){if(typeof e=="string")return OS(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?OS(e,t):void 0}}const TC=Object.entries,kS=Object.setPrototypeOf,R9=Object.isFrozen,O9=Object.getPrototypeOf,k9=Object.getOwnPropertyDescriptor;let gn=Object.freeze,An=Object.seal,qo=Object.create,RC=typeof Reflect<"u"&&Reflect,Sg=RC.apply,_g=RC.construct;gn||(gn=function(t){return t});An||(An=function(t){return t});Sg||(Sg=function(t,n){for(var i=arguments.length,a=new Array(i>2?i-2:0),o=2;o<i;o++)a[o-2]=arguments[o];return t.apply(n,a)});_g||(_g=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return new t(...i)});const dl=Kt(Array.prototype.forEach),I9=Kt(Array.prototype.lastIndexOf),IS=Kt(Array.prototype.pop),jo=Kt(Array.prototype.push),N9=Kt(Array.prototype.splice),Cs=Array.isArray,_l=Kt(String.prototype.toLowerCase),Vp=Kt(String.prototype.toString),NS=Kt(String.prototype.match),fl=Kt(String.prototype.replace),DS=Kt(String.prototype.indexOf),D9=Kt(String.prototype.trim),M9=Kt(Number.prototype.toString),B9=Kt(Boolean.prototype.toString),MS=typeof BigInt>"u"?null:Kt(BigInt.prototype.toString),BS=typeof Symbol>"u"?null:Kt(Symbol.prototype.toString),an=Kt(Object.prototype.hasOwnProperty),hl=Kt(Object.prototype.toString),hn=Kt(RegExp.prototype.test),ga=j9(TypeError);function Kt(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return Sg(e,t,i)}}function j9(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return _g(e,n)}}function rt(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_l;if(kS&&kS(e,null),!Cs(t))return e;let i=t.length;for(;i--;){let a=t[i];if(typeof a=="string"){const o=n(a);o!==a&&(R9(t)||(t[i]=o),a=o)}e[a]=!0}return e}function L9(e){for(let t=0;t<e.length;t++)an(e,t)||(e[t]=null);return e}function xn(e){const t=qo(null);for(const i of TC(e)){var n=C9(i,2);const a=n[0],o=n[1];an(e,a)&&(Cs(o)?t[a]=L9(o):o&&typeof o=="object"&&o.constructor===Object?t[a]=xn(o):t[a]=o)}return t}function P9(e){switch(typeof e){case"string":return e;case"number":return M9(e);case"boolean":return B9(e);case"bigint":return MS?MS(e):"0";case"symbol":return BS?BS(e):"Symbol()";case"undefined":return hl(e);case"function":case"object":{if(e===null)return hl(e);const t=e,n=zr(t,"toString");if(typeof n=="function"){const i=n(t);return typeof i=="string"?i:hl(i)}return hl(e)}default:return hl(e)}}function zr(e,t){for(;e!==null;){const i=k9(e,t);if(i){if(i.get)return Kt(i.get);if(typeof i.value=="function")return Kt(i.value)}e=O9(e)}function n(){return null}return n}function U9(e){try{return hn(e,""),!0}catch{return!1}}const jS=gn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Wp=gn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Jp=gn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F9=gn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Zp=gn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),H9=gn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),LS=gn(["#text"]),PS=gn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
172spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),$p=gn(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),US=gn(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),qd=gn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z9=An(/{{[\w\W]*|^[\w\W]*}}/g),G9=An(/<%[\w\W]*|^[\w\W]*%>/g),q9=An(/\${[\w\W]*/g),Q9=An(/^data-[\-\w.\u00B7-\uFFFF]+$/),K9=An(/^aria-[\-\w]+$/),FS=An(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y9=An(/^(?:\w+script|data):/i),V9=An(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W9=An(/^html$/i),J9=An(/^[a-z][.\w]*(-[.\w]+)+$/i),HS=An(/<[/\w!]/g),Z9=An(/<[/\w]/g),$9=An(/<\/no(script|embed|frames)/i),X9=An(/\/>/i),Fr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},eU=function(){return typeof window>"u"?null:window},tU=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let i=null;const a="data-tt-policy-suffix";n&&n.hasAttribute(a)&&(i=n.getAttribute(a));const o="dompurify"+(i?"#"+i:"");try{return t.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},zS=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},As=function(t,n,i,a){return an(t,n)&&Cs(t[n])?rt(a.base?xn(a.base):{},t[n],a.transform):i};function OC(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:eU();const t=pe=>OC(pe);
vendor: 4,442 bytes, line 172
172if(t.version="3.4.11",t.removed=[],!e||!e.document||e.document.nodeType!==Fr.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const i=n,a=i.currentScript;e.DocumentFragment;const o=e.HTMLTemplateElement,l=e.Node,c=e.Element,h=e.NodeFilter,d=e.NamedNodeMap;d===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const p=e.DOMParser,m=e.trustedTypes,g=c.prototype,y=zr(g,"cloneNode"),v=zr(g,"remove"),x=zr(g,"nextSibling"),S=zr(g,"childNodes"),w=zr(g,"parentNode"),_=zr(g,"shadowRoot"),T=zr(g,"attributes"),E=l&&l.prototype?zr(l.prototype,"nodeType"):null,C=l&&l.prototype?zr(l.prototype,"nodeName"):null;if(typeof o=="function"){const pe=n.createElement("template");pe.content&&pe.content.ownerDocument&&(n=pe.content.ownerDocument)}let k,I="",M,j=!1,U=0;const D=function(){if(U>0)throw ga('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},H=function(F){D(),U++;try{return k.createHTML(F)}finally{U--}},ee=function(F){D(),U++;try{return k.createScriptURL(F)}finally{U--}},Z=function(){return j||(M=tU(m,a),j=!0),M},G=n,L=G.implementation,q=G.createNodeIterator,W=G.createDocumentFragment,ce=G.getElementsByTagName,ne=i.importNode;let B=zS();t.isSupported=typeof TC=="function"&&typeof w=="function"&&L&&L.createHTMLDocument!==void 0;const K=z9,V=G9,ue=q9,oe=Q9,ge=K9,ye=Y9,Be=V9,Se=J9;let Ye=FS,ke=null;const ie=rt({},[...jS,...Wp,...Jp,...Zp,...LS]);let fe=null;const de=rt({},[...PS,...$p,...US,...qd]);let ve=Object.seal(qo(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),wt=null,Pt=null;const Vt=Object.seal(qo(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let fr=!0,je=!0,qe=!1,hr=!0,Fe=!1,Ne=!0,He=!1,lt=!1,St=null,Xn=null,Li=!1,pr=!1,Fa=!1,Ha=!1,Pi=!0,yn=!1;const mr="user-content-";let un=!0,au=!1,Ui={},er=null;const Fi=rt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let zs=null;const Gs=rt({},["audio","video","img","source","image","track"]);let gr=null;const qs=rt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ir="http://www.w3.org/1998/Math/MathML",za="http://www.w3.org/2000/svg",Fn="http://www.w3.org/1999/xhtml";let Nr=Fn,Xr=!1,ou=null;const tc=rt({},[Ir,za,Fn],Vp),uu=gn(["mi","mo","mn","ms","mtext"]);let Ga=rt({},uu);const qa=gn(["annotation-xml"]);let Qs=rt({},qa);const nc=rt({},["title","style","font","a","script"]);let Hi=null;const Dr=["application/xhtml+xml","text/html"],Wt="text/html";let Je=null,Hn=null;const lu=n.createElement("form"),rc=function(F){return F instanceof RegExp||F instanceof Function},cu=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Hn&&Hn===F)return;(!F||typeof F!="object")&&(F={}),F=xn(F),Hi=Dr.indexOf(F.PARSER_MEDIA_TYPE)===-1?Wt:F.PARSER_MEDIA_TYPE,Je=Hi==="application/xhtml+xml"?Vp:_l,ke=As(F,"ALLOWED_TAGS",ie,{transform:Je}),fe=As(F,"ALLOWED_ATTR",de,{transform:Je}),ou=As(F,"ALLOWED_NAMESPACES",tc,{transform:Vp}),gr=As(F,"ADD_URI_SAFE_ATTR",qs,{transform:Je,base:qs}),zs=As(F,"ADD_DATA_URI_TAGS",Gs,{transform:Je,base:Gs}),er=As(F,"FORBID_CONTENTS",Fi,{transform:Je}),wt=As(F,"FORBID_TAGS",xn({}),{transform:Je}),Pt=As(F,"FORBID_ATTR",xn({}),{transform:Je}),Ui=an(F,"USE_PROFILES")?F.USE_PROFILES&&typeof F.USE_PROFILES=="object"?xn(F.USE_PROFILES):F.USE_PROFILES:!1,fr=F.ALLOW_ARIA_ATTR!==!1,je=F.ALLOW_DATA_ATTR!==!1,qe=F.ALLOW_UNKNOWN_PROTOCOLS||!1,hr=F.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Fe=F.SAFE_FOR_TEMPLATES||!1,Ne=F.SAFE_FOR_XML!==!1,He=F.WHOLE_DOCUMENT||!1,pr=F.RETURN_DOM||!1,Fa=F.RETURN_DOM_FRAGMENT||!1,Ha=F.RETURN_TRUSTED_TYPE||!1,Li=F.FORCE_BODY||!1,Pi=F.SANITIZE_DOM!==!1,yn=F.SANITIZE_NAMED_PROPS||!1,un=F.KEEP_CONTENT!==!1,au=F.IN_PLACE||!1,Ye=U9(F.ALLOWED_URI_REGEXP)?F.ALLOWED_URI_REGEXP:FS,Nr=typeof F.NAMESPACE=="str
172ing"?F.NAMESPACE:Fn,Ga=an(F,"MATHML_TEXT_INTEGRATION_POINTS")&&F.MATHML_TEXT_INTEGRATION_POINTS&&typeof F.MATHML_TEXT_INTEGRATION_POINTS=="object"?xn(F.MATHML_TEXT_INTEGRATION_POINTS):rt({},uu),Qs=an(F,"HTML_INTEGRATION_POINTS")&&F.HTML_INTEGRATION_POINTS&&typeof F.HTML_INTEGRATION_POINTS=="object"?xn(F.HTML_INTEGRATION_POINTS):rt({},qa);const X=an(F,"CUSTOM_ELEMENT_HANDLING")&&F.CUSTOM_ELEMENT_HANDLING&&typeof F.CUSTOM_ELEMENT_HANDLING=="object"?xn(F.CUSTOM_ELEMENT_HANDLING):qo(null);if(ve=qo(null),an(X,"tagNameCheck")&&rc(X.tagNameCheck)&&(ve.tagNameCheck=X.tagNameCheck),an(X,"attributeNameCheck")&&rc(X.attributeNameCheck)&&(ve.attributeNameCheck=X.attributeNameCheck),an(X,"allowCustomizedBuiltInElements")&&typeof X.allowCustomizedBuiltInElements=="boolean"&&(ve.allowCustomizedBuiltInElements=X.allowCustomizedBuiltInElements),An(ve),Fe&&(je=!1),Fa&&(pr=!0),Ui&&(ke=rt({},LS),fe=qo(null),Ui.html===!0&&(rt(ke,jS),rt(fe,PS)),Ui.svg===!0&&(rt(ke,Wp),rt(fe,$p),rt(fe,qd)),Ui.svgFilters===!0&&(rt(ke,Jp),rt(fe,$p),rt(fe,qd)),Ui.mathMl===!0&&(rt(ke,Zp),rt(fe,US),rt(fe,qd))),Vt.tagCheck=null,Vt.attributeCheck=null,an(F,"ADD_TAGS")&&(typeof F.ADD_TAGS=="function"?Vt.tagCheck=F.ADD_TAGS:Cs(F.ADD_TAGS)&&(ke===ie&&(ke=xn(ke)),rt(ke,F.ADD_TAGS,Je))),an(F,"ADD_ATTR")&&(typeof F.ADD_ATTR=="function"?Vt.attributeCheck=F.ADD_ATTR:Cs(F.ADD_ATTR)&&(fe===de&&(fe=xn(fe)),rt(fe,F.ADD_ATTR,Je))),an(F,"ADD_URI_SAFE_ATTR")&&Cs(F.ADD_URI_SAFE_ATTR)&&rt(gr,F.ADD_URI_SAFE_ATTR,Je),an(F,"FORBID_CONTENTS")&&Cs(F.FORBID_CONTENTS)&&(er===Fi&&(er=xn(er)),rt(er,F.FORBID_CONTENTS,Je)),an(F,"ADD_FORBID_CONTENTS")&&Cs(F.ADD_FORBID_CONTENTS)&&(er===Fi&&(er=xn(er)),rt(er,F.ADD_FORBID_CONTENTS,Je)),un&&(ke["#text"]=!0),He&&rt(ke,["html","head","body"]),ke.table&&(rt(ke,["tbody"]),delete wt.tbody),F.TRUSTED_TYPES_POLICY){if(typeof F.TRUSTED_TYPES_POLICY.createHTML!="function")throw ga('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof F.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ga('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const he=k;k=F.TRUSTED_TYPES_POLICY;try{I=H("")}catch(Ce){throw k=he,Ce}}else F.TRUSTED_TYPES_POLICY===null?(k=void 0,I=""):(k===void 0&&(k=Z()),k&&typeof I=="string"&&(I=H("")));gn&&gn(F),Hn=F},du=rt({},[...Wp,...Jp,...F9]),zi=rt({},[...Zp,...H9]),fu=function(F,X,he){return X.namespaceURI===Fn?F==="svg":X.namespaceURI===Ir?F==="svg"&&(he==="annotation-xml"||Ga[he]):!!du[F]},Gi=function(F,X,he){return X.namespaceURI===Fn?F==="math":X.namespaceURI===za?F==="math"&&Qs[he]:!!zi[F]},qi=function(F,X,he){return X.namespaceURI===za&&!Qs[he]||X.namespaceURI===Ir&&!Ga[he]?!1:!zi[F]&&(nc[F]||!du[F])},Ks=function(F){let X=w(F);(!X||!X.tagName)&&(X={namespaceURI:Nr,tagName:"template"});const he=_l(F.tagName),Ce=_l(X.tagName);return ou[F.namespaceURI]?F.namespaceURI===za?fu(he,X,Ce):F.namespaceURI===Ir?Gi(he,X,Ce):F.namespaceURI===Fn?qi(he,X,Ce):!!(Hi==="application/xhtml+xml"&&ou[F.namespaceURI]):!1},Sn=function(F){jo(t.removed,{element:F});try{w(F).removeChild(F)}catch{if(v(F),!w(F))throw ga("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Bt=function(F){const X=S(F);if(X){const Ce=[];dl(X,ze=>{jo(Ce,ze)}),dl(Ce,ze=>{try{v(ze)}catch{}})}const he=T(F);if(he)for(let Ce=he.length-1;Ce>=0;--Ce){const ze=he[Ce],Xe=ze&&ze.name;if(typeof Xe=="string")try{F.removeAttribute(Xe)}catch{}}},Mr=function(F,X){try{jo(t.removed,{attribute:X.getAttributeNode(F),from:X})}catch{jo(t.removed,{attribute:null,from:X})}if(X.removeAttribute(F),F==="is")if(pr||Fa)try{Sn(X)}catch{}else try{X.setAttribute(F,"")}catch{}},ic=function(F){const X=T(F);if(X)for(let he=X.length-1;he>=0;--he){const Ce=X[he],ze=Ce&&Ce.name;if(!(typeof ze!="string"||fe[Je(ze)]))try{F.removeAttribute(ze)}catch{}}},ei=function(F){const X=[F];for(;X.length>0;){const he=X.pop();(E?E(he):he.nodeType)===Fr.element&&ic(he);const ze=S(he);if(ze)for(let Xe=ze.length-1;Xe>=0;--Xe)X.push(ze[Xe])}},ti=function(F){let X=null,he=null;if(Li)F="<remove></remove>"+F;else{const Xe=NS(F,/^[\r\n\t ]+/);he=Xe&&Xe[0]}Hi==="application/xhtml+xml"&&Nr===Fn&&(F='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+F+"</body></html>");const Ce=k?H(F):F;if(Nr===Fn)try{X=new p().parseFromString(Ce,Hi)}catch{}if(!X||!X.documentElement){X=L.createDocument(Nr,"template",null);try{X.documentElement.innerHTML=Xr?I:Ce}catch{}}const ze=X.body||X.documentElement;return F&&he&&ze.insertBefore(n.createTextNode(he),ze.childNodes[0]||null),Nr===Fn?ce.call(X,He?"html":"body")[0]:He?X.documentElement:ze},sc=function(F){return q.call(F.ownerDocument||F,F,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Ys=function(F){return F=fl(F,K," "),F=fl(F,V," "),F=fl(F,ue," "),F},Qa=function(F){var X;F.normalize();const he=q.call(F.ownerDocument||F,F,h.SHOW_TEXT|h.SHOW_COMMENT|h.SHOW_CDATA_SECTION|h.SHOW_PROCESSING_INSTRUCTION,null);let Ce=he.nextNode();for(;Ce;)Ce.data=Ys(Ce.data),Ce=he.nextNode();const ze=(X=F.querySelectorAll)===null||X===void 0?void 0:X.call(F,"template");ze&&dl(ze,Xe=>{Ar(Xe.content)&&Qa(Xe.content)})},Ka=function(F){const X=C?C(F):null;return typeof X!="string"||Je(X)!=="form"?!1:typeof F.nodeName!="string"||typeof F.textContent!="string"||typeof F.removeChild!="function"||F.attributes!==T(F)||typeof F.removeAttribute!="function"||typeof F.setAttribute!="function"||typeof F.namespaceURI!="string"||typeof F.insertBefore!="function"||typeof F.hasChildNodes!="function"||F.nodeType!==E(F)||F.childNodes!==S(F)}
172,Ar=function(F){if(!E||typeof F!="object"||F===null)return!1;try{return E(F)===Fr.documentFragment}catch{return!1}},Br=function(F){if(!E||typeof F!="object"||F===null)return!1;try{return typeof E(F)=="number"}catch{return!1}};function Jt(pe,F,X){pe.length!==0&&dl(pe,he=>{he.call(t,F,X,Hn)})}const Cn=function(F,X){return!!(Ne&&F.hasChildNodes()&&!Br(F.firstElementChild)&&hn(HS,F.textContent)&&hn(HS,F.innerHTML)||Ne&&F.namespaceURI===Fn&&X==="style"&&Br(F.firstElementChild)||F.nodeType===Fr.processingInstruction||Ne&&F.nodeType===Fr.comment&&hn(Z9,F.data))},ac=function(F,X){if(!wt[X]&&Vs(X)&&(ve.tagNameCheck instanceof RegExp&&hn(ve.tagNameCheck,X)||ve.tagNameCheck instanceof Function&&ve.tagNameCheck(X)))return!1;if(un&&!er[X]){const he=w(F),Ce=S(F);if(Ce&&he){const ze=Ce.length;for(let Xe=ze-1;Xe>=0;--Xe){const kt=au?Ce[Xe]:y(Ce[Xe],!0);he.insertBefore(kt,x(F))}}}return Sn(F),!0},oc=function(F){if(Jt(B.beforeSanitizeElements,F,null),Ka(F))return Sn(F),!0;const X=Je(C?C(F):F.nodeName);if(Jt(B.uponSanitizeElement,F,{tagName:X,allowedTags:ke}),Cn(F,X))return Sn(F),!0;if(wt[X]||!(Vt.tagCheck instanceof Function&&Vt.tagCheck(X))&&!ke[X])return ac(F,X);if((E?E(F):F.nodeType)===Fr.element&&!Ks(F)||(X==="noscript"||X==="noembed"||X==="noframes")&&hn($9,F.innerHTML))return Sn(F),!0;if(Fe&&F.nodeType===Fr.text){const Ce=Ys(F.textContent);F.textContent!==Ce&&(jo(t.removed,{element:F.cloneNode()}),F.textContent=Ce)}return Jt(B.afterSanitizeElements,F,null),!1},Ya=function(F,X,he){if(Pt[X]||Pi&&(X==="id"||X==="name")&&(he in n||he in lu))return!1;const Ce=fe[X]||Vt.attributeCheck instanceof Function&&Vt.attributeCheck(X,F);if(!(je&&hn(oe,X))){if(!(fr&&hn(ge,X))){if(Ce){if(!gr[X]){if(!hn(Ye,fl(he,Be,""))){if(!((X==="src"||X==="xlink:href"||X==="href")&&F!=="script"&&DS(he,"data:")===0&&zs[F])){if(!(qe&&!hn(ye,fl(he,Be,"")))){if(he)return!1}}}}}else if(!(Vs(F)&&(ve.tagNameCheck instanceof RegExp&&hn(ve.tagNameCheck,F)||ve.tagNameCheck instanceof Function&&ve.tagNameCheck(F))&&(ve.attributeNameCheck instanceof RegExp&&hn(ve.attributeNameCheck,X)||ve.attributeNameCheck instanceof Function&&ve.attributeNameCheck(X,F))||X==="is"&&ve.allowCustomizedBuiltInElements&&(ve.tagNameCheck instanceof RegExp&&hn(ve.tagNameCheck,he)||ve.tagNameCheck instanceof Function&&ve.tagNameCheck(he))))return!1}}return!0},uc=rt({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Vs=function(F){return!uc[_l(F)]&&hn(Se,F)},nh=function(F,X,he,Ce){if(k&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!he)switch(m.getAttributeType(F,X)){case"TrustedHTML":return H(Ce);case"TrustedScriptURL":return ee(Ce)}return Ce},Tn=function(F,X,he,Ce){try{he?F.setAttributeNS(he,X,Ce):F.setAttribute(X,Ce),Ka(F)?Sn(F):IS(t.removed)}catch{Mr(X,F)}},Va=function(F){Jt(B.beforeSanitizeAttributes,F,null);const X=F.attributes;if(!X||Ka(F))return;const he={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:fe,forceKeepAttr:void 0};let Ce=X.length;const ze=Je(F.nodeName);for(;Ce--;){const Xe=X[Ce],kt=Xe.name,It=Xe.namespaceURI,Rn=Xe.value,bn=Je(kt),zn=Rn;let Zt=kt==="value"?zn:D9(zn);if(he.attrName=bn,he.attrValue=Zt,he.keepAttr=!0,he.forceKeepAttr=void 0,Jt(B.uponSanitizeAttribute,F,he),Zt=he.attrValue,yn&&(bn==="id"||bn==="name")&&DS(Zt,mr)!==0&&(Mr(kt,F),Zt=mr+Zt),Ne&&hn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Zt)){Mr(kt,F);continue}if(bn==="attributename"&&NS(Zt,"href")){Mr(kt,F);continue}if(!he.forceKeepAttr){if(!he.keepAttr){Mr(kt,F);continue}if(!hr&&hn(X9,Zt)){Mr(kt,F);continue}if(Fe&&(Zt=Ys(Zt)),!Ya(ze,bn,Zt)){Mr(kt,F);continue}Zt=nh(ze,bn,It,Zt),Zt!==zn&&Tn(F,kt,It,Zt)}}Jt(B.afterSanitizeAttributes,F,null)},Ws=function(F){let X=null;const he=sc(F);for(Jt(B.beforeSanitizeShadowDOM,F,null);X=he.nextNode();)if(Jt(B.uponSanitizeShadowNode,X,null),oc(X),Va(X),Ar(X.content)&&Ws(X.content),(E?E(X):X.nodeType)===Fr.element){const ze=_(X);Ar(ze)&&(Js(ze),Ws(ze))}Jt(B.afterSanitizeShadowDOM,F,null)},Js=function(F){const X=[{node:F,shadow:null}];for(;X.length>0;){const he=X.pop();if(he.shadow){Ws(he.shadow);continue}const Ce=he.node,Xe=(E?E(Ce):Ce.nodeType)===Fr.element,kt=S(Ce);if(kt)for(let It=kt.length-1;It>=0;--It)X.push({node:kt[It],shadow:null});if(Xe){const It=C?C(Ce):null;if(typeof It=="string"&&Je(It)==="template"){const Rn=Ce.content;Ar(Rn)&&X.push({node:Rn,shadow:null})}}if(Xe){const It=_(Ce);Ar(It)&&X.push({node:null,shadow:It},{node:It,shadow:null})}}};return t.sanitize=function(pe){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X=null,he=null,Ce=null,ze=null;if(Xr=!pe,Xr&&(pe="<!-->"),typeof pe!="string"&&!Br(pe)&&(pe=P9(pe),typeof pe!="string"))throw ga("dirty is not a string, aborting");if(!t.isSupported)return pe;lt?(ke=St,fe=Xn):cu(F),(B.uponSanitizeElement.length>0||B.uponSanitizeAttribute.length>0)&&(ke=xn(ke)),B.uponSanitizeAttribute.length>0&&(fe=xn(fe)),t.removed=[];const Xe=au&&typeof pe!="string"&&Br(pe);if(Xe){const Rn=C?C(pe):pe.nodeName;if(typeof Rn=="string"){const bn=Je(Rn);if(!ke[bn]||wt[bn])throw ga("root node is forbidden and cannot be sanitized in-place")}if(Ka(pe))throw ga("root node is clobbered and cannot be sanitized in-place");try{Js(pe)}catch(bn){throw Bt(pe),bn}}else if(Br(pe))X=ti("<!---->"),he=X.ownerDocument.importNode(pe,!0),he.nodeType===Fr.element&&he.nodeName==="BODY"||he.nodeName==="HTML"?X=he:X.appendChild(he),Js(he);else{if(!pr&&!Fe&&!He&&pe.indexOf("<")===-1)return k&&Ha?H(pe):pe;if(X=ti(pe),!X)return pr?null:Ha?I:""}X&&Li&&Sn(X.firstChild);const kt=sc(Xe?pe:X);try{for(;Ce=kt.nextNode();)oc(Ce),Va(Ce),Ar(Ce.content)&&Ws(Ce.content)}catch(Rn){throw Xe&&Bt(pe),Rn}if(Xe)return dl(t.removed,Rn=>{Rn.element&&ei(Rn.element)}),Fe&&Qa(pe),pe;if(pr){if(Fe&&Qa(X),Fa)for(ze=W.call(X.ownerDocument);X.firstChild;)ze.appendChild(X.firstChild);else ze=X;return(fe.shadowroot||fe.shadowrootmode)&&(ze=ne.call(i,ze,!0)),ze}let It=He?X.outerHTML:X.innerHTML;return He&&ke["!doctype"]&&X.ownerDocument&&X.ownerDocument.doctype&&X.ownerDocument.doctype.name&&hn(W9,X.ownerDocument.doctype.name)&&(It="
172<!DOCTYPE "+X.ownerDocument.doctype.name+`>
173`+It),Fe&&(It=Ys(It)),k&&Ha?H(It):It},t.setConfig=function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};cu(pe),lt=!0,St=ke,Xn=fe},t.clearConfig=function(){Hn=null,lt=!1,St=null,Xn=null,k=M,I=""},t.isValidAttribute=function(pe,F,X){Hn||cu({});const he=Je(pe),Ce=Je(F);return Ya(he,Ce,X)},t.addHook=function(pe,F){typeof F=="function"&&an(B,pe)&&jo(B[pe],F)},t.removeHook=function(pe,F){if(an(B,pe)){if(F!==void 0){const X=I9(B[pe],F);return X===-1?void 0:N9(B[pe],X,1)[0]}return IS(B[pe])}},t.removeHooks=function(pe){an(B,pe)&&(B[pe]=[])},t.removeAllHooks=function(){B=zS()},t}var GS=OC();const kC="geltoynation.myshopify.com",IC="fwsp1ckO3KEn0iNTx2kkaj1lQNM",nU="https://cache.judge.me/widgets/shopify/"+kC;let qS=!1;function NC(){if(qS||typeof window>"u")return;qS=!0,window.jdgm=window.jdgm||{},window.jdgm.SHOP_DOMAIN=kC,window.jdgm.PLATFORM="shopify",window.jdgm.PUBLIC_TOKEN=IC;const e=document.createElement("script");e.src="https://cdnwidget.judge.me/widget_preloader.js",e.async=!0,e.setAttribute("data-cfasync","false"),document.head.appendChild(e)}function DC(e){const t=e.match(/\/(\d+)(?:\?.*)?$/);return t?t[1]:e}async function rU(e){if(typeof window>"u"||!e)return;const t=Array.from(document.querySelectorAll(`.jdgm-preview-badge[data-id="${e}"]`)),n=Array.from(document.querySelectorAll(`.jdgm-review-widget[data-id="${e}"]`)),i=t.some(l=>l.children.length===0),a=n.some(l=>l.children.length===0);if(!i&&!a)return;const o=new URLSearchParams({public_token:IC});i&&o.set("preview_badge_product_ids",e),a&&o.set("review_widget_product_ids",e);try{const l=await fetch(`${nU}?${o.toString()}`);if(!l.ok)return;const c=await l.json();if(i&&c.preview_badges){const h=c.preview_badges[e];if(h){const d=GS.sanitize(h);t.forEach(p=>{p.children.length===0&&(p.innerHTML=d)})}}if(a&&c.review_widgets){const h=c.review_widgets[e];if(h){const d=GS.sanitize(h);n.forEach(p=>{p.children.length===0&&(p.innerHTML=d)})}}try{window.jdgm?.customizeBadges?.(),window.jdgm?.reloadAllWidgets?.()}catch{}}catch{}}function MC(e){if(typeof window>"u")return;[0,300,800,1500,3e3].forEach(n=>setTimeout(()=>rU(e),n))}function iU({productGid:e,productHandle:t,className:n=""}){const i=DC(e);return P.useEffect(()=>{NC(),MC(i)},[i]),O.jsx("div",{className:`jdgm-brand-scope ${n}`,children:O.jsx("div",{className:"jdgm-widget jdgm-preview-badge","data-id":i,"data-template":"product","data-product-title":"","data-product-handle":t})})}function sU({productGid:e,productTitle:t,productHandle:n}){const i=DC(e);return P.useEffect(()=>{NC(),MC(i)},[i]),O.jsxs("section",{className:"mt-16 border-t border-border pt-12 jdgm-brand-scope",children:[O.jsx("h2",{className:"font-display text-2xl md:text-3xl font-extrabold uppercase mb-6 text-foreground",children:"Customer Reviews"}),O.jsx("div",{className:"jdgm-widget jdgm-review-widget","data-id":i,"data-product-title":t,"data-product-handle":n})]})}var wr={},Sr={},Lo={},Xp={},em={},QS;function KS(){return QS||(QS=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.fromCodePoint=void 0,e.replaceCodePoint=i,e.decodeCodePoint=a;const n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:(o=>{let l="";return o>65535&&(o-=65536,l+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),l+=String.fromCharCode(o),l});function i(o){var l;return o>=55296&&o<=57343||o>1114111?65533:(l=n.get(o))!==null&&l!==void 0?l:o}function a(o){return(0,e.fromCodePoint)(i(o))}})(em)),em}var pl={},Qd={},YS;function BC(){if(YS)return Qd;YS=1,Object.defineProperty(Qd,"__esModule",{value:!0}),Qd.decodeBase64=e;function e(t){const n=typeof atob=="function"?atob(t):typeof Buffer.from=="function"?Buffer.from(t,"base64").toString("binary"):new Buffer(t,"base64").toString("binary"),i=n.length&-2,a=new Uint16Array(i/2);for(let o=0,l=0;o<i;o+=2){const c=n.charCodeAt(o),h=n.charCodeAt(o+1);a[l++]=c|h<<8}return a}return Qd}var VS;function WS(){if(VS)return pl;
173VS=1,Object.defineProperty(pl,"__esModule",{value:!0}),pl.htmlDecodeTree=void 0;const e=BC();return pl.htmlDecodeTree=(0,e.decodeBase64)
vendor: 32,204 bytes, line 173
173("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg")
173,pl}var ml={},JS;function ZS(){if(JS)return ml;
173JS=1,Object.defineProperty(ml,"__esModule",{value:!0}),ml.xmlDecodeTree=void 0;const e=BC();return ml.xmlDecodeTree=(0,e.decodeBase64)("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg"),ml}var gl={},$S;function aU(){if($S)return gl;$S=1,Object.defineProperty(gl,"__esModule",{value:!0}),gl.BinTrieFlags=void 0;var e;return(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.FLAG13=8192]="FLAG13",t[t.BRANCH_LENGTH=8064]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(e||(gl.BinTrieFlags=e={})),gl}var XS;function jC(){return XS||(XS=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.xmlDecodeTree=e.htmlDecodeTree=e.replaceCodePoint=e.fromCodePoint=e.decodeCodePoint=e.EntityDecoder=e.DecodingMode=void 0,e.determineBranch=x,e.decodeHTML=_,e.decodeHTMLAttribute=T,e.decodeHTMLStrict=E,e.decodeXML=C;const t=KS(),n=WS(),i=ZS(),a=aU();var o;(function(j){j[j.NUM=35]="NUM",j[j.SEMI=59]="SEMI",j[j.EQUALS=61]="EQUALS",j[j.ZERO=48]="ZERO",j[j.NINE=57]="NINE",j[j.LOWER_A=97]="LOWER_A",j[j.LOWER_F=102]="LOWER_F",j[j.LOWER_X=120]="LOWER_X",j[j.LOWER_Z=122]="LOWER_Z",j[j.UPPER_A=65]="UPPER_A",j[j.UPPER_F=70]="UPPER_F",j[j.UPPER_Z=90]="UPPER_Z"})(o||(o={}));const l=32;function c(j){return j>=o.ZERO&&j<=o.NINE}function h(j){return j>=o.UPPER_A&&j<=o.UPPER_F||j>=o.LOWER_A&&j<=o.LOWER_F}function d(j){return j>=o.UPPER_A&&j<=o.UPPER_Z||j>=o.LOWER_A&&j<=o.LOWER_Z||c(j)}function p(j){return j===o.EQUALS||d(j)}var m;(function(j){j[j.EntityStart=0]="EntityStart",j[j.NumericStart=1]="NumericStart",j[j.NumericDecimal=2]="NumericDecimal",j[j.NumericHex=3]="NumericHex",j[j.NamedEntity=4]="NamedEntity"})(m||(m={}));var g;(function(j){j[j.Legacy=0]="Legacy",j[j.Strict=1]="Strict",j[j.Attribute=2]="Attribute"})(g||(e.DecodingMode=g={}));class y{constructor(U,D,H){this.decodeTree=U,this.emitCodePoint=D,this.errors=H,this.state=m.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=g.Strict,this.runConsumed=0}startEntity(U){this.decodeMode=U,this.state=m.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(U,D){switch(this.state){case m.EntityStart:return U.charCodeAt(D)===o.NUM?(this.state=m.NumericStart,this.consumed+=1,this.stateNumericStart(U,D+1)):(this.state=m.NamedEntity,this.stateNamedEntity(U,D));case m.NumericStart:return this.stateNumericStart(U,D);case m.NumericDecimal:return this.stateNumericDecimal(U,D);case m.NumericHex:return this.stateNumericHex(U,D);case m.NamedEntity:return this.stateNamedEntity(U,D)}}stateNumericStart(U,D){return D>=U.length?-1:(U.charCodeAt(D)|l)===o.LOWER_X?(this.state=m.NumericHex,this.consumed+=1,this.stateNumericHex(U,D+1)):(this.state=m.NumericDecimal,this.stateNumericDecimal(U,D))}stateNumericHex(U,D){for(;D<U.length;){const H=U.charCodeAt(D);if(c(H)||h(H)){const ee=H<=o.NINE?H-o.ZERO:(H|l)-o.LOWER_A+10;this.result=this.result*16+ee,this.consumed++,D++}else return this.emitNumericEntity(H,3)}return-1}stateNumericDecimal(U,D){for(;D<U.length;){const H=U.charCodeAt(D);if(c(H))this.result=this.result*10+(H-o.ZERO),this.consumed++,D++;else return this.emitNumericEntity(H,2)}return-1}emitNumericEntity(U,D){var H;if(this.consumed<=D)return(H=this.errors)===null||H===void 0||H.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(U===o.SEMI)this.consumed+=1;else if(this.decodeMode===g.Strict)return 0;return this.emitCodePoint((0,t.replaceCodePoint)(this.result),this.consumed),this.errors&&(U!==o.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(U,D){const{decodeTree:H}=this;let ee=H[this.treeIndex],Z=(ee&a.BinTrieFlags.VALUE_LENGTH)>>14;for(;D<U.length;){if(Z===0&&(ee&a.BinTrieFlags.FLAG13)!==0){const L=(ee&a.BinTrieFlags.BRANCH_LENGTH)>>7;if(this.runConsumed===0){const q=ee&a.BinTrieFlags.JUMP_TABLE;if(U.charCodeAt(D)!==q)return this.result===0?0:this.emitNotTerminatedNamedEntity();D++,this.excess++,this.runConsumed++}for(;this.runConsumed<L;){if(D>=U.length)return-1;const q=this.runConsumed-1,W=H[this.treeIndex+1+(q>>1)],ce=q%2===0?W&255:W>>8&255;if(U.charCodeAt(D)!==ce)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();D++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(L>>1),ee=H[this.treeIndex],Z=(ee&a.BinTrieFlags.VALUE_LENGTH)>>14}if(D>=U.length)break;const G=U.charCodeAt(D);if(G===o.SEMI&&Z!==0&&(ee&a.BinTrieFlags.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,Z,this.consumed+this.excess);if(this.treeIndex=x(H,ee,this.treeIndex+Math.max(1,Z),G),this.treeIndex<0)return this.result===0||this.decodeMode===g.Attribute&&(Z===0||p(G))?0:this.emitNotTerminatedNamedEntity();if(ee=H[this.treeIndex],Z=(ee&a.BinTrieFlags.VALUE_LENGTH)>>14,Z!==0){if(G===o.SEMI)return this.emitNamedEntityData(this.treeIndex,Z,this.consumed+this.excess);this.decodeMode!==g.Strict&&(ee&a.BinTrieFlags.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}D++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var U;const{result:D,decodeTree:H}=this,ee=(H[D]&a.BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(D,ee,this.consumed),(U=this.errors)===null||U===void 0||U.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(U,D,H){const{decodeTree:ee}=this;return this.emitCodePoint(D===1?ee[U]&~(a.BinTrieFlags.VALUE_LENGTH|a.BinTrieFlags.FLAG13):ee[U+1],H),D===3&&this.emitCodePoint(ee[U+2],H),H}end(){var U;switch(this.state){case m.NamedEntity:return this.result!==0&&(this.decodeMode!==g.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case m.NumericDecimal:return this.emitNumericEntity(0,2);case m.NumericHex:return this.emitNumericEntity(0,3);case m.NumericStart:return(U=this.errors)===null||U===void 0||U.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case m.EntityStart:return 0}}}e.EntityDecoder=y;function v(j){let U="";const D=new y(j,H=>U+=(0,t.fromCodePoint)(H));return function(ee,Z){let G=0,L=0;for(;(L=ee.indexOf("&",L))>=0;){U+=ee.slice(G,L),D.startEntity(Z);const W=D.write(ee,L+1);if(W<0){G=L+D.end();break}G=L+W,L=W===0?G+1:G}const q=U+ee.slice(G);return U="",q}}function x(j,U,D,H){const ee=(U&a.BinTrieFlags.BRANCH_LENGTH)>>7,Z=U&a.BinTrieFlags.JUMP_TABLE;if(ee===0)return Z!==0&&H===Z?D:-1;if(Z){const W=H-Z;return W<0||W>=ee?-1:j[D+W]-1}const G=ee+1>>1;let L=0,q=ee-1;for(;L<=q;){const W=L+q>>>1,ce=W>>1,B=j[D+ce]>>(W&1)*8&255;if(B<H)L=W+1;else if(B>H)q=W-1;else return j[D+G+W]}return-1}const S=v(n.htmlDecodeTree),w=v(i.xmlDecodeTree);function _(j,U=g.Legacy){return S(j,U)}function T(j){return S(j,g.Attribute)}function E(j){return S(j,g.Strict)}function C(j){return w(j,g.Strict)}var k=KS();Object.defineProperty(e,"decodeCodePoint",{enumerable:!0,get:function(){return k.decodeCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return k.fromCodePoint}}),Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return k.replaceCodePoint}});var I=WS();Object.defineProperty(e,"htmlDecodeTree",{enumerable:!0,get:function(){return I.htmlDecodeTree}});var M=ZS();Object.defineProperty(e,"xmlDecodeTree",{enumerable:!0,get:function(){return M.xmlDecodeTree}})})(Xp)),Xp}var e_;function LC(){if(e_)return Lo;e_=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.QuoteType=void 0;const e=jC();var t;(function(d){d[d.Tab=9]="Tab",d[d.NewLine=10]="NewLine",d[d.FormFeed=12]="FormFeed",d[d.CarriageReturn=13]="CarriageReturn",d[d.Space
173=32]="Space",d[d.ExclamationMark=33]="ExclamationMark",d[d.Number=35]="Number",d[d.Amp=38]="Amp",d[d.SingleQuote=39]="SingleQuote",d[d.DoubleQuote=34]="DoubleQuote",d[d.Dash=45]="Dash",d[d.Slash=47]="Slash",d[d.Zero=48]="Zero",d[d.Nine=57]="Nine",d[d.Semi=59]="Semi",d[d.Lt=60]="Lt",d[d.Eq=61]="Eq",d[d.Gt=62]="Gt",d[d.Questionmark=63]="Questionmark",d[d.UpperA=65]="UpperA",d[d.LowerA=97]="LowerA",d[d.UpperF=70]="UpperF",d[d.LowerF=102]="LowerF",d[d.UpperZ=90]="UpperZ",d[d.LowerZ=122]="LowerZ",d[d.LowerX=120]="LowerX",d[d.OpeningSquareBracket=91]="OpeningSquareBracket"})(t||(t={}));var n;(function(d){d[d.Text=1]="Text",d[d.BeforeTagName=2]="BeforeTagName",d[d.InTagName=3]="InTagName",d[d.InSelfClosingTag=4]="InSelfClosingTag",d[d.BeforeClosingTagName=5]="BeforeClosingTagName",d[d.InClosingTagName=6]="InClosingTagName",d[d.AfterClosingTagName=7]="AfterClosingTagName",d[d.BeforeAttributeName=8]="BeforeAttributeName",d[d.InAttributeName=9]="InAttributeName",d[d.AfterAttributeName=10]="AfterAttributeName",d[d.BeforeAttributeValue=11]="BeforeAttributeValue",d[d.InAttributeValueDq=12]="InAttributeValueDq",d[d.InAttributeValueSq=13]="InAttributeValueSq",d[d.InAttributeValueNq=14]="InAttributeValueNq",d[d.BeforeDeclaration=15]="BeforeDeclaration",d[d.InDeclaration=16]="InDeclaration",d[d.InProcessingInstruction=17]="InProcessingInstruction",d[d.BeforeComment=18]="BeforeComment",d[d.CDATASequence=19]="CDATASequence",d[d.InSpecialComment=20]="InSpecialComment",d[d.InCommentLike=21]="InCommentLike",d[d.BeforeSpecialS=22]="BeforeSpecialS",d[d.BeforeSpecialT=23]="BeforeSpecialT",d[d.SpecialStartSequence=24]="SpecialStartSequence",d[d.InSpecialTag=25]="InSpecialTag",d[d.InEntity=26]="InEntity"})(n||(n={}));function i(d){return d===t.Space||d===t.NewLine||d===t.Tab||d===t.FormFeed||d===t.CarriageReturn}function a(d){return d===t.Slash||d===t.Gt||i(d)}function o(d){return d>=t.LowerA&&d<=t.LowerZ||d>=t.UpperA&&d<=t.UpperZ}var l;(function(d){d[d.NoValue=0]="NoValue",d[d.Unquoted=1]="Unquoted",d[d.Single=2]="Single",d[d.Double=3]="Double"})(l||(Lo.QuoteType=l={}));const c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};let h=class{constructor({xmlMode:p=!1,decodeEntities:m=!0},g){this.cbs=g,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=p,this.decodeEntities=m,this.entityDecoder=new e.EntityDecoder(p?e.xmlDecodeTree:e.htmlDecodeTree,(y,v)=>this.emitCodePoint(y,v))}reset(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(p){this.offset+=this.buffer.length,this.buffer=p,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(p){p===t.Lt||!this.decodeEntities&&this.fastForwardTo(t.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&p===t.Amp&&this.startEntity()}stateSpecialStartSequence(p){const m=this.sequenceIndex===this.currentSequence.length;if(!(m?a(p):(p|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(p)}stateInSpecialTag(p){if(this.sequenceIndex===this.currentSequence.length){if(p===t.Gt||i(p)){const m=this.index-this.currentSequence.length;if(this.sectionStart<m){const g=this.index;this.index=m,this.cbs.ontext(this.sectionStart,m),this.index=g}this.isSpecial=!1,this.sectionStart=m+2,this.stateInClosingTagName(p);return}this.sequenceIndex=0}(p|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===c.TitleEnd?this.decodeEntities&&p===t.Amp&&this.startEntity():this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(p===t.Lt)}stateCDATASequence(p){p===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(p))}fastForwardTo(p){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===p)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(p){p===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=n.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):p!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(p){return this.xmlMode?!a(p):o(p)}startSpecial(p,m){this.isSpecial=!0,this.currentSequence=p,this.sequenceIndex=m,this.state=n.SpecialStartSequence}stateBeforeTagName(p){if(p===t.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(p===t.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(p)){const m=p|32;this.sectionStart=this.index,this.xmlMode?this.state=n.InTagName:m===c.ScriptEnd[2]?this.state=n.BeforeSpecialS:m===c.TitleEnd[2]||m===c.XmpEnd[2]?this.state=n.BeforeSpecialT:this.state=n.InTagName}else p===t.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(p))}stateInTagName(p){a(p)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(p))}stateBeforeClosingTagName(p){i(p)||(p===t.Gt?this.state=n.Text:(this.state=this.isTagStartChar(p)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(p){(p===t.Gt||i(p))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(p))}stateAfterClosingTagName(p){(p===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=n.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(p){p===t.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.sectionStart=this.index+1):p===t.Slash?this.state=n.InSelfClosingTag:i(p)||(this.state=n.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(p){p===t.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(p)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(p))}
173stateInAttributeName(p){(p===t.Eq||a(p))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=n.AfterAttributeName,this.stateAfterAttributeName(p))}stateAfterAttributeName(p){p===t.Eq?this.state=n.BeforeAttributeValue:p===t.Slash||p===t.Gt?(this.cbs.onattribend(l.NoValue,this.sectionStart),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(p)):i(p)||(this.cbs.onattribend(l.NoValue,this.sectionStart),this.state=n.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(p){p===t.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):p===t.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):i(p)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(p))}handleInAttributeValue(p,m){p===m||!this.decodeEntities&&this.fastForwardTo(m)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(m===t.DoubleQuote?l.Double:l.Single,this.index+1),this.state=n.BeforeAttributeName):this.decodeEntities&&p===t.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(p){this.handleInAttributeValue(p,t.DoubleQuote)}stateInAttributeValueSingleQuotes(p){this.handleInAttributeValue(p,t.SingleQuote)}stateInAttributeValueNoQuotes(p){i(p)||p===t.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(p)):this.decodeEntities&&p===t.Amp&&this.startEntity()}stateBeforeDeclaration(p){p===t.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=p===t.Dash?n.BeforeComment:n.InDeclaration}stateInDeclaration(p){(p===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(p){(p===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)}stateBeforeComment(p){p===t.Dash?(this.state=n.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration}stateInSpecialComment(p){(p===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(p){const m=p|32;m===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):m===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(p))}stateBeforeSpecialT(p){switch(p|32){case c.TitleEnd[3]:{this.startSpecial(c.TitleEnd,4);break}case c.TextareaEnd[3]:{this.startSpecial(c.TextareaEnd,4);break}case c.XmpEnd[3]:{this.startSpecial(c.XmpEnd,4);break}default:this.state=n.InTagName,this.stateInTagName(p)}}startEntity(){this.baseState=this.state,this.state=n.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?e.DecodingMode.Strict:this.baseState===n.Text||this.baseState===n.InSpecialTag?e.DecodingMode.Legacy:e.DecodingMode.Attribute)}stateInEntity(){const p=this.index-this.offset,m=this.entityDecoder.write(this.buffer,p);if(m>=0)this.state=this.baseState,m===0&&(this.index-=1);else{if(p<this.buffer.length&&this.buffer.charCodeAt(p)===t.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const p=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(p);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(p);break}case n.InSpecialTag:{this.stateInSpecialTag(p);break}case n.CDATASequence:{this.stateCDATASequence(p);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(p);break}case n.InAttributeName:{this.stateInAttributeName(p);break}case n.InCommentLike:{this.stateInCommentLike(p);break}case n.InSpecialComment:{this.stateInSpecialComment(p);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(p);break}case n.InTagName:{this.stateInTagName(p);break}case n.InClosingTagName:{this.stateInClosingTagName(p);break}case n.BeforeTagName:{this.stateBeforeTagName(p);break}case n.AfterAttributeName:{this.stateAfterAttributeName(p);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(p);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(p);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(p);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(p);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(p);break}case n.BeforeSpecialT:{this.stateBeforeSpecialT(p);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(p);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(p);break}case n.InDeclaration:{this.stateInDeclaration(p);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(p);break}case n.BeforeComment:{this.stateBeforeComment(p);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(p);break}case n.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===n.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const p=this.buffer.length+this.offset;this.sectionStart>=p||(this.state===n.InCommentLike?this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,p,0):this.cbs.oncomment(this.sectionStart,p,0):this.state===n.InTagName||this.state===n.BeforeAttributeName||this.state===n.BeforeAttributeValue||this.state===n.AfterAttributeName||this.state===n.InAttributeName||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueDq||this.state===n.InAttributeValueNq||this.state===n.InClosingTagName||this.cbs.ontext(this.sectionStart,p))}emitCodePoint(p,m){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+m,this.index=this.sectionStart-1,this.cbs.onattribentity(p)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+m,this.index=this.sectionStart-1,this.cbs.ontextentity(p,this.sectionStart))}};return Lo.default=h,Lo}var t_;function n_(){if(t_)return Sr;t_=1;var e=Sr&&Sr.__createBinding||(Object.create?(function(S,w,_,T){T===void 0&&(T=_);var E=Object.getOwnPropertyDescriptor(w,_);(!E||("get"in E?!w.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return w[_]}}),Object.defineProperty(S,T,E)}):(function(S,w,_,T){T===void 0&&(T=_),S[T]=w[_]})),t=Sr&&Sr.__setModuleDefault||(Object.create?(function(S,w){Object.defineProperty(S,"default",{enumerable:!0,value:w})}):function(S,w){S.default=w}),n=Sr&&Sr.__importStar||(function(){var S=function(w){return S=Object.getOwnPropertyNames||function(_){var T=[];for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&(T[T.length]=E);return T},S(w)};return function(w){if(w&&w.__esModule)return w;var _={};if(w!=null)for(var T=S(w),E=0;E<T.length;E++)T[E]!=="default"&&e(_,w,T[E]);return t(_,w),_}})();
173Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.Parser=void 0;const i=n(LC()),a=jC(),o=new Set(["input","option","optgroup","select","button","datalist","textarea"]),l=new Set(["p"]),c=new Set(["thead","tbody"]),h=new Set(["dd","dt"]),d=new Set(["rt","rp"]),p=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",l],["h1",l],["h2",l],["h3",l],["h4",l],["h5",l],["h6",l],["select",o],["input",o],["output",o],["button",o],["datalist",o],["textarea",o],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",h],["dt",h],["address",l],["article",l],["aside",l],["blockquote",l],["details",l],["div",l],["dl",l],["fieldset",l],["figcaption",l],["figure",l],["footer",l],["form",l],["header",l],["hr",l],["main",l],["nav",l],["ol",l],["pre",l],["section",l],["table",l],["ul",l],["rt",d],["rp",d],["tbody",c],["tfoot",c]]),m=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),g=new Set(["math","svg"]),y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),v=/\s|\//;let x=class{constructor(w,_={}){var T,E,C,k,I,M;this.options=_,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=w??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(T=_.lowerCaseTags)!==null&&T!==void 0?T:this.htmlMode,this.lowerCaseAttributeNames=(E=_.lowerCaseAttributeNames)!==null&&E!==void 0?E:this.htmlMode,this.recognizeSelfClosing=(C=_.recognizeSelfClosing)!==null&&C!==void 0?C:!this.htmlMode,this.tokenizer=new((k=_.Tokenizer)!==null&&k!==void 0?k:i.default)(this.options,this),this.foreignContext=[!this.htmlMode],(M=(I=this.cbs).onparserinit)===null||M===void 0||M.call(I,this)}ontext(w,_){var T,E;const C=this.getSlice(w,_);this.endIndex=_-1,(E=(T=this.cbs).ontext)===null||E===void 0||E.call(T,C),this.startIndex=_}ontextentity(w,_){var T,E;this.endIndex=_-1,(E=(T=this.cbs).ontext)===null||E===void 0||E.call(T,(0,a.fromCodePoint)(w)),this.startIndex=_}isVoidElement(w){return this.htmlMode&&m.has(w)}onopentagname(w,_){this.endIndex=_;let T=this.getSlice(w,_);this.lowerCaseTagNames&&(T=T.toLowerCase()),this.emitOpenTag(T)}emitOpenTag(w){var _,T,E,C;this.openTagStart=this.startIndex,this.tagname=w;const k=this.htmlMode&&p.get(w);if(k)for(;this.stack.length>0&&k.has(this.stack[0]);){const I=this.stack.shift();(T=(_=this.cbs).onclosetag)===null||T===void 0||T.call(_,I,!0)}this.isVoidElement(w)||(this.stack.unshift(w),this.htmlMode&&(g.has(w)?this.foreignContext.unshift(!0):y.has(w)&&this.foreignContext.unshift(!1))),(C=(E=this.cbs).onopentagname)===null||C===void 0||C.call(E,w),this.cbs.onopentag&&(this.attribs={})}endOpenTag(w){var _,T;this.startIndex=this.openTagStart,this.attribs&&((T=(_=this.cbs).onopentag)===null||T===void 0||T.call(_,this.tagname,this.attribs,w),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(w){this.endIndex=w,this.endOpenTag(!1),this.startIndex=w+1}onclosetag(w,_){var T,E,C,k,I,M,j,U;this.endIndex=_;let D=this.getSlice(w,_);if(this.lowerCaseTagNames&&(D=D.toLowerCase()),this.htmlMode&&(g.has(D)||y.has(D))&&this.foreignContext.shift(),this.isVoidElement(D))this.htmlMode&&D==="br"&&((k=(C=this.cbs).onopentagname)===null||k===void 0||k.call(C,"br"),(M=(I=this.cbs).onopentag)===null||M===void 0||M.call(I,"br",{},!0),(U=(j=this.cbs).onclosetag)===null||U===void 0||U.call(j,"br",!1));else{const H=this.stack.indexOf(D);if(H!==-1)for(let ee=0;ee<=H;ee++){const Z=this.stack.shift();(E=(T=this.cbs).onclosetag)===null||E===void 0||E.call(T,Z,ee!==H)}else this.htmlMode&&D==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=_+1}onselfclosingtag(w){this.endIndex=w,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=w+1):this.onopentagend(w)}closeCurrentTag(w){var _,T;const E=this.tagname;
173this.endOpenTag(w),this.stack[0]===E&&((T=(_=this.cbs).onclosetag)===null||T===void 0||T.call(_,E,!w),this.stack.shift())}onattribname(w,_){this.startIndex=w;const T=this.getSlice(w,_);this.attribname=this.lowerCaseAttributeNames?T.toLowerCase():T}onattribdata(w,_){this.attribvalue+=this.getSlice(w,_)}onattribentity(w){this.attribvalue+=(0,a.fromCodePoint)(w)}onattribend(w,_){var T,E;this.endIndex=_,(E=(T=this.cbs).onattribute)===null||E===void 0||E.call(T,this.attribname,this.attribvalue,w===i.QuoteType.Double?'"':w===i.QuoteType.Single?"'":w===i.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(w){const _=w.search(v);let T=_<0?w:w.substr(0,_);return this.lowerCaseTagNames&&(T=T.toLowerCase()),T}ondeclaration(w,_){this.endIndex=_;const T=this.getSlice(w,_);if(this.cbs.onprocessinginstruction){const E=this.getInstructionName(T);this.cbs.onprocessinginstruction(`!${E}`,`!${T}`)}this.startIndex=_+1}onprocessinginstruction(w,_){this.endIndex=_;const T=this.getSlice(w,_);if(this.cbs.onprocessinginstruction){const E=this.getInstructionName(T);this.cbs.onprocessinginstruction(`?${E}`,`?${T}`)}this.startIndex=_+1}oncomment(w,_,T){var E,C,k,I;this.endIndex=_,(C=(E=this.cbs).oncomment)===null||C===void 0||C.call(E,this.getSlice(w,_-T)),(I=(k=this.cbs).oncommentend)===null||I===void 0||I.call(k),this.startIndex=_+1}oncdata(w,_,T){var E,C,k,I,M,j,U,D,H,ee;this.endIndex=_;const Z=this.getSlice(w,_-T);!this.htmlMode||this.options.recognizeCDATA?((C=(E=this.cbs).oncdatastart)===null||C===void 0||C.call(E),(I=(k=this.cbs).ontext)===null||I===void 0||I.call(k,Z),(j=(M=this.cbs).oncdataend)===null||j===void 0||j.call(M)):((D=(U=this.cbs).oncomment)===null||D===void 0||D.call(U,`[CDATA[${Z}]]`),(ee=(H=this.cbs).oncommentend)===null||ee===void 0||ee.call(H)),this.startIndex=_+1}onend(){var w,_;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let T=0;T<this.stack.length;T++)this.cbs.onclosetag(this.stack[T],!0)}(_=(w=this.cbs).onend)===null||_===void 0||_.call(w)}reset(){var w,_,T,E;(_=(w=this.cbs).onreset)===null||_===void 0||_.call(w),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(E=(T=this.cbs).onparserinit)===null||E===void 0||E.call(T,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(w){this.reset(),this.end(w)}getSlice(w,_){for(;w-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let T=this.buffers[0].slice(w-this.bufferOffset,_-this.bufferOffset);for(;_-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),T+=this.buffers[0].slice(0,_-this.bufferOffset);return T}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(w){var _,T;if(this.ended){(T=(_=this.cbs).onerror)===null||T===void 0||T.call(_,new Error(".write() after done!"));return}this.buffers.push(w),this.tokenizer.running&&(this.tokenizer.write(w),this.writeIndex++)}end(w){var _,T;if(this.ended){(T=(_=this.cbs).onerror)===null||T===void 0||T.call(_,new Error(".end() after done!"));return}w&&this.write(w),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(w){this.write(w)}done(w){this.end(w)}};return Sr.Parser=x,Sr}var Aa={},tm={},r_;function Zl(){return r_||(r_=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(i){i.Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function n(i){return i.type===t.Tag||i.type===t.Script||i.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(tm)),tm}var Ke={},i_;function s_(){if(i_)return Ke;i_=1;var e=Ke&&Ke.__extends||(function(){var C=function(k,I){return C=Object.
vendor: 4,139 bytes, line 173
173setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,j){M.__proto__=j}||function(M,j){for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&(M[U]=j[U])},C(k,I)};return function(k,I){if(typeof I!="function"&&I!==null)throw new TypeError("Class extends value "+String(I)+" is not a constructor or null");C(k,I);function M(){this.constructor=k}k.prototype=I===null?Object.create(I):(M.prototype=I.prototype,new M)}})(),t=Ke&&Ke.__assign||function(){return t=Object.assign||function(C){for(var k,I=1,M=arguments.length;I<M;I++){k=arguments[I];for(var j in k)Object.prototype.hasOwnProperty.call(k,j)&&(C[j]=k[j])}return C},t.apply(this,arguments)};Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.cloneNode=Ke.hasChildren=Ke.isDocument=Ke.isDirective=Ke.isComment=Ke.isText=Ke.isCDATA=Ke.isTag=Ke.Element=Ke.Document=Ke.CDATA=Ke.NodeWithChildren=Ke.ProcessingInstruction=Ke.Comment=Ke.Text=Ke.DataNode=Ke.Node=void 0;var n=Zl(),i=(function(){function C(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(C.prototype,"parentNode",{get:function(){return this.parent},set:function(k){this.parent=k},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"previousSibling",{get:function(){return this.prev},set:function(k){this.prev=k},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"nextSibling",{get:function(){return this.next},set:function(k){this.next=k},enumerable:!1,configurable:!0}),C.prototype.cloneNode=function(k){return k===void 0&&(k=!1),T(this,k)},C})();Ke.Node=i;var a=(function(C){e(k,C);function k(I){var M=C.call(this)||this;return M.data=I,M}return Object.defineProperty(k.prototype,"nodeValue",{get:function(){return this.data},set:function(I){this.data=I},enumerable:!1,configurable:!0}),k})(i);Ke.DataNode=a;var o=(function(C){e(k,C);function k(){var I=C!==null&&C.apply(this,arguments)||this;return I.type=n.ElementType.Text,I}return Object.defineProperty(k.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),k})(a);Ke.Text=o;var l=(function(C){e(k,C);function k(){var I=C!==null&&C.apply(this,arguments)||this;return I.type=n.ElementType.Comment,I}return Object.defineProperty(k.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),k})(a);Ke.Comment=l;var c=(function(C){e(k,C);function k(I,M){var j=C.call(this,M)||this;return j.name=I,j.type=n.ElementType.Directive,j}return Object.defineProperty(k.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),k})(a);Ke.ProcessingInstruction=c;var h=(function(C){e(k,C);function k(I){var M=C.call(this)||this;return M.children=I,M}return Object.defineProperty(k.prototype,"firstChild",{get:function(){var I;return(I=this.children[0])!==null&&I!==void 0?I:null},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"childNodes",{get:function(){return this.children},set:function(I){this.children=I},enumerable:!1,configurable:!0}),k})(i);Ke.NodeWithChildren=h;var d=(function(C){e(k,C);function k(){var I=C!==null&&C.apply(this,arguments)||this;return I.type=n.ElementType.CDATA,I}return Object.defineProperty(k.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),k})(h);Ke.CDATA=d;var p=(function(C){e(k,C);function k(){var I=C!==null&&C.apply(this,arguments)||this;return I.type=n.ElementType.Root,I}return Object.defineProperty(k.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),k})(h);Ke.Document=p;var m=(function(C){e(k,C);function k(I,M,j,U){j===void 0&&(j=[]),U===void 0&&(U=I==="script"?n.ElementType.Script:I==="style"?n.ElementType.Style:n.ElementType.Tag);var D=C.call(this,j)||this;return D.name=I,D.attribs=M,D.type=U,D}return Object.defineProperty(k.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"tagName",{get:function(){return this.name},set:function(I){this.name=I}
vendor: 4,180 bytes, line 173
173,enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"attributes",{get:function(){var I=this;return Object.keys(this.attribs).map(function(M){var j,U;return{name:M,value:I.attribs[M],namespace:(j=I["x-attribsNamespace"])===null||j===void 0?void 0:j[M],prefix:(U=I["x-attribsPrefix"])===null||U===void 0?void 0:U[M]}})},enumerable:!1,configurable:!0}),k})(h);Ke.Element=m;function g(C){return(0,n.isTag)(C)}Ke.isTag=g;function y(C){return C.type===n.ElementType.CDATA}Ke.isCDATA=y;function v(C){return C.type===n.ElementType.Text}Ke.isText=v;function x(C){return C.type===n.ElementType.Comment}Ke.isComment=x;function S(C){return C.type===n.ElementType.Directive}Ke.isDirective=S;function w(C){return C.type===n.ElementType.Root}Ke.isDocument=w;function _(C){return Object.prototype.hasOwnProperty.call(C,"children")}Ke.hasChildren=_;function T(C,k){k===void 0&&(k=!1);var I;if(v(C))I=new o(C.data);else if(x(C))I=new l(C.data);else if(g(C)){var M=k?E(C.children):[],j=new m(C.name,t({},C.attribs),M);M.forEach(function(ee){return ee.parent=j}),C.namespace!=null&&(j.namespace=C.namespace),C["x-attribsNamespace"]&&(j["x-attribsNamespace"]=t({},C["x-attribsNamespace"])),C["x-attribsPrefix"]&&(j["x-attribsPrefix"]=t({},C["x-attribsPrefix"])),I=j}else if(y(C)){var M=k?E(C.children):[],U=new d(M);M.forEach(function(Z){return Z.parent=U}),I=U}else if(w(C)){var M=k?E(C.children):[],D=new p(M);M.forEach(function(Z){return Z.parent=D}),C["x-mode"]&&(D["x-mode"]=C["x-mode"]),I=D}else if(S(C)){var H=new c(C.name,C.data);C["x-name"]!=null&&(H["x-name"]=C["x-name"],H["x-publicId"]=C["x-publicId"],H["x-systemId"]=C["x-systemId"]),I=H}else throw new Error("Not implemented yet: ".concat(C.type));return I.startIndex=C.startIndex,I.endIndex=C.endIndex,C.sourceCodeLocation!=null&&(I.sourceCodeLocation=C.sourceCodeLocation),I}Ke.cloneNode=T;function E(C){for(var k=C.map(function(M){return T(M,!0)}),I=1;I<k.length;I++)k[I].prev=k[I-1],k[I-1].next=k[I];return k}return Ke}var a_;function js(){return a_||(a_=1,(function(e){var t=Aa&&Aa.__createBinding||(Object.create?(function(c,h,d,p){p===void 0&&(p=d);var m=Object.getOwnPropertyDescriptor(h,d);(!m||("get"in m?!h.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return h[d]}}),Object.defineProperty(c,p,m)}):(function(c,h,d,p){p===void 0&&(p=d),c[p]=h[d]})),n=Aa&&Aa.__exportStar||function(c,h){for(var d in c)d!=="default"&&!Object.prototype.hasOwnProperty.call(h,d)&&t(h,c,d)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var i=Zl(),a=s_();n(s_(),e);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=(function(){function c(h,d,p){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof d=="function"&&(p=d,d=o),typeof h=="object"&&(d=h,h=void 0),this.callback=h??null,this.options=d??o,this.elementCB=p??null}return c.prototype.onparserinit=function(h){this.parser=h},c.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},c.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},c.prototype.onerror=function(h){this.handleCallback(h)},c.prototype.onclosetag=function(){this.lastNode=null;var h=this.tagStack.pop();this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(h)},c.prototype.onopentag=function(h,d){var p=this.options.xmlMode?i.ElementType.Tag:void 0,m=new a.Element(h,d,void 0,p);this.addNode(m),this.tagStack.push(m)},c.prototype.ontext=function(h){var d=this.lastNode;if(d&&d.type===i.ElementType.Text)d.data+=h,this.options.withEndIndices&&(d.endIndex=this.parser.endIndex);else{var p=new a.Text(h);this.addNode(p),this.lastNode=p}},c.prototype.oncomment=function(h){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment){this.lastNode.data+=h;return}var d=new a.Comment(h);this.addNode(d),this.lastNode=d},c.prototype.oncommentend=function(){this.lastNode=null},c.prototype.oncdatastart=function(){var h=new a.Text(""),d=new a.CDATA([h]);this.addNode(d),h.parent=d,this.lastNode=h}
173,c.prototype.oncdataend=function(){this.lastNode=null},c.prototype.onprocessinginstruction=function(h,d){var p=new a.ProcessingInstruction(h,d);this.addNode(p)},c.prototype.handleCallback=function(h){if(typeof this.callback=="function")this.callback(h,this.dom);else if(h)throw h},c.prototype.addNode=function(h){var d=this.tagStack[this.tagStack.length-1],p=d.children[d.children.length-1];this.options.withStartIndices&&(h.startIndex=this.parser.startIndex),this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),d.children.push(h),p&&(h.prev=p,p.next=h),h.parent=d,this.lastNode=null},c})();e.DomHandler=l,e.default=l})(Aa)),Aa}var ya={},Hr={},jn={},nm={},_r={},Kd={},o_;function oU(){return o_||(o_=1,Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.default=new Uint16Array('
vendor: 16,129 bytes, line 173
173ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;æ©°cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;æ§«riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0á ±;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0á«¢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;æ©­nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0á­µr;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;oá³§á³°ntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;æ§¶rok;䄑Ādrá¶°á¶´ot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;æ§£us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0á¾½g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 173
173䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 173
173astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
173'.split("").map(function(e){return e.charCodeAt(0)}))),Kd}var Yd={},u_;function uU(){return u_||(u_=1,Object.defineProperty(Yd,"__esModule",{value:!0}),Yd.default=new Uint16Array("Ȁaglq	��\x1BÉ­�\0\0�p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),Yd}var rm={},l_;function c_(){return l_||(l_=1,(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(o){var l="";return o>65535&&(o-=65536,l+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),l+=String.fromCharCode(o),l};function i(o){var l;return o>=55296&&o<=57343||o>1114111?65533:(l=n.get(o))!==null&&l!==void 0?l:o}e.replaceCodePoint=i;function a(o){return(0,e.fromCodePoint)(i(o))}e.default=a})(rm)),rm}var d_;function f_(){return d_||(d_=1,(function(e){var t=_r&&_r.__createBinding||(Object.create?(function(D,H,ee,Z){Z===void 0&&(Z=ee);var G=Object.getOwnPropertyDescriptor(H,ee);(!G||("get"in G?!H.__esModule:G.writable||G.configurable))&&(G={enumerable:!0,get:function(){return H[ee]}}),Object.defineProperty(D,Z,G)}):(function(D,H,ee,Z){Z===void 0&&(Z=ee),D[Z]=H[ee]})),n=_r&&_r.__setModuleDefault||(Object.create?(function(D,H){Object.defineProperty(D,"default",{enumerable:!0,value:H})}):function(D,H){D.default=H}),i=_r&&_r.__importStar||function(D){if(D&&D.__esModule)return D;var H={};if(D!=null)for(var ee in D)ee!=="default"&&Object.prototype.hasOwnProperty.call(D,ee)&&t(H,D,ee);return n(H,D),H},a=_r&&_r.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var o=a(oU());e.htmlDecodeTree=o.default;var l=a(uU());e.xmlDecodeTree=l.default;var c=i(c_());e.decodeCodePoint=c.default;var h=c_();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}});var d;(function(D){D[D.NUM=35]="NUM",D[D.SEMI=59]="SEMI",D[D.EQUALS=61]="EQUALS",D[D.ZERO=48]="ZERO",D[D.NINE=57]="NINE",D[D.LOWER_A=97]="LOWER_A",D[D.LOWER_F=102]="LOWER_F",D[D.LOWER_X=120]="LOWER_X",D[D.LOWER_Z=122]="LOWER_Z",D[D.UPPER_A=65]="UPPER_A",D[D.UPPER_F=70]="UPPER_F",D[D.UPPER_Z=90]="UPPER_Z"})(d||(d={}));var p=32,m;
vendor: 5,478 bytes, line 173
173(function(D){D[D.VALUE_LENGTH=49152]="VALUE_LENGTH",D[D.BRANCH_LENGTH=16256]="BRANCH_LENGTH",D[D.JUMP_TABLE=127]="JUMP_TABLE"})(m=e.BinTrieFlags||(e.BinTrieFlags={}));function g(D){return D>=d.ZERO&&D<=d.NINE}function y(D){return D>=d.UPPER_A&&D<=d.UPPER_F||D>=d.LOWER_A&&D<=d.LOWER_F}function v(D){return D>=d.UPPER_A&&D<=d.UPPER_Z||D>=d.LOWER_A&&D<=d.LOWER_Z||g(D)}function x(D){return D===d.EQUALS||v(D)}var S;(function(D){D[D.EntityStart=0]="EntityStart",D[D.NumericStart=1]="NumericStart",D[D.NumericDecimal=2]="NumericDecimal",D[D.NumericHex=3]="NumericHex",D[D.NamedEntity=4]="NamedEntity"})(S||(S={}));var w;(function(D){D[D.Legacy=0]="Legacy",D[D.Strict=1]="Strict",D[D.Attribute=2]="Attribute"})(w=e.DecodingMode||(e.DecodingMode={}));var _=(function(){function D(H,ee,Z){this.decodeTree=H,this.emitCodePoint=ee,this.errors=Z,this.state=S.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=w.Strict}return D.prototype.startEntity=function(H){this.decodeMode=H,this.state=S.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},D.prototype.write=function(H,ee){switch(this.state){case S.EntityStart:return H.charCodeAt(ee)===d.NUM?(this.state=S.NumericStart,this.consumed+=1,this.stateNumericStart(H,ee+1)):(this.state=S.NamedEntity,this.stateNamedEntity(H,ee));case S.NumericStart:return this.stateNumericStart(H,ee);case S.NumericDecimal:return this.stateNumericDecimal(H,ee);case S.NumericHex:return this.stateNumericHex(H,ee);case S.NamedEntity:return this.stateNamedEntity(H,ee)}},D.prototype.stateNumericStart=function(H,ee){return ee>=H.length?-1:(H.charCodeAt(ee)|p)===d.LOWER_X?(this.state=S.NumericHex,this.consumed+=1,this.stateNumericHex(H,ee+1)):(this.state=S.NumericDecimal,this.stateNumericDecimal(H,ee))},D.prototype.addToNumericResult=function(H,ee,Z,G){if(ee!==Z){var L=Z-ee;this.result=this.result*Math.pow(G,L)+parseInt(H.substr(ee,L),G),this.consumed+=L}},D.prototype.stateNumericHex=function(H,ee){for(var Z=ee;ee<H.length;){var G=H.charCodeAt(ee);if(g(G)||y(G))ee+=1;else return this.addToNumericResult(H,Z,ee,16),this.emitNumericEntity(G,3)}return this.addToNumericResult(H,Z,ee,16),-1},D.prototype.stateNumericDecimal=function(H,ee){for(var Z=ee;ee<H.length;){var G=H.charCodeAt(ee);if(g(G))ee+=1;else return this.addToNumericResult(H,Z,ee,10),this.emitNumericEntity(G,2)}return this.addToNumericResult(H,Z,ee,10),-1},D.prototype.emitNumericEntity=function(H,ee){var Z;if(this.consumed<=ee)return(Z=this.errors)===null||Z===void 0||Z.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(H===d.SEMI)this.consumed+=1;else if(this.decodeMode===w.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(H!==d.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},D.prototype.stateNamedEntity=function(H,ee){for(var Z=this.decodeTree,G=Z[this.treeIndex],L=(G&m.VALUE_LENGTH)>>14;ee<H.length;ee++,this.excess++){var q=H.charCodeAt(ee);if(this.treeIndex=E(Z,G,this.treeIndex+Math.max(1,L),q),this.treeIndex<0)return this.result===0||this.decodeMode===w.Attribute&&(L===0||x(q))?0:this.emitNotTerminatedNamedEntity();if(G=Z[this.treeIndex],L=(G&m.VALUE_LENGTH)>>14,L!==0){if(q===d.SEMI)return this.emitNamedEntityData(this.treeIndex,L,this.consumed+this.excess);this.decodeMode!==w.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},D.prototype.emitNotTerminatedNamedEntity=function(){var H,ee=this,Z=ee.result,G=ee.decodeTree,L=(G[Z]&m.VALUE_LENGTH)>>14;return this.emitNamedEntityData(Z,L,this.consumed),(H=this.errors)===null||H===void 0||H.missingSemicolonAfterCharacterReference(),this.consumed},D.prototype.emitNamedEntityData=function(H,ee,Z){var G=this.decodeTree;return this.emitCodePoint(ee===1?G[H]&~m.VALUE_LENGTH:G[H+1],Z),ee===3&&this.emitCodePoint(G[H+2],Z),Z},D.prototype.end=function(){var H;switch(this.state){case S.NamedEntity:return this.result!==0&&(this.decodeMode!==w.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case S.NumericDecimal:return this.emitNumericEntity(0,2);case S.NumericHex:return this.emitNumericEntity(0,3);case S.NumericStart:return(H=this.errors)===null||H===void 0||H.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case S.EntityStart:return 0}},D})();e.EntityDecoder=_;function T(D){var H="",ee=new _(D,function(Z){return H+=(0,c.fromCodePoint)(Z)});return function(G,L){for(var q=0,W=0;(W=G.indexOf("&",W))>=0;){H+=G.slice(q,W),ee.startEntity(L);var ce=ee.write(G,W+1);if(ce<0){q=W+ee.end();break}q=W+ce,W=ce===0?q+1:q}var ne=H+G.slice(q);return H="",ne}}function E(D,H,ee,Z){var G=(H&m.BRANCH_LENGTH)>>7,L=H&m.JUMP_TABLE;if(G===0)return L!==0&&Z===L?ee:-1;if(L){var q=Z-L;return q<0||q>=G?-1:D[ee+q]-1}for(var W=ee,ce=W+G-1;W<=ce;){var ne=W+ce>>>1,B=D[ne];if(B<Z)W=ne+1;else if(B>Z)ce=ne-1;else return D[ne+G]}return-1}e.determineBranch=E;var C=T(o.default),k=T(l.default);function I(D,H){return H===void 0&&(H=w.Legacy),C(D,H)}e.decodeHTML=I;function M(D){return C(D,w.Attribute)}e.decodeHTMLAttribute=M;function j(D){return C(D,w.Strict)}e.decodeHTMLStrict=j;function U(D){return k(D,w.Strict)}e.decodeXML=U})(_r)),_r}var Si={},Vd={},h_;function lU(){if(h_)return Vd;h_=1,Object.defineProperty(Vd,"__esModule",{value:!0});function e(t){for(var n=1;n<t.length;n++)t[n][0]+=t[n-1][0]+1;return t}return Vd.default=new Map(e
vendor: 7,341 bytes, line 173
173([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;
vendor: 15,990 bytes, line 173
173"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(e([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(e([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(e([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))
173,Vd}var im={},p_;function xg(){return p_||(p_=1,(function(e){Object.defineProperty(e,"__esMo
173dule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(a,o){return a.codePointAt(o)}:function(a,o){return(a.charCodeAt(o)&64512)===55296?(a.charCodeAt(o)-55296)*1024+a.charCodeAt(o+1)-56320+65536:a.charCodeAt(o)};function n(a){for(var o="",l=0,c;(c=e.xmlReplacer.exec(a))!==null;){var h=c.index,d=a.charCodeAt(h),p=t.get(d);p!==void 0?(o+=a.substring(l,h)+p,l=h+1):(o+="".concat(a.substring(l,h),"&#x").concat((0,e.getCodePoint)(a,h).toString(16),";"),l=e.xmlReplacer.lastIndex+=+((d&64512)===55296))}return o+a.substr(l)}e.encodeXML=n,e.escape=n;function i(a,o){return function(c){for(var h,d=0,p="";h=a.exec(c);)d!==h.index&&(p+=c.substring(d,h.index)),p+=o.get(h[0].charCodeAt(0)),d=h.index+1;return p+c.substring(d)}}e.escapeUTF8=i(/[&<>'"]/g,t),e.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),e.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))})(im)),im}var m_;function g_(){if(m_)return Si;m_=1;var e=Si&&Si.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Si,"__esModule",{value:!0}),Si.encodeNonAsciiHTML=Si.encodeHTML=void 0;var t=e(lU()),n=xg(),i=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a(c){return l(i,c)}Si.encodeHTML=a;function o(c){return l(n.xmlReplacer,c)}Si.encodeNonAsciiHTML=o;function l(c,h){for(var d="",p=0,m;(m=c.exec(h))!==null;){var g=m.index;d+=h.substring(p,g);var y=h.charCodeAt(g),v=t.default.get(y);
vendor: 7,032 bytes, line 173
173if(typeof v=="object"){if(g+1<h.length){var x=h.charCodeAt(g+1),S=typeof v.n=="number"?v.n===x?v.o:void 0:v.n.get(x);if(S!==void 0){d+=S,p=c.lastIndex+=1;continue}}v=v.v}if(v!==void 0)d+=v,p=g+1;else{var w=(0,n.getCodePoint)(h,g);d+="&#x".concat(w.toString(16),";"),p=c.lastIndex+=+(w!==y)}}return d+h.substr(p)}return Si}var A_;function cU(){return A_||(A_=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLAttribute=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.DecodingMode=e.EntityDecoder=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.EntityLevel=void 0;var t=f_(),n=g_(),i=xg(),a;(function(g){g[g.XML=0]="XML",g[g.HTML=1]="HTML"})(a=e.EntityLevel||(e.EntityLevel={}));var o;(function(g){g[g.UTF8=0]="UTF8",g[g.ASCII=1]="ASCII",g[g.Extensive=2]="Extensive",g[g.Attribute=3]="Attribute",g[g.Text=4]="Text"})(o=e.EncodingMode||(e.EncodingMode={}));function l(g,y){y===void 0&&(y=a.XML);var v=typeof y=="number"?y:y.level;if(v===a.HTML){var x=typeof y=="object"?y.mode:void 0;return(0,t.decodeHTML)(g,x)}return(0,t.decodeXML)(g)}e.decode=l;function c(g,y){var v;y===void 0&&(y=a.XML);var x=typeof y=="number"?{level:y}:y;return(v=x.mode)!==null&&v!==void 0||(x.mode=t.DecodingMode.Strict),l(g,x)}e.decodeStrict=c;function h(g,y){y===void 0&&(y=a.XML);var v=typeof y=="number"?{level:y}:y;return v.mode===o.UTF8?(0,i.escapeUTF8)(g):v.mode===o.Attribute?(0,i.escapeAttribute)(g):v.mode===o.Text?(0,i.escapeText)(g):v.level===a.HTML?v.mode===o.ASCII?(0,n.encodeNonAsciiHTML)(g):(0,n.encodeHTML)(g):(0,i.encodeXML)(g)}e.encode=h;var d=xg();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return d.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return d.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return d.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return d.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return d.escapeText}});var p=g_();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return p.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return p.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return p.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return p.encodeHTML}});var m=f_();Object.defineProperty(e,"EntityDecoder",{enumerable:!0,get:function(){return m.EntityDecoder}}),Object.defineProperty(e,"DecodingMode",{enumerable:!0,get:function(){return m.DecodingMode}}),Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return m.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTMLAttribute",{enumerable:!0,get:function(){return m.decodeHTMLAttribute}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return m.decodeXML}})})(nm)),nm}var ba={},y_;function dU(){return y_||(y_=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.attributeNames=ba.elementNames=void 0,ba.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),ba.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))),ba}var b_;function fU(){if(b_)return jn;b_=1;var e=jn&&jn.__assign||function(){return e=Object.assign||function(E){for(var C,k=1,I=arguments.length;k<I;k++){C=arguments[k];for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&(E[M]=C[M])}return E},e.apply(this,arguments)},t=jn&&jn.__createBinding||(Object.create?(function(E,C,k,I){I===void 0&&(I=k);var M=Object.getOwnPropertyDescriptor(C,k);(!M||("get"in M?!C.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return C[k]}}),Object.defineProperty(E,I,M)}):(function(E,C,k,I){I===void 0&&(I=k),E[I]=C[k]})),n=jn&&jn.__setModuleDefault||(Object.create?(function(E,C){Object.defineProperty(E,"default",{enumerable:!0,value:C})}):function(E,C){E.default=C}),i=jn&&jn.__importStar||function(E){if(E&&E.__esModule)return E;var C={};if(E!=null)for(var k in E)k!=="default"&&Object.prototype.hasOwnProperty.call(E,k)&&t(C,E,k);return n(C,E),C};Object.defineProperty(jn,"__esModule",{value:!0}),jn.render=void 0;var a=i(Zl()),o=cU(),l=dU(),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function h(E){return E.replace(/"/g,"&quot;")}function d(E,C){var k;if(E){var I=((k=C.encodeEntities)!==null&&k!==void 0?k:C.decodeEntities)===!1?h:C.xmlMode||C.encodeEntities!=="utf8"?o.encodeXML:o.escapeAttribute;return Object.keys(E).map(function(M){var j,U,D=(j=E[M])!==null&&j!==void 0?j:"";return C.xmlMode==="foreign"&&(M=(U=l.attributeNames.get(M))!==null&&U!==void 0?U:M),!C.emptyAttrs&&!C.xmlMode&&D===""?M:"".concat(M,'="').concat(I(D),'"')}).join(" ")}}var p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
173img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function m(E,C){C===void 0&&(C={});for(var k=("length"in E)?E:[E],I="",M=0;M<k.length;M++)I+=g(k[M],C);return I}jn.render=m,jn.default=m;function g(E,C){switch(E.type){case a.Root:return m(E.children,C);case a.Doctype:case a.Directive:return S(E);case a.Comment:return T(E);case a.CDATA:return _(E);case a.Script:case a.Style:case a.Tag:return x(E,C);case a.Text:return w(E,C)}}var y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),v=new Set(["svg","math"]);function x(E,C){var k;C.xmlMode==="foreign"&&(E.name=(k=l.elementNames.get(E.name))!==null&&k!==void 0?k:E.name,E.parent&&y.has(E.parent.name)&&(C=e(e({},C),{xmlMode:!1}))),!C.xmlMode&&v.has(E.name)&&(C=e(e({},C),{xmlMode:"foreign"}));var I="<".concat(E.name),M=d(E.attribs,C);return M&&(I+=" ".concat(M)),E.children.length===0&&(C.xmlMode?C.selfClosingTags!==!1:C.selfClosingTags&&p.has(E.name))?(C.xmlMode||(I+=" "),I+="/>"):(I+=">",E.children.length>0&&(I+=m(E.children,C)),(C.xmlMode||!p.has(E.name))&&(I+="</".concat(E.name,">"))),I}function S(E){return"<".concat(E.data,">")}function w(E,C){var k,I=E.data||"";return((k=C.encodeEntities)!==null&&k!==void 0?k:C.decodeEntities)!==!1&&!(!C.xmlMode&&E.parent&&c.has(E.parent.name))&&(I=C.xmlMode||C.encodeEntities!=="utf8"?(0,o.encodeXML)(I):(0,o.escapeText)(I)),I}function _(E){return"<![CDATA[".concat(E.children[0].data,"]]>")}function T(E){return"<!--".concat(E.data,"-->")}return jn}var v_;function PC(){if(v_)return Hr;v_=1;var e=Hr&&Hr.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.getOuterHTML=a,Hr.getInnerHTML=o,Hr.getText=l,Hr.textContent=c,Hr.innerText=h;var t=js(),n=e(fU()),i=Zl();function a(d,p){return(0,n.default)(d,p)}function o(d,p){return(0,t.hasChildren)(d)?d.children.map(function(m){return a(m,p)}).join(""):""}function l(d){return Array.isArray(d)?d.map(l).join(""):(0,t.isTag)(d)?d.name==="br"?`
174`:l(d.children):(0,t.isCDATA)(d)?l(d.children):(0,t.isText)(d)?d.data:""}function c(d){return Array.isArray(d)?d.map(c).join(""):(0,t.hasChildren)(d)&&!(0,t.isComment)(d)?c(d.children):(0,t.isText)(d)?d.data:""}function h(d){return Array.isArray(d)?d.map(h).join(""):(0,t.hasChildren)(d)&&(d.type===i.ElementType.Tag||(0,t.isCDATA)(d))?h(d.children):(0,t.isText)(d)?d.data:""}return Hr}var xr={},w_;function hU(){if(w_)return xr;w_=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.getChildren=t,xr.getParent=n,xr.getSiblings=i,xr.getAttributeValue=a,xr.hasAttrib=o,xr.getName=l,xr.nextElementSibling=c,xr.prevElementSibling=h;var e=js();function t(d){return(0,e.hasChildren)(d)?d.children:[]}function n(d){return d.parent||null}function i(d){var p,m,g=n(d);if(g!=null)return t(g);for(var y=[d],v=d.prev,x=d.next;v!=null;)y.unshift(v),p=v,v=p.prev;for(;x!=null;)y.push(x),m=x,x=m.next;return y}function a(d,p){var m;return(m=d.attribs)===null||m===void 0?void 0:m[p]}function o(d,p){return d.attribs!=null&&Object.prototype.hasOwnProperty.call(d.attribs,p)&&d.attribs[p]!=null}function l(d){return d.name}function c(d){for(var p,m=d.next;m!==null&&!(0,e.isTag)(m);)p=m,m=p.next;return m}function h(d){for(var p,m=d.prev;m!==null&&!(0,e.isTag)(m);)p=m,m=p.prev;return m}return xr}var _i={},S_;function pU(){if(S_)return _i;S_=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.removeElement=e,_i.replaceElement=t,_i.appendChild=n,_i.append=i,_i.prependChild=a,_i.prepend=o;function e(l){if(l.prev&&(l.prev.next=l.next),l.next&&(l.next.prev=l.prev),l.parent){var c=l.parent.children,h=c.lastIndexOf(l);h>=0&&c.splice(h,1)}l.next=null,l.prev=null,l.parent=null}function t(l,c){var h=c.prev=l.prev;h&&(h.next=c);var d=c.next=l.next;d&&(d.prev=c);var p=c.parent=l.parent;if(p){var m=p.children;m[m.lastIndexOf(l)]=c,l.parent=null}}function n(l,c){if(e(c),c.next=null,c.parent=l,l.children.push(c)>1){var h=l.children[l.children.length-2];h.next=c,c.prev=h}else c.prev=null}function i(l,c){e(c);var h=l.parent,d=l.next;if(c.next=d,c.prev=l,l.next=c,c.parent=h,d){if(d.prev=c,h){var p=h.children;p.splice(p.lastIndexOf(d),0,c)}}else h&&h.children.push(c)}
vendor: 6,961 bytes, line 174
174function a(l,c){if(e(c),c.parent=l,c.prev=null,l.children.unshift(c)!==1){var h=l.children[1];h.prev=c,c.next=h}else c.next=null}function o(l,c){e(c);var h=l.parent;if(h){var d=h.children;d.splice(d.indexOf(l),0,c)}l.prev&&(l.prev.next=c),c.parent=h,c.prev=l.prev,c.next=l,l.prev=c}return _i}var xi={},__;function UC(){if(__)return xi;__=1,Object.defineProperty(xi,"__esModule",{value:!0}),xi.filter=t,xi.find=n,xi.findOneChild=i,xi.findOne=a,xi.existsOne=o,xi.findAll=l;var e=js();function t(c,h,d,p){return d===void 0&&(d=!0),p===void 0&&(p=1/0),n(c,Array.isArray(h)?h:[h],d,p)}function n(c,h,d,p){for(var m=[],g=[Array.isArray(h)?h:[h]],y=[0];;){if(y[0]>=g[0].length){if(y.length===1)return m;g.shift(),y.shift();continue}var v=g[0][y[0]++];if(c(v)&&(m.push(v),--p<=0))return m;d&&(0,e.hasChildren)(v)&&v.children.length>0&&(y.unshift(0),g.unshift(v.children))}}function i(c,h){return h.find(c)}function a(c,h,d){d===void 0&&(d=!0);for(var p=Array.isArray(h)?h:[h],m=0;m<p.length;m++){var g=p[m];if((0,e.isTag)(g)&&c(g))return g;if(d&&(0,e.hasChildren)(g)&&g.children.length>0){var y=a(c,g.children,!0);if(y)return y}}return null}function o(c,h){return(Array.isArray(h)?h:[h]).some(function(d){return(0,e.isTag)(d)&&c(d)||(0,e.hasChildren)(d)&&o(c,d.children)})}function l(c,h){for(var d=[],p=[Array.isArray(h)?h:[h]],m=[0];;){if(m[0]>=p[0].length){if(p.length===1)return d;p.shift(),m.shift();continue}var g=p[0][m[0]++];(0,e.isTag)(g)&&c(g)&&d.push(g),(0,e.hasChildren)(g)&&g.children.length>0&&(m.unshift(0),p.unshift(g.children))}}return xi}var Ei={},x_;function FC(){if(x_)return Ei;x_=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.testElement=l,Ei.getElements=c,Ei.getElementById=h,Ei.getElementsByTagName=d,Ei.getElementsByClassName=p,Ei.getElementsByTagType=m;var e=js(),t=UC(),n={tag_name:function(g){return typeof g=="function"?function(y){return(0,e.isTag)(y)&&g(y.name)}:g==="*"?e.isTag:function(y){return(0,e.isTag)(y)&&y.name===g}},tag_type:function(g){return typeof g=="function"?function(y){return g(y.type)}:function(y){return y.type===g}},tag_contains:function(g){return typeof g=="function"?function(y){return(0,e.isText)(y)&&g(y.data)}:function(y){return(0,e.isText)(y)&&y.data===g}}};function i(g,y){return typeof y=="function"?function(v){return(0,e.isTag)(v)&&y(v.attribs[g])}:function(v){return(0,e.isTag)(v)&&v.attribs[g]===y}}function a(g,y){return function(v){return g(v)||y(v)}}function o(g){var y=Object.keys(g).map(function(v){var x=g[v];return Object.prototype.hasOwnProperty.call(n,v)?n[v](x):i(v,x)});return y.length===0?null:y.reduce(a)}function l(g,y){var v=o(g);return v?v(y):!0}function c(g,y,v,x){x===void 0&&(x=1/0);var S=o(g);return S?(0,t.filter)(S,y,v,x):[]}function h(g,y,v){return v===void 0&&(v=!0),Array.isArray(y)||(y=[y]),(0,t.findOne)(i("id",g),y,v)}function d(g,y,v,x){return v===void 0&&(v=!0),x===void 0&&(x=1/0),(0,t.filter)(n.tag_name(g),y,v,x)}function p(g,y,v,x){return v===void 0&&(v=!0),x===void 0&&(x=1/0),(0,t.filter)(i("class",g),y,v,x)}function m(g,y,v,x){return v===void 0&&(v=!0),x===void 0&&(x=1/0),(0,t.filter)(n.tag_type(g),y,v,x)}return Ei}var ys={},E_;function mU(){if(E_)return ys;E_=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.DocumentPosition=void 0,ys.removeSubsets=t,ys.compareDocumentPosition=i,ys.uniqueSort=a;var e=js();function t(o){for(var l=o.length;--l>=0;){var c=o[l];if(l>0&&o.lastIndexOf(c,l-1)>=0){o.splice(l,1);continue}for(var h=c.parent;h;h=h.parent)if(o.includes(h)){o.splice(l,1);break}}return o}var n;(function(o){o[o.DISCONNECTED=1]="DISCONNECTED",o[o.PRECEDING=2]="PRECEDING",o[o.FOLLOWING=4]="FOLLOWING",o[o.CONTAINS=8]="CONTAINS",o[o.CONTAINED_BY=16]="CONTAINED_BY"})(n||(ys.DocumentPosition=n={}));function i(o,l){var c=[],h=[];if(o===l)return 0;for(var d=(0,e.hasChildren)(o)?o:o.parent;d;)c.unshift(d),d=d.parent;for(d=(0,e.hasChildren)(l)?l:l.parent;d;)h.unshift(d),d=d.parent;for(var p=Math.min(c.length,h.length),m=0;m<p&&c[m]===h[m];)m++;if(m===0)return n.DISCONNECTED;var g=c[m-1],y=g.children,v=c[m],x=h[m];return y.indexOf(v)>y.indexOf(x)?g===l?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:g===o?n.PRECEDING|n.CONTAINS:n.PRECEDING}function a(o){return o=o.filter(function(l,c,h){return!h.includes(l,c+1)}),o.sort(function(l,c){var h=i(l,c);return h&n.PRECEDING?-1:h&n.FOLLOWING?1:0}),o}return ys}var Wd={},C_;function gU(){if(C_)return Wd;C_=1,Object.defineProperty(Wd,"__esModule",{value:!0}),Wd.getFeed=n;var e=PC(),t=FC();function n(g){var y=h(m,g);return y?y.name==="feed"?i(y):a(y):null}function i(g){var y,v=g.children,x={type:"atom",items:(0,t.getElementsByTagName)("entry",v).map(function(_){var T,E=_.children,C={media:c(E)};p(C,"id","id",E),p(C,"title","title",E);var k=(T=h("link",E))===null||T===void 0?void 0:T.attribs.href;k&&(C.link=k);var I=d("summary",E)||d("content",E);I&&(C.description=I);var M=d("updated",E);return M&&(C.pubDate=new Date(M)),C})};p(x,"id","id",v),p(x,"title","title",v);var S=(y=h("link",v))===null||y===void 0?void 0:y.attribs.href;S&&(x.link=S),p(x,"description","subtitle",v);var w=d("updated",v);return w&&(x.updated=new Date(w)),p(x,"author","email",v,!0),x}function a(g){var y,v,x=(v=(y=h("channel",g.children))===null||y===void 0?void 0:y.children)!==null&&v!==void 0?v:[],S={type:g.name.substr(0,3),id:"",items:(0,t.getElementsByTagName)("item",g.children).map(function(_){var T=_.children,E={media:c(T)};p(E,"id","guid",T),p(E,"title","title",T),p(E,"link","link",T),p(E,"description","description",T);var C=d("pubDate",T)||d("dc:date",T);return C&&(E.pubDate=new Date(C)),E})};p(S,"title","title",x),p(S,"link","link",x),p(S,"description","description",x);var w=d("lastBuildDate",x);return w&&(S.updated=new Date(w)),p(S,"author","managingEditor",x,!0),S}var o=["url","type","lang"],l=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function c(g){return(0,t.getElementsByTagName)("media:content",g).map(function(y){for(var v=y.attribs,x={medium:v.medium,isDefault:!!v.isDefault},S=0,w=o;S<w.length;S++){var _=w[S];v[_]&&(x[_]=v[_])}for(var T=0,E=l;T<E.length;T++){var _=E[T];v[_]&&(x[_]=parseInt(v[_],10))}return v.expression&&(x.expression=v.expression),x})}function h(g,y){return(0,t.getElementsByTagName)(g,y,!0,1)[0]}function d(g,y,v){return v===void 0&&(v=!1),(0,e.textContent)((0,t.getElementsByTagName)(g,y,v,1)).trim()}function p(g,y,v,x,S){S===void 0&&(S=!1);var w=d(v,x,S);w&&(g[y]=w)}function m(g){return g==="rss"||g==="feed"||g==="rdf:RDF"}return Wd}var T_;function sm(){return T_||(T_=1,(function(e){var t=ya&&ya.__createBinding||(Object.create?(function(a,o,l,c){c===void 0&&(c=l);var h=Object.getOwnPropertyDescriptor(o,l);(!h||("get"in h?!o.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return o[l]}}),Object.defineProperty(a,c,h)}):(function(a,o,l,c){c===void 0&&(c=l),a[c]=o[l]})),n=ya&&ya.__exportStar||function(a,o){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(o,l)&&t(o,a,l)};
174Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,n(PC(),e),n(hU(),e),n(pU(),e),n(UC(),e),n(FC(),e),n(mU(),e),n(gU(),e);var i=js();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return i.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return i.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return i.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return i.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return i.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return i.hasChildren}})})(ya)),ya}var R_;function AU(){return R_||(R_=1,(function(e){var t=wr&&wr.__createBinding||(Object.create?(function(_,T,E,C){C===void 0&&(C=E);var k=Object.getOwnPropertyDescriptor(T,E);(!k||("get"in k?!T.__esModule:k.writable||k.configurable))&&(k={enumerable:!0,get:function(){return T[E]}}),Object.defineProperty(_,C,k)}):(function(_,T,E,C){C===void 0&&(C=E),_[C]=T[E]})),n=wr&&wr.__setModuleDefault||(Object.create?(function(_,T){Object.defineProperty(_,"default",{enumerable:!0,value:T})}):function(_,T){_.default=T}),i=wr&&wr.__importStar||(function(){var _=function(T){return _=Object.getOwnPropertyNames||function(E){var C=[];for(var k in E)Object.prototype.hasOwnProperty.call(E,k)&&(C[C.length]=k);return C},_(T)};return function(T){if(T&&T.__esModule)return T;var E={};if(T!=null)for(var C=_(T),k=0;k<C.length;k++)C[k]!=="default"&&t(E,T,C[k]);return n(E,T),E}})(),a=wr&&wr.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.getFeed=e.ElementType=e.QuoteType=e.Tokenizer=e.DefaultHandler=e.DomHandler=e.Parser=void 0,e.parseDocument=d,e.parseDOM=p,e.createDocumentStream=m,e.createDomStream=g,e.parseFeed=w;const o=n_();var l=n_();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return l.Parser}});const c=js();var h=js();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return h.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return h.DomHandler}});function d(_,T){const E=new c.DomHandler(void 0,T);return new o.Parser(E,T).end(_),E.root}function p(_,T){return d(_,T).children}function m(_,T,E){const C=new c.DomHandler(k=>_(k,C.root),T,E);return new o.Parser(C,T)}function g(_,T,E){const C=new c.DomHandler(_,T,E);return new o.Parser(C,T)}var y=LC();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return a(y).default}}),Object.defineProperty(e,"QuoteType",{enumerable:!0,get:function(){return y.QuoteType}}),e.ElementType=i(Zl());const v=sm();var x=sm();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return x.getFeed}});const S={xmlMode:!0};function w(_,T=S){return(0,v.getFeed)(p(_,T))}e.DomUtils=i(sm())})(wr)),wr}var am,O_;function yU(){return O_||(O_=1,am=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),am}var Jd={},k_;function bU(){if(k_)return Jd;k_=1,Object.defineProperty(Jd,"__esModule",{value:!0});function e(n){return Object.prototype.toString.call(n)==="[object Object]"}function t(n){var i,a;return e(n)===!1?!1:(i=n.constructor,i===void 0?!0:(a=i.prototype,!(e(a)===!1||a.hasOwnProperty("isPrototypeOf")===!1)))}return Jd.isPlainObject=t,Jd}var om,I_;function vU(){if(I_)return om;I_=1;var e=function(_){return t(_)&&!n(_)};function t(w){return!!w&&typeof w=="object"}function n(w){var _=Object.prototype.toString.call(w);return _==="[object RegExp]"||_==="[object Date]"||o(w)}var i=typeof Symbol=="function"&&Symbol.for,a=i?Symbol.for("react.element"):60103;function o(w){return w.$$typeof===a}function l(w){return Array.isArray(w)?[]:{}}function c(w,_){return _.clone!==!1&&_.isMergeableObject(w)?x(l(w),w,_):w}function h(w,_,T){return w.concat(_).map(function(E){return c(E,T)})}function d(w,_){if(!_.customMerge)return x;var T=_.customMerge(w);return typeof T=="function"?T:x}function p(w){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(w).filter(function(_){return Object.propertyIsEnumerable.call(w,_)}):[]}function m(w){return Object.keys(w).concat(p(w))}function g(w,_){try{return _ in w}catch{return!1}}function y(w,_){return g(w,_)&&!(Object.hasOwnProperty.call(w,_)&&Object.propertyIsEnumerable.call(w,_))}function v(w,_,T){var E={};
174return T.isMergeableObject(w)&&m(w).forEach(function(C){E[C]=c(w[C],T)}),m(_).forEach(function(C){y(w,C)||(g(w,C)&&T.isMergeableObject(_[C])?E[C]=d(C,T)(w[C],_[C],T):E[C]=c(_[C],T))}),E}function x(w,_,T){T=T||{},T.arrayMerge=T.arrayMerge||h,T.isMergeableObject=T.isMergeableObject||e,T.cloneUnlessOtherwiseSpecified=c;var E=Array.isArray(_),C=Array.isArray(w),k=E===C;return k?E?T.arrayMerge(w,_,T):v(w,_,T):c(_,T)}x.all=function(_,T){if(!Array.isArray(_))throw new Error("first argument should be an array");return _.reduce(function(E,C){return x(E,C,T)},{})};var S=x;return om=S,om}var cf={exports:{}},wU=cf.exports,N_;function SU(){return N_||(N_=1,(function(e){(function(t,n){e.exports?e.exports=n():t.parseSrcset=n()})(wU,function(){return function(t){function n(E){return E===" "||E==="	"||E===`
175`||E==="\f"||E==="\r"}function i(E){var C,k=E.exec(t.substring(S));if(k)return C=k[0],S+=C.length,C}for(var a=t.length,o=/^[ \t\n\r\u000c]+/,l=/^[, \t\n\r\u000c]+/,c=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,d=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m,g,y,v,x,S=0,w=[];;){if(i(l),S>=a)return w;m=i(c),g=[],m.slice(-1)===","?(m=m.replace(h,""),T()):_()}function _(){for(i(o),y="",v="in descriptor";;){if(x=t.charAt(S),v==="in descriptor")if(n(x))y&&(g.push(y),y="",v="after descriptor");else if(x===","){S+=1,y&&g.push(y),T();return}else if(x==="(")y=y+x,v="in parens";else if(x===""){y&&g.push(y),T();return}else y=y+x;else if(v==="in parens")if(x===")")y=y+x,v="in descriptor";else if(x===""){g.push(y),T();return}else y=y+x;else if(v==="after descriptor"&&!n(x))if(x===""){T();return}else v="in descriptor",S-=1;S+=1}}function T(){var E=!1,C,k,I,M,j={},U,D,H,ee,Z;for(M=0;M<g.length;M++)U=g[M],D=U[U.length-1],H=U.substring(0,U.length-1),ee=parseInt(H,10),Z=parseFloat(H),d.test(H)&&D==="w"?((C||k)&&(E=!0),ee===0?E=!0:C=ee):p.test(H)&&D==="x"?((C||k||I)&&(E=!0),Z<0?E=!0:k=Z):d.test(H)&&D==="h"?((I||k)&&(E=!0),ee===0?E=!0:I=ee):E=!0;E?console&&console.log&&console.log("Invalid srcset descriptor found in '"+t+"' at '"+U+"'."):(j.url=m,C&&(j.w=C),k&&(j.d=k),I&&(j.h=I),w.push(j))}}})})(cf)),cf.exports}var Zd={exports:{}},D_;function _U(){if(D_)return Zd.exports;D_=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return Zd.exports=t(),Zd.exports.createColors=t,Zd.exports}const xU={},EU=Object.freeze(Object.defineProperty({__proto__:null,default:xU},Symbol.toStringTag,{value:"Module"})),Or=$3(EU);var um,M_;function sA(){if(M_)return um;M_=1;let e=_U(),t=Or;class n extends Error{constructor(a,o,l,c,h,d){super(a),this.name="CssSyntaxError",this.reason=a,h&&(this.file=h),c&&(this.source=c),d&&(this.plugin=d),typeof o<"u"&&typeof l<"u"&&(typeof o=="number"?(this.line=o,this.column=l):(this.line=o.line,this.column=o.column,this.endLine=l.line,this.endColumn=l.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(a){if(!this.source)return"";let o=this.source;a==null&&(a=e.isColorSupported);let l=y=>y,c=y=>y,h=y=>y;if(a){let{bold:y,gray:v,red:x}=e.createColors(!0);c=S=>y(x(S)),l=S=>v(S),t&&(h=S=>t(S))}let d=o.split(/\r?\n/),p=Math.max(this.line-3,0),m=Math.min(this.line+2,d.length),g=String(m).length;return d.slice(p,m).map((y,v)=>{let x=p+1+v,S=" "+(" "+x).slice(-g)+" | ";if(x===this.line){if(y.length>160){let _=20,T=Math.max(0,this.column-_),E=Math.max(this.column+_,this.endColumn+_),C=y.slice(T,E),k=l(S.replace(/\d/g," "))+y.slice(0,Math.min(this.column-1,_-1)).replace(/[^\t]/g," ");return c(">")+l(S)+h(C)+`
176 `+k+c("^")}let w=l(S.replace(/\d/g," "))+y.slice(0,this.column-1).replace(/[^\t]/g," ");return c(">")+l(S)+h(y)+`
177 `+w+c("^")}return" "+l(S)+h(y)}).join(`
178`)}toString(){let a=this.showSourceCode();return a&&(a=`
179
180`+a+`
181`),this.name+": "+this.message+a}}return um=n,n.default=n,um}var lm,B_;function HC(){if(B_)return lm;B_=1;const e=/(<)(\/?style\b)/gi,t=/(<)(!--)/g;function n(l){return typeof l!="string"||!l.includes("<")?l:l.replace(e,"\\3c $2").replace(t,"\\3c $2")}const i={after:`
182`,beforeClose:`
183`,beforeComment:`
184`,beforeDecl:`
185`,beforeOpen:" ",beforeRule:`
186`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function a(l){return l[0].toUpperCase()+l.slice(1)}class o{constructor(c){this.builder=c}atrule(c,h){let d="@"+c.name,p=c.params?this.rawValue(c,"params"):"";if(typeof c.raws.afterName<"u"?d+=c.raws.afterName:p&&(d+=" "),c.nodes)this.block(c,d+p);else{let m=(c.raws.between||"")+(h?";":"");this.builder(n(d+p+m),c)}}beforeAfter(c,h){let d;c.type==="decl"?d=this.raw(c,null,"beforeDecl"):c.type==="comment"?d=this.raw(c,null,"beforeComment"):h==="before"?d=this.raw(c,null,"beforeRule"):d=this.raw(c,null,"beforeClose");let p=c.parent,m=0;for(;p&&p.type!=="root";)m+=1,p=p.parent;if(d.includes(`
187`)){let g=this.raw(c,null,"indent");if(g.length)for(let y=0;y<m;y++)d+=g}return d}block(c,h){let d=this.raw(c,"between","beforeOpen");this.builder(n(h+d)+"{",c,"start");let p;c.nodes&&c.nodes.length?(this.body(c),p=this.raw(c,"after")):p=this.raw(c,"after","emptyBody"),p&&this.builder(n(p)),this.builder("}",c,"end")}body(c){let h=c.nodes.length-1;for(;h>0&&c.nodes[h].type==="comment";)h-=1;let d=this.raw(c,"semicolon"),p=c.type==="document";for(let m=0;m<c.nodes.length;m++){let g=c.nodes[m],y=this.raw(g,"before");y&&this.builder(p?y:n(y)),this.stringify(g,h!==m||d)}}comment(c){let h=this.raw(c,"left","commentLeft"),d=this.raw(c,"right","commentRight");this.builder(n("/*"+h+c.text+d+"*/"),c)}decl(c,h){let d=this.raw(c,"between","colon"),p=c.prop+d+this.rawValue(c,"value");c.important&&(p+=c.raws.important||" !important"),h&&(p+=";"),this.builder(n(p),c)}document(c){this.body(c)}raw(c,h,d){let p;if(d||(d=h),h&&(p=c.raws[h],typeof p<"u"))return p;let m=c.parent;if(d==="before"&&(!m||m.type==="root"&&m.first===c||m&&m.type==="document"))return"";if(!m)return i[d];let g=c.root();if(g.rawCache||(g.rawCache={}),typeof g.rawCache[d]<"u")return g.rawCache[d];if(d==="before"||d==="after")return this.beforeAfter(c,d);{let y="raw"+a(d);this[y]?p=this[y](g,c):g.walk(v=>{if(p=v.raws[h],typeof p<"u")return!1})}return typeof p>"u"&&(p=i[d]),g.rawCache[d]=p,p}rawBeforeClose(c){let h;return c.walk(d=>{if(d.nodes&&d.nodes.length>0&&typeof d.raws.after<"u")return h=d.raws.after,h.includes(`
188`)&&(h=h.replace(/[^\n]+$/,"")),!1}),h&&(h=h.replace(/\S/g,"")),h}rawBeforeComment(c,h){let d;return c.walkComments(p=>{if(typeof p.raws.before<"u")return d=p.raws.before,d.includes(`
189`)&&(d=d.replace(/[^\n]+$/,"")),!1}),typeof d>"u"?d=this.raw(h,null,"beforeDecl"):d&&(d=d.replace(/\S/g,"")),d}rawBeforeDecl(c,h){let d;return c.walkDecls(p=>{if(typeof p.raws.before<"u")return d=p.raws.before,d.includes(`
190`)&&(d=d.replace(/[^\n]+$/,"")),!1}),typeof d>"u"?d=this.raw(h,null,"beforeRule"):d&&(d=d.replace(/\S/g,"")),d}rawBeforeOpen(c){let h;return c.walk(d=>{if(d.type!=="decl"&&(h=d.raws.between,typeof h<"u"))return!1}),h}rawBeforeRule(c){let h;return c.walk(d=>{if(d.nodes&&(d.parent!==c||c.first!==d)&&typeof d.raws.before<"u")return h=d.raws.before,h.includes(`
191`)&&(h=h.replace(/[^\n]+$/,"")),!1}),h&&(h=h.replace(/\S/g,"")),h}rawColon(c){let h;return c.walkDecls(d=>{if(typeof d.raws.between<"u")return h=d.raws.between.replace(/[^\s:]/g,""),!1}),h}rawEmptyBody(c){let h;return c.walk(d=>{if(d.nodes&&d.nodes.length===0&&(h=d.raws.after,typeof h<"u"))return!1}),h}rawIndent(c){if(c.raws.indent)return c.raws.indent;let h;return c.walk(d=>{let p=d.parent;if(p&&p!==c&&p.parent&&p.parent===c&&typeof d.raws.before<"u"){let m=d.raws.before.split(`
192`);return h=m[m.length-1],h=h.replace(/\S/g,""),!1}}),h}rawSemicolon(c){let h;return c.walk(d=>{if(d.nodes&&d.nodes.length&&d.last.type==="decl"&&(h=d.raws.semicolon,typeof h<"u"))return!1}),h}rawValue(c,h){let d=c[h],p=c.raws[h];return p&&p.value===d?p.raw:d}root(c){if(this.body(c),c.raws.after){let h=c.raws.after,d=c.parent&&c.parent.type==="document";this.builder(d?h:n(h))}}rule(c){this.block(c,this.rawValue(c,"selector")),c.raws.ownSemicolon&&this.builder(n(c.raws.ownSemicolon),c,"end")}stringify(c,h){if(!this[c.type])throw new Error("Unknown AST node type "+c.type+". Maybe you need to change PostCSS stringifier.");this[c.type](c,h)}}return lm=o,o.default=o,lm}var cm,j_;function Zf(){if(j_)return cm;j_=1;let e=HC();function t(n,i){new e(i).stringify(n)}return cm=t,t.default=t,cm}var $d={},L_;function aA(){return L_||(L_=1,$d.isClean=Symbol("isClean"),$d.my=Symbol("my")),$d}var dm,P_;function $f(){if(P_)return dm;P_=1;let e=sA(),t=HC(),n=Zf(),{isClean:i,my:a}=aA();function o(h,d){let p=new h.constructor;for(let m in h){if(!Object.prototype.hasOwnProperty.call(h,m)||m==="proxyCache")continue;let g=h[m],y=typeof g;m==="parent"&&y==="object"?d&&(p[m]=d):m==="source"?p[m]=g:Array.isArray(g)?p[m]=g.map(v=>o(v,p)):(y==="object"&&g!==null&&(g=o(g)),p[m]=g)}return p}function l(h,d){if(d&&typeof d.offset<"u")return d.offset;let p=1,m=1,g=0;for(let y=0;y<h.length;y++){if(m===d.line&&p===d.column){g=y;break}h[y]===`
193`?(p=1,m+=1):p+=1}return g}class c{get proxyOf(){return this}constructor(d={}){this.raws={},this[i]=!1,this[a]=!0;for(let p in d)if(p==="nodes"){this.nodes=[];for(let m of d[p])typeof m.clone=="function"?this.append(m.clone()):this.append(m)}else this[p]=d[p]}addToError(d){if(d.postcssNode=this,d.stack&&this.source&&/\n\s{4}at /.test(d.stack)){let p=this.source;d.stack=d.stack.replace(/\n\s{4}at /,`$&${p.input.from}:${p.start.line}:${p.start.column}$&`)}return d}after(d){return this.parent.insertAfter(this,d),this}assign(d={}){for(let p in d)this[p]=d[p];return this}before(d){return this.parent.insertBefore(this,d),this}cleanRaws(d){delete this.raws.before,delete this.raws.after,d||delete this.raws.between}clone(d={}){let p=o(this);for(let m in d)p[m]=d[m];return p}cloneAfter(d={}){let p=this.clone(d);return this.parent.insertAfter(this,p),p}cloneBefore(d={}){let p=this.clone(d);return this.parent.insertBefore(this,p),p}error(d,p={}){if(this.source){let{end:m,start:g}=this.rangeBy(p);return this.source.input.error(d,{column:g.column,line:g.line},{column:m.column,line:m.line},p)}return new e(d)}getProxyProcessor(){return{get(d,p){return p==="proxyOf"?d:p==="root"?()=>d.root().toProxy():d[p]},set(d,p,m){return d[p]===m||(d[p]=m,(p==="prop"||p==="value"||p==="name"||p==="params"||p==="important"||p==="text")&&d.markDirty()),!0}}}markClean(){this[i]=!0}
vendor: 5,171 bytes, lines 193-194
193markDirty(){if(this[i]){this[i]=!1;let d=this;for(;d=d.parent;)d[i]=!1}}next(){if(!this.parent)return;let d=this.parent.index(this);return this.parent.nodes[d+1]}positionBy(d={}){let p=this.source.start;if(d.index)p=this.positionInside(d.index);else if(d.word){let m="document"in this.source.input?this.source.input.document:this.source.input.css,y=m.slice(l(m,this.source.start),l(m,this.source.end)).indexOf(d.word);y!==-1&&(p=this.positionInside(y))}return p}positionInside(d){let p=this.source.start.column,m=this.source.start.line,g="document"in this.source.input?this.source.input.document:this.source.input.css,y=l(g,this.source.start),v=y+d;for(let x=y;x<v;x++)g[x]===`
194`?(p=1,m+=1):p+=1;return{column:p,line:m,offset:v}}prev(){if(!this.parent)return;let d=this.parent.index(this);return this.parent.nodes[d-1]}rangeBy(d={}){let p="document"in this.source.input?this.source.input.document:this.source.input.css,m={column:this.source.start.column,line:this.source.start.line,offset:l(p,this.source.start)},g=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(p,this.source.end)+1}:{column:m.column+1,line:m.line,offset:m.offset+1};if(d.word){let v=p.slice(l(p,this.source.start),l(p,this.source.end)).indexOf(d.word);v!==-1&&(m=this.positionInside(v),g=this.positionInside(v+d.word.length))}else d.start?m={column:d.start.column,line:d.start.line,offset:l(p,d.start)}:d.index&&(m=this.positionInside(d.index)),d.end?g={column:d.end.column,line:d.end.line,offset:l(p,d.end)}:typeof d.endIndex=="number"?g=this.positionInside(d.endIndex):d.index&&(g=this.positionInside(d.index+1));return(g.line<m.line||g.line===m.line&&g.column<=m.column)&&(g={column:m.column+1,line:m.line,offset:m.offset+1}),{end:g,start:m}}raw(d,p){return new t().raw(this,d,p)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...d){if(this.parent){let p=this,m=!1;for(let g of d)g===this?m=!0:m?(this.parent.insertAfter(p,g),p=g):this.parent.insertBefore(p,g);m||this.remove()}return this}root(){let d=this;for(;d.parent&&d.parent.type!=="document";)d=d.parent;return d}toJSON(d,p){let m={},g=p==null;p=p||new Map;let y=0;for(let v in this){if(!Object.prototype.hasOwnProperty.call(this,v)||v==="parent"||v==="proxyCache")continue;let x=this[v];if(Array.isArray(x))m[v]=x.map(S=>typeof S=="object"&&S.toJSON?S.toJSON(null,p):S);else if(typeof x=="object"&&x.toJSON)m[v]=x.toJSON(null,p);else if(v==="source"){if(x==null)continue;let S=p.get(x.input);S==null&&(S=y,p.set(x.input,y),y++),m[v]={end:x.end,inputId:S,start:x.start}}else m[v]=x}return g&&(m.inputs=[...p.keys()].map(v=>v.toJSON())),m}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(d=n){d.stringify&&(d=d.stringify);let p="";return d(this,m=>{p+=m}),p}warn(d,p,m={}){let g={node:this};for(let y in m)g[y]=m[y];return d.warn(p,g)}}return dm=c,c.default=c,dm}var fm,U_;function Xf(){if(U_)return fm;U_=1;let e=$f();class t extends e{constructor(i){super(i),this.type="comment"}}return fm=t,t.default=t,fm}var hm,F_;function eh(){if(F_)return hm;F_=1;let e=$f();class t extends e{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}}return hm=t,t.default=t,hm}var pm,H_;function Ua(){if(H_)return pm;H_=1;let e=Xf(),t=eh(),n=$f(),{isClean:i,my:a}=aA(),o,l,c,h;function d(g){return g.map(y=>(y.nodes&&(y.nodes=d(y.nodes)),delete y.source,y))}function p(g){if(g[i]=!1,g.proxyOf.nodes)for(let y of g.proxyOf.nodes)p(y)}class m extends n{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...y){for(let v of y){let x=this.normalize(v,this.last);for(let S of x)this.proxyOf.nodes.push(S)}return this.markDirty(),this}cleanRaws(y){if(super.cleanRaws(y),this.nodes)for(let v of this.nodes)v.cleanRaws(y)}each(y){if(!this.proxyOf.nodes)return;let v=this.getIterator(),x,S;for(;this.indexes[v]<this.proxyOf.nodes.length&&(x=this.indexes[v],S=y(this.proxyOf.nodes[x],x),S!==!1);)this.indexes[v]+=1;return delete this.indexes[v],S}every(y){return this.nodes.every(y)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let y=this.lastEach;return this.indexes[y]=0,y}getProxyProcessor(){return{get(y,v){return v==="proxyOf"?y:y[v]?v==="each"||typeof v=="string"&&v.startsWith("walk")?(...x)=>y[v](...x.map(S=>typeof S=="function"?(w,_)=>S(w.toProxy(),_):S)):v==="every"||v==="some"?x=>y[v]((S,...w)=>x(S.toProxy(),...w)):v==="root"?()=>y.root().toProxy():v==="nodes"?y.nodes.map(x=>x.toProxy()):v==="first"||v==="last"?y[v].toProxy():y[v]:y[v]},set(y,v,x){return y[v]===x||(y[v]=x,(v==="name"||v==="params"||v==="selector")&&y.markDirty()),!0}}}index(y){return typeof y=="number"?y:(y.proxyOf&&(y=y.proxyOf),this.proxyOf.nodes.indexOf(y))}insertAfter(y,v){let x=this.index(y),S=this.normalize(v,this.proxyOf.nodes[x]).reverse();x=this.index(y);
vendor: 6,434 bytes, line 194
194for(let _ of S)this.proxyOf.nodes.splice(x+1,0,_);let w;for(let _ in this.indexes)w=this.indexes[_],x<w&&(this.indexes[_]=w+S.length);return this.markDirty(),this}insertBefore(y,v){let x=this.index(y),S=x===0?"prepend":!1,w=this.normalize(v,this.proxyOf.nodes[x],S).reverse();x=this.index(y);for(let T of w)this.proxyOf.nodes.splice(x,0,T);let _;for(let T in this.indexes)_=this.indexes[T],x<=_&&(this.indexes[T]=_+w.length);return this.markDirty(),this}normalize(y,v){if(typeof y=="string")y=d(l(y).nodes);else if(typeof y>"u")y=[];else if(Array.isArray(y)){y=y.slice(0);for(let S of y)S.parent&&S.parent.removeChild(S,"ignore")}else if(y.type==="root"&&this.type!=="document"){y=y.nodes.slice(0);for(let S of y)S.parent&&S.parent.removeChild(S,"ignore")}else if(y.type)y=[y];else if(y.prop){if(typeof y.value>"u")throw new Error("Value field is missed in node creation");typeof y.value!="string"&&(y.value=String(y.value)),y=[new t(y)]}else if(y.selector||y.selectors)y=[new h(y)];else if(y.name)y=[new o(y)];else if(y.text)y=[new e(y)];else throw new Error("Unknown node type in node creation");return y.map(S=>(S[a]||m.rebuild(S),S=S.proxyOf,S.parent&&S.parent.removeChild(S),S[i]&&p(S),S.raws||(S.raws={}),typeof S.raws.before>"u"&&v&&typeof v.raws.before<"u"&&(S.raws.before=v.raws.before.replace(/\S/g,"")),S.parent=this.proxyOf,S))}prepend(...y){y=y.reverse();for(let v of y){let x=this.normalize(v,this.first,"prepend").reverse();for(let S of x)this.proxyOf.nodes.unshift(S);for(let S in this.indexes)this.indexes[S]=this.indexes[S]+x.length}return this.markDirty(),this}push(y){return y.parent=this,this.proxyOf.nodes.push(y),this}removeAll(){for(let y of this.proxyOf.nodes)y.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(y){y=this.index(y),this.proxyOf.nodes[y].parent=void 0,this.proxyOf.nodes.splice(y,1);let v;for(let x in this.indexes)v=this.indexes[x],v>=y&&(this.indexes[x]=v-1);return this.markDirty(),this}replaceValues(y,v,x){return x||(x=v,v={}),this.walkDecls(S=>{v.props&&!v.props.includes(S.prop)||v.fast&&!S.value.includes(v.fast)||(S.value=S.value.replace(y,x))}),this.markDirty(),this}some(y){return this.nodes.some(y)}walk(y){return this.each((v,x)=>{let S;try{S=y(v,x)}catch(w){throw v.addToError(w)}return S!==!1&&v.walk&&(S=v.walk(y)),S})}walkAtRules(y,v){return v?y instanceof RegExp?this.walk((x,S)=>{if(x.type==="atrule"&&y.test(x.name))return v(x,S)}):this.walk((x,S)=>{if(x.type==="atrule"&&x.name===y)return v(x,S)}):(v=y,this.walk((x,S)=>{if(x.type==="atrule")return v(x,S)}))}walkComments(y){return this.walk((v,x)=>{if(v.type==="comment")return y(v,x)})}walkDecls(y,v){return v?y instanceof RegExp?this.walk((x,S)=>{if(x.type==="decl"&&y.test(x.prop))return v(x,S)}):this.walk((x,S)=>{if(x.type==="decl"&&x.prop===y)return v(x,S)}):(v=y,this.walk((x,S)=>{if(x.type==="decl")return v(x,S)}))}walkRules(y,v){return v?y instanceof RegExp?this.walk((x,S)=>{if(x.type==="rule"&&y.test(x.selector))return v(x,S)}):this.walk((x,S)=>{if(x.type==="rule"&&x.selector===y)return v(x,S)}):(v=y,this.walk((x,S)=>{if(x.type==="rule")return v(x,S)}))}}return m.registerParse=g=>{l=g},m.registerRule=g=>{h=g},m.registerAtRule=g=>{o=g},m.registerRoot=g=>{c=g},pm=m,m.default=m,m.rebuild=g=>{g.type==="atrule"?Object.setPrototypeOf(g,o.prototype):g.type==="rule"?Object.setPrototypeOf(g,h.prototype):g.type==="decl"?Object.setPrototypeOf(g,t.prototype):g.type==="comment"?Object.setPrototypeOf(g,e.prototype):g.type==="root"&&Object.setPrototypeOf(g,c.prototype),g[a]=!0,g.nodes&&g.nodes.forEach(y=>{m.rebuild(y)})},pm}var mm,z_;function oA(){if(z_)return mm;z_=1;let e=Ua();class t extends e{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}}return mm=t,t.default=t,e.registerAtRule(t),mm}var gm,G_;function uA(){if(G_)return gm;G_=1;let e=Ua(),t,n;class i extends e{constructor(o){super({type:"document",...o}),this.nodes||(this.nodes=[])}toResult(o={}){return new t(new n,this,o).stringify()}}return i.registerLazyResult=a=>{t=a},i.registerProcessor=a=>{n=a},gm=i,i.default=i,gm}var Am,q_;function CU(){if(q_)return Am;q_=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Am={nanoid:(i=21)=>{let a="",o=i|0;for(;o--;)a+=e[Math.random()*64|0];return a},customAlphabet:(i,a=21)=>(o=a)=>{let l="",c=o|0;for(;c--;)l+=i[Math.random()*i.length|0];return l}},Am}var ym,Q_;function zC(){if(Q_)return ym;Q_=1;let{existsSync:e,readFileSync:t}=Or,{dirname:n,join:i}=Or,{SourceMapConsumer:a,SourceMapGenerator:o}=Or;function l(h){return Buffer?Buffer.from(h,"base64").toString():window.atob(h)}class c{constructor(d,p){if(p.map===!1)return;this.loadAnnotation(d),this.inline=this.startWith(this.annotation,"data:");let m=p.map?p.map.prev:void 0,g=this.loadMap(p.from,m);!this.mapFile&&p.from&&(this.mapFile=p.from),this.mapFile&&(this.root=n(this.mapFile)),g&&(this.text=g)}consumer(){return this.consumerCache||(this.consumerCache=new a(this.text)),this.consumerCache}decodeInline(d){let p=/^data:application\/json;charset=utf-?8;base64,/,m=/^data:application\/json;base64,/,g=/^data:application\/json;charset=utf-?8,/,y=/^data:application\/json,/,v=d.match(g)||d.match(y);if(v)return decodeURIComponent(d.substr(v[0].length));let x=d.match(p)||d.match(m);if(x)return l(d.substr(x[0].length));let S=d.slice(22);throw S=S.slice(0,S.indexOf(",")),new Error("Unsupported source map encoding "+S)}getAnnotationURL(d){return d.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(d){return typeof d!="object"?!1:typeof d.mappings=="string"||typeof d._mappings=="string"||Array.isArray(d.sections)}loadAnnotation(d){let p=d.match(/\/\*\s*# sourceMappingURL=/g);if(!p)return;let m=d.lastIndexOf(p.pop()),g=d.indexOf("*/",m);m>-1&&g>-1&&(this.annotation=this.getAnnotationURL(d.substring(m,g)))}loadFile(d){if(this.root=n(d),e(d))return this.mapFile=d,t(d,"utf-8").toString().trim()}loadMap(d,p){if(p===!1)return!1;if(p){if(typeof p=="string")return p;if(typeof p=="function"){let m=p(d);if(m){let g=this.loadFile(m);if(!g)throw new Error("Unable to load previous source map: "+m.toString());return g}}else{if(p instanceof a)return o.fromSourceMap(p).toString();if(p instanceof o)return p.toString();if(this.isMap(p))return JSON.stringify(p);throw new Error("Unsupported previous source map format: "+p.toString())}}
vendor: 4,659 bytes, lines 194-196
194else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let m=this.annotation;return d&&(m=i(n(d),m)),this.loadFile(m)}}}startWith(d,p){return d?d.substr(0,p.length)===p:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ym=c,c.default=c,ym}var bm,K_;function th(){if(K_)return bm;K_=1;let{nanoid:e}=CU(),{isAbsolute:t,resolve:n}=Or,{SourceMapConsumer:i,SourceMapGenerator:a}=Or,{fileURLToPath:o,pathToFileURL:l}=Or,c=sA(),h=zC(),d=Or,p=Symbol("lineToIndexCache"),m=!!(i&&a),g=!!(n&&t);function y(x){if(x[p])return x[p];let S=x.css.split(`
195`),w=new Array(S.length),_=0;for(let T=0,E=S.length;T<E;T++)w[T]=_,_+=S[T].length+1;return x[p]=w,w}class v{get from(){return this.file||this.id}constructor(S,w={}){if(S===null||typeof S>"u"||typeof S=="object"&&!S.toString)throw new Error(`PostCSS received ${S} instead of CSS string`);if(this.css=S.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,w.document&&(this.document=w.document.toString()),w.from&&(!g||/^\w+:\/\//.test(w.from)||t(w.from)?this.file=w.from:this.file=n(w.from)),g&&m){let _=new h(this.css,w);if(_.text){this.map=_;let T=_.consumer().file;!this.file&&T&&(this.file=this.mapResolve(T))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(S,w,_,T={}){let E,C,k,I,M;if(w&&typeof w=="object"){let U=w,D=_;if(typeof U.offset=="number"){I=U.offset;let H=this.fromOffset(I);w=H.line,_=H.col}else w=U.line,_=U.column,I=this.fromLineAndColumn(w,_);if(typeof D.offset=="number"){k=D.offset;let H=this.fromOffset(k);C=H.line,E=H.col}else C=D.line,E=D.column,k=this.fromLineAndColumn(D.line,D.column)}else if(_)I=this.fromLineAndColumn(w,_);else{I=w;let U=this.fromOffset(I);w=U.line,_=U.col}let j=this.origin(w,_,C,E);return j?M=new c(S,j.endLine===void 0?j.line:{column:j.column,line:j.line},j.endLine===void 0?j.column:{column:j.endColumn,line:j.endLine},j.source,j.file,T.plugin):M=new c(S,C===void 0?w:{column:_,line:w},C===void 0?_:{column:E,line:C},this.css,this.file,T.plugin),M.input={column:_,endColumn:E,endLine:C,endOffset:k,line:w,offset:I,source:this.css},this.file&&(l&&(M.input.url=l(this.file).toString()),M.input.file=this.file),M}fromLineAndColumn(S,w){return y(this)[S-1]+w-1}fromOffset(S){let w=y(this),_=w[w.length-1],T=0;if(S>=_)T=w.length-1;else{let E=w.length-2,C;for(;T<E;)if(C=T+(E-T>>1),S<w[C])E=C-1;else if(S>=w[C+1])T=C+1;else{T=C;break}}return{col:S-w[T]+1,line:T+1}}mapResolve(S){return/^\w+:\/\//.test(S)?S:n(this.map.consumer().sourceRoot||this.map.root||".",S)}origin(S,w,_,T){if(!this.map)return!1;let E=this.map.consumer(),C=E.originalPositionFor({column:w,line:S});if(!C.source)return!1;let k;typeof _=="number"&&(k=E.originalPositionFor({column:T,line:_}));let I;t(C.source)?I=l(C.source):I=new URL(C.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let M={column:C.column,endColumn:k&&k.column,endLine:k&&k.line,line:C.line,url:I.toString()};if(I.protocol==="file:")if(o)M.file=o(I);else throw new Error("file: protocol is not available in this PostCSS build");let j=E.sourceContentFor(C.source);return j&&(M.source=j),M}toJSON(){let S={};for(let w of["hasBOM","css","file","id"])this[w]!=null&&(S[w]=this[w]);return this.map&&(S.map={...this.map},S.map.consumerCache&&(S.map.consumerCache=void 0)),S}}return bm=v,v.default=v,d&&d.registerInput&&d.registerInput(v),bm}var vm,Y_;function $l(){if(Y_)return vm;Y_=1;let e=Ua(),t,n;class i extends e{constructor(o){super(o),this.type="root",this.nodes||(this.nodes=[])}normalize(o,l,c){let h=super.normalize(o);if(l){if(c==="prepend")this.nodes.length>1?l.raws.before=this.nodes[1].raws.before:delete l.raws.before;else if(this.first!==l)for(let d of h)d.raws.before=l.raws.before}return h}removeChild(o,l){let c=this.index(o);return!l&&c===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[c].raws.before),super.removeChild(o)}toResult(o={}){return new t(new n,this,o).stringify()}}return i.registerLazyResult=a=>{t=a},i.registerProcessor=a=>{n=a},vm=i,i.default=i,e.registerRoot(i),vm}var wm,V_;function GC(){if(V_)return wm;V_=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let n=[" ",`
196`,"	"];return e.split(t,n)},split(t,n,i){let a=[],o="",l=!1,c=0,h=!1,d="",p=!1;for(let m of t)p?p=!1:m==="\\"?p=!0:h?m===d&&(h=!1):m==='"'||m==="'"?(h=!0,d=m):m==="("?c+=1:m===")"?c>0&&(c-=1):c===0&&n.includes(m)&&(l=!0),l?(o!==""&&a.push(o.trim()),o="",l=!1):o+=m;return(i||o!=="")&&a.push(o.trim()),a}};return wm=e,e.default=e,wm}var Sm,W_;function lA(){if(W_)return Sm;W_=1;let e=Ua(),t=GC();
vendor: 5,221 bytes, lines 196-201
196class n extends e{get selectors(){return t.comma(this.selector)}set selectors(a){let o=this.selector?this.selector.match(/,\s*/):null,l=o?o[0]:","+this.raw("between","beforeOpen");this.selector=a.join(l)}constructor(a){super(a),this.type="rule",this.nodes||(this.nodes=[])}}return Sm=n,n.default=n,e.registerRule(n),Sm}var _m,J_;function TU(){if(J_)return _m;J_=1;let e=oA(),t=Xf(),n=eh(),i=th(),a=zC(),o=$l(),l=lA();function c(h,d){if(Array.isArray(h))return h.map(g=>c(g));let{inputs:p,...m}=h;if(p){d=[];for(let g of p){let y={...g,__proto__:i.prototype};y.map&&(y.map={...y.map,__proto__:a.prototype}),d.push(y)}}if(m.nodes&&(m.nodes=h.nodes.map(g=>c(g,d))),m.source){let{inputId:g,...y}=m.source;m.source=y,g!=null&&(m.source.input=d[g])}if(m.type==="root")return new o(m);if(m.type==="decl")return new n(m);if(m.type==="rule")return new l(m);if(m.type==="comment")return new t(m);if(m.type==="atrule")return new e(m);throw new Error("Unknown node type: "+h.type)}return _m=c,c.default=c,_m}var xm,Z_;function qC(){if(Z_)return xm;Z_=1;let{dirname:e,relative:t,resolve:n,sep:i}=Or,{SourceMapConsumer:a,SourceMapGenerator:o}=Or,{pathToFileURL:l}=Or,c=th(),h=!!(a&&o),d=!!(e&&n&&t&&i);class p{constructor(g,y,v,x){this.stringify=g,this.mapOpts=v.map||{},this.root=y,this.opts=v,this.css=x,this.originalCSS=x,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let g;this.isInline()?g="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?g=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?g=this.mapOpts.annotation(this.opts.to,this.root):g=this.outputFile()+".map";let y=`
197`;this.css.includes(`\r
198`)&&(y=`\r
199`),this.css+=y+"/*# sourceMappingURL="+g+" */"}applyPrevMaps(){for(let g of this.previous()){let y=this.toUrl(this.path(g.file)),v=g.root||e(g.file),x;this.mapOpts.sourcesContent===!1?(x=new a(g.text),x.sourcesContent&&(x.sourcesContent=null)):x=g.consumer(),this.map.applySourceMap(x,y,this.toUrl(this.path(v)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let g;for(let y=this.root.nodes.length-1;y>=0;y--)g=this.root.nodes[y],g.type==="comment"&&g.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(y)}else if(this.css){let g;for(;(g=this.css.lastIndexOf("/*#"))!==-1;){let y=this.css.indexOf("*/",g+3);if(y===-1)break;for(;g>0&&this.css[g-1]===`
200`;)g--;this.css=this.css.slice(0,g)+this.css.slice(y+2)}}}}generate(){if(this.clearAnnotation(),d&&h&&this.isMap())return this.generateMap();{let g="";return this.stringify(this.root,y=>{g+=y}),[g]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let g=this.previous()[0].consumer();g.file=this.outputFile(),this.map=o.fromSourceMap(g,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let g=1,y=1,v="<no source>",x={generated:{column:0,line:0},original:{column:0,line:0},source:""},S,w;this.stringify(this.root,(_,T,E)=>{if(this.css+=_,T&&E!=="end"&&(x.generated.line=g,x.generated.column=y-1,T.source&&T.source.start?(x.source=this.sourcePath(T),x.original.line=T.source.start.line,x.original.column=T.source.start.column-1,this.map.addMapping(x)):(x.source=v,x.original.line=1,x.original.column=0,this.map.addMapping(x))),w=_.match(/\n/g),w?(g+=w.length,S=_.lastIndexOf(`
201`),y=_.length-S):y+=_.length,T&&E!=="start"){let C=T.parent||{raws:{}};(!(T.type==="decl"||T.type==="atrule"&&!T.nodes)||T!==C.last||C.raws.semicolon)&&(T.source&&T.source.end?(x.source=this.sourcePath(T),x.original.line=T.source.end.line,x.original.column=T.source.end.column-1,x.generated.line=g,x.generated.column=y-2,this.map.addMapping(x)):(x.source=v,x.original.line=1,x.original.column=0,x.generated.line=g,x.generated.column=y-1,this.map.addMapping(x)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(g=>g.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let g=this.mapOpts.annotation;return typeof g<"u"&&g!==!0?!1:this.previous().length?this.previous().some(y=>y.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(g=>g.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(g){if(this.mapOpts.absolute||g.charCodeAt(0)===60||/^\w+:\/\//.test(g))return g;let y=this.memoizedPaths.get(g);if(y)return y;let v=this.opts.to?e(this.opts.to):".";
vendor: 5,321 bytes, line 201
201typeof this.mapOpts.annotation=="string"&&(v=e(n(v,this.mapOpts.annotation)));let x=t(v,g);return this.memoizedPaths.set(g,x),x}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(g=>{if(g.source&&g.source.input.map){let y=g.source.input.map;this.previousMaps.includes(y)||this.previousMaps.push(y)}});else{let g=new c(this.originalCSS,this.opts);g.map&&this.previousMaps.push(g.map)}return this.previousMaps}setSourcesContent(){let g={};if(this.root)this.root.walk(y=>{if(y.source){let v=y.source.input.from;if(v&&!g[v]){g[v]=!0;let x=this.usesFileUrls?this.toFileUrl(v):this.toUrl(this.path(v));this.map.setSourceContent(x,y.source.input.css)}}});else if(this.css){let y=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(y,this.css)}}sourcePath(g){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(g.source.input.from):this.toUrl(this.path(g.source.input.from))}toBase64(g){return Buffer?Buffer.from(g).toString("base64"):window.btoa(unescape(encodeURIComponent(g)))}toFileUrl(g){let y=this.memoizedFileURLs.get(g);if(y)return y;if(l){let v=l(g).toString();return this.memoizedFileURLs.set(g,v),v}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(g){let y=this.memoizedURLs.get(g);if(y)return y;i==="\\"&&(g=g.replace(/\\/g,"/"));let v=encodeURI(g).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(g,v),v}}return xm=p,xm}var Em,$_;function RU(){if($_)return Em;$_=1;const e=39,t=34,n=92,i=47,a=10,o=32,l=12,c=9,h=13,d=91,p=93,m=40,g=41,y=123,v=125,x=59,S=42,w=58,_=64,T=/[\t\n\f\r "#'()/;[\\\]{}]/g,E=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,C=/.[\r\n"'(/\\]/,k=/[\da-f]/i;return Em=function(M,j={}){let U=M.css.valueOf(),D=j.ignoreErrors,H,ee,Z,G,L,q,W,ce,ne,B,K=U.length,V=0,ue=[],oe=[];function ge(){return V}function ye(ke){throw M.error("Unclosed "+ke,V)}function Be(){return oe.length===0&&V>=K}function Se(ke){if(oe.length)return oe.pop();if(V>=K)return;let ie=ke?ke.ignoreUnclosed:!1;switch(H=U.charCodeAt(V),H){case a:case o:case c:case h:case l:{G=V;do G+=1,H=U.charCodeAt(G);while(H===o||H===a||H===c||H===h||H===l);q=["space",U.slice(V,G)],V=G-1;break}case d:case p:case y:case v:case w:case x:case g:{let fe=String.fromCharCode(H);q=[fe,fe,V];break}case m:{if(B=ue.length?ue.pop()[1]:"",ne=U.charCodeAt(V+1),B==="url"&&ne!==e&&ne!==t&&ne!==o&&ne!==a&&ne!==c&&ne!==l&&ne!==h){G=V;do{if(W=!1,G=U.indexOf(")",G+1),G===-1)if(D||ie){G=V;break}else ye("bracket");for(ce=G;U.charCodeAt(ce-1)===n;)ce-=1,W=!W}while(W);q=["brackets",U.slice(V,G+1),V,G],V=G}else G=U.indexOf(")",V+1),ee=U.slice(V,G+1),G===-1||C.test(ee)?q=["(","(",V]:(q=["brackets",ee,V,G],V=G);break}case e:case t:{L=H===e?"'":'"',G=V;do{if(W=!1,G=U.indexOf(L,G+1),G===-1)if(D||ie){G=V+1;break}else ye("string");for(ce=G;U.charCodeAt(ce-1)===n;)ce-=1,W=!W}while(W);q=["string",U.slice(V,G+1),V,G],V=G;break}case _:{T.lastIndex=V+1,T.test(U),T.lastIndex===0?G=U.length-1:G=T.lastIndex-2,q=["at-word",U.slice(V,G+1),V,G],V=G;break}case n:{for(G=V,Z=!0;U.charCodeAt(G+1)===n;)G+=1,Z=!Z;if(H=U.charCodeAt(G+1),Z&&H!==i&&H!==o&&H!==a&&H!==c&&H!==h&&H!==l&&(G+=1,k.test(U.charAt(G)))){for(;k.test(U.charAt(G+1));)G+=1;U.charCodeAt(G+1)===o&&(G+=1)}q=["word",U.slice(V,G+1),V,G],V=G;break}default:{H===i&&U.charCodeAt(V+1)===S?(G=U.indexOf("*/",V+2)+1,G===0&&(D||ie?G=U.length:ye("comment")),q=["comment",U.slice(V,G+1),V,G],V=G):(E.lastIndex=V+1,E.test(U),E.lastIndex===0?G=U.length-1:G=E.lastIndex-2,q=["word",U.slice(V,G+1),V,G],ue.push(q),V=G);break}}return V++,q}function Ye(ke){oe.push(ke)}return{back:Ye,endOfFile:Be,nextToken:Se,position:ge}},Em}var Cm,X_;function OU(){if(X_)return Cm;X_=1;let e=oA(),t=Xf(),n=eh(),i=$l(),a=lA(),o=RU();const l={empty:!0,space:!0};function c(d){for(let p=d.length-1;p>=0;p--){let m=d[p],g=m[3]||m[2];if(g)return g}}class h{constructor(p){this.input=p,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:p,start:{column:1,line:1,offset:0}}}atrule(p){let m=new e;m.name=p[1].slice(1),m.name===""&&this.unnamedAtrule(m,p),this.init(m,p[2]);let g,y,v,x=!1,S=!1,w=[],_=[];for(;!this.tokenizer.endOfFile();){if(p=this.tokenizer.nextToken(),g=p[0],g==="("||g==="["?_.push(g==="("?")":"]"):g==="{"&&_.length>0?_.push("}"):g===_[_.length-1]&&_.pop(),_.length===0)if(g===";"){m.source.end=this.getPosition(p[2]),m.source.end.offset++,this.semicolon=!0;break}else if(g==="{"){S=!0;break}else if(g==="}"){if(w.length>0){for(v=w.length-1,y=w[v];y&&y[0]==="space";)y=w[--v];y&&(m.source.end=this.getPosition(y[3]||y[2]),m.source.end.offset++)}this.end(p);break}else w.push(p);else w.push(p);if(this.tokenizer.endOfFile()){x=!0;break}}m.raws.between=this.spacesAndCommentsFromEnd(w),w.length?(m.raws.afterName=this.spacesAndCommentsFromStart(w),this.raw(m,"params",w),x&&(p=w[w.length-1],m.source.end=this.getPosition(p[3]||p[2]),m.source.end.offset++,this.spaces=m.raws.between,m.raws.between="")):(m.raws.afterName="",m.params=""),S&&(m.nodes=[],this.current=m)}checkMissedSemicolon(p){let m=this.colon(p);if(m===!1)return;let g=0,y;for(let v=m-1;v>=0&&(y=p[v],!(y[0]!=="space"&&(g+=1,g===2)));v--);throw this.input.error("Missed semicolon",y[0]==="word"?y[3]+1:y[2])}colon(p){let m=0,g,y,v;
vendor: 9,768 bytes, line 201
201for(let[x,S]of p.entries()){if(y=S,v=y[0],v==="("&&(m+=1),v===")"&&(m-=1),m===0&&v===":")if(!g)this.doubleColon(y);else{if(g[0]==="word"&&g[1]==="progid")continue;return x}g=y}return!1}comment(p){let m=new t;this.init(m,p[2]),m.source.end=this.getPosition(p[3]||p[2]),m.source.end.offset++;let g=p[1].slice(2,-2);if(!g.trim())m.text="",m.raws.left=g,m.raws.right="";else{let y=g.match(/^(\s*)([^]*\S)(\s*)$/);m.text=y[2],m.raws.left=y[1],m.raws.right=y[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(p,m){let g=new n;this.init(g,p[0][2]);let y=p[p.length-1];for(y[0]===";"&&(this.semicolon=!0,p.pop()),g.source.end=this.getPosition(y[3]||y[2]||c(p)),g.source.end.offset++;p[0][0]!=="word";)p.length===1&&this.unknownWord(p),g.raws.before+=p.shift()[1];for(g.source.start=this.getPosition(p[0][2]),g.prop="";p.length;){let _=p[0][0];if(_===":"||_==="space"||_==="comment")break;g.prop+=p.shift()[1]}g.raws.between="";let v;for(;p.length;)if(v=p.shift(),v[0]===":"){g.raws.between+=v[1];break}else v[0]==="word"&&/\w/.test(v[1])&&this.unknownWord([v]),g.raws.between+=v[1];(g.prop[0]==="_"||g.prop[0]==="*")&&(g.raws.before+=g.prop[0],g.prop=g.prop.slice(1));let x=[],S;for(;p.length&&(S=p[0][0],!(S!=="space"&&S!=="comment"));)x.push(p.shift());this.precheckMissedSemicolon(p);for(let _=p.length-1;_>=0;_--){if(v=p[_],v[1].toLowerCase()==="!important"){g.important=!0;let T=this.stringFrom(p,_);T=this.spacesFromEnd(p)+T,T!==" !important"&&(g.raws.important=T);break}else if(v[1].toLowerCase()==="important"){let T=p.slice(0),E="";for(let C=_;C>0;C--){let k=T[C][0];if(E.trim().startsWith("!")&&k!=="space")break;E=T.pop()[1]+E}E.trim().startsWith("!")&&(g.important=!0,g.raws.important=E,p=T)}if(v[0]!=="space"&&v[0]!=="comment")break}p.some(_=>_[0]!=="space"&&_[0]!=="comment")&&(g.raws.between+=x.map(_=>_[1]).join(""),x=[]),this.raw(g,"value",x.concat(p),m),g.value.includes(":")&&!m&&this.checkMissedSemicolon(p)}doubleColon(p){throw this.input.error("Double colon",{offset:p[2]},{offset:p[2]+p[1].length})}emptyRule(p){let m=new a;this.init(m,p[2]),m.selector="",m.raws.between="",this.current=m}end(p){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(p[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(p)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(p){if(this.spaces+=p[1],this.current.nodes){let m=this.current.nodes[this.current.nodes.length-1];m&&m.type==="rule"&&!m.raws.ownSemicolon&&(m.raws.ownSemicolon=this.spaces,this.spaces="",m.source.end=this.getPosition(p[2]),m.source.end.offset+=m.raws.ownSemicolon.length)}}getPosition(p){let m=this.input.fromOffset(p);return{column:m.col,line:m.line,offset:p}}init(p,m){this.current.push(p),p.source={input:this.input,start:this.getPosition(m)},p.raws.before=this.spaces,this.spaces="",p.type!=="comment"&&(this.semicolon=!1)}other(p){let m=!1,g=null,y=!1,v=null,x=[],S=p[1].startsWith("--"),w=[],_=p;for(;_;){if(g=_[0],w.push(_),g==="("||g==="[")v||(v=_),x.push(g==="("?")":"]");else if(S&&y&&g==="{")v||(v=_),x.push("}");else if(x.length===0)if(g===";")if(y){this.decl(w,S);return}else break;else if(g==="{"){this.rule(w);return}else if(g==="}"){this.tokenizer.back(w.pop()),m=!0;break}else g===":"&&(y=!0);else g===x[x.length-1]&&(x.pop(),x.length===0&&(v=null));_=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(m=!0),x.length>0&&this.unclosedBracket(v),m&&y){if(!S)for(;w.length&&(_=w[w.length-1][0],!(_!=="space"&&_!=="comment"));)this.tokenizer.back(w.pop());this.decl(w,S)}else this.unknownWord(w)}parse(){let p;for(;!this.tokenizer.endOfFile();)switch(p=this.tokenizer.nextToken(),p[0]){case"space":this.spaces+=p[1];break;case";":this.freeSemicolon(p);break;case"}":this.end(p);break;case"comment":this.comment(p);break;case"at-word":this.atrule(p);break;case"{":this.emptyRule(p);break;default:this.other(p);break}this.endFile()}precheckMissedSemicolon(){}raw(p,m,g,y){let v,x,S=g.length,w="",_=!0,T,E;for(let C=0;C<S;C+=1)v=g[C],x=v[0],x==="space"&&C===S-1&&!y?_=!1:x==="comment"?(E=g[C-1]?g[C-1][0]:"empty",T=g[C+1]?g[C+1][0]:"empty",!l[E]&&!l[T]?w.slice(-1)===","?_=!1:w+=v[1]:_=!1):w+=v[1];if(!_){let C=g.reduce((k,I)=>k+I[1],"");p.raws[m]={raw:C,value:w}}p[m]=w}rule(p){p.pop();let m=new a;this.init(m,p[0][2]),m.raws.between=this.spacesAndCommentsFromEnd(p),this.raw(m,"selector",p),this.current=m}spacesAndCommentsFromEnd(p){let m,g="";for(;p.length&&(m=p[p.length-1][0],!(m!=="space"&&m!=="comment"));)g=p.pop()[1]+g;return g}spacesAndCommentsFromStart(p){let m,g="";for(;p.length&&(m=p[0][0],!(m!=="space"&&m!=="comment"));)g+=p.shift()[1];return g}spacesFromEnd(p){let m,g="";for(;p.length&&(m=p[p.length-1][0],m==="space");)g=p.pop()[1]+g;return g}stringFrom(p,m){let g="";for(let y=m;y<p.length;y++)g+=p[y][1];return p.splice(m,p.length-m),g}unclosedBlock(){let p=this.current.source.start;throw this.input.error("Unclosed block",p.line,p.column)}unclosedBracket(p){throw this.input.error("Unclosed bracket",{offset:p[2]},{offset:p[2]+1})}unexpectedClose(p){throw this.input.error("Unexpected }",{offset:p[2]},{offset:p[2]+1})}unknownWord(p){throw this.input.error("Unknown word "+p[0][1],{offset:p[0][2]},{offset:p[0][2]+p[0][1].length})}unnamedAtrule(p,m){throw this.input.error("At-rule without name",{offset:m[2]},{offset:m[2]+m[1].length})}}return Cm=h,Cm}var Tm,e2;function cA(){if(e2)return Tm;e2=1;let e=Ua(),t=th(),n=OU();function i(a,o){let l=new t(a,o),c=new n(l);try{c.parse()}catch(h){throw h}return c.root}return Tm=i,i.default=i,e.registerParse(i),Tm}var Rm,t2;function QC(){if(t2)return Rm;t2=1;class e{constructor(n,i={}){if(this.type="warning",this.text=n,i.node&&i.node.source){let a=i.node.rangeBy(i);this.line=a.start.line,this.column=a.start.column,this.endLine=a.end.line,this.endColumn=a.end.column}for(let a in i)this[a]=i[a]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return Rm=e,e.default=e,Rm}var Om,n2;function dA(){if(n2)return Om;n2=1;let e=QC();class t{get content(){return this.css}constructor(i,a,o){this.processor=i,this.messages=[],this.root=a,this.opts=o,this.css="",this.map=void 0}toString(){return this.css}warn(i,a={}){a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);let o=new e(i,a);return this.messages.push(o),o}warnings(){return this.messages.filter(i=>i.type==="warning")}}return Om=t,t.default=t,Om}var km,r2;function KC(){if(r2)return km;r2=1;let e=Ua(),t=uA(),n=qC(),i=cA(),a=dA(),o=$l(),l=Zf(),{isClean:c,my:h}=aA();const d={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},m={Once:!0,postcssPlugin:!0,prepare:!0},g=0;function y(T){return typeof T=="object"&&typeof T.then=="function"}function v(T){let E=!1,C=d[T.type];return T.type==="decl"?E=T.prop.toLowerCase():T.type==="atrule"&&(E=T.name.toLowerCase()),E&&T.append?[C,C+"-"+E,g,C+"Exit",C+"Exit-"+E]:E?[C,C+"-"+E,C+"Exit",C+"Exit-"+E]:T.append?[C,g,C+"Exit"]:[C,C+"Exit"]}function x(T){let E;return T.type==="document"?E=["Document",g,"DocumentExit"]:T.type==="root"?E=["Root",g,"RootExit"]:E=v(T),{eventIndex:0,events:E,iterator:0,node:T,visitorIndex:0,visitors:[]}}function S(T){return T[c]=!1,T.nodes&&T.nodes.forEach(E=>S(E)),T}let w={};class _{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(E,C,k){this.stringified=!1,this.processed=!1;let I;if(typeof C=="object"&&C!==null&&(C.type==="root"||C.type==="document"))I=S(C);else if(C instanceof _||C instanceof a)I=S(C.root),C.map&&(typeof k.map>"u"&&(k.map={}),k.map.inline||(k.map.inline=!1),k.map.prev=C.map);else{let M=i;k.syntax&&(M=k.syntax.parse),k.parser&&(M=k.parser),M.parse&&(M=M.parse);try{I=M(C,k)}catch(j){this.processed=!0,this.error=j}I&&!I[h]&&e.rebuild(I)}this.result=new a(E,I,k),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map(M=>typeof M=="object"&&M.prepare?{...M,...M.prepare(this.result)}:M)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(E){return this.async().catch(E)}finally(E){return this.async().then(E,E)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(E,C){let k=this.result.lastPlugin;try{C&&C.addToError(E),this.error=E,E.name==="CssSyntaxError"&&!E.plugin?(E.plugin=k.postcssPlugin,E.setMessage()):k.postcssVersion}catch(I){console&&console.error&&console.error(I)}return E}prepareVisitors(){this.listeners={};let E=(C,k,I)=>{this.listeners[k]||(this.listeners[k]=[]),this.listeners[k].push([C,I])};for(let C of this.plugins)if(typeof C=="object")for(let k in C){if(!p[k]&&/^[A-Z]/.test(k))throw new Error(`Unknown event ${k} in ${C.postcssPlugin}
201. Try to update PostCSS (${this.processor.version} now).`);if(!m[k])if(typeof C[k]=="object")for(let I in C[k])I==="*"?E(C,k,C[k][I]):E(C,k+"-"+I.toLowerCase(),C[k][I]);else typeof C[k]=="function"&&E(C,k,C[k])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let E=0;E<this.plugins.length;E++){let C=this.plugins[E],k=this.runOnRoot(C);if(y(k))try{await k}catch(I){throw this.handleError(I)}}if(this.prepareVisitors(),this.hasListener){let E=this.result.root;for(;!E[c];){E[c]=!0;let C=[x(E)];for(;C.length>0;){let k=this.visitTick(C);if(y(k))try{await k}catch(I){let M=C[C.length-1].node;throw this.handleError(I,M)}}}if(this.listeners.OnceExit)for(let[C,k]of this.listeners.OnceExit){this.result.lastPlugin=C;try{if(E.type==="document"){let I=E.nodes.map(M=>k(M,this.helpers));await Promise.all(I)}else await k(E,this.helpers)}catch(I){throw this.handleError(I)}}}return this.processed=!0,this.stringify()}runOnRoot(E){this.result.lastPlugin=E;try{if(typeof E=="object"&&E.Once){if(this.result.root.type==="document"){let C=this.result.root.nodes.map(k=>E.Once(k,this.helpers));return y(C[0])?Promise.all(C):C}return E.Once(this.result.root,this.helpers)}else if(typeof E=="function")return E(this.result.root,this.result)}catch(C){throw this.handleError(C)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let E=this.result.opts,C=l;E.syntax&&(C=E.syntax.stringify),E.stringifier&&(C=E.stringifier),C.stringify&&(C=C.stringify);let I=new n(C,this.result.root,this.result.opts).generate();return this.result.css=I[0],this.result.map=I[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let E of this.plugins){let C=this.runOnRoot(E);if(y(C))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let E=this.result.root;for(;!E[c];)E[c]=!0,this.walkSync(E);if(this.listeners.OnceExit)if(E.type==="document")for(let C of E.nodes)this.visitSync(this.listeners.OnceExit,C);else this.visitSync(this.listeners.OnceExit,E)}return this.result}then(E,C){return this.async().then(E,C)}toString(){return this.css}visitSync(E,C){for(let[k,I]of E){this.result.lastPlugin=k;let M;try{M=I(C,this.helpers)}catch(j){throw this.handleError(j,C.proxyOf)}if(C.type!=="root"&&C.type!=="document"&&!C.parent)return!0;if(y(M))throw this.getAsyncError()}}visitTick(E){let C=E[E.length-1],{node:k,visitors:I}=C;if(k.type!=="root"&&k.type!=="document"&&!k.parent){E.pop();return}if(I.length>0&&C.visitorIndex<I.length){let[j,U]=I[C.visitorIndex];C.visitorIndex+=1,C.visitorIndex===I.length&&(C.visitors=[],C.visitorIndex=0),this.result.lastPlugin=j;try{return U(k.toProxy(),this.helpers)}catch(D){throw this.handleError(D,k)}}if(C.iterator!==0){let j=C.iterator,U;for(;U=k.nodes[k.indexes[j]];)if(k.indexes[j]+=1,!U[c]){U[c]=!0,E.push(x(U));return}C.iterator=0,delete k.indexes[j]}let M=C.events;for(;C.eventIndex<M.length;){let j=M[C.eventIndex];if(C.eventIndex+=1,j===g){k.nodes&&k.nodes.length&&(k[c]=!0,C.iterator=k.getIterator());return}else if(this.listeners[j]){C.visitors=this.listeners[j];return}}E.pop()}walkSync(E){E[c]=!0;let C=v(E);for(let k of C)if(k===g)E.nodes&&E.each(I=>{I[c]||this.walkSync(I)});else{let I=this.listeners[k];if(I&&this.visitSync(I,E.toProxy()))return}}warnings(){return this.sync().warnings()}}return _.registerPostcss=T=>{w=T},km=_,_.default=_,o.registerLazyResult(_),t.registerLazyResult(_),km}var Im,i2;function kU(){if(i2)return Im;i2=1;let e=qC(),t=cA(),n=dA(),i=Zf();class a{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let l,c=t;try{l=c(this._css,this._opts)}catch(h){this.error=h}if(this.error)throw this.error;return this._root=l,l}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(l,c,h){c=c.toString(),this.stringified=!1,this._processor=l,this._css=c,this._opts=h,this._map=void 0;let d=i;this.result=new n(this._processor,void 0,this._opts),this.result.css=c;let p=this;Object.defineProperty(this.result,"root",{get(){return p.root}});let m=new e(d,void 0,this._opts,c);if(m.isMap()){let[g,y]=m.generate();g&&(this.result.css=g),y&&(this.result.map=y)}else m.clearAnnotation(),this.result.css=m.css}
vendor: 8,157 bytes, lines 201-203
201async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(l){return this.async().catch(l)}finally(l){return this.async().then(l,l)}sync(){if(this.error)throw this.error;return this.result}then(l,c){return this.async().then(l,c)}toString(){return this._css}warnings(){return[]}}return Im=a,a.default=a,Im}var Nm,s2;function IU(){if(s2)return Nm;s2=1;let e=uA(),t=KC(),n=kU(),i=$l();class a{constructor(l=[]){this.version="8.5.10",this.plugins=this.normalize(l)}normalize(l){let c=[];for(let h of l)if(h.postcss===!0?h=h():h.postcss&&(h=h.postcss),typeof h=="object"&&Array.isArray(h.plugins))c=c.concat(h.plugins);else if(typeof h=="object"&&h.postcssPlugin)c.push(h);else if(typeof h=="function")c.push(h);else if(!(typeof h=="object"&&(h.parse||h.stringify)))throw new Error(h+" is not a PostCSS plugin");return c}process(l,c={}){return!this.plugins.length&&!c.parser&&!c.stringifier&&!c.syntax?new n(this,l,c):new t(this,l,c)}use(l){return this.plugins=this.plugins.concat(this.normalize([l])),this}}return Nm=a,a.default=a,i.registerProcessor(a),e.registerProcessor(a),Nm}var Dm,a2;function NU(){if(a2)return Dm;a2=1;var e={};let t=oA(),n=Xf(),i=Ua(),a=sA(),o=eh(),l=uA(),c=TU(),h=th(),d=KC(),p=GC(),m=$f(),g=cA(),y=IU(),v=dA(),x=$l(),S=lA(),w=Zf(),_=QC();function T(...E){return E.length===1&&Array.isArray(E[0])&&(E=E[0]),new y(E)}return T.plugin=function(C,k){let I=!1;function M(...U){console&&console.warn&&!I&&(I=!0,console.warn(C+`: postcss.plugin was deprecated. Migration guide:
202https://evilmartians.com/chronicles/postcss-8-plugin-migration`),e.LANG&&e.LANG.startsWith("cn")&&console.warn(C+`: 里面 postcss.plugin 被弃用. 迁移指南:
203https://www.w3ctech.com/topic/2226`));let D=k(...U);return D.postcssPlugin=C,D.postcssVersion=new y().version,D}let j;return Object.defineProperty(M,"postcss",{get(){return j||(j=M()),j}}),M.process=function(U,D,H){return T([M(H)]).process(U,D)},M},T.stringify=w,T.parse=g,T.fromJSON=c,T.list=p,T.comment=E=>new n(E),T.atRule=E=>new t(E),T.decl=E=>new o(E),T.rule=E=>new S(E),T.root=E=>new x(E),T.document=E=>new l(E),T.CssSyntaxError=a,T.Declaration=o,T.Container=i,T.Processor=y,T.Document=l,T.Comment=n,T.Warning=_,T.AtRule=t,T.Result=v,T.Input=h,T.Rule=S,T.Root=x,T.Node=m,d.registerPostcss(T),Dm=T,T.default=T,Dm}var Xd={exports:{}},df={exports:{}},DU=df.exports,o2;function MU(){return o2||(o2=1,(function(e,t){(function(n,i){e.exports=i()})(DU,(function(){var n=1e3,i=6e4,a=36e5,o="millisecond",l="second",c="minute",h="hour",d="day",p="week",m="month",g="quarter",y="year",v="date",x="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Z){var G=["th","st","nd","rd"],L=Z%100;return"["+Z+(G[(L-20)%10]||G[L]||G[0])+"]"}},T=function(Z,G,L){var q=String(Z);return!q||q.length>=G?Z:""+Array(G+1-q.length).join(L)+Z},E={s:T,z:function(Z){var G=-Z.utcOffset(),L=Math.abs(G),q=Math.floor(L/60),W=L%60;return(G<=0?"+":"-")+T(q,2,"0")+":"+T(W,2,"0")},m:function Z(G,L){if(G.date()<L.date())return-Z(L,G);var q=12*(L.year()-G.year())+(L.month()-G.month()),W=G.clone().add(q,m),ce=L-W<0,ne=G.clone().add(q+(ce?-1:1),m);return+(-(q+(L-W)/(ce?W-ne:ne-W))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:m,y,w:p,d,D:v,h,m:c,s:l,ms:o,Q:g}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},C="en",k={};k[C]=_;var I="$isDayjsObject",M=function(Z){return Z instanceof H||!(!Z||!Z[I])},j=function Z(G,L,q){var W;if(!G)return C;if(typeof G=="string"){var ce=G.toLowerCase();k[ce]&&(W=ce),L&&(k[ce]=L,W=ce);var ne=G.split("-");if(!W&&ne.length>1)return Z(ne[0])}else{var B=G.name;k[B]=G,W=B}return!q&&W&&(C=W),W||!q&&C},U=function(Z,G){if(M(Z))return Z.clone();var L=typeof G=="object"?G:{};return L.date=Z,L.args=arguments,new H(L)},D=E;D.l=j,D.i=M,D.w=function(Z,G){return U(Z,{locale:G.$L,utc:G.$u,x:G.$x,$offset:G.$offset})};var H=(function(){function Z(L){this.$L=j(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[I]=!0}var G=Z.prototype;return G.parse=function(L){this.$d=(function(q){var W=q.date,ce=q.utc;if(W===null)return new Date(NaN);if(D.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var ne=W.match(S);if(ne){var B=ne[2]-1||0,K=(ne[7]||"0").substring(0,3);return ce?new Date(Date.UTC(ne[1],B,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,K)):new Date(ne[1],B,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,K)}}return new Date(W)})(L),this.init()},G.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},G.$utils=function(){return D},G.isValid=function(){return this.$d.toString()!==x},G.isSame=function(L,q){var W=U(L);return this.startOf(q)<=W&&W<=this.endOf(q)},G.isAfter=function(L,q){return U(L)<this.startOf(q)},G.isBefore=function(L,q){return this.endOf(q)<U(L)},G.$g=function(L,q,W){return D.u(L)?this[q]:this.set(W,L)},G.unix=function(){return Math.floor(this.valueOf()/1e3)},G.valueOf=function(){return this.$d.getTime()},G.startOf=function(L,q){var W=this,ce=!!D.u(q)||q,ne=D.p(L),B=function(Se,Ye){var ke=D.w(W.$u?Date.UTC(W.$y,Ye,Se):new Date(W.$y,Ye,Se),W);return ce?ke:ke.endOf(d)},K=function(Se,Ye){return D.w(W.toDate()[Se].apply(W.toDate("s"),(ce?[0,0,0,0]:[23,59,59,999]).slice(Ye)),W)},V=this.$W,ue=this.$M,oe=this.$D,ge="set"+(this.$u?"UTC":"");switch(ne){case y:return ce?B(1,0):B(31,11);case m:return ce?B(1,ue):B(0,ue+1);case p:var ye=this.$locale().weekStart||0,Be=(V<ye?V+7:V)-ye;return B(ce?oe-Be:oe+(6-Be),ue);case d:case v:return K(ge+"Hours",0);case h:return K(ge+"Minutes",1);case c:return K(ge+"Seconds",2);case l:return K(ge+"Milliseconds",3);default:return this.clone()}},G.endOf=function(L){return this.startOf(L,!1)},G.$set=function(L,q){var W,ce=D.p(L),ne="set"+(this.$u?"UTC":""),B=(W={},W[d]=ne+"Date",W[v]=ne+"Date",W[m]=ne+"Month",W[y]=ne+"FullYear",W[h]=ne+"Hours",W[c]=ne+"Minutes",W[l]=ne+"Seconds",W[o]=ne+"Milliseconds",W)[ce],K=ce===d?this.$D+(q-this.$W):q;if(ce===m||ce===y){var V=this.clone().set(v,1);V.$d[B](K),V.init(),this.$d=V.set(v,Math.min(this.$D,V.daysInMonth())).$d}else B&&this.$d[B](K);return this.init(),this},G.set=function(L,q){return this.clone().$set(L,q)},G.get=function(L){return this[D.p(L)]()},G.add=function(L,q){var W,ce=this;L=Number(L);var ne=D.p(q),B=function(ue){var oe=U(ce);return D.w(oe.date(oe.date()+Math.round(ue*L)),ce)};if(ne===m)return this.set(m,this.$M+L);if(ne===y)return this.set(y,this.$y+L);if(ne===d)return B(1);if(ne===p)return B(7);var K=(W={},W[c]=i,W[h]=a,W[l]=n,W)[ne]||1,V=this.$d.getTime()+L*K;return D.w(V,this)},G.subtract=function(L,q){return this.add(-1*L,q)},G.format=function(L){var q=this,W=this.$locale();if(!this.isValid())return W.invalidDate||x;var ce=L||"YYYY-MM-DDTHH:mm:ssZ",ne=D.z(this),B=this.$H,K=this.$m,V=this.$M,ue=W.weekdays,oe=W.months,ge=W.meridiem,ye=function(Ye,ke,ie,fe){return Ye&&(Ye[ke]||Ye(q,ce))||ie[ke].slice(0,fe)},Be=function(Ye){return D.s(B%12||12,Ye,"0")},Se=ge||function(Ye,ke,ie){var fe=Ye<12?"AM":"PM";return ie?fe.toLowerCase():fe};return ce.replace(w,(function(Ye,ke){return ke||(function(ie){switch(ie){case"YY":return String(q.$y).slice(-2);case"YYYY":return D.s(q.$y,4,"0");case"M":return V+1;case"MM":return D.s(V+1,2,"0");case"MMM":return ye(W.monthsShort,V,oe,3);case"MMMM":return ye(oe,V);case"D":return q.$D;case"DD":return D.s(q.$D,2,"0");case"d":return String(q.$W);case"dd":return ye(W.weekdaysMin,q.$W,ue,2);case"ddd":return ye(W.weekdaysShort,q.$W,ue,3);case"dddd":return ue[q.$W];case"H":return String(B);case"HH":return D.s(B,2,"0");case"h":return Be(1);case"hh":return Be(2);case"a":return Se(B,K,!0);case"A":return Se(B,K,!1);case"m":return String(K);case"mm":return D.s(K,2,"0");
203case"s":return String(q.$s);case"ss":return D.s(q.$s,2,"0");case"SSS":return D.s(q.$ms,3,"0");case"Z":return ne}return null})(Ye)||ne.replace(":","")}))},G.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},G.diff=function(L,q,W){var ce,ne=this,B=D.p(q),K=U(L),V=(K.utcOffset()-this.utcOffset())*i,ue=this-K,oe=function(){return D.m(ne,K)};switch(B){case y:ce=oe()/12;break;case m:ce=oe();break;case g:ce=oe()/3;break;case p:ce=(ue-V)/6048e5;break;case d:ce=(ue-V)/864e5;break;case h:ce=ue/a;break;case c:ce=ue/i;break;case l:ce=ue/n;break;default:ce=ue}return W?ce:D.a(ce)},G.daysInMonth=function(){return this.endOf(m).$D},G.$locale=function(){return k[this.$L]},G.locale=function(L,q){if(!L)return this.$L;var W=this.clone(),ce=j(L,q,!0);return ce&&(W.$L=ce),W},G.clone=function(){return D.w(this.$d,this)},G.toDate=function(){return new Date(this.valueOf())},G.toJSON=function(){return this.isValid()?this.toISOString():null},G.toISOString=function(){return this.$d.toISOString()},G.toString=function(){return this.$d.toUTCString()},Z})(),ee=H.prototype;return U.prototype=ee,[["$ms",o],["$s",l],["$m",c],["$H",h],["$W",d],["$M",m],["$y",y],["$D",v]].forEach((function(Z){ee[Z[1]]=function(G){return this.$g(G,Z[0],Z[1])}})),U.extend=function(Z,G){return Z.$i||(Z(G,H,U),Z.$i=!0),U},U.locale=j,U.isDayjs=M,U.unix=function(Z){return U(1e3*Z)},U.en=k[C],U.Ls=k,U.p={},U}))})(df)),df.exports}var u2;function BU(){if(u2)return Xd.exports;u2=1;const e=MU();function t(i){for(i=i.replace(/[\x00-\x20]+/g,"");;){const a=i.indexOf("<!--");if(a===-1)break;const o=i.indexOf("-->",a+4);if(o===-1)break;i=i.substring(0,a)+i.substring(o+3)}return i}function n(i,a){a=a||{};const o=a.allowedSchemes||["http","https","ftp","mailto","tel","sms"],l=a.allowProtocolRelative!==!1;if(typeof i!="string")return!1;i=t(i);const c=i.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!c)return i.match(/^[/\\]{2}/)?!l:!1;const h=c[1].toLowerCase();return o.indexOf(h)===-1}return Xd.exports=function(i){const a={};return a.options=i||{},a.filterTag=a.options.filterTag||function(o){return o=o.trim(),o.toLowerCase()},a.string=function(o,l){return typeof o!="string"&&(typeof o=="number"||typeof o=="boolean"?o+="":o=""),o=o.trim(),l!==void 0&&o===""&&(o=l),o},a.strings=function(o){return Array.isArray(o)?o.map(function(l){return a.string(l)}):[]},a.integer=function(o,l,c,h){if(l===void 0&&(l=0),typeof o=="number")o=Math.floor(o);else try{o=parseInt(o,10),isNaN(o)&&(o=l)}catch{o=l}return typeof c=="number"&&o<c&&(o=c),typeof h=="number"&&o>h&&(o=h),o},a.padInteger=function(o,l){let c=o+"";for(;c.length<l;)c="0"+c;return c},a.float=function(o,l,c,h){if(l===void 0&&(l=0),typeof o!="number")try{o=parseFloat(o,10),isNaN(o)&&(o=l)}catch{o=l}return typeof c=="number"&&o<c&&(o=c),typeof h=="number"&&o>h&&(o=h),o},a.naughtyHref=n,a.url=function(o,l,c){if(o=a.string(o,l),o===l)return o;if(o=t(o),n(o)||(o=h(o),o===null))return l;return o;function h(d){return d.match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?d:d.match(/^[^/.]+\.[^/.]+/)?(c?"https://":"http://")+d:null}},a.select=function(o,l,c){if(o=a.string(o),!l||!l.length)return c;let h;return typeof l[0]=="object"?(h=l.find(function(d){return d.value===null||d.value===void 0?!1:d.value.toString()===o}),h!=null?h.value:c):(h=l.find(function(d){return d==null?!1:d.toString()===o}),h!==void 0?h:c)},a.boolean=function(o,l){return o===!0?!0:o===!1?!1:(o=a.string(o,l),o===l?o===void 0?!1:o:(o=o.toLowerCase().charAt(0),o===""||o==="n"||o==="0"||o==="f"?!1:o==="t"||o==="y"||o==="1"))},a.addBooleanFilterToCriteria=function(o,l,c,h){h===void 0&&(h=null);let d=typeof o=="object"&&o!==null?o[l]:o;d=d===void 0?h:d,d=a.booleanOrNull(d),d===null||(d?c[l]=!0:c[l]={$ne:!0})},a.booleanOrNull=function(o,l){return o===!0||o===!1||o===null?o:(o=a.string(o,l),o===l?l===void 0?null:o:o==="null"?null:(o=o.toLowerCase().charAt(0),o===""||o==="n"||o==="0"||o==="f"?!1:o==="t"||o==="y"||o==="1"?!0:o==="a"?null:l))},a.date=function(o,l,c){let h;function d(){return l===void 0&&(l=e().format("YYYY-MM-DD")),l}if(typeof o=="string"){if(o.match(/\//)){if(h=o.split("/"),h.length===2)return(c||new Date).getFullYear()+"-"+a.padInteger(h[0],2)+"-"+a.padInteger(h[1],2);if(h.length===3){if(h[2]<100){const p=c||new Date,m=p.getFullYear()%100,g=p.getFullYear()-m;let y=parseInt(h[2])+g;y-p.getFullYear()>50&&(y-=100),h[2]=y}return a.padInteger(h[2],4)+"-"+a.padInteger(h[0],2)+"-"+a.padInteger(h[1],2)}else return d()}else if(o.match(/-/))return h=o.split("-"),h.length===2?(c||new Date).getFullYear()+"-"+a.padInteger(h[0],2)+"-"+a.padInteger(h[1],2):h.length===3?a.padInteger(h[0],4)+"-"+a.padInteger(h[1],2)+"-"+a.padInteger(h[2],2):d()}try{return o===null||(o=c||new Date(o),isNaN(o.getTime()))?d():o.getFullYear()+"-"+a.padInteger(o.getMonth()+1,2)+"-"+a.padInteger(o.getDate(),2)}catch{return d()}},a.formatDate=function(o){return e(o).format("YYYY-MM-DD")},a.time=function(o,l){o=a.string(o).toLowerCase(),o=o.trim();const c=o.match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(c){let h=parseInt(c[1],10);const d=c[3]!==void 0?parseInt(c[3],10):0,p=c[5]!==void 0?parseInt(c[5],10):0;let m=c[6]?c[6].toLowerCase():c[6];return m=m&&m.charAt(0),h===12&&m==="a"?h-=12:h===12&&m==="p"||m==="p"&&(h+=12),(h===24||h==="24")&&(h=0),a.padInteger(h,2)+":"+a.padInteger(d,2)+":"+a.padInteger(p,2)}else return l!==void 0?l:e().format("HH:mm")},a.formatTime=function(o){return e(o).format("HH:mm:ss")}
203,a.tags=function(o,l){return typeof o=="string"&&(o=o.split(/,\s*/)),Array.isArray(o)?o.map(p=>a.string(p)).map(l||a.filterTag).filter(p=>p.length>0):[]},a.idRegExp=a.options.idRegExp||/^[A-Za-z0-9_]+$/,a.id=function(o,l){const c=a.string(o,l);return c===l||c.match(a.idRegExp)?c:l},a.ids=function(o){return Array.isArray(o)?o.filter(function(c){return a.id(c)!==void 0}):[]},a},Xd.exports.naughtyHref=n,Xd.exports}var Mm,l2;function jU(){if(l2)return Mm;l2=1;const e=AU(),t=yU(),{isPlainObject:n}=bU(),i=vU(),a=SU(),{parse:o}=NU(),{naughtyHref:l}=BU(),c=["img","audio","video","picture","svg","object","map","iframe","embed"],h=["script","style"];function d(w,_){w&&Object.keys(w).forEach(function(T){_(w[T],T)})}function p(w,_){return{}.hasOwnProperty.call(w,_)}function m(w,_){const T=[];return d(w,function(E){_(E)&&T.push(E)}),T}function g(w){for(const _ in w)if(p(w,_))return!1;return!0}function y(w){return w.map(function(_){if(!_.url)throw new Error("URL missing");return _.url+(_.w?` ${_.w}w`:"")+(_.h?` ${_.h}h`:"")+(_.d?` ${_.d}x`:"")}).join(", ")}Mm=x;const v=/^[^\0\t\n\f\r /<=>]+$/;function x(w,_,T){if(w==null)return"";typeof w=="number"&&(w=w.toString());let E="",C="";function k(ie,fe){const de=this;this.tag=ie,this.attribs=fe||{},this.tagPosition=E.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(q.length){const ve=q[q.length-1];ve.text+=de.text}},this.updateParentNodeMediaChildren=function(){q.length&&c.includes(this.tag)&&q[q.length-1].mediaChildren.push(this.tag)}}_=Object.assign({},x.defaults,_),_.parser=Object.assign({},S,_.parser);const I=function(ie){return _.allowedTags===!1||(_.allowedTags||[]).indexOf(ie)>-1};h.forEach(function(ie){I(ie)&&!_.allowVulnerableTags&&console.warn(`
204
205⚠️ Your \`allowedTags\` option includes, \`${ie}\`, which is inherently
206vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
207Or, to disable this warning, add the \`allowVulnerableTags\` option
208and ensure you are accounting for this risk.
209
210`)});const M=_.nonTextTags||["script","style","textarea","option","xmp"];let j,U;_.allowedAttributes&&(j={},U={},d(_.allowedAttributes,function(ie,fe){j[fe]=[];const de=[];ie.forEach(function(ve){typeof ve=="string"&&ve.indexOf("*")>=0?de.push(t(ve).replace(/\\\*/g,".*")):j[fe].push(ve)}),de.length&&(U[fe]=new RegExp("^("+de.join("|")+")$"))}));const D={},H={},ee={};d(_.allowedClasses,function(ie,fe){if(j&&(p(j,fe)||(j[fe]=[]),j[fe].push("class")),D[fe]=ie,Array.isArray(ie)){const de=[];D[fe]=[],ee[fe]=[],ie.forEach(function(ve){typeof ve=="string"&&ve.indexOf("*")>=0?de.push(t(ve).replace(/\\\*/g,".*")):ve instanceof RegExp?ee[fe].push(ve):D[fe].push(ve)}),de.length&&(H[fe]=new RegExp("^("+de.join("|")+")$"))}});const Z={};let G;d(_.transformTags,function(ie,fe){let de;typeof ie=="function"?de=ie:typeof ie=="string"&&(de=x.simpleTransform(ie)),fe==="*"?G=de:Z[fe]=de});let L,q,W,ce,ne,B,K=!1;ue();const V=new e.Parser({onopentag:function(ie,fe){if(_.onOpenTag&&_.onOpenTag(ie,fe),_.enforceHtmlBoundary&&ie==="html"&&ue(),ne){B++;return}const de=new k(ie,fe);q.push(de);let ve=!1;const wt=!!de.text;let Pt;if(p(Z,ie)&&(Pt=Z[ie](ie,fe),de.attribs=fe=Pt.attribs,Pt.text!==void 0&&(de.innerText=Pt.text),ie!==Pt.tagName&&(de.name=ie=Pt.tagName,ce[L]=Pt.tagName)),G&&(Pt=G(ie,fe),de.attribs=fe=Pt.attribs,ie!==Pt.tagName&&(de.name=ie=Pt.tagName,ce[L]=Pt.tagName)),(!I(ie)||_.disallowedTagsMode==="recursiveEscape"&&!g(W)||_.nestingLimit!=null&&L>=_.nestingLimit)&&(ve=!0,W[L]=!0,(_.disallowedTagsMode==="discard"||_.disallowedTagsMode==="completelyDiscard")&&M.indexOf(ie)!==-1&&(ne=!0,B=1)),L++,ve){if(_.disallowedTagsMode==="discard"||_.disallowedTagsMode==="completelyDiscard"){if(de.innerText&&!wt){const je=oe(de.innerText);_.textFilter?E+=_.textFilter(je,ie):E+=je,K=!0}return}C=E,E=""}E+="<"+ie,ie==="script"&&(_.allowedScriptHostnames||_.allowedScriptDomains)&&(de.innerText=""),ve&&(_.disallowedTagsMode==="escape"||_.disallowedTagsMode==="recursiveEscape")&&_.preserveEscapedAttributes?d(fe,function(je,qe){E+=" "+qe+'="'+oe(je||"",!0)+'"'}):(!j||p(j,ie)||j["*"])&&d(fe,function(je,qe){if(!v.test(qe)){delete de.attribs[qe];return}if(je===""&&!_.allowedEmptyAttributes.includes(qe)&&(_.nonBooleanAttributes.includes(qe)||_.nonBooleanAttributes.includes("*"))){delete de.attribs[qe];return}let hr=!1;if(!j||p(j,ie)&&j[ie].indexOf(qe)!==-1||j["*"]&&j["*"].indexOf(qe)!==-1||p(U,ie)&&U[ie].test(qe)||U["*"]&&U["*"].test(qe))hr=!0;else if(j&&j[ie]){for(const Fe of j[ie])if(n(Fe)&&Fe.name&&Fe.name===qe){hr=!0;let Ne="";if(Fe.multiple===!0){const He=je.split(" ");for(const lt of He)Fe.values.indexOf(lt)!==-1&&(Ne===""?Ne=lt:Ne+=" "+lt)}else Fe.values.indexOf(je)>=0&&(Ne=je);je=Ne}}if(hr){if(_.allowedSchemesAppliedToAttributes.indexOf(qe)!==-1&&ge(ie,je)){delete de.attribs[qe];return}if(ie==="script"&&qe==="src"){let Fe=!0;try{const Ne=ye(je);if(_.allowedScriptHostnames||_.allowedScriptDomains){const He=(_.allowedScriptHostnames||[]).find(function(St){return St===Ne.url.hostname}),lt=(_.allowedScriptDomains||[]).find(function(St){return Ne.url.hostname===St||Ne.url.hostname.endsWith(`.${St}`)});Fe=He||lt}}catch{Fe=!1}if(!Fe){delete de.attribs[qe];return}}if(ie==="iframe"&&qe==="src"){let Fe=!0;try{const Ne=ye(je);if(Ne.isRelativeUrl)Fe=p(_,"allowIframeRelativeUrls")?_.allowIframeRelativeUrls:!_.allowedIframeHostnames&&!_.allowedIframeDomains;else if(_.allowedIframeHostnames||_.allowedIframeDomains){const He=(_.allowedIframeHostnames||[]).find(function(St){return St===Ne.url.hostname}),lt=(_.allowedIframeDomains||[]).find(function(St){return Ne.url.hostname===St||Ne.url.hostname.endsWith(`.${St}`)});Fe=He||lt}}catch{Fe=!1}if(!Fe){delete de.attribs[qe];return}}if(qe==="srcset"||qe==="imagesrcset")try{let Fe=a(je);if(Fe.forEach(function(Ne){ge(qe,Ne.url)&&(Ne.evil=!0)}),Fe=m(Fe,function(Ne){return!Ne.evil}),Fe.length)je=y(m(Fe,function(Ne){return!Ne.evil})),de.attribs[qe]=je;else{delete de.attribs[qe];return}}catch{delete de.attribs[qe];return}if(qe==="class"){const Fe=D[ie],Ne=D["*"],He=H[ie],lt=ee[ie],St=ee["*"],Xn=H["*"],Li=[He,Xn].concat(lt,St).filter(function(pr){return pr});if(Fe&&Ne?je=ke(je,i(Fe,Ne),Li):je=ke(je,Fe||Ne,Li),!je.length){delete de.attribs[qe];return}}if(qe==="style"){if(_.parseStyleAttributes)try{const Fe=o(ie+" {"+je+"}",{map:!1}),Ne=Be(Fe,_.allowedStyles);if(je=Se(Ne),je.length===0){delete de.attribs[qe];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+ie+" {"+je+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete de.attribs[qe];return}else if(_.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}E+=" "+qe,je&&je.length?E+='="'+oe(je,!0)+'"':_.allowedEmptyAttributes.includes(qe)&&(E+='=""')}else delete de.attribs[qe]}),_.selfClosing.indexOf(ie)!==-1?E+=" />":(E+=">",de.innerText&&!wt&&!_.textFilter&&(E+=oe(de.innerText),K=!0)),ve&&(E=C+oe(E),C=""),de.openingTagLength=E.length-de.tagPosition},ontext:function(ie){if(ne)return;const fe=q[q.length-1];let de;if(fe&&(de=fe.tag,ie=fe.innerText!==void 0?fe.innerText:ie),_.disallowedTagsMode==="completelyDiscard"&&!I(de))ie="";else if(de&&I(de)&&(_.disallowedTagsMode==="discard"||_.disallowedTagsMode==="completelyDiscard")&&(de==="script"||de==="style"))E+=ie;else if(de&&I(de)&&(_.disallowedTagsMode==="discard"||_.disallowedTagsMode==="completelyDiscard")&&(de==="textarea"||de==="xmp"))E+=ie;else if(!K){const ve=oe(ie,!1);_.textFilter?E+=_.textFilter(ve,de):E+=ve}if(q.length){const ve=q[q.length-1];ve.text+=ie}},onclosetag:function(ie,fe){if(_.onCloseTag&&_.onCloseTag(ie,fe),ne)if(B--,!B)ne=!1;else return;const de=q.pop();if(!de)return;if(de.tag!==ie){q.push(de);return}ne=_.enforceHtmlBoundary?ie==="html":!1,L--;const ve=W[L];if(ve){if(delete W[L],_.disallowedTagsMode==="discard"||_.disallowedTagsMode==="completelyDiscard"){de.updateParentNodeText();return}C=E,E=""}if(ce[L]&&(ie=ce[L],delete ce[L]),_.exclusiveFilter){const wt=_.exclusiveFilter(de);if(wt==="excludeTag"){ve&&(E=C,C=""),E=E.substring(0,de.tagPosition)+E.substring(de.tagPosition+de.openingTagLength);return}else if(wt){E=E.substring(0,de.tagPosition);return}}if(de.updateParentNodeMediaChildren(),de.updateParentNodeText(),_.selfClosing.indexOf(ie)!==-1||fe&&!I(ie)&&["escape","recursiveEscape"].indexOf(_.disallowedTagsMode)>=0){ve&&(E=C,C="");return}E+="</"+ie+">",ve&&(E=C+oe(E),C=""),K=!1}},_.parser);if(V.write(w),V.end(),_.disallowedTagsMode==="escape"||_.disallowedTagsMode==="recursiveEscape"){const ie=V.endIndex;if(ie!=null&&ie>=0&&ie<w.length){const fe=w.substring(ie);E+=oe(fe)}else(ie==null||ie<0)&&w.length>0&&E===""&&(E=oe(w))}return E;function ue(){E="",L=0,q=[],W={}
210,ce={},ne=!1,B=0}function oe(ie,fe){return typeof ie!="string"&&(ie=ie+""),_.parser.decodeEntities&&(ie=ie.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),fe&&(ie=ie.replace(/"/g,"&quot;"))),ie=ie.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),fe&&(ie=ie.replace(/"/g,"&quot;")),ie}function ge(ie,fe){const de=p(_.allowedSchemesByTag,ie)?_.allowedSchemesByTag[ie]:_.allowedSchemes||[];return l(fe,{allowedSchemes:de,allowProtocolRelative:_.allowProtocolRelative})}function ye(ie){if(ie=ie.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),ie.startsWith("relative:"))throw new Error("relative: exploit attempt");let fe="relative://relative-site";for(let wt=0;wt<100;wt++)fe+=`/${wt}`;const de=new URL(ie,fe);return{isRelativeUrl:de&&de.hostname==="relative-site"&&de.protocol==="relative:",url:de}}function Be(ie,fe){if(!fe)return ie;const de=ie.nodes[0];let ve;return fe[de.selector]&&fe["*"]?ve=i(fe[de.selector],fe["*"]):ve=fe[de.selector]||fe["*"],ve&&(ie.nodes[0].nodes=de.nodes.reduce(Ye(ve),[])),ie}function Se(ie){return ie.nodes[0].nodes.reduce(function(fe,de){return fe.push(`${de.prop}:${de.value}${de.important?" !important":""}`),fe},[]).join(";")}function Ye(ie){return function(fe,de){return p(ie,de.prop)&&ie[de.prop].some(function(wt){return wt.test(de.value)})&&fe.push(de),fe}}function ke(ie,fe,de){return fe?(ie=ie.split(/\s+/),ie.filter(function(ve){return fe.indexOf(ve)!==-1||de.some(function(wt){return wt.test(ve)})}).join(" ")):ie}}const S={decodeEntities:!0};return x.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite","action","formaction","data","xlink:href","poster","background","ping","longdesc","usemap","codebase","classid","archive","profile","manifest","itemid","dynsrc","lowsrc"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},x.simpleTransform=function(w,_,T){return T=T===void 0?!0:T,_=_||{},function(E,C){let k;if(T)for(k in _)C[k]=_[k];else C=_;return{tagName:w,attribs:C}}},Mm}var LU=jU();const PU=Eg(LU),UU=["youtube.com","www.youtube.com","youtube-nocookie.com","www.youtube-nocookie.com","player.vimeo.com","vimeo.com","w.soundcloud.com","open.spotify.com","twitter.com","platform.twitter.com","instagram.com","www.instagram.com","tiktok.com","www.tiktok.com","shopify.com"];function FU(e){if(!e)return!1;try{const t=new URL(e,"https://placeholder.local");if(!/^https?:$/.test(t.protocol))return!1;const n=t.hostname.toLowerCase();return UU.some(i=>n===i||n.endsWith(`.${i}`))}catch{return!1}}const HU={allowedTags:["p","br","hr","div","span","strong","b","em","i","u","s","sub","sup","small","mark","h1","h2","h3","h4","h5","h6","ul","ol","li","blockquote","pre","code","a","img","table","thead","tbody","tfoot","tr","th","td","figure","figcaption","iframe","video","source","audio","button"],allowedAttributes:{a:["href","title","target","rel","name"],img:["src","srcset","sizes","alt","title","width","height","loading","decoding"],iframe:["src","width","height","title","name","frameborder","allow","allowfullscreen","loading","referrerpolicy"],video:["src","poster","controls","muted","loop","auto
210play","playsinline","width","height","preload"],audio:["src","controls","muted","loop","autoplay","preload"],source:["src","type","media","srcset","sizes"],th:["colspan","rowspan","scope"],td:["colspan","rowspan"],table:["summary"],"*":["id","class","style","dir","lang"]},allowedSchemes:["http","https","mailto","tel"],allowedSchemesByTag:{img:["http","https","data"]},allowedStyles:{"*":{"text-align":[/^(left|right|center|justify)$/],color:[/^#(0x)?[0-9a-f]+$/i,/^rgba?\(/,/^oklch\(/,/^hsla?\(/],"background-color":[/^#(0x)?[0-9a-f]+$/i,/^rgba?\(/,/^oklch\(/,/^hsla?\(/]}},transformTags:{a:(e,t)=>{const n=t.href??"",i=n.startsWith("/")||n.startsWith("#");return{tagName:e,attribs:{...t,...i?{}:{target:t.target??"_blank",rel:"noopener noreferrer nofollow"}}}},img:(e,t)=>({tagName:e,attribs:{...t,loading:t.loading??"lazy",decoding:t.decoding??"async"}}),iframe:(e,t)=>FU(t.src)?{tagName:e,attribs:{...t,loading:t.loading??"lazy",referrerpolicy:t.referrerpolicy??"no-referrer-when-downgrade",allow:t.allow??"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:t.allowfullscreen??"true"}}:{tagName:"div",attribs:{},text:""}}};function zU({html:e,className:t}){const n=PU(e??"",HU);return O.jsx("div",{className:`shopify-rich-text ${t??""}`,dangerouslySetInnerHTML:{__html:n}})}const GU="https://geltoynation.com";function YC(e,t){const n=`${GU}/product/${e}`,i=t?`${t.title} — GelToyNation`:"Product — GelToyNation",a=t?.description?.replace(/\s+/g," ").trim()??"Shop premium gel blasters at GelToyNation. Fast US shipping, 30-day returns.",o=a.length>160?`${a.slice(0,157)}…`:a,l=t?.images.edges[0]?.node.url,c=t?.priceRange.minVariantPrice,h=[{title:i.length>60?`${i.slice(0,57)}…`:i},{name:"description",content:o},{property:"og:title",content:t?.title??i},{property:"og:description",content:o},{property:"og:url",content:n},{property:"og:type",content:"product"},{name:"twitter:card",content:l?"summary_large_image":"summary"},{name:"twitter:title",content:t?.title??i},{name:"twitter:description",content:o}];l&&(h.push({property:"og:image",content:l}),h.push({name:"twitter:image",content:l}));const d=t&&c?[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Product",name:t.title,description:a,image:t.images.edges.map(p=>p.node.url),sku:t.handle,brand:{"@type":"Brand",name:"GelToyNation"},offers:{"@type":"Offer",url:n,priceCurrency:c.currencyCode,price:c.amount,availability:t.variants.edges.some(p=>p.node.availableForSale)?"https://schema.org/InStock":"https://schema.org/OutOfStock"}})}]:[];return{meta:h,links:[{rel:"canonical",href:n}],scripts:d}}function eF({handle:e,initialProduct:t}){const{data:n,isLoading:i}=fE({queryKey:["shopify","product",e],queryFn:()=>Kf(e),staleTime:3e5,initialData:t??void 0}),[a,o]=P.useState(null),[l,c]=P.useState(1),[h,d]=P.useState(0),p=Rr(w=>w.addItem),m=Rr(w=>w.isLoading);if(i)return O.jsx(c2,{children:O.jsx("div",{className:"flex justify-center py-32",children:O.jsx(Di,{className:"h-8 w-8 animate-spin text-brand"})})});if(!n)throw LR();const g=n.variants.edges.map(w=>w.node),y=g.find(w=>w.id===a)??g[0],v=n.images.edges.map(w=>w.node),x=v[h]??v[0],S=async()=>{y&&await p({product:{id:n.id,title:n.title,handle:n.handle,images:n.images},variantId:y.id,variantTitle:y.title,price:y.price,quantity:l,selectedOptions:y.selectedOptions??[]})};return O.jsx(c2,{children:O.jsxs("div",{className:"mx-auto max-w-7xl px-4 md:px-6 py-8 md:py-12",children:[O.jsxs(Oi,{to:"/shop",className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-brand mb-6",children:[O.jsx(oM,{className:"h-4 w-4"})," Back to shop"]}),O.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 md:gap-12",children:[O.jsxs("div",{className:"space-y-3",children:[O.jsx("div",{className:"aspect-square rounded-2xl overflow-hidden border border-border bg-surface",children:x&&O.jsx("img",{src:x.url,alt:x.altText??n.title,className:"h-full w-full object-cover"})}),v.length>1&&O.jsx("div",{className:"grid grid-cols-5 gap-2",children:v.map((w,_)=>O.jsx("button",{onClick:()=>d(_),"aria-label":`View image ${_+1} of ${v.length} for ${n.title}`,"aria-pressed":_===h,className:`aspect-square rounded-lg overflow-hidden border-2 transition ${_===h?"border-brand":"border-border hover:border-brand/40"}`,children:O.jsx("img",{src:w.url,alt:"",className:"h-full w-full object-cover"})},_))})]}),O.jsxs("div",{children:[O.jsx("h1",{className:"font-display text-3xl md:text-5xl font-extrabold uppercase leading-tight",children:n.title}),O.jsx(iU,{productGid:n.id,productHandle:n.handle,className:"mt-3"}),(()=>{const w=y?.price??n.priceRange.minVariantPrice,_=y?.compareAtPrice??n.compareAtPriceRange?.minVariantPrice??null,T=Yg(w,_);return O.jsxs("div",{className:"mt-4 flex items-baseline gap-3",children:[T&&O.jsx("span",{className:"font-display text-2xl font-bold text-muted-foreground line-through",children:$o(_)}),O.jsx("span",{className:"font-display text-3xl font-bold text-brand",children:$o(w)}),T&&O.jsxs("span",{className:"px-2 py-1 rounded-md text-[10px] font-bold uppercase tracking-wider bg-brand/10 text-brand border border-brand/30",children:["Save ",B5(w,_),"%"]})]})})(),O.jsx(zU,{html:n.descriptionHtml||n.description,className:"mt-6"}),g.length>1&&O.jsxs("div",{className:"mt-6",children:[O.jsx("p",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground mb-2",children:"Variant"}),O.jsx("div",{className:"flex flex-wrap gap-2",children:g.map(w=>O.jsx("button",{onClick:()=>o(w.id),disabled:!w.availableForSale,className:`px-4 py-2 rounded-full text-xs font-semibold uppercase tracking-wider border-2 transition ${(y?.id??g[0].id)===w.id?"border-brand bg-brand/10 text-brand":"border-border text-foreground
210/80 hover:border-brand/50"} ${w.availableForSale?"":"opacity-40 line-through"}`,children:w.title},w.id))})]}),O.jsx("div",{className:"mt-6 rounded-xl border border-border bg-surface divide-y divide-border",children:[{icon:Fw,label:"Fast Shipping – Ships Within 1–2 Business Days"},{icon:mM,label:"24/7 Customer Support"}].map(w=>O.jsxs("div",{className:"flex items-center gap-3 px-4 py-3",children:[O.jsx(w.icon,{className:"h-5 w-5 text-brand shrink-0"}),O.jsx("p",{className:"text-sm font-semibold uppercase tracking-wide text-foreground/90",children:w.label})]},w.label))}),O.jsxs("div",{className:"mt-6 flex items-center gap-4",children:[O.jsxs("div",{className:"flex items-center border border-border rounded-full",children:[O.jsx("button",{onClick:()=>c(Math.max(1,l-1)),"aria-label":"Decrease quantity",className:"p-3 hover:text-brand",children:O.jsx(bE,{className:"h-4 w-4"})}),O.jsx("span",{className:"w-10 text-center font-semibold","aria-live":"polite","aria-label":`Quantity: ${l}`,children:l}),O.jsx("button",{onClick:()=>c(l+1),"aria-label":"Increase quantity",className:"p-3 hover:text-brand",children:O.jsx(Jg,{className:"h-4 w-4"})})]}),O.jsx(Xg,{size:"lg",onClick:S,disabled:m||!y?.availableForSale,className:"flex-1",children:m?O.jsx(Di,{className:"h-4 w-4 animate-spin"}):y?.availableForSale?"Add to Cart":"Sold Out"})]}),O.jsx("div",{className:"mt-8 grid grid-cols-3 gap-3 text-xs",children:[{icon:Fw,label:"Free US Shipping On All Orders"},{icon:NM,label:"Secure Checkout"},{icon:TM,label:"30-Day Returns"}].map(w=>O.jsxs("div",{className:"rounded-xl border border-border bg-surface p-3 text-center",children:[O.jsx(w.icon,{className:"h-4 w-4 mx-auto text-brand"}),O.jsx("p",{className:"mt-1.5 font-semibold uppercase tracking-wide text-[10px]",children:w.label})]},w.label))})]})]}),O.jsx(sU,{productGid:n.id,productTitle:n.title,productHandle:n.handle})]})})}function c2({children:e}){return O.jsxs("div",{className:"min-h-screen bg-background",children:[O.jsx(v9,{}),O.jsx("main",{children:e}),O.jsx(S9,{})]})}const qU=()=>At(()=>import("./product._handle-BJtCKUCq.js"),[]),QU=vt("/product/$handle")({loader:async({params:e})=>({product:await Kf(e.handle)}),component:gt(qU,"component"),head:({params:e,loaderData:t})=>YC(e.handle,t?.product)}),KU=()=>At(()=>import("./products._handle-Bwa74vnM.js"),[]),YU=vt("/products/$handle")({loader:async({params:e})=>({product:await Kf(e.handle)}),component:gt(KU,"component"),head:({params:e,loaderData:t})=>YC(e.handle,t?.product)}),VU=()=>At(()=>import("./admin.chats-BrUj0A02.js"),__vite__mapDeps([29,26])),WU=vt("/_authenticated/admin/chats")({head:()=>({meta:[{title:"Inbox — GelToyNation Admin"}]}),component:gt(VU,"component")}),JU=()=>At(()=>import("./admin.reviews-D_fJaiqY.js"),__vite__mapDeps([30,1,26,31])),ZU=vt("/_authenticated/admin/reviews")({head:()=>({meta:[{title:"Reviews — GelToyNation Admin"}]}),component:gt(JU,"component")}),$U=()=>At(()=>import("./admin.subscribers-BMZRqE_e.js"),__vite__mapDeps([32,6,31])),XU=vt("/_authenticated/admin/subscribers")({head:()=>({meta:[{title:"Email Subscribers — GelToyNation Admin"}]}),component:gt($U,"component")}),e7=()=>At(()=>import("./blog._blogHandle._articleHandle-DtqBFgK5.js"),[]),t7=vt("/blog/$blogHandle/$articleHandle")({beforeLoad:({params:e})=>{throw Ma({to:"/blog/$handle",params:{handle:e.articleHandle},statusCode:301})},component:gt(e7,"component")}),n7=()=>At(()=>import("./blogs._blogHandle._articleHandle-DtqBFgK5.js"),[]),r7=vt("/blogs/$blogHandle/$articleHandle")({beforeLoad:({params:e})=>{throw Ma({to:"/blog/$handle",params:{handle:e.articleHandle},statusCode:301})},component:gt(n7,"component")}),i7=$B.update({id:"/",path:"/",getParentRoute:()=>Yt}),Xl=ej.update({id:"/_authenticated",getParentRoute:()=>Yt}),s7=nj.update({id:"/about",path:"/about",getParentRoute:()=>Yt}),a7=ij.update({id:"/auth",path:"/auth",getParentRoute:()=>Yt}),ec=aj.update({id:"/blog",path:"/blog",getParentRoute:()=>Yt}),VC=Uj.update({id:"/blogs",path:"/blogs",getParentRoute:()=>Yt}),o7=qj.update({id:"/bundles",path:"/bundles",getParentRoute:()=>Yt}),u7=Kj.update({id:"/contact",path:"/contact",getParentRoute:()=>Yt}),l7=$j.update({id:"/faq",path:"/faq",getParentRoute:()=>Yt}),c7=eL.update({id:"/returns",path:"/returns",getParentRoute:()=>Yt}),d7=nL.update({id:"/shipping",path:"/shipping",getParentRoute:()=>Yt}),f7=iL.update({id:"/shooting-challenge",path:"/shooting-challenge",getParentRoute:()=>Yt}),h7=oL.update({id:"/shop",path:"/shop",getParentRoute:()=>Yt}),p7=lL.update({id:"/signin",path:"/signin",getParentRoute:()=>Yt}),m7=dL.update({id:"/terms",path:"/terms",getParentRoute:()=>Yt}),g7=hL.update({id:"/track",path:"/track",getParentRoute:()=>Yt}),A7=gL.update({id:"/account",path:"/account",getParentRoute:()=>Xl}),y7=yL.update({id:"/",path:"/",getParentRoute:()=>ec}),b7=SL.update({id:"/$handle",path:"/$handle",getParentRoute:()=>ec}),v7=xL.update({id:"/surge-xl-vs-fjs-mk8",path:"/surge-xl-vs-fjs-mk8",getParentRoute:()=>ec}),w7=QU.update({id:"/product/$handle",path:"/product/$handle",getParentRoute:()=>Yt}),S7=YU.update({id:"/products/$handle",path:"/products/$handle",getParentRoute:()=>Yt}),_7=WU.update({id:"/admin/chats",path:"/admin/chats",getParentRoute:()=>Xl}),x7=ZU.update({id:"/admin/reviews",path:"/admin/reviews",getParentRoute:()=>Xl}),E7=XU.update({id:"/admin/subscribers",path:"/admin/subscribers",getParentRoute:()=>Xl}),C7=t7.update({id:"/$blogHandle/$articleHandle",path:"/$blogHandle/$articleHandle",getParentRoute:()=>ec}),T7=r7.update({id:"/$blogHandle/$articleHandle",path:"/$blogHandle/$articleHandle",getParentRoute:()=>VC}),R7={AuthenticatedAccountRoute:A7,AuthenticatedAdminChatsRoute:_7,AuthenticatedAdminReviewsRoute:x7,AuthenticatedAdminSubscribersRoute:E7},O7=Xl._addFileChildren(R7),k7={BlogHandleRoute:b7,BlogSurgeXlVsFjsMk8Route:v7,BlogIndexRoute:y7,BlogBlogHandleArticleHandleRoute:C7},I7=ec._addFileChildren(k7),N7={BlogsBlogHandleArticleHandleRoute:T7},D7=VC._addFileChildren(N7),M7={IndexRoute:i7,AuthenticatedRouteRoute:O7,AboutRoute:s7,AuthRoute:a7,BlogRoute:I7,BlogsRoute:D7,BundlesRoute:o7,ContactRoute:u7,FaqRoute:l7,ReturnsRoute:c7,ShippingRoute:d7,ShootingChallengeRoute:f7,ShopRoute:h7,SigninRoute:p7,TermsRoute:m7,TrackRoute:g7,ProductHandleRoute:w7,ProductsHandleRoute:S7},B7=Yt._addFileChildren(M7),j7=()=>{const e=new r5;return pI({routeTree:B7,context:{queryClient:e},scrollRestoration:!0,defaultPreloadStaleTime:0})};async function L7(){const e=await j7();let t;if(Sw){const n=await Sw.getOptions();n.serializationAdapters=n.serializationAdapters??[],window.__TSS_START_OPTIONS__=n,t=n.seri
210alizationAdapters,e.options.defaultSsr=n.defaultSsr}else t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t};return t.push(mk),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:"",serializationAdapters:t}),e.stores.matchesId.get().length||await bk(e),e}var P7=L7;async function U7(){const e=await P7();return window.$_TSR?.h(),e}var Bm;function F7(){return Bm||(Bm=U7()),O.jsx(_k,{promise:Bm,children:e=>O.jsx(AI,{router:e})})}P.startTransition(()=>{oR.hydrateRoot(document,O.jsx(P.StrictMode,{children:O.jsx(F7,{})}))});export{l5 as $,ji as A,V7 as B,Xg as C,Up as D,Ds as E,S9 as F,W7 as G,mM as H,Vf as I,Gl as J,Wr as K,Oi as L,SM as M,Jj as N,Rx as O,Dp as P,Wl as Q,Uj as R,NM as S,Fw as T,pn as U,ig as V,rE as W,Jl as X,WD as Y,i5 as Z,a5 as _,oM as a,h5 as a0,c5 as a1,d5 as a2,Ln as a3,m5 as a4,Dw as a5,f5 as a6,G7 as a7,TM as a8,Un as a9,kM as aA,Jg as aB,BM as aC,cr as aa,oL as ab,P5 as ac,Yg as ad,B5 as ae,HE as af,g5 as ag,z7 as ah,Yf as ai,nn as aj,dM as ak,SL as al,jj as am,vL as an,zU as ao,jd as ap,hM as aq,QU as ar,eF as as,YU as at,q7 as au,Q7 as av,K7 as aw,Y7 as ax,lM as ay,Mp as az,Di as b,Rt as c,F5 as d,Rr as e,zj as f,Kf as g,sM as h,$o as i,O as j,ol as k,v9 as l,xx as m,Bj as n,vE as o,JB as p,Bd as q,P as r,tE as s,J7 as t,fE as u,tA as v,CL as w,Vr as x,Pa as y,IL as z};

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.