PageSourceSearch

https://shakthisat.org/assets/index-DwbNAFEp.js

js shakthisat.org collected 2026-10-04 01:37:47 UTC 454,170 bytes, 121 lines download raw bytes

vendor: 8,209 bytes, lines 1-9
1var lh=e=>{throw TypeError(e)};var Il=(e,t,n)=>t.has(e)||lh("Cannot "+n);var R=(e,t,n)=>(Il(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?lh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(Il(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),je=(e,t,n)=>(Il(e,t,"access private method"),n);var vs=(e,t,n,r)=>({set _(i){H(e,t,i,n)},get _(){return R(e,t,r)}});function h1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function kg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rg={exports:{}},Za={},Ag={exports:{}},X={};/**
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 ns=Symbol.for("react.element"),p1=Symbol.for("react.portal"),m1=Symbol.for("react.fragment"),g1=Symbol.for("react.strict_mode"),y1=Symbol.for("react.profiler"),v1=Symbol.for("react.provider"),x1=Symbol.for("react.context"),w1=Symbol.for("react.forward_ref"),S1=Symbol.for("react.suspense"),E1=Symbol.for("react.memo"),T1=Symbol.for("react.lazy"),uh=Symbol.iterator;function b1(e){return e===null||typeof e!="object"?null:(e=uh&&e[uh]||e["@@iterator"],typeof e=="function"?e:null)}var Mg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ng=Object.assign,Dg={};function zi(e,t,n){this.props=e,this.context=t,this.refs=Dg,this.updater=n||Mg}zi.prototype.isReactComponent={};zi.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")};zi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function jg(){}jg.prototype=zi.prototype;function dd(e,t,n){this.props=e,this.context=t,this.refs=Dg,this.updater=n||Mg}var fd=dd.prototype=new jg;fd.constructor=dd;Ng(fd,zi.prototype);fd.isPureReactComponent=!0;var ch=Array.isArray,Lg=Object.prototype.hasOwnProperty,hd={current:null},Og={key:!0,ref:!0,__self:!0,__source:!0};function Ig(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Lg.call(t,r)&&!Og.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ns,type:e,key:o,ref:s,props:i,_owner:hd.current}}function C1(e,t){return{$$typeof:ns,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function pd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ns}function P1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var dh=/\/+/g;function _l(e,t){return typeof e=="object"&&e!==null&&e.key!=null?P1(""+e.key):t.toString(36)}function Ks(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ns:case p1:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+_l(s,0):r,ch(i)?(n="",e!=null&&(n=e.replace(dh,"$&/")+"/"),Ks(i,t,n,"",function(u){return u})):i!=null&&(pd(i)&&(i=C1(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(dh,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",ch(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+_l(o,a);s+=Ks(o,t,n,l,i)}else if(l=b1(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+_l(o,a++),s+=Ks(o,t,n,l,i);else if(o==="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}function xs(e,t,n){if(e==null)return e;var r=[],i=0;return Ks(e,r,"","",function(o){return t.call(n,o,i++)}),r}function k1(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 Ge={current:null},Gs={transition:null},R1={ReactCurrentDispatcher:Ge,ReactCurrentBatchConfig:Gs,ReactCurrentOwner:hd};function _g(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:xs,forEach:function(e,t,n){xs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xs(e,function(){t++}),t},toArray:function(e){return xs(e,function(t){return t})||[]},only:function(e){if(!pd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=zi;X.Fragment=m1;X.Profiler=y1;X.PureComponent=dd;X.StrictMode=g1;X.Suspense=S1;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R1;X.act=_g;X.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=Ng({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=hd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Lg.call(t,l)&&!Og.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:ns,type:e.type,key:i,ref:o,props:r,_owner:s}};X.createContext=function(e){return e={$$typeof:x1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:v1,_context:e},e.Consumer=e};X.createElement=Ig;X.createFactory=function(e){var t=Ig.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:w1,render:e}};X.isValidElement=pd;X.lazy=function(e){return{$$typeof:T1,_payload:{_status:-1,_result:e},_init:k1}};X.memo=function(e,t){return{$$typeof:E1,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Gs.transition;Gs.transition={};try{e()}finally{Gs.transition=t}};X.unstable_act=_g;X.useCallback=function(e,t){return Ge.current.useCallback(e,t)};X.useContext=function(e){return Ge.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Ge.current.useDeferredValue(e)};X.useEffect=function(e,t){return Ge.current.useEffect(e,t)};X.useId=function(){return Ge.current.useId()};X.useImperativeHandle=function(e,t,n){return Ge.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Ge.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Ge.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Ge.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Ge.current.useReducer(e,t,n)};X.useRef=function(e){return Ge.current.useRef(e)};
vendor: 4,888 bytes, lines 9-25
9X.useState=function(e){return Ge.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Ge.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Ge.current.useTransition()};X.version="18.3.1";Ag.exports=X;var w=Ag.exports;const j=kg(w),Fg=h1({__proto__:null,default:j},[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 A1=w,M1=Symbol.for("react.element"),N1=Symbol.for("react.fragment"),D1=Object.prototype.hasOwnProperty,j1=A1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,L1={key:!0,ref:!0,__self:!0,__source:!0};function Vg(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)D1.call(t,r)&&!L1.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:M1,type:e,key:o,ref:s,props:i,_owner:j1.current}}Za.Fragment=N1;Za.jsx=Vg;Za.jsxs=Vg;Rg.exports=Za;var S=Rg.exports,zg={exports:{}},ut={},Bg={exports:{}},$g={};/**
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(k,A){var O=k.length;k.push(A);e:for(;0<O;){var U=O-1>>>1,B=k[U];if(0<i(B,A))k[U]=A,k[O]=B,O=U;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var A=k[0],O=k.pop();if(O!==A){k[0]=O;e:for(var U=0,B=k.length,Y=B>>>1;U<Y;){var q=2*(U+1)-1,ve=k[q],De=q+1,ee=k[De];if(0>i(ve,O))De<B&&0>i(ee,ve)?(k[U]=ee,k[De]=O,U=De):(k[U]=ve,k[q]=O,U=q);else if(De<B&&0>i(ee,O))k[U]=ee,k[De]=O,U=De;else break e}}return A}function i(k,A){var O=k.sortIndex-A.sortIndex;return O!==0?O:k.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,h=!1,v=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(k){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=k)r(u),A.sortIndex=A.expirationTime,t(l,A);else break;A=n(u)}}function E(k){if(g=!1,y(k),!v)if(n(l)!==null)v=!0,$(T);else{var A=n(u);A!==null&&V(E,A.startTime-k)}}function T(k,A){v=!1,g&&(g=!1,p(P),P=-1),h=!0;var O=f;try{for(y(A),d=n(l);d!==null&&(!(d.expirationTime>A)||k&&!z());){var U=d.callback;if(typeof U=="function"){d.callback=null,f=d.priorityLevel;var B=U(d.expirationTime<=A);A=e.unstable_now(),typeof B=="function"?d.callback=B:d===n(l)&&r(l),y(A)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var q=n(u);q!==null&&V(E,q.startTime-A),Y=!1}return Y}finally{d=null,f=O,h=!1}}var b=!1,C=null,P=-1,M=5,N=-1;function z(){return!(e.unstable_now()-N<M)}function I(){if(C!==null){var k=e.unstable_now();N=k;var A=!0;try{A=C(!0,k)}finally{A?K():(b=!1,C=null)}}else b=!1}var K;if(typeof m=="function")K=function(){m(I)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,Q=L.port2;L.port1.onmessage=I,K=function(){Q.postMessage(null)}}else K=function(){x(I,0)};function $(k){C=k,b||(b=!0,K())}function V(k,A){P=x(function(){k(e.unstable_now())},A)}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(k){k.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,$(T))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(f){case 1:case 2:case 3:var A=3;break;default:A=f}var O=f;f=A;try{return k()}finally{f=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,A){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var O=f;f=k;try{return A()}finally{f=O}},e.unstable_scheduleCallback=function(k,A,O){var U=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?U+O:U):O=U,k){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}
vendor: 4,614 bytes, lines 25-33
25return B=O+B,k={id:c++,callback:A,priorityLevel:k,startTime:O,expirationTime:B,sortIndex:-1},O>U?(k.sortIndex=O,t(u,k),n(l)===null&&k===n(u)&&(g?(p(P),P=-1):g=!0,V(E,O-U))):(k.sortIndex=B,t(l,k),v||h||(v=!0,$(T))),k},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(k){var A=f;return function(){var O=f;f=A;try{return k.apply(this,arguments)}finally{f=O}}}})($g);Bg.exports=$g;var O1=Bg.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 I1=w,lt=O1;function D(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 Ug=new Set,Ro={};function _r(e,t){Ai(e,t),Ai(e+"Capture",t)}function Ai(e,t){for(Ro[e]=t,e=0;e<t.length;e++)Ug.add(t[e])}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ju=Object.prototype.hasOwnProperty,_1=/^[: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]*$/,fh={},hh={};function F1(e){return ju.call(hh,e)?!0:ju.call(fh,e)?!1:_1.test(e)?hh[e]=!0:(fh[e]=!0,!1)}function V1(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 z1(e,t,n,r){if(t===null||typeof t>"u"||V1(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 Qe(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ne[e]=new Qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ne[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ne[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ne[e]=new Qe(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){Ne[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ne[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ne[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ne[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ne[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var md=/[\-:]([a-z])/g;function gd(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
33-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(md,gd);Ne[t]=new Qe(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(md,gd);Ne[t]=new Qe(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(md,gd);Ne[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ne[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ne.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ne[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function yd(e,t,n,r){var i=Ne.hasOwnProperty(t)?Ne[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(z1(t,n,i,r)&&(n=null),r||i===null?F1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var vn=I1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ws=Symbol.for("react.element"),Qr=Symbol.for("react.portal"),Yr=Symbol.for("react.fragment"),vd=Symbol.for("react.strict_mode"),Lu=Symbol.for("react.profiler"),Wg=Symbol.for("react.provider"),Hg=Symbol.for("react.context"),xd=Symbol.for("react.forward_ref"),Ou=Symbol.for("react.suspense"),Iu=Symbol.for("react.suspense_list"),wd=Symbol.for("react.memo"),Nn=Symbol.for("react.lazy"),Kg=Symbol.for("react.offscreen"),ph=Symbol.iterator;function qi(e){return e===null||typeof e!="object"?null:(e=ph&&e[ph]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Object.assign,Fl;function lo(e){if(Fl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fl=t&&t[1]||""}return`
34`+Fl+e}var Vl=!1;function zl(e,t){if(!e||Vl)return"";Vl=!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()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),o=r.stack.split(`
36`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
37`+i[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{Vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?lo(e):""}function B1(e){switch(e.tag){case 5:return lo(e.type);case 16:return lo("Lazy");case 13:return lo("Suspense");case 19:return lo("SuspenseList");case 0:case 2:case 15:return e=zl(e.type,!1),e;case 11:return e=zl(e.type.render,!1),e;case 1:return e=zl(e.type,!0),e;default:return""}}function _u(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 Yr:return"Fragment";case Qr:return"Portal";case Lu:return"Profiler";case vd:return"StrictMode";case Ou:return"Suspense";case Iu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hg:return(e.displayName||"Context")+".Consumer";case Wg:return(e._context.displayName||"Context")+".Provider";case xd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wd:return t=e.displayName||null,t!==null?t:_u(e.type)||"Memo";case Nn:t=e._payload,e=e._init;try{return _u(e(t))}catch{}}return null}function $1(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 _u(t);case 8:return t===vd?"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 Zn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function U1(e){var t=Gg(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.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 Ss(e){e._valueTracker||(e._valueTracker=U1(e))}function Qg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ha(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 Fu(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function mh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zn(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 Yg(e,t){t=t.checked,t!=null&&yd(e,"checked",t,!1)}function Vu(e,t){Yg(e,t);var n=Zn(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")?zu(e,t.type,n):t.hasOwnProperty("defaultValue")&&zu(e,t.type,Zn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gh(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 zu(e,t,n){(t!=="number"||ha(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var uo=Array.isArray;function di(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Zn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Bu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function yh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(uo(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Zn(n)}}function Xg(e,t){var n=Zn(t.value),r=Zn(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 vh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function qg(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 $u(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?qg(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Es,Zg=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Es=Es||document.createElement("div"),Es.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Es.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ao(e,t){if(t){var n=e.firstChild;
vendor: 10,005 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var po={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},W1=["Webkit","ms","Moz","O"];Object.keys(po).forEach(function(e){W1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),po[t]=po[e]})});function Jg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||po.hasOwnProperty(e)&&po[e]?(""+t).trim():t+"px"}function ey(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Jg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var H1=pe({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 Uu(e,t){if(t){if(H1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Wu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hu=null;function Sd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ku=null,fi=null,hi=null;function xh(e){if(e=os(e)){if(typeof Ku!="function")throw Error(D(280));var t=e.stateNode;t&&(t=rl(t),Ku(e.stateNode,e.type,t))}}function ty(e){fi?hi?hi.push(e):hi=[e]:fi=e}function ny(){if(fi){var e=fi,t=hi;if(hi=fi=null,xh(e),t)for(e=0;e<t.length;e++)xh(t[e])}}function ry(e,t){return e(t)}function iy(){}var Bl=!1;function oy(e,t,n){if(Bl)return e(t,n);Bl=!0;try{return ry(e,t,n)}finally{Bl=!1,(fi!==null||hi!==null)&&(iy(),ny())}}function Mo(e,t){var n=e.stateNode;if(n===null)return null;var r=rl(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(D(231,t,typeof n));return n}var Gu=!1;if(dn)try{var Zi={};Object.defineProperty(Zi,"passive",{get:function(){Gu=!0}}),window.addEventListener("test",Zi,Zi),window.removeEventListener("test",Zi,Zi)}catch{Gu=!1}function K1(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var mo=!1,pa=null,ma=!1,Qu=null,G1={onError:function(e){mo=!0,pa=e}};function Q1(e,t,n,r,i,o,s,a,l){mo=!1,pa=null,K1.apply(G1,arguments)}function Y1(e,t,n,r,i,o,s,a,l){if(Q1.apply(this,arguments),mo){if(mo){var u=pa;mo=!1,pa=null}else throw Error(D(198));ma||(ma=!0,Qu=u)}}function Fr(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 sy(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 wh(e){if(Fr(e)!==e)throw Error(D(188))}function X1(e){var t=e.alternate;if(!t){if(t=Fr(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return wh(i),e;if(o===r)return wh(i),t;o=o.sibling}throw Error(D(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,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){for(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)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function ay(e){return e=X1(e),e!==null?ly(e):null}function ly(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ly(e);if(t!==null)return t;e=e.sibling}return null}var uy=lt.unstable_scheduleCallback,Sh=lt.unstable_cancelCallback,q1=lt.unstable_shouldYield,Z1=lt.unstable_requestPaint,ye=lt.unstable_now,J1=lt.unstable_getCurrentPriorityLevel,Ed=lt.unstable_ImmediatePriority,cy=lt.unstable_UserBlockingPriority,ga=lt.unstable_NormalPriority,eS=lt.unstable_LowPriority,dy=lt.unstable_IdlePriority,Ja=null,Yt=null;function tS(e){if(Yt&&typeof Yt.onCommitFiberRoot=="function")try{Yt.onCommitFiberRoot(Ja,e,void 0,(e.current.flags&128)===128)}catch{}}var Ot=Math.clz32?Math.clz32:iS,nS=Math.log,rS=Math.LN2;function iS(e){return e>>>=0,e===0?32:31-(nS(e)/rS|0)|0}var Ts=64,bs=4194304;function co(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 ya(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=co(a):(o&=s,o!==0&&(r=co(o)))}else s=n&~i,s!==0?r=co(s):o!==0&&(r=co(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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-Ot(t),i=1<<n,r|=e[n],t&=~i;return r}function oS(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 sS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Ot(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=oS(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Yu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function fy(){var e=Ts;return Ts<<=1,!(Ts&4194240)&&(Ts=64),e}function $l(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ot(t),e[t]=n}function aS(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 i=31-Ot(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Td(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var te=0;function hy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var py,bd,my,gy,yy,Xu=!1,Cs=[],Wn=null,Hn=null,Kn=null,No=new Map,Do=new Map,jn=[],lS="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 Eh(e,t){switch(e){case"focusin":case"focusout":Wn=null;break;case"dragenter":case"dragleave":Hn=null;break;case"mouseover":case"mouseout":Kn=null;break;case"pointerover":case"pointerout":No.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Do.delete(t.pointerId)}}function Ji(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=os(t),t!==null&&bd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function uS(e,t,n,r,i){switch(t){case"focusin":return Wn=Ji(Wn,e,t,n,r,i),!0;case"dragenter":return Hn=Ji(Hn,e,t,n,r,i),!0;case"mouseover":return Kn=Ji(Kn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return No.set(o,Ji(No.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Do.set(o,Ji(Do.get(o)||null,e,t,n,r,i)),!0}return!1}function vy(e){var t=yr(e.target);if(t!==null){var n=Fr(t);if(n!==null){if(t=n.tag,t===13){if(t=sy(n),t!==null){e.blockedOn=t,yy(e.priority,function(){my(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 Qs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=qu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Hu=r,n.target.dispatchEvent(r),Hu=null}else return t=os(n),t!==null&&bd(t),e.blockedOn=n,!1;t.shift()}return!0}function Th(e,t,n){Qs(e)&&n.delete(t)}function cS(){Xu=!1,Wn!==null&&Qs(Wn)&&(Wn=null),Hn!==null&&Qs(Hn)&&(Hn=null),Kn!==null&&Qs(Kn)&&(Kn=null),No.forEac
vendor: 11,841 bytes, line 37
37h(Th),Do.forEach(Th)}function eo(e,t){e.blockedOn===t&&(e.blockedOn=null,Xu||(Xu=!0,lt.unstable_scheduleCallback(lt.unstable_NormalPriority,cS)))}function jo(e){function t(i){return eo(i,e)}if(0<Cs.length){eo(Cs[0],e);for(var n=1;n<Cs.length;n++){var r=Cs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Wn!==null&&eo(Wn,e),Hn!==null&&eo(Hn,e),Kn!==null&&eo(Kn,e),No.forEach(t),Do.forEach(t),n=0;n<jn.length;n++)r=jn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<jn.length&&(n=jn[0],n.blockedOn===null);)vy(n),n.blockedOn===null&&jn.shift()}var pi=vn.ReactCurrentBatchConfig,va=!0;function dS(e,t,n,r){var i=te,o=pi.transition;pi.transition=null;try{te=1,Cd(e,t,n,r)}finally{te=i,pi.transition=o}}function fS(e,t,n,r){var i=te,o=pi.transition;pi.transition=null;try{te=4,Cd(e,t,n,r)}finally{te=i,pi.transition=o}}function Cd(e,t,n,r){if(va){var i=qu(e,t,n,r);if(i===null)Zl(e,t,r,xa,n),Eh(e,r);else if(uS(i,e,t,n,r))r.stopPropagation();else if(Eh(e,r),t&4&&-1<lS.indexOf(e)){for(;i!==null;){var o=os(i);if(o!==null&&py(o),o=qu(e,t,n,r),o===null&&Zl(e,t,r,xa,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Zl(e,t,r,null,n)}}var xa=null;function qu(e,t,n,r){if(xa=null,e=Sd(r),e=yr(e),e!==null)if(t=Fr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=sy(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 xa=e,null}function xy(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(J1()){case Ed:return 1;case cy:return 4;case ga:case eS:return 16;case dy:return 536870912;default:return 16}default:return 16}}var zn=null,Pd=null,Ys=null;function wy(){if(Ys)return Ys;var e,t=Pd,n=t.length,r,i="value"in zn?zn.value:zn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Ys=i.slice(e,1<r?1-r:void 0)}function Xs(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 Ps(){return!0}function bh(){return!1}function ct(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ps:bh,this.isPropagationStopped=bh,this}return pe(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=Ps)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ps)},persist:function(){},isPersistent:Ps}),t}var Bi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kd=ct(Bi),is=pe({},Bi,{view:0,detail:0}),hS=ct(is),Ul,Wl,to,el=pe({},is,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rd,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!==to&&(to&&e.type==="mousemove"?(Ul=e.screenX-to.screenX,Wl=e.screenY-to.screenY):Wl=Ul=0,to=e),Ul)},movementY:function(e){return"movementY"in e?e.movementY:Wl}}),Ch=ct(el),pS=pe({},el,{dataTransfer:0}),mS=ct(pS),gS=pe({},is,{relatedTarget:0}),Hl=ct(gS),yS=pe({},Bi,{animationName:0,elapsedTime:0,pseudoElement:0}),vS=ct(yS),xS=pe({},Bi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wS=ct(xS),SS=pe({},Bi,{data:0}),Ph=ct(SS),ES={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},TS={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"},bS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function CS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bS[e])?!!t[e]:!1}function Rd(){return CS}var PS=pe({},is,{key:function(e){if(e.key){var t=ES[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?TS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rd,charCode:function(e){return e.type==="keypress"?Xs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kS=ct(PS),RS=pe({},el,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kh=ct(RS),AS=pe({},is,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rd}),MS=ct(AS),NS=pe({},Bi,{propertyName:0,elapsedTime:0,pseudoElement:0}),DS=ct(NS),jS=pe({},el,{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}),LS=ct(jS),OS=[9,13,27,32],Ad=dn&&"CompositionEvent"in window,go=null;dn&&"documentMode"in document&&(go=document.documentMode);var IS=dn&&"TextEvent"in window&&!go,Sy=dn&&(!Ad||go&&8<go&&11>=go),Rh=" ",Ah=!1;function Ey(e,t){switch(e){case"keyup":return OS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ty(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xr=!1;function _S(e,t){switch(e){case"compositionend":return Ty(t);case"keypress":return t.which!==32?null:(Ah=!0,Rh);case"textInput":return e=t.data,e===Rh&&Ah?null:e;default:return null}}function FS(e,t){if(Xr)return e==="compositionend"||!Ad&&Ey(e,t)?(e=wy(),Ys=Pd=zn=null,Xr=!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 Sy&&t.locale!=="ko"?null:t.data;default:return null}}var VS={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 Mh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!VS[e.type]:t==="textarea"}function by(e,t,n,r){ty(r),t=wa(t,"onChange"),0<t.length&&(n=new kd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var yo=null,Lo=null;function zS(e){Oy(e,0)}function tl(e){var t=Jr(e);if(Qg(t))return e}function BS(e,t){if(e==="change")return t}var Cy=!1;if(dn){var Kl;if(dn){var Gl="oninput"in document;if(!Gl){var Nh=document.createElement("div");Nh.setAttribute("oninput","return;"),Gl=typeof Nh.oninput=="function"}Kl=Gl}else Kl=!1;Cy=Kl&&(!document.documentMode||9<document.documentMode)}function Dh(){yo&&(yo.detachEvent("onpropertychange",Py),Lo=yo=null)}function Py(e){if(e.propertyName==="value"&&tl(Lo)){var t=[];by(t,Lo,e,Sd(e)),oy(zS,t)}}function $S(e,t,n){e==="focusin"?(Dh(),yo=t,Lo=n,yo.attachEvent("onpropertychange",Py)):e==="focusout"&&Dh()}function US(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tl(Lo)}function WS(e,t){if(e==="click")return tl(t)}function HS(e,t){if(e==="input"||e==="change")return tl(t)}function KS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:KS;function Oo(e,t){if(_t(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 i=n[r];if(!ju.call(t,i)||!_t(e[i],t[i]))return!1}return!0}function jh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lh(e,t){var n=jh(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=jh(n)}}function ky(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ky(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ry(){for(var e=window,t=ha();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ha(e.document)}return t}function Md(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 GS(e){var t=Ry(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ky(n.ownerDocument.documentElement,n)){if(r!==null&&Md(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Lh(n,o);var s=Lh(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>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 QS=dn&&"documentMode"in document&&11>=document.documentMode,qr=null,Zu=null,vo=null,Ju=!1;function Oh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ju||qr==null||qr!==ha(r)||(r=qr,"selectionStart"in r&&Md(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}),vo&&Oo(vo,r)||(vo=r,r=wa(Zu,"onSelect"),0<r.length&&(t=new kd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=qr)))}function ks(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zr={animationend:ks("Animation","AnimationEnd"),animationiteration:ks("Animation","AnimationIteration"),animationstart:ks("Animation","AnimationStart"),transitionend:ks("Transition","TransitionEnd")},Ql={},Ay={};dn&&(Ay=document.createElement("div").style,"AnimationEvent"in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),"TransitionEvent"in window||delete Zr.transitionend.transition);function nl(e){if(Ql[e])return Ql[e];if(!Zr[e])return e;var t=Zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ay)return Ql[e]=t[n];return e}var My=nl("animationend"),Ny=nl("animationiteration"),Dy=nl("animationstart"),jy=nl("transitionend"),Ly=new Map,Ih="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 sr(e,t){Ly.set(e,t),_r(t,[e])}for(var Yl=0;Yl<Ih.length;Yl++){var Xl=Ih[Yl],YS=Xl.toLowerCase(),XS=Xl[0].toUpperCase()+Xl.slice(1);sr(YS,"on"+XS)}sr(My,"onAnimationEnd");sr(Ny,"onAnimationIteration");sr(Dy,"onAnimationStart");sr("dblclick","onDoubleClick");sr("focusin","onFocus");sr("focusout","onBlur");sr(jy,"onTransitionEnd");Ai("onMouseEnter",["mouseout","mouseover"]);Ai("onMouseLeave",["mouseout","mouseover"]);Ai("onPointerEnter",["pointerout","pointerover"]);Ai("onPointerLeave",["pointerout","pointerover"]);_r("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));_r("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));_r("onBeforeInput",["compositionend","keypress","textInput","paste"]);_r("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));_r("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));_r("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fo="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(" "),qS=new Set("cancel close invalid load scroll toggle".split(" ").concat(fo));function _h(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Y1(r,t,void 0,e),e.currentTarget=null}function Oy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=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!==o&&i.isPropagationStopped())break e;_h(i,a,u),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;_h(i,a,u),o=l}}}if(ma)throw e=Qu,ma=!1,Qu=null,e}function se(e,t){var n=t[ic];n===void 0&&(n=t[ic]=new Set);var r=e+"__bubble";n.has(r)||(Iy(t,e,2,!1),n.add(r))}function ql(e,t,n){var r=0;t&&(r|=4),Iy(n,e,r,t)}var Rs="_reactListening"+Math.random().toString(36).slice(2);function Io(e){if(!e[Rs]){e[Rs]=!0,Ug.forEach(function(n){n!=="selectionchange"&&(qS.has(n)||ql(n,!1,e),ql(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Rs]||(t[Rs]=!0,ql("selectionchange",!1,t))}}function Iy(e,t,n,r){switch(xy(t)){case 1:var i=dS;break;case 4:i=fS;break;default:i=Cd}n=i.bind(null,t,n,e),i=void 0,!Gu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Zl(e,t,n,r,i){var o=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===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=yr(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}oy(function(){var u=o,c=Sd(n),d=[];e:{var f=Ly.get(e);if(f!==void 0){var h=kd,v=e;switch(e){case"keypress":if(Xs(n)===0)break e;case"keydown":case"keyup":h=kS;break;case"focusin":v="focus",h=Hl;break;case"focusout":v="blur",h=Hl;break;case"beforeblur":case"afterblur":h=Hl;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=Ch;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=mS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=MS;break;case My:case Ny:case Dy:h=vS;break;case jy:h=DS;break;case"scroll":h=hS;break;case"wheel":h=LS;break;case"copy":case"cut":case"paste":h=wS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=kh}var g=(t&4)!==0,x=!g&&e==="scroll",p=g?f!==null?f+"Capture":null:f;g=[];for(var m=u,y;m!==null;){y=m;var E=y.stateNode;if(y.tag===5&&E!==null&&(y=E,p!==null&&(E=Mo(m,p),E!=null&&g.push(_o(m,E,y)))),x)break;m=m.return}0<g.length&&(f=new h(f,v,null,n,c),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==Hu&&(v=n.relatedTarget||n.fromElement)&&(yr(v)||v[fn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=u,v=v?yr(v):null,v!==null&&(x=Fr(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(g=Ch,E="onMouseLeave",p="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(g=kh,E="onPointerLeave",p="onPointerEnter",m="pointer"),x=h==null?f:Jr(h),y=v==null?f:Jr(v),f=new g(E,m+"leave",h,n,c),f.target=x,f.relatedTarget=y,E=null,yr(c)===u&&(g=new g(p,m+"enter",v,n,c),g.target=y,g.relatedTarget=x,E=g),x=E,h&&v)t:{for(g=h,p=v,m=0,y=g;y;y=Kr(y))m++;for(y=0,E=p;E;E=Kr(E))y++;for(;0<m-y;)g=Kr(g),m--;for(;0<y-m;)p=Kr(p),y--;for(;m--;){if(g===p||p!==null&&g===p.alternate)break t;g=Kr(g),p=Kr(p)}g=null}else g=null;h!==null&&Fh(d,f,h,g,!1),v!==null&&x!==null&&Fh(d,x,v,g,!0)}}
vendor: 4,435 bytes, lines 37-38
37e:{if(f=u?Jr(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var T=BS;else if(Mh(f))if(Cy)T=HS;else{T=US;var b=$S}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=WS);if(T&&(T=T(e,u))){by(d,T,n,c);break e}b&&b(e,f,u),e==="focusout"&&(b=f._wrapperState)&&b.controlled&&f.type==="number"&&zu(f,"number",f.value)}switch(b=u?Jr(u):window,e){case"focusin":(Mh(b)||b.contentEditable==="true")&&(qr=b,Zu=u,vo=null);break;case"focusout":vo=Zu=qr=null;break;case"mousedown":Ju=!0;break;case"contextmenu":case"mouseup":case"dragend":Ju=!1,Oh(d,n,c);break;case"selectionchange":if(QS)break;case"keydown":case"keyup":Oh(d,n,c)}var C;if(Ad)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Xr?Ey(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Sy&&n.locale!=="ko"&&(Xr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Xr&&(C=wy()):(zn=c,Pd="value"in zn?zn.value:zn.textContent,Xr=!0)),b=wa(u,P),0<b.length&&(P=new Ph(P,e,null,n,c),d.push({event:P,listeners:b}),C?P.data=C:(C=Ty(n),C!==null&&(P.data=C)))),(C=IS?_S(e,n):FS(e,n))&&(u=wa(u,"onBeforeInput"),0<u.length&&(c=new Ph("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=C))}Oy(d,t)})}function _o(e,t,n){return{instance:e,listener:t,currentTarget:n}}function wa(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Mo(e,n),o!=null&&r.unshift(_o(e,o,i)),o=Mo(e,t),o!=null&&r.push(_o(e,o,i))),e=e.return}return r}function Kr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Fh(e,t,n,r,i){for(var o=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,i?(l=Mo(n,o),l!=null&&s.unshift(_o(n,l,a))):i||(l=Mo(n,o),l!=null&&s.push(_o(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var ZS=/\r\n?/g,JS=/\u0000|\uFFFD/g;function Vh(e){return(typeof e=="string"?e:""+e).replace(ZS,`
38`).replace(JS,"")}function As(e,t,n){if(t=Vh(t),Vh(e)!==t&&n)throw Error(D(425))}function Sa(){}var ec=null,tc=null;function nc(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 rc=typeof setTimeout=="function"?setTimeout:void 0,eE=typeof clearTimeout=="function"?clearTimeout:void 0,zh=typeof Promise=="function"?Promise:void 0,tE=typeof queueMicrotask=="function"?queueMicrotask:typeof zh<"u"?function(e){return zh.resolve(null).then(e).catch(nE)}:rc;function nE(e){setTimeout(function(){throw e})}function Jl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),jo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);jo(t)}function Gn(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 Bh(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 $i=Math.random().toString(36).slice(2),Gt="__reactFiber$"+$i,Fo="__reactProps$"+$i,fn="__reactContainer$"+$i,ic="__reactEvents$"+$i,rE="__reactListeners$"+$i,iE="__reactHandles$"+$i;function yr(e){var t=e[Gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fn]||n[Gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Bh(e);e!==null;){if(n=e[Gt])return n;e=Bh(e)}return t}e=n,n=e.parentNode}return null}function os(e){return e=e[Gt]||e[fn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function rl(e){return e[Fo]||null}var oc=[],ei=-1;function ar(e){return{current:e}}function ae(e){0>ei||(e.current=oc[ei],oc[ei]=null,ei--)}function re(e,t){ei++,oc[ei]=e.current,e.current=t}var Jn={},Ve=ar(Jn),Ze=ar(!1),Nr=Jn;function Mi(e,t){var n=e.type.contextTypes;if(!n)return Jn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;
vendor: 4,190 bytes, line 38
38for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Je(e){return e=e.childContextTypes,e!=null}function Ea(){ae(Ze),ae(Ve)}function $h(e,t,n){if(Ve.current!==Jn)throw Error(D(168));re(Ve,t),re(Ze,n)}function _y(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(D(108,$1(e)||"Unknown",i));return pe({},n,r)}function Ta(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jn,Nr=Ve.current,re(Ve,e),re(Ze,Ze.current),!0}function Uh(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=_y(e,t,Nr),r.__reactInternalMemoizedMergedChildContext=e,ae(Ze),ae(Ve),re(Ve,e)):ae(Ze),re(Ze,n)}var sn=null,il=!1,eu=!1;function Fy(e){sn===null?sn=[e]:sn.push(e)}function oE(e){il=!0,Fy(e)}function lr(){if(!eu&&sn!==null){eu=!0;var e=0,t=te;try{var n=sn;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}sn=null,il=!1}catch(i){throw sn!==null&&(sn=sn.slice(e+1)),uy(Ed,lr),i}finally{te=t,eu=!1}}return null}var ti=[],ni=0,ba=null,Ca=0,ht=[],pt=0,Dr=null,ln=1,un="";function pr(e,t){ti[ni++]=Ca,ti[ni++]=ba,ba=e,Ca=t}function Vy(e,t,n){ht[pt++]=ln,ht[pt++]=un,ht[pt++]=Dr,Dr=e;var r=ln;e=un;var i=32-Ot(r)-1;r&=~(1<<i),n+=1;var o=32-Ot(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,ln=1<<32-Ot(t)+i|n<<i|r,un=o+e}else ln=1<<o|n<<i|r,un=e}function Nd(e){e.return!==null&&(pr(e,1),Vy(e,1,0))}function Dd(e){for(;e===ba;)ba=ti[--ni],ti[ni]=null,Ca=ti[--ni],ti[ni]=null;for(;e===Dr;)Dr=ht[--pt],ht[pt]=null,un=ht[--pt],ht[pt]=null,ln=ht[--pt],ht[pt]=null}var st=null,ot=null,ue=!1,Lt=null;function zy(e,t){var n=mt(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 Wh(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,st=e,ot=Gn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,st=e,ot=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Dr!==null?{id:ln,overflow:un}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=mt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,st=e,ot=null,!0):!1;default:return!1}}function sc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ac(e){if(ue){var t=ot;if(t){var n=t;if(!Wh(e,t)){if(sc(e))throw Error(D(418));t=Gn(n.nextSibling);var r=st;t&&Wh(e,t)?zy(r,n):(e.flags=e.flags&-4097|2,ue=!1,st=e)}}else{if(sc(e))throw Error(D(418));e.flags=e.flags&-4097|2,ue=!1,st=e}}}function Hh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;st=e}function Ms(e){if(e!==st)return!1;if(!ue)return Hh(e),ue=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!nc(e.type,e.memoizedProps)),t&&(t=ot)){if(sc(e))throw By(),Error(D(418));for(;t;)zy(e,t),t=Gn(t.nextSibling)}if(Hh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ot=Gn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ot=null}}else ot=st?Gn(e.stateNode.nextSibling):null;return!0}function By(){for(var e=ot;e;)e=Gn(e.nextSibling)}function Ni(){ot=st=null,ue=!1}function jd(e){Lt===null?Lt=[e]:Lt.push(e)}var sE=vn.ReactCurrentBatchConfig;function no(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(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function Ns(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Kh(e){var t=e._init;return t(e._payload)}
vendor: 4,351 bytes, line 38
38function $y(e){function t(p,m){if(e){var y=p.deletions;y===null?(p.deletions=[m],p.flags|=16):y.push(m)}}function n(p,m){if(!e)return null;for(;m!==null;)t(p,m),m=m.sibling;return null}function r(p,m){for(p=new Map;m!==null;)m.key!==null?p.set(m.key,m):p.set(m.index,m),m=m.sibling;return p}function i(p,m){return p=qn(p,m),p.index=0,p.sibling=null,p}function o(p,m,y){return p.index=y,e?(y=p.alternate,y!==null?(y=y.index,y<m?(p.flags|=2,m):y):(p.flags|=2,m)):(p.flags|=1048576,m)}function s(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,m,y,E){return m===null||m.tag!==6?(m=au(y,p.mode,E),m.return=p,m):(m=i(m,y),m.return=p,m)}function l(p,m,y,E){var T=y.type;return T===Yr?c(p,m,y.props.children,E,y.key):m!==null&&(m.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Nn&&Kh(T)===m.type)?(E=i(m,y.props),E.ref=no(p,m,y),E.return=p,E):(E=ra(y.type,y.key,y.props,null,p.mode,E),E.ref=no(p,m,y),E.return=p,E)}function u(p,m,y,E){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=lu(y,p.mode,E),m.return=p,m):(m=i(m,y.children||[]),m.return=p,m)}function c(p,m,y,E,T){return m===null||m.tag!==7?(m=Ar(y,p.mode,E,T),m.return=p,m):(m=i(m,y),m.return=p,m)}function d(p,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=au(""+m,p.mode,y),m.return=p,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ws:return y=ra(m.type,m.key,m.props,null,p.mode,y),y.ref=no(p,null,m),y.return=p,y;case Qr:return m=lu(m,p.mode,y),m.return=p,m;case Nn:var E=m._init;return d(p,E(m._payload),y)}if(uo(m)||qi(m))return m=Ar(m,p.mode,y,null),m.return=p,m;Ns(p,m)}return null}function f(p,m,y,E){var T=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return T!==null?null:a(p,m,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ws:return y.key===T?l(p,m,y,E):null;case Qr:return y.key===T?u(p,m,y,E):null;case Nn:return T=y._init,f(p,m,T(y._payload),E)}if(uo(y)||qi(y))return T!==null?null:c(p,m,y,E,null);Ns(p,y)}return null}function h(p,m,y,E,T){if(typeof E=="string"&&E!==""||typeof E=="number")return p=p.get(y)||null,a(m,p,""+E,T);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case ws:return p=p.get(E.key===null?y:E.key)||null,l(m,p,E,T);case Qr:return p=p.get(E.key===null?y:E.key)||null,u(m,p,E,T);case Nn:var b=E._init;return h(p,m,y,b(E._payload),T)}if(uo(E)||qi(E))return p=p.get(y)||null,c(m,p,E,T,null);Ns(m,E)}return null}function v(p,m,y,E){for(var T=null,b=null,C=m,P=m=0,M=null;C!==null&&P<y.length;P++){C.index>P?(M=C,C=null):M=C.sibling;var N=f(p,C,y[P],E);if(N===null){C===null&&(C=M);break}e&&C&&N.alternate===null&&t(p,C),m=o(N,m,P),b===null?T=N:b.sibling=N,b=N,C=M}if(P===y.length)return n(p,C),ue&&pr(p,P),T;if(C===null){for(;P<y.length;P++)C=d(p,y[P],E),C!==null&&(m=o(C,m,P),b===null?T=C:b.sibling=C,b=C);return ue&&pr(p,P),T}for(C=r(p,C);P<y.length;P++)M=h(C,p,P,y[P],E),M!==null&&(e&&M.alternate!==null&&C.delete(M.key===null?P:M.key),m=o(M,m,P),b===null?T=M:b.sibling=M,b=M);return e&&C.forEach(function(z){return t(p,z)}),ue&&pr(p,P),T}function g(p,m,y,E){var T=qi(y);if(typeof T!="function")throw Error(D(150));if(y=T.call(y),y==null)throw Error(D(151));for(var b=T=null,C=m,P=m=0,M=null,N=y.next();C!==null&&!N.done;P++,N=y.next()){C.index>P?(M=C,C=null):M=C.sibling;var z=f(p,C,N.value,E);if(z===null){C===null&&(C=M);break}e&&C&&z.alternate===null&&t(p,C),m=o(z,m,P),b===null?T=z:b.sibling=z,b=z,C=M}if(N.done)return n(p,C),ue&&pr(p,P),T;if(C===null){for(;!N.done;P++,N=y.next())N=d(p,N.value,E),N!==null&&(m=o(N,m,P),b===null?T=N:b.sibling=N,b=N);return ue&&pr(p,P),T}for(C=r(p,C);!N.done;P++,N=y.next())N=h(C,p,P,N.value,E),N!==null&&(e&&N.alternate!==null&&C.delete(N.key===null?P:N.key),m=o(N,m,P),b===null?T=N:b.sibling=N,b=N);return e&&C.forEach(function(I){return t(p,I)}),ue&&pr(p,P),T}function x(p,m,y,E){if(typeof y=="object"&&y!==null&&y.type===Yr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ws:e:{for(var T=y.key,b=m;b!==null;){if(b.key===T){if(T=y.type,T===Yr){if(b.tag===7){n(p,b.sibling),m=i(b,y.props.children),m.return=p,p=m;break e}}else if(b.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Nn&&Kh(T)===b.type){n(p,b.sibling),m=i(b,y.props),m.ref=no(p,b,y),m.return=p,p=m;break e}n(p,b);break}else t(p,b);
vendor: 18,534 bytes, lines 38-40
38b=b.sibling}y.type===Yr?(m=Ar(y.props.children,p.mode,E,y.key),m.return=p,p=m):(E=ra(y.type,y.key,y.props,null,p.mode,E),E.ref=no(p,m,y),E.return=p,p=E)}return s(p);case Qr:e:{for(b=y.key;m!==null;){if(m.key===b)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(p,m.sibling),m=i(m,y.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=lu(y,p.mode,E),m.return=p,p=m}return s(p);case Nn:return b=y._init,x(p,m,b(y._payload),E)}if(uo(y))return v(p,m,y,E);if(qi(y))return g(p,m,y,E);Ns(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,y),m.return=p,p=m):(n(p,m),m=au(y,p.mode,E),m.return=p,p=m),s(p)):n(p,m)}return x}var Di=$y(!0),Uy=$y(!1),Pa=ar(null),ka=null,ri=null,Ld=null;function Od(){Ld=ri=ka=null}function Id(e){var t=Pa.current;ae(Pa),e._currentValue=t}function lc(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 mi(e,t){ka=e,Ld=ri=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function wt(e){var t=e._currentValue;if(Ld!==e)if(e={context:e,memoizedValue:t,next:null},ri===null){if(ka===null)throw Error(D(308));ri=e,ka.dependencies={lanes:0,firstContext:e}}else ri=ri.next=e;return t}var vr=null;function _d(e){vr===null?vr=[e]:vr.push(e)}function Wy(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,_d(t)):(n.next=i.next,i.next=n),t.interleaved=n,hn(e,r)}function hn(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 Dn=!1;function Fd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Hy(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 cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,hn(e,n)}return i=r.interleaved,i===null?(t.next=t,_d(r)):(t.next=i.next,i.next=t),r.interleaved=t,hn(e,n)}function qs(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,Td(e,n)}}function Gh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=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};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 Ra(e,t,n,r){var i=e.updateQueue;Dn=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=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(o!==null){var d=i.baseState;s=0,c=u=l=null,a=o;do{var f=a.lane,h=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(f=t,h=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){d=v.call(h,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,f=typeof v=="function"?v.call(h,d,f):v,f==null)break e;d=pe({},d,f);break e;case 2:Dn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else h={eventTime:h,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Lr|=s,e.lanes=s,e.memoizedState=d}}function Qh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(D(191,i));i.call(r)}}}var ss={},Xt=ar(ss),Vo=ar(ss),zo=ar(ss);function xr(e){if(e===ss)throw Error(D(174));return e}function Vd(e,t){switch(re(zo,t),re(Vo,e),re(Xt,ss),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:$u(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=$u(t,e)}ae(Xt),re(Xt,t)}function ji(){ae(Xt),ae(Vo),ae(zo)}function Ky(e){xr(zo.current);var t=xr(Xt.current),n=$u(t,e.type);t!==n&&(re(Vo,e),re(Xt,n))}function zd(e){Vo.current===e&&(ae(Xt),ae(Vo))}var de=ar(0);function Aa(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 tu=[];function Bd(){for(var e=0;e<tu.length;e++)tu[e]._workInProgressVersionPrimary=null;tu.length=0}var Zs=vn.ReactCurrentDispatcher,nu=vn.ReactCurrentBatchConfig,jr=0,he=null,Te=null,Pe=null,Ma=!1,xo=!1,Bo=0,aE=0;function Le(){throw Error(D(321))}function $d(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!_t(e[n],t[n]))return!1;return!0}function Ud(e,t,n,r,i,o){if(jr=o,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Zs.current=e===null||e.memoizedState===null?dE:fE,e=n(r,i),xo){o=0;do{if(xo=!1,Bo=0,25<=o)throw Error(D(301));o+=1,Pe=Te=null,t.updateQueue=null,Zs.current=hE,e=n(r,i)}while(xo)}if(Zs.current=Na,t=Te!==null&&Te.next!==null,jr=0,Pe=Te=he=null,Ma=!1,t)throw Error(D(300));return e}function Wd(){var e=Bo!==0;return Bo=0,e}function $t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?he.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function St(){if(Te===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Pe===null?he.memoizedState:Pe.next;if(t!==null)Pe=t,Te=e;else{if(e===null)throw Error(D(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Pe===null?he.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function $o(e,t){return typeof t=="function"?t(e):t}function ru(e){var t=St(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,u=o;do{var c=u.lane;if((jr&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,he.lanes|=c,Lr|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,_t(r,t.memoizedState)||(qe=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,he.lanes|=o,Lr|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function iu(e){var t=St(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);_t(o,t.memoizedState)||(qe=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Gy(){}function Qy(e,t){var n=he,r=St(),i=t(),o=!_t(r.memoizedState,i);if(o&&(r.memoizedState=i,qe=!0),r=r.queue,Hd(qy.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Uo(9,Xy.bind(null,n,r,i,t),void 0,null),ke===null)throw Error(D(349));jr&30||Yy(n,t,i)}return i}function Yy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Xy(e,t,n,r){t.value=n,t.getSnapshot=r,Zy(t)&&Jy(e)}function qy(e,t,n){return n(function(){Zy(t)&&Jy(e)})}function Zy(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function Jy(e){var t=hn(e,1);t!==null&&It(t,e,1,-1)}function Yh(e){var t=$t();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:e},t.queue=e,e=e.dispatch=cE.bind(null,he,e),[t.memoizedState,e]}function Uo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.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 ev(){return St().memoizedState}function Js(e,t,n,r){var i=$t();he.flags|=e,i.memoizedState=Uo(1|t,n,void 0,r===void 0?null:r)}function ol(e,t,n,r){var i=St();r=r===void 0?null:r;var o=void 0;if(Te!==null){var s=Te.memoizedState;if(o=s.destroy,r!==null&&$d(r,s.deps)){i.memoizedState=Uo(t,n,o,r);return}}he.flags|=e,i.memoizedState=Uo(1|t,n,o,r)}function Xh(e,t){return Js(8390656,8,e,t)}function Hd(e,t){return ol(2048,8,e,t)}function tv(e,t){return ol(4,2,e,t)}function nv(e,t){return ol(4,4,e,t)}function rv(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 iv(e,t,n){return n=n!=null?n.concat([e]):null,ol(4,4,rv.bind(null,t,e),n)}function Kd(){}function ov(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$d(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function sv(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$d(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function av(e,t,n){return jr&21?(_t(n,t)||(n=fy(),he.lanes|=n,Lr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qe=!0),e.memoizedState=n)}function lE(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=nu.transition;nu.transition={};try{e(!1),t()}finally{te=n,nu.transition=r}}function lv(){return St().memoizedState}function uE(e,t,n){var r=Xn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uv(e))cv(t,n);else if(n=Wy(e,t,n,r),n!==null){var i=Ke();It(n,e,r,i),dv(n,t,r)}}function cE(e,t,n){var r=Xn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uv(e))cv(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,_t(a,s)){var l=t.interleaved;l===null?(i.next=i,_d(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Wy(e,t,i,r),n!==null&&(i=Ke(),It(n,e,r,i),dv(n,t,r))}}function uv(e){var t=e.alternate;return e===he||t!==null&&t===he}function cv(e,t){xo=Ma=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function dv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Td(e,n)}}var Na={readContext:wt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},dE={readContext:wt,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:Xh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Js(4194308,4,rv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Js(4194308,4,e,t)},useInsertionEffect:function(e,t){return Js(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();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=uE.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:Yh,useDebugValue:Kd,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=Yh(!1),t=e[0];return e=lE.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,i=$t();if(ue){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),ke===null)throw Error(D(349));jr&30||Yy(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Xh(qy.bind(null,r,o,e),[e]),r.flags|=2048,Uo(9,Xy.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=$t(),t=ke.identifierPrefix;if(ue){var n=un,r=ln;n=(r&~(1<<32-Ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Bo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=aE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},fE={readContext:wt,useCallback:ov,useContext:wt,useEffect:Hd,useImperativeHandle:iv,useInsertionEffect:tv,useLayoutEffect:nv,useMemo:sv,useReducer:ru,useRef:ev,useState:function(){return ru($o)},useDebugValue:Kd,useDeferredValue:function(e){var t=St();return av(t,Te.memoizedState,e)},useTransition:function(){var e=ru($o)[0],t=St().memoizedState;return[e,t]},useMutableSource:Gy,useSyncExternalStore:Qy,useId:lv,unstable_isNewReconciler:!1},hE={readContext:wt,useCallback:ov,useContext:wt,useEffect:Hd,useImperativeHandle:iv,useInsertionEffect:tv,useLayoutEffect:nv,useMemo:sv,useReducer:iu,useRef:ev,useState:function(){return iu($o)},useDebugValue:Kd,useDeferredValue:function(e){var t=St();return Te===null?t.memoizedState=e:av(t,Te.memoizedState,e)},useTransition:function(){var e=iu($o)[0],t=St().memoizedState;return[e,t]},useMutableSource:Gy,useSyncExternalStore:Qy,useId:lv,unstable_isNewReconciler:!1};function At(e,t){if(e&&e.defaultProps){t=pe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function uc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:pe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var sl={isMounted:function(e){return(e=e._reactInternals)?Fr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=Xn(e),o=cn(r,i);o.payload=t,n!=null&&(o.callback=n),t=Qn(e,o,i),t!==null&&(It(t,e,i,r),qs(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=Xn(e),o=cn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Qn(e,o,i),t!==null&&(It(t,e,i,r),qs(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ke(),r=Xn(e),i=cn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Qn(e,i,r),t!==null&&(It(t,e,r,n),qs(t,e,r))}};function qh(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Oo(n,r)||!Oo(i,o):!0}function fv(e,t,n){var r=!1,i=Jn,o=t.contextType;return typeof o=="object"&&o!==null?o=wt(o):(i=Je(t)?Nr:Ve.current,r=t.contextTypes,o=(r=r!=null)?Mi(e,i):Jn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=sl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Zh(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&&sl.enqueueReplaceState(t,t.state,null)}function cc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Fd(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=wt(o):(o=Je(t)?Nr:Ve.current,i.context=Mi(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(uc(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&sl.enqueueReplaceState(i,i.state,null),Ra(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Li(e,t){try{var n="",r=t;do n+=B1(r),r=r.return;while(r);var i=n}catch(o){i=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ou(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function dc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var pE=typeof WeakMap=="function"?WeakMap:Map;function hv(e,t,n){n=cn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ja||(ja=!0,Sc=r),dc(e,t)},n}function pv(e,t,n){n=cn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){dc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){dc(e,t),typeof r!="function"&&(Yn===null?Yn=new Set([this]):Yn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Jh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new pE;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=RE.bind(null,e,t,n),t.then(e,e))}function ep(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 tp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=cn(-1,
vendor: 8,336 bytes, line 40
401),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var mE=vn.ReactCurrentOwner,qe=!1;function Be(e,t,n,r){t.child=e===null?Uy(t,null,n,r):Di(t,e.child,n,r)}function np(e,t,n,r,i){n=n.render;var o=t.ref;return mi(t,i),r=Ud(e,t,n,r,o,i),n=Wd(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,pn(e,t,i)):(ue&&n&&Nd(t),t.flags|=1,Be(e,t,r,i),t.child)}function rp(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!ef(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,mv(e,t,o,r,i)):(e=ra(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Oo,n(s,r)&&e.ref===t.ref)return pn(e,t,i)}return t.flags|=1,e=qn(o,r),e.ref=t.ref,e.return=t,t.child=e}function mv(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Oo(o,r)&&e.ref===t.ref)if(qe=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(qe=!0);else return t.lanes=e.lanes,pn(e,t,i)}return fc(e,t,n,r,i)}function gv(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(oi,rt),rt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(oi,rt),rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,re(oi,rt),rt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,re(oi,rt),rt|=r;return Be(e,t,i,n),t.child}function yv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function fc(e,t,n,r,i){var o=Je(n)?Nr:Ve.current;return o=Mi(t,o),mi(t,i),n=Ud(e,t,n,r,o,i),r=Wd(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,pn(e,t,i)):(ue&&r&&Nd(t),t.flags|=1,Be(e,t,n,i),t.child)}function ip(e,t,n,r,i){if(Je(n)){var o=!0;Ta(t)}else o=!1;if(mi(t,i),t.stateNode===null)ea(e,t),fv(t,n,r),cc(t,n,r,i),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=wt(u):(u=Je(n)?Nr:Ve.current,u=Mi(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)&&Zh(t,s,r,u),Dn=!1;var f=t.memoizedState;s.state=f,Ra(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Ze.current||Dn?(typeof c=="function"&&(uc(t,n,c,r),l=t.memoizedState),(a=Dn||qh(t,n,a,r,f,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,Hy(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:At(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=wt(l):(l=Je(n)?Nr:Ve.current,l=Mi(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||f!==l)&&Zh(t,s,r,l),Dn=!1,f=t.memoizedState,s.state=f,Ra(t,r,s,i);var v=t.memoizedState;a!==d||f!==v||Ze.current||Dn?(typeof h=="function"&&(uc(t,n,h,r),v=t.memoizedState),(u=Dn||qh(t,n,u,r,f,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return hc(e,t,n,r,o,i)}function hc(e,t,n,r,i,o){yv(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Uh(t,n,!1),pn(e,t,o);r=t.stateNode,mE.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Di(t,e.child,null,o),t.child=Di(t,null,a,o)):Be(e,t,a,o),t.memoizedState=r.state,i&&Uh(t,n,!0),t.child}function vv(e){var t=e.stateNode;t.pendingContext?$h(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$h(e,t.context,!1),Vd(e,t.containerInfo)}function op(e,t,n,r,i){return Ni(),jd(i),t.flags|=256,Be(e,t,n,r),t.child}var pc={dehydrated:null,treeContext:null,retryLane:0};function mc(e){return{baseLanes:e,cachePool:null,transitions:null}}function xv(e,t,n){var r=t.pendingProps,i=de.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),re(de,i&1),e===null)return ac(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,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=ul(s,r,0,null),e=Ar(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=mc(n),t.memoizedState=pc,e):Gd(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return gE(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=qn(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=qn(a,o):(o=Ar(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?mc(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=pc,r}return o=e.child,e=o.sibling,r=qn(o,{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 Gd(e,t){return t=ul({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ds(e,t,n,r){return r!==null&&jd(r),Di(t,e.child,null,n),e=Gd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gE(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=ou(Error(D(422))),Ds(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=ul({mode:"visible",children:r.children},i,0,null),o=Ar(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Di(t,e.child,null,s),t.child.memoizedState=mc(s),t.memoizedState=pc,o);if(!(t.mode&1))return Ds(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(D(419)),r=ou(o,r,void 0),Ds(e,t,s,r)}if(a=(s&e.childLanes)!==0,qe||a){if(r=ke,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,hn(e,i),It(r,e,i,-1))}return Jd(),r=ou(Error(D(421))),Ds(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=AE.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ot=Gn(i.nextSibling),st=t,ue=!0,Lt=null,e!==null&&(ht[pt++]=ln,ht[pt++]=un,ht[pt++]=Dr,ln=e.id,un=e.overflow,Dr=t),t=Gd(t,r.children),t.flags|=4096,t)}
vendor: 4,953 bytes, line 40
40function sp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),lc(e.return,t,n)}function su(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function wv(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Be(e,t,r.children,n),r=de.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&&sp(e,n,t);else if(e.tag===19)sp(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(re(de,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Aa(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),su(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Aa(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}su(t,!0,n,null,o);break;case"together":su(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ea(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function pn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Lr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=qn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=qn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function yE(e,t,n){switch(t.tag){case 3:vv(t),Ni();break;case 5:Ky(t);break;case 1:Je(t.type)&&Ta(t);break;case 4:Vd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;re(Pa,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(de,de.current&1),t.flags|=128,null):n&t.child.childLanes?xv(e,t,n):(re(de,de.current&1),e=pn(e,t,n),e!==null?e.sibling:null);re(de,de.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return wv(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),re(de,de.current),r)break;return null;case 22:case 23:return t.lanes=0,gv(e,t,n)}return pn(e,t,n)}var Sv,gc,Ev,Tv;Sv=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}};gc=function(){};Ev=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,xr(Xt.current);var o=null;switch(n){case"input":i=Fu(e,i),r=Fu(e,r),o=[];break;case"select":i=pe({},i,{value:void 0}),r=pe({},r,{value:void 0}),o=[];break;case"textarea":i=Bu(e,i),r=Bu(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Sa)}Uu(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ro.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[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||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ro.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&se("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Tv=function(e,t,n,r){n!==r&&(t.flags|=4)};function ro(e,t){if(!ue)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 Oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 32,400 bytes, line 40
40function vE(e,t,n){var r=t.pendingProps;switch(Dd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Oe(t),null;case 1:return Je(t.type)&&Ea(),Oe(t),null;case 3:return r=t.stateNode,ji(),ae(Ze),ae(Ve),Bd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ms(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Lt!==null&&(bc(Lt),Lt=null))),gc(e,t),Oe(t),null;case 5:zd(t);var i=xr(zo.current);if(n=t.type,e!==null&&t.stateNode!=null)Ev(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return Oe(t),null}if(e=xr(Xt.current),Ms(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Gt]=t,r[Fo]=o,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(i=0;i<fo.length;i++)se(fo[i],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":mh(r,o),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},se("invalid",r);break;case"textarea":yh(r,o),se("invalid",r)}Uu(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&As(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&As(r.textContent,a,e),i=["children",""+a]):Ro.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&se("scroll",r)}switch(n){case"input":Ss(r),gh(r,o,!0);break;case"textarea":Ss(r),vh(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Sa)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qg(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[Gt]=t,e[Fo]=r,Sv(e,t,!1,!1),t.stateNode=e;e:{switch(s=Wu(n,r),n){case"dialog":se("cancel",e),se("close",e),i=r;break;case"iframe":case"object":case"embed":se("load",e),i=r;break;case"video":case"audio":for(i=0;i<fo.length;i++)se(fo[i],e);i=r;break;case"source":se("error",e),i=r;break;case"img":case"image":case"link":se("error",e),se("load",e),i=r;break;case"details":se("toggle",e),i=r;break;case"input":mh(e,r),i=Fu(e,r),se("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=pe({},r,{value:void 0}),se("invalid",e);break;case"textarea":yh(e,r),i=Bu(e,r),se("invalid",e);break;default:i=r}Uu(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?ey(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Zg(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ao(e,l):typeof l=="number"&&Ao(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ro.hasOwnProperty(o)?l!=null&&o==="onScroll"&&se("scroll",e):l!=null&&yd(e,o,l,s))}switch(n){case"input":Ss(e),gh(e,r,!1);break;case"textarea":Ss(e),vh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Zn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?di(e,!!r.multiple,o,!1):r.defaultValue!=null&&di(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Sa)}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 Oe(t),null;case 6:if(e&&t.stateNode!=null)Tv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=xr(zo.current),xr(Xt.current),Ms(t)){if(r=t.stateNode,n=t.memoizedProps,r[Gt]=t,(o=r.nodeValue!==n)&&(e=st,e!==null))switch(e.tag){case 3:As(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&As(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Gt]=t,t.stateNode=r}return Oe(t),null;case 13:if(ae(de),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ue&&ot!==null&&t.mode&1&&!(t.flags&128))By(),Ni(),t.flags|=98560,o=!1;else if(o=Ms(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(D(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(D(317));o[Gt]=t}else Ni(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Oe(t),o=!1}else Lt!==null&&(bc(Lt),Lt=null),o=!0;if(!o)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||de.current&1?Ce===0&&(Ce=3):Jd())),t.updateQueue!==null&&(t.flags|=4),Oe(t),null);case 4:return ji(),gc(e,t),e===null&&Io(t.stateNode.containerInfo),Oe(t),null;case 10:return Id(t.type._context),Oe(t),null;case 17:return Je(t.type)&&Ea(),Oe(t),null;case 19:if(ae(de),o=t.memoizedState,o===null)return Oe(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)ro(o,!1);else{if(Ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Aa(e),s!==null){for(t.flags|=128,ro(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(de,de.current&1|2),t.child}e=e.sibling}o.tail!==null&&ye()>Oi&&(t.flags|=128,r=!0,ro(o,!1),t.lanes=4194304)}else{if(!r)if(e=Aa(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ro(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ue)return Oe(t),null}else 2*ye()-o.renderingStartTime>Oi&&n!==1073741824&&(t.flags|=128,r=!0,ro(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ye(),t.sibling=null,n=de.current,re(de,r?n&1|2:n&1),t):(Oe(t),null);case 22:case 23:return Zd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?rt&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function xE(e,t){switch(Dd(t),t.tag){case 1:return Je(t.type)&&Ea(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ji(),ae(Ze),ae(Ve),Bd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zd(t),null;case 13:if(ae(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Ni()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(de),null;case 4:return ji(),null;case 10:return Id(t.type._context),null;case 22:case 23:return Zd(),null;case 24:return null;default:return null}}var js=!1,_e=!1,wE=typeof WeakSet=="function"?WeakSet:Set,_=null;function ii(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function yc(e,t,n){try{n()}catch(r){ge(e,t,r)}}var ap=!1;function SE(e,t){if(ec=va,e=Ry(),Md(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=s),f===o&&++c===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=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(tc={focusedElem:e,selectionRange:n},va=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,x=v.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:At(t.type,g),x);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(E){ge(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return v=ap,ap=!1,v}function wo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&yc(t,n,o)}i=i.next}while(i!==r)}}function al(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 vc(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 bv(e){var t=e.alternate;t!==null&&(e.alternate=null,bv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Gt],delete t[Fo],delete t[ic],delete t[rE],delete t[iE])),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 Cv(e){return e.tag===5||e.tag===3||e.tag===4}function lp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cv(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 xc(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=Sa));else if(r!==4&&(e=e.child,e!==null))for(xc(e,t,n),e=e.sibling;e!==null;)xc(e,t,n),e=e.sibling}function wc(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(wc(e,t,n),e=e.sibling;e!==null;)wc(e,t,n),e=e.sibling}var Re=null,jt=!1;function Cn(e,t,n){for(n=n.child;n!==null;)Pv(e,t,n),n=n.sibling}function Pv(e,t,n){if(Yt&&typeof Yt.onCommitFiberUnmount=="function")try{Yt.onCommitFiberUnmount(Ja,n)}catch{}switch(n.tag){case 5:_e||ii(n,t);case 6:var r=Re,i=jt;Re=null,Cn(e,t,n),Re=r,jt=i,Re!==null&&(jt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(jt?(e=Re,n=n.stateNode,e.nodeType===8?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),jo(e)):Jl(Re,n.stateNode));break;case 4:r=Re,i=jt,Re=n.stateNode.containerInfo,jt=!0,Cn(e,t,n),Re=r,jt=i;break;case 0:case 11:case 14:case 15:if(!_e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&yc(n,t,s),i=i.next}while(i!==r)}Cn(e,t,n);break;case 1:if(!_e&&(ii(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}Cn(e,t,n);break;case 21:Cn(e,t,n);break;case 22:n.mode&1?(_e=(r=_e)||n.memoizedState!==null,Cn(e,t,n),_e=r):Cn(e,t,n);break;default:Cn(e,t,n)}}function up(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new wE),t.forEach(function(r){var i=ME.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ct(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,jt=!1;break e;case 3:Re=a.stateNode.containerInfo,jt=!0;break e;case 4:Re=a.stateNode.containerInfo,jt=!0;break e}a=a.return}if(Re===null)throw Error(D(160));Pv(o,s,i),Re=null,jt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ge(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)kv(t,e),t=t.sibling}function kv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ct(t,e),Bt(e),r&4){try{wo(3,e,e.return),al(3,e)}catch(g){ge(e,e.return,g)}try{wo(5,e,e.return)}catch(g){ge(e,e.return,g)}}break;case 1:Ct(t,e),Bt(e),r&512&&n!==null&&ii(n,n.return);break;case 5:if(Ct(t,e),Bt(e),r&512&&n!==null&&ii(n,n.return),e.flags&32){var i=e.stateNode;try{Ao(i,"")}catch(g){ge(e,e.return,g)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Yg(i,o),Wu(a,s);var u=Wu(a,o);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?ey(i,d):c==="dangerouslySetInnerHTML"?Zg(i,d):c==="children"?Ao(i,d):yd(i,c,d,u)}switch(a){case"input":Vu(i,o);break;case"textarea":Xg(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?di(i,!!o.multiple,h,!1):f!==!!o.multiple&&(o.defaultValue!=null?di(i,!!o.multiple,o.defaultValue,!0):di(i,!!o.multiple,o.multiple?[]:"",!1))}i[Fo]=o}catch(g){ge(e,e.return,g)}}break;case 6:if(Ct(t,e),Bt(e),r&4){if(e.stateNode===null)throw Error(D(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(g){ge(e,e.return,g)}}break;case 3:if(Ct(t,e),Bt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{jo(t.containerInfo)}catch(g){ge(e,e.return,g)}break;case 4:Ct(t,e),Bt(e);break;case 13:Ct(t,e),Bt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Xd=ye())),r&4&&up(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(_e=(u=_e)||c,Ct(t,e),_e=u):Ct(t,e),Bt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(_=e,c=e.child;c!==null;){for(d=_=c;_!==null;){switch(f=_,h=f.child,f.tag){case 0:case 11:case 14:case 15:wo(4,f,f.return);break;case 1:ii(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(g){ge(r,n,g)}}break;case 5:ii(f,f.return);break;case 22:if(f.memoizedState!==null){dp(d);continue}}h!==null?(h.return=f,_=h):dp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Jg("display",s))}catch(g){ge(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ge(e,e.return,g)}}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:Ct(t,e),Bt(e),r&4&&up(e);break;case 21:break;default:Ct(t,e),Bt(e)}}function Bt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Cv(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ao(i,""),r.flags&=-33);var o=lp(e);wc(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=lp(e);xc(e,a,s);break;default:throw Error(D(161))}}catch(l){ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function EE(e,t,n){_=e,Rv(e)}function Rv(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var i=_,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||js;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||_e;a=js;var u=_e;if(js=s,(_e=l)&&!u)for(_=i;_!==null;)s=_,l=s.child,s.tag===22&&s.memoizedState!==null?fp(i):l!==null?(l.return=s,_=l):fp(i);for(;o!==null;)_=o,Rv(o),o=o.sibling;_=i,js=a,_e=u}cp(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,_=o):cp(e)}}function cp(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_e||al(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_e)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:At(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Qh(t,o,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}Qh(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&&jo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}_e||t.flags&512&&vc(t)}catch(f){ge(t,t.return,f)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function dp(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function fp(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{al(4,t)}catch(l){ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ge(t,i,l)}}var o=t.return;try{vc(t)}catch(l){ge(t,o,l)}break;case 5:var s=t.return;try{vc(t)}catch(l){ge(t,s,l)}}}catch(l){ge(t,t.return,l)}if(t===e){_=null;break}var a=t.sibling;if(a!==null){a.return=t.return,_=a;break}_=t.return}}var TE=Math.ceil,Da=vn.ReactCurrentDispatcher,Qd=vn.ReactCurrentOwner,yt=vn.ReactCurrentBatchConfig,Z=0,ke=null,Se=null,Me=0,rt=0,oi=ar(0),Ce=0,Wo=null,Lr=0,ll=0,Yd=0,So=null,Xe=null,Xd=0,Oi=1/0,on=null,ja=!1,Sc=null,Yn=null,Ls=!1,Bn=null,La=0,Eo=0,Ec=null,ta=-1,na=0;function Ke(){return Z&6?ye():ta!==-1?ta:ta=ye()}function Xn(e){return e.mode&1?Z&2&&Me!==0?Me&-Me:sE.transition!==null?(na===0&&(na=fy()),na):(e=te,e!==0||(e=window.event,e=e===void 0?16:xy(e.type)),e):1}function It(e,t,n,r){if(50<Eo)throw Eo=0,Ec=null,Error(D(185));rs(e,n,r),(!(Z&2)||e!==ke)&&(e===ke&&(!(Z&2)&&(ll|=n),Ce===4&&Ln(e,Me)),et(e,r),n===1&&Z===0&&!(t.mode&1)&&(Oi=ye()+500,il&&lr()))}function et(e,t){var n=e.callbackNode;sS(e,t);var r=ya(e,e===ke?Me:0);if(r===0)n!==null&&Sh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Sh(n),t===1)e.tag===0?oE(hp.bind(null,e)):Fy(hp.bind(null,e)),tE(function(){!(Z&6)&&lr()}),n=null;else{switch(hy(r)){case 1:n=Ed;break;case 4:n=cy;break;case 16:n=ga;break;case 536870912:n=dy;break;default:n=ga}n=Iv(n,Av.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Av(e,t){if(ta=-1,na=0,Z&6)throw Error(D(327));var n=e.callbackNode;if(gi()&&e.callbackNode!==n)return null;var r=ya(e,e===ke?Me:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Oa(e,r);else{t=r;var i=Z;Z|=2;var o=Nv();(ke!==e||Me!==t)&&(on=null,Oi=ye()+500,Rr(e,t));do try{PE();break}catch(a){Mv(e,a)}while(!0);Od(),Da.current=o,Z=i,Se!==null?t=0:(ke=null,Me=0,t=Ce)}if(t!==0){if(t===2&&(i=Yu(e),i!==0&&(r=i,t=Tc(e,i))),t===1)throw n=Wo,Rr(e,0),Ln(e,r),et(e,ye()),n;if(t===6)Ln(e,r);else{if(i=e.current.alternate,!(r&30)&&!bE(i)&&(t=Oa(e,r),t===2&&(o=Yu(e),o!==0&&(r=o,t=Tc(e,o))),t===1))throw n=Wo,Rr(e,0),Ln(e,r),et(e,ye()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:mr(e,Xe,on);break;case 3:if(Ln(e,r),(r&130023424)===r&&(t=Xd+500-ye(),10<t)){if(ya(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ke(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=rc(mr.bind(null,e,Xe,on),t);break}mr(e,Xe,on);break;case 4:if(Ln(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-Ot(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*TE(r/1960))-r,10<r){e.timeoutHandle=rc(mr.bind(null,e,Xe,on),r);break}mr(e,Xe,on);break;case 5:mr(e,Xe,on);break;default:throw Error(D(329))}}}return et(e,ye()),e.callbackNode===n?Av.bind(null,e):null}function Tc(e,t){var n=So;return e.current.memoizedState.isDehydrated&&(Rr(e,t).flags|=256),e=Oa(e,t),e!==2&&(t=Xe,Xe=n,t!==null&&bc(t)),e}function bc(e){Xe===null?Xe=e:Xe.push.apply(Xe,e)}function bE(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 i=n[r],o=i.getSnapshot;i=i.value;try{if(!_t(o(),i))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 Ln(e,t){for(t&=~Yd,t&=~ll,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ot(t),r=1<<n;e[n]=-1,t&=~r}}function hp(e){if(Z&6)throw Error(D(327));gi();var t=ya(e,0);if(!(t&1))return et(e,ye()),null;var n=Oa(e,t);if(e.tag!==0&&n===2){var r=Yu(e);r!==0&&(t=r,n=Tc(e,r))}if(n===1)throw n=Wo,Rr(e,0),Ln(e,t),et(e,ye()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,mr(e,Xe,on),et(e,ye()),null}function qd(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(Oi=ye()+500,il&&lr())}}function Or(e){Bn!==null&&Bn.tag===0&&!(Z&6)&&gi();var t=Z;Z|=1;var n=yt.transition,r=te;try{if(yt.transition=null,te=1,e)return e()}finally{te=r,yt.transition=n,Z=t,!(Z&6)&&lr()}}function Zd(){rt=oi.current,ae(oi)}function Rr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,eE(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Dd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ea();break;case 3:ji(),ae(Ze),ae(Ve),Bd();break;case 5:zd(r);break;case 4:ji();break;case 13:ae(de);break;case 19:ae(de);break;case 10:Id(r.type._context);break;case 22:case 23:Zd()}n=n.return}if(ke=e,Se=e=qn(e.current,null),Me=rt=t,Ce=0,Wo=null,Yd=ll=Lr=0,Xe=So=null,vr!==null){for(t=0;t<vr.length;t++)if(n=vr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}vr=null}return e}function Mv(e,t){do{var n=Se;try{if(Od(),Zs.current=Na,Ma){for(var r=he.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ma=!1}if(jr=0,Pe=Te=he=null,xo=!1,Bo=0,Qd.current=null,n===null||n.return===null){Ce=1,Wo=t,Se=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Me,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 f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ep(s);if(h!==null){h.flags&=-257,tp(h,s,a,o,t),h.mode&1&&Jh(o,u,t),t=h,l=u;var v=t.updateQueue;if(v===null){var g=new Set;g.add(l),t.updateQueue=g}else v.add(l);break e}else{if(!(t&1)){Jh(o,u,t),Jd();break e}l=Error(D(426))}}else if(ue&&a.mode&1){var x=ep(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),tp(x,s,a,o,t),jd(Li(l,a));break e}}o=l=Li(l,a),Ce!==4&&(Ce=2),So===null?So=[o]:So.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var p=hv(o,l,t);Gh(o,p);break e;case 1:a=l;var m=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Yn===null||!Yn.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=pv(o,a,t);Gh(o,E);break e}}o=o.return}while(o!==null)}jv(n)}catch(T){t=T,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Nv(){var e=Da.current;return Da.current=Na,e===null?Na:e}function Jd(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),ke===null||!(Lr&268435455)&&!(ll&268435455)||Ln(ke,Me)}function Oa(e,t){var n=Z;Z|=2;var r=Nv();(ke!==e||Me!==t)&&(on=null,Rr(e,t));do try{CE();break}catch(i){Mv(e,i)}while(!0);if(Od(),Z=n,Da.current=r,Se!==null)throw Error(D(261));return ke=null,Me=0,Ce}function CE(){for(;Se!==null;)Dv(Se)}function PE(){for(;Se!==null&&!q1();)Dv(Se)}function Dv(e){var t=Ov(e.alternate,e,rt);e.memoizedProps=e.pendingProps,t===null?jv(e):Se=t,Qd.current=null}function jv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=xE(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,Se=null;return}}else if(n=vE(n,t,rt),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ce===0&&(Ce=5)}function mr(e,t,n){var r=te,i=yt.transition;try{yt.transition=null,te=1,kE(e,t,n,r)}finally{yt.transition=i,te=r}return null}function kE(e,t,n,r){do gi();while(Bn!==null);if(Z&6)throw Error(D(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(aS(e,o),e===ke&&(Se=ke=null,Me=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ls||(Ls=!0,Iv(ga,function(){return gi(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=yt.transition,yt.transition=null;var s=te;te=1;var a=Z;Z|=4,Qd.current=null,SE(e,n),kv(n,e),GS(tc),va=!!ec,tc=ec=null,e.current=n,EE(n),Z1(),Z=a,te=s,yt.transition=o}else e.current=n;if(Ls&&(Ls=!1,Bn=e,La=i),o=e.pendingLanes,o===0&&(Yn=null),tS(n.stateNode),et(e,ye()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ja)throw ja=!1,e=Sc,Sc=null,e;return La&1&&e.tag!==0&&gi(),o=e.pendingLanes,o&1?e===Ec?Eo++:(Eo=0,Ec=e):Eo=0,lr(),null}function gi(){if(Bn!==null){var e=hy(La),t=yt.transition,n=te;try{if(yt.transition=null,te=16>e?16:e,Bn===null)var r=!1;else{if(e=Bn,Bn=null,La=0,Z&6)throw Error(D(331));var i=Z;for(Z|=4,_=e.current;_!==null;){var o=_,s=o.child;if(_.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(_=u;_!==null;){var c=_;switch(c.tag){case 0:case 11:case 15:wo(8,c,o)}var d=c.child;if(d!==null)d.return=c,_=d;else for(;_!==null;){c=_;var f=c.sibling,h=c.return;if(bv(c),c===u){_=null;break}if(f!==null){f.return=h,_=f;break}_=h}}}var v=o.alternate;if(v!==null){var g=v.child;if(g!==null){v.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}_=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,_=s;else e:for(;_!==null;){if(o=_,o.flags&2048)switch(o.tag){case 0:case 11:case 15:wo(9,o,o.return)}var p=o.sibling;if(p!==null){p.return=o.return,_=p;break e}_=o.return}}var m=e.current;for(_=m;_!==null;){s=_;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,_=y;else e:for(s=m;_!==null;){if(a=_,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:al(9,a)}}catch(T){ge(a,a.return,T)}if(a===s){_=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,_=E;break e}_=a.return}}if(Z=i,lr(),Yt&&typeof Yt.onPostCommitFiberRoot=="function")try{Yt.onPostCommitFiberRoot(Ja,e)}catch{}r=!0}return r}finally{te=n,yt.transition=t}}return!1}function pp(e,t,n){t=Li(n,t),t=hv(e,t,1),e=Qn(e,t,1),t=Ke(),e!==null&&(rs(e,1,t),et(e,t))}function ge(e,t,n){if(e.tag===3)pp(e,e,n);else for(;t!==null;){if(t.tag===3){pp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Yn===null||!Yn.has(r))){e=Li(n,e),e=pv(t,e,1),t=Qn(t,e,1),e=Ke(),t!==null&&(rs(t,1,e),et(t,e));break}}t=t.return}}function RE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ke(),e.pingedLanes|=e.suspendedLanes&n,ke===e&&(Me&n)===n&&(Ce===4||Ce===3&&(Me&130023424)===Me&&500>ye()-Xd?Rr(e,0):Yd|=n),et(e,t)}function Lv(e,t){t===0&&(e.mode&1?(t=bs,bs<<=1,!(bs&130023424)&&(bs=4194304)):t=1);var n=Ke();e=hn(e,t),e!==null&&(rs(e,t,n),et(e,n))}function AE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Lv(e,n)}function ME(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),Lv(e,n)}var Ov;Ov=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ze.current)qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return qe=!1,yE(e,t,n);qe=!!(e.flags&131072)}else qe=!1,ue&&t.flags&1048576&&Vy(t,Ca,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ea(e,t),e=t.pendingProps;var i=Mi(t,Ve.current);mi(t,n),i=Ud(null,t,r,e,i,n);var o=Wd();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Je(r)?(o=!0,Ta(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fd(t),i.updater=sl,t.stateNode=i,i._reactInternals=t,cc(t,r,e,n),t=hc(null,t,r,!0,o,n)):(t.tag=0,ue&&o&&Nd(t),Be(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ea(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=DE(r),e=At(r,e),i){case 0:t=fc(null,t,r,e,n);break e;case 1:t=ip(null,t,r,e,n);break e;case 11:t=np(null,t,r,e,n);break e;case 14:t=rp(null,t,r,At(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),fc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),ip(e,t,r,i,n);case 3:e:{if(vv(t),e===null)throw Error(D(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Hy(e,t),Ra(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Li(Error(D(423)),t),t=op(e,t,r,n,i);break e}else if(r!==i){i=Li(Error(D(424)),t),t=op(e,t,r,n,i);break e}else for(ot=Gn(t.stateNode.containerInfo.firstChild),st=t,ue=!0,Lt=null,n=Uy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ni(),r===i){t=pn(e,t,n);break e}Be(e,t,r,n)}t=t.child}return t;case 5:return Ky(t),e===null&&ac(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,nc(r,i)?s=null:o!==null&&nc(r,o)&&(t.flags|=32),yv(e,t),Be(e,t,s,n),t.child;case 6:return e===null&&ac(t),null;case 13:return xv(e,t,n);case 4:return Vd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Di(t,null,r,n):Be(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),np(e,t,r,i,n);case 7:return Be(e,t,t.pendingProps,n),t.child;case 8:return Be(e,t,t.pendingProps.children,n),t.child;case 12:return Be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,re(Pa,r._currentValue),r._currentValue=s,o!==null)if(_t(o.value,s)){if(o.children===i.children&&!Ze.current){t=pn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=cn(-1,n&-n),l.tag=2;var u=o.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}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),lc(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(D(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),lc(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Be(e,t,i.children,n),t=t.child}return t;
vendor: 10,493 bytes, line 40
40case 9:return i=t.type,r=t.pendingProps.children,mi(t,n),i=wt(i),r=r(i),t.flags|=1,Be(e,t,r,n),t.child;case 14:return r=t.type,i=At(r,t.pendingProps),i=At(r.type,i),rp(e,t,r,i,n);case 15:return mv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),ea(e,t),t.tag=1,Je(r)?(e=!0,Ta(t)):e=!1,mi(t,n),fv(t,r,i),cc(t,r,i,n),hc(null,t,r,!0,e,n);case 19:return wv(e,t,n);case 22:return gv(e,t,n)}throw Error(D(156,t.tag))};function Iv(e,t){return uy(e,t)}function NE(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 mt(e,t,n,r){return new NE(e,t,n,r)}function ef(e){return e=e.prototype,!(!e||!e.isReactComponent)}function DE(e){if(typeof e=="function")return ef(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xd)return 11;if(e===wd)return 14}return 2}function qn(e,t){var n=e.alternate;return n===null?(n=mt(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 ra(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")ef(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Yr:return Ar(n.children,i,o,t);case vd:s=8,i|=8;break;case Lu:return e=mt(12,n,t,i|2),e.elementType=Lu,e.lanes=o,e;case Ou:return e=mt(13,n,t,i),e.elementType=Ou,e.lanes=o,e;case Iu:return e=mt(19,n,t,i),e.elementType=Iu,e.lanes=o,e;case Kg:return ul(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wg:s=10;break e;case Hg:s=9;break e;case xd:s=11;break e;case wd:s=14;break e;case Nn:s=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=mt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ar(e,t,n,r){return e=mt(7,e,r,t),e.lanes=n,e}function ul(e,t,n,r){return e=mt(22,e,r,t),e.elementType=Kg,e.lanes=n,e.stateNode={isHidden:!1},e}function au(e,t,n){return e=mt(6,e,null,t),e.lanes=n,e}function lu(e,t,n){return t=mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jE(e,t,n,r,i){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=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function tf(e,t,n,r,i,o,s,a,l){return e=new jE(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fd(o),e}function LE(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 _v(e){if(!e)return Jn;e=e._reactInternals;e:{if(Fr(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(Je(n))return _y(e,n,t)}return t}function Fv(e,t,n,r,i,o,s,a,l){return e=tf(n,r,!0,e,i,o,s,a,l),e.context=_v(null),n=e.current,r=Ke(),i=Xn(n),o=cn(r,i),o.callback=t??null,Qn(n,o,i),e.current.lanes=i,rs(e,i,r),et(e,r),e}function cl(e,t,n,r){var i=t.current,o=Ke(),s=Xn(i);return n=_v(n),t.context===null?t.context=n:t.pendingContext=n,t=cn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(i,t,s),e!==null&&(It(e,i,s,o),qs(e,i,s)),s}function Ia(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 mp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function nf(e,t){mp(e,t),(e=e.alternate)&&mp(e,t)}function OE(){return null}var Vv=typeof reportError=="function"?reportError:function(e){console.error(e)};function rf(e){this._internalRoot=e}dl.prototype.render=rf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));cl(e,t,null,null)};dl.prototype.unmount=rf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Or(function(){cl(null,e,null,null)}),t[fn]=null}};function dl(e){this._internalRoot=e}dl.prototype.unstable_scheduleHydration=function(e){if(e){var t=gy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jn.length&&t!==0&&t<jn[n].priority;n++);jn.splice(n,0,e),n===0&&vy(e)}};function of(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function fl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function gp(){}function IE(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Ia(s);o.call(u)}}var s=Fv(t,r,e,0,null,!1,!1,"",gp);return e._reactRootContainer=s,e[fn]=s.current,Io(e.nodeType===8?e.parentNode:e),Or(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Ia(l);a.call(u)}}var l=tf(e,0,!1,null,null,!1,!1,"",gp);return e._reactRootContainer=l,e[fn]=l.current,Io(e.nodeType===8?e.parentNode:e),Or(function(){cl(t,l,n,r)}),l}function hl(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=Ia(s);a.call(l)}}cl(t,s,e,i)}else s=IE(n,t,e,i,r);return Ia(s)}py=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=co(t.pendingLanes);n!==0&&(Td(t,n|1),et(t,ye()),!(Z&6)&&(Oi=ye()+500,lr()))}break;case 13:Or(function(){var r=hn(e,1);if(r!==null){var i=Ke();It(r,e,1,i)}}),nf(e,1)}};bd=function(e){if(e.tag===13){var t=hn(e,134217728);if(t!==null){var n=Ke();It(t,e,134217728,n)}nf(e,134217728)}};my=function(e){if(e.tag===13){var t=Xn(e),n=hn(e,t);if(n!==null){var r=Ke();It(n,e,t,r)}nf(e,t)}};gy=function(){return te};yy=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};Ku=function(e,t,n){switch(t){case"input":if(Vu(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 i=rl(r);if(!i)throw Error(D(90));Qg(r),Vu(r,i)}}}break;case"textarea":Xg(e,n);break;case"select":t=n.value,t!=null&&di(e,!!n.multiple,t,!1)}};ry=qd;iy=Or;var _E={usingClientEntryPoint:!1,Events:[os,Jr,rl,ty,ny,qd]},io={findFiberByHostInstance:yr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},FE={bundleType:io.bundleType,version:io.version,rendererPackageName:io.rendererPackageName,rendererConfig:io.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ay(e),e===null?null:e.stateNode},findFiberByHostInstance:io.findFiberByHostInstance||OE,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 Os=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Os.isDisabled&&Os.supportsFiber)try{Ja=Os.inject(FE),Yt=Os}catch{}}ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_E;ut.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!of(t))throw Error(D(200));return LE(e,t,null,n)};ut.createRoot=function(e,t){if(!of(e))throw Error(D(299));var n=!1,r="",i=Vv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=tf(e,1,!1,null,null,n,!1,r,i),e[fn]=t.current,Io(e.nodeType===8?e.parentNode:e),new rf(t)};ut.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(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=ay(t),e=e===null?null:e.stateNode,e};ut.flushSync=function(e){return Or(e)};ut.hydrate=function(e,t,n){if(!fl(t))throw Error(D(200));return hl(null,e,t,!0,n)};ut.hydrateRoot=function(e,t,n){if(!of(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Vv;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Fv(t,null,e,1,n??null,i,!1,o,s),e[fn]=t.current,Io(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new dl(t)};ut.render=function(e,t,n){if(!fl(t))throw Error(D(200));return hl(null,e,t,!1,n)};ut.unmountComponentAtNode=function(e){if(!fl(e))throw Error(D(40));return e._reactRootContainer?(Or(function(){hl(null,null,e,!1,function(){e._reactRootContainer=null,e[fn]=null})}),!0):!1};ut.unstable_batchedUpdates=qd;ut.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!fl(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return hl(e,t,n,!1,r)};ut.version="18.3.1-next-f1338f8080-20240426";function zv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zv)}catch(e){console.error(e)}}zv(),zg.exports=ut;
40var as=zg.exports;const Bv=kg(as);var $v,yp=as;$v=yp.createRoot,yp.hydrateRoot;const VE=1,zE=1e6;let uu=0;function BE(){return uu=(uu+1)%Number.MAX_SAFE_INTEGER,uu.toString()}const cu=new Map,vp=e=>{if(cu.has(e))return;const t=setTimeout(()=>{cu.delete(e),To({type:"REMOVE_TOAST",toastId:e})},zE);cu.set(e,t)},$E=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,VE)};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?vp(n):e.toasts.forEach(r=>{vp(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)}}},ia=[];let oa={toasts:[]};function To(e){oa=$E(oa,e),ia.forEach(t=>{t(oa)})}function UE({...e}){const t=BE(),n=i=>To({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>To({type:"DISMISS_TOAST",toastId:t});return To({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function WE(){const[e,t]=w.useState(oa);return w.useEffect(()=>(ia.push(t),()=>{const n=ia.indexOf(t);n>-1&&ia.splice(n,1)}),[e]),{...e,toast:UE,dismiss:n=>To({type:"DISMISS_TOAST",toastId:n})}}function be(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function xp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Uv(...e){return t=>{let n=!1;const r=e.map(i=>{const o=xp(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():xp(e[i],null)}}}}function Ft(...e){return w.useCallback(Uv(...e),e)}function pl(e,t=[]){let n=[];function r(o,s){const a=w.createContext(s),l=n.length;n=[...n,s];const u=d=>{var p;const{scope:f,children:h,...v}=d,g=((p=f==null?void 0:f[e])==null?void 0:p[l])||a,x=w.useMemo(()=>v,Object.values(v));return S.jsx(g.Provider,{value:x,children:h})};u.displayName=o+"Provider";function c(d,f){var g;const h=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,v=w.useContext(h);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,HE(i,...t)]}function HE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...a,...d}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Cc(e){const t=KE(e),n=w.forwardRef((r,i)=>{const{children:o,...s}=r,a=w.Children.toArray(o),l=a.find(QE);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:i,children:w.isValidElement(u)?w.cloneElement(u,void 0,c):null})}return S.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function KE(e){const t=w.forwardRef((n,r)=>{const{children:i,...o}=n;if(w.isValidElement(i)){const s=XE(i),a=YE(o,i.props);return i.type!==w.Fragment&&(a.ref=r?Uv(r,s):s),w.cloneElement(i,a)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Wv=Symbol("radix.slottable");function GE(e){const t=({children:n})=>S.jsx(S.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Wv,t}function QE(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Wv}function YE(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{const l=o(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function XE(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function qE(e){const t=e+"CollectionProvider",[n,r]=pl(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:x,children:p}=g,m=j.useRef(null),y=j.useRef(new Map).current;return S.jsx(i,{scope:x,itemMap:y,collectionRef:m,children:p})};s.displayName=t;const a=e+"CollectionSlot",l=Cc(a),u=j.forwardRef((g,x)=>{const{scope:p,children:m}=g,y=o(a,p),E=Ft(x,y.collectionRef);return S.jsx(l,{ref:E,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Cc(c),h=j.forwardRef((g,x)=>{const{scope:p,children:m,...y}=g,E=j.useRef(null),T=Ft(x,E),b=o(c,p);return j.useEffect(()=>(b.itemMap.set(E,{ref:E,...y}),()=>void b.itemMap.delete(E))),S.jsx(f,{[d]:"",ref:T,children:m})});h.displayName=c;function v(g){const x=o(e+"CollectionConsumer",g);return j.useCallback(()=>{const m=x.collectionRef.current;if(!m)return[];const y=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((b,C)=>y.indexOf(b.ref.current)-y.indexOf(C.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},v,r]}var ZE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],nt=ZE.reduce((e,t)=>
vendor: 8,501 bytes, line 40
40{const n=Cc(`Primitive.${t}`),r=w.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Hv(e,t){e&&as.flushSync(()=>e.dispatchEvent(t))}function er(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 JE(e,t=globalThis==null?void 0:globalThis.document){const n=er(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var eT="DismissableLayer",Pc="dismissableLayer.update",tT="dismissableLayer.pointerDownOutside",nT="dismissableLayer.focusOutside",wp,Kv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),sf=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=w.useContext(Kv),[c,d]=w.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=w.useState({}),v=Ft(t,C=>d(C)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),p=g.indexOf(x),m=c?g.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,E=m>=p,T=iT(C=>{const P=C.target,M=[...u.branches].some(N=>N.contains(P));!E||M||(i==null||i(C),s==null||s(C),C.defaultPrevented||a==null||a())},f),b=oT(C=>{const P=C.target;[...u.branches].some(N=>N.contains(P))||(o==null||o(C),s==null||s(C),C.defaultPrevented||a==null||a())},f);return JE(C=>{m===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},f),w.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(wp=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Sp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=wp)}},[c,f,n,u]),w.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Sp())},[c,u]),w.useEffect(()=>{const C=()=>h({});return document.addEventListener(Pc,C),()=>document.removeEventListener(Pc,C)},[]),S.jsx(nt.div,{...l,ref:v,style:{pointerEvents:y?E?"auto":"none":void 0,...e.style},onFocusCapture:be(e.onFocusCapture,b.onFocusCapture),onBlurCapture:be(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:be(e.onPointerDownCapture,T.onPointerDownCapture)})});sf.displayName=eT;var rT="DismissableLayerBranch",Gv=w.forwardRef((e,t)=>{const n=w.useContext(Kv),r=w.useRef(null),i=Ft(t,r);return w.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),S.jsx(nt.div,{...e,ref:i})});Gv.displayName=rT;function iT(e,t=globalThis==null?void 0:globalThis.document){const n=er(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){Qv(tT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function oT(e,t=globalThis==null?void 0:globalThis.document){const n=er(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Qv(nT,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Sp(){const e=new CustomEvent(Pc);document.dispatchEvent(e)}function Qv(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Hv(i,o):i.dispatchEvent(o)}var sT=sf,aT=Gv,tr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},lT="Portal",Yv=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=w.useState(!1);tr(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Bv.createPortal(S.jsx(nt.div,{...r,ref:t}),s):null});Yv.displayName=lT;function uT(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var af=e=>{const{present:t,children:n}=e,r=cT(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=Ft(r.ref,dT(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};af.displayName="Presence";function cT(e){const[t,n]=w.useState(),r=w.useRef(null),i=w.useRef(e),o=w.useRef("none"),s=e?"mounted":"unmounted",[a,l]=uT(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Is(r.current);o.current=a==="mounted"?u:"none"},[a]),tr(()=>{const u=r.current,c=i.current;if(c!==e){const f=o.current,h=Is(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),tr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const g=Is(r.current).includes(h.animationName);if(h.target===t&&g&&(l("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=h=>{h.target===t&&(o.current=Is(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),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 Is(e){return(e==null?void 0:e.animationName)||"none"}function dT(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fT=Fg[" useInsertionEffect ".trim().toString()]||tr;function hT({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=pT({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{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 f=mT(c)?c(e):c;f!==e&&((d=s.current)==null||d.call(s,f))}else o(c)},[a,e,o,s]);return[l,u]}function pT({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),i=w.useRef(n),o=w.useRef(t);return fT(()=>{o.current=t},[t]),w.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function mT(e){return typeof e=="function"}var gT=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"}),yT="VisuallyHidden",ml=w.forwardRef((e,t)=>S.jsx(nt.span,{...e,ref:t,style:{...gT,...e.style}}));ml.displayName=yT;var vT=ml,lf="ToastProvider",[uf,xT,wT]=qE("Toast"),[Xv,vD]=pl("Toast",[wT]),[ST,gl]=Xv(lf),qv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=w.useState(null),[u,c]=w.useState(0),d=w.useRef(!1),f=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${lf}\`. Expected non-empty \`string\`.`),S.jsx(uf.Provider,{scope:t,children:S.jsx(ST,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>c(h=>h+1),[]),onToastRemove:w.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};qv.displayName=lf;
40var Zv="ToastViewport",ET=["F8"],kc="toast.viewportPause",Rc="toast.viewportResume",Jv=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=ET,label:i="Notifications ({hotkey})",...o}=e,s=gl(Zv,n),a=xT(n),l=w.useRef(null),u=w.useRef(null),c=w.useRef(null),d=w.useRef(null),f=Ft(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;w.useEffect(()=>{const x=p=>{var y;r.length!==0&&r.every(E=>p[E]||p.code===E)&&((y=d.current)==null||y.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),w.useEffect(()=>{const x=l.current,p=d.current;if(v&&x&&p){const m=()=>{if(!s.isClosePausedRef.current){const b=new CustomEvent(kc);p.dispatchEvent(b),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const b=new CustomEvent(Rc);p.dispatchEvent(b),s.isClosePausedRef.current=!1}},E=b=>{!x.contains(b.relatedTarget)&&y()},T=()=>{x.contains(document.activeElement)||y()};return x.addEventListener("focusin",m),x.addEventListener("focusout",E),x.addEventListener("pointermove",m),x.addEventListener("pointerleave",T),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{x.removeEventListener("focusin",m),x.removeEventListener("focusout",E),x.removeEventListener("pointermove",m),x.removeEventListener("pointerleave",T),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[v,s.isClosePausedRef]);const g=w.useCallback(({tabbingDirection:x})=>{const m=a().map(y=>{const E=y.ref.current,T=[E,...OT(E)];return x==="forwards"?T:T.reverse()});return(x==="forwards"?m.reverse():m).flat()},[a]);return w.useEffect(()=>{const x=d.current;if(x){const p=m=>{var T,b,C;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const P=document.activeElement,M=m.shiftKey;if(m.target===x&&M){(T=u.current)==null||T.focus();return}const I=g({tabbingDirection:M?"backwards":"forwards"}),K=I.findIndex(L=>L===P);du(I.slice(K+1))?m.preventDefault():M?(b=u.current)==null||b.focus():(C=c.current)==null||C.focus()}};return x.addEventListener("keydown",p),()=>x.removeEventListener("keydown",p)}},[a,g]),S.jsxs(aT,{ref:l,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&S.jsx(Ac,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});du(x)}}),S.jsx(uf.Slot,{scope:n,children:S.jsx(nt.ol,{tabIndex:-1,...o,ref:f})}),v&&S.jsx(Ac,{ref:c,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});du(x)}})]})});Jv.displayName=Zv;var e0="ToastFocusProxy",Ac=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=gl(e0,n);return S.jsx(ml,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});Ac.displayName=e0;var ls="Toast",TT="toast.swipeStart",bT="toast.swipeMove",CT="toast.swipeCancel",PT="toast.swipeEnd",t0=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=hT({prop:r,defaultProp:i??!0,onChange:o,caller:ls});return S.jsx(af,{present:n||a,children:S.jsx(AT,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:er(e.onPause),onResume:er(e.onResume),onSwipeStart:be(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:be(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:be(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:be(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)})})})});t0.displayName=ls;var[kT,RT]=Xv(ls,{onClose(){}}),AT=w.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...v}=e,g=gl(ls,n),[x,p]=w.useState(null),m=Ft(t,L=>p(L)),y=w.useRef(null),E=w.useRef(null),T=i||g.duration,b=w.useRef(0),C=w.useRef(T),P=w.useRef(0),{onToastAdd:M,onToastRemove:N}=g,z=er(()=>{var Q;(x==null?void 0:x.contains(document.activeElement))&&((Q=g.viewport)==null||Q.focus()),s()}),I=w.useCallback(L=>{!L||L===1/0||(window.clearTimeout(P.current),b.current=new Date().getTime(),P.current=window.setTimeout(z,L))},[z]);w.useEffect(()=>{const L=g.viewport;if(L){const Q=()=>{I(C.current),u==null||u()},$=()=>{const V=new Date().getTime()-b.current;C.current=C.current-V,window.clearTimeout(P.current),l==null||l()};return L.addEventListener(kc,$),L.addEventListener(Rc,Q),()=>{L.removeEventListener(kc,$),L.removeEventListener(Rc,Q)}}},[g.viewport,T,l,u,I]),w.useEffect(()=>{o&&!g.isClosePausedRef.current&&I(T)},[o,T,g.isClosePausedRef,I]),w.useEffect(()=>(M(),()=>N()),[M,N]);const K=w.useMemo(()=>x?l0(x):null,[x]);return g.viewport?S.jsxs(S.Fragment,{children:[K&&S.jsx(MT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:K}),S.jsx(kT,{scope:n,onClose:z,children:as.createPortal(S.jsx(uf.ItemSlot,{scope:n,children:S.jsx(sT,{asChild:!0,onEscapeKeyDown:be(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||z(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:S.jsx(nt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":g.swipeDirection,...v,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:be(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:be(e.onPointerDown,L=>{L.button===0&&(y.current={x:L.clientX,y:L.clientY})}),onPointerMove:be(e.onPointerMove,L=>{if(!y.current)return;const Q=L.clientX-y.current.x,$=L.clientY-y.current.y,V=!!E.current,k=["left","right"].includes(g.swipeDirection),A=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,O=k?A(0,Q):0,U=k?0:A(0,$),B=L.pointerType==="touch"?10:2,Y={x:O,y:U},q={originalEvent:L,delta:Y};V?(E.current=Y,_s(bT,d,q,{discrete:!1})):Ep(Y,g.swipeDirection,B)?(E.current=Y,_s(TT,c,q,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(Q)>B||Math.abs($)>B)&&(y.current=null)}),onPointerUp:be(e.onPointerUp,L=>{const Q=E.current,$=L.target;if($.hasPointerCapture(L.pointerId)&&$.releasePointerCapture(L.pointerId),E.current=null,y.current=null,Q){const V=L.currentTarget,k={originalEvent:L,delta:Q};Ep(Q,g.swipeDirection,g.swipeThreshold)?_s(PT,h,k,{discrete:!0}):_s(CT,f,k,{discrete:!0}),V.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),MT=e=>{const{__scopeToast:t,children:n,...r}=e,i=gl(ls,t),[o,s]=w.useState(!1),[a,l]=w.useState(!1);return jT(()=>s(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:S.jsx(Yv,{asChild:!0,children:S.jsx(ml,{...r,children:o&&S.jsxs(S.Fragment,{children:[i.label," ",n]})})})},NT="ToastTitle",n0=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return S.jsx(nt.div,{...r,ref:t})});n0.displayName=NT;var DT="ToastDescription",r0=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return S.jsx(nt.div,{...r,ref:t})});r0.displayName=DT;var i0="ToastAction",o0=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?S.jsx(a0,{altText:n,asChild:!0,children:S.jsx(cf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${i0}\`. Expected non-empty \`string\`.`),null)});o0.displayName=i0;var s0="ToastClose",cf=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=RT(s0,n);return S.jsx(a0,{asChild:!0,children:S.jsx(nt.button,{type:"button",...r,ref:t,onClick:be(e.onClick,i.onClose)})})});cf.displayName=s0;var a0=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return S.jsx(nt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function l0(e){const t=[];
vendor: 5,967 bytes, lines 40-85
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),LT(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...l0(r))}}),t}function _s(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Hv(i,o):i.dispatchEvent(o)}var Ep=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function jT(e=()=>{}){const t=er(e);tr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function LT(e){return e.nodeType===e.ELEMENT_NODE}function OT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function du(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var IT=qv,u0=Jv,c0=t0,d0=n0,f0=r0,h0=o0,p0=cf;function m0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=m0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function g0(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=m0(e))&&(r&&(r+=" "),r+=t);return r}const Tp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,bp=g0,_T=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return bp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=o==null?void 0:o[u];if(c===null)return null;const f=Tp(c)||Tp(d);return i[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...h}=c;return Object.entries(h).every(v=>{let[g,x]=v;return Array.isArray(x)?x.includes({...o,...a}[g]):{...o,...a}[g]===x})?[...u,d,f]:u},[]);return bp(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 FT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),y0=(...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 VT={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 zT=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...a},l)=>w.createElement("svg",{ref:l,...VT,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:y0("lucide",i),...a},[...s.map(([u,c])=>w.createElement(u,c)),...Array.isArray(o)?o:[o]]));/**
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 us=(e,t)=>{const n=w.forwardRef(({className:r,...i},o)=>w.createElement(zT,{ref:o,iconNode:t,className:y0(`lucide-${FT(e)}`,r),...i}));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 BT=us("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
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 $T=us("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
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 UT=us("Satellite",[["path",{d:"M13 7 9 3 5 7l4 4",key:"vyckw6"}],["path",{d:"m17 11 4 4-4 4-4-4",key:"rchckc"}],["path",{d:"m8 12 4 4 6-6-4-4Z",key:"1sshf7"}],["path",{d:"m16 8 3-3",key:"x428zp"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}]]);/**
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 WT=us("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const HT=us("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,906 bytes, line 85
85],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),df="-",KT=e=>{const t=QT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(df);return a[0]===""&&a.length!==1&&a.shift(),v0(a,t)||GT(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},v0=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?v0(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(df);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},Cp=/^\[(.+)\]$/,GT=e=>{if(Cp.test(e)){const t=Cp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},QT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return XT(Object.entries(e.classGroups),n).forEach(([o,s])=>{Mc(s,r,o,t)}),r},Mc=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:Pp(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(YT(i)){Mc(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Mc(s,Pp(t,o),n,r)})})},Pp=(e,t)=>{let n=e;return t.split(df).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},YT=e=>e.isThemeGetter,XT=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e,qT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}},x0="!",ZT=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let x=0;x<a.length;x++){let p=a[x];if(u===0){if(p===i&&(r||a.slice(x,x+o)===t)){l.push(a.slice(c,x)),c=x+o;continue}if(p==="/"){d=x;continue}}p==="["?u++:p==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(x0),v=h?f.substring(1):f,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},JT=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},eb=e=>({cache:qT(e.cacheSize),parseClassName:ZT(e),...KT(e)}),tb=/\s+/,nb=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(tb);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(u);let v=!!h,g=r(v?f.substring(0,h):f);if(!g){if(!v){a=u+(a.length>0?" "+a:a);continue}if(g=r(f),!g){a=u+(a.length>0?" "+a:a);continue}v=!1}const x=JT(c).join(":"),p=d?x+x0:x,m=p+g;if(o.includes(m))continue;o.push(m);const y=i(g,v);for(let E=0;E<y.length;++E){const T=y[E];o.push(p+T)}a=u+(a.length>0?" "+a:a)}return a};function rb(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=w0(t))&&(r&&(r+=" "),r+=n);return r}const w0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=w0(e[r]))&&(n&&(n+=" "),n+=t);return n};function ib(e,...t){let n,r,i,o=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=eb(u),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=nb(l,n);return i(l,c),c}return function(){return o(rb.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},S0=/^\[(?:([a-z-]+):)?(.+)\]$/i,ob=/^\d+\/\d+$/,sb=new Set(["px","full","screen"]),ab=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lb=/\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$/,ub=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,cb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,db=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nn=e=>yi(e)||sb.has(e)||ob.test(e),Pn=e=>Ui(e,"length",xb),yi=e=>!!e&&!Number.isNaN(Number(e)),fu=e=>Ui(e,"number",yi),oo=e=>!!e&&Number.isInteger(Number(e)),fb=e=>e.endsWith("%")&&yi(e.slice(0,-1)),G=e=>S0.test(e),kn=e=>ab.test(e),hb=new Set(["length","size","percentage"]),pb=e=>Ui(e,hb,E0),mb=e=>Ui(e,"position",E0),gb=new Set(["image","url"]),yb=e=>Ui(e,gb,Sb),vb=e=>Ui(e,"",wb),so=()=>!0,Ui=(e,t,n)=>{const r=S0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},xb=e=>lb.test(e)&&!ub.test(e),E0=()=>!1,wb=e=>cb.test(e),Sb=e=>db.test(e),Eb=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),i=oe("borderColor"),o=oe("borderRadius"),s=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),d=oe("invert"),f=oe("gap"),h=oe("gradientColorStops"),v=oe("gradientColorStopPositions"),g=oe("inset"),x=oe("margin"),p=oe("opacity"),m=oe("padding"),y=oe("saturate"),E=oe("scale"),T=oe("sepia"),b=oe("skew"),C=oe("space"),P=oe("translate"),M=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",G,t],I=()=>[G,t],K=()=>["",nn,Pn],L=()=>["auto",yi,G],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",G],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[yi,G];return{cacheSize:500,separator:":",theme:{colors:[so],spacing:[nn,Pn],blur:["none","",kn,G],brightness:U(),borderColor:[e],borderRadius:["n
85one","","full",kn,G],borderSpacing:I(),borderWidth:K(),contrast:U(),grayscale:A(),hueRotate:U(),invert:A(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[fb,Pn],inset:z(),margin:z(),opacity:U(),padding:I(),saturate:U(),scale:U(),sepia:A(),skew:U(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[kn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],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:[...Q(),G]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oo,G]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",oo,G]}],"grid-cols":[{"grid-cols":[so]}],"col-start-end":[{col:["auto",{span:["full",oo,G]},G]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[so]}],"row-start-end":[{row:["auto",{span:[oo,G]},G]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"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",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[kn]},kn]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kn,Pn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fu]}],"font-family":[{font:[so]}],"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",G]}],"line-clamp":[{"line-clamp":["none",yi,fu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",nn,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",nn,Pn]}],"underline-offset":[{"underline-offset":["auto",nn,G]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",G]}],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",G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),mb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},yb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 5,172 bytes, line 85
85],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[p]}],"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":[p]}],"divide-style":[{divide:$()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[nn,G]}],"outline-w":[{outline:[nn,Pn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[nn,Pn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kn,vb]}],"shadow-color":[{shadow:[so]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",kn,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[T]}],"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":[p]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"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",G]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[oo,G]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",G]}],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",G]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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,646 bytes, line 85
85],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[nn,Pn,fu]}],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"]}}},Tb=ib(Eb);function Vr(...e){return Tb(g0(e))}const bb=IT,T0=w.forwardRef(({className:e,...t},n)=>S.jsx(u0,{ref:n,className:Vr("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}));T0.displayName=u0.displayName;const Cb=_T("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"}}),b0=w.forwardRef(({className:e,variant:t,...n},r)=>S.jsx(c0,{ref:r,className:Vr(Cb({variant:t}),e),...n}));b0.displayName=c0.displayName;const Pb=w.forwardRef(({className:e,...t},n)=>S.jsx(h0,{ref:n,className:Vr("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}));Pb.displayName=h0.displayName;const C0=w.forwardRef(({className:e,...t},n)=>S.jsx(p0,{ref:n,className:Vr("absolute right-2 top-2 rounded-md p-1 text-foreground
85/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(HT,{className:"h-4 w-4"})}));C0.displayName=p0.displayName;const P0=w.forwardRef(({className:e,...t},n)=>S.jsx(d0,{ref:n,className:Vr("text-sm font-semibold",e),...t}));P0.displayName=d0.displayName;const k0=w.forwardRef(({className:e,...t},n)=>S.jsx(f0,{ref:n,className:Vr("text-sm opacity-90",e),...t}));k0.displayName=f0.displayName;function kb(){const{toasts:e}=WE();return S.jsxs(bb,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return S.jsxs(b0,{...o,children:[S.jsxs("div",{className:"grid gap-1",children:[n&&S.jsx(P0,{children:n}),r&&S.jsx(k0,{children:r})]}),i,S.jsx(C0,{})]},t)}),S.jsx(T0,{})]})}var kp=["light","dark"],Rb="(prefers-color-scheme: dark)",Ab=w.createContext(void 0),Mb={setTheme:e=>{},themes:[]},Nb=()=>{var e;return(e=w.useContext(Ab))!=null?e:Mb};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:s,attrs:a,nonce:l})=>{let u=o==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;
85${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?kp.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(v,g=!1,x=!0)=>{let p=s?s[v]:v,m=g?v+"|| ''":`'${p}'`,y="";return i&&x&&!g&&kp.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),n==="class"?g||p?y+=`c.add(${m})`:y+="null":p&&(y+=`d[s](n,${m})`),y},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${Rb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${u?"":"else{"+f(o,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(o,!1,!1)};}${d}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var Db=e=>{switch(e){case"success":return Ob;case"info":return _b;case"warning":return Ib;case"error":return Fb;default:return null}},jb=Array(12).fill(0),Lb=({visible:e,className:t})=>j.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},j.createElement("div",{className:"sonner-spinner"},jb.map((n,r)=>j.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Ob=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Ib=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},j.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"})),_b=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Fb=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Vb=j.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"},j.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),j.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),zb=()=>{let[e,t]=j.useState(document.hidden);return j.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Nc=1,Bb=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,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Nc++,o=this.toasts.find(a=>a.id===i),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:i}),i},this.dismiss=e=>
85(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)=>this.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(),i=n!==void 0,o,s=r.then(async l=>{if(o=["resolve",l],j.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(Ub(l)&&!l.ok){i=!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){i=!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(o=["reject",l],t.error!==void 0){i=!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;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>o[0]==="reject"?u(o[1]):l(o[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)||Nc++;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}},Ye=new Bb,$b=(e,t)=>{let n=(t==null?void 0:t.id)||Nc++;return Ye.addToast({title:e,...t,id:n}),n},Ub=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Wb=$b,Hb=()=>Ye.toasts,Kb=()=>Ye.getActiveToasts();Object.assign(Wb,{success:Ye.success,info:Ye.info,warning:Ye.warning,error:Ye.error,custom:Ye.custom,message:Ye.message,promise:Ye.promise,dismiss:Ye.dismiss,loading:Ye.loading},{getHistory:Hb,getToasts:Kb});function Gb(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))}Gb(`: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;
85left: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}
85: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%);
85--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%)}
86`);function Fs(e){return e.label!==void 0}var Qb=3,Yb="32px",Xb="16px",Rp=4e3,qb=356,Zb=14,Jb=20,eC=200;function Pt(...e){return e.filter(Boolean).join(" ")}function tC(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var nC=e=>{var t,n,r,i,o,s,a,l,u,c,d;let{invert:f,toast:h,unstyled:v,interacting:g,setHeights:x,visibleToasts:p,heights:m,index:y,toasts:E,expanded:T,removeToast:b,defaultRichColors:C,closeButton:P,style:M,cancelButtonStyle:N,actionButtonStyle:z,className:I="",descriptionClassName:K="",duration:L,position:Q,gap:$,loadingIcon:V,expandByDefault:k,classNames:A,icons:O,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:B}=e,[Y,q]=j.useState(null),[ve,De]=j.useState(null),[ee,zr]=j.useState(!1),[xn,cr]=j.useState(!1),[wn,Br]=j.useState(!1),[Sn,ms]=j.useState(!1),[Dl,gs]=j.useState(!1),[jl,Yi]=j.useState(0),[$r,nh]=j.useState(0),Xi=j.useRef(h.duration||L||Rp),rh=j.useRef(null),dr=j.useRef(null),i1=y===0,o1=y+1<=p,dt=h.type,Ur=h.dismissible!==!1,s1=h.className||"",a1=h.descriptionClassName||"",ys=j.useMemo(()=>m.findIndex(W=>W.toastId===h.id)||0,[m,h.id]),l1=j.useMemo(()=>{var W;return(W=h.closeButton)!=null?W:P},[h.closeButton,P]),ih=j.useMemo(()=>h.duration||L||Rp,[h.duration,L]),Ll=j.useRef(0),Wr=j.useRef(0),oh=j.useRef(0),Hr=j.useRef(null),[u1,c1]=Q.split("-"),sh=j.useMemo(()=>m.reduce((W,ne,le)=>le>=ys?W:W+ne.height,0),[m,ys]),ah=zb(),d1=h.invert||f,Ol=dt==="loading";Wr.current=j.useMemo(()=>ys*$+sh,[ys,sh]),j.useEffect(()=>{Xi.current=ih},[ih]),j.useEffect(()=>{zr(!0)},[]),j.useEffect(()=>{let W=dr.current;if(W){let ne=W.getBoundingClientRect().height;return nh(ne),x(le=>[{toastId:h.id,height:ne,position:h.position},...le]),()=>x(le=>le.filter(Et=>Et.toastId!==h.id))}},[x,h.id]),j.useLayoutEffect(()=>{if(!ee)return;let W=dr.current,ne=W.style.height;W.style.height="auto";let le=W.getBoundingClientRect().height;W.style.height=ne,nh(le),x(Et=>Et.find(Tt=>Tt.toastId===h.id)?Et.map(Tt=>
86Tt.toastId===h.id?{...Tt,height:le}:Tt):[{toastId:h.id,height:le,position:h.position},...Et])},[ee,h.title,h.description,x,h.id]);let En=j.useCallback(()=>{cr(!0),Yi(Wr.current),x(W=>W.filter(ne=>ne.toastId!==h.id)),setTimeout(()=>{b(h)},eC)},[h,b,x,Wr]);j.useEffect(()=>{if(h.promise&&dt==="loading"||h.duration===1/0||h.type==="loading")return;let W;return T||g||B&&ah?(()=>{if(oh.current<Ll.current){let ne=new Date().getTime()-Ll.current;Xi.current=Xi.current-ne}oh.current=new Date().getTime()})():Xi.current!==1/0&&(Ll.current=new Date().getTime(),W=setTimeout(()=>{var ne;(ne=h.onAutoClose)==null||ne.call(h,h),En()},Xi.current)),()=>clearTimeout(W)},[T,g,h,dt,B,ah,En]),j.useEffect(()=>{h.delete&&En()},[En,h.delete]);function f1(){var W,ne,le;return O!=null&&O.loading?j.createElement("div",{className:Pt(A==null?void 0:A.loader,(W=h==null?void 0:h.classNames)==null?void 0:W.loader,"sonner-loader"),"data-visible":dt==="loading"},O.loading):V?j.createElement("div",{className:Pt(A==null?void 0:A.loader,(ne=h==null?void 0:h.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":dt==="loading"},V):j.createElement(Lb,{className:Pt(A==null?void 0:A.loader,(le=h==null?void 0:h.classNames)==null?void 0:le.loader),visible:dt==="loading"})}return j.createElement("li",{tabIndex:0,ref:dr,className:Pt(I,s1,A==null?void 0:A.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,A==null?void 0:A.default,A==null?void 0:A[dt],(n=h==null?void 0:h.classNames)==null?void 0:n[dt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:C,"data-styled":!(h.jsx||h.unstyled||v),"data-mounted":ee,"data-promise":!!h.promise,"data-swiped":Dl,"data-removed":xn,"data-visible":o1,"data-y-position":u1,"data-x-position":c1,"data-index":y,"data-front":i1,"data-swiping":wn,"data-dismissible":Ur,"data-type":dt,"data-invert":d1,"data-swipe-out":Sn,"data-swipe-direction":ve,"data-expanded":!!(T||k&&ee),style:{"--index":y,"--toasts-before":y,"--z-index":E.length-y,"--offset":`${xn?jl:Wr.current}px`,"--initial-height":k?"auto":`${$r}px`,...M,...h.style},onDragEnd:()=>{Br(!1),q(null),Hr.current=null},onPointerDown:W=>{Ol||!Ur||(rh.current=new Date,Yi(Wr.current),W.target.setPointerCapture(W.pointerId),W.target.tagName!=="BUTTON"&&(Br(!0),Hr.current={x:W.clientX,y:W.clientY}))},onPointerUp:()=>{var W,ne,le,Et;if(Sn||!Ur)return;Hr.current=null;let Tt=Number(((W=dr.current)==null?void 0:W.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Tn=Number(((ne=dr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),fr=new Date().getTime()-((le=rh.current)==null?void 0:le.getTime()),bt=Y==="x"?Tt:Tn,bn=Math.abs(bt)/fr;if(Math.abs(bt)>=Jb||bn>.11){Yi(Wr.current),(Et=h.onDismiss)==null||Et.call(h,h),De(Y==="x"?Tt>0?"right":"left":Tn>0?"down":"up"),En(),ms(!0),gs(!1);return}Br(!1),q(null)},onPointerMove:W=>{var ne,le,Et,Tt;if(!Hr.current||!Ur||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let Tn=W.clientY-Hr.current.y,fr=W.clientX-Hr.current.x,bt=(le=e.swipeDirections)!=null?le:tC(Q);!Y&&(Math.abs(fr)>1||Math.abs(Tn)>1)&&q(Math.abs(fr)>Math.abs(Tn)?"x":"y");let bn={x:0,y:0};Y==="y"?(bt.includes("top")||bt.includes("bottom"))&&(bt.includes("top")&&Tn<0||bt.includes("bottom")&&Tn>0)&&(bn.y=Tn):Y==="x"&&(bt.includes("left")||bt.includes("right"))&&(bt.includes("left")&&fr<0||bt.includes("right")&&fr>0)&&(bn.x=fr),(Math.abs(bn.x)>0||Math.abs(bn.y)>0)&&gs(!0),(Et=dr.current)==null||Et.style.setProperty("--swipe-amount-x",`${bn.x}px`),(Tt=dr.current)==null||Tt.style.setProperty("--swipe-amount-y",`${bn.y}px`)}},l1&&!h.jsx?j.createElement("button",{"aria-label":U,"data-disabled":Ol,"data-close-button":!0,onClick:Ol||!Ur?()=>{}:()=>{var W;En(),(W=h.onDismiss)==null||W.call(h,h)},className:Pt(A==null?void 0:A.closeButton,(i=h==null?void 0:h.classNames)==null?void 0:i.closeButton)},(o=O==null?void 0:O.close)!=null?o:Vb):null,h.jsx||w.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:j.createElement(j.Fragment,null,dt||h.icon||h.promise?j.createElement("div",{"data-icon":"",className:Pt(A==null?void 0:A.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||f1():null,h.type!=="loading"?h.icon||(O==null?void 0:O[dt])||Db(dt):null):null,j.createElement("div",{"data-content":"",className:Pt(A==null?void 0:A.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},j.createElement("div",{"data-title":"",className:Pt(A==null?void 0:A.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?j.createElement("div",{"data-description":"",className:Pt(K,a1,A==null?void 0:A.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&&Fs(h.cancel)?j.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||N,onClick:W=>{var ne,le;Fs(h.cancel)&&Ur&&((le=(ne=h.cancel).onClick)==null||le.call(ne,W),En())},className:Pt(A==null?void 0:A.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&&Fs(h.action)?j.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||z,onClick:W=>{var ne,le;Fs(h.action)&&((le=(ne=h.action).onClick)==null||le.call(ne,W),!W.defaultPrevented&&En())},className:Pt(A==null?void 0:A.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function Ap(){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 rC(e,t){let n={};return[e,t].forEach((r,i)=>{let o=i===1,s=o?"--mobile-offset":"--offset",a=o?Xb:Yb;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 iC=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:v=Qb,toastOptions:g,dir:x=Ap(),gap:p=Zb,loadingIcon:m,icons:y,containerAriaLabel:E="Notifications",pauseWhenPageIsHidden:T}=e,[b,C]=j.useState([]),P=j.useMemo(()=>Array.from(new Set([r].concat(b.filter(B=>B.position).map(B=>B.position)))),[b,r]),[M,N]=j.useState([]),[z,I]=j.useState(!1),[K,L]=j.useState(!1),[Q,$]=j.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
86k":"light"),V=j.useRef(null),k=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=j.useRef(null),O=j.useRef(!1),U=j.useCallback(B=>{C(Y=>{var q;return(q=Y.find(ve=>ve.id===B.id))!=null&&q.delete||Ye.dismiss(B.id),Y.filter(({id:ve})=>ve!==B.id)})},[]);return j.useEffect(()=>Ye.subscribe(B=>{if(B.dismiss){C(Y=>Y.map(q=>q.id===B.id?{...q,delete:!0}:q));return}setTimeout(()=>{Bv.flushSync(()=>{C(Y=>{let q=Y.findIndex(ve=>ve.id===B.id);return q!==-1?[...Y.slice(0,q),{...Y[q],...B},...Y.slice(q+1)]:[B,...Y]})})})}),[]),j.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:Y})=>{$(Y?"dark":"light")})}catch{B.addListener(({matches:q})=>{try{$(q?"dark":"light")}catch(ve){console.error(ve)}})}},[c]),j.useEffect(()=>{b.length<=1&&I(!1)},[b]),j.useEffect(()=>{let B=Y=>{var q,ve;i.every(De=>Y[De]||Y.code===De)&&(I(!0),(q=V.current)==null||q.focus()),Y.code==="Escape"&&(document.activeElement===V.current||(ve=V.current)!=null&&ve.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[i]),j.useEffect(()=>{if(V.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,O.current=!1)}},[V.current]),j.createElement("section",{ref:t,"aria-label":`${E} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((B,Y)=>{var q;let[ve,De]=B.split("-");return b.length?j.createElement("ol",{key:B,dir:x==="auto"?Ap():x,tabIndex:-1,ref:V,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":ve,"data-lifted":z&&b.length>1&&!o,"data-x-position":De,style:{"--front-toast-height":`${((q=M[0])==null?void 0:q.height)||0}px`,"--width":`${qb}px`,"--gap":`${p}px`,...h,...rC(l,u)},onBlur:ee=>{O.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(O.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O.current||(O.current=!0,A.current=ee.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{K||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},b.filter(ee=>!ee.position&&Y===0||ee.position===B).map((ee,zr)=>{var xn,cr;return j.createElement(nC,{key:ee.id,icons:y,index:zr,toast:ee,defaultRichColors:d,duration:(xn=g==null?void 0:g.duration)!=null?xn:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:v,closeButton:(cr=g==null?void 0:g.closeButton)!=null?cr:s,interacting:K,position:B,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:U,toasts:b.filter(wn=>wn.position==ee.position),heights:M.filter(wn=>wn.position==ee.position),setHeights:N,expandByDefault:o,gap:p,loadingIcon:m,expanded:z,pauseWhenPageIsHidden:T,swipeDirections:e.swipeDirections})})):null}))});const oC=({...e})=>{const{theme:t="system"}=Nb();return S.jsx(iC,{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})},sC=["top","right","bottom","left"],nr=Math.min,it=Math.max,_a=Math.round,Vs=Math.floor,qt=e=>({x:e,y:e}),aC={left:"right",right:"left",bottom:"top",top:"bottom"},lC={start:"end",end:"start"};function Dc(e,t,n){return it(e,nr(t,n))}function mn(e,t){return typeof e=="function"?e(t):e}function gn(e){return e.split("-")[0]}function Wi(e){return e.split("-")[1]}function ff(e){return e==="x"?"y":"x"}function hf(e){return e==="y"?"height":"width"}const uC=new Set(["top","bottom"]);function Qt(e){return uC.has(gn(e))?"y":"x"}function pf(e){return ff(Qt(e))}function cC(e,t,n){n===void 0&&(n=!1);const r=Wi(e),i=pf(e),o=hf(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Fa(s)),[s,Fa(s)]}function dC(e){const t=Fa(e);return[jc(e),t,jc(t)]}function jc(e){return e.replace(/start|end/g,t=>lC[t])}const Mp=["left","right"],Np=["right","left"],fC=["top","bottom"],hC=["bottom","top"];function pC(e,t,n){switch(e){case"top":case"bottom":return n?t?Np:Mp:t?Mp:Np;case"left":case"right":return t?fC:hC;default:return[]}}function mC(e,t,n,r){const i=Wi(e);let o=pC(gn(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(jc)))),o}function Fa(e){return e.replace(/left|right|bottom|top/g,t=>aC[t])}function gC(e){return{top:0,right:0,bottom:0,left:0,...e}}function R0(e){return typeof e!="number"?gC(e):{top:e,right:e,bottom:e,left:e}}function Va(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Dp(e,t,n){let{reference:r,floating:i}=e;const o=Qt(t),s=pf(t),a=hf(s),l=gn(t),u=o==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-i.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-i.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Wi(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1);break}return h}const yC=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}
vendor: 9,929 bytes, line 86
86=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=Dp(u,r,l),f=r,h={},v=0;for(let g=0;g<a.length;g++){const{name:x,fn:p}=a[g],{x:m,y,data:E,reset:T}=await p({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=m??c,d=y??d,h={...h,[x]:{...h[x],...E}},T&&v<=50&&(v++,typeof T=="object"&&(T.placement&&(f=T.placement),T.rects&&(u=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):T.rects),{x:c,y:d}=Dp(u,f,l)),g=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function Ho(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=mn(t,e),v=R0(h),x=a[f?d==="floating"?"reference":"floating":d],p=Va(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=d==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),E=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},T=Va(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:y,strategy:l}):m);return{top:(p.top-T.top+v.top)/E.y,bottom:(T.bottom-p.bottom+v.bottom)/E.y,left:(p.left-T.left+v.left)/E.x,right:(T.right-p.right+v.right)/E.x}}const vC=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=mn(e,t)||{};if(u==null)return{};const d=R0(c),f={x:n,y:r},h=pf(i),v=hf(h),g=await s.getDimensions(u),x=h==="y",p=x?"top":"left",m=x?"bottom":"right",y=x?"clientHeight":"clientWidth",E=o.reference[v]+o.reference[h]-f[h]-o.floating[v],T=f[h]-o.reference[h],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let C=b?b[y]:0;(!C||!await(s.isElement==null?void 0:s.isElement(b)))&&(C=a.floating[y]||o.floating[v]);const P=E/2-T/2,M=C/2-g[v]/2-1,N=nr(d[p],M),z=nr(d[m],M),I=N,K=C-g[v]-z,L=C/2-g[v]/2+P,Q=Dc(I,L,K),$=!l.arrow&&Wi(i)!=null&&L!==Q&&o.reference[v]/2-(L<I?N:z)-g[v]/2<0,V=$?L<I?L-I:L-K:0;return{[h]:f[h]+V,data:{[h]:Q,centerOffset:L-Q-V,...$&&{alignmentOffset:V}},reset:$}}}),xC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...x}=mn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const p=gn(i),m=Qt(a),y=gn(a)===a,E=await(l.isRTL==null?void 0:l.isRTL(u.floating)),T=f||(y||!g?[Fa(a)]:dC(a)),b=v!=="none";!f&&b&&T.push(...mC(a,g,v,E));const C=[a,...T],P=await Ho(t,x),M=[];let N=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&M.push(P[p]),d){const L=cC(i,s,E);M.push(P[L[0]],P[L[1]])}if(N=[...N,{placement:i,overflows:M}],!M.every(L=>L<=0)){var z,I;const L=(((z=o.flip)==null?void 0:z.index)||0)+1,Q=C[L];if(Q&&(!(d==="alignment"?m!==Qt(Q):!1)||N.every(k=>k.overflows[0]>0&&Qt(k.placement)===m)))return{data:{index:L,overflows:N},reset:{placement:Q}};let $=(I=N.filter(V=>V.overflows[0]<=0).sort((V,k)=>V.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(h){case"bestFit":{var K;const V=(K=N.filter(k=>{if(b){const A=Qt(k.placement);return A===m||A==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(A=>A>0).reduce((A,O)=>A+O,0)]).sort((k,A)=>k[1]-A[1])[0])==null?void 0:K[0];V&&($=V);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};function jp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Lp(e){return sC.some(t=>e[t]>=0)}const wC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=mn(e,t);switch(r){case"referenceHidden":{const o=await Ho(t,{...i,elementContext:"reference"}),s=jp(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Lp(s)}}}case"escaped":{const o=await Ho(t,{...i,altBoundary:!0}),s=jp(o,n.floating);return{data:{escapedOffsets:s,escaped:Lp(s)}}}default:return{}}}}},A0=new Set(["left","top"]);async function SC(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=gn(n),a=Wi(n),l=Qt(n)==="y",u=A0.has(s)?-1:1,c=o&&l?-1:1,d=mn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(h=a==="end"?v*-1:v),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const EC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await SC(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},TC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:p,y:m}=x;return{x:p,y:m}}},...l}=mn(e,t),u={x:n,y:r},c=await Ho(t,l),d=Qt(gn(i)),f=ff(d);let h=u[f],v=u[d];if(o){const x=f==="y"?"top":"left",p=f==="y"?"bottom":"right",m=h+c[x],y=h-c[p];h=Dc(m,h,y)}if(s){const x=d==="y"?"top":"left",p=d==="y"?"bottom":"right",m=v+c[x],y=v-c[p];v=Dc(m,v,y)}const g=a.fn({...t,[f]:h,[d]:v});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:o,[d]:s}}}}}},bC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=mn(e,t),c={x:n,y:r},d=Qt(i),f=ff(d);let h=c[f],v=c[d];const g=mn(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const y=f==="y"?"height":"width",E=o.reference[f]-o.floating[y]+x.mainAxis,T=o.reference[f]+o.reference[y]-x.mainAxis;h<E?h=E:h>T&&(h=T)}if(u){var p,m;const y=f==="y"?"width":"height",E=A0.has(gn(i)),T=o.reference[d]-o.floating[y]+(E&&((p=s.offset)==null?void 0:p[d])||0)+(E?0:x.crossAxis),b=o.reference[d]+o.reference[y]+(E?0:((m=s.offset)==null?void 0:m[d])||0)-(E?x.crossAxis:0);v<T?v=T:v>b&&(v=b)}return{[f]:h,[d]:v}}}},CC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...u}=mn(e,t),c=await Ho(t,u),d=gn(i),f=Wi(i),h=Qt(i)==="y",{width:v,height:g}=o.floating;let x,p;d==="top"||d==="bottom"?(x=d,p=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(p=d,x=f==="end"?"top":"bottom");const m=g-c.top-c.bottom,y=v-c.left-c.right,E=nr(g-c[x],m),T=nr(v-c[p],y),b=!t.middlewareData.shift;let C=E,P=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=m),b&&!f){const N=it(c.left,0),z=it(c.right,0),I=it(c.top,0),K=it(c.bottom,0);h?P=v-2*(N!==0||z!==0?N+z:it(c.left,c.right)):C=g-2*(I!==0||K!==0?I+K:it(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:C});const M=await s.getDimensions(a.floating);return v!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function yl(){return typeof window<"u"}function Hi(e){return M0(e)?(e.nodeName||"").toLowerCase():"#document"}function at(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tn(e){var t;return(t=(M0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function M0(e){return yl()?e instanceof Node||e instanceof at(e).Node:!1}function Vt(e){return yl()?e instanceof Element||e instanceof at(e).Element:!1}function Jt(e){return yl()?e instanceof HTMLElement||e instanceof at(e).HTMLElement:!1}function Op(e){return!yl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof at(e).ShadowRoot}const PC=new Set(["inline","contents"]);function cs(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!PC.has(i)}const kC=new Set(["table","td","th"]);function RC(e){return kC.has(Hi(e))}const AC=[":popover-open",":modal"];function vl(e){return AC.some(t=>{try{return e.matches(t)}catch{return!1}})}const MC=["transform","translate","scale","rotate","perspective"],NC=["transform","translate","scale","rotate","perspective","filter"],DC=["paint","layout","strict","content"];function mf(e){const t=gf(),n=Vt(e)?zt(e):e;return MC.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)||NC.some(r=>(n.willChange||"").includes(r))||DC.some(r=>(n.contain||"").includes(r))}function jC(e){let t=rr(e);for(;Jt(t)&&!Ii(t);){if(mf(t))return t;if(vl(t))return null;t=rr(t)}return null}function gf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const LC=new Set(["html","body","#document"]);function Ii(e){return LC.has(Hi(e))}function zt(e){return at(e).getComputedStyle(e)}function xl(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rr(e){if(Hi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Op(e)&&e.host||tn(e);return Op(t)?t.host:t}function N0(e){const t=rr(e);return Ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&cs(t)?t:N0(t)}function Ko(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=N0(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=at(i);if(o){const a=Lc(s);
vendor: 4,772 bytes, line 86
86return t.concat(s,s.visualViewport||[],cs(i)?i:[],a&&n?Ko(a):[])}return t.concat(i,Ko(i,[],n))}function Lc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function D0(e){const t=zt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Jt(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=_a(n)!==o||_a(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function yf(e){return Vt(e)?e:e.contextElement}function vi(e){const t=yf(e);if(!Jt(t))return qt(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=D0(t);let s=(o?_a(n.width):n.width)/r,a=(o?_a(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const OC=qt(0);function j0(e){const t=at(e);return!gf()||!t.visualViewport?OC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function IC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==at(e)?!1:t}function Ir(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=yf(e);let s=qt(1);t&&(r?Vt(r)&&(s=vi(r)):s=vi(e));const a=IC(o,n,r)?j0(o):qt(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const f=at(o),h=r&&Vt(r)?at(r):r;let v=f,g=Lc(v);for(;g&&r&&h!==v;){const x=vi(g),p=g.getBoundingClientRect(),m=zt(g),y=p.left+(g.clientLeft+parseFloat(m.paddingLeft))*x.x,E=p.top+(g.clientTop+parseFloat(m.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,d*=x.y,l+=y,u+=E,v=at(g),g=Lc(v)}}return Va({width:c,height:d,x:l,y:u})}function vf(e,t){const n=xl(e).scrollLeft;return t?t.left+n:Ir(tn(e)).left+n}function L0(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:vf(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function _C(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=tn(r),a=t?vl(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=qt(1);const c=qt(0),d=Jt(r);if((d||!d&&!o)&&((Hi(r)!=="body"||cs(s))&&(l=xl(r)),Jt(r))){const h=Ir(r);u=vi(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=s&&!d&&!o?L0(s,l,!0):qt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}}function FC(e){return Array.from(e.getClientRects())}function VC(e){const t=tn(e),n=xl(e),r=e.ownerDocument.body,i=it(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=it(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+vf(e);const a=-n.scrollTop;return zt(r).direction==="rtl"&&(s+=it(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function zC(e,t){const n=at(e),r=tn(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=gf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}const BC=new Set(["absolute","fixed"]);function $C(e,t){const n=Ir(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Jt(e)?vi(e):qt(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,u=r*o.y;return{width:s,height:a,x:l,y:u}}function Ip(e,t,n){let r;if(t==="viewport")r=zC(e,n);else if(t==="document")r=VC(tn(e));else if(Vt(t))r=$C(t,n);else{const i=j0(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Va(r)}function O0(e,t){const n=rr(e);return n===t||!Vt(n)||Ii(n)?!1:zt(n).position==="fixed"||O0(n,t)}function UC(e,t){const n=t.get(e);if(n)return n;let r=Ko(e,[],!1).filter(a=>Vt(a)&&Hi(a)!=="body"),i=null;const o=zt(e).position==="fixed";let s=o?rr(e):e;for(;Vt(s)&&!Ii(s);){const a=zt(s),l=mf(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&BC.has(i.position)||cs(s)&&!l&&O0(e,s))?r=r.filter(c=>c!==s):i=a,s=rr(s)}return t.set(e,r),r}function WC(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?vl(t)?[]:UC(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=Ip(t,c,i);return u.top=it(d.top,u.top),u.right=nr(d.right,u.right),u.bottom=nr(d.bottom,u.bottom),u.left=it(d.left,u.left),u},Ip(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function HC(e){const{width:t,height:n}=D0(e);return{width:t,height:n}}function KC(e,t,n){const r=Jt(t),i=tn(t),o=n==="fixed",s=Ir(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=qt(0);function u(){l.x=vf(i)}if(r||!r&&!o)if((Hi(t)!=="body"||cs(i))&&(a=xl(t)),r){const h=Ir(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&u();o&&!r&&i&&u();const c=i&&!r&&!o?L0(i,a):qt(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function hu(e){return zt(e).position==="static"}function _p(e,t){if(!Jt(e)||zt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return tn(e)===n&&(n=n.ownerDocument.body),n}function I0(e,t){const n=at(e);
vendor: 2,364 bytes, line 86
86if(vl(e))return n;if(!Jt(e)){let i=rr(e);for(;i&&!Ii(i);){if(Vt(i)&&!hu(i))return i;i=rr(i)}return n}let r=_p(e,t);for(;r&&RC(r)&&hu(r);)r=_p(r,t);return r&&Ii(r)&&hu(r)&&!mf(r)?n:r||jC(e)||n}const GC=async function(e){const t=this.getOffsetParent||I0,n=this.getDimensions,r=await n(e.floating);return{reference:KC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function QC(e){return zt(e).direction==="rtl"}const YC={convertOffsetParentRelativeRectToViewportRelativeRect:_C,getDocumentElement:tn,getClippingRect:WC,getOffsetParent:I0,getElementRects:GC,getClientRects:FC,getDimensions:HC,getScale:vi,isElement:Vt,isRTL:QC};function _0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function XC(e,t){let n=null,r;const i=tn(e);function o(){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),o();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(a||t(),!f||!h)return;const v=Vs(d),g=Vs(i.clientWidth-(c+f)),x=Vs(i.clientHeight-(d+h)),p=Vs(c),y={rootMargin:-v+"px "+-g+"px "+-x+"px "+-p+"px",threshold:it(0,nr(1,l))||1};let E=!0;function T(b){const C=b[0].intersectionRatio;if(C!==l){if(!E)return s();C?s(!1,C):r=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!_0(u,e.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(T,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(T,y)}n.observe(e)}return s(!0),o}function qC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=yf(e),c=i||o?[...u?Ko(u):[],...Ko(t)]:[];c.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),o&&p.addEventListener("resize",n)});const d=u&&a?XC(u,n):null;let f=-1,h=null;s&&(h=new ResizeObserver(p=>{let[m]=p;m&&m.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let v,g=l?Ir(e):null;l&&x();function x(){const p=Ir(e);g&&!_0(g,p)&&n(),g=p,v=requestAnimationFrame(x)}return n(),()=>{var p;c.forEach(m=>{i&&m.removeEventListener("scroll",n),o&&m.removeEventListener("resize",n)}),d==null||d(),(p=h)==null||p.disconnect(),h=null,l&&cancelAnimationFrame(v)}}
vendor: 4,250 bytes, line 86
86const ZC=EC,JC=TC,eP=xC,tP=CC,nP=wC,Fp=vC,rP=bC,iP=(e,t,n)=>{const r=new Map,i={platform:YC,...n},o={...i.platform,_c:r};return yC(e,t,{...i,platform:o})};var oP=typeof document<"u",sP=function(){},sa=oP?w.useLayoutEffect:sP;function za(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,i;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(!za(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!za(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function F0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vp(e,t){const n=F0(e);return Math.round(t*n)/n}function pu(e){const t=w.useRef(e);return sa(()=>{t.current=e}),t}function aP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,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}),[f,h]=w.useState(r);za(f,r)||h(r);const[v,g]=w.useState(null),[x,p]=w.useState(null),m=w.useCallback(k=>{k!==b.current&&(b.current=k,g(k))},[]),y=w.useCallback(k=>{k!==C.current&&(C.current=k,p(k))},[]),E=o||v,T=s||x,b=w.useRef(null),C=w.useRef(null),P=w.useRef(c),M=l!=null,N=pu(l),z=pu(i),I=pu(u),K=w.useCallback(()=>{if(!b.current||!C.current)return;const k={placement:t,strategy:n,middleware:f};z.current&&(k.platform=z.current),iP(b.current,C.current,k).then(A=>{const O={...A,isPositioned:I.current!==!1};L.current&&!za(P.current,O)&&(P.current=O,as.flushSync(()=>{d(O)}))})},[f,t,n,z,I]);sa(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const L=w.useRef(!1);sa(()=>(L.current=!0,()=>{L.current=!1}),[]),sa(()=>{if(E&&(b.current=E),T&&(C.current=T),E&&T){if(N.current)return N.current(E,T,K);K()}},[E,T,K,N,M]);const Q=w.useMemo(()=>({reference:b,floating:C,setReference:m,setFloating:y}),[m,y]),$=w.useMemo(()=>({reference:E,floating:T}),[E,T]),V=w.useMemo(()=>{const k={position:n,left:0,top:0};if(!$.floating)return k;const A=Vp($.floating,c.x),O=Vp($.floating,c.y);return a?{...k,transform:"translate("+A+"px, "+O+"px)",...F0($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:O}},[n,a,$.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:K,refs:Q,elements:$,floatingStyles:V}),[c,K,Q,$,V])}const lP=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Fp({element:r.current,padding:i}).fn(n):{}:r?Fp({element:r,padding:i}).fn(n):{}}}},uP=(e,t)=>({...ZC(e),options:[e,t]}),cP=(e,t)=>({...JC(e),options:[e,t]}),dP=(e,t)=>({...rP(e),options:[e,t]}),fP=(e,t)=>({...eP(e),options:[e,t]}),hP=(e,t)=>({...tP(e),options:[e,t]}),pP=(e,t)=>({...nP(e),options:[e,t]}),mP=(e,t)=>({...lP(e),options:[e,t]});var gP="Arrow",V0=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return S.jsx(nt.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});V0.displayName=gP;var yP=V0;function vP(e){const[t,n]=w.useState(void 0);return tr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.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 z0="Popper",[B0,$0]=pl(z0),[xD,U0]=B0(z0),W0="PopperAnchor",H0=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=U0(W0,n),s=w.useRef(null),a=Ft(t,s);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:S.jsx(nt.div,{...i,ref:a})});H0.displayName=W0;var xf="PopperContent",[xP,wP]=B0(xf),K0=w.forwardRef((e,t)=>
vendor: 4,309 bytes, line 86
86{var ee,zr,xn,cr,wn,Br;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:v,...g}=e,x=U0(xf,n),[p,m]=w.useState(null),y=Ft(t,Sn=>m(Sn)),[E,T]=w.useState(null),b=vP(E),C=(b==null?void 0:b.width)??0,P=(b==null?void 0:b.height)??0,M=r+(o!=="center"?"-"+o:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},z=Array.isArray(u)?u:[u],I=z.length>0,K={padding:N,boundary:z.filter(EP),altBoundary:I},{refs:L,floatingStyles:Q,placement:$,isPositioned:V,middlewareData:k}=aP({strategy:"fixed",placement:M,whileElementsMounted:(...Sn)=>qC(...Sn,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[uP({mainAxis:i+P,alignmentAxis:s}),l&&cP({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?dP():void 0,...K}),l&&fP({...K}),hP({...K,apply:({elements:Sn,rects:ms,availableWidth:Dl,availableHeight:gs})=>{const{width:jl,height:Yi}=ms.reference,$r=Sn.floating.style;$r.setProperty("--radix-popper-available-width",`${Dl}px`),$r.setProperty("--radix-popper-available-height",`${gs}px`),$r.setProperty("--radix-popper-anchor-width",`${jl}px`),$r.setProperty("--radix-popper-anchor-height",`${Yi}px`)}}),E&&mP({element:E,padding:a}),TP({arrowWidth:C,arrowHeight:P}),f&&pP({strategy:"referenceHidden",...K})]}),[A,O]=Y0($),U=er(v);tr(()=>{V&&(U==null||U())},[V,U]);const B=(ee=k.arrow)==null?void 0:ee.x,Y=(zr=k.arrow)==null?void 0:zr.y,q=((xn=k.arrow)==null?void 0:xn.centerOffset)!==0,[ve,De]=w.useState();return tr(()=>{p&&De(window.getComputedStyle(p).zIndex)},[p]),S.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:V?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--radix-popper-transform-origin":[(cr=k.transformOrigin)==null?void 0:cr.x,(wn=k.transformOrigin)==null?void 0:wn.y].join(" "),...((Br=k.hide)==null?void 0:Br.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(xP,{scope:n,placedSide:A,onArrowChange:T,arrowX:B,arrowY:Y,shouldHideArrow:q,children:S.jsx(nt.div,{"data-side":A,"data-align":O,...g,ref:y,style:{...g.style,animation:V?void 0:"none"}})})})});K0.displayName=xf;var G0="PopperArrow",SP={top:"bottom",right:"left",bottom:"top",left:"right"},Q0=w.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=wP(G0,r),s=SP[o.placedSide];return S.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:S.jsx(yP,{...i,ref:n,style:{...i.style,display:"block"}})})});Q0.displayName=G0;function EP(e){return e!==null}var TP=e=>({name:"transformOrigin",options:e,fn(t){var x,p,m;const{placement:n,rects:r,middlewareData:i}=t,s=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=Y0(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((p=i.arrow)==null?void 0:p.x)??0)+a/2,h=(((m=i.arrow)==null?void 0:m.y)??0)+l/2;let v="",g="";return u==="bottom"?(v=s?d:`${f}px`,g=`${-l}px`):u==="top"?(v=s?d:`${f}px`,g=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,g=s?d:`${h}px`):u==="left"&&(v=`${r.floating.width+l}px`,g=s?d:`${h}px`),{data:{x:v,y:g}}}});function Y0(e){const[t,n="center"]=e.split("-");return[t,n]}var bP=H0,CP=K0,PP=Q0,[wl,wD]=pl("Tooltip",[$0]),wf=$0(),X0="TooltipProvider",kP=700,zp="tooltip.open",[RP,q0]=wl(X0),Z0=e=>{const{__scopeTooltip:t,delayDuration:n=kP,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=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(RP,{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}
vendor: 5,737 bytes, line 86
86,[]),disableHoverableContent:i,children:o})};Z0.displayName=X0;var J0="Tooltip",[SD,Sl]=wl(J0),Oc="TooltipTrigger",AP=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Sl(Oc,n),o=q0(Oc,n),s=wf(n),a=w.useRef(null),l=Ft(t,a,i.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(bP,{asChild:!0,...s,children:S.jsx(nt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:be(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:be(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:be(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:be(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:be(e.onBlur,i.onClose),onClick:be(e.onClick,i.onClose)})})});AP.displayName=Oc;var MP="TooltipPortal",[ED,NP]=wl(MP,{forceMount:void 0}),_i="TooltipContent",ex=w.forwardRef((e,t)=>{const n=NP(_i,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=Sl(_i,e.__scopeTooltip);return S.jsx(af,{present:r||s.open,children:s.disableHoverableContent?S.jsx(tx,{side:i,...o,ref:t}):S.jsx(DP,{side:i,...o,ref:t})})}),DP=w.forwardRef((e,t)=>{const n=Sl(_i,e.__scopeTooltip),r=q0(_i,e.__scopeTooltip),i=w.useRef(null),o=Ft(t,i),[s,a]=w.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,f=w.useCallback(()=>{a(null),d(!1)},[d]),h=w.useCallback((v,g)=>{const x=v.currentTarget,p={x:v.clientX,y:v.clientY},m=_P(p,x.getBoundingClientRect()),y=FP(p,m),E=VP(g.getBoundingClientRect()),T=BP([...y,...E]);a(T),d(!0)},[d]);return w.useEffect(()=>()=>f(),[f]),w.useEffect(()=>{if(l&&c){const v=x=>h(x,c),g=x=>h(x,l);return l.addEventListener("pointerleave",v),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",g)}}},[l,c,h,f]),w.useEffect(()=>{if(s){const v=g=>{const x=g.target,p={x:g.clientX,y:g.clientY},m=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),y=!zP(p,s);m?f():y&&(f(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,c,s,u,f]),S.jsx(tx,{...e,ref:o})}),[jP,LP]=wl(J0,{isInside:!1}),OP=GE("TooltipContent"),tx=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=Sl(_i,n),u=wf(n),{onClose:c}=l;return w.useEffect(()=>(document.addEventListener(zp,c),()=>document.removeEventListener(zp,c)),[c]),w.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.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(sf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:S.jsxs(CP,{"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(OP,{children:r}),S.jsx(jP,{scope:n,isInside:!0,children:S.jsx(vT,{id:l.contentId,role:"tooltip",children:i||r})})]})})});ex.displayName=_i;var nx="TooltipArrow",IP=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=wf(n);return LP(nx,n).isInside?null:S.jsx(PP,{...i,...r,ref:t})});IP.displayName=nx;function _P(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function FP(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 VP(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function zP(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const a=t[o],l=t[s],u=a.x,c=a.y,d=l.x,f=l.y;c>r!=f>r&&n<(d-u)*(r-c)/(f-c)+u&&(i=!i)}return i}function BP(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),$P(t)}function $P(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const o=t[t.length-1],s=t[t.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}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 UP=Z0,rx=ex;const WP=UP,HP=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>S.jsx(rx,{ref:r,sideOffset:t,className:Vr("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]:sli
86de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));HP.displayName=rx.displayName;var El=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(){}},Tl=typeof window>"u"||"Deno"in globalThis;function Mt(){}function KP(e,t){return typeof e=="function"?e(t):e}function GP(e){return typeof e=="number"&&e>=0&&e!==1/0}function QP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ic(e,t){return typeof e=="function"?e(t):e}function YP(e,t){return typeof e=="function"?e(t):e}function Bp(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Sf(s,t.options))return!1}else if(!Qo(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||i&&i!==t.state.fetchStatus||o&&!o(t))}function $p(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Go(t.options.mutationKey)!==Go(o))return!1}else if(!Qo(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Sf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Go)(e)}function Go(e){return JSON.stringify(e,(t,n)=>_c(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Qo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Qo(e[n],t[n])):!1}function ix(e,t){if(e===t)return e;const n=Up(e)&&Up(t);if(n||_c(e)&&_c(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:o[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=ix(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===s&&u===i?e:a}return t}function Up(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _c(e){if(!Wp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Wp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Wp(e){return Object.prototype.toString.call(e)==="[object Object]"}function XP(e){return new Promise(t=>{setTimeout(t,e)})}function qP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ix(e,t):t}function ZP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function JP(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Ef=Symbol();function ox(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ef?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Er,On,Si,xg,ek=(xg=class extends El{constructor(){super();J(this,Er);J(this,On);J(this,Si);H(this,Si,t=>{if(!Tl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,On)||this.setEventListener(R(this,Si))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,On))==null||t.call(this),H(this,On,void 0))}setEventListener(t){var n;H(this,Si,t),(n=R(this,On))==null||n.call(this),H(this,On,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,Er)!==t&&(H(this,Er,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,Er)=="boolean"?R(this,Er):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Er=new WeakMap,On=new WeakMap,Si=new WeakMap,xg),sx=new ek,Ei,In,Ti,wg,tk=(wg=class extends El{constructor(){super();J(this,Ei,!0);J(this,In);J(this,Ti);H(this,Ti,t=>{if(!Tl&&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(){R(this,In)||this.setEventListener(R(this,Ti))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,In))==null||t.call(this),H(this,In,void 0))}setEventListener(t){var n;H(this,Ti,t),(n=R(this,In))==null||n.call(this),H(this,In,t(this.setOnline.bind(this)))}setOnline(t){R(this,Ei)!==t&&(H(this,Ei,t),this.listeners.forEac
vendor: 18,671 bytes, line 86
86h(r=>{r(t)}))}isOnline(){return R(this,Ei)}},Ei=new WeakMap,In=new WeakMap,Ti=new WeakMap,wg),Ba=new tk;function nk(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function rk(e){return Math.min(1e3*2**e,3e4)}function ax(e){return(e??"online")==="online"?Ba.isOnline():!0}var lx=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function mu(e){return e instanceof lx}function ux(e){let t=!1,n=0,r=!1,i;const o=nk(),s=g=>{var x;r||(f(new lx(g)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>sx.isFocused()&&(e.networkMode==="always"||Ba.isOnline())&&e.canRun(),c=()=>ax(e.networkMode)&&e.canRun(),d=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),i==null||i(),o.resolve(g))},f=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),i==null||i(),o.reject(g))},h=()=>new Promise(g=>{var x;i=p=>{(r||u())&&g(p)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),v=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(p){g=Promise.reject(p)}Promise.resolve(g).then(d).catch(p=>{var b;if(r)return;const m=e.retry??(Tl?0:3),y=e.retryDelay??rk,E=typeof y=="function"?y(n,p):y,T=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,p);if(t||!T){f(p);return}n++,(b=e.onFail)==null||b.call(e,n,p),XP(E).then(()=>u()?void 0:h()).then(()=>{t?f(p):v()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?v():h().then(v),o)}}var ik=e=>setTimeout(e,0);function ok(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=ik;const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var $e=ok(),Tr,Sg,cx=(Sg=class{constructor(){J(this,Tr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),GP(this.gcTime)&&H(this,Tr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Tl?1/0:5*60*1e3))}clearGcTimeout(){R(this,Tr)&&(clearTimeout(R(this,Tr)),H(this,Tr,void 0))}},Tr=new WeakMap,Sg),bi,br,ft,Cr,Ie,es,Pr,Nt,rn,Eg,sk=(Eg=class extends cx{constructor(t){super();J(this,Nt);J(this,bi);J(this,br);J(this,ft);J(this,Cr);J(this,Ie);J(this,es);J(this,Pr);H(this,Pr,!1),H(this,es,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,Cr,t.client),H(this,ft,R(this,Cr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,bi,lk(this.options)),this.state=t.state??R(this,bi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,Ie))==null?void 0:t.promise}setOptions(t){this.options={...R(this,es),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,ft).remove(this)}setData(t,n){const r=qP(this.state.data,t,this.options);return je(this,Nt,rn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){je(this,Nt,rn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=R(this,Ie))==null?void 0:r.promise;return(i=R(this,Ie))==null||i.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,bi))}isActive(){return this.observers.some(t=>YP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ef||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Ic(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:!QP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Ie))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Ie))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,ft).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,Ie)&&(R(this,Pr)?R(this,Ie).cancel({revert:!0}):R(this,Ie).cancelRetry()),this.scheduleGc()),R(this,ft).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,Nt,rn).call(this,{type:"invalidate"})}fetch(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(R(this,Ie))return R(this,Ie).continueRetry(),R(this,Ie).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(H(this,Pr,!0),r.signal)})},o=()=>{const f=ox(this.options,n),v=(()=>{const g={client:R(this,Cr),queryKey:this.queryKey,meta:this.meta};return i(g),g})();return H(this,Pr,!1),this.options.persister?this.options.persister(f,v,this):f(v)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,Cr),state:this.state,fetchFn:o};return i(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),H(this,br,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&je(this,Nt,rn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,v,g,x;mu(f)&&f.silent||je(this,Nt,rn).call(this,{type:"error",error:f}),mu(f)||((v=(h=R(this,ft).config).onError)==null||v.call(h,f,this),(x=(g=R(this,ft).config).onSettled)==null||x.call(g,this.state.data,f,this)),this.scheduleGc()};return H(this,Ie,ux({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,v,g,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(p){l(p);return}(v=(h=R(this,ft).config).onSuccess)==null||v.call(h,f,this),(x=(g=R(this,ft).config).onSettled)==null||x.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{je(this,Nt,rn).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{je(this,Nt,rn).call(this,{type:"pause"})},onContinue:()=>{je(this,Nt,rn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),R(this,Ie).start()}},bi=new WeakMap,br=new WeakMap,ft=new WeakMap,Cr=new WeakMap,Ie=new WeakMap,es=new WeakMap,Pr=new WeakMap,Nt=new WeakSet,rn=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,...ak(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,br,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 i=t.error;return mu(i)&&i.revert&&R(this,br)?{...R(this,br),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$e.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,ft).notify({query:this,type:"updated",action:t})})},Eg);function ak(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ax(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function lk(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 Wt,Tg,uk=(Tg=class extends El{constructor(t={}){super();J(this,Wt);this.config=t,H(this,Wt,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Sf(i,n);let s=this.get(o);return s||(s=new sk({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){R(this,Wt).has(t.queryHash)||(R(this,Wt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,Wt).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,Wt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$e.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Wt).get(t)}getAll(){return[...R(this,Wt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Bp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Bp(t,r)):n}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$e.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$e.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Wt=new WeakMap,Tg),Ht,ze,kr,Kt,Rn,bg,ck=(bg=class extends cx{constructor(t){super();J(this,Kt);J(this,Ht);J(this,ze);J(this,kr);this.mutationId=t.mutationId,H(this,ze,t.mutationCache),H(this,Ht,[]),this.state=t.state||dk(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,Ht).includes(t)||(R(this,Ht).push(t),this.clearGcTimeout(),R(this,ze).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Ht,R(this,Ht).filter(n=>n!==t)),this.scheduleGc(),R(this,ze).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,Ht).length||(this.state.status==="pending"?this.scheduleGc():R(this,ze).remove(this))}continue(){var t;return((t=R(this,kr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,a,l,u,c,d,f,h,v,g,x,p,m,y,E,T,b,C,P;const n=()=>{je(this,Kt,Rn).call(this,{type:"continue"})};H(this,kr,ux({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,N)=>{je(this,Kt,Rn).call(this,{type:"failed",failureCount:M,error:N})},onPause:()=>{je(this,Kt,Rn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,ze).canRun(this)}));const r=this.state.status==="pending",i=!R(this,kr).canStart();try{if(r)n();else{je(this,Kt,Rn).call(this,{type:"pending",variables:t,isPaused:i}),await((s=(o=R(this,ze).config).onMutate)==null?void 0:s.call(o,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&je(this,Kt,Rn).call(this,{type:"pending",context:N,variables:t,isPaused:i})}const M=await R(this,kr).start();return await((c=(u=R(this,ze).config).onSuccess)==null?void 0:c.call(u,M,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,M,t,this.state.context)),await((v=(h=R(this,ze).config).onSettled)==null?void 0:v.call(h,M,null,this.state.variables,this.state.context,this)),await((x=(g=this.options).onSettled)==null?void 0:x.call(g,M,null,t,this.state.context)),je(this,Kt,Rn).call(this,{type:"success",data:M}),M}catch(M){try{throw await((m=(p=R(this,ze).config).onError)==null?void 0:m.call(p,M,t,this.state.context,this)),await((E=(y=this.options).onError)==null?void 0:E.call(y,M,t,this.state.context)),await((b=(T=R(this,ze).config).onSettled)==null?void 0:b.call(T,void 0,M,this.state.variables,this.state.context,this)),await((P=(C=this.options).onSettled)==null?void 0:P.call(C,void 0,M,t,this.state.context)),M}finally{je(this,Kt,Rn).call(this,{type:"error",error:M})}}finally{R(this,ze).runNext(this)}}},Ht=new WeakMap,ze=new WeakMap,kr=new WeakMap,Kt=new WeakSet,Rn=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),$e.batch(()=>{R(this,Ht).forEach(r=>{r.onMutationUpdate(t)}),R(this,ze).notify({mutation:this,type:"updated",action:t})})},bg);function dk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var an,Dt,ts,Cg,fk=(Cg=class extends El{constructor(t={}){super();J(this,an);J(this,Dt);J(this,ts);this.config=t,H(this,an,new Set),H(this,Dt,new Map),H(this,ts,0)}build(t,n,r){const i=new ck({mutationCache:this,mutationId:++vs(this,ts)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){R(this,an).add(t);const n=zs(t);if(typeof n=="string"){const r=R(this,Dt).get(n);r?r.push(t):R(this,Dt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,an).delete(t)){const n=zs(t);if(typeof n=="string"){const r=R(this,Dt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&R(this,Dt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=zs(t);if(typeof n=="string"){const r=R(this,Dt).get(n),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=zs(t);if(typeof n=="string"){const i=(r=R(this,Dt).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){$e.batch(()=>{R(this,an).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,an).clear(),R(this,Dt).clear()})}getAll(){return Array.from(R(this,an))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>$p(n,r))}findAll(t={}){return this.getAll().filter(n=>$p(t,n))}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $e.batch(()=>Promise.all(t.map(n=>n.continue().catch(Mt))))}},an=new WeakMap,Dt=new WeakMap,ts=new WeakMap,Cg);function zs(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Hp(e){return{onFetch:(t,n)=>{var c,d,f,h,v;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],s=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const x=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},p=ox(t.options,t.fetchOptions),m=async(y,E,T)=>{if(g)return Promise.reject();if(E==null&&y.pages.length)return Promise.resolve(y);const C=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:E,direction:T?"backward":"forward",meta:t.options.meta};return x(z),z})(),P=await p(C),{maxPages:M}=t.options,N=T?JP:ZP;return{pages:N(y.pages,P,M),pageParams:N(y.pageParams,E,M)}};if(i&&o.length){const y=i==="backward",E=y?hk:Kp,T={pages:o,pageParams:s},b=E(r,T);a=await m(T,b,y)}else{const y=e??o.length;do{const E=l===0?s[0]??r.initialPageParam:Kp(r,a);if(l>0&&E==null)break;a=await m(a,E),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Kp(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 hk(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 me,_n,Fn,Ci,Pi,Vn,ki,Ri,Pg,pk=(Pg=class{constructor(e={}){J(this,me);J(this,_n);J(this,Fn);J(this,Ci);J(this,Pi);J(this,Vn);J(this,ki);J(this,Ri);H(this,me,e.queryCache||new uk),H(this,_n,e.mutationCache||new fk),H(this,Fn,e.defaultOptions||{}),H(this,Ci,new Map),H(this,Pi,new Map),H(this,Vn,0)}mount(){vs(this,Vn)._++,R(this,Vn)===1&&(H(this,ki,sx.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,me).onFocus())})),H(this,Ri,Ba.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,me).onOnline())})))}unmount(){var e,t;vs(this,Vn)._--,R(this,Vn)===0&&((e=R(this,ki))==null||e.call(this),H(this,ki,void 0),(t=R(this,Ri))==null||t.call(this),H(this,Ri,void 0))}isFetching(e){return R(this,me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,_n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,me).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,me).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ic(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,me).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=R(this,me).get(r.queryHash),o=i==null?void 0:i.state.data,s=KP(t,o);if(s!==void 0)return R(this,me).build(this,r).setData(s,{...n,manual:!0})}
86setQueriesData(e,t,n){return $e.batch(()=>R(this,me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,me);$e.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,me);return $e.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=$e.batch(()=>R(this,me).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Mt).catch(Mt)}invalidateQueries(e,t={}){return $e.batch(()=>(R(this,me).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=$e.batch(()=>R(this,me).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(Mt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Mt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,me).build(this,t);return n.isStaleByTime(Ic(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Mt).catch(Mt)}fetchInfiniteQuery(e){return e.behavior=Hp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mt).catch(Mt)}ensureInfiniteQueryData(e){return e.behavior=Hp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ba.isOnline()?R(this,_n).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,me)}getMutationCache(){return R(this,_n)}getDefaultOptions(){return R(this,Fn)}setDefaultOptions(e){H(this,Fn,e)}setQueryDefaults(e,t){R(this,Ci).set(Go(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,Ci).values()],n={};return t.forEach(r=>{Qo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,Pi).set(Go(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,Pi).values()],n={};return t.forEach(r=>{Qo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Fn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Sf(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===Ef&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Fn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,me).clear(),R(this,_n).clear()}},me=new WeakMap,_n=new WeakMap,Fn=new WeakMap,Ci=new WeakMap,Pi=new WeakMap,Vn=new WeakMap,ki=new WeakMap,Ri=new WeakMap,Pg),mk=w.createContext(void 0),gk=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(mk.Provider,{value:e,children:t}));/**
87 * @remix-run/router v1.23.0
88 *
89 * Copyright (c) Remix Software Inc.
90 *
91 * This source code is licensed under the MIT license found in the
92 * LICENSE.md file in the root directory of this source tree.
93 *
94 * @license MIT
95 */function $a(){return $a=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},$a.apply(this,arguments)}var $n;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})($n||($n={}));const Gp="popstate";function yk(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return Fc("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:fx(i)}return xk(t,n,null,e)}function tt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function dx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function vk(){return Math.random().toString(36).substr(2,8)}function Qp(e,t){return{usr:e.state,key:e.key,idx:t}}function Fc(e,t,n,r){return n===void 0&&(n=null),$a({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?bl(t):t,{state:n,key:t&&t.key||r||vk()})}function fx(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 bl(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 xk(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=$n.Pop,l=null,u=c();u==null&&(u=0,s.replaceState($a({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=$n.Pop;let x=c(),p=x==null?null:x-u;u=x,l&&l({action:a,location:g.location,delta:p})}function f(x,p){a=$n.Push;let m=Fc(g.location,x,p);u=c()+1;let y=Qp(m,u),E=g.createHref(m);try{s.pushState(y,"",E)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(E)}o&&l&&l({action:a,location:g.location,delta:1})}function h(x,p){a=$n.Replace;let m=Fc(g.location,x,p);u=c();let y=Qp(m,u),E=g.createHref(m);s.replaceState(y,"",E),o&&l&&l({action:a,location:g.location,delta:0})}function v(x){let p=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof x=="str
95ing"?x:fx(x);return m=m.replace(/ $/,"%20"),tt(p,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,p)}let g={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Gp,d),l=x,()=>{i.removeEventListener(Gp,d),l=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let p=v(x);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:f,replace:h,go(x){return s.go(x)}};return g}var Yp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Yp||(Yp={}));function wk(e,t,n){return n===void 0&&(n="/"),Sk(e,t,n,!1)}function Sk(e,t,n,r){let i=typeof t=="string"?bl(t):t,o=mx(i.pathname||"/",n);if(o==null)return null;let s=hx(e);Ek(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=jk(o);a=Nk(s[l],u,r)}return a}function hx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,s,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(tt(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=xi([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(tt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),hx(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:Ak(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of px(o.path))i(o,s,l)}),t}function px(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=px(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function Ek(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Mk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Tk=/^:[\w-]+$/,bk=3,Ck=2,Pk=1,kk=10,Rk=-2,Xp=e=>e==="*";function Ak(e,t){let n=e.split("/"),r=n.length;return n.some(Xp)&&(r+=Rk),t&&(r+=Ck),n.filter(i=>!Xp(i)).reduce((i,o)=>i+(Tk.test(o)?bk:o===""?Pk:kk),r)}function Mk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Nk(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",d=qp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=qp({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 4,131 bytes, lines 95-104
95Object.assign(i,d.params),s.push({params:i,pathname:xi([o,d.pathname]),pathnameBase:Lk(xi([o,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(o=xi([o,d.pathnameBase]))}return s}function qp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Dk(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let g=a[d]||"";s=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[d];return h&&!v?u[f]=void 0:u[f]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function Dk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),dx(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=[],i="^"+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:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function jk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return dx(!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 mx(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 xi=e=>e.join("/").replace(/\/\/+/g,"/"),Lk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Ok(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gx=["post","put","patch","delete"];new Set(gx);const Ik=["get",...gx];new Set(Ik);/**
96 * React Router v6.30.1
97 *
98 * Copyright (c) Remix Software Inc.
99 *
100 * This source code is licensed under the MIT license found in the
101 * LICENSE.md file in the root directory of this source tree.
102 *
103 * @license MIT
104 */function Ua(){return Ua=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},Ua.apply(this,arguments)}const _k=w.createContext(null),Fk=w.createContext(null),yx=w.createContext(null),Cl=w.createContext(null),Pl=w.createContext({outlet:null,matches:[],isDataRoute:!1}),vx=w.createContext(null);function Tf(){return w.useContext(Cl)!=null}function xx(){return Tf()||tt(!1),w.useContext(Cl).location}function Vk(e,t){return zk(e,t)}function zk(e,t,n,r){Tf()||tt(!1);let{navigator:i}=w.useContext(yx),{matches:o}=w.useContext(Pl),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=xx(),c;if(t){var d;let x=typeof t=="string"?bl(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||tt(!1),c=x}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=wk(e,{pathname:h}),g=Hk(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:xi([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:xi([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&g?w.createElement(Cl.Provider,{value:{location:Ua({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:$n.Pop}},g):g}function Bk(){let e=Yk(),t=Ok(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application 
104Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:i},n):null,null)}const $k=w.createElement(Bk,null);class Uk 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(Pl.Provider,{value:this.props.routeContext},w.createElement(vx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Wk(e){let{routeContext:t,match:n,children:r}=e,i=w.useContext(_k);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Pl.Provider,{value:t},r)}function Hk(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||tt(!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:f,errors:h}=n,v=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||v){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,v=!1,g=null,x=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||$k,l&&(u<0&&f===0?(v=!0,x=null):u===f&&(v=!0,x=d.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,f+1)),m=()=>{let y;return h?y=g:v?y=x:d.route.Component?y=w.createElement(d.route.Component,null):d.route.element?y=d.route.element:y=c,w.createElement(Wk,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:y})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?w.createElement(Uk,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var Vc=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}(Vc||{});function Kk(e){let t=w.useContext(Fk);return t||tt(!1),t}function Gk(e){let t=w.useContext(Pl);return t||tt(!1),t}function Qk(e){let t=Gk(),n=t.matches[t.matches.length-1];return n.route.id||tt(!1),n.route.id}function Yk(){var e;let t=w.useContext(vx),n=Kk(Vc.UseRouteError),r=Qk(Vc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Xk(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function zc(e){tt(!1)}function qk(e){let{basename:t="/",children:n=null,location:r,navigationType:i=$n.Pop,navigator:o,static:s=!1,future:a}=e;Tf()&&tt(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:o,static:s,future:Ua({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=bl(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:v="default"}=r,g=w.useMemo(()=>{let x=mx(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:h,key:v},navigationType:i}},[l,c,d,f,h,v,i]);return g==null?null:w.createElement(yx.Provider,{value:u},w.createElement(Cl.Provider,{children:n,value:g}))}function Zk(e){let{children:t,location:n}=e;return Vk(Bc(t),n)}new Promise(()=>{});function Bc(e,t){t===void 0&&(t=[]);let n=[];
104return w.Children.forEach(e,(r,i)=>{if(!w.isValidElement(r))return;let o=[...t,i];if(r.type===w.Fragment){n.push.apply(n,Bc(r.props.children,o));return}r.type!==zc&&tt(!1),!r.props.index||!r.props.children||tt(!1);let s={id:r.props.id||o.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=Bc(r.props.children,o)),n.push(s)}),n}/**
105 * React Router DOM v6.30.1
106 *
107 * Copyright (c) Remix Software Inc.
108 *
109 * This source code is licensed under the MIT license found in the
110 * LICENSE.md file in the root directory of this source tree.
111 *
112 * @license MIT
113 */const Jk="6";try{window.__reactRouterVersion=Jk}catch{}const eR="startTransition",Zp=Fg[eR];function tR(e){let{basename:t,children:n,future:r,window:i}=e,o=w.useRef();o.current==null&&(o.current=yk({window:i,v5Compat:!0}));let s=o.current,[a,l]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=w.useCallback(d=>{u&&Zp?Zp(()=>l(d)):l(d)},[l,u]);return w.useLayoutEffect(()=>s.listen(c),[s,c]),w.useEffect(()=>Xk(r),[r]),w.createElement(qk,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var Jp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Jp||(Jp={}));var em;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(em||(em={}));const bf=w.createContext({});function Cf(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const wx=typeof window<"u",Sx=wx?w.useLayoutEffect:w.useEffect,kl=w.createContext(null);function Pf(e,t){e.indexOf(t)===-1&&e.push(t)}function Wa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const en=(e,t,n)=>n>t?t:n<e?e:n;let Rl=()=>{},Fi=()=>{};const yn={},Ex=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Tx(e){return typeof e=="object"&&e!==null}const bx=e=>/^0[^.\s]+$/u.test(e);function kf(e){let t;return()=>(t===void 0&&(t=e()),t)}const vt=e=>e,nR=(e,t)=>n=>t(e(n)),ds=(...e)=>e.reduce(nR),Yo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Rf{constructor(){this.subscriptions=[]}add(t){return Pf(this.subscriptions,t),()=>Wa(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const xt=e=>e*1e3,gt=e=>e/1e3;function Cx(e,t){return t?e*(1e3/t):0}const Px=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,rR=1e-7,iR=12;function oR(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=Px(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>rR&&++a<iR);return s}function fs(e,t,n,r){if(e===t&&n===r)return vt;const i=o=>oR(o,0,1,e,n);return o=>o===0||o===1?o:Px(i(o),t,r)}const kx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Rx=e=>t=>1-e(1-t),Ax=fs(.33,1.53,.69,.99),Af=Rx(Ax),Mx=kx(Af),Nx=e=>(e*=2)<1?.5*Af(e):.5*(2-Math.pow(2,-10*(e-1))),Mf=e=>1-Math.sin(Math.acos(e)),Dx=Rx(Mf),jx=kx(Mf),sR=fs(.42,0,1,1),aR=fs(0,0,.58,1),Lx=fs(.42,0,.58,1),lR=e=>Array.isArray(e)&&typeof e[0]!="number",Ox=e=>Array.isArray(e)&&typeof e[0]=="number",tm={linear:vt,easeIn:sR,easeInOut:Lx,easeOut:aR,circIn:Mf,circInOut:jx,circOut:Dx,backIn:Af,backInOut:Mx,backOut:Ax,anticipate:Nx},uR=e=>typeof e=="string",nm=e=>{if(Ox(e)){Fi(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return fs(t,n,r,i)}else if(uR(e))return Fi(tm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),tm[e];return e},Bs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],rm={value:null,addProjectionMetrics:null};function cR(e,t){let n=new Set,r=new Set,i=!1,o=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){s.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,f=!1,h=!1)=>{const g=h&&i?n:r;return f&&s.add(d),g.has(d)||g.add(d),d},cancel:d=>
vendor: 25,994 bytes, line 113
113{r.delete(d),s.delete(d)},process:d=>{if(a=d,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&rm.value&&rm.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,c.process(d))}};return c}const dR=40;function Ix(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Bs.reduce((y,E)=>(y[E]=cR(o,t?E:void 0),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:v}=s,g=()=>{const y=yn.useManualTiming?i.timestamp:performance.now();n=!1,yn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,dR),1)),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),h.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},x=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Bs.reduce((y,E)=>{const T=s[E];return y[E]=(b,C=!1,P=!1)=>(n||x(),T.schedule(b,C,P)),y},{}),cancel:y=>{for(let E=0;E<Bs.length;E++)s[Bs[E]].cancel(y)},state:i,steps:s}}const{schedule:ie,cancel:ir,state:Ae,steps:gu}=Ix(typeof requestAnimationFrame<"u"?requestAnimationFrame:vt,!0);let aa;function fR(){aa=void 0}const We={now:()=>(aa===void 0&&We.set(Ae.isProcessing||yn.useManualTiming?Ae.timestamp:performance.now()),aa),set:e=>{aa=e,queueMicrotask(fR)}},_x=e=>t=>typeof t=="string"&&t.startsWith(e),Fx=_x("--"),hR=_x("var(--"),Nf=e=>hR(e)?pR.test(e.split("/*")[0].trim()):!1,pR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function im(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ki={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Xo={...Ki,transform:e=>en(0,1,e)},$s={...Ki,default:1},bo=e=>Math.round(e*1e5)/1e5,Df=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mR(e){return e==null}const gR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,jf=(e,t)=>n=>!!(typeof n=="string"&&gR.test(n)&&n.startsWith(e)||t&&!mR(n)&&Object.prototype.hasOwnProperty.call(n,t)),Vx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,a]=r.match(Df);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},yR=e=>en(0,255,e),yu={...Ki,transform:e=>Math.round(yR(e))},wr={test:jf("rgb","red"),parse:Vx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+yu.transform(e)+", "+yu.transform(t)+", "+yu.transform(n)+", "+bo(Xo.transform(r))+")"};function vR(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const $c={test:jf("#"),parse:vR,transform:wr.transform},hs=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),An=hs("deg"),Zt=hs("%"),F=hs("px"),xR=hs("vh"),wR=hs("vw"),om={...Zt,parse:e=>Zt.parse(e)/100,transform:e=>Zt.transform(e*100)},si={test:jf("hsl","hue"),parse:Vx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Zt.transform(bo(t))+", "+Zt.transform(bo(n))+", "+bo(Xo.transform(r))+")"},xe={test:e=>wr.test(e)||$c.test(e)||si.test(e),parse:e=>wr.test(e)?wr.parse(e):si.test(e)?si.parse(e):$c.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?wr.transform(e):si.transform(e),getAnimatableNone:e=>{const t=xe.parse(e);return t.alpha=0,xe.transform(t)}},SR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ER(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Df))==null?void 0:t.length)||0)+(((n=e.match(SR))==null?void 0:n.length)||0)>0}const zx="number",Bx="color",TR="var",bR="var(",sm="${}",CR=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function qo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(CR,l=>(xe.test(l)?(r.color.push(o),i.push(Bx),n.push(xe.parse(l))):l.startsWith(bR)?(r.var.push(o),i.push(TR),n.push(l)):(r.number.push(o),i.push(zx),n.push(parseFloat(l))),++o,sm)).split(sm);return{values:n,split:a,indexes:r,types:i}}function $x(e){return qo(e).values}function Ux(e){const{split:t,types:n}=qo(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const a=n[s];a===zx?o+=bo(i[s]):a===Bx?o+=xe.transform(i[s]):o+=i[s]}return o}}const PR=e=>typeof e=="number"?0:xe.test(e)?xe.getAnimatableNone(e):e;function kR(e){const t=$x(e);return Ux(e)(t.map(PR))}const or={test:ER,parse:$x,createTransformer:Ux,getAnimatableNone:kR};function vu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function RR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=vu(l,a,e+1/3),o=vu(l,a,e),s=vu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Ha(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,xu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},AR=[$c,wr,si],MR=e=>AR.find(t=>t.test(e));function am(e){const t=MR(e);if(Rl(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===si&&(n=RR(n)),n}const lm=(e,t)=>{const n=am(e),r=am(t);if(!n||!r)return Ha(e,t);const i={...n};return o=>(i.red=xu(n.red,r.red,o),i.green=xu(n.green,r.green,o),i.blue=xu(n.blue,r.blue,o),i.alpha=fe(n.alpha,r.alpha,o),wr.transform(i))},Uc=new Set(["none","hidden"]);function NR(e,t){return Uc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function DR(e,t){return n=>fe(e,t,n)}function Lf(e){return typeof e=="number"?DR:typeof e=="string"?Nf(e)?Ha:xe.test(e)?lm:OR:Array.isArray(e)?Wx:typeof e=="object"?xe.test(e)?lm:jR:Ha}function Wx(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Lf(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function jR(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Lf(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function LR(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}const OR=(e,t)=>{const n=or.createTransformer(t),r=qo(e),i=qo(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Uc.has(e)&&!i.values.length||Uc.has(t)&&!r.values.length?NR(e,t):ds(Wx(LR(r,i),i.values),n):(Rl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Ha(e,t))};function Hx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):Lf(e)(e,t)}const IR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ie.update(t,n),stop:()=>ir(t),now:()=>Ae.isProcessing?Ae.timestamp:We.now()}},Kx=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=Math.round(e(o/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Ka=2e4;function Of(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Ka;)t+=n,r=e.next(t);return t>=Ka?1/0:t}function _R(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Of(r),Ka);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:gt(i)}}const FR=5;function Gx(e,t,n){const r=Math.max(t-FR,0);return Cx(n-e(r),t-r)}const ce={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},wu=.001;function VR({duration:e=ce.duration,bounce:t=ce.bounce,velocity:n=ce.velocity,mass:r=ce.mass}){let i,o;Rl(e<=xt(ce.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=en(ce.minDamping,ce.maxDamping,s),e=en(ce.minDuration,ce.maxDuration,gt(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,h=Wc(u,s),v=Math.exp(-d);return wu-f/h*v},o=u=>{const d=u*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-d),g=Wc(Math.pow(u,2),s);return(-i(u)+wu>0?-1:1)*((f-h)*v)/g}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-wu+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=BR(i,o,a);if(e=xt(e),isNaN(l))return{stiffness:ce.stiffness,damping:ce.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const zR=12;function BR(e,t,n){let r=n;for(let i=1;i<zR;i++)r=r-e(r)/t(r);return r}function Wc(e,t){return e*Math.sqrt(1-t*t)}const $R=["duration","bounce"],UR=["stiffness","damping","mass"];function um(e,t){return t.some(n=>e[n]!==void 0)}function WR(e){let t={velocity:ce.velocity,stiffness:ce.stiffness,damping:ce.damping,mass:ce.mass,isResolvedFromDuration:!1,...e};if(!um(e,UR)&&um(e,$R))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*en(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ce.mass,stiffness:i,damping:o}}else{const n=VR(e);t={...t,...n,mass:ce.mass},t.isResolvedFromDuration=!0}return t}function Ga(e=ce.visualDuration,t=ce.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=WR({...n,velocity:-gt(n.velocity||0)}),v=f||0,g=u/(2*Math.sqrt(l*c)),x=s-o,p=gt(Math.sqrt(l/c)),m=Math.abs(x)<5;r||(r=m?ce.restSpeed.granular:ce.restSpeed.default),i||(i=m?ce.restDelta.granular:ce.restDelta.default);let y;if(g<1){const T=Wc(p,g);y=b=>{const C=Math.exp(-g*p*b);return s-C*((v+g*p*x)/T*Math.sin(T*b)+x*Math.cos(T*b))}}else if(g===1)y=T=>s-Math.exp(-p*T)*(x+(v+p*x)*T);else{const T=p*Math.sqrt(g*g-1);y=b=>{const C=Math.exp(-g*p*b),P=Math.min(T*b,300);return s-C*((v+g*p*x)*Math.sinh(P)+T*x*Math.cosh(P))/T}}const E={calculatedDuration:h&&d||null,next:T=>{const b=y(T);if(h)a.done=T>=d;else{let C=T===0?v:0;g<1&&(C=T===0?xt(v):Gx(y,T,b));const P=Math.abs(C)<=r,M=Math.abs(s-b)<=i;a.done=P&&M}return a.value=a.done?s:b,a},toString:()=>{const T=Math.min(Of(E),Ka),b=Kx(C=>E.next(T*C).value,T,30);return T+"ms "+b},toTransition:()=>{}};return E}Ga.applyToOptions=e=>{const t=_R(e,100,Ga);return e.ease=t.ease,e.duration=xt(t.duration),e.type="keyframes",e};function Hc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=P=>a!==void 0&&P<a||l!==void 0&&P>l,v=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let g=n*t;const x=d+g,p=s===void 0?x:s(x);p!==x&&(g=p-d);const m=P=>-g*Math.exp(-P/r),y=P=>p+m(P),E=P=>{const M=m(P),N=y(P);f.done=Math.abs(M)<=u,f.value=f.done?p:N};let T,b;const C=P=>{h(f.value)&&(T=P,b=Ga({keyframes:[f.value,v(f.value)],velocity:Gx(y,P,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:P=>{let M=!1;return!b&&T===void 0&&(M=!0,E(P),C(P)),T!==void 0&&P>=T?b.next(P-T):(!M&&E(P),f)}}}function HR(e,t,n){const r=[],i=n||yn.mix||Hx,o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||vt:t;a=ds(l,a)}r.push(a)}return r}function KR(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Fi(o===t.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=HR(t,r,i),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=Yo(e[d],e[d+1],c);return a[d](f)};return n?c=>u(en(e[0],e[o-1],c)):u}function GR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Yo(0,t,r);e.push(fe(n,1,i))}}function QR(e){const t=[0];return GR(t,e.length-1),t}function YR(e,t){return e.map(n=>n*t)}function XR(e,t){return e.map(()=>t||Lx).splice(0,e.length-1)}function Co({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=lR(r)?r.map(nm):nm(r),o={done:!1,value:t[0]},s=YR(n&&n.length===t.length?n:QR(t),e),a=KR(s,t,{ease:Array.isArray(i)?i:XR(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const qR=e=>e!==null;function If(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(qR),a=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const ZR={decay:Hc,inertia:Hc,tween:Co,keyframes:Co,spring:Ga};function Qx(e){typeof e.type=="string"&&(e.type=ZR[e.type])}class _f{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const JR=e=>e/100;class Ff extends _f{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==We.now()&&this.tick(We.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Qx(t);const{type:n=Co,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=t;let{keyframes:a}=t;const l=n||Co;l!==Co&&typeof a[0]!="number"&&(this.mixKeyframes=ds(JR,Hx(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=Of(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:h,type:v,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?p<0:p>i;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,E=r;if(d){const P=Math.min(this.currentTime,i)/a;let M=Math.floor(P),N=P%1;!N&&P>=1&&(N=1),N===1&&M--,M=Math.min(M,d+1),!!(M%2)&&(f==="reverse"?(N=1-N,h&&(N-=h/a)):f==="mirror"&&(E=s)),y=en(0,1,N)*a}const T=m?{done:!1,value:c[0]}:E.next(y);o&&(T.value=o(T.value));let{done:b}=T;!m&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return C&&v!==Hc&&(T.value=If(c,this.options,x,this.speed)),g&&g(T.value),C&&this.finish(),T}then(t,n){return this.finished.then(t,n)}get duration(){return gt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+gt(t)}get time(){return gt(this.currentTime)}set time(t){var n;t=xt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(We.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=gt(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:t=IR,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(o=(i=this.options).onPlay)==null||o.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(We.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function eA(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sr=e=>e*180/Math.PI,Kc=e=>{const t=Sr(Math.atan2(e[1],e[0]));return Gc(t)},tA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Kc,rotateZ:Kc,skewX:e=>Sr(Math.atan(e[1])),skewY:e=>Sr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Gc=e=>(e=e%360,e<0&&(e+=360),e),cm=Kc,dm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),fm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:dm,scaleY:fm,scale:e=>(dm(e)+fm(e))/2,rotateX:e=>Gc(Sr(Math.atan2(e[6],e[5]))),rotateY:e=>Gc(Sr(Math.atan2(-e[2],e[0]))),rotateZ:cm,rotate:cm,skewX:e=>Sr(Math.atan(e[4])),skewY:e=>Sr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Qc(e){return e.includes("scale")?1:0}function Yc(e,t){if(!e||e==="none")return Qc(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=nA,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=tA,i=a}if(!i)return Qc(t);const o=r[t],s=i[1].split(",").map(iA);return typeof o=="function"?o(s):s[o]}const rA=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Yc(n,t)};function iA(e){return parseFloat(e.trim())}const Gi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qi=new Set(Gi),hm=e=>e===Ki||e===F,oA=new Set(["x","y","z"]),sA=Gi.filter(e=>!oA.has(e));function aA(e){const t=[];return sA.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Un={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Yc(t,"x"),y:(e,{transform:t})=>Yc(t,"y")};Un.translateX=Un.x;Un.translateY=Un.y;const Mr=new Set;let Xc=!1,qc=!1,Zc=!1;function Yx(){if(qc){const e=Array.from(Mr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=aA(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}qc=!1,Xc=!1,Mr.forEach(e=>e.complete(Zc)),Mr.clear()}function Xx(){Mr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(qc=!0)})}function lA(){Zc=!0,Xx(),Yx(),Zc=!1}class Vf{constructor(t,n,r,i,o,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Mr.add(this),Xc||(Xc=!0,ie.read(Xx),ie.resolveKeyframes(Yx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const o=i==null?void 0:i.get(),s=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),i&&o===void 0&&i.set(t[0])}eA(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Mr.delete(this)}cancel(){this.state==="scheduled"&&(Mr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const uA=e=>e.startsWith("--");function cA(e,t,n){uA(t)?e.style.setProperty(t,n):e.style[t]=n}const dA=kf(()=>window.ScrollTimeline!==void 0),fA={};function hA(e,t){const n=kf(e);return()=>fA[t]??n()}const qx=hA(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ho=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,pm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ho([0,.65,.55,1]),circOut:ho([.55,0,1,.45]),backIn:ho([.31,.01,.66,-.59]),backOut:ho([.33,1.53,.69,.99])};function Zx(e,t){if(e)return typeof e=="function"?qx()?Kx(e,t):"ease-out":Ox(e)?ho(e):Array.isArray(e)?e.map(n=>Zx(n,t)||pm.easeOut):pm[e]}function pA(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=Zx(a,i);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function Jx(e){return typeof e=="function"&&"applyToOptions"in e}function mA({type:e,...t}){return Jx(e)&&qx()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ew extends _f{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=s,this.options=t,Fi(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=mA(t);this.animation=pA(n,r,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=If(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):cA(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return gt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+gt(t)}get time(){return gt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=xt(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&dA()?(this.animation.timeline=t,vt):n(this)}}const tw={anticipate:Nx,backInOut:Mx,circInOut:jx};function gA(e){return e in tw}function yA(e){typeof e.ease=="string"&&gA(e.ease)&&(e.ease=tw[e.ease])}const Su=10;class vA extends ew{constructor(t){yA(t),Qx(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Ff({...s,autoplay:!1}),l=Math.max(Su,We.now()-this.startTime),u=en(0,Su,l-Su);n.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const mm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(or.test(e)||e==="0")&&!e.startsWith("url("));function xA(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function wA(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=mm(i,t),a=mm(o,t);return Rl(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:xA(e)||(n==="spring"||Jx(n))&&r}
113function Jc(e){e.duration=0,e.type="keyframes"}const SA=new Set(["opacity","clipPath","filter","transform"]),EA=kf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function TA(e){var c;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;if(!(((c=t==null?void 0:t.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return EA()&&n&&SA.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}const bA=40;class CA extends _f{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var v;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=We.now();const f={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,name:l,motionValue:u,element:c,...d},h=(c==null?void 0:c.KeyframeResolver)||Vf;this.keyframeResolver=new h(a,(g,x,p)=>this.onKeyframesResolved(g,x,f,!p),l,u,c),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,i){var x,p;this.keyframeResolver=void 0;const{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=We.now(),wA(t,o,s,a)||((yn.instantAnimations||!l)&&(c==null||c(If(t,r,n))),t[0]=t[t.length-1],Jc(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>bA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!u&&TA(f),v=(p=(x=f.motionValue)==null?void 0:x.owner)==null?void 0:p.current,g=h?new vA({...f,element:v}):new Ff(f);g.finished.then(()=>{this.notifyFinished()}).catch(vt),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),lA()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function nw(e,t,n,r=0,i=1){const o=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(o,s):i===1?o*r:a-o*r}const PA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function kA(e){const t=PA.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const RA=4;function rw(e,t,n=1){Fi(n<=RA,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=kA(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Ex(s)?parseFloat(s):s}return Nf(i)?rw(i,t,n+1):i}const AA={type:"spring",stiffness:500,damping:25,restSpeed:10},MA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),NA={type:"keyframes",duration:.8},DA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jA=(e,{keyframes:t})=>t.length>2?NA:Qi.has(e)?e.startsWith("scale")?MA(t[1]):AA:DA,LA=e=>e!==null;function OA(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(LA),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}function iw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function zf(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?iw(n,e):n}function IA({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Bf=(e,t,n,r={},i,o)=>s=>{const a=zf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-xt(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};IA(a)||Object.assign(c,jA(e,c)),c.duration&&(c.duration=xt(c.duration)),c.repeatDelay&&(c.repeatDelay=xt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Jc(c),c.delay===0&&(
vendor: 8,638 bytes, line 113
113d=!0)),(yn.instantAnimations||yn.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(d=!0,Jc(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&t.get()!==void 0){const f=OA(c.keyframes,a);if(f!==void 0){ie.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new Ff(c):new CA(c)};function gm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function $f(e,t,n,r){if(typeof t=="function"){const[i,o]=gm(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=gm(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function wi(e,t,n){const r=e.getProps();return $f(r,t,n!==void 0?n:r.custom,e)}const ow=new Set(["width","height","top","left","right","bottom",...Gi]),ym=30,_A=e=>!isNaN(parseFloat(e));class FA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const i=We.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=We.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=_A(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Rf);const r=this.events[t].add(n);return t==="change"?()=>{r(),ie.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=We.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>ym)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,ym);return Cx(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Vi(e,t){return new FA(e,t)}const ed=e=>Array.isArray(e);function VA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vi(n))}function zA(e){return ed(e)?e[e.length-1]||0:e}function BA(e,t){const n=wi(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=zA(o[s]);VA(e,s,a)}}const Fe=e=>!!(e&&e.getVelocity);function $A(e){return!!(Fe(e)&&e.add)}function td(e,t){const n=e.getValue("willChange");if($A(n))return n.add(t);if(!n&&yn.WillChange){const r=new yn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Uf(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const UA="framerAppearId",sw="data-"+Uf(UA);function aw(e){return e.props[sw]}function WA({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function lw(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();o=o?iw(o,l):l;const u=o==null?void 0:o.reduceMotion;r&&(o=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const h=e.getValue(f,e.latestValues[f]??null),v=a[f];if(v===void 0||d&&WA(d,f))continue;const g={delay:n,...zf(o||{},f)},x=h.get();if(x!==void 0&&!h.isAnimating&&!Array.isArray(v)&&v===x&&!g.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){const E=aw(e);if(E){const T=window.MotionHandoffAnimation(E,f,ie);T!==null&&(g.startTime=T,p=!0)}}td(e,f);const m=u??e.shouldReduceMotion;h.start(Bf(f,h,v,m&&ow.has(f)?{type:!1}:g,e,p));const y=h.animation;y&&c.push(y)}if(s){const f=()=>ie.update(()=>{s&&BA(e,s)});c.length?Promise.all(c).then(f):f()}return c}function nd(e,t,n={}){var l;const r=wi(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(lw(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return HA(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[o,s]:[s,o];return u().then(()=>c())}else return Promise.all([o(),s(n.delay)])}function HA(e,t,n=0,r=0,i=0,o=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(nd(l,t,{...s,delay:n+(typeof r=="function"?0:r)+nw(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function KA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>nd(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=nd(e,t,n);else{const i=typeof t=="function"?wi(e,t,n.custom):t;r=Promise.all(lw(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const GA={test:e=>e==="auto",parse:e=>e},uw=e=>t=>t.test(e),cw=[Ki,F,Zt,An,wR,xR,GA],vm=e=>cw.find(uw(e));function QA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||bx(e):!0}const YA=new Set(["brightness","contrast","saturate","opacity"]);function XA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Df)||[];if(!r)return e;const i=n.replace(r,"");let o=YA.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const qA=/\b([a-z-]*)\(.*?\)/gu,rd={...or,getAnimatableNone:e=>{const t=e.match(qA);return t?t.map(XA).join(" "):e}},xm={...Ki,transform:Math.round},ZA={rotate:An,rotateX:An,rotateY:An,rotateZ:An,scale:$s,scaleX:$s,scaleY:$s,scaleZ:$s,skew:An,skewX:An,skewY:An,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:Xo,originX:om,originY:om,originZ:F},Wf={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...ZA,zIndex:xm,fillOpacity:Xo,strokeOpacity:Xo,numOctaves:xm},JA={...Wf,color:xe,backgroundColor:xe,outlineColor:xe,fill:xe,stroke:xe,borderColor:xe,borderTopColor:xe,borderRightColor:xe,borderBottomColor:xe,borderLeftColor:xe,filter:rd,WebkitFilter:rd},dw=e=>JA[e];function fw(e,t){let n=dw(e);return n!==rd&&(n=or),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const e2=new Set(["auto","none","0"]);function t2(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!e2.has(o)&&qo(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=fw(n,i)}class n2 extends Vf{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),Nf(d))){const f=rw(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}
vendor: 1,167 bytes, line 113
113if(this.resolveNoneKeyframes(),!ow.has(r)||t.length!==2)return;const[i,o]=t,s=vm(i),a=vm(o),l=im(i),u=im(o);if(l!==u&&Un[r]){this.needsMeasurement=!0;return}if(s!==a)if(hm(s)&&hm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Un[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||QA(t[i]))&&r.push(i);r.length&&t2(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Un[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=r.length-1,s=r[o];r[o]=Un[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 15,963 bytes, line 113
113h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const r2=new Set(["opacity","clipPath","filter","transform"]);function hw(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const pw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function id(e){return Tx(e)&&"offsetHeight"in e}const{schedule:Hf,cancel:TD}=Ix(queueMicrotask,!1),Rt={x:!1,y:!1};function mw(){return Rt.x||Rt.y}function i2(e){return e==="x"||e==="y"?Rt[e]?null:(Rt[e]=!0,()=>{Rt[e]=!1}):Rt.x||Rt.y?null:(Rt.x=Rt.y=!0,()=>{Rt.x=Rt.y=!1})}function gw(e,t){const n=hw(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function o2(e){return!(e.pointerType==="touch"||mw())}function s2(e,t,n={}){const[r,i,o]=gw(e,n);return r.forEach(s=>{let a=!1,l=!1,u;const c=()=>{s.removeEventListener("pointerleave",v)},d=x=>{u&&(u(x),u=void 0),c()},f=x=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(x))},h=()=>{a=!0,window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",f,i)},v=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}d(x)}},g=x=>{if(!o2(x))return;l=!1;const p=t(s,x);typeof p=="function"&&(u=p,s.addEventListener("pointerleave",v,i))};s.addEventListener("pointerenter",g,i),s.addEventListener("pointerdown",h,i)}),o}const yw=(e,t)=>t?e===t?!0:yw(e,t.parentElement):!1,Kf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,a2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function l2(e){return a2.has(e.tagName)||e.isContentEditable===!0}const u2=new Set(["INPUT","SELECT","TEXTAREA"]);function c2(e){return u2.has(e.tagName)||e.isContentEditable===!0}const la=new WeakSet;function wm(e){return t=>{t.key==="Enter"&&e(t)}}function Eu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const d2=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=wm(()=>{if(la.has(n))return;Eu(n,"down");const i=wm(()=>{Eu(n,"up")}),o=()=>Eu(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Sm(e){return Kf(e)&&!mw()}const Em=new WeakSet;function f2(e,t,n={}){const[r,i,o]=gw(e,n),s=a=>{const l=a.currentTarget;if(!Sm(a)||Em.has(a))return;la.add(l),n.stopPropagation&&Em.add(a);const u=t(l,a),c=(h,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),la.has(l)&&la.delete(l),Sm(h)&&typeof u=="function"&&u(h,{success:v})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||yw(l,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",f,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,i),id(a)&&(a.addEventListener("focus",u=>d2(u,i)),!l2(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Gf(e){return Tx(e)&&"ownerSVGElement"in e}const ua=new WeakMap;let Mn;const vw=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Gf(r)&&"getBBox"in r?r.getBBox()[t]:r[n],h2=vw("inline","width","offsetWidth"),p2=vw("block","height","offsetHeight");function m2({target:e,borderBoxSize:t}){var n;(n=ua.get(e))==null||n.forEach(r=>{r(e,{get width(){return h2(e,t)},get height(){return p2(e,t)}})})}function g2(e){e.forEach(m2)}function y2(){typeof ResizeObserver>"u"||(Mn=new ResizeObserver(g2))}function v2(e,t){Mn||y2();const n=hw(e);return n.forEach(r=>{let i=ua.get(r);i||(i=new Set,ua.set(r,i)),i.add(t),Mn==null||Mn.observe(r)}),()=>{n.forEach(r=>{const i=ua.get(r);i==null||i.delete(t),i!=null&&i.size||Mn==null||Mn.unobserve(r)})}}const ca=new Set;let ai;function x2(){ai=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ca.forEach(t=>t(e))},window.addEventListener("resize",ai)}function w2(e){return ca.add(e),ai||x2(),()=>{ca.delete(e),!ca.size&&typeof ai=="function"&&(window.removeEventListener("resize",ai),ai=void 0)}}function Tm(e,t){return typeof e=="function"?w2(e):v2(e,t)}function S2(e){return Gf(e)&&e.tagName==="svg"}const E2=[...cw,xe,or],T2=e=>E2.find(uw(e)),bm=()=>({translate:0,scale:1,origin:0,originPoint:0}),li=()=>({x:bm(),y:bm()}),Cm=()=>({min:0,max:0}),Ee=()=>({x:Cm(),y:Cm()}),b2=new WeakMap;function Al(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Zo(e){return typeof e=="string"||Array.isArray(e)}const Qf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Yf=["initial",...Qf];function Ml(e){return Al(e.animate)||Yf.some(t=>Zo(e[t]))}function xw(e){return!!(Ml(e)||e.variants)}function C2(e,t,n){for(const r in t){const i=t[r],o=n[r];if(Fe(i))e.addValue(r,i);else if(Fe(o))e.addValue(r,Vi(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Vi(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const od={current:null},ww={current:!1},P2=typeof window<"u";function k2(){if(ww.current=!0,!!P2)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>od.current=e.matches;e.addEventListener("change",t),t()}else od.current=!1}const Pm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Qa={};function Sw(e){Qa=e}function R2(){return Qa}class A2{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Vf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=We.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ie.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Ml(n),this.isVariantNode=xw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const v=f[h];u[h]!==void 0&&Fe(v)&&v.set(u[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,b2.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(ww.current||k2(),this.shouldReduceMotion=od.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),ir(this.notifyUpdate),ir(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&r2.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new ew({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:xt(c)}),f=s(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=Qi.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Qa){const n=Qa[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ee()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Pm.length;r++){const i=Pm[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=C2(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vi(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Ex(r)||bx(r))?r=parseFloat(r):!T2(r)&&or.test(n)&&(r=fw(t,n)),this.setBaseTarget(t,Fe(r)?r.get():r)),Fe(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=$f(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Fe(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Rf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Hf.render(this.render)}}class Ew extends A2{constructor(){super(...arguments),this.KeyframeResolver=n2}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Fe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class ur{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Tw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function M2({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function N2(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Tu(e){return e===void 0||e===1}function sd({scale:e,scaleX:t,scaleY:n}){return!Tu(e)||!Tu(t)||!Tu(n)}function gr(e){return sd(e)||bw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function bw(e){return km(e.x)||km(e.y)}function km(e){return e&&e!=="0%"}function Ya(e,t,n){const r=e-n,i=t*r;return n+i}function Rm(e,t,n,r,i){return i!==void 0&&(e=Ya(e,i,r)),Ya(e,n,r)+t}function ad(e,t=0,n=1,r,i){e.min=Rm(e.min,t,n,r,i),e.max=Rm(e.max,t,n,r,i)}function Cw(e,{x:t,y:n}){ad(e.x,t.translate,t.scale,t.originPoint),ad(e.y,n.translate,n.scale,n.originPoint)}const Am=.999999999999,Mm=1.0000000000001;function D2(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&ci(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Cw(e,s)),r&&gr(o.latestValues)&&ci(e,o.latestValues))}t.x<Mm&&t.x>Am&&(t.x=1),t.y<Mm&&t.y>Am&&(t.y=1)}function ui(e,t){e.min=e.min+t,e.max=e.max+t}function Nm(e,t,n,r,i=.5){const o=fe(e.min,e.max,i);ad(e,t,n,o,r)}function ci(e,t){Nm(e.x,t.x,t.scaleX,t.scale,t.originX),Nm(e.y,t.y,t.scaleY,t.scale,t.originY)}function Pw(e,t){return Tw(N2(e.getBoundingClientRect(),t))}function j2(e,t,n){const r=Pw(e,n),{scroll:i}=t;return i&&(ui(r.x,i.offset.x),ui(r.y,i.offset.y)),r}const L2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},O2=Gi.length;function I2(e,t,n){let r="",i=!0;for(let o=0;o<O2;o++){const s=Gi[o],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{const u=parseFloat(a);l=s.startsWith("scale")?u===1:u===0}if(!l||n){const u=pw(a,Wf[s]);if(!l){i=!1;const c=L2[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Xf(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(Qi.has(l)){s=!0;continue}else if(Fx(l)){i[l]=u;continue}else{const c=pw(u,Wf[l]);l.startsWith("origin")?(a=!0,o[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=I2(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;r.transformOrigin=`${l} ${u} ${c}`}}function kw(e,{style:t,vars:n},r,i){const o=e.style;let s;for(s in t)o[s]=t[s];i==null||i.applyProjectionStyles(o,r);for(s in n)o.setProperty(s,n[s])}function Dm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ao={correct:(e,t)=>
vendor: 5,787 bytes, line 113
113{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Dm(e,t.target.x),r=Dm(e,t.target.y);return`${n}% ${r}%`}},_2={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=or.parse(e);if(i.length>5)return r;const o=or.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const u=fe(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}},ld={borderRadius:{...ao,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ao,borderTopRightRadius:ao,borderBottomLeftRadius:ao,borderBottomRightRadius:ao,boxShadow:_2};function Rw(e,{layout:t,layoutId:n}){return Qi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ld[e]||e==="opacity")}function qf(e,t,n){var s;const r=e.style,i=t==null?void 0:t.style,o={};if(!r)return o;for(const a in r)(Fe(r[a])||i&&Fe(i[a])||Rw(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(o[a]=r[a]);return o}function F2(e){return window.getComputedStyle(e)}class V2 extends Ew{constructor(){super(...arguments),this.type="html",this.renderInstance=kw}readValueFromInstance(t,n){var r;if(Qi.has(n))return(r=this.projection)!=null&&r.isProjecting?Qc(n):rA(t,n);{const i=F2(t),o=(Fx(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Pw(t,n)}build(t,n,r){Xf(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return qf(t,n,r)}}const z2={offset:"stroke-dashoffset",array:"stroke-dasharray"},B2={offset:"strokeDashoffset",array:"strokeDasharray"};function $2(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?z2:B2;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const U2=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Aw(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(Xf(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const h of U2)d[h]!==void 0&&(f[h]=d[h],delete d[h]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&$2(d,i,o,s,!1)}const Mw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Nw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function W2(e,t,n,r){kw(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Mw.has(i)?i:Uf(i),t.attrs[i])}function Dw(e,t,n){const r=qf(e,t,n);for(const i in e)if(Fe(e[i])||Fe(t[i])){const o=Gi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}class H2 extends Ew{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ee}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qi.has(n)){const r=dw(n);return r&&r.default||0}return n=Mw.has(n)?n:Uf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Dw(t,n,r)}build(t,n,r){Aw(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){W2(t,n,r,i)}mount(t){this.isSVGTag=Nw(t.tagName),super.mount(t)}}const K2=Yf.length;function jw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?jw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<K2;n++){const r=Yf[n],i=e.props[r];(Zo(i)||i===!1)&&(t[r]=i)}return t}function Lw(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const G2=[...Qf].reverse(),Q2=Qf.length;function Y2(e){return t=>Promise.all(t.map(({animation:n,options:r})=>KA(e,n,r)))}function X2(e){let t=Y2(e),n=jm(),r=!0;const i=l=>(u,c)=>{var f;const d=wi(e,c,l==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(d){const{transition:h,transitionEnd:v,...g}=d;u={...u,...g,...v}}return u};function o(l){t=l(e)}function s(l){const{props:u}=e,c=jw(e.parent)||{},d=[],f=new Set;let h={},v=1/0;for(let x=0;x<Q2;x++){const p=G2[x],m=n[p],y=u[p]!==void 0?u[p]:c[p],E=Zo(y),T=p===l?m.isActive:null;T===!1&&(v=x);let b=y===c[p]&&y!==u[p]&&E;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...h},!m.isActive&&T===null||!y&&!m.prevProp||Al(y)||typeof y=="boolean")continue;if(p==="exit"&&m.isActive&&T!==!0){m.prevResolvedValues&&(h={...h,...m.prevResolvedValues});continue}const C=q2(m.prevProp,y);let P=C||p===l&&m.isActive&&!b&&E||x>v&&E,M=!1;const N=Array.isArray(y)?y:[y];let z=N.reduce(i(p),{});T===!1&&(z={});const{prevResolvedValues:I={}}=m,K={...I,...z},L=V=>{P=!0,f.has(V)&&(M=!0,f.delete(V)),m.needsAnimating[V]=!0;const k=e.getValue(V);k&&(k.liveStyle=!1)};for(const V in K){const k=z[V],A=I[V];if(h.hasOwnProperty(V))continue;let O=!1;ed(k)&&ed(A)?O=!Lw(k,A):O=k!==A,O?k!=null?L(V):f.add(V):k!==void 0&&f.has(V)?L(V):m.protectedKeys[V]=!0}m.prevProp=y,m.prevResolvedValues=z,m.isActive&&(h={...h,...z}),r&&e.blockInitialAnimation&&(P=!1);const Q=b&&C;P&&(!Q||M)&&d.push(...N.map(V=>{const k={type:p};if(typeof V=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:A}=e,O=wi(A,V);if(A.enteringChildren&&O){const{delayChildren:U}=O.transition||{};k.delay=nw(A.enteringChildren,e,U)}}return{animation:V,options:k}}))}
vendor: 3,000 bytes, line 113
113if(f.size){const x={};if(typeof u.initial!="boolean"){const p=wi(e,Array.isArray(u.initial)?u.initial[0]:u.initial);p&&p.transition&&(x.transition=p.transition)}f.forEach(p=>{const m=e.getBaseTarget(p),y=e.getValue(p);y&&(y.liveStyle=!0),x[p]=m??null}),d.push({animation:x})}let g=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(d):Promise.resolve()}function a(l,u){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(f=>{var h;return(h=f.animationState)==null?void 0:h.setActive(l,u)}),n[l].isActive=u;const c=s(l);for(const f in n)n[f].protectedKeys={};return c}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=jm()}}}function q2(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Lw(t,e):!1}function hr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function jm(){return{animate:hr(!0),whileInView:hr(),whileHover:hr(),whileTap:hr(),whileDrag:hr(),whileFocus:hr(),exit:hr()}}function Lm(e,t){e.min=t.min,e.max=t.max}function kt(e,t){Lm(e.x,t.x),Lm(e.y,t.y)}function Om(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Ow=1e-4,Z2=1-Ow,J2=1+Ow,Iw=.01,eM=0-Iw,tM=0+Iw;function He(e){return e.max-e.min}function nM(e,t,n){return Math.abs(e-t)<=n}function Im(e,t,n,r=.5){e.origin=r,e.originPoint=fe(t.min,t.max,e.origin),e.scale=He(n)/He(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Z2&&e.scale<=J2||isNaN(e.scale))&&(e.scale=1),(e.translate>=eM&&e.translate<=tM||isNaN(e.translate))&&(e.translate=0)}function Po(e,t,n,r){Im(e.x,t.x,n.x,r?r.originX:void 0),Im(e.y,t.y,n.y,r?r.originY:void 0)}function _m(e,t,n){e.min=n.min+t.min,e.max=e.min+He(t)}function rM(e,t,n){_m(e.x,t.x,n.x),_m(e.y,t.y,n.y)}function Fm(e,t,n){e.min=t.min-n.min,e.max=e.min+He(t)}function Xa(e,t,n){Fm(e.x,t.x,n.x),Fm(e.y,t.y,n.y)}function Vm(e,t,n,r,i){return e-=t,e=Ya(e,1/n,r),i!==void 0&&(e=Ya(e,1/i,r)),e}function iM(e,t=0,n=1,r=.5,i,o=e,s=e){if(Zt.test(t)&&(t=parseFloat(t),t=fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=fe(o.min,o.max,r);e===o&&(a-=t),e.min=Vm(e.min,t,n,a,i),e.max=Vm(e.max,t,n,a,i)}function zm(e,t,[n,r,i],o,s){iM(e,t[n],t[r],t[i],t.scale,o,s)}const oM=["x","scaleX","originX"],sM=["y","scaleY","originY"];function Bm(e,t,n,r){zm(e.x,t,oM,n?n.x:void 0,r?r.x:void 0),zm(e.y,t,sM,n?n.y:void 0,r?r.y:void 0)}function $m(e){return e.translate===0&&e.scale===1}function _w(e){return $m(e.x)&&$m(e.y)}function Um(e,t){return e.min===t.min&&e.max===t.max}function aM(e,t){return Um(e.x,t.x)&&Um(e.y,t.y)}function Wm(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Fw(e,t){return Wm(e.x,t.x)&&Wm(e.y,t.y)}function Hm(e){return He(e.x)/He(e.y)}function Km(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ut(e){return[e("x"),e("y")]}function lM(e,t,n){let r="";
vendor: 15,411 bytes, line 113
113const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),v&&(r+=`skewY(${v}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Vw=["TopLeft","TopRight","BottomLeft","BottomRight"],uM=Vw.length,Gm=e=>typeof e=="string"?parseFloat(e):e,Qm=e=>typeof e=="number"||F.test(e);function cM(e,t,n,r,i,o){i?(e.opacity=fe(0,n.opacity??1,dM(r)),e.opacityExit=fe(t.opacity??1,0,fM(r))):o&&(e.opacity=fe(t.opacity??1,n.opacity??1,r));for(let s=0;s<uM;s++){const a=`border${Vw[s]}Radius`;let l=Ym(t,a),u=Ym(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Qm(l)===Qm(u)?(e[a]=Math.max(fe(Gm(l),Gm(u),r),0),(Zt.test(u)||Zt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,r))}function Ym(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const dM=zw(0,.5,Dx),fM=zw(.5,.95,vt);function zw(e,t,n){return r=>r<e?0:r>t?1:n(Yo(e,t,r))}function hM(e,t,n){const r=Fe(e)?e:Vi(e);return r.start(Bf("",r,t,n)),r.animation}function Jo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const pM=(e,t)=>e.depth-t.depth;class mM{constructor(){this.children=[],this.isDirty=!1}add(t){Pf(this.children,t),this.isDirty=!0}remove(t){Wa(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(pM),this.isDirty=!1,this.children.forEach(t)}}function gM(e,t){const n=We.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(ir(r),e(o-t))};return ie.setup(r,!0),()=>ir(r)}function da(e){return Fe(e)?e.get():e}class yM{constructor(){this.members=[]}add(t){Pf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;i&&i.isConnected===!1&&r.isPresent!==!1&&!r.snapshot&&Wa(this.members,r)}t.scheduleRender()}remove(t){if(Wa(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i],s=o.instance;if(o.isPresent!==!1&&(!s||s.isConnected!==!1)){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender();const i=r.options.layoutDependency,o=t.options.layoutDependency;if(!(i!==void 0&&o!==void 0&&i===o)){const l=r.instance;l&&l.isConnected===!1&&!r.snapshot||(t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0))}const{crossfade:a}=t.options;a===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const fa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},bu=["","X","Y","Z"],vM=1e3;let xM=0;function Cu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Bw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=aw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ie,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Bw(r)}function $w({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=xM++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(EM),this.nodes.forEach(PM),this.nodes.forEach(kM),this.nodes.forEach(TM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new mM)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Rf),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=Gf(s)&&!S2(s),this.instance=s;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;ie.read(()=>{d=window.innerWidth}),e(s,()=>{const h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,c&&c(),c=gM(f,250),fa.hasAnimatedSinceResize&&(fa.hasAnimatedSinceResize=!1,this.nodes.forEach(Zm)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||DM,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=u.getProps(),p=!this.targetLayout||!Fw(this.targetLayout,h),m=!d&&f;if(this.options.layoutRoot||this.resumeFrom||m||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...zf(v,"layout"),onPlay:g,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(c,m)}else d||Zm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ir(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(RM),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Bw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Xm);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(qm);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(CM),this.nodes.forEach(wM),this.nodes.forEach(SM)):this.nodes.forEach(qm),this.clearAllSnapshots();const a=We.now();Ae.delta=en(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,gu.update.process(Ae),gu.preRender.process(Ae),gu.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Hf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(bM),this.sharedNodes.forEach(AM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!He(this.snapshot.measuredBox.x)&&!He(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Ee(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!_w(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||gr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),jM(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return Ee();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(LM))){const{scroll:c}=this.root;c&&(ui(a.x,c.offset.x),ui(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=Ee();if(kt(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&kt(a,s),ui(a.x,d.offset.x),ui(a.y,d.offset.y))}return a}applyTransform(s,a=!1){const l=Ee();kt(l,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ci(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),gr(c.latestValues)&&ci(l,c.latestValues)}return gr(this.latestValues)&&ci(l,this.latestValues),l}removeTransform(s){const a=Ee();kt(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!gr(u.latestValues))continue;sd(u.latestValues)&&u.updateSnapshot();const c=Ee(),d=u.measurePageBox();kt(c,d),Bm(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return gr(this.latestValues)&&Bm(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var h;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=Ae.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ee(),this.targetWithTransforms=Ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),rM(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kt(this.target,this.layout.layoutBox),Cw(this.target,this.targetDelta)):kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||sd(this.parent.latestValues)||bw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ee(),this.relativeTargetOrigin=Ee(),Xa(this.relativeTargetOrigin,a,l),kt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&
vendor: 5,271 bytes, line 113
113(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;kt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;D2(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Ee());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Om(this.prevProjectionDelta.x,this.projectionDelta.x),Om(this.prevProjectionDelta.y,this.projectionDelta.y)),Po(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Km(this.projectionDelta.x,this.prevProjectionDelta.x)||!Km(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=li(),this.projectionDelta=li(),this.projectionDeltaWithTransform=li()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=li();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Ee(),h=l?l.source:void 0,v=this.layout?this.layout.source:void 0,g=h!==v,x=this.getStack(),p=!x||x.members.length<=1,m=!!(g&&!p&&this.options.crossfade===!0&&!this.path.some(NM));this.animationProgress=0;let y;this.mixTargetDelta=E=>{const T=E/1e3;Jm(d.x,s.x,T),Jm(d.y,s.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Xa(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),MM(this.relativeTarget,this.relativeTargetOrigin,f,T),y&&aM(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Ee()),kt(y,this.relativeTarget)),g&&(this.animationValues=c,cM(c,u,this.latestValues,T,m,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(ir(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ie.update(()=>{fa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Vi(0)),this.currentAnimation=hM(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),s.onUpdate&&s.onUpdate(c)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(vM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&Uw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ee();const d=He(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=He(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}kt(a,l),ci(a,c),Po(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new yM),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}
vendor: 18,516 bytes, lines 113-121
113resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Cu("z",s,u,this.animationValues);for(let c=0;c<bu.length;c++)Cu(`rotate${bu[c]}`,s,u,this.animationValues),Cu(`skew${bu[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=da(a==null?void 0:a.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=da(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!gr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=lM(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),s.transform=d;const{x:f,y:h}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,u.animationValues?s.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:s.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const v in ld){if(c[v]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:p}=ld[v],m=d==="none"?c[v]:g(c[v],u);if(x){const y=x.length;for(let E=0;E<y;E++)s[x[E]]=m}else p?this.options.visualElement.renderState.vars[v]=m:s[v]=m}this.options.layoutId&&(s.pointerEvents=u===this?da(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Xm),this.root.sharedNodes.clear()}}}function wM(e){e.updateLayout()}function SM(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;o==="size"?Ut(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=He(f);f.min=r[d].min,f.max=f.min+h}):Uw(o,t.layoutBox,r)&&Ut(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=He(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=li();Po(a,r,t.layoutBox);const l=li();s?Po(l,e.applyTransform(i,!0),t.measuredBox):Po(l,r,t.layoutBox);const u=!_w(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const v=Ee();Xa(v,t.layoutBox,f.layoutBox);const g=Ee();Xa(g,r,h.layoutBox),Fw(v,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function EM(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function TM(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function bM(e){e.clearSnapshot()}function Xm(e){e.clearMeasurements()}function qm(e){e.isLayoutDirty=!1}function CM(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Zm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function PM(e){e.resolveTargetDelta()}function kM(e){e.calcProjection()}function RM(e){e.resetSkewAndRotation()}function AM(e){e.removeLeadSnapshot()}function Jm(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function eg(e,t,n,r){e.min=fe(t.min,n.min,r),e.max=fe(t.max,n.max,r)}function MM(e,t,n,r){eg(e.x,t.x,n.x,r),eg(e.y,t.y,n.y,r)}function NM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const DM={duration:.45,ease:[.4,0,.1,1]},tg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ng=tg("applewebkit/")&&!tg("chrome/")?Math.round:vt;function rg(e){e.min=ng(e.min),e.max=ng(e.max)}function jM(e){rg(e.x),rg(e.y)}function Uw(e,t,n){return e==="position"||e==="preserve-aspect"&&!nM(Hm(t),Hm(n),.2)}function LM(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const OM=$w({attachResizeListener:(e,t)=>Jo(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Pu={current:void 0},Ww=$w({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Pu.current){const e=new OM({});e.mount(window),e.setOptions({layoutScroll:!0}),Pu.current=e}return Pu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Zf=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ig(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function IM(...e){return t=>{let n=!1;const r=e.map(i=>{const o=ig(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():ig(e[i],null)}}}}function _M(...e){return w.useCallback(IM(...e),e)}class FM extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=id(r)&&r.offsetWidth||0,o=id(r)&&r.offsetHeight||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=i-s.width-s.left,s.bottom=o-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function VM({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:o}){var f;const s=w.useId(),a=w.useRef(null),l=w.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=w.useContext(Zf),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=_M(a,c);return w.useInsertionEffect(()=>{const{width:h,height:v,top:g,left:x,right:p,bottom:m}=l.current;if(t||o===!1||!a.current||!h||!v)return;const y=n==="left"?`left: ${x}`:`right: ${p}`,E=r==="bottom"?`bottom: ${m}`:`top: ${g}`;a.current.dataset.motionPopId=s;const T=document.createElement("style");u&&(T.nonce=u);const b=i??document.head;return b.appendChild(T),T.sheet&&T.sheet.insertRule(`
114          [data-motion-pop-id="${s}"] {
115            position: absolute !important;
116            width: ${h}px !important;
117            height: ${v}px !important;
118            ${y}px !important;
119            ${E}px !important;
120          }
121        `),()=>{b.contains(T)&&b.removeChild(T)}},[t]),S.jsx(FM,{isPresent:t,childRef:a,sizeRef:l,pop:o,children:o===!1?e:w.cloneElement(e,{ref:d})})}const zM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s,anchorX:a,anchorY:l,root:u})=>{const c=Cf(BM),d=w.useId();let f=!0,h=w.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:v=>{c.set(v,!0);for(const g of c.values())if(!g)return;r&&r()},register:v=>(c.set(v,!1),()=>c.delete(v))}),[n,c,r]);return o&&f&&(h={...h}),w.useMemo(()=>{c.forEach((v,g)=>c.set(g,!1))},[n]),w.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=S.jsx(VM,{pop:s==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),S.jsx(kl.Provider,{value:h,children:e})};function BM(){return new Map}function Hw(e=!0){const t=w.useContext(kl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=w.useId();w.useEffect(()=>{if(e)return i(o)},[e]);const s=w.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}const Us=e=>e.key||"";function og(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const $M=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=Hw(s),f=w.useMemo(()=>og(e),[e]),h=s&&!c?[]:f.map(Us),v=w.useRef(!0),g=w.useRef(f),x=Cf(()=>new Map),p=w.useRef(new Set),[m,y]=w.useState(f),[E,T]=w.useState(f);Sx(()=>{v.current=!1,g.current=f;for(let P=0;P<E.length;P++){const M=Us(E[P]);h.includes(M)?(x.delete(M),p.current.delete(M)):x.get(M)!==!0&&x.set(M,!1)}},[E,h.length,h.join("-")]);const b=[];if(f!==m){let P=[...f];for(let M=0;M<E.length;M++){const N=E[M],z=Us(N);h.includes(z)||(P.splice(M,0,N),b.push(N))}return o==="wait"&&b.length&&(P=b),T(og(P)),y(f),null}const{forceRender:C}=w.useContext(bf);return S.jsx(S.Fragment,{children:E.map(P=>{const M=Us(P),N=s&&!c?!1:f===E||h.includes(M),z=()=>{if(p.current.has(M))return;if(p.current.add(M),x.has(M))x.set(M,!0);else return;let I=!0;x.forEach(K=>{K||(I=!1)}),I&&(C==null||C(),T(g.current),s&&(d==null||d()),r&&r())};return S.jsx(zM,{isPresent:N,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:u,onExitComplete:N?void 0:z,anchorX:a,anchorY:l,children:P},M)})})},Kw=w.createContext({strict:!1}),sg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let ag=!1;function UM(){if(ag)return;const e={};for(const t in sg)e[t]={isEnabled:n=>sg[t].some(r=>!!n[r])};Sw(e),ag=!0}function Gw(){return UM(),R2()}function WM(e){const t=Gw();for(const n in e)t[n]={...t[n],...e[n]};Sw(t)}const HM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function qa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||HM.has(e)}let Qw=e=>!qa(e);function KM(e){typeof e=="function"&&(Qw=t=>t.startsWith("on")?!qa(t):e(t))}try{KM(require("@emotion/is-prop-valid").default)}catch{}function GM(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Qw(i)||n===!0&&qa(i)||!t&&!qa(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Nl=w.createContext({});function QM(e,t){if(Ml(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Zo(n)?n:void 0,animate:Zo(r)?r:void 0}}return e.inherit!==!1?t:{}}function YM(e){const{initial:t,animate:n}=QM(e,w.useContext(Nl));return w.useMemo(()=>({initial:t,animate:n}),[lg(t),lg(n)])}function lg(e){return Array.isArray(e)?e.join(" "):e}const Jf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Yw(e,t,n){for(const r in t)!Fe(t[r])&&!Rw(r,n)&&(e[r]=t[r])}function XM({transformTemplate:e},t){return w.useMemo(()=>{const n=Jf();return Xf(n,t,e),Object.assign({},n.vars,n.style)},[t])}function qM(e,t){const n=e.style||{},r={};return Yw(r,n,e),Object.assign(r,XM(e,t)),r}function ZM(e,t){const n={},r=qM(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Xw=()=>({...Jf(),attrs:{}});function JM(e,t,n,r){const i=w.useMemo(()=>{const o=Xw();return Aw(o,t,Nw(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Yw(o,e.style,e),i.style={...o,...i.style}}return i}const eN=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function eh(e){return typeof e!="string"||e.includes("-")?!1:!!(eN.indexOf(e)>-1||/[A-Z]/u.test(e))}function tN(e,t,n,{latestValues:r},i,o=!1,s){const l=(s??eh(e)?JM:ZM)(t,r,i,e),u=GM(t,typeof e=="string",o),c=e!==w.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=w.useMemo(()=>Fe(d)?d.get():d,[d]);return w.createElement(e,{...c,children:f})}function nN({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:rN(n,r,i,e),renderState:t()}}function rN(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=da(o[f]);let{initial:s,animate:a}=e;const l=Ml(e),u=xw(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;if(d&&typeof d!="boolean"&&!Al(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const v=$f(e,f[h]);if(v){const{transitionEnd:g,transition:x,...p}=v;for(const m in p){let y=p[m];if(Array.isArray(y)){const E=c?y.length-1:0;y=y[E]}y!==null&&(i[m]=y)}for(const m in g)i[m]=g[m]}}}return i}const qw=e=>(t,n)=>{const r=w.useContext(Nl),i=w.useContext(kl),o=()=>nN(e,t,r,i);return n?o():Cf(o)},iN=qw({scrapeMotionValuesFromProps:qf,createRenderState:Jf}),oN=qw({scrapeMotionValuesFromProps:Dw,createRenderState:Xw}),sN=Symbol.for("motionComponentSymbol");function aN(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const i=w.useRef(null);return w.useCallback(o=>{var a;o&&((a=e.onMount)==null||a.call(e,o)),t&&(o?t.mount(o):t.unmount());const s=r.current;if(typeof s=="function")if(o){const l=s(o);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):s(o);else s&&(s.current=o)},[t])}const Zw=w.createContext({});function Gr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function lN(e,t,n,r,i,o){var y,E;const{visualElement:s}=w.useContext(Nl),a=w.useContext(Kw),l=w.useContext(kl),u=w.useContext(Zf),c=u.reducedMotion,d=u.skipAnimations,f=w.useRef(null),h=w.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),h.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const v=f.current,g=w.useContext(Zw);v&&!v.projection&&i&&(v.type==="html"||v.type==="svg")&&uN(f.current,n,i,g);const x=w.useRef(!1);w.useInsertionEffect(()=>{v&&x.current&&v.update(n,l)});const p=n[sw],m=w.useRef(!!p&&!((y=window.MotionHandoffIsComplete)!=null&&y.call(window,p))&&((E=window.MotionHasOptimisedAnimation)==null?void 0:E.call(window,p)));return Sx(()=>{h.current=!0,v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),m.current&&v.animationState&&v.animationState.animateChanges())}),w.useEffect(()=>{v&&(!m.current&&v.animationState&&v.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var T;(T=window.MotionHandoffMarkAsComplete)==null||T.call(window,p)}),m.current=!1),v.enteringChildren=void 0)}),v}function uN(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Jw(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&Gr(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function Jw(e){if(e)return e.options.allowProjection!==!1?e.projection:Jw(e.parent)}function ku(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&WM(r);const o=n?n==="svg":eh(e),s=o?oN:iN;function a(u,c){let d;const f={...w.useContext(Zf),...u,layoutId:cN(u)},{isStatic:h}=f,v=YM(u),g=s(u,h);if(!h&&wx){dN();const x=fN(f);d=x.MeasureLayout,v.visualElement=lN(e,g,f,i,x.ProjectionNode,o)}return S.jsxs(Nl.Provider,{value:v,children:[d&&v.visualElement?S.jsx(d,{visualElement:v.visualElement,...f}):null,tN(e,u,aN(g,v.visualElement,c),g,h,t,o)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=w.forwardRef(a);return l[sN]=e,l}function cN({layoutId:e}){const t=w.useContext(bf).id;return t&&e!==void 0?t+"-"+e:e}function dN(e,t){w.useContext(Kw).strict}function fN(e){const t=Gw(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function hN(e,t){if(typeof Proxy>"u")return ku;const n=new Map,r=(o,s)=>ku(o,s,e,t),i=(o,s)=>r(o,s);return new Proxy(i,{get:(o,s)=>s==="create"?r:(n.has(s)||n.set(s,ku(s,void 0,e,t)),n.get(s))})}const pN=(e,t)=>t.isSVG??eh(e)?new H2(t):new V2(t,{allowProjection:e!==w.Fragment});class mN extends ur{constructor(t){super(t),t.animationState||(t.animationState=X2(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Al(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let gN=0;class yN extends ur{constructor(){super(...arguments),this.id=gN++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};
vendor: 14,705 bytes, line 121
121n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const vN={animation:{Feature:mN},exit:{Feature:yN}};function ps(e){return{point:{x:e.pageX,y:e.pageY}}}const xN=e=>t=>Kf(t)&&e(t,ps(t));function ko(e,t,n,r){return Jo(e,t,xN(n),r)}const e1=({current:e})=>e?e.ownerDocument.defaultView:null,ug=(e,t)=>Math.abs(e-t);function wN(e,t){const n=ug(e.x,t.x),r=ug(e.y,t.y);return Math.sqrt(n**2+r**2)}const cg=new Set(["auto","scroll"]);class t1{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=Au(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,g=wN(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!g)return;const{point:x}=h,{timestamp:p}=Ae;this.history.push({...x,timestamp:p});const{onStart:m,onMove:y}=this.handlers;v||(m&&m(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,h)},this.handlePointerMove=(h,v)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Ru(v,this.transformPagePoint),ie.update(this.updatePoint,!0)},this.handlePointerUp=(h,v)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:p}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Au(h.type==="pointercancel"?this.lastMoveEventInfo:Ru(v,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,m),x&&x(h,m)},!Kf(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;const l=ps(t),u=Ru(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Ae;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Au(u,this.history)),this.removeListeners=ds(ko(this.contextWindow,"pointermove",this.handlePointerMove),ko(this.contextWindow,"pointerup",this.handlePointerUp),ko(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(cg.has(r.overflowX)||cg.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:i.x-n.x,y:i.y-n.y};o.x===0&&o.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,i),ie.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ir(this.updatePoint)}}function Ru(e,t){return t?{point:t(e.point)}:e}function dg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Au({point:e},t){return{point:e,delta:dg(e,n1(t)),offset:dg(e,SN(t)),velocity:EN(t,.1)}}function SN(e){return e[0]}function n1(e){return e[e.length-1]}function EN(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=n1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>xt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>xt(t)*2&&(r=e[1]);const o=gt(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function TN(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?fe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?fe(n,e,r.max):Math.min(e,n)),e}function fg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function bN(e,{top:t,left:n,bottom:r,right:i}){return{x:fg(e.x,n,i),y:fg(e.y,t,r)}}function hg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function CN(e,t){return{x:hg(e.x,t.x),y:hg(e.y,t.y)}}function PN(e,t){let n=.5;const r=He(e),i=He(t);return i>r?n=Yo(t.min,t.max-r,e.min):r>i&&(n=Yo(e.min,e.max-i,t.min)),en(0,1,n)}function kN(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ud=.35;function RN(e=ud){return e===!1?e=0:e===!0&&(e=ud),{x:pg(e,"left","right"),y:pg(e,"top","bottom")}}function pg(e,t,n){return{min:mg(e,t),max:mg(e,n)}}function mg(e,t){return typeof e=="number"?e:e[t]||0}const AN=new WeakMap;class MN{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ee(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=d=>{n&&this.snapToCursor(ps(d).point),this.stopAnimation()},s=(d,f)=>{const{drag:h,dragPropagation:v,onDragStart:g}=this.getProps();if(h&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=i2(h),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ut(p=>{let m=this.getAxisMotionValue(p).get()||0;if(Zt.test(m)){const{projection:y}=this.visualElement;if(y&&y.layout){const E=y.layout.layoutBox[p];E&&(m=He(E)*(parseFloat(m)/100))}}this.originPoint[p]=m}),g&&ie.update(()=>g(d,f),!1,!0),td(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:v,onDirectionLock:g,onDrag:x}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:p}=f;if(v&&this.currentDirection===null){this.currentDirection=DN(p),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,p),this.updateAxis("y",f.point,p),this.visualElement.render(),x&&ie.update(()=>x(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new t1(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:e1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!r)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&ie.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ws(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=TN(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;t&&Gr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=bN(r.layoutBox,t):this.constraints=!1,this.elastic=RN(n),i!==this.constraints&&!Gr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Ut(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=kN(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Gr(t))return!1;const r=t.current;Fi(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=j2(r,i.root,this.visualElement.getTransformPagePoint());let s=CN(i.layout.layoutBox,o);if(n){const a=n(M2(s));this.hasMutatedConstraints=!!a,a&&(s=Tw(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Ut(c=>{if(!Ws(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=i?200:1e6,h=i?40:1e7,v={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return td(this.visualElement,t),r.start(Bf(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ut(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Ut(n=>{const{drag:r}=this.getProps();if(!Ws(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n],l=o.get()||0;o.set(t[n]-fe(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Gr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ut(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=PN({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ut(s=>{if(!Ws(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(fe(l,u,i[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;AN.set(this.visualElement,this);const t=this.visualElement.current,n=ko(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,h=f!==t&&c2(f);c&&d&&!h&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();Gr(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=NN(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,s=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ie.read(i);const a=Jo(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Ut(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=ud,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function gg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function NN(e,t,n){const r=Tm(e,gg(n)),i=Tm(t,gg(n));return()=>{r(),i()}}function Ws(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function DN(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class jN extends ur{constructor(t){super(t),this.removeGroupControls=vt,this.removeListeners=vt,this.controls=new MN(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Mu=e=>(t,n)=>{e&&ie.update(()=>e(t,n),!1,!0)};class LN extends ur{constructor(){super(...arguments),this.removePointerDownListener=vt}onPointerDown(t){this.session=new t1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:e1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Mu(t),onStart:Mu(n),onMove:Mu(r),onEnd:(o,s)=>{delete this.session,i&&ie.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=ko(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Nu=!1;class ON extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),Nu&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),fa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:s}=r;return s&&(s.isPresent=o,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),Nu=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==o?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||ie.postRender(()=>
vendor: 4,136 bytes, line 121
121{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Hf.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Nu=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function r1(e){const[t,n]=Hw(),r=w.useContext(bf);return S.jsx(ON,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(Zw),isPresent:t,safeToRemove:n})}const IN={pan:{Feature:LN},drag:{Feature:jN,ProjectionNode:Ww,MeasureLayout:r1}};function yg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&ie.postRender(()=>o(t,ps(t)))}class _N extends ur{mount(){const{current:t}=this.node;t&&(this.unmount=s2(t,(n,r)=>(yg(this.node,r,"Start"),i=>yg(this.node,i,"End"))))}unmount(){}}class FN extends ur{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ds(Jo(this.node.current,"focus",()=>this.onFocus()),Jo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function vg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&ie.postRender(()=>o(t,ps(t)))}class VN extends ur{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=f2(t,(i,o)=>(vg(this.node,o,"Start"),(s,{success:a})=>vg(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const cd=new WeakMap,Du=new WeakMap,zN=e=>{const t=cd.get(e.target);t&&t(e)},BN=e=>{e.forEach(zN)};function $N({root:e,...t}){const n=e||document;Du.has(n)||Du.set(n,{});const r=Du.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(BN,{root:e,...t})),r[i]}function UN(e,t,n){const r=$N(t);return cd.set(e,n),r.observe(e),()=>{cd.delete(e),r.unobserve(e)}}const WN={some:0,all:1};class HN extends ur{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:WN[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return UN(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(KN(t,n))&&this.startObserver()}unmount(){}}function KN({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const GN={inView:{Feature:HN},tap:{Feature:VN},focus:{Feature:FN},hover:{Feature:_N}},QN={layout:{ProjectionNode:Ww,MeasureLayout:r1}},YN={...vN,...GN,...IN,...QN},we=hN(YN,pN),th="/assets/logo-wXE2l1UE.png",XN=({isVisible:e})=>S.jsx($M,{children:e&&S.jsxs(we.div,{initial:{opacity:1},exit:{opacity:0},transition:{duration:.8,ease:[.25,.1,.25,1]},className:"fixed inset-0 z-[100] flex flex-col items-center justify-center bg-background",children:[S.jsx("div",{className:"absolute inset-0 starfield-bg opacity-40"}),S.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(circle at 50% 50%, hsl(var(--aurora) / 0.08) 0%, transparent 60%)"}}),S.jsx(we.div,{initial:{opacity:0,scale:.7}
121,animate:{opacity:1,scale:1},transition:{duration:.6,ease:[.25,.1,.25,1]},className:"relative z-10 mb-8",children:S.jsx("img",{src:th,alt:"Mission ShakthiSAT",className:"w-20 h-20 md:w-28 md:h-28 object-contain"})}),S.jsxs(we.h2,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,delay:.25},className:"relative z-10 font-display text-2xl md:text-4xl font-bold tracking-tight mb-3 text-foreground",children:["Mission ",S.jsx("span",{className:"text-gradient-gold",children:"ShakthiSAT"})]}),S.jsx(we.p,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.5,delay:.45},className:"relative z-10 text-sm md:text-base text-muted-foreground tracking-[0.2em] uppercase font-light",children:"Preparing for launch"}),S.jsx(we.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.6},className:"relative z-10 mt-8 w-48 md:w-64 h-[2px] bg-border rounded-full overflow-hidden",children:S.jsx(we.div,{initial:{x:"-100%"},animate:{x:"100%"},transition:{duration:1.2,repeat:1/0,ease:"easeInOut"},className:"absolute inset-0 bg-gradient-to-r from-transparent via-accent to-transparent"})})]},"preloader")}),qN=[{label:"Mission",href:"#mission",external:!1},{label:"Impact",href:"https://www.shakthisat.com",external:!0},{label:"Donate",href:"#donate",external:!1}],ZN=()=>{const[e,t]=w.useState(!1);return w.useEffect(()=>{const n=()=>t(window.scrollY>40);return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),S.jsx(we.header,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.5,ease:[.25,.1,.25,1]},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${e?"bg-background/90 backdrop-blur-md border-b border-border":"bg-transparent"}`,children:S.jsxs("div",{className:"section-container flex items-center justify-between h-16 md:h-20",children:[S.jsx("a",{href:"#",className:"flex items-center gap-3",children:S.jsx("img",{src:th,alt:"Mission ShakthiSAT",className:"h-10 md:h-12 w-auto"})}),S.jsxs("nav",{className:"hidden md:flex items-center gap-8",children:[qN.map(n=>S.jsx("a",{href:n.href,...n.external?{target:"_blank",rel:"noopener noreferrer"}:{},className:"text-sm text-muted-foreground hover:text-foreground transition-colors duration-300 tracking-wide uppercase font-medium",children:n.label},n.label)),S.jsx("a",{href:"#donate",className:"inline-flex items-center px-5 py-2 bg-accent text-accent-foreground text-sm font-semibold rounded-lg transition-all duration-300 hover:shadow-[0_0_20px_hsl(var(--accent)/0.3)] hover:scale-[1.02]",children:"Donate Now"})]}),S.jsx("a",{href:"#donate",className:"md:hidden inline-flex items-center px-4 py-2 bg-accent text-accent-foreground text-xs font-semibold rounded-lg",children:"Donate"})]})})},JN="/assets/hero-space-video-CcI3hMoo.mp4",eD=({onVideoReady:e})=>{const t=w.useRef(null);return w.useEffect(()=>{const n=t.current;if(!n)return;const r=()=>e==null?void 0:e();if(n.readyState>=3)r();else return n.addEventListener("canplay",r,{once:!0}),()=>n.removeEventListener("canplay",r)},[e]),S.jsxs("section",{className:"relative min-h-[100svh] flex items-center justify-center overflow-hidden",children:[S.jsxs("div",{className:"absolute inset-0",children:[S.jsx("video",{ref:t,src:JN,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",className:"w-full h-full object-cover"}),S.jsx("div",{className:"cinematic-overlay absolute inset-0"}),S.jsx("div",{className:"absolute inset-0 bg-background/40"})]}),S.jsxs("div",{className:"relative z-10 section-container text-center max-w-4xl py-24 md:py-32 px-4",children:[S.jsx(we.p,{initial:{opacity:0}
121,animate:{opacity:1},transition:{duration:.6},className:"text-starlight tracking-[0.2em] md:tracking-[0.3em] uppercase text-xs md:text-sm mb-6 md:mb-8 font-light",children:"A Global Space Initiative"}),S.jsxs(we.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.15},className:"font-display text-4xl sm:text-5xl md:text-7xl lg:text-8xl font-bold tracking-tight mb-4 md:mb-6",children:["Mission"," ",S.jsx("span",{className:"text-gradient-gold",children:"ShakthiSAT"})]}),S.jsxs(we.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"text-lg sm:text-xl md:text-2xl text-starlight font-light mb-4 md:mb-6 leading-relaxed",children:["Empowering 12,000 Girls from 108 Nations",S.jsx("br",{className:"hidden md:block"}),"Through Real-Time Satellite Projects."]}),S.jsx(we.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.45},className:"text-sm md:text-base text-muted-foreground max-w-2xl mx-auto mb-8 md:mb-12 leading-relaxed px-2",children:"A bold global journey to ignite curiosity, courage, and a lifelong passion for STEM and space exploration. United across continents, these future pioneers step into the world of satellites and discovery — shaping humanity's future among the stars."}),S.jsxs(we.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},className:"flex flex-col sm:flex-row gap-3 md:gap-4 justify-center",children:[S.jsx("a",{href:"#donate",className:"inline-flex items-center justify-center px-6 md:px-8 py-3 md:py-4 bg-accent text-accent-foreground font-semibold rounded-lg transition-all duration-300 hover:shadow-[0_0_30px_hsl(var(--gold)/0.3)] hover:scale-[1.02] text-sm md:text-base",children:"Donate to the Mission"}),S.jsx("a",{href:"https://www.shakthisat.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center px-6 md:px-8 py-3 md:py-4 border border-border text-foreground font-medium rounded-lg transition-all duration-300 hover:border-starlight hover:bg-secondary text-sm md:text-base",children:"Explore ShakthiSAT"})]})]}),S.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-background to-transparent"})]})},Ue=({children:e,className:t="",delay:n=0})=>S.jsx(we.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,delay:n,ease:[.25,.1,.25,1]},className:t,children:e}),tD="/assets/satellite-orbit-BAWwQ3kf.jpg",nD=()=>S.jsxs("section",{id:"mission",className:"py-32 bg-background",children:[S.jsx("div",{className:"section-container",children:S.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[S.jsxs(Ue,{children:[S.jsx("p",{className:"text-aurora tracking-[0.2em] uppercase text-xs mb-4 font-medium",children:"The Mission"}),S.jsxs("h2",{className:"font-display text-4xl md:text-5xl font-bold mb-8 leading-tight",children:["A Global Movement",S.jsx("br",{}),"Among the Stars"]}),S.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed",children:[S.jsx("p",{children:"ShakthiSAT is more than a satellite mission — it is a global movement."}),S.jsx("p",{children:"Across 108 nations, 12,000 young girls unite in real-time satellite projects, stepping into a world of innovation and collaboration."}),S.jsx("p",{children:"Together, we explore the cosmos, break barriers, and rise as the next generation of space leaders."})]})]}),S.jsx(Ue,{delay:.2,children:S.jsxs("div",{className:"relative rounded-xl overflow-hidden aspect-[4/3]",children:[S.jsx("img",{src:tD,alt:"Satellite in orbit above Earth",className:"w-full h-full object-cover",loading:"lazy"}),S.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/60 to-transparent"})]})})]})}),S.jsxs("div",{className:"section-container mt-32",children:[S.jsx("div",{className:"glow-divider mb-20"}),S.jsxs(Ue,{className:"max-w-3xl mx-auto text-center",children:[S.jsx("p",{className:"text-aurora tracking-[0.2em] uppercase text-xs mb-4 font-medium",children:"The Purpose"}),S.jsxs("h2",{className:"font-display text-4xl md:text-5xl font-bold mb-8 leading-tight",children:["More Than a Satellite.",S.jsx("br",{}),"A Shared Purpose."]}),S.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed",children:[S.jsx("p",{children:"ShakthiSAT builds bridges across cultures through STEM and space collaboration."}),S.jsx("p",{children:"It stands as a beacon of unity, reminding us that discovery becomes richer when humanity learns and reaches upward together."}),S.jsx("p",{className:"text-foreground font-light text-lg italic",children:"Space is not the privilege of a few — it is a frontier that belongs to all."})]})]})]})]}),rD="/assets/girls-stem-B1iLMmqI.jpg",iD=()=>S.jsxs(S.Fragment,{children:[S.jsxs("section",{className:"relative py-32 overflow-hidden",children:[S.jsxs("div",{className:"absolute inset-0",children:[S.jsx("img",{src:rD,alt:"Girls engaged in STEM and robotics",className:"w-full h-full object-cover",loading:"lazy"}),S.jsx("div",{className:"absolute inset-0 bg-background/85"})]}),S.jsx("div",{className:"relative z-10 section-container",children:S.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[S.jsxs(Ue,{children:[S.jsx("p",{className:"text-aurora tracking-[0.2em] uppercase text-xs mb-4 font-medium",children:"The Challenge"}),S.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mb-12 leading-tight",children:"Why Girls in Space?"})]}),S.jsx(Ue,{delay:.15,children:S.jsxs(we.div,{initial:{scale:.8,opacity:0}
121,whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.6,ease:[.25,.1,.25,1]},className:"mb-8",children:[S.jsx("span",{className:"font-display text-7xl md:text-9xl font-bold text-gradient-gold",children:"11%"}),S.jsx("p",{className:"text-starlight mt-4 text-lg",children:"Of all astronauts launched to space have been women."})]})}),S.jsx(Ue,{delay:.3,children:S.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed max-w-xl mx-auto",children:[S.jsx("p",{children:"The gender gap in space and STEM remains significant. ShakthiSAT ignites passion, nurtures leadership, and dismantles limits."}),S.jsx("p",{className:"text-foreground font-light text-lg italic",children:"We believe in equal access to infinity."})]})})]})})]}),S.jsx("section",{className:"py-32 midnight-gradient starfield-bg",children:S.jsx("div",{className:"section-container",children:S.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[S.jsxs(Ue,{children:[S.jsx("p",{className:"text-aurora tracking-[0.2em] uppercase text-xs mb-4 font-medium",children:"The Symbol"}),S.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mb-12 leading-tight",children:"Why 108 Countries?"})]}),S.jsx(Ue,{delay:.15,children:S.jsx(we.div,{initial:{scale:.8,opacity:0}
121,whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.6,ease:[.25,.1,.25,1]},className:"mb-12",children:S.jsx("span",{className:"font-display text-8xl md:text-[10rem] font-bold text-gradient-gold leading-none",children:"108"})})}),S.jsx(Ue,{delay:.3,children:S.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed max-w-xl mx-auto",children:[S.jsx("p",{children:"In space engineering, the ~108 ratio is a cosmic alignment phenomenon — both the Moon and Sun sit roughly 108 times their own diameters away from Earth, enabling total solar eclipses."}),S.jsx("p",{children:"This geometric harmony symbolizes global unity and cosmic precision."}),S.jsx("p",{className:"text-foreground font-light text-lg italic",children:"ShakthiSAT unites 108 nations under one sky."})]})})]})})})]}),oD=[{icon:UT,title:"Satellite Education Access",description:"Hands-on satellite engineering and mission design training for young women worldwide."},{icon:BT,title:"Global STEM Collaboration",description:"Cross-border teams working together on real-world space and technology projects."},{icon:WT,title:"Leadership Development",description:"Mentorship and skill-building programs designed to nurture the next generation of leaders."},{icon:$T,title:"International Unity",description:"Building lasting connections across 108 nations through shared purpose and discovery."}],sD=()=>S.jsx("section",{className:"py-32 bg-background",children:S.jsxs("div",{className:"section-container",children:[S.jsxs(Ue,{className:"text-center mb-20",children:[S.jsx("p",{className:"text-aurora tracking-[0.2em] uppercase text-xs mb-4 font-medium",children:"The Impact"}),S.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold leading-tight",children:"Creating Lasting Change"})]}),S.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-8",children:oD.map((e,t)=>S.jsx(Ue,{delay:t*.1,children:S.jsxs("div",{className:"p-8 rounded-xl bg-card border border-border hover:border-aurora/30 transition-all duration-500 h-full group",children:[S.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center mb-6 group-hover:bg-primary/20 transition-colors duration-500",children:S.jsx(e.icon,{className:"w-6 h-6 text-aurora"})}),S.jsx("h3",{className:"font-display text-lg font-semibold mb-3",children:e.title}),S.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e.description})]})},e.title))})]})}),Hs=[{amount:"₹1,000",value:1e3,label:"Provide STEM kits for 5 students"},{amount:"₹5,000",value:5e3,label:"Fund satellite training for a school"},{amount:"₹10,000",value:1e4,label:"Sponsor a future space leader's journey"}],aD=[{amount:"$25",label:"Enable STEM access for a young innovator"},{amount:"$100",label:"Support satellite education for a classroom"},{amount:"$250",label:"Champion a girl's path to space science"}],lD=()=>{const[e,t]=w.useState("india"),[n,r]=w.useState(1),[i,o]=w.useState(""),s=()=>{let u;if(i?u=parseFloat(i):n>=0&&n<Hs.length?u=Hs[n].value:u=Hs[0].value,!u||u<=0||isNaN(u)){alert("Please enter a valid donation amount");return}const c=`https://pages.razorpay.com/pl_SJgBlR0rJkwotY/view?amount=${u}`;window.location.href=c},a=()=>{window.open("https://buy.stripe.com/fZu7sE8Hu556f7YdFi9bO01","_blank")},l=u=>{t(u),r(1),o("")};return S.jsx("section",{id:"donate",className:"py-32 midnight-gradient starfield-bg relative",children:S.jsxs("div",{className:"section-container",children:[S.jsxs(Ue,{className:"text-center mb-16",children:[S.jsx("p",{className:"text-aurora tracking-[0.2em] uppercase text-xs mb-4 font-medium",children:"Support the Mission"}),S.jsxs("h2",{className:"font-display text-4xl md:text-5xl font-bold mb-6 leading-tight",children:["Your Generosity Powers",S.jsx("br",{}),"a Global Movement."]}),S.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:"Every contribution fuels satellite education, hands-on STEM training, and mentorship for 12,000 girls across 108 nations — shaping the next generation of space scientists, engineers, and innovators."})]}),S.jsxs(Ue,{delay:.15,className:"max-w-2xl mx-auto",children:[S.jsxs("div",{className:"flex rounded-xl border border-border overflow-hidden mb-8",children:[S.jsx("button",{onClick:()=>l("india"),className:`flex-1 py-4 text-sm font-semibold tracking-wide transition-all duration-300 ${e==="india"?"bg-accent text-accent-foreground":"bg-card text-muted-foreground hover:text-foreground"}`,children:"🇮🇳 Donate from India (INR)"}),S.jsx("button",{onClick:()=>l("international"),className:`flex-1 py-4 text-sm font-semibold tracking-wide transition-all duration-300 ${e==="international"?"bg-accent text-accent-foreground":"bg-card text-muted-foreground hover:text-foreground"}`,children:"🌍 International Donors (USD)"})]}),e==="india"?S.jsxs(S.Fragment,{children:[S.jsx("p",{className:"text-muted-foreground text-sm mb-6 text-center",children:"Contributions from Indian donors are processed in INR via Razorpay. Tax exemption receipts under Section 80G available upon request."}),S.jsxs("div",{className:"space-y-4 mb-8",children:[Hs.map((u,c)=>S.jsxs(we.button,{whileHover:{scale:1.01},whileTap:{scale:.99},onClick:()=>{r(c),o("")},className:`w-full flex items-center justify-between p-5 rounded-xl border transition-all duration-300 text-left ${n===c&&!i?"border-accent bg-accent/5 shadow-[0_0_20px_hsl(var(--gold)/0.1)]":"border-border bg-card hover:border-muted-foreground
121/30"}`,children:[S.jsx("span",{className:"font-display text-xl font-semibold",children:u.amount}),S.jsx("span",{className:"text-muted-foreground text-sm",children:u.label})]},u.amount)),S.jsxs("div",{className:`flex items-center p-5 rounded-xl border transition-all duration-300 ${i?"border-accent bg-accent/5 shadow-[0_0_20px_hsl(var(--gold)/0.1)]":"border-border bg-card"}`,children:[S.jsx("span",{className:"text-muted-foreground mr-3 font-display text-xl",children:"₹"}),S.jsx("input",{type:"number",placeholder:"Enter custom amount",value:i,onChange:u=>{o(u.target.value),r(-1)},className:"bg-transparent border-none outline-none text-foreground font-display text-xl w-full placeholder:text-muted-foreground/50"})]})]}),S.jsx(we.button,{whileHover:{scale:1.02,boxShadow:"0 0 40px hsl(43 72% 52% / 0.3)"},whileTap:{scale:.98},onClick:s,className:"w-full py-5 bg-accent text-accent-foreground font-bold text-lg rounded-xl transition-all duration-300",children:"Donate Now (INR)"})]}):S.jsxs(S.Fragment,{children:[S.jsx("p",{className:"text-muted-foreground text-sm mb-6 text-center",children:"International contributions are processed securely in USD via Stripe. Your support transcends borders and empowers girls worldwide to reach for the stars."}),S.jsx("div",{className:"space-y-4 mb-8",children:aD.map((u,c)=>S.jsxs(we.div,{whileHover:{scale:1.01},className:"w-full flex items-center justify-between p-5 rounded-xl border border-border bg-card text-left",children:[S.jsx("span",{className:"font-display text-xl font-semibold",children:u.amount}),S.jsx("span",{className:"text-muted-foreground text-sm",children:u.label})]},u.amount))}),S.jsx(we.button,{whileHover:{scale:1.02,boxShadow:"0 0 40px hsl(43 72% 52% / 0.3)"},whileTap:{scale:.98},onClick:a,className:"w-full py-5 bg-accent text-accent-foreground font-bold text-lg rounded-xl transition-all duration-300",children:"Donate Now (USD)"})]}),S.jsx("p",{className:"text-center text-muted-foreground/60 text-xs mt-6",children:"Indian donations are processed securely via Razorpay. International donations are processed via Stripe. For queries, reach out to us at [email protected]."})]})]})})},uD=()=>S.jsxs("section",{className:"py-32 bg-background relative overflow-hidden",children:[S.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-[0.03]",children:S.jsxs("svg",{viewBox:"0 0 1000 500",className:"w-full max-w-5xl",fill:"none",stroke:"currentColor",strokeWidth:"0.5",children:[S.jsx("ellipse",{cx:"500",cy:"250",rx:"480",ry:"230"}),S.jsx("path",{d:"M20,250 Q250,100 500,250 Q750,400 980,250"}),S.jsx("path",{d:"M20,250 Q250,400 500,250 Q750,100 980,250"}),S.jsx("line",{x1:"500",y1:"20",x2:"500",y2:"480"}),S.jsx("line",{x1:"20",y1:"250",x2:"980",y2:"250"}),S.jsx("ellipse",{cx:"500",cy:"250",rx:"240",ry:"230"}),S.jsx("ellipse",{cx:"500",cy:"250",rx:"120",ry:"230"})]})}),S.jsx("div",{className:"relative z-10 section-container text-center max-w-3xl mx-auto",children:S.jsxs(Ue,{children:[S.jsxs("h2",{className:"font-display text-4xl md:text-6xl font-bold mb-6 leading-tight",children:["108 Nations.",S.jsx("br",{}),S.jsx("span",{className:"text-gradient-gold",children:"One Shared Sky."})]}),S.jsx("p",{className:"text-muted-foreground leading-relaxed max-w-xl mx-auto text-lg",children:"From every continent, young women are connected by a shared vision — to learn, to innovate, and to reach beyond every boundary humanity has ever known."})]})})]}),cD=()=>S.jsx("section",{className:"py-32 midnight-gradient starfield-bg",children:S.jsx("div",{className:"section-container text-center max-w-3xl mx-auto",children:S.jsxs(Ue,{children:[S.jsx("div",{className:"gold-glow-divider mb-16 max-w-xs mx-auto"}),S.jsxs("h2",{className:"font-display text-4xl md:text-5xl font-bold mb-8 leading-tight",children:["Be Part of a Mission That",S.jsx("br",{}),"Reaches Beyond Earth."]}),S.jsx(we.a,{href:"#donate",whileHover:{scale:1.02,boxShadow:"0 0 40px hsl(43 72% 52% / 0.3)"},whileTap:{scale:.98},className:"inline-flex items-center justify-center px-10 py-5 bg-accent text-accent-foreground font-bold text-lg rounded-xl transition-all duration-300",children:"Contribute to Mission ShakthiSAT"})]})})}),dD=()=>S.jsx("footer",{className:"py-16 bg-background border-t border-border",children:S.jsx("div",{className:"section-container",children:S.jsxs("div",{className:"flex flex-col items-center text-center",children:[S.jsx("img",{src:th,alt:"Mission ShakthiSAT",className:"h-14 w-auto mb-6 opacity-80"}),S.jsx("p",{className:"text-muted-foreground text-sm mb-2",children:"Empowering 12,000 Girls. 108 Nations. One Shared Sky."}),S.jsxs("div",{className:"flex gap-6 mt-6 mb-8",children:[S.jsx("a",{href:"#mission",className:"text-muted-foreground hover:text-foreground text-xs uppercase tracking-wider transition-colors",children:"Mission"}),S.jsx("a",{href:"https://www.shakthisat.com",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-foreground text-xs uppercase tracking-wider transition-colors",children:"Impact"}),S.jsx("a",{href:"#donate",className:"text-muted-foreground hover:text-foreground text-xs uppercase tracking-wider transition-colors",children:"Donate"})]}),S.jsx("div",{className:"glow-divider max-w-xs mx-auto mb-6"}
121),S.jsxs("p",{className:"text-muted-foreground/50 text-xs",children:["© ",new Date().getFullYear()," Mission ShakthiSAT. All rights reserved."]})]})})}),fD=2200,hD=()=>{const[e,t]=w.useState(!0),n=w.useCallback(()=>{const r=performance.now(),i=Math.max(0,fD-r);setTimeout(()=>t(!1),i)},[]);return S.jsxs(S.Fragment,{children:[S.jsx(XN,{isVisible:e}),S.jsxs("main",{children:[S.jsx(ZN,{}),S.jsx(eD,{onVideoReady:n}),S.jsx(nD,{}),S.jsx(iD,{}),S.jsx(sD,{}),S.jsx(lD,{}),S.jsx(uD,{}),S.jsx(cD,{}),S.jsx(dD,{})]})]})},pD=()=>{const e=xx();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"})]})})},mD=new pk,gD=()=>S.jsx(gk,{client:mD,children:S.jsxs(WP,{children:[S.jsx(kb,{}),S.jsx(oC,{}),S.jsx(tR,{children:S.jsxs(Zk,{children:[S.jsx(zc,{path:"/",element:S.jsx(hD,{})}),S.jsx(zc,{path:"*",element:S.jsx(pD,{})})]})})]})});$v(document.getElementById("root")).render(S.jsx(gD,{}));

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.