PageSourceSearch

https://ontopcardspinandwin.lovable.app/assets/index-DqcBJbEQ.js

js ontopcardspinandwin.lovable.app collected 2026-10-03 03:34:29 UTC 404,734 bytes, 148 lines download raw bytes

vendor: 5,067 bytes, lines 1-9
1var Xd=e=>{throw TypeError(e)};var xl=(e,t,n)=>t.has(e)||Xd("Cannot "+n);var M=(e,t,n)=>(xl(e,t,"read from private field"),n?n.call(e):t.get(e)),le=(e,t,n)=>t.has(e)?Xd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ee=(e,t,n,r)=>(xl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Be=(e,t,n)=>(xl(e,t,"access private method"),n);var ls=(e,t,n,r)=>({set _(o){ee(e,t,o,n)},get _(){return M(e,t,r)}});function P0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Sh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bh={exports:{}},_a={},Eh={exports:{}},ne={};/**
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 Qi=Symbol.for("react.element"),k0=Symbol.for("react.portal"),T0=Symbol.for("react.fragment"),N0=Symbol.for("react.strict_mode"),R0=Symbol.for("react.profiler"),O0=Symbol.for("react.provider"),M0=Symbol.for("react.context"),A0=Symbol.for("react.forward_ref"),_0=Symbol.for("react.suspense"),I0=Symbol.for("react.memo"),D0=Symbol.for("react.lazy"),qd=Symbol.iterator;function L0(e){return e===null||typeof e!="object"?null:(e=qd&&e[qd]||e["@@iterator"],typeof e=="function"?e:null)}var Ch={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ph=Object.assign,kh={};function _o(e,t,n){this.props=e,this.context=t,this.refs=kh,this.updater=n||Ch}_o.prototype.isReactComponent={};_o.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};_o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Th(){}Th.prototype=_o.prototype;function kc(e,t,n){this.props=e,this.context=t,this.refs=kh,this.updater=n||Ch}var Tc=kc.prototype=new Th;Tc.constructor=kc;Ph(Tc,_o.prototype);Tc.isPureReactComponent=!0;var Zd=Array.isArray,Nh=Object.prototype.hasOwnProperty,Nc={current:null},Rh={key:!0,ref:!0,__self:!0,__source:!0};function Oh(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Nh.call(t,r)&&!Rh.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Qi,type:e,key:i,ref:s,props:o,_owner:Nc.current}}function j0(e,t){return{$$typeof:Qi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Rc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qi}function F0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Jd=/\/+/g;function Sl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?F0(""+e.key):t.toString(36)}function Ds(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Qi:case k0:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Sl(s,0):r,Zd(o)?(n="",e!=null&&(n=e.replace(Jd,"$&/")+"/"),Ds(o,t,n,"",function(u){return u})):o!=null&&(Rc(o)&&(o=j0(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Jd,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Zd(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Sl(i,a);s+=Ds(i,t,n,l,o)}else if(l=L0(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Sl(i,a++),s+=Ds(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}
vendor: 6,107 bytes, lines 9-25
9function us(e,t,n){if(e==null)return e;var r=[],o=0;return Ds(e,r,"","",function(i){return t.call(n,i,o++)}),r}function z0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ze={current:null},Ls={transition:null},$0={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:Ls,ReactCurrentOwner:Nc};function Mh(){throw Error("act(...) is not supported in production builds of React.")}ne.Children={map:us,forEach:function(e,t,n){us(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return us(e,function(){t++}),t},toArray:function(e){return us(e,function(t){return t})||[]},only:function(e){if(!Rc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ne.Component=_o;ne.Fragment=T0;ne.Profiler=R0;ne.PureComponent=kc;ne.StrictMode=N0;ne.Suspense=_0;ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$0;ne.act=Mh;ne.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ph({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Nc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Nh.call(t,l)&&!Rh.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Qi,type:e.type,key:o,ref:i,props:r,_owner:s}};ne.createContext=function(e){return e={$$typeof:M0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:O0,_context:e},e.Consumer=e};ne.createElement=Oh;ne.createFactory=function(e){var t=Oh.bind(null,e);return t.type=e,t};ne.createRef=function(){return{current:null}};ne.forwardRef=function(e){return{$$typeof:A0,render:e}};ne.isValidElement=Rc;ne.lazy=function(e){return{$$typeof:D0,_payload:{_status:-1,_result:e},_init:z0}};ne.memo=function(e,t){return{$$typeof:I0,type:e,compare:t===void 0?null:t}};ne.startTransition=function(e){var t=Ls.transition;Ls.transition={};try{e()}finally{Ls.transition=t}};ne.unstable_act=Mh;ne.useCallback=function(e,t){return Ze.current.useCallback(e,t)};ne.useContext=function(e){return Ze.current.useContext(e)};ne.useDebugValue=function(){};ne.useDeferredValue=function(e){return Ze.current.useDeferredValue(e)};ne.useEffect=function(e,t){return Ze.current.useEffect(e,t)};ne.useId=function(){return Ze.current.useId()};ne.useImperativeHandle=function(e,t,n){return Ze.current.useImperativeHandle(e,t,n)};ne.useInsertionEffect=function(e,t){return Ze.current.useInsertionEffect(e,t)};ne.useLayoutEffect=function(e,t){return Ze.current.useLayoutEffect(e,t)};ne.useMemo=function(e,t){return Ze.current.useMemo(e,t)};ne.useReducer=function(e,t,n){return Ze.current.useReducer(e,t,n)};ne.useRef=function(e){return Ze.current.useRef(e)};ne.useState=function(e){return Ze.current.useState(e)};ne.useSyncExternalStore=function(e,t,n){return Ze.current.useSyncExternalStore(e,t,n)};ne.useTransition=function(){return Ze.current.useTransition()};ne.version="18.3.1";Eh.exports=ne;var w=Eh.exports;const F=Sh(w),Oc=P0({__proto__:null,default:F},[w]);/**
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 B0=w,U0=Symbol.for("react.element"),W0=Symbol.for("react.fragment"),V0=Object.prototype.hasOwnProperty,H0=B0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Y0={key:!0,ref:!0,__self:!0,__source:!0};function Ah(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)V0.call(t,r)&&!Y0.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:U0,type:e,key:i,ref:s,props:o,_owner:H0.current}}_a.Fragment=W0;_a.jsx=Ah;_a.jsxs=Ah;bh.exports=_a;var S=bh.exports,_h={exports:{}},mt={},Ih={exports:{}},Dh={};/**
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 */(function(e){function t(T,R){var z=T.length;T.push(R);e:for(;0<z;){var Q=z-1>>>1,B=T[Q];if(0<o(B,R))T[Q]=R,T[z]=B,z=Q;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var R=T[0],z=T.pop();if(z!==R){T[0]=z;e:for(var Q=0,B=T.length,G=B>>>1;Q<G;){var K=2*(Q+1)-1,ie=T[K],ue=K+1,L=T[ue];if(0>o(ie,z))ue<B&&0>o(L,ie)?(T[Q]=L,T[ue]=z,Q=ue):(T[Q]=ie,T[K]=z,Q=K);else if(ue<B&&0>o(L,z))T[Q]=L,T[ue]=z,Q=ue;else break e}}return R}function o(T,R){var z=T.sortIndex-R.sortIndex;return z!==0?z:T.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,m=3,h=!1,x=!1,f=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(T){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=T)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function b(T){if(f=!1,v(T),!x)if(n(l)!==null)x=!0,$(E);else{var R=n(u);R!==null&&U(b,R.startTime-T)}}function E(T,R){x=!1,f&&(f=!1,g(k),k=-1),h=!0;var z=m;try{for(v(R),d=n(l);d!==null&&(!(d.expirationTime>R)||T&&!j());){var Q=d.callback;
vendor: 9,152 bytes, lines 25-34
25if(typeof Q=="function"){d.callback=null,m=d.priorityLevel;var B=Q(d.expirationTime<=R);R=e.unstable_now(),typeof B=="function"?d.callback=B:d===n(l)&&r(l),v(R)}else r(l);d=n(l)}if(d!==null)var G=!0;else{var K=n(u);K!==null&&U(b,K.startTime-R),G=!1}return G}finally{d=null,m=z,h=!1}}var P=!1,C=null,k=-1,N=5,O=-1;function j(){return!(e.unstable_now()-O<N)}function _(){if(C!==null){var T=e.unstable_now();O=T;var R=!0;try{R=C(!0,T)}finally{R?H():(P=!1,C=null)}}else P=!1}var H;if(typeof p=="function")H=function(){p(_)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,V=A.port2;A.port1.onmessage=_,H=function(){V.postMessage(null)}}else H=function(){y(_,0)};function $(T){C=T,P||(P=!0,H())}function U(T,R){k=y(function(){T(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){x||h||(x=!0,$(E))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var z=m;m=R;try{return T()}finally{m=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var z=m;m=T;try{return R()}finally{m=z}},e.unstable_scheduleCallback=function(T,R,z){var Q=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?Q+z:Q):z=Q,T){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=z+B,T={id:c++,callback:R,priorityLevel:T,startTime:z,expirationTime:B,sortIndex:-1},z>Q?(T.sortIndex=z,t(u,T),n(l)===null&&T===n(u)&&(f?(g(k),k=-1):f=!0,U(b,z-Q))):(T.sortIndex=B,t(l,T),x||h||(x=!0,$(E))),T},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(T){var R=m;return function(){var z=m;m=R;try{return T.apply(this,arguments)}finally{m=z}}}})(Dh);Ih.exports=Dh;var Q0=Ih.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 K0=w,ht=Q0;function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Lh=new Set,wi={};function Lr(e,t){Co(e,t),Co(e+"Capture",t)}function Co(e,t){for(wi[e]=t,e=0;e<t.length;e++)Lh.add(t[e])}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lu=Object.prototype.hasOwnProperty,G0=/^[: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]*$/,ef={},tf={};function X0(e){return lu.call(tf,e)?!0:lu.call(ef,e)?!1:G0.test(e)?tf[e]=!0:(ef[e]=!0,!1)}function q0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Z0(e,t,n,r){if(t===null||typeof t>"u"||q0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Je(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ze[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ze[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ze[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ze[e]=new Je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ze[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ze[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ze[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ze[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ze[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Mc=/[\-:]([a-z])/g;function Ac(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Mc,Ac);ze[t]=new Je(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Mc,Ac);ze[t]=new Je(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Mc,Ac);ze[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ze[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});ze.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ze[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function _c(e,t,n,r){var o=ze.hasOwnProperty(t)?ze[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Z0(t,n,o,r)&&(n=null),r||o===null?X0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Cn=K0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cs=Symbol.for("react.element"),Qr=Symbol.for("react.portal"),Kr=Symbol.for("react.fragment"),Ic=Symbol.for("react.strict_mode"),uu=Symbol.for("react.profiler"),jh=Symbol.for("react.provider"),Fh=Symbol.for("react.context"),Dc=Symbol.for("react.forward_ref"),cu=Symbol.for("react.suspense"),du=Symbol.for("react.suspense_list"),Lc=Symbol.for("react.memo"),Ln=Symbol.for("react.lazy"),zh=Symbol.for("react.offscreen"),nf=Symbol.iterator;function Wo(e){return e===null||typeof e!="object"?null:(e=nf&&e[nf]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,bl;function ni(e){if(bl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);bl=t&&t[1]||""}return`
34`+bl+e}var El=!1;function Cl(e,t){if(!e||El)return"";El=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 3,667 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{El=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ni(e):""}function J0(e){switch(e.tag){case 5:return ni(e.type);case 16:return ni("Lazy");case 13:return ni("Suspense");case 19:return ni("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function fu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kr:return"Fragment";case Qr:return"Portal";case uu:return"Profiler";case Ic:return"StrictMode";case cu:return"Suspense";case du:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fh:return(e.displayName||"Context")+".Consumer";case jh:return(e._context.displayName||"Context")+".Provider";case Dc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lc:return t=e.displayName||null,t!==null?t:fu(e.type)||"Memo";case Ln:t=e._payload,e=e._init;try{return fu(e(t))}catch{}}return null}function ew(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fu(t);case 8:return t===Ic?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function nr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $h(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tw(e){var t=$h(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ds(e){e._valueTracker||(e._valueTracker=tw(e))}function Bh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$h(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Js(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function pu(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function rf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;
vendor: 4,810 bytes, line 37
37n=nr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Uh(e,t){t=t.checked,t!=null&&_c(e,"checked",t,!1)}function hu(e,t){Uh(e,t);var n=nr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mu(e,t.type,n):t.hasOwnProperty("defaultValue")&&mu(e,t.type,nr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function of(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mu(e,t,n){(t!=="number"||Js(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ri=Array.isArray;function io(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+nr(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function gu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function sf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(ri(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nr(n)}}function Wh(e,t){var n=nr(t.value),r=nr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function af(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Vh(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function vu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Vh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fs,Hh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(fs=fs||document.createElement("div"),fs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var li={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},nw=["Webkit","ms","Moz","O"];Object.keys(li).forEach(function(e){nw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),li[t]=li[e]})});function Yh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||li.hasOwnProperty(e)&&li[e]?(""+t).trim():t+"px"}function Qh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Yh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var rw=Ce({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 yu(e,t){if(t){if(rw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function wu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xu=null;function jc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Su=null,so=null,ao=null;function lf(e){if(e=Xi(e)){if(typeof Su!="function")throw Error(I(280));var t=e.stateNode;t&&(t=Fa(t),Su(e.stateNode,e.type,t))}}function Kh(e){so?ao?ao.push(e):ao=[e]:so=e}function Gh(){if(so){var e=so,t=ao;if(ao=so=null,lf(e),t)for(e=0;e<t.length;e++)lf(t[e])}}function Xh(e,t){return e(t)}function qh(){}var Pl=!1;function Zh(e,t,n){if(Pl)return e(t,n);Pl=!0;try{return Xh(e,t,n)}finally{Pl=!1,(so!==null||ao!==null)&&(qh(),Gh())}}function Si(e,t){var n=e.stateNode;if(n===null)return null;var r=Fa(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(I(231,t,typeof n));return n}var bu=!1;if(yn)try{var Vo={};Object.defineProperty(Vo,"passive",{get:function(){bu=!0}}),window.addEventListener("test",Vo,Vo),window.removeEventListener("test",Vo,Vo)}catch{bu=!1}function ow(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var ui=!1,ea=null,ta=!1,Eu=null,iw={onError:function(e){ui=!0,ea=e}};function sw(e,t,n,r,o,i,s,a,l){ui=!1,ea=null,ow.apply(iw,arguments)}function aw(e,t,n,r,o,i,s,a,l){if(sw.apply(this,arguments),ui){if(ui){var u=ea;ui=!1,ea=null}else throw Error(I(198));ta||(ta=!0,Eu=u)}}function jr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Jh(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function uf(e){if(jr(e)!==e)throw Error(I(188))}function lw(e){var t=e.alternate;if(!t){if(t=jr(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return uf(o),e;if(i===r)return uf(o),t;i=i.sibling}throw Error(I(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function em(e){return e=lw(e),e!==null?tm(e):null}function tm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=tm(e);if(t!==null)return t;e=e.sibling}return null}var nm=ht.unstable_scheduleCallback,cf=ht.unstable_cancelCallback,uw=ht.unstable_shouldYield,cw=ht.unstable_requestPaint,Ne=ht.unstable_now,dw=ht.unstable_getCurrentPriorityLevel,Fc=ht.unstable_ImmediatePriority,rm=ht.unstable_UserBlockingPriority,na=ht.unstable_NormalPriority,fw=ht.unstable_LowPriority,om=ht.unstable_IdlePriority,Ia=null,rn=null;function pw(e){if(rn&&typeof rn.onCommitFiberRoot=="function")try{rn.onCommitFiberRoot(Ia,e,void 0,(e.current.flags&128)===128)}catch{}}var Bt=Math.clz32?Math.clz32:gw,hw=Math.log,mw=Math.LN2;function gw(e){return e>>>=0,e===0?32:31-(hw(e)/mw|0)|0}var ps=64,hs=4194304;function oi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ra(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=oi(a):(i&=s,i!==0&&(r=oi(i)))}else s=n&~o,s!==0?r=oi(s):i!==0&&(r=oi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Bt(t),o=1<<n,r|=e[n],t&=~o;return r}function vw(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yw(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Bt(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=vw(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function Cu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function im(){var e=ps;return ps<<=1,!(ps&4194240)&&(ps=64),e}function kl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ki(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Bt(t),e[t]=n}function ww(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Bt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function zc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Bt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var fe=0;function sm(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var am,$c,lm,um,cm,Pu=!1,ms=[],Kn=null,Gn=null,Xn=null,bi=new Map,Ei=new Map,Fn=[],xw="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 df(e,t){switch(e){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":bi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ei.delete(t.pointerId)}}function Ho(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Xi(t),t!==null&&$c(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Sw(e,t,n,r,o){switch(t){case"focusin":return Kn=Ho(Kn,e,t,n,r,o),!0;case"dragenter":return Gn=Ho(Gn,e,t,n,r,o),!0;case"mouseover":return Xn=Ho(Xn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return bi.set(i,Ho(bi.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ei.set(i,Ho(Ei.get(i)||null,e,t,n,r,o)),!0}return!1}function dm(e){var t=gr(e.target);if(t!==null){var n=jr(t);if(n!==null){if(t=n.tag,t===13){if(t=Jh(n),t!==null){e.blockedOn=t,cm(e.priority,function(){lm(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function js(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ku(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);xu=r,n.target.dispatchEvent(r),xu=null}else return t=Xi(n),t!==null&&$c(t),e.blockedOn=n,!1;t.shift()}return!0}function ff(e,t,n){js(e)&&n.delete(t)}function bw(){Pu=!1,Kn!==null&&js(Kn)&&(Kn=null),Gn!==null&&js(Gn)&&(Gn=null),Xn!==null&&js(Xn)&&(Xn=null),bi.forEac
vendor: 11,841 bytes, line 37
37h(ff),Ei.forEach(ff)}function Yo(e,t){e.blockedOn===t&&(e.blockedOn=null,Pu||(Pu=!0,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,bw)))}function Ci(e){function t(o){return Yo(o,e)}if(0<ms.length){Yo(ms[0],e);for(var n=1;n<ms.length;n++){var r=ms[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Kn!==null&&Yo(Kn,e),Gn!==null&&Yo(Gn,e),Xn!==null&&Yo(Xn,e),bi.forEach(t),Ei.forEach(t),n=0;n<Fn.length;n++)r=Fn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Fn.length&&(n=Fn[0],n.blockedOn===null);)dm(n),n.blockedOn===null&&Fn.shift()}var lo=Cn.ReactCurrentBatchConfig,oa=!0;function Ew(e,t,n,r){var o=fe,i=lo.transition;lo.transition=null;try{fe=1,Bc(e,t,n,r)}finally{fe=o,lo.transition=i}}function Cw(e,t,n,r){var o=fe,i=lo.transition;lo.transition=null;try{fe=4,Bc(e,t,n,r)}finally{fe=o,lo.transition=i}}function Bc(e,t,n,r){if(oa){var o=ku(e,t,n,r);if(o===null)Ll(e,t,r,ia,n),df(e,r);else if(Sw(o,e,t,n,r))r.stopPropagation();else if(df(e,r),t&4&&-1<xw.indexOf(e)){for(;o!==null;){var i=Xi(o);if(i!==null&&am(i),i=ku(e,t,n,r),i===null&&Ll(e,t,r,ia,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Ll(e,t,r,null,n)}}var ia=null;function ku(e,t,n,r){if(ia=null,e=jc(r),e=gr(e),e!==null)if(t=jr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Jh(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ia=e,null}function fm(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(dw()){case Fc:return 1;case rm:return 4;case na:case fw:return 16;case om:return 536870912;default:return 16}default:return 16}}var Hn=null,Uc=null,Fs=null;function pm(){if(Fs)return Fs;var e,t=Uc,n=t.length,r,o="value"in Hn?Hn.value:Hn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Fs=o.slice(e,1<r?1-r:void 0)}function zs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function gs(){return!0}function pf(){return!1}function gt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?gs:pf,this.isPropagationStopped=pf,this}return Ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=gs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=gs)},persist:function(){},isPersistent:gs}),t}var Io={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wc=gt(Io),Gi=Ce({},Io,{view:0,detail:0}),Pw=gt(Gi),Tl,Nl,Qo,Da=Ce({},Gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qo&&(Qo&&e.type==="mousemove"?(Tl=e.screenX-Qo.screenX,Nl=e.screenY-Qo.screenY):Nl=Tl=0,Qo=e),Tl)},movementY:function(e){return"movementY"in e?e.movementY:Nl}}),hf=gt(Da),kw=Ce({},Da,{dataTransfer:0}),Tw=gt(kw),Nw=Ce({},Gi,{relatedTarget:0}),Rl=gt(Nw),Rw=Ce({},Io,{animationName:0,elapsedTime:0,pseudoElement:0}),Ow=gt(Rw),Mw=Ce({},Io,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Aw=gt(Mw),_w=Ce({},Io,{data:0}),mf=gt(_w),Iw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Dw={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"},Lw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Lw[e])?!!t[e]:!1}function Vc(){return jw}var Fw=Ce({},Gi,{key:function(e){if(e.key){var t=Iw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=zs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Dw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vc,charCode:function(e){return e.type==="keypress"?zs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?zs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),zw=gt(Fw),$w=Ce({},Da,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gf=gt($w),Bw=Ce({},Gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vc}),Uw=gt(Bw),Ww=Ce({},Io,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vw=gt(Ww),Hw=Ce({},Da,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Yw=gt(Hw),Qw=[9,13,27,32],Hc=yn&&"CompositionEvent"in window,ci=null;yn&&"documentMode"in document&&(ci=document.documentMode);var Kw=yn&&"TextEvent"in window&&!ci,hm=yn&&(!Hc||ci&&8<ci&&11>=ci),vf=" ",yf=!1;function mm(e,t){switch(e){case"keyup":return Qw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gr=!1;function Gw(e,t){switch(e){case"compositionend":return gm(t);case"keypress":return t.which!==32?null:(yf=!0,vf);case"textInput":return e=t.data,e===vf&&yf?null:e;default:return null}}function Xw(e,t){if(Gr)return e==="compositionend"||!Hc&&mm(e,t)?(e=pm(),Fs=Uc=Hn=null,Gr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hm&&t.locale!=="ko"?null:t.data;default:return null}}var qw={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 wf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!qw[e.type]:t==="textarea"}function vm(e,t,n,r){Kh(r),t=sa(t,"onChange"),0<t.length&&(n=new Wc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var di=null,Pi=null;function Zw(e){Nm(e,0)}function La(e){var t=Zr(e);if(Bh(t))return e}function Jw(e,t){if(e==="change")return t}var ym=!1;if(yn){var Ol;if(yn){var Ml="oninput"in document;if(!Ml){var xf=document.createElement("div");xf.setAttribute("oninput","return;"),Ml=typeof xf.oninput=="function"}Ol=Ml}else Ol=!1;ym=Ol&&(!document.documentMode||9<document.documentMode)}function Sf(){di&&(di.detachEvent("onpropertychange",wm),Pi=di=null)}function wm(e){if(e.propertyName==="value"&&La(Pi)){var t=[];vm(t,Pi,e,jc(e)),Zh(Zw,t)}}function ex(e,t,n){e==="focusin"?(Sf(),di=t,Pi=n,di.attachEvent("onpropertychange",wm)):e==="focusout"&&Sf()}function tx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return La(Pi)}function nx(e,t){if(e==="click")return La(t)}function rx(e,t){if(e==="input"||e==="change")return La(t)}function ox(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vt=typeof Object.is=="function"?Object.is:ox;function ki(e,t){if(Vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!lu.call(t,o)||!Vt(e[o],t[o]))return!1}return!0}function bf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ef(e,t){var n=bf(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=bf(n)}}function xm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sm(){for(var e=window,t=Js();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Js(e.document)}return t}function Yc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ix(e){var t=Sm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xm(n.ownerDocument.documentElement,n)){if(r!==null&&Yc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ef(n,i);var s=Ef(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var sx=yn&&"documentMode"in document&&11>=document.documentMode,Xr=null,Tu=null,fi=null,Nu=!1;function Cf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Nu||Xr==null||Xr!==Js(r)||(r=Xr,"selectionStart"in r&&Yc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),fi&&ki(fi,r)||(fi=r,r=sa(Tu,"onSelect"),0<r.length&&(t=new Wc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Xr)))}function vs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qr={animationend:vs("Animation","AnimationEnd"),animationiteration:vs("Animation","AnimationIteration"),animationstart:vs("Animation","AnimationStart"),transitionend:vs("Transition","TransitionEnd")},Al={},bm={};yn&&(bm=document.createElement("div").style,"AnimationEvent"in window||(delete qr.animationend.animation,delete qr.animationiteration.animation,delete qr.animationstart.animation),"TransitionEvent"in window||delete qr.transitionend.transition);function ja(e){if(Al[e])return Al[e];if(!qr[e])return e;var t=qr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in bm)return Al[e]=t[n];return e}var Em=ja("animationend"),Cm=ja("animationiteration"),Pm=ja("animationstart"),km=ja("transitionend"),Tm=new Map,Pf="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 ar(e,t){Tm.set(e,t),Lr(t,[e])}for(var _l=0;_l<Pf.length;_l++){var Il=Pf[_l],ax=Il.toLowerCase(),lx=Il[0].toUpperCase()+Il.slice(1);ar(ax,"on"+lx)}ar(Em,"onAnimationEnd");ar(Cm,"onAnimationIteration");ar(Pm,"onAnimationStart");ar("dblclick","onDoubleClick");ar("focusin","onFocus");ar("focusout","onBlur");ar(km,"onTransitionEnd");Co("onMouseEnter",["mouseout","mouseover"]);Co("onMouseLeave",["mouseout","mouseover"]);Co("onPointerEnter",["pointerout","pointerover"]);Co("onPointerLeave",["pointerout","pointerover"]);Lr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Lr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Lr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Lr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Lr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Lr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ii="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(" "),ux=new Set("cancel close invalid load scroll toggle".split(" ").concat(ii));function kf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,aw(r,t,void 0,e),e.currentTarget=null}function Nm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;kf(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;kf(o,a,u),i=l}}}if(ta)throw e=Eu,ta=!1,Eu=null,e}function ve(e,t){var n=t[_u];n===void 0&&(n=t[_u]=new Set);var r=e+"__bubble";n.has(r)||(Rm(t,e,2,!1),n.add(r))}function Dl(e,t,n){var r=0;t&&(r|=4),Rm(n,e,r,t)}var ys="_reactListening"+Math.random().toString(36).slice(2);function Ti(e){if(!e[ys]){e[ys]=!0,Lh.forEach(function(n){n!=="selectionchange"&&(ux.has(n)||Dl(n,!1,e),Dl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ys]||(t[ys]=!0,Dl("selectionchange",!1,t))}}function Rm(e,t,n,r){switch(fm(t)){case 1:var o=Ew;break;case 4:o=Cw;break;default:o=Bc}n=o.bind(null,t,n,e),o=void 0,!bu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ll(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 2,527 bytes, line 37
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=gr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Zh(function(){var u=i,c=jc(n),d=[];e:{var m=Tm.get(e);if(m!==void 0){var h=Wc,x=e;switch(e){case"keypress":if(zs(n)===0)break e;case"keydown":case"keyup":h=zw;break;case"focusin":x="focus",h=Rl;break;case"focusout":x="blur",h=Rl;break;case"beforeblur":case"afterblur":h=Rl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=hf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Tw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Uw;break;case Em:case Cm:case Pm:h=Ow;break;case km:h=Vw;break;case"scroll":h=Pw;break;case"wheel":h=Yw;break;case"copy":case"cut":case"paste":h=Aw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=gf}var f=(t&4)!==0,y=!f&&e==="scroll",g=f?m!==null?m+"Capture":null:m;f=[];for(var p=u,v;p!==null;){v=p;var b=v.stateNode;if(v.tag===5&&b!==null&&(v=b,g!==null&&(b=Si(p,g),b!=null&&f.push(Ni(p,b,v)))),y)break;p=p.return}0<f.length&&(m=new h(m,x,null,n,c),d.push({event:m,listeners:f}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",m&&n!==xu&&(x=n.relatedTarget||n.fromElement)&&(gr(x)||x[wn]))break e;if((h||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,h?(x=n.relatedTarget||n.toElement,h=u,x=x?gr(x):null,x!==null&&(y=jr(x),x!==y||x.tag!==5&&x.tag!==6)&&(x=null)):(h=null,x=u),h!==x)){if(f=hf,b="onMouseLeave",g="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(f=gf,b="onPointerLeave",g="onPointerEnter",p="pointer"),y=h==null?m:Zr(h),v=x==null?m:Zr(x),m=new f(b,p+"leave",h,n,c),m.target=y,m.relatedTarget=v,b=null,gr(c)===u&&(f=new f(g,p+"enter",x,n,c),f.target=v,f.relatedTarget=y,b=f),y=b,h&&x)t:{for(f=h,g=x,p=0,v=f;v;v=Ur(v))p++;for(v=0,b=g;b;b=Ur(b))v++;for(;0<p-v;)f=Ur(f),p--;for(;0<v-p;)g=Ur(g),v--;for(;p--;){if(f===g||g!==null&&f===g.alternate)break t;f=Ur(f),g=Ur(g)}f=null}else f=null;h!==null&&Tf(d,m,h,f,!1),x!==null&&y!==null&&Tf(d,y,x,f,!0)}}
vendor: 7,582 bytes, lines 37-38
37e:{if(m=u?Zr(u):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var E=Jw;else if(wf(m))if(ym)E=rx;else{E=tx;var P=ex}else(h=m.nodeName)&&h.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(E=nx);if(E&&(E=E(e,u))){vm(d,E,n,c);break e}P&&P(e,m,u),e==="focusout"&&(P=m._wrapperState)&&P.controlled&&m.type==="number"&&mu(m,"number",m.value)}switch(P=u?Zr(u):window,e){case"focusin":(wf(P)||P.contentEditable==="true")&&(Xr=P,Tu=u,fi=null);break;case"focusout":fi=Tu=Xr=null;break;case"mousedown":Nu=!0;break;case"contextmenu":case"mouseup":case"dragend":Nu=!1,Cf(d,n,c);break;case"selectionchange":if(sx)break;case"keydown":case"keyup":Cf(d,n,c)}var C;if(Hc)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else Gr?mm(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(hm&&n.locale!=="ko"&&(Gr||k!=="onCompositionStart"?k==="onCompositionEnd"&&Gr&&(C=pm()):(Hn=c,Uc="value"in Hn?Hn.value:Hn.textContent,Gr=!0)),P=sa(u,k),0<P.length&&(k=new mf(k,e,null,n,c),d.push({event:k,listeners:P}),C?k.data=C:(C=gm(n),C!==null&&(k.data=C)))),(C=Kw?Gw(e,n):Xw(e,n))&&(u=sa(u,"onBeforeInput"),0<u.length&&(c=new mf("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=C))}Nm(d,t)})}function Ni(e,t,n){return{instance:e,listener:t,currentTarget:n}}function sa(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Si(e,n),i!=null&&r.unshift(Ni(e,i,o)),i=Si(e,t),i!=null&&r.push(Ni(e,i,o))),e=e.return}return r}function Ur(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Tf(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=Si(n,i),l!=null&&s.unshift(Ni(n,l,a))):o||(l=Si(n,i),l!=null&&s.push(Ni(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var cx=/\r\n?/g,dx=/\u0000|\uFFFD/g;function Nf(e){return(typeof e=="string"?e:""+e).replace(cx,`
38`).replace(dx,"")}function ws(e,t,n){if(t=Nf(t),Nf(e)!==t&&n)throw Error(I(425))}function aa(){}var Ru=null,Ou=null;function Mu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Au=typeof setTimeout=="function"?setTimeout:void 0,fx=typeof clearTimeout=="function"?clearTimeout:void 0,Rf=typeof Promise=="function"?Promise:void 0,px=typeof queueMicrotask=="function"?queueMicrotask:typeof Rf<"u"?function(e){return Rf.resolve(null).then(e).catch(hx)}:Au;function hx(e){setTimeout(function(){throw e})}function jl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Ci(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ci(t)}function qn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Of(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Do=Math.random().toString(36).slice(2),en="__reactFiber$"+Do,Ri="__reactProps$"+Do,wn="__reactContainer$"+Do,_u="__reactEvents$"+Do,mx="__reactListeners$"+Do,gx="__reactHandles$"+Do;function gr(e){var t=e[en];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wn]||n[en]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Of(e);e!==null;){if(n=e[en])return n;e=Of(e)}return t}e=n,n=e.parentNode}return null}function Xi(e){return e=e[en]||e[wn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function Fa(e){return e[Ri]||null}var Iu=[],Jr=-1;function lr(e){return{current:e}}function ye(e){0>Jr||(e.current=Iu[Jr],Iu[Jr]=null,Jr--)}function me(e,t){Jr++,Iu[Jr]=e.current,e.current=t}var rr={},Ye=lr(rr),ot=lr(!1),Tr=rr;function Po(e,t){var n=e.type.contextTypes;if(!n)return rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function it(e){return e=e.childContextTypes,e!=null}function la(){ye(ot),ye(Ye)}function Mf(e,t,n){if(Ye.current!==rr)throw Error(I(168));me(Ye,t),me(ot,n)}function Om(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(I(108,ew(e)||"Unknown",o));return Ce({},n,r)}function ua(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rr,Tr=Ye.current,me(Ye,e),me(ot,ot.current),!0}function Af(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=Om(e,t,Tr),r.__reactInternalMemoizedMergedChildContext=e,ye(ot),ye(Ye),me(Ye,e)):ye(ot),me(ot,n)}var pn=null,za=!1,Fl=!1;function Mm(e){pn===null?pn=[e]:pn.push(e)}function vx(e){za=!0,Mm(e)}function ur(){if(!Fl&&pn!==null){Fl=!0;var e=0,t=fe;try{var n=pn;for(fe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}pn=null,za=!1}catch(o){throw pn!==null&&(pn=pn.slice(e+1)),nm(Fc,ur),o}finally{fe=t,Fl=!1}}return null}var eo=[],to=0,ca=null,da=0,yt=[],wt=0,Nr=null,mn=1,gn="";function pr(e,t){eo[to++]=da,eo[to++]=ca,ca=e,da=t}function Am(e,t,n){yt[wt++]=mn,yt[wt++]=gn,yt[wt++]=Nr,Nr=e;var r=mn;e=gn;var o=32-Bt(r)-1;r&=~(1<<o),n+=1;var i=32-Bt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,mn=1<<32-Bt(t)+o|n<<o|r,gn=i+e}else mn=1<<i|n<<o|r,gn=e}function Qc(e){e.return!==null&&(pr(e,1),Am(e,1,0))}function Kc(e){for(;e===ca;)ca=eo[--to],eo[to]=null,da=eo[--to],eo[to]=null;for(;e===Nr;)Nr=yt[--wt],yt[wt]=null,gn=yt[--wt],yt[wt]=null,mn=yt[--wt],yt[wt]=null}var ft=null,dt=null,we=!1,$t=null;function _m(e,t){var n=xt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _f(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ft=e,dt=qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Nr!==null?{id:mn,overflow:gn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=xt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,dt=null,!0):!1;default:return!1}}function Du(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Lu(e){if(we){var t=dt;if(t){var n=t;if(!_f(e,t)){if(Du(e))throw Error(I(418));t=qn(n.nextSibling);var r=ft;t&&_f(e,t)?_m(r,n):(e.flags=e.flags&-4097|2,we=!1,ft=e)}}else{if(Du(e))throw Error(I(418));e.flags=e.flags&-4097|2,we=!1,ft=e}}}function If(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ft=e}function xs(e){if(e!==ft)return!1;if(!we)return If(e),we=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Mu(e.type,e.memoizedProps)),t&&(t=dt)){if(Du(e))throw Im(),Error(I(418));for(;t;)_m(e,t),t=qn(t.nextSibling)}if(If(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317)
vendor: 24,481 bytes, lines 38-40
38);e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){dt=qn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}dt=null}}else dt=ft?qn(e.stateNode.nextSibling):null;return!0}function Im(){for(var e=dt;e;)e=qn(e.nextSibling)}function ko(){dt=ft=null,we=!1}function Gc(e){$t===null?$t=[e]:$t.push(e)}var yx=Cn.ReactCurrentBatchConfig;function Ko(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function Ss(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Df(e){var t=e._init;return t(e._payload)}function Dm(e){function t(g,p){if(e){var v=g.deletions;v===null?(g.deletions=[p],g.flags|=16):v.push(p)}}function n(g,p){if(!e)return null;for(;p!==null;)t(g,p),p=p.sibling;return null}function r(g,p){for(g=new Map;p!==null;)p.key!==null?g.set(p.key,p):g.set(p.index,p),p=p.sibling;return g}function o(g,p){return g=tr(g,p),g.index=0,g.sibling=null,g}function i(g,p,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<p?(g.flags|=2,p):v):(g.flags|=2,p)):(g.flags|=1048576,p)}function s(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,p,v,b){return p===null||p.tag!==6?(p=Hl(v,g.mode,b),p.return=g,p):(p=o(p,v),p.return=g,p)}function l(g,p,v,b){var E=v.type;return E===Kr?c(g,p,v.props.children,b,v.key):p!==null&&(p.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ln&&Df(E)===p.type)?(b=o(p,v.props),b.ref=Ko(g,p,v),b.return=g,b):(b=Ys(v.type,v.key,v.props,null,g.mode,b),b.ref=Ko(g,p,v),b.return=g,b)}function u(g,p,v,b){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=Yl(v,g.mode,b),p.return=g,p):(p=o(p,v.children||[]),p.return=g,p)}function c(g,p,v,b,E){return p===null||p.tag!==7?(p=kr(v,g.mode,b,E),p.return=g,p):(p=o(p,v),p.return=g,p)}function d(g,p,v){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Hl(""+p,g.mode,v),p.return=g,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case cs:return v=Ys(p.type,p.key,p.props,null,g.mode,v),v.ref=Ko(g,null,p),v.return=g,v;case Qr:return p=Yl(p,g.mode,v),p.return=g,p;case Ln:var b=p._init;return d(g,b(p._payload),v)}if(ri(p)||Wo(p))return p=kr(p,g.mode,v,null),p.return=g,p;Ss(g,p)}return null}function m(g,p,v,b){var E=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return E!==null?null:a(g,p,""+v,b);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case cs:return v.key===E?l(g,p,v,b):null;case Qr:return v.key===E?u(g,p,v,b):null;case Ln:return E=v._init,m(g,p,E(v._payload),b)}if(ri(v)||Wo(v))return E!==null?null:c(g,p,v,b,null);Ss(g,v)}return null}function h(g,p,v,b,E){if(typeof b=="string"&&b!==""||typeof b=="number")return g=g.get(v)||null,a(p,g,""+b,E);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case cs:return g=g.get(b.key===null?v:b.key)||null,l(p,g,b,E);case Qr:return g=g.get(b.key===null?v:b.key)||null,u(p,g,b,E);case Ln:var P=b._init;return h(g,p,v,P(b._payload),E)}if(ri(b)||Wo(b))return g=g.get(v)||null,c(p,g,b,E,null);Ss(p,b)}return null}function x(g,p,v,b){for(var E=null,P=null,C=p,k=p=0,N=null;C!==null&&k<v.length;k++){C.index>k?(N=C,C=null):N=C.sibling;var O=m(g,C,v[k],b);if(O===null){C===null&&(C=N);break}e&&C&&O.alternate===null&&t(g,C),p=i(O,p,k),P===null?E=O:P.sibling=O,P=O,C=N}if(k===v.length)return n(g,C),we&&pr(g,k),E;if(C===null){for(;k<v.length;k++)C=d(g,v[k],b),C!==null&&(p=i(C,p,k),P===null?E=C:P.sibling=C,P=C);return we&&pr(g,k),E}for(C=r(g,C);k<v.length;k++)N=h(C,g,k,v[k],b),N!==null&&(e&&N.alternate!==null&&C.delete(N.key===null?k:N.key),p=i(N,p,k),P===null?E=N:P.sibling=N,P=N);return e&&C.forEach(function(j){return t(g,j)}),we&&pr(g,k),E}function f(g,p,v,b){var E=Wo(v);if(typeof E!="function")throw Error(I(150));if(v=E.call(v),v==null)throw Error(I(151));for(var P=E=null,C=p,k=p=0,N=null,O=v.next();C!==null&&!O.done;k++,O=v.next()){C.index>k?(N=C,C=null):N=C.sibling;var j=m(g,C,O.value,b);if(j===null){C===null&&(C=N);break}e&&C&&j.alternate===null&&t(g,C),p=i(j,p,k),P===null?E=j:P.sibling=j,P=j,C=N}if(O.done)return n(g,C),we&&pr(g,k),E;if(C===null){for(;!O.done;k++,O=v.next())O=d(g,O.value,b),O!==null&&(p=i(O,p,k),P===null?E=O:P.sibling=O,P=O);return we&&pr(g,k),E}for(C=r(g,C);!O.done;k++,O=v.next())O=h(C,g,k,O.value,b),O!==null&&(e&&O.alternate!==null&&C.delete(O.key===null?k:O.key),p=i(O,p,k),P===null?E=O:P.sibling=O,P=O);return e&&C.forEach(function(_){return t(g,_)}),we&&pr(g,k),E}function y(g,p,v,b){if(typeof v=="object"&&v!==null&&v.type===Kr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case cs:e:{for(var E=v.key,P=p;P!==null;){if(P.key===E){if(E=v.type,E===Kr){if(P.tag===7){n(g,P.sibling),p=o(P,v.props.children),p.return=g,g=p;break e}}else if(P.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ln&&Df(E)===P.type){n(g,P.sibling),p=o(P,v.props),p.ref=Ko(g,P,v),p.return=g,g=p;break e}n(g,P);break}else t(g,P);P=P.sibling}v.type===Kr?(p=kr(v.props.children,g.mode,b,v.key),p.return=g,g=p):(b=Ys(v.type,v.key,v.props,null,g.mode,b),b.ref=Ko(g,p,v),b.return=g,g=b)}return s(g);case Qr:e:{for(P=v.key;p!==null;){if(p.key===P)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(g,p.sibling),p=o(p,v.children||[]),p.return=g,g=p;break e}else{n(g,p);break}else t(g,p);p=p.sibling}p=Yl(v,g.mode,b),p.return=g,g=p}return s(g);case Ln:return P=v._init,y(g,p,P(v._payload),b)}if(ri(v))return x(g,p,v,b);if(Wo(v))return f(g,p,v,b);Ss(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(g,p.sibling),p=o(p,v),p.return=g,g=p):(n(g,p),p=Hl(v,g.mode,b),p.return=g,g=p),s(g)):n(g,p)}return y}var To=Dm(!0),Lm=Dm(!1),fa=lr(null),pa=null,no=null,Xc=null;function qc(){Xc=no=pa=null}function Zc(e){var t=fa.current;ye(fa),e._currentValue=t}function ju(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function uo(e,t){pa=e,Xc=no=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(rt=!0),e.firstContext=null)}function bt(e){var t=e._currentValue;if(Xc!==e)if(e={context:e,memoizedValue:t,next:null},no===null){if(pa===null)throw Error(I(308));no=e,pa.dependencies={lanes:0,firstContext:e}}else no=no.next=e;return t}var vr=null;function Jc(e){vr===null?vr=[e]:vr.push(e)}function jm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Jc(t)):(n.next=o.next,o.next=n),t.interleaved=n,xn(e,r)}function xn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jn=!1;function ed(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ae&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,xn(e,n)}return o=r.interleaved,o===null?(t.next=t,Jc(r)):(t.next=o.next,o.next=t),r.interleaved=t,xn(e,n)}function $s(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,zc(e,n)}}function Lf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ha(e,t,n,r){var o=e.updateQueue;jn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var m=a.lane,h=a.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,f=a;switch(m=t,h=n,f.tag){case 1:if(x=f.payload,typeof x=="function"){d=x.call(h,d,m);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=f.payload,m=typeof x=="function"?x.call(h,d,m):x,m==null)break e;d=Ce({},d,m);break e;case 2:jn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[a]:m.push(a))}else h={eventTime:h,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,s|=m;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;m=a,a=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Or|=s,e.lanes=s,e.memoizedState=d}}function jf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(I(191,o));o.call(r)}}}var qi={},on=lr(qi),Oi=lr(qi),Mi=lr(qi);function yr(e){if(e===qi)throw Error(I(174));return e}function td(e,t){switch(me(Mi,t),me(Oi,e),me(on,qi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:vu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=vu(t,e)}ye(on),me(on,t)}function No(){ye(on),ye(Oi),ye(Mi)}function zm(e){yr(Mi.current);var t=yr(on.current),n=vu(t,e.type);t!==n&&(me(Oi,e),me(on,n))}function nd(e){Oi.current===e&&(ye(on),ye(Oi))}var Se=lr(0);function ma(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zl=[];function rd(){for(var e=0;e<zl.length;e++)zl[e]._workInProgressVersionPrimary=null;zl.length=0}var Bs=Cn.ReactCurrentDispatcher,$l=Cn.ReactCurrentBatchConfig,Rr=0,Ee=null,Me=null,_e=null,ga=!1,pi=!1,Ai=0,wx=0;function Ue(){throw Error(I(321))}function od(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vt(e[n],t[n]))return!1;return!0}function id(e,t,n,r,o,i){if(Rr=i,Ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bs.current=e===null||e.memoizedState===null?Ex:Cx,e=n(r,o),pi){i=0;do{if(pi=!1,Ai=0,25<=i)throw Error(I(301));i+=1,_e=Me=null,t.updateQueue=null,Bs.current=Px,e=n(r,o)}while(pi)}if(Bs.current=va,t=Me!==null&&Me.next!==null,Rr=0,_e=Me=Ee=null,ga=!1,t)throw Error(I(300));return e}function sd(){var e=Ai!==0;return Ai=0,e}function Xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _e===null?Ee.memoizedState=_e=e:_e=_e.next=e,_e}function Et(){if(Me===null){var e=Ee.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=_e===null?Ee.memoizedState:_e.next;if(t!==null)_e=t,Me=e;else{if(e===null)throw Error(I(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},_e===null?Ee.memoizedState=_e=e:_e=_e.next=e}return _e}function _i(e,t){return typeof t=="function"?t(e):t}function Bl(e){var t=Et(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=Me,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Rr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,Ee.lanes|=c,Or|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,Vt(r,t.memoizedState)||(rt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Ee.lanes|=i,Or|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ul(e){var t=Et(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Vt(i,t.memoizedState)||(rt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function $m(){}function Bm(e,t){var n=Ee,r=Et(),o=t(),i=!Vt(r.memoizedState,o);if(i&&(r.memoizedState=o,rt=!0),r=r.queue,ad(Vm.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||_e!==null&&_e.memoizedState.tag&1){if(n.flags|=2048,Ii(9,Wm.bind(null,n,r,o,t),void 0,null),Ie===null)throw Error(I(349));Rr&30||Um(n,t,o)}return o}function Um(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ee.updateQueue,t===null?(t={lastEffect:null,stores:null},Ee.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Wm(e,t,n,r){t.value=n,t.getSnapshot=r,Hm(t)&&Ym(e)}function Vm(e,t,n){return n(function(){Hm(t)&&Ym(e)})}function Hm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Vt(e,n)}catch{return!0}}function Ym(e){var t=xn(e,1);t!==null&&Ut(t,e,1,-1)}function Ff(e){var t=Xt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:e},t.queue=e,e=e.dispatch=bx.bind(null,Ee,e),[t.memoizedState,e]}function Ii(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ee.updateQueue,t===null?(t={lastEffect:null,stores:null},Ee.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Qm(){return Et().memoizedState}function Us(e,t,n,r){var o=Xt();Ee.flags|=e,o.memoizedState=Ii(1|t,n,void 0,r===void 0?null:r)}function $a(e,t,n,r){var o=Et();r=r===void 0?null:r;var i=void 0;if(Me!==null){var s=Me.memoizedState;if(i=s.destroy,r!==null&&od(r,s.deps)){o.memoizedState=Ii(t,n,i,r);return}}Ee.flags|=e,o.memoizedState=Ii(1|t,n,i,r)}function zf(e,t){return Us(8390656,8,e,t)}function ad(e,t){return $a(2048,8,e,t)}function Km(e,t){return $a(4,2,e,t)}function Gm(e,t){return $a(4,4,e,t)}function Xm(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qm(e,t,n){return n=n!=null?n.concat([e]):null,$a(4,4,Xm.bind(null,t,e),n)}function ld(){}function Zm(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&od(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Jm(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&od(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function eg(e,t,n){return Rr&21?(Vt(n,t)||(n=im(),Ee.lanes|=n,Or|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,rt=!0),e.memoizedState=n)}function xx(e,t){var n=fe;fe=n!==0&&4>n?n:4,e(!0);var r=$l.transition;$l.transition={};try{e(!1),t()}finally{fe=n,$l.transition=r}}function tg(){return Et().memoizedState}function Sx(e,t,n){var r=er(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ng(e))rg(t,n);else if(n=jm(e,t,n,r),n!==null){var o=qe();Ut(n,e,r,o),og(n,t,r)}}function bx(e,t,n){var r=er(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ng(e))rg(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Vt(a,s)){var l=t.interleaved;l===null?(o.next=o,Jc(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=jm(e,t,o,r),n!==null&&(o=qe(),Ut(n,e,r,o),og(n,t,r))}}function ng(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function rg(e,t){pi=ga=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function og(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,zc(e,n)}}var va={readContext:bt,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useInsertionEffect:Ue,useLayoutEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useMutableSource:Ue,useSyncExternalStore:Ue,useId:Ue,unstable_isNewReconciler:!1},Ex={readContext:bt,useCallback:function(e,t){return Xt().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:zf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Us(4194308,4,Xm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Us(4194308,4,e,t)},useInsertionEffect:function(e,t){return Us(4,2,e,t)},useMemo:function(e,t){var n=Xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Sx.bind(null,Ee,e),[r.memoizedState,e]},useRef:function(e){var t=Xt();return e={current:e},t.memoizedState=e},useState:Ff,useDebugValue:ld,useDeferredValue:function(e){return Xt().memoizedState=e},useTransition:function(){var e=Ff(!1),t=e[0];return e=xx.bind(null,e[1]),Xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ee,o=Xt();if(we){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),Ie===null)throw Error(I(349));Rr&30||Um(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,zf(Vm.bind(null,r,i,e),[e]),r.flags|=2048,Ii(9,Wm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Xt(),t=Ie.identifierPrefix;if(we){var n=gn,r=mn;n=(r&~(1<<32-Bt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ai++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=wx++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Cx={readContext:bt,useCallback:Zm,useContext:bt,useEffect:ad,useImperativeHandle:qm,useInsertionEffect:Km,useLayoutEffect:Gm,useMemo:Jm,useReducer:Bl,useRef:Qm,useState:function(){return Bl(_i)},useDebugValue:ld,useDeferredValue:function(e){var t=Et();return eg(t,Me.memoizedState,e)},useTransition:function(){var e=Bl(_i)[0],t=Et().memoizedState;return[e,t]},useMutableSource:$m,useSyncExternalStore:Bm,useId:tg,unstable_isNewReconciler:!1},Px={readContext:bt,useCallback:Zm,useContext:bt,useEffect:ad,useImperativeHandle:qm,useInsertionEffect:Km,useLayoutEffect:Gm,useMemo:Jm,useReducer:Ul,useRef:Qm,useState:function(){return Ul(_i)},useDebugValue:ld,useDeferredValue:function(e){var t=Et();return Me===null?t.memoizedState=e:eg(t,Me.memoizedState,e)},useTransition:function(){var e=Ul(_i)[0],t=Et().memoizedState;return[e,t]},useMutableSource:$m,useSyncExternalStore:Bm,useId:tg,unstable_isNewReconciler:!1};function Dt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Fu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ba={isMounted:function(e){return(e=e._reactInternals)?jr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),o=er(e),i=vn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Zn(e,i,o),t!==null&&(Ut(t,e,o,r),$s(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),o=er(e),i=vn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Zn(e,i,o),t!==null&&(Ut(t,e,o,r),$s(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=er(e),o=vn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Zn(e,o,r),t!==null&&(Ut(t,e,r,n),$s(t,e,r))}};function $f(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!ki(n,r)||!ki(o,i):!0}function ig(e,t,n){var r=!1,o=rr,i=t.contextType;return typeof i=="object"&&i!==null?i=bt(i):(o=it(t)?Tr:Ye.current,r=t.contextTypes,i=(r=r!=null)?Po(e,o):rr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ba,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Bf(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ba.enqueueReplaceState(t,t.state,null)}function zu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},ed(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=bt(i):(i=it(t)?Tr:Ye.current,o.context=Po(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Fu(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Ba.enqueueReplaceState(o,o.state,null),ha(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ro(e,t){try{var n="",r=t;do n+=J0(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Wl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function $u(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var kx=typeof WeakMap=="function"?WeakMap:Map;function sg(e,t,n){n=vn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wa||(wa=!0,Xu=r),$u(e,t)},n}function ag(e,t,n){n=vn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){$u(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){$u(e,t),typeof r!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Uf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new kx;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=$x.bind(null,e,t,n),t.then(e,e))}function Wf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Vf(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=vn(-1,1),t.tag=2,Zn(n,t,1))),n.lanes|=1),e)}var Tx=Cn.ReactCurrentOwner,rt=!1;function Ge(e,t,n,r){t.child=e===null?Lm(t,null,n,r):To(t,e.child,n,r)}function Hf(e,t,n,r,o){n=n.render;var i=t.ref;return uo(t,o),r=id(e,t,n,r,i,o),n=sd(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Sn(e,t,o)):(we&&n&&Qc(t),t.flags|=1,Ge(e,t,r,o),t.child)}function Yf(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!gd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,lg(e,t,i,r,o)):(e=Ys(n.t
vendor: 9,324 bytes, line 40
40ype,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:ki,n(s,r)&&e.ref===t.ref)return Sn(e,t,o)}return t.flags|=1,e=tr(i,r),e.ref=t.ref,e.return=t,t.child=e}function lg(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(ki(i,r)&&e.ref===t.ref)if(rt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(rt=!0);else return t.lanes=e.lanes,Sn(e,t,o)}return Bu(e,t,n,r,o)}function ug(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},me(oo,ut),ut|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,me(oo,ut),ut|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,me(oo,ut),ut|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,me(oo,ut),ut|=r;return Ge(e,t,o,n),t.child}function cg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bu(e,t,n,r,o){var i=it(n)?Tr:Ye.current;return i=Po(t,i),uo(t,o),n=id(e,t,n,r,i,o),r=sd(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Sn(e,t,o)):(we&&r&&Qc(t),t.flags|=1,Ge(e,t,n,o),t.child)}function Qf(e,t,n,r,o){if(it(n)){var i=!0;ua(t)}else i=!1;if(uo(t,o),t.stateNode===null)Ws(e,t),ig(t,n,r),zu(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=bt(u):(u=it(n)?Tr:Ye.current,u=Po(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Bf(t,s,r,u),jn=!1;var m=t.memoizedState;s.state=m,ha(t,r,s,o),l=t.memoizedState,a!==r||m!==l||ot.current||jn?(typeof c=="function"&&(Fu(t,n,c,r),l=t.memoizedState),(a=jn||$f(t,n,a,r,m,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Fm(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Dt(t.type,a),s.props=u,d=t.pendingProps,m=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=bt(l):(l=it(n)?Tr:Ye.current,l=Po(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||m!==l)&&Bf(t,s,r,l),jn=!1,m=t.memoizedState,s.state=m,ha(t,r,s,o);var x=t.memoizedState;a!==d||m!==x||ot.current||jn?(typeof h=="function"&&(Fu(t,n,h,r),x=t.memoizedState),(u=jn||$f(t,n,u,r,m,x,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,x,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,x,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),s.props=r,s.state=x,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Uu(e,t,n,r,i,o)}function Uu(e,t,n,r,o,i){cg(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Af(t,n,!1),Sn(e,t,i);r=t.stateNode,Tx.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=To(t,e.child,null,i),t.child=To(t,null,a,i)):Ge(e,t,a,i),t.memoizedState=r.state,o&&Af(t,n,!0),t.child}function dg(e){var t=e.stateNode;t.pendingContext?Mf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Mf(e,t.context,!1),td(e,t.containerInfo)}function Kf(e,t,n,r,o){return ko(),Gc(o),t.flags|=256,Ge(e,t,n,r),t.child}var Wu={dehydrated:null,treeContext:null,retryLane:0};function Vu(e){return{baseLanes:e,cachePool:null,transitions:null}}function fg(e,t,n){var r=t.pendingProps,o=Se.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),me(Se,o&1),e===null)return Lu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Va(s,r,0,null),e=kr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Vu(n),t.memoizedState=Wu,e):ud(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Nx(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=tr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=tr(a,i):(i=kr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Vu(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Wu,r}return i=e.child,e=i.sibling,r=tr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ud(e,t){return t=Va({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function bs(e,t,n,r){return r!==null&&Gc(r),To(t,e.child,null,n),e=ud(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Nx(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Wl(Error(I(422))),bs(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Va({mode:"visible",children:r.children},o,0,null),i=kr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&To(t,e.child,null,s),t.child.memoizedState=Vu(s),t.memoizedState=Wu,i);if(!(t.mode&1))return bs(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(I(419)),r=Wl(i,r,void 0),bs(e,t,s,r)}if(a=(s&e.childLanes)!==0,rt||a){if(r=Ie,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,xn(e,o),Ut(r,e,o,-1))}return md(),r=Wl(Error(I(421))),bs(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Bx.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,dt=qn(o.nextSibling),ft=t,we=!0,$t=null,e!==null&&(yt[wt++]=mn,yt[wt++]=gn,yt[wt++]=Nr,mn=e.id,gn=e.overflow,Nr=t),t=ud(t,r.children),t.flags|=4096,t)}function Gf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ju(e.return,t,n)}function Vl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function pg(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ge(e,t,r.children,n),r=Se.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gf(e,n,t);else if(e.tag===19)Gf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(me(Se,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ma(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ma(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vl(t,!0,n,null,i);break;case"together":Vl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ws(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Or|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));
vendor: 4,746 bytes, line 40
40if(t.child!==null){for(e=t.child,n=tr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Rx(e,t,n){switch(t.tag){case 3:dg(t),ko();break;case 5:zm(t);break;case 1:it(t.type)&&ua(t);break;case 4:td(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;me(fa,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(me(Se,Se.current&1),t.flags|=128,null):n&t.child.childLanes?fg(e,t,n):(me(Se,Se.current&1),e=Sn(e,t,n),e!==null?e.sibling:null);me(Se,Se.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return pg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),me(Se,Se.current),r)break;return null;case 22:case 23:return t.lanes=0,ug(e,t,n)}return Sn(e,t,n)}var hg,Hu,mg,gg;hg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Hu=function(){};mg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,yr(on.current);var i=null;switch(n){case"input":o=pu(e,o),r=pu(e,r),i=[];break;case"select":o=Ce({},o,{value:void 0}),r=Ce({},r,{value:void 0}),i=[];break;case"textarea":o=gu(e,o),r=gu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=aa)}yu(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(wi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(wi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ve("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};gg=function(e,t,n,r){n!==r&&(t.flags|=4)};function Go(e,t){if(!we)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function We(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ox(e,t,n){var r=t.pendingProps;switch(Kc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return it(t.type)&&la(),We(t),null;case 3:return r=t.stateNode,No(),ye(ot),ye(Ye),rd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(xs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$t!==null&&(Ju($t),$t=null))),Hu(e,t),We(t),null;case 5:nd(t);var o=yr(Mi.current);if(n=t.type,e!==null&&t.stateNode!=null)mg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return We(t),null}if(e=yr(on.current),xs(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[en]=t,r[Ri]=i,e=(t.mode&1)!==0,n){case"dialog":ve("cancel",r),ve("close",r);break;case"iframe":case"object":case"embed":ve("load",r);break;case"video":case"audio":for(o=0;o<ii.length;o++)ve(ii[o],r);break;case"source":ve("error",r);break;case"img":case"image":case"link":ve("error",r),ve("load",r);break;case"details":ve("toggle",r);break;case"input":rf(r,i),ve("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ve("invalid",r);break;case"textarea":sf(r,i),ve("invalid",r)}yu(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 28,896 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&ws(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&ws(r.textContent,a,e),o=["children",""+a]):wi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&ve("scroll",r)}switch(n){case"input":ds(r),of(r,i,!0);break;case"textarea":ds(r),af(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=aa)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Vh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[en]=t,e[Ri]=r,hg(e,t,!1,!1),t.stateNode=e;e:{switch(s=wu(n,r),n){case"dialog":ve("cancel",e),ve("close",e),o=r;break;case"iframe":case"object":case"embed":ve("load",e),o=r;break;case"video":case"audio":for(o=0;o<ii.length;o++)ve(ii[o],e);o=r;break;case"source":ve("error",e),o=r;break;case"img":case"image":case"link":ve("error",e),ve("load",e),o=r;break;case"details":ve("toggle",e),o=r;break;case"input":rf(e,r),o=pu(e,r),ve("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ce({},r,{value:void 0}),ve("invalid",e);break;case"textarea":sf(e,r),o=gu(e,r),ve("invalid",e);break;default:o=r}yu(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?Qh(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Hh(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&xi(e,l):typeof l=="number"&&xi(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(wi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&ve("scroll",e):l!=null&&_c(e,i,l,s))}switch(n){case"input":ds(e),of(e,r,!1);break;case"textarea":ds(e),af(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?io(e,!!r.multiple,i,!1):r.defaultValue!=null&&io(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=aa)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return We(t),null;case 6:if(e&&t.stateNode!=null)gg(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=yr(Mi.current),yr(on.current),xs(t)){if(r=t.stateNode,n=t.memoizedProps,r[en]=t,(i=r.nodeValue!==n)&&(e=ft,e!==null))switch(e.tag){case 3:ws(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ws(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[en]=t,t.stateNode=r}return We(t),null;case 13:if(ye(Se),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(we&&dt!==null&&t.mode&1&&!(t.flags&128))Im(),ko(),t.flags|=98560,i=!1;else if(i=xs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(I(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(I(317));i[en]=t}else ko(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;We(t),i=!1}else $t!==null&&(Ju($t),$t=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Se.current&1?Ae===0&&(Ae=3):md())),t.updateQueue!==null&&(t.flags|=4),We(t),null);case 4:return No(),Hu(e,t),e===null&&Ti(t.stateNode.containerInfo),We(t),null;case 10:return Zc(t.type._context),We(t),null;case 17:return it(t.type)&&la(),We(t),null;case 19:if(ye(Se),i=t.memoizedState,i===null)return We(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Go(i,!1);else{if(Ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=ma(e),s!==null){for(t.flags|=128,Go(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return me(Se,Se.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ne()>Oo&&(t.flags|=128,r=!0,Go(i,!1),t.lanes=4194304)}else{if(!r)if(e=ma(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Go(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!we)return We(t),null}else 2*Ne()-i.renderingStartTime>Oo&&n!==1073741824&&(t.flags|=128,r=!0,Go(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ne(),t.sibling=null,n=Se.current,me(Se,r?n&1|2:n&1),t):(We(t),null);case 22:case 23:return hd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ut&1073741824&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function Mx(e,t){switch(Kc(t),t.tag){case 1:return it(t.type)&&la(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return No(),ye(ot),ye(Ye),rd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return nd(t),null;case 13:if(ye(Se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));ko()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ye(Se),null;case 4:return No(),null;case 10:return Zc(t.type._context),null;case 22:case 23:return hd(),null;case 24:return null;default:return null}}var Es=!1,He=!1,Ax=typeof WeakSet=="function"?WeakSet:Set,W=null;function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function Yu(e,t,n){try{n()}catch(r){ke(e,t,r)}}var Xf=!1;function _x(e,t){if(Ru=oa,e=Sm(),Yc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,m=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)m=d,d=h;for(;;){if(d===e)break t;if(m===n&&++u===o&&(a=s),m===i&&++c===r&&(l=s),(h=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ou={focusedElem:e,selectionRange:n},oa=!1,W=t;W!==null;)if(t=W,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,W=e;else for(;W!==null;){t=W;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var f=x.memoizedProps,y=x.memoizedState,g=t.stateNode,p=g.getSnapshotBeforeUpdate(t.elementType===t.type?f:Dt(t.type,f),y);g.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(b){ke(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}return x=Xf,Xf=!1,x}function hi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Yu(t,n,i)}o=o.next}while(o!==r)}}function Ua(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Qu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function vg(e){var t=e.alternate;t!==null&&(e.alternate=null,vg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[en],delete t[Ri],delete t[_u],delete t[mx],delete t[gx])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function yg(e){return e.tag===5||e.tag===3||e.tag===4}function qf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ku(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=aa));else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}function Gu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Gu(e,t,n),e=e.sibling;e!==null;)Gu(e,t,n),e=e.sibling}var je=null,zt=!1;function On(e,t,n){for(n=n.child;n!==null;)wg(e,t,n),n=n.sibling}function wg(e,t,n){if(rn&&typeof rn.onCommitFiberUnmount=="function")try{rn.onCommitFiberUnmount(Ia,n)}catch{}switch(n.tag){case 5:He||ro(n,t);case 6:var r=je,o=zt;je=null,On(e,t,n),je=r,zt=o,je!==null&&(zt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(zt?(e=je,n=n.stateNode,e.nodeType===8?jl(e.parentNode,n):e.nodeType===1&&jl(e,n),Ci(e)):jl(je,n.stateNode));break;case 4:r=je,o=zt,je=n.stateNode.containerInfo,zt=!0,On(e,t,n),je=r,zt=o;break;case 0:case 11:case 14:case 15:if(!He&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Yu(n,t,s),o=o.next}while(o!==r)}On(e,t,n);break;case 1:if(!He&&(ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ke(n,t,a)}On(e,t,n);break;case 21:On(e,t,n);break;case 22:n.mode&1?(He=(r=He)||n.memoizedState!==null,On(e,t,n),He=r):On(e,t,n);break;default:On(e,t,n)}}function Zf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ax),t.forEach(function(r){var o=Ux.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function At(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:je=a.stateNode,zt=!1;break e;case 3:je=a.stateNode.containerInfo,zt=!0;break e;case 4:je=a.stateNode.containerInfo,zt=!0;break e}a=a.return}if(je===null)throw Error(I(160));wg(i,s,o),je=null,zt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ke(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)xg(t,e),t=t.sibling}function xg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(At(t,e),Gt(e),r&4){try{hi(3,e,e.return),Ua(3,e)}catch(f){ke(e,e.return,f)}try{hi(5,e,e.return)}catch(f){ke(e,e.return,f)}}break;case 1:At(t,e),Gt(e),r&512&&n!==null&&ro(n,n.return);break;case 5:if(At(t,e),Gt(e),r&512&&n!==null&&ro(n,n.return),e.flags&32){var o=e.stateNode;try{xi(o,"")}catch(f){ke(e,e.return,f)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Uh(o,i),wu(a,s);var u=wu(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?Qh(o,d):c==="dangerouslySetInnerHTML"?Hh(o,d):c==="children"?xi(o,d):_c(o,c,d,u)}switch(a){case"input":hu(o,i);break;case"textarea":Wh(o,i);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?io(o,!!i.multiple,h,!1):m!==!!i.multiple&&(i.defaultValue!=null?io(o,!!i.multiple,i.defaultValue,!0):io(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ri]=i}catch(f){ke(e,e.return,f)}}break;case 6:if(At(t,e),Gt(e),r&4){if(e.stateNode===null)throw Error(I(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(f){ke(e,e.return,f)}}break;case 3:if(At(t,e),Gt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ci(t.containerInfo)}catch(f){ke(e,e.return,f)}break;case 4:At(t,e),Gt(e);break;case 13:At(t,e),Gt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(fd=Ne())),r&4&&Zf(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(He=(u=He)||c,At(t,e),He=u):At(t,e),Gt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(W=e,c=e.child;c!==null;){for(d=W=c;W!==null;){switch(m=W,h=m.child,m.tag){case 0:case 11:case 14:case 15:hi(4,m,m.return);break;case 1:ro(m,m.return);var x=m.stateNode;if(typeof x.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(f){ke(r,n,f)}}break;case 5:ro(m,m.return);break;case 22:if(m.memoizedState!==null){ep(d);continue}}h!==null?(h.return=m,W=h):ep(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Yh("display",s))}catch(f){ke(e,e.return,f)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(f){ke(e,e.return,f)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:At(t,e),Gt(e),r&4&&Zf(e);break;case 21:break;default:At(t,e),Gt(e)}}function Gt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(yg(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(xi(o,""),r.flags&=-33);var i=qf(e);Gu(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=qf(e);Ku(e,a,s);break;default:throw Error(I(161))}}catch(l){ke(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ix(e,t,n){W=e,Sg(e)}function Sg(e,t,n){for(var r=(e.mode&1)!==0;W!==null;){var o=W,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Es;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||He;a=Es;var u=He;if(Es=s,(He=l)&&!u)for(W=o;W!==null;)s=W,l=s.child,s.tag===22&&s.memoizedState!==null?tp(o):l!==null?(l.return=s,W=l):tp(o);for(;i!==null;)W=i,Sg(i),i=i.sibling;W=o,Es=a,He=u}Jf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,W=i):Jf(e)}}function Jf(e){for(;W!==null;){var t=W;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:He||Ua(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!He)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Dt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&jf(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}jf(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Ci(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}He||t.flags&512&&Qu(t)}catch(m){ke(t,t.return,m)}}if(t===e){W=null;break}if(n=t.sibling,n!==null){n.return=t.return,W=n;break}W=t.return}}function ep(e){for(;W!==null;){var t=W;if(t===e){W=null;break}var n=t.sibling;if(n!==null){n.return=t.return,W=n;break}W=t.return}}function tp(e){for(;W!==null;){var t=W;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ua(4,t)}catch(l){ke(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ke(t,o,l)}}var i=t.return;try{Qu(t)}catch(l){ke(t,i,l)}break;case 5:var s=t.return;try{Qu(t)}catch(l){ke(t,s,l)}}}catch(l){ke(t,t.return,l)}if(t===e){W=null;break}var a=t.sibling;if(a!==null){a.return=t.return,W=a;break}W=t.return}}var Dx=Math.ceil,ya=Cn.ReactCurrentDispatcher,cd=Cn.ReactCurrentOwner,St=Cn.ReactCurrentBatchConfig,ae=0,Ie=null,Re=null,Fe=0,ut=0,oo=lr(0),Ae=0,Di=null,Or=0,Wa=0,dd=0,mi=null,nt=null,fd=0,Oo=1/0,fn=null,wa=!1,Xu=null,Jn=null,Cs=!1,Yn=null,xa=0,gi=0,qu=null,Vs=-1,Hs=0;function qe(){return ae&6?Ne():Vs!==-1?Vs:Vs=Ne()}function er(e){return e.mode&1?ae&2&&Fe!==0?Fe&-Fe:yx.transition!==null?(Hs===0&&(Hs=im()),Hs):(e=fe,e!==0||(e=window.event,e=e===void 0?16:fm(e.type)),e):1}function Ut(e,t,n,r){if(50<gi)throw gi=0,qu=null,Error(I(185));Ki(e,n,r),(!(ae&2)||e!==Ie)&&(e===Ie&&(!(ae&2)&&(Wa|=n),Ae===4&&zn(e,Fe)),st(e,r),n===1&&ae===0&&!(t.mode&1)&&(Oo=Ne()+500,za&&ur()))}function st(e,t){var n=e.callbackNode;yw(e,t);var r=ra(e,e===Ie?Fe:0);if(r===0)n!==null&&cf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&cf(n),t===1)e.tag===0?vx(np.bind(null,e)):Mm(np.bind(null,e)),px(function(){!(ae&6)&&ur()}),n=null;else{switch(sm(r)){case 1:n=Fc;break;case 4:n=rm;break;case 16:n=na;break;case 536870912:n=om;break;default:n=na}n=Rg(n,bg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function bg(e,t){if(Vs=-1,Hs=0,ae&6)throw Error(I(327));var n=e.callbackNode;if(co()&&e.callbackNode!==n)return null;var r=ra(e,e===Ie?Fe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Sa(e,r);else{t=r;var o=ae;ae|=2;var i=Cg();(Ie!==e||Fe!==t)&&(fn=null,Oo=Ne()+500,Pr(e,t));do try{Fx();break}catch(a){Eg(e,a)}while(!0);qc(),ya.current=i,ae=o,Re!==null?t=0:(Ie=null,Fe=0,t=Ae)}if(t!==0){if(t===2&&(o=Cu(e),o!==0&&(r=o,t=Zu(e,o))),t===1)throw n=Di,Pr(e,0),zn(e,r),st(e,Ne()),n;if(t===6)zn(e,r);else{if(o=e.current.alternate,!(r&30)&&!Lx(o)&&(t=Sa(e,r),t===2&&(i=Cu(e),i!==0&&(r=i,t=Zu(e,i))),t===1))throw n=Di,Pr(e,0),zn(e,r),st(e,Ne()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:hr(e,nt,fn);break;case 3:if(zn(e,r),(r&130023424)===r&&(t=fd+500-Ne(),10<t)){if(ra(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Au(hr.bind(null,e,nt,fn),t);break}hr(e,nt,fn);break;case 4:if(zn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Bt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=Ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Dx(r/1960))-r,10<r){e.timeoutHandle=Au(hr.bind(null,e,nt,fn),r);break}hr(e,nt,fn);break;case 5:hr(e,nt,fn);break;default:throw Error(I(329))}}}return st(e,Ne()),e.callbackNode===n?bg.bind(null,e):null}function Zu(e,t){var n=mi;return e.current.memoizedState.isDehydrated&&(Pr(e,t).flags|=256),e=Sa(e,t),e!==2&&(t=nt,nt=n,t!==null&&Ju(t)),e}function Ju(e){nt===null?nt=e:nt.push.apply(nt,e)}function Lx(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Vt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function zn(e,t){for(t&=~dd,t&=~Wa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Bt(t),r=1<<n;e[n]=-1,t&=~r}}function np(e){if(ae&6)throw Error(I(327));co();var t=ra(e,0);if(!(t&1))return st(e,Ne()),null;var n=Sa(e,t);if(e.tag!==0&&n===2){var r=Cu(e);r!==0&&(t=r,n=Zu(e,r))}if(n===1)throw n=Di,Pr(e,0),zn(e,t),st(e,Ne()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,hr(e,nt,fn),st(e,Ne()),null}function pd(e,t){var n=ae;ae|=1;try{return e(t)}finally{ae=n,ae===0&&(Oo=Ne()+500,za&&ur())}}function Mr(e){Yn!==null&&Yn.tag===0&&!(ae&6)&&co();var t=ae;ae|=1;var n=St.transition,r=fe;try{if(St.transition=null,fe=1,e)return e()}finally{fe=r,St.transition=n,ae=t,!(ae&6)&&ur()}}function hd(){ut=oo.current,ye(oo)}function Pr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,fx(n)),Re!==null)for(n=Re.return;n!==null;){var r=n;switch(Kc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&la();break;case 3:No(),ye(ot),ye(Ye),rd();break;case 5:nd(r);break;case 4:No();break;case 13:ye(Se);break;case 19:ye(Se);break;case 10:Zc(r.type._context);break;case 22:case 23:hd()}n=n.return}if(Ie=e,Re=e=tr(e.current,null),Fe=ut=t,Ae=0,Di=null,dd=Wa=Or=0,nt=mi=null,vr!==null){for(t=0;t<vr.length;t++)if(n=vr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}vr=null}return e}function Eg(e,t){do{var n=Re;try{if(qc(),Bs.current=va,ga){for(var r=Ee.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ga=!1}if(Rr=0,_e=Me=Ee=null,pi=!1,Ai=0,cd.current=null,n===null||n.return===null){Ae=1,Di=t,Re=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Fe,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var m=c.alternate;m?(c.updateQueue=m.updateQueue,c.memoizedState=m.memoizedState,c.lanes=m.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=Wf(s);if(h!==null){h.flags&=-257,Vf(h,s,a,i,t),h.mode&1&&Uf(i,u,t),t=h,l=u;var x=t.updateQueue;if(x===null){var f=new Set;f.add(l),t.updateQueue=f}else x.add(l);break e}else{if(!(t&1)){Uf(i,u,t),md();break e}l=Error(I(426))}}else if(we&&a.mode&1){var y=Wf(s);if(y!==null){!(y.flags&65536)&&(y.flags|=256),Vf(y,s,a,i,t),Gc(Ro(l,a));break e}}i=l=Ro(l,a),Ae!==4&&(Ae=2),mi===null?mi=[i]:mi.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=sg(i,l,t);Lf(i,g);break e;case 1:a=l;var p=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Jn===null||!Jn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var b=ag(i,a,t);Lf(i,b);break e}}i=i.return}while(i!==null)}kg(n)}catch(E){t=E,Re===n&&n!==null&&(Re=n=n.return);continue}break}while(!0)}function Cg(){var e=ya.current;return ya.current=va,e===null?va:e}function md(){(Ae===0||Ae===3||Ae===2)&&(Ae=4),Ie===null||!(Or&268435455)&&!(Wa&268435455)||zn(Ie,Fe)}function Sa(e,t){var n=ae;ae|=2;var r=Cg();(Ie!==e||Fe!==t)&&(fn=null,Pr(e,t));do try{jx();break}catch(o){Eg(e,o)}while(!0);if(qc(),ae=n,ya.current=r,Re!==null)throw Error(I(261));return Ie=null,Fe=0,Ae}function jx(){for(;Re!==null;)Pg(Re)}function Fx(){for(;Re!==null&&!uw();)Pg(Re)}function Pg(e){var t=Ng(e.alternate,e,ut);e.memoizedProps=e.pendingProps,t===null?kg(e):Re=t,cd.current=null}function kg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Mx(n,t),n!==null){n.flags&=32767,Re=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ae=6,Re=null;return}}else if(n=Ox(n,t,ut),n!==null){Re=n;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);Ae===0&&(Ae=5)}function hr(e,t,n){var r=fe,o=St.transition;try{St.transition=null,fe=1,zx(e,t,n,r)}finally{St.transition=o,fe=r}return null}function zx(e,t,n,r){do co();while(Yn!==null);if(ae&6)throw Error(I(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(I(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(ww(e,i),e===Ie&&(Re=Ie=null,Fe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Cs||(Cs=!0,Rg(na,function(){return co(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=St.transition,St.transition=null;var s=fe;fe=1;var a=ae;ae|=4,cd.current=null,_x(e,n),xg(n,e),ix(Ou),oa=!!Ru,Ou=Ru=null,e.current=n,Ix(n),cw(),ae=a,fe=s,St.transition=i}else e.current=n;if(Cs&&(Cs=!1,Yn=e,xa=o),i=e.pendingLanes,i===0&&(Jn=null),pw(n.stateNode),st(e,Ne()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(wa)throw wa=!1,e=Xu,Xu=null,e;return xa&1&&e.tag!==0&&co(),i=e.pendingLanes,i&1?e===qu?gi++:(gi=0,qu=e):gi=0,ur(),null}function co(){if(Yn!==null){var e=sm(xa),t=St.transition,n=fe;try{if(St.transition=null,fe=16>e?16:e,Yn===null)var r=!1;else{if(e=Yn,Yn=null,xa=0,ae&6)throw Error(I(331));var o=ae;for(ae|=4,W=e.current;W!==null;){var i=W,s=i.child;if(W.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(W=u;W!==null;){var c=W;switch(c.tag){case 0:case 11:case 15:hi(8,c,i)}var d=c.child;if(d!==null)d.return=c,W=d;else for(;W!==null;){c=W;var m=c.sibling,h=c.return;if(vg(c),c===u){W=null;break}if(m!==null){m.return=h,W=m;break}W=h}}}var x=i.alternate;if(x!==null){var f=x.child;if(f!==null){x.child=null;do{var y=f.sibling;f.sibling=null,f=y}while(f!==null)}}W=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,W=s;else e:for(;W!==null;){if(i=W,i.flags&2048)switch(i.tag){case 0:case 11:case 15:hi(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,W=g;break e}W=i.return}}var p=e.current;for(W=p;W!==null;){s=W;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,W=v;else e:for(s=p;W!==null;){if(a=W,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Ua(9,a)}}catch(E){ke(a,a.return,E)}if(a===s){W=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,W=b;break e}W=a.return}}if(ae=o,ur(),rn&&typeof rn.onPostCommitFiberRoot=="function")try{rn.onPostCommitFiberRoot(Ia,e)}catch{}r=!0}return r}finally{fe=n,St.transition=t}}return!1}function rp(e,t,n){t=Ro(n,t),t=sg(e,t,1),e=Zn(e,t,1),t=qe(),e!==null&&(Ki(e,1,t),st(e,t))}function ke(e,t,n){if(e.tag===3)rp(e,e,n);else for(;t!==null;){if(t.tag===3){rp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jn===null||!Jn.has(r))){e=Ro(n,e),e=ag(t,e,1),t=Zn(t,e,1),e=qe(),t!==null&&(Ki(t,1,e),st(t,e));break}}t=t.return}}function $x(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,Ie===e&&(Fe&n)===n&&(Ae===4||Ae===3&&(Fe&130023424)===Fe&&500>Ne()-fd?Pr(e,0):dd|=n),st(e,t)}function Tg(e,t){t===0&&(e.mode&1?(t=hs,hs<<=1,!(hs&130023424)&&(hs=4194304)):t=1);var n=qe();e=xn(e,t),e!==null&&(Ki(e,t,n),st(e,n))}function Bx(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tg(e,n)}function Ux(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),Tg(e,n)}var Ng;Ng=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ot.current)rt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return rt=!1,Rx(e,t,n);rt=!!(e.flags&131072)}else rt=!1,we&&t.flags&1048576&&Am(t,da,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ws(e,t),e=t.pendingProps;var o=Po(t,Ye.current);uo(t,n),o=id(null,t,r,e,o,n);var i=sd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,it(r)?(i=!0,ua(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ed(t),o.updater=Ba,t.stateNode=o,o._reactInternals=t,zu(t,r,e,n),t=Uu(null,t,r,!0,i,n)):(t.tag=0,we&&i&&Qc(t),Ge(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Vx(r),e=Dt(r,e),o){case 0:t=Bu(null,t,r,e,n);break e;case 1:t=Qf(null,t,r,e,n);break e;case 11:t=Hf(null,t,r,e,n);break e;case 14:t=Yf(null,t,r,Dt(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),Bu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),Qf(e,t,r,o,n);case 3:e:{if(dg(t),e===null)throw Error(I(387));
vendor: 8,088 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,Fm(e,t),ha(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Ro(Error(I(423)),t),t=Kf(e,t,r,n,o);break e}else if(r!==o){o=Ro(Error(I(424)),t),t=Kf(e,t,r,n,o);break e}else for(dt=qn(t.stateNode.containerInfo.firstChild),ft=t,we=!0,$t=null,n=Lm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ko(),r===o){t=Sn(e,t,n);break e}Ge(e,t,r,n)}t=t.child}return t;case 5:return zm(t),e===null&&Lu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Mu(r,o)?s=null:i!==null&&Mu(r,i)&&(t.flags|=32),cg(e,t),Ge(e,t,s,n),t.child;case 6:return e===null&&Lu(t),null;case 13:return fg(e,t,n);case 4:return td(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=To(t,null,r,n):Ge(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),Hf(e,t,r,o,n);case 7:return Ge(e,t,t.pendingProps,n),t.child;case 8:return Ge(e,t,t.pendingProps.children,n),t.child;case 12:return Ge(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,me(fa,r._currentValue),r._currentValue=s,i!==null)if(Vt(i.value,s)){if(i.children===o.children&&!ot.current){t=Sn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=vn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),ju(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(I(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ju(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ge(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,uo(t,n),o=bt(o),r=r(o),t.flags|=1,Ge(e,t,r,n),t.child;case 14:return r=t.type,o=Dt(r,t.pendingProps),o=Dt(r.type,o),Yf(e,t,r,o,n);case 15:return lg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),Ws(e,t),t.tag=1,it(r)?(e=!0,ua(t)):e=!1,uo(t,n),ig(t,r,o),zu(t,r,o,n),Uu(null,t,r,!0,e,n);case 19:return pg(e,t,n);case 22:return ug(e,t,n)}throw Error(I(156,t.tag))};function Rg(e,t){return nm(e,t)}function Wx(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xt(e,t,n,r){return new Wx(e,t,n,r)}function gd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Vx(e){if(typeof e=="function")return gd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Dc)return 11;if(e===Lc)return 14}return 2}function tr(e,t){var n=e.alternate;return n===null?(n=xt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ys(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")gd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Kr:return kr(n.children,o,i,t);case Ic:s=8,o|=8;break;case uu:return e=xt(12,n,t,o|2),e.elementType=uu,e.lanes=i,e;case cu:return e=xt(13,n,t,o),e.elementType=cu,e.lanes=i,e;case du:return e=xt(19,n,t,o),e.elementType=du,e.lanes=i,e;case zh:return Va(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jh:s=10;break e;case Fh:s=9;break e;case Dc:s=11;break e;case Lc:s=14;break e;case Ln:s=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=xt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function kr(e,t,n,r){return e=xt(7,e,r,t),e.lanes=n,e}function Va(e,t,n,r){return e=xt(22,e,r,t),e.elementType=zh,e.lanes=n,e.stateNode={isHidden:!1},e}function Hl(e,t,n){return e=xt(6,e,null,t),e.lanes=n,e}function Yl(e,t,n){return t=xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hx(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=kl(0),this.expirationTimes=kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function vd(e,t,n,r,o,i,s,a,l){return e=new Hx(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=xt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ed(i),e}function Yx(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Qr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Og(e){if(!e)return rr;e=e._reactInternals;e:{if(jr(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(it(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(it(n))return Om(e,n,t)}return t}function Mg(e,t,n,r,o,i,s,a,l){return e=vd(n,r,!0,e,o,i,s,a,l),e.context=Og(null),n=e.current,r=qe(),o=er(n),i=vn(r,o),i.callback=t??null,Zn(n,i,o),e.current.lanes=o,Ki(e,o,r),st(e,r),e}function Ha(e,t,n,r){var o=t.current,i=qe(),s=er(o);return n=Og(n),t.context===null?t.context=n:t.pendingContext=n,t=vn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zn(o,t,s),e!==null&&(Ut(e,o,s,i),$s(e,o,s)),s}function ba(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function op(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function yd(e,t){op(e,t),(e=e.alternate)&&op(e,t)}function Qx(){return null}var Ag=typeof reportError=="function"?reportError:function(e){console.error(e)};function wd(e){this._internalRoot=e}Ya.prototype.render=wd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));Ha(e,t,null,null)};Ya.prototype.unmount=wd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Mr(function(){Ha(null,e,null,null)}),t[wn]=null}};function Ya(e){this._internalRoot=e}Ya.prototype.unstable_scheduleHydration=function(e){if(e){var t=um();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Fn.length&&t!==0&&t<Fn[n].priority;n++);Fn.splice(n,0,e),n===0&&dm(e)}};function xd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Qa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ip(){}function Kx(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=ba(s);i.call(u)}}var s=Mg(t,r,e,0,null,!1,!1,"",ip);return e._reactRootContainer=s,e[wn]=s.current,Ti(e.nodeType===8?e.parentNode:e),Mr(),s}for(;
vendor: 4,706 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=ba(l);a.call(u)}}var l=vd(e,0,!1,null,null,!1,!1,"",ip);return e._reactRootContainer=l,e[wn]=l.current,Ti(e.nodeType===8?e.parentNode:e),Mr(function(){Ha(t,l,n,r)}),l}function Ka(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=ba(s);a.call(l)}}Ha(t,s,e,o)}else s=Kx(n,t,e,o,r);return ba(s)}am=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=oi(t.pendingLanes);n!==0&&(zc(t,n|1),st(t,Ne()),!(ae&6)&&(Oo=Ne()+500,ur()))}break;case 13:Mr(function(){var r=xn(e,1);if(r!==null){var o=qe();Ut(r,e,1,o)}}),yd(e,1)}};$c=function(e){if(e.tag===13){var t=xn(e,134217728);if(t!==null){var n=qe();Ut(t,e,134217728,n)}yd(e,134217728)}};lm=function(e){if(e.tag===13){var t=er(e),n=xn(e,t);if(n!==null){var r=qe();Ut(n,e,t,r)}yd(e,t)}};um=function(){return fe};cm=function(e,t){var n=fe;try{return fe=e,t()}finally{fe=n}};Su=function(e,t,n){switch(t){case"input":if(hu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Fa(r);if(!o)throw Error(I(90));Bh(r),hu(r,o)}}}break;case"textarea":Wh(e,n);break;case"select":t=n.value,t!=null&&io(e,!!n.multiple,t,!1)}};Xh=pd;qh=Mr;var Gx={usingClientEntryPoint:!1,Events:[Xi,Zr,Fa,Kh,Gh,pd]},Xo={findFiberByHostInstance:gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Xx={bundleType:Xo.bundleType,version:Xo.version,rendererPackageName:Xo.rendererPackageName,rendererConfig:Xo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Cn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=em(e),e===null?null:e.stateNode},findFiberByHostInstance:Xo.findFiberByHostInstance||Qx,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 Ps=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ps.isDisabled&&Ps.supportsFiber)try{Ia=Ps.inject(Xx),rn=Ps}catch{}}mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Gx;mt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xd(t))throw Error(I(200));return Yx(e,t,null,n)};mt.createRoot=function(e,t){if(!xd(e))throw Error(I(299));var n=!1,r="",o=Ag;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=vd(e,1,!1,null,null,n,!1,r,o),e[wn]=t.current,Ti(e.nodeType===8?e.parentNode:e),new wd(t)};mt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=em(t),e=e===null?null:e.stateNode,e};mt.flushSync=function(e){return Mr(e)};mt.hydrate=function(e,t,n){if(!Qa(t))throw Error(I(200));return Ka(null,e,t,!0,n)};mt.hydrateRoot=function(e,t,n){if(!xd(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Ag;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Mg(t,null,e,1,n??null,o,!1,i,s),e[wn]=t.current,Ti(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Ya(t)};mt.render=function(e,t,n){if(!Qa(t))throw Error(I(200));return Ka(null,e,t,!1,n)};mt.unmountComponentAtNode=function(e){if(!Qa(e))throw Error(I(40));return e._reactRootContainer?(Mr(function(){Ka(null,null,e,!1,function(){e._reactRootContainer=null,e[wn]=null})}),!0):!1};mt.unstable_batchedUpdates=pd;mt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qa(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return Ka(e,t,n,!1,r)};mt.version="18.3.1-next-f1338f8080-20240426";function _g(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_g)}catch(e){console.error(e)}}_g(),_h.exports=mt;var Fr=_h.exports;const Ig=Sh(Fr);var Dg,sp=Fr;Dg=sp.createRoot,sp.hydrateRoot;const qx=1,Zx=1e6;
40let Ql=0;function Jx(){return Ql=(Ql+1)%Number.MAX_SAFE_INTEGER,Ql.toString()}const Kl=new Map,ap=e=>{if(Kl.has(e))return;const t=setTimeout(()=>{Kl.delete(e),vi({type:"REMOVE_TOAST",toastId:e})},Zx);Kl.set(e,t)},e1=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,qx)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?ap(n):e.toasts.forEach(r=>{ap(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Qs=[];let Ks={toasts:[]};function vi(e){Ks=e1(Ks,e),Qs.forEach(t=>{t(Ks)})}function t1({...e}){const t=Jx(),n=o=>vi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>vi({type:"DISMISS_TOAST",toastId:t});return vi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Sd(){const[e,t]=w.useState(Ks);return w.useEffect(()=>(Qs.push(t),()=>{const n=Qs.indexOf(t);n>-1&&Qs.splice(n,1)}),[e]),{...e,toast:t1,dismiss:n=>vi({type:"DISMISS_TOAST",toastId:n})}}function oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function lp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Lg(...e){return t=>{let n=!1;const r=e.map(o=>{const i=lp(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():lp(e[o],null)}}}}function Te(...e){return w.useCallback(Lg(...e),e)}function Zi(e,t=[]){let n=[];function r(i,s){const a=w.createContext(s),l=n.length;n=[...n,s];const u=d=>{var g;const{scope:m,children:h,...x}=d,f=((g=m==null?void 0:m[e])==null?void 0:g[l])||a,y=w.useMemo(()=>x,Object.values(x));return S.jsx(f.Provider,{value:y,children:h})};u.displayName=i+"Provider";function c(d,m){var f;const h=((f=m==null?void 0:m[e])==null?void 0:f[l])||a,x=w.useContext(h);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,n1(o,...t)]}function n1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Li(e){const t=o1(e),n=w.forwardRef((r,o)=>{const{children:i,...s}=r,a=w.Children.toArray(i),l=a.find(s1);if(l){const u=l.props.children,c=a.map(d=>d===l?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:d);return S.jsx(t,{...s,ref:o,children:w.isValidElement(u)?w.cloneElement(u,void 0,c):null})}return S.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var r1=Li("Slot");function o1(e){const t=w.forwardRef((n,r)=>{const{children:o,...i}=n;if(w.isValidElement(o)){const s=l1(o),a=a1(i,o.props);return o.type!==w.Fragment&&(a.ref=r?Lg(r,s):s),w.cloneElement(o,a)}return w.Children.count(o)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var jg=Symbol("radix.slottable");function i1(e){const t=({children:n})=>S.jsx(S.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=jg,t}function s1(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===jg}function a1(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function l1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Fg(e){const t=e+"CollectionProvider",[n,r]=Zi(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=f=>{const{scope:y,children:g}=f,p=F.useRef(null),v=F.useRef(new Map).current;return S.jsx(o,{scope:y,itemMap:v,collectionRef:p,children:g})};s.displayName=t;const a=e+"CollectionSlot",l=Li(a),u=F.forwardRef((f,y)=>{const{scope:g,children:p}=f,v=i(a,g),b=Te(y,v.collectionRef);return S.jsx(l,{ref:b,children:p})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",m=Li(c),h=F.forwardRef((f,y)=>{const{scope:g,children:p,...v}=f,b=F.useRef(null),E=Te(y,b),P=i(c,g);return F.useEffect(()=>(P.itemMap.set(b,{ref:b,...v}),()=>void P.itemMap.delete(b))),S.jsx(m,{[d]:"",ref:E,children:p})});h.displayName=c;function x(f){const y=i(e+"CollectionConsumer",f);return F.useCallback(()=>
vendor: 9,013 bytes, line 40
40{const p=y.collectionRef.current;if(!p)return[];const v=Array.from(p.querySelectorAll(`[${d}]`));return Array.from(y.itemMap.values()).sort((P,C)=>v.indexOf(P.ref.current)-v.indexOf(C.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},x,r]}var u1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],pe=u1.reduce((e,t)=>{const n=Li(`Primitive.${t}`),r=w.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function zg(e,t){e&&Fr.flushSync(()=>e.dispatchEvent(t))}function Ht(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function c1(e,t=globalThis==null?void 0:globalThis.document){const n=Ht(e);w.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var d1="DismissableLayer",ec="dismissableLayer.update",f1="dismissableLayer.pointerDownOutside",p1="dismissableLayer.focusOutside",up,$g=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ga=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=w.useContext($g),[c,d]=w.useState(null),m=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=w.useState({}),x=Te(t,C=>d(C)),f=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=f.indexOf(y),p=c?f.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,b=p>=g,E=m1(C=>{const k=C.target,N=[...u.branches].some(O=>O.contains(k));!b||N||(o==null||o(C),s==null||s(C),C.defaultPrevented||a==null||a())},m),P=g1(C=>{const k=C.target;[...u.branches].some(O=>O.contains(k))||(i==null||i(C),s==null||s(C),C.defaultPrevented||a==null||a())},m);return c1(C=>{p===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},m),w.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(up=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),cp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=up)}},[c,m,n,u]),w.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),cp())},[c,u]),w.useEffect(()=>{const C=()=>h({});return document.addEventListener(ec,C),()=>document.removeEventListener(ec,C)},[]),S.jsx(pe.div,{...l,ref:x,style:{pointerEvents:v?b?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,E.onPointerDownCapture)})});Ga.displayName=d1;var h1="DismissableLayerBranch",Bg=w.forwardRef((e,t)=>{const n=w.useContext($g),r=w.useRef(null),o=Te(t,r);return w.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),S.jsx(pe.div,{...e,ref:o})});Bg.displayName=h1;function m1(e,t=globalThis==null?void 0:globalThis.document){const n=Ht(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Ug(f1,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function g1(e,t=globalThis==null?void 0:globalThis.document){const n=Ht(e),r=w.useRef(!1);return w.useEffect(()=>{const o=i=>{i.target&&!r.current&&Ug(p1,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function cp(){const e=new CustomEvent(ec);document.dispatchEvent(e)}function Ug(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?zg(o,i):o.dispatchEvent(i)}var v1=Ga,y1=Bg,$e=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},w1="Portal",bd=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=w.useState(!1);$e(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Ig.createPortal(S.jsx(pe.div,{...r,ref:t}),s):null});bd.displayName=w1;function x1(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Ed=e=>{const{present:t,children:n}=e,r=S1(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),i=Te(r.ref,b1(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:i}):null};Ed.displayName="Presence";function S1(e){const[t,n]=w.useState(),r=w.useRef(null),o=w.useRef(e),i=w.useRef("none"),s=e?"mounted":"unmounted",[a,l]=x1(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=ks(r.current);i.current=a==="mounted"?u:"none"},[a]),$e(()=>{const u=r.current,c=o.current;if(c!==e){const m=i.current,h=ks(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),$e(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const f=ks(r.current).includes(h.animationName);if(h.target===t&&f&&(l("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},m=h=>{h.target===t&&(i.current=ks(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ks(e){return(e==null?void 0:e.animationName)||"none"}function b1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var E1=Oc[" useInsertionEffect ".trim().toString()]||$e;function tc({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=C1({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=w.useRef(e!==void 0);w.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=w.useCallback(c=>{var d;if(a){const m=P1(c)?c(e):c;m!==e&&((d=s.current)==null||d.call(s,m))}else i(c)},[a,e,i,s]);return[l,u]}function C1({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),o=w.useRef(n),i=w.useRef(t);return E1(()=>{i.current=t},[t]),w.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function P1(e){return typeof e=="function"}var Wg=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),k1="VisuallyHidden",Xa=w.forwardRef((e,t)=>S.jsx(pe.span,{...e,ref:t,style:{...Wg,...e.style}}));Xa.displayName=k1;var T1=Xa,Cd="ToastProvider",[Pd,N1,R1]=Fg("Toast"),[Vg,YN]=Zi("Toast",[R1]),[O1,qa]=Vg(Cd),Hg=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=w.useState(null),[u,c]=w.useState(0),d=w.useRef(!1),m=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Cd}\`. Expected non-empty \`string\`.`),S.jsx(Pd.Provider,{scope:t,children:S.jsx(O1,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>c(h=>h+1),[]),onToastRemove:w.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:m,children:s})})};Hg.displayName=Cd;var Yg="ToastViewport",M1=["F8"],nc="toast.viewportPause",rc="toast.viewportResume",Qg=w.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=M1,label:o="Notifications ({hotkey})",...i}=e,s=qa(Yg,n),a=N1(n),l=w.useRef(null),u=w.useRef(null),c=w.useRef(null),d=w.useRef(null),m=Te(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=s.toastCount>0;w.useEffect(()=>{const y=g=>{var v;r.length!==0&&r.every(b=>g[b]||g.code===b)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",y),()=>document.removeEventListener("keydown",y)},[r]),w.useEffect(()=>{const y=l.current,g=d.current;if(x&&y&&g){const p=()=>{if(!s.isClosePausedRef.current){const P=new CustomEvent(nc);g.dispatchEvent(P),s.isClosePausedRef.current=!0}},v=()=>{if(s.isClosePausedRef.current){const P=new CustomEvent(rc);g.dispatchEvent(P),s.isClosePausedRef.current=!1}},b=P=>{!y.contains(P.relatedTarget)&&v()},E=()=>{y.contains(document.activeElement)||v()};return y.addEventListener("focusin",p),y.addEventListener("focusout",b),y.addEventListener("pointermove",p),y.addEventListener("pointerleave",E),window.addEventListener("blur",p),window.addEventListener("focus",v),()=>{y.removeEventListener("focusin",p),y.removeEventListener("focusout",b),y.removeEventListener("pointermove",p),y.removeEventListener("pointerleave",E),window.removeEventListener("blur",p),window.removeEventListener("focus",v)}}},[x,s.isClosePausedRef]);const f=w.useCallback(({tabbingDirection:y})=>{const p=a().map(v=>{const b=v.ref.current,E=[b,...V1(b)];return y==="forwards"?E:E.reverse()});return(y==="forwards"?p.reverse():p).flat()},[a]);return w.useEffect(()=>{const y=d.current;if(y){const g=p=>{var E,P,C;const v=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!v){const k=document.activeElement,N=p.shiftKey;if(p.target===y&&N){(E=u.current)==null||E.focus();return}const _=f({tabbingDirection:N?"backwards":"forwards"}),H=_.findIndex(A=>A===k);Gl(_.slice(H+1))?p.preventDefault():N?(P=u.current)==null||P.focus():(C=c.current)==null||C.focus()}};return y.addEventListener("keydown",g),()=>y.removeEventListener("keydown",g)}},[a,f]),S.jsxs(y1,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&S.jsx(oc,{ref:u,onFocusFromOutsideViewport:()=>{const y=f({tabbingDirection:"forwards"});Gl(y)}}),S.jsx(Pd.Slot,{scope:n,children:S.jsx(pe.ol,{tabIndex:-1,...i,ref:m})}),x&&S.jsx(oc,{ref:c,onFocusFromOutsideViewport:()=>{const y=f({tabbingDirection:"backwards"});Gl(y)}})]})});Qg.displayName=Yg;var Kg="ToastFocusProxy",oc=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=qa(Kg,n);return S.jsx(Xa,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});oc.displayName=Kg;var Ji="Toast",A1="toast.swipeStart",_1="toast.swipeMove",I1="toast.swipeCancel",D1="toast.swipeEnd",Gg=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=tc({prop:r,defaultProp:o??!0,onChange:i,caller:Ji});return S.jsx(Ed,{present:n||a,children:S.jsx(F1,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Ht(e.onPause),onResume:Ht(e.onResume),onSwipeStart:oe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:oe(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:oe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:oe(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});Gg.displayName=Ji;var[L1,j1]=Vg(Ji,{onClose(){}}),F1=w.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:m,onSwipeEnd:h,...x}=e,f=qa(Ji,n),[y,g]=w.useState(null),p=Te(t,A=>g(A)),v=w.useRef(null),b=w.useRef(null),E=o||f.duration,P=w.useRef(0),C=w.useRef(E),k=w.useRef(0),{onToastAdd:N,onToastRemove:O}=f,j=Ht(()=>{var V;(y==null?void 0:y.contains(document.activeElement))&&((V=f.viewport)==null||V.focus()),s()}),_=w.useCallback(A=>{!A||A===1/0||(window.clearTimeout(k.current),P.current=new Date().getTime(),k.current=window.setTimeout(j,A))},[j]);w.useEffect(()=>{const A=f.viewport;if(A){const V=()=>{_(C.current),u==null||u()},$=()=>{const U=new Date().getTime()-P.current;C.current=C.current-U,window.clearTimeout(k.current),l==null||l()};return A.addEventListener(nc,$),A.addEventListener(rc,V),()=>{A.removeEventListener(nc,$),A.removeEventListener(rc,V)}}},[f.viewport,E,l,u,_]),w.useEffect(()=>{i&&!f.isClosePausedRef.current&&_(E)},[i,E,f.isClosePausedRef,_]),w.useEffect(()=>(N(),()=>O()),[N,O]);const H=w.useMemo(()=>y?nv(y):null,[y]);return f.viewport?S.jsxs(S.Fragment,{children:[H&&S.jsx(z1,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),S.jsx(L1,{scope:n,onClose:j,children:Fr.createPortal(S.jsx(Pd.ItemSlot,{scope:n,children:S.jsx(v1,{asChild:!0,onEscapeKeyDown:oe(a,()=>{f.isFocusedToastEscapeKeyDownRef.current||j(),f.isFocusedToastEscapeKeyDownRef.current=!1}),children:S.jsx(pe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":f.swipeDirection,...x,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:oe(e.onKeyDown,A=>{A.key==="Escape"&&(a==null||a(A.nativeEvent),A.nativeEvent.defaultPrevented||(f.isFocusedToastEscapeKeyDownRef.current=!0,j()))}),onPointerDown:oe(e.onPointerDown,A=>{A.button===0&&(v.current={x:A.clientX,y:A.clientY})}),onPointerMove:oe(e.onPointerMove,A=>{if(!v.current)return;const V=A.clientX-v.current.x,$=A.clientY-v.current.y,U=!!b.current,T=["left","right"].includes(f.swipeDirection),R=["left","up"].includes(f.swipeDirection)?Math.min:Math.max,z=T?R(0,V):0,Q=T?0:R(0,$),B=A.pointerType==="touch"?10:2,G={x:z,y:Q},K={originalEvent:A,delta:G};U?(b.current=G,Ts(_1,d,K,{discrete:!1})):dp(G,f.swipeDirection,B)?(b.current=G,Ts(A1,c,K,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(V)>B||Math.abs($)>B)&&(v.current=null)}),onPointerUp:oe(e.onPointerUp,A=>{const V=b.current,$=A.target;if($.hasPointerCapture(A.pointerId)&&$.releasePointerCapture(A.pointerId),b.current=null,v.current=null,V){const U=A.currentTarget,T={originalEvent:A,delta:V};dp(V,f.swipeDirection,f.swipeThreshold)?Ts(D1,h,T,{discrete:!0}):Ts(I1,m,T,{discrete:!0}),U.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),f.viewport)})]}):null}),z1=e=>{const{__scopeToast:t,children:n,...r}=e,o=qa(Ji,t),[i,s]=w.useState(!1),[a,l]=w.useState(!1);return U1(()=>s(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:S.jsx(bd,{asChild:!0,children:S.jsx(Xa,{...r,children:i&&S.jsxs(S.Fragment,{children:[o.label," ",n]})})})},$1="ToastTitle",Xg=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return S.jsx(pe.div,{...r,ref:t})});Xg.displayName=$1;var B1="ToastDescription",qg=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return S.jsx(pe.div,{...r,ref:t})});qg.displayName=B1;var Zg="ToastAction",Jg=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?S.jsx(tv,{altText:n,asChild:!0,children:S.jsx(kd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Zg}\`. Expected non-empty \`string\`.`),null)});Jg.displayName=Zg;var ev="ToastClose",kd=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=j1(ev,n);return S.jsx(tv,{asChild:!0,children:S.jsx(pe.button,{type:"button",...r,ref:t,onClick:oe(e.onClick,o.onClose)})})});kd.displayName=ev;var tv=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return S.jsx(pe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function nv(e){const t=[];
vendor: 4,928 bytes, lines 40-80
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),W1(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...nv(r))}}),t}function Ts(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?zg(o,i):o.dispatchEvent(i)}var dp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function U1(e=()=>{}){const t=Ht(e);$e(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function W1(e){return e.nodeType===e.ELEMENT_NODE}function V1(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Gl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var H1=Hg,rv=Qg,ov=Gg,iv=Xg,sv=qg,av=Jg,lv=kd;function uv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=uv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function cv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=uv(e))&&(r&&(r+=" "),r+=t);return r}const fp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,pp=cv,Td=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return pp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const m=fp(c)||fp(d);return o[u][m]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,m]=c;return m===void 0||(u[d]=m),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:m,...h}=c;return Object.entries(h).every(x=>{let[f,y]=x;return Array.isArray(y)?y.includes({...i,...a}[f]):{...i,...a}[f]===y})?[...u,d,m]:u},[]);return pp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.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 Y1=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),dv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.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 Q1={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.462.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 K1=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>w.createElement("svg",{ref:l,...Q1,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:dv("lucide",o),...a},[...s.map(([u,c])=>w.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.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 Za=(e,t)=>{const n=w.forwardRef(({className:r,...o},i)=>w.createElement(K1,{ref:i,iconNode:t,className:dv(`lucide-${Y1(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.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 G1=Za("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
66 * @license lucide-react v0.462.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 fv=Za("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
71 * @license lucide-react v0.462.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 X1=Za("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
76 * @license lucide-react v0.462.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 q1=Za("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,913 bytes, line 80
80],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Nd="-",Z1=e=>{const t=eS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Nd);return a[0]===""&&a.length!==1&&a.shift(),pv(a,t)||J1(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},pv=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?pv(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Nd);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},hp=/^\[(.+)\]$/,J1=e=>{if(hp.test(e)){const t=hp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},eS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return nS(Object.entries(e.classGroups),n).forEach(([i,s])=>{ic(s,r,i,t)}),r},ic=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:mp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(tS(o)){ic(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{ic(s,mp(t,i),n,r)})})},mp=(e,t)=>{let n=e;return t.split(Nd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},tS=e=>e.isThemeGetter,nS=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,rS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},hv="!",oS=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let y=0;y<a.length;y++){let g=a[y];if(u===0){if(g===o&&(r||a.slice(y,y+i)===t)){l.push(a.slice(c,y)),c=y+i;continue}if(g==="/"){d=y;continue}}g==="["?u++:g==="]"&&u--}const m=l.length===0?a:a.substring(c),h=m.startsWith(hv),x=h?m.substring(1):m,f=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:f}};return n?a=>n({className:a,parseClassName:s}):s},iS=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},sS=e=>({cache:rS(e.cacheSize),parseClassName:oS(e),...Z1(e)}),aS=/\s+/,lS=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(aS);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:h}=n(u);let x=!!h,f=r(x?m.substring(0,h):m);if(!f){if(!x){a=u+(a.length>0?" "+a:a);continue}if(f=r(m),!f){a=u+(a.length>0?" "+a:a);continue}x=!1}const y=iS(c).join(":"),g=d?y+hv:y,p=g+f;if(i.includes(p))continue;i.push(p);const v=o(f,x);for(let b=0;b<v.length;++b){const E=v[b];i.push(g+E)}a=u+(a.length>0?" "+a:a)}return a};function uS(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=mv(t))&&(r&&(r+=" "),r+=n);return r}const mv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=mv(e[r]))&&(n&&(n+=" "),n+=t);return n};function cS(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=sS(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=lS(l,n);return o(l,c),c}return function(){return i(uS.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},gv=/^\[(?:([a-z-]+):)?(.+)\]$/i,dS=/^\d+\/\d+$/,fS=new Set(["px","full","screen"]),pS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hS=/\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$/,mS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,gS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,cn=e=>fo(e)||fS.has(e)||dS.test(e),Mn=e=>Lo(e,"length",PS),fo=e=>!!e&&!Number.isNaN(Number(e)),Xl=e=>Lo(e,"number",fo),qo=e=>!!e&&Number.isInteger(Number(e)),yS=e=>e.endsWith("%")&&fo(e.slice(0,-1)),te=e=>gv.test(e),An=e=>pS.test(e),wS=new Set(["length","size","percentage"]),xS=e=>Lo(e,wS,vv),SS=e=>Lo(e,"position",vv),bS=new Set(["image","url"]),ES=e=>Lo(e,bS,TS),CS=e=>Lo(e,"",kS),Zo=()=>!0,Lo=(e,t,n)=>{const r=gv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},PS=e=>hS.test(e)&&!mS.test(e),vv=()=>!1,kS=e=>gS.test(e),TS=e=>vS.test(e),NS=()=>{const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),o=ge("borderColor"),i=ge("borderRadius"),s=ge("borderSpacing"),a=ge("borderWidth"),l=ge("contrast"),u=ge("grayscale"),c=ge("hueRotate"),d=ge("invert"),m=ge("gap"),h=ge("gradientColorStops"),x=ge("gradientColorStopPositions"),f=ge("inset"),y=ge("margin"),g=ge("opacity"),p=ge("padding"),v=ge("saturate"),b=ge("scale"),E=ge("sepia"),P=ge("skew"),C=ge("space"),k=ge("translate"),N=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",te,t],_=()=>[te,t],H=()=>["",cn,Mn],A=()=>["auto",fo,te],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",te],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[fo,te];return{cacheSize:500,separator:":",theme:{colors:[Zo],spacing:[cn,Mn],blur:["none","",An,te],brightness:Q(),borderColor:[e],borderRadius:["n
80one","","full",An,te],borderSpacing:_(),borderWidth:H(),contrast:Q(),grayscale:R(),hueRotate:Q(),invert:R(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[yS,Mn],inset:j(),margin:j(),opacity:Q(),padding:_(),saturate:Q(),scale:Q(),sepia:R(),skew:Q(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",te]}],container:["container"],columns:[{columns:[An]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...V(),te]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",qo,te]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",te]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",qo,te]}],"grid-cols":[{"grid-cols":[Zo]}],"col-start-end":[{col:["auto",{span:["full",qo,te]},te]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Zo]}],"row-start-end":[{row:["auto",{span:[qo,te]},te]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",te]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",te,t]}],"min-w":[{"min-w":[te,t,"min","max","fit"]}],"max-w":[{"max-w":[te,t,"none","full","min","max","fit","prose",{screen:[An]},An]}],h:[{h:[te,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[te,t,"auto","min","max","fit"]}],"font-size":[{text:["base",An,Mn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Xl]}],"font-family":[{font:[Zo]}],"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:["tighter","tight","normal","wide","wider","widest",te]}],"line-clamp":[{"line-clamp":["none",fo,Xl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,te]}],"list-image":[{"list-image":["none",te]}],"list-style-type":[{list:["none","disc","decimal",te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,Mn]}],"underline-offset":[{"underline-offset":["auto",cn,te]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),SS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",xS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ES]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}
vendor: 5,180 bytes, line 80
80],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[cn,te]}],"outline-w":[{outline:[cn,Mn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[cn,Mn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",An,CS]}],"shadow-color":[{shadow:[Zo]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...U(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",An,te]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",te]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",te]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[qo,te]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",te]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",te]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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"]}
vendor: 4,488 bytes, line 80
80],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[cn,Mn,Xl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},RS=cS(NS);function De(...e){return RS(cv(e))}const OS=H1,yv=w.forwardRef(({className:e,...t},n)=>S.jsx(rv,{ref:n,className:De("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]",e),...t}));yv.displayName=rv.displayName;const MS=Td("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"}}),wv=w.forwardRef(({className:e,variant:t,...n},r)=>S.jsx(ov,{ref:r,className:De(MS({variant:t}),e),...n}));wv.displayName=ov.displayName;const AS=w.forwardRef(({className:e,...t},n)=>S.jsx(av,{ref:n,className:De("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));
80AS.displayName=av.displayName;const xv=w.forwardRef(({className:e,...t},n)=>S.jsx(lv,{ref:n,className:De("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:S.jsx(q1,{className:"h-4 w-4"})}));xv.displayName=lv.displayName;const Sv=w.forwardRef(({className:e,...t},n)=>S.jsx(iv,{ref:n,className:De("text-sm font-semibold",e),...t}));Sv.displayName=iv.displayName;const bv=w.forwardRef(({className:e,...t},n)=>S.jsx(sv,{ref:n,className:De("text-sm opacity-90",e),...t}));bv.displayName=sv.displayName;function _S(){const{toasts:e}=Sd();return S.jsxs(OS,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return S.jsxs(wv,{...i,children:[S.jsxs("div",{className:"grid gap-1",children:[n&&S.jsx(Sv,{children:n}),r&&S.jsx(bv,{children:r})]}),o,S.jsx(xv,{})]},t)}),S.jsx(yv,{})]})}var gp=["light","dark"],IS="(prefers-color-scheme: dark)",DS=w.createContext(void 0),LS={setTheme:e=>{},themes:[]},jS=()=>{var e;return(e=w.useContext(DS))!=null?e:LS};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?gp.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(x,f=!1,y=!0)=>{let g=s?s[x]:x,p=f?x+"|| ''":`'${g}'`,v="";return o&&y&&!f&&gp.includes(x)&&(v+=`d.style.colorScheme = '${x}';`),n==="class"?f||g?v+=`c.add(${p})`:v+="null":g&&(v+=`d[s](n,${p})`),v},h=e?`!function(){${c}${m(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${IS}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${m(s?"x[e]":"e",!0)}}${u?"":"else{"+m(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${m(s?"x[e]":"e",!0)}}else{${m(i,!1,!1)};}${d}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var FS=e=>{switch(e){case"success":return BS;case"info":return WS;case"warning":return US;case"error":return VS;default:return null}},zS=Array(12).fill(0),$S=({visible:e,className:t})=>F.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},F.createElement("div",{className:"sonner-spinner"},zS.map((n,r)=>F.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),BS=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),US=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),WS=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),VS=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),HS=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},F.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),F.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),YS=()=>{let[e,t]=F.useState(document.hidden);return F.useEffect(()=>{let n=()=>{t(document.hidden)};
80return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},sc=1,QS=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:sc++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
80this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async l=>{if(i=["resolve",l],F.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(GS(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||sc++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},tt=new QS,KS=(e,t)=>{let n=(t==null?void 0:t.id)||sc++;return tt.addToast({title:e,...t,id:n}),n},GS=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",XS=KS,qS=()=>tt.toasts,ZS=()=>tt.getActiveToasts();Object.assign(XS,{success:tt.success,info:tt.info,warning:tt.warning,error:tt.error,custom:tt.custom,message:tt.message,promise:tt.promise,dismiss:tt.dismiss,loading:tt.loading},{getHistory:qS,getToasts:ZS});function JS(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}JS(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
80left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
80:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
80--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
81`);function Ns(e){return e.label!==void 0}var eb=3,tb="32px",nb="16px",vp=4e3,rb=356,ob=14,ib=20,sb=200;function _t(...e){return e.filter(Boolean).join(" ")}function ab(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var lb=e=>{var t,n,r,o,i,s,a,l,u,c,d;let{invert:m,toast:h,unstyled:x,interacting:f,setHeights:y,visibleToasts:g,heights:p,index:v,toasts:b,expanded:E,removeToast:P,defaultRichColors:C,closeButton:k,style:N,cancelButtonStyle:O,actionButtonStyle:j,className:_="",descriptionClassName:H="",duration:A,position:V,gap:$,loadingIcon:U,expandByDefault:T,classNames:R,icons:z,closeButtonAriaLabel:Q="Close toast",pauseWhenPageIsHidden:B}=e,[G,K]=F.useState(null),[ie,ue]=F.useState(null),[L,X]=F.useState(!1),[re,q]=F.useState(!1),[Y,D
vendor: 4,312 bytes, line 81
81]=F.useState(!1),[J,se]=F.useState(!1),[xe,Oe]=F.useState(!1),[Le,lt]=F.useState(0),[Qe,Kt]=F.useState(0),Pt=F.useRef(h.duration||A||vp),zr=F.useRef(null),kt=F.useRef(null),rs=v===0,os=v+1<=g,et=h.type,un=h.dismissible!==!1,gl=h.className||"",$o=h.descriptionClassName||"",Tt=F.useMemo(()=>p.findIndex(Z=>Z.toastId===h.id)||0,[p,h.id]),Bo=F.useMemo(()=>{var Z;return(Z=h.closeButton)!=null?Z:k},[h.closeButton,k]),$r=F.useMemo(()=>h.duration||A||vp,[h.duration,A]),Pn=F.useRef(0),kn=F.useRef(0),is=F.useRef(0),Tn=F.useRef(null),[vl,yl]=V.split("-"),Uo=F.useMemo(()=>p.reduce((Z,ce,he)=>he>=Tt?Z:Z+ce.height,0),[p,Tt]),ss=YS(),as=h.invert||m,Br=et==="loading";kn.current=F.useMemo(()=>Tt*$+Uo,[Tt,Uo]),F.useEffect(()=>{Pt.current=$r},[$r]),F.useEffect(()=>{X(!0)},[]),F.useEffect(()=>{let Z=kt.current;if(Z){let ce=Z.getBoundingClientRect().height;return Kt(ce),y(he=>[{toastId:h.id,height:ce,position:h.position},...he]),()=>y(he=>he.filter(Rt=>Rt.toastId!==h.id))}},[y,h.id]),F.useLayoutEffect(()=>{if(!L)return;let Z=kt.current,ce=Z.style.height;Z.style.height="auto";let he=Z.getBoundingClientRect().height;Z.style.height=ce,Kt(he),y(Rt=>Rt.find(Ot=>Ot.toastId===h.id)?Rt.map(Ot=>Ot.toastId===h.id?{...Ot,height:he}:Ot):[{toastId:h.id,height:he,position:h.position},...Rt])},[L,h.title,h.description,y,h.id]);let Nt=F.useCallback(()=>{q(!0),lt(kn.current),y(Z=>Z.filter(ce=>ce.toastId!==h.id)),setTimeout(()=>{P(h)},sb)},[h,P,y,kn]);F.useEffect(()=>{if(h.promise&&et==="loading"||h.duration===1/0||h.type==="loading")return;let Z;return E||f||B&&ss?(()=>{if(is.current<Pn.current){let ce=new Date().getTime()-Pn.current;Pt.current=Pt.current-ce}is.current=new Date().getTime()})():Pt.current!==1/0&&(Pn.current=new Date().getTime(),Z=setTimeout(()=>{var ce;(ce=h.onAutoClose)==null||ce.call(h,h),Nt()},Pt.current)),()=>clearTimeout(Z)},[E,f,h,et,B,ss,Nt]),F.useEffect(()=>{h.delete&&Nt()},[Nt,h.delete]);function wl(){var Z,ce,he;return z!=null&&z.loading?F.createElement("div",{className:_t(R==null?void 0:R.loader,(Z=h==null?void 0:h.classNames)==null?void 0:Z.loader,"sonner-loader"),"data-visible":et==="loading"},z.loading):U?F.createElement("div",{className:_t(R==null?void 0:R.loader,(ce=h==null?void 0:h.classNames)==null?void 0:ce.loader,"sonner-loader"),"data-visible":et==="loading"},U):F.createElement($S,{className:_t(R==null?void 0:R.loader,(he=h==null?void 0:h.classNames)==null?void 0:he.loader),visible:et==="loading"})}return F.createElement("li",{tabIndex:0,ref:kt,className:_t(_,gl,R==null?void 0:R.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[et],(n=h==null?void 0:h.classNames)==null?void 0:n[et]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:C,"data-styled":!(h.jsx||h.unstyled||x),"data-mounted":L,"data-promise":!!h.promise,"data-swiped":xe,"data-removed":re,"data-visible":os,"data-y-position":vl,"data-x-position":yl,"data-index":v,"data-front":rs,"data-swiping":Y,"data-dismissible":un,"data-type":et,"data-invert":as,"data-swipe-out":J,"data-swipe-direction":ie,"data-expanded":!!(E||T&&L),style:{"--index":v,"--toasts-before":v,"--z-index":b.length-v,"--offset":`${re?Le:kn.current}px`,"--initial-height":T?"auto":`${Qe}px`,...N,...h.style},onDragEnd:()=>{D(!1),K(null),Tn.current=null},onPointerDown:Z=>{Br||!un||(zr.current=new Date,lt(kn.current),Z.target.setPointerCapture(Z.pointerId),Z.target.tagName!=="BUTTON"&&(D(!0),Tn.current={x:Z.clientX,y:Z.clientY}))},onPointerUp:()=>{var Z,ce,he,Rt;if(J||!un)return;Tn.current=null;let Ot=Number(((Z=kt.current)==null?void 0:Z.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Nn=Number(((ce=kt.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),fr=new Date().getTime()-((he=zr.current)==null?void 0:he.getTime()),Mt=G==="x"?Ot:Nn,Rn=Math.abs(Mt)/fr;if(Math.abs(Mt)>=ib||Rn>.11){lt(kn.current),(Rt=h.onDismiss)==null||Rt.call(h,h),ue(G==="x"?Ot>0?"right":"left":Nn>0?"down":"up"),Nt(),se(!0),Oe(!1);return}D(!1),K(null)},onPointerMove:Z=>{var ce,he,Rt,Ot;if(!Tn.current||!un||((ce=window.getSelection())==null?void 0:ce.toString().length)>0)return;let Nn=Z.clientY-Tn.current.y,fr=Z.clientX-Tn.current.x,Mt=(he=e.swipeDirections)!=null?he:ab(V);!G&&(Math.abs(fr)>1||Math.abs(Nn)>1)&&K(Math.abs(fr)>
81Math.abs(Nn)?"x":"y");let Rn={x:0,y:0};G==="y"?(Mt.includes("top")||Mt.includes("bottom"))&&(Mt.includes("top")&&Nn<0||Mt.includes("bottom")&&Nn>0)&&(Rn.y=Nn):G==="x"&&(Mt.includes("left")||Mt.includes("right"))&&(Mt.includes("left")&&fr<0||Mt.includes("right")&&fr>0)&&(Rn.x=fr),(Math.abs(Rn.x)>0||Math.abs(Rn.y)>0)&&Oe(!0),(Rt=kt.current)==null||Rt.style.setProperty("--swipe-amount-x",`${Rn.x}px`),(Ot=kt.current)==null||Ot.style.setProperty("--swipe-amount-y",`${Rn.y}px`)}},Bo&&!h.jsx?F.createElement("button",{"aria-label":Q,"data-disabled":Br,"data-close-button":!0,onClick:Br||!un?()=>{}:()=>{var Z;Nt(),(Z=h.onDismiss)==null||Z.call(h,h)},className:_t(R==null?void 0:R.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(i=z==null?void 0:z.close)!=null?i:HS):null,h.jsx||w.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:F.createElement(F.Fragment,null,et||h.icon||h.promise?F.createElement("div",{"data-icon":"",className:_t(R==null?void 0:R.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||wl():null,h.type!=="loading"?h.icon||(z==null?void 0:z[et])||FS(et):null):null,F.createElement("div",{"data-content":"",className:_t(R==null?void 0:R.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},F.createElement("div",{"data-title":"",className:_t(R==null?void 0:R.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?F.createElement("div",{"data-description":"",className:_t(H,$o,R==null?void 0:R.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),w.isValidElement(h.cancel)?h.cancel:h.cancel&&Ns(h.cancel)?F.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||O,onClick:Z=>{var ce,he;Ns(h.cancel)&&un&&((he=(ce=h.cancel).onClick)==null||he.call(ce,Z),Nt())},className:_t(R==null?void 0:R.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,w.isValidElement(h.action)?h.action:h.action&&Ns(h.action)?F.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||j,onClick:Z=>{var ce,he;Ns(h.action)&&((he=(ce=h.action).onClick)==null||he.call(ce,Z),!Z.defaultPrevented&&Nt())},className:_t(R==null?void 0:R.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function yp(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function ub(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?nb:tb;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var cb=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:m,style:h,visibleToasts:x=eb,toastOptions:f,dir:y=yp(),gap:g=ob,loadingIcon:p,icons:v,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:E}=e,[P,C]=F.useState([]),k=F.useMemo(()=>Array.from(new Set([r].concat(P.filter(B=>B.position).map(B=>B.position)))),[P,r]),[N,O]=F.useState([]),[j,_]=F.useState(!1),[H,A]=F.useState(!1),[V,$]=F.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),U=F.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=F.useRef(null),z=F.useRef(!1),Q=F.useCallback(B=>{C(G=>{var K;return(K=G.find(ie=>ie.id===B.id))!=null&&K.delete||tt.dismiss(B.id),G.filter(({id:ie})=>ie!==B.id)})},[]);return F.useEffect(()=>tt.subscribe(B=>{if(B.dismiss){C(G=>G.map(K=>K.id===B.id?{...K,delete:!0}:K));return}setTimeout(()=>{Ig.flushSync(()=>{C(G=>{let K=G.findIndex(ie=>ie.id===B.id);return K!==-1?[...G.slice(0,K),{...G[K],...B},...G.slice(K+1)]:[B,...G]})})})}),[]),F.useEffect(()=>{if(c!=="system"){$(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:G})=>{$(G?"dark":"light")})}catch{B.addListener(({matches:K})=>{try{$(K?"dark":"light")}catch(ie){console.error(ie)}})}},[c]),F.useEffect(()=>{P.length<=1&&_(!1)},[P]),F.useEffect(()=>{let B=G=>{var K,ie;o.every(ue=>G[ue]||G.code===ue)&&(_(!0),(K=U.current)==null||K.focus()),G.code==="Escape"&&(document.activeElement===U.current||(ie=U.current)!=null&&ie.contains(document.activeElement))&&_(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[o]),F.useEffect(()=>{if(U.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,z.current=!1)}},[U.current]),F.createElement("section",{ref:t,"aria-label":`${b} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((B,G)=>{var K;let[ie,ue]=B.split("-");return P.length?F.createElement("ol",{key:B,dir:y==="auto"?yp():y,tabIndex:-1,ref:U,className:a,"data-sonner-toaster":!0,"data-theme":V,"data-y-position":ie,"data-lifted":j&&P.length>1&&!i,"data-x-position":ue,style:{"--front-toast-height":`${((K=N[0])==null?void 0:K.height)||0}px`,"--width":`${rb}px`,"--gap":`${g}px`,...h,...ub(l,u)},onBlur:L=>{z.current&&!L.currentTarget.contains(L.relatedTarget)&&(z.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:L=>{L.target instanceof HTMLElement&&L.target.dataset.dismissible==="false"||z.current||(z.current=!0,R.current=L.relatedTarget)},onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>{H||_(!1)},onDragEnd:()=>_(!1),onPointerDown:L=>{L.target instanceof HTMLElement&&L.target.dataset.dismissible==="false"||A(!0)},onPointerUp:()=>A(!1)},P.filter(L=>!L.position&&G===0||L.position===B).map((L,X)=>{var re,q;return F.createElement(lb,{key:L.id,icons:v,index:X,toast:L,defaultRichColors:d,duration:(re=f==null?void 0:f.duration)!=null?re:m,className:f==null?void 0:f.className,descriptionClassName:f==null?void 0:f.descriptionClassName,invert:n,visibleToasts:x,closeButton:(q=f==null?void 0:f.closeButton)!=null?q:s,interacting:H,position:B,style:f==null?void 0:f.style,unstyled:f==null?void 0:f.unstyled,classNames:f==null?void 0:f.classNames,cancelButtonStyle:f==null?void 0:f.cancelButtonStyle,actionButtonStyle:f==null?void 0:f.actionButtonStyle,removeToast:Q,toasts:P.filter(Y=>Y.position==L.position),heights:N.filter(Y=>Y.position==L.position),setHeights:O,expandByDefault:i,gap:g,loadingIcon:p,expanded:j,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const db=({...e})=>{const{theme:t="system"}=jS();return S.jsx(cb,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var fb=Oc[" useId ".trim().toString()]||(()=>{}),pb=0;function Rd(e){const[t,n]=w.useState(fb());return $e(()=>{n(r=>r??String(pb++))},[e]),t?`radix-${t}`:""}const hb=["top","right","bottom","left"],or=Math.min,ct=Math.max,Ea=Math.round,Rs=Math.floor,sn=e=>({x:e,y:e}
vendor: 10,448 bytes, line 81
81),mb={left:"right",right:"left",bottom:"top",top:"bottom"},gb={start:"end",end:"start"};function ac(e,t,n){return ct(e,or(t,n))}function bn(e,t){return typeof e=="function"?e(t):e}function En(e){return e.split("-")[0]}function jo(e){return e.split("-")[1]}function Od(e){return e==="x"?"y":"x"}function Md(e){return e==="y"?"height":"width"}const vb=new Set(["top","bottom"]);function nn(e){return vb.has(En(e))?"y":"x"}function Ad(e){return Od(nn(e))}function yb(e,t,n){n===void 0&&(n=!1);const r=jo(e),o=Ad(e),i=Md(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ca(s)),[s,Ca(s)]}function wb(e){const t=Ca(e);return[lc(e),t,lc(t)]}function lc(e){return e.replace(/start|end/g,t=>gb[t])}const wp=["left","right"],xp=["right","left"],xb=["top","bottom"],Sb=["bottom","top"];function bb(e,t,n){switch(e){case"top":case"bottom":return n?t?xp:wp:t?wp:xp;case"left":case"right":return t?xb:Sb;default:return[]}}function Eb(e,t,n,r){const o=jo(e);let i=bb(En(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(lc)))),i}function Ca(e){return e.replace(/left|right|bottom|top/g,t=>mb[t])}function Cb(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ev(e){return typeof e!="number"?Cb(e):{top:e,right:e,bottom:e,left:e}}function Pa(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Sp(e,t,n){let{reference:r,floating:o}=e;const i=nn(t),s=Ad(t),a=Md(s),l=En(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-o.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(jo(t)){case"start":h[s]-=m*(n&&u?-1:1);break;case"end":h[s]+=m*(n&&u?-1:1);break}return h}const Pb=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=Sp(u,r,l),m=r,h={},x=0;for(let f=0;f<a.length;f++){const{name:y,fn:g}=a[f],{x:p,y:v,data:b,reset:E}=await g({x:c,y:d,initialPlacement:r,placement:m,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=p??c,d=v??d,h={...h,[y]:{...h[y],...b}},E&&x<=50&&(x++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:c,y:d}=Sp(u,m,l)),f=-1)}return{x:c,y:d,placement:m,strategy:o,middlewareData:h}};async function ji(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:m=!1,padding:h=0}=bn(t,e),x=Ev(h),y=a[m?d==="floating"?"reference":"floating":d],g=Pa(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),p=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),b=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Pa(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:v,strategy:l}):p);return{top:(g.top-E.top+x.top)/b.y,bottom:(E.bottom-g.bottom+x.bottom)/b.y,left:(g.left-E.left+x.left)/b.x,right:(E.right-g.right+x.right)/b.x}}const kb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=bn(e,t)||{};if(u==null)return{};const d=Ev(c),m={x:n,y:r},h=Ad(o),x=Md(h),f=await s.getDimensions(u),y=h==="y",g=y?"top":"left",p=y?"bottom":"right",v=y?"clientHeight":"clientWidth",b=i.reference[x]+i.reference[h]-m[h]-i.floating[x],E=m[h]-i.reference[h],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let C=P?P[v]:0;(!C||!await(s.isElement==null?void 0:s.isElement(P)))&&(C=a.floating[v]||i.floating[x]);const k=b/2-E/2,N=C/2-f[x]/2-1,O=or(d[g],N),j=or(d[p],N),_=O,H=C-f[x]-j,A=C/2-f[x]/2+k,V=ac(_,A,H),$=!l.arrow&&jo(o)!=null&&A!==V&&i.reference[x]/2-(A<_?O:j)-f[x]/2<0,U=$?A<_?A-_:A-H:0;return{[h]:m[h]+U,data:{[h]:V,centerOffset:A-V-U,...$&&{alignmentOffset:U}},reset:$}}}),Tb=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:f=!0,...y}=bn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=En(o),p=nn(a),v=En(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=m||(v||!f?[Ca(a)]:wb(a)),P=x!=="none";!m&&P&&E.push(...Eb(a,f,x,b));const C=[a,...E],k=await ji(t,y),N=[];let O=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&N.push(k[g]),d){const A=yb(o,s,b);N.push(k[A[0]],k[A[1]])}if(O=[...O,{placement:o,overflows:N}],!N.every(A=>A<=0)){var j,_;const A=(((j=i.flip)==null?void 0:j.index)||0)+1,V=C[A];if(V&&(!(d==="alignment"?p!==nn(V):!1)||O.every(T=>T.overflows[0]>0&&nn(T.placement)===p)))return{data:{index:A,overflows:O},reset:{placement:V}};let $=(_=O.filter(U=>U.overflows[0]<=0).sort((U,T)=>U.overflows[1]-T.overflows[1])[0])==null?void 0:_.placement;if(!$)switch(h){case"bestFit":{var H;const U=(H=O.filter(T=>{if(P){const R=nn(T.placement);return R===p||R==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,z)=>R+z,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:H[0];U&&($=U);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function bp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ep(e){return hb.some(t=>e[t]>=0)}const Nb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=bn(e,t);switch(r){case"referenceHidden":{const i=await ji(t,{...o,elementContext:"reference"}),s=bp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ep(s)}}}case"escaped":{const i=await ji(t,{...o,altBoundary:!0}),s=bp(i,n.floating);return{data:{escapedOffsets:s,escaped:Ep(s)}}}default:return{}}}}},Cv=new Set(["left","top"]);async function Rb(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=En(n),a=jo(n),l=nn(n)==="y",u=Cv.has(s)?-1:1,c=i&&l?-1:1,d=bn(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:x}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof x=="number"&&(h=a==="end"?x*-1:x),l?{x:h*c,y:m*u}:{x:m*u,y:h*c}}const Ob=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await Rb(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Mb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:g,y:p}=y;return{x:g,y:p}}},...l}=bn(e,t),u={x:n,y:r},c=await ji(t,l),d=nn(En(o)),m=Od(d);let h=u[m],x=u[d];if(i){const y=m==="y"?"top":"left",g=m==="y"?"bottom":"right",p=h+c[y],v=h-c[g];h=ac(p,h,v)}if(s){const y=d==="y"?"top":"left",g=d==="y"?"bottom":"right",p=x+c[y],v=x-c[g];x=ac(p,x,v)}const f=a.fn({...t,[m]:h,[d]:x});return{...f,data:{x:f.x-n,y:f.y-r,enabled:{[m]:i,[d]:s}}}}}},Ab=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=bn(e,t),c={x:n,y:r},d=nn(o),m=Od(d);let h=c[m],x=c[d];const f=bn(a,t),y=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(l){const v=m==="y"?"height":"width",b=i.reference[m]-i.floating[v]+y.mainAxis,E=i.reference[m]+i.reference[v]-y.mainAxis;h<b?h=b:h>E&&(h=E)}if(u){var g,p;const v=m==="y"?"width":"height",b=Cv.has(En(o)),E=i.reference[d]-i.floating[v]+(b&&((g=s.offset)==null?void 0:g[d])||0)+(b?0:y.crossAxis),P=i.reference[d]+i.reference[v]+(b?0:((p=s.offset)==null?void 0:p[d])||0)-(b?y.crossAxis:0);x<E?x=E:x>P&&(x=P)}return{[m]:h,[d]:x}}}},_b=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=bn(e,t),c=await ji(t,u),d=En(o),m=jo(o),h=nn(o)==="y",{width:x,height:f}=i.floating;let y,g;d==="top"||d==="bottom"?(y=d,g=m===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(g=d,y=m==="end"?"top":"bottom");const p=f-c.top-c.bottom,v=x-c.left-c.right,b=or(f-c[y],p),E=or(x-c[g],v),P=!t.middlewareData.shift;let C=b,k=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=p),P&&!m){const O=ct(c.left,0),j=ct(c.right,0),_=ct(c.top,0),H=ct(c.bottom,0);h?k=x-2*(O!==0||j!==0?O+j:ct(c.left,c.right)):C=f-2*(_!==0||H!==0?_+H:ct(c.top,c.bottom))}await l({...t,availableWidth:k,availableHeight:C});const N=await s.getDimensions(a.floating);return x!==N.width||f!==N.height?{reset:{rects:!0}}:{}}}};function Ja(){return typeof window<"u"}function Fo(e){return Pv(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ln(e){var t;return(t=(Pv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Pv(e){return Ja()?e instanceof Node||e instanceof pt(e).Node:!1}function Yt(e){return Ja()?e instanceof Element||e instanceof pt(e).Element:!1}function an(e){return Ja()?e instanceof HTMLElement||e instanceof pt(e).HTMLElement:!1}function Cp(e){return!Ja()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}const Ib=new Set(["inline","contents"]);function es(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ib.has(o)}const Db=new Set(["table","td","th"]);
vendor: 5,335 bytes, line 81
81function Lb(e){return Db.has(Fo(e))}const jb=[":popover-open",":modal"];function el(e){return jb.some(t=>{try{return e.matches(t)}catch{return!1}})}const Fb=["transform","translate","scale","rotate","perspective"],zb=["transform","translate","scale","rotate","perspective","filter"],$b=["paint","layout","strict","content"];function _d(e){const t=Id(),n=Yt(e)?Qt(e):e;return Fb.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||zb.some(r=>(n.willChange||"").includes(r))||$b.some(r=>(n.contain||"").includes(r))}function Bb(e){let t=ir(e);for(;an(t)&&!Mo(t);){if(_d(t))return t;if(el(t))return null;t=ir(t)}return null}function Id(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ub=new Set(["html","body","#document"]);function Mo(e){return Ub.has(Fo(e))}function Qt(e){return pt(e).getComputedStyle(e)}function tl(e){return Yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Fo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cp(e)&&e.host||ln(e);return Cp(t)?t.host:t}function kv(e){const t=ir(e);return Mo(t)?e.ownerDocument?e.ownerDocument.body:e.body:an(t)&&es(t)?t:kv(t)}function Fi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=kv(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=pt(o);if(i){const a=uc(s);return t.concat(s,s.visualViewport||[],es(o)?o:[],a&&n?Fi(a):[])}return t.concat(o,Fi(o,[],n))}function uc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Tv(e){const t=Qt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=an(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Ea(n)!==i||Ea(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Dd(e){return Yt(e)?e:e.contextElement}function po(e){const t=Dd(e);if(!an(t))return sn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Tv(t);let s=(i?Ea(n.width):n.width)/r,a=(i?Ea(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Wb=sn(0);function Nv(e){const t=pt(e);return!Id()||!t.visualViewport?Wb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Vb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==pt(e)?!1:t}function Ar(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Dd(e);let s=sn(1);t&&(r?Yt(r)&&(s=po(r)):s=po(e));const a=Vb(i,n,r)?Nv(i):sn(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){const m=pt(i),h=r&&Yt(r)?pt(r):r;let x=m,f=uc(x);for(;f&&r&&h!==x;){const y=po(f),g=f.getBoundingClientRect(),p=Qt(f),v=g.left+(f.clientLeft+parseFloat(p.paddingLeft))*y.x,b=g.top+(f.clientTop+parseFloat(p.paddingTop))*y.y;l*=y.x,u*=y.y,c*=y.x,d*=y.y,l+=v,u+=b,x=pt(f),f=uc(x)}}return Pa({width:c,height:d,x:l,y:u})}function Ld(e,t){const n=tl(e).scrollLeft;return t?t.left+n:Ar(ln(e)).left+n}function Rv(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ld(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function Hb(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=ln(r),a=t?el(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=sn(1);const c=sn(0),d=an(r);if((d||!d&&!i)&&((Fo(r)!=="body"||es(s))&&(l=tl(r)),an(r))){const h=Ar(r);u=po(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const m=s&&!d&&!i?Rv(s,l,!0):sn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+m.x,y:n.y*u.y-l.scrollTop*u.y+c.y+m.y}}function Yb(e){return Array.from(e.getClientRects())}function Qb(e){const t=ln(e),n=tl(e),r=e.ownerDocument.body,o=ct(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ct(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ld(e);const a=-n.scrollTop;return Qt(r).direction==="rtl"&&(s+=ct(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function Kb(e,t){const n=pt(e),r=ln(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=Id();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const Gb=new Set(["absolute","fixed"]);function Xb(e,t){const n=Ar(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=an(e)?po(e):sn(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function Pp(e,t,n){let r;if(t==="viewport")r=Kb(e,n);else if(t==="document")r=Qb(ln(e));else if(Yt(t))r=Xb(t,n);else{const o=Nv(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Pa(r)}function Ov(e,t){const n=ir(e);return n===t||!Yt(n)||Mo(n)?!1:Qt(n).position==="fixed"||Ov(n,t)}function qb(e,t){const n=t.get(e);if(n)return n;let r=Fi(e,[],!1).filter(a=>Yt(a)&&Fo(a)!=="body"),o=null;const i=Qt(e).position==="fixed";let s=i?ir(e):e;for(;Yt(s)&&!Mo(s);){const a=Qt(s),l=_d(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&Gb.has(o.position)||es(s)&&!l&&Ov(e,s))?r=r.filter(c=>c!==s):o=a,s=ir(s)}return t.set(e,r),r}function Zb(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?el(t)?[]:qb(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=Pp(t,c,o);
vendor: 10,030 bytes, line 81
81return u.top=ct(d.top,u.top),u.right=or(d.right,u.right),u.bottom=or(d.bottom,u.bottom),u.left=ct(d.left,u.left),u},Pp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Jb(e){const{width:t,height:n}=Tv(e);return{width:t,height:n}}function eE(e,t,n){const r=an(t),o=ln(t),i=n==="fixed",s=Ar(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=sn(0);function u(){l.x=Ld(o)}if(r||!r&&!i)if((Fo(t)!=="body"||es(o))&&(a=tl(t)),r){const h=Ar(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?Rv(o,a):sn(0),d=s.left+a.scrollLeft-l.x-c.x,m=s.top+a.scrollTop-l.y-c.y;return{x:d,y:m,width:s.width,height:s.height}}function ql(e){return Qt(e).position==="static"}function kp(e,t){if(!an(e)||Qt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ln(e)===n&&(n=n.ownerDocument.body),n}function Mv(e,t){const n=pt(e);if(el(e))return n;if(!an(e)){let o=ir(e);for(;o&&!Mo(o);){if(Yt(o)&&!ql(o))return o;o=ir(o)}return n}let r=kp(e,t);for(;r&&Lb(r)&&ql(r);)r=kp(r,t);return r&&Mo(r)&&ql(r)&&!_d(r)?n:r||Bb(e)||n}const tE=async function(e){const t=this.getOffsetParent||Mv,n=this.getDimensions,r=await n(e.floating);return{reference:eE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function nE(e){return Qt(e).direction==="rtl"}const rE={convertOffsetParentRelativeRectToViewportRelativeRect:Hb,getDocumentElement:ln,getClippingRect:Zb,getOffsetParent:Mv,getElementRects:tE,getClientRects:Yb,getDimensions:Jb,getScale:po,isElement:Yt,isRTL:nE};function Av(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function oE(e,t){let n=null,r;const o=ln(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:m,height:h}=u;if(a||t(),!m||!h)return;const x=Rs(d),f=Rs(o.clientWidth-(c+m)),y=Rs(o.clientHeight-(d+h)),g=Rs(c),v={rootMargin:-x+"px "+-f+"px "+-y+"px "+-g+"px",threshold:ct(0,or(1,l))||1};let b=!0;function E(P){const C=P[0].intersectionRatio;if(C!==l){if(!b)return s();C?s(!1,C):r=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!Av(u,e.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(E,{...v,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(e)}return s(!0),i}function iE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Dd(e),c=o||i?[...u?Fi(u):[],...Fi(t)]:[];c.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=u&&a?oE(u,n):null;let m=-1,h=null;s&&(h=new ResizeObserver(g=>{let[p]=g;p&&p.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let x,f=l?Ar(e):null;l&&y();function y(){const g=Ar(e);f&&!Av(f,g)&&n(),f=g,x=requestAnimationFrame(y)}return n(),()=>{var g;c.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),d==null||d(),(g=h)==null||g.disconnect(),h=null,l&&cancelAnimationFrame(x)}}const sE=Ob,aE=Mb,lE=Tb,uE=_b,cE=Nb,Tp=kb,dE=Ab,fE=(e,t,n)=>{const r=new Map,o={platform:rE,...n},i={...o.platform,_c:r};return Pb(e,t,{...o,platform:i})};var pE=typeof document<"u",hE=function(){},Gs=pE?w.useLayoutEffect:hE;function ka(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ka(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!ka(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function _v(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Np(e,t){const n=_v(e);return Math.round(t*n)/n}function Zl(e){const t=w.useRef(e);return Gs(()=>{t.current=e}),t}function mE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=w.useState(r);ka(m,r)||h(r);const[x,f]=w.useState(null),[y,g]=w.useState(null),p=w.useCallback(T=>{T!==P.current&&(P.current=T,f(T))},[]),v=w.useCallback(T=>{T!==C.current&&(C.current=T,g(T))},[]),b=i||x,E=s||y,P=w.useRef(null),C=w.useRef(null),k=w.useRef(c),N=l!=null,O=Zl(l),j=Zl(o),_=Zl(u),H=w.useCallback(()=>{if(!P.current||!C.current)return;const T={placement:t,strategy:n,middleware:m};j.current&&(T.platform=j.current),fE(P.current,C.current,T).then(R=>{const z={...R,isPositioned:_.current!==!1};A.current&&!ka(k.current,z)&&(k.current=z,Fr.flushSync(()=>{d(z)}))})},[m,t,n,j,_]);Gs(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,d(T=>({...T,isPositioned:!1})))},[u]);const A=w.useRef(!1);Gs(()=>(A.current=!0,()=>{A.current=!1}),[]),Gs(()=>{if(b&&(P.current=b),E&&(C.current=E),b&&E){if(O.current)return O.current(b,E,H);H()}},[b,E,H,O,N]);const V=w.useMemo(()=>({reference:P,floating:C,setReference:p,setFloating:v}),[p,v]),$=w.useMemo(()=>({reference:b,floating:E}),[b,E]),U=w.useMemo(()=>{const T={position:n,left:0,top:0};if(!$.floating)return T;const R=Np($.floating,c.x),z=Np($.floating,c.y);return a?{...T,transform:"translate("+R+"px, "+z+"px)",..._v($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:z}},[n,a,$.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:H,refs:V,elements:$,floatingStyles:U}),[c,H,V,$,U])}const gE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Tp({element:r.current,padding:o}).fn(n):{}:r?Tp({element:r,padding:o}).fn(n):{}}}},vE=(e,t)=>({...sE(e),options:[e,t]}),yE=(e,t)=>({...aE(e),options:[e,t]}),wE=(e,t)=>({...dE(e),options:[e,t]}),xE=(e,t)=>({...lE(e),options:[e,t]}),SE=(e,t)=>({...uE(e),options:[e,t]}),bE=(e,t)=>({...cE(e),options:[e,t]}),EE=(e,t)=>({...gE(e),options:[e,t]});var CE="Arrow",Iv=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return S.jsx(pe.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});Iv.displayName=CE;var PE=Iv;function kE(e){const[t,n]=w.useState(void 0);return $e(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var jd="Popper",[Dv,nl]=Zi(jd),[TE,Lv]=Dv(jd),jv=e=>{const{__scopePopper:t,children:n}=e,[r,o]=w.useState(null);return S.jsx(TE,{scope:t,anchor:r,onAnchorChange:o,children:n})};jv.displayName=jd;var Fv="PopperAnchor",zv=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Lv(Fv,n),s=w.useRef(null),a=Te(t,s);return w.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:S.jsx(pe.div,{...o,ref:a})});zv.displayName=Fv;var Fd="PopperContent",[NE,RE]=Dv(Fd),$v=w.forwardRef((e,t)=>{var L,X,re,q,Y,D;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:m=!1,updatePositionStrategy:h="optimized",onPlaced:x,...f}=e,y=Lv(Fd,n),[g,p]=w.useState(null),v=Te(t,J=>p(J)),[b,E]=w.useState(null),P=kE(b),C=(P==null?void 0:P.width)??0,k=(P==null?void 0:P.height)??0,N=r+(i!=="center"?"-"+i:""),O=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},j=Array.isArray(u)?u:[u],_=j.length>0,H={padding:O,boundary:j.filter(ME),altBoundary:_},{refs:A,floatingStyles:V,placement:$,isPositioned:U,middlewareData:T}=mE({strategy:"fixed",placement:N,whileElementsMounted:(...J)=>iE(...J,{animationFrame:h==="always"}),elements:{reference:y.anchor},middleware:[vE({mainAxis:o+k,alignmentAxis:s}),l&&yE({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?wE():void 0,...H}),l&&xE({...H}),SE({...H,apply:({elements:J,rects:se,availableWidth:xe,availableHeight:Oe})=>{const{width:Le,height:lt}=se.reference,Qe=J.floating.style;Qe.setProperty("--radix-popper-available-width",`${xe}px`),Qe.setProperty("--radix-popper-available-height",`${Oe}px`),Qe.setProperty("--radix-popper-anchor-width",`${Le}px`),Qe.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),b&&EE({element:b,padding:a}),AE({arrowWidth:C,arrowHeight:k}),m&&bE({strategy:"referenceHidden",...H})]}),[R,z]=Wv($),Q=Ht(x);$e(()=>{U&&(Q==null||Q())},[U,Q]);const B=(L=T.arrow)==null?void 0:L.x,G=(X=T.arrow)==null?void 0:X.y,K=((re=T.arrow)==null?void 0:re.centerOffset)!==0,[ie,ue]=w.useState();return $e(()=>{g&&ue(window.getComputedStyle(g).zIndex)},[g]),S.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:U?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ie,"--radix-popper-transform-origin":[(q=T.transformOrigin)==null?void 0:q.x,(Y=T.transformOrigin)==null?void 0:Y.y].join(" "),...((D=T.hide)==null?void 0:D.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(NE,{scope:n,placedSide:R,onArrowChange:E,arrowX:B,arrowY:G,shouldHideArrow:K,children:S.jsx(pe.div,{"data-side":R,"data-align":z,...f,ref:v,style:{...f.style,animation:U?void 0:"none"}})})})});$v.displayName=Fd;var Bv="PopperArrow",OE={top:"bottom",right:"left",bottom:"top",left:"r
81ight"},Uv=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=RE(Bv,r),s=OE[i.placedSide];return S.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:S.jsx(PE,{...o,ref:n,style:{...o.style,display:"block"}})})});Uv.displayName=Bv;function ME(e){return e!==null}var AE=e=>({name:"transformOrigin",options:e,fn(t){var y,g,p;const{placement:n,rects:r,middlewareData:o}=t,s=((y=o.arrow)==null?void 0:y.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=Wv(n),d={start:"0%",center:"50%",end:"100%"}[c],m=(((g=o.arrow)==null?void 0:g.x)??0)+a/2,h=(((p=o.arrow)==null?void 0:p.y)??0)+l/2;let x="",f="";return u==="bottom"?(x=s?d:`${m}px`,f=`${-l}px`):u==="top"?(x=s?d:`${m}px`,f=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,f=s?d:`${h}px`):u==="left"&&(x=`${r.floating.width+l}px`,f=s?d:`${h}px`),{data:{x,y:f}}}});function Wv(e){const[t,n="center"]=e.split("-");return[t,n]}var _E=jv,Vv=zv,Hv=$v,Yv=Uv,[rl,QN]=Zi("Tooltip",[nl]),zd=nl(),Qv="TooltipProvider",IE=700,Rp="tooltip.open",[DE,Kv]=rl(Qv),Gv=e=>{const{__scopeTooltip:t,delayDuration:n=IE,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=w.useRef(!0),a=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),S.jsx(DE,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};Gv.displayName=Qv;var Xv="Tooltip",[KN,ol]=rl(Xv),cc="TooltipTrigger",LE=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ol(cc,n),i=Kv(cc,n),s=zd(n),a=w.useRef(null),l=Te(t,a,o.onTriggerChange),u=w.useRef(!1),c=w.useRef(!1),d=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),S.jsx(Vv,{asChild:!0,...s,children:S.jsx(pe.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:oe(e.onPointerMove,m=>{m.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:oe(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:oe(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:oe(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:oe(e.onBlur,o.onClose),onClick:oe(e.onClick,o.onClose)})})});LE.displayName=cc;var jE="TooltipPortal",[GN,FE]=rl(jE,{forceMount:void 0}),Ao="TooltipContent",qv=w.forwardRef((e,t)=>{const n=FE(Ao,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=ol(Ao,e.__scopeTooltip);return S.jsx(Ed,{present:r||s.open,children:s.disableHoverableContent?S.jsx(Zv,{side:o,...i,ref:t}):S.jsx(zE,{side:o,...i,ref:t})})}),zE=w.forwardRef((e,t)=>{const n=ol(Ao,e.__scopeTooltip),r=Kv(Ao,e.__scopeTooltip),o=w.useRef(null),i=Te(t,o),[s,a]=w.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,m=w.useCallback(()=>{a(null),d(!1)},[d]),h=w.useCallback((x,f)=>{const y=x.currentTarget,g={x:x.clientX,y:x.clientY},p=VE(g,y.getBoundingClientRect()),v=HE(g,p),b=YE(f.getBoundingClientRect()),E=KE([...v,...b]);a(E),d(!0)},[d]);return w.useEffect(()=>()=>m(),[m]),w.useEffect(()=>{if(l&&c){const x=y=>h(y,c),f=y=>h(y,l);return l.addEventListener("pointerleave",x),c.addEventListener("pointerleave",f),()=>{l.removeEventListener("pointerleave",x),c.removeEventListener("pointerleave",f)}}},[l,c,h,m]),w.useEffect(()=>{if(s){const x=f=>{const y=f.target,g={x:f.clientX,y:f.clientY},p=(l==null?void 0:l.contains(y))||(c==null?void 0:c.contains(y)),v=!QE(g,s);p?m():v&&(m(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,c,s,u,m]),S.jsx(Zv,{...e,ref:i})}),[$E,BE]=rl(Xv,{isInside:!1}),UE=i1("TooltipContent"),Zv=w.forwardRef((e,t)=>
81{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=ol(Ao,n),u=zd(n),{onClose:c}=l;return w.useEffect(()=>(document.addEventListener(Rp,c),()=>document.removeEventListener(Rp,c)),[c]),w.useEffect(()=>{if(l.trigger){const d=m=>{const h=m.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),S.jsx(Ga,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:S.jsxs(Hv,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[S.jsx(UE,{children:r}),S.jsx($E,{scope:n,isInside:!0,children:S.jsx(T1,{id:l.contentId,role:"tooltip",children:o||r})})]})})});qv.displayName=Ao;var Jv="TooltipArrow",WE=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=zd(n);return BE(Jv,n).isInside?null:S.jsx(Yv,{...o,...r,ref:t})});WE.displayName=Jv;function VE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function HE(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function YE(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function QE(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,c=a.y,d=l.x,m=l.y;c>r!=m>r&&n<(d-u)*(r-c)/(m-c)+u&&(o=!o)}return o}function KE(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),GE(t)}function GE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var XE=Gv,ey=qv;const qE=XE,ZE=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>S.jsx(ey,{ref:r,sideOffset:t,className:De("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));ZE.displayName=ey.displayName;var il=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},sl=typeof window>"u"||"Deno"in globalThis;function Lt(){}function JE(e,t){return typeof e=="function"?e(t):e}function eC(e){return typeof e=="number"&&e>=0&&e!==1/0}function tC(e,t){return Math.max(e+(t||0)-Date.now(),0)}function dc(e,t){return typeof e=="function"?e(t):e}function nC(e,t){return typeof e=="function"?e(t):e}function Op(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==$d(s,t.options))return!1}else if(!$i(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Mp(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(zi(t.options.mutationKey)!==zi(i))return!1}else if(!$i(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function $d(e,t){return((t==null?void 0:t.queryKeyHashFn)||zi)(e)}function zi(e){return JSON.stringify(e,(t,n)=>fc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function $i(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>$i(e[n],t[n])):!1}function ty(e,t){if(e===t)return e;const n=Ap(e)&&Ap(t);if(n||fc(e)&&fc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=ty(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function Ap(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function fc(e){if(!_p(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!_p(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function _p(e){return Object.prototype.toString.call(e)==="[object Object]"}function rC(e){return new Promise(t=>{setTimeout(t,e)})}function oC(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ty(e,t):t}function iC(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function sC(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Bd=Symbol();function ny(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Bd?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var wr,$n,go,ph,aC=(ph=class extends il{constructor(){super();le(this,wr);le(this,$n);le(this,go);ee(this,go,t=>{if(!sl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,$n)||this.setEventListener(M(this,go))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,$n))==null||t.call(this),ee(this,$n,void 0))}setEventListener(t){var n;ee(this,go,t),(n=M(this,$n))==null||n.call(this),ee(this,$n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){M(this,wr)!==t&&(ee(this,wr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,529 bytes, line 81
81this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof M(this,wr)=="boolean"?M(this,wr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},wr=new WeakMap,$n=new WeakMap,go=new WeakMap,ph),ry=new aC,vo,Bn,yo,hh,lC=(hh=class extends il{constructor(){super();le(this,vo,!0);le(this,Bn);le(this,yo);ee(this,yo,t=>{if(!sl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){M(this,Bn)||this.setEventListener(M(this,yo))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Bn))==null||t.call(this),ee(this,Bn,void 0))}setEventListener(t){var n;ee(this,yo,t),(n=M(this,Bn))==null||n.call(this),ee(this,Bn,t(this.setOnline.bind(this)))}setOnline(t){M(this,vo)!==t&&(ee(this,vo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return M(this,vo)}},vo=new WeakMap,Bn=new WeakMap,yo=new WeakMap,hh),Ta=new lC;function uC(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function cC(e){return Math.min(1e3*2**e,3e4)}function oy(e){return(e??"online")==="online"?Ta.isOnline():!0}var iy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Jl(e){return e instanceof iy}function sy(e){let t=!1,n=0,r=!1,o;const i=uC(),s=f=>{var y;r||(m(new iy(f)),(y=e.abort)==null||y.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>ry.isFocused()&&(e.networkMode==="always"||Ta.isOnline())&&e.canRun(),c=()=>oy(e.networkMode)&&e.canRun(),d=f=>{var y;r||(r=!0,(y=e.onSuccess)==null||y.call(e,f),o==null||o(),i.resolve(f))},m=f=>{var y;r||(r=!0,(y=e.onError)==null||y.call(e,f),o==null||o(),i.reject(f))},h=()=>new Promise(f=>{var y;o=g=>{(r||u())&&f(g)},(y=e.onPause)==null||y.call(e)}).then(()=>{var f;o=void 0,r||(f=e.onContinue)==null||f.call(e)}),x=()=>{if(r)return;let f;const y=n===0?e.initialPromise:void 0;try{f=y??e.fn()}catch(g){f=Promise.reject(g)}Promise.resolve(f).then(d).catch(g=>{var P;if(r)return;const p=e.retry??(sl?0:3),v=e.retryDelay??cC,b=typeof v=="function"?v(n,g):v,E=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,g);if(t||!E){m(g);return}n++,(P=e.onFail)==null||P.call(e,n,g),rC(b).then(()=>u()?void 0:h()).then(()=>{t?m(g):x()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?x():h().then(x),i)}}var dC=e=>setTimeout(e,0);function fC(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=dC;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Xe=fC(),xr,mh,ay=(mh=class{constructor(){le(this,xr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),eC(this.gcTime)&&ee(this,xr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(sl?1/0:5*60*1e3))}clearGcTimeout(){M(this,xr)&&(clearTimeout(M(this,xr)),ee(this,xr,void 0))}},xr=new WeakMap,mh),wo,Sr,vt,br,Ve,Hi,Er,jt,dn,gh,pC=(gh=class extends ay{constructor(t){super();le(this,jt);le(this,wo);le(this,Sr);le(this,vt);le(this,br);le(this,Ve);le(this,Hi);le(this,Er);ee(this,Er,!1),ee(this,Hi,t.defaultOptions),this.setOptions(t.options),this.observers=[],ee(this,br,t.client),ee(this,vt,M(this,br).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ee(this,wo,mC(this.options)),this.state=t.state??M(this,wo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=M(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...M(this,Hi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,vt).remove(this)}setData(t,n){const r=oC(this.state.data,t,this.options);return Be(this,jt,dn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Be(this,jt,dn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=M(this,Ve))==null?void 0:r.promise;
vendor: 1,669 bytes, line 81
81return(o=M(this,Ve))==null||o.cancel(t),n?n.then(Lt).catch(Lt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,wo))}isActive(){return this.observers.some(t=>nC(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Bd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>dc(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!tC(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),M(this,vt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(M(this,Ve)&&(M(this,Er)?M(this,Ve).cancel({revert:!0}):M(this,Ve).cancelRetry()),this.scheduleGc()),M(this,vt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Be(this,jt,dn).call(this,{type:"invalidate"})}
vendor: 13,738 bytes, line 81
81fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,Ve))return M(this,Ve).continueRetry(),M(this,Ve).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(h=>h.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,o=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(ee(this,Er,!0),r.signal)})},i=()=>{const m=ny(this.options,n),x=(()=>{const f={client:M(this,br),queryKey:this.queryKey,meta:this.meta};return o(f),f})();return ee(this,Er,!1),this.options.persister?this.options.persister(m,x,this):m(x)},a=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,br),state:this.state,fetchFn:i};return o(m),m})();(u=this.options.behavior)==null||u.onFetch(a,this),ee(this,Sr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Be(this,jt,dn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=m=>{var h,x,f,y;Jl(m)&&m.silent||Be(this,jt,dn).call(this,{type:"error",error:m}),Jl(m)||((x=(h=M(this,vt).config).onError)==null||x.call(h,m,this),(y=(f=M(this,vt).config).onSettled)==null||y.call(f,this.state.data,m,this)),this.scheduleGc()};return ee(this,Ve,sy({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var h,x,f,y;if(m===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(g){l(g);return}(x=(h=M(this,vt).config).onSuccess)==null||x.call(h,m,this),(y=(f=M(this,vt).config).onSettled)==null||y.call(f,m,this.state.error,this),this.scheduleGc()},onError:l,onFail:(m,h)=>{Be(this,jt,dn).call(this,{type:"failed",failureCount:m,error:h})},onPause:()=>{Be(this,jt,dn).call(this,{type:"pause"})},onContinue:()=>{Be(this,jt,dn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),M(this,Ve).start()}},wo=new WeakMap,Sr=new WeakMap,vt=new WeakMap,br=new WeakMap,Ve=new WeakMap,Hi=new WeakMap,Er=new WeakMap,jt=new WeakSet,dn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...hC(r.data,this.options),fetchMeta:t.meta??null};case"success":return ee(this,Sr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Jl(o)&&o.revert&&M(this,Sr)?{...M(this,Sr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),M(this,vt).notify({query:this,type:"updated",action:t})})},gh);function hC(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:oy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function mC(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var qt,vh,gC=(vh=class extends il{constructor(t={}){super();le(this,qt);this.config=t,ee(this,qt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??$d(o,n);let s=this.get(i);return s||(s=new pC({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){M(this,qt).has(t.queryHash)||(M(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=M(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&M(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return M(this,qt).get(t)}getAll(){return[...M(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Op(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Op(t,r)):n}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,vh),Zt,Ke,Cr,Jt,In,yh,vC=(yh=class extends ay{constructor(t){super();le(this,Jt);le(this,Zt);le(this,Ke);le(this,Cr);this.mutationId=t.mutationId,ee(this,Ke,t.mutationCache),ee(this,Zt,[]),this.state=t.state||yC(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){M(this,Zt).includes(t)||(M(this,Zt).push(t),this.clearGcTimeout(),M(this,Ke).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ee(this,Zt,M(this,Zt).filter(n=>n!==t)),this.scheduleGc(),M(this,Ke).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){M(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():M(this,Ke).remove(this))}continue(){var t;return((t=M(this,Cr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,c,d,m,h,x,f,y,g,p,v,b,E,P,C,k;const n=()=>{Be(this,Jt,In).call(this,{type:"continue"})};ee(this,Cr,sy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,O)=>{Be(this,Jt,In).call(this,{type:"failed",failureCount:N,error:O})},onPause:()=>{Be(this,Jt,In).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,Ke).canRun(this)}));const r=this.state.status==="pending",o=!M(this,Cr).canStart();try{if(r)n();else{Be(this,Jt,In).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=M(this,Ke).config).onMutate)==null?void 0:s.call(i,t,this));const O=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));O!==this.state.context&&Be(this,Jt,In).call(this,{type:"pending",context:O,variables:t,isPaused:o})}const N=await M(this,Cr).start();return await((c=(u=M(this,Ke).config).onSuccess)==null?void 0:c.call(u,N,t,this.state.context,this)),await((m=(d=this.options).onSuccess)==null?void 0:m.call(d,N,t,this.state.context)),await((x=(h=M(this,Ke).config).onSettled)==null?void 0:x.call(h,N,null,this.state.variables,this.state.context,this)),await((y=(f=this.options).onSettled)==null?void 0:y.call(f,N,null,t,this.state.context)),Be(this,Jt,In).call(this,{type:"success",data:N}),N}catch(N){try{throw await((p=(g=M(this,Ke).config).onError)==null?void 0:p.call(g,N,t,this.state.context,this)),await((b=(v=this.options).onError)==null?void 0:b.call(v,N,t,this.state.context)),await((P=(E=M(this,Ke).config).onSettled)==null?void 0:P.call(E,void 0,N,this.state.variables,this.state.context,this)),await((k=(C=this.options).onSettled)==null?void 0:k.call(C,void 0,N,t,this.state.context)),N}finally{Be(this,Jt,In).call(this,{type:"error",error:N})}}finally{M(this,Ke).runNext(this)}}},Zt=new WeakMap,Ke=new WeakMap,Cr=new WeakMap,Jt=new WeakSet,In=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Xe.batch(()=>{M(this,Zt).forEach(r=>{r.onMutationUpdate(t)}),M(this,Ke).notify({mutation:this,type:"updated",action:t})})},yh);function yC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,Ft,Yi,wh,wC=(wh=class extends il{constructor(t={}){super();le(this,hn);le(this,Ft);le(this,Yi);this.config=t,ee(this,hn,new Set),ee(this,Ft,new Map),ee(this,Yi,0)}build(t,n,r){const o=new vC({mutationCache:this,mutationId:++ls(this,Yi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){M(this,hn).add(t);const n=Os(t);if(typeof n=="string"){const r=M(this,Ft).get(n);r?r.push(t):M(this,Ft).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(M(this,hn).delete(t)){const n=Os(t);if(typeof n=="string"){const r=M(this,Ft).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&M(this,Ft).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Os(t);if(typeof n=="string"){const r=M(this,Ft).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Os(t);if(typeof n=="string"){const o=(r=M(this,Ft).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Xe.batch(()=>{M(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),M(this,hn).clear(),M(this,Ft).clear()})}getAll(){return Array.from(M(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Mp(n,r))}findAll(t={}){return this.getAll().filter(n=>Mp(t,n))}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(Lt))))}},hn=new WeakMap,Ft=new WeakMap,Yi=new WeakMap,wh);function Os(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ip(e){return{onFetch:(t,n)=>{var c,d,m,h,x;const r=t.options,o=(m=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:m.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],s=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let f=!1;const y=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?f=!0:t.signal.addEventListener("abort",()=>{f=!0}),t.signal)})},g=ny(t.options,t.fetchOptions),p=async(v,b,E)=>{if(f)return Promise.reject();if(b==null&&v.pages.length)return Promise.resolve(v);const C=(()=>{const j={client:t.client,queryKey:t.queryKey,pageParam:b,direction:E?"backward":"forward",meta:t.options.meta};return y(j),j})(),k=await g(C),{maxPages:N}=t.options,O=E?sC:iC;return{pages:O(v.pages,k,N),pageParams:O(v.pageParams,b,N)}};if(o&&i.length){const v=o==="backward",b=v?xC:Dp,E={pages:i,pageParams:s},P=b(r,E);a=await p(E,P,v)}else{const v=e??i.length;do{const b=l===0?s[0]??r.initialPageParam:Dp(r,a);if(l>0&&b==null)break;a=await p(a,b),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var f,y;return(y=(f=t.options).persister)==null?void 0:y.call(f,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Dp(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function xC(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Pe,Un,Wn,xo,So,Vn,bo,Eo,xh,SC=(xh=class{constructor(e={}){le(this,Pe);le(this,Un);le(this,Wn);le(this,xo);le(this,So);le(this,Vn);le(this,bo);le(this,Eo);ee(this,Pe,e.queryCache||new gC),ee(this,Un,e.mutationCache||new wC),ee(this,Wn,e.defaultOptions||{}),ee(this,xo,new Map),ee(this,So,new Map),ee(this,Vn,0)}mount(){ls(this,Vn)._++,M(this,Vn)===1&&(ee(this,bo,ry.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,Pe).onFocus())})),ee(this,Eo,Ta.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,Pe).onOnline())})))}unmount(){var e,t;ls(this,Vn)._--,M(this,Vn)===0&&((e=M(this,bo))==null||e.call(this),ee(this,bo,void 0),(t=M(this,Eo))==null||t.call(this),ee(this,Eo,void 0))}isFetching(e){return M(this,Pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return M(this,Un).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,Pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=M(this,Pe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(dc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return M(this,Pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=M(this,Pe).get(r.queryHash),i=o==null?void 0:o.state.data,s=JE(t,i);if(s!==void 0)return M(this,Pe).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Xe.batch(()=>M(this,Pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,Pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=M(this,Pe);Xe.batch(()=>
81{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=M(this,Pe);return Xe.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Xe.batch(()=>M(this,Pe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Lt).catch(Lt)}invalidateQueries(e,t={}){return Xe.batch(()=>(M(this,Pe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Xe.batch(()=>M(this,Pe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Lt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Lt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=M(this,Pe).build(this,t);return n.isStaleByTime(dc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Lt).catch(Lt)}fetchInfiniteQuery(e){return e.behavior=Ip(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Lt).catch(Lt)}ensureInfiniteQueryData(e){return e.behavior=Ip(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ta.isOnline()?M(this,Un).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,Pe)}getMutationCache(){return M(this,Un)}getDefaultOptions(){return M(this,Wn)}setDefaultOptions(e){ee(this,Wn,e)}setQueryDefaults(e,t){M(this,xo).set(zi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...M(this,xo).values()],n={};return t.forEach(r=>{$i(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){M(this,So).set(zi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...M(this,So).values()],n={};return t.forEach(r=>{$i(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...M(this,Wn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=$d(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Bd&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...M(this,Wn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){M(this,Pe).clear(),M(this,Un).clear()}},Pe=new WeakMap,Un=new WeakMap,Wn=new WeakMap,xo=new WeakMap,So=new WeakMap,Vn=new WeakMap,bo=new WeakMap,Eo=new WeakMap,xh),bC=w.createContext(void 0),EC=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(bC.Provider,{value:e,children:t}));/**
82 * @remix-run/router v1.23.0
83 *
84 * Copyright (c) Remix Software Inc.
85 *
86 * This source code is licensed under the MIT license found in the
87 * LICENSE.md file in the root directory of this source tree.
88 *
89 * @license MIT
90 */function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Na.apply(this,arguments)}var Qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Qn||(Qn={}));const Lp="popstate";function CC(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return pc("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:uy(o)}return kC(t,n,null,e)}function at(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ly(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function PC(){return Math.random().toString(36).substr(2,8)}function jp(e,t){return{usr:e.state,key:e.key,idx:t}}function pc(e,t,n,r){return n===void 0&&(n=null),Na({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?al(t):t,{state:n,key:t&&t.key||r||PC()})}function uy(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function al(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function kC(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Qn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Na({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Qn.Pop;let y=c(),g=y==null?null:y-u;u=y,l&&l({action:a,location:f.location,delta:g})}function m(y,g){a=Qn.Push;let p=pc(f.location,y,g);u=c()+1;let v=jp(p,u),b=f.createHref(p);try{s.pushState(v,"",b)}
vendor: 3,324 bytes, line 90
90catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(b)}i&&l&&l({action:a,location:f.location,delta:1})}function h(y,g){a=Qn.Replace;let p=pc(f.location,y,g);u=c();let v=jp(p,u),b=f.createHref(p);s.replaceState(v,"",b),i&&l&&l({action:a,location:f.location,delta:0})}function x(y){let g=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof y=="string"?y:uy(y);return p=p.replace(/ $/,"%20"),at(g,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,g)}let f={get action(){return a},get location(){return e(o,s)},listen(y){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Lp,d),l=y,()=>{o.removeEventListener(Lp,d),l=null}},createHref(y){return t(o,y)},createURL:x,encodeLocation(y){let g=x(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:m,replace:h,go(y){return s.go(y)}};return f}var Fp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Fp||(Fp={}));function TC(e,t,n){return n===void 0&&(n="/"),NC(e,t,n,!1)}function NC(e,t,n,r){let o=typeof t=="string"?al(t):t,i=fy(o.pathname||"/",n);if(i==null)return null;let s=cy(e);RC(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=$C(i);a=FC(s[l],u,r)}return a}function cy(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(at(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=ho([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(at(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),cy(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:LC(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of dy(i.path))o(i,s,l)}),t}function dy(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=dy(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function RC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:jC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const OC=/^:[\w-]+$/,MC=3,AC=2,_C=1,IC=10,DC=-2,zp=e=>e==="*";function LC(e,t){let n=e.split("/"),r=n.length;return n.some(zp)&&(r+=DC),t&&(r+=AC),n.filter(o=>!zp(o)).reduce((o,i)=>o+(OC.test(i)?MC:i===""?_C:IC),r)}function jC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function FC(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=$p({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),m=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=$p({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 4,131 bytes, lines 90-99
90Object.assign(o,d.params),s.push({params:o,pathname:ho([i,d.pathname]),pathnameBase:BC(ho([i,d.pathnameBase])),route:m}),d.pathnameBase!=="/"&&(i=ho([i,d.pathnameBase]))}return s}function $p(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=zC(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:m,isOptional:h}=c;if(m==="*"){let f=a[d]||"";s=i.slice(0,i.length-f.length).replace(/(.)\/+$/,"$1")}const x=a[d];return h&&!x?u[m]=void 0:u[m]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function zC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ly(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function $C(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ly(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function fy(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const ho=e=>e.join("/").replace(/\/\/+/g,"/"),BC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function UC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const py=["post","put","patch","delete"];new Set(py);const WC=["get",...py];new Set(WC);/**
91 * React Router v6.30.1
92 *
93 * Copyright (c) Remix Software Inc.
94 *
95 * This source code is licensed under the MIT license found in the
96 * LICENSE.md file in the root directory of this source tree.
97 *
98 * @license MIT
99 */function Ra(){return Ra=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ra.apply(this,arguments)}const VC=w.createContext(null),HC=w.createContext(null),hy=w.createContext(null),ll=w.createContext(null),ul=w.createContext({outlet:null,matches:[],isDataRoute:!1}),my=w.createContext(null);function Ud(){return w.useContext(ll)!=null}function gy(){return Ud()||at(!1),w.useContext(ll).location}function YC(e,t){return QC(e,t)}function QC(e,t,n,r){Ud()||at(!1);let{navigator:o}=w.useContext(hy),{matches:i}=w.useContext(ul),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=gy(),c;if(t){var d;let y=typeof t=="string"?al(t):t;l==="/"||(d=y.pathname)!=null&&d.startsWith(l)||at(!1),c=y}else c=u;let m=c.pathname||"/",h=m;if(l!=="/"){let y=l.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(y.length).join("/")}let x=TC(e,{pathname:h}),f=ZC(x&&x.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:ho([l,o.encodeLocation?o.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:ho([l,o.encodeLocation?o.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),i,n,r);return t&&f?w.createElement(ll.Provider,{value:{location:Ra({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Qn.Pop}},f):f}function KC(){let e=nP(),t=UC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application 
99Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const GC=w.createElement(KC,null);class XC extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(ul.Provider,{value:this.props.routeContext},w.createElement(my.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function qC(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(VC);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(ul.Provider,{value:t},r)}function ZC(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||at(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:m,errors:h}=n,x=d.route.loader&&m[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||x){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,m)=>{let h,x=!1,f=null,y=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,f=d.route.errorElement||GC,l&&(u<0&&m===0?(x=!0,y=null):u===m&&(x=!0,y=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,m+1)),p=()=>{let v;return h?v=f:x?v=y:d.route.Component?v=w.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,w.createElement(qC,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?w.createElement(XC,{location:n.location,revalidation:n.revalidation,component:f,error:h,children:p(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):p()},null)}var hc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(hc||{});function JC(e){let t=w.useContext(HC);return t||at(!1),t}function eP(e){let t=w.useContext(ul);return t||at(!1),t}function tP(e){let t=eP(),n=t.matches[t.matches.length-1];return n.route.id||at(!1),n.route.id}function nP(){var e;let t=w.useContext(my),n=JC(hc.UseRouteError),r=tP(hc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function rP(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function mc(e){at(!1)}function oP(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Qn.Pop,navigator:i,static:s=!1,future:a}=e;Ud()&&at(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:i,static:s,future:Ra({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=al(r));let{pathname:c="/",search:d="",hash:m="",state:h=null,key:x="default"}=r,f=w.useMemo(()=>{let y=fy(c,l);return y==null?null:{location:{pathname:y,search:d,hash:m,state:h,key:x},navigationType:o}},[l,c,d,m,h,x,o]);return f==null?null:w.createElement(hy.Provider,{value:u},w.createElement(ll.Provider,{children:n,value:f}))}function iP(e){let{children:t,location:n}=e;return YC(gc(t),n)}new Promise(()=>{});
99function gc(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,gc(r.props.children,i));return}r.type!==mc&&at(!1),!r.props.index||!r.props.children||at(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=gc(r.props.children,i)),n.push(s)}),n}/**
100 * React Router DOM v6.30.1
101 *
102 * Copyright (c) Remix Software Inc.
103 *
104 * This source code is licensed under the MIT license found in the
105 * LICENSE.md file in the root directory of this source tree.
106 *
107 * @license MIT
108 */const sP="6";try{window.__reactRouterVersion=sP}catch{}const aP="startTransition",Bp=Oc[aP];function lP(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=CC({window:o,v5Compat:!0}));let s=i.current,[a,l]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=w.useCallback(d=>{u&&Bp?Bp(()=>l(d)):l(d)},[l,u]);return w.useLayoutEffect(()=>s.listen(c),[s,c]),w.useEffect(()=>rP(r),[r]),w.createElement(oP,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var Up;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Up||(Up={}));var Wp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Wp||(Wp={}));const uP=Td("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ts=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?r1:"button";return S.jsx(s,{className:De(uP({variant:t,size:n,className:e})),ref:i,...o})});ts.displayName="Button";const vy="/assets/ontop-card-PLpsQZhp.png";function cP(e){return Object.prototype.toString.call(e)==="[object Object]"}function Vp(e){return cP(e)||Array.isArray(e)}function dP(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Wd(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==i?!1:n.every(s=>{const a=e[s],l=t[s];return typeof a=="function"?`${a}`==`${l}`:!Vp(a)||!Vp(l)?a===l:Wd(a,l)})}function Hp(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function fP(e,t){if(e.length!==t.length)return!1;const n=Hp(e),r=Hp(t);return n.every((o,i)=>{const s=r[i];return Wd(o,s)})}function Vd(e){return typeof e=="number"}function vc(e){return typeof e=="string"}function cl(e){return typeof e=="boolean"}function Yp(e){return Object.prototype.toString.call(e)==="[object Object]"}function be(e){return Math.abs(e)}function Hd(e){return Math.sign(e)}function yi(e,t){return be(e-t)}function pP(e,t){if(e===0||t===0||be(e)<=be(t))return 0;const n=yi(be(e),be(t));return be(n/e)}function hP(e){return Math.round(e*100)/100}function Bi(e){return Ui(e).map(Number)}function Wt(e){return e[ns(e)]}function ns(e){return Math.max(0,e.length-1)}function Yd(e,t){return t===ns(e)}function Qp(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Ui(e){return Object.keys(e)}function yy(e,t){return[e,t].reduce((n,r)=>(Ui(r).forEach(o=>{const i=n[o],s=r[o],a=Yp(i)&&Yp(s);n[o]=a?yy(i,s):s}),n),{})}function yc(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function mP(e,t){const n={start:r,center:o,end:i};function r(){return 0}function o(l){return i(l)/2}function i(l){return t-l}
vendor: 16,483 bytes, line 108
108function s(l,u){return vc(e)?n[e](l):e(t,l,u)}return{measure:s}}function Wi(){let e=[];function t(o,i,s,a={passive:!0}){let l;if("addEventListener"in o)o.addEventListener(i,s,a),l=()=>o.removeEventListener(i,s,a);else{const u=o;u.addListener(s),l=()=>u.removeListener(s)}return e.push(l),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function gP(e,t,n,r){const o=Wi(),i=1e3/60;let s=null,a=0,l=0;function u(){o.add(e,"visibilitychange",()=>{e.hidden&&x()})}function c(){h(),o.clear()}function d(y){if(!l)return;s||(s=y,n(),n());const g=y-s;for(s=y,a+=g;a>=i;)n(),a-=i;const p=a/i;r(p),l&&(l=t.requestAnimationFrame(d))}function m(){l||(l=t.requestAnimationFrame(d))}function h(){t.cancelAnimationFrame(l),s=null,a=0,l=0}function x(){s=null,a=0}return{init:u,destroy:c,start:m,stop:h,update:n,render:r}}function vP(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",i=r?"x":"y",s=!r&&n?-1:1,a=c(),l=d();function u(x){const{height:f,width:y}=x;return r?f:y}function c(){return r?"top":n?"right":"left"}function d(){return r?"bottom":n?"left":"right"}function m(x){return x*s}return{scroll:o,cross:i,startEdge:a,endEdge:l,measureSize:u,direction:m}}function _r(e=0,t=0){const n=be(e-t);function r(u){return u<e}function o(u){return u>t}function i(u){return r(u)||o(u)}function s(u){return i(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:s,reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:a}}function wy(e,t,n){const{constrain:r}=_r(0,e),o=e+1;let i=s(t);function s(m){return n?be((o+m)%o):r(m)}function a(){return i}function l(m){return i=s(m),d}function u(m){return c().set(a()+m)}function c(){return wy(e,a(),n)}const d={get:a,set:l,add:u,clone:c};return d}function yP(e,t,n,r,o,i,s,a,l,u,c,d,m,h,x,f,y,g,p){const{cross:v,direction:b}=e,E=["INPUT","SELECT","TEXTAREA"],P={passive:!1},C=Wi(),k=Wi(),N=_r(50,225).constrain(h.measure(20)),O={mouse:300,touch:400},j={mouse:500,touch:600},_=x?43:25;let H=!1,A=0,V=0,$=!1,U=!1,T=!1,R=!1;function z(D){if(!p)return;function J(xe){(cl(p)||p(D,xe))&&ue(xe)}const se=t;C.add(se,"dragstart",xe=>xe.preventDefault(),P).add(se,"touchmove",()=>{},P).add(se,"touchend",()=>{}).add(se,"touchstart",J).add(se,"mousedown",J).add(se,"touchcancel",X).add(se,"contextmenu",X).add(se,"click",re,!0)}function Q(){C.clear(),k.clear()}function B(){const D=R?n:t;k.add(D,"touchmove",L,P).add(D,"touchend",X).add(D,"mousemove",L,P).add(D,"mouseup",X)}function G(D){const J=D.nodeName||"";return E.includes(J)}function K(){return(x?j:O)[R?"mouse":"touch"]}function ie(D,J){const se=d.add(Hd(D)*-1),xe=c.byDistance(D,!x).distance;return x||be(D)<N?xe:y&&J?xe*.5:c.byIndex(se.get(),0).distance}function ue(D){const J=yc(D,r);R=J,T=x&&J&&!D.buttons&&H,H=yi(o.get(),s.get())>=2,!(J&&D.button!==0)&&(G(D.target)||($=!0,i.pointerDown(D),u.useFriction(0).useDuration(0),o.set(s),B(),A=i.readPoint(D),V=i.readPoint(D,v),m.emit("pointerDown")))}function L(D){if(!yc(D,r)&&D.touches.length>=2)return X(D);const se=i.readPoint(D),xe=i.readPoint(D,v),Oe=yi(se,A),Le=yi(xe,V);if(!U&&!R&&(!D.cancelable||(U=Oe>Le,!U)))return X(D);const lt=i.pointerMove(D);Oe>f&&(T=!0),u.useFriction(.3).useDuration(.75),a.start(),o.add(b(lt)),D.preventDefault()}function X(D){const se=c.byDistance(0,!1).index!==d.get(),xe=i.pointerUp(D)*K(),Oe=ie(b(xe),se),Le=pP(xe,Oe),lt=_-10*Le,Qe=g+Le/50;U=!1,$=!1,k.clear(),u.useDuration(lt).useFriction(Qe),l.distance(Oe,!x),R=!1,m.emit("pointerUp")}function re(D){T&&(D.stopPropagation(),D.preventDefault(),T=!1)}function q(){return $}return{init:z,destroy:Q,pointerDown:q}}function wP(e,t){let r,o;function i(d){return d.timeStamp}function s(d,m){const x=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(yc(d,t)?d:d.touches[0])[x]}function a(d){return r=d,o=d,s(d)}function l(d){const m=s(d)-s(o),h=i(d)-i(r)>170;return o=d,h&&(r=d),m}function u(d){if(!r||!o)return 0;const m=s(o)-s(r),h=i(d)-i(r),x=i(d)-i(o)>170,f=m/h;return h&&!x&&be(f)>.1?f:0}return{pointerDown:a,pointerMove:l,pointerUp:u,readPoint:s}}function xP(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:i,offsetHeight:s}=n;return{top:r,right:o+i,bottom:r+s,left:o,width:i,height:s}}return{measure:e}}function SP(e){function t(r){return e*(r/100)}return{measure:t}}function bP(e,t,n,r,o,i,s){const a=[e].concat(r);let l,u,c=[],d=!1;function m(y){return o.measureSize(s.measure(y))}function h(y){if(!i)return;u=m(e),c=r.map(m);function g(p){for(const v of p){if(d)return;const b=v.target===e,E=r.indexOf(v.target),P=b?u:c[E],C=m(b?e:r[E]);if(be(C-P)>=.5){y.reInit(),t.emit("resize");break}}}l=new ResizeObserver(p=>{(cl(i)||i(y,p))&&g(p)}),n.requestAnimationFrame(()=>{a.forEach(p=>l.observe(p))})}function x(){d=!0,l&&l.disconnect()}return{init:h,destroy:x}}function EP(e,t,n,r,o,i){let s=0,a=0,l=o,u=i,c=e.get(),d=0;function m(){const P=r.get()-e.get(),C=!l;let k=0;return C?(s=0,n.set(r),e.set(r),k=P):(n.set(e),s+=P/l,s*=u,c+=s,e.add(s),k=c-d),a=Hd(k),d=c,E}function h(){const P=r.get()-t.get();return be(P)<.001}function x(){return l}function f(){return a}function y(){return s}function g(){return v(o)}function p(){return b(i)}function v(P){return l=P,E}function b(P){return u=P,E}const E={direction:f,duration:x,velocity:y,seek:m,settled:h,useBaseFriction:p,useBaseDuration:g,useFriction:b,useDuration:v};return E}function CP(e,t,n,r,o){const i=o.measure(10),s=o.measure(50),a=_r(.1,.99);let l=!1;function u(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(h){if(!u())return;const x=e.reachedMin(t.get())?"min":"max",f=be(e[x]-t.get()),y=n.get()-t.get(),g=a.constrain(f/s);n.subtract(y*g),!h&&be(y)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(h){l=!h}return{shouldConstrain:u,constrain:c,toggleActive:d}}function PP(e,t,n,r,o){const i=_r(-t+e,0),s=d(),a=c(),l=m();function u(x,f){return yi(x,f)<=1}function c(){const x=s[0],f=Wt(s),y=s.lastIndexOf(x),g=s.indexOf(f)+1;return _r(y,g)}function d(){return n.map((x,f)=>{const{min:y,max:g}=i,p=i.constrain(x),v=!f,b=Yd(n,f);return v?g:b||u(y,p)?y:u(g,p)?g:p}).map(x=>parseFloat(x.toFixed(3)))}function m(){if(t<=e+o)return[i.max];if(r==="keepSnaps")return s;const{min:x,max:f}=a;return s.slice(x,f)}return{snapsContained:l,scrollContainLimit:a}}function kP(e,t,n){const r=t[0],o=n?r-e:Wt(t);return{limit:_r(o,r)}}function TP(e,t,n,r){const i=t.min+.1,s=t.max+.1,{reachedMin:a,reachedMax:l}=_r(i,s);function u(m){return m===1?l(n.get()):m===-1?a(n.get()):!1}function c(m){if(!u(m))return;const h=e*(m*-1);r.forEach(x=>x.add(h))}return{loop:c}}function NP(e){const{max:t,length:n}=e;function r(i){const s=i-t;return n?s/-n:0}return{get:r}}function RP(e,t,n,r,o){const{startEdge:i,endEdge:s}=e,{groupSlides:a}=o,l=d().map(t.measure),u=m(),c=h();function d(){return a(r).map(f=>Wt(f)[s]-f[0][i]).map(be)}function m(){return r.map(f=>n[i]-f[i]).map(f=>-be(f))}function h(){return a(u).map(f=>f[0]).map((f,y)=>f+l[y])}return{snaps:u,snapsAligned:c}}function OP(e,t,n,r,o,i){const{groupSlides:s}=o,{min:a,max:l}=r,u=c();function c(){const m=s(i),h=!e||t==="keepSnaps";return n.length===1?[i]:h?m:m.slice(a,l).map((x,f,y)=>{const g=!f,p=Yd(y,f);if(g){const v=Wt(y[0])+1;return Qp(v)}if(p){const v=ns(i)-Wt(y)[0]+1;return Qp(v,Wt(y)[0])}return x})}return{slideRegistry:u}}function MP(e,t,n,r,o){const{reachedAny:i,removeOffset:s,constrain:a}=r;function l(x){return x.concat().sort((f,y)=>be(f)-be(y))[0]}function u(x){const f=e?s(x):a(x),y=t.map((p,v)=>({diff:c(p-f,0),index:v})).sort((p,v)=>be(p.diff)-be(v.diff)),{index:g}=y[0];return{index:g,distance:f}}function c(x,f){const y=[x,x+n,x-n];if(!e)return x;if(!f)return l(y);const g=y.filter(p=>Hd(p)===f);return g.length?l(g):Wt(y)-n}function d(x,f){const y=t[x]-o.get(),g=c(y,f);return{index:x,distance:g}}function m(x,f){const y=o.get()+x,{index:g,distance:p}=u(y),v=!e&&i(y);if(!f||v)return{index:g,distance:x};const b=t[g]-p,E=x+c(b,0);return{index:g,distance:E}}return{byDistance:m,byIndex:d,shortcut:c}}function AP(e,t,n,r,o,i,s){function a(d){const m=d.distance,h=d.index!==t.get();i.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),h&&(n.set(t.get()),t.set(d.index),s.emit("select"))}function l(d,m){const h=o.byDistance(d,m);a(h)}function u(d,m){const h=t.clone().set(d),x=o.byIndex(h.get(),m);a(x)}return{distance:l,index:u}}function _P(e,t,n,r,o,i,s,a){const l={passive:!0,capture:!0};let u=0;function c(h){if(!a)return;function x(f){if(new Date().getTime()-u>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const p=n.findIndex(v=>v.includes(f));Vd(p)&&(o.useDuration(0),r.index(p,0),s.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((f,y)=>{i.add(f,"focus",g=>{(cl(a)||a(h,g))&&x(y)},l)})}function d(h){h.code==="Tab"&&(u=new Date().getTime())}return{init:c}}function si(e){let t=e;function n(){return t}function r(l){t=s(l)}function o(l){t+=s(l)}function i(l){t-=s(l)}function s(l){return Vd(l)?l:l.get()}return{get:n,set:r,add:o,subtract:i}}function xy(e,t){const n=e.scroll==="x"?s:a,r=t.style;let o=null,i=!1;function s(m){return`translate3d(${m}px,0px,0px)`}function a(m){return`translate3d(0px,${m}px,0px)`}function l(m){if(i)return;const h=hP(e.direction(m));h!==o&&(r.transform=n(h),o=h)}function u(m){i=!m}function c(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:l,toggleActive:u}}function IP(e,t,n,r,o,i,s,a,l){const c=Bi(o),d=Bi(o).reverse(),m=g().concat(p());function h(C,k){return C.reduce((N,O)=>N-o[O],k)}function x(C,k){return C.reduce((N,O)=>h(N,k)>0?N.concat([O]):N,[])}function f(C){return i.map((k,N)=>({start:k-r[N]+.5+C,end:k+t-.5+C}))}function y(C,k,N){const O=f(k);return C.map(j=>{const _=N?0:-n,H=N?n:0,A=N?"end":"start",V=O[j][A];return{index:j,loopPoint:V,slideLocation:si(-1),translate:xy(e,l[j]),target:()=>a.get()>V?_:H}})}function g(){const C=s[0],k=x(d,C);return y(k,n,!1)}function p(){const C=t-s[0]-1,k=x(c,C);return y(k,-n,!0)}function v(){return m.every(({index:C})=>{const k=c.filter(N=>N!==C);return h(k,t)<=.1})}function b(){m.forEach(C=>{const{target:k,translate:N,slideLocation:O}=C,j=k();j!==O.get()&&(N.to(j),O.set(j))})}function E(){m.forEach(C=>C.translate.clear())}return{canLoop:v,clear:E,loop:b,loopPoints:m}}function DP(e,t,n){let r,o=!1;function i(l){if(!n)return;function u(c){for(const d of c)if(d.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(c=>{o||(cl(n)||n(l,c))&&u(c)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),o=!0}return{init:i,destroy:s}}function LP(e,t,n,r){const o={};let i=null,s=null,a,l=!1;function u(){a=new IntersectionObserver(x=>{l||(x.forEach(f=>{const y=t.indexOf(f.target);o[y]=f}),i=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(x=>a.observe(x))}function c(){a&&a.disconnect(),l=!0}function d(x){return Ui(o).reduce((f,y)=>{const g=parseInt(y),{isIntersecting:p}=o[g];return(x&&p||!x&&!p)&&f.push(g),f},[])}function m(x=!0){if(x&&i)return i;if(!x&&s)return s;const f=d(x);return x&&(i=f),x||(s=f),f}return{init:u,destroy:c,get:m}}function jP(e,t,n,r,o,i){const{measureSize:s,startEdge:a,endEdge:l}=e,u=n[0]&&o,c=x(),d=f(),m=n.map(s),h=y();function x(){if(!u)return 0;const p=n[0];return be(t[a]-p[a])}function f(){if(!u)return 0;const p=i.getComputedStyle(Wt(r));return parseFloat(p.getPropertyValue(`margin-${l}`))}function y(){return n.map((p,v,b)=>{const E=!v,P=Yd(b,v);return E?m[v]+c:P?m[v]+d:b[v+1][a]-p[a]}).map(be)}return{slideSizes:m,slideSizesWithGaps:h,startGap:c,endGap:d}}function FP(e,t,n,r,o,i,s,a,l){const{startEdge:u,endEdge:c,direction:d}=e,m=Vd(n);function h(g,p){return Bi(g).filter(v=>v%p===0).map(v=>g.slice(v,v+p))}function x(g){return g.length?Bi(g).reduce((p,v,b)=>{const E=Wt(p)||0,P=E===0,C=v===ns(g),k=o[u]-i[E][u],N=o[u]-i[v][c],O=!r&&P?d(s):0,j=!r&&C?d(a):0,_=be(N-j-(k+O));return b&&_>t+l&&p.push(v),C&&p.push(g.length),p},[]).map((p,v,b)=>{const E=Math.max(b[v-1]||0);return g.slice(E,p)}):[]}function f(g){return m?h(g,n):x(g)}return{groupSlides:f}}function zP(e,t,n,r,o,i,s){const{align:a,axis:l,direction:u,startIndex:c,loop:d,duration:m,dragFree:h,dragThreshold:x,inViewThreshold:f,slidesToScroll:y,skipSnaps:g,containScroll:p,watchResize:v,watchSlides:b,watchDrag:E,watchFocus:P}=i,C=2,k=xP(),N=k.measure(t),O=n.map(k.measure),j=vP(l,u),_=j.measureSize(N),H=SP(_),A=mP(a,_),V=!d&&!!p,$=d||!!p,{slideSizes:U,slideSizesWithGaps:T,startGap:R,endGap:z}=jP(j,N,O,n,$,o),Q=FP(j,_,y,d,N,O,R,z,C),{snaps:B,snapsAligned:G}=RP(j,A,N,O,Q),K=-Wt(B)+Wt(T),{snapsContained:ie,scrollContainLimit:ue}=PP(_,K,G,p,C),L=V?ie:G,{limit:X}=kP(K,L,d),re=wy(ns(L),c,d),q=re.clone(),Y=Bi(n),D=({dragHandler:Tt,scrollBody:Bo,scrollBounds:$r,options:{loop:Pn}})=>{Pn||$r.constrain(Tt.pointerDown()),Bo.seek()},J=({scrollBody:Tt,translate:Bo,location:$r,offsetLocation:Pn,previousLocation:kn,scrollLooper:is,slideLooper:Tn,dragHandler:vl,animation:yl,eventHandler:Uo,scrollBounds:ss,options:{loop:as}},Br)=>{const Nt=Tt.settled(),wl=!ss.shouldConstrain(),Z=as?Nt:Nt&&wl,ce=Z&&!vl.pointerDown();ce&&yl.stop();const he=$r.get()*Br+kn.get()*(1-Br);Pn.set(he),as&&(is.loop(Tt.direction()),Tn.loop()),Bo.to(Pn.get()),ce&&Uo.emit("settle"),Z||Uo.emit("scroll")},se=gP(r,o,()=>D($o),Tt=>J($o,Tt)),xe=.68,Oe=L[re.get()],Le=si(Oe),lt=si(Oe),Qe=si(Oe),Kt=si(Oe),Pt=EP(Le,Qe,lt,Kt,m,xe),zr=MP(d,L,K,X,Kt),kt=AP(se,re,q,Pt,zr,Kt,s),rs=NP(X),os=Wi(),et=LP(t,n,s,f),{slideRegistry:un}=OP(V,p,L,ue,Q,Y),gl=_P(e,n,un,kt,Pt,os,s,P),$o={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:N,slideRects:O,animation:se,axis:j,dragHandler:yP(j,e,r,o,Kt,wP(j,o),Le,se,kt,Pt,zr,re,s,H,h,x,g,xe,E),eventStore:os,percentOfView:H,index:re,indexPrevious:q,limit:X,location:Le,offsetLocation:Qe,previousLocation:lt,options:i,resizeHandler:bP(t,s,o,n,j,v,k),scrollBody:Pt,scrollBounds:CP(X,Qe,Kt,Pt,H),scrollLooper:TP(K,X,Qe,[Le,Qe,lt,Kt]),scrollProgress:rs,scrollSnapList:L.map(rs.get),scrollSnaps:L,scrollTarget:zr,scrollTo:kt,slideLooper:IP(j,_,K,U,T,B,L,Qe,n),slideFocus:gl,slidesHandler:DP(t,s,b),slidesInView:et,slideIndexes:Y,slideRegistry:un,slidesToScroll:Q,target:Kt,translate:xy(j,t)};return $o}function $P(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function o(u){return r(u).forEach(c=>c(t,u)),l}function i(u,c){return e[u]=r(u).concat([c]),l}function s(u,c){return e[u]=r(u).filter(d=>d!==c),l}function a(){e={}}const l={init:n,emit:o,off:s,on:i,clear:a};return l}const BP={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function UP(e){function t(i,s){return yy(i,s||{})}function n(i){const s=i.breakpoints||{},a=Ui(s).filter(l=>e.matchMedia(l).matches).map(l=>s[l]).reduce((l,u)=>t(l,u),{});return t(i,a)}function r(i){return i.map(s=>Ui(s.breakpoints||{})).reduce((s,a)=>s.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function WP(e){let t=[];function n(i,s){return t=s.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),s.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function Oa(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=UP(o),s=WP(i),a=Wi(),l=$P(),{mergeOptions:u,optionsAtMedia:c,optionsMediaQueries:d}=i,{on:m,off:h,emit:x}=l,f=j;let y=!1,g,p=u(BP,Oa.globalOptions),v=u(p),b=[],E,P,C;function k(){const{container:Y,slides:D}=v;P=(vc(Y)?e.querySelector(Y):Y)||e.children[0];const se=vc(D)?P.querySelectorAll(D):D;C=[].slice.call(se||P.children)}function N(Y){const D=zP(e,P,C,r,o,Y,l);if(Y.loop&&!D.slideLooper.canLoop()){const J=Object.assign({},Y,{loop:!1});return N(J)}return D}function O(Y,D){y||(p=u(p,Y),v=c(p),b=D||b,k(),g=N(v),d([p,...b.map(({options:J})=>J)]).forEach(J=>a.add(J,"change",j)),v.active&&(g.translate.to(g.location.get()),g.animation.init(),g.slidesInView.init(),g.slideFocus.init(q),g.eventHandler.init(q),g.resizeHandler.init(q),g.slidesHandler.init(q),g.options.loop&&g.slideLooper.loop(),P.offsetParent&&C.length&&g.dragHandler.init(q),E=s.init(q,b)))}function j(Y,D){const J=Q();_(),O(u({startIndex:J},Y),D),l.emit("reInit")}function _(){g.dragHandler.destroy(),g.eventStore.clear(),g.translate.clear(),g.slideLooper.clear(),g.resizeHandler.destroy(),g.slidesHandler.destroy(),g.slidesInView.destroy(),g.animation.destroy(),s.destroy(),a.clear()}
vendor: 8,203 bytes, line 108
108function H(){y||(y=!0,a.clear(),_(),l.emit("destroy"),l.clear())}function A(Y,D,J){!v.active||y||(g.scrollBody.useBaseFriction().useDuration(D===!0?0:v.duration),g.scrollTo.index(Y,J||0))}function V(Y){const D=g.index.add(1).get();A(D,Y,-1)}function $(Y){const D=g.index.add(-1).get();A(D,Y,1)}function U(){return g.index.add(1).get()!==Q()}function T(){return g.index.add(-1).get()!==Q()}function R(){return g.scrollSnapList}function z(){return g.scrollProgress.get(g.offsetLocation.get())}function Q(){return g.index.get()}function B(){return g.indexPrevious.get()}function G(){return g.slidesInView.get()}function K(){return g.slidesInView.get(!1)}function ie(){return E}function ue(){return g}function L(){return e}function X(){return P}function re(){return C}const q={canScrollNext:U,canScrollPrev:T,containerNode:X,internalEngine:ue,destroy:H,off:h,on:m,emit:x,plugins:ie,previousScrollSnap:B,reInit:f,rootNode:L,scrollNext:V,scrollPrev:$,scrollProgress:z,scrollSnapList:R,scrollTo:A,selectedScrollSnap:Q,slideNodes:re,slidesInView:G,slidesNotInView:K};return O(t,n),setTimeout(()=>l.emit("init"),0),q}Oa.globalOptions=void 0;function Qd(e={},t=[]){const n=w.useRef(e),r=w.useRef(t),[o,i]=w.useState(),[s,a]=w.useState(),l=w.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return w.useEffect(()=>{Wd(n.current,e)||(n.current=e,l())},[e,l]),w.useEffect(()=>{fP(r.current,t)||(r.current=t,l())},[t,l]),w.useEffect(()=>{if(dP()&&s){Oa.globalOptions=Qd.globalOptions;const u=Oa(s,n.current,r.current);return i(u),()=>u.destroy()}else i(void 0)},[s,i]),[a,o]}Qd.globalOptions=void 0;const VP={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function HP(e,t){const n=e.rootNode();return t&&t(n)||n}function Kd(e={}){let t,n,r,o,i=0,s=!1,a=!1,l;function u(N,O){n=N;const{mergeOptions:j,optionsAtMedia:_}=O,H=j(VP,Kd.globalOptions),A=j(H,e);if(t=_(A),n.scrollSnapList().length<=1)return;o=t.startDelay,r=!1,l=n.internalEngine().scrollBody;const{eventStore:V}=n.internalEngine(),$=!!n.internalEngine().options.watchDrag,U=HP(n,t.rootNode);$&&n.on("pointerDown",x),$&&!t.stopOnInteraction&&n.on("pointerUp",f),t.stopOnMouseEnter&&V.add(U,"mouseenter",y),t.stopOnMouseEnter&&!t.stopOnInteraction&&V.add(U,"mouseleave",g),t.stopOnFocusIn&&n.on("slideFocusStart",m),t.stopOnFocusIn&&!t.stopOnInteraction&&V.add(n.containerNode(),"focusout",d),t.playOnInit&&d()}function c(){n.off("pointerDown",x).off("pointerUp",f).off("slideFocusStart",m).off("settle",p),m(),r=!0,s=!1}function d(){if(r||s)return;n.emit("autoScroll:play");const N=n.internalEngine(),{ownerWindow:O}=N;i=O.setTimeout(()=>{N.scrollBody=h(N),N.animation.start()},o),s=!0}function m(){if(r||!s)return;n.emit("autoScroll:stop");const N=n.internalEngine(),{ownerWindow:O}=N;N.scrollBody=l,O.clearTimeout(i),i=0,s=!1}function h(N){const{location:O,previousLocation:j,offsetLocation:_,target:H,scrollTarget:A,index:V,indexPrevious:$,limit:{reachedMin:U,reachedMax:T,constrain:R},options:{loop:z}}=N,Q=t.direction==="forward"?-1:1,B=()=>re;let G=0,K=0,ie=O.get(),ue=0,L=!1;function X(){let q=0;j.set(O),G=Q*t.speed,ie+=G,O.add(G),H.set(O),q=ie-ue,K=Math.sign(q),ue=ie;const Y=A.byDistance(0,!1).index;V.get()!==Y&&($.set(V.get()),V.set(Y),n.emit("select"));const D=t.direction==="forward"?U(_.get()):T(_.get());if(!z&&D){L=!0;const J=R(O.get());O.set(J),H.set(O),m()}return re}const re={direction:()=>K,duration:()=>-1,velocity:()=>G,settled:()=>L,seek:X,useBaseFriction:B,useBaseDuration:B,useFriction:B,useDuration:B};return re}function x(){a||m()}function f(){a||v()}function y(){a=!0,m()}function g(){a=!1,d()}function p(){n.off("settle",p),d()}function v(){n.on("settle",p)}function b(N){typeof N<"u"&&(o=N),d()}function E(){s&&m()}function P(){s&&(m(),v())}function C(){return s}return{name:"autoScroll",options:e,init:u,destroy:c,play:b,stop:E,reset:P,isPlaying:C}}Kd.globalOptions=void 0;const Kp=[{icon:"🚗",text:"75% off Uber"},{icon:"☕",text:"60% off Starbucks"},{icon:"📱",text:"80% off App Store/Google Play"},{icon:"🍔",text:"30% cashback Rappi"},{icon:"🛵",text:"20% cashback Delivery"},{icon:"🤖",text:"50% off ChatGPT"},{icon:"▶️",text:"50% off YouTube Premium"},{icon:"🎬",text:"50% off HBO"},{icon:"📚",text:"40% off Kindle"},{icon:"🎧",text:"30% off Audible"},{icon:"🎮",text:"20% off Steam"},{icon:"👕",text:"3% off Fashion"}],Sy=()=>{const[e,t]=Qd({loop:!0,align:"start",skipSnaps:!1,dragFree:!0},[Kd({playOnInit:!0,speed:1,stopOnInteraction:!1})]);return w.useEffect(()=>{t&&t.reInit()},[t]),S.jsxs("div",{className:"w-full overflow-hidden mt-4 sm:mt-6 animate-fade-in",style:{animationDelay:"0.5s"},children:[S.jsx("h3",{className:"text-sm sm:text-base md:text-lg font-semibold text-center mb-2 sm:mb-3 text-muted-foreground",children:"Available Prizes"}),S.jsx("div",{ref:e,className:"overflow-hidden",children:S.jsx("div",{className:"flex gap-2 sm:gap-3",children:[...Kp,...Kp].map((n,r)=>S.jsx("div",{className:"flex-[0_0_130px] sm:flex-[0_0_160px] md:flex-[0_0_200px] min-w-0",children:S.jsxs("div",{className:"bg-gradient-card backdrop-blur-xl rounded-xl sm:rounded-2xl p-2 sm:p-3 border border-border/50 shadow-premium hover:shadow-glow-purple transition-all duration-300 h-full",children:[S.jsx("div",{className:"text-lg sm:text-xl md:text-2xl mb-1 sm:mb-2 text-center",children:n.icon}),S.jsx("p",{className:"text-[10px] sm:text-xs font-medium text-center text-foreground",children:n.text})]})},r))})})]})},YP=({onPlayClick:e})=>S.jsxs("section",{className:"min-h-[100dvh] flex items-center justify-center px-3 sm:px-4 py-4 sm:py-8 relative overflow-hidden overflow-x-hidden",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-hero"}),S.jsx("div",{className:"absolute top-10 left-5 sm:top-20 sm:left-20 w-48 h-48 sm:w-72 sm:h-72 md:w-96 md:h-96 bg-neon-purple/20 rounded-full blur-3xl animate-glow"}),S.jsx("div",{className:"absolute bottom-10 right-5 sm:bottom-20 sm:right-20 w-48 h-48 sm:w-72 sm:h-72 md:w-96 md:h-96 bg-neon-pink/20 rounded-full blur-3xl animate-glow",style:{animationDelay:"1s"}}),S.jsxs("div",{className:"relative z-10 max-w-6xl mx-auto text-center",children:[S.jsx("div",{className:"mb-2 sm:mb-4 animate-float",children:S.jsxs("div",{className:"inline-block relative",children:[S.jsx("img",{src:vy,alt:"Ontop Visa Platinum Card",className:"w-full max-w-[240px] sm:max-w-[280px] md:max-w-sm mx-auto drop-shadow-2xl",style:{filter:"drop-shadow(0 0 60px rgba(138, 43, 226, 0.6))"}}),S.jsx("div",{className:"absolute inset-0 bg-gradient-neon opacity-30 blur-3xl -z-10"})]})}),S.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold mb-2 sm:mb-4 animate-fade-in leading-tight",children:[S.jsx("span",{className:"bg-gradient-neon bg-clip-text text-transparent",children:"Your First Purchase"}),S.jsx("br",{}),S.jsx("span",{className:"text-foreground text-2xl sm:text-3xl md:text-4xl lg:text-5xl",children:"Could Unlock a Premium Reward"})]}),S.jsx("p",{className:"text-sm sm:text-base md:text-lg lg:text-xl text-muted-foreground mb-2 sm:mb-4 max-w-3xl mx-auto animate-fade-in px-4",style:{animationDelay:"0.2s"},children:"Activate your Ontop Card, spin the wheel, and enjoy a surprise perk."}),S.jsx(ts,{onClick:e,size:"lg",className:"bg-gradient-neon text-white font-semibold px-8 py-4 sm:px-10 sm:py-5 md:px-12 md:py-6 text-base sm:text-lg rounded-full shadow-glow-purple hover:shadow-glow-pink transition-all duration-300 hover:scale-105 animate-scale-in",style:{animationDelay:"0.4s"},children:"Play & Win"}),S.jsx("div",{className:"mt-4 sm:mt-8",children:S.jsx(Sy,{})})]})]}),wc=w.forwardRef(({className:e,type:t,...n},r)=>S.jsx("input",{type:t,className:De("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));wc.displayName="Input";var QP="Label",by=w.forwardRef((e,t)=>
vendor: 5,511 bytes, line 108
108S.jsx(pe.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));by.displayName=QP;var Ey=by;const KP=Td("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Xs=w.forwardRef(({className:e,...t},n)=>S.jsx(Ey,{ref:n,className:De(KP(),e),...t}));Xs.displayName=Ey.displayName;function Gp(e,[t,n]){return Math.min(n,Math.max(t,e))}var GP=w.createContext(void 0);function XP(e){const t=w.useContext(GP);return e||t||"ltr"}var eu=0;function qP(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Xp()),document.body.insertAdjacentElement("beforeend",e[1]??Xp()),eu++,()=>{eu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),eu--}},[])}function Xp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var tu="focusScope.autoFocusOnMount",nu="focusScope.autoFocusOnUnmount",qp={bubbles:!1,cancelable:!0},ZP="FocusScope",Cy=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=w.useState(null),u=Ht(o),c=Ht(i),d=w.useRef(null),m=Te(t,f=>l(f)),h=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let f=function(v){if(h.paused||!a)return;const b=v.target;a.contains(b)?d.current=b:Dn(d.current,{select:!0})},y=function(v){if(h.paused||!a)return;const b=v.relatedTarget;b!==null&&(a.contains(b)||Dn(d.current,{select:!0}))},g=function(v){if(document.activeElement===document.body)for(const E of v)E.removedNodes.length>0&&Dn(a)};document.addEventListener("focusin",f),document.addEventListener("focusout",y);const p=new MutationObserver(g);return a&&p.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",y),p.disconnect()}}},[r,a,h.paused]),w.useEffect(()=>{if(a){Jp.add(h);const f=document.activeElement;if(!a.contains(f)){const g=new CustomEvent(tu,qp);a.addEventListener(tu,u),a.dispatchEvent(g),g.defaultPrevented||(JP(ok(Py(a)),{select:!0}),document.activeElement===f&&Dn(a))}return()=>{a.removeEventListener(tu,u),setTimeout(()=>{const g=new CustomEvent(nu,qp);a.addEventListener(nu,c),a.dispatchEvent(g),g.defaultPrevented||Dn(f??document.body,{select:!0}),a.removeEventListener(nu,c),Jp.remove(h)},0)}}},[a,u,c,h]);const x=w.useCallback(f=>{if(!n&&!r||h.paused)return;const y=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,g=document.activeElement;if(y&&g){const p=f.currentTarget,[v,b]=ek(p);v&&b?!f.shiftKey&&g===b?(f.preventDefault(),n&&Dn(v,{select:!0})):f.shiftKey&&g===v&&(f.preventDefault(),n&&Dn(b,{select:!0})):g===p&&f.preventDefault()}},[n,r,h.paused]);return S.jsx(pe.div,{tabIndex:-1,...s,ref:m,onKeyDown:x})});Cy.displayName=ZP;function JP(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Dn(r,{select:t}),document.activeElement!==n)return}function ek(e){const t=Py(e),n=Zp(t,e),r=Zp(t.reverse(),e);return[n,r]}function Py(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Zp(e,t){for(const n of e)if(!tk(n,{upTo:t}))return n}function tk(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function nk(e){return e instanceof HTMLInputElement&&"select"in e}function Dn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&nk(e)&&t&&e.select()}}var Jp=rk();function rk(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=eh(e,t),e.unshift(t)},remove(t){var n;e=eh(e,t),(n=e[0])==null||n.resume()}}}function eh(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function ok(e){return e.filter(t=>t.tagName!=="A")}function ik(e){const t=w.useRef({value:e,previous:e});return w.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var sk=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Wr=new WeakMap,Ms=new WeakMap,As={},ru=0,ky=function(e){return e&&(e.host||ky(e.parentNode))},ak=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ky(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},lk=function(e,t,n,r){var o=ak(t,Array.isArray(e)?e:[e]);As[n]||(As[n]=new WeakMap);var i=As[n],s=[],a=new Set,l=new Set(o),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(m){if(a.has(m))c(m);else try{var h=m.getAttribute(r),x=h!==null&&h!=="false",f=(Wr.get(m)||0)+1,y=(i.get(m)||0)+1;Wr.set(m,f),i.set(m,y),s.push(m),f===1&&x&&Ms.set(m,!0),y===1&&m.setAttribute(n,"true"),x||m.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",m,g)}})};
vendor: 6,072 bytes, lines 108-123
108return c(t),a.clear(),ru++,function(){s.forEach(function(d){var m=Wr.get(d)-1,h=i.get(d)-1;Wr.set(d,m),i.set(d,h),m||(Ms.has(d)||d.removeAttribute(r),Ms.delete(d)),h||d.removeAttribute(n)}),ru--,ru||(Wr=new WeakMap,Wr=new WeakMap,Ms=new WeakMap,As={})}},uk=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=sk(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),lk(r,o,n,"aria-hidden")):function(){return null}},tn=function(){return tn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},tn.apply(this,arguments)};function Ty(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function ck(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var qs="right-scroll-bar-position",Zs="width-before-scroll-bar",dk="with-scroll-bars-hidden",fk="--removed-body-scroll-bar-size";function ou(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function pk(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var hk=typeof window<"u"?w.useLayoutEffect:w.useEffect,th=new WeakMap;function mk(e,t){var n=pk(null,function(r){return e.forEach(function(o){return ou(o,r)})});return hk(function(){var r=th.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||ou(a,null)}),i.forEach(function(a){o.has(a)||ou(a,s)})}th.set(n,e)},[e]),n}function gk(e){return e}function vk(e,t){t===void 0&&(t=gk);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var l=function(){var c=s;s=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){s.push(c),u()},filter:function(c){return s=s.filter(c),n}}}};return o}function yk(e){e===void 0&&(e={});var t=vk(null);return t.options=tn({async:!0,ssr:!1},e),t}var Ny=function(e){var t=e.sideCar,n=Ty(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,tn({},n))};Ny.isSideCarExport=!0;function wk(e,t){return e.useMedium(t),Ny}var Ry=yk(),iu=function(){},dl=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:iu,onWheelCapture:iu,onTouchMoveCapture:iu}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,m=e.sideCar,h=e.noRelative,x=e.noIsolation,f=e.inert,y=e.allowPinchZoom,g=e.as,p=g===void 0?"div":g,v=e.gapMode,b=Ty(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=m,P=mk([n,t]),C=tn(tn({},b),o);return w.createElement(w.Fragment,null,c&&w.createElement(E,{sideCar:Ry,removeScrollBar:u,shards:d,noRelative:h,noIsolation:x,inert:f,setCallbacks:i,allowPinchZoom:!!y,lockRef:n,gapMode:v}),s?w.cloneElement(w.Children.only(a),tn(tn({},C),{ref:P})):w.createElement(p,tn({},C,{className:l,ref:P}),a))});dl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};dl.classNames={fullWidth:Zs,zeroRight:qs};var xk=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Sk(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=xk();return t&&e.setAttribute("nonce",t),e}function bk(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ek(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ck=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Sk())&&(bk(t,n),Ek(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Pk=function(){var e=Ck();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Oy=function(){var e=Pk(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},kk={left:0,top:0,right:0,gap:0},su=function(e){return parseInt(e||"",10)||0},Tk=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[su(n),su(r),su(o)]},Nk=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return kk;var t=Tk(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Rk=Oy(),mo="data-scroll-locked",Ok=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
109  .`.concat(dk,` {
110   overflow: hidden `).concat(r,`;
111   padding-right: `).concat(a,"px ").concat(r,`;
112  }
113  body[`).concat(mo,`] {
114    overflow: hidden `).concat(r,`;
115    overscroll-behavior: contain;
116    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
117    padding-left: `.concat(o,`px;
118    padding-top: `).concat(i,`px;
119    padding-right: `).concat(s,`px;
120    margin-left:0;
121    margin-top:0;
122    margin-right: `).concat(a,"px ").concat(r,`;
123    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
123")].filter(Boolean).join(""),`
124  }
125  
126  .`).concat(qs,` {
127    right: `).concat(a,"px ").concat(r,`;
128  }
129  
130  .`).concat(Zs,` {
131    margin-right: `).concat(a,"px ").concat(r,`;
132  }
133  
134  .`).concat(qs," .").concat(qs,` {
135    right: 0 `).concat(r,`;
136  }
137  
138  .`).concat(Zs," .").concat(Zs,` {
139    margin-right: 0 `).concat(r,`;
140  }
141  
142  body[`).concat(mo,`] {
143    `).concat(fk,": ").concat(a,`px;
144  }
145`)},nh=function(){var e=parseInt(document.body.getAttribute(mo)||"0",10);return isFinite(e)?e:0},Mk=function(){w.useEffect(function(){return document.body.setAttribute(mo,(nh()+1).toString()),function(){var e=nh()-1;e<=0?document.body.removeAttribute(mo):document.body.setAttribute(mo,e.toString())}},[])},Ak=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Mk();var i=w.useMemo(function(){return Nk(o)},[o]);return w.createElement(Rk,{styles:Ok(i,!t,o,n?"":"!important")})},xc=!1;if(typeof window<"u")try{var _s=Object.defineProperty({},"passive",{get:function(){return xc=!0,!0}});window.addEventListener("test",_s,_s),window.removeEventListener("test",_s,_s)}catch{xc=!1}var Vr=xc?{passive:!1}:!1,_k=function(e){return e.tagName==="TEXTAREA"},My=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!_k(e)&&n[t]==="visible")},Ik=function(e){return My(e,"overflowY")},Dk=function(e){return My(e,"overflowX")},rh=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Ay(e,r);if(o){var i=_y(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Lk=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},jk=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ay=function(e,t){return e==="v"?Ik(t):Dk(t)},_y=function(e,t){return e==="v"?Lk(t):jk(t)},Fk=function(e,t){return e==="h"&&t==="rtl"?-1:1},zk=function(e,t,n,r,o){var i=Fk(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,c=s>0,d=0,m=0;do{if(!a)break;var h=_y(e,a),x=h[0],f=h[1],y=h[2],g=f-y-i*x;(x||g)&&Ay(e,a)&&(d+=g,m+=x);var p=a.parentNode;a=p&&p.nodeType===Node.DOCUMENT_FRAGMENT_NODE?p.host:p}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(Math.abs(d)<1||!o)||!c&&(Math.abs(m)<1||!o))&&(u=!0),u},Is=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},oh=function(e){return[e.deltaX,e.deltaY]},ih=function(e){return e&&"current"in e?e.current:e},$k=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Bk=function(e){return`
146  .block-interactivity-`.concat(e,` {pointer-events: none;}
147  .allow-interactivity-`).concat(e,` {pointer-events: all;}
148`)},Uk=0,Hr=[];function Wk(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),o=w.useState(Uk++)[0],i=w.useState(Oy)[0],s=w.useRef(e);w.useEffect(function(){s.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var f=ck([e.lockRef.current],(e.shards||[]).map(ih),!0).filter(Boolean);return f.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=w.useCallback(function(f,y){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!s.current.allowPinchZoom;var g=Is(f),p=n.current,v="deltaX"in f?f.deltaX:p[0]-g[0],b="deltaY"in f?f.deltaY:p[1]-g[1],E,P=f.target,C=Math.abs(v)>Math.abs(b)?"h":"v";if("touches"in f&&C==="h"&&P.type==="range")return!1;var k=rh(C,P);if(!k)return!0;if(k?E=C:(E=C==="v"?"h":"v",k=rh(C,P)),!k)return!1;if(!r.current&&"changedTouches"in f&&(v||b)&&(r.current=E),!E)return!0;var N=r.current||E;return zk(N,y,f,N==="h"?v:b,!0)},[]),l=w.useCallback(function(f){var y=f;if(!(!Hr.length||Hr[Hr.length-1]!==i)){var g="deltaY"in y?oh(y):Is(y),p=t.current.filter(function(E){return E.name===y.type&&(E.target===y.target||y.target===E.shadowParent)&&$k(E.delta,g)})[0];if(p&&p.should){y.cancelable&&y.preventDefault();return}
vendor: 4,220 bytes, line 148
148if(!p){var v=(s.current.shards||[]).map(ih).filter(Boolean).filter(function(E){return E.contains(y.target)}),b=v.length>0?a(y,v[0]):!s.current.noIsolation;b&&y.cancelable&&y.preventDefault()}}},[]),u=w.useCallback(function(f,y,g,p){var v={name:f,delta:y,target:g,should:p,shadowParent:Vk(g)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(b){return b!==v})},1)},[]),c=w.useCallback(function(f){n.current=Is(f),r.current=void 0},[]),d=w.useCallback(function(f){u(f.type,oh(f),f.target,a(f,e.lockRef.current))},[]),m=w.useCallback(function(f){u(f.type,Is(f),f.target,a(f,e.lockRef.current))},[]);w.useEffect(function(){return Hr.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Vr),document.addEventListener("touchmove",l,Vr),document.addEventListener("touchstart",c,Vr),function(){Hr=Hr.filter(function(f){return f!==i}),document.removeEventListener("wheel",l,Vr),document.removeEventListener("touchmove",l,Vr),document.removeEventListener("touchstart",c,Vr)}},[]);var h=e.removeScrollBar,x=e.inert;return w.createElement(w.Fragment,null,x?w.createElement(i,{styles:Bk(o)}):null,h?w.createElement(Ak,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Vk(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Hk=wk(Ry,Wk);var Iy=w.forwardRef(function(e,t){return w.createElement(dl,tn({},e,{ref:t,sideCar:Hk}))});Iy.classNames=dl.classNames;var Yk=[" ","Enter","ArrowUp","ArrowDown"],Qk=[" ","Enter"],Ir="Select",[fl,pl,Kk]=Fg(Ir),[zo,XN]=Zi(Ir,[Kk,nl]),hl=nl(),[Gk,cr]=zo(Ir),[Xk,qk]=zo(Ir),Dy=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:s,defaultValue:a,onValueChange:l,dir:u,name:c,autoComplete:d,disabled:m,required:h,form:x}=e,f=hl(t),[y,g]=w.useState(null),[p,v]=w.useState(null),[b,E]=w.useState(!1),P=XP(u),[C,k]=tc({prop:r,defaultProp:o??!1,onChange:i,caller:Ir}),[N,O]=tc({prop:s,defaultProp:a,onChange:l,caller:Ir}),j=w.useRef(null),_=y?x||!!y.closest("form"):!0,[H,A]=w.useState(new Set),V=Array.from(H).map($=>$.props.value).join(";");return S.jsx(_E,{...f,children:S.jsxs(Gk,{required:h,scope:t,trigger:y,onTriggerChange:g,valueNode:p,onValueNodeChange:v,valueNodeHasChildren:b,onValueNodeHasChildrenChange:E,contentId:Rd(),value:N,onValueChange:O,open:C,onOpenChange:k,dir:P,triggerPointerDownPosRef:j,disabled:m,children:[S.jsx(fl.Provider,{scope:t,children:S.jsx(Xk,{scope:e.__scopeSelect,onNativeOptionAdd:w.useCallback($=>{A(U=>new Set(U).add($))},[]),onNativeOptionRemove:w.useCallback($=>{A(U=>{const T=new Set(U);return T.delete($),T})},[]),children:n})}),_?S.jsxs(i0,{"aria-hidden":!0,required:h,tabIndex:-1,name:c,autoComplete:d,value:N,onChange:$=>O($.target.value),disabled:m,form:x,children:[N===void 0?S.jsx("option",{value:""}):null,Array.from(H)]},V):null]})})};Dy.displayName=Ir;var Ly="SelectTrigger",jy=w.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=hl(n),s=cr(Ly,n),a=s.disabled||r,l=Te(t,s.onTriggerChange),u=pl(n),c=w.useRef("touch"),[d,m,h]=a0(f=>{const y=u().filter(v=>!v.disabled),g=y.find(v=>v.value===s.value),p=l0(y,f,g);p!==void 0&&s.onValueChange(p.value)}),x=f=>{a||(s.onOpenChange(!0),h()),f&&(s.triggerPointerDownPosRef.current={x:Math.round(f.pageX),y:Math.round(f.pageY)})};return S.jsx(Vv,{asChild:!0,...i,children:S.jsx(pe.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":s0(s.value)?"":void 0,...o,ref:l,onClick:oe(o.onClick,f=>{f.currentTarget.focus(),c.current!=="mouse"&&x(f)}),onPointerDown:oe(o.onPointerDown,f=>{c.current=f.pointerType;const y=f.target;y.hasPointerCapture(f.pointerId)&&y.releasePointerCapture(f.pointerId),f.button===0&&f.ctrlKey===!1&&f.pointerType==="mouse"&&(x(f),f.preventDefault())}),onKeyDown:oe(o.onKeyDown,f=>{const y=d.current!=="";!(f.ctrlKey||f.altKey||f.metaKey)&&f.key.length===1&&m(f.key),!(y&&f.key===" ")&&Yk.includes(f.key)&&(x(),f.preventDefault())})})})});jy.displayName=Ly;var Fy="SelectValue",zy=w.forwardRef((e,t)=>
vendor: 15,436 bytes, line 148
148{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:s="",...a}=e,l=cr(Fy,n),{onValueNodeHasChildrenChange:u}=l,c=i!==void 0,d=Te(t,l.onValueNodeChange);return $e(()=>{u(c)},[u,c]),S.jsx(pe.span,{...a,ref:d,style:{pointerEvents:"none"},children:s0(l.value)?S.jsx(S.Fragment,{children:s}):i})});zy.displayName=Fy;var Zk="SelectIcon",$y=w.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return S.jsx(pe.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});$y.displayName=Zk;var Jk="SelectPortal",By=e=>S.jsx(bd,{asChild:!0,...e});By.displayName=Jk;var Dr="SelectContent",Uy=w.forwardRef((e,t)=>{const n=cr(Dr,e.__scopeSelect),[r,o]=w.useState();if($e(()=>{o(new DocumentFragment)},[]),!n.open){const i=r;return i?Fr.createPortal(S.jsx(Wy,{scope:e.__scopeSelect,children:S.jsx(fl.Slot,{scope:e.__scopeSelect,children:S.jsx("div",{children:e.children})})}),i):null}return S.jsx(Vy,{...e,ref:t})});Uy.displayName=Dr;var It=10,[Wy,dr]=zo(Dr),eT="SelectContentImpl",tT=Li("SelectContent.RemoveScroll"),Vy=w.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:s,side:a,sideOffset:l,align:u,alignOffset:c,arrowPadding:d,collisionBoundary:m,collisionPadding:h,sticky:x,hideWhenDetached:f,avoidCollisions:y,...g}=e,p=cr(Dr,n),[v,b]=w.useState(null),[E,P]=w.useState(null),C=Te(t,L=>b(L)),[k,N]=w.useState(null),[O,j]=w.useState(null),_=pl(n),[H,A]=w.useState(!1),V=w.useRef(!1);w.useEffect(()=>{if(v)return uk(v)},[v]),qP();const $=w.useCallback(L=>{const[X,...re]=_().map(D=>D.ref.current),[q]=re.slice(-1),Y=document.activeElement;for(const D of L)if(D===Y||(D==null||D.scrollIntoView({block:"nearest"}),D===X&&E&&(E.scrollTop=0),D===q&&E&&(E.scrollTop=E.scrollHeight),D==null||D.focus(),document.activeElement!==Y))return},[_,E]),U=w.useCallback(()=>$([k,v]),[$,k,v]);w.useEffect(()=>{H&&U()},[H,U]);const{onOpenChange:T,triggerPointerDownPosRef:R}=p;w.useEffect(()=>{if(v){let L={x:0,y:0};const X=q=>{var Y,D;L={x:Math.abs(Math.round(q.pageX)-(((Y=R.current)==null?void 0:Y.x)??0)),y:Math.abs(Math.round(q.pageY)-(((D=R.current)==null?void 0:D.y)??0))}},re=q=>{L.x<=10&&L.y<=10?q.preventDefault():v.contains(q.target)||T(!1),document.removeEventListener("pointermove",X),R.current=null};return R.current!==null&&(document.addEventListener("pointermove",X),document.addEventListener("pointerup",re,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",X),document.removeEventListener("pointerup",re,{capture:!0})}}},[v,T,R]),w.useEffect(()=>{const L=()=>T(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[T]);const[z,Q]=a0(L=>{const X=_().filter(Y=>!Y.disabled),re=X.find(Y=>Y.ref.current===document.activeElement),q=l0(X,L,re);q&&setTimeout(()=>q.ref.current.focus())}),B=w.useCallback((L,X,re)=>{const q=!V.current&&!re;(p.value!==void 0&&p.value===X||q)&&(N(L),q&&(V.current=!0))},[p.value]),G=w.useCallback(()=>v==null?void 0:v.focus(),[v]),K=w.useCallback((L,X,re)=>{const q=!V.current&&!re;(p.value!==void 0&&p.value===X||q)&&j(L)},[p.value]),ie=r==="popper"?Sc:Hy,ue=ie===Sc?{side:a,sideOffset:l,align:u,alignOffset:c,arrowPadding:d,collisionBoundary:m,collisionPadding:h,sticky:x,hideWhenDetached:f,avoidCollisions:y}:{};return S.jsx(Wy,{scope:n,content:v,viewport:E,onViewportChange:P,itemRefCallback:B,selectedItem:k,onItemLeave:G,itemTextRefCallback:K,focusSelectedItem:U,selectedItemText:O,position:r,isPositioned:H,searchRef:z,children:S.jsx(Iy,{as:tT,allowPinchZoom:!0,children:S.jsx(Cy,{asChild:!0,trapped:p.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:oe(o,L=>{var X;(X=p.trigger)==null||X.focus({preventScroll:!0}),L.preventDefault()}),children:S.jsx(Ga,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>p.onOpenChange(!1),children:S.jsx(ie,{role:"listbox",id:p.contentId,"data-state":p.open?"open":"closed",dir:p.dir,onContextMenu:L=>L.preventDefault(),...g,...ue,onPlaced:()=>A(!0),ref:C,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:oe(g.onKeyDown,L=>{const X=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!X&&L.key.length===1&&Q(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let q=_().filter(Y=>!Y.disabled).map(Y=>Y.ref.current);if(["ArrowUp","End"].includes(L.key)&&(q=q.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const Y=L.target,D=q.indexOf(Y);q=q.slice(D+1)}setTimeout(()=>$(q)),L.preventDefault()}})})})})})})});Vy.displayName=eT;var nT="SelectItemAlignedPosition",Hy=w.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,i=cr(Dr,n),s=dr(Dr,n),[a,l]=w.useState(null),[u,c]=w.useState(null),d=Te(t,C=>c(C)),m=pl(n),h=w.useRef(!1),x=w.useRef(!0),{viewport:f,selectedItem:y,selectedItemText:g,focusSelectedItem:p}=s,v=w.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&u&&f&&y&&g){const C=i.trigger.getBoundingClientRect(),k=u.getBoundingClientRect(),N=i.valueNode.getBoundingClientRect(),O=g.getBoundingClientRect();if(i.dir!=="rtl"){const Y=O.left-k.left,D=N.left-Y,J=C.left-D,se=C.width+J,xe=Math.max(se,k.width),Oe=window.innerWidth-It,Le=Gp(D,[It,Math.max(It,Oe-xe)]);a.style.minWidth=se+"px",a.style.left=Le+"px"}else{const Y=k.right-O.right,D=window.innerWidth-N.right-Y,J=window.innerWidth-C.right-D,se=C.width+J,xe=Math.max(se,k.width),Oe=window.innerWidth-It,Le=Gp(D,[It,Math.max(It,Oe-xe)]);a.style.minWidth=se+"px",a.style.right=Le+"px"}const j=m(),_=window.innerHeight-It*2,H=f.scrollHeight,A=window.getComputedStyle(u),V=parseInt(A.borderTopWidth,10),$=parseInt(A.paddingTop,10),U=parseInt(A.borderBottomWidth,10),T=parseInt(A.paddingBottom,10),R=V+$+H+T+U,z=Math.min(y.offsetHeight*5,R),Q=window.getComputedStyle(f),B=parseInt(Q.paddingTop,10),G=parseInt(Q.paddingBottom,10),K=C.top+C.height/2-It,ie=_-K,ue=y.offsetHeight/2,L=y.offsetTop+ue,X=V+$+L,re=R-X;if(X<=K){const Y=j.length>0&&y===j[j.length-1].ref.current;a.style.bottom="0px";const D=u.clientHeight-f.offsetTop-f.offsetHeight,J=Math.max(ie,ue+(Y?G:0)+D+U),se=X+J;a.style.height=se+"px"}else{const Y=j.length>0&&y===j[0].ref.current;a.style.top="0px";const J=Math.max(K,V+f.offsetTop+(Y?B:0)+ue)+re;a.style.height=J+"px",f.scrollTop=X-K+f.offsetTop}a.style.margin=`${It}px 0`,a.style.minHeight=z+"px",a.style.maxHeight=_+"px",r==null||r(),requestAnimationFrame(()=>h.current=!0)}},[m,i.trigger,i.valueNode,a,u,f,y,g,i.dir,r]);$e(()=>v(),[v]);const[b,E]=w.useState();$e(()=>{u&&E(window.getComputedStyle(u).zIndex)},[u]);const P=w.useCallback(C=>{C&&x.current===!0&&(v(),p==null||p(),x.current=!1)},[v,p]);return S.jsx(oT,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:h,onScrollButtonChange:P,children:S.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:b},children:S.jsx(pe.div,{...o,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Hy.displayName=nT;var rT="SelectPopperPosition",Sc=w.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=It,...i}=e,s=hl(n);return S.jsx(Hv,{...s,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Sc.displayName=rT;var[oT,Gd]=zo(Dr,{}),bc="SelectViewport",Yy=w.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,i=dr(bc,n),s=Gd(bc,n),a=Te(t,i.onViewportChange),l=w.useRef(0);return S.jsxs(S.Fragment,{children:[S.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),S.jsx(fl.Slot,{scope:n,children:S.jsx(pe.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:oe(o.onScroll,u=>{const c=u.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:m}=s;if(m!=null&&m.current&&d){const h=Math.abs(l.current-c.scrollTop);if(h>0){const x=window.innerHeight-It*2,f=parseFloat(d.style.minHeight),y=parseFloat(d.style.height),g=Math.max(f,y);if(g<x){const p=g+h,v=Math.min(x,p),b=p-v;d.style.height=v+"px",d.style.bottom==="0px"&&(c.scrollTop=b>0?b:0,d.style.justifyContent="flex-end")}}}l.current=c.scrollTop})})})]})});Yy.displayName=bc;var Qy="SelectGroup",[iT,sT]=zo(Qy),aT=w.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Rd();return S.jsx(iT,{scope:n,id:o,children:S.jsx(pe.div,{role:"group","aria-labelledby":o,...r,ref:t})})});aT.displayName=Qy;var Ky="SelectLabel",Gy=w.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=sT(Ky,n);return S.jsx(pe.div,{id:o.id,...r,ref:t})});Gy.displayName=Ky;var Ma="SelectItem",[lT,Xy]=zo(Ma),qy=w.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...s}=e,a=cr(Ma,n),l=dr(Ma,n),u=a.value===r,[c,d]=w.useState(i??""),[m,h]=w.useState(!1),x=Te(t,p=>{var v;return(v=l.itemRefCallback)==null?void 0:v.call(l,p,r,o)}),f=Rd(),y=w.useRef("touch"),g=()=>{o||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return S.jsx(lT,{scope:n,value:r,disabled:o,textId:f,isSelected:u,onItemTextChange:w.useCallback(p=>{d(v=>v||((p==null?void 0:p.textContent)??"").trim())},[]),children:S.jsx(fl.ItemSlot,{scope:n,value:r,disabled:o,textValue:c,children:S.jsx(pe.div,{role:"option","aria-labelledby":f,"data-highlighted":m?"":void 0,"aria-selected":u&&m,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:x,onFocus:oe(s.onFocus,()=>h(!0)),onBlur:oe(s.onBlur,()=>h(!1)),onClick:oe(s.onClick,()=>{y.current!=="mouse"&&g()}),onPointerUp:oe(s.onPointerUp,()=>{y.current==="mouse"&&g()}),onPointerDown:oe(s.onPointerDown,p=>{y.current=p.pointerType}),onPointerMove:oe(s.onPointerMove,p=>{var v;y.current=p.pointerType,o?(v=l.onItemLeave)==null||v.call(l):y.current==="mouse"&&p.currentTarget.focus({preventScroll:!0})}),onPointerLeave:oe(s.onPointerLeave,p=>{var v;p.currentTarget===document.activeElement&&((v=l.onItemLeave)==null||v.call(l))}),onKeyDown:oe(s.onKeyDown,p=>{var b;((b=l.searchRef)==null?void 0:b.current)!==""&&p.key===" "||(Qk.includes(p.key)&&g(),p.key===" "&&p.preventDefault())})})})})});qy.displayName=Ma;var ai="SelectItemText",Zy=w.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,s=cr(ai,n),a=dr(ai,n),l=Xy(ai,n),u=qk(ai,n),[c,d]=w.useState(null),m=Te(t,g=>d(g),l.onItemTextChange,g=>{var p;return(p=a.itemTextRefCallback)==null?void 0:p.call(a,g,l.value,l.disabled)}),h=c==null?void 0:c.textContent,x=w.useMemo(()=>S.jsx("option",{value:l.value,disabled:l.disabled,children:h},l.value),[l.disabled,l.value,h]),{onNativeOptionAdd:f,onNativeOptionRemove:y}=u;return $e(()=>(f(x),()=>y(x)),[f,y,x]),S.jsxs(S.Fragment,{children:[S.jsx(pe.span,{id:l.textId,...i,ref:m}),l.isSelected&&s.valueNode&&!s.valueNodeHasChildren?Fr.createPortal(i.children,s.valueNode):null]})});Zy.displayName=ai;var Jy="SelectItemIndicator",e0=w.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Xy(Jy,n).isSelected?S.jsx(pe.span,{"aria-hidden":!0,...r,ref:t}):null});e0.displayName=Jy;var Ec="SelectScrollUpButton",t0=w.forwardRef((e,t)=>{const n=dr(Ec,e.__scopeSelect),r=Gd(Ec,e.__scopeSelect),[o,i]=w.useState(!1),s=Te(t,r.onScrollButtonChange);return $e(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=l.scrollTop>0;i(u)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?S.jsx(r0,{...e,ref:s,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});t0.displayName=Ec;var Cc="SelectScrollDownButton",n0=w.forwardRef((e,t)=>{const n=dr(Cc,e.__scopeSelect),r=Gd(Cc,e.__scopeSelect),[o,i]=w.useState(!1),s=Te(t,r.onScrollButtonChange);return $e(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=l.scrollHeight-l.clientHeight,c=Math.ceil(l.scrollTop)<u;i(c)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?S.jsx(r0,{...e,ref:s,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});n0.displayName=Cc;var r0=w.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=dr("SelectScrollButton",n),s=w.useRef(null),a=pl(n),l=w.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return w.useEffect(()=>()=>l(),[l]),$e(()=>{var c;const u=a().find(d=>d.ref.current===document.activeElement);(c=u==null?void 0:u.ref.current)==null||c.scrollIntoView({block:"nearest"})},[a]),S.jsx(pe.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:oe(o.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(r,50))}),onPointerMove:oe(o.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),s.current===null&&(s.current=window.setInterval(r,50))}),onPointerLeave:oe(o.onPointerLeave,()=>{l()})})}),uT="SelectSeparator",o0=w.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return S.jsx(pe.div,{"aria-hidden":!0,...r,ref:t})});o0.displayName=uT;var Pc="SelectArrow",cT=w.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=hl(n),i=cr(Pc,n),s=dr(Pc,n);return i.open&&s.position==="popper"?S.jsx(Yv,{...o,...r,ref:t}):null});cT.displayName=Pc;var dT="SelectBubbleInput",i0=w.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=w.useRef(null),i=Te(r,o),s=ik(t);return w.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,c=Object.getOwnPropertyDescriptor(l,"value").set;if(s!==t&&c){const d=new Event("change",{bubbles:!0});c.call(a,t),a.dispatchEvent(d)}},[s,t]),S.jsx(pe.select,{...n,style:{...Wg,...n.style},ref:i,defaultValue:t})});i0.displayName=dT;function s0(e){return e===""||e===void 0}function a0(e){const t=Ht(e),n=w.useRef(""),r=w.useRef(0),o=w.useCallback(s=>{const a=n.current+s;t(a),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(a)},[t]),i=w.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return w.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function l0(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=fT(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const l=s.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function fT(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var pT=Dy,u0=jy,hT=zy,mT=$y,gT=By,c0=Uy,vT=Yy,d0=Gy,f0=qy,yT=Zy,wT=e0,p0=t0,h0=n0,m0=o0;const xT=pT,ST=hT,g0=w.forwardRef(({className:e,children:t,...n},r)=>S.jsxs(u0,{ref:r,className:De("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
148ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,S.jsx(mT,{asChild:!0,children:S.jsx(fv,{className:"h-4 w-4 opacity-50"})})]}));g0.displayName=u0.displayName;const v0=w.forwardRef(({className:e,...t},n)=>S.jsx(p0,{ref:n,className:De("flex cursor-default items-center justify-center py-1",e),...t,children:S.jsx(X1,{className:"h-4 w-4"})}));v0.displayName=p0.displayName;const y0=w.forwardRef(({className:e,...t},n)=>S.jsx(h0,{ref:n,className:De("flex cursor-default items-center justify-center py-1",e),...t,children:S.jsx(fv,{className:"h-4 w-4"})}));y0.displayName=h0.displayName;const w0=w.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>S.jsx(gT,{children:S.jsxs(c0,{ref:o,className:De("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[S.jsx(v0,{}),S.jsx(vT,{className:De("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),S.jsx(y0,{})]})}));w0.displayName=c0.displayName;const bT=w.forwardRef(({className:e,...t},n)=>S.jsx(d0,{ref:n,className:De("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));bT.displayName=d0.displayName;const x0=w.forwardRef(({className:e,children:t,...n},r)=>S.jsxs(f0,{ref:r,className:De("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[S.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:S.jsx(wT,{children:S.jsx(G1,{className:"h-4 w-4"})})}),S.jsx(yT,{children:t})]}));x0.displayName=f0.displayName;const ET=w.forwardRef(({className:e,...t},n)=>S.jsx(m0,{ref:n,className:De("-mx-1 my-1 h-px bg-muted",e),...t}));ET.displayName=m0.displayName;const CT=["United States","Canada","United Kingdom","Mexico","Brazil","Argentina","Chile","Colombia","Peru","Spain","Germany","France","Italy","Netherlands","Australia","Japan","Singapore","India","Other"],PT=({onSubmit:e,isLoading:t})=>{const[n,r]=w.useState(""),[o,i]=w.useState(""),[s,a]=w.useState(""),{toast:l}=Sd(),u=c=>{if(c.preventDefault(),!n.trim()||!o.trim()||!s){l({title:"Missing Information",description:"Please fill in all fields to continue.",variant:"destructive"});return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o)){l({title:"Invalid Email",description:"Please enter a valid email address.",variant:"destructive"});return}e({fullName:n,email:o,country:s})};return S.jsxs("section",{id:"form-section",className:"min-h-[100dvh] flex items-center justify-center px-4 py-6 relative",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-hero"}),S.jsx("div",{className:"relative z-10 w-full max-w-2xl",children:S.jsxs("div",{className:"bg-gradient-card backdrop-blur-xl rounded-3xl p-6 md:p-8 shadow-premium border border-border/50 animate-scale-in",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-neon opacity-5 rounded-3xl blur-xl -z-10"}),S.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-2 bg-gradient-neon bg-clip-text text-transparent",children:"Ready to Win?"}),S.jsx("p",{className:"text-center text-muted-foreground text-base mb-2",children:"Enter your details to unlock the wheel"}),S.jsx("p",{className:"text-center text-sm text-primary/80 font-medium mb-4 tracking-wide",children:"One spin. One reward. Make it count."}),S.jsxs("form",{onSubmit:u,className:"space-y-4",children:[S.jsxs("div",{className:"space-y-2",children:[S.jsx(Xs,{htmlFor:"fullName",className:"text-foreground text-base font-medium",children:"Full Name"}),S.jsx(wc,{id:"fullName",type:"text",value:n,onChange:c=>r(c.target.value),placeholder:"John Doe",className:"bg-muted/50 border-border/50 focus:border-primary/50 focus:ring-primary/20 rounded-xl h-12 text-base",disabled:t})]}),S.jsxs("div",{className:"space-y-2",children:[S.jsx(Xs,{htmlFor:"email",className:"text-foreground text-base font-medium",children:"Email registered with Ontop"}),S.jsx(wc,{id:"email",type:"email",value:o,onChange:c=>i(c.target.value),placeholder:"[email protected]",className:"bg-muted/50 border-border/50 focus:border-primary/50 focus:ring-primary/20 rounded-xl h-12 text-base",disabled:t})]}),S.jsxs("div",{className:"space-y-2",children:[S.jsx(Xs,{htmlFor:"country",className:"text-foreground text-base font-medium",children:"Country"}),S.jsxs(xT,{value:s,onValueChange:a,disabled:t,children:[S.jsx(g0,{className:"bg-muted/50 border-border/50 focus:border-primary/50 focus:ring-primary/20 rounded-xl h-12 text-base",children:S.jsx(ST,{placeholder:"Select your country"})}),S.jsx(w0,{className:"bg-card border-border",children:CT.map(c=>S.jsx(x0,{value:c,children:c},c))})]})]}),S.jsx(ts,{type:"submit",className:"w-full bg-gradient-neon text-white font-semibold py-4 text-lg rounded-full shadow-glow-purple hover:shadow-glow-pink transition-all duration-300 hover:scale-105 mt-4",disabled:t,children:t?"Checking...":"Unlock the Wheel"})]})]})})]})},Jo=["75% off Uber","60% off Starbucks","80% off App Store/Google Play (max $10 USD)","30% cashback Rappi (max $10 USD)","20% cashback Delivery (max $5 USD)","50% off ChatGPT (max $10 USD)","50% off YouTube Premium (max $7 USD)","50% off HBO (max $11 USD)","40% off Kindle (max $10 USD)","30% off Audible (max $5 USD)","20% off Steam (max $10 USD)","3% off Fashion (max $10 USD)"],kT=["#0A0A33","#A259FF","#101042","#7928CA","#2A2A72","#A259FF","#0A0A33","#7928CA","#101042","#A259FF","#2A2A72","#7928CA"],TT=({onSpinComplete:e,selectedPrize:t})=>{const[n,r]=w.useState(!1),[o,i]=w.useState(0),[s,a]=w.useState(!1),l=()=>{if(n||s)return;r(!0),a(!0);const u=Jo.indexOf(t),c=360/Jo.length,d=360-(u*c+c/2),h=8*360+d;i(h),setTimeout(()=>{r(!1),e(t)},5e3)};return S.jsxs("section",{className:"min-h-[100dvh] flex flex-col px-4 py-4 relative overflow-hidden",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-hero"}),S.jsx("div",{className:"flex-1 flex items-center justify-center",children:S.jsxs("div",{className:"relative z-10 w-full max-w-sm mx-auto text-center",children:[S.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-2 bg-gradient-neon bg-clip-text text-transparent animate-fade-in",children:"Spin to Win!"}),!s&&S.jsx("p",{className:"text-sm text-primary/80 font-medium mb-4 animate-fade-in tracking-wide",style:{animationDelay:"0.2s"},children:"One spin. One reward. Make it count."}),S.jsx("div",{className:"relative w-full max-w-sm mx-auto aspect-square mb-3",children:S.jsxs("div",{className:"absolute inset-0 animate-scale-in",children:[S.jsx("div",{className:`absolute inset-0 rounded-full blur-[100px] transition-all duration-1000 ${n?"opacity-60 scale-110":"opacity-40"}`,style:{background:n?"linear-gradient(135deg, #7928CA, #A259FF, #2A2A72)":"linear-gradient(135deg, #7928CA, #A259FF)"}}),S.jsxs("svg",{viewBox:"0 0 200 200",className:`w-full h-full transition-transform duration-[5000ms] ${s?"":"cursor-pointer hover:scale-105"}`,onClick:l,style:{transform:`rotate(${o}deg)`,transitionTimingFunction:"cubic-bezier(0.2, 0.8, 0.3, 1)",willChange:"transform",filter:n?"drop-shadow(0 0 50px rgba(121, 40, 202, 0.6))":"drop-shadow(0 0 30px rgba(162, 89, 255, 0.5))",transition:n?"transform 5000ms cubic-bezier(0.2, 0.8, 0.3, 1), filter 1000ms":"all 300ms"},children:[Jo.map((u,c)=>{const d=360/Jo.length*c,m=360/Jo.length*(c+1),h=100+95*Math.cos(d*Math.PI/180),x=100+95*Math.sin(d*Math.PI/180),f=100+95*Math.cos(m*Math.PI/180),y=100+95*Math.sin(m*Math.PI/180);return S.jsx("g",{children:S.jsx("path",{d:`M 100 100 L ${h} ${x} A 95 95 0 0 1 ${f} ${y} Z`,fill:`url(#sliceGradient${c})`,stroke:"#A259FF",strokeWidth:"0.8",opacity:"0.95"})},c)}),S.jsx("circle",{cx:"100",cy:"100",r:"95",fill:"none",stroke:"url
148(#rimGradient)",strokeWidth:"2"}),S.jsx("circle",{cx:"100",cy:"100",r:"15",fill:"url(#centerGradient)",stroke:"url(#rimGradient)",strokeWidth:"2"}),S.jsxs("defs",{children:[kT.map((u,c)=>S.jsxs("linearGradient",{id:`sliceGradient${c}`,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[S.jsx("stop",{offset:"0%",stopColor:u}),S.jsx("stop",{offset:"100%",stopColor:u,stopOpacity:"0.7"})]},c)),S.jsxs("linearGradient",{id:"centerGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[S.jsx("stop",{offset:"0%",stopColor:"#7928CA"}),S.jsx("stop",{offset:"50%",stopColor:"#2A2A72"}),S.jsx("stop",{offset:"100%",stopColor:"#A259FF"})]}),S.jsxs("linearGradient",{id:"rimGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[S.jsx("stop",{offset:"0%",stopColor:"#A259FF"}),S.jsx("stop",{offset:"50%",stopColor:"#7928CA"}),S.jsx("stop",{offset:"100%",stopColor:"#A259FF"})]})]})]}),S.jsx("div",{className:`absolute top-0 left-1/2 -translate-x-1/2 -translate-y-2 z-10 transition-transform duration-300 ${n?"scale-110":"scale-100"}`,children:S.jsx("div",{className:"w-0 h-0 border-l-[15px] border-r-[15px] border-t-[30px] border-l-transparent border-r-transparent border-t-white drop-shadow-lg"})})]})}),!s&&S.jsx(ts,{onClick:l,disabled:n,className:"mt-2 bg-gradient-neon text-white font-semibold px-8 py-3 text-base rounded-full shadow-glow-purple hover:shadow-glow-pink transition-all duration-300 hover:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",children:n?"Spinning...":"Or Click Here to Spin"})]})}),S.jsx("div",{className:"relative z-10 w-full pb-4",children:S.jsx(Sy,{})})]})};function Ct(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function sr(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function NT(e,t){const n=Ct(e);return isNaN(t)?sr(e,NaN):(n.setDate(n.getDate()+t),n)}const S0=6048e5,RT=864e5;let OT={};function ml(){return OT}function Vi(e,t){var a,l,u,c;const n=ml(),r=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=Ct(e),i=o.getDay(),s=(i<r?7:0)+i-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function Aa(e){return Vi(e,{weekStartsOn:1})}function b0(e){const t=Ct(e),n=t.getFullYear(),r=sr(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=Aa(r),i=sr(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=Aa(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function sh(e){const t=Ct(e);return t.setHours(0,0,0,0),t}function ah(e){const t=Ct(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function MT(e,t){const n=sh(e),r=sh(t),o=+n-ah(n),i=+r-ah(r);return Math.round((o-i)/RT)}function AT(e){const t=b0(e),n=sr(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Aa(n)}function _T(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function IT(e){if(!_T(e)&&typeof e!="number")return!1;const t=Ct(e);return!isNaN(Number(t))}function DT(e){const t=Ct(e),n=sr(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const LT={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},jT=(e,t,n)=>{let r;const o=LT[e];
vendor: 4,863 bytes, line 148
148return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function au(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const FT={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},zT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$T={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},BT={date:au({formats:FT,defaultWidth:"full"}),time:au({formats:zT,defaultWidth:"full"}),dateTime:au({formats:$T,defaultWidth:"full"})},UT={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},WT=(e,t,n,r)=>UT[e];function ei(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):s;o=e.formattingValues[a]||e.formattingValues[s]}else{const s=e.defaultWidth,a=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[a]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const VT={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},HT={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},YT={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},QT={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},KT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},GT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},XT=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},qT={ordinalNumber:XT,era:ei({values:VT,defaultWidth:"wide"}),quarter:ei({values:HT,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ei({values:YT,defaultWidth:"wide"}),day:ei({values:QT,defaultWidth:"wide"}),dayPeriod:ei({values:KT,defaultWidth:"wide",formattingValues:GT,defaultFormattingWidth:"wide"})};function ti(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const s=i[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?JT(a,d=>d.test(s)):ZT(a,d=>d.test(s));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(s.length);return{value:u,rest:c}}}function ZT(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function JT(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function eN(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const a=t.slice(o.length);return{value:s,rest:a}}}const tN=/^(\d+)(th|st|nd|rd)?/i,nN=/\d+/i,rN={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},oN={any:[/^b/i,/^(a|c)/i]},iN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},sN={any:[/1/i,/2/i,/3/i,/4/i]},aN={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},lN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]}
vendor: 12,179 bytes, line 148
148,uN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},cN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},dN={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},fN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},pN={ordinalNumber:eN({matchPattern:tN,parsePattern:nN,valueCallback:e=>parseInt(e,10)}),era:ti({matchPatterns:rN,defaultMatchWidth:"wide",parsePatterns:oN,defaultParseWidth:"any"}),quarter:ti({matchPatterns:iN,defaultMatchWidth:"wide",parsePatterns:sN,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ti({matchPatterns:aN,defaultMatchWidth:"wide",parsePatterns:lN,defaultParseWidth:"any"}),day:ti({matchPatterns:uN,defaultMatchWidth:"wide",parsePatterns:cN,defaultParseWidth:"any"}),dayPeriod:ti({matchPatterns:dN,defaultMatchWidth:"any",parsePatterns:fN,defaultParseWidth:"any"})},hN={code:"en-US",formatDistance:jT,formatLong:BT,formatRelative:WT,localize:qT,match:pN,options:{weekStartsOn:0,firstWeekContainsDate:1}};function mN(e){const t=Ct(e);return MT(t,DT(t))+1}function gN(e){const t=Ct(e),n=+Aa(t)-+AT(t);return Math.round(n/S0)+1}function E0(e,t){var c,d,m,h;const n=Ct(e),r=n.getFullYear(),o=ml(),i=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(m=o.locale)==null?void 0:m.options)==null?void 0:h.firstWeekContainsDate)??1,s=sr(e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const a=Vi(s,t),l=sr(e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const u=Vi(l,t);return n.getTime()>=a.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function vN(e,t){var a,l,u,c;const n=ml(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,o=E0(e,t),i=sr(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Vi(i,t)}function yN(e,t){const n=Ct(e),r=+Vi(n,t)-+vN(n,t);return Math.round(r/S0)+1}function de(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const _n={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return de(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):de(n+1,2)},d(e,t){return de(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return de(e.getHours()%12||12,t.length)},H(e,t){return de(e.getHours(),t.length)},m(e,t){return de(e.getMinutes(),t.length)},s(e,t){return de(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return de(o,t.length)}},Yr={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},lh={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return _n.y(e,t)},Y:function(e,t,n,r){const o=E0(e,r),i=o>0?o:1-o;if(t==="YY"){const s=i%100;return de(s,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):de(i,t.length)},R:function(e,t){const n=b0(e);return de(n,t.length)},u:function(e,t){const n=e.getFullYear();return de(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return de(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return de(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return _n.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return de(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=yN(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):de(o,t.length)},I:function(e,t,n){const r=gN(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):de(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):_n.d(e,t)},D:function(e,t,n){const r=mN(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):de(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return de(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return de(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return de(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=Yr.noon:r===0?o=Yr.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=Yr.evening:r>=12?o=Yr.afternoon:r>=4?o=Yr.morning:o=Yr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return _n.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):_n.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):de(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):de(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):_n.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):_n.s(e,t)},S:function(e,t){return _n.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return ch(r);case"XXXX":case"XX":return mr(r);case"XXXXX":case"XXX":default:return mr(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return ch(r);case"xxxx":case"xx":return mr(r);case"xxxxx":case"xxx":default:return mr(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+uh(r,":");case"OOOO":default:return"GMT"+mr(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+uh(r,":");case"zzzz":default:return"GMT"+mr(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return de(r,t.length)},T:function(e,t,n){const r=e.getTime();return de(r,t.length)}};function uh(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+de(i,2)}function ch(e,t){return e%60===0?(e>0?"-":"+")+de(Math.abs(e)/60,2):mr(e,t)}function mr(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=de(Math.trunc(r/60),2),i=de(r%60,2);return n+o+t+i}const dh=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},C0=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},wN=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return dh(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",dh(r,t)).replace("{{time}}",C0(o,t))},xN={p:C0,P:wN},SN=/^D+$/,bN=/^Y+$/,EN=["D","DD","YY","YYYY"];function CN(e){return SN.test(e)}function PN(e){return bN.test(e)}function kN(e,t,n){const r=TN(e,t,n);if(console.warn(r),EN.includes(e))throw new RangeError(r)}function TN(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const NN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,RN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ON=/^'([^]*?)'?$/,MN=/''/g,AN=/[a-zA-Z]/;function _N(e,t,n){var c,d,m,h;const r=ml(),o=r.locale??hN,i=r.firstWeekContainsDate??((d=(c=r.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,s=r.weekStartsOn??((h=(m=r.locale)==null?void 0:m.options)==null?void 0:h.weekStartsOn)??0,a=Ct(e);if(!IT(a))throw new RangeError("Invalid time value");let l=t.match(RN).map(x=>{const f=x[0];if(f==="p"||f==="P"){const y=xN[f];return y(x,o.formatLong)}return x}).join("").match(NN).map(x=>
148{if(x==="''")return{isToken:!1,value:"'"};const f=x[0];if(f==="'")return{isToken:!1,value:IN(x)};if(lh[f])return{isToken:!0,value:x};if(f.match(AN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:x}});o.localize.preprocessor&&(l=o.localize.preprocessor(a,l));const u={firstWeekContainsDate:i,weekStartsOn:s,locale:o};return l.map(x=>{if(!x.isToken)return x.value;const f=x.value;(PN(f)||CN(f))&&kN(f,t,String(e));const y=lh[f[0]];return y(a,f,o.localize,u)}).join("")}function IN(e){const t=e.match(ON);return t?t[1].replace(MN,"'"):e}const DN=({prize:e})=>{const t=_N(NT(new Date,15),"MMMM dd, yyyy");return S.jsxs("section",{className:"min-h-[100dvh] flex items-center justify-center px-4 py-6 relative",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-hero"}),S.jsx("div",{className:"absolute top-1/4 left-1/4 w-2 h-2 bg-neon-purple rounded-full animate-ping"}),S.jsx("div",{className:"absolute top-1/3 right-1/4 w-2 h-2 bg-neon-pink rounded-full animate-ping",style:{animationDelay:"0.5s"}}),S.jsx("div",{className:"absolute bottom-1/3 left-1/3 w-2 h-2 bg-neon-blue rounded-full animate-ping",style:{animationDelay:"1s"}}),S.jsx("div",{className:"relative z-10 w-full max-w-2xl mx-auto text-center",children:S.jsxs("div",{className:"bg-gradient-card backdrop-blur-xl rounded-3xl p-6 md:p-8 shadow-premium border border-border/50 animate-scale-in",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-neon opacity-10 rounded-3xl blur-2xl -z-10"}),S.jsx("div",{className:"mb-4 text-4xl animate-bounce",children:"🎉"}),S.jsx("h2",{className:"text-2xl font-bold mb-4 text-foreground",children:"Congratulations!"}),S.jsx("div",{className:"mb-4 animate-float",children:S.jsxs("div",{className:"inline-block relative",children:[S.jsx("img",{src:vy,alt:"Ontop Visa Platinum Card",className:"w-full max-w-[200px] mx-auto drop-shadow-2xl",style:{filter:"drop-shadow(0 0 40px rgba(138, 43, 226, 0.5))"}}),S.jsx("div",{className:"absolute inset-0 bg-gradient-neon opacity-20 blur-2xl -z-10"})]})}),S.jsx("div",{className:"bg-muted/30 rounded-2xl p-4 mb-3 border border-primary/30",children:S.jsxs("p",{className:"text-lg md:text-xl font-semibold bg-gradient-neon bg-clip-text text-transparent",children:["You got: ",e]})}),S.jsxs("p",{className:"text-xs text-muted-foreground mb-3 flex items-center justify-center gap-2",children:[S.jsx("span",{children:"⚠️"}),S.jsxs("span",{children:["Valid until ",t]})]}),S.jsx("p",{className:"text-muted-foreground mb-4 text-sm",children:"Use your Ontop Card on your first purchase to redeem your reward."}),S.jsx(ts,{size:"lg",onClick:()=>window.location.href="https://www.getontop.com/",className:"bg-gradient-neon text-white font-semibold px-8 py-4 text-base rounded-full shadow-glow-purple hover:shadow-glow-pink transition-all duration-300 hover:scale-105",children:"Start Using Your Card"})]})})]})},LN=({onClose:e})=>S.jsxs("section",{className:"min-h-screen flex items-center justify-center px-4 py-20 relative",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-hero"}),S.jsx("div",{className:"relative z-10 w-full max-w-md mx-auto text-center",children:S.jsxs("div",{className:"bg-gradient-card backdrop-blur-xl rounded-3xl p-12 shadow-premium border border-border/50 animate-scale-in",children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-neon opacity-10 rounded-3xl blur-2xl -z-10"}),S.jsx("div",{className:"mb-6 text-6xl",children:"🎡"}),S.jsx("h2",{className:"text-2xl font-bold mb-4 bg-gradient-neon bg-clip-text text-transparent",children:"You Already Spun the Wheel"}),S.jsx("p",{className:"text-muted-foreground mb-8",children:"Thanks for playing! Each person can only spin once."}),S.jsx("button",{onClick:e,className:"text-primary hover:text-primary/80 transition-colors duration-200 font-medium",children:"Close"})]})})]}),jN=async(e,t)=>(console.log("🧪 TEST MODE: Bypassing Google Sheets check for:",{fullName:e,email:t}),!1),FN=async e=>(console.log("🧪 TEST MODE: Would save to Google Sheets:",e),Promise.resolve()),zN="https://n8n.tools.getontop.com/webhook/lovable-wheel-capture",$N=zN,fh=["75% off Uber","60% off Starbucks","80% off App Store/Google Play (max $10 USD)","30% cashback Rappi (max $10 USD)","20% cashback Delivery (max $5 USD)","50% off ChatGPT (max $10 USD)","50% off YouTube Premium (max $7 USD)","50% off HBO (max $11 USD)","40% off Kindle (max $10 USD)","30% off Audible (max $5 USD)","20% off Steam (max $10 USD)","3% off Fashion (max $10 USD)"],BN=()=>{const[e,t]=w.useState("hero"),[n,r]=w.useState(!1),[o,i]=w.useState(""),[s,a]=w.useState(null),{toast:l}=Sd(),u=async x=>{if(!s)return;const f={body:{full_name:s.fullName,email:s.email,country:s.country,prize:x}};try{await fetch($N,{method:"POST",headers:{"Content-Type":"application/json"},mode:"no-cors",body:JSON.stringify(f)}),console.log("Webhook sent successfully:",f)}
148catch(y){console.error("Error sending webhook:",y)}},c=()=>{const x=document.getElementById("form-section");x&&x.scrollIntoView({behavior:"smooth"}),t("form")},d=async x=>{r(!0),a(x);try{if(await jN(x.fullName,x.email)){t("already-played"),r(!1);return}const y=fh[Math.floor(Math.random()*fh.length)];i(y),await FN({fullName:x.fullName,email:x.email,country:x.country,prize:y,timestamp:new Date().toISOString()}),r(!1),t("wheel"),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100)}catch(f){r(!1),l({title:"Error",description:"Something went wrong. Please try again.",variant:"destructive"}),console.error("Error submitting form:",f)}},m=()=>{u(o),t("result"),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100)},h=()=>{t("hero"),window.scrollTo({top:0,behavior:"smooth"})};return S.jsxs("div",{className:"min-h-screen bg-gradient-hero",children:[e==="hero"&&S.jsx(YP,{onPlayClick:c}),(e==="form"||e==="hero")&&S.jsx(PT,{onSubmit:d,isLoading:n}),e==="wheel"&&S.jsx(TT,{onSpinComplete:m,selectedPrize:o}),e==="result"&&S.jsx(DN,{prize:o}),e==="already-played"&&S.jsx(LN,{onClose:h})]})},UN=()=>{const e=gy();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),S.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:S.jsxs("div",{className:"text-center",children:[S.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),S.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),S.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},WN=new SC,VN=()=>S.jsx(EC,{client:WN,children:S.jsxs(qE,{children:[S.jsx(_S,{}),S.jsx(db,{}),S.jsx(lP,{children:S.jsxs(iP,{children:[S.jsx(mc,{path:"/",element:S.jsx(BN,{})}),S.jsx(mc,{path:"*",element:S.jsx(UN,{})})]})})]})});Dg(document.getElementById("root")).render(S.jsx(VN,{}));

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.