PageSourceSearch

https://atllabordayclassic.com/assets/index-DfDKKgGD.js

js atllabordayclassic.com collected 2026-10-08 14:55:13 UTC 579,822 bytes, 231 lines download raw bytes

vendor: 6,401 bytes, lines 1-9
1var hk=Object.defineProperty;var Wg=t=>{throw TypeError(t)};var pk=(t,e,n)=>e in t?hk(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Le=(t,e,n)=>pk(t,typeof e!="symbol"?e+"":e,n),xd=(t,e,n)=>e.has(t)||Wg("Cannot "+n);var R=(t,e,n)=>(xd(t,e,"read from private field"),n?n.call(t):e.get(t)),fe=(t,e,n)=>e.has(t)?Wg("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),ee=(t,e,n,s)=>(xd(t,e,"write to private field"),s?s.call(t,n):e.set(t,n),n),Pe=(t,e,n)=>(xd(t,e,"access private method"),n);var Cl=(t,e,n,s)=>({set _(o){ee(t,e,o,n)},get _(){return R(t,e,s)}});function mk(t,e){for(var n=0;n<e.length;n++){const s=e[n];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const l=Object.getOwnPropertyDescriptor(s,o);l&&Object.defineProperty(t,o,l.get?l:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&s(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function J0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var wd={exports:{}},xo={},bd={exports:{}},Ce={};/**
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 Hg;function gk(){if(Hg)return Ce;Hg=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function x(L){return L===null||typeof L!="object"?null:(L=v&&L[v]||L["@@iterator"],typeof L=="function"?L:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,E={};function k(L,$,me){this.props=L,this.context=$,this.refs=E,this.updater=me||b}k.prototype.isReactComponent={},k.prototype.setState=function(L,$){if(typeof L!="object"&&typeof L!="function"&&L!=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,L,$,"setState")},k.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function S(){}S.prototype=k.prototype;function N(L,$,me){this.props=L,this.context=$,this.refs=E,this.updater=me||b}var T=N.prototype=new S;T.constructor=N,_(T,k.prototype),T.isPureReactComponent=!0;var j=Array.isArray,F=Object.prototype.hasOwnProperty,z={current:null},Y={key:!0,ref:!0,__self:!0,__source:!0};function U(L,$,me){var ge,de={},Q=null,we=null;if($!=null)for(ge in $.ref!==void 0&&(we=$.ref),$.key!==void 0&&(Q=""+$.key),$)F.call($,ge)&&!Y.hasOwnProperty(ge)&&(de[ge]=$[ge]);var Te=arguments.length-2;if(Te===1)de.children=me;else if(1<Te){for(var ve=Array(Te),lt=0;lt<Te;lt++)ve[lt]=arguments[lt+2];de.children=ve}if(L&&L.defaultProps)for(ge in Te=L.defaultProps,Te)de[ge]===void 0&&(de[ge]=Te[ge]);return{$$typeof:t,type:L,key:Q,ref:we,props:de,_owner:z.current}}function Z(L,$){return{$$typeof:t,type:L.type,key:$,ref:L.ref,props:L.props,_owner:L._owner}}function le(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function Se(L){var $={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(me){return $[me]})}var De=/\/+/g;function ke(L,$){return typeof L=="object"&&L!==null&&L.key!=null?Se(""+L.key):$.toString(36)}function _e(L,$,me,ge,de){var Q=typeof L;(Q==="undefined"||Q==="boolean")&&(L=null);var we=!1;if(L===null)we=!0;else switch(Q){case"string":case"number":we=!0;break;case"object":switch(L.$$typeof){case t:case e:we=!0}}if(we)return we=L,de=de(we),L=ge===""?"."+ke(we,0):ge,j(de)?(me="",L!=null&&(me=L.replace(De,"$&/")+"/"),_e(de,$,me,"",function(lt){return lt})):de!=null&&(le(de)&&(de=Z(de,me+(!de.key||we&&we.key===de.key?"":(""+de.key).replace(De,"$&/")+"/")+L)),$.push(de)),1;if(we=0,ge=ge===""?".":ge+":",j(L))for(var Te=0;Te<L.length;Te++){Q=L[Te];var ve=ge+ke(Q,Te);we+=_e(Q,$,me,ve,de)}else if(ve=x(L),typeof ve=="function")for(L=ve.call(L),Te=0;!(Q=L.next()).done;)Q=Q.value,ve=ge+ke(Q,Te++),we+=_e(Q,$,me,ve,de);else if(Q==="object")throw $=String(L),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.");return we}function Be(L,$,me){if(L==null)return L;var ge=[],de=0;return _e(L,ge,"","",function(Q){return $.call(me,Q,de++)}),ge}function Ne(L){if(L._status===-1){var $=L._result;$=$(),$.then(function(me){(L._status===0||L._status===-1)&&(L._status=1,L._result=me)},function(me){(L._status===0||L._status===-1)&&(L._status=2,L._result=me)}),L._status===-1&&(L._status=0,L._result=$)}if(L._status===1)return L._result.default;throw L._result}var he={current:null},G={transition:null},oe={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:G,ReactCurrentOwner:z};function V(){throw Error("act(...) is not supported in production builds of React.")}return Ce.Children={map:Be,forEach:function(L,$,me){Be(L,function(){$.apply(this,arguments)},me)},count:function(L){var $=0;return Be(L,function(){$++}),$},toArray:function(L){return Be(L,function($){return $})||[]},only:function(L){if(!le(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},Ce.Component=k,Ce.Fragment=n,Ce.Profiler=o,Ce.PureComponent=N,Ce.StrictMode=s,Ce.Suspense=f,Ce.__SECRET_INT
vendor: 5,019 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,Ce.act=V,Ce.cloneElement=function(L,$,me){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var ge=_({},L.props),de=L.key,Q=L.ref,we=L._owner;if($!=null){if($.ref!==void 0&&(Q=$.ref,we=z.current),$.key!==void 0&&(de=""+$.key),L.type&&L.type.defaultProps)var Te=L.type.defaultProps;for(ve in $)F.call($,ve)&&!Y.hasOwnProperty(ve)&&(ge[ve]=$[ve]===void 0&&Te!==void 0?Te[ve]:$[ve])}var ve=arguments.length-2;if(ve===1)ge.children=me;else if(1<ve){Te=Array(ve);for(var lt=0;lt<ve;lt++)Te[lt]=arguments[lt+2];ge.children=Te}return{$$typeof:t,type:L.type,key:de,ref:Q,props:ge,_owner:we}},Ce.createContext=function(L){return L={$$typeof:c,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:l,_context:L},L.Consumer=L},Ce.createElement=U,Ce.createFactory=function(L){var $=U.bind(null,L);return $.type=L,$},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(L){return{$$typeof:d,render:L}},Ce.isValidElement=le,Ce.lazy=function(L){return{$$typeof:y,_payload:{_status:-1,_result:L},_init:Ne}},Ce.memo=function(L,$){return{$$typeof:p,type:L,compare:$===void 0?null:$}},Ce.startTransition=function(L){var $=G.transition;G.transition={};try{L()}finally{G.transition=$}},Ce.unstable_act=V,Ce.useCallback=function(L,$){return he.current.useCallback(L,$)},Ce.useContext=function(L){return he.current.useContext(L)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(L){return he.current.useDeferredValue(L)},Ce.useEffect=function(L,$){return he.current.useEffect(L,$)},Ce.useId=function(){return he.current.useId()},Ce.useImperativeHandle=function(L,$,me){return he.current.useImperativeHandle(L,$,me)},Ce.useInsertionEffect=function(L,$){return he.current.useInsertionEffect(L,$)},Ce.useLayoutEffect=function(L,$){return he.current.useLayoutEffect(L,$)},Ce.useMemo=function(L,$){return he.current.useMemo(L,$)},Ce.useReducer=function(L,$,me){return he.current.useReducer(L,$,me)},Ce.useRef=function(L){return he.current.useRef(L)},Ce.useState=function(L){return he.current.useState(L)},Ce.useSyncExternalStore=function(L,$,me){return he.current.useSyncExternalStore(L,$,me)},Ce.useTransition=function(){return he.current.useTransition()},Ce.version="18.3.1",Ce}var qg;function Gf(){return qg||(qg=1,bd.exports=gk()),bd.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 Kg;function yk(){if(Kg)return xo;Kg=1;var t=Gf(),e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,f,p){var y,v={},x=null,b=null;p!==void 0&&(x=""+p),f.key!==void 0&&(x=""+f.key),f.ref!==void 0&&(b=f.ref);for(y in f)s.call(f,y)&&!l.hasOwnProperty(y)&&(v[y]=f[y]);if(d&&d.defaultProps)for(y in f=d.defaultProps,f)v[y]===void 0&&(v[y]=f[y]);return{$$typeof:e,type:d,key:x,ref:b,props:v,_owner:o.current}}return xo.Fragment=n,xo.jsx=c,xo.jsxs=c,xo}var Gg;function vk(){return Gg||(Gg=1,wd.exports=yk()),wd.exports}var m=vk(),A=Gf();const xk=J0(A),wk=mk({__proto__:null,default:xk},[A]);var _l={},Sd={exports:{}},Bt={},kd={exports:{}},Ed={};/**
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 Qg;function bk(){return Qg||(Qg=1,(function(t){function e(G,oe){var V=G.length;G.push(oe);e:for(;0<V;){var L=V-1>>>1,$=G[L];if(0<o($,oe))G[L]=oe,G[V]=$,V=L;else break e}}function n(G){return G.length===0?null:G[0]}function s(G){if(G.length===0)return null;var oe=G[0],V=G.pop();if(V!==oe){G[0]=V;e:for(var L=0,$=G.length,me=$>>>1;L<me;){var ge=2*(L+1)-1,de=G[ge],Q=ge+1,we=G[Q];if(0>o(de,V))Q<$&&0>o(we,de)?(G[L]=we,G[Q]=V,L=Q):(G[L]=de,G[ge]=V,L=ge);else if(Q<$&&0>o(we,V))G[L]=we,G[Q]=V,L=Q;else break e}}return oe}function o(G,oe){var V=G.sortIndex-oe.sortIndex;return V!==0?V:G.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;t.unstable_now=function(){return l.now()}}else{var c=Date,d=c.now();t.unstable_now=function(){return c.now()-d}}var f=[],p=[],y=1,v=null,x=3,b=!1,_=!1,E=!1,k=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(G){for(var oe=n(p);oe!==null;){if(oe.callback===null)s(p);else if(oe.startTime<=G)s(p),oe.sortIndex=oe.expirationTime,e(f,oe);else break;
vendor: 49,861 bytes, lines 25-38
25oe=n(p)}}function j(G){if(E=!1,T(G),!_)if(n(f)!==null)_=!0,Ne(F);else{var oe=n(p);oe!==null&&he(j,oe.startTime-G)}}function F(G,oe){_=!1,E&&(E=!1,S(U),U=-1),b=!0;var V=x;try{for(T(oe),v=n(f);v!==null&&(!(v.expirationTime>oe)||G&&!Se());){var L=v.callback;if(typeof L=="function"){v.callback=null,x=v.priorityLevel;var $=L(v.expirationTime<=oe);oe=t.unstable_now(),typeof $=="function"?v.callback=$:v===n(f)&&s(f),T(oe)}else s(f);v=n(f)}if(v!==null)var me=!0;else{var ge=n(p);ge!==null&&he(j,ge.startTime-oe),me=!1}return me}finally{v=null,x=V,b=!1}}var z=!1,Y=null,U=-1,Z=5,le=-1;function Se(){return!(t.unstable_now()-le<Z)}function De(){if(Y!==null){var G=t.unstable_now();le=G;var oe=!0;try{oe=Y(!0,G)}finally{oe?ke():(z=!1,Y=null)}}else z=!1}var ke;if(typeof N=="function")ke=function(){N(De)};else if(typeof MessageChannel<"u"){var _e=new MessageChannel,Be=_e.port2;_e.port1.onmessage=De,ke=function(){Be.postMessage(null)}}else ke=function(){k(De,0)};function Ne(G){Y=G,z||(z=!0,ke())}function he(G,oe){U=k(function(){G(t.unstable_now())},oe)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(G){G.callback=null},t.unstable_continueExecution=function(){_||b||(_=!0,Ne(F))},t.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Z=0<G?Math.floor(1e3/G):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return n(f)},t.unstable_next=function(G){switch(x){case 1:case 2:case 3:var oe=3;break;default:oe=x}var V=x;x=oe;try{return G()}finally{x=V}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(G,oe){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var V=x;x=G;try{return oe()}finally{x=V}},t.unstable_scheduleCallback=function(G,oe,V){var L=t.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?L+V:L):V=L,G){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=V+$,G={id:y++,callback:oe,priorityLevel:G,startTime:V,expirationTime:$,sortIndex:-1},V>L?(G.sortIndex=V,e(p,G),n(f)===null&&G===n(p)&&(E?(S(U),U=-1):E=!0,he(j,V-L))):(G.sortIndex=$,e(f,G),_||b||(_=!0,Ne(F))),G},t.unstable_shouldYield=Se,t.unstable_wrapCallback=function(G){var oe=x;return function(){var V=x;x=oe;try{return G.apply(this,arguments)}finally{x=V}}}})(Ed)),Ed}var Yg;function Sk(){return Yg||(Yg=1,kd.exports=bk()),kd.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 Xg;function kk(){if(Xg)return Bt;Xg=1;var t=Gf(),e=Sk();function n(r){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+r,a=1;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,o={};function l(r,i){c(r,i),c(r+"Capture",i)}function c(r,i){for(o[r]=i,r=0;r<i.length;r++)s.add(i[r])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[: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]*$/,y={},v={};function x(r){return f.call(v,r)?!0:f.call(y,r)?!1:p.test(r)?v[r]=!0:(y[r]=!0,!1)}function b(r,i,a,u){if(a!==null&&a.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return u?!1:a!==null?!a.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function _(r,i,a,u){if(i===null||typeof i>"u"||b(r,i,a,u))return!0;if(u)return!1;if(a!==null)switch(a.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function E(r,i,a,u,h,g,w){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=u,this.attributeNamespace=h,this.mustUseProperty=a,this.propertyName=r,this.type=i,this.sanitizeURL=g,this.removeEmptyString=w}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){k[r]=new E(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];k[i]=new E(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){k[r]=new E(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){k[r]=new E(r,2,!1,r,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(r){k[r]=new E(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){k[r]=new E(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){k[r]=new E(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){k[r]=new E(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){k[r]=new E(r,5,!1,r.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function N(r){return r[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(r){var i=r.replace(S,N);k[i]=new E(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(S,N);k[i]=new E(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(S,N);k[i]=new E(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){k[r]=new E(r,1,!1,r.toLowerCase(),null,!1,!1)}),k.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){k[r]=new E(r,1,!1,r.toLowerCase(),null,!0,!0)});function T(r,i,a,u){var h=k.hasOwnProperty(i)?k[i]:null;(h!==null?h.type!==0:u||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(_(i,a,h,u)&&(a=null),u||h===null?x(i)&&(a===null?r.removeAttribute(i):r.setAttribute(i,""+a)):h.mustUseProperty?r[h.propertyName]=a===null?h.type===3?!1:"":a:(i=h.attributeName,u=h.attributeNamespace,a===null?r.removeAttribute(i):(h=h.type,a=h===3||h===4&&a===!0?"":""+a,u?r.setAttributeNS(u,i,a):r.setAttribute(i,a))))}var j=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),z=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),Se=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),Be=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),he=Symbol.for("react.offscreen"),G=Symbol.iterator;function oe(r){return r===null||typeof r!="object"?null:(r=G&&r[G]||r["@@iterator"],typeof r=="function"?r:null)}var V=Object.assign,L;function $(r){if(L===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);L=i&&i[1]||""}return`
34`+L+r}var me=!1;function ge(r,i){if(!r||me)return"";me=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(B){var u=B}Reflect.construct(r,[],i)}else{try{i.call()}catch(B){u=B}r.call(i.prototype)}else{try{throw Error()}catch(B){u=B}r()}}catch(B){if(B&&u&&typeof B.stack=="string"){for(var h=B.stack.split(`
35`),g=u.stack.split(`
36`),w=h.length-1,C=g.length-1;1<=w&&0<=C&&h[w]!==g[C];)C--;for(;1<=w&&0<=C;w--,C--)if(h[w]!==g[C]){if(w!==1||C!==1)do if(w--,C--,0>C||h[w]!==g[C]){var P=`
37`+h[w].replace(" at new "," at ");return r.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",r.displayName)),P}while(1<=w&&0<=C);break}}}finally{me=!1,Error.prepareStackTrace=a}return(r=r?r.displayName||r.name:"")?$(r):""}function de(r){switch(r.tag){case 5:return $(r.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return r=ge(r.type,!1),r;case 11:return r=ge(r.type.render,!1),r;case 1:return r=ge(r.type,!0),r;default:return""}}function Q(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case Y:return"Fragment";case z:return"Portal";case Z:return"Profiler";case U:return"StrictMode";case ke:return"Suspense";case _e:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Se:return(r.displayName||"Context")+".Consumer";case le:return(r._context.displayName||"Context")+".Provider";case De:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Be:return i=r.displayName||null,i!==null?i:Q(r.type)||"Memo";case Ne:i=r._payload,r=r._init;try{return Q(r(i))}catch{}}return null}function we(r){var i=r.type;switch(r.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q(i);case 8:return i===U?"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 i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Te(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ve(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function lt(r){var i=ve(r)?"checked":"value",a=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),u=""+r[i];if(!r.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var h=a.get,g=a.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(w){u=""+w,g.call(this,w)}}),Object.defineProperty(r,i,{enumerable:a.enumerable}),{getValue:function(){return u},setValue:function(w){u=""+w},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function Gt(r){r._valueTracker||(r._valueTracker=lt(r))}function pt(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var a=i.getValue(),u="";return r&&(u=ve(r)?r.checked?"true":"false":r.value),r=u,r!==a?(i.setValue(r),!0):!1}function cn(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Qt(r,i){var a=i.checked;return V({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??r._wrapperState.initialChecked})}function Yt(r,i){var a=i.defaultValue==null?"":i.defaultValue,u=i.checked!=null?i.checked:i.defaultChecked;a=Te(i.value!=null?i.value:a),r._wrapperState={initialChecked:u,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function be(r,i){i=i.checked,i!=null&&T(r,"checked",i,!1)}function mt(r,i){be(r,i);var a=Te(i.value),u=i.type;if(a!=null)u==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+a):r.value!==""+a&&(r.value=""+a);else if(u==="submit"||u==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?dn(r,i.type,a):i.hasOwnProperty("defaultValue")&&dn(r,i.type,Te(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function un(r,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var u=i.type;if(!(u!=="submit"&&u!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,a||i===r.value||(r.value=i),r.defaultValue=i}a=r.name,a!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,a!==""&&(r.name=a)}function dn(r,i,a){(i!=="number"||cn(r.ownerDocument)!==r)&&(a==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+a&&(r.defaultValue=""+a))}var tr=Array.isArray;function nr(r,i,a,u){if(r=r.options,i){i={};for(var h=0;h<a.length;h++)i["$"+a[h]]=!0;for(a=0;a<r.length;a++)h=i.hasOwnProperty("$"+r[a].value),r[a].selected!==h&&(r[a].selected=h),h&&u&&(r[a].defaultSelected=!0)}else{for(a=""+Te(a),i=null,h=0;h<r.length;h++){if(r[h].value===a){r[h].selected=!0,u&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function Bn(r,i){if(i.dangerouslySetInnerHTML!=null)throw Error(n(91));return V({},i,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function ep(r,i){var a=i.value;if(a==null){if(a=i.children,i=i.defaultValue,a!=null){if(i!=null)throw Error(n(92));if(tr(a)){if(1<a.length)throw Error(n(93));a=a[0]}i=a}i==null&&(i=""),a=i}r._wrapperState={initialValue:Te(a)}}function tp(r,i){var a=Te(i.value),u=Te(i.defaultValue);a!=null&&(a=""+a,a!==r.value&&(r.value=a),i.defaultValue==null&&r.defaultValue!==a&&(r.defaultValue=a)),u!=null&&(r.defaultValue=""+u)}function np(r){var i=r.textContent;i===r._wrapperState.initialValue&&i!==""&&i!==null&&(r.value=i)}function rp(r){switch(r){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 Rc(r,i){return r==null||r==="http://www.w3.org/1999/xhtml"?rp(i):r==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var ya,sp=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,a,u,h){MSApp.execUnsafeLocalFunction(function(){return r(i,a,u,h)})}:r})(function(r,i){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=i;else{for(ya=ya||document.createElement("div"),ya.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=ya.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function Li(r,i){if(i){var a=r.firstChild;if(a&&a===r.lastChild&&a.nodeType===3){a.nodeValue=i;return}}r.textContent=i}var Di={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},y1=["Webkit","ms","Moz","O"];Object.keys(Di).forEach(function(r){y1.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),Di[i]=Di[r]})});function ip(r,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||Di.hasOwnProperty(r)&&Di[r]?(""+i).trim():i+"px"}function op(r,i){r=r.style;for(var a in i)if(i.hasOwnProperty(a)){var u=a.indexOf("--")===0,h=ip(a,i[a],u);a==="float"&&(a="cssFloat"),u?r.setProperty(a,h):r[a]=h}}var v1=V({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 Nc(r,i){if(i){if(v1[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function jc(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Oc=null;function Lc(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Dc=null,Os=null,Ls=null;function ap(r){if(r=ro(r)){if(typeof Dc!="function")throw Error(n(280));var i=r.stateNode;i&&(i=Ua(i),Dc(r.stateNode,r.type,i))}}function lp(r){Os?Ls?Ls.push(r):Ls=[r]:Os=r}function cp(){if(Os){var r=Os,i=Ls;if(Ls=Os=null,ap(r),i)for(r=0;r<i.length;r++)ap(i[r])}}function up(r,i){return r(i)}function dp(){}var Mc=!1;function fp(r,i,a){if(Mc)return r(i,a);Mc=!0;try{return up(r,i,a)}finally{Mc=!1,(Os!==null||Ls!==null)&&(dp(),cp())}}function Mi(r,i){var a=r.stateNode;if(a===null)return null;var u=Ua(a);if(u===null)return null;a=u[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(r=r.type,u=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!u;break e;default:r=!1}if(r)return null;if(a&&typeof a!="function")throw Error(n(231,i,typeof a));return a}var Ic=!1;if(d)try{var Ii={};Object.defineProperty(Ii,"passive",{get:function(){Ic=!0}}),window.addEventListener("test",Ii,Ii),window.removeEventListener("test",Ii,Ii)}catch{Ic=!1}function x1(r,i,a,u,h,g,w,C,P){var B=Array.prototype.slice.call(arguments,3);try{i.apply(a,B)}catch(H){this.onError(H)}}var Fi=!1,va=null,xa=!1,Fc=null,w1={onError:function(r){Fi=!0,va=r}};function b1(r,i,a,u,h,g,w,C,P){Fi=!1,va=null,x1.apply(w1,arguments)}function S1(r,i,a,u,h,g,w,C,P){if(b1.apply(this,arguments),Fi){if(Fi){var B=va;Fi=!1,va=null}else throw Error(n(198));xa||(xa=!0,Fc=B)}}function $r(r){var i=r,a=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(a=i.return),r=i.return;while(r)}return i.tag===3?a:null}function hp(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function pp(r){if($r(r)!==r)throw Error(n(188))}function k1(r){var i=r.alternate;if(!i){if(i=$r(r),i===null)throw Error(n(188));return i!==r?null:r}for(var a=r,u=i;;){var h=a.return;if(h===null)break;var g=h.alternate;if(g===null){if(u=h.return,u!==null){a=u;continue}break}if(h.child===g.child){for(g=h.child;g;){if(g===a)return pp(h),r;if(g===u)return pp(h),i;g=g.sibling}throw Error(n(188))}if(a.return!==u.return)a=h,u=g;else{for(var w=!1,C=h.child;C;){if(C===a){w=!0,a=h,u=g;break}if(C===u){w=!0,u=h,a=g;break}C=C.sibling}if(!w){for(C=g.child;C;){if(C===a){w=!0,a=g,u=h;break}if(C===u){w=!0,u=g,a=h;break}C=C.sibling}if(!w)throw Error(n(189))}}if(a.alternate!==u)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?r:i}function mp(r){return r=k1(r),r!==null?gp(r):null}function gp(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var i=gp(r);if(i!==null)return i;r=r.sibling}return null}var yp=e.unstable_scheduleCallback,vp=e.unstable_cancelCallback,E1=e.unstable_shouldYield,C1=e.unstable_requestPaint,Xe=e.unstable_now,_1=e.unstable_getCurrentPriorityLevel,Bc=e.unstable_ImmediatePriority,xp=e.unstable_UserBlockingPriority,wa=e.unstable_NormalPriority,T1=e.unstable_LowPriority,wp=e.unstable_IdlePriority,ba=null,Cn=null;function P1(r){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{Cn.onCommitFiberRoot(ba,r,void 0,(r.current.flags&128)===128)}catch{}}var fn=Math.clz32?Math.clz32:N1,A1=Math.log,R1=Math.LN2;function N1(r){return r>>>=0,r===0?32:31-(A1(r)/R1|0)|0}var Sa=64,ka=4194304;function Bi(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ea(r,i){var a=r.pendingLanes;if(a===0)return 0;var u=0,h=r.suspendedLanes,g=r.pingedLanes,w=a&268435455;if(w!==0){var C=w&~h;C!==0?u=Bi(C):(g&=w,g!==0&&(u=Bi(g)))}else w=a&~h,w!==0?u=Bi(w):g!==0&&(u=Bi(g));if(u===0)return 0;if(i!==0&&i!==u&&(i&h)===0&&(h=u&-u,g=i&-i,h>=g||h===16&&(g&4194240)!==0))return i;if((u&4)!==0&&(u|=a&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=u;0<i;)a=31-fn(i),h=1<<a,u|=r[a],i&=~h;return u}function j1(r,i){switch(r){case 1:case 2:case 4:return i+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 i+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 O1(r,i){for(var a=r.suspendedLanes,u=r.pingedLanes,h=r.expirationTimes,g=r.pendingLanes;0<g;){var w=31-fn(g),C=1<<w,P=h[w];P===-1?((C&a)===0||(C&u)!==0)&&(h[w]=j1(C,i)):P<=i&&(r.expiredLanes|=C),g&=~C}}function Uc(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function bp(){var r=Sa;return Sa<<=1,(Sa&4194240)===0&&(Sa=64),r}function Vc(r){for(var i=[],a=0;31>a;a++)i.push(r);return i}function Ui(r,i,a){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-fn(i),r[i]=a}function L1(r,i){var a=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var u=r.eventTimes;for(r=r.expirationTimes;0<a;){var h=31-fn(a),g=1<<h;i[h]=0,u[h]=-1,r[h]=-1,a&=~g}}function zc(r,i){var a=r.entangledLanes|=i;for(r=r.entanglements;a;){var u=31-fn(a),h=1<<u;h&i|r[u]&i&&(r[u]|=i),a&=~h}}var Fe=0;function Sp(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var kp,$c,Ep,Cp,_p,Wc=!1,Ca=[],rr=null,sr=null,ir=null,Vi=new Map,zi=new Map,or=[],D1="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 Tp(r,i){switch(r){case"focusin":case"focusout":rr=null;break;case"dragenter":case"dragleave":sr=null;break;case"mouseover":case"mouseout":ir=null;break;case"pointerover":case"pointerout":Vi.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":zi.delete(i.pointerId)}}function $i(r,i,a,u,h,g){return r===null||r.nativeEvent!==g?(r={blockedOn:i,domEventName:a,eventSystemFlags:u,nativeEvent:g,targetContainers:[h]},i!==null&&(i=ro(i),i!==null&&$c(i)),r):(r.eventSystemFlags|=u,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function M1(r,i,a,u,h){switch(i){case"focusin":return rr=$i(rr,r,i,a,u,h),!0;case"dragenter":return sr=$i(sr,r,i,a,u,h),!0;case"mouseover":return ir=$i(ir,r,i,a,u,h),!0;case"pointerover":var g=h.pointerId;return Vi.set(g,$i(Vi.get(g)||null,r,i,a,u,h)),!0;case"gotpointercapture":return g=h.pointerId,zi.set(g,$i(zi.get(g)||null,r,i,a,u,h)),!0}return!1}function Pp(r){var i=Wr(r.target);if(i!==null){var a=$r(i);if(a!==null){if(i=a.tag,i===13){if(i=hp(a),i!==null){r.blockedOn=i,_p(r.priority,function(){Ep(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){r.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}r.blockedOn=null}function _a(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var a=qc(r.domEventName,r.eventSystemFlags,i[0],r.nativeEvent);if(a===null){a=r.nativeEvent;var u=new a.constructor(a.type,a);Oc=u,a.target.dispatchEvent(u),Oc=null}else return i=ro(a),i!==null&&$c(i),r.blockedOn=a,!1;i.shift()}return!0}function Ap(r,i,a){_a(r)&&a.delete(i)}function I1(){Wc=!1,rr!==null&&_a(rr)&&(rr=null),sr!==null&&_a(sr)&&(sr=null),ir!==null&&_a(ir)&&(ir=null),Vi.forEach(Ap),zi.forEach(Ap)}function Wi(r,i){r.blockedOn===i&&(r.blockedOn=null,Wc||(Wc=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,I1)))}function Hi(r){function i(h){return Wi(h,r)}if(0<Ca.length){Wi(Ca[0],r);for(var a=1;a<Ca.length;a++){var u=Ca[a];u.blockedOn===r&&(u.blockedOn=null)}}for(rr!==null&&Wi(rr,r),sr!==null&&Wi(sr,r),ir!==null&&Wi(ir,r),Vi.forEach(i),zi.forEach(i),a=0;a<or.length;a++)u=or[a],u.blockedOn===r&&(u.blockedOn=null);for(;0<or.length&&(a=or[0],a.blockedOn===null);)Pp(a),a.blockedOn===null&&or.shift()}var Ds=j.ReactCurrentBatchConfig,Ta=!0;function F1(r,i,a,u){var h=Fe,g=Ds.transition;Ds.transition=null;try{Fe=1,Hc(r,i,a,u)}finally{Fe=h,Ds.transition=g}}function B1(r,i,a,u){var h=Fe,g=Ds.transition;Ds.transition=null;try{Fe=4,Hc(r,i,a,u)}finally{Fe=h,Ds.transition=g}}function Hc(r,i,a,u){if(Ta){var h=qc(r,i,a,u);if(h===null)cu(r,i,u,Pa,a),Tp(r,u);else if(M1(h,r,i,a,u))u.stopPropagation();else if(Tp(r,u),i&4&&-1<D1.indexOf(r)){for(;h!==null;){var g=ro(h);if(g!==null&&kp(g),g=qc(r,i,a,u),g===null&&cu(r,i,u,Pa,a),g===h)break;h=g}h!==null&&u.stopPropagation()}else cu(r,i,u,null,a)}}var Pa=null;function qc(r,i,a,u){if(Pa=null,r=Lc(u),r=Wr(r),r!==null)if(i=$r(r),i===null)r=null;else if(a=i.tag,a===13){if(r=hp(i),r!==null)return r;r=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null);return Pa=r,null}function Rp(r){switch(r){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(_1()){case Bc:return 1;case xp:return 4;case wa:case T1:return 16;case wp:return 536870912;default:return 16}default:return 16}}var ar=null,Kc=null,Aa=null;function Np(){if(Aa)return Aa;var r,i=Kc,a=i.length,u,h="value"in ar?ar.value:ar.textContent,g=h.length;for(r=0;r<a&&i[r]===h[r];r++);var w=a-r;for(u=1;u<=w&&i[a-u]===h[g-u];u++);return Aa=h.slice(r,1<u?1-u:void 0)}function Ra(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function Na(){return!0}function jp(){return!1}function $t(r){function i(a,u,h,g,w){this._reactName=a,this._targetInst=h,this.type=u,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var C in r)r.hasOwnProperty(C)&&(a=r[C],this[C]=a?a(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Na:jp,this.isPropagationStopped=jp,this}return V(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Na)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Na)},persist:function(){},isPersistent:Na}),i}var Ms={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gc=$t(Ms),qi=V({},Ms,{view:0,detail:0}),U1=$t(qi),Qc,Yc,Ki,ja=V({},qi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jc,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Ki&&(Ki&&r.type==="mousemove"?(Qc=r.screenX-Ki.screenX,Yc=r.screenY-Ki.screenY):Yc=Qc=0,Ki=r),Qc)},movementY:function(r){return"movementY"in r?r.movementY:Yc}}),Op=$t(ja),V1=V({},ja,{dataTransfer:0}),z1=$t(V1),$1=V({},qi,{relatedTarget:0}),Xc=$t($1),W1=V({},Ms,{animationName:0,elapsedTime:0,pseudoElement:0}),H1=$t(W1),q1=V({},Ms,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),K1=$t(q1),G1=V({},Ms,{data:0}),Lp=$t(G1),Q1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y1={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"},X1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function J1(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=X1[r])?!!i[r]:!1}function Jc(){return J1}var Z1=V({},qi,{key:function(r){if(r.key){var i=Q1[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=Ra(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Y1[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jc,charCode:function(r){return r.type==="keypress"?Ra(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Ra(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),eS=$t(Z1),tS=V({},ja,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dp=$t(tS),nS=V({},qi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jc}),rS=$t(nS),sS=V({},Ms,{propertyName:0,elapsedTime:0,pseudoElement:0}),iS=$t(sS),oS=V({},ja,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),aS=$t(oS),lS=[9,13,27,32],Zc=d&&"CompositionEvent"in window,Gi=null;d&&"documentMode"in document&&(Gi=document.documentMode);var cS=d&&"TextEvent"in window&&!Gi,Mp=d&&(!Zc||Gi&&8<Gi&&11>=Gi),Ip=" ",Fp=!1;function Bp(r,i){switch(r){case"keyup":return lS.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Up(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Is=!1;function uS(r,i){switch(r){case"compositionend":return Up(i);case"keypress":return i.which!==32?null:(Fp=!0,Ip);case"textInput":return r=i.data,r===Ip&&Fp?null:r;default:return null}}function dS(r,i){if(Is)return r==="compositionend"||!Zc&&Bp(r,i)?(r=Np(),Aa=Kc=ar=null,Is=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Mp&&i.locale!=="ko"?null:i.data;default:return null}}var fS={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 Vp(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!fS[r.type]:i==="textarea"}function zp(r,i,a,u){lp(u),i=Ia(i,"onChange"),0<i.length&&(a=new Gc("onChange","change",null,a,u),r.push({event:a,listeners:i}))}var Qi=null,Yi=null;function hS(r){om(r,0)}function Oa(r){var i=zs(r);if(pt(i))return r}function pS(r,i){if(r==="change")return i}var $p=!1;if(d){var eu;if(d){var tu="oninput"in document;if(!tu){var Wp=document.createElement("div");Wp.setAttribute("oninput","return;"),tu=typeof Wp.oninput=="function"}eu=tu}else eu=!1;$p=eu&&(!document.documentMode||9<document.documentMode)}function Hp(){Qi&&(Qi.detachEvent("onpropertychange",qp),Yi=Qi=null)}function qp(r){if(r.propertyName==="value"&&Oa(Yi)){var i=[];zp(i,Yi,r,Lc(r)),fp(hS,i)}}function mS(r,i,a){r==="focusin"?(Hp(),Qi=i,Yi=a,Qi.attachEvent("onpropertychange",qp)):r==="focusout"&&Hp()}function gS(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Oa(Yi)}function yS(r,i){if(r==="click")return Oa(i)}function vS(r,i){if(r==="input"||r==="change")return Oa(i)}function xS(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var hn=typeof Object.is=="function"?Object.is:xS;function Xi(r,i){if(hn(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var a=Object.keys(r),u=Object.keys(i);if(a.length!==u.length)return!1;for(u=0;u<a.length;u++){var h=a[u];if(!f.call(i,h)||!hn(r[h],i[h]))return!1}return!0}function Kp(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Gp(r,i){var a=Kp(r);r=0;for(var u;a;){if(a.nodeType===3){if(u=r+a.textContent.length,r<=i&&u>=i)return{node:a,offset:i-r};r=u}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Kp(a)}}function Qp(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?Qp(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Yp(){for(var r=window,i=cn();i instanceof r.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)r=i.contentWindow;else break;i=cn(r.document)}return i}function nu(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function wS(r){var i=Yp(),a=r.focusedElem,u=r.selectionRange;if(i!==a&&a&&a.ownerDocument&&Qp(a.ownerDocument.documentElement,a)){if(u!==null&&nu(a)){if(i=u.start,r=u.end,r===void 0&&(r=i),"selectionStart"in a)a.selectionStart=i,a.selectionEnd=Math.min(r,a.value.length);else if(r=(i=a.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var h=a.textContent.length,g=Math.min(u.start,h);u=u.end===void 0?g:Math.min(u.end,h),!r.extend&&g>u&&(h=u,u=g,g=h),h=Gp(a,g);var w=Gp(a,u);h&&w&&(r.rangeCount!==1||r.anchorNode!==h.node||r.anchorOffset!==h.offset||r.focusNode!==w.node||r.focusOffset!==w.offset)&&(i=i.createRange(),i.setStart(h.node,h.offset),r.removeAllRanges(),g>u?(r.addRange(i),r.extend(w.node,w.offset)):(i.setEnd(w.node,w.offset),r.addRange(i)))}}for(i=[],r=a;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<i.length;a++)r=i[a],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var bS=d&&"documentMode"in document&&11>=document.documentMode,Fs=null,ru=null,Ji=null,su=!1;function Xp(r,i,a){var u=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;su||Fs==null||Fs!==cn(u)||(u=Fs,"selectionStart"in u&&nu(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ji&&Xi(Ji,u)||(Ji=u,u=Ia(ru,"onSelect"),0<u.length&&(i=new Gc("onSelect","select",null,i,a),r.push({event:i,listeners:u}),i.target=Fs)))}function La(r,i){var a={};return a[r.toLowerCase()]=i.toLowerCase(),a["Webkit"+r]="webkit"+i,a["Moz"+r]="moz"+i,a}var Bs={animationend:La("Animation","AnimationEnd"),animationiteration:La("Animation","AnimationIteration"),animationstart:La("Animation","AnimationStart"),transitionend:La("Transition","TransitionEnd")},iu={},Jp={};d&&(Jp=document.createElement("div").style,"AnimationEvent"in window||(delete Bs.animationend.animation,delete Bs.animationiteration.animation,delete Bs.animationstart.animation),"TransitionEvent"in window||delete Bs.transitionend.transition);function Da(r){if(iu[r])return iu[r];if(!Bs[r])return r;var i=Bs[r],a;for(a in i)if(i.hasOwnProperty(a)&&a in Jp)return iu[r]=i[a];return r}var Zp=Da("animationend"),em=Da("animationiteration"),tm=Da("animationstart"),nm=Da("transitionend"),rm=new Map,sm="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 lr(r,i){rm.set(r,i),l(i,[r])}for(var ou=0;ou<sm.length;ou++){var au=sm[ou],SS=au.toLowerCase(),kS=au[0].toUpperCase()+au.slice(1);lr(SS,"on"+kS)}lr(Zp,"onAnimationEnd"),lr(em,"onAnimationIteration"),lr(tm,"onAnimationStart"),lr("dblclick","onDoubleClick"),lr("focusin","onFocus"),lr("focusout","onBlur"),lr(nm,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zi="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(" "),ES=new Set("cancel close invalid load scroll toggle".split(" ").concat(Zi));function im(r,i,a){var u=r.type||"unknown-event";r.currentTarget=a,S1(u,i,void 0,r),r.currentTarget=null}function om(r,i){i=(i&4)!==0;for(var a=0;a<r.length;a++){var u=r[a],h=u.event;u=u.listeners;e:{var g=void 0;if(i)for(var w=u.length-1;0<=w;w--){var C=u[w],P=C.instance,B=C.currentTarget;if(C=C.listener,P!==g&&h.isPropagationStopped())break e;im(h,C,B),g=P}else for(w=0;w<u.length;w++){if(C=u[w],P=C.instance,B=C.currentTarget,C=C.listener,P!==g&&h.isPropagationStopped())break e;im(h,C,B),g=P}}}if(xa)throw r=Fc,xa=!1,Fc=null,r}function ze(r,i){var a=i[mu];a===void 0&&(a=i[mu]=new Set);var u=r+"__bubble";a.has(u)||(am(i,r,2,!1),a.add(u))}function lu(r,i,a){var u=0;i&&(u|=4),am(a,r,u,i)}var Ma="_reactListening"+Math.random().toString(36).slice(2);function eo(r){if(!r[Ma]){r[Ma]=!0,s.forEach(function(a){a!=="selectionchange"&&(ES.has(a)||lu(a,!1,r),lu(a,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[Ma]||(i[Ma]=!0,lu("selectionchange",!1,i))}}function am(r,i,a,u){switch(Rp(i)){case 1:var h=F1;break;case 4:h=B1;break;default:h=Hc}a=h.bind(null,i,a,r),h=void 0,!Ic||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),u?h!==void 0?r.addEventListener(i,a,{capture:!0,passive:h}):r.addEventListener(i,a,!0):h!==void 0?r.addEventListener(i,a,{passive:h}):r.addEventListener(i,a,!1)}function cu(r,i,a,u,h){var g=u;if((i&1)===0&&(i&2)===0&&u!==null)e:for(;;){if(u===null)return;var w=u.tag;if(w===3||w===4){var C=u.stateNode.containerInfo;if(C===h||C.nodeType===8&&C.parentNode===h)break;if(w===4)for(w=u.return;w!==null;){var P=w.tag;if((P===3||P===4)&&(P=w.stateNode.containerInfo,P===h||P.nodeType===8&&P.parentNode===h))return;w=w.return}for(;C!==null;){if(w=Wr(C),w===null)return;if(P=w.tag,P===5||P===6){u=g=w;continue e}C=C.parentNode}}u=u.return}fp(function(){var B=g,H=Lc(a),q=[];e:{var W=rm.get(r);if(W!==void 0){var J=Gc,ne=r;switch(r){case"keypress":if(Ra(a)===0)break e;case"keydown":case"keyup":J=eS;break;case"focusin":ne="focus",J=Xc;break;case"focusout":ne="blur",J=Xc;break;case"beforeblur":case"afterblur":J=Xc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=Op;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=z1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=rS;break;case Zp:case em:case tm:J=H1;break;case nm:J=iS;break;case"scroll":J=U1;break;case"wheel":J=aS;break;case"copy":case"cut":case"paste":J=K1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Dp}var ie=(i&4)!==0,Je=!ie&&r==="scroll",M=ie?W!==null?W+"Capture":null:W;ie=[];for(var O=B,I;O!==null;){I=O;var K=I.stateNode;if(I.tag===5&&K!==null&&(I=K,M!==null&&(K=Mi(O,M),K!=null&&ie.push(to(O,K,I)))),Je)break;O=O.return}0<ie.length&&(W=new J(W,ne,null,a,H),q.push({event:W,listeners:ie}))}}if((i&7)===0){e:{if(W=r==="mouseover"||r==="pointerover",J=r==="mouseout"||r==="pointerout",W&&a!==Oc&&(ne=a.relatedTarget||a.fromElement)&&(Wr(ne)||ne[Un]))break e;if((J||W)&&(W=H.window===H?H:(W=H.ownerDocument)?W.defaultView||W.parentWindow:window,J?(ne=a.relatedTarget||a.toElement,J=B,ne=ne?Wr(ne):null,ne!==null&&(Je=$r(ne),ne!==Je||ne.tag!==5&&ne.tag!==6)&&(ne=null)):(J=null,ne=B),J!==ne)){if(ie=Op,K="onMouseLeave",M="onMouseEnter",O="mouse",(r==="pointerout"||r==="pointerover")&&(ie=Dp,K="onPointerLeave",M="onPointerEnter",O="pointer"),Je=J==null?W:zs(J),I=ne==null?W:zs(ne),W=new ie(K,O+"leave",J,a,H),W.target=Je,W.relatedTarget=I,K=null,Wr(H)===B&&(ie=new ie(M,O+"enter",ne,a,H),ie.target=I,ie.relatedTarget=Je,K=ie),Je=K,J&&ne)t:{for(ie=J,M=ne,O=0,I=ie;I;I=Us(I))O++;for(I=0,K=M;K;K=Us(K))I++;for(;0<O-I;)ie=Us(ie),O--;for(;0<I-O;)M=Us(M),I--;for(;O--;){if(ie===M||M!==null&&ie===M.alternate)break t;ie=Us(ie),M=Us(M)}ie=null}else ie=null;J!==null&&lm(q,W,J,ie,!1),ne!==null&&Je!==null&&lm(q,Je,ne,ie,!0)}}e:{if(W=B?zs(B):window,J=W.nodeName&&W.nodeName.toLowerCase(),J==="select"||J==="input"&&W.type==="file")var ae=pS;else if(Vp(W))if($p)ae=vS;else{ae=gS;var ce=mS}else(J=W.nodeName)&&J.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(ae=yS);if(ae&&(ae=ae(r,B))){zp(q,ae,a,H);break e}ce&&ce(r,W,B),r==="focusout"&&(ce=W._wrapperState)&&ce.controlled&&W.type==="number"&&dn(W,"number",W.value)}switch(ce=B?zs(B):window,r){case"focusin":(Vp(ce)||ce.contentEditable==="true")&&(Fs=ce,ru=B,Ji=null);break;case"focusout":Ji=ru=Fs=null;break;case"mousedown":su=!0;break;case"contextmenu":case"mouseup":case"dragend":su=!1,Xp(q,a,H);break;case"selectionchange":if(bS)break;case"keydown":case"keyup":Xp(q,a,H)}var ue;if(Zc)e:{switch(r){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else Is?Bp(r,a)&&(ye="onCompositionEnd"):r==="keydown"&&a.keyCode===229&&(ye="onCompositionStart");ye&&(Mp&&a.locale!=="ko"&&(Is||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&Is&&(ue=Np()):(ar=H,Kc="value"in ar?ar.value:ar.textContent,Is=!0)),ce=Ia(B,ye),0<ce.length&&(ye=new Lp(ye,r,null,a,H),q.push({event:ye,listeners:ce}),ue?ye.data=ue:(ue=Up(a),ue!==null&&(ye.data=ue)))),(ue=cS?uS(r,a):dS(r,a))&&(B=Ia(B,"onBeforeInput"),0<B.length&&(H=new Lp("onBeforeInput","beforeinput",null,a,H),q.push({event:H,listeners:B}),H.data=ue))}om(q,i)})}function to(r,i,a){return{instance:r,listener:i,currentTarget:a}}function Ia(r,i){for(var a=i+"Capture",u=[];r!==null;){var h=r,g=h.stateNode;h.tag===5&&g!==null&&(h=g,g=Mi(r,a),g!=null&&u.unshift(to(r,g,h)),g=Mi(r,i),g!=null&&u.push(to(r,g,h))),r=r.return}return u}function Us(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function lm(r,i,a,u,h){for(var g=i._reactName,w=[];a!==null&&a!==u;){var C=a,P=C.alternate,B=C.stateNode;if(P!==null&&P===u)break;C.tag===5&&B!==null&&(C=B,h?(P=Mi(a,g),P!=null&&w.unshift(to(a,P,C))):h||(P=Mi(a,g),P!=null&&w.push(to(a,P,C)))),a=a.return}w.length!==0&&r.push({event:i,listeners:w})}var CS=/\r\n?/g,_S=/\u0000|\uFFFD/g;function cm(r){return(typeof r=="string"?r:""+r).replace(CS,`
38`).replace(_S,"")}function Fa(r,i,a){if(i=cm(i),cm(r)!==i&&a)throw Error(n(425))}function Ba(){}var uu=null,du=null;function fu(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var hu=typeof setTimeout=="function"?setTimeout:void 0,TS=typeof clearTimeout=="function"?clearTimeout:void 0,um=typeof Promise=="function"?Promise:void 0,PS=typeof queueMicrotask=="function"?queueMicrotask:typeof um<"u"?function(r){return um.resolve(null).then(r).catch(AS)}:hu;function AS(r){setTimeout(function(){throw r})}function pu(r,i){var a=i,u=0;do{var h=a.nextSibling;if(r.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(u===0){r.removeChild(h),Hi(i);return}u--}else a!=="$"&&a!=="$?"&&a!=="$!"||u++;a=h}while(a);Hi(i)}function cr(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return r}function dm(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var a=r.data;if(a==="$"||a==="$!"||a==="$?"){if(i===0)return r;i--}else a==="/$"&&i++}r=r.previousSibling}return null}var Vs=Math.random().toString(36).slice(2),_n="__reactFiber$"+Vs,no="__reactProps$"+Vs,Un="__reactContainer$"+Vs,mu="__reactEvents$"+Vs,RS="__reactListeners$"+Vs,NS="__reactHandles$"+Vs;function Wr(r){var i=r[_n];if(i)return i;for(var a=r.parentNode;a;){if(i=a[Un]||a[_n]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(r=dm(r);r!==null;){if(a=r[_n])return a;r=dm(r)}return i}r=a,a=r.parentNode}return null}function ro(r){return r=r[_n]||r[Un],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function zs(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function Ua(r){return r[no]||null}var gu=[],$s=-1;function ur(r){return{current:r}}function $e(r){0>$s||(r.current=gu[$s],gu[$s]=null,$s--)}function Ve(r,i){$s++,gu[$s]=r.current,r.current=i}var dr={},bt=ur(dr),Lt=ur(!1),Hr=dr;function Ws(r,i){var a=r.type.contextTypes;if(!a)return dr;var u=r.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===i)return u.__reactInternalMemoizedMaskedChildContext;var h={},g;for(g in a)h[g]=i[g];return u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=h),h}function Dt(r){return r=r.childContextTypes,r!=null}function Va(){$e(Lt),$e(bt)}function fm(r,i,a){if(bt.current!==dr)throw Error(n(168));
vendor: 5,630 bytes, line 38
38Ve(bt,i),Ve(Lt,a)}function hm(r,i,a){var u=r.stateNode;if(i=i.childContextTypes,typeof u.getChildContext!="function")return a;u=u.getChildContext();for(var h in u)if(!(h in i))throw Error(n(108,we(r)||"Unknown",h));return V({},a,u)}function za(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||dr,Hr=bt.current,Ve(bt,r),Ve(Lt,Lt.current),!0}function pm(r,i,a){var u=r.stateNode;if(!u)throw Error(n(169));a?(r=hm(r,i,Hr),u.__reactInternalMemoizedMergedChildContext=r,$e(Lt),$e(bt),Ve(bt,r)):$e(Lt),Ve(Lt,a)}var Vn=null,$a=!1,yu=!1;function mm(r){Vn===null?Vn=[r]:Vn.push(r)}function jS(r){$a=!0,mm(r)}function fr(){if(!yu&&Vn!==null){yu=!0;var r=0,i=Fe;try{var a=Vn;for(Fe=1;r<a.length;r++){var u=a[r];do u=u(!0);while(u!==null)}Vn=null,$a=!1}catch(h){throw Vn!==null&&(Vn=Vn.slice(r+1)),yp(Bc,fr),h}finally{Fe=i,yu=!1}}return null}var Hs=[],qs=0,Wa=null,Ha=0,Xt=[],Jt=0,qr=null,zn=1,$n="";function Kr(r,i){Hs[qs++]=Ha,Hs[qs++]=Wa,Wa=r,Ha=i}function gm(r,i,a){Xt[Jt++]=zn,Xt[Jt++]=$n,Xt[Jt++]=qr,qr=r;var u=zn;r=$n;var h=32-fn(u)-1;u&=~(1<<h),a+=1;var g=32-fn(i)+h;if(30<g){var w=h-h%5;g=(u&(1<<w)-1).toString(32),u>>=w,h-=w,zn=1<<32-fn(i)+h|a<<h|u,$n=g+r}else zn=1<<g|a<<h|u,$n=r}function vu(r){r.return!==null&&(Kr(r,1),gm(r,1,0))}function xu(r){for(;r===Wa;)Wa=Hs[--qs],Hs[qs]=null,Ha=Hs[--qs],Hs[qs]=null;for(;r===qr;)qr=Xt[--Jt],Xt[Jt]=null,$n=Xt[--Jt],Xt[Jt]=null,zn=Xt[--Jt],Xt[Jt]=null}var Wt=null,Ht=null,We=!1,pn=null;function ym(r,i){var a=nn(5,null,null,0);a.elementType="DELETED",a.stateNode=i,a.return=r,i=r.deletions,i===null?(r.deletions=[a],r.flags|=16):i.push(a)}function vm(r,i){switch(r.tag){case 5:var a=r.type;return i=i.nodeType!==1||a.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(r.stateNode=i,Wt=r,Ht=cr(i.firstChild),!0):!1;case 6:return i=r.pendingProps===""||i.nodeType!==3?null:i,i!==null?(r.stateNode=i,Wt=r,Ht=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(a=qr!==null?{id:zn,overflow:$n}:null,r.memoizedState={dehydrated:i,treeContext:a,retryLane:1073741824},a=nn(18,null,null,0),a.stateNode=i,a.return=r,r.child=a,Wt=r,Ht=null,!0):!1;default:return!1}}function wu(r){return(r.mode&1)!==0&&(r.flags&128)===0}function bu(r){if(We){var i=Ht;if(i){var a=i;if(!vm(r,i)){if(wu(r))throw Error(n(418));i=cr(a.nextSibling);var u=Wt;i&&vm(r,i)?ym(u,a):(r.flags=r.flags&-4097|2,We=!1,Wt=r)}}else{if(wu(r))throw Error(n(418));r.flags=r.flags&-4097|2,We=!1,Wt=r}}}function xm(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;Wt=r}function qa(r){if(r!==Wt)return!1;if(!We)return xm(r),We=!0,!1;var i;if((i=r.tag!==3)&&!(i=r.tag!==5)&&(i=r.type,i=i!=="head"&&i!=="body"&&!fu(r.type,r.memoizedProps)),i&&(i=Ht)){if(wu(r))throw wm(),Error(n(418));for(;i;)ym(r,i),i=cr(i.nextSibling)}if(xm(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,i=0;r;){if(r.nodeType===8){var a=r.data;if(a==="/$"){if(i===0){Ht=cr(r.nextSibling);break e}i--}else a!=="$"&&a!=="$!"&&a!=="$?"||i++}r=r.nextSibling}Ht=null}}else Ht=Wt?cr(r.stateNode.nextSibling):null;return!0}function wm(){for(var r=Ht;r;)r=cr(r.nextSibling)}function Ks(){Ht=Wt=null,We=!1}function Su(r){pn===null?pn=[r]:pn.push(r)}var OS=j.ReactCurrentBatchConfig;function so(r,i,a){if(r=a.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var u=a.stateNode}if(!u)throw Error(n(147,r));var h=u,g=""+r;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===g?i.ref:(i=function(w){var C=h.refs;w===null?delete C[g]:C[g]=w},i._stringRef=g,i)}if(typeof r!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,r))}return r}function Ka(r,i){throw r=Object.prototype.toString.call(i),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r))}function bm(r){var i=r._init;return i(r._payload)}function Sm(r){function i(M,O){if(r){var I=M.deletions;I===null?(M.deletions=[O],M.flags|=16):I.push(O)}}function a(M,O){if(!r)return null;for(;O!==null;)i(M,O),O=O.sibling;return null}function u(M,O){for(M=new Map;O!==null;)O.key!==null?M.set(O.key,O):M.set(O.index,O),O=O.sibling;return M}function h(M,O){return M=wr(M,O),M.index=0,M.sibling=null,M}function g(M,O,I){return M.index=I,r?(I=M.alternate,I!==null?(I=I.index,I<O?(M.flags|=2,O):I):(M.flags|=2,O)):(M.flags|=1048576,O)}function w(M){return r&&M.alternate===null&&(M.flags|=2),M}function C(M,O,I,K){return O===null||O.tag!==6?(O=hd(I,M.mode,K),O.return=M,O):(O=h(O,I),O.return=M,O)}function P(M,O,I,K){var ae=I.type;return ae===Y?H(M,O,I.props.children,K,I.key):O!==null&&(O.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ne&&bm(ae)===O.type)?(K=h(O,I.props),K.ref=so(M,O,I),K.return=M,K):(K=yl(I.type,I.key,I.props,null,M.mode,K),K.ref=so(M,O,I),K.return=M,K)}function B(M,O,I,K){return O===null||O.tag!==4||O.stateNode.containerInfo!==I.containerInfo||O.stateNode.implementation!==I.implementation?(O=pd(I,M.mode,K),O.return=M,O):(O=h(O,I.children||[]),O.return=M,O)}function H(M,O,I,K,ae){return O===null||O.tag!==7?(O=ts(I,M.mode,K,ae),O.return=M,O):(O=h(O,I),O.return=M,O)}function q(M,O,I){if(typeof O=="string"&&O!==""||typeof O=="number")return O=hd(""+O,M.mode,I),O.return=M,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case F:return I=yl(O.type,O.key,O.props,null,M.mode,I),I.ref=so(M,null,O),I.return=M,I;case z:return O=pd(O,M.mode,I),O.return=M,O;case Ne:var K=O._init;return q(M,K(O._payload),I)}if(tr(O)||oe(O))return O=ts(O,M.mode,I,null),O.return=M,O;Ka(M,O)}return null}function W(M,O,I,K){var ae=O!==null?O.key:null;
vendor: 11,741 bytes, line 38
38if(typeof I=="string"&&I!==""||typeof I=="number")return ae!==null?null:C(M,O,""+I,K);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case F:return I.key===ae?P(M,O,I,K):null;case z:return I.key===ae?B(M,O,I,K):null;case Ne:return ae=I._init,W(M,O,ae(I._payload),K)}if(tr(I)||oe(I))return ae!==null?null:H(M,O,I,K,null);Ka(M,I)}return null}function J(M,O,I,K,ae){if(typeof K=="string"&&K!==""||typeof K=="number")return M=M.get(I)||null,C(O,M,""+K,ae);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case F:return M=M.get(K.key===null?I:K.key)||null,P(O,M,K,ae);case z:return M=M.get(K.key===null?I:K.key)||null,B(O,M,K,ae);case Ne:var ce=K._init;return J(M,O,I,ce(K._payload),ae)}if(tr(K)||oe(K))return M=M.get(I)||null,H(O,M,K,ae,null);Ka(O,K)}return null}function ne(M,O,I,K){for(var ae=null,ce=null,ue=O,ye=O=0,dt=null;ue!==null&&ye<I.length;ye++){ue.index>ye?(dt=ue,ue=null):dt=ue.sibling;var Oe=W(M,ue,I[ye],K);if(Oe===null){ue===null&&(ue=dt);break}r&&ue&&Oe.alternate===null&&i(M,ue),O=g(Oe,O,ye),ce===null?ae=Oe:ce.sibling=Oe,ce=Oe,ue=dt}if(ye===I.length)return a(M,ue),We&&Kr(M,ye),ae;if(ue===null){for(;ye<I.length;ye++)ue=q(M,I[ye],K),ue!==null&&(O=g(ue,O,ye),ce===null?ae=ue:ce.sibling=ue,ce=ue);return We&&Kr(M,ye),ae}for(ue=u(M,ue);ye<I.length;ye++)dt=J(ue,M,ye,I[ye],K),dt!==null&&(r&&dt.alternate!==null&&ue.delete(dt.key===null?ye:dt.key),O=g(dt,O,ye),ce===null?ae=dt:ce.sibling=dt,ce=dt);return r&&ue.forEach(function(br){return i(M,br)}),We&&Kr(M,ye),ae}function ie(M,O,I,K){var ae=oe(I);if(typeof ae!="function")throw Error(n(150));if(I=ae.call(I),I==null)throw Error(n(151));for(var ce=ae=null,ue=O,ye=O=0,dt=null,Oe=I.next();ue!==null&&!Oe.done;ye++,Oe=I.next()){ue.index>ye?(dt=ue,ue=null):dt=ue.sibling;var br=W(M,ue,Oe.value,K);if(br===null){ue===null&&(ue=dt);break}r&&ue&&br.alternate===null&&i(M,ue),O=g(br,O,ye),ce===null?ae=br:ce.sibling=br,ce=br,ue=dt}if(Oe.done)return a(M,ue),We&&Kr(M,ye),ae;if(ue===null){for(;!Oe.done;ye++,Oe=I.next())Oe=q(M,Oe.value,K),Oe!==null&&(O=g(Oe,O,ye),ce===null?ae=Oe:ce.sibling=Oe,ce=Oe);return We&&Kr(M,ye),ae}for(ue=u(M,ue);!Oe.done;ye++,Oe=I.next())Oe=J(ue,M,ye,Oe.value,K),Oe!==null&&(r&&Oe.alternate!==null&&ue.delete(Oe.key===null?ye:Oe.key),O=g(Oe,O,ye),ce===null?ae=Oe:ce.sibling=Oe,ce=Oe);return r&&ue.forEach(function(fk){return i(M,fk)}),We&&Kr(M,ye),ae}function Je(M,O,I,K){if(typeof I=="object"&&I!==null&&I.type===Y&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case F:e:{for(var ae=I.key,ce=O;ce!==null;){if(ce.key===ae){if(ae=I.type,ae===Y){if(ce.tag===7){a(M,ce.sibling),O=h(ce,I.props.children),O.return=M,M=O;break e}}else if(ce.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ne&&bm(ae)===ce.type){a(M,ce.sibling),O=h(ce,I.props),O.ref=so(M,ce,I),O.return=M,M=O;break e}a(M,ce);break}else i(M,ce);ce=ce.sibling}I.type===Y?(O=ts(I.props.children,M.mode,K,I.key),O.return=M,M=O):(K=yl(I.type,I.key,I.props,null,M.mode,K),K.ref=so(M,O,I),K.return=M,M=K)}return w(M);case z:e:{for(ce=I.key;O!==null;){if(O.key===ce)if(O.tag===4&&O.stateNode.containerInfo===I.containerInfo&&O.stateNode.implementation===I.implementation){a(M,O.sibling),O=h(O,I.children||[]),O.return=M,M=O;break e}else{a(M,O);break}else i(M,O);O=O.sibling}O=pd(I,M.mode,K),O.return=M,M=O}return w(M);case Ne:return ce=I._init,Je(M,O,ce(I._payload),K)}if(tr(I))return ne(M,O,I,K);if(oe(I))return ie(M,O,I,K);Ka(M,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,O!==null&&O.tag===6?(a(M,O.sibling),O=h(O,I),O.return=M,M=O):(a(M,O),O=hd(I,M.mode,K),O.return=M,M=O),w(M)):a(M,O)}return Je}var Gs=Sm(!0),km=Sm(!1),Ga=ur(null),Qa=null,Qs=null,ku=null;function Eu(){ku=Qs=Qa=null}function Cu(r){var i=Ga.current;$e(Ga),r._currentValue=i}function _u(r,i,a){for(;r!==null;){var u=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,u!==null&&(u.childLanes|=i)):u!==null&&(u.childLanes&i)!==i&&(u.childLanes|=i),r===a)break;r=r.return}}function Ys(r,i){Qa=r,ku=Qs=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&i)!==0&&(Mt=!0),r.firstContext=null)}function Zt(r){var i=r._currentValue;if(ku!==r)if(r={context:r,memoizedValue:i,next:null},Qs===null){if(Qa===null)throw Error(n(308));Qs=r,Qa.dependencies={lanes:0,firstContext:r}}else Qs=Qs.next=r;return i}var Gr=null;function Tu(r){Gr===null?Gr=[r]:Gr.push(r)}function Em(r,i,a,u){var h=i.interleaved;return h===null?(a.next=a,Tu(i)):(a.next=h.next,h.next=a),i.interleaved=a,Wn(r,u)}function Wn(r,i){r.lanes|=i;var a=r.alternate;for(a!==null&&(a.lanes|=i),a=r,r=r.return;r!==null;)r.childLanes|=i,a=r.alternate,a!==null&&(a.childLanes|=i),a=r,r=r.return;return a.tag===3?a.stateNode:null}var hr=!1;function Pu(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cm(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Hn(r,i){return{eventTime:r,lane:i,tag:0,payload:null,callback:null,next:null}}function pr(r,i,a){var u=r.updateQueue;if(u===null)return null;if(u=u.shared,(je&2)!==0){var h=u.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),u.pending=i,Wn(r,a)}return h=u.interleaved,h===null?(i.next=i,Tu(u)):(i.next=h.next,h.next=i),u.interleaved=i,Wn(r,a)}function Ya(r,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194240)!==0)){var u=i.lanes;u&=r.pendingLanes,a|=u,i.lanes=a,zc(r,a)}}function _m(r,i){var a=r.updateQueue,u=r.alternate;if(u!==null&&(u=u.updateQueue,a===u)){var h=null,g=null;if(a=a.firstBaseUpdate,a!==null){do{var w={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};g===null?h=g=w:g=g.next=w,a=a.next}while(a!==null);g===null?h=g=i:g=g.next=i}else h=g=i;a={baseState:u.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:u.shared,effects:u.effects},r.updateQueue=a;return}r=a.lastBaseUpdate,r===null?a.firstBaseUpdate=i:r.next=i,a.lastBaseUpdate=i}function Xa(r,i,a,u){var h=r.updateQueue;hr=!1;var g=h.firstBaseUpdate,w=h.lastBaseUpdate,C=h.shared.pending;if(C!==null){h.shared.pending=null;var P=C,B=P.next;P.next=null,w===null?g=B:w.next=B,w=P;var H=r.alternate;H!==null&&(H=H.updateQueue,C=H.lastBaseUpdate,C!==w&&(C===null?H.firstBaseUpdate=B:C.next=B,H.lastBaseUpdate=P))}if(g!==null){var q=h.baseState;w=0,H=B=P=null,C=g;do{var W=C.lane,J=C.eventTime;if((u&W)===W){H!==null&&(H=H.next={eventTime:J,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ne=r,ie=C;switch(W=i,J=a,ie.tag){case 1:if(ne=ie.payload,typeof ne=="function"){q=ne.call(J,q,W);break e}q=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=ie.payload,W=typeof ne=="function"?ne.call(J,q,W):ne,W==null)break e;q=V({},q,W);break e;case 2:hr=!0}}C.callback!==null&&C.lane!==0&&(r.flags|=64,W=h.effects,W===null?h.effects=[C]:W.push(C))}else J={eventTime:J,lane:W,tag:C.tag,payload:C.payload,callback:C.callback,next:null},H===null?(B=H=J,P=q):H=H.next=J,w|=W;if(C=C.next,C===null){if(C=h.shared.pending,C===null)break;W=C,C=W.next,W.next=null,h.lastBaseUpdate=W,h.shared.pending=null}}while(!0);if(H===null&&(P=q),h.baseState=P,h.firstBaseUpdate=B,h.lastBaseUpdate=H,i=h.shared.interleaved,i!==null){h=i;do w|=h.lane,h=h.next;while(h!==i)}else g===null&&(h.shared.lanes=0);Xr|=w,r.lanes=w,r.memoizedState=q}}function Tm(r,i,a){if(r=i.effects,i.effects=null,r!==null)for(i=0;i<r.length;i++){var u=r[i],h=u.callback;if(h!==null){if(u.callback=null,u=a,typeof h!="function")throw Error(n(191,h));h.call(u)}}}var io={},Tn=ur(io),oo=ur(io),ao=ur(io);function Qr(r){if(r===io)throw Error(n(174));return r}function Au(r,i){switch(Ve(ao,i),Ve(oo,r),Ve(Tn,io),r=i.nodeType,r){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:Rc(null,"");break;default:r=r===8?i.parentNode:i,i=r.namespaceURI||null,r=r.tagName,i=Rc(i,r)}$e(Tn),Ve(Tn,i)}function Xs(){$e(Tn),$e(oo),$e(ao)}function Pm(r){Qr(ao.current);var i=Qr(Tn.current),a=Rc(i,r.type);i!==a&&(Ve(oo,r),Ve(Tn,a))}function Ru(r){oo.current===r&&($e(Tn),$e(oo))}var He=ur(0);function Ja(r){for(var i=r;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Nu=[];function ju(){for(var r=0;r<Nu.length;r++)Nu[r]._workInProgressVersionPrimary=null;Nu.length=0}var Za=j.ReactCurrentDispatcher,Ou=j.ReactCurrentBatchConfig,Yr=0,qe=null,it=null,ct=null,el=!1,lo=!1,co=0,LS=0;function St(){throw Error(n(321))}function Lu(r,i){if(i===null)return!1;for(var a=0;a<i.length&&a<r.length;a++)if(!hn(r[a],i[a]))return!1;return!0}function Du(r,i,a,u,h,g){if(Yr=g,qe=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Za.current=r===null||r.memoizedState===null?FS:BS,r=a(u,h),lo){g=0;do{if(lo=!1,co=0,25<=g)throw Error(n(301));g+=1,ct=it=null,i.updateQueue=null,Za.current=US,r=a(u,h)}while(lo)}if(Za.current=rl,i=it!==null&&it.next!==null,Yr=0,ct=it=qe=null,el=!1,i)throw Error(n(300));return r}function Mu(){var r=co!==0;return co=0,r}function Pn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ct===null?qe.memoizedState=ct=r:ct=ct.next=r,ct}function en(){if(it===null){var r=qe.alternate;r=r!==null?r.memoizedState:null}else r=it.next;var i=ct===null?qe.memoizedState:ct.next;if(i!==null)ct=i,it=r;else{if(r===null)throw Error(n(310));it=r,r={memoizedState:it.memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},ct===null?qe.memoizedState=ct=r:ct=ct.next=r}return ct}function uo(r,i){return typeof i=="function"?i(r):i}function Iu(r){var i=en(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var u=it,h=u.baseQueue,g=a.pending;if(g!==null){if(h!==null){var w=h.next;h.next=g.next,g.next=w}u.baseQueue=h=g,a.pending=null}if(h!==null){g=h.next,u=u.baseState;var C=w=null,P=null,B=g;do{var H=B.lane;if((Yr&H)===H)P!==null&&(P=P.next={lane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),u=B.hasEagerState?B.eagerState:r(u,B.action);else{var q={lane:H,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};P===null?(C=P=q,w=u):P=P.next=q,qe.lanes|=H,Xr|=H}B=B.next}while(B!==null&&B!==g);P===null?w=u:P.next=C,hn(u,i.memoizedState)||(Mt=!0),i.memoizedState=u,i.baseState=w,i.baseQueue=P,a.lastRenderedState=u}if(r=a.interleaved,r!==null){h=r;do g=h.lane,qe.lanes|=g,Xr|=g,h=h.next;while(h!==r)}else h===null&&(a.lanes=0);return[i.memoizedState,a.dispatch]}function Fu(r){var i=en(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var u=a.dispatch,h=a.pending,g=i.memoizedState;if(h!==null){a.pending=null;var w=h=h.next;do g=r(g,w.action),w=w.next;while(w!==h);hn(g,i.memoizedState)||(Mt=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),a.lastRenderedState=g}return[g,u]}function Am(){}function Rm(r,i){var a=qe,u=en(),h=i(),g=!hn(u.memoizedState,h);if(g&&(u.memoizedState=h,Mt=!0),u=u.queue,Bu(Om.bind(null,a,u,r),[r]),u.getSnapshot!==i||g||ct!==null&&ct.memoizedState.tag&1){if(a.flags|=2048,fo(9,jm.bind(null,a,u,h,i),void 0,null),ut===null)throw Error(n(349));(Yr&30)!==0||Nm(a,i,h)}return h}function Nm(r,i,a){r.flags|=16384,r={getSnapshot:i,value:a},i=qe.updateQueue,i===null?(i={lastEffect:null,stores:null},qe.updateQueue=i,i.stores=[r]):(a=i.stores,a===null?i.stores=[r]:a.push(r))}function jm(r,i,a,u){i.value=a,i.getSnapshot=u,Lm(i)&&Dm(r)}
vendor: 11,414 bytes, lines 38-40
38function Om(r,i,a){return a(function(){Lm(i)&&Dm(r)})}function Lm(r){var i=r.getSnapshot;r=r.value;try{var a=i();return!hn(r,a)}catch{return!0}}function Dm(r){var i=Wn(r,1);i!==null&&vn(i,r,1,-1)}function Mm(r){var i=Pn();return typeof r=="function"&&(r=r()),i.memoizedState=i.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:uo,lastRenderedState:r},i.queue=r,r=r.dispatch=IS.bind(null,qe,r),[i.memoizedState,r]}function fo(r,i,a,u){return r={tag:r,create:i,destroy:a,deps:u,next:null},i=qe.updateQueue,i===null?(i={lastEffect:null,stores:null},qe.updateQueue=i,i.lastEffect=r.next=r):(a=i.lastEffect,a===null?i.lastEffect=r.next=r:(u=a.next,a.next=r,r.next=u,i.lastEffect=r)),r}function Im(){return en().memoizedState}function tl(r,i,a,u){var h=Pn();qe.flags|=r,h.memoizedState=fo(1|i,a,void 0,u===void 0?null:u)}function nl(r,i,a,u){var h=en();u=u===void 0?null:u;var g=void 0;if(it!==null){var w=it.memoizedState;if(g=w.destroy,u!==null&&Lu(u,w.deps)){h.memoizedState=fo(i,a,g,u);return}}qe.flags|=r,h.memoizedState=fo(1|i,a,g,u)}function Fm(r,i){return tl(8390656,8,r,i)}function Bu(r,i){return nl(2048,8,r,i)}function Bm(r,i){return nl(4,2,r,i)}function Um(r,i){return nl(4,4,r,i)}function Vm(r,i){if(typeof i=="function")return r=r(),i(r),function(){i(null)};if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function zm(r,i,a){return a=a!=null?a.concat([r]):null,nl(4,4,Vm.bind(null,i,r),a)}function Uu(){}function $m(r,i){var a=en();i=i===void 0?null:i;var u=a.memoizedState;return u!==null&&i!==null&&Lu(i,u[1])?u[0]:(a.memoizedState=[r,i],r)}function Wm(r,i){var a=en();i=i===void 0?null:i;var u=a.memoizedState;return u!==null&&i!==null&&Lu(i,u[1])?u[0]:(r=r(),a.memoizedState=[r,i],r)}function Hm(r,i,a){return(Yr&21)===0?(r.baseState&&(r.baseState=!1,Mt=!0),r.memoizedState=a):(hn(a,i)||(a=bp(),qe.lanes|=a,Xr|=a,r.baseState=!0),i)}function DS(r,i){var a=Fe;Fe=a!==0&&4>a?a:4,r(!0);var u=Ou.transition;Ou.transition={};try{r(!1),i()}finally{Fe=a,Ou.transition=u}}function qm(){return en().memoizedState}function MS(r,i,a){var u=vr(r);if(a={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null},Km(r))Gm(i,a);else if(a=Em(r,i,a,u),a!==null){var h=Nt();vn(a,r,u,h),Qm(a,i,u)}}function IS(r,i,a){var u=vr(r),h={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(Km(r))Gm(i,h);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var w=i.lastRenderedState,C=g(w,a);if(h.hasEagerState=!0,h.eagerState=C,hn(C,w)){var P=i.interleaved;P===null?(h.next=h,Tu(i)):(h.next=P.next,P.next=h),i.interleaved=h;return}}catch{}finally{}a=Em(r,i,h,u),a!==null&&(h=Nt(),vn(a,r,u,h),Qm(a,i,u))}}function Km(r){var i=r.alternate;return r===qe||i!==null&&i===qe}function Gm(r,i){lo=el=!0;var a=r.pending;a===null?i.next=i:(i.next=a.next,a.next=i),r.pending=i}function Qm(r,i,a){if((a&4194240)!==0){var u=i.lanes;u&=r.pendingLanes,a|=u,i.lanes=a,zc(r,a)}}var rl={readContext:Zt,useCallback:St,useContext:St,useEffect:St,useImperativeHandle:St,useInsertionEffect:St,useLayoutEffect:St,useMemo:St,useReducer:St,useRef:St,useState:St,useDebugValue:St,useDeferredValue:St,useTransition:St,useMutableSource:St,useSyncExternalStore:St,useId:St,unstable_isNewReconciler:!1},FS={readContext:Zt,useCallback:function(r,i){return Pn().memoizedState=[r,i===void 0?null:i],r},useContext:Zt,useEffect:Fm,useImperativeHandle:function(r,i,a){return a=a!=null?a.concat([r]):null,tl(4194308,4,Vm.bind(null,i,r),a)},useLayoutEffect:function(r,i){return tl(4194308,4,r,i)},useInsertionEffect:function(r,i){return tl(4,2,r,i)},useMemo:function(r,i){var a=Pn();return i=i===void 0?null:i,r=r(),a.memoizedState=[r,i],r},useReducer:function(r,i,a){var u=Pn();return i=a!==void 0?a(i):i,u.memoizedState=u.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},u.queue=r,r=r.dispatch=MS.bind(null,qe,r),[u.memoizedState,r]},useRef:function(r){var i=Pn();return r={current:r},i.memoizedState=r},useState:Mm,useDebugValue:Uu,useDeferredValue:function(r){return Pn().memoizedState=r},useTransition:function(){var r=Mm(!1),i=r[0];return r=DS.bind(null,r[1]),Pn().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,a){var u=qe,h=Pn();if(We){if(a===void 0)throw Error(n(407));a=a()}else{if(a=i(),ut===null)throw Error(n(349));(Yr&30)!==0||Nm(u,i,a)}h.memoizedState=a;var g={value:a,getSnapshot:i};return h.queue=g,Fm(Om.bind(null,u,g,r),[r]),u.flags|=2048,fo(9,jm.bind(null,u,g,a,i),void 0,null),a},useId:function(){var r=Pn(),i=ut.identifierPrefix;if(We){var a=$n,u=zn;a=(u&~(1<<32-fn(u)-1)).toString(32)+a,i=":"+i+"R"+a,a=co++,0<a&&(i+="H"+a.toString(32)),i+=":"}else a=LS++,i=":"+i+"r"+a.toString(32)+":";return r.memoizedState=i},unstable_isNewReconciler:!1},BS={readContext:Zt,useCallback:$m,useContext:Zt,useEffect:Bu,useImperativeHandle:zm,useInsertionEffect:Bm,useLayoutEffect:Um,useMemo:Wm,useReducer:Iu,useRef:Im,useState:function(){return Iu(uo)},useDebugValue:Uu,useDeferredValue:function(r){var i=en();return Hm(i,it.memoizedState,r)},useTransition:function(){var r=Iu(uo)[0],i=en().memoizedState;return[r,i]},useMutableSource:Am,useSyncExternalStore:Rm,useId:qm,unstable_isNewReconciler:!1},US={readContext:Zt,useCallback:$m,useContext:Zt,useEffect:Bu,useImperativeHandle:zm,useInsertionEffect:Bm,useLayoutEffect:Um,useMemo:Wm,useReducer:Fu,useRef:Im,useState:function(){return Fu(uo)},useDebugValue:Uu,useDeferredValue:function(r){var i=en();return it===null?i.memoizedState=r:Hm(i,it.memoizedState,r)},useTransition:function(){var r=Fu(uo)[0],i=en().memoizedState;return[r,i]},useMutableSource:Am,useSyncExternalStore:Rm,useId:qm,unstable_isNewReconciler:!1};function mn(r,i){if(r&&r.defaultProps){i=V({},i),r=r.defaultProps;for(var a in r)i[a]===void 0&&(i[a]=r[a]);return i}return i}function Vu(r,i,a,u){i=r.memoizedState,a=a(u,i),a=a==null?i:V({},i,a),r.memoizedState=a,r.lanes===0&&(r.updateQueue.baseState=a)}var sl={isMounted:function(r){return(r=r._reactInternals)?$r(r)===r:!1},enqueueSetState:function(r,i,a){r=r._reactInternals;var u=Nt(),h=vr(r),g=Hn(u,h);g.payload=i,a!=null&&(g.callback=a),i=pr(r,g,h),i!==null&&(vn(i,r,h,u),Ya(i,r,h))},enqueueReplaceState:function(r,i,a){r=r._reactInternals;var u=Nt(),h=vr(r),g=Hn(u,h);g.tag=1,g.payload=i,a!=null&&(g.callback=a),i=pr(r,g,h),i!==null&&(vn(i,r,h,u),Ya(i,r,h))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var a=Nt(),u=vr(r),h=Hn(a,u);h.tag=2,i!=null&&(h.callback=i),i=pr(r,h,u),i!==null&&(vn(i,r,u,a),Ya(i,r,u))}};function Ym(r,i,a,u,h,g,w){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(u,g,w):i.prototype&&i.prototype.isPureReactComponent?!Xi(a,u)||!Xi(h,g):!0}function Xm(r,i,a){var u=!1,h=dr,g=i.contextType;return typeof g=="object"&&g!==null?g=Zt(g):(h=Dt(i)?Hr:bt.current,u=i.contextTypes,g=(u=u!=null)?Ws(r,h):dr),i=new i(a,g),r.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=sl,r.stateNode=i,i._reactInternals=r,u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=h,r.__reactInternalMemoizedMaskedChildContext=g),i}function Jm(r,i,a,u){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,u),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,u),i.state!==r&&sl.enqueueReplaceState(i,i.state,null)}function zu(r,i,a,u){var h=r.stateNode;h.props=a,h.state=r.memoizedState,h.refs={},Pu(r);var g=i.contextType;typeof g=="object"&&g!==null?h.context=Zt(g):(g=Dt(i)?Hr:bt.current,h.context=Ws(r,g)),h.state=r.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(Vu(r,i,g,a),h.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(i=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),i!==h.state&&sl.enqueueReplaceState(h,h.state,null),Xa(r,a,h,u),h.state=r.memoizedState),typeof h.componentDidMount=="function"&&(r.flags|=4194308)}function Js(r,i){try{var a="",u=i;do a+=de(u),u=u.return;while(u);var h=a}catch(g){h=`
39Error generating stack: `+g.message+`
40`+g.stack}return{value:r,source:i,stack:h,digest:null}}function $u(r,i,a){return{value:r,source:null,stack:a??null,digest:i??null}}function Wu(r,i){try{console.error(i.value)}catch(a){setTimeout(function(){throw a})}}var VS=typeof WeakMap=="function"?WeakMap:Map;function Zm(r,i,a){a=Hn(-1,a),a.tag=3,a.payload={element:null};var u=i.value;return a.callback=function(){dl||(dl=!0,id=u),Wu(r,i)},a}function eg(r,i,a){a=Hn(-1,a),a.tag=3;var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var h=i.value;a.payload=function(){return u(h)},a.callback=function(){Wu(r,i)}}var g=r.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(a.callback=function(){Wu(r,i),typeof u!="function"&&(gr===null?gr=new Set([this]):gr.add(this));var w=i.stack;this.componentDidCatch(i.value,{componentStack:w!==null?w:""})}),a}function tg(r,i,a){var u=r.pingCache;if(u===null){u=r.pingCache=new VS;var h=new Set;u.set(i,h)}else h=u.get(i),h===void 0&&(h=new Set,u.set(i,h));h.has(a)||(h.add(a),r=tk.bind(null,r,i,a),i.then(r,r))}function ng(r){do{var i;if((i=r.tag===13)&&(i=r.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return r;r=r.return}while(r!==null);return null}function rg(r,i,a,u,h){return(r.mode&1)===0?(r===i?r.flags|=65536:(r.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(i=Hn(-1,1),i.tag=2,pr(a,i,1))),a.lanes|=1),r):(r.flags|=65536,r.lanes=h,r)}var zS=j.ReactCurrentOwner,Mt=!1;function Rt(r,i,a,u){i.child=r===null?km(i,null,a,u):Gs(i,r.child,a,u)}function sg(r,i,a,u,h){a=a.render;var g=i.ref;return Ys(i,h),u=Du(r,i,a,u,g,h),a=Mu(),r!==null&&!Mt?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~h,qn(r,i,h)):(We&&a&&vu(i),i.flags|=1,Rt(r,i,u,h),i.child)}function ig(r,i,a,u,h){if(r===null){var g=a.type;return typeof g=="function"&&!fd(g)&&g.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(i.tag=15,i.type=g,og(r,i,g,u,h)):(r=yl(a.type,null,u,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(g=r.child,(r.lanes&h)===0){var w=g.memoizedProps;if(a=a.compare,a=a!==null?a:Xi,a(w,u)&&r.ref===i.ref)return qn(r,i,h)}return i.flags|=1,r=wr(g,u),r.ref=i.ref,r.return=i,i.child=r}function og(r,i,a,u,h){if(r!==null){var g=r.memoizedProps;if(Xi(g,u)&&r.ref===i.ref)if(Mt=!1,i.pendingProps=u=g,(r.lanes&h)!==0)(r.flags&131072)!==0&&(Mt=!0);else return i.lanes=r.lanes,qn(r,i,h)}return Hu(r,i,a,u,h)}function ag(r,i,a){var u=i.pendingProps,h=u.children,g=r!==null?r.memoizedState:null;if(u.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ve(ei,qt),qt|=a;else{if((a&1073741824)===0)return r=g!==null?g.baseLanes|a:a,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:r,cachePool:null,transitions:null},i.updateQueue=null,Ve(ei,qt),qt|=r,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=g!==null?g.baseLanes:a,Ve(ei,qt),qt|=u}else g!==null?(u=g.baseLanes|a,i.memoizedState=null):u=a,Ve(ei,qt),qt|=u;return Rt(r,i,h,a),i.child}function lg(r,i){var a=i.ref;(r===null&&a!==null||r!==null&&r.ref!==a)&&(i.flags|=512,i.flags|=2097152)}
vendor: 13,698 bytes, line 40
40function Hu(r,i,a,u,h){var g=Dt(a)?Hr:bt.current;return g=Ws(i,g),Ys(i,h),a=Du(r,i,a,u,g,h),u=Mu(),r!==null&&!Mt?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~h,qn(r,i,h)):(We&&u&&vu(i),i.flags|=1,Rt(r,i,a,h),i.child)}function cg(r,i,a,u,h){if(Dt(a)){var g=!0;za(i)}else g=!1;if(Ys(i,h),i.stateNode===null)ol(r,i),Xm(i,a,u),zu(i,a,u,h),u=!0;else if(r===null){var w=i.stateNode,C=i.memoizedProps;w.props=C;var P=w.context,B=a.contextType;typeof B=="object"&&B!==null?B=Zt(B):(B=Dt(a)?Hr:bt.current,B=Ws(i,B));var H=a.getDerivedStateFromProps,q=typeof H=="function"||typeof w.getSnapshotBeforeUpdate=="function";q||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==u||P!==B)&&Jm(i,w,u,B),hr=!1;var W=i.memoizedState;w.state=W,Xa(i,u,w,h),P=i.memoizedState,C!==u||W!==P||Lt.current||hr?(typeof H=="function"&&(Vu(i,a,H,u),P=i.memoizedState),(C=hr||Ym(i,a,C,u,W,P,B))?(q||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(i.flags|=4194308)):(typeof w.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=u,i.memoizedState=P),w.props=u,w.state=P,w.context=B,u=C):(typeof w.componentDidMount=="function"&&(i.flags|=4194308),u=!1)}else{w=i.stateNode,Cm(r,i),C=i.memoizedProps,B=i.type===i.elementType?C:mn(i.type,C),w.props=B,q=i.pendingProps,W=w.context,P=a.contextType,typeof P=="object"&&P!==null?P=Zt(P):(P=Dt(a)?Hr:bt.current,P=Ws(i,P));var J=a.getDerivedStateFromProps;(H=typeof J=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==q||W!==P)&&Jm(i,w,u,P),hr=!1,W=i.memoizedState,w.state=W,Xa(i,u,w,h);var ne=i.memoizedState;C!==q||W!==ne||Lt.current||hr?(typeof J=="function"&&(Vu(i,a,J,u),ne=i.memoizedState),(B=hr||Ym(i,a,B,u,W,ne,P)||!1)?(H||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(u,ne,P),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(u,ne,P)),typeof w.componentDidUpdate=="function"&&(i.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof w.componentDidUpdate!="function"||C===r.memoizedProps&&W===r.memoizedState||(i.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&W===r.memoizedState||(i.flags|=1024),i.memoizedProps=u,i.memoizedState=ne),w.props=u,w.state=ne,w.context=P,u=B):(typeof w.componentDidUpdate!="function"||C===r.memoizedProps&&W===r.memoizedState||(i.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&W===r.memoizedState||(i.flags|=1024),u=!1)}return qu(r,i,a,u,g,h)}function qu(r,i,a,u,h,g){lg(r,i);var w=(i.flags&128)!==0;if(!u&&!w)return h&&pm(i,a,!1),qn(r,i,g);u=i.stateNode,zS.current=i;var C=w&&typeof a.getDerivedStateFromError!="function"?null:u.render();return i.flags|=1,r!==null&&w?(i.child=Gs(i,r.child,null,g),i.child=Gs(i,null,C,g)):Rt(r,i,C,g),i.memoizedState=u.state,h&&pm(i,a,!0),i.child}function ug(r){var i=r.stateNode;i.pendingContext?fm(r,i.pendingContext,i.pendingContext!==i.context):i.context&&fm(r,i.context,!1),Au(r,i.containerInfo)}function dg(r,i,a,u,h){return Ks(),Su(h),i.flags|=256,Rt(r,i,a,u),i.child}var Ku={dehydrated:null,treeContext:null,retryLane:0};function Gu(r){return{baseLanes:r,cachePool:null,transitions:null}}function fg(r,i,a){var u=i.pendingProps,h=He.current,g=!1,w=(i.flags&128)!==0,C;if((C=w)||(C=r!==null&&r.memoizedState===null?!1:(h&2)!==0),C?(g=!0,i.flags&=-129):(r===null||r.memoizedState!==null)&&(h|=1),Ve(He,h&1),r===null)return bu(i),r=i.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((i.mode&1)===0?i.lanes=1:r.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(w=u.children,r=u.fallback,g?(u=i.mode,g=i.child,w={mode:"hidden",children:w},(u&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=w):g=vl(w,u,0,null),r=ts(r,u,a,null),g.return=i,r.return=i,g.sibling=r,i.child=g,i.child.memoizedState=Gu(a),i.memoizedState=Ku,r):Qu(i,w));if(h=r.memoizedState,h!==null&&(C=h.dehydrated,C!==null))return $S(r,i,w,u,C,h,a);if(g){g=u.fallback,w=i.mode,h=r.child,C=h.sibling;var P={mode:"hidden",children:u.children};return(w&1)===0&&i.child!==h?(u=i.child,u.childLanes=0,u.pendingProps=P,i.deletions=null):(u=wr(h,P),u.subtreeFlags=h.subtreeFlags&14680064),C!==null?g=wr(C,g):(g=ts(g,w,a,null),g.flags|=2),g.return=i,u.return=i,u.sibling=g,i.child=u,u=g,g=i.child,w=r.child.memoizedState,w=w===null?Gu(a):{baseLanes:w.baseLanes|a,cachePool:null,transitions:w.transitions},g.memoizedState=w,g.childLanes=r.childLanes&~a,i.memoizedState=Ku,u}return g=r.child,r=g.sibling,u=wr(g,{mode:"visible",children:u.children}),(i.mode&1)===0&&(u.lanes=a),u.return=i,u.sibling=null,r!==null&&(a=i.deletions,a===null?(i.deletions=[r],i.flags|=16):a.push(r)),i.child=u,i.memoizedState=null,u}function Qu(r,i){return i=vl({mode:"visible",children:i},r.mode,0,null),i.return=r,r.child=i}function il(r,i,a,u){return u!==null&&Su(u),Gs(i,r.child,null,a),r=Qu(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function $S(r,i,a,u,h,g,w){if(a)return i.flags&256?(i.flags&=-257,u=$u(Error(n(422))),il(r,i,w,u)):i.memoizedState!==null?(i.child=r.child,i.flags|=128,null):(g=u.fallback,h=i.mode,u=vl({mode:"visible",children:u.children},h,0,null),g=ts(g,h,w,null),g.flags|=2,u.return=i,g.return=i,u.sibling=g,i.child=u,(i.mode&1)!==0&&Gs(i,r.child,null,w),i.child.memoizedState=Gu(w),i.memoizedState=Ku,g);if((i.mode&1)===0)return il(r,i,w,null);if(h.data==="$!"){if(u=h.nextSibling&&h.nextSibling.dataset,u)var C=u.dgst;return u=C,g=Error(n(419)),u=$u(g,u,void 0),il(r,i,w,u)}if(C=(w&r.childLanes)!==0,Mt||C){if(u=ut,u!==null){switch(w&-w){case 4:h=2;break;case 16:h=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:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(u.suspendedLanes|w))!==0?0:h,h!==0&&h!==g.retryLane&&(g.retryLane=h,Wn(r,h),vn(u,r,h,-1))}return dd(),u=$u(Error(n(421))),il(r,i,w,u)}return h.data==="$?"?(i.flags|=128,i.child=r.child,i=nk.bind(null,r),h._reactRetry=i,null):(r=g.treeContext,Ht=cr(h.nextSibling),Wt=i,We=!0,pn=null,r!==null&&(Xt[Jt++]=zn,Xt[Jt++]=$n,Xt[Jt++]=qr,zn=r.id,$n=r.overflow,qr=i),i=Qu(i,u.children),i.flags|=4096,i)}function hg(r,i,a){r.lanes|=i;var u=r.alternate;u!==null&&(u.lanes|=i),_u(r.return,i,a)}function Yu(r,i,a,u,h){var g=r.memoizedState;g===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:h}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=a,g.tailMode=h)}function pg(r,i,a){var u=i.pendingProps,h=u.revealOrder,g=u.tail;if(Rt(r,i,u.children,a),u=He.current,(u&2)!==0)u=u&1|2,i.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&hg(r,a,i);else if(r.tag===19)hg(r,a,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}u&=1}if(Ve(He,u),(i.mode&1)===0)i.memoizedState=null;else switch(h){case"forwards":for(a=i.child,h=null;a!==null;)r=a.alternate,r!==null&&Ja(r)===null&&(h=a),a=a.sibling;a=h,a===null?(h=i.child,i.child=null):(h=a.sibling,a.sibling=null),Yu(i,!1,h,a,g);break;case"backwards":for(a=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&Ja(r)===null){i.child=h;break}r=h.sibling,h.sibling=a,a=h,h=r}Yu(i,!0,a,null,g);break;case"together":Yu(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function ol(r,i){(i.mode&1)===0&&r!==null&&(r.alternate=null,i.alternate=null,i.flags|=2)}function qn(r,i,a){if(r!==null&&(i.dependencies=r.dependencies),Xr|=i.lanes,(a&i.childLanes)===0)return null;if(r!==null&&i.child!==r.child)throw Error(n(153));if(i.child!==null){for(r=i.child,a=wr(r,r.pendingProps),i.child=a,a.return=i;r.sibling!==null;)r=r.sibling,a=a.sibling=wr(r,r.pendingProps),a.return=i;a.sibling=null}return i.child}function WS(r,i,a){switch(i.tag){case 3:ug(i),Ks();break;case 5:Pm(i);break;case 1:Dt(i.type)&&za(i);break;case 4:Au(i,i.stateNode.containerInfo);break;case 10:var u=i.type._context,h=i.memoizedProps.value;Ve(Ga,u._currentValue),u._currentValue=h;break;case 13:if(u=i.memoizedState,u!==null)return u.dehydrated!==null?(Ve(He,He.current&1),i.flags|=128,null):(a&i.child.childLanes)!==0?fg(r,i,a):(Ve(He,He.current&1),r=qn(r,i,a),r!==null?r.sibling:null);Ve(He,He.current&1);break;case 19:if(u=(a&i.childLanes)!==0,(r.flags&128)!==0){if(u)return pg(r,i,a);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),Ve(He,He.current),u)break;return null;case 22:case 23:return i.lanes=0,ag(r,i,a)}return qn(r,i,a)}var mg,Xu,gg,yg;mg=function(r,i){for(var a=i.child;a!==null;){if(a.tag===5||a.tag===6)r.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},Xu=function(){},gg=function(r,i,a,u){var h=r.memoizedProps;if(h!==u){r=i.stateNode,Qr(Tn.current);var g=null;switch(a){case"input":h=Qt(r,h),u=Qt(r,u),g=[];break;case"select":h=V({},h,{value:void 0}),u=V({},u,{value:void 0}),g=[];break;case"textarea":h=Bn(r,h),u=Bn(r,u),g=[];break;default:typeof h.onClick!="function"&&typeof u.onClick=="function"&&(r.onclick=Ba)}Nc(a,u);var w;a=null;for(B in h)if(!u.hasOwnProperty(B)&&h.hasOwnProperty(B)&&h[B]!=null)if(B==="style"){var C=h[B];for(w in C)C.hasOwnProperty(w)&&(a||(a={}),a[w]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(o.hasOwnProperty(B)?g||(g=[]):(g=g||[]).push(B,null));for(B in u){var P=u[B];if(C=h!=null?h[B]:void 0,u.hasOwnProperty(B)&&P!==C&&(P!=null||C!=null))if(B==="style")if(C){for(w in C)!C.hasOwnProperty(w)||P&&P.hasOwnProperty(w)||(a||(a={}),a[w]="");for(w in P)P.hasOwnProperty(w)&&C[w]!==P[w]&&(a||(a={}),a[w]=P[w])}else a||(g||(g=[]),g.push(B,a)),a=P;else B==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,C=C?C.__html:void 0,P!=null&&C!==P&&(g=g||[]).push(B,P)):B==="children"?typeof P!="string"&&typeof P!="number"||(g=g||[]).push(B,""+P):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(o.hasOwnProperty(B)?(P!=null&&B==="onScroll"&&ze("scroll",r),g||C===P||(g=[])):(g=g||[]).push(B,P))}a&&(g=g||[]).push("style",a);var B=g;(i.updateQueue=B)&&(i.flags|=4)}},yg=function(r,i,a,u){a!==u&&(i.flags|=4)};function ho(r,i){if(!We)switch(r.tailMode){case"hidden":i=r.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?r.tail=null:a.sibling=null;break;case"collapsed":a=r.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:u.sibling=null}}function kt(r){var i=r.alternate!==null&&r.alternate.child===r.child,a=0,u=0;if(i)for(var h=r.child;h!==null;)a|=h.lanes|h.childLanes,u|=h.subtreeFlags&14680064,u|=h.flags&14680064,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)a|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=u,r.childLanes=a,i}function HS(r,i,a){var u=i.pendingProps;switch(xu(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(i),null;case 1:return Dt(i.type)&&Va(),kt(i),null;case 3:return u=i.stateNode,Xs(),$e(Lt),$e(bt),ju(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(qa(i)?i.flags|=4:r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,pn!==null&&(ld(pn),pn=null))),Xu(r,i),kt(i),null;case 5:Ru(i);var h=Qr(ao.current);if(a=i.type,r!==null&&i.stateNode!=null)gg(r,i,a,u,h),r.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!u){if(i.stateNode===null)throw Error(n(166));return kt(i),null}if(r=Qr(Tn.current),qa(i)){u=i.stateNode,a=i.type;var g=i.memoizedProps;switch(u[_n]=i,u[no]=g,r=(i.mode&1)!==0,a){case"dialog":ze("cancel",u),ze("close",u);break;case"iframe":case"object":case"embed":ze("load",u);break;case"video":case"audio":for(h=0;h<Zi.length;h++)ze(Zi[h],u);break;case"source":ze("error",u);break;case"img":case"image":case"link":ze("error",u),ze("load",u);break;case"details":ze("toggle",u);break;case"input":Yt(u,g),ze("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!g.multiple},ze("invalid",u);break;case"textarea":ep(u,g),ze("invalid",u)}Nc(a,g),h=null;for(var w in g)if(g.hasOwnProperty(w)){var C=g[w];w==="children"?typeof C=="string"?u.textContent!==C&&(g.suppressHydrationWarning!==!0&&Fa(u.textContent,C,r),h=["children",C]):typeof C=="number"&&u.textContent!==""+C&&(g.suppressHydrationWarning!==!0&&Fa(u.textContent,C,r),h=["children",""+C]):o.hasOwnProperty(w)&&C!=null&&w==="onScroll"&&ze("scroll",u)}switch(a){case"input":Gt(u),un(u,g,!0);break;case"textarea":Gt(u),np(u);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(u.onclick=Ba)}u=h,i.updateQueue=u,u!==null&&(i.flags|=4)}else{w=h.nodeType===9?h:h.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=rp(a)),r==="http://www.w3.org/1999/xhtml"?a==="script"?(r=w.createElement("div"),r.innerHTML="<script><\/script>
40",r=r.removeChild(r.firstChild)):typeof u.is=="string"?r=w.createElement(a,{is:u.is}):(r=w.createElement(a),a==="select"&&(w=r,u.multiple?w.multiple=!0:u.size&&(w.size=u.size))):r=w.createElementNS(r,a),r[_n]=i,r[no]=u,mg(r,i,!1,!1),i.stateNode=r;e:{switch(w=jc(a,u),a){case"dialog":ze("cancel",r),ze("close",r),h=u;break;case"iframe":case"object":case"embed":ze("load",r),h=u;break;case"video":case"audio":for(h=0;h<Zi.length;h++)ze(Zi[h],r);h=u;break;case"source":ze("error",r),h=u;break;case"img":case"image":case"link":ze("error",r),ze("load",r),h=u;break;case"details":ze("toggle",r),h=u;break;case"input":Yt(r,u),h=Qt(r,u),ze("invalid",r);break;case"option":h=u;break;case"select":r._wrapperState={wasMultiple:!!u.multiple},h=V({},u,{value:void 0}),ze("invalid",r);break;case"textarea":ep(r,u),h=Bn(r,u),ze("invalid",r);break;default:h=u}Nc(a,h),C=h;for(g in C)if(C.hasOwnProperty(g)){var P=C[g];g==="style"?op(r,P):g==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&sp(r,P)):g==="children"?typeof P=="string"?(a!=="textarea"||P!=="")&&Li(r,P):typeof P=="number"&&Li(r,""+P):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(o.hasOwnProperty(g)?P!=null&&g==="onScroll"&&ze("scroll",r):P!=null&&T(r,g,P,w))}switch(a){case"input":Gt(r),un(r,u,!1);break;case"textarea":Gt(r),np(r);break;case"option":u.value!=null&&r.setAttribute("value",""+Te(u.value));break;case"select":r.multiple=!!u.multiple,g=u.value,g!=null?nr(r,!!u.multiple,g,!1):u.defaultValue!=null&&nr(r,!!u.multiple,u.defaultValue,!0);break;default:typeof h.onClick=="function"&&(r.onclick=Ba)}switch(a){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return kt(i),null;case 6:if(r&&i.stateNode!=null)yg(r,i,r.memoizedProps,u);else{if(typeof u!="string"&&i.stateNode===null)throw Error(n(166));if(a=Qr(ao.current),Qr(Tn.current),qa(i)){if(u=i.stateNode,a=i.memoizedProps,u[_n]=i,(g=u.nodeValue!==a)&&(r=Wt,r!==null))switch(r.tag){case 3:Fa(u.nodeValue,a,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Fa(u.nodeValue,a,(r.mode&1)!==0)}g&&(i.flags|=4)}else u=(a.nodeType===9?a:a.ownerDocument).createTextNode(u),u[_n]=i,i.stateNode=u}return kt(i),null;case 13:if($e(He),u=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(We&&Ht!==null&&(i.mode&1)!==0&&(i.flags&128)===0)wm(),Ks(),i.flags|=98560,g=!1;else if(g=qa(i),u!==null&&u.dehydrated!==null){if(r===null){if(!g)throw Error(n(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(n(317));g[_n]=i}else Ks(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;kt(i),g=!1}else pn!==null&&(ld(pn),pn=null),g=!0;if(!g)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=a,i):(u=u!==null,u!==(r!==null&&r.memoizedState!==null)&&u&&(i.child.flags|=8192,(i.mode&1)!==0&&(r===null||(He.current&1)!==0?ot===0&&(ot=3):dd())),i.updateQueue!==null&&(i.flags|=4),kt(i),null);case 4:return Xs(),Xu(r,i),r===null&&eo(i.stateNode.containerInfo),kt(i),null;case 10:return Cu(i.type._context),kt(i),null;case 17:return Dt(i.type)&&Va(),kt(i),null;case 19:if($e(He),g=i.memoizedState,g===null)return kt(i),null;if(u=(i.flags&128)!==0,w=g.rendering,w===null)if(u)ho(g,!1);else{if(ot!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(w=Ja(r),w!==null){for(i.flags|=128,ho(g,!1),u=w.updateQueue,u!==null&&(i.updateQueue=u,i.flags|=4),i.subtreeFlags=0,u=a,a=i.child;a!==null;)g=a,r=u,g.flags&=14680066,w=g.alternate,w===null?(g.childLanes=0,g.lanes=r,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=w.childLanes,g.lanes=w.lanes,g.child=w.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=w.memoizedProps,g.memoizedState=w.memoizedState,g.updateQueue=w.updateQueue,g.type=w.type,r=w.dependencies,g.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),a=a.sibling;return Ve(He,He.current&1|2),i.child}r=r.sibling}g.tail!==null&&Xe()>ti&&(i.flags|=128,u=!0,ho(g,!1),i.lanes=4194304)}else{if(!u)if(r=Ja(w),r!==null){if(i.flags|=128,u=!0,a=r.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),ho(g,!0),g.tail===null&&g.tailMode==="hidden"&&!w.alternate&&!We)return kt(i),null}else 2*Xe()-g.renderingStartTime>ti&&a!==1073741824&&(i.flags|=128,u=!0,ho(g,!1),i.lanes=4194304);g.isBackwards?(w.sibling=i.child,i.child=w):(a=g.last,a!==null?a.sibling=w:i.child=w,g.last=w)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=Xe(),i.sibling=null,a=He.current,Ve(He,u?a&1|2:a&1),i):(kt(i),null);case 22:case 23:return ud(),u=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==u&&(i.flags|=8192),u&&(i.mode&1)!==0?(qt&1073741824)!==0&&(kt(i),i.subtreeFlags&6&&(i.flags|=8192)):kt(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function qS(r,i){switch(xu(i),i.tag){case 1:return Dt(i.type)&&Va(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Xs(),$e(Lt),$e(bt),ju(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 5:return Ru(i),null;case 13:if($e(He),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ks()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return $e(He),null;case 4:return Xs(),null;case 10:return Cu(i.type._context),null;case 22:case 23:return ud(),null;case 24:return null;default:return null}}var al=!1,Et=!1,KS=typeof WeakSet=="function"?WeakSet:Set,te=null;function Zs(r,i){var a=r.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(u){Ge(r,i,u)}else a.current=null}function Ju(r,i,a){try{a()}catch(u){Ge(r,i,u)}}var vg=!1;function GS(r,i){if(uu=Ta,r=Yp(),nu(r)){if("selectionStart"in r)var a={start:r.selectionStart,end:r.selectionEnd};else e:{a=(a=r.ownerDocument)&&a.defaultView||window;var u=a.getSelection&&a.getSelection();if(u&&u.rangeCount!==0){a=u.anchorNode;
vendor: 19,156 bytes, line 40
40var h=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{a.nodeType,g.nodeType}catch{a=null;break e}var w=0,C=-1,P=-1,B=0,H=0,q=r,W=null;t:for(;;){for(var J;q!==a||h!==0&&q.nodeType!==3||(C=w+h),q!==g||u!==0&&q.nodeType!==3||(P=w+u),q.nodeType===3&&(w+=q.nodeValue.length),(J=q.firstChild)!==null;)W=q,q=J;for(;;){if(q===r)break t;if(W===a&&++B===h&&(C=w),W===g&&++H===u&&(P=w),(J=q.nextSibling)!==null)break;q=W,W=q.parentNode}q=J}a=C===-1||P===-1?null:{start:C,end:P}}else a=null}a=a||{start:0,end:0}}else a=null;for(du={focusedElem:r,selectionRange:a},Ta=!1,te=i;te!==null;)if(i=te,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,te=r;else for(;te!==null;){i=te;try{var ne=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(ne!==null){var ie=ne.memoizedProps,Je=ne.memoizedState,M=i.stateNode,O=M.getSnapshotBeforeUpdate(i.elementType===i.type?ie:mn(i.type,ie),Je);M.__reactInternalSnapshotBeforeUpdate=O}break;case 3:var I=i.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(K){Ge(i,i.return,K)}if(r=i.sibling,r!==null){r.return=i.return,te=r;break}te=i.return}return ne=vg,vg=!1,ne}function po(r,i,a){var u=i.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var h=u=u.next;do{if((h.tag&r)===r){var g=h.destroy;h.destroy=void 0,g!==void 0&&Ju(i,a,g)}h=h.next}while(h!==u)}}function ll(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var a=i=i.next;do{if((a.tag&r)===r){var u=a.create;a.destroy=u()}a=a.next}while(a!==i)}}function Zu(r){var i=r.ref;if(i!==null){var a=r.stateNode;switch(r.tag){case 5:r=a;break;default:r=a}typeof i=="function"?i(r):i.current=r}}function xg(r){var i=r.alternate;i!==null&&(r.alternate=null,xg(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[_n],delete i[no],delete i[mu],delete i[RS],delete i[NS])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function wg(r){return r.tag===5||r.tag===3||r.tag===4}function bg(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||wg(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function ed(r,i,a){var u=r.tag;if(u===5||u===6)r=r.stateNode,i?a.nodeType===8?a.parentNode.insertBefore(r,i):a.insertBefore(r,i):(a.nodeType===8?(i=a.parentNode,i.insertBefore(r,a)):(i=a,i.appendChild(r)),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=Ba));else if(u!==4&&(r=r.child,r!==null))for(ed(r,i,a),r=r.sibling;r!==null;)ed(r,i,a),r=r.sibling}function td(r,i,a){var u=r.tag;if(u===5||u===6)r=r.stateNode,i?a.insertBefore(r,i):a.appendChild(r);else if(u!==4&&(r=r.child,r!==null))for(td(r,i,a),r=r.sibling;r!==null;)td(r,i,a),r=r.sibling}var gt=null,gn=!1;function mr(r,i,a){for(a=a.child;a!==null;)Sg(r,i,a),a=a.sibling}function Sg(r,i,a){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(ba,a)}catch{}switch(a.tag){case 5:Et||Zs(a,i);case 6:var u=gt,h=gn;gt=null,mr(r,i,a),gt=u,gn=h,gt!==null&&(gn?(r=gt,a=a.stateNode,r.nodeType===8?r.parentNode.removeChild(a):r.removeChild(a)):gt.removeChild(a.stateNode));break;case 18:gt!==null&&(gn?(r=gt,a=a.stateNode,r.nodeType===8?pu(r.parentNode,a):r.nodeType===1&&pu(r,a),Hi(r)):pu(gt,a.stateNode));break;case 4:u=gt,h=gn,gt=a.stateNode.containerInfo,gn=!0,mr(r,i,a),gt=u,gn=h;break;case 0:case 11:case 14:case 15:if(!Et&&(u=a.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){h=u=u.next;do{var g=h,w=g.destroy;g=g.tag,w!==void 0&&((g&2)!==0||(g&4)!==0)&&Ju(a,i,w),h=h.next}while(h!==u)}mr(r,i,a);break;case 1:if(!Et&&(Zs(a,i),u=a.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=a.memoizedProps,u.state=a.memoizedState,u.componentWillUnmount()}catch(C){Ge(a,i,C)}mr(r,i,a);break;case 21:mr(r,i,a);break;case 22:a.mode&1?(Et=(u=Et)||a.memoizedState!==null,mr(r,i,a),Et=u):mr(r,i,a);break;default:mr(r,i,a)}}function kg(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var a=r.stateNode;a===null&&(a=r.stateNode=new KS),i.forEach(function(u){var h=rk.bind(null,r,u);a.has(u)||(a.add(u),u.then(h,h))})}}function yn(r,i){var a=i.deletions;if(a!==null)for(var u=0;u<a.length;u++){var h=a[u];try{var g=r,w=i,C=w;e:for(;C!==null;){switch(C.tag){case 5:gt=C.stateNode,gn=!1;break e;case 3:gt=C.stateNode.containerInfo,gn=!0;break e;case 4:gt=C.stateNode.containerInfo,gn=!0;break e}C=C.return}if(gt===null)throw Error(n(160));Sg(g,w,h),gt=null,gn=!1;var P=h.alternate;P!==null&&(P.return=null),h.return=null}catch(B){Ge(h,i,B)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)Eg(i,r),i=i.sibling}function Eg(r,i){var a=r.alternate,u=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(yn(i,r),An(r),u&4){try{po(3,r,r.return),ll(3,r)}catch(ie){Ge(r,r.return,ie)}try{po(5,r,r.return)}catch(ie){Ge(r,r.return,ie)}}break;case 1:yn(i,r),An(r),u&512&&a!==null&&Zs(a,a.return);break;case 5:if(yn(i,r),An(r),u&512&&a!==null&&Zs(a,a.return),r.flags&32){var h=r.stateNode;try{Li(h,"")}catch(ie){Ge(r,r.return,ie)}}if(u&4&&(h=r.stateNode,h!=null)){var g=r.memoizedProps,w=a!==null?a.memoizedProps:g,C=r.type,P=r.updateQueue;if(r.updateQueue=null,P!==null)try{C==="input"&&g.type==="radio"&&g.name!=null&&be(h,g),jc(C,w);var B=jc(C,g);for(w=0;w<P.length;w+=2){var H=P[w],q=P[w+1];H==="style"?op(h,q):H==="dangerouslySetInnerHTML"?sp(h,q):H==="children"?Li(h,q):T(h,H,q,B)}switch(C){case"input":mt(h,g);break;case"textarea":tp(h,g);break;case"select":var W=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!g.multiple;var J=g.value;J!=null?nr(h,!!g.multiple,J,!1):W!==!!g.multiple&&(g.defaultValue!=null?nr(h,!!g.multiple,g.defaultValue,!0):nr(h,!!g.multiple,g.multiple?[]:"",!1))}h[no]=g}catch(ie){Ge(r,r.return,ie)}}break;case 6:if(yn(i,r),An(r),u&4){if(r.stateNode===null)throw Error(n(162));h=r.stateNode,g=r.memoizedProps;try{h.nodeValue=g}catch(ie){Ge(r,r.return,ie)}}break;case 3:if(yn(i,r),An(r),u&4&&a!==null&&a.memoizedState.isDehydrated)try{Hi(i.containerInfo)}catch(ie){Ge(r,r.return,ie)}break;case 4:yn(i,r),An(r);break;case 13:yn(i,r),An(r),h=r.child,h.flags&8192&&(g=h.memoizedState!==null,h.stateNode.isHidden=g,!g||h.alternate!==null&&h.alternate.memoizedState!==null||(sd=Xe())),u&4&&kg(r);break;case 22:if(H=a!==null&&a.memoizedState!==null,r.mode&1?(Et=(B=Et)||H,yn(i,r),Et=B):yn(i,r),An(r),u&8192){if(B=r.memoizedState!==null,(r.stateNode.isHidden=B)&&!H&&(r.mode&1)!==0)for(te=r,H=r.child;H!==null;){for(q=te=H;te!==null;){switch(W=te,J=W.child,W.tag){case 0:case 11:case 14:case 15:po(4,W,W.return);break;case 1:Zs(W,W.return);var ne=W.stateNode;if(typeof ne.componentWillUnmount=="function"){u=W,a=W.return;try{i=u,ne.props=i.memoizedProps,ne.state=i.memoizedState,ne.componentWillUnmount()}catch(ie){Ge(u,a,ie)}}break;case 5:Zs(W,W.return);break;case 22:if(W.memoizedState!==null){Tg(q);continue}}J!==null?(J.return=W,te=J):Tg(q)}H=H.sibling}e:for(H=null,q=r;;){if(q.tag===5){if(H===null){H=q;try{h=q.stateNode,B?(g=h.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(C=q.stateNode,P=q.memoizedProps.style,w=P!=null&&P.hasOwnProperty("display")?P.display:null,C.style.display=ip("display",w))}catch(ie){Ge(r,r.return,ie)}}}else if(q.tag===6){if(H===null)try{q.stateNode.nodeValue=B?"":q.memoizedProps}catch(ie){Ge(r,r.return,ie)}}else if((q.tag!==22&&q.tag!==23||q.memoizedState===null||q===r)&&q.child!==null){q.child.return=q,q=q.child;continue}if(q===r)break e;for(;q.sibling===null;){if(q.return===null||q.return===r)break e;H===q&&(H=null),q=q.return}H===q&&(H=null),q.sibling.return=q.return,q=q.sibling}}break;case 19:yn(i,r),An(r),u&4&&kg(r);break;case 21:break;default:yn(i,r),An(r)}}function An(r){var i=r.flags;if(i&2){try{e:{for(var a=r.return;a!==null;){if(wg(a)){var u=a;break e}a=a.return}throw Error(n(160))}switch(u.tag){case 5:var h=u.stateNode;u.flags&32&&(Li(h,""),u.flags&=-33);var g=bg(r);td(r,g,h);break;case 3:case 4:var w=u.stateNode.containerInfo,C=bg(r);ed(r,C,w);break;default:throw Error(n(161))}}catch(P){Ge(r,r.return,P)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function QS(r,i,a){te=r,Cg(r)}function Cg(r,i,a){for(var u=(r.mode&1)!==0;te!==null;){var h=te,g=h.child;if(h.tag===22&&u){var w=h.memoizedState!==null||al;if(!w){var C=h.alternate,P=C!==null&&C.memoizedState!==null||Et;C=al;var B=Et;if(al=w,(Et=P)&&!B)for(te=h;te!==null;)w=te,P=w.child,w.tag===22&&w.memoizedState!==null?Pg(h):P!==null?(P.return=w,te=P):Pg(h);for(;g!==null;)te=g,Cg(g),g=g.sibling;te=h,al=C,Et=B}_g(r)}else(h.subtreeFlags&8772)!==0&&g!==null?(g.return=h,te=g):_g(r)}}function _g(r){for(;te!==null;){var i=te;if((i.flags&8772)!==0){var a=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Et||ll(5,i);break;case 1:var u=i.stateNode;if(i.flags&4&&!Et)if(a===null)u.componentDidMount();else{var h=i.elementType===i.type?a.memoizedProps:mn(i.type,a.memoizedProps);u.componentDidUpdate(h,a.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&Tm(i,g,u);break;case 3:var w=i.updateQueue;if(w!==null){if(a=null,i.child!==null)switch(i.child.tag){case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}Tm(i,w,a)}break;case 5:var C=i.stateNode;if(a===null&&i.flags&4){a=C;var P=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":P.autoFocus&&a.focus();break;case"img":P.src&&(a.src=P.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var B=i.alternate;if(B!==null){var H=B.memoizedState;if(H!==null){var q=H.dehydrated;q!==null&&Hi(q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Et||i.flags&512&&Zu(i)}catch(W){Ge(i,i.return,W)}}if(i===r){te=null;break}if(a=i.sibling,a!==null){a.return=i.return,te=a;break}te=i.return}}function Tg(r){for(;te!==null;){var i=te;if(i===r){te=null;break}var a=i.sibling;if(a!==null){a.return=i.return,te=a;break}te=i.return}}function Pg(r){for(;te!==null;){var i=te;try{switch(i.tag){case 0:case 11:case 15:var a=i.return;try{ll(4,i)}catch(P){Ge(i,a,P)}break;case 1:var u=i.stateNode;if(typeof u.componentDidMount=="function"){var h=i.return;try{u.componentDidMount()}catch(P){Ge(i,h,P)}}var g=i.return;try{Zu(i)}catch(P){Ge(i,g,P)}break;case 5:var w=i.return;try{Zu(i)}catch(P){Ge(i,w,P)}}}catch(P){Ge(i,i.return,P)}if(i===r){te=null;break}var C=i.sibling;if(C!==null){C.return=i.return,te=C;break}te=i.return}}var YS=Math.ceil,cl=j.ReactCurrentDispatcher,nd=j.ReactCurrentOwner,tn=j.ReactCurrentBatchConfig,je=0,ut=null,tt=null,yt=0,qt=0,ei=ur(0),ot=0,mo=null,Xr=0,ul=0,rd=0,go=null,It=null,sd=0,ti=1/0,Kn=null,dl=!1,id=null,gr=null,fl=!1,yr=null,hl=0,yo=0,od=null,pl=-1,ml=0;function Nt(){return(je&6)!==0?Xe():pl!==-1?pl:pl=Xe()}function vr(r){return(r.mode&1)===0?1:(je&2)!==0&&yt!==0?yt&-yt:OS.transition!==null?(ml===0&&(ml=bp()),ml):(r=Fe,r!==0||(r=window.event,r=r===void 0?16:Rp(r.type)),r)}function vn(r,i,a,u){if(50<yo)throw yo=0,od=null,Error(n(185));Ui(r,a,u),((je&2)===0||r!==ut)&&(r===ut&&((je&2)===0&&(ul|=a),ot===4&&xr(r,yt)),Ft(r,u),a===1&&je===0&&(i.mode&1)===0&&(ti=Xe()+500,$a&&fr()))}function Ft(r,i){var a=r.callbackNode;O1(r,i);var u=Ea(r,r===ut?yt:0);if(u===0)a!==null&&vp(a),r.callbackNode=null,r.callbackPriority=0;else if(i=u&-u,r.callbackPriority!==i){if(a!=null&&vp(a),i===1)r.tag===0?jS(Rg.bind(null,r)):mm(Rg.bind(null,r)),PS(function(){(je&6)===0&&fr()}),a=null;else{switch(Sp(u)){case 1:a=Bc;break;case 4:a=xp;break;case 16:a=wa;break;case 536870912:a=wp;break;default:a=wa}a=Fg(a,Ag.bind(null,r))}r.callbackPriority=i,r.callbackNode=a}}function Ag(r,i){if(pl=-1,ml=0,(je&6)!==0)throw Error(n(327));var a=r.callbackNode;if(ni()&&r.callbackNode!==a)return null;var u=Ea(r,r===ut?yt:0);if(u===0)return null;if((u&30)!==0||(u&r.expiredLanes)!==0||i)i=gl(r,u);else{i=u;var h=je;je|=2;var g=jg();(ut!==r||yt!==i)&&(Kn=null,ti=Xe()+500,Zr(r,i));do try{ZS();break}catch(C){Ng(r,C)}while(!0);Eu(),cl.current=g,je=h,tt!==null?i=0:(ut=null,yt=0,i=ot)}if(i!==0){if(i===2&&(h=Uc(r),h!==0&&(u=h,i=ad(r,h))),i===1)throw a=mo,Zr(r,0),xr(r,u),Ft(r,Xe()),a;if(i===6)xr(r,u);else{if(h=r.current.alternate,(u&30)===0&&!XS(h)&&(i=gl(r,u),i===2&&(g=Uc(r),g!==0&&(u=g,i=ad(r,g))),i===1))throw a=mo,Zr(r,0),xr(r,u),Ft(r,Xe()),a;switch(r.finishedWork=h,r.finishedLanes=u,i){case 0:case 1:throw Error(n(345));case 2:es(r,It,Kn);break;case 3:if(xr(r,u),(u&130023424)===u&&(i=sd+500-Xe(),10<i)){if(Ea(r,0)!==0)break;if(h=r.suspendedLanes,(h&u)!==u){Nt(),r.pingedLanes|=r.suspendedLanes&h;break}r.timeoutHandle=hu(es.bind(null,r,It,Kn),i);break}es(r,It,Kn);break;case 4:if(xr(r,u),(u&4194240)===u)break;for(i=r.eventTimes,h=-1;0<u;){var w=31-fn(u);g=1<<w,w=i[w],w>h&&(h=w),u&=~g}if(u=h,u=Xe()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*YS(u/1960))-u,10<u){r.timeoutHandle=hu(es.bind(null,r,It,Kn),u);break}es(r,It,Kn);break;case 5:es(r,It,Kn);break;default:throw Error(n(329))}}}return Ft(r,Xe()),r.callbackNode===a?Ag.bind(null,r):null}function ad(r,i){var a=go;return r.current.memoizedState.isDehydrated&&(Zr(r,i).flags|=256),r=gl(r,i),r!==2&&(i=It,It=a,i!==null&&ld(i)),r}function ld(r){It===null?It=r:It.push.apply(It,r)}function XS(r){for(var i=r;;){if(i.flags&16384){var a=i.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var u=0;u<a.length;u++){var h=a[u],g=h.getSnapshot;h=h.value;try{if(!hn(g(),h))return!1}catch{return!1}}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function xr(r,i){for(i&=~rd,i&=~ul,r.suspendedLanes|=i,r.pingedLanes&=~i,r=r.expirationTimes;0<i;){var a=31-fn(i),u=1<<a;r[a]=-1,i&=~u}}function Rg(r){if((je&6)!==0)throw Error(n(327));ni();var i=Ea(r,0);if((i&1)===0)return Ft(r,Xe()),null;var a=gl(r,i);if(r.tag!==0&&a===2){var u=Uc(r);u!==0&&(i=u,a=ad(r,u))}if(a===1)throw a=mo,Zr(r,0),xr(r,i),Ft(r,Xe()),a;if(a===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=i,es(r,It,Kn),Ft(r,Xe()),null}function cd(r,i){var a=je;je|=1;try{return r(i)}finally{je=a,je===0&&(ti=Xe()+500,$a&&fr())}}function Jr(r){yr!==null&&yr.tag===0&&(je&6)===0&&ni();var i=je;je|=1;var a=tn.transition,u=Fe;try{if(tn.transition=null,Fe=1,r)return r()}finally{Fe=u,tn.transition=a,je=i,(je&6)===0&&fr()}}function ud(){qt=ei.current,$e(ei)}function Zr(r,i){r.finishedWork=null,r.finishedLanes=0;var a=r.timeoutHandle;if(a!==-1&&(r.timeoutHandle=-1,TS(a)),tt!==null)for(a=tt.return;a!==null;){var u=a;switch(xu(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&Va();break;case 3:Xs(),$e(Lt),$e(bt),ju();break;case 5:Ru(u);break;case 4:Xs();break;case 13:$e(He);break;case 19:$e(He);break;case 10:Cu(u.type._context);break;case 22:case 23:ud()}a=a.return}if(ut=r,tt=r=wr(r.current,null),yt=qt=i,ot=0,mo=null,rd=ul=Xr=0,It=go=null,Gr!==null){for(i=0;i<Gr.length;i++)if(a=Gr[i],u=a.interleaved,u!==null){a.interleaved=null;var h=u.next,g=a.pending;if(g!==null){var w=g.next;g.next=h,u.next=w}a.pending=u}Gr=null}return r}function Ng(r,i){do{var a=tt;try{if(Eu(),Za.current=rl,el){for(var u=qe.memoizedState;u!==null;){var h=u.queue;h!==null&&(h.pending=null),u=u.next}el=!1}if(Yr=0,ct=it=qe=null,lo=!1,co=0,nd.current=null,a===null||a.return===null){ot=1,mo=i,tt=null;break}e:{var g=r,w=a.return,C=a,P=i;if(i=yt,C.flags|=32768,P!==null&&typeof P=="object"&&typeof P.then=="function"){var B=P,H=C,q=H.tag;if((H.mode&1)===0&&(q===0||q===11||q===15)){var W=H.alternate;W?(H.updateQueue=W.updateQueue,H.memoizedState=W.memoizedState,H.lanes=W.lanes):(H.updateQueue=null,H.memoizedState=null)}var J=ng(w);if(J!==null){J.flags&=-257,rg(J,w,C,g,i),J.mode&1&&tg(g,B,i),i=J,P=B;var ne=i.updateQueue;if(ne===null){var ie=new Set;ie.add(P),i.updateQueue=ie}else ne.add(P);break e}else{if((i&1)===0){tg(g,B,i),dd();break e}P=Error(n(426))}}else if(We&&C.mode&1){var Je=ng(w);if(Je!==null){(Je.flags&65536)===0&&(Je.flags|=256),rg(Je,w,C,g,i),Su(Js(P,C));break e}}g=P=Js(P,C),ot!==4&&(ot=2),go===null?go=[g]:go.push(g),g=w;do{switch(g.tag){case 3:g.flags|=65536,i&=-i,g.lanes|=i;var M=Zm(g,P,i);_m(g,M);break e;case 1:C=P;var O=g.type,I=g.stateNode;if((g.flags&128)===0&&(typeof O.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(gr===null||!gr.has(I)))){g.flags|=65536,i&=-i,g.lanes|=i;var K=eg(g,C,i);_m(g,K);break e}}g=g.return}while(g!==null)}Lg(a)}catch(ae){i=ae,tt===a&&a!==null&&(tt=a=a.return);continue}break}while(!0)}function jg(){var r=cl.current;return cl.current=rl,r===null?rl:r}function dd(){(ot===0||ot===3||ot===2)&&(ot=4),ut===null||(Xr&268435455)===0&&(ul&268435455)===0||xr(ut,yt)}function gl(r,i){var a=je;je|=2;var u=jg();(ut!==r||yt!==i)&&(Kn=null,Zr(r,i));do try{JS();break}catch(h){Ng(r,h)}while(!0);if(Eu(),je=a,cl.current=u,tt!==null)throw Error(n(261));return ut=null,yt=0,ot}function JS(){for(;tt!==null;)Og(tt)}function ZS(){for(;tt!==null&&!E1();)Og(tt)}function Og(r){var i=Ig(r.alternate,r,qt);r.memoizedProps=r.pendingProps,i===null?Lg(r):tt=i,nd.current=null}function Lg(r){var i=r;do{var a=i.alternate;if(r=i.return,(i.flags&32768)===0){if(a=HS(a,i,qt),a!==null){tt=a;return}}else{if(a=qS(a,i),a!==null){a.flags&=32767,tt=a;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{ot=6,tt=null;return}}if(i=i.sibling,i!==null){tt=i;return}tt=i=r}while(i!==null);ot===0&&(ot=5)}function es(r,i,a){var u=Fe,h=tn.transition;try{tn.transition=null,Fe=1,ek(r,i,a,u)}finally{tn.transition=h,Fe=u}return null}function ek(r,i,a,u){do ni();while(yr!==null);if((je&6)!==0)throw Error(n(327));a=r.finishedWork;var h=r.finishedLanes;if(a===null)return null;if(r.finishedWork=null,r.finishedLanes=0,a===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var g=a.lanes|a.childLanes;if(L1(r,g),r===ut&&(tt=ut=null,yt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||fl||(fl=!0,Fg(wa,function(){return ni(),null})),g=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||g){g=tn.transition,tn.transition=null;var w=Fe;Fe=1;var C=je;je|=4,nd.current=null,GS(r,a),Eg(a,r),wS(du),Ta=!!uu,du=uu=null,r.current=a,QS(a),C1(),je=C,Fe=w,tn.transition=g}else r.current=a;if(fl&&(fl=!1,yr=r,hl=h),g=r.pendingLanes,g===0&&(gr=null),P1(a.stateNode),Ft(r,Xe()),i!==null)for(u=r.onRecoverableError,a=0;a<i.length;a++)h=i[a],u(h.value,{componentStack:h.stack,digest:h.digest});if(dl)throw dl=!1,r=id,id=null,r;return(hl&1)!==0&&r.tag!==0&&ni(),g=r.pendingLanes,(g&1)!==0?r===od?yo++:(yo=0,od=r):yo=0,fr(),null}function ni(){if(yr!==null){var r=Sp(hl),i=tn.transition,a=Fe;try{if(tn.transition=null,Fe=16>r?16:r,yr===null)var u=!1;else{if(r=yr,yr=null,hl=0,(je&6)!==0)throw Error(n(331));var h=je;for(je|=4,te=r.current;te!==null;){var g=te,w=g.child;if((te.flags&16)!==0){var C=g.deletions;if(C!==null){for(var P=0;P<C.length;P++){var B=C[P];for(te=B;te!==null;){var H=te;
vendor: 6,190 bytes, line 40
40switch(H.tag){case 0:case 11:case 15:po(8,H,g)}var q=H.child;if(q!==null)q.return=H,te=q;else for(;te!==null;){H=te;var W=H.sibling,J=H.return;if(xg(H),H===B){te=null;break}if(W!==null){W.return=J,te=W;break}te=J}}}var ne=g.alternate;if(ne!==null){var ie=ne.child;if(ie!==null){ne.child=null;do{var Je=ie.sibling;ie.sibling=null,ie=Je}while(ie!==null)}}te=g}}if((g.subtreeFlags&2064)!==0&&w!==null)w.return=g,te=w;else e:for(;te!==null;){if(g=te,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:po(9,g,g.return)}var M=g.sibling;if(M!==null){M.return=g.return,te=M;break e}te=g.return}}var O=r.current;for(te=O;te!==null;){w=te;var I=w.child;if((w.subtreeFlags&2064)!==0&&I!==null)I.return=w,te=I;else e:for(w=O;te!==null;){if(C=te,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:ll(9,C)}}catch(ae){Ge(C,C.return,ae)}if(C===w){te=null;break e}var K=C.sibling;if(K!==null){K.return=C.return,te=K;break e}te=C.return}}if(je=h,fr(),Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(ba,r)}catch{}u=!0}return u}finally{Fe=a,tn.transition=i}}return!1}function Dg(r,i,a){i=Js(a,i),i=Zm(r,i,1),r=pr(r,i,1),i=Nt(),r!==null&&(Ui(r,1,i),Ft(r,i))}function Ge(r,i,a){if(r.tag===3)Dg(r,r,a);else for(;i!==null;){if(i.tag===3){Dg(i,r,a);break}else if(i.tag===1){var u=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(gr===null||!gr.has(u))){r=Js(a,r),r=eg(i,r,1),i=pr(i,r,1),r=Nt(),i!==null&&(Ui(i,1,r),Ft(i,r));break}}i=i.return}}function tk(r,i,a){var u=r.pingCache;u!==null&&u.delete(i),i=Nt(),r.pingedLanes|=r.suspendedLanes&a,ut===r&&(yt&a)===a&&(ot===4||ot===3&&(yt&130023424)===yt&&500>Xe()-sd?Zr(r,0):rd|=a),Ft(r,i)}function Mg(r,i){i===0&&((r.mode&1)===0?i=1:(i=ka,ka<<=1,(ka&130023424)===0&&(ka=4194304)));var a=Nt();r=Wn(r,i),r!==null&&(Ui(r,i,a),Ft(r,a))}function nk(r){var i=r.memoizedState,a=0;i!==null&&(a=i.retryLane),Mg(r,a)}function rk(r,i){var a=0;switch(r.tag){case 13:var u=r.stateNode,h=r.memoizedState;h!==null&&(a=h.retryLane);break;case 19:u=r.stateNode;break;default:throw Error(n(314))}u!==null&&u.delete(i),Mg(r,a)}var Ig;Ig=function(r,i,a){if(r!==null)if(r.memoizedProps!==i.pendingProps||Lt.current)Mt=!0;else{if((r.lanes&a)===0&&(i.flags&128)===0)return Mt=!1,WS(r,i,a);Mt=(r.flags&131072)!==0}else Mt=!1,We&&(i.flags&1048576)!==0&&gm(i,Ha,i.index);switch(i.lanes=0,i.tag){case 2:var u=i.type;ol(r,i),r=i.pendingProps;var h=Ws(i,bt.current);Ys(i,a),h=Du(null,i,u,r,h,a);var g=Mu();return i.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Dt(u)?(g=!0,za(i)):g=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,Pu(i),h.updater=sl,i.stateNode=h,h._reactInternals=i,zu(i,u,r,a),i=qu(null,i,u,!0,g,a)):(i.tag=0,We&&g&&vu(i),Rt(null,i,h,a),i=i.child),i;case 16:u=i.elementType;e:{switch(ol(r,i),r=i.pendingProps,h=u._init,u=h(u._payload),i.type=u,h=i.tag=ik(u),r=mn(u,r),h){case 0:i=Hu(null,i,u,r,a);break e;case 1:i=cg(null,i,u,r,a);break e;case 11:i=sg(null,i,u,r,a);break e;case 14:i=ig(null,i,u,mn(u.type,r),a);break e}throw Error(n(306,u,""))}return i;case 0:return u=i.type,h=i.pendingProps,h=i.elementType===u?h:mn(u,h),Hu(r,i,u,h,a);case 1:return u=i.type,h=i.pendingProps,h=i.elementType===u?h:mn(u,h),cg(r,i,u,h,a);case 3:e:{if(ug(i),r===null)throw Error(n(387));u=i.pendingProps,g=i.memoizedState,h=g.element,Cm(r,i),Xa(i,u,null,a);var w=i.memoizedState;if(u=w.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){h=Js(Error(n(423)),i),i=dg(r,i,u,a,h);break e}else if(u!==h){h=Js(Error(n(424)),i),i=dg(r,i,u,a,h);break e}else for(Ht=cr(i.stateNode.containerInfo.firstChild),Wt=i,We=!0,pn=null,a=km(i,null,u,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ks(),u===h){i=qn(r,i,a);break e}Rt(r,i,u,a)}i=i.child}return i;case 5:return Pm(i),r===null&&bu(i),u=i.type,h=i.pendingProps,g=r!==null?r.memoizedProps:null,w=h.children,fu(u,h)?w=null:g!==null&&fu(u,g)&&(i.flags|=32),lg(r,i),Rt(r,i,w,a),i.child;case 6:return r===null&&bu(i),null;case 13:return fg(r,i,a);case 4:return Au(i,i.stateNode.containerInfo),u=i.pendingProps,r===null?i.child=Gs(i,null,u,a):Rt(r,i,u,a),i.child;case 11:return u=i.type,h=i.pendingProps,h=i.elementType===u?h:mn(u,h),sg(r,i,u,h,a);case 7:return Rt(r,i,i.pendingProps,a),i.child;case 8:return Rt(r,i,i.pendingProps.children,a),i.child;case 12:return Rt(r,i,i.pendingProps.children,a),i.child;case 10:e:{if(u=i.type._context,h=i.pendingProps,g=i.memoizedProps,w=h.value,Ve(Ga,u._currentValue),u._currentValue=w,g!==null)if(hn(g.value,w)){if(g.children===h.children&&!Lt.current){i=qn(r,i,a);break e}}else for(g=i.child,g!==null&&(g.return=i);g!==null;){var C=g.dependencies;if(C!==null){w=g.child;for(var P=C.firstContext;P!==null;){if(P.context===u){if(g.tag===1){P=Hn(-1,a&-a),P.tag=2;var B=g.updateQueue;if(B!==null){B=B.shared;var H=B.pending;H===null?P.next=P:(P.next=H.next,H.next=P),B.pending=P}}g.lanes|=a,P=g.alternate,P!==null&&(P.lanes|=a),_u(g.return,a,i),C.lanes|=a;break}P=P.next}}else if(g.tag===10)w=g.type===i.type?null:g.child;else if(g.tag===18){if(w=g.return,w===null)throw Error(n(341));w.lanes|=a,C=w.alternate,C!==null&&(C.lanes|=a),_u(w,a,i),w=g.sibling}else w=g.child;if(w!==null)w.return=g;else for(w=g;w!==null;){if(w===i){w=null;break}if(g=w.sibling,g!==null){g.return=w.return,w=g;break}w=w.return}g=w}Rt(r,i,h.children,a),i=i.child}return i;case 9:return h=i.type,u=i.pendingProps.children,Ys(i,a),h=Zt(h),u=u(h),i.flags|=1,Rt(r,i,u,a),i.child;case 14:return u=i.type,h=mn(u,i.pendingProps),h=mn(u.type,h),ig(r,i,u,h,a);case 15:return og(r,i,i.type,i.pendingProps,a);case 17:return u=i.type,h=i.pendingProps,h=i.elementType===u?h:mn(u,h),ol(r,i),i.tag=1,Dt(u)?(r=!0,za(i)):r=!1,Ys(i,a),Xm(i,u,h),zu(i,u,h,a),qu(null,i,u,!0,r,a);case 19:return pg(r,i,a);case 22:return ag(r,i,a)}throw Error(n(156,i.tag))};function Fg(r,i){return yp(r,i)}function sk(r,i,a,u){this.tag=r,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,938 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(r,i,a,u){return new sk(r,i,a,u)}function fd(r){return r=r.prototype,!(!r||!r.isReactComponent)}function ik(r){if(typeof r=="function")return fd(r)?1:0;if(r!=null){if(r=r.$$typeof,r===De)return 11;if(r===Be)return 14}return 2}function wr(r,i){var a=r.alternate;return a===null?(a=nn(r.tag,i,r.key,r.mode),a.elementType=r.elementType,a.type=r.type,a.stateNode=r.stateNode,a.alternate=r,r.alternate=a):(a.pendingProps=i,a.type=r.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=r.flags&14680064,a.childLanes=r.childLanes,a.lanes=r.lanes,a.child=r.child,a.memoizedProps=r.memoizedProps,a.memoizedState=r.memoizedState,a.updateQueue=r.updateQueue,i=r.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=r.sibling,a.index=r.index,a.ref=r.ref,a}function yl(r,i,a,u,h,g){var w=2;if(u=r,typeof r=="function")fd(r)&&(w=1);else if(typeof r=="string")w=5;else e:switch(r){case Y:return ts(a.children,h,g,i);case U:w=8,h|=8;break;case Z:return r=nn(12,a,i,h|2),r.elementType=Z,r.lanes=g,r;case ke:return r=nn(13,a,i,h),r.elementType=ke,r.lanes=g,r;case _e:return r=nn(19,a,i,h),r.elementType=_e,r.lanes=g,r;case he:return vl(a,h,g,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case le:w=10;break e;case Se:w=9;break e;case De:w=11;break e;case Be:w=14;break e;case Ne:w=16,u=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return i=nn(w,a,i,h),i.elementType=r,i.type=u,i.lanes=g,i}function ts(r,i,a,u){return r=nn(7,r,u,i),r.lanes=a,r}function vl(r,i,a,u){return r=nn(22,r,u,i),r.elementType=he,r.lanes=a,r.stateNode={isHidden:!1},r}function hd(r,i,a){return r=nn(6,r,null,i),r.lanes=a,r}function pd(r,i,a){return i=nn(4,r.children!==null?r.children:[],r.key,i),i.lanes=a,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function ok(r,i,a,u,h){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vc(0),this.expirationTimes=Vc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vc(0),this.identifierPrefix=u,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function md(r,i,a,u,h,g,w,C,P){return r=new ok(r,i,a,C,P),i===1?(i=1,g===!0&&(i|=8)):i=0,g=nn(3,null,null,i),r.current=g,g.stateNode=r,g.memoizedState={element:u,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pu(g),r}function ak(r,i,a){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:u==null?null:""+u,children:r,containerInfo:i,implementation:a}}function Bg(r){if(!r)return dr;r=r._reactInternals;e:{if($r(r)!==r||r.tag!==1)throw Error(n(170));var i=r;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(Dt(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(n(171))}if(r.tag===1){var a=r.type;if(Dt(a))return hm(r,a,i)}return i}function Ug(r,i,a,u,h,g,w,C,P){return r=md(a,u,!0,r,h,g,w,C,P),r.context=Bg(null),a=r.current,u=Nt(),h=vr(a),g=Hn(u,h),g.callback=i??null,pr(a,g,h),r.current.lanes=h,Ui(r,h,u),Ft(r,u),r}function xl(r,i,a,u){var h=i.current,g=Nt(),w=vr(h);return a=Bg(a),i.context===null?i.context=a:i.pendingContext=a,i=Hn(g,w),i.payload={element:r},u=u===void 0?null:u,u!==null&&(i.callback=u),r=pr(h,i,w),r!==null&&(vn(r,h,w,g),Ya(r,h,w)),w}function wl(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Vg(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var a=r.retryLane;r.retryLane=a!==0&&a<i?a:i}}function gd(r,i){Vg(r,i),(r=r.alternate)&&Vg(r,i)}function lk(){return null}var zg=typeof reportError=="function"?reportError:function(r){console.error(r)};function yd(r){this._internalRoot=r}bl.prototype.render=yd.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(n(409));xl(r,i,null,null)},bl.prototype.unmount=yd.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;Jr(function(){xl(null,r,null,null)}),i[Un]=null}};function bl(r){this._internalRoot=r}bl.prototype.unstable_scheduleHydration=function(r){if(r){var i=Cp();r={blockedOn:null,target:r,priority:i};for(var a=0;a<or.length&&i!==0&&i<or[a].priority;a++);or.splice(a,0,r),a===0&&Pp(r)}};function vd(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Sl(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function $g(){}function ck(r,i,a,u,h){if(h){if(typeof u=="function"){var g=u;u=function(){var B=wl(w);g.call(B)}}var w=Ug(i,u,r,0,null,!1,!1,"",$g);return r._reactRootContainer=w,r[Un]=w.current,eo(r.nodeType===8?r.parentNode:r),Jr(),w}for(;h=r.lastChild;)r.removeChild(h);if(typeof u=="function"){var C=u;u=function(){var B=wl(P);C.call(B)}}var P=md(r,0,!1,null,null,!1,!1,"",$g);return r._reactRootContainer=P,r[Un]=P.current,eo(r.nodeType===8?r.parentNode:r),Jr(function(){xl(i,P,a,u)}),P}function kl(r,i,a,u,h){var g=a._reactRootContainer;if(g){var w=g;if(typeof h=="function"){var C=h;h=function(){var P=wl(w);C.call(P)}}xl(i,w,r,h)}else w=ck(a,i,r,h,u);return wl(w)}kp=function(r){switch(r.tag){case 3:var i=r.stateNode;if(i.current.memoizedState.isDehydrated){var a=Bi(i.pendingLanes);a!==0&&(zc(i,a|1),Ft(i,Xe()),(je&6)===0&&(ti=Xe()+500,fr()))}break;case 13:Jr(function(){var u=Wn(r,1);
vendor: 4,750 bytes, line 40
40if(u!==null){var h=Nt();vn(u,r,1,h)}}),gd(r,1)}},$c=function(r){if(r.tag===13){var i=Wn(r,134217728);if(i!==null){var a=Nt();vn(i,r,134217728,a)}gd(r,134217728)}},Ep=function(r){if(r.tag===13){var i=vr(r),a=Wn(r,i);if(a!==null){var u=Nt();vn(a,r,i,u)}gd(r,i)}},Cp=function(){return Fe},_p=function(r,i){var a=Fe;try{return Fe=r,i()}finally{Fe=a}},Dc=function(r,i,a){switch(i){case"input":if(mt(r,a),i=a.name,a.type==="radio"&&i!=null){for(a=r;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<a.length;i++){var u=a[i];if(u!==r&&u.form===r.form){var h=Ua(u);if(!h)throw Error(n(90));pt(u),mt(u,h)}}}break;case"textarea":tp(r,a);break;case"select":i=a.value,i!=null&&nr(r,!!a.multiple,i,!1)}},up=cd,dp=Jr;var uk={usingClientEntryPoint:!1,Events:[ro,zs,Ua,lp,cp,cd]},vo={findFiberByHostInstance:Wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},dk={bundleType:vo.bundleType,version:vo.version,rendererPackageName:vo.rendererPackageName,rendererConfig:vo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=mp(r),r===null?null:r.stateNode},findFiberByHostInstance:vo.findFiberByHostInstance||lk,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 El=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!El.isDisabled&&El.supportsFiber)try{ba=El.inject(dk),Cn=El}catch{}}return Bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uk,Bt.createPortal=function(r,i){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vd(i))throw Error(n(200));return ak(r,i,null,a)},Bt.createRoot=function(r,i){if(!vd(r))throw Error(n(299));var a=!1,u="",h=zg;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(u=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=md(r,1,!1,null,null,a,!1,u,h),r[Un]=i.current,eo(r.nodeType===8?r.parentNode:r),new yd(i)},Bt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=mp(i),r=r===null?null:r.stateNode,r},Bt.flushSync=function(r){return Jr(r)},Bt.hydrate=function(r,i,a){if(!Sl(i))throw Error(n(200));return kl(null,r,i,!0,a)},Bt.hydrateRoot=function(r,i,a){if(!vd(r))throw Error(n(405));var u=a!=null&&a.hydratedSources||null,h=!1,g="",w=zg;if(a!=null&&(a.unstable_strictMode===!0&&(h=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(w=a.onRecoverableError)),i=Ug(i,null,r,1,a??null,h,!1,g,w),r[Un]=i.current,eo(r),u)for(r=0;r<u.length;r++)a=u[r],h=a._getVersion,h=h(a._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[a,h]:i.mutableSourceEagerHydrationData.push(a,h);return new bl(i)},Bt.render=function(r,i,a){if(!Sl(i))throw Error(n(200));return kl(null,r,i,!1,a)},Bt.unmountComponentAtNode=function(r){if(!Sl(r))throw Error(n(40));return r._reactRootContainer?(Jr(function(){kl(null,null,r,!1,function(){r._reactRootContainer=null,r[Un]=null})}),!0):!1},Bt.unstable_batchedUpdates=cd,Bt.unstable_renderSubtreeIntoContainer=function(r,i,a,u){if(!Sl(a))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return kl(r,i,a,!1,u)},Bt.version="18.3.1-next-f1338f8080-20240426",Bt}var Jg;function Z0(){if(Jg)return Sd.exports;Jg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Sd.exports=kk(),Sd.exports}var Zg;function Ek(){if(Zg)return _l;Zg=1;var t=Z0();return _l.createRoot=t.createRoot,_l.hydrateRoot=t.hydrateRoot,_l}var Ck=Ek();const _k=J0(Ck),Tk=20,Pk=1e6,Jn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Cd=0;function Ak(){return Cd=(Cd+1)%Number.MAX_VALUE,Cd.toString()}const _d=new Map,ey=t=>{if(_d.has(t))return;const e=setTimeout(()=>{_d.delete(t),Mo({type:Jn.REMOVE_TOAST,toastId:t})},Pk);_d.set(t,e)},Rk=(t,e)=>{switch(e.type){case Jn.ADD_TOAST:return{...t,toasts:[e.toast,...t.toasts].slice(0,Tk)};case Jn.UPDATE_TOAST:return{...t,toasts:t.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case Jn.DISMISS_TOAST:{const{toastId:n}=e;
40return n?ey(n):t.toasts.forEach(s=>{ey(s.id)}),{...t,toasts:t.toasts.map(s=>s.id===n||n===void 0?{...s,open:!1}:s)}}case Jn.REMOVE_TOAST:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(n=>n.id!==e.toastId)}}},Ul=[];let Vl={toasts:[]};function Mo(t){Vl=Rk(Vl,t),Ul.forEach(e=>{e(Vl)})}function Nk({...t}){const e=Ak(),n=o=>Mo({type:Jn.UPDATE_TOAST,toast:{...o,id:e}}),s=()=>Mo({type:Jn.DISMISS_TOAST,toastId:e});return Mo({type:Jn.ADD_TOAST,toast:{...t,id:e,open:!0,onOpenChange:o=>{o||s()}}}),{id:e,dismiss:s,update:n}}function jk(){const[t,e]=A.useState(Vl);return A.useEffect(()=>(Ul.push(e),()=>{const n=Ul.indexOf(e);n>-1&&Ul.splice(n,1)}),[t]),{...t,toast:Nk,dismiss:n=>Mo({type:Jn.DISMISS_TOAST,toastId:n})}}function ex(t){var e,n,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=ex(t[e]))&&(s&&(s+=" "),s+=n)}else for(n in t)t[n]&&(s&&(s+=" "),s+=n);return s}function tx(){for(var t,e,n=0,s="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=ex(t))&&(s&&(s+=" "),s+=e);return s}const ty=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,ny=tx,Ok=(t,e)=>n=>{var s;if((e==null?void 0:e.variants)==null)return ny(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:l}=e,c=Object.keys(o).map(p=>{const y=n==null?void 0:n[p],v=l==null?void 0:l[p];if(y===null)return null;const x=ty(y)||ty(v);return o[p][x]}),d=n&&Object.entries(n).reduce((p,y)=>{let[v,x]=y;return x===void 0||(p[v]=x),p},{}),f=e==null||(s=e.compoundVariants)===null||s===void 0?void 0:s.reduce((p,y)=>{let{class:v,className:x,...b}=y;return Object.entries(b).every(_=>{let[E,k]=_;return Array.isArray(k)?k.includes({...l,...d}[E]):{...l,...d}[E]===k})?[...p,v,x]:p},[]);return ny(t,c,f,n==null?void 0:n.class,n==null?void 0:n.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 Lk=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),nx=(...t)=>t.filter((e,n,s)=>!!e&&e.trim()!==""&&s.indexOf(e)===n).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 Dk={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 Mk=A.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:o="",children:l,iconNode:c,...d},f)=>A.createElement("svg",{ref:f,...Dk,width:e,height:e,stroke:t,strokeWidth:s?Number(n)*24/Number(e):n,className:nx("lucide",o),...d},[...c.map(([p,y])=>A.createElement(p,y)),...Array.isArray(l)?l:[l]]));/**
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 st=(t,e)=>{const n=A.forwardRef(({className:s,...o},l)=>A.createElement(Mk,{ref:l,iconNode:e,className:nx(`lucide-${Lk(t)}`,s),...o}));return n.displayName=`${t}`,n};/**
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 Ik=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],rx=st("ArrowLeft",Ik);/**
66 * @license lucide-react v0.475.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const Fk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Es=st("ArrowRight",Fk);/**
71 * @license lucide-react v0.475.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const Bk=[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]],Uk=st("Bed",Bk);/**
76 * @license lucide-react v0.475.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const Vk=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ef=st("ChevronDown",Vk);/**
81 * @license lucide-react v0.475.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const zk=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],$k=st("ChevronLeft",zk);/**
86 * @license lucide-react v0.475.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const Wk=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Hk=st("ChevronRight",Wk);/**
91 * @license lucide-react v0.475.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const qk=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],Kk=st("Crown",qk);/**
96 * @license lucide-react v0.475.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const Gk=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Qk=st("Facebook",Gk);/**
101 * @license lucide-react v0.475.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Yk=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Xk=st("FileText",Yk);/**
106 * @license lucide-react v0.475.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const Jk=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],Zk=st("Flame",Jk);/**
111 * @license lucide-react v0.475.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const eE=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],tE=st("Image",eE);/**
116 * @license lucide-react v0.475.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const nE=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],rE=st("Instagram",nE);/**
121 * @license lucide-react v0.475.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const sE=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],sx=st("Mail",sE);/**
126 * @license lucide-react v0.475.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const iE=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],oE=st("MapPin",iE);/**
131 * @license lucide-react v0.475.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const aE=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],lE=st("Menu",aE);/**
136 * @license lucide-react v0.475.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const cE=[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],uE=st("Mic",cE);/**
141 * @license lucide-react v0.475.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const dE=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],fE=st("Phone",dE);/**
146 * @license lucide-react v0.475.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const hE=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],pE=st("RefreshCw",hE);/**
151 * @license lucide-react v0.475.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const mE=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],ix=st("Ticket",mE);/**
156 * @license lucide-react v0.475.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const gE=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 8,407 bytes, line 160
160],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],pc=st("X",gE),yE=(t,e)=>{const n=new Array(t.length+e.length);for(let s=0;s<t.length;s++)n[s]=t[s];for(let s=0;s<e.length;s++)n[t.length+s]=e[s];return n},vE=(t,e)=>({classGroupId:t,validator:e}),ox=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),ec="-",ry=[],xE="arbitrary..",wE=t=>{const e=SE(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return bE(c);const d=c.split(ec),f=d[0]===""&&d.length>1?1:0;return ax(d,f,e)},getConflictingClassGroupIds:(c,d)=>{if(d){const f=s[c],p=n[c];return f?p?yE(p,f):f:p||ry}return n[c]||ry}}},ax=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const o=t[e],l=n.nextPart.get(o);if(l){const p=ax(t,e+1,l);if(p)return p}const c=n.validators;if(c===null)return;const d=e===0?t.join(ec):t.slice(e).join(ec),f=c.length;for(let p=0;p<f;p++){const y=c[p];if(y.validator(d))return y.classGroupId}},bE=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),s=e.slice(0,n);return s?xE+s:void 0})(),SE=t=>{const{theme:e,classGroups:n}=t;return kE(n,e)},kE=(t,e)=>{const n=ox();for(const s in t){const o=t[s];Qf(o,n,s,e)}return n},Qf=(t,e,n,s)=>{const o=t.length;for(let l=0;l<o;l++){const c=t[l];EE(c,e,n,s)}},EE=(t,e,n,s)=>{if(typeof t=="string"){CE(t,e,n);return}if(typeof t=="function"){_E(t,e,n,s);return}TE(t,e,n,s)},CE=(t,e,n)=>{const s=t===""?e:lx(e,t);s.classGroupId=n},_E=(t,e,n,s)=>{if(PE(t)){Qf(t(s),e,n,s);return}e.validators===null&&(e.validators=[]),e.validators.push(vE(n,t))},TE=(t,e,n,s)=>{const o=Object.entries(t),l=o.length;for(let c=0;c<l;c++){const[d,f]=o[c];Qf(f,lx(e,d),n,s)}},lx=(t,e)=>{let n=t;const s=e.split(ec),o=s.length;for(let l=0;l<o;l++){const c=s[l];let d=n.nextPart.get(c);d||(d=ox(),n.nextPart.set(c,d)),n=d}return n},PE=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,AE=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),s=Object.create(null);const o=(l,c)=>{n[l]=c,e++,e>t&&(e=0,s=n,n=Object.create(null))};return{get(l){let c=n[l];if(c!==void 0)return c;if((c=s[l])!==void 0)return o(l,c),c},set(l,c){l in n?n[l]=c:o(l,c)}}},tf="!",sy=":",RE=[],iy=(t,e,n,s,o)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:s,isExternal:o}),NE=t=>{const{prefix:e,experimentalParseClassName:n}=t;let s=o=>{const l=[];let c=0,d=0,f=0,p;const y=o.length;for(let E=0;E<y;E++){const k=o[E];if(c===0&&d===0){if(k===sy){l.push(o.slice(f,E)),f=E+1;continue}if(k==="/"){p=E;continue}}k==="["?c++:k==="]"?c--:k==="("?d++:k===")"&&d--}const v=l.length===0?o:o.slice(f);let x=v,b=!1;v.endsWith(tf)?(x=v.slice(0,-1),b=!0):v.startsWith(tf)&&(x=v.slice(1),b=!0);const _=p&&p>f?p-f:void 0;return iy(l,b,x,_)};if(e){const o=e+sy,l=s;s=c=>c.startsWith(o)?l(c.slice(o.length)):iy(RE,!1,c,void 0,!0)}if(n){const o=s;s=l=>n({className:l,parseClassName:o})}return s},jE=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,s)=>{e.set(n,1e6+s)}),n=>{const s=[];let o=[];for(let l=0;l<n.length;l++){const c=n[l],d=c[0]==="[",f=e.has(c);d||f?(o.length>0&&(o.sort(),s.push(...o),o=[]),s.push(c)):o.push(c)}return o.length>0&&(o.sort(),s.push(...o)),s}},OE=t=>({cache:AE(t.cacheSize),parseClassName:NE(t),sortModifiers:jE(t),...wE(t)}),LE=/\s+/,DE=(t,e)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:o,sortModifiers:l}=e,c=[],d=t.trim().split(LE);let f="";for(let p=d.length-1;p>=0;p-=1){const y=d[p],{isExternal:v,modifiers:x,hasImportantModifier:b,baseClassName:_,maybePostfixModifierPosition:E}=n(y);if(v){f=y+(f.length>0?" "+f:f);continue}let k=!!E,S=s(k?_.substring(0,E):_);if(!S){if(!k){f=y+(f.length>0?" "+f:f);continue}if(S=s(_),!S){f=y+(f.length>0?" "+f:f);continue}k=!1}const N=x.length===0?"":x.length===1?x[0]:l(x).join(":"),T=b?N+tf:N,j=T+S;if(c.indexOf(j)>-1)continue;c.push(j);const F=o(S,k);for(let z=0;z<F.length;++z){const Y=F[z];c.push(T+Y)}f=y+(f.length>0?" "+f:f)}return f},ME=(...t)=>{let e=0,n,s,o="";for(;e<t.length;)(n=t[e++])&&(s=cx(n))&&(o&&(o+=" "),o+=s);return o},cx=t=>{if(typeof t=="string")return t;let e,n="";for(let s=0;s<t.length;s++)t[s]&&(e=cx(t[s]))&&(n&&(n+=" "),n+=e);return n},IE=(t,...e)=>{let n,s,o,l;const c=f=>{const p=e.reduce((y,v)=>v(y),t());return n=OE(p),s=n.cache.get,o=n.cache.set,l=d,d(f)},d=f=>{const p=s(f);if(p)return p;const y=DE(f,n);return o(f,y),y};return l=c,(...f)=>l(ME(...f))},FE=[],at=t=>{const e=n=>n[t]||FE;return e.isThemeGetter=!0,e},ux=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,dx=/^\((?:(\w[\w-]*):)?(.+)\)$/i,BE=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,UE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,VE=/\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$/,zE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,WE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Sr=t=>BE.test(t),Ee=t=>!!t&&!Number.isNaN(Number(t)),kr=t=>!!t&&Number.isInteger(Number(t)),Td=t=>t.endsWith("%")&&Ee(t.slice(0,-1)),Gn=t=>UE.test(t),fx=()=>!0,HE=t=>VE.test(t)&&!zE.test(t),Yf=()=>!1,qE=t=>$E.test(t),KE=t=>WE.test(t),GE=t=>!re(t)&&!se(t),QE=t=>Vr(t,mx,Yf),re=t=>ux.test(t),ns=t=>Vr(t,gx,HE),oy=t=>Vr(t,rC,Ee),YE=t=>Vr(t,vx,fx),XE=t=>Vr(t,yx,Yf),ay=t=>Vr(t,hx,Yf),JE=t=>Vr(t,px,KE),Tl=t=>Vr(t,xx,qE),se=t=>dx.test(t),wo=t=>As(t,gx),ZE=t=>As(t,yx),ly=t=>As(t,hx),eC=t=>As(t,mx),tC=t=>As(t,px),Pl=t=>As(t,xx,!0),nC=t=>As(t,vx,!0),Vr=(t,e,n)=>{const s=ux.exec(t);return s?s[1]?e(s[1]):n(s[2]):!1},As=(t,e,n=!1)=>{const s=dx.exec(t);return s?s[1]?e(s[1]):n:!1},hx=t=>t==="position"||t==="percentage",px=t=>t==="image"||t==="url",mx=t=>t==="length"||t==="size"||t==="bg-size",gx=t=>t==="length",rC=t=>t==="number",yx=t=>t==="family-name",vx=t=>t==="number"||t==="weight",xx=t=>t==="shadow",sC=()=>{const t=at("color"),e=at("font"),n=at("text"),s=at("font-weight"),o=at("tracking"),l=at("leading"),c=at("breakpoint"),d=at("container"),f=at("spacing"),p=at("radius"),y=at("shadow"),v=at("inset-shadow"),x=at("text-shadow"),b=at("drop-shadow"),_=at("blur"),E=at("perspective"),k=at("aspect"),S=at("ease"),N=at("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...j(),se,re],z=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto","contain","none"],U=()=>[se,re,f],Z=()=>[Sr,"full","auto",...U()],le=()=>[kr,"none","subgrid",se,re],Se=()=>["auto",{span:["full",kr,se,re]},kr,se,re],De=()=>[kr,"auto",se,re],ke=()=>["auto","min","max","fr",se,re],_e=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Be=()=>["start","end","center","stretch","center-safe","end-safe"],Ne=()=>["auto",...U()],he=()=>[Sr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],G=()=>[Sr,"screen","full","dvw","lvw","svw","min","max","fit",...U()],oe=()=>[Sr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...U()],V=()=>[t,se,re],L=()=>[...j(),ly,ay,{position:[se,re]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",eC,QE,{size:[se,re]}],ge=()=>[Td,wo,ns],de=()=>["","none","full",p,se,re],Q=()=>["",Ee,wo,ns],we=()=>["solid","dashed","dotted","double"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>[Ee,Td,ly,ay],lt=()=>["","none",_,se,re],Gt=()=>["none",Ee,se,re],pt=()=>["none",Ee,se,re],cn=()=>[Ee,se,re],Qt=()=>[Sr,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Gn],breakpoint:[Gn],color:[fx],container:[Gn],"drop-shadow":[Gn],ease:["in","out","in-out"],font:[GE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Gn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Gn],shadow:[Gn],spacing:["px",Ee],text:[Gn],"text-shadow":[Gn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Sr,re,se,k]}
vendor: 6,133 bytes, line 160
160],container:["container"],columns:[{columns:[Ee,re,se,d]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Z()}],"inset-x":[{"inset-x":Z()}],"inset-y":[{"inset-y":Z()}],start:[{"inset-s":Z(),start:Z()}],end:[{"inset-e":Z(),end:Z()}],"inset-bs":[{"inset-bs":Z()}],"inset-be":[{"inset-be":Z()}],top:[{top:Z()}],right:[{right:Z()}],bottom:[{bottom:Z()}],left:[{left:Z()}],visibility:["visible","invisible","collapse"],z:[{z:[kr,"auto",se,re]}],basis:[{basis:[Sr,"full","auto",d,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,Sr,"auto","initial","none",re]}],grow:[{grow:["",Ee,se,re]}],shrink:[{shrink:["",Ee,se,re]}],order:[{order:[kr,"first","last","none",se,re]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:Se()}],"col-start":[{"col-start":De()}],"col-end":[{"col-end":De()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:Se()}],"row-start":[{"row-start":De()}],"row-end":[{"row-end":De()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ke()}],"auto-rows":[{"auto-rows":ke()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[..._e(),"normal"]}],"justify-items":[{"justify-items":[...Be(),"normal"]}],"justify-self":[{"justify-self":["auto",...Be()]}],"align-content":[{content:["normal",..._e()]}],"align-items":[{items:[...Be(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Be(),{baseline:["","last"]}]}],"place-content":[{"place-content":_e()}],"place-items":[{"place-items":[...Be(),"baseline"]}],"place-self":[{"place-self":["auto",...Be()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pbs:[{pbs:U()}],pbe:[{pbe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:Ne()}],mx:[{mx:Ne()}],my:[{my:Ne()}],ms:[{ms:Ne()}],me:[{me:Ne()}],mbs:[{mbs:Ne()}],mbe:[{mbe:Ne()}],mt:[{mt:Ne()}],mr:[{mr:Ne()}],mb:[{mb:Ne()}],ml:[{ml:Ne()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:he()}],"inline-size":[{inline:["auto",...G()]}],"min-inline-size":[{"min-inline":["auto",...G()]}],"max-inline-size":[{"max-inline":["none",...G()]}],"block-size":[{block:["auto",...oe()]}],"min-block-size":[{"min-block":["auto",...oe()]}],"max-block-size":[{"max-block":["none",...oe()]}],w:[{w:[d,"screen",...he()]}],"min-w":[{"min-w":[d,"screen","none",...he()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...he()]}],h:[{h:["screen","lh",...he()]}],"min-h":[{"min-h":["screen","lh","none",...he()]}],"max-h":[{"max-h":["screen","lh",...he()]}],"font-size":[{text:["base",n,wo,ns]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,nC,YE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Td,re]}],"font-family":[{font:[ZE,XE,e]}],"font-features":[{"font-features":[re]}],"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:[o,se,re]}],"line-clamp":[{"line-clamp":[Ee,"none",se,oy]}],leading:[{leading:[l,...U()]}],"list-image":[{"list-image":["none",se,re]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",se,re]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ee,"from-font","auto",se,ns]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[Ee,"auto",se,re]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se,re]}],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",se,re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},kr,se,re],radial:["",se,re],conic:[kr,se,re]},tC,JE]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:ge()}
vendor: 6,831 bytes, line 160
160],"gradient-via-pos":[{via:ge()}],"gradient-to-pos":[{to:ge()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-bs":[{"border-bs":Q()}],"border-w-be":[{"border-be":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ee,se,re]}],"outline-w":[{outline:["",Ee,wo,ns]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",y,Pl,Tl]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",v,Pl,Tl]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[Ee,ns]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",x,Pl,Tl]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[Ee,se,re]}],"mix-blend":[{"mix-blend":[...Te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Te()}],"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":[Ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[se,re]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[Ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",se,re]}],filter:[{filter:["","none",se,re]}],blur:[{blur:lt()}],brightness:[{brightness:[Ee,se,re]}],contrast:[{contrast:[Ee,se,re]}],"drop-shadow":[{"drop-shadow":["","none",b,Pl,Tl]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",Ee,se,re]}],"hue-rotate":[{"hue-rotate":[Ee,se,re]}],invert:[{invert:["",Ee,se,re]}],saturate:[{saturate:[Ee,se,re]}],sepia:[{sepia:["",Ee,se,re]}],"backdrop-filter":[{"backdrop-filter":["","none",se,re]}],"backdrop-blur":[{"backdrop-blur":lt()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,se,re]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,se,re]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,se,re]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,se,re]}],"backdrop-invert":[{"backdrop-invert":["",Ee,se,re]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,se,re]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,se,re]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,se,re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",se,re]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ee,"initial",se,re]}],ease:[{ease:["linear","initial",S,se,re]}],delay:[{delay:[Ee,se,re]}],animate:[{animate:["none",N,se,re]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,se,re]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:Gt()}],"rotate-x":[{"rotate-x":Gt()}],"rotate-y":[{"rotate-y":Gt()}],"rotate-z":[{"rotate-z":Gt()}],scale:[{scale:pt()}],"scale-x":[{"scale-x":pt()}
vendor: 7,377 bytes, line 160
160],"scale-y":[{"scale-y":pt()}],"scale-z":[{"scale-z":pt()}],"scale-3d":["scale-3d"],skew:[{skew:cn()}],"skew-x":[{"skew-x":cn()}],"skew-y":[{"skew-y":cn()}],transform:[{transform:[se,re,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Qt()}],"translate-x":[{"translate-x":Qt()}],"translate-y":[{"translate-y":Qt()}],"translate-z":[{"translate-z":Qt()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"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",se,re]}],"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":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mbs":[{"scroll-mbs":U()}],"scroll-mbe":[{"scroll-mbe":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pbs":[{"scroll-pbs":U()}],"scroll-pbe":[{"scroll-pbe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"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",se,re]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[Ee,wo,ns,oy]}],stroke:[{stroke:["none",...V()]}],"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"]}},iC=IE(sC);function sa(...t){return iC(tx(t))}const wx=A.forwardRef(({...t},e)=>m.jsx("div",{ref:e,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]",...t}));wx.displayName="ToastProvider";const bx=A.forwardRef(({...t},e)=>m.jsx("div",{ref:e,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]",...t}));bx.displayName="ToastViewport";const oC=Ok("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"}}),Sx=A.forwardRef(({className:t,variant:e,...n},s)=>m.jsx("div",{ref:s,className:sa(oC({variant:e}),t),...n}));Sx.displayName="Toast";const aC=A.forwardRef(({className:t,...e},n)=>m.jsx("div",{ref:n,className:sa("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",t),...e}));aC.displayName="ToastAction";
160const kx=A.forwardRef(({className:t,...e},n)=>m.jsx("button",{ref:n,className:sa("absolute right-2 top-2 rounded-md p-1 text-foreground/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",t),"toast-close":"",...e,children:m.jsx(pc,{className:"h-4 w-4"})}));kx.displayName="ToastClose";const Ex=A.forwardRef(({className:t,...e},n)=>m.jsx("div",{ref:n,className:sa("text-sm font-semibold",t),...e}));Ex.displayName="ToastTitle";const Cx=A.forwardRef(({className:t,...e},n)=>m.jsx("div",{ref:n,className:sa("text-sm opacity-90",t),...e}));Cx.displayName="ToastDescription";function lC(){const{toasts:t}=jk();return m.jsxs(wx,{children:[t.map(function({id:e,title:n,description:s,action:o,...l}){return m.jsxs(Sx,{...l,children:[m.jsxs("div",{className:"grid gap-1",children:[n&&m.jsx(Ex,{children:n}),s&&m.jsx(Cx,{children:s})]}),o,m.jsx(kx,{})]},e)}),m.jsx(bx,{})]})}var ia=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},cC={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Pr,Kf,V0,uC=(V0=class{constructor(){fe(this,Pr,cC);fe(this,Kf,!1)}setTimeoutProvider(t){ee(this,Pr,t)}setTimeout(t,e){return R(this,Pr).setTimeout(t,e)}clearTimeout(t){R(this,Pr).clearTimeout(t)}setInterval(t,e){return R(this,Pr).setInterval(t,e)}clearInterval(t){R(this,Pr).clearInterval(t)}},Pr=new WeakMap,Kf=new WeakMap,V0),ls=new uC;function dC(t){setTimeout(t,0)}var Cs=typeof window>"u"||"Deno"in globalThis;function Vt(){}function fC(t,e){return typeof t=="function"?t(e):t}function nf(t){return typeof t=="number"&&t>=0&&t!==1/0}function _x(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Ir(t,e){return typeof t=="function"?t(e):t}function an(t,e){return typeof t=="function"?t(e):t}function cy(t,e){const{type:n="all",exact:s,fetchStatus:o,predicate:l,queryKey:c,stale:d}=t;if(c){if(s){if(e.queryHash!==Xf(c,e.options))return!1}else if(!Ho(e.queryKey,c))return!1}if(n!=="all"){const f=e.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof d=="boolean"&&e.isStale()!==d||o&&o!==e.state.fetchStatus||l&&!l(e))}function uy(t,e){const{exact:n,status:s,predicate:o,mutationKey:l}=t;if(l){if(!e.options.mutationKey)return!1;if(n){if(Wo(e.options.mutationKey)!==Wo(l))return!1}else if(!Ho(e.options.mutationKey,l))return!1}return!(s&&e.state.status!==s||o&&!o(e))}function Xf(t,e){return((e==null?void 0:e.queryKeyHashFn)||Wo)(t)}function Wo(t){return JSON.stringify(t,(e,n)=>sf(n)?Object.keys(n).sort().reduce((s,o)=>(s[o]=n[o],s),{}):n)}function Ho(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Ho(t[n],e[n])):!1}var hC=Object.prototype.hasOwnProperty;function Tx(t,e,n=0){if(t===e)return t;if(n>500)return e;const s=dy(t)&&dy(e);if(!s&&!(sf(t)&&sf(e)))return e;const l=(s?t:Object.keys(t)).length,c=s?e:Object.keys(e),d=c.length,f=s?new Array(d):{};let p=0;for(let y=0;y<d;y++){const v=s?y:c[y],x=t[v],b=e[v];if(x===b){f[v]=x,(s?y<l:hC.call(t,v))&&p++;continue}if(x===null||b===null||typeof x!="object"||typeof b!="object"){f[v]=b;continue}const _=Tx(x,b,n+1);f[v]=_,_===x&&p++}return l===d&&p===l?t:f}function rf(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function dy(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function sf(t){if(!fy(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!fy(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function fy(t){return Object.prototype.toString.call(t)==="[object Object]"}function pC(t){return new Promise(e=>{ls.setTimeout(e,t)})}function of(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Tx(t,e):e}function mC(t,e,n=0){const s=[...t,e];return n&&s.length>n?s.slice(1):s}function gC(t,e,n=0){const s=[e,...t];return n&&s.length>n?s.slice(0,-1):s}var Jf=Symbol();function Px(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===Jf?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Ax(t,e){return typeof t=="function"?t(...e):!!t}function yC(t,e,n){let s=!1,o;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(o??(o=e()),s||(s=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),t}var fs,Ar,ui,z0,vC=(z0=class extends ia{constructor(){super();fe(this,fs);fe(this,Ar);fe(this,ui);ee(this,ui,e=>{if(!Cs&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Ar)||this.setEventListener(R(this,ui))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Ar))==null||e.call(this),ee(this,Ar,void 0))}setEventListener(e){var n;ee(this,ui,e),(n=R(this,Ar))==null||n.call(this),ee(this,Ar,e(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(e){R(this,fs)!==e&&(ee(this,fs,e),this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 3,024 bytes, line 160
160this.listeners.forEach(n=>{n(e)})}isFocused(){var e;return typeof R(this,fs)=="boolean"?R(this,fs):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},fs=new WeakMap,Ar=new WeakMap,ui=new WeakMap,z0),Zf=new vC;function af(){let t,e;const n=new Promise((o,l)=>{t=o,e=l});n.status="pending",n.catch(()=>{});function s(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{s({status:"fulfilled",value:o}),t(o)},n.reject=o=>{s({status:"rejected",reason:o}),e(o)},n}var xC=dC;function wC(){let t=[],e=0,n=d=>{d()},s=d=>{d()},o=xC;const l=d=>{e?t.push(d):o(()=>{n(d)})},c=()=>{const d=t;t=[],d.length&&o(()=>{s(()=>{d.forEach(f=>{n(f)})})})};return{batch:d=>{let f;e++;try{f=d()}finally{e--,e||c()}return f},batchCalls:d=>(...f)=>{l(()=>{d(...f)})},schedule:l,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{s=d},setScheduler:d=>{o=d}}}var xt=wC(),di,Rr,fi,$0,bC=($0=class extends ia{constructor(){super();fe(this,di,!0);fe(this,Rr);fe(this,fi);ee(this,fi,e=>{if(!Cs&&window.addEventListener){const n=()=>e(!0),s=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){R(this,Rr)||this.setEventListener(R(this,fi))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Rr))==null||e.call(this),ee(this,Rr,void 0))}setEventListener(e){var n;ee(this,fi,e),(n=R(this,Rr))==null||n.call(this),ee(this,Rr,e(this.setOnline.bind(this)))}setOnline(e){R(this,di)!==e&&(ee(this,di,e),this.listeners.forEach(s=>{s(e)}))}isOnline(){return R(this,di)}},di=new WeakMap,Rr=new WeakMap,fi=new WeakMap,$0),tc=new bC;function SC(t){return Math.min(1e3*2**t,3e4)}function Rx(t){return(t??"online")==="online"?tc.isOnline():!0}var lf=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Nx(t){let e=!1,n=0,s;const o=af(),l=()=>o.status!=="pending",c=E=>{var k;if(!l()){const S=new lf(E);x(S),(k=t.onCancel)==null||k.call(t,S)}},d=()=>{e=!0},f=()=>{e=!1},p=()=>Zf.isFocused()&&(t.networkMode==="always"||tc.isOnline())&&t.canRun(),y=()=>Rx(t.networkMode)&&t.canRun(),v=E=>{l()||(s==null||s(),o.resolve(E))},x=E=>{l()||(s==null||s(),o.reject(E))},b=()=>new Promise(E=>{var k;s=S=>{(l()||p())&&E(S)},(k=t.onPause)==null||k.call(t)}).then(()=>{var E;s=void 0,l()||(E=t.onContinue)==null||E.call(t)}),_=()=>{if(l())return;let E;const k=n===0?t.initialPromise:void 0;try{E=k??t.fn()}catch(S){E=Promise.reject(S)}Promise.resolve(E).then(v).catch(S=>{var z;if(l())return;const N=t.retry??(Cs?0:3),T=t.retryDelay??SC,j=typeof T=="function"?T(n,S):T,F=N===!0||typeof N=="number"&&n<N||typeof N=="function"&&N(n,S);if(e||!F){x(S);return}n++,(z=t.onFail)==null||z.call(t,n,S),pC(j).then(()=>p()?void 0:b()).then(()=>{e?x(S):_()})})};return{promise:o,status:()=>o.status,cancel:c,continue:()=>(s==null||s(),o),cancelRetry:d,continueRetry:f,canStart:y,start:()=>(y()?_():b().then(_),o)}}
160var hs,W0,jx=(W0=class{constructor(){fe(this,hs)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),nf(this.gcTime)&&ee(this,hs,ls.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Cs?1/0:300*1e3))}clearGcTimeout(){R(this,hs)&&(ls.clearTimeout(R(this,hs)),ee(this,hs,void 0))}},hs=new WeakMap,W0),ps,hi,on,ms,ft,Zo,gs,wn,Qn,H0,kC=(H0=class extends jx{constructor(e){super();fe(this,wn);fe(this,ps);fe(this,hi);fe(this,on);fe(this,ms);fe(this,ft);fe(this,Zo);fe(this,gs);ee(this,gs,!1),ee(this,Zo,e.defaultOptions),this.setOptions(e.options),this.observers=[],ee(this,ms,e.client),ee(this,on,R(this,ms).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,ee(this,ps,py(this.options)),this.state=e.state??R(this,ps),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=R(this,ft))==null?void 0:e.promise}setOptions(e){if(this.options={...R(this,Zo),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=py(this.options);n.data!==void 0&&(this.setState(hy(n.data,n.dataUpdatedAt)),ee(this,ps,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,on).remove(this)}setData(e,n){const s=of(this.state.data,e,this.options);return Pe(this,wn,Qn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(e,n){Pe(this,wn,Qn).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){var s,o;const n=(s=R(this,ft))==null?void 0:s.promise;return(o=R(this,ft))==null||o.cancel(e),n?n.then(Vt).catch(Vt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,ps))}isActive(){return this.observers.some(e=>an(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Jf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ir(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!_x(this.state.dataUpdatedAt,e)}onFocus(){var n;const e=this.observers.find(s=>s.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(n=R(this,ft))==null||n.continue()}onOnline(){var n;const e=this.observers.find(s=>s.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(n=R(this,ft))==null||n.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),R(this,on).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(R(this,ft)&&(R(this,gs)?R(this,ft).cancel({revert:!0}):R(this,ft).cancelRetry()),this.scheduleGc()),R(this,on).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,wn,Qn).call(this,{type:"invalidate"})}async fetch(e,n){var f,p,y,v,x,b,_,E,k,S,N,T;if(this.state.fetchStatus!=="idle"&&((f=R(this,ft))==null?void 0:f.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,ft))return R(this,ft).continueRetry(),R(this,ft).promise}if(e&&this.setOptions(e),!this.options.queryFn){const j=this.observers.find(F=>F.options.queryFn);j&&this.setOptions(j.options)}const s=new AbortController,o=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(ee(this,gs,!0),s.signal)})},l=()=>{const j=Px(this.options,n),z=(()=>{const Y={client:R(this,ms),queryKey:this.queryKey,meta:this.meta};return o(Y),Y})();return ee(this,gs,!1),this.options.persister?this.options.persister(j,z,this):j(z)},d=(()=>{const j={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,ms),state:this.state,fetchFn:l};return o(j),j})();(p=this.options.behavior)==null||p.onFetch(d,this),ee(this,hi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=d.fetchOptions)==null?void 0:y.meta))&&Pe(this,wn,Qn).call(this,{type:"fetch",meta:(v=d.fetchOptions)==null?void 0:v.meta}),ee(this,ft,Nx({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:j=>{j instanceof lf&&j.revert&&this.setState({...R(this,hi),fetchStatus:"idle"}),s.abort()},onFail:(j,F)=>{Pe(this,wn,Qn).call(this,{type:"failed",failureCount:j,error:F})},onPause:()=>{Pe(this,wn,Qn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,wn,Qn).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const j=await R(this,ft).start();if(j===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(j),(b=(x=R(this,on).config).onSuccess)==null||b.call(x,j,this),(E=(_=R(this,on).config).onSettled)==null||E.call(_,j,this.state.error,this),j}catch(j){if(j instanceof lf){if(j.silent)return R(this,ft).promise;if(j.revert){if(this.state.data===void 0)throw j;return this.state.data}}throw Pe(this,wn,Qn).call(this,{type:"error",error:j}),(S=(k=R(this,on).config).onError)==null||S.call(k,j,this),(T=(N=R(this,on).config).onSettled)==null||T.call(N,this.state.data,j,this),j}finally{this.scheduleGc()}}},ps=new WeakMap,hi=new WeakMap,on=new WeakMap,ms=new WeakMap,ft=new WeakMap,Zo=new WeakMap,gs=new WeakMap,wn=new WeakSet,Qn=function(e){const n=s=>{switch(e.type){case"failed":return{...s,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...Ox(s.data,this.options),fetchMeta:e.meta??null};case"success":const o={...s,...hy(e.data,e.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ee(this,hi,e.manual?o:void 0),o;case"error":const l=e.error;
vendor: 12,937 bytes, line 160
160return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...e.state}}};this.state=n(this.state),xt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),R(this,on).notify({query:this,type:"updated",action:e})})},H0);function Ox(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Rx(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function hy(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function py(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,s=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ut,Ae,ea,jt,ys,pi,Yn,Nr,ta,mi,gi,vs,xs,jr,yi,Ie,To,cf,uf,df,ff,hf,pf,mf,Lx,q0,EC=(q0=class extends ia{constructor(e,n){super();fe(this,Ie);fe(this,Ut);fe(this,Ae);fe(this,ea);fe(this,jt);fe(this,ys);fe(this,pi);fe(this,Yn);fe(this,Nr);fe(this,ta);fe(this,mi);fe(this,gi);fe(this,vs);fe(this,xs);fe(this,jr);fe(this,yi,new Set);this.options=n,ee(this,Ut,e),ee(this,Nr,null),ee(this,Yn,af()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Ae).addObserver(this),my(R(this,Ae),this.options)?Pe(this,Ie,To).call(this):this.updateResult(),Pe(this,Ie,ff).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return gf(R(this,Ae),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return gf(R(this,Ae),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Ie,hf).call(this),Pe(this,Ie,pf).call(this),R(this,Ae).removeObserver(this)}setOptions(e){const n=this.options,s=R(this,Ae);if(this.options=R(this,Ut).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof an(this.options.enabled,R(this,Ae))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Pe(this,Ie,mf).call(this),R(this,Ae).setOptions(this.options),n._defaulted&&!rf(this.options,n)&&R(this,Ut).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Ae),observer:this});const o=this.hasListeners();o&&gy(R(this,Ae),s,this.options,n)&&Pe(this,Ie,To).call(this),this.updateResult(),o&&(R(this,Ae)!==s||an(this.options.enabled,R(this,Ae))!==an(n.enabled,R(this,Ae))||Ir(this.options.staleTime,R(this,Ae))!==Ir(n.staleTime,R(this,Ae)))&&Pe(this,Ie,cf).call(this);const l=Pe(this,Ie,uf).call(this);o&&(R(this,Ae)!==s||an(this.options.enabled,R(this,Ae))!==an(n.enabled,R(this,Ae))||l!==R(this,jr))&&Pe(this,Ie,df).call(this,l)}getOptimisticResult(e){const n=R(this,Ut).getQueryCache().build(R(this,Ut),e),s=this.createResult(n,e);return _C(this,s)&&(ee(this,jt,s),ee(this,pi,this.options),ee(this,ys,R(this,Ae).state)),s}getCurrentResult(){return R(this,jt)}trackResult(e,n){return new Proxy(e,{get:(s,o)=>(this.trackProp(o),n==null||n(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&R(this,Yn).status==="pending"&&R(this,Yn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,o))})}trackProp(e){R(this,yi).add(e)}getCurrentQuery(){return R(this,Ae)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const n=R(this,Ut).defaultQueryOptions(e),s=R(this,Ut).getQueryCache().build(R(this,Ut),n);return s.fetch().then(()=>this.createResult(s,n))}fetch(e){return Pe(this,Ie,To).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,jt)))}createResult(e,n){var Z;const s=R(this,Ae),o=this.options,l=R(this,jt),c=R(this,ys),d=R(this,pi),p=e!==s?e.state:R(this,ea),{state:y}=e;let v={...y},x=!1,b;if(n._optimisticResults){const le=this.hasListeners(),Se=!le&&my(e,n),De=le&&gy(e,s,n,o);(Se||De)&&(v={...v,...Ox(y.data,e.options)}),n._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:_,errorUpdatedAt:E,status:k}=v;b=v.data;let S=!1;if(n.placeholderData!==void 0&&b===void 0&&k==="pending"){let le;l!=null&&l.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(le=l.data,S=!0):le=typeof n.placeholderData=="function"?n.placeholderData((Z=R(this,gi))==null?void 0:Z.state.data,R(this,gi)):n.placeholderData,le!==void 0&&(k="success",b=of(l==null?void 0:l.data,le,n),x=!0)}if(n.select&&b!==void 0&&!S)if(l&&b===(c==null?void 0:c.data)&&n.select===R(this,ta))b=R(this,mi);else try{ee(this,ta,n.select),b=n.select(b),b=of(l==null?void 0:l.data,b,n),ee(this,mi,b),ee(this,Nr,null)}catch(le){ee(this,Nr,le)}R(this,Nr)&&(_=R(this,Nr),b=R(this,mi),E=Date.now(),k="error");const N=v.fetchStatus==="fetching",T=k==="pending",j=k==="error",F=T&&N,z=b!==void 0,U={status:k,fetchStatus:v.fetchStatus,isPending:T,isSuccess:k==="success",isError:j,isInitialLoading:F,isLoading:F,data:b,dataUpdatedAt:v.dataUpdatedAt,error:_,errorUpdatedAt:E,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>p.dataUpdateCount||v.errorUpdateCount>p.errorUpdateCount,isFetching:N,isRefetching:N&&!T,isLoadingError:j&&!z,isPaused:v.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:j&&z,isStale:eh(e,n),refetch:this.refetch,promise:R(this,Yn),isEnabled:an(n.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const le=U.data!==void 0,Se=U.status==="error"&&!le,De=Be=>{Se?Be.reject(U.error):le&&Be.resolve(U.data)},ke=()=>{const Be=ee(this,Yn,U.promise=af());De(Be)},_e=R(this,Yn);switch(_e.status){case"pending":e.queryHash===s.queryHash&&De(_e);break;case"fulfilled":(Se||U.data!==_e.value)&&ke();break;case"rejected":(!Se||U.error!==_e.reason)&&ke();break}}return U}updateResult(){const e=R(this,jt),n=this.createResult(R(this,Ae),this.options);if(ee(this,ys,R(this,Ae).state),ee(this,pi,this.options),R(this,ys).data!==void 0&&ee(this,gi,R(this,Ae)),rf(n,e))return;ee(this,jt,n);const s=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,l=typeof o=="function"?o():o;if(l==="all"||!l&&!R(this,yi).size)return!0;const c=new Set(l??R(this,yi));return this.options.throwOnError&&c.add("error"),Object.keys(R(this,jt)).some(d=>{const f=d;return R(this,jt)[f]!==e[f]&&c.has(f)})};Pe(this,Ie,Lx).call(this,{listeners:s()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Ie,ff).call(this)}},Ut=new WeakMap,Ae=new WeakMap,ea=new WeakMap,jt=new WeakMap,ys=new WeakMap,pi=new WeakMap,Yn=new WeakMap,Nr=new WeakMap,ta=new WeakMap,mi=new WeakMap,gi=new WeakMap,vs=new WeakMap,xs=new WeakMap,jr=new WeakMap,yi=new WeakMap,Ie=new WeakSet,To=function(e){Pe(this,Ie,mf).call(this);let n=R(this,Ae).fetch(this.options,e);return e!=null&&e.throwOnError||(n=n.catch(Vt)),n},cf=function(){Pe(this,Ie,hf).call(this);const e=Ir(this.options.staleTime,R(this,Ae));if(Cs||R(this,jt).isStale||!nf(e))return;const s=_x(R(this,jt).dataUpdatedAt,e)+1;ee(this,vs,ls.setTimeout(()=>{R(this,jt).isStale||this.updateResult()},s))},uf=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Ae)):this.options.refetchInterval)??!1},df=function(e){Pe(this,Ie,pf).call(this),ee(this,jr,e),!(Cs||an(this.options.enabled,R(this,Ae))===!1||!nf(R(this,jr))||R(this,jr)===0)&&ee(this,xs,ls.setInterval(()=>{(this.options.refetchIntervalInBackground||Zf.isFocused())&&Pe(this,Ie,To).call(this)},R(this,jr)))},ff=function(){Pe(this,Ie,cf).call(this),Pe(this,Ie,df).call(this,Pe(this,Ie,uf).call(this))},hf=function(){R(this,vs)&&(ls.clearTimeout(R(this,vs)),ee(this,vs,void 0))},pf=function(){R(this,xs)&&(ls.clearInterval(R(this,xs)),ee(this,xs,void 0))},mf=function(){const e=R(this,Ut).getQueryCache().build(R(this,Ut),this.options);if(e===R(this,Ae))return;const n=R(this,Ae);ee(this,Ae,e),ee(this,ea,e.state),this.hasListeners()&&(n==null||n.removeObserver(this),e.addObserver(this))},Lx=function(e){xt.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(R(this,jt))}),R(this,Ut).getQueryCache().notify({query:R(this,Ae),type:"observerResultsUpdated"})})},q0);function CC(t,e){return an(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function my(t,e){return CC(t,e)||t.state.data!==void 0&&gf(t,e,e.refetchOnMount)}function gf(t,e,n){if(an(e.enabled,t)!==!1&&Ir(e.staleTime,t)!=="static"){const s=typeof n=="function"?n(t):n;return s==="always"||s!==!1&&eh(t,e)}return!1}function gy(t,e,n,s){return(t!==e||an(s.enabled,t)===!1)&&(!n.suspense||t.state.status!=="error")&&eh(t,n)}function eh(t,e){return an(e.enabled,t)!==!1&&t.isStaleByTime(Ir(e.staleTime,t))}function _C(t,e){return!rf(t.getCurrentResult(),e)}function yy(t){return{onFetch:(e,n)=>{var y,v,x,b,_;const s=e.options,o=(x=(v=(y=e.fetchOptions)==null?void 0:y.meta)==null?void 0:v.fetchMore)==null?void 0:x.direction,l=((b=e.state.data)==null?void 0:b.pages)||[],c=((_=e.state.data)==null?void 0:_.pageParams)||[];let d={pages:[],pageParams:[]},f=0;const p=async()=>{let E=!1;const k=T=>{yC(T,()=>e.signal,()=>E=!0)},S=Px(e.options,e.fetchOptions),N=async(T,j,F)=>{if(E)return Promise.reject();if(j==null&&T.pages.length)return Promise.resolve(T);const Y=(()=>{const Se={client:e.client,queryKey:e.queryKey,pageParam:j,direction:F?"backward":"forward",meta:e.options.meta};return k(Se),Se})(),U=await S(Y),{maxPages:Z}=e.options,le=F?gC:mC;return{pages:le(T.pages,U,Z),pageParams:le(T.pageParams,j,Z)}};if(o&&l.length){const T=o==="backward",j=T?TC:vy,F={pages:l,pageParams:c},z=j(s,F);d=await N(F,z,T)}else{const T=t??l.length;do{const j=f===0?c[0]??s.initialPageParam:vy(s,d);if(f>0&&j==null)break;d=await N(d,j),f++}while(f<T)}return d};e.options.persister?e.fetchFn=()=>{var E,k;return(k=(E=e.options).persister)==null?void 0:k.call(E,p,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=p}}}function vy(t,{pages:e,pageParams:n}){const s=e.length-1;return e.length>0?t.getNextPageParam(e[s],e,n[s],n):void 0}function TC(t,{pages:e,pageParams:n}){var s;return e.length>0?(s=t.getPreviousPageParam)==null?void 0:s.call(t,e[0],e,n[0],n):void 0}var na,Rn,_t,ws,Nn,Cr,K0,PC=(K0=class extends jx{constructor(e){super();fe(this,Nn);fe(this,na);fe(this,Rn);fe(this,_t);fe(this,ws);ee(this,na,e.client),this.mutationId=e.mutationId,ee(this,_t,e.mutationCache),ee(this,Rn,[]),this.state=e.state||AC(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){R(this,Rn).includes(e)||(R(this,Rn).push(e),this.clearGcTimeout(),R(this,_t).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){ee(this,Rn,R(this,Rn).filter(n=>n!==e)),this.scheduleGc(),R(this,_t).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){R(this,Rn).length||(this.state.status==="pending"?this.scheduleGc():R(this,_t).remove(this))}continue(){var e;return((e=R(this,ws))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var c,d,f,p,y,v,x,b,_,E,k,S,N,T,j,F,z,Y;const n=()=>{Pe(this,Nn,Cr).call(this,{type:"continue"})},s={client:R(this,na),meta:this.options.meta,mutationKey:this.options.mutationKey};ee(this,ws,Nx({fn:()=>this.options.mutationFn?this.options.mutationFn(e,s):Promise.reject(new Error("No mutationFn found")),onFail:(U,Z)=>{Pe(this,Nn,Cr).call(this,{type:"failed",failureCount:U,error:Z})},onPause:()=>{Pe(this,Nn,Cr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,_t).canRun(this)}));const o=this.state.status==="pending",l=!R(this,ws).canStart();try{if(o)n();else{Pe(this,Nn,Cr).call(this,{type:"pending",variables:e,isPaused:l}),R(this,_t).config.onMutate&&await R(this,_t).config.onMutate(e,this,s);const Z=await((d=(c=this.options).onMutate)==null?void 0:d.call(c,e,s));Z!==this.state.context&&Pe(this,Nn,Cr).call(this,{type:"pending",context:Z,variables:e,isPaused:l})}const U=await R(this,ws).start();return await((p=(f=R(this,_t).config).onSuccess)==null?void 0:p.call(f,U,e,this.state.context,this,s)),await((v=(y=this.options).onSuccess)==null?void 0:v.call(y,U,e,this.state.context,s)),await((b=(x=R(this,_t).config).onSettled)==null?void 0:b.call(x,U,null,this.state.variables,this.state.context,this,s)),await((E=(_=this.options).onSettled)==null?void 0:E.
160call(_,U,null,e,this.state.context,s)),Pe(this,Nn,Cr).call(this,{type:"success",data:U}),U}catch(U){try{await((S=(k=R(this,_t).config).onError)==null?void 0:S.call(k,U,e,this.state.context,this,s))}catch(Z){Promise.reject(Z)}try{await((T=(N=this.options).onError)==null?void 0:T.call(N,U,e,this.state.context,s))}catch(Z){Promise.reject(Z)}try{await((F=(j=R(this,_t).config).onSettled)==null?void 0:F.call(j,void 0,U,this.state.variables,this.state.context,this,s))}catch(Z){Promise.reject(Z)}try{await((Y=(z=this.options).onSettled)==null?void 0:Y.call(z,void 0,U,e,this.state.context,s))}catch(Z){Promise.reject(Z)}throw Pe(this,Nn,Cr).call(this,{type:"error",error:U}),U}finally{R(this,_t).runNext(this)}}},na=new WeakMap,Rn=new WeakMap,_t=new WeakMap,ws=new WeakMap,Nn=new WeakSet,Cr=function(e){const n=s=>{switch(e.type){case"failed":return{...s,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...s,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:e.error,failureCount:s.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xt.batch(()=>{R(this,Rn).forEach(s=>{s.onMutationUpdate(e)}),R(this,_t).notify({mutation:this,type:"updated",action:e})})},K0);function AC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Xn,bn,ra,G0,RC=(G0=class extends ia{constructor(e={}){super();fe(this,Xn);fe(this,bn);fe(this,ra);this.config=e,ee(this,Xn,new Set),ee(this,bn,new Map),ee(this,ra,0)}build(e,n,s){const o=new PC({client:e,mutationCache:this,mutationId:++Cl(this,ra)._,options:e.defaultMutationOptions(n),state:s});return this.add(o),o}add(e){R(this,Xn).add(e);const n=Al(e);if(typeof n=="string"){const s=R(this,bn).get(n);s?s.push(e):R(this,bn).set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(R(this,Xn).delete(e)){const n=Al(e);if(typeof n=="string"){const s=R(this,bn).get(n);if(s)if(s.length>1){const o=s.indexOf(e);o!==-1&&s.splice(o,1)}else s[0]===e&&R(this,bn).delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=Al(e);if(typeof n=="string"){const s=R(this,bn).get(n),o=s==null?void 0:s.find(l=>l.state.status==="pending");return!o||o===e}else return!0}runNext(e){var s;const n=Al(e);if(typeof n=="string"){const o=(s=R(this,bn).get(n))==null?void 0:s.find(l=>
vendor: 7,127 bytes, line 160
160l!==e&&l.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){xt.batch(()=>{R(this,Xn).forEach(e=>{this.notify({type:"removed",mutation:e})}),R(this,Xn).clear(),R(this,bn).clear()})}getAll(){return Array.from(R(this,Xn))}find(e){const n={exact:!0,...e};return this.getAll().find(s=>uy(n,s))}findAll(e={}){return this.getAll().filter(n=>uy(e,n))}notify(e){xt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return xt.batch(()=>Promise.all(e.map(n=>n.continue().catch(Vt))))}},Xn=new WeakMap,bn=new WeakMap,ra=new WeakMap,G0);function Al(t){var e;return(e=t.options.scope)==null?void 0:e.id}var jn,Q0,NC=(Q0=class extends ia{constructor(e={}){super();fe(this,jn);this.config=e,ee(this,jn,new Map)}build(e,n,s){const o=n.queryKey,l=n.queryHash??Xf(o,n);let c=this.get(l);return c||(c=new kC({client:e,queryKey:o,queryHash:l,options:e.defaultQueryOptions(n),state:s,defaultOptions:e.getQueryDefaults(o)}),this.add(c)),c}add(e){R(this,jn).has(e.queryHash)||(R(this,jn).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=R(this,jn).get(e.queryHash);n&&(e.destroy(),n===e&&R(this,jn).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){xt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return R(this,jn).get(e)}getAll(){return[...R(this,jn).values()]}find(e){const n={exact:!0,...e};return this.getAll().find(s=>cy(n,s))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(s=>cy(e,s)):n}notify(e){xt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){xt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){xt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},jn=new WeakMap,Q0),Qe,Or,Lr,vi,xi,Dr,wi,bi,Y0,jC=(Y0=class{constructor(t={}){fe(this,Qe);fe(this,Or);fe(this,Lr);fe(this,vi);fe(this,xi);fe(this,Dr);fe(this,wi);fe(this,bi);ee(this,Qe,t.queryCache||new NC),ee(this,Or,t.mutationCache||new RC),ee(this,Lr,t.defaultOptions||{}),ee(this,vi,new Map),ee(this,xi,new Map),ee(this,Dr,0)}mount(){Cl(this,Dr)._++,R(this,Dr)===1&&(ee(this,wi,Zf.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,Qe).onFocus())})),ee(this,bi,tc.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,Qe).onOnline())})))}unmount(){var t,e;Cl(this,Dr)._--,R(this,Dr)===0&&((t=R(this,wi))==null||t.call(this),ee(this,wi,void 0),(e=R(this,bi))==null||e.call(this),ee(this,bi,void 0))}isFetching(t){return R(this,Qe).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return R(this,Or).findAll({...t,status:"pending"}).length}getQueryData(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=R(this,Qe).get(e.queryHash))==null?void 0:n.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=R(this,Qe).build(this,e),s=n.state.data;return s===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(Ir(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(s))}getQueriesData(t){return R(this,Qe).findAll(t).map(({queryKey:e,state:n})=>{const s=n.data;return[e,s]})}setQueryData(t,e,n){const s=this.defaultQueryOptions({queryKey:t}),o=R(this,Qe).get(s.queryHash),l=o==null?void 0:o.state.data,c=fC(e,l);if(c!==void 0)return R(this,Qe).build(this,s).setData(c,{...n,manual:!0})}setQueriesData(t,e,n){return xt.batch(()=>R(this,Qe).findAll(t).map(({queryKey:s})=>[s,this.setQueryData(s,e,n)]))}getQueryState(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=R(this,Qe).get(e.queryHash))==null?void 0:n.state}removeQueries(t){const e=R(this,Qe);xt.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=R(this,Qe);return xt.batch(()=>(n.findAll(t).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},s=xt.batch(()=>R(this,Qe).findAll(t).map(o=>o.cancel(n)));return Promise.all(s).then(Vt).catch(Vt)}invalidateQueries(t,e={}){return xt.batch(()=>(R(this,Qe).findAll(t).forEach(n=>{n.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},s=xt.batch(()=>R(this,Qe).findAll(t).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let l=o.fetch(void 0,n);return n.throwOnError||(l=l.catch(Vt)),o.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(s).then(Vt)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=R(this,Qe).build(this,e);return n.isStaleByTime(Ir(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Vt).catch(Vt)}fetchInfiniteQuery(t){return t.behavior=yy(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Vt).catch(Vt)}ensureInfiniteQueryData(t){return t.behavior=yy(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return tc.isOnline()?R(this,Or).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,Qe)}getMutationCache(){return R(this,Or)}getDefaultOptions(){return R(this,Lr)}setDefaultOptions(t){ee(this,Lr,t)}setQueryDefaults(t,e){R(this,vi).set(Wo(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...R(this,vi).values()],n={};return e.forEach(s=>{Ho(t,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(t,e){R(this,xi).set(Wo(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...R(this,xi).values()],n={};return e.forEach(s=>{Ho(t,s.mutationKey)&&Object.assign(n,s.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...R(this,Lr).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Xf(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Jf&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...R(this,Lr).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){R(this,Qe).clear(),R(this,Or).clear()}},Qe=new WeakMap,Or=new WeakMap,Lr=new WeakMap,vi=new WeakMap,xi=new WeakMap,Dr=new WeakMap,wi=new WeakMap,bi=new WeakMap,Y0),Dx=A.createContext(void 0),OC=t=>{const e=A.useContext(Dx);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},LC=({client:t,children:e})=>(A.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),m.jsx(Dx.Provider,{value:t,children:e})),Mx=A.createContext(!1),DC=()=>A.useContext(Mx);Mx.Provider;function MC(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var IC=A.createContext(MC()),FC=()=>A.useContext(IC),BC=(t,e,n)=>{const s=n!=null&&n.state.error&&typeof t.throwOnError=="function"?Ax(t.throwOnError,[n.state.error,n]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||s)&&(e.isReset()||(t.retryOn
160Mount=!1))},UC=t=>{A.useEffect(()=>{t.clearReset()},[t])},VC=({result:t,errorResetBoundary:e,throwOnError:n,query:s,suspense:o})=>t.isError&&!e.isReset()&&!t.isFetching&&s&&(o&&t.data===void 0||Ax(n,[t.error,s])),zC=t=>{if(t.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),s=t.staleTime;t.staleTime=typeof s=="function"?(...o)=>n(s(...o)):n(s),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},$C=(t,e)=>t.isLoading&&t.isFetching&&!e,WC=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,xy=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function HC(t,e,n){var x,b,_,E;const s=DC(),o=FC(),l=OC(),c=l.defaultQueryOptions(t);(b=(x=l.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||b.call(x,c);const d=l.getQueryCache().get(c.queryHash);c._optimisticResults=s?"isRestoring":"optimistic",zC(c),BC(c,o,d),UC(o);const f=!l.getQueryCache().get(c.queryHash),[p]=A.useState(()=>new e(l,c)),y=p.getOptimisticResult(c),v=!s&&t.subscribed!==!1;if(A.useSyncExternalStore(A.useCallback(k=>{const S=v?p.subscribe(xt.batchCalls(k)):Vt;return p.updateResult(),S},[p,v]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),A.useEffect(()=>{p.setOptions(c)},[c,p]),WC(c,y))throw xy(c,p,o);if(VC({result:y,errorResetBoundary:o,throwOnError:c.throwOnError,query:d,suspense:c.suspense}))throw y.error;if((E=(_=l.getDefaultOptions().queries)==null?void 0:_._experimental_afterQuery)==null||E.call(_,c,y),c.experimental_prefetchInRender&&!Cs&&$C(y,s)){const k=f?xy(c,p,o):d==null?void 0:d.promise;k==null||k.catch(Vt).finally(()=>{p.updateResult()})}return c.notifyOnChangeProps?y:p.trackResult(y)}function qC(t,e){return HC(t,EC)}const KC=new jC({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});Z0();/**
161 * @remix-run/router v1.23.2
162 *
163 * Copyright (c) Remix Software Inc.
164 *
165 * This source code is licensed under the MIT license found in the
166 * LICENSE.md file in the root directory of this source tree.
167 *
168 * @license MIT
169 */function qo(){return qo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},qo.apply(this,arguments)}var Mr;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Mr||(Mr={}));const wy="popstate";function GC(t){t===void 0&&(t={});function e(s,o){let{pathname:l,search:c,hash:d}=s.location;return yf("",{pathname:l,search:c,hash:d},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(s,o){return typeof o=="string"?o:nc(o)}return YC(e,n,null,t)}function rt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function th(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function QC(){return Math.random().toString(36).substr(2,8)}function by(t,e){return{usr:t.state,key:t.key,idx:e}}function yf(t,e,n,s){return n===void 0&&(n=null),qo({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?_i(e):e,{state:n,key:e&&e.key||s||QC()})}function nc(t){let{pathname:e="/",search:n="",hash:s=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),s&&s!=="#"&&(e+=s.charAt(0)==="#"?s:"#"+s),e}function _i(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let s=t.indexOf("?");s>=0&&(e.search=t.substr(s),t=t.substr(0,s)),t&&(e.pathname=t)}return e}function YC(t,e,n,s){s===void 0&&(s={});let{window:o=document.defaultView,v5Compat:l=!1}=s,c=o.history,d=Mr.Pop,f=null,p=y();p==null&&(p=0,c.replaceState(qo({},c.state,{idx:p}),""));function y(){return(c.state||{idx:null}).idx}function v(){d=Mr.Pop;let k=y(),S=k==null?null:k-p;p=k,f&&f({action:d,location:E.location,delta:S})}function x(k,S){d=Mr.Push;let N=yf(E.location,k,S);p=y()+1;let T=by(N,p),j=E.createHref(N);try{c.pushState(T,"",j)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;o.location.assign(j)}l&&f&&f({action:d,location:E.location,delta:1})}function b(k,S){d=Mr.Replace;let N=yf(E.location,k,S);p=y();let T=by(N,p),j=E.createHref(N);c.replaceState(T,"",j),l&&f&&f({action:d,location:E.location,delta:0})}function _(k){let S=o.location.origin!=="null"?o.location.origin:o.location.href,N=typeof k=="string"?k:nc(k);return N=N.replace(/ $/,"%20"),rt(S,"No window.location.(origin|href) available to create URL for href: "+N),new URL(N,S)}let E={get action(){return d},get location(){return t(o,c)},listen(k){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(wy,v),f=k,()=>{o.removeEventListener(wy,v),f=null}},createHref(k){return e(o,k)},createURL:_,encodeLocation(k){let S=_(k);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:x,replace:b,go(k){return c.go(k)}};return E}var Sy;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Sy||(Sy={}));function XC(t,e,n){return n===void 0&&(n="/"),JC(t,e,n)}function JC(t,e,n,s){let o=typeof e=="string"?_i(e):e,l=nh(o.pathname||"/",n);if(l==null)return null;
vendor: 2,018 bytes, line 169
169let c=Ix(t);ZC(c);let d=null;for(let f=0;d==null&&f<c.length;++f){let p=d_(l);d=l_(c[f],p)}return d}function Ix(t,e,n,s){e===void 0&&(e=[]),n===void 0&&(n=[]),s===void 0&&(s="");let o=(l,c,d)=>{let f={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};f.relativePath.startsWith("/")&&(rt(f.relativePath.startsWith(s),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(s.length));let p=Fr([s,f.relativePath]),y=n.concat(f);l.children&&l.children.length>0&&(rt(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),Ix(l.children,e,y,p)),!(l.path==null&&!l.index)&&e.push({path:p,score:o_(p,l.index),routesMeta:y})};return t.forEach((l,c)=>{var d;if(l.path===""||!((d=l.path)!=null&&d.includes("?")))o(l,c);else for(let f of Fx(l.path))o(l,c,f)}),e}function Fx(t){let e=t.split("/");if(e.length===0)return[];let[n,...s]=e,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(s.length===0)return o?[l,""]:[l];let c=Fx(s.join("/")),d=[];return d.push(...c.map(f=>f===""?l:[l,f].join("/"))),o&&d.push(...c),d.map(f=>t.startsWith("/")&&f===""?"/":f)}function ZC(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:a_(e.routesMeta.map(s=>s.childrenIndex),n.routesMeta.map(s=>s.childrenIndex)))}const e_=/^:[\w-]+$/,t_=3,n_=2,r_=1,s_=10,i_=-2,ky=t=>t==="*";function o_(t,e){let n=t.split("/"),s=n.length;return n.some(ky)&&(s+=i_),e&&(s+=n_),n.filter(o=>!ky(o)).reduce((o,l)=>o+(e_.test(l)?t_:l===""?r_:s_),s)}function a_(t,e){return t.length===e.length&&t.slice(0,-1).every((s,o)=>s===e[o])?t[t.length-1]-e[e.length-1]:0}function l_(t,e,n){let{routesMeta:s}=t,o={},l="/",c=[];for(let d=0;d<s.length;++d){let f=s[d],p=d===s.length-1,y=l==="/"?e:e.slice(l.length)||"/",v=c_({path:f.relativePath,caseSensitive:f.caseSensitive,end:p},y),x=f.route;if(!v)return null;
vendor: 5,396 bytes, lines 169-178
169Object.assign(o,v.params),c.push({params:o,pathname:Fr([l,v.pathname]),pathnameBase:g_(Fr([l,v.pathnameBase])),route:x}),v.pathnameBase!=="/"&&(l=Fr([l,v.pathnameBase]))}return c}function c_(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,s]=u_(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let l=o[0],c=l.replace(/(.)\/+$/,"$1"),d=o.slice(1);return{params:s.reduce((p,y,v)=>{let{paramName:x,isOptional:b}=y;if(x==="*"){let E=d[v]||"";c=l.slice(0,l.length-E.length).replace(/(.)\/+$/,"$1")}const _=d[v];return b&&!_?p[x]=void 0:p[x]=(_||"").replace(/%2F/g,"/"),p},{}),pathname:l,pathnameBase:c,pattern:t}}function u_(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),th(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let s=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,f)=>(s.push({paramName:d,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(s.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),s]}function d_(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return th(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function nh(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,s=t.charAt(n);return s&&s!=="/"?null:t.slice(n)||"/"}const f_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,h_=t=>f_.test(t);function p_(t,e){e===void 0&&(e="/");let{pathname:n,search:s="",hash:o=""}=typeof t=="string"?_i(t):t,l;if(n)if(h_(n))l=n;else{if(n.includes("//")){let c=n;n=n.replace(/\/\/+/g,"/"),th(!1,"Pathnames cannot have embedded double slashes - normalizing "+(c+" -> "+n))}n.startsWith("/")?l=Ey(n.substring(1),"/"):l=Ey(n,e)}else l=e;return{pathname:l,search:y_(s),hash:v_(o)}}function Ey(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Pd(t,e,n,s){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(s)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function m_(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Bx(t,e){let n=m_(t);return e?n.map((s,o)=>o===n.length-1?s.pathname:s.pathnameBase):n.map(s=>s.pathnameBase)}function Ux(t,e,n,s){s===void 0&&(s=!1);let o;typeof t=="string"?o=_i(t):(o=qo({},t),rt(!o.pathname||!o.pathname.includes("?"),Pd("?","pathname","search",o)),rt(!o.pathname||!o.pathname.includes("#"),Pd("#","pathname","hash",o)),rt(!o.search||!o.search.includes("#"),Pd("#","search","hash",o)));let l=t===""||o.pathname==="",c=l?"/":o.pathname,d;if(c==null)d=n;else{let v=e.length-1;if(!s&&c.startsWith("..")){let x=c.split("/");for(;x[0]==="..";)x.shift(),v-=1;o.pathname=x.join("/")}d=v>=0?e[v]:"/"}let f=p_(o,d),p=c&&c!=="/"&&c.endsWith("/"),y=(l||c===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||y)&&(f.pathname+="/"),f}const Fr=t=>t.join("/").replace(/\/\/+/g,"/"),g_=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),y_=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,v_=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function x_(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Vx=["post","put","patch","delete"];new Set(Vx);const w_=["get",...Vx];new Set(w_);/**
170 * React Router v6.30.3
171 *
172 * Copyright (c) Remix Software Inc.
173 *
174 * This source code is licensed under the MIT license found in the
175 * LICENSE.md file in the root directory of this source tree.
176 *
177 * @license MIT
178 */function Ko(){return Ko=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Ko.apply(this,arguments)}const rh=A.createContext(null),b_=A.createContext(null),Rs=A.createContext(null),oa=A.createContext(null),Ns=A.createContext({outlet:null,matches:[],isDataRoute:!1}),zx=A.createContext(null);function S_(t,e){let{relative:n}=e===void 0?{}:e;aa()||rt(!1);let{basename:s,navigator:o}=A.useContext(Rs),{hash:l,pathname:c,search:d}=Wx(t,{relative:n}),f=c;return s!=="/"&&(f=c==="/"?s:Fr([s,c])),o.createHref({pathname:f,search:d,hash:l})}function aa(){return A.useContext(oa)!=null}function Ti(){return aa()||rt(!1),A.useContext(oa).location}function k_(){return A.useContext(oa).navigationType}function $x(t){A.useContext(Rs).static||A.useLayoutEffect(t)}function E_(){let{isDataRoute:t}=A.useContext(Ns);return t?I_():C_()}function C_(){aa()||rt(!1);let t=A.useContext(rh),{basename:e,future:n,navigator:s}=A.useContext(Rs),{matches:o}=A.useContext(Ns),{pathname:l}=Ti(),c=JSON.stringify(Bx(o,n.v7_relativeSplatPath)),d=A.useRef(!1);return $x(()=>{d.current=!0}
vendor: 4,343 bytes, line 178
178),A.useCallback(function(p,y){if(y===void 0&&(y={}),!d.current)return;if(typeof p=="number"){s.go(p);return}let v=Ux(p,JSON.parse(c),l,y.relative==="path");t==null&&e!=="/"&&(v.pathname=v.pathname==="/"?e:Fr([e,v.pathname])),(y.replace?s.replace:s.push)(v,y.state,y)},[e,s,c,l,t])}function Wx(t,e){let{relative:n}=e===void 0?{}:e,{future:s}=A.useContext(Rs),{matches:o}=A.useContext(Ns),{pathname:l}=Ti(),c=JSON.stringify(Bx(o,s.v7_relativeSplatPath));return A.useMemo(()=>Ux(t,JSON.parse(c),l,n==="path"),[t,c,l,n])}function __(t,e){return T_(t,e)}function T_(t,e,n,s){aa()||rt(!1);let{navigator:o}=A.useContext(Rs),{matches:l}=A.useContext(Ns),c=l[l.length-1],d=c?c.params:{};c&&c.pathname;let f=c?c.pathnameBase:"/";c&&c.route;let p=Ti(),y;if(e){var v;let k=typeof e=="string"?_i(e):e;f==="/"||(v=k.pathname)!=null&&v.startsWith(f)||rt(!1),y=k}else y=p;let x=y.pathname||"/",b=x;if(f!=="/"){let k=f.replace(/^\//,"").split("/");b="/"+x.replace(/^\//,"").split("/").slice(k.length).join("/")}let _=XC(t,{pathname:b}),E=j_(_&&_.map(k=>Object.assign({},k,{params:Object.assign({},d,k.params),pathname:Fr([f,o.encodeLocation?o.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?f:Fr([f,o.encodeLocation?o.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),l,n,s);return e&&E?A.createElement(oa.Provider,{value:{location:Ko({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Mr.Pop}},E):E}function P_(){let t=M_(),e=x_(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},e),n?A.createElement("pre",{style:o},n):null,null)}const A_=A.createElement(P_,null);class R_ extends A.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?A.createElement(Ns.Provider,{value:this.props.routeContext},A.createElement(zx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function N_(t){let{routeContext:e,match:n,children:s}=t,o=A.useContext(rh);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),A.createElement(Ns.Provider,{value:e},s)}function j_(t,e,n,s){var o;if(e===void 0&&(e=[]),n===void 0&&(n=null),s===void 0&&(s=null),t==null){var l;if(!n)return null;if(n.errors)t=n.matches;else if((l=s)!=null&&l.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let c=t,d=(o=n)==null?void 0:o.errors;if(d!=null){let y=c.findIndex(v=>v.route.id&&(d==null?void 0:d[v.route.id])!==void 0);y>=0||rt(!1),c=c.slice(0,Math.min(c.length,y+1))}let f=!1,p=-1;if(n&&s&&s.v7_partialHydration)for(let y=0;y<c.length;y++){let v=c[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(p=y),v.route.id){let{loaderData:x,errors:b}=n,_=v.route.loader&&x[v.route.id]===void 0&&(!b||b[v.route.id]===void 0);if(v.route.lazy||_){f=!0,p>=0?c=c.slice(0,p+1):c=[c[0]];break}}}return c.reduceRight((y,v,x)=>{let b,_=!1,E=null,k=null;n&&(b=d&&v.route.id?d[v.route.id]:void 0,E=v.route.errorElement||A_,f&&(p<0&&x===0?(F_("route-fallback"),_=!0,k=null):p===x&&(_=!0,k=v.route.hydrateFallbackElement||null)));let S=e.concat(c.slice(0,x+1)),N=()=>{let T;return b?T=E:_?T=k:v.route.Component?T=A.createElement(v.route.Component,null):v.route.element?T=v.route.element:T=y,A.createElement(N_,{match:v,routeContext:{outlet:y,matches:S,isDataRoute:n!=null},children:T})};return n&&(v.route.ErrorBoundary||v.route.errorElement||x===0)?A.createElement(R_,{location:n.location,revalidation:n.revalidation,component:E,error:b,children:N(),routeC
178ontext:{outlet:null,matches:S,isDataRoute:!0}}):N()},null)}var Hx=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(Hx||{}),qx=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(qx||{});function O_(t){let e=A.useContext(rh);return e||rt(!1),e}function L_(t){let e=A.useContext(b_);return e||rt(!1),e}function D_(t){let e=A.useContext(Ns);return e||rt(!1),e}function Kx(t){let e=D_(),n=e.matches[e.matches.length-1];return n.route.id||rt(!1),n.route.id}function M_(){var t;let e=A.useContext(zx),n=L_(),s=Kx();return e!==void 0?e:(t=n.errors)==null?void 0:t[s]}function I_(){let{router:t}=O_(Hx.UseNavigateStable),e=Kx(qx.UseNavigateStable),n=A.useRef(!1);return $x(()=>{n.current=!0}),A.useCallback(function(o,l){l===void 0&&(l={}),n.current&&(typeof o=="number"?t.navigate(o):t.navigate(o,Ko({fromRouteId:e},l)))},[t,e])}const Cy={};function F_(t,e,n){Cy[t]||(Cy[t]=!0)}function B_(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Po(t){rt(!1)}function U_(t){let{basename:e="/",children:n=null,location:s,navigationType:o=Mr.Pop,navigator:l,static:c=!1,future:d}=t;aa()&&rt(!1);let f=e.replace(/^\/*/,"/"),p=A.useMemo(()=>({basename:f,navigator:l,static:c,future:Ko({v7_relativeSplatPath:!1},d)}),[f,d,l,c]);typeof s=="string"&&(s=_i(s));let{pathname:y="/",search:v="",hash:x="",state:b=null,key:_="default"}=s,E=A.useMemo(()=>{let k=nh(y,f);return k==null?null:{location:{pathname:k,search:v,hash:x,state:b,key:_},navigationType:o}},[f,y,v,x,b,_,o]);return E==null?null:A.createElement(Rs.Provider,{value:p},A.createElement(oa.Provider,{children:n,value:E}))}function V_(t){let{children:e,location:n}=t;return __(vf(e),n)}new Promise(()=>{});function vf(t,e){e===void 0&&(e=[]);let n=[];return A.Children.forEach(t,(s,o)=>{if(!A.isValidElement(s))return;let l=[...e,o];if(s.type===A.Fragment){n.push.apply(n,vf(s.props.children,l));return}s.type!==Po&&rt(!1),!s.props.index||!s.props.children||rt(!1);let c={id:s.props.id||l.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(c.children=vf(s.props.children,l)),n.push(c)}),n}/**
179 * React Router DOM v6.30.3
180 *
181 * Copyright (c) Remix Software Inc.
182 *
183 * This source code is licensed under the MIT license found in the
184 * LICENSE.md file in the root directory of this source tree.
185 *
186 * @license MIT
187 */function xf(){return xf=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},xf.apply(this,arguments)}function z_(t,e){if(t==null)return{};var n={},s=Object.keys(t),o,l;for(l=0;l<s.length;l++)o=s[l],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function $_(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function W_(t,e){return t.button===0&&(!e||e==="_self")&&!$_(t)}const H_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],q_="6";try{window.__reactRouterVersion=q_}catch{}const K_="startTransition",_y=wk[K_];function G_(t){let{basename:e,children:n,future:s,window:o}=t,l=A.useRef();l.current==null&&(l.current=GC({window:o,v5Compat:!0}));let c=l.current,[d,f]=A.useState({action:c.action,location:c.location}),{v7_startTransition:p}=s||{},y=A.useCallback(v=>{p&&_y?_y(()=>f(v)):f(v)},[f,p]);return A.useLayoutEffect(()=>c.listen(y),[c,y]),A.useEffect(()=>B_(s),[s]),A.createElement(U_,{basename:e,children:n,location:d.location,navigationType:d.action,navigator:c,future:s})}const Q_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Y_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mc=A.forwardRef(function(e,n){let{onClick:s,relative:o,reloadDocument:l,replace:c,state:d,target:f,to:p,preventScrollReset:y,viewTransition:v}=e,x=z_(e,H_),{basename:b}=A.useContext(Rs),_,E=!1;if(typeof p=="string"&&Y_.test(p)&&(_=p,Q_))try{let T=new URL(window.location.href),j=p.startsWith("//")?new URL(T.protocol+p):new URL(p),F=nh(j.pathname,b);j.origin===T.origin&&F!=null?p=F+j.search+j.hash:E=!0}catch{}let k=S_(p,{relative:o}),S=X_(p,{replace:c,state:d,target:f,preventScrollReset:y,relative:o,viewTransition:v});function N(T){s&&s(T),T.defaultPrevented||S(T)}return A.createElement("a",xf({},x,{href:_||k,onClick:E||l?s:N,ref:n,target:f}))});var Ty;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Ty||(Ty={}));var Py;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Py||(Py={}));function X_(t,e){let{target:n,replace:s,state:o,preventScrollReset:l,relative:c,viewTransition:d}=e===void 0?{}:e,f=E_(),p=Ti(),y=Wx(t,{relative:c}
vendor: 12,126 bytes, lines 187-189
187);return A.useCallback(v=>{if(W_(v,n)){v.preventDefault();let x=s!==void 0?s:nc(p)===nc(y);f(t,{replace:x,state:o,preventScrollReset:l,relative:c,viewTransition:d})}},[p,f,y,s,o,n,t,l,c,d])}function Gx(t,e){return function(){return t.apply(e,arguments)}}const{toString:J_}=Object.prototype,{getPrototypeOf:Si}=Object,{iterator:la,toStringTag:Qx}=Symbol,rc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Go=(t,e)=>{let n=t;const s=[];for(;n!=null&&n!==Object.prototype;){if(s.indexOf(n)!==-1)return!1;if(s.push(n),rc(n,e))return!0;n=Si(n)}return!1},Z_=(t,e)=>t!=null&&Go(t,e)?t[e]:void 0,sh=(t=>e=>{const n=J_.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),En=t=>(t=t.toLowerCase(),e=>sh(e)===t),gc=t=>e=>typeof e===t,{isArray:_s}=Array,ki=gc("undefined");function Pi(t){return t!==null&&!ki(t)&&t.constructor!==null&&!ki(t.constructor)&&zt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Yx=En("ArrayBuffer");function eT(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Yx(t.buffer),e}const tT=gc("string"),zt=gc("function"),Xx=gc("number"),Ai=t=>t!==null&&typeof t=="object",nT=t=>t===!0||t===!1,zl=t=>{if(!Ai(t))return!1;const e=Si(t);return(e===null||e===Object.prototype||Si(e)===null)&&!Go(t,Qx)&&!Go(t,la)},rT=t=>{if(!Ai(t)||Pi(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},sT=En("Date"),iT=En("File"),oT=t=>!!(t&&typeof t.uri<"u"),aT=t=>t&&typeof t.getParts<"u",lT=En("Blob"),cT=En("FileList"),uT=t=>Ai(t)&&zt(t.pipe);function dT(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Ay=dT(),Ry=typeof Ay.FormData<"u"?Ay.FormData:void 0,fT=t=>{if(!t)return!1;if(Ry&&t instanceof Ry)return!0;const e=Si(t);if(!e||e===Object.prototype||!zt(t.append))return!1;const n=sh(t);return n==="formdata"||n==="object"&&zt(t.toString)&&t.toString()==="[object FormData]"},hT=En("URLSearchParams"),[pT,mT,gT,yT]=["ReadableStream","Request","Response","Headers"].map(En),vT=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ca(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),_s(t))for(s=0,o=t.length;s<o;s++)e.call(null,t[s],s,t);else{if(Pi(t))return;const l=n?Object.getOwnPropertyNames(t):Object.keys(t),c=l.length;let d;for(s=0;s<c;s++)d=l[s],e.call(null,t[d],d,t)}}function Jx(t,e){if(Pi(t))return null;e=e.toLowerCase();const n=Object.keys(t);let s=n.length,o;for(;s-- >0;)if(o=n[s],e===o.toLowerCase())return o;return null}const cs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zx=t=>!ki(t)&&t!==cs;function wf(...t){const{caseless:e,skipUndefined:n}=Zx(this)&&this||{},s={},o=(l,c)=>{if(c==="__proto__"||c==="constructor"||c==="prototype")return;const d=e&&typeof c=="string"&&Jx(s,c)||c,f=rc(s,d)?s[d]:void 0;zl(f)&&zl(l)?s[d]=wf(f,l):zl(l)?s[d]=wf({},l):_s(l)?s[d]=l.slice():(!n||!ki(l))&&(s[d]=l)};for(let l=0,c=t.length;l<c;l++){const d=t[l];if(!d||Pi(d)||(ca(d,o),typeof d!="object"||_s(d)))continue;const f=Object.getOwnPropertySymbols(d);for(let p=0;p<f.length;p++){const y=f[p];RT.call(d,y)&&o(d[y],y)}}return s}const xT=(t,e,n,{allOwnKeys:s}={})=>(ca(e,(o,l)=>{n&&zt(o)?Object.defineProperty(t,l,{__proto__:null,value:Gx(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,l,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),t),wT=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),bT=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),n&&Object.assign(t.prototype,n)},ST=(t,e,n,s)=>{let o,l,c;const d={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),l=o.length;l-- >0;)c=o[l],(!s||s(c,t,e))&&!d[c]&&(e[c]=t[c],d[c]=!0);t=n!==!1&&Si(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kT=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},ET=t=>{if(!t)return null;if(_s(t))return t;let e=t.length;if(!Xx(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},CT=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Si(Uint8Array)),_T=(t,e)=>{const s=(t&&t[la]).call(t);let o;for(;(o=s.next())&&!o.done;){const l=o.value;e.call(t,l[0],l[1])}},TT=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},PT=En("HTMLFormElement"),AT=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),{propertyIsEnumerable:RT}=Object.prototype,NT=En("RegExp"),ew=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};ca(n,(o,l)=>{let c;(c=e(o,l,t))!==!1&&(s[l]=c||o)}),Object.defineProperties(t,s)},jT=t=>{ew(t,(e,n)=>{if(zt(t)&&["arguments","caller","callee"].includes(n))return!1;const s=t[n];if(zt(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},OT=(t,e)=>{const n={},s=o=>{o.forEach(l=>{n[l]=!0})};return _s(t)?s(t):s(String(t).split(e)),n},LT=()=>{},DT=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function MT(t){return!!(t&&zt(t.append)&&t[Qx]==="FormData"&&t[la])}const IT=t=>{const e=new WeakSet,n=s=>{if(Ai(s)){if(e.has(s))return;if(Pi(s))return s;if(!("toJSON"in s)){e.add(s);const o=_s(s)?[]:{};return ca(s,(l,c)=>{const d=n(l);!ki(d)&&(o[c]=d)}),e.delete(s),o}}return s};return n(t)},FT=En("AsyncFunction"),BT=t=>t&&(Ai(t)||zt(t))&&zt(t.then)&&zt(t.catch),tw=((t,e)=>t?setImmediate:e?((n,s)=>(cs.addEventListener("message",({source:o,data:l})=>{o===cs&&l===n&&s.length&&s.shift()()},!1),o=>{s.push(o),cs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",zt(cs.postMessage)),UT=typeof queueMicrotask<"u"?queueMicrotask.bind(cs):typeof process<"u"&&process.nextTick||tw,nw=t=>t!=null&&zt(t[la]),VT=t=>t!=null&&Go(t,la)&&nw(t),D={isArray:_s,isArrayBuffer:Yx,isBuffer:Pi,isFormData:fT,isArrayBufferView:eT,isString:tT,isNumber:Xx,isBoolean:nT,isObject:Ai,isPlainObject:zl,isEmptyObject:rT,isReadableStream:pT,isRequest:mT,isResponse:gT,isHeaders:yT,isUndefined:ki,isDate:sT,isFile:iT,isReactNativeBlob:oT,isReactNative:aT,isBlob:lT,isRegExp:NT,isFunction:zt,isStream:uT,isURLSearchParams:hT,isTypedArray:CT,isFileList:cT,forEach:ca,merge:wf,extend:xT,trim:vT,stripBOM:wT,inherits:bT,toFlatObject:ST,kindOf:sh,kindOfTest:En,endsWith:kT,toArray:ET,forEachEntry:_T,matchAll:TT,isHTMLForm:PT,hasOwnProperty:rc,hasOwnProp:rc,hasOwnInPrototypeChain:Go,getSafeProp:Z_,reduceDescriptors:ew,freezeMethods:jT,toObjectSet:OT,toCamelCase:AT,noop:LT,toFiniteNumber:DT,findKey:Jx,global:cs,isContextDefined:Zx,isSpecCompliantForm:MT,toJSONObject:IT,isAsyncFn:FT,isThenable:BT,setImmediate:tw,asap:UT,isIterable:nw,isSafeIterable:VT},zT=D.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"]),$T=t=>{const e={};let n,s,o;return t&&t.split(`
188`).forEach(function(c){o=c.indexOf(":"),n=c.substring(0,o).trim().toLowerCase(),s=c.substring(o+1).trim(),!(!n||e[n]&&zT[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e};function WT(t){let e=0,n=t.length;for(;e<n;){const s=t.charCodeAt(e);if(s!==9&&s!==32)break;e+=1}for(;n>e;){const s=t.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}const HT=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),qT=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ih(t,e){return D.isArray(t)?t.map(n=>ih(n,e)):WT(String(t).replace(e,""))}const KT=t=>ih(t,HT),GT=t=>ih(t,qT);function rw(t){const e=Object.create(null);return D.forEach(t.toJSON(),(n,s)=>{e[s]=GT(n)}),e}const Ny=Symbol("internals");function bo(t){return t&&String(t).trim().toLowerCase()}function $l(t){return t===!1||t==null?t:D.isArray(t)?t.map($l):KT(String(t))}function QT(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const YT=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ad(t,e,n,s,o){if(D.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!D.isString(e)){if(D.isString(s))return e.indexOf(s)!==-1;if(D.isRegExp(s))return s.test(e)}}function XT(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function JT(t,e){const n=D.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{__proto__:null,value:function(o,l,c){return this[s].call(this,e,o,l,c)},configurable:!0})})}let At=class{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function l(d,f,p){const y=bo(f);if(!y)return;const v=D.findKey(o,y);(!v||o[v]===void 0||p===!0||p===void 0&&o[v]!==!1)&&(o[v||f]=$l(d))}const c=(d,f)=>D.forEach(d,(p,y)=>l(p,y,f));if(D.isPlainObject(e)||e instanceof this.constructor)c(e,n);else if(D.isString(e)&&(e=e.trim())&&!YT(e))c($T(e),n);else if(D.isObject(e)&&D.isSafeIterable(e)){let d=Object.create(null),f,p;for(const y of e){if(!D.isArray(y))throw new TypeError("Object iterator must return a key-value pair");p=y[0],D.hasOwnProp(d,p)?(f=d[p],d[p]=D.isArray(f)?[...f,y[1]]:[f,y[1]]):d[p]=y[1]}c(d,n)}else e!=null&&l(n,e,s);return this}get(e,n){if(e=bo(e),e){const s=D.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return QT(o);if(D.isFunction(n))return n.call(this,o,s);if(D.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=bo(e),e){const s=D.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ad(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function l(c){if(c=bo(c),c){const d=D.findKey(s,c);d&&(!n||Ad(s,s[d],d,n))&&(delete s[d],o=!0)}}return D.isArray(e)?e.forEach(l):l(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const l=n[s];(!e||Ad(this,this[l],l,e,!0))&&(delete this[l],o=!0)}return o}normalize(e){const n=this,s={};return D.forEach(this,(o,l)=>{const c=D.findKey(s,l);if(c){n[c]=$l(o),delete n[l];return}const d=e?XT(l):String(l).trim();d!==l&&delete n[l],n[d]=$l(o),s[d]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return D.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&D.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
189`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[Ny]=this[Ny]={accessors:{}}).accessors,o=this.prototype;function l(c){const d=bo(c);s[d]||(JT(o,c),s[d]=!0)}return D.isArray(e)?e.forEach(l):l(e),this}};At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);D.reduceDescriptors(At.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});D.freezeMethods(At);const ZT="[REDACTED ****]";function eP(t){if(D.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(D.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function tP(t,e){const n=new Set(e.map(l=>String(l).toLowerCase())),s=[],o=l=>{if(l===null||typeof l!="object"||D.isBuffer(l))return l;if(s.indexOf(l)!==-1)return;l instanceof At&&(l=l.toJSON()),s.push(l);let c;if(D.isArray(l))c=[],l.forEach((d,f)=>{const p=o(d);D.isUndefined(p)||(c[f]=p)});else{if(!D.isPlainObject(l)&&eP(l))return s.pop(),l;c=Object.create(null);for(const[d,f]of Object.entries(l)){const p=n.has(d.toLowerCase())?ZT:o(f);D.isUndefined(p)||(c[d]=p)}}return s.pop(),c};return o(t)}
vendor: 3,290 bytes, line 189
189let X=class sw extends Error{static from(e,n,s,o,l,c){const d=new sw(e.message,n||e.code,s,o,l);return Object.defineProperty(d,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),d.name=e.name,e.status!=null&&d.status==null&&(d.status=e.status),c&&Object.assign(d,c),d}constructor(e,n,s,o,l){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),o&&(this.request=o),l&&(this.response=l,this.status=l.status)}toJSON(){const e=this.config,n=e&&D.hasOwnProp(e,"redact")?e.redact:void 0,s=D.isArray(n)&&n.length>0?tP(e,n):D.toJSONObject(e);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:s,code:this.code,status:this.status}}};X.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";X.ERR_BAD_OPTION="ERR_BAD_OPTION";X.ECONNABORTED="ECONNABORTED";X.ETIMEDOUT="ETIMEDOUT";X.ECONNREFUSED="ECONNREFUSED";X.ERR_NETWORK="ERR_NETWORK";X.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";X.ERR_DEPRECATED="ERR_DEPRECATED";X.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";X.ERR_BAD_REQUEST="ERR_BAD_REQUEST";X.ERR_CANCELED="ERR_CANCELED";X.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";X.ERR_INVALID_URL="ERR_INVALID_URL";X.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const nP=null,iw=100;function bf(t){return D.isPlainObject(t)||D.isArray(t)}function ow(t){return D.endsWith(t,"[]")?t.slice(0,-2):t}function Rd(t,e,n){return t?t.concat(e).map(function(o,l){return o=ow(o),!n&&l?"["+o+"]":o}).join(n?".":""):e}function rP(t){return D.isArray(t)&&!t.some(bf)}const sP=D.toFlatObject(D,{},null,function(e){return/^is[A-Z]/.test(e)});function yc(t,e,n){if(!D.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=D.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(N,T){return!D.isUndefined(T[N])});const s=n.metaTokens,o=n.visitor||_,l=n.dots,c=n.indexes,d=n.Blob||typeof Blob<"u"&&Blob,f=n.maxDepth===void 0?iw:n.maxDepth,p=d&&D.isSpecCompliantForm(e),y=[];if(!D.isFunction(o))throw new TypeError("visitor must be a function");function v(S){if(S===null)return"";if(D.isDate(S))return S.toISOString();if(D.isBoolean(S))return S.toString();if(!p&&D.isBlob(S))throw new X("Blob is not supported. Use a Buffer instead.");if(D.isArrayBuffer(S)||D.isTypedArray(S)){if(p&&typeof d=="function")return new d([S]);if(typeof Buffer<"u")return Buffer.from(S);throw new X("Blob is not supported. Use a Buffer instead.",X.ERR_NOT_SUPPORT)}return S}function x(S){if(S>f)throw new X("Object is too deeply nested ("+S+" levels). Max depth: "+f,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function b(S,N){if(f===1/0)return JSON.stringify(S);const T=[];return JSON.stringify(S,function(F,z){if(!D.isObject(z))return z;for(;T.length&&T[T.length-1]!==this;)T.pop();return T.push(z),x(N+T.length-1),z})}function _(S,N,T){let j=S;if(D.isReactNative(e)&&D.isReactNativeBlob(S))return e.append(Rd(T,N,l),v(S)),!1;if(S&&!T&&typeof S=="object"){if(D.endsWith(N,"{}"))N=s?N:N.slice(0,-2),S=b(S,1);else if(D.isArray(S)&&rP(S)||(D.isFileList(S)||D.endsWith(N,"[]"))&&(j=D.toArray(S)))return N=ow(N),j.forEac
vendor: 4,170 bytes, line 189
189h(function(z,Y){!(D.isUndefined(z)||z===null)&&e.append(c===!0?Rd([N],Y,l):c===null?N:N+"[]",v(z))}),!1}return bf(S)?!0:(e.append(Rd(T,N,l),v(S)),!1)}const E=Object.assign(sP,{defaultVisitor:_,convertValue:v,isVisitable:bf});function k(S,N,T=0){if(!D.isUndefined(S)){if(x(T),y.indexOf(S)!==-1)throw new Error("Circular reference detected in "+N.join("."));y.push(S),D.forEach(S,function(F,z){(!(D.isUndefined(F)||F===null)&&o.call(e,F,D.isString(z)?z.trim():z,N,E))===!0&&k(F,N?N.concat(z):[z],T+1)}),y.pop()}}if(!D.isObject(t))throw new TypeError("data must be an object");return k(t),e}function jy(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(s){return e[s]})}function oh(t,e){this._pairs=[],t&&yc(t,this,e)}const aw=oh.prototype;aw.append=function(e,n){this._pairs.push([e,n])};aw.toString=function(e){const n=e?s=>e.call(this,s,jy):jy;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function iP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lw(t,e,n){if(!e)return t;t=t||"";const s=D.isFunction(n)?{serialize:n}:n,o=D.getSafeProp(s,"encode")||iP,l=D.getSafeProp(s,"serialize");let c;if(l?c=l(e,s):c=D.isURLSearchParams(e)?e.toString():new oh(e,s).toString(o),c){const d=t.indexOf("#");d!==-1&&(t=t.slice(0,d)),t+=(t.indexOf("?")===-1?"?":"&")+c}return t}class Oy{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){D.forEach(this.handlers,function(s){s!==null&&e(s)})}}const ah={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},oP=typeof URLSearchParams<"u"?URLSearchParams:oh,aP=typeof FormData<"u"?FormData:null,lP=typeof Blob<"u"?Blob:null,cP={isBrowser:!0,classes:{URLSearchParams:oP,FormData:aP,Blob:lP},protocols:["http","https","file","blob","url","data"]},lh=typeof window<"u"&&typeof document<"u",Sf=typeof navigator=="object"&&navigator||void 0,uP=lh&&(!Sf||["ReactNative","NativeScript","NS"].indexOf(Sf.product)<0),dP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",fP=lh&&window.location.href||"http://localhost",hP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lh,hasStandardBrowserEnv:uP,hasStandardBrowserWebWorkerEnv:dP,navigator:Sf,origin:fP},Symbol.toStringTag,{value:"Module"})),wt={...hP,...cP};function pP(t,e){return yc(t,new wt.classes.URLSearchParams,{visitor:function(n,s,o,l){return wt.isNode&&D.isBuffer(n)?(this.append(s,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...e})}const Ly=iw;function cw(t){if(t>Ly)throw new X("FormData field is too deeply nested ("+t+" levels). Max depth: "+Ly,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function mP(t){const e=[],n=/\w+|\[(\w*)]/g;let s;for(;(s=n.exec(t))!==null;)cw(e.length),e.push(s[0]==="[]"?"":s[1]||s[0]);return e}function gP(t){const e={},n=Object.keys(t);let s;const o=n.length;let l;for(s=0;s<o;s++)l=n[s],e[l]=t[l];return e}function uw(t){function e(n,s,o,l){cw(l);let c=n[l++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),f=l>=n.length;return c=!c&&D.isArray(o)?o.length:c,f?(D.hasOwnProp(o,c)?o[c]=D.isArray(o[c])?o[c].concat(s):[o[c],s]:o[c]=s,!d):((!D.hasOwnProp(o,c)||!D.isObject(o[c]))&&(o[c]=[]),e(n,s,o[c],l)&&D.isArray(o[c])&&(o[c]=gP(o[c])),!d)}if(D.isFormData(t)&&D.isFunction(t.entries)){const n={};return D.forEachEntry(t,(s,o)=>{e(mP(s),o,n,0)}),n}return null}const ri=(t,e)=>t!=null&&D.hasOwnProp(t,e)?t[e]:void 0;function yP(t,e,n){if(D.isString(t))try{return(e||JSON.parse)(t),D.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const ua={transitional:ah,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,l=D.isObject(e);
vendor: 4,981 bytes, line 189
189if(l&&D.isHTMLForm(e)&&(e=new FormData(e)),D.isFormData(e))return o?JSON.stringify(uw(e)):e;if(D.isArrayBuffer(e)||D.isBuffer(e)||D.isStream(e)||D.isFile(e)||D.isBlob(e)||D.isReadableStream(e))return e;if(D.isArrayBufferView(e))return e.buffer;if(D.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;if(l){const f=ri(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return pP(e,f).toString();if((d=D.isFileList(e))||s.indexOf("multipart/form-data")>-1){const p=ri(this,"env"),y=p&&p.FormData;return yc(d?{"files[]":e}:e,y&&new y,f)}}return l||o?(n.setContentType("application/json",!1),yP(e)):e}],transformResponse:[function(e){const n=ri(this,"transitional")||ua.transitional,s=n&&n.forcedJSONParsing,o=ri(this,"responseType"),l=o==="json";if(D.isResponse(e)||D.isReadableStream(e))return e;if(e&&D.isString(e)&&(s&&!o||l)){const d=!(n&&n.silentJSONParsing)&&l;try{return JSON.parse(e,ri(this,"parseReviver"))}catch(f){if(d)throw f.name==="SyntaxError"?X.from(f,X.ERR_BAD_RESPONSE,this,null,ri(this,"response")):f}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wt.classes.FormData,Blob:wt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch","query"],t=>{ua.headers[t]={}});function Nd(t,e){const n=this||ua,s=e||n,o=At.from(s.headers);let l=s.data;return D.forEach(t,function(d){l=d.call(n,l,o.normalize(),e?e.status:void 0)}),o.normalize(),l}function dw(t){return!!(t&&t.__CANCEL__)}let da=class extends X{constructor(e,n,s){super(e??"canceled",X.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function fw(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new X("Request failed with status code "+n.status,n.status>=400&&n.status<500?X.ERR_BAD_REQUEST:X.ERR_BAD_RESPONSE,n.config,n.request,n))}function vP(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}function xP(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,l=0,c;return e=e!==void 0?e:1e3,function(f){const p=Date.now(),y=s[l];c||(c=p),n[o]=f,s[o]=p;let v=l,x=0;for(;v!==o;)x+=n[v++],v=v%t;if(o=(o+1)%t,o===l&&(l=(l+1)%t),p-c<e)return;const b=y&&p-y;return b?Math.round(x*1e3/b):void 0}}function wP(t,e){let n=0,s=1e3/e,o,l;const c=(p,y=Date.now())=>{n=y,o=null,l&&(clearTimeout(l),l=null),t(...p)};return[(...p)=>{const y=Date.now(),v=y-n;v>=s?c(p,y):(o=p,l||(l=setTimeout(()=>{l=null,c(o)},s-v)))},()=>o&&c(o)]}const sc=(t,e,n=3)=>{let s=0;const o=xP(50,250);return wP(l=>{if(!l||typeof l.loaded!="number")return;const c=l.loaded,d=l.lengthComputable?l.total:void 0,f=d!=null?Math.min(c,d):c,p=Math.max(0,f-s),y=o(p);s=Math.max(s,f);const v={loaded:f,total:d,progress:d?f/d:void 0,bytes:p,rate:y||void 0,estimated:y&&d?(d-f)/y:void 0,event:l,lengthComputable:d!=null,[e?"download":"upload"]:!0};t(v)},n)},Dy=(t,e)=>{const n=t!=null;return[s=>e[0]({lengthComputable:n,total:t,loaded:s}),e[1]]},My=t=>(...e)=>D.asap(()=>t(...e)),bP=wt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,wt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(wt.origin),wt.navigator&&/(msie|trident)/i.test(wt.navigator.userAgent)):()=>!0,SP=wt.hasStandardBrowserEnv?{write(t,e,n,s,o,l,c){if(typeof document>"u")return;const d=[`${t}=${encodeURIComponent(e)}`];D.isNumber(n)&&d.push(`expires=${new Date(n).toUTCString()}`),D.isString(s)&&d.push(`path=${s}`),D.isString(o)&&d.push(`domain=${o}`),l===!0&&d.push("secure"),D.isString(c)&&d.push(`SameSite=${c}`),document.cookie=d.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.split(";");for(let n=0;n<e.length;n++){const s=e[n].replace(/^\s+/,""),o=s.indexOf("=");if(o!==-1&&s.slice(0,o)===t)try{return decodeURIComponent(s.slice(o+1))}catch{return s.slice(o+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function kP(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function EP(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}const CP=/^https?:(?!\/\/)/i,_P=/[\t\n\r]/g;function TP(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}function PP(t){return TP(t).replace(_P,"")}function Iy(t,e){if(typeof t=="string"&&CP.test(PP(t)))throw new X('Invalid URL: missing "//" after protocol',X.ERR_INVALID_URL,e)}function hw(t,e,n,s){Iy(e,s);let o=!kP(e);return t&&(o||n===!1)?(Iy(t,s),EP(t,e)):e}const Fy=t=>t instanceof At?{...t}:t;function Ts(t,e){t=t||{},e=e||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(y,v,x,b){return D.isPlainObject(y)&&D.isPlainObject(v)?D.merge.call({caseless:b}
vendor: 1,643 bytes, line 189
189,y,v):D.isPlainObject(v)?D.merge({},v):D.isArray(v)?v.slice():v}function o(y,v,x,b){if(D.isUndefined(v)){if(!D.isUndefined(y))return s(void 0,y,x,b)}else return s(y,v,x,b)}function l(y,v){if(!D.isUndefined(v))return s(void 0,v)}function c(y,v){if(D.isUndefined(v)){if(!D.isUndefined(y))return s(void 0,y)}else return s(void 0,v)}function d(y){const v=D.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!D.isUndefined(v))if(D.isPlainObject(v)){if(D.hasOwnProp(v,y))return v[y]}else return;const x=D.hasOwnProp(t,"transitional")?t.transitional:void 0;if(D.isPlainObject(x)&&D.hasOwnProp(x,y))return x[y]}function f(y,v,x){if(D.hasOwnProp(e,x))return s(y,v);if(D.hasOwnProp(t,x))return s(void 0,y)}const p={url:l,method:l,data:l,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,allowedSocketPaths:c,responseEncoding:c,validateStatus:f,headers:(y,v,x)=>o(Fy(y),Fy(v),x,!0)};return D.forEach(Object.keys({...t,...e}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const x=D.hasOwnProp(p,v)?p[v]:o,b=D.hasOwnProp(t,v)?t[v]:void 0,_=D.hasOwnProp(e,v)?e[v]:void 0,E=x(b,_,v);D.isUndefined(E)&&x!==f||(n[v]=E)}),D.hasOwnProp(e,"validateStatus")&&D.isUndefined(e.validateStatus)&&d("validateStatusUndefinedResolves")===!1&&(D.hasOwnProp(t,"validateStatus")?n.validateStatus=s(void 0,t.validateStatus):delete n.val
vendor: 4,960 bytes, line 189
189idateStatus),n}const AP=["content-type","content-length"];function RP(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([s,o])=>{AP.includes(s.toLowerCase())&&t.set(s,o)})}const NP=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function pw(t){const e=Ts({},t),n=x=>D.hasOwnProp(e,x)?e[x]:void 0,s=n("data");let o=n("withXSRFToken");const l=n("xsrfHeaderName"),c=n("xsrfCookieName");let d=n("headers");const f=n("auth"),p=n("baseURL"),y=n("allowAbsoluteUrls"),v=n("url");if(e.headers=d=At.from(d),e.url=lw(hw(p,v,y,e),n("params"),n("paramsSerializer")),f){const x=D.getSafeProp(f,"username")||"",b=D.getSafeProp(f,"password")||"";try{d.set("Authorization","Basic "+btoa(x+":"+(b?NP(b):"")))}catch(_){throw X.from(_,X.ERR_BAD_OPTION_VALUE,t)}}if(D.isFormData(s)&&(wt.hasStandardBrowserEnv||wt.hasStandardBrowserWebWorkerEnv||D.isReactNative(s)?d.setContentType(void 0):D.isFunction(s.getHeaders)&&RP(d,s.getHeaders(),n("formDataHeaderPolicy"))),wt.hasStandardBrowserEnv&&(D.isFunction(o)&&(o=o(e)),o===!0||o==null&&bP(e.url))){const b=l&&c&&SP.read(c);b&&d.set(l,b)}return e}const jP=typeof XMLHttpRequest<"u",OP=jP&&function(t){return new Promise(function(n,s){const o=pw(t);let l=o.data;const c=At.from(o.headers).normalize();let{responseType:d,onUploadProgress:f,onDownloadProgress:p}=o,y,v,x,b,_;function E(){b&&b(),_&&_(),o.cancelToken&&o.cancelToken.unsubscribe(y),o.signal&&o.signal.removeEventListener("abort",y)}let k=new XMLHttpRequest;k.open(o.method.toUpperCase(),o.url,!0),k.timeout=o.timeout;function S(){if(!k)return;const T=At.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),F={data:!d||d==="text"||d==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:T,config:t,request:k};fw(function(Y){n(Y),E()},function(Y){s(Y),E()},F),k=null}"onloadend"in k?k.onloadend=S:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.startsWith("file:"))||setTimeout(S)},k.onabort=function(){k&&(s(new X("Request aborted",X.ECONNABORTED,t,k)),E(),k=null)},k.onerror=function(j){const F=j&&j.message?j.message:"Network Error",z=new X(F,X.ERR_NETWORK,t,k);z.event=j||null,s(z),E(),k=null},k.ontimeout=function(){let j=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const F=o.transitional||ah;o.timeoutErrorMessage&&(j=o.timeoutErrorMessage),s(new X(j,F.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,t,k)),E(),k=null},l===void 0&&c.setContentType(null),"setRequestHeader"in k&&D.forEach(rw(c),function(j,F){k.setRequestHeader(F,j)}),D.isUndefined(o.withCredentials)||(k.withCredentials=!!o.withCredentials),d&&d!=="json"&&(k.responseType=o.responseType),p&&([x,_]=sc(p,!0),k.addEventListener("progress",x)),f&&k.upload&&([v,b]=sc(f),k.upload.addEventListener("progress",v),k.upload.addEventListener("loadend",b)),(o.cancelToken||o.signal)&&(y=T=>{k&&(s(!T||T.type?new da(null,t,k):T),k.abort(),E(),k=null)},o.cancelToken&&o.cancelToken.subscribe(y),o.signal&&(o.signal.aborted?y():o.signal.addEventListener("abort",y)));const N=vP(o.url);if(N&&!wt.protocols.includes(N)){s(new X("Unsupported protocol "+N+":",X.ERR_BAD_REQUEST,t)),E();return}k.send(l||null)})},LP=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const n=new AbortController;let s=!1;const o=function(f){if(!s){s=!0,c();const p=f instanceof Error?f:this.reason;n.abort(p instanceof X?p:new da(p instanceof Error?p.message:p))}};let l=e&&setTimeout(()=>{l=null,o(new X(`timeout of ${e}ms exceeded`,X.ETIMEDOUT))},e);const c=()=>{t&&(l&&clearTimeout(l),l=null,t.forEach(f=>{f.unsubscribe?f.unsubscribe(o):f.removeEventListener("abort",o)}),t=null)};t.forEach(f=>f.addEventListener("abort",o,{once:!0}));const{signal:d}=n;return d.unsubscribe=()=>D.asap(c),d},DP=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let s=0,o;for(;s<n;)o=s+e,yield t.slice(s,o),s=o},MP=async function*(t,e){for await(const n of IP(t))yield*DP(n,e)},IP=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:s}=await e.read();if(n)break;yield s}}finally{await e.cancel()}},By=(t,e,n,s)=>{const o=MP(t,e);let l=0,c,d=f=>{c||(c=!0,s&&s(f))};return new ReadableStream({async pull(f){try{const{done:p,value:y}=await o.next();if(p){d(),f.close();return}let v=y.byteLength;if(n){let x=l+=v;n(x)}f.enqueue(new Uint8Array(y))}catch(p){throw d(p),p}},cancel(f){return d(f),o.return()}},{highWaterMark:2})},ic=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,FP=(t,e,n)=>e+2<n&&ic(t.charCodeAt(e+1))&&ic(t.charCodeAt(e+2));function BP(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const e=t.indexOf(",");if(e<0)return 0;const n=t.slice(5,e),s=t.slice(e+1);if(/;base64/i.test(n)){let c=s.length;const d=s.length;for(let b=0;b<d;b++)if(s.charCodeAt(b)===37&&b+2<d){const _=s.charCodeAt(b+1),E=s.charCodeAt(b+2);ic(_)&&ic(E)&&(c-=2,b+=2)}let f=0,p=d-1;const y=b=>b>
vendor: 4,281 bytes, line 189
189=2&&s.charCodeAt(b-2)===37&&s.charCodeAt(b-1)===51&&(s.charCodeAt(b)===68||s.charCodeAt(b)===100);p>=0&&(s.charCodeAt(p)===61?(f++,p--):y(p)&&(f++,p-=3)),f===1&&p>=0&&(s.charCodeAt(p)===61||y(p))&&f++;const x=Math.floor(c/4)*3-(f||0);return x>0?x:0}let l=0;for(let c=0,d=s.length;c<d;c++){const f=s.charCodeAt(c);if(f===37&&FP(s,c,d))l+=1,c+=2;else if(f<128)l+=1;else if(f<2048)l+=2;else if(f>=55296&&f<=56319&&c+1<d){const p=s.charCodeAt(c+1);p>=56320&&p<=57343?(l+=4,c++):l+=3}else l+=3}return l}const ch="1.18.1",Uy=64*1024,{isFunction:Rl}=D,UP=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),Vy=t=>{if(!D.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},zy=(t,...e)=>{try{return!!t(...e)}catch{return!1}},VP=t=>{const e=t.indexOf("://");let n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},zP=t=>{const e=D.global!==void 0&&D.global!==null?D.global:globalThis,{ReadableStream:n,TextEncoder:s}=e;t=D.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:o,Request:l,Response:c}=t,d=o?Rl(o):typeof fetch=="function",f=Rl(l),p=Rl(c);if(!d)return!1;const y=d&&Rl(n),v=d&&(typeof s=="function"?(S=>N=>S.encode(N))(new s):async S=>new Uint8Array(await new l(S).arrayBuffer())),x=f&&y&&zy(()=>{let S=!1;const N=new l(wt.origin,{body:new n,method:"POST",get duplex(){return S=!0,"half"}}),T=N.headers.has("Content-Type");return N.body!=null&&N.body.cancel(),S&&!T}),b=p&&y&&zy(()=>D.isReadableStream(new c("").body)),_={stream:b&&(S=>S.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!_[S]&&(_[S]=(N,T)=>{let j=N&&N[S];if(j)return j.call(N);throw new X(`Response type '${S}' is not supported`,X.ERR_NOT_SUPPORT,T)})});const E=async S=>{if(S==null)return 0;if(D.isBlob(S))return S.size;if(D.isSpecCompliantForm(S))return(await new l(wt.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(D.isArrayBufferView(S)||D.isArrayBuffer(S))return S.byteLength;if(D.isURLSearchParams(S)&&(S=S+""),D.isString(S))return(await v(S)).byteLength},k=async(S,N)=>{const T=D.toFiniteNumber(S.getContentLength());return T??E(N)};return async S=>{let{url:N,method:T,data:j,signal:F,cancelToken:z,timeout:Y,onDownloadProgress:U,onUploadProgress:Z,responseType:le,headers:Se,withCredentials:De="same-origin",fetchOptions:ke,maxContentLength:_e,maxBodyLength:Be}=pw(S);const Ne=D.isNumber(_e)&&_e>-1,he=D.isNumber(Be)&&Be>-1,G=Q=>D.hasOwnProp(S,Q)?S[Q]:void 0;let oe=o||fetch;le=le?(le+"").toLowerCase():"text";let V=LP([F,z&&z.toAbortSignal()],Y),L=null;const $=V&&V.unsubscribe&&(()=>{V.unsubscribe()});let me,ge=null;const de=()=>new X("Request body larger than maxBodyLength limit",X.ERR_BAD_REQUEST,S,L);try{let Q;const we=G("auth");if(we){const be=D.getSafeProp(we,"username")||"",mt=D.getSafeProp(we,"password")||"";Q={username:be,password:mt}}if(VP(N)){const be=new URL(N,wt.origin);if(!Q&&(be.username||be.password)){const mt=Vy(be.username),un=Vy(be.password);Q={username:mt,password:un}}(be.username||be.password)&&(be.username="",be.password="",N=be.href)}if(Q&&(Se.delete("authorization"),Se.set("Authorization","Basic "+btoa(UP((Q.username||"")+":"+(Q.password||""))))),Ne&&typeof N=="string"&&N.startsWith("data:")&&BP(N)>_e)throw new X("maxContentLength size of "+_e+" exceeded",X.ERR_BAD_RESPONSE,S,L);if(he&&T!=="get"&&T!=="head"){const be=await E(j);if(typeof be=="number"&&isFinite(be)&&(me=be,be>Be))throw de()}const Te=he&&(D.isReadableStream(j)||D.isStream(j)),ve=(be,mt,un)=>By(be,Uy,dn=>{if(he&&dn>Be)throw ge=de();mt&&mt(dn)},un);if(x&&T!=="get"&&T!=="head"&&(Z||Te)){if(me=me??await k(Se,j),me!==0||Te){let be=new l(N,{method:"POST",body:j,duplex:"half"}),mt;if(D.isFormData(j)&&(mt=be.headers.get("content-type"))&&Se.setContentType(mt),be.body){const[un,dn]=Z&&Dy(me,sc(My(Z)))||[];j=ve(be.body,un,dn)}}}else if(Te&&!f&&y&&T!=="get"&&T!=="head")j=ve(j);else if(Te&&f&&!x&&T!=="get"&&T!=="head")throw new X("Stream request bodies are not supported by the current fetch implementation",X.ERR_NOT_SUPPORT,S,L);D.isString(De)||(De=De?"include":"omit");const lt=f&&"credentials"in l.prototype;if(D.isFormData(j)){const be=Se.getContentType();be&&/^multipart\/form-data/i.test(be)&&!/boundary=/i.test(be)&&Se.delete("content-type")}
vendor: 3,062 bytes, lines 189-191
189Se.set("User-Agent","axios/"+ch,!1);const Gt={...ke,signal:V,method:T.toUpperCase(),headers:rw(Se.normalize()),body:j,duplex:"half",credentials:lt?De:void 0};L=f&&new l(N,Gt);let pt=await(f?oe(L,ke):oe(N,Gt));const cn=At.from(pt.headers);if(Ne){const be=D.toFiniteNumber(cn.getContentLength());if(be!=null&&be>_e)throw new X("maxContentLength size of "+_e+" exceeded",X.ERR_BAD_RESPONSE,S,L)}const Qt=b&&(le==="stream"||le==="response");if(b&&pt.body&&(U||Ne||Qt&&$)){const be={};["status","statusText","headers"].forEach(Bn=>{be[Bn]=pt[Bn]});const mt=D.toFiniteNumber(cn.getContentLength()),[un,dn]=U&&Dy(mt,sc(My(U),!0))||[];let tr=0;const nr=Bn=>{if(Ne&&(tr=Bn,tr>_e))throw new X("maxContentLength size of "+_e+" exceeded",X.ERR_BAD_RESPONSE,S,L);un&&un(Bn)};pt=new c(By(pt.body,Uy,nr,()=>{dn&&dn(),$&&$()}),be)}le=le||"text";let Yt=await _[D.findKey(_,le)||"text"](pt,S);if(Ne&&!b&&!Qt){let be;if(Yt!=null&&(typeof Yt.byteLength=="number"?be=Yt.byteLength:typeof Yt.size=="number"?be=Yt.size:typeof Yt=="string"&&(be=typeof s=="function"?new s().encode(Yt).byteLength:Yt.length)),typeof be=="number"&&be>_e)throw new X("maxContentLength size of "+_e+" exceeded",X.ERR_BAD_RESPONSE,S,L)}return!Qt&&$&&$(),await new Promise((be,mt)=>{fw(be,mt,{data:Yt,headers:At.from(pt.headers),status:pt.status,statusText:pt.statusText,config:S,request:L})})}catch(Q){if($&&$(),V&&V.aborted&&V.reason instanceof X){const we=V.reason;throw we.config=S,L&&(we.request=L),Q!==we&&Object.defineProperty(we,"cause",{__proto__:null,value:Q,writable:!0,enumerable:!1,configurable:!0}),we}if(ge)throw L&&!ge.request&&(ge.request=L),ge;if(Q instanceof X)throw L&&!Q.request&&(Q.request=L),Q;if(Q&&Q.name==="TypeError"&&/Load failed|fetch/i.test(Q.message)){const we=new X("Network Error",X.ERR_NETWORK,S,L,Q&&Q.response);throw Object.defineProperty(we,"cause",{__proto__:null,value:Q.cause||Q,writable:!0,enumerable:!1,configurable:!0}),we}throw X.from(Q,Q&&Q.code,S,L,Q&&Q.response)}}},$P=new Map,mw=t=>{let e=t&&t.env||{};const{fetch:n,Request:s,Response:o}=e,l=[s,o,n];let c=l.length,d=c,f,p,y=$P;for(;d--;)f=l[d],p=y.get(f),p===void 0&&y.set(f,p=d?new Map:zP(e)),y=p;return p};mw();const uh={http:nP,xhr:OP,fetch:{get:mw}};D.forEach(uh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const $y=t=>`- ${t}`,WP=t=>D.isFunction(t)||t===null||t===!1;function HP(t,e){t=D.isArray(t)?t:[t];const{length:n}=t;let s,o;const l={};for(let c=0;c<n;c++){s=t[c];let d;if(o=s,!WP(s)&&(o=uh[(d=String(s)).toLowerCase()],o===void 0))throw new X(`Unknown adapter '${d}'`);if(o&&(D.isFunction(o)||(o=o.get(e))))break;l[d||"#"+c]=o}if(!o){const c=Object.entries(l).map(([f,p])=>`adapter ${f} `+(p===!1?"is not supported by the environment":"is not available in the build"));let d=n?c.length>1?`since :
190`+c.map($y).join(`
191`):" "+$y(c[0]):"as no adapter specified";throw new X("There is no suitable adapter to dispatch the request "+d,X.ERR_NOT_SUPPORT)}return o}const gw={getAdapter:HP,adapters:uh};
vendor: 5,287 bytes, lines 191-195
191function jd(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new da(null,t)}function Wy(t){return jd(t),t.headers=At.from(t.headers),t.data=Nd.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),gw.getAdapter(t.adapter||ua.adapter,t)(t).then(function(s){jd(t),t.response=s;try{s.data=Nd.call(t,t.transformResponse,s)}finally{delete t.response}return s.headers=At.from(s.headers),s},function(s){if(!dw(s)&&(jd(t),s&&s.response)){t.response=s.response;try{s.response.data=Nd.call(t,t.transformResponse,s.response)}finally{delete t.response}s.response.headers=At.from(s.response.headers)}return Promise.reject(s)})}const vc={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{vc[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Hy={};vc.transitional=function(e,n,s){function o(l,c){return"[Axios v"+ch+"] Transitional option '"+l+"'"+c+(s?". "+s:"")}return(l,c,d)=>{if(e===!1)throw new X(o(c," has been removed"+(n?" in "+n:"")),X.ERR_DEPRECATED);return n&&!Hy[c]&&(Hy[c]=!0,console.warn(o(c," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(l,c,d):!0}};vc.spelling=function(e){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function qP(t,e,n){if(typeof t!="object"||t===null)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const l=s[o],c=Object.prototype.hasOwnProperty.call(e,l)?e[l]:void 0;if(c){const d=t[l],f=d===void 0||c(d,l,t);if(f!==!0)throw new X("option "+l+" must be "+f,X.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new X("Unknown option "+l,X.ERR_BAD_OPTION)}}const Wl={assertOptions:qP,validators:vc},Ct=Wl.validators;let bs=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Oy,response:new Oy}}async request(e,n){try{return await this._request(e,n)}catch(s){if(s instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const l=(()=>{if(!o.stack)return"";const c=o.stack.indexOf(`
192`);return c===-1?"":o.stack.slice(c+1)})();try{if(!s.stack)s.stack=l;else if(l){const c=l.indexOf(`
193`),d=c===-1?-1:l.indexOf(`
194`,c+1),f=d===-1?"":l.slice(d+1);String(s.stack).endsWith(f)||(s.stack+=`
195`+l)}}catch{}}throw s}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ts(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:l}=n;s!==void 0&&Wl.assertOptions(s,{silentJSONParsing:Ct.transitional(Ct.boolean),forcedJSONParsing:Ct.transitional(Ct.boolean),clarifyTimeoutError:Ct.transitional(Ct.boolean),legacyInterceptorReqResOrdering:Ct.transitional(Ct.boolean),advertiseZstdAcceptEncoding:Ct.transitional(Ct.boolean),validateStatusUndefinedResolves:Ct.transitional(Ct.boolean)},!1),o!=null&&(D.isFunction(o)?n.paramsSerializer={serialize:o}:Wl.assertOptions(o,{encode:Ct.function,serialize:Ct.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Wl.assertOptions(n,{baseUrl:Ct.spelling("baseURL"),withXsrfToken:Ct.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let c=l&&D.merge(l.common,l[n.method]);l&&D.forEach(["delete","get","head","post","put","patch","query","common"],_=>{delete l[_]}),n.headers=At.concat(c,l);const d=[];let f=!0;this.interceptors.request.forEach(function(E){if(typeof E.runWhen=="function"&&E.runWhen(n)===!1)return;f=f&&E.synchronous;const k=n.transitional||ah;k&&k.legacyInterceptorReqResOrdering?d.unshift(E.fulfilled,E.rejected):d.push(E.fulfilled,E.rejected)});const p=[];this.interceptors.response.forEach(function(E){p.push(E.fulfilled,E.rejected)});let y,v=0,x;if(!f){const _=[Wy.bind(this),void 0];for(_.unshift(...d),_.push(...p),x=_.length,y=Promise.resolve(n);v<x;)y=y.then(_[v++],_[v++]);return y}x=d.length;let b=n;for(;v<x;){const _=d[v++],E=d[v++];try{b=_(b)}catch(k){E.call(this,k);break}}try{y=Wy.call(this,b)}catch(_){return Promise.reject(_)}for(v=0,x=p.length;v<x;)y=y.then(p[v++],p[v++]);return y}getUri(e){e=Ts(this.defaults,e);const n=hw(e.baseURL,e.url,e.allowAbsoluteUrls,e);return lw(n,e.params,e.paramsSerializer)}};D.forEach(["delete","get","head","options"],function(e){bs.prototype[e]=function(n,s){return this.request(Ts(s||{},{method:e,url:n,data:s&&D.hasOwnProp(s,"data")?s.data:void 0}))}});D.forEach(["post","put","patch","query"],function(e){function n(s){return function(l,c,d){return this.request(Ts(d||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:l,data:c}))}}bs.prototype[e]=n(),e!=="query"&&(bs.prototype[e+"Form"]=n(!0))});let KP=class yw{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const s=this;this.promise.then(o=>{if(!s._listeners)return;let l=s._listeners.length;for(;l-- >0;)s._listeners[l](o);s._listeners=null}),this.promise.then=o=>{let l;const c=new Promise(d=>{s.subscribe(d),l=d}).then(o);return c.cancel=function(){s.unsubscribe(l)},c},e(function(l,c,d){s.reason||(s.reason=new da(l,c,d),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
195subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=s=>{e.abort(s)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new yw(function(o){e=o}),cancel:e}}};function GP(t){return function(n){return t.apply(null,n)}}function QP(t){return D.isObject(t)&&t.isAxiosError===!0}const kf={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(kf).forEach(([t,e])=>{kf[e]=t});function vw(t){const e=new bs(t),n=Gx(bs.prototype.request,e);return D.extend(n,bs.prototype,e,{allOwnKeys:!0}),D.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return vw(Ts(t,o))},n}const et=vw(ua);et.Axios=bs;et.CanceledError=da;et.CancelToken=KP;et.isCancel=dw;et.VERSION=ch;et.toFormData=yc;et.AxiosError=X;et.Cancel=et.CanceledError;et.all=function(e){return Promise.all(e)};et.spread=GP;et.isAxiosError=QP;et.mergeConfig=Ts;et.AxiosHeaders=At;et.formToJSON=t=>uw(D.isHTMLForm(t)?new FormData(t):t);et.getAdapter=gw.getAdapter;et.HttpStatusCode=kf;et.default=et;const{Axios:BD,AxiosError:UD,CanceledError:VD,isCancel:zD,CancelToken:$D,VERSION:WD,all:HD,Cancel:qD,isAxiosError:KD,spread:GD,toFormData:QD,AxiosHeaders:YD,HttpStatusCode:XD,formToJSON:JD,getAdapter:ZD,mergeConfig:e4,create:t4}=et,xw=typeof window>"u",qy=!xw&&window.self!==window.top,YP=!xw&&typeof document>"u",Od=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),vt=[];for(let t=0;t<256;++t)vt.push((t+256).toString(16).slice(1));function XP(t,e=0){return(vt[t[e+0]]+vt[t[e+1]]+vt[t[e+2]]+vt[t[e+3]]+"-"+vt[t[e+4]]+vt[t[e+5]]+"-"+vt[t[e+6]]+vt[t[e+7]]+"-"+vt[t[e+8]]+vt[t[e+9]]+"-"+vt[t[e+10]]+vt[t[e+11]]+vt[t[e+12]]+vt[t[e+13]]+vt[t[e+14]]+vt[t[e+15]]).toLowerCase()}let Ld;const JP=new Uint8Array(16);function ZP(){if(!Ld){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ld=crypto.getRandomValues.bind(crypto)}return Ld(JP)}const eA=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ky={randomUUID:eA};function tA(t,e,n){var o;t=t||{};const s=t.random??((o=t.rng)==null?void 0:o.call(t))??ZP();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,XP(s)}function nA(t,e,n){return Ky.randomUUID&&!t?Ky.randomUUID():tA(t)}const So=typeof window<"u"?window:{base44SharedInstances:{}};function rA(t,e){return So.base44SharedInstances||(So.base44SharedInstances={}),So.base44SharedInstances[t]||(So.base44SharedInstances[t]={instance:e()}),So.base44SharedInstances[t].instance}const sA="__user_heartbeat_event__",iA="__initialization_event__",oA="__session_duration_event__",Gy="analytics-enable",Qy="base44_analytics_session_id",aA={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},lA="analytics",Ue=rA(lA,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...aA,...gA()}})),cA=({axiosClient:t,serverUrl:e,appId:n,userAuthModule:s})=>{var o;const{maxQueueSize:l,throttleTime:c,batchSize:d}=Ue.config;if(!(!((o=Ue.config)===null||o===void 0)&&o.enabled)||YP)return{track:()=>{},cleanup:()=>{}};let f;const p=`${e}/api/apps/${n}/analytics/track/batch`,y=async T=>{await t.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:T}})},v=T=>{try{const j=JSON.stringify({events:T}),F=new Blob([j],{type:"application/json"});return typeof navigator>"u"||j.length>6e4||!navigator.sendBeacon(p,F)}catch{return!1}},x=async(T,j={})=>
195{if(T.length===0)return;const F=await mA(s),z=T.map(pA(F));try{(!j.isBeacon||!v(z))&&await y(z)}catch{}},b=()=>{Xy(x,{throttleTime:c,batchSize:d})},_=T=>{if(Ue.requestsQueue.length>=l)return;const j=hA();Ue.requestsQueue.push({...T,...j}),b()},E=()=>{Xy(x,{throttleTime:c,batchSize:d}),f=Jy(_),dA()},k=()=>{Yy(),f==null||f(),fA(_);const T=Ue.requestsQueue.splice(0);x(T,{isBeacon:!0})},S=()=>{typeof window>"u"||(document.visibilityState==="hidden"?k():document.visibilityState==="visible"&&E())},N=()=>{Yy(),f==null||f(),typeof window<"u"&&window.removeEventListener("visibilitychange",S)};return b(),f=Jy(_),uA(_),typeof window<"u"&&window.addEventListener("visibilitychange",S),{track:_,cleanup:N}};function Yy(){Ue.isProcessing=!1}async function Xy(t,e){if(Ue.isProcessing)return;Ue.isProcessing=!0;const{throttleTime:n=1e3,batchSize:s=30}=e??{};for(;Ue.isProcessing&&Ue.requestsQueue.length>0;){const o=Ue.requestsQueue.splice(0,s);o.length&&await t(o),await new Promise(l=>setTimeout(l,n))}Ue.isProcessing=!1}function Jy(t){var e;if(typeof window>"u"||Ue.isHeartBeatProcessing||((e=Ue.config.heartBeatInterval)!==null&&e!==void 0?e:0)<10)return()=>{};Ue.isHeartBeatProcessing=!0;const n=setInterval(()=>{t({eventName:sA})},Ue.config.heartBeatInterval);return()=>{clearInterval(n),Ue.isHeartBeatProcessing=!1}}function uA(t){typeof window>"u"||Ue.wasInitializationTracked||(Ue.wasInitializationTracked=!0,t({eventName:iA,properties:{referrer:document==null?void 0:document.referrer}}))}function dA(){typeof window>"u"||Ue.sessionStartTime!==null||(Ue.sessionStartTime=new Date().toISOString())}function fA(t){if(typeof window>"u"||Ue.sessionStartTime===null)return;const e=new Date().getTime()-new Date(Ue.sessionStartTime).getTime();Ue.sessionStartTime=null,t({eventName:oA,properties:{sessionDuration:e}})}function hA(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function pA(t){return e=>({event_name:e.eventName,properties:e.properties,timestamp:e.timestamp,page_url:e.pageUrl,...t})}let Ao=null;function Zy(){Ue.sessionContext=null,Ao=null}async function mA(t){if(!Ue.sessionContext){if(!t.hasToken())return{user_id:null,session_id:oc()};if(!Ao){const s=oc();Ao=t.me().then(o=>({user_id:o.id,session_id:s})).catch(()=>({user_id:null,session_id:s}))}const e=Ao,n=await e;return Ao===e&&(Ue.sessionContext=n),n}return Ue.sessionContext}function gA(){if(typeof window>"u"||!window.location)return;const e=new URLSearchParams(window.location.search).get(Gy);if(e==null||!e.length)return;const n=new URLSearchParams(window.location.search);n.delete(Gy);const s=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",s),{enabled:e==="true"}}function oc(){if(typeof window>"u")return Od();try{const t=localStorage.getItem(Qy);if(!t){const e=Od();return localStorage.setItem(Qy,e),e}return t}catch{return Od()}}class yA extends Error{constructor(e,n,s,o,l){super(e),this.name="Base44Error",this.status=n,this.code=s,this.data=o,this.originalError=l}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Ro({baseURL:t,headers:e={},token:n,interceptResponses:s=!0,onError:o}){const l=et.create({baseURL:t,headers:{"Content-Type":"application/json",Accept:"application/json",...e}});return n&&(l.defaults.headers.common.Authorization=`Bearer ${n}`),l.interceptors.request.use(c=>{typeof window<"u"&&window.location&&(c.headers.set("X-Origin-URL",window.location.href),c.headers.get("Authorization")||c.headers.set("X-Base44-Anonymous-Id",oc()));const d=nA();if(c.requestId=d,qy)try{window.parent.postMessage({type:"api-request-start",requestId:d,data:{url:t+c.url,method:c.method,body:c.data instanceof FormData?"[FormData object]":c.data}},"*")}catch{}return c}),s&&l.interceptors.response.use(c=>{var d;const f=(d=c.config)===null||d===void 0?void 0:d.requestId;try{qy&&f&&window.parent.postMessage({type:"api-request-end",requestId:f,data:{statusCode:c.status,response:c.data}},"*")}catch{}return c.data},c=>{var d,f,p,y,v,x,b,_,E,k,S,N,T,j,F;const z=((f=(d=c.response)===null||d===void 0?void 0:d.data)===null||f===void 0?void 0:f.message)||((y=(p=c.response)===null||p===void 0?void 0:p.data)===null||y===void 0?void 0:y.detail)||c.message,Y=new yA(z,(v=c.response)===null||v===void 0?void 0:v.status,(N=(_=(b=(x=c.response)===null||x===void 0?void 0:x.data)===null||b===void 0?void 0:b.code)!==null&&_!==void 0?_:(S=(k=(E=c.response)===null||E===void 0?void 0:E.headers)===null||k===void 0?void 0:k.get)===null||S===void 0?void 0:S.call(k,"x-base44-connector-error"))!==null&&N!==void 0?N:(j=(T=c.response)===null||T===void 0?void 0:T.headers)===null||j===void 0?void 0:j["x-base44-connector-error"],(F=c.response)===null||F===void 0?void 0:F.data,c);return o==null||o(Y),Promise.reject(Y)}),l}function ev(t){const{axios:e,appId:n,getSocket:s}=t;return new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return xA(e,n,l,s)}})}function vA(t){var e;try{const n=JSON.parse(t);
195return{type:n.type,data:n.data,id:n.id||((e=n.data)===null||e===void 0?void 0:e.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}function xA(t,e,n,s){const o=`/apps/${e}/entities/${n}`;return{async list(l,c,d,f){const p={};return l&&(p.sort=l),c&&(p.limit=c),d&&(p.skip=d),f&&(p.fields=Array.isArray(f)?f.join(","):f),t.get(o,{params:p})},async filter(l,c,d,f,p){const y={q:JSON.stringify(l)};return c&&(y.sort=c),d&&(y.limit=d),f&&(y.skip=f),p&&(y.fields=Array.isArray(p)?p.join(","):p),t.get(o,{params:y})},async get(l){return t.get(`${o}/${l}`)},async create(l){return t.post(o,l)},async update(l,c){return t.put(`${o}/${l}`,c)},async delete(l){return t.delete(`${o}/${l}`)},async deleteMany(l){return t.delete(o,{data:l})},async bulkCreate(l){return t.post(`${o}/bulk`,l)},async updateMany(l,c){return t.patch(`${o}/update-many`,{query:l,data:c})},async bulkUpdate(l){return t.put(`${o}/bulk`,l)},async importEntities(l){const c=new FormData;return c.append("file",l,l.name),t.post(`${o}/import`,c,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(l){const c=`entities:${e}:${n}`;return s().subscribeToRoom(c,{update_model:p=>{var y;const v=vA(p.data);if(v){v.type!=="delete"&&(!((y=v.data)===null||y===void 0)&&y._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${v.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.${n}.get("${v.id}")\` to fetch the full record.`);try{l(v)}catch(x){console.error("[Base44 SDK] Subscription callback error:",x)}}}})}}}function wA(t,e){return{async call(n,s,o){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(s!=null&&s.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:l,queryParams:c,...d}=o??{},f={...d,...l&&{path_params:l},...c&&{query_params:c}};return await t.post(`/apps/${e}/integrations/custom/${n}/${s}`,f)}}}function tv(t,e){const n=wA(t,e);return new Proxy({},{get(s,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return o==="custom"?n:new Proxy({},{get(l,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return async d=>{if(typeof d=="string")throw new Error(`Integration ${c} must receive an object with named parameters, received: ${d}`);let f,p;return d instanceof FormData||d&&Object.values(d).some(y=>y instanceof File)?(f=new FormData,Object.keys(d).forEach(y=>{d[y]instanceof File?f.append(y,d[y],d[y].name):typeof d[y]=="object"&&d[y]!==null?f.append(y,JSON.stringify(d[y])):f.append(y,d[y])}),p="multipart/form-data"):(f=d,p="application/json"),o==="Core"?t.post(`/apps/${e}/integration-endpoints/Core/${c}`,f||d,{headers:{"Content-Type":p}}):t.post(`/apps/${e}/integration-endpoints/installable/${o}/integration-endpoints/${c}`,f||d,{headers:{"Content-Type":p}})}}})}})}function bA(){return typeof window>"u"?!1:window!==window.parent}function SA(t,e,n){const l=Math.round(window.screenX+(window.outerWidth-500)/2),c=Math.round(window.screenY+(window.outerHeight-600)/2),d=window.open(t,"base44_auth",`width=500,height=600,left=${l},top=${c},resizable=yes,scrollbars=yes`);if(!d)return;const f=()=>{window.removeEventListener("message",p),clearInterval(y),d.closed||d.close()},p=v=>{var x;if(v.origin!==n||v.source!==d||!(!((x=v.data)===null||x===void 0)&&x.access_token))return;f();const b=new URL(e),{access_token:_,is_new_user:E}=v.data;b.searchParams.set("access_token",_),E!=null&&b.searchParams.set("is_new_user",String(E)),window.location.href=b.toString()},y=setInterval(()=>{d.closed&&f()},500);window.addEventListener("message",p)}function kA(t,e,n,s){let o=null;const l=()=>{o=null};let c=!!s.token;return{hasToken(){return c},async me(){const d=o??t.get(`/apps/${n}/entities/User/me`).finally(()=>{o===d&&(o=null)});return o=d,d},async updateMe(d){return t.put(`/apps/${n}/entities/User/me`,d)},redirectToLogin(d){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const f=d?new URL(d,window.location.origin).toString():window.location.href,p=`${s.appBaseUrl}/login?from_url=${encodeURIComponent(f)}`;window.location.href=p},loginWithProvider(d,f="/"){const p=new URL(f,window.location.origin).toString(),y=`app_id=${n}&from_url=${encodeURIComponent(p)}`;let v;d==="sso"?v=`/apps/${n}/auth/sso/login`:v=`/apps/auth${d==="google"?"":`/${d}`}/login`;const x=`${s.appBaseUrl}/api${v}?${y}`;if(bA()){const b=`${x}&popup_origin=${encodeURIComponent(window.location.origin)}`;return SA(b,p,window.location.origin)}window.location.href=x},logout(d){if(delete t.defaults.headers.common.Authorization,l(),Zy(),c=!1,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(y){console.error("Failed to remove token from localStorage:",y)}const f=d||window.location.href,p=`${s.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(f)}`;window.location.href=p}},setToken(d,f=!0){if(d&&(l(),Zy(),c=!0,t.defaults.headers.common.Authorization=`Bearer ${d}`,e.defaults.headers.common.Authorization=`Bearer ${d}`,f&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",d),window.localStorage.setItem("token",d)}catch(p){console.error("Failed to save token to localStorage:",p)}},async loginViaEmailPassword(d,f,p){var y;try{const v=await t.post(`/apps/${n}/auth/login`,{email:d,password:f,...p&&{turnstile_token:p}}),{access_token:x,user:b}=v;return x&&this.setToken(x),{access_token:x,user:b}}catch(v){throw((y=v.response)===null||y===void 0?void 0:y.status)===401&&await this.logout(),v}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(d,f){return t.post(`/apps/${n}/users/invite-user`,{user_email:d,role:f})},register(d){return t.post(`/apps/${n}/auth/register`,d)},verifyOtp({email:d,otpCode:f}){return t.post(`/apps/${n}/auth/verify-otp`,{email:d,otp_code:f})},resendOtp(d){return t.post(`/apps/${n}/auth/resend-otp`,{email:d})},resetPasswordRequest(d){return t.post(`/apps/${n}/auth/reset-password-request`,{email:d})},resetPassword({resetToken:d,newPassword:f}){return t.post(`/apps/${n}/auth/reset-password`,{reset_token:d,new_password:f})},changePassword({userId:d,currentPassword:f,newPassword:p}){return t.post(`/apps/${n}/auth/change-password`,{user_id:d,current_password:f,new_password:p})}}}function EA(t,e){return{async getAccessToken(n){const s=`/apps/${e}/auth/sso/accesstoken/${n}`;return t.get(s)},async getIdToken(n){const s=`/apps/${e}/auth/sso/idtoken/${n}`;return t.get(s)}}}const CA=new Set(["GET","POST","PUT","PATCH","DELETE","HEAD"]);
195function _A(t,e){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await t.get(`/apps/${e}/external-auth/tokens/${encodeURIComponent(n)}`)).access_token},async getConnection(n){var s;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const l=await t.get(`/apps/${e}/external-auth/tokens/${encodeURIComponent(n)}`);return{accessToken:l.access_token,connectionConfig:(s=l.connection_config)!==null&&s!==void 0?s:null}},async getWorkspaceConnection(n){var s;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const l=await t.get(`/apps/${e}/external-auth/tokens/connectors/${encodeURIComponent(n)}`);return{accessToken:l.access_token,connectionConfig:(s=l.connection_config)!==null&&s!==void 0?s:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await t.get(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}/token`)).access_token},async getCurrentAppUserConnection(n){var s;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const l=await t.get(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}/token`);return{accessToken:l.access_token,connectionConfig:(s=l.connection_config)!==null&&s!==void 0?s:null}},async callApi(n,s){return ww(n,"Integration type"),TA(t,`/apps/${e}/connectors/${encodeURIComponent(n)}/call`,s)}}}function ww(t,e){if(!t||typeof t!="string")throw new Error(`${e} is required and must be a string`)}async function TA(t,e,n){var s,o,l,c,d,f,p,y,v;if(!n||typeof n!="object")throw new Error("Request is required and must be an object");ww(n.path,"Request path");const x=(s=n.method)!==null&&s!==void 0?s:"GET";if(!CA.has(x))throw new Error("Request method must be one of GET, POST, PUT, PATCH, DELETE, or HEAD");const _=await t.post(e,{method:x,...n.host==null?{}:{host:n.host},path:n.path,query:(o=n.query)!==null&&o!==void 0?o:{},headers:(l=n.headers)!==null&&l!==void 0?l:{},body:(c=n.body)!==null&&c!==void 0?c:null});return{success:_.success,phase:_.phase,status:(d=_.status_code)!==null&&d!==void 0?d:null,data:_.data,dataBase64:(f=_.data_base64)!==null&&f!==void 0?f:null,contentType:(p=_.content_type)!==null&&p!==void 0?p:null,headers:(y=_.headers)!==null&&y!==void 0?y:{},creditsCharged:(v=_.credits_charged)!==null&&v!==void 0?v:0}}function PA(t,e){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await t.post(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}/initiate`)).redirect_url},async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await t.delete(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}`)}}}function Ss(t={}){const{storageKey:e="base44_access_token",paramName:n="access_token",saveToStorage:s=!0,removeFromUrl:o=!0}=t;let l=null;if(typeof window<"u"&&window.location)try{const c=new URLSearchParams(window.location.search);if(l=c.get(n),l){if(s&&AA(l,{storageKey:e}),o){c.delete(n);const d=`${window.location.pathname}${c.toString()?`?${c.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}return l}}catch(c){console.error("Error retrieving token from URL:",c)}if(typeof window<"u"&&window.localStorage)try{return l=window.localStorage.getItem(e),l}catch(c){console.error("Error retrieving token from local storage:",c)}return null}function AA(t,e){const{storageKey:n="base44_access_token"}=e;if(typeof window>"u"||!window.localStorage||!t)return!1;try{return window.localStorage.setItem(n,t),window.localStorage.setItem("token",t),!0}catch(s){return console.error("Error saving token to local storage:",s),!1}}function nv(t,e,n){const s=(l,c)=>l?`${String(l).replace(/\/$/,"")}${c}`:c,o=l=>{const c=new Headers;if(n!=null&&n.getAuthHeaders){const d=n.getAuthHeaders();Object.entries(d).forEach(([f,p])=>{p!=null&&c.set(f,String(p))})}return l&&new Headers(l).forEach((d,f)=>{c.set(f,d)}),c};return{async invoke(l,c){if(typeof c=="string")throw new Error(`Function ${l} must receive an object with named parameters, received: ${c}`);let d,f;return c instanceof FormData||c&&Object.values(c).some(p=>
195p instanceof File)?(d=new FormData,Object.keys(c).forEach(p=>{c[p]instanceof File?d.append(p,c[p],c[p].name):typeof c[p]=="object"&&c[p]!==null?d.append(p,JSON.stringify(c[p])):d.append(p,c[p])}),f="multipart/form-data"):(d=c,f="application/json"),t.post(`/apps/${e}/functions/${l}`,d||c,{headers:{"Content-Type":f}})},async fetch(l,c={}){const f=`/functions${l.startsWith("/")?l:`/${l}`}`,p=o(c.headers),y={...c,headers:p};return await fetch(s(n==null?void 0:n.baseURL,f),y)}}}function rv({axios:t,getSocket:e,appId:n,serverUrl:s,token:o}){const l=`/apps/${n}/agents`,c={},d=()=>t.get(`${l}/conversations`),f=E=>t.get(`${l}/conversations/${E}`);return{getConversations:d,getConversation:f,listConversations:E=>t.get(`${l}/conversations`,{params:E}),createConversation:E=>t.post(`${l}/conversations`,E),addMessage:async(E,k)=>t.post(`${l}/conversations/v2/${E.id}/messages`,k),subscribeToConversation:(E,k)=>{const S=`/agent-conversations/${E}`,N=e(),T=f(E).then(j=>(c[E]=j,j));return N.subscribeToRoom(S,{connect:()=>{},update_model:async({data:j})=>{const F=JSON.parse(j);if(F._message){await T;const z=F._message,Y=c[E];if(Y){const U=Y.messages||[],Z=U.findIndex(Se=>Se.id===z.id),le=Z!==-1?U.map((Se,De)=>De===Z?z:Se):[...U,z];c[E]={...Y,messages:le},k==null||k(c[E])}}}})},getWhatsAppConnectURL:E=>{const k=`${s}/api/apps/${n}/agents/${encodeURIComponent(E)}/whatsapp`,S=o??Ss();return S?`${k}?token=${S}`:k},getTelegramConnectURL:E=>{const k=`${s}/api/apps/${n}/agents/${encodeURIComponent(E)}/telegram`,S=o??Ss();return S?`${k}?token=${S}`:k}}}function sv({serverUrl:t,token:e,appId:n}){return{connection:()=>{var o;return{baseURL:`${t}/api/apps/${n}/ai/openai/v1`,token:(o=e??Ss())!==null&&o!==void 0?o:""}}}}function iv(t,e){const n=`/app-logs/${e}`;return{async logUserInApp(s){await t.post(`${n}/log-user-in-app/${s}`)},async fetchLogs(s={}){return await t.get(n,{params:s})},async getStats(s={}){return await t.get(`${n}/stats`,{params:s})}}}function RA(t,e){return{async inviteUser(n,s){if(s!=="user"&&s!=="admin")throw new Error(`Invalid role: "${s}". Role must be either "user" or "admin".`);return await t.post(`/apps/${e}/runtime/users/invite-user`,{user_email:n,role:s})}}}const In=Object.create(null);In.open="0";In.close="1";In.ping="2";In.pong="3";In.message="4";In.upgrade="5";In.noop="6";const Hl=Object.create(null);Object.keys(In).forEach(t=>{Hl[In[t]]=t});const Ef={type:"error",data:"parser error"},bw=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Sw=typeof ArrayBuffer=="function",kw=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,dh=({type:t,data:e},n,s)=>bw&&e instanceof Blob?n?s(e):ov(e,s):Sw&&(e instanceof ArrayBuffer||kw(e))?n?s(e):ov(new Blob([e]),s):s(In[t]+(e||"")),ov=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)};function av(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let Dd;function NA(t,e){if(bw&&t.data instanceof Blob)return t.data.arrayBuffer().then(av).then(e);if(Sw&&(t.data instanceof ArrayBuffer||kw(t.data)))return e(av(t.data));dh(t,!1,n=>{Dd||(Dd=new TextEncoder),e(Dd.encode(n))})}const lv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",No=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<lv.length;t++)No[lv.charCodeAt(t)]=t;const jA=t=>{let e=t.length*.75,n=t.length,s,o=0,l,c,d,f;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const p=new ArrayBuffer(e),y=new Uint8Array(p);for(s=0;s<n;s+=4)l=No[t.charCodeAt(s)],c=No[t.charCodeAt(s+1)],d=No[t.charCodeAt(s+2)],f=No[t.charCodeAt(s+3)],y[o++]=l<<2|c>>4,y[o++]=(c&15)<<4|d>>2,y[o++]=(d&3)<<6|f&63;return p},OA=typeof ArrayBuffer=="function",fh=(t,e)=>{if(typeof t!="string")return{type:"message",data:Ew(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:LA(t.substring(1),e)}:Hl[n]?t.length>1?{type:Hl[n],data:t.substring(1)}:{type:Hl[n]}:Ef},LA=(t,e)=>{if(OA){const n=jA(t);return Ew(n,e)}else return{base64:!0,data:t}},Ew=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},Cw="�",DA=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((l,c)=>{dh(l,!1,d=>
vendor: 4,640 bytes, line 195
195{s[c]=d,++o===n&&e(s.join(Cw))})})},MA=(t,e)=>{const n=t.split(Cw),s=[];for(let o=0;o<n.length;o++){const l=fh(n[o],e);if(s.push(l),l.type==="error")break}return s};function IA(){return new TransformStream({transform(t,e){NA(t,n=>{const s=n.length;let o;if(s<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,s);else if(s<65536){o=new Uint8Array(3);const l=new DataView(o.buffer);l.setUint8(0,126),l.setUint16(1,s)}else{o=new Uint8Array(9);const l=new DataView(o.buffer);l.setUint8(0,127),l.setBigUint64(1,BigInt(s))}t.data&&typeof t.data!="string"&&(o[0]|=128),e.enqueue(o),e.enqueue(n)})}})}let Md;function Nl(t){return t.reduce((e,n)=>e+n.length,0)}function jl(t,e){if(t[0].length===e)return t.shift();const n=new Uint8Array(e);let s=0;for(let o=0;o<e;o++)n[o]=t[0][s++],s===t[0].length&&(t.shift(),s=0);return t.length&&s<t[0].length&&(t[0]=t[0].slice(s)),n}function FA(t,e){Md||(Md=new TextDecoder);const n=[];let s=0,o=-1,l=!1;return new TransformStream({transform(c,d){for(n.push(c);;){if(s===0){if(Nl(n)<1)break;const f=jl(n,1);l=(f[0]&128)===128,o=f[0]&127,o<126?s=3:o===126?s=1:s=2}else if(s===1){if(Nl(n)<2)break;const f=jl(n,2);o=new DataView(f.buffer,f.byteOffset,f.length).getUint16(0),s=3}else if(s===2){if(Nl(n)<8)break;const f=jl(n,8),p=new DataView(f.buffer,f.byteOffset,f.length),y=p.getUint32(0);if(y>Math.pow(2,21)-1){d.enqueue(Ef);break}o=y*Math.pow(2,32)+p.getUint32(4),s=3}else{if(Nl(n)<o)break;const f=jl(n,o);d.enqueue(fh(l?f:Md.decode(f),e)),s=0}if(o===0||o>t){d.enqueue(Ef);break}}}})}const _w=4;function nt(t){if(t)return BA(t)}function BA(t){for(var e in nt.prototype)t[e]=nt.prototype[e];return t}nt.prototype.on=nt.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};nt.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};nt.prototype.off=nt.prototype.removeListener=nt.prototype.removeAllListeners=nt.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var s,o=0;o<n.length;o++)if(s=n[o],s===e||s.fn===e){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+t],this};nt.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(n){n=n.slice(0);for(var s=0,o=n.length;s<o;++s)n[s].apply(this,e)}return this};nt.prototype.emitReserved=nt.prototype.emit;nt.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};nt.prototype.hasListeners=function(t){return!!this.listeners(t).length};const xc=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),ln=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),UA="arraybuffer";function Tw(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const VA=ln.setTimeout,zA=ln.clearTimeout;function wc(t,e){e.useNativeTimers?(t.setTimeoutFn=VA.bind(ln),t.clearTimeoutFn=zA.bind(ln)):(t.setTimeoutFn=ln.setTimeout.bind(ln),t.clearTimeoutFn=ln.clearTimeout.bind(ln))}const $A=1.33;function WA(t){return typeof t=="string"?HA(t):Math.ceil((t.byteLength||t.size)*$A)}function HA(t){let e=0,n=0;for(let s=0,o=t.length;s<o;s++)e=t.charCodeAt(s),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(s++,n+=4);return n}function Pw(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function qA(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function KA(t){let e={},n=t.split("&");for(let s=0,o=n.length;s<o;s++){let l=n[s].split("=");e[decodeURIComponent(l[0])]=decodeURIComponent(l[1])}return e}class GA extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class hh extends nt{constructor(e){super(),this.writable=!1,wc(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,n,s){return super.emitReserved("error",new GA(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}
vendor: 5,568 bytes, line 195
195onData(e){const n=fh(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,n={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_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(e){const n=qA(e);return n.length?"?"+n:""}}class QA extends hh{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const n=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};MA(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,DA(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Pw()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let Aw=!1;try{Aw=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const YA=Aw;function XA(){}class JA extends QA{constructor(e){if(super(e),typeof location<"u"){const n=location.protocol==="https:";let s=location.port;s||(s=n?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||s!==e.port}}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,l)=>{this.onError("xhr post error",o,l)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Ln extends nt{constructor(e,n,s){super(),this.createRequest=e,wc(this,s),this._opts=s,this._method=s.method||"GET",this._uri=n,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var e;const n=Tw(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(n);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&s.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var o;s.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=Ln.requestsCount++,Ln.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=XA,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Ln.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Ln.requestsCount=0;Ln.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",cv);else if(typeof addEventListener=="function"){const t="onpagehide"in ln?"pagehide":"unload";addEventListener(t,cv,!1)}}function cv(){for(let t in Ln.requests)Ln.requests.hasOwnProperty(t)&&Ln.requests[t].abort()}const ZA=(function(){const t=Rw({xdomain:!1});return t&&t.responseType!==null})();class eR extends JA{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=ZA&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new Ln(Rw,this.uri(),e)}}function Rw(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||YA))return new XMLHttpRequest}catch{}if(!e)try{return new ln[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Nw=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class tR extends hh{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,s=Nw?{}:Tw(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,n,s)}catch(o){return this.emitReserved("error",o)}
vendor: 17,830 bytes, line 195
195this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const s=e[n],o=n===e.length-1;dh(s,this.supportsBinary,l=>{try{this.doWrite(s,l)}catch{}o&&xc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Pw()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const Id=ln.WebSocket||ln.MozWebSocket;class nR extends tR{createSocket(e,n,s){return Nw?new Id(e,n,s):n?new Id(e,n):new Id(e)}doWrite(e,n){this.ws.send(n)}}class rR extends hh{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const n=FA(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(n).getReader(),o=IA();o.readable.pipeTo(e.writable),this._writer=o.writable.getWriter();const l=()=>{s.read().then(({done:d,value:f})=>{d||(this.onPacket(f),l())}).catch(d=>{})};l();const c={type:"open"};this.query.sid&&(c.data=`{"sid":"${this.query.sid}"}`),this._writer.write(c).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const s=e[n],o=n===e.length-1;this._writer.write(s).then(()=>{o&&xc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const sR={websocket:nR,webtransport:rR,polling:eR},iR=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,oR=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Cf(t){if(t.length>8e3)throw"URI too long";const e=t,n=t.indexOf("["),s=t.indexOf("]");n!=-1&&s!=-1&&(t=t.substring(0,n)+t.substring(n,s).replace(/:/g,";")+t.substring(s,t.length));let o=iR.exec(t||""),l={},c=14;for(;c--;)l[oR[c]]=o[c]||"";return n!=-1&&s!=-1&&(l.source=e,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l.pathNames=aR(l,l.path),l.queryKey=lR(l,l.query),l}function aR(t,e){const n=/\/{2,9}/g,s=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function lR(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,l){o&&(n[o]=l)}),n}const _f=typeof addEventListener=="function"&&typeof removeEventListener=="function",ql=[];_f&&addEventListener("offline",()=>{ql.forEach(t=>t())},!1);class Br extends nt{constructor(e,n){if(super(),this.binaryType=UA,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(n=e,e=null),e){const s=Cf(e);n.hostname=s.host,n.secure=s.protocol==="https"||s.protocol==="wss",n.port=s.port,s.query&&(n.query=s.query)}else n.host&&(n.hostname=Cf(n.host).host);wc(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(s=>{const o=s.prototype.name;this.transports.push(o),this._transportsByName[o]=s}),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},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=KA(this.opts.query)),_f&&(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"})},ql.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=_w,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Br.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(e);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Br.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=e.data,this._onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),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 e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s<this.writeBuffer.length;s++){const o=this.writeBuffer[s].data;if(o&&(n+=WA(o)),s>0&&n>this._maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,xc(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,n,s){return this._sendPacket("message",e,n,s),this}send(e,n,s){return this._sendPacket("message",e,n,s),this}_sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const l={type:e,data:n,options:s};this.emitReserved("packetCreate",l),this.writeBuffer.push(l),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}_onError(e){if(Br.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,n){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(),_f&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=ql.indexOf(this._offlineEventListener);s!==-1&&ql.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}Br.protocol=_w;class cR extends Br{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let n=this.createTransport(e),s=!1;Br.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",v=>{if(!s)if(v.type==="pong"&&v.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Br.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(y(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const x=new Error("probe error");x.transport=n.name,this.emitReserved("upgradeError",x)}}))};function l(){s||(s=!0,y(),n.close(),n=null)}const c=v=>{const x=new Error("probe error: "+v);x.transport=n.name,l(),this.emitReserved("upgradeError",x)};function d(){c("transport closed")}function f(){c("socket closed")}function p(v){n&&v.name!==n.name&&l()}const y=()=>{n.removeListener("open",o),n.removeListener("error",c),n.removeListener("close",d),this.off("close",f),this.off("upgrading",p)};n.once("open",o),n.once("error",c),n.once("close",d),this.once("close",f),this.once("upgrading",p),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||n.open()},200):n.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const n=[];for(let s=0;s<e.length;s++)~this.transports.indexOf(e[s])&&n.push(e[s]);return n}}let uR=class extends cR{constructor(e,n={}){const s=typeof e=="object"?e:n;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(o=>sR[o]).filter(o=>!!o)),super(e,s)}};function dR(t,e="",n){let s=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),s=Cf(t)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const l=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+l+":"+s.port+e,s.href=s.protocol+"://"+l+(n&&n.port===s.port?"":":"+s.port),s}const fR=typeof ArrayBuffer=="function",hR=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,jw=Object.prototype.toString,pR=typeof Blob=="function"||typeof Blob<"u"&&jw.call(Blob)==="[object BlobConstructor]",mR=typeof File=="function"||typeof File<"u"&&jw.call(File)==="[object FileConstructor]";function ph(t){return fR&&(t instanceof ArrayBuffer||hR(t))||pR&&t instanceof Blob||mR&&t instanceof File}function Kl(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n<s;n++)if(Kl(t[n]))return!0;return!1}if(ph(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return Kl(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&Kl(t[n]))return!0;return!1}function gR(t){const e=[],n=t.data,s=t;return s.data=Tf(n,e),s.attachments=e.length,{packet:s,buffers:e}}function Tf(t,e){if(!t)return t;if(ph(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let s=0;s<t.length;s++)n[s]=Tf(t[s],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=Tf(t[s],e));return n}return t}function yR(t,e){return t.data=Pf(t.data,e),delete t.attachments,t}function Pf(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=Pf(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=Pf(t[n],e));return t}const vR=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Re;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(Re||(Re={}));class xR{constructor(e){this.replacer=e}encode(e){return(e.type===Re.EVENT||e.type===Re.ACK)&&Kl(e)?this.encodeAsBinary({type:e.type===Re.EVENT?Re.BINARY_EVENT:Re.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Re.BINARY_EVENT||e.type===Re.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=gR(e),s=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(s),o}}class mh extends nt{constructor(e){super(),this.reviver=e}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const s=n.type===Re.BINARY_EVENT;s||n.type===Re.BINARY_ACK?(n.type=s?Re.EVENT:Re.ACK,this.reconstructor=new wR(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(ph(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const s={type:Number(e.charAt(0))};if(Re[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Re.BINARY_EVENT||s.type===Re.BINARY_ACK){const l=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const c=e.substring(l,n);if(c!=Number(c)||e.charAt(n)!=="-")throw new Error("Illegal attachments");s.attachments=Number(c)}if(e.charAt(n+1)==="/"){const l=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););s.nsp=e.substring(l,n)}else s.nsp="/";const o=e.charAt(n+1);if(o!==""&&Number(o)==o){const l=n+1;for(;++n;){const c=e.charAt(n);if(c==null||Number(c)!=c){--n;break}if(n===e.length)break}s.id=Number(e.substring(l,n+1))}if(e.charAt(++n)){const l=this.tryParse(e.substr(n));if(mh.isPayloadValid(s.type,l))s.data=l;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case Re.CONNECT:return uv(n);case Re.DISCONNECT:return n===void 0;case Re.CONNECT_ERROR:return typeof n=="string"||uv(n);case Re.EVENT:case Re.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&vR.indexOf(n[0])===-1);case Re.ACK:case Re.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class wR{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=yR(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function uv(t){return Object.prototype.toString.call(t)==="[object Object]"}const bR=Object.freeze(Object.defineProperty({__proto__:null,Decoder:mh,Encoder:xR,get PacketType(){return Re}},Symbol.toStringTag,{value:"Module"}));function Sn(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const SR=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ow extends nt{constructor(e,n,s){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=e,this.nsp=n,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[Sn(e,"open",this.onopen.bind(this)),Sn(e,"packet",this.onpacket.b
vendor: 2,660 bytes, line 195
195ind(this)),Sn(e,"error",this.onerror.bind(this)),Sn(e,"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(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){var s,o,l;if(SR.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const c={type:Re.EVENT,data:n};if(c.options={},c.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const y=this.ids++,v=n.pop();this._registerAckCallback(y,v),c.id=y}const d=(o=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||o===void 0?void 0:o.writable,f=this.connected&&!(!((l=this.io.engine)===null||l===void 0)&&l._hasPingExpired());return this.flags.volatile&&!d||(f?(this.notifyOutgoingListeners(c),this.packet(c)):this.sendBuffer.push(c)),this.flags={},this}_registerAckCallback(e,n){var s;const o=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(o===void 0){this.acks[e]=n;return}const l=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let d=0;d<this.sendBuffer.length;d++)this.sendBuffer[d].id===e&&this.sendBuffer.splice(d,1);n.call(this,new Error("operation has timed out"))},o),c=(...d)=>{this.io.clearTimeoutFn(l),n.apply(this,d)};c.withError=!0,this.acks[e]=c}emitWithAck(e,...n){return new Promise((s,o)=>{const l=(c,d)=>c?o(c):s(d);l.withError=!0,n.push(l),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...l)=>(this._queue[0],o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...l)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Re.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n),this._clearAcks()}
vendor: 7,087 bytes, line 195
195_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(s=>String(s.id)===e)){const s=this.acks[e];delete this.acks[e],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Re.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.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 Re.EVENT:case Re.BINARY_EVENT:this.onevent(e);break;case Re.ACK:case Re.BINARY_ACK:this.onack(e);break;case Re.DISCONNECT:this.ondisconnect();break;case Re.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:Re.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(delete this.acks[e.id],n.withError&&e.data.unshift(null),n.apply(this,e.data))}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Re.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s<n.length;s++)if(e===n[s])return n.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let s=0;s<n.length;s++)if(e===n[s])return n.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const s of n)s.apply(this,e.data)}}}function Ri(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ri.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};Ri.prototype.reset=function(){this.attempts=0};Ri.prototype.setMin=function(t){this.ms=t};Ri.prototype.setMax=function(t){this.max=t};Ri.prototype.setJitter=function(t){this.jitter=t};class Af extends nt{constructor(e,n){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,wc(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Ri({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||bR;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new uR(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Sn(n,"open",function(){s.onopen(),e&&e()}),l=d=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",d),e?e(d):this.maybeReconnectOnOpen()},c=Sn(n,"error",l);if(this._timeout!==!1){const d=this._timeout,f=this.setTimeoutFn(()=>{o(),l(new Error("timeout")),n.close()},d);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(o),this.subs.push(c),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Sn(e,"ping",this.onping.bind(this)),Sn(e,"data",this.ondata.bind(this)),Sn(e,"error",this.onerror.bind(this)),Sn(e,"close",this.onclose.bind(this)),Sn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){xc(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new Ow(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;s<n.length;s++)this.engine.write(n[s],e.options)}
195cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,n){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const ko={};function Gl(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=dR(t,e.path||"/socket.io"),s=n.source,o=n.id,l=n.path,c=ko[o]&&l in ko[o].nsps,d=e.forceNew||e["force new connection"]||e.multiplex===!1||c;let f;return d?f=new Af(s,e):(ko[o]||(ko[o]=new Af(s,e)),f=ko[o]),n.query&&!e.query&&(e.query=n.queryKey),f.socket(n.path,e)}Object.assign(Gl,{Manager:Af,Socket:Ow,io:Gl,connect:Gl});const kR=250;function dv(t,e){var n;const s=(n=t.token)!==null&&n!==void 0?n:Ss(),o={app_id:t.appId,token:s};s||(o.anonymous_id=oc());const l=Gl(t.serverUrl,{path:t.mountPath,transports:t.transports,query:o});return l.on("connect",async()=>{var c;return console.log("connect",l.id),(c=e.connect)===null||c===void 0?void 0:c.call(e)}),l.on("update_model",async c=>{var d;return(d=e.update_model)===null||d===void 0?void 0:d.call(e,c)}),l.on("error",async c=>{var d;return(d=e.error)===null||d===void 0?void 0:d.call(e,c)}),l.on("connect_error",async c=>{var d;return console.error("connect_error",c),(d=e.error)===null||d===void 0?void 0:d.call(e,c)}),l}function ER({config:t}){let e={...t};const n={},s={},o={connect:async()=>{const S=[];Object.keys(n).forEach(N=>{const T=x(N);T.length!==0&&(p(N),T.forEach(({connect:j})=>{const F=async()=>j==null?void 0:j();S.push(F())}))}),await Promise.all(S)},update_model:async S=>{const T=x(S.room).map(j=>{var F;return(F=j.update_model)===null||F===void 0?void 0:F.call(j,S)});await Promise.all(T)},error:async S=>{console.error("error",S);const N=Object.values(n).flat().map(T=>{var j;return(j=T.error)===null||j===void 0?void 0:j.call(T,S)});await Promise.all(N)}};let l=dv(t,o);function c(){d()}function d(){_(),l&&l.disconnect()}function f(S){c(),e={...e,...S},l=dv(e,o)}function p(S){l.emit("join",S)}function y(S){l.emit("leave",S)}async function v(S,N){var T;const j=JSON.stringify(N);return(T=o.update_model)===null||T===void 0?void 0:T.call(o,{room:S,data:j})}function x(S){var N;return(N=n[S])!==null&&N!==void 0?N:[]}function b(S){const N=s[S];N&&(clearTimeout(N),delete s[S])}function _(){Object.keys(s).forEach(S=>{var N,T;clearTimeout(s[S]),delete s[S],((T=(N=n[S])===null||N===void 0?void 0:N.length)!==null&&T!==void 0?T:0)===0&&delete n[S]})}function E(S){b(S),s[S]=setTimeout(()=>{var N,T;delete s[S],!(((T=(N=n[S])===null||N===void 0?void 0:N.length)!==null&&T!==void 0?T:0)>0)&&(y(S),delete n[S])},kR)}return{socket:l,subscribeToRoom:(S,N)=>{n[S]?b(S):(p(S),n[S]=[]),n[S].push(N);let T=!1;return()=>{var j,F;T||(T=!0,n[S]=(F=(j=n[S])===null||j===void 0?void 0:j.filter(z=>z!==N))!==null&&F!==void 0?F:[],n[S].length===0&&E(S))}},updateConfig:f,updateModel:v,disconnect:d}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(`
196  PartySocket requires a global 'EventTarget' class to be available!
197  You can polyfill this global by adding this to your code before any partysocket imports: 
198  
199  \`\`\`
200  import 'partysocket/event-target-polyfill';
201  \`\`\`
202  Please file an issue at https://github.com/partykit/partykit if you're still having trouble.
203`);
vendor: 5,074 bytes, line 203
203var Lw=class extends Event{constructor(e,n){super("error",n);Le(this,"message");Le(this,"error");this.message=e.message,this.error=e}},Dw=class extends Event{constructor(e=1e3,n="",s){super("close",s);Le(this,"code");Le(this,"reason");Le(this,"wasClean",!0);this.code=e,this.reason=n}},Fd={Event,ErrorEvent:Lw,CloseEvent:Dw};function CR(t,e){if(!t)throw new Error(e)}function _R(t){return new t.constructor(t.type,t)}function TR(t){return"data"in t?new MessageEvent(t.type,t):"code"in t||"reason"in t?new Dw(t.code||1999,t.reason||"unknown reason",t):"error"in t?new Lw(t.error,t):new Event(t.type,t)}var X0,PR=typeof process<"u"&&typeof((X0=process.versions)==null?void 0:X0.node)<"u"&&typeof document>"u",Ol=PR?TR:_R,rs={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},fv=!1,AR=class is extends EventTarget{constructor(n,s,o={}){super();Le(this,"_ws");Le(this,"_retryCount",-1);Le(this,"_uptimeTimeout");Le(this,"_connectTimeout");Le(this,"_shouldReconnect",!0);Le(this,"_connectLock",!1);Le(this,"_binaryType","blob");Le(this,"_closeCalled",!1);Le(this,"_messageQueue",[]);Le(this,"_url");Le(this,"_protocols");Le(this,"_options");Le(this,"onclose",null);Le(this,"onerror",null);Le(this,"onmessage",null);Le(this,"onopen",null);Le(this,"_handleOpen",n=>{this._debug("open event");const{minUptime:s=rs.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),s),CR(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(o=>{var l;return(l=this._ws)==null?void 0:l.send(o)}),this._messageQueue=[],this.onopen&&this.onopen(n),this.dispatchEvent(Ol(n))});Le(this,"_handleMessage",n=>{this._debug("message event"),this.onmessage&&this.onmessage(n),this.dispatchEvent(Ol(n))});Le(this,"_handleError",n=>{this._debug("error event",n.message),this._disconnect(void 0,n.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(n),this._debug("exec error listeners"),this.dispatchEvent(Ol(n)),this._connect()});Le(this,"_handleClose",n=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(n),this.dispatchEvent(Ol(n))});this._url=n,this._protocols=s,this._options=o,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return is.CONNECTING}get OPEN(){return is.OPEN}get CLOSING(){return is.CLOSING}get CLOSED(){return is.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((s,o)=>(typeof o=="string"?s+=o.length:o instanceof Blob?s+=o.size:s+=o.byteLength,s),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?is.CLOSED:is.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(n=1e3,s){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,s)}reconnect(n,s){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,s),this._connect())}send(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{const{maxEnqueuedMessages:s=rs.maxEnqueuedMessages}=this._options;this._messageQueue.length<s&&(this._debug("enqueue",n),this._messageQueue.push(n))}}_debug(...n){this._options.debug&&console.log.apply(console,["RWS>",...n])}_getNextDelay(){const{reconnectionDelayGrowFactor:n=rs.reconnectionDelayGrowFactor,minReconnectionDelay:s=rs.minReconnectionDelay,maxReconnectionDelay:o=rs.maxReconnectionDelay}=this._options;let l=0;return this._retryCount>0&&(l=s*Math.pow(n,this._retryCount-1),l>o&&(l=o)),this._debug("next delay",l),l}_wait(){return new Promise(n=>{setTimeout(n,this._getNextDelay())})}_getNextProtocols(n){if(!n)return Promise.resolve(null);if(typeof n=="string"||Array.isArray(n))return Promise.resolve(n);if(typeof n=="function"){const s=n();if(!s)return Promise.resolve(null);if(typeof s=="string"||Array.isArray(s))return Promise.resolve(s);if(s.then)return s}throw Error("Invalid protocols")}_getNextUrl(n){if(typeof n=="string")return Promise.resolve(n);if(typeof n=="function"){const s=n();if(typeof s=="string")return Promise.resolve(s);if(s.then)return s}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
vendor: 4,382 bytes, lines 203-221
203const{maxRetries:n=rs.maxRetries,connectionTimeout:s=rs.connectionTimeout}=this._options;if(this._retryCount>=n){this._debug("max retries reached",this._retryCount,">=",n);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([o,l])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!fv&&(console.error(`‼️ No WebSocket implementation available. You should define options.WebSocket. 
204
205For example, if you're using node.js, run \`npm install ws\`, and then in your code:
206
207import PartySocket from 'partysocket';
208import WS from 'ws';
209
210const partysocket = new PartySocket({
211  host: "127.0.0.1:1999",
212  room: "test-room",
213  WebSocket: WS
214});
215
216`),fv=!0);const c=this._options.WebSocket||WebSocket;this._debug("connect",{url:o,protocols:l}),this._ws=l?new c(o,l):new c(o),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),s)}).catch(o=>{this._connectLock=!1,this._handleError(new Fd.ErrorEvent(Error(o.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new Fd.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(n=1e3,s){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(n,s),this._handleClose(new Fd.CloseEvent(n,s,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*!
217 * Reconnecting WebSocket
218 * by Pedro Ladaria <[email protected]>
219 * https://github.com/pladaria/reconnecting-websocket
220 * License MIT
221 */var RR=t=>t[1]!==null&&t[1]!==void 0;function NR(){if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();let t=new Date().getTime(),e=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){let s=Math.random()*16;return t>0?(s=(t+s)%16|0,t=Math.floor(t/16)):(s=(e+s)%16|0,e=Math.floor(e/16)),(n==="x"?s:s&3|8).toString(16)})}function Mw(t,e,n={}){const{host:s,path:o,protocol:l,room:c,party:d,query:f}=t;let p=s.replace(/^(http|https|ws|wss):\/\//,"");if(p.endsWith("/")&&(p=p.slice(0,-1)),o&&o.startsWith("/"))throw new Error("path must not start with a slash");const y=d??"main",v=o?`/${o}`:"",x=l||(p.startsWith("localhost:")||p.startsWith("127.0.0.1:")||p.startsWith("192.168.")||p.startsWith("10.")||p.startsWith("172.")&&p.split(".")[1]>="16"&&p.split(".")[1]<="31"||p.startsWith("[::ffff:7f00:1]:")?e:e+"s"),b=`${x}://${p}/${d?`parties/${d}`:"party"}/${c}${v}`,_=(k={})=>`${b}?${new URLSearchParams([...Object.entries(n),...Object.entries(k).filter(RR)])}`,E=typeof f=="function"?async()=>_(await f()):_(f);return{host:p,path:v,room:c,name:y,protocol:x,partyUrl:b,urlProvider:E}}var jR=class extends AR{constructor(e){const n=hv(e);super(n.urlProvider,n.protocols,n.socketOptions);Le(this,"_pk");Le(this,"_pkurl");Le(this,"name");Le(this,"room");Le(this,"host");Le(this,"path");this.partySocketOptions=e,this.setWSProperties(n)}updateProperties(e){const n=hv({...e,host:e.host??this.host,room:e.room??this.room,path:e.path??this.path});this._url=n.urlProvider,this._protocols=n.protocols,this._options=n.socketOptions,this.setWSProperties(n)}setWSProperties(e){const{_pk:n,_pkurl:s,name:o,room:l,host:c,path:d}=e;this._pk=n,this._pkurl=s,this.name=o,this.room=l,this.host=c,this.path=d}reconnect(e,n){if(!this.room||!this.host)throw new Error("The room and host must be set before connecting, use `updateProperties` method to set them or pass them to the constructor.");super.reconnect(e,n)}get id(){return this._pk}get roomUrl(){return this._pkurl}
221static async fetch(e,n){const s=Mw(e,"http"),o=typeof s.urlProvider=="string"?s.urlProvider:await s.urlProvider();return(e.fetch??fetch)(o,n)}};function hv(t){const{id:e,host:n,path:s,party:o,room:l,protocol:c,query:d,protocols:f,...p}=t,y=e||NR(),v=Mw(t,"ws",{_pk:y});return{_pk:y,_pkurl:v.partyUrl,name:v.name,room:v.room,host:v.host,path:v.path,protocols:f,socketOptions:p,urlProvider:v.urlProvider}}const OR=1e3,LR=3e3;class DR{constructor(e,n,s,o,l){var c;this.onClose=l,this.listeners=new Set,this.heartbeat=null,this.id=(c=o==null?void 0:o.id)!==null&&c!==void 0?c:crypto.randomUUID();const d=new jR({host:s.host,party:e,room:n,id:this.id,query:()=>{const y=s.getAuthToken();return{app_id:s.appId,handler:e,...y?{token:y}:{},...s.functionsVersion?{fv:s.functionsVersion}:{}}}});this.ws=d;let f=Date.now();const p=()=>{f=Date.now()};d.addEventListener("open",p),d.addEventListener("message",y=>{p();let v;try{v=JSON.parse(y.data)}catch{return}if((v&&typeof v=="object"?v.type:void 0)!=="__pong")for(const b of this.listeners)b(v)}),this.heartbeat=setInterval(()=>{if(Date.now()-f>LR){p(),d.reconnect();return}try{d.send(JSON.stringify({type:"__ping"}))}catch{}},OR)}subscribe(e){return this.listeners.add(e),{unsubscribe:()=>{this.listeners.delete(e)}}}send(e){this.ws.send(JSON.stringify(e))}close(){this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose()}}function MR(t,e,n,s){let o=null;return{connect(l){if(o)return o;const c=new DR(t,e,n,l,()=>{s.delete(c),o===c&&(o=null)});return o=c,s.add(c),c}}}function IR(t,e){return t&&!t.startsWith("/")?t:e??t}function FR(t){const e=new Set;return{module:new Proxy({},{get(s,o){if(!(typeof o!="string"||o==="then"))return l=>MR(o,l,t,e)}}),closeAll:()=>{for(const s of[...e])s.close()}}}function BR(t){var e,n,s;const{serverUrl:o="https://base44.app",appId:l,token:c,serviceToken:d,requiresAuth:f=!1,appBaseUrl:p,options:y,functionsVersion:v,headers:x}=t,b=typeof p=="string"?p:"",_={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:c};let E=null;const k=()=>(E||(E=ER({config:_})),E),S={...x,"X-App-Id":String(l)},N=v?{...S,"Base44-Functions-Version":v}:S,T=Ro({baseURL:`${o}/api`,headers:S,token:c,onError:y==null?void 0:y.onError}),j=Ro({baseURL:`${o}/api`,headers:N,token:c,interceptResponses:!1,onError:y==null?void 0:y.onError}),F={...S,...c?{"on-behalf-of":`Bearer ${c}`}:{}},z=Ro({baseURL:`${o}/api`,headers:F,token:d,onError:y==null?void 0:y.onError}),Y=Ro({baseURL:`${o}/api`,headers:N,token:d,interceptResponses:!1}),U=kA(T,j,l,{appBaseUrl:b,token:c});if(typeof window<"u"){const ke=c||Ss();ke&&U.setToken(ke)}const Z=FR({appId:l,host:IR(o,typeof window<"u"?(e=window.location)===null||e===void 0?void 0:e.origin:void 0),functionsVersion:v,getAuthToken:()=>c||Ss()}),le={entities:ev({axios:T,appId:l,getSocket:k}),integrations:tv(T,l),connectors:PA(T,l),auth:U,functions:nv(j,l,{getAuthHeaders:()=>{const ke={},_e=c||Ss();return _e&&(ke.Authorization=`Bearer ${_e}`),ke},baseURL:(n=j.defaults)===null||n===void 0?void 0:n.baseURL}),agents:rv({axios:T,getSocket:k,appId:l,serverUrl:o,token:c}),aiGateway:sv({serverUrl:o,token:c,appId:l}),appLogs:iv(T,l),users:RA(T,l),analytics:cA({axiosClient:T,serverUrl:o,appId:l,userAuthModule:U}),actors:Z.module,cleanup:()=>{le.analytics.cleanup(),Z.closeAll(),E&&E.disconnect()}},Se={entities:ev({axios:z,appId:l,getSocket:k}),integrations:tv(z,l),sso:EA(z,l),connectors:_A(z,l),functions:nv(Y,l,{getAuthHeaders:()=>{const ke={};return d&&(ke.Authorization=`Bearer ${d}`),ke},baseURL:(s=Y.defaults)===null||s===void 0?void 0:s.baseURL}),agents:rv({axios:z,getSocket:k,appId:l,serverUrl:o,token:c}),aiGateway:sv({serverUrl:o,token:d,appId:l}),appLogs:iv(z,l),cleanup:()=>{E&&E.disconnect()}};return f&&typeof window<"u"&&setTimeout(async()=>{try{await le.auth.isAuthenticated()||le.auth.redirectToLogin(window.location.href)}catch(ke){console.error("Authentication check failed:",ke),le.auth.redirectToLogin(window.location.href)}},0),{...le,setToken(ke){le.auth.setToken(ke),E&&E.updateConfig({token:ke}),_.token=ke},getConfig(){return{serverUrl:o,appId:l,requiresAuth:f}},get asServiceRole(){if(!d)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return Se}}}const Iw=typeof window>"u",UR=Iw?{localStorage:new Map}:window,Io=UR.localStorage,VR=t=>t.replace(/([A-Z])/g,"_$1").toLowerCase(),si=(t,{defaultValue:e=void 0,removeFromUrl:n=!1}={})=>
221{if(Iw)return e;const s=`base44_${VR(t)}`,o=new URLSearchParams(window.location.search),l=o.get(t);if(n){o.delete(t);const d=`${window.location.pathname}${o.toString()?`?${o.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}if(l)return Io.setItem(s,l),l;if(e)return Io.setItem(s,e),e;const c=Io.getItem(s);return c||null},zR=()=>(si("clear_access_token")==="true"&&(Io.removeItem("base44_access_token"),Io.removeItem("token")),{appId:si("app_id",{defaultValue:"6a2f7bb26be0c4b53644de88"}),token:si("access_token",{removeFromUrl:!0}),fromUrl:si("from_url",{defaultValue:window.location.href}),functionsVersion:si("functions_version",{defaultValue:"prod"}),appBaseUrl:si("app_base_url",{defaultValue:void 0})}),jo={...zR()},{appId:$R,token:WR,functionsVersion:HR,appBaseUrl:qR}=jo,us=BR({appId:$R,token:WR,functionsVersion:HR,serverUrl:"",requiresAuth:!1,appBaseUrl:qR});function KR({}){var o;const e=Ti().pathname.substring(1),{data:n,isFetched:s}=qC({queryKey:["user"],queryFn:async()=>{try{return{user:await us.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return m.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:m.jsx("div",{className:"max-w-md w-full",children:m.jsxs("div",{className:"text-center space-y-6",children:[m.jsxs("div",{className:"space-y-2",children:[m.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),m.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),m.jsxs("div",{className:"space-y-3",children:[m.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),m.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",m.jsxs("span",{className:"font-medium text-slate-700",children:['"',e,'"']})," could not be found in this application."]})]}),s&&n.isAuthenticated&&((o=n.user)==null?void 0:o.role)==="admin"&&m.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:m.jsxs("div",{className:"flex items-start space-x-3",children:[m.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:m.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),m.jsxs("div",{className:"text-left space-y-1",children:[m.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),m.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."})]})]})}),m.jsx("div",{className:"pt-6",children:m.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:[m.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.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 GR=A.createContext(),QR=({children:t})=>{const[e,n]=A.useState(null),[s,o]=A.useState(!1),[l,c]=A.useState(!0),[d,f]=A.useState(!0),[p,y]=A.useState(null),[v,x]=A.useState(!1),[b,_]=A.useState(null);A.useEffect(()=>{E()},[]);const E=async()=>{var T,j;try{f(!0),y(null);const F=Ro({baseURL:"/api/apps/public",headers:{"X-App-Id":jo.appId},token:jo.token,interceptResponses:!0});try{const z=await F.get(`/prod/public-settings/by-id/${jo.appId}`);_(z),jo.token?await k():(c(!1),o(!1),x(!0)),f(!1)}catch(z){if(console.error("App state check failed:",z),z.status===403&&((j=(T=z.data)==null?void 0:T.extra_data)!=null&&j.reason)){const Y=z.data.extra_data.reason;y(Y==="auth_required"?{type:"auth_required",message:"Authentication required"}:Y==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:Y,message:z.message})}else y({type:"unknown",message:z.message||"Failed to load app"});f(!1),c(!1)}}catch(F){console.error("Unexpected error:",F),y({type:"unknown",message:F.message||"An unexpected error occurred"}),f(!1),c(!1)}},k=async()=>{try{c(!0);const T=await us.auth.me();n(T),o(!0),c(!1),x(!0)}catch(T){console.error("User auth check failed:",T),c(!1),o(!1),x(!0),(T.status===401||T.status===403)&&y({type:"auth_required",message:"Authentication required"})}},S=(T=!0)=>{n(null),o(!1),T?us.auth.logout(window.location.href):us.auth.logout()},N=()=>{us.auth.redirectToLogin(window.location.href)};return m.jsx(GR.Provider,{value:{user:e,isAuthenticated:s,isLoadingAuth:l,isLoadingPublicSettings:d,authError:p,appPublicSettings:b,authChecked:v,logout:S,navigateToLogin:N,checkUserAuth:k,checkAppState:E},children:t})},YR=t=>{const e=t.slice(1);try{return decodeURIComponent(e)}catch{return e}};function XR(){const{pathname:t,hash:e}=Ti(),n=k_();return A.useEffect(()=>{if(n!=="POP"){if(e){const s=YR(e),o=window.setTimeout(()=>{var l;(l=document.getElementById(s))==null||l.scrollIntoView({behavior:"smooth"})},50);return()=>window.clearTimeout(o)}window.scrollTo({top:0,left:0,behavior:"instant"})}},[t,e,n]),null}const JR="https://www.marriott.com/event-reservations/reservation-link.mi?id=1784744417328&key=GRP&app=resvlink&_branch_match_id=1609664778769532955&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXTywo0MtNLCrKzC8p0UvOz9UvSi0uy0wtN7IHytiCODmZedlqmSm2huYWJuYmJiaG5sZGFmrZqZW27kEBanV
221FqWmpQO156fFJRfnlxalFtsGJaYlFmQBYxLb5YQAAAA%3D%3D&inventoryMissing=true",pv=[{type:"dropdown",label:"About",children:[{label:"About",href:"#about"},{label:"Sponsorship",href:"#sponsorship"},{label:"Press",href:"/press"}]},{label:"Fan Fest",href:"#performers"},{label:"Tailgate Quiz",href:"#quiz"},{label:"Hotel",href:JR,external:!0},{label:"Tickets",href:"/tickets"}];function gh(){const[t,e]=A.useState(!1),[n,s]=A.useState(0),[o,l]=A.useState(!0),[c,d]=A.useState(!1),[f,p]=A.useState(!1);A.useEffect(()=>{const b=()=>{const _=window.scrollY;e(_>60),l(_<n||_<100),s(_)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[n]);const y=b=>{if(d(!1),b.startsWith("http")){window.open(b,"_blank","noopener,noreferrer");return}if(b.startsWith("/")){window.location.href=b;return}const _=document.querySelector(b);_&&_.scrollIntoView({behavior:"smooth"})},v=b=>b.type==="dropdown"?m.jsxs("div",{className:"relative group",children:[m.jsxs("button",{onClick:()=>y(b.children[0].href),className:"font-body text-xs tracking-widest uppercase text-brand-silver hover:text-brand-gold transition-colors duration-300 font-medium flex items-center gap-1",children:[b.label,m.jsx(ef,{size:12,className:"transition-transform duration-300 group-hover:rotate-180"})]}),m.jsx("div",{className:"absolute top-full left-1/2 -translate-x-1/2 pt-3 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300 z-50 min-w-[180px]",children:m.jsx("div",{className:"bg-brand-charcoal border border-brand-gold/30 shadow-xl py-2",children:b.children.map(_=>m.jsx("button",{onClick:()=>y(_.href),className:"block w-full text-left px-5 py-2.5 font-body text-xs tracking-widest uppercase text-brand-silver hover:text-brand-gold hover:bg-brand-black/40 transition-colors duration-200 font-medium",children:_.label},_.label))})})]},b.label):m.jsx("button",{onClick:()=>y(b.href),className:"font-body text-xs tracking-widest uppercase text-brand-silver hover:text-brand-gold transition-colors duration-300 font-medium",children:b.label},b.label),x=b=>b.type==="dropdown"?m.jsxs("div",{className:"flex flex-col",children:[m.jsxs("button",{onClick:()=>
221p(!f),className:"font-body text-sm tracking-widest uppercase text-brand-silver hover:text-brand-gold transition-colors text-left font-medium flex items-center justify-between",children:[b.label,m.jsx(ef,{size:14,className:`transition-transform duration-300 ${f?"rotate-180":""}`})]}),m.jsx("div",{className:`overflow-hidden transition-all duration-300 ${f?"max-h-60 opacity-100 mt-3":"max-h-0 opacity-0"}`,children:m.jsx("div",{className:"flex flex-col gap-3 pl-4 border-l border-brand-gold/20",children:b.children.map(_=>m.jsx("button",{onClick:()=>y(_.href),className:"font-body text-xs tracking-widest uppercase text-brand-silver hover:text-brand-gold transition-colors text-left font-medium py-1",children:_.label},_.label))})})]},b.label):m.jsx("button",{onClick:()=>y(b.href),className:"font-body text-sm tracking-widest uppercase text-brand-silver hover:text-brand-gold transition-colors text-left font-medium",children:b.label},b.label);return m.jsxs("header",{className:`fixed left-0 right-0 z-40 transition-all duration-500 ${t?"bg-brand-black/90 backdrop-blur-md border-b border-brand-gold/20 shadow-lg":"bg-transparent"} ${o?"translate-y-0":"-translate-y-full"}`,children:[m.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-10",children:m.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20 py-1 my-3",children:[m.jsx("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"flex items-center",children:m.jsx("img",{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/30d8e7003_ATLCLASSICFINALLOGOS_ATLLABORDAYCLASSICLOGO.png",alt:"ATL Labor Day Classic",className:"h-[4.5rem] md:h-[5.25rem] w-auto object-contain px-3 my-3"})}),m.jsx("nav",{className:"hidden lg:flex items-center gap-8 ml-auto mr-6",children:pv.map(v)}),m.jsxs("div",{className:"flex items-center gap-4",children:[m.jsx("button",{onClick:()=>y("/tickets"),className:"hidden sm:block text-brand-white font-body text-xs font-bold tracking-widest uppercase px-6 py-3 transition-all duration-300 hover:shadow-lg hover:opacity-90",style:{background:"linear-gradient(135deg, #F5631A, #C0190E)"},children:"Get Tickets"}),m.jsx("button",{onClick:()=>d(!c),className:"lg:hidden text-brand-white p-2","aria-label":"Toggle menu",children:c?m.jsx(pc,{size:22}):m.jsx(lE,{size:22})})]})]})}),m.jsx("div",{className:`lg:hidden bg-brand-black/98 backdrop-blur-xl border-t border-brand-gold/20 overflow-hidden transition-all duration-500 ${c?"max-h-screen opacity-100":"max-h-0 opacity-0"}`,children:m.jsxs("nav",{className:"px-6 py-8 flex flex-col gap-6",children:[pv.map(x),m.jsx("button",{onClick:()=>y("/tickets"),className:"mt-2 text-brand-white font-body text-xs font-bold tracking-widest uppercase px-6 py-4 w-full",style:{background:"linear-gradient(135deg, #F5631A, #C0190E)"},children:"Get Tickets"})]})})]})}const yh=A.createContext({});function Ni(t){const e=A.useRef(null);return e.current===null&&(e.current=t()),e.current}const bc=A.createContext(null),Sc=A.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class ZR extends A.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function eN({children:t,isPresent:e}){const n=A.useId(),s=A.useRef(null),o=A.useRef({width:0,height:0,top:0,left:0}),{nonce:l}=A.useContext(Sc);return A.useInsertionEffect(()=>{const{width:c,height:d,top:f,left:p}=o.current;if(e||!s.current||!c||!d)return;s.current.dataset.motionPopId=n;const y=document.createElement("style");return l&&(y.nonce=l),document.head.appendChild(y),y.sheet&&y.sheet.insertRule(`
222          [data-motion-pop-id="${n}"] {
223            position: absolute !important;
224            width: ${c}px !important;
225            height: ${d}px !important;
226            top: ${f}px !important;
227            left: ${p}px !important;
228          }
229        `),()=>{document.head.removeChild(y)}},[e]),m.jsx(ZR,{isPresent:e,childRef:s,sizeRef:o,children:A.cloneElement(t,{ref:s})})}const tN=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:o,presenceAffectsLayout:l,mode:c})=>{const d=Ni(nN),f=A.useId(),p=A.useCallback(v=>{d.set(v,!0);for(const x of d.values())if(!x)return;s&&s()},[d,s]),y=A.useMemo(()=>({id:f,initial:e,isPresent:n,custom:o,onExitComplete:p,register:v=>(d.set(v,!1),()=>d.delete(v))}),l?[Math.random(),p]:[n,p]);return A.useMemo(()=>{d.forEach((v,x)=>d.set(x,!1))},[n]),A.useEffect(()=>{!n&&!d.size&&s&&s()},[n]),c==="popLayout"&&(t=m.jsx(eN,{isPresent:n,children:t})),m.jsx(bc.Provider,{value:y,children:t})};function nN(){return new Map}function Fw(t=!0){const e=A.useContext(bc);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:o}=e,l=A.useId();A.useEffect(()=>{t&&o(l)},[t]);const c=A.useCallback(()=>t&&s&&s(l),[l,s,t]);return!n&&s?[!1,c]:[!0]}const Ll=t=>t.key||"";function mv(t){const e=[];
vendor: 30,618 bytes, line 229
229return A.Children.forEach(t,n=>{A.isValidElement(n)&&e.push(n)}),e}const vh=typeof window<"u",kc=vh?A.useLayoutEffect:A.useEffect,Ec=({children:t,custom:e,initial:n=!0,onExitComplete:s,presenceAffectsLayout:o=!0,mode:l="sync",propagate:c=!1})=>{const[d,f]=Fw(c),p=A.useMemo(()=>mv(t),[t]),y=c&&!d?[]:p.map(Ll),v=A.useRef(!0),x=A.useRef(p),b=Ni(()=>new Map),[_,E]=A.useState(p),[k,S]=A.useState(p);kc(()=>{v.current=!1,x.current=p;for(let j=0;j<k.length;j++){const F=Ll(k[j]);y.includes(F)?b.delete(F):b.get(F)!==!0&&b.set(F,!1)}},[k,y.length,y.join("-")]);const N=[];if(p!==_){let j=[...p];for(let F=0;F<k.length;F++){const z=k[F],Y=Ll(z);y.includes(Y)||(j.splice(F,0,z),N.push(z))}l==="wait"&&N.length&&(j=N),S(mv(j)),E(p);return}const{forceRender:T}=A.useContext(yh);return m.jsx(m.Fragment,{children:k.map(j=>{const F=Ll(j),z=c&&!d?!1:p===k||y.includes(F),Y=()=>{if(b.has(F))b.set(F,!0);else return;let U=!0;b.forEach(Z=>{Z||(U=!1)}),U&&(T==null||T(),S(x.current),c&&(f==null||f()),s&&s())};return m.jsx(tN,{isPresent:z,initial:!v.current||n?void 0:!1,custom:z?void 0:e,presenceAffectsLayout:o,mode:l,onExitComplete:z?void 0:Y,children:j},F)})})},Ot=t=>t;let rN=Ot,Bw=Ot;function xh(t){let e;return()=>(e===void 0&&(e=t()),e)}const Ps=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},Zn=t=>t*1e3,er=t=>t/1e3,sN={useManualTiming:!1};function iN(t){let e=new Set,n=new Set,s=!1,o=!1;const l=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function d(p){l.has(p)&&(f.schedule(p),t()),p(c)}const f={schedule:(p,y=!1,v=!1)=>{const b=v&&s?e:n;return y&&l.add(p),b.has(p)||b.add(p),p},cancel:p=>{n.delete(p),l.delete(p)},process:p=>{if(c=p,s){o=!0;return}s=!0,[e,n]=[n,e],e.forEach(d),e.clear(),s=!1,o&&(o=!1,f.process(p))}};return f}const Dl=["read","resolveKeyframes","update","preRender","render","postRender"],oN=40;function Uw(t,e){let n=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,c=Dl.reduce((S,N)=>(S[N]=iN(l),S),{}),{read:d,resolveKeyframes:f,update:p,preRender:y,render:v,postRender:x}=c,b=()=>{const S=performance.now();n=!1,o.delta=s?1e3/60:Math.max(Math.min(S-o.timestamp,oN),1),o.timestamp=S,o.isProcessing=!0,d.process(o),f.process(o),p.process(o),y.process(o),v.process(o),x.process(o),o.isProcessing=!1,n&&e&&(s=!1,t(b))},_=()=>{n=!0,s=!0,o.isProcessing||t(b)};return{schedule:Dl.reduce((S,N)=>{const T=c[N];return S[N]=(j,F=!1,z=!1)=>(n||_(),T.schedule(j,F,z)),S},{}),cancel:S=>{for(let N=0;N<Dl.length;N++)c[Dl[N]].cancel(S)},state:o,steps:c}}const{schedule:Me,cancel:kn,state:ht,steps:Bd}=Uw(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ot,!0),Vw=A.createContext({strict:!1}),gv={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ei={};for(const t in gv)Ei[t]={isEnabled:e=>gv[t].some(n=>!!e[n])};function aN(t){for(const e in t)Ei[e]={...Ei[e],...t[e]}}const lN=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ac(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||lN.has(t)}let zw=t=>!ac(t);function cN(t){t&&(zw=e=>e.startsWith("on")?!ac(e):t(e))}try{cN(require("@emotion/is-prop-valid").default)}catch{}function uN(t,e,n){const s={};for(const o in t)o==="values"&&typeof t.values=="object"||(zw(o)||n===!0&&ac(o)||!e&&!ac(o)||t.draggable&&o.startsWith("onDrag"))&&(s[o]=t[o]);return s}function dN(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...s)=>t(...s);return new Proxy(n,{get:(s,o)=>o==="create"?t:(e.has(o)||e.set(o,t(o)),e.get(o))})}const Cc=A.createContext({});function Qo(t){return typeof t=="string"||Array.isArray(t)}function _c(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const wh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bh=["initial",...wh];function Tc(t){return _c(t.animate)||bh.some(e=>Qo(t[e]))}function $w(t){return!!(Tc(t)||t.variants)}function fN(t,e){if(Tc(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Qo(n)?n:void 0,animate:Qo(s)?s:void 0}}return t.inherit!==!1?e:{}}function hN(t){const{initial:e,animate:n}=fN(t,A.useContext(Cc));return A.useMemo(()=>({initial:e,animate:n}),[yv(e),yv(n)])}function yv(t){return Array.isArray(t)?t.join(" "):t}const pN=Symbol.for("motionComponentSymbol");function ii(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function mN(t,e,n){return A.useCallback(s=>{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):ii(n)&&(n.current=s))},[e])}const Sh=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),gN="framerAppearId",Ww="data-"+Sh(gN),{schedule:kh}=Uw(queueMicrotask,!1),Hw=A.createContext({});function yN(t,e,n,s,o){var l,c;const{visualElement:d}=A.useContext(Cc),f=A.useContext(Vw),p=A.useContext(bc),y=A.useContext(Sc).reducedMotion,v=A.useRef(null);s=s||f.renderer,!v.current&&s&&(v.current=s(t,{visualState:e,parent:d,props:n,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:y}));const x=v.current,b=A.useContext(Hw);x&&!x.projection&&o&&(x.type==="html"||x.type==="svg")&&vN(v.current,n,o,b);const _=A.useRef(!1);A.useInsertionEffect(()=>{x&&_.current&&x.update(n,p)});const E=n[Ww],k=A.useRef(!!E&&!(!((l=window.MotionHandoffIsComplete)===null||l===void 0)&&l.call(window,E))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,E)));return kc(()=>{x&&(_.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),kh.render(x.render),k.current&&x.animationState&&x.animationState.animateChanges())}),A.useEffect(()=>{x&&(!k.current&&x.animationState&&x.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)===null||S===void 0||S.call(window,E)}),k.current=!1))}),x}function vN(t,e,n,s){const{layoutId:o,layout:l,drag:c,dragConstraints:d,layoutScroll:f,layoutRoot:p}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:qw(t.parent)),t.projection.setOptions({layoutId:o,layout:l,alwaysMeasureLayout:!!c||d&&ii(d),visualElement:t,animationType:typeof l=="string"?l:"both",initialPromotionConfig:s,layoutScroll:f,layoutRoot:p})}function qw(t){if(t)return t.options.allowProjection!==!1?t.projection:qw(t.parent)}function xN({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:o}){var l,c;t&&aN(t);function d(p,y){let v;const x={...A.useContext(Sc),...p,layoutId:wN(p)},{isStatic:b}=x,_=hN(p),E=s(p,b);if(!b&&vh){bN();const k=SN(x);v=k.MeasureLayout,_.visualElement=yN(o,E,x,e,k.ProjectionNode)}return m.jsxs(Cc.Provider,{value:_,children:[v&&_.visualElement?m.jsx(v,{visualElement:_.visualElement,...x}):null,n(o,p,mN(E,_.visualElement,y),E,b,_.visualElement)]})}d.displayName=`motion.${typeof o=="string"?o:`create(${(c=(l=o.displayName)!==null&&l!==void 0?l:o.name)!==null&&c!==void 0?c:""})`}`;const f=A.forwardRef(d);return f[pN]=o,f}function wN({layoutId:t}){const e=A.useContext(yh).id;return e&&t!==void 0?e+"-"+t:t}function bN(t,e){A.useContext(Vw).strict}function SN(t){const{drag:e,layout:n}=Ei;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const kN=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Eh(t){return typeof t!="string"||t.includes("-")?!1:!!(kN.indexOf(t)>-1||/[A-Z]/u.test(t))}function vv(t){const e=[{},{}];return t==null||t.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Ch(t,e,n,s){if(typeof e=="function"){const[o,l]=vv(s);e=e(n!==void 0?n:t.custom,o,l)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[o,l]=vv(s);e=e(n!==void 0?n:t.custom,o,l)}return e}const Rf=t=>Array.isArray(t),EN=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),CN=t=>Rf(t)?t[t.length-1]||0:t,Pt=t=>!!(t&&t.getVelocity);function Ql(t){const e=Pt(t)?t.get():t;return EN(e)?e.toValue():e}function _N({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},s,o,l){const c={latestValues:TN(s,o,l,t),renderState:e()};return n&&(c.onMount=d=>n({props:s,current:d,...c}),c.onUpdate=d=>n(d)),c}const Kw=t=>(e,n)=>{const s=A.useContext(Cc),o=A.useContext(bc),l=()=>_N(t,e,s,o);return n?l():Ni(l)};function TN(t,e,n,s){const o={},l=s(t,{});for(const x in l)o[x]=Ql(l[x]);let{initial:c,animate:d}=t;const f=Tc(t),p=$w(t);e&&p&&!f&&t.inherit!==!1&&(c===void 0&&(c=e.initial),d===void 0&&(d=e.animate));let y=n?n.initial===!1:!1;y=y||c===!1;const v=y?d:c;if(v&&typeof v!="boolean"&&!_c(v)){const x=Array.isArray(v)?v:[v];for(let b=0;b<x.length;b++){const _=Ch(t,x[b]);if(_){const{transitionEnd:E,transition:k,...S}=_;for(const N in S){let T=S[N];if(Array.isArray(T)){const j=y?T.length-1:0;T=T[j]}T!==null&&(o[N]=T)}for(const N in E)o[N]=E[N]}}}return o}const ji=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],js=new Set(ji),Gw=t=>e=>typeof e=="string"&&e.startsWith(t),Qw=Gw("--"),PN=Gw("var(--"),_h=t=>PN(t)?AN.test(t.split("/*")[0].trim()):!1,AN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Yw=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Fn=(t,e,n)=>n>e?e:n<t?t:n,Oi={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Yo={...Oi,transform:t=>Fn(0,1,t)},Ml={...Oi,default:1},fa=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),_r=fa("deg"),Dn=fa("%"),pe=fa("px"),RN=fa("vh"),NN=fa("vw"),xv={...Dn,parse:t=>Dn.parse(t)/100,transform:t=>Dn.transform(t*100)},jN={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,backgroundPositionX:pe,backgroundPositionY:pe},ON={rotate:_r,rotateX:_r,rotateY:_r,rotateZ:_r,scale:Ml,scaleX:Ml,scaleY:Ml,scaleZ:Ml,skew:_r,skewX:_r,skewY:_r,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:Yo,originX:xv,originY:xv,originZ:pe},wv={...Oi,transform:Math.round},Th={...jN,...ON,zIndex:wv,size:pe,fillOpacity:Yo,strokeOpacity:Yo,numOctaves:wv},LN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},DN=ji.length;function MN(t,e,n){let s="",o=!0;for(let l=0;l<DN;l++){const c=ji[l],d=t[c];if(d===void 0)continue;let f=!0;if(typeof d=="number"?f=d===(c.startsWith("scale")?1:0):f=parseFloat(d)===0,!f||n){const p=Yw(d,Th[c]);if(!f){o=!1;const y=LN[c]||c;s+=`${y}(${p}) `}n&&(e[c]=p)}}return s=s.trim(),n?s=n(e,o?"":s):o&&(s="none"),s}function Ph(t,e,n){const{style:s,vars:o,transformOrigin:l}=t;let c=!1,d=!1;for(const f in e){const p=e[f];if(js.has(f)){c=!0;continue}else if(Qw(f)){o[f]=p;continue}else{const y=Yw(p,Th[f]);f.startsWith("origin")?(d=!0,l[f]=y):s[f]=y}}if(e.transform||(c||n?s.transform=MN(e,t.transform,n):s.transform&&(s.transform="none")),d){const{originX:f="50%",originY:p="50%",originZ:y=0}=l;s.transformOrigin=`${f} ${p} ${y}`}}const IN={offset:"stroke-dashoffset",array:"stroke-dasharray"},FN={offset:"strokeDashoffset",array:"strokeDasharray"};function BN(t,e,n=1,s=0,o=!0){t.pathLength=1;const l=o?IN:FN;t[l.offset]=pe.transform(-s);const c=pe.transform(e),d=pe.transform(n);t[l.array]=`${c} ${d}`}function bv(t,e,n){return typeof t=="string"?t:pe.transform(e+n*t)}function UN(t,e,n){const s=bv(e,t.x,t.width),o=bv(n,t.y,t.height);return`${s} ${o}`}function Ah(t,{attrX:e,attrY:n,attrScale:s,originX:o,originY:l,pathLength:c,pathSpacing:d=1,pathOffset:f=0,...p},y,v){if(Ph(t,p,v),y){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:b,dimensions:_}=t;x.transform&&(_&&(b.transform=x.transform),delete x.transform),_&&(o!==void 0||l!==void 0||b.transform)&&(b.transformOrigin=UN(_,o!==void 0?o:.5,l!==void 0?l:.5)),e!==void 0&&(x.x=e),n!==void 0&&(x.y=n),s!==void 0&&(x.scale=s),c!==void 0&&BN(x,c,d,f,!1)}const Rh=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Xw=()=>({...Rh(),attrs:{}}),Nh=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Jw(t,{style:e,vars:n},s,o){Object.assign(t.style,e,o&&o.getProjectionStyles(s));for(const l in n)t.style.setProperty(l,n[l])}const Zw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function eb(t,e,n,s){Jw(t,e,void 0,s);for(const o in e.attrs)t.setAttribute(Zw.has(o)?o:Sh(o),e.attrs[o])}const lc={};function VN(t){Object.assign(lc,t)}function tb(t,{layout:e,layoutId:n}){return js.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!lc[t]||t==="opacity")}function jh(t,e,n){var s;const{style:o}=t,l={};for(const c in o)(Pt(o[c])||e.style&&Pt(e.style[c])||tb(c,t)||((s=n==null?void 0:n.getValue(c))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(l[c]=o[c]);return l}function nb(t,e,n){const s=jh(t,e,n);for(const o in t)if(Pt(t[o])||Pt(e[o])){const l=ji.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[l]=t[o]}return s}function zN(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}const Sv=["x","y","width","height","cx","cy","r"],$N={useVisualState:Kw({scrapeMotionValuesFromProps:nb,createRenderState:Xw,onUpdate:({props:t,prevProps:e,current:n,renderState:s,latestValues:o})=>{if(!n)return;let l=!!t.drag;if(!l){for(const d in o)if(js.has(d)){l=!0;break}}if(!l)return;let c=!e;if(e)for(let d=0;d<Sv.length;d++){const f=Sv[d];t[f]!==e[f]&&(c=!0)}c&&Me.read(()=>{zN(n,s),Me.render(()=>{Ah(s,o,Nh(n.tagName),t.transformTemplate),eb(n,s)})})}})},WN={useVisualState:Kw({scrapeMotionValuesFromProps:jh,createRenderState:Rh})};function rb(t,e,n){for(const s in e)!Pt(e[s])&&!tb(s,n)&&(t[s]=e[s])}function HN({transformTemplate:t},e){return A.useMemo(()=>{const n=Rh();return Ph(n,e,t),Object.assign({},n.vars,n.style)},[e])}function qN(t,e){const n=t.style||{},s={};return rb(s,n,t),Object.assign(s,HN(t,e)),s}function KN(t,e){const n={},s=qN(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}function GN(t,e,n,s){const o=A.useMemo(()=>{const l=Xw();return Ah(l,e,Nh(s),t.transformTemplate),{...l.attrs,style:{...l.style}}},[e]);if(t.style){const l={};rb(l,t.style,t),o.style={...l,...o.style}}return o}function QN(t=!1){return(n,s,o,{latestValues:l},c)=>{const f=(Eh(n)?GN:KN)(s,l,c,n),p=uN(s,typeof n=="string",t),y=n!==A.Fragment?{...p,...f,ref:o}:{},{children:v}=s,x=A.useMemo(()=>Pt(v)?v.get():v,[v]);return A.createElement(n,{...y,children:x})}}function YN(t,e){return function(s,{forwardMotionProps:o}={forwardMotionProps:!1}){const c={...Eh(s)?$N:WN,preloadedFeatures:t,useRender:QN(o),createVisualElement:e,Component:s};return xN(c)}}function sb(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;return!0}function Pc(t,e,n){const s=t.getProps();return Ch(s,e,n!==void 0?n:s.custom,t)}const ib=xh(()=>window.ScrollTimeline!==void 0);class XN{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;s<this.animations.length;s++)this.animations[s][e]=n}attachTimeline(e,n){const s=this.animations.map(o=>{if(ib()&&o.attachTimeline)return o.attachTimeline(e);if(typeof n=="function")return n(o)});return()=>{s.forEach((o,l)=>{o&&o(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class JN extends XN{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function Oh(t,e){return t?t[e]||t.default||t:void 0}const Nf=2e4;function ob(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<Nf;)e+=n,s=t.next(e);return e>=Nf?1/0:e}function Lh(t){return typeof t=="function"}function kv(t,e){t.timeline=e,t.onfinish=null}const Dh=t=>Array.isArray(t)&&typeof t[0]=="number",ZN={linearEasing:void 0};function ej(t,e){const n=xh(t);return()=>{var s;return(s=ZN[e])!==null&&s!==void 0?s:n()}}const cc=ej(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ab=(t,e,n=10)=>{let s="";const o=Math.max(Math.round(e/n),2);for(let l=0;l<o;l++)s+=t(Ps(0,o-1,l))+", ";return`linear(${s.substring(0,s.length-2)})`};function lb(t){return!!(typeof t=="function"&&cc()||!t||typeof t=="string"&&(t in jf||cc())||Dh(t)||Array.isArray(t)&&t.every(lb))}const Oo=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,jf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Oo([0,.65,.55,1]),circOut:Oo([.55,0,1,.45]),backIn:Oo([.31,.01,.66,-.59]),backOut:Oo([.33,1.53,.69,.99])};function cb(t,e){if(t)return typeof t=="function"&&cc()?ab(t,e):Dh(t)?Oo(t):Array.isArray(t)?t.map(n=>cb(n,e)||jf.easeOut):jf[t]}const xn={x:!1,y:!1};function ub(){return xn.x||xn.y}function Mh(t,e,n){var s;if(t instanceof Element)return[t];if(typeof t=="string"){let o=document;const l=(s=void 0)!==null&&s!==void 0?s:o.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}function db(t,e){const n=Mh(t),s=new AbortController,o={passive:!0,...e,signal:s.signal};return[n,o,()=>s.abort()]}function Ev(t){return e=>{e.pointerType==="touch"||ub()||t(e)}}function tj(t,e,n={}){const[s,o,l]=db(t,n),c=Ev(d=>{const{target:f}=d,p=e(d);if(typeof p!="function"||!f)return;const y=Ev(v=>{p(v),f.removeEventListener("pointerleave",y)});f.addEventListener("pointerleave",y,o)});return s.forEach(d=>{d.addEventListener("pointerenter",c,o)}),l}const fb=(t,e)=>e?t===e?!0:fb(t,e.parentElement):!1,Ih=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,nj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function rj(t){return nj.has(t.tagName)||t.tabIndex!==-1}const Lo=new WeakSet;function Cv(t){return e=>{e.key==="Enter"&&t(e)}}function Ud(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const sj=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Cv(()=>{if(Lo.has(n))return;Ud(n,"down");const o=Cv(()=>{Ud(n,"up")}),l=()=>Ud(n,"cancel");n.addEventListener("keyup",o,e),n.addEventListener("blur",l,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function _v(t){return Ih(t)&&!ub()}function ij(t,e,n={}){const[s,o,l]=db(t,n),c=d=>{const f=d.currentTarget;if(!_v(d)||Lo.has(f))return;Lo.add(f);const p=e(d),y=(b,_)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),!(!_v(b)||!Lo.has(f))&&(Lo.delete(f),typeof p=="function"&&p(b,{success:_}))},v=b=>{y(b,n.useGlobalTarget||fb(f,b.target))},x=b=>{y(b,!1)};window.addEventListener("pointerup",v,o),window.addEventListener("pointercancel",x,o)};return s.forEach(d=>{!rj(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0),(n.useGlobalTarget?window:d).addEventListener("pointerdown",c,o),d.addEventListener("focus",p=>sj(p,o),o)}),l}function oj(t){return t==="x"||t==="y"?xn[t]?null:(xn[t]=!0,()=>{xn[t]=!1}):xn.x||xn.y?null:(xn.x=xn.y=!0,()=>{xn.x=xn.y=!1})}const hb=new Set(["width","height","top","left","right","bottom",...ji]);let Yl;function aj(){Yl=void 0}const Mn={now:()=>(Yl===void 0&&Mn.set(ht.isProcessing||sN.useManualTiming?ht.timestamp:performance.now()),Yl),set:t=>{Yl=t,queueMicrotask(aj)}};function Fh(t,e){t.indexOf(e)===-1&&t.push(e)}function Bh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Uh{constructor(){this.subscriptions=[]}add(e){return Fh(this.subscriptions,e),()=>Bh(this.subscriptions,e)}notify(e,n,s){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](e,n,s);else for(let l=0;l<o;l++){const c=this.subscriptions[l];c&&c(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Vh(t,e){return e?t*(1e3/e):0}const Tv=30,lj=t=>!isNaN(parseFloat(t)),Fo={current:void 0};class cj{constructor(e,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,o=!0)=>{const l=Mn.now();this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Mn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=lj(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Uh);const s=this.events[e].add(n);return e==="change"?()=>{s(),Me.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Fo.current&&Fo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Tv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Tv);return Vh(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function On(t,e){return new cj(t,e)}function uj(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,On(n))}function dj(t,e){const n=Pc(t,e);let{transitionEnd:s={},transition:o={},...l}=n||{};l={...l,...s};for(const c in l){const d=CN(l[c]);uj(t,c,d)}}function fj(t){return!!(Pt(t)&&t.add)}function Of(t,e){const n=t.getValue("willChange");if(fj(n))return n.add(e)}function pb(t){return t.props[Ww]}const mb=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,hj=1e-7,pj=12;function mj(t,e,n,s,o){let l,c,d=0;do c=e+(n-e)/2,l=mb(c,s,o)-t,l>0?n=c:e=c;while(Math.abs(l)>hj&&++d<pj);return c}function ha(t,e,n,s){if(t===e&&n===s)return Ot;const o=l=>mj(l,0,1,t,n);return l=>l===0||l===1?l:mb(o(l),e,s)}const gb=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,yb=t=>e=>1-t(1-e),vb=ha(.33,1.53,.69,.99),zh=yb(vb),xb=gb(zh),wb=t=>(t*=2)<1?.5*zh(t):.5*(2-Math.pow(2,-10*(t-1))),$h=t=>1-Math.sin(Math.acos(t)),bb=yb($h),Sb=gb($h),kb=t=>/^0[^.\s]+$/u.test(t);function gj(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||kb(t):!0}const Bo=t=>Math.round(t*1e5)/1e5,Wh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function yj(t){return t==null}const vj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Hh=(t,e)=>n=>!!(typeof n=="string"&&vj.test(n)&&n.startsWith(t)||e&&!yj(n)&&Object.prototype.hasOwnProperty.call(n,e)),Eb=(t,e,n)=>s=>{if(typeof s!="string")return s;const[o,l,c,d]=s.match(Wh);return{[t]:parseFloat(o),[e]:parseFloat(l),[n]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},xj=t=>Fn(0,255,t),Vd={...Oi,transform:t=>Math.round(xj(t))},ds={test:Hh("rgb","red"),parse:Eb("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+Vd.transform(t)+", "+Vd.transform(e)+", "+Vd.transform(n)+", "+Bo(Yo.transform(s))+")"};function wj(t){let e="",n="",s="",o="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),o=t.substring(4,5),e+=e,n+=n,s+=s,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:o?parseInt(o,16)/255:1}}const Lf={test:Hh("#"),parse:wj,transform:ds.transform},oi={test:Hh("hsl","hue"),parse:Eb("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+Dn.transform(Bo(e))+", "+Dn.transform(Bo(n))+", "+Bo(Yo.transform(s))+")"},Tt={test:t=>ds.test(t)||Lf.test(t)||oi.test(t),parse:t=>ds.test(t)?ds.parse(t):oi.test(t)?oi.parse(t):Lf.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ds.transform(t):oi.transform(t)},bj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Sj(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Wh))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(bj))===null||n===void 0?void 0:n.length)||0)>0}const Cb="number",_b="color",kj="var",Ej="var(",Pv="${}",Cj=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Xo(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},o=[];let l=0;const d=e.replace(Cj,f=>(Tt.test(f)?(s.color.push(l),o.push(_b),n.push(Tt.parse(f))):f.startsWith(Ej)?(s.var.push(l),o.push(kj),n.push(f)):(s.number.push(l),o.push(Cb),n.push(parseFloat(f))),++l,Pv)).split(Pv);return{values:n,split:d,indexes:s,types:o}}function Tb(t){return Xo(t).values}function Pb(t){const{split:e,types:n}=Xo(t),s=e.length;return o=>{let l="";for(let c=0;c<s;c++)if(l+=e[c],o[c]!==void 0){const d=n[c];d===Cb?l+=Bo(o[c]):d===_b?l+=Tt.transform(o[c]):l+=o[c]}return l}}const _j=t=>typeof t=="number"?0:t;function Tj(t){const e=Tb(t);return Pb(t)(e.map(_j))}const Ur={test:Sj,parse:Tb,createTransformer:Pb,getAnimatableNone:Tj},Pj=new Set(["brightness","contrast","saturate","opacity"]);function Aj(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Wh)||[];if(!s)return t;const o=n.replace(s,"");let l=Pj.has(e)?1:0;return s!==n&&(l*=100),e+"("+l+o+")"}const Rj=/\b([a-z-]*)\(.*?\)/gu,Df={...Ur,getAnimatableNone:t=>{const e=t.match(Rj);return e?e.map(Aj).join(" "):t}},Nj={...Th,color:Tt,backgroundColor:Tt,outlineColor:Tt,fill:Tt,stroke:Tt,borderColor:Tt,borderTopColor:Tt,borderRightColor:Tt,borderBottomColor:Tt,borderLeftColor:Tt,filter:Df,WebkitFilter:Df},qh=t=>Nj[t];function Ab(t,e){let n=qh(t);return n!==Df&&(n=Ur),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const jj=new Set(["auto","none","0"]);function Oj(t,e,n){let s=0,o;for(;s<t.length&&!o;){const l=t[s];typeof l=="string"&&!jj.has(l)&&Xo(l).values.length&&(o=t[s]),s++}if(o&&n)for(const l of e)t[l]=Ab(n,o)}const Av=t=>t===Oi||t===pe,Rv=(t,e)=>parseFloat(t.split(", ")[e]),Nv=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const o=s.match(/^matrix3d\((.+)\)$/u);if(o)return Rv(o[1],e);{const l=s.match(/^matrix\((.+)\)$/u);return l?Rv(l[1],t):0}},Lj=new Set(["x","y","z"]),Dj=ji.filter(t=>!Lj.has(t));function Mj(t){const e=[];return Dj.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const Ci={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Nv(4,13),y:Nv(5,14)};Ci.translateX=Ci.x;Ci.translateY=Ci.y;const ks=new Set;let Mf=!1,If=!1;function Rb(){if(If){const t=Array.from(ks).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const o=Mj(s);o.length&&(n.set(s,o),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const o=n.get(s);o&&o.forEach(([l,c])=>{var d;(d=s.getValue(l))===null||d===void 0||d.set(c)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}If=!1,Mf=!1,ks.forEach(t=>t.complete()),ks.clear()}function Nb(){ks.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(If=!0)})}
vendor: 12,269 bytes, line 229
229function Ij(){Nb(),Rb()}class Kh{constructor(e,n,s,o,l,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=o,this.element=l,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ks.add(this),Mf||(Mf=!0,Me.read(Nb),Me.resolveKeyframes(Rb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:o}=this;for(let l=0;l<e.length;l++)if(e[l]===null)if(l===0){const c=o==null?void 0:o.get(),d=e[e.length-1];if(c!==void 0)e[0]=c;else if(s&&n){const f=s.readValue(n,d);f!=null&&(e[0]=f)}e[0]===void 0&&(e[0]=d),o&&c===void 0&&o.set(e[0])}else e[l]=e[l-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ks.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ks.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const jb=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Fj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Bj(t){const e=Fj.exec(t);if(!e)return[,];const[,n,s,o]=e;return[`--${n??s}`,o]}function Ob(t,e,n=1){const[s,o]=Bj(t);if(!s)return;const l=window.getComputedStyle(e).getPropertyValue(s);if(l){const c=l.trim();return jb(c)?parseFloat(c):c}return _h(o)?Ob(o,e,n+1):o}const Lb=t=>e=>e.test(t),Uj={test:t=>t==="auto",parse:t=>t},Db=[Oi,pe,Dn,_r,NN,RN,Uj],jv=t=>Db.find(Lb(t));class Mb extends Kh{constructor(e,n,s,o,l){super(e,n,s,o,l,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<e.length;f++){let p=e[f];if(typeof p=="string"&&(p=p.trim(),_h(p))){const y=Ob(p,n.current);y!==void 0&&(e[f]=y),f===e.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!hb.has(s)||e.length!==2)return;const[o,l]=e,c=jv(o),d=jv(l);if(c!==d)if(Av(c)&&Av(d))for(let f=0;f<e.length;f++){const p=e[f];typeof p=="string"&&(e[f]=parseFloat(p))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let o=0;o<e.length;o++)gj(e[o])&&s.push(o);s.length&&Oj(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ci[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&e.getValue(s,o).jump(o,!1)}measureEndState(){var e;const{element:n,name:s,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const l=n.getValue(s);l&&l.jump(this.measuredOrigin,!1);const c=o.length-1,d=o[c];o[c]=Ci[s](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([f,p])=>{n.getValue(f).set(p)}),this.resolveNoneKeyframes()}}const Ov=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ur.test(t)||t==="0")&&!t.startsWith("url("));function Vj(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function zj(t,e,n,s){const o=t[0];if(o===null)return!1;if(e==="display"||e==="visibility")return!0;const l=t[t.length-1],c=Ov(o,e),d=Ov(l,e);return!c||!d?!1:Vj(t)||(n==="spring"||Lh(n))&&s}const $j=t=>t!==null;function Ac(t,{repeat:e,repeatType:n="loop"},s){const o=t.filter($j),l=e&&n!=="loop"&&e%2===1?0:o.length-1;return!l||s===void 0?o[l]:s}const Wj=40;class Ib{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:o=0,repeatDelay:l=0,repeatType:c="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Mn.now(),this.options={autoplay:e,delay:n,type:s,repeat:o,repeatDelay:l,repeatType:c,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Wj?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Ij(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=Mn.now(),this.hasAttemptedResolve=!0;const{name:s,type:o,velocity:l,delay:c,onComplete:d,onUpdate:f,isGenerator:p}=this.options;if(!p&&!zj(e,s,o,l))if(c)this.options.duration=0;else{f&&f(Ac(e,this.options,n)),d&&d(),this.resolveFinishedPromise();return}const y=this.initPlayback(e,n);y!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...y},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const Ke=(t,e,n)=>t+(e-t)*n;function zd(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Hj({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let o=0,l=0,c=0;if(!e)o=l=c=n;else{const d=n<.5?n*(1+e):n+e-n*e,f=2*n-d;o=zd(f,d,t+1/3),l=zd(f,d,t),c=zd(f,d,t-1/3)}return{red:Math.round(o*255),green:Math.round(l*255),blue:Math.round(c*255),alpha:s}}function uc(t,e){return n=>n>0?e:t}const $d=(t,e,n)=>{const s=t*t,o=n*(e*e-s)+s;return o<0?0:Math.sqrt(o)},qj=[Lf,ds,oi],Kj=t=>qj.find(e=>e.test(t));function Lv(t){const e=Kj(t);if(!e)return!1;let n=e.parse(t);return e===oi&&(n=Hj(n)),n}const Dv=(t,e)=>{const n=Lv(t),s=Lv(e);if(!n||!s)return uc(t,e);const o={...n};return l=>(o.red=$d(n.red,s.red,l),o.green=$d(n.green,s.green,l),o.blue=$d(n.blue,s.blue,l),o.alpha=Ke(n.alpha,s.alpha,l),ds.transform(o))},Gj=(t,e)=>n=>e(t(n)),pa=(...t)=>t.reduce(Gj),Ff=new Set(["none","hidden"]);function Qj(t,e){return Ff.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Yj(t,e){return n=>Ke(t,e,n)}function Gh(t){return typeof t=="number"?Yj:typeof t=="string"?_h(t)?uc:Tt.test(t)?Dv:Zj:Array.isArray(t)?Fb:typeof t=="object"?Tt.test(t)?Dv:Xj:uc}function Fb(t,e){const n=[...t],s=n.length,o=t.map((l,c)=>Gh(l)(l,e[c]));return l=>{for(let c=0;c<s;c++)n[c]=o[c](l);return n}}function Xj(t,e){const n={...t,...e},s={};for(const o in n)t[o]!==void 0&&e[o]!==void 0&&(s[o]=Gh(t[o])(t[o],e[o]));return o=>{for(const l in s)n[l]=s[l](o);return n}}function Jj(t,e){var n;const s=[],o={color:0,var:0,number:0};for(let l=0;l<e.values.length;l++){const c=e.types[l],d=t.indexes[c][o[c]],f=(n=t.values[d])!==null&&n!==void 0?n:0;s[l]=f,o[c]++}return s}const Zj=(t,e)=>{const n=Ur.createTransformer(e),s=Xo(t),o=Xo(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?Ff.has(t)&&!o.values.length||Ff.has(e)&&!s.values.length?Qj(t,e):pa(Fb(Jj(s,o),o.values),n):uc(t,e)};function Bb(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Ke(t,e,n):Gh(t)(t,e)}const e2=5;function Ub(t,e,n){const s=Math.max(e-e2,0);return Vh(n-t(s),e-s)}const Ye={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Wd=.001;function t2({duration:t=Ye.duration,bounce:e=Ye.bounce,velocity:n=Ye.velocity,mass:s=Ye.mass}){let o,l,c=1-e;c=Fn(Ye.minDamping,Ye.maxDamping,c),t=Fn(Ye.minDuration,Ye.maxDuration,er(t)),c<1?(o=p=>{const y=p*c,v=y*t,x=y-n,b=Bf(p,c),_=Math.exp(-v);return Wd-x/b*_},l=p=>{const v=p*c*t,x=v*n+n,b=Math.pow(c,2)*Math.pow(p,2)*t,_=Math.exp(-v),E=Bf(Math.pow(p,2),c);return(-o(p)+Wd>0?-1:1)*((x-b)*_)/E}):(o=p=>{const y=Math.exp(-p*t),v=(p-n)*t+1;return-Wd+y*v},l=p=>{const y=Math.exp(-p*t),v=(n-p)*(t*t);return y*v});const d=5/t,f=r2(o,l,d);if(t=Zn(t),isNaN(f))return{stiffness:Ye.stiffness,damping:Ye.damping,duration:t};{const p=Math.pow(f,2)*s;return{stiffness:p,damping:c*2*Math.sqrt(s*p),duration:t}}}const n2=12;function r2(t,e,n){let s=n;for(let o=1;o<n2;o++)s=s-t(s)/e(s);return s}function Bf(t,e){return t*Math.sqrt(1-e*e)}const s2=["duration","bounce"],i2=["stiffness","damping","mass"];function Mv(t,e){return e.some(n=>t[n]!==void 0)}function o2(t){let e={velocity:Ye.velocity,stiffness:Ye.stiffness,damping:Ye.damping,mass:Ye.mass,isResolvedFromDuration:!1,...t};if(!Mv(t,i2)&&Mv(t,s2))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),o=s*s,l=2*Fn(.05,1,1-(t.bounce||0))*Math.sqrt(o);e={...e,mass:Ye.mass,stiffness:o,damping:l}}else{const n=t2(t);e={...e,...n,mass:Ye.mass},e.isResolvedFromDuration=!0}return e}function Vb(t=Ye.visualDuration,e=Ye.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:o}=n;const l=n.keyframes[0],c=n.keyframes[n.keyframes.length-1],d={done:!1,value:l},{stiffness:f,damping:p,mass:y,duration:v,velocity:x,isResolvedFromDuration:b}=o2({...n,velocity:-er(n.velocity||0)}),_=x||0,E=p/(2*Math.sqrt(f*y)),k=c-l,S=er(Math.sqrt(f/y)),N=Math.abs(k)<5;s||(s=N?Ye.restSpeed.granular:Ye.restSpeed.default),o||(o=N?Ye.restDelta.granular:Ye.restDelta.default);let T;if(E<1){const F=Bf(S,E);T=z=>{const Y=Math.exp(-E*S*z);return c-Y*((_+E*S*k)/F*Math.sin(F*z)+k*Math.cos(F*z))}}else if(E===1)T=F=>c-Math.exp(-S*F)*(k+(_+S*k)*F);else{const F=S*Math.sqrt(E*E-1);T=z=>{const Y=Math.exp(-E*S*z),U=Math.min(F*z,300);return c-Y*((_+E*S*k)*Math.sinh(U)+F*k*Math.cosh(U))/F}}const j={calculatedDuration:b&&v||null,next:F=>{const z=T(F);if(b)d.done=F>=v;else{let Y=0;E<1&&(Y=F===0?Zn(_):Ub(T,F,z));const U=Math.abs(Y)<=s,Z=Math.abs(c-z)<=o;d.done=U&&Z}return d.value=d.done?c:z,d},toString:()=>{const F=Math.min(ob(j),Nf),z=ab(Y=>j.next(F*Y).value,F,30);return F+"ms "+z}};return j}function Iv({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:l=500,modifyTarget:c,min:d,max:f,restDelta:p=.5,restSpeed:y}){const v=t[0],x={done:!1,value:v},b=U=>d!==void 0&&U<d||f!==void 0&&U>f,_=U=>d===void 0?f:f===void 0||Math.abs(d-U)<Math.abs(f-U)?d:f;let E=n*e;const k=v+E,S=c===void 0?k:c(k);S!==k&&(E=S-v);const N=U=>-E*Math.exp(-U/s),T=U=>S+N(U),j=U=>{const Z=N(U),le=T(U);x.done=Math.abs(Z)<=p,x.value=x.done?S:le};let F,z;const Y=U=>{b(x.value)&&(F=U,z=Vb({keyframes:[x.value,_(x.value)],velocity:Ub(T,U,x.value),damping:o,stiffness:l,restDelta:p,restSpeed:y}))};return Y(0),{calculatedDuration:null,next:U=>{let Z=!1;return!z&&F===void 0&&(Z=!0,j(U),Y(U)),F!==void 0&&U>=F?z.next(U-F):(!Z&&j(U),x)}}}const a2=ha(.42,0,1,1),l2=ha(0,0,.58,1),zb=ha(.42,0,.58,1),c2=t=>Array.isArray(t)&&typeof t[0]!="number",u2={linear:Ot,easeIn:a2,easeInOut:zb,easeOut:l2,circIn:$h,circInOut:Sb,circOut:bb,backIn:zh,backInOut:xb,backOut:vb,anticipate:wb},Fv=t=>{if(Dh(t)){Bw(t.length===4);const[e,n,s,o]=t;return ha(e,n,s,o)}else if(typeof t=="string")return u2[t];return t};function d2(t,e,n){const s=[],o=n||Bb,l=t.length-1;for(let c=0;c<l;c++){let d=o(t[c],t[c+1]);if(e){const f=Array.isArray(e)?e[c]||Ot:e;d=pa(f,d)}s.push(d)}return s}function Qh(t,e,{clamp:n=!0,ease:s,mixer:o}={}){const l=t.length;if(Bw(l===e.length),l===1)return()=>e[0];if(l===2&&e[0]===e[1])return()=>e[1];const c=t[0]===t[1];t[0]>t[l-1]&&(t=[...t].reverse(),e=[...e].reverse());const d=d2(e,s,o),f=d.length,p=y=>{if(c&&y<t[0])return e[0];let v=0;if(f>1)for(;v<t.length-2&&!(y<t[v+1]);v++);const x=Ps(t[v],t[v+1],y);return d[v](x)};return n?y=>p(Fn(t[0],t[l-1],y)):p}function f2(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const o=Ps(0,e,s);t.push(Ke(n,1,o))}}function $b(t){const e=[0];return f2(e,t.length-1),e}function h2(t,e){return t.map(n=>n*e)}function p2(t,e){return t.map(()=>e||zb).splice(0,t.length-1)}function dc({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const o=c2(s)?s.map(Fv):Fv(s),l={done:!1,value:e[0]},c=h2(n&&n.length===e.length?n:$b(e),t),d=Qh(c,e,{ease:Array.isArray(o)?o:p2(e,o)});return{calculatedDuration:t,next:f=>(l.value=d(f),l.done=f>=t,l)}}const m2=t=>{const e=({timestamp:n})=>t(n);return{start:()=>Me.update(e,!0),stop:()=>kn(e),now:()=>ht.isProcessing?ht.timestamp:Mn.now()}},g2={decay:Iv,inertia:Iv,tween:dc,keyframes:dc,spring:Vb},y2=t=>t/100;class Yh extends Ib{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
vendor: 57,013 bytes, line 229
229{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:s,element:o,keyframes:l}=this.options,c=(o==null?void 0:o.KeyframeResolver)||Kh,d=(f,p)=>this.onKeyframesResolved(f,p);this.resolver=new c(l,d,n,s,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:l,velocity:c=0}=this.options,d=Lh(n)?n:g2[n]||dc;let f,p;d!==dc&&typeof e[0]!="number"&&(f=pa(y2,Bb(e[0],e[1])),e=[0,100]);const y=d({...this.options,keyframes:e});l==="mirror"&&(p=d({...this.options,keyframes:[...e].reverse(),velocity:-c})),y.calculatedDuration===null&&(y.calculatedDuration=ob(y));const{calculatedDuration:v}=y,x=v+o,b=x*(s+1)-o;return{generator:y,mirroredGenerator:p,mapPercentToKeyframes:f,calculatedDuration:v,resolvedDuration:x,totalDuration:b}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:s}=this;if(!s){const{keyframes:U}=this.options;return{done:!0,value:U[U.length-1]}}const{finalKeyframe:o,generator:l,mirroredGenerator:c,mapPercentToKeyframes:d,keyframes:f,calculatedDuration:p,totalDuration:y,resolvedDuration:v}=s;if(this.startTime===null)return l.next(0);const{delay:x,repeat:b,repeatType:_,repeatDelay:E,onUpdate:k}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-y/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const S=this.currentTime-x*(this.speed>=0?1:-1),N=this.speed>=0?S<0:S>y;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let T=this.currentTime,j=l;if(b){const U=Math.min(this.currentTime,y)/v;let Z=Math.floor(U),le=U%1;!le&&U>=1&&(le=1),le===1&&Z--,Z=Math.min(Z,b+1),!!(Z%2)&&(_==="reverse"?(le=1-le,E&&(le-=E/v)):_==="mirror"&&(j=c)),T=Fn(0,1,le)*v}const F=N?{done:!1,value:f[0]}:j.next(T);d&&(F.value=d(F.value));let{done:z}=F;!N&&p!==null&&(z=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const Y=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&z);return Y&&o!==void 0&&(F.value=Ac(f,this.options,o)),k&&k(F.value),Y&&this.finish(),F}get duration(){const{resolved:e}=this;return e?er(e.calculatedDuration):0}get time(){return er(this.currentTime)}set time(e){e=Zn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=er(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=m2,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=e(l=>this.tick(l))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const v2=new Set(["opacity","clipPath","filter","transform"]);function x2(t,e,n,{delay:s=0,duration:o=300,repeat:l=0,repeatType:c="loop",ease:d="easeInOut",times:f}={}){const p={[e]:n};f&&(p.offset=f);const y=cb(d,o);return Array.isArray(y)&&(p.easing=y),t.animate(p,{delay:s,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:l+1,direction:c==="reverse"?"alternate":"normal"})}const w2=xh(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),fc=10,b2=2e4;function S2(t){return Lh(t.type)||t.type==="spring"||!lb(t.ease)}function k2(t,e){const n=new Yh({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const o=[];let l=0;for(;!s.done&&l<b2;)s=n.sample(l),o.push(s.value),l+=fc;return{times:void 0,keyframes:o,duration:l-fc,ease:"linear"}}const Wb={anticipate:wb,backInOut:xb,circInOut:Sb};function E2(t){return t in Wb}class Bv extends Ib{constructor(e){super(e);const{name:n,motionValue:s,element:o,keyframes:l}=this.options;this.resolver=new Mb(l,(c,d)=>this.onKeyframesResolved(c,d),n,s,o),this.resolver.scheduleResolve()}initPlayback(e,n){let{duration:s=300,times:o,ease:l,type:c,motionValue:d,name:f,startTime:p}=this.options;if(!d.owner||!d.owner.current)return!1;if(typeof l=="string"&&cc()&&E2(l)&&(l=Wb[l]),S2(this.options)){const{onComplete:v,onUpdate:x,motionValue:b,element:_,...E}=this.options,k=k2(e,E);e=k.keyframes,e.length===1&&(e[1]=e[0]),s=k.duration,o=k.times,l=k.ease,c="keyframes"}const y=x2(d.owner.current,f,e,{...this.options,duration:s,times:o,ease:l});return y.startTime=p??this.calcStartTime(),this.pendingTimeline?(kv(y,this.pendingTimeline),this.pendingTimeline=void 0):y.onfinish=()=>{const{onComplete:v}=this.options;d.set(Ac(e,this.options,n)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:y,duration:s,times:o,type:c,ease:l,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return er(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return er(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=Zn(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Ot;const{animation:s}=n;kv(s,e)}return Ot}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:s,duration:o,type:l,ease:c,times:d}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:p,onUpdate:y,onComplete:v,element:x,...b}=this.options,_=new Yh({...b,keyframes:s,duration:o,type:l,ease:c,times:d,isGenerator:!0}),E=Zn(this.time);p.setWithVelocity(_.sample(E-fc).value,_.sample(E).value,fc)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:s,repeatDelay:o,repeatType:l,damping:c,type:d}=e;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:p}=n.owner.getProps();return w2()&&s&&v2.has(s)&&!f&&!p&&!o&&l!=="mirror"&&c!==0&&d!=="inertia"}}const C2={type:"spring",stiffness:500,damping:25,restSpeed:10},_2=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),T2={type:"keyframes",duration:.8},P2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},A2=(t,{keyframes:e})=>e.length>2?T2:js.has(t)?t.startsWith("scale")?_2(e[1]):C2:P2;function R2({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:o,repeat:l,repeatType:c,repeatDelay:d,from:f,elapsed:p,...y}){return!!Object.keys(y).length}const Xh=(t,e,n,s={},o,l)=>c=>{const d=Oh(s,t)||{},f=d.delay||s.delay||0;let{elapsed:p=0}=s;p=p-Zn(f);let y={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:x=>{e.set(x),d.onUpdate&&d.onUpdate(x)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:l?void 0:o};R2(d)||(y={...y,...A2(t,y)}),y.duration&&(y.duration=Zn(y.duration)),y.repeatDelay&&(y.repeatDelay=Zn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(v=!0)),v&&!l&&e.get()!==void 0){const x=Ac(y.keyframes,d);if(x!==void 0)return Me.update(()=>{y.onUpdate(x),y.onComplete()}),new JN([])}return!l&&Bv.supports(y)?new Bv(y):new Yh(y)};function N2({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function Hb(t,e,{delay:n=0,transitionOverride:s,type:o}={}){var l;let{transition:c=t.getDefaultTransition(),transitionEnd:d,...f}=e;s&&(c=s);const p=[],y=o&&t.animationState&&t.animationState.getState()[o];for(const v in f){const x=t.getValue(v,(l=t.latestValues[v])!==null&&l!==void 0?l:null),b=f[v];if(b===void 0||y&&N2(y,v))continue;const _={delay:n,...Oh(c||{},v)};let E=!1;if(window.MotionHandoffAnimation){const S=pb(t);if(S){const N=window.MotionHandoffAnimation(S,v,Me);N!==null&&(_.startTime=N,E=!0)}}Of(t,v),x.start(Xh(v,x,b,t.shouldReduceMotion&&hb.has(v)?{type:!1}:_,t,E));const k=x.animation;k&&p.push(k)}return d&&Promise.all(p).then(()=>{Me.update(()=>{d&&dj(t,d)})}),p}function Uf(t,e,n={}){var s;const o=Pc(t,e,n.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(l=n.transitionOverride);const c=o?()=>Promise.all(Hb(t,o,n)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:x}=l;return j2(t,e,y+p,v,x,n)}:()=>Promise.resolve(),{when:f}=l;if(f){const[p,y]=f==="beforeChildren"?[c,d]:[d,c];return p().then(()=>y())}else return Promise.all([c(),d(n.delay)])}function j2(t,e,n=0,s=0,o=1,l){const c=[],d=(t.variantChildren.size-1)*s,f=o===1?(p=0)=>p*s:(p=0)=>d-p*s;return Array.from(t.variantChildren).sort(O2).forEach((p,y)=>{p.notify("AnimationStart",e),c.push(Uf(p,e,{...l,delay:n+f(y)}).then(()=>p.notify("AnimationComplete",e)))}),Promise.all(c)}function O2(t,e){return t.sortNodePosition(e)}function L2(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const o=e.map(l=>Uf(t,l,n));s=Promise.all(o)}else if(typeof e=="string")s=Uf(t,e,n);else{const o=typeof e=="function"?Pc(t,e,n.custom):e;s=Promise.all(Hb(t,o,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const D2=bh.length;function qb(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?qb(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<D2;n++){const s=bh[n],o=t.props[s];(Qo(o)||o===!1)&&(e[s]=o)}return e}const M2=[...wh].reverse(),I2=wh.length;function F2(t){return e=>Promise.all(e.map(({animation:n,options:s})=>L2(t,n,s)))}function B2(t){let e=F2(t),n=Uv(),s=!0;const o=f=>(p,y)=>{var v;const x=Pc(t,y,f==="exit"?(v=t.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(x){const{transition:b,transitionEnd:_,...E}=x;p={...p,...E,..._}}return p};function l(f){e=f(t)}function c(f){const{props:p}=t,y=qb(t.parent)||{},v=[],x=new Set;let b={},_=1/0;for(let k=0;k<I2;k++){const S=M2[k],N=n[S],T=p[S]!==void 0?p[S]:y[S],j=Qo(T),F=S===f?N.isActive:null;F===!1&&(_=k);let z=T===y[S]&&T!==p[S]&&j;if(z&&s&&t.manuallyAnimateOnMount&&(z=!1),N.protectedKeys={...b},!N.isActive&&F===null||!T&&!N.prevProp||_c(T)||typeof T=="boolean")continue;const Y=U2(N.prevProp,T);let U=Y||S===f&&N.isActive&&!z&&j||k>_&&j,Z=!1;const le=Array.isArray(T)?T:[T];let Se=le.reduce(o(S),{});F===!1&&(Se={});const{prevResolvedValues:De={}}=N,ke={...De,...Se},_e=he=>{U=!0,x.has(he)&&(Z=!0,x.delete(he)),N.needsAnimating[he]=!0;const G=t.getValue(he);G&&(G.liveStyle=!1)};for(const he in ke){const G=Se[he],oe=De[he];if(b.hasOwnProperty(he))continue;let V=!1;Rf(G)&&Rf(oe)?V=!sb(G,oe):V=G!==oe,V?G!=null?_e(he):x.add(he):G!==void 0&&x.has(he)?_e(he):N.protectedKeys[he]=!0}N.prevProp=T,N.prevResolvedValues=Se,N.isActive&&(b={...b,...Se}),s&&t.blockInitialAnimation&&(U=!1),U&&(!(z&&Y)||Z)&&v.push(...le.map(he=>({animation:he,options:{type:S}})))}if(x.size){const k={};x.forEach(S=>{const N=t.getBaseTarget(S),T=t.getValue(S);T&&(T.liveStyle=!0),k[S]=N??null}),v.push({animation:k})}let E=!!v.length;return s&&(p.initial===!1||p.initial===p.animate)&&!t.manuallyAnimateOnMount&&(E=!1),s=!1,E?e(v):Promise.resolve()}function d(f,p){var y;if(n[f].isActive===p)return Promise.resolve();(y=t.variantChildren)===null||y===void 0||y.forEach(x=>{var b;return(b=x.animationState)===null||b===void 0?void 0:b.setActive(f,p)}),n[f].isActive=p;const v=c(f);for(const x in n)n[x].protectedKeys={};return v}return{animateChanges:c,setActive:d,setAnimateFunction:l,getState:()=>n,reset:()=>{n=Uv(),s=!0}}}function U2(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!sb(e,t):!1}function ss(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Uv(){return{animate:ss(!0),whileInView:ss(),whileHover:ss(),whileTap:ss(),whileDrag:ss(),whileFocus:ss(),exit:ss()}}class zr{constructor(e){this.isMounted=!1,this.node=e}update(){}}class V2 extends zr{constructor(e){super(e),e.animationState||(e.animationState=B2(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();_c(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let z2=0;class $2 extends zr{constructor(){super(...arguments),this.id=z2++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const o=this.node.animationState.setActive("exit",!e);n&&!e&&o.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const W2={animation:{Feature:V2},exit:{Feature:$2}};function Jo(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function ma(t){return{point:{x:t.pageX,y:t.pageY}}}const H2=t=>e=>Ih(e)&&t(e,ma(e));function Uo(t,e,n,s){return Jo(t,e,H2(n),s)}const Vv=(t,e)=>Math.abs(t-e);function q2(t,e){const n=Vv(t.x,e.x),s=Vv(t.y,e.y);return Math.sqrt(n**2+s**2)}class Kb{constructor(e,n,{transformPagePoint:s,contextWindow:o,dragSnapToOrigin:l=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=qd(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,b=q2(v.offset,{x:0,y:0})>=3;if(!x&&!b)return;const{point:_}=v,{timestamp:E}=ht;this.history.push({..._,timestamp:E});const{onStart:k,onMove:S}=this.handlers;x||(k&&k(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,v)},this.handlePointerMove=(v,x)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=Hd(x,this.transformPagePoint),Me.update(this.updatePoint,!0)},this.handlePointerUp=(v,x)=>{this.end();const{onEnd:b,onSessionEnd:_,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=qd(v.type==="pointercancel"?this.lastMoveEventInfo:Hd(x,this.transformPagePoint),this.history);this.startEvent&&b&&b(v,k),_&&_(v,k)},!Ih(e))return;this.dragSnapToOrigin=l,this.handlers=n,this.transformPagePoint=s,this.contextWindow=o||window;const c=ma(e),d=Hd(c,this.transformPagePoint),{point:f}=d,{timestamp:p}=ht;this.history=[{...f,timestamp:p}];const{onSessionStart:y}=n;y&&y(e,qd(d,this.history)),this.removeListeners=pa(Uo(this.contextWindow,"pointermove",this.handlePointerMove),Uo(this.contextWindow,"pointerup",this.handlePointerUp),Uo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),kn(this.updatePoint)}}function Hd(t,e){return e?{point:e(t.point)}:t}function zv(t,e){return{x:t.x-e.x,y:t.y-e.y}}function qd({point:t},e){return{point:t,delta:zv(t,Gb(e)),offset:zv(t,K2(e)),velocity:G2(e,.1)}}function K2(t){return t[0]}function Gb(t){return t[t.length-1]}function G2(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const o=Gb(t);for(;n>=0&&(s=t[n],!(o.timestamp-s.timestamp>Zn(e)));)n--;if(!s)return{x:0,y:0};const l=er(o.timestamp-s.timestamp);if(l===0)return{x:0,y:0};const c={x:(o.x-s.x)/l,y:(o.y-s.y)/l};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const Qb=1e-4,Q2=1-Qb,Y2=1+Qb,Yb=.01,X2=0-Yb,J2=0+Yb;function Kt(t){return t.max-t.min}function Z2(t,e,n){return Math.abs(t-e)<=n}function $v(t,e,n,s=.5){t.origin=s,t.originPoint=Ke(e.min,e.max,t.origin),t.scale=Kt(n)/Kt(e),t.translate=Ke(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Q2&&t.scale<=Y2||isNaN(t.scale))&&(t.scale=1),(t.translate>=X2&&t.translate<=J2||isNaN(t.translate))&&(t.translate=0)}function Vo(t,e,n,s){$v(t.x,e.x,n.x,s?s.originX:void 0),$v(t.y,e.y,n.y,s?s.originY:void 0)}function Wv(t,e,n){t.min=n.min+e.min,t.max=t.min+Kt(e)}function eO(t,e,n){Wv(t.x,e.x,n.x),Wv(t.y,e.y,n.y)}function Hv(t,e,n){t.min=e.min-n.min,t.max=t.min+Kt(e)}function zo(t,e,n){Hv(t.x,e.x,n.x),Hv(t.y,e.y,n.y)}function tO(t,{min:e,max:n},s){return e!==void 0&&t<e?t=s?Ke(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?Ke(n,t,s.max):Math.min(t,n)),t}function qv(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function nO(t,{top:e,left:n,bottom:s,right:o}){return{x:qv(t.x,n,o),y:qv(t.y,e,s)}}function Kv(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,s]=[s,n]),{min:n,max:s}}function rO(t,e){return{x:Kv(t.x,e.x),y:Kv(t.y,e.y)}}function sO(t,e){let n=.5;const s=Kt(t),o=Kt(e);return o>s?n=Ps(e.min,e.max-s,t.min):s>o&&(n=Ps(t.min,t.max-o,e.min)),Fn(0,1,n)}function iO(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Vf=.35;function oO(t=Vf){return t===!1?t=0:t===!0&&(t=Vf),{x:Gv(t,"left","right"),y:Gv(t,"top","bottom")}}function Gv(t,e,n){return{min:Qv(t,e),max:Qv(t,n)}}function Qv(t,e){return typeof t=="number"?t:t[e]||0}const Yv=()=>({translate:0,scale:1,origin:0,originPoint:0}),ai=()=>({x:Yv(),y:Yv()}),Xv=()=>({min:0,max:0}),Ze=()=>({x:Xv(),y:Xv()});function sn(t){return[t("x"),t("y")]}function Xb({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function aO({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function lO(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Kd(t){return t===void 0||t===1}function zf({scale:t,scaleX:e,scaleY:n}){return!Kd(t)||!Kd(e)||!Kd(n)}function os(t){return zf(t)||Jb(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Jb(t){return Jv(t.x)||Jv(t.y)}function Jv(t){return t&&t!=="0%"}function hc(t,e,n){const s=t-n,o=e*s;return n+o}function Zv(t,e,n,s,o){return o!==void 0&&(t=hc(t,o,s)),hc(t,n,s)+e}function $f(t,e=0,n=1,s,o){t.min=Zv(t.min,e,n,s,o),t.max=Zv(t.max,e,n,s,o)}function Zb(t,{x:e,y:n}){$f(t.x,e.translate,e.scale,e.originPoint),$f(t.y,n.translate,n.scale,n.originPoint)}const e0=.999999999999,t0=1.0000000000001;function cO(t,e,n,s=!1){const o=n.length;if(!o)return;e.x=e.y=1;let l,c;for(let d=0;d<o;d++){l=n[d],c=l.projectionDelta;const{visualElement:f}=l.options;f&&f.props.style&&f.props.style.display==="contents"||(s&&l.options.layoutScroll&&l.scroll&&l!==l.root&&ci(t,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),c&&(e.x*=c.x.scale,e.y*=c.y.scale,Zb(t,c)),s&&os(l.latestValues)&&ci(t,l.latestValues))}e.x<t0&&e.x>e0&&(e.x=1),e.y<t0&&e.y>e0&&(e.y=1)}function li(t,e){t.min=t.min+e,t.max=t.max+e}function n0(t,e,n,s,o=.5){const l=Ke(t.min,t.max,o);$f(t,e,n,l,s)}function ci(t,e){n0(t.x,e.x,e.scaleX,e.scale,e.originX),n0(t.y,e.y,e.scaleY,e.scale,e.originY)}function e1(t,e){return Xb(lO(t.getBoundingClientRect(),e))}function uO(t,e,n){const s=e1(t,n),{scroll:o}=e;return o&&(li(s.x,o.offset.x),li(s.y,o.offset.y)),s}const t1=({current:t})=>t?t.ownerDocument.defaultView:null,dO=new WeakMap;class fO{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ze(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const o=y=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ma(y).point)},l=(y,v)=>{const{drag:x,dragPropagation:b,onDragStart:_}=this.getProps();if(x&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=oj(x),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sn(k=>{let S=this.getAxisMotionValue(k).get()||0;if(Dn.test(S)){const{projection:N}=this.visualElement;if(N&&N.layout){const T=N.layout.layoutBox[k];T&&(S=Kt(T)*(parseFloat(S)/100))}}this.originPoint[k]=S}),_&&Me.postRender(()=>_(y,v)),Of(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},c=(y,v)=>{const{dragPropagation:x,dragDirectionLock:b,onDirectionLock:_,onDrag:E}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:k}=v;if(b&&this.currentDirection===null){this.currentDirection=hO(k),this.currentDirection!==null&&_&&_(this.currentDirection);return}this.updateAxis("x",v.point,k),this.updateAxis("y",v.point,k),this.visualElement.render(),E&&E(y,v)},d=(y,v)=>this.stop(y,v),f=()=>sn(y=>{var v;return this.getAnimationState(y)==="paused"&&((v=this.getAxisMotionValue(y).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:p}=this.getProps();this.panSession=new Kb(e,{onSessionStart:o,onStart:l,onMove:c,onSessionEnd:d,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,contextWindow:t1(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&Me.postRender(()=>l(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:o}=this.getProps();if(!s||!Il(e,o,this.currentDirection))return;const l=this.getAxisMotionValue(e);let c=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(c=tO(c,this.constraints[e],this.elastic[e])),l.set(c)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,l=this.constraints;n&&ii(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=nO(o.layoutBox,n):this.constraints=!1,this.elastic=oO(s),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&sn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=iO(o.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ii(e))return!1;const s=e.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const l=uO(s,o.root,this.visualElement.getTransformPagePoint());let c=rO(o.layout.layoutBox,l);if(n){const d=n(aO(c));this.hasMutatedConstraints=!!d,d&&(c=Xb(d))}return c}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:o,dragTransition:l,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),f=this.constraints||{},p=sn(y=>{if(!Il(y,n,this.currentDirection))return;let v=f&&f[y]||{};c&&(v={min:0,max:0});const x=o?200:1e6,b=o?40:1e7,_={type:"inertia",velocity:s?e[y]:0,bounceStiffness:x,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...l,...v};return this.startAxisValueAnimation(y,_)});return Promise.all(p).then(d)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return Of(this.visualElement,e),s.start(Xh(e,s,0,n,this.visualElement,!1))}stopAnimation(){sn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){sn(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),o=s[n];return o||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){sn(n=>{const{drag:s}=this.getProps();if(!Il(n,s,this.currentDirection))return;const{projection:o}=this.visualElement,l=this.getAxisMotionValue(n);if(o&&o.layout){const{min:c,max:d}=o.layout.layoutBox[n];l.set(e[n]-Ke(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!ii(n)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};sn(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const f=d.get();o[c]=sO({min:f,max:f},this.constraints[c])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),sn(c=>{if(!Il(c,e,null))return;const d=this.getAxisMotionValue(c),{min:f,max:p}=this.constraints[c];d.set(Ke(f,p,o[c]))})}addListeners(){if(!this.visualElement.current)return;dO.set(this.visualElement,this);const e=this.visualElement.current,n=Uo(e,"pointerdown",f=>{const{drag:p,dragListener:y=!0}=this.getProps();p&&y&&this.start(f)}),s=()=>{const{dragConstraints:f}=this.getProps();ii(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,l=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Me.read(s);const c=Jo(window,"resize",()=>this.scalePositionWithinConstraints()),d=o.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:p})=>{this.isDragging&&p&&(sn(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=f[y].translate,v.set(v.get()+f[y].translate))}),this.visualElement.render())}));return()=>{c(),n(),l(),d&&d()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:l=!1,dragElastic:c=Vf,dragMomentum:d=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:o,dragConstraints:l,dragElastic:c,dragMomentum:d}}}function Il(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function hO(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class pO extends zr{constructor(e){super(e),this.removeGroupControls=Ot,this.removeListeners=Ot,this.controls=new fO(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ot}unmount(){this.removeGroupControls(),this.removeListeners()}}const r0=t=>(e,n)=>{t&&Me.postRender(()=>t(e,n))};class mO extends zr{constructor(){super(...arguments),this.removePointerDownListener=Ot}onPointerDown(e){this.session=new Kb(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:t1(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:r0(e),onStart:r0(n),onMove:s,onEnd:(l,c)=>{delete this.session,o&&Me.postRender(()=>o(l,c))}}}mount(){this.removePointerDownListener=Uo(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Xl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function s0(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Eo={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(pe.test(t))t=parseFloat(t);else return t;const n=s0(t,e.target.x),s=s0(t,e.target.y);return`${n}% ${s}%`}},gO={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,o=Ur.parse(t);if(o.length>5)return s;const l=Ur.createTransformer(t),c=typeof o[0]!="number"?1:0,d=n.x.scale*e.x,f=n.y.scale*e.y;o[0+c]/=d,o[1+c]/=f;const p=Ke(d,f,.5);return typeof o[2+c]=="number"&&(o[2+c]/=p),typeof o[3+c]=="number"&&(o[3+c]/=p),l(o)}};class yO extends A.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:o}=this.props,{projection:l}=e;VN(vO),l&&(n.group&&n.group.add(l),s&&s.register&&o&&s.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),Xl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:o,isPresent:l}=this.props,c=s.projection;return c&&(c.isPresent=l,o||e.layoutDependency!==n||n===void 0?c.willUpdate():this.safeToRemove(),e.isPresent!==l&&(l?c.promote():c.relegate()||Me.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),kh.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),s&&s.deregister&&s.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function n1(t){const[e,n]=Fw(),s=A.useContext(yh);return m.jsx(yO,{...t,layoutGroup:s,switchLayoutGroup:A.useContext(Hw),isPresent:e,safeToRemove:n})}const vO={borderRadius:{...Eo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Eo,borderTopRightRadius:Eo,borderBottomLeftRadius:Eo,borderBottomRightRadius:Eo,boxShadow:gO};function xO(t,e,n){const s=Pt(t)?t:On(t);return s.start(Xh("",s,e,n)),s.animation}function wO(t){return t instanceof SVGElement&&t.tagName!=="svg"}const bO=(t,e)=>t.depth-e.depth;class SO{constructor(){this.children=[],this.isDirty=!1}add(e){Fh(this.children,e),this.isDirty=!0}remove(e){Bh(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(bO),this.isDirty=!1,this.children.forEach(e)}}function kO(t,e){const n=Mn.now(),s=({timestamp:o})=>{const l=o-n;l>=e&&(kn(s),t(l-e))};return Me.read(s,!0),()=>kn(s)}const r1=["TopLeft","TopRight","BottomLeft","BottomRight"],EO=r1.length,i0=t=>typeof t=="string"?parseFloat(t):t,o0=t=>typeof t=="number"||pe.test(t);function CO(t,e,n,s,o,l){o?(t.opacity=Ke(0,n.opacity!==void 0?n.opacity:1,_O(s)),t.opacityExit=Ke(e.opacity!==void 0?e.opacity:1,0,TO(s))):l&&(t.opacity=Ke(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let c=0;c<EO;c++){const d=`border${r1[c]}Radius`;let f=a0(e,d),p=a0(n,d);if(f===void 0&&p===void 0)continue;f||(f=0),p||(p=0),f===0||p===0||o0(f)===o0(p)?(t[d]=Math.max(Ke(i0(f),i0(p),s),0),(Dn.test(p)||Dn.test(f))&&(t[d]+="%")):t[d]=p}(e.rotate||n.rotate)&&(t.rotate=Ke(e.rotate||0,n.rotate||0,s))}function a0(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const _O=s1(0,.5,bb),TO=s1(.5,.95,Ot);function s1(t,e,n){return s=>s<t?0:s>e?1:n(Ps(t,e,s))}function l0(t,e){t.min=e.min,t.max=e.max}function rn(t,e){l0(t.x,e.x),l0(t.y,e.y)}function c0(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function u0(t,e,n,s,o){return t-=e,t=hc(t,1/n,s),o!==void 0&&(t=hc(t,1/o,s)),t}function PO(t,e=0,n=1,s=.5,o,l=t,c=t){if(Dn.test(e)&&(e=parseFloat(e),e=Ke(c.min,c.max,e/100)-c.min),typeof e!="number")return;let d=Ke(l.min,l.max,s);t===l&&(d-=e),t.min=u0(t.min,e,n,d,o),t.max=u0(t.max,e,n,d,o)}function d0(t,e,[n,s,o],l,c){PO(t,e[n],e[s],e[o],e.scale,l,c)}const AO=["x","scaleX","originX"],RO=["y","scaleY","originY"];function f0(t,e,n,s){d0(t.x,e,AO,n?n.x:void 0,s?s.x:void 0),d0(t.y,e,RO,n?n.y:void 0,s?s.y:void 0)}function h0(t){return t.translate===0&&t.scale===1}function i1(t){return h0(t.x)&&h0(t.y)}function p0(t,e){return t.min===e.min&&t.max===e.max}function NO(t,e){return p0(t.x,e.x)&&p0(t.y,e.y)}function m0(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function o1(t,e){return m0(t.x,e.x)&&m0(t.y,e.y)}function g0(t){return Kt(t.x)/Kt(t.y)}function y0(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class jO{constructor(){this.members=[]}add(e){Fh(this.members,e),e.scheduleRender()}remove(e){if(Bh(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(o=>e===o);if(n===0)return!1;let s;for(let o=n;o>=0;o--){const l=this.members[o];if(l.isPresent!==!1){s=l;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;o===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function OO(t,e,n){let s="";const o=t.x.translate/e.x,l=t.y.translate/e.y,c=(n==null?void 0:n.z)||0;if((o||l||c)&&(s=`translate3d(${o}px, ${l}px, ${c}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:p,rotate:y,rotateX:v,rotateY:x,skewX:b,skewY:_}=n;p&&(s=`perspective(${p}px) ${s}`),y&&(s+=`rotate(${y}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),b&&(s+=`skewX(${b}deg) `),_&&(s+=`skewY(${_}deg) `)}const d=t.x.scale*e.x,f=t.y.scale*e.y;return(d!==1||f!==1)&&(s+=`scale(${d}, ${f})`),s||"none"}const as={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Do=typeof window<"u"&&window.MotionDebug!==void 0,Gd=["","X","Y","Z"],LO={visibility:"hidden"},v0=1e3;let DO=0;function Qd(t,e,n,s){const{latestValues:o}=e;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function a1(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=pb(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:l}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Me,!(o||l))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&a1(s)}function l1({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(c={},d=e==null?void 0:e()){this.id=DO++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Do&&(as.totalNodes=as.resolvedTargetDeltas=as.recalculatedProjection=0),this.nodes.forEach(FO),this.nodes.forEach($O),this.nodes.forEach(WO),this.nodes.forEach(BO),Do&&window.MotionDebug.record(as)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new SO)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Uh),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const f=this.eventHandlers.get(c);f&&f.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=wO(c),this.instance=c;const{layoutId:f,layout:p,visualElement:y}=this.options;if(y&&!y.current&&y.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(p||f)&&(this.isLayoutDirty=!0),t){let v;const x=()=>this.root.updateBlockedByResize=!1;t(c,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=kO(x,250),Xl.hasAnimatedSinceResize&&(Xl.hasAnimatedSinceResize=!1,this.nodes.forEach(w0))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&y&&(f||p)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:x,hasRelativeTargetChanged:b,layout:_})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||y.getDefaultTransition()||QO,{onLayoutAnimationStart:k,onLayoutAnimationComplete:S}=y.getProps(),N=!this.targetLayout||!o1(this.targetLayout,_)||b,T=!x&&b;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||x&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,T);const j={...Oh(E,"layout"),onPlay:k,onComplete:S};(y.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else x||w0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=_})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,kn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(HO),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&a1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:d,layout:f}=this.options;if(d===void 0&&!f)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(x0);return}this.isUpdating||this.nodes.forEach(VO),this.isUpdating=!1,this.nodes.forEach(zO),this.nodes.forEach(MO),this.nodes.forEach(IO),this.clearAllSnapshots();const d=Mn.now();ht.delta=Fn(0,1e3/60,d-ht.timestamp),ht.timestamp=d,ht.isProcessing=!0,Bd.update.process(ht),Bd.preRender.process(ht),Bd.render.process(ht),ht.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,kh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(UO),this.sharedNodes.forEach(qO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Me.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Me.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ze(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d){const f=s(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!o)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!i1(this.projectionDelta),f=this.getTransformTemplate(),p=f?f(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;c&&(d||os(this.latestValues)||y)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let f=this.removeElementScroll(d);return c&&(f=this.removeTransform(f)),YO(f),{animationId:this.root.animationId,measuredBox:d,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:d}=this.options;if(!d)return Ze();const f=d.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(XO))){const{scroll:y}=this.root;y&&(li(f.x,y.offset.x),li(f.y,y.offset.y))}return f}removeElementScroll(c){var d;const f=Ze();if(rn(f,c),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return f;for(let p=0;p<this.path.length;p++){const y=this.path[p],{scroll:v,options:x}=y;y!==this.root&&v&&x.layoutScroll&&(v.wasRoot&&rn(f,c),li(f.x,v.offset.x),li(f.y,v.offset.y))}return f}applyTransform(c,d=!1){const f=Ze();rn(f,c);for(let p=0;p<this.path.length;p++){const y=this.path[p];!d&&y.options.layoutScroll&&y.scroll&&y!==y.root&&ci(f,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),os(y.latestValues)&&ci(f,y.latestValues)}return os(this.latestValues)&&ci(f,this.latestValues),f}removeTransform(c){const d=Ze();rn(d,c);for(let f=0;f<this.path.length;f++){const p=this.path[f];if(!p.instance||!os(p.latestValues))continue;zf(p.latestValues)&&p.updateSnapshot();const y=Ze(),v=p.measurePageBox();rn(y,v),f0(d,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,y)}return os(this.latestValues)&&f0(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ht.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var d;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==f;if(!(c||p&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:x}=this.options;if(!(!this.layout||!(v||x))){if(this.resolvedRelativeTargetAt=ht.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ze(),this.relativeTargetOrigin=Ze(),zo(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),rn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ze(),this.targetWithTransforms=Ze()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),eO(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rn(this.target,this.layout.layoutBox),Zb(this.target,this.targetDelta)):rn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ze(),this.relativeTargetOrigin=Ze(),zo(this.relativeTargetOrigin,this.target,b.target),rn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Do&&as.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||zf(this.parent.latestValues)||Jb(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const d=this.getLead(),f=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(p=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===ht.timestamp&&(p=!1),p)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;rn(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,b=this.treeScale.y;cO(this.layoutCorrected,this.treeScale,this.path,f),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Ze());const{target:_}=d;if(!_){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(c0(this.prevProjectionDelta.x,this.projectionDelta.x),c0(this.prevProjectionDelta.y,this.projectionDelta.y)),Vo(this.projectionDelta,this.layoutCorrected,_,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==b||!y0(this.projectionDelta.x,this.prevProjectionDelta.x)||!y0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",_)),Do&&as.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),c){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ai(),this.projectionDelta=ai(),this.projectionDeltaWithTransform=ai()}setAnimationOrigin(c,d=!1){const f=this.snapshot,p=f?f.latestValues:{},y={...this.latestValues},v=ai();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const x=Ze(),b=f?f.source:void 0,_=this.layout?this.layout.source:void 0,E=b!==_,k=this.getStack(),S=!k||k.members.length<=1,N=!!(E&&!S&&this.options.crossfade===!0&&!this.path.some(GO));this.animationProgress=0;let T;this.mixTargetDelta=j=>{const F=j/1e3;b0(v.x,c.x,F),b0(v.y,c.y,F),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(zo(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),KO(this.relativeTarget,this.relativeTargetOrigin,x,F),T&&NO(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=Ze()),rn(T,this.relativeTarget)),E&&(this.animationValues=y,CO(y,p,this.latestValues,F,N,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=F},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(kn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Me.update(()=>{Xl.hasAnimatedSinceResize=!0,this.currentAnimation=xO(0,v0,{...c,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(v0),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:f,layout:p,latestValues:y}=c;if(!(!d||!f||!p)){if(this!==c&&this.layout&&p&&c1(this.options.animationType,this.layout.layoutBox,p.layoutBox)){f=this.target||Ze();const v=Kt(this.layout.layoutBox.x);f.x.min=c.target.x.min,f.x.max=f.x.min+v;const x=Kt(this.layout.layoutBox.y);f.y.min=c.target.y.min,f.y.max=f.y.min+x}rn(d,f),ci(d,y),Vo(this.projectionDeltaWithTransform,this.layoutCorrected,d,y)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new jO),this.sharedNodes.get(c).add(d);const p=d.options.initialPromotionConfig;d.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:d}=this.options;return d?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:d}=this.options;return d?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:f}={}){const p=this.getStack();p&&p.promote(this,f),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:f}=c;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(d=!0),!d)return;const p={};f.z&&Qd("z",c,p,this.animationValues);for(let y=0;y<Gd.length;y++)Qd(`rotate${Gd[y]}`,c,p,this.animationValues),Qd(`skew${Gd[y]}`,c,p,this.animationValues);c.render();for(const y in p)c.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);c.scheduleRender()}getProjectionStyles(c){var d,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return LO;const p={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=Ql(c==null?void 0:c.pointerEvents)||"",p.transform=y?y(this.latestValues,""):"none",p;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const E={};return this.options.layoutId&&(E.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,E.pointerEvents=Ql(c==null?void 0:c.pointerEvents)||""),this.hasProjected&&!os(this.latestValues)&&(E.transform=y?y({},""):"none",this.hasProjected=!1),E}const x=v.animationValues||v.latestValues;this.applyTransformsToTarget(),p.transform=OO(this.projectionDeltaWithTransform,this.treeScale,x),y&&(p.transform=y(x,p.transform));const{x:b,y:_}=this.projectionDelta;p.transformOrigin=`${b.origin*100}% ${_.origin*100}% 0`,v.animationValues?p.opacity=v===this?(f=(d=x.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:p.opacity=v===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const E in lc){if(x[E]===void 0)continue;const{correct:k,applyTo:S}=lc[E],N=p.transform==="none"?x[E]:k(x[E],v);if(S){const T=S.length;for(let j=0;j<T;j++)p[S[j]]=N}else p[E]=N}return this.options.layoutId&&(p.pointerEvents=v===this?Ql(c==null?void 0:c.pointerEvents)||"":"none"),p}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var d;return(d=c.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(x0),this.root.sharedNodes.clear()}}}function MO(t){t.updateLayout()}function IO(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:o}=t.layout,{animationType:l}=t.options,c=n.source!==t.layout.source;l==="size"?sn(v=>{const x=c?n.measuredBox[v]:n.layoutBox[v],b=Kt(x);x.min=s[v].min,x.max=x.min+b}):c1(l,n.layoutBox,s)&&sn(v=>{const x=c?n.measuredBox[v]:n.layoutBox[v],b=Kt(s[v]);x.max=x.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[v].max=t.relativeTarget[v].min+b)});const d=ai();Vo(d,s,n.layoutBox);const f=ai();c?Vo(f,t.applyTransform(o,!0),n.measuredBox):Vo(f,s,n.layoutBox);const p=!i1(d);let y=!1;if(!t.resumeFrom){const v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:x,layout:b}=v;if(x&&b){const _=Ze();zo(_,n.layoutBox,x.layoutBox);const E=Ze();zo(E,s,b.layoutBox),o1(_,E)||(y=!0),v.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=_,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:f,layoutDelta:d,hasLayoutChanged:p,hasRelativeTargetChanged:y})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function FO(t){Do&&as.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function BO(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function UO(t){t.clearSnapshot()}function x0(t){t.clearMeasurements()}function VO(t){t.isLayoutDirty=!1}function zO(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function w0(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function $O(t){t.resolveTargetDelta()}function WO(t){t.calcProjection()}
vendor: 4,934 bytes, line 229
229function HO(t){t.resetSkewAndRotation()}function qO(t){t.removeLeadSnapshot()}function b0(t,e,n){t.translate=Ke(e.translate,0,n),t.scale=Ke(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function S0(t,e,n,s){t.min=Ke(e.min,n.min,s),t.max=Ke(e.max,n.max,s)}function KO(t,e,n,s){S0(t.x,e.x,n.x,s),S0(t.y,e.y,n.y,s)}function GO(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const QO={duration:.45,ease:[.4,0,.1,1]},k0=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),E0=k0("applewebkit/")&&!k0("chrome/")?Math.round:Ot;function C0(t){t.min=E0(t.min),t.max=E0(t.max)}function YO(t){C0(t.x),C0(t.y)}function c1(t,e,n){return t==="position"||t==="preserve-aspect"&&!Z2(g0(e),g0(n),.2)}function XO(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const JO=l1({attachResizeListener:(t,e)=>Jo(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Yd={current:void 0},u1=l1({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Yd.current){const t=new JO({});t.mount(window),t.setOptions({layoutScroll:!0}),Yd.current=t}return Yd.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),ZO={pan:{Feature:mO},drag:{Feature:pO,ProjectionNode:u1,MeasureLayout:n1}};function _0(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,l=s[o];l&&Me.postRender(()=>l(e,ma(e)))}class eL extends zr{mount(){const{current:e}=this.node;e&&(this.unmount=tj(e,n=>(_0(this.node,n,"Start"),s=>_0(this.node,s,"End"))))}unmount(){}}class tL extends zr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=pa(Jo(this.node.current,"focus",()=>this.onFocus()),Jo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function T0(t,e,n){const{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),l=s[o];l&&Me.postRender(()=>l(e,ma(e)))}class nL extends zr{mount(){const{current:e}=this.node;e&&(this.unmount=ij(e,n=>(T0(this.node,n,"Start"),(s,{success:o})=>T0(this.node,s,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Wf=new WeakMap,Xd=new WeakMap,rL=t=>{const e=Wf.get(t.target);e&&e(t)},sL=t=>{t.forEach(rL)};function iL({root:t,...e}){const n=t||document;Xd.has(n)||Xd.set(n,{});const s=Xd.get(n),o=JSON.stringify(e);return s[o]||(s[o]=new IntersectionObserver(sL,{root:t,...e})),s[o]}function oL(t,e,n){const s=iL(e);return Wf.set(t,n),s.observe(t),()=>{Wf.delete(t),s.unobserve(t)}}const aL={some:0,all:1};class lL extends zr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:o="some",once:l}=e,c={root:n?n.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:aL[o]},d=f=>{const{isIntersecting:p}=f;if(this.isInView===p||(this.isInView=p,l&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),x=p?y:v;x&&x(f)};return oL(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(cL(e,n))&&this.startObserver()}unmount(){}}function cL({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const uL={inView:{Feature:lL},tap:{Feature:nL},focus:{Feature:tL},hover:{Feature:eL}},dL={layout:{ProjectionNode:u1,MeasureLayout:n1}},Hf={current:null},d1={current:!1};function fL(){if(d1.current=!0,!!vh)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Hf.current=t.matches;t.addListener(e),e()}else Hf.current=!1}const hL=[...Db,Tt,Ur],pL=t=>hL.find(Lb(t)),P0=new WeakMap;function mL(t,e,n){for(const s in e){const o=e[s],l=n[s];if(Pt(o))t.addValue(s,o);else if(Pt(l))t.addValue(s,On(o,{owner:t}));else if(l!==o)if(t.hasValue(s)){const c=t.getValue(s);c.liveStyle===!0?c.jump(o):c.hasAnimated||c.set(o)}else{const c=t.getStaticValue(s);t.addValue(s,On(c!==void 0?c:o,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const A0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];
vendor: 4,445 bytes, line 229
229class gL{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:o,blockInitialAnimation:l,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Kh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Mn.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Me.render(this.render,!1,!0))};const{latestValues:f,renderState:p,onUpdate:y}=c;this.onUpdate=y,this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=p,this.parent=e,this.props=n,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=d,this.blockInitialAnimation=!!l,this.isControllingVariants=Tc(n),this.isVariantNode=$w(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(n,{},this);for(const b in x){const _=x[b];f[b]!==void 0&&Pt(_)&&_.set(f[b],!1)}}mount(e){this.current=e,P0.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,s)=>this.bindToMotionValue(s,n)),d1.current||fL(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Hf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){P0.delete(this.current),this.projection&&this.projection.unmount(),kn(this.notifyUpdate),kn(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=js.has(e),o=n.on("change",d=>{this.latestValues[e]=d,this.props.onUpdate&&Me.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),l=n.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{o(),l(),c&&c(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Ei){const n=Ei[e];if(!n)continue;const{isEnabled:s,Feature:o}=n;if(!this.features[e]&&o&&s(this.props)&&(this.features[e]=new o(this)),this.features[e]){const l=this.features[e];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ze()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<A0.length;s++){const o=A0[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const l="on"+o,c=e[l];c&&(this.propEventSubscriptions[o]=this.on(o,c))}this.prevMotionValues=mL(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
229addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=On(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){var s;let o=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return o!=null&&(typeof o=="string"&&(jb(o)||kb(o))?o=parseFloat(o):!pL(o)&&Ur.test(n)&&(o=Ab(e,n)),this.setBaseTarget(e,Pt(o)?o.get():o)),Pt(o)?o.get():o}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props;let o;if(typeof s=="string"||typeof s=="object"){const c=Ch(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);c&&(o=c[e])}if(s&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,e);return l!==void 0&&!Pt(l)?l:this.initialValues[e]!==void 0&&o===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Uh),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class f1 extends gL{constructor(){super(...arguments),this.KeyframeResolver=Mb}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Pt(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function yL(t){return window.getComputedStyle(t)}class vL extends f1{constructor(){super(...arguments),this.type="html",this.renderInstance=Jw}readValueFromInstance(e,n){if(js.has(n)){const s=qh(n);return s&&s.default||0}else{const s=yL(e),o=(Qw(n)?s.getPropertyValue(n):s[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return e1(e,n)}build(e,n,s){Ph(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return jh(e,n,s)}}class xL extends f1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ze}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(js.has(n)){const s=qh(n);return s&&s.default||0}return n=Zw.has(n)?n:Sh(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return nb(e,n,s)}build(e,n,s){Ah(e,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,s,o){eb(e,n,s,o)}mount(e){this.isSVGTag=Nh(e.tagName),super.mount(e)}}const wL=(t,e)=>Eh(t)?new xL(e):new vL(e,{allowProjection:t!==A.Fragment}),bL=YN({...W2,...uL,...ZO,...dL},wL),xe=dN(bL);function h1(t,e){let n;const s=()=>{const{currentTime:o}=e,c=(o===null?0:o.value)/100;n!==c&&t(c),n=c};return Me.update(s,!0),()=>kn(s)}const Jl=new WeakMap;let Tr;function SL(t,e){if(e){const{inlineSize:n,blockSize:s}=e[0];return{width:n,height:s}}else return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}function kL({target:t,contentRect:e,borderBoxSize:n}){var s;(s=Jl.get(t))===null||s===void 0||s.forEach(o=>{o({target:t,contentSize:e,get size(){return SL(t,n)}})})}function EL(t){t.forEach(kL)}function CL(){typeof ResizeObserver>"u"||(Tr=new ResizeObserver(EL))}function _L(t,e){Tr||CL();const n=Mh(t);return n.forEach(s=>{let o=Jl.get(s);o||(o=new Set,Jl.set(s,o)),o.add(e),Tr==null||Tr.observe(s)}),()=>{n.forEach(s=>{const o=Jl.get(s);o==null||o.delete(e),o!=null&&o.size||Tr==null||Tr.unobserve(s)})}}const Zl=new Set;let $o;function TL(){$o=()=>{const t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};Zl.forEach(n=>n(e))},window.addEventListener("resize",$o)}function PL(t){return Zl.add(t),$o||TL(),()=>{Zl.delete(t),!Zl.size&&$o&&($o=void 0)}}function AL(t,e){return typeof t=="function"?PL(t):_L(t,e)}const RL=50,R0=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),NL=()=>({time:0,x:R0(),y:R0()}),jL={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function N0(t,e,n,s){const o=n[e],{length:l,position:c}=jL[e],d=o.current,f=n.time;o.current=t[`scroll${c}`],o.scrollLength=t[`scroll${l}`]-t[`client${l}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=Ps(0,o.scrollLength,o.current);const p=s-f;o.velocity=p>RL?0:Vh(o.current-d,p)}function OL(t,e,n){N0(t,"x",e,n),N0(t,"y",e,n),e.time=n}function LL(t,e){const n={x:0,y:0};let s=t;for(;s&&s!==e;)if(s instanceof HTMLElement)n.x+=s.offsetLeft,n.y+=s.offsetTop,s=s.offsetParent;else if(s.tagName==="svg"){const o=s.getBoundingClientRect();s=s.parentElement;const l=s.getBoundingClientRect();n.x+=o.left-l.left,n.y+=o.top-l.top}else if(s instanceof SVGGraphicsElement){const{x:o,y:l}=s.getBBox();n.x+=o,n.y+=l;let c=null,d=s.parentNode;for(;!c;)d.tagName==="svg"&&(c=d),d=s.parentNode;s=c}else break;return n}const qf={start:0,center:.5,end:1};function j0(t,e,n=0){let s=0;if(t in qf&&(t=qf[t]),typeof t=="string"){const o=parseFloat(t);t.endsWith("px")?s=o:t.endsWith("%")?t=o/100:t.endsWith("vw")?s=o/100*document.documentElement.clientWidth:t.endsWith("vh")?s=o/100*document.documentElement.clientHeight:t=o}return typeof t=="number"&&(s=e*t),n+s}const DL=[0,0];function ML(t,e,n,s){let o=Array.isArray(t)?t:DL,l=0,c=0;return typeof t=="number"?o=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?o=t.split(" "):o=[t,qf[t]?t:"0"]),l=j0(o[0],n,s),c=j0(o[1],e),l-c}const IL={All:[[0,0],[1,1]]},FL={x:0,y:0};function BL(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function UL(t,e,n){const{offset:s=IL.All}=n,{target:o=t,axis:l="y"}=n,c=l==="y"?"height":"width",d=o!==t?LL(o,t):FL,f=o===t?{width:t.scrollWidth,height:t.scrollHeight}:BL(o),p={width:t.clientWidth,height:t.clientHeight};e[l].offset.length=0;let y=!e[l].interpolate;const v=s.length;for(let x=0;x<v;x++){const b=ML(s[x],p[c],f[c],d[l]);
229!y&&b!==e[l].interpolatorOffsets[x]&&(y=!0),e[l].offset[x]=b}y&&(e[l].interpolate=Qh(e[l].offset,$b(s),{clamp:!1}),e[l].interpolatorOffsets=[...e[l].offset]),e[l].progress=Fn(0,1,e[l].interpolate(e[l].current))}function VL(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let s=e;for(;s&&s!==t;)n.x.targetOffset+=s.offsetLeft,n.y.targetOffset+=s.offsetTop,s=s.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}function zL(t,e,n,s={}){return{measure:()=>VL(t,s.target,n),update:o=>{OL(t,n,o),(s.offset||s.target)&&UL(t,n,s)},notify:()=>e(n)}}const Co=new WeakMap,O0=new WeakMap,Jd=new WeakMap,L0=t=>t===document.documentElement?window:t;function Jh(t,{container:e=document.documentElement,...n}={}){let s=Jd.get(e);s||(s=new Set,Jd.set(e,s));const o=NL(),l=zL(e,t,o,n);if(s.add(l),!Co.has(e)){const d=()=>{for(const x of s)x.measure()},f=()=>{for(const x of s)x.update(ht.timestamp)},p=()=>{for(const x of s)x.notify()},y=()=>{Me.read(d,!1,!0),Me.read(f,!1,!0),Me.update(p,!1,!0)};Co.set(e,y);const v=L0(e);window.addEventListener("resize",y,{passive:!0}),e!==document.documentElement&&O0.set(e,AL(e,y)),v.addEventListener("scroll",y,{passive:!0})}const c=Co.get(e);return Me.read(c,!1,!0),()=>{var d;kn(c);const f=Jd.get(e);if(!f||(f.delete(l),f.size))return;const p=Co.get(e);Co.delete(e),p&&(L0(e).removeEventListener("scroll",p),(d=O0.get(e))===null||d===void 0||d(),window.removeEventListener("resize",p))}}function $L({source:t,container:e,axis:n="y"}){t&&(e=t);const s={value:0},o=Jh(l=>{s.value=l[n].progress*100},{container:e,axis:n});return{currentTime:s,cancel:o}}const Zd=new Map;function p1({source:t,container:e=document.documentElement,axis:n="y"}={}){t&&(e=t),Zd.has(e)||Zd.set(e,{});const s=Zd.get(e);return s[n]||(s[n]=ib()?new ScrollTimeline({source:e,axis:n}):$L({source:e,axis:n})),s[n]}function WL(t){return t.length===2}function m1(t){return t&&(t.target||t.offset)}function HL(t,e){return WL(t)||m1(e)?Jh(n=>{t(n[e.axis].progress,n)},e):h1(t,p1(e))}function qL(t,e){if(t.flatten(),m1(e))return t.pause(),Jh(n=>{t.time=t.duration*n[e.axis].progress},e);{const n=p1(e);return t.attachTimeline?t.attachTimeline(n,s=>(s.pause(),h1(o=>{s.time=s.duration*o},n))):Ot}}function KL(t,{axis:e="y",...n}={}){const s={axis:e,...n};return typeof t=="function"?HL(t,s):qL(t,s)}function D0(t,e){rN(!!(!e||e.current))}const GL=()=>({scrollX:On(0),scrollY:On(0),scrollXProgress:On(0),scrollYProgress:On(0)});function QL({container:t,target:e,layoutEffect:n=!0,...s}={}){const o=Ni(GL);return(n?kc:A.useEffect)(()=>(D0("target",e),D0("container",t),KL((c,{x:d,y:f})=>{o.scrollX.set(d.current),o.scrollXProgress.set(d.progress),o.scrollY.set(f.current),o.scrollYProgress.set(f.progress)},{...s,container:(t==null?void 0:t.current)||void 0,target:(e==null?void 0:e.current)||void 0})),[t,e,JSON.stringify(s.offset)]),o}function YL(t){const e=Ni(()=>On(t)),{isStatic:n}=A.useContext(Sc);if(n){const[,s]=A.useState(t);A.useEffect(()=>e.on("change",s),[])}return e}function g1(t,e){const n=YL(e()),s=()=>n.set(e());return s(),kc(()=>{const o=()=>Me.preRender(s,!1,!0),l=t.map(c=>c.on("change",o));return()=>{l.forEach(c=>c()),kn(s)}}),n}const XL=t=>t&&typeof t=="object"&&t.mix,JL=t=>XL(t)?t.mix:void 0;function ZL(...t){const e=!Array.isArray(t[0]),n=e?0:-1,s=t[0+n],o=t[1+n],l=t[2+n],c=t[3+n],d=Qh(o,l,{mixer:JL(l[0]),...c});return e?d(s):d}function eD(t){Fo.current=[],t();const e=g1(Fo.current,t);return Fo.current=void 0,e}function M0(t,e,n,s){if(typeof t=="function")return eD(t);const o=typeof e=="function"?e:ZL(e,n,s);return Array.isArray(t)?I0(t,o):I0([t],([l])=>o(l))}function I0(t,e){const n=Ni(()=>[]);return g1(t,()=>{n.length=0;const s=t.length;for(let o=0;o<s;o++)n[o]=t[o].get();return e(n)})}const tD={some:0,all:1};function nD(t,e,{root:n,margin:s,amount:o="some"}={}){const l=Mh(t),c=new WeakMap,d=p=>{p.forEach(y=>{const v=c.get(y.target);if(y.isIntersecting!==!!v)if(y.isIntersecting){const x=e(y);typeof x=="function"?c.set(y.target,x):f.unobserve(y.target)}else typeof v=="function"&&(v(y),c.delete(y.target))})},f=new IntersectionObserver(d,{root:n,rootMargin:s,threshold:typeof o=="number"?o:tD[o]});return l.forEach(p=>
229f.observe(p)),()=>f.disconnect()}function ga(t,{root:e,margin:n,amount:s,once:o=!1}={}){const[l,c]=A.useState(!1);return A.useEffect(()=>{if(!t.current||o&&l)return;const d=()=>(c(!0),o?void 0:()=>c(!1)),f={root:e&&e.current||void 0,margin:n,amount:s};return nD(t.current,d,f)},[e,t,n,o,s]),l}const rD="https://media.base44.com/images/public/user_68df0c30c553912a0b509cdd/5b4712bd2_header.png";function sD(){const t=A.useRef(null),{scrollYProgress:e}=QL({target:t,offset:["start start","end start"]}),n=M0(e,[0,1],["0%","30%"]),s=M0(e,[0,.7],[1,0]);return m.jsxs("section",{ref:t,className:"relative h-screen min-h-[700px] flex items-center justify-center overflow-hidden bg-brand-black",children:[m.jsxs(xe.div,{style:{y:n},className:"absolute inset-0 will-change-transform",children:[m.jsx("img",{src:rD,alt:"ATL Labor Day Classic — Morehouse and Clark Atlanta athletes",className:"w-full h-full object-cover object-center"}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-brand-black/70 via-brand-black/40 to-brand-black/80"}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-brand-black/60 via-trans
229parent to-brand-black/60"})]}),m.jsx("div",{className:"absolute left-10 top-0 bottom-0 w-px bg-gradient-to-b from-transparent via-brand-gold/40 to-transparent hidden lg:block"}),m.jsxs(xe.div,{style:{opacity:s},className:"relative z-10 text-center px-6 max-w-5xl mx-auto",children:[m.jsxs(xe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"flex items-center justify-center gap-4 mb-8",children:[m.jsx("div",{className:"h-px w-16 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"September 5, 2026 · Atlanta, Georgia"}),m.jsx("div",{className:"h-px w-16 bg-brand-gold"})]}),m.jsxs(xe.h1,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1,delay:.4},className:"font-heading text-brand-white leading-[0.9] mb-6",style:{fontSize:"clamp(3rem, 9vw, 10rem)",letterSpacing:"-0.03em"},children:["A Celebration",m.jsx("br",{}),m.jsx("em",{className:"text-brand-gold",children:"of the AUC"})]}),m.jsx(xe.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.7},className:"font-body text-brand-silver text-lg md:text-xl max-w-2xl mx-auto mb-4 font-light leading-relaxed",children:"Where tradition, rivalry, culture, and community come together for one unforgettable Labor Day Weekend."}),m.jsx(xe.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.9},className:"font-body text-brand-warm-gray text-sm md:text-base max-w-xl mx-auto mb-12 font-light",children:"Supporting Clark Atlanta University and Morehouse College Athletics while investing in the next generation of HBCU student-athletes."}),m.jsxs(xe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:1.1},className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[m.jsx("a",{href:"/tickets",className:"bg-brand-gold hover:bg-brand-gold-dark text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 min-h-[52px] transition-all duration-300 hover:shadow-xl hover:shadow-brand-gold/30 hover:scale-105 inline-flex items-center",children:"Get Tickets"}),m.jsx("button",{onClick:()=>{var o;return(o=document.querySelector("#sponsorship"))==null?void 0:o.scrollIntoView({behavior:"smooth"})},className:"border border-brand-silver/60 hover:border-brand-gold text-brand-white hover:text-brand-gold font-body font-bold text-xs tracking-widest uppercase px-10 py-4 min-h-[52px] transition-all duration-300 backdrop-blur-sm inline-flex items-center",children:"Become a Sponsor"})]})]}),m.jsxs(xe.div,{initial:{opacity:0}
229,animate:{opacity:1},transition:{delay:2,duration:1},className:"absolute bottom-8 left-1/2 -translate-x-1/2 flex flex-col items-center gap-2",children:[m.jsx("span",{className:"font-body text-brand-warm-gray text-[10px] tracking-[0.3em] uppercase",children:"Scroll"}),m.jsx(xe.div,{animate:{y:[0,8,0]},transition:{duration:1.8,repeat:1/0,ease:"easeInOut"},children:m.jsx(ef,{size:18,className:"text-brand-gold"})})]})]})}function iD(){return m.jsx("section",{className:"bg-brand-white md:py-24 py-16",children:m.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-10",children:m.jsxs(xe.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center",children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-10",children:[m.jsx("div",{className:"h-px w-16 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"The Classic Awaits"}),m.jsx("div",{className:"h-px w-16 bg-brand-gold"})]}),m.jsxs("h2",{className:"font-heading text-brand-black leading-[0.95] mb-8",style:{fontSize:"clamp(2.25rem, 6vw, 5.5rem)",letterSpacing:"-0.02em"},children:["Don't Just Attend the Game.",m.jsx("br",{}),m.jsx("em",{className:"text-brand-gold",children:"Experience the Classic!"})]}),m.jsx("p",{className:"font-body text-brand-warm-gray text-base md:text-lg mb-10 font-light",children:m.jsxs("span",{className:"font-heading text-brand-black text-2xl md:text-3xl font-semibold no-underline",children:["Fan Fest + Game Entry is only ",m.
229jsx("span",{className:"text-brand-gold underline",children:"$79"}),"."]})}),m.jsxs("a",{href:"/tickets",className:"inline-flex items-center gap-2 bg-brand-gold hover:bg-brand-gold-dark text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 min-h-[52px] transition-all duration-300 hover:shadow-xl hover:shadow-brand-gold/30 hover:scale-105",children:["Buy Tickets Now",m.jsx(Es,{size:16})]})]})})})}const Er=["https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/d07359fc8_players.png","https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/7fcc338b5_marchingbandmorehouse.png","https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/05c17e452_stands.png","https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/1e16357a2_BandmarchingMarchingBand1977MaynardJacksonMayoral.png","https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/2e35184d6_players.png","https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/347a1f8ca_262598f6-2390-40d0-94c5-6dc9df12b80d.png"];function oD(){const t=A.useRef(null),e=ga(t,{once:!0,margin:"-100px"}),[n,s]=A.useState(0);A.useEffect(()=>{if(Er.length<=1)return;const c=setInterval(()=>{s(d=>(d+1)%Er.length)},4e3);return()=>clearInterval(c)},[]);const o=()=>s(c=>(c-1+Er.length)%Er.length),l=()=>s(c=>(c+1)%Er.length);return m.jsxs("section",{id:"about",ref:t,className:"bg-brand-black py-24 md:py-36 relative overflow-hidden",children:[m.jsx("div",{className:"absolute left-10 top-0 bottom-0 w-px bg-gradient-to-b from-transparent via-brand-gold/30 to-transparent hidden lg:block"}),m.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10",children:[m.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 lg:gap-24 items-center",children:[m.jsxs("div",{children:[m.jsxs(xe.div,{initial:{opacity:0,x:-30},animate:e?{opacity:1,x:0}:{},transition:{duration:.8},className:"flex items-center gap-4 mb-8",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Our Story"})]}),m.jsxs(xe.h2,{initial:{opacity:0,y:40},animate:e?{opacity:1,y:0}:{},transition:{duration:.9,delay:.15},className:"font-heading text-brand-white uppercase text-6xl mb-8",style:{fontSize:"clamp(2.5rem, 6vw, 5.5rem)",letterSpacing:"-0.03em",lineHeight:.95},children:["More Than",m.jsx("br",{}),m.jsx("em",{className:"text-brand-gold text-6xl italic",children:"a Game"})]}),m.jsxs(xe.div,{initial:{opacity:0,y:30},animate:e?{opacity:1,y:0}:{},transition:{duration:.8,delay:.3},className:"space-y-6",children:[m.jsx("p",{className:"font-body text-brand-silver text-lg leading-relaxed font-light",children:"The ATL Labor Day Classic is a premier HBCU experience celebrating the legacy, excellence, and impact of the Atlanta University Center."}),m.jsx("p",{className:"font-body text-brand-warm-gray text-base leading-relaxed",children:"From spirited rivalries and legendary marching bands to alumni reunions and elevated tailgating, this weekend brings together students, graduates, supporters, and community leaders from across the country."})]}),m.jsx(xe.div,{initial:{opacity:0,y:20},animate:e?{opacity:1,y:0}:{},transition:{duration:.8,delay:.5},className:"mt-10 flex flex-wrap gap-6",children:["Pride","Legacy","Community","Excellence"].map(c=>m.jsx("span",{className:"font-body text-xs tracking-[0.2em] uppercase text-white font-semibold bg-brand-gold px-4 py-2 rounded-full",children:c},c))})]}),m.jsxs(xe.div,{initial:{opacity:0,x:30},animate:e?{opacity:1,x:0}:{},transition:{duration:1,delay:.2},className:"relative",children:[m.jsxs("div",{className:"relative aspect-[4/5] overflow-hidden",children:[m.jsx(Ec,{mode:"wait",children:m.jsx(xe.img,{src:Er[n],alt:"HBCU alumni and community",initial:{opacity:0}
229,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6},className:"w-full h-full object-cover absolute inset-0"},n)}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-brand-black/60 to-transparent"}),Er.length>1&&m.jsxs(m.Fragment,{children:[m.jsx("button",{onClick:o,className:"absolute left-3 top-1/2 -translate-y-1/2 w-9 h-9 bg-brand-black/60 hover:bg-brand-gold flex items-center justify-center text-white hover:text-brand-black transition-all duration-200",children:m.jsx($k,{size:16})}),m.jsx("button",{onClick:l,className:"absolute right-3 top-1/2 -translate-y-1/2 w-9 h-9 bg-brand-black/60 hover:bg-brand-gold flex items-center justify-center text-white hover:text-brand-black transition-all duration-200",children:m.jsx(Hk,{size:16})}),m.jsx("div",{className:"absolute bottom-4 left-0 right-0 flex justify-center gap-2",children:Er.map((c,d)=>m.jsx("button",{onClick:()=>s(d),className:`w-1.5 h-1.5 rounded-full transition-all duration-300 ${d===n?"bg-brand-gold w-4":"bg-white/50"}`},d))})]})]}),m.jsxs("div",{className:"absolute -bottom-6 -left-6 bg-brand-gold p-6 hidden md:block",children:[m.jsx("p",{className:"font-heading text-brand-black text-2xl font-bold leading-none mb-1",children:"AUC"}),m.jsx("p",{className:"font-body text-brand-black text-xs tracking-widest uppercase font-semibold",children:"Since 1901"})]})]})]}),m.jsx("div",{className:"mt-16 pt-6 border-t border-brand-warm-gray/20",children:m.jsx("a",{href:"https://www.auctr.edu",target:"_blank",rel:"noopener noreferrer",className:"font-body text-brand-warm-gray/60 hover:text-brand-warm-gray text-[11px] tracking-wide transition-colors",children:"Images source: Atlanta University Center Robert W. Woodruff Library"})})]})]})}const aD=[{title:"The Tailgate",body:"The only place where game-day energy, premium hospitality, and community come together all afternoon.",image:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/db260bf6c_grillmasterreal.png",tag:"Culture"},{title:"The Matchup",body:"Clark Atlanta and Morehouse continue one of the most celebrated rivalries in HBCU athletics.",image:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/9c26476b8_footballgamefullview.png",tag:"The Game"},{title:"The Culture",body:"Bands. Greeks. Alumni. Students. Families. The entire AUC comes together for one extraordinary weekend.",image:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/6b1e83e3d_fans.png",tag:"Community"}];function lD({exp:t,index:e}){const n=A.useRef(null),s=ga(n,{once:!0,margin:"-60px"});return m.jsxs(xe.div,{ref:n,initial:{opacity:0,y:50},animate:s?{opacity:1,y:0}:{},transition:{duration:.8,delay:e*.15},className:"group relative overflow-hidden cursor-pointer",children:[m.jsxs("div",{className:"aspect-[3/4] md:aspect-auto md:h-[560px] relative overflow-hidden",children:[m.jsx("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105 grayscale group-hover:grayscale-0"}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-brand-black via-brand-black/20 to-transparent"}),m.jsx("div",{className:"absolute inset-0 bg-brand-gold/0 group-hover:bg-brand-gold/10 transition-all duration-500"})]}),m.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-8",children:[m.jsx("span",{className:"inline-block font-body text-brand-gold text-[10px] tracking-[0.35em] uppercase font-semibold mb-3 border border-brand-gold/40 px-3 py-1",children:t.tag}),m.jsx("h3",{className:"font-heading text-brand-white text-3xl md:text-4xl font-bold mb-3 group-hover:text-brand-gold transition-colors duration-300",style:{letterSpacing:"-0.02em"},children:t.title}),m.jsx("p",{className:"font-body text-brand-silver text-sm leading-relaxed max-w-xs",children:t.body}),m.jsxs("div",{className:"mt-5 flex items-center gap-2 text-brand-gold opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:[m.jsx("span",{className:"font-body text-xs tracking-widest uppercase font-semibold",children:"Learn More"}),m.jsx(Es,{size:14})]})]})]})}function cD(){return m.jsx("section",{className:"bg-brand-charcoal py-24 md:py-32",children:m.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10",children:[m.jsxs(xe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"mb-16 md:mb-20",children:[m.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Featured Experiences"})]}),m.jsx("h2",{className:"font-heading text-brand-white",style:{fontSize:"clamp(2rem, 5vw, 4rem)",letterSpacing:"-0.03em",lineHeight:1},children:"The Full Experience"})]}),m.jsx("div",{className:"grid md:grid-cols-3 gap-4 md:gap-6",children:aD.map((t,e)=>m.jsx(lD,{exp:t,index:e},t.title))})]})})}const _o=[{id:1,question:"What brings you to the ATL Labor Day Classic?",options:[{label:"The legacy & history",value:"legacy"},{label:"The music & culture",value:"culture"},{label:"The food & vibes",value:"tailgate"},{label:"The networking & connections",value:"connect"}]},{id:2,question:"Your ideal game-day moment is…",options:[{label:"Watching the bands perform",value:"culture"},{label:"Running into old classmates",value:"legacy"},{label:"The perfect plate at the tailgate",value:"tailgate"},{label:"VIP sideline access",value:"vip"}]},{id:3,question:"Your crew is made up of…",options:[{label:"Alumni from your org or chapter",value:"legacy"},{label:"Friends who love HBCU culture",value:"culture"},{label:"The whole family — all ages",value:"connect"},{label:"Business contacts & community leaders",value:"vip"}]},{id:4,question:"After the game, you're…",options:[{label:"At the alumni dinner",value:"legacy"},{label:"Still dancing somewhere in Atlanta",value:"culture"},{label:"Finding the best after-party tailgate",value:"tailgate"}
229,{label:"Exchanging cards with new connections",value:"connect"}]}],F0={legacy:{title:"The Legacy Builder",description:"You understand that this weekend is about honoring what came before you. You're here to uphold tradition, reconnect with your roots, and pass the torch.",cta:"Reserve Alumni Tickets",color:"from-amber-900/40 to-brand-black"},culture:{title:"The AUC Ambassador",description:"You live for HBCU culture — the bands, the step shows, the fashion, the energy. You represent the full spectrum of AUC excellence wherever you go.",cta:"Explore the Full Experience",color:"from-yellow-900/40 to-brand-black"},tailgate:{title:"The Ultimate Tailgater",description:"For you, the real game happens before kickoff. You bring the best food, the best playlist, and the best energy to the parking lot.",cta:"Get Tailgate Passes",color:"from-orange-900/40 to-brand-black"},connect:{title:"The Weekend Connector",description:"You know that the most valuable conversations happen on the sideline. Every weekend is an opportunity to build something greater together.",cta:"Discover Networking Events",color:"from-stone-700/40 to-brand-black"},vip:{title:"The Sideline VIP",description:"You appreciate access, proximity, and the finer things. You want to experience the Classic from the best vantage point available.",cta:"Explore VIP Packages",color:"from-zinc-700/40 to-brand-black"}};function uD(t){const e={};t.forEach(s=>{e[s]=(e[s]||0)+1});const n=Object.entries(e).sort((s,o)=>o[1]-s[1])[0];return F0[n==null?void 0:n[0]]||F0.culture}function dD(){const[t,e]=A.useState(!1),[n,s]=A.useState(0),[o,l]=A.useState([]),[c,d]=A.useState(null),[f,p]=A.useState(null),y=x=>{p(x),setTimeout(()=>{const b=[...o,x];n+1>=_o.length?d(uD(b)):(s(n+1),l(b),p(null))},350)},v=()=>{e(!1),s(0),l([]),d(null),p(null)};return m.jsxs("section",{id:"quiz",className:"bg-brand-canvas py-24 md:py-36 relative overflow-hidden",children:[m.jsx("div",{className:"absolute inset-0 opacity-[0.03] my-4",style:{backgroundImage:"radial-gradient(#0A0A0A 1px, transparent 1px)",backgroundSize:"24px 24px"}}),m.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-10 relative",children:m.jsxs(Ec,{mode:"wait",children:[!t&&!c&&m.jsxs(xe.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.6},className:"text-center",children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-8",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold-dark"}),m.jsx("span",{className:"font-body text-brand-gold-dark text-xs tracking-[0.35em] uppercase font-semibold",children:"Interactive"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold-dark"})]}),m.jsxs("h2",{className:"font-heading text-brand-black mb-4",style:{fontSize:"clamp(2.5rem, 6vw, 5rem)",letterSpacing:"-0.03em",lineHeight:1}
229,children:["What's Your",m.jsx("br",{}),m.jsx("em",{className:"text-brand-gold-dark",children:"Tailgate Style?"})]}),m.jsx("p",{className:"font-body text-brand-warm-gray text-lg mb-4 font-light",children:"Find your perfect ATL Labor Day Classic experience in less than 60 seconds."}),m.jsx("p",{className:"font-body text-brand-warm-gray text-sm max-w-xl mx-auto mb-12 leading-relaxed",children:"Whether you're coming for the rivalry, the bands, the food, the networking, or the alumni experience, we'll help you discover your perfect game-day experience."}),m.jsxs("a",{href:"https://quiz.atlldc.com",target:"_blank",rel:"noopener noreferrer",className:"bg-brand-black hover:bg-brand-gold hover:text-brand-black text-brand-white font-body font-bold text-xs tracking-widest uppercase px-12 py-4 min-h-[52px] transition-all duration-300 hover:shadow-xl inline-flex items-center gap-3",children:["Take the Quiz",m.jsx(Es,{size:14})]})]},"intro"),t&&!c&&m.jsxs(xe.div,{initial:{opacity:0,x:40},animate:{opacity:1,x:0},exit:{opacity:0,x:-40},transition:{duration:.4},children:[m.jsxs("div",{className:"flex items-center gap-4 mb-12",children:[m.jsx("div",{className:"flex-1 h-px bg-brand-warm-gray/30",children:m.jsx("div",{className:"h-px bg-brand-gold transition-all duration-500",style:{width:`${n/_o.length*100}%`}})}),m.jsxs("span",{className:"font-body text-brand-warm-gray text-xs tracking-widest",children:[n+1," / ",_o.length]})]}),m.jsx("h2",{className:"font-heading text-brand-black text-center mb-12",style:{fontSize:"clamp(1.8rem, 4vw, 3rem)",letterSpacing:"-0.02em",lineHeight:1.1},children:_o[n].question}),m.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:_o[n].options.map(x=>m.jsx("button",{onClick:()=>y(x.value),disabled:f!==null,className:`quiz-option text-left p-6 min-h-[80px] border transition-all duration-200 font-body text-sm font-medium tracking-wide
230                      ${f===x.value?"border-brand-gold bg-brand-gold text-brand-black":"border-brand-warm-gray/30 bg-brand-white text-brand-black hover:border-brand-gold hover:bg-brand-gold/5"}`,children:x.label},x.value))})]},`q-${n}`),c&&m.jsxs(xe.div,{initial:{opacity:0,scale:.96},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:.6},className:"text-center",children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-8",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold-dark"}),m.jsx("span",{className:"font-body text-brand-gold-dark text-xs tracking-[0.35em] uppercase font-semibold",children:"Your Result"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold-dark"})]}),m.jsxs("div",{className:`bg-gradient-to-br ${c.color} border border-brand-warm-gray/20 p-12 mb-8`,children:[m.jsx("span",{className:"font-body text-brand-gold text-[10px] tracking-[0.4em] uppercase font-semibold block mb-4",children:"You Are"}),m.jsx("h2",{className:"font-heading text-brand-white",style:{fontSize:"clamp(2.5rem, 6vw, 5rem)",letterSpacing:"-0.03em",lineHeight:1},children:c.title}),m.jsx("div",{className:"h-px w-16 bg-brand-gold mx-auto my-6"}),m.jsx("p",{className:"font-body text-brand-silver text-base leading-relaxed max-w-lg mx-auto",children:c.description})]}),m.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[m.jsxs("button",{onClick:()=>{var x;return(x=document.querySelector("#countdown"))==null?void 0:x.scrollIntoView({behavior:"smooth"})},className:"bg-brand-gold hover:bg-brand-gold-dark text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 min-h-[52px] transition-all duration-300 inline-flex items-center justify-center gap-2",children:[c.cta,m.jsx(Es,{size:14})]}),m.jsxs("button",{onClick:v,className:"border border-brand-warm-gray/40 text-brand-black hover:border-brand-black font-body font-bold text-xs tracking-widest uppercase px-8 py-4 min-h-[52px] transition-all duration-300 inline-flex items-center justify-center gap-2",children:[m.jsx(pE,{size:13}),"Retake Quiz"]})]})]},"result")]})})]})}function fD(){const t=A.useRef(null);return ga(t,{once:!0,margin:"-80px"}),null}const hD=[{icon:Kk,title:"Ultimate VIP Weekend Pass",sub:"$289",desc:"VIP Lounge + Fan Fest + Game Entry + After Party.",button:"Buy Ultimate VIP",borderColor:"border-purple-700",hoverBorder:"hover:border-purple-500",iconBg:"bg-purple-700",buttonBg:"bg-purple-700 hover:bg-purple-800",to:"/tickets",external:!1},{icon:Zk,title:"VIP Experience",sub:"$249",desc:"VIP Lounge + Fan Fest + Game Entry.",button:"Buy VIP Experience",borderColor:"border-brand-gold",hoverBorder:"hover:border-brand-gold",iconBg:"bg-brand-gold",buttonBg:"bg-brand-gold hover:bg-brand-gold-dark",to:"/tickets",external:!1},{icon:ix,title:"Fan Fest",sub:"$79*",desc:`DTLR HBCU Tour + Game Entry.
231* Students $10 for Fan Fest Entry only with valid id.`,button:"Buy Fan Fest",borderColor:"border-red-800",hoverBorder:"hover:border-red-600",iconBg:"bg-red-800",buttonBg:"bg-red-700 hover:bg-red-800",to:"/tickets",external:!1}];function pD(){return m.jsx("section",{className:"bg-brand-black md:pt-20 md:pb-10 px-12",children:m.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10",children:[m.jsxs(xe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7},className:"text-center mb-12",children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Tickets"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold"})]}),m.jsxs("h2",{className:"font-heading text-brand-white",style:{fontSize:"clamp(2rem, 5vw, 4rem)",letterSpacing:"-0.03em",lineHeight:1},children:["Choose Your Classic ",m.jsx("em",{className:"text-brand-gold",children:"Experience"})]})]}),m.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:hD.map((t,e)=>{const n=t.icon,s=m.jsxs(xe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,delay:e*.15},className:`h-full w-full min-h-[440px] border-2 ${t.borderColor} ${t.hoverBorder} bg-brand-charcoal p-8 flex flex-col items-center text-center transition-all duration-300 group`,children:[m.jsx("div",{className:`w-16 h-16 ${t.iconBg} rounded-full flex items-center justify-center mb-6 transition-transform duration-300 group-hover:scale-110`,children:m.jsx(n,{size:26,className:"text-white"})}),m.jsx("h3",{className:"font-heading text-brand-white text-xl md:text-2xl mb-2 leading-tight uppercase min-h-[3.5rem] flex items-center",children:t.title}),m.jsx("p",{className:"font-heading text-brand-gold tracking-wide uppercase font-semibold mb-4 text-7xl italic",children:t.sub}),m.jsx("p",{className:"font-body text-brand-silver leading-relaxed mb-8 flex-grow text-xl",children:t.desc}),m.jsx("span",{className:`${t.buttonBg} text-white font-body font-bold tracking-widest uppercase px-8 py-4 transition-all duration-300 w-full inline-flex items-center justify-center text-sm`,children:t.button})]});return t.external?m.jsx("a",{href:t.to,target:"_blank",rel:"noopener noreferrer",className:"flex",children:s},t.title):m.jsx(mc,{to:t.to,className:"flex",children:s},t.title)})}),m.jsx(xe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.8},className:"mt-8 w-full overflow-hidden",children:m.jsx("img",{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/9826df616_VIP_SPACE.png",alt:"ATL Labor Day Classic VIP Lounge and Fan Zone Tailgate activation map",className:"w-full h-auto object-contain max-h-[440px]"})}),m.jsxs(xe.p,{initial:{opacity:0}
231,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.8,delay:.3},className:"font-body text-brand-warm-gray text-base md:text-lg text-center mt-10 max-w-3xl mx-auto leading-relaxed hidden",children:["* Students $10 for Fan Fest Entry only with valid id. Game-only tickets are purchased separately through"," ",m.jsx("a",{href:"https://tickets.morehouse.edu/e/2026-football-season/tickets",target:"_blank",rel:"noopener noreferrer",className:"text-brand-white hover:text-brand-gold transition-colors",children:"Morehouse Athletics"}),"."]})]})})}const Fl=[{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/067d41d7a_cannon.jpg",alt:"Nick Cannon performing at ATL Labor Day Classic Fan Fest"},{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/44882b57d_dess.jpg",alt:"Dess Dior performing at ATL Labor Day Classic Fan Fest"},{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/31fae2617_EJJONES.jpg",alt:"EJ Jones performing at ATL Labor Day Classic Fan Fest"},{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/bfc4e363b_yk.jpg",alt:"YK Niece performing at ATL Labor Day Classic Fan Fest"}],mD=4500;function gD(){const[t,e]=A.useState(0);return A.useEffect(()=>{const n=setInterval(()=>{e(s=>(s+1)%Fl.length)},mD);return()=>clearInterval(n)},[]),m.jsxs("section",{id:"performers",className:"bg-brand-black md:pb-20 md:pt-10",children:[m.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-10",children:m.jsxs(xe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7},className:"text-center mb-8",children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-4",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Fan Fest Lineup"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold"})]}),m.jsxs("h2",{className:"font-heading text-brand-white",style:{fontSize:"clamp(1.75rem, 4.5vw, 3.5rem)",letterSpacing:"-0.03em",lineHeight:1},children:["The ",m.jsx("em",{className:"text-brand-gold",children:"Performers"})]})]})}),m.jsxs(xe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.8},className:"relative w-full overflow-hidden bg-brand-charcoal",children:[m.jsx(Ec,{mode:"wait",children:m.jsx(xe.img,{src:Fl[t].src,alt:Fl[t].alt,initial:{opacity:0}
231,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6,ease:"easeOut"},className:"block w-full h-auto"},t)}),m.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2 z-10",children:Fl.map((n,s)=>m.jsx("button",{onClick:()=>e(s),"aria-label":`Go to performer slide ${s+1}`,className:`h-1.5 rounded-full transition-all duration-300 ${s===t?"w-8 bg-brand-gold":"w-1.5 bg-brand-white/50 hover:bg-brand-white/80"}`},s))})]}),m.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-10 pt-8 pb-2 text-center",children:m.jsx("a",{href:"https://atllabordayclassic.com/tickets",target:"_blank",rel:"noopener noreferrer",className:"font-heading uppercase tracking-[0.2em] text-2xl md:text-4xl text-purple-500 hover:text-purple-400 transition-colors duration-300",style:{textShadow:"0 0 20px rgba(168,85,247,0.4)"},children:"Get Fan Fest Tickets Now"})})]})}function yD(){const t=A.useRef(null),e=ga(t,{once:!0,margin:"-80px"});return m.jsxs("section",{id:"sponsorship",ref:t,className:"bg-brand-black py-12 md:py-16 relative overflow-hidden",children:[m.jsx("div",{className:"absolute inset-0",children:m.jsx("img",{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/13b36d218_tents.png",alt:"",className:"w-full h-full object-cover opacity-10"})}),m.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 bg-gradient-to-b from-transparent via-brand-gold to-transparent"}),m.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-10 relative",children:m.jsxs(xe.div,{initial:{opacity:0,y:20},animate:e?{opacity:1,y:0}:{},transition:{duration:.7},className:"flex flex-col md:flex-row md:items-center md:justify-between gap-8",children:[m.jsxs("div",{children:[m.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Partnership"})]}),m.jsxs("h2",{className:"font-heading text-brand-white",style:{fontSize:"clamp(1.5rem, 3vw, 2.75rem)",letterSpacing:"-0.03em",lineHeight:1},children:["Where Atlanta's Most ",m.jsx("em",{className:"text-brand-gold",children:"Influential Audience"})," Gathers"]})]}),m.jsx("a",{href:"mailto:[email protected]",className:"bg-brand-gold hover:bg-brand-gold-dark text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 min-h-[52px] transition-all duration-300 hover:shadow-xl hover:shadow-brand-gold/20 inline-flex items-center whitespace-nowrap",children:"Become a Sponsor"})]})})]})}const vD="https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/1e772034d_image.png",xD="https://www.marriott.com/reservation/rateListMenu.mi?isResLink=true&groupRateAvailable=false";function wD(){const t=A.useRef(null),e=ga(t,{once:!0,margin:"-80px"});return m.jsx("section",{id:"hotel",ref:t,className:"bg-brand-canvas relative overflow-hidden",children:m.jsx("div",{className:"w-full",children:m.jsxs(xe.div,{initial:{opacity:0,y:30},animate:e?{opacity:1,y:0}:{},transition:{duration:.7},className:"bg-white shadow-xl rounded-sm overflow-hidden grid md:grid-cols-2",children:[m.jsxs("div",{className:"md:p-14 lg:p-16 flex flex-col justify-center order-1 md:order-1",children:[m.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Stay With Us"})]}),m.jsx("h2",{className:"font-heading text-brand-black mb-4",style:{fontSize:"clamp(2rem, 5vw, 4rem)",letterSpacing:"-0.03em",lineHeight:1},children:"Our Host Hotel"}),m.jsx("p",{className:"font-body text-brand-gold text-lg font-bold mb-6",children:"Rates starting at $144/night"}),m.jsx("h3",{className:"font-heading text-brand-black text-2xl mb-3",children:"AC Hotel Atlanta Airport Gateway"}),m.jsxs("div",{className:"flex items-start gap-3 mb-10",children:[m.jsx(oE,{size:16,className:"text-brand-gold mt-1 shrink-0"}),m.jsxs("p",{className:"font-body text-brand-black text-sm leading-relaxed",children:["2079 Hospital
231ity Way",m.jsx("br",{}),"Atlanta, Georgia, USA, 30337"]})]}),m.jsxs("a",{href:xD,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-brand-gold hover:bg-brand-gold-dark text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 transition-all duration-300 hover:shadow-xl hover:shadow-brand-gold/20 self-start",children:[m.jsx(Uk,{size:15}),"Book Your Room"]})]}),m.jsx("div",{className:"relative overflow-hidden order-2 md:order-2 min-h-[320px] md:min-h-[480px]",children:m.jsx("img",{src:vD,alt:"AC Hotel Atlanta Airport Gateway",className:"absolute inset-0 w-full h-full object-cover"})})]})})})}const bD="https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/2f0062ff6_vip.png";function SD(){return m.jsxs("section",{className:"relative w-full overflow-hidden bg-brand-black",children:[m.jsxs("div",{className:"absolute inset-0",children:[m.jsx("img",{src:bD,alt:"VIP lounge with field view at the ATL Labor Day Classic",className:"w-full h-full object-cover"}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/70 via-black/50 to-black/85"})]}),m.jsx("div",{className:"relative max-w-7xl mx-auto px-6 lg:px-10 py-24 md:py-36",children:m.jsxs(xe.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.8},className:"max-w-2xl ml-auto text-right",children:[m.jsxs("div",{className:"flex items-center justify-end gap-4 mb-6",children:[m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"VIP Experience"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold"})]}),m.jsxs("h2",{className:"font-heading text-brand-white mb-6",style:{fontSize:"clamp(2rem, 4.5vw, 3.75rem)",letterSpacing:"-0.02em",lineHeight:1.05},children:["GO VIP FOR THE ",m.jsx("em",{className:"text-brand-gold",children:"ULTIMATE CLASSIC"})," EXPERIENCE!"]}),m.jsx("p",{className:"font-body text-brand-silver text-base md:text-lg leading-relaxed mb-4",children:"Enjoy an all-inclusive field-view lounge with food, cocktails, beer, wine, Fan Fest access and game entry."}),m.jsxs("p",{className:"font-heading text-brand-white text-xl md:text-2xl mb-10",children:["VIP tickets start at ",m.jsx("span",{className:"text-brand-gold",children:"$249"}),"."]}),m.jsx(mc,{to:"/tickets",className:"inline-flex items-center gap-2 font-body text-brand-white text-xs font-bold tracking-widest uppercase px-8 py-4 transition-all duration-300 hover:opacity-90 hover:shadow-lg",style:{background:"linear-gradient(135deg, #F5631A, #C0190E)"},children:"Reserve Your VIP Experience →"})]})})]})}const kD=new Date("2026-09-05T12:00:00");function ED(t){return String(t).padStart(2,"0")}function B0(){const t=kD-new Date;return t<=0?{days:0,hours:0,minutes:0,seconds:0}:{days:Math.floor(t/(1e3*60*60*24)),hours:Math.floor(t/(1e3*60*60)%24),minutes:Math.floor(t/(1e3*60)%60),seconds:Math.floor(t/1e3%60)}}function Bl({value:t,label:e,index:n}){const[s,o]=A.useState(t),[l,c]=A.useState(!1);return A.useEffect(()=>{t!==s&&(c(!0),setTimeout(()=>{o(t),c(!1)},300))},[t,s]),m.jsxs(xe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:n*.1},className:"flex flex-col items-center",children:[m.jsx("div",{className:"relative overflow-hidden",children:m.jsx("span",{className:`font-heading text-brand-gold transition-all duration-300 block ${l?"opacity-0 translate-y-4":"opacity-100 translate-y-0"}`,style:{fontSize:"clamp(3.5rem, 10vw, 9rem)",letterSpacing:"-0.04em",fontWeight:900,lineHeight:1},children:ED(t)})}),m.jsx("div",{className:"h-px w-full bg-brand-gold/40 my-3"}),m.jsx("span",{className:"font-body text-brand-warm-gray text-[10px] tracking-[0.35em] uppercase font-semibold",children:e})]})}function CD(){const[t,e]=A.useState(""),[n,s]=A.useState(!1),[o,l]=A.useState(!1),[c,d]=A.useState(""),f=async p=>{if(p.preventDefault(),!!t.trim()){l(!0),d("");try{await us.functions.invoke("subscribe",{email:t}),s(!0),e("")}catch{d("Something went wrong. Please try again.")}finally{l(!1)}}};return n?m.jsxs(xe.div,{initial:{opacity:0,y:10}
231,animate:{opacity:1,y:0},className:"max-w-md mx-auto border border-brand-gold/40 p-6",children:[m.jsx("p",{className:"font-body text-brand-gold text-sm font-semibold tracking-wide",children:"Thank you."}),m.jsx("p",{className:"font-body text-brand-warm-gray text-xs mt-1",children:"You're on the list."})]}):m.jsxs(xe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.4},className:"max-w-md mx-auto",children:[m.jsx("p",{className:"font-body text-brand-warm-gray text-sm mb-4",children:"Be the first to receive updates and exclusive access."}),m.jsxs("form",{onSubmit:f,className:"flex gap-0",children:[m.jsx("input",{type:"email",value:t,onChange:p=>e(p.target.value),placeholder:"Your email address",required:!0,className:"flex-1 bg-transparent border border-brand-warm-gray/30 focus:border-brand-gold text-brand-white placeholder:text-brand-warm-gray/50 font-body text-sm px-4 py-3 outline-none transition-colors duration-300"}),m.jsx("button",{type:"submit",disabled:o,className:"bg-brand-gold hover:bg-brand-gold-dark disabled:opacity-60 text-brand-black font-body font-bold text-xs tracking-widest uppercase px-6 py-3 transition-all duration-300 inline-flex items-center gap-2 whitespace-nowrap",children:o?"...":m.jsxs(m.Fragment,{children:[m.jsx("span",{children:"Stay Connected"}),m.jsx(Es,{size:13})]})})]}),c&&m.jsx("p",{className:"font-body text-red-400 text-xs mt-2",children:c})]})}function _D(){const[t,e]=A.useState(B0());return A.useEffect(()=>{const n=setInterval(()=>e(B0()),1e3);return()=>clearInterval(n)},[]),m.jsxs("section",{id:"countdown",className:"bg-brand-charcoal py-24 md:py-36 relative overflow-hidden",children:[m.jsx("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none select-none overflow-hidden",children:m.jsx("span",{className:"font-heading text-brand-white/[0.02] font-black leading-none whitespace-nowrap",style:{fontSize:"clamp(8rem, 25vw, 22rem)"},children:"2026"})}),m.jsxs("div",{className:"max-w-6xl mx-auto px-6 lg:px-10 relative text-center",children:[m.jsxs(xe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"mb-12",children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Countdown"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold"})]}),m.jsx("h2",{className:"font-heading text-brand-white mb-3",style:{fontSize:"clamp(2rem, 5vw, 4rem)",letterSpacing:"-0.03em",lineHeight:1},children:"ATL Labor Day Classic"}),m.jsx("p",{className:"font-body text-brand-warm-gray text-sm tracking-widest uppercase",children:"September 5, 2026 · Atlanta, Georgia"})]}),m.jsxs("div",{className:"grid grid-cols-4 gap-4 md:gap-8 max-w-3xl mx-auto mb-14",children:[m.jsx(Bl,{value:t.days,label:"Days",index:0}),m.jsx(Bl,{value:t.hours,label:"Hours",index:1}),m.jsx(Bl,{value:t.minutes,label:"Minutes",index:2}),m.jsx(Bl,{value:t.seconds,label:"Seconds",index:3})]}),m.jsx(CD,{})]})]})}function TD({title:t,children:e,onClose:n}){return m.jsx(Ec,{children:m.jsx(xe.div,{initial:{opacity:0}
231,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 bg-black/80 backdrop-blur-sm flex items-center justify-center p-4",onClick:n,children:m.jsxs(xe.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,y:30},transition:{duration:.3},className:"bg-brand-charcoal border border-brand-warm-gray/20 max-w-2xl w-full max-h-[80vh] overflow-hidden flex flex-col",onClick:s=>s.stopPropagation(),children:[m.jsxs("div",{className:"flex items-center justify-between px-8 py-5 border-b border-brand-warm-gray/20 flex-shrink-0",children:[m.jsx("h2",{className:"font-heading text-brand-white text-xl tracking-wide uppercase",children:t}),m.jsx("button",{onClick:n,className:"text-brand-warm-gray hover:text-brand-gold transition-colors",children:m.jsx(pc,{size:18})})]}),m.jsx("div",{className:"overflow-y-auto px-8 py-6 text-brand-warm-gray font-body text-sm leading-relaxed space-y-4",children:e})]})})})}const U0={privacy:{title:"Privacy Policy",body:m.jsxs("div",{className:"space-y-4",children:[m.jsx("p",{className:"text-brand-silver text-xs",children:"Effective Date: June 1, 2026"}),m.jsxs("p",{children:['ATL Labor Day Classic ("we," "our," or "us"), operated by ',m.jsx("strong",{className:"text-brand-silver",children:"91Sixty, LLC"}),", respects your privacy and is committed to protecting the personal information you share with us."]}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Information We Collect"}),m.jsx("p",{children:"We may collect personal information that you voluntarily provide when you register for events, purchase tickets or merchandise, subscribe to our email list, complete forms on our website, or contact us for information or support."}),m.jsx("p",{children:"This may include: name, email address, phone number, mailing address, and payment information (processed through secure third-party providers)."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"How We Use Your Information"}),m.jsx("p",{children:"We may use your information to process registrations and purchases, communicate event updates, respond to inquiries, improve our website and services, and send promotional emails about future events. You may opt out of promotional emails at any time via the unsubscribe link in our emails."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Cookies and Analytics"}),m.jsx("p",{children:"Our website may use cookies and similar technologies to improve user experience and collect information about website usage."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Information Sharing"}),m.jsx("p",{children:"We do not sell, rent, or trade your personal information to third parties. We may share information with trusted service providers who assist in operating our website, processing payments, or delivering event-related services. We may also disclose information when required by law."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Data Security"}),m.jsx("p",{children:"We implement reasonable security measures to protect your personal information. However, no method of internet transmission or electronic storage is completely secure."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Children's Privacy"}),m.jsx("p",{children:"Our website is not directed toward children under the age of 13. We do not knowingly collect personal information from children under 13."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Contact Us"}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"ATL Labor Day Classic"})," · Operated by 91Sixty, LLC · Boston, MA",m.jsx("br",{}),"Email: ",m.jsx("a",{href:"mailto:[email protected]",className:"text-brand-gold hover:underline",children:"[email protected]"})]})]})},terms:{title:"Terms & Conditions",body:m.jsxs("div",{className:"space-y-4",children:[m.jsx("p",{className:"text-brand-silver text-xs",children:"Effective Date: June 1, 2026"}),m.jsx("p",{children:'Welcome to the ATL Labor Day Classic website ("Website"). By accessing or using this Website, you agree to be bound by these Terms and Conditions. If you do not agree with these Terms, please do not use this Website.'}
231),m.jsxs("p",{children:["This Website is operated by ",m.jsx("strong",{className:"text-brand-silver",children:"91Sixty, LLC"})," on behalf of the ",m.jsx("strong",{className:"text-brand-silver",children:"ATL Labor Day Classic"}),"."]}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Use of the Website"}),m.jsx("p",{children:"You agree to use this Website only for lawful purposes and in a manner that does not infringe upon the rights of, restrict, or inhibit the use and enjoyment of the Website by any other person."}),m.jsx("p",{children:"You may not: use the Website for fraudulent or unlawful activities; attempt to gain unauthorized access to the Website or its systems; upload or transmit harmful code, viruses, or malware; or interfere with the operation or security of the Website."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Event Information"}),m.jsx("p",{children:"The ATL Labor Day Classic reserves the right to modify event schedules, locations, speakers, performers, activities, and other event details without prior notice. We are not responsible for circumstances beyond our control, including weather conditions, acts of God, government actions, public health concerns, or other unforeseen events that may impact the event."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Registration and Ticket Purchases"}),m.jsx("p",{children:"All information provided must be accurate and complete. Prices are subject to change without notice. Registration or purchase confirmations are subject to verification. Additional terms may apply to specific purchases, registrations, sponsorships, or vendor agreements."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Intellectual Property"}),m.jsx("p",{children:"All content on this Website, including logos, graphics, images, videos, event branding, and text, is the property of ATL Labor Day Classic, 91Sixty, LLC, or its licensors and is protected by applicable intellectual property laws. You may not reproduce, distribute, modify, or use Website content without prior written permission."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"User Submissions"}),m.jsx("p",{children:"Any information, comments, photos, videos, testimonials, or other materials submitted through the Website may be used by ATL Labor Day Classic and 91Sixty, LLC for promotional, marketing, or operational purposes unless otherwise prohibited by law. By submitting content, you represent that you own or have permission to share such content."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Disclaimer of Warranties"}),m.jsx("p",{children:'This Website is provided on an "as is" and "as available" basis. ATL Labor Day Classic and 91Sixty, LLC make no warranties, express or implied, regarding the Website, its content, or its availability.'}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Limitation of Liability"}),m.jsx("p",{children:"To the fullest extent permitted by law, ATL Labor Day Classic, 91Sixty, LLC, its officers, employees, volunteers, partners, and affiliates shall not be liable for any direct, indirect, incidental, consequential, special, or punitive damages arising from your use of the Website, event cancellations, delays, or modifications, or errors or omissions in Website content."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Governing Law"}),m.jsx("p",{children:"These Terms and Conditions shall be governed by and interpreted in accordance with the laws of the Commonwealth of Massachusetts, without regard to conflict of law principles."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Contact"}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"ATL Labor Day Classic"})," · Operated by 91Sixty, LLC · Boston, MA",m.jsx("br",{}),"Email: ",m.jsx("a",{href:"mailto:[email protected]",className:"text-brand-gold hover:underline",children:"[email protected]"})]})]})},cookies:{title:"Cookie Policy",body:m.jsxs("div",{className:"space-y-4",children:[m.jsx("p",{className:"text-brand-silver text-xs",children:"Effective Date: June 1, 2026"}),m.jsxs("p",{children:["This Cookie Policy explains how ATL Labor Day Classic, operated by ",m.
231jsx("strong",{className:"text-brand-silver",children:"91Sixty, LLC"}),", uses cookies and similar technologies when you visit our website."]}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"What Are Cookies?"}),m.jsx("p",{children:"Cookies are small text files that are stored on your device when you visit a website. They help websites remember information about your visit, improve functionality, and provide a better user experience."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"How We Use Cookies"}),m.jsx("p",{children:"We may use cookies to: ensure the website functions properly; remember user preferences and settings; analyze website traffic and visitor behavior; improve website performance and user experience; and support marketing and promotional efforts."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Types of Cookies We Use"}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"Essential Cookies"})," — necessary for the website to operate correctly, enabling core functions such as page navigation and security features."]}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"Performance and Analytics Cookies"})," — help us understand how visitors interact with our website by collecting anonymous information about page visits and traffic sources."]}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"Functionality Cookies"})," — allow the website to remember choices you make, such as preferences and settings, to provide a more personalized experience."]}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"Marketing Cookies"})," — may be used to help deliver relevant content, promotions, and advertisements based on your interests."]}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Third-Party Cookies"}),m.jsx("p",{children:"Some cookies may be placed by third-party services that appear on our website, including analytics providers, payment processors, social media platforms, and advertising partners. These third parties may collect information in accordance with their own privacy policies."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Managing Cookies"}),m.jsx("p",{children:"Most web browsers allow you to control cookies through their settings. You can choose to block or delete cookies; however, doing so may affect the functionality and performance of certain features of our website."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Contact"}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"ATL Labor Day Classic"})," · Operated by 91Sixty, LLC · Boston, MA",m.jsx("br",{}),"Email: ",m.jsx("a",{href:"mailto:[email protected]",className:"text-brand-gold hover:underline",children:"[email protected]"})]})]})},refund:{title:"Refund & Transfer Policy",body:m.jsxs("div",{className:"space-y-4",children:[m.jsx("p",{className:"text-brand-silver text-xs",children:"Effective Date: June 1, 2026"}),m.jsxs("p",{children:["The ATL Labor Day Classic, operated by ",m.jsx("strong",{className:"text-brand-silver",children:"91Sixty, LLC"}),", appreciates your support and participation. Please review our refund and transfer policy carefully before making a purchase."]}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Ticket Sales"}),m.jsxs("p",{children:["All ticket sales are ",m.jsx("strong",{className:"text-brand-silver",children:"final and n
231on-refundable"}),". No refunds will be issued for change of plans, scheduling conflicts, failure to attend the event, weather conditions, travel delays or transportation issues, or event programming changes."]}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Tent Reservations"}),m.jsxs("p",{children:["All tent reservations are ",m.jsx("strong",{className:"text-brand-silver",children:"final and non-refundable"}),". However, tent reservations ",m.jsx("strong",{className:"text-brand-silver",children:"may be transferred to another individual or organization"})," if you are unable to use your reserved space."]}),m.jsx("p",{children:"To request a tent transfer, the original purchaser must contact us before the event and provide the name and contact information of the new party receiving the reservation. Transfer requests are subject to approval by ATL Labor Day Classic management and must be completed prior to event check-in."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Event Changes or Cancellation"}),m.jsx("p",{children:"ATL Labor Day Classic reserves the right to modify event schedules, locations, activities, and programming as necessary. In the event the event is canceled by ATL Labor Day Classic and not rescheduled, purchasers may be notified of any available options at the sole discretion of event management."}),m.jsx("h3",{className:"text-brand-white font-semibold uppercase tracking-widest text-xs mt-6",children:"Contact"}),m.jsxs("p",{children:[m.jsx("strong",{className:"text-brand-silver",children:"ATL Labor Day Classic"})," · Operated by 91Sixty, LLC · Boston, MA",m.jsx("br",{}),"Email: ",m.jsx("a",{href:"mailto:[email protected]",className:"text-brand-gold hover:underline",children:"[email protected]"})]})]})}};function Zh(){const[t,e]=A.useState(null);return m.jsxs("footer",{id:"contact",className:"bg-brand-black border-t border-brand-gold/20",children:[m.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10 pt-20 pb-12",children:[m.jsxs("div",{className:"grid md:grid-cols-3 gap-12 lg:gap-8 mb-16",children:[m.jsxs("div",{children:[m.jsxs("div",{className:"mb-6",children:[m.jsx("h3",{className:"font-heading text-brand-white text-3xl font-bold tracking-tight mb-1 hidden",children:"ATL"}),m.jsx("p",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold mb-6",children:"Labor Day Classic"})]}),m.jsx("div",{className:"space-y-1 mb-8",children:["Celebrating HBCU Excellence.","Supporting Student-Athletes.","Building Legacy."].map(n=>m.jsx("p",{className:"font-body text-brand-warm-gray text-sm font-light italic",children:n},n))}),m.jsxs("div",{className:"space-y-1 mb-8",children:[m.jsx("p",{className:"font-body text-brand-silver text-sm font-medium",children:"September 5, 2026"}),m.jsx("p",{className:"font-body text-brand-warm-gray text-sm",children:"Atlanta, Georgia"}),m.jsx("p",{className:"font-body text-brand-warm-gray text-sm",children:"Morehouse College"})]}),m.jsx("div",{className:"flex gap-3",children:["#91SixtySeven","#ATLLABORDAYCLASSIC"].map(n=>m.jsx("span",{className:"font-body text-brand-gold text-xs font-semibold tracking-wide",children:n},n))})]}),m.jsxs("div",{children:[m.jsx("h4",{className:"font-body text-brand-white text-xs tracking-[0.35em] uppercase font-semibold mb-6",children:"Contact"}),m.jsxs("div",{className:"space-y-4",children:[m.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 text-brand-warm-gray hover:text-brand-gold transition-colors group",children:[m.jsx(sx,{size:14,className:"text-brand-gold"}),m.jsx("span",{className:"font-body text-sm",children:"[email protected]"})]}),m.jsxs("a",{href:"tel:6179353100",className:"flex items-center gap-3 text-brand-warm-gray hover:text-brand-gold transition-colors",children:[m.jsx(fE,{size:14,className:"text-brand-gold"}),m.jsx("span",{className:"font-body text-sm",children:"617-935-3100"})]})]}),m.jsx("a",{href:"https://www.marriott.com/event-reservations/reservation-link.mi?id=1784744417328&key=GRP&app=resvlink&_branch_match_id=1609664778769532955&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXTywo0MtNLCrKzC8p0UvOz9UvSi0uy0wtN7IHytiCODmZedlqmSm2huYWJuYmJiaG5sZGFmrZqZW27kEBanV
231FqWmpQO156fFJRfnlxalFtsGJaYlFmQBYxLb5YQAAAA%3D%3D&inventoryMissing=true",target:"_blank",rel:"noopener noreferrer",className:"font-body text-brand-warm-gray hover:text-brand-gold text-sm transition-colors mt-2 inline-block",children:"Book a Room — AC Hotel Atlanta Airport Gateway"}),m.jsx("h4",{className:"font-body text-brand-white text-xs tracking-[0.35em] uppercase font-semibold mt-10 mb-6",children:"Follow"}),m.jsx("div",{className:"flex gap-4",children:[{icon:rE,label:"Instagram",href:"https://www.instagram.com/atllabordayclassic"},{icon:Qk,label:"Facebook",href:"https://www.facebook.com/Atllabordayclassic/"},{icon:null,label:"TikTok",href:"https://www.tiktok.com/@atllabordayclassi?is_from_webapp=1&sender_device=pc"}].map(({icon:n,label:s,href:o})=>m.jsx("a",{href:o,"aria-label":s,className:"w-10 h-10 border border-brand-warm-gray/30 hover:border-brand-gold flex items-center justify-center text-brand-warm-gray hover:text-brand-gold transition-all duration-300",children:n?m.jsx(n,{size:15}):m.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor",children:m.jsx("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-2.88 2.5 2.89 2.89 0 0 1-2.89-2.89 2.89 2.89 0 0 1 2.89-2.89c.28 0 .54.04.79.1V9.01a6.33 6.33 0 0 0-.79-.05 6.34 6.34 0 0 0-6.34 6.34 6.34 6.34 0 0 0 6.34 6.34 6.34 6.34 0 0 0 6.33-6.34V8.69a8.18 8.18 0 0 0 4.78 1.52V6.76a4.85 4.85 0 0 1-1.01-.07z"})})},s))})]}),m.jsxs("div",{children:[m.jsx("h4",{className:"font-body text-brand-white text-xs tracking-[0.35em] uppercase font-semibold mb-6",children:"Legal"}),m.jsx("div",{className:"flex flex-col gap-4",children:[{key:"terms",label:"Terms & Conditions"},{key:"privacy",label:"Privacy Policy"},{key:"cookies",label:"Cookie Policy"},{key:"refund",label:"Refund & Return Policy"}].map(({key:n,label:s})=>m.jsx("button",{onClick:()=>e(n),className:"font-body text-brand-warm-gray hover:text-brand-gold text-xs tracking-widest uppercase transition-colors text-left",children:s},n))})]})]}),m.jsxs("div",{className:"border-t border-brand-warm-gray/20 pt-6 flex flex-col md:flex-row justify-between items-center gap-4",children:[m.jsx("p",{className:"font-body text-brand-warm-gray text-xs",children:"© 2026 ATL Labor Day Classic. All rights reserved."}),m.jsx("a",{href:"https://www.speakbeautiful.com",target:"_blank",rel:"noopener noreferrer",className:"font-body text-brand-warm-gray hover:text-brand-gold text-xs tracking-widest uppercase transition-colors",children:"Designed & Developed by Speak Beautiful"})]})]}),t&&m.jsx(TD,{title:U0[t].title,onClose:()=>e(null),children:U0[t].body})]})}function PD(){return m.jsxs("div",{className:"relative",children:[m.jsx(gh,{}),m.jsxs("main",{children:[m.jsx(sD,{}),m.jsx(iD,{}),m.jsx(gD,{}),m.jsx(pD,{}),m.jsx(oD,{}),m.jsx(cD,{}),m.jsx(fD,{}),m.jsx(SD,{}),m.jsx(wD,{}),m.jsx(yD,{}),m.jsx(dD,{}),m.jsx(_D,{}),m.jsx(Zh,{})]})]})}const AD=["Writer","Photographer","Videographer","Broadcast","Podcast","Social Media","Other"];function RD({onClose:t}){const[e,n]=A.useState({outlet_name:"",contact_name:"",contact_email:"",attending_personnel:"",coverage_types:[],previous_coverage_links:"",additional_notes:""}),[s,o]=A.useState(!1),[l,c]=A.useState(!1),[d,f]=A.useState(""),p=(x,b)=>n(_=>({..._,[x]:b})),y=x=>{n(b=>({...b,coverage_types:b.coverage_types.includes(x)?b.coverage_types.filter(_=>_!==x):[...b.coverage_types,x]}))},v=async x=>{if(x.preventDefault(),!e.coverage_types.length){f("Please select at least one coverage type.");return}o(!0),f("");try{await us.functions.invoke("mediaCredentialNotify",e),c(!0)}catch{f("Something went wrong. Please try again.")}finally{o(!1)}};return m.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[m.jsx("div",{className:"absolute inset-0 bg-brand-black/80 backdrop-blur-sm",onClick:t}),m.jsxs("div",{className:"relative bg-brand-charcoal border border-brand-warm-gray/20 w-full max-w-2xl max-h-[90vh] overflow-y-auto",children:[m.jsxs("div",{className:"sticky top-0 bg-brand-charcoal border-b border-brand-warm-gray/20 px-8 py-6 flex items-start justify-between z-10",children:[m.jsxs("div",{children:[m.jsx("p",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold mb-1",children:"ATL Labor Day Classic"}),m.jsx("h2",{className:"font-heading text-brand-white text-2xl uppercase tracking-tight",children:"Media Pass Application"})]}),m.jsx("button",{onClick:t,className:"text-brand-warm-gray hover:text-brand-white transition-colors ml-4 mt-1",children:m.jsx(pc,{size:18})})]}),m.jsx("div",{className:"px-8 py-8",children:l?m.jsxs("div",{className:"text-center py-8",children:[m.jsx("div",{className:"w-12 h-12 border border-brand-gold flex items-center justify-center mx-auto mb-6",children:m.jsx(Es,{size:20,className:"text-brand-gold"})}),m.jsx("h3",{className:"font-heading text-brand-white text-xl uppercase mb-3",children:"Application Received"}),m.jsx("p",{className:"font-body text-brand-warm-gray text-sm leading-relaxed max-w-sm mx-auto mb-2",children:"Thank y
231ou. Your credential request has been submitted. Our team will review your application and respond within 5–7 business days."}),m.jsxs("p",{className:"font-body text-brand-warm-gray/60 text-xs",children:["Questions? ",m.jsx("a",{href:"mailto:[email protected]",className:"text-brand-gold hover:underline",children:"[email protected]"})]})]}):m.jsxs("form",{onSubmit:v,className:"space-y-6",children:[m.jsxs("div",{children:[m.jsxs("label",{className:"font-body text-brand-silver text-xs tracking-widest uppercase block mb-2",children:["Publication / Outlet Name ",m.jsx("span",{className:"text-brand-gold",children:"*"})]}),m.jsx("input",{required:!0,value:e.outlet_name,onChange:x=>p("outlet_name",x.target.value),placeholder:"e.g. The Atlanta Journal-Constitution",className:"w-full bg-transparent border border-brand-warm-gray/30 focus:border-brand-gold text-brand-white placeholder:text-brand-warm-gray/40 font-body text-sm px-4 py-3 outline-none transition-colors"})]}),m.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[m.jsxs("div",{children:[m.jsxs("label",{className:"font-body text-brand-silver text-xs tracking-widest uppercase block mb-2",children:["Primary Contact Name ",m.jsx("span",{className:"text-brand-gold",children:"*"})]}),m.jsx("input",{required:!0,value:e.contact_name,onChange:x=>p("contact_name",x.target.value),placeholder:"Full name",className:"w-full bg-transparent border border-brand-warm-gray/30 focus:border-brand-gold text-brand-white placeholder:text-brand-warm-gray/40 font-body text-sm px-4 py-3 outline-none transition-colors"})]}),m.jsxs("div",{children:[m.jsxs("label",{className:"font-body text-brand-silver text-xs tracking-widest uppercase block mb-2",children:["Contact Email ",m.jsx("span",{className:"text-brand-gold",children:"*"})]}),m.jsx("input",{required:!0,type:"email",value:e.contact_email,onChange:x=>p("contact_email",x.target.value),placeholder:"[email protected]",className:"w-full bg-transparent border border-brand-warm-gray/30 focus:border-brand-gold text-brand-white placeholder:text-brand-warm-gray/40 font-body text-sm px-4 py-3 outline-none transition-colors"})]})]}),m.jsxs("div",{children:[m.jsx("label",{className:"font-body text-brand-silver text-xs tracking-widest uppercase block mb-2",children:"Names of Attending Media Personnel"}),m.jsx("textarea",{value:e.attending_personnel,onChange:x=>p("attending_personnel",x.target.value),placeholder:"List all individuals requiring credentials, one per line",rows:3,className:"w-full bg-transparent border border-brand-warm-gray/30 focus:border-brand-gold text-brand-white placeholder:text-brand-warm-gray/40 font-body text-sm px-4 py-3 outline-none transition-colors resize-none"})]}),m.jsxs("div",{children:[m.jsxs("label",{className:"font-body text-brand-silver text-xs tracking-widest uppercase block mb-3",children:["Type of Coverage ",m.jsx("span",{className:"text-brand-gold",children:"*"})]}),m.jsx("div",{className:"flex flex-wrap gap-2",children:AD.map(x=>m.jsx("button",{type:"button",onClick:()=>y(x),className:`font-body text-xs tracking-widest uppercase px-4 py-2 border transition-all duration-200 ${e.coverage_types.includes(x)?"border-brand-gold bg-brand-gold/10 text-brand-gold":"border-brand-warm-gray/30 text-brand-warm-gray hover:border-brand-warm-gray"}`,children:x},x))})]}),m.jsxs("div",{children:[m.jsx("label",{className:"font-body text-brand-silver text-xs tracking-widest uppercase block mb-2",children:"Links to Previous Coverage or Media Kit"}),m.jsx("textarea",{value:e.previous_coverage_links,onChange:x=>p("previous_coverage_links",x.target.value),placeholder:"URLs to published work, website, or media kit",rows:2,className:"w-full bg-transparent border border-brand-warm-gray/30 focus:border-brand-gold text-brand-white placeholder:text-brand-warm-gray/40 font-body text-sm px-4 py-3 outline-none transition-colors resize-none"})]}),m.jsxs("div",{children:[m.jsx("label",{className:"font-body text-brand-silver text-xs tracking-widest uppercase block mb-2",children:"Additional Notes"}),m.jsx("textarea",{value:e.additional_notes,onChange:x=>p("additional_notes",x.target.value),placeholder:"Anything else we should know about your coverage plans",rows:2,className:"w-full bg-transparent border border-brand-warm-gray/30 focus:border-brand-gold text-brand-white placeholder:text-brand-warm-gray/40 font-body text-sm px-4 py-3 outline-none transition-colors resize-none"})]}),d&&m.jsx("p",{className:"font-body text-red-400 text-xs",children:d}),m.jsx("div",{className:"pt-2",children:m.jsx("button",{type:"submit",disabled:s,className:"w-full sm:w-auto text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 transition-all duration-300 hover:opacity-90 disabled:opacity-50 inline-flex items-center justify-center gap-2",style:{background:"linear-gradient(135deg, #F5631A, #C0190E)"},children:s?"Submitting...":m.jsxs(m.Fragment,{children:[m.jsx("span",{children:"Submit Application"}),m.jsx(Es,{size:13})]})})}),m.jsxs("p",{className:"font-body text-brand-warm-gray/50 text-xs leading-relaxed",children:["Applications are reviewed on a rolling basis. Credential decisions will be communicated via email. For questions, contact ",m.jsx("a",{href:"mailto:[email protected]",className:"text-brand-gold hover:underline",children:"[email protected]"}),"."]})]})})]})]})}const ND=[{icon:sx,title:"Media Contact",body:"For all press inquiries, interview requests, and media-related questions, reach our communications team directly.",action:{label:"[email protected]",href:"mailto:[email protected]"}},{icon:uE,title:"Interview Requests",body:"We welcome requests for interviews with event organizers, coaching staff, participating athletes, and corporate partners. Please include your publication, deadline, and the specific subject of your request.",action:{label:"Send Inquiry",href:"mailto:[email protected]?subject=Interview Request – ATL Labor Day Classic"}},{icon:tE,title:"Logos & Press Materials",body:"Members of the press may request official event logos, high-resolution photography, event branding guidelines, and supplementary press materials.",action:{label:"Request Assets",href:"mailto:[email protected]?subject=Press Asset Request – ATL Labor Day Classic"}}];function jD(){const[t,e]=A.useState(!1);return m.jsxs("div",{className:"relative bg-brand-black min-h-screen",children:[m.jsx(gh,{}),m.jsxs("main",{className:"pt-32 pb-0",children:[m.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10",children:[m.jsx(xe.div,{initial:{opacity:0,x:-10}
231,animate:{opacity:1,x:0},transition:{duration:.5},className:"mb-12",children:m.jsxs(mc,{to:"/",className:"inline-flex items-center gap-2 font-body text-brand-warm-gray hover:text-brand-gold text-xs tracking-widest uppercase transition-colors",children:[m.jsx(rx,{size:13}),"Back to Home"]})}),m.jsxs(xe.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"mb-16",children:[m.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Media"})]}),m.jsx("h1",{className:"font-heading text-brand-white uppercase mb-4",style:{fontSize:"clamp(2.5rem, 6vw, 5rem)",letterSpacing:"-0.03em",lineHeight:.95},children:"Press & Media"}),m.jsx("p",{className:"font-body text-brand-warm-gray text-base leading-relaxed max-w-xl",children:"The ATL Labor Day Classic welcomes media coverage. Credentialed press will have access to designated areas throughout the event. All media inquiries are handled by our communications team."})]}),m.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-16",children:ND.map(({icon:n,title:s,body:o,action:l},c)=>m.jsxs(xe.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:c*.12},className:"border border-brand-warm-gray/20 p-8 hover:border-brand-gold/40 transition-colors duration-300 group",children:[m.jsx("div",{className:"w-10 h-10 border border-brand-gold/40 flex items-center justify-center mb-6 group-hover:border-brand-gold transition-colors",children:m.jsx(n,{size:16,className:"text-brand-gold"})}),m.jsx("h3",{className:"font-body text-brand-white text-sm font-semibold tracking-widest uppercase mb-3",children:s}),m.jsx("p",{className:"font-body text-brand-warm-gray text-sm leading-relaxed mb-6",children:o}),m.jsx("a",{href:l.href,className:"font-body text-brand-gold text-xs tracking-widest uppercase font-semibold hover:underline",children:l.label})]},s))}),m.jsxs(xe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"border border-brand-gold/30 p-10 md:p-14 flex flex-col md:flex-row items-start md:items-center justify-between gap-8 mb-24",children:[m.jsxs("div",{className:"flex items-start gap-6",children:[m.jsx("div",{className:"w-12 h-12 border border-brand-gold flex items-center justify-center flex-shrink-0 mt-1",children:m.jsx(Xk,{size:18,className:"text-brand-gold"})}),m.jsxs("div",{children:[m.jsx("h2",{className:"font-heading text-brand-white text-2xl uppercase tracking-tight mb-2",children:"Media Pass Application"}),m.jsx("p",{className:"font-body text-brand-warm-gray text-sm leading-relaxed max-w-lg",children:"Apply for press credentials to cover the ATL Labor Day Classic. Submissions are reviewed on a rolling basis. Credential decisions are communicated via email prior to the event."}),m.jsx("p",{className:"font-body text-brand-warm-gray/50 text-xs mt-3 tracking-wide",children:"Submission deadline: August 1, 2026"})]})]}),m.jsx("button",{onClick:()=>e(!0),className:"flex-shrink-0 text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 transition-all duration-300 hover:opacity-90 whitespace-nowrap",style:{background:"linear-gradient(135deg, #F5631A, #C0190E)"},children:"Apply for Credentials"})]})]}),m.jsx(Zh,{})]}),t&&m.jsx(RD,{onClose:()=>e(!1)})]})}function OD(){return m.jsxs("div",{className:"relative bg-brand-black min-h-screen",children:[m.jsx(gh,{}),m.jsxs("main",{className:"pt-32 pb-0",children:[m.jsxs("div",{className:"max-w-5xl mx-auto px-6 lg:px-10",children:[m.jsx(xe.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{duration:.5},className:"mb-12",children:m.jsxs(mc,{to:"/",className:"inline-flex items-center gap-2 font-body text-brand-warm-gray hover:text-brand-gold text-xs tracking-widest uppercase transition-colors",children:[m.jsx(rx,{size:13}),"Back to Home"]})}),m.jsxs(xe.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"mb-16 text-center",children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx("span",{className:"font-body text-brand-gold text-xs tracking-[0.35em] uppercase font-semibold",children:"Game Day Experiences"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold"})]}),m.jsx("h1",{className:"font-heading text-brand-white uppercase mb-4",style:{fontSize:"clamp(2.5rem, 6vw, 5rem)",letterSpacing:"-0.03em",lineHeight:.95},children:"Choose Your Experience"}),m.jsxs("p",{className:"font-body text-brand-silver text-sm md:text-base font-light max-w-2xl mx-auto leading-relaxed",children:["Game-only tickets are available through ",m.jsx("a",{href:"https://tickets.morehouse.edu/e/2026-football-season/tickets",target:"_blank",rel:"noopener noreferrer",className:"text-brand-white hover:text-brand-gold hover:underline transition-colors",children:"Morehouse Athletics"}),", while all other ATL Labor Day Classic tickets and experiences can be purchased directly through our website."]}),m.jsx(xe.div,{initial:{opacity:0,y:20}
231,animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},className:"mt-12 w-full overflow-hidden",children:m.jsx("img",{src:"https://media.base44.com/images/public/6a2f7bb26be0c4b53644de88/335fe0d06_finalactivationmap.png",alt:"ATL Labor Day Classic VIP Lounge and Fan Zone Tailgate Experiences map",className:"w-full h-auto object-contain"})})]}),m.jsx(xe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"mb-24",children:m.jsx("iframe",{src:"https://tickets.atllabordayclassic.com/orders/tickets_iframe/6a4ea950-8bb4-44eb-aa3b-00350a1e60ee",title:"ATL Labor Day Classic Tickets",height:"600px",width:"100%",id:"ticketsIframe",style:{backgroundColor:"#fff",border:"2px solid #1A1A1A"},vspace:"0",hspace:"0",marginHeight:"5",marginWidth:"5",scrolling:"auto"})})]}),m.jsx("div",{className:"bg-brand-charcoal border-t border-brand-gold/20 py-20",children:m.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-10 text-center",children:m.jsxs(xe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[m.jsxs("div",{className:"flex items-center justify-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-12 bg-brand-gold"}),m.jsx(ix,{size:18,className:"text-brand-gold"}),m.jsx("div",{className:"h-px w-12 bg-brand-gold"})]}),m.jsxs("h2",{className:"font-heading text-brand-white mb-4",style:{fontSize:"clamp(2rem, 4.5vw, 3.5rem)",letterSpacing:"-0.02em",lineHeight:1.05},children:["Looking for Game ",m.jsx("em",{className:"text-brand-gold",children:"Tickets Only?"})]}),m.jsx("p",{className:"font-body text-brand-silver text-base font-light mb-8 max-w-xl mx-auto",children:"Purchase game tickets directly through Morehouse College Athletics."}),m.jsx("a",{href:"https://tickets.morehouse.edu/e/2026-football-season/tickets",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-brand-gold hover:bg-brand-gold-dark text-brand-black font-body font-bold text-xs tracking-widest uppercase px-10 py-4 transition-all duration-300 hover:shadow-xl hover:shadow-brand-gold/30",children:"Game Tickets"})]})})}),m.jsx(Zh,{})]})]})}function LD(){return m.jsx(QR,{children:m.jsxs(LC,{client:KC,children:[m.jsxs(G_,{children:[m.jsx(XR,{}),m.jsxs(V_,{children:[m.jsx(Po,{path:"/",element:m.jsx(PD,{})}),m.jsx(Po,{path:"/press",element:m.jsx(jD,{})}),m.jsx(Po,{path:"/tickets",element:m.jsx(OD,{})}),m.jsx(Po,{path:"*",element:m.jsx(KR,{})})]})]}),m.jsx(lC,{})]})})}_k.createRoot(document.getElementById("root")).render(m.jsx(LD,{}));

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.