vendor: 6,238 bytes, lines 1-9
1var ip=r=>{throw TypeError(r)};var zu=(r,t,s)=>t.has(r)||ip("Cannot "+s);var _=(r,t,s)=>(zu(r,t,"read from private field"),s?s.call(r):t.get(r)),ce=(r,t,s)=>t.has(r)?ip("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,s),X=(r,t,s,i)=>(zu(r,t,"write to private field"),i?i.call(r,s):t.set(r,s),s),Se=(r,t,s)=>(zu(r,t,"access private method"),s);var ya=(r,t,s,i)=>({set _(l){X(r,t,l,s)},get _(){return _(r,t,i)}});function L0(r,t){for(var s=0;s<t.length;s++){const i=t[s];if(typeof i!="string"&&!Array.isArray(i)){for(const l in i)if(l!=="default"&&!(l in r)){const u=Object.getOwnPropertyDescriptor(i,l);u&&Object.defineProperty(r,l,u.get?u:{enumerable:!0,get:()=>i[l]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))i(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function s(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(l){if(l.ep)return;l.ep=!0;const u=s(l);fetch(l.href,u)}})();function Bm(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Bu={exports:{}},jo={},$u={exports:{}},be={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var ap;function I0(){if(ap)return be;ap=1;var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),w=Symbol.iterator;function S(N){return N===null||typeof N!="object"?null:(N=w&&N[w]||N["@@iterator"],typeof N=="function"?N:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,T={};function k(N,z,fe){this.props=N,this.context=z,this.refs=T,this.updater=fe||P}k.prototype.isReactComponent={},k.prototype.setState=function(N,z){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,z,"setState")},k.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function b(){}b.prototype=k.prototype;function I(N,z,fe){this.props=N,this.context=z,this.refs=T,this.updater=fe||P}var O=I.prototype=new b;O.constructor=I,M(O,k.prototype),O.isPureReactComponent=!0;var D=Array.isArray,V=Object.prototype.hasOwnProperty,Q={current:null},ie={key:!0,ref:!0,__self:!0,__source:!0};function B(N,z,fe){var pe,ue={},G=null,ve=null;if(z!=null)for(pe in z.ref!==void 0&&(ve=z.ref),z.key!==void 0&&(G=""+z.key),z)V.call(z,pe)&&!ie.hasOwnProperty(pe)&&(ue[pe]=z[pe]);var ke=arguments.length-2;if(ke===1)ue.children=fe;else if(1<ke){for(var ge=Array(ke),et=0;et<ke;et++)ge[et]=arguments[et+2];ue.children=ge}if(N&&N.defaultProps)for(pe in ke=N.defaultProps,ke)ue[pe]===void 0&&(ue[pe]=ke[pe]);return{$$typeof:r,type:N,key:G,ref:ve,props:ue,_owner:Q.current}}function de(N,z){return{$$typeof:r,type:N.type,key:z,ref:N.ref,props:N.props,_owner:N._owner}}function we(N){return typeof N=="object"&&N!==null&&N.$$typeof===r}function he(N){var z={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(fe){return z[fe]})}var Pe=/\/+/g;function $e(N,z){return typeof N=="object"&&N!==null&&N.key!=null?he(""+N.key):z.toString(36)}function Te(N,z,fe,pe,ue){var G=typeof N;(G==="undefined"||G==="boolean")&&(N=null);var ve=!1;if(N===null)ve=!0;else switch(G){case"string":case"number":ve=!0;break;case"object":switch(N.$$typeof){case r:case t:ve=!0}}if(ve)return ve=N,ue=ue(ve),N=pe===""?"."+$e(ve,0):pe,D(ue)?(fe="",N!=null&&(fe=N.replace(Pe,"$&/")+"/"),Te(ue,z,fe,"",function(et){return et})):ue!=null&&(we(ue)&&(ue=de(ue,fe+(!ue.key||ve&&ve.key===ue.key?"":(""+ue.key).replace(Pe,"$&/")+"/")+N)),z.push(ue)),1;if(ve=0,pe=pe===""?".":pe+":",D(N))for(var ke=0;ke<N.length;ke++){G=N[ke];var ge=pe+$e(G,ke);ve+=Te(G,z,fe,ge,ue)}else if(ge=S(N),typeof ge=="function")for(N=ge.call(N),ke=0;!(G=N.next()).done;)G=G.value,ge=pe+$e(G,ke++),ve+=Te(G,z,fe,ge,ue);else if(G==="object")throw z=String(N),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return ve}function Le(N,z,fe){if(N==null)return N;var pe=[],ue=0;return Te(N,pe,"","",function(G){return z.call(fe,G,ue++)}),pe}function Re(N){if(N._status===-1){var z=N._result;z=z(),z.then(function(fe){(N._status===0||N._status===-1)&&(N._status=1,N._result=fe)},function(fe){(N._status===0||N._status===-1)&&(N._status=2,N._result=fe)}),N._status===-1&&(N._status=0,N._result=z)}if(N._status===1)return N._result.default;throw N._result}var Ce={current:null},K={transition:null},oe={ReactCurrentDispatcher:Ce,ReactCurrentBatchConfig:K,ReactCurrentOwner:Q};function F(){throw Error("act(...) is not supported in production builds of React.")}return be.Children={map:Le,forEach:function(N,z,fe){Le(N,function(){z.apply(this,arguments)},fe)},count:function(N){var z=0;return Le(N,function(){z++}),z},toArray:function(N){return Le(N,function(z){return z})||[]},only:function(N){if(!we(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},be.Component=k,be.Fragment=s,be.Profiler=l,be.PureComponent=I,be.StrictMode=i,be.Suspense=m,be.__SECRET_INT
vendor: 5,020 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,be.act=F,be.cloneElement=function(N,z,fe){if(N==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+N+".");var pe=M({},N.props),ue=N.key,G=N.ref,ve=N._owner;if(z!=null){if(z.ref!==void 0&&(G=z.ref,ve=Q.current),z.key!==void 0&&(ue=""+z.key),N.type&&N.type.defaultProps)var ke=N.type.defaultProps;for(ge in z)V.call(z,ge)&&!ie.hasOwnProperty(ge)&&(pe[ge]=z[ge]===void 0&&ke!==void 0?ke[ge]:z[ge])}var ge=arguments.length-2;if(ge===1)pe.children=fe;else if(1<ge){ke=Array(ge);for(var et=0;et<ge;et++)ke[et]=arguments[et+2];pe.children=ke}return{$$typeof:r,type:N.type,key:ue,ref:G,props:pe,_owner:ve}},be.createContext=function(N){return N={$$typeof:d,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},N.Provider={$$typeof:u,_context:N},N.Consumer=N},be.createElement=B,be.createFactory=function(N){var z=B.bind(null,N);return z.type=N,z},be.createRef=function(){return{current:null}},be.forwardRef=function(N){return{$$typeof:h,render:N}},be.isValidElement=we,be.lazy=function(N){return{$$typeof:v,_payload:{_status:-1,_result:N},_init:Re}},be.memo=function(N,z){return{$$typeof:y,type:N,compare:z===void 0?null:z}},be.startTransition=function(N){var z=K.transition;K.transition={};try{N()}finally{K.transition=z}},be.unstable_act=F,be.useCallback=function(N,z){return Ce.current.useCallback(N,z)},be.useContext=function(N){return Ce.current.useContext(N)},be.useDebugValue=function(){},be.useDeferredValue=function(N){return Ce.current.useDeferredValue(N)},be.useEffect=function(N,z){return Ce.current.useEffect(N,z)},be.useId=function(){return Ce.current.useId()},be.useImperativeHandle=function(N,z,fe){return Ce.current.useImperativeHandle(N,z,fe)},be.useInsertionEffect=function(N,z){return Ce.current.useInsertionEffect(N,z)},be.useLayoutEffect=function(N,z){return Ce.current.useLayoutEffect(N,z)},be.useMemo=function(N,z){return Ce.current.useMemo(N,z)},be.useReducer=function(N,z,fe){return Ce.current.useReducer(N,z,fe)},be.useRef=function(N){return Ce.current.useRef(N)},be.useState=function(N){return Ce.current.useState(N)},be.useSyncExternalStore=function(N,z,fe){return Ce.current.useSyncExternalStore(N,z,fe)},be.useTransition=function(){return Ce.current.useTransition()},be.version="18.3.1",be}var lp;function Mc(){return lp||(lp=1,$u.exports=I0()),$u.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var up;function D0(){if(up)return jo;up=1;var r=Mc(),t=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(h,m,y){var v,w={},S=null,P=null;y!==void 0&&(S=""+y),m.key!==void 0&&(S=""+m.key),m.ref!==void 0&&(P=m.ref);for(v in m)i.call(m,v)&&!u.hasOwnProperty(v)&&(w[v]=m[v]);if(h&&h.defaultProps)for(v in m=h.defaultProps,m)w[v]===void 0&&(w[v]=m[v]);return{$$typeof:t,type:h,key:S,ref:P,props:w,_owner:l.current}}return jo.Fragment=s,jo.jsx=d,jo.jsxs=d,jo}var cp;function M0(){return cp||(cp=1,Bu.exports=D0()),Bu.exports}var p=M0(),A=Mc();const Ns=Bm(A),Uc=L0({__proto__:null,default:Ns},[A]);var va={},qu={exports:{}},Nt={},Hu={exports:{}},Vu={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var dp;function U0(){return dp||(dp=1,(function(r){function t(K,oe){var F=K.length;K.push(oe);e:for(;0<F;){var N=F-1>>>1,z=K[N];if(0<l(z,oe))K[N]=oe,K[F]=z,F=N;else break e}}function s(K){return K.length===0?null:K[0]}function i(K){if(K.length===0)return null;var oe=K[0],F=K.pop();if(F!==oe){K[0]=F;e:for(var N=0,z=K.length,fe=z>>>1;N<fe;){var pe=2*(N+1)-1,ue=K[pe],G=pe+1,ve=K[G];if(0>l(ue,F))G<z&&0>l(ve,ue)?(K[N]=ve,K[G]=F,N=G):(K[N]=ue,K[pe]=F,N=pe);else if(G<z&&0>l(ve,F))K[N]=ve,K[G]=F,N=G;else break e}}return oe}function l(K,oe){var F=K.sortIndex-oe.sortIndex;return F!==0?F:K.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;r.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();r.unstable_now=function(){return d.now()-h}}var m=[],y=[],v=1,w=null,S=3,P=!1,M=!1,T=!1,k=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(K){for(var oe=s(y);oe!==null;){if(oe.callback===null)i(y);else if(oe.startTime<=K)i(y),oe.sortIndex=oe.expirationTime,t(m,oe);else break;
vendor: 48,970 bytes, lines 25-38
25oe=s(y)}}function D(K){if(T=!1,O(K),!M)if(s(m)!==null)M=!0,Re(V);else{var oe=s(y);oe!==null&&Ce(D,oe.startTime-K)}}function V(K,oe){M=!1,T&&(T=!1,b(B),B=-1),P=!0;var F=S;try{for(O(oe),w=s(m);w!==null&&(!(w.expirationTime>oe)||K&&!he());){var N=w.callback;if(typeof N=="function"){w.callback=null,S=w.priorityLevel;var z=N(w.expirationTime<=oe);oe=r.unstable_now(),typeof z=="function"?w.callback=z:w===s(m)&&i(m),O(oe)}else i(m);w=s(m)}if(w!==null)var fe=!0;else{var pe=s(y);pe!==null&&Ce(D,pe.startTime-oe),fe=!1}return fe}finally{w=null,S=F,P=!1}}var Q=!1,ie=null,B=-1,de=5,we=-1;function he(){return!(r.unstable_now()-we<de)}function Pe(){if(ie!==null){var K=r.unstable_now();we=K;var oe=!0;try{oe=ie(!0,K)}finally{oe?$e():(Q=!1,ie=null)}}else Q=!1}var $e;if(typeof I=="function")$e=function(){I(Pe)};else if(typeof MessageChannel<"u"){var Te=new MessageChannel,Le=Te.port2;Te.port1.onmessage=Pe,$e=function(){Le.postMessage(null)}}else $e=function(){k(Pe,0)};function Re(K){ie=K,Q||(Q=!0,$e())}function Ce(K,oe){B=k(function(){K(r.unstable_now())},oe)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(K){K.callback=null},r.unstable_continueExecution=function(){M||P||(M=!0,Re(V))},r.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):de=0<K?Math.floor(1e3/K):5},r.unstable_getCurrentPriorityLevel=function(){return S},r.unstable_getFirstCallbackNode=function(){return s(m)},r.unstable_next=function(K){switch(S){case 1:case 2:case 3:var oe=3;break;default:oe=S}var F=S;S=oe;try{return K()}finally{S=F}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(K,oe){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var F=S;S=K;try{return oe()}finally{S=F}},r.unstable_scheduleCallback=function(K,oe,F){var N=r.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?N+F:N):F=N,K){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=F+z,K={id:v++,callback:oe,priorityLevel:K,startTime:F,expirationTime:z,sortIndex:-1},F>N?(K.sortIndex=F,t(y,K),s(m)===null&&K===s(y)&&(T?(b(B),B=-1):T=!0,Ce(D,F-N))):(K.sortIndex=z,t(m,K),M||P||(M=!0,Re(V))),K},r.unstable_shouldYield=he,r.unstable_wrapCallback=function(K){var oe=S;return function(){var F=S;S=oe;try{return K.apply(this,arguments)}finally{S=F}}}})(Vu)),Vu}var fp;function F0(){return fp||(fp=1,Hu.exports=U0()),Hu.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var hp;function z0(){if(hp)return Nt;hp=1;var r=Mc(),t=F0();function s(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function u(e,n){d(e,n),d(e+"Capture",n)}function d(e,n){for(l[e]=n,e=0;e<n.length;e++)i.add(n[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,y=/^[: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]*$/,v={},w={};function S(e){return m.call(w,e)?!0:m.call(v,e)?!1:y.test(e)?w[e]=!0:(v[e]=!0,!1)}function P(e,n,o,a){if(o!==null&&o.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function M(e,n,o,a){if(n===null||typeof n>"u"||P(e,n,o,a))return!0;if(a)return!1;if(o!==null)switch(o.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function T(e,n,o,a,c,f,g){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=e,this.type=n,this.sanitizeURL=f,this.removeEmptyString=g}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new T(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];k[n]=new T(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new T(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new T(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){k[e]=new T(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new T(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new T(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new T(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new T(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function I(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(b,I);k[n]=new T(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(b,I);k[n]=new T(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(b,I);k[n]=new T(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new T(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new T(e,1,!1,e.toLowerCase(),null,!0,!0)});function O(e,n,o,a){var c=k.hasOwnProperty(n)?k[n]:null;(c!==null?c.type!==0:a||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(M(n,o,c,a)&&(o=null),a||c===null?S(n)&&(o===null?e.removeAttribute(n):e.setAttribute(n,""+o)):c.mustUseProperty?e[c.propertyName]=o===null?c.type===3?!1:"":o:(n=c.attributeName,a=c.attributeNamespace,o===null?e.removeAttribute(n):(c=c.type,o=c===3||c===4&&o===!0?"":""+o,a?e.setAttributeNS(a,n,o):e.setAttribute(n,o))))}var D=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),Q=Symbol.for("react.portal"),ie=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),we=Symbol.for("react.provider"),he=Symbol.for("react.context"),Pe=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),Ce=Symbol.for("react.offscreen"),K=Symbol.iterator;function oe(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var F=Object.assign,N;function z(e){if(N===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);N=n&&n[1]||""}return` 34`+N+e}var fe=!1;function pe(e,n){if(!e||fe)return"";fe=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(U){var a=U}Reflect.construct(e,[],n)}else{try{n.call()}catch(U){a=U}e.call(n.prototype)}else{try{throw Error()}catch(U){a=U}e()}}catch(U){if(U&&a&&typeof U.stack=="string"){for(var c=U.stack.split(` 35`),f=a.stack.split(` 36`),g=c.length-1,x=f.length-1;1<=g&&0<=x&&c[g]!==f[x];)x--;for(;1<=g&&0<=x;g--,x--)if(c[g]!==f[x]){if(g!==1||x!==1)do if(g--,x--,0>x||c[g]!==f[x]){var E=` 37`+c[g].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),E}while(1<=g&&0<=x);break}}}finally{fe=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?z(e):""}function ue(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=pe(e.type,!1),e;case 11:return e=pe(e.type.render,!1),e;case 1:return e=pe(e.type,!0),e;default:return""}}function G(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ie:return"Fragment";case Q:return"Portal";case de:return"Profiler";case B:return"StrictMode";case $e:return"Suspense";case Te:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case he:return(e.displayName||"Context")+".Consumer";case we:return(e._context.displayName||"Context")+".Provider";case Pe:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Le:return n=e.displayName||null,n!==null?n:G(e.type)||"Memo";case Re:n=e._payload,e=e._init;try{return G(e(n))}catch{}}return null}function ve(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(n);case 8:return n===B?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function ke(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ge(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function et(e){var n=ge(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,f=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(g){a=""+g,f.call(this,g)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(g){a=""+g},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Dt(e){e._valueTracker||(e._valueTracker=et(e))}function ot(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var o=n.getValue(),a="";return e&&(a=ge(e)?e.checked?"true":"false":e.value),e=a,e!==o?(n.setValue(e),!0):!1}function Yt(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Mt(e,n){var o=n.checked;return F({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function Ut(e,n){var o=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;o=ke(n.value!=null?n.value:o),e._wrapperState={initialChecked:a,initialValue:o,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ye(e,n){n=n.checked,n!=null&&O(e,"checked",n,!1)}function it(e,n){ye(e,n);var o=ke(n.value),a=n.type;if(o!=null)a==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Xt(e,n.type,o):n.hasOwnProperty("defaultValue")&&Xt(e,n.type,ke(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Jt(e,n,o){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,o||n===e.value||(e.value=n),e.defaultValue=n}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function Xt(e,n,o){(n!=="number"||Yt(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Mn=Array.isArray;function Un(e,n,o,a){if(e=e.options,n){n={};for(var c=0;c<o.length;c++)n["$"+o[c]]=!0;for(o=0;o<e.length;o++)c=n.hasOwnProperty("$"+e[o].value),e[o].selected!==c&&(e[o].selected=c),c&&a&&(e[o].defaultSelected=!0)}else{for(o=""+ke(o),n=null,c=0;c<e.length;c++){if(e[c].value===o){e[c].selected=!0,a&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function Sn(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(s(91));return F({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function md(e,n){var o=n.value;if(o==null){if(o=n.children,n=n.defaultValue,o!=null){if(n!=null)throw Error(s(92));if(Mn(o)){if(1<o.length)throw Error(s(93));o=o[0]}n=o}n==null&&(n=""),o=n}e._wrapperState={initialValue:ke(o)}}function gd(e,n){var o=ke(n.value),a=ke(n.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),n.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),a!=null&&(e.defaultValue=""+a)}function yd(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function vd(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ja(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?vd(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ui,wd=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,o,a,c){MSApp.execUnsafeLocalFunction(function(){return e(n,o,a,c)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(ui=ui||document.createElement("div"),ui.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ui.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Qs(e,n){if(n){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=n;return}}e.textContent=n}var Ks={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Uy=["Webkit","ms","Moz","O"];Object.keys(Ks).forEach(function(e){Uy.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Ks[n]=Ks[e]})});function xd(e,n,o){return n==null||typeof n=="boolean"||n===""?"":o||typeof n!="number"||n===0||Ks.hasOwnProperty(e)&&Ks[e]?(""+n).trim():n+"px"}function bd(e,n){e=e.style;for(var o in n)if(n.hasOwnProperty(o)){var a=o.indexOf("--")===0,c=xd(o,n[o],a);o==="float"&&(o="cssFloat"),a?e.setProperty(o,c):e[o]=c}}var Fy=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Xa(e,n){if(n){if(Fy[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(s(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(s(61))}if(n.style!=null&&typeof n.style!="object")throw Error(s(62))}}function Za(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){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 el=null;function tl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nl=null,ts=null,ns=null;function kd(e){if(e=yo(e)){if(typeof nl!="function")throw Error(s(280));var n=e.stateNode;n&&(n=ji(n),nl(e.stateNode,e.type,n))}}function Sd(e){ts?ns?ns.push(e):ns=[e]:ts=e}function Ed(){if(ts){var e=ts,n=ns;if(ns=ts=null,kd(e),n)for(e=0;e<n.length;e++)kd(n[e])}}function _d(e,n){return e(n)}function Cd(){}var rl=!1;function Nd(e,n,o){if(rl)return e(n,o);rl=!0;try{return _d(e,n,o)}finally{rl=!1,(ts!==null||ns!==null)&&(Cd(),Ed())}}function Gs(e,n){var o=e.stateNode;if(o===null)return null;var a=ji(o);if(a===null)return null;o=a[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(s(231,n,typeof o));return o}var sl=!1;if(h)try{var Ys={};Object.defineProperty(Ys,"passive",{get:function(){sl=!0}}),window.addEventListener("test",Ys,Ys),window.removeEventListener("test",Ys,Ys)}catch{sl=!1}function zy(e,n,o,a,c,f,g,x,E){var U=Array.prototype.slice.call(arguments,3);try{n.apply(o,U)}catch(q){this.onError(q)}}var Js=!1,ci=null,di=!1,ol=null,By={onError:function(e){Js=!0,ci=e}};function $y(e,n,o,a,c,f,g,x,E){Js=!1,ci=null,zy.apply(By,arguments)}function qy(e,n,o,a,c,f,g,x,E){if($y.apply(this,arguments),Js){if(Js){var U=ci;Js=!1,ci=null}else throw Error(s(198));di||(di=!0,ol=U)}}function Sr(e){var n=e,o=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(o=n.return),e=n.return;while(e)}return n.tag===3?o:null}function Rd(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Ad(e){if(Sr(e)!==e)throw Error(s(188))}function Hy(e){var n=e.alternate;if(!n){if(n=Sr(e),n===null)throw Error(s(188));return n!==e?null:e}for(var o=e,a=n;;){var c=o.return;if(c===null)break;var f=c.alternate;if(f===null){if(a=c.return,a!==null){o=a;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===o)return Ad(c),e;if(f===a)return Ad(c),n;f=f.sibling}throw Error(s(188))}if(o.return!==a.return)o=c,a=f;else{for(var g=!1,x=c.child;x;){if(x===o){g=!0,o=c,a=f;break}if(x===a){g=!0,a=c,o=f;break}x=x.sibling}if(!g){for(x=f.child;x;){if(x===o){g=!0,o=f,a=c;break}if(x===a){g=!0,a=f,o=c;break}x=x.sibling}if(!g)throw Error(s(189))}}if(o.alternate!==a)throw Error(s(190))}if(o.tag!==3)throw Error(s(188));return o.stateNode.current===o?e:n}function Td(e){return e=Hy(e),e!==null?Pd(e):null}function Pd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Pd(e);if(n!==null)return n;e=e.sibling}return null}var jd=t.unstable_scheduleCallback,Od=t.unstable_cancelCallback,Vy=t.unstable_shouldYield,Wy=t.unstable_requestPaint,Ve=t.unstable_now,Qy=t.unstable_getCurrentPriorityLevel,il=t.unstable_ImmediatePriority,Ld=t.unstable_UserBlockingPriority,fi=t.unstable_NormalPriority,Ky=t.unstable_LowPriority,Id=t.unstable_IdlePriority,hi=null,fn=null;function Gy(e){if(fn&&typeof fn.onCommitFiberRoot=="function")try{fn.onCommitFiberRoot(hi,e,void 0,(e.current.flags&128)===128)}catch{}}var Zt=Math.clz32?Math.clz32:Xy,Yy=Math.log,Jy=Math.LN2;function Xy(e){return e>>>=0,e===0?32:31-(Yy(e)/Jy|0)|0}var pi=64,mi=4194304;function Xs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gi(e,n){var o=e.pendingLanes;if(o===0)return 0;var a=0,c=e.suspendedLanes,f=e.pingedLanes,g=o&268435455;if(g!==0){var x=g&~c;x!==0?a=Xs(x):(f&=g,f!==0&&(a=Xs(f)))}else g=o&~c,g!==0?a=Xs(g):f!==0&&(a=Xs(f));if(a===0)return 0;if(n!==0&&n!==a&&(n&c)===0&&(c=a&-a,f=n&-n,c>=f||c===16&&(f&4194240)!==0))return n;if((a&4)!==0&&(a|=o&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0<n;)o=31-Zt(n),c=1<<o,a|=e[o],n&=~c;return a}function Zy(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ev(e,n){for(var o=e.suspendedLanes,a=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes;0<f;){var g=31-Zt(f),x=1<<g,E=c[g];E===-1?((x&o)===0||(x&a)!==0)&&(c[g]=Zy(x,n)):E<=n&&(e.expiredLanes|=x),f&=~x}}function al(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Dd(){var e=pi;return pi<<=1,(pi&4194240)===0&&(pi=64),e}function ll(e){for(var n=[],o=0;31>o;o++)n.push(e);return n}function Zs(e,n,o){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Zt(n),e[n]=o}function tv(e,n){var o=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<o;){var c=31-Zt(o),f=1<<c;n[c]=0,a[c]=-1,e[c]=-1,o&=~f}}function ul(e,n){var o=e.entangledLanes|=n;for(e=e.entanglements;o;){var a=31-Zt(o),c=1<<a;c&n|e[a]&n&&(e[a]|=n),o&=~c}}var Oe=0;function Md(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ud,cl,Fd,zd,Bd,dl=!1,yi=[],Fn=null,zn=null,Bn=null,eo=new Map,to=new Map,$n=[],nv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function $d(e,n){switch(e){case"focusin":case"focusout":Fn=null;break;case"dragenter":case"dragleave":zn=null;break;case"mouseover":case"mouseout":Bn=null;break;case"pointerover":case"pointerout":eo.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":to.delete(n.pointerId)}}function no(e,n,o,a,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:n,domEventName:o,eventSystemFlags:a,nativeEvent:f,targetContainers:[c]},n!==null&&(n=yo(n),n!==null&&cl(n)),e):(e.eventSystemFlags|=a,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function rv(e,n,o,a,c){switch(n){case"focusin":return Fn=no(Fn,e,n,o,a,c),!0;case"dragenter":return zn=no(zn,e,n,o,a,c),!0;case"mouseover":return Bn=no(Bn,e,n,o,a,c),!0;case"pointerover":var f=c.pointerId;return eo.set(f,no(eo.get(f)||null,e,n,o,a,c)),!0;case"gotpointercapture":return f=c.pointerId,to.set(f,no(to.get(f)||null,e,n,o,a,c)),!0}return!1}function qd(e){var n=Er(e.target);if(n!==null){var o=Sr(n);if(o!==null){if(n=o.tag,n===13){if(n=Rd(o),n!==null){e.blockedOn=n,Bd(e.priority,function(){Fd(o)});return}}else if(n===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vi(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var o=hl(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);el=a,o.target.dispatchEvent(a),el=null}else return n=yo(o),n!==null&&cl(n),e.blockedOn=o,!1;n.shift()}return!0}function Hd(e,n,o){vi(e)&&o.delete(n)}function sv(){dl=!1,Fn!==null&&vi(Fn)&&(Fn=null),zn!==null&&vi(zn)&&(zn=null),Bn!==null&&vi(Bn)&&(Bn=null),eo.forEach(Hd),to.forEach(Hd)}function ro(e,n){e.blockedOn===n&&(e.blockedOn=null,dl||(dl=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,sv)))}function so(e){function n(c){return ro(c,e)}if(0<yi.length){ro(yi[0],e);for(var o=1;o<yi.length;o++){var a=yi[o];a.blockedOn===e&&(a.blockedOn=null)}}for(Fn!==null&&ro(Fn,e),zn!==null&&ro(zn,e),Bn!==null&&ro(Bn,e),eo.forEach(n),to.forEach(n),o=0;o<$n.length;o++)a=$n[o],a.blockedOn===e&&(a.blockedOn=null);for(;0<$n.length&&(o=$n[0],o.blockedOn===null);)qd(o),o.blockedOn===null&&$n.shift()}var rs=D.ReactCurrentBatchConfig,wi=!0;function ov(e,n,o,a){var c=Oe,f=rs.transition;rs.transition=null;try{Oe=1,fl(e,n,o,a)}finally{Oe=c,rs.transition=f}}function iv(e,n,o,a){var c=Oe,f=rs.transition;rs.transition=null;try{Oe=4,fl(e,n,o,a)}finally{Oe=c,rs.transition=f}}function fl(e,n,o,a){if(wi){var c=hl(e,n,o,a);if(c===null)Tl(e,n,a,xi,o),$d(e,a);else if(rv(c,e,n,o,a))a.stopPropagation();else if($d(e,a),n&4&&-1<nv.indexOf(e)){for(;c!==null;){var f=yo(c);if(f!==null&&Ud(f),f=hl(e,n,o,a),f===null&&Tl(e,n,a,xi,o),f===c)break;c=f}c!==null&&a.stopPropagation()}else Tl(e,n,a,null,o)}}var xi=null;function hl(e,n,o,a){if(xi=null,e=tl(a),e=Er(e),e!==null)if(n=Sr(e),n===null)e=null;else if(o=n.tag,o===13){if(e=Rd(n),e!==null)return e;e=null}else if(o===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return xi=e,null}function Vd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qy()){case il:return 1;case Ld:return 4;case fi:case Ky:return 16;case Id:return 536870912;default:return 16}default:return 16}}var qn=null,pl=null,bi=null;function Wd(){if(bi)return bi;var e,n=pl,o=n.length,a,c="value"in qn?qn.value:qn.textContent,f=c.length;for(e=0;e<o&&n[e]===c[e];e++);var g=o-e;for(a=1;a<=g&&n[o-a]===c[f-a];a++);return bi=c.slice(e,1<a?1-a:void 0)}function ki(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Si(){return!0}function Qd(){return!1}function jt(e){function n(o,a,c,f,g){this._reactName=o,this._targetInst=c,this.type=a,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(o=e[x],this[x]=o?o(f):f[x]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Si:Qd,this.isPropagationStopped=Qd,this}return F(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Si)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),n}var ss={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ml=jt(ss),oo=F({},ss,{view:0,detail:0}),av=jt(oo),gl,yl,io,Ei=F({},oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==io&&(io&&e.type==="mousemove"?(gl=e.screenX-io.screenX,yl=e.screenY-io.screenY):yl=gl=0,io=e),gl)},movementY:function(e){return"movementY"in e?e.movementY:yl}}),Kd=jt(Ei),lv=F({},Ei,{dataTransfer:0}),uv=jt(lv),cv=F({},oo,{relatedTarget:0}),vl=jt(cv),dv=F({},ss,{animationName:0,elapsedTime:0,pseudoElement:0}),fv=jt(dv),hv=F({},ss,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pv=jt(hv),mv=F({},ss,{data:0}),Gd=jt(mv),gv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yv={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"},vv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wv(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=vv[e])?!!n[e]:!1}function wl(){return wv}var xv=F({},oo,{key:function(e){if(e.key){var n=gv[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=ki(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wl,charCode:function(e){return e.type==="keypress"?ki(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ki(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),bv=jt(xv),kv=F({},Ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yd=jt(kv),Sv=F({},oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wl}),Ev=jt(Sv),_v=F({},ss,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cv=jt(_v),Nv=F({},Ei,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rv=jt(Nv),Av=[9,13,27,32],xl=h&&"CompositionEvent"in window,ao=null;h&&"documentMode"in document&&(ao=document.documentMode);var Tv=h&&"TextEvent"in window&&!ao,Jd=h&&(!xl||ao&&8<ao&&11>=ao),Xd=" ",Zd=!1;function ef(e,n){switch(e){case"keyup":return Av.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var os=!1;function Pv(e,n){switch(e){case"compositionend":return tf(n);case"keypress":return n.which!==32?null:(Zd=!0,Xd);case"textInput":return e=n.data,e===Xd&&Zd?null:e;default:return null}}function jv(e,n){if(os)return e==="compositionend"||!xl&&ef(e,n)?(e=Wd(),bi=pl=qn=null,os=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Jd&&n.locale!=="ko"?null:n.data;default:return null}}var Ov={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 nf(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Ov[e.type]:n==="textarea"}function rf(e,n,o,a){Sd(a),n=Ai(n,"onChange"),0<n.length&&(o=new ml("onChange","change",null,o,a),e.push({event:o,listeners:n}))}var lo=null,uo=null;function Lv(e){kf(e,0)}function _i(e){var n=cs(e);if(ot(n))return e}function Iv(e,n){if(e==="change")return n}var sf=!1;if(h){var bl;if(h){var kl="oninput"in document;if(!kl){var of=document.createElement("div");of.setAttribute("oninput","return;"),kl=typeof of.oninput=="function"}bl=kl}else bl=!1;sf=bl&&(!document.documentMode||9<document.documentMode)}function af(){lo&&(lo.detachEvent("onpropertychange",lf),uo=lo=null)}function lf(e){if(e.propertyName==="value"&&_i(uo)){var n=[];rf(n,uo,e,tl(e)),Nd(Lv,n)}}function Dv(e,n,o){e==="focusin"?(af(),lo=n,uo=o,lo.attachEvent("onpropertychange",lf)):e==="focusout"&&af()}function Mv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _i(uo)}function Uv(e,n){if(e==="click")return _i(n)}function Fv(e,n){if(e==="input"||e==="change")return _i(n)}function zv(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var en=typeof Object.is=="function"?Object.is:zv;function co(e,n){if(en(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var o=Object.keys(e),a=Object.keys(n);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var c=o[a];if(!m.call(n,c)||!en(e[c],n[c]))return!1}return!0}function uf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cf(e,n){var o=uf(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=n&&a>=n)return{node:o,offset:n-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=uf(o)}}function df(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?df(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ff(){for(var e=window,n=Yt();n instanceof e.HTMLIFrameElement;){try{var o=typeof n.contentWindow.location.href=="string"}catch{o=!1}if(o)e=n.contentWindow;else break;n=Yt(e.document)}return n}function Sl(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Bv(e){var n=ff(),o=e.focusedElem,a=e.selectionRange;if(n!==o&&o&&o.ownerDocument&&df(o.ownerDocument.documentElement,o)){if(a!==null&&Sl(o)){if(n=a.start,e=a.end,e===void 0&&(e=n),"selectionStart"in o)o.selectionStart=n,o.selectionEnd=Math.min(e,o.value.length);else if(e=(n=o.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var c=o.textContent.length,f=Math.min(a.start,c);a=a.end===void 0?f:Math.min(a.end,c),!e.extend&&f>a&&(c=a,a=f,f=c),c=cf(o,f);var g=cf(o,a);c&&g&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==g.node||e.focusOffset!==g.offset)&&(n=n.createRange(),n.setStart(c.node,c.offset),e.removeAllRanges(),f>a?(e.addRange(n),e.extend(g.node,g.offset)):(n.setEnd(g.node,g.offset),e.addRange(n)))}}for(n=[],e=o;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<n.length;o++)e=n[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $v=h&&"documentMode"in document&&11>=document.documentMode,is=null,El=null,fo=null,_l=!1;function hf(e,n,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;_l||is==null||is!==Yt(a)||(a=is,"selectionStart"in a&&Sl(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),fo&&co(fo,a)||(fo=a,a=Ai(El,"onSelect"),0<a.length&&(n=new ml("onSelect","select",null,n,o),e.push({event:n,listeners:a}),n.target=is)))}function Ci(e,n){var o={};return o[e.toLowerCase()]=n.toLowerCase(),o["Webkit"+e]="webkit"+n,o["Moz"+e]="moz"+n,o}var as={animationend:Ci("Animation","AnimationEnd"),animationiteration:Ci("Animation","AnimationIteration"),animationstart:Ci("Animation","AnimationStart"),transitionend:Ci("Transition","TransitionEnd")},Cl={},pf={};h&&(pf=document.createElement("div").style,"AnimationEvent"in window||(delete as.animationend.animation,delete as.animationiteration.animation,delete as.animationstart.animation),"TransitionEvent"in window||delete as.transitionend.transition);function Ni(e){if(Cl[e])return Cl[e];if(!as[e])return e;var n=as[e],o;for(o in n)if(n.hasOwnProperty(o)&&o in pf)return Cl[e]=n[o];return e}var mf=Ni("animationend"),gf=Ni("animationiteration"),yf=Ni("animationstart"),vf=Ni("transitionend"),wf=new Map,xf="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Hn(e,n){wf.set(e,n),u(n,[e])}for(var Nl=0;Nl<xf.length;Nl++){var Rl=xf[Nl],qv=Rl.toLowerCase(),Hv=Rl[0].toUpperCase()+Rl.slice(1);Hn(qv,"on"+Hv)}Hn(mf,"onAnimationEnd"),Hn(gf,"onAnimationIteration"),Hn(yf,"onAnimationStart"),Hn("dblclick","onDoubleClick"),Hn("focusin","onFocus"),Hn("focusout","onBlur"),Hn(vf,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ho="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(" "),Vv=new Set("cancel close invalid load scroll toggle".split(" ").concat(ho));function bf(e,n,o){var a=e.type||"unknown-event";e.currentTarget=o,qy(a,n,void 0,e),e.currentTarget=null}function kf(e,n){n=(n&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],c=a.event;a=a.listeners;e:{var f=void 0;if(n)for(var g=a.length-1;0<=g;g--){var x=a[g],E=x.instance,U=x.currentTarget;if(x=x.listener,E!==f&&c.isPropagationStopped())break e;bf(c,x,U),f=E}else for(g=0;g<a.length;g++){if(x=a[g],E=x.instance,U=x.currentTarget,x=x.listener,E!==f&&c.isPropagationStopped())break e;bf(c,x,U),f=E}}}if(di)throw e=ol,di=!1,ol=null,e}function Me(e,n){var o=n[Dl];o===void 0&&(o=n[Dl]=new Set);var a=e+"__bubble";o.has(a)||(Sf(n,e,2,!1),o.add(a))}function Al(e,n,o){var a=0;n&&(a|=4),Sf(o,e,a,n)}var Ri="_reactListening"+Math.random().toString(36).slice(2);function po(e){if(!e[Ri]){e[Ri]=!0,i.forEach(function(o){o!=="selectionchange"&&(Vv.has(o)||Al(o,!1,e),Al(o,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Ri]||(n[Ri]=!0,Al("selectionchange",!1,n))}}function Sf(e,n,o,a){switch(Vd(n)){case 1:var c=ov;break;case 4:c=iv;break;default:c=fl}o=c.bind(null,n,o,e),c=void 0,!sl||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),a?c!==void 0?e.addEventListener(n,o,{capture:!0,passive:c}):e.addEventListener(n,o,!0):c!==void 0?e.addEventListener(n,o,{passive:c}):e.addEventListener(n,o,!1)}function Tl(e,n,o,a,c){var f=a;if((n&1)===0&&(n&2)===0&&a!==null)e:for(;;){if(a===null)return;var g=a.tag;if(g===3||g===4){var x=a.stateNode.containerInfo;if(x===c||x.nodeType===8&&x.parentNode===c)break;if(g===4)for(g=a.return;g!==null;){var E=g.tag;if((E===3||E===4)&&(E=g.stateNode.containerInfo,E===c||E.nodeType===8&&E.parentNode===c))return;g=g.return}for(;x!==null;){if(g=Er(x),g===null)return;if(E=g.tag,E===5||E===6){a=f=g;continue e}x=x.parentNode}}a=a.return}Nd(function(){var U=f,q=tl(o),H=[];e:{var $=wf.get(e);if($!==void 0){var Y=ml,ee=e;switch(e){case"keypress":if(ki(o)===0)break e;case"keydown":case"keyup":Y=bv;break;case"focusin":ee="focus",Y=vl;break;case"focusout":ee="blur",Y=vl;break;case"beforeblur":case"afterblur":Y=vl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=Kd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=uv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=Ev;break;case mf:case gf:case yf:Y=fv;break;case vf:Y=Cv;break;case"scroll":Y=av;break;case"wheel":Y=Rv;break;case"copy":case"cut":case"paste":Y=pv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=Yd}var re=(n&4)!==0,We=!re&&e==="scroll",j=re?$!==null?$+"Capture":null:$;re=[];for(var C=U,L;C!==null;){L=C;var W=L.stateNode;if(L.tag===5&&W!==null&&(L=W,j!==null&&(W=Gs(C,j),W!=null&&re.push(mo(C,W,L)))),We)break;C=C.return}0<re.length&&($=new Y($,ee,null,o,q),H.push({event:$,listeners:re}))}}if((n&7)===0){e:{if($=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",$&&o!==el&&(ee=o.relatedTarget||o.fromElement)&&(Er(ee)||ee[En]))break e;if((Y||$)&&($=q.window===q?q:($=q.ownerDocument)?$.defaultView||$.parentWindow:window,Y?(ee=o.relatedTarget||o.toElement,Y=U,ee=ee?Er(ee):null,ee!==null&&(We=Sr(ee),ee!==We||ee.tag!==5&&ee.tag!==6)&&(ee=null)):(Y=null,ee=U),Y!==ee)){if(re=Kd,W="onMouseLeave",j="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(re=Yd,W="onPointerLeave",j="onPointerEnter",C="pointer"),We=Y==null?$:cs(Y),L=ee==null?$:cs(ee),$=new re(W,C+"leave",Y,o,q),$.target=We,$.relatedTarget=L,W=null,Er(q)===U&&(re=new re(j,C+"enter",ee,o,q),re.target=L,re.relatedTarget=We,W=re),We=W,Y&&ee)t:{for(re=Y,j=ee,C=0,L=re;L;L=ls(L))C++;for(L=0,W=j;W;W=ls(W))L++;for(;0<C-L;)re=ls(re),C--;for(;0<L-C;)j=ls(j),L--;for(;C--;){if(re===j||j!==null&&re===j.alternate)break t;re=ls(re),j=ls(j)}re=null}else re=null;Y!==null&&Ef(H,$,Y,re,!1),ee!==null&&We!==null&&Ef(H,We,ee,re,!0)}}e:{if($=U?cs(U):window,Y=$.nodeName&&$.nodeName.toLowerCase(),Y==="select"||Y==="input"&&$.type==="file")var se=Iv;else if(nf($))if(sf)se=Fv;else{se=Mv;var ae=Dv}else(Y=$.nodeName)&&Y.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(se=Uv);if(se&&(se=se(e,U))){rf(H,se,o,q);break e}ae&&ae(e,$,U),e==="focusout"&&(ae=$._wrapperState)&&ae.controlled&&$.type==="number"&&Xt($,"number",$.value)}switch(ae=U?cs(U):window,e){case"focusin":(nf(ae)||ae.contentEditable==="true")&&(is=ae,El=U,fo=null);break;case"focusout":fo=El=is=null;break;case"mousedown":_l=!0;break;case"contextmenu":case"mouseup":case"dragend":_l=!1,hf(H,o,q);break;case"selectionchange":if($v)break;case"keydown":case"keyup":hf(H,o,q)}var le;if(xl)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else os?ef(e,o)&&(me="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(me="onCompositionStart");me&&(Jd&&o.locale!=="ko"&&(os||me!=="onCompositionStart"?me==="onCompositionEnd"&&os&&(le=Wd()):(qn=q,pl="value"in qn?qn.value:qn.textContent,os=!0)),ae=Ai(U,me),0<ae.length&&(me=new Gd(me,e,null,o,q),H.push({event:me,listeners:ae}),le?me.data=le:(le=tf(o),le!==null&&(me.data=le)))),(le=Tv?Pv(e,o):jv(e,o))&&(U=Ai(U,"onBeforeInput"),0<U.length&&(q=new Gd("onBeforeInput","beforeinput",null,o,q),H.push({event:q,listeners:U}),q.data=le))}kf(H,n)})}function mo(e,n,o){return{instance:e,listener:n,currentTarget:o}}function Ai(e,n){for(var o=n+"Capture",a=[];e!==null;){var c=e,f=c.stateNode;c.tag===5&&f!==null&&(c=f,f=Gs(e,o),f!=null&&a.unshift(mo(e,f,c)),f=Gs(e,n),f!=null&&a.push(mo(e,f,c))),e=e.return}return a}function ls(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ef(e,n,o,a,c){for(var f=n._reactName,g=[];o!==null&&o!==a;){var x=o,E=x.alternate,U=x.stateNode;if(E!==null&&E===a)break;x.tag===5&&U!==null&&(x=U,c?(E=Gs(o,f),E!=null&&g.unshift(mo(o,E,x))):c||(E=Gs(o,f),E!=null&&g.push(mo(o,E,x)))),o=o.return}g.length!==0&&e.push({event:n,listeners:g})}var Wv=/\r\n?/g,Qv=/\u0000|\uFFFD/g;function _f(e){return(typeof e=="string"?e:""+e).replace(Wv,` 38`).replace(Qv,"")}function Ti(e,n,o){if(n=_f(n),_f(e)!==n&&o)throw Error(s(425))}function Pi(){}var Pl=null,jl=null;function Ol(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ll=typeof setTimeout=="function"?setTimeout:void 0,Kv=typeof clearTimeout=="function"?clearTimeout:void 0,Cf=typeof Promise=="function"?Promise:void 0,Gv=typeof queueMicrotask=="function"?queueMicrotask:typeof Cf<"u"?function(e){return Cf.resolve(null).then(e).catch(Yv)}:Ll;function Yv(e){setTimeout(function(){throw e})}function Il(e,n){var o=n,a=0;do{var c=o.nextSibling;if(e.removeChild(o),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(a===0){e.removeChild(c),so(n);return}a--}else o!=="$"&&o!=="$?"&&o!=="$!"||a++;o=c}while(o);so(n)}function Vn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Nf(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(n===0)return e;n--}else o==="/$"&&n++}e=e.previousSibling}return null}var us=Math.random().toString(36).slice(2),hn="__reactFiber$"+us,go="__reactProps$"+us,En="__reactContainer$"+us,Dl="__reactEvents$"+us,Jv="__reactListeners$"+us,Xv="__reactHandles$"+us;function Er(e){var n=e[hn];if(n)return n;for(var o=e.parentNode;o;){if(n=o[En]||o[hn]){if(o=n.alternate,n.child!==null||o!==null&&o.child!==null)for(e=Nf(e);e!==null;){if(o=e[hn])return o;e=Nf(e)}return n}
vendor: 10,491 bytes, line 38
38e=o,o=e.parentNode}return null}function yo(e){return e=e[hn]||e[En],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function ji(e){return e[go]||null}var Ml=[],ds=-1;function Wn(e){return{current:e}}function Ue(e){0>ds||(e.current=Ml[ds],Ml[ds]=null,ds--)}function De(e,n){ds++,Ml[ds]=e.current,e.current=n}var Qn={},ft=Wn(Qn),kt=Wn(!1),_r=Qn;function fs(e,n){var o=e.type.contextTypes;if(!o)return Qn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var c={},f;for(f in o)c[f]=n[f];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=c),c}function St(e){return e=e.childContextTypes,e!=null}function Oi(){Ue(kt),Ue(ft)}function Rf(e,n,o){if(ft.current!==Qn)throw Error(s(168));De(ft,n),De(kt,o)}function Af(e,n,o){var a=e.stateNode;if(n=n.childContextTypes,typeof a.getChildContext!="function")return o;a=a.getChildContext();for(var c in a)if(!(c in n))throw Error(s(108,ve(e)||"Unknown",c));return F({},o,a)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qn,_r=ft.current,De(ft,e),De(kt,kt.current),!0}function Tf(e,n,o){var a=e.stateNode;if(!a)throw Error(s(169));o?(e=Af(e,n,_r),a.__reactInternalMemoizedMergedChildContext=e,Ue(kt),Ue(ft),De(ft,e)):Ue(kt),De(kt,o)}var _n=null,Ii=!1,Ul=!1;function Pf(e){_n===null?_n=[e]:_n.push(e)}function Zv(e){Ii=!0,Pf(e)}function Kn(){if(!Ul&&_n!==null){Ul=!0;var e=0,n=Oe;try{var o=_n;for(Oe=1;e<o.length;e++){var a=o[e];do a=a(!0);while(a!==null)}_n=null,Ii=!1}catch(c){throw _n!==null&&(_n=_n.slice(e+1)),jd(il,Kn),c}finally{Oe=n,Ul=!1}}return null}var hs=[],ps=0,Di=null,Mi=0,Ft=[],zt=0,Cr=null,Cn=1,Nn="";function Nr(e,n){hs[ps++]=Mi,hs[ps++]=Di,Di=e,Mi=n}function jf(e,n,o){Ft[zt++]=Cn,Ft[zt++]=Nn,Ft[zt++]=Cr,Cr=e;var a=Cn;e=Nn;var c=32-Zt(a)-1;a&=~(1<<c),o+=1;var f=32-Zt(n)+c;if(30<f){var g=c-c%5;f=(a&(1<<g)-1).toString(32),a>>=g,c-=g,Cn=1<<32-Zt(n)+c|o<<c|a,Nn=f+e}else Cn=1<<f|o<<c|a,Nn=e}function Fl(e){e.return!==null&&(Nr(e,1),jf(e,1,0))}function zl(e){for(;e===Di;)Di=hs[--ps],hs[ps]=null,Mi=hs[--ps],hs[ps]=null;for(;e===Cr;)Cr=Ft[--zt],Ft[zt]=null,Nn=Ft[--zt],Ft[zt]=null,Cn=Ft[--zt],Ft[zt]=null}var Ot=null,Lt=null,Fe=!1,tn=null;function Of(e,n){var o=Ht(5,null,null,0);o.elementType="DELETED",o.stateNode=n,o.return=e,n=e.deletions,n===null?(e.deletions=[o],e.flags|=16):n.push(o)}function Lf(e,n){switch(e.tag){case 5:var o=e.type;return n=n.nodeType!==1||o.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Ot=e,Lt=Vn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Ot=e,Lt=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(o=Cr!==null?{id:Cn,overflow:Nn}:null,e.memoizedState={dehydrated:n,treeContext:o,retryLane:1073741824},o=Ht(18,null,null,0),o.stateNode=n,o.return=e,e.child=o,Ot=e,Lt=null,!0):!1;default:return!1}}function Bl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $l(e){if(Fe){var n=Lt;if(n){var o=n;if(!Lf(e,n)){if(Bl(e))throw Error(s(418));n=Vn(o.nextSibling);var a=Ot;n&&Lf(e,n)?Of(a,o):(e.flags=e.flags&-4097|2,Fe=!1,Ot=e)}}else{if(Bl(e))throw Error(s(418));e.flags=e.flags&-4097|2,Fe=!1,Ot=e}}}function If(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ot=e}function Ui(e){if(e!==Ot)return!1;if(!Fe)return If(e),Fe=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Ol(e.type,e.memoizedProps)),n&&(n=Lt)){if(Bl(e))throw Df(),Error(s(418));for(;n;)Of(e,n),n=Vn(n.nextSibling)}if(If(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(n===0){Lt=Vn(e.nextSibling);break e}n--}else o!=="$"&&o!=="$!"&&o!=="$?"||n++}e=e.nextSibling}Lt=null}}else Lt=Ot?Vn(e.stateNode.nextSibling):null;return!0}function Df(){for(var e=Lt;e;)e=Vn(e.nextSibling)}function ms(){Lt=Ot=null,Fe=!1}function ql(e){tn===null?tn=[e]:tn.push(e)}var e0=D.ReactCurrentBatchConfig;function vo(e,n,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(s(309));var a=o.stateNode}if(!a)throw Error(s(147,e));var c=a,f=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===f?n.ref:(n=function(g){var x=c.refs;g===null?delete x[f]:x[f]=g},n._stringRef=f,n)}if(typeof e!="string")throw Error(s(284));if(!o._owner)throw Error(s(290,e))}return e}function Fi(e,n){throw e=Object.prototype.toString.call(n),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Mf(e){var n=e._init;return n(e._payload)}function Uf(e){function n(j,C){if(e){var L=j.deletions;L===null?(j.deletions=[C],j.flags|=16):L.push(C)}}function o(j,C){if(!e)return null;for(;C!==null;)n(j,C),C=C.sibling;return null}function a(j,C){for(j=new Map;C!==null;)C.key!==null?j.set(C.key,C):j.set(C.index,C),C=C.sibling;return j}function c(j,C){return j=nr(j,C),j.index=0,j.sibling=null,j}function f(j,C,L){return j.index=L,e?(L=j.alternate,L!==null?(L=L.index,L<C?(j.flags|=2,C):L):(j.flags|=2,C)):(j.flags|=1048576,C)}function g(j){return e&&j.alternate===null&&(j.flags|=2),j}function x(j,C,L,W){return C===null||C.tag!==6?(C=Lu(L,j.mode,W),C.return=j,C):(C=c(C,L),C.return=j,C)}function E(j,C,L,W){var se=L.type;return se===ie?q(j,C,L.props.children,W,L.key):C!==null&&(C.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Re&&Mf(se)===C.type)?(W=c(C,L.props),W.ref=vo(j,C,L),W.return=j,W):(W=ua(L.type,L.key,L.props,null,j.mode,W),W.ref=vo(j,C,L),W.return=j,W)}function U(j,C,L,W){return C===null||C.tag!==4||C.stateNode.containerInfo!==L.containerInfo||C.stateNode.implementation!==L.implementation?(C=Iu(L,j.mode,W),C.return=j,C):(C=c(C,L.children||[]),C.return=j,C)}function q(j,C,L,W,se){return C===null||C.tag!==7?(C=Ir(L,j.mode,W,se),C.return=j,C):(C=c(C,L),C.return=j,C)}function H(j,C,L){if(typeof C=="string"&&C!==""||typeof C=="number")return C=Lu(""+C,j.mode,L),C.return=j,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case V:return L=ua(C.type,C.key,C.props,null,j.mode,L),L.ref=vo(j,null,C),L.return=j,L;case Q:return C=Iu(C,j.mode,L),C.return=j,C;case Re:var W=C._init;return H(j,W(C._payload),L)}if(Mn(C)||oe(C))return C=Ir(C,j.mode,L,null),C.return=j,C;Fi(j,C)}return null}function $(j,C,L,W){var se=C!==null?C.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return se!==null?null:x(j,C,""+L,W);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case V:return L.key===se?E(j,C,L,W):null;case Q:return L.key===se?U(j,C,L,W):null;case Re:return se=L._init,$(j,C,se(L._payload),W)}if(Mn(L)||oe(L))return se!==null?null:q(j,C,L,W,null);Fi(j,L)}return null}function Y(j,C,L,W,se){if(typeof W=="string"&&W!==""||typeof W=="number")return j=j.get(L)||null,x(C,j,""+W,se);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case V:return j=j.get(W.key===null?L:W.key)||null,E(C,j,W,se);case Q:return j=j.get(W.key===null?L:W.key)||null,U(C,j,W,se);case Re:var ae=W._init;return Y(j,C,L,ae(W._payload),se)}if(Mn(W)||oe(W))return j=j.get(L)||null,q(C,j,W,se,null);Fi(C,W)}return null}function ee(j,C,L,W){for(var se=null,ae=null,le=C,me=C=0,rt=null;le!==null&&me<L.length;me++){le.index>me?(rt=le,le=null):rt=le.sibling;var Ae=$(j,le,L[me],W);if(Ae===null){le===null&&(le=rt);break}e&&le&&Ae.alternate===null&&n(j,le),C=f(Ae,C,me),ae===null?se=Ae:ae.sibling=Ae,ae=Ae,le=rt}if(me===L.length)return o(j,le),Fe&&Nr(j,me),se;if(le===null){for(;me<L.length;me++)le=H(j,L[me],W),le!==null&&(C=f(le,C,me),ae===null?se=le:ae.sibling=le,ae=le);return Fe&&Nr(j,me),se}for(le=a(j,le);me<L.length;me++)rt=Y(le,j,me,L[me],W),rt!==null&&(e&&rt.alternate!==null&&le.delete(rt.key===null?me:rt.key),C=f(rt,C,me),ae===null?se=rt:ae.sibling=rt,ae=rt);return e&&le.forEach(function(rr){return n(j,rr)}),Fe&&Nr(j,me),se}function re(j,C,L,W){var se=oe(L);if(typeof se!="function")throw Error(s(150));if(L=se.call(L),L==null)throw Error(s(151));for(var ae=se=null,le=C,me=C=0,rt=null,Ae=L.next();le!==null&&!Ae.done;me++,Ae=L.next()){le.index>me?(rt=le,le=null):rt=le.sibling;var rr=$(j,le,Ae.value,W);if(rr===null){le===null&&(le=rt);break}e&&le&&rr.alternate===null&&n(j,le),C=f(rr,C,me),ae===null?se=rr:ae.sibling=rr,ae=rr,le=rt}if(Ae.done)return o(j,le),Fe&&Nr(j,me),se;if(le===null){for(;!Ae.done;me++,Ae=L.next())Ae=H(j,Ae.value,W),Ae!==null&&(C=f(Ae,C,me),ae===null?se=Ae:ae.sibling=Ae,ae=Ae);return Fe&&Nr(j,me),se}for(le=a(j,le);!Ae.done;me++,Ae=L.next())Ae=Y(le,j,me,Ae.value,W),Ae!==null&&(e&&Ae.alternate!==null&&le.delete(Ae.key===null?me:Ae.key),C=f(Ae,C,me),ae===null?se=Ae:ae.sibling=Ae,ae=Ae);return e&&le.forEach(function(O0){return n(j,O0)}),Fe&&Nr(j,me),se}function We(j,C,L,W){if(typeof L=="object"&&L!==null&&L.type===ie&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case V:e:{for(var se=L.key,ae=C;ae!==null;){if(ae.key===se){if(se=L.type,se===ie){if(ae.tag===7){o(j,ae.sibling),C=c(ae,L.props.children),C.return=j,j=C;break e}}else if(ae.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Re&&Mf(se)===ae.type){o(j,ae.sibling),C=c(ae,L.props),C.ref=vo(j,ae,L),C.return=j,j=C;break e}o(j,ae);break}else n(j,ae);ae=ae.sibling}L.type===ie?(C=Ir(L.props.children,j.mode,W,L.key),C.return=j,j=C):(W=ua(L.type,L.key,L.props,null,j.mode,W),W.ref=vo(j,C,L),W.return=j,j=W)}return g(j);case Q:e:{for(ae=L.key;C!==null;){if(C.key===ae)if(C.tag===4&&C.stateNode.containerInfo===L.containerInfo&&C.stateNode.implementation===L.implementation){o(j,C.sibling),C=c(C,L.children||[]),C.return=j,j=C;break e}else{o(j,C);break}else n(j,C);C=C.sibling}C=Iu(L,j.mode,W),C.return=j,j=C}return g(j);case Re:return ae=L._init,We(j,C,ae(L._payload),W)}if(Mn(L))return ee(j,C,L,W);if(oe(L))return re(j,C,L,W);Fi(j,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,C!==null&&C.tag===6?(o(j,C.sibling),C=c(C,L),C.return=j,j=C):(o(j,C),C=Lu(L,j.mode,W),C.return=j,j=C),g(j)):o(j,C)}return We}var gs=Uf(!0),Ff=Uf(!1),zi=Wn(null),Bi=null,ys=null,Hl=null;function Vl(){Hl=ys=Bi=null}function Wl(e){var n=zi.current;Ue(zi),e._currentValue=n}function Ql(e,n,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,a!==null&&(a.childLanes|=n)):a!==null&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===o)break;e=e.return}}
vendor: 6,957 bytes, line 38
38function vs(e,n){Bi=e,Hl=ys=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(Et=!0),e.firstContext=null)}function Bt(e){var n=e._currentValue;if(Hl!==e)if(e={context:e,memoizedValue:n,next:null},ys===null){if(Bi===null)throw Error(s(308));ys=e,Bi.dependencies={lanes:0,firstContext:e}}else ys=ys.next=e;return n}var Rr=null;function Kl(e){Rr===null?Rr=[e]:Rr.push(e)}function zf(e,n,o,a){var c=n.interleaved;return c===null?(o.next=o,Kl(n)):(o.next=c.next,c.next=o),n.interleaved=o,Rn(e,a)}function Rn(e,n){e.lanes|=n;var o=e.alternate;for(o!==null&&(o.lanes|=n),o=e,e=e.return;e!==null;)e.childLanes|=n,o=e.alternate,o!==null&&(o.childLanes|=n),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Gn=!1;function Gl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bf(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function An(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Yn(e,n,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ne&2)!==0){var c=a.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n,Rn(e,o)}return c=a.interleaved,c===null?(n.next=n,Kl(a)):(n.next=c.next,c.next=n),a.interleaved=n,Rn(e,o)}function $i(e,n,o){if(n=n.updateQueue,n!==null&&(n=n.shared,(o&4194240)!==0)){var a=n.lanes;a&=e.pendingLanes,o|=a,n.lanes=o,ul(e,o)}}function $f(e,n){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var c=null,f=null;if(o=o.firstBaseUpdate,o!==null){do{var g={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};f===null?c=f=g:f=f.next=g,o=o.next}while(o!==null);f===null?c=f=n:f=f.next=n}else c=f=n;o={baseState:a.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:a.shared,effects:a.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=n:e.next=n,o.lastBaseUpdate=n}function qi(e,n,o,a){var c=e.updateQueue;Gn=!1;var f=c.firstBaseUpdate,g=c.lastBaseUpdate,x=c.shared.pending;if(x!==null){c.shared.pending=null;var E=x,U=E.next;E.next=null,g===null?f=U:g.next=U,g=E;var q=e.alternate;q!==null&&(q=q.updateQueue,x=q.lastBaseUpdate,x!==g&&(x===null?q.firstBaseUpdate=U:x.next=U,q.lastBaseUpdate=E))}if(f!==null){var H=c.baseState;g=0,q=U=E=null,x=f;do{var $=x.lane,Y=x.eventTime;if((a&$)===$){q!==null&&(q=q.next={eventTime:Y,lane:0,tag:x.tag,payload:x.payload,callback:x.callback,next:null});e:{var ee=e,re=x;switch($=n,Y=o,re.tag){case 1:if(ee=re.payload,typeof ee=="function"){H=ee.call(Y,H,$);break e}H=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=re.payload,$=typeof ee=="function"?ee.call(Y,H,$):ee,$==null)break e;H=F({},H,$);break e;case 2:Gn=!0}}x.callback!==null&&x.lane!==0&&(e.flags|=64,$=c.effects,$===null?c.effects=[x]:$.push(x))}else Y={eventTime:Y,lane:$,tag:x.tag,payload:x.payload,callback:x.callback,next:null},q===null?(U=q=Y,E=H):q=q.next=Y,g|=$;if(x=x.next,x===null){if(x=c.shared.pending,x===null)break;$=x,x=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(!0);if(q===null&&(E=H),c.baseState=E,c.firstBaseUpdate=U,c.lastBaseUpdate=q,n=c.shared.interleaved,n!==null){c=n;do g|=c.lane,c=c.next;while(c!==n)}else f===null&&(c.shared.lanes=0);Pr|=g,e.lanes=g,e.memoizedState=H}}function qf(e,n,o){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var a=e[n],c=a.callback;if(c!==null){if(a.callback=null,a=o,typeof c!="function")throw Error(s(191,c));c.call(a)}}}var wo={},pn=Wn(wo),xo=Wn(wo),bo=Wn(wo);function Ar(e){if(e===wo)throw Error(s(174));return e}function Yl(e,n){switch(De(bo,n),De(xo,e),De(pn,wo),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ja(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ja(n,e)}Ue(pn),De(pn,n)}function ws(){Ue(pn),Ue(xo),Ue(bo)}function Hf(e){Ar(bo.current);var n=Ar(pn.current),o=Ja(n,e.type);n!==o&&(De(xo,e),De(pn,o))}function Jl(e){xo.current===e&&(Ue(pn),Ue(xo))}var ze=Wn(0);function Hi(e){for(var n=e;n!==null;){if(n.tag===13){var o=n.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Xl=[];function Zl(){for(var e=0;e<Xl.length;e++)Xl[e]._workInProgressVersionPrimary=null;Xl.length=0}var Vi=D.ReactCurrentDispatcher,eu=D.ReactCurrentBatchConfig,Tr=0,Be=null,Je=null,tt=null,Wi=!1,ko=!1,So=0,t0=0;function ht(){throw Error(s(321))}function tu(e,n){if(n===null)return!1;for(var o=0;o<n.length&&o<e.length;o++)if(!en(e[o],n[o]))return!1;return!0}function nu(e,n,o,a,c,f){if(Tr=f,Be=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Vi.current=e===null||e.memoizedState===null?o0:i0,e=o(a,c),ko){f=0;do{if(ko=!1,So=0,25<=f)throw Error(s(301));f+=1,tt=Je=null,n.updateQueue=null,Vi.current=a0,e=o(a,c)}while(ko)}if(Vi.current=Gi,n=Je!==null&&Je.next!==null,Tr=0,tt=Je=Be=null,Wi=!1,n)throw Error(s(300));return e}function ru(){var e=So!==0;return So=0,e}function mn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?Be.memoizedState=tt=e:tt=tt.next=e,tt}function $t(){if(Je===null){var e=Be.alternate;e=e!==null?e.memoizedState:null}else e=Je.next;var n=tt===null?Be.memoizedState:tt.next;if(n!==null)tt=n,Je=e;else{if(e===null)throw Error(s(310));Je=e,e={memoizedState:Je.memoizedState,baseState:Je.baseState,baseQueue:Je.baseQueue,queue:Je.queue,next:null},tt===null?Be.memoizedState=tt=e:tt=tt.next=e}return tt}function Eo(e,n){return typeof n=="function"?n(e):n}function su(e){var n=$t(),o=n.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=e;var a=Je,c=a.baseQueue,f=o.pending;if(f!==null){if(c!==null){var g=c.next;c.next=f.next,f.next=g}a.baseQueue=c=f,o.pending=null}if(c!==null){f=c.next,a=a.baseState;var x=g=null,E=null,U=f;do{var q=U.lane;if((Tr&q)===q)E!==null&&(E=E.next={lane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),a=U.hasEagerState?U.eagerState:e(a,U.action);else{var H={lane:q,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null};E===null?(x=E=H,g=a):E=E.next=H,Be.lanes|=q,Pr|=q}U=U.next}while(U!==null&&U!==f);E===null?g=a:E.next=x,en(a,n.memoizedState)||(Et=!0),n.memoizedState=a,n.baseState=g,n.baseQueue=E,o.lastRenderedState=a}if(e=o.interleaved,e!==null){c=e;do f=c.lane,Be.lanes|=f,Pr|=f,c=c.next;while(c!==e)}else c===null&&(o.lanes=0);return[n.memoizedState,o.dispatch]}function ou(e){var n=$t(),o=n.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=e;
vendor: 4,790 bytes, line 38
38var a=o.dispatch,c=o.pending,f=n.memoizedState;if(c!==null){o.pending=null;var g=c=c.next;do f=e(f,g.action),g=g.next;while(g!==c);en(f,n.memoizedState)||(Et=!0),n.memoizedState=f,n.baseQueue===null&&(n.baseState=f),o.lastRenderedState=f}return[f,a]}function Vf(){}function Wf(e,n){var o=Be,a=$t(),c=n(),f=!en(a.memoizedState,c);if(f&&(a.memoizedState=c,Et=!0),a=a.queue,iu(Gf.bind(null,o,a,e),[e]),a.getSnapshot!==n||f||tt!==null&&tt.memoizedState.tag&1){if(o.flags|=2048,_o(9,Kf.bind(null,o,a,c,n),void 0,null),nt===null)throw Error(s(349));(Tr&30)!==0||Qf(o,n,c)}return c}function Qf(e,n,o){e.flags|=16384,e={getSnapshot:n,value:o},n=Be.updateQueue,n===null?(n={lastEffect:null,stores:null},Be.updateQueue=n,n.stores=[e]):(o=n.stores,o===null?n.stores=[e]:o.push(e))}function Kf(e,n,o,a){n.value=o,n.getSnapshot=a,Yf(n)&&Jf(e)}function Gf(e,n,o){return o(function(){Yf(n)&&Jf(e)})}function Yf(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!en(e,o)}catch{return!0}}function Jf(e){var n=Rn(e,1);n!==null&&on(n,e,1,-1)}function Xf(e){var n=mn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:e},n.queue=e,e=e.dispatch=s0.bind(null,Be,e),[n.memoizedState,e]}function _o(e,n,o,a){return e={tag:e,create:n,destroy:o,deps:a,next:null},n=Be.updateQueue,n===null?(n={lastEffect:null,stores:null},Be.updateQueue=n,n.lastEffect=e.next=e):(o=n.lastEffect,o===null?n.lastEffect=e.next=e:(a=o.next,o.next=e,e.next=a,n.lastEffect=e)),e}function Zf(){return $t().memoizedState}function Qi(e,n,o,a){var c=mn();Be.flags|=e,c.memoizedState=_o(1|n,o,void 0,a===void 0?null:a)}function Ki(e,n,o,a){var c=$t();a=a===void 0?null:a;var f=void 0;if(Je!==null){var g=Je.memoizedState;if(f=g.destroy,a!==null&&tu(a,g.deps)){c.memoizedState=_o(n,o,f,a);return}}Be.flags|=e,c.memoizedState=_o(1|n,o,f,a)}function eh(e,n){return Qi(8390656,8,e,n)}function iu(e,n){return Ki(2048,8,e,n)}function th(e,n){return Ki(4,2,e,n)}function nh(e,n){return Ki(4,4,e,n)}function rh(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function sh(e,n,o){return o=o!=null?o.concat([e]):null,Ki(4,4,rh.bind(null,n,e),o)}function au(){}function oh(e,n){var o=$t();n=n===void 0?null:n;var a=o.memoizedState;return a!==null&&n!==null&&tu(n,a[1])?a[0]:(o.memoizedState=[e,n],e)}function ih(e,n){var o=$t();n=n===void 0?null:n;var a=o.memoizedState;return a!==null&&n!==null&&tu(n,a[1])?a[0]:(e=e(),o.memoizedState=[e,n],e)}function ah(e,n,o){return(Tr&21)===0?(e.baseState&&(e.baseState=!1,Et=!0),e.memoizedState=o):(en(o,n)||(o=Dd(),Be.lanes|=o,Pr|=o,e.baseState=!0),n)}function n0(e,n){var o=Oe;Oe=o!==0&&4>o?o:4,e(!0);var a=eu.transition;eu.transition={};try{e(!1),n()}finally{Oe=o,eu.transition=a}}function lh(){return $t().memoizedState}function r0(e,n,o){var a=er(e);if(o={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null},uh(e))ch(n,o);else if(o=zf(e,n,o,a),o!==null){var c=xt();on(o,e,a,c),dh(o,n,a)}}function s0(e,n,o){var a=er(e),c={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null};if(uh(e))ch(n,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=n.lastRenderedReducer,f!==null))try{var g=n.lastRenderedState,x=f(g,o);if(c.hasEagerState=!0,c.eagerState=x,en(x,g)){var E=n.interleaved;E===null?(c.next=c,Kl(n)):(c.next=E.next,E.next=c),n.interleaved=c;return}}catch{}finally{}o=zf(e,n,c,a),o!==null&&(c=xt(),on(o,e,a,c),dh(o,n,a))}}function uh(e){var n=e.alternate;return e===Be||n!==null&&n===Be}function ch(e,n){ko=Wi=!0;var o=e.pending;o===null?n.next=n:(n.next=o.next,o.next=n),e.pending=n}function dh(e,n,o){if((o&4194240)!==0){var a=n.lanes;a&=e.pendingLanes,o|=a,n.lanes=o,ul(e,o)}}var Gi={readContext:Bt,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},o0={readContext:Bt,useCallback:function(e,n){return mn().memoizedState=[e,n===void 0?null:n],e},useContext:Bt,useEffect:eh,useImperativeHandle:function(e,n,o){return o=o!=null?o.concat([e]):null,Qi(4194308,4,rh.bind(null,n,e),o)},useLayoutEffect:function(e,n){return Qi(4194308,4,e,n)},useInsertionEffect:function(e,n){return Qi(4,2,e,n)},useMemo:function(e,n){var o=mn();return n=n===void 0?null:n,e=e(),o.memoizedState=[e,n],e},useReducer:function(e,n,o){var a=mn();return n=o!==void 0?o(n):n,a.memoizedState=a.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=r0.bind(null,Be,e),[a.memoizedState,e]}
vendor: 5,350 bytes, lines 38-40
38,useRef:function(e){var n=mn();return e={current:e},n.memoizedState=e},useState:Xf,useDebugValue:au,useDeferredValue:function(e){return mn().memoizedState=e},useTransition:function(){var e=Xf(!1),n=e[0];return e=n0.bind(null,e[1]),mn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,o){var a=Be,c=mn();if(Fe){if(o===void 0)throw Error(s(407));o=o()}else{if(o=n(),nt===null)throw Error(s(349));(Tr&30)!==0||Qf(a,n,o)}c.memoizedState=o;var f={value:o,getSnapshot:n};return c.queue=f,eh(Gf.bind(null,a,f,e),[e]),a.flags|=2048,_o(9,Kf.bind(null,a,f,o,n),void 0,null),o},useId:function(){var e=mn(),n=nt.identifierPrefix;if(Fe){var o=Nn,a=Cn;o=(a&~(1<<32-Zt(a)-1)).toString(32)+o,n=":"+n+"R"+o,o=So++,0<o&&(n+="H"+o.toString(32)),n+=":"}else o=t0++,n=":"+n+"r"+o.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},i0={readContext:Bt,useCallback:oh,useContext:Bt,useEffect:iu,useImperativeHandle:sh,useInsertionEffect:th,useLayoutEffect:nh,useMemo:ih,useReducer:su,useRef:Zf,useState:function(){return su(Eo)},useDebugValue:au,useDeferredValue:function(e){var n=$t();return ah(n,Je.memoizedState,e)},useTransition:function(){var e=su(Eo)[0],n=$t().memoizedState;return[e,n]},useMutableSource:Vf,useSyncExternalStore:Wf,useId:lh,unstable_isNewReconciler:!1},a0={readContext:Bt,useCallback:oh,useContext:Bt,useEffect:iu,useImperativeHandle:sh,useInsertionEffect:th,useLayoutEffect:nh,useMemo:ih,useReducer:ou,useRef:Zf,useState:function(){return ou(Eo)},useDebugValue:au,useDeferredValue:function(e){var n=$t();return Je===null?n.memoizedState=e:ah(n,Je.memoizedState,e)},useTransition:function(){var e=ou(Eo)[0],n=$t().memoizedState;return[e,n]},useMutableSource:Vf,useSyncExternalStore:Wf,useId:lh,unstable_isNewReconciler:!1};function nn(e,n){if(e&&e.defaultProps){n=F({},n),e=e.defaultProps;for(var o in e)n[o]===void 0&&(n[o]=e[o]);return n}return n}function lu(e,n,o,a){n=e.memoizedState,o=o(a,n),o=o==null?n:F({},n,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Yi={isMounted:function(e){return(e=e._reactInternals)?Sr(e)===e:!1},enqueueSetState:function(e,n,o){e=e._reactInternals;var a=xt(),c=er(e),f=An(a,c);f.payload=n,o!=null&&(f.callback=o),n=Yn(e,f,c),n!==null&&(on(n,e,c,a),$i(n,e,c))},enqueueReplaceState:function(e,n,o){e=e._reactInternals;var a=xt(),c=er(e),f=An(a,c);f.tag=1,f.payload=n,o!=null&&(f.callback=o),n=Yn(e,f,c),n!==null&&(on(n,e,c,a),$i(n,e,c))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var o=xt(),a=er(e),c=An(o,a);c.tag=2,n!=null&&(c.callback=n),n=Yn(e,c,a),n!==null&&(on(n,e,a,o),$i(n,e,a))}};function fh(e,n,o,a,c,f,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,f,g):n.prototype&&n.prototype.isPureReactComponent?!co(o,a)||!co(c,f):!0}function hh(e,n,o){var a=!1,c=Qn,f=n.contextType;return typeof f=="object"&&f!==null?f=Bt(f):(c=St(n)?_r:ft.current,a=n.contextTypes,f=(a=a!=null)?fs(e,c):Qn),n=new n(o,f),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Yi,e.stateNode=n,n._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=f),n}function ph(e,n,o,a){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(o,a),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(o,a),n.state!==e&&Yi.enqueueReplaceState(n,n.state,null)}function uu(e,n,o,a){var c=e.stateNode;c.props=o,c.state=e.memoizedState,c.refs={},Gl(e);var f=n.contextType;typeof f=="object"&&f!==null?c.context=Bt(f):(f=St(n)?_r:ft.current,c.context=fs(e,f)),c.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(lu(e,n,f,o),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(n=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),n!==c.state&&Yi.enqueueReplaceState(c,c.state,null),qi(e,o,c,a),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function xs(e,n){try{var o="",a=n;do o+=ue(a),a=a.return;while(a);var c=o}catch(f){c=` 39Error generating stack: `+f.message+` 40`+f.stack}return{value:e,source:n,stack:c,digest:null}}function cu(e,n,o){return{value:e,source:null,stack:o??null,digest:n??null}}function du(e,n){try{console.error(n.value)}catch(o){setTimeout(function(){throw o})}}var l0=typeof WeakMap=="function"?WeakMap:Map;function mh(e,n,o){o=An(-1,o),o.tag=3,o.payload={element:null};var a=n.value;return o.callback=function(){ra||(ra=!0,Cu=a),du(e,n)},o}function gh(e,n,o){o=An(-1,o),o.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var c=n.value;o.payload=function(){return a(c)},o.callback=function(){du(e,n)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(o.callback=function(){du(e,n),typeof a!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var g=n.stack;this.componentDidCatch(n.value,{componentStack:g!==null?g:""})}),o}function yh(e,n,o){var a=e.pingCache;if(a===null){a=e.pingCache=new l0;var c=new Set;a.set(n,c)}else c=a.get(n),c===void 0&&(c=new Set,a.set(n,c));
vendor: 35,182 bytes, line 40
40c.has(o)||(c.add(o),e=k0.bind(null,e,n,o),n.then(e,e))}function vh(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function wh(e,n,o,a,c){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(n=An(-1,1),n.tag=2,Yn(o,n,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=c,e)}var u0=D.ReactCurrentOwner,Et=!1;function wt(e,n,o,a){n.child=e===null?Ff(n,null,o,a):gs(n,e.child,o,a)}function xh(e,n,o,a,c){o=o.render;var f=n.ref;return vs(n,c),a=nu(e,n,o,a,f,c),o=ru(),e!==null&&!Et?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,Tn(e,n,c)):(Fe&&o&&Fl(n),n.flags|=1,wt(e,n,a,c),n.child)}function bh(e,n,o,a,c){if(e===null){var f=o.type;return typeof f=="function"&&!Ou(f)&&f.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(n.tag=15,n.type=f,kh(e,n,f,a,c)):(e=ua(o.type,null,a,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(f=e.child,(e.lanes&c)===0){var g=f.memoizedProps;if(o=o.compare,o=o!==null?o:co,o(g,a)&&e.ref===n.ref)return Tn(e,n,c)}return n.flags|=1,e=nr(f,a),e.ref=n.ref,e.return=n,n.child=e}function kh(e,n,o,a,c){if(e!==null){var f=e.memoizedProps;if(co(f,a)&&e.ref===n.ref)if(Et=!1,n.pendingProps=a=f,(e.lanes&c)!==0)(e.flags&131072)!==0&&(Et=!0);else return n.lanes=e.lanes,Tn(e,n,c)}return fu(e,n,o,a,c)}function Sh(e,n,o){var a=n.pendingProps,c=a.children,f=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(ks,It),It|=o;else{if((o&1073741824)===0)return e=f!==null?f.baseLanes|o:o,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,De(ks,It),It|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=f!==null?f.baseLanes:o,De(ks,It),It|=a}else f!==null?(a=f.baseLanes|o,n.memoizedState=null):a=o,De(ks,It),It|=a;return wt(e,n,c,o),n.child}function Eh(e,n){var o=n.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(n.flags|=512,n.flags|=2097152)}function fu(e,n,o,a,c){var f=St(o)?_r:ft.current;return f=fs(n,f),vs(n,c),o=nu(e,n,o,a,f,c),a=ru(),e!==null&&!Et?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,Tn(e,n,c)):(Fe&&a&&Fl(n),n.flags|=1,wt(e,n,o,c),n.child)}function _h(e,n,o,a,c){if(St(o)){var f=!0;Li(n)}else f=!1;if(vs(n,c),n.stateNode===null)Xi(e,n),hh(n,o,a),uu(n,o,a,c),a=!0;else if(e===null){var g=n.stateNode,x=n.memoizedProps;g.props=x;var E=g.context,U=o.contextType;typeof U=="object"&&U!==null?U=Bt(U):(U=St(o)?_r:ft.current,U=fs(n,U));var q=o.getDerivedStateFromProps,H=typeof q=="function"||typeof g.getSnapshotBeforeUpdate=="function";H||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(x!==a||E!==U)&&ph(n,g,a,U),Gn=!1;var $=n.memoizedState;g.state=$,qi(n,a,g,c),E=n.memoizedState,x!==a||$!==E||kt.current||Gn?(typeof q=="function"&&(lu(n,o,q,a),E=n.memoizedState),(x=Gn||fh(n,o,x,a,$,E,U))?(H||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(n.flags|=4194308)):(typeof g.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=a,n.memoizedState=E),g.props=a,g.state=E,g.context=U,a=x):(typeof g.componentDidMount=="function"&&(n.flags|=4194308),a=!1)}else{g=n.stateNode,Bf(e,n),x=n.memoizedProps,U=n.type===n.elementType?x:nn(n.type,x),g.props=U,H=n.pendingProps,$=g.context,E=o.contextType,typeof E=="object"&&E!==null?E=Bt(E):(E=St(o)?_r:ft.current,E=fs(n,E));var Y=o.getDerivedStateFromProps;(q=typeof Y=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(x!==H||$!==E)&&ph(n,g,a,E),Gn=!1,$=n.memoizedState,g.state=$,qi(n,a,g,c);var ee=n.memoizedState;x!==H||$!==ee||kt.current||Gn?(typeof Y=="function"&&(lu(n,o,Y,a),ee=n.memoizedState),(U=Gn||fh(n,o,U,a,$,ee,E)||!1)?(q||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(a,ee,E),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(a,ee,E)),typeof g.componentDidUpdate=="function"&&(n.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof g.componentDidUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(n.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(n.flags|=1024),n.memoizedProps=a,n.memoizedState=ee),g.props=a,g.state=ee,g.context=E,a=U):(typeof g.componentDidUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(n.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(n.flags|=1024),a=!1)}return hu(e,n,o,a,f,c)}function hu(e,n,o,a,c,f){Eh(e,n);var g=(n.flags&128)!==0;if(!a&&!g)return c&&Tf(n,o,!1),Tn(e,n,f);a=n.stateNode,u0.current=n;var x=g&&typeof o.getDerivedStateFromError!="function"?null:a.render();return n.flags|=1,e!==null&&g?(n.child=gs(n,e.child,null,f),n.child=gs(n,null,x,f)):wt(e,n,x,f),n.memoizedState=a.state,c&&Tf(n,o,!0),n.child}function Ch(e){var n=e.stateNode;n.pendingContext?Rf(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Rf(e,n.context,!1),Yl(e,n.containerInfo)}function Nh(e,n,o,a,c){return ms(),ql(c),n.flags|=256,wt(e,n,o,a),n.child}var pu={dehydrated:null,treeContext:null,retryLane:0};function mu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rh(e,n,o){var a=n.pendingProps,c=ze.current,f=!1,g=(n.flags&128)!==0,x;if((x=g)||(x=e!==null&&e.memoizedState===null?!1:(c&2)!==0),x?(f=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),De(ze,c&1),e===null)return $l(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(g=a.children,e=a.fallback,f?(a=n.mode,f=n.child,g={mode:"hidden",children:g},(a&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=g):f=ca(g,a,0,null),e=Ir(e,a,o,null),f.return=n,e.return=n,f.sibling=e,n.child=f,n.child.memoizedState=mu(o),n.memoizedState=pu,e):gu(n,g));if(c=e.memoizedState,c!==null&&(x=c.dehydrated,x!==null))return c0(e,n,g,a,x,c,o);if(f){f=a.fallback,g=n.mode,c=e.child,x=c.sibling;var E={mode:"hidden",children:a.children};return(g&1)===0&&n.child!==c?(a=n.child,a.childLanes=0,a.pendingProps=E,n.deletions=null):(a=nr(c,E),a.subtreeFlags=c.subtreeFlags&14680064),x!==null?f=nr(x,f):(f=Ir(f,g,o,null),f.flags|=2),f.return=n,a.return=n,a.sibling=f,n.child=a,a=f,f=n.child,g=e.child.memoizedState,g=g===null?mu(o):{baseLanes:g.baseLanes|o,cachePool:null,transitions:g.transitions},f.memoizedState=g,f.childLanes=e.childLanes&~o,n.memoizedState=pu,a}return f=e.child,e=f.sibling,a=nr(f,{mode:"visible",children:a.children}),(n.mode&1)===0&&(a.lanes=o),a.return=n,a.sibling=null,e!==null&&(o=n.deletions,o===null?(n.deletions=[e],n.flags|=16):o.push(e)),n.child=a,n.memoizedState=null,a}function gu(e,n){return n=ca({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Ji(e,n,o,a){return a!==null&&ql(a),gs(n,e.child,null,o),e=gu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function c0(e,n,o,a,c,f,g){if(o)return n.flags&256?(n.flags&=-257,a=cu(Error(s(422))),Ji(e,n,g,a)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(f=a.fallback,c=n.mode,a=ca({mode:"visible",children:a.children},c,0,null),f=Ir(f,c,g,null),f.flags|=2,a.return=n,f.return=n,a.sibling=f,n.child=a,(n.mode&1)!==0&&gs(n,e.child,null,g),n.child.memoizedState=mu(g),n.memoizedState=pu,f);if((n.mode&1)===0)return Ji(e,n,g,null);if(c.data==="$!"){if(a=c.nextSibling&&c.nextSibling.dataset,a)var x=a.dgst;return a=x,f=Error(s(419)),a=cu(f,a,void 0),Ji(e,n,g,a)}if(x=(g&e.childLanes)!==0,Et||x){if(a=nt,a!==null){switch(g&-g){case 4:c=2;break;case 16:c=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:c=32;break;case 536870912:c=268435456;break;default:c=0}c=(c&(a.suspendedLanes|g))!==0?0:c,c!==0&&c!==f.retryLane&&(f.retryLane=c,Rn(e,c),on(a,e,c,-1))}return ju(),a=cu(Error(s(421))),Ji(e,n,g,a)}return c.data==="$?"?(n.flags|=128,n.child=e.child,n=S0.bind(null,e),c._reactRetry=n,null):(e=f.treeContext,Lt=Vn(c.nextSibling),Ot=n,Fe=!0,tn=null,e!==null&&(Ft[zt++]=Cn,Ft[zt++]=Nn,Ft[zt++]=Cr,Cn=e.id,Nn=e.overflow,Cr=n),n=gu(n,a.children),n.flags|=4096,n)}function Ah(e,n,o){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n),Ql(e.return,n,o)}function yu(e,n,o,a,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:c}:(f.isBackwards=n,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=o,f.tailMode=c)}function Th(e,n,o){var a=n.pendingProps,c=a.revealOrder,f=a.tail;if(wt(e,n,a.children,o),a=ze.current,(a&2)!==0)a=a&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ah(e,o,n);else if(e.tag===19)Ah(e,o,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(De(ze,a),(n.mode&1)===0)n.memoizedState=null;else switch(c){case"forwards":for(o=n.child,c=null;o!==null;)e=o.alternate,e!==null&&Hi(e)===null&&(c=o),o=o.sibling;o=c,o===null?(c=n.child,n.child=null):(c=o.sibling,o.sibling=null),yu(n,!1,c,o,f);break;case"backwards":for(o=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&Hi(e)===null){n.child=c;break}e=c.sibling,c.sibling=o,o=c,c=e}yu(n,!0,o,null,f);break;case"together":yu(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Xi(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Tn(e,n,o){if(e!==null&&(n.dependencies=e.dependencies),Pr|=n.lanes,(o&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(s(153));if(n.child!==null){for(e=n.child,o=nr(e,e.pendingProps),n.child=o,o.return=n;e.sibling!==null;)e=e.sibling,o=o.sibling=nr(e,e.pendingProps),o.return=n;o.sibling=null}return n.child}function d0(e,n,o){switch(n.tag){case 3:Ch(n),ms();break;case 5:Hf(n);break;case 1:St(n.type)&&Li(n);break;case 4:Yl(n,n.stateNode.containerInfo);break;case 10:var a=n.type._context,c=n.memoizedProps.value;De(zi,a._currentValue),a._currentValue=c;break;case 13:if(a=n.memoizedState,a!==null)return a.dehydrated!==null?(De(ze,ze.current&1),n.flags|=128,null):(o&n.child.childLanes)!==0?Rh(e,n,o):(De(ze,ze.current&1),e=Tn(e,n,o),e!==null?e.sibling:null);De(ze,ze.current&1);break;case 19:if(a=(o&n.childLanes)!==0,(e.flags&128)!==0){if(a)return Th(e,n,o);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),De(ze,ze.current),a)break;return null;case 22:case 23:return n.lanes=0,Sh(e,n,o)}return Tn(e,n,o)}var Ph,vu,jh,Oh;Ph=function(e,n){for(var o=n.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},vu=function(){},jh=function(e,n,o,a){var c=e.memoizedProps;if(c!==a){e=n.stateNode,Ar(pn.current);var f=null;switch(o){case"input":c=Mt(e,c),a=Mt(e,a),f=[];break;case"select":c=F({},c,{value:void 0}),a=F({},a,{value:void 0}),f=[];break;case"textarea":c=Sn(e,c),a=Sn(e,a),f=[];break;default:typeof c.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Pi)}Xa(o,a);var g;o=null;for(U in c)if(!a.hasOwnProperty(U)&&c.hasOwnProperty(U)&&c[U]!=null)if(U==="style"){var x=c[U];for(g in x)x.hasOwnProperty(g)&&(o||(o={}),o[g]="")}else U!=="dangerouslySetInnerHTML"&&U!=="children"&&U!=="suppressContentEditableWarning"&&U!=="suppressHydrationWarning"&&U!=="autoFocus"&&(l.hasOwnProperty(U)?f||(f=[]):(f=f||[]).push(U,null));for(U in a){var E=a[U];if(x=c!=null?c[U]:void 0,a.hasOwnProperty(U)&&E!==x&&(E!=null||x!=null))if(U==="style")if(x){for(g in x)!x.hasOwnProperty(g)||E&&E.hasOwnProperty(g)||(o||(o={}),o[g]="");for(g in E)E.hasOwnProperty(g)&&x[g]!==E[g]&&(o||(o={}),o[g]=E[g])}else o||(f||(f=[]),f.push(U,o)),o=E;else U==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,x=x?x.__html:void 0,E!=null&&x!==E&&(f=f||[]).push(U,E)):U==="children"?typeof E!="string"&&typeof E!="number"||(f=f||[]).push(U,""+E):U!=="suppressContentEditableWarning"&&U!=="suppressHydrationWarning"&&(l.hasOwnProperty(U)?(E!=null&&U==="onScroll"&&Me("scroll",e),f||x===E||(f=[])):(f=f||[]).push(U,E))}o&&(f=f||[]).push("style",o);var U=f;(n.updateQueue=U)&&(n.flags|=4)}},Oh=function(e,n,o,a){o!==a&&(n.flags|=4)};function Co(e,n){if(!Fe)switch(e.tailMode){case"hidden":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function pt(e){var n=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(n)for(var c=e.child;c!==null;)o|=c.lanes|c.childLanes,a|=c.subtreeFlags&14680064,a|=c.flags&14680064,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)o|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=a,e.childLanes=o,n}function f0(e,n,o){var a=n.pendingProps;switch(zl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(n),null;case 1:return St(n.type)&&Oi(),pt(n),null;case 3:return a=n.stateNode,ws(),Ue(kt),Ue(ft),Zl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ui(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,tn!==null&&(Au(tn),tn=null))),vu(e,n),pt(n),null;case 5:Jl(n);var c=Ar(bo.current);if(o=n.type,e!==null&&n.stateNode!=null)jh(e,n,o,a,c),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!a){if(n.stateNode===null)throw Error(s(166));return pt(n),null}if(e=Ar(pn.current),Ui(n)){a=n.stateNode,o=n.type;var f=n.memoizedProps;switch(a[hn]=n,a[go]=f,e=(n.mode&1)!==0,o){case"dialog":Me("cancel",a),Me("close",a);break;case"iframe":case"object":case"embed":Me("load",a);break;case"video":case"audio":for(c=0;c<ho.length;c++)Me(ho[c],a);break;case"source":Me("error",a);break;case"img":case"image":case"link":Me("error",a),Me("load",a);break;case"details":Me("toggle",a);break;case"input":Ut(a,f),Me("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!f.multiple},Me("invalid",a);break;case"textarea":md(a,f),Me("invalid",a)}Xa(o,f),c=null;for(var g in f)if(f.hasOwnProperty(g)){var x=f[g];g==="children"?typeof x=="string"?a.textContent!==x&&(f.suppressHydrationWarning!==!0&&Ti(a.textContent,x,e),c=["children",x]):typeof x=="number"&&a.textContent!==""+x&&(f.suppressHydrationWarning!==!0&&Ti(a.textContent,x,e),c=["children",""+x]):l.hasOwnProperty(g)&&x!=null&&g==="onScroll"&&Me("scroll",a)}switch(o){case"input":Dt(a),Jt(a,f,!0);break;case"textarea":Dt(a),yd(a);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(a.onclick=Pi)}a=c,n.updateQueue=a,a!==null&&(n.flags|=4)}else{g=c.nodeType===9?c:c.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vd(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=g.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=g.createElement(o,{is:a.is}):(e=g.createElement(o),o==="select"&&(g=e,a.multiple?g.multiple=!0:a.size&&(g.size=a.size))):e=g.createElementNS(e,o),e[hn]=n,e[go]=a,Ph(e,n,!1,!1),n.stateNode=e;e:{switch(g=Za(o,a),o){case"dialog":Me("cancel",e),Me("close",e),c=a;break;case"iframe":case"object":case"embed":Me("load",e),c=a;break;case"video":case"audio":for(c=0;c<ho.length;c++)Me(ho[c],e);c=a;break;case"source":Me("error",e),c=a;break;case"img":case"image":case"link":Me("error",e),Me("load",e),c=a;break;case"details":Me("toggle",e),c=a;break;case"input":Ut(e,a),c=Mt(e,a),Me("invalid",e);break;case"option":c=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},c=F({},a,{value:void 0}),Me("invalid",e);break;case"textarea":md(e,a),c=Sn(e,a),Me("invalid",e);break;default:c=a}Xa(o,c),x=c;for(f in x)if(x.hasOwnProperty(f)){var E=x[f];f==="style"?bd(e,E):f==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&wd(e,E)):f==="children"?typeof E=="string"?(o!=="textarea"||E!=="")&&Qs(e,E):typeof E=="number"&&Qs(e,""+E):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(l.hasOwnProperty(f)?E!=null&&f==="onScroll"&&Me("scroll",e):E!=null&&O(e,f,E,g))}switch(o){case"input":Dt(e),Jt(e,a,!1);break;case"textarea":Dt(e),yd(e);break;case"option":a.value!=null&&e.setAttribute("value",""+ke(a.value));break;case"select":e.multiple=!!a.multiple,f=a.value,f!=null?Un(e,!!a.multiple,f,!1):a.defaultValue!=null&&Un(e,!!a.multiple,a.defaultValue,!0);break;default:typeof c.onClick=="function"&&(e.onclick=Pi)}switch(o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return pt(n),null;case 6:if(e&&n.stateNode!=null)Oh(e,n,e.memoizedProps,a);else{if(typeof a!="string"&&n.stateNode===null)throw Error(s(166));if(o=Ar(bo.current),Ar(pn.current),Ui(n)){if(a=n.stateNode,o=n.memoizedProps,a[hn]=n,(f=a.nodeValue!==o)&&(e=Ot,e!==null))switch(e.tag){case 3:Ti(a.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ti(a.nodeValue,o,(e.mode&1)!==0)}f&&(n.flags|=4)}else a=(o.nodeType===9?o:o.ownerDocument).createTextNode(a),a[hn]=n,n.stateNode=a}return pt(n),null;case 13:if(Ue(ze),a=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&Lt!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Df(),ms(),n.flags|=98560,f=!1;else if(f=Ui(n),a!==null&&a.dehydrated!==null){if(e===null){if(!f)throw Error(s(318));if(f=n.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(s(317));f[hn]=n}else ms(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;pt(n),f=!1}else tn!==null&&(Au(tn),tn=null),f=!0;if(!f)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=o,n):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(ze.current&1)!==0?Xe===0&&(Xe=3):ju())),n.updateQueue!==null&&(n.flags|=4),pt(n),null);case 4:return ws(),vu(e,n),e===null&&po(n.stateNode.containerInfo),pt(n),null;case 10:return Wl(n.type._context),pt(n),null;case 17:return St(n.type)&&Oi(),pt(n),null;case 19:if(Ue(ze),f=n.memoizedState,f===null)return pt(n),null;if(a=(n.flags&128)!==0,g=f.rendering,g===null)if(a)Co(f,!1);else{if(Xe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(g=Hi(e),g!==null){for(n.flags|=128,Co(f,!1),a=g.updateQueue,a!==null&&(n.updateQueue=a,n.flags|=4),n.subtreeFlags=0,a=o,o=n.child;o!==null;)f=o,e=a,f.flags&=14680066,g=f.alternate,g===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,e=g.dependencies,f.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return De(ze,ze.current&1|2),n.child}e=e.sibling}f.tail!==null&&Ve()>Ss&&(n.flags|=128,a=!0,Co(f,!1),n.lanes=4194304)}else{if(!a)if(e=Hi(g),e!==null){if(n.flags|=128,a=!0,o=e.updateQueue,o!==null&&(n.updateQueue=o,n.flags|=4),Co(f,!0),f.tail===null&&f.tailMode==="hidden"&&!g.alternate&&!Fe)return pt(n),null}else 2*Ve()-f.renderingStartTime>Ss&&o!==1073741824&&(n.flags|=128,a=!0,Co(f,!1),n.lanes=4194304);f.isBackwards?(g.sibling=n.child,n.child=g):(o=f.last,o!==null?o.sibling=g:n.child=g,f.last=g)}return f.tail!==null?(n=f.tail,f.rendering=n,f.tail=n.sibling,f.renderingStartTime=Ve(),n.sibling=null,o=ze.current,De(ze,a?o&1|2:o&1),n):(pt(n),null);case 22:case 23:return Pu(),a=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(n.flags|=8192),a&&(n.mode&1)!==0?(It&1073741824)!==0&&(pt(n),n.subtreeFlags&6&&(n.flags|=8192)):pt(n),null;case 24:return null;case 25:return null}throw Error(s(156,n.tag))}function h0(e,n){switch(zl(n),n.tag){case 1:return St(n.type)&&Oi(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return ws(),Ue(kt),Ue(ft),Zl(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return Jl(n),null;case 13:if(Ue(ze),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(s(340));ms()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Ue(ze),null;case 4:return ws(),null;case 10:return Wl(n.type._context),null;case 22:case 23:return Pu(),null;case 24:return null;default:return null}}var Zi=!1,mt=!1,p0=typeof WeakSet=="function"?WeakSet:Set,Z=null;function bs(e,n){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(a){qe(e,n,a)}else o.current=null}function wu(e,n,o){try{o()}catch(a){qe(e,n,a)}}var Lh=!1;function m0(e,n){if(Pl=wi,e=ff(),Sl(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var c=a.anchorOffset,f=a.focusNode;a=a.focusOffset;try{o.nodeType,f.nodeType}catch{o=null;break e}var g=0,x=-1,E=-1,U=0,q=0,H=e,$=null;t:for(;;){for(var Y;H!==o||c!==0&&H.nodeType!==3||(x=g+c),H!==f||a!==0&&H.nodeType!==3||(E=g+a),H.nodeType===3&&(g+=H.nodeValue.length),(Y=H.firstChild)!==null;)$=H,H=Y;for(;;){if(H===e)break t;if($===o&&++U===c&&(x=g),$===f&&++q===a&&(E=g),(Y=H.nextSibling)!==null)break;H=$,$=H.parentNode}H=Y}o=x===-1||E===-1?null:{start:x,end:E}}else o=null}o=o||{start:0,end:0}}else o=null;for(jl={focusedElem:e,selectionRange:o},wi=!1,Z=n;Z!==null;)if(n=Z,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,Z=e;else for(;Z!==null;){n=Z;try{var ee=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ee!==null){var re=ee.memoizedProps,We=ee.memoizedState,j=n.stateNode,C=j.getSnapshotBeforeUpdate(n.elementType===n.type?re:nn(n.type,re),We);j.__reactInternalSnapshotBeforeUpdate=C}break;case 3:var L=n.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(W){qe(n,n.return,W)}if(e=n.sibling,e!==null){e.return=n.return,Z=e;break}Z=n.return}return ee=Lh,Lh=!1,ee}function No(e,n,o){var a=n.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&e)===e){var f=c.destroy;c.destroy=void 0,f!==void 0&&wu(n,o,f)}c=c.next}while(c!==a)}}function ea(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.create;o.destroy=a()}o=o.next}while(o!==n)}}function xu(e){var n=e.ref;if(n!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof n=="function"?n(e):n.current=e}}function Ih(e){var n=e.alternate;n!==null&&(e.alternate=null,Ih(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[hn],delete n[go],delete n[Dl],delete n[Jv],delete n[Xv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Dh(e){return e.tag===5||e.tag===3||e.tag===4}function Mh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Dh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function bu(e,n,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?o.nodeType===8?o.parentNode.insertBefore(e,n):o.insertBefore(e,n):(o.nodeType===8?(n=o.parentNode,n.insertBefore(e,o)):(n=o,n.appendChild(e)),o=o._reactRootContainer,o!=null||n.onclick!==null||(n.onclick=Pi));else if(a!==4&&(e=e.child,e!==null))for(bu(e,n,o),e=e.sibling;e!==null;)bu(e,n,o),e=e.sibling}function ku(e,n,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?o.insertBefore(e,n):o.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(ku(e,n,o),e=e.sibling;e!==null;)ku(e,n,o),e=e.sibling}var at=null,rn=!1;function Jn(e,n,o){for(o=o.child;o!==null;)Uh(e,n,o),o=o.sibling}function Uh(e,n,o){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(hi,o)}catch{}switch(o.tag){case 5:mt||bs(o,n);case 6:var a=at,c=rn;at=null,Jn(e,n,o),at=a,rn=c,at!==null&&(rn?(e=at,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):at.removeChild(o.stateNode));break;case 18:at!==null&&(rn?(e=at,o=o.stateNode,e.nodeType===8?Il(e.parentNode,o):e.nodeType===1&&Il(e,o),so(e)):Il(at,o.stateNode));break;case 4:a=at,c=rn,at=o.stateNode.containerInfo,rn=!0,Jn(e,n,o),at=a,rn=c;break;case 0:case 11:case 14:case 15:if(!mt&&(a=o.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){c=a=a.next;do{var f=c,g=f.destroy;f=f.tag,g!==void 0&&((f&2)!==0||(f&4)!==0)&&wu(o,n,g),c=c.next}while(c!==a)}Jn(e,n,o);break;case 1:if(!mt&&(bs(o,n),a=o.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=o.memoizedProps,a.state=o.memoizedState,a.componentWillUnmount()}catch(x){qe(o,n,x)}Jn(e,n,o);break;case 21:Jn(e,n,o);break;case 22:o.mode&1?(mt=(a=mt)||o.memoizedState!==null,Jn(e,n,o),mt=a):Jn(e,n,o);break;default:Jn(e,n,o)}}function Fh(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new p0),n.forEach(function(a){var c=E0.bind(null,e,a);o.has(a)||(o.add(a),a.then(c,c))})}}function sn(e,n){var o=n.deletions;if(o!==null)for(var a=0;a<o.length;a++){var c=o[a];try{var f=e,g=n,x=g;e:for(;x!==null;){switch(x.tag){case 5:at=x.stateNode,rn=!1;break e;case 3:at=x.stateNode.containerInfo,rn=!0;break e;case 4:at=x.stateNode.containerInfo,rn=!0;break e}x=x.return}if(at===null)throw Error(s(160));Uh(f,g,c),at=null,rn=!1;var E=c.alternate;E!==null&&(E.return=null),c.return=null}catch(U){qe(c,n,U)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)zh(n,e),n=n.sibling}function zh(e,n){var o=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(sn(n,e),gn(e),a&4){try{No(3,e,e.return),ea(3,e)}catch(re){qe(e,e.return,re)}try{No(5,e,e.return)}catch(re){qe(e,e.return,re)}}break;case 1:sn(n,e),gn(e),a&512&&o!==null&&bs(o,o.return);break;case 5:if(sn(n,e),gn(e),a&512&&o!==null&&bs(o,o.return),e.flags&32){var c=e.stateNode;try{Qs(c,"")}catch(re){qe(e,e.return,re)}}if(a&4&&(c=e.stateNode,c!=null)){var f=e.memoizedProps,g=o!==null?o.memoizedProps:f,x=e.type,E=e.updateQueue;if(e.updateQueue=null,E!==null)try{x==="input"&&f.type==="radio"&&f.name!=null&&ye(c,f),Za(x,g);var U=Za(x,f);for(g=0;g<E.length;g+=2){var q=E[g],H=E[g+1];q==="style"?bd(c,H):q==="dangerouslySetInnerHTML"?wd(c,H):q==="children"?Qs(c,H):O(c,q,H,U)}switch(x){case"input":it(c,f);break;case"textarea":gd(c,f);break;case"select":var $=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!f.multiple;var Y=f.value;Y!=null?Un(c,!!f.multiple,Y,!1):$!==!!f.multiple&&(f.defaultValue!=null?Un(c,!!f.multiple,f.defaultValue,!0):Un(c,!!f.multiple,f.multiple?[]:"",!1))}c[go]=f}catch(re){qe(e,e.return,re)}}break;case 6:if(sn(n,e),gn(e),a&4){if(e.stateNode===null)throw Error(s(162));c=e.stateNode,f=e.memoizedProps;try{c.nodeValue=f}catch(re){qe(e,e.return,re)}}break;case 3:if(sn(n,e),gn(e),a&4&&o!==null&&o.memoizedState.isDehydrated)try{so(n.containerInfo)}catch(re){qe(e,e.return,re)}break;case 4:sn(n,e),gn(e);break;case 13:sn(n,e),gn(e),c=e.child,c.flags&8192&&(f=c.memoizedState!==null,c.stateNode.isHidden=f,!f||c.alternate!==null&&c.alternate.memoizedState!==null||(_u=Ve())),a&4&&Fh(e);break;case 22:if(q=o!==null&&o.memoizedState!==null,e.mode&1?(mt=(U=mt)||q,sn(n,e),mt=U):sn(n,e),gn(e),a&8192){if(U=e.memoizedState!==null,(e.stateNode.isHidden=U)&&!q&&(e.mode&1)!==0)for(Z=e,q=e.child;q!==null;){for(H=Z=q;Z!==null;){switch($=Z,Y=$.child,$.tag){case 0:case 11:case 14:case 15:No(4,$,$.return);break;case 1:bs($,$.return);var ee=$.stateNode;if(typeof ee.componentWillUnmount=="function"){a=$,o=$.return;try{n=a,ee.props=n.memoizedProps,ee.state=n.memoizedState,ee.componentWillUnmount()}catch(re){qe(a,o,re)}}break;case 5:bs($,$.return);break;case 22:if($.memoizedState!==null){qh(H);continue}}Y!==null?(Y.return=$,Z=Y):qh(H)}q=q.sibling}e:for(q=null,H=e;;){if(H.tag===5){if(q===null){q=H;try{c=H.stateNode,U?(f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(x=H.stateNode,E=H.memoizedProps.style,g=E!=null&&E.hasOwnProperty("display")?E.display:null,x.style.display=xd("display",g))}catch(re){qe(e,e.return,re)}}}else if(H.tag===6){if(q===null)try{H.stateNode.nodeValue=U?"":H.memoizedProps}catch(re){qe(e,e.return,re)}}else if((H.tag!==22&&H.tag!==23||H.memoizedState===null||H===e)&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===e)break e;for(;H.sibling===null;){if(H.return===null||H.return===e)break e;q===H&&(q=null),H=H.return}q===H&&(q=null),H.sibling.return=H.return,H=H.sibling}}break;case 19:sn(n,e),gn(e),a&4&&Fh(e);break;case 21:break;default:sn(n,e),gn(e)}}function gn(e){var n=e.flags;if(n&2){try{e:{for(var o=e.return;o!==null;){if(Dh(o)){var a=o;break e}o=o.return}throw Error(s(160))}switch(a.tag){case 5:var c=a.stateNode;a.flags&32&&(Qs(c,""),a.flags&=-33);var f=Mh(e);ku(e,f,c);break;case 3:case 4:var g=a.stateNode.containerInfo,x=Mh(e);bu(e,x,g);break;default:throw Error(s(161))}}catch(E){qe(e,e.return,E)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function g0(e,n,o){Z=e,Bh(e)}function Bh(e,n,o){for(var a=(e.mode&1)!==0;Z!==null;){var c=Z,f=c.child;if(c.tag===22&&a){var g=c.memoizedState!==null||Zi;if(!g){var x=c.alternate,E=x!==null&&x.memoizedState!==null||mt;x=Zi;var U=mt;if(Zi=g,(mt=E)&&!U)for(Z=c;Z!==null;)g=Z,E=g.child,g.tag===22&&g.memoizedState!==null?Hh(c):E!==null?(E.return=g,Z=E):Hh(c);for(;f!==null;)Z=f,Bh(f),f=f.sibling;Z=c,Zi=x,mt=U}$h(e)}else(c.subtreeFlags&8772)!==0&&f!==null?(f.return=c,Z=f):$h(e)}}function $h(e){for(;Z!==null;){var n=Z;if((n.flags&8772)!==0){var o=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:mt||ea(5,n);break;case 1:var a=n.stateNode;if(n.flags&4&&!mt)if(o===null)a.componentDidMount();else{var c=n.elementType===n.type?o.memoizedProps:nn(n.type,o.memoizedProps);a.componentDidUpdate(c,o.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var f=n.updateQueue;f!==null&&qf(n,f,a);break;case 3:var g=n.updateQueue;if(g!==null){if(o=null,n.child!==null)switch(n.child.tag){case 5:o=n.child.stateNode;break;case 1:o=n.child.stateNode}qf(n,g,o)}break;case 5:var x=n.stateNode;if(o===null&&n.flags&4){o=x;var E=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&o.focus();break;case"img":E.src&&(o.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var U=n.alternate;if(U!==null){var q=U.memoizedState;if(q!==null){var H=q.dehydrated;H!==null&&so(H)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}mt||n.flags&512&&xu(n)}catch($){qe(n,n.return,$)}}if(n===e){Z=null;break}if(o=n.sibling,o!==null){o.return=n.return,Z=o;break}Z=n.return}}function qh(e){for(;Z!==null;){var n=Z;if(n===e){Z=null;break}var o=n.sibling;if(o!==null){o.return=n.return,Z=o;break}Z=n.return}}function Hh(e){for(;Z!==null;){var n=Z;try{switch(n.tag){case 0:case 11:case 15:var o=n.return;try{ea(4,n)}catch(E){qe(n,o,E)}break;case 1:var a=n.stateNode;if(typeof a.componentDidMount=="function"){var c=n.return;try{a.componentDidMount()}catch(E){qe(n,c,E)}}var f=n.return;try{xu(n)}catch(E){qe(n,f,E)}break;case 5:var g=n.return;try{xu(n)}catch(E){qe(n,g,E)}}}catch(E){qe(n,n.return,E)}if(n===e){Z=null;break}var x=n.sibling;if(x!==null){x.return=n.return,Z=x;break}Z=n.return}}var y0=Math.ceil,ta=D.ReactCurrentDispatcher,Su=D.ReactCurrentOwner,qt=D.ReactCurrentBatchConfig,Ne=0,nt=null,Ke=null,lt=0,It=0,ks=Wn(0),Xe=0,Ro=null,Pr=0,na=0,Eu=0,Ao=null,_t=null,_u=0,Ss=1/0,Pn=null,ra=!1,Cu=null,Xn=null,sa=!1,Zn=null,oa=0,To=0,Nu=null,ia=-1,aa=0;function xt(){return(Ne&6)!==0?Ve():ia!==-1?ia:ia=Ve()}function er(e){return(e.mode&1)===0?1:(Ne&2)!==0&<!==0?lt&-lt:e0.transition!==null?(aa===0&&(aa=Dd()),aa):(e=Oe,e!==0||(e=window.event,e=e===void 0?16:Vd(e.type)),e)}function on(e,n,o,a){if(50<To)throw To=0,Nu=null,Error(s(185));Zs(e,o,a),((Ne&2)===0||e!==nt)&&(e===nt&&((Ne&2)===0&&(na|=o),Xe===4&&tr(e,lt)),Ct(e,a),o===1&&Ne===0&&(n.mode&1)===0&&(Ss=Ve()+500,Ii&&Kn()))}function Ct(e,n){var o=e.callbackNode;ev(e,n);var a=gi(e,e===nt?lt:0);if(a===0)o!==null&&Od(o),e.callbackNode=null,e.callbackPriority=0;else if(n=a&-a,e.callbackPriority!==n){if(o!=null&&Od(o),n===1)e.tag===0?Zv(Wh.bind(null,e)):Pf(Wh.bind(null,e)),Gv(function(){(Ne&6)===0&&Kn()}),o=null;else{switch(Md(a)){case 1:o=il;break;case 4:o=Ld;break;case 16:o=fi;break;case 536870912:o=Id;break;default:o=fi}o=ep(o,Vh.bind(null,e))}e.callbackPriority=n,e.callbackNode=o}}function Vh(e,n){if(ia=-1,aa=0,(Ne&6)!==0)throw Error(s(327));var o=e.callbackNode;if(Es()&&e.callbackNode!==o)return null;var a=gi(e,e===nt?lt:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||n)n=la(e,a);else{n=a;var c=Ne;Ne|=2;var f=Kh();(nt!==e||lt!==n)&&(Pn=null,Ss=Ve()+500,Or(e,n));do try{x0();break}catch(x){Qh(e,x)}while(!0);Vl(),ta.current=f,Ne=c,Ke!==null?n=0:(nt=null,lt=0,n=Xe)}if(n!==0){if(n===2&&(c=al(e),c!==0&&(a=c,n=Ru(e,c))),n===1)throw o=Ro,Or(e,0),tr(e,a),Ct(e,Ve()),o;if(n===6)tr(e,a);else{if(c=e.current.alternate,(a&30)===0&&!v0(c)&&(n=la(e,a),n===2&&(f=al(e),f!==0&&(a=f,n=Ru(e,f))),n===1))throw o=Ro,Or(e,0),tr(e,a),Ct(e,Ve()),o;switch(e.finishedWork=c,e.finishedLanes=a,n){case 0:case 1:throw Error(s(345));case 2:Lr(e,_t,Pn);break;case 3:if(tr(e,a),(a&130023424)===a&&(n=_u+500-Ve(),10<n)){if(gi(e,0)!==0)break;if(c=e.suspendedLanes,(c&a)!==a){xt(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=Ll(Lr.bind(null,e,_t,Pn),n);break}Lr(e,_t,Pn);break;case 4:if(tr(e,a),(a&4194240)===a)break;for(n=e.eventTimes,c=-1;0<a;){var g=31-Zt(a);f=1<<g,g=n[g],g>c&&(c=g),a&=~f}if(a=c,a=Ve()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*y0(a/1960))-a,10<a){e.timeoutHandle=Ll(Lr.bind(null,e,_t,Pn),a);break}Lr(e,_t,Pn);break;case 5:Lr(e,_t,Pn);break;default:throw Error(s(329))}}}return Ct(e,Ve()),e.callbackNode===o?Vh.bind(null,e):null}function Ru(e,n){var o=Ao;return e.current.memoizedState.isDehydrated&&(Or(e,n).flags|=256),e=la(e,n),e!==2&&(n=_t,_t=
vendor: 9,922 bytes, line 40
40o,n!==null&&Au(n)),e}function Au(e){_t===null?_t=e:_t.push.apply(_t,e)}function v0(e){for(var n=e;;){if(n.flags&16384){var o=n.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var a=0;a<o.length;a++){var c=o[a],f=c.getSnapshot;c=c.value;try{if(!en(f(),c))return!1}catch{return!1}}}if(o=n.child,n.subtreeFlags&16384&&o!==null)o.return=n,n=o;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function tr(e,n){for(n&=~Eu,n&=~na,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var o=31-Zt(n),a=1<<o;e[o]=-1,n&=~a}}function Wh(e){if((Ne&6)!==0)throw Error(s(327));Es();var n=gi(e,0);if((n&1)===0)return Ct(e,Ve()),null;var o=la(e,n);if(e.tag!==0&&o===2){var a=al(e);a!==0&&(n=a,o=Ru(e,a))}if(o===1)throw o=Ro,Or(e,0),tr(e,n),Ct(e,Ve()),o;if(o===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Lr(e,_t,Pn),Ct(e,Ve()),null}function Tu(e,n){var o=Ne;Ne|=1;try{return e(n)}finally{Ne=o,Ne===0&&(Ss=Ve()+500,Ii&&Kn())}}function jr(e){Zn!==null&&Zn.tag===0&&(Ne&6)===0&&Es();var n=Ne;Ne|=1;var o=qt.transition,a=Oe;try{if(qt.transition=null,Oe=1,e)return e()}finally{Oe=a,qt.transition=o,Ne=n,(Ne&6)===0&&Kn()}}function Pu(){It=ks.current,Ue(ks)}function Or(e,n){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Kv(o)),Ke!==null)for(o=Ke.return;o!==null;){var a=o;switch(zl(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Oi();break;case 3:ws(),Ue(kt),Ue(ft),Zl();break;case 5:Jl(a);break;case 4:ws();break;case 13:Ue(ze);break;case 19:Ue(ze);break;case 10:Wl(a.type._context);break;case 22:case 23:Pu()}o=o.return}if(nt=e,Ke=e=nr(e.current,null),lt=It=n,Xe=0,Ro=null,Eu=na=Pr=0,_t=Ao=null,Rr!==null){for(n=0;n<Rr.length;n++)if(o=Rr[n],a=o.interleaved,a!==null){o.interleaved=null;var c=a.next,f=o.pending;if(f!==null){var g=f.next;f.next=c,a.next=g}o.pending=a}Rr=null}return e}function Qh(e,n){do{var o=Ke;try{if(Vl(),Vi.current=Gi,Wi){for(var a=Be.memoizedState;a!==null;){var c=a.queue;c!==null&&(c.pending=null),a=a.next}Wi=!1}if(Tr=0,tt=Je=Be=null,ko=!1,So=0,Su.current=null,o===null||o.return===null){Xe=1,Ro=n,Ke=null;break}e:{var f=e,g=o.return,x=o,E=n;if(n=lt,x.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var U=E,q=x,H=q.tag;if((q.mode&1)===0&&(H===0||H===11||H===15)){var $=q.alternate;$?(q.updateQueue=$.updateQueue,q.memoizedState=$.memoizedState,q.lanes=$.lanes):(q.updateQueue=null,q.memoizedState=null)}var Y=vh(g);if(Y!==null){Y.flags&=-257,wh(Y,g,x,f,n),Y.mode&1&&yh(f,U,n),n=Y,E=U;var ee=n.updateQueue;if(ee===null){var re=new Set;re.add(E),n.updateQueue=re}else ee.add(E);break e}else{if((n&1)===0){yh(f,U,n),ju();break e}E=Error(s(426))}}else if(Fe&&x.mode&1){var We=vh(g);if(We!==null){(We.flags&65536)===0&&(We.flags|=256),wh(We,g,x,f,n),ql(xs(E,x));break e}}f=E=xs(E,x),Xe!==4&&(Xe=2),Ao===null?Ao=[f]:Ao.push(f),f=g;do{switch(f.tag){case 3:f.flags|=65536,n&=-n,f.lanes|=n;var j=mh(f,E,n);$f(f,j);break e;case 1:x=E;var C=f.type,L=f.stateNode;if((f.flags&128)===0&&(typeof C.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(Xn===null||!Xn.has(L)))){f.flags|=65536,n&=-n,f.lanes|=n;var W=gh(f,x,n);$f(f,W);break e}}f=f.return}while(f!==null)}Yh(o)}catch(se){n=se,Ke===o&&o!==null&&(Ke=o=o.return);continue}break}while(!0)}function Kh(){var e=ta.current;return ta.current=Gi,e===null?Gi:e}function ju(){(Xe===0||Xe===3||Xe===2)&&(Xe=4),nt===null||(Pr&268435455)===0&&(na&268435455)===0||tr(nt,lt)}function la(e,n){var o=Ne;Ne|=2;var a=Kh();(nt!==e||lt!==n)&&(Pn=null,Or(e,n));do try{w0();break}catch(c){Qh(e,c)}while(!0);if(Vl(),Ne=o,ta.current=a,Ke!==null)throw Error(s(261));return nt=null,lt=0,Xe}function w0(){for(;Ke!==null;)Gh(Ke)}function x0(){for(;Ke!==null&&!Vy();)Gh(Ke)}function Gh(e){var n=Zh(e.alternate,e,It);e.memoizedProps=e.pendingProps,n===null?Yh(e):Ke=n,Su.current=null}function Yh(e){var n=e;do{var o=n.alternate;if(e=n.return,(n.flags&32768)===0){if(o=f0(o,n,It),o!==null){Ke=o;return}}else{if(o=h0(o,n),o!==null){o.flags&=32767,Ke=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Xe=6,Ke=null;return}}if(n=n.sibling,n!==null){Ke=n;return}Ke=n=e}while(n!==null);Xe===0&&(Xe=5)}function Lr(e,n,o){var a=Oe,c=qt.transition;try{qt.transition=null,Oe=1,b0(e,n,o,a)}finally{qt.transition=c,Oe=a}return null}function b0(e,n,o,a){do Es();while(Zn!==null);if((Ne&6)!==0)throw Error(s(327));o=e.finishedWork;var c=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var f=o.lanes|o.childLanes;if(tv(e,f),e===nt&&(Ke=nt=null,lt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||sa||(sa=!0,ep(fi,function(){return Es(),null})),f=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||f){f=qt.transition,qt.transition=null;var g=Oe;Oe=1;var x=Ne;Ne|=4,Su.current=null,m0(e,o),zh(o,e),Bv(jl),wi=!!Pl,jl=Pl=null,e.current=o,g0(o),Wy(),Ne=x,Oe=g,qt.transition=f}else e.current=o;if(sa&&(sa=!1,Zn=e,oa=c),f=e.pendingLanes,f===0&&(Xn=null),Gy(o.stateNode),Ct(e,Ve()),n!==null)for(a=e.onRecoverableError,o=0;o<n.length;o++)c=n[o],a(c.value,{componentStack:c.stack,digest:c.digest});if(ra)throw ra=!1,e=Cu,Cu=null,e;return(oa&1)!==0&&e.tag!==0&&Es(),f=e.pendingLanes,(f&1)!==0?e===Nu?To++:(To=0,Nu=e):To=0,Kn(),null}function Es(){if(Zn!==null){var e=Md(oa),n=qt.transition,o=Oe;try{if(qt.transition=null,Oe=16>e?16:e,Zn===null)var a=!1;else{if(e=Zn,Zn=null,oa=0,(Ne&6)!==0)throw Error(s(331));var c=Ne;for(Ne|=4,Z=e.current;Z!==null;){var f=Z,g=f.child;if((Z.flags&16)!==0){var x=f.deletions;if(x!==null){for(var E=0;E<x.length;E++){var U=x[E];for(Z=U;Z!==null;){var q=Z;switch(q.tag){case 0:case 11:case 15:No(8,q,f)}var H=q.child;if(H!==null)H.return=q,Z=H;else for(;Z!==null;){q=Z;var $=q.sibling,Y=q.return;if(Ih(q),q===U){Z=null;break}if($!==null){$.return=Y,Z=$;break}Z=Y}}}var ee=f.alternate;if(ee!==null){var re=ee.child;if(re!==null){ee.child=null;do{var We=re.sibling;re.sibling=null,re=We}while(re!==null)}}Z=f}}if((f.subtreeFlags&2064)!==0&&g!==null)g.return=f,Z=g;else e:for(;Z!==null;){if(f=Z,(f.flags&2048)!==0)switch(f.tag){case 0:case 11:case 15:No(9,f,f.return)}var j=f.sibling;if(j!==null){j.return=f.return,Z=j;break e}Z=f.return}}var C=e.current;for(Z=C;Z!==null;){g=Z;var L=g.child;if((g.subtreeFlags&2064)!==0&&L!==null)L.return=g,Z=L;else e:for(g=C;Z!==null;){if(x=Z,(x.flags&2048)!==0)try{switch(x.tag){case 0:case 11:case 15:ea(9,x)}}catch(se){qe(x,x.return,se)}if(x===g){Z=null;break e}var W=x.sibling;if(W!==null){W.return=x.return,Z=W;break e}Z=x.return}}if(Ne=c,Kn(),fn&&typeof fn.onPostCommitFiberRoot=="function")try{fn.onPostCommitFiberRoot(hi,e)}catch{}a=!0}return a}finally{Oe=o,qt.transition=n}}return!1}function Jh(e,n,o){n=xs(o,n),n=mh(e,n,1),e=Yn(e,n,1),n=xt(),e!==null&&(Zs(e,1,n),Ct(e,n))}function qe(e,n,o){if(e.tag===3)Jh(e,e,o);else for(;n!==null;){if(n.tag===3){Jh(n,e,o);break}else if(n.tag===1){var a=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Xn===null||!Xn.has(a))){e=xs(o,e),e=gh(n,e,1),n=Yn(n,e,1),e=xt(),n!==null&&(Zs(n,1,e),Ct(n,e));break}}n=n.return}}function k0(e,n,o){var a=e.pingCache;a!==null&&a.delete(n),n=xt(),e.pingedLanes|=e.suspendedLanes&o,nt===e&&(lt&o)===o&&(Xe===4||Xe===3&&(lt&130023424)===lt&&500>Ve()-_u?Or(e,0):Eu|=o),Ct(e,n)}function Xh(e,n){n===0&&((e.mode&1)===0?n=1:(n=mi,mi<<=1,(mi&130023424)===0&&(mi=4194304)));var o=xt();e=Rn(e,n),e!==null&&(Zs(e,n,o),Ct(e,o))}function S0(e){var n=e.memoizedState,o=0;n!==null&&(o=n.retryLane),Xh(e,o)}function E0(e,n){var o=0;switch(e.tag){case 13:var a=e.stateNode,c=e.memoizedState;c!==null&&(o=c.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(s(314))}a!==null&&a.delete(n),Xh(e,o)}var Zh;Zh=function(e,n,o){if(e!==null)if(e.memoizedProps!==n.pendingProps||kt.current)Et=!0;else{if((e.lanes&o)===0&&(n.flags&128)===0)return Et=!1,d0(e,n,o);Et=(e.flags&131072)!==0}else Et=!1,Fe&&(n.flags&1048576)!==0&&jf(n,Mi,n.index);switch(n.lanes=0,n.tag){case 2:var a=n.type;Xi(e,n),e=n.pendingProps;var c=fs(n,ft.current);vs(n,o),c=nu(null,n,a,e,c,o);var f=ru();return n.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,St(a)?(f=!0,Li(n)):f=!1,n.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Gl(n),c.updater=Yi,n.stateNode=c,c._reactInternals=n,uu(n,a,e,o),n=hu(null,n,a,!0,f,o)):(n.tag=0,Fe&&f&&Fl(n),wt(null,n,c,o),n=n.child),n;case 16:a=n.elementType;e:{switch(Xi(e,n),e=n.pendingProps,c=a._init,a=c(a._payload),n.type=a,c=n.tag=C0(a),e=nn(a,e),c){case 0:n=fu(null,n,a,e,o);break e;case 1:n=_h(null,n,a,e,o);break e;case 11:n=xh(null,n,a,e,o);break e;case 14:n=bh(null,n,a,nn(a.type,e),o);break e}throw Error(s(306,a,""))}return n;case 0:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:nn(a,c),fu(e,n,a,c,o);case 1:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:nn(a,c),_h(e,n,a,c,o);case 3:e:{if(Ch(n),e===null)throw Error(s(387));a=n.pendingProps,f=n.memoizedState,c=f.element,Bf(e,n),qi(n,a,null,o);var g=n.memoizedState;if(a=g.element,f.isDehydrated)if(f={element:a,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},n.updateQueue.baseState=f,n.memoizedState=f,n.flags&256){c=xs(Error(s(423)),n),n=Nh(e,n,a,o,c);break e}else if(a!==c){c=xs(Error(s(424)),n),n=Nh(e,n,a,o,c);break e}else for(Lt=Vn(n.stateNode.containerInfo.firstChild),Ot=n,Fe=!0,tn=null,o=Ff(n,null,a,o),n.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(ms(),a===c){n=Tn(e,n,o);break e}wt(e,n,a,o)}n=n.child}return n;case 5:return Hf(n),e===null&&$l(n),a=n.type,c=n.pendingProps,f=e!==null?e.memoizedProps:null,g=c.children,Ol(a,c)?g=null:f!==null&&Ol(a,f)&&(n.flags|=32),Eh(e,n
vendor: 9,582 bytes, line 40
40),wt(e,n,g,o),n.child;case 6:return e===null&&$l(n),null;case 13:return Rh(e,n,o);case 4:return Yl(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=gs(n,null,a,o):wt(e,n,a,o),n.child;case 11:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:nn(a,c),xh(e,n,a,c,o);case 7:return wt(e,n,n.pendingProps,o),n.child;case 8:return wt(e,n,n.pendingProps.children,o),n.child;case 12:return wt(e,n,n.pendingProps.children,o),n.child;case 10:e:{if(a=n.type._context,c=n.pendingProps,f=n.memoizedProps,g=c.value,De(zi,a._currentValue),a._currentValue=g,f!==null)if(en(f.value,g)){if(f.children===c.children&&!kt.current){n=Tn(e,n,o);break e}}else for(f=n.child,f!==null&&(f.return=n);f!==null;){var x=f.dependencies;if(x!==null){g=f.child;for(var E=x.firstContext;E!==null;){if(E.context===a){if(f.tag===1){E=An(-1,o&-o),E.tag=2;var U=f.updateQueue;if(U!==null){U=U.shared;var q=U.pending;q===null?E.next=E:(E.next=q.next,q.next=E),U.pending=E}}f.lanes|=o,E=f.alternate,E!==null&&(E.lanes|=o),Ql(f.return,o,n),x.lanes|=o;break}E=E.next}}else if(f.tag===10)g=f.type===n.type?null:f.child;else if(f.tag===18){if(g=f.return,g===null)throw Error(s(341));g.lanes|=o,x=g.alternate,x!==null&&(x.lanes|=o),Ql(g,o,n),g=f.sibling}else g=f.child;if(g!==null)g.return=f;else for(g=f;g!==null;){if(g===n){g=null;break}if(f=g.sibling,f!==null){f.return=g.return,g=f;break}g=g.return}f=g}wt(e,n,c.children,o),n=n.child}return n;case 9:return c=n.type,a=n.pendingProps.children,vs(n,o),c=Bt(c),a=a(c),n.flags|=1,wt(e,n,a,o),n.child;case 14:return a=n.type,c=nn(a,n.pendingProps),c=nn(a.type,c),bh(e,n,a,c,o);case 15:return kh(e,n,n.type,n.pendingProps,o);case 17:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:nn(a,c),Xi(e,n),n.tag=1,St(a)?(e=!0,Li(n)):e=!1,vs(n,o),hh(n,a,c),uu(n,a,c,o),hu(null,n,a,!0,e,o);case 19:return Th(e,n,o);case 22:return Sh(e,n,o)}throw Error(s(156,n.tag))};function ep(e,n){return jd(e,n)}function _0(e,n,o,a){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ht(e,n,o,a){return new _0(e,n,o,a)}function Ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function C0(e){if(typeof e=="function")return Ou(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pe)return 11;if(e===Le)return 14}return 2}function nr(e,n){var o=e.alternate;return o===null?(o=Ht(e.tag,n,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=n,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,n=e.dependencies,o.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function ua(e,n,o,a,c,f){var g=2;if(a=e,typeof e=="function")Ou(e)&&(g=1);else if(typeof e=="string")g=5;else e:switch(e){case ie:return Ir(o.children,c,f,n);case B:g=8,c|=8;break;case de:return e=Ht(12,o,n,c|2),e.elementType=de,e.lanes=f,e;case $e:return e=Ht(13,o,n,c),e.elementType=$e,e.lanes=f,e;case Te:return e=Ht(19,o,n,c),e.elementType=Te,e.lanes=f,e;case Ce:return ca(o,c,f,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case we:g=10;break e;case he:g=9;break e;case Pe:g=11;break e;case Le:g=14;break e;case Re:g=16,a=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return n=Ht(g,o,n,c),n.elementType=e,n.type=a,n.lanes=f,n}function Ir(e,n,o,a){return e=Ht(7,e,a,n),e.lanes=o,e}function ca(e,n,o,a){return e=Ht(22,e,a,n),e.elementType=Ce,e.lanes=o,e.stateNode={isHidden:!1},e}function Lu(e,n,o){return e=Ht(6,e,null,n),e.lanes=o,e}function Iu(e,n,o){return n=Ht(4,e.children!==null?e.children:[],e.key,n),n.lanes=o,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function N0(e,n,o,a,c){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ll(0),this.expirationTimes=ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ll(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Du(e,n,o,a,c,f,g,x,E){return e=new N0(e,n,o,x,E),n===1?(n=1,f===!0&&(n|=8)):n=0,f=Ht(3,null,null,n),e.current=f,f.stateNode=e,f.memoizedState={element:a,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gl(f),e}function R0(e,n,o){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Q,key:a==null?null:""+a,children:e,containerInfo:n,implementation:o}}function tp(e){if(!e)return Qn;e=e._reactInternals;e:{if(Sr(e)!==e||e.tag!==1)throw Error(s(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(St(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(s(171))}if(e.tag===1){var o=e.type;if(St(o))return Af(e,o,n)}return n}function np(e,n,o,a,c,f,g,x,E){return e=Du(o,a,!0,e,c,f,g,x,E),e.context=tp(null),o=e.current,a=xt(),c=er(o),f=An(a,c),f.callback=n??null,Yn(o,f,c),e.current.lanes=c,Zs(e,c,a),Ct(e,a),e}function da(e,n,o,a){var c=n.current,f=xt(),g=er(c);return o=tp(o),n.context===null?n.context=o:n.pendingContext=o,n=An(f,g),n.payload={element:e},a=a===void 0?null:a,a!==null&&(n.callback=a),e=Yn(c,n,g),e!==null&&(on(e,c,g,f),$i(e,c,g)),g}function fa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function rp(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<n?o:n}}function Mu(e,n){rp(e,n),(e=e.alternate)&&rp(e,n)}function A0(){return null}var sp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Uu(e){this._internalRoot=e}ha.prototype.render=Uu.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(s(409));da(e,n,null,null)},ha.prototype.unmount=Uu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;jr(function(){da(null,e,null,null)}),n[En]=null}};function ha(e){this._internalRoot=e}ha.prototype.unstable_scheduleHydration=function(e){if(e){var n=zd();e={blockedOn:null,target:e,priority:n};for(var o=0;o<$n.length&&n!==0&&n<$n[o].priority;o++);$n.splice(o,0,e),o===0&&qd(e)}};function Fu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function pa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function op(){}function T0(e,n,o,a,c){if(c){if(typeof a=="function"){var f=a;a=function(){var U=fa(g);f.call(U)}}var g=np(n,a,e,0,null,!1,!1,"",op);return e._reactRootContainer=g,e[En]=g.current,po(e.nodeType===8?e.parentNode:e),jr(),g}for(;c=e.lastChild;)e.removeChild(c);if(typeof a=="function"){var x=a;a=function(){var U=fa(E);x.call(U)}}var E=Du(e,0,!1,null,null,!1,!1,"",op);return e._reactRootContainer=E,e[En]=E.current,po(e.nodeType===8?e.parentNode:e),jr(function(){da(n,E,o,a)}),E}function ma(e,n,o,a,c){var f=o._reactRootContainer;if(f){var g=f;if(typeof c=="function"){var x=c;c=function(){var E=fa(g);x.call(E)}}da(n,g,e,c)}else g=T0(o,n,e,c,a);return fa(g)}Ud=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var o=Xs(n.pendingLanes);o!==0&&(ul(n,o|1),Ct(n,Ve()),(Ne&6)===0&&(Ss=Ve()+500,Kn()))}break;case 13:jr(function(){var a=Rn(e,1);if(a!==null){var c=xt();on(a,e,1,c)}}),Mu(e,1)}},cl=function(e){if(e.tag===13){var n=Rn(e,134217728);if(n!==null){var o=xt();on(n,e,134217728,o)}Mu(e,134217728)}},Fd=function(e){if(e.tag===13){var n=er(e),o=Rn(e,n);if(o!==null){var a=xt();on(o,e,n,a)}Mu(e,n)}},zd=function(){return Oe},Bd=function(e,n){var o=Oe;try{return Oe=e,n()}finally{Oe=o}},nl=function(e,n,o){switch(n){case"input":if(it(e,o),n=o.name,o.type==="radio"&&n!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<o.length;n++){var a=o[n];if(a!==e&&a.form===e.form){var c=ji(a);if(!c)throw Error(s(90));ot(a),it(a,c)}}}break;case"textarea":gd(e,o);break;case"select":n=o.value,n!=null&&Un(e,!!o.multiple,n,!1)}},_d=Tu,Cd=jr;var P0={usingClientEntryPoint:!1,Events:[yo,cs,ji,Sd,Ed,Tu]},Po={findFiberByHostInstance:Er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},j0={bundleType:Po.bundleType,version:Po.version,rendererPackageName:Po.rendererPackageName,rendererConfig:Po.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:D.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Td(e),e===null?null:e.stateNode},findFiberByHostInstance:Po.findFiberByHostInstance||A0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ga=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ga.isDisabled&&ga.supportsFiber)try{hi=ga.inject(j0),fn=ga}catch{}}return Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P0,Nt.createPortal=function(e,n){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fu(n))throw Error(s(200));return R0(e,n,null,o)},Nt.createRoot=function(e,n){if(!Fu(e))throw Error(s(299));var o=!1,a="",c=sp;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(c=n.onRecoverableError)),n=Du(e,1,!1,null,null,o,!1,a,c),e[En]=n.current,po(e.nodeType===8?e.parentNode:e),new Uu(n)},Nt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Td(n),e=e===null?null:e.stateNode,e},Nt.flushSync=function(e){return jr(e)},Nt.hydrate=function(e,n,o){if(!pa(n))throw Error(s(200));return ma(null,e,n,!0,o)},Nt.hydrateRoot=function(e,n,o){if(!Fu(e))throw Error(s(405));var a=o!=null&&o.hydratedSources||null,c=!1,f="",g=sp;if(o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onRecoverableError!==void 0&&(g=o.onRecoverableError)),n=np(n,null,e,1,o??null,c,!1,f,g),e[En]=n.current,po(e),a)for(e=0;e<a.length;e++)o=a[e],c=o._getVersion,c=c(o._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[o,c]:n.mutableSourceEagerHydrationData.push(o,c);return new ha(n)},Nt.render=function(e,n,o){if(!pa(n))throw Error(s(200));return ma(null,e,n,!1,o)},Nt.unmountComponentAtNode=function(e){if(!pa(e))throw Error(s(40));return e._reactRootContainer?(jr(function(){ma(null,null,e,!1,function(){e._reactRootContainer=null,e[En]=null})}),!0):!1},Nt.unstable_batchedUpdates=Tu,Nt.unstable_renderSubtreeIntoContainer=function(e,n,o,a){if(!pa(o))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return ma(e,n,o,!1,a)},Nt.version="18.3.1-next-f1338f8080-20240426",Nt}var pp;function $m(){if(pp)return qu.exports;pp=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}return r(),qu.exports=z0(),qu.exports}var mp;function B0(){if(mp)return va;mp=1;var r=$m();return va.createRoot=r.createRoot,va.hydrateRoot=r.hydrateRoot,va}var $0=B0();const q0=Bm($0),H0=20,V0=1e6,Dn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Wu=0;function W0(){return Wu=(Wu+1)%Number.MAX_VALUE,Wu.toString()}const Qu=new Map,gp=r=>{if(Qu.has(r))return;const t=setTimeout(()=>{Qu.delete(r),Ho({type:Dn.REMOVE_TOAST,toastId:r})},V0);Qu.set(r,t)},Q0=(r,t)=>{switch(t.type){case Dn.ADD_TOAST:return{...r,toasts:[t.toast,...r.toasts].slice(0,H0)};case Dn.UPDATE_TOAST:return{...r,toasts:r.toasts.map(s=>s.id===t.toast.id?{...s,...t.toast}:s)};case Dn.DISMISS_TOAST:{const{toastId:s}=t;return s?gp(s):r.toasts.forEach(i=>{gp(i.id)}),{...r,toasts:r.toasts.map(i=>i.id===s||s===void 0?{...i,open:!1}:i)}}case Dn.REMOVE_TOAST:return t.toastId===void 0?{...r,toasts:[]}:{...r,toasts:r.toasts.filter(s=>s.id!==t.toastId)}}},Ca=[];let Na={toasts:[]};function Ho(r){Na=Q0(Na,r),Ca.forEach(t=>{t(Na)})}function K0({...r}){const t=W0(),s=l=>Ho({type:Dn.UPDATE_TOAST,toast:{...l,id:t}}),i=()=>Ho({type:Dn.DISMISS_TOAST,toastId:t});return Ho({type:Dn.ADD_TOAST,toast:{...r,id:t,open:!0,onOpenChange:l=>{l||i()}}}),{id:t,dismiss:i,update:s}}function G0(){const[r,t]=A.useState(Na);return A.useEffect(()=>(Ca.push(t),()=>{const s=Ca.indexOf(t);s>-1&&Ca.splice(s,1)}),[r]),{...r,toast:K0,dismiss:s=>Ho({type:Dn.DISMISS_TOAST,toastId:s})}}function qm(r){var t,s,i="";if(typeof r=="string"||typeof r=="number")i+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(t=0;t<l;t++)r[t]&&(s=qm(r[t]))&&(i&&(i+=" "),i+=s)}else for(s in r)r[s]&&(i&&(i+=" "),i+=s);return i}function Hm(){for(var r,t,s=0,i="",l=arguments.length;s<l;s++)(r=arguments[s])&&(t=qm(r))&&(i&&(i+=" "),i+=t);return i}const yp=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,vp=Hm,Fc=(r,t)=>s=>{var i;if((t==null?void 0:t.variants)==null)return vp(r,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:l,defaultVariants:u}=t,d=Object.keys(l).map(y=>{const v=s==null?void 0:s[y],w=u==null?void 0:u[y];if(v===null)return null;const S=yp(v)||yp(w);return l[y][S]}),h=s&&Object.entries(s).reduce((y,v)=>{let[w,S]=v;return S===void 0||(y[w]=S),y},{}),m=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((y,v)=>{let{class:w,className:S,...P}=v;return Object.entries(P).every(M=>{let[T,k]=M;return Array.isArray(k)?k.includes({...u,...h}[T]):{...u,...h}[T]===k})?[...y,w,S]:y},[]);return vp(r,d,m,s==null?void 0:s.class,s==null?void 0:s.className)};/** 41 * @license lucide-react v0.475.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const Y0=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Vm=(...r)=>r.filter((t,s,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===s).join(" ").trim();/** 46 * @license lucide-react v0.475.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var J0={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"};/** 51 * @license lucide-react v0.475.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const X0=A.forwardRef(({color:r="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:l="",children:u,iconNode:d,...h},m)=>A.createElement("svg",{ref:m,...J0,width:t,height:t,stroke:r,strokeWidth:i?Number(s)*24/Number(t):s,className:Vm("lucide",l),...h},[...d.map(([y,v])=>A.createElement(y,v)),...Array.isArray(u)?u:[u]]));/** 56 * @license lucide-react v0.475.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Pt=(r,t)=>{const s=A.forwardRef(({className:i,...l},u)=>A.createElement(X0,{ref:u,iconNode:t,className:Vm(`lucide-${Y0(r)}`,i),...l}));return s.displayName=`${r}`,s};/** 61 * @license lucide-react v0.475.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Z0=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ew=Pt("Check",Z0);/** 66 * @license lucide-react v0.475.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const tw=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],nw=Pt("ChevronLeft",tw);/** 71 * @license lucide-react v0.475.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const rw=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],sw=Pt("ChevronRight",rw);/** 76 * @license lucide-react v0.475.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const ow=[["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"}]],Kr=Pt("ExternalLink",ow);/** 81 * @license lucide-react v0.475.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const iw=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Wm=Pt("Facebook",iw);/** 86 * @license lucide-react v0.475.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const aw=[["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"}]],lw=Pt("Headphones",aw);/** 91 * @license lucide-react v0.475.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const uw=[["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"}]],Qm=Pt("Instagram",uw);/** 96 * @license lucide-react v0.475.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const cw=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],Km=Pt("Linkedin",cw);/** 101 * @license lucide-react v0.475.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const dw=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],fw=Pt("Mail",dw);/** 106 * @license lucide-react v0.475.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const hw=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],pw=Pt("Menu",hw);/** 111 * @license lucide-react v0.475.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const mw=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],gw=Pt("Phone",mw);/** 116 * @license lucide-react v0.475.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const yw=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],zc=Pt("Play",yw);/** 121 * @license lucide-react v0.475.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const vw=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 8,860 bytes, lines 125-130
125],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Bc=Pt("X",vw);/** 126 * @license lucide-react v0.475.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const ww=[["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"}]],Gm=Pt("Youtube",ww),xw=(r,t)=>{const s=new Array(r.length+t.length);for(let i=0;i<r.length;i++)s[i]=r[i];for(let i=0;i<t.length;i++)s[r.length+i]=t[i];return s},bw=(r,t)=>({classGroupId:r,validator:t}),Ym=(r=new Map,t=null,s)=>({nextPart:r,validators:t,classGroupId:s}),Da="-",wp=[],kw="arbitrary..",Sw=r=>{const t=_w(r),{conflictingClassGroups:s,conflictingClassGroupModifiers:i}=r;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return Ew(d);const h=d.split(Da),m=h[0]===""&&h.length>1?1:0;return Jm(h,m,t)},getConflictingClassGroupIds:(d,h)=>{if(h){const m=i[d],y=s[d];return m?y?xw(y,m):m:y||wp}return s[d]||wp}}},Jm=(r,t,s)=>{if(r.length-t===0)return s.classGroupId;const l=r[t],u=s.nextPart.get(l);if(u){const y=Jm(r,t+1,u);if(y)return y}const d=s.validators;if(d===null)return;const h=t===0?r.join(Da):r.slice(t).join(Da),m=d.length;for(let y=0;y<m;y++){const v=d[y];if(v.validator(h))return v.classGroupId}},Ew=r=>r.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=r.slice(1,-1),s=t.indexOf(":"),i=t.slice(0,s);return i?kw+i:void 0})(),_w=r=>{const{theme:t,classGroups:s}=r;return Cw(s,t)},Cw=(r,t)=>{const s=Ym();for(const i in r){const l=r[i];$c(l,s,i,t)}return s},$c=(r,t,s,i)=>{const l=r.length;for(let u=0;u<l;u++){const d=r[u];Nw(d,t,s,i)}},Nw=(r,t,s,i)=>{if(typeof r=="string"){Rw(r,t,s);return}if(typeof r=="function"){Aw(r,t,s,i);return}Tw(r,t,s,i)},Rw=(r,t,s)=>{const i=r===""?t:Xm(t,r);i.classGroupId=s},Aw=(r,t,s,i)=>{if(Pw(r)){$c(r(i),t,s,i);return}t.validators===null&&(t.validators=[]),t.validators.push(bw(s,r))},Tw=(r,t,s,i)=>{const l=Object.entries(r),u=l.length;for(let d=0;d<u;d++){const[h,m]=l[d];$c(m,Xm(t,h),s,i)}},Xm=(r,t)=>{let s=r;const i=t.split(Da),l=i.length;for(let u=0;u<l;u++){const d=i[u];let h=s.nextPart.get(d);h||(h=Ym(),s.nextPart.set(d,h)),s=h}return s},Pw=r=>"isThemeGetter"in r&&r.isThemeGetter===!0,jw=r=>{if(r<1)return{get:()=>{},set:()=>{}};let t=0,s=Object.create(null),i=Object.create(null);const l=(u,d)=>{s[u]=d,t++,t>r&&(t=0,i=s,s=Object.create(null))};return{get(u){let d=s[u];if(d!==void 0)return d;if((d=i[u])!==void 0)return l(u,d),d},set(u,d){u in s?s[u]=d:l(u,d)}}},ac="!",xp=":",Ow=[],bp=(r,t,s,i,l)=>({modifiers:r,hasImportantModifier:t,baseClassName:s,maybePostfixModifierPosition:i,isExternal:l}),Lw=r=>{const{prefix:t,experimentalParseClassName:s}=r;let i=l=>{const u=[];let d=0,h=0,m=0,y;const v=l.length;for(let T=0;T<v;T++){const k=l[T];if(d===0&&h===0){if(k===xp){u.push(l.slice(m,T)),m=T+1;continue}if(k==="/"){y=T;continue}}k==="["?d++:k==="]"?d--:k==="("?h++:k===")"&&h--}const w=u.length===0?l:l.slice(m);let S=w,P=!1;w.endsWith(ac)?(S=w.slice(0,-1),P=!0):w.startsWith(ac)&&(S=w.slice(1),P=!0);const M=y&&y>m?y-m:void 0;return bp(u,P,S,M)};if(t){const l=t+xp,u=i;i=d=>d.startsWith(l)?u(d.slice(l.length)):bp(Ow,!1,d,void 0,!0)}if(s){const l=i;i=u=>s({className:u,parseClassName:l})}return i},Iw=r=>{const t=new Map;return r.orderSensitiveModifiers.forEach((s,i)=>{t.set(s,1e6+i)}),s=>{const i=[];let l=[];for(let u=0;u<s.length;u++){const d=s[u],h=d[0]==="[",m=t.has(d);h||m?(l.length>0&&(l.sort(),i.push(...l),l=[]),i.push(d)):l.push(d)}return l.length>0&&(l.sort(),i.push(...l)),i}},Dw=r=>({cache:jw(r.cacheSize),parseClassName:Lw(r),sortModifiers:Iw(r),...Sw(r)}),Mw=/\s+/,Uw=(r,t)=>{const{parseClassName:s,getClassGroupId:i,getConflictingClassGroupIds:l,sortModifiers:u}=t,d=[],h=r.trim().split(Mw);let m="";for(let y=h.length-1;y>=0;y-=1){const v=h[y],{isExternal:w,modifiers:S,hasImportantModifier:P,baseClassName:M,maybePostfixModifierPosition:T}=s(v);if(w){m=v+(m.length>0?" "+m:m);continue}let k=!!T,b=i(k?M.substring(0,T):M);if(!b){if(!k){m=v+(m.length>0?" "+m:m);continue}if(b=i(M),!b){m=v+(m.length>0?" "+m:m);continue}k=!1}const I=S.length===0?"":S.length===1?S[0]:u(S).join(":"),O=P?I+ac:I,D=O+b;if(d.indexOf(D)>-1)continue;d.push(D);const V=l(b,k);for(let Q=0;Q<V.length;++Q){const ie=V[Q];d.push(O+ie)}m=v+(m.length>0?" "+m:m)}return m},Fw=(...r)=>{let t=0,s,i,l="";for(;t<r.length;)(s=r[t++])&&(i=Zm(s))&&(l&&(l+=" "),l+=i);return l},Zm=r=>{if(typeof r=="string")return r;let t,s="";for(let i=0;i<r.length;i++)r[i]&&(t=Zm(r[i]))&&(s&&(s+=" "),s+=t);return s},zw=(r,...t)=>{let s,i,l,u;const d=m=>{const y=t.reduce((v,w)=>w(v),r());return s=Dw(y),i=s.cache.get,l=s.cache.set,u=h,h(m)},h=m=>{const y=i(m);if(y)return y;const v=Uw(m,s);return l(m,v),v};return u=d,(...m)=>u(Fw(...m))},Bw=[],Ze=r=>{const t=s=>s[r]||Bw;return t.isThemeGetter=!0,t},eg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$w=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,qw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hw=/\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$/,Vw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ww=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sr=r=>$w.test(r),xe=r=>!!r&&!Number.isNaN(Number(r)),or=r=>!!r&&Number.isInteger(Number(r)),Ku=r=>r.endsWith("%")&&xe(r.slice(0,-1)),jn=r=>qw.test(r),ng=()=>!0,Kw=r=>Hw.test(r)&&!Vw.test(r),qc=()=>!1,Gw=r=>Ww.test(r),Yw=r=>Qw.test(r),Jw=r=>!te(r)&&!ne(r),Xw=r=>br(r,og,qc),te=r=>eg.test(r),Dr=r=>br(r,ig,Kw),kp=r=>br(r,ix,xe),Zw=r=>br(r,lg,ng),ex=r=>br(r,ag,qc),Sp=r=>br(r,rg,qc),tx=r=>br(r,sg,Yw),wa=r=>br(r,ug,Gw),ne=r=>tg.test(r),Oo=r=>Zr(r,ig),nx=r=>Zr(r,ag),Ep=r=>Zr(r,rg),rx=r=>Zr(r,og),sx=r=>Zr(r,sg),xa=r=>Zr(r,ug,!0),ox=r=>Zr(r,lg,!0),br=(r,t,s)=>{const i=eg.exec(r);return i?i[1]?t(i[1]):s(i[2]):!1},Zr=(r,t,s=!1)=>{const i=tg.exec(r);return i?i[1]?t(i[1]):s:!1},rg=r=>r==="position"||r==="percentage",sg=r=>r==="image"||r==="url",og=r=>r==="length"||r==="size"||r==="bg-size",ig=r=>r==="length",ix=r=>r==="number",ag=r=>r==="family-name",lg=r=>r==="number"||r==="weight",ug=r=>r==="shadow",ax=()=>{const r=Ze("color"),t=Ze("font"),s=Ze("text"),i=Ze("font-weight"),l=Ze("tracking"),u=Ze("leading"),d=Ze("breakpoint"),h=Ze("container"),m=Ze("spacing"),y=Ze("radius"),v=Ze("shadow"),w=Ze("inset-shadow"),S=Ze("text-shadow"),P=Ze("drop-shadow"),M=Ze("blur"),T=Ze("perspective"),k=Ze("aspect"),b=Ze("ease"),I=Ze("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...D(),ne,te],Q=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto","contain","none"],B=()=>[ne,te,m],de=()=>[sr,"full","auto",...B()],we=()=>[or,"none","subgrid",ne,te],he=()=>["auto",{span:["full",or,ne,te]},or,ne,te],Pe=()=>[or,"auto",ne,te],$e=()=>["auto","min","max","fr",ne,te],Te=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Le=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...B()],Ce=()=>[sr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],K=()=>[sr,"screen","full","dvw","lvw","svw","min","max","fit",...B()],oe=()=>[sr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...B()],F=()=>[r,ne,te],N=()=>[...D(),Ep,Sp,{position:[ne,te]}],z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],fe=()=>["auto","cover","contain",rx,Xw,{size:[ne,te]}],pe=()=>[Ku,Oo,Dr],ue=()=>["","none","full",y,ne,te],G=()=>["",xe,Oo,Dr],ve=()=>["solid","dashed","dotted","double"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[xe,Ku,Ep,Sp],et=()=>["","none",M,ne,te],Dt=()=>["none",xe,ne,te],ot=()=>["none",xe,ne,te],Yt=()=>[xe,ne,te],Mt=()=>[sr,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jn],breakpoint:[jn],color:[ng],container:[jn],"drop-shadow":[jn],ease:["in","out","in-out"],font:[Jw],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jn],shadow:[jn],spacing:["px",xe],text:[jn],"text-shadow":[jn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sr,te,ne,k]}
vendor: 6,149 bytes, line 130
130],container:["container"],columns:[{columns:[xe,te,ne,h]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:V()}],overflow:[{overflow:Q()}],"overflow-x":[{"overflow-x":Q()}],"overflow-y":[{"overflow-y":Q()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:de()}],"inset-x":[{"inset-x":de()}],"inset-y":[{"inset-y":de()}],start:[{"inset-s":de(),start:de()}],end:[{"inset-e":de(),end:de()}],"inset-bs":[{"inset-bs":de()}],"inset-be":[{"inset-be":de()}],top:[{top:de()}],right:[{right:de()}],bottom:[{bottom:de()}],left:[{left:de()}],visibility:["visible","invisible","collapse"],z:[{z:[or,"auto",ne,te]}],basis:[{basis:[sr,"full","auto",h,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xe,sr,"auto","initial","none",te]}],grow:[{grow:["",xe,ne,te]}],shrink:[{shrink:["",xe,ne,te]}],order:[{order:[or,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:he()}],"col-start":[{"col-start":Pe()}],"col-end":[{"col-end":Pe()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:he()}],"row-start":[{"row-start":Pe()}],"row-end":[{"row-end":Pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...Te(),"normal"]}],"justify-items":[{"justify-items":[...Le(),"normal"]}],"justify-self":[{"justify-self":["auto",...Le()]}],"align-content":[{content:["normal",...Te()]}],"align-items":[{items:[...Le(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Le(),{baseline:["","last"]}]}],"place-content":[{"place-content":Te()}],"place-items":[{"place-items":[...Le(),"baseline"]}],"place-self":[{"place-self":["auto",...Le()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pbs:[{pbs:B()}],pbe:[{pbe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:Re()}],mx:[{mx:Re()}],my:[{my:Re()}],ms:[{ms:Re()}],me:[{me:Re()}],mbs:[{mbs:Re()}],mbe:[{mbe:Re()}],mt:[{mt:Re()}],mr:[{mr:Re()}],mb:[{mb:Re()}],ml:[{ml:Re()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:Ce()}],"inline-size":[{inline:["auto",...K()]}],"min-inline-size":[{"min-inline":["auto",...K()]}],"max-inline-size":[{"max-inline":["none",...K()]}],"block-size":[{block:["auto",...oe()]}],"min-block-size":[{"min-block":["auto",...oe()]}],"max-block-size":[{"max-block":["none",...oe()]}],w:[{w:[h,"screen",...Ce()]}],"min-w":[{"min-w":[h,"screen","none",...Ce()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...Ce()]}],h:[{h:["screen","lh",...Ce()]}],"min-h":[{"min-h":["screen","lh","none",...Ce()]}],"max-h":[{"max-h":["screen","lh",...Ce()]}],"font-size":[{text:["base",s,Oo,Dr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ox,Zw]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ku,te]}],"font-family":[{font:[nx,ex,t]}],"font-features":[{"font-features":[te]}],"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:[l,ne,te]}],"line-clamp":[{"line-clamp":[xe,"none",ne,kp]}],leading:[{leading:[u,...B()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[xe,"from-font","auto",ne,Dr]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[xe,"auto",ne,te]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,te]}],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",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:z()}],"bg-size":[{bg:fe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},or,ne,te],radial:["",ne,te],conic:[or,ne,te]},sx,tx]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:pe()}
vendor: 8,988 bytes, line 130
130],"gradient-via-pos":[{via:pe()}],"gradient-to-pos":[{to:pe()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:ue()}],"rounded-s":[{"rounded-s":ue()}],"rounded-e":[{"rounded-e":ue()}],"rounded-t":[{"rounded-t":ue()}],"rounded-r":[{"rounded-r":ue()}],"rounded-b":[{"rounded-b":ue()}],"rounded-l":[{"rounded-l":ue()}],"rounded-ss":[{"rounded-ss":ue()}],"rounded-se":[{"rounded-se":ue()}],"rounded-ee":[{"rounded-ee":ue()}],"rounded-es":[{"rounded-es":ue()}],"rounded-tl":[{"rounded-tl":ue()}],"rounded-tr":[{"rounded-tr":ue()}],"rounded-br":[{"rounded-br":ue()}],"rounded-bl":[{"rounded-bl":ue()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-bs":[{"border-bs":G()}],"border-w-be":[{"border-be":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xe,ne,te]}],"outline-w":[{outline:["",xe,Oo,Dr]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",v,xa,wa]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",w,xa,wa]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[xe,Dr]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",S,xa,wa]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[xe,ne,te]}],"mix-blend":[{"mix-blend":[...ke(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ke()}],"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":[xe]}],"mask-image-linear-from-pos":[{"mask-linear-from":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"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":D()}],"mask-image-conic-pos":[{"mask-conic":[xe]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:z()}],"mask-size":[{mask:fe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:et()}],brightness:[{brightness:[xe,ne,te]}],contrast:[{contrast:[xe,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",P,xa,wa]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",xe,ne,te]}],"hue-rotate":[{"hue-rotate":[xe,ne,te]}],invert:[{invert:["",xe,ne,te]}],saturate:[{saturate:[xe,ne,te]}],sepia:[{sepia:["",xe,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":et()}],"backdrop-brightness":[{"backdrop-brightness":[xe,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[xe,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xe,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xe,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",xe,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[xe,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[xe,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",xe,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xe,"initial",ne,te]}],ease:[{ease:["linear","initial",b,ne,te]}],delay:[{delay:[xe,ne,te]}],animate:[{animate:["none",I,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,ne,te]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:Dt()}],"rotate-x":[{"rotate-x":Dt()}],"rotate-y":[{"rotate-y":Dt()}],"rotate-z":[{"rotate-z":Dt()}],scale:[{scale:ot()}],"scale-x":[{"scale-x":ot()}],"scale-y":[{"scale-y":ot()}],"scale-z":[{"scale-z":ot()}],"scale-3d":["scale-3d"],skew:[{skew:Yt()}],"skew-x":[{"skew-x":Yt()}],"skew-y":[{"skew-y":Yt()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Mt()}],"translate-x":[{"translate-x":Mt()}],"translate-y":[{"translate-y":Mt()}],"translate-z":[{"translate-z":Mt()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"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",ne,te]}],"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":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mbs":[{"scroll-mbs":B()}],"scroll-mbe":[{"scroll-mbe":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pbs":[{"scroll-pbs":B()}],"scroll-pbe":[{"scroll-pbe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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"]}
130],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",ne,te]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[xe,Oo,Dr,kp]}],stroke:[{stroke:["none",...F()]}],"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"]}},lx=zw(ax);function cn(...r){return lx(Hm(r))}const cg=A.forwardRef(({...r},t)=>p.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...r}));cg.displayName="ToastProvider";const dg=A.forwardRef(({...r},t)=>p.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...r}));dg.displayName="ToastViewport";const ux=Fc("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),fg=A.forwardRef(({className:r,variant:t,...s},i)=>p.jsx("div",{ref:i,className:cn(ux({variant:t}),r),...s}));fg.displayName="Toast";const cx=A.forwardRef(({className:r,...t},s)=>p.jsx("div",{ref:s,className:cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...t}));cx.displayName="ToastAction";const hg=A.forwardRef(({className:r,...t},s)=>p.jsx("button",{ref:s,className:cn("absolute right-2 top-2 rounded-md p-1 text-foreground
130/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...t,children:p.jsx(Bc,{className:"h-4 w-4"})}));hg.displayName="ToastClose";const pg=A.forwardRef(({className:r,...t},s)=>p.jsx("div",{ref:s,className:cn("text-sm font-semibold",r),...t}));pg.displayName="ToastTitle";const mg=A.forwardRef(({className:r,...t},s)=>p.jsx("div",{ref:s,className:cn("text-sm opacity-90",r),...t}));mg.displayName="ToastDescription";function dx(){const{toasts:r}=G0();return p.jsxs(cg,{children:[r.map(function({id:t,title:s,description:i,action:l,...u}){return p.jsxs(fg,{...u,children:[p.jsxs("div",{className:"grid gap-1",children:[s&&p.jsx(pg,{children:s}),i&&p.jsx(mg,{children:i})]}),l,p.jsx(hg,{})]},t)}),p.jsx(dg,{})]})}var ri=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(r){return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},fx={setTimeout:(r,t)=>setTimeout(r,t),clearTimeout:r=>clearTimeout(r),setInterval:(r,t)=>setInterval(r,t),clearInterval:r=>clearInterval(r)},lr,Dc,Pm,hx=(Pm=class{constructor(){ce(this,lr,fx);ce(this,Dc,!1)}setTimeoutProvider(r){X(this,lr,r)}setTimeout(r,t){return _(this,lr).setTimeout(r,t)}clearTimeout(r){_(this,lr).clearTimeout(r)}setInterval(r,t){return _(this,lr).setInterval(r,t)}clearInterval(r){_(this,lr).clearInterval(r)}},lr=new WeakMap,Dc=new WeakMap,Pm),Mr=new hx;function px(r){setTimeout(r,0)}var Yr=typeof window>"u"||"Deno"in globalThis;function At(){}function mx(r,t){return typeof r=="function"?r(t):r}function lc(r){return typeof r=="number"&&r>=0&&r!==1/0}function gg(r,t){return Math.max(r+(t||0)-Date.now(),0)}function yr(r,t){return typeof r=="function"?r(t):r}function Kt(r,t){return typeof r=="function"?r(t):r}function _p(r,t){const{type:s="all",exact:i,fetchStatus:l,predicate:u,queryKey:d,stale:h}=r;if(d){if(i){if(t.queryHash!==Hc(d,t.options))return!1}else if(!Qo(t.queryKey,d))return!1}if(s!=="all"){const m=t.isActive();if(s==="active"&&!m||s==="inactive"&&m)return!1}return!(typeof h=="boolean"&&t.isStale()!==h||l&&l!==t.state.fetchStatus||u&&!u(t))}function Cp(r,t){const{exact:s,status:i,predicate:l,mutationKey:u}=r;if(u){if(!t.options.mutationKey)return!1;if(s){if(Wo(t.options.mutationKey)!==Wo(u))return!1}else if(!Qo(t.options.mutationKey,u))return!1}return!(i&&t.state.status!==i||l&&!l(t))}function Hc(r,t){return((t==null?void 0:t.queryKeyHashFn)||Wo)(r)}function Wo(r){return JSON.stringify(r,(t,s)=>cc(s)?Object.keys(s).sort().reduce((i,l)=>(i[l]=s[l],i),{}):s)}function Qo(r,t){return r===t?!0:typeof r!=typeof t?!1:r&&t&&typeof r=="object"&&typeof t=="object"?Object.keys(t).every(s=>Qo(r[s],t[s])):!1}var gx=Object.prototype.hasOwnProperty;function yg(r,t,s=0){if(r===t)return r;if(s>500)return t;const i=Np(r)&&Np(t);if(!i&&!(cc(r)&&cc(t)))return t;const u=(i?r:Object.keys(r)).length,d=i?t:Object.keys(t),h=d.length,m=i?new Array(h):{};let y=0;for(let v=0;v<h;v++){const w=i?v:d[v],S=r[w],P=t[w];if(S===P){m[w]=S,(i?v<u:gx.call(r,w))&&y++;continue}if(S===null||P===null||typeof S!="object"||typeof P!="object"){m[w]=P;continue}const M=yg(S,P,s+1);m[w]=M,M===S&&y++}return u===h&&y===u?r:m}function uc(r,t){if(!t||Object.keys(r).length!==Object.keys(t).length)return!1;for(const s in r)if(r[s]!==t[s])return!1;return!0}function Np(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function cc(r){if(!Rp(r))return!1;const t=r.constructor;if(t===void 0)return!0;const s=t.prototype;return!(!Rp(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(r)!==Object.prototype)}function Rp(r){return Object.prototype.toString.call(r)==="[object Object]"}function yx(r){return new Promise(t=>{Mr.setTimeout(t,r)})}function dc(r,t,s){return typeof s.structuralSharing=="function"?s.structuralSharing(r,t):s.structuralSharing!==!1?yg(r,t):t}function vx(r,t,s=0){const i=[...r,t];return s&&i.length>s?i.slice(1):i}function wx(r,t,s=0){const i=[t,...r];return s&&i.length>s?i.slice(0,-1):i}var Vc=Symbol();function vg(r,t){return!r.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!r.queryFn||r.queryFn===Vc?()=>Promise.reject(new Error(`Missing queryFn: '${r.queryHash}'`)):r.queryFn}function wg(r,t){return typeof r=="function"?r(...t):!!r}function xx(r,t,s){let i=!1,l;return Object.defineProperty(r,"signal",{enumerable:!0,get:()=>(l??(l=t()),i||(i=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),r}var Fr,ur,Rs,jm,bx=(jm=class extends ri{constructor(){super();ce(this,Fr);ce(this,ur);ce(this,Rs);X(this,Rs,t=>{if(!Yr&&window.addEventListener){const s=()=>t();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){_(this,ur)||this.setEventListener(_(this,Rs))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ur))==null||t.call(this),X(this,ur,void 0))}setEventListener(t){var s;X(this,Rs,t),(s=_(this,ur))==null||s.call(this),X(this,ur,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){_(this,Fr)!==t&&(X(this,Fr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,992 bytes, line 130
130this.listeners.forEach(s=>{s(t)})}isFocused(){var t;return typeof _(this,Fr)=="boolean"?_(this,Fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Fr=new WeakMap,ur=new WeakMap,Rs=new WeakMap,jm),Wc=new bx;function fc(){let r,t;const s=new Promise((l,u)=>{r=l,t=u});s.status="pending",s.catch(()=>{});function i(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{i({status:"fulfilled",value:l}),r(l)},s.reject=l=>{i({status:"rejected",reason:l}),t(l)},s}var kx=px;function Sx(){let r=[],t=0,s=h=>{h()},i=h=>{h()},l=kx;const u=h=>{t?r.push(h):l(()=>{s(h)})},d=()=>{const h=r;r=[],h.length&&l(()=>{i(()=>{h.forEach(m=>{s(m)})})})};return{batch:h=>{let m;t++;try{m=h()}finally{t--,t||d()}return m},batchCalls:h=>(...m)=>{u(()=>{h(...m)})},schedule:u,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{l=h}}}var ct=Sx(),As,cr,Ts,Om,Ex=(Om=class extends ri{constructor(){super();ce(this,As,!0);ce(this,cr);ce(this,Ts);X(this,Ts,t=>{if(!Yr&&window.addEventListener){const s=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",i)}}})}onSubscribe(){_(this,cr)||this.setEventListener(_(this,Ts))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,cr))==null||t.call(this),X(this,cr,void 0))}setEventListener(t){var s;X(this,Ts,t),(s=_(this,cr))==null||s.call(this),X(this,cr,t(this.setOnline.bind(this)))}setOnline(t){_(this,As)!==t&&(X(this,As,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return _(this,As)}},As=new WeakMap,cr=new WeakMap,Ts=new WeakMap,Om),Ma=new Ex;function _x(r){return Math.min(1e3*2**r,3e4)}function xg(r){return(r??"online")==="online"?Ma.isOnline():!0}var hc=class extends Error{constructor(r){super("CancelledError"),this.revert=r==null?void 0:r.revert,this.silent=r==null?void 0:r.silent}};function bg(r){let t=!1,s=0,i;const l=fc(),u=()=>l.status!=="pending",d=T=>{var k;if(!u()){const b=new hc(T);S(b),(k=r.onCancel)==null||k.call(r,b)}},h=()=>{t=!0},m=()=>{t=!1},y=()=>Wc.isFocused()&&(r.networkMode==="always"||Ma.isOnline())&&r.canRun(),v=()=>xg(r.networkMode)&&r.canRun(),w=T=>{u()||(i==null||i(),l.resolve(T))},S=T=>{u()||(i==null||i(),l.reject(T))},P=()=>new Promise(T=>{var k;i=b=>{(u()||y())&&T(b)},(k=r.onPause)==null||k.call(r)}).then(()=>{var T;i=void 0,u()||(T=r.onContinue)==null||T.call(r)}),M=()=>{if(u())return;let T;const k=s===0?r.initialPromise:void 0;try{T=k??r.fn()}catch(b){T=Promise.reject(b)}Promise.resolve(T).then(w).catch(b=>{var Q;if(u())return;const I=r.retry??(Yr?0:3),O=r.retryDelay??_x,D=typeof O=="function"?O(s,b):O,V=I===!0||typeof I=="number"&&s<I||typeof I=="function"&&I(s,b);if(t||!V){S(b);return}s++,(Q=r.onFail)==null||Q.call(r,s,b),yx(D).then(()=>y()?void 0:P()).then(()=>{t?S(b):M()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(i==null||i(),l),cancelRetry:h,continueRetry:m,canStart:v,start:()=>(v()?M():P().then(M),l)}}var zr,Lm,kg=(Lm=class{constructor(){ce(this,zr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),lc(this.gcTime)&&X(this,zr,Mr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(r){this.gcTime=Math.max(this.gcTime||0,r??(Yr?1/0:300*1e3))}clearGcTimeout(){_(this,zr)&&(Mr.clearTimeout(_(this,zr)),X(this,zr,void 0))}},zr=new WeakMap,Lm),Br,Ps,Qt,$r,st,Xo,qr,an,On,Im,Cx=(Im=class extends kg{constructor(t){super();ce(this,an);ce(this,Br);ce(this,Ps);ce(this,Qt);ce(this,$r);ce(this,st);ce(this,Xo);ce(this,qr);X(this,qr,!1),X(this,Xo,t.defaultOptions),this.setOptions(t.options),this.observers=[],X(this,$r,t.client),X(this,Qt,_(this,$r).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,X(this,Br,Tp(this.options)),this.state=t.state??_(this,Br),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,st))==null?void 0:t.promise}setOptions(t){if(this.options={..._(this,Xo),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Tp(this.options);s.data!==void 0&&(this.setState(Ap(s.data,s.dataUpdatedAt)),X(this,Br,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,Qt).remove(this)}setData(t,s){const i=dc(this.state.data,t,this.options);return Se(this,an,On).call(this,{data:i,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),i}setState(t,s){Se(this,an,On).call(this,{type:"setState",state:t,setStateOptions:s})}cancel(t){var i,l;const s=(i=_(this,st))==null?void 0:i.promise;return(l=_(this,st))==null||l.cancel(t),s?s.then(At).catch(At):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Br))}isActive(){return this.observers.some(t=>Kt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Vc||this.state.dataUpdateCount+this.state.errorUpdate
130Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>yr(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!gg(this.state.dataUpdatedAt,t)}onFocus(){var s;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(s=_(this,st))==null||s.continue()}onOnline(){var s;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(s=_(this,st))==null||s.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,Qt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(s=>s!==t),this.observers.length||(_(this,st)&&(_(this,qr)?_(this,st).cancel({revert:!0}):_(this,st).cancelRetry()),this.scheduleGc()),_(this,Qt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Se(this,an,On).call(this,{type:"invalidate"})}async fetch(t,s){var m,y,v,w,S,P,M,T,k,b,I,O;if(this.state.fetchStatus!=="idle"&&((m=_(this,st))==null?void 0:m.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(_(this,st))return _(this,st).continueRetry(),_(this,st).promise}if(t&&this.setOptions(t),!this.options.queryFn){const D=this.observers.find(V=>V.options.queryFn);D&&this.setOptions(D.options)}const i=new AbortController,l=D=>{Object.defineProperty(D,"signal",{enumerable:!0,get:()=>(X(this,qr,!0),i.signal)})},u=()=>{const D=vg(this.options,s),Q=(()=>{const ie={client:_(this,$r),queryKey:this.queryKey,meta:this.meta};return l(ie),ie})();return X(this,qr,!1),this.options.persister?this.options.persister(D,Q,this):D(Q)},h=(()=>{const D={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:_(this,$r),state:this.state,fetchFn:u};return l(D),D})();(y=this.options.behavior)==null||y.onFetch(h,this),X(this,Ps,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=h.fetchOptions)==null?void 0:v.meta))&&Se(this,an,On).call(this,{type:"fetch",meta:(w=h.fetchOptions)==null?void 0:w.meta}),X(this,st,bg({initialPromise:s==null?void 0:s.initialPromise,fn:h.fetchFn,onCancel:D=>{D instanceof hc&&D.revert&&this.setState({..._(this,Ps),fetchStatus:"idle"}),i.abort()},onFail:(D,V)=>{Se(this,an,On).call(this,{type:"failed",failureCount:D,error:V})},onPause:()=>{Se(this,an,On).call(this,{type:"pause"})},onContinue:()=>{Se(this,an,On).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const D=await _(this,st).start();if(D===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(D),(P=(S=_(this,Qt).config).onSuccess)==null||P.call(S,D,this),(T=(M=_(this,Qt).config).onSettled)==null||T.call(M,D,this.state.error,this),D}catch(D){if(D instanceof hc){if(D.silent)return _(this,st).promise;if(D.revert){if(this.state.data===void 0)throw D;return this.state.data}}throw Se(this,an,On).call(this,{type:"error",error:D}),(b=(k=_(this,Qt).config).onError)==null||b.call(k,D,this),(O=(I=_(this,Qt).config).onSettled)==null||O.call(I,this.state.data,D,this),D}finally{this.scheduleGc()}}},Br=new WeakMap,Ps=new WeakMap,Qt=new WeakMap,$r=new WeakMap,st=new WeakMap,Xo=new WeakMap,qr=new WeakMap,an=new WeakSet,On=function(t){const s=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...Sg(i.data,this.options),fetchMeta:t.meta??null};case"success":const l={...i,...Ap(t.data,t.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return X(this,Ps,t.manual?l:void 0),l;case"error":const u=t.error;
vendor: 11,315 bytes, line 130
130return{...i,error:u,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=s(this.state),ct.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),_(this,Qt).notify({query:this,type:"updated",action:t})})},Im);function Sg(r,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xg(t.networkMode)?"fetching":"paused",...r===void 0&&{error:null,status:"pending"}}}function Ap(r,t){return{data:r,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Tp(r){const t=typeof r.initialData=="function"?r.initialData():r.initialData,s=t!==void 0,i=s?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:s?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Rt,Ee,Zo,bt,Hr,js,Ln,dr,ei,Os,Ls,Vr,Wr,fr,Is,je,Uo,pc,mc,gc,yc,vc,wc,xc,Eg,Dm,Nx=(Dm=class extends ri{constructor(t,s){super();ce(this,je);ce(this,Rt);ce(this,Ee);ce(this,Zo);ce(this,bt);ce(this,Hr);ce(this,js);ce(this,Ln);ce(this,dr);ce(this,ei);ce(this,Os);ce(this,Ls);ce(this,Vr);ce(this,Wr);ce(this,fr);ce(this,Is,new Set);this.options=s,X(this,Rt,t),X(this,dr,null),X(this,Ln,fc()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Ee).addObserver(this),Pp(_(this,Ee),this.options)?Se(this,je,Uo).call(this):this.updateResult(),Se(this,je,yc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bc(_(this,Ee),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bc(_(this,Ee),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Se(this,je,vc).call(this),Se(this,je,wc).call(this),_(this,Ee).removeObserver(this)}setOptions(t){const s=this.options,i=_(this,Ee);if(this.options=_(this,Rt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Kt(this.options.enabled,_(this,Ee))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Se(this,je,xc).call(this),_(this,Ee).setOptions(this.options),s._defaulted&&!uc(this.options,s)&&_(this,Rt).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ee),observer:this});const l=this.hasListeners();l&&jp(_(this,Ee),i,this.options,s)&&Se(this,je,Uo).call(this),this.updateResult(),l&&(_(this,Ee)!==i||Kt(this.options.enabled,_(this,Ee))!==Kt(s.enabled,_(this,Ee))||yr(this.options.staleTime,_(this,Ee))!==yr(s.staleTime,_(this,Ee)))&&Se(this,je,pc).call(this);const u=Se(this,je,mc).call(this);l&&(_(this,Ee)!==i||Kt(this.options.enabled,_(this,Ee))!==Kt(s.enabled,_(this,Ee))||u!==_(this,fr))&&Se(this,je,gc).call(this,u)}getOptimisticResult(t){const s=_(this,Rt).getQueryCache().build(_(this,Rt),t),i=this.createResult(s,t);return Ax(this,i)&&(X(this,bt,i),X(this,js,this.options),X(this,Hr,_(this,Ee).state)),i}getCurrentResult(){return _(this,bt)}trackResult(t,s){return new Proxy(t,{get:(i,l)=>(this.trackProp(l),s==null||s(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&_(this,Ln).status==="pending"&&_(this,Ln).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,l))})}trackProp(t){_(this,Is).add(t)}getCurrentQuery(){return _(this,Ee)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const s=_(this,Rt).defaultQueryOptions(t),i=_(this,Rt).getQueryCache().build(_(this,Rt),s);return i.fetch().then(()=>this.createResult(i,s))}fetch(t){return Se(this,je,Uo).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,bt)))}createResult(t,s){var de;const i=_(this,Ee),l=this.options,u=_(this,bt),d=_(this,Hr),h=_(this,js),y=t!==i?t.state:_(this,Zo),{state:v}=t;let w={...v},S=!1,P;if(s._optimisticResults){const we=this.hasListeners(),he=!we&&Pp(t,s),Pe=we&&jp(t,i,s,l);(he||Pe)&&(w={...w,...Sg(v.data,t.options)}),s._optimisticResults==="isRestoring"&&(w.fetchStatus="idle")}let{error:M,errorUpdatedAt:T,status:k}=w;P=w.data;let b=!1;if(s.placeholderData!==void 0&&P===void 0&&k==="pending"){let we;u!=null&&u.isPlaceholderData&&s.placeholderData===(h==null?void 0:h.placeholderData)?(we=u.data,b=!0):we=typeof s.placeholderData=="function"?s.placeholderData((de=_(this,Ls))==null?void 0:de.state.data,_(this,Ls)):s.placeholderData,we!==void 0&&(k="success",P=dc(u==null?void 0:u.data,we,s),S=!0)}if(s.select&&P!==void 0&&!b)if(u&&P===(d==null?void 0:d.data)&&s.select===_(this,ei))P=_(this,Os);else try{X(this,ei,s.select),P=s.select(P),P=dc(u==null?void 0:u.data,P,s),X(this,Os,P),X(this,dr,null)}catch(we){X(this,dr,we)}_(this,dr)&&(M=_(this,dr),P=_(this,Os),T=Date.now(),k="error");const I=w.fetchStatus==="fetching",O=k==="pending",D=k==="error",V=O&&I,Q=P!==void 0,B={status:k,fetchStatus:w.fetchStatus,isPending:O,isSuccess:k==="success",isError:D,isInitialLoading:V,isLoading:V,data:P,dataUpdatedAt:w.dataUpdatedAt,error:M,errorUpdatedAt:T,failureCount:w.fetchFailureCount,failureReason:w.fetchFailureReason,errorUpdateCount:w.errorUpdateCount,isFetched:w.dataUpdateCount>0||w.errorUpdateCount>0,isFetchedAfterMount:w.dataUpdateCount>y.dataUpdateCount||w.errorUpdateCount>y.errorUpdateCount,isFetching:I,isRefetching:I&&!O,isLoadingError:D&&!Q,isPaused:w.fetchStatus==="paused",isPlaceholderData:S,isRefetchError:D&&Q,isStale:Qc(t,s),refetch:this.refetch,promise:_(this,Ln),isEnabled:Kt(s.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const we=B.data!==void 0,he=B.status==="error"&&!we,Pe=Le=>{he?Le.reject(B.error):we&&Le.resolve(B.data)},$e=()=>{const Le=X(this,Ln,B.promise=fc());Pe(Le)},Te=_(this,Ln);switch(Te.status){case"pending":t.queryHash===i.queryHash&&Pe(Te);break;case"fulfilled":(he||B.data!==Te.value)&&$e();break;case"rejected":(!he||B.error!==Te.reason)&&$e();break}}return B}updateResult(){const t=_(this,bt),s=this.createResult(_(this,Ee),this.options);if(X(this,Hr,_(this,Ee).state),X(this,js,this.options),_(this,Hr).data!==void 0&&X(this,Ls,_(this,Ee)),uc(s,t))return;X(this,bt,s);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!_(this,Is).size)return!0;const d=new Set(u??_(this,Is));return this.options.throwOnError&&d.add("error"),Object.keys(_(this,bt)).some(h=>{const m=h;return _(this,bt)[m]!==t[m]&&d.has(m)})};Se(this,je,Eg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Se(this,je,yc).call(this)}},Rt=new WeakMap,Ee=new WeakMap,Zo=new WeakMap,bt=new WeakMap,Hr=new WeakMap,js=new WeakMap,Ln=new WeakMap,dr=new WeakMap,ei=new WeakMap,Os=new WeakMap,Ls=new WeakMap,Vr=new WeakMap,Wr=new WeakMap,fr=new WeakMap,Is=new WeakMap,je=new WeakSet,Uo=function(t){Se(this,je,xc).call(this);let s=_(this,Ee).fetch(this.options,t);return t!=null&&t.throwOnError||(s=s.catch(At)),s},pc=function(){Se(this,je,vc).call(this);const t=yr(this.options.staleTime,_(this,Ee));if(Yr||_(this,bt).isStale||!lc(t))return;const i=gg(_(this,bt).dataUpdatedAt,t)+1;X(this,Vr,Mr.setTimeout(()=>{_(this,bt).isStale||this.updateResult()},i))},mc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ee)):this.options.refetchInterval)??!1},gc=function(t){Se(this,je,wc).call(this),X(this,fr,t),!(Yr||Kt(this.options.enabled,_(this,Ee))===!1||!lc(_(this,fr))||_(this,fr)===0)&&X(this,Wr,Mr.setInterval(()=>{(this.options.refetchIntervalInBackground||Wc.isFocused())&&Se(this,je,Uo).call(this)},_(this,fr)))},yc=function(){Se(this,je,pc).call(this),Se(this,je,gc).call(this,Se(this,je,mc).call(this))},vc=function(){_(this,Vr)&&(Mr.clearTimeout(_(this,Vr)),X(this,Vr,void 0))},wc=function(){_(this,Wr)&&(Mr.clearInterval(_(this,Wr)),X(this,Wr,void 0))},xc=function(){const t=_(this,Rt).getQueryCache().build(_(this,Rt),this.options);if(t===_(this,Ee))return;const s=_(this,Ee);X(this,Ee,t),X(this,Zo,t.state),this.hasListeners()&&(s==null||s.removeObserver(this),t.addObserver(this))},Eg=function(t){ct.batch(()=>{t.listeners&&this.listeners.forEach(s=>{s(_(this,bt))}),_(this,Rt).getQueryCache().notify({query:_(this,Ee),type:"observerResultsUpdated"})})},Dm);function Rx(r,t){return Kt(t.enabled,r)!==!1&&r.state.data===void 0&&!(r.state.status==="error"&&t.retryOnMount===!1)}function Pp(r,t){return Rx(r,t)||r.state.data!==void 0&&bc(r,t,t.refetchOnMount)}function bc(r,t,s){if(Kt(t.enabled,r)!==!1&&yr(t.staleTime,r)!=="static"){const i=typeof s=="function"?s(r):s;return i==="always"||i!==!1&&Qc(r,t)}return!1}function jp(r,t,s,i){return(r!==t||Kt(i.enabled,r)===!1)&&(!s.suspense||r.state.status!=="error")&&Qc(r,s)}function Qc(r,t){return Kt(t.enabled,r)!==!1&&r.isStaleByTime(yr(t.staleTime,r))}function Ax(r,t){return!uc(r.getCurrentResult(),t)}function Op(r){return{onFetch:(t,s)=>{var v,w,S,P,M;const i=t.options,l=(S=(w=(v=t.fetchOptions)==null?void 0:v.meta)==null?void 0:w.fetchMore)==null?void 0:S.direction,u=((P=t.state.data)==null?void 0:P.pages)||[],d=((M=t.state.data)==null?void 0:M.pageParams)||[];let h={pages:[],pageParams:[]},m=0;const y=async()=>{let T=!1;const k=O=>{xx(O,()=>t.signal,()=>T=!0)},b=vg(t.options,t.fetchOptions),I=async(O,D,V)=>{if(T)return Promise.reject();if(D==null&&O.pages.length)return Promise.resolve(O);const ie=(()=>{const he={client:t.client,queryKey:t.queryKey,pageParam:D,direction:V?"backward":"forward",meta:t.options.meta};return k(he),he})(),B=await b(ie),{maxPages:de}=t.options,we=V?wx:vx;return{pages:we(O.pages,B,de),pageParams:we(O.pageParams,D,de)}};if(l&&u.length){const O=l==="backward",D=O?Tx:Lp,V={pages:u,pageParams:d},Q=D(i,V);h=await I(V,Q,O)}else{const O=r??u.length;do{const D=m===0?d[0]??i.initialPageParam:Lp(i,h);if(m>0&&D==null)break;h=await I(h,D),m++}while(m<O)}return h};t.options.persister?t.fetchFn=()=>{var T,k;return(k=(T=t.options).persister)==null?void 0:k.call(T,y,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},s)}:t.fetchFn=y}}}function Lp(r,{pages:t,pageParams:s}){const i=t.length-1;return t.length>0?r.getNextPageParam(t[i],t,s[i],s):void 0}function Tx(r,{pages:t,pageParams:s}){var i;return t.length>0?(i=r.getPreviousPageParam)==null?void 0:i.call(r,t[0],t,s[0],s):void 0}var ti,yn,yt,Qr,vn,ir,Mm,Px=(Mm=class extends kg{constructor(t){super();ce(this,vn);ce(this,ti);ce(this,yn);ce(this,yt);ce(this,Qr);X(this,ti,t.client),this.mutationId=t.mutationId,X(this,yt,t.mutationCache),X(this,yn,[]),this.state=t.state||jx(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,yn).includes(t)||(_(this,yn).push(t),this.clearGcTimeout(),_(this,yt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){X(this,yn,_(this,yn).filter(s=>s!==t)),this.scheduleGc(),_(this,yt).notify({type:"observerRemoved",mutation:this,observer:t})}
130optionalRemove(){_(this,yn).length||(this.state.status==="pending"?this.scheduleGc():_(this,yt).remove(this))}continue(){var t;return((t=_(this,Qr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var d,h,m,y,v,w,S,P,M,T,k,b,I,O,D,V,Q,ie;const s=()=>{Se(this,vn,ir).call(this,{type:"continue"})},i={client:_(this,ti),meta:this.options.meta,mutationKey:this.options.mutationKey};X(this,Qr,bg({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(new Error("No mutationFn found")),onFail:(B,de)=>{Se(this,vn,ir).call(this,{type:"failed",failureCount:B,error:de})},onPause:()=>{Se(this,vn,ir).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,yt).canRun(this)}));const l=this.state.status==="pending",u=!_(this,Qr).canStart();try{if(l)s();else{Se(this,vn,ir).call(this,{type:"pending",variables:t,isPaused:u}),_(this,yt).config.onMutate&&await _(this,yt).config.onMutate(t,this,i);const de=await((h=(d=this.options).onMutate)==null?void 0:h.call(d,t,i));de!==this.state.context&&Se(this,vn,ir).call(this,{type:"pending",context:de,variables:t,isPaused:u})}const B=await _(this,Qr).start();return await((y=(m=_(this,yt).config).onSuccess)==null?void 0:y.call(m,B,t,this.state.context,this,i)),await((w=(v=this.options).onSuccess)==null?void 0:w.call(v,B,t,this.state.context,i)),await((P=(S=_(this,yt).config).onSettled)==null?void 0:P.call(S,B,null,this.state.variables,this.state.context,this,i)),await((T=(M=this.options).onSettled)==null?void 0:T.call(M,B,null,t,this.state.context,i)),Se(this,vn,ir).call(this,{type:"success",data:B}),B}catch(B){try{await((b=(k=_(this,yt).config).onError)==null?void 0:b.call(k,B,t,this.state.context,this,i))}catch(de){Promise.reject(de)}try{await((O=(I=this.options).onError)==null?void 0:O.call(I,B,t,this.state.context,i))}catch(de){Promise.reject(de)}try{await((V=(D=_(this,yt).config).onSettled)==null?void 0:V.call(D,void 0,B,this.state.variables,this.state.context,this,i))}catch(de){Promise.reject(de)}try{await((ie=(Q=this.options).onSettled)==null?void 0:ie.call(Q,void 0,B,t,this.state.context,i))}catch(de){Promise.reject(de)}throw Se(this,vn,ir).call(this,{type:"error",error:B}),B}finally{_(this,yt).runNext(this)}}},ti=new WeakMap,yn=new WeakMap,yt=new WeakMap,Qr=new WeakMap,vn=new WeakSet,ir=function(t){const s=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=s(this.state),ct.batch(()=>{_(this,yn).forEach(i=>{i.onMutationUpdate(t)}),_(this,yt).notify({mutation:this,type:"updated",action:t})})},Mm);function jx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var In,ln,ni,Um,Ox=(Um=class extends ri{constructor(t={}){super();ce(this,In);ce(this,ln);ce(this,ni);this.config=t,X(this,In,new Set),X(this,ln,new Map),X(this,ni,0)}build(t,s,i){const l=new Px({client:t,mutationCache:this,mutationId:++ya(this,ni)._,options:t.defaultMutationOptions(s),state:i});return this.add(l),l}add(t){_(this,In).add(t);const s=ba(t);if(typeof s=="string"){const i=_(this,ln).get(s);i?i.push(t):_(this,ln).set(s,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,In).delete(t)){const s=ba(t);if(typeof s=="string"){const i=_(this,ln).get(s);if(i)if(i.length>1){const l=i.indexOf(t);l!==-1&&i.splice(l,1)}else i[0]===t&&_(this,ln).delete(s)}}this.notify({type:"removed",mutation:t})}canRun(t){const s=ba(t);if(typeof s=="string"){const i=_(this,ln).get(s),l=i==null?void 0:i.find(u=>u.state.status==="pending");return!l||l===t}else return!0}runNext(t){var i;const s=ba(t);if(typeof s=="string"){const l=(i=_(this,ln).get(s))==null?void 0:i.find(u=>
vendor: 4,780 bytes, line 130
130u!==t&&u.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ct.batch(()=>{_(this,In).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,In).clear(),_(this,ln).clear()})}getAll(){return Array.from(_(this,In))}find(t){const s={exact:!0,...t};return this.getAll().find(i=>Cp(s,i))}findAll(t={}){return this.getAll().filter(s=>Cp(t,s))}notify(t){ct.batch(()=>{this.listeners.forEach(s=>{s(t)})})}resumePausedMutations(){const t=this.getAll().filter(s=>s.state.isPaused);return ct.batch(()=>Promise.all(t.map(s=>s.continue().catch(At))))}},In=new WeakMap,ln=new WeakMap,ni=new WeakMap,Um);function ba(r){var t;return(t=r.options.scope)==null?void 0:t.id}var wn,Fm,Lx=(Fm=class extends ri{constructor(t={}){super();ce(this,wn);this.config=t,X(this,wn,new Map)}build(t,s,i){const l=s.queryKey,u=s.queryHash??Hc(l,s);let d=this.get(u);return d||(d=new Cx({client:t,queryKey:l,queryHash:u,options:t.defaultQueryOptions(s),state:i,defaultOptions:t.getQueryDefaults(l)}),this.add(d)),d}add(t){_(this,wn).has(t.queryHash)||(_(this,wn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const s=_(this,wn).get(t.queryHash);s&&(t.destroy(),s===t&&_(this,wn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ct.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,wn).get(t)}getAll(){return[..._(this,wn).values()]}find(t){const s={exact:!0,...t};return this.getAll().find(i=>_p(s,i))}findAll(t={}){const s=this.getAll();return Object.keys(t).length>0?s.filter(i=>_p(t,i)):s}notify(t){ct.batch(()=>{this.listeners.forEach(s=>{s(t)})})}onFocus(){ct.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ct.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},wn=new WeakMap,Fm),He,hr,pr,Ds,Ms,mr,Us,Fs,zm,Ix=(zm=class{constructor(r={}){ce(this,He);ce(this,hr);ce(this,pr);ce(this,Ds);ce(this,Ms);ce(this,mr);ce(this,Us);ce(this,Fs);X(this,He,r.queryCache||new Lx),X(this,hr,r.mutationCache||new Ox),X(this,pr,r.defaultOptions||{}),X(this,Ds,new Map),X(this,Ms,new Map),X(this,mr,0)}mount(){ya(this,mr)._++,_(this,mr)===1&&(X(this,Us,Wc.subscribe(async r=>{r&&(await this.resumePausedMutations(),_(this,He).onFocus())})),X(this,Fs,Ma.subscribe(async r=>{r&&(await this.resumePausedMutations(),_(this,He).onOnline())})))}unmount(){var r,t;ya(this,mr)._--,_(this,mr)===0&&((r=_(this,Us))==null||r.call(this),X(this,Us,void 0),(t=_(this,Fs))==null||t.call(this),X(this,Fs,void 0))}isFetching(r){return _(this,He).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return _(this,hr).findAll({...r,status:"pending"}).length}getQueryData(r){var s;const t=this.defaultQueryOptions({queryKey:r});return(s=_(this,He).get(t.queryHash))==null?void 0:s.state.data}ensureQueryData(r){const t=this.defaultQueryOptions(r),s=_(this,He).build(this,t),i=s.state.data;return i===void 0?this.fetchQuery(r):(r.revalidateIfStale&&s.isStaleByTime(yr(t.staleTime,s))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(r){return _(this,He).findAll(r).map(({queryKey:t,state:s})=>{const i=s.data;return[t,i]})}setQueryData(r,t,s){const i=this.defaultQueryOptions({queryKey:r}),l=_(this,He).get(i.queryHash),u=l==null?void 0:l.state.data,d=mx(t,u);if(d!==void 0)return _(this,He).build(this,i).setData(d,{...s,manual:!0})}setQueriesData(r,t,s){return ct.batch(()=>_(this,He).findAll(r).map(({queryKey:i})=>[i,this.setQueryData(i,t,s)]))}getQueryState(r){var s;const t=this.defaultQueryOptions({queryKey:r});return(s=_(this,He).get(t.queryHash))==null?void 0:s.state}removeQueries(r){const t=_(this,He);ct.batch(()=>{t.findAll(r).forEach(s=>{t.remove(s)})})}resetQueries(r,t){const s=_(this,He);return ct.batch(()=>(s.findAll(r).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...r},t)))}cancelQueries(r,t={}){const s={revert:!0,...t},i=ct.batch(()=>_(this,He).findAll(r).map(l=>l.cancel(s)));return Promise.all(i).then(At).catch(At)}invalidateQueries(r,t={}){return ct.batch(()=>(_(this,He).findAll(r).forEach(s=>{s.invalidate()}),(r==null?void 0:r.refetchType)==="none"?Promise.resolve():this.refetchQueries({...r,type:(r==null?void 0:r.refetchType)??(r==null?void 0:r.type)??"active"},t)))}refetchQueries(r,t={}){const s={...t,cancelRefetch:t.cancelRefetch??!0},i=ct.batch(()=>_(this,He).findAll(r).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(At)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(At)}fetchQuery(r){const t=this.defaultQueryOptions(r);t.retry===void 0&&(t.retry=!1);const s=_(this,He).build(this,t);return s.isStaleByTime(yr(t.staleTime,s))?s.fetch(t):Promise.resolve(s.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(At).catch(At)}
130fetchInfiniteQuery(r){return r.behavior=Op(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(At).catch(At)}ensureInfiniteQueryData(r){return r.behavior=Op(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return Ma.isOnline()?_(this,hr).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,He)}getMutationCache(){return _(this,hr)}getDefaultOptions(){return _(this,pr)}setDefaultOptions(r){X(this,pr,r)}setQueryDefaults(r,t){_(this,Ds).set(Wo(r),{queryKey:r,defaultOptions:t})}getQueryDefaults(r){const t=[..._(this,Ds).values()],s={};return t.forEach(i=>{Qo(r,i.queryKey)&&Object.assign(s,i.defaultOptions)}),s}setMutationDefaults(r,t){_(this,Ms).set(Wo(r),{mutationKey:r,defaultOptions:t})}getMutationDefaults(r){const t=[..._(this,Ms).values()],s={};return t.forEach(i=>{Qo(r,i.mutationKey)&&Object.assign(s,i.defaultOptions)}),s}defaultQueryOptions(r){if(r._defaulted)return r;const t={..._(this,pr).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return t.queryHash||(t.queryHash=Hc(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===Vc&&(t.enabled=!1),t}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{..._(this,pr).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){_(this,He).clear(),_(this,hr).clear()}},He=new WeakMap,hr=new WeakMap,pr=new WeakMap,Ds=new WeakMap,Ms=new WeakMap,mr=new WeakMap,Us=new WeakMap,Fs=new WeakMap,zm),_g=A.createContext(void 0),Dx=r=>{const t=A.useContext(_g);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Mx=({client:r,children:t})=>(A.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),p.jsx(_g.Provider,{value:r,children:t})),Cg=A.createContext(!1),Ux=()=>A.useContext(Cg);Cg.Provider;function Fx(){let r=!1;return{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r}}var zx=A.createContext(Fx()),Bx=()=>A.useContext(zx),$x=(r,t,s)=>{const i=s!=null&&s.state.error&&typeof r.throwOnError=="function"?wg(r.throwOnError,[s.state.error,s]):r.throwOnError;(r.suspense||r.experimental_prefetchInRender||i)&&(t.isReset()||(r.retryOnMount=!1))},qx=r=>{A.useEffect(()=>{r.clearReset()},[r])},Hx=({result:r,errorResetBoundary:t,throwOnError:s,query:i,suspense:l})=>r.isError&&!t.isReset()&&!r.isFetching&&i&&(l&&r.data===void 0||wg(s,[r.error,i])),Vx=r=>{if(r.suspense){const s=l=>l==="static"?l:Math.max(l??1e3,1e3),i=r.staleTime;r.staleTime=typeof i=="function"?(...l)=>s(i(...l)):s(i),typeof r.gcTime=="number"&&(r.gcTime=Math.max(r.gcTime,1e3))}},Wx=(r,t)=>r.isLoading&&r.isFetching&&!t,Qx=(r,t)=>(r==null?void 0:r.suspense)&&t.isPending,Ip=(r,t,s)=>t.fetchOptimistic(r).catch(()=>{s.clearReset()});function Kx(r,t,s){var S,P,M,T;const i=Ux(),l=Bx(),u=Dx(),d=u.defaultQueryOptions(r);(P=(S=u.getDefaultOptions().queries)==null?void 0:S._experimental_beforeQuery)==null||P.call(S,d);const h=u.getQueryCache().get(d.queryHash);d._optimisticResults=i?"isRestoring":"optimistic",Vx(d),$x(d,l,h),qx(l);const m=!u.getQueryCache().get(d.queryHash),[y]=A.useState(()=>new t(u,d)),v=y.getOptimisticResult(d),w=!i&&r.subscribed!==!1;if(A.useSyncExternalStore(A.useCallback(k=>{const b=w?y.subscribe(ct.batchCalls(k)):At;return y.updateResult(),b},[y,w]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),A.useEffect(()=>{y.setOptions(d)},[d,y]),Qx(d,v))throw Ip(d,y,l);if(Hx({result:v,errorResetBoundary:l,throwOnError:d.throwOnError,query:h,suspense:d.suspense}))throw v.error;if((T=(M=u.getDefaultOptions().queries)==null?void 0:M._experimental_afterQuery)==null||T.call(M,d,v),d.experimental_prefetchInRender&&!Yr&&Wx(v,i)){const k=m?Ip(d,y,l):h==null?void 0:h.promise;k==null||k.catch(At).finally(()=>{y.updateResult()})}return d.notifyOnChangeProps?v:y.trackResult(v)}function Gx(r,t){return Kx(r,Nx)}const Yx=new Ix({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});$m();/** 131 * @remix-run/router v1.23.2 132 * 133 * Copyright (c) Remix Software Inc. 134 * 135 * This source code is licensed under the MIT license found in the 136 * LICENSE.md file in the root directory of this source tree. 137 * 138 * @license MIT 139 */function Ko(){return Ko=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(r[i]=s[i])}return r},Ko.apply(this,arguments)}var gr;(function(r){r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE"})(gr||(gr={}));const Dp="popstate";function Jx(r){r===void 0&&(r={});function t(i,l){let{pathname:u,search:d,hash:h}=i.location;return kc("",{pathname:u,search:d,hash:h},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function s(i,l){return typeof l=="string"?l:Ua(l)}return Zx(t,s,null,r)}function Ye(r,t){if(r===!1||r===null||typeof r>"u")throw new Error(t)}function Kc(r,t){if(!r){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Xx(){return Math.random().toString(36).substr(2,8)}function Mp(r,t){return{usr:r.state,key:r.key,idx:t}}function kc(r,t,s,i){return s===void 0&&(s=null),Ko({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof t=="string"?$s(t):t,{state:s,key:t&&t.key||i||Xx()})}function Ua(r){let{pathname:t="/",search:s="",hash:i=""}=r;return s&&s!=="?"&&(t+=s.charAt(0)==="?"?s:"?"+s),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function $s(r){let t={};if(r){let s=r.indexOf("#");s>=0&&(t.hash=r.substr(s),r=r.substr(0,s));let i=r.indexOf("?");i>=0&&(t.search=r.substr(i),r=r.substr(0,i)),r&&(t.pathname=r)}return t}function Zx(r,t,s,i){i===void 0&&(i={});let{window:l=document.defaultView,v5Compat:u=!1}=i,d=l.history,h=gr.Pop,m=null,y=v();y==null&&(y=0,d.replaceState(Ko({},d.state,{idx:y}),""));function v(){return(d.state||{idx:null}).idx}function w(){h=gr.Pop;let k=v(),b=k==null?null:k-y;y=k,m&&m({action:h,location:T.location,delta:b})}function S(k,b){h=gr.Push;let I=kc(T.location,k,b);y=v()+1;let O=Mp(I,y),D=T.createHref(I);try{d.pushState(O,"",D)}catch(V){if(V instanceof DOMException&&V.name==="DataCloneError")throw V;l.location.assign(D)}u&&m&&m({action:h,location:T.location,delta:1})}function P(k,b){h=gr.Replace;let I=kc(T.location,k,b);y=v();let O=Mp(I,y),D=T.createHref(I);d.replaceState(O,"",D),u&&m&&m({action:h,location:T.location,delta:0})}function M(k){let b=l.location.origin!=="null"?l.location.origin:l.location.href,I=typeof k=="string"?k:Ua(k);
vendor: 10,011 bytes, lines 139-148
139return I=I.replace(/ $/,"%20"),Ye(b,"No window.location.(origin|href) available to create URL for href: "+I),new URL(I,b)}let T={get action(){return h},get location(){return r(l,d)},listen(k){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(Dp,w),m=k,()=>{l.removeEventListener(Dp,w),m=null}},createHref(k){return t(l,k)},createURL:M,encodeLocation(k){let b=M(k);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:S,replace:P,go(k){return d.go(k)}};return T}var Up;(function(r){r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error"})(Up||(Up={}));function eb(r,t,s){return s===void 0&&(s="/"),tb(r,t,s)}function tb(r,t,s,i){let l=typeof t=="string"?$s(t):t,u=Gc(l.pathname||"/",s);if(u==null)return null;let d=Ng(r);nb(d);let h=null;for(let m=0;h==null&&m<d.length;++m){let y=pb(u);h=db(d[m],y)}return h}function Ng(r,t,s,i){t===void 0&&(t=[]),s===void 0&&(s=[]),i===void 0&&(i="");let l=(u,d,h)=>{let m={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};m.relativePath.startsWith("/")&&(Ye(m.relativePath.startsWith(i),'Absolute route path "'+m.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),m.relativePath=m.relativePath.slice(i.length));let y=vr([i,m.relativePath]),v=s.concat(m);u.children&&u.children.length>0&&(Ye(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+y+'".')),Ng(u.children,t,v,y)),!(u.path==null&&!u.index)&&t.push({path:y,score:ub(y,u.index),routesMeta:v})};return r.forEach((u,d)=>{var h;if(u.path===""||!((h=u.path)!=null&&h.includes("?")))l(u,d);else for(let m of Rg(u.path))l(u,d,m)}),t}function Rg(r){let t=r.split("/");if(t.length===0)return[];let[s,...i]=t,l=s.endsWith("?"),u=s.replace(/\?$/,"");if(i.length===0)return l?[u,""]:[u];let d=Rg(i.join("/")),h=[];return h.push(...d.map(m=>m===""?u:[u,m].join("/"))),l&&h.push(...d),h.map(m=>r.startsWith("/")&&m===""?"/":m)}function nb(r){r.sort((t,s)=>t.score!==s.score?s.score-t.score:cb(t.routesMeta.map(i=>i.childrenIndex),s.routesMeta.map(i=>i.childrenIndex)))}const rb=/^:[\w-]+$/,sb=3,ob=2,ib=1,ab=10,lb=-2,Fp=r=>r==="*";function ub(r,t){let s=r.split("/"),i=s.length;return s.some(Fp)&&(i+=lb),t&&(i+=ob),s.filter(l=>!Fp(l)).reduce((l,u)=>l+(rb.test(u)?sb:u===""?ib:ab),i)}function cb(r,t){return r.length===t.length&&r.slice(0,-1).every((i,l)=>i===t[l])?r[r.length-1]-t[t.length-1]:0}function db(r,t,s){let{routesMeta:i}=r,l={},u="/",d=[];for(let h=0;h<i.length;++h){let m=i[h],y=h===i.length-1,v=u==="/"?t:t.slice(u.length)||"/",w=fb({path:m.relativePath,caseSensitive:m.caseSensitive,end:y},v),S=m.route;if(!w)return null;Object.assign(l,w.params),d.push({params:l,pathname:vr([u,w.pathname]),pathnameBase:wb(vr([u,w.pathnameBase])),route:S}),w.pathnameBase!=="/"&&(u=vr([u,w.pathnameBase]))}return d}function fb(r,t){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,i]=hb(r.path,r.caseSensitive,r.end),l=t.match(s);if(!l)return null;let u=l[0],d=u.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:i.reduce((y,v,w)=>{let{paramName:S,isOptional:P}=v;if(S==="*"){let T=h[w]||"";d=u.slice(0,u.length-T.length).replace(/(.)\/+$/,"$1")}const M=h[w];return P&&!M?y[S]=void 0:y[S]=(M||"").replace(/%2F/g,"/"),y},{}),pathname:u,pathnameBase:d,pattern:r}}function hb(r,t,s){t===void 0&&(t=!1),s===void 0&&(s=!0),Kc(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let i=[],l="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,h,m)=>(i.push({paramName:h,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(i.push({paramName:"*"}),l+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?l+="\\/*$":r!==""&&r!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),i]}function pb(r){try{return r.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Kc(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),r}}function Gc(r,t){if(t==="/")return r;if(!r.toLowerCase().startsWith(t.toLowerCase()))return null;let s=t.endsWith("/")?t.length-1:t.length,i=r.charAt(s);return i&&i!=="/"?null:r.slice(s)||"/"}const mb=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gb=r=>mb.test(r);function yb(r,t){t===void 0&&(t="/");let{pathname:s,search:i="",hash:l=""}=typeof r=="string"?$s(r):r,u;if(s)if(gb(s))u=s;else{if(s.includes("//")){let d=s;s=s.replace(/\/\/+/g,"/"),Kc(!1,"Pathnames cannot have embedded double slashes - normalizing "+(d+" -> "+s))}s.startsWith("/")?u=zp(s.substring(1),"/"):u=zp(s,t)}else u=t;return{pathname:u,search:xb(i),hash:bb(l)}}function zp(r,t){let s=t.replace(/\/+$/,"").split("/");return r.split("/").forEach(l=>{l===".."?s.length>1&&s.pop():l!=="."&&s.push(l)}),s.length>1?s.join("/"):"/"}function Gu(r,t,s,i){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+s+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function vb(r){return r.filter((t,s)=>s===0||t.route.path&&t.route.path.length>0)}function Ag(r,t){let s=vb(r);return t?s.map((i,l)=>l===s.length-1?i.pathname:i.pathnameBase):s.map(i=>i.pathnameBase)}function Tg(r,t,s,i){i===void 0&&(i=!1);let l;typeof r=="string"?l=$s(r):(l=Ko({},r),Ye(!l.pathname||!l.pathname.includes("?"),Gu("?","pathname","search",l)),Ye(!l.pathname||!l.pathname.includes("#"),Gu("#","pathname","hash",l)),Ye(!l.search||!l.search.includes("#"),Gu("#","search","hash",l)));let u=r===""||l.pathname==="",d=u?"/":l.pathname,h;if(d==null)h=s;else{let w=t.length-1;if(!i&&d.startsWith("..")){let S=d.split("/");for(;S[0]==="..";)S.shift(),w-=1;l.pathname=S.join("/")}h=w>=0?t[w]:"/"}let m=yb(l,h),y=d&&d!=="/"&&d.endsWith("/"),v=(u||d===".")&&s.endsWith("/");return!m.pathname.endsWith("/")&&(y||v)&&(m.pathname+="/"),m}const vr=r=>r.join("/").replace(/\/\/+/g,"/"),wb=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),xb=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,bb=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r;function kb(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}const Pg=["post","put","patch","delete"];new Set(Pg);const Sb=["get",...Pg];new Set(Sb);/** 140 * React Router v6.30.3 141 * 142 * Copyright (c) Remix Software Inc. 143 * 144 * This source code is licensed under the MIT license found in the 145 * LICENSE.md file in the root directory of this source tree. 146 * 147 * @license MIT 148 */function Go(){return Go=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(r[i]=s[i])}return r},Go.apply(this,arguments)}const Yc=A.createContext(null),Eb=A.createContext(null),es=A.createContext(null),Ha=A.createContext(null),kr=A.createContext({outlet:null,matches:[],isDataRoute:!1}),jg=A.createContext(null);function _b(r,t){let{relative:s}=t===void 0?{}:t;si()||Ye(!1);let{basename:i,navigator:l}=A.useContext(es),{hash:u,pathname:d,search:h}=Lg(r,{relative:s}),m=d;return i!=="/"&&(m=d==="/"?i:vr([i,d])),l.createHref({pathname:m,search:h,hash:u})}function si(){return A.useContext(Ha)!=null}function qs(){return si()||Ye(!1),A.useContext(Ha).location}function Og(r){A.useContext(es).static||A.useLayoutEffect(r)}function Cb(){let{isDataRoute:r}=A.useContext(kr);return r?Bb():Nb()}function Nb(){si()||Ye(!1);let r=A.useContext(Yc),{basename:t,future:s,navigator:i}=A.useContext(es),{matches:l}=A.useContext(kr),{pathname:u}=qs(),d=JSON.stringify(Ag(l,s.v7_relativeSplatPath)),h=A.useRef(!1);return Og(()=>{h.current=!0}),A.useCallback(function(y,v){if(v===void 0&&(v={}),!h.current)return;if(typeof y=="number"){i.go(y);return}let w=Tg(y,JSON.parse(d),u,v.relative==="path");r==null&&t!=="/"&&(w.pathname=w.pathname==="/"?t:vr([t,w.pathname])),(v.replace?i.replace:i.push)(w,v.state,v)},[t,i,d,u,r])}const Rb=A.createContext(null);function Ab(r){let t=A.useContext(kr).outlet;return t&&A.createElement(Rb.Provider,{value:r},t)}function Lg(r,t){let{relative:s}=t===void 0?{}:t,{future:i}=A.useContext(es),{matches:l}=A.useContext(kr),{pathname:u}=qs(),d=JSON.stringify(Ag(l,i.v7_relativeSplatPath));return A.useMemo(()=>Tg(r,JSON.parse(d),u,s==="path"),[r,d,u,s])}function Tb(r,t){return Pb(r,t)}function Pb(r,t,s,i){si()||Ye(!1);let{navigator:l}=A.useContext(es),{matches:u}=A.useContext(kr),d=u[u.length-1],h=d?d.params:{};d&&d.pathname;let m=d?d.pathnameBase:"/";d&&d.route;let y=qs(),v;if(t){var w;let k=typeof t=="string"?$s(t):t;m==="/"||(w=k.pathname)!=null&&w.startsWith(m)||Ye(!1),v=k}else v=y;let S=v.pathname||"/",P=S;if(m!=="/"){let k=m.replace(/^\//,"").split("/");P="/"+S.replace(/^\//,"").split("/").slice(k.length).join("/")}let M=eb(r,{pathname:P}),T=Db(M&&M.map(k=>Object.assign({},k,{params:Object.assign({},h,k.params),pathname:vr([m,l.encodeLocation?l.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?m:vr([m,l.encodeLocation?l.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),u,s,i);return t&&T?A.createElement(Ha.Provider,{value:{location:Go({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:gr.Pop}},T):T}function jb(){let r=zb(),t=kb(r)?r.status+" "+r.statusText:r instanceof Error?r.message:JSON.stringify(r),s=r instanceof Error?r.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application
148Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),s?A.createElement("pre",{style:l},s):null,null)}const Ob=A.createElement(jb,null);class Lb extends A.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,s){return s.location!==t.location||s.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:s.error,location:s.location,revalidation:t.revalidation||s.revalidation}}componentDidCatch(t,s){console.error("React Router caught the following error during render",t,s)}render(){return this.state.error!==void 0?A.createElement(kr.Provider,{value:this.props.routeContext},A.createElement(jg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ib(r){let{routeContext:t,match:s,children:i}=r,l=A.useContext(Yc);return l&&l.static&&l.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=s.route.id),A.createElement(kr.Provider,{value:t},i)}function Db(r,t,s,i){var l;if(t===void 0&&(t=[]),s===void 0&&(s=null),i===void 0&&(i=null),r==null){var u;if(!s)return null;if(s.errors)r=s.matches;else if((u=i)!=null&&u.v7_partialHydration&&t.length===0&&!s.initialized&&s.matches.length>0)r=s.matches;else return null}let d=r,h=(l=s)==null?void 0:l.errors;if(h!=null){let v=d.findIndex(w=>w.route.id&&(h==null?void 0:h[w.route.id])!==void 0);v>=0||Ye(!1),d=d.slice(0,Math.min(d.length,v+1))}let m=!1,y=-1;if(s&&i&&i.v7_partialHydration)for(let v=0;v<d.length;v++){let w=d[v];if((w.route.HydrateFallback||w.route.hydrateFallbackElement)&&(y=v),w.route.id){let{loaderData:S,errors:P}=s,M=w.route.loader&&S[w.route.id]===void 0&&(!P||P[w.route.id]===void 0);if(w.route.lazy||M){m=!0,y>=0?d=d.slice(0,y+1):d=[d[0]];break}}}return d.reduceRight((v,w,S)=>{let P,M=!1,T=null,k=null;s&&(P=h&&w.route.id?h[w.route.id]:void 0,T=w.route.errorElement||Ob,m&&(y<0&&S===0?($b("route-fallback"),M=!0,k=null):y===S&&(M=!0,k=w.route.hydrateFallbackElement||null)));let b=t.concat(d.slice(0,S+1)),I=()=>{let O;return P?O=T:M?O=k:w.route.Component?O=A.createElement(w.route.Component,null):w.route.element?O=w.route.element:O=v,A.createElement(Ib,{match:w,routeContext:{outlet:v,matches:b,isDataRoute:s!=null},children:O})};return s&&(w.route.ErrorBoundary||w.route.errorElement||S===0)?A.createElement(Lb,{location:s.location,revalidation:s.revalidation,component:T,error:P,children:I(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):I()},null)}var Ig=(function(r){return r.UseBlocker="useBlocker",r.UseRevalidator="useRevalidator",r.UseNavigateStable="useNavigate",r})(Ig||{}),Dg=(function(r){return r.UseBlocker="useBlocker",r.UseLoaderData="useLoaderData",r.UseActionData="useActionData",r.UseRouteError="useRouteError",r.UseNavigation="useNavigation",r.UseRouteLoaderData="useRouteLoaderData",r.UseMatches="useMatches",r.UseRevalidator="useRevalidator",r.UseNavigateStable="useNavigate",r.UseRouteId="useRouteId",r})(Dg||{});function Mb(r){let t=A.useContext(Yc);return t||Ye(!1),t}function Ub(r){let t=A.useContext(Eb);return t||Ye(!1),t}function Fb(r){let t=A.useContext(kr);return t||Ye(!1),t}function Mg(r){let t=Fb(),s=t.matches[t.matches.length-1];return s.route.id||Ye(!1),s.route.id}function zb(){var r;let t=A.useContext(jg),s=Ub(),i=Mg();return t!==void 0?t:(r=s.errors)==null?void 0:r[i]}function Bb(){let{router:r}=Mb(Ig.UseNavigateStable),t=Mg(Dg.UseNavigateStable),s=A.useRef(!1);return Og(()=>{s.current=!0}),A.useCallback(function(l,u){u===void 0&&(u={}),s.current&&(typeof l=="number"?r.navigate(l):r.navigate(l,Go({fromRouteId:t},u)))},[r,t])}const Bp={};function $b(r,t,s){Bp[r]||(Bp[r]=!0)}function qb(r,t){r==null||r.v7_startTransition,r==null||r.v7_relativeSplatPath}function Hb(r){return Ab(r.context)}function Vt(r){Ye(!1)}function Vb(r){let{basename:t="/",children:s=null,location:i,navigationType:l=gr.Pop,navigator:u,static:d=!1,future:h}=r;si()&&Ye(!1);let m=t.replace(/^\/*/,"/"),y=A.useMemo(()=>({basename:m,navigator:u,static:d,future:Go({v7_relativeSplatPath:!1},h)}),[m,h,u,d]);typeof i=="string"&&(i=$s(i));let{pathname:v="/",search:w="",hash:S="",state:P=null,key:M="default"}=i,T=A.useMemo(()=>{let k=Gc(v,m);return k==null?null:{location:{pathname:k,search:w,hash:S,state:P,key:M},navigationType:l}},[m,v,w,S,P,M,l]);return T==null?null:A.createElement(es.Provider,{value:y},A.createElement(Ha.Provider,{children:s,value:T}))}function Wb(r){let{children:t,location:s}=r;return Tb(Sc(t),s)}new Promise(()=>{});function Sc(r,t){t===void 0&&(t=[]);let s=[];
148return A.Children.forEach(r,(i,l)=>{if(!A.isValidElement(i))return;let u=[...t,l];if(i.type===A.Fragment){s.push.apply(s,Sc(i.props.children,u));return}i.type!==Vt&&Ye(!1),!i.props.index||!i.props.children||Ye(!1);let d={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(d.children=Sc(i.props.children,u)),s.push(d)}),s}/** 149 * React Router DOM v6.30.3 150 * 151 * Copyright (c) Remix Software Inc. 152 * 153 * This source code is licensed under the MIT license found in the 154 * LICENSE.md file in the root directory of this source tree. 155 * 156 * @license MIT 157 */function Ec(){return Ec=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(r[i]=s[i])}return r},Ec.apply(this,arguments)}function Qb(r,t){if(r==null)return{};var s={},i=Object.keys(r),l,u;for(u=0;u<i.length;u++)l=i[u],!(t.indexOf(l)>=0)&&(s[l]=r[l]);return s}function Kb(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function Gb(r,t){return r.button===0&&(!t||t==="_self")&&!Kb(r)}const Yb=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Jb="6";try{window.__reactRouterVersion=Jb}catch{}const Xb="startTransition",$p=Uc[Xb];function Zb(r){let{basename:t,children:s,future:i,window:l}=r,u=A.useRef();u.current==null&&(u.current=Jx({window:l,v5Compat:!0}));let d=u.current,[h,m]=A.useState({action:d.action,location:d.location}),{v7_startTransition:y}=i||{},v=A.useCallback(w=>{y&&$p?$p(()=>m(w)):m(w)},[m,y]);return A.useLayoutEffect(()=>d.listen(v),[d,v]),A.useEffect(()=>qb(i),[i]),A.createElement(Vb,{basename:t,children:s,location:h.location,navigationType:h.action,navigator:d,future:i})}const e1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",t1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ra=A.forwardRef(function(t,s){let{onClick:i,relative:l,reloadDocument:u,replace:d,state:h,target:m,to:y,preventScrollReset:v,viewTransition:w}=t,S=Qb(t,Yb),{basename:P}=A.useContext(es),M,T=!1;if(typeof y=="string"&&t1.test(y)&&(M=y,e1))try{let O=new URL(window.location.href),D=y.startsWith("//")?new URL(O.protocol+y):new URL(y),V=Gc(D.pathname,P);D.origin===O.origin&&V!=null?y=V+D.search+D.hash:T=!0}catch{}let k=_b(y,{relative:l}),b=n1(y,{replace:d,state:h,target:m,preventScrollReset:v,relative:l,viewTransition:w});function I(O){i&&i(O),O.defaultPrevented||b(O)}return A.createElement("a",Ec({},S,{href:M||k,onClick:T||u?i:I,ref:s,target:m}))});var qp;(function(r){r.UseScrollRestoration="useScrollRestoration",r.UseSubmit="useSubmit",r.UseSubmitFetcher="useSubmitFetcher",r.UseFetcher="useFetcher",r.useViewTransitionState="useViewTransitionState"})(qp||(qp={}));var Hp;(function(r){r.UseFetcher="useFetcher",r.UseFetchers="useFetchers",r.UseScrollRestoration="useScrollRestoration"})(Hp||(Hp={}));function n1(r,t){let{target:s,replace:i,state:l,preventScrollReset:u,relative:d,viewTransition:h}=t===void 0?{}:t,m=Cb(),y=qs(),v=Lg(r,{relative:d});return A.useCallback(w=>{if(Gb(w,s)){w.preventDefault();let S=i!==void 0?i:Ua(y)===Ua(v);m(r,{replace:S,state:l,preventScrollReset:u,relative:d,viewTransition:h})}},[y,m,v,i,l,s,r,u,d,h])}function Ug(r,t){return function(){return r.apply(t,arguments)}}const{toString:r1}=Object.prototype,{getPrototypeOf:zs}=Object,{iterator:oi,toStringTag:Fg}=Symbol,Fa=(({hasOwnProperty:r})=>(t,s)=>r.call(t,s))(Object.prototype),Yo=(r,t)=>{let s=r;const i=[];for(;s!=null&&s!==Object.prototype;){if(i.indexOf(s)!==-1)return!1;if(i.push(s),Fa(s,t))return!0;s=zs(s)}return!1},s1=(r,t)=>r!=null&&Yo(r,t)?r[t]:void 0,Jc=(r=>t=>{const s=r1.call(t);return r[s]||(r[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),dn=r=>(r=r.toLowerCase(),t=>Jc(t)===r),Va=r=>t=>typeof t===r,{isArray:Jr}=Array,Bs=Va("undefined");function Hs(r){return r!==null&&!Bs(r)&&r.constructor!==null&&!Bs(r.constructor)&&Tt(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const zg=dn("ArrayBuffer");function o1(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&zg(r.buffer),t}const i1=Va("string"),Tt=Va("function"),Bg=Va("number"),Vs=r=>r!==null&&typeof r=="object",a1=r=>r===!0||r===!1,Aa=r=>{if(!Vs(r))return!1;const t=zs(r);return(t===null||t===Object.prototype||zs(t)===null)&&!Yo(r,Fg)&&!Yo(r,oi)},l1=r=>
vendor: 32,777 bytes, lines 157-159
157{if(!Vs(r)||Hs(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},u1=dn("Date"),c1=dn("File"),d1=r=>!!(r&&typeof r.uri<"u"),f1=r=>r&&typeof r.getParts<"u",h1=dn("Blob"),p1=dn("FileList"),m1=r=>Vs(r)&&Tt(r.pipe);function g1(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Vp=g1(),Wp=typeof Vp.FormData<"u"?Vp.FormData:void 0,y1=r=>{if(!r)return!1;if(Wp&&r instanceof Wp)return!0;const t=zs(r);if(!t||t===Object.prototype||!Tt(r.append))return!1;const s=Jc(r);return s==="formdata"||s==="object"&&Tt(r.toString)&&r.toString()==="[object FormData]"},v1=dn("URLSearchParams"),[w1,x1,b1,k1]=["ReadableStream","Request","Response","Headers"].map(dn),S1=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ii(r,t,{allOwnKeys:s=!1}={}){if(r===null||typeof r>"u")return;let i,l;if(typeof r!="object"&&(r=[r]),Jr(r))for(i=0,l=r.length;i<l;i++)t.call(null,r[i],i,r);else{if(Hs(r))return;const u=s?Object.getOwnPropertyNames(r):Object.keys(r),d=u.length;let h;for(i=0;i<d;i++)h=u[i],t.call(null,r[h],h,r)}}function $g(r,t){if(Hs(r))return null;t=t.toLowerCase();const s=Object.keys(r);let i=s.length,l;for(;i-- >0;)if(l=s[i],t===l.toLowerCase())return l;return null}const Ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qg=r=>!Bs(r)&&r!==Ur;function _c(...r){const{caseless:t,skipUndefined:s}=qg(this)&&this||{},i={},l=(u,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")return;const h=t&&typeof d=="string"&&$g(i,d)||d,m=Fa(i,h)?i[h]:void 0;Aa(m)&&Aa(u)?i[h]=_c(m,u):Aa(u)?i[h]=_c({},u):Jr(u)?i[h]=u.slice():(!s||!Bs(u))&&(i[h]=u)};for(let u=0,d=r.length;u<d;u++){const h=r[u];if(!h||Hs(h)||(ii(h,l),typeof h!="object"||Jr(h)))continue;const m=Object.getOwnPropertySymbols(h);for(let y=0;y<m.length;y++){const v=m[y];I1.call(h,v)&&l(h[v],v)}}return i}const E1=(r,t,s,{allOwnKeys:i}={})=>(ii(t,(l,u)=>{s&&Tt(l)?Object.defineProperty(r,u,{__proto__:null,value:Ug(l,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(r,u,{__proto__:null,value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),r),_1=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),C1=(r,t,s,i)=>{r.prototype=Object.create(t.prototype,i),Object.defineProperty(r.prototype,"constructor",{__proto__:null,value:r,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(r,"super",{__proto__:null,value:t.prototype}),s&&Object.assign(r.prototype,s)},N1=(r,t,s,i)=>{let l,u,d;const h={};if(t=t||{},r==null)return t;do{for(l=Object.getOwnPropertyNames(r),u=l.length;u-- >0;)d=l[u],(!i||i(d,r,t))&&!h[d]&&(t[d]=r[d],h[d]=!0);r=s!==!1&&zs(r)}while(r&&(!s||s(r,t))&&r!==Object.prototype);return t},R1=(r,t,s)=>{r=String(r),(s===void 0||s>r.length)&&(s=r.length),s-=t.length;const i=r.indexOf(t,s);return i!==-1&&i===s},A1=r=>{if(!r)return null;if(Jr(r))return r;let t=r.length;if(!Bg(t))return null;const s=new Array(t);for(;t-- >0;)s[t]=r[t];return s},T1=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&zs(Uint8Array)),P1=(r,t)=>{const i=(r&&r[oi]).call(r);let l;for(;(l=i.next())&&!l.done;){const u=l.value;t.call(r,u[0],u[1])}},j1=(r,t)=>{let s;const i=[];for(;(s=r.exec(t))!==null;)i.push(s);return i},O1=dn("HTMLFormElement"),L1=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,i,l){return i.toUpperCase()+l}),{propertyIsEnumerable:I1}=Object.prototype,D1=dn("RegExp"),Hg=(r,t)=>{const s=Object.getOwnPropertyDescriptors(r),i={};ii(s,(l,u)=>{let d;(d=t(l,u,r))!==!1&&(i[u]=d||l)}),Object.defineProperties(r,i)},M1=r=>{Hg(r,(t,s)=>{if(Tt(r)&&["arguments","caller","callee"].includes(s))return!1;const i=r[s];if(Tt(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},U1=(r,t)=>{const s={},i=l=>{l.forEach(u=>{s[u]=!0})};return Jr(r)?i(r):i(String(r).split(t)),s},F1=()=>{},z1=(r,t)=>r!=null&&Number.isFinite(r=+r)?r:t;function B1(r){return!!(r&&Tt(r.append)&&r[Fg]==="FormData"&&r[oi])}const $1=r=>{const t=new WeakSet,s=i=>{if(Vs(i)){if(t.has(i))return;if(Hs(i))return i;if(!("toJSON"in i)){t.add(i);const l=Jr(i)?[]:{};return ii(i,(u,d)=>{const h=s(u);!Bs(h)&&(l[d]=h)}),t.delete(i),l}}return i};return s(r)},q1=dn("AsyncFunction"),H1=r=>r&&(Vs(r)||Tt(r))&&Tt(r.then)&&Tt(r.catch),Vg=((r,t)=>r?setImmediate:t?((s,i)=>(Ur.addEventListener("message",({source:l,data:u})=>{l===Ur&&u===s&&i.length&&i.shift()()},!1),l=>{i.push(l),Ur.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",Tt(Ur.postMessage)),V1=typeof queueMicrotask<"u"?queueMicrotask.bind(Ur):typeof process<"u"&&process.nextTick||Vg,Wg=r=>r!=null&&Tt(r[oi]),W1=r=>r!=null&&Yo(r,oi)&&Wg(r),R={isArray:Jr,isArrayBuffer:zg,isBuffer:Hs,isFormData:y1,isArrayBufferView:o1,isString:i1,isNumber:Bg,isBoolean:a1,isObject:Vs,isPlainObject:Aa,isEmptyObject:l1,isReadableStream:w1,isRequest:x1,isResponse:b1,isHeaders:k1,isUndefined:Bs,isDate:u1,isFile:c1,isReactNativeBlob:d1,isReactNative:f1,isBlob:h1,isRegExp:D1,isFunction:Tt,isStream:m1,isURLSearchParams:v1,isTypedArray:T1,isFileList:p1,forEach:ii,merge:_c,extend:E1,trim:S1,stripBOM:_1,inherits:C1,toFlatObject:N1,kindOf:Jc,kindOfTest:dn,endsWith:R1,toArray:A1,forEachEntry:P1,matchAll:j1,isHTMLForm:O1,hasOwnProperty:Fa,hasOwnProp:Fa,hasOwnInPrototypeChain:Yo,getSafeProp:s1,reduceDescriptors:Hg,freezeMethods:M1,toObjectSet:U1,toCamelCase:L1,noop:F1,toFiniteNumber:z1,findKey:$g,global:Ur,isContextDefined:qg,isSpecCompliantForm:B1,toJSONObject:$1,isAsyncFn:q1,isThenable:H1,setImmediate:Vg,asap:V1,isIterable:Wg,isSafeIterable:W1},Q1=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),K1=r=>{const t={};let s,i,l;return r&&r.split(` 158`).forEach(function(d){l=d.indexOf(":"),s=d.substring(0,l).trim().toLowerCase(),i=d.substring(l+1).trim(),!(!s||t[s]&&Q1[s])&&(s==="set-cookie"?t[s]?t[s].push(i):t[s]=[i]:t[s]=t[s]?t[s]+", "+i:i)}),t};function G1(r){let t=0,s=r.length;for(;t<s;){const i=r.charCodeAt(t);if(i!==9&&i!==32)break;t+=1}for(;s>t;){const i=r.charCodeAt(s-1);if(i!==9&&i!==32)break;s-=1}return t===0&&s===r.length?r:r.slice(t,s)}const Y1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),J1=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Xc(r,t){return R.isArray(r)?r.map(s=>Xc(s,t)):G1(String(r).replace(t,""))}const X1=r=>Xc(r,Y1),Z1=r=>Xc(r,J1);function Qg(r){const t=Object.create(null);return R.forEach(r.toJSON(),(s,i)=>{t[i]=Z1(s)}),t}const Qp=Symbol("internals");function Lo(r){return r&&String(r).trim().toLowerCase()}function Ta(r){return r===!1||r==null?r:R.isArray(r)?r.map(Ta):X1(String(r))}function ek(r){const t=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=s.exec(r);)t[i[1]]=i[2];return t}const tk=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function Yu(r,t,s,i,l){if(R.isFunction(i))return i.call(this,t,s);if(l&&(t=s),!!R.isString(t)){if(R.isString(i))return t.indexOf(i)!==-1;if(R.isRegExp(i))return i.test(t)}}function nk(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,s,i)=>s.toUpperCase()+i)}function rk(r,t){const s=R.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+s,{__proto__:null,value:function(l,u,d){return this[i].call(this,t,l,u,d)},configurable:!0})})}let vt=class{constructor(t){t&&this.set(t)}set(t,s,i){const l=this;function u(h,m,y){const v=Lo(m);if(!v)return;const w=R.findKey(l,v);(!w||l[w]===void 0||y===!0||y===void 0&&l[w]!==!1)&&(l[w||m]=Ta(h))}const d=(h,m)=>R.forEach(h,(y,v)=>u(y,v,m));if(R.isPlainObject(t)||t instanceof this.constructor)d(t,s);else if(R.isString(t)&&(t=t.trim())&&!tk(t))d(K1(t),s);else if(R.isObject(t)&&R.isSafeIterable(t)){let h=Object.create(null),m,y;for(const v of t){if(!R.isArray(v))throw new TypeError("Object iterator must return a key-value pair");y=v[0],R.hasOwnProp(h,y)?(m=h[y],h[y]=R.isArray(m)?[...m,v[1]]:[m,v[1]]):h[y]=v[1]}d(h,s)}else t!=null&&u(s,t,i);return this}get(t,s){if(t=Lo(t),t){const i=R.findKey(this,t);if(i){const l=this[i];if(!s)return l;if(s===!0)return ek(l);if(R.isFunction(s))return s.call(this,l,i);if(R.isRegExp(s))return s.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,s){if(t=Lo(t),t){const i=R.findKey(this,t);return!!(i&&this[i]!==void 0&&(!s||Yu(this,this[i],i,s)))}return!1}delete(t,s){const i=this;let l=!1;function u(d){if(d=Lo(d),d){const h=R.findKey(i,d);h&&(!s||Yu(i,i[h],h,s))&&(delete i[h],l=!0)}}return R.isArray(t)?t.forEach(u):u(t),l}clear(t){const s=Object.keys(this);let i=s.length,l=!1;for(;i--;){const u=s[i];(!t||Yu(this,this[u],u,t,!0))&&(delete this[u],l=!0)}return l}normalize(t){const s=this,i={};return R.forEach(this,(l,u)=>{const d=R.findKey(i,u);if(d){s[d]=Ta(l),delete s[u];return}const h=t?nk(u):String(u).trim();h!==u&&delete s[u],s[h]=Ta(l),i[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const s=Object.create(null);return R.forEach(this,(i,l)=>{i!=null&&i!==!1&&(s[l]=t&&R.isArray(i)?i.join(", "):i)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,s])=>t+": "+s).join(` 159`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...s){const i=new this(t);return s.forEach(l=>i.set(l)),i}static accessor(t){const i=(this[Qp]=this[Qp]={accessors:{}}).accessors,l=this.prototype;function u(d){const h=Lo(d);i[h]||(rk(l,d),i[h]=!0)}return R.isArray(t)?t.forEach(u):u(t),this}};vt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(vt.prototype,({value:r},t)=>{let s=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(i){this[s]=i}}});R.freezeMethods(vt);const sk="[REDACTED ****]";function ok(r){if(R.hasOwnProp(r,"toJSON"))return!0;let t=Object.getPrototypeOf(r);for(;t&&t!==Object.prototype;){if(R.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function ik(r,t){const s=new Set(t.map(u=>String(u).toLowerCase())),i=[],l=u=>{if(u===null||typeof u!="object"||R.isBuffer(u))return u;if(i.indexOf(u)!==-1)return;u instanceof vt&&(u=u.toJSON()),i.push(u);let d;if(R.isArray(u))d=[],u.forEach((h,m)=>{const y=l(h);R.isUndefined(y)||(d[m]=y)});else{if(!R.isPlainObject(u)&&ok(u))return i.pop(),u;d=Object.create(null);for(const[h,m]of Object.entries(u)){const y=s.has(h.toLowerCase())?sk:l(m);R.isUndefined(y)||(d[h]=y)}}return i.pop(),d};return l(r)}let J=class Kg extends Error{static from(t,s,i,l,u,d){const h=new Kg(t.message,s||t.code,i,l,u);return h.cause=t,h.name=t.name,t.status!=null&&h.status==null&&(h.status=t.status),d&&Object.assign(h,d),h}constructor(t,s,i,l,u){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),i&&(this.config=i),l&&(this.request=l),u&&(this.response=u,this.status=u.status)}toJSON(){const t=this.config,s=t&&R.hasOwnProp(t,"redact")?t.redact:void 0,i=R.isArray(s)&&s.length>0?ik(t,s):R.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};J.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";J.ERR_BAD_OPTION="ERR_BAD_OPTION";J.ECONNABORTED="ECONNABORTED";J.ETIMEDOUT="ETIMEDOUT";J.ECONNREFUSED="ECONNREFUSED";J.ERR_NETWORK="ERR_NETWORK";J.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";J.ERR_DEPRECATED="ERR_DEPRECATED";J.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";J.ERR_BAD_REQUEST="ERR_BAD_REQUEST";J.ERR_CANCELED="ERR_CANCELED";J.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";J.ERR_INVALID_URL="ERR_INVALID_URL";J.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const ak=null,Gg=100;function Cc(r){return R.isPlainObject(r)||R.isArray(r)}function Yg(r){return R.endsWith(r,"[]")?r.slice(0,-2):r}function Ju(r,t,s){return r?r.concat(t).map(function(l,u){return l=Yg(l),!s&&u?"["+l+"]":l}).join(s?".":""):t}function lk(r){return R.isArray(r)&&!r.some(Cc)}const uk=R.toFlatObject(R,{},null,function(t){return/^is[A-Z]/.test(t)});function Wa(r,t,s){if(!R.isObject(r))throw new TypeError("target must be an object");t=t||new FormData,s=R.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(I,O){return!R.isUndefined(O[I])});const i=s.metaTokens,l=s.visitor||M,u=s.dots,d=s.indexes,h=s.Blob||typeof Blob<"u"&&Blob,m=s.maxDepth===void 0?Gg:s.maxDepth,y=h&&R.isSpecCompliantForm(t),v=[];if(!R.isFunction(l))throw new TypeError("visitor must be a function");function w(b){if(b===null)return"";if(R.isDate(b))return b.toISOString();if(R.isBoolean(b))return b.toString();if(!y&&R.isBlob(b))throw new J("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(b)||R.isTypedArray(b)?y&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function S(b){if(b>m)throw new J("Object is too deeply nested ("+b+" levels). Max depth: "+m,J.ERR_FORM_DATA_DEPTH_EXCEEDED)}function P(b,I){if(m===1/0)return JSON.stringify(b);const O=[];return JSON.stringify(b,function(V,Q){if(!R.isObject(Q))return Q;for(;O.length&&O[O.length-1]!==this;)O.pop();return O.push(Q),S(I+O.length-1),Q})}function M(b,I,O){let D=b;if(R.isReactNative(t)&&R.isReactNativeBlob(b))return t.append(Ju(O,I,u),w(b)),!1;if(b&&!O&&typeof b=="object"){if(R.endsWith(I,"{}"))I=i?I:I.slice(0,-2),b=P(b,1);else if(R.isArray(b)&&lk(b)||(R.isFileList(b)||R.endsWith(I,"[]"))&&(D=R.toArray(b)))return I=Yg(I),D.forEach(function(Q,ie){!(R.isUndefined(Q)||Q===null)&&t.append(d===!0?Ju([I],ie,u):d===null?I:I+"[]",w(Q))}),!1}return Cc(b)?!0:(t.append(Ju(O,I,u),w(b)),!1)}const T=Object.assign(uk,{defaultVisitor:M,convertValue:w,isVisitable:Cc});function k(b,I,O=0){if(!R.isUndefined(b)){if(S(O),v.indexOf(b)!==-1)throw new Error("Circular reference detected in "+I.join("."));v.push(b),R.forEach(b,function(V,Q){(!(R.isUndefined(V)||V===null)&&l.call(t,V,R.isString(Q)?Q.trim():Q,I,T))===!0&&k(V,I?I.concat(Q):[Q],O+1)}),v.pop()}}if(!R.isObject(r))throw new TypeError("data must be an object");return k(r),t}function Kp(r){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(r).replace(/[!'()~]|%20/g,function(i){return t[i]})}function Zc(r,t){this._pairs=[],r&&Wa(r,this,t)}const Jg=Zc.prototype;Jg.append=function(t,s){this._pairs.push([t,s])};Jg.toString=function(t){const s=t?function(i){return t.call(this,i,Kp)}:Kp;return this._pairs.map(function(l){return s(l[0])+"="+s(l[1])},"").join("&")};function ck(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Xg(r,t,s){if(!t)return r;const i=R.isFunction(s)?{serialize:s}:s,l=R.getSafeProp(i,"encode")||ck,u=R.getSafeProp(i,"serialize");let d;if(u?d=u(t,i):d=R.isURLSearchParams(t)?t.toString():new Zc(t,i).toString(l),d){const h=r.indexOf("#");h!==-1&&(r=r.slice(0,h)),r+=(r.indexOf("?")===-1?"?":"&")+d}return r}class Gp{constructor(){this.handlers=[]}use(t,s,i){return this.handlers.push({fulfilled:t,rejected:s,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){R.forEach(this.handlers,function(i){i!==null&&t(i)})}}const ed={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},dk=typeof URLSearchParams<"u"?URLSearchParams:Zc,fk=typeof FormData<"u"?FormData:null,hk=typeof Blob<"u"?Blob:null,pk={isBrowser:!0,classes:{URLSearchParams:dk,FormData:fk,Blob:hk},protocols:["http","https","file","blob","url","data"]},td=typeof window<"u"&&typeof document<"u",Nc=typeof navigator=="object"&&navigator||void 0,mk=td&&(!Nc||["ReactNative","NativeScript","NS"].indexOf(Nc.product)<0),gk=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",yk=td&&window.location.href||"http://localhost",vk=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:td,hasStandardBrowserEnv:mk,hasStandardBrowserWebWorkerEnv:gk,navigator:Nc,origin:yk},Symbol.toStringTag,{value:"Module"})),dt={...vk,...pk};function wk(r,t){return Wa(r,new dt.classes.URLSearchParams,{visitor:function(s,i,l,u){return dt.isNode&&R.isBuffer(s)?(this.append(i,s.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...t})}const Yp=Gg;function Zg(r){if(r>Yp)throw new J("FormData field is too deeply nested ("+r+" levels). Max depth: "+Yp,J.ERR_FORM_DATA_DEPTH_EXCEEDED)}function xk(r){const t=[],s=/\w+|\[(\w*)]/g;let i;for(;(i=s.exec(r))!==null;)Zg(t.length),t.push(i[0]==="[]"?"":i[1]||i[0]);return t}function bk(r){const t={},s=Object.keys(r);let i;const l=s.length;let u;for(i=0;i<l;i++)u=s[i],t[u]=r[u];return t}function ey(r){function t(s,i,l,u){Zg(u);let d=s[u++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),m=u>=s.length;return d=!d&&R.isArray(l)?l.length:d,m?(R.hasOwnProp(l,d)?l[d]=R.isArray(l[d])?l[d].concat(i):[l[d],i]:l[d]=i,!h):((!R.hasOwnProp(l,d)||!R.isObject(l[d]))&&(l[d]=[]),t(s,i,l[d],u)&&R.isArray(l[d])&&(l[d]=bk(l[d])),!h)}if(R.isFormData(r)&&R.isFunction(r.entries)){const s={};return R.forEachEntry(r,(i,l)=>{t(xk(i),l,s,0)}),s}return null}const _s=(r,t)=>r!=null&&R.hasOwnProp(r,t)?r[t]:void 0;function kk(r,t,s){if(R.isString(r))try{return(t||JSON.parse)(r),R.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(s||JSON.stringify)(r)}const ai={transitional:ed,adapter:["xhr","http","fetch"],transformRequest:[function(t,s){const i=s.getContentType()||"",l=i.indexOf("application/json")>-1,u=R.isObject(t);if(u&&R.isHTMLForm(t)&&(t=new FormData(t)),R.isFormData(t))return l?JSON.stringify(ey(t)):t;if(R.isArrayBuffer(t)||R.isBuffer(t)||R.isStream(t)||R.isFile(t)||R.isBlob(t)||R.isReadableStream(t))return t;if(R.isArrayBufferView(t))return t.buffer;if(R.isURLSearchParams(t))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(u){const m=_s(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return wk(t,m).toString();if((h=R.isFileList(t))||i.indexOf("multipart/form-data")>-1){const y=_s(this,"env"),v=y&&y.FormData;return Wa(h?{"files[]":t}:t,v&&new v,m)}}return u||l?(s.setContentType("application/json",!1),kk(t)):t}],transformResponse:[function(t){const s=_s(this,"transitional")||ai.transitional,i=s&&s.forcedJSONParsing,l=_s(this,"responseType"),u=l==="json";if(R.isResponse(t)||R.isReadableStream(t))return t;if(t&&R.isString(t)&&(i&&!l||u)){const h=!(s&&s.silentJSONParsing)&&u;try{return JSON.parse(t,_s(this,"parseReviver"))}catch(m){if(h)throw m.name==="SyntaxError"?J.from(m,J.ERR_BAD_RESPONSE,this,null,_s(this,"response")):m}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dt.classes.FormData,Blob:dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch","query"],r=>{ai.headers[r]={}});function Xu(r,t){const s=this||ai,i=t||s,l=vt.from(i.headers);let u=i.data;return R.forEach(r,function(h){u=h.call(s,u,l.normalize(),t?t.status:void 0)}),l.normalize(),u}function ty(r){return!!(r&&r.__CANCEL__)}let li=class extends J{constructor(t,s,i){super(t??"canceled",J.ERR_CANCELED,s,i),this.name="CanceledError",this.__CANCEL__=!0}};function ny(r,t,s){const i=s.config.validateStatus;!s.status||!i||i(s.status)?r(s):t(new J("Request failed with status code "+s.status,s.status>=400&&s.status<500?J.ERR_BAD_REQUEST:J.ERR_BAD_RESPONSE,s.config,s.request,s))}function Sk(r){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(r);return t&&t[1]||""}function Ek(r,t){r=r||10;const s=new Array(r),i=new Array(r);let l=0,u=0,d;return t=t!==void 0?t:1e3,function(m){const y=Date.now(),v=i[u];d||(d=y),s[l]=m,i[l]=y;let w=u,S=0;for(;w!==l;)S+=s[w++],w=w%r;if(l=(l+1)%r,l===u&&(u=(u+1)%r),y-d<t)return;const P=v&&y-v;return P?Math.round(S*1e3/P):void 0}}function _k(r,t){let s=0,i=1e3/t,l,u;const d=(y,v=Date.now())=>{s=v,l=null,u&&(clearTimeout(u),u=null),r(...y)};return[(...y)=>{const v=Date.now(),w=v-s;w>=i?d(y,v):(l=y,u||(u=setTimeout(()=>{u=null,d(l)},i-w)))},()=>l&&d(l)]}const za=(r,t,s=3)=>{let i=0;const l=Ek(50,250);return _k(u=>{if(!u||typeof u.loaded!="number")return;const d=u.loaded,h=u.lengthComputable?u.total:void 0,m=h!=null?Math.min(d,h):d,y=Math.max(0,m-i),v=l(y);i=Math.max(i,m);const w={loaded:m,total:h,progress:h?m/h:void 0,bytes:y,rate:v||void 0,estimated:v&&h?(h-m)/v:void 0,event:u,lengthComputable:h!=null,[t?"download":"upload"]:!0};r(w)},s)},Jp=(r,t)=>{const s=r!=null;return[i=>t[0]({lengthComputable:s,total:r,loaded:i}),t[1]]},Xp=r=>(...t)=>R.asap(()=>r(...t)),Ck=dt.hasStandardBrowserEnv?((r,t)=>s=>(s=new URL(s,dt.origin),r.protocol===s.protocol&&r.host===s.host&&(t||r.port===s.port)))(new URL(dt.origin),dt.navigator&&/(msie|trident)/i.test(dt.navigator.userAgent)):()=>!0,Nk=dt.hasStandardBrowserEnv?{write(r,t,s,i,l,u,d){if(typeof document>"u")return;const h=[`${r}=${encodeURIComponent(t)}`];R.isNumber(s)&&h.push(`expires=${new Date(s).toUTCString()}`),R.isString(i)&&h.push(`path=${i}`),R.isString(l)&&h.push(`domain=${l}`),u===!0&&h.push("secure"),R.isString(d)&&h.push(`SameSite=${d}`),document.cookie=h.join("; ")},read(r){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let s=0;s<t.length;s++){const i=t[s].replace(/^\s+/,""),l=i.indexOf("=");if(l!==-1&&i.slice(0,l)===r)return decodeURIComponent(i.slice(l+1))}return null},remove(r){this.write(r,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Rk(r){return typeof r!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function Ak(r,t){return t?r.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):r}const Tk=/^https?:(?!\/\/)/i,Pk=/[\t\n\r]/g;function jk(r){let t=0;for(;t<r.length&&r.charCodeAt(t)<=32;)t++;return r.slice(t)}function Ok(r){return jk(r).replace(Pk,"")}function Zp(r,t){if(typeof r=="string"&&Tk.test(Ok(r)))throw new J('Invalid URL: missing "//" after protocol',J.ERR_INVALID_URL,t)}function ry(r,t,s,i){Zp(t,i);let l=!Rk(t);return r&&(l||s===!1)?(Zp(r,i),Ak(r,t)):t}const em=r=>r instanceof vt?{...r}:r;function Xr(r,t){t=t||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(v,w,S,P){return R.isPlainObject(v)&&R.isPlainObject(w)?R.merge.call({caseless:P},v,w):R.isPlainObject(w)?R.merge({},w):R.isArray(w)?w.slice():w}function l(v,w,S,P){if(R.isUndefined(w)){if(!R.isUndefined(v))return i(void 0,v,S,P)}else return i(v,w,S,P)}function u(v,w){if(!R.isUndefined(w))return i(void 0,w)}function d(v,w){if(R.isUndefined(w)){if(!R.isUndefined(v))return i(void 0,v)}else return i(void 0,w)}function h(v){const w=R.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!R.isUndefined(w))if(R.isPlainObject(w)){if(R.hasOwnProp(w,v))return w[v]}else return;const S=R.hasOwnProp(r,"transitional")?r.transitional:void 0;if(R.isPlainObject(S)&&R.hasOwnProp(S,v))return S[v]}function m(v,w,S){if(R.hasOwnProp(t,S))return i(v,w);if(R.hasOwnProp(r,S))return i(void 0,v)}const y={url:u,method:u,data:u,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,allowedSocketPaths:d,responseEncoding:d,validateStatus:m,headers:(v,w,S)=>l(em(v),em(w),S,!0)};return R.forEach(Object.keys({...r,...t}),function(w){if(w==="__proto__"||w==="constructor"||w==="prototype")return;const S=R.hasOwnProp(y,w)?y[w]:l,P=R.hasOwnProp(r,w)?r[w]:void 0,M=R.hasOwnProp(t,w)?t[w]:void 0,T=S(P,M,w);R.isUndefined(T)&&S!==m||(s[w]=T)}),R.hasOwnProp(t,"validateStatus")&&R.isUndefined(t.validateStatus)&&h("validateStatusUndefinedResolves")===!1&&(R.hasOwnProp(r,"validateStatus")?s.validateStatus=i(void 0,r.validateStatus):delete s.validateStatus),s}const Lk=["content-type","content-length"];function Ik(r,t,s){if(s!=="content-only"){r.set(t);return}Object.entries(t).forEach(([i,l])=>{Lk.includes(i.toLowerCase())&&r.set(i,l)})}const Dk=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(t,s)=>String.fromCharCode(parseInt(s,16)));function sy(r){const t=Xr({},r),s=S=>R.hasOwnProp(t,S)?t[S]:void 0,i=s("data");let l=s("withXSRFToken");const u=s("xsrfHeaderName"),d=s("xsrfCookieName");let h=s("headers");const m=s("auth"),y=s("baseURL"),v=s("allowAbsoluteUrls"),w=s("url");if(t.headers=h=vt.from(h),t.url=Xg(ry(y,w,v,t),s("params"),s("paramsSerializer")),m){const S=R.getSafeProp(m,"username")||"",P=R.getSafeProp(m,"password")||"";h.set("Authorization","Basic "+btoa(S+":"+(P?Dk(P):"")))}if(R.isFormData(i)&&(dt.hasStandardBrowserEnv||dt.hasStandardBrowserWebWorkerEnv||R.isReactNative(i)?h.setContentType(void 0):R.isFunction(i.getHeaders)&&Ik(h,i.getHeaders(),s("formDataHeaderPolicy"))),dt.hasStandardBrowserEnv&&(R.isFunction(l)&&(l=l(t)),l===!0||l==null&&Ck(t.url))){const P=u&&d&&Nk.read(d);P&&h.set(u,P)}return t}const Mk=typeof XMLHttpRequest<"u",Uk=Mk&&function(r){return new Promise(function(s,i){const l=sy(r);let u=l.data;const d=vt.from(l.headers).normalize();let{responseType:h,onUploadProgress:m,onDownloadProgress:y}=l,v,w,S,P,M;function T(){P&&P(),M&&M(),l.cancelToken&&l.cancelToken.unsubscribe(v),l.signal&&l.signal.removeEventListener("abort",v)}let k=new XMLHttpRequest;k.open(l.method.toUpperCase(),l.url,!0),k.timeout=l.timeout;function b(){if(!k)return;const O=vt.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),V={data:!h||h==="text"||h==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:O,config:r,request:k};ny(function(ie){s(ie),T()},function(ie){i(ie),T()},V),k=null}"onloadend"in k?k.onloadend=b:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.startsWith("file:"))||setTimeout(b)},k.onabort=function(){k&&(i(new J("Request aborted",J.ECONNABORTED,r,k)),T(),k=null)},k.onerror=function(D){const V=D&&D.message?D.message:"Network Error",Q=new J(V,J.ERR_NETWORK,r,k);Q.event=D||null,i(Q),T(),k=null},k.ontimeout=function(){let D=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const V=l.transitional||ed;l.timeoutErrorMessage&&(D=l.timeoutErrorMessage),i(new J(D,V.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,r,k)),T(),k=null},u===void 0&&d.setContentType(null),"setRequestHeader"in k&&R.forEach(Qg(d),function(D,V){k.setRequestHeader(V,D)}),R.isUndefined(l.withCredentials)||(k.withCredentials=!!l.withCredentials),h&&h!=="json"&&(k.responseType=l.responseType),y&&([S,M]=za(y,!0),k.addEventListener("progress",S)),m&&k.upload&&([w,P]=za(m),k.upload.addEventListener("progress",w),k.upload.addEventListener("loadend",P)),(l.cancelToken||l.signal)&&(v=O=>{k&&(i(!O||O.type?new li(null,r,k):O),k.abort(),T(),k=null)},l.cancelToken&&l.cancelToken.subscribe(v),l.signal&&(l.signal.aborted?v():l.signal.addEventListener("abort",v)));const I=Sk(l.url);if(I&&!dt.protocols.includes(I)){i(new J("Unsupported protocol "+I+":",J.ERR_BAD_REQUEST,r));return}k.send(u||null)})},Fk=(r,t)=>{if(r=r?r.filter(Boolean):[],!t&&!r.length)return;const s=new AbortController;let i=!1;const l=function(m){if(!i){i=!0,d();const y=m instanceof Error?m:this.reason;s.abort(y instanceof J?y:new li(y instanceof Error?y.message:y))}};let u=t&&setTimeout(()=>{u=null,l(new J(`timeout of ${t}ms exceeded`,J.ETIMEDOUT))},t);const d=()=>{r&&(u&&clearTimeout(u),u=null,r.forEach(m=>{m.unsubscribe?m.unsubscribe(l):m.removeEventListener("abort",l)}),r=null)};r.forEach(m=>m.addEventListener("abort",l));const{signal:h}=s;return h.unsubscribe=()=>R.asap(d),h},zk=function*(r,t){let s=r.byteLength;if(s<t){yield r;return}let i=0,l;for(;i<s;)l=i+t,yield r.slice(i,l),i=l},Bk=async function*(r,t){for await(const s of $k(r))yield*zk(s,t)},$k=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const t=r.getReader();try{for(;;){const{done:s,value:i}=await t.read();if(s)break;yield i}}finally{await t.cancel()}},tm=(r,t,s,i)=>{const l=Bk(r,t);let u=0,d,h=m=>{d||(d=!0,i&&i(m))};return new ReadableStream({async pull(m){try{const{done:y,value:v}=await l.next();if(y){h(),m.close();return}let w=v.byteLength;if(s){let S=u+=w;s(S)}m.enqueue(new Uint8Array(v))}catch(y){throw h(y),y}},cancel(m){return h(m),l.return()}},{highWaterMark:2})},Ba=r=>r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102,qk=(r,t,s)=>t+2<s&&Ba(r.charCodeAt(t+1))&&Ba(r.charCodeAt(t+2));function Hk(r){if(!r||typeof r!="string"||!r.startsWith("data:"))return 0;const t=r.indexOf(",");if(t<0)return 0;const s=r.slice(5,t),i=r.slice(t+1);if(/;base64/i.test(s)){let d=i.length;const h=i.length;for(let P=0;P<h;P++)if(i.charCodeAt(P)===37&&P+2<h){const M=i.charCodeAt(P+1),T=i.charCodeAt(P+2);Ba(M)&&Ba(T)&&(d-=2,P+=2)}let m=0,y=h-1;const v=P=>P>=2&&i.charCodeAt(P-2)===37&&i.charCodeAt(P-1)===51&&(i.charCodeAt(P)===68||i.charCodeAt(P)===100);y>=0&&(i.charCodeAt(y)===61?(m++,y--):v(y)&&(m++,y-=3)),m===1&&y>=0&&(i.charCodeAt(y)===61||v(y))&&m++;const S=Math.floor(d/4)*3-(m||0);return S>0?S:0}let u=0;for(let d=0,h=i.length;d<h;d++){const m=i.charCodeAt(d);if(m===37&&qk(i,d,h))u+=1,d+=2;else if(m<128)u+=1;else if(m<2048)u+=2;else if(m>=55296&&m<=56319&&d+1<h){const y=i.charCodeAt(d+1);y>=56320&&y<=57343?(u+=4,d++):u+=3}else u+=3}return u}const nd="1.18.0",nm=64*1024,{isFunction:ka}=R,Vk=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(t,s)=>String.fromCharCode(parseInt(s,16))),rm=r=>{if(!R.isString(r))return r;try{return decodeURIComponent(r)}catch{return r}},sm=(r,...t)=>{try{return!!r(...t)}catch{return!1}},Wk=r=>{const t=r.indexOf("://");let s=r;return t!==-1&&(s=s.slice(t+3)),s.includes("@")||s.includes(":")},Qk=r=>{const t=R.global!==void 0&&R.global!==null?R.global:globalThis,{ReadableStream:s,TextEncoder:i}=t;r=R.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},r);const{fetch:l,Request:u,Response:d}=r,h=l?ka(l):typeof fetch=="function",m=ka(u),y=ka(d);if(!h)return!1;const v=h&&ka(s),w=h&&(typeof i=="function"?(b=>I=>b.encode(I))(new i):async b=>new Uint8Array(await new u(b).arrayBuffer())),S=m&&v&&sm(()=>{let b=!1;const I=new u(dt.origin,{body:new s,method:"POST",get duplex(){return b=!0,"half"}}),O=I.headers.has("Content-Type");return I.body!=null&&I.body.cancel(),b&&!O}),P=y&&v&&sm(()=>R.isReadableStream(new d("").body)),M={stream:P&&(b=>b.body)};h&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!M[b]&&(M[b]=(I,O)=>{let D=I&&I[b];if(D)return D.call(I);throw new J(`Response type '${b}' is not supported`,J.ERR_NOT_SUPPORT,O)})});const T=async b=>{if(b==null)return 0;if(R.isBlob(b))return b.size;if(R.isSpecCompliantForm(b))return(await new u(dt.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(R.isArrayBufferView(b)||R.isArrayBuffer(b))return b.byteLength;if(R.isURLSearchParams(b)&&(b=b+""),R.isString(b))return(await w(b)).byteLength},k=async(b,I)=>{const O=R.toFiniteNumber(b.getContentLength());return O??T(I)};return async b=>{let{url:I,method:O,data:D,signal:V,cancelToken:Q,timeout:ie,onDownloadProgress:B,onUploadProgress:de,responseType:we,headers:he,withCredentials:Pe="same-origin",fetchOptions:$e,maxContentLength:Te,maxBodyLength:Le}=sy(b);const Re=R.isNumber(Te)&&Te>-1,Ce=R.isNumber(Le)&&Le>-1,K=G=>R.hasOwnProp(b,G)?b[G]:void 0;let oe=l||fetch;we=we?(we+"").toLowerCase():"text";let F=Fk([V,Q&&Q.toAbortSignal()],ie),N=null;const z=F&&F.unsubscribe&&(()=>{F.unsubscribe()});let fe,pe=null;const ue=()=>new J("Request body larger than maxBodyLength limit",J.ERR_BAD_REQUEST,b,N);try{let G;const ve=K("auth");if(ve){const ye=R.getSafeProp(ve,"username")||"",it=R.getSafeProp(ve,"password")||"";G={username:ye,password:it}}if(Wk(I)){const ye=new URL(I,dt.origin);if(!G&&(ye.username||ye.password)){const it=rm(ye.username),Jt=rm(ye.password);G={username:it,password:Jt}}(ye.username||ye.password)&&(ye.username="",ye.password="",I=ye.href)}if(G&&(he.delete("authorization"),he.set("Authorization","Basic "+btoa(Vk((G.username||"")+":"+(G.password||""))))),Re&&typeof I=="str
159ing"&&I.startsWith("data:")&&Hk(I)>Te)throw new J("maxContentLength size of "+Te+" exceeded",J.ERR_BAD_RESPONSE,b,N);if(Ce&&O!=="get"&&O!=="head"){const ye=await T(D);if(typeof ye=="number"&&isFinite(ye)&&(fe=ye,ye>Le))throw ue()}const ke=Ce&&(R.isReadableStream(D)||R.isStream(D)),ge=(ye,it,Jt)=>tm(ye,nm,Xt=>{if(Ce&&Xt>Le)throw pe=ue();it&&it(Xt)},Jt);if(S&&O!=="get"&&O!=="head"&&(de||ke)){if(fe=fe??await k(he,D),fe!==0||ke){let ye=new u(I,{method:"POST",body:D,duplex:"half"}),it;if(R.isFormData(D)&&(it=ye.headers.get("content-type"))&&he.setContentType(it),ye.body){const[Jt,Xt]=de&&Jp(fe,za(Xp(de)))||[];D=ge(ye.body,Jt,Xt)}}}else if(ke&&!m&&v&&O!=="get"&&O!=="head")D=ge(D);else if(ke&&m&&!S&&O!=="get"&&O!=="head")throw new J("Stream request bodies are not supported by the current fetch implementation",J.ERR_NOT_SUPPORT,b,N);R.isString(Pe)||(Pe=Pe?"include":"omit");const et=m&&"credentials"in u.prototype;if(R.isFormData(D)){const ye=he.getContentType();ye&&/^multipart\/form-data/i.test(ye)&&!/boundary=/i.test(ye)&&he.delete("content-type")}he.set("User-Agent","axios/"+nd,!1);const Dt={...$e,signal:F,method:O.toUpperCase(),headers:Qg(he.normalize()),body:D,duplex:"half",credentials:et?Pe:void 0};N=m&&new u(I,Dt);let ot=await(m?oe(N,$e):oe(I,Dt));const Yt=vt.from(ot.headers);if(Re){const ye=R.toFiniteNumber(Yt.getContentLength());if(ye!=null&&ye>Te)throw new J("maxContentLength size of "+Te+" exceeded",J.ERR_BAD_RESPONSE,b,N)}const Mt=P&&(we==="stream"||we==="response");if(P&&ot.body&&(B||Re||Mt&&z)){const ye={};["status","statusText","headers"].forEach(Sn=>{ye[Sn]=ot[Sn]});const it=R.toFiniteNumber(Yt.getContentLength()),[Jt,Xt]=B&&Jp(it,za(Xp(B),!0))||[];let Mn=0;const Un=Sn=>{if(Re&&(Mn=Sn,Mn>Te))throw new J("maxContentLength size of "+Te+" exceeded",J.ERR_BAD_RESPONSE,b,N);Jt&&Jt(Sn)};ot=new d(tm(ot.body,nm,Un,()=>{Xt&&Xt(),z&&z()}),ye)}we=we||"text";let Ut=await M[R.findKey(M,we)||"text"](ot,b);if(Re&&!P&&!Mt){let ye;if(Ut!=null&&(typeof Ut.byteLength=="number"?ye=Ut.byteLength:typeof Ut.size=="number"?ye=Ut.size:typeof Ut=="string"&&(ye=typeof i=="function"?new i().encode(Ut).byteLength:Ut.length)),typeof ye=="number"&&ye>Te)throw new J("maxContentLength size of "+Te+" exceeded",J.ERR_BAD_RESPONSE,b,N)}return!Mt&&z&&z(),await new Promise((ye,it)=>{ny(ye,it,{data:Ut,headers:vt.from(ot.headers),status:ot.status,statusText:ot.statusText,config:b,request:N})})}catch(G){if(z&&z(),F&&F.aborted&&F.reason instanceof J){const ve=F.reason;throw ve.config=b,N&&(ve.request=N),G!==ve&&(ve.cause=G),ve}throw pe?(N&&!pe.request&&(pe.request=N),pe):G instanceof J?(N&&!G.request&&(G.request=N),G):G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,b,N,G&&G.response),{cause:G.cause||G}):J.from(G,G&&G.code,b,N,G&&G.response)}}},Kk=new Map,oy=r=>{let t=r&&r.env||{};const{fetch:s,Request:i,Response:l}=t,u=[i,l,s];let d=u.length,h=d,m,y,v=Kk;for(;h--;)m=u[h],y=v.get(m),y===void 0&&v.set(m,y=h?new Map:Qk(t)),v=y;return y};oy();const rd={http:ak,xhr:Uk,fetch:{get:oy}};R.forEach(rd,(r,t)=>{if(r){try{Object.defineProperty(r,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(r,"adapterName",{__proto__:null,value:t})}});const om=r=>`- ${r}`,Gk=r=>R.isFunction(r)||r===null||r===!1;function Yk(r,t){r=R.isArray(r)?r:[r];const{length:s}=r;let i,l;const u={};for(let d=0;d<s;d++){i=r[d];let h;if(l=i,!Gk(i)&&(l=rd[(h=String(i)).toLowerCase()],l===void 0))throw new J(`Unknown adapter '${h}'`);if(l&&(R.isFunction(l)||(l=l.get(t))))break;u[h||"#"+d]=l}if(!l){const d=Object.entries(u).map(([m,y])=>`adapter ${m} `+(y===!1?"is not supported by the environment":"is not available in the build"));let h=s?d.length>1?`since : 160`+d.map(om).join(` 161`):" "+om(d[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return l}const iy={getAdapter:Yk,adapters:rd};function Zu(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new li(null,r)}function im(r){return Zu(r),r.headers=vt.from(r.headers),r.data=Xu.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),iy.getAdapter(r.adapter||ai.adapter,r)(r).then(function(i){Zu(r),r.response=i;try{i.data=Xu.call(r,r.transformResponse,i)}finally{delete r.response}return i.headers=vt.from(i.headers),i},function(i){if(!ty(i)&&(Zu(r),i&&i.response)){r.response=i.response;try{i.response.data=Xu.call(r,r.transformResponse,i.response)}finally{delete r.response}i.response.headers=vt.from(i.response.headers)}return Promise.reject(i)})}const Qa={};["object","boolean","number","function","string","symbol"].forEach((r,t)=>{Qa[r]=function(i){return typeof i===r||"a"+(t<1?"n ":" ")+r}});const am={};Qa.transitional=function(t,s,i){function l(u,d){return"[Axios v"+nd+"] Transitional option '"+u+"'"+d+(i?". "+i:"")}return(u,d,h)=>{if(t===!1)throw new J(l(d," has been removed"+(s?" in "+s:"")),J.ERR_DEPRECATED);return s&&!am[d]&&(am[d]=!0,console.warn(l(d," has been deprecated since v"+s+" and will be removed in the near future"))),t?t(u,d,h):!0}};Qa.spelling=function(t){return(s,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function Jk(r,t,s){if(typeof r!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const i=Object.keys(r);let l=i.length;for(;l-- >0;){const u=i[l],d=Object.prototype.hasOwnProperty.call(t,u)?t[u]:void 0;if(d){const h=r[u],m=h===void 0||d(h,u,r);if(m!==!0)throw new J("option "+u+" must be "+m,J.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new J("Unknown option "+u,J.ERR_BAD_OPTION)}}const Pa={assertOptions:Jk,validators:Qa},gt=Pa.validators;let Gr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Gp,response:new Gp}}async request(t,s){try{return await this._request(t,s)}catch(i){if(i instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const u=(()=>
vendor: 3,918 bytes, lines 161-165
161{if(!l.stack)return"";const d=l.stack.indexOf(` 162`);return d===-1?"":l.stack.slice(d+1)})();try{if(!i.stack)i.stack=u;else if(u){const d=u.indexOf(` 163`),h=d===-1?-1:u.indexOf(` 164`,d+1),m=h===-1?"":u.slice(h+1);String(i.stack).endsWith(m)||(i.stack+=` 165`+u)}}catch{}}throw i}}_request(t,s){typeof t=="string"?(s=s||{},s.url=t):s=t||{},s=Xr(this.defaults,s);const{transitional:i,paramsSerializer:l,headers:u}=s;i!==void 0&&Pa.assertOptions(i,{silentJSONParsing:gt.transitional(gt.boolean),forcedJSONParsing:gt.transitional(gt.boolean),clarifyTimeoutError:gt.transitional(gt.boolean),legacyInterceptorReqResOrdering:gt.transitional(gt.boolean),advertiseZstdAcceptEncoding:gt.transitional(gt.boolean),validateStatusUndefinedResolves:gt.transitional(gt.boolean)},!1),l!=null&&(R.isFunction(l)?s.paramsSerializer={serialize:l}:Pa.assertOptions(l,{encode:gt.function,serialize:gt.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Pa.assertOptions(s,{baseUrl:gt.spelling("baseURL"),withXsrfToken:gt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let d=u&&R.merge(u.common,u[s.method]);u&&R.forEach(["delete","get","head","post","put","patch","query","common"],M=>{delete u[M]}),s.headers=vt.concat(d,u);const h=[];let m=!0;this.interceptors.request.forEach(function(T){if(typeof T.runWhen=="function"&&T.runWhen(s)===!1)return;m=m&&T.synchronous;const k=s.transitional||ed;k&&k.legacyInterceptorReqResOrdering?h.unshift(T.fulfilled,T.rejected):h.push(T.fulfilled,T.rejected)});const y=[];this.interceptors.response.forEach(function(T){y.push(T.fulfilled,T.rejected)});let v,w=0,S;if(!m){const M=[im.bind(this),void 0];for(M.unshift(...h),M.push(...y),S=M.length,v=Promise.resolve(s);w<S;)v=v.then(M[w++],M[w++]);return v}S=h.length;let P=s;for(;w<S;){const M=h[w++],T=h[w++];try{P=M(P)}catch(k){T.call(this,k);break}}try{v=im.call(this,P)}catch(M){return Promise.reject(M)}for(w=0,S=y.length;w<S;)v=v.then(y[w++],y[w++]);return v}getUri(t){t=Xr(this.defaults,t);const s=ry(t.baseURL,t.url,t.allowAbsoluteUrls,t);return Xg(s,t.params,t.paramsSerializer)}};R.forEach(["delete","get","head","options"],function(t){Gr.prototype[t]=function(s,i){return this.request(Xr(i||{},{method:t,url:s,data:i&&R.hasOwnProp(i,"data")?i.data:void 0}))}});R.forEach(["post","put","patch","query"],function(t){function s(i){return function(u,d,h){return this.request(Xr(h||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:u,data:d}))}}Gr.prototype[t]=s(),t!=="query"&&(Gr.prototype[t+"Form"]=s(!0))});let Xk=class ay{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(u){s=u});const i=this;this.promise.then(l=>{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](l);i._listeners=null}),this.promise.then=l=>{let u;const d=new Promise(h=>{i.subscribe(h),u=h}).then(l);return d.cancel=function(){i.unsubscribe(u)},d},t(function(u,d,h){i.reason||(i.reason=new li(u,d,h),s(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const s=this._listeners.indexOf(t);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const t=new AbortController,s=i=>{t.abort(i)};return this.subscribe(s),t.signal.unsubscribe=()=>this.unsubscribe(s),t.signal}static source(){let t;return{token:new ay(function(l){t=l}),cancel:t}}};function Zk(r){return function(s){return r.apply(null,s)}}function eS(r){return R.isObject(r)&&r.isAxiosError===!0}const Rc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
165alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Rc).forEach(([r,t])=>{Rc[t]=r});function ly(r){const t=new Gr(r),s=Ug(Gr.prototype.request,t);return R.extend(s,Gr.prototype,t,{allOwnKeys:!0}),R.extend(s,t,null,{allOwnKeys:!0}),s.create=function(l){return ly(Xr(r,l))},s}const Qe=ly(ai);Qe.Axios=Gr;Qe.CanceledError=li;Qe.CancelToken=Xk;Qe.isCancel=ty;Qe.VERSION=nd;Qe.toFormData=Wa;Qe.AxiosError=J;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=Zk;Qe.isAxiosError=eS;Qe.mergeConfig=Xr;Qe.AxiosHeaders=vt;Qe.formToJSON=r=>ey(R.isHTMLForm(r)?new FormData(r):r);Qe.getAdapter=iy.getAdapter;Qe.HttpStatusCode=Rc;Qe.default=Qe;const{Axios:dC,AxiosError:fC,CanceledError:hC,isCancel:pC,CancelToken:mC,VERSION:gC,all:yC,Cancel:vC,isAxiosError:wC,spread:xC,toFormData:bC,AxiosHeaders:kC,HttpStatusCode:SC,formToJSON:EC,getAdapter:_C,mergeConfig:CC,create:NC}=Qe,tS=typeof window>"u",lm=!tS&&window.self!==window.top,ec=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),ut=[];for(let r=0;r<256;++r)ut.push((r+256).toString(16).slice(1));function nS(r,t=0){return(ut[r[t+0]]+ut[r[t+1]]+ut[r[t+2]]+ut[r[t+3]]+"-"+ut[r[t+4]]+ut[r[t+5]]+"-"+ut[r[t+6]]+ut[r[t+7]]+"-"+ut[r[t+8]]+ut[r[t+9]]+"-"+ut[r[t+10]]+ut[r[t+11]]+ut[r[t+12]]+ut[r[t+13]]+ut[r[t+14]]+ut[r[t+15]]).toLowerCase()}let tc;const rS=new Uint8Array(16);function sS(){if(!tc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");tc=crypto.getRandomValues.bind(crypto)}return tc(rS)}const oS=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),um={randomUUID:oS};function iS(r,t,s){var l;r=r||{};const i=r.random??((l=r.rng)==null?void 0:l.call(r))??sS();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,nS(i)}function aS(r,t,s){return um.randomUUID&&!r?um.randomUUID():iS(r)}const Io=typeof window<"u"?window:{base44SharedInstances:{}};function lS(r,t){return Io.base44SharedInstances||(Io.base44SharedInstances={}),Io.base44SharedInstances[r]||(Io.base44SharedInstances[r]={instance:t()}),Io.base44SharedInstances[r].instance}const uS="__user_heartbeat_event__",cS="__initialization_event__",dS="__session_duration_event__",cm="analytics-enable",dm="base44_analytics_session_id",fS={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},hS="analytics",Ie=lS(hS,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...fS,...bS()}})),pS=({axiosClient:r,serverUrl:t,appId:s,userAuthModule:i})=>{var l;const{maxQueueSize:u,throttleTime:d,batchSize:h}=Ie.config;if(!(!((l=Ie.config)===null||l===void 0)&&l.enabled))return{track:()=>{},cleanup:()=>{}};let m;const y=`${t}/api/apps/${s}/analytics/track/batch`,v=async O=>{await r.request({method:"POST",url:`/apps/${s}/analytics/track/batch`,data:{events:O}})},w=O=>{try{const D=JSON.stringify({events:O}),V=new Blob([D],{type:"application/json"});return typeof navigator>"u"||D.length>6e4||!navigator.sendBeacon(y,V)}catch{return!1}},S=async(O,D={})=>
165{if(O.length===0)return;const V=await xS(i),Q=O.map(wS(V));try{(!D.isBeacon||!w(Q))&&await v(Q)}catch{}},P=()=>{hm(S,{throttleTime:d,batchSize:h})},M=O=>{if(Ie.requestsQueue.length>=u)return;const D=vS();Ie.requestsQueue.push({...O,...D}),P()},T=()=>{hm(S,{throttleTime:d,batchSize:h}),m=pm(M),gS()},k=()=>{fm(),m==null||m(),yS(M);const O=Ie.requestsQueue.splice(0);S(O,{isBeacon:!0})},b=()=>{typeof window>"u"||(document.visibilityState==="hidden"?k():document.visibilityState==="visible"&&T())},I=()=>{fm(),m==null||m(),typeof window<"u"&&window.removeEventListener("visibilitychange",b)};return P(),m=pm(M),mS(M),typeof window<"u"&&window.addEventListener("visibilitychange",b),{track:M,cleanup:I}};function fm(){Ie.isProcessing=!1}async function hm(r,t){if(Ie.isProcessing)return;Ie.isProcessing=!0;const{throttleTime:s=1e3,batchSize:i=30}=t??{};for(;Ie.isProcessing&&Ie.requestsQueue.length>0;){const l=Ie.requestsQueue.splice(0,i);l.length&&await r(l),await new Promise(u=>setTimeout(u,s))}Ie.isProcessing=!1}function pm(r){var t;if(Ie.isHeartBeatProcessing||((t=Ie.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Ie.isHeartBeatProcessing=!0;const s=setInterval(()=>{r({eventName:uS})},Ie.config.heartBeatInterval);return()=>{clearInterval(s),Ie.isHeartBeatProcessing=!1}}function mS(r){typeof window>"u"||Ie.wasInitializationTracked||(Ie.wasInitializationTracked=!0,r({eventName:cS,properties:{referrer:document==null?void 0:document.referrer}}))}function gS(){typeof window>"u"||Ie.sessionStartTime!==null||(Ie.sessionStartTime=new Date().toISOString())}function yS(r){if(typeof window>"u"||Ie.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Ie.sessionStartTime).getTime();Ie.sessionStartTime=null,r({eventName:dS,properties:{sessionDuration:t}})}function vS(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function wS(r){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...r})}let nc=null;async function xS(r){if(!Ie.sessionContext){if(!nc){const t=sd();nc=r.me().then(s=>({user_id:s.id,session_id:t})).catch(()=>({user_id:null,session_id:t}))}Ie.sessionContext=await nc}return Ie.sessionContext}function bS(){if(typeof window>"u")return;const t=new URLSearchParams(window.location.search).get(cm);if(t==null||!t.length)return;const s=new URLSearchParams(window.location.search);s.delete(cm);const i=window.location.pathname+(s.toString()?"?"+s.toString():"");return window.history.replaceState({},"",i),{enabled:t==="true"}}
165function sd(){if(typeof window>"u")return ec();try{const r=localStorage.getItem(dm);if(!r){const t=ec();return localStorage.setItem(dm,t),t}return r}catch{return ec()}}class kS extends Error{constructor(t,s,i,l,u){super(t),this.name="Base44Error",this.status=s,this.code=i,this.data=l,this.originalError=u}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Fo({baseURL:r,headers:t={},token:s,interceptResponses:i=!0,onError:l}){const u=Qe.create({baseURL:r,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return s&&(u.defaults.headers.common.Authorization=`Bearer ${s}`),u.interceptors.request.use(d=>{typeof window<"u"&&(d.headers.set("X-Origin-URL",window.location.href),d.headers.get("Authorization")||d.headers.set("X-Base44-Anonymous-Id",sd()));const h=aS();if(d.requestId=h,lm)try{window.parent.postMessage({type:"api-request-start",requestId:h,data:{url:r+d.url,method:d.method,body:d.data instanceof FormData?"[FormData object]":d.data}},"*")}catch{}return d}),i&&u.interceptors.response.use(d=>{var h;const m=(h=d.config)===null||h===void 0?void 0:h.requestId;try{lm&&m&&window.parent.postMessage({type:"api-request-end",requestId:m,data:{statusCode:d.status,response:d.data}},"*")}catch{}return d.data},d=>{var h,m,y,v,w,S,P,M;const T=((m=(h=d.response)===null||h===void 0?void 0:h.data)===null||m===void 0?void 0:m.message)||((v=(y=d.response)===null||y===void 0?void 0:y.data)===null||v===void 0?void 0:v.detail)||d.message,k=new kS(T,(w=d.response)===null||w===void 0?void 0:w.status,(P=(S=d.response)===null||S===void 0?void 0:S.data)===null||P===void 0?void 0:P.code,(M=d.response)===null||M===void 0?void 0:M.data,d);return l==null||l(k),Promise.reject(k)}),u}function mm(r){const{axios:t,appId:s,getSocket:i}=r;return new Proxy({},{get(l,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return ES(t,s,u,i)}})}function SS(r){var t;try{const s=JSON.parse(r);return{type:s.type,data:s.data,id:s.id||((t=s.data)===null||t===void 0?void 0:t.id),timestamp:s.timestamp||new Date().toISOString()}}catch(s){return console.warn("[Base44 SDK] Failed to parse realtime message:",s),null}}function ES(r,t,s,i){const l=`/apps/${t}/entities/${s}`;return{async list(u,d,h,m){const y={};return u&&(y.sort=u),d&&(y.limit=d),h&&(y.skip=h),m&&(y.fields=Array.isArray(m)?m.join(","):m),r.get(l,{params:y})},async filter(u,d,h,m,y){const v={q:JSON.stringify(u)};return d&&(v.sort=d),h&&(v.limit=h),m&&(v.skip=m),y&&(v.fields=Array.isArray(y)?y.join(","):y),r.get(l,{params:v})},async get(u){return r.get(`${l}/${u}`)},async create(u){return r.post(l,u)},async update(u,d){return r.put(`${l}/${u}`,d)},async delete(u){return r.delete(`${l}/${u}`)},async deleteMany(u){return r.delete(l,{data:u})},async bulkCreate(u){return r.post(`${l}/bulk`,u)},async updateMany(u,d){return r.patch(`${l}/update-many`,{query:u,data:d})},async bulkUpdate(u){return r.put(`${l}/bulk`,u)},async importEntities(u){const d=new FormData;return d.append("file",u,u.name),r.post(`${l}/import`,d,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(u){const d=`entities:${t}:${s}`;return i().subscribeToRoom(d,{update_model:y=>{var v;const w=SS(y.data);if(w){w.type!=="delete"&&(!((v=w.data)===null||v===void 0)&&v._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${s}#${w.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${s}.get("${w.id}")\` to fetch the full record.`);try{u(w)}catch(S){console.error("[Base44 SDK] Subscription callback error:",S)}}}})}}}function _S(r,t){return{async call(s,i,l){if(!(s!=null&&s.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(i!=null&&i.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:u,queryParams:d,...h}=l??{},m={...h,...u&&{path_params:u},...d&&{query_params:d}};return await r.post(`/apps/${t}/integrations/custom/${s}/${i}`,m)}}}function gm(r,t){const s=_S(r,t);return new Proxy({},{get(i,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return l==="custom"?s:new Proxy({},{get(u,d){if(!(typeof d!="string"||d==="then"||d.startsWith("_")))return async h=>{if(typeof h=="string")throw new Error(`Integration ${d} must receive an object with named parameters, received: ${h}`);let m,y;return h instanceof FormData||h&&Object.values(h).some(v=>
165v instanceof File)?(m=new FormData,Object.keys(h).forEach(v=>{h[v]instanceof File?m.append(v,h[v],h[v].name):typeof h[v]=="object"&&h[v]!==null?m.append(v,JSON.stringify(h[v])):m.append(v,h[v])}),y="multipart/form-data"):(m=h,y="application/json"),l==="Core"?r.post(`/apps/${t}/integration-endpoints/Core/${d}`,m||h,{headers:{"Content-Type":y}}):r.post(`/apps/${t}/integration-endpoints/installable/${l}/integration-endpoints/${d}`,m||h,{headers:{"Content-Type":y}})}}})}})}function CS(){return typeof window>"u"?!1:window!==window.parent}function NS(r,t,s){const u=Math.round(window.screenX+(window.outerWidth-500)/2),d=Math.round(window.screenY+(window.outerHeight-600)/2),h=window.open(r,"base44_auth",`width=500,height=600,left=${u},top=${d},resizable=yes,scrollbars=yes`);if(!h)return;const m=()=>{window.removeEventListener("message",y),clearInterval(v),h.closed||h.close()},y=w=>{var S;if(w.origin!==s||w.source!==h||!(!((S=w.data)===null||S===void 0)&&S.access_token))return;m();const P=new URL(t),{access_token:M,is_new_user:T}=w.data;P.searchParams.set("access_token",M),T!=null&&P.searchParams.set("is_new_user",String(T)),window.location.href=P.toString()},v=setInterval(()=>{h.closed&&m()},500);window.addEventListener("message",y)}function RS(r,t,s,i){return{async me(){return r.get(`/apps/${s}/entities/User/me`)},async updateMe(l){return r.put(`/apps/${s}/entities/User/me`,l)},redirectToLogin(l){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const u=l?new URL(l,window.location.origin).toString():window.location.href,d=`${i.appBaseUrl}/login?from_url=${encodeURIComponent(u)}`;window.location.href=d},loginWithProvider(l,u="/"){const d=new URL(u,window.location.origin).toString(),h=`app_id=${s}&from_url=${encodeURIComponent(d)}`;let m;l==="sso"?m=`/apps/${s}/auth/sso/login`:m=`/apps/auth${l==="google"?"":`/${l}`}/login`;const y=`${i.appBaseUrl}/api${m}?${h}`;if(CS()){const v=`${y}&popup_origin=${encodeURIComponent(window.location.origin)}`;return NS(v,d,window.location.origin)}window.location.href=y},logout(l){if(delete r.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(h){console.error("Failed to remove token from localStorage:",h)}const u=l||window.location.href,d=`${i.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(u)}`;window.location.href=d}},setToken(l,u=!0){if(l&&(r.defaults.headers.common.Authorization=`Bearer ${l}`,t.defaults.headers.common.Authorization=`Bearer ${l}`,u&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",l),window.localStorage.setItem("token",l)}catch(d){console.error("Failed to save token to localStorage:",d)}},async loginViaEmailPassword(l,u,d){var h;try{const m=await r.post(`/apps/${s}/auth/login`,{email:l,password:u,...d&&{turnstile_token:d}}),{access_token:y,user:v}=m;return y&&this.setToken(y),{access_token:y,user:v}}catch(m){throw((h=m.response)===null||h===void 0?void 0:h.status)===401&&await this.logout(),m}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(l,u){return r.post(`/apps/${s}/users/invite-user`,{user_email:l,role:u})},register(l){return r.post(`/apps/${s}/auth/register`,l)},verifyOtp({email:l,otpCode:u}){return r.post(`/apps/${s}/auth/verify-otp`,{email:l,otp_code:u})},resendOtp(l){return r.post(`/apps/${s}/auth/resend-otp`,{email:l})},resetPasswordRequest(l){return r.post(`/apps/${s}/auth/reset-password-request`,{email:l})},resetPassword({resetToken:l,newPassword:u}){return r.post(`/apps/${s}/auth/reset-password`,{reset_token:l,new_password:u})},changePassword({userId:l,currentPassword:u,newPassword:d}){return r.post(`/apps/${s}/auth/change-password`,{user_id:l,current_password:u,new_password:d})}}}function AS(r,t){return{async getAccessToken(s){const i=`/apps/${t}/auth/sso/accesstoken/${s}`;return r.get(i)}}}function TS(r,t){return{async getAccessToken(s){if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");return(await r.get(`/apps/${t}/external-auth/tokens/${s}`)).access_token},async getConnection(s){var i;
165if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");const u=await r.get(`/apps/${t}/external-auth/tokens/${s}`);return{accessToken:u.access_token,connectionConfig:(i=u.connection_config)!==null&&i!==void 0?i:null}},async getWorkspaceConnection(s){var i;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await r.get(`/apps/${t}/external-auth/tokens/connectors/${s}`);return{accessToken:u.access_token,connectionConfig:(i=u.connection_config)!==null&&i!==void 0?i:null}},async getCurrentAppUserAccessToken(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await r.get(`/apps/${t}/app-user-auth/connectors/${s}/token`)).access_token},async getCurrentAppUserConnection(s){var i;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await r.get(`/apps/${t}/app-user-auth/connectors/${s}/token`);return{accessToken:u.access_token,connectionConfig:(i=u.connection_config)!==null&&i!==void 0?i:null}}}}function PS(r,t){return{async connectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await r.post(`/apps/${t}/app-user-auth/connectors/${s}/initiate`)).redirect_url},async disconnectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");await r.delete(`/apps/${t}/app-user-auth/connectors/${s}`)}}}function Jo(r={}){const{storageKey:t="base44_access_token",paramName:s="access_token",saveToStorage:i=!0,removeFromUrl:l=!0}=r;let u=null;if(typeof window<"u"&&window.location)try{const d=new URLSearchParams(window.location.search);if(u=d.get(s),u){if(i&&jS(u,{storageKey:t}),l){d.delete(s);const h=`${window.location.pathname}${d.toString()?`?${d.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}return u}}catch(d){console.error("Error retrieving token from URL:",d)}if(typeof window<"u"&&window.localStorage)try{return u=window.localStorage.getItem(t),u}catch(d){console.error("Error retrieving token from local storage:",d)}return null}function jS(r,t){const{storageKey:s="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!r)return!1;try{return window.localStorage.setItem(s,r),window.localStorage.setItem("token",r),!0}catch(i){return console.error("Error saving token to local storage:",i),!1}}function ym(r,t,s){const i=(u,d)=>u?`${String(u).replace(/\/$/,"")}${d}`:d,l=u=>{const d=new Headers;if(s!=null&&s.getAuthHeaders){const h=s.getAuthHeaders();Object.entries(h).forEach(([m,y])=>{y!=null&&d.set(m,String(y))})}return u&&new Headers(u).forEach((h,m)=>{d.set(m,h)}),d};return{async invoke(u,d){if(typeof d=="string")throw new Error(`Function ${u} must receive an object with named parameters, received: ${d}`);let h,m;return d instanceof FormData||d&&Object.values(d).some(y=>y instanceof File)?(h=new FormData,Object.keys(d).forEach(y=>{d[y]instanceof File?h.append(y,d[y],d[y].name):typeof d[y]=="object"&&d[y]!==null?h.append(y,JSON.stringify(d[y])):h.append(y,d[y])}),m="multipart/form-data"):(h=d,m="application/json"),r.post(`/apps/${t}/functions/${u}`,h||d,{headers:{"Content-Type":m}})},async fetch(u,d={}){const m=`/functions${u.startsWith("/")?u:`/${u}`}`,y=l(d.headers),v={...d,headers:y};return await fetch(i(s==null?void 0:s.baseURL,m),v)}}}function vm({axios:r,getSocket:t,appId:s,serverUrl:i,token:l}){const u=`/apps/${s}/agents`,d={},h=()=>r.get(`${u}/conversations`),m=T=>r.get(`${u}/conversations/${T}`);return{getConversations:h,getConversation:m,listConversations:T=>r.get(`${u}/conversations`,{params:T}),createConversation:T=>r.post(`${u}/conversations`,T),addMessage:async(T,k)=>r.post(`${u}/conversations/v2/${T.id}/messages`,k),subscribeToConversation:(T,k)=>{const b=`/agent-conversations/${T}`,I=t(),O=m(T).then(D=>(d[T]=D,D));return I.subscribeToRoom(b,{connect:()=>{},update_model:async({data:D})=>{const V=JSON.parse(D);if(V._message){await O;const Q=V._message,ie=d[T];if(ie){const B=ie.messages||[],de=B.findIndex(he=>he.id===Q.id),we=de!==-1?B.map((he,Pe)=>Pe===de?Q:he):[...B,Q];d[T]={...ie,messages:we},k==null||k(d[T])}}}})},getWhatsAppConnectURL:T=>{const k=`${i}/api/apps/${s}/agents/${encodeURIComponent(T)}
165/whatsapp`,b=l??Jo();return b?`${k}?token=${b}`:k},getTelegramConnectURL:T=>{const k=`${i}/api/apps/${s}/agents/${encodeURIComponent(T)}/telegram`,b=l??Jo();return b?`${k}?token=${b}`:k}}}function wm(r,t){const s=`/app-logs/${t}`;return{async logUserInApp(i){await r.post(`${s}/log-user-in-app/${i}`)},async fetchLogs(i={}){return await r.get(s,{params:i})},async getStats(i={}){return await r.get(`${s}/stats`,{params:i})}}}function OS(r,t){return{async inviteUser(s,i){if(i!=="user"&&i!=="admin")throw new Error(`Invalid role: "${i}". Role must be either "user" or "admin".`);return await r.post(`/apps/${t}/runtime/users/invite-user`,{user_email:s,role:i})}}}const kn=Object.create(null);kn.open="0";kn.close="1";kn.ping="2";kn.pong="3";kn.message="4";kn.upgrade="5";kn.noop="6";const ja=Object.create(null);Object.keys(kn).forEach(r=>{ja[kn[r]]=r});const Ac={type:"error",data:"parser error"},uy=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",cy=typeof ArrayBuffer=="function",dy=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,od=({type:r,data:t},s,i)=>uy&&t instanceof Blob?s?i(t):xm(t,i):cy&&(t instanceof ArrayBuffer||dy(t))?s?i(t):xm(new Blob([t]),i):i(kn[r]+(t||"")),xm=(r,t)=>{const s=new FileReader;return s.onload=function(){const i=s.result.split(",")[1];t("b"+(i||""))},s.readAsDataURL(r)};function bm(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}let rc;function LS(r,t){if(uy&&r.data instanceof Blob)return r.data.arrayBuffer().then(bm).then(t);if(cy&&(r.data instanceof ArrayBuffer||dy(r.data)))return t(bm(r.data));od(r,!1,s=>{rc||(rc=new TextEncoder),t(rc.encode(s))})}const km="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<km.length;r++)zo[km.charCodeAt(r)]=r;const IS=r=>{let t=r.length*.75,s=r.length,i,l=0,u,d,h,m;r[r.length-1]==="="&&(t--,r[r.length-2]==="="&&t--);const y=new ArrayBuffer(t),v=new Uint8Array(y);for(i=0;i<s;i+=4)u=zo[r.charCodeAt(i)],d=zo[r.charCodeAt(i+1)],h=zo[r.charCodeAt(i+2)],m=zo[r.charCodeAt(i+3)],v[l++]=u<<2|d>>4,v[l++]=(d&15)<<4|h>>2,v[l++]=(h&3)<<6|m&63;return y},DS=typeof ArrayBuffer=="function",id=(r,t)=>{if(typeof r!="string")return{type:"message",data:fy(r,t)};const s=r.charAt(0);return s==="b"?{type:"message",data:MS(r.substring(1),t)}:ja[s]?r.length>1?{type:ja[s],data:r.substring(1)}:{type:ja[s]}:Ac},MS=(r,t)=>{if(DS){const s=IS(r);return fy(s,t)}else return{base64:!0,data:r}},fy=(r,t)=>{switch(t){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}},hy="�",US=(r,t)=>{const s=r.length,i=new Array(s);let l=0;r.forEach((u,d)=>{od(u,!1,h=>{i[d]=h,++l===s&&t(i.join(hy))})})},FS=(r,t)=>{const s=r.split(hy),i=[];for(let l=0;l<s.length;l++){const u=id(s[l],t);if(i.push(u),u.type==="error")break}return i};function zS(){return new TransformStream({transform(r,t){LS(r,s=>{const i=s.length;let l;if(i<126)l=new Uint8Array(1),new DataView(l.buffer).setUint8(0,i);else if(i<65536){l=new Uint8Array(3);const u=new DataView(l.buffer);u.setUint8(0,126),u.setUint16(1,i)}else{l=new Uint8Array(9);const u=new DataView(l.buffer);u.setUint8(0,127),u.setBigUint64(1,BigInt(i))}r.data&&typeof r.data!="string"&&(l[0]|=128),t.enqueue(l),t.enqueue(s)})}})}let sc;function Sa(r){return r.reduce((t,s)=>t+s.length,0)}function Ea(r,t){if(r[0].length===t)return r.shift();const s=new Uint8Array(t);let i=0;for(let l=0;l<t;l++)s[l]=r[0][i++],i===r[0].length&&(r.shift(),i=0);return r.length&&i<r[0].length&&(r[0]=r[0].slice(i)),s}function BS(r,t){sc||(sc=new TextDecoder);const s=[];let i=0,l=-1,u=!1;return new TransformStream({transform(d,h){for(s.push(d);;){if(i===0){if(Sa(s)<1)break;const m=Ea(s,1);u=(m[0]&128)===128,l=m[0]&127,l<126?i=3:l===126?i=1:i=2}else if(i===1){if(Sa(s)<2)break;const m=Ea(s,2);l=new DataView(m.buffer,m.byteOffset,m.length).getUint16(0),i=3}else if(i===2){if(Sa(s)<8)break;const m=Ea(s,8),y=new DataView(m.buffer,m.byteOffset,m.length),v=y.getUint32(0);if(v>Math.pow(2,21)-1){h.enqueue(Ac);break}l=v*Math.pow(2,32)+y.getUint32(4),i=3}else{if(Sa(s)<l)break;const m=Ea(s,l);h.enqueue(id(u?m:sc.decode(m),t)),i=0}if(l===0||l>r){h.enqueue(Ac);break}}}})}const py=4;function Ge(r){if(r)return $S(r)}function $S(r){for(var t in Ge.prototype)r[t]=Ge.prototype[t];return r}Ge.prototype.on=Ge.prototype.addEventListener=function(r,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(t),this};Ge.prototype.once=function(r,t){function s(){this.off(r,s),t.apply(this,arguments)}return s.fn=t,this.on(r,s),this};Ge.prototype.off=Ge.prototype.removeListener=Ge.prototype.removeAllListeners=Ge.prototype.removeEventListener=function(r,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+r];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var i,l=0;l<s.length;l++)if(i=s[l],i===t||i.fn===t){s.splice(l,1);break}return s.length===0&&delete this._callbacks["$"+r],this};Ge.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),s=this._callbacks["$"+r],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(s){s=s.slice(0);for(var i=0,l=s.length;i<l;++i)s[i].apply(this,t)}return this};Ge.prototype.emitReserved=Ge.prototype.emit;Ge.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};Ge.prototype.hasListeners=function(r){return!!this.listeners(r).length};const Ka=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,s)=>s(t,0),Gt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),qS="arraybuffer";function my(r,...t){return t.reduce((s,i)=>(r.hasOwnProperty(i)&&(s[i]=r[i]),s),{})}const HS=Gt.setTimeout,VS=Gt.clearTimeout;function Ga(r,t){t.useNativeTimers?(r.setTimeoutFn=HS.bind(Gt),r.clearTimeoutFn=VS.bind(Gt)):(r.setTimeoutFn=Gt.setTimeout.bind(Gt),r.clearTimeoutFn=Gt.clearTimeout.bind(Gt))}const WS=1.33;function QS(r){return typeof r=="string"?KS(r):Math.ceil((r.byteLength||r.size)*WS)}function KS(r){let t=0,s=0;for(let i=0,l=r.length;i<l;i++)t=r.charCodeAt(i),t<128?s+=1:t<2048?s+=2:t<55296||t>=57344?s+=3:(i++,s+=4);return s}function gy(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function GS(r){let t="";for(let s in r)r.hasOwnProperty(s)&&(t.length&&(t+="&"),t+=encodeURIComponent(s)+"="+encodeURIComponent(r[s]));return t}function YS(r){let t={},s=r.split("&");for(let i=0,l=s.length;i<l;i++){let u=s[i].split("=");
vendor: 5,415 bytes, line 165
165t[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return t}class JS extends Error{constructor(t,s,i){super(t),this.description=s,this.context=i,this.type="TransportError"}}class ad extends Ge{constructor(t){super(),this.writable=!1,Ga(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,s,i){return super.emitReserved("error",new JS(t,s,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const s=id(t,this.socket.binaryType);this.onPacket(s)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,s={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const s=GS(t);return s.length?"?"+s:""}}class XS extends ad{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const s=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||s()})),this.writable||(i++,this.once("drain",function(){--i||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const s=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};FS(t,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,US(t,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=gy()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(t,s)}}let yy=!1;try{yy=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const ZS=yy;function eE(){}class tE extends XS{constructor(t){if(super(t),typeof location<"u"){const s=location.protocol==="https:";let i=location.port;i||(i=s?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port}}doWrite(t,s){const i=this.request({method:"POST",data:t});i.on("success",s),i.on("error",(l,u)=>{this.onError("xhr post error",l,u)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(s,i)=>{this.onError("xhr poll error",s,i)}),this.pollXhr=t}}class xn extends Ge{constructor(t,s,i){super(),this.createRequest=t,Ga(this,i),this._opts=i,this._method=i.method||"GET",this._uri=s,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var t;const s=my(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(s);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let l in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(l)&&i.setRequestHeader(l,this._opts.extraHeaders[l])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var l;i.readyState===3&&((l=this._opts.cookieJar)===null||l===void 0||l.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(l){this.setTimeoutFn(()=>{this._onError(l)},0);return}typeof document<"u"&&(this._index=xn.requestsCount++,xn.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=eE,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete xn.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}xn.requestsCount=0;xn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Sm);else if(typeof addEventListener=="function"){const r="onpagehide"in Gt?"pagehide":"unload";addEventListener(r,Sm,!1)}}function Sm(){for(let r in xn.requests)xn.requests.hasOwnProperty(r)&&xn.requests[r].abort()}const nE=(function(){const r=vy({xdomain:!1});return r&&r.responseType!==null})();class rE extends tE{constructor(t){super(t);const s=t&&t.forceBase64;this.supportsBinary=nE&&!s}
vendor: 20,271 bytes, line 165
165request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new xn(vy,this.uri(),t)}}function vy(r){const t=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||ZS))return new XMLHttpRequest}catch{}if(!t)try{return new Gt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const wy=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class sE extends ad{get name(){return"websocket"}doOpen(){const t=this.uri(),s=this.opts.protocols,i=wy?{}:my(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,s,i)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let s=0;s<t.length;s++){const i=t[s],l=s===t.length-1;od(i,this.supportsBinary,u=>{try{this.doWrite(i,u)}catch{}l&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=gy()),this.supportsBinary||(s.b64=1),this.createUri(t,s)}}const oc=Gt.WebSocket||Gt.MozWebSocket;class oE extends sE{createSocket(t,s,i){return wy?new oc(t,s,i):s?new oc(t,s):new oc(t)}doWrite(t,s){this.ws.send(s)}}class iE extends ad{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const s=BS(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=t.readable.pipeThrough(s).getReader(),l=zS();l.readable.pipeTo(t.writable),this._writer=l.writable.getWriter();const u=()=>{i.read().then(({done:h,value:m})=>{h||(this.onPacket(m),u())}).catch(h=>{})};u();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this._writer.write(d).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let s=0;s<t.length;s++){const i=t[s],l=s===t.length-1;this._writer.write(i).then(()=>{l&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const aE={websocket:oE,webtransport:iE,polling:rE},lE=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,uE=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Tc(r){if(r.length>8e3)throw"URI too long";const t=r,s=r.indexOf("["),i=r.indexOf("]");s!=-1&&i!=-1&&(r=r.substring(0,s)+r.substring(s,i).replace(/:/g,";")+r.substring(i,r.length));let l=lE.exec(r||""),u={},d=14;for(;d--;)u[uE[d]]=l[d]||"";return s!=-1&&i!=-1&&(u.source=t,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=cE(u,u.path),u.queryKey=dE(u,u.query),u}function cE(r,t){const s=/\/{2,9}/g,i=t.replace(s,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&i.splice(0,1),t.slice(-1)=="/"&&i.splice(i.length-1,1),i}function dE(r,t){const s={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,l,u){l&&(s[l]=u)}),s}const Pc=typeof addEventListener=="function"&&typeof removeEventListener=="function",Oa=[];Pc&&addEventListener("offline",()=>{Oa.forEach(r=>r())},!1);class wr extends Ge{constructor(t,s){if(super(),this.binaryType=qS,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){const i=Tc(t);s.hostname=i.host,s.secure=i.protocol==="https"||i.protocol==="wss",s.port=i.port,i.query&&(s.query=i.query)}else s.host&&(s.hostname=Tc(s.host).host);Ga(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(i=>{const l=i.prototype.name;this.transports.push(l),this._transportsByName[l]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=YS(this.opts.query)),Pc&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Oa.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const s=Object.assign({},this.opts.query);s.EIO=py,s.transport=t,this.id&&(s.sid=this.id);const i=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&wr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",wr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let i=0;i<this.writeBuffer.length;i++){const l=this.writeBuffer[i].data;if(l&&(s+=QS(l)),i>0&&s>this._maxPayload)return this.writeBuffer.slice(0,i);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ka(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,i){return this._sendPacket("message",t,s,i),this}send(t,s,i){return this._sendPacket("message",t,s,i),this}_sendPacket(t,s,i,l){if(typeof s=="function"&&(l=s,s=void 0),typeof i=="function"&&(l=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const u={type:t,data:s,options:i};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),l&&this.once("flush",l),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},i=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(wr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Pc&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=Oa.indexOf(this._offlineEventListener);i!==-1&&Oa.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}wr.protocol=py;class fE extends wr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let s=this.createTransport(t),i=!1;wr.priorWebsocketSuccess=!1;const l=()=>{i||(s.send([{type:"ping",data:"probe"}]),s.once("packet",w=>{if(!i)if(w.type==="pong"&&w.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;wr.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(v(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const S=new Error("probe error");S.transport=s.name,this.emitReserved("upgradeError",S)}}))};function u(){i||(i=!0,v(),s.close(),s=null)}const d=w=>{const S=new Error("probe error: "+w);S.transport=s.name,u(),this.emitReserved("upgradeError",S)};function h(){d("transport closed")}function m(){d("socket closed")}function y(w){s&&w.name!==s.name&&u()}const v=()=>{s.removeListener("open",l),s.removeListener("error",d),s.removeListener("close",h),this.off("close",m),this.off("upgrading",y)};s.once("open",l),s.once("error",d),s.once("close",h),this.once("close",m),this.once("upgrading",y),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{i||s.open()},200):s.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const s=[];for(let i=0;i<t.length;i++)~this.transports.indexOf(t[i])&&s.push(t[i]);return s}}let hE=class extends fE{constructor(t,s={}){const i=typeof t=="object"?t:s;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(l=>aE[l]).filter(l=>!!l)),super(t,i)}};function pE(r,t="",s){let i=r;s=s||typeof location<"u"&&location,r==null&&(r=s.protocol+"//"+s.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=s.protocol+r:r=s.host+r),/^(https?|wss?):\/\//.test(r)||(typeof s<"u"?r=s.protocol+"//"+r:r="https://"+r),i=Tc(r)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const u=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+u+":"+i.port+t,i.href=i.protocol+"://"+u+(s&&s.port===i.port?"":":"+i.port),i}const mE=typeof ArrayBuffer=="function",gE=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,xy=Object.prototype.toString,yE=typeof Blob=="function"||typeof Blob<"u"&&xy.call(Blob)==="[object BlobConstructor]",vE=typeof File=="function"||typeof File<"u"&&xy.call(File)==="[object FileConstructor]";function ld(r){return mE&&(r instanceof ArrayBuffer||gE(r))||yE&&r instanceof Blob||vE&&r instanceof File}function La(r,t){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let s=0,i=r.length;s<i;s++)if(La(r[s]))return!0;return!1}if(ld(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return La(r.toJSON(),!0);for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&La(r[s]))return!0;return!1}function wE(r){const t=[],s=r.data,i=r;return i.data=jc(s,t),i.attachments=t.length,{packet:i,buffers:t}}function jc(r,t){if(!r)return r;if(ld(r)){const s={_placeholder:!0,num:t.length};return t.push(r),s}else if(Array.isArray(r)){const s=new Array(r.length);for(let i=0;i<r.length;i++)s[i]=jc(r[i],t);return s}else if(typeof r=="object"&&!(r instanceof Date)){const s={};for(const i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[i]=jc(r[i],t));return s}return r}function xE(r,t){return r.data=Oc(r.data,t),delete r.attachments,r}function Oc(r,t){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<t.length)return t[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let s=0;s<r.length;s++)r[s]=Oc(r[s],t);else if(typeof r=="object")for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(r[s]=Oc(r[s],t));return r}const bE=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var _e;(function(r){r[r.CONNECT=0]="CONNECT",r[r.DISCONNECT=1]="DISCONNECT",r[r.EVENT=2]="EVENT",r[r.ACK=3]="ACK",r[r.CONNECT_ERROR=4]="CONNECT_ERROR",r[r.BINARY_EVENT=5]="BINARY_EVENT",r[r.BINARY_ACK=6]="BINARY_ACK"})(_e||(_e={}));class kE{constructor(t){this.replacer=t}encode(t){return(t.type===_e.EVENT||t.type===_e.ACK)&&La(t)?this.encodeAsBinary({type:t.type===_e.EVENT?_e.BINARY_EVENT:_e.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let s=""+t.type;return(t.type===_e.BINARY_EVENT||t.type===_e.BINARY_ACK)&&(s+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(s+=t.nsp+","),t.id!=null&&(s+=t.id),t.data!=null&&(s+=JSON.stringify(t.data,this.replacer)),s}encodeAsBinary(t){const s=wE(t),i=this.encodeAsString(s.packet),l=s.buffers;return l.unshift(i),l}}class ud extends Ge{constructor(t){super(),this.reviver=t}add(t){let s;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(t);const i=s.type===_e.BINARY_EVENT;i||s.type===_e.BINARY_ACK?(s.type=i?_e.EVENT:_e.ACK,this.reconstructor=new SE(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(ld(t)||t.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(t),s&&(this.reconstructor=null,super.emitReserved("decoded",s));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let s=0;const i={type:Number(t.charAt(0))};if(_e[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===_e.BINARY_EVENT||i.type===_e.BINARY_ACK){const u=s+1;for(;t.charAt(++s)!=="-"&&s!=t.length;);const d=t.substring(u,s);if(d!=Number(d)||t.charAt(s)!=="-")throw new Error("Illegal attachments");i.attachments=Number(d)}if(t.charAt(s+1)==="/"){const u=s+1;for(;++s&&!(t.charAt(s)===","||s===t.length););i.nsp=t.substring(u,s)}else i.nsp="/";const l=t.charAt(s+1);if(l!==""&&Number(l)==l){const u=s+1;for(;++s;){const d=t.charAt(s);if(d==null||Number(d)!=d){--s;break}if(s===t.length)break}i.id=Number(t.substring(u,s+1))}if(t.charAt(++s)){const u=this.tryParse(t.substr(s));if(ud.isPayloadValid(i.type,u))i.data=u;else throw new Error("invalid payload")}return i}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,s){switch(t){case _e.CONNECT:return Em(s);case _e.DISCONNECT:return s===void 0;case _e.CONNECT_ERROR:return typeof s=="string"||Em(s);case _e.EVENT:case _e.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&bE.indexOf(s[0])===-1);case _e.ACK:case _e.BINARY_ACK:return Array.isArray(s)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class SE{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const s=xE(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Em(r){return Object.prototype.toString.call(r)==="[object Object]"}const EE=Object.freeze(Object.defineProperty({__proto__:null,Decoder:ud,Encoder:kE,get PacketType(){return _e}},Symbol.toStringTag,{value:"Module"}));function un(r,t,s){return r.on(t,s),function(){r.off(t,s)}}const _E=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class by extends Ge{constructor(t,s,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=s,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[un(t,"open",this.onopen.bind(this)),un(t,"packet",this.onpacket.bind(this)),un(t,"error",this.onerror.bind(this)),un(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...s){var i,l,u;if(_E.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(s.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const d={type:_e.EVENT,data:s};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const v=this.ids++,w=s.pop();this._registerAckCallback(v,w),d.id=v}const h=(l=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||l===void 0?void 0:l.writable,m=this.connected&&!(!((u=this.io.engine)===null||u===void 0)&&u._hasPingExpired());return this.flags.volatile&&!h||(m?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d)),this.flags={},this}_registerAckCallback(t,s){var i;const l=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(l===void 0){this.acks[t]=s;return}const u=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===t&&this.sendBuffer.splice(h,1);s.call(this,new Error("operation has timed out"))},l),d=(...h)=>{this.io.clearTimeoutFn(u),s.apply(this,h)};d.withError=!0,this.acks[t]=d}emitWithAck(t,...s){return new Promise((i,l)=>{const u=(d,h)=>d?l(d):i(h);
vendor: 1,065 bytes, line 165
165u.withError=!0,s.push(u),this.emit(t,...s)})}_addToQueue(t){let s;typeof t[t.length-1]=="function"&&(s=t.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((l,...u)=>(this._queue[0],l!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(l)):(this._queue.shift(),s&&s(null,...u)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!t||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:_e.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,s),this._clearAcks()}
vendor: 6,031 bytes, line 165
165_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(i=>String(i.id)===t)){const i=this.acks[t];delete this.acks[t],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case _e.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case _e.EVENT:case _e.BINARY_EVENT:this.onevent(t);break;case _e.ACK:case _e.BINARY_ACK:this.onack(t);break;case _e.DISCONNECT:this.ondisconnect();break;case _e.CONNECT_ERROR:this.destroy();const i=new Error(t.data.message);i.data=t.data.data,this.emitReserved("connect_error",i);break}}onevent(t){const s=t.data||[];t.id!=null&&s.push(this.ack(t.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const i of s)i.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const s=this;let i=!1;return function(...l){i||(i=!0,s.packet({type:_e.ACK,id:t,data:l}))}}onack(t){const s=this.acks[t.id];typeof s=="function"&&(delete this.acks[t.id],s.withError&&t.data.unshift(null),s.apply(this,t.data))}onconnect(t,s){this.id=t,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:_e.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const s=this._anyListeners;for(let i=0;i<s.length;i++)if(t===s[i])return s.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const s=this._anyOutgoingListeners;for(let i=0;i<s.length;i++)if(t===s[i])return s.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const i of s)i.apply(this,t.data)}}}function Ws(r){r=r||{},this.ms=r.min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}Ws.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),s=Math.floor(t*this.jitter*r);r=(Math.floor(t*10)&1)==0?r-s:r+s}return Math.min(r,this.max)|0};Ws.prototype.reset=function(){this.attempts=0};Ws.prototype.setMin=function(r){this.ms=r};Ws.prototype.setMax=function(r){this.max=r};Ws.prototype.setJitter=function(r){this.jitter=r};class Lc extends Ge{constructor(t,s){var i;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(s=t,t=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,Ga(this,s),this.reconnection(s.reconnection!==!1),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor((i=s.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new Ws({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=t;const l=s.parser||EE;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var s;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(s=this.backoff)===null||s===void 0||s.setMin(t),this)}randomizationFactor(t){var s;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(s=this.backoff)===null||s===void 0||s.setJitter(t),this)}reconnectionDelayMax(t){var s;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(s=this.backoff)===null||s===void 0||s.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new hE(this.uri,this.opts);const s=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const l=un(s,"open",function(){i.onopen(),t&&t()}),u=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),t?t(h):this.maybeReconnectOnOpen()},d=un(s,"error",u);if(this._timeout!==!1){const h=this._timeout,m=this.setTimeoutFn(()=>
165{l(),u(new Error("timeout")),s.close()},h);this.opts.autoUnref&&m.unref(),this.subs.push(()=>{this.clearTimeoutFn(m)})}return this.subs.push(l),this.subs.push(d),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(un(t,"ping",this.onping.bind(this)),un(t,"data",this.ondata.bind(this)),un(t,"error",this.onerror.bind(this)),un(t,"close",this.onclose.bind(this)),un(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(s){this.onclose("parse error",s)}}ondecoded(t){Ka(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,s){let i=this.nsps[t];return i?this._autoConnect&&!i.active&&i.connect():(i=new by(this,t,s),this.nsps[t]=i),i}_destroy(t){const s=Object.keys(this.nsps);for(const i of s)if(this.nsps[i].active)return;this._close()}_packet(t){const s=this.encoder.encode(t);for(let i=0;i<s.length;i++)this.engine.write(s[i],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,s){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const s=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(l=>{l?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",l)):t.onreconnect()}))},s);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Do={};function Ia(r,t){typeof r=="object"&&(t=r,r=void 0),t=t||{};const s=pE(r,t.path||"/socket.io"),i=s.source,l=s.id,u=s.path,d=Do[l]&&u in Do[l].nsps,h=t.forceNew||t["force new connection"]||t.multiplex===!1||d;let m;return h?m=new Lc(i,t):(Do[l]||(Do[l]=new Lc(i,t)),m=Do[l]),s.query&&!t.query&&(t.query=s.queryKey),m.socket(s.path,t)}Object.assign(Ia,{Manager:Lc,Socket:by,io:Ia,connect:Ia});const CE=250;function _m(r,t){var s;const i=(s=r.token)!==null&&s!==void 0?s:Jo(),l={app_id:r.appId,token:i};i||(l.anonymous_id=sd());const u=Ia(r.serverUrl,{path:r.mountPath,transports:r.transports,query:l});return u.on("connect",async()=>{var d;return console.log("connect",u.id),(d=t.connect)===null||d===void 0?void 0:d.call(t)}),u.on("update_model",async d=>{var h;return(h=t.update_model)===null||h===void 0?void 0:h.call(t,d)}),u.on("error",async d=>{var h;return(h=t.error)===null||h===void 0?void 0:h.call(t,d)}),u.on("connect_error",async d=>{var h;return console.error("connect_error",d),(h=t.error)===null||h===void 0?void 0:h.call(t,d)}),u}function NE({config:r}){let t={...r};const s={},i={},l={connect:async()=>{const b=[];Object.keys(s).forEach(I=>{const O=S(I);O.length!==0&&(y(I),O.forEach(({connect:D})=>{const V=async()=>D==null?void 0:D();b.push(V())}))}),await Promise.all(b)},update_model:async b=>{const O=S(b.room).map(D=>{var V;return(V=D.update_model)===null||V===void 0?void 0:V.call(D,b)});await Promise.all(O)},error:async b=>{console.error("error",b);const I=Object.values(s).flat().map(O=>{var D;return(D=O.error)===null||D===void 0?void 0:D.call(O,b)});await Promise.all(I)}};let u=_m(r,l);function d(){h()}function h(){M(),u&&u.disconnect()}function m(b){d(),t={...t,...b},u=_m(t,l)}function y(b){u.emit("join",b)}function v(b){u.emit("leave",b)}async function w(b,I){var O;const D=JSON.stringify(I);return(O=l.update_model)===null||O===void 0?void 0:O.call(l,{room:b,data:D})}function S(b){var I;return(I=s[b])!==null&&I!==void 0?I:[]}function P(b){const I=i[b];I&&(clearTimeout(I),delete i[b])}
165function M(){Object.keys(i).forEach(b=>{var I,O;clearTimeout(i[b]),delete i[b],((O=(I=s[b])===null||I===void 0?void 0:I.length)!==null&&O!==void 0?O:0)===0&&delete s[b]})}function T(b){P(b),i[b]=setTimeout(()=>{var I,O;delete i[b],!(((O=(I=s[b])===null||I===void 0?void 0:I.length)!==null&&O!==void 0?O:0)>0)&&(v(b),delete s[b])},CE)}return{socket:u,subscribeToRoom:(b,I)=>{s[b]?P(b):(y(b),s[b]=[]),s[b].push(I);let O=!1;return()=>{var D,V;O||(O=!0,s[b]=(V=(D=s[b])===null||D===void 0?void 0:D.filter(Q=>Q!==I))!==null&&V!==void 0?V:[],s[b].length===0&&T(b))}},updateConfig:m,updateModel:w,disconnect:h}}function RE(r){var t,s;const{serverUrl:i="https://base44.app",appId:l,token:u,serviceToken:d,requiresAuth:h=!1,appBaseUrl:m,options:y,functionsVersion:v,headers:w}=r,S=typeof m=="string"?m:"",P={serverUrl:i,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:u};let M=null;const T=()=>(M||(M=NE({config:P})),M),k={...w,"X-App-Id":String(l)},b=v?{...k,"Base44-Functions-Version":v}:k,I=Fo({baseURL:`${i}/api`,headers:k,token:u,onError:y==null?void 0:y.onError}),O=Fo({baseURL:`${i}/api`,headers:b,token:u,interceptResponses:!1,onError:y==null?void 0:y.onError}),D={...k,...u?{"on-behalf-of":`Bearer ${u}`}:{}},V=Fo({baseURL:`${i}/api`,headers:D,token:d,onError:y==null?void 0:y.onError}),Q=Fo({baseURL:`${i}/api`,headers:b,token:d,interceptResponses:!1}),ie=RS(I,O,l,{appBaseUrl:S});if(typeof window<"u"){const he=u||Jo();he&&ie.setToken(he)}const B={entities:mm({axios:I,appId:l,getSocket:T}),integrations:gm(I,l),connectors:PS(I,l),auth:ie,functions:ym(O,l,{getAuthHeaders:()=>{const he={},Pe=u||Jo();return Pe&&(he.Authorization=`Bearer ${Pe}`),he},baseURL:(t=O.defaults)===null||t===void 0?void 0:t.baseURL}),agents:vm({axios:I,getSocket:T,appId:l,serverUrl:i,token:u}),appLogs:wm(I,l),users:OS(I,l),analytics:pS({axiosClient:I,serverUrl:i,appId:l,userAuthModule:ie}),cleanup:()=>{B.analytics.cleanup(),M&&M.disconnect()}},de={entities:mm({axios:V,appId:l,getSocket:T}),integrations:gm(V,l),sso:AS(V,l),connectors:TS(V,l),functions:ym(Q,l,{getAuthHeaders:()=>{const he={};return d&&(he.Authorization=`Bearer ${d}`),he},baseURL:(s=Q.defaults)===null||s===void 0?void 0:s.baseURL}),agents:vm({axios:V,getSocket:T,appId:l,serverUrl:i,token:u}),appLogs:wm(V,l),cleanup:()=>{M&&M.disconnect()}};return h&&typeof window<"u"&&setTimeout(async()=>{try{await B.auth.isAuthenticated()||B.auth.redirectToLogin(window.location.href)}catch(he){console.error("Authentication check failed:",he),B.auth.redirectToLogin(window.location.href)}},0),{...B,setToken(he){B.auth.setToken(he),M&&M.updateConfig({token:he}),P.token=he},getConfig(){return{serverUrl:i,appId:l,requiresAuth:h}},get asServiceRole(){if(!d)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return de}}}const ky=typeof window>"u",AE=ky?{localStorage:new Map}:window,Vo=AE.localStorage,TE=r=>r.replace(/([A-Z])/g,"_$1").toLowerCase(),Cs=(r,{defaultValue:t=void 0,removeFromUrl:s=!1}={})=>{if(ky)return t;const i=`base44_${TE(r)}`,l=new URLSearchParams(window.location.search),u=l.get(r);if(s){l.delete(r);const h=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}if(u)return Vo.setItem(i,u),u;if(t)return Vo.setItem(i,t),t;const d=Vo.getItem(i);return d||null},PE=()=>(Cs("clear_access_token")==="true"&&(Vo.removeItem("base44_access_token"),Vo.removeItem("token")),{appId:Cs("app_id",{defaultValue:"69f3281fdc5e03e95ffc2250"}),token:Cs("access_token",{removeFromUrl:!0}),fromUrl:Cs("from_url",{defaultValue:window.location.href}),functionsVersion:Cs("functions_version",{defaultValue:"prod"}),appBaseUrl:Cs("app_base_url",{defaultValue:void 0})}),Bo={...PE()},{appId:jE,token:OE,functionsVersion:LE,appBaseUrl:IE}=Bo,$o=RE({appId:jE,token:OE,functionsVersion:LE,serverUrl:"",requiresAuth:!1,appBaseUrl:IE});function DE({}){var l;const t=qs().pathname.substring(1),{data:s,isFetched:i}=Gx({queryKey:["user"],queryFn:async()=>{try{return{user:await $o.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return p.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:p.jsx("div",{className:"max-w-md w-full",children:p.jsxs("div",{className:"text-center space-y-6",children:[p.jsxs("div",{className:"space-y-2",children:[p.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),p.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),p.jsxs("div",{className:"space-y-3",children:[p.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),p.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",p.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),i&&s.isAuthenticated&&((l=s.user)==null?void 0:l.role)==="admin"&&p.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:p.jsxs("div",{className:"flex items-start space-x-3",children:[p.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:p.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),p.jsxs("div",{className:"text-left space-y-1",children:[p.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),p.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),p.jsx("div",{className:"pt-6",children:p.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[p.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const Sy=A.createContext(),ME=({children:r})=>{const[t,s]=A.useState(null),[i,l]=A.useState(!1),[u,d]=A.useState(!0),[h,m]=A.useState(!0),[y,v]=A.useState(null),[w,S]=A.useState(!1),[P,M]=A.useState(null);A.useEffect(()=>{T()},[]);const T=async()=>{var O,D;try{m(!0),v(null);const V=Fo({baseURL:"/api/apps/public",headers:{"X-App-Id":Bo.appId},token:Bo.token,interceptResponses:!0});try{const Q=await V.get(`/prod/public-settings/by-id/${Bo.appId}`);M(Q),Bo.token?await k():(d(!1),l(!1),S(!0)),m(!1)}catch(Q){if(console.error("App state check failed:",Q),Q.status===403&&((D=(O=Q.data)==null?void 0:O.extra_data)!=null&&D.reason)){const ie=Q.data.extra_data.reason;v(ie==="auth_required"?{type:"auth_required",message:"Authentication required"}:ie==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:ie,message:Q.message})}else v({type:"unknown",message:Q.message||"Failed to load app"});m(!1),d(!1)}}catch(V){console.error("Unexpected error:",V),v({type:"unknown",message:V.message||"An unexpected error occurred"}),m(!1),d(!1)}},k=async()=>{try{d(!0);const O=await $o.auth.me();s(O),l(!0),d(!1),S(!0)}catch(O){console.error("User auth check failed:",O),d(!1),l(!1),S(!0),(O.status===401||O.status===403)&&v({type:"auth_required",message:"Authentication required"})}},b=(O=!0)=>{s(null),l(!1),O?$o.auth.logout(window.location.href):$o.auth.logout()},I=()=>{$o.auth.redirectToLogin(window.location.href)};return p.jsx(Sy.Provider,{value:{user:t,isAuthenticated:i,isLoadingAuth:u,isLoadingPublicSettings:h,authError:y,appPublicSettings:P,authChecked:w,logout:b,navigateToLogin:I,checkUserAuth:k,checkAppState:T},children:r})},UE=()=>{const r=A.useContext(Sy);if(!r)throw new Error("useAuth must be used within an AuthProvider");return r},FE=()=>p.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:p.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:p.jsxs("div",{className:"text-center",children:[p.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:p.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),p.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),p.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),p.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[p.jsx("p",{children:"If you believe this is an error, you can:"}),p.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[p.jsx("li",{children:"Verify you are logged in with the correct account"}),p.jsx("li",{children:"Contact the app administrator for access"}),p.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),Cm=[{label:"About",path:"/about"},{label:"Podcasting",path:"/podcasting"},{label:"Speaking",path:"/speaking"},{label:"Books",path:"/books"},{label:"Autistic Culture",path:"/autistic-culture"},{label:"Press",path:"/press"},{label:"Gallery",path:"/gallery"},{label:"Contact",path:"/contact"}],Nm=[{icon:Qm,href:"https://www.instagram.com/angelaintheuk/",label:"Instagram"},{icon:Wm,href:"https://www.facebook.com/drangelakingdon",label:"Facebook"},{icon:Km,href:"https://www.linkedin.com/in/angelakingdon/",label:"LinkedIn"},{icon:Gm,href:"https://www.youtube.com/@AutisticCulturePodcast",label:"YouTube"}];function zE(){const[r,t]=A.useState(!1),s=qs();return p.jsxs("nav",{className:"bg-primary text-primary-foreground sticky top-0 z-50",children:[p.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:p.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[p.jsxs(Ra,{to:"/",className:"font-heading text-xl md:text-2xl font-bold tracking-tight whitespace-nowrap flex items-center gap-2",children:[p.jsx("img",{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/80cfb93f5_generated_image.png",alt:"star",className:"w-7 h-7 drop-shadow-[0_0_4px_white]"}),"Dr. Angela Kingdon"]}),p.jsxs("div",{className:"hidden md:flex items-center gap-6",children:[p.jsx("div",{className:"flex items-center gap-5",children:Cm.map(i=>p.jsx(Ra,{to:i.path,className:`text-sm font-medium transition-opacity hover:opacity-80 ${s.pathname===i.path?"underline underline-offset-4":""}`,children:i.label},i.path))}),p.jsx("div",{className:"flex items-center gap-3 ml-4 border-l border-white/30 pl-4",children:Nm.map(i=>p.jsx("a",{href:i.href,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-70 transition-opacity",children:p.jsx(i.icon,{className:"w-4 h-4"})},i.label))})]}),p.jsx("button",{onClick:()=>t(!r),className:"md:hidden p-2",children:r?p.jsx(Bc,{className:"w-6 h-6"}):p.jsx(pw,{className:"w-6 h-6"})})]})}),r&&p.jsxs("div",{className:"md:hidden bg-primary border-t border-white/20 pb-4",children:[p.jsx("div",{className:"px-4 pt-2 flex flex-col gap-3",children:Cm.map(i=>p.jsx(Ra,{to:i.path,onClick:()=>t(!1),className:"text-sm font-medium py-1",children:i.label},i.path))}),p.jsx("div",{className:"flex items-center gap-4 px-4 pt-4 mt-2 border-t border-white/20",children:Nm.map(i=>p.jsx("a",{href:i.href,target:"_blank",rel:"noopener noreferrer",children:p.jsx(i.icon,{className:"w-5 h-5"})},i.label))})]})]})}const BE=[{icon:Qm,href:"https://www.instagram.com/angelaintheuk/"},{icon:Wm,href:"https://www.facebook.com/drangelakingdon"},{icon:Km,href:"https://www.linkedin.com/in/angelakingdon/"},{icon:Gm,href:"https://www.youtube.com/@AutisticCulturePodcast"}];function $E(){return p.jsx("footer",{className:"bg-foreground text-white py-10",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col items-center gap-5",children:[p.jsx("div",{className:"flex items-center gap-5",children:BE.map((r,t)=>p.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-70 transition-opacity",children:p.jsx(r.icon,{className:"w-5 h-5"})},t))}),p.jsxs("p",{className:"text-sm text-white/60",children:["© ",new Date().getFullYear()," Dr. Angela Kingdon. All rights reserved."]})]})})}function qE(){return p.jsxs("div",{className:"min-h-screen flex flex-col",children:[p.jsx(zE,{}),p.jsx("main",{className:"flex-1",children:p.jsx(Hb,{})}),p.jsx($E,{})]})}function Rm(r,t){if(typeof r=="function")return r(t);r!=null&&(r.current=t)}function cd(...r){return t=>{let s=!1;const i=r.map(l=>{const u=Rm(l,t);return!s&&typeof u=="function"&&(s=!0),u});if(s)return()=>{for(let l=0;l<i.length;l++){const u=i[l];typeof u=="function"?u():Rm(r[l],null)}}}}function dd(...r){return A.useCallback(cd(...r),r)}var HE=Symbol.for("react.lazy"),$a=Uc[" use ".trim().toString()];function VE(r){return typeof r=="object"&&r!==null&&"then"in r}function Ey(r){return r!=null&&typeof r=="object"&&"$$typeof"in r&&r.$$typeof===HE&&"_payload"in r&&VE(r._payload)}function _y(r){const t=QE(r),s=A.forwardRef((i,l)=>{let{children:u,...d}=i;Ey(u)&&typeof $a=="function"&&(u=$a(u._payload));const h=A.Children.toArray(u),m=h.find(GE);if(m){const y=m.props.children,v=h.map(w=>w===m?A.Children.count(y)>1?A.Children.only(null):A.isValidElement(y)?y.props.children:null:w);return p.jsx(t,{...d,ref:l,children:A.isValidElement(y)?A.cloneElement(y,void 0,v):null})}return p.jsx(t,{...d,ref:l,children:u})});return s.displayName=`${r}.Slot`,s}var WE=_y("Slot");function QE(r){const t=A.forwardRef((s,i)=>{let{children:l,...u}=s;if(Ey(l)&&typeof $a=="function"&&(l=$a(l._payload)),A.isValidElement(l)){const d=J
165E(l),h=YE(u,l.props);return l.type!==A.Fragment&&(h.ref=i?cd(i,d):d),A.cloneElement(l,h)}return A.Children.count(l)>1?A.Children.only(null):null});return t.displayName=`${r}.SlotClone`,t}var KE=Symbol("radix.slottable");function GE(r){return A.isValidElement(r)&&typeof r.type=="function"&&"__radixId"in r.type&&r.type.__radixId===KE}function YE(r,t){const s={...t};for(const i in t){const l=r[i],u=t[i];/^on[A-Z]/.test(i)?l&&u?s[i]=(...h)=>{const m=u(...h);return l(...h),m}:l&&(s[i]=l):i==="style"?s[i]={...l,...u}:i==="className"&&(s[i]=[l,u].filter(Boolean).join(" "))}return{...r,...s}}function JE(r){var i,l;let t=(i=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:i.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?r.ref:(t=(l=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:l.get,s=t&&"isReactWarning"in t&&t.isReactWarning,s?r.props.ref:r.props.ref||r.ref)}const XE=Fc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),bn=A.forwardRef(({className:r,variant:t,size:s,asChild:i=!1,...l},u)=>{const d=i?WE:"button";return p.jsx(d,{className:cn(XE({variant:t,size:s,className:r})),ref:u,...l})});bn.displayName="Button";const Am=["Inc.","Forbes","Entrepreneur","CNN","Washingtonian","Fast Company","Axios","Connected Woman"];function ZE(){return p.jsxs("section",{className:"bg-foreground text-white py-10 overflow-hidden",children:[p.jsx("p",{className:"text-center text-xs tracking-[0.3em] uppercase mb-6 text-white/60",children:"As Seen On"}),p.jsx("div",{className:"relative",children:p.jsx("div",{className:"flex animate-marquee whitespace-nowrap",children:[...Am,...Am].map((r,t)=>p.jsxs("span",{className:"mx-6 text-2xl md:text-3xl font-heading font-bold",children:[r," ",p.jsx("span",{className:"text-primary mx-4",children:"â¢"})]},t))})})]})}const e_="https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/db1032e12_generated_62214c1a.png",t_="https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/2eeb85450_generated_b1dcef77.png",n_="https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/8d2db9f1a_IMG_2098.jpg";function r_(){return p.jsxs("div",{children:[p.jsx("div",{className:"w-full",children:p.jsx("img",{src:t_,alt:"Decorative colorful squiggles",className:"w-full h-24 md:h-36 object-cover"})}),p.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",style:{backgroundImage:`url(${e_})`,backgroundSize:"cover",backgroundPosition:"center"},children:[p.jsx("div",{className:"absolute inset-0 bg-white/60"}),p.jsx("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:p.jsxs("div",{className:"grid md:grid-cols-2 gap-10 items-center",children:[p.jsxs("a",{href:"https://www.youtube.com/watch?v=v-E45S7IDGE",target:"_blank",rel:"noopener noreferrer",className:"relative group rounded-2xl overflow-hidden shadow-2xl block",children:[p.jsx("img",{src:n_,alt:"Dr. Angela Kingdon TEDx Talk",className:"w-full aspect-video object-cover"}),p.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors flex items-center justify-center",children:p.jsx("div",{className:"w-16 h-16 rounded-full bg-white/90 flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform",children:p.jsx(zc,{className:"w-7 h-7 text-primary fill-primary ml-1"})})})]}),p.jsxs("div",{className:"text-center md:text-left",children:[p.jsx("h1",{className:"font-heading text-3xl md:text-5xl font-bold text-foreground leading-tight mb-6",children:"The Future of Work Requires Different Minds."}
165),p.jsx("p",{className:"text-lg text-foreground/80 mb-8 max-w-lg leading-relaxed",children:"Discover how communication, leadership, workplace design, and emerging technologies are reshaping the way we work. Dr. Angela Kingdon helps organizations understand how different minds experience work, burnout, belonging, and collaboration, translating research and lived experience into practical strategies that help teams thrive."}),p.jsx(Ra,{to:"/contact",children:p.jsx(bn,{size:"lg",className:"bg-foreground text-white hover:bg-foreground/90 text-sm font-semibold tracking-wide uppercase px-8",children:"Book Angela to Speak"})})]})]})})]}),p.jsx("section",{className:"bg-foreground text-white py-6",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 text-center space-y-3",children:[p.jsx("p",{className:"text-primary font-semibold text-base md:text-lg tracking-wide",children:"Powerful Presentations on Communication ~ Leadership ~ Wellbeing ~ Belonging ~ Innovation"}),p.jsx("p",{className:"text-white/70 text-sm",children:"Trusted by corporations, universities, nonprofits, and professional associations"}),p.jsx("p",{className:"text-white/90 text-sm md:text-base leading-relaxed",children:"TEDx Speaker ⢠Founder, Autistic Culture Institute ⢠Former CEO, $50M Publishing Company ⢠1M+ Podcast Downloads ⢠Wall Street Journal Bestselling Business Book Author ⢠2X INC 500 Recipient"})]})}),p.jsx(ZE,{}),p.jsx("section",{className:"py-16 md:py-24 bg-secondary",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[p.jsxs("h2",{className:"font-heading text-2xl md:text-4xl font-bold text-foreground leading-snug",children:["My mission is to help people understand one another better so that ",p.jsx("span",{className:"text-primary",children:"talent, ideas, and potential"})," are not lost in misunderstanding."]}),p.jsxs("div",{className:"flex items-center justify-center gap-4 my-10",children:[p.jsx("div",{className:"h-px bg-primary/30 flex-1"}),p.jsx("span",{className:"text-primary text-2xl",children:"â¦"}),p.jsx("span",{className:"text-primary/50 text-lg",children:"â¦"}),p.jsx("span",{className:"text-primary/20 text-sm",children:"â¦"}),p.jsx("div",{className:"h-px bg-primary/30 flex-1"})]}),p.jsx("blockquote",{className:"font-heading text-3xl md:text-5xl font-bold italic text-primary",children:'"Understanding Changes Everything."'})]})})]})}const s_="https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/2246c363a_Angela_Lauria_SC_2022_091A2825.jpg";function o_(){return p.jsxs("div",{children:[p.jsx("section",{className:"relative",children:p.jsx("div",{className:"w-full flex justify-center bg-secondary",children:p.jsx("img",{src:s_,alt:"Dr. Angela Kingdon portrait",className:"max-h-[70vh] w-auto object-contain"})})}),p.jsx("section",{className:"py-16 md:py-24",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsx("h1",{className:"font-heading text-3xl md:text-5xl font-bold text-foreground mb-2 text-center",children:"Dr. Angela Kingdon"}),p.jsx("p",{className:"text-center text-primary font-medium italic mb-10",children:"Author ⢠Workplace Well-being Speaker ⢠Inc. 500 Founder"}),p.jsxs("div",{className:"prose prose-lg max-w-none text-foreground/80 space-y-5",children:[p.jsxs("p",{children:["Dr. Angela Kingdon is an autistic advocate, bestselling author, and TEDx speaker whose work redefines how we understand autismânot as a disorder, but as a culture. She is the founder of ",p.jsx("strong",{children:"The Autistic Culture Institute"})," and host of the ",p.jsx("strong",{children:"Autistic Culture Podcast"}),", a 2025 Stevie Gold and Digital Women Purpose-Led Podcast ",p.jsx("strong",{children:"award-winning show"})," that celebrates the creativity, communication, and community of autistic life."]}),p.jsxs("p",{children:["Her recent book, ",p.jsx("strong",{children:p.jsx("em",{children:"Am I Actually Autistic?: Your Guide to Processing the Identity Shock of Late Autism Discovery & Living Unmasked"})}),", has become a touchstone for the late-diagnosed community. Angela's talks, writing, and research explore how identity, autonomy, and belonging shape well-being for autistic adults."]}),p.jsxs("p",{children:["Based near Bristol, England, she serves on the ",p.jsx("strong",{children:"editorial board of Neurodiversity Journal"}),", as a Youth Mentor for Grove Neurodiversity & Educational Mentoring, is a ",p.jsx("strong",{children:"peer support worker with AuDHD UK"}),", and conducts ",p.jsx("strong",{children:"critical autism research"})," at the University of Kent, where she recently completed her MSc in Psychology. A doctoral graduate of the European Graduate School's Philosophy, Art & Critical Thought Division, Angela brings a cultural lens to psychologyâbridging science, story, and lived experience."]}),p.jsxs("p",{children:["Her work has been featured on ",p.jsx("strong",{children:"ITV, Apple News, Bristol Live,"})," and ",p.jsx("strong",{children:"Bella Magazine"}),', and she is a sought-after speaker on topics including Autistic culture, the so-called late-diagnosis "epidemic," and neuroinclusive leadership in the age of AI.']})]}),p.jsxs("div",{className:"mt-12",children:[p.jsx("h2",{className:"font-heading text-2xl font-bold text-foreground mb-4",children:"Books She Has Authored"}
165),p.jsxs("ul",{className:"space-y-2 text-foreground/80",children:[p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," Am I Actually Autistic?: Your Guide to Processing the Identity Shock of Late Autism Discovery & Living Unmasked"]}),p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," The Equalizing Quill: 6 Ways Generative AI Can Boost Publication Access for Underrepresented Authors"]}),p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," Profitable Online Programs"]}),p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," Make 'Em Beg To Work For You"]}),p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," Make 'Em Beg to Be Your Client"]}),p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," Make 'Em Beg to Publish Your Book"]}),p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," The Incubated Author: 10 Steps to Start a Movement with Your Message"]}),p.jsxs("li",{className:"flex items-start gap-2",children:[p.jsx("span",{className:"text-primary font-bold",children:"â¢"})," The Difference: 10 Steps To Writing A Book That Matters"]})]})]}),p.jsx("div",{className:"mt-12 bg-secondary rounded-2xl p-8",children:p.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[p.jsxs("div",{children:[p.jsx("h3",{className:"font-heading text-lg font-bold text-foreground mb-2",children:"Regulating Stims"}),p.jsx("p",{className:"text-foreground/70",children:"Echolalic singing, nail-biting, fidget bubble poppers"})]}),p.jsxs("div",{children:[p.jsx("h3",{className:"font-heading text-lg font-bold text-foreground mb-2",children:"Alliterative SPINs"}),p.jsx("p",{className:"text-foreground/70",children:"Hamlet, Hamilton, John Hamm"})]})]})})]})})]})}const i_=["Workplace Wellbeing: Why Your Highest Performers Are Burning Out & What to Do About It","Leadership: What Leaders Get Wrong About Motivation, Loyalty, and High Performance","Communication: The Hidden Cost of Workplace Misunderstanding","Inclusion & Belonging: What Neurodivergent Employees Can Teach Us About Building Better Workplaces","Future of Work: The Workplace Was Designed for Assembly Lines. Your Employees Weren't.","Generative AI: Unlock Talent Hidden by Traditional Workplace Systems","Celebrating Autistic Culture: Our Contributions and Impact",'Late-Diagnosis "Epidemic": Why it Happened & The Unexpected Advantages of Embracing the Shift'],a_=["ACTIVATE - Autistic Community through Advocacy, Learning, and Empowerment","Autistic Belonging: One Culture, Many Lives â Springfields Academy A-Fest","AUTISTIC CULTURE 101: Understanding the 10 Pillars Behind Autistic Thinking, Relating, and Creating â Cultural Autism Studies at Yale","Autistic-First Audio: Building Inclusive Formats from the Margins â Meeting of Independent Radio Producers","What is Autistic Culture? â Naidex, the UK's leading annual event focused on disability, accessibility, and independent living","Ethical Collaboration Strategies for Publishing Neurodivergent Authors â 15th GW Ethics in Publishing Conference","3 Easy Fixes for Neuroinclusive Workplaces â Neurodiversity Network Conference 2025","Academic Collaboration Through The Double Empathy Lens â 2025 Stanford Neurodiversity Summit","Building Autistic-First Spaces through Podcasting â Autscape 2025","Celebrating Neurodiversity â 2025 National Neurodiversity Shows (Cardiff, Liverpool, Coventry)","Belonging Beyond the Medical Model â TEDx Tamworth","How Embracing Autistic Culture Could Save Lives â TEDx NC State","The Benefits of Late Diagnosis in Women â 2024 Stanford Neurodiversity Summit","Celebrating Autistic Culture â Autistic Minds Live! 2024 Cardiff","AI-Assisted Autistic Accessibility â 13th GW Ethics in Publishing Conference","Dozens of confidential corporate speaking engagements â booked through Exubrancy WellBeing"],l_=[{title:"How to embrace autistic culture and belonging",url:"https://www.youtube.com/watch?v=v-E45S7IDGE",id:"v-E45S7IDGE"},{title:"Does being on the spectrum get in the way of your work?",url:"https://www.youtube.com/watch?v=HgLEReSIlfg",id:"HgLEReSIlfg"},{title:"Here is why you SHOULD tell everyone your biggest secret",url:"https://www.youtube.com/watch?v=JA2VmA2tedE",id:"JA2VmA2tedE",thumbnail:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/8d2db9f1a_IMG_2098.jpg"}];
165function u_(){return p.jsxs("div",{children:[p.jsx("section",{className:"bg-background py-16 md:py-24",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[p.jsx("h1",{className:"font-heading text-3xl md:text-5xl font-bold text-foreground mb-6",children:"Angela is a Dynamic Speaker who Attracts Crowds & Wows Audiences"}),p.jsx("p",{className:"text-foreground/70 text-lg max-w-3xl mx-auto leading-relaxed mb-8",children:"Getting an autism diagnosis at 39 was the key to business success for Angela. As an Autistic CEO of a publishing company making $40 Million, she learned how to navigate the neuro-divide. Now, she helps others embrace the magic of neurodiversity. Angela believes our world gets better for everyone when we accept that we are a neurodiverse species."}),p.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[p.jsx("a",{href:"https://drive.google.com/file/d/1gnSbc7YP4LywZap3waF0YHLHRq3OcBNY/view?usp=sharing",target:"_blank",rel:"noopener noreferrer",className:"inline-block bg-primary text-white font-semibold px-8 py-3 rounded-md hover:bg-primary/90 transition-colors text-sm",children:"Autistic Advocacy One Sheet"}),p.jsx("a",{href:"https://drive.google.com/file/d/18YMuUs8y_VQFyKuWv16-GjHXlwzU2kMB/view?usp=sharing",target:"_blank",rel:"noopener noreferrer",className:"inline-block text-white font-semibold px-8 py-3 rounded-md hover:opacity-90 transition-colors text-sm",style:{backgroundColor:"#F97316"},children:"Workplace Wellness One Sheet"})]})]})}),p.jsx("section",{className:"bg-secondary py-16 md:py-20",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground mb-8 text-center",children:"Invite Angela to Speak, Keynote, Host, or MC Your Next Autism-Affirming Event"}),p.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:i_.map((r,t)=>p.jsx("div",{className:"bg-white rounded-xl p-5 shadow-sm border border-border",children:p.jsx("p",{className:"font-medium text-foreground",children:r})},t))})]})}),p.jsx("section",{className:"py-16 md:py-20 bg-background",children:p.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground mb-10 text-center",children:"Watch Angela Speak"}),p.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:l_.map((r,t)=>p.jsxs("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"group block",children:[p.jsxs("div",{className:"relative rounded-xl overflow-hidden shadow-md aspect-video bg-foreground
165/10",children:[p.jsx("img",{src:`https://img.youtube.com/vi/${r.id}/hqdefault.jpg`,alt:r.title,className:"w-full h-full object-cover"}),p.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors flex items-center justify-center",children:p.jsx("div",{className:"w-12 h-12 rounded-full bg-white/90 flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform",children:p.jsx(zc,{className:"w-5 h-5 text-primary fill-primary ml-0.5"})})})]}),p.jsx("p",{className:"mt-3 text-sm font-medium text-foreground group-hover:text-primary transition-colors line-clamp-2",children:r.title})]},t))})]})}),p.jsx("section",{className:"py-16 md:py-20 bg-foreground text-white",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[p.jsx("h2",{className:"font-heading text-3xl md:text-4xl font-bold mb-10",children:"Fees & Travel"}),p.jsxs("div",{className:"grid grid-cols-3 gap-8 mb-8",children:[p.jsxs("div",{children:[p.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest text-white/60 mb-2 underline underline-offset-4",children:"Virtual Fees from"}),p.jsx("p",{className:"text-2xl font-bold",children:"$1,500"})]}),p.jsxs("div",{children:[p.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest text-white/60 mb-2 underline underline-offset-4",children:"In-Person Fees from"}),p.jsx("p",{className:"text-2xl font-bold",children:"$5,000"})]}),p.jsxs("div",{children:[p.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest text-white/60 mb-2 underline underline-offset-4",children:"Travels From"}),p.jsx("p",{className:"text-2xl font-bold",children:"Bristol UK"})]})]}),p.jsx("p",{className:"text-white/70 text-sm italic mb-6",children:"Listed fees are base range and may vary based on event specifics like location, duration, or requirements. Contact us for a tailored quote."}),p.jsx("a",{href:"https://drive.google.com/file/d/1eu1F7-dWR1GWSVqRs_R65YfFz_Ahi-Di/view?usp=sharing",target:"_blank",rel:"noopener noreferrer",className:"inline-block border border-white text-white font-semibold px-6 py-2 rounded-lg hover:bg-white hover:text-foreground transition-colors text-sm",children:"Download Rate Card"})]})}),p.jsx("section",{className:"py-16 md:py-20 bg-primary text-primary-foreground",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold mb-8 text-center",children:"Past Speaking Highlights"}),p.jsx("ul",{className:"space-y-3",children:a_.map((r,t)=>p.jsxs("li",{className:"flex items-start gap-3 text-white/90",children:[p.jsx("span",{className:"text-white/60 mt-1 shrink-0",children:"â¢"}),p.jsx("span",{children:r})]},t))})]})})]})}const c_="https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/47d8f363c_AIAA_3D_cover.png",d_=[{title:"The Incubated Author: 10 Steps to Start a Movement with Your Message",year:"2016",description:"A guide for authors who want to start a movement with their message. Learn the critical steps to build a tribe that spreads your message and takes massive action, how to fund a movement, and how to turn a book into a following of thousands.",url:"https://a.co/d/7D2vVV5"},{title:"The Equalizing Quill: 6 Ways Generative AI Can Boost Publication Access for Underrepresented Authors",year:"2023",description:"Drawing from how the history of technology has served as an aid to lift up marginalized communities, Dr. Angela documents how neurodivergent people, members of the global majority, and those with chronic health conditions can ethically leverage AI-assisted book writing to create impactful books.",url:"https://a.co/d/75y7UAb"},{title:"Make 'Em Beg To Work For You: 7 Steps to Find, Hire, Manage, Reward, and Release All-Star Players",year:"2019",description:"Written during her year-long private mentorship with neurodivergent billionaire Richard Branson, this book explains why the rules of business don't work for people with ADHD, Autism, and other brain differences and explains how to make work safe and productive.",url:"https://a.co/d/fUoWef0"}];function f_(){return p.jsxs("div",{children:[p.jsx("section",{className:"bg-primary text-primary-foreground py-16 md:py-24",children:p.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:p.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center",children:[p.jsxs("div",{children:[p.jsx("p",{className:"text-xs tracking-[0.3em] uppercase text-white/60 mb-4",children:"New Book Out Now"}),p.jsx("h1",{className:"font-heading text-3xl md:text-4xl font-bold mb-6",children:"Am I Actually Autistic?"}),p.jsxs("p",{className:"text-white/90 leading-relaxed mb-4",children:["Angela's newest book, ",p.jsx("em",{children:"Am I Actually Autistic: Your Guide to Processing the Identity Shock of Late Autism Discovery & Living Unmasked"}),", is available now. It is a love letter to those who discovered or are discovering they are Autistic well into adulthood."]}),p.jsxs("p",{className:"text-white/80 leading-relaxed mb-8",children:["You can find the book on Amazon and Audible, but there is a free summary of each chapter on the ",p.jsx("a",{href:"http://autisticculture.substack.com/t/book",target:"_blank",rel:"noopener noreferrer",className:"underline font-semibold hover:text-white",children:"Autistic Culture Substack"}),". Substack members get the ebook and audiobook for free and a print copy for the price of printing and shipping."]}),p.jsx("a",{href:"http://autisticculture.substack.com/t/book",target:"_blank",rel:"noopener noreferrer",children:p.jsxs(bn,{size:"lg",className:"bg-white text-primary hover:bg-white/90 font-semibold px-8",children:["Free Preview ",p.jsx(Kr,{className:"w-4 h-4 ml-2"})]})})]}),p.jsx("div",{className:"flex justify-center",children:p.jsx("img",{src:c_,alt:"Am I Actually Autistic? book cover",className:"w-64 md:w-80 rounded-lg shadow-2xl"})})]})})}),p.jsx("section",{className:"py-16 md:py-24 bg-background",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsx("div",{className:"bg-gradient-to-r from-primary via-purple-500 to-blue-500 rounded-2xl p-8 mb-12 text-center shadow-lg",children:p.jsx("a",{href:"http://books.by/autisticculture",target:"_blank",rel:"noopener noreferrer",children:p.jsxs(bn,{size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8",children:["Check out the Autistic Culture Press Bookstore ",p.jsx(Kr,{className:"w-4 h-4 ml-2"})]})})}),p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground mb-4 text-center",children:"A Few of Angela's Books"}
165),p.jsx("p",{className:"text-foreground/60 text-center max-w-3xl mx-auto mb-12",children:"Angela started her career in publishing as an editor and ghostwriter. She's written or co-written dozens of books since 1994, and helped over 2,000 people publish their books."}),p.jsx("div",{className:"space-y-8",children:d_.map((r,t)=>p.jsx("div",{className:"bg-secondary rounded-2xl p-6 md:p-8 shadow-sm border border-border",children:p.jsx("div",{className:"flex flex-col md:flex-row md:items-start gap-4",children:p.jsxs("div",{className:"flex-1",children:[p.jsx("h3",{className:"font-heading text-xl font-bold text-foreground mb-1",children:r.title}),p.jsxs("p",{className:"text-sm text-muted-foreground mb-3",children:["Published ",r.year]}),p.jsx("p",{className:"text-foreground/70 leading-relaxed mb-4",children:r.description}),p.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",children:p.jsxs(bn,{variant:"outline",size:"sm",className:"font-medium",children:["Buy on Amazon ",p.jsx(Kr,{className:"w-3 h-3 ml-2"})]})})]})})},t))})]})})]})}const h_=[{title:"Cats are Autistic (Episode 46)",id:"MCgxdihLiuc",url:"https://www.youtube.com/watch?v=MCgxdihLiuc"},{title:"Episode 5: Washington D.C. is Autistic",id:"yMTyEmC9egw",url:"https://www.youtube.com/watch?v=yMTyEmC9egw"},{title:"Episode 23: Dimensions of Autistic Culture",id:"ikF_eTnLmrA",url:"https://www.youtube.com/watch?v=ikF_eTnLmrA"}],p_=[{quote:"The need to affirm autistic people is so important and I am so thankful how this podcast has helped me support my autistic son, my autistic students, and discover my autism as well.",name:"Maddy W."},{quote:"I love your podcast and listen to every episode :) Your celebration of autistic culture has helped me work through some difficult stages in my self-identification journey.",name:"Veronica"},{quote:"This podcast has made my diagnosis (AuDHD) a joyful, inspiring experience. So grateful for your highly entertaining and enlightening podcasts!",name:"Ruth"},{quote:"The conversations around autism and culture has been invaluable to our family. We LOVE the deep dives into autistically coded bits and bobs. Thank you both for your passion for sharing~",n
165ame:"Julie"},{quote:"I can't fully articulate what your show means to me. A breath of fresh air? It's the first time I've heard people say the things I think and feel about the world. From a recently diagnosed person, I can't thank you enough for the warmest homecoming welcome.",name:"Caleigh McKenna"},{quote:"At 39, I'm one of the Elder Millennial girls funneled into 'gifted' programs in the early 90s who never received their much-needed Autism diagnosis. Thank you for helping me not only better understand Autism, but also myself. Autistica feels like home!",name:"Brooke E."},{quote:"I'm a psychiatrist, and one of my jobs involves working with autistic adults. I learned about you from a patient who raved about you. Thanks for creating this wonderful resource!!!",name:"Stiv P"},{quote:"I recently figured out, at 49 years old, that I'm Autistic. This podcast has been helping me not only understand myself better but celebrate the parts of myself I had long been taught were wrong or shameful.",name:"Amber"},{quote:"Angela and Matt: You are awesome! Thank you for what you do. On my hardest days when I question if anyone gets me; I've got your podcast to look forward to.",name:"Sudni"},{quote:"Your most recent episode was great, I listen to you as I work overnight (I own a bakery), your positivity about our culture has helped through a rough year. Hearing a positive spin on our culture has helped balance all the negative talk.",name:"Andy C."},{quote:"I love the podcast! I am new to understanding myself as autistic and I am learning so much and really glad for the celebratory way you discuss autism. Thank you for being amazing!",name:"Catherine Paul"},{quote:"Thank you for creating and sharing such incredibly useful, joyful resources for and by autistic folks!",name:"Erin B."}];function m_(){return p.jsxs("div",{children:[p.jsx("section",{className:"bg-primary text-primary-foreground py-16 md:py-24",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[p.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-white/20 mb-6",children:p.jsx(lw,{className:"w-10 h-10"})}),p.jsx("h1",{className:"font-heading text-3xl md:text-5xl font-bold mb-4",children:"The Autistic Culture Podcast Network"}),p.jsxs("p",{className:"text-white/90 text-lg max-w-2xl mx-auto leading-relaxed mb-4",children:["We Believe ",p.jsx("strong",{children:"Celebrating Autistic Joy is our Greatest Act of Resistance"})]}),p.jsxs("p",{className:"text-white/80 text-base max-w-3xl mx-auto leading-relaxed mb-8",children:["The first podcast network created ",p.jsx("em",{children:"by and for"})," Autistic people to celebrate our culture, our voices, and our contributions to the world. Rooted in the 10 Pillars of Autistic Culture and grounded in the social model of disability."]}),p.jsx("a",{href:"https://podcasts.apple.com/us/podcast/the-autistic-culture-podcast/id1653171456",target:"_blank",rel:"noopener noreferrer",children:p.jsxs(bn,{size:"lg",className:"bg-white text-primary hover:bg-white/90 font-semibold px-8",children:["Listen on Apple Podcasts ",p.jsx(Kr,{className:"w-4 h-4 ml-2"})]})})]})}),p.jsx("section",{className:"py-16 md:py-20 bg-background",children:p.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground mb-10 text-center",children:"Watch Recent Episodes"}),p.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:h_.map((r,t)=>p.jsxs("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"group block",children:[p.jsxs("div",{className:"relative rounded-xl overflow-hidden shadow-md aspect-video bg-foreground
165/10",children:[p.jsx("img",{src:`https://img.youtube.com/vi/${r.id}/hqdefault.jpg`,alt:r.title,className:"w-full h-full object-cover"}),p.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors flex items-center justify-center",children:p.jsx("div",{className:"w-12 h-12 rounded-full bg-white/90 flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform",children:p.jsx(zc,{className:"w-5 h-5 text-primary fill-primary ml-0.5"})})})]}),p.jsx("p",{className:"mt-3 text-sm font-medium text-foreground group-hover:text-primary transition-colors line-clamp-2",children:r.title})]},t))})]})}),p.jsx("section",{className:"py-16 md:py-20 bg-secondary",children:p.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsx("p",{className:"text-center text-xs tracking-[0.3em] uppercase text-muted-foreground mb-2",children:"Listener Love"}),p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground mb-10 text-center",children:"Invaluable! A Lifeline! A Homecoming!"}),p.jsx("div",{className:"columns-1 md:columns-2 lg:columns-3 gap-5 space-y-5",children:p_.map((r,t)=>p.jsxs("div",{className:"break-inside-avoid bg-white rounded-2xl p-6 shadow-sm border border-border",children:[p.jsxs("p",{className:"text-foreground/80 italic leading-relaxed mb-4",children:['"',r.quote,'"']}),p.jsxs("p",{className:"text-sm font-semibold text-primary",children:["â ",r.name]})]},t))})]})}),p.jsx("section",{className:"py-16 md:py-20 bg-background",children:p.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[p.jsx("h2",{className:"font-heading text-2xl font-bold text-foreground mb-8",children:"Where to Listen"}),p.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:[{label:"Apple Podcasts",url:"https://podcasts.apple.com/us/podcast/the-autistic-culture-podcast/id1653171456"},{label:"Spotify",url:"https://open.spotify.com/show/6wyddJdKhPr0b74563fsFl"}].map((r,t)=>p.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",children:p.jsxs(bn,{variant:"outline",className:"font-medium",children:[r.label," ",p.jsx(Kr,{className:"w-3 h-3 ml-2"})]})},t))})]})}),p.jsx("section",{className:"py-16 md:py-20 bg-secondary",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground mb-4",children:"TikTok"}),p.jsx("p",{className:"text-foreground/70 text-lg max-w-2xl mx-auto mb-8",children:"On TikTok, Dr. Angela brings together her Autistic special interest of book writing and publishingâa field she has 30+ years of experience inâwith her passion for celebrating Autistic Culture."}),p.jsx("a",{href:"https://www.tiktok.com/@angelaintheuk",target:"_blank",rel:"noopener noreferrer",children:p.jsxs(bn,{className:"font-semibold px-8",children:["Follow @angelaintheuk ",p.jsx(Kr,{className:"w-4 h-4 ml-2"})]})})]})})]})}const g_=[{category:"Podcast",title:"Meet My Autistic Brain: How AI Benefits Autistics",description:"Dr. Angela discusses her latest book, The Equalizing Quill, and how and why generative AI gives autistics greater access to writing.",url:"https://podcasts.apple.com/us/podcast/meet-my-brain-a-field-guide-to-autism/id1548001224?i=1000657047110"},{category:"Podcast",title:"Squarepeg: Relaxing into the Truth of who we are as Late-diagnosed Autistic Adults",description:"Angela shares how she became fully able to accept and embrace her own autistic identity, and wider autistic culture.",url:"https://squarepeg.community/91-s7-ep11-relaxing-into-the-truth-of-who-we-are-as-late-diagnosed-autistic-adults/"},{category:"YouTube",title:"FunkQuest: A professional queuer Angela Lauria",description:'Angela was a professional "standing in line person" on Capital Hill in Washington DC for lawyers and lobbyists.',url:"https://youtu.be/D7ZHiZAsTQM?si=N1jmVSKaUH5GOXFo"},{category:"Podcast",title:"An Education Abroad: Neurodiversity as an Overseas Student",description:"Angela shares her unique insights as both an advocate for neurodiversity and a student who pursued part of her education overseas.",url:"https://podcasts.apple.com/us/podcast/episode-14-neurodiversity-as-an-overseas-student-with/id1738528424?i=1000659481463"},{category:"Podcast",title:"Spectrumly Speaking: Embracing Autistic Joy",description:'Discussion of the concept of "Autistic Joy" and how it plays a role in daily life for autistic individuals.',url:"https://podcasts.apple.com/us/podcast/spectrumly-speaking/id1223810038?i=1000645938825"},{category:"Podcast",title:"The Neurodivergent Convergence: A Chat with Dr. Angela",description:"Angela shares how she became an author, publisher, and podcast host, highlighting her advocacy for autism and neurodiversity.",url:"https://podcasts.apple.com/us/podcast/a-ch
165at-with-dr-angela-lauria/id1684092950?i=1000648312608"},{category:"Podcast",title:"Innovators on the Spectrum: Beyond Confidence",description:"Uncovering the multifaceted world of autism beyond the stereotypes with stories of resilience and the contributions of autistic individuals.",url:"https://podcasts.apple.com/us/podcast/beyond-confidence/id1447287496?i=1000639386065"},{category:"YouTube",title:"Successful, Self-employed & Disabled Podcast",description:"Dr. Angela Lauria is the founder of Difference Press and host of The Autistic Culture Podcast, drawing on her special interest in non-fiction.",url:"https://youtu.be/UpcWYSWw0WM"}];function y_(){return p.jsxs("div",{children:[p.jsx("section",{className:"bg-primary text-primary-foreground py-16 md:py-20",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col md:flex-row md:items-center md:justify-between gap-6",children:[p.jsx("h1",{className:"font-heading text-3xl md:text-4xl font-bold",children:"Selected Media Appearances and Mentions"}),p.jsx("a",{href:"https://drive.google.com/file/d/1r5rXLtWJb5POoFOGzcA07Hex5Jsof0IF/view?usp=share_link",target:"_blank",rel:"noopener noreferrer",children:p.jsxs(bn,{variant:"outline",className:"border-white text-white hover:bg-white/10 font-semibold whitespace-nowrap",children:["Download One Sheet ",p.jsx(Kr,{className:"w-4 h-4 ml-2"})]})})]})}),p.jsx("section",{className:"py-16 md:py-24 bg-background",children:p.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:p.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:g_.map((r,t)=>p.jsxs("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"group block bg-secondary rounded-2xl p-6 shadow-sm border border-border hover:shadow-md transition-shadow",children:[p.jsx("span",{className:"text-xs tracking-widest uppercase text-primary font-semibold",children:r.category}),p.jsxs("h3",{className:"font-heading text-lg font-bold text-foreground mt-2 mb-2 group-hover:text-primary transition-colors",children:[r.title," â"]}),p.jsx("p",{className:"text-foreground/60 text-sm leading-relaxed",children:r.description})]},t))})})})]})}const qo=A.forwardRef(({className:r,type:t,...s},i)=>p.jsx("input",{type:t,className:cn("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:i,...s}));qo.displayName="Input";var v_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w_=v_.reduce((r,t)=>{const s=_y(`Primitive.${t}`),i=A.forwardRef((l,u)=>{const{asChild:d,...h}=l,m=d?s:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(m,{...h,ref:u})});return i.displayName=`Primitive.${t}`,{...r,[t]:i}},{}),x_="Label",Cy=A.forwardRef((r,t)=>p.jsx(w_.label,{...r,ref:t,onMouseDown:s=>{var l;s.target.closest("button, input, select, textarea")||((l=r.onMouseDown)==null||l.call(r,s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));Cy.displayName=x_;var Ny=Cy;const b_=Fc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ar=A.forwardRef(({className:r,...t},s)=>p.jsx(Ny,{ref:s,className:cn(b_(),r),...t}));ar.displayName=Ny.displayName;const Ry=A.forwardRef(({className:r,...t},s)=>p.jsx("textarea",{className:cn("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:s,...t}));Ry.displayName="Textarea";function k_(r,t=[]){let s=[];function i(u,d){const h=A.createContext(d),m=s.length;s=[...s,d];const y=w=>{var b;const{scope:S,children:P,...M}=w,T=((b=S==null?void 0:S[r])==null?void 0:b[m])||h,k=A.useMemo(()=>M,Object.values(M));return p.jsx(T.Provider,{value:k,children:P})};y.displayName=u+"Provider";function v(w,S){var T;const P=((T=S==null?void 0:S[r])==null?void 0:T[m])||h,M=A.useContext(P);if(M)return M;if(d!==void 0)return d;throw new Error(`\`${w}\` must be used within \`${u}\``)}return[y,v]}const l=()=>{const u=s.map(d=>A.createContext(d));return function(h){const m=(h==null?void 0:h[r])||u;return A.useMemo(()=>({[`__scope${r}`]:{...h,[r]:m}}),[h,m])}};return l.scopeName=r,[i,S_(l,...t)]}function S_(...r){const t=r[0];if(r.length===1)return t;const s=()=>{const i=r.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const d=i.reduce((h,{useScope:m,scopeName:y})=>{const w=m(u)[`__scope${y}`];return{...h,...w}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:d}),[d])}};return s.scopeName=t.scopeName,s}function Tm(r,t,{checkForDefaultPrevented:s=!0}={}){return function(l){if(r==null||r(l),s===!1||!l.defaultPrevented)return t==null?void 0:t(l)}}var qa=globalThis!=null&&globalThis.document?A.useLayoutEffect:()=>{},E_=Uc[" useInsertionEffect ".trim().toString()]||qa;function __({prop:r,defaultProp:t,onChange:s=()=>{},caller:i}){const[l,u,d]=C_({defaultProp:t,onChange:s}),h=r!==void 0,m=h?r:l;{const v=A.useRef(r!==void 0);A.useEffect(()=>{const w=v.current;w!==h&&console.warn(`${i} is changing from ${w?"controlled":"uncontrolled"} to ${h?"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.`),v.current=h},[h,i])}const y=A.useCallback(v=>{var w;if(h){const S=N_(v)?v(r):v;S!==r&&((w=d.current)==null||w.call(d,S))}else u(v)},[h,r,u,d]);return[m,y]}function C_({defaultProp:r,onChange:t}){const[s,i]=A.useState(r),l=A.useRef(s),u=A.useRef(t);return E_(()=>{u.current=t},[t]),A.useEffect(()=>{var d;l.current!==s&&((d=u.current)==null||d.call(u,s),l.current=s)},[s,l]),[s,i,u]}function N_(r){return typeof r=="function"}function R_(r){const t=A.useRef({value:r,previous:r});return A.useMemo(()=>(t.current.value!==r&&(t.current.previous=t.current.value,t.current.value=r),t.current.previous),[r])}function A_(r){const[t,s]=A.useState(void 0);return qa(()=>
vendor: 6,654 bytes, line 165
165{if(r){s({width:r.offsetWidth,height:r.offsetHeight});const i=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let d,h;if("borderBoxSize"in u){const m=u.borderBoxSize,y=Array.isArray(m)?m[0]:m;d=y.inlineSize,h=y.blockSize}else d=r.offsetWidth,h=r.offsetHeight;s({width:d,height:h})});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else s(void 0)},[r]),t}function T_(r,t){return A.useReducer((s,i)=>t[s][i]??s,r)}var Ay=r=>{const{present:t,children:s}=r,i=P_(t),l=typeof s=="function"?s({present:i.isPresent}):A.Children.only(s),u=dd(i.ref,j_(l));return typeof s=="function"||i.isPresent?A.cloneElement(l,{ref:u}):null};Ay.displayName="Presence";function P_(r){const[t,s]=A.useState(),i=A.useRef(null),l=A.useRef(r),u=A.useRef("none"),d=r?"mounted":"unmounted",[h,m]=T_(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const y=_a(i.current);u.current=h==="mounted"?y:"none"},[h]),qa(()=>{const y=i.current,v=l.current;if(v!==r){const S=u.current,P=_a(y);r?m("MOUNT"):P==="none"||(y==null?void 0:y.display)==="none"?m("UNMOUNT"):m(v&&S!==P?"ANIMATION_OUT":"UNMOUNT"),l.current=r}},[r,m]),qa(()=>{if(t){let y;const v=t.ownerDocument.defaultView??window,w=P=>{const T=_a(i.current).includes(CSS.escape(P.animationName));if(P.target===t&&T&&(m("ANIMATION_END"),!l.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",y=v.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},S=P=>{P.target===t&&(u.current=_a(i.current))};return t.addEventListener("animationstart",S),t.addEventListener("animationcancel",w),t.addEventListener("animationend",w),()=>{v.clearTimeout(y),t.removeEventListener("animationstart",S),t.removeEventListener("animationcancel",w),t.removeEventListener("animationend",w)}}else m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:A.useCallback(y=>{i.current=y?getComputedStyle(y):null,s(y)},[])}}function _a(r){return(r==null?void 0:r.animationName)||"none"}function j_(r){var i,l;let t=(i=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:i.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?r.ref:(t=(l=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:l.get,s=t&&"isReactWarning"in t&&t.isReactWarning,s?r.props.ref:r.props.ref||r.ref)}function O_(r){const t=L_(r),s=A.forwardRef((i,l)=>{const{children:u,...d}=i,h=A.Children.toArray(u),m=h.find(D_);if(m){const y=m.props.children,v=h.map(w=>w===m?A.Children.count(y)>1?A.Children.only(null):A.isValidElement(y)?y.props.children:null:w);return p.jsx(t,{...d,ref:l,children:A.isValidElement(y)?A.cloneElement(y,void 0,v):null})}return p.jsx(t,{...d,ref:l,children:u})});return s.displayName=`${r}.Slot`,s}function L_(r){const t=A.forwardRef((s,i)=>{const{children:l,...u}=s;if(A.isValidElement(l)){const d=U_(l),h=M_(u,l.props);return l.type!==A.Fragment&&(h.ref=i?cd(i,d):d),A.cloneElement(l,h)}return A.Children.count(l)>1?A.Children.only(null):null});return t.displayName=`${r}.SlotClone`,t}var I_=Symbol("radix.slottable");function D_(r){return A.isValidElement(r)&&typeof r.type=="function"&&"__radixId"in r.type&&r.type.__radixId===I_}function M_(r,t){const s={...t};for(const i in t){const l=r[i],u=t[i];/^on[A-Z]/.test(i)?l&&u?s[i]=(...h)=>{const m=u(...h);return l(...h),m}:l&&(s[i]=l):i==="style"?s[i]={...l,...u}:i==="className"&&(s[i]=[l,u].filter(Boolean).join(" "))}return{...r,...s}}function U_(r){var i,l;let t=(i=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:i.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?r.ref:(t=(l=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:l.get,s=t&&"isReactWarning"in t&&t.isReactWarning,s?r.props.ref:r.props.ref||r.ref)}var F_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],fd=F_.reduce((r,t)=>{const s=O_(`Primitive.${t}`),i=A.forwardRef((l,u)=>{const{asChild:d,...h}=l,m=d?s:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(m,{...h,ref:u})});return i.displayName=`Primitive.${t}`,{...r,[t]:i}},{}),Ya="Checkbox",[z_]=k_(Ya),[B_,hd]=z_(Ya);function $_(r){const{__scopeCheckbox:t,checked:s,children:i,defaultChecked:l,disabled:u,form:d,name:h,onCheckedChange:m,required:y,value:v="on",internal_do_not_use_render:w}=r,[S,P]=__({prop:s,defaultProp:l??!1,onChange:m,caller:Ya}),[M,T]=A.useState(null),[k,b]=A.useState(null),I=A.useRef(!1),O=M?!!d||!!M.closest("form"):!0,D={checked:S,disabled:u,setChecked:P,control:M,setControl:T,name:h,form:d,value:v,hasConsumerStoppedPropagationRef:I,required:y,defaultChecked:xr(l)?!1:l,isFormControl:O,bubbleInput:k,setBubbleInput:b};return p.jsx(B_,{scope:t,...D,children:q_(w)?w(D):i})}var Ty="CheckboxTrigger",Py=A.forwardRef(({__scopeCheckbox:r,onKeyDown:t,onClick:s,...i},l)=>{const{control:u,value:d,disabled:h,checked:m,required:y,setControl:v,setChecked:w,hasConsumerStoppedPropagationRef:S,isFormControl:P,bubbleInput:M}=hd(Ty,r),T=dd(l,v),k=A.useRef(m);return A.useEffect(()=>{const b=u==null?void 0:u.form;if(b){const I=()=>w(k.current);return b.addEventListener("reset",I),()=>b.removeEventListener("reset",I)}},[u,w]),p.jsx(fd.button,{type:"button",role:"checkbox","aria-checked":xr(m)?"mixed":m,"aria-required":y,"data-state":Dy(m),"data-disabled":h?"":void 0,disabled:h,value:d,...i,ref:T,onKeyDown:Tm(t,b=>{b.key==="Enter"&&b.preventDefault()}),onClick:Tm(s,b=>{w(I=>xr(I)?!0:!I),M&&P&&(S.current=b.isPropagationStopped(),S.current||b.stopPropagation())})})});Py.displayName=Ty;var pd=A.forwardRef((r,t)=>{const{__scopeCheckbox:s,name:i,checked:l,defaultChecked:u,required:d,disabled:h,value:m,onCheckedChange:y,form:v,...w}=r;return p.jsx($_,{__scopeCheckbox:s,checked:l,defaultChecked:u,disabled:h,required:d,onCheckedChange:y,name:i,form:v,value:m,internal_do_not_use_render:({isFormControl:S})=>p.jsxs(p.Fragment,{children:[p.jsx(Py,{...w,ref:t,__scopeCheckbox:s}),S&&p.jsx(Iy,{__scopeCheckbox:s})]})})});pd.displayName=Ya;var jy="CheckboxIndicator",Oy=A.forwardRef((r,t)=>{const{__scopeCheckbox:s,forceMount:i,...l}=r,u=hd(jy,s);return p.jsx(Ay,{present:i||xr(u.checked)||u.checked===!0,children:p.jsx(fd.span,{"data-state":Dy(u.checked),"data-disabled":u.disabled?"":void 0,...l,ref:t,style:{pointerEvents:"none",...r.style}})})});Oy.displayName=jy;var Ly="CheckboxBubbleInput",Iy=A.forwardRef(({__scopeCheckbox:r,...t},s)=>{const{control:i,hasConsumerStoppedPropagationRef:l,checked:u,defaultChecked:d,required:h,disabled:m,name:y,value:v,form:w,bubbleInput:S,setBubbleInput:P}
165=hd(Ly,r),M=dd(s,P),T=R_(u),k=A_(i);A.useEffect(()=>{const I=S;if(!I)return;const O=window.HTMLInputElement.prototype,V=Object.getOwnPropertyDescriptor(O,"checked").set,Q=!l.current;if(T!==u&&V){const ie=new Event("click",{bubbles:Q});I.indeterminate=xr(u),V.call(I,xr(u)?!1:u),I.dispatchEvent(ie)}},[S,T,u,l]);const b=A.useRef(xr(u)?!1:u);return p.jsx(fd.input,{type:"checkbox","aria-hidden":!0,defaultChecked:d??b.current,required:h,disabled:m,name:y,value:v,form:w,...t,tabIndex:-1,ref:M,style:{...t.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Iy.displayName=Ly;function q_(r){return typeof r=="function"}function xr(r){return r==="indeterminate"}function Dy(r){return xr(r)?"indeterminate":r?"checked":"unchecked"}const My=A.forwardRef(({className:r,...t},s)=>p.jsx(pd,{ref:s,className:cn("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),...t,children:p.jsx(Oy,{className:cn("flex items-center justify-center text-current"),children:p.jsx(ew,{className:"h-4 w-4"})})}));My.displayName=pd.displayName;function H_(r){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",t.appendChild(s),s.styleSheet?s.styleSheet.cssText=r:s.appendChild(document.createTextNode(r))}Array(12).fill(0);let Ic=1;class V_{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const s=this.subscribers.indexOf(t);this.subscribers.splice(s,1)}),this.publish=t=>{this.subscribers.forEach(s=>s(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var s;const{message:i,...l}=t,u=typeof(t==null?void 0:t.id)=="number"||((s=t.id)==null?void 0:s.length)>0?t.id:Ic++,d=this.toasts.find(m=>m.id===u),h=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),d?this.toasts=this.toasts.map(m=>m.id===u?(this.publish({...m,...t,id:u,title:i}),{...m,...t,id:u,dismissible:h,title:i}):m):this.addToast({title:i,...l,dismissible:h,id:u}),u},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:t,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(i=>i({id:s.id,dismiss:!0}))}),t),this.message=(t,s)=>this.create({...s,message:t}),this.error=(t,s)=>this.create({...s,message:t,type:"error"}),this.success=(t,s)=>this.create({...s,type:"success",message:t}),this.info=(t,s)=>this.create({...s,type:"info",message:t}),this.warning=(t,s)=>this.create({...s,type:"warning",message:t}),this.loading=(t,s)=>this.create({...s,type:"loading",message:t}),this.promise=(t,s)=>{if(!s)return;let i;s.loading!==void 0&&(i=this.create({...s,promise:t,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const l=Promise.resolve(t instanceof Function?t():t);let u=i!==void 0,d;const h=l.then(async y=>{if(d=["resolve",y],Ns.isValidElement(y))u=!1,this.create({id:i,type:"default",message:y});else if(Q_(y)&&!y.ok){u=!1;const w=typeof s.error=="function"?await s.error(`HTTP error! status: ${y.status}`):s.error,S=typeof s.description=="function"?await s.description(`HTTP error! status: ${y.status}`):s.description,M=typeof w=="object"&&!Ns.isValidElement(w)?w:{message:w};this.create({id:i,type:"error",description:S,...M})}else if(y instanceof Error){u=!1;const w=typeof s.error=="function"?await s.error(y):s.error,S=typeof s.description=="function"?await s.description(y):s.description,M=typeof w=="object"&&!Ns.isValidElement(w)?w:{message:w};this.create({id:i,type:"error",description:S,...M})}else if(s.success!==void 0){u=!1;const w=typeof s.success=="function"?await s.success(y):s.success,S=typeof s.description=="function"?await s.description(y):s.description,M=typeof w=="object"&&!Ns.isValidElement(w)?w:{message:w};this.create({id:i,type:"success",description:S,...M})}}).catch(async y=>{if(d=["reject",y],s.error!==void 0){u=!1;const v=typeof s.error=="function"?await s.error(y):s.error,w=typeof s.description=="function"?await s.description(y):s.description,P=typeof v=="object"&&!Ns.isValidElement(v)?v:{message:v};this.create({id:i,type:"error",description:w,...P})}}).finally(()=>{u&&(this.dismiss(i),i=void 0),s.finally==null||s.finally.call(s)}),m=()=>new Promise((y,v)=>h.then(()=>d[0]==="reject"?v(d[1]):y(d[1])).catch(v));
vendor: 804 bytes, line 165
165return typeof i!="string"&&typeof i!="number"?{unwrap:m}:Object.assign(i,{unwrap:m})},this.custom=(t,s)=>{const i=(s==null?void 0:s.id)||Ic++;return this.create({jsx:t(i),id:i,...s}),i},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Wt=new V_,W_=(r,t)=>{const s=(t==null?void 0:t.id)||Ic++;return Wt.addToast({title:r,...t,id:s}),s},Q_=r=>r&&typeof r=="object"&&"ok"in r&&typeof r.ok=="boolean"&&"status"in r&&typeof r.status=="number",K_=W_,G_=()=>Wt.toasts,Y_=()=>Wt.getActiveToasts(),J_=Object.assign(K_,{success:Wt.success,info:Wt.info,warning:Wt.warning,error:Wt.error,custom:Wt.custom,message:Wt.message,promise:Wt.promise,dismiss:Wt.dismiss,loading:Wt.loading},{getHistory:G_,getToasts:Y_});H_
vendor: 14,864 bytes, line 165
165("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
165const X_="https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/c533d44e9_FullSizeRender.jpg",Z_=["Speaking Opportunity","Podcast Inquiry","Consulting Services","Personal connection","Something else"];function eC(){const[r,t]=A.useState({firstName:"",lastName:"",email:"",phone:"",message:"",inquiries:[]}),[s,i]=A.useState(!1),l=d=>{t(h=>({...h,inquiries:h.inquiries.includes(d)?h.inquiries.filter(m=>m!==d):[...h.inquiries,d]}))},u=d=>{d.preventDefault(),i(!0),J_.success("Thank you! Your message has been sent.")};return s?p.jsxs("div",{className:"py-24 text-center max-w-lg mx-auto px-4",children:[p.jsx("h1",{className:"font-heading text-3xl font-bold text-foreground mb-4",children:"Thank You!"}),p.jsx("p",{className:"text-foreground/70 text-lg",children:"Your message has been sent. Angela will get back to you soon."})]}):p.jsx("div",{children:p.jsx("section",{className:"py-16 md:py-24 bg-background",children:p.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:p.jsxs("div",{className:"grid md:grid-cols-2 gap-12",children:[p.jsxs("div",{children:[p.jsx("h1",{className:"font-heading text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Contact"}),p.jsx("p",{className:"text-foreground/70 text-lg mb-8",children:"Would you like to learn more or have a chat with Angela? Please get in touch with your inquiries."}),p.jsxs("div",{className:"space-y-4 mb-8",children:[p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(fw,{className:"w-5 h-5 text-primary"}),p.jsxs("div",{children:[p.jsx("p",{className:"text-sm font-semibold text-foreground",children:"Email"}),p.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]}),p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(gw,{className:"w-5 h-5 text-primary"}),p.jsxs("div",{children:[p.jsx("p",{className:"text-sm font-semibold text-foreground",children:"Phone"}),p.jsx("p",{className:"text-foreground/70",children:"US - +1 (202) 230-4444"}),p.jsx("p",{className:"text-foreground/70",children:"UK - +44 (7517) 000527"})]})]})]}),p.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg bg-secondary flex justify-center",children:p.jsx("img",{src:X_,alt:"Dr. Angela Kingdon",className:"max-h-96 w-auto object-contain"})})]}),p.jsxs("form",{onSubmit:u,className:"space-y-5",children:[p.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[p.jsxs("div",{children:[p.jsx(ar,{htmlFor:"firstName",children:"First Name *"}),p.jsx(qo,{id:"firstName",required:!0,value:r.firstName,onChange:d=>t({...r,firstName:d.target.value})})]}),p.jsxs("div",{children:[p.jsx(ar,{htmlFor:"lastName",children:"Last Name *"}),p.jsx(qo,{id:"lastName",required:!0,value:r.lastName,onChange:d=>t({...r,lastName:d.target.value})})]})]}),p.jsxs("div",{children:[p.jsx(ar,{htmlFor:"email",children:"Email *"}),p.jsx(qo,{id:"email",type:"email",required:!0,value:r.email,onChange:d=>t({...r,email:d.target.value})})]}),p.jsxs("div",{children:[p.jsx(ar,{htmlFor:"phone",children:"Phone *"}),p.jsx(qo,{id:"phone",type:"tel",required:!0,value:r.phone,onChange:d=>t({...r,phone:d.target.value})})]}),p.jsxs("div",{children:[p.jsx(ar,{className:"mb-2 block",children:"What is this regarding? *"}),p.jsx("p",{className:"text-xs text-muted-foreground mb-3",children:"Check all that apply"}),p.jsx("div",{className:"space-y-2",children:Z_.map(d=>p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx(My,{id:d,checked:r.inquiries.includes(d),onCheckedChange:()=>l(d)}),p.jsx(ar,{htmlFor:d,className:"text-sm font-normal cursor-pointer",children:d})]},d))})]}),p.jsxs("div",{children:[p.jsx(ar,{htmlFor:"message",children:"Message"}),p.jsx(Ry,{id:"message",rows:5,value:r.message,onChange:d=>t({...r,message:d.target.value})})]}),p.jsx(bn,{type:"submit",size:"lg",className:"w-full font-semibold",children:"Submit"})]})]})})})})}const ic=[{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/3674355eb_FullSizeRender.jpg",alt:"Angela speaking in green and pink dress"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/fe9dcd46d_IMG_2098.jpg",alt:"Angela at TEDx Tamworth"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/1aff66788_IMG_3465.jpg",alt:"Angela at Naidex stage with Autistic Culture Podcast"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/2c1d0daed_IMG_3899.jpg",alt:"Angela speaking at Unfair Advantage Live"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/4e153788d_IMG_4737.jpg",alt:"Angela on KTLA 5 News"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/e0075043a_IMG_5119.jpg",alt:"Angela on stage in rainbow skirt"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/55defb907_IMG_7046.jpg",alt:"Angela on Good Day LA"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/2a32744d0_IMG_8449.jpg",alt:"Angela speaking on stage with award"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/7de98030a_IMG_8452.jpg",alt:"Angela on red carpet at Author Incubator event"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/c74d739e8_angelaonarchangelstage.jpg",alt:"Angela on Archangel stage"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/2aa81918c_IMG_7981.jpg",alt:"Angela in orange suit on stage"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/df47f7144_IMG_4183.JPG",alt:"Angela speaking at conference"},{src:"https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/56bdfa762_IMG_2690.jpg",alt:"Angela at TEDx NC State"}];function tC(){const[r,t]=A.useState(null);return p.jsxs("div",{children:[p.jsx("section",{className:"bg-primary text-primary-foreground py-16",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[p.jsx("h1",{className:"font-heading text-3xl md:text-5xl font-bold mb-4",children:"Gallery"}),p.jsx("p",{className:"text-white/80 text-lg",children:"Angela speaking, connecting, and celebrating Autistic culture around the world."})]})}),p.jsx("section",{className:"py-12 md:py-16 bg-background",children:p.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:p.jsx("div",{className:"columns-1 sm:columns-2 lg:columns-3 gap-4 space-y-4",children:ic.map((s,i)=>
165p.jsx("div",{className:"break-inside-avoid cursor-pointer group overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow",onClick:()=>t(i),children:p.jsx("img",{src:s.src,alt:s.alt,className:"w-full h-auto block group-hover:scale-105 transition-transform duration-300"})},i))})})}),r!==null&&p.jsxs("div",{className:"fixed inset-0 z-50 bg-black/90 flex items-center justify-center p-4",onClick:()=>t(null),children:[p.jsx("button",{className:"absolute top-4 right-4 text-white hover:text-primary transition-colors",onClick:()=>t(null),children:p.jsx(Bc,{className:"w-8 h-8"})}),p.jsx("img",{src:ic[r].src,alt:ic[r].alt,className:"max-w-full max-h-[90vh] object-contain rounded-lg",onClick:s=>s.stopPropagation()})]})]})}const Mo=["https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/01beb599d_Screenshot2026-06-22at125048PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/2d813cb22_Screenshot2026-06-22at125111PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/813bfec75_Screenshot2026-06-22at125121PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/d819f6cad_Screenshot2026-06-22at125133PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/547722d06_Screenshot2026-06-22at125142PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/79c219c8e_Screenshot2026-06-22at125152PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/a5049dea1_Screenshot2026-06-22at125204PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/9a5a9b050_Screenshot2026-06-22at125213PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/35a60f897_Screenshot2026-06-22at125222PM.png","https://media.base44.com/images/public/69f3281fdc5e03e95ffc2250/238bfa6c6_Screenshot2026-06-22at125235PM.png"];function nC(){const[r,t]=A.useState(0),s=()=>t(l=>(l-1+Mo.length)%Mo.length),i=()=>t(l=>(l+1)%Mo.length);return p.jsxs("div",{className:"my-10",children:[p.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-xl",children:[p.jsx("img",{src:Mo[r],alt:`Pillar ${r+1} slide`,className:"w-full h-auto object-cover"}),p.jsx("button",{onClick:s,className:"absolute left-3 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full bg-white/80 hover:bg-white shadow-md flex items-center justify-center transition-colors",children:p.jsx(nw,{className:"w-5 h-5 text-foreground"})}),p.jsx("button",{onClick:i,className:"absolute right-3 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full bg-white/80 hover:bg-white shadow-md flex items-center justify-center transition-colors",children:p.jsx(sw,{className:"w-5 h-5 text-foreground"})})]}),p.jsx("div",{className:"flex justify-center gap-2 mt-4",children:Mo.map((l,u)=>p.jsx("button",{onClick:()=>t(u),className:`w-3 h-3 rounded-full transition-colors ${u===r?"bg-primary":"bg-border hover:bg-muted-foreground"}`},u))})]})}const rC=[{number:"1",name:"Bottom-Up Processing",description:"As the operating system of Autistic Culture, this pillar defines how Autistic individuals experience the world by gathering specific details first to build an overarching understanding, rather than relying on top-down assumptions or social implications. It creates a cultural preference for direct communication, precision, and truth, which can make typical neurotypical environmentsâwhich demand fast, abstract decision-makingâexhausting."},{number:"2",name:"Rhythmic Communicating",description:"This pillar reclaims behaviors often pathologized by the medical modelâsuch as echolalia, scripting, tangents, and info-dumpingâas legitimate, deeply meaningful forms of expression and connection. These rhythmic patterns serve to regulate emotions, bridge spontaneous speech for Gestalt language processors, and build bonds through the generous sharing of intense special interests (SPIN bonding)."},{number:"3",name:"Norm-Challenging",description:"Autistic Culture is characterized by a natural resistance to arbitrary social rules, unspoken hierarchies, and behavioral defaults. Because Autistic people require things to be logically true and coherent, they often question authority and refuse to pretend to accept systems that do not make sense, making them innate challengers of the status quo."},{number:"4",name:"World-Building",description:"Whether designing fictional universes, organizing physical spaces, or creating specialized rout
165ines, Autistic people are driven to construct environments and systems that are reliable, internally consistent, and safe. This is not an escape from reality, but a necessary response to an external world that often feels overwhelmingly fast, contradictory, or hostile."},{number:"5",name:"Pattern-Matching",description:"Rather than just a cognitive skill, pattern-matching is an Autistic cultural instinct used to detect structure, trace cause-and-effect, and identify contradictions. It is a primary method for learning and evaluating trust; Autistic people build coherence from chaos by tracking how details interact over time, allowing them to spot hypocrisy in systems and people."},{number:"6",name:"Game-Changing Innovation",description:"While incremental innovation works within existing systems, the Autistic drive for structural coherence frequently leads to game-changing innovationâinventing entirely new frameworks when the old ones fail to accurately describe reality. Because Autistic thinkers can sustain intense focus on a problem until its underlying framework is resolved, they routinely change the questions humanity can ask, even if institutions initially resist their unconventional methods."},{number:"7",name:"Boldly Creating",description:"In Autistic Culture, the creative process is prioritized over the final product. Through rhythmic repetition, sensory engagement, and unapologetic intensity, Autistic creationâwhether it is lining up cars, knitting, or composing musicâfunctions as a vital tool for bodily regulation, communication, and maintaining internal equilibrium."},{number:"8",name:"Predictably Comforting",description:"Predictability is a foundational survival tool for Autistic nervous systems. Due to intense sensory processing and expectation sensitivity, Autistic people rely on familiar routines, repeated media, and known sensory inputs to reduce cognitive load and find emotional safety. Routine is not stubbornness, but a self-designed form of care that makes engagement with life possible."},{number:"9",name:"Justice-Seeking",description:"Autistic Culture places a premium on ethical consistency. When words do not align with actions, or rules are applied unfairly, Autistic people experience an immediate, visceral physical reaction to the injustice. This sensitivity ensures that moral clarity and truth are prioritized over social harmony or convenience, making Autistic individuals powerful advocates for change."},{number:"10",name:"Passionate Superfanning",description:"This pillar turns deep, sustained focus into a robust cultural practice. Superfanning allows Autistic people to find social belonging through shared knowledge and mutual obsession rather than through performative small talk. It provides continuity, emotional regulation, and an accessible social structure built around the logic and history of a beloved subject."}];function sC(){return p.jsxs("div",{children:[p.jsx("section",{className:"bg-primary text-primary-foreground py-16 md:py-24",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[p.jsx("h1",{className:"font-heading text-3xl md:text-5xl font-bold mb-6",children:"What Is Autistic Culture? The 10 Pillars That Define a Living Community"}),p.jsx("p",{className:"text-white/90 text-lg max-w-3xl mx-auto leading-relaxed",children:"Autistic Culture is a rich, historic, and living community shaped by shared values, norms, and traditions that differ from neurotypical norms â defined not through a medical or diagnostic lens, but from the inside out."})]})}),p.jsx("section",{className:"py-16 bg-background",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs("p",{className:"text-foreground/80 leading-relaxed mb-6",children:["The ",p.jsx("strong",{children:"10 Pillars of Autistic Culture"})," were developed by Dr. Angela Kingdon, a cultural psychology educator with over 40 years of experience translating cultures. Drawing on that deep expertise â and on her own lived experience as a late-diagnosed Autistic person â she articulated a framework that describes Autistic culture from the inside out, grounding it in the shared values, norms, and meaning-making practices that actually emerge from the Autistic neurotype, rather than
165imposing an external, deficit-based lens."]}),p.jsxs("p",{className:"text-foreground/80 leading-relaxed mb-6",children:["The term ",p.jsx("strong",{children:"Autistic Culture"})," has documented roots stretching back at least to 1999, when it appeared at ",p.jsx("a",{href:"https://www.autreat.com/aut99.html",target:"_blank",rel:"noopener noreferrer",className:"text-primary underline hover:text-primary/80",children:"Autreat"}),", an Autistic-run retreat and conference. At that event, Kim Duff â a linguistics and anthropology student and ANI-L member diagnosed in 1998 â presented ",p.jsx("em",{children:'"The Role of Changeling Lore in Autistic Culture,"'})," exploring how changeling mythology functioned as a means of self-identification within the Autistic community. The recognition of a distinct Autistic culture did not originate with clinical researchers; it emerged from Autistic people themselves."]}),p.jsx("p",{className:"text-foreground/80 leading-relaxed mb-6",children:"The 10 Pillars of Autistic Culture define the community not through a medical or diagnostic lens, but by establishing the shared values, norms, traditions, and modes of meaning-making that naturally emerge from the Autistic neurotype. They represent the broad strokes of how Autistic people perceive the world, regulate their nervous systems, build connections, and create."}),p.jsx(nC,{}),p.jsx("p",{className:"text-foreground/80 leading-relaxed mb-6",children:`Autistic culture is often misunderstood and misrepresented by outsiders, similar to how other cultural groups have been historically mischaracterized. Autistic traits have existed throughout history, evidenced by notable figures and behaviors predating the term "autism." The foundation of Autistic culture is rooted in shared experiences, values, and inherited meanings that go beyond diagnostic labels. Dr. Angela Kingdon's work emphasizes the importance of viewing autism as a culture rather than solely a disorder â highlighting the need for genuine cultural competency in healthcare, education, and the workplace.`}),p.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground mt-12 mb-8 text-center",children:"The 10 Pillars of Autistic Culture"}),p.jsx("div",{className:"space-y-6",children:rC.map(r=>p.jsx("div",{className:"bg-secondary rounded-2xl p-6 md:p-8 border border-border",children:p.jsxs("div",{className:"flex items-start gap-4",children:[p.jsx("span",{className:"shrink-0 w-10 h-10 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-heading font-bold text-lg",children:r.number}),p.jsxs("div",{children:[p.jsx("h3",{className:"font-heading text-xl font-bold text-foreground mb-2",children:r.name}),p.jsx("p",{className:"text-foreground/75 leading-relaxed",children:r.description})]})]})},r.number))}),p.jsxs("div",{className:"mt-12 bg-primary text-primary-foreground rounded-2xl p-8",children:[p.jsx("h2",{className:"font-heading text-2xl font-bold mb-4",children:"How the Pillars Intersect"}),p.jsx("p",{className:"text-white/90 leading-relaxed",children:'These 10 pillars do not exist in isolation; they collide to form a coordinated cultural system. For example, when engaging in Passionate Superfanning, an Autistic person relies on Bottom-Up Processing to gather lore, uses Rhythmic Communicating to quote favorite lines, tracks continuity through Pattern-Matching, and relies on the Predictably Comforting nature of their interest to self-regulate. Together, the pillars reframe Autistic traits from "behavioral excesses" into the disciplined practices, survival strategies, and vibrant traditions of a real, enduring culture.'})]})]})})]})}const oC=()=>{const{isLoadingAuth:r,isLoadingPublicSettings:t,authError:s,navigateToLogin:i}=UE();if(t||r)return p.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:p.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(s){if(s.type==="user_not_registered")return p.jsx(FE,{});if(s.type==="auth_required")return i(),null}return p.jsxs(Wb,{children:[p.jsxs(Vt,{element:p.jsx(qE,{}),children:[p.jsx(Vt,{path:"/",element:p.jsx(r_,{})}),p.jsx(Vt,{path:"/about",element:p.jsx(o_,{})}),p.jsx(Vt,{path:"/speaking",element:p.jsx(u_,{})}),p.jsx(Vt,{path:"/books",element:p.jsx(f_,{})}),p.jsx(Vt,{path:"/podcasting",element:p.jsx(m_,{})}),p.jsx(Vt,{path:"/press",element:p.jsx(y_,{})}),p.jsx(Vt,{path:"/contact",element:p.jsx(eC,{})}),p.jsx(Vt,{path:"/gallery",element:p.jsx(tC,{})}),p.jsx(Vt,{path:"/autistic-culture",element:p.jsx(sC,{})})]}),p.jsx(Vt,{path:"*",element:p.jsx(DE,{})})]})};function iC(){return p.jsx(ME,{children:p.jsxs(Mx,{client:Yx,children:[p.jsx(Zb,{children:p.jsx(oC,{})}),p.jsx(dx,{})]})})}q0.createRoot(document.getElementById("root")).render(p.jsx(iC,{}));
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.