PageSourceSearch

https://delandenexus.lovable.app/assets/index-DhYFfmtt.js

js delandenexus.lovable.app collected 2026-10-03 03:25:17 UTC 490,466 bytes, 222 lines download raw bytes

vendor: 6,442 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Contact-Cfw-GbTD.js","assets/types-4og3oiYD.js","assets/Membership-C-4SXiT2.js"])))=>i.map(i=>d[i]);
2var dS=Object.defineProperty;var Vh=e=>{throw TypeError(e)};var fS=(e,t,n)=>t in e?dS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var sn=(e,t,n)=>fS(e,typeof t!="symbol"?t+"":t,n),ru=(e,t,n)=>t.has(e)||Vh("Cannot "+n);var A=(e,t,n)=>(ru(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Vh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(ru(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Le=(e,t,n)=>(ru(e,t,"access private method"),n);var Vs=(e,t,n,r)=>({set _(i){H(e,t,i,n)},get _(){return A(e,t,r)}});function hS(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 ws(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fy={exports:{}},wl={},hy={exports:{}},q={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Ss=Symbol.for("react.element"),pS=Symbol.for("react.portal"),mS=Symbol.for("react.fragment"),gS=Symbol.for("react.strict_mode"),yS=Symbol.for("react.profiler"),vS=Symbol.for("react.provider"),xS=Symbol.for("react.context"),wS=Symbol.for("react.forward_ref"),SS=Symbol.for("react.suspense"),bS=Symbol.for("react.memo"),TS=Symbol.for("react.lazy"),Fh=Symbol.iterator;function CS(e){return e===null||typeof e!="object"?null:(e=Fh&&e[Fh]||e["@@iterator"],typeof e=="function"?e:null)}var py={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},my=Object.assign,gy={};function qi(e,t,n){this.props=e,this.context=t,this.refs=gy,this.updater=n||py}qi.prototype.isReactComponent={};qi.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")};qi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function yy(){}yy.prototype=qi.prototype;function zd(e,t,n){this.props=e,this.context=t,this.refs=gy,this.updater=n||py}var $d=zd.prototype=new yy;$d.constructor=zd;my($d,qi.prototype);$d.isPureReactComponent=!0;var zh=Array.isArray,vy=Object.prototype.hasOwnProperty,Bd={current:null},xy={key:!0,ref:!0,__self:!0,__source:!0};function wy(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)vy.call(t,r)&&!xy.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:Ss,type:e,key:o,ref:s,props:i,_owner:Bd.current}}function ES(e,t){return{$$typeof:Ss,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ud(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ss}function PS(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var $h=/\/+/g;function iu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?PS(""+e.key):t.toString(36)}function fa(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 Ss:case pS:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+iu(s,0):r,zh(i)?(n="",e!=null&&(n=e.replace($h,"$&/")+"/"),fa(i,t,n,"",function(u){return u})):i!=null&&(Ud(i)&&(i=ES(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace($h,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",zh(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+iu(o,a);s+=fa(o,t,n,l,i)}else if(l=CS(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+iu(o,a++),s+=fa(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 Fs(e,t,n){if(e==null)return e;var r=[],i=0;return fa(e,r,"","",function(o){return t.call(n,o,i++)}),r}function kS(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 Ye={current:null},ha={transition:null},AS={ReactCurrentDispatcher:Ye,ReactCurrentBatchConfig:ha,ReactCurrentOwner:Bd};function Sy(){throw Error("act(...) is not supported in production builds of React.")}q.Children={map:Fs,forEach:function(e,t,n){Fs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Fs(e,function(){t++}),t},toArray:function(e){return Fs(e,function(t){return t})||[]},only:function(e){if(!Ud(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=qi;q.Fragment=mS;q.Profiler=yS;q.PureComponent=zd;q.StrictMode=gS;q.Suspense=SS;
vendor: 5,027 bytes, lines 10-26
10q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=AS;q.act=Sy;q.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=my({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Bd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)vy.call(t,l)&&!xy.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:Ss,type:e.type,key:i,ref:o,props:r,_owner:s}};q.createContext=function(e){return e={$$typeof:xS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:vS,_context:e},e.Consumer=e};q.createElement=wy;q.createFactory=function(e){var t=wy.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:wS,render:e}};q.isValidElement=Ud;q.lazy=function(e){return{$$typeof:TS,_payload:{_status:-1,_result:e},_init:kS}};q.memo=function(e,t){return{$$typeof:bS,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=ha.transition;ha.transition={};try{e()}finally{ha.transition=t}};q.unstable_act=Sy;q.useCallback=function(e,t){return Ye.current.useCallback(e,t)};q.useContext=function(e){return Ye.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return Ye.current.useDeferredValue(e)};q.useEffect=function(e,t){return Ye.current.useEffect(e,t)};q.useId=function(){return Ye.current.useId()};q.useImperativeHandle=function(e,t,n){return Ye.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return Ye.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return Ye.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return Ye.current.useMemo(e,t)};q.useReducer=function(e,t,n){return Ye.current.useReducer(e,t,n)};q.useRef=function(e){return Ye.current.useRef(e)};q.useState=function(e){return Ye.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return Ye.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return Ye.current.useTransition()};q.version="18.3.1";hy.exports=q;var v=hy.exports;const M=ws(v),by=hS({__proto__:null,default:M},[v]);/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var RS=v,MS=Symbol.for("react.element"),NS=Symbol.for("react.fragment"),jS=Object.prototype.hasOwnProperty,OS=RS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,DS={key:!0,ref:!0,__self:!0,__source:!0};function Ty(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)jS.call(t,r)&&!DS.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:MS,type:e,key:o,ref:s,props:i,_owner:OS.current}}wl.Fragment=NS;wl.jsx=Ty;wl.jsxs=Ty;fy.exports=wl;var x=fy.exports,Cy={exports:{}},ut={},Ey={exports:{}},Py={};/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */(function(e){function t(k,R){var L=k.length;k.push(R);e:for(;0<L;){var U=L-1>>>1,$=k[U];if(0<i($,R))k[U]=R,k[L]=$,L=U;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var R=k[0],L=k.pop();if(L!==R){k[0]=L;e:for(var U=0,$=k.length,Q=$>>>1;U<Q;){var X=2*(U+1)-1,we=k[X],De=X+1,ee=k[De];if(0>i(we,L))De<$&&0>i(ee,we)?(k[U]=ee,k[De]=L,U=De):(k[U]=we,k[X]=L,U=X);else if(De<$&&0>i(ee,L))k[U]=ee,k[De]=L,U=De;else break e}}return R}function i(k,R){var L=k.sortIndex-R.sortIndex;return L!==0?L:k.id-R.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,w=!1,g=!1,S=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(k){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=k)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function b(k){if(g=!1,y(k),!w)if(n(l)!==null)w=!0,B(T);else{var R=n(u);R!==null&&F(b,R.startTime-k)}}function T(k,R){w=!1,g&&(g=!1,m(P),P=-1),h=!0;var L=f;try{for(y(R),d=n(l);d!==null&&(!(d.expirationTime>R)||k&&!z());){var U=d.callback;
vendor: 1,959 bytes, line 26
26if(typeof U=="function"){d.callback=null,f=d.priorityLevel;var $=U(d.expirationTime<=R);R=e.unstable_now(),typeof $=="function"?d.callback=$:d===n(l)&&r(l),y(R)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var X=n(u);X!==null&&F(b,X.startTime-R),Q=!1}return Q}finally{d=null,f=L,h=!1}}var C=!1,E=null,P=-1,N=5,j=-1;function z(){return!(e.unstable_now()-j<N)}function I(){if(E!==null){var k=e.unstable_now();j=k;var R=!0;try{R=E(!0,k)}finally{R?G():(C=!1,E=null)}}else C=!1}var G;if(typeof p=="function")G=function(){p(I)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,Y=D.port2;D.port1.onmessage=I,G=function(){Y.postMessage(null)}}else G=function(){S(I,0)};function B(k){E=k,C||(C=!0,G())}function F(k,R){P=S(function(){k(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){w||h||(w=!0,B(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"):N=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 R=3;break;default:R=f}var L=f;f=R;try{return k()}finally{f=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,R){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var L=f;f=k;try{return R()}finally{f=L}},e.unstable_scheduleCallback=function(k,R,L){var U=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?U+L:U):L=U,k){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}
vendor: 4,614 bytes, lines 26-34
26return $=L+$,k={id:c++,callback:R,priorityLevel:k,startTime:L,expirationTime:$,sortIndex:-1},L>U?(k.sortIndex=L,t(u,k),n(l)===null&&k===n(u)&&(g?(m(P),P=-1):g=!0,F(b,L-U))):(k.sortIndex=$,t(l,k),w||h||(w=!0,B(T))),k},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(k){var R=f;return function(){var L=f;f=R;try{return k.apply(this,arguments)}finally{f=L}}}})(Py);Ey.exports=Py;var LS=Ey.exports;/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var IS=v,lt=LS;function O(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 ky=new Set,Uo={};function Hr(e,t){Fi(e,t),Fi(e+"Capture",t)}function Fi(e,t){for(Uo[e]=t,e=0;e<t.length;e++)ky.add(t[e])}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sc=Object.prototype.hasOwnProperty,_S=/^[: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]*$/,Bh={},Uh={};function VS(e){return sc.call(Uh,e)?!0:sc.call(Bh,e)?!1:_S.test(e)?Uh[e]=!0:(Bh[e]=!0,!1)}function FS(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 zS(e,t,n,r){if(t===null||typeof t>"u"||FS(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 Oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Oe[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];Oe[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Oe[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Oe[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){Oe[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Oe[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Oe[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Oe[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Oe[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wd=/[\-:]([a-z])/g;function Hd(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
34-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(Wd,Hd);Oe[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(Wd,Hd);Oe[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(Wd,Hd);Oe[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Oe[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Oe.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Oe[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Kd(e,t,n,r){var i=Oe.hasOwnProperty(t)?Oe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(zS(t,n,i,r)&&(n=null),r||i===null?VS(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 Cn=IS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,zs=Symbol.for("react.element"),ii=Symbol.for("react.portal"),oi=Symbol.for("react.fragment"),Gd=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),Ay=Symbol.for("react.provider"),Ry=Symbol.for("react.context"),Yd=Symbol.for("react.forward_ref"),lc=Symbol.for("react.suspense"),uc=Symbol.for("react.suspense_list"),Qd=Symbol.for("react.memo"),In=Symbol.for("react.lazy"),My=Symbol.for("react.offscreen"),Wh=Symbol.iterator;function uo(e){return e===null||typeof e!="object"?null:(e=Wh&&e[Wh]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,ou;function To(e){if(ou===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ou=t&&t[1]||""}return`
35`+ou+e}var su=!1;function au(e,t){if(!e||su)return"";su=!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(`
36`),o=r.stack.split(`
37`),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=`
38`+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{su=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?To(e):""}function $S(e){switch(e.tag){case 5:return To(e.type);case 16:return To("Lazy");case 13:return To("Suspense");case 19:return To("SuspenseList");case 0:case 2:case 15:return e=au(e.type,!1),e;case 11:return e=au(e.type.render,!1),e;case 1:return e=au(e.type,!0),e;default:return""}}function cc(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 oi:return"Fragment";case ii:return"Portal";case ac:return"Profiler";case Gd:return"StrictMode";case lc:return"Suspense";case uc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ry:return(e.displayName||"Context")+".Consumer";case Ay:return(e._context.displayName||"Context")+".Provider";case Yd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Qd:return t=e.displayName||null,t!==null?t:cc(e.type)||"Memo";case In:t=e._payload,e=e._init;try{return cc(e(t))}catch{}}return null}function BS(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 cc(t);case 8:return t===Gd?"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 ir(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ny(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function US(e){var t=Ny(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 $s(e){e._valueTracker||(e._valueTracker=US(e))}function jy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ny(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function La(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 dc(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Hh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ir(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}}
vendor: 4,651 bytes, line 38
38function Oy(e,t){t=t.checked,t!=null&&Kd(e,"checked",t,!1)}function fc(e,t){Oy(e,t);var n=ir(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")?hc(e,t.type,n):t.hasOwnProperty("defaultValue")&&hc(e,t.type,ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Kh(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 hc(e,t,n){(t!=="number"||La(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Co=Array.isArray;function wi(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=""+ir(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 pc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(O(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Gh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(O(92));if(Co(n)){if(1<n.length)throw Error(O(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ir(n)}}function Dy(e,t){var n=ir(t.value),r=ir(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 Yh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ly(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 mc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ly(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Bs,Iy=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(Bs=Bs||document.createElement("div"),Bs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Bs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ro={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},WS=["Webkit","ms","Moz","O"];Object.keys(Ro).forEach(function(e){WS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ro[t]=Ro[e]})});function _y(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ro.hasOwnProperty(e)&&Ro[e]?(""+t).trim():t+"px"}function Vy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=_y(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var HS=me({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 gc(e,t){if(t){if(HS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function yc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
38ing";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 vc=null;function qd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xc=null,Si=null,bi=null;function Qh(e){if(e=Cs(e)){if(typeof xc!="function")throw Error(O(280));var t=e.stateNode;t&&(t=El(t),xc(e.stateNode,e.type,t))}}function Fy(e){Si?bi?bi.push(e):bi=[e]:Si=e}function zy(){if(Si){var e=Si,t=bi;if(bi=Si=null,Qh(e),t)for(e=0;e<t.length;e++)Qh(t[e])}}function $y(e,t){return e(t)}function By(){}var lu=!1;function Uy(e,t,n){if(lu)return e(t,n);lu=!0;try{return $y(e,t,n)}finally{lu=!1,(Si!==null||bi!==null)&&(By(),zy())}}function Ho(e,t){var n=e.stateNode;if(n===null)return null;var r=El(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(O(231,t,typeof n));return n}var wc=!1;if(yn)try{var co={};Object.defineProperty(co,"passive",{get:function(){wc=!0}}),window.addEventListener("test",co,co),window.removeEventListener("test",co,co)}catch{wc=!1}function KS(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,Ia=null,_a=!1,Sc=null,GS={onError:function(e){Mo=!0,Ia=e}};function YS(e,t,n,r,i,o,s,a,l){Mo=!1,Ia=null,KS.apply(GS,arguments)}function QS(e,t,n,r,i,o,s,a,l){if(YS.apply(this,arguments),Mo){if(Mo){var u=Ia;Mo=!1,Ia=null}else throw Error(O(198));_a||(_a=!0,Sc=u)}}function Kr(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 Wy(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 qh(e){if(Kr(e)!==e)throw Error(O(188))}function qS(e){var t=e.alternate;if(!t){if(t=Kr(e),t===null)throw Error(O(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 qh(i),e;if(o===r)return qh(i),t;o=o.sibling}throw Error(O(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(O(189))}}if(n.alternate!==r)throw Error(O(190))}if(n.tag!==3)throw Error(O(188));return n.stateNode.current===n?e:t}function Hy(e){return e=qS(e),e!==null?Ky(e):null}function Ky(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ky(e);if(t!==null)return t;e=e.sibling}return null}var Gy=lt.unstable_scheduleCallback,Xh=lt.unstable_cancelCallback,XS=lt.unstable_shouldYield,ZS=lt.unstable_requestPaint,xe=lt.unstable_now,JS=lt.unstable_getCurrentPriorityLevel,Xd=lt.unstable_ImmediatePriority,Yy=lt.unstable_UserBlockingPriority,Va=lt.unstable_NormalPriority,eb=lt.unstable_LowPriority,Qy=lt.unstable_IdlePriority,Sl=null,qt=null;function tb(e){if(qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(Sl,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:ib,nb=Math.log,rb=Math.LN2;function ib(e){return e>>>=0,e===0?32:31-(nb(e)/rb|0)|0}var Us=64,Ws=4194304;function Eo(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 Fa(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=Eo(a):(o&=s,o!==0&&(r=Eo(o)))}else s=n&~i,s!==0?r=Eo(s):o!==0&&(r=Eo(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-_t(t),i=1<<n,r|=e[n],t&=~i;return r}function ob(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}}
vendor: 2,940 bytes, line 38
38function sb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-_t(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=ob(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function bc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qy(){var e=Us;return Us<<=1,!(Us&4194240)&&(Us=64),e}function uu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function ab(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-_t(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Zd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var te=0;function Xy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Zy,Jd,Jy,ev,tv,Tc=!1,Hs=[],Qn=null,qn=null,Xn=null,Ko=new Map,Go=new Map,Vn=[],lb="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 Zh(e,t){switch(e){case"focusin":case"focusout":Qn=null;break;case"dragenter":case"dragleave":qn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":Ko.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Go.delete(t.pointerId)}}function fo(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=Cs(t),t!==null&&Jd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ub(e,t,n,r,i){switch(t){case"focusin":return Qn=fo(Qn,e,t,n,r,i),!0;case"dragenter":return qn=fo(qn,e,t,n,r,i),!0;case"mouseover":return Xn=fo(Xn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ko.set(o,fo(Ko.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Go.set(o,fo(Go.get(o)||null,e,t,n,r,i)),!0}return!1}function nv(e){var t=Cr(e.target);if(t!==null){var n=Kr(t);if(n!==null){if(t=n.tag,t===13){if(t=Wy(n),t!==null){e.blockedOn=t,tv(e.priority,function(){Jy(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 pa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Cc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);vc=r,n.target.dispatchEvent(r),vc=null}else return t=Cs(n),t!==null&&Jd(t),e.blockedOn=n,!1;t.shift()}return!0}function Jh(e,t,n){pa(e)&&n.delete(t)}
vendor: 10,683 bytes, line 38
38function cb(){Tc=!1,Qn!==null&&pa(Qn)&&(Qn=null),qn!==null&&pa(qn)&&(qn=null),Xn!==null&&pa(Xn)&&(Xn=null),Ko.forEach(Jh),Go.forEach(Jh)}function ho(e,t){e.blockedOn===t&&(e.blockedOn=null,Tc||(Tc=!0,lt.unstable_scheduleCallback(lt.unstable_NormalPriority,cb)))}function Yo(e){function t(i){return ho(i,e)}if(0<Hs.length){ho(Hs[0],e);for(var n=1;n<Hs.length;n++){var r=Hs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Qn!==null&&ho(Qn,e),qn!==null&&ho(qn,e),Xn!==null&&ho(Xn,e),Ko.forEach(t),Go.forEach(t),n=0;n<Vn.length;n++)r=Vn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Vn.length&&(n=Vn[0],n.blockedOn===null);)nv(n),n.blockedOn===null&&Vn.shift()}var Ti=Cn.ReactCurrentBatchConfig,za=!0;function db(e,t,n,r){var i=te,o=Ti.transition;Ti.transition=null;try{te=1,ef(e,t,n,r)}finally{te=i,Ti.transition=o}}function fb(e,t,n,r){var i=te,o=Ti.transition;Ti.transition=null;try{te=4,ef(e,t,n,r)}finally{te=i,Ti.transition=o}}function ef(e,t,n,r){if(za){var i=Cc(e,t,n,r);if(i===null)xu(e,t,r,$a,n),Zh(e,r);else if(ub(i,e,t,n,r))r.stopPropagation();else if(Zh(e,r),t&4&&-1<lb.indexOf(e)){for(;i!==null;){var o=Cs(i);if(o!==null&&Zy(o),o=Cc(e,t,n,r),o===null&&xu(e,t,r,$a,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else xu(e,t,r,null,n)}}var $a=null;function Cc(e,t,n,r){if($a=null,e=qd(r),e=Cr(e),e!==null)if(t=Kr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Wy(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 $a=e,null}function rv(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(JS()){case Xd:return 1;case Yy:return 4;case Va:case eb:return 16;case Qy:return 536870912;default:return 16}default:return 16}}var Hn=null,tf=null,ma=null;function iv(){if(ma)return ma;var e,t=tf,n=t.length,r,i="value"in Hn?Hn.value:Hn.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 ma=i.slice(e,1<r?1-r:void 0)}function ga(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 Ks(){return!0}function ep(){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)?Ks:ep,this.isPropagationStopped=ep,this}return me(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=Ks)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ks)},persist:function(){},isPersistent:Ks}),t}var Xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nf=ct(Xi),Ts=me({},Xi,{view:0,detail:0}),hb=ct(Ts),cu,du,po,bl=me({},Ts,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rf,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!==po&&(po&&e.type==="mousemove"?(cu=e.screenX-po.screenX,du=e.screenY-po.screenY):du=cu=0,po=e),cu)},movementY:function(e){return"movementY"in e?e.movementY:du}}),tp=ct(bl),pb=me({},bl,{dataTransfer:0}),mb=ct(pb),gb=me({},Ts,{relatedTarget:0}),fu=ct(gb),yb=me({},Xi,{animationName:0,elapsedTime:0,pseudoElement:0}),vb=ct(yb),xb=me({},Xi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wb=ct(xb),Sb=me({},Xi,{data:0}),np=ct(Sb),bb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tb={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"},Cb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Eb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Cb[e])?!!t[e]:!1}function rf(){return Eb}var Pb=me({},Ts,{key:function(e){if(e.key){var t=bb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ga(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Tb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rf,charCode:function(e){return e.type==="keypress"?ga(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ga(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kb=ct(Pb),Ab=me({},bl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rp=ct(Ab),Rb=me({},Ts,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rf}),Mb=ct(Rb),Nb=me({},Xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),jb=ct(Nb),Ob=me({},bl,{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}),Db=ct(Ob),Lb=[9,13,27,32],of=yn&&"CompositionEvent"in window,No=null;yn&&"documentMode"in document&&(No=document.documentMode);var Ib=yn&&"TextEvent"in window&&!No,ov=yn&&(!of||No&&8<No&&11>=No),ip=" ",op=!1;function sv(e,t){switch(e){case"keyup":return Lb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function av(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var si=!1;function _b(e,t){switch(e){case"compositionend":return av(t);case"keypress":return t.which!==32?null:(op=!0,ip);case"textInput":return e=t.data,e===ip&&op?null:e;default:return null}}function Vb(e,t){if(si)return e==="compositionend"||!of&&sv(e,t)?(e=iv(),ma=tf=Hn=null,si=!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 ov&&t.locale!=="ko"?null:t.data;default:return null}}var Fb={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 sp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Fb[e.type]:t==="textarea"}function lv(e,t,n,r){Fy(r),t=Ba(t,"onChange"),0<t.length&&(n=new nf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var jo=null,Qo=null;function zb(e){xv(e,0)}function Tl(e){var t=ui(e);if(jy(t))return e}function $b(e,t){if(e==="change")return t}var uv=!1;if(yn){var hu;if(yn){var pu="oninput"in document;if(!pu){var ap=document.createElement("div");ap.setAttribute("oninput","return;"),pu=typeof ap.oninput=="function"}hu=pu}else hu=!1;uv=hu&&(!document.documentMode||9<document.documentMode)}function lp(){jo&&(jo.detachEvent("onpropertychange",cv),Qo=jo=null)}function cv(e){if(e.propertyName==="value"&&Tl(Qo)){var t=[];lv(t,Qo,e,qd(e)),Uy(zb,t)}}function Bb(e,t,n){e==="focusin"?(lp(),jo=t,Qo=n,jo.attachEvent("onpropertychange",cv)):e==="focusout"&&lp()}function Ub(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Tl(Qo)}function Wb(e,t){if(e==="click")return Tl(t)}function Hb(e,t){if(e==="input"||e==="change")return Tl(t)}function Kb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ft=typeof Object.is=="function"?Object.is:Kb;function qo(e,t){if(Ft(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(!sc.call(t,i)||!Ft(e[i],t[i]))return!1}return!0}function up(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cp(e,t){var n=up(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=up(n)}}function dv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fv(){for(var e=window,t=La();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=La(e.document)}return t}function sf(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 Gb(e){var t=fv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dv(n.ownerDocument.documentElement,n)){if(r!==null&&sf(n)){if
vendor: 5,775 bytes, line 38
38(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=cp(n,o);var s=cp(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 Yb=yn&&"documentMode"in document&&11>=document.documentMode,ai=null,Ec=null,Oo=null,Pc=!1;function dp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pc||ai==null||ai!==La(r)||(r=ai,"selectionStart"in r&&sf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Oo&&qo(Oo,r)||(Oo=r,r=Ba(Ec,"onSelect"),0<r.length&&(t=new nf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ai)))}function Gs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var li={animationend:Gs("Animation","AnimationEnd"),animationiteration:Gs("Animation","AnimationIteration"),animationstart:Gs("Animation","AnimationStart"),transitionend:Gs("Transition","TransitionEnd")},mu={},hv={};yn&&(hv=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);function Cl(e){if(mu[e])return mu[e];if(!li[e])return e;var t=li[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hv)return mu[e]=t[n];return e}var pv=Cl("animationend"),mv=Cl("animationiteration"),gv=Cl("animationstart"),yv=Cl("transitionend"),vv=new Map,fp="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 fr(e,t){vv.set(e,t),Hr(t,[e])}for(var gu=0;gu<fp.length;gu++){var yu=fp[gu],Qb=yu.toLowerCase(),qb=yu[0].toUpperCase()+yu.slice(1);fr(Qb,"on"+qb)}fr(pv,"onAnimationEnd");fr(mv,"onAnimationIteration");fr(gv,"onAnimationStart");fr("dblclick","onDoubleClick");fr("focusin","onFocus");fr("focusout","onBlur");fr(yv,"onTransitionEnd");Fi("onMouseEnter",["mouseout","mouseover"]);Fi("onMouseLeave",["mouseout","mouseover"]);Fi("onPointerEnter",["pointerout","pointerover"]);Fi("onPointerLeave",["pointerout","pointerover"]);Hr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Hr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Hr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Hr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Hr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Hr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Po="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(" "),Xb=new Set("cancel close invalid load scroll toggle".split(" ").concat(Po));function hp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,QS(r,t,void 0,e),e.currentTarget=null}function xv(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;hp(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;hp(i,a,u),o=l}}}if(_a)throw e=Sc,_a=!1,Sc=null,e}function oe(e,t){var n=t[Nc];n===void 0&&(n=t[Nc]=new Set);var r=e+"__bubble";n.has(r)||(wv(t,e,2,!1),n.add(r))}function vu(e,t,n){var r=0;t&&(r|=4),wv(n,e,r,t)}var Ys="_reactListening"+Math.random().toString(36).slice(2);function Xo(e){if(!e[Ys]){e[Ys]=!0,ky.forEach(function(n){n!=="selectionchange"&&(Xb.has(n)||vu(n,!1,e),vu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ys]||(t[Ys]=!0,vu("selectionchange",!1,t))}}function wv(e,t,n,r){switch(rv(t)){case 1:var i=db;break;case 4:i=fb;break;default:i=ef}n=i.bind(null,t,n,e),i=void 0,!wc||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 xu(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 38
38if(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=Cr(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}Uy(function(){var u=o,c=qd(n),d=[];e:{var f=vv.get(e);if(f!==void 0){var h=nf,w=e;switch(e){case"keypress":if(ga(n)===0)break e;case"keydown":case"keyup":h=kb;break;case"focusin":w="focus",h=fu;break;case"focusout":w="blur",h=fu;break;case"beforeblur":case"afterblur":h=fu;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=tp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=mb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Mb;break;case pv:case mv:case gv:h=vb;break;case yv:h=jb;break;case"scroll":h=hb;break;case"wheel":h=Db;break;case"copy":case"cut":case"paste":h=wb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=rp}var g=(t&4)!==0,S=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var p=u,y;p!==null;){y=p;var b=y.stateNode;if(y.tag===5&&b!==null&&(y=b,m!==null&&(b=Ho(p,m),b!=null&&g.push(Zo(p,b,y)))),S)break;p=p.return}0<g.length&&(f=new h(f,w,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!==vc&&(w=n.relatedTarget||n.fromElement)&&(Cr(w)||w[vn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(w=n.relatedTarget||n.toElement,h=u,w=w?Cr(w):null,w!==null&&(S=Kr(w),w!==S||w.tag!==5&&w.tag!==6)&&(w=null)):(h=null,w=u),h!==w)){if(g=tp,b="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(g=rp,b="onPointerLeave",m="onPointerEnter",p="pointer"),S=h==null?f:ui(h),y=w==null?f:ui(w),f=new g(b,p+"leave",h,n,c),f.target=S,f.relatedTarget=y,b=null,Cr(c)===u&&(g=new g(m,p+"enter",w,n,c),g.target=y,g.relatedTarget=S,b=g),S=b,h&&w)t:{for(g=h,m=w,p=0,y=g;y;y=ni(y))p++;for(y=0,b=m;b;b=ni(b))y++;for(;0<p-y;)g=ni(g),p--;for(;0<y-p;)m=ni(m),y--;for(;p--;){if(g===m||m!==null&&g===m.alternate)break t;g=ni(g),m=ni(m)}g=null}else g=null;h!==null&&pp(d,f,h,g,!1),w!==null&&S!==null&&pp(d,S,w,g,!0)}}
vendor: 4,435 bytes, lines 38-39
38e:{if(f=u?ui(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var T=$b;else if(sp(f))if(uv)T=Hb;else{T=Ub;var C=Bb}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=Wb);if(T&&(T=T(e,u))){lv(d,T,n,c);break e}C&&C(e,f,u),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&hc(f,"number",f.value)}switch(C=u?ui(u):window,e){case"focusin":(sp(C)||C.contentEditable==="true")&&(ai=C,Ec=u,Oo=null);break;case"focusout":Oo=Ec=ai=null;break;case"mousedown":Pc=!0;break;case"contextmenu":case"mouseup":case"dragend":Pc=!1,dp(d,n,c);break;case"selectionchange":if(Yb)break;case"keydown":case"keyup":dp(d,n,c)}var E;if(of)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 si?sv(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(ov&&n.locale!=="ko"&&(si||P!=="onCompositionStart"?P==="onCompositionEnd"&&si&&(E=iv()):(Hn=c,tf="value"in Hn?Hn.value:Hn.textContent,si=!0)),C=Ba(u,P),0<C.length&&(P=new np(P,e,null,n,c),d.push({event:P,listeners:C}),E?P.data=E:(E=av(n),E!==null&&(P.data=E)))),(E=Ib?_b(e,n):Vb(e,n))&&(u=Ba(u,"onBeforeInput"),0<u.length&&(c=new np("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=E))}xv(d,t)})}function Zo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ba(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ho(e,n),o!=null&&r.unshift(Zo(e,o,i)),o=Ho(e,t),o!=null&&r.push(Zo(e,o,i))),e=e.return}return r}function ni(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function pp(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=Ho(n,o),l!=null&&s.unshift(Zo(n,l,a))):i||(l=Ho(n,o),l!=null&&s.push(Zo(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Zb=/\r\n?/g,Jb=/\u0000|\uFFFD/g;function mp(e){return(typeof e=="string"?e:""+e).replace(Zb,`
39`).replace(Jb,"")}function Qs(e,t,n){if(t=mp(t),mp(e)!==t&&n)throw Error(O(425))}function Ua(){}var kc=null,Ac=null;function Rc(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 Mc=typeof setTimeout=="function"?setTimeout:void 0,eT=typeof clearTimeout=="function"?clearTimeout:void 0,gp=typeof Promise=="function"?Promise:void 0,tT=typeof queueMicrotask=="function"?queueMicrotask:typeof gp<"u"?function(e){return gp.resolve(null).then(e).catch(nT)}:Mc;function nT(e){setTimeout(function(){throw e})}function wu(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),Yo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Yo(t)}function Zn(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 yp(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 Zi=Math.random().toString(36).slice(2),Yt="__reactFiber$"+Zi,Jo="__reactProps$"+Zi,vn="__reactContainer$"+Zi,Nc="__reactEvents$"+Zi,rT="__reactListeners$"+Zi,iT="__reactHandles$"+Zi;function Cr(e){var t=e[Yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vn]||n[Yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yp(e);e!==null;){if(n=e[Yt])return n;e=yp(e)}return t}e=n,n=e.parentNode}return null}function Cs(e){return e=e[Yt]||e[vn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ui(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function El(e){return e[Jo]||null}var jc=[],ci=-1;function hr(e){return{current:e}}function se(e){0>ci||(e.current=jc[ci],jc[ci]=null,ci--)}function re(e,t){ci++,jc[ci]=e.current,e.current=t}var or={},$e=hr(or),Je=hr(!1),Fr=or;function zi(e,t){var n=e.type.contextTypes;if(!n)return or;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;
vendor: 14,750 bytes, line 39
39for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function et(e){return e=e.childContextTypes,e!=null}function Wa(){se(Je),se($e)}function vp(e,t,n){if($e.current!==or)throw Error(O(168));re($e,t),re(Je,n)}function Sv(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(O(108,BS(e)||"Unknown",i));return me({},n,r)}function Ha(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||or,Fr=$e.current,re($e,e),re(Je,Je.current),!0}function xp(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=Sv(e,t,Fr),r.__reactInternalMemoizedMergedChildContext=e,se(Je),se($e),re($e,e)):se(Je),re(Je,n)}var dn=null,Pl=!1,Su=!1;function bv(e){dn===null?dn=[e]:dn.push(e)}function oT(e){Pl=!0,bv(e)}function pr(){if(!Su&&dn!==null){Su=!0;var e=0,t=te;try{var n=dn;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}dn=null,Pl=!1}catch(i){throw dn!==null&&(dn=dn.slice(e+1)),Gy(Xd,pr),i}finally{te=t,Su=!1}}return null}var di=[],fi=0,Ka=null,Ga=0,mt=[],gt=0,zr=null,pn=1,mn="";function Sr(e,t){di[fi++]=Ga,di[fi++]=Ka,Ka=e,Ga=t}function Tv(e,t,n){mt[gt++]=pn,mt[gt++]=mn,mt[gt++]=zr,zr=e;var r=pn;e=mn;var i=32-_t(r)-1;r&=~(1<<i),n+=1;var o=32-_t(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,pn=1<<32-_t(t)+i|n<<i|r,mn=o+e}else pn=1<<o|n<<i|r,mn=e}function af(e){e.return!==null&&(Sr(e,1),Tv(e,1,0))}function lf(e){for(;e===Ka;)Ka=di[--fi],di[fi]=null,Ga=di[--fi],di[fi]=null;for(;e===zr;)zr=mt[--gt],mt[gt]=null,mn=mt[--gt],mt[gt]=null,pn=mt[--gt],mt[gt]=null}var st=null,ot=null,ce=!1,Lt=null;function Cv(e,t){var n=yt(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 wp(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=Zn(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=zr!==null?{id:pn,overflow:mn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,st=e,ot=null,!0):!1;default:return!1}}function Oc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Dc(e){if(ce){var t=ot;if(t){var n=t;if(!wp(e,t)){if(Oc(e))throw Error(O(418));t=Zn(n.nextSibling);var r=st;t&&wp(e,t)?Cv(r,n):(e.flags=e.flags&-4097|2,ce=!1,st=e)}}else{if(Oc(e))throw Error(O(418));e.flags=e.flags&-4097|2,ce=!1,st=e}}}function Sp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;st=e}function qs(e){if(e!==st)return!1;if(!ce)return Sp(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Rc(e.type,e.memoizedProps)),t&&(t=ot)){if(Oc(e))throw Ev(),Error(O(418));for(;t;)Cv(e,t),t=Zn(t.nextSibling)}if(Sp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ot=Zn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ot=null}}else ot=st?Zn(e.stateNode.nextSibling):null;return!0}function Ev(){for(var e=ot;e;)e=Zn(e.nextSibling)}function $i(){ot=st=null,ce=!1}function uf(e){Lt===null?Lt=[e]:Lt.push(e)}var sT=Cn.ReactCurrentBatchConfig;function mo(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(O(309));var r=n.stateNode}if(!r)throw Error(O(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(O(284));if(!n._owner)throw Error(O(290,e))}return e}function Xs(e,t){throw e=Object.prototype.toString.call(t),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bp(e){var t=e._init;return t(e._payload)}function Pv(e){function t(m,p){if(e){var y=m.deletions;y===null?(m.deletions=[p],m.flags|=16):y.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function i(m,p){return m=nr(m,p),m.index=0,m.sibling=null,m}function o(m,p,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<p?(m.flags|=2,p):y):(m.flags|=2,p)):(m.flags|=1048576,p)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,p,y,b){return p===null||p.tag!==6?(p=Au(y,m.mode,b),p.return=m,p):(p=i(p,y),p.return=m,p)}function l(m,p,y,b){var T=y.type;return T===oi?c(m,p,y.props.children,b,y.key):p!==null&&(p.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===In&&bp(T)===p.type)?(b=i(p,y.props),b.ref=mo(m,p,y),b.return=m,b):(b=Ta(y.type,y.key,y.props,null,m.mode,b),b.ref=mo(m,p,y),b.return=m,b)}function u(m,p,y,b){return p===null||p.tag!==4||p.stateNode.containerInfo!==y.containerInfo||p.stateNode.implementation!==y.implementation?(p=Ru(y,m.mode,b),p.return=m,p):(p=i(p,y.children||[]),p.return=m,p)}function c(m,p,y,b,T){return p===null||p.tag!==7?(p=_r(y,m.mode,b,T),p.return=m,p):(p=i(p,y),p.return=m,p)}function d(m,p,y){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Au(""+p,m.mode,y),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case zs:return y=Ta(p.type,p.key,p.props,null,m.mode,y),y.ref=mo(m,null,p),y.return=m,y;case ii:return p=Ru(p,m.mode,y),p.return=m,p;case In:var b=p._init;return d(m,b(p._payload),y)}if(Co(p)||uo(p))return p=_r(p,m.mode,y,null),p.return=m,p;Xs(m,p)}return null}function f(m,p,y,b){var T=p!==null?p.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return T!==null?null:a(m,p,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case zs:return y.key===T?l(m,p,y,b):null;case ii:return y.key===T?u(m,p,y,b):null;case In:return T=y._init,f(m,p,T(y._payload),b)}if(Co(y)||uo(y))return T!==null?null:c(m,p,y,b,null);Xs(m,y)}return null}function h(m,p,y,b,T){if(typeof b=="string"&&b!==""||typeof b=="number")return m=m.get(y)||null,a(p,m,""+b,T);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case zs:return m=m.get(b.key===null?y:b.key)||null,l(p,m,b,T);case ii:return m=m.get(b.key===null?y:b.key)||null,u(p,m,b,T);case In:var C=b._init;return h(m,p,y,C(b._payload),T)}if(Co(b)||uo(b))return m=m.get(y)||null,c(p,m,b,T,null);Xs(p,b)}return null}function w(m,p,y,b){for(var T=null,C=null,E=p,P=p=0,N=null;E!==null&&P<y.length;P++){E.index>P?(N=E,E=null):N=E.sibling;var j=f(m,E,y[P],b);if(j===null){E===null&&(E=N);break}e&&E&&j.alternate===null&&t(m,E),p=o(j,p,P),C===null?T=j:C.sibling=j,C=j,E=N}if(P===y.length)return n(m,E),ce&&Sr(m,P),T;if(E===null){for(;P<y.length;P++)E=d(m,y[P],b),E!==null&&(p=o(E,p,P),C===null?T=E:C.sibling=E,C=E);return ce&&Sr(m,P),T}for(E=r(m,E);P<y.length;P++)N=h(E,m,P,y[P],b),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?P:N.key),p=o(N,p,P),C===null?T=N:C.sibling=N,C=N);return e&&E.forEach(function(z){return t(m,z)}),ce&&Sr(m,P),T}function g(m,p,y,b){var T=uo(y);if(typeof T!="function")throw Error(O(150));if(y=T.call(y),y==null)throw Error(O(151));for(var C=T=null,E=p,P=p=0,N=null,j=y.next();E!==null&&!j.done;P++,j=y.next()){E.index>P?(N=E,E=null):N=E.sibling;var z=f(m,E,j.value,b);if(z===null){E===null&&(E=N);break}e&&E&&z.alternate===null&&t(m,E),p=o(z,p,P),C===null?T=z:C.sibling=z,C=z,E=N}if(j.done)return n(m,E),ce&&Sr(m,P),T;if(E===null){for(;!j.done;P++,j=y.next())j=d(m,j.value,b),j!==null&&(p=o(j,p,P),C===null?T=j:C.sibling=j,C=j);return ce&&Sr(m,P),T}for(E=r(m,E);!j.done;P++,j=y.next())j=h(E,m,P,j.value,b),j!==null&&(e&&j.alternate!==null&&E.delete(j.key===null?P:j.key),p=o(j,p,P),C===null?T=j:C.sibling=j,C=j);return e&&E.forEach(function(I){return t(m,I)}),ce&&Sr(m,P),T}function S(m,p,y,b){if(typeof y=="object"&&y!==null&&y.type===oi&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case zs:e:{for(var T=y.key,C=p;C!==null;){if(C.key===T){if(T=y.type,T===oi){if(C.tag===7){n(m,C.sibling),p=i(C,y.props.children),p.return=m,m=p;break e}}else if(C.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===In&&bp(T)===C.type){n(m,C.sibling),p=i(C,y.props),p.ref=mo(m,C,y),p.return=m,m=p;break e}n(m,C);break}else t(m,C);C=C.sibling}y.type===oi?(p=_r(y.props.children,m.mode,b,y.key),p.return=m,m=p):(b=Ta(y.type,y.key,y.props,null,m.mode,b),b.ref=mo(m,p,y),b.return=m,m=b)}return s(m);case ii:e:{for(C=y.key;p!==null;){if(p.key===C)if(p.tag===4&&p.stateNode.containerInfo===y.containerInfo&&p.stateNode.implementation===y.implementation){n(m,p.sibling),p=i(p,y.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Ru(y,m.mode,b),p.return=m,m=p}return s(m);case In:return C=y._init,S(m,p,C(y._payload),b)}if(Co(y))return w(m,p,y,b);if(uo(y))return g(m,p,y,b);Xs(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,p!==null&&p.tag===6?(n(m,p.sibling),p=i(p,y),p.return=m,m=p):(n(m,p),p=Au(y,m.mode,b),p.return=m,m=p),s(m)):n(m,p)}return S}var Bi=Pv(!0),kv=Pv(!1),Ya=hr(null),Qa=null,hi=null,cf=null;function df(){cf=hi=Qa=null}function ff(e){var t=Ya.current;se(Ya),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 Ci(e,t){Qa=e,cf=hi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ze=!0),e.firstContext=null)}function St(e){var t=e._currentValue;if(cf!==e)if(e={context:e,memoizedValue:t,next:null},hi===null){if(Qa===null)throw Error(O(308));hi=e,Qa.dependencies={lanes:0,firstContext:e}}else hi=hi.next=e;return t}var Er=null;function hf(e){Er===null?Er=[e]:Er.push(e)}function Av(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,hf(t)):(n.next=i.next,i.next=n),t.interleaved=n,xn(e,r)}function xn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _n=!1;function pf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Rv(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 gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jn(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,xn(e,n)}return i=r.interleaved,i===null?(t.next=t,hf(r)):(t.next=i.next,i.next=t),r.interleaved=t,xn(e,n)}function ya(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,Zd(e,n)}}function Tp(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 qa(e,t,n,r){var i=e.updateQueue;_n=!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 w=e,g=a;switch(f=t,h=n,g.tag){case 1:if(w=g.payload,typeof w=="function"){d=w.call(h,d,f);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=g.payload,f=typeof w=="function"?w.call(h,d,f):w,f==null)break e;d=me({},d,f);break e;case 2:_n=!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);Br|=s,e.lanes=s,e.memoizedState=d}}function Cp(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(O(191,i));i.call(r)}}}var Es={},Xt=hr(Es),es=hr(Es),ts=hr(Es);function Pr(e){if(e===Es)throw Error(O(174));return e}function mf(e,t){switch(re(ts,t),re(es,e),re(Xt,Es),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=mc(t,e)}se(Xt),re(Xt,t)}function Ui(){se(Xt),se(es),se(ts)}function Mv(e){Pr(ts.current);var t=Pr(Xt.current),n=mc(t,e.type);t!==n&&(re(es,e),re(Xt,n))}function gf(e){es.current===e&&(se(Xt),se(es))}var fe=hr(0);function Xa(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 bu=[];function yf(){for(var e=0;e<bu.length;e++)bu[e]._workInProgressVersionPrimary=null;bu.length=0}var va=Cn.ReactCurrentDispatcher,Tu=Cn.ReactCurrentBatchConfig,$r=0,pe=null,Ee=null,Ae=null,Za=!1,Do=!1,ns=0,aT=0;function Ie(){throw Error(O(321))}function vf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ft(e[n],t[n]))return!1;return!0}function xf(e,t,n,r,i,o){if($r=o,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,va.current=e===null||e.memoizedState===null?dT:fT,e=n(r,i),Do){o=0;
vendor: 5,553 bytes, line 39
39do{if(Do=!1,ns=0,25<=o)throw Error(O(301));o+=1,Ae=Ee=null,t.updateQueue=null,va.current=hT,e=n(r,i)}while(Do)}if(va.current=Ja,t=Ee!==null&&Ee.next!==null,$r=0,Ae=Ee=pe=null,Za=!1,t)throw Error(O(300));return e}function wf(){var e=ns!==0;return ns=0,e}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ae===null?pe.memoizedState=Ae=e:Ae=Ae.next=e,Ae}function bt(){if(Ee===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Ae===null?pe.memoizedState:Ae.next;if(t!==null)Ae=t,Ee=e;else{if(e===null)throw Error(O(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Ae===null?pe.memoizedState=Ae=e:Ae=Ae.next=e}return Ae}function rs(e,t){return typeof t=="function"?t(e):t}function Cu(e){var t=bt(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=Ee,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(($r&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,pe.lanes|=c,Br|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,Ft(r,t.memoizedState)||(Ze=!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,pe.lanes|=o,Br|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Eu(e){var t=bt(),n=t.queue;if(n===null)throw Error(O(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);Ft(o,t.memoizedState)||(Ze=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Nv(){}function jv(e,t){var n=pe,r=bt(),i=t(),o=!Ft(r.memoizedState,i);if(o&&(r.memoizedState=i,Ze=!0),r=r.queue,Sf(Lv.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Ae!==null&&Ae.memoizedState.tag&1){if(n.flags|=2048,is(9,Dv.bind(null,n,r,i,t),void 0,null),Re===null)throw Error(O(349));$r&30||Ov(n,t,i)}return i}function Ov(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Dv(e,t,n,r){t.value=n,t.getSnapshot=r,Iv(t)&&_v(e)}function Lv(e,t,n){return n(function(){Iv(t)&&_v(e)})}function Iv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ft(e,n)}catch{return!0}}function _v(e){var t=xn(e,1);t!==null&&Vt(t,e,1,-1)}function Ep(e){var t=Wt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:e},t.queue=e,e=e.dispatch=cT.bind(null,pe,e),[t.memoizedState,e]}function is(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.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 Vv(){return bt().memoizedState}function xa(e,t,n,r){var i=Wt();pe.flags|=e,i.memoizedState=is(1|t,n,void 0,r===void 0?null:r)}function kl(e,t,n,r){var i=bt();r=r===void 0?null:r;var o=void 0;if(Ee!==null){var s=Ee.memoizedState;if(o=s.destroy,r!==null&&vf(r,s.deps)){i.memoizedState=is(t,n,o,r);return}}pe.flags|=e,i.memoizedState=is(1|t,n,o,r)}function Pp(e,t){return xa(8390656,8,e,t)}function Sf(e,t){return kl(2048,8,e,t)}function Fv(e,t){return kl(4,2,e,t)}function zv(e,t){return kl(4,4,e,t)}function $v(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 Bv(e,t,n){return n=n!=null?n.concat([e]):null,kl(4,4,$v.bind(null,t,e),n)}function bf(){}function Uv(e,t){var n=bt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&vf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wv(e,t){var n=bt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&vf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hv(e,t,n){return $r&21?(Ft(n,t)||(n=qy(),pe.lanes|=n,Br|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ze=!0),e.memoizedState=n)}function lT(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=Tu.transition;Tu.transition={};try{e(!1),t()}finally{te=n,Tu.transition=r}}function Kv(){return bt().memoizedState}function uT(e,t,n){var r=tr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Gv(e))Yv(t,n);else if(n=Av(e,t,n,r),n!==null){var i=Ge();Vt(n,e,r,i),Qv(n,t,r)}}function cT(e,t,n){var r=tr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Gv(e))Yv(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,Ft(a,s)){var l=t.interleaved;l===null?(i.next=i,hf(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Av(e,t,i,r),n!==null&&(i=Ge(),Vt(n,e,r,i),Qv(n,t,r))}}function Gv(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function Yv(e,t){Do=Za=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qv(e,t,n){if(n&4194240){var r=t.lanes;
vendor: 7,117 bytes, lines 39-41
39r&=e.pendingLanes,n|=r,t.lanes=n,Zd(e,n)}}var Ja={readContext:St,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},dT={readContext:St,useCallback:function(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e},useContext:St,useEffect:Pp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xa(4194308,4,$v.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xa(4194308,4,e,t)},useInsertionEffect:function(e,t){return xa(4,2,e,t)},useMemo:function(e,t){var n=Wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Wt();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=uT.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Wt();return e={current:e},t.memoizedState=e},useState:Ep,useDebugValue:bf,useDeferredValue:function(e){return Wt().memoizedState=e},useTransition:function(){var e=Ep(!1),t=e[0];return e=lT.bind(null,e[1]),Wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,i=Wt();if(ce){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Re===null)throw Error(O(349));$r&30||Ov(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Pp(Lv.bind(null,r,o,e),[e]),r.flags|=2048,is(9,Dv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Wt(),t=Re.identifierPrefix;if(ce){var n=mn,r=pn;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ns++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=aT++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},fT={readContext:St,useCallback:Uv,useContext:St,useEffect:Sf,useImperativeHandle:Bv,useInsertionEffect:Fv,useLayoutEffect:zv,useMemo:Wv,useReducer:Cu,useRef:Vv,useState:function(){return Cu(rs)},useDebugValue:bf,useDeferredValue:function(e){var t=bt();return Hv(t,Ee.memoizedState,e)},useTransition:function(){var e=Cu(rs)[0],t=bt().memoizedState;return[e,t]},useMutableSource:Nv,useSyncExternalStore:jv,useId:Kv,unstable_isNewReconciler:!1},hT={readContext:St,useCallback:Uv,useContext:St,useEffect:Sf,useImperativeHandle:Bv,useInsertionEffect:Fv,useLayoutEffect:zv,useMemo:Wv,useReducer:Eu,useRef:Vv,useState:function(){return Eu(rs)},useDebugValue:bf,useDeferredValue:function(e){var t=bt();return Ee===null?t.memoizedState=e:Hv(t,Ee.memoizedState,e)},useTransition:function(){var e=Eu(rs)[0],t=bt().memoizedState;return[e,t]},useMutableSource:Nv,useSyncExternalStore:jv,useId:Kv,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ic(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Al={isMounted:function(e){return(e=e._reactInternals)?Kr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ge(),i=tr(e),o=gn(r,i);o.payload=t,n!=null&&(o.callback=n),t=Jn(e,o,i),t!==null&&(Vt(t,e,i,r),ya(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ge(),i=tr(e),o=gn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Jn(e,o,i),t!==null&&(Vt(t,e,i,r),ya(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ge(),r=tr(e),i=gn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Jn(e,i,r),t!==null&&(Vt(t,e,r,n),ya(t,e,r))}};function kp(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?!qo(n,r)||!qo(i,o):!0}function qv(e,t,n){var r=!1,i=or,o=t.contextType;return typeof o=="object"&&o!==null?o=St(o):(i=et(t)?Fr:$e.current,r=t.contextTypes,o=(r=r!=null)?zi(e,i):or),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Al,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ap(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&&Al.enqueueReplaceState(t,t.state,null)}function _c(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},pf(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=St(o):(o=et(t)?Fr:$e.current,i.context=zi(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Ic(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&&Al.enqueueReplaceState(i,i.state,null),qa(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Wi(e,t){try{var n="",r=t;do n+=$S(r),r=r.return;while(r);var i=n}catch(o){i=`
40Error generating stack: `+o.message+`
41`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Pu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Vc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var pT=typeof WeakMap=="function"?WeakMap:Map;function Xv(e,t,n){n=gn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){tl||(tl=!0,Yc=r),Vc(e,t)},n}function Zv(e,t,n){n=gn(-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(){Vc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Vc(e,t),typeof r!="function"&&(er===null?er=new Set([this]):er.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Rp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new pT;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=AT.bind(null,e,t,n),t.then(e,e))}function Mp(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 Np(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=gn(-1,1),t.tag=2,Jn(n,t,1))),n.lanes|=1),e)}var mT=Cn.ReactCurrentOwner,Ze=!1;function Ue(e,t,n,r){t.child=e===null?kv(t,null,n,r):Bi(t,e.child,n,r)}function jp(e,t,n,r,i){n=n.render;var o=t.ref;return Ci(t,i),r=xf(e,t,n,r,o,i),n=wf(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(ce&&n&&af(t),t.flags|=1,Ue(e,t,r,i
vendor: 9,531 bytes, line 41
41),t.child)}function Op(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Mf(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Jv(e,t,o,r,i)):(e=Ta(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:qo,n(s,r)&&e.ref===t.ref)return wn(e,t,i)}return t.flags|=1,e=nr(o,r),e.ref=t.ref,e.return=t,t.child=e}function Jv(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(qo(o,r)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Ze=!0);else return t.lanes=e.lanes,wn(e,t,i)}return Fc(e,t,n,r,i)}function e0(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(mi,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(mi,rt),rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,re(mi,rt),rt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,re(mi,rt),rt|=r;return Ue(e,t,i,n),t.child}function t0(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=et(n)?Fr:$e.current;return o=zi(t,o),Ci(t,i),n=xf(e,t,n,r,o,i),r=wf(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(ce&&r&&af(t),t.flags|=1,Ue(e,t,n,i),t.child)}function Dp(e,t,n,r,i){if(et(n)){var o=!0;Ha(t)}else o=!1;if(Ci(t,i),t.stateNode===null)wa(e,t),qv(t,n,r),_c(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=St(u):(u=et(n)?Fr:$e.current,u=zi(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)&&Ap(t,s,r,u),_n=!1;var f=t.memoizedState;s.state=f,qa(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Je.current||_n?(typeof c=="function"&&(Ic(t,n,c,r),l=t.memoizedState),(a=_n||kp(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,Rv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Mt(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=St(l):(l=et(n)?Fr:$e.current,l=zi(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)&&Ap(t,s,r,l),_n=!1,f=t.memoizedState,s.state=f,qa(t,r,s,i);var w=t.memoizedState;a!==d||f!==w||Je.current||_n?(typeof h=="function"&&(Ic(t,n,h,r),w=t.memoizedState),(u=_n||kp(t,n,u,r,f,w,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,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=w),s.props=r,s.state=w,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 zc(e,t,n,r,o,i)}function zc(e,t,n,r,i,o){t0(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&xp(t,n,!1),wn(e,t,o);r=t.stateNode,mT.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Bi(t,e.child,null,o),t.child=Bi(t,null,a,o)):Ue(e,t,a,o),t.memoizedState=r.state,i&&xp(t,n,!0),t.child}function n0(e){var t=e.stateNode;t.pendingContext?vp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vp(e,t.context,!1),mf(e,t.containerInfo)}function Lp(e,t,n,r,i){return $i(),uf(i),t.flags|=256,Ue(e,t,n,r),t.child}var $c={dehydrated:null,treeContext:null,retryLane:0};function Bc(e){return{baseLanes:e,cachePool:null,transitions:null}}function r0(e,t,n){var r=t.pendingProps,i=fe.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(fe,i&1),e===null)return Dc(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=Nl(s,r,0,null),e=_r(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Bc(n),t.memoizedState=$c,e):Tf(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return gT(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=nr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=nr(a,o):(o=_r(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?Bc(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=$c,r}return o=e.child,e=o.sibling,r=nr(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 Tf(e,t){return t=Nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Zs(e,t,n,r){return r!==null&&uf(r),Bi(t,e.child,null,n),e=Tf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gT(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Pu(Error(O(422))),Zs(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Nl({mode:"visible",children:r.children},i,0,null),o=_r(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Bi(t,e.child,null,s),t.child.memoizedState=Bc(s),t.memoizedState=$c,o);if(!(t.mode&1))return Zs(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(O(419)),r=Pu(o,r,void 0),Zs(e,t,s,r)}if(a=(s&e.childLanes)!==0,Ze||a){if(r=Re,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,xn(e,i),Vt(r,e,i,-1))}return Rf(),r=Pu(Error(O(421))),Zs(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=RT.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ot=Zn(i.nextSibling),st=t,ce=!0,Lt=null,e!==null&&(mt[gt++]=pn,mt[gt++]=mn,mt[gt++]=zr,pn=e.id,mn=e.overflow,zr=t),t=Tf(t,r.children),t.flags|=4096,t)}function Ip(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Lc(e.return,t,n)}function ku(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 i0(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ue(e,t,r.children,n),r=fe.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&&Ip(e,n,t);else if(e.tag===19)Ip(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(fe,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&&Xa(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ku(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&&Xa(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ku(t,!0,n,null,o);break;case"together":ku(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function wa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function wn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Br|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(O(153));
vendor: 4,746 bytes, line 41
41if(t.child!==null){for(e=t.child,n=nr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=nr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function yT(e,t,n){switch(t.tag){case 3:n0(t),$i();break;case 5:Mv(t);break;case 1:et(t.type)&&Ha(t);break;case 4:mf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;re(Ya,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?r0(e,t,n):(re(fe,fe.current&1),e=wn(e,t,n),e!==null?e.sibling:null);re(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return i0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),re(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,e0(e,t,n)}return wn(e,t,n)}var o0,Uc,s0,a0;o0=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}};Uc=function(){};s0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Pr(Xt.current);var o=null;switch(n){case"input":i=dc(e,i),r=dc(e,r),o=[];break;case"select":i=me({},i,{value:void 0}),r=me({},r,{value:void 0}),o=[];break;case"textarea":i=pc(e,i),r=pc(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ua)}gc(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"&&(Uo.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"&&(Uo.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&oe("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)}};a0=function(e,t,n,r){n!==r&&(t.flags|=4)};function go(e,t){if(!ce)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 _e(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}function vT(e,t,n){var r=t.pendingProps;switch(lf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return et(t.type)&&Wa(),_e(t),null;case 3:return r=t.stateNode,Ui(),se(Je),se($e),yf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(qs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Lt!==null&&(Xc(Lt),Lt=null))),Uc(e,t),_e(t),null;case 5:gf(t);var i=Pr(ts.current);if(n=t.type,e!==null&&t.stateNode!=null)s0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(O(166));return _e(t),null}if(e=Pr(Xt.current),qs(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Yt]=t,r[Jo]=o,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(i=0;i<Po.length;i++)oe(Po[i],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":Hh(r,o),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},oe("invalid",r);break;case"textarea":Gh(r,o),oe("invalid",r)}gc(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];
vendor: 28,864 bytes, line 41
41s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&Qs(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Qs(r.textContent,a,e),i=["children",""+a]):Uo.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&oe("scroll",r)}switch(n){case"input":$s(r),Kh(r,o,!0);break;case"textarea":$s(r),Yh(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ua)}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=Ly(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[Yt]=t,e[Jo]=r,o0(e,t,!1,!1),t.stateNode=e;e:{switch(s=yc(n,r),n){case"dialog":oe("cancel",e),oe("close",e),i=r;break;case"iframe":case"object":case"embed":oe("load",e),i=r;break;case"video":case"audio":for(i=0;i<Po.length;i++)oe(Po[i],e);i=r;break;case"source":oe("error",e),i=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),i=r;break;case"details":oe("toggle",e),i=r;break;case"input":Hh(e,r),i=dc(e,r),oe("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=me({},r,{value:void 0}),oe("invalid",e);break;case"textarea":Gh(e,r),i=pc(e,r),oe("invalid",e);break;default:i=r}gc(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Vy(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Iy(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Wo(e,l):typeof l=="number"&&Wo(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Uo.hasOwnProperty(o)?l!=null&&o==="onScroll"&&oe("scroll",e):l!=null&&Kd(e,o,l,s))}switch(n){case"input":$s(e),Kh(e,r,!1);break;case"textarea":$s(e),Yh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ir(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?wi(e,!!r.multiple,o,!1):r.defaultValue!=null&&wi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ua)}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 _e(t),null;case 6:if(e&&t.stateNode!=null)a0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(O(166));if(n=Pr(ts.current),Pr(Xt.current),qs(t)){if(r=t.stateNode,n=t.memoizedProps,r[Yt]=t,(o=r.nodeValue!==n)&&(e=st,e!==null))switch(e.tag){case 3:Qs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Qs(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Yt]=t,t.stateNode=r}return _e(t),null;case 13:if(se(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&ot!==null&&t.mode&1&&!(t.flags&128))Ev(),$i(),t.flags|=98560,o=!1;else if(o=qs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(O(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(O(317));o[Yt]=t}else $i(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),o=!1}else Lt!==null&&(Xc(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||fe.current&1?ke===0&&(ke=3):Rf())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return Ui(),Uc(e,t),e===null&&Xo(t.stateNode.containerInfo),_e(t),null;case 10:return ff(t.type._context),_e(t),null;case 17:return et(t.type)&&Wa(),_e(t),null;case 19:if(se(fe),o=t.memoizedState,o===null)return _e(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)go(o,!1);else{if(ke!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Xa(e),s!==null){for(t.flags|=128,go(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(fe,fe.current&1|2),t.child}e=e.sibling}o.tail!==null&&xe()>Hi&&(t.flags|=128,r=!0,go(o,!1),t.lanes=4194304)}else{if(!r)if(e=Xa(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),go(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ce)return _e(t),null}else 2*xe()-o.renderingStartTime>Hi&&n!==1073741824&&(t.flags|=128,r=!0,go(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=xe(),t.sibling=null,n=fe.current,re(fe,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return Af(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?rt&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function xT(e,t){switch(lf(t),t.tag){case 1:return et(t.type)&&Wa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ui(),se(Je),se($e),yf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return gf(t),null;case 13:if(se(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));$i()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(fe),null;case 4:return Ui(),null;case 10:return ff(t.type._context),null;case 22:case 23:return Af(),null;case 24:return null;default:return null}}var Js=!1,Fe=!1,wT=typeof WeakSet=="function"?WeakSet:Set,V=null;function pi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function Wc(e,t,n){try{n()}catch(r){ye(e,t,r)}}var _p=!1;function ST(e,t){if(kc=za,e=fv(),sf(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(Ac={focusedElem:e,selectionRange:n},za=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,S=w.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:Mt(t.type,g),S);m.__reactInternalSnapshotBeforeUpdate=p}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(O(163))}}catch(b){ye(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return w=_p,_p=!1,w}function Lo(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&&Wc(t,n,o)}i=i.next}while(i!==r)}}function Rl(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 Hc(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 l0(e){var t=e.alternate;t!==null&&(e.alternate=null,l0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Yt],delete t[Jo],delete t[Nc],delete t[rT],delete t[iT])),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 u0(e){return e.tag===5||e.tag===3||e.tag===4}function Vp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||u0(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 Kc(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=Ua));else if(r!==4&&(e=e.child,e!==null))for(Kc(e,t,n),e=e.sibling;e!==null;)Kc(e,t,n),e=e.sibling}function Gc(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(Gc(e,t,n),e=e.sibling;e!==null;)Gc(e,t,n),e=e.sibling}var Me=null,Dt=!1;function Nn(e,t,n){for(n=n.child;n!==null;)c0(e,t,n),n=n.sibling}function c0(e,t,n){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(Sl,n)}catch{}switch(n.tag){case 5:Fe||pi(n,t);case 6:var r=Me,i=Dt;Me=null,Nn(e,t,n),Me=r,Dt=i,Me!==null&&(Dt?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(Dt?(e=Me,n=n.stateNode,e.nodeType===8?wu(e.parentNode,n):e.nodeType===1&&wu(e,n),Yo(e)):wu(Me,n.stateNode));break;case 4:r=Me,i=Dt,Me=n.stateNode.containerInfo,Dt=!0,Nn(e,t,n),Me=r,Dt=i;break;case 0:case 11:case 14:case 15:if(!Fe&&(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)&&Wc(n,t,s),i=i.next}while(i!==r)}Nn(e,t,n);break;case 1:if(!Fe&&(pi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}Nn(e,t,n);break;case 21:Nn(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,Nn(e,t,n),Fe=r):Nn(e,t,n);break;default:Nn(e,t,n)}}function Fp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new wT),t.forEach(function(r){var i=MT.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Pt(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:Me=a.stateNode,Dt=!1;break e;case 3:Me=a.stateNode.containerInfo,Dt=!0;break e;case 4:Me=a.stateNode.containerInfo,Dt=!0;break e}a=a.return}if(Me===null)throw Error(O(160));c0(o,s,i),Me=null,Dt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ye(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)d0(t,e),t=t.sibling}function d0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pt(t,e),Ut(e),r&4){try{Lo(3,e,e.return),Rl(3,e)}catch(g){ye(e,e.return,g)}try{Lo(5,e,e.return)}catch(g){ye(e,e.return,g)}}break;case 1:Pt(t,e),Ut(e),r&512&&n!==null&&pi(n,n.return);break;case 5:if(Pt(t,e),Ut(e),r&512&&n!==null&&pi(n,n.return),e.flags&32){var i=e.stateNode;try{Wo(i,"")}catch(g){ye(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&&Oy(i,o),yc(a,s);var u=yc(a,o);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?Vy(i,d):c==="dangerouslySetInnerHTML"?Iy(i,d):c==="children"?Wo(i,d):Kd(i,c,d,u)}switch(a){case"input":fc(i,o);break;case"textarea":Dy(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?wi(i,!!o.multiple,h,!1):f!==!!o.multiple&&(o.defaultValue!=null?wi(i,!!o.multiple,o.defaultValue,!0):wi(i,!!o.multiple,o.multiple?[]:"",!1))}i[Jo]=o}catch(g){ye(e,e.return,g)}}break;case 6:if(Pt(t,e),Ut(e),r&4){if(e.stateNode===null)throw Error(O(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(g){ye(e,e.return,g)}}break;case 3:if(Pt(t,e),Ut(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Yo(t.containerInfo)}catch(g){ye(e,e.return,g)}break;case 4:Pt(t,e),Ut(e);break;case 13:Pt(t,e),Ut(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Pf=xe())),r&4&&Fp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||c,Pt(t,e),Fe=u):Pt(t,e),Ut(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(V=e,c=e.child;c!==null;){for(d=V=c;V!==null;){switch(f=V,h=f.child,f.tag){case 0:case 11:case 14:case 15:Lo(4,f,f.return);break;case 1:pi(f,f.return);var w=f.stateNode;if(typeof w.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(g){ye(r,n,g)}}break;case 5:pi(f,f.return);break;case 22:if(f.memoizedState!==null){$p(d);continue}}h!==null?(h.return=f,V=h):$p(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=_y("display",s))}catch(g){ye(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ye(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:Pt(t,e),Ut(e),r&4&&Fp(e);break;case 21:break;default:Pt(t,e),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(u0(n)){var r=n;break e}n=n.return}throw Error(O(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Wo(i,""),r.flags&=-33);var o=Vp(e);Gc(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Vp(e);Kc(e,a,s);break;default:throw Error(O(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bT(e,t,n){V=e,f0(e)}function f0(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var i=V,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||Fe;a=Js;var u=Fe;if(Js=s,(Fe=l)&&!u)for(V=i;V!==null;)s=V,l=s.child,s.tag===22&&s.memoizedState!==null?Bp(i):l!==null?(l.return=s,V=l):Bp(i);for(;o!==null;)V=o,f0(o),o=o.sibling;V=i,Js=a,Fe=u}zp(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,V=o):zp(e)}}function zp(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||Rl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Cp(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}Cp(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&&Yo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(O(163))}Fe||t.flags&512&&Hc(t)}catch(f){ye(t,t.return,f)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function $p(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function Bp(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Rl(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ye(t,i,l)}}var o=t.return;try{Hc(t)}catch(l){ye(t,o,l)}break;case 5:var s=t.return;try{Hc(t)}catch(l){ye(t,s,l)}}}catch(l){ye(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var TT=Math.ceil,el=Cn.ReactCurrentDispatcher,Cf=Cn.ReactCurrentOwner,xt=Cn.ReactCurrentBatchConfig,Z=0,Re=null,be=null,je=0,rt=0,mi=hr(0),ke=0,os=null,Br=0,Ml=0,Ef=0,Io=null,Xe=null,Pf=0,Hi=1/0,cn=null,tl=!1,Yc=null,er=null,ea=!1,Kn=null,nl=0,_o=0,Qc=null,Sa=-1,ba=0;function Ge(){return Z&6?xe():Sa!==-1?Sa:Sa=xe()}function tr(e){return e.mode&1?Z&2&&je!==0?je&-je:sT.transition!==null?(ba===0&&(ba=qy()),ba):(e=te,e!==0||(e=window.event,e=e===void 0?16:rv(e.type)),e):1}function Vt(e,t,n,r){if(50<_o)throw _o=0,Qc=null,Error(O(185));bs(e,n,r),(!(Z&2)||e!==Re)&&(e===Re&&(!(Z&2)&&(Ml|=n),ke===4&&Fn(e,je)),tt(e,r),n===1&&Z===0&&!(t.mode&1)&&(Hi=xe()+500,Pl&&pr()))}function tt(e,t){var n=e.callbackNode;sb(e,t);var r=Fa(e,e===Re?je:0);if(r===0)n!==null&&Xh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Xh(n),t===1)e.tag===0?oT(Up.bind(null,e)):bv(Up.bind(null,e)),tT(function(){!(Z&6)&&pr()}),n=null;else{switch(Xy(r)){case 1:n=Xd;break;case 4:n=Yy;break;case 16:n=Va;break;case 536870912:n=Qy;break;default:n=Va}n=w0(n,h0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function h0(e,t){if(Sa=-1,ba=0,Z&6)throw Error(O(327));var n=e.callbackNode;if(Ei()&&e.callbackNode!==n)return null;var r=Fa(e,e===Re?je:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=rl(e,r);else{t=r;var i=Z;Z|=2;var o=m0();(Re!==e||je!==t)&&(cn=null,Hi=xe()+500,Ir(e,t));do try{PT();break}catch(a){p0(e,a)}while(!0);df(),el.current=o,Z=i,be!==null?t=0:(Re=null,je=0,t=ke)}if(t!==0){if(t===2&&(i=bc(e),i!==0&&(r=i,t=qc(e,i))),t===1)throw n=os,Ir(e,0),Fn(e,r),tt(e,xe()),n;if(t===6)Fn(e,r);else{if(i=e.current.alternate,!(r&30)&&!CT(i)&&(t=rl(e,r),t===2&&(o=bc(e),o!==0&&(r=o,t=qc(e,o))),t===1))throw n=os,Ir(e,0),Fn(e,r),tt(e,xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(O(345));case 2:br(e,Xe,cn);break;case 3:if(Fn(e,r),(r&130023424)===r&&(t=Pf+500-xe(),10<t)){if(Fa(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ge(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Mc(br.bind(null,e,Xe,cn),t);break}br(e,Xe,cn);break;case 4:if(Fn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-_t(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*TT(r/1960))-r,10<r){e.timeoutHandle=Mc(br.bind(null,e,Xe,cn),r);break}br(e,Xe,cn);break;case 5:br(e,Xe,cn);break;default:throw Error(O(329))}}}return tt(e,xe()),e.callbackNode===n?h0.bind(null,e):null}function qc(e,t){var n=Io;return e.current.memoizedState.isDehydrated&&(Ir(e,t).flags|=256),e=rl(e,t),e!==2&&(t=Xe,Xe=n,t!==null&&Xc(t)),e}function Xc(e){Xe===null?Xe=e:Xe.push.apply(Xe,e)}function CT(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(!Ft(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 Fn(e,t){for(t&=~Ef,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function Up(e){if(Z&6)throw Error(O(327));Ei();var t=Fa(e,0);if(!(t&1))return tt(e,xe()),null;var n=rl(e,t);if(e.tag!==0&&n===2){var r=bc(e);r!==0&&(t=r,n=qc(e,r))}if(n===1)throw n=os,Ir(e,0),Fn(e,t),tt(e,xe()),n;if(n===6)throw Error(O(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,br(e,Xe,cn),tt(e,xe()),null}function kf(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(Hi=xe()+500,Pl&&pr())}}function Ur(e){Kn!==null&&Kn.tag===0&&!(Z&6)&&Ei();var t=Z;Z|=1;var n=xt.transition,r=te;try{if(xt.transition=null,te=1,e)return e()}finally{te=r,xt.transition=n,Z=t,!(Z&6)&&pr()}}function Af(){rt=mi.current,se(mi)}function Ir(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,eT(n)),be!==null)for(n=be.return;n!==null;){var r=n;switch(lf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Wa();break;case 3:Ui(),se(Je),se($e),yf();break;case 5:gf(r);break;case 4:Ui();break;case 13:se(fe);break;case 19:se(fe);break;case 10:ff(r.type._context);break;case 22:case 23:Af()}n=n.return}if(Re=e,be=e=nr(e.current,null),je=rt=t,ke=0,os=null,Ef=Ml=Br=0,Xe=Io=null,Er!==null){for(t=0;t<Er.length;t++)if(n=Er[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}Er=null}return e}function p0(e,t){do{var n=be;try{if(df(),va.current=Ja,Za){for(var r=pe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Za=!1}if($r=0,Ae=Ee=pe=null,Do=!1,ns=0,Cf.current=null,n===null||n.return===null){ke=1,os=t,be=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=je,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=Mp(s);if(h!==null){h.flags&=-257,Np(h,s,a,o,t),h.mode&1&&Rp(o,u,t),t=h,l=u;var w=t.updateQueue;if(w===null){var g=new Set;g.add(l),t.updateQueue=g}else w.add(l);break e}else{if(!(t&1)){Rp(o,u,t),Rf();break e}l=Error(O(426))}}else if(ce&&a.mode&1){var S=Mp(s);if(S!==null){!(S.flags&65536)&&(S.flags|=256),Np(S,s,a,o,t),uf(Wi(l,a));break e}}o=l=Wi(l,a),ke!==4&&(ke=2),Io===null?Io=[o]:Io.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var m=Xv(o,l,t);Tp(o,m);break e;case 1:a=l;var p=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof p.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(er===null||!er.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var b=Zv(o,a,t);Tp(o,b);break e}}o=o.return}while(o!==null)}y0(n)}catch(T){t=T,be===n&&n!==null&&(be=n=n.return);continue}break}while(!0)}function m0(){var e=el.current;return el.current=Ja,e===null?Ja:e}function Rf(){(ke===0||ke===3||ke===2)&&(ke=4),Re===null||!(Br&268435455)&&!(Ml&268435455)||Fn(Re,je)}function rl(e,t){var n=Z;Z|=2;var r=m0();(Re!==e||je!==t)&&(cn=null,Ir(e,t));do try{ET();break}catch(i){p0(e,i)}while(!0);if(df(),Z=n,el.current=r,be!==null)throw Error(O(261));return Re=null,je=0,ke}function ET(){for(;be!==null;)g0(be)}function PT(){for(;be!==null&&!XS();)g0(be)}function g0(e){var t=x0(e.alternate,e,rt);e.memoizedProps=e.pendingProps,t===null?y0(e):be=t,Cf.current=null}function y0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=xT(n,t),n!==null){n.flags&=32767,be=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ke=6,be=null;return}}else if(n=vT(n,t,rt),n!==null){be=n;return}if(t=t.sibling,t!==null){be=t;return}be=t=e}while(t!==null);ke===0&&(ke=5)}function br(e,t,n){var r=te,i=xt.transition;try{xt.transition=null,te=1,kT(e,t,n,r)}finally{xt.transition=i,te=r}return null}function kT(e,t,n,r){do Ei();while(Kn!==null);if(Z&6)throw Error(O(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(O(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(ab(e,o),e===Re&&(be=Re=null,je=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ea||(ea=!0,w0(Va,function(){return Ei(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=xt.transition,xt.transition=null;var s=te;te=1;var a=Z;Z|=4,Cf.current=null,ST(e,n),d0(n,e),Gb(Ac),za=!!kc,Ac=kc=null,e.current=n,bT(n),ZS(),Z=a,te=s,xt.transition=o}else e.current=n;if(ea&&(ea=!1,Kn=e,nl=i),o=e.pendingLanes,o===0&&(er=null),tb(n.stateNode),tt(e,xe()),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(tl)throw tl=!1,e=Yc,Yc=null,e;return nl&1&&e.tag!==0&&Ei(),o=e.pendingLanes,o&1?e===Qc?_o++:(_o=0,Qc=e):_o=0,pr(),null}function Ei(){if(Kn!==null){var e=Xy(nl),t=xt.transition,n=te;try{if(xt.transition=null,te=16>e?16:e,Kn===null)var r=!1;else{if(e=Kn,Kn=null,nl=0,Z&6)throw Error(O(331));var i=Z;for(Z|=4,V=e.current;V!==null;){var o=V,s=o.child;if(V.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(V=u;V!==null;){var c=V;switch(c.tag){case 0:case 11:case 15:Lo(8,c,o)}var d=c.child;if(d!==null)d.return=c,V=d;else for(;V!==null;){c=V;var f=c.sibling,h=c.return;if(l0(c),c===u){V=null;break}if(f!==null){f.return=h,V=f;break}V=h}}}var w=o.alternate;if(w!==null){var g=w.child;if(g!==null){w.child=null;do{var S=g.sibling;g.sibling=null,g=S}while(g!==null)}}V=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,V=s;else e:for(;V!==null;){if(o=V,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Lo(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,V=m;break e}V=o.return}}var p=e.current;for(V=p;V!==null;){s=V;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,V=y;else e:for(s=p;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Rl(9,a)}}catch(T){ye(a,a.return,T)}if(a===s){V=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,V=b;break e}V=a.return}}if(Z=i,pr(),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(Sl,e)}catch{}r=!0}return r}finally{te=n,xt.transition=t}}return!1}function Wp(e,t,n){t=Wi(n,t),t=Xv(e,t,1),e=Jn(e,t,1),t=Ge(),e!==null&&(bs(e,1,t),tt(e,t))}function ye(e,t,n){if(e.tag===3)Wp(e,e,n);else for(;t!==null;){if(t.tag===3){Wp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(er===null||!er.has(r))){e=Wi(n,e),e=Zv(t,e,1),t=Jn(t,e,1),e=Ge(),t!==null&&(bs(t,1,e),tt(t,e));break}}t=t.return}}function AT(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ge(),e.pingedLanes|=e.suspendedLanes&n,Re===e&&(je&n)===n&&(ke===4||ke===3&&(je&130023424)===je&&500>xe()-Pf?Ir(e,0):Ef|=n),tt(e,t)}function v0(e,t){t===0&&(e.mode&1?(t=Ws,Ws<<=1,!(Ws&130023424)&&(Ws=4194304)):t=1);var n=Ge();e=xn(e,t),e!==null&&(bs(e,t,n),tt(e,n))}function RT(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),v0(e,n)}function MT(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(O(314))}r!==null&&r.delete(t),v0(e,n)}var x0;x0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Ze=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ze=!1,yT(e,t,n);Ze=!!(e.flags&131072)}else Ze=!1,ce&&t.flags&1048576&&Tv(t,Ga,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wa(e,t),e=t.pendingProps;var i=zi(t,$e.current);Ci(t,n),i=xf(null,t,r,e,i,n);var o=wf();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,et(r)?(o=!0,Ha(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,pf(t),i.updater=Al,t.stateNode=i,i._reactInternals=t,_c(t,r,e,n),t=zc(null,t,r,!0,o,n)):(t.tag=0,ce&&o&&af(t),Ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=jT(r),e=Mt(r,e),i){case 0:t=Fc(null,t,r,e,n);break e;case 1:t=Dp(null,t,r,e,n);break e;case 11:t=jp(null,t,r,e,n);break e;case 14:t=Op(null,t,r,Mt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Fc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Dp(e,t,r,i,n);case 3:e:{if(n0(t),e===null)throw Error(O(387));
vendor: 2,306 bytes, line 41
41r=t.pendingProps,o=t.memoizedState,i=o.element,Rv(e,t),qa(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=Wi(Error(O(423)),t),t=Lp(e,t,r,n,i);break e}else if(r!==i){i=Wi(Error(O(424)),t),t=Lp(e,t,r,n,i);break e}else for(ot=Zn(t.stateNode.containerInfo.firstChild),st=t,ce=!0,Lt=null,n=kv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($i(),r===i){t=wn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return Mv(t),e===null&&Dc(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Rc(r,i)?s=null:o!==null&&Rc(r,o)&&(t.flags|=32),t0(e,t),Ue(e,t,s,n),t.child;case 6:return e===null&&Dc(t),null;case 13:return r0(e,t,n);case 4:return mf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Bi(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),jp(e,t,r,i,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(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(Ya,r._currentValue),r._currentValue=s,o!==null)if(Ft(o.value,s)){if(o.children===i.children&&!Je.current){t=wn(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=gn(-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(O(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}Ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ci(t,n),i=St(i),r=r(i),t.flags|=1,Ue(e,t,r,n),t.child;
vendor: 6,744 bytes, line 41
41case 14:return r=t.type,i=Mt(r,t.pendingProps),i=Mt(r.type,i),Op(e,t,r,i,n);case 15:return Jv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),wa(e,t),t.tag=1,et(r)?(e=!0,Ha(t)):e=!1,Ci(t,n),qv(t,r,i),_c(t,r,i,n),zc(null,t,r,!0,e,n);case 19:return i0(e,t,n);case 22:return e0(e,t,n)}throw Error(O(156,t.tag))};function w0(e,t){return Gy(e,t)}function NT(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 yt(e,t,n,r){return new NT(e,t,n,r)}function Mf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jT(e){if(typeof e=="function")return Mf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yd)return 11;if(e===Qd)return 14}return 2}function nr(e,t){var n=e.alternate;return n===null?(n=yt(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 Ta(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Mf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case oi:return _r(n.children,i,o,t);case Gd:s=8,i|=8;break;case ac:return e=yt(12,n,t,i|2),e.elementType=ac,e.lanes=o,e;case lc:return e=yt(13,n,t,i),e.elementType=lc,e.lanes=o,e;case uc:return e=yt(19,n,t,i),e.elementType=uc,e.lanes=o,e;case My:return Nl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ay:s=10;break e;case Ry:s=9;break e;case Yd:s=11;break e;case Qd:s=14;break e;case In:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=yt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function _r(e,t,n,r){return e=yt(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=yt(22,e,r,t),e.elementType=My,e.lanes=n,e.stateNode={isHidden:!1},e}function Au(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function Ru(e,t,n){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function OT(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=uu(0),this.expirationTimes=uu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Nf(e,t,n,r,i,o,s,a,l){return e=new OT(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=yt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},pf(o),e}function DT(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ii,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function S0(e){if(!e)return or;e=e._reactInternals;e:{if(Kr(e)!==e||e.tag!==1)throw Error(O(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(et(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(O(171))}if(e.tag===1){var n=e.type;if(et(n))return Sv(e,n,t)}return t}function b0(e,t,n,r,i,o,s,a,l){return e=Nf(n,r,!0,e,i,o,s,a,l),e.context=S0(null),n=e.current,r=Ge(),i=tr(n),o=gn(r,i),o.callback=t??null,Jn(n,o,i),e.current.lanes=i,bs(e,i,r),tt(e,r),e}function jl(e,t,n,r){var i=t.current,o=Ge(),s=tr(i);return n=S0(n),t.context===null?t.context=n:t.pendingContext=n,t=gn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Jn(i,t,s),e!==null&&(Vt(e,i,s,o),ya(e,i,s)),s}function il(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 Hp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function jf(e,t){Hp(e,t),(e=e.alternate)&&Hp(e,t)}function LT(){return null}var T0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Of(e){this._internalRoot=e}Ol.prototype.render=Of.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(O(409));jl(e,t,null,null)};Ol.prototype.unmount=Of.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ur(function(){jl(null,e,null,null)}),t[vn]=null}};function Ol(e){this._internalRoot=e}Ol.prototype.unstable_scheduleHydration=function(e){if(e){var t=ev();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Vn.length&&t!==0&&t<Vn[n].priority;n++);Vn.splice(n,0,e),n===0&&nv(e)}};function Df(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Kp(){}function IT(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=il(s);o.call(u)}}var s=b0(t,r,e,0,null,!1,!1,"",Kp);return e._reactRootContainer=s,e[vn]=s.current,Xo(e.nodeType===8?e.parentNode:e),Ur(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=il(l);a.call(u)}}var l=Nf(e,0,!1,null,null,!1,!1,"",Kp);return e._reactRootContainer=l,e[vn]=l.current,Xo(e.nodeType===8?e.parentNode:e),Ur(function(){jl(t,l,n,r)}),l}function Ll(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=il(s);a.call(l)}}jl(t,s,e,i)}else s=IT(n,t,e,i,r);return il(s)}Zy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Eo(t.pendingLanes);n!==0&&(Zd(t,n|1),tt(t,xe()),!(Z&6)&&(Hi=xe()+500,pr()))}break;case 13:Ur(function(){var r=xn(e,1);if(r!==null){var i=Ge();Vt(r,e,1,i)}}),jf(e,1)}};Jd=function(e){if(e.tag===13){var t=xn(e,134217728);if(t!==null){var n=Ge();Vt(t,e,134217728,n)}jf(e,134217728)}};Jy=function(e){if(e.tag===13){var t=tr(e),n=xn(e,t);if(n!==null){var r=Ge();Vt(n,e,t,r)}jf(e,t)}};ev=function(){return te};tv=function(e,t){var n=te;
41try{return te=e,t()}finally{te=n}};xc=function(e,t,n){switch(t){case"input":if(fc(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=El(r);if(!i)throw Error(O(90));jy(r),fc(r,i)}}}break;case"textarea":Dy(e,n);break;case"select":t=n.value,t!=null&&wi(e,!!n.multiple,t,!1)}};$y=kf;By=Ur;var _T={usingClientEntryPoint:!1,Events:[Cs,ui,El,Fy,zy,kf]},yo={findFiberByHostInstance:Cr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},VT={bundleType:yo.bundleType,version:yo.version,rendererPackageName:yo.rendererPackageName,rendererConfig:yo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Cn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Hy(e),e===null?null:e.stateNode},findFiberByHostInstance:yo.findFiberByHostInstance||LT,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 ta=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ta.isDisabled&&ta.supportsFiber)try{Sl=ta.inject(VT),qt=ta}catch{}}ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_T;ut.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Df(t))throw Error(O(200));return DT(e,t,null,n)};ut.createRoot=function(e,t){if(!Df(e))throw Error(O(299));var n=!1,r="",i=T0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Nf(e,1,!1,null,null,n,!1,r,i),e[vn]=t.current,Xo(e.nodeType===8?e.parentNode:e),new Of(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(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=Hy(t),e=e===null?null:e.stateNode,e};ut.flushSync=function(e){return Ur(e)};ut.hydrate=function(e,t,n){if(!Dl(t))throw Error(O(200));return Ll(null,e,t,!0,n)};ut.hydrateRoot=function(e,t,n){if(!Df(e))throw Error(O(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=T0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=b0(t,null,e,1,n??null,i,!1,o,s),e[vn]=t.current,Xo(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 Ol(t)};ut.render=function(e,t,n){if(!Dl(t))throw Error(O(200));return Ll(null,e,t,!1,n)};ut.unmountComponentAtNode=function(e){if(!Dl(e))throw Error(O(40));return e._reactRootContainer?(Ur(function(){Ll(null,null,e,!1,function(){e._reactRootContainer=null,e[vn]=null})}),!0):!1};ut.unstable_batchedUpdates=kf;ut.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Dl(n))throw Error(O(200));if(e==null||e._reactInternals===void 0)throw Error(O(38));return Ll(e,t,n,!1,r)};ut.version="18.3.1-next-f1338f8080-20240426";function C0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(C0)}catch(e){console.error(e)}}C0(),Cy.exports=ut;var Ps=Cy.exports;const E0=ws(Ps);var P0,Gp=Ps;P0=Gp.createRoot,Gp.hydrateRoot;var FT=typeof Element<"u",zT=typeof Map=="function",$T=typeof Set=="function",BT=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ca(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ca(e[r],t[r]))return!1;return!0}var o;if(zT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!Ca(r.value[1],t.get(r.value[0])))return!1;return!0}if($T&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(BT&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(FT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Ca(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var UT=function(t,n){try{return Ca(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const WT=ws(UT);var HT=function(e,t,n,r,i,o,s,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,s,a],c=0;
41l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},KT=HT;const Yp=ws(KT);var GT=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<s.length;u++){var c=s[u];if(!l(c))return!1;var d=t[c],f=n[c];if(o=r?r.call(i,d,f,c):void 0,o===!1||o===void 0&&d!==f)return!1}return!0};const YT=ws(GT);var k0=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(k0||{}),Mu={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Qp=Object.values(k0),Il={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},A0=Object.entries(Il).reduce((e,[t,n])=>(e[n]=t,e),{}),It="data-rh",Pi={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ki=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},QT=e=>{let t=ki(e,"title");const n=ki(e,Pi.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=ki(e,Pi.DEFAULT_TITLE);return t||r||void 0},qT=e=>ki(e,Pi.ON_CHANGE_CLIENT_STATE)||(()=>{}),Nu=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),XT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let o=0;o<i.length;o+=1){const a=i[o].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),ZT=e=>console&&typeof console.warn=="function"&&console.warn(e),vo=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&ZT(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,o)=>{const s={};o.filter(l=>{let u;const c=Object.keys(l);for(let f=0;f<c.length;f+=1){const h=c[f],w=h.toLowerCase();t.indexOf(w)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(w==="rel"&&l[w].toLowerCase()==="stylesheet")&&(u=w),t.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(u=h)}if(!u||!l[u])return!1;const d=l[u].toLowerCase();return r[u]||(r[u]={}),s[u]||(s[u]={}),r[u][d]?!1:(s[u][d]=!0,!0)}).reverse().forEach(l=>i.push(l));const a=Object.keys(s);for(let l=0;l<a.length;l+=1){const u=a[l],c={...r[u],...s[u]};r[u]=c}return i},[]).reverse()},JT=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},eC=e=>({baseTag:XT(["href"],e),bodyAttributes:Nu("bodyAttributes",e),defer:ki(e,Pi.DEFER),encode:ki(e,Pi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Nu("htmlAttributes",e),linkTags:vo("link",["rel","href"],e),metaTags:vo("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:vo("noscript",["innerHTML"],e),onChangeClientState:qT(e),scriptTags:vo("script",["src","innerHTML"],e),styleTags:vo("style",["cssText"],e),title:QT(e),titleAttributes:Nu("titleAttributes",e),prioritizeSeoTags:JT(e,Pi.PRIORITIZE_SEO_TAGS)}),R0=e=>Array.isArray(e)?e.join(""):e,tC=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},ju=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(tC(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},qp=(e,t)=>({...e,[t]:void 0}),nC=["noscript","script","style"],Zc=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),M0=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),rC=(e,t,n,r)=>{const i=M0(n),o=R0(t);return i?`<${e} ${It}="true" ${i}>${Zc(o,r)}</${e}>`:`<${e} ${It}="true">${Zc(o,r)}</${e}>`},iC=(e,t,n=!0)=>t.reduce((r,i)=>{const o=i,s=Object.keys(o).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,c)=>{const d=typeof o[c]>"u"?c:`${c}="${Zc(o[c],n)}"`;return u?`${u} ${d}`:d},""),a=o.innerHTML||o.cssText||"",l=nC.indexOf(e)===-1;return`${r}<${e} ${It}="true" ${s}${l?"/>":`>${a}</${e}>`}`},""),N0=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Il[r];return n[i||r]=e[r],n},t),oC=(e,t,n)=>{const r={key:t,[It]:!0},i=N0(n,r);return[M.createElement("title",i,t)]},Ea=(e,t)=>t.map((n,r)=>{const i={key:r,[It]:!0};
41return Object.keys(n).forEach(o=>{const a=Il[o]||o;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[a]=n[o]}),M.createElement(e,i)}),ht=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>oC(e,t.title,t.titleAttributes),toString:()=>rC(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>N0(t),toString:()=>M0(t)};default:return{toComponent:()=>Ea(e,t),toString:()=>iC(e,t,n)}}},sC=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=ju(e,Mu.meta),o=ju(t,Mu.link),s=ju(n,Mu.script);return{priorityMethods:{toComponent:()=>[...Ea("meta",i.priority),...Ea("link",o.priority),...Ea("script",s.priority)],toString:()=>`${ht("meta",i.priority,r)} ${ht("link",o.priority,r)} ${ht("script",s.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:s.default}},aC=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:s,title:a="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:c,metaTags:d,scriptTags:f}=e,h={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:h,linkTags:c,metaTags:d,scriptTags:f}=sC(e)),{priority:h,base:ht("base",t,r),bodyAttributes:ht("bodyAttributes",n,r),htmlAttributes:ht("htmlAttributes",i,r),link:ht("link",c,r),meta:ht("meta",d,r),noscript:ht("noscript",o,r),script:ht("script",f,r),style:ht("style",s,r),title:ht("title",{title:a,titleAttributes:l},r)}},Jc=aC,na=[],Lf=!!(typeof window<"u"&&window.document&&window.document.createElement),ed=class{constructor(e,t){sn(this,"instances",[]);sn(this,"canUseDOM",Lf);sn(this,"context");sn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?na:this.instances,add:e=>{(this.canUseDOM?na:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?na:this.instances).indexOf(e);(this.canUseDOM?na:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Jc({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},lC=parseInt(M.version.split(".")[0],10),td=lC>=19,uC={},j0=M.createContext(uC),Rr,O0=(Rr=class extends v.Component{constructor(n){super(n);sn(this,"helmetData");td?this.helmetData=null:this.helmetData=new ed(this.props.context||{},Rr.canUseDOM)}render(){return td?M.createElement(M.Fragment,null,this.props.children):M.createElement(j0.Provider,{value:this.helmetData.value},this.props.children)}},sn(Rr,"canUseDOM",Lf),Rr),ri=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${It}]`),i=[].slice.call(r),o=[];let s;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")l.innerHTML=a.innerHTML;else if(u==="cssText"){const c=a.cssText;l.appendChild(document.createTextNode(c))}else{const c=u,d=typeof a[c]>"u"?"":a[c];l.setAttribute(u,d)}l.setAttribute(It,"true"),i.some((u,c)=>(s=c,l.isEqualNode(u)))?i.splice(s,1):o.push(l)}),i.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),o.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:o}},nd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(It),i=r?r.split(","):[],o=[...i],s=Object.keys(t);for(const a of s){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),i.indexOf(a)===-1&&i.push(a);const u=o.indexOf(a);u!==-1&&o.splice(u,1)}for(let a=o.length-1;a>=0;a-=1)n.removeAttribute(o[a]);i.length===o.length?n.removeAttribute(It):n.getAttribute(It)!==s.join(",")&&n.setAttribute(It,s.join(","))},cC=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=R0(e)),nd("title",t)},Xp=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:s,noscriptTags:a,onChangeClientState:l,scriptTags:u,styleTags:c,title:d,titleAttributes:f}=e;nd("body",r),nd("html",i),cC(d,f);const h={baseTag:ri("base",n),linkTags:ri("link",o),metaTags:ri("meta",s),noscriptTags:ri("noscript",a),scriptTags:ri("script",u),styleTags:ri("style",c)},w={},g={};
41Object.keys(h).forEach(S=>{const{newTags:m,oldTags:p}=h[S];m.length&&(w[S]=m),p.length&&(g[S]=h[S].oldTags)}),t&&t(),l(e,w,g)},xo=null,dC=e=>{xo&&cancelAnimationFrame(xo),e.defer?xo=requestAnimationFrame(()=>{Xp(e,()=>{xo=null})}):(Xp(e),xo=null)},fC=dC,Zp=class extends v.Component{constructor(){super(...arguments);sn(this,"rendered",!1)}shouldComponentUpdate(t){return!YT(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=eC(t.get().map(o=>{const{context:s,...a}=o.props;return a}));O0.canUseDOM?fC(i):Jc&&(r=Jc(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Pa=[],Jp=e=>{const t={};for(const n of Object.keys(e))t[A0[n]||n]=e[n];return t},xr=e=>{const t={};for(const n of Object.keys(e)){const r=Il[n];t[r||n]=e[n]}return t},em=(e,t)=>{if(!Lf)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",i=n.getAttribute(r),o=i?i.split(","):[],s=Object.keys(t);for(const a of o)s.includes(a)||n.removeAttribute(a);for(const a of s){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}s.length>0?n.setAttribute(r,s.join(",")):n.removeAttribute(r)},Ou=()=>{const e={},t={};for(const n of Pa){const{htmlAttributes:r,bodyAttributes:i}=n.props;r&&Object.assign(e,Jp(r)),i&&Object.assign(t,Jp(i))}em("html",e),em("body",t)},hC=class extends v.Component{componentDidMount(){Pa.push(this),Ou()}componentDidUpdate(){Ou()}componentWillUnmount(){const e=Pa.indexOf(this);e!==-1&&Pa.splice(e,1),Ou()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return M.createElement("title",xr(t),e)}renderBase(){const{base:e}=this.props;return e?M.createElement("base",xr(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>M.createElement("meta",{key:n,...xr(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>M.createElement("link",{key:n,...xr(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,o=xr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),M.createElement("script",{key:n,...o})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...i}=t,o=xr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),M.createElement("style",{key:n,...o})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,o=xr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),M.createElement("noscript",{key:n,...o})})}render(){return M.createElement(M.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},oc,pC=(oc=class extends v.Component{shouldComponentUpdate(e){return!WT(qp(this.props,"helmetData"),qp(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
41warnOnInvalidChildren(e,t){return Yp(Qp.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Qp.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Yp(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return M.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...o}=r.props,s=Object.keys(o).reduce((l,u)=>(l[A0[u]||u]=o[u],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,s,i);break;default:t=this.mapObjectTypeChildren(r,t,s,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof ed)){const i=r;r=new ed(i.context,!0),delete n.helmetData}return td?M.createElement(hC,{...n}):r?M.createElement(Zp,{...n,context:r.value}):M.createElement(j0.Consumer,null,i=>M.createElement(Zp,{...n,context:i}))}},sn(oc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),oc);const mC="modulepreload",gC=function(e){return"/"+e},tm={},Gr=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(n.map(l=>{if(l=gC(l),l in tm)return;tm[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":mC,u||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((f,h)=>{d.addEventListener("load",f),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},yC=1,vC=1e6;let Du=0;function xC(){return Du=(Du+1)%Number.MAX_SAFE_INTEGER,Du.toString()}const Lu=new Map,nm=e=>{if(Lu.has(e))return;const t=setTimeout(()=>{Lu.delete(e),Vo({type:"REMOVE_TOAST",toastId:e})},vC);Lu.set(e,t)},wC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,yC)};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?nm(n):e.toasts.forEach(r=>{nm(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)}}},ka=[];let Aa={toasts:[]};function Vo(e){Aa=wC(Aa,e),ka.forEach(t=>{t(Aa)})}function SC({...e}){const t=xC(),n=i=>Vo({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Vo({type:"DISMISS_TOAST",toastId:t});return Vo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function bC(){const[e,t]=v.useState(Aa);return v.useEffect(()=>(ka.push(t),()=>{const n=ka.indexOf(t);n>-1&&ka.splice(n,1)}),[e]),{...e,toast:SC,dismiss:n=>Vo({type:"DISMISS_TOAST",toastId:n})}}function Pe(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 rm(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function D0(...e){return t=>{let n=!1;const r=e.map(i=>{const o=rm(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():rm(e[i],null)}}}}function zt(...e){return v.useCallback(D0(...e),e)}function _l(e,t=[]){let n=[];function r(o,s){const a=v.createContext(s),l=n.length;n=[...n,s];const u=d=>{var m;const{scope:f,children:h,...w}=d,g=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,S=v.useMemo(()=>w,Object.values(w));return x.jsx(g.Provider,{value:S,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,w=v.useContext(h);if(w)return w;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=>v.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return v.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,TC(i,...t)]}function TC(...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 v.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ol(e){const t=EC(e),n=v.forwardRef((r,i)=>{const{children:o,...s}=r,a=v.Children.toArray(o),l=a.find(kC);if(l){const u=l.props.children,c=a.map(d=>d===l?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return x.jsx(t,{...s,ref:i,children:v.isValidElement(u)?v.cloneElement(u,void 0,c):null})}return x.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var CC=ol("Slot");function EC(e){const t=v.forwardRef((n,r)=>{const{children:i,...o}=n;if(v.isValidElement(i)){const s=RC(i),a=AC(o,i.props);return i.type!==v.Fragment&&(a.ref=r?D0(r,s):s),v.cloneElement(i,a)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var L0=Symbol("radix.slottable");function PC(e){const t=({children:n})=>x.jsx(x.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=L0,t}function kC(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===L0}function AC(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}
vendor: 9,308 bytes, line 41
41:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function RC(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 MC(e){const t=e+"CollectionProvider",[n,r]=_l(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:S,children:m}=g,p=M.useRef(null),y=M.useRef(new Map).current;return x.jsx(i,{scope:S,itemMap:y,collectionRef:p,children:m})};s.displayName=t;const a=e+"CollectionSlot",l=ol(a),u=M.forwardRef((g,S)=>{const{scope:m,children:p}=g,y=o(a,m),b=zt(S,y.collectionRef);return x.jsx(l,{ref:b,children:p})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=ol(c),h=M.forwardRef((g,S)=>{const{scope:m,children:p,...y}=g,b=M.useRef(null),T=zt(S,b),C=o(c,m);return M.useEffect(()=>(C.itemMap.set(b,{ref:b,...y}),()=>void C.itemMap.delete(b))),x.jsx(f,{[d]:"",ref:T,children:p})});h.displayName=c;function w(g){const S=o(e+"CollectionConsumer",g);return M.useCallback(()=>{const p=S.collectionRef.current;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${d}]`));return Array.from(S.itemMap.values()).sort((C,E)=>y.indexOf(C.ref.current)-y.indexOf(E.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},w,r]}var NC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],nt=NC.reduce((e,t)=>{const n=ol(`Primitive.${t}`),r=v.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function I0(e,t){e&&Ps.flushSync(()=>e.dispatchEvent(t))}function sr(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function jC(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e);v.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 OC="DismissableLayer",rd="dismissableLayer.update",DC="dismissableLayer.pointerDownOutside",LC="dismissableLayer.focusOutside",im,_0=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),If=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=v.useContext(_0),[c,d]=v.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=v.useState({}),w=zt(t,E=>d(E)),g=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=g.indexOf(S),p=c?g.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,b=p>=m,T=_C(E=>{const P=E.target,N=[...u.branches].some(j=>j.contains(P));!b||N||(i==null||i(E),s==null||s(E),E.defaultPrevented||a==null||a())},f),C=VC(E=>{const P=E.target;[...u.branches].some(j=>j.contains(P))||(o==null||o(E),s==null||s(E),E.defaultPrevented||a==null||a())},f);return jC(E=>{p===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},f),v.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(im=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),om(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=im)}},[c,f,n,u]),v.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),om())},[c,u]),v.useEffect(()=>{const E=()=>h({});return document.addEventListener(rd,E),()=>document.removeEventListener(rd,E)},[]),x.jsx(nt.div,{...l,ref:w,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,T.onPointerDownCapture)})});If.displayName=OC;var IC="DismissableLayerBranch",V0=v.forwardRef((e,t)=>{const n=v.useContext(_0),r=v.useRef(null),i=zt(t,r);return v.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),x.jsx(nt.div,{...e,ref:i})});V0.displayName=IC;function _C(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){F0(DC,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 VC(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=v.useRef(!1);return v.useEffect(()=>{const i=o=>{o.target&&!r.current&&F0(LC,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 om(){const e=new CustomEvent(rd);document.dispatchEvent(e)}function F0(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?I0(i,o):i.dispatchEvent(o)}var FC=If,zC=V0,ar=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},$C="Portal",z0=v.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=v.useState(!1);ar(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?E0.createPortal(x.jsx(nt.div,{...r,ref:t}),s):null});z0.displayName=$C;function BC(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var _f=e=>{const{present:t,children:n}=e,r=UC(t),i=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),o=zt(r.ref,WC(i));return typeof n=="function"||r.isPresent?v.cloneElement(i,{ref:o}):null};_f.displayName="Presence";function UC(e){const[t,n]=v.useState(),r=v.useRef(null),i=v.useRef(e),o=v.useRef("none"),s=e?"mounted":"unmounted",[a,l]=BC(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const u=ra(r.current);o.current=a==="mounted"?u:"none"},[a]),ar(()=>{const u=r.current,c=i.current;if(c!==e){const f=o.current,h=ra(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]),ar(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const g=ra(r.current).includes(h.animationName);if(h.target===t&&g&&(l("ANIMATION_END"),!i.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},f=h=>{h.target===t&&(o.current=ra(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:v.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ra(e){return(e==null?void 0:e.animationName)||"none"}function WC(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 HC=by[" useInsertionEffect ".trim().toString()]||ar;function KC({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=GC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=v.useRef(e!==void 0);v.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=v.useCallback(c=>{var d;if(a){const f=YC(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 GC({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),i=v.useRef(n),o=v.useRef(t);return HC(()=>{o.current=t},[t]),v.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function YC(e){return typeof e=="function"}var QC=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"}),qC="VisuallyHidden",Vl=v.forwardRef((e,t)=>
41x.jsx(nt.span,{...e,ref:t,style:{...QC,...e.style}}));Vl.displayName=qC;var XC=Vl,Vf="ToastProvider",[Ff,ZC,JC]=MC("Toast"),[$0,RD]=_l("Toast",[JC]),[eE,Fl]=$0(Vf),B0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=v.useState(null),[u,c]=v.useState(0),d=v.useRef(!1),f=v.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Vf}\`. Expected non-empty \`string\`.`),x.jsx(Ff.Provider,{scope:t,children:x.jsx(eE,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:v.useCallback(()=>c(h=>h+1),[]),onToastRemove:v.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};B0.displayName=Vf;var U0="ToastViewport",tE=["F8"],id="toast.viewportPause",od="toast.viewportResume",W0=v.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=tE,label:i="Notifications ({hotkey})",...o}=e,s=Fl(U0,n),a=ZC(n),l=v.useRef(null),u=v.useRef(null),c=v.useRef(null),d=v.useRef(null),f=zt(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=s.toastCount>0;v.useEffect(()=>{const S=m=>{var y;r.length!==0&&r.every(b=>m[b]||m.code===b)&&((y=d.current)==null||y.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),v.useEffect(()=>{const S=l.current,m=d.current;if(w&&S&&m){const p=()=>{if(!s.isClosePausedRef.current){const C=new CustomEvent(id);m.dispatchEvent(C),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const C=new CustomEvent(od);m.dispatchEvent(C),s.isClosePausedRef.current=!1}},b=C=>{!S.contains(C.relatedTarget)&&y()},T=()=>{S.contains(document.activeElement)||y()};return S.addEventListener("focusin",p),S.addEventListener("focusout",b),S.addEventListener("pointermove",p),S.addEventListener("pointerleave",T),window.addEventListener("blur",p),window.addEventListener("focus",y),()=>{S.removeEventListener("focusin",p),S.removeEventListener("focusout",b),S.removeEventListener("pointermove",p),S.removeEventListener("pointerleave",T),window.removeEventListener("blur",p),window.removeEventListener("focus",y)}}},[w,s.isClosePausedRef]);const g=v.useCallback(({tabbingDirection:S})=>{const p=a().map(y=>{const b=y.ref.current,T=[b,...pE(b)];return S==="forwards"?T:T.reverse()});return(S==="forwards"?p.reverse():p).flat()},[a]);return v.useEffect(()=>{const S=d.current;if(S){const m=p=>{var T,C,E;const y=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!y){const P=document.activeElement,N=p.shiftKey;if(p.target===S&&N){(T=u.current)==null||T.focus();return}const I=g({tabbingDirection:N?"backwards":"forwards"}),G=I.findIndex(D=>D===P);Iu(I.slice(G+1))?p.preventDefault():N?(C=u.current)==null||C.focus():(E=c.current)==null||E.focus()}};return S.addEventListener("keydown",m),()=>S.removeEventListener("keydown",m)}},[a,g]),x.jsxs(zC,{ref:l,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&x.jsx(sd,{ref:u,onFocusFromOutsideViewport:()=>{const S=g({tabbingDirection:"forwards"});Iu(S)}}),x.jsx(Ff.Slot,{scope:n,children:x.jsx(nt.ol,{tabIndex:-1,...o,ref:f})}),w&&x.jsx(sd,{ref:c,onFocusFromOutsideViewport:()=>{const S=g({tabbingDirection:"backwards"});Iu(S)}})]})});W0.displayName=U0;var H0="ToastFocusProxy",sd=v.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=Fl(H0,n);return x.jsx(Vl,{"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()}})});sd.displayName=H0;var ks="Toast",nE="toast.swipeStart",rE="toast.swipeMove",iE="toast.swipeCancel",oE="toast.swipeEnd",K0=v.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=KC({prop:r,defaultProp:i??!0,onChange:o,caller:ks});return x.jsx(_f,{present:n||a,children:x.jsx(lE,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:sr(e.onPause),onResume:sr(e.onResume),onSwipeStart:Pe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Pe(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:Pe(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:Pe(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)})})})});K0.displayName=ks;var[sE,aE]=$0(ks,{onClose(){}}),lE=v.forwardRef((e,t)=>
41{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,...w}=e,g=Fl(ks,n),[S,m]=v.useState(null),p=zt(t,D=>m(D)),y=v.useRef(null),b=v.useRef(null),T=i||g.duration,C=v.useRef(0),E=v.useRef(T),P=v.useRef(0),{onToastAdd:N,onToastRemove:j}=g,z=sr(()=>{var Y;(S==null?void 0:S.contains(document.activeElement))&&((Y=g.viewport)==null||Y.focus()),s()}),I=v.useCallback(D=>{!D||D===1/0||(window.clearTimeout(P.current),C.current=new Date().getTime(),P.current=window.setTimeout(z,D))},[z]);v.useEffect(()=>{const D=g.viewport;if(D){const Y=()=>{I(E.current),u==null||u()},B=()=>{const F=new Date().getTime()-C.current;E.current=E.current-F,window.clearTimeout(P.current),l==null||l()};return D.addEventListener(id,B),D.addEventListener(od,Y),()=>{D.removeEventListener(id,B),D.removeEventListener(od,Y)}}},[g.viewport,T,l,u,I]),v.useEffect(()=>{o&&!g.isClosePausedRef.current&&I(T)},[o,T,g.isClosePausedRef,I]),v.useEffect(()=>(N(),()=>j()),[N,j]);const G=v.useMemo(()=>S?J0(S):null,[S]);return g.viewport?x.jsxs(x.Fragment,{children:[G&&x.jsx(uE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),x.jsx(sE,{scope:n,onClose:z,children:Ps.createPortal(x.jsx(Ff.ItemSlot,{scope:n,children:x.jsx(FC,{asChild:!0,onEscapeKeyDown:Pe(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||z(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:x.jsx(nt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":g.swipeDirection,...w,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Pe(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:Pe(e.onPointerDown,D=>{D.button===0&&(y.current={x:D.clientX,y:D.clientY})}),onPointerMove:Pe(e.onPointerMove,D=>{if(!y.current)return;const Y=D.clientX-y.current.x,B=D.clientY-y.current.y,F=!!b.current,k=["left","right"].includes(g.swipeDirection),R=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,L=k?R(0,Y):0,U=k?0:R(0,B),$=D.pointerType==="touch"?10:2,Q={x:L,y:U},X={originalEvent:D,delta:Q};F?(b.current=Q,ia(rE,d,X,{discrete:!1})):sm(Q,g.swipeDirection,$)?(b.current=Q,ia(nE,c,X,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(Y)>$||Math.abs(B)>$)&&(y.current=null)}),onPointerUp:Pe(e.onPointerUp,D=>{const Y=b.current,B=D.target;if(B.hasPointerCapture(D.pointerId)&&B.releasePointerCapture(D.pointerId),b.current=null,y.current=null,Y){const F=D.currentTarget,k={originalEvent:D,delta:Y};sm(Y,g.swipeDirection,g.swipeThreshold)?ia(oE,h,k,{discrete:!0}):ia(iE,f,k,{discrete:!0}),F.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),uE=e=>{const{__scopeToast:t,children:n,...r}=e,i=Fl(ks,t),[o,s]=v.useState(!1),[a,l]=v.useState(!1);return fE(()=>s(!0)),v.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:x.jsx(z0,{asChild:!0,children:x.jsx(Vl,{...r,children:o&&x.jsxs(x.Fragment,{children:[i.label," ",n]})})})},cE="ToastTitle",G0=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return x.jsx(nt.div,{...r,ref:t})});G0.displayName=cE;var dE="ToastDescription",Y0=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return x.jsx(nt.div,{...r,ref:t})});Y0.displayName=dE;var Q0="ToastAction",q0=v.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?x.jsx(Z0,{altText:n,asChild:!0,children:x.jsx(zf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Q0}\`. Expected non-empty \`string\`.`),null)});q0.displayName=Q0;var X0="ToastClose",zf=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=aE(X0,n);return x.jsx(Z0,{asChild:!0,children:x.jsx(nt.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,i.onClose)})})});zf.displayName=X0;var Z0=v.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return x.jsx(nt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function J0(e){const t=[];
vendor: 4,279 bytes, lines 41-66
41return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),hE(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(...J0(r))}}),t}function ia(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?I0(i,o):i.dispatchEvent(o)}var sm=(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 fE(e=()=>{}){const t=sr(e);ar(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function hE(e){return e.nodeType===e.ELEMENT_NODE}function pE(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 Iu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var mE=B0,ex=W0,tx=K0,nx=G0,rx=Y0,ix=q0,ox=zf;function sx(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=sx(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ax(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=sx(e))&&(r&&(r+=" "),r+=t);return r}const am=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,lm=ax,lx=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return lm(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=am(c)||am(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(w=>{let[g,S]=w;return Array.isArray(S)?S.includes({...o,...a}[g]):{...o,...a}[g]===S})?[...u,d,f]:u},[]);return lm(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
42 * @license lucide-react v0.462.0 - ISC
43 *
44 * This source code is licensed under the ISC license.
45 * See the LICENSE file in the root directory of this source tree.
46 */const gE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ux=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
47 * @license lucide-react v0.462.0 - ISC
48 *
49 * This source code is licensed under the ISC license.
50 * See the LICENSE file in the root directory of this source tree.
51 */var yE={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"};/**
52 * @license lucide-react v0.462.0 - ISC
53 *
54 * This source code is licensed under the ISC license.
55 * See the LICENSE file in the root directory of this source tree.
56 */const vE=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...a},l)=>v.createElement("svg",{ref:l,...yE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ux("lucide",i),...a},[...s.map(([u,c])=>v.createElement(u,c)),...Array.isArray(o)?o:[o]]));/**
57 * @license lucide-react v0.462.0 - ISC
58 *
59 * This source code is licensed under the ISC license.
60 * See the LICENSE file in the root directory of this source tree.
61 */const le=(e,t)=>{const n=v.forwardRef(({className:r,...i},o)=>v.createElement(vE,{ref:o,iconNode:t,className:ux(`lucide-${gE(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
62 * @license lucide-react v0.462.0 - ISC
63 *
64 * This source code is licensed under the ISC license.
65 * See the LICENSE file in the root directory of this source tree.
66 */const xE=le("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
66-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
67 * @license lucide-react v0.462.0 - ISC
68 *
69 * This source code is licensed under the ISC license.
70 * See the LICENSE file in the root directory of this source tree.
71 */const cx=le("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
72 * @license lucide-react v0.462.0 - ISC
73 *
74 * This source code is licensed under the ISC license.
75 * See the LICENSE file in the root directory of this source tree.
76 */const wE=le("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
77 * @license lucide-react v0.462.0 - ISC
78 *
79 * This source code is licensed under the ISC license.
80 * See the LICENSE file in the root directory of this source tree.
81 */const SE=le("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
82 * @license lucide-react v0.462.0 - ISC
83 *
84 * This source code is licensed under the ISC license.
85 * See the LICENSE file in the root directory of this source tree.
86 */const bE=le("Crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);/**
87 * @license lucide-react v0.462.0 - ISC
88 *
89 * This source code is licensed under the ISC license.
90 * See the LICENSE file in the root directory of this source tree.
91 */const TE=le("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
92 * @license lucide-react v0.462.0 - ISC
93 *
94 * This source code is licensed under the ISC license.
95 * See the LICENSE file in the root directory of this source tree.
96 */const CE=le("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
97 * @license lucide-react v0.462.0 - ISC
98 *
99 * This source code is licensed under the ISC license.
100 * See the LICENSE file in the root directory of this source tree.
101 */const EE=le("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
102 * @license lucide-react v0.462.0 - ISC
103 *
104 * This source code is licensed under the ISC license.
105 * See the LICENSE file in the root directory of this source tree.
106 */const PE=le("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
107 * @license lucide-react v0.462.0 - ISC
108 *
109 * This source code is licensed under the ISC license.
110 * See the LICENSE file in the root directory of this source tree.
111 */const kE=le("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
112 * @license lucide-react v0.462.0 - ISC
113 *
114 * This source code is licensed under the ISC license.
115 * See the LICENSE file in the root directory of this source tree.
116 */const AE=le("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/**
117 * @license lucide-react v0.462.0 - ISC
118 *
119 * This source code is licensed under the ISC license.
120 * See the LICENSE file in the root directory of this source tree.
121 */const RE=le("Pill",[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]]);/**
122 * @license lucide-react v0.462.0 - ISC
123 *
124 * This source code is licensed under the ISC license.
125 * See the LICENSE file in the root directory of this source tree.
126 */const ME=le("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);/**
127 * @license lucide-react v0.462.0 - ISC
128 *
129 * This source code is licensed under the ISC license.
130 * See the LICENSE file in the root directory of this source tree.
131 */const NE=le("Recycle",[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]]);/**
132 * @license lucide-react v0.462.0 - ISC
133 *
134 * This source code is licensed under the ISC license.
135 * See the LICENSE file in the root directory of this source tree.
136 */const jE=le("Route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
137 * @license lucide-react v0.462.0 - ISC
138 *
139 * This source code is licensed under the ISC license.
140 * See the LICENSE file in the root directory of this source tree.
141 */const OE=le("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
142 * @license lucide-react v0.462.0 - ISC
143 *
144 * This source code is licensed under the ISC license.
145 * See the LICENSE file in the root directory of this source tree.
146 */const DE=le("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
147 * @license lucide-react v0.462.0 - ISC
148 *
149 * This source code is licensed under the ISC license.
150 * See the LICENSE file in the root directory of this source tree.
151 */const LE=le("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 10,153 bytes, lines 151-186
151y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
152 * @license lucide-react v0.462.0 - ISC
153 *
154 * This source code is licensed under the ISC license.
155 * See the LICENSE file in the root directory of this source tree.
156 */const IE=le("Thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);/**
157 * @license lucide-react v0.462.0 - ISC
158 *
159 * This source code is licensed under the ISC license.
160 * See the LICENSE file in the root directory of this source tree.
161 */const _E=le("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
162 * @license lucide-react v0.462.0 - ISC
163 *
164 * This source code is licensed under the ISC license.
165 * See the LICENSE file in the root directory of this source tree.
166 */const VE=le("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
167 * @license lucide-react v0.462.0 - ISC
168 *
169 * This source code is licensed under the ISC license.
170 * See the LICENSE file in the root directory of this source tree.
171 */const FE=le("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
172 * @license lucide-react v0.462.0 - ISC
173 *
174 * This source code is licensed under the ISC license.
175 * See the LICENSE file in the root directory of this source tree.
176 */const zE=le("Warehouse",[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]]);/**
177 * @license lucide-react v0.462.0 - ISC
178 *
179 * This source code is licensed under the ISC license.
180 * See the LICENSE file in the root directory of this source tree.
181 */const dx=le("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
182 * @license lucide-react v0.462.0 - ISC
183 *
184 * This source code is licensed under the ISC license.
185 * See the LICENSE file in the root directory of this source tree.
186 */const $E=le("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),$f="-",BE=e=>{const t=WE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split($f);return a[0]===""&&a.length!==1&&a.shift(),fx(a,t)||UE(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},fx=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?fx(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join($f);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},um=/^\[(.+)\]$/,UE=e=>{if(um.test(e)){const t=um.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},WE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return KE(Object.entries(e.classGroups),n).forEach(([o,s])=>{ad(s,r,o,t)}),r},ad=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:cm(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(HE(i)){ad(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{ad(s,cm(t,o),n,r)})})},cm=(e,t)=>{let n=e;return t.split($f).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},HE=e=>e.isThemeGetter,KE=(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,GE=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)}}},hx="!",YE=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 S=0;S<a.length;S++){let m=a[S];if(u===0){if(m===i&&(r||a.slice(S,S+o)===t)){l.push(a.slice(c,S)),c=S+o;continue}if(m==="/"){d=S;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(hx),w=h?f.substring(1):f,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},QE=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},qE=e=>({cache:GE(e.cacheSize),parseClassName:YE(e),...BE(e)}),XE=/\s+/,ZE=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(XE);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 w=!!h,g=r(w?f.substring(0,h):f);if(!g){if(!w){a=u+(a.length>0?" "+a:a);continue}if(g=r(f),!g){a=u+(a.length>0?" "+a:a);continue}w=!1}const S=QE(c).join(":"),m=d?S+hx:S,p=m+g;if(o.includes(p))continue;o.push(p);const y=i(g,w);for(let b=0;b<y.length;++b){const T=y[b];o.push(m+T)}a=u+(a.length>0?" "+a:a)}return a};function JE(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=px(t))&&(r&&(r+=" "),r+=n);return r}const px=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=px(e[r]))&&(n&&(n+=" "),n+=t);return n};function eP(e,...t){let n,r,i,o=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=qE(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=ZE(l,n);return i(l,c),c}return function(){return o(JE.apply(null,arguments))}}const ie=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},mx=/^\[(?:([a-z-]+):)?(.+)\]$/i,tP=/^\d+\/\d+$/,nP=new Set(["px","full","screen"]),rP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,iP=/\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$/,oP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,an=e=>Ai(e)||nP.has(e)||tP.test(e),jn=e=>Ji(e,"length",mP),Ai=e=>!!e&&!Number.isNaN(Number(e)),_u=e=>Ji(e,"number",Ai),wo=e=>!!e&&Number.isInteger(Number(e)),lP=e=>e.endsWith("%")&&Ai(e.slice(0,-1)),K=e=>mx.test(e),On=e=>rP.test(e),uP=new Set(["length","size","percentage"]),cP=e=>Ji(e,uP,gx),dP=e=>Ji(e,"position",gx),fP=new Set(["image","url"]),hP=e=>Ji(e,fP,yP),pP=e=>Ji(e,"",gP),So=()=>!0,Ji=(e,t,n)=>{const r=mx.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},mP=e=>iP.test(e)&&!oP.test(e),gx=()=>!1,gP=e=>sP.test(e),yP=e=>aP.test(e),vP=()=>{const e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),i=ie("borderColor"),o=ie("borderRadius"),s=ie("borderSpacing"),a=ie("borderWidth"),l=ie("contrast"),u=ie("grayscale"),c=ie("hueRotate"),d=ie("invert"),f=ie("gap"),h=ie("gradientColorStops"),w=ie("gradientColorStopPositions"),g=ie("inset"),S=ie("margin"),m=ie("opacity"),p=ie("padding"),y=ie("saturate"),b=ie("scale"),T=ie("sepia"),C=ie("skew"),E=ie("space"),P=ie("translate"),N=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",K,t],I=()=>[K,t],G=()=>["",an,jn],D=()=>["auto",Ai,K],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],F=()=>["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"],R=()=>["","0",K],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Ai,K];return{cacheSize:500,separator:":",theme:{colors:[So],spacing:[an,jn],blur:["none","",On,K],brightness:U(),borderColor:[e],borderRadius:["none","","full",On,K],borderSpacing:I(),borderWidth:G(),contrast:U(),grayscale:R(),hueRotate:U(),invert:R(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[lP,jn],inset:z(),margin:z(),opacity:U(),padding:I(),saturate:U(),scale:U(),sepia:R(),skew:U(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[On]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],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:[...Y(),K]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],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]}
vendor: 8,975 bytes, line 186
186],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wo,K]}],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",K]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",wo,K]}],"grid-cols":[{"grid-cols":[So]}],"col-start-end":[{col:["auto",{span:["full",wo,K]},K]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[So]}],"row-start-end":[{row:["auto",{span:[wo,K]},K]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],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:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[On]},On]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",On,jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_u]}],"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",K]}],"line-clamp":[{"line-clamp":["none",Ai,_u]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",an,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",an,jn]}],"underline-offset":[{"underline-offset":["auto",an,K]}],"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",K]}],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",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),dP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},hP]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"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":[m]}],"border-style":[{border:[...B(),"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":[m]}],"divide-style":[{divide:B()}],"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:["",...B()]}],"outline-offset":[{"outline-offset":[an,K]}],"outline-w":[{outline:[an,jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[an,jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",On,pP]}],"shadow-color":[{shadow:[So]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",On,K]}],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":[m]}],"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",K]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[wo,K]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],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",
vendor: 5,504 bytes, line 186
186K]}],"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"]}],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",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[an,jn,_u]}],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"]}}},xP=eP(vP);function rn(...e){return xP(ax(e))}const wP=mE,yx=v.forwardRef(({className:e,...t},n)=>x.jsx(ex,{ref:n,className:rn("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}));yx.displayName=ex.displayName;const SP=lx("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"}}),vx=v.forwardRef(({className:e,variant:t,...n},r)=>x.jsx(tx,{ref:r,className:rn(SP({variant:t}),e),...n}));vx.displayName=tx.displayName;const bP=v.forwardRef(({className:e,...t},n)=>x.jsx(ix,{ref:n,className:rn("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}));bP.displayName=ix.displayName;const xx=v.forwardRef(({className:e,...t},n)=>
186x.jsx(ox,{ref:n,className:rn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:x.jsx(dx,{className:"h-4 w-4"})}));xx.displayName=ox.displayName;const wx=v.forwardRef(({className:e,...t},n)=>x.jsx(nx,{ref:n,className:rn("text-sm font-semibold",e),...t}));wx.displayName=nx.displayName;const Sx=v.forwardRef(({className:e,...t},n)=>x.jsx(rx,{ref:n,className:rn("text-sm opacity-90",e),...t}));Sx.displayName=rx.displayName;function TP(){const{toasts:e}=bC();return x.jsxs(wP,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return x.jsxs(vx,{...o,children:[x.jsxs("div",{className:"grid gap-1",children:[n&&x.jsx(wx,{children:n}),r&&x.jsx(Sx,{children:r})]}),i,x.jsx(xx,{})]},t)}),x.jsx(yx,{})]})}var dm=["light","dark"],CP="(prefers-color-scheme: dark)",EP=v.createContext(void 0),PP={setTheme:e=>{},themes:[]},kP=()=>{var e;return(e=v.useContext(EP))!=null?e:PP};v.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;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?dm.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(w,g=!1,S=!0)=>{let m=s?s[w]:w,p=g?w+"|| ''":`'${m}'`,y="";return i&&S&&!g&&dm.includes(w)&&(y+=`d.style.colorScheme = '${w}';`),n==="class"?g||m?y+=`c.add(${p})`:y+="null":m&&(y+=`d[s](n,${p})`),y},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${CP}',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 v.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var AP=e=>{switch(e){case"success":return NP;case"info":return OP;case"warning":return jP;case"error":return DP;default:return null}},RP=Array(12).fill(0),MP=({visible:e,className:t})=>M.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},M.createElement("div",{className:"sonner-spinner"},RP.map((n,r)=>M.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),NP=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),jP=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},M.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"})),OP=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),DP=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),LP=M.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"},M.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),IP=()=>
186{let[e,t]=M.useState(document.hidden);return M.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},ld=1,_P=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:ld++,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=>(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)=>
186this.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],M.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(FP(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)||ld++;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}},qe=new _P,VP=(e,t)=>{let n=(t==null?void 0:t.id)||ld++;return qe.addToast({title:e,...t,id:n}),n},FP=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",zP=VP,$P=()=>qe.toasts,BP=()=>qe.getActiveToasts();Object.assign(zP,{success:qe.success,info:qe.info,warning:qe.warning,error:qe.error,custom:qe.custom,message:qe.message,promise:qe.promise,dismiss:qe.dismiss,loading:qe.loading},{getHistory:$P,getToasts:BP});function UP(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))}UP(`: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;
186left: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}
186: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%);
186--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%)}
187`);function oa(e){return e.label!==void 0}var WP=3,HP="32px",KP="16px",fm=4e3,GP=356,YP=14,QP=20,qP=200;function kt(...e){return e.filter(Boolean).join(" ")}function XP(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var ZP=e=>{var t,n,r,i,o,s,a,l,u,c,d;let{invert:f,toast:h,unstyled:w,interacting:g,setHeights:S,visibleToasts:m,heights:p,index:y,toasts:b,expanded:T,removeToast:C,defaultRichColors:E,closeButton:P,style:N,cancelButtonStyle:j,actionButtonStyle:z,className:I="",descriptionClassName:G="",duration:D,position:Y,gap:B,loadingIcon:F,expandByDefault:k,classNames:R,icons:L,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:$}
vendor: 1,946 bytes, line 187
187=e,[Q,X]=M.useState(null),[we,De]=M.useState(null),[ee,qr]=M.useState(!1),[En,gr]=M.useState(!1),[Pn,Xr]=M.useState(!1),[kn,Ls]=M.useState(!1),[Jl,Is]=M.useState(!1),[eu,ao]=M.useState(0),[Zr,jh]=M.useState(0),lo=M.useRef(h.duration||D||fm),Oh=M.useRef(null),yr=M.useRef(null),nS=y===0,rS=y+1<=m,dt=h.type,Jr=h.dismissible!==!1,iS=h.className||"",oS=h.descriptionClassName||"",_s=M.useMemo(()=>p.findIndex(W=>W.toastId===h.id)||0,[p,h.id]),sS=M.useMemo(()=>{var W;return(W=h.closeButton)!=null?W:P},[h.closeButton,P]),Dh=M.useMemo(()=>h.duration||D||fm,[h.duration,D]),tu=M.useRef(0),ei=M.useRef(0),Lh=M.useRef(0),ti=M.useRef(null),[aS,lS]=Y.split("-"),Ih=M.useMemo(()=>p.reduce((W,ne,ue)=>ue>=_s?W:W+ne.height,0),[p,_s]),_h=IP(),uS=h.invert||f,nu=dt==="loading";ei.current=M.useMemo(()=>_s*B+Ih,[_s,Ih]),M.useEffect(()=>{lo.current=Dh},[Dh]),M.useEffect(()=>{qr(!0)},[]),M.useEffect(()=>{let W=yr.current;if(W){let ne=W.getBoundingClientRect().height;return jh(ne),S(ue=>[{toastId:h.id,height:ne,position:h.position},...ue]),()=>S(ue=>ue.filter(Tt=>Tt.toastId!==h.id))}},[S,h.id]),M.useLayoutEffect(()=>{if(!ee)return;let W=yr.current,ne=W.style.height;W.style.height="auto";let ue=W.getBoundingClientRect().height;W.style.height=ne,jh(ue),S(Tt=>Tt.find(Ct=>Ct.toastId===h.id)?Tt.map(Ct=>Ct.toastId===h.id?{...Ct,height:ue}:Ct):[{toastId:h.id,height:ue,position:h.position},...Tt])},[ee,h.title,h.description,S,h.id]);let An=M.useCallback(()=>{gr(!0),ao(ei.current),S(W=>W.filter(ne=>ne.toastId!==h.id)),setTimeout(()=>{C(h)},qP)},[h,C,S,ei]);M.useEffect(()=>{if(h.promise&&dt==="loading"||h.duration===1/0||h.type==="loading")return;let W;return T||g||$&&_h?(()=>{if(Lh.current<tu.current){let ne=new Date().getTime()-tu.current;lo.current=lo.current-ne}Lh.current=new Date().getTime()})():lo.current!==1/0&&(tu.current=new Date().getTime(),W=setTimeout(()=>{var ne;(ne=h.onAutoClose)==null||ne.call(h,h),An()},lo.current)),()=>clearTimeout(W)}
187,[T,g,h,dt,$,_h,An]),M.useEffect(()=>{h.delete&&An()},[An,h.delete]);function cS(){var W,ne,ue;return L!=null&&L.loading?M.createElement("div",{className:kt(R==null?void 0:R.loader,(W=h==null?void 0:h.classNames)==null?void 0:W.loader,"sonner-loader"),"data-visible":dt==="loading"},L.loading):F?M.createElement("div",{className:kt(R==null?void 0:R.loader,(ne=h==null?void 0:h.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":dt==="loading"},F):M.createElement(MP,{className:kt(R==null?void 0:R.loader,(ue=h==null?void 0:h.classNames)==null?void 0:ue.loader),visible:dt==="loading"})}return M.createElement("li",{tabIndex:0,ref:yr,className:kt(I,iS,R==null?void 0:R.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[dt],(n=h==null?void 0:h.classNames)==null?void 0:n[dt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:E,"data-styled":!(h.jsx||h.unstyled||w),"data-mounted":ee,"data-promise":!!h.promise,"data-swiped":Jl,"data-removed":En,"data-visible":rS,"data-y-position":aS,"data-x-position":lS,"data-index":y,"data-front":nS,"data-swiping":Pn,"data-dismissible":Jr,"data-type":dt,"data-invert":uS,"data-swipe-out":kn,"data-swipe-direction":we,"data-expanded":!!(T||k&&ee),style:{"--index":y,"--toasts-before":y,"--z-index":b.length-y,"--offset":`${En?eu:ei.current}px`,"--initial-height":k?"auto":`${Zr}px`,...N,...h.style},onDragEnd:()=>{Xr(!1),X(null),ti.current=null},onPointerDown:W=>{nu||!Jr||(Oh.current=new Date,ao(ei.current),W.target.setPointerCapture(W.pointerId),W.target.tagName!=="BUTTON"&&(Xr(!0),ti.current={x:W.clientX,y:W.clientY}))},onPointerUp:()=>{var W,ne,ue,Tt;if(kn||!Jr)return;ti.current=null;let Ct=Number(((W=yr.current)==null?void 0:W.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Rn=Number(((ne=yr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),vr=new Date().getTime()-((ue=Oh.current)==null?void 0:ue.getTime()),Et=Q==="x"?Ct:Rn,Mn=Math.abs(Et)/vr;if(Math.abs(Et)>=QP||Mn>.11){ao(ei.current),(Tt=h.onDismiss)==null||Tt.call(h,h),De(Q==="x"?Ct>0?"right":"left":Rn>0?"down":"up"),An(),Ls(!0),Is(!1);return}Xr(!1),X(null)},onPointerMove:W=>{var ne,ue,Tt,Ct;if(!ti.current||!Jr||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let Rn=W.clientY-ti.current.y,vr=W.clientX-ti.current.x,Et=(ue=e.swipeDirections)!=null?ue:XP(Y);!Q&&(Math.abs(vr)>1||Math.abs(Rn)>1)&&X(Math.abs(vr)>Math.abs(Rn)?"x":"y");let Mn={x:0,y:0};Q==="y"?(Et.includes("top")||Et.includes("bottom"))&&(Et.includes("top")&&Rn<0||Et.includes("bottom")&&Rn>0)&&(Mn.y=Rn):Q==="x"&&(Et.includes("left")||Et.includes("right"))&&(Et.includes("left")&&vr<0||Et.includes("right")&&vr>0)&&(Mn.x=vr),(Math.abs(Mn.x)>0||Math.abs(Mn.y)>0)&&Is(!0),(Tt=yr.current)==null||Tt.style.setProperty("--swipe-amount-x",`${Mn.x}px`),(Ct=yr.current)==null||Ct.style.setProperty("--swipe-amount-y",`${Mn.y}px`)}},sS&&!h.jsx?M.createElement("button",{"aria-label":U,"data-disabled":nu,"data-close-button":!0,onClick:nu||!Jr?()=>{}:()=>{var W;An(),(W=h.onDismiss)==null||W.call(h,h)},className:kt(R==null?void 0:R.closeButton,(i=h==null?void 0:h.classNames)==null?void 0:i.closeButton)},(o=L==null?void 0:L.close)!=null?o:LP):null,h.jsx||v.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:M.createElement(M.Fragment,null,dt||h.icon||h.promise?M.createElement("div",{"data-icon":"",className:kt(R==null?void 0:R.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||cS():null,h.type!=="loading"?h.icon||(L==null?void 0:L[dt])||AP(dt):null):null,M.createElement("div",{"data-content":"",className:kt(R==null?void 0:R.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},M.createElement("div",{"data-title":"",className:kt(R==null?void 0:R.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?M.createElement("div",{"data-description":"",className:kt(G,oS,R==null?void 0:R.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),v.isValidElement(h.cancel)?h.cancel:h.cancel&&oa(h.cancel)?M.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||j,onClick:W=>{var ne,ue;oa(h.cancel)&&Jr&&((ue=(ne=h.cancel).onClick)==null||ue.call(ne,W),An())},className:kt(R==null?void 0:R.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,v.isValidElement(h.action)?h.action:h.action&&oa(h.action)?M.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||z,onClick:W=>{var ne,ue;oa(h.action)&&((ue=(ne=h.action).onClick)==null||ue.call(ne,W),!W.defaultPrevented&&An())},className:kt(R==null?void 0:R.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function hm(){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 JP(e,t){let n={};return[e,t].forEach((r,i)=>{let o=i===1,s=o?"--mobile-offset":"--offset",a=o?KP:HP;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 ek=v.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:w=WP,toastOptions:g,dir:S=hm(),gap:m=YP,loadingIcon:p,icons:y,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:T}=e,[C,E]=M.useState([]),P=M.useMemo(()=>Array.from(new Set([r].concat(C.filter($=>$.position).map($=>$.position)))),[C,r]),[N,j]=M.useState([]),[z,I]=M.useState(!1),[G,D]=M.useState(!1),[Y,B]=M.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
187k":"light"),F=M.useRef(null),k=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=M.useRef(null),L=M.useRef(!1),U=M.useCallback($=>{E(Q=>{var X;return(X=Q.find(we=>we.id===$.id))!=null&&X.delete||qe.dismiss($.id),Q.filter(({id:we})=>we!==$.id)})},[]);return M.useEffect(()=>qe.subscribe($=>{if($.dismiss){E(Q=>Q.map(X=>X.id===$.id?{...X,delete:!0}:X));return}setTimeout(()=>{E0.flushSync(()=>{E(Q=>{let X=Q.findIndex(we=>we.id===$.id);return X!==-1?[...Q.slice(0,X),{...Q[X],...$},...Q.slice(X+1)]:[$,...Q]})})})}),[]),M.useEffect(()=>{if(c!=="system"){B(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:Q})=>{B(Q?"dark":"light")})}catch{$.addListener(({matches:X})=>{try{B(X?"dark":"light")}catch(we){console.error(we)}})}},[c]),M.useEffect(()=>{C.length<=1&&I(!1)},[C]),M.useEffect(()=>{let $=Q=>{var X,we;i.every(De=>Q[De]||Q.code===De)&&(I(!0),(X=F.current)==null||X.focus()),Q.code==="Escape"&&(document.activeElement===F.current||(we=F.current)!=null&&we.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[i]),M.useEffect(()=>{if(F.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,L.current=!1)}},[F.current]),M.createElement("section",{ref:t,"aria-label":`${b} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map(($,Q)=>{var X;let[we,De]=$.split("-");return C.length?M.createElement("ol",{key:$,dir:S==="auto"?hm():S,tabIndex:-1,ref:F,className:a,"data-sonner-toaster":!0,"data-theme":Y,"data-y-position":we,"data-lifted":z&&C.length>1&&!o,"data-x-position":De,style:{"--front-toast-height":`${((X=N[0])==null?void 0:X.height)||0}px`,"--width":`${GP}px`,"--gap":`${m}px`,...h,...JP(l,u)},onBlur:ee=>{L.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(L.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||L.current||(L.current=!0,R.current=ee.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{G||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},C.filter(ee=>!ee.position&&Q===0||ee.position===$).map((ee,qr)=>{var En,gr;return M.createElement(ZP,{key:ee.id,icons:y,index:qr,toast:ee,defaultRichColors:d,duration:(En=g==null?void 0:g.duration)!=null?En:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:w,closeButton:(gr=g==null?void 0:g.closeButton)!=null?gr:s,interacting:G,position:$,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:C.filter(Pn=>Pn.position==ee.position),heights:N.filter(Pn=>Pn.position==ee.position),setHeights:j,expandByDefault:o,gap:m,loadingIcon:p,expanded:z,pauseWhenPageIsHidden:T,swipeDirections:e.swipeDirections})})):null}))});const tk=({...e})=>{const{theme:t="system"}=kP();return x.jsx(ek,{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})},nk=["top","right","bottom","left"],lr=Math.min,it=Math.max,sl=Math.round,sa=Math.floor,Zt=e=>({x:e,y:e}),rk={left:"right",right:"left",bottom:"top",top:"bottom"},ik={start:"end",end:"start"};function ud(e,t,n){return it(e,lr(t,n))}function Sn(e,t){return typeof e=="function"?e(t):e}function bn(e){return e.split("-")[0]}function eo(e){return e.split("-")[1]}function Bf(e){return e==="x"?"y":"x"}function Uf(e){return e==="y"?"height":"width"}const ok=new Set(["top","bottom"]);function Qt(e){return ok.has(bn(e))?"y":"x"}function Wf(e){return Bf(Qt(e))}function sk(e,t,n){n===void 0&&(n=!1);const r=eo(e),i=Wf(e),o=Uf(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=al(s)),[s,al(s)]}function ak(e){const t=al(e);return[cd(e),t,cd(t)]}function cd(e){return e.replace(/start|end/g,t=>ik[t])}const pm=["left","right"],mm=["right","left"],lk=["top","bottom"],uk=["bottom","top"];function ck(e,t,n){switch(e){case"top":case"bottom":return n?t?mm:pm:t?pm:mm;case"left":case"right":return t?lk:uk;default:return[]}}function dk(e,t,n,r){const i=eo(e);let o=ck(bn(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(cd)))),o}function al(e){return e.replace(/left|right|bottom|top/g,t=>rk[t])}function fk(e){return{top:0,right:0,bottom:0,left:0,...e}}function bx(e){return typeof e!="number"?fk(e):{top:e,right:e,bottom:e,left:e}}function ll(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 gm(e,t,n){let{reference:r,floating:i}=e;const o=Qt(t),s=Wf(t),a=Uf(s),l=bn(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(eo(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1);break}return h}const hk=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}
vendor: 9,929 bytes, line 187
187=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}=gm(u,r,l),f=r,h={},w=0;for(let g=0;g<a.length;g++){const{name:S,fn:m}=a[g],{x:p,y,data:b,reset:T}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=p??c,d=y??d,h={...h,[S]:{...h[S],...b}},T&&w<=50&&(w++,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}=gm(u,f,l)),g=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function ss(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}=Sn(t,e),w=bx(h),S=a[f?d==="floating"?"reference":"floating":d],m=ll(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(S)))==null||n?S:S.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),p=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)),b=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=ll(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:y,strategy:l}):p);return{top:(m.top-T.top+w.top)/b.y,bottom:(T.bottom-m.bottom+w.bottom)/b.y,left:(m.left-T.left+w.left)/b.x,right:(T.right-m.right+w.right)/b.x}}const pk=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}=Sn(e,t)||{};if(u==null)return{};const d=bx(c),f={x:n,y:r},h=Wf(i),w=Uf(h),g=await s.getDimensions(u),S=h==="y",m=S?"top":"left",p=S?"bottom":"right",y=S?"clientHeight":"clientWidth",b=o.reference[w]+o.reference[h]-f[h]-o.floating[w],T=f[h]-o.reference[h],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let E=C?C[y]:0;(!E||!await(s.isElement==null?void 0:s.isElement(C)))&&(E=a.floating[y]||o.floating[w]);const P=b/2-T/2,N=E/2-g[w]/2-1,j=lr(d[m],N),z=lr(d[p],N),I=j,G=E-g[w]-z,D=E/2-g[w]/2+P,Y=ud(I,D,G),B=!l.arrow&&eo(i)!=null&&D!==Y&&o.reference[w]/2-(D<I?j:z)-g[w]/2<0,F=B?D<I?D-I:D-G:0;return{[h]:f[h]+F,data:{[h]:Y,centerOffset:D-Y-F,...B&&{alignmentOffset:F}},reset:B}}}),mk=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:w="none",flipAlignment:g=!0,...S}=Sn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const m=bn(i),p=Qt(a),y=bn(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),T=f||(y||!g?[al(a)]:ak(a)),C=w!=="none";!f&&C&&T.push(...dk(a,g,w,b));const E=[a,...T],P=await ss(t,S),N=[];let j=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&N.push(P[m]),d){const D=sk(i,s,b);N.push(P[D[0]],P[D[1]])}if(j=[...j,{placement:i,overflows:N}],!N.every(D=>D<=0)){var z,I;const D=(((z=o.flip)==null?void 0:z.index)||0)+1,Y=E[D];if(Y&&(!(d==="alignment"?p!==Qt(Y):!1)||j.every(k=>k.overflows[0]>0&&Qt(k.placement)===p)))return{data:{index:D,overflows:j},reset:{placement:Y}};let B=(I=j.filter(F=>F.overflows[0]<=0).sort((F,k)=>F.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(h){case"bestFit":{var G;const F=(G=j.filter(k=>{if(C){const R=Qt(k.placement);return R===p||R==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(R=>R>0).reduce((R,L)=>R+L,0)]).sort((k,R)=>k[1]-R[1])[0])==null?void 0:G[0];F&&(B=F);break}case"initialPlacement":B=a;break}if(i!==B)return{reset:{placement:B}}}return{}}}};function ym(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function vm(e){return nk.some(t=>e[t]>=0)}const gk=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Sn(e,t);switch(r){case"referenceHidden":{const o=await ss(t,{...i,elementContext:"reference"}),s=ym(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:vm(s)}}}case"escaped":{const o=await ss(t,{...i,altBoundary:!0}),s=ym(o,n.floating);return{data:{escapedOffsets:s,escaped:vm(s)}}}default:return{}}}}},Tx=new Set(["left","top"]);async function yk(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=bn(n),a=eo(n),l=Qt(n)==="y",u=Tx.has(s)?-1:1,c=o&&l?-1:1,d=Sn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof w=="number"&&(h=a==="end"?w*-1:w),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const vk=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 yk(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}}}}},xk=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:S=>{let{x:m,y:p}=S;return{x:m,y:p}}},...l}=Sn(e,t),u={x:n,y:r},c=await ss(t,l),d=Qt(bn(i)),f=Bf(d);let h=u[f],w=u[d];if(o){const S=f==="y"?"top":"left",m=f==="y"?"bottom":"right",p=h+c[S],y=h-c[m];h=ud(p,h,y)}if(s){const S=d==="y"?"top":"left",m=d==="y"?"bottom":"right",p=w+c[S],y=w-c[m];w=ud(p,w,y)}const g=a.fn({...t,[f]:h,[d]:w});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:o,[d]:s}}}}}},wk=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}=Sn(e,t),c={x:n,y:r},d=Qt(i),f=Bf(d);let h=c[f],w=c[d];const g=Sn(a,t),S=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const y=f==="y"?"height":"width",b=o.reference[f]-o.floating[y]+S.mainAxis,T=o.reference[f]+o.reference[y]-S.mainAxis;h<b?h=b:h>T&&(h=T)}if(u){var m,p;const y=f==="y"?"width":"height",b=Tx.has(bn(i)),T=o.reference[d]-o.floating[y]+(b&&((m=s.offset)==null?void 0:m[d])||0)+(b?0:S.crossAxis),C=o.reference[d]+o.reference[y]+(b?0:((p=s.offset)==null?void 0:p[d])||0)-(b?S.crossAxis:0);w<T?w=T:w>C&&(w=C)}return{[f]:h,[d]:w}}}},Sk=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}=Sn(e,t),c=await ss(t,u),d=bn(i),f=eo(i),h=Qt(i)==="y",{width:w,height:g}=o.floating;let S,m;d==="top"||d==="bottom"?(S=d,m=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,S=f==="end"?"top":"bottom");const p=g-c.top-c.bottom,y=w-c.left-c.right,b=lr(g-c[S],p),T=lr(w-c[m],y),C=!t.middlewareData.shift;let E=b,P=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=p),C&&!f){const j=it(c.left,0),z=it(c.right,0),I=it(c.top,0),G=it(c.bottom,0);h?P=w-2*(j!==0||z!==0?j+z:it(c.left,c.right)):E=g-2*(I!==0||G!==0?I+G:it(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:E});const N=await s.getDimensions(a.floating);return w!==N.width||g!==N.height?{reset:{rects:!0}}:{}}}};function zl(){return typeof window<"u"}function to(e){return Cx(e)?(e.nodeName||"").toLowerCase():"#document"}function at(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function on(e){var t;return(t=(Cx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Cx(e){return zl()?e instanceof Node||e instanceof at(e).Node:!1}function $t(e){return zl()?e instanceof Element||e instanceof at(e).Element:!1}function tn(e){return zl()?e instanceof HTMLElement||e instanceof at(e).HTMLElement:!1}function xm(e){return!zl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof at(e).ShadowRoot}const bk=new Set(["inline","contents"]);function As(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!bk.has(i)}const Tk=new Set(["table","td","th"]);function Ck(e){return Tk.has(to(e))}const Ek=[":popover-open",":modal"];function $l(e){return Ek.some(t=>{try{return e.matches(t)}catch{return!1}})}const Pk=["transform","translate","scale","rotate","perspective"],kk=["transform","translate","scale","rotate","perspective","filter"],Ak=["paint","layout","strict","content"];function Hf(e){const t=Kf(),n=$t(e)?Bt(e):e;return Pk.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)||kk.some(r=>(n.willChange||"").includes(r))||Ak.some(r=>(n.contain||"").includes(r))}function Rk(e){let t=ur(e);for(;tn(t)&&!Ki(t);){if(Hf(t))return t;if($l(t))return null;t=ur(t)}return null}function Kf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Mk=new Set(["html","body","#document"]);function Ki(e){return Mk.has(to(e))}function Bt(e){return at(e).getComputedStyle(e)}function Bl(e){return $t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ur(e){if(to(e)==="html")return e;const t=e.assignedSlot||e.parentNode||xm(e)&&e.host||on(e);return xm(t)?t.host:t}function Ex(e){const t=ur(e);return Ki(t)?e.ownerDocument?e.ownerDocument.body:e.body:tn(t)&&As(t)?t:Ex(t)}function as(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Ex(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=at(i);if(o){const a=dd(s);
vendor: 4,772 bytes, line 187
187return t.concat(s,s.visualViewport||[],As(i)?i:[],a&&n?as(a):[])}return t.concat(i,as(i,[],n))}function dd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Px(e){const t=Bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=tn(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=sl(n)!==o||sl(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function Gf(e){return $t(e)?e:e.contextElement}function Ri(e){const t=Gf(e);if(!tn(t))return Zt(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Px(t);let s=(o?sl(n.width):n.width)/r,a=(o?sl(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Nk=Zt(0);function kx(e){const t=at(e);return!Kf()||!t.visualViewport?Nk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jk(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==at(e)?!1:t}function Wr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Gf(e);let s=Zt(1);t&&(r?$t(r)&&(s=Ri(r)):s=Ri(e));const a=jk(o,n,r)?kx(o):Zt(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&&$t(r)?at(r):r;let w=f,g=dd(w);for(;g&&r&&h!==w;){const S=Ri(g),m=g.getBoundingClientRect(),p=Bt(g),y=m.left+(g.clientLeft+parseFloat(p.paddingLeft))*S.x,b=m.top+(g.clientTop+parseFloat(p.paddingTop))*S.y;l*=S.x,u*=S.y,c*=S.x,d*=S.y,l+=y,u+=b,w=at(g),g=dd(w)}}return ll({width:c,height:d,x:l,y:u})}function Yf(e,t){const n=Bl(e).scrollLeft;return t?t.left+n:Wr(on(e)).left+n}function Ax(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Yf(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function Ok(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=on(r),a=t?$l(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=Zt(1);const c=Zt(0),d=tn(r);if((d||!d&&!o)&&((to(r)!=="body"||As(s))&&(l=Bl(r)),tn(r))){const h=Wr(r);u=Ri(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=s&&!d&&!o?Ax(s,l,!0):Zt(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 Dk(e){return Array.from(e.getClientRects())}function Lk(e){const t=on(e),n=Bl(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+Yf(e);const a=-n.scrollTop;return Bt(r).direction==="rtl"&&(s+=it(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function Ik(e,t){const n=at(e),r=on(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=Kf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}const _k=new Set(["absolute","fixed"]);function Vk(e,t){const n=Wr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=tn(e)?Ri(e):Zt(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 wm(e,t,n){let r;if(t==="viewport")r=Ik(e,n);else if(t==="document")r=Lk(on(e));else if($t(t))r=Vk(t,n);else{const i=kx(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ll(r)}function Rx(e,t){const n=ur(e);return n===t||!$t(n)||Ki(n)?!1:Bt(n).position==="fixed"||Rx(n,t)}function Fk(e,t){const n=t.get(e);if(n)return n;let r=as(e,[],!1).filter(a=>$t(a)&&to(a)!=="body"),i=null;const o=Bt(e).position==="fixed";let s=o?ur(e):e;for(;$t(s)&&!Ki(s);){const a=Bt(s),l=Hf(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&_k.has(i.position)||As(s)&&!l&&Rx(e,s))?r=r.filter(c=>c!==s):i=a,s=ur(s)}return t.set(e,r),r}function zk(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?$l(t)?[]:Fk(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=wm(t,c,i);return u.top=it(d.top,u.top),u.right=lr(d.right,u.right),u.bottom=lr(d.bottom,u.bottom),u.left=it(d.left,u.left),u},wm(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function $k(e){const{width:t,height:n}=Px(e);return{width:t,height:n}}function Bk(e,t,n){const r=tn(t),i=on(t),o=n==="fixed",s=Wr(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Zt(0);function u(){l.x=Yf(i)}if(r||!r&&!o)if((to(t)!=="body"||As(i))&&(a=Bl(t)),r){const h=Wr(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?Ax(i,a):Zt(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 Vu(e){return Bt(e).position==="static"}function Sm(e,t){if(!tn(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return on(e)===n&&(n=n.ownerDocument.body),n}function Mx(e,t){const n=at(e);
vendor: 8,988 bytes, line 187
187if($l(e))return n;if(!tn(e)){let i=ur(e);for(;i&&!Ki(i);){if($t(i)&&!Vu(i))return i;i=ur(i)}return n}let r=Sm(e,t);for(;r&&Ck(r)&&Vu(r);)r=Sm(r,t);return r&&Ki(r)&&Vu(r)&&!Hf(r)?n:r||Rk(e)||n}const Uk=async function(e){const t=this.getOffsetParent||Mx,n=this.getDimensions,r=await n(e.floating);return{reference:Bk(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Wk(e){return Bt(e).direction==="rtl"}const Hk={convertOffsetParentRelativeRectToViewportRelativeRect:Ok,getDocumentElement:on,getClippingRect:zk,getOffsetParent:Mx,getElementRects:Uk,getClientRects:Dk,getDimensions:$k,getScale:Ri,isElement:$t,isRTL:Wk};function Nx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Kk(e,t){let n=null,r;const i=on(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 w=sa(d),g=sa(i.clientWidth-(c+f)),S=sa(i.clientHeight-(d+h)),m=sa(c),y={rootMargin:-w+"px "+-g+"px "+-S+"px "+-m+"px",threshold:it(0,lr(1,l))||1};let b=!0;function T(C){const E=C[0].intersectionRatio;if(E!==l){if(!b)return s();E?s(!1,E):r=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!Nx(u,e.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(T,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(T,y)}n.observe(e)}return s(!0),o}function Gk(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=Gf(e),c=i||o?[...u?as(u):[],...as(t)]:[];c.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const d=u&&a?Kk(u,n):null;let f=-1,h=null;s&&(h=new ResizeObserver(m=>{let[p]=m;p&&p.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 w,g=l?Wr(e):null;l&&S();function S(){const m=Wr(e);g&&!Nx(g,m)&&n(),g=m,w=requestAnimationFrame(S)}return n(),()=>{var m;c.forEach(p=>{i&&p.removeEventListener("scroll",n),o&&p.removeEventListener("resize",n)}),d==null||d(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(w)}}const Yk=vk,Qk=xk,qk=mk,Xk=Sk,Zk=gk,bm=pk,Jk=wk,e2=(e,t,n)=>{const r=new Map,i={platform:Hk,...n},o={...i.platform,_c:r};return hk(e,t,{...i,platform:o})};var t2=typeof document<"u",n2=function(){},Ra=t2?v.useLayoutEffect:n2;function ul(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(!ul(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)&&!ul(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function jx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tm(e,t){const n=jx(e);return Math.round(t*n)/n}function Fu(e){const t=v.useRef(e);return Ra(()=>{t.current=e}),t}function r2(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]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=v.useState(r);ul(f,r)||h(r);const[w,g]=v.useState(null),[S,m]=v.useState(null),p=v.useCallback(k=>{k!==C.current&&(C.current=k,g(k))},[]),y=v.useCallback(k=>{k!==E.current&&(E.current=k,m(k))},[]),b=o||w,T=s||S,C=v.useRef(null),E=v.useRef(null),P=v.useRef(c),N=l!=null,j=Fu(l),z=Fu(i),I=Fu(u),G=v.useCallback(()=>{if(!C.current||!E.current)return;const k={placement:t,strategy:n,middleware:f};z.current&&(k.platform=z.current),e2(C.current,E.current,k).then(R=>{const L={...R,isPositioned:I.current!==!1};D.current&&!ul(P.current,L)&&(P.current=L,Ps.flushSync(()=>{d(L)}))})},[f,t,n,z,I]);Ra(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const D=v.useRef(!1);Ra(()=>(D.current=!0,()=>{D.current=!1}),[]),Ra(()=>{if(b&&(C.current=b),T&&(E.current=T),b&&T){if(j.current)return j.current(b,T,G);G()}},[b,T,G,j,N]);const Y=v.useMemo(()=>({reference:C,floating:E,setReference:p,setFloating:y}),[p,y]),B=v.useMemo(()=>({reference:b,floating:T}),[b,T]),F=v.useMemo(()=>{const k={position:n,left:0,top:0};if(!B.floating)return k;const R=Tm(B.floating,c.x),L=Tm(B.floating,c.y);return a?{...k,transform:"translate("+R+"px, "+L+"px)",...jx(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:L}},[n,a,B.floating,c.x,c.y]);return v.useMemo(()=>({...c,update:G,refs:Y,elements:B,floatingStyles:F}),[c,G,Y,B,F])}const i2=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?bm({element:r.current,padding:i}).fn(n):{}:r?bm({element:r,padding:i}).fn(n):{}}}},o2=(e,t)=>({...Yk(e),options:[e,t]}),s2=(e,t)=>({...Qk(e),options:[e,t]}),a2=(e,t)=>({...Jk(e),options:[e,t]}),l2=(e,t)=>({...qk(e),options:[e,t]}),u2=(e,t)=>({...Xk(e),options:[e,t]}),c2=(e,t)=>({...Zk(e),options:[e,t]}),d2=(e,t)=>({...i2(e),options:[e,t]});var f2="Arrow",Ox=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return x.jsx(nt.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ox.displayName=f2;var h2=Ox;function p2(e){const[t,n]=v.useState(void 0);return ar(()=>{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 Dx="Popper",[Lx,Ix]=_l(Dx),[MD,_x]=Lx(Dx),Vx="PopperAnchor",Fx=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=_x(Vx,n),s=v.useRef(null),a=zt(t,s);return v.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:x.jsx(nt.div,{...i,ref:a})});Fx.displayName=Vx;var Qf="PopperContent",[m2,g2]=Lx(Qf),zx=v.forwardRef((e,t)=>{var ee,qr,En,gr,Pn,Xr;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:w,...g}=e,S=_x(Qf,n),[m,p]=v.useState(null),y=zt(t,kn=>p(kn)),[b,T]=v.useState(null),C=p2(b),E=(C==null?void 0:C.width)??0,P=(C==null?void 0:C.height)??0,N=r+(o!=="center"?"-"+o:""),j=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},z=Array.isArray(u)?u:[u],I=z.length>0,G={padding:j,boundary:z.filter(v2),altBoundary:I},{refs:D,floatingStyles:Y,placement:B,isPositioned:F,middlewareData:k}=r2({strategy:"fixed",placement:N,whileElementsMounted:(...kn)=>Gk(...kn,{animationFrame:h==="always"}),elements:{reference:S.anchor},middleware:[o2({mainAxis:i+P,alignmentAxis:s}),l&&s2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?a2():void 0,...G}),l&&l2({...G}),u2({...G,apply:({elements:kn,rects:Ls,availableWidth:Jl,availableHeight:Is})=>{const{width:eu,height:ao}=Ls.reference,Zr=kn.floating.style;Zr.setProperty("--radix-popper-available-width",`${Jl}px`),Zr.setProperty("--radix-popper-available-height",`${Is}px`),Zr.setProperty("--radix-popper-anchor-width",`${eu}px`),Zr.setProperty("--radix-popper-anchor-height",`${ao}px`)}}),b&&d2({element:b,padding:a}),x2({arrowWidth:E,arrowHeight:P}),f&&c2({strategy:"referenceHidden",...G})]}),[R,L]=Ux(B),U=sr(w);ar(()=>{F&&(U==null||U())},[F,U]);const $=(ee=k.arrow)==null?void 0:ee.x,Q=(qr=k.arrow)==null?void 0:qr.y,X=((En=k.arrow)==null?void 0:En.centerOffset)!==0,[we,De]=v.useState();return ar(()=>{m&&De(window.getComputedStyle(m).zIndex)},[m]),x.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:F?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(gr=k.transformOrigin)==null?void 0:gr.x,(Pn=k.transformOrigin)==null?void 0:Pn.y].join(" "),...((Xr=k.hide)==null?void 0:Xr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:x.jsx(m2,{scope:n,placedSide:R,onArrowChange:T,arrowX:$,arrowY:Q,shouldHideArrow:X,children:x.jsx(nt.div,{"data-side":R,"data-align":L,...g,ref:y,style:{...g.style,animation:F?void 0:"none"}})})})});zx.displayName=Qf;var $x="PopperArrow",y2={top:"bottom",right:"left",bottom:"top",left:"r
187ight"},Bx=v.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=g2($x,r),s=y2[o.placedSide];return x.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:x.jsx(h2,{...i,ref:n,style:{...i.style,display:"block"}})})});Bx.displayName=$x;function v2(e){return e!==null}var x2=e=>({name:"transformOrigin",options:e,fn(t){var S,m,p;const{placement:n,rects:r,middlewareData:i}=t,s=((S=i.arrow)==null?void 0:S.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=Ux(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((m=i.arrow)==null?void 0:m.x)??0)+a/2,h=(((p=i.arrow)==null?void 0:p.y)??0)+l/2;let w="",g="";return u==="bottom"?(w=s?d:`${f}px`,g=`${-l}px`):u==="top"?(w=s?d:`${f}px`,g=`${r.floating.height+l}px`):u==="right"?(w=`${-l}px`,g=s?d:`${h}px`):u==="left"&&(w=`${r.floating.width+l}px`,g=s?d:`${h}px`),{data:{x:w,y:g}}}});function Ux(e){const[t,n="center"]=e.split("-");return[t,n]}var w2=Fx,S2=zx,b2=Bx,[Ul,ND]=_l("Tooltip",[Ix]),qf=Ix(),Wx="TooltipProvider",T2=700,Cm="tooltip.open",[C2,Hx]=Ul(Wx),Kx=e=>{const{__scopeTooltip:t,delayDuration:n=T2,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,s=v.useRef(!0),a=v.useRef(!1),l=v.useRef(0);return v.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),x.jsx(C2,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:v.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:o})};Kx.displayName=Wx;var Gx="Tooltip",[jD,Wl]=Ul(Gx),fd="TooltipTrigger",E2=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Wl(fd,n),o=Hx(fd,n),s=qf(n),a=v.useRef(null),l=zt(t,a,i.onTriggerChange),u=v.useRef(!1),c=v.useRef(!1),d=v.useCallback(()=>u.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),x.jsx(w2,{asChild:!0,...s,children:x.jsx(nt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Pe(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Pe(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Pe(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Pe(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Pe(e.onBlur,i.onClose),onClick:Pe(e.onClick,i.onClose)})})});E2.displayName=fd;var P2="TooltipPortal",[OD,k2]=Ul(P2,{forceMount:void 0}),Gi="TooltipContent",Yx=v.forwardRef((e,t)=>{const n=k2(Gi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=Wl(Gi,e.__scopeTooltip);return x.jsx(_f,{present:r||s.open,children:s.disableHoverableContent?x.jsx(Qx,{side:i,...o,ref:t}):x.jsx(A2,{side:i,...o,ref:t})})}),A2=v.forwardRef((e,t)=>{const n=Wl(Gi,e.__scopeTooltip),r=Hx(Gi,e.__scopeTooltip),i=v.useRef(null),o=zt(t,i),[s,a]=v.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,f=v.useCallback(()=>{a(null),d(!1)},[d]),h=v.useCallback((w,g)=>{const S=w.currentTarget,m={x:w.clientX,y:w.clientY},p=O2(m,S.getBoundingClientRect()),y=D2(m,p),b=L2(g.getBoundingClientRect()),T=_2([...y,...b]);a(T),d(!0)},[d]);return v.useEffect(()=>()=>f(),[f]),v.useEffect(()=>{if(l&&c){const w=S=>h(S,c),g=S=>h(S,l);return l.addEventListener("pointerleave",w),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",w),c.removeEventListener("pointerleave",g)}}},[l,c,h,f]),v.useEffect(()=>{if(s){const w=g=>{const S=g.target,m={x:g.clientX,y:g.clientY},p=(l==null?void 0:l.contains(S))||(c==null?void 0:c.contains(S)),y=!I2(m,s);p?f():y&&(f(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,c,s,u,f]),x.jsx(Qx,{...e,ref:o})}),[R2,M2]=Ul(Gx,{isInside:!1}),N2=PC("TooltipContent"),Qx=v.forwardRef((e,t)=>
vendor: 6,226 bytes, line 187
187{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=Wl(Gi,n),u=qf(n),{onClose:c}=l;return v.useEffect(()=>(document.addEventListener(Cm,c),()=>document.removeEventListener(Cm,c)),[c]),v.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]),x.jsx(If,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:x.jsxs(S2,{"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:[x.jsx(N2,{children:r}),x.jsx(R2,{scope:n,isInside:!0,children:x.jsx(XC,{id:l.contentId,role:"tooltip",children:i||r})})]})})});Yx.displayName=Gi;var qx="TooltipArrow",j2=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=qf(n);return M2(qx,n).isInside?null:x.jsx(b2,{...i,...r,ref:t})});j2.displayName=qx;function O2(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 D2(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 L2(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 I2(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 _2(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),V2(t)}function V2(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 F2=Kx,Xx=Yx;const z2=F2,$2=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>x.jsx(Xx,{ref:r,sideOffset:t,className:rn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));$2.displayName=Xx.displayName;var Hl=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(){}},Kl=typeof window>"u"||"Deno"in globalThis;function Nt(){}function B2(e,t){return typeof e=="function"?e(t):e}function U2(e){return typeof e=="number"&&e>=0&&e!==1/0}function W2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function hd(e,t){return typeof e=="function"?e(t):e}function H2(e,t){return typeof e=="function"?e(t):e}function Em(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Xf(s,t.options))return!1}else if(!us(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 Pm(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(ls(t.options.mutationKey)!==ls(o))return!1}else if(!us(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Xf(e,t){return((t==null?void 0:t.queryKeyHashFn)||ls)(e)}function ls(e){return JSON.stringify(e,(t,n)=>pd(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function us(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>us(e[n],t[n])):!1}function Zx(e,t){if(e===t)return e;const n=km(e)&&km(t);if(n||pd(e)&&pd(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]=Zx(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===s&&u===i?e:a}return t}function km(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function pd(e){if(!Am(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Am(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Am(e){return Object.prototype.toString.call(e)==="[object Object]"}function K2(e){return new Promise(t=>{setTimeout(t,e)})}function G2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Zx(e,t):t}function Y2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Q2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Zf=Symbol();function Jx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Zf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Mr,zn,Ni,iy,q2=(iy=class extends Hl{constructor(){super();
vendor: 15,502 bytes, line 187
187J(this,Mr);J(this,zn);J(this,Ni);H(this,Ni,t=>{if(!Kl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,zn)||this.setEventListener(A(this,Ni))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,zn))==null||t.call(this),H(this,zn,void 0))}setEventListener(t){var n;H(this,Ni,t),(n=A(this,zn))==null||n.call(this),H(this,zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Mr)!==t&&(H(this,Mr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Mr)=="boolean"?A(this,Mr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Mr=new WeakMap,zn=new WeakMap,Ni=new WeakMap,iy),e1=new q2,ji,$n,Oi,oy,X2=(oy=class extends Hl{constructor(){super();J(this,ji,!0);J(this,$n);J(this,Oi);H(this,Oi,t=>{if(!Kl&&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(){A(this,$n)||this.setEventListener(A(this,Oi))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,$n))==null||t.call(this),H(this,$n,void 0))}setEventListener(t){var n;H(this,Oi,t),(n=A(this,$n))==null||n.call(this),H(this,$n,t(this.setOnline.bind(this)))}setOnline(t){A(this,ji)!==t&&(H(this,ji,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,ji)}},ji=new WeakMap,$n=new WeakMap,Oi=new WeakMap,oy),cl=new X2;function Z2(){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 J2(e){return Math.min(1e3*2**e,3e4)}function t1(e){return(e??"online")==="online"?cl.isOnline():!0}var n1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function zu(e){return e instanceof n1}function r1(e){let t=!1,n=0,r=!1,i;const o=Z2(),s=g=>{var S;r||(f(new n1(g)),(S=e.abort)==null||S.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>e1.isFocused()&&(e.networkMode==="always"||cl.isOnline())&&e.canRun(),c=()=>t1(e.networkMode)&&e.canRun(),d=g=>{var S;r||(r=!0,(S=e.onSuccess)==null||S.call(e,g),i==null||i(),o.resolve(g))},f=g=>{var S;r||(r=!0,(S=e.onError)==null||S.call(e,g),i==null||i(),o.reject(g))},h=()=>new Promise(g=>{var S;i=m=>{(r||u())&&g(m)},(S=e.onPause)==null||S.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),w=()=>{if(r)return;let g;const S=n===0?e.initialPromise:void 0;try{g=S??e.fn()}catch(m){g=Promise.reject(m)}Promise.resolve(g).then(d).catch(m=>{var C;if(r)return;const p=e.retry??(Kl?0:3),y=e.retryDelay??J2,b=typeof y=="function"?y(n,m):y,T=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,m);if(t||!T){f(m);return}n++,(C=e.onFail)==null||C.call(e,n,m),K2(b).then(()=>u()?void 0:h()).then(()=>{t?f(m):w()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?w():h().then(w),o)}}var eA=e=>setTimeout(e,0);function tA(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=eA;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 We=tA(),Nr,sy,i1=(sy=class{constructor(){J(this,Nr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),U2(this.gcTime)&&H(this,Nr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Kl?1/0:5*60*1e3))}clearGcTimeout(){A(this,Nr)&&(clearTimeout(A(this,Nr)),H(this,Nr,void 0))}},Nr=new WeakMap,sy),Di,jr,pt,Or,Ve,vs,Dr,jt,ln,ay,nA=(ay=class extends i1{constructor(t){super();J(this,jt);J(this,Di);J(this,jr);J(this,pt);J(this,Or);J(this,Ve);J(this,vs);J(this,Dr);H(this,Dr,!1),H(this,vs,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,Or,t.client),H(this,pt,A(this,Or).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Di,iA(this.options)),this.state=t.state??A(this,Di),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...A(this,vs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,pt).remove(this)}setData(t,n){const r=G2(this.state.data,t,this.options);return Le(this,jt,ln).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Le(this,jt,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=A(this,Ve))==null?void 0:r.promise;return(i=A(this,Ve))==null||i.cancel(t),n?n.then(Nt).catch(Nt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Di))}isActive(){return this.observers.some(t=>H2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Zf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>hd(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:!W2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,pt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,Ve)&&(A(this,Dr)?A(this,Ve).cancel({revert:!0}):A(this,Ve).cancelRetry()),this.scheduleGc()),A(this,pt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Le(this,jt,ln).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(A(this,Ve))return A(this,Ve).continueRetry(),A(this,Ve).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,Dr,!0),r.signal)})},o=()=>{const f=Jx(this.options,n),w=(()=>{const g={client:A(this,Or),queryKey:this.queryKey,meta:this.meta};return i(g),g})();return H(this,Dr,!1),this.options.persister?this.options.persister(f,w,this):f(w)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Or),state:this.state,fetchFn:o};return i(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),H(this,jr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Le(this,jt,ln).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,w,g,S;zu(f)&&f.silent||Le(this,jt,ln).call(this,{type:"error",error:f}),zu(f)||((w=(h=A(this,pt).config).onError)==null||w.call(h,f,this),(S=(g=A(this,pt).config).onSettled)==null||S.call(g,this.state.data,f,this)),this.scheduleGc()};return H(this,Ve,r1({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,w,g,S;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(m){l(m);return}(w=(h=A(this,pt).config).onSuccess)==null||w.call(h,f,this),(S=(g=A(this,pt).config).onSettled)==null||S.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{Le(this,jt,ln).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{Le(this,jt,ln).call(this,{type:"pause"})},onContinue:()=>{Le(this,jt,ln).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),A(this,Ve).start()}},Di=new WeakMap,jr=new WeakMap,pt=new WeakMap,Or=new WeakMap,Ve=new WeakMap,vs=new WeakMap,Dr=new WeakMap,jt=new WeakSet,ln=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,...rA(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,jr,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 zu(i)&&i.revert&&A(this,jr)?{...A(this,jr),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),We.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,pt).notify({query:this,type:"updated",action:t})})},ay);function rA(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:t1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function iA(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 Ht,ly,oA=(ly=class extends Hl{constructor(t={}){super();J(this,Ht);this.config=t,H(this,Ht,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Xf(i,n);let s=this.get(o);return s||(s=new nA({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){A(this,Ht).has(t.queryHash)||(A(this,Ht).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,Ht).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,Ht).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,Ht).get(t)}getAll(){return[...A(this,Ht).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Em(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Em(t,r)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ht=new WeakMap,ly),Kt,Be,Lr,Gt,Dn,uy,sA=(uy=class extends i1{constructor(t){super();J(this,Gt);J(this,Kt);J(this,Be);J(this,Lr);this.mutationId=t.mutationId,H(this,Be,t.mutationCache),H(this,Kt,[]),this.state=t.state||aA(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Kt).includes(t)||(A(this,Kt).push(t),this.clearGcTimeout(),A(this,Be).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Kt,A(this,Kt).filter(n=>n!==t)),this.scheduleGc(),A(this,Be).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Kt).length||(this.state.status==="pending"?this.scheduleGc():A(this,Be).remove(this))}continue(){var t;return((t=A(this,Lr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,a,l,u,c,d,f,h,w,g,S,m,p,y,b,T,C,E,P;const n=()=>{Le(this,Gt,Dn).call(this,{type:"continue"})};H(this,Lr,r1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,j)=>{Le(this,Gt,Dn).call(this,{type:"failed",failureCount:N,error:j})},onPause:()=>{Le(this,Gt,Dn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,Be).canRun(this)}));const r=this.state.status==="pending",i=!A(this,Lr).canStart();try{if(r)n();else{Le(this,Gt,Dn).call(this,{type:"pending",variables:t,isPaused:i}),await((s=(o=A(this,Be).config).onMutate)==null?void 0:s.call(o,t,this));const j=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));j!==this.state.context&&Le(this,Gt,Dn).call(this,{type:"pending",context:j,variables:t,isPaused:i})}const N=await A(this,Lr).start();return await((c=(u=A(this,Be).config).onSuccess)==null?void 0:c.call(u,N,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,N,t,this.state.context)),await((w=(h=A(this,Be).config).onSettled)==null?void 0:w.call(h,N,null,this.state.variables,this.state.context,this)),await((S=(g=this.options).onSettled)==null?void 0:S.call(g,N,null,t,this.state.context)),Le(this,Gt,Dn).call(this,{type:"success",data:N}),N}catch(N){try{throw await((p=(m=A(this,Be).config).onError)==null?void 0:p.call(m,N,t,this.state.context,this)),await((b=(y=this.options).onError)==null?void 0:b.call(y,N,t,this.state.context)),await((C=(T=A(this,Be).config).onSettled)==null?void 0:C.call(T,void 0,N,this.state.variables,this.state.context,this)),await((P=(E=this.options).onSettled)==null?void 0:P.call(E,void 0,N,t,this.state.context)),N}finally{Le(this,Gt,Dn).call(this,{type:"error",error:N})}}finally{A(this,Be).runNext(this)}}},Kt=new WeakMap,Be=new WeakMap,Lr=new WeakMap,Gt=new WeakSet,Dn=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),We.batch(()=>{A(this,Kt).forEach(r=>{r.onMutationUpdate(t)}),A(this,Be).notify({mutation:this,type:"updated",action:t})})},uy);function aA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,Ot,xs,cy,lA=(cy=class extends Hl{constructor(t={}){super();
187J(this,hn);J(this,Ot);J(this,xs);this.config=t,H(this,hn,new Set),H(this,Ot,new Map),H(this,xs,0)}build(t,n,r){const i=new sA({mutationCache:this,mutationId:++Vs(this,xs)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){A(this,hn).add(t);const n=aa(t);if(typeof n=="string"){const r=A(this,Ot).get(n);r?r.push(t):A(this,Ot).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,hn).delete(t)){const n=aa(t);if(typeof n=="string"){const r=A(this,Ot).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&A(this,Ot).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=aa(t);if(typeof n=="string"){const r=A(this,Ot).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=aa(t);if(typeof n=="string"){const i=(r=A(this,Ot).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(){We.batch(()=>{A(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,hn).clear(),A(this,Ot).clear()})}getAll(){return Array.from(A(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Pm(n,r))}findAll(t={}){return this.getAll().filter(n=>Pm(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Nt))))}},hn=new WeakMap,Ot=new WeakMap,xs=new WeakMap,cy);function aa(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Rm(e){return{onFetch:(t,n)=>{var c,d,f,h,w;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=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const S=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},m=Jx(t.options,t.fetchOptions),p=async(y,b,T)=>{if(g)return Promise.reject();if(b==null&&y.pages.length)return Promise.resolve(y);const E=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:b,direction:T?"backward":"forward",meta:t.options.meta};return S(z),z})(),P=await m(E),{maxPages:N}=t.options,j=T?Q2:Y2;return{pages:j(y.pages,P,N),pageParams:j(y.pageParams,b,N)}};if(i&&o.length){const y=i==="backward",b=y?uA:Mm,T={pages:o,pageParams:s},C=b(r,T);a=await p(T,C,y)}else{const y=e??o.length;do{const b=l===0?s[0]??r.initialPageParam:Mm(r,a);if(l>0&&b==null)break;a=await p(a,b),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var g,S;return(S=(g=t.options).persister)==null?void 0:S.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Mm(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 uA(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 ge,Bn,Un,Li,Ii,Wn,_i,Vi,dy,cA=(dy=class{constructor(e={}){J(this,ge);J(this,Bn);J(this,Un);J(this,Li);J(this,Ii);J(this,Wn);J(this,_i);J(this,Vi);H(this,ge,e.queryCache||new oA),H(this,Bn,e.mutationCache||new lA),H(this,Un,e.defaultOptions||{}),H(this,Li,new Map),H(this,Ii,new Map),H(this,Wn,0)}mount(){Vs(this,Wn)._++,A(this,Wn)===1&&(H(this,_i,e1.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onFocus())})),H(this,Vi,cl.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onOnline())})))}unmount(){var e,t;Vs(this,Wn)._--,A(this,Wn)===0&&((e=A(this,_i))==null||e.call(this),H(this,_i,void 0),(t=A(this,Vi))==null||t.call(this),H(this,Vi,void 0))}isFetching(e){return A(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Bn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(hd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,ge).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=A(this,ge).get(r.queryHash),o=i==null?void 0:i.state.data,s=B2(t,o);if(s!==void 0)return A(this,ge).build(this,r).setData(s,{...n,manual:!0})}
187setQueriesData(e,t,n){return We.batch(()=>A(this,ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,ge);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,ge);return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=We.batch(()=>A(this,ge).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Nt).catch(Nt)}invalidateQueries(e,t={}){return We.batch(()=>(A(this,ge).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=We.batch(()=>A(this,ge).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(Nt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Nt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,ge).build(this,t);return n.isStaleByTime(hd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Nt).catch(Nt)}fetchInfiniteQuery(e){return e.behavior=Rm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Nt).catch(Nt)}ensureInfiniteQueryData(e){return e.behavior=Rm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return cl.isOnline()?A(this,Bn).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ge)}getMutationCache(){return A(this,Bn)}getDefaultOptions(){return A(this,Un)}setDefaultOptions(e){H(this,Un,e)}setQueryDefaults(e,t){A(this,Li).set(ls(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Li).values()],n={};return t.forEach(r=>{us(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,Ii).set(ls(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Ii).values()],n={};return t.forEach(r=>{us(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,Un).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Xf(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===Zf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Un).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ge).clear(),A(this,Bn).clear()}},ge=new WeakMap,Bn=new WeakMap,Un=new WeakMap,Li=new WeakMap,Ii=new WeakMap,Wn=new WeakMap,_i=new WeakMap,Vi=new WeakMap,dy),dA=v.createContext(void 0),fA=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),x.jsx(dA.Provider,{value:e,children:t}));/**
188 * @remix-run/router v1.23.0
189 *
190 * Copyright (c) Remix Software Inc.
191 *
192 * This source code is licensed under the MIT license found in the
193 * LICENSE.md file in the root directory of this source tree.
194 *
195 * @license MIT
196 */function cs(){return cs=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},cs.apply(this,arguments)}var Gn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Gn||(Gn={}));const Nm="popstate";function hA(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return md("",{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:dl(i)}return mA(t,n,null,e)}function Te(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function o1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function pA(){return Math.random().toString(36).substr(2,8)}function jm(e,t){return{usr:e.state,key:e.key,idx:t}}function md(e,t,n,r){return n===void 0&&(n=null),cs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?no(t):t,{state:n,key:t&&t.key||r||pA()})}function dl(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 no(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 mA(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Gn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(cs({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Gn.Pop;let S=c(),m=S==null?null:S-u;u=S,l&&l({action:a,location:g.location,delta:m})}function f(S,m){a=Gn.Push;let p=md(g.location,S,m);u=c()+1;let y=jm(p,u),b=g.createHref(p);try{s.pushState(y,"",b)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(b)}o&&l&&l({action:a,location:g.location,delta:1})}function h(S,m){a=Gn.Replace;let p=md(g.location,S,m);u=c();let y=jm(p,u),b=g.createHref(p);s.replaceState(y,"",b),o&&l&&l({action:a,location:g.location,delta:0})}function w(S){let m=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof S=="string"?S:dl(S);return p=p.replace(/ $/,"%20"),Te(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let g={get action(){return a},get location(){return e(i,s)},listen(S){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Nm,d),l=S,()=>{i.removeEventListener(Nm,d),l=null}},createHref(S){return t(i,S)},createURL:w,encodeLocation(S){let m=w(S);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:h,go(S){return s.go(S)}};return g}var Om;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Om||(Om={}));function gA(e,t,n){return n===void 0&&(n="/"),yA(e,t,n,!1)}function yA(e,t,n,r){let i=typeof t=="string"?no(t):t,o=Jf(i.pathname||"/",n);if(o==null)return null;let s=s1(e);vA(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=RA(o);a=kA(s[l],u,r)}return a}function s1(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("/")&&(Te(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
196id. 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=rr([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(Te(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),s1(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:EA(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 a1(o.path))i(o,s,l)}),t}function a1(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=a1(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 vA(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:PA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const xA=/^:[\w-]+$/,wA=3,SA=2,bA=1,TA=10,CA=-2,Dm=e=>e==="*";function EA(e,t){let n=e.split("/"),r=n.length;return n.some(Dm)&&(r+=CA),t&&(r+=SA),n.filter(i=>!Dm(i)).reduce((i,o)=>i+(xA.test(o)?wA:o===""?bA:TA),r)}function PA(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 kA(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=Lm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Lm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 13,456 bytes, lines 196-214
196Object.assign(i,d.params),s.push({params:i,pathname:rr([o,d.pathname]),pathnameBase:OA(rr([o,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(o=rr([o,d.pathnameBase]))}return s}function Lm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=AA(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 w=a[d];return h&&!w?u[f]=void 0:u[f]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function AA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),o1(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 RA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return o1(!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 Jf(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)||"/"}function MA(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?no(e):e;return{pathname:n?n.startsWith("/")?n:NA(n,t):t,search:DA(r),hash:LA(i)}}function NA(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function $u(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function jA(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function l1(e,t){let n=jA(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function u1(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=no(e):(i=cs({},e),Te(!i.pathname||!i.pathname.includes("?"),$u("?","pathname","search",i)),Te(!i.pathname||!i.pathname.includes("#"),$u("#","pathname","hash",i)),Te(!i.search||!i.search.includes("#"),$u("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=MA(i,a),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const rr=e=>e.join("/").replace(/\/\/+/g,"/"),OA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),DA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,LA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function IA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const c1=["post","put","patch","delete"];new Set(c1);const _A=["get",...c1];new Set(_A);/**
197 * React Router v6.30.1
198 *
199 * Copyright (c) Remix Software Inc.
200 *
201 * This source code is licensed under the MIT license found in the
202 * LICENSE.md file in the root directory of this source tree.
203 *
204 * @license MIT
205 */function ds(){return ds=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},ds.apply(this,arguments)}const eh=v.createContext(null),VA=v.createContext(null),Yr=v.createContext(null),Gl=v.createContext(null),Qr=v.createContext({outlet:null,matches:[],isDataRoute:!1}),d1=v.createContext(null);function FA(e,t){let{relative:n}=t===void 0?{}:t;Rs()||Te(!1);let{basename:r,navigator:i}=v.useContext(Yr),{hash:o,pathname:s,search:a}=h1(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:rr([r,s])),i.createHref({pathname:l,search:a,hash:o})}function Rs(){return v.useContext(Gl)!=null}function Ms(){return Rs()||Te(!1),v.useContext(Gl).location}function f1(e){v.useContext(Yr).static||v.useLayoutEffect(e)}function zA(){let{isDataRoute:e}=v.useContext(Qr);return e?JA():$A()}function $A(){Rs()||Te(!1);let e=v.useContext(eh),{basename:t,future:n,navigator:r}=v.useContext(Yr),{matches:i}=v.useContext(Qr),{pathname:o}=Ms(),s=JSON.stringify(l1(i,n.v7_relativeSplatPath)),a=v.useRef(!1);return f1(()=>{a.current=!0}),v.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=u1(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:rr([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,o,e])}function h1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(Yr),{matches:i}=v.useContext(Qr),{pathname:o}=Ms(),s=JSON.stringify(l1(i,r.v7_relativeSplatPath));return v.useMemo(()=>u1(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function BA(e,t){return UA(e,t)}function UA(e,t,n,r){Rs()||Te(!1);let{navigator:i}=v.useContext(Yr),{matches:o}=v.useContext(Qr),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Ms(),c;if(t){var d;let S=typeof t=="string"?no(t):t;l==="/"||(d=S.pathname)!=null&&d.startsWith(l)||Te(!1),c=S}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let S=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(S.length).join("/")}let w=gA(e,{pathname:h}),g=YA(w&&w.map(S=>Object.assign({},S,{params:Object.assign({},a,S.params),pathname:rr([l,i.encodeLocation?i.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?l:rr([l,i.encodeLocation?i.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),o,n,r);return t&&g?v.createElement(Gl.Provider,{value:{location:ds({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Gn.Pop}},g):g}function WA(){let e=ZA(),t=IA(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 v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:i},n):null,null)}const HA=v.createElement(WA,null);class KA extends v.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?v.createElement(Qr.Provider,{value:this.props.routeContext},v.createElement(d1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function GA(e){let{routeContext:t,match:n,children:r}=e,i=v.useContext(eh);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Qr.Provider,{value:t},r)}function YA(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||Te(!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,w=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||w){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,w=!1,g=null,S=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||HA,l&&(u<0&&f===0?(w=!0,S=null):u===f&&(w=!0,S=d.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,f+1)),p=()=>{let y;return h?y=g:w?y=S:d.route.Component?y=v.createElement(d.route.Component,null):d.route.element?y=d.route.element:y=c,v.createElement(GA,{match:d,routeContext:{outlet:c,matches:m,isDataRoute:n!=null},children:y})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?v.createElement(KA,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var p1=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(p1||{}),fl=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}(fl||{});function QA(e){let t=v.useContext(eh);return t||Te(!1),t}function qA(e){let t=v.useContext(VA);return t||Te(!1),t}function XA(e){let t=v.useContext(Qr);return t||Te(!1),t}function m1(e){let t=XA(),n=t.matches[t.matches.length-1];return n.route.id||Te(!1),n.route.id}function ZA(){var e;let t=v.useContext(d1),n=qA(fl.UseRouteError),r=m1(fl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function JA(){let{router:e}=QA(p1.UseNavigateStable),t=m1(fl.UseNavigateStable),n=v.useRef(!1);return f1(()=>{n.current=!0}),v.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ds({fromRouteId:t},o)))},[e,t])}function eR(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function un(e){Te(!1)}function tR(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Gn.Pop,navigator:o,static:s=!1,future:a}=e;Rs()&&Te(!1);let l=t.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:l,navigator:o,static:s,future:ds({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=no(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:w="default"}=r,g=v.useMemo(()=>{let S=Jf(c,l);return S==null?null:{location:{pathname:S,search:d,hash:f,state:h,key:w},navigationType:i}},[l,c,d,f,h,w,i]);return g==null?null:v.createElement(Yr.Provider,{value:u},v.createElement(Gl.Provider,{children:n,value:g}))}function nR(e){let{children:t,location:n}=e;return BA(gd(t),n)}new Promise(()=>{});function gd(e,t){t===void 0&&(t=[]);let n=[];return v.Children.forEach(e,(r,i)=>{if(!v.isValidElement(r))return;let o=[...t,i];if(r.type===v.Fragment){n.push.apply(n,gd(r.props.children,o));return}r.type!==un&&Te(!1),!r.props.index||!r.props.children||Te(!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=gd(r.props.children,o)),n.push(s)}),n}/**
206 * React Router DOM v6.30.1
207 *
208 * Copyright (c) Remix Software Inc.
209 *
210 * This source code is licensed under the MIT license found in the
211 * LICENSE.md file in the root directory of this source tree.
212 *
213 * @license MIT
214 */function yd(){return yd=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},yd.apply(this,arguments)}function rR(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function iR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function oR(e,t){return e.button===0&&(!t||t==="_self")&&!iR(e)}const sR=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],aR="6";try{window.__reactRouterVersion=aR}catch{}const lR="startTransition",Im=by[lR];function uR(e){let{basename:t,children:n,future:r,window:i}=e,o=v.useRef();o.current==null&&(o.current=hA({window:i,v5Compat:!0}));let s=o.current,[a,l]=v.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=v.useCallback(d=>{u&&Im?Im(()=>l(d)):l(d)},[l,u]);return v.useLayoutEffect(()=>s.listen(c),[s,c]),v.useEffect(()=>
214eR(r),[r]),v.createElement(tR,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const cR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fn=v.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=rR(t,sR),{basename:h}=v.useContext(Yr),w,g=!1;if(typeof u=="string"&&dR.test(u)&&(w=u,cR))try{let y=new URL(window.location.href),b=u.startsWith("//")?new URL(y.protocol+u):new URL(u),T=Jf(b.pathname,h);b.origin===y.origin&&T!=null?u=T+b.search+b.hash:g=!0}catch{}let S=FA(u,{relative:i}),m=fR(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:d});function p(y){r&&r(y),y.defaultPrevented||m(y)}return v.createElement("a",yd({},f,{href:w||S,onClick:g||o?r:p,ref:n,target:l}))});var _m;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_m||(_m={}));var Vm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Vm||(Vm={}));function fR(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,viewTransition:a}=t===void 0?{}:t,l=zA(),u=Ms(),c=h1(e,{relative:s});return v.useCallback(d=>{if(oR(d,n)){d.preventDefault();let f=r!==void 0?r:dl(u)===dl(c);l(e,{replace:f,state:i,preventScrollReset:o,relative:s,viewTransition:a})}},[u,l,c,r,i,n,e,o,s,a])}const th=v.createContext({});function nh(e){const t=v.useRef(null);return t.current===null&&(t.current=e()),t.current}const g1=typeof window<"u",y1=g1?v.useLayoutEffect:v.useEffect,Yl=v.createContext(null);function rh(e,t){e.indexOf(t)===-1&&e.push(t)}function ih(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const nn=(e,t,n)=>n>t?t:n<e?e:n;let Ql=()=>{},Yi=()=>{};const Tn={},v1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function x1(e){return typeof e=="object"&&e!==null}const w1=e=>/^0[^.\s]+$/u.test(e);function oh(e){let t;return()=>(t===void 0&&(t=e()),t)}const wt=e=>e,hR=(e,t)=>n=>t(e(n)),Ns=(...e)=>e.reduce(hR),fs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class sh{constructor(){this.subscriptions=[]}add(t){return rh(this.subscriptions,t),()=>ih(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 Jt=e=>e*1e3,vt=e=>e/1e3;function S1(e,t){return t?e*(1e3/t):0}const b1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,pR=1e-7,mR=12;function gR(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=b1(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>pR&&++a<mR);return s}function js(e,t,n,r){if(e===t&&n===r)return wt;const i=o=>gR(o,0,1,e,n);return o=>o===0||o===1?o:b1(i(o),t,r)}const T1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,C1=e=>t=>1-e(1-t),E1=js(.33,1.53,.69,.99),ah=C1(E1),P1=T1(ah),k1=e=>(e*=2)<1?.5*ah(e):.5*(2-Math.pow(2,-10*(e-1))),lh=e=>1-Math.sin(Math.acos(e)),A1=C1(lh),R1=T1(lh),yR=js(.42,0,1,1),vR=js(0,0,.58,1),M1=js(.42,0,.58,1),xR=e=>Array.isArray(e)&&typeof e[0]!="number",N1=e=>Array.isArray(e)&&typeof e[0]=="number",Fm={linear:wt,easeIn:yR,easeInOut:M1,easeOut:vR,circIn:lh,circInOut:R1,circOut:A1,backIn:ah,backInOut:P1,backOut:E1,anticipate:k1},wR=e=>typeof e=="string",zm=e=>{if(N1(e)){Yi(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return js(t,n,r,i)}else if(wR(e))return Yi(Fm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Fm[e];return e},la=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],$m={value:null,addProjectionMetrics:null};function SR(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: 6,939 bytes, line 214
214{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&&$m.value&&$m.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,c.process(d))}};return c}const bR=40;function j1(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=la.reduce((y,b)=>(y[b]=SR(o,t?b:void 0),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:w}=s,g=()=>{const y=Tn.useManualTiming?i.timestamp:performance.now();n=!1,Tn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,bR),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),w.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},S=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:la.reduce((y,b)=>{const T=s[b];return y[b]=(C,E=!1,P=!1)=>(n||S(),T.schedule(C,E,P)),y},{}),cancel:y=>{for(let b=0;b<la.length;b++)s[la[b]].cancel(y)},state:i,steps:s}}const{schedule:ae,cancel:cr,state:Ne,steps:Bu}=j1(typeof requestAnimationFrame<"u"?requestAnimationFrame:wt,!0);let Ma;function TR(){Ma=void 0}const He={now:()=>(Ma===void 0&&He.set(Ne.isProcessing||Tn.useManualTiming?Ne.timestamp:performance.now()),Ma),set:e=>{Ma=e,queueMicrotask(TR)}},O1=e=>t=>typeof t=="string"&&t.startsWith(e),D1=O1("--"),CR=O1("var(--"),uh=e=>CR(e)?ER.test(e.split("/*")[0].trim()):!1,ER=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Bm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ro={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},hs={...ro,transform:e=>nn(0,1,e)},ua={...ro,default:1},Fo=e=>Math.round(e*1e5)/1e5,ch=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function PR(e){return e==null}const kR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,dh=(e,t)=>n=>!!(typeof n=="string"&&kR.test(n)&&n.startsWith(e)||t&&!PR(n)&&Object.prototype.hasOwnProperty.call(n,t)),L1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,a]=r.match(ch);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},AR=e=>nn(0,255,e),Uu={...ro,transform:e=>Math.round(AR(e))},kr={test:dh("rgb","red"),parse:L1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Uu.transform(e)+", "+Uu.transform(t)+", "+Uu.transform(n)+", "+Fo(hs.transform(r))+")"};function RR(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 vd={test:dh("#"),parse:RR,transform:kr.transform},Os=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=Os("deg"),en=Os("%"),_=Os("px"),MR=Os("vh"),NR=Os("vw"),Um={...en,parse:e=>en.parse(e)/100,transform:e=>en.transform(e*100)},gi={test:dh("hsl","hue"),parse:L1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+en.transform(Fo(t))+", "+en.transform(Fo(n))+", "+Fo(hs.transform(r))+")"},Se={test:e=>kr.test(e)||vd.test(e)||gi.test(e),parse:e=>kr.test(e)?kr.parse(e):gi.test(e)?gi.parse(e):vd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?kr.transform(e):gi.transform(e),getAnimatableNone:e=>{const t=Se.parse(e);return t.alpha=0,Se.transform(t)}},jR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function OR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(ch))==null?void 0:t.length)||0)+(((n=e.match(jR))==null?void 0:n.length)||0)>0}const I1="number",_1="color",DR="var",LR="var(",Wm="${}",IR=/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 ps(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(IR,l=>(Se.test(l)?(r.color.push(o),i.push(_1),n.push(Se.parse(l))):l.startsWith(LR)?(r.var.push(o),i.push(DR),n.push(l)):(r.number.push(o),i.push(I1),n.push(parseFloat(l))),++o,Wm)).split(Wm);return{values:n,split:a,indexes:r,types:i}}function V1(e){return ps(e).values}function F1(e){const{split:t,types:n}=ps(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===I1?o+=Fo(i[s]):a===_1?o+=Se.transform(i[s]):o+=i[s]}return o}}const _R=e=>typeof e=="number"?0:Se.test(e)?Se.getAnimatableNone(e):e;function VR(e){const t=V1(e);return F1(e)(t.map(_R))}const dr={test:OR,parse:V1,createTransformer:F1,getAnimatableNone:VR};function Wu(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 FR({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=Wu(l,a,e+1/3),o=Wu(l,a,e),s=Wu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function hl(e,t){return n=>n>0?t:e}const he=(e,t,n)=>e+(t-e)*n,Hu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},zR=[vd,kr,gi],$R=e=>zR.find(t=>t.test(e));function Hm(e){const t=$R(e);if(Ql(!!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===gi&&(n=FR(n)),n}const Km=(e,t)=>{const n=Hm(e),r=Hm(t);if(!n||!r)return hl(e,t);const i={...n};return o=>(i.red=Hu(n.red,r.red,o),i.green=Hu(n.green,r.green,o),i.blue=Hu(n.blue,r.blue,o),i.alpha=he(n.alpha,r.alpha,o),kr.transform(i))},xd=new Set(["none","hidden"]);function BR(e,t){return xd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function UR(e,t){return n=>he(e,t,n)}function fh(e){return typeof e=="number"?UR:typeof e=="string"?uh(e)?hl:Se.test(e)?Km:KR:Array.isArray(e)?z1:typeof e=="object"?Se.test(e)?Km:WR:hl}function z1(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>fh(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function WR(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=fh(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function HR(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 KR=(e,t)=>{const n=dr.createTransformer(t),r=ps(e),i=ps(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?xd.has(e)&&!i.values.length||xd.has(t)&&!r.values.length?BR(e,t):Ns(z1(HR(r,i),i.values),n):(Ql(!0,`Complex values '${e}' and '${t}
214' 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"),hl(e,t))};function $1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?he(e,t,n):fh(e)(e,t)}const GR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ae.update(t,n),stop:()=>cr(t),now:()=>Ne.isProcessing?Ne.timestamp:He.now()}},B1=(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)})`},pl=2e4;function hh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<pl;)t+=n,r=e.next(t);return t>=pl?1/0:t}function YR(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(hh(r),pl);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:vt(i)}}const QR=5;function U1(e,t,n){const r=Math.max(t-QR,0);return S1(n-e(r),t-r)}const de={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},Ku=.001;function qR({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:r=de.mass}){let i,o;Ql(e<=Jt(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=nn(de.minDamping,de.maxDamping,s),e=nn(de.minDuration,de.maxDuration,vt(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,h=wd(u,s),w=Math.exp(-d);return Ku-f/h*w},o=u=>{const d=u*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,w=Math.exp(-d),g=wd(Math.pow(u,2),s);return(-i(u)+Ku>0?-1:1)*((f-h)*w)/g}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Ku+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=ZR(i,o,a);if(e=Jt(e),isNaN(l))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const XR=12;function ZR(e,t,n){let r=n;for(let i=1;i<XR;i++)r=r-e(r)/t(r);return r}function wd(e,t){return e*Math.sqrt(1-t*t)}const JR=["duration","bounce"],eM=["stiffness","damping","mass"];function Gm(e,t){return t.some(n=>e[n]!==void 0)}function tM(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!Gm(e,eM)&&Gm(e,JR))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*nn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:de.mass,stiffness:i,damping:o}}else{const n=qR(e);t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function ml(e=de.visualDuration,t=de.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}=tM({...n,velocity:-vt(n.velocity||0)}),w=f||0,g=u/(2*Math.sqrt(l*c)),S=s-o,m=vt(Math.sqrt(l/c)),p=Math.abs(S)<5;r||(r=p?de.restSpeed.granular:de.restSpeed.default),i||(i=p?de.restDelta.granular:de.restDelta.default);let y;if(g<1){const T=wd(m,g);y=C=>{const E=Math.exp(-g*m*C);return s-E*((w+g*m*S)/T*Math.sin(T*C)+S*Math.cos(T*C))}}else if(g===1)y=T=>s-Math.exp(-m*T)*(S+(w+m*S)*T);else{const T=m*Math.sqrt(g*g-1);y=C=>{const E=Math.exp(-g*m*C),P=Math.min(T*C,300);return s-E*((w+g*m*S)*Math.sinh(P)+T*S*Math.cosh(P))/T}}const b={calculatedDuration:h&&d||null,next:T=>{const C=y(T);if(h)a.done=T>=d;else{let E=T===0?w:0;g<1&&(E=T===0?Jt(w):U1(y,T,C));const P=Math.abs(E)<=r,N=Math.abs(s-C)<=i;a.done=P&&N}return a.value=a.done?s:C,a},toString:()=>{const T=Math.min(hh(b),pl),C=B1(E=>b.next(T*E).value,T,30);return T+"ms "+C},toTransition:()=>{}};return b}ml.applyToOptions=e=>{const t=YR(e,100,ml);return e.ease=t.ease,e.duration=Jt(t.duration),e.type="keyframes",e};function Sd({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,w=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let g=n*t;const S=d+g,m=s===void 0?S:s(S);m!==S&&(g=m-d);const p=P=>-g*Math.exp(-P/r),y=P=>m+p(P),b=P=>{const N=p(P),j=y(P);f.done=Math.abs(N)<=u,f.value=f.done?m:j};let T,C;const E=P=>{h(f.value)&&(T=P,C=ml({keyframes:[f.value,w(f.value)],velocity:U1(y,P,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return E(0),{calculatedDuration:null,next:P=>{let N=!1;return!C&&T===void 0&&(N=!0,b(P),E(P)),T!==void 0&&P>=T?C.next(P-T):(!N&&b(P),f)}}}function nM(e,t,n){const r=[],i=n||Tn.mix||$1,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]||wt:t;a=Ns(l,a)}r.push(a)}return r}function rM(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Yi(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=nM(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=fs(e[d],e[d+1],c);return a[d](f)};return n?c=>u(nn(e[0],e[o-1],c)):u}function iM(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=fs(0,t,r);e.push(he(n,1,i))}}function oM(e){const t=[0];return iM(t,e.length-1),t}function sM(e,t){return e.map(n=>n*t)}function aM(e,t){return e.map(()=>t||M1).splice(0,e.length-1)}function zo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=xR(r)?r.map(zm):zm(r),o={done:!1,value:t[0]},s=sM(n&&n.length===t.length?n:oM(t),e),a=rM(s,t,{ease:Array.isArray(i)?i:aM(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const lM=e=>e!==null;function ph(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(lM),a=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const uM={decay:Sd,inertia:Sd,tween:zo,keyframes:zo,spring:ml};function W1(e){typeof e.type=="string"&&(e.type=uM[e.type])}class mh{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 cM=e=>e/100;class gh extends mh{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!==He.now()&&this.tick(He.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;W1(t);
vendor: 13,027 bytes, line 214
214const{type:n=zo,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=t;let{keyframes:a}=t;const l=n||zo;l!==zo&&typeof a[0]!="number"&&(this.mixKeyframes=Ns(cM,$1(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=hh(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:w,onUpdate:g,finalKeyframe:S}=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 m=this.currentTime-u*(this.playbackSpeed>=0?1:-1),p=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,b=r;if(d){const P=Math.min(this.currentTime,i)/a;let N=Math.floor(P),j=P%1;!j&&P>=1&&(j=1),j===1&&N--,N=Math.min(N,d+1),!!(N%2)&&(f==="reverse"?(j=1-j,h&&(j-=h/a)):f==="mirror"&&(b=s)),y=nn(0,1,j)*a}const T=p?{done:!1,value:c[0]}:b.next(y);o&&(T.value=o(T.value));let{done:C}=T;!p&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return E&&w!==Sd&&(T.value=ph(c,this.options,S,this.speed)),g&&g(T.value),E&&this.finish(),T}then(t,n){return this.finished.then(t,n)}get duration(){return vt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(this.currentTime)}set time(t){var n;t=Jt(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(He.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=vt(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:t=GR,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(He.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 dM(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Ar=e=>e*180/Math.PI,bd=e=>{const t=Ar(Math.atan2(e[1],e[0]));return Td(t)},fM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:bd,rotateZ:bd,skewX:e=>Ar(Math.atan(e[1])),skewY:e=>Ar(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Td=e=>(e=e%360,e<0&&(e+=360),e),Ym=bd,Qm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),qm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),hM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Qm,scaleY:qm,scale:e=>(Qm(e)+qm(e))/2,rotateX:e=>Td(Ar(Math.atan2(e[6],e[5]))),rotateY:e=>Td(Ar(Math.atan2(-e[2],e[0]))),rotateZ:Ym,rotate:Ym,skewX:e=>Ar(Math.atan(e[4])),skewY:e=>Ar(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Cd(e){return e.includes("scale")?1:0}function Ed(e,t){if(!e||e==="none")return Cd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=hM,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=fM,i=a}if(!i)return Cd(t);const o=r[t],s=i[1].split(",").map(mM);return typeof o=="function"?o(s):s[o]}const pM=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ed(n,t)};function mM(e){return parseFloat(e.trim())}const io=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oo=new Set(io),Xm=e=>e===ro||e===_,gM=new Set(["x","y","z"]),yM=io.filter(e=>!gM.has(e));function vM(e){const t=[];return yM.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Yn={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})=>Ed(t,"x"),y:(e,{transform:t})=>Ed(t,"y")};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const Vr=new Set;let Pd=!1,kd=!1,Ad=!1;function H1(){if(kd){const e=Array.from(Vr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=vM(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)})}kd=!1,Pd=!1,Vr.forEach(e=>e.complete(Ad)),Vr.clear()}function K1(){Vr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(kd=!0)})}function xM(){Ad=!0,K1(),H1(),Ad=!1}class yh{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?(Vr.add(this),Pd||(Pd=!0,ae.read(K1),ae.resolveKeyframes(H1))):(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])}dM(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Vr.delete(this)}cancel(){this.state==="scheduled"&&(Vr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const wM=e=>e.startsWith("--");function SM(e,t,n){wM(t)?e.style.setProperty(t,n):e.style[t]=n}const bM=oh(()=>window.ScrollTimeline!==void 0),TM={};function CM(e,t){const n=oh(e);return()=>TM[t]??n()}const G1=CM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ko=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Zm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ko([0,.65,.55,1]),circOut:ko([.55,0,1,.45]),backIn:ko([.31,.01,.66,-.59]),backOut:ko([.33,1.53,.69,.99])};function Y1(e,t){if(e)return typeof e=="function"?G1()?B1(e,t):"ease-out":N1(e)?ko(e):Array.isArray(e)?e.map(n=>Y1(n,t)||Zm.easeOut):Zm[e]}function EM(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=Y1(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 Q1(e){return typeof e=="function"&&"applyToOptions"in e}function PM({type:e,...t}){return Q1(e)&&G1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class kM extends mh{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,Yi(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=PM(t);this.animation=EM(n,r,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=ph(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):SM(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 t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}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 vt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Jt(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&&bM()?(this.animation.timeline=t,wt):n(this)}}const q1={anticipate:k1,backInOut:P1,circInOut:R1};function AM(e){return e in q1}function RM(e){typeof e.ease=="string"&&AM(e.ease)&&(e.ease=q1[e.ease])}const Gu=10;class MM extends kM{constructor(t){RM(t),W1(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 gh({...s,autoplay:!1}),l=Math.max(Gu,He.now()-this.startTime),u=nn(0,Gu,l-Gu);n.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Jm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(dr.test(e)||e==="0")&&!e.startsWith("url("));function NM(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 jM(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=Jm(i,t),a=Jm(o,t);return Ql(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:NM(e)||(n==="spring"||Q1(n))&&r}function Rd(e){e.duration=0,e.type="keyframes"}const OM=new Set(["opacity","clipPath","filter","transform"]),DM=oh(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function LM(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 DM()&&n&&OM.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}const IM=40;class _M extends mh{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 w;super(),this.stop=()=>{var g,S;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(S=this.keyframeResolver)==null||S.cancel()},this.createdAt=He.now();
214const 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)||yh;this.keyframeResolver=new h(a,(g,S,m)=>this.onKeyframesResolved(g,S,f,!m),l,u,c),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=He.now(),jM(t,o,s,a)||((Tn.instantAnimations||!l)&&(c==null||c(ph(t,r,n))),t[0]=t[t.length-1],Rd(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>IM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!u&&LM(f)?new MM({...f,element:f.motionValue.owner.current}):new gh(f);h.finished.then(()=>this.notifyFinished()).catch(wt),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}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(),xM()),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()}}const VM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function FM(e){const t=VM.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const zM=4;function X1(e,t,n=1){Yi(n<=zM,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=FM(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return v1(s)?parseFloat(s):s}return uh(i)?X1(i,t,n+1):i}function vh(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const $M={type:"spring",stiffness:500,damping:25,restSpeed:10},BM=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),UM={type:"keyframes",duration:.8},WM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},HM=(e,{keyframes:t})=>t.length>2?UM:oo.has(e)?e.startsWith("scale")?BM(t[1]):$M:WM;function KM({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 GM=e=>e!==null;function YM(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(GM),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}function Z1(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 xh=(e,t,n,r={},i,o)=>s=>{const a=vh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Jt(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};KM(a)||Object.assign(c,HM(e,c)),c.duration&&(c.duration=Jt(c.duration)),c.repeatDelay&&(c.repeatDelay=Jt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Rd(c),c.delay===0&&(d=!0)),(Tn.instantAnimations||Tn.skipAnimations)&&(d=!0,Rd(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&t.get()!==void 0){const f=YM(c.keyframes,a);if(f!==void 0){ae.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new gh(c):new _M(c)},J1=new Set(["width","height","top","left","right","bottom",...io]),eg=30,QM=e=>!isNaN(parseFloat(e));class qM{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const i=He.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=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=QM(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 sh);const r=this.events[t].add(n);return t==="change"?()=>{r(),ae.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=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>eg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,eg);return S1(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 Qi(e,t){return new qM(e,t)}function tg(e){const t=[{},{}];
vendor: 29,104 bytes, line 214
214return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function wh(e,t,n,r){if(typeof t=="function"){const[i,o]=tg(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]=tg(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Mi(e,t,n){const r=e.getProps();return wh(r,t,n!==void 0?n:r.custom,e)}const Md=e=>Array.isArray(e);function XM(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Qi(n))}function ZM(e){return Md(e)?e[e.length-1]||0:e}function JM(e,t){const n=Mi(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=ZM(o[s]);XM(e,s,a)}}const ze=e=>!!(e&&e.getVelocity);function eN(e){return!!(ze(e)&&e.add)}function Nd(e,t){const n=e.getValue("willChange");if(eN(n))return n.add(t);if(!n&&Tn.WillChange){const r=new Tn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Sh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const tN="framerAppearId",ew="data-"+Sh(tN);function tw(e){return e.props[ew]}function nN({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function nw(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=t;r&&(o=r);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const c in a){const d=e.getValue(c,e.latestValues[c]??null),f=a[c];if(f===void 0||u&&nN(u,c))continue;const h={delay:n,...vh(o||{},c)},w=d.get();if(w!==void 0&&!d.isAnimating&&!Array.isArray(f)&&f===w&&!h.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const m=tw(e);if(m){const p=window.MotionHandoffAnimation(m,c,ae);p!==null&&(h.startTime=p,g=!0)}}Nd(e,c),d.start(xh(c,d,f,e.shouldReduceMotion&&J1.has(c)?{type:!1}:h,e,g));const S=d.animation;S&&l.push(S)}return s&&Promise.all(l).then(()=>{ae.update(()=>{s&&JM(e,s)})}),l}function jd(e,t,n={}){var l;const r=Mi(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(nw(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return rN(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 rN(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(jd(l,t,{...s,delay:n+(typeof r=="function"?0:r)+Z1(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function iN(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>jd(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=jd(e,t,n);else{const i=typeof t=="function"?Mi(e,t,n.custom):t;r=Promise.all(nw(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const oN={test:e=>e==="auto",parse:e=>e},rw=e=>t=>t.test(e),iw=[ro,_,en,Ln,NR,MR,oN],ng=e=>iw.find(rw(e));function sN(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||w1(e):!0}const aN=new Set(["brightness","contrast","saturate","opacity"]);function lN(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ch)||[];if(!r)return e;const i=n.replace(r,"");let o=aN.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const uN=/\b([a-z-]*)\(.*?\)/gu,Od={...dr,getAnimatableNone:e=>{const t=e.match(uN);return t?t.map(lN).join(" "):e}},rg={...ro,transform:Math.round},cN={rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:ua,scaleX:ua,scaleY:ua,scaleZ:ua,skew:Ln,skewX:Ln,skewY:Ln,distance:_,translateX:_,translateY:_,translateZ:_,x:_,y:_,z:_,perspective:_,transformPerspective:_,opacity:hs,originX:Um,originY:Um,originZ:_},bh={borderWidth:_,borderTopWidth:_,borderRightWidth:_,borderBottomWidth:_,borderLeftWidth:_,borderRadius:_,radius:_,borderTopLeftRadius:_,borderTopRightRadius:_,borderBottomRightRadius:_,borderBottomLeftRadius:_,width:_,maxWidth:_,height:_,maxHeight:_,top:_,right:_,bottom:_,left:_,inset:_,insetBlock:_,insetBlockStart:_,insetBlockEnd:_,insetInline:_,insetInlineStart:_,insetInlineEnd:_,padding:_,paddingTop:_,paddingRight:_,paddingBottom:_,paddingLeft:_,paddingBlock:_,paddingBlockStart:_,paddingBlockEnd:_,paddingInline:_,paddingInlineStart:_,paddingInlineEnd:_,margin:_,marginTop:_,marginRight:_,marginBottom:_,marginLeft:_,marginBlock:_,marginBlockStart:_,marginBlockEnd:_,marginInline:_,marginInlineStart:_,marginInlineEnd:_,backgroundPositionX:_,backgroundPositionY:_,...cN,zIndex:rg,fillOpacity:hs,strokeOpacity:hs,numOctaves:rg},dN={...bh,color:Se,backgroundColor:Se,outlineColor:Se,fill:Se,stroke:Se,borderColor:Se,borderTopColor:Se,borderRightColor:Se,borderBottomColor:Se,borderLeftColor:Se,filter:Od,WebkitFilter:Od},ow=e=>dN[e];function sw(e,t){let n=ow(e);return n!==Od&&(n=dr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const fN=new Set(["auto","none","0"]);function hN(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!fN.has(o)&&ps(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=sw(n,i)}class pN extends yh{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(),uh(d))){const f=X1(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!J1.has(r)||t.length!==2)return;const[i,o]=t,s=ng(i),a=ng(o),l=Bm(i),u=Bm(o);if(l!==u&&Yn[r]){this.needsMeasurement=!0;return}if(s!==a)if(Xm(s)&&Xm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Yn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||sN(t[i]))&&r.push(i);r.length&&hN(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=Yn[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]=Yn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function aw(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const lw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function uw(e){return x1(e)&&"offsetHeight"in e}const{schedule:Th,cancel:DD}=j1(queueMicrotask,!1),Rt={x:!1,y:!1};function cw(){return Rt.x||Rt.y}function mN(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 dw(e,t){const n=aw(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function ig(e){return!(e.pointerType==="touch"||cw())}function gN(e,t,n={}){const[r,i,o]=dw(e,n),s=a=>{if(!ig(a))return;const{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;const c=d=>{ig(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return r.forEach(a=>{a.addEventListener("pointerenter",s,i)}),o}const fw=(e,t)=>t?e===t?!0:fw(e,t.parentElement):!1,Ch=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,yN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function hw(e){return yN.has(e.tagName)||e.isContentEditable===!0}const Na=new WeakSet;function og(e){return t=>{t.key==="Enter"&&e(t)}}function Yu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const vN=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=og(()=>{if(Na.has(n))return;Yu(n,"down");const i=og(()=>{Yu(n,"up")}),o=()=>Yu(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 sg(e){return Ch(e)&&!cw()}function xN(e,t,n={}){const[r,i,o]=dw(e,n),s=a=>{const l=a.currentTarget;if(!sg(a))return;Na.add(l);const u=t(l,a),c=(h,w)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),Na.has(l)&&Na.delete(l),sg(h)&&typeof u=="function"&&u(h,{success:w})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||fw(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),uw(a)&&(a.addEventListener("focus",u=>vN(u,i)),!hw(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function pw(e){return x1(e)&&"ownerSVGElement"in e}function wN(e){return pw(e)&&e.tagName==="svg"}const SN=[...iw,Se,dr],bN=e=>SN.find(rw(e)),ag=()=>({translate:0,scale:1,origin:0,originPoint:0}),yi=()=>({x:ag(),y:ag()}),lg=()=>({min:0,max:0}),Ce=()=>({x:lg(),y:lg()}),Dd={current:null},mw={current:!1},TN=typeof window<"u";function CN(){if(mw.current=!0,!!TN)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Dd.current=e.matches;e.addEventListener("change",t),t()}else Dd.current=!1}const EN=new WeakMap;function ql(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function ms(e){return typeof e=="string"||Array.isArray(e)}const Eh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ph=["initial",...Eh];function Xl(e){return ql(e.animate)||Ph.some(t=>ms(e[t]))}function gw(e){return!!(Xl(e)||e.variants)}function PN(e,t,n){for(const r in t){const i=t[r],o=n[r];if(ze(i))e.addValue(r,i);else if(ze(o))e.addValue(r,Qi(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,Qi(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ug=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let gl={};function yw(e){gl=e}function kN(){return gl}class AN{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=yh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=He.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,ae.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=Xl(n),this.isVariantNode=gw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const h=d[f];l[f]!==void 0&&ze(h)&&h.set(l[f])}}mount(t){var n;this.current=t,EN.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((r,i)=>this.bindToMotionValue(i,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(mw.current||CN(),this.shouldReduceMotion=Dd.current),(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),cr(this.notifyUpdate),cr(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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=oo.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ae.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 gl){const n=gl[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):Ce()}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<ug.length;r++){const i=ug[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=PN(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=Qi(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"&&(v1(r)||w1(r))?r=parseFloat(r):!bN(r)&&dr.test(n)&&(r=sw(t,n)),this.setBaseTarget(t,ze(r)?r.get():r)),ze(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=wh(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&&!ze(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 sh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Th.render(this.render)}}class mr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class vw extends AN{constructor(){super(...arguments),this.KeyframeResolver=pN}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;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function xw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function RN({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function MN(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 Qu(e){return e===void 0||e===1}function Ld({scale:e,scaleX:t,scaleY:n}){return!Qu(e)||!Qu(t)||!Qu(n)}function Tr(e){return Ld(e)||ww(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ww(e){return cg(e.x)||cg(e.y)}function cg(e){return e&&e!=="0%"}function yl(e,t,n){const r=e-n,i=t*r;return n+i}function dg(e,t,n,r,i){return i!==void 0&&(e=yl(e,i,r)),yl(e,n,r)+t}function Id(e,t=0,n=1,r,i){e.min=dg(e.min,t,n,r,i),e.max=dg(e.max,t,n,r,i)}function Sw(e,{x:t,y:n}){Id(e.x,t.translate,t.scale,t.originPoint),Id(e.y,n.translate,n.scale,n.originPoint)}const fg=.999999999999,hg=1.0000000000001;function NN(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&&xi(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Sw(e,s)),r&&Tr(o.latestValues)&&xi(e,o.latestValues))}t.x<hg&&t.x>fg&&(t.x=1),t.y<hg&&t.y>fg&&(t.y=1)}function vi(e,t){e.min=e.min+t,e.max=e.max+t}function pg(e,t,n,r,i=.5){const o=he(e.min,e.max,i);Id(e,t,n,o,r)}function xi(e,t){pg(e.x,t.x,t.scaleX,t.scale,t.originX),pg(e.y,t.y,t.scaleY,t.scale,t.originY)}function bw(e,t){return xw(MN(e.getBoundingClientRect(),t))}function jN(e,t,n){const r=bw(e,n),{scroll:i}=t;return i&&(vi(r.x,i.offset.x),vi(r.y,i.offset.y)),r}const ON={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},DN=io.length;function LN(e,t,n){let r="",i=!0;for(let o=0;o<DN;o++){const s=io[o],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=lw(a,bh[s]);if(!l){i=!1;const c=ON[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function kh(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(oo.has(l)){s=!0;continue}else if(D1(l)){i[l]=u;continue}else{const c=lw(u,bh[l]);l.startsWith("origin")?(a=!0,o[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=LN(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 Tw(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 mg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const bo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_.test(e))e=parseFloat(e);else return e;const n=mg(e,t.target.x),r=mg(e,t.target.y);return`${n}% ${r}%`}},IN={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=dr.parse(e);if(i.length>5)return r;const o=dr.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=he(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}},_d={borderRadius:{...bo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:bo,borderTopRightRadius:bo,borderBottomLeftRadius:bo,borderBottomRightRadius:bo,boxShadow:IN};function Cw(e,{layout:t,layoutId:n}){return oo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!_d[e]||e==="opacity")}function Ah(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)(ze(r[a])||i&&ze(i[a])||Cw(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(o[a]=r[a]);return o}function _N(e){return window.getComputedStyle(e)}class VN extends vw{constructor(){super(...arguments),this.type="html",this.renderInstance=Tw}readValueFromInstance(t,n){var r;if(oo.has(n))return(r=this.projection)!=null&&r.isProjecting?Cd(n):pM(t,n);{const i=_N(t),o=(D1(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return bw(t,n)}build(t,n,r){kh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ah(t,n,r)}}const FN={offset:"stroke-dashoffset",array:"stroke-dasharray"},zN={offset:"strokeDashoffset",array:"strokeDasharray"};function $N(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?FN:zN;e[o.offset]=_.transform(-r);const s=_.transform(t),a=_.transform(n);e[o.array]=`${s} ${a}`}const BN=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Ew(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(kh(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 BN)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&&$N(d,i,o,s,!1)}const Pw=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"]),kw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function UN(e,t,n,r){Tw(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Pw.has(i)?i:Sh(i),t.attrs[i])}function Aw(e,t,n){const r=Ah(e,t,n);for(const i in e)if(ze(e[i])||ze(t[i])){const o=io.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}class WN extends vw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ce}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(oo.has(n)){const r=ow(n);return r&&r.default||0}return n=Pw.has(n)?n:Sh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Aw(t,n,r)}build(t,n,r){Ew(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){UN(t,n,r,i)}mount(t){this.isSVGTag=kw(t.tagName),super.mount(t)}}const HN=Ph.length;function Rw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Rw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<HN;n++){const r=Ph[n],i=e.props[r];(ms(i)||i===!1)&&(t[r]=i)}return t}function Mw(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 KN=[...Eh].reverse(),GN=Eh.length;function YN(e){return t=>Promise.all(t.map(({animation:n,options:r})=>iN(e,n,r)))}function QN(e){let t=YN(e),n=gg(),r=!0;const i=l=>(u,c)=>{var f;const d=Mi(e,c,l==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(d){const{transition:h,transitionEnd:w,...g}=d;u={...u,...g,...w}}return u};function o(l){t=l(e)}function s(l){const{props:u}=e,c=Rw(e.parent)||{},d=[],f=new Set;let h={},w=1/0;for(let S=0;S<GN;S++){const m=KN[S],p=n[m],y=u[m]!==void 0?u[m]:c[m],b=ms(y),T=m===l?p.isActive:null;T===!1&&(w=S);let C=y===c[m]&&y!==u[m]&&b;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),p.protectedKeys={...h},!p.isActive&&T===null||!y&&!p.prevProp||ql(y)||typeof y=="boolean")continue;const E=qN(p.prevProp,y);let P=E||m===l&&p.isActive&&!C&&b||S>w&&b,N=!1;const j=Array.isArray(y)?y:[y];let z=j.reduce(i(m),{});T===!1&&(z={});const{prevResolvedValues:I={}}=p,G={...I,...z},D=F=>{P=!0,f.has(F)&&(N=!0,f.delete(F)),p.needsAnimating[F]=!0;const k=e.getValue(F);k&&(k.liveStyle=!1)};for(const F in G){const k=z[F],R=I[F];if(h.hasOwnProperty(F))continue;let L=!1;Md(k)&&Md(R)?L=!Mw(k,R):L=k!==R,L?k!=null?D(F):f.add(F):k!==void 0&&f.has(F)?D(F):p.protectedKeys[F]=!0}p.prevProp=y,p.prevResolvedValues=z,p.isActive&&(h={...h,...z}),r&&e.blockInitialAnimation&&(P=!1);const Y=C&&E;P&&(!Y||N)&&d.push(...j.map(F=>{const k={type:m};if(typeof F=="string"&&r&&!Y&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,L=Mi(R,F);if(R.enteringChildren&&L){const{delayChildren:U}=L.transition||{};k.delay=Z1(R.enteringChildren,e,U)}}return{animation:F,options:k}}))}if(f.size){const S={};if(typeof u.initial!="boolean"){const m=Mi(e,Array.isArray(u.initial)?u.initial[0]:u.initial);m&&m.transition&&(S.transition=m.transition)}f.forEach(m=>{const p=e.getBaseTarget(m),y=e.getValue(m);y&&(y.liveStyle=!0),S[m]=p??null}),d.push({animation:S})}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=gg()}}}function qN(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Mw(t,e):!1}function wr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function gg(){return{animate:wr(!0),whileInView:wr(),whileHover:wr(),whileTap:wr(),whileDrag:wr(),whileFocus:wr(),exit:wr()}}const Nw=1e-4,XN=1-Nw,ZN=1+Nw,jw=.01,JN=0-jw,ej=0+jw;function Ke(e){return e.max-e.min}function tj(e,t,n){return Math.abs(e-t)<=n}function yg(e,t,n,r=.5){e.origin=r,e.originPoint=he(t.min,t.max,e.origin),e.scale=Ke(n)/Ke(t),e.translate=he(n.min,n.max,e.origin)-e.originPoint,(e.scale>=XN&&e.scale<=ZN||isNaN(e.scale))&&(e.scale=1),(e.translate>=JN&&e.translate<=ej||isNaN(e.translate))&&(e.translate=0)}function $o(e,t,n,r){yg(e.x,t.x,n.x,r?r.originX:void 0),yg(e.y,t.y,n.y,r?r.originY:void 0)}function vg(e,t,n){e.min=n.min+t.min,e.max=e.min+Ke(t)}function nj(e,t,n){vg(e.x,t.x,n.x),vg(e.y,t.y,n.y)}function xg(e,t,n){e.min=t.min-n.min,e.max=e.min+Ke(t)}function vl(e,t,n){xg(e.x,t.x,n.x),xg(e.y,t.y,n.y)}function wg(e,t,n,r,i){return e-=t,e=yl(e,1/n,r),i!==void 0&&(e=yl(e,1/i,r)),e}function rj(e,t=0,n=1,r=.5,i,o=e,s=e){if(en.test(t)&&(t=parseFloat(t),t=he(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=he(o.min,o.max,r);e===o&&(a-=t),e.min=wg(e.min,t,n,a,i),e.max=wg(e.max,t,n,a,i)}function Sg(e,t,[n,r,i],o,s){rj(e,t[n],t[r],t[i],t.scale,o,s)}const ij=["x","scaleX","originX"],oj=["y","scaleY","originY"];function bg(e,t,n,r){Sg(e.x,t,ij,n?n.x:void 0,r?r.x:void 0),Sg(e.y,t,oj,n?n.y:void 0,r?r.y:void 0)}function Tg(e,t){e.min=t.min,e.max=t.max}function At(e,t){Tg(e.x,t.x),Tg(e.y,t.y)}function Cg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Eg(e){return e.translate===0&&e.scale===1}function Ow(e){return Eg(e.x)&&Eg(e.y)}function Pg(e,t){return e.min===t.min&&e.max===t.max}function sj(e,t){return Pg(e.x,t.x)&&Pg(e.y,t.y)}function kg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Dw(e,t){return kg(e.x,t.x)&&kg(e.y,t.y)}function Ag(e){return Ke(e.x)/Ke(e.y)}function Rg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function ft(e){return[e("x"),e("y")]}function aj(e,t,n){let r="";
vendor: 4,442 bytes, line 214
214const 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:w}=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) `),w&&(r+=`skewY(${w}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 Lw=["TopLeft","TopRight","BottomLeft","BottomRight"],lj=Lw.length,Mg=e=>typeof e=="string"?parseFloat(e):e,Ng=e=>typeof e=="number"||_.test(e);function uj(e,t,n,r,i,o){i?(e.opacity=he(0,n.opacity??1,cj(r)),e.opacityExit=he(t.opacity??1,0,dj(r))):o&&(e.opacity=he(t.opacity??1,n.opacity??1,r));for(let s=0;s<lj;s++){const a=`border${Lw[s]}Radius`;let l=jg(t,a),u=jg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Ng(l)===Ng(u)?(e[a]=Math.max(he(Mg(l),Mg(u),r),0),(en.test(u)||en.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=he(t.rotate||0,n.rotate||0,r))}function jg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const cj=Iw(0,.5,A1),dj=Iw(.5,.95,wt);function Iw(e,t,n){return r=>r<e?0:r>t?1:n(fs(e,t,r))}function fj(e,t){const n=He.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(cr(r),e(o-t))};return ae.setup(r,!0),()=>cr(r)}function gs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ja(e){return ze(e)?e.get():e}function hj(e,t,n){const r=ze(e)?e:Qi(e);return r.start(xh("",r,t,n)),r.animation}const pj=(e,t)=>e.depth-t.depth;class mj{constructor(){this.children=[],this.isDirty=!1}add(t){rh(this.children,t),this.isDirty=!0}remove(t){ih(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(pj),this.isDirty=!1,this.children.forEach(t)}}class gj{constructor(){this.members=[]}add(t){rh(this.members,t),t.scheduleRender()}remove(t){if(ih(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];if(o.isPresent!==!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(),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:i}=t.options;i===!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 Oa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},qu=["","X","Y","Z"],yj=1e3;let vj=0;function Xu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function _w(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=tw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ae,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&_w(r)}function Vw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=vj++,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=()=>
vendor: 10,562 bytes, line 214
214{this.projectionUpdateScheduled=!1,this.nodes.forEach(Sj),this.nodes.forEach(Ej),this.nodes.forEach(Pj),this.nodes.forEach(bj)},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 mj)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new sh),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=pw(s)&&!wN(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;ae.read(()=>{d=window.innerWidth}),e(s,()=>{const h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,c&&c(),c=fj(f,250),Oa.hasAnimatedSinceResize&&(Oa.hasAnimatedSinceResize=!1,this.nodes.forEach(Lg)))})}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 w=this.options.transition||u.getDefaultTransition()||Nj,{onLayoutAnimationStart:g,onLayoutAnimationComplete:S}=u.getProps(),m=!this.targetLayout||!Dw(this.targetLayout,h),p=!d&&f;if(this.options.layoutRoot||this.resumeFrom||p||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...vh(w,"layout"),onPlay:g,onComplete:S};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(c,p)}else d||Lg(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(),cr(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(kj),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&&_w(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(Og);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Dg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Cj),this.nodes.forEach(xj),this.nodes.forEach(wj)):this.nodes.forEach(Dg),this.clearAllSnapshots();const a=He.now();Ne.delta=nn(0,1e3/60,a-Ne.timestamp),Ne.timestamp=a,Ne.isProcessing=!0,Bu.update.process(Ne),Bu.preRender.process(Ne),Bu.render.process(Ne),Ne.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Th.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Tj),this.sharedNodes.forEach(Aj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ae.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ae.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ke(this.snapshot.measuredBox.x)&&!Ke(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=Ce(),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&&!Ow(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||Tr(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)),jj(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return Ce();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(Oj))){const{scroll:c}=this.root;c&&(vi(a.x,c.offset.x),vi(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=Ce();if(At(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&&At(a,s),vi(a.x,d.offset.x),vi(a.y,d.offset.y))}return a}applyTransform(s,a=!1){const l=Ce();At(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&&xi(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Tr(c.latestValues)&&xi(l,c.latestValues)}return Tr(this.latestValues)&&xi(l,this.latestValues),l}removeTransform(s){const a=Ce();At(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Tr(u.latestValues))continue;Ld(u.latestValues)&&u.updateSnapshot();const c=Ce(),d=u.measurePageBox();At(c,d),bg(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Tr(this.latestValues)&&bg(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!==Ne.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=Ne.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=Ce(),this.targetWithTransforms=Ce()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),nj(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):At(this.target,this.layout.layoutBox),Sw(this.target,this.targetDelta)):At(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||Ld(this.parent.latestValues)||ww(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=Ce(),this.relativeTargetOrigin=Ce(),vl(this.relativeTargetOrigin,a,l),At(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&
vendor: 5,271 bytes, line 214
214(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ne.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;At(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;NN(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=Ce());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Cg(this.prevProjectionDelta.x,this.projectionDelta.x),Cg(this.prevProjectionDelta.y,this.projectionDelta.y)),$o(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Rg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Rg(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=yi(),this.projectionDelta=yi(),this.projectionDeltaWithTransform=yi()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=yi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Ce(),h=l?l.source:void 0,w=this.layout?this.layout.source:void 0,g=h!==w,S=this.getStack(),m=!S||S.members.length<=1,p=!!(g&&!m&&this.options.crossfade===!0&&!this.path.some(Mj));this.animationProgress=0;let y;this.mixTargetDelta=b=>{const T=b/1e3;Ig(d.x,s.x,T),Ig(d.y,s.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Rj(this.relativeTarget,this.relativeTargetOrigin,f,T),y&&sj(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Ce()),At(y,this.relativeTarget)),g&&(this.animationValues=c,uj(c,u,this.latestValues,T,p,m)),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&&(cr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ae.update(()=>{Oa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Qi(0)),this.currentAnimation=hj(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(yj),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&&Fw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ce();const d=Ke(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Ke(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}At(a,l),xi(a,c),$o(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new gj),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: 26,778 bytes, lines 214-222
214resetSkewAndRotation(){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&&Xu("z",s,u,this.animationValues);for(let c=0;c<qu.length;c++)Xu(`rotate${qu[c]}`,s,u,this.animationValues),Xu(`skew${qu[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=ja(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=ja(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Tr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=aj(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 w in _d){if(c[w]===void 0)continue;const{correct:g,applyTo:S,isCSSVariable:m}=_d[w],p=d==="none"?c[w]:g(c[w],u);if(S){const y=S.length;for(let b=0;b<y;b++)s[S[b]]=p}else m?this.options.visualElement.renderState.vars[w]=p:s[w]=p}this.options.layoutId&&(s.pointerEvents=u===this?ja(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(Og),this.root.sharedNodes.clear()}}}function xj(e){e.updateLayout()}function wj(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"?ft(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=Ke(f);f.min=r[d].min,f.max=f.min+h}):Fw(o,t.layoutBox,r)&&ft(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=Ke(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=yi();$o(a,r,t.layoutBox);const l=yi();s?$o(l,e.applyTransform(i,!0),t.measuredBox):$o(l,r,t.layoutBox);const u=!Ow(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 w=Ce();vl(w,t.layoutBox,f.layoutBox);const g=Ce();vl(g,r,h.layoutBox),Dw(w,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=w,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 Sj(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 bj(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Tj(e){e.clearSnapshot()}function Og(e){e.clearMeasurements()}function Dg(e){e.isLayoutDirty=!1}function Cj(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Lg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ej(e){e.resolveTargetDelta()}function Pj(e){e.calcProjection()}function kj(e){e.resetSkewAndRotation()}function Aj(e){e.removeLeadSnapshot()}function Ig(e,t,n){e.translate=he(t.translate,0,n),e.scale=he(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _g(e,t,n,r){e.min=he(t.min,n.min,r),e.max=he(t.max,n.max,r)}function Rj(e,t,n,r){_g(e.x,t.x,n.x,r),_g(e.y,t.y,n.y,r)}function Mj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Nj={duration:.45,ease:[.4,0,.1,1]},Vg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Fg=Vg("applewebkit/")&&!Vg("chrome/")?Math.round:wt;function zg(e){e.min=Fg(e.min),e.max=Fg(e.max)}function jj(e){zg(e.x),zg(e.y)}function Fw(e,t,n){return e==="position"||e==="preserve-aspect"&&!tj(Ag(t),Ag(n),.2)}function Oj(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const Dj=Vw({attachResizeListener:(e,t)=>gs(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Zu={current:void 0},zw=Vw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Zu.current){const e=new Dj({});e.mount(window),e.setOptions({layoutScroll:!0}),Zu.current=e}return Zu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Rh=v.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function $g(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Lj(...e){return t=>{let n=!1;const r=e.map(i=>{const o=$g(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():$g(e[i],null)}}}}function Ij(...e){return v.useCallback(Lj(...e),e)}class _j extends v.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=uw(r)&&r.offsetWidth||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Vj({children:e,isPresent:t,anchorX:n,root:r}){var c;const i=v.useId(),o=v.useRef(null),s=v.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=v.useContext(Rh),l=((c=e.props)==null?void 0:c.ref)??(e==null?void 0:e.ref),u=Ij(o,l);return v.useInsertionEffect(()=>{const{width:d,height:f,top:h,left:w,right:g}=s.current;if(t||!o.current||!d||!f)return;const S=n==="left"?`left: ${w}`:`right: ${g}`;o.current.dataset.motionPopId=i;const m=document.createElement("style");a&&(m.nonce=a);const p=r??document.head;return p.appendChild(m),m.sheet&&m.sheet.insertRule(`
215          [data-motion-pop-id="${i}"] {
216            position: absolute !important;
217            width: ${d}px !important;
218            height: ${f}px !important;
219            ${S}px !important;
220            top: ${h}px !important;
221          }
222        `),()=>{p.contains(m)&&p.removeChild(m)}},[t]),x.jsx(_j,{isPresent:t,childRef:o,sizeRef:s,children:v.cloneElement(e,{ref:u})})}const Fj=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s,anchorX:a,root:l})=>{const u=nh(zj),c=v.useId();let d=!0,f=v.useMemo(()=>(d=!1,{id:c,initial:t,isPresent:n,custom:i,onExitComplete:h=>{u.set(h,!0);for(const w of u.values())if(!w)return;r&&r()},register:h=>(u.set(h,!1),()=>u.delete(h))}),[n,u,r]);return o&&d&&(f={...f}),v.useMemo(()=>{u.forEach((h,w)=>u.set(w,!1))},[n]),v.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),s==="popLayout"&&(e=x.jsx(Vj,{isPresent:n,anchorX:a,root:l,children:e})),x.jsx(Yl.Provider,{value:f,children:e})};function zj(){return new Map}function $w(e=!0){const t=v.useContext(Yl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=v.useId();v.useEffect(()=>{if(e)return i(o)},[e]);const s=v.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}const ca=e=>e.key||"";function Bg(e){const t=[];return v.Children.forEach(e,n=>{v.isValidElement(n)&&t.push(n)}),t}const $j=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1,anchorX:a="left",root:l})=>{const[u,c]=$w(s),d=v.useMemo(()=>Bg(e),[e]),f=s&&!u?[]:d.map(ca),h=v.useRef(!0),w=v.useRef(d),g=nh(()=>new Map),S=v.useRef(new Set),[m,p]=v.useState(d),[y,b]=v.useState(d);y1(()=>{h.current=!1,w.current=d;for(let E=0;E<y.length;E++){const P=ca(y[E]);f.includes(P)?(g.delete(P),S.current.delete(P)):g.get(P)!==!0&&g.set(P,!1)}},[y,f.length,f.join("-")]);const T=[];if(d!==m){let E=[...d];for(let P=0;P<y.length;P++){const N=y[P],j=ca(N);f.includes(j)||(E.splice(P,0,N),T.push(N))}return o==="wait"&&T.length&&(E=T),b(Bg(E)),p(d),null}const{forceRender:C}=v.useContext(th);return x.jsx(x.Fragment,{children:y.map(E=>{const P=ca(E),N=s&&!u?!1:d===y||f.includes(P),j=()=>{if(S.current.has(P))return;if(S.current.add(P),g.has(P))g.set(P,!0);else return;let z=!0;g.forEach(I=>{I||(z=!1)}),z&&(C==null||C(),b(w.current),s&&(c==null||c()),r&&r())};return x.jsx(Fj,{isPresent:N,initial:!h.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:l,onExitComplete:N?void 0:j,anchorX:a,children:E},P)})})},Bw=v.createContext({strict:!1}),Ug={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 Wg=!1;function Bj(){if(Wg)return;const e={};for(const t in Ug)e[t]={isEnabled:n=>Ug[t].some(r=>!!n[r])};yw(e),Wg=!0}function Uw(){return Bj(),kN()}function Uj(e){const t=Uw();for(const n in e)t[n]={...t[n],...e[n]};yw(t)}const Wj=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function xl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Wj.has(e)}let Ww=e=>!xl(e);function Hj(e){typeof e=="function"&&(Ww=t=>t.startsWith("on")?!xl(t):e(t))}try{Hj(require("@emotion/is-prop-valid").default)}catch{}function Kj(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Ww(i)||n===!0&&xl(i)||!t&&!xl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Zl=v.createContext({});function Gj(e,t){if(Xl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ms(n)?n:void 0,animate:ms(r)?r:void 0}}return e.inherit!==!1?t:{}}function Yj(e){const{initial:t,animate:n}=Gj(e,v.useContext(Zl));return v.useMemo(()=>({initial:t,animate:n}),[Hg(t),Hg(n)])}function Hg(e){return Array.isArray(e)?e.join(" "):e}const Mh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Hw(e,t,n){for(const r in t)!ze(t[r])&&!Cw(r,n)&&(e[r]=t[r])}function Qj({transformTemplate:e},t){return v.useMemo(()=>{const n=Mh();return kh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function qj(e,t){const n=e.style||{},r={};return Hw(r,n,e),Object.assign(r,Qj(e,t)),r}function Xj(e,t){const n={},r=qj(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 Kw=()=>({...Mh(),attrs:{}});function Zj(e,t,n,r){const i=v.useMemo(()=>{const o=Kw();return Ew(o,t,kw(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Hw(o,e.style,e),i.style={...o,...i.style}}return i}const Jj=["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 Nh(e){return typeof e!="string"||e.includes("-")?!1:!!(Jj.indexOf(e)>-1||/[A-Z]/u.test(e))}function eO(e,t,n,{latestValues:r},i,o=!1,s){const l=(s??Nh(e)?Zj:Xj)(t,r,i,e),u=Kj(t,typeof e=="string",o),c=e!==v.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=v.useMemo(()=>ze(d)?d.get():d,[d]);return v.createElement(e,{...c,children:f})}function tO({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:nO(n,r,i,e),renderState:t()}}function nO(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=ja(o[f]);let{initial:s,animate:a}=e;const l=Xl(e),u=gw(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"&&!ql(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const w=wh(e,f[h]);if(w){const{transitionEnd:g,transition:S,...m}=w;for(const p in m){let y=m[p];if(Array.isArray(y)){const b=c?y.length-1:0;y=y[b]}y!==null&&(i[p]=y)}for(const p in g)i[p]=g[p]}}}return i}const Gw=e=>(t,n)=>{const r=v.useContext(Zl),i=v.useContext(Yl),o=()=>tO(e,t,r,i);return n?o():nh(o)},rO=Gw({scrapeMotionValuesFromProps:Ah,createRenderState:Mh}),iO=Gw({scrapeMotionValuesFromProps:Aw,createRenderState:Kw}),oO=Symbol.for("motionComponentSymbol");function sO(e,t,n){const r=v.useRef(n);v.useInsertionEffect(()=>{r.current=n});const i=v.useRef(null);return v.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 Yw=v.createContext({});function Ao(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function aO(e,t,n,r,i,o){var S,m;const{visualElement:s}=v.useContext(Zl),a=v.useContext(Bw),l=v.useContext(Yl),u=v.useContext(Rh).reducedMotion,c=v.useRef(null);r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,isSVG:o}));const d=c.current,f=v.useContext(Yw);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&lO(c.current,n,i,f);const h=v.useRef(!1);v.useInsertionEffect(()=>{d&&h.current&&d.update(n,l)});const w=n[ew],g=v.useRef(!!w&&!((S=window.MotionHandoffIsComplete)!=null&&S.call(window,w))&&((m=window.MotionHasOptimisedAnimation)==null?void 0:m.call(window,w)));return y1(()=>{d&&(h.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),g.current&&d.animationState&&d.animationState.animateChanges())}),v.useEffect(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)==null||p.call(window,w)}),g.current=!1),d.enteringChildren=void 0)}),d}function lO(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:Qw(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&Ao(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function Qw(e){if(e)return e.options.allowProjection!==!1?e.projection:Qw(e.parent)}function Ju(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Uj(r);const o=n?n==="svg":Nh(e),s=o?iO:rO;function a(u,c){let d;const f={...v.useContext(Rh),...u,layoutId:uO(u)},{isStatic:h}=f,w=Yj(u),g=s(u,h);if(!h&&g1){cO();const S=dO(f);d=S.MeasureLayout,w.visualElement=aO(e,g,f,i,S.ProjectionNode,o)}return x.jsxs(Zl.Provider,{value:w,children:[d&&w.visualElement?x.jsx(d,{visualElement:w.visualElement,...f}):null,eO(e,u,sO(g,w.visualElement,c),g,h,t,o)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=v.forwardRef(a);return l[oO]=e,l}function uO({layoutId:e}){const t=v.useContext(th).id;return t&&e!==void 0?t+"-"+e:e}function cO(e,t){v.useContext(Bw).strict}function dO(e){const t=Uw(),{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 fO(e,t){if(typeof Proxy>"u")return Ju;const n=new Map,r=(o,s)=>Ju(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,Ju(s,void 0,e,t)),n.get(s))})}const hO=(e,t)=>t.isSVG??Nh(e)?new WN(t):new VN(t,{allowProjection:e!==v.Fragment});class pO extends mr{constructor(t){super(t),t.animationState||(t.animationState=QN(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ql(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 mO=0;class gO extends mr{constructor(){super(...arguments),this.id=mO++}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||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const yO={animation:{Feature:pO},exit:{Feature:gO}};function Ds(e){return{point:{x:e.pageX,y:e.pageY}}}const vO=e=>t=>Ch(t)&&e(t,Ds(t));function Bo(e,t,n,r){return gs(e,t,vO(n),r)}const qw=({current:e})=>e?e.ownerDocument.defaultView:null,Kg=(e,t)=>Math.abs(e-t);function xO(e,t){const n=Kg(e.x,t.x),r=Kg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Gg=new Set(["auto","scroll"]);class Xw{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=tc(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,g=xO(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!g)return;const{point:S}=h,{timestamp:m}=Ne;this.history.push({...S,timestamp:m});const{onStart:p,onMove:y}=this.handlers;w||(p&&p(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,h)},this.handlePointerMove=(h,w)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=ec(w,this.transformPagePoint),ae.update(this.updatePoint,!0)},this.handlePointerUp=(h,w)=>{this.end();const{onEnd:g,onSessionEnd:S,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=tc(h.type==="pointercancel"?this.lastMoveEventInfo:ec(w,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,p),S&&S(h,p)},!Ch(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;const l=Ds(t),u=ec(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Ne;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,tc(u,this.history)),this.removeListeners=Ns(Bo(this.contextWindow,"pointermove",this.handlePointerMove),Bo(this.contextWindow,"pointerup",this.handlePointerUp),Bo(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Gg.has(r.overflowX)||Gg.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),ae.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),cr(this.updatePoint)}}function ec(e,t){return t?{point:t(e.point)}:e}function Yg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tc({point:e},t){return{point:e,delta:Yg(e,Zw(t)),offset:Yg(e,wO(t)),velocity:SO(t,.1)}}function wO(e){return e[0]}function Zw(e){return e[e.length-1]}function SO(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Zw(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Jt(t)));)n--;if(!r)return{x:0,y:0};const o=vt(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 bO(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?he(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?he(n,e,r.max):Math.min(e,n)),e}function Qg(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 TO(e,{top:t,left:n,bottom:r,right:i}){return{x:Qg(e.x,n,i),y:Qg(e.y,t,r)}}function qg(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 CO(e,t){return{x:qg(e.x,t.x),y:qg(e.y,t.y)}}function EO(e,t){let n=.5;const r=Ke(e),i=Ke(t);return i>r?n=fs(t.min,t.max-r,e.min):r>i&&(n=fs(e.min,e.max-i,t.min)),nn(0,1,n)}function PO(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 Vd=.35;function kO(e=Vd){return e===!1?e=0:e===!0&&(e=Vd),{x:Xg(e,"left","right"),y:Xg(e,"top","bottom")}}function Xg(e,t,n){return{min:Zg(e,t),max:Zg(e,n)}}function Zg(e,t){return typeof e=="number"?e:e[t]||0}const AO=new WeakMap;class RO{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=Ce(),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.stopAnimation(),this.snapToCursor(Ds(d).point)):this.pauseAnimation()},s=(d,f)=>{this.stopAnimation();const{drag:h,dragPropagation:w,onDragStart:g}=this.getProps();if(h&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=mN(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),ft(m=>{let p=this.getAxisMotionValue(m).get()||0;if(en.test(p)){const{projection:y}=this.visualElement;if(y&&y.layout){const b=y.layout.layoutBox[m];b&&(p=Ke(b)*(parseFloat(p)/100))}}this.originPoint[m]=p}),g&&ae.postRender(()=>g(d,f)),Nd(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:w,onDirectionLock:g,onDrag:S}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:m}=f;if(w&&this.currentDirection===null){this.currentDirection=MO(m),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,m),this.updateAxis("y",f.point,m),this.visualElement.render(),S&&S(d,f)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>ft(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)==null?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Xw(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:qw(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&&ae.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!da(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=bO(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&&Ao(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=TO(r.layoutBox,t):this.constraints=!1,this.elastic=kO(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ft(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=PO(r.layoutBox[s],this.constraints[s])
vendor: 4,304 bytes, line 222
222)})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ao(t))return!1;const r=t.current;Yi(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=jN(r,i.root,this.visualElement.getTransformPagePoint());let s=CO(i.layout.layoutBox,o);if(n){const a=n(RN(s));this.hasMutatedConstraints=!!a,a&&(s=xw(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=ft(c=>{if(!da(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,w={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Nd(this.visualElement,t),r.start(xh(t,r,0,n,this.visualElement,!1))}stopAnimation(){ft(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ft(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}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){ft(n=>{const{drag:r}=this.getProps();if(!da(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]-he(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ao(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};ft(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=EO({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.resolveConstraints(),ft(s=>{if(!da(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(he(l,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;AO.set(this.visualElement,this);const t=this.visualElement.current,n=Bo(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&!hw(l.target)&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Ao(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ae.read(r);const s=gs(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(ft(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=Vd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function da(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function MO(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class NO extends mr{constructor(t){super(t),this.removeGroupControls=wt,this.removeListeners=wt,this.controls=new RO(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wt}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()}}const Jg=e=>(t,n)=>{e&&ae.postRender(()=>e(t,n))};
vendor: 6,622 bytes, line 222
222class jO extends mr{constructor(){super(...arguments),this.removePointerDownListener=wt}onPointerDown(t){this.session=new Xw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:qw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Jg(t),onStart:Jg(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&ae.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=Bo(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 nc=!1;class OO extends v.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),nc&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Oa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:s}=r;return s&&(s.isPresent=o,nc=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==o?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||ae.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Th.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;nc=!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 Jw(e){const[t,n]=$w(),r=v.useContext(th);return x.jsx(OO,{...e,layoutGroup:r,switchLayoutGroup:v.useContext(Yw),isPresent:t,safeToRemove:n})}const DO={pan:{Feature:jO},drag:{Feature:NO,ProjectionNode:zw,MeasureLayout:Jw}};function ey(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&&ae.postRender(()=>o(t,Ds(t)))}class LO extends mr{mount(){const{current:t}=this.node;t&&(this.unmount=gN(t,(n,r)=>(ey(this.node,r,"Start"),i=>ey(this.node,i,"End"))))}unmount(){}}class IO extends mr{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=Ns(gs(this.node.current,"focus",()=>this.onFocus()),gs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ty(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&&ae.postRender(()=>o(t,Ds(t)))}class _O extends mr{mount(){const{current:t}=this.node;t&&(this.unmount=xN(t,(n,r)=>(ty(this.node,r,"Start"),(i,{success:o})=>ty(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Fd=new WeakMap,rc=new WeakMap,VO=e=>{const t=Fd.get(e.target);t&&t(e)},FO=e=>{e.forEach(VO)};function zO({root:e,...t}){const n=e||document;rc.has(n)||rc.set(n,{});const r=rc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(FO,{root:e,...t})),r[i]}function $O(e,t,n){const r=zO(t);return Fd.set(e,n),r.observe(e),()=>{Fd.delete(e),r.unobserve(e)}}const BO={some:0,all:1};class UO extends mr{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:BO[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 $O(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(WO(t,n))&&this.startObserver()}unmount(){}}function WO({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const HO={inView:{Feature:UO},tap:{Feature:_O},focus:{Feature:IO},hover:{Feature:LO}},KO={layout:{ProjectionNode:zw,MeasureLayout:Jw}},GO={...yO,...HO,...DO,...KO},ve=fO(GO,hO),YO={some:0,all:1};function QO(e,t,{root:n,margin:r,amount:i="some"}={}){const o=aw(e),s=new WeakMap,a=u=>{u.forEach(c=>{const d=s.get(c.target);if(c.isIntersecting!==!!d)if(c.isIntersecting){const f=t(c.target,c);typeof f=="function"?s.set(c.target,f):l.unobserve(c.target)}else typeof d=="function"&&(d(c),s.delete(c.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof i=="number"?i:YO[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}function so(e,{root:t,margin:n,amount:r,once:i=!1,initial:o=!1}={}){const[s,a]=v.useState(o);return v.useEffect(()=>{if(!e.current||i&&s)return;const l=()=>(a(!0),i?void 0:()=>a(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return QO(e.current,l,u)},[t,e,n,i,r]),s}const qO=lx("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",hero:"bg-primary text-primary-foreground font-semibold hover:bg-primary/85 hover:-translate-y-0.5",heroOutline:"border-2 border-foreground
222/20 text-foreground bg-transparent hover:border-primary hover:text-primary hover:-translate-y-0.5 backdrop-blur-sm"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-12 rounded-md px-8 text-base",xl:"h-14 rounded-lg px-10 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ys=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const s=r?CC:"button";return x.jsx(s,{className:rn(qO({variant:t,size:n,className:e})),ref:o,...i})});ys.displayName="Button";const eS="/assets/delande-logo-white--6u5qUEx.webp",ny=[{name:"About",href:"/about"},{name:"OTC & Medical Supplies",href:"/#services"},{name:"Partner with Us",href:"/membership"},{name:"Contact",href:"/contact"}],XO=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),i=Ms();v.useEffect(()=>{const s=()=>{t(window.scrollY>50)};return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]);const o=s=>{if(r(!1),s.startsWith("/#")){const a=s.substring(2);if(i.pathname==="/"){const l=document.getElementById(a);l&&l.scrollIntoView({behavior:"smooth"})}}};return x.jsxs(ve.header,{initial:{y:-100},animate:{y:0},transition:{duration:.6,ease:"easeOut"},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-background/95 backdrop-blur-md shadow-lg border-b border-border/50":"bg-transparent"}`,children:[x.jsx("nav",{className:"container-wide",children:x.jsxs("div",{className:"flex items-center justify-between h-20",children:[x.jsx(fn,{to:"/",className:"flex items-center gap-3",children:x.jsx("img",{src:eS,alt:"DeLande Group",className:"h-10 w-auto"})}),x.jsx("div",{className:"hidden lg:flex items-center gap-8",children:ny.map(s=>x.jsx(fn,{to:s.href,onClick:()=>o(s.href),className:"text-sm font-medium text-foreground/80 hover:text-primary transition-colors duration-200",children:s.name},s.name))}),x.jsx("div",{className:"hidden lg:block relative",children:x.jsxs("div",{className:"relative inline-block",children:[x.jsx(ys,{variant:"hero",size:"lg",disabled:!0,children:"Client Portal"}),x.jsx("span",{className:"absolute -top-2 -right-3 bg-foreground text-background text-[10px] font-bold uppercase tracking-wider px-2 py-0.5 rounded-full shadow-md border border-border z-10 pointer-events-none",children:"Coming Soon"})]})}),x.jsx("button",{className:"lg:hidden p-2 text-foreground",onClick:()=>r(!n),"aria-label":n?"Close menu":"Open menu",children:n?x.jsx(dx,{size:24}):x.jsx(kE,{size:24})})]})}),x.jsx($j,{children:n&&x.jsx(ve.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"lg:hidden bg-background/95 backdrop-blur-md border-b border-border",children:x.jsxs("div",{className:"container-wide py-6 flex flex-col gap-4",children:[ny.map(s=>x.jsx(fn,{to:s.href,className:"text-lg font-medium text-foreground/80 hover:text-primary transition-colors py-2",onClick:()=>o(s.href),children:s.name},s.name)),x.jsxs("div",{className:"relative w-full mt-4",children:[x.jsx(ys,{variant:"hero",size:"lg",className:"w-full",disabled:!0,children:"Client Portal"}),x.jsx("span",{className:"absolute -top-2 -right-2 bg-foreground text-background text-[10px] font-bold uppercase tracking-wider px-2 py-0.5 rounded-full shadow-md border border-border z-10 pointer-events-none",children:"Coming Soon"})]})]})})})]})},ry="https://delandenexus.lovable.app",ZO=({title:e,description:t,canonical:n,ogImage:r,noIndex:i,schemaJson:o})=>{const s=n.startsWith("http")?n:`${ry}${n.startsWith("/")?n:`/${n}`}`,a=r?r.startsWith("http")?r:`${ry}${r.startsWith("/")?r:`/${r}`}`:void 0;return x.jsxs(pC,{children:[x.jsx("title",{children:e}),x.jsx("meta",{name:"description",content:t}),x.jsx("link",{rel:"canonical",href:s}),i&&x.jsx("meta",{name:"robots",content:"noindex, nofollow"}),x.jsx("meta",{property:"og:title",content:e}),x.jsx("meta",{property:"og:description",content:t}),x.jsx("meta",{property:"og:type",content:"website"}),x.jsx("meta",{property:"og:url",content:s}),a&&x.jsx("meta",{property:"og:image",content:a}),x.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),x.jsx("meta",{name:"twitter:title",content:e}),x.jsx("meta",{name:"twitter:description",content:t}),a&&x.jsx("meta",{name:"twitter:image",content:a}),o&&x.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)})]})},JO="/assets/hero-logistics-CTPYAgGt.webp",eD=()=>x.jsxs("section",{className:"relative min-h-[85vh] flex items-center overflow-hidden",children:[x.jsxs("div",{className:"absolute inset-0",children:[x.jsx("img",{src:JO,alt:"Global Logistics",className:"w-full h-full object-cover",fetchPriority:"high",loading:"eager"}),x.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background via-background/90 to-background/40"}),x.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-trans
222parent to-transparent"})]}),x.jsx("div",{className:"container-wide relative z-10 pt-28 pb-16",children:x.jsxs("div",{className:"max-w-3xl",children:[x.jsx(ve.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},children:x.jsx("span",{className:"inline-block px-4 py-2 bg-primary/10 border border-primary/20 rounded-full text-primary text-sm font-medium mb-6",children:"Building solutions for a better tomorrow"})}),x.jsxs(ve.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"text-4xl md:text-6xl lg:text-7xl font-bold leading-tight mb-6",children:["Where Pharmaceutical Supply Chains Meet Their"," ",x.jsx("span",{className:"gold-text",children:"Toughest Markets"})]}),x.jsx(ve.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},className:"text-lg md:text-xl text-muted-foreground leading-relaxed mb-10 max-w-2xl",children:"DeLande Group is a pharmaceutical supply chain technology platform powered by real-world logistics operations in hard-to-serve markets."}),x.jsx(ve.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.8},children:x.jsx("a",{href:"#sustainability",children:x.jsxs(ys,{variant:"hero",size:"xl",children:["Our Strategy",x.jsx(cx,{className:"ml-2"})]})})})]})})]}),tD=[{value:85e3,suffix:"+",label:"Residents in Active Market (U.S. Virgin Islands)"},{value:15e3,suffix:"+",label:"Patients Served Annually by Local Health Systems"},{value:12,suffix:"+",label:"Healthcare & Community Organizations"},{value:3,suffix:"+",label:"Distribution Channels (Healthcare, Retail, Fuel)"}],nD=({value:e,suffix:t,inView:n})=>{const[r,i]=v.useState(0);return v.useEffect(()=>{if(!n)return;const o=2e3,s=60,a=e/s;let l=0;const u=setInterval(()=>{l+=a,l>=e?(i(e),clearInterval(u)):i(Math.floor(l))},o/s);return()=>clearInterval(u)},[e,n]),x.jsxs("span",{children:[r.toLocaleString(),t]})},rD=()=>{const e=v.useRef(null),t=so(e,{once:!0,margin:"-100px"});return x.jsx("section",{ref:e,className:"relative py-12 bg-secondary/50 border-y border-border/50",children:x.jsxs("div",{className:"container-wide",children:[x.jsx(ve.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center mb-10",children:x.jsxs("h2",{className:"text-2xl md:text-3xl font-bold mb-2",children:["Operating in Complex, ",x.jsx("span",{className:"gold-text",children:"Hard-to-Serve Markets"})]})}),x.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-8 lg:gap-12",children:tD.map((n,r)=>x.jsxs(ve.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6,delay:r*.1},className:"text-center",children:[x.jsx("div",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary mb-2",children:x.jsx(nD,{value:n.value,suffix:n.suffix,inView:t})}),x.jsx("div",{className:"text-sm md:text-base text-muted-foreground font-medium",children:n.label})]},n.label))}),x.jsx(ve.p,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6,delay:.5},className:"text-center text-muted-foreground mt-10 text-lg",children:"Proven in the U.S. Virgin Islands. Built for hard-to-serve markets everywhere."})]})})},iD=[{icon:bE,title:"Real-World Execution",description:"We don't simulate supply chains, we run them. Our platform is built on live logistics operations in complex, hard-to-serve environments."},{icon:ME,title:"Designed for Complexity",description:"We operate where infrastru
222cture is limited and systems are fragmented, building structure where traditional supply chains fail."},{icon:SE,title:"From Operations to Intelligence",description:"Every market we enter strengthens how the system performs, improving visibility, coordination, and long-term reliability."},{icon:AE,title:"One System, Multiple Channels",description:"We connect healthcare providers, retailers, and essential distribution points into a unified supply network."}],oD=()=>{const e=v.useRef(null),t=so(e,{once:!0,margin:"-100px"});return x.jsx("section",{id:"about",ref:e,className:"section-padding bg-background",children:x.jsx("div",{className:"container-wide",children:x.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[x.jsxs(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.8},children:[x.jsx("span",{className:"text-primary font-semibold text-sm tracking-wider uppercase mb-4 block",children:"About DeLande Group"}),x.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-6 leading-tight",children:["Built Differently from the"," ",x.jsx("span",{className:"gold-text",children:"Ground Up"})]}),x.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mb-6",children:"DeLande Group is building a pharmaceutical supply chain technology platform powered by real-world logistics operations in hard-to-serve markets."}),x.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"We operate in fragmented, infrastru
222cture-limited environments where traditional supply chains struggle to function, supporting healthcare providers, retailers, and essential distribution channels with reliable access to critical products."}),x.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Our model is built on execution. By running live operations in complex markets, we generate the insight, structure, and systems needed to improve supply chain performance over time."}),x.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"What begins on the ground scales into something larger: a more connected, more resilient way to move essential goods where they are needed most."})]}),x.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:iD.map((n,r)=>x.jsxs(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.6,delay:.2+r*.1},className:"group p-6 bg-card border border-border/50 rounded-xl hover:border-primary/50 hover:shadow-lg hover:shadow-primary/5 transition-all duration-300",children:[x.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mb-4 group-hover:bg-primary/20 transition-colors",children:x.jsx(n.icon,{className:"w-6 h-6 text-primary"})}),x.jsx("h3",{className:"text-lg font-semibold mb-2",children:n.title}),x.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:n.description})]},n.title))})]})})})},sD=[{icon:RE,title:"Pharmaceutical & Medical Supply Operations",description:"Specialized distribution of OTC medicines, medical supplies, and healthcare products requiring strict regulatory compliance and quality controls.",tags:["Regulatory Compliance","Quality Assurance","Healthcare Products"],hasLearnMore:!0},{icon:IE,title:"Cold Chain & Temperature Control",description:"Maintaining product integrity across environments with inconsistent power, transportation, and storage conditions.",tags:["Temperature Control","Product Integrity","Remote Area Coverage"]},{icon:zE,title:"Storage & Inventory Management",description:"FEFO-driven systems across ambient and controlled environments, with continuous monitoring to ensure quality and availability.",tags:["FEFO Protocols","Quality Monitoring","Controlled Storage"]},{icon:VE,title:"Last-Mile Access",description:"Reliable delivery into remote, rural, and operationally complex environments where traditional carriers fall short.",tags:["Remote Area Access","Community-Level Distribution","Consistent Delivery"]},{icon:TE,title:"Supply Chain Systems & Visibility",description:"Coordinated tracking, inventory visibility, and system-level oversight across fragmented supply chains.",tags:["Digital Integration","Real-Time Tracking","Inventory Visibility"]}],aD=()=>{const e=v.useRef(null),t=so(e,{once:!0,margin:"-100px"});return x.jsx("section",{id:"services",ref:e,className:"section-padding bg-secondary/30",children:x.jsxs("div",{className:"container-wide",children:[x.jsxs(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.8},className:"text-center max-w-3xl mx-auto mb-16",children:[x.jsx("span",{className:"text-primary font-semibold text-sm tracking-wider uppercase mb-4 block",children:"How We Operate"}),x.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-6",children:["Pharmaceutical &"," ",x.jsx("span",{className:"gold-text",children:"Medical Supply Solutions"})]}),x.jsx("p",{className:"text-muted-foreground text-lg",children:"Over-the-counter medicines and medical supplies are delivered through real-world operations, forming the foundation of a broader supply chain technology platform. We support healthcare providers, retailers, and community access points in complex environments where reliability, compliance, and consistency are critical."})]}),x.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:sD.map((n,r)=>x.jsxs(ve.div,{initial:{opacity:0,y:40},animate:t?{opacity:1,y:0}:{},transition:{duration:.6,delay:.1+r*.1},className:"group bg-card border border-border/50 rounded-2xl p-8 hover:border-primary/50 hover:shadow-2xl hover:shadow-
222primary/5 transition-all duration-500",children:[x.jsx("div",{className:"w-14 h-14 bg-primary/10 rounded-xl flex items-center justify-center mb-6 group-hover:bg-primary/20 transition-colors",children:x.jsx(n.icon,{className:"w-7 h-7 text-primary"})}),x.jsx("h3",{className:"text-xl font-semibold mb-3",children:n.title}),x.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-6",children:n.description}),x.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:n.tags.map(i=>x.jsx("span",{className:"px-3 py-1 bg-secondary/50 text-muted-foreground text-xs rounded-full",children:i},i))}),n.hasLearnMore&&x.jsxs("a",{href:"#",className:"inline-flex items-center text-primary font-medium text-sm group-hover:underline",children:["Learn More",x.jsx(cx,{className:"ml-2 w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]},n.title))})]})})},lD="/assets/global-network-C7Qcga0P.webp",uD=[{name:"United States",locations:["California (Silicon Valley)","Florida","Maryland","Michigan","New York","New Jersey"]},{name:"International",locations:["Switzerland (Geneva)","Philippines","Dominican Republic","Belize"]},{name:"Live Market Operations",locations:["U.S. Virgin Islands"]}],cD=[{icon:xE,label:"Real-World Operations"},{icon:CE,label:"Multi-Channel Distribution"},{icon:LE,label:"Regulated Product Handling"},{icon:wE,label:"Infrastructure in Place"}],dD=()=>{const e=v.useRef(null),t=so(e,{once:!0,margin:"-100px"});return x.jsxs("section",{id:"global",ref:e,className:"section-padding relative overflow-hidden",children:[x.jsxs("div",{className:"absolute inset-0",children:[x.jsx("img",{src:lD,alt:"Global Network",className:"w-full h-full object-cover opacity-40",loading:"lazy"}),x.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background via-background/95 to-background"})]}),x.jsxs("div",{className:"container-wide relative z-10",children:[x.jsxs(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.8},className:"text-center max-w-3xl mx-auto mb-16",children:[x.jsx("span",{className:"text-primary font-semibold text-sm tracking-wider uppercase mb-4 block",children:"Global Presence"}),x.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-6",children:["Operational & Strategic Hubs in"," ",x.jsx("span",{className:"gold-text",children:"Complex and Growing Markets"})]}),x.jsx("p",{className:"text-muted-foreground text-lg",children:"Our footprint spans a focused set of domestic and international markets, where we build and operate supply chains in environments that demand reliability, adaptability, and precision."})]}),x.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:uD.map((n,r)=>x.jsxs(ve.div,{initial:{opacity:0,scale:.95},animate:t?{opacity:1,scale:1}:{},transition:{duration:.5,delay:.1+r*.1},className:"group bg-card/80 backdrop-blur-sm border border-border/50 rounded-xl p-6 hover:border-primary/50 hover:bg-card transition-all duration-300",children:[x.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[x.jsx("div",{className:"w-3 h-3 bg-primary rounded-full animate-pulse-slow"}),x.jsx("h3",{className:"text-lg font-semibold",children:n.name})]}),x.jsx("div",{className:"flex flex-wrap gap-2",children:n.locations.map(i=>x.jsx("span",{className:"px-3 py-1 bg-secondary/50 text-muted-foreground text-sm rounded-full",children:i},i))})]},n.name))}),x.jsx(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.6,delay:.6},className:"mt-16 grid grid-cols-2 md:grid-cols-4 gap-6",children:cD.map((n,r)=>x.jsxs(ve.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.5,delay:.7+r*.1},className:"flex flex-col items-center text-center p-4 bg-card/60 backdrop-blur-sm border border-border/50 rounded-xl",children:[x.jsx(n.icon,{className:"w-8 h-8 text-primary mb-3"}),x.jsx("span",{className:"text-sm font-medium text-foreground",children:n.label})]},n.label))})]})]})},fD=[{icon:jE,label:"Efficient Delivery Planning",title:"Route & Mode Optimization",description:"We coordinate routes and shipments to reduce unnecessary mileage and fuel consumption."},{icon:NE,label:"Biodegradable Packaging Materials",title:"Lower Waste Impact",description:"We use biodegradable packaging, including tapes and shipping supplies, to reduce waste wherever possible."},{icon:DE,label:"Operational Discipline",title:"Resource Efficiency",description:"We minimize excess handling, storage inefficiencies, and resource use across our supply chain."},{icon:_E,label:"Built to Improve Over Time",title:"Continuous Improvement",description:"As we scale, we continue identifying opportunities to operate more efficiently and responsibly."}],hD=()=>{const e=v.useRef(null),t=so(e,{once:!0,margin:"-100px"});return x.jsx("section",{id:"sustainability",ref:e,className:"section-padding bg-secondary/30",children:x.jsx("div",{className:"container-wide",children:x.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[x.jsxs(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.8},children:[x.jsx("span",{className:"text-primary font-semibold text-sm tracking-wider up
222percase mb-4 block",children:"Sustainability"}),x.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-6 leading-tight",children:["Responsible Growth for"," ",x.jsx("span",{className:"gold-text",children:"Future Generations"})]}),x.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:"Sustainability is embedded in how we operate, with a focus on reducing waste, improving efficiency, and minimizing environmental impact."})]}),x.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:fD.map((n,r)=>x.jsxs(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.6,delay:.2+r*.1},className:"group p-6 bg-card border border-border/50 rounded-xl hover:border-primary/50 transition-all duration-300",children:[x.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[x.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center group-hover:bg-primary/20 transition-colors flex-shrink-0",children:x.jsx(n.icon,{className:"w-6 h-6 text-primary"})}),x.jsxs("div",{children:[x.jsx("span",{className:"text-xs text-primary font-medium uppercase tracking-wider",children:n.label}),x.jsx("h3",{className:"text-lg font-semibold mt-1",children:n.title})]})]}),x.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:n.description})]},n.title))})]})})})},Da=v.forwardRef(({className:e,type:t,...n},r)=>x.jsx("input",{type:t,className:rn("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Da.displayName="Input";const tS=v.forwardRef(({className:e,...t},n)=>x.jsx("textarea",{className:rn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
222ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));tS.displayName="Textarea";const pD=[{label:"Headquarters",city:"New York, NY"},{label:"West Coast",city:"Silicon Valley"}],mD=()=>{const e=v.useRef(null),t=so(e,{once:!0,margin:"-100px"}),[n,r]=v.useState({name:"",email:"",company:"",message:""}),i=o=>{o.preventDefault(),console.log("Form submitted:",n)};return x.jsx("section",{id:"contact",ref:e,className:"section-padding bg-background",children:x.jsx("div",{className:"container-wide",children:x.jsxs("div",{className:"grid lg:grid-cols-2 gap-16",children:[x.jsxs(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.8},children:[x.jsx("span",{className:"text-primary font-semibold text-sm tracking-wider uppercase mb-4 block",children:"Contact"}),x.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-6 leading-tight",children:["Start a"," ",x.jsx("span",{className:"gold-text",children:"Conversation"})]}),x.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mb-10",children:"Whether you're looking to strengthen your supply chain, explore a partnership, or understand how we operate in complex markets, our team is ready to connect."}),x.jsx("div",{className:"space-y-6",children:pD.map((o,s)=>x.jsxs(ve.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.5,delay:.3+s*.1},className:"flex items-start gap-4",children:[x.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center flex-shrink-0",children:x.jsx(PE,{className:"w-5 h-5 text-primary"})}),x.jsxs("div",{children:[x.jsx("div",{className:"text-sm text-muted-foreground mb-1",children:o.label}),x.jsx("div",{className:"font-medium",children:o.city})]})]},o.label))})]}),x.jsx(ve.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.8,delay:.2},children:x.jsxs("form",{onSubmit:i,className:"bg-card border border-border/50 rounded-2xl p-8",children:[x.jsxs("div",{className:"grid sm:grid-cols-2 gap-6 mb-6",children:[x.jsxs("div",{children:[x.jsx("label",{className:"text-sm font-medium mb-2 block",children:"Name"}),x.jsx(Da,{placeholder:"Your name",value:n.name,onChange:o=>r({...n,name:o.target.value}),className:"bg-background"})]}),x.jsxs("div",{children:[x.jsx("label",{className:"text-sm font-medium mb-2 block",children:"Email"}),x.jsx(Da,{type:"email",placeholder:"[email protected]",value:n.email,onChange:o=>r({...n,email:o.target.value}),className:"bg-background"})]})]}),x.jsxs("div",{className:"mb-6",children:[x.jsx("label",{className:"text-sm font-medium mb-2 block",children:"Company"}),x.jsx(Da,{placeholder:"Your company",value:n.company,onChange:o=>r({...n,company:o.target.value}),className:"bg-background"})]}),x.jsxs("div",{className:"mb-8",children:[x.jsx("label",{className:"text-sm font-medium mb-2 block",children:"Message"}),x.jsx(tS,{placeholder:"How can we help you?",rows:5,value:n.message,onChange:o=>r({...n,message:o.target.value}),className:"bg-background resize-none"})]}),x.jsxs(ys,{type:"submit",variant:"hero",size:"lg",className:"w-full",children:["Send Message",x.jsx(OE,{className:"ml-2 w-4 h-4"})]})]})})]})})})},ic={company:[{name:"About Us",href:"/about"},{name:"Partner With Us",href:"/membership"},{name:"Careers",href:"#"},{name:"Contact",href:"/contact"}],services:[{name:"Over-the-Counter Medicine",href:"/#services"},{name:"Medical Supplies",href:"/#services"}],resources:[{name:"Sustainability",href:"/#sustainability"},{name:"Privacy Policy",href:"/privacy-policy"},{name:"Terms of Service",href:"/terms-of-service"}]},gD=[{icon:EE,href:"https://www.linkedin.com/company/77641110/admin/dashboard/",label:"LinkedIn",external:!0},{icon:FE,href:"#",label:"Twitter"},{icon:$E,href:"#",label:"YouTube"}],yD=()=>x.jsx("footer",{className:"bg-secondary/50 border-t border-border/50",children:x.jsxs("div",{className:"container-wide py-16",children:[x.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 ga
222p-12",children:[x.jsxs("div",{className:"lg:col-span-2",children:[x.jsx(fn,{to:"/",children:x.jsx("img",{src:eS,alt:"DeLande Group",className:"h-10 w-auto mb-6"})}),x.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6 max-w-sm",children:"Delivering supply chain infrastructure for complex markets while building solutions for a better tomorrow."}),x.jsx("div",{className:"flex gap-4",children:gD.map(e=>x.jsx("a",{href:e.href,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:"w-10 h-10 bg-card border border-border/50 rounded-lg flex items-center justify-center text-muted-foreground hover:text-primary hover:border-primary/50 transition-colors","aria-label":e.label,children:x.jsx(e.icon,{className:"w-5 h-5"})},e.label))})]}),x.jsxs("div",{children:[x.jsx("h2",{className:"text-base font-semibold mb-4",children:"Company"}),x.jsx("ul",{className:"space-y-3",children:ic.company.map(e=>x.jsx("li",{children:x.jsx(fn,{to:e.href,className:"text-muted-foreground hover:text-primary transition-colors text-sm",children:e.name})},e.name))})]}),x.jsxs("div",{children:[x.jsx("h2",{className:"text-base font-semibold mb-4",children:"Services"}),x.jsx("ul",{className:"space-y-3",children:ic.services.map(e=>x.jsx("li",{children:x.jsx(fn,{to:e.href,className:"text-muted-foreground hover:text-primary transition-colors text-sm",children:e.name})},e.name))})]}),x.jsxs("div",{children:[x.jsx("h2",{className:"text-base font-semibold mb-4",children:"Resources"}),x.jsx("ul",{className:"space-y-3",children:ic.resources.map(e=>x.jsx("li",{children:x.jsx(fn,{to:e.href,className:"text-muted-foreground hover:text-primary transition-colors text-sm",children:e.name})},e.name))})]})]}),x.jsxs("div",{className:"border-t border-border/50 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[x.jsx("p",{className:"text-muted-foreground text-sm",children:"© 2026 DeLande Group. All rights reserved."}),x.jsxs("div",{className:"flex gap-6 text-sm text-muted-foreground",children:[x.jsx(fn,{to:"/terms-of-service",className:"hover:text-primary transition-colors",children:"Terms"}),x.jsx(fn,{to:"/privacy-policy",className:"hover:text-primary transition-colors",children:"Privacy"})]})]})]})}),vD=()=>x.jsxs("div",{className:"dark min-h-screen bg-background text-foreground overflow-x-hidden",children:[x.jsx(ZO,{title:"DeLande Group | Pharma Supply Chain Platform & Logistics",description:"DeLande Group is a pharmaceutical supply chain technology platform powered by real-world logistics operations in hard-to-serve markets.",canonical:"/",ogImage:"/src/assets/hero-logistics.webp",schemaJson:{"@context":"https://schema.org","@type":"Organization",name:"DeLande Group Holdings",url:"https://delandenexus.lovable.app",description:"Pharmaceutical supply chain technology platform powered by real-world logistics in hard-to-serve markets."}}),x.jsx(XO,{}),x.jsxs("main",{children:[x.jsx(eD,{}),x.jsx(rD,{}),x.jsx(oD,{}),x.jsx(aD,{}),x.jsx(dD,{}),x.jsx(hD,{}),x.jsx(mD,{})]}),x.jsx(yD,{})]}),xD=v.lazy(()=>Gr(()=>import("./About-DPg0htqh.js"),[])),wD=v.lazy(()=>Gr(()=>import("./Contact-Cfw-GbTD.js"),__vite__mapDeps([0,1]))),SD=v.lazy(()=>Gr(()=>import("./Membership-C-4SXiT2.js"),__vite__mapDeps([2,1]))),bD=v.lazy(()=>Gr(()=>import("./PrivacyPolicy-DtOaCpTO.js"),[])),TD=v.lazy(()=>Gr(()=>import("./TermsOfService-CBmJm7UX.js"),[])),CD=v.lazy(()=>Gr(()=>import("./SupplyChainTechnology-CXgLnKQf.js"),[])),ED=v.lazy(()=>Gr(()=>import("./NotFound-D9jesl4T.js"),[])),PD=new cA,kD=()=>x.jsx(fA,{client:PD,children:x.jsxs(z2,{children:[x.jsx(TP,{}),x.jsx(tk,{}),x.jsx(uR,{children:x.jsx(v.Suspense,{fallback:x.jsx("div",{className:"min-h-screen bg-background"}),children:x.jsxs(nR,{children:[x.jsx(un,{path:"/",element:x.jsx(vD,{})}),x.jsx(un,{path:"/about",element:x.jsx(xD,{})}),x.jsx(un,{path:"/contact",element:x.jsx(wD,{})}),x.jsx(un,{path:"/membership",element:x.jsx(SD,{})}),x.jsx(un,{path:"/privacy-policy",element:x.jsx(bD,{})}),x.jsx(un,{path:"/terms-of-service",element:x.jsx(TD,{})}),x.jsx(un,{path:"/supply-chain-technology",element:x.jsx(CD,{})}),x.jsx(un,{path:"*",element:x.jsx(ED,{})})]})})})]})});P0(document.getElementById("root")).render(x.jsx(O0,{children:x.jsx(kD,{})}));export{ys as B,yD as F,Da as I,PE as M,XO as N,RE as P,ZO as S,IE as T,VE as a,bC as b,le as c,tS as d,OE as e,_E as f,Ms as g,x as j,ve as m,v as r,so as u};

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.