PageSourceSearch

https://archivial-living-folio.base44.app/assets/index-BhverOH9.js

js archivial-living-folio.base44.app collected 2026-10-03 03:11:17 UTC 384,958 bytes, 100 lines download raw bytes

vendor: 6,235 bytes, lines 1-9
1var Fh=r=>{throw TypeError(r)};var Ru=(r,n,s)=>n.has(r)||Fh("Cannot "+s);var k=(r,n,s)=>(Ru(r,n,"read from private field"),s?s.call(r):n.get(r)),ue=(r,n,s)=>n.has(r)?Fh("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(r):n.set(r,s),G=(r,n,s,i)=>(Ru(r,n,"write to private field"),i?i.call(r,s):n.set(r,s),s),Ee=(r,n,s)=>(Ru(r,n,"access private method"),s);var sl=(r,n,s,i)=>({set _(a){G(r,n,a,s)},get _(){return k(r,n,i)}});function Dv(r,n){for(var s=0;s<n.length;s++){const i=n[s];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in r)){const c=Object.getOwnPropertyDescriptor(i,a);c&&Object.defineProperty(r,a,c.get?c:{enumerable:!0,get:()=>i[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function s(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(a){if(a.ep)return;a.ep=!0;const c=s(a);fetch(a.href,c)}})();function cm(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Tu={exports:{}},Eo={},Ou={exports:{}},Se={};/**
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 Ih;function Uv(){if(Ih)return Se;Ih=1;var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),S=Symbol.iterator;function A(C){return C===null||typeof C!="object"?null:(C=S&&C[S]||C["@@iterator"],typeof C=="function"?C:null)}var F={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},I=Object.assign,b={};function x(C,z,ge){this.props=C,this.context=z,this.refs=b,this.updater=ge||F}x.prototype.isReactComponent={},x.prototype.setState=function(C,z){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,z,"setState")},x.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function R(){}R.prototype=x.prototype;function U(C,z,ge){this.props=C,this.context=z,this.refs=b,this.updater=ge||F}var L=U.prototype=new R;L.constructor=U,I(L,x.prototype),L.isPureReactComponent=!0;var N=Array.isArray,W=Object.prototype.hasOwnProperty,Y={current:null},he={key:!0,ref:!0,__self:!0,__source:!0};function M(C,z,ge){var X,oe={},ce=null,be=null;if(z!=null)for(X in z.ref!==void 0&&(be=z.ref),z.key!==void 0&&(ce=""+z.key),z)W.call(z,X)&&!he.hasOwnProperty(X)&&(oe[X]=z[X]);var ve=arguments.length-2;if(ve===1)oe.children=ge;else if(1<ve){for(var me=Array(ve),Ie=0;Ie<ve;Ie++)me[Ie]=arguments[Ie+2];oe.children=me}if(C&&C.defaultProps)for(X in ve=C.defaultProps,ve)oe[X]===void 0&&(oe[X]=ve[X]);return{$$typeof:r,type:C,key:ce,ref:be,props:oe,_owner:Y.current}}function de(C,z){return{$$typeof:r,type:C.type,key:z,ref:C.ref,props:C.props,_owner:C._owner}}function we(C){return typeof C=="object"&&C!==null&&C.$$typeof===r}function fe(C){var z={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(ge){return z[ge]})}var Pe=/\/+/g;function We(C,z){return typeof C=="object"&&C!==null&&C.key!=null?fe(""+C.key):z.toString(36)}function Ae(C,z,ge,X,oe){var ce=typeof C;(ce==="undefined"||ce==="boolean")&&(C=null);var be=!1;if(C===null)be=!0;else switch(ce){case"string":case"number":be=!0;break;case"object":switch(C.$$typeof){case r:case n:be=!0}}if(be)return be=C,oe=oe(be),C=X===""?"."+We(be,0):X,N(oe)?(ge="",C!=null&&(ge=C.replace(Pe,"$&/")+"/"),Ae(oe,z,ge,"",function(Ie){return Ie})):oe!=null&&(we(oe)&&(oe=de(oe,ge+(!oe.key||be&&be.key===oe.key?"":(""+oe.key).replace(Pe,"$&/")+"/")+C)),z.push(oe)),1;if(be=0,X=X===""?".":X+":",N(C))for(var ve=0;ve<C.length;ve++){ce=C[ve];var me=X+We(ce,ve);be+=Ae(ce,z,ge,me,oe)}else if(me=A(C),typeof me=="function")for(C=me.call(C),ve=0;!(ce=C.next()).done;)ce=ce.value,me=X+We(ce,ve++),be+=Ae(ce,z,ge,me,oe);else if(ce==="object")throw z=String(C),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return be}function Fe(C,z,ge){if(C==null)return C;var X=[],oe=0;return Ae(C,X,"","",function(ce){return z.call(ge,ce,oe++)}),X}function Re(C){if(C._status===-1){var z=C._result;z=z(),z.then(function(ge){(C._status===0||C._status===-1)&&(C._status=1,C._result=ge)},function(ge){(C._status===0||C._status===-1)&&(C._status=2,C._result=ge)}),C._status===-1&&(C._status=0,C._result=z)}if(C._status===1)return C._result.default;throw C._result}var Te={current:null},Q={transition:null},ie={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:Q,ReactCurrentOwner:Y};function D(){throw Error("act(...) is not supported in production builds of React.")}return Se.Children={map:Fe,forEach:function(C,z,ge){Fe(C,function(){z.apply(this,arguments)},ge)},count:function(C){var z=0;return Fe(C,function(){z++}),z},toArray:function(C){return Fe(C,function(z){return z})||[]},only:function(C){if(!we(C))throw Error("React.Children.only expected to receive a single React element child.");return C}},Se.Component=x,Se.Fragment=s,Se.Profiler=a,Se.PureComponent=U,Se.StrictMode=i,Se.Suspense=m,Se.__SECRET_INT
vendor: 4,250 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,Se.act=D,Se.cloneElement=function(C,z,ge){if(C==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+C+".");var X=I({},C.props),oe=C.key,ce=C.ref,be=C._owner;if(z!=null){if(z.ref!==void 0&&(ce=z.ref,be=Y.current),z.key!==void 0&&(oe=""+z.key),C.type&&C.type.defaultProps)var ve=C.type.defaultProps;for(me in z)W.call(z,me)&&!he.hasOwnProperty(me)&&(X[me]=z[me]===void 0&&ve!==void 0?ve[me]:z[me])}var me=arguments.length-2;if(me===1)X.children=ge;else if(1<me){ve=Array(me);for(var Ie=0;Ie<me;Ie++)ve[Ie]=arguments[Ie+2];X.children=ve}return{$$typeof:r,type:C.type,key:oe,ref:ce,props:X,_owner:be}},Se.createContext=function(C){return C={$$typeof:f,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},C.Provider={$$typeof:c,_context:C},C.Consumer=C},Se.createElement=M,Se.createFactory=function(C){var z=M.bind(null,C);return z.type=C,z},Se.createRef=function(){return{current:null}},Se.forwardRef=function(C){return{$$typeof:h,render:C}},Se.isValidElement=we,Se.lazy=function(C){return{$$typeof:v,_payload:{_status:-1,_result:C},_init:Re}},Se.memo=function(C,z){return{$$typeof:g,type:C,compare:z===void 0?null:z}},Se.startTransition=function(C){var z=Q.transition;Q.transition={};try{C()}finally{Q.transition=z}},Se.unstable_act=D,Se.useCallback=function(C,z){return Te.current.useCallback(C,z)},Se.useContext=function(C){return Te.current.useContext(C)},Se.useDebugValue=function(){},Se.useDeferredValue=function(C){return Te.current.useDeferredValue(C)},Se.useEffect=function(C,z){return Te.current.useEffect(C,z)},Se.useId=function(){return Te.current.useId()},Se.useImperativeHandle=function(C,z,ge){return Te.current.useImperativeHandle(C,z,ge)},Se.useInsertionEffect=function(C,z){return Te.current.useInsertionEffect(C,z)},Se.useLayoutEffect=function(C,z){return Te.current.useLayoutEffect(C,z)},Se.useMemo=function(C,z){return Te.current.useMemo(C,z)},Se.useReducer=function(C,z,ge){return Te.current.useReducer(C,z,ge)},Se.useRef=function(C){return Te.current.useRef(C)},Se.useState=function(C){return Te.current.useState(C)},Se.useSyncExternalStore=function(C,z,ge){return Te.current.useSyncExternalStore(C,z,ge)},Se.useTransition=function(){return Te.current.useTransition()},Se.version="18.3.1",Se}var Dh;function Ec(){return Dh||(Dh=1,Ou.exports=Uv()),Ou.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 Uh;function zv(){if(Uh)return Eo;Uh=1;var r=Ec(),n=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(h,m,g){var v,S={},A=null,F=null;g!==void 0&&(A=""+g),m.key!==void 0&&(A=""+m.key),m.ref!==void 0&&(F=m.ref);for(v in m)i.call(m,v)&&!c.hasOwnProperty(v)&&(S[v]=m[v]);if(h&&h.defaultProps)for(v in m=h.defaultProps,m)S[v]===void 0&&(S[v]=m[v]);return{$$typeof:n,type:h,key:A,ref:F,props:S,_owner:a.current}}return Eo.Fragment=s,Eo.jsx=f,Eo.jsxs=f,Eo}var zh;function Mv(){return zh||(zh=1,Tu.exports=zv()),Tu.exports}var y=Mv(),V=Ec();const Bv=cm(V),$v=Dv({__proto__:null,default:Bv},[V]);var ol={},Au={exports:{}},At={},Pu={exports:{}},ju={};/**
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 Mh;function Hv(){return Mh||(Mh=1,(function(r){function n(Q,ie){var D=Q.length;Q.push(ie);e:for(;0<D;){var C=D-1>>>1,z=Q[C];if(0<a(z,ie))Q[C]=ie,Q[D]=z,D=C;else break e}}function s(Q){return Q.length===0?null:Q[0]}function i(Q){if(Q.length===0)return null;var ie=Q[0],D=Q.pop();if(D!==ie){Q[0]=D;e:for(var C=0,z=Q.length,ge=z>>>1;C<ge;){var X=2*(C+1)-1,oe=Q[X],ce=X+1,be=Q[ce];if(0>a(oe,D))ce<z&&0>a(be,oe)?(Q[C]=be,Q[ce]=D,C=ce):(Q[C]=oe,Q[X]=D,C=X);else if(ce<z&&0>a(be,D))Q[C]=be,Q[ce]=D,C=ce;else break e}}return ie}
vendor: 41,092 bytes, lines 25-37
25function a(Q,ie){var D=Q.sortIndex-ie.sortIndex;return D!==0?D:Q.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;r.unstable_now=function(){return c.now()}}else{var f=Date,h=f.now();r.unstable_now=function(){return f.now()-h}}var m=[],g=[],v=1,S=null,A=3,F=!1,I=!1,b=!1,x=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function L(Q){for(var ie=s(g);ie!==null;){if(ie.callback===null)i(g);else if(ie.startTime<=Q)i(g),ie.sortIndex=ie.expirationTime,n(m,ie);else break;ie=s(g)}}function N(Q){if(b=!1,L(Q),!I)if(s(m)!==null)I=!0,Re(W);else{var ie=s(g);ie!==null&&Te(N,ie.startTime-Q)}}function W(Q,ie){I=!1,b&&(b=!1,R(M),M=-1),F=!0;var D=A;try{for(L(ie),S=s(m);S!==null&&(!(S.expirationTime>ie)||Q&&!fe());){var C=S.callback;if(typeof C=="function"){S.callback=null,A=S.priorityLevel;var z=C(S.expirationTime<=ie);ie=r.unstable_now(),typeof z=="function"?S.callback=z:S===s(m)&&i(m),L(ie)}else i(m);S=s(m)}if(S!==null)var ge=!0;else{var X=s(g);X!==null&&Te(N,X.startTime-ie),ge=!1}return ge}finally{S=null,A=D,F=!1}}var Y=!1,he=null,M=-1,de=5,we=-1;function fe(){return!(r.unstable_now()-we<de)}function Pe(){if(he!==null){var Q=r.unstable_now();we=Q;var ie=!0;try{ie=he(!0,Q)}finally{ie?We():(Y=!1,he=null)}}else Y=!1}var We;if(typeof U=="function")We=function(){U(Pe)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,Fe=Ae.port2;Ae.port1.onmessage=Pe,We=function(){Fe.postMessage(null)}}else We=function(){x(Pe,0)};function Re(Q){he=Q,Y||(Y=!0,We())}function Te(Q,ie){M=x(function(){Q(r.unstable_now())},ie)}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(Q){Q.callback=null},r.unstable_continueExecution=function(){I||F||(I=!0,Re(W))},r.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):de=0<Q?Math.floor(1e3/Q):5},r.unstable_getCurrentPriorityLevel=function(){return A},r.unstable_getFirstCallbackNode=function(){return s(m)},r.unstable_next=function(Q){switch(A){case 1:case 2:case 3:var ie=3;break;default:ie=A}var D=A;A=ie;try{return Q()}finally{A=D}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(Q,ie){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var D=A;A=Q;try{return ie()}finally{A=D}},r.unstable_scheduleCallback=function(Q,ie,D){var C=r.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?C+D:C):D=C,Q){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=D+z,Q={id:v++,callback:ie,priorityLevel:Q,startTime:D,expirationTime:z,sortIndex:-1},D>C?(Q.sortIndex=D,n(g,Q),s(m)===null&&Q===s(g)&&(b?(R(M),M=-1):b=!0,Te(N,D-C))):(Q.sortIndex=z,n(m,Q),I||F||(I=!0,Re(W))),Q},r.unstable_shouldYield=fe,r.unstable_wrapCallback=function(Q){var ie=A;return function(){var D=A;A=ie;try{return Q.apply(this,arguments)}finally{A=D}}}})(ju)),ju}var Bh;function Vv(){return Bh||(Bh=1,Pu.exports=Hv()),Pu.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 $h;function qv(){if($h)return At;$h=1;var r=Ec(),n=Vv();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,g=/^[: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={},S={};function A(e){return m.call(S,e)?!0:m.call(v,e)?!1:g.test(e)?S[e]=!0:(v[e]=!0,!1)}function F(e,t,o,l){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return l?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function I(e,t,o,l){if(t===null||typeof t>"u"||F(e,t,o,l))return!0;if(l)return!1;if(o!==null)switch(o.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function b(e,t,o,l,u,d,p){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=l,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=p}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){x[e]=new b(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];x[t]=new b(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){x[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){x[e]=new b(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){x[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){x[e]=new b(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){x[e]=new b(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){x[e]=new b(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){x[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function U(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 t=e.replace(R,U);x[t]=new b(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(R,U);x[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(R,U);x[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)}),x.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)});function L(e,t,o,l){var u=x.hasOwnProperty(t)?x[t]:null;(u!==null?u.type!==0:l||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(I(t,o,u,l)&&(o=null),l||u===null?A(t)&&(o===null?e.removeAttribute(t):e.setAttribute(t,""+o)):u.mustUseProperty?e[u.propertyName]=o===null?u.type===3?!1:"":o:(t=u.attributeName,l=u.attributeNamespace,o===null?e.removeAttribute(t):(u=u.type,o=u===3||u===4&&o===!0?"":""+o,l?e.setAttributeNS(l,t,o):e.setAttribute(t,o))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),Y=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),we=Symbol.for("react.provider"),fe=Symbol.for("react.context"),Pe=Symbol.for("react.forward_ref"),We=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),Fe=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),Te=Symbol.for("react.offscreen"),Q=Symbol.iterator;function ie(e){return e===null||typeof e!="object"?null:(e=Q&&e[Q]||e["@@iterator"],typeof e=="function"?e:null)}var D=Object.assign,C;function z(e){if(C===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);C=t&&t[1]||""}return`
34`+C+e}var ge=!1;function X(e,t){if(!e||ge)return"";ge=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(j){var l=j}Reflect.construct(e,[],t)}else{try{t.call()}catch(j){l=j}e.call(t.prototype)}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
35`),d=l.stack.split(`
36`),p=u.length-1,w=d.length-1;1<=p&&0<=w&&u[p]!==d[w];)w--;for(;1<=p&&0<=w;p--,w--)if(u[p]!==d[w]){if(p!==1||w!==1)do if(p--,w--,0>w||u[p]!==d[w]){var E=`
37`+u[p].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),E}while(1<=p&&0<=w);break}}}finally{ge=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?z(e):""}function oe(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=X(e.type,!1),e;case 11:return e=X(e.type.render,!1),e;case 1:return e=X(e.type,!0),e;default:return""}}function ce(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 he:return"Fragment";case Y:return"Portal";case de:return"Profiler";case M:return"StrictMode";case We:return"Suspense";case Ae:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fe:return(e.displayName||"Context")+".Consumer";case we:return(e._context.displayName||"Context")+".Provider";case Pe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Fe:return t=e.displayName||null,t!==null?t:ce(e.type)||"Memo";case Re:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}function be(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ce(t);case 8:return t===M?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ve(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function me(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ie(e){var t=me(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,d=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(p){l=""+p,d.call(this,p)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(p){l=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pe(e){e._valueTracker||(e._valueTracker=Ie(e))}function st(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),l="";return e&&(l=me(e)?e.checked?"true":"false":e.value),e=l,e!==o?(t.setValue(e),!0):!1}function wt(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 It(e,t){var o=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function Fs(e,t){var o=t.defaultValue==null?"":t.defaultValue,l=t.checked!=null?t.checked:t.defaultChecked;o=ve(t.value!=null?t.value:o),e._wrapperState={initialChecked:l,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Go(e,t){t=t.checked,t!=null&&L(e,"checked",t,!1)}function wn(e,t){Go(e,t);var o=ve(t.value),l=t.type;if(o!=null)l==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Il(e,t.type,o):t.hasOwnProperty("defaultValue")&&Il(e,t.type,ve(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hc(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var l=t.type;if(!(l!=="submit"&&l!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function Il(e,t,o){(t!=="number"||wt(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Is=Array.isArray;function Vr(e,t,o,l){if(e=e.options,t){t={};for(var u=0;u<o.length;u++)t["$"+o[u]]=!0;for(o=0;o<e.length;o++)u=t.hasOwnProperty("$"+e[o].value),e[o].selected!==u&&(e[o].selected=u),u&&l&&(e[o].defaultSelected=!0)}else{for(o=""+ve(o),t=null,u=0;u<e.length;u++){if(e[u].value===o){e[u].selected=!0,l&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function Dl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vc(e,t){var o=t.value;if(o==null){if(o=t.children,t=t.defaultValue,o!=null){if(t!=null)throw Error(s(92));if(Is(o)){if(1<o.length)throw Error(s(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:ve(o)}}function qc(e,t){var o=ve(t.value),l=ve(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),l!=null&&(e.defaultValue=""+l)}function Wc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Qc(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 Ul(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Qc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Yo,Kc=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,l,u){MSApp.execUnsafeLocalFunction(function(){return e(t,o,l,u)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Yo=Yo||document.createElement("div"),Yo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Yo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ds(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Us={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},By=["Webkit","ms","Moz","O"];Object.keys(Us).forEach(function(e){By.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Us[t]=Us[e]})});function Gc(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Us.hasOwnProperty(e)&&Us[e]?(""+t).trim():t+"px"}function Yc(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var l=o.indexOf("--")===0,u=Gc(o,t[o],l);o==="float"&&(o="cssFloat"),l?e.setProperty(o,u):e[o]=u}}var $y=D({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 zl(e,t){if(t){if($y[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function Ml(e,t){if(e.indexOf("-")===-1)return typeof t.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 Bl=null;function $l(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hl=null,qr=null,Wr=null;function Xc(e){if(e=io(e)){if(typeof Hl!="function")throw Error(s(280));var t=e.stateNode;t&&(t=wi(t),Hl(e.stateNode,e.type,t))}}function Jc(e){qr?Wr?Wr.push(e):Wr=[e]:qr=e}function Zc(){if(qr){var e=qr,t=Wr;if(Wr=qr=null,Xc(e),t)for(e=0;e<t.length;e++)Xc(t[e])}}function ed(e,t){return e(t)}function td(){}var Vl=!1;function nd(e,t,o){if(Vl)return e(t,o);Vl=!0;try{return ed(e,t,o)}finally{Vl=!1,(qr!==null||Wr!==null)&&(td(),Zc())}}function zs(e,t){var o=e.stateNode;if(o===null)return null;var l=wi(o);if(l===null)return null;o=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(s(231,t,typeof o));return o}var ql=!1;if(h)try{var Ms={};Object.defineProperty(Ms,"passive",{get:function(){ql=!0}}),window.addEventListener("test",Ms,Ms),window.removeEventListener("test",Ms,Ms)}catch{ql=!1}function Hy(e,t,o,l,u,d,p,w,E){var j=Array.prototype.slice.call(arguments,3);try{t.apply(o,j)}catch($){this.onError($)}}var Bs=!1,Xo=null,Jo=!1,Wl=null,Vy={onError:function(e){Bs=!0,Xo=e}};function qy(e,t,o,l,u,d,p,w,E){Bs=!1,Xo=null,Hy.apply(Vy,arguments)}function Wy(e,t,o,l,u,d,p,w,E){if(qy.apply(this,arguments),Bs){if(Bs){var j=Xo;Bs=!1,Xo=null}else throw Error(s(198));Jo||(Jo=!0,Wl=j)}}function pr(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function rd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function sd(e){if(pr(e)!==e)throw Error(s(188))}function Qy(e){var t=e.alternate;if(!t){if(t=pr(e),t===null)throw Error(s(188));return t!==e?null:e}for(var o=e,l=t;;){var u=o.return;if(u===null)break;var d=u.alternate;if(d===null){if(l=u.return,l!==null){o=l;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===o)return sd(u),e;if(d===l)return sd(u),t;d=d.sibling}throw Error(s(188))}if(o.return!==l.return)o=u,l=d;else{for(var p=!1,w=u.child;w;){if(w===o){p=!0,o=u,l=d;break}if(w===l){p=!0,l=u,o=d;break}w=w.sibling}if(!p){for(w=d.child;w;){if(w===o){p=!0,o=d,l=u;break}if(w===l){p=!0,l=d,o=u;break}w=w.sibling}if(!p)throw Error(s(189))}}if(o.alternate!==l)throw Error(s(190))}if(o.tag!==3)throw Error(s(188));return o.stateNode.current===o?e:t}function od(e){return e=Qy(e),e!==null?id(e):null}function id(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=id(e);if(t!==null)return t;e=e.sibling}return null}var ld=n.unstable_scheduleCallback,ad=n.unstable_cancelCallback,Ky=n.unstable_shouldYield,Gy=n.unstable_requestPaint,Ge=n.unstable_now,Yy=n.unstable_getCurrentPriorityLevel,Ql=n.unstable_ImmediatePriority,ud=n.unstable_UserBlockingPriority,Zo=n.unstable_NormalPriority,Xy=n.unstable_LowPriority,cd=n.unstable_IdlePriority,ei=null,an=null;function Jy(e){if(an&&typeof an.onCommitFiberRoot=="function")try{an.onCommitFiberRoot(ei,e,void 0,(e.current.flags&128)===128)}catch{}}var Yt=Math.clz32?Math.clz32:tg,Zy=Math.log,eg=Math.LN2;function tg(e){return e>>>=0,e===0?32:31-(Zy(e)/eg|0)|0}var ti=64,ni=4194304;function $s(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 ri(e,t){var o=e.pendingLanes;if(o===0)return 0;var l=0,u=e.suspendedLanes,d=e.pingedLanes,p=o&268435455;if(p!==0){var w=p&~u;w!==0?l=$s(w):(d&=p,d!==0&&(l=$s(d)))}else p=o&~u,p!==0?l=$s(p):d!==0&&(l=$s(d));if(l===0)return 0;if(t!==0&&t!==l&&(t&u)===0&&(u=l&-l,d=t&-t,u>=d||u===16&&(d&4194240)!==0))return t;if((l&4)!==0&&(l|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=l;0<t;)o=31-Yt(t),u=1<<o,l|=e[o],t&=~u;return l}function ng(e,t){switch(e){case 1:case 2:case 4:return t+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 t+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 rg(e,t){for(var o=e.suspendedLanes,l=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes;0<d;){var p=31-Yt(d),w=1<<p,E=u[p];E===-1?((w&o)===0||(w&l)!==0)&&(u[p]=ng(w,t)):E<=t&&(e.expiredLanes|=w),d&=~w}}function Kl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function dd(){var e=ti;return ti<<=1,(ti&4194240)===0&&(ti=64),e}function Gl(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Hs(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yt(t),e[t]=o}function sg(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0<o;){var u=31-Yt(o),d=1<<u;t[u]=0,l[u]=-1,e[u]=-1,o&=~d}}function Yl(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var l=31-Yt(o),u=1<<l;u&t|e[l]&t&&(e[l]|=t),o&=~u}}var Ne=0;function fd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var hd,Xl,pd,md,yd,Jl=!1,si=[],Ln=null,Fn=null,In=null,Vs=new Map,qs=new Map,Dn=[],og="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 gd(e,t){switch(e){case"focusin":case"focusout":Ln=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":In=null;break;case"pointerover":case"pointerout":Vs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":qs.delete(t.pointerId)}}function Ws(e,t,o,l,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:o,eventSystemFlags:l,nativeEvent:d,targetContainers:[u]},t!==null&&(t=io(t),t!==null&&Xl(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function ig(e,t,o,l,u){switch(t){case"focusin":return Ln=Ws(Ln,e,t,o,l,u),!0;case"dragenter":return Fn=Ws(Fn,e,t,o,l,u),!0;case"mouseover":return In=Ws(In,e,t,o,l,u),!0;case"pointerover":var d=u.pointerId;return Vs.set(d,Ws(Vs.get(d)||null,e,t,o,l,u)),!0;case"gotpointercapture":return d=u.pointerId,qs.set(d,Ws(qs.get(d)||null,e,t,o,l,u)),!0}return!1}function vd(e){var t=mr(e.target);if(t!==null){var o=pr(t);if(o!==null){if(t=o.tag,t===13){if(t=rd(o),t!==null){e.blockedOn=t,yd(e.priority,function(){pd(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function oi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=ea(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var l=new o.constructor(o.type,o);Bl=l,o.target.dispatchEvent(l),Bl=null}else return t=io(o),t!==null&&Xl(t),e.blockedOn=o,!1;t.shift()}return!0}function wd(e,t,o){oi(e)&&o.delete(t)}function lg(){Jl=!1,Ln!==null&&oi(Ln)&&(Ln=null),Fn!==null&&oi(Fn)&&(Fn=null),In!==null&&oi(In)&&(In=null),Vs.forEach(wd),qs.forEach(wd)}function Qs(e,t){e.blockedOn===t&&(e.blockedOn=null,Jl||(Jl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,lg)))}function Ks(e){function t(u){return Qs(u,e)}if(0<si.length){Qs(si[0],e);for(var o=1;o<si.length;o++){var l=si[o];l.blockedOn===e&&(l.blockedOn=null)}}for(Ln!==null&&Qs(Ln,e),Fn!==null&&Qs(Fn,e),In!==null&&Qs(In,e),Vs.forEach(t),qs.forEach(t),o=0;o<Dn.length;o++)l=Dn[o],l.blockedOn===e&&(l.blockedOn=null);for(;0<Dn.length&&(o=Dn[0],o.blockedOn===null);)vd(o),o.blockedOn===null&&Dn.shift()}var Qr=N.ReactCurrentBatchConfig,ii=!0;function ag(e,t,o,l){var u=Ne,d=Qr.transition;Qr.transition=null;try{Ne=1,Zl(e,t,o,l)}finally{Ne=u,Qr.transition=d}}function ug(e,t,o,l){var u=Ne,d=Qr.transition;Qr.transition=null;try{Ne=4,Zl(e,t,o,l)}finally{Ne=u,Qr.transition=d}}function Zl(e,t,o,l){if(ii){var u=ea(e,t,o,l);if(u===null)ga(e,t,l,li,o),gd(e,l);else if(ig(u,e,t,o,l))l.stopPropagation();else if(gd(e,l),t&4&&-1<og.indexOf(e)){for(;u!==null;){var d=io(u);if(d!==null&&hd(d),d=ea(e,t,o,l),d===null&&ga(e,t,l,li,o),d===u)break;u=d}u!==null&&l.stopPropagation()}else ga(e,t,l,null,o)}}var li=null;function ea(e,t,o,l){if(li=null,e=$l(l),e=mr(e),e!==null)if(t=pr(e),t===null)e=null;else if(o=t.tag,o===13){if(e=rd(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return li=e,null}function xd(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(Yy()){case Ql:return 1;case ud:return 4;case Zo:case Xy:return 16;case cd:return 536870912;default:return 16}default:return 16}}var Un=null,ta=null,ai=null;function Sd(){if(ai)return ai;var e,t=ta,o=t.length,l,u="value"in Un?Un.value:Un.textContent,d=u.length;for(e=0;e<o&&t[e]===u[e];e++);var p=o-e;for(l=1;l<=p&&t[o-l]===u[d-l];l++);return ai=u.slice(e,1<l?1-l:void 0)}function ui(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ci(){return!0}function Ed(){return!1}function Dt(e){function t(o,l,u,d,p){this._reactName=o,this._targetInst=u,this.type=l,this.nativeEvent=d,this.target=p,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(o=e[w],this[w]=o?o(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?ci:Ed,this.isPropagationStopped=Ed,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=ci)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=ci)},persist:function(){},isPersistent:ci}),t}var Kr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},na=Dt(Kr),Gs=D({},Kr,{view:0,detail:0}),cg=Dt(Gs),ra,sa,Ys,di=D({},Gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ia,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!==Ys&&(Ys&&e.type==="mousemove"?(ra=e.screenX-Ys.screenX,sa=e.screenY-Ys.screenY):sa=ra=0,Ys=e),ra)},movementY:function(e){return"movementY"in e?e.movementY:sa}}),kd=Dt(di),dg=D({},di,{dataTransfer:0}),fg=Dt(dg),hg=D({},Gs,{relatedTarget:0}),oa=Dt(hg),pg=D({},Kr,{animationName:0,elapsedTime:0,pseudoElement:0}),mg=Dt(pg),yg=D({},Kr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gg=Dt(yg),vg=D({},Kr,{data:0}),_d=Dt(vg),wg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xg={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"},Sg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Eg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Sg[e])?!!t[e]:!1}function ia(){return Eg}var kg=D({},Gs,{key:function(e){if(e.key){var t=wg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ui(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ia,charCode:function(e){return e.type==="keypress"?ui(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ui(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_g=Dt(kg),bg=D({},di,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bd=Dt(bg),Cg=D({},Gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ia}),Rg=Dt(Cg),Tg=D({},Kr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Og=Dt(Tg),Ag=D({},di,{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}),Pg=Dt(Ag),jg=[9,13,27,32],la=h&&"CompositionEvent"in window,Xs=null;h&&"documentMode"in document&&(Xs=document.documentMode);var Ng=h&&"TextEvent"in window&&!Xs,Cd=h&&(!la||Xs&&8<Xs&&11>=Xs),Rd=" ",Td=!1;function Od(e,t){switch(e){case"keyup":return jg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ad(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gr=!1;function Lg(e,t){switch(e){case"compositionend":return Ad(t);case"keypress":return t.which!==32?null:(Td=!0,Rd);case"textInput":return e=t.data,e===Rd&&Td?null:e;default:return null}}function Fg(e,t){if(Gr)return e==="compositionend"||!la&&Od(e,t)?(e=Sd(),ai=ta=Un=null,Gr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Cd&&t.locale!=="ko"?null:t.data;default:return null}}var Ig={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 Pd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ig[e.type]:t==="textarea"}function jd(e,t,o,l){Jc(l),t=yi(t,"onChange"),0<t.length&&(o=new na("onChange","change",null,o,l),e.push({event:o,listeners:t}))}var Js=null,Zs=null;function Dg(e){Yd(e,0)}function fi(e){var t=es(e);if(st(t))return e}function Ug(e,t){if(e==="change")return t}var Nd=!1;if(h){var aa;if(h){var ua="oninput"in document;if(!ua){var Ld=document.createElement("div");Ld.setAttribute("oninput","return;"),ua=typeof Ld.oninput=="function"}aa=ua}else aa=!1;Nd=aa&&(!document.documentMode||9<document.documentMode)}function Fd(){Js&&(Js.detachEvent("onpropertychange",Id),Zs=Js=null)}function Id(e){if(e.propertyName==="value"&&fi(Zs)){var t=[];jd(t,Zs,e,$l(e)),nd(Dg,t)}}function zg(e,t,o){e==="focusin"?(Fd(),Js=t,Zs=o,Js.attachEvent("onpropertychange",Id)):e==="focusout"&&Fd()}function Mg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fi(Zs)}function Bg(e,t){if(e==="click")return fi(t)}function $g(e,t){if(e==="input"||e==="change")return fi(t)}function Hg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Xt=typeof Object.is=="function"?Object.is:Hg;function eo(e,t){if(Xt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),l=Object.keys(t);if(o.length!==l.length)return!1;for(l=0;l<o.length;l++){var u=o[l];if(!m.call(t,u)||!Xt(e[u],t[u]))return!1}return!0}function Dd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ud(e,t){var o=Dd(e);e=0;for(var l;o;){if(o.nodeType===3){if(l=e+o.textContent.length,e<=t&&l>=t)return{node:o,offset:t-e};e=l}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Dd(o)}}function zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Md(){for(var e=window,t=wt();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=wt(e.document)}return t}function ca(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Vg(e){var t=Md(),o=e.focusedElem,l=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&zd(o.ownerDocument.documentElement,o)){if(l!==null&&ca(o)){if(t=l.start,e=l.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=o.textContent.length,d=Math.min(l.start,u);l=l.end===void 0?d:Math.min(l.end,u),!e.extend&&d>l&&(u=l,l=d,d=u),u=Ud(o,d);var p=Ud(o,l);u&&p&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==p.node||e.focusOffset!==p.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),d>l?(e.addRange(t),e.extend(p.node,p.offset)):(t.setEnd(p.node,p.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<t.length;o++)e=t[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var qg=h&&"documentMode"in document&&11>=document.documentMode,Yr=null,da=null,to=null,fa=!1;function Bd(e,t,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;fa||Yr==null||Yr!==wt(l)||(l=Yr,"selectionStart"in l&&ca(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),to&&eo(to,l)||(to=l,l=yi(da,"onSelect"),0<l.length&&(t=new na("onSelect","select",null,t,o),e.push({event:t,listeners:l}),t.target=Yr)))}function hi(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Xr={animationend:hi("Animation","AnimationEnd"),animationiteration:hi("Animation","AnimationIteration"),animationstart:hi("Animation","AnimationStart"),transitionend:hi("Transition","TransitionEnd")},ha={},$d={};h&&($d=document.createElement("div").style,"AnimationEvent"in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),"TransitionEvent"in window||delete Xr.transitionend.transition);function pi(e){if(ha[e])return ha[e];if(!Xr[e])return e;var t=Xr[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in $d)return ha[e]=t[o];return e}var Hd=pi("animationend"),Vd=pi("animationiteration"),qd=pi("animationstart"),Wd=pi("transitionend"),Qd=new Map,Kd="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 zn(e,t){Qd.set(e,t),c(t,[e])}for(var pa=0;pa<Kd.length;pa++){var ma=Kd[pa],Wg=ma.toLowerCase(),Qg=ma[0].toUpperCase()+ma.slice(1);zn(Wg,"on"+Qg)}zn(Hd,"onAnimationEnd"),zn(Vd,"onAnimationIteration"),zn(qd,"onAnimationStart"),zn("dblclick","onDoubleClick"),zn("focusin","onFocus"),zn("focusout","onBlur"),zn(Wd,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focu
37sin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var no="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(" "),Kg=new Set("cancel close invalid load scroll toggle".split(" ").concat(no));function Gd(e,t,o){var l=e.type||"unknown-event";e.currentTarget=o,Wy(l,t,void 0,e),e.currentTarget=null}function Yd(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var l=e[o],u=l.event;l=l.listeners;e:{var d=void 0;if(t)for(var p=l.length-1;0<=p;p--){var w=l[p],E=w.instance,j=w.currentTarget;if(w=w.listener,E!==d&&u.isPropagationStopped())break e;Gd(u,w,j),d=E}else for(p=0;p<l.length;p++){if(w=l[p],E=w.instance,j=w.currentTarget,w=w.listener,E!==d&&u.isPropagationStopped())break e;Gd(u,w,j),d=E}}}if(Jo)throw e=Wl,Jo=!1,Wl=null,e}function Ue(e,t){var o=t[ka];o===void 0&&(o=t[ka]=new Set);var l=e+"__bubble";o.has(l)||(Xd(t,e,2,!1),o.add(l))}function ya(e,t,o){var l=0;t&&(l|=4),Xd(o,e,l,t)}var mi="_reactListening"+Math.random().toString(36).slice(2);function ro(e){if(!e[mi]){e[mi]=!0,i.forEach(function(o){o!=="selectionchange"&&(Kg.has(o)||ya(o,!1,e),ya(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mi]||(t[mi]=!0,ya("selectionchange",!1,t))}}function Xd(e,t,o,l){switch(xd(t)){case 1:var u=ag;break;case 4:u=ug;break;default:u=Zl}o=u.bind(null,t,o,e),u=void 0,!ql||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),l?u!==void 0?e.addEventListener(t,o,{capture:!0,passive:u}):e.addEventListener(t,o,!0):u!==void 0?e.addEventListener(t,o,{passive:u}):e.addEventListener(t,o,!1)}function ga(e,t,o,l,u){var d=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var p=l.tag;if(p===3||p===4){var w=l.stateNode.containerInfo;if(w===u||w.nodeType===8&&w.parentNode===u)break;if(p===4)for(p=l.return;p!==null;){var E=p.tag;if((E===3||E===4)&&(E=p.stateNode.containerInfo,E===u||E.nodeType===8&&E.parentNode===u))return;p=p.return}for(;w!==null;){if(p=mr(w),p===null)return;if(E=p.tag,E===5||E===6){l=d=p;continue e}w=w.parentNode}}l=l.return}nd(function(){var j=d,$=$l(o),H=[];e:{var B=Qd.get(e);if(B!==void 0){var K=na,Z=e;switch(e){case"keypress":if(ui(o)===0)break e;case"keydown":case"keyup":K=_g;break;case"focusin":Z="focus",K=oa;break;case"focusout":Z="blur",K=oa;break;case"beforeblur":case"afterblur":K=oa;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":K=kd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=fg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=Rg;break;case Hd:case Vd:case qd:K=mg;break;case Wd:K=Og;break;case"scroll":K=cg;break;case"wheel":K=Pg;break;case"copy":case"cut":case"paste":K=gg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=bd}var re=(t&4)!==0,Ye=!re&&e==="scroll",O=re?B!==null?B+"Capture":null:B;re=[];for(var _=j,P;_!==null;){P=_;var q=P.stateNode;if(P.tag===5&&q!==null&&(P=q,O!==null&&(q=zs(_,O),q!=null&&re.push(so(_,q,P)))),Ye)break;_=_.return}0<re.length&&(B=new K(B,Z,null,o,$),H.push({event:B,listeners:re}))}}if((t&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",K=e==="mouseout"||e==="pointerout",B&&o!==Bl&&(Z=o.relatedTarget||o.fromElement)&&(mr(Z)||Z[xn]))break e;if((K||B)&&(B=$.window===$?$:(B=$.ownerDocument)?B.defaultView||B.parentWindow:window,K?(Z=o.relatedTarget||o.toElement,K=j,Z=Z?mr(Z):null,Z!==null&&(Ye=pr(Z),Z!==Ye||Z.tag!==5&&Z.tag!==6)&&(Z=null)):(K=null,Z=j),K!==Z)){if(re=kd,q="onMouseLeave",O="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(re=bd,q="onPointerLeave",O="onPointerEnter",_="pointer"),Ye=K==null?B:es(K),P=Z==null?B:es(Z),B=new re(q,_+"leave",K,o,$),B.target=Ye,B.relatedTarget=P,q=null,mr($)===j&&(re=new re(O,_+"enter",Z,o,$),re.target=P,re.relatedTarget=Ye,q=re),Ye=q,K&&Z)t:{for(re=K,O=Z,_=0,P=re;P;P=Jr(P))_++;for(P=0,q=O;q;q=Jr(q))P++;for(;0<_-P;)re=Jr(re),_--;for(;0<P-_;)O=Jr(O),P--;for(;_--;){if(re===O||O!==null&&re===O.alternate)break t;re=Jr(re),O=Jr(O)}re=null}else re=null;K!==null&&Jd(H,B,K,re,!1),Z!==null&&Ye!==null&&Jd(H,Ye,Z,re,!0)}}
vendor: 6,104 bytes, lines 37-38
37e:{if(B=j?es(j):window,K=B.nodeName&&B.nodeName.toLowerCase(),K==="select"||K==="input"&&B.type==="file")var se=Ug;else if(Pd(B))if(Nd)se=$g;else{se=Mg;var le=zg}else(K=B.nodeName)&&K.toLowerCase()==="input"&&(B.type==="checkbox"||B.type==="radio")&&(se=Bg);if(se&&(se=se(e,j))){jd(H,se,o,$);break e}le&&le(e,B,j),e==="focusout"&&(le=B._wrapperState)&&le.controlled&&B.type==="number"&&Il(B,"number",B.value)}switch(le=j?es(j):window,e){case"focusin":(Pd(le)||le.contentEditable==="true")&&(Yr=le,da=j,to=null);break;case"focusout":to=da=Yr=null;break;case"mousedown":fa=!0;break;case"contextmenu":case"mouseup":case"dragend":fa=!1,Bd(H,o,$);break;case"selectionchange":if(qg)break;case"keydown":case"keyup":Bd(H,o,$)}var ae;if(la)e:{switch(e){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else Gr?Od(e,o)&&(ye="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ye="onCompositionStart");ye&&(Cd&&o.locale!=="ko"&&(Gr||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&Gr&&(ae=Sd()):(Un=$,ta="value"in Un?Un.value:Un.textContent,Gr=!0)),le=yi(j,ye),0<le.length&&(ye=new _d(ye,e,null,o,$),H.push({event:ye,listeners:le}),ae?ye.data=ae:(ae=Ad(o),ae!==null&&(ye.data=ae)))),(ae=Ng?Lg(e,o):Fg(e,o))&&(j=yi(j,"onBeforeInput"),0<j.length&&($=new _d("onBeforeInput","beforeinput",null,o,$),H.push({event:$,listeners:j}),$.data=ae))}Yd(H,t)})}function so(e,t,o){return{instance:e,listener:t,currentTarget:o}}function yi(e,t){for(var o=t+"Capture",l=[];e!==null;){var u=e,d=u.stateNode;u.tag===5&&d!==null&&(u=d,d=zs(e,o),d!=null&&l.unshift(so(e,d,u)),d=zs(e,t),d!=null&&l.push(so(e,d,u))),e=e.return}return l}function Jr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Jd(e,t,o,l,u){for(var d=t._reactName,p=[];o!==null&&o!==l;){var w=o,E=w.alternate,j=w.stateNode;if(E!==null&&E===l)break;w.tag===5&&j!==null&&(w=j,u?(E=zs(o,d),E!=null&&p.unshift(so(o,E,w))):u||(E=zs(o,d),E!=null&&p.push(so(o,E,w)))),o=o.return}p.length!==0&&e.push({event:t,listeners:p})}var Gg=/\r\n?/g,Yg=/\u0000|\uFFFD/g;function Zd(e){return(typeof e=="string"?e:""+e).replace(Gg,`
38`).replace(Yg,"")}function gi(e,t,o){if(t=Zd(t),Zd(e)!==t&&o)throw Error(s(425))}function vi(){}var va=null,wa=null;function xa(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Sa=typeof setTimeout=="function"?setTimeout:void 0,Xg=typeof clearTimeout=="function"?clearTimeout:void 0,ef=typeof Promise=="function"?Promise:void 0,Jg=typeof queueMicrotask=="function"?queueMicrotask:typeof ef<"u"?function(e){return ef.resolve(null).then(e).catch(Zg)}:Sa;function Zg(e){setTimeout(function(){throw e})}function Ea(e,t){var o=t,l=0;do{var u=o.nextSibling;if(e.removeChild(o),u&&u.nodeType===8)if(o=u.data,o==="/$"){if(l===0){e.removeChild(u),Ks(t);return}l--}else o!=="$"&&o!=="$?"&&o!=="$!"||l++;o=u}while(o);Ks(t)}function Mn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function tf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(t===0)return e;t--}else o==="/$"&&t++}e=e.previousSibling}return null}var Zr=Math.random().toString(36).slice(2),un="__reactFiber$"+Zr,oo="__reactProps$"+Zr,xn="__reactContainer$"+Zr,ka="__reactEvents$"+Zr,ev="__reactListeners$"+Zr,tv="__reactHandles$"+Zr;function mr(e){var t=e[un];if(t)return t;for(var o=e.parentNode;o;){if(t=o[xn]||o[un]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=tf(e);e!==null;){if(o=e[un])return o;e=tf(e)}return t}e=o,o=e.parentNode}return null}function io(e){return e=e[un]||e[xn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function es(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function wi(e){return e[oo]||null}var _a=[],ts=-1;function Bn(e){return{current:e}}function ze(e){0>ts||(e.current=_a[ts],_a[ts]=null,ts--)}function De(e,t){ts++,_a[ts]=e.current,e.current=t}var $n={},pt=Bn($n),bt=Bn(!1),yr=$n;function ns(e,t){var o=e.type.contextTypes;if(!o)return $n;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===t)return l.__reactInternalMemoizedMaskedChildContext;var u={},d;for(d in o)u[d]=t[d];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function Ct(e){return e=e.childContextTypes,e!=null}function xi(){ze(bt),ze(pt)}function nf(e,t,o){if(pt.current!==$n)throw Error(s(168));De(pt,t),De(bt,o)}function rf(e,t,o){var l=e.stateNode;if(t=t.childContextTypes,typeof l.getChildContext!="function")return o;l=l.getChildContext();for(var u in l)if(!(u in t))throw Error(s(108,be(e)||"Unknown",u));return D({},o,l)}function Si(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$n,yr=pt.current,De(pt,e),De(bt,bt.current),!0}function sf(e,t,o){var l=e.stateNode;if(!l)throw Error(s(169));o?(e=rf(e,t,yr),l.__reactInternalMemoizedMergedChildContext=e,ze(bt),ze(pt),De(pt,e)):ze(bt),De(bt,o)}var Sn=null,Ei=!1,ba=!1;function of(e){Sn===null?Sn=[e]:Sn.push(e)}function nv(e){Ei=!0,of(e)}function Hn(){if(!ba&&Sn!==null){ba=!0;var e=0,t=Ne;try{var o=Sn;for(Ne=1;e<o.length;e++){var l=o[e];do l=l(!0);while(l!==null)}Sn=null,Ei=!1}catch(u){throw Sn!==null&&(Sn=Sn.slice(e+1)),ld(Ql,Hn),u}finally{Ne=t,ba=!1}}return null}var rs=[],ss=0,ki=null,_i=0,Bt=[],$t=0,gr=null,En=1,kn="";function vr(e,t){rs[ss++]=_i,rs[ss++]=ki,ki=e,_i=t}function lf(e,t,o){Bt[$t++]=En,Bt[$t++]=kn,Bt[$t++]=gr,gr=e;var l=En;e=kn;var u=32-Yt(l)-1;l&=~(1<<u),o+=1;var d=32-Yt(t)+u;if(30<d){var p=u-u%5;d=(l&(1<<p)-1).toString(32),l>>=p,u-=p,En=1<<32-Yt(t)+u|o<<u|l,kn=d+e}else En=1<<d|o<<u|l,kn=e}function Ca(e){e.return!==null&&(vr(e,1),lf(e,1,0))}function Ra(e){for(;e===ki;)ki=rs[--ss],rs[ss]=null,_i=rs[--ss],rs[ss]=null;for(;e===gr;
vendor: 5,155 bytes, line 38
38)gr=Bt[--$t],Bt[$t]=null,kn=Bt[--$t],Bt[$t]=null,En=Bt[--$t],Bt[$t]=null}var Ut=null,zt=null,Me=!1,Jt=null;function af(e,t){var o=Wt(5,null,null,0);o.elementType="DELETED",o.stateNode=t,o.return=e,t=e.deletions,t===null?(e.deletions=[o],e.flags|=16):t.push(o)}function uf(e,t){switch(e.tag){case 5:var o=e.type;return t=t.nodeType!==1||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ut=e,zt=Mn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ut=e,zt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(o=gr!==null?{id:En,overflow:kn}:null,e.memoizedState={dehydrated:t,treeContext:o,retryLane:1073741824},o=Wt(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,Ut=e,zt=null,!0):!1;default:return!1}}function Ta(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Oa(e){if(Me){var t=zt;if(t){var o=t;if(!uf(e,t)){if(Ta(e))throw Error(s(418));t=Mn(o.nextSibling);var l=Ut;t&&uf(e,t)?af(l,o):(e.flags=e.flags&-4097|2,Me=!1,Ut=e)}}else{if(Ta(e))throw Error(s(418));e.flags=e.flags&-4097|2,Me=!1,Ut=e}}}function cf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ut=e}function bi(e){if(e!==Ut)return!1;if(!Me)return cf(e),Me=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!xa(e.type,e.memoizedProps)),t&&(t=zt)){if(Ta(e))throw df(),Error(s(418));for(;t;)af(e,t),t=Mn(t.nextSibling)}if(cf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(t===0){zt=Mn(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}zt=null}}else zt=Ut?Mn(e.stateNode.nextSibling):null;return!0}function df(){for(var e=zt;e;)e=Mn(e.nextSibling)}function os(){zt=Ut=null,Me=!1}function Aa(e){Jt===null?Jt=[e]:Jt.push(e)}var rv=N.ReactCurrentBatchConfig;function lo(e,t,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 l=o.stateNode}if(!l)throw Error(s(147,e));var u=l,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(p){var w=u.refs;p===null?delete w[d]:w[d]=p},t._stringRef=d,t)}if(typeof e!="string")throw Error(s(284));if(!o._owner)throw Error(s(290,e))}return e}function Ci(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ff(e){var t=e._init;return t(e._payload)}function hf(e){function t(O,_){if(e){var P=O.deletions;P===null?(O.deletions=[_],O.flags|=16):P.push(_)}}function o(O,_){if(!e)return null;for(;_!==null;)t(O,_),_=_.sibling;return null}function l(O,_){for(O=new Map;_!==null;)_.key!==null?O.set(_.key,_):O.set(_.index,_),_=_.sibling;return O}function u(O,_){return O=Xn(O,_),O.index=0,O.sibling=null,O}function d(O,_,P){return O.index=P,e?(P=O.alternate,P!==null?(P=P.index,P<_?(O.flags|=2,_):P):(O.flags|=2,_)):(O.flags|=1048576,_)}function p(O){return e&&O.alternate===null&&(O.flags|=2),O}function w(O,_,P,q){return _===null||_.tag!==6?(_=Su(P,O.mode,q),_.return=O,_):(_=u(_,P),_.return=O,_)}function E(O,_,P,q){var se=P.type;return se===he?$(O,_,P.props.children,q,P.key):_!==null&&(_.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Re&&ff(se)===_.type)?(q=u(_,P.props),q.ref=lo(O,_,P),q.return=O,q):(q=Yi(P.type,P.key,P.props,null,O.mode,q),q.ref=lo(O,_,P),q.return=O,q)}function j(O,_,P,q){return _===null||_.tag!==4||_.stateNode.containerInfo!==P.containerInfo||_.stateNode.implementation!==P.implementation?(_=Eu(P,O.mode,q),_.return=O,_):(_=u(_,P.children||[]),_.return=O,_)}function $(O,_,P,q,se){return _===null||_.tag!==7?(_=Cr(P,O.mode,q,se),_.return=O,_):(_=u(_,P),_.return=O,_)}function H(O,_,P){if(typeof _=="string"&&_!==""||typeof _=="number")return _=Su(""+_,O.mode,P),_.return=O,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case W:return P=Yi(_.type,_.key,_.props,null,O.mode,P),P.ref=lo(O,null,_),P.return=O,P;case Y:return _=Eu(_,O.mode,P),_.return=O,_;case Re:var q=_._init;return H(O,q(_._payload),P)}if(Is(_)||ie(_))return _=Cr(_,O.mode,P,null),_.return=O,_;Ci(O,_)}return null}function B(O,_,P,q){var se=_!==null?_.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return se!==null?null:w(O,_,""+P,q);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case W:return P.key===se?E(O,_,P,q):null;case Y:return P.key===se?j(O,_,P,q):null;case Re:return se=P._init,B(O,_,se(P._payload),q)}if(Is(P)||ie(P))return se!==null?null:$(O,_,P,q,null);Ci(O,P)}return null}function K(O,_,P,q,se){if(typeof q=="string"&&q!==""||typeof q=="number")return O=O.get(P)||null,w(_,O,""+q,se);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case W:return O=O.get(q.key===null?P:q.key)||null,E(_,O,q,se);case Y:return O=O.get(q.key===null?P:q.key)||null,j(_,O,q,se);case Re:var le=q._init;return K(O,_,P,le(q._payload),se)}if(Is(q)||ie(q))return O=O.get(P)||null,$(_,O,q,se,null);Ci(_,q)}return null}function Z(O,_,P,q){for(var se=null,le=null,ae=_,ye=_=0,lt=null;ae!==null&&ye<P.length;ye++){ae.index>
vendor: 11,715 bytes, line 38
38ye?(lt=ae,ae=null):lt=ae.sibling;var Oe=B(O,ae,P[ye],q);if(Oe===null){ae===null&&(ae=lt);break}e&&ae&&Oe.alternate===null&&t(O,ae),_=d(Oe,_,ye),le===null?se=Oe:le.sibling=Oe,le=Oe,ae=lt}if(ye===P.length)return o(O,ae),Me&&vr(O,ye),se;if(ae===null){for(;ye<P.length;ye++)ae=H(O,P[ye],q),ae!==null&&(_=d(ae,_,ye),le===null?se=ae:le.sibling=ae,le=ae);return Me&&vr(O,ye),se}for(ae=l(O,ae);ye<P.length;ye++)lt=K(ae,O,ye,P[ye],q),lt!==null&&(e&&lt.alternate!==null&&ae.delete(lt.key===null?ye:lt.key),_=d(lt,_,ye),le===null?se=lt:le.sibling=lt,le=lt);return e&&ae.forEach(function(Jn){return t(O,Jn)}),Me&&vr(O,ye),se}function re(O,_,P,q){var se=ie(P);if(typeof se!="function")throw Error(s(150));if(P=se.call(P),P==null)throw Error(s(151));for(var le=se=null,ae=_,ye=_=0,lt=null,Oe=P.next();ae!==null&&!Oe.done;ye++,Oe=P.next()){ae.index>ye?(lt=ae,ae=null):lt=ae.sibling;var Jn=B(O,ae,Oe.value,q);if(Jn===null){ae===null&&(ae=lt);break}e&&ae&&Jn.alternate===null&&t(O,ae),_=d(Jn,_,ye),le===null?se=Jn:le.sibling=Jn,le=Jn,ae=lt}if(Oe.done)return o(O,ae),Me&&vr(O,ye),se;if(ae===null){for(;!Oe.done;ye++,Oe=P.next())Oe=H(O,Oe.value,q),Oe!==null&&(_=d(Oe,_,ye),le===null?se=Oe:le.sibling=Oe,le=Oe);return Me&&vr(O,ye),se}for(ae=l(O,ae);!Oe.done;ye++,Oe=P.next())Oe=K(ae,O,ye,Oe.value,q),Oe!==null&&(e&&Oe.alternate!==null&&ae.delete(Oe.key===null?ye:Oe.key),_=d(Oe,_,ye),le===null?se=Oe:le.sibling=Oe,le=Oe);return e&&ae.forEach(function(Iv){return t(O,Iv)}),Me&&vr(O,ye),se}function Ye(O,_,P,q){if(typeof P=="object"&&P!==null&&P.type===he&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case W:e:{for(var se=P.key,le=_;le!==null;){if(le.key===se){if(se=P.type,se===he){if(le.tag===7){o(O,le.sibling),_=u(le,P.props.children),_.return=O,O=_;break e}}else if(le.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Re&&ff(se)===le.type){o(O,le.sibling),_=u(le,P.props),_.ref=lo(O,le,P),_.return=O,O=_;break e}o(O,le);break}else t(O,le);le=le.sibling}P.type===he?(_=Cr(P.props.children,O.mode,q,P.key),_.return=O,O=_):(q=Yi(P.type,P.key,P.props,null,O.mode,q),q.ref=lo(O,_,P),q.return=O,O=q)}return p(O);case Y:e:{for(le=P.key;_!==null;){if(_.key===le)if(_.tag===4&&_.stateNode.containerInfo===P.containerInfo&&_.stateNode.implementation===P.implementation){o(O,_.sibling),_=u(_,P.children||[]),_.return=O,O=_;break e}else{o(O,_);break}else t(O,_);_=_.sibling}_=Eu(P,O.mode,q),_.return=O,O=_}return p(O);case Re:return le=P._init,Ye(O,_,le(P._payload),q)}if(Is(P))return Z(O,_,P,q);if(ie(P))return re(O,_,P,q);Ci(O,P)}return typeof P=="string"&&P!==""||typeof P=="number"?(P=""+P,_!==null&&_.tag===6?(o(O,_.sibling),_=u(_,P),_.return=O,O=_):(o(O,_),_=Su(P,O.mode,q),_.return=O,O=_),p(O)):o(O,_)}return Ye}var is=hf(!0),pf=hf(!1),Ri=Bn(null),Ti=null,ls=null,Pa=null;function ja(){Pa=ls=Ti=null}function Na(e){var t=Ri.current;ze(Ri),e._currentValue=t}function La(e,t,o){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===o)break;e=e.return}}function as(e,t){Ti=e,Pa=ls=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Rt=!0),e.firstContext=null)}function Ht(e){var t=e._currentValue;if(Pa!==e)if(e={context:e,memoizedValue:t,next:null},ls===null){if(Ti===null)throw Error(s(308));ls=e,Ti.dependencies={lanes:0,firstContext:e}}else ls=ls.next=e;return t}var wr=null;function Fa(e){wr===null?wr=[e]:wr.push(e)}function mf(e,t,o,l){var u=t.interleaved;return u===null?(o.next=o,Fa(t)):(o.next=u.next,u.next=o),t.interleaved=o,_n(e,l)}function _n(e,t){e.lanes|=t;var o=e.alternate;for(o!==null&&(o.lanes|=t),o=e,e=e.return;e!==null;)e.childLanes|=t,o=e.alternate,o!==null&&(o.childLanes|=t),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Vn=!1;function Ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function bn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qn(e,t,o){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Ce&2)!==0){var u=l.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),l.pending=t,_n(e,o)}return u=l.interleaved,u===null?(t.next=t,Fa(l)):(t.next=u.next,u.next=t),l.interleaved=t,_n(e,o)}function Oi(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var l=t.lanes;l&=e.pendingLanes,o|=l,t.lanes=o,Yl(e,o)}}function gf(e,t){var o=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,o===l)){var u=null,d=null;if(o=o.firstBaseUpdate,o!==null){do{var p={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?u=d=p:d=d.next=p,o=o.next}while(o!==null);d===null?u=d=t:d=d.next=t}else u=d=t;o={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:l.shared,effects:l.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function Ai(e,t,o,l){var u=e.updateQueue;Vn=!1;var d=u.firstBaseUpdate,p=u.lastBaseUpdate,w=u.shared.pending;if(w!==null){u.shared.pending=null;var E=w,j=E.next;E.next=null,p===null?d=j:p.next=j,p=E;var $=e.alternate;$!==null&&($=$.updateQueue,w=$.lastBaseUpdate,w!==p&&(w===null?$.firstBaseUpdate=j:w.next=j,$.lastBaseUpdate=E))}if(d!==null){var H=u.baseState;p=0,$=j=E=null,w=d;do{var B=w.lane,K=w.eventTime;if((l&B)===B){$!==null&&($=$.next={eventTime:K,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var Z=e,re=w;switch(B=t,K=o,re.tag){case 1:if(Z=re.payload,typeof Z=="function"){H=Z.call(K,H,B);break e}H=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=re.payload,B=typeof Z=="function"?Z.call(K,H,B):Z,B==null)break e;H=D({},H,B);break e;case 2:Vn=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,B=u.effects,B===null?u.effects=[w]:B.push(w))}else K={eventTime:K,lane:B,tag:w.tag,payload:w.payload,callback:w.callback,next:null},$===null?(j=$=K,E=H):$=$.next=K,p|=B;if(w=w.next,w===null){if(w=u.shared.pending,w===null)break;B=w,w=B.next,B.next=null,u.lastBaseUpdate=B,u.shared.pending=null}}while(!0);if($===null&&(E=H),u.baseState=E,u.firstBaseUpdate=j,u.lastBaseUpdate=$,t=u.shared.interleaved,t!==null){u=t;do p|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);Er|=p,e.lanes=p,e.memoizedState=H}}function vf(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var l=e[t],u=l.callback;if(u!==null){if(l.callback=null,l=o,typeof u!="function")throw Error(s(191,u));u.call(l)}}}var ao={},cn=Bn(ao),uo=Bn(ao),co=Bn(ao);function xr(e){if(e===ao)throw Error(s(174));return e}function Da(e,t){switch(De(co,t),De(uo,e),De(cn,ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ul(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ul(t,e)}ze(cn),De(cn,t)}function us(){ze(cn),ze(uo),ze(co)}function wf(e){xr(co.current);var t=xr(cn.current),o=Ul(t,e.type);t!==o&&(De(uo,e),De(cn,o))}function Ua(e){uo.current===e&&(ze(cn),ze(uo))}var $e=Bn(0);function Pi(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var za=[];function Ma(){for(var e=0;e<za.length;e++)za[e]._workInProgressVersionPrimary=null;za.length=0}var ji=N.ReactCurrentDispatcher,Ba=N.ReactCurrentBatchConfig,Sr=0,He=null,tt=null,ot=null,Ni=!1,fo=!1,ho=0,sv=0;function mt(){throw Error(s(321))}function $a(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!Xt(e[o],t[o]))return!1;return!0}function Ha(e,t,o,l,u,d){if(Sr=d,He=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ji.current=e===null||e.memoizedState===null?av:uv,e=o(l,u),fo){d=0;do{if(fo=!1,ho=0,25<=d)throw Error(s(301));d+=1,ot=tt=null,t.updateQueue=null,ji.current=cv,e=o(l,u)}while(fo)}if(ji.current=Ii,t=tt!==null&&tt.next!==null,Sr=0,ot=tt=He=null,Ni=!1,t)throw Error(s(300));return e}function Va(){var e=ho!==0;return ho=0,e}function dn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?He.memoizedState=ot=e:ot=ot.next=e,ot}function Vt(){if(tt===null){var e=He.alternate;e=e!==null?e.memoizedState:null}else e=tt.next;var t=ot===null?He.memoizedState:ot.next;if(t!==null)ot=t,tt=e;else{if(e===null)throw Error(s(310));tt=e,e={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},ot===null?He.memoizedState=ot=e:ot=ot.next=e}return ot}function po(e,t){return typeof t=="function"?t(e):t}function qa(e){var t=Vt(),o=t.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=e;var l=tt,u=l.baseQueue,d=o.pending;if(d!==null){if(u!==null){var p=u.next;u.next=d.next,d.next=p}l.baseQueue=u=d,o.pending=null}if(u!==null){d=u.next,l=l.baseState;var w=p=null,E=null,j=d;do{var $=j.lane;if((Sr&$)===$)E!==null&&(E=E.next={lane:0,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),l=j.hasEagerState?j.eagerState:e(l,j.action);else{var H={lane:$,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};E===null?(w=E=H,p=l):E=E.next=H,He.lanes|=$,Er|=$}j=j.next}while(j!==null&&j!==d);E===null?p=l:E.next=w,Xt(l,t.memoizedState)||(Rt=!0),t.memoizedState=l,t.baseState=p,t.baseQueue=E,o.lastRenderedState=l}if(e=o.interleaved,e!==null){u=e;do d=u.lane,He.lanes|=d,Er|=d,u=u.next;while(u!==e)}else u===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function Wa(e){var t=Vt(),o=t.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=e;var l=o.dispatch,u=o.pending,d=t.memoizedState;if(u!==null){o.pending=null;var p=u=u.next;do d=e(d,p.action),p=p.next;while(p!==u);Xt(d,t.memoizedState)||(Rt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),o.lastRenderedState=d}return[d,l]}function xf(){}function Sf(e,t){var o=He,l=Vt(),u=t(),d=!Xt(l.memoizedState,u);if(d&&(l.memoizedState=u,Rt=!0),l=l.queue,Qa(_f.bind(null,o,l,e),[e]),l.getSnapshot!==t||d||ot!==null&&ot.memoizedState.tag&1){if(o.flags|=2048,mo(9,kf.bind(null,o,l,u,t),void 0,null),it===null)throw Error(s(349));(Sr&30)!==0||Ef(o,t,u)}return u}function Ef(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=He.updateQueue,t===null?(t={lastEffect:null,stores:null},He.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function kf(e,t,o,l){t.value=o,t.getSnapshot=l,bf(t)&&Cf(e)}function _f(e,t,o){return o(function(){bf(t)&&Cf(e)})}function bf(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!Xt(e,o)}catch{return!0}}function Cf(e){var t=_n(e,1);t!==null&&nn(t,e,1,-1)}function Rf(e){var t=dn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:e},t.queue=e,e=e.dispatch=lv.bind(null,He,e),[t.memoizedState,e]}function mo(e,t,o,l){return e={tag:e,create:t,destroy:o,deps:l,next:null},t=He.updateQueue,t===null?(t={lastEffect:null,stores:null},He.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(l=o.next,o.next=e,e.next=l,t.lastEffect=e)),e}function Tf(){return Vt().memoizedState}function Li(e,t,o,l){var u=dn();He.flags|=e,u.memoizedState=mo(1|t,o,void 0,l===void 0?null:l)}
vendor: 4,956 bytes, line 38
38function Fi(e,t,o,l){var u=Vt();l=l===void 0?null:l;var d=void 0;if(tt!==null){var p=tt.memoizedState;if(d=p.destroy,l!==null&&$a(l,p.deps)){u.memoizedState=mo(t,o,d,l);return}}He.flags|=e,u.memoizedState=mo(1|t,o,d,l)}function Of(e,t){return Li(8390656,8,e,t)}function Qa(e,t){return Fi(2048,8,e,t)}function Af(e,t){return Fi(4,2,e,t)}function Pf(e,t){return Fi(4,4,e,t)}function jf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Nf(e,t,o){return o=o!=null?o.concat([e]):null,Fi(4,4,jf.bind(null,t,e),o)}function Ka(){}function Lf(e,t){var o=Vt();t=t===void 0?null:t;var l=o.memoizedState;return l!==null&&t!==null&&$a(t,l[1])?l[0]:(o.memoizedState=[e,t],e)}function Ff(e,t){var o=Vt();t=t===void 0?null:t;var l=o.memoizedState;return l!==null&&t!==null&&$a(t,l[1])?l[0]:(e=e(),o.memoizedState=[e,t],e)}function If(e,t,o){return(Sr&21)===0?(e.baseState&&(e.baseState=!1,Rt=!0),e.memoizedState=o):(Xt(o,t)||(o=dd(),He.lanes|=o,Er|=o,e.baseState=!0),t)}function ov(e,t){var o=Ne;Ne=o!==0&&4>o?o:4,e(!0);var l=Ba.transition;Ba.transition={};try{e(!1),t()}finally{Ne=o,Ba.transition=l}}function Df(){return Vt().memoizedState}function iv(e,t,o){var l=Gn(e);if(o={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null},Uf(e))zf(t,o);else if(o=mf(e,t,o,l),o!==null){var u=St();nn(o,e,l,u),Mf(o,t,l)}}function lv(e,t,o){var l=Gn(e),u={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(Uf(e))zf(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var p=t.lastRenderedState,w=d(p,o);if(u.hasEagerState=!0,u.eagerState=w,Xt(w,p)){var E=t.interleaved;E===null?(u.next=u,Fa(t)):(u.next=E.next,E.next=u),t.interleaved=u;return}}catch{}finally{}o=mf(e,t,u,l),o!==null&&(u=St(),nn(o,e,l,u),Mf(o,t,l))}}function Uf(e){var t=e.alternate;return e===He||t!==null&&t===He}function zf(e,t){fo=Ni=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Mf(e,t,o){if((o&4194240)!==0){var l=t.lanes;l&=e.pendingLanes,o|=l,t.lanes=o,Yl(e,o)}}var Ii={readContext:Ht,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},av={readContext:Ht,useCallback:function(e,t){return dn().memoizedState=[e,t===void 0?null:t],e},useContext:Ht,useEffect:Of,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,Li(4194308,4,jf.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Li(4194308,4,e,t)},useInsertionEffect:function(e,t){return Li(4,2,e,t)},useMemo:function(e,t){var o=dn();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var l=dn();return t=o!==void 0?o(t):t,l.memoizedState=l.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},l.queue=e,e=e.dispatch=iv.bind(null,He,e),[l.memoizedState,e]},useRef:function(e){var t=dn();return e={current:e},t.memoizedState=e},useState:Rf,useDebugValue:Ka,useDeferredValue:function(e){return dn().memoizedState=e},useTransition:function(){var e=Rf(!1),t=e[0];return e=ov.bind(null,e[1]),dn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var l=He,u=dn();if(Me){if(o===void 0)throw Error(s(407));o=o()}else{if(o=t(),it===null)throw Error(s(349));(Sr&30)!==0||Ef(l,t,o)}u.memoizedState=o;var d={value:o,getSnapshot:t};return u.queue=d,Of(_f.bind(null,l,d,e),[e]),l.flags|=2048,mo(9,kf.bind(null,l,d,o,t),void 0,null),o},useId:function(){var e=dn(),t=it.identifierPrefix;if(Me){var o=kn,l=En;o=(l&~(1<<32-Yt(l)-1)).toString(32)+o,t=":"+t+"R"+o,o=ho++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=sv++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},uv={readContext:Ht,useCallback:Lf,useContext:Ht,useEffect:Qa,useImperativeHandle:Nf,useInsertionEffect:Af,useLayoutEffect:Pf,useMemo:Ff,useReducer:qa,useRef:Tf,useState:function(){return qa(po)},useDebugValue:Ka,useDeferredValue:function(e){var t=Vt();return If(t,tt.memoizedState,e)},useTransition:function(){var e=qa(po)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:xf,useSyncExternalStore:Sf,useId:Df,unstable_isNewReconciler:!1},cv={readContext:Ht,useCallback:Lf,useContext:Ht,useEffect:Qa,useImperativeHandle:Nf,useInsertionEffect:Af,useLayoutEffect:Pf,useMemo:Ff,useReducer:Wa,useRef:Tf,useState:function(){return Wa(po)},useDebugValue:Ka,useDeferredValue:function(e){var t=Vt();return tt===null?t.memoizedState=e:If(t,tt.memoizedState,e)},useTransition:function(){var e=Wa(po)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:xf,useSyncExternalStore:Sf,useId:Df,unstable_isNewReconciler:!1};function Zt(e,t){if(e&&e.defaultProps){t=D({},t),e=e.defaultProps;
vendor: 4,554 bytes, lines 38-40
38for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function Ga(e,t,o,l){t=e.memoizedState,o=o(l,t),o=o==null?t:D({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Di={isMounted:function(e){return(e=e._reactInternals)?pr(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var l=St(),u=Gn(e),d=bn(l,u);d.payload=t,o!=null&&(d.callback=o),t=qn(e,d,u),t!==null&&(nn(t,e,u,l),Oi(t,e,u))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var l=St(),u=Gn(e),d=bn(l,u);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=qn(e,d,u),t!==null&&(nn(t,e,u,l),Oi(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=St(),l=Gn(e),u=bn(o,l);u.tag=2,t!=null&&(u.callback=t),t=qn(e,u,l),t!==null&&(nn(t,e,l,o),Oi(t,e,l))}};function Bf(e,t,o,l,u,d,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,d,p):t.prototype&&t.prototype.isPureReactComponent?!eo(o,l)||!eo(u,d):!0}function $f(e,t,o){var l=!1,u=$n,d=t.contextType;return typeof d=="object"&&d!==null?d=Ht(d):(u=Ct(t)?yr:pt.current,l=t.contextTypes,d=(l=l!=null)?ns(e,u):$n),t=new t(o,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Di,e.stateNode=t,t._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=d),t}function Hf(e,t,o,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,l),t.state!==e&&Di.enqueueReplaceState(t,t.state,null)}function Ya(e,t,o,l){var u=e.stateNode;u.props=o,u.state=e.memoizedState,u.refs={},Ia(e);var d=t.contextType;typeof d=="object"&&d!==null?u.context=Ht(d):(d=Ct(t)?yr:pt.current,u.context=ns(e,d)),u.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(Ga(e,t,d,o),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(t=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),t!==u.state&&Di.enqueueReplaceState(u,u.state,null),Ai(e,o,u,l),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function cs(e,t){try{var o="",l=t;do o+=oe(l),l=l.return;while(l);var u=o}catch(d){u=`
39Error generating stack: `+d.message+`
40`+d.stack}return{value:e,source:t,stack:u,digest:null}}function Xa(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function Ja(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var dv=typeof WeakMap=="function"?WeakMap:Map;function Vf(e,t,o){o=bn(-1,o),o.tag=3,o.payload={element:null};var l=t.value;return o.callback=function(){Vi||(Vi=!0,hu=l),Ja(e,t)},o}function qf(e,t,o){o=bn(-1,o),o.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var u=t.value;o.payload=function(){return l(u)},o.callback=function(){Ja(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){Ja(e,t),typeof l!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var p=t.stack;this.componentDidCatch(t.value,{componentStack:p!==null?p:""})}),o}function Wf(e,t,o){var l=e.pingCache;if(l===null){l=e.pingCache=new dv;var u=new Set;l.set(t,u)}else u=l.get(t),u===void 0&&(u=new Set,l.set(t,u));u.has(o)||(u.add(o),e=bv.bind(null,e,t,o),t.then(e,e))}function Qf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Kf(e,t,o,l,u){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=bn(-1,1),t.tag=2,qn(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var fv=N.ReactCurrentOwner,Rt=!1;function xt(e,t,o,l){t.child=e===null?pf(t,null,o,l):is(t,e.child,o,l)}function Gf(e,t,o,l,u){o=o.render;var d=t.ref;return as(t,u),l=Ha(e,t,o,l,d,u),o=Va(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Cn(e,t,u)):(Me&&o&&Ca(t),t.flags|=1,xt(e,t,l,u),t.child)}function Yf(e,t,o,l,u){if(e===null){var d=o.type;return typeof d=="function"&&!xu(d)&&d.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=d,Xf(e,t,d,l,u)):(e=Yi(o.type,null,l,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&u)===0){var p=d.memoizedProps;
vendor: 11,686 bytes, line 40
40if(o=o.compare,o=o!==null?o:eo,o(p,l)&&e.ref===t.ref)return Cn(e,t,u)}return t.flags|=1,e=Xn(d,l),e.ref=t.ref,e.return=t,t.child=e}function Xf(e,t,o,l,u){if(e!==null){var d=e.memoizedProps;if(eo(d,l)&&e.ref===t.ref)if(Rt=!1,t.pendingProps=l=d,(e.lanes&u)!==0)(e.flags&131072)!==0&&(Rt=!0);else return t.lanes=e.lanes,Cn(e,t,u)}return Za(e,t,o,l,u)}function Jf(e,t,o){var l=t.pendingProps,u=l.children,d=e!==null?e.memoizedState:null;if(l.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(fs,Mt),Mt|=o;else{if((o&1073741824)===0)return e=d!==null?d.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,De(fs,Mt),Mt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=d!==null?d.baseLanes:o,De(fs,Mt),Mt|=l}else d!==null?(l=d.baseLanes|o,t.memoizedState=null):l=o,De(fs,Mt),Mt|=l;return xt(e,t,u,o),t.child}function Zf(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function Za(e,t,o,l,u){var d=Ct(o)?yr:pt.current;return d=ns(t,d),as(t,u),o=Ha(e,t,o,l,d,u),l=Va(),e!==null&&!Rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,Cn(e,t,u)):(Me&&l&&Ca(t),t.flags|=1,xt(e,t,o,u),t.child)}function eh(e,t,o,l,u){if(Ct(o)){var d=!0;Si(t)}else d=!1;if(as(t,u),t.stateNode===null)zi(e,t),$f(t,o,l),Ya(t,o,l,u),l=!0;else if(e===null){var p=t.stateNode,w=t.memoizedProps;p.props=w;var E=p.context,j=o.contextType;typeof j=="object"&&j!==null?j=Ht(j):(j=Ct(o)?yr:pt.current,j=ns(t,j));var $=o.getDerivedStateFromProps,H=typeof $=="function"||typeof p.getSnapshotBeforeUpdate=="function";H||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(w!==l||E!==j)&&Hf(t,p,l,j),Vn=!1;var B=t.memoizedState;p.state=B,Ai(t,l,p,u),E=t.memoizedState,w!==l||B!==E||bt.current||Vn?(typeof $=="function"&&(Ga(t,o,$,l),E=t.memoizedState),(w=Vn||Bf(t,o,w,l,B,E,j))?(H||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(t.flags|=4194308)):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=E),p.props=l,p.state=E,p.context=j,l=w):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{p=t.stateNode,yf(e,t),w=t.memoizedProps,j=t.type===t.elementType?w:Zt(t.type,w),p.props=j,H=t.pendingProps,B=p.context,E=o.contextType,typeof E=="object"&&E!==null?E=Ht(E):(E=Ct(o)?yr:pt.current,E=ns(t,E));var K=o.getDerivedStateFromProps;($=typeof K=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(w!==H||B!==E)&&Hf(t,p,l,E),Vn=!1,B=t.memoizedState,p.state=B,Ai(t,l,p,u);var Z=t.memoizedState;w!==H||B!==Z||bt.current||Vn?(typeof K=="function"&&(Ga(t,o,K,l),Z=t.memoizedState),(j=Vn||Bf(t,o,j,l,B,Z,E)||!1)?($||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(l,Z,E),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(l,Z,E)),typeof p.componentDidUpdate=="function"&&(t.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof p.componentDidUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=Z),p.props=l,p.state=Z,p.context=E,l=j):(typeof p.componentDidUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),l=!1)}return eu(e,t,o,l,d,u)}function eu(e,t,o,l,u,d){Zf(e,t);var p=(t.flags&128)!==0;if(!l&&!p)return u&&sf(t,o,!1),Cn(e,t,d);l=t.stateNode,fv.current=t;var w=p&&typeof o.getDerivedStateFromError!="function"?null:l.render();return t.flags|=1,e!==null&&p?(t.child=is(t,e.child,null,d),t.child=is(t,null,w,d)):xt(e,t,w,d),t.memoizedState=l.state,u&&sf(t,o,!0),t.child}function th(e){var t=e.stateNode;t.pendingContext?nf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&nf(e,t.context,!1),Da(e,t.containerInfo)}function nh(e,t,o,l,u){return os(),Aa(u),t.flags|=256,xt(e,t,o,l),t.child}var tu={dehydrated:null,treeContext:null,retryLane:0};function nu(e){return{baseLanes:e,cachePool:null,transitions:null}}function rh(e,t,o){var l=t.pendingProps,u=$e.current,d=!1,p=(t.flags&128)!==0,w;if((w=p)||(w=e!==null&&e.memoizedState===null?!1:(u&2)!==0),w?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),De($e,u&1),e===null)return Oa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(p=l.children,e=l.fallback,d?(l=t.mode,d=t.child,p={mode:"hidden",children:p},(l&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=p):d=Xi(p,l,0,null),e=Cr(e,l,o,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=nu(o),t.memoizedState=tu,e):ru(t,p));if(u=e.memoizedState,u!==null&&(w=u.dehydrated,w!==null))return hv(e,t,p,l,w,u,o);if(d){d=l.fallback,p=t.mode,u=e.child,w=u.sibling;var E={mode:"hidden",children:l.children};return(p&1)===0&&t.child!==u?(l=t.child,l.childLanes=0,l.pendingProps=E,t.deletions=null):(l=Xn(u,E),l.subtreeFlags=u.subtreeFlags&14680064),w!==null?d=Xn(w,d):(d=Cr(d,p,o,null),d.flags|=2),d.return=t,l.return=t,l.sibling=d,t.child=l,l=d,d=t.child,p=e.child.memoizedState,p=p===null?nu(o):{baseLanes:p.baseLanes|o,cachePool:null,transitions:p.transitions},d.memoizedState=p,d.childLanes=e.childLanes&~o,t.memoizedState=tu,l}return d=e.child,e=d.sibling,l=Xn(d,{mode:"visible",children:l.children}),(t.mode&1)===0&&(l.lanes=o),l.return=t,l.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=l,t.memoizedState=null,l}function ru(e,t){return t=Xi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ui(e,t,o,l){return l!==null&&Aa(l),is(t,e.child,null,o),e=ru(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hv(e,t,o,l,u,d,p){if(o)return t.flags&256?(t.flags&=-257,l=Xa(Error(s(422))),Ui(e,t,p,l)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=l.fallback,u=t.mode,l=Xi({mode:"visible",children:l.children},u,0,null),d=Cr(d,u,p,null),d.flags|=2,l.return=t,d.return=t,l.sibling=d,t.child=l,(t.mode&1)!==0&&is(t,e.child,null,p),t.child.memoizedState=nu(p),t.memoizedState=tu,d);if((t.mode&1)===0)return Ui(e,t,p,null);if(u.data==="$!"){if(l=u.nextSibling&&u.nextSibling.dataset,l)var w=l.dgst;return l=w,d=Error(s(419)),l=Xa(d,l,void 0),Ui(e,t,p,l)}if(w=(p&e.childLanes)!==0,Rt||w){if(l=it,l!==null){switch(p&-p){case 4:u=2;break;case 16:u=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:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(l.suspendedLanes|p))!==0?0:u,u!==0&&u!==d.retryLane&&(d.retryLane=u,_n(e,u),nn(l,e,u,-1))}return wu(),l=Xa(Error(s(421))),Ui(e,t,p,l)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=Cv.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,zt=Mn(u.nextSibling),Ut=t,Me=!0,Jt=null,e!==null&&(Bt[$t++]=En,Bt[$t++]=kn,Bt[$t++]=gr,En=e.id,kn=e.overflow,gr=t),t=ru(t,l.children),t.flags|=4096,t)}function sh(e,t,o){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),La(e.return,t,o)}function su(e,t,o,l,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:o,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=o,d.tailMode=u)}function oh(e,t,o){var l=t.pendingProps,u=l.revealOrder,d=l.tail;if(xt(e,t,l.children,o),l=$e.current,(l&2)!==0)l=l&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sh(e,o,t);else if(e.tag===19)sh(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}if(De($e,l),(t.mode&1)===0)t.memoizedState=null;else switch(u){case"forwards":for(o=t.child,u=null;o!==null;)e=o.alternate,e!==null&&Pi(e)===null&&(u=o),o=o.sibling;o=u,o===null?(u=t.child,t.child=null):(u=o.sibling,o.sibling=null),su(t,!1,u,o,d);break;case"backwards":for(o=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&Pi(e)===null){t.child=u;break}e=u.sibling,u.sibling=o,o=u,u=e}su(t,!0,o,null,d);break;case"together":su(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zi(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Cn(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Er|=t.lanes,(o&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,o=Xn(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Xn(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function pv(e,t,o){switch(t.tag){case 3:th(t),os();break;case 5:wf(t);break;case 1:Ct(t.type)&&Si(t);break;case 4:Da(t,t.stateNode.containerInfo);break;case 10:var l=t.type._context,u=t.memoizedProps.value;De(Ri,l._currentValue),l._currentValue=u;break;case 13:if(l=t.memoizedState,l!==null)return l.dehydrated!==null?(De($e,$e.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?rh(e,t,o):(De($e,$e.current&1),e=Cn(e,t,o),e!==null?e.sibling:null);De($e,$e.current&1);break;case 19:if(l=(o&t.childLanes)!==0,(e.flags&128)!==0){if(l)return oh(e,t,o);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),De($e,$e.current),l)break;return null;case 22:case 23:return t.lanes=0,Jf(e,t,o)}return Cn(e,t,o)}var ih,ou,lh,ah;ih=function(e,t){for(var o=t.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===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},ou=function(){},lh=function(e,t,o,l){var u=e.memoizedProps;if(u!==l){e=t.stateNode,xr(cn.current);var d=null;switch(o){case"input":u=It(e,u),l=It(e,l),d=[];break;case"select":u=D({},u,{value:void 0}),l=D({},l,{value:void 0}),d=[];break;case"textarea":u=Dl(e,u),l=Dl(e,l),d=[];break;default:typeof u.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=vi)}zl(o,l);var p;o=null;for(j in u)if(!l.hasOwnProperty(j)&&u.hasOwnProperty(j)&&u[j]!=null)if(j==="style"){var w=u[j];for(p in w)w.hasOwnProperty(p)&&(o||(o={}),o[p]="")}else j!=="dangerouslySetInnerHTML"&&j!=="children"&&j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&j!=="autoFocus"&&(a.hasOwnProperty(j)?d||(d=[]):(d=d||[]).push(j,null));for(j in l){var E=l[j];if(w=u!=null?u[j]:void 0,l.hasOwnProperty(j)&&E!==w&&(E!=null||w!=null))if(j==="style")if(w){for(p in w)!w.hasOwnProperty(p)||E&&E.hasOwnProperty(p)||(o||(o={}),o[p]="");for(p in E)E.hasOwnProperty(p)&&w[p]!==E[p]&&(o||(o={}),o[p]=E[p])}else o||(d||(d=[]),d.push(j,o)),o=E;else j==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,w=w?w.__html:void 0,E!=null&&w!==E&&(d=d||[]).push(j,E)):j==="children"?typeof E!="str
40ing"&&typeof E!="number"||(d=d||[]).push(j,""+E):j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&(a.hasOwnProperty(j)?(E!=null&&j==="onScroll"&&Ue("scroll",e),d||w===E||(d=[])):(d=d||[]).push(j,E))}o&&(d=d||[]).push("style",o);var j=d;(t.updateQueue=j)&&(t.flags|=4)}},ah=function(e,t,o,l){o!==l&&(t.flags|=4)};function yo(e,t){if(!Me)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function yt(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,l=0;if(t)for(var u=e.child;u!==null;)o|=u.lanes|u.childLanes,l|=u.subtreeFlags&14680064,l|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)o|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=l,e.childLanes=o,t}function mv(e,t,o){var l=t.pendingProps;switch(Ra(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(t),null;case 1:return Ct(t.type)&&xi(),yt(t),null;case 3:return l=t.stateNode,us(),ze(bt),ze(pt),Ma(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(bi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Jt!==null&&(yu(Jt),Jt=null))),ou(e,t),yt(t),null;case 5:Ua(t);var u=xr(co.current);if(o=t.type,e!==null&&t.stateNode!=null)lh(e,t,o,l,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!l){if(t.stateNode===null)throw Error(s(166));return yt(t),null}if(e=xr(cn.current),bi(t)){l=t.stateNode,o=t.type;var d=t.memoizedProps;switch(l[un]=t,l[oo]=d,e=(t.mode&1)!==0,o){case"dialog":Ue("cancel",l),Ue("close",l);break;case"iframe":case"object":case"embed":Ue("load",l);break;case"video":case"audio":for(u=0;u<no.length;u++)Ue(no[u],l);break;case"source":Ue("error",l);break;case"img":case"image":case"link":Ue("error",l),Ue("load",l);break;case"details":Ue("toggle",l);break;case"input":Fs(l,d),Ue("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!d.multiple},Ue("invalid",l);break;case"textarea":Vc(l,d),Ue("invalid",l)}zl(o,d),u=null;for(var p in d)if(d.hasOwnProperty(p)){var w=d[p];p==="children"?typeof w=="string"?l.textContent!==w&&(d.suppressHydrationWarning!==!0&&gi(l.textContent,w,e),u=["children",w]):typeof w=="number"&&l.textContent!==""+w&&(d.suppressHydrationWarning!==!0&&gi(l.textContent,w,e),u=["children",""+w]):a.hasOwnProperty(p)&&w!=null&&p==="onScroll"&&Ue("scroll",l)}switch(o){case"input":pe(l),Hc(l,d,!0);break;case"textarea":pe(l),Wc(l);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(l.onclick=vi)}l=u,t.updateQueue=l,l!==null&&(t.flags|=4)}else{p=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Qc(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=p.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=p.createElement(o,{is:l.is}):(e=p.createElement(o),o==="select"&&(p=e,l.multiple?p.multiple=!0:l.size&&(p.size=l.size))):e=p.createElementNS(e,o),e[un]=t,e[oo]=l,ih(e,t,!1,!1),t.stateNode=e;e:{switch(p=Ml(o,l),o){case"dialog":Ue("cancel",e),Ue("close",e),u=l;break;case"iframe":case"object":case"embed":Ue("load",e),u=l;break;case"video":case"audio":for(u=0;u<no.length;u++)Ue(no[u],e);u=l;break;case"source":Ue("error",e),u=l;break;case"img":case"image":case"link":Ue("error",e),Ue("load",e),u=l;break;case"details":Ue("toggle",e),u=l;break;case"input":Fs(e,l),u=It(e,l),Ue("invalid",e);break;case"option":u=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},u=D({},l,{value:void 0}),Ue("invalid",e);break;case"textarea":Vc(e,l),u=Dl(e,l),Ue("invalid",e);break;default:u=l}zl(o,u),w=u;for(d in w)if(w.hasOwnProperty(d)){var E=w[d];d==="style"?Yc(e,E):d==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&Kc(e,E)):d==="children"?typeof E=="string"?(o!=="textarea"||E!=="")&&Ds(e,E):typeof E=="number"&&Ds(e,""+E):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(a.hasOwnProperty(d)?E!=null&&d==="onScroll"&&Ue("scroll",e):E!=null&&L(e,d,E,p))}switch(o){case"input":pe(e),Hc(e,l,!1);break;case"textarea":pe(e),Wc(e);break;case"option":l.value!=null&&e.setAttribute("value",""+ve(l.value));break;case"select":e.multiple=!!l.multiple,d=l.value,d!=null?Vr(e,!!l.multiple,d,!1):l.defaultValue!=null&&Vr(e,!!l.multiple,l.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=vi)}switch(o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}
vendor: 24,999 bytes, line 40
40return yt(t),null;case 6:if(e&&t.stateNode!=null)ah(e,t,e.memoizedProps,l);else{if(typeof l!="string"&&t.stateNode===null)throw Error(s(166));if(o=xr(co.current),xr(cn.current),bi(t)){if(l=t.stateNode,o=t.memoizedProps,l[un]=t,(d=l.nodeValue!==o)&&(e=Ut,e!==null))switch(e.tag){case 3:gi(l.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&gi(l.nodeValue,o,(e.mode&1)!==0)}d&&(t.flags|=4)}else l=(o.nodeType===9?o:o.ownerDocument).createTextNode(l),l[un]=t,t.stateNode=l}return yt(t),null;case 13:if(ze($e),l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Me&&zt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)df(),os(),t.flags|=98560,d=!1;else if(d=bi(t),l!==null&&l.dehydrated!==null){if(e===null){if(!d)throw Error(s(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(s(317));d[un]=t}else os(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;yt(t),d=!1}else Jt!==null&&(yu(Jt),Jt=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(l=l!==null,l!==(e!==null&&e.memoizedState!==null)&&l&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||($e.current&1)!==0?nt===0&&(nt=3):wu())),t.updateQueue!==null&&(t.flags|=4),yt(t),null);case 4:return us(),ou(e,t),e===null&&ro(t.stateNode.containerInfo),yt(t),null;case 10:return Na(t.type._context),yt(t),null;case 17:return Ct(t.type)&&xi(),yt(t),null;case 19:if(ze($e),d=t.memoizedState,d===null)return yt(t),null;if(l=(t.flags&128)!==0,p=d.rendering,p===null)if(l)yo(d,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(p=Pi(e),p!==null){for(t.flags|=128,yo(d,!1),l=p.updateQueue,l!==null&&(t.updateQueue=l,t.flags|=4),t.subtreeFlags=0,l=o,o=t.child;o!==null;)d=o,e=l,d.flags&=14680066,p=d.alternate,p===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=p.childLanes,d.lanes=p.lanes,d.child=p.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=p.memoizedProps,d.memoizedState=p.memoizedState,d.updateQueue=p.updateQueue,d.type=p.type,e=p.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return De($e,$e.current&1|2),t.child}e=e.sibling}d.tail!==null&&Ge()>hs&&(t.flags|=128,l=!0,yo(d,!1),t.lanes=4194304)}else{if(!l)if(e=Pi(p),e!==null){if(t.flags|=128,l=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),yo(d,!0),d.tail===null&&d.tailMode==="hidden"&&!p.alternate&&!Me)return yt(t),null}else 2*Ge()-d.renderingStartTime>hs&&o!==1073741824&&(t.flags|=128,l=!0,yo(d,!1),t.lanes=4194304);d.isBackwards?(p.sibling=t.child,t.child=p):(o=d.last,o!==null?o.sibling=p:t.child=p,d.last=p)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Ge(),t.sibling=null,o=$e.current,De($e,l?o&1|2:o&1),t):(yt(t),null);case 22:case 23:return vu(),l=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(t.flags|=8192),l&&(t.mode&1)!==0?(Mt&1073741824)!==0&&(yt(t),t.subtreeFlags&6&&(t.flags|=8192)):yt(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function yv(e,t){switch(Ra(t),t.tag){case 1:return Ct(t.type)&&xi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return us(),ze(bt),ze(pt),Ma(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Ua(t),null;case 13:if(ze($e),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));os()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ze($e),null;case 4:return us(),null;case 10:return Na(t.type._context),null;case 22:case 23:return vu(),null;case 24:return null;default:return null}}var Mi=!1,gt=!1,gv=typeof WeakSet=="function"?WeakSet:Set,J=null;function ds(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(l){Qe(e,t,l)}else o.current=null}function iu(e,t,o){try{o()}catch(l){Qe(e,t,l)}}var uh=!1;function vv(e,t){if(va=ii,e=Md(),ca(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var l=o.getSelection&&o.getSelection();if(l&&l.rangeCount!==0){o=l.anchorNode;var u=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{o.nodeType,d.nodeType}catch{o=null;break e}var p=0,w=-1,E=-1,j=0,$=0,H=e,B=null;t:for(;;){for(var K;H!==o||u!==0&&H.nodeType!==3||(w=p+u),H!==d||l!==0&&H.nodeType!==3||(E=p+l),H.nodeType===3&&(p+=H.nodeValue.length),(K=H.firstChild)!==null;)B=H,H=K;for(;;){if(H===e)break t;if(B===o&&++j===u&&(w=p),B===d&&++$===l&&(E=p),(K=H.nextSibling)!==null)break;H=B,B=H.parentNode}H=K}o=w===-1||E===-1?null:{start:w,end:E}}else o=null}o=o||{start:0,end:0}}else o=null;for(wa={focusedElem:e,selectionRange:o},ii=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var Z=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(Z!==null){var re=Z.memoizedProps,Ye=Z.memoizedState,O=t.stateNode,_=O.getSnapshotBeforeUpdate(t.elementType===t.type?re:Zt(t.type,re),Ye);O.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var P=t.stateNode.containerInfo;P.nodeType===1?P.textContent="":P.nodeType===9&&P.documentElement&&P.removeChild(P.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(q){Qe(t,t.return,q)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return Z=uh,uh=!1,Z}function go(e,t,o){var l=t.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var u=l=l.next;do{if((u.tag&e)===e){var d=u.destroy;u.destroy=void 0,d!==void 0&&iu(t,o,d)}u=u.next}while(u!==l)}}function Bi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var l=o.create;o.destroy=l()}o=o.next}while(o!==t)}}function lu(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function ch(e){var t=e.alternate;t!==null&&(e.alternate=null,ch(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[un],delete t[oo],delete t[ka],delete t[ev],delete t[tv])),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 fh(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 au(e,t,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=vi));else if(l!==4&&(e=e.child,e!==null))for(au(e,t,o),e=e.sibling;e!==null;)au(e,t,o),e=e.sibling}function uu(e,t,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(uu(e,t,o),e=e.sibling;e!==null;)uu(e,t,o),e=e.sibling}var ut=null,en=!1;function Wn(e,t,o){for(o=o.child;o!==null;)hh(e,t,o),o=o.sibling}function hh(e,t,o){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(ei,o)}catch{}switch(o.tag){case 5:gt||ds(o,t);case 6:var l=ut,u=en;ut=null,Wn(e,t,o),ut=l,en=u,ut!==null&&(en?(e=ut,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):ut.removeChild(o.stateNode));break;case 18:ut!==null&&(en?(e=ut,o=o.stateNode,e.nodeType===8?Ea(e.parentNode,o):e.nodeType===1&&Ea(e,o),Ks(e)):Ea(ut,o.stateNode));break;case 4:l=ut,u=en,ut=o.stateNode.containerInfo,en=!0,Wn(e,t,o),ut=l,en=u;break;case 0:case 11:case 14:case 15:if(!gt&&(l=o.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){u=l=l.next;do{var d=u,p=d.destroy;d=d.tag,p!==void 0&&((d&2)!==0||(d&4)!==0)&&iu(o,t,p),u=u.next}while(u!==l)}Wn(e,t,o);break;case 1:if(!gt&&(ds(o,t),l=o.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=o.memoizedProps,l.state=o.memoizedState,l.componentWillUnmount()}catch(w){Qe(o,t,w)}Wn(e,t,o);break;case 21:Wn(e,t,o);break;case 22:o.mode&1?(gt=(l=gt)||o.memoizedState!==null,Wn(e,t,o),gt=l):Wn(e,t,o);break;default:Wn(e,t,o)}}function ph(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new gv),t.forEach(function(l){var u=Rv.bind(null,e,l);o.has(l)||(o.add(l),l.then(u,u))})}}function tn(e,t){var o=t.deletions;if(o!==null)for(var l=0;l<o.length;l++){var u=o[l];try{var d=e,p=t,w=p;e:for(;w!==null;){switch(w.tag){case 5:ut=w.stateNode,en=!1;break e;case 3:ut=w.stateNode.containerInfo,en=!0;break e;case 4:ut=w.stateNode.containerInfo,en=!0;break e}w=w.return}if(ut===null)throw Error(s(160));hh(d,p,u),ut=null,en=!1;var E=u.alternate;E!==null&&(E.return=null),u.return=null}catch(j){Qe(u,t,j)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)mh(t,e),t=t.sibling}function mh(e,t){var o=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(tn(t,e),fn(e),l&4){try{go(3,e,e.return),Bi(3,e)}catch(re){Qe(e,e.return,re)}try{go(5,e,e.return)}catch(re){Qe(e,e.return,re)}}break;case 1:tn(t,e),fn(e),l&512&&o!==null&&ds(o,o.return);break;case 5:if(tn(t,e),fn(e),l&512&&o!==null&&ds(o,o.return),e.flags&32){var u=e.stateNode;try{Ds(u,"")}catch(re){Qe(e,e.return,re)}}if(l&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,p=o!==null?o.memoizedProps:d,w=e.type,E=e.updateQueue;if(e.updateQueue=null,E!==null)try{w==="input"&&d.type==="radio"&&d.name!=null&&Go(u,d),Ml(w,p);var j=Ml(w,d);for(p=0;p<E.length;p+=2){var $=E[p],H=E[p+1];$==="style"?Yc(u,H):$==="dangerouslySetInnerHTML"?Kc(u,H):$==="children"?Ds(u,H):L(u,$,H,j)}switch(w){case"input":wn(u,d);break;case"textarea":qc(u,d);break;case"select":var B=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!d.multiple;var K=d.value;K!=null?Vr(u,!!d.multiple,K,!1):B!==!!d.multiple&&(d.defaultValue!=null?Vr(u,!!d.multiple,d.defaultValue,!0):Vr(u,!!d.multiple,d.multiple?[]:"",!1))}u[oo]=d}catch(re){Qe(e,e.return,re)}}break;case 6:if(tn(t,e),fn(e),l&4){if(e.stateNode===null)throw Error(s(162));u=e.stateNode,d=e.memoizedProps;try{u.nodeValue=d}catch(re){Qe(e,e.return,re)}}break;case 3:if(tn(t,e),fn(e),l&4&&o!==null&&o.memoizedState.isDehydrated)try{Ks(t.containerInfo)}catch(re){Qe(e,e.return,re)}break;case 4:tn(t,e),fn(e);break;case 13:tn(t,e),fn(e),u=e.child,u.flags&8192&&(d=u.memoizedState!==null,u.stateNode.isHidden=d,!d||u.alternate!==null&&u.alternate.memoizedState!==null||(fu=Ge())),l&4&&ph(e);break;case 22:if($=o!==null&&o.memoizedState!==null,e.mode&1?(gt=(j=gt)||$,tn(t,e),gt=j):tn(t,e),fn(e),l&8192){if(j=e.memoizedState!==null,(e.stateNode.isHidden=j)&&!$&&(e.mode&1)!==0)for(J=e,$=e.child;$!==null;){for(H=J=$;J!==null;){switch(B=J,K=B.child,B.tag){case 0:case 11:case 14:case 15:go(4,B,B.return);break;case 1:ds(B,B.return);var Z=B.stateNode;if(typeof Z.componentWillUnmount=="function"){l=B,o=B.return;try{t=l,Z.props=t.memoizedProps,Z.state=t.memoizedState,Z.componentWillUnmount()}catch(re){Qe(l,o,re)}}break;case 5:ds(B,B.return);break;case 22:if(B.memoizedState!==null){vh(H);continue}}K!==null?(K.return=B,J=K):vh(H)}$=$.sibling}e:for($=null,H=e;;){if(H.tag===5){if($===null){$=H;try{u=H.stateNode,j?(d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(w=H.stateNode,E=H.memoizedProps.style,p=E!=null&&E.hasOwnProperty("display")?E.display:null,w.style.display=Gc("display",p))}catch(re){Qe(e,e.return,re)}}}else if(H.tag===6){if($===null)try{H.stateNode.nodeValue=j?"":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;$===H&&($=null),H=H.return}$===H&&($=null),H.sibling.return=H.return,H=H.sibling}}break;case 19:tn(t,e),fn(e),l&4&&ph(e);break;case 21:break;default:tn(t,e),fn(e)}}function fn(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(dh(o)){var l=o;break e}o=o.return}throw Error(s(160))}switch(l.tag){case 5:var u=l.stateNode;l.flags&32&&(Ds(u,""),l.flags&=-33);var d=fh(e);uu(e,d,u);break;case 3:case 4:var p=l.stateNode.containerInfo,w=fh(e);au(e,w,p);break;default:throw Error(s(161))}}catch(E){Qe(e,e.return,E)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function wv(e,t,o){J=e,yh(e)}function yh(e,t,o){for(var l=(e.mode&1)!==0;J!==null;){var u=J,d=u.child;if(u.tag===22&&l){var p=u.memoizedState!==null||Mi;if(!p){var w=u.alternate,E=w!==null&&w.memoizedState!==null||gt;w=Mi;var j=gt;if(Mi=p,(gt=E)&&!j)for(J=u;J!==null;)p=J,E=p.child,p.tag===22&&p.memoizedState!==null?wh(u):E!==null?(E.return=p,J=E):wh(u);for(;d!==null;)J=d,yh(d),d=d.sibling;J=u,Mi=w,gt=j}gh(e)}else(u.subtreeFlags&8772)!==0&&d!==null?(d.return=u,J=d):gh(e)}}function gh(e){for(;J!==null;){var t=J;if((t.flags&8772)!==0){var o=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:gt||Bi(5,t);break;case 1:var l=t.stateNode;if(t.flags&4&&!gt)if(o===null)l.componentDidMount();else{var u=t.elementType===t.type?o.memoizedProps:Zt(t.type,o.memoizedProps);l.componentDidUpdate(u,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&vf(t,d,l);break;case 3:var p=t.updateQueue;if(p!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}vf(t,p,o)}break;case 5:var w=t.stateNode;if(o===null&&t.flags&4){o=w;var E=t.memoizedProps;switch(t.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(t.memoizedState===null){var j=t.alternate;if(j!==null){var $=j.memoizedState;if($!==null){var H=$.dehydrated;H!==null&&Ks(H)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}gt||t.flags&512&&lu(t)}catch(B){Qe(t,t.return,B)}}if(t===e){J=null;break}if(o=t.sibling,o!==null){o.return=t.return,J=o;break}J=t.return}}function vh(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var o=t.sibling;if(o!==null){o.return=t.return,J=o;break}J=t.return}}function wh(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{Bi(4,t)}catch(E){Qe(t,o,E)}break;case 1:var l=t.stateNode;if(typeof l.componentDidMount=="function"){var u=t.return;try{l.componentDidMount()}catch(E){Qe(t,u,E)}}var d=t.return;try{lu(t)}catch(E){Qe(t,d,E)}break;case 5:var p=t.return;try{lu(t)}catch(E){Qe(t,p,E)}}}catch(E){Qe(t,t.return,E)}if(t===e){J=null;break}var w=t.sibling;if(w!==null){w.return=t.return,J=w;break}J=t.return}}var xv=Math.ceil,$i=N.ReactCurrentDispatcher,cu=N.ReactCurrentOwner,qt=N.ReactCurrentBatchConfig,Ce=0,it=null,Je=null,ct=0,Mt=0,fs=Bn(0),nt=0,vo=null,Er=0,Hi=0,du=0,wo=null,Tt=null,fu=0,hs=1/0,Rn=null,Vi=!1,hu=null,Qn=null,qi=!1,Kn=null,Wi=0,xo=0,pu=null,Qi=-1,Ki=0;function St(){return(Ce&6)!==0?Ge():Qi!==-1?Qi:Qi=Ge()}function Gn(e){return(e.mode&1)===0?1:(Ce&2)!==0&&ct!==0?ct&-ct:rv.transition!==null?(Ki===0&&(Ki=dd()),Ki):(e=Ne,e!==0||(e=window.event,e=e===void 0?16:xd(e.type)),e)}function nn(e,t,o,l){if(50<xo)throw xo=0,pu=null,Error(s(185));Hs(e,o,l),((Ce&2)===0||e!==it)&&(e===it&&((Ce&2)===0&&(Hi|=o),nt===4&&Yn(e,ct)),Ot(e,l),o===1&&Ce===0&&(t.mode&1)===0&&(hs=Ge()+500,Ei&&Hn()))}function Ot(e,t){var o=e.callbackNode;rg(e,t);var l=ri(e,e===it?ct:0);if(l===0)o!==null&&ad(o),e.callbackNode=null,e.callbackPriority=0;else if(t=l&-l,e.callbackPriority!==t){if(o!=null&&ad(o),t===1)e.tag===0?nv(Sh.bind(null,e)):of(Sh.bind(null,e)),Jg(function(){(Ce&6)===0&&Hn()}),o=null;else{switch(fd(l)){case 1:o=Ql;break;case 4:o=ud;break;case 16:o=Zo;break;case 536870912:o=cd;break;default:o=Zo}o=Oh(o,xh.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function xh(e,t){if(Qi=-1,Ki=0,(Ce&6)!==0)throw Error(s(327));var o=e.callbackNode;if(ps()&&e.callbackNode!==o)return null;var l=ri(e,e===it?ct:0);if(l===0)return null;if((l&30)!==0||(l&e.expiredLanes)!==0||t)t=Gi(e,l);else{t=l;var u=Ce;Ce|=2;var d=kh();(it!==e||ct!==t)&&(Rn=null,hs=Ge()+500,_r(e,t));do try{kv();break}catch(w){Eh(e,w)}while(!0);ja(),$i.current=d,Ce=u,Je!==null?t=0:(it=null,ct=0,t=nt)}if(t!==0){if(t===2&&(u=Kl(e),u!==0&&(l=u,t=mu(e,u))),t===1)throw o=vo,_r(e,0),Yn(e,l),Ot(e,Ge()),o;if(t===6)Yn(e,l);else{if(u=e.current.alternate,(l&30)===0&&!Sv(u)&&(t=Gi(e,l),t===2&&(d=Kl(e),d!==0&&(l=d,t=mu(e,d))),t===1))throw o=vo,_r(e,0),Yn(e,l),Ot(e,Ge()),o;switch(e.finishedWork=u,e.finishedLanes=l,t){case 0:case 1:throw Error(s(345));case 2:br(e,Tt,Rn);break;case 3:if(Yn(e,l),(l&130023424)===l&&(t=fu+500-Ge(),10<t)){if(ri(e,0)!==0)break;if(u=e.suspendedLanes,(u&l)!==l){St(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=Sa(br.bind(null,e,Tt,Rn),t);break}br(e,Tt,Rn);break;case 4:if(Yn(e,l),(l&4194240)===l)break;for(t=e.eventTimes,u=-1;0<l;){var p=31-Yt(l);d=1<<p,p=t[p],p>u&&(u=p),l&=~d}if(l=u,l=Ge()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*xv(l/1960))-l,10<l){e.timeoutHandle=Sa(br.bind(null,e,Tt,Rn),l);break}br(e,Tt,Rn);break;case 5:br(e,Tt,Rn);break;default:throw Error(s(329))}}}return Ot(e,Ge()),e.callbackNode===o?xh.bind(null,e):null}function mu(e,t){var o=wo;return e.current.memoizedState.isDehydrated&&(_r(e,t).flags|=256),e=Gi(e,t),e!==2&&(t=Tt,Tt=o,t!==null&&yu(t)),e}function yu(e){Tt===null?Tt=e:Tt.push.apply(Tt,e)}function Sv(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var l=0;l<o.length;l++){var u=o[l],d=u.getSnapshot;u=u.value;try{if(!Xt(d(),u))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Yn(e,t){for(t&=~du,t&=~Hi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-Yt(t),l=1<<o;e[o]=-1,t&=~l}}function Sh(e){if((Ce&6)!==0)throw Error(s(327));ps();var t=ri(e,0);if((t&1)===0)return Ot(e,Ge()),null;var o=Gi(e,t);if(e.tag!==0&&o===2){var l=Kl(e);l!==0&&(t=l,o=mu(e,l))}if(o===1)throw o=vo,_r(e,0),Yn(e,t),Ot(e,Ge()),o;if(o===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,br(e,Tt,Rn),Ot(e,Ge()),null}function gu(e,t){var o=Ce;Ce|=1;try{return e(t)}finally{Ce=o,Ce===0&&(hs=Ge()+500,Ei&&Hn())}}function kr(e){Kn!==null&&Kn.tag===0&&(Ce&6)===0&&ps();var t=Ce;Ce|=1;var o=qt.transition,l=Ne;try{if(qt.transition=null,Ne=1,e)return e()}finally{Ne=l,qt.transition=o,Ce=t,(Ce&6)===0&&Hn()}}function vu(){Mt=fs.current,ze(fs)}function _r(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Xg(o)),Je!==null)for(o=Je.return;o!==null;){var l=o;switch(Ra(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&xi();break;case 3:us(),ze(bt),ze(pt),Ma();break;case 5:Ua(l);break;case 4:us();break;case 13:ze($e);break;case 19:ze($e);break;case 10:Na(l.type._context);break;case 22:case 23:vu()}o=o.return}if(it=e,Je=e=Xn(e.current,null),ct=Mt=t,nt=0,vo=null,du=Hi=Er=0,Tt=wo=null,wr!==null){for(t=0;t<wr.length;t++)if(o=wr[t],l=o.interleaved,l!==null){o.interleaved=null;var u=l.next,d=o.pending;if(d!==null){var p=d.next;d.next=u,l.next=p}o.pending=l}wr=null}return e}function Eh(e,t){do{var o=Je;try{if(ja(),ji.current=Ii,Ni){for(var l=He.memoizedState;l!==null;){var u=l.queue;u!==null&&(u.pending=null),l=l.next}Ni=!1}if(Sr=0,ot=tt=He=null,fo=!1,ho=0,cu.current=null,o===null||o.return===null){nt=1,vo=t,Je=null;break}e:{var d=e,p=o.return,w=o,E=t;if(t=ct,w.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var j=E,$=w,H=$.tag;if(($.mode&1)===0&&(H===0||H===11||H===15)){var B=$.alternate;B?($.updateQueue=B.updateQueue,$.memoizedState=B.memoizedState,$.lanes=B.lanes):($.updateQueue=null,$.memoizedState=null)}var K=Qf(p);if(K!==null){K.flags&=-257,Kf(K,p,w,d,t),K.mode&1&&Wf(d,j,t),t=K,E=j;var Z=t.updateQueue;if(Z===null){var re=new Set;re.add(E),t.updateQueue=re}else Z.add(E);break e}else{if((t&1)===0){Wf(d,j,t),wu();break e}E=Error(s(426))}}else if(Me&&w.mode&1){var Ye=Qf(p);if(Ye!==null){(Ye.flags&65536)===0&&(Ye.flags|=256),Kf(Ye,p,w,d,t),Aa(cs(E,w));break e}}d=E=cs(E,w),nt!==4&&(nt=2),wo===null?wo=[d]:wo.push(d),d=p;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var O=Vf(d,E,t);gf(d,O);break e;case 1:w=E;var _=d.type,P=d.stateNode;if((d.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(Qn===null||!Qn.has(P)))){d.flags|=65536,t&=-t,d.lanes|=t;var q=qf(d,w,t);gf(d,q);break e}}d=d.return}while(d!==null)}bh(o)}catch(se){t=se,Je===o&&o!==null&&(Je=o=o.return);continue}break}while(!0)}function kh(){var e=$i.current;return $i.current=Ii,e===null?Ii:e}function wu(){(nt===0||nt===3||nt===2)&&(nt=4),it===null||(Er&268435455)===0&&(Hi&268435455)===0||Yn(it,ct)}function Gi(e,t){var o=Ce;Ce|=2;var l=kh();(it!==e||ct!==t)&&(Rn=null,_r(e,t));do try{Ev();break}catch(u){Eh(e,u)}while(!0);if(ja(),Ce=o,$i.current=l,Je!==null)throw Error(s(261));return it=null,ct=0,nt}function Ev(){for(;Je!==null;)_h(Je)}function kv(){for(;Je!==null&&!Ky();)_h(Je)}function _h(e){var t=Th(e.alternate,e,Mt);e.memoizedProps=e.pendingProps,t===null?bh(e):Je=t,cu.current=null}function bh(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=mv(o,t,Mt),o!==null){Je=o;return}}else{if(o=yv(o,t),o!==null){o.flags&=32767,Je=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,Je=null;return}}if(t=t.sibling,t!==null){Je=t;return}Je=t=e}while(t!==null);nt===0&&(nt=5)}function br(e,t,o){var l=Ne,u=qt.transition;try{qt.transition=null,Ne=1,_v(e,t,o,l)}finally{qt.transition=u,Ne=l}return null}function _v(e,t,o,l){do ps();while(Kn!==null);if((Ce&6)!==0)throw Error(s(327));o=e.finishedWork;var u=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 d=o.lanes|o.childLanes;if(sg(e,d),e===it&&(Je=it=null,ct=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||qi||(qi=!0,Oh(Zo,function(){return ps(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=qt.transition,qt.transition=null;var p=Ne;Ne=1;var w=Ce;Ce|=4,cu.current=null,vv(e,o),mh(o,e),Vg(wa),ii=!!va,wa=va=null,e.current=o,wv(o),Gy(),Ce=w,Ne=p,qt.transition=d}else e.current=o;if(qi&&(qi=!1,Kn=e,Wi=u),d=e.pendingLanes,d===0&&(Qn=null),Jy(o.stateNode),Ot(e,Ge()),t!==null)for(l=e.onRecoverableError,o=0;o<t.length;o++)u=t[o],l(u.value,{componentStack:u.stack,digest:u.digest});if(Vi)throw Vi=!1,e=hu,hu=null,e;return(Wi&1)!==0&&e.tag!==0&&ps(),d=e.pendingLanes,(d&1)!==0?e===pu?xo++:(xo=0,pu=e):xo=0,Hn(),null}function ps(){if(Kn!==null){var e=fd(Wi),t=qt.transition,o=Ne;try{if(qt.transition=null,Ne=16>e?16:e,Kn===null)var l=!1;else{if(e=Kn,Kn=null,Wi=0,(Ce&6)!==0)throw Error(s(331));var u=Ce;for(Ce|=4,J=e.current;J!==null;){var d=J,p=d.child;if((J.flags&16)!==0){var w=d.deletions;if(w!==null){for(var E=0;E<w.length;E++){var j=w[E];for(J=j;J!==null;){var $=J;switch($.tag){case 0:case 11:case 15:go(8,$,d)}var H=$.child;if(H!==null)H.return=$,J=H;else for(;J!==null;){$=J;var B=$.sibling,K=$.return;if(ch($),$===j){J=null;break}if(B!==null){B.return=K,J=B;break}J=K}}}var Z=d.alternate;if(Z!==null){var re=Z.child;if(re!==null){Z.child=null;do{var Ye=re.sibling;re.sibling=null,re=Ye}while(re!==null)}}J=d}}if((d.subtreeFlags&2064)!==0&&p!==null)p.return=d,J=p;else e:for(;J!==null;){if(d=J,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:go(9,d,d.return)}var O=d.sibling;if(O!==null){O.return=d.return,J=O;break e}J=d.return}}var _=e.current;for(J=_;J!==null;){p=J;var P=p.child;if((p.subtreeFlags&2064)!==0&&P!==null)P.return=p,J=P;else e:for(p=_;J!==null;){if(w=J,(w.flags&2048)!==0)try{switch(w.tag){case 0:case 11:case 15:Bi(9,w)}}catch(se){Qe(w,w.return,se)}if(w===p){J=null;break e}var q=w.sibling;if(q!==null){q.return=w.return,J=q;break e}J=w.return}}if(Ce=u,Hn(),an&&typeof an.onPostCommitFiberRoot=="function")try{an.onPostCommitFiberRoot(ei,e)}catch{}l=!0}return l}finally{Ne=o,qt.transition=t}}return!1}function Ch(e,t,o){t=cs(o,t),t=Vf(e,t,1),e=qn(e,t,1),t=St(),e!==null&&(Hs(e,1,t),Ot(e,t))}function Qe(e,t,o){if(e.tag===3)Ch(e,e,o);else for(;t!==null;){if(t.tag===3){Ch(t,e,o);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Qn===null||!Qn.has(l))){e=cs(o,e),e=qf(t,e,1),t=qn(t,e,1),e=St(),t!==null&&(Hs(t,1,e),Ot(t,e));break}}t=t.return}}function bv(e,t,o){var l=e.pingCache;l!==null&&l.delete(t),t=St(),e.pingedLanes|=e.suspendedLanes&o,it===e&&(ct&o)===o&&(nt===4||nt===3&&(ct&130023424)===ct&&500>
vendor: 4,508 bytes, line 40
40Ge()-fu?_r(e,0):du|=o),Ot(e,t)}function Rh(e,t){t===0&&((e.mode&1)===0?t=1:(t=ni,ni<<=1,(ni&130023424)===0&&(ni=4194304)));var o=St();e=_n(e,t),e!==null&&(Hs(e,t,o),Ot(e,o))}function Cv(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),Rh(e,o)}function Rv(e,t){var o=0;switch(e.tag){case 13:var l=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(s(314))}l!==null&&l.delete(t),Rh(e,o)}var Th;Th=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Rt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Rt=!1,pv(e,t,o);Rt=(e.flags&131072)!==0}else Rt=!1,Me&&(t.flags&1048576)!==0&&lf(t,_i,t.index);switch(t.lanes=0,t.tag){case 2:var l=t.type;zi(e,t),e=t.pendingProps;var u=ns(t,pt.current);as(t,o),u=Ha(null,t,l,e,u,o);var d=Va();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ct(l)?(d=!0,Si(t)):d=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,Ia(t),u.updater=Di,t.stateNode=u,u._reactInternals=t,Ya(t,l,e,o),t=eu(null,t,l,!0,d,o)):(t.tag=0,Me&&d&&Ca(t),xt(null,t,u,o),t=t.child),t;case 16:l=t.elementType;e:{switch(zi(e,t),e=t.pendingProps,u=l._init,l=u(l._payload),t.type=l,u=t.tag=Ov(l),e=Zt(l,e),u){case 0:t=Za(null,t,l,e,o);break e;case 1:t=eh(null,t,l,e,o);break e;case 11:t=Gf(null,t,l,e,o);break e;case 14:t=Yf(null,t,l,Zt(l.type,e),o);break e}throw Error(s(306,l,""))}return t;case 0:return l=t.type,u=t.pendingProps,u=t.elementType===l?u:Zt(l,u),Za(e,t,l,u,o);case 1:return l=t.type,u=t.pendingProps,u=t.elementType===l?u:Zt(l,u),eh(e,t,l,u,o);case 3:e:{if(th(t),e===null)throw Error(s(387));l=t.pendingProps,d=t.memoizedState,u=d.element,yf(e,t),Ai(t,l,null,o);var p=t.memoizedState;if(l=p.element,d.isDehydrated)if(d={element:l,isDehydrated:!1,cache:p.cache,pendingSuspenseBoundaries:p.pendingSuspenseBoundaries,transitions:p.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=cs(Error(s(423)),t),t=nh(e,t,l,o,u);break e}else if(l!==u){u=cs(Error(s(424)),t),t=nh(e,t,l,o,u);break e}else for(zt=Mn(t.stateNode.containerInfo.firstChild),Ut=t,Me=!0,Jt=null,o=pf(t,null,l,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(os(),l===u){t=Cn(e,t,o);break e}xt(e,t,l,o)}t=t.child}return t;case 5:return wf(t),e===null&&Oa(t),l=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,p=u.children,xa(l,u)?p=null:d!==null&&xa(l,d)&&(t.flags|=32),Zf(e,t),xt(e,t,p,o),t.child;case 6:return e===null&&Oa(t),null;case 13:return rh(e,t,o);case 4:return Da(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=is(t,null,l,o):xt(e,t,l,o),t.child;case 11:return l=t.type,u=t.pendingProps,u=t.elementType===l?u:Zt(l,u),Gf(e,t,l,u,o);case 7:return xt(e,t,t.pendingProps,o),t.child;case 8:return xt(e,t,t.pendingProps.children,o),t.child;case 12:return xt(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(l=t.type._context,u=t.pendingProps,d=t.memoizedProps,p=u.value,De(Ri,l._currentValue),l._currentValue=p,d!==null)if(Xt(d.value,p)){if(d.children===u.children&&!bt.current){t=Cn(e,t,o);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var w=d.dependencies;if(w!==null){p=d.child;for(var E=w.firstContext;E!==null;){if(E.context===l){if(d.tag===1){E=bn(-1,o&-o),E.tag=2;var j=d.updateQueue;if(j!==null){j=j.shared;var $=j.pending;$===null?E.next=E:(E.next=$.next,$.next=E),j.pending=E}}d.lanes|=o,E=d.alternate,E!==null&&(E.lanes|=o),La(d.return,o,t),w.lanes|=o;break}E=E.next}}else if(d.tag===10)p=d.type===t.type?null:d.child;else if(d.tag===18){if(p=d.return,p===null)throw Error(s(341));p.lanes|=o,w=p.alternate,w!==null&&(w.lanes|=o),La(p,o,t),p=d.sibling}else p=d.child;if(p!==null)p.return=d;else for(p=d;p!==null;){if(p===t){p=null;break}if(d=p.sibling,d!==null){d.return=p.return,p=d;break}p=p.return}d=p}xt(e,t,u.children,o),t=t.child}return t;case 9:return u=t.type,l=t.pendingProps.children,as(t,o),u=Ht(u),l=l(u),t.flags|=1,xt(e,t,l,o),t.child;case 14:return l=t.type,u=Zt(l,t.pendingProps),u=Zt(l.type,u),Yf(e,t,l,u,o);case 15:return Xf(e,t,t.type,t.pendingProps,o);case 17:return l=t.type,u=t.pendingProps,u=t.elementType===l?u:Zt(l,u),zi(e,t),t.tag=1,Ct(l)?(e=!0,Si(t)):e=!1,as(t,o),$f(t,l,u),Ya(t,l,u,o),eu(null,t,l,!0,e,o);case 19:return oh(e,t,o);case 22:return Jf(e,t,o)}throw Error(s(156,t.tag))};function Oh(e,t){return ld(e,t)}function Tv(e,t,o,l){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 6,523 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,t,o,l){return new Tv(e,t,o,l)}function xu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ov(e){if(typeof e=="function")return xu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pe)return 11;if(e===Fe)return 14}return 2}function Xn(e,t){var o=e.alternate;return o===null?(o=Wt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,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,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Yi(e,t,o,l,u,d){var p=2;if(l=e,typeof e=="function")xu(e)&&(p=1);else if(typeof e=="string")p=5;else e:switch(e){case he:return Cr(o.children,u,d,t);case M:p=8,u|=8;break;case de:return e=Wt(12,o,t,u|2),e.elementType=de,e.lanes=d,e;case We:return e=Wt(13,o,t,u),e.elementType=We,e.lanes=d,e;case Ae:return e=Wt(19,o,t,u),e.elementType=Ae,e.lanes=d,e;case Te:return Xi(o,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case we:p=10;break e;case fe:p=9;break e;case Pe:p=11;break e;case Fe:p=14;break e;case Re:p=16,l=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Wt(p,o,t,u),t.elementType=e,t.type=l,t.lanes=d,t}function Cr(e,t,o,l){return e=Wt(7,e,l,t),e.lanes=o,e}function Xi(e,t,o,l){return e=Wt(22,e,l,t),e.elementType=Te,e.lanes=o,e.stateNode={isHidden:!1},e}function Su(e,t,o){return e=Wt(6,e,null,t),e.lanes=o,e}function Eu(e,t,o){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Av(e,t,o,l,u){this.tag=t,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=Gl(0),this.expirationTimes=Gl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gl(0),this.identifierPrefix=l,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function ku(e,t,o,l,u,d,p,w,E){return e=new Av(e,t,o,w,E),t===1?(t=1,d===!0&&(t|=8)):t=0,d=Wt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ia(d),e}function Pv(e,t,o){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Y,key:l==null?null:""+l,children:e,containerInfo:t,implementation:o}}function Ah(e){if(!e)return $n;e=e._reactInternals;e:{if(pr(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ct(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var o=e.type;if(Ct(o))return rf(e,o,t)}return t}function Ph(e,t,o,l,u,d,p,w,E){return e=ku(o,l,!0,e,u,d,p,w,E),e.context=Ah(null),o=e.current,l=St(),u=Gn(o),d=bn(l,u),d.callback=t??null,qn(o,d,u),e.current.lanes=u,Hs(e,u,l),Ot(e,l),e}function Ji(e,t,o,l){var u=t.current,d=St(),p=Gn(u);return o=Ah(o),t.context===null?t.context=o:t.pendingContext=o,t=bn(d,p),t.payload={element:e},l=l===void 0?null:l,l!==null&&(t.callback=l),e=qn(u,t,p),e!==null&&(nn(e,u,p,d),Oi(e,u,p)),p}function Zi(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 jh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function _u(e,t){jh(e,t),(e=e.alternate)&&jh(e,t)}function jv(){return null}var Nh=typeof reportError=="function"?reportError:function(e){console.error(e)};function bu(e){this._internalRoot=e}el.prototype.render=bu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));Ji(e,t,null,null)},el.prototype.unmount=bu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;kr(function(){Ji(null,e,null,null)}),t[xn]=null}};function el(e){this._internalRoot=e}el.prototype.unstable_scheduleHydration=function(e){if(e){var t=md();e={blockedOn:null,target:e,priority:t};for(var o=0;o<Dn.length&&t!==0&&t<Dn[o].priority;o++);Dn.splice(o,0,e),o===0&&vd(e)}};function Cu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function tl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Lh(){}function Nv(e,t,o,l,u){if(u){if(typeof l=="function"){var d=l;l=function(){var j=Zi(p);d.call(j)}}var p=Ph(t,l,e,0,null,!1,!1,"",Lh);return e._reactRootContainer=p,e[xn]=p.current,ro(e.nodeType===8?e.parentNode:e),kr(),p}for(;u=e.lastChild;)e.removeChild(u);if(typeof l=="function"){var w=l;l=function(){var j=Zi(E);w.call(j)}}var E=ku(e,0,!1,null,null,!1,!1,"",Lh);return e._reactRootContainer=E,e[xn]=E.current,ro(e.nodeType===8?e.parentNode:e),kr(function(){Ji(t,E,o,l)}),E}function nl(e,t,o,l,u){var d=o._reactRootContainer;if(d){var p=d;if(typeof u=="function"){var w=u;u=function(){var E=Zi(p);w.call(E)}}Ji(t,p,e,u)}else p=Nv(o,t,e,u,l);return Zi(p)}hd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=$s(t.pendingLanes);o!==0&&(Yl(t,o|1),Ot(t,Ge()),(Ce&6)===0&&(hs=Ge()+500,Hn()))}break;case 13:kr(function(){var l=_n(e,1);if(l!==null){var u=St();nn(l,e,1,u)}}),_u(e,1)}},Xl=function(e){if(e.tag===13){var t=_n(e,134217728);if(t!==null){var o=St();nn(t,e,134217728,o)}_u(e,134217728)}},pd=function(e){if(e.tag===13){var t=Gn(e),o=_n(e,t);if(o!==null){var l=St();nn(o,e,t,l)}_u(e,t)}},md=function(){return Ne},yd=function(e,t){var o=Ne;try{return Ne=e,t()}finally{Ne=o}},Hl=function(e,t,o){switch(t){case"input":if(wn(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var l=o[t];
vendor: 4,168 bytes, line 40
40if(l!==e&&l.form===e.form){var u=wi(l);if(!u)throw Error(s(90));st(l),wn(l,u)}}}break;case"textarea":qc(e,o);break;case"select":t=o.value,t!=null&&Vr(e,!!o.multiple,t,!1)}},ed=gu,td=kr;var Lv={usingClientEntryPoint:!1,Events:[io,es,wi,Jc,Zc,gu]},So={findFiberByHostInstance:mr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Fv={bundleType:So.bundleType,version:So.version,rendererPackageName:So.rendererPackageName,rendererConfig:So.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=od(e),e===null?null:e.stateNode},findFiberByHostInstance:So.findFiberByHostInstance||jv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rl.isDisabled&&rl.supportsFiber)try{ei=rl.inject(Fv),an=rl}catch{}}return At.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lv,At.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Cu(t))throw Error(s(200));return Pv(e,t,null,o)},At.createRoot=function(e,t){if(!Cu(e))throw Error(s(299));var o=!1,l="",u=Nh;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=ku(e,1,!1,null,null,o,!1,l,u),e[xn]=t.current,ro(e.nodeType===8?e.parentNode:e),new bu(t)},At.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=od(t),e=e===null?null:e.stateNode,e},At.flushSync=function(e){return kr(e)},At.hydrate=function(e,t,o){if(!tl(t))throw Error(s(200));return nl(null,e,t,!0,o)},At.hydrateRoot=function(e,t,o){if(!Cu(e))throw Error(s(405));var l=o!=null&&o.hydratedSources||null,u=!1,d="",p=Nh;if(o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(p=o.onRecoverableError)),t=Ph(t,null,e,1,o??null,u,!1,d,p),e[xn]=t.current,ro(e),l)for(e=0;e<l.length;e++)o=l[e],u=o._getVersion,u=u(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,u]:t.mutableSourceEagerHydrationData.push(o,u);return new el(t)},At.render=function(e,t,o){if(!tl(t))throw Error(s(200));return nl(null,e,t,!1,o)},At.unmountComponentAtNode=function(e){if(!tl(e))throw Error(s(40));return e._reactRootContainer?(kr(function(){nl(null,null,e,!1,function(){e._reactRootContainer=null,e[xn]=null})}),!0):!1},At.unstable_batchedUpdates=gu,At.unstable_renderSubtreeIntoContainer=function(e,t,o,l){if(!tl(o))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return nl(e,t,o,!1,l)},At.version="18.3.1-next-f1338f8080-20240426",At}var Hh;function dm(){if(Hh)return Au.exports;Hh=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(n){console.error(n)}}return r(),Au.exports=qv(),Au.exports}var Vh;function Wv(){if(Vh)return ol;Vh=1;var r=dm();return ol.createRoot=r.createRoot,ol.hydrateRoot=r.hydrateRoot,ol}var Qv=Wv();const Kv=cm(Qv),Gv=20,Yv=1e6,Nn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Nu=0;function Xv(){return Nu=(Nu+1)%Number.MAX_VALUE,Nu.toString()}const Lu=new Map,qh=r=>{if(Lu.has(r))return;const n=setTimeout(()=>{Lu.delete(r),jo({type:Nn.REMOVE_TOAST,toastId:r})},Yv);Lu.set(r,n)},Jv=(r,n)=>{switch(n.type){case Nn.ADD_TOAST:return{...r,toasts:[n.toast,...r.toasts].slice(0,Gv)};case Nn.UPDATE_TOAST:return{...r,toasts:r.toasts.map(s=>s.id===n.toast.id?{...s,...n.toast}:s)};case Nn.DISMISS_TOAST:{const{toastId:s}=n;
40return s?qh(s):r.toasts.forEach(i=>{qh(i.id)}),{...r,toasts:r.toasts.map(i=>i.id===s||s===void 0?{...i,open:!1}:i)}}case Nn.REMOVE_TOAST:return n.toastId===void 0?{...r,toasts:[]}:{...r,toasts:r.toasts.filter(s=>s.id!==n.toastId)}}},fl=[];let hl={toasts:[]};function jo(r){hl=Jv(hl,r),fl.forEach(n=>{n(hl)})}function Zv({...r}){const n=Xv(),s=a=>jo({type:Nn.UPDATE_TOAST,toast:{...a,id:n}}),i=()=>jo({type:Nn.DISMISS_TOAST,toastId:n});return jo({type:Nn.ADD_TOAST,toast:{...r,id:n,open:!0,onOpenChange:a=>{a||i()}}}),{id:n,dismiss:i,update:s}}function e0(){const[r,n]=V.useState(hl);return V.useEffect(()=>(fl.push(n),()=>{const s=fl.indexOf(n);s>-1&&fl.splice(s,1)}),[r]),{...r,toast:Zv,dismiss:s=>jo({type:Nn.DISMISS_TOAST,toastId:s})}}function fm(r){var n,s,i="";if(typeof r=="string"||typeof r=="number")i+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(n=0;n<a;n++)r[n]&&(s=fm(r[n]))&&(i&&(i+=" "),i+=s)}else for(s in r)r[s]&&(i&&(i+=" "),i+=s);return i}function hm(){for(var r,n,s=0,i="",a=arguments.length;s<a;s++)(r=arguments[s])&&(n=fm(r))&&(i&&(i+=" "),i+=n);return i}const Wh=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,Qh=hm,t0=(r,n)=>s=>{var i;if((n==null?void 0:n.variants)==null)return Qh(r,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:a,defaultVariants:c}=n,f=Object.keys(a).map(g=>{const v=s==null?void 0:s[g],S=c==null?void 0:c[g];if(v===null)return null;const A=Wh(v)||Wh(S);return a[g][A]}),h=s&&Object.entries(s).reduce((g,v)=>{let[S,A]=v;return A===void 0||(g[S]=A),g},{}),m=n==null||(i=n.compoundVariants)===null||i===void 0?void 0:i.reduce((g,v)=>{let{class:S,className:A,...F}=v;return Object.entries(F).every(I=>{let[b,x]=I;return Array.isArray(x)?x.includes({...c,...h}[b]):{...c,...h}[b]===x})?[...g,S,A]:g},[]);return Qh(r,f,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 n0=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),pm=(...r)=>r.filter((n,s,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===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 r0={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 s0=V.forwardRef(({color:r="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:a="",children:c,iconNode:f,...h},m)=>V.createElement("svg",{ref:m,...r0,width:n,height:n,stroke:r,strokeWidth:i?Number(s)*24/Number(n):s,className:pm("lucide",a),...h},[...f.map(([g,v])=>V.createElement(g,v)),...Array.isArray(c)?c:[c]]));/**
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 o0=(r,n)=>{const s=V.forwardRef(({className:i,...a},c)=>V.createElement(s0,{ref:c,iconNode:n,className:pm(`lucide-${n0(r)}`,i),...a}));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 i0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],l0=o0("X",i0),a0=(r,n)=>{const s=new Array(r.length+n.length);for(let i=0;i<r.length;i++)s[i]=r[i];for(let i=0;i<n.length;i++)s[r.length+i]=n[i];return s},u0=(r,n)=>({classGroupId:r,validator:n}),mm=(r=new Map,n=null,s)=>({nextPart:r,validators:n,classGroupId:s}),Sl="-",Kh=[],c0="arbitrary..",d0=r=>{const n=h0(r),{conflictingClassGroups:s,conflictingClassGroupModifiers:i}=r;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return f0(f);const h=f.split(Sl),m=h[0]===""&&h.length>1?1:0;return ym(h,m,n)},getConflictingClassGroupIds:(f,h)=>
vendor: 7,813 bytes, line 65
65{if(h){const m=i[f],g=s[f];return m?g?a0(g,m):m:g||Kh}return s[f]||Kh}}},ym=(r,n,s)=>{if(r.length-n===0)return s.classGroupId;const a=r[n],c=s.nextPart.get(a);if(c){const g=ym(r,n+1,c);if(g)return g}const f=s.validators;if(f===null)return;const h=n===0?r.join(Sl):r.slice(n).join(Sl),m=f.length;for(let g=0;g<m;g++){const v=f[g];if(v.validator(h))return v.classGroupId}},f0=r=>r.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=r.slice(1,-1),s=n.indexOf(":"),i=n.slice(0,s);return i?c0+i:void 0})(),h0=r=>{const{theme:n,classGroups:s}=r;return p0(s,n)},p0=(r,n)=>{const s=mm();for(const i in r){const a=r[i];kc(a,s,i,n)}return s},kc=(r,n,s,i)=>{const a=r.length;for(let c=0;c<a;c++){const f=r[c];m0(f,n,s,i)}},m0=(r,n,s,i)=>{if(typeof r=="string"){y0(r,n,s);return}if(typeof r=="function"){g0(r,n,s,i);return}v0(r,n,s,i)},y0=(r,n,s)=>{const i=r===""?n:gm(n,r);i.classGroupId=s},g0=(r,n,s,i)=>{if(w0(r)){kc(r(i),n,s,i);return}n.validators===null&&(n.validators=[]),n.validators.push(u0(s,r))},v0=(r,n,s,i)=>{const a=Object.entries(r),c=a.length;for(let f=0;f<c;f++){const[h,m]=a[f];kc(m,gm(n,h),s,i)}},gm=(r,n)=>{let s=r;const i=n.split(Sl),a=i.length;for(let c=0;c<a;c++){const f=i[c];let h=s.nextPart.get(f);h||(h=mm(),s.nextPart.set(f,h)),s=h}return s},w0=r=>"isThemeGetter"in r&&r.isThemeGetter===!0,x0=r=>{if(r<1)return{get:()=>{},set:()=>{}};let n=0,s=Object.create(null),i=Object.create(null);const a=(c,f)=>{s[c]=f,n++,n>r&&(n=0,i=s,s=Object.create(null))};return{get(c){let f=s[c];if(f!==void 0)return f;if((f=i[c])!==void 0)return a(c,f),f},set(c,f){c in s?s[c]=f:a(c,f)}}},Wu="!",Gh=":",S0=[],Yh=(r,n,s,i,a)=>({modifiers:r,hasImportantModifier:n,baseClassName:s,maybePostfixModifierPosition:i,isExternal:a}),E0=r=>{const{prefix:n,experimentalParseClassName:s}=r;let i=a=>{const c=[];let f=0,h=0,m=0,g;const v=a.length;for(let b=0;b<v;b++){const x=a[b];if(f===0&&h===0){if(x===Gh){c.push(a.slice(m,b)),m=b+1;continue}if(x==="/"){g=b;continue}}x==="["?f++:x==="]"?f--:x==="("?h++:x===")"&&h--}const S=c.length===0?a:a.slice(m);let A=S,F=!1;S.endsWith(Wu)?(A=S.slice(0,-1),F=!0):S.startsWith(Wu)&&(A=S.slice(1),F=!0);const I=g&&g>m?g-m:void 0;return Yh(c,F,A,I)};if(n){const a=n+Gh,c=i;i=f=>f.startsWith(a)?c(f.slice(a.length)):Yh(S0,!1,f,void 0,!0)}if(s){const a=i;i=c=>s({className:c,parseClassName:a})}return i},k0=r=>{const n=new Map;return r.orderSensitiveModifiers.forEach((s,i)=>{n.set(s,1e6+i)}),s=>{const i=[];let a=[];for(let c=0;c<s.length;c++){const f=s[c],h=f[0]==="[",m=n.has(f);h||m?(a.length>0&&(a.sort(),i.push(...a),a=[]),i.push(f)):a.push(f)}return a.length>0&&(a.sort(),i.push(...a)),i}},_0=r=>({cache:x0(r.cacheSize),parseClassName:E0(r),sortModifiers:k0(r),...d0(r)}),b0=/\s+/,C0=(r,n)=>{const{parseClassName:s,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:c}=n,f=[],h=r.trim().split(b0);let m="";for(let g=h.length-1;g>=0;g-=1){const v=h[g],{isExternal:S,modifiers:A,hasImportantModifier:F,baseClassName:I,maybePostfixModifierPosition:b}=s(v);if(S){m=v+(m.length>0?" "+m:m);continue}let x=!!b,R=i(x?I.substring(0,b):I);if(!R){if(!x){m=v+(m.length>0?" "+m:m);continue}if(R=i(I),!R){m=v+(m.length>0?" "+m:m);continue}x=!1}const U=A.length===0?"":A.length===1?A[0]:c(A).join(":"),L=F?U+Wu:U,N=L+R;if(f.indexOf(N)>-1)continue;f.push(N);const W=a(R,x);for(let Y=0;Y<W.length;++Y){const he=W[Y];f.push(L+he)}m=v+(m.length>0?" "+m:m)}return m},R0=(...r)=>{let n=0,s,i,a="";for(;n<r.length;)(s=r[n++])&&(i=vm(s))&&(a&&(a+=" "),a+=i);return a},vm=r=>{if(typeof r=="string")return r;let n,s="";for(let i=0;i<r.length;i++)r[i]&&(n=vm(r[i]))&&(s&&(s+=" "),s+=n);return s},T0=(r,...n)=>{let s,i,a,c;const f=m=>{const g=n.reduce((v,S)=>S(v),r());return s=_0(g),i=s.cache.get,a=s.cache.set,c=h,h(m)},h=m=>{const g=i(m);if(g)return g;const v=C0(m,s);return a(m,v),v};return c=f,(...m)=>c(R0(...m))},O0=[],rt=r=>{const n=s=>s[r]||O0;return n.isThemeGetter=!0,n},wm=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,xm=/^\((?:(\w[\w-]*):)?(.+)\)$/i,A0=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,P0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j0=/\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$/,N0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,L0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,F0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Zn=r=>A0.test(r),xe=r=>!!r&&!Number.isNaN(Number(r)),er=r=>!!r&&Number.isInteger(Number(r)),Fu=r=>r.endsWith("%")&&xe(r.slice(0,-1)),Tn=r=>P0.test(r),Sm=()=>!0,I0=r=>j0.test(r)&&!N0.test(r),_c=()=>!1,D0=r=>L0.test(r),U0=r=>F0.test(r),z0=r=>!ee(r)&&!te(r),M0=r=>hr(r,_m,_c),ee=r=>wm.test(r),Rr=r=>hr(r,bm,I0),Xh=r=>hr(r,K0,xe),B0=r=>hr(r,Rm,Sm),$0=r=>hr(r,Cm,_c),Jh=r=>hr(r,Em,_c),H0=r=>hr(r,km,U0),il=r=>hr(r,Tm,D0),te=r=>xm.test(r),ko=r=>Hr(r,bm),V0=r=>Hr(r,Cm),Zh=r=>Hr(r,Em),q0=r=>Hr(r,_m),W0=r=>Hr(r,km),ll=r=>Hr(r,Tm,!0),Q0=r=>Hr(r,Rm,!0),hr=(r,n,s)=>{const i=wm.exec(r);return i?i[1]?n(i[1]):s(i[2]):!1},Hr=(r,n,s=!1)=>{const i=xm.exec(r);return i?i[1]?n(i[1]):s:!1},Em=r=>r==="position"||r==="percentage",km=r=>r==="image"||r==="url",_m=r=>r==="length"||r==="size"||r==="bg-size",bm=r=>r==="length",K0=r=>r==="number",Cm=r=>r==="family-name",Rm=r=>r==="number"||r==="weight",Tm=r=>r==="shadow",G0=()=>{const r=rt("color"),n=rt("font"),s=rt("text"),i=rt("font-weight"),a=rt("tracking"),c=rt("leading"),f=rt("breakpoint"),h=rt("container"),m=rt("spacing"),g=rt("radius"),v=rt("shadow"),S=rt("inset-shadow"),A=rt("text-shadow"),F=rt("drop-shadow"),I=rt("blur"),b=rt("perspective"),x=rt("aspect"),R=rt("ease"),U=rt("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],W=()=>[...N(),te,ee],Y=()=>["auto","hidden","clip","visible","scroll"],he=()=>["auto","contain","none"],M=()=>[te,ee,m],de=()=>[Zn,"full","auto",...M()],we=()=>[er,"none","subgrid",te,ee],fe=()=>["auto",{span:["full",er,te,ee]},er,te,ee],Pe=()=>[er,"auto",te,ee],We=()=>["auto","min","max","fr",te,ee],Ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Fe=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...M()],Te=()=>[Zn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],Q=()=>[Zn,"screen","full","dvw","lvw","svw","min","max","fit",...M()],ie=()=>[Zn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],D=()=>[r,te,ee],C=()=>[...N(),Zh,Jh,{position:[te,ee]}],z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ge=()=>["auto","cover","contain",q0,M0,{size:[te,ee]}],X=()=>[Fu,ko,Rr],oe=()=>["","none","full",g,te,ee],ce=()=>["",xe,ko,Rr],be=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[xe,Fu,Zh,Jh],Ie=()=>["","none",I,te,ee],pe=()=>["none",xe,te,ee],st=()=>["none",xe,te,ee],wt=()=>[xe,te,ee],It=()=>[Zn,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Tn],breakpoint:[Tn],color:[Sm],container:[Tn],"drop-shadow":[Tn],ease:["in","out","in-out"],font:[z0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Tn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Tn],shadow:[Tn],spacing:["px",xe],text:[Tn],"text-shadow":[Tn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Zn,ee,te,x]}
vendor: 6,148 bytes, line 65
65],container:["container"],columns:[{columns:[xe,ee,te,h]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:W()}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:he()}],"overscroll-x":[{"overscroll-x":he()}],"overscroll-y":[{"overscroll-y":he()}],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:[er,"auto",te,ee]}],basis:[{basis:[Zn,"full","auto",h,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xe,Zn,"auto","initial","none",ee]}],grow:[{grow:["",xe,te,ee]}],shrink:[{shrink:["",xe,te,ee]}],order:[{order:[er,"first","last","none",te,ee]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:fe()}],"col-start":[{"col-start":Pe()}],"col-end":[{"col-end":Pe()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:fe()}],"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":We()}],"auto-rows":[{"auto-rows":We()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...Ae(),"normal"]}],"justify-items":[{"justify-items":[...Fe(),"normal"]}],"justify-self":[{"justify-self":["auto",...Fe()]}],"align-content":[{content:["normal",...Ae()]}],"align-items":[{items:[...Fe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Fe(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ae()}],"place-items":[{"place-items":[...Fe(),"baseline"]}],"place-self":[{"place-self":["auto",...Fe()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m: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":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:Te()}],"inline-size":[{inline:["auto",...Q()]}],"min-inline-size":[{"min-inline":["auto",...Q()]}],"max-inline-size":[{"max-inline":["none",...Q()]}],"block-size":[{block:["auto",...ie()]}],"min-block-size":[{"min-block":["auto",...ie()]}],"max-block-size":[{"max-block":["none",...ie()]}],w:[{w:[h,"screen",...Te()]}],"min-w":[{"min-w":[h,"screen","none",...Te()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[f]},...Te()]}],h:[{h:["screen","lh",...Te()]}],"min-h":[{"min-h":["screen","lh","none",...Te()]}],"max-h":[{"max-h":["screen","lh",...Te()]}],"font-size":[{text:["base",s,ko,Rr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Q0,B0]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Fu,ee]}],"font-family":[{font:[V0,$0,n]}],"font-features":[{"font-features":[ee]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,te,ee]}],"line-clamp":[{"line-clamp":[xe,"none",te,Xh]}],leading:[{leading:[c,...M()]}],"list-image":[{"list-image":["none",te,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",te,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...be(),"wavy"]}],"text-decoration-thickness":[{decoration:[xe,"from-font","auto",te,Rr]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[xe,"auto",te,ee]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te,ee]}],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",te,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:C()}],"bg-repeat":[{bg:z()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},er,te,ee],radial:["",te,ee],conic:[er,te,ee]},W0,H0]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:X()}
65],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-bs":[{"border-bs":ce()}],"border-w-be":[{"border-be":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...be(),"hidden","none"]}],"divide-style":[{divide:[...be(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}
vendor: 5,257 bytes, line 65
65],"divide-color":[{divide:D()}],"outline-style":[{outline:[...be(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xe,te,ee]}],"outline-w":[{outline:["",xe,ko,Rr]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",v,ll,il]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",S,ll,il]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[xe,Rr]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",A,ll,il]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[xe,te,ee]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"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":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[te,ee]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":N()}],"mask-image-conic-pos":[{"mask-conic":[xe]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:C()}],"mask-repeat":[{mask:z()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",te,ee]}],filter:[{filter:["","none",te,ee]}],blur:[{blur:Ie()}],brightness:[{brightness:[xe,te,ee]}],contrast:[{contrast:[xe,te,ee]}],"drop-shadow":[{"drop-shadow":["","none",F,ll,il]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",xe,te,ee]}],"hue-rotate":[{"hue-rotate":[xe,te,ee]}],invert:[{invert:["",xe,te,ee]}],saturate:[{saturate:[xe,te,ee]}],sepia:[{sepia:["",xe,te,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",te,ee]}],"backdrop-blur":[{"backdrop-blur":Ie()}],"backdrop-brightness":[{"backdrop-brightness":[xe,te,ee]}],"backdrop-contrast":[{"backdrop-contrast":[xe,te,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xe,te,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xe,te,ee]}],"backdrop-invert":[{"backdrop-invert":["",xe,te,ee]}],"backdrop-opacity":[{"backdrop-opacity":[xe,te,ee]}],"backdrop-saturate":[{"backdrop-saturate":[xe,te,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",xe,te,ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",te,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xe,"initial",te,ee]}],ease:[{ease:["linear","initial",R,te,ee]}],delay:[{delay:[xe,te,ee]}],animate:[{animate:["none",U,te,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,te,ee]}],"perspective-origin":[{"perspective-origin":W()}],rotate:[{rotate:pe()}],"rotate-x":[{"rotate-x":pe()}],"rotate-y":[{"rotate-y":pe()}],"rotate-z":[{"rotate-z":pe()}],scale:[{scale:st()}],"scale-x":[{"scale-x":st()}],"scale-y":[{"scale-y":st()}],"scale-z":[{"scale-z":st()}
vendor: 7,454 bytes, line 65
65],"scale-3d":["scale-3d"],skew:[{skew:wt()}],"skew-x":[{"skew-x":wt()}],"skew-y":[{"skew-y":wt()}],transform:[{transform:[te,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:W()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:It()}],"translate-x":[{"translate-x":It()}],"translate-y":[{"translate-y":It()}],"translate-z":[{"translate-z":It()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",te,ee]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te,ee]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[xe,ko,Rr,Xh]}],stroke:[{stroke:["none",...D()]}],"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"]}},Y0=T0(G0);function Bo(...r){return Y0(hm(r))}const Om=V.forwardRef(({...r},n)=>y.jsx("div",{ref:n,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}));Om.displayName="ToastProvider";const Am=V.forwardRef(({...r},n)=>y.jsx("div",{ref:n,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}));Am.displayName="ToastViewport";const X0=t0("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"}}),Pm=V.forwardRef(({className:r,variant:n,...s},i)=>y.jsx("div",{ref:i,className:Bo(X0({variant:n}),r),...s}));Pm.displayName="Toast";const J0=V.forwardRef(({className:r,...n},s)=>y.jsx("div",{ref:s,className:Bo("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),...n}));J0.displayName="ToastAction";const jm=V.forwardRef(({className:r,...n},s)=>y.jsx("button",{ref:s,className:Bo("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 4,844 bytes, line 65
65/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":"",...n,children:y.jsx(l0,{className:"h-4 w-4"})}));jm.displayName="ToastClose";const Nm=V.forwardRef(({className:r,...n},s)=>y.jsx("div",{ref:s,className:Bo("text-sm font-semibold",r),...n}));Nm.displayName="ToastTitle";const Lm=V.forwardRef(({className:r,...n},s)=>y.jsx("div",{ref:s,className:Bo("text-sm opacity-90",r),...n}));Lm.displayName="ToastDescription";function Z0(){const{toasts:r}=e0();return y.jsxs(Om,{children:[r.map(function({id:n,title:s,description:i,action:a,...c}){return y.jsxs(Pm,{...c,children:[y.jsxs("div",{className:"grid gap-1",children:[s&&y.jsx(Nm,{children:s}),i&&y.jsx(Lm,{children:i})]}),a,y.jsx(jm,{})]},n)}),y.jsx(Am,{})]})}var $o=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(){}},ew={setTimeout:(r,n)=>setTimeout(r,n),clearTimeout:r=>clearTimeout(r),setInterval:(r,n)=>setInterval(r,n),clearInterval:r=>clearInterval(r)},nr,Sc,em,tw=(em=class{constructor(){ue(this,nr,ew);ue(this,Sc,!1)}setTimeoutProvider(r){G(this,nr,r)}setTimeout(r,n){return k(this,nr).setTimeout(r,n)}clearTimeout(r){k(this,nr).clearTimeout(r)}setInterval(r,n){return k(this,nr).setInterval(r,n)}clearInterval(r){k(this,nr).clearInterval(r)}},nr=new WeakMap,Sc=new WeakMap,em),Tr=new tw;function nw(r){setTimeout(r,0)}var Mr=typeof window>"u"||"Deno"in globalThis;function Nt(){}function rw(r,n){return typeof r=="function"?r(n):r}function Qu(r){return typeof r=="number"&&r>=0&&r!==1/0}function Fm(r,n){return Math.max(r+(n||0)-Date.now(),0)}function dr(r,n){return typeof r=="function"?r(n):r}function Kt(r,n){return typeof r=="function"?r(n):r}function ep(r,n){const{type:s="all",exact:i,fetchStatus:a,predicate:c,queryKey:f,stale:h}=r;if(f){if(i){if(n.queryHash!==bc(f,n.options))return!1}else if(!Fo(n.queryKey,f))return!1}if(s!=="all"){const m=n.isActive();if(s==="active"&&!m||s==="inactive"&&m)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||a&&a!==n.state.fetchStatus||c&&!c(n))}function tp(r,n){const{exact:s,status:i,predicate:a,mutationKey:c}=r;if(c){if(!n.options.mutationKey)return!1;if(s){if(Lo(n.options.mutationKey)!==Lo(c))return!1}else if(!Fo(n.options.mutationKey,c))return!1}return!(i&&n.state.status!==i||a&&!a(n))}function bc(r,n){return((n==null?void 0:n.queryKeyHashFn)||Lo)(r)}function Lo(r){return JSON.stringify(r,(n,s)=>Gu(s)?Object.keys(s).sort().reduce((i,a)=>(i[a]=s[a],i),{}):s)}function Fo(r,n){return r===n?!0:typeof r!=typeof n?!1:r&&n&&typeof r=="object"&&typeof n=="object"?Object.keys(n).every(s=>Fo(r[s],n[s])):!1}var sw=Object.prototype.hasOwnProperty;function Im(r,n,s=0){if(r===n)return r;if(s>500)return n;const i=np(r)&&np(n);if(!i&&!(Gu(r)&&Gu(n)))return n;const c=(i?r:Object.keys(r)).length,f=i?n:Object.keys(n),h=f.length,m=i?new Array(h):{};let g=0;for(let v=0;v<h;v++){const S=i?v:f[v],A=r[S],F=n[S];if(A===F){m[S]=A,(i?v<c:sw.call(r,S))&&g++;continue}if(A===null||F===null||typeof A!="object"||typeof F!="object"){m[S]=F;continue}const I=Im(A,F,s+1);m[S]=I,I===A&&g++}return c===h&&g===c?r:m}function Ku(r,n){if(!n||Object.keys(r).length!==Object.keys(n).length)return!1;for(const s in r)if(r[s]!==n[s])return!1;return!0}function np(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function Gu(r){if(!rp(r))return!1;const n=r.constructor;if(n===void 0)return!0;const s=n.prototype;return!(!rp(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(r)!==Object.prototype)}function rp(r){return Object.prototype.toString.call(r)==="[object Object]"}function ow(r){return new Promise(n=>{Tr.setTimeout(n,r)})}function Yu(r,n,s){return typeof s.structuralSharing=="function"?s.structuralSharing(r,n):s.structuralSharing!==!1?Im(r,n):n}function iw(r,n,s=0){const i=[...r,n];return s&&i.length>s?i.slice(1):i}function lw(r,n,s=0){const i=[n,...r];return s&&i.length>s?i.slice(0,-1):i}var Cc=Symbol();function Dm(r,n){return!r.queryFn&&(n!=null&&n.initialPromise)?()=>n.initialPromise:!r.queryFn||r.queryFn===Cc?()=>Promise.reject(new Error(`Missing queryFn: '${r.queryHash}'`)):r.queryFn}function Um(r,n){return typeof r=="function"?r(...n):!!r}function aw(r,n,s){let i=!1,a;return Object.defineProperty(r,"signal",{enumerable:!0,get:()=>(a??(a=n()),i||(i=!0,a.aborted?s():a.addEventListener("abort",s,{once:!0})),a)}),r}var Ar,rr,ws,tm,uw=(tm=class extends $o{constructor(){super();ue(this,Ar);ue(this,rr);ue(this,ws);G(this,ws,n=>
vendor: 5,161 bytes, line 65
65{if(!Mr&&window.addEventListener){const s=()=>n();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){k(this,rr)||this.setEventListener(k(this,ws))}onUnsubscribe(){var n;this.hasListeners()||((n=k(this,rr))==null||n.call(this),G(this,rr,void 0))}setEventListener(n){var s;G(this,ws,n),(s=k(this,rr))==null||s.call(this),G(this,rr,n(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(n){k(this,Ar)!==n&&(G(this,Ar,n),this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(s=>{s(n)})}isFocused(){var n;return typeof k(this,Ar)=="boolean"?k(this,Ar):((n=globalThis.document)==null?void 0:n.visibilityState)!=="hidden"}},Ar=new WeakMap,rr=new WeakMap,ws=new WeakMap,tm),Rc=new uw;function Xu(){let r,n;const s=new Promise((a,c)=>{r=a,n=c});s.status="pending",s.catch(()=>{});function i(a){Object.assign(s,a),delete s.resolve,delete s.reject}return s.resolve=a=>{i({status:"fulfilled",value:a}),r(a)},s.reject=a=>{i({status:"rejected",reason:a}),n(a)},s}var cw=nw;function dw(){let r=[],n=0,s=h=>{h()},i=h=>{h()},a=cw;const c=h=>{n?r.push(h):a(()=>{s(h)})},f=()=>{const h=r;r=[],h.length&&a(()=>{i(()=>{h.forEach(m=>{s(m)})})})};return{batch:h=>{let m;n++;try{m=h()}finally{n--,n||f()}return m},batchCalls:h=>(...m)=>{c(()=>{h(...m)})},schedule:c,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{a=h}}}var ft=dw(),xs,sr,Ss,nm,fw=(nm=class extends $o{constructor(){super();ue(this,xs,!0);ue(this,sr);ue(this,Ss);G(this,Ss,n=>{if(!Mr&&window.addEventListener){const s=()=>n(!0),i=()=>n(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",i)}}})}onSubscribe(){k(this,sr)||this.setEventListener(k(this,Ss))}onUnsubscribe(){var n;this.hasListeners()||((n=k(this,sr))==null||n.call(this),G(this,sr,void 0))}setEventListener(n){var s;G(this,Ss,n),(s=k(this,sr))==null||s.call(this),G(this,sr,n(this.setOnline.bind(this)))}setOnline(n){k(this,xs)!==n&&(G(this,xs,n),this.listeners.forEach(i=>{i(n)}))}isOnline(){return k(this,xs)}},xs=new WeakMap,sr=new WeakMap,Ss=new WeakMap,nm),El=new fw;function hw(r){return Math.min(1e3*2**r,3e4)}function zm(r){return(r??"online")==="online"?El.isOnline():!0}var Ju=class extends Error{constructor(r){super("CancelledError"),this.revert=r==null?void 0:r.revert,this.silent=r==null?void 0:r.silent}};function Mm(r){let n=!1,s=0,i;const a=Xu(),c=()=>a.status!=="pending",f=b=>{var x;if(!c()){const R=new Ju(b);A(R),(x=r.onCancel)==null||x.call(r,R)}},h=()=>{n=!0},m=()=>{n=!1},g=()=>Rc.isFocused()&&(r.networkMode==="always"||El.isOnline())&&r.canRun(),v=()=>zm(r.networkMode)&&r.canRun(),S=b=>{c()||(i==null||i(),a.resolve(b))},A=b=>{c()||(i==null||i(),a.reject(b))},F=()=>new Promise(b=>{var x;i=R=>{(c()||g())&&b(R)},(x=r.onPause)==null||x.call(r)}).then(()=>{var b;i=void 0,c()||(b=r.onContinue)==null||b.call(r)}),I=()=>{if(c())return;let b;const x=s===0?r.initialPromise:void 0;try{b=x??r.fn()}catch(R){b=Promise.reject(R)}Promise.resolve(b).then(S).catch(R=>{var Y;if(c())return;const U=r.retry??(Mr?0:3),L=r.retryDelay??hw,N=typeof L=="function"?L(s,R):L,W=U===!0||typeof U=="number"&&s<U||typeof U=="function"&&U(s,R);if(n||!W){A(R);return}s++,(Y=r.onFail)==null||Y.call(r,s,R),ow(N).then(()=>g()?void 0:F()).then(()=>{n?A(R):I()})})};return{promise:a,status:()=>a.status,cancel:f,continue:()=>(i==null||i(),a),cancelRetry:h,continueRetry:m,canStart:v,start:()=>(v()?I():F().then(I),a)}}var Pr,rm,Bm=(rm=class{constructor(){ue(this,Pr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Qu(this.gcTime)&&G(this,Pr,Tr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(r){this.gcTime=Math.max(this.gcTime||0,r??(Mr?1/0:300*1e3))}clearGcTimeout(){k(this,Pr)&&(Tr.clearTimeout(k(this,Pr)),G(this,Pr,void 0))}},Pr=new WeakMap,rm),jr,Es,Qt,Nr,at,Io,Lr,rn,An,sm,pw=(sm=class extends Bm{constructor(n){super();ue(this,rn);ue(this,jr);ue(this,Es);ue(this,Qt);ue(this,Nr);ue(this,at);ue(this,Io);ue(this,Lr);G(this,Lr,!1),G(this,Io,n.defaultOptions),this.setOptions(n.options),this.observers=[],G(this,Nr,n.client),G(this,Qt,k(this,Nr).getQueryCache()),this.queryKey=n.queryKey,this.queryHash=n.queryHash,G(this,jr,op(this.options)),this.state=n.state??k(this,jr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var n;return(n=k(this,at))==null?void 0:n.promise}setOptions(n){if(this.options={...k(this,Io),...n},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=op(this.options);s.data!==void 0&&(this.setState(sp(s.data,s.dataUpdatedAt)),G(this,jr,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,Qt).remove(this)}setData(n,s){const i=Yu(this.state.data,n,this.options);return Ee(this,rn,An).call(this,{data:i,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),i}setState(n,s){Ee(this,rn,An).call(this,{type:"setState",state:n,setStateOptions:s})}cancel(n){var i,a;const s=(i=k(this,at))==null?void 0:i.promise;
65return(a=k(this,at))==null||a.cancel(n),s?s.then(Nt).catch(Nt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,jr))}isActive(){return this.observers.some(n=>Kt(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Cc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>dr(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!Fm(this.state.dataUpdatedAt,n)}onFocus(){var s;const n=this.observers.find(i=>i.shouldFetchOnWindowFocus());n==null||n.refetch({cancelRefetch:!1}),(s=k(this,at))==null||s.continue()}onOnline(){var s;const n=this.observers.find(i=>i.shouldFetchOnReconnect());n==null||n.refetch({cancelRefetch:!1}),(s=k(this,at))==null||s.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),k(this,Qt).notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(s=>s!==n),this.observers.length||(k(this,at)&&(k(this,Lr)?k(this,at).cancel({revert:!0}):k(this,at).cancelRetry()),this.scheduleGc()),k(this,Qt).notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ee(this,rn,An).call(this,{type:"invalidate"})}async fetch(n,s){var m,g,v,S,A,F,I,b,x,R,U,L;if(this.state.fetchStatus!=="idle"&&((m=k(this,at))==null?void 0:m.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(k(this,at))return k(this,at).continueRetry(),k(this,at).promise}if(n&&this.setOptions(n),!this.options.queryFn){const N=this.observers.find(W=>W.options.queryFn);N&&this.setOptions(N.options)}const i=new AbortController,a=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(G(this,Lr,!0),i.signal)})},c=()=>{const N=Dm(this.options,s),Y=(()=>{const he={client:k(this,Nr),queryKey:this.queryKey,meta:this.meta};return a(he),he})();return G(this,Lr,!1),this.options.persister?this.options.persister(N,Y,this):N(Y)},h=(()=>{const N={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:k(this,Nr),state:this.state,fetchFn:c};return a(N),N})();(g=this.options.behavior)==null||g.onFetch(h,this),G(this,Es,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=h.fetchOptions)==null?void 0:v.meta))&&Ee(this,rn,An).call(this,{type:"fetch",meta:(S=h.fetchOptions)==null?void 0:S.meta}),G(this,at,Mm({initialPromise:s==null?void 0:s.initialPromise,fn:h.fetchFn,onCancel:N=>{N instanceof Ju&&N.revert&&this.setState({...k(this,Es),fetchStatus:"idle"}),i.abort()},onFail:(N,W)=>{Ee(this,rn,An).call(this,{type:"failed",failureCount:N,error:W})},onPause:()=>{Ee(this,rn,An).call(this,{type:"pause"})},onContinue:()=>{Ee(this,rn,An).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const N=await k(this,at).start();if(N===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(N),(F=(A=k(this,Qt).config).onSuccess)==null||F.call(A,N,this),(b=(I=k(this,Qt).config).onSettled)==null||b.call(I,N,this.state.error,this),N}catch(N){if(N instanceof Ju){if(N.silent)return k(this,at).promise;if(N.revert){if(this.state.data===void 0)throw N;return this.state.data}}throw Ee(this,rn,An).call(this,{type:"error",error:N}),(R=(x=k(this,Qt).config).onError)==null||R.call(x,N,this),(L=(U=k(this,Qt).config).onSettled)==null||L.call(U,this.state.data,N,this),N}finally{this.scheduleGc()}}},jr=new WeakMap,Es=new WeakMap,Qt=new WeakMap,Nr=new WeakMap,at=new WeakMap,Io=new WeakMap,Lr=new WeakMap,rn=new WeakSet,An=function(n){const s=i=>{switch(n.type){case"failed":return{...i,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...$m(i.data,this.options),fetchMeta:n.meta??null};case"success":const a={...i,...sp(n.data,n.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return G(this,Es,n.manual?a:void 0),a;case"error":const c=n.error;
vendor: 12,938 bytes, line 65
65return{...i,error:c,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...n.state}}};this.state=s(this.state),ft.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),k(this,Qt).notify({query:this,type:"updated",action:n})})},sm);function $m(r,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:zm(n.networkMode)?"fetching":"paused",...r===void 0&&{error:null,status:"pending"}}}function sp(r,n){return{data:r,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function op(r){const n=typeof r.initialData=="function"?r.initialData():r.initialData,s=n!==void 0,i=s?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:n,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 jt,ke,Do,kt,Fr,ks,Pn,or,Uo,_s,bs,Ir,Dr,ir,Cs,je,Ro,Zu,ec,tc,nc,rc,sc,oc,Hm,om,mw=(om=class extends $o{constructor(n,s){super();ue(this,je);ue(this,jt);ue(this,ke);ue(this,Do);ue(this,kt);ue(this,Fr);ue(this,ks);ue(this,Pn);ue(this,or);ue(this,Uo);ue(this,_s);ue(this,bs);ue(this,Ir);ue(this,Dr);ue(this,ir);ue(this,Cs,new Set);this.options=s,G(this,jt,n),G(this,or,null),G(this,Pn,Xu()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(k(this,ke).addObserver(this),ip(k(this,ke),this.options)?Ee(this,je,Ro).call(this):this.updateResult(),Ee(this,je,nc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ic(k(this,ke),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ic(k(this,ke),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ee(this,je,rc).call(this),Ee(this,je,sc).call(this),k(this,ke).removeObserver(this)}setOptions(n){const s=this.options,i=k(this,ke);if(this.options=k(this,jt).defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Kt(this.options.enabled,k(this,ke))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ee(this,je,oc).call(this),k(this,ke).setOptions(this.options),s._defaulted&&!Ku(this.options,s)&&k(this,jt).getQueryCache().notify({type:"observerOptionsUpdated",query:k(this,ke),observer:this});const a=this.hasListeners();a&&lp(k(this,ke),i,this.options,s)&&Ee(this,je,Ro).call(this),this.updateResult(),a&&(k(this,ke)!==i||Kt(this.options.enabled,k(this,ke))!==Kt(s.enabled,k(this,ke))||dr(this.options.staleTime,k(this,ke))!==dr(s.staleTime,k(this,ke)))&&Ee(this,je,Zu).call(this);const c=Ee(this,je,ec).call(this);a&&(k(this,ke)!==i||Kt(this.options.enabled,k(this,ke))!==Kt(s.enabled,k(this,ke))||c!==k(this,ir))&&Ee(this,je,tc).call(this,c)}getOptimisticResult(n){const s=k(this,jt).getQueryCache().build(k(this,jt),n),i=this.createResult(s,n);return gw(this,i)&&(G(this,kt,i),G(this,ks,this.options),G(this,Fr,k(this,ke).state)),i}getCurrentResult(){return k(this,kt)}trackResult(n,s){return new Proxy(n,{get:(i,a)=>(this.trackProp(a),s==null||s(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&k(this,Pn).status==="pending"&&k(this,Pn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,a))})}trackProp(n){k(this,Cs).add(n)}getCurrentQuery(){return k(this,ke)}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const s=k(this,jt).defaultQueryOptions(n),i=k(this,jt).getQueryCache().build(k(this,jt),s);return i.fetch().then(()=>this.createResult(i,s))}fetch(n){return Ee(this,je,Ro).call(this,{...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),k(this,kt)))}createResult(n,s){var de;const i=k(this,ke),a=this.options,c=k(this,kt),f=k(this,Fr),h=k(this,ks),g=n!==i?n.state:k(this,Do),{state:v}=n;let S={...v},A=!1,F;if(s._optimisticResults){const we=this.hasListeners(),fe=!we&&ip(n,s),Pe=we&&lp(n,i,s,a);(fe||Pe)&&(S={...S,...$m(v.data,n.options)}),s._optimisticResults==="isRestoring"&&(S.fetchStatus="idle")}let{error:I,errorUpdatedAt:b,status:x}=S;F=S.data;let R=!1;if(s.placeholderData!==void 0&&F===void 0&&x==="pending"){let we;c!=null&&c.isPlaceholderData&&s.placeholderData===(h==null?void 0:h.placeholderData)?(we=c.data,R=!0):we=typeof s.placeholderData=="function"?s.placeholderData((de=k(this,bs))==null?void 0:de.state.data,k(this,bs)):s.placeholderData,we!==void 0&&(x="success",F=Yu(c==null?void 0:c.data,we,s),A=!0)}if(s.select&&F!==void 0&&!R)if(c&&F===(f==null?void 0:f.data)&&s.select===k(this,Uo))F=k(this,_s);else try{G(this,Uo,s.select),F=s.select(F),F=Yu(c==null?void 0:c.data,F,s),G(this,_s,F),G(this,or,null)}catch(we){G(this,or,we)}k(this,or)&&(I=k(this,or),F=k(this,_s),b=Date.now(),x="error");const U=S.fetchStatus==="fetching",L=x==="pending",N=x==="error",W=L&&U,Y=F!==void 0,M={status:x,fetchStatus:S.fetchStatus,isPending:L,isSuccess:x==="success",isError:N,isInitialLoading:W,isLoading:W,data:F,dataUpdatedAt:S.dataUpdatedAt,error:I,errorUpdatedAt:b,failureCount:S.fetchFailureCount,failureReason:S.fetchFailureReason,errorUpdateCount:S.errorUpdateCount,isFetched:S.dataUpdateCount>0||S.errorUpdateCount>0,isFetchedAfterMount:S.dataUpdateCount>g.dataUpdateCount||S.errorUpdateCount>g.errorUpdateCount,isFetching:U,isRefetching:U&&!L,isLoadingError:N&&!Y,isPaused:S.fetchStatus==="paused",isPlaceholderData:A,isRefetchError:N&&Y,isStale:Tc(n,s),refetch:this.refetch,promise:k(this,Pn),isEnabled:Kt(s.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const we=M.data!==void 0,fe=M.status==="error"&&!we,Pe=Fe=>{fe?Fe.reject(M.error):we&&Fe.resolve(M.data)},We=()=>{const Fe=G(this,Pn,M.promise=Xu());Pe(Fe)},Ae=k(this,Pn);switch(Ae.status){case"pending":n.queryHash===i.queryHash&&Pe(Ae);break;case"fulfilled":(fe||M.data!==Ae.value)&&We();break;case"rejected":(!fe||M.error!==Ae.reason)&&We();break}}return M}updateResult(){const n=k(this,kt),s=this.createResult(k(this,ke),this.options);if(G(this,Fr,k(this,ke).state),G(this,ks,this.options),k(this,Fr).data!==void 0&&G(this,bs,k(this,ke)),Ku(s,n))return;G(this,kt,s);const i=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!k(this,Cs).size)return!0;const f=new Set(c??k(this,Cs));return this.options.throwOnError&&f.add("error"),Object.keys(k(this,kt)).some(h=>{const m=h;return k(this,kt)[m]!==n[m]&&f.has(m)})};Ee(this,je,Hm).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ee(this,je,nc).call(this)}},jt=new WeakMap,ke=new WeakMap,Do=new WeakMap,kt=new WeakMap,Fr=new WeakMap,ks=new WeakMap,Pn=new WeakMap,or=new WeakMap,Uo=new WeakMap,_s=new WeakMap,bs=new WeakMap,Ir=new WeakMap,Dr=new WeakMap,ir=new WeakMap,Cs=new WeakMap,je=new WeakSet,Ro=function(n){Ee(this,je,oc).call(this);let s=k(this,ke).fetch(this.options,n);return n!=null&&n.throwOnError||(s=s.catch(Nt)),s},Zu=function(){Ee(this,je,rc).call(this);const n=dr(this.options.staleTime,k(this,ke));if(Mr||k(this,kt).isStale||!Qu(n))return;const i=Fm(k(this,kt).dataUpdatedAt,n)+1;G(this,Ir,Tr.setTimeout(()=>{k(this,kt).isStale||this.updateResult()},i))},ec=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(k(this,ke)):this.options.refetchInterval)??!1},tc=function(n){Ee(this,je,sc).call(this),G(this,ir,n),!(Mr||Kt(this.options.enabled,k(this,ke))===!1||!Qu(k(this,ir))||k(this,ir)===0)&&G(this,Dr,Tr.setInterval(()=>{(this.options.refetchIntervalInBackground||Rc.isFocused())&&Ee(this,je,Ro).call(this)},k(this,ir)))},nc=function(){Ee(this,je,Zu).call(this),Ee(this,je,tc).call(this,Ee(this,je,ec).call(this))},rc=function(){k(this,Ir)&&(Tr.clearTimeout(k(this,Ir)),G(this,Ir,void 0))},sc=function(){k(this,Dr)&&(Tr.clearInterval(k(this,Dr)),G(this,Dr,void 0))},oc=function(){const n=k(this,jt).getQueryCache().build(k(this,jt),this.options);if(n===k(this,ke))return;const s=k(this,ke);G(this,ke,n),G(this,Do,n.state),this.hasListeners()&&(s==null||s.removeObserver(this),n.addObserver(this))},Hm=function(n){ft.batch(()=>{n.listeners&&this.listeners.forEach(s=>{s(k(this,kt))}),k(this,jt).getQueryCache().notify({query:k(this,ke),type:"observerResultsUpdated"})})},om);function yw(r,n){return Kt(n.enabled,r)!==!1&&r.state.data===void 0&&!(r.state.status==="error"&&n.retryOnMount===!1)}function ip(r,n){return yw(r,n)||r.state.data!==void 0&&ic(r,n,n.refetchOnMount)}function ic(r,n,s){if(Kt(n.enabled,r)!==!1&&dr(n.staleTime,r)!=="static"){const i=typeof s=="function"?s(r):s;return i==="always"||i!==!1&&Tc(r,n)}return!1}function lp(r,n,s,i){return(r!==n||Kt(i.enabled,r)===!1)&&(!s.suspense||r.state.status!=="error")&&Tc(r,s)}function Tc(r,n){return Kt(n.enabled,r)!==!1&&r.isStaleByTime(dr(n.staleTime,r))}function gw(r,n){return!Ku(r.getCurrentResult(),n)}function ap(r){return{onFetch:(n,s)=>{var v,S,A,F,I;const i=n.options,a=(A=(S=(v=n.fetchOptions)==null?void 0:v.meta)==null?void 0:S.fetchMore)==null?void 0:A.direction,c=((F=n.state.data)==null?void 0:F.pages)||[],f=((I=n.state.data)==null?void 0:I.pageParams)||[];let h={pages:[],pageParams:[]},m=0;const g=async()=>{let b=!1;const x=L=>{aw(L,()=>n.signal,()=>b=!0)},R=Dm(n.options,n.fetchOptions),U=async(L,N,W)=>{if(b)return Promise.reject();if(N==null&&L.pages.length)return Promise.resolve(L);const he=(()=>{const fe={client:n.client,queryKey:n.queryKey,pageParam:N,direction:W?"backward":"forward",meta:n.options.meta};return x(fe),fe})(),M=await R(he),{maxPages:de}=n.options,we=W?lw:iw;return{pages:we(L.pages,M,de),pageParams:we(L.pageParams,N,de)}};if(a&&c.length){const L=a==="backward",N=L?vw:up,W={pages:c,pageParams:f},Y=N(i,W);h=await U(W,Y,L)}else{const L=r??c.length;do{const N=m===0?f[0]??i.initialPageParam:up(i,h);if(m>0&&N==null)break;h=await U(h,N),m++}while(m<L)}return h};n.options.persister?n.fetchFn=()=>{var b,x;return(x=(b=n.options).persister)==null?void 0:x.call(b,g,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},s)}:n.fetchFn=g}}}function up(r,{pages:n,pageParams:s}){const i=n.length-1;return n.length>0?r.getNextPageParam(n[i],n,s[i],s):void 0}function vw(r,{pages:n,pageParams:s}){var i;return n.length>0?(i=r.getPreviousPageParam)==null?void 0:i.call(r,n[0],n,s[0],s):void 0}var zo,pn,vt,Ur,mn,tr,im,ww=(im=class extends Bm{constructor(n){super();ue(this,mn);ue(this,zo);ue(this,pn);ue(this,vt);ue(this,Ur);G(this,zo,n.client),this.mutationId=n.mutationId,G(this,vt,n.mutationCache),G(this,pn,[]),this.state=n.state||xw(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){k(this,pn).includes(n)||(k(this,pn).push(n),this.clearGcTimeout(),k(this,vt).notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){G(this,pn,k(this,pn).filter(s=>s!==n)),this.scheduleGc(),k(this,vt).notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){k(this,pn).length||(this.state.status==="pending"?this.scheduleGc():k(this,vt).remove(this))}continue(){var n;return((n=k(this,Ur))==null?void 0:n.continue())??this.execute(this.state.variables)}async execute(n){var f,h,m,g,v,S,A,F,I,b,x,R,U,L,N,W,Y,he;const s=()=>{Ee(this,mn,tr).call(this,{type:"continue"})},i={client:k(this,zo),meta:this.options.meta,mutationKey:this.options.mutationKey};G(this,Ur,Mm({fn:()=>this.options.mutationFn?this.options.mutationFn(n,i):Promise.reject(new Error("No mutationFn found")),onFail:(M,de)=>{Ee(this,mn,tr).call(this,{type:"failed",failureCount:M,error:de})},onPause:()=>{Ee(this,mn,tr).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,vt).canRun(this)}));const a=this.state.status==="pending",c=!k(this,Ur).canStart();try{if(a)s();else{Ee(this,mn,tr).call(this,{type:"pending",variables:n,isPaused:c}),k(this,vt).config.onMutate&&await k(this,vt).config.onMutate(n,this,i);const de=await((h=(f=this.options).onMutate)==null?void 0:h.call(f,n,i));de!==this.state.context&&Ee(this,mn,tr).call(this,{type:"pending",context:de,variables:n,isPaused:c})}const M=await k(this,Ur).start();return await((g=(m=k(this,vt).config).onSuccess)==null?void 0:g.call(m,M,n,this.state.context,this,i)),await((S=(v=this.options).onSuccess)==null?void 0:S.call(v,M,n,this.state.context,i)),await((F=(A=k(this,vt).config).onSettled)==null?void 0:F.call(A,M,null,this.state.variables,this.state.context,this,i)),await((b=(I=this.options).onSettled)==null?void 0:b.call(I,M,null,
65n,this.state.context,i)),Ee(this,mn,tr).call(this,{type:"success",data:M}),M}catch(M){try{await((R=(x=k(this,vt).config).onError)==null?void 0:R.call(x,M,n,this.state.context,this,i))}catch(de){Promise.reject(de)}try{await((L=(U=this.options).onError)==null?void 0:L.call(U,M,n,this.state.context,i))}catch(de){Promise.reject(de)}try{await((W=(N=k(this,vt).config).onSettled)==null?void 0:W.call(N,void 0,M,this.state.variables,this.state.context,this,i))}catch(de){Promise.reject(de)}try{await((he=(Y=this.options).onSettled)==null?void 0:he.call(Y,void 0,M,n,this.state.context,i))}catch(de){Promise.reject(de)}throw Ee(this,mn,tr).call(this,{type:"error",error:M}),M}finally{k(this,vt).runNext(this)}}},zo=new WeakMap,pn=new WeakMap,vt=new WeakMap,Ur=new WeakMap,mn=new WeakSet,tr=function(n){const s=i=>{switch(n.type){case"failed":return{...i,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...i,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:n.error,failureCount:i.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=s(this.state),ft.batch(()=>{k(this,pn).forEach(i=>{i.onMutationUpdate(n)}),k(this,vt).notify({mutation:this,type:"updated",action:n})})},im);function xw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var jn,sn,Mo,lm,Sw=(lm=class extends $o{constructor(n={}){super();ue(this,jn);ue(this,sn);ue(this,Mo);this.config=n,G(this,jn,new Set),G(this,sn,new Map),G(this,Mo,0)}build(n,s,i){const a=new ww({client:n,mutationCache:this,mutationId:++sl(this,Mo)._,options:n.defaultMutationOptions(s),state:i});return this.add(a),a}add(n){k(this,jn).add(n);const s=al(n);if(typeof s=="string"){const i=k(this,sn).get(s);i?i.push(n):k(this,sn).set(s,[n])}this.notify({type:"added",mutation:n})}remove(n){if(k(this,jn).delete(n)){const s=al(n);if(typeof s=="string"){const i=k(this,sn).get(s);if(i)if(i.length>1){const a=i.indexOf(n);a!==-1&&i.splice(a,1)}else i[0]===n&&k(this,sn).delete(s)}}this.notify({type:"removed",mutation:n})}canRun(n){const s=al(n);if(typeof s=="string"){const i=k(this,sn).get(s),a=i==null?void 0:i.find(c=>c.state.status==="pending");return!a||a===n}else return!0}runNext(n){var i;const s=al(n);if(typeof s=="string"){const a=(i=k(this,sn).get(s))==null?void 0:i.find(c=>c!==n&&c.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ft.batch(()=>{k(this,jn).forEach(n=>{this.notify({type:"removed",mutation:n})}),k(this,jn).clear(),k(this,sn).clear()})}getAll(){return Array.from(k(this,jn))}find(n){const s={exact:!0,...n};return this.getAll().find(i=>tp(s,i))}findAll(n={}){return this.getAll().filter(s=>tp(n,s))}notify(n){ft.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return ft.batch(()=>Promise.all(n.map(s=>s.continue().catch(Nt))))}},jn=new WeakMap,sn=new WeakMap,Mo=new WeakMap,lm);function al(r){var n;return(n=r.options.scope)==null?void 0:n.id}var yn,am,Ew=(am=class extends $o{constructor(n={}){super();ue(this,yn);this.config=n,G(this,yn,new Map)}build(n,s,i){const a=s.queryKey,c=s.queryHash??bc(a,s);let f=this.get(c);return f||(f=new pw({client:n,queryKey:a,queryHash:c,options:n.defaultQueryOptions(s),state:i,defaultOptions:n.getQueryDefaults(a)}),this.add(f)),f}add(n){k(this,yn).has(n.queryHash)||(k(this,yn).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=k(this,yn).get(n.queryHash);s&&(n.destroy(),s===n&&k(this,yn).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){ft.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return k(this,yn).get(n)}getAll(){return[...k(this,yn).values()]}find(n){const s={exact:!0,...n};return this.getAll().find(i=>ep(s,i))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(i=>ep(n,i)):s}notify(n){ft.batch(()=>
vendor: 4,802 bytes, line 65
65{this.listeners.forEach(s=>{s(n)})})}onFocus(){ft.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){ft.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},yn=new WeakMap,am),Ke,lr,ar,Rs,Ts,ur,Os,As,um,kw=(um=class{constructor(r={}){ue(this,Ke);ue(this,lr);ue(this,ar);ue(this,Rs);ue(this,Ts);ue(this,ur);ue(this,Os);ue(this,As);G(this,Ke,r.queryCache||new Ew),G(this,lr,r.mutationCache||new Sw),G(this,ar,r.defaultOptions||{}),G(this,Rs,new Map),G(this,Ts,new Map),G(this,ur,0)}mount(){sl(this,ur)._++,k(this,ur)===1&&(G(this,Os,Rc.subscribe(async r=>{r&&(await this.resumePausedMutations(),k(this,Ke).onFocus())})),G(this,As,El.subscribe(async r=>{r&&(await this.resumePausedMutations(),k(this,Ke).onOnline())})))}unmount(){var r,n;sl(this,ur)._--,k(this,ur)===0&&((r=k(this,Os))==null||r.call(this),G(this,Os,void 0),(n=k(this,As))==null||n.call(this),G(this,As,void 0))}isFetching(r){return k(this,Ke).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return k(this,lr).findAll({...r,status:"pending"}).length}getQueryData(r){var s;const n=this.defaultQueryOptions({queryKey:r});return(s=k(this,Ke).get(n.queryHash))==null?void 0:s.state.data}ensureQueryData(r){const n=this.defaultQueryOptions(r),s=k(this,Ke).build(this,n),i=s.state.data;return i===void 0?this.fetchQuery(r):(r.revalidateIfStale&&s.isStaleByTime(dr(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(i))}getQueriesData(r){return k(this,Ke).findAll(r).map(({queryKey:n,state:s})=>{const i=s.data;return[n,i]})}setQueryData(r,n,s){const i=this.defaultQueryOptions({queryKey:r}),a=k(this,Ke).get(i.queryHash),c=a==null?void 0:a.state.data,f=rw(n,c);if(f!==void 0)return k(this,Ke).build(this,i).setData(f,{...s,manual:!0})}setQueriesData(r,n,s){return ft.batch(()=>k(this,Ke).findAll(r).map(({queryKey:i})=>[i,this.setQueryData(i,n,s)]))}getQueryState(r){var s;const n=this.defaultQueryOptions({queryKey:r});return(s=k(this,Ke).get(n.queryHash))==null?void 0:s.state}removeQueries(r){const n=k(this,Ke);ft.batch(()=>{n.findAll(r).forEach(s=>{n.remove(s)})})}resetQueries(r,n){const s=k(this,Ke);return ft.batch(()=>(s.findAll(r).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...r},n)))}cancelQueries(r,n={}){const s={revert:!0,...n},i=ft.batch(()=>k(this,Ke).findAll(r).map(a=>a.cancel(s)));return Promise.all(i).then(Nt).catch(Nt)}invalidateQueries(r,n={}){return ft.batch(()=>(k(this,Ke).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"},n)))}refetchQueries(r,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},i=ft.batch(()=>k(this,Ke).findAll(r).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let c=a.fetch(void 0,s);return s.throwOnError||(c=c.catch(Nt)),a.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Nt)}fetchQuery(r){const n=this.defaultQueryOptions(r);n.retry===void 0&&(n.retry=!1);const s=k(this,Ke).build(this,n);return s.isStaleByTime(dr(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(Nt).catch(Nt)}fetchInfiniteQuery(r){return r.behavior=ap(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(Nt).catch(Nt)}ensureInfiniteQueryData(r){return r.behavior=ap(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return El.isOnline()?k(this,lr).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,Ke)}getMutationCache(){return k(this,lr)}getDefaultOptions(){return k(this,ar)}setDefaultOptions(r){G(this,ar,r)}setQueryDefaults(r,n){k(this,Rs).set(Lo(r),{queryKey:r,defaultOptions:n})}getQueryDefaults(r){const n=[...k(this,Rs).values()],s={};return n.forEach(i=>{Fo(r,i.queryKey)&&Object.assign(s,i.defaultOptions)}),s}setMutationDefaults(r,n){k(this,Ts).set(Lo(r),{mutationKey:r,defaultOptions:n})}getMutationDefaults(r){const n=[...k(this,Ts).values()],s={};return n.forEach(i=>{Fo(r,i.mutationKey)&&Object.assign(s,i.defaultOptions)}),s}defaultQueryOptions(r){if(r._defaulted)return r;const n={...k(this,ar).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return n.queryHash||(n.queryHash=bc(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Cc&&(n.enabled=!1),n}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{...k(this,ar).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){k(this,Ke).clear(),k(this,lr).clear()}},Ke=new WeakMap,lr=new WeakMap,ar=new WeakMap,Rs=new WeakMap,Ts=new WeakMap,ur=new WeakMap,O
65s=new WeakMap,As=new WeakMap,um),Vm=V.createContext(void 0),_w=r=>{const n=V.useContext(Vm);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},bw=({client:r,children:n})=>(V.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),y.jsx(Vm.Provider,{value:r,children:n})),qm=V.createContext(!1),Cw=()=>V.useContext(qm);qm.Provider;function Rw(){let r=!1;return{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r}}var Tw=V.createContext(Rw()),Ow=()=>V.useContext(Tw),Aw=(r,n,s)=>{const i=s!=null&&s.state.error&&typeof r.throwOnError=="function"?Um(r.throwOnError,[s.state.error,s]):r.throwOnError;(r.suspense||r.experimental_prefetchInRender||i)&&(n.isReset()||(r.retryOnMount=!1))},Pw=r=>{V.useEffect(()=>{r.clearReset()},[r])},jw=({result:r,errorResetBoundary:n,throwOnError:s,query:i,suspense:a})=>r.isError&&!n.isReset()&&!r.isFetching&&i&&(a&&r.data===void 0||Um(s,[r.error,i])),Nw=r=>{if(r.suspense){const s=a=>a==="static"?a:Math.max(a??1e3,1e3),i=r.staleTime;r.staleTime=typeof i=="function"?(...a)=>s(i(...a)):s(i),typeof r.gcTime=="number"&&(r.gcTime=Math.max(r.gcTime,1e3))}},Lw=(r,n)=>r.isLoading&&r.isFetching&&!n,Fw=(r,n)=>(r==null?void 0:r.suspense)&&n.isPending,cp=(r,n,s)=>n.fetchOptimistic(r).catch(()=>{s.clearReset()});function Iw(r,n,s){var A,F,I,b;const i=Cw(),a=Ow(),c=_w(),f=c.defaultQueryOptions(r);(F=(A=c.getDefaultOptions().queries)==null?void 0:A._experimental_beforeQuery)==null||F.call(A,f);const h=c.getQueryCache().get(f.queryHash);f._optimisticResults=i?"isRestoring":"optimistic",Nw(f),Aw(f,a,h),Pw(a);const m=!c.getQueryCache().get(f.queryHash),[g]=V.useState(()=>new n(c,f)),v=g.getOptimisticResult(f),S=!i&&r.subscribed!==!1;if(V.useSyncExternalStore(V.useCallback(x=>{const R=S?g.subscribe(ft.batchCalls(x)):Nt;return g.updateResult(),R},[g,S]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),V.useEffect(()=>{g.setOptions(f)},[f,g]),Fw(f,v))throw cp(f,g,a);if(jw({result:v,errorResetBoundary:a,throwOnError:f.throwOnError,query:h,suspense:f.suspense}))throw v.error;if((b=(I=c.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||b.call(I,f,v),f.experimental_prefetchInRender&&!Mr&&Lw(v,i)){const x=m?cp(f,g,a):h==null?void 0:h.promise;x==null||x.catch(Nt).finally(()=>{g.updateResult()})}return f.notifyOnChangeProps?v:g.trackResult(v)}function Dw(r,n){return Iw(r,mw)}const Uw=new kw({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});dm();/**
66 * @remix-run/router v1.23.3
67 *
68 * Copyright (c) Remix Software Inc.
69 *
70 * This source code is licensed under the MIT license found in the
71 * LICENSE.md file in the root directory of this source tree.
72 *
73 * @license MIT
74 */function kl(){return kl=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var i in s)({}).hasOwnProperty.call(s,i)&&(r[i]=s[i])}return r},kl.apply(null,arguments)}var cr;(function(r){r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE"})(cr||(cr={}));const dp="popstate";function zw(r){r===void 0&&(r={});function n(i,a){let{pathname:c,search:f,hash:h}=i.location;return lc("",{pathname:c,search:f,hash:h},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function s(i,a){return typeof a=="string"?a:Qm(a)}return Bw(n,s,null,r)}function Ft(r,n){if(r===!1||r===null||typeof r>"u")throw new Error(n)}function Wm(r,n){if(!r){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function Mw(){return Math.random().toString(36).substr(2,8)}function fp(r,n){return{usr:r.state,key:r.key,idx:n}}function lc(r,n,s,i){return s===void 0&&(s=null),kl({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof n=="string"?Cl(n):n,{state:s,key:n&&n.key||i||Mw()})}function Qm(r){let{pathname:n="/",search:s="",hash:i=""}=r;return s&&s!=="?"&&(n+=s.charAt(0)==="?"?s:"?"+s),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function Cl(r){let n={};if(r){let s=r.indexOf("#");s>=0&&(n.hash=r.substr(s),r=r.substr(0,s));let i=r.indexOf("?");i>=0&&(n.search=r.substr(i),r=r.substr(0,i)),r&&(n.pathname=r)}return n}function Bw(r,n,s,i){i===void 0&&(i={});let{window:a=document.defaultView,v5Compat:c=!1}=i,f=a.history,h=cr.Pop,m=null,g=v();g==null&&(g=0,f.replaceState(kl({},f.state,{idx:g}),""));function v(){return(f.state||{idx:null}).idx}function S(){h=cr.Pop;let x=v(),R=x==null?null:x-g;g=x,m&&m({action:h,location:b.location,delta:R})}function A(x,R){h=cr.Push;let U=lc(b.location,x,R);g=v()+1;let L=fp(U,g),N=b.createHref(U);try{f.pushState(L,"",N)}catch(W){if(W instanceof DOMException&&W.name==="DataCloneError")throw W;a.location.assign(N)}c&&m&&m({action:h,location:b.location,delta:1})}function F(x,R){h=cr.Replace;let U=lc(b.location,x,R);g=v();let L=fp(U,g),N=b.createHref(U);f.replaceState(L,"",N),c&&m&&m({action:h,location:b.location,delta:0})}function I(x){let R=a.location.origin!=="null"?a.location.origin:a.location.href,U=typeof x=="str
74ing"?x:Qm(x);return U=U.replace(/ $/,"%20"),Ft(R,"No window.location.(origin|href) available to create URL for href: "+U),new URL(U,R)}let b={get action(){return h},get location(){return r(a,f)},listen(x){if(m)throw new Error("A history only accepts one active listener");return a.addEventListener(dp,S),m=x,()=>{a.removeEventListener(dp,S),m=null}},createHref(x){return n(a,x)},createURL:I,encodeLocation(x){let R=I(x);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:A,replace:F,go(x){return f.go(x)}};return b}var hp;(function(r){r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error"})(hp||(hp={}));function $w(r,n,s){return s===void 0&&(s="/"),Hw(r,n,s)}function Hw(r,n,s,i){let a=typeof n=="string"?Cl(n):n,c=Ym(a.pathname||"/",s);if(c==null)return null;let f=Km(r);Vw(f);let h=null,m=nx(c);for(let g=0;h==null&&g<f.length;++g)h=Zw(f[g],m);return h}function Km(r,n,s,i){n===void 0&&(n=[]),s===void 0&&(s=[]),i===void 0&&(i="");let a=(c,f,h)=>{let m={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};m.relativePath.startsWith("/")&&(Ft(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 g=vs([i,m.relativePath]),v=s.concat(m);c.children&&c.children.length>0&&(Ft(c.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),Km(c.children,n,v,g)),!(c.path==null&&!c.index)&&n.push({path:g,score:Xw(g,c.index),routesMeta:v})};return r.forEach((c,f)=>{var h;if(c.path===""||!((h=c.path)!=null&&h.includes("?")))a(c,f);else for(let m of Gm(c.path))a(c,f,m)}),n}function Gm(r){let n=r.split("/");if(n.length===0)return[];let[s,...i]=n,a=s.endsWith("?"),c=s.replace(/\?$/,"");if(i.length===0)return a?[c,""]:[c];let f=Gm(i.join("/")),h=[];return h.push(...f.map(m=>m===""?c:[c,m].join("/"))),a&&h.push(...f),h.map(m=>r.startsWith("/")&&m===""?"/":m)}function Vw(r){r.sort((n,s)=>n.score!==s.score?s.score-n.score:Jw(n.routesMeta.map(i=>i.childrenIndex),s.routesMeta.map(i=>i.childrenIndex)))}const qw=/^:[\w-]+$/,Ww=3,Qw=2,Kw=1,Gw=10,Yw=-2,pp=r=>r==="*";function Xw(r,n){let s=r.split("/"),i=s.length;return s.some(pp)&&(i+=Yw),n&&(i+=Qw),s.filter(a=>!pp(a)).reduce((a,c)=>a+(qw.test(c)?Ww:c===""?Kw:Gw),i)}function Jw(r,n){return r.length===n.length&&r.slice(0,-1).every((i,a)=>i===n[a])?r[r.length-1]-n[n.length-1]:0}function Zw(r,n,s){let{routesMeta:i}=r,a={},c="/",f=[];for(let h=0;h<i.length;++h){let m=i[h],g=h===i.length-1,v=c==="/"?n:n.slice(c.length)||"/",S=ex({path:m.relativePath,caseSensitive:m.caseSensitive,end:g},v),A=m.route;if(!S)return null;
vendor: 1,887 bytes, line 74
74Object.assign(a,S.params),f.push({params:a,pathname:vs([c,S.pathname]),pathnameBase:sx(vs([c,S.pathnameBase])),route:A}),S.pathnameBase!=="/"&&(c=vs([c,S.pathnameBase]))}return f}function ex(r,n){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,i]=tx(r.path,r.caseSensitive,r.end),a=n.match(s);if(!a)return null;let c=a[0],f=c.replace(/(.)\/+$/,"$1"),h=a.slice(1);return{params:i.reduce((g,v,S)=>{let{paramName:A,isOptional:F}=v;if(A==="*"){let b=h[S]||"";f=c.slice(0,c.length-b.length).replace(/(.)\/+$/,"$1")}const I=h[S];return F&&!I?g[A]=void 0:g[A]=(I||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:f,pattern:r}}function tx(r,n,s){n===void 0&&(n=!1),s===void 0&&(s=!0),Wm(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=[],a="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,m)=>(i.push({paramName:h,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(i.push({paramName:"*"}),a+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?a+="\\/*$":r!==""&&r!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,n?void 0:"i"),i]}function nx(r){try{return r.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Wm(!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 ("+n+").")),r}}function Ym(r,n){if(n==="/")return r;if(!r.toLowerCase().startsWith(n.toLowerCase()))return null;let s=n.endsWith("/")?n.length-1:n.length,i=r.charAt(s);return i&&i!=="/"?null:r.slice(s)||"/"}const rx=r=>r.replace(/\/\/+/g,"/"),vs=r=>
vendor: 4,896 bytes, lines 74-83
74rx(r.join("/")),sx=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/");function ox(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}const Xm=["post","put","patch","delete"];new Set(Xm);const ix=["get",...Xm];new Set(ix);/**
75 * React Router v6.30.4
76 *
77 * Copyright (c) Remix Software Inc.
78 *
79 * This source code is licensed under the MIT license found in the
80 * LICENSE.md file in the root directory of this source tree.
81 *
82 * @license MIT
83 */function _l(){return _l=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var i in s)({}).hasOwnProperty.call(s,i)&&(r[i]=s[i])}return r},_l.apply(null,arguments)}const lx=V.createContext(null),ax=V.createContext(null),Jm=V.createContext(null),Ho=V.createContext(null),Rl=V.createContext({outlet:null,matches:[],isDataRoute:!1}),Zm=V.createContext(null);function Oc(){return V.useContext(Ho)!=null}function Ac(){return Oc()||Ft(!1),V.useContext(Ho).location}function ux(){return V.useContext(Ho).navigationType}function cx(r,n){return dx(r,n)}function dx(r,n,s,i){Oc()||Ft(!1);let{navigator:a}=V.useContext(Jm),{matches:c}=V.useContext(Rl),f=c[c.length-1],h=f?f.params:{};f&&f.pathname;let m=f?f.pathnameBase:"/";f&&f.route;let g=Ac(),v;if(n){var S;let x=typeof n=="string"?Cl(n):n;m==="/"||(S=x.pathname)!=null&&S.startsWith(m)||Ft(!1),v=x}else v=g;let A=v.pathname||"/",F=A;if(m!=="/"){let x=m.replace(/^\//,"").split("/");F="/"+A.replace(/^\//,"").split("/").slice(x.length).join("/")}let I=$w(r,{pathname:F}),b=yx(I&&I.map(x=>Object.assign({},x,{params:Object.assign({},h,x.params),pathname:vs([m,a.encodeLocation?a.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?m:vs([m,a.encodeLocation?a.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),c,s,i);return n&&b?V.createElement(Ho.Provider,{value:{location:_l({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:cr.Pop}},b):b}function fx(){let r=xx(),n=ox(r)?r.status+" "+r.statusText:r instanceof Error?r.message:JSON.stringify(r),s=r instanceof Error?r.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return V.createElement(V.Fragment,null,V.createElement("h2",null,"Unexpected Application Error!"),V.createElement("h3",{style:{fontStyle:"italic"}},n),s?V.createElement("pre",{style:a},s):null,null)}const hx=V.createElement(fx,null);class px extends V.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,s){return s.location!==n.location||s.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:s.error,location:s.location,revalidation:n.revalidation||s.revalidation}}componentDidCatch(n,s){console.error("React Router caught the following error during render",n,s)}render(){return this.state.error!==void 0?V.createElement(Rl.Provider,{value:this.props.routeContext},V.createElement(Zm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function mx(r){let{routeContext:n,match:s,children:i}=r,a=V.useContext(lx);return a&&a.static&&a.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=s.route.id),V.createElement(Rl.Provider,{value:n},i)}function yx(r,n,s,i){var a;if(n===void 0&&(n=[]),s===void 0&&(s=null),i===void 0&&(i=null),r==null){var c;if(!s)return null;if(s.errors)r=s.matches;else if((c=i)!=null&&c.v7_partialHydration&&n.length===0&&!s.initialized&&s.matches.length>0)r=s.matches;else return null}let f=r,h=(a=s)==null?void 0:a.errors;if(h!=null){let v=f.findIndex(S=>S.route.id&&(h==null?void 0:h[S.route.id])!==void 0);v>=0||Ft(!1),f=f.slice(0,Math.min(f.length,v+1))}let m=!1,g=-1;if(s&&i&&i.v7_partialHydration)for(let v=0;v<f.length;v++){let S=f[v];if((S.route.HydrateFallback||S.route.hydrateFallbackElement)&&(g=v),S.route.id){let{loaderData:A,errors:F}=s,I=S.route.loader&&A[S.route.id]===void 0&&(!F||F[S.route.id]===void 0);if(S.route.lazy||I){m=!0,g>=0?f=f.slice(0,g+1):f=[f[0]];break}}}return f.reduceRight((v,S,A)=>{let F,I=!1,b=null,x=null;s&&(F=h&&S.route.id?h[S.route.id]:void 0,b=S.route.errorElement||hx,m&&(g<0&&A===0?(Sx("route-fallback"),I=!0,x=null):g===A&&(I=!0,x=S.route.hydrateFallbackElement||null)));let R=n.concat(f.slice(0,A+1)),U=()=>{let L;return F?L=b:I?L=x:S.route.Component?L=V.createElement(S.route.Component,null):S.route.element?L=S.route.element:L=v,V.createElement(mx,{match:S,routeContext:{outlet:v,matches:R,isDataRoute:s!=null},children:L})};return s&&(S.route.ErrorBoundary||S.route.errorElement||A===0)?V.createElement(px,{location:s.location,revalidation:s.revalidation,component:b,error:F,children:U(),routeC
83ontext:{outlet:null,matches:R,isDataRoute:!0}}):U()},null)}var ey=(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})(ey||{});function gx(r){let n=V.useContext(ax);return n||Ft(!1),n}function vx(r){let n=V.useContext(Rl);return n||Ft(!1),n}function wx(r){let n=vx(),s=n.matches[n.matches.length-1];return s.route.id||Ft(!1),s.route.id}function xx(){var r;let n=V.useContext(Zm),s=gx(ey.UseRouteError),i=wx();return n!==void 0?n:(r=s.errors)==null?void 0:r[i]}const mp={};function Sx(r,n,s){mp[r]||(mp[r]=!0)}function Ex(r,n){r==null||r.v7_startTransition,r==null||r.v7_relativeSplatPath}function ac(r){Ft(!1)}function kx(r){let{basename:n="/",children:s=null,location:i,navigationType:a=cr.Pop,navigator:c,static:f=!1,future:h}=r;Oc()&&Ft(!1);let m=n.replace(/^\/*/,"/"),g=V.useMemo(()=>({basename:m,navigator:c,static:f,future:_l({v7_relativeSplatPath:!1},h)}),[m,h,c,f]);typeof i=="string"&&(i=Cl(i));let{pathname:v="/",search:S="",hash:A="",state:F=null,key:I="default"}=i,b=V.useMemo(()=>{let x=Ym(v,m);return x==null?null:{location:{pathname:x,search:S,hash:A,state:F,key:I},navigationType:a}},[m,v,S,A,F,I,a]);return b==null?null:V.createElement(Jm.Provider,{value:g},V.createElement(Ho.Provider,{children:s,value:b}))}function _x(r){let{children:n,location:s}=r;return cx(uc(n),s)}new Promise(()=>{});function uc(r,n){n===void 0&&(n=[]);let s=[];return V.Children.forEach(r,(i,a)=>{if(!V.isValidElement(i))return;let c=[...n,a];if(i.type===V.Fragment){s.push.apply(s,uc(i.props.children,c));return}i.type!==ac&&Ft(!1),!i.props.index||!i.props.children||Ft(!1);let f={id:i.props.id||c.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&&(f.children=uc(i.props.children,c)),s.push(f)}),s}/**
84 * React Router DOM v6.30.4
85 *
86 * Copyright (c) Remix Software Inc.
87 *
88 * This source code is licensed under the MIT license found in the
89 * LICENSE.md file in the root directory of this source tree.
90 *
91 * @license MIT
92 */const bx="6";try{window.__reactRouterVersion=bx}catch{}const Cx="startTransition",yp=$v[Cx];function Rx(r){let{basename:n,children:s,future:i,window:a}=r,c=V.useRef();c.current==null&&(c.current=zw({window:a,v5Compat:!0}));let f=c.current,[h,m]=V.useState({action:f.action,location:f.location}),{v7_startTransition:g}=i||{},v=V.useCallback(S=>{g&&yp?yp(()=>m(S)):m(S)},[m,g]);return V.useLayoutEffect(()=>f.listen(v),[f,v]),V.useEffect(()=>Ex(i),[i]),V.createElement(kx,{basename:n,children:s,location:h.location,navigationType:h.action,navigator:f,future:i})}var gp;(function(r){r.UseScrollRestoration="useScrollRestoration",r.UseSubmit="useSubmit",r.UseSubmitFetcher="useSubmitFetcher",r.UseFetcher="useFetcher",r.useViewTransitionState="useViewTransitionState"})(gp||(gp={}));var vp;(function(r){r.UseFetcher="useFetcher",r.UseFetchers="useFetchers",r.UseScrollRestoration="useScrollRestoration"})(vp||(vp={}));function ty(r,n){return function(){return r.apply(n,arguments)}}const{toString:Tx}=Object.prototype,{getPrototypeOf:Tl}=Object,{iterator:Ol,toStringTag:ny}=Symbol,Al=(r=>n=>{const s=Tx.call(n);return r[s]||(r[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),ln=r=>(r=r.toLowerCase(),n=>Al(n)===r),Pl=r=>n=>typeof n===r,{isArray:Br}=Array,Ps=Pl("undefined");function Ns(r){return r!==null&&!Ps(r)&&r.constructor!==null&&!Ps(r.constructor)&&Lt(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const ry=ln("ArrayBuffer");function Ox(r){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(r):n=r&&r.buffer&&ry(r.buffer),n}const Ax=Pl("string"),Lt=Pl("function"),sy=Pl("number"),Vo=r=>r!==null&&typeof r=="object",Px=r=>r===!0||r===!1,pl=r=>{if(Al(r)!=="object")return!1;const n=Tl(r);
vendor: 4,339 bytes, line 92
92return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(ny in r)&&!(Ol in r)},jx=r=>{if(!Vo(r)||Ns(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},Nx=ln("Date"),Lx=ln("File"),Fx=r=>!!(r&&typeof r.uri<"u"),Ix=r=>r&&typeof r.getParts<"u",Dx=ln("Blob"),Ux=ln("FileList"),zx=r=>Vo(r)&&Lt(r.pipe);function Mx(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const wp=Mx(),xp=typeof wp.FormData<"u"?wp.FormData:void 0,Bx=r=>{if(!r)return!1;if(xp&&r instanceof xp)return!0;const n=Tl(r);if(!n||n===Object.prototype||!Lt(r.append))return!1;const s=Al(r);return s==="formdata"||s==="object"&&Lt(r.toString)&&r.toString()==="[object FormData]"},$x=ln("URLSearchParams"),[Hx,Vx,qx,Wx]=["ReadableStream","Request","Response","Headers"].map(ln),Qx=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qo(r,n,{allOwnKeys:s=!1}={}){if(r===null||typeof r>"u")return;let i,a;if(typeof r!="object"&&(r=[r]),Br(r))for(i=0,a=r.length;i<a;i++)n.call(null,r[i],i,r);else{if(Ns(r))return;const c=s?Object.getOwnPropertyNames(r):Object.keys(r),f=c.length;let h;for(i=0;i<f;i++)h=c[i],n.call(null,r[h],h,r)}}function oy(r,n){if(Ns(r))return null;n=n.toLowerCase();const s=Object.keys(r);let i=s.length,a;for(;i-- >0;)if(a=s[i],n===a.toLowerCase())return a;return null}const Or=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,iy=r=>!Ps(r)&&r!==Or;function cc(...r){const{caseless:n,skipUndefined:s}=iy(this)&&this||{},i={},a=(c,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const h=n&&typeof f=="string"&&oy(i,f)||f,m=dc(i,h)?i[h]:void 0;pl(m)&&pl(c)?i[h]=cc(m,c):pl(c)?i[h]=cc({},c):Br(c)?i[h]=c.slice():(!s||!Ps(c))&&(i[h]=c)};for(let c=0,f=r.length;c<f;c++){const h=r[c];if(!h||Ns(h)||(qo(h,a),typeof h!="object"||Br(h)))continue;const m=Object.getOwnPropertySymbols(h);for(let g=0;g<m.length;g++){const v=m[g];o1.call(h,v)&&a(h[v],v)}}return i}const Kx=(r,n,s,{allOwnKeys:i}={})=>(qo(n,(a,c)=>{s&&Lt(a)?Object.defineProperty(r,c,{__proto__:null,value:ty(a,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(r,c,{__proto__:null,value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),r),Gx=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),Yx=(r,n,s,i)=>{r.prototype=Object.create(n.prototype,i),Object.defineProperty(r.prototype,"constructor",{__proto__:null,value:r,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(r,"super",{__proto__:null,value:n.prototype}),s&&Object.assign(r.prototype,s)},Xx=(r,n,s,i)=>{let a,c,f;const h={};if(n=n||{},r==null)return n;do{for(a=Object.getOwnPropertyNames(r),c=a.length;c-- >0;)f=a[c],(!i||i(f,r,n))&&!h[f]&&(n[f]=r[f],h[f]=!0);r=s!==!1&&Tl(r)}while(r&&(!s||s(r,n))&&r!==Object.prototype);return n},Jx=(r,n,s)=>{r=String(r),(s===void 0||s>r.length)&&(s=r.length),s-=n.length;const i=r.indexOf(n,s);return i!==-1&&i===s},Zx=r=>{if(!r)return null;if(Br(r))return r;let n=r.length;if(!sy(n))return null;const s=new Array(n);for(;n-- >0;)s[n]=r[n];return s},e1=(r=>n=>r&&n instanceof r)(typeof Uint8Array<"u"&&Tl(Uint8Array)),t1=(r,n)=>{const i=(r&&r[Ol]).call(r);let a;for(;(a=i.next())&&!a.done;){const c=a.value;n.call(r,c[0],c[1])}},n1=(r,n)=>{let s;const i=[];for(;(s=r.exec(n))!==null;)i.push(s);return i},r1=ln("HTMLFormElement"),s1=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,i,a){return i.toUpperCase()+a}),dc=(({hasOwnProperty:r})=>(n,s)=>r.call(n,s))(Object.prototype),{propertyIsEnumerable:o1}=Object.prototype,i1=ln("RegExp"),ly=(r,n)=>{const s=Object.getOwnPropertyDescriptors(r),i={};qo(s,(a,c)=>{let f;(f=n(a,c,r))!==!1&&(i[c]=f||a)}),Object.defineProperties(r,i)},l1=r=>{ly(r,(n,s)=>{if(Lt(r)&&["arguments","caller","callee"].includes(s))return!1;const i=r[s];if(Lt(i)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},a1=(r,n)=>{const s={},i=a=>{a.forEach(c=>{s[c]=!0})};return Br(r)?i(r):i(String(r).split(n)),s},u1=()=>{},c1=(r,n)=>r!=null&&Number.isFinite(r=+r)?r:n;function d1(r){return!!(r&&Lt(r.append)&&r[ny]==="FormData"&&r[Ol])}const f1=r=>{const n=new WeakSet,s=i=>{if(Vo(i)){if(n.has(i))return;if(Ns(i))return i;
vendor: 4,312 bytes, lines 92-93
92if(!("toJSON"in i)){n.add(i);const a=Br(i)?[]:{};return qo(i,(c,f)=>{const h=s(c);!Ps(h)&&(a[f]=h)}),n.delete(i),a}}return i};return s(r)},h1=ln("AsyncFunction"),p1=r=>r&&(Vo(r)||Lt(r))&&Lt(r.then)&&Lt(r.catch),ay=((r,n)=>r?setImmediate:n?((s,i)=>(Or.addEventListener("message",({source:a,data:c})=>{a===Or&&c===s&&i.length&&i.shift()()},!1),a=>{i.push(a),Or.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",Lt(Or.postMessage)),m1=typeof queueMicrotask<"u"?queueMicrotask.bind(Or):typeof process<"u"&&process.nextTick||ay,y1=r=>r!=null&&Lt(r[Ol]),T={isArray:Br,isArrayBuffer:ry,isBuffer:Ns,isFormData:Bx,isArrayBufferView:Ox,isString:Ax,isNumber:sy,isBoolean:Px,isObject:Vo,isPlainObject:pl,isEmptyObject:jx,isReadableStream:Hx,isRequest:Vx,isResponse:qx,isHeaders:Wx,isUndefined:Ps,isDate:Nx,isFile:Lx,isReactNativeBlob:Fx,isReactNative:Ix,isBlob:Dx,isRegExp:i1,isFunction:Lt,isStream:zx,isURLSearchParams:$x,isTypedArray:e1,isFileList:Ux,forEach:qo,merge:cc,extend:Kx,trim:Qx,stripBOM:Gx,inherits:Yx,toFlatObject:Xx,kindOf:Al,kindOfTest:ln,endsWith:Jx,toArray:Zx,forEachEntry:t1,matchAll:n1,isHTMLForm:r1,hasOwnProperty:dc,hasOwnProp:dc,reduceDescriptors:ly,freezeMethods:l1,toObjectSet:a1,toCamelCase:s1,noop:u1,toFiniteNumber:c1,findKey:oy,global:Or,isContextDefined:iy,isSpecCompliantForm:d1,toJSONObject:f1,isAsyncFn:h1,isThenable:p1,setImmediate:ay,asap:m1,isIterable:y1},g1=T.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"]),v1=r=>{const n={};let s,i,a;return r&&r.split(`
93`).forEach(function(f){a=f.indexOf(":"),s=f.substring(0,a).trim().toLowerCase(),i=f.substring(a+1).trim(),!(!s||n[s]&&g1[s])&&(s==="set-cookie"?n[s]?n[s].push(i):n[s]=[i]:n[s]=n[s]?n[s]+", "+i:i)}),n};function w1(r){let n=0,s=r.length;for(;n<s;){const i=r.charCodeAt(n);if(i!==9&&i!==32)break;n+=1}for(;s>n;){const i=r.charCodeAt(s-1);if(i!==9&&i!==32)break;s-=1}return n===0&&s===r.length?r:r.slice(n,s)}const x1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),S1=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Pc(r,n){return T.isArray(r)?r.map(s=>Pc(s,n)):w1(String(r).replace(n,""))}const E1=r=>Pc(r,x1),k1=r=>Pc(r,S1);function uy(r){const n=Object.create(null);return T.forEach(r.toJSON(),(s,i)=>{n[i]=k1(s)}),n}const Sp=Symbol("internals");function _o(r){return r&&String(r).trim().toLowerCase()}function ml(r){return r===!1||r==null?r:T.isArray(r)?r.map(ml):E1(String(r))}function _1(r){const n=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=s.exec(r);)n[i[1]]=i[2];return n}const b1=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function Iu(r,n,s,i,a){if(T.isFunction(i))return i.call(this,n,s);if(a&&(n=s),!!T.isString(n)){if(T.isString(i))return n.indexOf(i)!==-1;if(T.isRegExp(i))return i.test(n)}}function C1(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,s,i)=>s.toUpperCase()+i)}function R1(r,n){const s=T.toCamelCase(" "+n);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+s,{__proto__:null,value:function(a,c,f){return this[i].call(this,n,a,c,f)},configurable:!0})})}let _t=class{constructor(n){n&&this.set(n)}set(n,s,i){const a=this;function c(h,m,g){const v=_o(m);if(!v)return;const S=T.findKey(a,v);(!S||a[S]===void 0||g===!0||g===void 0&&a[S]!==!1)&&(a[S||m]=ml(h))}const f=(h,m)=>T.forEach(h,(g,v)=>c(g,v,m));if(T.isPlainObject(n)||n instanceof this.constructor)f(n,s);else if(T.isString(n)&&(n=n.trim())&&!b1(n))f(v1(n),s);else if(T.isObject(n)&&T.isIterable(n)){let h={},m,g;for(const v of n){if(!T.isArray(v))throw new TypeError("Object iterator must return a key-value pair");h[g=v[0]]=(m=h[g])?T.isArray(m)?[...m,v[1]]:[m,v[1]]:v[1]}f(h,s)}else n!=null&&c(s,n,i);return this}get(n,s){if(n=_o(n),n){const i=T.findKey(this,n);if(i){const a=this[i];if(!s)return a;if(s===!0)return _1(a);if(T.isFunction(s))return s.call(this,a,i);if(T.isRegExp(s))return s.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,s){if(n=_o(n),n){const i=T.findKey(this,n);return!!(i&&this[i]!==void 0&&(!s||Iu(this,this[i],i,s)))}return!1}delete(n,s){const i=this;let a=!1;
vendor: 19,579 bytes, lines 93-94
93function c(f){if(f=_o(f),f){const h=T.findKey(i,f);h&&(!s||Iu(i,i[h],h,s))&&(delete i[h],a=!0)}}return T.isArray(n)?n.forEach(c):c(n),a}clear(n){const s=Object.keys(this);let i=s.length,a=!1;for(;i--;){const c=s[i];(!n||Iu(this,this[c],c,n,!0))&&(delete this[c],a=!0)}return a}normalize(n){const s=this,i={};return T.forEach(this,(a,c)=>{const f=T.findKey(i,c);if(f){s[f]=ml(a),delete s[c];return}const h=n?C1(c):String(c).trim();h!==c&&delete s[c],s[h]=ml(a),i[h]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const s=Object.create(null);return T.forEach(this,(i,a)=>{i!=null&&i!==!1&&(s[a]=n&&T.isArray(i)?i.join(", "):i)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,s])=>n+": "+s).join(`
94`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...s){const i=new this(n);return s.forEach(a=>i.set(a)),i}static accessor(n){const i=(this[Sp]=this[Sp]={accessors:{}}).accessors,a=this.prototype;function c(f){const h=_o(f);i[h]||(R1(a,f),i[h]=!0)}return T.isArray(n)?n.forEach(c):c(n),this}};_t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T.reduceDescriptors(_t.prototype,({value:r},n)=>{let s=n[0].toUpperCase()+n.slice(1);return{get:()=>r,set(i){this[s]=i}}});T.freezeMethods(_t);const T1="[REDACTED ****]";function O1(r){if(T.hasOwnProp(r,"toJSON"))return!0;let n=Object.getPrototypeOf(r);for(;n&&n!==Object.prototype;){if(T.hasOwnProp(n,"toJSON"))return!0;n=Object.getPrototypeOf(n)}return!1}function A1(r,n){const s=new Set(n.map(c=>String(c).toLowerCase())),i=[],a=c=>{if(c===null||typeof c!="object"||T.isBuffer(c))return c;if(i.indexOf(c)!==-1)return;c instanceof _t&&(c=c.toJSON()),i.push(c);let f;if(T.isArray(c))f=[],c.forEach((h,m)=>{const g=a(h);T.isUndefined(g)||(f[m]=g)});else{if(!T.isPlainObject(c)&&O1(c))return i.pop(),c;f=Object.create(null);for(const[h,m]of Object.entries(c)){const g=s.has(h.toLowerCase())?T1:a(m);T.isUndefined(g)||(f[h]=g)}}return i.pop(),f};return a(r)}let ne=class cy extends Error{static from(n,s,i,a,c,f){const h=new cy(n.message,s||n.code,i,a,c);return h.cause=n,h.name=n.name,n.status!=null&&h.status==null&&(h.status=n.status),f&&Object.assign(h,f),h}constructor(n,s,i,a,c){super(n),Object.defineProperty(this,"message",{__proto__:null,value:n,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),i&&(this.config=i),a&&(this.request=a),c&&(this.response=c,this.status=c.status)}toJSON(){const n=this.config,s=n&&T.hasOwnProp(n,"redact")?n.redact:void 0,i=T.isArray(s)&&s.length>0?A1(n,s):T.toJSONObject(n);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}}};ne.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ne.ERR_BAD_OPTION="ERR_BAD_OPTION";ne.ECONNABORTED="ECONNABORTED";ne.ETIMEDOUT="ETIMEDOUT";ne.ECONNREFUSED="ECONNREFUSED";ne.ERR_NETWORK="ERR_NETWORK";ne.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ne.ERR_DEPRECATED="ERR_DEPRECATED";ne.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ne.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ne.ERR_CANCELED="ERR_CANCELED";ne.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ne.ERR_INVALID_URL="ERR_INVALID_URL";ne.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const P1=null;function fc(r){return T.isPlainObject(r)||T.isArray(r)}function dy(r){return T.endsWith(r,"[]")?r.slice(0,-2):r}function Du(r,n,s){return r?r.concat(n).map(function(a,c){return a=dy(a),!s&&c?"["+a+"]":a}).join(s?".":""):n}function j1(r){return T.isArray(r)&&!r.some(fc)}const N1=T.toFlatObject(T,{},null,function(n){return/^is[A-Z]/.test(n)});function jl(r,n,s){if(!T.isObject(r))throw new TypeError("target must be an object");n=n||new FormData,s=T.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,R){return!T.isUndefined(R[x])});const i=s.metaTokens,a=s.visitor||S,c=s.dots,f=s.indexes,h=s.Blob||typeof Blob<"u"&&Blob,m=s.maxDepth===void 0?100:s.maxDepth,g=h&&T.isSpecCompliantForm(n);if(!T.isFunction(a))throw new TypeError("visitor must be a function");function v(b){if(b===null)return"";if(T.isDate(b))return b.toISOString();if(T.isBoolean(b))return b.toString();if(!g&&T.isBlob(b))throw new ne("Blob is not supported. Use a Buffer instead.");return T.isArrayBuffer(b)||T.isTypedArray(b)?g&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function S(b,x,R){let U=b;if(T.isReactNative(n)&&T.isReactNativeBlob(b))return n.append(Du(R,x,c),v(b)),!1;if(b&&!R&&typeof b=="object"){if(T.endsWith(x,"{}"))x=i?x:x.slice(0,-2),b=JSON.stringify(b);else if(T.isArray(b)&&j1(b)||(T.isFileList(b)||T.endsWith(x,"[]"))&&(U=T.toArray(b)))return x=dy(x),U.forEach(function(N,W){!(T.isUndefined(N)||N===null)&&n.append(f===!0?Du([x],W,c):f===null?x:x+"[]",v(N))}),!1}return fc(b)?!0:(n.append(Du(R,x,c),v(b)),!1)}const A=[],F=Object.assign(N1,{defaultVisitor:S,convertValue:v,isVisitable:fc});function I(b,x,R=0){if(!T.isUndefined(b)){if(R>m)throw new ne("Object is too deeply nested ("+R+" levels). Max depth: "+m,ne.ERR_FORM_DATA_DEPTH_EXCEEDED);if(A.indexOf(b)!==-1)throw new Error("Circular reference detected in "+x.join("."));A.push(b),T.forEach(b,function(L,N){(!(T.isUndefined(L)||L===null)&&a.call(n,L,T.isString(N)?N.trim():N,x,F))===!0&&I(L,x?x.concat(N):[N],R+1)}),A.pop()}}if(!T.isObject(r))throw new TypeError("data must be an object");return I(r),n}function Ep(r){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(r).replace(/[!'()~]|%20/g,function(i){return n[i]})}function jc(r,n){this._pairs=[],r&&jl(r,this,n)}const fy=jc.prototype;fy.append=function(n,s){this._pairs.push([n,s])};fy.toString=function(n){const s=n?function(i){return n.call(this,i,Ep)}:Ep;return this._pairs.map(function(a){return s(a[0])+"="+s(a[1])},"").join("&")};function L1(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function hy(r,n,s){if(!n)return r;const i=s&&s.encode||L1,a=T.isFunction(s)?{serialize:s}:s,c=a&&a.serialize;let f;if(c?f=c(n,a):f=T.isURLSearchParams(n)?n.toString():new jc(n,a).toString(i),f){const h=r.indexOf("#");h!==-1&&(r=r.slice(0,h)),r+=(r.indexOf("?")===-1?"?":"&")+f}return r}class kp{constructor(){this.handlers=[]}use(n,s,i){return this.handlers.push({fulfilled:n,rejected:s,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){T.forEach(this.handlers,function(i){i!==null&&n(i)})}}const Nc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},F1=typeof URLSearchParams<"u"?URLSearchParams:jc,I1=typeof FormData<"u"?FormData:null,D1=typeof Blob<"u"?Blob:null,U1={isBrowser:!0,classes:{URLSearchParams:F1,FormData:I1,Blob:D1},protocols:["http","https","file","blob","url","data"]},Lc=typeof window<"u"&&typeof document<"u",hc=typeof navigator=="object"&&navigator||void 0,z1=Lc&&(!hc||["ReactNative","NativeScript","NS"].indexOf(hc.product)<0),M1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",B1=Lc&&window.location.href||"http://localhost",$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Lc,hasStandardBrowserEnv:z1,hasStandardBrowserWebWorkerEnv:M1,navigator:hc,origin:B1},Symbol.toStringTag,{value:"Module"})),ht={...$1,...U1};function H1(r,n){return jl(r,new ht.classes.URLSearchParams,{visitor:function(s,i,a,c){return ht.isNode&&T.isBuffer(s)?(this.append(i,s.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...n})}function V1(r){return T.matchAll(/\w+|\[(\w*)]/g,r).map(n=>n[0]==="[]"?"":n[1]||n[0])}function q1(r){const n={},s=Object.keys(r);let i;const a=s.length;let c;for(i=0;i<a;i++)c=s[i],n[c]=r[c];return n}function py(r){function n(s,i,a,c){let f=s[c++];if(f==="__proto__")return!0;const h=Number.isFinite(+f),m=c>=s.length;return f=!f&&T.isArray(a)?a.length:f,m?(T.hasOwnProp(a,f)?a[f]=T.isArray(a[f])?a[f].concat(i):[a[f],i]:a[f]=i,!h):((!T.hasOwnProp(a,f)||!T.isObject(a[f]))&&(a[f]=[]),n(s,i,a[f],c)&&T.isArray(a[f])&&(a[f]=q1(a[f])),!h)}if(T.isFormData(r)&&T.isFunction(r.entries)){const s={};return T.forEachEntry(r,(i,a)=>{n(V1(i),a,s,0)}),s}return null}const ms=(r,n)=>r!=null&&T.hasOwnProp(r,n)?r[n]:void 0;function W1(r,n,s){if(T.isString(r))try{return(n||JSON.parse)(r),T.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(s||JSON.stringify)(r)}const Wo={transitional:Nc,adapter:["xhr","http","fetch"],transformRequest:[function(n,s){const i=s.getContentType()||"",a=i.indexOf("application/json")>-1,c=T.isObject(n);if(c&&T.isHTMLForm(n)&&(n=new FormData(n)),T.isFormData(n))return a?JSON.stringify(py(n)):n;if(T.isArrayBuffer(n)||T.isBuffer(n)||T.isStream(n)||T.isFile(n)||T.isBlob(n)||T.isReadableStream(n))return n;if(T.isArrayBufferView(n))return n.buffer;if(T.isURLSearchParams(n))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let h;if(c){const m=ms(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return H1(n,m).toString();if((h=T.isFileList(n))||i.indexOf("multipart/form-data")>-1){const g=ms(this,"env"),v=g&&g.FormData;return jl(h?{"files[]":n}:n,v&&new v,m)}}return c||a?(s.setContentType("application/json",!1),W1(n)):n}],transformResponse:[function(n){const s=ms(this,"transitional")||Wo.transitional,i=s&&s.forcedJSONParsing,a=ms(this,"responseType"),c=a==="json";if(T.isResponse(n)||T.isReadableStream(n))return n;if(n&&T.isString(n)&&(i&&!a||c)){const h=!(s&&s.silentJSONParsing)&&c;try{return JSON.parse(n,ms(this,"parseReviver"))}catch(m){if(h)throw m.name==="SyntaxError"?ne.from(m,ne.ERR_BAD_RESPONSE,this,null,ms(this,"response")):m}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T.forEach(["delete","get","head","post","put","patch","query"],r=>{Wo.headers[r]={}});function Uu(r,n){const s=this||Wo,i=n||s,a=_t.from(i.headers);let c=i.data;return T.forEach(r,function(h){c=h.call(s,c,a.normalize(),n?n.status:void 0)}),a.normalize(),c}function my(r){return!!(r&&r.__CANCEL__)}let Qo=class extends ne{constructor(n,s,i){super(n??"canceled",ne.ERR_CANCELED,s,i),this.name="CanceledError",this.__CANCEL__=!0}};function yy(r,n,s){const i=s.config.validateStatus;!s.status||!i||i(s.status)?r(s):n(new ne("Request failed with status code "+s.status,s.status>=400&&s.status<500?ne.ERR_BAD_REQUEST:ne.ERR_BAD_RESPONSE,s.config,s.request,s))}function Q1(r){const n=/^([-+\w]{1,25}):(?:\/\/)?/.exec(r);return n&&n[1]||""}function K1(r,n){r=r||10;const s=new Array(r),i=new Array(r);let a=0,c=0,f;return n=n!==void 0?n:1e3,function(m){const g=Date.now(),v=i[c];f||(f=g),s[a]=m,i[a]=g;let S=c,A=0;for(;S!==a;)A+=s[S++],S=S%r;if(a=(a+1)%r,a===c&&(c=(c+1)%r),g-f<n)return;const F=v&&g-v;return F?Math.round(A*1e3/F):void 0}}function G1(r,n){let s=0,i=1e3/n,a,c;const f=(g,v=Date.now())=>{s=v,a=null,c&&(clearTimeout(c),c=null),r(...g)};return[(...g)=>{const v=Date.now(),S=v-s;S>=i?f(g,v):(a=g,c||(c=setTimeout(()=>{c=null,f(a)},i-S)))},()=>a&&f(a)]}const bl=(r,n,s=3)=>{let i=0;const a=K1(50,250);return G1(c=>{if(!c||typeof c.loaded!="number")return;const f=c.loaded,h=c.lengthComputable?c.total:void 0,m=h!=null?Math.min(f,h):f,g=Math.max(0,m-i),v=a(g);i=Math.max(i,m);const S={loaded:m,total:h,progress:h?m/h:void 0,bytes:g,rate:v||void 0,estimated:v&&h?(h-m)/v:void 0,event:c,lengthComputable:h!=null,[n?"download":"upload"]:!0};r(S)},s)},_p=(r,n)=>{const s=r!=null;return[i=>n[0]({lengthComputable:s,total:r,loaded:i}),n[1]]},bp=r=>(...n)=>T.asap(()=>r(...n)),Y1=ht.hasStandardBrowserEnv?((r,n)=>s=>(s=new URL(s,ht.origin),r.protocol===s.protocol&&r.host===s.host&&(n||r.port===s.port)))(new URL(ht.origin),ht.navigator&&/(msie|trident)/i.test(ht.navigator.userAgent)):()=>!0,X1=ht.hasStandardBrowserEnv?{write(r,n,s,i,a,c,f){if(typeof document>"u")return;const h=[`${r}=${encodeURIComponent(n)}`];T.isNumber(s)&&h.push(`expires=${new Date(s).toUTCString()}`),T.isString(i)&&h.push(`path=${i}`),T.isString(a)&&h.push(`domain=${a}`),c===!0&&h.push("secure"),T.isString(f)&&h.push(`SameSite=${f}`),document.cookie=h.join("; ")},read(r){if(typeof document>"u")return null;const n=document.cookie.split(";");for(let s=0;s<n.length;s++){const i=n[s].replace(/^\s+/,""),a=i.indexOf("=");if(a!==-1&&i.slice(0,a)===r)return decodeURIComponent(i.slice(a+1))}return null},remove(r){this.write(r,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function J1(r){return typeof r!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function Z1(r,n){return n?r.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):r}function gy(r,n,s){let i=!J1(n);return r&&(i||s===!1)?Z1(r,n):n}const Cp=r=>r instanceof _t?{...r}:r;function $r(r,n){n=n||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(g,v,S,A){return T.isPlainObject(g)&&T.isPlainObject(v)?T.merge.call({caseless:A},g,v):T.isPlainObject(v)?T.merge({},v):T.isArray(v)?v.slice():v}function a(g,v,S,A){if(T.isUndefined(v)){if(!T.isUndefined(g))return i(void 0,g,S,A)}else return i(g,v,S,A)}function c(g,v){if(!T.isUndefined(v))return i(void 0,v)}function f(g,v){if(T.isUndefined(v)){if(!T.isUndefined(g))return i(void 0,g)}else return i(void 0,v)}function h(g,v,S){if(T.hasOwnProp(n,S))return i(g,v);if(T.hasOwnProp(r,S))return i(void 0,g)}const m={url:c,method:c,data:c,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,allowedSocketPaths:f,responseEncoding:f,validateStatus:h,headers:(g,v,S)=>a(Cp(g),Cp(v),S,!0)};return T.forEach(Object.keys({...r,...n}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const S=T.hasOwnProp(m,v)?m[v]:a,A=T.hasOwnProp(r,v)?r[v]:void 0,F=T.hasOwnProp(n,v)?n[v]:void 0,I=S(A,F,v);T.isUndefined(I)&&S!==h||(s[v]=I)}),s}const eS=["content-type","content-length"];function tS(r,n,s){if(s!=="content-only"){r.set(n);return}Object.entries(n).forEach(([i,a])=>{eS.includes(i.toLowerCase())&&r.set(i,a)})}const nS=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(n,s)=>String.fromCharCode(parseInt(s,16)));function vy(r){const n=$r({},r),s=A=>T.hasOwnProp(n,A)?n[A]:void 0,i=s("data");let a=s("withXSRFToken");const c=s("xsrfHeaderName"),f=s("xsrfCookieName");let h=s("headers");const m=s("auth"),g=s("baseURL"),v=s("allowAbsoluteUrls"),S=s("url");if(n.headers=h=_t.from(h),n.url=hy(gy(g,S,v),s("params"),s("paramsSerializer")),m&&h.set("Authorization","Basic "+btoa((m.username||"")+":"+(m.password?nS(m.password):""))),T.isFormData(i)&&(ht.hasStandardBrowserEnv||ht.hasStandardBrowserWebWorkerEnv||T.isReactNative(i)?h.setContentType(void 0):T.isFunction(i.getHeaders)&&tS(h,i.getHeaders(),s("formDataHeaderPolicy"))),ht.hasStandardBrowserEnv&&(T.isFunction(a)&&(a=a(n)),a===!0||a==null&&Y1(n.url))){const F=c&&f&&X1.read(f);F&&h.set(c,F)}return n}const rS=typeof XMLHttpRequest<"u",sS=rS&&function(r){return new Promise(function(s,i){const a=vy(r);let c=a.data;const f=_t.from(a.headers).normalize();let{responseType:h,onUploadProgress:m,onDownloadProgress:g}=a,v,S,A,F,I;function b(){F&&F(),I&&I(),a.cancelToken&&a.cancelToken.unsubscribe(v),a.signal&&a.signal.removeEventListener("abort",v)}let x=new XMLHttpRequest;x.open(a.method.toUpperCase(),a.url,!0),x.timeout=a.timeout;function R(){if(!x)return;const L=_t.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),W={data:!h||h==="text"||h==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:L,config:r,request:x};yy(function(he){s(he),b()},function(he){i(he),b()},W),x=null}"onloadend"in x?x.onloadend=R:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.startsWith("file:"))||setTimeout(R)},x.onabort=function(){x&&(i(new ne("Request aborted",ne.ECONNABORTED,r,x)),b(),x=null)},x.onerror=function(N){const W=N&&N.message?N.message:"Network Error",Y=new ne(W,ne.ERR_NETWORK,r,x);Y.event=N||null,i(Y),b(),x=null},x.ontimeout=function(){let N=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const W=a.transitional||Nc;a.timeoutErrorMessage&&(N=a.timeoutErrorMessage),i(new ne(N,W.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,r,x)),b(),x=null},c===void 0&&f.setContentType(null),"setRequestHeader"in x&&T.forEach(uy(f),function(N,W){x.setRequestHeader(W,N)}),T.isUndefined(a.withCredentials)||(x.withCredentials=!!a.withCredentials),h&&h!=="json"&&(x.responseType=a.responseType),g&&([A,I]=bl(g,!0),x.addEventListener("progress",A)),m&&x.upload&&([S,F]=bl(m),x.upload.addEventListener("progress",S),x.upload.addEventListener("loadend",F)),(a.cancelToken||a.signal)&&(v=L=>{x&&(i(!L||L.type?new Qo(null,r,x):L),x.abort(),b(),x=null)},a.cancelToken&&a.cancelToken.subscribe(v),a.signal&&(a.signal.aborted?v():a.signal.addEventListener("abort",v)));const U=Q1(a.url);if(U&&!ht.protocols.includes(U)){i(new ne("Unsupported protocol "+U+":",ne.ERR_BAD_REQUEST,r));return}x.send(c||null)})},oS=(r,n)=>{if(r=r?r.filter(Boolean):[],!n&&!r.length)return;const s=new AbortController;let i=!1;const a=function(m){if(!i){i=!0,f();const g=m instanceof Error?m:this.reason;s.abort(g instanceof ne?g:new Qo(g instanceof Error?g.message:g))}};let c=n&&setTimeout(()=>{c=null,a(new ne(`timeout of ${n}ms exceeded`,ne.ETIMEDOUT))},n);const f=()=>{r&&(c&&clearTimeout(c),c=null,r.forEach(m=>{m.unsubscribe?m.unsubscribe(a):m.removeEventListener("abort",a)}),r=null)};r.forEach(m=>m.addEventListener("abort",a));const{signal:h}=s;return h.unsubscribe=()=>T.asap(f),h},iS=function*(r,n){let s=r.byteLength;if(s<n){yield r;return}let i=0,a;for(;i<s;)a=i+n,yield r.slice(i,a),i=a},lS=async function*(r,n){for await(const s of aS(r))yield*iS(s,n)},aS=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const n=r.getReader();try{for(;;){const{done:s,value:i}=await n.read();if(s)break;yield i}}finally{await n.cancel()}},Rp=(r,n,s,i)=>{const a=lS(r,n);let c=0,f,h=m=>{f||(f=!0,i&&i(m))};return new ReadableStream({async pull(m){try{const{done:g,value:v}=await a.next();if(g){h(),m.close();return}let S=v.byteLength;if(s){let A=c+=S;s(A)}m.enqueue(new Uint8Array(v))}catch(g){throw h(g),g}},cancel(m){return h(m),a.return()}},{highWaterMark:2})};function uS(r){if(!r||typeof r!="string"||!r.startsWith("data:"))return 0;const n=r.indexOf(",");if(n<0)return 0;const s=r.slice(5,n),i=r.slice(n+1);if(/;base64/i.test(s)){let f=i.length;const h=i.length;for(let F=0;F<h;F++)if(i.charCodeAt(F)===37&&F+2<h){const I=i.charCodeAt(F+1),b=i.charCodeAt(F+2);(I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102)&&(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102)&&(f-=2,F+=2)}let m=0,g=h-1;const v=F=>F>
vendor: 4,682 bytes, line 94
94=2&&i.charCodeAt(F-2)===37&&i.charCodeAt(F-1)===51&&(i.charCodeAt(F)===68||i.charCodeAt(F)===100);g>=0&&(i.charCodeAt(g)===61?(m++,g--):v(g)&&(m++,g-=3)),m===1&&g>=0&&(i.charCodeAt(g)===61||v(g))&&m++;const A=Math.floor(f/4)*3-(m||0);return A>0?A:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(i,"utf8");let c=0;for(let f=0,h=i.length;f<h;f++){const m=i.charCodeAt(f);if(m<128)c+=1;else if(m<2048)c+=2;else if(m>=55296&&m<=56319&&f+1<h){const g=i.charCodeAt(f+1);g>=56320&&g<=57343?(c+=4,f++):c+=3}else c+=3}return c}const Fc="1.17.0",Tp=64*1024,{isFunction:ul}=T,cS=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(n,s)=>String.fromCharCode(parseInt(s,16))),Op=r=>{if(!T.isString(r))return r;try{return decodeURIComponent(r)}catch{return r}},Ap=(r,...n)=>{try{return!!r(...n)}catch{return!1}},dS=r=>{const n=r.indexOf("://");let s=r;return n!==-1&&(s=s.slice(n+3)),s.includes("@")||s.includes(":")},fS=r=>{const n=T.global!==void 0&&T.global!==null?T.global:globalThis,{ReadableStream:s,TextEncoder:i}=n;r=T.merge.call({skipUndefined:!0},{Request:n.Request,Response:n.Response},r);const{fetch:a,Request:c,Response:f}=r,h=a?ul(a):typeof fetch=="function",m=ul(c),g=ul(f);if(!h)return!1;const v=h&&ul(s),S=h&&(typeof i=="function"?(R=>U=>R.encode(U))(new i):async R=>new Uint8Array(await new c(R).arrayBuffer())),A=m&&v&&Ap(()=>{let R=!1;const U=new c(ht.origin,{body:new s,method:"POST",get duplex(){return R=!0,"half"}}),L=U.headers.has("Content-Type");return U.body!=null&&U.body.cancel(),R&&!L}),F=g&&v&&Ap(()=>T.isReadableStream(new f("").body)),I={stream:F&&(R=>R.body)};h&&["text","arrayBuffer","blob","formData","stream"].forEach(R=>{!I[R]&&(I[R]=(U,L)=>{let N=U&&U[R];if(N)return N.call(U);throw new ne(`Response type '${R}' is not supported`,ne.ERR_NOT_SUPPORT,L)})});const b=async R=>{if(R==null)return 0;if(T.isBlob(R))return R.size;if(T.isSpecCompliantForm(R))return(await new c(ht.origin,{method:"POST",body:R}).arrayBuffer()).byteLength;if(T.isArrayBufferView(R)||T.isArrayBuffer(R))return R.byteLength;if(T.isURLSearchParams(R)&&(R=R+""),T.isString(R))return(await S(R)).byteLength},x=async(R,U)=>{const L=T.toFiniteNumber(R.getContentLength());return L??b(U)};return async R=>{let{url:U,method:L,data:N,signal:W,cancelToken:Y,timeout:he,onDownloadProgress:M,onUploadProgress:de,responseType:we,headers:fe,withCredentials:Pe="same-origin",fetchOptions:We,maxContentLength:Ae,maxBodyLength:Fe}=vy(R);const Re=T.isNumber(Ae)&&Ae>-1,Te=T.isNumber(Fe)&&Fe>-1,Q=X=>T.hasOwnProp(R,X)?R[X]:void 0;let ie=a||fetch;we=we?(we+"").toLowerCase():"text";let D=oS([W,Y&&Y.toAbortSignal()],he),C=null;const z=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let ge;try{let X;const oe=Q("auth");if(oe){const pe=oe.username||"",st=oe.password||"";X={username:pe,password:st}}if(dS(U)){const pe=new URL(U,ht.origin);if(!X&&(pe.username||pe.password)){const st=Op(pe.username),wt=Op(pe.password);X={username:st,password:wt}}(pe.username||pe.password)&&(pe.username="",pe.password="",U=pe.href)}if(X&&(fe.delete("authorization"),fe.set("Authorization","Basic "+btoa(cS((X.username||"")+":"+(X.password||""))))),Re&&typeof U=="string"&&U.startsWith("data:")&&uS(U)>Ae)throw new ne("maxContentLength size of "+Ae+" exceeded",ne.ERR_BAD_RESPONSE,R,C);if(Te&&L!=="get"&&L!=="head"){const pe=await x(fe,N);if(typeof pe=="number"&&isFinite(pe)&&pe>Fe)throw new ne("Request body larger than maxBodyLength limit",ne.ERR_BAD_REQUEST,R,C)}if(de&&A&&L!=="get"&&L!=="head"&&(ge=await x(fe,N))!==0){let pe=new c(U,{method:"POST",body:N,duplex:"half"}),st;if(T.isFormData(N)&&(st=pe.headers.get("content-type"))&&fe.setContentType(st),pe.body){const[wt,It]=_p(ge,bl(bp(de)));N=Rp(pe.body,Tp,wt,It)}}T.isString(Pe)||(Pe=Pe?"include":"omit");const ce=m&&"credentials"in c.prototype;if(T.isFormData(N)){const pe=fe.getContentType();pe&&/^multipart\/form-data/i.test(pe)&&!/boundary=/i.test(pe)&&fe.delete("content-type")}fe.set("User-Agent","axios/"+Fc,!1);const be={...We,signal:D,method:L.toUpperCase(),headers:uy(fe.normalize()),body:N,duplex:"half",credentials:ce?Pe:void 0};C=m&&new c(U,be);let ve=await(m?ie(C,We):ie(U,be));if(Re){const pe=T.toFiniteNumber(ve.headers.get("content-length"));if(pe!=null&&pe>Ae)throw new ne("maxContentLength size of "+Ae+" exceeded",ne.ERR_BAD_RESPONSE,R,C)}const me=F&&(we==="stream"||we==="response");if(F&&ve.body&&(M||Re||me&&z)){const pe={};["status","statusText","headers"].forEach(wn=>{pe[wn]=ve[wn]});const st=T.toFiniteNumber(ve.headers.get("content-length")),[wt,It]=M&&_p(st,bl(bp(M),!0))||[];let Fs=0;const Go=wn=>{if(Re&&(Fs=wn,Fs>Ae))throw new ne("maxContentLength size of "+Ae+" exceeded",ne.ERR_BAD_RESPONSE,R,C);
vendor: 7,229 bytes, lines 94-100
94wt&&wt(wn)};ve=new f(Rp(ve.body,Tp,Go,()=>{It&&It(),z&&z()}),pe)}we=we||"text";let Ie=await I[T.findKey(I,we)||"text"](ve,R);if(Re&&!F&&!me){let pe;if(Ie!=null&&(typeof Ie.byteLength=="number"?pe=Ie.byteLength:typeof Ie.size=="number"?pe=Ie.size:typeof Ie=="string"&&(pe=typeof i=="function"?new i().encode(Ie).byteLength:Ie.length)),typeof pe=="number"&&pe>Ae)throw new ne("maxContentLength size of "+Ae+" exceeded",ne.ERR_BAD_RESPONSE,R,C)}return!me&&z&&z(),await new Promise((pe,st)=>{yy(pe,st,{data:Ie,headers:_t.from(ve.headers),status:ve.status,statusText:ve.statusText,config:R,request:C})})}catch(X){if(z&&z(),D&&D.aborted&&D.reason instanceof ne){const oe=D.reason;throw oe.config=R,C&&(oe.request=C),X!==oe&&(oe.cause=X),oe}throw X&&X.name==="TypeError"&&/Load failed|fetch/i.test(X.message)?Object.assign(new ne("Network Error",ne.ERR_NETWORK,R,C,X&&X.response),{cause:X.cause||X}):ne.from(X,X&&X.code,R,C,X&&X.response)}}},hS=new Map,wy=r=>{let n=r&&r.env||{};const{fetch:s,Request:i,Response:a}=n,c=[i,a,s];let f=c.length,h=f,m,g,v=hS;for(;h--;)m=c[h],g=v.get(m),g===void 0&&v.set(m,g=h?new Map:fS(n)),v=g;return g};wy();const Ic={http:P1,xhr:sS,fetch:{get:wy}};T.forEach(Ic,(r,n)=>{if(r){try{Object.defineProperty(r,"name",{__proto__:null,value:n})}catch{}Object.defineProperty(r,"adapterName",{__proto__:null,value:n})}});const Pp=r=>`- ${r}`,pS=r=>T.isFunction(r)||r===null||r===!1;function mS(r,n){r=T.isArray(r)?r:[r];const{length:s}=r;let i,a;const c={};for(let f=0;f<s;f++){i=r[f];let h;if(a=i,!pS(i)&&(a=Ic[(h=String(i)).toLowerCase()],a===void 0))throw new ne(`Unknown adapter '${h}'`);if(a&&(T.isFunction(a)||(a=a.get(n))))break;c[h||"#"+f]=a}if(!a){const f=Object.entries(c).map(([m,g])=>`adapter ${m} `+(g===!1?"is not supported by the environment":"is not available in the build"));let h=s?f.length>1?`since :
95`+f.map(Pp).join(`
96`):" "+Pp(f[0]):"as no adapter specified";throw new ne("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return a}const xy={getAdapter:mS,adapters:Ic};function zu(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new Qo(null,r)}function jp(r){return zu(r),r.headers=_t.from(r.headers),r.data=Uu.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),xy.getAdapter(r.adapter||Wo.adapter,r)(r).then(function(i){zu(r),r.response=i;try{i.data=Uu.call(r,r.transformResponse,i)}finally{delete r.response}return i.headers=_t.from(i.headers),i},function(i){if(!my(i)&&(zu(r),i&&i.response)){r.response=i.response;try{i.response.data=Uu.call(r,r.transformResponse,i.response)}finally{delete r.response}i.response.headers=_t.from(i.response.headers)}return Promise.reject(i)})}const Nl={};["object","boolean","number","function","string","symbol"].forEach((r,n)=>{Nl[r]=function(i){return typeof i===r||"a"+(n<1?"n ":" ")+r}});const Np={};Nl.transitional=function(n,s,i){function a(c,f){return"[Axios v"+Fc+"] Transitional option '"+c+"'"+f+(i?". "+i:"")}return(c,f,h)=>{if(n===!1)throw new ne(a(f," has been removed"+(s?" in "+s:"")),ne.ERR_DEPRECATED);return s&&!Np[f]&&(Np[f]=!0,console.warn(a(f," has been deprecated since v"+s+" and will be removed in the near future"))),n?n(c,f,h):!0}};Nl.spelling=function(n){return(s,i)=>(console.warn(`${i} is likely a misspelling of ${n}`),!0)};function yS(r,n,s){if(typeof r!="object")throw new ne("options must be an object",ne.ERR_BAD_OPTION_VALUE);const i=Object.keys(r);let a=i.length;for(;a-- >0;){const c=i[a],f=Object.prototype.hasOwnProperty.call(n,c)?n[c]:void 0;if(f){const h=r[c],m=h===void 0||f(h,c,r);if(m!==!0)throw new ne("option "+c+" must be "+m,ne.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new ne("Unknown option "+c,ne.ERR_BAD_OPTION)}}const yl={assertOptions:yS,validators:Nl},Pt=yl.validators;let zr=class{constructor(n){this.defaults=n||{},this.interceptors={request:new kp,response:new kp}}async request(n,s){try{return await this._request(n,s)}catch(i){if(i instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const c=(()=>{if(!a.stack)return"";const f=a.stack.indexOf(`
97`);return f===-1?"":a.stack.slice(f+1)})();try{if(!i.stack)i.stack=c;else if(c){const f=c.indexOf(`
98`),h=f===-1?-1:c.indexOf(`
99`,f+1),m=h===-1?"":c.slice(h+1);String(i.stack).endsWith(m)||(i.stack+=`
100`+c)}}catch{}}throw i}}_request(n,s){typeof n=="string"?(s=s||{},s.url=n):s=n||{},s=$r(this.defaults,s);const{transitional:i,paramsSerializer:a,headers:c}=s;i!==void 0&&yl.assertOptions(i,{silentJSONParsing:Pt.transitional(Pt.boolean),forcedJSONParsing:Pt.transitional(Pt.boolean),clarifyTimeoutError:Pt.transitional(Pt.boolean),legacyInterceptorReqResOrdering:Pt.transitional(Pt.boolean),advertiseZstdAcceptEncoding:Pt.transitional(Pt.boolean)},!1),a!=null&&(T.isFunction(a)?s.paramsSerializer={serialize:a}:yl.assertOptions(a,{encode:Pt.function,serialize:Pt.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),yl.assertOptions(s,{baseUrl:Pt.spelling("baseURL"),withXsrfToken:Pt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let f=c&&T.merge(c.common,c[s.method]);c&&T.forEach(["delete","get","head","post","put","patch","query","common"],I=>{delete c[I]}),s.headers=_t.concat(f,c);const h=[];let m=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(s)===!1)return;m=m&&b.synchronous;const x=s.transitional||Nc;x&&x.legacyInterceptorReqResOrdering?h.unshift(b.fulfilled,b.rejected):h.push(b.fulfilled,b.rejected)});const g=[];this.interceptors.response.forEach(function(b){g.push(b.fulfilled,b.rejected)});let v,S=0,A;if(!m){const I=[jp.bind(this),void 0];for(I.unshift(...h),I.push(...g),A=I.length,v=Promise.resolve(s);S<A;)v=v.then(I[S++],I[S++]);return v}A=h.length;let F=s;for(;S<A;){const I=h[S++],b=h[S++];try{F=I(F)}catch(x){b.call(this,x);break}}try{v=jp.call(this,F)}catch(I){return Promise.reject(I)}for(S=0,A=g.length;S<A;)v=v.then(g[S++],g[S++]);return v}getUri(n){n=$r(this.defaults,n);const s=gy(n.baseURL,n.url,n.allowAbsoluteUrls);return hy(s,n.params,n.paramsSerializer)}};T.forEach(["delete","get","head","options"],function(n){zr.prototype[n]=function(s,i){return this.request($r(i||{},{method:n,url:s,data:(i||{}).data}))}});T.forEach(["post","put","patch","query"],function(n){function s(i){return function(c,f,h){return this.request($r(h||{},{method:n,headers:i?{"Content-Type":"multipart/form-data"}:{},url:c,data:f}))}}zr.prototype[n]=s(),n!=="query"&&(zr.prototype[n+"Form"]=s(!0))});let gS=class Sy{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(c){s=c});const i=this;this.promise.then(a=>{if(!i._listeners)return;let c=i._listeners.length;for(;c-- >0;)i._listeners[c](a);i._listeners=null}),this.promise.then=a=>{let c;const f=new Promise(h=>{i.subscribe(h),c=h}).then(a);return f.cancel=function(){i.unsubscribe(c)},f},n(function(c,f,h){i.reason||(i.reason=new Qo(c,f,h),s(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
100subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const s=this._listeners.indexOf(n);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const n=new AbortController,s=i=>{n.abort(i)};return this.subscribe(s),n.signal.unsubscribe=()=>this.unsubscribe(s),n.signal}static source(){let n;return{token:new Sy(function(a){n=a}),cancel:n}}};function vS(r){return function(s){return r.apply(null,s)}}function wS(r){return T.isObject(r)&&r.isAxiosError===!0}const pc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(pc).forEach(([r,n])=>{pc[n]=r});function Ey(r){const n=new zr(r),s=ty(zr.prototype.request,n);return T.extend(s,zr.prototype,n,{allOwnKeys:!0}),T.extend(s,n,null,{allOwnKeys:!0}),s.create=function(a){return Ey($r(r,a))},s}const Xe=Ey(Wo);Xe.Axios=zr;Xe.CanceledError=Qo;Xe.CancelToken=gS;Xe.isCancel=my;Xe.VERSION=Fc;Xe.toFormData=jl;Xe.AxiosError=ne;Xe.Cancel=Xe.CanceledError;Xe.all=function(n){return Promise.all(n)};Xe.spread=vS;Xe.isAxiosError=wS;Xe.mergeConfig=$r;Xe.AxiosHeaders=_t;Xe.formToJSON=r=>py(T.isHTMLForm(r)?new FormData(r):r);Xe.getAdapter=xy.getAdapter;Xe.HttpStatusCode=pc;Xe.default=Xe;const{Axios:xk,AxiosError:Sk,CanceledError:Ek,isCancel:kk,CancelToken:_k,VERSION:bk,all:Ck,Cancel:Rk,isAxiosError:Tk,spread:Ok,toFormData:Ak,AxiosHeaders:Pk,HttpStatusCode:jk,formToJSON:Nk,getAdapter:Lk,mergeConfig:Fk,create:Ik}=Xe,ky=typeof window>"u",Lp=!ky&&window.self!==window.top,xS=!ky&&typeof document>"u",Mu=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),dt=[];for(let r=0;r<256;++r)dt.push((r+256).toString(16).slice(1));function SS(r,n=0){return(dt[r[n+0]]+dt[r[n+1]]+dt[r[n+2]]+dt[r[n+3]]+"-"+dt[r[n+4]]+dt[r[n+5]]+"-"+dt[r[n+6]]+dt[r[n+7]]+"-"+dt[r[n+8]]+dt[r[n+9]]+"-"+dt[r[n+10]]+dt[r[n+11]]+dt[r[n+12]]+dt[r[n+13]]+dt[r[n+14]]+dt[r[n+15]]).toLowerCase()}let Bu;const ES=new Uint8Array(16);function kS(){if(!Bu){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Bu=crypto.getRandomValues.bind(crypto)}return Bu(ES)}const _S=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Fp={randomUUID:_S};function bS(r,n,s){var a;r=r||{};const i=r.random??((a=r.rng)==null?void 0:a.call(r))??kS();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,SS(i)}function CS(r,n,s){return Fp.randomUUID&&!r?Fp.randomUUID():bS(r)}const bo=typeof window<"u"?window:{base44SharedInstances:{}};function RS(r,n){return bo.base44SharedInstances||(bo.base44SharedInstances={}),bo.base44SharedInstances[r]||(bo.base44SharedInstances[r]={instance:n()}),bo.base44SharedInstances[r].instance}const TS="__user_heartbeat_event__",OS="__initialization_event__",AS="__session_duration_event__",Ip="analytics-enable",Dp="base44_analytics_session_id",PS={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},jS="analytics",Le=RS(jS,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...PS,...MS()}})),NS=({axiosClient:r,serverUrl:n,appId:s,userAuthModule:i})=>{var a;const{maxQueueSize:c,throttleTime:f,batchSize:h}=Le.config;if(!(!((a=Le.config)===null||a===void 0)&&a.enabled)||xS)return{track:()=>{},cleanup:()=>{}};let m;const g=`${n}/api/apps/${s}/analytics/track/batch`,v=async L=>{await r.request({method:"POST",url:`/apps/${s}/analytics/track/batch`,data:{events:L}})},S=L=>{try{const N=JSON.stringify({events:L}),W=new Blob([N],{type:"application/json"});return typeof navigator>"u"||N.length>6e4||!navigator.sendBeacon(g,W)}catch{return!1}},A=async(L,N={})=>
100{if(L.length===0)return;const W=await zS(i),Y=L.map(US(W));try{(!N.isBeacon||!S(Y))&&await v(Y)}catch{}},F=()=>{zp(A,{throttleTime:f,batchSize:h})},I=L=>{if(Le.requestsQueue.length>=c)return;const N=DS();Le.requestsQueue.push({...L,...N}),F()},b=()=>{zp(A,{throttleTime:f,batchSize:h}),m=Mp(I),FS()},x=()=>{Up(),m==null||m(),IS(I);const L=Le.requestsQueue.splice(0);A(L,{isBeacon:!0})},R=()=>{typeof window>"u"||(document.visibilityState==="hidden"?x():document.visibilityState==="visible"&&b())},U=()=>{Up(),m==null||m(),typeof window<"u"&&window.removeEventListener("visibilitychange",R)};return F(),m=Mp(I),LS(I),typeof window<"u"&&window.addEventListener("visibilitychange",R),{track:I,cleanup:U}};function Up(){Le.isProcessing=!1}async function zp(r,n){if(Le.isProcessing)return;Le.isProcessing=!0;const{throttleTime:s=1e3,batchSize:i=30}=n??{};for(;Le.isProcessing&&Le.requestsQueue.length>0;){const a=Le.requestsQueue.splice(0,i);a.length&&await r(a),await new Promise(c=>setTimeout(c,s))}Le.isProcessing=!1}function Mp(r){var n;if(Le.isHeartBeatProcessing||((n=Le.config.heartBeatInterval)!==null&&n!==void 0?n:0)<10)return()=>{};Le.isHeartBeatProcessing=!0;const s=setInterval(()=>{r({eventName:TS})},Le.config.heartBeatInterval);return()=>{clearInterval(s),Le.isHeartBeatProcessing=!1}}function LS(r){typeof window>"u"||Le.wasInitializationTracked||(Le.wasInitializationTracked=!0,r({eventName:OS,properties:{referrer:document==null?void 0:document.referrer}}))}function FS(){typeof window>"u"||Le.sessionStartTime!==null||(Le.sessionStartTime=new Date().toISOString())}function IS(r){if(typeof window>"u"||Le.sessionStartTime===null)return;const n=new Date().getTime()-new Date(Le.sessionStartTime).getTime();Le.sessionStartTime=null,r({eventName:AS,properties:{sessionDuration:n}})}function DS(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function US(r){return n=>({event_name:n.eventName,properties:n.properties,timestamp:n.timestamp,page_url:n.pageUrl,...r})}let $u=null;async function zS(r){if(!Le.sessionContext){if(!$u){const n=Dc();$u=r.me().then(s=>({user_id:s.id,session_id:n})).catch(()=>({user_id:null,session_id:n}))}Le.sessionContext=await $u}return Le.sessionContext}function MS(){if(typeof window>"u"||!window.location)return;const n=new URLSearchParams(window.location.search).get(Ip);if(n==null||!n.length)return;const s=new URLSearchParams(window.location.search);s.delete(Ip);const i=window.location.pathname+(s.toString()?"?"+s.toString():"");return window.history.replaceState({},"",i),{enabled:n==="true"}}function Dc(){if(typeof window>"u")return Mu();try{const r=localStorage.getItem(Dp);if(!r){const n=Mu();return localStorage.setItem(Dp,n),n}return r}catch{return Mu()}}class BS extends Error{constructor(n,s,i,a,c){super(n),this.name="Base44Error",this.status=s,this.code=i,this.data=a,this.originalError=c}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function To({baseURL:r,headers:n={},token:s,interceptResponses:i=!0,onError:a}){const c=Xe.create({baseURL:r,headers:{"Content-Type":"application/json",Accept:"application/json",...n}});return s&&(c.defaults.headers.common.Authorization=`Bearer ${s}`),c.interceptors.request.use(f=>{typeof window<"u"&&window.location&&(f.headers.set("X-Origin-URL",window.location.href),f.headers.get("Authorization")||f.headers.set("X-Base44-Anonymous-Id",Dc()));const h=CS();if(f.requestId=h,Lp)try{window.parent.postMessage({type:"api-request-start",requestId:h,data:{url:r+f.url,method:f.method,body:f.data instanceof FormData?"[FormData object]":f.data}},"*")}catch{}return f}),i&&c.interceptors.response.use(f=>{var h;const m=(h=f.config)===null||h===void 0?void 0:h.requestId;try{Lp&&m&&window.parent.postMessage({type:"api-request-end",requestId:m,data:{statusCode:f.status,response:f.data}},"*")}catch{}return f.data},f=>{var h,m,g,v,S,A,F,I;const b=((m=(h=f.response)===null||h===void 0?void 0:h.data)===null||m===void 0?void 0:m.message)||((v=(g=f.response)===null||g===void 0?void 0:g.data)===null||v===void 0?void 0:v.detail)||f.message,x=new BS(b,(S=f.response)===null||S===void 0?void 0:S.status,(F=(A=f.response)===null||A===void 0?void 0:A.data)===null||F===void 0?void 0:F.code,(I=f.response)===null||I===void 0?void 0:I.data,f);return a==null||a(x),Promise.reject(x)}),c}function Bp(r){const{axios:n,appId:s,getSocket:i}=r;return new Proxy({},{get(a,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return HS(n,s,c,i)}})}function $S(r){var n;try{const s=JSON.parse(r);return{type:s.type,data:s.data,id:s.id||((n=s.data)===null||n===void 0?void 0:n.id),timestamp:s.timestamp||new Date().toISOString()}}catch(s){return console.warn("[Base44 SDK] Failed to parse realtime message:",s),null}}function HS(r,n,s,i){const a=`/apps/${n}/entities/${s}`;return{async list(c,f,h,m){const g={};return c&&(g.sort=c),f&&(g.limit=f),h&&(g.skip=h),m&&(g.fields=Array.isArray(m)?m.join(","):m),r.get(a,{params:g})},async filter(c,f,h,m,g){const v={q:JSON.stringify(c)};return f&&(v.sort=f),h&&(v.limit=h),m&&(v.skip=m),g&&(v.fields=Array.isArray(g)?g.join(","):g),r.get(a,{params:v})},async get(c){return r.get(`${a}/${c}`)},async create(c){return r.post(a,c)},async update(c,f){return r.put(`${a}/${c}`,f)},async delete(c){return r.delete(`${a}/${c}`)},async deleteMany(c){return r.delete(a,{data:c})},async bulkCreate(c){return r.post(`${a}/bulk`,c)},async updateMany(c,f){return r.patch(`${a}/update-many`,{query:c,data:f})},async bulkUpdate(c){return r.put(`${a}/bulk`,c)},async importEntities(c){const f=new FormData;return f.append("file",c,c.name),r.post(`${a}/import`,f,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(c){const f=`entities:${n}:${s}`;return i().subscribeToRoom(f,{update_model:g=>{var v;const S=$S(g.data);if(S){S.type!=="delete"&&(!((v=S.data)===null||v===void 0)&&v._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${s}#${S.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("${S.id}")\` to fetch the full record.`);try{c(S)}catch(A){console.error("[Base44 SDK] Subscription callback error:",A)}}}})}}}function VS(r,n){return{async call(s,i,a){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:c,queryParams:f,...h}=a??{},m={...h,...c&&{path_params:c},...f&&{query_params:f}};return await r.post(`/apps/${n}/integrations/custom/${s}/${i}`,m)}}}function $p(r,n){const s=VS(r,n);return new Proxy({},{get(i,a){if(!(typeof a!="string"||a==="then"||a.startsWith("_")))return a==="custom"?s:new Proxy({},{get(c,f){if(!(typeof f!="string"||f==="then"||f.startsWith("_")))return async h=>{if(typeof h=="string")throw new Error(`Integration ${f} must receive an object with named parameters, received: ${h}`);let m,g;return h instanceof FormData||h&&Object.values(h).some(v=>
100v 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])}),g="multipart/form-data"):(m=h,g="application/json"),a==="Core"?r.post(`/apps/${n}/integration-endpoints/Core/${f}`,m||h,{headers:{"Content-Type":g}}):r.post(`/apps/${n}/integration-endpoints/installable/${a}/integration-endpoints/${f}`,m||h,{headers:{"Content-Type":g}})}}})}})}function qS(){return typeof window>"u"?!1:window!==window.parent}function WS(r,n,s){const c=Math.round(window.screenX+(window.outerWidth-500)/2),f=Math.round(window.screenY+(window.outerHeight-600)/2),h=window.open(r,"base44_auth",`width=500,height=600,left=${c},top=${f},resizable=yes,scrollbars=yes`);if(!h)return;const m=()=>{window.removeEventListener("message",g),clearInterval(v),h.closed||h.close()},g=S=>{var A;if(S.origin!==s||S.source!==h||!(!((A=S.data)===null||A===void 0)&&A.access_token))return;m();const F=new URL(n),{access_token:I,is_new_user:b}=S.data;F.searchParams.set("access_token",I),b!=null&&F.searchParams.set("is_new_user",String(b)),window.location.href=F.toString()},v=setInterval(()=>{h.closed&&m()},500);window.addEventListener("message",g)}function QS(r,n,s,i){return{async me(){return r.get(`/apps/${s}/entities/User/me`)},async updateMe(a){return r.put(`/apps/${s}/entities/User/me`,a)},redirectToLogin(a){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const c=a?new URL(a,window.location.origin).toString():window.location.href,f=`${i.appBaseUrl}/login?from_url=${encodeURIComponent(c)}`;window.location.href=f},loginWithProvider(a,c="/"){const f=new URL(c,window.location.origin).toString(),h=`app_id=${s}&from_url=${encodeURIComponent(f)}`;let m;a==="sso"?m=`/apps/${s}/auth/sso/login`:m=`/apps/auth${a==="google"?"":`/${a}`}/login`;const g=`${i.appBaseUrl}/api${m}?${h}`;if(qS()){const v=`${g}&popup_origin=${encodeURIComponent(window.location.origin)}`;return WS(v,f,window.location.origin)}window.location.href=g},logout(a){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 c=a||window.location.href,f=`${i.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(c)}`;window.location.href=f}},setToken(a,c=!0){if(a&&(r.defaults.headers.common.Authorization=`Bearer ${a}`,n.defaults.headers.common.Authorization=`Bearer ${a}`,c&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",a),window.localStorage.setItem("token",a)}catch(f){console.error("Failed to save token to localStorage:",f)}},async loginViaEmailPassword(a,c,f){var h;try{const m=await r.post(`/apps/${s}/auth/login`,{email:a,password:c,...f&&{turnstile_token:f}}),{access_token:g,user:v}=m;return g&&this.setToken(g),{access_token:g,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(a,c){return r.post(`/apps/${s}/users/invite-user`,{user_email:a,role:c})},register(a){return r.post(`/apps/${s}/auth/register`,a)},verifyOtp({email:a,otpCode:c}){return r.post(`/apps/${s}/auth/verify-otp`,{email:a,otp_code:c})},resendOtp(a){return r.post(`/apps/${s}/auth/resend-otp`,{email:a})},resetPasswordRequest(a){return r.post(`/apps/${s}/auth/reset-password-request`,{email:a})},resetPassword({resetToken:a,newPassword:c}){return r.post(`/apps/${s}/auth/reset-password`,{reset_token:a,new_password:c})},changePassword({userId:a,currentPassword:c,newPassword:f}){return r.post(`/apps/${s}/auth/change-password`,{user_id:a,current_password:c,new_password:f})}}}function KS(r,n){return{async getAccessToken(s){const i=`/apps/${n}/auth/sso/accesstoken/${s}`;return r.get(i)}}}function GS(r,n){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/${n}/external-auth/tokens/${s}`)).access_token},async getConnection(s){var i;
100if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");const c=await r.get(`/apps/${n}/external-auth/tokens/${s}`);return{accessToken:c.access_token,connectionConfig:(i=c.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 c=await r.get(`/apps/${n}/external-auth/tokens/connectors/${s}`);return{accessToken:c.access_token,connectionConfig:(i=c.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/${n}/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 c=await r.get(`/apps/${n}/app-user-auth/connectors/${s}/token`);return{accessToken:c.access_token,connectionConfig:(i=c.connection_config)!==null&&i!==void 0?i:null}}}}function YS(r,n){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/${n}/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/${n}/app-user-auth/connectors/${s}`)}}}function js(r={}){const{storageKey:n="base44_access_token",paramName:s="access_token",saveToStorage:i=!0,removeFromUrl:a=!0}=r;let c=null;if(typeof window<"u"&&window.location)try{const f=new URLSearchParams(window.location.search);if(c=f.get(s),c){if(i&&XS(c,{storageKey:n}),a){f.delete(s);const h=`${window.location.pathname}${f.toString()?`?${f.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}return c}}catch(f){console.error("Error retrieving token from URL:",f)}if(typeof window<"u"&&window.localStorage)try{return c=window.localStorage.getItem(n),c}catch(f){console.error("Error retrieving token from local storage:",f)}return null}function XS(r,n){const{storageKey:s="base44_access_token"}=n;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 Hp(r,n,s){const i=(c,f)=>c?`${String(c).replace(/\/$/,"")}${f}`:f,a=c=>{const f=new Headers;if(s!=null&&s.getAuthHeaders){const h=s.getAuthHeaders();Object.entries(h).forEach(([m,g])=>{g!=null&&f.set(m,String(g))})}return c&&new Headers(c).forEach((h,m)=>{f.set(m,h)}),f};return{async invoke(c,f){if(typeof f=="string")throw new Error(`Function ${c} must receive an object with named parameters, received: ${f}`);let h,m;return f instanceof FormData||f&&Object.values(f).some(g=>g instanceof File)?(h=new FormData,Object.keys(f).forEach(g=>{f[g]instanceof File?h.append(g,f[g],f[g].name):typeof f[g]=="object"&&f[g]!==null?h.append(g,JSON.stringify(f[g])):h.append(g,f[g])}),m="multipart/form-data"):(h=f,m="application/json"),r.post(`/apps/${n}/functions/${c}`,h||f,{headers:{"Content-Type":m}})},async fetch(c,f={}){const m=`/functions${c.startsWith("/")?c:`/${c}`}`,g=a(f.headers),v={...f,headers:g};return await fetch(i(s==null?void 0:s.baseURL,m),v)}}}function Vp({axios:r,getSocket:n,appId:s,serverUrl:i,token:a}){const c=`/apps/${s}/agents`,f={},h=()=>r.get(`${c}/conversations`),m=b=>r.get(`${c}/conversations/${b}`);return{getConversations:h,getConversation:m,listConversations:b=>r.get(`${c}/conversations`,{params:b}),createConversation:b=>r.post(`${c}/conversations`,b),addMessage:async(b,x)=>r.post(`${c}/conversations/v2/${b.id}/messages`,x),subscribeToConversation:(b,x)=>{const R=`/agent-conversations/${b}`,U=n(),L=m(b).then(N=>(f[b]=N,N));return U.subscribeToRoom(R,{connect:()=>{},update_model:async({data:N})=>{const W=JSON.parse(N);if(W._message){await L;const Y=W._message,he=f[b];if(he){const M=he.messages||[],de=M.findIndex(fe=>fe.id===Y.id),we=de!==-1?M.map((fe,Pe)=>Pe===de?Y:fe):[...M,Y];f[b]={...he,messages:we},x==null||x(f[b])}}}})},getWhatsAppConnectURL:b=>{const x=`${i}/api/apps/${s}/agents/${encodeURIComponent(b)}/whatsapp`,R=a??js();return R?`${x}?token=${R}`:x},getTelegramConnectURL:b=>{const x=`${i}/api/apps/${s}/agents/${encodeURIComponent(b)}/telegram`,R=a??js();return R?`${x}?token=${R}`:x}}}
vendor: 6,840 bytes, line 100
100function qp({serverUrl:r,token:n,appId:s}){return{connection:()=>{var a;return{baseURL:`${r}/api/apps/${s}/ai/openai/v1`,token:(a=n??js())!==null&&a!==void 0?a:""}}}}function Wp(r,n){const s=`/app-logs/${n}`;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 JS(r,n){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/${n}/runtime/users/invite-user`,{user_email:s,role:i})}}}const vn=Object.create(null);vn.open="0";vn.close="1";vn.ping="2";vn.pong="3";vn.message="4";vn.upgrade="5";vn.noop="6";const gl=Object.create(null);Object.keys(vn).forEach(r=>{gl[vn[r]]=r});const mc={type:"error",data:"parser error"},_y=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",by=typeof ArrayBuffer=="function",Cy=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,Uc=({type:r,data:n},s,i)=>_y&&n instanceof Blob?s?i(n):Qp(n,i):by&&(n instanceof ArrayBuffer||Cy(n))?s?i(n):Qp(new Blob([n]),i):i(vn[r]+(n||"")),Qp=(r,n)=>{const s=new FileReader;return s.onload=function(){const i=s.result.split(",")[1];n("b"+(i||""))},s.readAsDataURL(r)};function Kp(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}let Hu;function ZS(r,n){if(_y&&r.data instanceof Blob)return r.data.arrayBuffer().then(Kp).then(n);if(by&&(r.data instanceof ArrayBuffer||Cy(r.data)))return n(Kp(r.data));Uc(r,!1,s=>{Hu||(Hu=new TextEncoder),n(Hu.encode(s))})}const Gp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<Gp.length;r++)Oo[Gp.charCodeAt(r)]=r;const eE=r=>{let n=r.length*.75,s=r.length,i,a=0,c,f,h,m;r[r.length-1]==="="&&(n--,r[r.length-2]==="="&&n--);const g=new ArrayBuffer(n),v=new Uint8Array(g);for(i=0;i<s;i+=4)c=Oo[r.charCodeAt(i)],f=Oo[r.charCodeAt(i+1)],h=Oo[r.charCodeAt(i+2)],m=Oo[r.charCodeAt(i+3)],v[a++]=c<<2|f>>4,v[a++]=(f&15)<<4|h>>2,v[a++]=(h&3)<<6|m&63;return g},tE=typeof ArrayBuffer=="function",zc=(r,n)=>{if(typeof r!="string")return{type:"message",data:Ry(r,n)};const s=r.charAt(0);return s==="b"?{type:"message",data:nE(r.substring(1),n)}:gl[s]?r.length>1?{type:gl[s],data:r.substring(1)}:{type:gl[s]}:mc},nE=(r,n)=>{if(tE){const s=eE(r);return Ry(s,n)}else return{base64:!0,data:r}},Ry=(r,n)=>{switch(n){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}},Ty="�",rE=(r,n)=>{const s=r.length,i=new Array(s);let a=0;r.forEach((c,f)=>{Uc(c,!1,h=>{i[f]=h,++a===s&&n(i.join(Ty))})})},sE=(r,n)=>{const s=r.split(Ty),i=[];for(let a=0;a<s.length;a++){const c=zc(s[a],n);if(i.push(c),c.type==="error")break}return i};function oE(){return new TransformStream({transform(r,n){ZS(r,s=>{const i=s.length;let a;if(i<126)a=new Uint8Array(1),new DataView(a.buffer).setUint8(0,i);else if(i<65536){a=new Uint8Array(3);const c=new DataView(a.buffer);c.setUint8(0,126),c.setUint16(1,i)}else{a=new Uint8Array(9);const c=new DataView(a.buffer);c.setUint8(0,127),c.setBigUint64(1,BigInt(i))}r.data&&typeof r.data!="string"&&(a[0]|=128),n.enqueue(a),n.enqueue(s)})}})}let Vu;function cl(r){return r.reduce((n,s)=>n+s.length,0)}function dl(r,n){if(r[0].length===n)return r.shift();const s=new Uint8Array(n);let i=0;for(let a=0;a<n;a++)s[a]=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 iE(r,n){Vu||(Vu=new TextDecoder);const s=[];let i=0,a=-1,c=!1;return new TransformStream({transform(f,h){for(s.push(f);;){if(i===0){if(cl(s)<1)break;const m=dl(s,1);c=(m[0]&128)===128,a=m[0]&127,a<126?i=3:a===126?i=1:i=2}else if(i===1){if(cl(s)<2)break;const m=dl(s,2);a=new DataView(m.buffer,m.byteOffset,m.length).getUint16(0),i=3}else if(i===2){if(cl(s)<8)break;const m=dl(s,8),g=new DataView(m.buffer,m.byteOffset,m.length),v=g.getUint32(0);if(v>Math.pow(2,21)-1){h.enqueue(mc);break}a=v*Math.pow(2,32)+g.getUint32(4),i=3}else{if(cl(s)<a)break;const m=dl(s,a);h.enqueue(zc(c?m:Vu.decode(m),n)),i=0}if(a===0||a>r){h.enqueue(mc);break}}}})}const Oy=4;function et(r){if(r)return lE(r)}function lE(r){for(var n in et.prototype)r[n]=et.prototype[n];return r}et.prototype.on=et.prototype.addEventListener=function(r,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(n),this};et.prototype.once=function(r,n){function s(){this.off(r,s),n.apply(this,arguments)}return s.fn=n,this.on(r,s),this};et.prototype.off=et.prototype.removeListener=et.prototype.removeAllListeners=et.prototype.removeEventListener=function(r,n){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,a=0;a<s.length;a++)if(i=s[a],i===n||i.fn===n){s.splice(a,1);break}return s.length===0&&delete this._callbacks["$"+r],this};et.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var n=new Array(arguments.length-1),s=this._callbacks["$"+r],i=1;i<arguments.length;i++)n[i-1]=arguments[i];if(s){s=s.slice(0);for(var i=0,a=s.length;i<a;++i)s[i].apply(this,n)}return this};et.prototype.emitReserved=et.prototype.emit;et.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};et.prototype.hasListeners=function(r){return!!this.listeners(r).length};const Ll=typeof Promise=="function"&&typeof Promise.resolve=="function"?n=>Promise.resolve().then(n):(n,s)=>s(n,0),Gt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),aE="arraybuffer";function Ay(r,...n){return n.reduce((s,i)=>(r.hasOwnProperty(i)&&(s[i]=r[i]),s),{})}const uE=Gt.setTimeout,cE=Gt.clearTimeout;function Fl(r,n){n.useNativeTimers?(r.setTimeoutFn=uE.bind(Gt),r.clearTimeoutFn=cE.bind(Gt)):(r.setTimeoutFn=Gt.setTimeout.bind(Gt),r.clearTimeoutFn=Gt.clearTimeout.bind(Gt))}const dE=1.33;function fE(r){return typeof r=="string"?hE(r):Math.ceil((r.byteLength||r.size)*dE)}function hE(r){let n=0,s=0;for(let i=0,a=r.length;i<a;i++)n=r.charCodeAt(i),n<128?s+=1:n<2048?s+=2:n<55296||n>=57344?s+=3:(i++,s+=4);return s}function Py(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function pE(r){let n="";for(let s in r)r.hasOwnProperty(s)&&(n.length&&(n+="&"),n+=encodeURIComponent(s)+"="+encodeURIComponent(r[s]));return n}function mE(r){let n={},s=r.split("&");for(let i=0,a=s.length;i<a;i++){let c=s[i].split("=");n[decodeURIComponent(c[0])]=decodeURIComponent(c[1])}return n}
vendor: 6,199 bytes, line 100
100class yE extends Error{constructor(n,s,i){super(n),this.description=s,this.context=i,this.type="TransportError"}}class Mc extends et{constructor(n){super(),this.writable=!1,Fl(this,n),this.opts=n,this.query=n.query,this.socket=n.socket,this.supportsBinary=!n.forceBase64}onError(n,s,i){return super.emitReserved("error",new yE(n,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(n){this.readyState==="open"&&this.write(n)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(n){const s=zc(n,this.socket.binaryType);this.onPacket(s)}onPacket(n){super.emitReserved("packet",n)}onClose(n){this.readyState="closed",super.emitReserved("close",n)}pause(n){}createUri(n,s={}){return n+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_hostname(){const n=this.opts.hostname;return n.indexOf(":")===-1?n:"["+n+"]"}_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(n){const s=pE(n);return s.length?"?"+s:""}}class gE extends Mc{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(n){this.readyState="pausing";const s=()=>{this.readyState="paused",n()};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(n){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)};sE(n,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const n=()=>{this.write([{type:"close"}])};this.readyState==="open"?n():this.once("open",n)}write(n){this.writable=!1,rE(n,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const n=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=Py()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(n,s)}}let jy=!1;try{jy=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const vE=jy;function wE(){}class xE extends gE{constructor(n){if(super(n),typeof location<"u"){const s=location.protocol==="https:";let i=location.port;i||(i=s?"443":"80"),this.xd=typeof location<"u"&&n.hostname!==location.hostname||i!==n.port}}doWrite(n,s){const i=this.request({method:"POST",data:n});i.on("success",s),i.on("error",(a,c)=>{this.onError("xhr post error",a,c)})}doPoll(){const n=this.request();n.on("data",this.onData.bind(this)),n.on("error",(s,i)=>{this.onError("xhr poll error",s,i)}),this.pollXhr=n}}class gn extends et{constructor(n,s,i){super(),this.createRequest=n,Fl(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 n;const s=Ay(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 a in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(a)&&i.setRequestHeader(a,this._opts.extraHeaders[a])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(n=this._opts.cookieJar)===null||n===void 0||n.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var a;i.readyState===3&&((a=this._opts.cookieJar)===null||a===void 0||a.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(a){this.setTimeoutFn(()=>{this._onError(a)},0);return}typeof document<"u"&&(this._index=gn.requestsCount++,gn.requests[this._index]=this)}_onError(n){this.emitReserved("error",n,this._xhr),this._cleanup(!0)}_cleanup(n){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=wE,n)try{this._xhr.abort()}catch{}typeof document<"u"&&delete gn.requests[this._index],this._xhr=null}}_onLoad(){const n=this._xhr.responseText;n!==null&&(this.emitReserved("data",n),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}gn.requestsCount=0;gn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Yp);else if(typeof addEventListener=="function"){const r="onpagehide"in Gt?"pagehide":"unload";addEventListener(r,Yp,!1)}}function Yp(){for(let r in gn.requests)gn.requests.hasOwnProperty(r)&&gn.requests[r].abort()}const SE=(function(){const r=Ny({xdomain:!1});return r&&r.responseType!==null})();class EE extends xE{constructor(n){super(n);const s=n&&n.forceBase64;this.supportsBinary=SE&&!s}request(n={}){return Object.assign(n,{xd:this.xd},this.opts),new gn(Ny,this.uri(),n)}}function Ny(r){const n=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!n||vE))return new XMLHttpRequest}catch{}if(!n)try{return new Gt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Ly=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class kE extends Mc{get name(){return"websocket"}doOpen(){const n=this.uri(),s=this.opts.protocols,i=Ly?{}:Ay(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(n,s,i)}catch(a){return this.emitReserved("error",a)}
vendor: 7,759 bytes, line 100
100this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=n=>this.onClose({description:"websocket connection closed",context:n}),this.ws.onmessage=n=>this.onData(n.data),this.ws.onerror=n=>this.onError("websocket error",n)}write(n){this.writable=!1;for(let s=0;s<n.length;s++){const i=n[s],a=s===n.length-1;Uc(i,this.supportsBinary,c=>{try{this.doWrite(i,c)}catch{}a&&Ll(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const n=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=Py()),this.supportsBinary||(s.b64=1),this.createUri(n,s)}}const qu=Gt.WebSocket||Gt.MozWebSocket;class _E extends kE{createSocket(n,s,i){return Ly?new qu(n,s,i):s?new qu(n,s):new qu(n)}doWrite(n,s){this.ws.send(s)}}class bE extends Mc{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(n){return this.emitReserved("error",n)}this._transport.closed.then(()=>{this.onClose()}).catch(n=>{this.onError("webtransport error",n)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(n=>{const s=iE(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=n.readable.pipeThrough(s).getReader(),a=oE();a.readable.pipeTo(n.writable),this._writer=a.writable.getWriter();const c=()=>{i.read().then(({done:h,value:m})=>{h||(this.onPacket(m),c())}).catch(h=>{})};c();const f={type:"open"};this.query.sid&&(f.data=`{"sid":"${this.query.sid}"}`),this._writer.write(f).then(()=>this.onOpen())})})}write(n){this.writable=!1;for(let s=0;s<n.length;s++){const i=n[s],a=s===n.length-1;this._writer.write(i).then(()=>{a&&Ll(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var n;(n=this._transport)===null||n===void 0||n.close()}}const CE={websocket:_E,webtransport:bE,polling:EE},RE=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,TE=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function yc(r){if(r.length>8e3)throw"URI too long";const n=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 a=RE.exec(r||""),c={},f=14;for(;f--;)c[TE[f]]=a[f]||"";return s!=-1&&i!=-1&&(c.source=n,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=OE(c,c.path),c.queryKey=AE(c,c.query),c}function OE(r,n){const s=/\/{2,9}/g,i=n.replace(s,"/").split("/");return(n.slice(0,1)=="/"||n.length===0)&&i.splice(0,1),n.slice(-1)=="/"&&i.splice(i.length-1,1),i}function AE(r,n){const s={};return n.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,a,c){a&&(s[a]=c)}),s}const gc=typeof addEventListener=="function"&&typeof removeEventListener=="function",vl=[];gc&&addEventListener("offline",()=>{vl.forEach(r=>r())},!1);class fr extends et{constructor(n,s){if(super(),this.binaryType=aE,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,n&&typeof n=="object"&&(s=n,n=null),n){const i=yc(n);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=yc(s.host).host);Fl(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 a=i.prototype.name;this.transports.push(a),this._transportsByName[a]=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=mE(this.opts.query)),gc&&(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"})},vl.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(n){const s=Object.assign({},this.opts.query);s.EIO=Oy,s.transport=n,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[n]);return new this._transportsByName[n](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const n=this.opts.rememberUpgrade&&fr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(n);s.open(),this.setTransport(s)}setTransport(n){this.transport&&this.transport.removeAllListeners(),this.transport=n,n.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",fr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",n),this.emitReserved("heartbeat"),n.type){case"open":this.onHandshake(JSON.parse(n.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=n.data,this._onError(s);break;case"message":this.emitReserved("data",n.data),this.emitReserved("message",n.data);break}}onHandshake(n){this.emitReserved("handshake",n),this.id=n.sid,this.transport.query.sid=n.sid,this._pingInterval=n.pingInterval,this._pingTimeout=n.pingTimeout,this._maxPayload=n.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const n=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+n,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},n),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 n=this._getWritablePackets();this.transport.send(n),this._prevBufferLen=n.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 a=this.writeBuffer[i].data;
vendor: 4,976 bytes, line 100
100if(a&&(s+=fE(a)),i>0&&s>this._maxPayload)return this.writeBuffer.slice(0,i);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const n=Date.now()>this._pingTimeoutTime;return n&&(this._pingTimeoutTime=0,Ll(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),n}write(n,s,i){return this._sendPacket("message",n,s,i),this}send(n,s,i){return this._sendPacket("message",n,s,i),this}_sendPacket(n,s,i,a){if(typeof s=="function"&&(a=s,s=void 0),typeof i=="function"&&(a=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const c={type:n,data:s,options:i};this.emitReserved("packetCreate",c),this.writeBuffer.push(c),a&&this.once("flush",a),this.flush()}close(){const n=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),n()},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():n()}):this.upgrading?i():n()),this}_onError(n){if(fr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",n),this._onClose("transport error",n)}_onClose(n,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(),gc&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=vl.indexOf(this._offlineEventListener);i!==-1&&vl.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",n,s),this.writeBuffer=[],this._prevBufferLen=0}}}fr.protocol=Oy;class PE extends fr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let n=0;n<this._upgrades.length;n++)this._probe(this._upgrades[n])}_probe(n){let s=this.createTransport(n),i=!1;fr.priorWebsocketSuccess=!1;const a=()=>{i||(s.send([{type:"ping",data:"probe"}]),s.once("packet",S=>{if(!i)if(S.type==="pong"&&S.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;fr.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 A=new Error("probe error");A.transport=s.name,this.emitReserved("upgradeError",A)}}))};function c(){i||(i=!0,v(),s.close(),s=null)}const f=S=>{const A=new Error("probe error: "+S);A.transport=s.name,c(),this.emitReserved("upgradeError",A)};function h(){f("transport closed")}function m(){f("socket closed")}function g(S){s&&S.name!==s.name&&c()}const v=()=>{s.removeListener("open",a),s.removeListener("error",f),s.removeListener("close",h),this.off("close",m),this.off("upgrading",g)};s.once("open",a),s.once("error",f),s.once("close",h),this.once("close",m),this.once("upgrading",g),this._upgrades.indexOf("webtransport")!==-1&&n!=="webtransport"?this.setTimeoutFn(()=>{i||s.open()},200):s.open()}onHandshake(n){this._upgrades=this._filterUpgrades(n.upgrades),super.onHandshake(n)}_filterUpgrades(n){const s=[];for(let i=0;i<n.length;i++)~this.transports.indexOf(n[i])&&s.push(n[i]);return s}}let jE=class extends PE{constructor(n,s={}){const i=typeof n=="object",a=i?{...n}:{...s};(!a.transports||a.transports&&typeof a.transports[0]=="string")&&(a.transports=(a.transports||["polling","websocket","webtransport"]).map(c=>CE[c]).filter(c=>!!c)),super(i?a:n,a)}};function NE(r,n="",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=yc(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 c=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+c+":"+i.port+n,i.href=i.protocol+"://"+c+(s&&s.port===i.port?"":":"+i.port),i}const LE=typeof ArrayBuffer=="function",FE=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Fy=Object.prototype.toString,IE=typeof Blob=="function"||typeof Blob<"u"&&Fy.call(Blob)==="[object BlobConstructor]",DE=typeof File=="function"||typeof File<"u"&&Fy.call(File)==="[object FileConstructor]";function Bc(r){return LE&&(r instanceof ArrayBuffer||FE(r))||IE&&r instanceof Blob||DE&&r instanceof File}function wl(r,n){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let s=0,i=r.length;s<i;s++)if(wl(r[s]))return!0;return!1}if(Bc(r))return!0;
vendor: 1,034 bytes, line 100
100if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return wl(r.toJSON(),!0);for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&wl(r[s]))return!0;return!1}function UE(r){const n=[],s=r.data,i=r;return i.data=vc(s,n),i.attachments=n.length,{packet:i,buffers:n}}function vc(r,n){if(!r)return r;if(Bc(r)){const s={_placeholder:!0,num:n.length};return n.push(r),s}else if(Array.isArray(r)){const s=new Array(r.length);for(let i=0;i<r.length;i++)s[i]=vc(r[i],n);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]=vc(r[i],n));return s}return r}function zE(r,n){return r.data=wc(r.data,n),delete r.attachments,r}function wc(r,n){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<n.length)return n[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let s=0;s<r.length;s++)r[s]=wc(r[s],n);else if(typeof r=="object")for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&
vendor: 7,056 bytes, line 100
100(r[s]=wc(r[s],n));return r}const ME=["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 BE{constructor(n){this.replacer=n}encode(n){return(n.type===_e.EVENT||n.type===_e.ACK)&&wl(n)?this.encodeAsBinary({type:n.type===_e.EVENT?_e.BINARY_EVENT:_e.BINARY_ACK,nsp:n.nsp,data:n.data,id:n.id}):[this.encodeAsString(n)]}encodeAsString(n){let s=""+n.type;return(n.type===_e.BINARY_EVENT||n.type===_e.BINARY_ACK)&&(s+=n.attachments+"-"),n.nsp&&n.nsp!=="/"&&(s+=n.nsp+","),n.id!=null&&(s+=n.id),n.data!=null&&(s+=JSON.stringify(n.data,this.replacer)),s}encodeAsBinary(n){const s=UE(n),i=this.encodeAsString(s.packet),a=s.buffers;return a.unshift(i),a}}class $c extends et{constructor(n){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof n=="function"?{reviver:n}:n)}add(n){let s;if(typeof n=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(n);const i=s.type===_e.BINARY_EVENT;i||s.type===_e.BINARY_ACK?(s.type=i?_e.EVENT:_e.ACK,this.reconstructor=new $E(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(Bc(n)||n.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(n),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: "+n)}decodeString(n){let s=0;const i={type:Number(n.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 c=s+1;for(;n.charAt(++s)!=="-"&&s!=n.length;);const f=n.substring(c,s);if(f!=Number(f)||n.charAt(s)!=="-")throw new Error("Illegal attachments");const h=Number(f);if(!HE(h)||h<0)throw new Error("Illegal attachments");if(h>this.opts.maxAttachments)throw new Error("too many attachments");i.attachments=h}if(n.charAt(s+1)==="/"){const c=s+1;for(;++s&&!(n.charAt(s)===","||s===n.length););i.nsp=n.substring(c,s)}else i.nsp="/";const a=n.charAt(s+1);if(a!==""&&Number(a)==a){const c=s+1;for(;++s;){const f=n.charAt(s);if(f==null||Number(f)!=f){--s;break}if(s===n.length)break}i.id=Number(n.substring(c,s+1))}if(n.charAt(++s)){const c=this.tryParse(n.substr(s));if($c.isPayloadValid(i.type,c))i.data=c;else throw new Error("invalid payload")}return i}tryParse(n){try{return JSON.parse(n,this.opts.reviver)}catch{return!1}}static isPayloadValid(n,s){switch(n){case _e.CONNECT:return Xp(s);case _e.DISCONNECT:return s===void 0;case _e.CONNECT_ERROR:return typeof s=="string"||Xp(s);case _e.EVENT:case _e.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&ME.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 $E{constructor(n){this.packet=n,this.buffers=[],this.reconPack=n}takeBinaryData(n){if(this.buffers.push(n),this.buffers.length===this.reconPack.attachments){const s=zE(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const HE=Number.isInteger||function(r){return typeof r=="number"&&isFinite(r)&&Math.floor(r)===r};function Xp(r){return Object.prototype.toString.call(r)==="[object Object]"}const VE=Object.freeze(Object.defineProperty({__proto__:null,Decoder:$c,Encoder:BE,get PacketType(){return _e}},Symbol.toStringTag,{value:"Module"}));function on(r,n,s){return r.on(n,s),function(){r.off(n,s)}}const qE=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Iy extends et{constructor(n,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=n,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 n=this.io;this.subs=[on(n,"open",this.onopen.bind(this)),on(n,"packet",this.onpacket.bind(this)),on(n,"error",this.onerror.bind(this)),on(n,"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(...n){return n.unshift("message"),this.emit.apply(this,n),this}emit(n,...s){var i,a,c;if(qE.hasOwnProperty(n))throw new Error('"'+n.toString()+'" is a reserved event name');if(s.unshift(n),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const f={type:_e.EVENT,data:s};if(f.options={},f.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const v=this.ids++,S=s.pop();this._registerAckCallback(v,S),f.id=v}const h=(a=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||a===void 0?void 0:a.writable,m=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!h||(m?(this.notifyOutgoingListeners(f),this.packet(f)):this.sendBuffer.push(f)),this.flags={},this}_registerAckCallback(n,s){var i;const a=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(a===void 0){this.acks[n]=s;return}const c=this.io.setTimeoutFn(()=>{delete this.acks[n];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===n&&this.sendBuffer.splice(h,1);s.call(this,new Error("operation has timed out"))},a),f=(...h)=>{this.io.clearTimeoutFn(c),s.apply(this,h)};f.withError=!0,this.acks[n]=f}emitWithAck(n,...s){return new Promise((i,a)=>{const c=(f,h)=>f?a(f):i(h);c.withError=!0,s.push(c),this.emit(n,...s)})}_addToQueue(n){let s;typeof n[n.length-1]=="function"&&(s=n.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:n,flags:Object.assign({fromQueue:!0},this.flags)};n.push((a,...c)=>(this._queue[0],a!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(a)):(this._queue.shift(),s&&s(null,...c)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(n=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!n||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(n){n.nsp=this.nsp,this.io._packet(n)}onopen(){typeof this.auth=="function"?this.auth(n=>{this._sendConnectPacket(n)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(n){this.packet({type:_e.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},n):n})}onerror(n){this.connected||this.emitReserved("connect_error",n)}onclose(n,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",n,s),this._clearAcks()}
vendor: 6,669 bytes, line 100
100_clearAcks(){Object.keys(this.acks).forEach(n=>{if(!this.sendBuffer.some(i=>String(i.id)===n)){const i=this.acks[n];delete this.acks[n],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(n){if(n.nsp===this.nsp)switch(n.type){case _e.CONNECT:n.data&&n.data.sid?this.onconnect(n.data.sid,n.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(n);break;case _e.ACK:case _e.BINARY_ACK:this.onack(n);break;case _e.DISCONNECT:this.ondisconnect();break;case _e.CONNECT_ERROR:this.destroy();const i=new Error(n.data.message);i.data=n.data.data,this.emitReserved("connect_error",i);break}}onevent(n){const s=n.data||[];n.id!=null&&s.push(this.ack(n.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(n){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const i of s)i.apply(this,n)}super.emit.apply(this,n),this._pid&&n.length&&typeof n[n.length-1]=="string"&&(this._lastOffset=n[n.length-1])}ack(n){const s=this;let i=!1;return function(...a){i||(i=!0,s.packet({type:_e.ACK,id:n,data:a}))}}onack(n){const s=this.acks[n.id];typeof s=="function"&&(delete this.acks[n.id],s.withError&&n.data.unshift(null),s.apply(this,n.data))}onconnect(n,s){this.id=n,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(n=>this.emitEvent(n)),this.receiveBuffer=[],this.sendBuffer.forEach(n=>{this.notifyOutgoingListeners(n),this.packet(n)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(n=>n()),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(n){return this.flags.compress=n,this}get volatile(){return this.flags.volatile=!0,this}timeout(n){return this.flags.timeout=n,this}onAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(n),this}prependAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(n),this}offAny(n){if(!this._anyListeners)return this;if(n){const s=this._anyListeners;for(let i=0;i<s.length;i++)if(n===s[i])return s.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(n){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(n),this}prependAnyOutgoing(n){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(n),this}offAnyOutgoing(n){if(!this._anyOutgoingListeners)return this;if(n){const s=this._anyOutgoingListeners;for(let i=0;i<s.length;i++)if(n===s[i])return s.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(n){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const i of s)i.apply(this,n.data)}}}function Ls(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}Ls.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),s=Math.floor(n*this.jitter*r);r=(Math.floor(n*10)&1)==0?r-s:r+s}return Math.min(r,this.max)|0};Ls.prototype.reset=function(){this.attempts=0};Ls.prototype.setMin=function(r){this.ms=r};Ls.prototype.setMax=function(r){this.max=r};Ls.prototype.setJitter=function(r){this.jitter=r};class xc extends et{constructor(n,s){var i;super(),this.nsps={},this.subs=[],n&&typeof n=="object"&&(s=n,n=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,Fl(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 Ls({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=n;const a=s.parser||VE;this.encoder=new a.Encoder,this.decoder=new a.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(n){return arguments.length?(this._reconnection=!!n,n||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(n){return n===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=n,this)}reconnectionDelay(n){var s;return n===void 0?this._reconnectionDelay:(this._reconnectionDelay=n,(s=this.backoff)===null||s===void 0||s.setMin(n),this)}randomizationFactor(n){var s;return n===void 0?this._randomizationFactor:(this._randomizationFactor=n,(s=this.backoff)===null||s===void 0||s.setJitter(n),this)}reconnectionDelayMax(n){var s;return n===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=n,(s=this.backoff)===null||s===void 0||s.setMax(n),this)}timeout(n){return arguments.length?(this._timeout=n,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(n){if(~this._readyState.indexOf("open"))return this;this.engine=new jE(this.uri,this.opts);const s=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const a=on(s,"open",function(){i.onopen(),n&&n()}),c=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),n?n(h):this.maybeReconnectOnOpen()},f=on(s,"error",c);if(this._timeout!==!1){const h=this._timeout,m=this.setTimeoutFn(()=>{a(),c(new Error("timeout")),s.close()},h);this.opts.autoUnref&&m.unref(),this.subs.push(()=>{this.clearTimeoutFn(m)})}return this.subs.push(a),this.subs.push(f),this}connect(n){return this.open(n)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const n=this.engine;this.subs.push(on(n,"ping",this.onping.bind(this)),on(n,"data",this.ondata.bind(this)),on(n,"error",this.onerror.bind(this)),on(n,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(n){try{this.decoder.add(n)}catch(s){this.onclose("parse error",s)}}ondecoded(n){Ll(()=>
100{this.emitReserved("packet",n)},this.setTimeoutFn)}onerror(n){this.emitReserved("error",n)}socket(n,s){let i=this.nsps[n];return i?this._autoConnect&&!i.active&&i.connect():(i=new Iy(this,n,s),this.nsps[n]=i),i}_destroy(n){const s=Object.keys(this.nsps);for(const i of s)if(this.nsps[i].active)return;this._close()}_packet(n){const s=this.encoder.encode(n);for(let i=0;i<s.length;i++)this.engine.write(s[i],n.options)}cleanup(){this.subs.forEach(n=>n()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(n,s){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",n,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const n=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(()=>{n.skipReconnect||(this.emitReserved("reconnect_attempt",n.backoff.attempts),!n.skipReconnect&&n.open(a=>{a?(n._reconnecting=!1,n.reconnect(),this.emitReserved("reconnect_error",a)):n.onreconnect()}))},s);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const n=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",n)}}const Co={};function xl(r,n){typeof r=="object"&&(n=r,r=void 0),n=n||{};const s=NE(r,n.path||"/socket.io"),i=s.source,a=s.id,c=s.path,f=Co[a]&&c in Co[a].nsps,h=n.forceNew||n["force new connection"]||n.multiplex===!1||f;let m;return h?m=new xc(i,n):(Co[a]||(Co[a]=new xc(i,n)),m=Co[a]),s.query&&!n.query&&(n.query=s.queryKey),m.socket(s.path,n)}Object.assign(xl,{Manager:xc,Socket:Iy,io:xl,connect:xl});const WE=250;function Jp(r,n){var s;const i=(s=r.token)!==null&&s!==void 0?s:js(),a={app_id:r.appId,token:i};i||(a.anonymous_id=Dc());const c=xl(r.serverUrl,{path:r.mountPath,transports:r.transports,query:a});return c.on("connect",async()=>{var f;return console.log("connect",c.id),(f=n.connect)===null||f===void 0?void 0:f.call(n)}),c.on("update_model",async f=>{var h;return(h=n.update_model)===null||h===void 0?void 0:h.call(n,f)}),c.on("error",async f=>{var h;return(h=n.error)===null||h===void 0?void 0:h.call(n,f)}),c.on("connect_error",async f=>{var h;return console.error("connect_error",f),(h=n.error)===null||h===void 0?void 0:h.call(n,f)}),c}function QE({config:r}){let n={...r};const s={},i={},a={connect:async()=>{const R=[];Object.keys(s).forEach(U=>{const L=A(U);L.length!==0&&(g(U),L.forEach(({connect:N})=>{const W=async()=>N==null?void 0:N();R.push(W())}))}),await Promise.all(R)},update_model:async R=>{const L=A(R.room).map(N=>{var W;return(W=N.update_model)===null||W===void 0?void 0:W.call(N,R)});await Promise.all(L)},error:async R=>{console.error("error",R);const U=Object.values(s).flat().map(L=>{var N;return(N=L.error)===null||N===void 0?void 0:N.call(L,R)});await Promise.all(U)}};let c=Jp(r,a);function f(){h()}function h(){I(),c&&c.disconnect()}function m(R){f(),n={...n,...R},c=Jp(n,a)}function g(R){c.emit("join",R)}function v(R){c.emit("leave",R)}async function S(R,U){var L;const N=JSON.stringify(U);return(L=a.update_model)===null||L===void 0?void 0:L.call(a,{room:R,data:N})}function A(R){var U;return(U=s[R])!==null&&U!==void 0?U:[]}function F(R){const U=i[R];U&&(clearTimeout(U),delete i[R])}
100function I(){Object.keys(i).forEach(R=>{var U,L;clearTimeout(i[R]),delete i[R],((L=(U=s[R])===null||U===void 0?void 0:U.length)!==null&&L!==void 0?L:0)===0&&delete s[R]})}function b(R){F(R),i[R]=setTimeout(()=>{var U,L;delete i[R],!(((L=(U=s[R])===null||U===void 0?void 0:U.length)!==null&&L!==void 0?L:0)>0)&&(v(R),delete s[R])},WE)}return{socket:c,subscribeToRoom:(R,U)=>{s[R]?F(R):(g(R),s[R]=[]),s[R].push(U);let L=!1;return()=>{var N,W;L||(L=!0,s[R]=(W=(N=s[R])===null||N===void 0?void 0:N.filter(Y=>Y!==U))!==null&&W!==void 0?W:[],s[R].length===0&&b(R))}},updateConfig:m,updateModel:S,disconnect:h}}function KE(r){var n,s;const{serverUrl:i="https://base44.app",appId:a,token:c,serviceToken:f,requiresAuth:h=!1,appBaseUrl:m,options:g,functionsVersion:v,headers:S}=r,A=typeof m=="string"?m:"",F={serverUrl:i,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:a,token:c};let I=null;const b=()=>(I||(I=QE({config:F})),I),x={...S,"X-App-Id":String(a)},R=v?{...x,"Base44-Functions-Version":v}:x,U=To({baseURL:`${i}/api`,headers:x,token:c,onError:g==null?void 0:g.onError}),L=To({baseURL:`${i}/api`,headers:R,token:c,interceptResponses:!1,onError:g==null?void 0:g.onError}),N={...x,...c?{"on-behalf-of":`Bearer ${c}`}:{}},W=To({baseURL:`${i}/api`,headers:N,token:f,onError:g==null?void 0:g.onError}),Y=To({baseURL:`${i}/api`,headers:R,token:f,interceptResponses:!1}),he=QS(U,L,a,{appBaseUrl:A});if(typeof window<"u"){const fe=c||js();fe&&he.setToken(fe)}const M={entities:Bp({axios:U,appId:a,getSocket:b}),integrations:$p(U,a),connectors:YS(U,a),auth:he,functions:Hp(L,a,{getAuthHeaders:()=>{const fe={},Pe=c||js();return Pe&&(fe.Authorization=`Bearer ${Pe}`),fe},baseURL:(n=L.defaults)===null||n===void 0?void 0:n.baseURL}),agents:Vp({axios:U,getSocket:b,appId:a,serverUrl:i,token:c}),aiGateway:qp({serverUrl:i,token:c,appId:a}),appLogs:Wp(U,a),users:JS(U,a),analytics:NS({axiosClient:U,serverUrl:i,appId:a,userAuthModule:he}),cleanup:()=>{M.analytics.cleanup(),I&&I.disconnect()}},de={entities:Bp({axios:W,appId:a,getSocket:b}),integrations:$p(W,a),sso:KS(W,a),connectors:GS(W,a),functions:Hp(Y,a,{getAuthHeaders:()=>{const fe={};return f&&(fe.Authorization=`Bearer ${f}`),fe},baseURL:(s=Y.defaults)===null||s===void 0?void 0:s.baseURL}),agents:Vp({axios:W,getSocket:b,appId:a,serverUrl:i,token:c}),aiGateway:qp({serverUrl:i,token:f,appId:a}),appLogs:Wp(W,a),cleanup:()=>{I&&I.disconnect()}};return h&&typeof window<"u"&&setTimeout(async()=>{try{await M.auth.isAuthenticated()||M.auth.redirectToLogin(window.location.href)}catch(fe){console.error("Authentication check failed:",fe),M.auth.redirectToLogin(window.location.href)}},0),{...M,setToken(fe){M.auth.setToken(fe),I&&I.updateConfig({token:fe}),F.token=fe},getConfig(){return{serverUrl:i,appId:a,requiresAuth:h}},get asServiceRole(){if(!f)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return de}}}const Dy=typeof window>"u",GE=Dy?{localStorage:new Map}:window,No=GE.localStorage,YE=r=>r.replace(/([A-Z])/g,"_$1").toLowerCase(),ys=(r,{defaultValue:n=void 0,removeFromUrl:s=!1}={})=>{if(Dy)return n;const i=`base44_${YE(r)}`,a=new URLSearchParams(window.location.search),c=a.get(r);if(s){a.delete(r);const h=`${window.location.pathname}${a.toString()?`?${a.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}if(c)return No.setItem(i,c),c;if(n)return No.setItem(i,n),n;const f=No.getItem(i);return f||null},XE=()=>(ys("clear_access_token")==="true"&&(No.removeItem("base44_access_token"),No.removeItem("token")),{appId:ys("app_id",{defaultValue:"6a5405cc28a293305070dbf4"}),token:ys("access_token",{removeFromUrl:!0}),fromUrl:ys("from_url",{defaultValue:window.location.href}),functionsVersion:ys("functions_version",{defaultValue:"prod"}),appBaseUrl:ys("app_base_url",{defaultValue:void 0})}),Ao={...XE()},{appId:JE,token:ZE,functionsVersion:ek,appBaseUrl:tk}=Ao,Po=KE({appId:JE,token:ZE,functionsVersion:ek,serverUrl:"",requiresAuth:!1,appBaseUrl:tk});function nk({}){var a;const n=Ac().pathname.substring(1),{data:s,isFetched:i}=Dw({queryKey:["user"],queryFn:async()=>{try{return{user:await Po.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return y.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:y.jsx("div",{className:"max-w-md w-full",children:y.jsxs("div",{className:"text-center space-y-6",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),y.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),y.jsxs("div",{className:"space-y-3",children:[y.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),y.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",y.jsxs("span",{className:"font-medium text-slate-700",children:['"',n,'"']})," could not be found in this application."]})]}),i&&s.isAuthenticated&&((a=s.user)==null?void 0:a.role)==="admin"&&y.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:y.jsxs("div",{className:"flex items-start space-x-3",children:[y.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:y.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),y.jsxs("div",{className:"text-left space-y-1",children:[y.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),y.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."})]})]})}),y.jsx("div",{className:"pt-6",children:y.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:[y.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y.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 Uy=V.createContext(),rk=({children:r})=>{const[n,s]=V.useState(null),[i,a]=V.useState(!1),[c,f]=V.useState(!0),[h,m]=V.useState(!0),[g,v]=V.useState(null),[S,A]=V.useState(!1),[F,I]=V.useState(null);V.useEffect(()=>{b()},[]);const b=async()=>{var L,N;try{m(!0),v(null);const W=To({baseURL:"/api/apps/public",headers:{"X-App-Id":Ao.appId},token:Ao.token,interceptResponses:!0});try{const Y=await W.get(`/prod/public-settings/by-id/${Ao.appId}`);I(Y),Ao.token?await x():(f(!1),a(!1),A(!0)),m(!1)}catch(Y){if(console.error("App state check failed:",Y),Y.status===403&&((N=(L=Y.data)==null?void 0:L.extra_data)!=null&&N.reason)){const he=Y.data.extra_data.reason;v(he==="auth_required"?{type:"auth_required",message:"Authentication required"}:he==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:he,message:Y.message})}else v({type:"unknown",message:Y.message||"Failed to load app"});m(!1),f(!1)}}catch(W){console.error("Unexpected error:",W),v({type:"unknown",message:W.message||"An unexpected error occurred"}),m(!1),f(!1)}},x=async()=>{try{f(!0);const L=await Po.auth.me();s(L),a(!0),f(!1),A(!0)}catch(L){console.error("User auth check failed:",L),f(!1),a(!1),A(!0),(L.status===401||L.status===403)&&v({type:"auth_required",message:"Authentication required"})}},R=(L=!0)=>{s(null),a(!1),L?Po.auth.logout(window.location.href):Po.auth.logout()},U=()=>{Po.auth.redirectToLogin(window.location.href)};return y.jsx(Uy.Provider,{value:{user:n,isAuthenticated:i,isLoadingAuth:c,isLoadingPublicSettings:h,authError:g,a
100ppPublicSettings:F,authChecked:S,logout:R,navigateToLogin:U,checkUserAuth:x,checkAppState:b},children:r})},sk=()=>{const r=V.useContext(Uy);if(!r)throw new Error("useAuth must be used within an AuthProvider");return r},ok=()=>y.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:y.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:y.jsxs("div",{className:"text-center",children:[y.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:y.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y.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"})})}),y.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),y.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."}),y.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[y.jsx("p",{children:"If you believe this is an error, you can:"}),y.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[y.jsx("li",{children:"Verify you are logged in with the correct account"}),y.jsx("li",{children:"Contact the app administrator for access"}),y.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),ik=r=>{const n=r.slice(1);try{return decodeURIComponent(n)}catch{return n}};function lk(){const{pathname:r,hash:n}=Ac(),s=ux();return V.useEffect(()=>{if(s!=="POP"){if(n){const i=ik(n),a=window.setTimeout(()=>{var c;(c=document.getElementById(i))==null||c.scrollIntoView({behavior:"smooth"})},50);return()=>window.clearTimeout(a)}window.scrollTo({top:0,left:0,behavior:"instant"})}},[r,n,s]),null}const Et=[{id:"gift-card",label:"Gift Card Scams",year:"§ I"},{id:"laptop",label:"Laptop Security",year:"§ II"},{id:"government",label:"Gov. Impersonator",year:"§ III"},{id:"calls",label:"Unwanted Calls",year:"§ IV"},{id:"health",label:"Health Insurance",year:"§ V"},{id:"home-repair",label:"Home Repair Scams",year:"§ VI"},{id:"grandkid",label:"Grandkid Scams",year:"§ VII"},{id:"youve-won",label:`"You've Won" Scams`,year:"§ VIII"},{id:"charity",label:"Charity Fraud",year:"§ IX"},{id:"report",label:"Report Scams",year:"§ X"}];function Ko(){const[r,n]=V.useState(typeof window<"u"?window.innerWidth:1200);return V.useEffect(()=>{const s=()=>n(window.innerWidth);return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]),r}function ak(){V.useEffect(()=>{const r=()=>{const s=document.documentElement.scrollHeight;window.parent.postMessage({iframeHeight:s},"*")};r();const n=new ResizeObserver(r);return n.observe(document.body),()=>n.disconnect()},[])}function zy(r){const n=document.getElementById(r);if(!n)return;n.scrollIntoView({behavior:"smooth"});const s=n.getBoundingClientRect().top+window.scrollY;window.parent.postMessage({scrollToOffset:s},"*")}function uk(){V.useEffect(()=>{const r=document.querySelectorAll(".fade-on-scroll"),n=new IntersectionObserver(s=>{s.forEach(i=>{i.target.style.opacity=i.intersectionRatio>.3?"1":"0.7"})},{threshold:[0,.1,.2,.3,.4,.5,1]});return r.forEach(s=>n.observe(s)),()=>n.disconnect()},[])}function ck(){const[r,n]=V.useState(!1),s=Ko()<640;return y.jsxs(y.Fragment,{children:[y.jsx("button",{onClick:()=>{n(!0),window.scrollTo({top:0,behavior:"smooth"}),window.parent.postMessage({scrollToIframeTop:!0},"*")},style:{position:"fixed",bottom:"1.5rem",right:"1.5rem",zIndex:100,width:"3rem",height:"3rem",borderRadius:"50%",background:"#1A1A1B",border:"0.5px solid #3E4C3F",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"transform 0.3s ease",boxShadow:"0 2px 20px rgba(26,26,27,0.3)"},"aria-label":"Open navigation",onMouseEnter:i=>i.currentTarget.style.transform="scale(1.1)",onMouseLeave:i=>i.currentTarget.style.transform="scale(1)",children:y.jsx("span",{style:{color:"#F4F1ED",fontFamily:"monospace",fontSize:"10px",letterSpacing:"0.05em"},children:"NAV"})}),r&&y.jsxs("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:200,background:"#1A1A1B",display:"flex",flexDirection:"column",padding:"1.5rem",overflowY:"auto",boxShadow:"0 4px 30px rgba(0,0,0,0.5)"},children:[y.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[y.jsx("p",{style:{color:"#5E5E5E",fontFamily:"monospace",fontSize:"10px",letterSpacing:"0.2em",textTransform:"uppercase",margin:0},children:"SITE MAP — FTC Consumer Archive"}),y.jsx("button",{onClick:()=>n(!1),style:{background:"none",border:"none",color:"#F4F1ED",fontFamily:"monospace",fontSize:"12px",cursor:"pointer",letterSpacing:"0.1em",padding:"0.25rem 0.5rem"},children:"[ CLOSE ]"})]}),y.jsx("div",{style:{display:"grid",gridTemplateColumns:s?"1fr 1fr":"repeat(auto-fill, minmax(160px, 1fr))",gap:"1px",border:"0.5px solid #3E4C3F"},children:Et.map(i=>y.jsxs("button",{onClick:()=>{n(!1),setTimeout(()=>{zy(i.id)},50)},style:{display:"block",padding:"0.6rem 0.75rem",textAlign:"left",borderRight:"0.5px solid #3E4C3F",borderBottom:"0.5px solid #3E4C3F",color:"#F4F1ED",background:"none",border:"none",borderRight:"0.5px solid #3E4C3F",borderBottom:"0.5px solid #3E4C3F",fontFamily:"'Source Serif 4', 'Georgia', serif",fontSize:"0.85rem",cursor:"pointer",transition:"background 0.2s",width:"100%"},onMouseEnter:a=>
100{a.currentTarget.style.background="#3E4C3F"},onMouseLeave:a=>{a.currentTarget.style.background="none"},children:[y.jsx("span",{style:{fontFamily:"monospace",fontSize:"10px",color:"#5E5E5E",display:"block",marginBottom:"0.4rem",letterSpacing:"0.15em"},children:i.year}),i.label]},i.id))}),y.jsx("p",{style:{marginTop:"0.75rem",color:"#5E5E5E",fontFamily:"monospace",fontSize:"9px",letterSpacing:"0.1em"},children:"SOURCE: FEDERAL TRADE COMMISSION · FTC.GOV · AUGUST 2023"})]})]})}function dk(){const[r,n]=V.useState(0);return V.useEffect(()=>{const s=()=>{const i=document.documentElement,a=i.scrollTop/(i.scrollHeight-i.clientHeight);n(a*100)};return window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[]),y.jsx("div",{style:{position:"fixed",left:"0",top:"0",bottom:"0",width:"0.5px",background:"rgba(62,76,63,0.15)",zIndex:50},children:y.jsx("div",{style:{width:"100%",background:"#3E4C3F",height:`${r}%`,transition:"height 0.1s linear"}})})}function fk(){const r=V.useRef(null),n=V.useRef(null),s=Ko()<640;return V.useEffect(()=>{if(s)return;const i=()=>{const a=window.scrollY;r.current&&(r.current.style.transform=`translateY(${a*.4}px)`),n.current&&(n.current.style.transform=`translateY(${a*.2}px)`)};return window.addEventListener("scroll",i,{passive:!0}),()=>window.removeEventListener("scroll",i)},[s]),y.jsxs("section",{style:{position:"relative",height:"clamp(400px, 60vw, 700px)",overflow:"hidden",background:"#1A1A1B",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[y.jsx("img",{src:"https://media.base44.com/images/public/6a5405cc28a293305070dbf4/1fc167ff7_generated_aaeec0d2.png",alt:"Ink on parchment",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",opacity:.2,filter:"grayscale(40%)"}}),y.jsx("div",{style:{position:"absolute",top:"1.5rem",left:s?"1rem":"2.5rem",zIndex:10},children:y.jsx("span",{style:{fontFamily:"monospace",fontSize:"10px",color:"#C8C4BE",letterSpacing:"0.2em",textTransform:"uppercase"},children:"FTC · Consumer Archive"})}),y.jsx("div",{style:{position:"absolute",top:"1.5rem",right:s?"1rem":"2.5rem",zIndex:10},children:y.jsx("span",{style:{fontFamily:"monospace",fontSize:"10px",color:"#C8C4BE",letterSpacing:"0.2em",textTransform:"uppercase"},children:"August 2023"})}),y.jsx("div",{style:{position:"absolute",bottom:"1.5rem",left:s?"1rem":"2.5rem",zIndex:10},children:y.jsx("a",{href:"#gift-card",onClick:i=>{i.preventDefault(),zy("gift-card")},style:{fontFamily:"monospace",fontSize:"10px",color:"#9DB8A0",letterSpacing:"0.2em",textDecoration:"none",textTransform:"uppercase"},children:"Scroll to Begin ↓"})}),y.jsx("div",{style:{position:"absolute",bottom:"1.5rem",right:s?"1rem":"2.5rem",zIndex:10},children:y.jsx("a",{href:"https://ftc.gov",target:"_blank",rel:"noreferrer",style:{fontFamily:"monospace",fontSize:"10px",color:"#9DB8A0",letterSpacing:"0.2em",textDecoration:"none",textTransform:"uppercase"},children:"ftc.gov ↗"})}),y.jsxs("div",{style:{position:"relative",zIndex:10,textAlign:"center",padding:"0 1.5rem",maxWidth:"100vw"},children:[y.jsxs("div",{ref:r,style:{willChange:"transform"},children:[y.jsx("p",{style:{fontFamily:"monospace",fontSize:s?"9px":"11px",color:"#9DB8A0",letterSpacing:"0.3em",textTransform:"uppercase",marginBottom:"1.5rem"},children:"A Living Document — Federal Trade Commission"}),y.jsx("h1",{style:{fontFamily:"'Playfair Display', 'Georgia', serif",fontSize:"clamp(2.5rem, 10vw, 7rem)",fontWeight:300,color:"#F4F1ED",lineHeight:1,letterSpacing:"-0.02em",marginBottom:"0"},children:"Consumer"})]}),y.jsxs("div",{ref:n,style:{willChange:"transform"},children:[y.jsx("h1",{style:{fontFamily:"'Playfair Display', 'Georgia', serif",fontSize:"clamp(2.5rem, 10vw, 7rem)",fontWeight:300,color:"#3E4C3F",lineHeight:1,letterSpacing:"-0.02em",marginBottom:"2rem"},children:"Protection"}),y.jsx("p",{style:{fontFamily:"'Source Serif 4', 'Georgia', serif",fontSize:s?"1rem":"1.15rem",color:"#C8C4BE",fontWeight:300,letterSpacing:"0.02em",maxWidth:"480px",margin:"0 auto",lineHeight:1.6},children:"A curated archive of scam typologies, detection frameworks, and protective actions — compiled for the protection of the American public."})]})]})]})}function My({label:r,year:n}){return y.jsxs("div",{style:{position:"sticky",top:"2rem",fontFamily:"monospace",fontSize:"10px",color:"#5E5E5E",letterSpacing:"0.15em",textTransform:"uppercase",lineHeight:1.8},children:[y.jsx("div",{style:{color:"#3E4C3F",marginBottom:"0.25rem"},children:n}),y.jsx("div",{style:{maxWidth:"100px",wordBreak:"break-word"},children:r}),y.jsx("div",{style:{marginTop:"1rem",width:"0.5px",height:"3rem",background:"#3E4
100C3F",opacity:.5}})]})}function On({id:r,section:n,children:s,image:i}){const a=Ko(),c=a<640,f=a>=640&&a<1024,h=c?"1fr":f?"80px 1fr":"1fr 6fr 1fr";return y.jsxs("section",{id:r,style:{padding:c?"4rem 0":"8rem 0",borderTop:"0.5px solid rgba(26,26,27,0.1)"},children:[y.jsxs("div",{style:{display:"grid",gridTemplateColumns:h,gap:c?"1rem":"2rem",maxWidth:"1200px",margin:"0 auto",padding:c?"0 1.25rem":"0 2rem"},children:[!c&&y.jsx("div",{children:y.jsx(My,{label:n.label,year:n.year})}),y.jsxs("div",{className:"fade-on-scroll",style:{transition:"opacity 0.4s ease"},children:[c&&y.jsxs("div",{style:{fontFamily:"monospace",fontSize:"10px",color:"#3E4C3F",letterSpacing:"0.15em",textTransform:"uppercase",marginBottom:"1rem"},children:[n.year," · ",n.label]}),s]}),!c&&!f&&y.jsx("div",{})]}),i&&y.jsxs("div",{style:{margin:c?"3rem 0 0":"5rem 0 0",position:"relative",overflow:"hidden",height:c?"250px":"400px"},children:[y.jsx("img",{src:i.src,alt:i.alt,style:{width:"100%",height:"100%",objectFit:"cover",filter:"grayscale(15%) contrast(1.05)"}}),!c&&y.jsx("div",{style:{position:"absolute",right:"2rem",bottom:0,top:0,display:"flex",alignItems:"center"},children:y.jsx("p",{style:{writingMode:"vertical-rl",textOrientation:"mixed",fontFamily:"monospace",fontSize:"10px",color:"#F4F1ED",letterSpacing:"0.2em",textTransform:"uppercase",opacity:.7},children:i.caption})}),y.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(to right, rgba(26,26,27,0.3), transparent, rgba(26,26,27,0.3))"}})]})]})}function hn({children:r}){return y.jsx("h2",{style:{fontFamily:"'Playfair Display', 'Georgia', serif",fontSize:"clamp(1.8rem, 5vw, 4rem)",fontWeight:300,color:"#1A1A1B",letterSpacing:"-0.02em",lineHeight:1.1,marginBottom:"2rem"},children:r})}function Ze({children:r}){return y.jsxs("h3",{style:{fontFamily:"monospace",fontSize:"11px",color:"#3E4C3F",letterSpacing:"0.2em",textTransform:"uppercase",marginBottom:"1.25rem",marginTop:"2.5rem",display:"flex",alignItems:"center",gap:"0.75rem"},children:[y.jsx("span",{style:{display:"inline-block",width:"1.5rem",height:"0.5px",background:"#3E4C3F"}}),r]})}function Be({children:r}){return y.jsx("p",{style:{fontFamily:"'Source Serif 4', 'Georgia', serif",fontSize:"1.1rem",color:"#1A1A1B",lineHeight:1.75,marginBottom:"1.5rem",fontWeight:400},children:r})}function Ve({number:r,children:n}){return y.jsxs("div",{style:{display:"flex",gap:"1.25rem",marginBottom:"1.5rem"},children:[y.jsxs("div",{style:{fontFamily:"monospace",fontSize:"11px",color:"#3E4C3F",letterSpacing:"0.1em",minWidth:"2rem",paddingTop:"0.35rem",flexShrink:0},children:["0",r,"."]}),y.jsx("p",{style:{fontFamily:"'Source Serif 4', 'Georgia', serif",fontSize:"1.05rem",color:"#1A1A1B",lineHeight:1.7,margin:0},children:n})]})}function gs({term:r,definition:n}){const[s,i]=V.useState(!1),a=Ko()<640;return y.jsxs("span",{style:{position:"relative",display:"inline"},children:[y.jsx("strong",{style:{color:"#1A1A1B",borderBottom:"1px solid #3E4C3F",cursor:"pointer",fontWeight:600},onMouseEnter:()=>!a&&i(!0),onMouseLeave:()=>!a&&i(!1),onClick:()=>i(c=>!c),children:r}),s&&y.jsxs("span",{style:{position:"absolute",left:a?"0":"calc(100% + 1rem)",top:a?"calc(100% + 0.5rem)":"50%",transform:a?"none":"translateY(-50%)",background:"#F4F1ED",border:"0.5px solid #3E4C3F",padding:"1rem 1.25rem",width:"220px",zIndex:50,boxShadow:"4px 4px 20px rgba(26,26,27,0.1)",fontFamily:"'Source Serif 4', 'Georgia', serif",fontSize:"0.85rem",color:"#1A1A1B",lineHeight:1.6,fontWeight:400,pointerEvents:"none"},children:[y.jsx("span",{style:{display:"block",fontFamily:"monospace",fontSize:"9px",color:"#5E5E5E",letterSpacing:"0.15em",textTransform:"uppercase",marginBottom:"0.5rem"},children:"PORTAL FRAME"}),n]})]})}function qe({children:r}){return y.jsx("span",{style:{display:"inline-block",fontFamily:"monospace",fontSize:"9px",letterSpacing:"0.15em",textTransform:"uppercase",color:"#3E4C3F",border:"0.5px solid #3E4C3F",padding:"0.2rem 0.5rem",marginRight:"0.5rem",marginBottom:"0.5rem"},children:r})}function Zp(){return y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1.5rem",margin:"2.5rem 0"},children:[y.jsx("div",{style:{flex:1,height:"0.5px",background:"rgba(26,26,27,0.12)"}}),y.jsx("span",{style:{fontFamily:"monospace",fontSize:"9px",color:"#5E5E5E",letterSpacing:"0.2em"},children:"◆"}),y.jsx("div",{style:{flex:1,height:"0.5px",background:"rgba(26,26,27,0.12)"}})]})}function hk(){uk(),ak();const r=Ko(),n=r<640,s=r>=640&&r<1024,i=n||s?"1fr":"1fr 6fr 1fr",a=n?"1fr":s?"80px 1fr":"1fr 6fr 1fr";return y.jsxs("div",{style:{background:"#F4F1ED",minHeight:"100vh",position:"relative"}
100,children:[y.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),y.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),y.jsx("link",{href:"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,600;1,300&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&display=swap",rel:"stylesheet"}),y.jsx(dk,{}),y.jsx(ck,{}),y.jsx(fk,{}),y.jsxs("div",{style:{maxWidth:"1200px",margin:"0 auto",padding:n?"3rem 1.25rem 2rem":"5rem 2rem 3rem",display:"grid",gridTemplateColumns:i,gap:"2rem"},children:[!n&&!s&&y.jsx("div",{}),y.jsxs("div",{children:[y.jsx("p",{style:{fontFamily:"monospace",fontSize:"10px",color:"#5E5E5E",letterSpacing:"0.2em",textTransform:"uppercase",marginBottom:"1rem"},children:"Published · August 2023 · Federal Trade Commission"}),y.jsx("p",{style:{fontFamily:"'Source Serif 4', 'Georgia', serif",fontSize:n?"1.1rem":"1.35rem",color:"#1A1A1B",lineHeight:1.7,fontWeight:300,fontStyle:"italic",maxWidth:"620px"},children:'"Scammers are professionals. They know exactly which buttons to press and which fears to exploit. Knowledge is the only reliable shield. Pass it on."'}),y.jsx(Zp,{}),y.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.5rem",marginTop:"1rem"},children:Et.map(c=>y.jsx(qe,{children:c.label},c.id))})]}),!n&&!s&&y.jsx("div",{})]}),y.jsxs(On,{id:"gift-card",section:Et[0],children:[y.jsx(hn,{children:"Hang Up on Gift Card Scams"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Payment Fraud"}),y.jsx(qe,{children:"Phone Scam"})]}),y.jsx(Ze,{children:"The Core Deception"}),y.jsx(Be,{children:"Did someone tell you to buy a gift card and give them the PIN? This is one of the fastest-growing fraud typologies tracked by the FTC. Scammers use urgency, fear, and authority to pressure you into buying gift cards immediately — then demanding the PIN numbers before you can think clearly."}),y.jsxs(Be,{children:["Gift cards are only for gifts. ",y.jsx(gs,{term:"Not for payments",definition:"No legitimate government agency, business, or person in authority will ever demand payment via gift card. This is always a scam — no exceptions."}),". The moment anyone asks you to pay with a gift card, that is a definitive scam signal."]}),y.jsx(Ze,{children:"Common Scam Vectors"}),y.jsx(Be,{children:"The scam appears across dozens of scenarios: government imposter (IRS, Social Security), tech support, online shopping, prizes, sweepstakes, arrest threats, ransom, business imposter, romance scams, deportation threats, family/friend emergency, and lotteries."}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Hang up immediately."})," If anyone demands gift card payment, end the communication at once. Do not engage further or try to explain yourself."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Report it."})," Visit ",y.jsx("a",{href:"https://ftc.gov/giftcards",target:"_blank",rel:"noreferrer",style:{color:"#3E4C3F"},children:"ftc.gov/giftcards"})," to report the scam and help the FTC track perpetrators."]})]}),y.jsxs("div",{style:{height:n?"250px":"400px",position:"relative",overflow:"hidden"},children:[y.jsx("img",{src:"https://media.base44.com/images/public/6a5405cc28a293305070dbf4/1fc167ff7_generated_aaeec0d2.png",alt:"Ink on parchment texture",style:{width:"100%",height:"100%",objectFit:"cover",filter:"grayscale(20%) sepia(10%)",transform:"scale(1.05)"}}),y.jsx("div",{style:{position:"absolute",inset:0,background:"rgba(26,26,27,0.5)",display:"flex",alignItems:"center",justifyContent:"center"},children:y.jsx("p",{style:{fontFamily:"'Playfair Display', 'Georgia', serif",fontSize:"clamp(1.2rem, 4vw, 3rem)",color:"#F4F1ED",fontWeight:300,letterSpacing:"0.05em",textAlign:"center",maxWidth:"700px",lineHeight:1.4,padding:"0 1.5rem"},children:`"The scammer's greatest tool is not technology — it is the exploitation of trust."`})}),!n&&y.jsx("div",{style:{position:"absolute",right:"2rem",bottom:"2rem"},children:y.jsx("p",{style:{writingMode:"vertical-rl",fontFamily:"monospace",fontSize:"9px",color:"rgba(244,241,237,0.5)",letterSpacing:"0.2em",textTransform:"uppercase"},children:"Gallery Inset · Vol. I"})})]}),y.jsxs(On,{id:"laptop",section:Et[1],children:[y.jsx(hn,{children:"Laptop Security"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Digital Safety"}),y.jsx(qe,{children:"Device Protection"})]}),y.jsx(Ze,{children:"Federal Trade Commission Advisory"}),y.jsx(Be,{children:"Your laptop is a vault. It holds financial records, personal correspondence, passwords, photographs, and the keys to your digital identity. Protecting the device means protecting everything on it."}),y.jsx(Ze,{children:"The Four Disciplines"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Use a strong passcode or password."})," A robust alphanumeric passphrase is your first line of defense against physical theft and unauthorized access."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Lock it when you're not using it."})," Enable automatic screen lock after one minute of inactivity. Physical proximity to an unlocked device is all an attacker needs."]}),y.jsxs(Ve,{number:3,children:[y.jsx("strong",{children:"Don't leave it unattended in public."})," Cafés, libraries, airports — anywhere your attention is divided is an opportunity for opportunistic theft."]}),y.jsxs(Ve,{number:4,children:[y.jsx("strong",{children:"Keep your software up to date."})," Security patches exist because vulnerabilities are discovered constantly. Every update closes a door."]}),y.jsxs(Ve,{number:5,children:[y.jsx("strong",{children:"Back up your data"})," to the cloud or an external storage device regularly. In the event of theft, loss, or ransomware, backups are your recovery path."]}),y.jsx(Zp,{}),y.jsxs(Be,{children:["Learn more at ",y.jsx("a",{href:"https://ftc.gov/OnlineSecurity",target:"_blank",rel:"noreferrer",style:{color:"#3E4C3F"},children:"ftc.gov/OnlineSecurity"}),"."]})]}),y.jsxs(On,{id:"government",section:Et[2],image:{src:"https://media.base44.com/images/public/6a5405cc28a293305070dbf4/084029182_generated_15c97087.png",alt:"Weathered lock on copper surface",caption:"On Authority & Deception · FTC Archive"},children:[y.jsx(hn,{children:"Government Impersonator Scams"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Impersonation"}),y.jsx(qe,{children:"Social Security"}),y.jsx(qe,{children:"Medicare"})]}),y.jsx(Ze,{children:"How They Work"}),y.jsx(Be,{children:"You receive a call, email, or text from someone claiming to be from the Social Security Administration or Medicare. They say something alarming — perhaps y
100our Social Security number has been suspended, or you'll miss out on a government benefit. To fix it, you must pay, provide personal information, or load money onto gift cards."}),y.jsx(Be,{children:"The caller may know part of your Social Security number. Your caller ID might show a Washington, DC area code. But is it really the government calling?"}),y.jsxs(Be,{children:[y.jsx("strong",{children:"No."})," The government does not call people out of the blue with threats or promises of money. ",y.jsx(gs,{term:"Caller IDs can be faked",definition:"A technique called 'spoofing' allows scammers to display any phone number on your caller ID, including official government numbers. Never trust the number you see."})," — so if you're not sure, contact the agency at a phone number you know to be true."]}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Stop. Don't send money"})," to anyone who calls, emails, or texts claiming government affiliation. No cash, no gift cards, no wire transfers, no cryptocurrency, no payment apps. The government will never demand payment this way. Contact agencies directly via ",y.jsx("a",{href:"https://usa.gov",target:"_blank",rel:"noreferrer",style:{color:"#3E4C3F"},children:"USA.gov"}),"."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Pass this information on to a friend."})," You may not have received one of these calls — but the odds are, someone you know has."]})]}),y.jsxs(On,{id:"calls",section:Et[3],image:{src:"https://media.base44.com/images/public/6a5405cc28a293305070dbf4/147b639aa_generated_326a853b.png",alt:"Antique phone on dusty desk",caption:"The Anatomy of a Robocall · FTC Archive"},children:[y.jsx(hn,{children:"Unwanted Calls and Text Messages"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Robocalls"}),y.jsx(qe,{children:"Do Not Call"}),y.jsx(qe,{children:"Spoofing"})]}),y.jsx(Ze,{children:"How They Work"}),y.jsxs(Be,{children:["You pick up the phone and hear a recorded message — a ",y.jsx(gs,{term:"robocall",definition:"An automated telephone call that delivers a pre-recorded message. Used legitimately for some public services, but exploited heavily by scammers who can place millions of calls cheaply."})," — or a live person selling something. Or you receive an unexpected text saying you've won a prize, have a package waiting, or must contact your bank."]}),y.jsx(Be,{children:"Recorded sales calls are illegal unless you have given a business written permission to robocall you. If your number is on the Do Not Call Registry, you should not receive any recorded or live sales calls. But scammers ignore these rules entirely."}),y.jsx(Be,{children:"Scammers use technology to make any name or number appear on your caller ID — the IRS, a business you know, or even your own number. You cannot trust caller ID because phone numbers can be faked."}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Hang up on unwanted calls and ignore unexpected texts."})," Don't press any numbers or click on links. Blocking services can help reduce unwanted contact. Learn more at ",y.jsx("a",{href:"https://ftc.gov/calls",target:"_blank",rel:"noreferrer",style:{color:"#3E4C3F"},children:"ftc.gov/calls"}),"."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Pass this information on to a friend."})," You may know what to do — but you probably know someone who doesn't."]})]}),y.jsxs(On,{id:"health",section:Et[4],children:[y.jsx(hn,{children:"Health Insurance Scams"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Medicare"}),y.jsx(qe,{children:"Identity Theft"}),y.jsx(qe,{children:"Healthcare Fraud"})]}),y.jsx(Ze,{children:"How They Work"}),y.jsx(Be,{children:"You receive a call or see an advertisement offering steep discounts on health insurance. Or someone contacts you claiming to be from the government, asking for your Medicare number to issue you a new card."}),y.jsxs(Be,{children:["Scammers follow the news cycle. During ",y.jsx(gs,{term:"Medicare open season",definition:"The annual enrollment period (typically October 15 – December 7) when scammers dramatically increase fraudulent contact, exploiting the timing when people are actively thinking about their coverage."}),", or when health insurance is a major story, scammers intensify their efforts. Their goal is your Social Security number, financial account numbers, or insurance information."]}),y.jsxs(Be,{children:['Ask yourself: Is that discount insurance plan genuinely a good deal? Is that "government official" really from the government? Do you really need a new health insurance card? The answer to all three is almost always: ',y.jsx("strong",{children:"No."})]}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Stop. Check it out."})," Before sharing any information, call Medicare directly at 1-800-MEDICARE. Do independent research and consult someone you trust."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Pass this information on to a friend."})," You might know these scams — but someone you care about might not."]})]}),y.jsxs(On,{id:"home-repair",section:Et[5],children:[y.jsx(hn,{children:"Home Repair Scams"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Contractor Fraud"}),y.jsx(qe,{children:"Disaster Fraud"})]}),y.jsx(Ze,{children:"How They Work"}),y.jsx(Be,{children:"Someone knocks on your door or calls you. They say they can fix your leaky roof, replace windows, or install the latest energy-efficient solar panels. They may find you after a flood, windstorm, or other natural disaster — precisely when you are most vulnerable. They apply pressure to act immediately and may ask for cash or offer financing that puts your home at risk."}
100),y.jsx(Be,{children:"Then they take your money and never return. Or they perform shoddy repairs that compound the damage. Or the financing agreement they had you sign contains predatory terms."}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Stop. Check it out."})," Before any home repair, seek recommendations from people you trust. Verify that contractors hold proper licenses and insurance. Obtain three written estimates. Never begin work without a signed written contract. Refuse anyone who insists on cash-only, payment apps, or wire transfers."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Pass this information on to a friend."})," You may see through these scams — but chances are, you know someone who could use a reminder."]})]}),y.jsxs(On,{id:"grandkid",section:Et[6],children:[y.jsx(hn,{children:"Grandkid and Family Scams"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Impersonation"}),y.jsx(qe,{children:"Emotional Manipulation"})]}),y.jsx(Ze,{children:"How They Work"}),y.jsxs(Be,{children:["You receive a call: ",y.jsx("em",{children:'"Grandma, I need money for bail."'})," Or an email from someone claiming to be a brother or friend in crisis — a medical bill, an emergency, a situation that demands immediate money and absolute secrecy."]}),y.jsxs(Be,{children:["Scammers are skilled at impersonation. They exploit information from social networking sites, sometimes hack into your loved one's email account, and use the emotional weight of family loyalty to prevent you from pausing to verify."," ",y.jsx(gs,{term:"They pressure you to decide before you can think.",definition:"Manufactured urgency is a core scammer technique. Any time someone demands an immediate decision — especially involving money — treat it as a major red flag."})]}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Stop. Check it out."})," Independently look up your family member's phone number and call them directly. Call another family member to verify the story before taking any action."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Pass this information on to a friend."})," You may not have received one of these calls — but chances are, you know someone who will."]})]}),y.jsxs(On,{id:"youve-won",section:Et[7],children:[y.jsx(hn,{children:`"You've Won" Scams`}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Lottery Fraud"}),y.jsx(qe,{children:"Prize Scams"}),y.jsx(qe,{children:"Advance Fee"})]}),y.jsx(Ze,{children:"How They Work"}),y.jsx(Be,{children:"You receive a call, letter, email, or text: You've won a vacation, a cruise, a lottery, a sweepstakes. The person contacting you is excited. They cannot wait for you to collect your winnings."}),y.jsx(Be,{children:"Then they explain that there are fees, taxes, or customs duties to pay first. They ask for your credit card number or bank account information. Or they insist payment can only be made via cash, gift cards, wire transfers, cryptocurrency, or a payment app."}),y.jsxs(Be,{children:[y.jsx("strong",{children:"If you pay a scammer or share information, you lose."})," There is no prize. There will only be more requests for money and more false promises."]}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Keep your money — and your information — to yourself."})," Never share financial information with someone who contacts you unexpectedly. Never pay anyone who insists you send cash, gift cards, wire transfers, cryptocurrency, or use a payment app."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Pass this information on to a friend."})," You likely recognize these scams — but you probably know someone who could use a friendly reminder."]})]}),y.jsxs(On,{id:"charity",section:Et[8],children:[y.jsx(hn,{children:"Charity Fraud"}),y.jsxs("div",{style:{marginBottom:"1rem"},children:[y.jsx(qe,{children:"Solicitation Fraud"}),y.jsx(qe,{children:"Nonprofit Impersonation"})]}),y.jsx(Ze,{children:"How It Works"}),y.jsx(Be,{children:"Someone contacts you requesting a donation to their charity. It sounds like a group you recognize. It seems legitimate. You want to help."}),y.jsxs(Be,{children:["Charity scammers want your money quickly. They pressure you to donate immediately. They demand ",y.jsx(gs,{term:"
100cash, gift cards, cryptocurrency, or wire transfers",definition:"All four of these payment methods share a critical trait: once sent, the money is virtually unrecoverable. Legitimate charities always accept traceable payment methods like checks or credit cards."}),". They refuse to send written information about the charity. They won't answer questions about how funds are used."]}),y.jsx(Ze,{children:"Protective Action"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Take your time."})," Don't trust caller ID. Tell callers to send information by mail. Research the charity independently — is it real, registered, and verified? If payment is demanded in cash, gift cards, cryptocurrency, or wire transfer: it's a scam."]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Pass this information on to a friend."})," Virtually everyone receives charity solicitations. This knowledge could help someone else identify a scam."]})]}),y.jsx("section",{id:"report",style:{padding:n?"4rem 0":"8rem 0",borderTop:"0.5px solid rgba(26,26,27,0.1)"},children:y.jsxs("div",{style:{maxWidth:"1200px",margin:"0 auto",padding:n?"0 1.25rem":"0 2rem",display:"grid",gridTemplateColumns:a,gap:"2rem"},children:[!n&&y.jsx("div",{children:y.jsx(My,{label:Et[9].label,year:Et[9].year})}),y.jsxs("div",{className:"fade-on-scroll",style:{transition:"opacity 0.4s ease"},children:[n&&y.jsxs("div",{style:{fontFamily:"monospace",fontSize:"10px",color:"#3E4C3F",letterSpacing:"0.15em",textTransform:"uppercase",marginBottom:"1rem"},children:[Et[9].year," · ",Et[9].label]}),y.jsx("p",{style:{fontFamily:"monospace",fontSize:"10px",color:"#3E4C3F",letterSpacing:"0.2em",textTransform:"uppercase",marginBottom:"1rem"},children:"Sign up for Consumer Alerts at ftc.gov/ConsumerAlerts"}),y.jsx(hn,{children:"Please Report Scams"}),y.jsx(Be,{children:"If you spot a scam, please report it to the Federal Trade Commission. Your report can help protect other people. By reporting fraud, you help the FTC's investigators identify scammers and stop them before they can take someone's hard-earned money. It really makes a difference."}),y.jsx(Ze,{children:"How to Report"}),y.jsxs(Ve,{number:1,children:[y.jsx("strong",{children:"Go online:"})," ",y.jsx("a",{href:"https://ReportFraud.ftc.gov",target:"_blank",rel:"noreferrer",style:{color:"#3E4C3F"},children:"ReportFraud.ftc.gov"})]}),y.jsxs(Ve,{number:2,children:[y.jsx("strong",{children:"Call the FTC:"})," 1-877-FTC-HELP (1-877-382-4357) or TTY 1-866-653-4261"]})]}),!n&&!s&&y.jsx("div",{})]})}),y.jsx("footer",{style:{background:"#1A1A1B",padding:n?"3rem 1.25rem 2.5rem":"6rem 2rem 4rem"},children:y.jsxs("div",{style:{maxWidth:"1200px",margin:"0 auto"},children:[y.jsx("p",{style:{fontFamily:"monospace",fontSize:"10px",color:"#7FA882",letterSpacing:"0.25em",textTransform:"uppercase",marginBottom:"2rem"},children:"§ Synthesized Annex · Further Inquiry"}),y.jsx("div",{children:y.jsx("div",{style:{display:"grid",gridTemplateColumns:n?"1fr 1fr":"repeat(auto-fill, minmax(160px, 1fr))",gap:"0.5px",background:"rgba(62,76,63,0.4)",border:"0.5px solid #3E4C3F"},children:[{label:"Consumer Alerts",url:"https://ftc.gov/ConsumerAlerts",desc:"Sign up for free FTC alerts"},{label:"Report Fraud",url:"https://ReportFraud.ftc.gov",desc:"File a report with the FTC"},{label:"Gift Card Scams",url:"https://ftc.gov/giftcards",desc:"Specific gift card guidance"},{label:"Unwanted Calls",url:"https://ftc.gov/calls",desc:"Block and report robocalls"},{label:"Online Security",url:"https://ftc.gov/OnlineSecurity",desc:"Protect your digital life"},{label:"Pass It On",url:"https://ftc.gov/PassItOn",desc:"Share FTC resources"},{label:"USA.gov",url:"https://usa.gov",desc:"Verify government contacts"}].map((c,f)=>y.jsxs("a",{href:c.url,target:"_blank",rel:"noreferrer",style:{display:"block",padding:"1.25rem 1.5rem",textDecoration:"none",background:"#1A1A1B",transition:"background 0.25s ease"},onMouseEnter:h=>{window.matchMedia("(pointer: fine)").matches&&(h.currentTarget.style.background="#3E4C3F")},onMouseLeave:h=>{h.currentTarget.style.background="#1A1A1B"},children:[y.jsxs("span",{style:{display:"block",fontFamily:"monospace",fontSize:"9px",color:"#8A8680",letterSpacing:"0.15em",textTransform:"uppercase",marginBottom:"0.75rem"},children:["Folio 0",f+1]}),y.jsx("span",{style:{display:"block",fontFamily:"'Playfair Display', 'Georgia', serif",fontSize:"1rem",color:"#F4F1ED",fontWeight:300,marginBottom:"0.5rem"},children:c.label}),y.jsx("span",{style:{display:"block",fontFamily:"monospace",fontSize:"9px",color:"#8A8680",letterSpacing:"0.05em"},children:c.desc})]},f))})}),y.jsxs("div",{style:{marginTop:"3rem",paddingTop:"2rem",borderTop:"0.5px solid rgba(244,241,237,0.1)",display:"flex",justifyContent:"space-between",alignItems:"flex-end",flexWrap:"wrap",gap:"1.5rem"},children:[y.jsxs("div",{children:[y.jsx("p",{style:{fontFamily:"'Playfair Display', 'Georgia', serif",fontSize:"1.35rem",color:"#F4F1ED",fontWeight:300,marginBottom:"0.5rem"},children:"Federal Trade Commission"}),y.jsx("p",{style:{fontFamily:"monospace",fontSize:"10px",color:"#8A8680",letterSpacing:"0.1em"},children:"ftc.gov/PassItOn · August 2023"})]}),y.jsx("div",{style:{textAlign:n?"left":"right"},children:y.jsxs("p",{style:{fontFamily:"monospace",fontSize:"9px",color:"#8A8680",letterSpacing:"0.15em",textTransform:"uppercase",lineHeight:1.8},children:["Protecting America's Consumers",y.jsx("br",{}),"Since 1914"]})})]})]})})]})}const pk=()=>{const{isLoadingAuth:r,isLoadingPublicSettings:n,authError:s,navigateToLogin:i}=sk();if(n||r)return y.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:y.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 y.jsx(ok,{});if(s.type==="auth_required")return i(),null}return y.jsxs(_x,{children:[y.jsx(ac,{path:"/",element:y.jsx(hk,{})}),y.jsx(ac,{path:"*",element:y.jsx(nk,{})})]})};function mk(){return y.jsx(rk,{children:y.jsxs(bw,{client:Uw,children:[y.jsxs(Rx,{children:[y.jsx(lk,{}),y.jsx(pk,{})]}),y.jsx(Z0,{})]})})}Kv.createRoot(document.getElementById("root")).render(y.jsx(mk,{}));

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.